new sdk info
This commit is contained in:
@@ -1,16 +1,16 @@
|
|||||||
# Basic Usage
|
# Basic Usage
|
||||||
|
|
||||||
```dart
|
```dart
|
||||||
ExampleConnector.instance.createTeamHudDepartment(createTeamHudDepartmentVariables).execute();
|
ExampleConnector.instance.createFaqData(createFaqDataVariables).execute();
|
||||||
ExampleConnector.instance.updateTeamHudDepartment(updateTeamHudDepartmentVariables).execute();
|
ExampleConnector.instance.updateFaqData(updateFaqDataVariables).execute();
|
||||||
ExampleConnector.instance.deleteTeamHudDepartment(deleteTeamHudDepartmentVariables).execute();
|
ExampleConnector.instance.deleteFaqData(deleteFaqDataVariables).execute();
|
||||||
ExampleConnector.instance.CreateUser(createUserVariables).execute();
|
ExampleConnector.instance.createStaffAvailability(createStaffAvailabilityVariables).execute();
|
||||||
ExampleConnector.instance.UpdateUser(updateUserVariables).execute();
|
ExampleConnector.instance.updateStaffAvailability(updateStaffAvailabilityVariables).execute();
|
||||||
ExampleConnector.instance.DeleteUser(deleteUserVariables).execute();
|
ExampleConnector.instance.deleteStaffAvailability(deleteStaffAvailabilityVariables).execute();
|
||||||
ExampleConnector.instance.createVendorBenefitPlan(createVendorBenefitPlanVariables).execute();
|
ExampleConnector.instance.listStaffAvailabilityStats(listStaffAvailabilityStatsVariables).execute();
|
||||||
ExampleConnector.instance.updateVendorBenefitPlan(updateVendorBenefitPlanVariables).execute();
|
ExampleConnector.instance.getStaffAvailabilityStatsByStaffId(getStaffAvailabilityStatsByStaffIdVariables).execute();
|
||||||
ExampleConnector.instance.deleteVendorBenefitPlan(deleteVendorBenefitPlanVariables).execute();
|
ExampleConnector.instance.filterStaffAvailabilityStats(filterStaffAvailabilityStatsVariables).execute();
|
||||||
ExampleConnector.instance.getShiftRoleById(getShiftRoleByIdVariables).execute();
|
ExampleConnector.instance.createTaxForm(createTaxFormVariables).execute();
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -23,8 +23,8 @@ Optional fields can be discovered based on classes that have `Optional` object t
|
|||||||
This is an example of a mutation with an optional field:
|
This is an example of a mutation with an optional field:
|
||||||
|
|
||||||
```dart
|
```dart
|
||||||
await ExampleConnector.instance.updateStaffAvailabilityStats({ ... })
|
await ExampleConnector.instance.updateWorkforce({ ... })
|
||||||
.needWorkIndex(...)
|
.workforceNumber(...)
|
||||||
.execute();
|
.execute();
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -52,6 +52,7 @@ class FilterStaffStaffs {
|
|||||||
final String? ownerId;
|
final String? ownerId;
|
||||||
final bool? isRecommended;
|
final bool? isRecommended;
|
||||||
final List<String>? skills;
|
final List<String>? skills;
|
||||||
|
final List<String>? industries;
|
||||||
final EnumValue<BackgroundCheckStatus>? backgroundCheckStatus;
|
final EnumValue<BackgroundCheckStatus>? backgroundCheckStatus;
|
||||||
final EnumValue<EmploymentType>? employmentType;
|
final EnumValue<EmploymentType>? employmentType;
|
||||||
final String? initial;
|
final String? initial;
|
||||||
@@ -75,6 +76,9 @@ class FilterStaffStaffs {
|
|||||||
skills = json['skills'] == null ? null : (json['skills'] as List<dynamic>)
|
skills = json['skills'] == null ? null : (json['skills'] as List<dynamic>)
|
||||||
.map((e) => nativeFromJson<String>(e))
|
.map((e) => nativeFromJson<String>(e))
|
||||||
.toList(),
|
.toList(),
|
||||||
|
industries = json['industries'] == null ? null : (json['industries'] as List<dynamic>)
|
||||||
|
.map((e) => nativeFromJson<String>(e))
|
||||||
|
.toList(),
|
||||||
backgroundCheckStatus = json['backgroundCheckStatus'] == null ? null : backgroundCheckStatusDeserializer(json['backgroundCheckStatus']),
|
backgroundCheckStatus = json['backgroundCheckStatus'] == null ? null : backgroundCheckStatusDeserializer(json['backgroundCheckStatus']),
|
||||||
employmentType = json['employmentType'] == null ? null : employmentTypeDeserializer(json['employmentType']),
|
employmentType = json['employmentType'] == null ? null : employmentTypeDeserializer(json['employmentType']),
|
||||||
initial = json['initial'] == null ? null : nativeFromJson<String>(json['initial']),
|
initial = json['initial'] == null ? null : nativeFromJson<String>(json['initial']),
|
||||||
@@ -104,6 +108,7 @@ class FilterStaffStaffs {
|
|||||||
ownerId == otherTyped.ownerId &&
|
ownerId == otherTyped.ownerId &&
|
||||||
isRecommended == otherTyped.isRecommended &&
|
isRecommended == otherTyped.isRecommended &&
|
||||||
skills == otherTyped.skills &&
|
skills == otherTyped.skills &&
|
||||||
|
industries == otherTyped.industries &&
|
||||||
backgroundCheckStatus == otherTyped.backgroundCheckStatus &&
|
backgroundCheckStatus == otherTyped.backgroundCheckStatus &&
|
||||||
employmentType == otherTyped.employmentType &&
|
employmentType == otherTyped.employmentType &&
|
||||||
initial == otherTyped.initial &&
|
initial == otherTyped.initial &&
|
||||||
@@ -113,7 +118,7 @@ class FilterStaffStaffs {
|
|||||||
|
|
||||||
}
|
}
|
||||||
@override
|
@override
|
||||||
int get hashCode => Object.hashAll([id.hashCode, userId.hashCode, fullName.hashCode, level.hashCode, phone.hashCode, email.hashCode, photoUrl.hashCode, averageRating.hashCode, reliabilityScore.hashCode, totalShifts.hashCode, ownerId.hashCode, isRecommended.hashCode, skills.hashCode, backgroundCheckStatus.hashCode, employmentType.hashCode, initial.hashCode, englishRequired.hashCode, city.hashCode, addres.hashCode]);
|
int get hashCode => Object.hashAll([id.hashCode, userId.hashCode, fullName.hashCode, level.hashCode, phone.hashCode, email.hashCode, photoUrl.hashCode, averageRating.hashCode, reliabilityScore.hashCode, totalShifts.hashCode, ownerId.hashCode, isRecommended.hashCode, skills.hashCode, industries.hashCode, backgroundCheckStatus.hashCode, employmentType.hashCode, initial.hashCode, englishRequired.hashCode, city.hashCode, addres.hashCode]);
|
||||||
|
|
||||||
|
|
||||||
Map<String, dynamic> toJson() {
|
Map<String, dynamic> toJson() {
|
||||||
@@ -151,6 +156,9 @@ class FilterStaffStaffs {
|
|||||||
if (skills != null) {
|
if (skills != null) {
|
||||||
json['skills'] = skills?.map((e) => nativeToJson<String>(e)).toList();
|
json['skills'] = skills?.map((e) => nativeToJson<String>(e)).toList();
|
||||||
}
|
}
|
||||||
|
if (industries != null) {
|
||||||
|
json['industries'] = industries?.map((e) => nativeToJson<String>(e)).toList();
|
||||||
|
}
|
||||||
if (backgroundCheckStatus != null) {
|
if (backgroundCheckStatus != null) {
|
||||||
json['backgroundCheckStatus'] =
|
json['backgroundCheckStatus'] =
|
||||||
backgroundCheckStatusSerializer(backgroundCheckStatus!)
|
backgroundCheckStatusSerializer(backgroundCheckStatus!)
|
||||||
@@ -190,6 +198,7 @@ class FilterStaffStaffs {
|
|||||||
this.ownerId,
|
this.ownerId,
|
||||||
this.isRecommended,
|
this.isRecommended,
|
||||||
this.skills,
|
this.skills,
|
||||||
|
this.industries,
|
||||||
this.backgroundCheckStatus,
|
this.backgroundCheckStatus,
|
||||||
this.employmentType,
|
this.employmentType,
|
||||||
this.initial,
|
this.initial,
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -163,7 +163,7 @@ query filterStaff(
|
|||||||
ownerId
|
ownerId
|
||||||
isRecommended
|
isRecommended
|
||||||
skills
|
skills
|
||||||
|
industries
|
||||||
backgroundCheckStatus
|
backgroundCheckStatus
|
||||||
employmentType
|
employmentType
|
||||||
initial
|
initial
|
||||||
|
|||||||
Reference in New Issue
Block a user