@dsptch-work/api-client 0.10.0 → 0.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +29 -0
- package/dist/gen/index.d.ts +1 -1
- package/dist/gen/sdk.gen.d.ts +1 -19
- package/dist/gen/sdk.gen.js +0 -34
- package/dist/gen/types.gen.d.ts +246 -249
- package/dist/gen/zod.gen.d.ts +475 -510
- package/dist/gen/zod.gen.js +218 -225
- package/package.json +1 -1
package/dist/gen/zod.gen.js
CHANGED
|
@@ -816,6 +816,9 @@ export const zTimecodeCorrectionParameters = z.object({
|
|
|
816
816
|
export const zTimecodeGenesisParameters = z.object({
|
|
817
817
|
effective_date: z.iso.datetime()
|
|
818
818
|
});
|
|
819
|
+
/**
|
|
820
|
+
* Request body for scheduling a timecode's termination: the date from which it stops being valid. The body is required — the endpoint reads effective_date with `params.expect`, so a request omitting it is refused with `400`.
|
|
821
|
+
*/
|
|
819
822
|
export const zTimecodeScheduledTerminationParameters = z.object({
|
|
820
823
|
effective_date: z.iso.datetime()
|
|
821
824
|
});
|
|
@@ -868,7 +871,7 @@ export const zPerDiemResponseObject = z.object({
|
|
|
868
871
|
export const zPerDiemParameters = z.object({
|
|
869
872
|
name: z.string(),
|
|
870
873
|
description: z.string().nullish(),
|
|
871
|
-
rate_cents: z.string()
|
|
874
|
+
rate_cents: z.string(),
|
|
872
875
|
currency: z.string(),
|
|
873
876
|
taxable: z.boolean().optional(),
|
|
874
877
|
default: z.boolean().nullish(),
|
|
@@ -1513,20 +1516,31 @@ export const zManagerTimeEntryApprovalParameters = z.object({
|
|
|
1513
1516
|
approver_user_id: z.string()
|
|
1514
1517
|
});
|
|
1515
1518
|
/**
|
|
1516
|
-
*
|
|
1519
|
+
* The time-entry body fields shared by the create and update bodies; each of those declares its own requiredness.
|
|
1517
1520
|
*/
|
|
1518
1521
|
export const zTimeEntryParameters = z.object({
|
|
1519
|
-
timekeeping_time_card_id: z.string(),
|
|
1520
|
-
start_time: z.iso.datetime(),
|
|
1521
|
-
end_time: z.iso.datetime(),
|
|
1522
|
+
timekeeping_time_card_id: z.string().optional(),
|
|
1523
|
+
start_time: z.iso.datetime().optional(),
|
|
1524
|
+
end_time: z.iso.datetime().optional(),
|
|
1522
1525
|
job_id: z.string().nullish(),
|
|
1523
1526
|
timekeeping_timecode_id: z.string().nullish(),
|
|
1524
1527
|
state: z.string().nullish(),
|
|
1525
1528
|
description: z.string().nullish(),
|
|
1526
1529
|
hourly_rate_cents: z.string().nullish(),
|
|
1527
|
-
feature_ids: z.array(z.string()).nullish()
|
|
1528
|
-
feature_allocation_acknowledged: z.boolean().nullish()
|
|
1530
|
+
feature_ids: z.array(z.string()).nullish()
|
|
1529
1531
|
});
|
|
1532
|
+
/**
|
|
1533
|
+
* Request body for creating a time entry — the time_entry_parameters fields, of which timekeeping_time_card_id, start_time, and end_time are required, plus the explicit "no feature" acknowledgement.
|
|
1534
|
+
*/
|
|
1535
|
+
export const zTimeEntryCreateParameters = zTimeEntryParameters.and(z.object({
|
|
1536
|
+
feature_allocation_acknowledged: z.boolean().nullish()
|
|
1537
|
+
}));
|
|
1538
|
+
/**
|
|
1539
|
+
* Request body for updating a time entry — the time_entry_parameters fields, every one optional, plus the acknowledgement that clears an apprenticeship allocation conflict.
|
|
1540
|
+
*/
|
|
1541
|
+
export const zTimeEntryUpdateParameters = zTimeEntryParameters.and(z.object({
|
|
1542
|
+
confirm_allocation_conflict: z.boolean().nullish()
|
|
1543
|
+
}));
|
|
1530
1544
|
/**
|
|
1531
1545
|
* A single form submission — a user's completed SurveyJS form with the resolved answers (the fuller show representation). Read-only; submissions are created in the app.
|
|
1532
1546
|
*/
|
|
@@ -1550,7 +1564,7 @@ export const zFormSubmissionResponseObject = z.object({
|
|
|
1550
1564
|
export const zUserCompanyScheduledChangesParameters = z.object({
|
|
1551
1565
|
effective_date: z.string(),
|
|
1552
1566
|
hourly_rate: z.string().nullish(),
|
|
1553
|
-
compensation_type: z.
|
|
1567
|
+
compensation_type: z.enum(['hourly', 'salary']).optional(),
|
|
1554
1568
|
overtime_eligible: z.boolean().optional(),
|
|
1555
1569
|
training_annual_amount: z.string().nullish(),
|
|
1556
1570
|
employer_combined_health_amount: z.string().nullish(),
|
|
@@ -1866,6 +1880,10 @@ export const zJobParameters = z.object({
|
|
|
1866
1880
|
verified: z.boolean().nullish(),
|
|
1867
1881
|
label: z.string().nullish()
|
|
1868
1882
|
}).nullish(),
|
|
1883
|
+
custom_fields_attributes: z.array(z.object({
|
|
1884
|
+
custom_field_config_id: z.string(),
|
|
1885
|
+
value: z.string().nullish()
|
|
1886
|
+
})).nullish(),
|
|
1869
1887
|
pwa_details: z.object({
|
|
1870
1888
|
contractor_type: z.string().nullish(),
|
|
1871
1889
|
pay_full_cash_fringe_by_default: z.boolean().nullish(),
|
|
@@ -2971,7 +2989,7 @@ export const zCertificationParameters = z.object({
|
|
|
2971
2989
|
company_id: z.string(),
|
|
2972
2990
|
name: z.string(),
|
|
2973
2991
|
description: z.string().nullish(),
|
|
2974
|
-
verified: z.boolean().
|
|
2992
|
+
verified: z.boolean().optional(),
|
|
2975
2993
|
duration: z.string().nullish()
|
|
2976
2994
|
});
|
|
2977
2995
|
/**
|
|
@@ -3021,7 +3039,7 @@ export const zUserCertificationParameters = z.object({
|
|
|
3021
3039
|
name: z.string().max(255).regex(/^[\w\s.-]*\.[A-Za-z0-9]+$/),
|
|
3022
3040
|
content: z.string()
|
|
3023
3041
|
}).nullish(),
|
|
3024
|
-
verified: z.boolean().
|
|
3042
|
+
verified: z.boolean().optional(),
|
|
3025
3043
|
expiration_date: z.iso.date().nullish(),
|
|
3026
3044
|
credential_id: z.string().nullish(),
|
|
3027
3045
|
approved_by_user_id: z.string().nullish(),
|
|
@@ -3433,7 +3451,7 @@ export const zUserCompanyCreateParameters = z.object({
|
|
|
3433
3451
|
type: zUserCompanyType.optional(),
|
|
3434
3452
|
title: z.string().nullish(),
|
|
3435
3453
|
manager_user_id: z.string().nullish(),
|
|
3436
|
-
compensation_type: z.
|
|
3454
|
+
compensation_type: z.enum(['hourly', 'salary']).optional(),
|
|
3437
3455
|
enrolled_in_t_and_a: z.boolean().optional(),
|
|
3438
3456
|
payroll_id: z.string().nullish(),
|
|
3439
3457
|
hourly_rate: z.string().nullish(),
|
|
@@ -4173,6 +4191,7 @@ export const zAssetsProductResponseObject = z.object({
|
|
|
4173
4191
|
assets_category_id: z.string().nullable(),
|
|
4174
4192
|
attributes: zAssetsAttributeValueObjects,
|
|
4175
4193
|
images: z.array(zAssetsAttachmentResponseObject),
|
|
4194
|
+
archived_at: z.iso.datetime().nullable(),
|
|
4176
4195
|
created_at: z.iso.datetime(),
|
|
4177
4196
|
updated_at: z.iso.datetime()
|
|
4178
4197
|
});
|
|
@@ -4187,11 +4206,7 @@ export const zAssetsItemResponseObject = z.object({
|
|
|
4187
4206
|
company_id: z.string(),
|
|
4188
4207
|
type: z.enum(['serial', 'bulk']),
|
|
4189
4208
|
serial_number: z.string().nullable(),
|
|
4190
|
-
status: z.enum([
|
|
4191
|
-
'available',
|
|
4192
|
-
'assigned',
|
|
4193
|
-
'retired'
|
|
4194
|
-
]).nullable(),
|
|
4209
|
+
status: z.enum(['available', 'assigned']).nullable(),
|
|
4195
4210
|
purchase_date: z.iso.datetime().nullable(),
|
|
4196
4211
|
purchase_price_cents: z.string().nullable(),
|
|
4197
4212
|
currency: z.string().nullable(),
|
|
@@ -4207,6 +4222,7 @@ export const zAssetsItemResponseObject = z.object({
|
|
|
4207
4222
|
quantity: z.int()
|
|
4208
4223
|
})),
|
|
4209
4224
|
images: z.array(zAssetsAttachmentResponseObject),
|
|
4225
|
+
archived_at: z.iso.datetime().nullable(),
|
|
4210
4226
|
created_at: z.iso.datetime(),
|
|
4211
4227
|
updated_at: z.iso.datetime()
|
|
4212
4228
|
});
|
|
@@ -4278,11 +4294,7 @@ export const zAssetsItemParameters = z.object({
|
|
|
4278
4294
|
description: z.string().optional(),
|
|
4279
4295
|
assets_product_id: z.string(),
|
|
4280
4296
|
serial_number: z.string(),
|
|
4281
|
-
status: z.enum([
|
|
4282
|
-
'available',
|
|
4283
|
-
'assigned',
|
|
4284
|
-
'retired'
|
|
4285
|
-
]).optional(),
|
|
4297
|
+
status: z.enum(['available', 'assigned']).optional(),
|
|
4286
4298
|
purchase_date: z.iso.datetime().optional(),
|
|
4287
4299
|
purchase_price_cents: z.int().optional(),
|
|
4288
4300
|
external_id: z.string().optional(),
|
|
@@ -4676,17 +4688,11 @@ export const zAssetsAdjustmentParameters = z.object({
|
|
|
4676
4688
|
new_quantity: z.int().gte(0),
|
|
4677
4689
|
performed_by_user_id: z.string()
|
|
4678
4690
|
});
|
|
4679
|
-
/**
|
|
4680
|
-
* Retire an item, taking it out of service. A serial item is removed from its site or user (recording the removal) and marked retired; a bulk item is flagged retired without changing its stock. Delete this resource to un-retire.
|
|
4681
|
-
*/
|
|
4682
|
-
export const zAssetsRetirementParameters = z.object({
|
|
4683
|
-
performed_by_user_id: z.string()
|
|
4684
|
-
});
|
|
4685
4691
|
/**
|
|
4686
4692
|
* Success
|
|
4687
4693
|
*/
|
|
4688
4694
|
export const zListApiKeyScopesResponse = z.object({
|
|
4689
|
-
data: z.array(zApiKeyScopeResponseObject)
|
|
4695
|
+
data: z.array(zApiKeyScopeResponseObject)
|
|
4690
4696
|
});
|
|
4691
4697
|
export const zListApprenticesPath = z.object({
|
|
4692
4698
|
program_id: z.string()
|
|
@@ -4708,9 +4714,9 @@ export const zListApprenticesQuery = z.object({
|
|
|
4708
4714
|
* Success
|
|
4709
4715
|
*/
|
|
4710
4716
|
export const zListApprenticesResponse = z.object({
|
|
4711
|
-
meta: zMeta
|
|
4712
|
-
links: zLinks
|
|
4713
|
-
data: z.array(zApprenticeshipApprenticeResponseObject)
|
|
4717
|
+
meta: zMeta,
|
|
4718
|
+
links: zLinks,
|
|
4719
|
+
data: z.array(zApprenticeshipApprenticeResponseObject)
|
|
4714
4720
|
});
|
|
4715
4721
|
export const zCreateApprenticeBody = zApprenticeshipApprenticeParameters;
|
|
4716
4722
|
export const zCreateApprenticePath = z.object({
|
|
@@ -4738,9 +4744,9 @@ export const zListOccupationsQuery = z.object({
|
|
|
4738
4744
|
* Success
|
|
4739
4745
|
*/
|
|
4740
4746
|
export const zListOccupationsResponse = z.object({
|
|
4741
|
-
meta: zMeta
|
|
4742
|
-
links: zLinks
|
|
4743
|
-
data: z.array(zApprenticeshipOccupationResponseObject)
|
|
4747
|
+
meta: zMeta,
|
|
4748
|
+
links: zLinks,
|
|
4749
|
+
data: z.array(zApprenticeshipOccupationResponseObject)
|
|
4744
4750
|
});
|
|
4745
4751
|
export const zCreateOccupationBody = zApprenticeshipOccupationParameters;
|
|
4746
4752
|
export const zCreateOccupationPath = z.object({
|
|
@@ -4777,9 +4783,9 @@ export const zListEmployersQuery = z.object({
|
|
|
4777
4783
|
* Success
|
|
4778
4784
|
*/
|
|
4779
4785
|
export const zListEmployersResponse = z.object({
|
|
4780
|
-
meta: zMeta
|
|
4781
|
-
links: zLinks
|
|
4782
|
-
data: z.array(zApprenticeshipProgramEmployerResponseObject)
|
|
4786
|
+
meta: zMeta,
|
|
4787
|
+
links: zLinks,
|
|
4788
|
+
data: z.array(zApprenticeshipProgramEmployerResponseObject)
|
|
4783
4789
|
});
|
|
4784
4790
|
export const zCreateEmployerBody = zApprenticeshipProgramEmployerParameters;
|
|
4785
4791
|
export const zCreateEmployerPath = z.object({
|
|
@@ -4821,9 +4827,9 @@ export const zListProgramsQuery = z.object({
|
|
|
4821
4827
|
* Success
|
|
4822
4828
|
*/
|
|
4823
4829
|
export const zListProgramsResponse = z.object({
|
|
4824
|
-
meta: zMeta
|
|
4825
|
-
links: zLinks
|
|
4826
|
-
data: z.array(zApprenticeshipProgramResponseObject)
|
|
4830
|
+
meta: zMeta,
|
|
4831
|
+
links: zLinks,
|
|
4832
|
+
data: z.array(zApprenticeshipProgramResponseObject)
|
|
4827
4833
|
});
|
|
4828
4834
|
export const zCreateProgramBody = zApprenticeshipProgramParameters;
|
|
4829
4835
|
/**
|
|
@@ -4856,9 +4862,9 @@ export const zListPeriodsQuery = z.object({
|
|
|
4856
4862
|
* Success
|
|
4857
4863
|
*/
|
|
4858
4864
|
export const zListPeriodsResponse = z.object({
|
|
4859
|
-
meta: zMeta
|
|
4860
|
-
links: zLinks
|
|
4861
|
-
data: z.array(zApprenticeshipWageSchedulePeriodResponseObject)
|
|
4865
|
+
meta: zMeta,
|
|
4866
|
+
links: zLinks,
|
|
4867
|
+
data: z.array(zApprenticeshipWageSchedulePeriodResponseObject)
|
|
4862
4868
|
});
|
|
4863
4869
|
export const zCreatePeriodBody = zApprenticeshipWageSchedulePeriodParameters;
|
|
4864
4870
|
export const zCreatePeriodPath = z.object({
|
|
@@ -4895,9 +4901,9 @@ export const zListWageSchedulesQuery = z.object({
|
|
|
4895
4901
|
* Success
|
|
4896
4902
|
*/
|
|
4897
4903
|
export const zListWageSchedulesResponse = z.object({
|
|
4898
|
-
meta: zMeta
|
|
4899
|
-
links: zLinks
|
|
4900
|
-
data: z.array(zApprenticeshipWageScheduleResponseObject)
|
|
4904
|
+
meta: zMeta,
|
|
4905
|
+
links: zLinks,
|
|
4906
|
+
data: z.array(zApprenticeshipWageScheduleResponseObject)
|
|
4901
4907
|
});
|
|
4902
4908
|
export const zCreateWageScheduleBody = zApprenticeshipWageScheduleParameters;
|
|
4903
4909
|
export const zCreateWageSchedulePath = z.object({
|
|
@@ -4932,9 +4938,9 @@ export const zListAttributesQuery = z.object({
|
|
|
4932
4938
|
* Success
|
|
4933
4939
|
*/
|
|
4934
4940
|
export const zListAttributesResponse = z.object({
|
|
4935
|
-
meta: zMeta
|
|
4936
|
-
links: zLinks
|
|
4937
|
-
data: z.array(zAssetsAttributeResponseObject)
|
|
4941
|
+
meta: zMeta,
|
|
4942
|
+
links: zLinks,
|
|
4943
|
+
data: z.array(zAssetsAttributeResponseObject)
|
|
4938
4944
|
});
|
|
4939
4945
|
export const zCreateAttributeBody = zAssetsAttributeParameters;
|
|
4940
4946
|
/**
|
|
@@ -4978,9 +4984,9 @@ export const zListCategoriesQuery = z.object({
|
|
|
4978
4984
|
* Success
|
|
4979
4985
|
*/
|
|
4980
4986
|
export const zListCategoriesResponse = z.object({
|
|
4981
|
-
meta: zMeta
|
|
4982
|
-
links: zLinks
|
|
4983
|
-
data: z.array(zAssetsCategoryResponseObject)
|
|
4987
|
+
meta: zMeta,
|
|
4988
|
+
links: zLinks,
|
|
4989
|
+
data: z.array(zAssetsCategoryResponseObject)
|
|
4984
4990
|
});
|
|
4985
4991
|
export const zCreateCategoryBody = zAssetsCategoryParameters;
|
|
4986
4992
|
/**
|
|
@@ -5019,9 +5025,9 @@ export const zListCustodiesQuery = z.object({
|
|
|
5019
5025
|
* Success
|
|
5020
5026
|
*/
|
|
5021
5027
|
export const zListCustodiesResponse = z.object({
|
|
5022
|
-
meta: zMeta
|
|
5023
|
-
links: zLinks
|
|
5024
|
-
data: z.array(zAssetsCustodyResponseObject)
|
|
5028
|
+
meta: zMeta,
|
|
5029
|
+
links: zLinks,
|
|
5030
|
+
data: z.array(zAssetsCustodyResponseObject)
|
|
5025
5031
|
});
|
|
5026
5032
|
export const zGetCustodyPath = z.object({
|
|
5027
5033
|
id: z.string()
|
|
@@ -5040,9 +5046,9 @@ export const zListEventsQuery = z.object({
|
|
|
5040
5046
|
* Success
|
|
5041
5047
|
*/
|
|
5042
5048
|
export const zListEventsResponse = z.object({
|
|
5043
|
-
meta: zMeta
|
|
5044
|
-
links: zLinks
|
|
5045
|
-
data: z.array(zAssetsItemEventResponseObject)
|
|
5049
|
+
meta: zMeta,
|
|
5050
|
+
links: zLinks,
|
|
5051
|
+
data: z.array(zAssetsItemEventResponseObject)
|
|
5046
5052
|
});
|
|
5047
5053
|
export const zGetEventPath = z.object({
|
|
5048
5054
|
id: z.string()
|
|
@@ -5063,9 +5069,9 @@ export const zListFormAssignmentTriggersQuery = z.object({
|
|
|
5063
5069
|
* Success
|
|
5064
5070
|
*/
|
|
5065
5071
|
export const zListFormAssignmentTriggersResponse = z.object({
|
|
5066
|
-
meta: zMeta
|
|
5067
|
-
links: zLinks
|
|
5068
|
-
data: z.array(zAssetsFormAssignmentTriggerResponseObject)
|
|
5072
|
+
meta: zMeta,
|
|
5073
|
+
links: zLinks,
|
|
5074
|
+
data: z.array(zAssetsFormAssignmentTriggerResponseObject)
|
|
5069
5075
|
});
|
|
5070
5076
|
export const zCreateFormAssignmentTriggerBody = zAssetsFormAssignmentTriggerParameters;
|
|
5071
5077
|
/**
|
|
@@ -5104,9 +5110,9 @@ export const zListInventoriesQuery = z.object({
|
|
|
5104
5110
|
* Success
|
|
5105
5111
|
*/
|
|
5106
5112
|
export const zListInventoriesResponse = z.object({
|
|
5107
|
-
meta: zMeta
|
|
5108
|
-
links: zLinks
|
|
5109
|
-
data: z.array(zAssetsInventoryResponseObject)
|
|
5113
|
+
meta: zMeta,
|
|
5114
|
+
links: zLinks,
|
|
5115
|
+
data: z.array(zAssetsInventoryResponseObject)
|
|
5110
5116
|
});
|
|
5111
5117
|
export const zGetInventoryPath = z.object({
|
|
5112
5118
|
id: z.string()
|
|
@@ -5124,6 +5130,7 @@ export const zListItemsQuery = z.object({
|
|
|
5124
5130
|
'filter[container_item_id]': z.string().optional(),
|
|
5125
5131
|
'filter[status]': z.string().optional(),
|
|
5126
5132
|
'filter[service]': z.string().optional(),
|
|
5133
|
+
'filter[state]': z.string().optional(),
|
|
5127
5134
|
filter: z.string().optional(),
|
|
5128
5135
|
'filter[unexpected]': z.string().optional()
|
|
5129
5136
|
});
|
|
@@ -5131,9 +5138,9 @@ export const zListItemsQuery = z.object({
|
|
|
5131
5138
|
* Success
|
|
5132
5139
|
*/
|
|
5133
5140
|
export const zListItemsResponse = z.object({
|
|
5134
|
-
meta: zMeta
|
|
5135
|
-
links: zLinks
|
|
5136
|
-
data: z.array(zAssetsItemResponseObject)
|
|
5141
|
+
meta: zMeta,
|
|
5142
|
+
links: zLinks,
|
|
5143
|
+
data: z.array(zAssetsItemResponseObject)
|
|
5137
5144
|
});
|
|
5138
5145
|
export const zCreateItemBody = zAssetsItemParameters;
|
|
5139
5146
|
/**
|
|
@@ -5162,21 +5169,6 @@ export const zUpdateItemPath = z.object({
|
|
|
5162
5169
|
* Removes an image
|
|
5163
5170
|
*/
|
|
5164
5171
|
export const zUpdateItemResponse = zAssetsItemResponseObject;
|
|
5165
|
-
export const zUnretireItemPath = z.object({
|
|
5166
|
-
item_id: z.string()
|
|
5167
|
-
});
|
|
5168
|
-
/**
|
|
5169
|
-
* Success
|
|
5170
|
-
*/
|
|
5171
|
-
export const zUnretireItemResponse = zAssetsItemResponseObject;
|
|
5172
|
-
export const zRetireItemBody = zAssetsRetirementParameters;
|
|
5173
|
-
export const zRetireItemPath = z.object({
|
|
5174
|
-
item_id: z.string()
|
|
5175
|
-
});
|
|
5176
|
-
/**
|
|
5177
|
-
* Created
|
|
5178
|
-
*/
|
|
5179
|
-
export const zRetireItemResponse = zAssetsItemResponseObject;
|
|
5180
5172
|
export const zListServiceSchedulesPath = z.object({
|
|
5181
5173
|
item_id: z.string()
|
|
5182
5174
|
});
|
|
@@ -5196,9 +5188,9 @@ export const zListServiceSchedulesQuery = z.object({
|
|
|
5196
5188
|
* Success
|
|
5197
5189
|
*/
|
|
5198
5190
|
export const zListServiceSchedulesResponse = z.object({
|
|
5199
|
-
meta: zMeta
|
|
5200
|
-
links: zLinks
|
|
5201
|
-
data: z.array(zAssetsServiceScheduleResponseObject)
|
|
5191
|
+
meta: zMeta,
|
|
5192
|
+
links: zLinks,
|
|
5193
|
+
data: z.array(zAssetsServiceScheduleResponseObject)
|
|
5202
5194
|
});
|
|
5203
5195
|
export const zCreateServiceScheduleBody = zAssetsServiceScheduleParameters;
|
|
5204
5196
|
export const zCreateServiceSchedulePath = z.object({
|
|
@@ -5252,9 +5244,9 @@ export const zListServiceEventsQuery = z.object({
|
|
|
5252
5244
|
* Success
|
|
5253
5245
|
*/
|
|
5254
5246
|
export const zListServiceEventsResponse = z.object({
|
|
5255
|
-
meta: zMeta
|
|
5256
|
-
links: zLinks
|
|
5257
|
-
data: z.array(zAssetsServiceEventFullResponseObject)
|
|
5247
|
+
meta: zMeta,
|
|
5248
|
+
links: zLinks,
|
|
5249
|
+
data: z.array(zAssetsServiceEventFullResponseObject)
|
|
5258
5250
|
});
|
|
5259
5251
|
export const zCreateServiceEventBody = zAssetsServiceEventParameters;
|
|
5260
5252
|
export const zCreateServiceEventPath = z.object({
|
|
@@ -5301,9 +5293,9 @@ export const zListFormAssignmentTasksQuery = z.object({
|
|
|
5301
5293
|
* Success
|
|
5302
5294
|
*/
|
|
5303
5295
|
export const zListFormAssignmentTasksResponse = z.object({
|
|
5304
|
-
meta: zMeta
|
|
5305
|
-
links: zLinks
|
|
5306
|
-
data: z.array(zAssetsItemFormAssignmentResponseObject)
|
|
5296
|
+
meta: zMeta,
|
|
5297
|
+
links: zLinks,
|
|
5298
|
+
data: z.array(zAssetsItemFormAssignmentResponseObject)
|
|
5307
5299
|
});
|
|
5308
5300
|
export const zCreateItemFormAssignmentTaskBody = zAssetsItemFormAssignmentParameters;
|
|
5309
5301
|
export const zCreateItemFormAssignmentTaskPath = z.object({
|
|
@@ -5344,9 +5336,9 @@ export const zListDocumentsQuery = z.object({
|
|
|
5344
5336
|
* Success
|
|
5345
5337
|
*/
|
|
5346
5338
|
export const zListDocumentsResponse = z.object({
|
|
5347
|
-
meta: zMeta
|
|
5348
|
-
links: zLinks
|
|
5349
|
-
data: z.array(zAssetsDocumentResponseObject)
|
|
5339
|
+
meta: zMeta,
|
|
5340
|
+
links: zLinks,
|
|
5341
|
+
data: z.array(zAssetsDocumentResponseObject)
|
|
5350
5342
|
});
|
|
5351
5343
|
export const zCreateDocumentBody = zAssetsDocumentParameters;
|
|
5352
5344
|
export const zCreateDocumentPath = z.object({
|
|
@@ -5389,12 +5381,13 @@ export const zListVersionsPath = z.object({
|
|
|
5389
5381
|
* Success
|
|
5390
5382
|
*/
|
|
5391
5383
|
export const zListVersionsResponse = z.object({
|
|
5392
|
-
meta: zMeta
|
|
5393
|
-
links: zLinks
|
|
5394
|
-
data: z.array(zAssetsDocumentVersionResponseObject)
|
|
5384
|
+
meta: zMeta,
|
|
5385
|
+
links: zLinks,
|
|
5386
|
+
data: z.array(zAssetsDocumentVersionResponseObject)
|
|
5395
5387
|
});
|
|
5396
5388
|
export const zListProductsQuery = z.object({
|
|
5397
5389
|
'filter[assets_category_id]': z.string().optional(),
|
|
5390
|
+
'filter[state]': z.string().optional(),
|
|
5398
5391
|
'filter[created_at][gte]': z.iso.datetime().optional(),
|
|
5399
5392
|
'filter[created_at][lte]': z.iso.datetime().optional(),
|
|
5400
5393
|
'filter[updated_at][gte]': z.iso.datetime().optional(),
|
|
@@ -5409,9 +5402,9 @@ export const zListProductsQuery = z.object({
|
|
|
5409
5402
|
* Success
|
|
5410
5403
|
*/
|
|
5411
5404
|
export const zListProductsResponse = z.object({
|
|
5412
|
-
meta: zMeta
|
|
5413
|
-
links: zLinks
|
|
5414
|
-
data: z.array(zAssetsProductResponseObject)
|
|
5405
|
+
meta: zMeta,
|
|
5406
|
+
links: zLinks,
|
|
5407
|
+
data: z.array(zAssetsProductResponseObject)
|
|
5415
5408
|
});
|
|
5416
5409
|
export const zCreateProductBody = zAssetsProductParameters;
|
|
5417
5410
|
/**
|
|
@@ -5471,9 +5464,9 @@ export const zListServiceScheduleTemplatesQuery = z.object({
|
|
|
5471
5464
|
* Success
|
|
5472
5465
|
*/
|
|
5473
5466
|
export const zListServiceScheduleTemplatesResponse = z.object({
|
|
5474
|
-
meta: zMeta
|
|
5475
|
-
links: zLinks
|
|
5476
|
-
data: z.array(zAssetsServiceScheduleTemplateResponseObject)
|
|
5467
|
+
meta: zMeta,
|
|
5468
|
+
links: zLinks,
|
|
5469
|
+
data: z.array(zAssetsServiceScheduleTemplateResponseObject)
|
|
5477
5470
|
});
|
|
5478
5471
|
export const zCreateServiceScheduleTemplateBody = zAssetsServiceScheduleTemplateParameters;
|
|
5479
5472
|
export const zCreateServiceScheduleTemplatePath = z.object({
|
|
@@ -5553,9 +5546,9 @@ export const zListAssetsSitesQuery = z.object({
|
|
|
5553
5546
|
* Success
|
|
5554
5547
|
*/
|
|
5555
5548
|
export const zListAssetsSitesResponse = z.object({
|
|
5556
|
-
meta: zMeta
|
|
5557
|
-
links: zLinks
|
|
5558
|
-
data: z.array(zAssetsSiteResponseObject)
|
|
5549
|
+
meta: zMeta,
|
|
5550
|
+
links: zLinks,
|
|
5551
|
+
data: z.array(zAssetsSiteResponseObject)
|
|
5559
5552
|
});
|
|
5560
5553
|
export const zCreateSiteBody = zAssetsSiteParameters;
|
|
5561
5554
|
/**
|
|
@@ -5593,9 +5586,9 @@ export const zListTransfersQuery = z.object({
|
|
|
5593
5586
|
* Success
|
|
5594
5587
|
*/
|
|
5595
5588
|
export const zListTransfersResponse = z.object({
|
|
5596
|
-
meta: zMeta
|
|
5597
|
-
links: zLinks
|
|
5598
|
-
data: z.array(zAssetsTransferResponseObject)
|
|
5589
|
+
meta: zMeta,
|
|
5590
|
+
links: zLinks,
|
|
5591
|
+
data: z.array(zAssetsTransferResponseObject)
|
|
5599
5592
|
});
|
|
5600
5593
|
export const zCreateTransferBody = zAssetsTransferParameters;
|
|
5601
5594
|
export const zCreateTransferResponse = z.union([
|
|
@@ -5620,9 +5613,9 @@ export const zListVendorsQuery = z.object({
|
|
|
5620
5613
|
* Success
|
|
5621
5614
|
*/
|
|
5622
5615
|
export const zListVendorsResponse = z.object({
|
|
5623
|
-
meta: zMeta
|
|
5624
|
-
links: zLinks
|
|
5625
|
-
data: z.array(zAssetsVendorResponseObject)
|
|
5616
|
+
meta: zMeta,
|
|
5617
|
+
links: zLinks,
|
|
5618
|
+
data: z.array(zAssetsVendorResponseObject)
|
|
5626
5619
|
});
|
|
5627
5620
|
export const zCreateVendorBody = zAssetsVendorParameters;
|
|
5628
5621
|
/**
|
|
@@ -5673,9 +5666,9 @@ export const zListFeaturesQuery = z.object({
|
|
|
5673
5666
|
* Success
|
|
5674
5667
|
*/
|
|
5675
5668
|
export const zListFeaturesResponse = z.object({
|
|
5676
|
-
meta: zMeta
|
|
5677
|
-
links: zLinks
|
|
5678
|
-
data: z.array(zFeatureResponseObject)
|
|
5669
|
+
meta: zMeta,
|
|
5670
|
+
links: zLinks,
|
|
5671
|
+
data: z.array(zFeatureResponseObject)
|
|
5679
5672
|
});
|
|
5680
5673
|
export const zGetFeaturePath = z.object({
|
|
5681
5674
|
id: z.string()
|
|
@@ -5705,9 +5698,9 @@ export const zListAtlasSitesQuery = z.object({
|
|
|
5705
5698
|
* Success
|
|
5706
5699
|
*/
|
|
5707
5700
|
export const zListAtlasSitesResponse = z.object({
|
|
5708
|
-
meta: zMeta
|
|
5709
|
-
links: zLinks
|
|
5710
|
-
data: z.array(zSiteResponseObject)
|
|
5701
|
+
meta: zMeta,
|
|
5702
|
+
links: zLinks,
|
|
5703
|
+
data: z.array(zSiteResponseObject)
|
|
5711
5704
|
});
|
|
5712
5705
|
export const zGetAtlasSitePath = z.object({
|
|
5713
5706
|
id: z.string()
|
|
@@ -5742,9 +5735,9 @@ export const zListPackagesQuery = z.object({
|
|
|
5742
5735
|
* Success
|
|
5743
5736
|
*/
|
|
5744
5737
|
export const zListPackagesResponse = z.object({
|
|
5745
|
-
meta: zMeta
|
|
5746
|
-
links: zLinks
|
|
5747
|
-
data: z.array(zCertificationPackageResponseObject)
|
|
5738
|
+
meta: zMeta,
|
|
5739
|
+
links: zLinks,
|
|
5740
|
+
data: z.array(zCertificationPackageResponseObject)
|
|
5748
5741
|
});
|
|
5749
5742
|
export const zCreatePackageBody = zCertificationPackageParameters;
|
|
5750
5743
|
/**
|
|
@@ -5867,9 +5860,9 @@ export const zListDepartmentsQuery = z.object({
|
|
|
5867
5860
|
* Success
|
|
5868
5861
|
*/
|
|
5869
5862
|
export const zListDepartmentsResponse = z.object({
|
|
5870
|
-
meta: zMeta
|
|
5871
|
-
links: zLinks
|
|
5872
|
-
data: z.array(zDepartmentResponseObject)
|
|
5863
|
+
meta: zMeta,
|
|
5864
|
+
links: zLinks,
|
|
5865
|
+
data: z.array(zDepartmentResponseObject)
|
|
5873
5866
|
});
|
|
5874
5867
|
export const zCreateDepartmentBody = zDepartmentParameters;
|
|
5875
5868
|
/**
|
|
@@ -5896,9 +5889,9 @@ export const zListCompaniesQuery = z.object({
|
|
|
5896
5889
|
* Success
|
|
5897
5890
|
*/
|
|
5898
5891
|
export const zListCompaniesResponse = z.object({
|
|
5899
|
-
meta: zMeta
|
|
5900
|
-
links: zLinks
|
|
5901
|
-
data: z.array(zCompanyResponseObject)
|
|
5892
|
+
meta: zMeta,
|
|
5893
|
+
links: zLinks,
|
|
5894
|
+
data: z.array(zCompanyResponseObject)
|
|
5902
5895
|
});
|
|
5903
5896
|
export const zGetCompanyPath = z.object({
|
|
5904
5897
|
id: z.string()
|
|
@@ -5940,9 +5933,9 @@ export const zListChecksQuery = z.object({
|
|
|
5940
5933
|
* Success
|
|
5941
5934
|
*/
|
|
5942
5935
|
export const zListChecksResponse = z.object({
|
|
5943
|
-
meta: zMeta
|
|
5944
|
-
links: zLinks
|
|
5945
|
-
data: z.array(zComplianceCheckResponseObject)
|
|
5936
|
+
meta: zMeta,
|
|
5937
|
+
links: zLinks,
|
|
5938
|
+
data: z.array(zComplianceCheckResponseObject)
|
|
5946
5939
|
});
|
|
5947
5940
|
export const zGetCheckPath = z.object({
|
|
5948
5941
|
id: z.string()
|
|
@@ -5968,9 +5961,9 @@ export const zListCustomFieldConfigsQuery = z.object({
|
|
|
5968
5961
|
* Success
|
|
5969
5962
|
*/
|
|
5970
5963
|
export const zListCustomFieldConfigsResponse = z.object({
|
|
5971
|
-
meta: zMeta
|
|
5972
|
-
links: zLinks
|
|
5973
|
-
data: z.array(zCustomFieldConfigsResponseObject)
|
|
5964
|
+
meta: zMeta,
|
|
5965
|
+
links: zLinks,
|
|
5966
|
+
data: z.array(zCustomFieldConfigsResponseObject)
|
|
5974
5967
|
});
|
|
5975
5968
|
export const zCreateCustomFieldConfigBody = zCustomFieldConfigParameters;
|
|
5976
5969
|
/**
|
|
@@ -6077,9 +6070,9 @@ export const zListGroupUsersQuery = z.object({
|
|
|
6077
6070
|
* Success
|
|
6078
6071
|
*/
|
|
6079
6072
|
export const zListGroupUsersResponse = z.object({
|
|
6080
|
-
meta: zMeta
|
|
6081
|
-
links: zLinks
|
|
6082
|
-
data: z.array(zUserGroupResponse)
|
|
6073
|
+
meta: zMeta,
|
|
6074
|
+
links: zLinks,
|
|
6075
|
+
data: z.array(zUserGroupResponse)
|
|
6083
6076
|
});
|
|
6084
6077
|
export const zAddUsersToGroupBody = zUserGroupParameters;
|
|
6085
6078
|
export const zAddUsersToGroupPath = z.object({
|
|
@@ -6106,9 +6099,9 @@ export const zListGroupsQuery = z.object({
|
|
|
6106
6099
|
* Success
|
|
6107
6100
|
*/
|
|
6108
6101
|
export const zListGroupsResponse = z.object({
|
|
6109
|
-
meta: zMeta
|
|
6110
|
-
links: zLinks
|
|
6111
|
-
data: z.array(zGroupResponseObject)
|
|
6102
|
+
meta: zMeta,
|
|
6103
|
+
links: zLinks,
|
|
6104
|
+
data: z.array(zGroupResponseObject)
|
|
6112
6105
|
});
|
|
6113
6106
|
export const zCreateGroupBody = zGroupParameters;
|
|
6114
6107
|
/**
|
|
@@ -6156,9 +6149,9 @@ export const zListJobScopePricesQuery = z.object({
|
|
|
6156
6149
|
* Success
|
|
6157
6150
|
*/
|
|
6158
6151
|
export const zListJobScopePricesResponse = z.object({
|
|
6159
|
-
meta: zMeta
|
|
6160
|
-
links: zLinks
|
|
6161
|
-
data: z.array(zProductionJobScopePriceResponseObject)
|
|
6152
|
+
meta: zMeta,
|
|
6153
|
+
links: zLinks,
|
|
6154
|
+
data: z.array(zProductionJobScopePriceResponseObject)
|
|
6162
6155
|
});
|
|
6163
6156
|
export const zCreateJobScopePriceBody = zProductionJobScopePriceParameters;
|
|
6164
6157
|
export const zCreateJobScopePricePath = z.object({
|
|
@@ -6213,9 +6206,9 @@ export const zListRateRuleHistoryQuery = z.object({
|
|
|
6213
6206
|
* Success
|
|
6214
6207
|
*/
|
|
6215
6208
|
export const zListRateRuleHistoryResponse = z.object({
|
|
6216
|
-
meta: zMeta
|
|
6217
|
-
links: zLinks
|
|
6218
|
-
data: z.array(zRateRuleHistoryVersionObject)
|
|
6209
|
+
meta: zMeta,
|
|
6210
|
+
links: zLinks,
|
|
6211
|
+
data: z.array(zRateRuleHistoryVersionObject)
|
|
6219
6212
|
});
|
|
6220
6213
|
export const zListRateRulesPath = z.object({
|
|
6221
6214
|
job_id: z.string(),
|
|
@@ -6232,9 +6225,9 @@ export const zListRateRulesQuery = z.object({
|
|
|
6232
6225
|
* Success
|
|
6233
6226
|
*/
|
|
6234
6227
|
export const zListRateRulesResponse = z.object({
|
|
6235
|
-
meta: zMeta
|
|
6236
|
-
links: zLinks
|
|
6237
|
-
data: z.array(zRateRuleResponseObject)
|
|
6228
|
+
meta: zMeta,
|
|
6229
|
+
links: zLinks,
|
|
6230
|
+
data: z.array(zRateRuleResponseObject)
|
|
6238
6231
|
});
|
|
6239
6232
|
export const zCreateRateRuleBody = zRateRuleParameters;
|
|
6240
6233
|
export const zCreateRateRulePath = z.object({
|
|
@@ -6268,9 +6261,9 @@ export const zListJobWageDeterminationHistoryQuery = z.object({
|
|
|
6268
6261
|
* Success
|
|
6269
6262
|
*/
|
|
6270
6263
|
export const zListJobWageDeterminationHistoryResponse = z.object({
|
|
6271
|
-
meta: zMeta
|
|
6272
|
-
links: zLinks
|
|
6273
|
-
data: z.array(zJobWageDeterminationHistoryVersionObject)
|
|
6264
|
+
meta: zMeta,
|
|
6265
|
+
links: zLinks,
|
|
6266
|
+
data: z.array(zJobWageDeterminationHistoryVersionObject)
|
|
6274
6267
|
});
|
|
6275
6268
|
export const zListJobWageDeterminationsPath = z.object({
|
|
6276
6269
|
job_id: z.string()
|
|
@@ -6286,9 +6279,9 @@ export const zListJobWageDeterminationsQuery = z.object({
|
|
|
6286
6279
|
* Success
|
|
6287
6280
|
*/
|
|
6288
6281
|
export const zListJobWageDeterminationsResponse = z.object({
|
|
6289
|
-
meta: zMeta
|
|
6290
|
-
links: zLinks
|
|
6291
|
-
data: z.array(zJobWageDeterminationResponseObject)
|
|
6282
|
+
meta: zMeta,
|
|
6283
|
+
links: zLinks,
|
|
6284
|
+
data: z.array(zJobWageDeterminationResponseObject)
|
|
6292
6285
|
});
|
|
6293
6286
|
export const zCreateWageDeterminationBody = zJobWageDeterminationParameters;
|
|
6294
6287
|
export const zCreateWageDeterminationPath = z.object({
|
|
@@ -6335,9 +6328,9 @@ export const zListJobsQuery = z.object({
|
|
|
6335
6328
|
* Success
|
|
6336
6329
|
*/
|
|
6337
6330
|
export const zListJobsResponse = z.object({
|
|
6338
|
-
meta: zMeta
|
|
6339
|
-
links: zLinks
|
|
6340
|
-
data: z.array(zJobResponseObject)
|
|
6331
|
+
meta: zMeta,
|
|
6332
|
+
links: zLinks,
|
|
6333
|
+
data: z.array(zJobResponseObject)
|
|
6341
6334
|
});
|
|
6342
6335
|
/**
|
|
6343
6336
|
* Create a job
|
|
@@ -6412,9 +6405,9 @@ export const zListPayPeriodsResponse = zPayPeriodsResponseObject;
|
|
|
6412
6405
|
* Success
|
|
6413
6406
|
*/
|
|
6414
6407
|
export const zListCompensationElementsResponse = z.object({
|
|
6415
|
-
meta: zMeta
|
|
6416
|
-
links: zLinks
|
|
6417
|
-
data: z.array(zCompensationElementResponseObject)
|
|
6408
|
+
meta: zMeta,
|
|
6409
|
+
links: zLinks,
|
|
6410
|
+
data: z.array(zCompensationElementResponseObject)
|
|
6418
6411
|
});
|
|
6419
6412
|
export const zGetCompensationElementPath = z.object({
|
|
6420
6413
|
id: z.string()
|
|
@@ -6434,9 +6427,9 @@ export const zListExternalMapHistoryQuery = z.object({
|
|
|
6434
6427
|
* Success
|
|
6435
6428
|
*/
|
|
6436
6429
|
export const zListExternalMapHistoryResponse = z.object({
|
|
6437
|
-
meta: zMeta
|
|
6438
|
-
links: zLinks
|
|
6439
|
-
data: z.array(zPayrollExternalMapHistoryVersionObject)
|
|
6430
|
+
meta: zMeta,
|
|
6431
|
+
links: zLinks,
|
|
6432
|
+
data: z.array(zPayrollExternalMapHistoryVersionObject)
|
|
6440
6433
|
});
|
|
6441
6434
|
export const zListExternalMapsQuery = z.object({
|
|
6442
6435
|
'filter[name]': z.string().optional(),
|
|
@@ -6457,9 +6450,9 @@ export const zListExternalMapsQuery = z.object({
|
|
|
6457
6450
|
* Success
|
|
6458
6451
|
*/
|
|
6459
6452
|
export const zListExternalMapsResponse = z.object({
|
|
6460
|
-
meta: zMeta
|
|
6461
|
-
links: zLinks
|
|
6462
|
-
data: z.array(zPayrollExternalMapResponseObject)
|
|
6453
|
+
meta: zMeta,
|
|
6454
|
+
links: zLinks,
|
|
6455
|
+
data: z.array(zPayrollExternalMapResponseObject)
|
|
6463
6456
|
});
|
|
6464
6457
|
export const zGetExternalMapPath = z.object({
|
|
6465
6458
|
id: z.string()
|
|
@@ -6485,9 +6478,9 @@ export const zListFringeBenefitPlansQuery = z.object({
|
|
|
6485
6478
|
* Success
|
|
6486
6479
|
*/
|
|
6487
6480
|
export const zListFringeBenefitPlansResponse = z.object({
|
|
6488
|
-
meta: zMeta
|
|
6489
|
-
links: zLinks
|
|
6490
|
-
data: z.array(zPayrollFringeBenefitPlanResponseObject)
|
|
6481
|
+
meta: zMeta,
|
|
6482
|
+
links: zLinks,
|
|
6483
|
+
data: z.array(zPayrollFringeBenefitPlanResponseObject)
|
|
6491
6484
|
});
|
|
6492
6485
|
export const zCreateFringeBenefitPlanBody = zPayrollFringeBenefitPlanParameters;
|
|
6493
6486
|
/**
|
|
@@ -6664,9 +6657,9 @@ export const zListPerDiemsQuery = z.object({
|
|
|
6664
6657
|
* Success
|
|
6665
6658
|
*/
|
|
6666
6659
|
export const zListPerDiemsResponse = z.object({
|
|
6667
|
-
meta: zMeta
|
|
6668
|
-
links: zLinks
|
|
6669
|
-
data: z.array(zPerDiemResponseObject)
|
|
6660
|
+
meta: zMeta,
|
|
6661
|
+
links: zLinks,
|
|
6662
|
+
data: z.array(zPerDiemResponseObject)
|
|
6670
6663
|
});
|
|
6671
6664
|
export const zCreatePerDiemBody = zPerDiemParameters;
|
|
6672
6665
|
/**
|
|
@@ -6704,9 +6697,9 @@ export const zListPositionFunctionsQuery = z.object({
|
|
|
6704
6697
|
* Success
|
|
6705
6698
|
*/
|
|
6706
6699
|
export const zListPositionFunctionsResponse = z.object({
|
|
6707
|
-
meta: zMeta
|
|
6708
|
-
links: zLinks
|
|
6709
|
-
data: z.array(zPositionFunctionResponseObject)
|
|
6700
|
+
meta: zMeta,
|
|
6701
|
+
links: zLinks,
|
|
6702
|
+
data: z.array(zPositionFunctionResponseObject)
|
|
6710
6703
|
});
|
|
6711
6704
|
export const zCreatePositionFunctionBody = zPositionFunctionParameters;
|
|
6712
6705
|
/**
|
|
@@ -6756,9 +6749,9 @@ export const zListCompletionsQuery = z.object({
|
|
|
6756
6749
|
* Success
|
|
6757
6750
|
*/
|
|
6758
6751
|
export const zListCompletionsResponse = z.object({
|
|
6759
|
-
meta: zMeta
|
|
6760
|
-
links: zLinks
|
|
6761
|
-
data: z.array(zProductionCompletionResponseObject)
|
|
6752
|
+
meta: zMeta,
|
|
6753
|
+
links: zLinks,
|
|
6754
|
+
data: z.array(zProductionCompletionResponseObject)
|
|
6762
6755
|
});
|
|
6763
6756
|
export const zCreateCompletionBody = zProductionCompletionParameters;
|
|
6764
6757
|
/**
|
|
@@ -6823,9 +6816,9 @@ export const zListProjectsQuery = z.object({
|
|
|
6823
6816
|
* Success
|
|
6824
6817
|
*/
|
|
6825
6818
|
export const zListProjectsResponse = z.object({
|
|
6826
|
-
meta: zMeta
|
|
6827
|
-
links: zLinks
|
|
6828
|
-
data: z.array(zProjectResponseObject)
|
|
6819
|
+
meta: zMeta,
|
|
6820
|
+
links: zLinks,
|
|
6821
|
+
data: z.array(zProjectResponseObject)
|
|
6829
6822
|
});
|
|
6830
6823
|
export const zCreateProjectBody = zProjectParameters;
|
|
6831
6824
|
/**
|
|
@@ -6877,9 +6870,9 @@ export const zListTradesQuery = z.object({
|
|
|
6877
6870
|
* Success
|
|
6878
6871
|
*/
|
|
6879
6872
|
export const zListTradesResponse = z.object({
|
|
6880
|
-
meta: zMeta
|
|
6881
|
-
links: zLinks
|
|
6882
|
-
data: z.array(zPwaTradeResponseObject)
|
|
6873
|
+
meta: zMeta,
|
|
6874
|
+
links: zLinks,
|
|
6875
|
+
data: z.array(zPwaTradeResponseObject)
|
|
6883
6876
|
});
|
|
6884
6877
|
export const zGetTradePath = z.object({
|
|
6885
6878
|
id: z.string()
|
|
@@ -6999,9 +6992,9 @@ export const zListTemplatesQuery = z.object({
|
|
|
6999
6992
|
* Success
|
|
7000
6993
|
*/
|
|
7001
6994
|
export const zListTemplatesResponse = z.object({
|
|
7002
|
-
meta: zMeta
|
|
7003
|
-
links: zLinks
|
|
7004
|
-
data: z.array(zJobTemplateResponseObject)
|
|
6995
|
+
meta: zMeta,
|
|
6996
|
+
links: zLinks,
|
|
6997
|
+
data: z.array(zJobTemplateResponseObject)
|
|
7005
6998
|
});
|
|
7006
6999
|
export const zSetTimeCardLockBody = zTimeCardLockParameters;
|
|
7007
7000
|
export const zSetTimeCardLockPath = z.object({
|
|
@@ -7031,9 +7024,9 @@ export const zListTimeCardPerDiemsQuery = z.object({
|
|
|
7031
7024
|
* Success
|
|
7032
7025
|
*/
|
|
7033
7026
|
export const zListTimeCardPerDiemsResponse = z.object({
|
|
7034
|
-
meta: zMeta
|
|
7035
|
-
links: zLinks
|
|
7036
|
-
data: z.array(zTimeCardPerDiemResponseObject)
|
|
7027
|
+
meta: zMeta,
|
|
7028
|
+
links: zLinks,
|
|
7029
|
+
data: z.array(zTimeCardPerDiemResponseObject)
|
|
7037
7030
|
});
|
|
7038
7031
|
export const zCreateTimeCardPerDiemBody = zTimeCardPerDiemParameters;
|
|
7039
7032
|
export const zCreateTimeCardPerDiemPath = z.object({
|
|
@@ -7073,9 +7066,9 @@ export const zListPriorPeriodAdjustmentsQuery = z.object({
|
|
|
7073
7066
|
* Success
|
|
7074
7067
|
*/
|
|
7075
7068
|
export const zListPriorPeriodAdjustmentsResponse = z.object({
|
|
7076
|
-
meta: zMeta
|
|
7077
|
-
links: zLinks
|
|
7078
|
-
data: z.array(zPriorPeriodAdjustmentResponseObject)
|
|
7069
|
+
meta: zMeta,
|
|
7070
|
+
links: zLinks,
|
|
7071
|
+
data: z.array(zPriorPeriodAdjustmentResponseObject)
|
|
7079
7072
|
});
|
|
7080
7073
|
export const zGetPriorPeriodAdjustmentPath = z.object({
|
|
7081
7074
|
time_card_id: z.string(),
|
|
@@ -7156,7 +7149,7 @@ export const zListTimeEntriesQuery = z.object({
|
|
|
7156
7149
|
* Success
|
|
7157
7150
|
*/
|
|
7158
7151
|
export const zListTimeEntriesResponse = zTimeEntryIndexObject;
|
|
7159
|
-
export const zCreateTimeEntryBody =
|
|
7152
|
+
export const zCreateTimeEntryBody = zTimeEntryCreateParameters;
|
|
7160
7153
|
/**
|
|
7161
7154
|
* Created
|
|
7162
7155
|
*/
|
|
@@ -7168,7 +7161,7 @@ export const zDeleteTimeEntryPath = z.object({
|
|
|
7168
7161
|
* Success
|
|
7169
7162
|
*/
|
|
7170
7163
|
export const zDeleteTimeEntryResponse = zTimeEntryResponseObject;
|
|
7171
|
-
export const zUpdateTimeEntryBody =
|
|
7164
|
+
export const zUpdateTimeEntryBody = zTimeEntryUpdateParameters;
|
|
7172
7165
|
export const zUpdateTimeEntryPath = z.object({
|
|
7173
7166
|
id: z.string()
|
|
7174
7167
|
});
|
|
@@ -7198,9 +7191,9 @@ export const zListTimecodeHistoryQuery = z.object({
|
|
|
7198
7191
|
* Success
|
|
7199
7192
|
*/
|
|
7200
7193
|
export const zListTimecodeHistoryResponse = z.object({
|
|
7201
|
-
meta: zMeta
|
|
7202
|
-
links: zLinks
|
|
7203
|
-
data: z.array(zTimecodeHistoryVersionObject)
|
|
7194
|
+
meta: zMeta,
|
|
7195
|
+
links: zLinks,
|
|
7196
|
+
data: z.array(zTimecodeHistoryVersionObject)
|
|
7204
7197
|
});
|
|
7205
7198
|
export const zCancelTimecodeScheduledChangesHeaders = z.object({
|
|
7206
7199
|
'If-Match': z.string()
|
|
@@ -7271,9 +7264,9 @@ export const zListTimecodesQuery = z.object({
|
|
|
7271
7264
|
* Success
|
|
7272
7265
|
*/
|
|
7273
7266
|
export const zListTimecodesResponse = z.object({
|
|
7274
|
-
meta: zMeta
|
|
7275
|
-
links: zLinks
|
|
7276
|
-
data: z.array(zTimecodeResponseObject)
|
|
7267
|
+
meta: zMeta,
|
|
7268
|
+
links: zLinks,
|
|
7269
|
+
data: z.array(zTimecodeResponseObject)
|
|
7277
7270
|
});
|
|
7278
7271
|
export const zCreateTimecodeBody = zTimecodeParameters;
|
|
7279
7272
|
/**
|
|
@@ -7344,9 +7337,9 @@ export const zListAttestationConfigsPath = z.object({
|
|
|
7344
7337
|
* Success
|
|
7345
7338
|
*/
|
|
7346
7339
|
export const zListAttestationConfigsResponse = z.object({
|
|
7347
|
-
meta: zMeta
|
|
7348
|
-
links: zLinks
|
|
7349
|
-
data: z.array(zAttestationConfigResponseObject)
|
|
7340
|
+
meta: zMeta,
|
|
7341
|
+
links: zLinks,
|
|
7342
|
+
data: z.array(zAttestationConfigResponseObject)
|
|
7350
7343
|
});
|
|
7351
7344
|
export const zCreateAttestationConfigBody = zAttestationConfigParameters;
|
|
7352
7345
|
export const zCreateAttestationConfigPath = z.object({
|
|
@@ -7382,9 +7375,9 @@ export const zListPayPeriodConfigHistoryQuery = z.object({
|
|
|
7382
7375
|
* Success
|
|
7383
7376
|
*/
|
|
7384
7377
|
export const zListPayPeriodConfigHistoryResponse = z.object({
|
|
7385
|
-
meta: zMeta
|
|
7386
|
-
links: zLinks
|
|
7387
|
-
data: z.array(zPayPeriodConfigHistoryVersionObject)
|
|
7378
|
+
meta: zMeta,
|
|
7379
|
+
links: zLinks,
|
|
7380
|
+
data: z.array(zPayPeriodConfigHistoryVersionObject)
|
|
7388
7381
|
});
|
|
7389
7382
|
export const zListHolidaysPath = z.object({
|
|
7390
7383
|
pay_period_config_id: z.string()
|
|
@@ -7406,9 +7399,9 @@ export const zListHolidaysQuery = z.object({
|
|
|
7406
7399
|
* Success
|
|
7407
7400
|
*/
|
|
7408
7401
|
export const zListHolidaysResponse = z.object({
|
|
7409
|
-
meta: zMeta
|
|
7410
|
-
links: zLinks
|
|
7411
|
-
data: z.array(zHolidayResponseObject)
|
|
7402
|
+
meta: zMeta,
|
|
7403
|
+
links: zLinks,
|
|
7404
|
+
data: z.array(zHolidayResponseObject)
|
|
7412
7405
|
});
|
|
7413
7406
|
export const zCreateHolidayBody = zHolidayParameters;
|
|
7414
7407
|
export const zCreateHolidayPath = z.object({
|
|
@@ -7449,9 +7442,9 @@ export const zListPayPeriodConfigsQuery = z.object({
|
|
|
7449
7442
|
* Success
|
|
7450
7443
|
*/
|
|
7451
7444
|
export const zListPayPeriodConfigsResponse = z.object({
|
|
7452
|
-
meta: zMeta
|
|
7453
|
-
links: zLinks
|
|
7454
|
-
data: z.array(zPayPeriodConfigResponseObject)
|
|
7445
|
+
meta: zMeta,
|
|
7446
|
+
links: zLinks,
|
|
7447
|
+
data: z.array(zPayPeriodConfigResponseObject)
|
|
7455
7448
|
});
|
|
7456
7449
|
export const zGetPayPeriodConfigPath = z.object({
|
|
7457
7450
|
id: z.string()
|
|
@@ -7479,9 +7472,9 @@ export const zListTimeCardActualsQuery = z.object({
|
|
|
7479
7472
|
* Success
|
|
7480
7473
|
*/
|
|
7481
7474
|
export const zListTimeCardActualsResponse = z.object({
|
|
7482
|
-
meta: zMeta
|
|
7483
|
-
links: zLinks
|
|
7484
|
-
data: z.array(zTimeCardActualsResponseObject)
|
|
7475
|
+
meta: zMeta,
|
|
7476
|
+
links: zLinks,
|
|
7477
|
+
data: z.array(zTimeCardActualsResponseObject)
|
|
7485
7478
|
});
|
|
7486
7479
|
export const zGetTimeCardActualPath = z.object({
|
|
7487
7480
|
id: z.string()
|
|
@@ -7503,9 +7496,9 @@ export const zListUserRolesQuery = z.object({
|
|
|
7503
7496
|
* Success
|
|
7504
7497
|
*/
|
|
7505
7498
|
export const zListUserRolesResponse = z.object({
|
|
7506
|
-
meta: zMeta
|
|
7507
|
-
links: zLinks
|
|
7508
|
-
data: z.array(zUserRoleResponse)
|
|
7499
|
+
meta: zMeta,
|
|
7500
|
+
links: zLinks,
|
|
7501
|
+
data: z.array(zUserRoleResponse)
|
|
7509
7502
|
});
|
|
7510
7503
|
export const zAddUserRolesBody = zUserRoleRequest;
|
|
7511
7504
|
/**
|
|
@@ -7621,9 +7614,9 @@ export const zListUsersQuery = z.object({
|
|
|
7621
7614
|
* Success
|
|
7622
7615
|
*/
|
|
7623
7616
|
export const zListUsersResponse = z.object({
|
|
7624
|
-
meta: zMeta
|
|
7625
|
-
links: zLinks
|
|
7626
|
-
data: z.array(zUserResponseObject)
|
|
7617
|
+
meta: zMeta,
|
|
7618
|
+
links: zLinks,
|
|
7619
|
+
data: z.array(zUserResponseObject)
|
|
7627
7620
|
});
|
|
7628
7621
|
/**
|
|
7629
7622
|
* Create a user
|
|
@@ -7694,7 +7687,7 @@ export const zListWorkTypesQuery = z.object({
|
|
|
7694
7687
|
* Success
|
|
7695
7688
|
*/
|
|
7696
7689
|
export const zListWorkTypesResponse = z.object({
|
|
7697
|
-
meta: zMeta
|
|
7698
|
-
links: zLinks
|
|
7699
|
-
data: z.array(zWorkTypeResponseObject)
|
|
7690
|
+
meta: zMeta,
|
|
7691
|
+
links: zLinks,
|
|
7692
|
+
data: z.array(zWorkTypeResponseObject)
|
|
7700
7693
|
});
|