live today from home

This commit is contained in:
José Salazar
2026-01-27 15:43:24 -05:00
parent 4cdbebf2c0
commit e38c13e61a
7 changed files with 17279 additions and 17117 deletions

View File

@@ -1,16 +1,16 @@
# Basic Usage
```dart
ExampleConnector.instance.listClientFeedbacks(listClientFeedbacksVariables).execute();
ExampleConnector.instance.getClientFeedbackById(getClientFeedbackByIdVariables).execute();
ExampleConnector.instance.listClientFeedbacksByBusinessId(listClientFeedbacksByBusinessIdVariables).execute();
ExampleConnector.instance.listClientFeedbacksByVendorId(listClientFeedbacksByVendorIdVariables).execute();
ExampleConnector.instance.listClientFeedbacksByBusinessAndVendor(listClientFeedbacksByBusinessAndVendorVariables).execute();
ExampleConnector.instance.filterClientFeedbacks(filterClientFeedbacksVariables).execute();
ExampleConnector.instance.listClientFeedbackRatingsByVendorId(listClientFeedbackRatingsByVendorIdVariables).execute();
ExampleConnector.instance.createStaffAvailabilityStats(createStaffAvailabilityStatsVariables).execute();
ExampleConnector.instance.updateStaffAvailabilityStats(updateStaffAvailabilityStatsVariables).execute();
ExampleConnector.instance.deleteStaffAvailabilityStats(deleteStaffAvailabilityStatsVariables).execute();
ExampleConnector.instance.listActivityLogs(listActivityLogsVariables).execute();
ExampleConnector.instance.getActivityLogById(getActivityLogByIdVariables).execute();
ExampleConnector.instance.listActivityLogsByUserId(listActivityLogsByUserIdVariables).execute();
ExampleConnector.instance.listUnreadActivityLogsByUserId(listUnreadActivityLogsByUserIdVariables).execute();
ExampleConnector.instance.filterActivityLogs(filterActivityLogsVariables).execute();
ExampleConnector.instance.listConversations(listConversationsVariables).execute();
ExampleConnector.instance.getConversationById(getConversationByIdVariables).execute();
ExampleConnector.instance.listConversationsByType(listConversationsByTypeVariables).execute();
ExampleConnector.instance.listConversationsByStatus(listConversationsByStatusVariables).execute();
ExampleConnector.instance.filterConversations(filterConversationsVariables).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.listWorkforceByStaffId({ ... })
.offset(...)
await ExampleConnector.instance.createStaffRole({ ... })
.roleType(...)
.execute();
```

View File

@@ -114,10 +114,14 @@ class ListStaffsApplicationsByBusinessForDayApplications {
@immutable
class ListStaffsApplicationsByBusinessForDayApplicationsShiftRole {
final ListStaffsApplicationsByBusinessForDayApplicationsShiftRoleShift shift;
final int count;
final int? assigned;
final ListStaffsApplicationsByBusinessForDayApplicationsShiftRoleRole role;
ListStaffsApplicationsByBusinessForDayApplicationsShiftRole.fromJson(dynamic json):
shift = ListStaffsApplicationsByBusinessForDayApplicationsShiftRoleShift.fromJson(json['shift']),
count = nativeFromJson<int>(json['count']),
assigned = json['assigned'] == null ? null : nativeFromJson<int>(json['assigned']),
role = ListStaffsApplicationsByBusinessForDayApplicationsShiftRoleRole.fromJson(json['role']);
@override
bool operator ==(Object other) {
@@ -130,22 +134,30 @@ class ListStaffsApplicationsByBusinessForDayApplicationsShiftRole {
final ListStaffsApplicationsByBusinessForDayApplicationsShiftRole otherTyped = other as ListStaffsApplicationsByBusinessForDayApplicationsShiftRole;
return shift == otherTyped.shift &&
count == otherTyped.count &&
assigned == otherTyped.assigned &&
role == otherTyped.role;
}
@override
int get hashCode => Object.hashAll([shift.hashCode, role.hashCode]);
int get hashCode => Object.hashAll([shift.hashCode, count.hashCode, assigned.hashCode, role.hashCode]);
Map<String, dynamic> toJson() {
Map<String, dynamic> json = {};
json['shift'] = shift.toJson();
json['count'] = nativeToJson<int>(count);
if (assigned != null) {
json['assigned'] = nativeToJson<int?>(assigned);
}
json['role'] = role.toJson();
return json;
}
ListStaffsApplicationsByBusinessForDayApplicationsShiftRole({
required this.shift,
required this.count,
this.assigned,
required this.role,
});
}
@@ -153,9 +165,11 @@ class ListStaffsApplicationsByBusinessForDayApplicationsShiftRole {
@immutable
class ListStaffsApplicationsByBusinessForDayApplicationsShiftRoleShift {
final String? location;
final double? cost;
ListStaffsApplicationsByBusinessForDayApplicationsShiftRoleShift.fromJson(dynamic json):
location = json['location'] == null ? null : nativeFromJson<String>(json['location']);
location = json['location'] == null ? null : nativeFromJson<String>(json['location']),
cost = json['cost'] == null ? null : nativeFromJson<double>(json['cost']);
@override
bool operator ==(Object other) {
if(identical(this, other)) {
@@ -166,11 +180,12 @@ class ListStaffsApplicationsByBusinessForDayApplicationsShiftRoleShift {
}
final ListStaffsApplicationsByBusinessForDayApplicationsShiftRoleShift otherTyped = other as ListStaffsApplicationsByBusinessForDayApplicationsShiftRoleShift;
return location == otherTyped.location;
return location == otherTyped.location &&
cost == otherTyped.cost;
}
@override
int get hashCode => location.hashCode;
int get hashCode => Object.hashAll([location.hashCode, cost.hashCode]);
Map<String, dynamic> toJson() {
@@ -178,11 +193,15 @@ class ListStaffsApplicationsByBusinessForDayApplicationsShiftRoleShift {
if (location != null) {
json['location'] = nativeToJson<String?>(location);
}
if (cost != null) {
json['cost'] = nativeToJson<double?>(cost);
}
return json;
}
ListStaffsApplicationsByBusinessForDayApplicationsShiftRoleShift({
this.location,
this.cost,
});
}