adding pendind and solving problem with status of shifts
This commit is contained in:
@@ -1,16 +1,16 @@
|
||||
# Basic Usage
|
||||
|
||||
```dart
|
||||
ExampleConnector.instance.createCustomRateCard(createCustomRateCardVariables).execute();
|
||||
ExampleConnector.instance.updateCustomRateCard(updateCustomRateCardVariables).execute();
|
||||
ExampleConnector.instance.deleteCustomRateCard(deleteCustomRateCardVariables).execute();
|
||||
ExampleConnector.instance.listShiftsForCoverage(listShiftsForCoverageVariables).execute();
|
||||
ExampleConnector.instance.listApplicationsForCoverage(listApplicationsForCoverageVariables).execute();
|
||||
ExampleConnector.instance.listShiftsForDailyOpsByBusiness(listShiftsForDailyOpsByBusinessVariables).execute();
|
||||
ExampleConnector.instance.listShiftsForDailyOpsByVendor(listShiftsForDailyOpsByVendorVariables).execute();
|
||||
ExampleConnector.instance.listApplicationsForDailyOps(listApplicationsForDailyOpsVariables).execute();
|
||||
ExampleConnector.instance.listShiftsForForecastByBusiness(listShiftsForForecastByBusinessVariables).execute();
|
||||
ExampleConnector.instance.listShiftsForForecastByVendor(listShiftsForForecastByVendorVariables).execute();
|
||||
ExampleConnector.instance.createVendorBenefitPlan(createVendorBenefitPlanVariables).execute();
|
||||
ExampleConnector.instance.updateVendorBenefitPlan(updateVendorBenefitPlanVariables).execute();
|
||||
ExampleConnector.instance.deleteVendorBenefitPlan(deleteVendorBenefitPlanVariables).execute();
|
||||
ExampleConnector.instance.createWorkforce(createWorkforceVariables).execute();
|
||||
ExampleConnector.instance.updateWorkforce(updateWorkforceVariables).execute();
|
||||
ExampleConnector.instance.deactivateWorkforce(deactivateWorkforceVariables).execute();
|
||||
ExampleConnector.instance.createApplication(createApplicationVariables).execute();
|
||||
ExampleConnector.instance.updateApplicationStatus(updateApplicationStatusVariables).execute();
|
||||
ExampleConnector.instance.deleteApplication(deleteApplicationVariables).execute();
|
||||
ExampleConnector.instance.listCertificates().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.UpdateUser({ ... })
|
||||
.email(...)
|
||||
await ExampleConnector.instance.updateStaffDocument({ ... })
|
||||
.status(...)
|
||||
.execute();
|
||||
```
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -164,6 +164,7 @@ class ListShiftRolesByBusinessAndDateRangeShiftRolesShift {
|
||||
final String? location;
|
||||
final String? locationAddress;
|
||||
final String title;
|
||||
final EnumValue<ShiftStatus>? status;
|
||||
final ListShiftRolesByBusinessAndDateRangeShiftRolesShiftOrder order;
|
||||
ListShiftRolesByBusinessAndDateRangeShiftRolesShift.fromJson(dynamic json):
|
||||
|
||||
@@ -172,6 +173,7 @@ class ListShiftRolesByBusinessAndDateRangeShiftRolesShift {
|
||||
location = json['location'] == null ? null : nativeFromJson<String>(json['location']),
|
||||
locationAddress = json['locationAddress'] == null ? null : nativeFromJson<String>(json['locationAddress']),
|
||||
title = nativeFromJson<String>(json['title']),
|
||||
status = json['status'] == null ? null : shiftStatusDeserializer(json['status']),
|
||||
order = ListShiftRolesByBusinessAndDateRangeShiftRolesShiftOrder.fromJson(json['order']);
|
||||
@override
|
||||
bool operator ==(Object other) {
|
||||
@@ -188,11 +190,12 @@ class ListShiftRolesByBusinessAndDateRangeShiftRolesShift {
|
||||
location == otherTyped.location &&
|
||||
locationAddress == otherTyped.locationAddress &&
|
||||
title == otherTyped.title &&
|
||||
status == otherTyped.status &&
|
||||
order == otherTyped.order;
|
||||
|
||||
}
|
||||
@override
|
||||
int get hashCode => Object.hashAll([id.hashCode, date.hashCode, location.hashCode, locationAddress.hashCode, title.hashCode, order.hashCode]);
|
||||
int get hashCode => Object.hashAll([id.hashCode, date.hashCode, location.hashCode, locationAddress.hashCode, title.hashCode, status.hashCode, order.hashCode]);
|
||||
|
||||
|
||||
Map<String, dynamic> toJson() {
|
||||
@@ -208,6 +211,11 @@ class ListShiftRolesByBusinessAndDateRangeShiftRolesShift {
|
||||
json['locationAddress'] = nativeToJson<String?>(locationAddress);
|
||||
}
|
||||
json['title'] = nativeToJson<String>(title);
|
||||
if (status != null) {
|
||||
json['status'] =
|
||||
shiftStatusSerializer(status!)
|
||||
;
|
||||
}
|
||||
json['order'] = order.toJson();
|
||||
return json;
|
||||
}
|
||||
@@ -218,6 +226,7 @@ class ListShiftRolesByBusinessAndDateRangeShiftRolesShift {
|
||||
this.location,
|
||||
this.locationAddress,
|
||||
required this.title,
|
||||
this.status,
|
||||
required this.order,
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user