new sdk info

This commit is contained in:
José Salazar
2026-01-27 16:23:12 -05:00
parent 83d76b8f06
commit 9c0decefae
5 changed files with 17700 additions and 17504 deletions

View File

@@ -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();
```

View File

@@ -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,

View File

@@ -163,7 +163,7 @@ query filterStaff(
ownerId
isRecommended
skills
industries
backgroundCheckStatus
employmentType
initial