new sdk info
This commit is contained in:
@@ -1,16 +1,16 @@
|
||||
# Basic Usage
|
||||
|
||||
```dart
|
||||
ExampleConnector.instance.createTeamHudDepartment(createTeamHudDepartmentVariables).execute();
|
||||
ExampleConnector.instance.updateTeamHudDepartment(updateTeamHudDepartmentVariables).execute();
|
||||
ExampleConnector.instance.deleteTeamHudDepartment(deleteTeamHudDepartmentVariables).execute();
|
||||
ExampleConnector.instance.CreateUser(createUserVariables).execute();
|
||||
ExampleConnector.instance.UpdateUser(updateUserVariables).execute();
|
||||
ExampleConnector.instance.DeleteUser(deleteUserVariables).execute();
|
||||
ExampleConnector.instance.createVendorBenefitPlan(createVendorBenefitPlanVariables).execute();
|
||||
ExampleConnector.instance.updateVendorBenefitPlan(updateVendorBenefitPlanVariables).execute();
|
||||
ExampleConnector.instance.deleteVendorBenefitPlan(deleteVendorBenefitPlanVariables).execute();
|
||||
ExampleConnector.instance.getShiftRoleById(getShiftRoleByIdVariables).execute();
|
||||
ExampleConnector.instance.createFaqData(createFaqDataVariables).execute();
|
||||
ExampleConnector.instance.updateFaqData(updateFaqDataVariables).execute();
|
||||
ExampleConnector.instance.deleteFaqData(deleteFaqDataVariables).execute();
|
||||
ExampleConnector.instance.createStaffAvailability(createStaffAvailabilityVariables).execute();
|
||||
ExampleConnector.instance.updateStaffAvailability(updateStaffAvailabilityVariables).execute();
|
||||
ExampleConnector.instance.deleteStaffAvailability(deleteStaffAvailabilityVariables).execute();
|
||||
ExampleConnector.instance.listStaffAvailabilityStats(listStaffAvailabilityStatsVariables).execute();
|
||||
ExampleConnector.instance.getStaffAvailabilityStatsByStaffId(getStaffAvailabilityStatsByStaffIdVariables).execute();
|
||||
ExampleConnector.instance.filterStaffAvailabilityStats(filterStaffAvailabilityStatsVariables).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:
|
||||
|
||||
```dart
|
||||
await ExampleConnector.instance.updateStaffAvailabilityStats({ ... })
|
||||
.needWorkIndex(...)
|
||||
await ExampleConnector.instance.updateWorkforce({ ... })
|
||||
.workforceNumber(...)
|
||||
.execute();
|
||||
```
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -52,6 +52,7 @@ class FilterStaffStaffs {
|
||||
final String? ownerId;
|
||||
final bool? isRecommended;
|
||||
final List<String>? skills;
|
||||
final List<String>? industries;
|
||||
final EnumValue<BackgroundCheckStatus>? backgroundCheckStatus;
|
||||
final EnumValue<EmploymentType>? employmentType;
|
||||
final String? initial;
|
||||
@@ -75,6 +76,9 @@ class FilterStaffStaffs {
|
||||
skills = json['skills'] == null ? null : (json['skills'] as List<dynamic>)
|
||||
.map((e) => nativeFromJson<String>(e))
|
||||
.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']),
|
||||
employmentType = json['employmentType'] == null ? null : employmentTypeDeserializer(json['employmentType']),
|
||||
initial = json['initial'] == null ? null : nativeFromJson<String>(json['initial']),
|
||||
@@ -104,6 +108,7 @@ class FilterStaffStaffs {
|
||||
ownerId == otherTyped.ownerId &&
|
||||
isRecommended == otherTyped.isRecommended &&
|
||||
skills == otherTyped.skills &&
|
||||
industries == otherTyped.industries &&
|
||||
backgroundCheckStatus == otherTyped.backgroundCheckStatus &&
|
||||
employmentType == otherTyped.employmentType &&
|
||||
initial == otherTyped.initial &&
|
||||
@@ -113,7 +118,7 @@ class FilterStaffStaffs {
|
||||
|
||||
}
|
||||
@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() {
|
||||
@@ -151,6 +156,9 @@ class FilterStaffStaffs {
|
||||
if (skills != null) {
|
||||
json['skills'] = skills?.map((e) => nativeToJson<String>(e)).toList();
|
||||
}
|
||||
if (industries != null) {
|
||||
json['industries'] = industries?.map((e) => nativeToJson<String>(e)).toList();
|
||||
}
|
||||
if (backgroundCheckStatus != null) {
|
||||
json['backgroundCheckStatus'] =
|
||||
backgroundCheckStatusSerializer(backgroundCheckStatus!)
|
||||
@@ -190,6 +198,7 @@ class FilterStaffStaffs {
|
||||
this.ownerId,
|
||||
this.isRecommended,
|
||||
this.skills,
|
||||
this.industries,
|
||||
this.backgroundCheckStatus,
|
||||
this.employmentType,
|
||||
this.initial,
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user