@dsptch-work/api-client 0.1.0 → 0.3.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 +123 -0
- package/README.md +4 -49
- package/dist/gen/client/index.d.ts +2 -0
- package/dist/gen/client/utils.gen.d.ts +1 -1
- package/dist/gen/client.gen.d.ts +2 -2
- package/dist/gen/core/auth.gen.d.ts +7 -0
- package/dist/gen/core/params.gen.d.ts +2 -2
- package/dist/gen/core/params.gen.js +20 -11
- package/dist/gen/core/queryKeySerializer.gen.d.ts +1 -1
- package/dist/gen/core/types.gen.d.ts +5 -0
- package/dist/gen/index.d.ts +2 -2
- package/dist/gen/index.js +1 -1
- package/dist/gen/sdk.gen.d.ts +449 -289
- package/dist/gen/sdk.gen.js +257 -39
- package/dist/gen/types.gen.d.ts +924 -185
- package/dist/gen/zod.gen.d.ts +2436 -646
- package/dist/gen/zod.gen.js +713 -199
- package/package.json +16 -6
package/dist/gen/zod.gen.d.ts
CHANGED
|
@@ -8,6 +8,16 @@ export declare const zErrorsObject: z.ZodObject<{
|
|
|
8
8
|
message: z.ZodOptional<z.ZodString>;
|
|
9
9
|
}, z.core.$strip>>>;
|
|
10
10
|
}, z.core.$strip>;
|
|
11
|
+
export declare const zApiKeyScopeResponseObject: z.ZodObject<{
|
|
12
|
+
resource: z.ZodString;
|
|
13
|
+
action: z.ZodEnum<{
|
|
14
|
+
delete: "delete";
|
|
15
|
+
read: "read";
|
|
16
|
+
create: "create";
|
|
17
|
+
update: "update";
|
|
18
|
+
}>;
|
|
19
|
+
name: z.ZodString;
|
|
20
|
+
}, z.core.$strip>;
|
|
11
21
|
/**
|
|
12
22
|
* Register a file for direct upload — send its metadata to receive a blob plus a one-time URL for uploading the file's bytes to storage.
|
|
13
23
|
*/
|
|
@@ -323,9 +333,76 @@ export declare const zTimecodeResponseObject: z.ZodObject<{
|
|
|
323
333
|
}>;
|
|
324
334
|
default_for_company_id: z.ZodNullable<z.ZodString>;
|
|
325
335
|
valid_from: z.ZodISODateTime;
|
|
326
|
-
valid_to: z.ZodISODateTime
|
|
336
|
+
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
337
|
+
transaction_from: z.ZodISODateTime;
|
|
338
|
+
transaction_to: z.ZodNullable<z.ZodISODateTime>;
|
|
339
|
+
created_at: z.ZodISODateTime;
|
|
340
|
+
updated_at: z.ZodISODateTime;
|
|
341
|
+
}, z.core.$strip>;
|
|
342
|
+
export declare const zTimecodeHistoryVersionObject: z.ZodObject<{
|
|
343
|
+
id: z.ZodString;
|
|
344
|
+
name: z.ZodString;
|
|
345
|
+
description: z.ZodNullable<z.ZodString>;
|
|
346
|
+
description_is_required: z.ZodBoolean;
|
|
347
|
+
billable: z.ZodBoolean;
|
|
348
|
+
overtime_eligible: z.ZodBoolean;
|
|
349
|
+
unpaid: z.ZodBoolean;
|
|
350
|
+
holiday: z.ZodBoolean;
|
|
351
|
+
pto: z.ZodBoolean;
|
|
352
|
+
safety: z.ZodBoolean;
|
|
353
|
+
lunch_shortcut: z.ZodBoolean;
|
|
354
|
+
break_shortcut: z.ZodBoolean;
|
|
355
|
+
pwa: z.ZodBoolean;
|
|
356
|
+
rest_and_recovery: z.ZodBoolean;
|
|
357
|
+
incentive_pay_eligible: z.ZodBoolean;
|
|
358
|
+
restricted_to: z.ZodEnum<{
|
|
359
|
+
none: "none";
|
|
360
|
+
job: "job";
|
|
361
|
+
non_job: "non_job";
|
|
362
|
+
job_with_timecode: "job_with_timecode";
|
|
363
|
+
}>;
|
|
364
|
+
default_for_company_id: z.ZodNullable<z.ZodString>;
|
|
365
|
+
valid_from: z.ZodISODateTime;
|
|
366
|
+
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
367
|
+
transaction_from: z.ZodISODateTime;
|
|
368
|
+
transaction_to: z.ZodNullable<z.ZodISODateTime>;
|
|
327
369
|
created_at: z.ZodISODateTime;
|
|
328
370
|
updated_at: z.ZodISODateTime;
|
|
371
|
+
version_status: z.ZodEnum<{
|
|
372
|
+
scheduled: "scheduled";
|
|
373
|
+
current: "current";
|
|
374
|
+
historical: "historical";
|
|
375
|
+
}>;
|
|
376
|
+
corrections: z.ZodArray<z.ZodObject<{
|
|
377
|
+
id: z.ZodString;
|
|
378
|
+
name: z.ZodString;
|
|
379
|
+
description: z.ZodNullable<z.ZodString>;
|
|
380
|
+
description_is_required: z.ZodBoolean;
|
|
381
|
+
billable: z.ZodBoolean;
|
|
382
|
+
overtime_eligible: z.ZodBoolean;
|
|
383
|
+
unpaid: z.ZodBoolean;
|
|
384
|
+
holiday: z.ZodBoolean;
|
|
385
|
+
pto: z.ZodBoolean;
|
|
386
|
+
safety: z.ZodBoolean;
|
|
387
|
+
lunch_shortcut: z.ZodBoolean;
|
|
388
|
+
break_shortcut: z.ZodBoolean;
|
|
389
|
+
pwa: z.ZodBoolean;
|
|
390
|
+
rest_and_recovery: z.ZodBoolean;
|
|
391
|
+
incentive_pay_eligible: z.ZodBoolean;
|
|
392
|
+
restricted_to: z.ZodEnum<{
|
|
393
|
+
none: "none";
|
|
394
|
+
job: "job";
|
|
395
|
+
non_job: "non_job";
|
|
396
|
+
job_with_timecode: "job_with_timecode";
|
|
397
|
+
}>;
|
|
398
|
+
default_for_company_id: z.ZodNullable<z.ZodString>;
|
|
399
|
+
valid_from: z.ZodISODateTime;
|
|
400
|
+
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
401
|
+
transaction_from: z.ZodISODateTime;
|
|
402
|
+
transaction_to: z.ZodNullable<z.ZodISODateTime>;
|
|
403
|
+
created_at: z.ZodISODateTime;
|
|
404
|
+
updated_at: z.ZodISODateTime;
|
|
405
|
+
}, z.core.$strip>>;
|
|
329
406
|
}, z.core.$strip>;
|
|
330
407
|
/**
|
|
331
408
|
* Request body for creating or updating a timecode; only `name` is required. On create, omitted fields take their model/DB defaults (noted per field). On update the request applies a bitemporal correction, so omitted fields keep the current version's values rather than reverting to defaults.
|
|
@@ -385,34 +462,6 @@ export declare const zTimecodeScheduledChangeParameters: z.ZodObject<{
|
|
|
385
462
|
job_with_timecode: "job_with_timecode";
|
|
386
463
|
}>>;
|
|
387
464
|
}, z.core.$strip>;
|
|
388
|
-
/**
|
|
389
|
-
* Create or update a catalog product. `type` (serial or bulk) is required on create and cannot be changed afterward; `performed_by_user_id` is required on create. `attribute_values` upserts the product's category-attribute values.
|
|
390
|
-
*/
|
|
391
|
-
export declare const zAssetsProductParameters: z.ZodObject<{
|
|
392
|
-
type: z.ZodEnum<{
|
|
393
|
-
serial: "serial";
|
|
394
|
-
bulk: "bulk";
|
|
395
|
-
}>;
|
|
396
|
-
name: z.ZodString;
|
|
397
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
398
|
-
category_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
399
|
-
upc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
400
|
-
internal_sku: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
401
|
-
default_minimum_quantity: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
402
|
-
make: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
403
|
-
model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
404
|
-
counted_by: z.ZodOptional<z.ZodEnum<{
|
|
405
|
-
each: "each";
|
|
406
|
-
pair: "pair";
|
|
407
|
-
pack: "pack";
|
|
408
|
-
}>>;
|
|
409
|
-
attribute_values: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
410
|
-
attribute_id: z.ZodString;
|
|
411
|
-
value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
412
|
-
attribute_option_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
413
|
-
}, z.core.$strip>>>;
|
|
414
|
-
performed_by_user_id: z.ZodString;
|
|
415
|
-
}, z.core.$strip>;
|
|
416
465
|
/**
|
|
417
466
|
* A named daily allowance (meals, lodging, travel, and the like) that a company can attach to time.
|
|
418
467
|
*/
|
|
@@ -423,8 +472,8 @@ export declare const zPerDiemResponseObject: z.ZodObject<{
|
|
|
423
472
|
rate_cents: z.ZodNullable<z.ZodString>;
|
|
424
473
|
currency: z.ZodString;
|
|
425
474
|
taxable: z.ZodBoolean;
|
|
426
|
-
|
|
427
|
-
|
|
475
|
+
default: z.ZodNullable<z.ZodBoolean>;
|
|
476
|
+
active: z.ZodNullable<z.ZodBoolean>;
|
|
428
477
|
work_type_ids: z.ZodArray<z.ZodString>;
|
|
429
478
|
timecode_ids: z.ZodArray<z.ZodString>;
|
|
430
479
|
created_at: z.ZodISODateTime;
|
|
@@ -439,8 +488,8 @@ export declare const zPerDiemParameters: z.ZodObject<{
|
|
|
439
488
|
rate_cents: z.ZodNullable<z.ZodString>;
|
|
440
489
|
currency: z.ZodString;
|
|
441
490
|
taxable: z.ZodOptional<z.ZodBoolean>;
|
|
442
|
-
|
|
443
|
-
|
|
491
|
+
default: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
492
|
+
active: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
444
493
|
work_type_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
445
494
|
timecode_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
446
495
|
}, z.core.$strip>;
|
|
@@ -448,37 +497,10 @@ export declare const zPerDiemParameters: z.ZodObject<{
|
|
|
448
497
|
* The product's filled attribute values — one entry per attribute assigned to its category.
|
|
449
498
|
*/
|
|
450
499
|
export declare const zAssetsAttributeValueObjects: z.ZodArray<z.ZodObject<{
|
|
451
|
-
|
|
500
|
+
assets_attribute_id: z.ZodString;
|
|
452
501
|
value: z.ZodNullable<z.ZodString>;
|
|
453
|
-
|
|
502
|
+
assets_attribute_option_id: z.ZodNullable<z.ZodString>;
|
|
454
503
|
}, z.core.$strip>>;
|
|
455
|
-
/**
|
|
456
|
-
* A product in the company's asset catalog — a template that tracked items instantiate. `serialized` distinguishes an individually-tracked (serial) product from a quantity-counted (bulk) one.
|
|
457
|
-
*/
|
|
458
|
-
export declare const zAssetsProductResponseObject: z.ZodObject<{
|
|
459
|
-
id: z.ZodString;
|
|
460
|
-
company_id: z.ZodString;
|
|
461
|
-
name: z.ZodString;
|
|
462
|
-
upc: z.ZodNullable<z.ZodString>;
|
|
463
|
-
internal_sku: z.ZodNullable<z.ZodString>;
|
|
464
|
-
default_minimum_quantity: z.ZodNullable<z.ZodInt>;
|
|
465
|
-
make: z.ZodNullable<z.ZodString>;
|
|
466
|
-
model: z.ZodNullable<z.ZodString>;
|
|
467
|
-
counted_by: z.ZodEnum<{
|
|
468
|
-
each: "each";
|
|
469
|
-
pair: "pair";
|
|
470
|
-
pack: "pack";
|
|
471
|
-
}>;
|
|
472
|
-
serialized: z.ZodBoolean;
|
|
473
|
-
category_id: z.ZodNullable<z.ZodString>;
|
|
474
|
-
attributes: z.ZodArray<z.ZodObject<{
|
|
475
|
-
attribute_id: z.ZodString;
|
|
476
|
-
value: z.ZodNullable<z.ZodString>;
|
|
477
|
-
attribute_option_id: z.ZodNullable<z.ZodString>;
|
|
478
|
-
}, z.core.$strip>>;
|
|
479
|
-
created_at: z.ZodISODateTime;
|
|
480
|
-
updated_at: z.ZodISODateTime;
|
|
481
|
-
}, z.core.$strip>;
|
|
482
504
|
/**
|
|
483
505
|
* A reusable custom-field definition (for example "Color" or "Voltage") that categories assign and products or items fill in.
|
|
484
506
|
*/
|
|
@@ -531,7 +553,7 @@ export declare const zAssetsCategoryResponseObject: z.ZodObject<{
|
|
|
531
553
|
full_name: z.ZodString;
|
|
532
554
|
attributes: z.ZodArray<z.ZodObject<{
|
|
533
555
|
id: z.ZodString;
|
|
534
|
-
|
|
556
|
+
assets_attribute_id: z.ZodString;
|
|
535
557
|
fillable_on: z.ZodEnum<{
|
|
536
558
|
product: "product";
|
|
537
559
|
item: "item";
|
|
@@ -550,7 +572,7 @@ export declare const zAssetsCategoryParameters: z.ZodObject<{
|
|
|
550
572
|
parent_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
551
573
|
category_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
552
574
|
id: z.ZodOptional<z.ZodString>;
|
|
553
|
-
|
|
575
|
+
assets_attribute_id: z.ZodString;
|
|
554
576
|
fillable_on: z.ZodEnum<{
|
|
555
577
|
product: "product";
|
|
556
578
|
item: "item";
|
|
@@ -684,11 +706,96 @@ export declare const zPayPeriodConfigResponseObject: z.ZodObject<{
|
|
|
684
706
|
}>;
|
|
685
707
|
actuals_enabled: z.ZodNullable<z.ZodBoolean>;
|
|
686
708
|
requires_external_map_contributor: z.ZodBoolean;
|
|
687
|
-
|
|
688
|
-
|
|
709
|
+
paid_after_holiday: z.ZodBoolean;
|
|
710
|
+
demo: z.ZodNullable<z.ZodBoolean>;
|
|
711
|
+
valid_from: z.ZodISODateTime;
|
|
712
|
+
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
713
|
+
created_at: z.ZodISODateTime;
|
|
714
|
+
}, z.core.$strip>;
|
|
715
|
+
export declare const zPayPeriodConfigHistoryVersionObject: z.ZodObject<{
|
|
716
|
+
uid: z.ZodString;
|
|
717
|
+
company_id: z.ZodString;
|
|
718
|
+
name: z.ZodString;
|
|
719
|
+
frequency: z.ZodEnum<{
|
|
720
|
+
weekly: "weekly";
|
|
721
|
+
biweekly: "biweekly";
|
|
722
|
+
}>;
|
|
723
|
+
start_day_of_week: z.ZodInt;
|
|
724
|
+
tz_name: z.ZodString;
|
|
725
|
+
currency: z.ZodString;
|
|
726
|
+
status: z.ZodEnum<{
|
|
727
|
+
pending: "pending";
|
|
728
|
+
failed: "failed";
|
|
729
|
+
synced: "synced";
|
|
730
|
+
}>;
|
|
731
|
+
payroll_mode: z.ZodEnum<{
|
|
732
|
+
none: "none";
|
|
733
|
+
base: "base";
|
|
734
|
+
aggregate: "aggregate";
|
|
735
|
+
}>;
|
|
736
|
+
time_mode: z.ZodEnum<{
|
|
737
|
+
none: "none";
|
|
738
|
+
base: "base";
|
|
739
|
+
aggregate: "aggregate";
|
|
740
|
+
}>;
|
|
741
|
+
payroll_system: z.ZodEnum<{
|
|
742
|
+
rippling: "rippling";
|
|
743
|
+
quickbooks_online: "quickbooks_online";
|
|
744
|
+
paychex: "paychex";
|
|
745
|
+
gusto: "gusto";
|
|
746
|
+
}>;
|
|
747
|
+
actuals_enabled: z.ZodNullable<z.ZodBoolean>;
|
|
748
|
+
requires_external_map_contributor: z.ZodBoolean;
|
|
749
|
+
paid_after_holiday: z.ZodBoolean;
|
|
750
|
+
demo: z.ZodNullable<z.ZodBoolean>;
|
|
689
751
|
valid_from: z.ZodISODateTime;
|
|
690
752
|
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
691
753
|
created_at: z.ZodISODateTime;
|
|
754
|
+
version_status: z.ZodEnum<{
|
|
755
|
+
scheduled: "scheduled";
|
|
756
|
+
current: "current";
|
|
757
|
+
historical: "historical";
|
|
758
|
+
}>;
|
|
759
|
+
corrections: z.ZodArray<z.ZodObject<{
|
|
760
|
+
uid: z.ZodString;
|
|
761
|
+
company_id: z.ZodString;
|
|
762
|
+
name: z.ZodString;
|
|
763
|
+
frequency: z.ZodEnum<{
|
|
764
|
+
weekly: "weekly";
|
|
765
|
+
biweekly: "biweekly";
|
|
766
|
+
}>;
|
|
767
|
+
start_day_of_week: z.ZodInt;
|
|
768
|
+
tz_name: z.ZodString;
|
|
769
|
+
currency: z.ZodString;
|
|
770
|
+
status: z.ZodEnum<{
|
|
771
|
+
pending: "pending";
|
|
772
|
+
failed: "failed";
|
|
773
|
+
synced: "synced";
|
|
774
|
+
}>;
|
|
775
|
+
payroll_mode: z.ZodEnum<{
|
|
776
|
+
none: "none";
|
|
777
|
+
base: "base";
|
|
778
|
+
aggregate: "aggregate";
|
|
779
|
+
}>;
|
|
780
|
+
time_mode: z.ZodEnum<{
|
|
781
|
+
none: "none";
|
|
782
|
+
base: "base";
|
|
783
|
+
aggregate: "aggregate";
|
|
784
|
+
}>;
|
|
785
|
+
payroll_system: z.ZodEnum<{
|
|
786
|
+
rippling: "rippling";
|
|
787
|
+
quickbooks_online: "quickbooks_online";
|
|
788
|
+
paychex: "paychex";
|
|
789
|
+
gusto: "gusto";
|
|
790
|
+
}>;
|
|
791
|
+
actuals_enabled: z.ZodNullable<z.ZodBoolean>;
|
|
792
|
+
requires_external_map_contributor: z.ZodBoolean;
|
|
793
|
+
paid_after_holiday: z.ZodBoolean;
|
|
794
|
+
demo: z.ZodNullable<z.ZodBoolean>;
|
|
795
|
+
valid_from: z.ZodISODateTime;
|
|
796
|
+
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
797
|
+
created_at: z.ZodISODateTime;
|
|
798
|
+
}, z.core.$strip>>;
|
|
692
799
|
}, z.core.$strip>;
|
|
693
800
|
/**
|
|
694
801
|
* Create or update a holiday on a pay schedule. name, holiday_type, and month are required; mday is required for fixed holidays and wday + week for floating holidays (enforced by model validation).
|
|
@@ -1088,10 +1195,6 @@ export declare const zFormSubmissionResponseObject: z.ZodObject<{
|
|
|
1088
1195
|
updated_by_user_id: z.ZodString;
|
|
1089
1196
|
created_at: z.ZodISODateTime;
|
|
1090
1197
|
updated_at: z.ZodISODateTime;
|
|
1091
|
-
valid_time: z.ZodObject<{
|
|
1092
|
-
start: z.ZodOptional<z.ZodString>;
|
|
1093
|
-
end: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1094
|
-
}, z.core.$strip>;
|
|
1095
1198
|
}, z.core.$strip>;
|
|
1096
1199
|
/**
|
|
1097
1200
|
* Request body for scheduling a future-dated compensation change. effective_date sets when the new values take effect; earlier history is preserved as its own version. Covers the pay, benefit, accrual, and department fields.
|
|
@@ -1116,7 +1219,7 @@ export declare const zUserCompanyScheduledChangesParameters: z.ZodObject<{
|
|
|
1116
1219
|
export declare const zWorkTypeResponseObject: z.ZodObject<{
|
|
1117
1220
|
id: z.ZodString;
|
|
1118
1221
|
value: z.ZodString;
|
|
1119
|
-
|
|
1222
|
+
verified: z.ZodBoolean;
|
|
1120
1223
|
scoped_to_company_id: z.ZodNullable<z.ZodString>;
|
|
1121
1224
|
specific_to_site_type: z.ZodNullable<z.ZodString>;
|
|
1122
1225
|
created_at: z.ZodISODateTime;
|
|
@@ -1152,14 +1255,14 @@ export declare const zCompanyResponseObject: z.ZodObject<{
|
|
|
1152
1255
|
color_hex: z.ZodString;
|
|
1153
1256
|
tagline: z.ZodNullable<z.ZodString>;
|
|
1154
1257
|
founding_year: z.ZodNullable<z.ZodInt>;
|
|
1155
|
-
corporate_structure: z.ZodEnum<{
|
|
1258
|
+
corporate_structure: z.ZodNullable<z.ZodEnum<{
|
|
1156
1259
|
corporation: "corporation";
|
|
1157
1260
|
llc: "llc";
|
|
1158
1261
|
partnership: "partnership";
|
|
1159
1262
|
sole_proprietorship: "sole_proprietorship";
|
|
1160
1263
|
s_corporation: "s_corporation";
|
|
1161
|
-
}
|
|
1162
|
-
employee_count_range: z.ZodEnum<{
|
|
1264
|
+
}>>;
|
|
1265
|
+
employee_count_range: z.ZodNullable<z.ZodEnum<{
|
|
1163
1266
|
one_to_ten: "one_to_ten";
|
|
1164
1267
|
eleven_to_fifty: "eleven_to_fifty";
|
|
1165
1268
|
fifty_one_to_two_hundred: "fifty_one_to_two_hundred";
|
|
@@ -1168,8 +1271,8 @@ export declare const zCompanyResponseObject: z.ZodObject<{
|
|
|
1168
1271
|
one_thousand_one_to_five_thousand: "one_thousand_one_to_five_thousand";
|
|
1169
1272
|
five_thousand_one_to_ten_thousand: "five_thousand_one_to_ten_thousand";
|
|
1170
1273
|
ten_thousand_one_plus: "ten_thousand_one_plus";
|
|
1171
|
-
}
|
|
1172
|
-
revenue_range: z.ZodEnum<{
|
|
1274
|
+
}>>;
|
|
1275
|
+
revenue_range: z.ZodNullable<z.ZodEnum<{
|
|
1173
1276
|
zero_to_one_million: "zero_to_one_million";
|
|
1174
1277
|
one_to_ten_million: "one_to_ten_million";
|
|
1175
1278
|
ten_to_twenty_five_million: "ten_to_twenty_five_million";
|
|
@@ -1180,74 +1283,173 @@ export declare const zCompanyResponseObject: z.ZodObject<{
|
|
|
1180
1283
|
five_hundred_to_one_billion: "five_hundred_to_one_billion";
|
|
1181
1284
|
one_billion_to_ten_billion: "one_billion_to_ten_billion";
|
|
1182
1285
|
ten_billion_plus: "ten_billion_plus";
|
|
1183
|
-
}
|
|
1286
|
+
}>>;
|
|
1184
1287
|
naics_code: z.ZodNullable<z.ZodString>;
|
|
1185
1288
|
linkedin_url: z.ZodNullable<z.ZodString>;
|
|
1186
1289
|
created_at: z.ZodISODateTime;
|
|
1187
1290
|
updated_at: z.ZodISODateTime;
|
|
1188
1291
|
}, z.core.$strip>;
|
|
1189
|
-
|
|
1190
|
-
* A custom field definition — a company-defined attribute attached to one kind of record (jobs, workers, apprentices, or the company itself). Deleting one is blocked while any record still holds a value for it.
|
|
1191
|
-
*/
|
|
1192
|
-
export declare const zCustomFieldConfigsResponseObject: z.ZodObject<{
|
|
1193
|
-
id: z.ZodString;
|
|
1292
|
+
export declare const zCompanyParameters: z.ZodIntersection<z.ZodUnion<readonly [z.ZodObject<{
|
|
1194
1293
|
name: z.ZodString;
|
|
1294
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1295
|
+
legal_name: z.ZodNullable<z.ZodString>;
|
|
1296
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1195
1297
|
description: z.ZodNullable<z.ZodString>;
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
}
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1298
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1299
|
+
address: z.ZodNullable<z.ZodString>;
|
|
1300
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1301
|
+
website: z.ZodNullable<z.ZodString>;
|
|
1302
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1303
|
+
phone_number: z.ZodNullable<z.ZodString>;
|
|
1304
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1305
|
+
email: z.ZodNullable<z.ZodString>;
|
|
1306
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1307
|
+
color_hex: z.ZodString;
|
|
1308
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1309
|
+
tagline: z.ZodNullable<z.ZodString>;
|
|
1310
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1311
|
+
founding_year: z.ZodNullable<z.ZodInt>;
|
|
1312
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1313
|
+
corporate_structure: z.ZodNullable<z.ZodEnum<{
|
|
1314
|
+
corporation: "corporation";
|
|
1315
|
+
llc: "llc";
|
|
1316
|
+
partnership: "partnership";
|
|
1317
|
+
sole_proprietorship: "sole_proprietorship";
|
|
1318
|
+
s_corporation: "s_corporation";
|
|
1319
|
+
}>>;
|
|
1320
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1321
|
+
employee_count_range: z.ZodNullable<z.ZodEnum<{
|
|
1322
|
+
one_to_ten: "one_to_ten";
|
|
1323
|
+
eleven_to_fifty: "eleven_to_fifty";
|
|
1324
|
+
fifty_one_to_two_hundred: "fifty_one_to_two_hundred";
|
|
1325
|
+
two_hundred_one_to_five_hundred: "two_hundred_one_to_five_hundred";
|
|
1326
|
+
five_hundred_one_to_one_thousand: "five_hundred_one_to_one_thousand";
|
|
1327
|
+
one_thousand_one_to_five_thousand: "one_thousand_one_to_five_thousand";
|
|
1328
|
+
five_thousand_one_to_ten_thousand: "five_thousand_one_to_ten_thousand";
|
|
1329
|
+
ten_thousand_one_plus: "ten_thousand_one_plus";
|
|
1330
|
+
}>>;
|
|
1331
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1332
|
+
revenue_range: z.ZodNullable<z.ZodEnum<{
|
|
1333
|
+
zero_to_one_million: "zero_to_one_million";
|
|
1334
|
+
one_to_ten_million: "one_to_ten_million";
|
|
1335
|
+
ten_to_twenty_five_million: "ten_to_twenty_five_million";
|
|
1336
|
+
twenty_five_to_fifty_million: "twenty_five_to_fifty_million";
|
|
1337
|
+
fifty_to_one_hundred_million: "fifty_to_one_hundred_million";
|
|
1338
|
+
one_hundred_to_two_fifty_million: "one_hundred_to_two_fifty_million";
|
|
1339
|
+
two_fifty_to_five_hundred_million: "two_fifty_to_five_hundred_million";
|
|
1340
|
+
five_hundred_to_one_billion: "five_hundred_to_one_billion";
|
|
1341
|
+
one_billion_to_ten_billion: "one_billion_to_ten_billion";
|
|
1342
|
+
ten_billion_plus: "ten_billion_plus";
|
|
1343
|
+
}>>;
|
|
1344
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1345
|
+
naics_code: z.ZodNullable<z.ZodString>;
|
|
1346
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1347
|
+
linkedin_url: z.ZodNullable<z.ZodString>;
|
|
1348
|
+
}, z.core.$strip>]>, z.ZodObject<{
|
|
1349
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1350
|
+
legal_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1351
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1352
|
+
address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1353
|
+
website: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1354
|
+
phone_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1355
|
+
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1356
|
+
color_hex: z.ZodOptional<z.ZodString>;
|
|
1357
|
+
tagline: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1358
|
+
founding_year: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
1359
|
+
corporate_structure: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1360
|
+
corporation: "corporation";
|
|
1361
|
+
llc: "llc";
|
|
1362
|
+
partnership: "partnership";
|
|
1363
|
+
sole_proprietorship: "sole_proprietorship";
|
|
1364
|
+
s_corporation: "s_corporation";
|
|
1365
|
+
}>>>;
|
|
1366
|
+
employee_count_range: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1367
|
+
one_to_ten: "one_to_ten";
|
|
1368
|
+
eleven_to_fifty: "eleven_to_fifty";
|
|
1369
|
+
fifty_one_to_two_hundred: "fifty_one_to_two_hundred";
|
|
1370
|
+
two_hundred_one_to_five_hundred: "two_hundred_one_to_five_hundred";
|
|
1371
|
+
five_hundred_one_to_one_thousand: "five_hundred_one_to_one_thousand";
|
|
1372
|
+
one_thousand_one_to_five_thousand: "one_thousand_one_to_five_thousand";
|
|
1373
|
+
five_thousand_one_to_ten_thousand: "five_thousand_one_to_ten_thousand";
|
|
1374
|
+
ten_thousand_one_plus: "ten_thousand_one_plus";
|
|
1375
|
+
}>>>;
|
|
1376
|
+
revenue_range: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1377
|
+
zero_to_one_million: "zero_to_one_million";
|
|
1378
|
+
one_to_ten_million: "one_to_ten_million";
|
|
1379
|
+
ten_to_twenty_five_million: "ten_to_twenty_five_million";
|
|
1380
|
+
twenty_five_to_fifty_million: "twenty_five_to_fifty_million";
|
|
1381
|
+
fifty_to_one_hundred_million: "fifty_to_one_hundred_million";
|
|
1382
|
+
one_hundred_to_two_fifty_million: "one_hundred_to_two_fifty_million";
|
|
1383
|
+
two_fifty_to_five_hundred_million: "two_fifty_to_five_hundred_million";
|
|
1384
|
+
five_hundred_to_one_billion: "five_hundred_to_one_billion";
|
|
1385
|
+
one_billion_to_ten_billion: "one_billion_to_ten_billion";
|
|
1386
|
+
ten_billion_plus: "ten_billion_plus";
|
|
1387
|
+
}>>>;
|
|
1388
|
+
naics_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1389
|
+
linkedin_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1390
|
+
}, z.core.$strip>>;
|
|
1391
|
+
/**
|
|
1392
|
+
* A custom field definition — a company-defined attribute attached to one kind of record (jobs, workers, apprentices, or the company itself). Deleting one is blocked while any record still holds a value for it.
|
|
1393
|
+
*/
|
|
1394
|
+
export declare const zCustomFieldConfigsResponseObject: z.ZodObject<{
|
|
1395
|
+
id: z.ZodString;
|
|
1396
|
+
name: z.ZodString;
|
|
1397
|
+
description: z.ZodNullable<z.ZodString>;
|
|
1398
|
+
model_type: z.ZodString;
|
|
1399
|
+
visible: z.ZodBoolean;
|
|
1400
|
+
company_id: z.ZodString;
|
|
1401
|
+
created_at: z.ZodISODateTime;
|
|
1402
|
+
updated_at: z.ZodISODateTime;
|
|
1403
|
+
}, z.core.$strip>;
|
|
1404
|
+
/**
|
|
1405
|
+
* Request body for creating or updating a custom field definition.
|
|
1406
|
+
*/
|
|
1407
|
+
export declare const zCustomFieldConfigParameters: z.ZodObject<{
|
|
1408
|
+
name: z.ZodString;
|
|
1409
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1410
|
+
model_type: z.ZodEnum<{
|
|
1411
|
+
job: "job";
|
|
1412
|
+
apprenticeship_apprentice: "apprenticeship_apprentice";
|
|
1413
|
+
company: "company";
|
|
1414
|
+
user_company: "user_company";
|
|
1415
|
+
}>;
|
|
1416
|
+
visible: z.ZodOptional<z.ZodBoolean>;
|
|
1417
|
+
}, z.core.$strip>;
|
|
1418
|
+
/**
|
|
1419
|
+
* A user's membership in a group.
|
|
1420
|
+
*/
|
|
1421
|
+
export declare const zUserGroupResponse: z.ZodObject<{
|
|
1422
|
+
id: z.ZodOptional<z.ZodString>;
|
|
1423
|
+
user_id: z.ZodOptional<z.ZodString>;
|
|
1424
|
+
}, z.core.$strip>;
|
|
1425
|
+
/**
|
|
1426
|
+
* Request body for adding users to a group. The group is taken from the URL path.
|
|
1427
|
+
*/
|
|
1428
|
+
export declare const zUserGroupParameters: z.ZodObject<{
|
|
1429
|
+
user_ids: z.ZodArray<z.ZodString>;
|
|
1430
|
+
}, z.core.$strip>;
|
|
1431
|
+
/**
|
|
1432
|
+
* Day of the week a job's workweek and time cards start on: 0 (Sunday) through 6 (Saturday).
|
|
1433
|
+
*/
|
|
1434
|
+
export declare const zTimeCardStartDay: z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>, z.ZodLiteral<6>]>;
|
|
1435
|
+
/**
|
|
1436
|
+
* Parameters for creating a job. Sets the job's schedule, work types, address, and optional Prevailing Wage / Apprenticeship (PWA) compliance. Extra keys are accepted, including custom fields.
|
|
1437
|
+
*/
|
|
1438
|
+
export declare const zJobParameters: z.ZodObject<{
|
|
1439
|
+
template_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1440
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1441
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1442
|
+
created_by_user_id: z.ZodString;
|
|
1443
|
+
manager_user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1444
|
+
manager_user_ids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
1445
|
+
purchase_order_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1446
|
+
project_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1447
|
+
federal_pwa_mode: z.ZodOptional<z.ZodEnum<{
|
|
1448
|
+
none: "none";
|
|
1449
|
+
all: "all";
|
|
1450
|
+
pw_only: "pw_only";
|
|
1451
|
+
ap_only: "ap_only";
|
|
1452
|
+
}>>;
|
|
1251
1453
|
regional_pwa_mode: z.ZodOptional<z.ZodEnum<{
|
|
1252
1454
|
none: "none";
|
|
1253
1455
|
all: "all";
|
|
@@ -1267,7 +1469,7 @@ export declare const zJobParameters: z.ZodObject<{
|
|
|
1267
1469
|
requires_feature_allocation: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1268
1470
|
max_one_feature_allocation: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1269
1471
|
job_work_types_attributes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
1270
|
-
|
|
1472
|
+
primary: z.ZodOptional<z.ZodBoolean>;
|
|
1271
1473
|
work_type_id: z.ZodOptional<z.ZodString>;
|
|
1272
1474
|
}, z.core.$strip>>>>;
|
|
1273
1475
|
job_address_attributes: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -1340,7 +1542,7 @@ export declare const zJobUpdateParameters: z.ZodIntersection<z.ZodObject<{
|
|
|
1340
1542
|
requires_feature_allocation: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1341
1543
|
max_one_feature_allocation: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1342
1544
|
job_work_types_attributes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
1343
|
-
|
|
1545
|
+
primary: z.ZodOptional<z.ZodBoolean>;
|
|
1344
1546
|
work_type_id: z.ZodOptional<z.ZodString>;
|
|
1345
1547
|
}, z.core.$strip>>>>;
|
|
1346
1548
|
job_address_attributes: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -1747,14 +1949,83 @@ export declare const zPayrollExternalMapResponseObject: z.ZodObject<{
|
|
|
1747
1949
|
created_by_user_id: z.ZodNullable<z.ZodString>;
|
|
1748
1950
|
global: z.ZodBoolean;
|
|
1749
1951
|
valid_from: z.ZodISODateTime;
|
|
1750
|
-
valid_to: z.ZodISODateTime
|
|
1952
|
+
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
1953
|
+
transaction_from: z.ZodISODateTime;
|
|
1954
|
+
transaction_to: z.ZodNullable<z.ZodISODateTime>;
|
|
1955
|
+
created_at: z.ZodISODateTime;
|
|
1956
|
+
updated_at: z.ZodISODateTime;
|
|
1957
|
+
}, z.core.$strip>;
|
|
1958
|
+
export declare const zPayrollExternalMapHistoryVersionObject: z.ZodObject<{
|
|
1959
|
+
id: z.ZodString;
|
|
1960
|
+
bitemporal_id: z.ZodString;
|
|
1961
|
+
name: z.ZodString;
|
|
1962
|
+
compensation_element_id: z.ZodString;
|
|
1963
|
+
compensation_element_name: z.ZodString;
|
|
1964
|
+
compensation_element_category: z.ZodEnum<{
|
|
1965
|
+
other: "other";
|
|
1966
|
+
tax: "tax";
|
|
1967
|
+
health: "health";
|
|
1968
|
+
retirement: "retirement";
|
|
1969
|
+
insurance: "insurance";
|
|
1970
|
+
earning: "earning";
|
|
1971
|
+
garnishment: "garnishment";
|
|
1972
|
+
}>;
|
|
1973
|
+
pay_period_config_uid: z.ZodNullable<z.ZodString>;
|
|
1974
|
+
fringe_benefit_plan_id: z.ZodNullable<z.ZodString>;
|
|
1975
|
+
contributor: z.ZodEnum<{
|
|
1976
|
+
any: "any";
|
|
1977
|
+
employee: "employee";
|
|
1978
|
+
employer: "employer";
|
|
1979
|
+
}>;
|
|
1980
|
+
annual_periods: z.ZodInt;
|
|
1981
|
+
created_by_user_id: z.ZodNullable<z.ZodString>;
|
|
1982
|
+
global: z.ZodBoolean;
|
|
1983
|
+
valid_from: z.ZodISODateTime;
|
|
1984
|
+
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
1751
1985
|
transaction_from: z.ZodISODateTime;
|
|
1752
|
-
transaction_to: z.ZodISODateTime
|
|
1986
|
+
transaction_to: z.ZodNullable<z.ZodISODateTime>;
|
|
1753
1987
|
created_at: z.ZodISODateTime;
|
|
1754
1988
|
updated_at: z.ZodISODateTime;
|
|
1989
|
+
version_status: z.ZodEnum<{
|
|
1990
|
+
scheduled: "scheduled";
|
|
1991
|
+
current: "current";
|
|
1992
|
+
historical: "historical";
|
|
1993
|
+
}>;
|
|
1994
|
+
corrections: z.ZodArray<z.ZodObject<{
|
|
1995
|
+
id: z.ZodString;
|
|
1996
|
+
bitemporal_id: z.ZodString;
|
|
1997
|
+
name: z.ZodString;
|
|
1998
|
+
compensation_element_id: z.ZodString;
|
|
1999
|
+
compensation_element_name: z.ZodString;
|
|
2000
|
+
compensation_element_category: z.ZodEnum<{
|
|
2001
|
+
other: "other";
|
|
2002
|
+
tax: "tax";
|
|
2003
|
+
health: "health";
|
|
2004
|
+
retirement: "retirement";
|
|
2005
|
+
insurance: "insurance";
|
|
2006
|
+
earning: "earning";
|
|
2007
|
+
garnishment: "garnishment";
|
|
2008
|
+
}>;
|
|
2009
|
+
pay_period_config_uid: z.ZodNullable<z.ZodString>;
|
|
2010
|
+
fringe_benefit_plan_id: z.ZodNullable<z.ZodString>;
|
|
2011
|
+
contributor: z.ZodEnum<{
|
|
2012
|
+
any: "any";
|
|
2013
|
+
employee: "employee";
|
|
2014
|
+
employer: "employer";
|
|
2015
|
+
}>;
|
|
2016
|
+
annual_periods: z.ZodInt;
|
|
2017
|
+
created_by_user_id: z.ZodNullable<z.ZodString>;
|
|
2018
|
+
global: z.ZodBoolean;
|
|
2019
|
+
valid_from: z.ZodISODateTime;
|
|
2020
|
+
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
2021
|
+
transaction_from: z.ZodISODateTime;
|
|
2022
|
+
transaction_to: z.ZodNullable<z.ZodISODateTime>;
|
|
2023
|
+
created_at: z.ZodISODateTime;
|
|
2024
|
+
updated_at: z.ZodISODateTime;
|
|
2025
|
+
}, z.core.$strip>>;
|
|
1755
2026
|
}, z.core.$strip>;
|
|
1756
2027
|
/**
|
|
1757
|
-
* A payroll run — a record of one payroll-processing event
|
|
2028
|
+
* A payroll run — a record of one payroll-processing event, synced from an external payroll system or reported to DSPTCH (never a run DSPTCH itself initiates). Paystubs belong to a run.
|
|
1758
2029
|
*/
|
|
1759
2030
|
export declare const zPayrollRunResponseObject: z.ZodObject<{
|
|
1760
2031
|
id: z.ZodString;
|
|
@@ -1866,6 +2137,33 @@ export declare const zProjectParameters: z.ZodObject<{
|
|
|
1866
2137
|
beginning_of_construction_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
|
|
1867
2138
|
placed_in_service_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
|
|
1868
2139
|
}, z.core.$strip>;
|
|
2140
|
+
export declare const zSiteCheckInResponseObject: z.ZodObject<{
|
|
2141
|
+
id: z.ZodString;
|
|
2142
|
+
site_id: z.ZodString;
|
|
2143
|
+
user_id: z.ZodNullable<z.ZodString>;
|
|
2144
|
+
first_name: z.ZodNullable<z.ZodString>;
|
|
2145
|
+
last_name: z.ZodNullable<z.ZodString>;
|
|
2146
|
+
site_contact_id: z.ZodNullable<z.ZodString>;
|
|
2147
|
+
site_contact_first_name: z.ZodNullable<z.ZodString>;
|
|
2148
|
+
site_contact_last_name: z.ZodNullable<z.ZodString>;
|
|
2149
|
+
employer_name: z.ZodNullable<z.ZodString>;
|
|
2150
|
+
description: z.ZodNullable<z.ZodString>;
|
|
2151
|
+
rationale: z.ZodNullable<z.ZodString>;
|
|
2152
|
+
source: z.ZodEnum<{
|
|
2153
|
+
manual: "manual";
|
|
2154
|
+
auto: "auto";
|
|
2155
|
+
}>;
|
|
2156
|
+
nerc_check_in: z.ZodBoolean;
|
|
2157
|
+
cip_exceptional: z.ZodBoolean;
|
|
2158
|
+
created_by_user_id: z.ZodNullable<z.ZodString>;
|
|
2159
|
+
latitude: z.ZodNullable<z.ZodNumber>;
|
|
2160
|
+
longitude: z.ZodNullable<z.ZodNumber>;
|
|
2161
|
+
start_time: z.ZodISODateTime;
|
|
2162
|
+
end_time: z.ZodNullable<z.ZodISODateTime>;
|
|
2163
|
+
verified_at: z.ZodNullable<z.ZodISODateTime>;
|
|
2164
|
+
created_at: z.ZodISODateTime;
|
|
2165
|
+
updated_at: z.ZodISODateTime;
|
|
2166
|
+
}, z.core.$strip>;
|
|
1869
2167
|
/**
|
|
1870
2168
|
* A geographic location where work is performed — a site on the Atlas map. Read-only through the API; sites are drawn on the map or imported from external sources, not created here.
|
|
1871
2169
|
*/
|
|
@@ -2010,7 +2308,7 @@ export declare const zFeatureResponseObject: z.ZodObject<{
|
|
|
2010
2308
|
ext_source: z.ZodString;
|
|
2011
2309
|
scoped_to_company_id: z.ZodNullable<z.ZodString>;
|
|
2012
2310
|
created_by_company_id: z.ZodNullable<z.ZodString>;
|
|
2013
|
-
|
|
2311
|
+
scoped_to_user: z.ZodBoolean;
|
|
2014
2312
|
address_id: z.ZodNullable<z.ZodString>;
|
|
2015
2313
|
created_by_user_id: z.ZodNullable<z.ZodString>;
|
|
2016
2314
|
updated_by_user_id: z.ZodNullable<z.ZodString>;
|
|
@@ -2046,7 +2344,6 @@ export declare const zComplianceCheckResponseObject: z.ZodObject<{
|
|
|
2046
2344
|
"Compliances::UserCompanyCheck": "Compliances::UserCompanyCheck";
|
|
2047
2345
|
}>;
|
|
2048
2346
|
status: z.ZodEnum<{
|
|
2049
|
-
error: "error";
|
|
2050
2347
|
pending: "pending";
|
|
2051
2348
|
failed: "failed";
|
|
2052
2349
|
passed: "passed";
|
|
@@ -2265,7 +2562,7 @@ export declare const zPositionParameters: z.ZodObject<{
|
|
|
2265
2562
|
position_function_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2266
2563
|
per_diem_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2267
2564
|
per_diem_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2268
|
-
|
|
2565
|
+
pwa: z.ZodOptional<z.ZodBoolean>;
|
|
2269
2566
|
cash_fringe_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2270
2567
|
hourly_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2271
2568
|
pwa_wage_pay_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -2516,12 +2813,12 @@ export declare const zCertificationResponseObject: z.ZodObject<{
|
|
|
2516
2813
|
export declare const zUserCertificationParameters: z.ZodObject<{
|
|
2517
2814
|
user_id: z.ZodString;
|
|
2518
2815
|
certification_id: z.ZodString;
|
|
2519
|
-
|
|
2816
|
+
received_at: z.ZodISODateTime;
|
|
2520
2817
|
file: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2521
2818
|
name: z.ZodOptional<z.ZodString>;
|
|
2522
2819
|
content: z.ZodOptional<z.ZodString>;
|
|
2523
2820
|
}, z.core.$strip>>>;
|
|
2524
|
-
|
|
2821
|
+
verified: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
2525
2822
|
expiration_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
|
|
2526
2823
|
credential_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2527
2824
|
approved_by_user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2535,10 +2832,10 @@ export declare const zUserCertificationResponseObject: z.ZodObject<{
|
|
|
2535
2832
|
id: z.ZodString;
|
|
2536
2833
|
user_id: z.ZodString;
|
|
2537
2834
|
certification_id: z.ZodString;
|
|
2538
|
-
|
|
2539
|
-
|
|
2835
|
+
received_at: z.ZodISODateTime;
|
|
2836
|
+
verified: z.ZodBoolean;
|
|
2540
2837
|
issuer_company_id: z.ZodNullable<z.ZodString>;
|
|
2541
|
-
expiration_date: z.ZodNullable<z.
|
|
2838
|
+
expiration_date: z.ZodNullable<z.ZodISODate>;
|
|
2542
2839
|
credential_id: z.ZodNullable<z.ZodString>;
|
|
2543
2840
|
approved_by_user_id: z.ZodNullable<z.ZodString>;
|
|
2544
2841
|
created_by_user_id: z.ZodNullable<z.ZodString>;
|
|
@@ -2681,7 +2978,7 @@ export declare const zPositionResponseObject: z.ZodObject<{
|
|
|
2681
2978
|
pwa_wage_pay_rate_cents: z.ZodNullable<z.ZodString>;
|
|
2682
2979
|
pwa_wage_pay_rate_src_type: z.ZodNullable<z.ZodString>;
|
|
2683
2980
|
wage_adder_rate_cents: z.ZodNullable<z.ZodString>;
|
|
2684
|
-
|
|
2981
|
+
pwa: z.ZodBoolean;
|
|
2685
2982
|
federal_wage_determination_uids: z.ZodArray<z.ZodString>;
|
|
2686
2983
|
regional_wage_determination_uids: z.ZodArray<z.ZodString>;
|
|
2687
2984
|
pwa_details: z.ZodNullable<z.ZodObject<{
|
|
@@ -3126,10 +3423,6 @@ export declare const zFormSubmissionIndexObject: z.ZodObject<{
|
|
|
3126
3423
|
updated_by_user_id: z.ZodOptional<z.ZodString>;
|
|
3127
3424
|
created_at: z.ZodOptional<z.ZodISODateTime>;
|
|
3128
3425
|
updated_at: z.ZodOptional<z.ZodISODateTime>;
|
|
3129
|
-
valid_time: z.ZodOptional<z.ZodObject<{
|
|
3130
|
-
start: z.ZodOptional<z.ZodString>;
|
|
3131
|
-
end: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3132
|
-
}, z.core.$strip>>;
|
|
3133
3426
|
}, z.core.$strip>>>;
|
|
3134
3427
|
}, z.core.$strip>;
|
|
3135
3428
|
/**
|
|
@@ -3486,7 +3779,7 @@ export declare const zPositionsResponseObject: z.ZodObject<{
|
|
|
3486
3779
|
pwa_wage_pay_rate_cents: z.ZodNullable<z.ZodString>;
|
|
3487
3780
|
pwa_wage_pay_rate_src_type: z.ZodNullable<z.ZodString>;
|
|
3488
3781
|
wage_adder_rate_cents: z.ZodNullable<z.ZodString>;
|
|
3489
|
-
|
|
3782
|
+
pwa: z.ZodBoolean;
|
|
3490
3783
|
federal_wage_determination_uids: z.ZodArray<z.ZodString>;
|
|
3491
3784
|
regional_wage_determination_uids: z.ZodArray<z.ZodString>;
|
|
3492
3785
|
pwa_details: z.ZodNullable<z.ZodObject<{
|
|
@@ -3543,10 +3836,10 @@ export declare const zUserCertificationsResponseObj: z.ZodObject<{
|
|
|
3543
3836
|
id: z.ZodString;
|
|
3544
3837
|
user_id: z.ZodString;
|
|
3545
3838
|
certification_id: z.ZodString;
|
|
3546
|
-
|
|
3547
|
-
|
|
3839
|
+
received_at: z.ZodISODateTime;
|
|
3840
|
+
verified: z.ZodBoolean;
|
|
3548
3841
|
issuer_company_id: z.ZodNullable<z.ZodString>;
|
|
3549
|
-
expiration_date: z.ZodNullable<z.
|
|
3842
|
+
expiration_date: z.ZodNullable<z.ZodISODate>;
|
|
3550
3843
|
credential_id: z.ZodNullable<z.ZodString>;
|
|
3551
3844
|
approved_by_user_id: z.ZodNullable<z.ZodString>;
|
|
3552
3845
|
created_by_user_id: z.ZodNullable<z.ZodString>;
|
|
@@ -3654,13 +3947,6 @@ export declare const zLaborRatesResponseObject: z.ZodObject<{
|
|
|
3654
3947
|
updated_at: z.ZodISODateTime;
|
|
3655
3948
|
}, z.core.$strip>>;
|
|
3656
3949
|
}, z.core.$strip>;
|
|
3657
|
-
/**
|
|
3658
|
-
* The time range over which this version of the wage determination is in effect. Half-open, so a null end means it is still current.
|
|
3659
|
-
*/
|
|
3660
|
-
export declare const zWageDeterminationValidTime: z.ZodObject<{
|
|
3661
|
-
start: z.ZodISODateTime;
|
|
3662
|
-
end: z.ZodNullable<z.ZodISODateTime>;
|
|
3663
|
-
}, z.core.$strip>;
|
|
3664
3950
|
/**
|
|
3665
3951
|
* A Federal (Davis-Bacon) wage determination on a job.
|
|
3666
3952
|
*/
|
|
@@ -3668,6 +3954,7 @@ export declare const zFederalJobWageDeterminationResponseObject: z.ZodObject<{
|
|
|
3668
3954
|
id: z.ZodString;
|
|
3669
3955
|
uid: z.ZodString;
|
|
3670
3956
|
job_id: z.ZodString;
|
|
3957
|
+
trade_id: z.ZodString;
|
|
3671
3958
|
type: z.ZodEnum<{
|
|
3672
3959
|
"Pwa::JobWageDeterminations::Federal": "Pwa::JobWageDeterminations::Federal";
|
|
3673
3960
|
}>;
|
|
@@ -3682,10 +3969,8 @@ export declare const zFederalJobWageDeterminationResponseObject: z.ZodObject<{
|
|
|
3682
3969
|
residential: "residential";
|
|
3683
3970
|
}>;
|
|
3684
3971
|
general_wage_determination: z.ZodNullable<z.ZodString>;
|
|
3685
|
-
|
|
3686
|
-
|
|
3687
|
-
end: z.ZodNullable<z.ZodISODateTime>;
|
|
3688
|
-
}, z.core.$strip>;
|
|
3972
|
+
valid_from: z.ZodISODateTime;
|
|
3973
|
+
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
3689
3974
|
created_at: z.ZodISODateTime;
|
|
3690
3975
|
updated_at: z.ZodISODateTime;
|
|
3691
3976
|
}, z.core.$strip>;
|
|
@@ -3715,6 +4000,7 @@ export declare const zRegionalJobWageDeterminationResponseObject: z.ZodObject<{
|
|
|
3715
4000
|
id: z.ZodString;
|
|
3716
4001
|
uid: z.ZodString;
|
|
3717
4002
|
job_id: z.ZodString;
|
|
4003
|
+
trade_id: z.ZodString;
|
|
3718
4004
|
type: z.ZodEnum<{
|
|
3719
4005
|
"Pwa::JobWageDeterminations::Regional": "Pwa::JobWageDeterminations::Regional";
|
|
3720
4006
|
}>;
|
|
@@ -3723,10 +4009,8 @@ export declare const zRegionalJobWageDeterminationResponseObject: z.ZodObject<{
|
|
|
3723
4009
|
fringe_rate_cents: z.ZodString;
|
|
3724
4010
|
general_wage_determination: z.ZodNullable<z.ZodString>;
|
|
3725
4011
|
regional_fields: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
|
|
3726
|
-
|
|
3727
|
-
|
|
3728
|
-
end: z.ZodNullable<z.ZodISODateTime>;
|
|
3729
|
-
}, z.core.$strip>;
|
|
4012
|
+
valid_from: z.ZodISODateTime;
|
|
4013
|
+
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
3730
4014
|
created_at: z.ZodISODateTime;
|
|
3731
4015
|
updated_at: z.ZodISODateTime;
|
|
3732
4016
|
}, z.core.$strip>;
|
|
@@ -3737,6 +4021,7 @@ export declare const zJobWageDeterminationResponseObject: z.ZodDiscriminatedUnio
|
|
|
3737
4021
|
id: z.ZodString;
|
|
3738
4022
|
uid: z.ZodString;
|
|
3739
4023
|
job_id: z.ZodString;
|
|
4024
|
+
trade_id: z.ZodString;
|
|
3740
4025
|
labor_classification: z.ZodString;
|
|
3741
4026
|
hourly_rate_cents: z.ZodString;
|
|
3742
4027
|
fringe_rate_cents: z.ZodString;
|
|
@@ -3748,10 +4033,8 @@ export declare const zJobWageDeterminationResponseObject: z.ZodDiscriminatedUnio
|
|
|
3748
4033
|
residential: "residential";
|
|
3749
4034
|
}>;
|
|
3750
4035
|
general_wage_determination: z.ZodNullable<z.ZodString>;
|
|
3751
|
-
|
|
3752
|
-
|
|
3753
|
-
end: z.ZodNullable<z.ZodISODateTime>;
|
|
3754
|
-
}, z.core.$strip>;
|
|
4036
|
+
valid_from: z.ZodISODateTime;
|
|
4037
|
+
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
3755
4038
|
created_at: z.ZodISODateTime;
|
|
3756
4039
|
updated_at: z.ZodISODateTime;
|
|
3757
4040
|
type: z.ZodLiteral<"Pwa::JobWageDeterminations::Federal">;
|
|
@@ -3759,46 +4042,294 @@ export declare const zJobWageDeterminationResponseObject: z.ZodDiscriminatedUnio
|
|
|
3759
4042
|
id: z.ZodString;
|
|
3760
4043
|
uid: z.ZodString;
|
|
3761
4044
|
job_id: z.ZodString;
|
|
4045
|
+
trade_id: z.ZodString;
|
|
3762
4046
|
labor_classification: z.ZodString;
|
|
3763
4047
|
hourly_rate_cents: z.ZodString;
|
|
3764
4048
|
fringe_rate_cents: z.ZodString;
|
|
3765
4049
|
general_wage_determination: z.ZodNullable<z.ZodString>;
|
|
3766
4050
|
regional_fields: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
|
|
3767
|
-
|
|
3768
|
-
|
|
3769
|
-
end: z.ZodNullable<z.ZodISODateTime>;
|
|
3770
|
-
}, z.core.$strip>;
|
|
4051
|
+
valid_from: z.ZodISODateTime;
|
|
4052
|
+
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
3771
4053
|
created_at: z.ZodISODateTime;
|
|
3772
4054
|
updated_at: z.ZodISODateTime;
|
|
3773
4055
|
type: z.ZodLiteral<"Pwa::JobWageDeterminations::Regional">;
|
|
3774
4056
|
}, z.core.$strip>], "type">;
|
|
3775
|
-
|
|
3776
|
-
|
|
3777
|
-
|
|
3778
|
-
|
|
4057
|
+
export declare const zFederalJobWageDeterminationHistoryVersionObject: z.ZodObject<{
|
|
4058
|
+
id: z.ZodString;
|
|
4059
|
+
uid: z.ZodString;
|
|
4060
|
+
job_id: z.ZodString;
|
|
4061
|
+
trade_id: z.ZodString;
|
|
3779
4062
|
type: z.ZodEnum<{
|
|
3780
4063
|
"Pwa::JobWageDeterminations::Federal": "Pwa::JobWageDeterminations::Federal";
|
|
3781
4064
|
}>;
|
|
3782
4065
|
labor_classification: z.ZodString;
|
|
3783
4066
|
hourly_rate_cents: z.ZodString;
|
|
3784
4067
|
fringe_rate_cents: z.ZodString;
|
|
3785
|
-
class_code: z.
|
|
3786
|
-
construction_category: z.
|
|
4068
|
+
class_code: z.ZodNullable<z.ZodString>;
|
|
4069
|
+
construction_category: z.ZodEnum<{
|
|
3787
4070
|
building: "building";
|
|
3788
4071
|
heavy: "heavy";
|
|
3789
4072
|
highway: "highway";
|
|
3790
4073
|
residential: "residential";
|
|
3791
|
-
}
|
|
3792
|
-
general_wage_determination: z.
|
|
3793
|
-
|
|
3794
|
-
|
|
3795
|
-
|
|
3796
|
-
|
|
3797
|
-
|
|
3798
|
-
|
|
3799
|
-
|
|
4074
|
+
}>;
|
|
4075
|
+
general_wage_determination: z.ZodNullable<z.ZodString>;
|
|
4076
|
+
valid_from: z.ZodISODateTime;
|
|
4077
|
+
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
4078
|
+
created_at: z.ZodISODateTime;
|
|
4079
|
+
updated_at: z.ZodISODateTime;
|
|
4080
|
+
version_status: z.ZodEnum<{
|
|
4081
|
+
scheduled: "scheduled";
|
|
4082
|
+
current: "current";
|
|
4083
|
+
historical: "historical";
|
|
4084
|
+
}>;
|
|
4085
|
+
corrections: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4086
|
+
id: z.ZodString;
|
|
4087
|
+
uid: z.ZodString;
|
|
4088
|
+
job_id: z.ZodString;
|
|
4089
|
+
trade_id: z.ZodString;
|
|
4090
|
+
labor_classification: z.ZodString;
|
|
4091
|
+
hourly_rate_cents: z.ZodString;
|
|
4092
|
+
fringe_rate_cents: z.ZodString;
|
|
4093
|
+
class_code: z.ZodNullable<z.ZodString>;
|
|
4094
|
+
construction_category: z.ZodEnum<{
|
|
4095
|
+
building: "building";
|
|
4096
|
+
heavy: "heavy";
|
|
4097
|
+
highway: "highway";
|
|
4098
|
+
residential: "residential";
|
|
4099
|
+
}>;
|
|
4100
|
+
general_wage_determination: z.ZodNullable<z.ZodString>;
|
|
4101
|
+
valid_from: z.ZodISODateTime;
|
|
4102
|
+
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
4103
|
+
created_at: z.ZodISODateTime;
|
|
4104
|
+
updated_at: z.ZodISODateTime;
|
|
4105
|
+
type: z.ZodLiteral<"Pwa::JobWageDeterminations::Federal">;
|
|
4106
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4107
|
+
id: z.ZodString;
|
|
4108
|
+
uid: z.ZodString;
|
|
4109
|
+
job_id: z.ZodString;
|
|
4110
|
+
trade_id: z.ZodString;
|
|
4111
|
+
labor_classification: z.ZodString;
|
|
4112
|
+
hourly_rate_cents: z.ZodString;
|
|
4113
|
+
fringe_rate_cents: z.ZodString;
|
|
4114
|
+
general_wage_determination: z.ZodNullable<z.ZodString>;
|
|
4115
|
+
regional_fields: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
|
|
4116
|
+
valid_from: z.ZodISODateTime;
|
|
4117
|
+
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
4118
|
+
created_at: z.ZodISODateTime;
|
|
4119
|
+
updated_at: z.ZodISODateTime;
|
|
4120
|
+
type: z.ZodLiteral<"Pwa::JobWageDeterminations::Regional">;
|
|
4121
|
+
}, z.core.$strip>], "type">>;
|
|
4122
|
+
}, z.core.$strip>;
|
|
4123
|
+
export declare const zRegionalJobWageDeterminationHistoryVersionObject: z.ZodObject<{
|
|
4124
|
+
id: z.ZodString;
|
|
4125
|
+
uid: z.ZodString;
|
|
4126
|
+
job_id: z.ZodString;
|
|
4127
|
+
trade_id: z.ZodString;
|
|
4128
|
+
type: z.ZodEnum<{
|
|
4129
|
+
"Pwa::JobWageDeterminations::Regional": "Pwa::JobWageDeterminations::Regional";
|
|
4130
|
+
}>;
|
|
4131
|
+
labor_classification: z.ZodString;
|
|
4132
|
+
hourly_rate_cents: z.ZodString;
|
|
4133
|
+
fringe_rate_cents: z.ZodString;
|
|
4134
|
+
general_wage_determination: z.ZodNullable<z.ZodString>;
|
|
4135
|
+
regional_fields: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
|
|
4136
|
+
valid_from: z.ZodISODateTime;
|
|
4137
|
+
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
4138
|
+
created_at: z.ZodISODateTime;
|
|
4139
|
+
updated_at: z.ZodISODateTime;
|
|
4140
|
+
version_status: z.ZodEnum<{
|
|
4141
|
+
scheduled: "scheduled";
|
|
4142
|
+
current: "current";
|
|
4143
|
+
historical: "historical";
|
|
4144
|
+
}>;
|
|
4145
|
+
corrections: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4146
|
+
id: z.ZodString;
|
|
4147
|
+
uid: z.ZodString;
|
|
4148
|
+
job_id: z.ZodString;
|
|
4149
|
+
trade_id: z.ZodString;
|
|
4150
|
+
labor_classification: z.ZodString;
|
|
4151
|
+
hourly_rate_cents: z.ZodString;
|
|
4152
|
+
fringe_rate_cents: z.ZodString;
|
|
4153
|
+
class_code: z.ZodNullable<z.ZodString>;
|
|
4154
|
+
construction_category: z.ZodEnum<{
|
|
4155
|
+
building: "building";
|
|
4156
|
+
heavy: "heavy";
|
|
4157
|
+
highway: "highway";
|
|
4158
|
+
residential: "residential";
|
|
4159
|
+
}>;
|
|
4160
|
+
general_wage_determination: z.ZodNullable<z.ZodString>;
|
|
4161
|
+
valid_from: z.ZodISODateTime;
|
|
4162
|
+
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
4163
|
+
created_at: z.ZodISODateTime;
|
|
4164
|
+
updated_at: z.ZodISODateTime;
|
|
4165
|
+
type: z.ZodLiteral<"Pwa::JobWageDeterminations::Federal">;
|
|
4166
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4167
|
+
id: z.ZodString;
|
|
4168
|
+
uid: z.ZodString;
|
|
4169
|
+
job_id: z.ZodString;
|
|
4170
|
+
trade_id: z.ZodString;
|
|
4171
|
+
labor_classification: z.ZodString;
|
|
4172
|
+
hourly_rate_cents: z.ZodString;
|
|
4173
|
+
fringe_rate_cents: z.ZodString;
|
|
4174
|
+
general_wage_determination: z.ZodNullable<z.ZodString>;
|
|
4175
|
+
regional_fields: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
|
|
4176
|
+
valid_from: z.ZodISODateTime;
|
|
4177
|
+
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
4178
|
+
created_at: z.ZodISODateTime;
|
|
4179
|
+
updated_at: z.ZodISODateTime;
|
|
4180
|
+
type: z.ZodLiteral<"Pwa::JobWageDeterminations::Regional">;
|
|
4181
|
+
}, z.core.$strip>], "type">>;
|
|
4182
|
+
}, z.core.$strip>;
|
|
4183
|
+
export declare const zJobWageDeterminationHistoryVersionObject: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4184
|
+
id: z.ZodString;
|
|
4185
|
+
uid: z.ZodString;
|
|
4186
|
+
job_id: z.ZodString;
|
|
4187
|
+
trade_id: z.ZodString;
|
|
4188
|
+
labor_classification: z.ZodString;
|
|
4189
|
+
hourly_rate_cents: z.ZodString;
|
|
4190
|
+
fringe_rate_cents: z.ZodString;
|
|
4191
|
+
class_code: z.ZodNullable<z.ZodString>;
|
|
4192
|
+
construction_category: z.ZodEnum<{
|
|
4193
|
+
building: "building";
|
|
4194
|
+
heavy: "heavy";
|
|
4195
|
+
highway: "highway";
|
|
4196
|
+
residential: "residential";
|
|
4197
|
+
}>;
|
|
4198
|
+
general_wage_determination: z.ZodNullable<z.ZodString>;
|
|
4199
|
+
valid_from: z.ZodISODateTime;
|
|
4200
|
+
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
4201
|
+
created_at: z.ZodISODateTime;
|
|
4202
|
+
updated_at: z.ZodISODateTime;
|
|
4203
|
+
version_status: z.ZodEnum<{
|
|
4204
|
+
scheduled: "scheduled";
|
|
4205
|
+
current: "current";
|
|
4206
|
+
historical: "historical";
|
|
4207
|
+
}>;
|
|
4208
|
+
corrections: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4209
|
+
id: z.ZodString;
|
|
4210
|
+
uid: z.ZodString;
|
|
4211
|
+
job_id: z.ZodString;
|
|
4212
|
+
trade_id: z.ZodString;
|
|
4213
|
+
labor_classification: z.ZodString;
|
|
4214
|
+
hourly_rate_cents: z.ZodString;
|
|
4215
|
+
fringe_rate_cents: z.ZodString;
|
|
4216
|
+
class_code: z.ZodNullable<z.ZodString>;
|
|
4217
|
+
construction_category: z.ZodEnum<{
|
|
4218
|
+
building: "building";
|
|
4219
|
+
heavy: "heavy";
|
|
4220
|
+
highway: "highway";
|
|
4221
|
+
residential: "residential";
|
|
4222
|
+
}>;
|
|
4223
|
+
general_wage_determination: z.ZodNullable<z.ZodString>;
|
|
4224
|
+
valid_from: z.ZodISODateTime;
|
|
4225
|
+
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
4226
|
+
created_at: z.ZodISODateTime;
|
|
4227
|
+
updated_at: z.ZodISODateTime;
|
|
4228
|
+
type: z.ZodLiteral<"Pwa::JobWageDeterminations::Federal">;
|
|
4229
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4230
|
+
id: z.ZodString;
|
|
4231
|
+
uid: z.ZodString;
|
|
4232
|
+
job_id: z.ZodString;
|
|
4233
|
+
trade_id: z.ZodString;
|
|
4234
|
+
labor_classification: z.ZodString;
|
|
4235
|
+
hourly_rate_cents: z.ZodString;
|
|
4236
|
+
fringe_rate_cents: z.ZodString;
|
|
4237
|
+
general_wage_determination: z.ZodNullable<z.ZodString>;
|
|
4238
|
+
regional_fields: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
|
|
4239
|
+
valid_from: z.ZodISODateTime;
|
|
4240
|
+
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
4241
|
+
created_at: z.ZodISODateTime;
|
|
4242
|
+
updated_at: z.ZodISODateTime;
|
|
4243
|
+
type: z.ZodLiteral<"Pwa::JobWageDeterminations::Regional">;
|
|
4244
|
+
}, z.core.$strip>], "type">>;
|
|
4245
|
+
type: z.ZodLiteral<"Pwa::JobWageDeterminations::Federal">;
|
|
4246
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4247
|
+
id: z.ZodString;
|
|
4248
|
+
uid: z.ZodString;
|
|
4249
|
+
job_id: z.ZodString;
|
|
4250
|
+
trade_id: z.ZodString;
|
|
4251
|
+
labor_classification: z.ZodString;
|
|
4252
|
+
hourly_rate_cents: z.ZodString;
|
|
4253
|
+
fringe_rate_cents: z.ZodString;
|
|
4254
|
+
general_wage_determination: z.ZodNullable<z.ZodString>;
|
|
4255
|
+
regional_fields: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
|
|
4256
|
+
valid_from: z.ZodISODateTime;
|
|
4257
|
+
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
4258
|
+
created_at: z.ZodISODateTime;
|
|
4259
|
+
updated_at: z.ZodISODateTime;
|
|
4260
|
+
version_status: z.ZodEnum<{
|
|
4261
|
+
scheduled: "scheduled";
|
|
4262
|
+
current: "current";
|
|
4263
|
+
historical: "historical";
|
|
4264
|
+
}>;
|
|
4265
|
+
corrections: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4266
|
+
id: z.ZodString;
|
|
4267
|
+
uid: z.ZodString;
|
|
4268
|
+
job_id: z.ZodString;
|
|
4269
|
+
trade_id: z.ZodString;
|
|
4270
|
+
labor_classification: z.ZodString;
|
|
4271
|
+
hourly_rate_cents: z.ZodString;
|
|
4272
|
+
fringe_rate_cents: z.ZodString;
|
|
4273
|
+
class_code: z.ZodNullable<z.ZodString>;
|
|
4274
|
+
construction_category: z.ZodEnum<{
|
|
4275
|
+
building: "building";
|
|
4276
|
+
heavy: "heavy";
|
|
4277
|
+
highway: "highway";
|
|
4278
|
+
residential: "residential";
|
|
4279
|
+
}>;
|
|
4280
|
+
general_wage_determination: z.ZodNullable<z.ZodString>;
|
|
4281
|
+
valid_from: z.ZodISODateTime;
|
|
4282
|
+
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
4283
|
+
created_at: z.ZodISODateTime;
|
|
4284
|
+
updated_at: z.ZodISODateTime;
|
|
4285
|
+
type: z.ZodLiteral<"Pwa::JobWageDeterminations::Federal">;
|
|
4286
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4287
|
+
id: z.ZodString;
|
|
4288
|
+
uid: z.ZodString;
|
|
4289
|
+
job_id: z.ZodString;
|
|
4290
|
+
trade_id: z.ZodString;
|
|
4291
|
+
labor_classification: z.ZodString;
|
|
4292
|
+
hourly_rate_cents: z.ZodString;
|
|
4293
|
+
fringe_rate_cents: z.ZodString;
|
|
4294
|
+
general_wage_determination: z.ZodNullable<z.ZodString>;
|
|
4295
|
+
regional_fields: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
|
|
4296
|
+
valid_from: z.ZodISODateTime;
|
|
4297
|
+
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
4298
|
+
created_at: z.ZodISODateTime;
|
|
4299
|
+
updated_at: z.ZodISODateTime;
|
|
4300
|
+
type: z.ZodLiteral<"Pwa::JobWageDeterminations::Regional">;
|
|
4301
|
+
}, z.core.$strip>], "type">>;
|
|
4302
|
+
type: z.ZodLiteral<"Pwa::JobWageDeterminations::Regional">;
|
|
4303
|
+
}, z.core.$strip>], "type">;
|
|
4304
|
+
/**
|
|
4305
|
+
* Parameters for creating a Federal (Davis-Bacon) wage determination on a job.
|
|
4306
|
+
*/
|
|
4307
|
+
export declare const zFederalJobWageDeterminationParameters: z.ZodObject<{
|
|
4308
|
+
type: z.ZodEnum<{
|
|
4309
|
+
"Pwa::JobWageDeterminations::Federal": "Pwa::JobWageDeterminations::Federal";
|
|
4310
|
+
}>;
|
|
4311
|
+
labor_classification: z.ZodString;
|
|
4312
|
+
trade_id: z.ZodString;
|
|
4313
|
+
hourly_rate_cents: z.ZodString;
|
|
4314
|
+
fringe_rate_cents: z.ZodString;
|
|
4315
|
+
class_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4316
|
+
construction_category: z.ZodOptional<z.ZodEnum<{
|
|
4317
|
+
building: "building";
|
|
4318
|
+
heavy: "heavy";
|
|
4319
|
+
highway: "highway";
|
|
4320
|
+
residential: "residential";
|
|
4321
|
+
}>>;
|
|
4322
|
+
general_wage_determination: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4323
|
+
}, z.core.$strip>;
|
|
4324
|
+
/**
|
|
4325
|
+
* Parameters for creating a Regional (state prevailing-wage) wage determination on a job.
|
|
4326
|
+
*/
|
|
4327
|
+
export declare const zRegionalJobWageDeterminationParameters: z.ZodObject<{
|
|
4328
|
+
type: z.ZodEnum<{
|
|
4329
|
+
"Pwa::JobWageDeterminations::Regional": "Pwa::JobWageDeterminations::Regional";
|
|
3800
4330
|
}>;
|
|
3801
4331
|
labor_classification: z.ZodString;
|
|
4332
|
+
trade_id: z.ZodString;
|
|
3802
4333
|
hourly_rate_cents: z.ZodString;
|
|
3803
4334
|
fringe_rate_cents: z.ZodOptional<z.ZodString>;
|
|
3804
4335
|
general_wage_determination: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -3809,6 +4340,7 @@ export declare const zRegionalJobWageDeterminationParameters: z.ZodObject<{
|
|
|
3809
4340
|
*/
|
|
3810
4341
|
export declare const zJobWageDeterminationParameters: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3811
4342
|
labor_classification: z.ZodString;
|
|
4343
|
+
trade_id: z.ZodString;
|
|
3812
4344
|
hourly_rate_cents: z.ZodString;
|
|
3813
4345
|
fringe_rate_cents: z.ZodString;
|
|
3814
4346
|
class_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -3822,6 +4354,7 @@ export declare const zJobWageDeterminationParameters: z.ZodDiscriminatedUnion<[z
|
|
|
3822
4354
|
type: z.ZodLiteral<"Pwa::JobWageDeterminations::Federal">;
|
|
3823
4355
|
}, z.core.$strip>, z.ZodObject<{
|
|
3824
4356
|
labor_classification: z.ZodString;
|
|
4357
|
+
trade_id: z.ZodString;
|
|
3825
4358
|
hourly_rate_cents: z.ZodString;
|
|
3826
4359
|
fringe_rate_cents: z.ZodOptional<z.ZodString>;
|
|
3827
4360
|
general_wage_determination: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -3925,7 +4458,7 @@ export declare const zRateRuleCondition: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3925
4458
|
type: z.ZodLiteral<"overtime_multiplier">;
|
|
3926
4459
|
}, z.core.$strip>], "type">;
|
|
3927
4460
|
/**
|
|
3928
|
-
* A conditional rate-modification rule on a job wage determination — it adds wage or fringe cents when its conditions match. `
|
|
4461
|
+
* A conditional rate-modification rule on a job wage determination — it adds wage or fringe cents when its conditions match. `valid_from` and `valid_to` bound the window over which this version of the rule is in effect.
|
|
3929
4462
|
*/
|
|
3930
4463
|
export declare const zRateRuleResponseObject: z.ZodObject<{
|
|
3931
4464
|
id: z.ZodString;
|
|
@@ -3963,18 +4496,16 @@ export declare const zRateRuleResponseObject: z.ZodObject<{
|
|
|
3963
4496
|
}>;
|
|
3964
4497
|
type: z.ZodLiteral<"overtime_multiplier">;
|
|
3965
4498
|
}, z.core.$strip>], "type">>;
|
|
3966
|
-
|
|
3967
|
-
|
|
3968
|
-
end: z.ZodNullable<z.ZodISODateTime>;
|
|
3969
|
-
}, z.core.$strip>;
|
|
4499
|
+
valid_from: z.ZodISODateTime;
|
|
4500
|
+
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
3970
4501
|
created_at: z.ZodISODateTime;
|
|
3971
4502
|
updated_at: z.ZodISODateTime;
|
|
3972
4503
|
}, z.core.$strip>;
|
|
3973
|
-
|
|
3974
|
-
|
|
3975
|
-
|
|
3976
|
-
|
|
3977
|
-
|
|
4504
|
+
export declare const zRateRuleHistoryVersionObject: z.ZodObject<{
|
|
4505
|
+
id: z.ZodString;
|
|
4506
|
+
uid: z.ZodString;
|
|
4507
|
+
job_wage_determination_id: z.ZodString;
|
|
4508
|
+
pay_rates_rule_package_id: z.ZodString;
|
|
3978
4509
|
effect: z.ZodObject<{
|
|
3979
4510
|
type: z.ZodEnum<{
|
|
3980
4511
|
wage_increment: "wage_increment";
|
|
@@ -3982,7 +4513,7 @@ export declare const zRateRuleParameters: z.ZodObject<{
|
|
|
3982
4513
|
}>;
|
|
3983
4514
|
amount_cents: z.ZodString;
|
|
3984
4515
|
}, z.core.$strip>;
|
|
3985
|
-
conditions: z.
|
|
4516
|
+
conditions: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3986
4517
|
start_time: z.ZodString;
|
|
3987
4518
|
end_time: z.ZodString;
|
|
3988
4519
|
type: z.ZodLiteral<"time_range">;
|
|
@@ -4005,27 +4536,304 @@ export declare const zRateRuleParameters: z.ZodObject<{
|
|
|
4005
4536
|
"2.0": "2.0";
|
|
4006
4537
|
}>;
|
|
4007
4538
|
type: z.ZodLiteral<"overtime_multiplier">;
|
|
4008
|
-
}, z.core.$strip>], "type"
|
|
4009
|
-
|
|
4010
|
-
|
|
4011
|
-
|
|
4012
|
-
|
|
4013
|
-
|
|
4014
|
-
|
|
4015
|
-
|
|
4016
|
-
|
|
4017
|
-
assets_product_id: z.ZodString;
|
|
4018
|
-
company_id: z.ZodString;
|
|
4019
|
-
type: z.ZodEnum<{
|
|
4020
|
-
serial: "serial";
|
|
4021
|
-
bulk: "bulk";
|
|
4539
|
+
}, z.core.$strip>], "type">>;
|
|
4540
|
+
valid_from: z.ZodISODateTime;
|
|
4541
|
+
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
4542
|
+
created_at: z.ZodISODateTime;
|
|
4543
|
+
updated_at: z.ZodISODateTime;
|
|
4544
|
+
version_status: z.ZodEnum<{
|
|
4545
|
+
scheduled: "scheduled";
|
|
4546
|
+
current: "current";
|
|
4547
|
+
historical: "historical";
|
|
4022
4548
|
}>;
|
|
4023
|
-
|
|
4549
|
+
corrections: z.ZodArray<z.ZodObject<{
|
|
4550
|
+
id: z.ZodString;
|
|
4551
|
+
uid: z.ZodString;
|
|
4552
|
+
job_wage_determination_id: z.ZodString;
|
|
4553
|
+
pay_rates_rule_package_id: z.ZodString;
|
|
4554
|
+
effect: z.ZodObject<{
|
|
4555
|
+
type: z.ZodEnum<{
|
|
4556
|
+
wage_increment: "wage_increment";
|
|
4557
|
+
fringe_increment: "fringe_increment";
|
|
4558
|
+
}>;
|
|
4559
|
+
amount_cents: z.ZodString;
|
|
4560
|
+
}, z.core.$strip>;
|
|
4561
|
+
conditions: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4562
|
+
start_time: z.ZodString;
|
|
4563
|
+
end_time: z.ZodString;
|
|
4564
|
+
type: z.ZodLiteral<"time_range">;
|
|
4565
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4566
|
+
days: z.ZodArray<z.ZodInt>;
|
|
4567
|
+
type: z.ZodLiteral<"days">;
|
|
4568
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4569
|
+
date: z.ZodISODate;
|
|
4570
|
+
type: z.ZodLiteral<"specific_date">;
|
|
4571
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4572
|
+
period: z.ZodInt;
|
|
4573
|
+
type: z.ZodLiteral<"apprentice_period">;
|
|
4574
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4575
|
+
min_hours: z.ZodInt;
|
|
4576
|
+
max_hours: z.ZodInt;
|
|
4577
|
+
type: z.ZodLiteral<"apprentice_hours">;
|
|
4578
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4579
|
+
multiplier: z.ZodEnum<{
|
|
4580
|
+
1.5: "1.5";
|
|
4581
|
+
"2.0": "2.0";
|
|
4582
|
+
}>;
|
|
4583
|
+
type: z.ZodLiteral<"overtime_multiplier">;
|
|
4584
|
+
}, z.core.$strip>], "type">>;
|
|
4585
|
+
valid_from: z.ZodISODateTime;
|
|
4586
|
+
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
4587
|
+
created_at: z.ZodISODateTime;
|
|
4588
|
+
updated_at: z.ZodISODateTime;
|
|
4589
|
+
}, z.core.$strip>>;
|
|
4590
|
+
}, z.core.$strip>;
|
|
4591
|
+
/**
|
|
4592
|
+
* Create a rate rule on a job wage determination. `effect` is required. `conditions` is optional — an omitted or empty list makes the rule always apply. `effective_date` (YYYY-MM-DD) sets when the rule takes effect; it defaults to today and cannot predate the earliest applicable wage determination.
|
|
4593
|
+
*/
|
|
4594
|
+
export declare const zRateRuleParameters: z.ZodObject<{
|
|
4595
|
+
effective_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
|
|
4596
|
+
effect: z.ZodObject<{
|
|
4597
|
+
type: z.ZodEnum<{
|
|
4598
|
+
wage_increment: "wage_increment";
|
|
4599
|
+
fringe_increment: "fringe_increment";
|
|
4600
|
+
}>;
|
|
4601
|
+
amount_cents: z.ZodString;
|
|
4602
|
+
}, z.core.$strip>;
|
|
4603
|
+
conditions: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4604
|
+
start_time: z.ZodString;
|
|
4605
|
+
end_time: z.ZodString;
|
|
4606
|
+
type: z.ZodLiteral<"time_range">;
|
|
4607
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4608
|
+
days: z.ZodArray<z.ZodInt>;
|
|
4609
|
+
type: z.ZodLiteral<"days">;
|
|
4610
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4611
|
+
date: z.ZodISODate;
|
|
4612
|
+
type: z.ZodLiteral<"specific_date">;
|
|
4613
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4614
|
+
period: z.ZodInt;
|
|
4615
|
+
type: z.ZodLiteral<"apprentice_period">;
|
|
4616
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4617
|
+
min_hours: z.ZodInt;
|
|
4618
|
+
max_hours: z.ZodInt;
|
|
4619
|
+
type: z.ZodLiteral<"apprentice_hours">;
|
|
4620
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4621
|
+
multiplier: z.ZodEnum<{
|
|
4622
|
+
1.5: "1.5";
|
|
4623
|
+
"2.0": "2.0";
|
|
4624
|
+
}>;
|
|
4625
|
+
type: z.ZodLiteral<"overtime_multiplier">;
|
|
4626
|
+
}, z.core.$strip>], "type">>>;
|
|
4627
|
+
}, z.core.$strip>;
|
|
4628
|
+
/**
|
|
4629
|
+
* A vendor in the company's asset catalog — a supplier or manufacturer that products are sourced from.
|
|
4630
|
+
*/
|
|
4631
|
+
export declare const zAssetsVendorResponseObject: z.ZodObject<{
|
|
4632
|
+
id: z.ZodString;
|
|
4633
|
+
name: z.ZodString;
|
|
4634
|
+
company_id: z.ZodString;
|
|
4635
|
+
logo_url: z.ZodNullable<z.ZodString>;
|
|
4636
|
+
created_at: z.ZodISODateTime;
|
|
4637
|
+
updated_at: z.ZodISODateTime;
|
|
4638
|
+
}, z.core.$strip>;
|
|
4639
|
+
/**
|
|
4640
|
+
* Create or update a vendor. Only name is required.
|
|
4641
|
+
*/
|
|
4642
|
+
export declare const zAssetsVendorParameters: z.ZodObject<{
|
|
4643
|
+
name: z.ZodString;
|
|
4644
|
+
logo_signed_id: z.ZodOptional<z.ZodString>;
|
|
4645
|
+
}, z.core.$strip>;
|
|
4646
|
+
/**
|
|
4647
|
+
* A physical container that holds a company's assets and inventory — either a fixed, Atlas-mapped location (warehouse or yard) or a standalone mobile container (trailer, truck, van, or conex).
|
|
4648
|
+
*/
|
|
4649
|
+
export declare const zAssetsSiteResponseObject: z.ZodObject<{
|
|
4650
|
+
id: z.ZodString;
|
|
4651
|
+
company_id: z.ZodString;
|
|
4652
|
+
site_id: z.ZodNullable<z.ZodString>;
|
|
4653
|
+
kind: z.ZodEnum<{
|
|
4654
|
+
warehouse: "warehouse";
|
|
4655
|
+
yard: "yard";
|
|
4656
|
+
trailer: "trailer";
|
|
4657
|
+
truck: "truck";
|
|
4658
|
+
van: "van";
|
|
4659
|
+
conex: "conex";
|
|
4660
|
+
}>;
|
|
4661
|
+
name: z.ZodString;
|
|
4662
|
+
site_type: z.ZodNullable<z.ZodString>;
|
|
4663
|
+
created_at: z.ZodISODateTime;
|
|
4664
|
+
updated_at: z.ZodISODateTime;
|
|
4665
|
+
}, z.core.$strip>;
|
|
4666
|
+
export declare const zAssetsSiteParameters: z.ZodIntersection<z.ZodUnion<readonly [z.ZodObject<{
|
|
4667
|
+
kind: z.ZodEnum<{
|
|
4668
|
+
warehouse: "warehouse";
|
|
4669
|
+
yard: "yard";
|
|
4670
|
+
}>;
|
|
4671
|
+
site_id: z.ZodString;
|
|
4672
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4673
|
+
kind: z.ZodEnum<{
|
|
4674
|
+
trailer: "trailer";
|
|
4675
|
+
truck: "truck";
|
|
4676
|
+
van: "van";
|
|
4677
|
+
conex: "conex";
|
|
4678
|
+
}>;
|
|
4679
|
+
name: z.ZodString;
|
|
4680
|
+
}, z.core.$strip>]>, z.ZodObject<{
|
|
4681
|
+
kind: z.ZodEnum<{
|
|
4682
|
+
warehouse: "warehouse";
|
|
4683
|
+
yard: "yard";
|
|
4684
|
+
trailer: "trailer";
|
|
4685
|
+
truck: "truck";
|
|
4686
|
+
van: "van";
|
|
4687
|
+
conex: "conex";
|
|
4688
|
+
}>;
|
|
4689
|
+
site_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4690
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4691
|
+
}, z.core.$strip>>;
|
|
4692
|
+
/**
|
|
4693
|
+
* 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.
|
|
4694
|
+
*/
|
|
4695
|
+
export declare const zAssetsFormAssignmentTriggerResponseObject: z.ZodObject<{
|
|
4696
|
+
id: z.ZodString;
|
|
4697
|
+
company_id: z.ZodString;
|
|
4698
|
+
form_definition_id: z.ZodString;
|
|
4699
|
+
name: z.ZodNullable<z.ZodString>;
|
|
4700
|
+
triggered_by: z.ZodEnum<{
|
|
4701
|
+
assignment: "assignment";
|
|
4702
|
+
unassignment: "unassignment";
|
|
4703
|
+
}>;
|
|
4704
|
+
assign_to: z.ZodEnum<{
|
|
4705
|
+
custom: "custom";
|
|
4706
|
+
asset_assignee: "asset_assignee";
|
|
4707
|
+
previous_asset_assignee: "previous_asset_assignee";
|
|
4708
|
+
}>;
|
|
4709
|
+
recurrence_frequency: z.ZodEnum<{
|
|
4710
|
+
DAILY: "DAILY";
|
|
4711
|
+
WORKDAILY: "WORKDAILY";
|
|
4712
|
+
WORKDAILYSIX: "WORKDAILYSIX";
|
|
4713
|
+
WEEKLY: "WEEKLY";
|
|
4714
|
+
BIWEEKLY: "BIWEEKLY";
|
|
4715
|
+
MONTHLY: "MONTHLY";
|
|
4716
|
+
QUARTERLY: "QUARTERLY";
|
|
4717
|
+
}>;
|
|
4718
|
+
first_due_by: z.ZodEnum<{
|
|
4719
|
+
day_of_event: "day_of_event";
|
|
4720
|
+
day_of_week: "day_of_week";
|
|
4721
|
+
day_of_month: "day_of_month";
|
|
4722
|
+
}>;
|
|
4723
|
+
day_of_week_due: z.ZodNullable<z.ZodInt>;
|
|
4724
|
+
day_of_month_due: z.ZodNullable<z.ZodInt>;
|
|
4725
|
+
tz_name: z.ZodString;
|
|
4726
|
+
time_of_day_due: z.ZodString;
|
|
4727
|
+
assigned_user_ids: z.ZodArray<z.ZodString>;
|
|
4728
|
+
product_ids: z.ZodArray<z.ZodString>;
|
|
4729
|
+
created_at: z.ZodISODateTime;
|
|
4730
|
+
updated_at: z.ZodISODateTime;
|
|
4731
|
+
}, z.core.$strip>;
|
|
4732
|
+
/**
|
|
4733
|
+
* Create or update a form-assignment trigger rule. form_definition_id, triggered_by, assign_to, first_due_by, tz_name, and time_of_day_due are required; the day fields depend on first_due_by, and assigned_user_ids applies only to the custom assign_to mode.
|
|
4734
|
+
*/
|
|
4735
|
+
export declare const zAssetsFormAssignmentTriggerParameters: z.ZodObject<{
|
|
4736
|
+
form_definition_id: z.ZodString;
|
|
4737
|
+
triggered_by: z.ZodEnum<{
|
|
4738
|
+
assignment: "assignment";
|
|
4739
|
+
unassignment: "unassignment";
|
|
4740
|
+
}>;
|
|
4741
|
+
assign_to: z.ZodEnum<{
|
|
4742
|
+
custom: "custom";
|
|
4743
|
+
asset_assignee: "asset_assignee";
|
|
4744
|
+
previous_asset_assignee: "previous_asset_assignee";
|
|
4745
|
+
}>;
|
|
4746
|
+
first_due_by: z.ZodEnum<{
|
|
4747
|
+
day_of_event: "day_of_event";
|
|
4748
|
+
day_of_week: "day_of_week";
|
|
4749
|
+
day_of_month: "day_of_month";
|
|
4750
|
+
}>;
|
|
4751
|
+
tz_name: z.ZodString;
|
|
4752
|
+
time_of_day_due: z.ZodString;
|
|
4753
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4754
|
+
recurrence_frequency: z.ZodOptional<z.ZodEnum<{
|
|
4755
|
+
DAILY: "DAILY";
|
|
4756
|
+
WORKDAILY: "WORKDAILY";
|
|
4757
|
+
WORKDAILYSIX: "WORKDAILYSIX";
|
|
4758
|
+
WEEKLY: "WEEKLY";
|
|
4759
|
+
BIWEEKLY: "BIWEEKLY";
|
|
4760
|
+
MONTHLY: "MONTHLY";
|
|
4761
|
+
QUARTERLY: "QUARTERLY";
|
|
4762
|
+
}>>;
|
|
4763
|
+
day_of_week_due: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
4764
|
+
day_of_month_due: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
4765
|
+
assigned_user_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4766
|
+
product_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4767
|
+
}, z.core.$strip>;
|
|
4768
|
+
/**
|
|
4769
|
+
* A file attached to an asset — an item or product image, or a service-event attachment. Uploaded through the direct-upload flow; the response carries a URL to download it.
|
|
4770
|
+
*/
|
|
4771
|
+
export declare const zAssetsAttachmentResponseObject: z.ZodObject<{
|
|
4772
|
+
id: z.ZodString;
|
|
4773
|
+
file: z.ZodNullable<z.ZodObject<{
|
|
4774
|
+
filename: z.ZodString;
|
|
4775
|
+
content_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4776
|
+
byte_size: z.ZodInt;
|
|
4777
|
+
url: z.ZodString;
|
|
4778
|
+
}, z.core.$strip>>;
|
|
4779
|
+
created_at: z.ZodISODateTime;
|
|
4780
|
+
updated_at: z.ZodISODateTime;
|
|
4781
|
+
}, z.core.$strip>;
|
|
4782
|
+
/**
|
|
4783
|
+
* A product in the company's asset catalog — a template that tracked items instantiate. `serialized` distinguishes an individually-tracked (serial) product from a quantity-counted (bulk) one.
|
|
4784
|
+
*/
|
|
4785
|
+
export declare const zAssetsProductResponseObject: z.ZodObject<{
|
|
4786
|
+
id: z.ZodString;
|
|
4787
|
+
company_id: z.ZodString;
|
|
4788
|
+
name: z.ZodString;
|
|
4789
|
+
upc: z.ZodNullable<z.ZodString>;
|
|
4790
|
+
internal_sku: z.ZodNullable<z.ZodString>;
|
|
4791
|
+
default_minimum_quantity: z.ZodNullable<z.ZodInt>;
|
|
4792
|
+
make: z.ZodNullable<z.ZodString>;
|
|
4793
|
+
model: z.ZodNullable<z.ZodString>;
|
|
4794
|
+
counted_by: z.ZodEnum<{
|
|
4795
|
+
each: "each";
|
|
4796
|
+
pair: "pair";
|
|
4797
|
+
pack: "pack";
|
|
4798
|
+
}>;
|
|
4799
|
+
serialized: z.ZodBoolean;
|
|
4800
|
+
assets_category_id: z.ZodNullable<z.ZodString>;
|
|
4801
|
+
attributes: z.ZodArray<z.ZodObject<{
|
|
4802
|
+
assets_attribute_id: z.ZodString;
|
|
4803
|
+
value: z.ZodNullable<z.ZodString>;
|
|
4804
|
+
assets_attribute_option_id: z.ZodNullable<z.ZodString>;
|
|
4805
|
+
}, z.core.$strip>>;
|
|
4806
|
+
images: z.ZodArray<z.ZodObject<{
|
|
4807
|
+
id: z.ZodString;
|
|
4808
|
+
file: z.ZodNullable<z.ZodObject<{
|
|
4809
|
+
filename: z.ZodString;
|
|
4810
|
+
content_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4811
|
+
byte_size: z.ZodInt;
|
|
4812
|
+
url: z.ZodString;
|
|
4813
|
+
}, z.core.$strip>>;
|
|
4814
|
+
created_at: z.ZodISODateTime;
|
|
4815
|
+
updated_at: z.ZodISODateTime;
|
|
4816
|
+
}, z.core.$strip>>;
|
|
4817
|
+
created_at: z.ZodISODateTime;
|
|
4818
|
+
updated_at: z.ZodISODateTime;
|
|
4819
|
+
}, z.core.$strip>;
|
|
4820
|
+
/**
|
|
4821
|
+
* A tracked physical asset owned by a company and typed by a product — either an individually-tracked serial unit or a quantity-tracked bulk stock record. The serial-only fields (serial_number, status, purchase_date, purchase_price_cents, currency, external_id, external_system_url) are null on a bulk item.
|
|
4822
|
+
*/
|
|
4823
|
+
export declare const zAssetsItemResponseObject: z.ZodObject<{
|
|
4824
|
+
id: z.ZodString;
|
|
4825
|
+
name: z.ZodString;
|
|
4826
|
+
description: z.ZodNullable<z.ZodString>;
|
|
4827
|
+
assets_product_id: z.ZodString;
|
|
4828
|
+
company_id: z.ZodString;
|
|
4829
|
+
type: z.ZodEnum<{
|
|
4830
|
+
serial: "serial";
|
|
4831
|
+
bulk: "bulk";
|
|
4832
|
+
}>;
|
|
4833
|
+
serial_number: z.ZodNullable<z.ZodString>;
|
|
4024
4834
|
status: z.ZodEnum<{
|
|
4025
|
-
maintenance: "maintenance";
|
|
4026
4835
|
available: "available";
|
|
4027
4836
|
assigned: "assigned";
|
|
4028
|
-
transit: "transit";
|
|
4029
4837
|
retired: "retired";
|
|
4030
4838
|
}>;
|
|
4031
4839
|
purchase_date: z.ZodNullable<z.ZodISODateTime>;
|
|
@@ -4033,9 +4841,89 @@ export declare const zAssetsItemResponseObject: z.ZodObject<{
|
|
|
4033
4841
|
currency: z.ZodNullable<z.ZodString>;
|
|
4034
4842
|
external_id: z.ZodNullable<z.ZodString>;
|
|
4035
4843
|
external_system_url: z.ZodNullable<z.ZodString>;
|
|
4844
|
+
images: z.ZodArray<z.ZodObject<{
|
|
4845
|
+
id: z.ZodString;
|
|
4846
|
+
file: z.ZodNullable<z.ZodObject<{
|
|
4847
|
+
filename: z.ZodString;
|
|
4848
|
+
content_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4849
|
+
byte_size: z.ZodInt;
|
|
4850
|
+
url: z.ZodString;
|
|
4851
|
+
}, z.core.$strip>>;
|
|
4852
|
+
created_at: z.ZodISODateTime;
|
|
4853
|
+
updated_at: z.ZodISODateTime;
|
|
4854
|
+
}, z.core.$strip>>;
|
|
4036
4855
|
created_at: z.ZodISODateTime;
|
|
4037
4856
|
updated_at: z.ZodISODateTime;
|
|
4038
4857
|
}, z.core.$strip>;
|
|
4858
|
+
/**
|
|
4859
|
+
* One attachment in a nested collection. Send file with a signed_id to add one; send id (with _destroy) to remove an existing one.
|
|
4860
|
+
*/
|
|
4861
|
+
export declare const zAssetsAttachmentParameters: z.ZodObject<{
|
|
4862
|
+
id: z.ZodOptional<z.ZodString>;
|
|
4863
|
+
file: z.ZodOptional<z.ZodString>;
|
|
4864
|
+
_destroy: z.ZodOptional<z.ZodBoolean>;
|
|
4865
|
+
}, z.core.$strip>;
|
|
4866
|
+
/**
|
|
4867
|
+
* Create a catalog product. `type` (serial or bulk) is required and immutable. `attribute_values` upserts the product's category-attribute values.
|
|
4868
|
+
*/
|
|
4869
|
+
export declare const zAssetsProductParameters: z.ZodObject<{
|
|
4870
|
+
type: z.ZodEnum<{
|
|
4871
|
+
serial: "serial";
|
|
4872
|
+
bulk: "bulk";
|
|
4873
|
+
}>;
|
|
4874
|
+
name: z.ZodString;
|
|
4875
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4876
|
+
assets_category_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4877
|
+
upc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4878
|
+
internal_sku: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4879
|
+
default_minimum_quantity: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
4880
|
+
make: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4881
|
+
model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4882
|
+
counted_by: z.ZodOptional<z.ZodEnum<{
|
|
4883
|
+
each: "each";
|
|
4884
|
+
pair: "pair";
|
|
4885
|
+
pack: "pack";
|
|
4886
|
+
}>>;
|
|
4887
|
+
attribute_values: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4888
|
+
assets_attribute_id: z.ZodString;
|
|
4889
|
+
value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4890
|
+
assets_attribute_option_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4891
|
+
}, z.core.$strip>>>;
|
|
4892
|
+
images_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4893
|
+
id: z.ZodOptional<z.ZodString>;
|
|
4894
|
+
file: z.ZodOptional<z.ZodString>;
|
|
4895
|
+
_destroy: z.ZodOptional<z.ZodBoolean>;
|
|
4896
|
+
}, z.core.$strip>>>;
|
|
4897
|
+
performed_by_user_id: z.ZodString;
|
|
4898
|
+
}, z.core.$strip>;
|
|
4899
|
+
/**
|
|
4900
|
+
* Update a catalog product. All fields are optional — send only what changes. `type` is immutable and `performed_by_user_id` is create-only, so neither is accepted here. `attribute_values` upserts the product's category-attribute values.
|
|
4901
|
+
*/
|
|
4902
|
+
export declare const zAssetsProductUpdateParameters: z.ZodObject<{
|
|
4903
|
+
name: z.ZodOptional<z.ZodString>;
|
|
4904
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4905
|
+
assets_category_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4906
|
+
upc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4907
|
+
internal_sku: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4908
|
+
default_minimum_quantity: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
4909
|
+
make: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4910
|
+
model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4911
|
+
counted_by: z.ZodOptional<z.ZodEnum<{
|
|
4912
|
+
each: "each";
|
|
4913
|
+
pair: "pair";
|
|
4914
|
+
pack: "pack";
|
|
4915
|
+
}>>;
|
|
4916
|
+
attribute_values: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4917
|
+
assets_attribute_id: z.ZodString;
|
|
4918
|
+
value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4919
|
+
assets_attribute_option_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4920
|
+
}, z.core.$strip>>>;
|
|
4921
|
+
images_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4922
|
+
id: z.ZodOptional<z.ZodString>;
|
|
4923
|
+
file: z.ZodOptional<z.ZodString>;
|
|
4924
|
+
_destroy: z.ZodOptional<z.ZodBoolean>;
|
|
4925
|
+
}, z.core.$strip>>>;
|
|
4926
|
+
}, z.core.$strip>;
|
|
4039
4927
|
/**
|
|
4040
4928
|
* Create or update an asset item. The write API creates serial items only; assets_product_id and serial_number are set on create and ignored on update. On create you may also place the item — assets_site_id to stock it at a site, or user_id to assign it to a user (the two are mutually exclusive). performed_by_user_id is required.
|
|
4041
4929
|
*/
|
|
@@ -4045,174 +4933,39 @@ export declare const zAssetsItemParameters: z.ZodObject<{
|
|
|
4045
4933
|
assets_product_id: z.ZodString;
|
|
4046
4934
|
serial_number: z.ZodString;
|
|
4047
4935
|
status: z.ZodOptional<z.ZodEnum<{
|
|
4048
|
-
maintenance: "maintenance";
|
|
4049
4936
|
available: "available";
|
|
4050
4937
|
assigned: "assigned";
|
|
4051
|
-
transit: "transit";
|
|
4052
4938
|
retired: "retired";
|
|
4053
4939
|
}>>;
|
|
4054
4940
|
purchase_date: z.ZodOptional<z.ZodISODateTime>;
|
|
4055
4941
|
purchase_price_cents: z.ZodOptional<z.ZodInt>;
|
|
4056
4942
|
external_id: z.ZodOptional<z.ZodString>;
|
|
4057
4943
|
external_system_url: z.ZodOptional<z.ZodString>;
|
|
4944
|
+
images_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4945
|
+
id: z.ZodOptional<z.ZodString>;
|
|
4946
|
+
file: z.ZodOptional<z.ZodString>;
|
|
4947
|
+
_destroy: z.ZodOptional<z.ZodBoolean>;
|
|
4948
|
+
}, z.core.$strip>>>;
|
|
4058
4949
|
assets_site_id: z.ZodOptional<z.ZodString>;
|
|
4059
4950
|
user_id: z.ZodOptional<z.ZodString>;
|
|
4060
4951
|
performed_by_user_id: z.ZodString;
|
|
4061
4952
|
}, z.core.$strip>;
|
|
4062
|
-
/**
|
|
4063
|
-
* A vendor in the company's asset catalog — a supplier or manufacturer that products are sourced from.
|
|
4064
|
-
*/
|
|
4065
|
-
export declare const zAssetsVendorResponseObject: z.ZodObject<{
|
|
4066
|
-
id: z.ZodString;
|
|
4067
|
-
name: z.ZodString;
|
|
4068
|
-
company_id: z.ZodString;
|
|
4069
|
-
created_at: z.ZodISODateTime;
|
|
4070
|
-
updated_at: z.ZodISODateTime;
|
|
4071
|
-
}, z.core.$strip>;
|
|
4072
|
-
/**
|
|
4073
|
-
* Create or update a vendor. Only name is required.
|
|
4074
|
-
*/
|
|
4075
|
-
export declare const zAssetsVendorParameters: z.ZodObject<{
|
|
4076
|
-
name: z.ZodString;
|
|
4077
|
-
}, z.core.$strip>;
|
|
4078
|
-
/**
|
|
4079
|
-
* A physical container that holds a company's assets and inventory — either a fixed, Atlas-mapped location (warehouse or yard) or a standalone mobile container (trailer, truck, van, or conex).
|
|
4080
|
-
*/
|
|
4081
|
-
export declare const zAssetsSiteResponseObject: z.ZodObject<{
|
|
4082
|
-
id: z.ZodString;
|
|
4083
|
-
company_id: z.ZodString;
|
|
4084
|
-
site_id: z.ZodNullable<z.ZodString>;
|
|
4085
|
-
kind: z.ZodEnum<{
|
|
4086
|
-
warehouse: "warehouse";
|
|
4087
|
-
yard: "yard";
|
|
4088
|
-
trailer: "trailer";
|
|
4089
|
-
truck: "truck";
|
|
4090
|
-
van: "van";
|
|
4091
|
-
conex: "conex";
|
|
4092
|
-
}>;
|
|
4093
|
-
name: z.ZodString;
|
|
4094
|
-
site_type: z.ZodNullable<z.ZodString>;
|
|
4095
|
-
created_at: z.ZodISODateTime;
|
|
4096
|
-
updated_at: z.ZodISODateTime;
|
|
4097
|
-
}, z.core.$strip>;
|
|
4098
|
-
export declare const zAssetsSiteParameters: z.ZodIntersection<z.ZodUnion<readonly [z.ZodObject<{
|
|
4099
|
-
kind: z.ZodEnum<{
|
|
4100
|
-
warehouse: "warehouse";
|
|
4101
|
-
yard: "yard";
|
|
4102
|
-
}>;
|
|
4103
|
-
site_id: z.ZodString;
|
|
4104
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
4105
|
-
kind: z.ZodEnum<{
|
|
4106
|
-
trailer: "trailer";
|
|
4107
|
-
truck: "truck";
|
|
4108
|
-
van: "van";
|
|
4109
|
-
conex: "conex";
|
|
4110
|
-
}>;
|
|
4111
|
-
name: z.ZodString;
|
|
4112
|
-
}, z.core.$strip>]>, z.ZodObject<{
|
|
4113
|
-
kind: z.ZodEnum<{
|
|
4114
|
-
warehouse: "warehouse";
|
|
4115
|
-
yard: "yard";
|
|
4116
|
-
trailer: "trailer";
|
|
4117
|
-
truck: "truck";
|
|
4118
|
-
van: "van";
|
|
4119
|
-
conex: "conex";
|
|
4120
|
-
}>;
|
|
4121
|
-
site_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4122
|
-
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4123
|
-
}, z.core.$strip>>;
|
|
4124
|
-
/**
|
|
4125
|
-
* 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.
|
|
4126
|
-
*/
|
|
4127
|
-
export declare const zAssetsFormAssignmentTriggerResponseObject: z.ZodObject<{
|
|
4128
|
-
id: z.ZodString;
|
|
4129
|
-
company_id: z.ZodString;
|
|
4130
|
-
form_definition_id: z.ZodString;
|
|
4131
|
-
name: z.ZodNullable<z.ZodString>;
|
|
4132
|
-
triggered_by: z.ZodEnum<{
|
|
4133
|
-
assignment: "assignment";
|
|
4134
|
-
unassignment: "unassignment";
|
|
4135
|
-
}>;
|
|
4136
|
-
assign_to: z.ZodEnum<{
|
|
4137
|
-
custom: "custom";
|
|
4138
|
-
asset_assignee: "asset_assignee";
|
|
4139
|
-
previous_asset_assignee: "previous_asset_assignee";
|
|
4140
|
-
}>;
|
|
4141
|
-
recurrence_frequency: z.ZodEnum<{
|
|
4142
|
-
DAILY: "DAILY";
|
|
4143
|
-
WORKDAILY: "WORKDAILY";
|
|
4144
|
-
WORKDAILYSIX: "WORKDAILYSIX";
|
|
4145
|
-
WEEKLY: "WEEKLY";
|
|
4146
|
-
BIWEEKLY: "BIWEEKLY";
|
|
4147
|
-
MONTHLY: "MONTHLY";
|
|
4148
|
-
QUARTERLY: "QUARTERLY";
|
|
4149
|
-
}>;
|
|
4150
|
-
first_due_by: z.ZodEnum<{
|
|
4151
|
-
day_of_event: "day_of_event";
|
|
4152
|
-
day_of_week: "day_of_week";
|
|
4153
|
-
day_of_month: "day_of_month";
|
|
4154
|
-
}>;
|
|
4155
|
-
day_of_week_due: z.ZodNullable<z.ZodInt>;
|
|
4156
|
-
day_of_month_due: z.ZodNullable<z.ZodInt>;
|
|
4157
|
-
tz_name: z.ZodString;
|
|
4158
|
-
time_of_day_due: z.ZodString;
|
|
4159
|
-
assigned_user_ids: z.ZodArray<z.ZodString>;
|
|
4160
|
-
product_ids: z.ZodArray<z.ZodString>;
|
|
4161
|
-
created_at: z.ZodISODateTime;
|
|
4162
|
-
updated_at: z.ZodISODateTime;
|
|
4163
|
-
}, z.core.$strip>;
|
|
4164
|
-
/**
|
|
4165
|
-
* Create or update a form-assignment trigger rule. form_definition_id, triggered_by, assign_to, first_due_by, tz_name, and time_of_day_due are required; the day fields depend on first_due_by, and assigned_user_ids applies only to the custom assign_to mode.
|
|
4166
|
-
*/
|
|
4167
|
-
export declare const zAssetsFormAssignmentTriggerParameters: z.ZodObject<{
|
|
4168
|
-
form_definition_id: z.ZodString;
|
|
4169
|
-
triggered_by: z.ZodEnum<{
|
|
4170
|
-
assignment: "assignment";
|
|
4171
|
-
unassignment: "unassignment";
|
|
4172
|
-
}>;
|
|
4173
|
-
assign_to: z.ZodEnum<{
|
|
4174
|
-
custom: "custom";
|
|
4175
|
-
asset_assignee: "asset_assignee";
|
|
4176
|
-
previous_asset_assignee: "previous_asset_assignee";
|
|
4177
|
-
}>;
|
|
4178
|
-
first_due_by: z.ZodEnum<{
|
|
4179
|
-
day_of_event: "day_of_event";
|
|
4180
|
-
day_of_week: "day_of_week";
|
|
4181
|
-
day_of_month: "day_of_month";
|
|
4182
|
-
}>;
|
|
4183
|
-
tz_name: z.ZodString;
|
|
4184
|
-
time_of_day_due: z.ZodString;
|
|
4185
|
-
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4186
|
-
recurrence_frequency: z.ZodOptional<z.ZodEnum<{
|
|
4187
|
-
DAILY: "DAILY";
|
|
4188
|
-
WORKDAILY: "WORKDAILY";
|
|
4189
|
-
WORKDAILYSIX: "WORKDAILYSIX";
|
|
4190
|
-
WEEKLY: "WEEKLY";
|
|
4191
|
-
BIWEEKLY: "BIWEEKLY";
|
|
4192
|
-
MONTHLY: "MONTHLY";
|
|
4193
|
-
QUARTERLY: "QUARTERLY";
|
|
4194
|
-
}>>;
|
|
4195
|
-
day_of_week_due: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
4196
|
-
day_of_month_due: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
4197
|
-
assigned_user_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4198
|
-
product_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4199
|
-
}, z.core.$strip>;
|
|
4200
4953
|
/**
|
|
4201
4954
|
* A file attached to an asset item — a document such as a manual, warranty, or certificate. Uploaded through the direct-upload flow and optionally marked as a certified copy.
|
|
4202
4955
|
*/
|
|
4203
4956
|
export declare const zAssetsDocumentResponseObject: z.ZodObject<{
|
|
4204
4957
|
id: z.ZodString;
|
|
4205
|
-
|
|
4958
|
+
assets_item_id: z.ZodString;
|
|
4206
4959
|
name: z.ZodString;
|
|
4207
4960
|
filename: z.ZodNullable<z.ZodString>;
|
|
4208
4961
|
description: z.ZodNullable<z.ZodString>;
|
|
4209
4962
|
certified: z.ZodBoolean;
|
|
4210
4963
|
created_by_user_id: z.ZodString;
|
|
4211
4964
|
file: z.ZodNullable<z.ZodObject<{
|
|
4212
|
-
signed_id: z.ZodString;
|
|
4213
4965
|
filename: z.ZodString;
|
|
4214
4966
|
content_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4215
4967
|
byte_size: z.ZodInt;
|
|
4968
|
+
url: z.ZodString;
|
|
4216
4969
|
}, z.core.$strip>>;
|
|
4217
4970
|
created_at: z.ZodISODateTime;
|
|
4218
4971
|
updated_at: z.ZodISODateTime;
|
|
@@ -4244,7 +4997,7 @@ export declare const zAssetsDocumentVersionResponseObject: z.ZodObject<{
|
|
|
4244
4997
|
*/
|
|
4245
4998
|
export declare const zAssetsItemFormAssignmentResponseObject: z.ZodObject<{
|
|
4246
4999
|
id: z.ZodString;
|
|
4247
|
-
|
|
5000
|
+
assets_item_id: z.ZodString;
|
|
4248
5001
|
form_definition_id: z.ZodString;
|
|
4249
5002
|
name: z.ZodString;
|
|
4250
5003
|
description: z.ZodNullable<z.ZodString>;
|
|
@@ -4267,11 +5020,11 @@ export declare const zAssetsItemFormAssignmentResponseObject: z.ZodObject<{
|
|
|
4267
5020
|
}, z.core.$strip>>;
|
|
4268
5021
|
}, z.core.$strip>;
|
|
4269
5022
|
/**
|
|
4270
|
-
* Create or update an item form assignment. form_definition_id and task_attributes are required, and task_attributes.created_by_user_id is required (a missing value returns 400).
|
|
5023
|
+
* Create or update an item form assignment. form_definition_id and task_attributes are required, and task_attributes.created_by_user_id is required (a missing value returns 400). recurring gates the recurrence fields.
|
|
4271
5024
|
*/
|
|
4272
5025
|
export declare const zAssetsItemFormAssignmentParameters: z.ZodObject<{
|
|
4273
5026
|
form_definition_id: z.ZodString;
|
|
4274
|
-
|
|
5027
|
+
recurring: z.ZodOptional<z.ZodBoolean>;
|
|
4275
5028
|
task_attributes: z.ZodObject<{
|
|
4276
5029
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4277
5030
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -4300,7 +5053,7 @@ export declare const zAssetsItemFormAssignmentParameters: z.ZodObject<{
|
|
|
4300
5053
|
*/
|
|
4301
5054
|
export declare const zAssetsInventoryResponseObject: z.ZodObject<{
|
|
4302
5055
|
id: z.ZodString;
|
|
4303
|
-
|
|
5056
|
+
assets_item_id: z.ZodString;
|
|
4304
5057
|
assets_site_id: z.ZodString;
|
|
4305
5058
|
company_id: z.ZodString;
|
|
4306
5059
|
quantity_on_hand: z.ZodInt;
|
|
@@ -4312,7 +5065,7 @@ export declare const zAssetsInventoryResponseObject: z.ZodObject<{
|
|
|
4312
5065
|
*/
|
|
4313
5066
|
export declare const zAssetsCustodyResponseObject: z.ZodObject<{
|
|
4314
5067
|
id: z.ZodString;
|
|
4315
|
-
|
|
5068
|
+
assets_item_id: z.ZodString;
|
|
4316
5069
|
user_id: z.ZodString;
|
|
4317
5070
|
company_id: z.ZodString;
|
|
4318
5071
|
quantity: z.ZodInt;
|
|
@@ -4324,7 +5077,7 @@ export declare const zAssetsCustodyResponseObject: z.ZodObject<{
|
|
|
4324
5077
|
*/
|
|
4325
5078
|
export declare const zAssetsTransactionEventResponseObject: z.ZodObject<{
|
|
4326
5079
|
id: z.ZodString;
|
|
4327
|
-
|
|
5080
|
+
assets_item_id: z.ZodString;
|
|
4328
5081
|
company_id: z.ZodString;
|
|
4329
5082
|
event_type: z.ZodEnum<{
|
|
4330
5083
|
"Assets::Transaction": "Assets::Transaction";
|
|
@@ -4355,7 +5108,7 @@ export declare const zAssetsTransactionEventResponseObject: z.ZodObject<{
|
|
|
4355
5108
|
*/
|
|
4356
5109
|
export declare const zAssetsServiceEventResponseObject: z.ZodObject<{
|
|
4357
5110
|
id: z.ZodString;
|
|
4358
|
-
|
|
5111
|
+
assets_item_id: z.ZodString;
|
|
4359
5112
|
company_id: z.ZodString;
|
|
4360
5113
|
event_type: z.ZodEnum<{
|
|
4361
5114
|
"Assets::ServiceEvent": "Assets::ServiceEvent";
|
|
@@ -4380,7 +5133,7 @@ export declare const zAssetsServiceEventResponseObject: z.ZodObject<{
|
|
|
4380
5133
|
*/
|
|
4381
5134
|
export declare const zAssetsItemEventResponseObject: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4382
5135
|
id: z.ZodString;
|
|
4383
|
-
|
|
5136
|
+
assets_item_id: z.ZodString;
|
|
4384
5137
|
company_id: z.ZodString;
|
|
4385
5138
|
performed_at: z.ZodISODateTime;
|
|
4386
5139
|
transaction: z.ZodObject<{
|
|
@@ -4405,7 +5158,7 @@ export declare const zAssetsItemEventResponseObject: z.ZodDiscriminatedUnion<[z.
|
|
|
4405
5158
|
event_type: z.ZodLiteral<"Assets::Transaction">;
|
|
4406
5159
|
}, z.core.$strip>, z.ZodObject<{
|
|
4407
5160
|
id: z.ZodString;
|
|
4408
|
-
|
|
5161
|
+
assets_item_id: z.ZodString;
|
|
4409
5162
|
company_id: z.ZodString;
|
|
4410
5163
|
performed_at: z.ZodISODateTime;
|
|
4411
5164
|
service_event: z.ZodObject<{
|
|
@@ -4428,7 +5181,7 @@ export declare const zAssetsItemEventResponseObject: z.ZodDiscriminatedUnion<[z.
|
|
|
4428
5181
|
*/
|
|
4429
5182
|
export declare const zAssetsServiceScheduleResponseObject: z.ZodObject<{
|
|
4430
5183
|
id: z.ZodString;
|
|
4431
|
-
|
|
5184
|
+
assets_item_id: z.ZodString;
|
|
4432
5185
|
company_id: z.ZodString;
|
|
4433
5186
|
assets_service_schedule_template_id: z.ZodNullable<z.ZodString>;
|
|
4434
5187
|
kind: z.ZodEnum<{
|
|
@@ -4472,7 +5225,7 @@ export declare const zAssetsServiceScheduleParameters: z.ZodObject<{
|
|
|
4472
5225
|
*/
|
|
4473
5226
|
export declare const zAssetsServiceEventFullResponseObject: z.ZodObject<{
|
|
4474
5227
|
id: z.ZodString;
|
|
4475
|
-
|
|
5228
|
+
assets_item_id: z.ZodString;
|
|
4476
5229
|
company_id: z.ZodString;
|
|
4477
5230
|
assets_service_schedule_id: z.ZodNullable<z.ZodString>;
|
|
4478
5231
|
performed_by_user_id: z.ZodString;
|
|
@@ -4483,18 +5236,29 @@ export declare const zAssetsServiceEventFullResponseObject: z.ZodObject<{
|
|
|
4483
5236
|
}>;
|
|
4484
5237
|
notes: z.ZodNullable<z.ZodString>;
|
|
4485
5238
|
performed_at: z.ZodISODateTime;
|
|
5239
|
+
attachments: z.ZodArray<z.ZodObject<{
|
|
5240
|
+
id: z.ZodString;
|
|
5241
|
+
file: z.ZodNullable<z.ZodObject<{
|
|
5242
|
+
filename: z.ZodString;
|
|
5243
|
+
content_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5244
|
+
byte_size: z.ZodInt;
|
|
5245
|
+
url: z.ZodString;
|
|
5246
|
+
}, z.core.$strip>>;
|
|
5247
|
+
created_at: z.ZodISODateTime;
|
|
5248
|
+
updated_at: z.ZodISODateTime;
|
|
5249
|
+
}, z.core.$strip>>;
|
|
4486
5250
|
created_at: z.ZodISODateTime;
|
|
4487
5251
|
updated_at: z.ZodISODateTime;
|
|
4488
5252
|
}, z.core.$strip>;
|
|
4489
5253
|
/**
|
|
4490
|
-
* Record a service on an item.
|
|
5254
|
+
* Record a service on an item. performed_on and performed_by_user_id are required. When a schedule is linked with assets_service_schedule_id, the schedule dictates the kind; otherwise provide kind for the ad-hoc service or repair.
|
|
4491
5255
|
*/
|
|
4492
5256
|
export declare const zAssetsServiceEventParameters: z.ZodObject<{
|
|
4493
|
-
kind: z.ZodEnum<{
|
|
5257
|
+
kind: z.ZodOptional<z.ZodEnum<{
|
|
4494
5258
|
maintenance: "maintenance";
|
|
4495
5259
|
calibration: "calibration";
|
|
4496
5260
|
repair: "repair";
|
|
4497
|
-
}
|
|
5261
|
+
}>>;
|
|
4498
5262
|
notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4499
5263
|
performed_on: z.ZodISODate;
|
|
4500
5264
|
assets_service_schedule_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -4565,7 +5329,7 @@ export declare const zAssetsTransferResponseObject: z.ZodObject<{
|
|
|
4565
5329
|
completed_at: z.ZodNullable<z.ZodISODateTime>;
|
|
4566
5330
|
transfer_lines: z.ZodArray<z.ZodObject<{
|
|
4567
5331
|
id: z.ZodString;
|
|
4568
|
-
|
|
5332
|
+
assets_item_id: z.ZodString;
|
|
4569
5333
|
quantity: z.ZodInt;
|
|
4570
5334
|
}, z.core.$strip>>;
|
|
4571
5335
|
created_at: z.ZodISODateTime;
|
|
@@ -4581,7 +5345,7 @@ export declare const zAssetsTransferParameters: z.ZodObject<{
|
|
|
4581
5345
|
to_user_id: z.ZodOptional<z.ZodString>;
|
|
4582
5346
|
performed_by_user_id: z.ZodString;
|
|
4583
5347
|
line_items: z.ZodArray<z.ZodObject<{
|
|
4584
|
-
|
|
5348
|
+
assets_item_id: z.ZodString;
|
|
4585
5349
|
quantity: z.ZodInt;
|
|
4586
5350
|
}, z.core.$strip>>;
|
|
4587
5351
|
}, z.core.$strip>;
|
|
@@ -4607,6 +5371,21 @@ export declare const zAssetsAdjustmentParameters: z.ZodObject<{
|
|
|
4607
5371
|
export declare const zAssetsRetirementParameters: z.ZodObject<{
|
|
4608
5372
|
performed_by_user_id: z.ZodString;
|
|
4609
5373
|
}, z.core.$strip>;
|
|
5374
|
+
/**
|
|
5375
|
+
* Success
|
|
5376
|
+
*/
|
|
5377
|
+
export declare const zListApiKeyScopesResponse: z.ZodObject<{
|
|
5378
|
+
data: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5379
|
+
resource: z.ZodString;
|
|
5380
|
+
action: z.ZodEnum<{
|
|
5381
|
+
delete: "delete";
|
|
5382
|
+
read: "read";
|
|
5383
|
+
create: "create";
|
|
5384
|
+
update: "update";
|
|
5385
|
+
}>;
|
|
5386
|
+
name: z.ZodString;
|
|
5387
|
+
}, z.core.$strip>>>;
|
|
5388
|
+
}, z.core.$strip>;
|
|
4610
5389
|
export declare const zListApprenticesPath: z.ZodObject<{
|
|
4611
5390
|
program_id: z.ZodString;
|
|
4612
5391
|
}, z.core.$strip>;
|
|
@@ -5590,7 +6369,7 @@ export declare const zListCategoriesResponse: z.ZodObject<{
|
|
|
5590
6369
|
full_name: z.ZodString;
|
|
5591
6370
|
attributes: z.ZodArray<z.ZodObject<{
|
|
5592
6371
|
id: z.ZodString;
|
|
5593
|
-
|
|
6372
|
+
assets_attribute_id: z.ZodString;
|
|
5594
6373
|
fillable_on: z.ZodEnum<{
|
|
5595
6374
|
product: "product";
|
|
5596
6375
|
item: "item";
|
|
@@ -5607,7 +6386,7 @@ export declare const zCreateCategoryBody: z.ZodObject<{
|
|
|
5607
6386
|
parent_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5608
6387
|
category_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5609
6388
|
id: z.ZodOptional<z.ZodString>;
|
|
5610
|
-
|
|
6389
|
+
assets_attribute_id: z.ZodString;
|
|
5611
6390
|
fillable_on: z.ZodEnum<{
|
|
5612
6391
|
product: "product";
|
|
5613
6392
|
item: "item";
|
|
@@ -5628,7 +6407,7 @@ export declare const zCreateCategoryResponse: z.ZodObject<{
|
|
|
5628
6407
|
full_name: z.ZodString;
|
|
5629
6408
|
attributes: z.ZodArray<z.ZodObject<{
|
|
5630
6409
|
id: z.ZodString;
|
|
5631
|
-
|
|
6410
|
+
assets_attribute_id: z.ZodString;
|
|
5632
6411
|
fillable_on: z.ZodEnum<{
|
|
5633
6412
|
product: "product";
|
|
5634
6413
|
item: "item";
|
|
@@ -5653,7 +6432,7 @@ export declare const zDeleteCategoryResponse: z.ZodObject<{
|
|
|
5653
6432
|
full_name: z.ZodString;
|
|
5654
6433
|
attributes: z.ZodArray<z.ZodObject<{
|
|
5655
6434
|
id: z.ZodString;
|
|
5656
|
-
|
|
6435
|
+
assets_attribute_id: z.ZodString;
|
|
5657
6436
|
fillable_on: z.ZodEnum<{
|
|
5658
6437
|
product: "product";
|
|
5659
6438
|
item: "item";
|
|
@@ -5678,7 +6457,7 @@ export declare const zGetCategoryResponse: z.ZodObject<{
|
|
|
5678
6457
|
full_name: z.ZodString;
|
|
5679
6458
|
attributes: z.ZodArray<z.ZodObject<{
|
|
5680
6459
|
id: z.ZodString;
|
|
5681
|
-
|
|
6460
|
+
assets_attribute_id: z.ZodString;
|
|
5682
6461
|
fillable_on: z.ZodEnum<{
|
|
5683
6462
|
product: "product";
|
|
5684
6463
|
item: "item";
|
|
@@ -5694,7 +6473,7 @@ export declare const zUpdateCategoryBody: z.ZodObject<{
|
|
|
5694
6473
|
parent_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5695
6474
|
category_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5696
6475
|
id: z.ZodOptional<z.ZodString>;
|
|
5697
|
-
|
|
6476
|
+
assets_attribute_id: z.ZodString;
|
|
5698
6477
|
fillable_on: z.ZodEnum<{
|
|
5699
6478
|
product: "product";
|
|
5700
6479
|
item: "item";
|
|
@@ -5718,7 +6497,7 @@ export declare const zUpdateCategoryResponse: z.ZodObject<{
|
|
|
5718
6497
|
full_name: z.ZodString;
|
|
5719
6498
|
attributes: z.ZodArray<z.ZodObject<{
|
|
5720
6499
|
id: z.ZodString;
|
|
5721
|
-
|
|
6500
|
+
assets_attribute_id: z.ZodString;
|
|
5722
6501
|
fillable_on: z.ZodEnum<{
|
|
5723
6502
|
product: "product";
|
|
5724
6503
|
item: "item";
|
|
@@ -5730,7 +6509,7 @@ export declare const zUpdateCategoryResponse: z.ZodObject<{
|
|
|
5730
6509
|
updated_at: z.ZodISODateTime;
|
|
5731
6510
|
}, z.core.$strip>;
|
|
5732
6511
|
export declare const zListCustodiesQuery: z.ZodObject<{
|
|
5733
|
-
'filter[
|
|
6512
|
+
'filter[assets_item_id]': z.ZodOptional<z.ZodString>;
|
|
5734
6513
|
'filter[user_id]': z.ZodOptional<z.ZodString>;
|
|
5735
6514
|
filter: z.ZodOptional<z.ZodString>;
|
|
5736
6515
|
'filter[unexpected]': z.ZodOptional<z.ZodString>;
|
|
@@ -5752,7 +6531,7 @@ export declare const zListCustodiesResponse: z.ZodObject<{
|
|
|
5752
6531
|
}, z.core.$strip>>;
|
|
5753
6532
|
data: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5754
6533
|
id: z.ZodString;
|
|
5755
|
-
|
|
6534
|
+
assets_item_id: z.ZodString;
|
|
5756
6535
|
user_id: z.ZodString;
|
|
5757
6536
|
company_id: z.ZodString;
|
|
5758
6537
|
quantity: z.ZodInt;
|
|
@@ -5768,7 +6547,7 @@ export declare const zGetCustodyPath: z.ZodObject<{
|
|
|
5768
6547
|
*/
|
|
5769
6548
|
export declare const zGetCustodyResponse: z.ZodObject<{
|
|
5770
6549
|
id: z.ZodString;
|
|
5771
|
-
|
|
6550
|
+
assets_item_id: z.ZodString;
|
|
5772
6551
|
user_id: z.ZodString;
|
|
5773
6552
|
company_id: z.ZodString;
|
|
5774
6553
|
quantity: z.ZodInt;
|
|
@@ -5776,7 +6555,7 @@ export declare const zGetCustodyResponse: z.ZodObject<{
|
|
|
5776
6555
|
updated_at: z.ZodISODateTime;
|
|
5777
6556
|
}, z.core.$strip>;
|
|
5778
6557
|
export declare const zListEventsQuery: z.ZodObject<{
|
|
5779
|
-
'filter[
|
|
6558
|
+
'filter[assets_item_id]': z.ZodOptional<z.ZodString>;
|
|
5780
6559
|
'filter[eventable_type]': z.ZodOptional<z.ZodString>;
|
|
5781
6560
|
filter: z.ZodOptional<z.ZodString>;
|
|
5782
6561
|
'filter[unexpected]': z.ZodOptional<z.ZodString>;
|
|
@@ -5798,7 +6577,7 @@ export declare const zListEventsResponse: z.ZodObject<{
|
|
|
5798
6577
|
}, z.core.$strip>>;
|
|
5799
6578
|
data: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5800
6579
|
id: z.ZodString;
|
|
5801
|
-
|
|
6580
|
+
assets_item_id: z.ZodString;
|
|
5802
6581
|
company_id: z.ZodString;
|
|
5803
6582
|
performed_at: z.ZodISODateTime;
|
|
5804
6583
|
transaction: z.ZodObject<{
|
|
@@ -5823,7 +6602,7 @@ export declare const zListEventsResponse: z.ZodObject<{
|
|
|
5823
6602
|
event_type: z.ZodLiteral<"Assets::Transaction">;
|
|
5824
6603
|
}, z.core.$strip>, z.ZodObject<{
|
|
5825
6604
|
id: z.ZodString;
|
|
5826
|
-
|
|
6605
|
+
assets_item_id: z.ZodString;
|
|
5827
6606
|
company_id: z.ZodString;
|
|
5828
6607
|
performed_at: z.ZodISODateTime;
|
|
5829
6608
|
service_event: z.ZodObject<{
|
|
@@ -5850,7 +6629,7 @@ export declare const zGetEventPath: z.ZodObject<{
|
|
|
5850
6629
|
*/
|
|
5851
6630
|
export declare const zGetEventResponse: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5852
6631
|
id: z.ZodString;
|
|
5853
|
-
|
|
6632
|
+
assets_item_id: z.ZodString;
|
|
5854
6633
|
company_id: z.ZodString;
|
|
5855
6634
|
performed_at: z.ZodISODateTime;
|
|
5856
6635
|
transaction: z.ZodObject<{
|
|
@@ -5875,7 +6654,7 @@ export declare const zGetEventResponse: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
5875
6654
|
event_type: z.ZodLiteral<"Assets::Transaction">;
|
|
5876
6655
|
}, z.core.$strip>, z.ZodObject<{
|
|
5877
6656
|
id: z.ZodString;
|
|
5878
|
-
|
|
6657
|
+
assets_item_id: z.ZodString;
|
|
5879
6658
|
company_id: z.ZodString;
|
|
5880
6659
|
performed_at: z.ZodISODateTime;
|
|
5881
6660
|
service_event: z.ZodObject<{
|
|
@@ -6190,7 +6969,7 @@ export declare const zUpdateFormAssignmentTriggerResponse: z.ZodObject<{
|
|
|
6190
6969
|
updated_at: z.ZodISODateTime;
|
|
6191
6970
|
}, z.core.$strip>;
|
|
6192
6971
|
export declare const zListInventoriesQuery: z.ZodObject<{
|
|
6193
|
-
'filter[
|
|
6972
|
+
'filter[assets_item_id]': z.ZodOptional<z.ZodString>;
|
|
6194
6973
|
'filter[assets_site_id]': z.ZodOptional<z.ZodString>;
|
|
6195
6974
|
filter: z.ZodOptional<z.ZodString>;
|
|
6196
6975
|
'filter[unexpected]': z.ZodOptional<z.ZodString>;
|
|
@@ -6212,7 +6991,7 @@ export declare const zListInventoriesResponse: z.ZodObject<{
|
|
|
6212
6991
|
}, z.core.$strip>>;
|
|
6213
6992
|
data: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6214
6993
|
id: z.ZodString;
|
|
6215
|
-
|
|
6994
|
+
assets_item_id: z.ZodString;
|
|
6216
6995
|
assets_site_id: z.ZodString;
|
|
6217
6996
|
company_id: z.ZodString;
|
|
6218
6997
|
quantity_on_hand: z.ZodInt;
|
|
@@ -6228,7 +7007,7 @@ export declare const zGetInventoryPath: z.ZodObject<{
|
|
|
6228
7007
|
*/
|
|
6229
7008
|
export declare const zGetInventoryResponse: z.ZodObject<{
|
|
6230
7009
|
id: z.ZodString;
|
|
6231
|
-
|
|
7010
|
+
assets_item_id: z.ZodString;
|
|
6232
7011
|
assets_site_id: z.ZodString;
|
|
6233
7012
|
company_id: z.ZodString;
|
|
6234
7013
|
quantity_on_hand: z.ZodInt;
|
|
@@ -6268,10 +7047,8 @@ export declare const zListItemsResponse: z.ZodObject<{
|
|
|
6268
7047
|
}>;
|
|
6269
7048
|
serial_number: z.ZodNullable<z.ZodString>;
|
|
6270
7049
|
status: z.ZodEnum<{
|
|
6271
|
-
maintenance: "maintenance";
|
|
6272
7050
|
available: "available";
|
|
6273
7051
|
assigned: "assigned";
|
|
6274
|
-
transit: "transit";
|
|
6275
7052
|
retired: "retired";
|
|
6276
7053
|
}>;
|
|
6277
7054
|
purchase_date: z.ZodNullable<z.ZodISODateTime>;
|
|
@@ -6279,6 +7056,17 @@ export declare const zListItemsResponse: z.ZodObject<{
|
|
|
6279
7056
|
currency: z.ZodNullable<z.ZodString>;
|
|
6280
7057
|
external_id: z.ZodNullable<z.ZodString>;
|
|
6281
7058
|
external_system_url: z.ZodNullable<z.ZodString>;
|
|
7059
|
+
images: z.ZodArray<z.ZodObject<{
|
|
7060
|
+
id: z.ZodString;
|
|
7061
|
+
file: z.ZodNullable<z.ZodObject<{
|
|
7062
|
+
filename: z.ZodString;
|
|
7063
|
+
content_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7064
|
+
byte_size: z.ZodInt;
|
|
7065
|
+
url: z.ZodString;
|
|
7066
|
+
}, z.core.$strip>>;
|
|
7067
|
+
created_at: z.ZodISODateTime;
|
|
7068
|
+
updated_at: z.ZodISODateTime;
|
|
7069
|
+
}, z.core.$strip>>;
|
|
6282
7070
|
created_at: z.ZodISODateTime;
|
|
6283
7071
|
updated_at: z.ZodISODateTime;
|
|
6284
7072
|
}, z.core.$strip>>>;
|
|
@@ -6289,22 +7077,25 @@ export declare const zCreateItemBody: z.ZodObject<{
|
|
|
6289
7077
|
assets_product_id: z.ZodString;
|
|
6290
7078
|
serial_number: z.ZodString;
|
|
6291
7079
|
status: z.ZodOptional<z.ZodEnum<{
|
|
6292
|
-
maintenance: "maintenance";
|
|
6293
7080
|
available: "available";
|
|
6294
7081
|
assigned: "assigned";
|
|
6295
|
-
transit: "transit";
|
|
6296
7082
|
retired: "retired";
|
|
6297
7083
|
}>>;
|
|
6298
7084
|
purchase_date: z.ZodOptional<z.ZodISODateTime>;
|
|
6299
7085
|
purchase_price_cents: z.ZodOptional<z.ZodInt>;
|
|
6300
7086
|
external_id: z.ZodOptional<z.ZodString>;
|
|
6301
7087
|
external_system_url: z.ZodOptional<z.ZodString>;
|
|
7088
|
+
images_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7089
|
+
id: z.ZodOptional<z.ZodString>;
|
|
7090
|
+
file: z.ZodOptional<z.ZodString>;
|
|
7091
|
+
_destroy: z.ZodOptional<z.ZodBoolean>;
|
|
7092
|
+
}, z.core.$strip>>>;
|
|
6302
7093
|
assets_site_id: z.ZodOptional<z.ZodString>;
|
|
6303
7094
|
user_id: z.ZodOptional<z.ZodString>;
|
|
6304
7095
|
performed_by_user_id: z.ZodString;
|
|
6305
7096
|
}, z.core.$strip>;
|
|
6306
7097
|
/**
|
|
6307
|
-
* Created with
|
|
7098
|
+
* Created with an image
|
|
6308
7099
|
*/
|
|
6309
7100
|
export declare const zCreateItemResponse: z.ZodObject<{
|
|
6310
7101
|
id: z.ZodString;
|
|
@@ -6318,10 +7109,8 @@ export declare const zCreateItemResponse: z.ZodObject<{
|
|
|
6318
7109
|
}>;
|
|
6319
7110
|
serial_number: z.ZodNullable<z.ZodString>;
|
|
6320
7111
|
status: z.ZodEnum<{
|
|
6321
|
-
maintenance: "maintenance";
|
|
6322
7112
|
available: "available";
|
|
6323
7113
|
assigned: "assigned";
|
|
6324
|
-
transit: "transit";
|
|
6325
7114
|
retired: "retired";
|
|
6326
7115
|
}>;
|
|
6327
7116
|
purchase_date: z.ZodNullable<z.ZodISODateTime>;
|
|
@@ -6329,6 +7118,17 @@ export declare const zCreateItemResponse: z.ZodObject<{
|
|
|
6329
7118
|
currency: z.ZodNullable<z.ZodString>;
|
|
6330
7119
|
external_id: z.ZodNullable<z.ZodString>;
|
|
6331
7120
|
external_system_url: z.ZodNullable<z.ZodString>;
|
|
7121
|
+
images: z.ZodArray<z.ZodObject<{
|
|
7122
|
+
id: z.ZodString;
|
|
7123
|
+
file: z.ZodNullable<z.ZodObject<{
|
|
7124
|
+
filename: z.ZodString;
|
|
7125
|
+
content_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7126
|
+
byte_size: z.ZodInt;
|
|
7127
|
+
url: z.ZodString;
|
|
7128
|
+
}, z.core.$strip>>;
|
|
7129
|
+
created_at: z.ZodISODateTime;
|
|
7130
|
+
updated_at: z.ZodISODateTime;
|
|
7131
|
+
}, z.core.$strip>>;
|
|
6332
7132
|
created_at: z.ZodISODateTime;
|
|
6333
7133
|
updated_at: z.ZodISODateTime;
|
|
6334
7134
|
}, z.core.$strip>;
|
|
@@ -6350,10 +7150,8 @@ export declare const zDeleteItemResponse: z.ZodObject<{
|
|
|
6350
7150
|
}>;
|
|
6351
7151
|
serial_number: z.ZodNullable<z.ZodString>;
|
|
6352
7152
|
status: z.ZodEnum<{
|
|
6353
|
-
maintenance: "maintenance";
|
|
6354
7153
|
available: "available";
|
|
6355
7154
|
assigned: "assigned";
|
|
6356
|
-
transit: "transit";
|
|
6357
7155
|
retired: "retired";
|
|
6358
7156
|
}>;
|
|
6359
7157
|
purchase_date: z.ZodNullable<z.ZodISODateTime>;
|
|
@@ -6361,6 +7159,17 @@ export declare const zDeleteItemResponse: z.ZodObject<{
|
|
|
6361
7159
|
currency: z.ZodNullable<z.ZodString>;
|
|
6362
7160
|
external_id: z.ZodNullable<z.ZodString>;
|
|
6363
7161
|
external_system_url: z.ZodNullable<z.ZodString>;
|
|
7162
|
+
images: z.ZodArray<z.ZodObject<{
|
|
7163
|
+
id: z.ZodString;
|
|
7164
|
+
file: z.ZodNullable<z.ZodObject<{
|
|
7165
|
+
filename: z.ZodString;
|
|
7166
|
+
content_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7167
|
+
byte_size: z.ZodInt;
|
|
7168
|
+
url: z.ZodString;
|
|
7169
|
+
}, z.core.$strip>>;
|
|
7170
|
+
created_at: z.ZodISODateTime;
|
|
7171
|
+
updated_at: z.ZodISODateTime;
|
|
7172
|
+
}, z.core.$strip>>;
|
|
6364
7173
|
created_at: z.ZodISODateTime;
|
|
6365
7174
|
updated_at: z.ZodISODateTime;
|
|
6366
7175
|
}, z.core.$strip>;
|
|
@@ -6382,10 +7191,8 @@ export declare const zGetItemResponse: z.ZodObject<{
|
|
|
6382
7191
|
}>;
|
|
6383
7192
|
serial_number: z.ZodNullable<z.ZodString>;
|
|
6384
7193
|
status: z.ZodEnum<{
|
|
6385
|
-
maintenance: "maintenance";
|
|
6386
7194
|
available: "available";
|
|
6387
7195
|
assigned: "assigned";
|
|
6388
|
-
transit: "transit";
|
|
6389
7196
|
retired: "retired";
|
|
6390
7197
|
}>;
|
|
6391
7198
|
purchase_date: z.ZodNullable<z.ZodISODateTime>;
|
|
@@ -6393,6 +7200,17 @@ export declare const zGetItemResponse: z.ZodObject<{
|
|
|
6393
7200
|
currency: z.ZodNullable<z.ZodString>;
|
|
6394
7201
|
external_id: z.ZodNullable<z.ZodString>;
|
|
6395
7202
|
external_system_url: z.ZodNullable<z.ZodString>;
|
|
7203
|
+
images: z.ZodArray<z.ZodObject<{
|
|
7204
|
+
id: z.ZodString;
|
|
7205
|
+
file: z.ZodNullable<z.ZodObject<{
|
|
7206
|
+
filename: z.ZodString;
|
|
7207
|
+
content_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7208
|
+
byte_size: z.ZodInt;
|
|
7209
|
+
url: z.ZodString;
|
|
7210
|
+
}, z.core.$strip>>;
|
|
7211
|
+
created_at: z.ZodISODateTime;
|
|
7212
|
+
updated_at: z.ZodISODateTime;
|
|
7213
|
+
}, z.core.$strip>>;
|
|
6396
7214
|
created_at: z.ZodISODateTime;
|
|
6397
7215
|
updated_at: z.ZodISODateTime;
|
|
6398
7216
|
}, z.core.$strip>;
|
|
@@ -6402,16 +7220,19 @@ export declare const zUpdateItemBody: z.ZodObject<{
|
|
|
6402
7220
|
assets_product_id: z.ZodString;
|
|
6403
7221
|
serial_number: z.ZodString;
|
|
6404
7222
|
status: z.ZodOptional<z.ZodEnum<{
|
|
6405
|
-
maintenance: "maintenance";
|
|
6406
7223
|
available: "available";
|
|
6407
7224
|
assigned: "assigned";
|
|
6408
|
-
transit: "transit";
|
|
6409
7225
|
retired: "retired";
|
|
6410
7226
|
}>>;
|
|
6411
7227
|
purchase_date: z.ZodOptional<z.ZodISODateTime>;
|
|
6412
7228
|
purchase_price_cents: z.ZodOptional<z.ZodInt>;
|
|
6413
7229
|
external_id: z.ZodOptional<z.ZodString>;
|
|
6414
7230
|
external_system_url: z.ZodOptional<z.ZodString>;
|
|
7231
|
+
images_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7232
|
+
id: z.ZodOptional<z.ZodString>;
|
|
7233
|
+
file: z.ZodOptional<z.ZodString>;
|
|
7234
|
+
_destroy: z.ZodOptional<z.ZodBoolean>;
|
|
7235
|
+
}, z.core.$strip>>>;
|
|
6415
7236
|
assets_site_id: z.ZodOptional<z.ZodString>;
|
|
6416
7237
|
user_id: z.ZodOptional<z.ZodString>;
|
|
6417
7238
|
performed_by_user_id: z.ZodString;
|
|
@@ -6420,7 +7241,7 @@ export declare const zUpdateItemPath: z.ZodObject<{
|
|
|
6420
7241
|
id: z.ZodString;
|
|
6421
7242
|
}, z.core.$strip>;
|
|
6422
7243
|
/**
|
|
6423
|
-
*
|
|
7244
|
+
* Removes an image
|
|
6424
7245
|
*/
|
|
6425
7246
|
export declare const zUpdateItemResponse: z.ZodObject<{
|
|
6426
7247
|
id: z.ZodString;
|
|
@@ -6434,10 +7255,8 @@ export declare const zUpdateItemResponse: z.ZodObject<{
|
|
|
6434
7255
|
}>;
|
|
6435
7256
|
serial_number: z.ZodNullable<z.ZodString>;
|
|
6436
7257
|
status: z.ZodEnum<{
|
|
6437
|
-
maintenance: "maintenance";
|
|
6438
7258
|
available: "available";
|
|
6439
7259
|
assigned: "assigned";
|
|
6440
|
-
transit: "transit";
|
|
6441
7260
|
retired: "retired";
|
|
6442
7261
|
}>;
|
|
6443
7262
|
purchase_date: z.ZodNullable<z.ZodISODateTime>;
|
|
@@ -6445,6 +7264,17 @@ export declare const zUpdateItemResponse: z.ZodObject<{
|
|
|
6445
7264
|
currency: z.ZodNullable<z.ZodString>;
|
|
6446
7265
|
external_id: z.ZodNullable<z.ZodString>;
|
|
6447
7266
|
external_system_url: z.ZodNullable<z.ZodString>;
|
|
7267
|
+
images: z.ZodArray<z.ZodObject<{
|
|
7268
|
+
id: z.ZodString;
|
|
7269
|
+
file: z.ZodNullable<z.ZodObject<{
|
|
7270
|
+
filename: z.ZodString;
|
|
7271
|
+
content_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7272
|
+
byte_size: z.ZodInt;
|
|
7273
|
+
url: z.ZodString;
|
|
7274
|
+
}, z.core.$strip>>;
|
|
7275
|
+
created_at: z.ZodISODateTime;
|
|
7276
|
+
updated_at: z.ZodISODateTime;
|
|
7277
|
+
}, z.core.$strip>>;
|
|
6448
7278
|
created_at: z.ZodISODateTime;
|
|
6449
7279
|
updated_at: z.ZodISODateTime;
|
|
6450
7280
|
}, z.core.$strip>;
|
|
@@ -6466,10 +7296,8 @@ export declare const zUnretireItemResponse: z.ZodObject<{
|
|
|
6466
7296
|
}>;
|
|
6467
7297
|
serial_number: z.ZodNullable<z.ZodString>;
|
|
6468
7298
|
status: z.ZodEnum<{
|
|
6469
|
-
maintenance: "maintenance";
|
|
6470
7299
|
available: "available";
|
|
6471
7300
|
assigned: "assigned";
|
|
6472
|
-
transit: "transit";
|
|
6473
7301
|
retired: "retired";
|
|
6474
7302
|
}>;
|
|
6475
7303
|
purchase_date: z.ZodNullable<z.ZodISODateTime>;
|
|
@@ -6477,6 +7305,17 @@ export declare const zUnretireItemResponse: z.ZodObject<{
|
|
|
6477
7305
|
currency: z.ZodNullable<z.ZodString>;
|
|
6478
7306
|
external_id: z.ZodNullable<z.ZodString>;
|
|
6479
7307
|
external_system_url: z.ZodNullable<z.ZodString>;
|
|
7308
|
+
images: z.ZodArray<z.ZodObject<{
|
|
7309
|
+
id: z.ZodString;
|
|
7310
|
+
file: z.ZodNullable<z.ZodObject<{
|
|
7311
|
+
filename: z.ZodString;
|
|
7312
|
+
content_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7313
|
+
byte_size: z.ZodInt;
|
|
7314
|
+
url: z.ZodString;
|
|
7315
|
+
}, z.core.$strip>>;
|
|
7316
|
+
created_at: z.ZodISODateTime;
|
|
7317
|
+
updated_at: z.ZodISODateTime;
|
|
7318
|
+
}, z.core.$strip>>;
|
|
6480
7319
|
created_at: z.ZodISODateTime;
|
|
6481
7320
|
updated_at: z.ZodISODateTime;
|
|
6482
7321
|
}, z.core.$strip>;
|
|
@@ -6501,10 +7340,8 @@ export declare const zRetireItemResponse: z.ZodObject<{
|
|
|
6501
7340
|
}>;
|
|
6502
7341
|
serial_number: z.ZodNullable<z.ZodString>;
|
|
6503
7342
|
status: z.ZodEnum<{
|
|
6504
|
-
maintenance: "maintenance";
|
|
6505
7343
|
available: "available";
|
|
6506
7344
|
assigned: "assigned";
|
|
6507
|
-
transit: "transit";
|
|
6508
7345
|
retired: "retired";
|
|
6509
7346
|
}>;
|
|
6510
7347
|
purchase_date: z.ZodNullable<z.ZodISODateTime>;
|
|
@@ -6512,6 +7349,17 @@ export declare const zRetireItemResponse: z.ZodObject<{
|
|
|
6512
7349
|
currency: z.ZodNullable<z.ZodString>;
|
|
6513
7350
|
external_id: z.ZodNullable<z.ZodString>;
|
|
6514
7351
|
external_system_url: z.ZodNullable<z.ZodString>;
|
|
7352
|
+
images: z.ZodArray<z.ZodObject<{
|
|
7353
|
+
id: z.ZodString;
|
|
7354
|
+
file: z.ZodNullable<z.ZodObject<{
|
|
7355
|
+
filename: z.ZodString;
|
|
7356
|
+
content_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7357
|
+
byte_size: z.ZodInt;
|
|
7358
|
+
url: z.ZodString;
|
|
7359
|
+
}, z.core.$strip>>;
|
|
7360
|
+
created_at: z.ZodISODateTime;
|
|
7361
|
+
updated_at: z.ZodISODateTime;
|
|
7362
|
+
}, z.core.$strip>>;
|
|
6515
7363
|
created_at: z.ZodISODateTime;
|
|
6516
7364
|
updated_at: z.ZodISODateTime;
|
|
6517
7365
|
}, z.core.$strip>;
|
|
@@ -6547,7 +7395,7 @@ export declare const zListServiceSchedulesResponse: z.ZodObject<{
|
|
|
6547
7395
|
}, z.core.$strip>>;
|
|
6548
7396
|
data: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6549
7397
|
id: z.ZodString;
|
|
6550
|
-
|
|
7398
|
+
assets_item_id: z.ZodString;
|
|
6551
7399
|
company_id: z.ZodString;
|
|
6552
7400
|
assets_service_schedule_template_id: z.ZodNullable<z.ZodString>;
|
|
6553
7401
|
kind: z.ZodEnum<{
|
|
@@ -6592,7 +7440,7 @@ export declare const zCreateServiceSchedulePath: z.ZodObject<{
|
|
|
6592
7440
|
*/
|
|
6593
7441
|
export declare const zCreateServiceScheduleResponse: z.ZodObject<{
|
|
6594
7442
|
id: z.ZodString;
|
|
6595
|
-
|
|
7443
|
+
assets_item_id: z.ZodString;
|
|
6596
7444
|
company_id: z.ZodString;
|
|
6597
7445
|
assets_service_schedule_template_id: z.ZodNullable<z.ZodString>;
|
|
6598
7446
|
kind: z.ZodEnum<{
|
|
@@ -6621,7 +7469,7 @@ export declare const zDeleteServiceSchedulePath: z.ZodObject<{
|
|
|
6621
7469
|
*/
|
|
6622
7470
|
export declare const zDeleteServiceScheduleResponse: z.ZodObject<{
|
|
6623
7471
|
id: z.ZodString;
|
|
6624
|
-
|
|
7472
|
+
assets_item_id: z.ZodString;
|
|
6625
7473
|
company_id: z.ZodString;
|
|
6626
7474
|
assets_service_schedule_template_id: z.ZodNullable<z.ZodString>;
|
|
6627
7475
|
kind: z.ZodEnum<{
|
|
@@ -6650,7 +7498,7 @@ export declare const zGetServiceSchedulePath: z.ZodObject<{
|
|
|
6650
7498
|
*/
|
|
6651
7499
|
export declare const zGetServiceScheduleResponse: z.ZodObject<{
|
|
6652
7500
|
id: z.ZodString;
|
|
6653
|
-
|
|
7501
|
+
assets_item_id: z.ZodString;
|
|
6654
7502
|
company_id: z.ZodString;
|
|
6655
7503
|
assets_service_schedule_template_id: z.ZodNullable<z.ZodString>;
|
|
6656
7504
|
kind: z.ZodEnum<{
|
|
@@ -6695,7 +7543,7 @@ export declare const zUpdateServiceSchedulePath: z.ZodObject<{
|
|
|
6695
7543
|
*/
|
|
6696
7544
|
export declare const zUpdateServiceScheduleResponse: z.ZodObject<{
|
|
6697
7545
|
id: z.ZodString;
|
|
6698
|
-
|
|
7546
|
+
assets_item_id: z.ZodString;
|
|
6699
7547
|
company_id: z.ZodString;
|
|
6700
7548
|
assets_service_schedule_template_id: z.ZodNullable<z.ZodString>;
|
|
6701
7549
|
kind: z.ZodEnum<{
|
|
@@ -6747,7 +7595,7 @@ export declare const zListServiceEventsResponse: z.ZodObject<{
|
|
|
6747
7595
|
}, z.core.$strip>>;
|
|
6748
7596
|
data: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6749
7597
|
id: z.ZodString;
|
|
6750
|
-
|
|
7598
|
+
assets_item_id: z.ZodString;
|
|
6751
7599
|
company_id: z.ZodString;
|
|
6752
7600
|
assets_service_schedule_id: z.ZodNullable<z.ZodString>;
|
|
6753
7601
|
performed_by_user_id: z.ZodString;
|
|
@@ -6758,16 +7606,27 @@ export declare const zListServiceEventsResponse: z.ZodObject<{
|
|
|
6758
7606
|
}>;
|
|
6759
7607
|
notes: z.ZodNullable<z.ZodString>;
|
|
6760
7608
|
performed_at: z.ZodISODateTime;
|
|
7609
|
+
attachments: z.ZodArray<z.ZodObject<{
|
|
7610
|
+
id: z.ZodString;
|
|
7611
|
+
file: z.ZodNullable<z.ZodObject<{
|
|
7612
|
+
filename: z.ZodString;
|
|
7613
|
+
content_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7614
|
+
byte_size: z.ZodInt;
|
|
7615
|
+
url: z.ZodString;
|
|
7616
|
+
}, z.core.$strip>>;
|
|
7617
|
+
created_at: z.ZodISODateTime;
|
|
7618
|
+
updated_at: z.ZodISODateTime;
|
|
7619
|
+
}, z.core.$strip>>;
|
|
6761
7620
|
created_at: z.ZodISODateTime;
|
|
6762
7621
|
updated_at: z.ZodISODateTime;
|
|
6763
7622
|
}, z.core.$strip>>>;
|
|
6764
7623
|
}, z.core.$strip>;
|
|
6765
7624
|
export declare const zCreateServiceEventBody: z.ZodObject<{
|
|
6766
|
-
kind: z.ZodEnum<{
|
|
7625
|
+
kind: z.ZodOptional<z.ZodEnum<{
|
|
6767
7626
|
maintenance: "maintenance";
|
|
6768
7627
|
calibration: "calibration";
|
|
6769
7628
|
repair: "repair";
|
|
6770
|
-
}
|
|
7629
|
+
}>>;
|
|
6771
7630
|
notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6772
7631
|
performed_on: z.ZodISODate;
|
|
6773
7632
|
assets_service_schedule_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -6786,7 +7645,7 @@ export declare const zCreateServiceEventPath: z.ZodObject<{
|
|
|
6786
7645
|
*/
|
|
6787
7646
|
export declare const zCreateServiceEventResponse: z.ZodObject<{
|
|
6788
7647
|
id: z.ZodString;
|
|
6789
|
-
|
|
7648
|
+
assets_item_id: z.ZodString;
|
|
6790
7649
|
company_id: z.ZodString;
|
|
6791
7650
|
assets_service_schedule_id: z.ZodNullable<z.ZodString>;
|
|
6792
7651
|
performed_by_user_id: z.ZodString;
|
|
@@ -6797,6 +7656,17 @@ export declare const zCreateServiceEventResponse: z.ZodObject<{
|
|
|
6797
7656
|
}>;
|
|
6798
7657
|
notes: z.ZodNullable<z.ZodString>;
|
|
6799
7658
|
performed_at: z.ZodISODateTime;
|
|
7659
|
+
attachments: z.ZodArray<z.ZodObject<{
|
|
7660
|
+
id: z.ZodString;
|
|
7661
|
+
file: z.ZodNullable<z.ZodObject<{
|
|
7662
|
+
filename: z.ZodString;
|
|
7663
|
+
content_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7664
|
+
byte_size: z.ZodInt;
|
|
7665
|
+
url: z.ZodString;
|
|
7666
|
+
}, z.core.$strip>>;
|
|
7667
|
+
created_at: z.ZodISODateTime;
|
|
7668
|
+
updated_at: z.ZodISODateTime;
|
|
7669
|
+
}, z.core.$strip>>;
|
|
6800
7670
|
created_at: z.ZodISODateTime;
|
|
6801
7671
|
updated_at: z.ZodISODateTime;
|
|
6802
7672
|
}, z.core.$strip>;
|
|
@@ -6809,7 +7679,7 @@ export declare const zDeleteServiceEventPath: z.ZodObject<{
|
|
|
6809
7679
|
*/
|
|
6810
7680
|
export declare const zDeleteServiceEventResponse: z.ZodObject<{
|
|
6811
7681
|
id: z.ZodString;
|
|
6812
|
-
|
|
7682
|
+
assets_item_id: z.ZodString;
|
|
6813
7683
|
company_id: z.ZodString;
|
|
6814
7684
|
assets_service_schedule_id: z.ZodNullable<z.ZodString>;
|
|
6815
7685
|
performed_by_user_id: z.ZodString;
|
|
@@ -6820,6 +7690,17 @@ export declare const zDeleteServiceEventResponse: z.ZodObject<{
|
|
|
6820
7690
|
}>;
|
|
6821
7691
|
notes: z.ZodNullable<z.ZodString>;
|
|
6822
7692
|
performed_at: z.ZodISODateTime;
|
|
7693
|
+
attachments: z.ZodArray<z.ZodObject<{
|
|
7694
|
+
id: z.ZodString;
|
|
7695
|
+
file: z.ZodNullable<z.ZodObject<{
|
|
7696
|
+
filename: z.ZodString;
|
|
7697
|
+
content_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7698
|
+
byte_size: z.ZodInt;
|
|
7699
|
+
url: z.ZodString;
|
|
7700
|
+
}, z.core.$strip>>;
|
|
7701
|
+
created_at: z.ZodISODateTime;
|
|
7702
|
+
updated_at: z.ZodISODateTime;
|
|
7703
|
+
}, z.core.$strip>>;
|
|
6823
7704
|
created_at: z.ZodISODateTime;
|
|
6824
7705
|
updated_at: z.ZodISODateTime;
|
|
6825
7706
|
}, z.core.$strip>;
|
|
@@ -6832,7 +7713,7 @@ export declare const zGetServiceEventPath: z.ZodObject<{
|
|
|
6832
7713
|
*/
|
|
6833
7714
|
export declare const zGetServiceEventResponse: z.ZodObject<{
|
|
6834
7715
|
id: z.ZodString;
|
|
6835
|
-
|
|
7716
|
+
assets_item_id: z.ZodString;
|
|
6836
7717
|
company_id: z.ZodString;
|
|
6837
7718
|
assets_service_schedule_id: z.ZodNullable<z.ZodString>;
|
|
6838
7719
|
performed_by_user_id: z.ZodString;
|
|
@@ -6843,15 +7724,26 @@ export declare const zGetServiceEventResponse: z.ZodObject<{
|
|
|
6843
7724
|
}>;
|
|
6844
7725
|
notes: z.ZodNullable<z.ZodString>;
|
|
6845
7726
|
performed_at: z.ZodISODateTime;
|
|
7727
|
+
attachments: z.ZodArray<z.ZodObject<{
|
|
7728
|
+
id: z.ZodString;
|
|
7729
|
+
file: z.ZodNullable<z.ZodObject<{
|
|
7730
|
+
filename: z.ZodString;
|
|
7731
|
+
content_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7732
|
+
byte_size: z.ZodInt;
|
|
7733
|
+
url: z.ZodString;
|
|
7734
|
+
}, z.core.$strip>>;
|
|
7735
|
+
created_at: z.ZodISODateTime;
|
|
7736
|
+
updated_at: z.ZodISODateTime;
|
|
7737
|
+
}, z.core.$strip>>;
|
|
6846
7738
|
created_at: z.ZodISODateTime;
|
|
6847
7739
|
updated_at: z.ZodISODateTime;
|
|
6848
7740
|
}, z.core.$strip>;
|
|
6849
7741
|
export declare const zUpdateServiceEventBody: z.ZodObject<{
|
|
6850
|
-
kind: z.ZodEnum<{
|
|
7742
|
+
kind: z.ZodOptional<z.ZodEnum<{
|
|
6851
7743
|
maintenance: "maintenance";
|
|
6852
7744
|
calibration: "calibration";
|
|
6853
7745
|
repair: "repair";
|
|
6854
|
-
}
|
|
7746
|
+
}>>;
|
|
6855
7747
|
notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6856
7748
|
performed_on: z.ZodISODate;
|
|
6857
7749
|
assets_service_schedule_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -6871,7 +7763,7 @@ export declare const zUpdateServiceEventPath: z.ZodObject<{
|
|
|
6871
7763
|
*/
|
|
6872
7764
|
export declare const zUpdateServiceEventResponse: z.ZodObject<{
|
|
6873
7765
|
id: z.ZodString;
|
|
6874
|
-
|
|
7766
|
+
assets_item_id: z.ZodString;
|
|
6875
7767
|
company_id: z.ZodString;
|
|
6876
7768
|
assets_service_schedule_id: z.ZodNullable<z.ZodString>;
|
|
6877
7769
|
performed_by_user_id: z.ZodString;
|
|
@@ -6882,6 +7774,17 @@ export declare const zUpdateServiceEventResponse: z.ZodObject<{
|
|
|
6882
7774
|
}>;
|
|
6883
7775
|
notes: z.ZodNullable<z.ZodString>;
|
|
6884
7776
|
performed_at: z.ZodISODateTime;
|
|
7777
|
+
attachments: z.ZodArray<z.ZodObject<{
|
|
7778
|
+
id: z.ZodString;
|
|
7779
|
+
file: z.ZodNullable<z.ZodObject<{
|
|
7780
|
+
filename: z.ZodString;
|
|
7781
|
+
content_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7782
|
+
byte_size: z.ZodInt;
|
|
7783
|
+
url: z.ZodString;
|
|
7784
|
+
}, z.core.$strip>>;
|
|
7785
|
+
created_at: z.ZodISODateTime;
|
|
7786
|
+
updated_at: z.ZodISODateTime;
|
|
7787
|
+
}, z.core.$strip>>;
|
|
6885
7788
|
created_at: z.ZodISODateTime;
|
|
6886
7789
|
updated_at: z.ZodISODateTime;
|
|
6887
7790
|
}, z.core.$strip>;
|
|
@@ -6910,7 +7813,7 @@ export declare const zListFormAssignmentTasksResponse: z.ZodObject<{
|
|
|
6910
7813
|
}, z.core.$strip>>;
|
|
6911
7814
|
data: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6912
7815
|
id: z.ZodString;
|
|
6913
|
-
|
|
7816
|
+
assets_item_id: z.ZodString;
|
|
6914
7817
|
form_definition_id: z.ZodString;
|
|
6915
7818
|
name: z.ZodString;
|
|
6916
7819
|
description: z.ZodNullable<z.ZodString>;
|
|
@@ -6935,7 +7838,7 @@ export declare const zListFormAssignmentTasksResponse: z.ZodObject<{
|
|
|
6935
7838
|
}, z.core.$strip>;
|
|
6936
7839
|
export declare const zCreateItemFormAssignmentTaskBody: z.ZodObject<{
|
|
6937
7840
|
form_definition_id: z.ZodString;
|
|
6938
|
-
|
|
7841
|
+
recurring: z.ZodOptional<z.ZodBoolean>;
|
|
6939
7842
|
task_attributes: z.ZodObject<{
|
|
6940
7843
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6941
7844
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -6967,7 +7870,7 @@ export declare const zCreateItemFormAssignmentTaskPath: z.ZodObject<{
|
|
|
6967
7870
|
*/
|
|
6968
7871
|
export declare const zCreateItemFormAssignmentTaskResponse: z.ZodObject<{
|
|
6969
7872
|
id: z.ZodString;
|
|
6970
|
-
|
|
7873
|
+
assets_item_id: z.ZodString;
|
|
6971
7874
|
form_definition_id: z.ZodString;
|
|
6972
7875
|
name: z.ZodString;
|
|
6973
7876
|
description: z.ZodNullable<z.ZodString>;
|
|
@@ -6998,7 +7901,7 @@ export declare const zGetFormAssignmentTaskPath: z.ZodObject<{
|
|
|
6998
7901
|
*/
|
|
6999
7902
|
export declare const zGetFormAssignmentTaskResponse: z.ZodObject<{
|
|
7000
7903
|
id: z.ZodString;
|
|
7001
|
-
|
|
7904
|
+
assets_item_id: z.ZodString;
|
|
7002
7905
|
form_definition_id: z.ZodString;
|
|
7003
7906
|
name: z.ZodString;
|
|
7004
7907
|
description: z.ZodNullable<z.ZodString>;
|
|
@@ -7022,7 +7925,7 @@ export declare const zGetFormAssignmentTaskResponse: z.ZodObject<{
|
|
|
7022
7925
|
}, z.core.$strip>;
|
|
7023
7926
|
export declare const zUpdateFormAssignmentTaskBody: z.ZodObject<{
|
|
7024
7927
|
form_definition_id: z.ZodString;
|
|
7025
|
-
|
|
7928
|
+
recurring: z.ZodOptional<z.ZodBoolean>;
|
|
7026
7929
|
task_attributes: z.ZodObject<{
|
|
7027
7930
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7028
7931
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -7055,7 +7958,7 @@ export declare const zUpdateFormAssignmentTaskPath: z.ZodObject<{
|
|
|
7055
7958
|
*/
|
|
7056
7959
|
export declare const zUpdateFormAssignmentTaskResponse: z.ZodObject<{
|
|
7057
7960
|
id: z.ZodString;
|
|
7058
|
-
|
|
7961
|
+
assets_item_id: z.ZodString;
|
|
7059
7962
|
form_definition_id: z.ZodString;
|
|
7060
7963
|
name: z.ZodString;
|
|
7061
7964
|
description: z.ZodNullable<z.ZodString>;
|
|
@@ -7104,17 +8007,17 @@ export declare const zListDocumentsResponse: z.ZodObject<{
|
|
|
7104
8007
|
}, z.core.$strip>>;
|
|
7105
8008
|
data: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7106
8009
|
id: z.ZodString;
|
|
7107
|
-
|
|
8010
|
+
assets_item_id: z.ZodString;
|
|
7108
8011
|
name: z.ZodString;
|
|
7109
8012
|
filename: z.ZodNullable<z.ZodString>;
|
|
7110
8013
|
description: z.ZodNullable<z.ZodString>;
|
|
7111
8014
|
certified: z.ZodBoolean;
|
|
7112
8015
|
created_by_user_id: z.ZodString;
|
|
7113
8016
|
file: z.ZodNullable<z.ZodObject<{
|
|
7114
|
-
signed_id: z.ZodString;
|
|
7115
8017
|
filename: z.ZodString;
|
|
7116
8018
|
content_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7117
8019
|
byte_size: z.ZodInt;
|
|
8020
|
+
url: z.ZodString;
|
|
7118
8021
|
}, z.core.$strip>>;
|
|
7119
8022
|
created_at: z.ZodISODateTime;
|
|
7120
8023
|
updated_at: z.ZodISODateTime;
|
|
@@ -7133,17 +8036,17 @@ export declare const zCreateDocumentPath: z.ZodObject<{
|
|
|
7133
8036
|
*/
|
|
7134
8037
|
export declare const zCreateDocumentResponse: z.ZodObject<{
|
|
7135
8038
|
id: z.ZodString;
|
|
7136
|
-
|
|
8039
|
+
assets_item_id: z.ZodString;
|
|
7137
8040
|
name: z.ZodString;
|
|
7138
8041
|
filename: z.ZodNullable<z.ZodString>;
|
|
7139
8042
|
description: z.ZodNullable<z.ZodString>;
|
|
7140
8043
|
certified: z.ZodBoolean;
|
|
7141
8044
|
created_by_user_id: z.ZodString;
|
|
7142
8045
|
file: z.ZodNullable<z.ZodObject<{
|
|
7143
|
-
signed_id: z.ZodString;
|
|
7144
8046
|
filename: z.ZodString;
|
|
7145
8047
|
content_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7146
8048
|
byte_size: z.ZodInt;
|
|
8049
|
+
url: z.ZodString;
|
|
7147
8050
|
}, z.core.$strip>>;
|
|
7148
8051
|
created_at: z.ZodISODateTime;
|
|
7149
8052
|
updated_at: z.ZodISODateTime;
|
|
@@ -7157,17 +8060,17 @@ export declare const zDeleteDocumentPath: z.ZodObject<{
|
|
|
7157
8060
|
*/
|
|
7158
8061
|
export declare const zDeleteDocumentResponse: z.ZodObject<{
|
|
7159
8062
|
id: z.ZodString;
|
|
7160
|
-
|
|
8063
|
+
assets_item_id: z.ZodString;
|
|
7161
8064
|
name: z.ZodString;
|
|
7162
8065
|
filename: z.ZodNullable<z.ZodString>;
|
|
7163
8066
|
description: z.ZodNullable<z.ZodString>;
|
|
7164
8067
|
certified: z.ZodBoolean;
|
|
7165
8068
|
created_by_user_id: z.ZodString;
|
|
7166
8069
|
file: z.ZodNullable<z.ZodObject<{
|
|
7167
|
-
signed_id: z.ZodString;
|
|
7168
8070
|
filename: z.ZodString;
|
|
7169
8071
|
content_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7170
8072
|
byte_size: z.ZodInt;
|
|
8073
|
+
url: z.ZodString;
|
|
7171
8074
|
}, z.core.$strip>>;
|
|
7172
8075
|
created_at: z.ZodISODateTime;
|
|
7173
8076
|
updated_at: z.ZodISODateTime;
|
|
@@ -7181,17 +8084,17 @@ export declare const zGetDocumentPath: z.ZodObject<{
|
|
|
7181
8084
|
*/
|
|
7182
8085
|
export declare const zGetDocumentResponse: z.ZodObject<{
|
|
7183
8086
|
id: z.ZodString;
|
|
7184
|
-
|
|
8087
|
+
assets_item_id: z.ZodString;
|
|
7185
8088
|
name: z.ZodString;
|
|
7186
8089
|
filename: z.ZodNullable<z.ZodString>;
|
|
7187
8090
|
description: z.ZodNullable<z.ZodString>;
|
|
7188
8091
|
certified: z.ZodBoolean;
|
|
7189
8092
|
created_by_user_id: z.ZodString;
|
|
7190
8093
|
file: z.ZodNullable<z.ZodObject<{
|
|
7191
|
-
signed_id: z.ZodString;
|
|
7192
8094
|
filename: z.ZodString;
|
|
7193
8095
|
content_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7194
8096
|
byte_size: z.ZodInt;
|
|
8097
|
+
url: z.ZodString;
|
|
7195
8098
|
}, z.core.$strip>>;
|
|
7196
8099
|
created_at: z.ZodISODateTime;
|
|
7197
8100
|
updated_at: z.ZodISODateTime;
|
|
@@ -7210,17 +8113,17 @@ export declare const zUpdateDocumentPath: z.ZodObject<{
|
|
|
7210
8113
|
*/
|
|
7211
8114
|
export declare const zUpdateDocumentResponse: z.ZodObject<{
|
|
7212
8115
|
id: z.ZodString;
|
|
7213
|
-
|
|
8116
|
+
assets_item_id: z.ZodString;
|
|
7214
8117
|
name: z.ZodString;
|
|
7215
8118
|
filename: z.ZodNullable<z.ZodString>;
|
|
7216
8119
|
description: z.ZodNullable<z.ZodString>;
|
|
7217
8120
|
certified: z.ZodBoolean;
|
|
7218
8121
|
created_by_user_id: z.ZodString;
|
|
7219
8122
|
file: z.ZodNullable<z.ZodObject<{
|
|
7220
|
-
signed_id: z.ZodString;
|
|
7221
8123
|
filename: z.ZodString;
|
|
7222
8124
|
content_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7223
8125
|
byte_size: z.ZodInt;
|
|
8126
|
+
url: z.ZodString;
|
|
7224
8127
|
}, z.core.$strip>>;
|
|
7225
8128
|
created_at: z.ZodISODateTime;
|
|
7226
8129
|
updated_at: z.ZodISODateTime;
|
|
@@ -7257,7 +8160,7 @@ export declare const zListVersionsResponse: z.ZodObject<{
|
|
|
7257
8160
|
}, z.core.$strip>>>;
|
|
7258
8161
|
}, z.core.$strip>;
|
|
7259
8162
|
export declare const zListProductsQuery: z.ZodObject<{
|
|
7260
|
-
'filter[
|
|
8163
|
+
'filter[assets_category_id]': z.ZodOptional<z.ZodString>;
|
|
7261
8164
|
'filter[created_at][gte]': z.ZodOptional<z.ZodISODateTime>;
|
|
7262
8165
|
'filter[created_at][lte]': z.ZodOptional<z.ZodISODateTime>;
|
|
7263
8166
|
'filter[updated_at][gte]': z.ZodOptional<z.ZodISODateTime>;
|
|
@@ -7298,11 +8201,22 @@ export declare const zListProductsResponse: z.ZodObject<{
|
|
|
7298
8201
|
pack: "pack";
|
|
7299
8202
|
}>;
|
|
7300
8203
|
serialized: z.ZodBoolean;
|
|
7301
|
-
|
|
8204
|
+
assets_category_id: z.ZodNullable<z.ZodString>;
|
|
7302
8205
|
attributes: z.ZodArray<z.ZodObject<{
|
|
7303
|
-
|
|
8206
|
+
assets_attribute_id: z.ZodString;
|
|
7304
8207
|
value: z.ZodNullable<z.ZodString>;
|
|
7305
|
-
|
|
8208
|
+
assets_attribute_option_id: z.ZodNullable<z.ZodString>;
|
|
8209
|
+
}, z.core.$strip>>;
|
|
8210
|
+
images: z.ZodArray<z.ZodObject<{
|
|
8211
|
+
id: z.ZodString;
|
|
8212
|
+
file: z.ZodNullable<z.ZodObject<{
|
|
8213
|
+
filename: z.ZodString;
|
|
8214
|
+
content_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8215
|
+
byte_size: z.ZodInt;
|
|
8216
|
+
url: z.ZodString;
|
|
8217
|
+
}, z.core.$strip>>;
|
|
8218
|
+
created_at: z.ZodISODateTime;
|
|
8219
|
+
updated_at: z.ZodISODateTime;
|
|
7306
8220
|
}, z.core.$strip>>;
|
|
7307
8221
|
created_at: z.ZodISODateTime;
|
|
7308
8222
|
updated_at: z.ZodISODateTime;
|
|
@@ -7315,7 +8229,7 @@ export declare const zCreateProductBody: z.ZodObject<{
|
|
|
7315
8229
|
}>;
|
|
7316
8230
|
name: z.ZodString;
|
|
7317
8231
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7318
|
-
|
|
8232
|
+
assets_category_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7319
8233
|
upc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7320
8234
|
internal_sku: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7321
8235
|
default_minimum_quantity: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
@@ -7327,14 +8241,19 @@ export declare const zCreateProductBody: z.ZodObject<{
|
|
|
7327
8241
|
pack: "pack";
|
|
7328
8242
|
}>>;
|
|
7329
8243
|
attribute_values: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7330
|
-
|
|
8244
|
+
assets_attribute_id: z.ZodString;
|
|
7331
8245
|
value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7332
|
-
|
|
8246
|
+
assets_attribute_option_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8247
|
+
}, z.core.$strip>>>;
|
|
8248
|
+
images_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8249
|
+
id: z.ZodOptional<z.ZodString>;
|
|
8250
|
+
file: z.ZodOptional<z.ZodString>;
|
|
8251
|
+
_destroy: z.ZodOptional<z.ZodBoolean>;
|
|
7333
8252
|
}, z.core.$strip>>>;
|
|
7334
8253
|
performed_by_user_id: z.ZodString;
|
|
7335
8254
|
}, z.core.$strip>;
|
|
7336
8255
|
/**
|
|
7337
|
-
* Created (with
|
|
8256
|
+
* Created (with an image)
|
|
7338
8257
|
*/
|
|
7339
8258
|
export declare const zCreateProductResponse: z.ZodObject<{
|
|
7340
8259
|
id: z.ZodString;
|
|
@@ -7351,11 +8270,22 @@ export declare const zCreateProductResponse: z.ZodObject<{
|
|
|
7351
8270
|
pack: "pack";
|
|
7352
8271
|
}>;
|
|
7353
8272
|
serialized: z.ZodBoolean;
|
|
7354
|
-
|
|
8273
|
+
assets_category_id: z.ZodNullable<z.ZodString>;
|
|
7355
8274
|
attributes: z.ZodArray<z.ZodObject<{
|
|
7356
|
-
|
|
8275
|
+
assets_attribute_id: z.ZodString;
|
|
7357
8276
|
value: z.ZodNullable<z.ZodString>;
|
|
7358
|
-
|
|
8277
|
+
assets_attribute_option_id: z.ZodNullable<z.ZodString>;
|
|
8278
|
+
}, z.core.$strip>>;
|
|
8279
|
+
images: z.ZodArray<z.ZodObject<{
|
|
8280
|
+
id: z.ZodString;
|
|
8281
|
+
file: z.ZodNullable<z.ZodObject<{
|
|
8282
|
+
filename: z.ZodString;
|
|
8283
|
+
content_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8284
|
+
byte_size: z.ZodInt;
|
|
8285
|
+
url: z.ZodString;
|
|
8286
|
+
}, z.core.$strip>>;
|
|
8287
|
+
created_at: z.ZodISODateTime;
|
|
8288
|
+
updated_at: z.ZodISODateTime;
|
|
7359
8289
|
}, z.core.$strip>>;
|
|
7360
8290
|
created_at: z.ZodISODateTime;
|
|
7361
8291
|
updated_at: z.ZodISODateTime;
|
|
@@ -7381,11 +8311,22 @@ export declare const zDeleteProductResponse: z.ZodObject<{
|
|
|
7381
8311
|
pack: "pack";
|
|
7382
8312
|
}>;
|
|
7383
8313
|
serialized: z.ZodBoolean;
|
|
7384
|
-
|
|
8314
|
+
assets_category_id: z.ZodNullable<z.ZodString>;
|
|
7385
8315
|
attributes: z.ZodArray<z.ZodObject<{
|
|
7386
|
-
|
|
8316
|
+
assets_attribute_id: z.ZodString;
|
|
7387
8317
|
value: z.ZodNullable<z.ZodString>;
|
|
7388
|
-
|
|
8318
|
+
assets_attribute_option_id: z.ZodNullable<z.ZodString>;
|
|
8319
|
+
}, z.core.$strip>>;
|
|
8320
|
+
images: z.ZodArray<z.ZodObject<{
|
|
8321
|
+
id: z.ZodString;
|
|
8322
|
+
file: z.ZodNullable<z.ZodObject<{
|
|
8323
|
+
filename: z.ZodString;
|
|
8324
|
+
content_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8325
|
+
byte_size: z.ZodInt;
|
|
8326
|
+
url: z.ZodString;
|
|
8327
|
+
}, z.core.$strip>>;
|
|
8328
|
+
created_at: z.ZodISODateTime;
|
|
8329
|
+
updated_at: z.ZodISODateTime;
|
|
7389
8330
|
}, z.core.$strip>>;
|
|
7390
8331
|
created_at: z.ZodISODateTime;
|
|
7391
8332
|
updated_at: z.ZodISODateTime;
|
|
@@ -7411,23 +8352,30 @@ export declare const zGetProductResponse: z.ZodObject<{
|
|
|
7411
8352
|
pack: "pack";
|
|
7412
8353
|
}>;
|
|
7413
8354
|
serialized: z.ZodBoolean;
|
|
7414
|
-
|
|
8355
|
+
assets_category_id: z.ZodNullable<z.ZodString>;
|
|
7415
8356
|
attributes: z.ZodArray<z.ZodObject<{
|
|
7416
|
-
|
|
8357
|
+
assets_attribute_id: z.ZodString;
|
|
7417
8358
|
value: z.ZodNullable<z.ZodString>;
|
|
7418
|
-
|
|
8359
|
+
assets_attribute_option_id: z.ZodNullable<z.ZodString>;
|
|
8360
|
+
}, z.core.$strip>>;
|
|
8361
|
+
images: z.ZodArray<z.ZodObject<{
|
|
8362
|
+
id: z.ZodString;
|
|
8363
|
+
file: z.ZodNullable<z.ZodObject<{
|
|
8364
|
+
filename: z.ZodString;
|
|
8365
|
+
content_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8366
|
+
byte_size: z.ZodInt;
|
|
8367
|
+
url: z.ZodString;
|
|
8368
|
+
}, z.core.$strip>>;
|
|
8369
|
+
created_at: z.ZodISODateTime;
|
|
8370
|
+
updated_at: z.ZodISODateTime;
|
|
7419
8371
|
}, z.core.$strip>>;
|
|
7420
8372
|
created_at: z.ZodISODateTime;
|
|
7421
8373
|
updated_at: z.ZodISODateTime;
|
|
7422
8374
|
}, z.core.$strip>;
|
|
7423
8375
|
export declare const zUpdateProductBody: z.ZodObject<{
|
|
7424
|
-
|
|
7425
|
-
serial: "serial";
|
|
7426
|
-
bulk: "bulk";
|
|
7427
|
-
}>;
|
|
7428
|
-
name: z.ZodString;
|
|
8376
|
+
name: z.ZodOptional<z.ZodString>;
|
|
7429
8377
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7430
|
-
|
|
8378
|
+
assets_category_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7431
8379
|
upc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7432
8380
|
internal_sku: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7433
8381
|
default_minimum_quantity: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
@@ -7439,11 +8387,15 @@ export declare const zUpdateProductBody: z.ZodObject<{
|
|
|
7439
8387
|
pack: "pack";
|
|
7440
8388
|
}>>;
|
|
7441
8389
|
attribute_values: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7442
|
-
|
|
8390
|
+
assets_attribute_id: z.ZodString;
|
|
7443
8391
|
value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7444
|
-
|
|
8392
|
+
assets_attribute_option_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8393
|
+
}, z.core.$strip>>>;
|
|
8394
|
+
images_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8395
|
+
id: z.ZodOptional<z.ZodString>;
|
|
8396
|
+
file: z.ZodOptional<z.ZodString>;
|
|
8397
|
+
_destroy: z.ZodOptional<z.ZodBoolean>;
|
|
7445
8398
|
}, z.core.$strip>>>;
|
|
7446
|
-
performed_by_user_id: z.ZodString;
|
|
7447
8399
|
}, z.core.$strip>;
|
|
7448
8400
|
export declare const zUpdateProductPath: z.ZodObject<{
|
|
7449
8401
|
id: z.ZodString;
|
|
@@ -7466,11 +8418,22 @@ export declare const zUpdateProductResponse: z.ZodObject<{
|
|
|
7466
8418
|
pack: "pack";
|
|
7467
8419
|
}>;
|
|
7468
8420
|
serialized: z.ZodBoolean;
|
|
7469
|
-
|
|
8421
|
+
assets_category_id: z.ZodNullable<z.ZodString>;
|
|
7470
8422
|
attributes: z.ZodArray<z.ZodObject<{
|
|
7471
|
-
|
|
8423
|
+
assets_attribute_id: z.ZodString;
|
|
7472
8424
|
value: z.ZodNullable<z.ZodString>;
|
|
7473
|
-
|
|
8425
|
+
assets_attribute_option_id: z.ZodNullable<z.ZodString>;
|
|
8426
|
+
}, z.core.$strip>>;
|
|
8427
|
+
images: z.ZodArray<z.ZodObject<{
|
|
8428
|
+
id: z.ZodString;
|
|
8429
|
+
file: z.ZodNullable<z.ZodObject<{
|
|
8430
|
+
filename: z.ZodString;
|
|
8431
|
+
content_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8432
|
+
byte_size: z.ZodInt;
|
|
8433
|
+
url: z.ZodString;
|
|
8434
|
+
}, z.core.$strip>>;
|
|
8435
|
+
created_at: z.ZodISODateTime;
|
|
8436
|
+
updated_at: z.ZodISODateTime;
|
|
7474
8437
|
}, z.core.$strip>>;
|
|
7475
8438
|
created_at: z.ZodISODateTime;
|
|
7476
8439
|
updated_at: z.ZodISODateTime;
|
|
@@ -7501,11 +8464,22 @@ export declare const zAdjustProductInventoryResponse: z.ZodObject<{
|
|
|
7501
8464
|
pack: "pack";
|
|
7502
8465
|
}>;
|
|
7503
8466
|
serialized: z.ZodBoolean;
|
|
7504
|
-
|
|
8467
|
+
assets_category_id: z.ZodNullable<z.ZodString>;
|
|
7505
8468
|
attributes: z.ZodArray<z.ZodObject<{
|
|
7506
|
-
|
|
8469
|
+
assets_attribute_id: z.ZodString;
|
|
7507
8470
|
value: z.ZodNullable<z.ZodString>;
|
|
7508
|
-
|
|
8471
|
+
assets_attribute_option_id: z.ZodNullable<z.ZodString>;
|
|
8472
|
+
}, z.core.$strip>>;
|
|
8473
|
+
images: z.ZodArray<z.ZodObject<{
|
|
8474
|
+
id: z.ZodString;
|
|
8475
|
+
file: z.ZodNullable<z.ZodObject<{
|
|
8476
|
+
filename: z.ZodString;
|
|
8477
|
+
content_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8478
|
+
byte_size: z.ZodInt;
|
|
8479
|
+
url: z.ZodString;
|
|
8480
|
+
}, z.core.$strip>>;
|
|
8481
|
+
created_at: z.ZodISODateTime;
|
|
8482
|
+
updated_at: z.ZodISODateTime;
|
|
7509
8483
|
}, z.core.$strip>>;
|
|
7510
8484
|
created_at: z.ZodISODateTime;
|
|
7511
8485
|
updated_at: z.ZodISODateTime;
|
|
@@ -7536,11 +8510,22 @@ export declare const zRestockProductResponse: z.ZodObject<{
|
|
|
7536
8510
|
pack: "pack";
|
|
7537
8511
|
}>;
|
|
7538
8512
|
serialized: z.ZodBoolean;
|
|
7539
|
-
|
|
8513
|
+
assets_category_id: z.ZodNullable<z.ZodString>;
|
|
7540
8514
|
attributes: z.ZodArray<z.ZodObject<{
|
|
7541
|
-
|
|
8515
|
+
assets_attribute_id: z.ZodString;
|
|
7542
8516
|
value: z.ZodNullable<z.ZodString>;
|
|
7543
|
-
|
|
8517
|
+
assets_attribute_option_id: z.ZodNullable<z.ZodString>;
|
|
8518
|
+
}, z.core.$strip>>;
|
|
8519
|
+
images: z.ZodArray<z.ZodObject<{
|
|
8520
|
+
id: z.ZodString;
|
|
8521
|
+
file: z.ZodNullable<z.ZodObject<{
|
|
8522
|
+
filename: z.ZodString;
|
|
8523
|
+
content_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8524
|
+
byte_size: z.ZodInt;
|
|
8525
|
+
url: z.ZodString;
|
|
8526
|
+
}, z.core.$strip>>;
|
|
8527
|
+
created_at: z.ZodISODateTime;
|
|
8528
|
+
updated_at: z.ZodISODateTime;
|
|
7544
8529
|
}, z.core.$strip>>;
|
|
7545
8530
|
created_at: z.ZodISODateTime;
|
|
7546
8531
|
updated_at: z.ZodISODateTime;
|
|
@@ -7725,7 +8710,7 @@ export declare const zUpdateServiceScheduleTemplateResponse: z.ZodObject<{
|
|
|
7725
8710
|
updated_at: z.ZodISODateTime;
|
|
7726
8711
|
}, z.core.$strip>;
|
|
7727
8712
|
export declare const zSeedServiceScheduleTemplateBody: z.ZodObject<{
|
|
7728
|
-
|
|
8713
|
+
assets_item_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
7729
8714
|
performed_by_user_id: z.ZodString;
|
|
7730
8715
|
}, z.core.$strip>;
|
|
7731
8716
|
export declare const zSeedServiceScheduleTemplatePath: z.ZodObject<{
|
|
@@ -7739,7 +8724,7 @@ export declare const zSeedServiceScheduleTemplateResponse: z.ZodObject<{
|
|
|
7739
8724
|
count: z.ZodInt;
|
|
7740
8725
|
data: z.ZodArray<z.ZodObject<{
|
|
7741
8726
|
id: z.ZodString;
|
|
7742
|
-
|
|
8727
|
+
assets_item_id: z.ZodString;
|
|
7743
8728
|
company_id: z.ZodString;
|
|
7744
8729
|
assets_service_schedule_template_id: z.ZodNullable<z.ZodString>;
|
|
7745
8730
|
kind: z.ZodEnum<{
|
|
@@ -7775,7 +8760,7 @@ export declare const zSyncServiceScheduleTemplateResponse: z.ZodObject<{
|
|
|
7775
8760
|
count: z.ZodInt;
|
|
7776
8761
|
data: z.ZodArray<z.ZodObject<{
|
|
7777
8762
|
id: z.ZodString;
|
|
7778
|
-
|
|
8763
|
+
assets_item_id: z.ZodString;
|
|
7779
8764
|
company_id: z.ZodString;
|
|
7780
8765
|
assets_service_schedule_template_id: z.ZodNullable<z.ZodString>;
|
|
7781
8766
|
kind: z.ZodEnum<{
|
|
@@ -8018,7 +9003,7 @@ export declare const zListTransfersResponse: z.ZodObject<{
|
|
|
8018
9003
|
completed_at: z.ZodNullable<z.ZodISODateTime>;
|
|
8019
9004
|
transfer_lines: z.ZodArray<z.ZodObject<{
|
|
8020
9005
|
id: z.ZodString;
|
|
8021
|
-
|
|
9006
|
+
assets_item_id: z.ZodString;
|
|
8022
9007
|
quantity: z.ZodInt;
|
|
8023
9008
|
}, z.core.$strip>>;
|
|
8024
9009
|
created_at: z.ZodISODateTime;
|
|
@@ -8032,7 +9017,7 @@ export declare const zCreateTransferBody: z.ZodObject<{
|
|
|
8032
9017
|
to_user_id: z.ZodOptional<z.ZodString>;
|
|
8033
9018
|
performed_by_user_id: z.ZodString;
|
|
8034
9019
|
line_items: z.ZodArray<z.ZodObject<{
|
|
8035
|
-
|
|
9020
|
+
assets_item_id: z.ZodString;
|
|
8036
9021
|
quantity: z.ZodInt;
|
|
8037
9022
|
}, z.core.$strip>>;
|
|
8038
9023
|
}, z.core.$strip>;
|
|
@@ -8056,7 +9041,7 @@ export declare const zCreateTransferResponse: z.ZodObject<{
|
|
|
8056
9041
|
completed_at: z.ZodNullable<z.ZodISODateTime>;
|
|
8057
9042
|
transfer_lines: z.ZodArray<z.ZodObject<{
|
|
8058
9043
|
id: z.ZodString;
|
|
8059
|
-
|
|
9044
|
+
assets_item_id: z.ZodString;
|
|
8060
9045
|
quantity: z.ZodInt;
|
|
8061
9046
|
}, z.core.$strip>>;
|
|
8062
9047
|
created_at: z.ZodISODateTime;
|
|
@@ -8085,7 +9070,7 @@ export declare const zGetTransferResponse: z.ZodObject<{
|
|
|
8085
9070
|
completed_at: z.ZodNullable<z.ZodISODateTime>;
|
|
8086
9071
|
transfer_lines: z.ZodArray<z.ZodObject<{
|
|
8087
9072
|
id: z.ZodString;
|
|
8088
|
-
|
|
9073
|
+
assets_item_id: z.ZodString;
|
|
8089
9074
|
quantity: z.ZodInt;
|
|
8090
9075
|
}, z.core.$strip>>;
|
|
8091
9076
|
created_at: z.ZodISODateTime;
|
|
@@ -8117,20 +9102,23 @@ export declare const zListVendorsResponse: z.ZodObject<{
|
|
|
8117
9102
|
id: z.ZodString;
|
|
8118
9103
|
name: z.ZodString;
|
|
8119
9104
|
company_id: z.ZodString;
|
|
9105
|
+
logo_url: z.ZodNullable<z.ZodString>;
|
|
8120
9106
|
created_at: z.ZodISODateTime;
|
|
8121
9107
|
updated_at: z.ZodISODateTime;
|
|
8122
9108
|
}, z.core.$strip>>>;
|
|
8123
9109
|
}, z.core.$strip>;
|
|
8124
9110
|
export declare const zCreateVendorBody: z.ZodObject<{
|
|
8125
9111
|
name: z.ZodString;
|
|
9112
|
+
logo_signed_id: z.ZodOptional<z.ZodString>;
|
|
8126
9113
|
}, z.core.$strip>;
|
|
8127
9114
|
/**
|
|
8128
|
-
* Created
|
|
9115
|
+
* Created with a logo
|
|
8129
9116
|
*/
|
|
8130
9117
|
export declare const zCreateVendorResponse: z.ZodObject<{
|
|
8131
9118
|
id: z.ZodString;
|
|
8132
9119
|
name: z.ZodString;
|
|
8133
9120
|
company_id: z.ZodString;
|
|
9121
|
+
logo_url: z.ZodNullable<z.ZodString>;
|
|
8134
9122
|
created_at: z.ZodISODateTime;
|
|
8135
9123
|
updated_at: z.ZodISODateTime;
|
|
8136
9124
|
}, z.core.$strip>;
|
|
@@ -8144,6 +9132,7 @@ export declare const zDeleteVendorResponse: z.ZodObject<{
|
|
|
8144
9132
|
id: z.ZodString;
|
|
8145
9133
|
name: z.ZodString;
|
|
8146
9134
|
company_id: z.ZodString;
|
|
9135
|
+
logo_url: z.ZodNullable<z.ZodString>;
|
|
8147
9136
|
created_at: z.ZodISODateTime;
|
|
8148
9137
|
updated_at: z.ZodISODateTime;
|
|
8149
9138
|
}, z.core.$strip>;
|
|
@@ -8157,22 +9146,25 @@ export declare const zGetVendorResponse: z.ZodObject<{
|
|
|
8157
9146
|
id: z.ZodString;
|
|
8158
9147
|
name: z.ZodString;
|
|
8159
9148
|
company_id: z.ZodString;
|
|
9149
|
+
logo_url: z.ZodNullable<z.ZodString>;
|
|
8160
9150
|
created_at: z.ZodISODateTime;
|
|
8161
9151
|
updated_at: z.ZodISODateTime;
|
|
8162
9152
|
}, z.core.$strip>;
|
|
8163
9153
|
export declare const zUpdateVendorBody: z.ZodObject<{
|
|
8164
9154
|
name: z.ZodString;
|
|
9155
|
+
logo_signed_id: z.ZodOptional<z.ZodString>;
|
|
8165
9156
|
}, z.core.$strip>;
|
|
8166
9157
|
export declare const zUpdateVendorPath: z.ZodObject<{
|
|
8167
9158
|
id: z.ZodString;
|
|
8168
9159
|
}, z.core.$strip>;
|
|
8169
9160
|
/**
|
|
8170
|
-
*
|
|
9161
|
+
* Updated with a logo
|
|
8171
9162
|
*/
|
|
8172
9163
|
export declare const zUpdateVendorResponse: z.ZodObject<{
|
|
8173
9164
|
id: z.ZodString;
|
|
8174
9165
|
name: z.ZodString;
|
|
8175
9166
|
company_id: z.ZodString;
|
|
9167
|
+
logo_url: z.ZodNullable<z.ZodString>;
|
|
8176
9168
|
created_at: z.ZodISODateTime;
|
|
8177
9169
|
updated_at: z.ZodISODateTime;
|
|
8178
9170
|
}, z.core.$strip>;
|
|
@@ -8317,7 +9309,7 @@ export declare const zListFeaturesResponse: z.ZodObject<{
|
|
|
8317
9309
|
ext_source: z.ZodString;
|
|
8318
9310
|
scoped_to_company_id: z.ZodNullable<z.ZodString>;
|
|
8319
9311
|
created_by_company_id: z.ZodNullable<z.ZodString>;
|
|
8320
|
-
|
|
9312
|
+
scoped_to_user: z.ZodBoolean;
|
|
8321
9313
|
address_id: z.ZodNullable<z.ZodString>;
|
|
8322
9314
|
created_by_user_id: z.ZodNullable<z.ZodString>;
|
|
8323
9315
|
updated_by_user_id: z.ZodNullable<z.ZodString>;
|
|
@@ -8442,7 +9434,7 @@ export declare const zGetFeatureResponse: z.ZodObject<{
|
|
|
8442
9434
|
ext_source: z.ZodString;
|
|
8443
9435
|
scoped_to_company_id: z.ZodNullable<z.ZodString>;
|
|
8444
9436
|
created_by_company_id: z.ZodNullable<z.ZodString>;
|
|
8445
|
-
|
|
9437
|
+
scoped_to_user: z.ZodBoolean;
|
|
8446
9438
|
address_id: z.ZodNullable<z.ZodString>;
|
|
8447
9439
|
created_by_user_id: z.ZodNullable<z.ZodString>;
|
|
8448
9440
|
updated_by_user_id: z.ZodNullable<z.ZodString>;
|
|
@@ -8715,10 +9707,10 @@ export declare const zListUserCertificationsResponse: z.ZodObject<{
|
|
|
8715
9707
|
id: z.ZodString;
|
|
8716
9708
|
user_id: z.ZodString;
|
|
8717
9709
|
certification_id: z.ZodString;
|
|
8718
|
-
|
|
8719
|
-
|
|
9710
|
+
received_at: z.ZodISODateTime;
|
|
9711
|
+
verified: z.ZodBoolean;
|
|
8720
9712
|
issuer_company_id: z.ZodNullable<z.ZodString>;
|
|
8721
|
-
expiration_date: z.ZodNullable<z.
|
|
9713
|
+
expiration_date: z.ZodNullable<z.ZodISODate>;
|
|
8722
9714
|
credential_id: z.ZodNullable<z.ZodString>;
|
|
8723
9715
|
approved_by_user_id: z.ZodNullable<z.ZodString>;
|
|
8724
9716
|
created_by_user_id: z.ZodNullable<z.ZodString>;
|
|
@@ -8732,12 +9724,12 @@ export declare const zListUserCertificationsResponse: z.ZodObject<{
|
|
|
8732
9724
|
export declare const zCreateUserCertificationBody: z.ZodObject<{
|
|
8733
9725
|
user_id: z.ZodString;
|
|
8734
9726
|
certification_id: z.ZodString;
|
|
8735
|
-
|
|
9727
|
+
received_at: z.ZodISODateTime;
|
|
8736
9728
|
file: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
8737
9729
|
name: z.ZodOptional<z.ZodString>;
|
|
8738
9730
|
content: z.ZodOptional<z.ZodString>;
|
|
8739
9731
|
}, z.core.$strip>>>;
|
|
8740
|
-
|
|
9732
|
+
verified: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
8741
9733
|
expiration_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
|
|
8742
9734
|
credential_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8743
9735
|
approved_by_user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -8751,10 +9743,10 @@ export declare const zCreateUserCertificationResponse: z.ZodObject<{
|
|
|
8751
9743
|
id: z.ZodString;
|
|
8752
9744
|
user_id: z.ZodString;
|
|
8753
9745
|
certification_id: z.ZodString;
|
|
8754
|
-
|
|
8755
|
-
|
|
9746
|
+
received_at: z.ZodISODateTime;
|
|
9747
|
+
verified: z.ZodBoolean;
|
|
8756
9748
|
issuer_company_id: z.ZodNullable<z.ZodString>;
|
|
8757
|
-
expiration_date: z.ZodNullable<z.
|
|
9749
|
+
expiration_date: z.ZodNullable<z.ZodISODate>;
|
|
8758
9750
|
credential_id: z.ZodNullable<z.ZodString>;
|
|
8759
9751
|
approved_by_user_id: z.ZodNullable<z.ZodString>;
|
|
8760
9752
|
created_by_user_id: z.ZodNullable<z.ZodString>;
|
|
@@ -8774,10 +9766,10 @@ export declare const zDeleteUserCertificationResponse: z.ZodObject<{
|
|
|
8774
9766
|
id: z.ZodString;
|
|
8775
9767
|
user_id: z.ZodString;
|
|
8776
9768
|
certification_id: z.ZodString;
|
|
8777
|
-
|
|
8778
|
-
|
|
9769
|
+
received_at: z.ZodISODateTime;
|
|
9770
|
+
verified: z.ZodBoolean;
|
|
8779
9771
|
issuer_company_id: z.ZodNullable<z.ZodString>;
|
|
8780
|
-
expiration_date: z.ZodNullable<z.
|
|
9772
|
+
expiration_date: z.ZodNullable<z.ZodISODate>;
|
|
8781
9773
|
credential_id: z.ZodNullable<z.ZodString>;
|
|
8782
9774
|
approved_by_user_id: z.ZodNullable<z.ZodString>;
|
|
8783
9775
|
created_by_user_id: z.ZodNullable<z.ZodString>;
|
|
@@ -8797,10 +9789,10 @@ export declare const zGetUserCertificationResponse: z.ZodObject<{
|
|
|
8797
9789
|
id: z.ZodString;
|
|
8798
9790
|
user_id: z.ZodString;
|
|
8799
9791
|
certification_id: z.ZodString;
|
|
8800
|
-
|
|
8801
|
-
|
|
9792
|
+
received_at: z.ZodISODateTime;
|
|
9793
|
+
verified: z.ZodBoolean;
|
|
8802
9794
|
issuer_company_id: z.ZodNullable<z.ZodString>;
|
|
8803
|
-
expiration_date: z.ZodNullable<z.
|
|
9795
|
+
expiration_date: z.ZodNullable<z.ZodISODate>;
|
|
8804
9796
|
credential_id: z.ZodNullable<z.ZodString>;
|
|
8805
9797
|
approved_by_user_id: z.ZodNullable<z.ZodString>;
|
|
8806
9798
|
created_by_user_id: z.ZodNullable<z.ZodString>;
|
|
@@ -8813,12 +9805,12 @@ export declare const zGetUserCertificationResponse: z.ZodObject<{
|
|
|
8813
9805
|
export declare const zUpdateUserCertificationBody: z.ZodObject<{
|
|
8814
9806
|
user_id: z.ZodString;
|
|
8815
9807
|
certification_id: z.ZodString;
|
|
8816
|
-
|
|
9808
|
+
received_at: z.ZodISODateTime;
|
|
8817
9809
|
file: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
8818
9810
|
name: z.ZodOptional<z.ZodString>;
|
|
8819
9811
|
content: z.ZodOptional<z.ZodString>;
|
|
8820
9812
|
}, z.core.$strip>>>;
|
|
8821
|
-
|
|
9813
|
+
verified: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
8822
9814
|
expiration_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
|
|
8823
9815
|
credential_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8824
9816
|
approved_by_user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -8835,10 +9827,10 @@ export declare const zUpdateUserCertificationResponse: z.ZodObject<{
|
|
|
8835
9827
|
id: z.ZodString;
|
|
8836
9828
|
user_id: z.ZodString;
|
|
8837
9829
|
certification_id: z.ZodString;
|
|
8838
|
-
|
|
8839
|
-
|
|
9830
|
+
received_at: z.ZodISODateTime;
|
|
9831
|
+
verified: z.ZodBoolean;
|
|
8840
9832
|
issuer_company_id: z.ZodNullable<z.ZodString>;
|
|
8841
|
-
expiration_date: z.ZodNullable<z.
|
|
9833
|
+
expiration_date: z.ZodNullable<z.ZodISODate>;
|
|
8842
9834
|
credential_id: z.ZodNullable<z.ZodString>;
|
|
8843
9835
|
approved_by_user_id: z.ZodNullable<z.ZodString>;
|
|
8844
9836
|
created_by_user_id: z.ZodNullable<z.ZodString>;
|
|
@@ -9057,14 +10049,14 @@ export declare const zListCompaniesResponse: z.ZodObject<{
|
|
|
9057
10049
|
color_hex: z.ZodString;
|
|
9058
10050
|
tagline: z.ZodNullable<z.ZodString>;
|
|
9059
10051
|
founding_year: z.ZodNullable<z.ZodInt>;
|
|
9060
|
-
corporate_structure: z.ZodEnum<{
|
|
10052
|
+
corporate_structure: z.ZodNullable<z.ZodEnum<{
|
|
9061
10053
|
corporation: "corporation";
|
|
9062
10054
|
llc: "llc";
|
|
9063
10055
|
partnership: "partnership";
|
|
9064
10056
|
sole_proprietorship: "sole_proprietorship";
|
|
9065
10057
|
s_corporation: "s_corporation";
|
|
9066
|
-
}
|
|
9067
|
-
employee_count_range: z.ZodEnum<{
|
|
10058
|
+
}>>;
|
|
10059
|
+
employee_count_range: z.ZodNullable<z.ZodEnum<{
|
|
9068
10060
|
one_to_ten: "one_to_ten";
|
|
9069
10061
|
eleven_to_fifty: "eleven_to_fifty";
|
|
9070
10062
|
fifty_one_to_two_hundred: "fifty_one_to_two_hundred";
|
|
@@ -9073,8 +10065,8 @@ export declare const zListCompaniesResponse: z.ZodObject<{
|
|
|
9073
10065
|
one_thousand_one_to_five_thousand: "one_thousand_one_to_five_thousand";
|
|
9074
10066
|
five_thousand_one_to_ten_thousand: "five_thousand_one_to_ten_thousand";
|
|
9075
10067
|
ten_thousand_one_plus: "ten_thousand_one_plus";
|
|
9076
|
-
}
|
|
9077
|
-
revenue_range: z.ZodEnum<{
|
|
10068
|
+
}>>;
|
|
10069
|
+
revenue_range: z.ZodNullable<z.ZodEnum<{
|
|
9078
10070
|
zero_to_one_million: "zero_to_one_million";
|
|
9079
10071
|
one_to_ten_million: "one_to_ten_million";
|
|
9080
10072
|
ten_to_twenty_five_million: "ten_to_twenty_five_million";
|
|
@@ -9085,7 +10077,7 @@ export declare const zListCompaniesResponse: z.ZodObject<{
|
|
|
9085
10077
|
five_hundred_to_one_billion: "five_hundred_to_one_billion";
|
|
9086
10078
|
one_billion_to_ten_billion: "one_billion_to_ten_billion";
|
|
9087
10079
|
ten_billion_plus: "ten_billion_plus";
|
|
9088
|
-
}
|
|
10080
|
+
}>>;
|
|
9089
10081
|
naics_code: z.ZodNullable<z.ZodString>;
|
|
9090
10082
|
linkedin_url: z.ZodNullable<z.ZodString>;
|
|
9091
10083
|
created_at: z.ZodISODateTime;
|
|
@@ -9098,7 +10090,158 @@ export declare const zGetCompanyPath: z.ZodObject<{
|
|
|
9098
10090
|
/**
|
|
9099
10091
|
* Success
|
|
9100
10092
|
*/
|
|
9101
|
-
export declare const zGetCompanyResponse: z.ZodObject<{
|
|
10093
|
+
export declare const zGetCompanyResponse: z.ZodObject<{
|
|
10094
|
+
id: z.ZodString;
|
|
10095
|
+
name: z.ZodString;
|
|
10096
|
+
legal_name: z.ZodNullable<z.ZodString>;
|
|
10097
|
+
description: z.ZodNullable<z.ZodString>;
|
|
10098
|
+
address: z.ZodNullable<z.ZodString>;
|
|
10099
|
+
website: z.ZodNullable<z.ZodString>;
|
|
10100
|
+
phone_number: z.ZodNullable<z.ZodString>;
|
|
10101
|
+
email: z.ZodNullable<z.ZodString>;
|
|
10102
|
+
color_hex: z.ZodString;
|
|
10103
|
+
tagline: z.ZodNullable<z.ZodString>;
|
|
10104
|
+
founding_year: z.ZodNullable<z.ZodInt>;
|
|
10105
|
+
corporate_structure: z.ZodNullable<z.ZodEnum<{
|
|
10106
|
+
corporation: "corporation";
|
|
10107
|
+
llc: "llc";
|
|
10108
|
+
partnership: "partnership";
|
|
10109
|
+
sole_proprietorship: "sole_proprietorship";
|
|
10110
|
+
s_corporation: "s_corporation";
|
|
10111
|
+
}>>;
|
|
10112
|
+
employee_count_range: z.ZodNullable<z.ZodEnum<{
|
|
10113
|
+
one_to_ten: "one_to_ten";
|
|
10114
|
+
eleven_to_fifty: "eleven_to_fifty";
|
|
10115
|
+
fifty_one_to_two_hundred: "fifty_one_to_two_hundred";
|
|
10116
|
+
two_hundred_one_to_five_hundred: "two_hundred_one_to_five_hundred";
|
|
10117
|
+
five_hundred_one_to_one_thousand: "five_hundred_one_to_one_thousand";
|
|
10118
|
+
one_thousand_one_to_five_thousand: "one_thousand_one_to_five_thousand";
|
|
10119
|
+
five_thousand_one_to_ten_thousand: "five_thousand_one_to_ten_thousand";
|
|
10120
|
+
ten_thousand_one_plus: "ten_thousand_one_plus";
|
|
10121
|
+
}>>;
|
|
10122
|
+
revenue_range: z.ZodNullable<z.ZodEnum<{
|
|
10123
|
+
zero_to_one_million: "zero_to_one_million";
|
|
10124
|
+
one_to_ten_million: "one_to_ten_million";
|
|
10125
|
+
ten_to_twenty_five_million: "ten_to_twenty_five_million";
|
|
10126
|
+
twenty_five_to_fifty_million: "twenty_five_to_fifty_million";
|
|
10127
|
+
fifty_to_one_hundred_million: "fifty_to_one_hundred_million";
|
|
10128
|
+
one_hundred_to_two_fifty_million: "one_hundred_to_two_fifty_million";
|
|
10129
|
+
two_fifty_to_five_hundred_million: "two_fifty_to_five_hundred_million";
|
|
10130
|
+
five_hundred_to_one_billion: "five_hundred_to_one_billion";
|
|
10131
|
+
one_billion_to_ten_billion: "one_billion_to_ten_billion";
|
|
10132
|
+
ten_billion_plus: "ten_billion_plus";
|
|
10133
|
+
}>>;
|
|
10134
|
+
naics_code: z.ZodNullable<z.ZodString>;
|
|
10135
|
+
linkedin_url: z.ZodNullable<z.ZodString>;
|
|
10136
|
+
created_at: z.ZodISODateTime;
|
|
10137
|
+
updated_at: z.ZodISODateTime;
|
|
10138
|
+
}, z.core.$strip>;
|
|
10139
|
+
export declare const zUpdateCompanyProfileBody: z.ZodIntersection<z.ZodUnion<readonly [z.ZodObject<{
|
|
10140
|
+
name: z.ZodString;
|
|
10141
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
10142
|
+
legal_name: z.ZodNullable<z.ZodString>;
|
|
10143
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
10144
|
+
description: z.ZodNullable<z.ZodString>;
|
|
10145
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
10146
|
+
address: z.ZodNullable<z.ZodString>;
|
|
10147
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
10148
|
+
website: z.ZodNullable<z.ZodString>;
|
|
10149
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
10150
|
+
phone_number: z.ZodNullable<z.ZodString>;
|
|
10151
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
10152
|
+
email: z.ZodNullable<z.ZodString>;
|
|
10153
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
10154
|
+
color_hex: z.ZodString;
|
|
10155
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
10156
|
+
tagline: z.ZodNullable<z.ZodString>;
|
|
10157
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
10158
|
+
founding_year: z.ZodNullable<z.ZodInt>;
|
|
10159
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
10160
|
+
corporate_structure: z.ZodNullable<z.ZodEnum<{
|
|
10161
|
+
corporation: "corporation";
|
|
10162
|
+
llc: "llc";
|
|
10163
|
+
partnership: "partnership";
|
|
10164
|
+
sole_proprietorship: "sole_proprietorship";
|
|
10165
|
+
s_corporation: "s_corporation";
|
|
10166
|
+
}>>;
|
|
10167
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
10168
|
+
employee_count_range: z.ZodNullable<z.ZodEnum<{
|
|
10169
|
+
one_to_ten: "one_to_ten";
|
|
10170
|
+
eleven_to_fifty: "eleven_to_fifty";
|
|
10171
|
+
fifty_one_to_two_hundred: "fifty_one_to_two_hundred";
|
|
10172
|
+
two_hundred_one_to_five_hundred: "two_hundred_one_to_five_hundred";
|
|
10173
|
+
five_hundred_one_to_one_thousand: "five_hundred_one_to_one_thousand";
|
|
10174
|
+
one_thousand_one_to_five_thousand: "one_thousand_one_to_five_thousand";
|
|
10175
|
+
five_thousand_one_to_ten_thousand: "five_thousand_one_to_ten_thousand";
|
|
10176
|
+
ten_thousand_one_plus: "ten_thousand_one_plus";
|
|
10177
|
+
}>>;
|
|
10178
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
10179
|
+
revenue_range: z.ZodNullable<z.ZodEnum<{
|
|
10180
|
+
zero_to_one_million: "zero_to_one_million";
|
|
10181
|
+
one_to_ten_million: "one_to_ten_million";
|
|
10182
|
+
ten_to_twenty_five_million: "ten_to_twenty_five_million";
|
|
10183
|
+
twenty_five_to_fifty_million: "twenty_five_to_fifty_million";
|
|
10184
|
+
fifty_to_one_hundred_million: "fifty_to_one_hundred_million";
|
|
10185
|
+
one_hundred_to_two_fifty_million: "one_hundred_to_two_fifty_million";
|
|
10186
|
+
two_fifty_to_five_hundred_million: "two_fifty_to_five_hundred_million";
|
|
10187
|
+
five_hundred_to_one_billion: "five_hundred_to_one_billion";
|
|
10188
|
+
one_billion_to_ten_billion: "one_billion_to_ten_billion";
|
|
10189
|
+
ten_billion_plus: "ten_billion_plus";
|
|
10190
|
+
}>>;
|
|
10191
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
10192
|
+
naics_code: z.ZodNullable<z.ZodString>;
|
|
10193
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
10194
|
+
linkedin_url: z.ZodNullable<z.ZodString>;
|
|
10195
|
+
}, z.core.$strip>]>, z.ZodObject<{
|
|
10196
|
+
name: z.ZodOptional<z.ZodString>;
|
|
10197
|
+
legal_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10198
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10199
|
+
address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10200
|
+
website: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10201
|
+
phone_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10202
|
+
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10203
|
+
color_hex: z.ZodOptional<z.ZodString>;
|
|
10204
|
+
tagline: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10205
|
+
founding_year: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
10206
|
+
corporate_structure: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
10207
|
+
corporation: "corporation";
|
|
10208
|
+
llc: "llc";
|
|
10209
|
+
partnership: "partnership";
|
|
10210
|
+
sole_proprietorship: "sole_proprietorship";
|
|
10211
|
+
s_corporation: "s_corporation";
|
|
10212
|
+
}>>>;
|
|
10213
|
+
employee_count_range: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
10214
|
+
one_to_ten: "one_to_ten";
|
|
10215
|
+
eleven_to_fifty: "eleven_to_fifty";
|
|
10216
|
+
fifty_one_to_two_hundred: "fifty_one_to_two_hundred";
|
|
10217
|
+
two_hundred_one_to_five_hundred: "two_hundred_one_to_five_hundred";
|
|
10218
|
+
five_hundred_one_to_one_thousand: "five_hundred_one_to_one_thousand";
|
|
10219
|
+
one_thousand_one_to_five_thousand: "one_thousand_one_to_five_thousand";
|
|
10220
|
+
five_thousand_one_to_ten_thousand: "five_thousand_one_to_ten_thousand";
|
|
10221
|
+
ten_thousand_one_plus: "ten_thousand_one_plus";
|
|
10222
|
+
}>>>;
|
|
10223
|
+
revenue_range: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
10224
|
+
zero_to_one_million: "zero_to_one_million";
|
|
10225
|
+
one_to_ten_million: "one_to_ten_million";
|
|
10226
|
+
ten_to_twenty_five_million: "ten_to_twenty_five_million";
|
|
10227
|
+
twenty_five_to_fifty_million: "twenty_five_to_fifty_million";
|
|
10228
|
+
fifty_to_one_hundred_million: "fifty_to_one_hundred_million";
|
|
10229
|
+
one_hundred_to_two_fifty_million: "one_hundred_to_two_fifty_million";
|
|
10230
|
+
two_fifty_to_five_hundred_million: "two_fifty_to_five_hundred_million";
|
|
10231
|
+
five_hundred_to_one_billion: "five_hundred_to_one_billion";
|
|
10232
|
+
one_billion_to_ten_billion: "one_billion_to_ten_billion";
|
|
10233
|
+
ten_billion_plus: "ten_billion_plus";
|
|
10234
|
+
}>>>;
|
|
10235
|
+
naics_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10236
|
+
linkedin_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10237
|
+
}, z.core.$strip>>;
|
|
10238
|
+
export declare const zUpdateCompanyProfilePath: z.ZodObject<{
|
|
10239
|
+
id: z.ZodString;
|
|
10240
|
+
}, z.core.$strip>;
|
|
10241
|
+
/**
|
|
10242
|
+
* Success
|
|
10243
|
+
*/
|
|
10244
|
+
export declare const zUpdateCompanyProfileResponse: z.ZodObject<{
|
|
9102
10245
|
id: z.ZodString;
|
|
9103
10246
|
name: z.ZodString;
|
|
9104
10247
|
legal_name: z.ZodNullable<z.ZodString>;
|
|
@@ -9110,14 +10253,14 @@ export declare const zGetCompanyResponse: z.ZodObject<{
|
|
|
9110
10253
|
color_hex: z.ZodString;
|
|
9111
10254
|
tagline: z.ZodNullable<z.ZodString>;
|
|
9112
10255
|
founding_year: z.ZodNullable<z.ZodInt>;
|
|
9113
|
-
corporate_structure: z.ZodEnum<{
|
|
10256
|
+
corporate_structure: z.ZodNullable<z.ZodEnum<{
|
|
9114
10257
|
corporation: "corporation";
|
|
9115
10258
|
llc: "llc";
|
|
9116
10259
|
partnership: "partnership";
|
|
9117
10260
|
sole_proprietorship: "sole_proprietorship";
|
|
9118
10261
|
s_corporation: "s_corporation";
|
|
9119
|
-
}
|
|
9120
|
-
employee_count_range: z.ZodEnum<{
|
|
10262
|
+
}>>;
|
|
10263
|
+
employee_count_range: z.ZodNullable<z.ZodEnum<{
|
|
9121
10264
|
one_to_ten: "one_to_ten";
|
|
9122
10265
|
eleven_to_fifty: "eleven_to_fifty";
|
|
9123
10266
|
fifty_one_to_two_hundred: "fifty_one_to_two_hundred";
|
|
@@ -9126,8 +10269,8 @@ export declare const zGetCompanyResponse: z.ZodObject<{
|
|
|
9126
10269
|
one_thousand_one_to_five_thousand: "one_thousand_one_to_five_thousand";
|
|
9127
10270
|
five_thousand_one_to_ten_thousand: "five_thousand_one_to_ten_thousand";
|
|
9128
10271
|
ten_thousand_one_plus: "ten_thousand_one_plus";
|
|
9129
|
-
}
|
|
9130
|
-
revenue_range: z.ZodEnum<{
|
|
10272
|
+
}>>;
|
|
10273
|
+
revenue_range: z.ZodNullable<z.ZodEnum<{
|
|
9131
10274
|
zero_to_one_million: "zero_to_one_million";
|
|
9132
10275
|
one_to_ten_million: "one_to_ten_million";
|
|
9133
10276
|
ten_to_twenty_five_million: "ten_to_twenty_five_million";
|
|
@@ -9138,7 +10281,7 @@ export declare const zGetCompanyResponse: z.ZodObject<{
|
|
|
9138
10281
|
five_hundred_to_one_billion: "five_hundred_to_one_billion";
|
|
9139
10282
|
one_billion_to_ten_billion: "one_billion_to_ten_billion";
|
|
9140
10283
|
ten_billion_plus: "ten_billion_plus";
|
|
9141
|
-
}
|
|
10284
|
+
}>>;
|
|
9142
10285
|
naics_code: z.ZodNullable<z.ZodString>;
|
|
9143
10286
|
linkedin_url: z.ZodNullable<z.ZodString>;
|
|
9144
10287
|
created_at: z.ZodISODateTime;
|
|
@@ -9146,7 +10289,6 @@ export declare const zGetCompanyResponse: z.ZodObject<{
|
|
|
9146
10289
|
}, z.core.$strip>;
|
|
9147
10290
|
export declare const zListChecksQuery: z.ZodObject<{
|
|
9148
10291
|
'filter[status]': z.ZodOptional<z.ZodEnum<{
|
|
9149
|
-
error: "error";
|
|
9150
10292
|
pending: "pending";
|
|
9151
10293
|
failed: "failed";
|
|
9152
10294
|
passed: "passed";
|
|
@@ -9193,7 +10335,6 @@ export declare const zListChecksResponse: z.ZodObject<{
|
|
|
9193
10335
|
"Compliances::UserCompanyCheck": "Compliances::UserCompanyCheck";
|
|
9194
10336
|
}>;
|
|
9195
10337
|
status: z.ZodEnum<{
|
|
9196
|
-
error: "error";
|
|
9197
10338
|
pending: "pending";
|
|
9198
10339
|
failed: "failed";
|
|
9199
10340
|
passed: "passed";
|
|
@@ -9261,7 +10402,6 @@ export declare const zGetCheckResponse: z.ZodObject<{
|
|
|
9261
10402
|
"Compliances::UserCompanyCheck": "Compliances::UserCompanyCheck";
|
|
9262
10403
|
}>;
|
|
9263
10404
|
status: z.ZodEnum<{
|
|
9264
|
-
error: "error";
|
|
9265
10405
|
pending: "pending";
|
|
9266
10406
|
failed: "failed";
|
|
9267
10407
|
passed: "passed";
|
|
@@ -9335,7 +10475,6 @@ export declare const zUpdateCheckResponse: z.ZodObject<{
|
|
|
9335
10475
|
"Compliances::UserCompanyCheck": "Compliances::UserCompanyCheck";
|
|
9336
10476
|
}>;
|
|
9337
10477
|
status: z.ZodEnum<{
|
|
9338
|
-
error: "error";
|
|
9339
10478
|
pending: "pending";
|
|
9340
10479
|
failed: "failed";
|
|
9341
10480
|
passed: "passed";
|
|
@@ -9409,7 +10548,7 @@ export declare const zListCustomFieldConfigsResponse: z.ZodObject<{
|
|
|
9409
10548
|
name: z.ZodString;
|
|
9410
10549
|
description: z.ZodNullable<z.ZodString>;
|
|
9411
10550
|
model_type: z.ZodString;
|
|
9412
|
-
|
|
10551
|
+
visible: z.ZodBoolean;
|
|
9413
10552
|
company_id: z.ZodString;
|
|
9414
10553
|
created_at: z.ZodISODateTime;
|
|
9415
10554
|
updated_at: z.ZodISODateTime;
|
|
@@ -9424,7 +10563,7 @@ export declare const zCreateCustomFieldConfigBody: z.ZodObject<{
|
|
|
9424
10563
|
company: "company";
|
|
9425
10564
|
user_company: "user_company";
|
|
9426
10565
|
}>;
|
|
9427
|
-
|
|
10566
|
+
visible: z.ZodOptional<z.ZodBoolean>;
|
|
9428
10567
|
}, z.core.$strip>;
|
|
9429
10568
|
/**
|
|
9430
10569
|
* Created
|
|
@@ -9434,7 +10573,7 @@ export declare const zCreateCustomFieldConfigResponse: z.ZodObject<{
|
|
|
9434
10573
|
name: z.ZodString;
|
|
9435
10574
|
description: z.ZodNullable<z.ZodString>;
|
|
9436
10575
|
model_type: z.ZodString;
|
|
9437
|
-
|
|
10576
|
+
visible: z.ZodBoolean;
|
|
9438
10577
|
company_id: z.ZodString;
|
|
9439
10578
|
created_at: z.ZodISODateTime;
|
|
9440
10579
|
updated_at: z.ZodISODateTime;
|
|
@@ -9450,7 +10589,7 @@ export declare const zDeleteCustomFieldConfigResponse: z.ZodObject<{
|
|
|
9450
10589
|
name: z.ZodString;
|
|
9451
10590
|
description: z.ZodNullable<z.ZodString>;
|
|
9452
10591
|
model_type: z.ZodString;
|
|
9453
|
-
|
|
10592
|
+
visible: z.ZodBoolean;
|
|
9454
10593
|
company_id: z.ZodString;
|
|
9455
10594
|
created_at: z.ZodISODateTime;
|
|
9456
10595
|
updated_at: z.ZodISODateTime;
|
|
@@ -9466,7 +10605,7 @@ export declare const zGetCustomFieldConfigResponse: z.ZodObject<{
|
|
|
9466
10605
|
name: z.ZodString;
|
|
9467
10606
|
description: z.ZodNullable<z.ZodString>;
|
|
9468
10607
|
model_type: z.ZodString;
|
|
9469
|
-
|
|
10608
|
+
visible: z.ZodBoolean;
|
|
9470
10609
|
company_id: z.ZodString;
|
|
9471
10610
|
created_at: z.ZodISODateTime;
|
|
9472
10611
|
updated_at: z.ZodISODateTime;
|
|
@@ -9480,7 +10619,7 @@ export declare const zUpdateCustomFieldConfigBody: z.ZodObject<{
|
|
|
9480
10619
|
company: "company";
|
|
9481
10620
|
user_company: "user_company";
|
|
9482
10621
|
}>;
|
|
9483
|
-
|
|
10622
|
+
visible: z.ZodOptional<z.ZodBoolean>;
|
|
9484
10623
|
}, z.core.$strip>;
|
|
9485
10624
|
export declare const zUpdateCustomFieldConfigPath: z.ZodObject<{
|
|
9486
10625
|
id: z.ZodString;
|
|
@@ -9493,7 +10632,7 @@ export declare const zUpdateCustomFieldConfigResponse: z.ZodObject<{
|
|
|
9493
10632
|
name: z.ZodString;
|
|
9494
10633
|
description: z.ZodNullable<z.ZodString>;
|
|
9495
10634
|
model_type: z.ZodString;
|
|
9496
|
-
|
|
10635
|
+
visible: z.ZodBoolean;
|
|
9497
10636
|
company_id: z.ZodString;
|
|
9498
10637
|
created_at: z.ZodISODateTime;
|
|
9499
10638
|
updated_at: z.ZodISODateTime;
|
|
@@ -9608,10 +10747,6 @@ export declare const zListFormSubmissionsResponse: z.ZodObject<{
|
|
|
9608
10747
|
updated_by_user_id: z.ZodOptional<z.ZodString>;
|
|
9609
10748
|
created_at: z.ZodOptional<z.ZodISODateTime>;
|
|
9610
10749
|
updated_at: z.ZodOptional<z.ZodISODateTime>;
|
|
9611
|
-
valid_time: z.ZodOptional<z.ZodObject<{
|
|
9612
|
-
start: z.ZodOptional<z.ZodString>;
|
|
9613
|
-
end: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9614
|
-
}, z.core.$strip>>;
|
|
9615
10750
|
}, z.core.$strip>>>;
|
|
9616
10751
|
}, z.core.$strip>;
|
|
9617
10752
|
export declare const zGetFormSubmissionPath: z.ZodObject<{
|
|
@@ -9633,10 +10768,6 @@ export declare const zGetFormSubmissionResponse: z.ZodObject<{
|
|
|
9633
10768
|
updated_by_user_id: z.ZodString;
|
|
9634
10769
|
created_at: z.ZodISODateTime;
|
|
9635
10770
|
updated_at: z.ZodISODateTime;
|
|
9636
|
-
valid_time: z.ZodObject<{
|
|
9637
|
-
start: z.ZodOptional<z.ZodString>;
|
|
9638
|
-
end: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9639
|
-
}, z.core.$strip>;
|
|
9640
10771
|
}, z.core.$strip>;
|
|
9641
10772
|
export declare const zListGroupUsersPath: z.ZodObject<{
|
|
9642
10773
|
group_id: z.ZodString;
|
|
@@ -9906,9 +11037,120 @@ export declare const zCreateJobTradeResponse: z.ZodObject<{
|
|
|
9906
11037
|
created_at: z.ZodISODateTime;
|
|
9907
11038
|
updated_at: z.ZodISODateTime;
|
|
9908
11039
|
}, z.core.$strip>;
|
|
11040
|
+
export declare const zListRateRuleHistoryPath: z.ZodObject<{
|
|
11041
|
+
job_id: z.ZodString;
|
|
11042
|
+
wage_determination_uid: z.ZodString;
|
|
11043
|
+
rate_rule_uid: z.ZodString;
|
|
11044
|
+
}, z.core.$strip>;
|
|
11045
|
+
export declare const zListRateRuleHistoryQuery: z.ZodObject<{
|
|
11046
|
+
'as_of[valid]': z.ZodOptional<z.ZodString>;
|
|
11047
|
+
}, z.core.$strip>;
|
|
11048
|
+
/**
|
|
11049
|
+
* Success
|
|
11050
|
+
*/
|
|
11051
|
+
export declare const zListRateRuleHistoryResponse: z.ZodObject<{
|
|
11052
|
+
meta: z.ZodOptional<z.ZodObject<{
|
|
11053
|
+
page: z.ZodOptional<z.ZodObject<{
|
|
11054
|
+
next_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11055
|
+
current_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11056
|
+
}, z.core.$strip>>;
|
|
11057
|
+
}, z.core.$strip>>;
|
|
11058
|
+
links: z.ZodOptional<z.ZodObject<{
|
|
11059
|
+
self: z.ZodOptional<z.ZodString>;
|
|
11060
|
+
first: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11061
|
+
next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11062
|
+
}, z.core.$strip>>;
|
|
11063
|
+
data: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
11064
|
+
id: z.ZodString;
|
|
11065
|
+
uid: z.ZodString;
|
|
11066
|
+
job_wage_determination_id: z.ZodString;
|
|
11067
|
+
pay_rates_rule_package_id: z.ZodString;
|
|
11068
|
+
effect: z.ZodObject<{
|
|
11069
|
+
type: z.ZodEnum<{
|
|
11070
|
+
wage_increment: "wage_increment";
|
|
11071
|
+
fringe_increment: "fringe_increment";
|
|
11072
|
+
}>;
|
|
11073
|
+
amount_cents: z.ZodString;
|
|
11074
|
+
}, z.core.$strip>;
|
|
11075
|
+
conditions: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
11076
|
+
start_time: z.ZodString;
|
|
11077
|
+
end_time: z.ZodString;
|
|
11078
|
+
type: z.ZodLiteral<"time_range">;
|
|
11079
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
11080
|
+
days: z.ZodArray<z.ZodInt>;
|
|
11081
|
+
type: z.ZodLiteral<"days">;
|
|
11082
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
11083
|
+
date: z.ZodISODate;
|
|
11084
|
+
type: z.ZodLiteral<"specific_date">;
|
|
11085
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
11086
|
+
period: z.ZodInt;
|
|
11087
|
+
type: z.ZodLiteral<"apprentice_period">;
|
|
11088
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
11089
|
+
min_hours: z.ZodInt;
|
|
11090
|
+
max_hours: z.ZodInt;
|
|
11091
|
+
type: z.ZodLiteral<"apprentice_hours">;
|
|
11092
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
11093
|
+
multiplier: z.ZodEnum<{
|
|
11094
|
+
1.5: "1.5";
|
|
11095
|
+
"2.0": "2.0";
|
|
11096
|
+
}>;
|
|
11097
|
+
type: z.ZodLiteral<"overtime_multiplier">;
|
|
11098
|
+
}, z.core.$strip>], "type">>;
|
|
11099
|
+
valid_from: z.ZodISODateTime;
|
|
11100
|
+
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
11101
|
+
created_at: z.ZodISODateTime;
|
|
11102
|
+
updated_at: z.ZodISODateTime;
|
|
11103
|
+
version_status: z.ZodEnum<{
|
|
11104
|
+
scheduled: "scheduled";
|
|
11105
|
+
current: "current";
|
|
11106
|
+
historical: "historical";
|
|
11107
|
+
}>;
|
|
11108
|
+
corrections: z.ZodArray<z.ZodObject<{
|
|
11109
|
+
id: z.ZodString;
|
|
11110
|
+
uid: z.ZodString;
|
|
11111
|
+
job_wage_determination_id: z.ZodString;
|
|
11112
|
+
pay_rates_rule_package_id: z.ZodString;
|
|
11113
|
+
effect: z.ZodObject<{
|
|
11114
|
+
type: z.ZodEnum<{
|
|
11115
|
+
wage_increment: "wage_increment";
|
|
11116
|
+
fringe_increment: "fringe_increment";
|
|
11117
|
+
}>;
|
|
11118
|
+
amount_cents: z.ZodString;
|
|
11119
|
+
}, z.core.$strip>;
|
|
11120
|
+
conditions: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
11121
|
+
start_time: z.ZodString;
|
|
11122
|
+
end_time: z.ZodString;
|
|
11123
|
+
type: z.ZodLiteral<"time_range">;
|
|
11124
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
11125
|
+
days: z.ZodArray<z.ZodInt>;
|
|
11126
|
+
type: z.ZodLiteral<"days">;
|
|
11127
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
11128
|
+
date: z.ZodISODate;
|
|
11129
|
+
type: z.ZodLiteral<"specific_date">;
|
|
11130
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
11131
|
+
period: z.ZodInt;
|
|
11132
|
+
type: z.ZodLiteral<"apprentice_period">;
|
|
11133
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
11134
|
+
min_hours: z.ZodInt;
|
|
11135
|
+
max_hours: z.ZodInt;
|
|
11136
|
+
type: z.ZodLiteral<"apprentice_hours">;
|
|
11137
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
11138
|
+
multiplier: z.ZodEnum<{
|
|
11139
|
+
1.5: "1.5";
|
|
11140
|
+
"2.0": "2.0";
|
|
11141
|
+
}>;
|
|
11142
|
+
type: z.ZodLiteral<"overtime_multiplier">;
|
|
11143
|
+
}, z.core.$strip>], "type">>;
|
|
11144
|
+
valid_from: z.ZodISODateTime;
|
|
11145
|
+
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
11146
|
+
created_at: z.ZodISODateTime;
|
|
11147
|
+
updated_at: z.ZodISODateTime;
|
|
11148
|
+
}, z.core.$strip>>;
|
|
11149
|
+
}, z.core.$strip>>>;
|
|
11150
|
+
}, z.core.$strip>;
|
|
9909
11151
|
export declare const zListRateRulesPath: z.ZodObject<{
|
|
9910
11152
|
job_id: z.ZodString;
|
|
9911
|
-
|
|
11153
|
+
wage_determination_uid: z.ZodString;
|
|
9912
11154
|
}, z.core.$strip>;
|
|
9913
11155
|
export declare const zListRateRulesQuery: z.ZodObject<{
|
|
9914
11156
|
'as_of[valid]': z.ZodOptional<z.ZodISODateTime>;
|
|
@@ -9968,10 +11210,8 @@ export declare const zListRateRulesResponse: z.ZodObject<{
|
|
|
9968
11210
|
}>;
|
|
9969
11211
|
type: z.ZodLiteral<"overtime_multiplier">;
|
|
9970
11212
|
}, z.core.$strip>], "type">>;
|
|
9971
|
-
|
|
9972
|
-
|
|
9973
|
-
end: z.ZodNullable<z.ZodISODateTime>;
|
|
9974
|
-
}, z.core.$strip>;
|
|
11213
|
+
valid_from: z.ZodISODateTime;
|
|
11214
|
+
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
9975
11215
|
created_at: z.ZodISODateTime;
|
|
9976
11216
|
updated_at: z.ZodISODateTime;
|
|
9977
11217
|
}, z.core.$strip>>>;
|
|
@@ -10012,7 +11252,7 @@ export declare const zCreateRateRuleBody: z.ZodObject<{
|
|
|
10012
11252
|
}, z.core.$strip>;
|
|
10013
11253
|
export declare const zCreateRateRulePath: z.ZodObject<{
|
|
10014
11254
|
job_id: z.ZodString;
|
|
10015
|
-
|
|
11255
|
+
wage_determination_uid: z.ZodString;
|
|
10016
11256
|
}, z.core.$strip>;
|
|
10017
11257
|
/**
|
|
10018
11258
|
* Created
|
|
@@ -10053,17 +11293,18 @@ export declare const zCreateRateRuleResponse: z.ZodObject<{
|
|
|
10053
11293
|
}>;
|
|
10054
11294
|
type: z.ZodLiteral<"overtime_multiplier">;
|
|
10055
11295
|
}, z.core.$strip>], "type">>;
|
|
10056
|
-
|
|
10057
|
-
|
|
10058
|
-
end: z.ZodNullable<z.ZodISODateTime>;
|
|
10059
|
-
}, z.core.$strip>;
|
|
11296
|
+
valid_from: z.ZodISODateTime;
|
|
11297
|
+
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
10060
11298
|
created_at: z.ZodISODateTime;
|
|
10061
11299
|
updated_at: z.ZodISODateTime;
|
|
10062
11300
|
}, z.core.$strip>;
|
|
10063
11301
|
export declare const zGetRateRulePath: z.ZodObject<{
|
|
10064
11302
|
job_id: z.ZodString;
|
|
10065
|
-
|
|
10066
|
-
|
|
11303
|
+
wage_determination_uid: z.ZodString;
|
|
11304
|
+
uid: z.ZodString;
|
|
11305
|
+
}, z.core.$strip>;
|
|
11306
|
+
export declare const zGetRateRuleQuery: z.ZodObject<{
|
|
11307
|
+
'as_of[valid]': z.ZodOptional<z.ZodISODateTime>;
|
|
10067
11308
|
}, z.core.$strip>;
|
|
10068
11309
|
/**
|
|
10069
11310
|
* Success
|
|
@@ -10104,13 +11345,155 @@ export declare const zGetRateRuleResponse: z.ZodObject<{
|
|
|
10104
11345
|
}>;
|
|
10105
11346
|
type: z.ZodLiteral<"overtime_multiplier">;
|
|
10106
11347
|
}, z.core.$strip>], "type">>;
|
|
10107
|
-
|
|
10108
|
-
|
|
10109
|
-
end: z.ZodNullable<z.ZodISODateTime>;
|
|
10110
|
-
}, z.core.$strip>;
|
|
11348
|
+
valid_from: z.ZodISODateTime;
|
|
11349
|
+
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
10111
11350
|
created_at: z.ZodISODateTime;
|
|
10112
11351
|
updated_at: z.ZodISODateTime;
|
|
10113
11352
|
}, z.core.$strip>;
|
|
11353
|
+
export declare const zListJobWageDeterminationHistoryPath: z.ZodObject<{
|
|
11354
|
+
job_id: z.ZodString;
|
|
11355
|
+
wage_determination_uid: z.ZodString;
|
|
11356
|
+
}, z.core.$strip>;
|
|
11357
|
+
export declare const zListJobWageDeterminationHistoryQuery: z.ZodObject<{
|
|
11358
|
+
'as_of[valid]': z.ZodOptional<z.ZodString>;
|
|
11359
|
+
}, z.core.$strip>;
|
|
11360
|
+
/**
|
|
11361
|
+
* Success
|
|
11362
|
+
*/
|
|
11363
|
+
export declare const zListJobWageDeterminationHistoryResponse: z.ZodObject<{
|
|
11364
|
+
meta: z.ZodOptional<z.ZodObject<{
|
|
11365
|
+
page: z.ZodOptional<z.ZodObject<{
|
|
11366
|
+
next_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11367
|
+
current_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11368
|
+
}, z.core.$strip>>;
|
|
11369
|
+
}, z.core.$strip>>;
|
|
11370
|
+
links: z.ZodOptional<z.ZodObject<{
|
|
11371
|
+
self: z.ZodOptional<z.ZodString>;
|
|
11372
|
+
first: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11373
|
+
next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11374
|
+
}, z.core.$strip>>;
|
|
11375
|
+
data: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
11376
|
+
id: z.ZodString;
|
|
11377
|
+
uid: z.ZodString;
|
|
11378
|
+
job_id: z.ZodString;
|
|
11379
|
+
trade_id: z.ZodString;
|
|
11380
|
+
labor_classification: z.ZodString;
|
|
11381
|
+
hourly_rate_cents: z.ZodString;
|
|
11382
|
+
fringe_rate_cents: z.ZodString;
|
|
11383
|
+
class_code: z.ZodNullable<z.ZodString>;
|
|
11384
|
+
construction_category: z.ZodEnum<{
|
|
11385
|
+
building: "building";
|
|
11386
|
+
heavy: "heavy";
|
|
11387
|
+
highway: "highway";
|
|
11388
|
+
residential: "residential";
|
|
11389
|
+
}>;
|
|
11390
|
+
general_wage_determination: z.ZodNullable<z.ZodString>;
|
|
11391
|
+
valid_from: z.ZodISODateTime;
|
|
11392
|
+
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
11393
|
+
created_at: z.ZodISODateTime;
|
|
11394
|
+
updated_at: z.ZodISODateTime;
|
|
11395
|
+
version_status: z.ZodEnum<{
|
|
11396
|
+
scheduled: "scheduled";
|
|
11397
|
+
current: "current";
|
|
11398
|
+
historical: "historical";
|
|
11399
|
+
}>;
|
|
11400
|
+
corrections: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
11401
|
+
id: z.ZodString;
|
|
11402
|
+
uid: z.ZodString;
|
|
11403
|
+
job_id: z.ZodString;
|
|
11404
|
+
trade_id: z.ZodString;
|
|
11405
|
+
labor_classification: z.ZodString;
|
|
11406
|
+
hourly_rate_cents: z.ZodString;
|
|
11407
|
+
fringe_rate_cents: z.ZodString;
|
|
11408
|
+
class_code: z.ZodNullable<z.ZodString>;
|
|
11409
|
+
construction_category: z.ZodEnum<{
|
|
11410
|
+
building: "building";
|
|
11411
|
+
heavy: "heavy";
|
|
11412
|
+
highway: "highway";
|
|
11413
|
+
residential: "residential";
|
|
11414
|
+
}>;
|
|
11415
|
+
general_wage_determination: z.ZodNullable<z.ZodString>;
|
|
11416
|
+
valid_from: z.ZodISODateTime;
|
|
11417
|
+
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
11418
|
+
created_at: z.ZodISODateTime;
|
|
11419
|
+
updated_at: z.ZodISODateTime;
|
|
11420
|
+
type: z.ZodLiteral<"Pwa::JobWageDeterminations::Federal">;
|
|
11421
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
11422
|
+
id: z.ZodString;
|
|
11423
|
+
uid: z.ZodString;
|
|
11424
|
+
job_id: z.ZodString;
|
|
11425
|
+
trade_id: z.ZodString;
|
|
11426
|
+
labor_classification: z.ZodString;
|
|
11427
|
+
hourly_rate_cents: z.ZodString;
|
|
11428
|
+
fringe_rate_cents: z.ZodString;
|
|
11429
|
+
general_wage_determination: z.ZodNullable<z.ZodString>;
|
|
11430
|
+
regional_fields: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
|
|
11431
|
+
valid_from: z.ZodISODateTime;
|
|
11432
|
+
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
11433
|
+
created_at: z.ZodISODateTime;
|
|
11434
|
+
updated_at: z.ZodISODateTime;
|
|
11435
|
+
type: z.ZodLiteral<"Pwa::JobWageDeterminations::Regional">;
|
|
11436
|
+
}, z.core.$strip>], "type">>;
|
|
11437
|
+
type: z.ZodLiteral<"Pwa::JobWageDeterminations::Federal">;
|
|
11438
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
11439
|
+
id: z.ZodString;
|
|
11440
|
+
uid: z.ZodString;
|
|
11441
|
+
job_id: z.ZodString;
|
|
11442
|
+
trade_id: z.ZodString;
|
|
11443
|
+
labor_classification: z.ZodString;
|
|
11444
|
+
hourly_rate_cents: z.ZodString;
|
|
11445
|
+
fringe_rate_cents: z.ZodString;
|
|
11446
|
+
general_wage_determination: z.ZodNullable<z.ZodString>;
|
|
11447
|
+
regional_fields: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
|
|
11448
|
+
valid_from: z.ZodISODateTime;
|
|
11449
|
+
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
11450
|
+
created_at: z.ZodISODateTime;
|
|
11451
|
+
updated_at: z.ZodISODateTime;
|
|
11452
|
+
version_status: z.ZodEnum<{
|
|
11453
|
+
scheduled: "scheduled";
|
|
11454
|
+
current: "current";
|
|
11455
|
+
historical: "historical";
|
|
11456
|
+
}>;
|
|
11457
|
+
corrections: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
11458
|
+
id: z.ZodString;
|
|
11459
|
+
uid: z.ZodString;
|
|
11460
|
+
job_id: z.ZodString;
|
|
11461
|
+
trade_id: z.ZodString;
|
|
11462
|
+
labor_classification: z.ZodString;
|
|
11463
|
+
hourly_rate_cents: z.ZodString;
|
|
11464
|
+
fringe_rate_cents: z.ZodString;
|
|
11465
|
+
class_code: z.ZodNullable<z.ZodString>;
|
|
11466
|
+
construction_category: z.ZodEnum<{
|
|
11467
|
+
building: "building";
|
|
11468
|
+
heavy: "heavy";
|
|
11469
|
+
highway: "highway";
|
|
11470
|
+
residential: "residential";
|
|
11471
|
+
}>;
|
|
11472
|
+
general_wage_determination: z.ZodNullable<z.ZodString>;
|
|
11473
|
+
valid_from: z.ZodISODateTime;
|
|
11474
|
+
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
11475
|
+
created_at: z.ZodISODateTime;
|
|
11476
|
+
updated_at: z.ZodISODateTime;
|
|
11477
|
+
type: z.ZodLiteral<"Pwa::JobWageDeterminations::Federal">;
|
|
11478
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
11479
|
+
id: z.ZodString;
|
|
11480
|
+
uid: z.ZodString;
|
|
11481
|
+
job_id: z.ZodString;
|
|
11482
|
+
trade_id: z.ZodString;
|
|
11483
|
+
labor_classification: z.ZodString;
|
|
11484
|
+
hourly_rate_cents: z.ZodString;
|
|
11485
|
+
fringe_rate_cents: z.ZodString;
|
|
11486
|
+
general_wage_determination: z.ZodNullable<z.ZodString>;
|
|
11487
|
+
regional_fields: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
|
|
11488
|
+
valid_from: z.ZodISODateTime;
|
|
11489
|
+
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
11490
|
+
created_at: z.ZodISODateTime;
|
|
11491
|
+
updated_at: z.ZodISODateTime;
|
|
11492
|
+
type: z.ZodLiteral<"Pwa::JobWageDeterminations::Regional">;
|
|
11493
|
+
}, z.core.$strip>], "type">>;
|
|
11494
|
+
type: z.ZodLiteral<"Pwa::JobWageDeterminations::Regional">;
|
|
11495
|
+
}, z.core.$strip>], "type">>>;
|
|
11496
|
+
}, z.core.$strip>;
|
|
10114
11497
|
export declare const zListJobWageDeterminationsPath: z.ZodObject<{
|
|
10115
11498
|
job_id: z.ZodString;
|
|
10116
11499
|
}, z.core.$strip>;
|
|
@@ -10140,6 +11523,7 @@ export declare const zListJobWageDeterminationsResponse: z.ZodObject<{
|
|
|
10140
11523
|
id: z.ZodString;
|
|
10141
11524
|
uid: z.ZodString;
|
|
10142
11525
|
job_id: z.ZodString;
|
|
11526
|
+
trade_id: z.ZodString;
|
|
10143
11527
|
labor_classification: z.ZodString;
|
|
10144
11528
|
hourly_rate_cents: z.ZodString;
|
|
10145
11529
|
fringe_rate_cents: z.ZodString;
|
|
@@ -10151,10 +11535,8 @@ export declare const zListJobWageDeterminationsResponse: z.ZodObject<{
|
|
|
10151
11535
|
residential: "residential";
|
|
10152
11536
|
}>;
|
|
10153
11537
|
general_wage_determination: z.ZodNullable<z.ZodString>;
|
|
10154
|
-
|
|
10155
|
-
|
|
10156
|
-
end: z.ZodNullable<z.ZodISODateTime>;
|
|
10157
|
-
}, z.core.$strip>;
|
|
11538
|
+
valid_from: z.ZodISODateTime;
|
|
11539
|
+
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
10158
11540
|
created_at: z.ZodISODateTime;
|
|
10159
11541
|
updated_at: z.ZodISODateTime;
|
|
10160
11542
|
type: z.ZodLiteral<"Pwa::JobWageDeterminations::Federal">;
|
|
@@ -10162,15 +11544,14 @@ export declare const zListJobWageDeterminationsResponse: z.ZodObject<{
|
|
|
10162
11544
|
id: z.ZodString;
|
|
10163
11545
|
uid: z.ZodString;
|
|
10164
11546
|
job_id: z.ZodString;
|
|
11547
|
+
trade_id: z.ZodString;
|
|
10165
11548
|
labor_classification: z.ZodString;
|
|
10166
11549
|
hourly_rate_cents: z.ZodString;
|
|
10167
11550
|
fringe_rate_cents: z.ZodString;
|
|
10168
11551
|
general_wage_determination: z.ZodNullable<z.ZodString>;
|
|
10169
11552
|
regional_fields: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
|
|
10170
|
-
|
|
10171
|
-
|
|
10172
|
-
end: z.ZodNullable<z.ZodISODateTime>;
|
|
10173
|
-
}, z.core.$strip>;
|
|
11553
|
+
valid_from: z.ZodISODateTime;
|
|
11554
|
+
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
10174
11555
|
created_at: z.ZodISODateTime;
|
|
10175
11556
|
updated_at: z.ZodISODateTime;
|
|
10176
11557
|
type: z.ZodLiteral<"Pwa::JobWageDeterminations::Regional">;
|
|
@@ -10178,6 +11559,7 @@ export declare const zListJobWageDeterminationsResponse: z.ZodObject<{
|
|
|
10178
11559
|
}, z.core.$strip>;
|
|
10179
11560
|
export declare const zCreateWageDeterminationBody: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
10180
11561
|
labor_classification: z.ZodString;
|
|
11562
|
+
trade_id: z.ZodString;
|
|
10181
11563
|
hourly_rate_cents: z.ZodString;
|
|
10182
11564
|
fringe_rate_cents: z.ZodString;
|
|
10183
11565
|
class_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -10191,6 +11573,7 @@ export declare const zCreateWageDeterminationBody: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
10191
11573
|
type: z.ZodLiteral<"Pwa::JobWageDeterminations::Federal">;
|
|
10192
11574
|
}, z.core.$strip>, z.ZodObject<{
|
|
10193
11575
|
labor_classification: z.ZodString;
|
|
11576
|
+
trade_id: z.ZodString;
|
|
10194
11577
|
hourly_rate_cents: z.ZodString;
|
|
10195
11578
|
fringe_rate_cents: z.ZodOptional<z.ZodString>;
|
|
10196
11579
|
general_wage_determination: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -10207,6 +11590,7 @@ export declare const zCreateWageDeterminationResponse: z.ZodDiscriminatedUnion<[
|
|
|
10207
11590
|
id: z.ZodString;
|
|
10208
11591
|
uid: z.ZodString;
|
|
10209
11592
|
job_id: z.ZodString;
|
|
11593
|
+
trade_id: z.ZodString;
|
|
10210
11594
|
labor_classification: z.ZodString;
|
|
10211
11595
|
hourly_rate_cents: z.ZodString;
|
|
10212
11596
|
fringe_rate_cents: z.ZodString;
|
|
@@ -10218,10 +11602,8 @@ export declare const zCreateWageDeterminationResponse: z.ZodDiscriminatedUnion<[
|
|
|
10218
11602
|
residential: "residential";
|
|
10219
11603
|
}>;
|
|
10220
11604
|
general_wage_determination: z.ZodNullable<z.ZodString>;
|
|
10221
|
-
|
|
10222
|
-
|
|
10223
|
-
end: z.ZodNullable<z.ZodISODateTime>;
|
|
10224
|
-
}, z.core.$strip>;
|
|
11605
|
+
valid_from: z.ZodISODateTime;
|
|
11606
|
+
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
10225
11607
|
created_at: z.ZodISODateTime;
|
|
10226
11608
|
updated_at: z.ZodISODateTime;
|
|
10227
11609
|
type: z.ZodLiteral<"Pwa::JobWageDeterminations::Federal">;
|
|
@@ -10229,22 +11611,21 @@ export declare const zCreateWageDeterminationResponse: z.ZodDiscriminatedUnion<[
|
|
|
10229
11611
|
id: z.ZodString;
|
|
10230
11612
|
uid: z.ZodString;
|
|
10231
11613
|
job_id: z.ZodString;
|
|
11614
|
+
trade_id: z.ZodString;
|
|
10232
11615
|
labor_classification: z.ZodString;
|
|
10233
11616
|
hourly_rate_cents: z.ZodString;
|
|
10234
11617
|
fringe_rate_cents: z.ZodString;
|
|
10235
11618
|
general_wage_determination: z.ZodNullable<z.ZodString>;
|
|
10236
11619
|
regional_fields: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
|
|
10237
|
-
|
|
10238
|
-
|
|
10239
|
-
end: z.ZodNullable<z.ZodISODateTime>;
|
|
10240
|
-
}, z.core.$strip>;
|
|
11620
|
+
valid_from: z.ZodISODateTime;
|
|
11621
|
+
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
10241
11622
|
created_at: z.ZodISODateTime;
|
|
10242
11623
|
updated_at: z.ZodISODateTime;
|
|
10243
11624
|
type: z.ZodLiteral<"Pwa::JobWageDeterminations::Regional">;
|
|
10244
11625
|
}, z.core.$strip>], "type">;
|
|
10245
11626
|
export declare const zDeleteWageDeterminationPath: z.ZodObject<{
|
|
10246
11627
|
job_id: z.ZodString;
|
|
10247
|
-
|
|
11628
|
+
uid: z.ZodString;
|
|
10248
11629
|
}, z.core.$strip>;
|
|
10249
11630
|
/**
|
|
10250
11631
|
* Success
|
|
@@ -10253,6 +11634,7 @@ export declare const zDeleteWageDeterminationResponse: z.ZodDiscriminatedUnion<[
|
|
|
10253
11634
|
id: z.ZodString;
|
|
10254
11635
|
uid: z.ZodString;
|
|
10255
11636
|
job_id: z.ZodString;
|
|
11637
|
+
trade_id: z.ZodString;
|
|
10256
11638
|
labor_classification: z.ZodString;
|
|
10257
11639
|
hourly_rate_cents: z.ZodString;
|
|
10258
11640
|
fringe_rate_cents: z.ZodString;
|
|
@@ -10264,10 +11646,8 @@ export declare const zDeleteWageDeterminationResponse: z.ZodDiscriminatedUnion<[
|
|
|
10264
11646
|
residential: "residential";
|
|
10265
11647
|
}>;
|
|
10266
11648
|
general_wage_determination: z.ZodNullable<z.ZodString>;
|
|
10267
|
-
|
|
10268
|
-
|
|
10269
|
-
end: z.ZodNullable<z.ZodISODateTime>;
|
|
10270
|
-
}, z.core.$strip>;
|
|
11649
|
+
valid_from: z.ZodISODateTime;
|
|
11650
|
+
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
10271
11651
|
created_at: z.ZodISODateTime;
|
|
10272
11652
|
updated_at: z.ZodISODateTime;
|
|
10273
11653
|
type: z.ZodLiteral<"Pwa::JobWageDeterminations::Federal">;
|
|
@@ -10275,22 +11655,24 @@ export declare const zDeleteWageDeterminationResponse: z.ZodDiscriminatedUnion<[
|
|
|
10275
11655
|
id: z.ZodString;
|
|
10276
11656
|
uid: z.ZodString;
|
|
10277
11657
|
job_id: z.ZodString;
|
|
11658
|
+
trade_id: z.ZodString;
|
|
10278
11659
|
labor_classification: z.ZodString;
|
|
10279
11660
|
hourly_rate_cents: z.ZodString;
|
|
10280
11661
|
fringe_rate_cents: z.ZodString;
|
|
10281
11662
|
general_wage_determination: z.ZodNullable<z.ZodString>;
|
|
10282
11663
|
regional_fields: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
|
|
10283
|
-
|
|
10284
|
-
|
|
10285
|
-
end: z.ZodNullable<z.ZodISODateTime>;
|
|
10286
|
-
}, z.core.$strip>;
|
|
11664
|
+
valid_from: z.ZodISODateTime;
|
|
11665
|
+
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
10287
11666
|
created_at: z.ZodISODateTime;
|
|
10288
11667
|
updated_at: z.ZodISODateTime;
|
|
10289
11668
|
type: z.ZodLiteral<"Pwa::JobWageDeterminations::Regional">;
|
|
10290
11669
|
}, z.core.$strip>], "type">;
|
|
10291
11670
|
export declare const zGetJobWageDeterminationPath: z.ZodObject<{
|
|
10292
11671
|
job_id: z.ZodString;
|
|
10293
|
-
|
|
11672
|
+
uid: z.ZodString;
|
|
11673
|
+
}, z.core.$strip>;
|
|
11674
|
+
export declare const zGetJobWageDeterminationQuery: z.ZodObject<{
|
|
11675
|
+
'as_of[valid]': z.ZodOptional<z.ZodISODateTime>;
|
|
10294
11676
|
}, z.core.$strip>;
|
|
10295
11677
|
/**
|
|
10296
11678
|
* Success
|
|
@@ -10299,6 +11681,7 @@ export declare const zGetJobWageDeterminationResponse: z.ZodDiscriminatedUnion<[
|
|
|
10299
11681
|
id: z.ZodString;
|
|
10300
11682
|
uid: z.ZodString;
|
|
10301
11683
|
job_id: z.ZodString;
|
|
11684
|
+
trade_id: z.ZodString;
|
|
10302
11685
|
labor_classification: z.ZodString;
|
|
10303
11686
|
hourly_rate_cents: z.ZodString;
|
|
10304
11687
|
fringe_rate_cents: z.ZodString;
|
|
@@ -10310,10 +11693,8 @@ export declare const zGetJobWageDeterminationResponse: z.ZodDiscriminatedUnion<[
|
|
|
10310
11693
|
residential: "residential";
|
|
10311
11694
|
}>;
|
|
10312
11695
|
general_wage_determination: z.ZodNullable<z.ZodString>;
|
|
10313
|
-
|
|
10314
|
-
|
|
10315
|
-
end: z.ZodNullable<z.ZodISODateTime>;
|
|
10316
|
-
}, z.core.$strip>;
|
|
11696
|
+
valid_from: z.ZodISODateTime;
|
|
11697
|
+
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
10317
11698
|
created_at: z.ZodISODateTime;
|
|
10318
11699
|
updated_at: z.ZodISODateTime;
|
|
10319
11700
|
type: z.ZodLiteral<"Pwa::JobWageDeterminations::Federal">;
|
|
@@ -10321,15 +11702,14 @@ export declare const zGetJobWageDeterminationResponse: z.ZodDiscriminatedUnion<[
|
|
|
10321
11702
|
id: z.ZodString;
|
|
10322
11703
|
uid: z.ZodString;
|
|
10323
11704
|
job_id: z.ZodString;
|
|
11705
|
+
trade_id: z.ZodString;
|
|
10324
11706
|
labor_classification: z.ZodString;
|
|
10325
11707
|
hourly_rate_cents: z.ZodString;
|
|
10326
11708
|
fringe_rate_cents: z.ZodString;
|
|
10327
11709
|
general_wage_determination: z.ZodNullable<z.ZodString>;
|
|
10328
11710
|
regional_fields: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
|
|
10329
|
-
|
|
10330
|
-
|
|
10331
|
-
end: z.ZodNullable<z.ZodISODateTime>;
|
|
10332
|
-
}, z.core.$strip>;
|
|
11711
|
+
valid_from: z.ZodISODateTime;
|
|
11712
|
+
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
10333
11713
|
created_at: z.ZodISODateTime;
|
|
10334
11714
|
updated_at: z.ZodISODateTime;
|
|
10335
11715
|
type: z.ZodLiteral<"Pwa::JobWageDeterminations::Regional">;
|
|
@@ -10498,7 +11878,7 @@ export declare const zCreateJobBody: z.ZodObject<{
|
|
|
10498
11878
|
requires_feature_allocation: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
10499
11879
|
max_one_feature_allocation: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
10500
11880
|
job_work_types_attributes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
10501
|
-
|
|
11881
|
+
primary: z.ZodOptional<z.ZodBoolean>;
|
|
10502
11882
|
work_type_id: z.ZodOptional<z.ZodString>;
|
|
10503
11883
|
}, z.core.$strip>>>>;
|
|
10504
11884
|
job_address_attributes: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -10777,7 +12157,7 @@ export declare const zUpdateJobBody: z.ZodIntersection<z.ZodObject<{
|
|
|
10777
12157
|
requires_feature_allocation: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
10778
12158
|
max_one_feature_allocation: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
10779
12159
|
job_work_types_attributes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
10780
|
-
|
|
12160
|
+
primary: z.ZodOptional<z.ZodBoolean>;
|
|
10781
12161
|
work_type_id: z.ZodOptional<z.ZodString>;
|
|
10782
12162
|
}, z.core.$strip>>>>;
|
|
10783
12163
|
job_address_attributes: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -10917,13 +12297,107 @@ export declare const zUpdateJobResponse: z.ZodObject<{
|
|
|
10917
12297
|
pay_full_cash_fringe_by_default: z.ZodBoolean;
|
|
10918
12298
|
contractor_type: z.ZodNullable<z.ZodString>;
|
|
10919
12299
|
}, z.core.$strip>>;
|
|
10920
|
-
work_types: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
10921
|
-
value: z.ZodOptional<z.ZodString>;
|
|
10922
|
-
}, z.core.$strip>>>;
|
|
10923
|
-
timecode_ids: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
10924
|
-
tracks_feature_allocations: z.ZodBoolean;
|
|
10925
|
-
requires_feature_allocation: z.ZodBoolean;
|
|
10926
|
-
max_one_feature_allocation: z.ZodBoolean;
|
|
12300
|
+
work_types: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
12301
|
+
value: z.ZodOptional<z.ZodString>;
|
|
12302
|
+
}, z.core.$strip>>>;
|
|
12303
|
+
timecode_ids: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
12304
|
+
tracks_feature_allocations: z.ZodBoolean;
|
|
12305
|
+
requires_feature_allocation: z.ZodBoolean;
|
|
12306
|
+
max_one_feature_allocation: z.ZodBoolean;
|
|
12307
|
+
}, z.core.$strip>;
|
|
12308
|
+
export declare const zListSiteCheckInsPath: z.ZodObject<{
|
|
12309
|
+
site_id: z.ZodString;
|
|
12310
|
+
}, z.core.$strip>;
|
|
12311
|
+
export declare const zListSiteCheckInsQuery: z.ZodObject<{
|
|
12312
|
+
'filter[user_id]': z.ZodOptional<z.ZodString>;
|
|
12313
|
+
'filter[created_at][gte]': z.ZodOptional<z.ZodISODateTime>;
|
|
12314
|
+
'filter[created_at][lte]': z.ZodOptional<z.ZodISODateTime>;
|
|
12315
|
+
'filter[updated_at][gte]': z.ZodOptional<z.ZodISODateTime>;
|
|
12316
|
+
'filter[updated_at][lte]': z.ZodOptional<z.ZodISODateTime>;
|
|
12317
|
+
'filter[start_time][gte]': z.ZodOptional<z.ZodISODateTime>;
|
|
12318
|
+
'filter[start_time][lte]': z.ZodOptional<z.ZodISODateTime>;
|
|
12319
|
+
filter: z.ZodOptional<z.ZodString>;
|
|
12320
|
+
'filter[unexpected]': z.ZodOptional<z.ZodString>;
|
|
12321
|
+
'page[cursor]': z.ZodOptional<z.ZodString>;
|
|
12322
|
+
'page[limit]': z.ZodDefault<z.ZodOptional<z.ZodInt>>;
|
|
12323
|
+
page: z.ZodOptional<z.ZodString>;
|
|
12324
|
+
}, z.core.$strip>;
|
|
12325
|
+
/**
|
|
12326
|
+
* Success
|
|
12327
|
+
*/
|
|
12328
|
+
export declare const zListSiteCheckInsResponse: z.ZodObject<{
|
|
12329
|
+
meta: z.ZodObject<{
|
|
12330
|
+
page: z.ZodOptional<z.ZodObject<{
|
|
12331
|
+
next_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12332
|
+
current_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12333
|
+
}, z.core.$strip>>;
|
|
12334
|
+
}, z.core.$strip>;
|
|
12335
|
+
links: z.ZodObject<{
|
|
12336
|
+
self: z.ZodOptional<z.ZodString>;
|
|
12337
|
+
first: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12338
|
+
next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12339
|
+
}, z.core.$strip>;
|
|
12340
|
+
data: z.ZodArray<z.ZodObject<{
|
|
12341
|
+
id: z.ZodString;
|
|
12342
|
+
site_id: z.ZodString;
|
|
12343
|
+
user_id: z.ZodNullable<z.ZodString>;
|
|
12344
|
+
first_name: z.ZodNullable<z.ZodString>;
|
|
12345
|
+
last_name: z.ZodNullable<z.ZodString>;
|
|
12346
|
+
site_contact_id: z.ZodNullable<z.ZodString>;
|
|
12347
|
+
site_contact_first_name: z.ZodNullable<z.ZodString>;
|
|
12348
|
+
site_contact_last_name: z.ZodNullable<z.ZodString>;
|
|
12349
|
+
employer_name: z.ZodNullable<z.ZodString>;
|
|
12350
|
+
description: z.ZodNullable<z.ZodString>;
|
|
12351
|
+
rationale: z.ZodNullable<z.ZodString>;
|
|
12352
|
+
source: z.ZodEnum<{
|
|
12353
|
+
manual: "manual";
|
|
12354
|
+
auto: "auto";
|
|
12355
|
+
}>;
|
|
12356
|
+
nerc_check_in: z.ZodBoolean;
|
|
12357
|
+
cip_exceptional: z.ZodBoolean;
|
|
12358
|
+
created_by_user_id: z.ZodNullable<z.ZodString>;
|
|
12359
|
+
latitude: z.ZodNullable<z.ZodNumber>;
|
|
12360
|
+
longitude: z.ZodNullable<z.ZodNumber>;
|
|
12361
|
+
start_time: z.ZodISODateTime;
|
|
12362
|
+
end_time: z.ZodNullable<z.ZodISODateTime>;
|
|
12363
|
+
verified_at: z.ZodNullable<z.ZodISODateTime>;
|
|
12364
|
+
created_at: z.ZodISODateTime;
|
|
12365
|
+
updated_at: z.ZodISODateTime;
|
|
12366
|
+
}, z.core.$strip>>;
|
|
12367
|
+
}, z.core.$strip>;
|
|
12368
|
+
export declare const zGetSiteCheckInPath: z.ZodObject<{
|
|
12369
|
+
site_id: z.ZodString;
|
|
12370
|
+
id: z.ZodString;
|
|
12371
|
+
}, z.core.$strip>;
|
|
12372
|
+
/**
|
|
12373
|
+
* Success
|
|
12374
|
+
*/
|
|
12375
|
+
export declare const zGetSiteCheckInResponse: z.ZodObject<{
|
|
12376
|
+
id: z.ZodString;
|
|
12377
|
+
site_id: z.ZodString;
|
|
12378
|
+
user_id: z.ZodNullable<z.ZodString>;
|
|
12379
|
+
first_name: z.ZodNullable<z.ZodString>;
|
|
12380
|
+
last_name: z.ZodNullable<z.ZodString>;
|
|
12381
|
+
site_contact_id: z.ZodNullable<z.ZodString>;
|
|
12382
|
+
site_contact_first_name: z.ZodNullable<z.ZodString>;
|
|
12383
|
+
site_contact_last_name: z.ZodNullable<z.ZodString>;
|
|
12384
|
+
employer_name: z.ZodNullable<z.ZodString>;
|
|
12385
|
+
description: z.ZodNullable<z.ZodString>;
|
|
12386
|
+
rationale: z.ZodNullable<z.ZodString>;
|
|
12387
|
+
source: z.ZodEnum<{
|
|
12388
|
+
manual: "manual";
|
|
12389
|
+
auto: "auto";
|
|
12390
|
+
}>;
|
|
12391
|
+
nerc_check_in: z.ZodBoolean;
|
|
12392
|
+
cip_exceptional: z.ZodBoolean;
|
|
12393
|
+
created_by_user_id: z.ZodNullable<z.ZodString>;
|
|
12394
|
+
latitude: z.ZodNullable<z.ZodNumber>;
|
|
12395
|
+
longitude: z.ZodNullable<z.ZodNumber>;
|
|
12396
|
+
start_time: z.ZodISODateTime;
|
|
12397
|
+
end_time: z.ZodNullable<z.ZodISODateTime>;
|
|
12398
|
+
verified_at: z.ZodNullable<z.ZodISODateTime>;
|
|
12399
|
+
created_at: z.ZodISODateTime;
|
|
12400
|
+
updated_at: z.ZodISODateTime;
|
|
10927
12401
|
}, z.core.$strip>;
|
|
10928
12402
|
export declare const zListPayPeriodsQuery: z.ZodObject<{
|
|
10929
12403
|
'filter[start_time][gte]': z.ZodOptional<z.ZodISODateTime>;
|
|
@@ -11074,6 +12548,98 @@ export declare const zGetCompensationElementResponse: z.ZodObject<{
|
|
|
11074
12548
|
created_at: z.ZodISODateTime;
|
|
11075
12549
|
updated_at: z.ZodISODateTime;
|
|
11076
12550
|
}, z.core.$strip>;
|
|
12551
|
+
export declare const zListExternalMapHistoryPath: z.ZodObject<{
|
|
12552
|
+
external_map_id: z.ZodString;
|
|
12553
|
+
}, z.core.$strip>;
|
|
12554
|
+
export declare const zListExternalMapHistoryQuery: z.ZodObject<{
|
|
12555
|
+
'as_of[transaction]': z.ZodOptional<z.ZodISODateTime>;
|
|
12556
|
+
'as_of[valid]': z.ZodOptional<z.ZodString>;
|
|
12557
|
+
}, z.core.$strip>;
|
|
12558
|
+
/**
|
|
12559
|
+
* Success
|
|
12560
|
+
*/
|
|
12561
|
+
export declare const zListExternalMapHistoryResponse: z.ZodObject<{
|
|
12562
|
+
meta: z.ZodOptional<z.ZodObject<{
|
|
12563
|
+
page: z.ZodOptional<z.ZodObject<{
|
|
12564
|
+
next_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12565
|
+
current_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12566
|
+
}, z.core.$strip>>;
|
|
12567
|
+
}, z.core.$strip>>;
|
|
12568
|
+
links: z.ZodOptional<z.ZodObject<{
|
|
12569
|
+
self: z.ZodOptional<z.ZodString>;
|
|
12570
|
+
first: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12571
|
+
next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12572
|
+
}, z.core.$strip>>;
|
|
12573
|
+
data: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
12574
|
+
id: z.ZodString;
|
|
12575
|
+
bitemporal_id: z.ZodString;
|
|
12576
|
+
name: z.ZodString;
|
|
12577
|
+
compensation_element_id: z.ZodString;
|
|
12578
|
+
compensation_element_name: z.ZodString;
|
|
12579
|
+
compensation_element_category: z.ZodEnum<{
|
|
12580
|
+
other: "other";
|
|
12581
|
+
tax: "tax";
|
|
12582
|
+
health: "health";
|
|
12583
|
+
retirement: "retirement";
|
|
12584
|
+
insurance: "insurance";
|
|
12585
|
+
earning: "earning";
|
|
12586
|
+
garnishment: "garnishment";
|
|
12587
|
+
}>;
|
|
12588
|
+
pay_period_config_uid: z.ZodNullable<z.ZodString>;
|
|
12589
|
+
fringe_benefit_plan_id: z.ZodNullable<z.ZodString>;
|
|
12590
|
+
contributor: z.ZodEnum<{
|
|
12591
|
+
any: "any";
|
|
12592
|
+
employee: "employee";
|
|
12593
|
+
employer: "employer";
|
|
12594
|
+
}>;
|
|
12595
|
+
annual_periods: z.ZodInt;
|
|
12596
|
+
created_by_user_id: z.ZodNullable<z.ZodString>;
|
|
12597
|
+
global: z.ZodBoolean;
|
|
12598
|
+
valid_from: z.ZodISODateTime;
|
|
12599
|
+
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
12600
|
+
transaction_from: z.ZodISODateTime;
|
|
12601
|
+
transaction_to: z.ZodNullable<z.ZodISODateTime>;
|
|
12602
|
+
created_at: z.ZodISODateTime;
|
|
12603
|
+
updated_at: z.ZodISODateTime;
|
|
12604
|
+
version_status: z.ZodEnum<{
|
|
12605
|
+
scheduled: "scheduled";
|
|
12606
|
+
current: "current";
|
|
12607
|
+
historical: "historical";
|
|
12608
|
+
}>;
|
|
12609
|
+
corrections: z.ZodArray<z.ZodObject<{
|
|
12610
|
+
id: z.ZodString;
|
|
12611
|
+
bitemporal_id: z.ZodString;
|
|
12612
|
+
name: z.ZodString;
|
|
12613
|
+
compensation_element_id: z.ZodString;
|
|
12614
|
+
compensation_element_name: z.ZodString;
|
|
12615
|
+
compensation_element_category: z.ZodEnum<{
|
|
12616
|
+
other: "other";
|
|
12617
|
+
tax: "tax";
|
|
12618
|
+
health: "health";
|
|
12619
|
+
retirement: "retirement";
|
|
12620
|
+
insurance: "insurance";
|
|
12621
|
+
earning: "earning";
|
|
12622
|
+
garnishment: "garnishment";
|
|
12623
|
+
}>;
|
|
12624
|
+
pay_period_config_uid: z.ZodNullable<z.ZodString>;
|
|
12625
|
+
fringe_benefit_plan_id: z.ZodNullable<z.ZodString>;
|
|
12626
|
+
contributor: z.ZodEnum<{
|
|
12627
|
+
any: "any";
|
|
12628
|
+
employee: "employee";
|
|
12629
|
+
employer: "employer";
|
|
12630
|
+
}>;
|
|
12631
|
+
annual_periods: z.ZodInt;
|
|
12632
|
+
created_by_user_id: z.ZodNullable<z.ZodString>;
|
|
12633
|
+
global: z.ZodBoolean;
|
|
12634
|
+
valid_from: z.ZodISODateTime;
|
|
12635
|
+
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
12636
|
+
transaction_from: z.ZodISODateTime;
|
|
12637
|
+
transaction_to: z.ZodNullable<z.ZodISODateTime>;
|
|
12638
|
+
created_at: z.ZodISODateTime;
|
|
12639
|
+
updated_at: z.ZodISODateTime;
|
|
12640
|
+
}, z.core.$strip>>;
|
|
12641
|
+
}, z.core.$strip>>>;
|
|
12642
|
+
}, z.core.$strip>;
|
|
11077
12643
|
export declare const zListExternalMapsQuery: z.ZodObject<{
|
|
11078
12644
|
'filter[name]': z.ZodOptional<z.ZodString>;
|
|
11079
12645
|
'filter[pay_period_config_uid]': z.ZodOptional<z.ZodString>;
|
|
@@ -11130,9 +12696,9 @@ export declare const zListExternalMapsResponse: z.ZodObject<{
|
|
|
11130
12696
|
created_by_user_id: z.ZodNullable<z.ZodString>;
|
|
11131
12697
|
global: z.ZodBoolean;
|
|
11132
12698
|
valid_from: z.ZodISODateTime;
|
|
11133
|
-
valid_to: z.ZodISODateTime
|
|
12699
|
+
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
11134
12700
|
transaction_from: z.ZodISODateTime;
|
|
11135
|
-
transaction_to: z.ZodISODateTime
|
|
12701
|
+
transaction_to: z.ZodNullable<z.ZodISODateTime>;
|
|
11136
12702
|
created_at: z.ZodISODateTime;
|
|
11137
12703
|
updated_at: z.ZodISODateTime;
|
|
11138
12704
|
}, z.core.$strip>>>;
|
|
@@ -11140,6 +12706,10 @@ export declare const zListExternalMapsResponse: z.ZodObject<{
|
|
|
11140
12706
|
export declare const zGetExternalMapPath: z.ZodObject<{
|
|
11141
12707
|
id: z.ZodString;
|
|
11142
12708
|
}, z.core.$strip>;
|
|
12709
|
+
export declare const zGetExternalMapQuery: z.ZodObject<{
|
|
12710
|
+
'as_of[valid]': z.ZodOptional<z.ZodISODateTime>;
|
|
12711
|
+
'as_of[transaction]': z.ZodOptional<z.ZodISODateTime>;
|
|
12712
|
+
}, z.core.$strip>;
|
|
11143
12713
|
/**
|
|
11144
12714
|
* Success
|
|
11145
12715
|
*/
|
|
@@ -11169,9 +12739,9 @@ export declare const zGetExternalMapResponse: z.ZodObject<{
|
|
|
11169
12739
|
created_by_user_id: z.ZodNullable<z.ZodString>;
|
|
11170
12740
|
global: z.ZodBoolean;
|
|
11171
12741
|
valid_from: z.ZodISODateTime;
|
|
11172
|
-
valid_to: z.ZodISODateTime
|
|
12742
|
+
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
11173
12743
|
transaction_from: z.ZodISODateTime;
|
|
11174
|
-
transaction_to: z.ZodISODateTime
|
|
12744
|
+
transaction_to: z.ZodNullable<z.ZodISODateTime>;
|
|
11175
12745
|
created_at: z.ZodISODateTime;
|
|
11176
12746
|
updated_at: z.ZodISODateTime;
|
|
11177
12747
|
}, z.core.$strip>;
|
|
@@ -11887,7 +13457,7 @@ export declare const zUpdatePaystubResponse: z.ZodObject<{
|
|
|
11887
13457
|
updated_at: z.ZodISODateTime;
|
|
11888
13458
|
}, z.core.$strip>;
|
|
11889
13459
|
export declare const zListPerDiemsQuery: z.ZodObject<{
|
|
11890
|
-
'filter[
|
|
13460
|
+
'filter[default]': z.ZodOptional<z.ZodBoolean>;
|
|
11891
13461
|
'filter[taxable]': z.ZodOptional<z.ZodBoolean>;
|
|
11892
13462
|
'filter[created_at][gte]': z.ZodOptional<z.ZodISODateTime>;
|
|
11893
13463
|
'filter[created_at][lte]': z.ZodOptional<z.ZodISODateTime>;
|
|
@@ -11926,8 +13496,8 @@ export declare const zListPerDiemsResponse: z.ZodObject<{
|
|
|
11926
13496
|
rate_cents: z.ZodNullable<z.ZodString>;
|
|
11927
13497
|
currency: z.ZodString;
|
|
11928
13498
|
taxable: z.ZodBoolean;
|
|
11929
|
-
|
|
11930
|
-
|
|
13499
|
+
default: z.ZodNullable<z.ZodBoolean>;
|
|
13500
|
+
active: z.ZodNullable<z.ZodBoolean>;
|
|
11931
13501
|
work_type_ids: z.ZodArray<z.ZodString>;
|
|
11932
13502
|
timecode_ids: z.ZodArray<z.ZodString>;
|
|
11933
13503
|
created_at: z.ZodISODateTime;
|
|
@@ -11940,8 +13510,8 @@ export declare const zCreatePerDiemBody: z.ZodObject<{
|
|
|
11940
13510
|
rate_cents: z.ZodNullable<z.ZodString>;
|
|
11941
13511
|
currency: z.ZodString;
|
|
11942
13512
|
taxable: z.ZodOptional<z.ZodBoolean>;
|
|
11943
|
-
|
|
11944
|
-
|
|
13513
|
+
default: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
13514
|
+
active: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
11945
13515
|
work_type_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
11946
13516
|
timecode_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
11947
13517
|
}, z.core.$strip>;
|
|
@@ -11955,8 +13525,8 @@ export declare const zCreatePerDiemResponse: z.ZodObject<{
|
|
|
11955
13525
|
rate_cents: z.ZodNullable<z.ZodString>;
|
|
11956
13526
|
currency: z.ZodString;
|
|
11957
13527
|
taxable: z.ZodBoolean;
|
|
11958
|
-
|
|
11959
|
-
|
|
13528
|
+
default: z.ZodNullable<z.ZodBoolean>;
|
|
13529
|
+
active: z.ZodNullable<z.ZodBoolean>;
|
|
11960
13530
|
work_type_ids: z.ZodArray<z.ZodString>;
|
|
11961
13531
|
timecode_ids: z.ZodArray<z.ZodString>;
|
|
11962
13532
|
created_at: z.ZodISODateTime;
|
|
@@ -11975,8 +13545,8 @@ export declare const zDeletePerDiemResponse: z.ZodObject<{
|
|
|
11975
13545
|
rate_cents: z.ZodNullable<z.ZodString>;
|
|
11976
13546
|
currency: z.ZodString;
|
|
11977
13547
|
taxable: z.ZodBoolean;
|
|
11978
|
-
|
|
11979
|
-
|
|
13548
|
+
default: z.ZodNullable<z.ZodBoolean>;
|
|
13549
|
+
active: z.ZodNullable<z.ZodBoolean>;
|
|
11980
13550
|
work_type_ids: z.ZodArray<z.ZodString>;
|
|
11981
13551
|
timecode_ids: z.ZodArray<z.ZodString>;
|
|
11982
13552
|
created_at: z.ZodISODateTime;
|
|
@@ -11995,8 +13565,8 @@ export declare const zGetPerDiemResponse: z.ZodObject<{
|
|
|
11995
13565
|
rate_cents: z.ZodNullable<z.ZodString>;
|
|
11996
13566
|
currency: z.ZodString;
|
|
11997
13567
|
taxable: z.ZodBoolean;
|
|
11998
|
-
|
|
11999
|
-
|
|
13568
|
+
default: z.ZodNullable<z.ZodBoolean>;
|
|
13569
|
+
active: z.ZodNullable<z.ZodBoolean>;
|
|
12000
13570
|
work_type_ids: z.ZodArray<z.ZodString>;
|
|
12001
13571
|
timecode_ids: z.ZodArray<z.ZodString>;
|
|
12002
13572
|
created_at: z.ZodISODateTime;
|
|
@@ -12008,8 +13578,8 @@ export declare const zUpdatePerDiemBody: z.ZodObject<{
|
|
|
12008
13578
|
rate_cents: z.ZodNullable<z.ZodString>;
|
|
12009
13579
|
currency: z.ZodString;
|
|
12010
13580
|
taxable: z.ZodOptional<z.ZodBoolean>;
|
|
12011
|
-
|
|
12012
|
-
|
|
13581
|
+
default: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
13582
|
+
active: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
12013
13583
|
work_type_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
12014
13584
|
timecode_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
12015
13585
|
}, z.core.$strip>;
|
|
@@ -12026,8 +13596,8 @@ export declare const zUpdatePerDiemResponse: z.ZodObject<{
|
|
|
12026
13596
|
rate_cents: z.ZodNullable<z.ZodString>;
|
|
12027
13597
|
currency: z.ZodString;
|
|
12028
13598
|
taxable: z.ZodBoolean;
|
|
12029
|
-
|
|
12030
|
-
|
|
13599
|
+
default: z.ZodNullable<z.ZodBoolean>;
|
|
13600
|
+
active: z.ZodNullable<z.ZodBoolean>;
|
|
12031
13601
|
work_type_ids: z.ZodArray<z.ZodString>;
|
|
12032
13602
|
timecode_ids: z.ZodArray<z.ZodString>;
|
|
12033
13603
|
created_at: z.ZodISODateTime;
|
|
@@ -13100,7 +14670,7 @@ export declare const zGetTradeResponse: z.ZodObject<{
|
|
|
13100
14670
|
export declare const zCreateFormAssignmentTaskBody: z.ZodObject<{
|
|
13101
14671
|
form_definition_id: z.ZodString;
|
|
13102
14672
|
spread_assignees: z.ZodOptional<z.ZodBoolean>;
|
|
13103
|
-
|
|
14673
|
+
recurring: z.ZodOptional<z.ZodBoolean>;
|
|
13104
14674
|
task_attributes: z.ZodObject<{
|
|
13105
14675
|
name: z.ZodString;
|
|
13106
14676
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -13189,7 +14759,7 @@ export declare const zListPositionsResponse: z.ZodObject<{
|
|
|
13189
14759
|
pwa_wage_pay_rate_cents: z.ZodNullable<z.ZodString>;
|
|
13190
14760
|
pwa_wage_pay_rate_src_type: z.ZodNullable<z.ZodString>;
|
|
13191
14761
|
wage_adder_rate_cents: z.ZodNullable<z.ZodString>;
|
|
13192
|
-
|
|
14762
|
+
pwa: z.ZodBoolean;
|
|
13193
14763
|
federal_wage_determination_uids: z.ZodArray<z.ZodString>;
|
|
13194
14764
|
regional_wage_determination_uids: z.ZodArray<z.ZodString>;
|
|
13195
14765
|
pwa_details: z.ZodNullable<z.ZodObject<{
|
|
@@ -13209,7 +14779,7 @@ export declare const zCreatePositionBody: z.ZodObject<{
|
|
|
13209
14779
|
position_function_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13210
14780
|
per_diem_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13211
14781
|
per_diem_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
13212
|
-
|
|
14782
|
+
pwa: z.ZodOptional<z.ZodBoolean>;
|
|
13213
14783
|
cash_fringe_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
13214
14784
|
hourly_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
13215
14785
|
pwa_wage_pay_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -13247,7 +14817,7 @@ export declare const zCreatePositionResponse: z.ZodObject<{
|
|
|
13247
14817
|
pwa_wage_pay_rate_cents: z.ZodNullable<z.ZodString>;
|
|
13248
14818
|
pwa_wage_pay_rate_src_type: z.ZodNullable<z.ZodString>;
|
|
13249
14819
|
wage_adder_rate_cents: z.ZodNullable<z.ZodString>;
|
|
13250
|
-
|
|
14820
|
+
pwa: z.ZodBoolean;
|
|
13251
14821
|
federal_wage_determination_uids: z.ZodArray<z.ZodString>;
|
|
13252
14822
|
regional_wage_determination_uids: z.ZodArray<z.ZodString>;
|
|
13253
14823
|
pwa_details: z.ZodNullable<z.ZodObject<{
|
|
@@ -13266,7 +14836,7 @@ export declare const zUpdatePositionBody: z.ZodObject<{
|
|
|
13266
14836
|
position_function_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13267
14837
|
per_diem_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13268
14838
|
per_diem_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
13269
|
-
|
|
14839
|
+
pwa: z.ZodOptional<z.ZodBoolean>;
|
|
13270
14840
|
cash_fringe_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
13271
14841
|
hourly_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
13272
14842
|
pwa_wage_pay_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -13305,7 +14875,7 @@ export declare const zUpdatePositionResponse: z.ZodObject<{
|
|
|
13305
14875
|
pwa_wage_pay_rate_cents: z.ZodNullable<z.ZodString>;
|
|
13306
14876
|
pwa_wage_pay_rate_src_type: z.ZodNullable<z.ZodString>;
|
|
13307
14877
|
wage_adder_rate_cents: z.ZodNullable<z.ZodString>;
|
|
13308
|
-
|
|
14878
|
+
pwa: z.ZodBoolean;
|
|
13309
14879
|
federal_wage_determination_uids: z.ZodArray<z.ZodString>;
|
|
13310
14880
|
regional_wage_determination_uids: z.ZodArray<z.ZodString>;
|
|
13311
14881
|
pwa_details: z.ZodNullable<z.ZodObject<{
|
|
@@ -14035,6 +15605,94 @@ export declare const zUpdateTimeEntryResponse: z.ZodObject<{
|
|
|
14035
15605
|
}, z.core.$strip>>;
|
|
14036
15606
|
total_hours: z.ZodNumber;
|
|
14037
15607
|
}, z.core.$strip>;
|
|
15608
|
+
export declare const zListTimecodeHistoryPath: z.ZodObject<{
|
|
15609
|
+
timecode_id: z.ZodString;
|
|
15610
|
+
}, z.core.$strip>;
|
|
15611
|
+
export declare const zListTimecodeHistoryQuery: z.ZodObject<{
|
|
15612
|
+
'as_of[transaction]': z.ZodOptional<z.ZodISODateTime>;
|
|
15613
|
+
'as_of[valid]': z.ZodOptional<z.ZodString>;
|
|
15614
|
+
}, z.core.$strip>;
|
|
15615
|
+
/**
|
|
15616
|
+
* Success
|
|
15617
|
+
*/
|
|
15618
|
+
export declare const zListTimecodeHistoryResponse: z.ZodObject<{
|
|
15619
|
+
meta: z.ZodOptional<z.ZodObject<{
|
|
15620
|
+
page: z.ZodOptional<z.ZodObject<{
|
|
15621
|
+
next_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15622
|
+
current_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15623
|
+
}, z.core.$strip>>;
|
|
15624
|
+
}, z.core.$strip>>;
|
|
15625
|
+
links: z.ZodOptional<z.ZodObject<{
|
|
15626
|
+
self: z.ZodOptional<z.ZodString>;
|
|
15627
|
+
first: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15628
|
+
next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15629
|
+
}, z.core.$strip>>;
|
|
15630
|
+
data: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
15631
|
+
id: z.ZodString;
|
|
15632
|
+
name: z.ZodString;
|
|
15633
|
+
description: z.ZodNullable<z.ZodString>;
|
|
15634
|
+
description_is_required: z.ZodBoolean;
|
|
15635
|
+
billable: z.ZodBoolean;
|
|
15636
|
+
overtime_eligible: z.ZodBoolean;
|
|
15637
|
+
unpaid: z.ZodBoolean;
|
|
15638
|
+
holiday: z.ZodBoolean;
|
|
15639
|
+
pto: z.ZodBoolean;
|
|
15640
|
+
safety: z.ZodBoolean;
|
|
15641
|
+
lunch_shortcut: z.ZodBoolean;
|
|
15642
|
+
break_shortcut: z.ZodBoolean;
|
|
15643
|
+
pwa: z.ZodBoolean;
|
|
15644
|
+
rest_and_recovery: z.ZodBoolean;
|
|
15645
|
+
incentive_pay_eligible: z.ZodBoolean;
|
|
15646
|
+
restricted_to: z.ZodEnum<{
|
|
15647
|
+
none: "none";
|
|
15648
|
+
job: "job";
|
|
15649
|
+
non_job: "non_job";
|
|
15650
|
+
job_with_timecode: "job_with_timecode";
|
|
15651
|
+
}>;
|
|
15652
|
+
default_for_company_id: z.ZodNullable<z.ZodString>;
|
|
15653
|
+
valid_from: z.ZodISODateTime;
|
|
15654
|
+
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
15655
|
+
transaction_from: z.ZodISODateTime;
|
|
15656
|
+
transaction_to: z.ZodNullable<z.ZodISODateTime>;
|
|
15657
|
+
created_at: z.ZodISODateTime;
|
|
15658
|
+
updated_at: z.ZodISODateTime;
|
|
15659
|
+
version_status: z.ZodEnum<{
|
|
15660
|
+
scheduled: "scheduled";
|
|
15661
|
+
current: "current";
|
|
15662
|
+
historical: "historical";
|
|
15663
|
+
}>;
|
|
15664
|
+
corrections: z.ZodArray<z.ZodObject<{
|
|
15665
|
+
id: z.ZodString;
|
|
15666
|
+
name: z.ZodString;
|
|
15667
|
+
description: z.ZodNullable<z.ZodString>;
|
|
15668
|
+
description_is_required: z.ZodBoolean;
|
|
15669
|
+
billable: z.ZodBoolean;
|
|
15670
|
+
overtime_eligible: z.ZodBoolean;
|
|
15671
|
+
unpaid: z.ZodBoolean;
|
|
15672
|
+
holiday: z.ZodBoolean;
|
|
15673
|
+
pto: z.ZodBoolean;
|
|
15674
|
+
safety: z.ZodBoolean;
|
|
15675
|
+
lunch_shortcut: z.ZodBoolean;
|
|
15676
|
+
break_shortcut: z.ZodBoolean;
|
|
15677
|
+
pwa: z.ZodBoolean;
|
|
15678
|
+
rest_and_recovery: z.ZodBoolean;
|
|
15679
|
+
incentive_pay_eligible: z.ZodBoolean;
|
|
15680
|
+
restricted_to: z.ZodEnum<{
|
|
15681
|
+
none: "none";
|
|
15682
|
+
job: "job";
|
|
15683
|
+
non_job: "non_job";
|
|
15684
|
+
job_with_timecode: "job_with_timecode";
|
|
15685
|
+
}>;
|
|
15686
|
+
default_for_company_id: z.ZodNullable<z.ZodString>;
|
|
15687
|
+
valid_from: z.ZodISODateTime;
|
|
15688
|
+
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
15689
|
+
transaction_from: z.ZodISODateTime;
|
|
15690
|
+
transaction_to: z.ZodNullable<z.ZodISODateTime>;
|
|
15691
|
+
created_at: z.ZodISODateTime;
|
|
15692
|
+
updated_at: z.ZodISODateTime;
|
|
15693
|
+
}, z.core.$strip>>;
|
|
15694
|
+
}, z.core.$strip>>>;
|
|
15695
|
+
}, z.core.$strip>;
|
|
14038
15696
|
export declare const zCancelTimecodeScheduledChangesPath: z.ZodObject<{
|
|
14039
15697
|
timecode_id: z.ZodString;
|
|
14040
15698
|
}, z.core.$strip>;
|
|
@@ -14065,7 +15723,9 @@ export declare const zCancelTimecodeScheduledChangesResponse: z.ZodObject<{
|
|
|
14065
15723
|
}>;
|
|
14066
15724
|
default_for_company_id: z.ZodNullable<z.ZodString>;
|
|
14067
15725
|
valid_from: z.ZodISODateTime;
|
|
14068
|
-
valid_to: z.ZodISODateTime
|
|
15726
|
+
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
15727
|
+
transaction_from: z.ZodISODateTime;
|
|
15728
|
+
transaction_to: z.ZodNullable<z.ZodISODateTime>;
|
|
14069
15729
|
created_at: z.ZodISODateTime;
|
|
14070
15730
|
updated_at: z.ZodISODateTime;
|
|
14071
15731
|
}, z.core.$strip>;
|
|
@@ -14099,7 +15759,9 @@ export declare const zListTimecodeScheduledChangesResponse: z.ZodArray<z.ZodObje
|
|
|
14099
15759
|
}>;
|
|
14100
15760
|
default_for_company_id: z.ZodNullable<z.ZodString>;
|
|
14101
15761
|
valid_from: z.ZodISODateTime;
|
|
14102
|
-
valid_to: z.ZodISODateTime
|
|
15762
|
+
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
15763
|
+
transaction_from: z.ZodISODateTime;
|
|
15764
|
+
transaction_to: z.ZodNullable<z.ZodISODateTime>;
|
|
14103
15765
|
created_at: z.ZodISODateTime;
|
|
14104
15766
|
updated_at: z.ZodISODateTime;
|
|
14105
15767
|
}, z.core.$strip>>;
|
|
@@ -14156,7 +15818,9 @@ export declare const zScheduleTimecodeChangeResponse: z.ZodObject<{
|
|
|
14156
15818
|
}>;
|
|
14157
15819
|
default_for_company_id: z.ZodNullable<z.ZodString>;
|
|
14158
15820
|
valid_from: z.ZodISODateTime;
|
|
14159
|
-
valid_to: z.ZodISODateTime
|
|
15821
|
+
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
15822
|
+
transaction_from: z.ZodISODateTime;
|
|
15823
|
+
transaction_to: z.ZodNullable<z.ZodISODateTime>;
|
|
14160
15824
|
created_at: z.ZodISODateTime;
|
|
14161
15825
|
updated_at: z.ZodISODateTime;
|
|
14162
15826
|
}, z.core.$strip>;
|
|
@@ -14190,7 +15854,9 @@ export declare const zCancelTimecodeScheduledTerminationResponse: z.ZodObject<{
|
|
|
14190
15854
|
}>;
|
|
14191
15855
|
default_for_company_id: z.ZodNullable<z.ZodString>;
|
|
14192
15856
|
valid_from: z.ZodISODateTime;
|
|
14193
|
-
valid_to: z.ZodISODateTime
|
|
15857
|
+
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
15858
|
+
transaction_from: z.ZodISODateTime;
|
|
15859
|
+
transaction_to: z.ZodNullable<z.ZodISODateTime>;
|
|
14194
15860
|
created_at: z.ZodISODateTime;
|
|
14195
15861
|
updated_at: z.ZodISODateTime;
|
|
14196
15862
|
}, z.core.$strip>;
|
|
@@ -14249,7 +15915,9 @@ export declare const zListTimecodesResponse: z.ZodObject<{
|
|
|
14249
15915
|
}>;
|
|
14250
15916
|
default_for_company_id: z.ZodNullable<z.ZodString>;
|
|
14251
15917
|
valid_from: z.ZodISODateTime;
|
|
14252
|
-
valid_to: z.ZodISODateTime
|
|
15918
|
+
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
15919
|
+
transaction_from: z.ZodISODateTime;
|
|
15920
|
+
transaction_to: z.ZodNullable<z.ZodISODateTime>;
|
|
14253
15921
|
created_at: z.ZodISODateTime;
|
|
14254
15922
|
updated_at: z.ZodISODateTime;
|
|
14255
15923
|
}, z.core.$strip>>>;
|
|
@@ -14304,7 +15972,9 @@ export declare const zCreateTimecodeResponse: z.ZodObject<{
|
|
|
14304
15972
|
}>;
|
|
14305
15973
|
default_for_company_id: z.ZodNullable<z.ZodString>;
|
|
14306
15974
|
valid_from: z.ZodISODateTime;
|
|
14307
|
-
valid_to: z.ZodISODateTime
|
|
15975
|
+
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
15976
|
+
transaction_from: z.ZodISODateTime;
|
|
15977
|
+
transaction_to: z.ZodNullable<z.ZodISODateTime>;
|
|
14308
15978
|
created_at: z.ZodISODateTime;
|
|
14309
15979
|
updated_at: z.ZodISODateTime;
|
|
14310
15980
|
}, z.core.$strip>;
|
|
@@ -14341,13 +16011,19 @@ export declare const zTerminateTimecodeResponse: z.ZodObject<{
|
|
|
14341
16011
|
}>;
|
|
14342
16012
|
default_for_company_id: z.ZodNullable<z.ZodString>;
|
|
14343
16013
|
valid_from: z.ZodISODateTime;
|
|
14344
|
-
valid_to: z.ZodISODateTime
|
|
16014
|
+
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
16015
|
+
transaction_from: z.ZodISODateTime;
|
|
16016
|
+
transaction_to: z.ZodNullable<z.ZodISODateTime>;
|
|
14345
16017
|
created_at: z.ZodISODateTime;
|
|
14346
16018
|
updated_at: z.ZodISODateTime;
|
|
14347
16019
|
}, z.core.$strip>;
|
|
14348
16020
|
export declare const zGetTimecodePath: z.ZodObject<{
|
|
14349
16021
|
id: z.ZodString;
|
|
14350
16022
|
}, z.core.$strip>;
|
|
16023
|
+
export declare const zGetTimecodeQuery: z.ZodObject<{
|
|
16024
|
+
'as_of[valid]': z.ZodOptional<z.ZodISODateTime>;
|
|
16025
|
+
'as_of[transaction]': z.ZodOptional<z.ZodISODateTime>;
|
|
16026
|
+
}, z.core.$strip>;
|
|
14351
16027
|
/**
|
|
14352
16028
|
* Success
|
|
14353
16029
|
*/
|
|
@@ -14375,7 +16051,9 @@ export declare const zGetTimecodeResponse: z.ZodObject<{
|
|
|
14375
16051
|
}>;
|
|
14376
16052
|
default_for_company_id: z.ZodNullable<z.ZodString>;
|
|
14377
16053
|
valid_from: z.ZodISODateTime;
|
|
14378
|
-
valid_to: z.ZodISODateTime
|
|
16054
|
+
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
16055
|
+
transaction_from: z.ZodISODateTime;
|
|
16056
|
+
transaction_to: z.ZodNullable<z.ZodISODateTime>;
|
|
14379
16057
|
created_at: z.ZodISODateTime;
|
|
14380
16058
|
updated_at: z.ZodISODateTime;
|
|
14381
16059
|
}, z.core.$strip>;
|
|
@@ -14432,7 +16110,9 @@ export declare const zUpdateTimecodeResponse: z.ZodObject<{
|
|
|
14432
16110
|
}>;
|
|
14433
16111
|
default_for_company_id: z.ZodNullable<z.ZodString>;
|
|
14434
16112
|
valid_from: z.ZodISODateTime;
|
|
14435
|
-
valid_to: z.ZodISODateTime
|
|
16113
|
+
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
16114
|
+
transaction_from: z.ZodISODateTime;
|
|
16115
|
+
transaction_to: z.ZodNullable<z.ZodISODateTime>;
|
|
14436
16116
|
created_at: z.ZodISODateTime;
|
|
14437
16117
|
updated_at: z.ZodISODateTime;
|
|
14438
16118
|
}, z.core.$strip>;
|
|
@@ -14754,6 +16434,113 @@ export declare const zGetAttestationConfigResponse: z.ZodObject<{
|
|
|
14754
16434
|
created_at: z.ZodISODateTime;
|
|
14755
16435
|
updated_at: z.ZodISODateTime;
|
|
14756
16436
|
}, z.core.$strip>;
|
|
16437
|
+
export declare const zListPayPeriodConfigHistoryPath: z.ZodObject<{
|
|
16438
|
+
pay_period_config_uid: z.ZodString;
|
|
16439
|
+
}, z.core.$strip>;
|
|
16440
|
+
export declare const zListPayPeriodConfigHistoryQuery: z.ZodObject<{
|
|
16441
|
+
'as_of[valid]': z.ZodOptional<z.ZodString>;
|
|
16442
|
+
}, z.core.$strip>;
|
|
16443
|
+
/**
|
|
16444
|
+
* Success
|
|
16445
|
+
*/
|
|
16446
|
+
export declare const zListPayPeriodConfigHistoryResponse: z.ZodObject<{
|
|
16447
|
+
meta: z.ZodOptional<z.ZodObject<{
|
|
16448
|
+
page: z.ZodOptional<z.ZodObject<{
|
|
16449
|
+
next_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16450
|
+
current_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16451
|
+
}, z.core.$strip>>;
|
|
16452
|
+
}, z.core.$strip>>;
|
|
16453
|
+
links: z.ZodOptional<z.ZodObject<{
|
|
16454
|
+
self: z.ZodOptional<z.ZodString>;
|
|
16455
|
+
first: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16456
|
+
next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16457
|
+
}, z.core.$strip>>;
|
|
16458
|
+
data: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
16459
|
+
uid: z.ZodString;
|
|
16460
|
+
company_id: z.ZodString;
|
|
16461
|
+
name: z.ZodString;
|
|
16462
|
+
frequency: z.ZodEnum<{
|
|
16463
|
+
weekly: "weekly";
|
|
16464
|
+
biweekly: "biweekly";
|
|
16465
|
+
}>;
|
|
16466
|
+
start_day_of_week: z.ZodInt;
|
|
16467
|
+
tz_name: z.ZodString;
|
|
16468
|
+
currency: z.ZodString;
|
|
16469
|
+
status: z.ZodEnum<{
|
|
16470
|
+
pending: "pending";
|
|
16471
|
+
failed: "failed";
|
|
16472
|
+
synced: "synced";
|
|
16473
|
+
}>;
|
|
16474
|
+
payroll_mode: z.ZodEnum<{
|
|
16475
|
+
none: "none";
|
|
16476
|
+
base: "base";
|
|
16477
|
+
aggregate: "aggregate";
|
|
16478
|
+
}>;
|
|
16479
|
+
time_mode: z.ZodEnum<{
|
|
16480
|
+
none: "none";
|
|
16481
|
+
base: "base";
|
|
16482
|
+
aggregate: "aggregate";
|
|
16483
|
+
}>;
|
|
16484
|
+
payroll_system: z.ZodEnum<{
|
|
16485
|
+
rippling: "rippling";
|
|
16486
|
+
quickbooks_online: "quickbooks_online";
|
|
16487
|
+
paychex: "paychex";
|
|
16488
|
+
gusto: "gusto";
|
|
16489
|
+
}>;
|
|
16490
|
+
actuals_enabled: z.ZodNullable<z.ZodBoolean>;
|
|
16491
|
+
requires_external_map_contributor: z.ZodBoolean;
|
|
16492
|
+
paid_after_holiday: z.ZodBoolean;
|
|
16493
|
+
demo: z.ZodNullable<z.ZodBoolean>;
|
|
16494
|
+
valid_from: z.ZodISODateTime;
|
|
16495
|
+
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
16496
|
+
created_at: z.ZodISODateTime;
|
|
16497
|
+
version_status: z.ZodEnum<{
|
|
16498
|
+
scheduled: "scheduled";
|
|
16499
|
+
current: "current";
|
|
16500
|
+
historical: "historical";
|
|
16501
|
+
}>;
|
|
16502
|
+
corrections: z.ZodArray<z.ZodObject<{
|
|
16503
|
+
uid: z.ZodString;
|
|
16504
|
+
company_id: z.ZodString;
|
|
16505
|
+
name: z.ZodString;
|
|
16506
|
+
frequency: z.ZodEnum<{
|
|
16507
|
+
weekly: "weekly";
|
|
16508
|
+
biweekly: "biweekly";
|
|
16509
|
+
}>;
|
|
16510
|
+
start_day_of_week: z.ZodInt;
|
|
16511
|
+
tz_name: z.ZodString;
|
|
16512
|
+
currency: z.ZodString;
|
|
16513
|
+
status: z.ZodEnum<{
|
|
16514
|
+
pending: "pending";
|
|
16515
|
+
failed: "failed";
|
|
16516
|
+
synced: "synced";
|
|
16517
|
+
}>;
|
|
16518
|
+
payroll_mode: z.ZodEnum<{
|
|
16519
|
+
none: "none";
|
|
16520
|
+
base: "base";
|
|
16521
|
+
aggregate: "aggregate";
|
|
16522
|
+
}>;
|
|
16523
|
+
time_mode: z.ZodEnum<{
|
|
16524
|
+
none: "none";
|
|
16525
|
+
base: "base";
|
|
16526
|
+
aggregate: "aggregate";
|
|
16527
|
+
}>;
|
|
16528
|
+
payroll_system: z.ZodEnum<{
|
|
16529
|
+
rippling: "rippling";
|
|
16530
|
+
quickbooks_online: "quickbooks_online";
|
|
16531
|
+
paychex: "paychex";
|
|
16532
|
+
gusto: "gusto";
|
|
16533
|
+
}>;
|
|
16534
|
+
actuals_enabled: z.ZodNullable<z.ZodBoolean>;
|
|
16535
|
+
requires_external_map_contributor: z.ZodBoolean;
|
|
16536
|
+
paid_after_holiday: z.ZodBoolean;
|
|
16537
|
+
demo: z.ZodNullable<z.ZodBoolean>;
|
|
16538
|
+
valid_from: z.ZodISODateTime;
|
|
16539
|
+
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
16540
|
+
created_at: z.ZodISODateTime;
|
|
16541
|
+
}, z.core.$strip>>;
|
|
16542
|
+
}, z.core.$strip>>>;
|
|
16543
|
+
}, z.core.$strip>;
|
|
14757
16544
|
export declare const zListHolidaysPath: z.ZodObject<{
|
|
14758
16545
|
pay_period_config_uid: z.ZodString;
|
|
14759
16546
|
}, z.core.$strip>;
|
|
@@ -14983,8 +16770,8 @@ export declare const zListPayPeriodConfigsResponse: z.ZodObject<{
|
|
|
14983
16770
|
}>;
|
|
14984
16771
|
actuals_enabled: z.ZodNullable<z.ZodBoolean>;
|
|
14985
16772
|
requires_external_map_contributor: z.ZodBoolean;
|
|
14986
|
-
|
|
14987
|
-
|
|
16773
|
+
paid_after_holiday: z.ZodBoolean;
|
|
16774
|
+
demo: z.ZodNullable<z.ZodBoolean>;
|
|
14988
16775
|
valid_from: z.ZodISODateTime;
|
|
14989
16776
|
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
14990
16777
|
created_at: z.ZodISODateTime;
|
|
@@ -14993,6 +16780,9 @@ export declare const zListPayPeriodConfigsResponse: z.ZodObject<{
|
|
|
14993
16780
|
export declare const zGetPayPeriodConfigPath: z.ZodObject<{
|
|
14994
16781
|
uid: z.ZodString;
|
|
14995
16782
|
}, z.core.$strip>;
|
|
16783
|
+
export declare const zGetPayPeriodConfigQuery: z.ZodObject<{
|
|
16784
|
+
'as_of[valid]': z.ZodOptional<z.ZodISODateTime>;
|
|
16785
|
+
}, z.core.$strip>;
|
|
14996
16786
|
/**
|
|
14997
16787
|
* Success
|
|
14998
16788
|
*/
|
|
@@ -15030,8 +16820,8 @@ export declare const zGetPayPeriodConfigResponse: z.ZodObject<{
|
|
|
15030
16820
|
}>;
|
|
15031
16821
|
actuals_enabled: z.ZodNullable<z.ZodBoolean>;
|
|
15032
16822
|
requires_external_map_contributor: z.ZodBoolean;
|
|
15033
|
-
|
|
15034
|
-
|
|
16823
|
+
paid_after_holiday: z.ZodBoolean;
|
|
16824
|
+
demo: z.ZodNullable<z.ZodBoolean>;
|
|
15035
16825
|
valid_from: z.ZodISODateTime;
|
|
15036
16826
|
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
15037
16827
|
created_at: z.ZodISODateTime;
|
|
@@ -16824,7 +18614,7 @@ export declare const zListWorkTypesResponse: z.ZodObject<{
|
|
|
16824
18614
|
data: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
16825
18615
|
id: z.ZodString;
|
|
16826
18616
|
value: z.ZodString;
|
|
16827
|
-
|
|
18617
|
+
verified: z.ZodBoolean;
|
|
16828
18618
|
scoped_to_company_id: z.ZodNullable<z.ZodString>;
|
|
16829
18619
|
specific_to_site_type: z.ZodNullable<z.ZodString>;
|
|
16830
18620
|
created_at: z.ZodISODateTime;
|