@dsptch-work/api-client 0.4.0 → 0.6.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 +65 -0
- package/README.md +1 -1
- package/dist/gen/index.d.ts +1 -1
- package/dist/gen/sdk.gen.d.ts +2 -0
- package/dist/gen/sdk.gen.js +2 -0
- package/dist/gen/types.gen.d.ts +145 -36
- package/dist/gen/zod.gen.d.ts +271 -91
- package/dist/gen/zod.gen.js +151 -34
- package/package.json +4 -1
package/dist/gen/zod.gen.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ export declare const zProblem: z.ZodObject<{
|
|
|
7
7
|
title: z.ZodString;
|
|
8
8
|
status: z.ZodInt;
|
|
9
9
|
detail: z.ZodString;
|
|
10
|
+
instance: z.ZodOptional<z.ZodURL>;
|
|
10
11
|
}, z.core.$strip>;
|
|
11
12
|
/**
|
|
12
13
|
* Error types
|
|
@@ -146,6 +147,20 @@ export declare const zProblem: z.ZodObject<{
|
|
|
146
147
|
*
|
|
147
148
|
* Cancelling this timecode's scheduled termination would silently discard changes recorded since it was terminated. Re-read the timecode and reconcile before retrying.
|
|
148
149
|
*
|
|
150
|
+
* ### version_overlap
|
|
151
|
+
*
|
|
152
|
+
* **Version Overlap**
|
|
153
|
+
*
|
|
154
|
+
* The write conflicts with what is already recorded for the resource — another version occupies the same span, or the write contradicts the resource's recorded identity. Re-read the current state and retry on top of it.
|
|
155
|
+
*
|
|
156
|
+
* ## 412
|
|
157
|
+
*
|
|
158
|
+
* ### precondition_failed
|
|
159
|
+
*
|
|
160
|
+
* **Precondition Failed**
|
|
161
|
+
*
|
|
162
|
+
* The `If-Match` validator names a version of this resource that is no longer current — the version family changed after you read it. Re-read the resource, take its fresh `ETag`, and reapply your change on top of the current state. A malformed or unrecognizable validator refuses the same way, since neither matches.
|
|
163
|
+
*
|
|
149
164
|
* ## 422
|
|
150
165
|
*
|
|
151
166
|
* ### attachment_not_image
|
|
@@ -250,6 +265,14 @@ export declare const zProblem: z.ZodObject<{
|
|
|
250
265
|
*
|
|
251
266
|
* The apprentice's wage schedule does not belong to the program in the URL. Use a schedule from that program.
|
|
252
267
|
*
|
|
268
|
+
* ## 428
|
|
269
|
+
*
|
|
270
|
+
* ### precondition_required
|
|
271
|
+
*
|
|
272
|
+
* **Precondition Required**
|
|
273
|
+
*
|
|
274
|
+
* The write must state which version of the resource it was composed against, and no `If-Match` was sent. Read the resource, send its `ETag` back as `If-Match`, or send `If-Match: *` to write unconditionally against whatever exists.
|
|
275
|
+
*
|
|
253
276
|
* ## 429
|
|
254
277
|
*
|
|
255
278
|
* ### too_many_requests
|
|
@@ -288,6 +311,8 @@ export declare const zProblemTypeCatalog: z.ZodEnum<{
|
|
|
288
311
|
insufficient_api_key_scope: "insufficient_api_key_scope";
|
|
289
312
|
not_found: "not_found";
|
|
290
313
|
recorded_since_termination: "recorded_since_termination";
|
|
314
|
+
version_overlap: "version_overlap";
|
|
315
|
+
precondition_failed: "precondition_failed";
|
|
291
316
|
attachment_not_image: "attachment_not_image";
|
|
292
317
|
company_not_employer: "company_not_employer";
|
|
293
318
|
confirm_apprenticeship_conflict: "confirm_apprenticeship_conflict";
|
|
@@ -305,6 +330,7 @@ export declare const zProblemTypeCatalog: z.ZodEnum<{
|
|
|
305
330
|
user_not_company_member: "user_not_company_member";
|
|
306
331
|
validation_failed: "validation_failed";
|
|
307
332
|
wage_schedule_outside_program: "wage_schedule_outside_program";
|
|
333
|
+
precondition_required: "precondition_required";
|
|
308
334
|
too_many_requests: "too_many_requests";
|
|
309
335
|
internal_error: "internal_error";
|
|
310
336
|
}>;
|
|
@@ -1760,6 +1786,11 @@ export declare const zJobParameters: z.ZodObject<{
|
|
|
1760
1786
|
tz_name: z.ZodOptional<z.ZodString>;
|
|
1761
1787
|
time_card_start_day: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>, z.ZodLiteral<6>]>>;
|
|
1762
1788
|
require_clock_in: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1789
|
+
clock_in_requirement: z.ZodOptional<z.ZodEnum<{
|
|
1790
|
+
none: "none";
|
|
1791
|
+
warning: "warning";
|
|
1792
|
+
required: "required";
|
|
1793
|
+
}>>;
|
|
1763
1794
|
send_geofence_reminders: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1764
1795
|
allow_customer_access: z.ZodOptional<z.ZodBoolean>;
|
|
1765
1796
|
timekeeping_timecode_ids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
@@ -1833,6 +1864,11 @@ export declare const zJobUpdateParameters: z.ZodIntersection<z.ZodObject<{
|
|
|
1833
1864
|
tz_name: z.ZodOptional<z.ZodString>;
|
|
1834
1865
|
time_card_start_day: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>, z.ZodLiteral<6>]>>;
|
|
1835
1866
|
require_clock_in: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1867
|
+
clock_in_requirement: z.ZodOptional<z.ZodEnum<{
|
|
1868
|
+
none: "none";
|
|
1869
|
+
warning: "warning";
|
|
1870
|
+
required: "required";
|
|
1871
|
+
}>>;
|
|
1836
1872
|
send_geofence_reminders: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1837
1873
|
allow_customer_access: z.ZodOptional<z.ZodBoolean>;
|
|
1838
1874
|
timekeeping_timecode_ids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
@@ -3113,8 +3149,8 @@ export declare const zUserCertificationParameters: z.ZodObject<{
|
|
|
3113
3149
|
certification_id: z.ZodString;
|
|
3114
3150
|
received_at: z.ZodISODateTime;
|
|
3115
3151
|
file: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3116
|
-
name: z.
|
|
3117
|
-
content: z.
|
|
3152
|
+
name: z.ZodString;
|
|
3153
|
+
content: z.ZodString;
|
|
3118
3154
|
}, z.core.$strip>>>;
|
|
3119
3155
|
verified: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
3120
3156
|
expiration_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
|
|
@@ -3167,7 +3203,12 @@ export declare const zJobResponseObject: z.ZodObject<{
|
|
|
3167
3203
|
purchase_order_number: z.ZodNullable<z.ZodString>;
|
|
3168
3204
|
time_card_start_day: z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>, z.ZodLiteral<6>]>;
|
|
3169
3205
|
tz_name: z.ZodString;
|
|
3170
|
-
require_clock_in: z.
|
|
3206
|
+
require_clock_in: z.ZodBoolean;
|
|
3207
|
+
clock_in_requirement: z.ZodEnum<{
|
|
3208
|
+
none: "none";
|
|
3209
|
+
warning: "warning";
|
|
3210
|
+
required: "required";
|
|
3211
|
+
}>;
|
|
3171
3212
|
name: z.ZodNullable<z.ZodString>;
|
|
3172
3213
|
federal_pwa_mode: z.ZodEnum<{
|
|
3173
3214
|
none: "none";
|
|
@@ -4962,7 +5003,7 @@ export declare const zAssetsVendorParameters: z.ZodObject<{
|
|
|
4962
5003
|
logo_signed_id: z.ZodOptional<z.ZodString>;
|
|
4963
5004
|
}, z.core.$strip>;
|
|
4964
5005
|
/**
|
|
4965
|
-
* A
|
|
5006
|
+
* A location that holds a company's assets and inventory — a warehouse or yard, optionally backed by a site on the Atlas map.
|
|
4966
5007
|
*/
|
|
4967
5008
|
export declare const zAssetsSiteResponseObject: z.ZodObject<{
|
|
4968
5009
|
id: z.ZodString;
|
|
@@ -4971,10 +5012,6 @@ export declare const zAssetsSiteResponseObject: z.ZodObject<{
|
|
|
4971
5012
|
kind: z.ZodEnum<{
|
|
4972
5013
|
warehouse: "warehouse";
|
|
4973
5014
|
yard: "yard";
|
|
4974
|
-
trailer: "trailer";
|
|
4975
|
-
truck: "truck";
|
|
4976
|
-
van: "van";
|
|
4977
|
-
conex: "conex";
|
|
4978
5015
|
}>;
|
|
4979
5016
|
name: z.ZodString;
|
|
4980
5017
|
site_type: z.ZodNullable<z.ZodString>;
|
|
@@ -4982,31 +5019,25 @@ export declare const zAssetsSiteResponseObject: z.ZodObject<{
|
|
|
4982
5019
|
updated_at: z.ZodISODateTime;
|
|
4983
5020
|
}, z.core.$strip>;
|
|
4984
5021
|
export declare const zAssetsSiteParameters: z.ZodIntersection<z.ZodUnion<readonly [z.ZodObject<{
|
|
4985
|
-
kind: z.ZodEnum<{
|
|
4986
|
-
warehouse: "warehouse";
|
|
4987
|
-
yard: "yard";
|
|
4988
|
-
}>;
|
|
4989
5022
|
site_id: z.ZodString;
|
|
4990
5023
|
}, z.core.$strip>, z.ZodObject<{
|
|
4991
|
-
kind: z.ZodEnum<{
|
|
4992
|
-
trailer: "trailer";
|
|
4993
|
-
truck: "truck";
|
|
4994
|
-
van: "van";
|
|
4995
|
-
conex: "conex";
|
|
4996
|
-
}>;
|
|
4997
5024
|
name: z.ZodString;
|
|
4998
5025
|
}, z.core.$strip>]>, z.ZodObject<{
|
|
4999
5026
|
kind: z.ZodEnum<{
|
|
5000
5027
|
warehouse: "warehouse";
|
|
5001
5028
|
yard: "yard";
|
|
5002
|
-
trailer: "trailer";
|
|
5003
|
-
truck: "truck";
|
|
5004
|
-
van: "van";
|
|
5005
|
-
conex: "conex";
|
|
5006
5029
|
}>;
|
|
5007
5030
|
site_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5008
5031
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5009
5032
|
}, z.core.$strip>>;
|
|
5033
|
+
export declare const zAssetsSiteUpdateParameters: z.ZodObject<{
|
|
5034
|
+
kind: z.ZodOptional<z.ZodEnum<{
|
|
5035
|
+
warehouse: "warehouse";
|
|
5036
|
+
yard: "yard";
|
|
5037
|
+
}>>;
|
|
5038
|
+
site_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5039
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5040
|
+
}, z.core.$strip>;
|
|
5010
5041
|
/**
|
|
5011
5042
|
* A company-level rule that auto-generates asset form assignments. When an item of one of its products changes custody (an assignment or unassignment), the rule creates or refreshes a form task for the chosen users, due on the configured schedule.
|
|
5012
5043
|
*/
|
|
@@ -5375,7 +5406,44 @@ export declare const zAssetsItemFormAssignmentParameters: z.ZodObject<{
|
|
|
5375
5406
|
recurrence_end_time: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
5376
5407
|
task_assignee_user_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5377
5408
|
reminders_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5378
|
-
offset: z.
|
|
5409
|
+
offset: z.ZodEnum<{
|
|
5410
|
+
PT0S: "PT0S";
|
|
5411
|
+
"PT-1M": "PT-1M";
|
|
5412
|
+
"PT-5M": "PT-5M";
|
|
5413
|
+
"PT-10M": "PT-10M";
|
|
5414
|
+
"PT-15M": "PT-15M";
|
|
5415
|
+
"PT-30M": "PT-30M";
|
|
5416
|
+
"PT-1H": "PT-1H";
|
|
5417
|
+
"PT-2H": "PT-2H";
|
|
5418
|
+
"P-1D": "P-1D";
|
|
5419
|
+
"P-2D": "P-2D";
|
|
5420
|
+
"P-3D": "P-3D";
|
|
5421
|
+
"P-4D": "P-4D";
|
|
5422
|
+
"P-5D": "P-5D";
|
|
5423
|
+
"P-6D": "P-6D";
|
|
5424
|
+
"P-1W": "P-1W";
|
|
5425
|
+
"P-2W": "P-2W";
|
|
5426
|
+
"P-1M": "P-1M";
|
|
5427
|
+
"P-2M": "P-2M";
|
|
5428
|
+
"P-3M": "P-3M";
|
|
5429
|
+
"P-6M": "P-6M";
|
|
5430
|
+
"P-1Y": "P-1Y";
|
|
5431
|
+
PT5M: "PT5M";
|
|
5432
|
+
PT15M: "PT15M";
|
|
5433
|
+
PT30M: "PT30M";
|
|
5434
|
+
PT1H: "PT1H";
|
|
5435
|
+
PT6H: "PT6H";
|
|
5436
|
+
PT12H: "PT12H";
|
|
5437
|
+
P1D: "P1D";
|
|
5438
|
+
P2D: "P2D";
|
|
5439
|
+
P3D: "P3D";
|
|
5440
|
+
P4D: "P4D";
|
|
5441
|
+
P5D: "P5D";
|
|
5442
|
+
P6D: "P6D";
|
|
5443
|
+
P1W: "P1W";
|
|
5444
|
+
P2W: "P2W";
|
|
5445
|
+
P3W: "P3W";
|
|
5446
|
+
}>;
|
|
5379
5447
|
}, z.core.$strip>>>;
|
|
5380
5448
|
}, z.core.$strip>;
|
|
5381
5449
|
}, z.core.$strip>;
|
|
@@ -8268,7 +8336,44 @@ export declare const zCreateItemFormAssignmentTaskBody: z.ZodObject<{
|
|
|
8268
8336
|
recurrence_end_time: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
8269
8337
|
task_assignee_user_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
8270
8338
|
reminders_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8271
|
-
offset: z.
|
|
8339
|
+
offset: z.ZodEnum<{
|
|
8340
|
+
PT0S: "PT0S";
|
|
8341
|
+
"PT-1M": "PT-1M";
|
|
8342
|
+
"PT-5M": "PT-5M";
|
|
8343
|
+
"PT-10M": "PT-10M";
|
|
8344
|
+
"PT-15M": "PT-15M";
|
|
8345
|
+
"PT-30M": "PT-30M";
|
|
8346
|
+
"PT-1H": "PT-1H";
|
|
8347
|
+
"PT-2H": "PT-2H";
|
|
8348
|
+
"P-1D": "P-1D";
|
|
8349
|
+
"P-2D": "P-2D";
|
|
8350
|
+
"P-3D": "P-3D";
|
|
8351
|
+
"P-4D": "P-4D";
|
|
8352
|
+
"P-5D": "P-5D";
|
|
8353
|
+
"P-6D": "P-6D";
|
|
8354
|
+
"P-1W": "P-1W";
|
|
8355
|
+
"P-2W": "P-2W";
|
|
8356
|
+
"P-1M": "P-1M";
|
|
8357
|
+
"P-2M": "P-2M";
|
|
8358
|
+
"P-3M": "P-3M";
|
|
8359
|
+
"P-6M": "P-6M";
|
|
8360
|
+
"P-1Y": "P-1Y";
|
|
8361
|
+
PT5M: "PT5M";
|
|
8362
|
+
PT15M: "PT15M";
|
|
8363
|
+
PT30M: "PT30M";
|
|
8364
|
+
PT1H: "PT1H";
|
|
8365
|
+
PT6H: "PT6H";
|
|
8366
|
+
PT12H: "PT12H";
|
|
8367
|
+
P1D: "P1D";
|
|
8368
|
+
P2D: "P2D";
|
|
8369
|
+
P3D: "P3D";
|
|
8370
|
+
P4D: "P4D";
|
|
8371
|
+
P5D: "P5D";
|
|
8372
|
+
P6D: "P6D";
|
|
8373
|
+
P1W: "P1W";
|
|
8374
|
+
P2W: "P2W";
|
|
8375
|
+
P3W: "P3W";
|
|
8376
|
+
}>;
|
|
8272
8377
|
}, z.core.$strip>>>;
|
|
8273
8378
|
}, z.core.$strip>;
|
|
8274
8379
|
}, z.core.$strip>;
|
|
@@ -8355,7 +8460,44 @@ export declare const zUpdateFormAssignmentTaskBody: z.ZodObject<{
|
|
|
8355
8460
|
recurrence_end_time: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
8356
8461
|
task_assignee_user_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
8357
8462
|
reminders_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8358
|
-
offset: z.
|
|
8463
|
+
offset: z.ZodEnum<{
|
|
8464
|
+
PT0S: "PT0S";
|
|
8465
|
+
"PT-1M": "PT-1M";
|
|
8466
|
+
"PT-5M": "PT-5M";
|
|
8467
|
+
"PT-10M": "PT-10M";
|
|
8468
|
+
"PT-15M": "PT-15M";
|
|
8469
|
+
"PT-30M": "PT-30M";
|
|
8470
|
+
"PT-1H": "PT-1H";
|
|
8471
|
+
"PT-2H": "PT-2H";
|
|
8472
|
+
"P-1D": "P-1D";
|
|
8473
|
+
"P-2D": "P-2D";
|
|
8474
|
+
"P-3D": "P-3D";
|
|
8475
|
+
"P-4D": "P-4D";
|
|
8476
|
+
"P-5D": "P-5D";
|
|
8477
|
+
"P-6D": "P-6D";
|
|
8478
|
+
"P-1W": "P-1W";
|
|
8479
|
+
"P-2W": "P-2W";
|
|
8480
|
+
"P-1M": "P-1M";
|
|
8481
|
+
"P-2M": "P-2M";
|
|
8482
|
+
"P-3M": "P-3M";
|
|
8483
|
+
"P-6M": "P-6M";
|
|
8484
|
+
"P-1Y": "P-1Y";
|
|
8485
|
+
PT5M: "PT5M";
|
|
8486
|
+
PT15M: "PT15M";
|
|
8487
|
+
PT30M: "PT30M";
|
|
8488
|
+
PT1H: "PT1H";
|
|
8489
|
+
PT6H: "PT6H";
|
|
8490
|
+
PT12H: "PT12H";
|
|
8491
|
+
P1D: "P1D";
|
|
8492
|
+
P2D: "P2D";
|
|
8493
|
+
P3D: "P3D";
|
|
8494
|
+
P4D: "P4D";
|
|
8495
|
+
P5D: "P5D";
|
|
8496
|
+
P6D: "P6D";
|
|
8497
|
+
P1W: "P1W";
|
|
8498
|
+
P2W: "P2W";
|
|
8499
|
+
P3W: "P3W";
|
|
8500
|
+
}>;
|
|
8359
8501
|
}, z.core.$strip>>>;
|
|
8360
8502
|
}, z.core.$strip>;
|
|
8361
8503
|
}, z.core.$strip>;
|
|
@@ -9233,10 +9375,6 @@ export declare const zListAssetsSitesResponse: z.ZodObject<{
|
|
|
9233
9375
|
kind: z.ZodEnum<{
|
|
9234
9376
|
warehouse: "warehouse";
|
|
9235
9377
|
yard: "yard";
|
|
9236
|
-
trailer: "trailer";
|
|
9237
|
-
truck: "truck";
|
|
9238
|
-
van: "van";
|
|
9239
|
-
conex: "conex";
|
|
9240
9378
|
}>;
|
|
9241
9379
|
name: z.ZodString;
|
|
9242
9380
|
site_type: z.ZodNullable<z.ZodString>;
|
|
@@ -9245,27 +9383,13 @@ export declare const zListAssetsSitesResponse: z.ZodObject<{
|
|
|
9245
9383
|
}, z.core.$strip>>>;
|
|
9246
9384
|
}, z.core.$strip>;
|
|
9247
9385
|
export declare const zCreateSiteBody: z.ZodIntersection<z.ZodUnion<readonly [z.ZodObject<{
|
|
9248
|
-
kind: z.ZodEnum<{
|
|
9249
|
-
warehouse: "warehouse";
|
|
9250
|
-
yard: "yard";
|
|
9251
|
-
}>;
|
|
9252
9386
|
site_id: z.ZodString;
|
|
9253
9387
|
}, z.core.$strip>, z.ZodObject<{
|
|
9254
|
-
kind: z.ZodEnum<{
|
|
9255
|
-
trailer: "trailer";
|
|
9256
|
-
truck: "truck";
|
|
9257
|
-
van: "van";
|
|
9258
|
-
conex: "conex";
|
|
9259
|
-
}>;
|
|
9260
9388
|
name: z.ZodString;
|
|
9261
9389
|
}, z.core.$strip>]>, z.ZodObject<{
|
|
9262
9390
|
kind: z.ZodEnum<{
|
|
9263
9391
|
warehouse: "warehouse";
|
|
9264
9392
|
yard: "yard";
|
|
9265
|
-
trailer: "trailer";
|
|
9266
|
-
truck: "truck";
|
|
9267
|
-
van: "van";
|
|
9268
|
-
conex: "conex";
|
|
9269
9393
|
}>;
|
|
9270
9394
|
site_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9271
9395
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -9280,10 +9404,6 @@ export declare const zCreateSiteResponse: z.ZodObject<{
|
|
|
9280
9404
|
kind: z.ZodEnum<{
|
|
9281
9405
|
warehouse: "warehouse";
|
|
9282
9406
|
yard: "yard";
|
|
9283
|
-
trailer: "trailer";
|
|
9284
|
-
truck: "truck";
|
|
9285
|
-
van: "van";
|
|
9286
|
-
conex: "conex";
|
|
9287
9407
|
}>;
|
|
9288
9408
|
name: z.ZodString;
|
|
9289
9409
|
site_type: z.ZodNullable<z.ZodString>;
|
|
@@ -9303,10 +9423,6 @@ export declare const zDeleteSiteResponse: z.ZodObject<{
|
|
|
9303
9423
|
kind: z.ZodEnum<{
|
|
9304
9424
|
warehouse: "warehouse";
|
|
9305
9425
|
yard: "yard";
|
|
9306
|
-
trailer: "trailer";
|
|
9307
|
-
truck: "truck";
|
|
9308
|
-
van: "van";
|
|
9309
|
-
conex: "conex";
|
|
9310
9426
|
}>;
|
|
9311
9427
|
name: z.ZodString;
|
|
9312
9428
|
site_type: z.ZodNullable<z.ZodString>;
|
|
@@ -9326,42 +9442,20 @@ export declare const zGetAssetsSiteResponse: z.ZodObject<{
|
|
|
9326
9442
|
kind: z.ZodEnum<{
|
|
9327
9443
|
warehouse: "warehouse";
|
|
9328
9444
|
yard: "yard";
|
|
9329
|
-
trailer: "trailer";
|
|
9330
|
-
truck: "truck";
|
|
9331
|
-
van: "van";
|
|
9332
|
-
conex: "conex";
|
|
9333
9445
|
}>;
|
|
9334
9446
|
name: z.ZodString;
|
|
9335
9447
|
site_type: z.ZodNullable<z.ZodString>;
|
|
9336
9448
|
created_at: z.ZodISODateTime;
|
|
9337
9449
|
updated_at: z.ZodISODateTime;
|
|
9338
9450
|
}, z.core.$strip>;
|
|
9339
|
-
export declare const zUpdateSiteBody: z.
|
|
9340
|
-
kind: z.ZodEnum<{
|
|
9341
|
-
warehouse: "warehouse";
|
|
9342
|
-
yard: "yard";
|
|
9343
|
-
}>;
|
|
9344
|
-
site_id: z.ZodString;
|
|
9345
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
9346
|
-
kind: z.ZodEnum<{
|
|
9347
|
-
trailer: "trailer";
|
|
9348
|
-
truck: "truck";
|
|
9349
|
-
van: "van";
|
|
9350
|
-
conex: "conex";
|
|
9351
|
-
}>;
|
|
9352
|
-
name: z.ZodString;
|
|
9353
|
-
}, z.core.$strip>]>, z.ZodObject<{
|
|
9354
|
-
kind: z.ZodEnum<{
|
|
9451
|
+
export declare const zUpdateSiteBody: z.ZodObject<{
|
|
9452
|
+
kind: z.ZodOptional<z.ZodEnum<{
|
|
9355
9453
|
warehouse: "warehouse";
|
|
9356
9454
|
yard: "yard";
|
|
9357
|
-
|
|
9358
|
-
truck: "truck";
|
|
9359
|
-
van: "van";
|
|
9360
|
-
conex: "conex";
|
|
9361
|
-
}>;
|
|
9455
|
+
}>>;
|
|
9362
9456
|
site_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9363
9457
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9364
|
-
}, z.core.$strip
|
|
9458
|
+
}, z.core.$strip>;
|
|
9365
9459
|
export declare const zUpdateSitePath: z.ZodObject<{
|
|
9366
9460
|
id: z.ZodString;
|
|
9367
9461
|
}, z.core.$strip>;
|
|
@@ -9375,10 +9469,6 @@ export declare const zUpdateSiteResponse: z.ZodObject<{
|
|
|
9375
9469
|
kind: z.ZodEnum<{
|
|
9376
9470
|
warehouse: "warehouse";
|
|
9377
9471
|
yard: "yard";
|
|
9378
|
-
trailer: "trailer";
|
|
9379
|
-
truck: "truck";
|
|
9380
|
-
van: "van";
|
|
9381
|
-
conex: "conex";
|
|
9382
9472
|
}>;
|
|
9383
9473
|
name: z.ZodString;
|
|
9384
9474
|
site_type: z.ZodNullable<z.ZodString>;
|
|
@@ -10150,8 +10240,8 @@ export declare const zCreateUserCertificationBody: z.ZodObject<{
|
|
|
10150
10240
|
certification_id: z.ZodString;
|
|
10151
10241
|
received_at: z.ZodISODateTime;
|
|
10152
10242
|
file: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
10153
|
-
name: z.
|
|
10154
|
-
content: z.
|
|
10243
|
+
name: z.ZodString;
|
|
10244
|
+
content: z.ZodString;
|
|
10155
10245
|
}, z.core.$strip>>>;
|
|
10156
10246
|
verified: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
10157
10247
|
expiration_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
|
|
@@ -10231,8 +10321,8 @@ export declare const zUpdateUserCertificationBody: z.ZodObject<{
|
|
|
10231
10321
|
certification_id: z.ZodString;
|
|
10232
10322
|
received_at: z.ZodISODateTime;
|
|
10233
10323
|
file: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
10234
|
-
name: z.
|
|
10235
|
-
content: z.
|
|
10324
|
+
name: z.ZodString;
|
|
10325
|
+
content: z.ZodString;
|
|
10236
10326
|
}, z.core.$strip>>>;
|
|
10237
10327
|
verified: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
10238
10328
|
expiration_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
|
|
@@ -12059,6 +12149,9 @@ export declare const zCreateWageDeterminationResponse: z.ZodDiscriminatedUnion<[
|
|
|
12059
12149
|
updated_at: z.ZodISODateTime;
|
|
12060
12150
|
type: z.ZodLiteral<"Pwa::JobWageDeterminations::Regional">;
|
|
12061
12151
|
}, z.core.$strip>], "type">;
|
|
12152
|
+
export declare const zDeleteWageDeterminationHeaders: z.ZodObject<{
|
|
12153
|
+
'If-Match': z.ZodString;
|
|
12154
|
+
}, z.core.$strip>;
|
|
12062
12155
|
export declare const zDeleteWageDeterminationPath: z.ZodObject<{
|
|
12063
12156
|
job_id: z.ZodString;
|
|
12064
12157
|
uid: z.ZodString;
|
|
@@ -12189,7 +12282,12 @@ export declare const zListJobsResponse: z.ZodObject<{
|
|
|
12189
12282
|
purchase_order_number: z.ZodNullable<z.ZodString>;
|
|
12190
12283
|
time_card_start_day: z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>, z.ZodLiteral<6>]>;
|
|
12191
12284
|
tz_name: z.ZodString;
|
|
12192
|
-
require_clock_in: z.
|
|
12285
|
+
require_clock_in: z.ZodBoolean;
|
|
12286
|
+
clock_in_requirement: z.ZodEnum<{
|
|
12287
|
+
none: "none";
|
|
12288
|
+
warning: "warning";
|
|
12289
|
+
required: "required";
|
|
12290
|
+
}>;
|
|
12193
12291
|
name: z.ZodNullable<z.ZodString>;
|
|
12194
12292
|
federal_pwa_mode: z.ZodEnum<{
|
|
12195
12293
|
none: "none";
|
|
@@ -12306,6 +12404,11 @@ export declare const zCreateJobBody: z.ZodObject<{
|
|
|
12306
12404
|
tz_name: z.ZodOptional<z.ZodString>;
|
|
12307
12405
|
time_card_start_day: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>, z.ZodLiteral<6>]>>;
|
|
12308
12406
|
require_clock_in: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
12407
|
+
clock_in_requirement: z.ZodOptional<z.ZodEnum<{
|
|
12408
|
+
none: "none";
|
|
12409
|
+
warning: "warning";
|
|
12410
|
+
required: "required";
|
|
12411
|
+
}>>;
|
|
12309
12412
|
send_geofence_reminders: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
12310
12413
|
allow_customer_access: z.ZodOptional<z.ZodBoolean>;
|
|
12311
12414
|
timekeeping_timecode_ids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
@@ -12365,7 +12468,12 @@ export declare const zCreateJobResponse: z.ZodObject<{
|
|
|
12365
12468
|
purchase_order_number: z.ZodNullable<z.ZodString>;
|
|
12366
12469
|
time_card_start_day: z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>, z.ZodLiteral<6>]>;
|
|
12367
12470
|
tz_name: z.ZodString;
|
|
12368
|
-
require_clock_in: z.
|
|
12471
|
+
require_clock_in: z.ZodBoolean;
|
|
12472
|
+
clock_in_requirement: z.ZodEnum<{
|
|
12473
|
+
none: "none";
|
|
12474
|
+
warning: "warning";
|
|
12475
|
+
required: "required";
|
|
12476
|
+
}>;
|
|
12369
12477
|
name: z.ZodNullable<z.ZodString>;
|
|
12370
12478
|
federal_pwa_mode: z.ZodEnum<{
|
|
12371
12479
|
none: "none";
|
|
@@ -12470,7 +12578,12 @@ export declare const zGetJobResponse: z.ZodObject<{
|
|
|
12470
12578
|
purchase_order_number: z.ZodNullable<z.ZodString>;
|
|
12471
12579
|
time_card_start_day: z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>, z.ZodLiteral<6>]>;
|
|
12472
12580
|
tz_name: z.ZodString;
|
|
12473
|
-
require_clock_in: z.
|
|
12581
|
+
require_clock_in: z.ZodBoolean;
|
|
12582
|
+
clock_in_requirement: z.ZodEnum<{
|
|
12583
|
+
none: "none";
|
|
12584
|
+
warning: "warning";
|
|
12585
|
+
required: "required";
|
|
12586
|
+
}>;
|
|
12474
12587
|
name: z.ZodNullable<z.ZodString>;
|
|
12475
12588
|
federal_pwa_mode: z.ZodEnum<{
|
|
12476
12589
|
none: "none";
|
|
@@ -12583,6 +12696,11 @@ export declare const zUpdateJobBody: z.ZodIntersection<z.ZodObject<{
|
|
|
12583
12696
|
tz_name: z.ZodOptional<z.ZodString>;
|
|
12584
12697
|
time_card_start_day: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>, z.ZodLiteral<6>]>>;
|
|
12585
12698
|
require_clock_in: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
12699
|
+
clock_in_requirement: z.ZodOptional<z.ZodEnum<{
|
|
12700
|
+
none: "none";
|
|
12701
|
+
warning: "warning";
|
|
12702
|
+
required: "required";
|
|
12703
|
+
}>>;
|
|
12586
12704
|
send_geofence_reminders: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
12587
12705
|
allow_customer_access: z.ZodOptional<z.ZodBoolean>;
|
|
12588
12706
|
timekeeping_timecode_ids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
@@ -12651,7 +12769,12 @@ export declare const zUpdateJobResponse: z.ZodObject<{
|
|
|
12651
12769
|
purchase_order_number: z.ZodNullable<z.ZodString>;
|
|
12652
12770
|
time_card_start_day: z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>, z.ZodLiteral<6>]>;
|
|
12653
12771
|
tz_name: z.ZodString;
|
|
12654
|
-
require_clock_in: z.
|
|
12772
|
+
require_clock_in: z.ZodBoolean;
|
|
12773
|
+
clock_in_requirement: z.ZodEnum<{
|
|
12774
|
+
none: "none";
|
|
12775
|
+
warning: "warning";
|
|
12776
|
+
required: "required";
|
|
12777
|
+
}>;
|
|
12655
12778
|
name: z.ZodNullable<z.ZodString>;
|
|
12656
12779
|
federal_pwa_mode: z.ZodEnum<{
|
|
12657
12780
|
none: "none";
|
|
@@ -15109,11 +15232,56 @@ export declare const zCreateFormAssignmentTaskBody: z.ZodObject<{
|
|
|
15109
15232
|
created_by_user_id: z.ZodString;
|
|
15110
15233
|
time_due: z.ZodOptional<z.ZodString>;
|
|
15111
15234
|
tz_name: z.ZodOptional<z.ZodString>;
|
|
15112
|
-
frequency: z.ZodOptional<z.
|
|
15235
|
+
frequency: z.ZodOptional<z.ZodEnum<{
|
|
15236
|
+
DAILY: "DAILY";
|
|
15237
|
+
WORKDAILY: "WORKDAILY";
|
|
15238
|
+
WORKDAILYSIX: "WORKDAILYSIX";
|
|
15239
|
+
WEEKLY: "WEEKLY";
|
|
15240
|
+
BIWEEKLY: "BIWEEKLY";
|
|
15241
|
+
MONTHLY: "MONTHLY";
|
|
15242
|
+
QUARTERLY: "QUARTERLY";
|
|
15243
|
+
}>>;
|
|
15113
15244
|
recurrence_end_time: z.ZodOptional<z.ZodString>;
|
|
15114
15245
|
task_assignee_user_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
15115
15246
|
reminders_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
15116
|
-
offset: z.
|
|
15247
|
+
offset: z.ZodEnum<{
|
|
15248
|
+
PT0S: "PT0S";
|
|
15249
|
+
"PT-1M": "PT-1M";
|
|
15250
|
+
"PT-5M": "PT-5M";
|
|
15251
|
+
"PT-10M": "PT-10M";
|
|
15252
|
+
"PT-15M": "PT-15M";
|
|
15253
|
+
"PT-30M": "PT-30M";
|
|
15254
|
+
"PT-1H": "PT-1H";
|
|
15255
|
+
"PT-2H": "PT-2H";
|
|
15256
|
+
"P-1D": "P-1D";
|
|
15257
|
+
"P-2D": "P-2D";
|
|
15258
|
+
"P-3D": "P-3D";
|
|
15259
|
+
"P-4D": "P-4D";
|
|
15260
|
+
"P-5D": "P-5D";
|
|
15261
|
+
"P-6D": "P-6D";
|
|
15262
|
+
"P-1W": "P-1W";
|
|
15263
|
+
"P-2W": "P-2W";
|
|
15264
|
+
"P-1M": "P-1M";
|
|
15265
|
+
"P-2M": "P-2M";
|
|
15266
|
+
"P-3M": "P-3M";
|
|
15267
|
+
"P-6M": "P-6M";
|
|
15268
|
+
"P-1Y": "P-1Y";
|
|
15269
|
+
PT5M: "PT5M";
|
|
15270
|
+
PT15M: "PT15M";
|
|
15271
|
+
PT30M: "PT30M";
|
|
15272
|
+
PT1H: "PT1H";
|
|
15273
|
+
PT6H: "PT6H";
|
|
15274
|
+
PT12H: "PT12H";
|
|
15275
|
+
P1D: "P1D";
|
|
15276
|
+
P2D: "P2D";
|
|
15277
|
+
P3D: "P3D";
|
|
15278
|
+
P4D: "P4D";
|
|
15279
|
+
P5D: "P5D";
|
|
15280
|
+
P6D: "P6D";
|
|
15281
|
+
P1W: "P1W";
|
|
15282
|
+
P2W: "P2W";
|
|
15283
|
+
P3W: "P3W";
|
|
15284
|
+
}>;
|
|
15117
15285
|
}, z.core.$strip>>>;
|
|
15118
15286
|
}, z.core.$strip>;
|
|
15119
15287
|
}, z.core.$strip>;
|
|
@@ -16126,6 +16294,9 @@ export declare const zListTimecodeHistoryResponse: z.ZodObject<{
|
|
|
16126
16294
|
}, z.core.$strip>>;
|
|
16127
16295
|
}, z.core.$strip>>>;
|
|
16128
16296
|
}, z.core.$strip>;
|
|
16297
|
+
export declare const zCancelTimecodeScheduledChangesHeaders: z.ZodObject<{
|
|
16298
|
+
'If-Match': z.ZodString;
|
|
16299
|
+
}, z.core.$strip>;
|
|
16129
16300
|
export declare const zCancelTimecodeScheduledChangesPath: z.ZodObject<{
|
|
16130
16301
|
timecode_id: z.ZodString;
|
|
16131
16302
|
}, z.core.$strip>;
|
|
@@ -16221,6 +16392,9 @@ export declare const zScheduleTimecodeChangeBody: z.ZodObject<{
|
|
|
16221
16392
|
job_with_timecode: "job_with_timecode";
|
|
16222
16393
|
}>>;
|
|
16223
16394
|
}, z.core.$strip>;
|
|
16395
|
+
export declare const zScheduleTimecodeChangeHeaders: z.ZodObject<{
|
|
16396
|
+
'If-Match': z.ZodString;
|
|
16397
|
+
}, z.core.$strip>;
|
|
16224
16398
|
export declare const zScheduleTimecodeChangePath: z.ZodObject<{
|
|
16225
16399
|
timecode_id: z.ZodString;
|
|
16226
16400
|
}, z.core.$strip>;
|
|
@@ -16257,6 +16431,9 @@ export declare const zScheduleTimecodeChangeResponse: z.ZodObject<{
|
|
|
16257
16431
|
created_at: z.ZodISODateTime;
|
|
16258
16432
|
updated_at: z.ZodISODateTime;
|
|
16259
16433
|
}, z.core.$strip>;
|
|
16434
|
+
export declare const zCancelTimecodeScheduledTerminationHeaders: z.ZodObject<{
|
|
16435
|
+
'If-Match': z.ZodString;
|
|
16436
|
+
}, z.core.$strip>;
|
|
16260
16437
|
export declare const zCancelTimecodeScheduledTerminationPath: z.ZodObject<{
|
|
16261
16438
|
timecode_id: z.ZodString;
|
|
16262
16439
|
}, z.core.$strip>;
|
|
@@ -16474,6 +16651,9 @@ export declare const zUpdateTimecodeBody: z.ZodObject<{
|
|
|
16474
16651
|
}>>;
|
|
16475
16652
|
effective_date: z.ZodOptional<z.ZodISODateTime>;
|
|
16476
16653
|
}, z.core.$strip>;
|
|
16654
|
+
export declare const zUpdateTimecodeHeaders: z.ZodObject<{
|
|
16655
|
+
'If-Match': z.ZodString;
|
|
16656
|
+
}, z.core.$strip>;
|
|
16477
16657
|
export declare const zUpdateTimecodePath: z.ZodObject<{
|
|
16478
16658
|
id: z.ZodString;
|
|
16479
16659
|
}, z.core.$strip>;
|