@dsptch-work/api-client 0.1.0 → 0.2.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.
@@ -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
  */
@@ -452,33 +501,6 @@ export declare const zAssetsAttributeValueObjects: z.ZodArray<z.ZodObject<{
452
501
  value: z.ZodNullable<z.ZodString>;
453
502
  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
  */
@@ -690,6 +712,91 @@ export declare const zPayPeriodConfigResponseObject: z.ZodObject<{
690
712
  valid_to: z.ZodNullable<z.ZodISODateTime>;
691
713
  created_at: z.ZodISODateTime;
692
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
+ is_paid_after_holiday: z.ZodBoolean;
750
+ is_demo: z.ZodNullable<z.ZodBoolean>;
751
+ valid_from: z.ZodISODateTime;
752
+ valid_to: z.ZodNullable<z.ZodISODateTime>;
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
+ is_paid_after_holiday: z.ZodBoolean;
794
+ is_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>>;
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).
695
802
  */
@@ -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.
@@ -1747,50 +1850,119 @@ export declare const zPayrollExternalMapResponseObject: z.ZodObject<{
1747
1850
  created_by_user_id: z.ZodNullable<z.ZodString>;
1748
1851
  global: z.ZodBoolean;
1749
1852
  valid_from: z.ZodISODateTime;
1750
- valid_to: z.ZodISODateTime;
1853
+ valid_to: z.ZodNullable<z.ZodISODateTime>;
1751
1854
  transaction_from: z.ZodISODateTime;
1752
- transaction_to: z.ZodISODateTime;
1855
+ transaction_to: z.ZodNullable<z.ZodISODateTime>;
1753
1856
  created_at: z.ZodISODateTime;
1754
1857
  updated_at: z.ZodISODateTime;
1755
1858
  }, z.core.$strip>;
1756
- /**
1757
- * A payroll run — a record of one payroll-processing event as it occurred in the external payroll system (not a run initiated by DSPTCH). Paystubs belong to a run.
1758
- */
1759
- export declare const zPayrollRunResponseObject: z.ZodObject<{
1859
+ export declare const zPayrollExternalMapHistoryVersionObject: z.ZodObject<{
1760
1860
  id: z.ZodString;
1761
- company_id: z.ZodString;
1762
- pay_period_id: z.ZodNullable<z.ZodString>;
1763
- credential_id: z.ZodNullable<z.ZodString>;
1764
- run_type: z.ZodEnum<{
1765
- CORRECTION: "CORRECTION";
1766
- ON_CYCLE: "ON_CYCLE";
1767
- OFF_CYCLE: "OFF_CYCLE";
1768
- RECONCILIATION: "RECONCILIATION";
1769
- SIGN_ON_BONUS: "SIGN_ON_BONUS";
1770
- TERMINATION: "TERMINATION";
1861
+ bitemporal_id: z.ZodString;
1862
+ name: z.ZodString;
1863
+ compensation_element_id: z.ZodString;
1864
+ compensation_element_name: z.ZodString;
1865
+ compensation_element_category: z.ZodEnum<{
1866
+ other: "other";
1867
+ tax: "tax";
1868
+ health: "health";
1869
+ retirement: "retirement";
1870
+ insurance: "insurance";
1871
+ earning: "earning";
1872
+ garnishment: "garnishment";
1771
1873
  }>;
1772
- run_date: z.ZodISODate;
1773
- external_id: z.ZodNullable<z.ZodString>;
1874
+ pay_period_config_uid: z.ZodNullable<z.ZodString>;
1875
+ fringe_benefit_plan_id: z.ZodNullable<z.ZodString>;
1876
+ contributor: z.ZodEnum<{
1877
+ any: "any";
1878
+ employee: "employee";
1879
+ employer: "employer";
1880
+ }>;
1881
+ annual_periods: z.ZodInt;
1882
+ created_by_user_id: z.ZodNullable<z.ZodString>;
1883
+ global: z.ZodBoolean;
1884
+ valid_from: z.ZodISODateTime;
1885
+ valid_to: z.ZodNullable<z.ZodISODateTime>;
1886
+ transaction_from: z.ZodISODateTime;
1887
+ transaction_to: z.ZodNullable<z.ZodISODateTime>;
1774
1888
  created_at: z.ZodISODateTime;
1775
1889
  updated_at: z.ZodISODateTime;
1776
- }, z.core.$strip>;
1777
- /**
1778
- * Request body for creating or updating a payroll run. company_id, run_type, and run_date are required; an on-cycle run additionally requires pay_period_id.
1779
- */
1780
- export declare const zPayrollRunParameters: z.ZodObject<{
1781
- company_id: z.ZodString;
1782
- pay_period_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1783
- credential_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1784
- run_type: z.ZodEnum<{
1785
- CORRECTION: "CORRECTION";
1786
- ON_CYCLE: "ON_CYCLE";
1787
- OFF_CYCLE: "OFF_CYCLE";
1788
- RECONCILIATION: "RECONCILIATION";
1789
- SIGN_ON_BONUS: "SIGN_ON_BONUS";
1790
- TERMINATION: "TERMINATION";
1890
+ version_status: z.ZodEnum<{
1891
+ scheduled: "scheduled";
1892
+ current: "current";
1893
+ historical: "historical";
1791
1894
  }>;
1792
- run_date: z.ZodISODate;
1793
- external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1895
+ corrections: z.ZodArray<z.ZodObject<{
1896
+ id: z.ZodString;
1897
+ bitemporal_id: z.ZodString;
1898
+ name: z.ZodString;
1899
+ compensation_element_id: z.ZodString;
1900
+ compensation_element_name: z.ZodString;
1901
+ compensation_element_category: z.ZodEnum<{
1902
+ other: "other";
1903
+ tax: "tax";
1904
+ health: "health";
1905
+ retirement: "retirement";
1906
+ insurance: "insurance";
1907
+ earning: "earning";
1908
+ garnishment: "garnishment";
1909
+ }>;
1910
+ pay_period_config_uid: z.ZodNullable<z.ZodString>;
1911
+ fringe_benefit_plan_id: z.ZodNullable<z.ZodString>;
1912
+ contributor: z.ZodEnum<{
1913
+ any: "any";
1914
+ employee: "employee";
1915
+ employer: "employer";
1916
+ }>;
1917
+ annual_periods: z.ZodInt;
1918
+ created_by_user_id: z.ZodNullable<z.ZodString>;
1919
+ global: z.ZodBoolean;
1920
+ valid_from: z.ZodISODateTime;
1921
+ valid_to: z.ZodNullable<z.ZodISODateTime>;
1922
+ transaction_from: z.ZodISODateTime;
1923
+ transaction_to: z.ZodNullable<z.ZodISODateTime>;
1924
+ created_at: z.ZodISODateTime;
1925
+ updated_at: z.ZodISODateTime;
1926
+ }, z.core.$strip>>;
1927
+ }, z.core.$strip>;
1928
+ /**
1929
+ * 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.
1930
+ */
1931
+ export declare const zPayrollRunResponseObject: z.ZodObject<{
1932
+ id: z.ZodString;
1933
+ company_id: z.ZodString;
1934
+ pay_period_id: z.ZodNullable<z.ZodString>;
1935
+ credential_id: z.ZodNullable<z.ZodString>;
1936
+ run_type: z.ZodEnum<{
1937
+ CORRECTION: "CORRECTION";
1938
+ ON_CYCLE: "ON_CYCLE";
1939
+ OFF_CYCLE: "OFF_CYCLE";
1940
+ RECONCILIATION: "RECONCILIATION";
1941
+ SIGN_ON_BONUS: "SIGN_ON_BONUS";
1942
+ TERMINATION: "TERMINATION";
1943
+ }>;
1944
+ run_date: z.ZodISODate;
1945
+ external_id: z.ZodNullable<z.ZodString>;
1946
+ created_at: z.ZodISODateTime;
1947
+ updated_at: z.ZodISODateTime;
1948
+ }, z.core.$strip>;
1949
+ /**
1950
+ * Request body for creating or updating a payroll run. company_id, run_type, and run_date are required; an on-cycle run additionally requires pay_period_id.
1951
+ */
1952
+ export declare const zPayrollRunParameters: z.ZodObject<{
1953
+ company_id: z.ZodString;
1954
+ pay_period_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1955
+ credential_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1956
+ run_type: z.ZodEnum<{
1957
+ CORRECTION: "CORRECTION";
1958
+ ON_CYCLE: "ON_CYCLE";
1959
+ OFF_CYCLE: "OFF_CYCLE";
1960
+ RECONCILIATION: "RECONCILIATION";
1961
+ SIGN_ON_BONUS: "SIGN_ON_BONUS";
1962
+ TERMINATION: "TERMINATION";
1963
+ }>;
1964
+ run_date: z.ZodISODate;
1965
+ external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1794
1966
  }, z.core.$strip>;
1795
1967
  /**
1796
1968
  * A project: a top-level container that groups jobs into federal and regional PWA compliance scopes, carrying the compliance modes, regional scoping, schedule envelope, and administrator/budget metadata.
@@ -2046,7 +2218,6 @@ export declare const zComplianceCheckResponseObject: z.ZodObject<{
2046
2218
  "Compliances::UserCompanyCheck": "Compliances::UserCompanyCheck";
2047
2219
  }>;
2048
2220
  status: z.ZodEnum<{
2049
- error: "error";
2050
2221
  pending: "pending";
2051
2222
  failed: "failed";
2052
2223
  passed: "passed";
@@ -2538,7 +2709,7 @@ export declare const zUserCertificationResponseObject: z.ZodObject<{
2538
2709
  date_received: z.ZodISODateTime;
2539
2710
  is_verified: z.ZodBoolean;
2540
2711
  issuer_company_id: z.ZodNullable<z.ZodString>;
2541
- expiration_date: z.ZodNullable<z.ZodISODateTime>;
2712
+ expiration_date: z.ZodNullable<z.ZodISODate>;
2542
2713
  credential_id: z.ZodNullable<z.ZodString>;
2543
2714
  approved_by_user_id: z.ZodNullable<z.ZodString>;
2544
2715
  created_by_user_id: z.ZodNullable<z.ZodString>;
@@ -3126,10 +3297,6 @@ export declare const zFormSubmissionIndexObject: z.ZodObject<{
3126
3297
  updated_by_user_id: z.ZodOptional<z.ZodString>;
3127
3298
  created_at: z.ZodOptional<z.ZodISODateTime>;
3128
3299
  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
3300
  }, z.core.$strip>>>;
3134
3301
  }, z.core.$strip>;
3135
3302
  /**
@@ -3546,7 +3713,7 @@ export declare const zUserCertificationsResponseObj: z.ZodObject<{
3546
3713
  date_received: z.ZodISODateTime;
3547
3714
  is_verified: z.ZodBoolean;
3548
3715
  issuer_company_id: z.ZodNullable<z.ZodString>;
3549
- expiration_date: z.ZodNullable<z.ZodISODateTime>;
3716
+ expiration_date: z.ZodNullable<z.ZodISODate>;
3550
3717
  credential_id: z.ZodNullable<z.ZodString>;
3551
3718
  approved_by_user_id: z.ZodNullable<z.ZodString>;
3552
3719
  created_by_user_id: z.ZodNullable<z.ZodString>;
@@ -3654,13 +3821,6 @@ export declare const zLaborRatesResponseObject: z.ZodObject<{
3654
3821
  updated_at: z.ZodISODateTime;
3655
3822
  }, z.core.$strip>>;
3656
3823
  }, 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
3824
  /**
3665
3825
  * A Federal (Davis-Bacon) wage determination on a job.
3666
3826
  */
@@ -3668,6 +3828,7 @@ export declare const zFederalJobWageDeterminationResponseObject: z.ZodObject<{
3668
3828
  id: z.ZodString;
3669
3829
  uid: z.ZodString;
3670
3830
  job_id: z.ZodString;
3831
+ trade_id: z.ZodString;
3671
3832
  type: z.ZodEnum<{
3672
3833
  "Pwa::JobWageDeterminations::Federal": "Pwa::JobWageDeterminations::Federal";
3673
3834
  }>;
@@ -3682,10 +3843,8 @@ export declare const zFederalJobWageDeterminationResponseObject: z.ZodObject<{
3682
3843
  residential: "residential";
3683
3844
  }>;
3684
3845
  general_wage_determination: z.ZodNullable<z.ZodString>;
3685
- valid_time: z.ZodObject<{
3686
- start: z.ZodISODateTime;
3687
- end: z.ZodNullable<z.ZodISODateTime>;
3688
- }, z.core.$strip>;
3846
+ valid_from: z.ZodISODateTime;
3847
+ valid_to: z.ZodNullable<z.ZodISODateTime>;
3689
3848
  created_at: z.ZodISODateTime;
3690
3849
  updated_at: z.ZodISODateTime;
3691
3850
  }, z.core.$strip>;
@@ -3715,6 +3874,7 @@ export declare const zRegionalJobWageDeterminationResponseObject: z.ZodObject<{
3715
3874
  id: z.ZodString;
3716
3875
  uid: z.ZodString;
3717
3876
  job_id: z.ZodString;
3877
+ trade_id: z.ZodString;
3718
3878
  type: z.ZodEnum<{
3719
3879
  "Pwa::JobWageDeterminations::Regional": "Pwa::JobWageDeterminations::Regional";
3720
3880
  }>;
@@ -3723,10 +3883,8 @@ export declare const zRegionalJobWageDeterminationResponseObject: z.ZodObject<{
3723
3883
  fringe_rate_cents: z.ZodString;
3724
3884
  general_wage_determination: z.ZodNullable<z.ZodString>;
3725
3885
  regional_fields: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
3726
- valid_time: z.ZodObject<{
3727
- start: z.ZodISODateTime;
3728
- end: z.ZodNullable<z.ZodISODateTime>;
3729
- }, z.core.$strip>;
3886
+ valid_from: z.ZodISODateTime;
3887
+ valid_to: z.ZodNullable<z.ZodISODateTime>;
3730
3888
  created_at: z.ZodISODateTime;
3731
3889
  updated_at: z.ZodISODateTime;
3732
3890
  }, z.core.$strip>;
@@ -3737,6 +3895,7 @@ export declare const zJobWageDeterminationResponseObject: z.ZodDiscriminatedUnio
3737
3895
  id: z.ZodString;
3738
3896
  uid: z.ZodString;
3739
3897
  job_id: z.ZodString;
3898
+ trade_id: z.ZodString;
3740
3899
  labor_classification: z.ZodString;
3741
3900
  hourly_rate_cents: z.ZodString;
3742
3901
  fringe_rate_cents: z.ZodString;
@@ -3748,10 +3907,8 @@ export declare const zJobWageDeterminationResponseObject: z.ZodDiscriminatedUnio
3748
3907
  residential: "residential";
3749
3908
  }>;
3750
3909
  general_wage_determination: z.ZodNullable<z.ZodString>;
3751
- valid_time: z.ZodObject<{
3752
- start: z.ZodISODateTime;
3753
- end: z.ZodNullable<z.ZodISODateTime>;
3754
- }, z.core.$strip>;
3910
+ valid_from: z.ZodISODateTime;
3911
+ valid_to: z.ZodNullable<z.ZodISODateTime>;
3755
3912
  created_at: z.ZodISODateTime;
3756
3913
  updated_at: z.ZodISODateTime;
3757
3914
  type: z.ZodLiteral<"Pwa::JobWageDeterminations::Federal">;
@@ -3759,79 +3916,329 @@ export declare const zJobWageDeterminationResponseObject: z.ZodDiscriminatedUnio
3759
3916
  id: z.ZodString;
3760
3917
  uid: z.ZodString;
3761
3918
  job_id: z.ZodString;
3919
+ trade_id: z.ZodString;
3762
3920
  labor_classification: z.ZodString;
3763
3921
  hourly_rate_cents: z.ZodString;
3764
3922
  fringe_rate_cents: z.ZodString;
3765
3923
  general_wage_determination: z.ZodNullable<z.ZodString>;
3766
3924
  regional_fields: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
3767
- valid_time: z.ZodObject<{
3768
- start: z.ZodISODateTime;
3769
- end: z.ZodNullable<z.ZodISODateTime>;
3770
- }, z.core.$strip>;
3925
+ valid_from: z.ZodISODateTime;
3926
+ valid_to: z.ZodNullable<z.ZodISODateTime>;
3771
3927
  created_at: z.ZodISODateTime;
3772
3928
  updated_at: z.ZodISODateTime;
3773
3929
  type: z.ZodLiteral<"Pwa::JobWageDeterminations::Regional">;
3774
3930
  }, z.core.$strip>], "type">;
3775
- /**
3776
- * Parameters for creating a Federal (Davis-Bacon) wage determination on a job.
3777
- */
3778
- export declare const zFederalJobWageDeterminationParameters: z.ZodObject<{
3931
+ export declare const zFederalJobWageDeterminationHistoryVersionObject: z.ZodObject<{
3932
+ id: z.ZodString;
3933
+ uid: z.ZodString;
3934
+ job_id: z.ZodString;
3935
+ trade_id: z.ZodString;
3779
3936
  type: z.ZodEnum<{
3780
3937
  "Pwa::JobWageDeterminations::Federal": "Pwa::JobWageDeterminations::Federal";
3781
3938
  }>;
3782
3939
  labor_classification: z.ZodString;
3783
3940
  hourly_rate_cents: z.ZodString;
3784
3941
  fringe_rate_cents: z.ZodString;
3785
- class_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3786
- construction_category: z.ZodOptional<z.ZodEnum<{
3942
+ class_code: z.ZodNullable<z.ZodString>;
3943
+ construction_category: z.ZodEnum<{
3787
3944
  building: "building";
3788
3945
  heavy: "heavy";
3789
3946
  highway: "highway";
3790
3947
  residential: "residential";
3791
- }>>;
3792
- general_wage_determination: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3948
+ }>;
3949
+ general_wage_determination: z.ZodNullable<z.ZodString>;
3950
+ valid_from: z.ZodISODateTime;
3951
+ valid_to: z.ZodNullable<z.ZodISODateTime>;
3952
+ created_at: z.ZodISODateTime;
3953
+ updated_at: z.ZodISODateTime;
3954
+ version_status: z.ZodEnum<{
3955
+ scheduled: "scheduled";
3956
+ current: "current";
3957
+ historical: "historical";
3958
+ }>;
3959
+ corrections: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
3960
+ id: z.ZodString;
3961
+ uid: z.ZodString;
3962
+ job_id: z.ZodString;
3963
+ trade_id: z.ZodString;
3964
+ labor_classification: z.ZodString;
3965
+ hourly_rate_cents: z.ZodString;
3966
+ fringe_rate_cents: z.ZodString;
3967
+ class_code: z.ZodNullable<z.ZodString>;
3968
+ construction_category: z.ZodEnum<{
3969
+ building: "building";
3970
+ heavy: "heavy";
3971
+ highway: "highway";
3972
+ residential: "residential";
3973
+ }>;
3974
+ general_wage_determination: z.ZodNullable<z.ZodString>;
3975
+ valid_from: z.ZodISODateTime;
3976
+ valid_to: z.ZodNullable<z.ZodISODateTime>;
3977
+ created_at: z.ZodISODateTime;
3978
+ updated_at: z.ZodISODateTime;
3979
+ type: z.ZodLiteral<"Pwa::JobWageDeterminations::Federal">;
3980
+ }, z.core.$strip>, z.ZodObject<{
3981
+ id: z.ZodString;
3982
+ uid: z.ZodString;
3983
+ job_id: z.ZodString;
3984
+ trade_id: z.ZodString;
3985
+ labor_classification: z.ZodString;
3986
+ hourly_rate_cents: z.ZodString;
3987
+ fringe_rate_cents: z.ZodString;
3988
+ general_wage_determination: z.ZodNullable<z.ZodString>;
3989
+ regional_fields: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
3990
+ valid_from: z.ZodISODateTime;
3991
+ valid_to: z.ZodNullable<z.ZodISODateTime>;
3992
+ created_at: z.ZodISODateTime;
3993
+ updated_at: z.ZodISODateTime;
3994
+ type: z.ZodLiteral<"Pwa::JobWageDeterminations::Regional">;
3995
+ }, z.core.$strip>], "type">>;
3793
3996
  }, z.core.$strip>;
3794
- /**
3795
- * Parameters for creating a Regional (state prevailing-wage) wage determination on a job.
3796
- */
3797
- export declare const zRegionalJobWageDeterminationParameters: z.ZodObject<{
3997
+ export declare const zRegionalJobWageDeterminationHistoryVersionObject: z.ZodObject<{
3998
+ id: z.ZodString;
3999
+ uid: z.ZodString;
4000
+ job_id: z.ZodString;
4001
+ trade_id: z.ZodString;
3798
4002
  type: z.ZodEnum<{
3799
4003
  "Pwa::JobWageDeterminations::Regional": "Pwa::JobWageDeterminations::Regional";
3800
4004
  }>;
3801
4005
  labor_classification: z.ZodString;
3802
4006
  hourly_rate_cents: z.ZodString;
3803
- fringe_rate_cents: z.ZodOptional<z.ZodString>;
3804
- general_wage_determination: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3805
- regional_fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>>;
4007
+ fringe_rate_cents: z.ZodString;
4008
+ general_wage_determination: z.ZodNullable<z.ZodString>;
4009
+ regional_fields: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
4010
+ valid_from: z.ZodISODateTime;
4011
+ valid_to: z.ZodNullable<z.ZodISODateTime>;
4012
+ created_at: z.ZodISODateTime;
4013
+ updated_at: z.ZodISODateTime;
4014
+ version_status: z.ZodEnum<{
4015
+ scheduled: "scheduled";
4016
+ current: "current";
4017
+ historical: "historical";
4018
+ }>;
4019
+ corrections: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
4020
+ id: z.ZodString;
4021
+ uid: z.ZodString;
4022
+ job_id: z.ZodString;
4023
+ trade_id: z.ZodString;
4024
+ labor_classification: z.ZodString;
4025
+ hourly_rate_cents: z.ZodString;
4026
+ fringe_rate_cents: z.ZodString;
4027
+ class_code: z.ZodNullable<z.ZodString>;
4028
+ construction_category: z.ZodEnum<{
4029
+ building: "building";
4030
+ heavy: "heavy";
4031
+ highway: "highway";
4032
+ residential: "residential";
4033
+ }>;
4034
+ general_wage_determination: z.ZodNullable<z.ZodString>;
4035
+ valid_from: z.ZodISODateTime;
4036
+ valid_to: z.ZodNullable<z.ZodISODateTime>;
4037
+ created_at: z.ZodISODateTime;
4038
+ updated_at: z.ZodISODateTime;
4039
+ type: z.ZodLiteral<"Pwa::JobWageDeterminations::Federal">;
4040
+ }, z.core.$strip>, z.ZodObject<{
4041
+ id: z.ZodString;
4042
+ uid: z.ZodString;
4043
+ job_id: z.ZodString;
4044
+ trade_id: z.ZodString;
4045
+ labor_classification: z.ZodString;
4046
+ hourly_rate_cents: z.ZodString;
4047
+ fringe_rate_cents: z.ZodString;
4048
+ general_wage_determination: z.ZodNullable<z.ZodString>;
4049
+ regional_fields: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
4050
+ valid_from: z.ZodISODateTime;
4051
+ valid_to: z.ZodNullable<z.ZodISODateTime>;
4052
+ created_at: z.ZodISODateTime;
4053
+ updated_at: z.ZodISODateTime;
4054
+ type: z.ZodLiteral<"Pwa::JobWageDeterminations::Regional">;
4055
+ }, z.core.$strip>], "type">>;
3806
4056
  }, z.core.$strip>;
3807
- /**
3808
- * Parameters for creating a job wage determination. Provide the Federal or Regional shape; the type discriminator selects which. There is no update endpoint.
3809
- */
3810
- export declare const zJobWageDeterminationParameters: z.ZodDiscriminatedUnion<[z.ZodObject<{
4057
+ export declare const zJobWageDeterminationHistoryVersionObject: z.ZodDiscriminatedUnion<[z.ZodObject<{
4058
+ id: z.ZodString;
4059
+ uid: z.ZodString;
4060
+ job_id: z.ZodString;
4061
+ trade_id: z.ZodString;
3811
4062
  labor_classification: z.ZodString;
3812
4063
  hourly_rate_cents: z.ZodString;
3813
4064
  fringe_rate_cents: z.ZodString;
3814
- class_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3815
- construction_category: z.ZodOptional<z.ZodEnum<{
4065
+ class_code: z.ZodNullable<z.ZodString>;
4066
+ construction_category: z.ZodEnum<{
3816
4067
  building: "building";
3817
4068
  heavy: "heavy";
3818
4069
  highway: "highway";
3819
4070
  residential: "residential";
3820
- }>>;
3821
- general_wage_determination: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4071
+ }>;
4072
+ general_wage_determination: z.ZodNullable<z.ZodString>;
4073
+ valid_from: z.ZodISODateTime;
4074
+ valid_to: z.ZodNullable<z.ZodISODateTime>;
4075
+ created_at: z.ZodISODateTime;
4076
+ updated_at: z.ZodISODateTime;
4077
+ version_status: z.ZodEnum<{
4078
+ scheduled: "scheduled";
4079
+ current: "current";
4080
+ historical: "historical";
4081
+ }>;
4082
+ corrections: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
4083
+ id: z.ZodString;
4084
+ uid: z.ZodString;
4085
+ job_id: z.ZodString;
4086
+ trade_id: z.ZodString;
4087
+ labor_classification: z.ZodString;
4088
+ hourly_rate_cents: z.ZodString;
4089
+ fringe_rate_cents: z.ZodString;
4090
+ class_code: z.ZodNullable<z.ZodString>;
4091
+ construction_category: z.ZodEnum<{
4092
+ building: "building";
4093
+ heavy: "heavy";
4094
+ highway: "highway";
4095
+ residential: "residential";
4096
+ }>;
4097
+ general_wage_determination: z.ZodNullable<z.ZodString>;
4098
+ valid_from: z.ZodISODateTime;
4099
+ valid_to: z.ZodNullable<z.ZodISODateTime>;
4100
+ created_at: z.ZodISODateTime;
4101
+ updated_at: z.ZodISODateTime;
4102
+ type: z.ZodLiteral<"Pwa::JobWageDeterminations::Federal">;
4103
+ }, z.core.$strip>, z.ZodObject<{
4104
+ id: z.ZodString;
4105
+ uid: z.ZodString;
4106
+ job_id: z.ZodString;
4107
+ trade_id: z.ZodString;
4108
+ labor_classification: z.ZodString;
4109
+ hourly_rate_cents: z.ZodString;
4110
+ fringe_rate_cents: z.ZodString;
4111
+ general_wage_determination: z.ZodNullable<z.ZodString>;
4112
+ regional_fields: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
4113
+ valid_from: z.ZodISODateTime;
4114
+ valid_to: z.ZodNullable<z.ZodISODateTime>;
4115
+ created_at: z.ZodISODateTime;
4116
+ updated_at: z.ZodISODateTime;
4117
+ type: z.ZodLiteral<"Pwa::JobWageDeterminations::Regional">;
4118
+ }, z.core.$strip>], "type">>;
3822
4119
  type: z.ZodLiteral<"Pwa::JobWageDeterminations::Federal">;
3823
4120
  }, z.core.$strip>, z.ZodObject<{
4121
+ id: z.ZodString;
4122
+ uid: z.ZodString;
4123
+ job_id: z.ZodString;
4124
+ trade_id: z.ZodString;
3824
4125
  labor_classification: z.ZodString;
3825
4126
  hourly_rate_cents: z.ZodString;
3826
- fringe_rate_cents: z.ZodOptional<z.ZodString>;
3827
- general_wage_determination: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3828
- regional_fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>>;
3829
- type: z.ZodLiteral<"Pwa::JobWageDeterminations::Regional">;
3830
- }, z.core.$strip>], "type">;
3831
- /**
3832
- * The adjustment applied when a rule matches — an addition to the wage or fringe rate.
3833
- */
3834
- export declare const zRateRuleEffect: z.ZodObject<{
4127
+ fringe_rate_cents: z.ZodString;
4128
+ general_wage_determination: z.ZodNullable<z.ZodString>;
4129
+ regional_fields: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
4130
+ valid_from: z.ZodISODateTime;
4131
+ valid_to: z.ZodNullable<z.ZodISODateTime>;
4132
+ created_at: z.ZodISODateTime;
4133
+ updated_at: z.ZodISODateTime;
4134
+ version_status: z.ZodEnum<{
4135
+ scheduled: "scheduled";
4136
+ current: "current";
4137
+ historical: "historical";
4138
+ }>;
4139
+ corrections: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
4140
+ id: z.ZodString;
4141
+ uid: z.ZodString;
4142
+ job_id: z.ZodString;
4143
+ trade_id: z.ZodString;
4144
+ labor_classification: z.ZodString;
4145
+ hourly_rate_cents: z.ZodString;
4146
+ fringe_rate_cents: z.ZodString;
4147
+ class_code: z.ZodNullable<z.ZodString>;
4148
+ construction_category: z.ZodEnum<{
4149
+ building: "building";
4150
+ heavy: "heavy";
4151
+ highway: "highway";
4152
+ residential: "residential";
4153
+ }>;
4154
+ general_wage_determination: z.ZodNullable<z.ZodString>;
4155
+ valid_from: z.ZodISODateTime;
4156
+ valid_to: z.ZodNullable<z.ZodISODateTime>;
4157
+ created_at: z.ZodISODateTime;
4158
+ updated_at: z.ZodISODateTime;
4159
+ type: z.ZodLiteral<"Pwa::JobWageDeterminations::Federal">;
4160
+ }, z.core.$strip>, z.ZodObject<{
4161
+ id: z.ZodString;
4162
+ uid: z.ZodString;
4163
+ job_id: z.ZodString;
4164
+ trade_id: z.ZodString;
4165
+ labor_classification: z.ZodString;
4166
+ hourly_rate_cents: z.ZodString;
4167
+ fringe_rate_cents: z.ZodString;
4168
+ general_wage_determination: z.ZodNullable<z.ZodString>;
4169
+ regional_fields: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
4170
+ valid_from: z.ZodISODateTime;
4171
+ valid_to: z.ZodNullable<z.ZodISODateTime>;
4172
+ created_at: z.ZodISODateTime;
4173
+ updated_at: z.ZodISODateTime;
4174
+ type: z.ZodLiteral<"Pwa::JobWageDeterminations::Regional">;
4175
+ }, z.core.$strip>], "type">>;
4176
+ type: z.ZodLiteral<"Pwa::JobWageDeterminations::Regional">;
4177
+ }, z.core.$strip>], "type">;
4178
+ /**
4179
+ * Parameters for creating a Federal (Davis-Bacon) wage determination on a job.
4180
+ */
4181
+ export declare const zFederalJobWageDeterminationParameters: z.ZodObject<{
4182
+ type: z.ZodEnum<{
4183
+ "Pwa::JobWageDeterminations::Federal": "Pwa::JobWageDeterminations::Federal";
4184
+ }>;
4185
+ labor_classification: z.ZodString;
4186
+ trade_id: z.ZodString;
4187
+ hourly_rate_cents: z.ZodString;
4188
+ fringe_rate_cents: z.ZodString;
4189
+ class_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4190
+ construction_category: z.ZodOptional<z.ZodEnum<{
4191
+ building: "building";
4192
+ heavy: "heavy";
4193
+ highway: "highway";
4194
+ residential: "residential";
4195
+ }>>;
4196
+ general_wage_determination: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4197
+ }, z.core.$strip>;
4198
+ /**
4199
+ * Parameters for creating a Regional (state prevailing-wage) wage determination on a job.
4200
+ */
4201
+ export declare const zRegionalJobWageDeterminationParameters: z.ZodObject<{
4202
+ type: z.ZodEnum<{
4203
+ "Pwa::JobWageDeterminations::Regional": "Pwa::JobWageDeterminations::Regional";
4204
+ }>;
4205
+ labor_classification: z.ZodString;
4206
+ trade_id: z.ZodString;
4207
+ hourly_rate_cents: z.ZodString;
4208
+ fringe_rate_cents: z.ZodOptional<z.ZodString>;
4209
+ general_wage_determination: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4210
+ regional_fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>>;
4211
+ }, z.core.$strip>;
4212
+ /**
4213
+ * Parameters for creating a job wage determination. Provide the Federal or Regional shape; the type discriminator selects which. There is no update endpoint.
4214
+ */
4215
+ export declare const zJobWageDeterminationParameters: z.ZodDiscriminatedUnion<[z.ZodObject<{
4216
+ labor_classification: z.ZodString;
4217
+ trade_id: z.ZodString;
4218
+ hourly_rate_cents: z.ZodString;
4219
+ fringe_rate_cents: z.ZodString;
4220
+ class_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4221
+ construction_category: z.ZodOptional<z.ZodEnum<{
4222
+ building: "building";
4223
+ heavy: "heavy";
4224
+ highway: "highway";
4225
+ residential: "residential";
4226
+ }>>;
4227
+ general_wage_determination: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4228
+ type: z.ZodLiteral<"Pwa::JobWageDeterminations::Federal">;
4229
+ }, z.core.$strip>, z.ZodObject<{
4230
+ labor_classification: z.ZodString;
4231
+ trade_id: z.ZodString;
4232
+ hourly_rate_cents: z.ZodString;
4233
+ fringe_rate_cents: z.ZodOptional<z.ZodString>;
4234
+ general_wage_determination: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4235
+ regional_fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>>;
4236
+ type: z.ZodLiteral<"Pwa::JobWageDeterminations::Regional">;
4237
+ }, z.core.$strip>], "type">;
4238
+ /**
4239
+ * The adjustment applied when a rule matches — an addition to the wage or fringe rate.
4240
+ */
4241
+ export declare const zRateRuleEffect: z.ZodObject<{
3835
4242
  type: z.ZodEnum<{
3836
4243
  wage_increment: "wage_increment";
3837
4244
  fringe_increment: "fringe_increment";
@@ -3925,7 +4332,7 @@ export declare const zRateRuleCondition: z.ZodDiscriminatedUnion<[z.ZodObject<{
3925
4332
  type: z.ZodLiteral<"overtime_multiplier">;
3926
4333
  }, z.core.$strip>], "type">;
3927
4334
  /**
3928
- * A conditional rate-modification rule on a job wage determination — it adds wage or fringe cents when its conditions match. `valid_time` is the temporal window over which this version of the rule is in effect.
4335
+ * 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
4336
  */
3930
4337
  export declare const zRateRuleResponseObject: z.ZodObject<{
3931
4338
  id: z.ZodString;
@@ -3963,12 +4370,97 @@ export declare const zRateRuleResponseObject: z.ZodObject<{
3963
4370
  }>;
3964
4371
  type: z.ZodLiteral<"overtime_multiplier">;
3965
4372
  }, z.core.$strip>], "type">>;
3966
- valid_time: z.ZodObject<{
3967
- start: z.ZodISODateTime;
3968
- end: z.ZodNullable<z.ZodISODateTime>;
4373
+ valid_from: z.ZodISODateTime;
4374
+ valid_to: z.ZodNullable<z.ZodISODateTime>;
4375
+ created_at: z.ZodISODateTime;
4376
+ updated_at: z.ZodISODateTime;
4377
+ }, z.core.$strip>;
4378
+ export declare const zRateRuleHistoryVersionObject: z.ZodObject<{
4379
+ id: z.ZodString;
4380
+ uid: z.ZodString;
4381
+ job_wage_determination_id: z.ZodString;
4382
+ pay_rates_rule_package_id: z.ZodString;
4383
+ effect: z.ZodObject<{
4384
+ type: z.ZodEnum<{
4385
+ wage_increment: "wage_increment";
4386
+ fringe_increment: "fringe_increment";
4387
+ }>;
4388
+ amount_cents: z.ZodString;
3969
4389
  }, z.core.$strip>;
4390
+ conditions: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
4391
+ start_time: z.ZodString;
4392
+ end_time: z.ZodString;
4393
+ type: z.ZodLiteral<"time_range">;
4394
+ }, z.core.$strip>, z.ZodObject<{
4395
+ days: z.ZodArray<z.ZodInt>;
4396
+ type: z.ZodLiteral<"days">;
4397
+ }, z.core.$strip>, z.ZodObject<{
4398
+ date: z.ZodISODate;
4399
+ type: z.ZodLiteral<"specific_date">;
4400
+ }, z.core.$strip>, z.ZodObject<{
4401
+ period: z.ZodInt;
4402
+ type: z.ZodLiteral<"apprentice_period">;
4403
+ }, z.core.$strip>, z.ZodObject<{
4404
+ min_hours: z.ZodInt;
4405
+ max_hours: z.ZodInt;
4406
+ type: z.ZodLiteral<"apprentice_hours">;
4407
+ }, z.core.$strip>, z.ZodObject<{
4408
+ multiplier: z.ZodEnum<{
4409
+ 1.5: "1.5";
4410
+ "2.0": "2.0";
4411
+ }>;
4412
+ type: z.ZodLiteral<"overtime_multiplier">;
4413
+ }, z.core.$strip>], "type">>;
4414
+ valid_from: z.ZodISODateTime;
4415
+ valid_to: z.ZodNullable<z.ZodISODateTime>;
3970
4416
  created_at: z.ZodISODateTime;
3971
4417
  updated_at: z.ZodISODateTime;
4418
+ version_status: z.ZodEnum<{
4419
+ scheduled: "scheduled";
4420
+ current: "current";
4421
+ historical: "historical";
4422
+ }>;
4423
+ corrections: z.ZodArray<z.ZodObject<{
4424
+ id: z.ZodString;
4425
+ uid: z.ZodString;
4426
+ job_wage_determination_id: z.ZodString;
4427
+ pay_rates_rule_package_id: z.ZodString;
4428
+ effect: z.ZodObject<{
4429
+ type: z.ZodEnum<{
4430
+ wage_increment: "wage_increment";
4431
+ fringe_increment: "fringe_increment";
4432
+ }>;
4433
+ amount_cents: z.ZodString;
4434
+ }, z.core.$strip>;
4435
+ conditions: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
4436
+ start_time: z.ZodString;
4437
+ end_time: z.ZodString;
4438
+ type: z.ZodLiteral<"time_range">;
4439
+ }, z.core.$strip>, z.ZodObject<{
4440
+ days: z.ZodArray<z.ZodInt>;
4441
+ type: z.ZodLiteral<"days">;
4442
+ }, z.core.$strip>, z.ZodObject<{
4443
+ date: z.ZodISODate;
4444
+ type: z.ZodLiteral<"specific_date">;
4445
+ }, z.core.$strip>, z.ZodObject<{
4446
+ period: z.ZodInt;
4447
+ type: z.ZodLiteral<"apprentice_period">;
4448
+ }, z.core.$strip>, z.ZodObject<{
4449
+ min_hours: z.ZodInt;
4450
+ max_hours: z.ZodInt;
4451
+ type: z.ZodLiteral<"apprentice_hours">;
4452
+ }, z.core.$strip>, z.ZodObject<{
4453
+ multiplier: z.ZodEnum<{
4454
+ 1.5: "1.5";
4455
+ "2.0": "2.0";
4456
+ }>;
4457
+ type: z.ZodLiteral<"overtime_multiplier">;
4458
+ }, z.core.$strip>], "type">>;
4459
+ valid_from: z.ZodISODateTime;
4460
+ valid_to: z.ZodNullable<z.ZodISODateTime>;
4461
+ created_at: z.ZodISODateTime;
4462
+ updated_at: z.ZodISODateTime;
4463
+ }, z.core.$strip>>;
3972
4464
  }, z.core.$strip>;
3973
4465
  /**
3974
4466
  * 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.
@@ -4007,6 +4499,198 @@ export declare const zRateRuleParameters: z.ZodObject<{
4007
4499
  type: z.ZodLiteral<"overtime_multiplier">;
4008
4500
  }, z.core.$strip>], "type">>>;
4009
4501
  }, z.core.$strip>;
4502
+ /**
4503
+ * A vendor in the company's asset catalog — a supplier or manufacturer that products are sourced from.
4504
+ */
4505
+ export declare const zAssetsVendorResponseObject: z.ZodObject<{
4506
+ id: z.ZodString;
4507
+ name: z.ZodString;
4508
+ company_id: z.ZodString;
4509
+ logo_url: z.ZodNullable<z.ZodString>;
4510
+ created_at: z.ZodISODateTime;
4511
+ updated_at: z.ZodISODateTime;
4512
+ }, z.core.$strip>;
4513
+ /**
4514
+ * Create or update a vendor. Only name is required.
4515
+ */
4516
+ export declare const zAssetsVendorParameters: z.ZodObject<{
4517
+ name: z.ZodString;
4518
+ logo_signed_id: z.ZodOptional<z.ZodString>;
4519
+ }, z.core.$strip>;
4520
+ /**
4521
+ * 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).
4522
+ */
4523
+ export declare const zAssetsSiteResponseObject: z.ZodObject<{
4524
+ id: z.ZodString;
4525
+ company_id: z.ZodString;
4526
+ site_id: z.ZodNullable<z.ZodString>;
4527
+ kind: z.ZodEnum<{
4528
+ warehouse: "warehouse";
4529
+ yard: "yard";
4530
+ trailer: "trailer";
4531
+ truck: "truck";
4532
+ van: "van";
4533
+ conex: "conex";
4534
+ }>;
4535
+ name: z.ZodString;
4536
+ site_type: z.ZodNullable<z.ZodString>;
4537
+ created_at: z.ZodISODateTime;
4538
+ updated_at: z.ZodISODateTime;
4539
+ }, z.core.$strip>;
4540
+ export declare const zAssetsSiteParameters: z.ZodIntersection<z.ZodUnion<readonly [z.ZodObject<{
4541
+ kind: z.ZodEnum<{
4542
+ warehouse: "warehouse";
4543
+ yard: "yard";
4544
+ }>;
4545
+ site_id: z.ZodString;
4546
+ }, z.core.$strip>, z.ZodObject<{
4547
+ kind: z.ZodEnum<{
4548
+ trailer: "trailer";
4549
+ truck: "truck";
4550
+ van: "van";
4551
+ conex: "conex";
4552
+ }>;
4553
+ name: z.ZodString;
4554
+ }, z.core.$strip>]>, z.ZodObject<{
4555
+ kind: z.ZodEnum<{
4556
+ warehouse: "warehouse";
4557
+ yard: "yard";
4558
+ trailer: "trailer";
4559
+ truck: "truck";
4560
+ van: "van";
4561
+ conex: "conex";
4562
+ }>;
4563
+ site_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4564
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4565
+ }, z.core.$strip>>;
4566
+ /**
4567
+ * 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.
4568
+ */
4569
+ export declare const zAssetsFormAssignmentTriggerResponseObject: z.ZodObject<{
4570
+ id: z.ZodString;
4571
+ company_id: z.ZodString;
4572
+ form_definition_id: z.ZodString;
4573
+ name: z.ZodNullable<z.ZodString>;
4574
+ triggered_by: z.ZodEnum<{
4575
+ assignment: "assignment";
4576
+ unassignment: "unassignment";
4577
+ }>;
4578
+ assign_to: z.ZodEnum<{
4579
+ custom: "custom";
4580
+ asset_assignee: "asset_assignee";
4581
+ previous_asset_assignee: "previous_asset_assignee";
4582
+ }>;
4583
+ recurrence_frequency: z.ZodEnum<{
4584
+ DAILY: "DAILY";
4585
+ WORKDAILY: "WORKDAILY";
4586
+ WORKDAILYSIX: "WORKDAILYSIX";
4587
+ WEEKLY: "WEEKLY";
4588
+ BIWEEKLY: "BIWEEKLY";
4589
+ MONTHLY: "MONTHLY";
4590
+ QUARTERLY: "QUARTERLY";
4591
+ }>;
4592
+ first_due_by: z.ZodEnum<{
4593
+ day_of_event: "day_of_event";
4594
+ day_of_week: "day_of_week";
4595
+ day_of_month: "day_of_month";
4596
+ }>;
4597
+ day_of_week_due: z.ZodNullable<z.ZodInt>;
4598
+ day_of_month_due: z.ZodNullable<z.ZodInt>;
4599
+ tz_name: z.ZodString;
4600
+ time_of_day_due: z.ZodString;
4601
+ assigned_user_ids: z.ZodArray<z.ZodString>;
4602
+ product_ids: z.ZodArray<z.ZodString>;
4603
+ created_at: z.ZodISODateTime;
4604
+ updated_at: z.ZodISODateTime;
4605
+ }, z.core.$strip>;
4606
+ /**
4607
+ * 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.
4608
+ */
4609
+ export declare const zAssetsFormAssignmentTriggerParameters: z.ZodObject<{
4610
+ form_definition_id: z.ZodString;
4611
+ triggered_by: z.ZodEnum<{
4612
+ assignment: "assignment";
4613
+ unassignment: "unassignment";
4614
+ }>;
4615
+ assign_to: z.ZodEnum<{
4616
+ custom: "custom";
4617
+ asset_assignee: "asset_assignee";
4618
+ previous_asset_assignee: "previous_asset_assignee";
4619
+ }>;
4620
+ first_due_by: z.ZodEnum<{
4621
+ day_of_event: "day_of_event";
4622
+ day_of_week: "day_of_week";
4623
+ day_of_month: "day_of_month";
4624
+ }>;
4625
+ tz_name: z.ZodString;
4626
+ time_of_day_due: z.ZodString;
4627
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4628
+ recurrence_frequency: z.ZodOptional<z.ZodEnum<{
4629
+ DAILY: "DAILY";
4630
+ WORKDAILY: "WORKDAILY";
4631
+ WORKDAILYSIX: "WORKDAILYSIX";
4632
+ WEEKLY: "WEEKLY";
4633
+ BIWEEKLY: "BIWEEKLY";
4634
+ MONTHLY: "MONTHLY";
4635
+ QUARTERLY: "QUARTERLY";
4636
+ }>>;
4637
+ day_of_week_due: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
4638
+ day_of_month_due: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
4639
+ assigned_user_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
4640
+ product_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
4641
+ }, z.core.$strip>;
4642
+ /**
4643
+ * 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.
4644
+ */
4645
+ export declare const zAssetsAttachmentResponseObject: z.ZodObject<{
4646
+ id: z.ZodString;
4647
+ file: z.ZodNullable<z.ZodObject<{
4648
+ filename: z.ZodString;
4649
+ content_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4650
+ byte_size: z.ZodInt;
4651
+ url: z.ZodString;
4652
+ }, z.core.$strip>>;
4653
+ created_at: z.ZodISODateTime;
4654
+ updated_at: z.ZodISODateTime;
4655
+ }, z.core.$strip>;
4656
+ /**
4657
+ * 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.
4658
+ */
4659
+ export declare const zAssetsProductResponseObject: z.ZodObject<{
4660
+ id: z.ZodString;
4661
+ company_id: z.ZodString;
4662
+ name: z.ZodString;
4663
+ upc: z.ZodNullable<z.ZodString>;
4664
+ internal_sku: z.ZodNullable<z.ZodString>;
4665
+ default_minimum_quantity: z.ZodNullable<z.ZodInt>;
4666
+ make: z.ZodNullable<z.ZodString>;
4667
+ model: z.ZodNullable<z.ZodString>;
4668
+ counted_by: z.ZodEnum<{
4669
+ each: "each";
4670
+ pair: "pair";
4671
+ pack: "pack";
4672
+ }>;
4673
+ serialized: z.ZodBoolean;
4674
+ category_id: z.ZodNullable<z.ZodString>;
4675
+ attributes: z.ZodArray<z.ZodObject<{
4676
+ attribute_id: z.ZodString;
4677
+ value: z.ZodNullable<z.ZodString>;
4678
+ attribute_option_id: z.ZodNullable<z.ZodString>;
4679
+ }, z.core.$strip>>;
4680
+ images: z.ZodArray<z.ZodObject<{
4681
+ id: z.ZodString;
4682
+ file: z.ZodNullable<z.ZodObject<{
4683
+ filename: z.ZodString;
4684
+ content_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4685
+ byte_size: z.ZodInt;
4686
+ url: z.ZodString;
4687
+ }, z.core.$strip>>;
4688
+ created_at: z.ZodISODateTime;
4689
+ updated_at: z.ZodISODateTime;
4690
+ }, z.core.$strip>>;
4691
+ created_at: z.ZodISODateTime;
4692
+ updated_at: z.ZodISODateTime;
4693
+ }, z.core.$strip>;
4010
4694
  /**
4011
4695
  * 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.
4012
4696
  */
@@ -4033,9 +4717,89 @@ export declare const zAssetsItemResponseObject: z.ZodObject<{
4033
4717
  currency: z.ZodNullable<z.ZodString>;
4034
4718
  external_id: z.ZodNullable<z.ZodString>;
4035
4719
  external_system_url: z.ZodNullable<z.ZodString>;
4720
+ images: z.ZodArray<z.ZodObject<{
4721
+ id: z.ZodString;
4722
+ file: z.ZodNullable<z.ZodObject<{
4723
+ filename: z.ZodString;
4724
+ content_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4725
+ byte_size: z.ZodInt;
4726
+ url: z.ZodString;
4727
+ }, z.core.$strip>>;
4728
+ created_at: z.ZodISODateTime;
4729
+ updated_at: z.ZodISODateTime;
4730
+ }, z.core.$strip>>;
4036
4731
  created_at: z.ZodISODateTime;
4037
4732
  updated_at: z.ZodISODateTime;
4038
4733
  }, z.core.$strip>;
4734
+ /**
4735
+ * One attachment in a nested collection. Send file with a signed_id to add one; send id (with _destroy) to remove an existing one.
4736
+ */
4737
+ export declare const zAssetsAttachmentParameters: z.ZodObject<{
4738
+ id: z.ZodOptional<z.ZodString>;
4739
+ file: z.ZodOptional<z.ZodString>;
4740
+ _destroy: z.ZodOptional<z.ZodBoolean>;
4741
+ }, z.core.$strip>;
4742
+ /**
4743
+ * Create a catalog product. `type` (serial or bulk) is required and immutable. `attribute_values` upserts the product's category-attribute values.
4744
+ */
4745
+ export declare const zAssetsProductParameters: z.ZodObject<{
4746
+ type: z.ZodEnum<{
4747
+ serial: "serial";
4748
+ bulk: "bulk";
4749
+ }>;
4750
+ name: z.ZodString;
4751
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4752
+ category_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4753
+ upc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4754
+ internal_sku: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4755
+ default_minimum_quantity: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
4756
+ make: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4757
+ model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4758
+ counted_by: z.ZodOptional<z.ZodEnum<{
4759
+ each: "each";
4760
+ pair: "pair";
4761
+ pack: "pack";
4762
+ }>>;
4763
+ attribute_values: z.ZodOptional<z.ZodArray<z.ZodObject<{
4764
+ attribute_id: z.ZodString;
4765
+ value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4766
+ attribute_option_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4767
+ }, z.core.$strip>>>;
4768
+ images_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
4769
+ id: z.ZodOptional<z.ZodString>;
4770
+ file: z.ZodOptional<z.ZodString>;
4771
+ _destroy: z.ZodOptional<z.ZodBoolean>;
4772
+ }, z.core.$strip>>>;
4773
+ performed_by_user_id: z.ZodString;
4774
+ }, z.core.$strip>;
4775
+ /**
4776
+ * 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.
4777
+ */
4778
+ export declare const zAssetsProductUpdateParameters: z.ZodObject<{
4779
+ name: z.ZodOptional<z.ZodString>;
4780
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4781
+ category_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4782
+ upc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4783
+ internal_sku: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4784
+ default_minimum_quantity: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
4785
+ make: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4786
+ model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4787
+ counted_by: z.ZodOptional<z.ZodEnum<{
4788
+ each: "each";
4789
+ pair: "pair";
4790
+ pack: "pack";
4791
+ }>>;
4792
+ attribute_values: z.ZodOptional<z.ZodArray<z.ZodObject<{
4793
+ attribute_id: z.ZodString;
4794
+ value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4795
+ attribute_option_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4796
+ }, z.core.$strip>>>;
4797
+ images_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
4798
+ id: z.ZodOptional<z.ZodString>;
4799
+ file: z.ZodOptional<z.ZodString>;
4800
+ _destroy: z.ZodOptional<z.ZodBoolean>;
4801
+ }, z.core.$strip>>>;
4802
+ }, z.core.$strip>;
4039
4803
  /**
4040
4804
  * 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
4805
  */
@@ -4055,148 +4819,15 @@ export declare const zAssetsItemParameters: z.ZodObject<{
4055
4819
  purchase_price_cents: z.ZodOptional<z.ZodInt>;
4056
4820
  external_id: z.ZodOptional<z.ZodString>;
4057
4821
  external_system_url: z.ZodOptional<z.ZodString>;
4822
+ images_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
4823
+ id: z.ZodOptional<z.ZodString>;
4824
+ file: z.ZodOptional<z.ZodString>;
4825
+ _destroy: z.ZodOptional<z.ZodBoolean>;
4826
+ }, z.core.$strip>>>;
4058
4827
  assets_site_id: z.ZodOptional<z.ZodString>;
4059
4828
  user_id: z.ZodOptional<z.ZodString>;
4060
4829
  performed_by_user_id: z.ZodString;
4061
4830
  }, 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
4831
  /**
4201
4832
  * 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
4833
  */
@@ -4209,10 +4840,10 @@ export declare const zAssetsDocumentResponseObject: z.ZodObject<{
4209
4840
  certified: z.ZodBoolean;
4210
4841
  created_by_user_id: z.ZodString;
4211
4842
  file: z.ZodNullable<z.ZodObject<{
4212
- signed_id: z.ZodString;
4213
4843
  filename: z.ZodString;
4214
4844
  content_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4215
4845
  byte_size: z.ZodInt;
4846
+ url: z.ZodString;
4216
4847
  }, z.core.$strip>>;
4217
4848
  created_at: z.ZodISODateTime;
4218
4849
  updated_at: z.ZodISODateTime;
@@ -4483,18 +5114,29 @@ export declare const zAssetsServiceEventFullResponseObject: z.ZodObject<{
4483
5114
  }>;
4484
5115
  notes: z.ZodNullable<z.ZodString>;
4485
5116
  performed_at: z.ZodISODateTime;
5117
+ attachments: z.ZodArray<z.ZodObject<{
5118
+ id: z.ZodString;
5119
+ file: z.ZodNullable<z.ZodObject<{
5120
+ filename: z.ZodString;
5121
+ content_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5122
+ byte_size: z.ZodInt;
5123
+ url: z.ZodString;
5124
+ }, z.core.$strip>>;
5125
+ created_at: z.ZodISODateTime;
5126
+ updated_at: z.ZodISODateTime;
5127
+ }, z.core.$strip>>;
4486
5128
  created_at: z.ZodISODateTime;
4487
5129
  updated_at: z.ZodISODateTime;
4488
5130
  }, z.core.$strip>;
4489
5131
  /**
4490
- * Record a service on an item. kind, performed_on, and performed_by_user_id are required. Link a schedule with assets_service_schedule_id to satisfy it — the schedule then dictates the kind or omit it for an ad-hoc service or a repair.
5132
+ * 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
5133
  */
4492
5134
  export declare const zAssetsServiceEventParameters: z.ZodObject<{
4493
- kind: z.ZodEnum<{
5135
+ kind: z.ZodOptional<z.ZodEnum<{
4494
5136
  maintenance: "maintenance";
4495
5137
  calibration: "calibration";
4496
5138
  repair: "repair";
4497
- }>;
5139
+ }>>;
4498
5140
  notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4499
5141
  performed_on: z.ZodISODate;
4500
5142
  assets_service_schedule_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -4607,6 +5249,21 @@ export declare const zAssetsAdjustmentParameters: z.ZodObject<{
4607
5249
  export declare const zAssetsRetirementParameters: z.ZodObject<{
4608
5250
  performed_by_user_id: z.ZodString;
4609
5251
  }, z.core.$strip>;
5252
+ /**
5253
+ * Success
5254
+ */
5255
+ export declare const zListApiKeyScopesResponse: z.ZodObject<{
5256
+ data: z.ZodOptional<z.ZodArray<z.ZodObject<{
5257
+ resource: z.ZodString;
5258
+ action: z.ZodEnum<{
5259
+ delete: "delete";
5260
+ read: "read";
5261
+ create: "create";
5262
+ update: "update";
5263
+ }>;
5264
+ name: z.ZodString;
5265
+ }, z.core.$strip>>>;
5266
+ }, z.core.$strip>;
4610
5267
  export declare const zListApprenticesPath: z.ZodObject<{
4611
5268
  program_id: z.ZodString;
4612
5269
  }, z.core.$strip>;
@@ -6279,6 +6936,17 @@ export declare const zListItemsResponse: z.ZodObject<{
6279
6936
  currency: z.ZodNullable<z.ZodString>;
6280
6937
  external_id: z.ZodNullable<z.ZodString>;
6281
6938
  external_system_url: z.ZodNullable<z.ZodString>;
6939
+ images: z.ZodArray<z.ZodObject<{
6940
+ id: z.ZodString;
6941
+ file: z.ZodNullable<z.ZodObject<{
6942
+ filename: z.ZodString;
6943
+ content_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6944
+ byte_size: z.ZodInt;
6945
+ url: z.ZodString;
6946
+ }, z.core.$strip>>;
6947
+ created_at: z.ZodISODateTime;
6948
+ updated_at: z.ZodISODateTime;
6949
+ }, z.core.$strip>>;
6282
6950
  created_at: z.ZodISODateTime;
6283
6951
  updated_at: z.ZodISODateTime;
6284
6952
  }, z.core.$strip>>>;
@@ -6299,12 +6967,17 @@ export declare const zCreateItemBody: z.ZodObject<{
6299
6967
  purchase_price_cents: z.ZodOptional<z.ZodInt>;
6300
6968
  external_id: z.ZodOptional<z.ZodString>;
6301
6969
  external_system_url: z.ZodOptional<z.ZodString>;
6970
+ images_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
6971
+ id: z.ZodOptional<z.ZodString>;
6972
+ file: z.ZodOptional<z.ZodString>;
6973
+ _destroy: z.ZodOptional<z.ZodBoolean>;
6974
+ }, z.core.$strip>>>;
6302
6975
  assets_site_id: z.ZodOptional<z.ZodString>;
6303
6976
  user_id: z.ZodOptional<z.ZodString>;
6304
6977
  performed_by_user_id: z.ZodString;
6305
6978
  }, z.core.$strip>;
6306
6979
  /**
6307
- * Created with placement at site
6980
+ * Created with an image
6308
6981
  */
6309
6982
  export declare const zCreateItemResponse: z.ZodObject<{
6310
6983
  id: z.ZodString;
@@ -6329,6 +7002,17 @@ export declare const zCreateItemResponse: z.ZodObject<{
6329
7002
  currency: z.ZodNullable<z.ZodString>;
6330
7003
  external_id: z.ZodNullable<z.ZodString>;
6331
7004
  external_system_url: z.ZodNullable<z.ZodString>;
7005
+ images: z.ZodArray<z.ZodObject<{
7006
+ id: z.ZodString;
7007
+ file: z.ZodNullable<z.ZodObject<{
7008
+ filename: z.ZodString;
7009
+ content_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7010
+ byte_size: z.ZodInt;
7011
+ url: z.ZodString;
7012
+ }, z.core.$strip>>;
7013
+ created_at: z.ZodISODateTime;
7014
+ updated_at: z.ZodISODateTime;
7015
+ }, z.core.$strip>>;
6332
7016
  created_at: z.ZodISODateTime;
6333
7017
  updated_at: z.ZodISODateTime;
6334
7018
  }, z.core.$strip>;
@@ -6361,6 +7045,17 @@ export declare const zDeleteItemResponse: z.ZodObject<{
6361
7045
  currency: z.ZodNullable<z.ZodString>;
6362
7046
  external_id: z.ZodNullable<z.ZodString>;
6363
7047
  external_system_url: z.ZodNullable<z.ZodString>;
7048
+ images: z.ZodArray<z.ZodObject<{
7049
+ id: z.ZodString;
7050
+ file: z.ZodNullable<z.ZodObject<{
7051
+ filename: z.ZodString;
7052
+ content_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7053
+ byte_size: z.ZodInt;
7054
+ url: z.ZodString;
7055
+ }, z.core.$strip>>;
7056
+ created_at: z.ZodISODateTime;
7057
+ updated_at: z.ZodISODateTime;
7058
+ }, z.core.$strip>>;
6364
7059
  created_at: z.ZodISODateTime;
6365
7060
  updated_at: z.ZodISODateTime;
6366
7061
  }, z.core.$strip>;
@@ -6393,6 +7088,17 @@ export declare const zGetItemResponse: z.ZodObject<{
6393
7088
  currency: z.ZodNullable<z.ZodString>;
6394
7089
  external_id: z.ZodNullable<z.ZodString>;
6395
7090
  external_system_url: z.ZodNullable<z.ZodString>;
7091
+ images: z.ZodArray<z.ZodObject<{
7092
+ id: z.ZodString;
7093
+ file: z.ZodNullable<z.ZodObject<{
7094
+ filename: z.ZodString;
7095
+ content_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7096
+ byte_size: z.ZodInt;
7097
+ url: z.ZodString;
7098
+ }, z.core.$strip>>;
7099
+ created_at: z.ZodISODateTime;
7100
+ updated_at: z.ZodISODateTime;
7101
+ }, z.core.$strip>>;
6396
7102
  created_at: z.ZodISODateTime;
6397
7103
  updated_at: z.ZodISODateTime;
6398
7104
  }, z.core.$strip>;
@@ -6412,6 +7118,11 @@ export declare const zUpdateItemBody: z.ZodObject<{
6412
7118
  purchase_price_cents: z.ZodOptional<z.ZodInt>;
6413
7119
  external_id: z.ZodOptional<z.ZodString>;
6414
7120
  external_system_url: z.ZodOptional<z.ZodString>;
7121
+ images_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
7122
+ id: z.ZodOptional<z.ZodString>;
7123
+ file: z.ZodOptional<z.ZodString>;
7124
+ _destroy: z.ZodOptional<z.ZodBoolean>;
7125
+ }, z.core.$strip>>>;
6415
7126
  assets_site_id: z.ZodOptional<z.ZodString>;
6416
7127
  user_id: z.ZodOptional<z.ZodString>;
6417
7128
  performed_by_user_id: z.ZodString;
@@ -6420,7 +7131,7 @@ export declare const zUpdateItemPath: z.ZodObject<{
6420
7131
  id: z.ZodString;
6421
7132
  }, z.core.$strip>;
6422
7133
  /**
6423
- * Success
7134
+ * Removes an image
6424
7135
  */
6425
7136
  export declare const zUpdateItemResponse: z.ZodObject<{
6426
7137
  id: z.ZodString;
@@ -6445,6 +7156,17 @@ export declare const zUpdateItemResponse: z.ZodObject<{
6445
7156
  currency: z.ZodNullable<z.ZodString>;
6446
7157
  external_id: z.ZodNullable<z.ZodString>;
6447
7158
  external_system_url: z.ZodNullable<z.ZodString>;
7159
+ images: z.ZodArray<z.ZodObject<{
7160
+ id: z.ZodString;
7161
+ file: z.ZodNullable<z.ZodObject<{
7162
+ filename: z.ZodString;
7163
+ content_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7164
+ byte_size: z.ZodInt;
7165
+ url: z.ZodString;
7166
+ }, z.core.$strip>>;
7167
+ created_at: z.ZodISODateTime;
7168
+ updated_at: z.ZodISODateTime;
7169
+ }, z.core.$strip>>;
6448
7170
  created_at: z.ZodISODateTime;
6449
7171
  updated_at: z.ZodISODateTime;
6450
7172
  }, z.core.$strip>;
@@ -6477,6 +7199,17 @@ export declare const zUnretireItemResponse: z.ZodObject<{
6477
7199
  currency: z.ZodNullable<z.ZodString>;
6478
7200
  external_id: z.ZodNullable<z.ZodString>;
6479
7201
  external_system_url: z.ZodNullable<z.ZodString>;
7202
+ images: z.ZodArray<z.ZodObject<{
7203
+ id: z.ZodString;
7204
+ file: z.ZodNullable<z.ZodObject<{
7205
+ filename: z.ZodString;
7206
+ content_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7207
+ byte_size: z.ZodInt;
7208
+ url: z.ZodString;
7209
+ }, z.core.$strip>>;
7210
+ created_at: z.ZodISODateTime;
7211
+ updated_at: z.ZodISODateTime;
7212
+ }, z.core.$strip>>;
6480
7213
  created_at: z.ZodISODateTime;
6481
7214
  updated_at: z.ZodISODateTime;
6482
7215
  }, z.core.$strip>;
@@ -6512,6 +7245,17 @@ export declare const zRetireItemResponse: z.ZodObject<{
6512
7245
  currency: z.ZodNullable<z.ZodString>;
6513
7246
  external_id: z.ZodNullable<z.ZodString>;
6514
7247
  external_system_url: z.ZodNullable<z.ZodString>;
7248
+ images: z.ZodArray<z.ZodObject<{
7249
+ id: z.ZodString;
7250
+ file: z.ZodNullable<z.ZodObject<{
7251
+ filename: z.ZodString;
7252
+ content_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7253
+ byte_size: z.ZodInt;
7254
+ url: z.ZodString;
7255
+ }, z.core.$strip>>;
7256
+ created_at: z.ZodISODateTime;
7257
+ updated_at: z.ZodISODateTime;
7258
+ }, z.core.$strip>>;
6515
7259
  created_at: z.ZodISODateTime;
6516
7260
  updated_at: z.ZodISODateTime;
6517
7261
  }, z.core.$strip>;
@@ -6758,16 +7502,27 @@ export declare const zListServiceEventsResponse: z.ZodObject<{
6758
7502
  }>;
6759
7503
  notes: z.ZodNullable<z.ZodString>;
6760
7504
  performed_at: z.ZodISODateTime;
7505
+ attachments: z.ZodArray<z.ZodObject<{
7506
+ id: z.ZodString;
7507
+ file: z.ZodNullable<z.ZodObject<{
7508
+ filename: z.ZodString;
7509
+ content_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7510
+ byte_size: z.ZodInt;
7511
+ url: z.ZodString;
7512
+ }, z.core.$strip>>;
7513
+ created_at: z.ZodISODateTime;
7514
+ updated_at: z.ZodISODateTime;
7515
+ }, z.core.$strip>>;
6761
7516
  created_at: z.ZodISODateTime;
6762
7517
  updated_at: z.ZodISODateTime;
6763
7518
  }, z.core.$strip>>>;
6764
7519
  }, z.core.$strip>;
6765
7520
  export declare const zCreateServiceEventBody: z.ZodObject<{
6766
- kind: z.ZodEnum<{
7521
+ kind: z.ZodOptional<z.ZodEnum<{
6767
7522
  maintenance: "maintenance";
6768
7523
  calibration: "calibration";
6769
7524
  repair: "repair";
6770
- }>;
7525
+ }>>;
6771
7526
  notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6772
7527
  performed_on: z.ZodISODate;
6773
7528
  assets_service_schedule_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -6797,6 +7552,17 @@ export declare const zCreateServiceEventResponse: z.ZodObject<{
6797
7552
  }>;
6798
7553
  notes: z.ZodNullable<z.ZodString>;
6799
7554
  performed_at: z.ZodISODateTime;
7555
+ attachments: z.ZodArray<z.ZodObject<{
7556
+ id: z.ZodString;
7557
+ file: z.ZodNullable<z.ZodObject<{
7558
+ filename: z.ZodString;
7559
+ content_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7560
+ byte_size: z.ZodInt;
7561
+ url: z.ZodString;
7562
+ }, z.core.$strip>>;
7563
+ created_at: z.ZodISODateTime;
7564
+ updated_at: z.ZodISODateTime;
7565
+ }, z.core.$strip>>;
6800
7566
  created_at: z.ZodISODateTime;
6801
7567
  updated_at: z.ZodISODateTime;
6802
7568
  }, z.core.$strip>;
@@ -6820,6 +7586,17 @@ export declare const zDeleteServiceEventResponse: z.ZodObject<{
6820
7586
  }>;
6821
7587
  notes: z.ZodNullable<z.ZodString>;
6822
7588
  performed_at: z.ZodISODateTime;
7589
+ attachments: z.ZodArray<z.ZodObject<{
7590
+ id: z.ZodString;
7591
+ file: z.ZodNullable<z.ZodObject<{
7592
+ filename: z.ZodString;
7593
+ content_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7594
+ byte_size: z.ZodInt;
7595
+ url: z.ZodString;
7596
+ }, z.core.$strip>>;
7597
+ created_at: z.ZodISODateTime;
7598
+ updated_at: z.ZodISODateTime;
7599
+ }, z.core.$strip>>;
6823
7600
  created_at: z.ZodISODateTime;
6824
7601
  updated_at: z.ZodISODateTime;
6825
7602
  }, z.core.$strip>;
@@ -6843,15 +7620,26 @@ export declare const zGetServiceEventResponse: z.ZodObject<{
6843
7620
  }>;
6844
7621
  notes: z.ZodNullable<z.ZodString>;
6845
7622
  performed_at: z.ZodISODateTime;
7623
+ attachments: z.ZodArray<z.ZodObject<{
7624
+ id: z.ZodString;
7625
+ file: z.ZodNullable<z.ZodObject<{
7626
+ filename: z.ZodString;
7627
+ content_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7628
+ byte_size: z.ZodInt;
7629
+ url: z.ZodString;
7630
+ }, z.core.$strip>>;
7631
+ created_at: z.ZodISODateTime;
7632
+ updated_at: z.ZodISODateTime;
7633
+ }, z.core.$strip>>;
6846
7634
  created_at: z.ZodISODateTime;
6847
7635
  updated_at: z.ZodISODateTime;
6848
7636
  }, z.core.$strip>;
6849
7637
  export declare const zUpdateServiceEventBody: z.ZodObject<{
6850
- kind: z.ZodEnum<{
7638
+ kind: z.ZodOptional<z.ZodEnum<{
6851
7639
  maintenance: "maintenance";
6852
7640
  calibration: "calibration";
6853
7641
  repair: "repair";
6854
- }>;
7642
+ }>>;
6855
7643
  notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6856
7644
  performed_on: z.ZodISODate;
6857
7645
  assets_service_schedule_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -6882,6 +7670,17 @@ export declare const zUpdateServiceEventResponse: z.ZodObject<{
6882
7670
  }>;
6883
7671
  notes: z.ZodNullable<z.ZodString>;
6884
7672
  performed_at: z.ZodISODateTime;
7673
+ attachments: z.ZodArray<z.ZodObject<{
7674
+ id: z.ZodString;
7675
+ file: z.ZodNullable<z.ZodObject<{
7676
+ filename: z.ZodString;
7677
+ content_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7678
+ byte_size: z.ZodInt;
7679
+ url: z.ZodString;
7680
+ }, z.core.$strip>>;
7681
+ created_at: z.ZodISODateTime;
7682
+ updated_at: z.ZodISODateTime;
7683
+ }, z.core.$strip>>;
6885
7684
  created_at: z.ZodISODateTime;
6886
7685
  updated_at: z.ZodISODateTime;
6887
7686
  }, z.core.$strip>;
@@ -7111,10 +7910,10 @@ export declare const zListDocumentsResponse: z.ZodObject<{
7111
7910
  certified: z.ZodBoolean;
7112
7911
  created_by_user_id: z.ZodString;
7113
7912
  file: z.ZodNullable<z.ZodObject<{
7114
- signed_id: z.ZodString;
7115
7913
  filename: z.ZodString;
7116
7914
  content_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7117
7915
  byte_size: z.ZodInt;
7916
+ url: z.ZodString;
7118
7917
  }, z.core.$strip>>;
7119
7918
  created_at: z.ZodISODateTime;
7120
7919
  updated_at: z.ZodISODateTime;
@@ -7140,10 +7939,10 @@ export declare const zCreateDocumentResponse: z.ZodObject<{
7140
7939
  certified: z.ZodBoolean;
7141
7940
  created_by_user_id: z.ZodString;
7142
7941
  file: z.ZodNullable<z.ZodObject<{
7143
- signed_id: z.ZodString;
7144
7942
  filename: z.ZodString;
7145
7943
  content_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7146
7944
  byte_size: z.ZodInt;
7945
+ url: z.ZodString;
7147
7946
  }, z.core.$strip>>;
7148
7947
  created_at: z.ZodISODateTime;
7149
7948
  updated_at: z.ZodISODateTime;
@@ -7164,10 +7963,10 @@ export declare const zDeleteDocumentResponse: z.ZodObject<{
7164
7963
  certified: z.ZodBoolean;
7165
7964
  created_by_user_id: z.ZodString;
7166
7965
  file: z.ZodNullable<z.ZodObject<{
7167
- signed_id: z.ZodString;
7168
7966
  filename: z.ZodString;
7169
7967
  content_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7170
7968
  byte_size: z.ZodInt;
7969
+ url: z.ZodString;
7171
7970
  }, z.core.$strip>>;
7172
7971
  created_at: z.ZodISODateTime;
7173
7972
  updated_at: z.ZodISODateTime;
@@ -7188,10 +7987,10 @@ export declare const zGetDocumentResponse: z.ZodObject<{
7188
7987
  certified: z.ZodBoolean;
7189
7988
  created_by_user_id: z.ZodString;
7190
7989
  file: z.ZodNullable<z.ZodObject<{
7191
- signed_id: z.ZodString;
7192
7990
  filename: z.ZodString;
7193
7991
  content_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7194
7992
  byte_size: z.ZodInt;
7993
+ url: z.ZodString;
7195
7994
  }, z.core.$strip>>;
7196
7995
  created_at: z.ZodISODateTime;
7197
7996
  updated_at: z.ZodISODateTime;
@@ -7217,10 +8016,10 @@ export declare const zUpdateDocumentResponse: z.ZodObject<{
7217
8016
  certified: z.ZodBoolean;
7218
8017
  created_by_user_id: z.ZodString;
7219
8018
  file: z.ZodNullable<z.ZodObject<{
7220
- signed_id: z.ZodString;
7221
8019
  filename: z.ZodString;
7222
8020
  content_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7223
8021
  byte_size: z.ZodInt;
8022
+ url: z.ZodString;
7224
8023
  }, z.core.$strip>>;
7225
8024
  created_at: z.ZodISODateTime;
7226
8025
  updated_at: z.ZodISODateTime;
@@ -7304,6 +8103,17 @@ export declare const zListProductsResponse: z.ZodObject<{
7304
8103
  value: z.ZodNullable<z.ZodString>;
7305
8104
  attribute_option_id: z.ZodNullable<z.ZodString>;
7306
8105
  }, z.core.$strip>>;
8106
+ images: z.ZodArray<z.ZodObject<{
8107
+ id: z.ZodString;
8108
+ file: z.ZodNullable<z.ZodObject<{
8109
+ filename: z.ZodString;
8110
+ content_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8111
+ byte_size: z.ZodInt;
8112
+ url: z.ZodString;
8113
+ }, z.core.$strip>>;
8114
+ created_at: z.ZodISODateTime;
8115
+ updated_at: z.ZodISODateTime;
8116
+ }, z.core.$strip>>;
7307
8117
  created_at: z.ZodISODateTime;
7308
8118
  updated_at: z.ZodISODateTime;
7309
8119
  }, z.core.$strip>>>;
@@ -7331,10 +8141,15 @@ export declare const zCreateProductBody: z.ZodObject<{
7331
8141
  value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7332
8142
  attribute_option_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7333
8143
  }, z.core.$strip>>>;
8144
+ images_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
8145
+ id: z.ZodOptional<z.ZodString>;
8146
+ file: z.ZodOptional<z.ZodString>;
8147
+ _destroy: z.ZodOptional<z.ZodBoolean>;
8148
+ }, z.core.$strip>>>;
7334
8149
  performed_by_user_id: z.ZodString;
7335
8150
  }, z.core.$strip>;
7336
8151
  /**
7337
- * Created (with category and attribute values)
8152
+ * Created (with an image)
7338
8153
  */
7339
8154
  export declare const zCreateProductResponse: z.ZodObject<{
7340
8155
  id: z.ZodString;
@@ -7357,6 +8172,17 @@ export declare const zCreateProductResponse: z.ZodObject<{
7357
8172
  value: z.ZodNullable<z.ZodString>;
7358
8173
  attribute_option_id: z.ZodNullable<z.ZodString>;
7359
8174
  }, z.core.$strip>>;
8175
+ images: z.ZodArray<z.ZodObject<{
8176
+ id: z.ZodString;
8177
+ file: z.ZodNullable<z.ZodObject<{
8178
+ filename: z.ZodString;
8179
+ content_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8180
+ byte_size: z.ZodInt;
8181
+ url: z.ZodString;
8182
+ }, z.core.$strip>>;
8183
+ created_at: z.ZodISODateTime;
8184
+ updated_at: z.ZodISODateTime;
8185
+ }, z.core.$strip>>;
7360
8186
  created_at: z.ZodISODateTime;
7361
8187
  updated_at: z.ZodISODateTime;
7362
8188
  }, z.core.$strip>;
@@ -7387,6 +8213,17 @@ export declare const zDeleteProductResponse: z.ZodObject<{
7387
8213
  value: z.ZodNullable<z.ZodString>;
7388
8214
  attribute_option_id: z.ZodNullable<z.ZodString>;
7389
8215
  }, z.core.$strip>>;
8216
+ images: z.ZodArray<z.ZodObject<{
8217
+ id: z.ZodString;
8218
+ file: z.ZodNullable<z.ZodObject<{
8219
+ filename: z.ZodString;
8220
+ content_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8221
+ byte_size: z.ZodInt;
8222
+ url: z.ZodString;
8223
+ }, z.core.$strip>>;
8224
+ created_at: z.ZodISODateTime;
8225
+ updated_at: z.ZodISODateTime;
8226
+ }, z.core.$strip>>;
7390
8227
  created_at: z.ZodISODateTime;
7391
8228
  updated_at: z.ZodISODateTime;
7392
8229
  }, z.core.$strip>;
@@ -7417,15 +8254,22 @@ export declare const zGetProductResponse: z.ZodObject<{
7417
8254
  value: z.ZodNullable<z.ZodString>;
7418
8255
  attribute_option_id: z.ZodNullable<z.ZodString>;
7419
8256
  }, z.core.$strip>>;
8257
+ images: z.ZodArray<z.ZodObject<{
8258
+ id: z.ZodString;
8259
+ file: z.ZodNullable<z.ZodObject<{
8260
+ filename: z.ZodString;
8261
+ content_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8262
+ byte_size: z.ZodInt;
8263
+ url: z.ZodString;
8264
+ }, z.core.$strip>>;
8265
+ created_at: z.ZodISODateTime;
8266
+ updated_at: z.ZodISODateTime;
8267
+ }, z.core.$strip>>;
7420
8268
  created_at: z.ZodISODateTime;
7421
8269
  updated_at: z.ZodISODateTime;
7422
8270
  }, z.core.$strip>;
7423
8271
  export declare const zUpdateProductBody: z.ZodObject<{
7424
- type: z.ZodEnum<{
7425
- serial: "serial";
7426
- bulk: "bulk";
7427
- }>;
7428
- name: z.ZodString;
8272
+ name: z.ZodOptional<z.ZodString>;
7429
8273
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7430
8274
  category_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7431
8275
  upc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -7443,7 +8287,11 @@ export declare const zUpdateProductBody: z.ZodObject<{
7443
8287
  value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7444
8288
  attribute_option_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7445
8289
  }, z.core.$strip>>>;
7446
- performed_by_user_id: z.ZodString;
8290
+ images_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
8291
+ id: z.ZodOptional<z.ZodString>;
8292
+ file: z.ZodOptional<z.ZodString>;
8293
+ _destroy: z.ZodOptional<z.ZodBoolean>;
8294
+ }, z.core.$strip>>>;
7447
8295
  }, z.core.$strip>;
7448
8296
  export declare const zUpdateProductPath: z.ZodObject<{
7449
8297
  id: z.ZodString;
@@ -7472,6 +8320,17 @@ export declare const zUpdateProductResponse: z.ZodObject<{
7472
8320
  value: z.ZodNullable<z.ZodString>;
7473
8321
  attribute_option_id: z.ZodNullable<z.ZodString>;
7474
8322
  }, z.core.$strip>>;
8323
+ images: z.ZodArray<z.ZodObject<{
8324
+ id: z.ZodString;
8325
+ file: z.ZodNullable<z.ZodObject<{
8326
+ filename: z.ZodString;
8327
+ content_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8328
+ byte_size: z.ZodInt;
8329
+ url: z.ZodString;
8330
+ }, z.core.$strip>>;
8331
+ created_at: z.ZodISODateTime;
8332
+ updated_at: z.ZodISODateTime;
8333
+ }, z.core.$strip>>;
7475
8334
  created_at: z.ZodISODateTime;
7476
8335
  updated_at: z.ZodISODateTime;
7477
8336
  }, z.core.$strip>;
@@ -7507,6 +8366,17 @@ export declare const zAdjustProductInventoryResponse: z.ZodObject<{
7507
8366
  value: z.ZodNullable<z.ZodString>;
7508
8367
  attribute_option_id: z.ZodNullable<z.ZodString>;
7509
8368
  }, z.core.$strip>>;
8369
+ images: z.ZodArray<z.ZodObject<{
8370
+ id: z.ZodString;
8371
+ file: z.ZodNullable<z.ZodObject<{
8372
+ filename: z.ZodString;
8373
+ content_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8374
+ byte_size: z.ZodInt;
8375
+ url: z.ZodString;
8376
+ }, z.core.$strip>>;
8377
+ created_at: z.ZodISODateTime;
8378
+ updated_at: z.ZodISODateTime;
8379
+ }, z.core.$strip>>;
7510
8380
  created_at: z.ZodISODateTime;
7511
8381
  updated_at: z.ZodISODateTime;
7512
8382
  }, z.core.$strip>;
@@ -7542,6 +8412,17 @@ export declare const zRestockProductResponse: z.ZodObject<{
7542
8412
  value: z.ZodNullable<z.ZodString>;
7543
8413
  attribute_option_id: z.ZodNullable<z.ZodString>;
7544
8414
  }, z.core.$strip>>;
8415
+ images: z.ZodArray<z.ZodObject<{
8416
+ id: z.ZodString;
8417
+ file: z.ZodNullable<z.ZodObject<{
8418
+ filename: z.ZodString;
8419
+ content_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8420
+ byte_size: z.ZodInt;
8421
+ url: z.ZodString;
8422
+ }, z.core.$strip>>;
8423
+ created_at: z.ZodISODateTime;
8424
+ updated_at: z.ZodISODateTime;
8425
+ }, z.core.$strip>>;
7545
8426
  created_at: z.ZodISODateTime;
7546
8427
  updated_at: z.ZodISODateTime;
7547
8428
  }, z.core.$strip>;
@@ -8117,20 +8998,23 @@ export declare const zListVendorsResponse: z.ZodObject<{
8117
8998
  id: z.ZodString;
8118
8999
  name: z.ZodString;
8119
9000
  company_id: z.ZodString;
9001
+ logo_url: z.ZodNullable<z.ZodString>;
8120
9002
  created_at: z.ZodISODateTime;
8121
9003
  updated_at: z.ZodISODateTime;
8122
9004
  }, z.core.$strip>>>;
8123
9005
  }, z.core.$strip>;
8124
9006
  export declare const zCreateVendorBody: z.ZodObject<{
8125
9007
  name: z.ZodString;
9008
+ logo_signed_id: z.ZodOptional<z.ZodString>;
8126
9009
  }, z.core.$strip>;
8127
9010
  /**
8128
- * Created
9011
+ * Created with a logo
8129
9012
  */
8130
9013
  export declare const zCreateVendorResponse: z.ZodObject<{
8131
9014
  id: z.ZodString;
8132
9015
  name: z.ZodString;
8133
9016
  company_id: z.ZodString;
9017
+ logo_url: z.ZodNullable<z.ZodString>;
8134
9018
  created_at: z.ZodISODateTime;
8135
9019
  updated_at: z.ZodISODateTime;
8136
9020
  }, z.core.$strip>;
@@ -8144,6 +9028,7 @@ export declare const zDeleteVendorResponse: z.ZodObject<{
8144
9028
  id: z.ZodString;
8145
9029
  name: z.ZodString;
8146
9030
  company_id: z.ZodString;
9031
+ logo_url: z.ZodNullable<z.ZodString>;
8147
9032
  created_at: z.ZodISODateTime;
8148
9033
  updated_at: z.ZodISODateTime;
8149
9034
  }, z.core.$strip>;
@@ -8157,22 +9042,25 @@ export declare const zGetVendorResponse: z.ZodObject<{
8157
9042
  id: z.ZodString;
8158
9043
  name: z.ZodString;
8159
9044
  company_id: z.ZodString;
9045
+ logo_url: z.ZodNullable<z.ZodString>;
8160
9046
  created_at: z.ZodISODateTime;
8161
9047
  updated_at: z.ZodISODateTime;
8162
9048
  }, z.core.$strip>;
8163
9049
  export declare const zUpdateVendorBody: z.ZodObject<{
8164
9050
  name: z.ZodString;
9051
+ logo_signed_id: z.ZodOptional<z.ZodString>;
8165
9052
  }, z.core.$strip>;
8166
9053
  export declare const zUpdateVendorPath: z.ZodObject<{
8167
9054
  id: z.ZodString;
8168
9055
  }, z.core.$strip>;
8169
9056
  /**
8170
- * Success
9057
+ * Updated with a logo
8171
9058
  */
8172
9059
  export declare const zUpdateVendorResponse: z.ZodObject<{
8173
9060
  id: z.ZodString;
8174
9061
  name: z.ZodString;
8175
9062
  company_id: z.ZodString;
9063
+ logo_url: z.ZodNullable<z.ZodString>;
8176
9064
  created_at: z.ZodISODateTime;
8177
9065
  updated_at: z.ZodISODateTime;
8178
9066
  }, z.core.$strip>;
@@ -8718,7 +9606,7 @@ export declare const zListUserCertificationsResponse: z.ZodObject<{
8718
9606
  date_received: z.ZodISODateTime;
8719
9607
  is_verified: z.ZodBoolean;
8720
9608
  issuer_company_id: z.ZodNullable<z.ZodString>;
8721
- expiration_date: z.ZodNullable<z.ZodISODateTime>;
9609
+ expiration_date: z.ZodNullable<z.ZodISODate>;
8722
9610
  credential_id: z.ZodNullable<z.ZodString>;
8723
9611
  approved_by_user_id: z.ZodNullable<z.ZodString>;
8724
9612
  created_by_user_id: z.ZodNullable<z.ZodString>;
@@ -8754,7 +9642,7 @@ export declare const zCreateUserCertificationResponse: z.ZodObject<{
8754
9642
  date_received: z.ZodISODateTime;
8755
9643
  is_verified: z.ZodBoolean;
8756
9644
  issuer_company_id: z.ZodNullable<z.ZodString>;
8757
- expiration_date: z.ZodNullable<z.ZodISODateTime>;
9645
+ expiration_date: z.ZodNullable<z.ZodISODate>;
8758
9646
  credential_id: z.ZodNullable<z.ZodString>;
8759
9647
  approved_by_user_id: z.ZodNullable<z.ZodString>;
8760
9648
  created_by_user_id: z.ZodNullable<z.ZodString>;
@@ -8777,7 +9665,7 @@ export declare const zDeleteUserCertificationResponse: z.ZodObject<{
8777
9665
  date_received: z.ZodISODateTime;
8778
9666
  is_verified: z.ZodBoolean;
8779
9667
  issuer_company_id: z.ZodNullable<z.ZodString>;
8780
- expiration_date: z.ZodNullable<z.ZodISODateTime>;
9668
+ expiration_date: z.ZodNullable<z.ZodISODate>;
8781
9669
  credential_id: z.ZodNullable<z.ZodString>;
8782
9670
  approved_by_user_id: z.ZodNullable<z.ZodString>;
8783
9671
  created_by_user_id: z.ZodNullable<z.ZodString>;
@@ -8800,7 +9688,7 @@ export declare const zGetUserCertificationResponse: z.ZodObject<{
8800
9688
  date_received: z.ZodISODateTime;
8801
9689
  is_verified: z.ZodBoolean;
8802
9690
  issuer_company_id: z.ZodNullable<z.ZodString>;
8803
- expiration_date: z.ZodNullable<z.ZodISODateTime>;
9691
+ expiration_date: z.ZodNullable<z.ZodISODate>;
8804
9692
  credential_id: z.ZodNullable<z.ZodString>;
8805
9693
  approved_by_user_id: z.ZodNullable<z.ZodString>;
8806
9694
  created_by_user_id: z.ZodNullable<z.ZodString>;
@@ -8838,7 +9726,7 @@ export declare const zUpdateUserCertificationResponse: z.ZodObject<{
8838
9726
  date_received: z.ZodISODateTime;
8839
9727
  is_verified: z.ZodBoolean;
8840
9728
  issuer_company_id: z.ZodNullable<z.ZodString>;
8841
- expiration_date: z.ZodNullable<z.ZodISODateTime>;
9729
+ expiration_date: z.ZodNullable<z.ZodISODate>;
8842
9730
  credential_id: z.ZodNullable<z.ZodString>;
8843
9731
  approved_by_user_id: z.ZodNullable<z.ZodString>;
8844
9732
  created_by_user_id: z.ZodNullable<z.ZodString>;
@@ -9146,7 +10034,6 @@ export declare const zGetCompanyResponse: z.ZodObject<{
9146
10034
  }, z.core.$strip>;
9147
10035
  export declare const zListChecksQuery: z.ZodObject<{
9148
10036
  'filter[status]': z.ZodOptional<z.ZodEnum<{
9149
- error: "error";
9150
10037
  pending: "pending";
9151
10038
  failed: "failed";
9152
10039
  passed: "passed";
@@ -9193,7 +10080,6 @@ export declare const zListChecksResponse: z.ZodObject<{
9193
10080
  "Compliances::UserCompanyCheck": "Compliances::UserCompanyCheck";
9194
10081
  }>;
9195
10082
  status: z.ZodEnum<{
9196
- error: "error";
9197
10083
  pending: "pending";
9198
10084
  failed: "failed";
9199
10085
  passed: "passed";
@@ -9261,7 +10147,6 @@ export declare const zGetCheckResponse: z.ZodObject<{
9261
10147
  "Compliances::UserCompanyCheck": "Compliances::UserCompanyCheck";
9262
10148
  }>;
9263
10149
  status: z.ZodEnum<{
9264
- error: "error";
9265
10150
  pending: "pending";
9266
10151
  failed: "failed";
9267
10152
  passed: "passed";
@@ -9335,7 +10220,6 @@ export declare const zUpdateCheckResponse: z.ZodObject<{
9335
10220
  "Compliances::UserCompanyCheck": "Compliances::UserCompanyCheck";
9336
10221
  }>;
9337
10222
  status: z.ZodEnum<{
9338
- error: "error";
9339
10223
  pending: "pending";
9340
10224
  failed: "failed";
9341
10225
  passed: "passed";
@@ -9608,10 +10492,6 @@ export declare const zListFormSubmissionsResponse: z.ZodObject<{
9608
10492
  updated_by_user_id: z.ZodOptional<z.ZodString>;
9609
10493
  created_at: z.ZodOptional<z.ZodISODateTime>;
9610
10494
  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
10495
  }, z.core.$strip>>>;
9616
10496
  }, z.core.$strip>;
9617
10497
  export declare const zGetFormSubmissionPath: z.ZodObject<{
@@ -9633,10 +10513,6 @@ export declare const zGetFormSubmissionResponse: z.ZodObject<{
9633
10513
  updated_by_user_id: z.ZodString;
9634
10514
  created_at: z.ZodISODateTime;
9635
10515
  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
10516
  }, z.core.$strip>;
9641
10517
  export declare const zListGroupUsersPath: z.ZodObject<{
9642
10518
  group_id: z.ZodString;
@@ -9906,9 +10782,120 @@ export declare const zCreateJobTradeResponse: z.ZodObject<{
9906
10782
  created_at: z.ZodISODateTime;
9907
10783
  updated_at: z.ZodISODateTime;
9908
10784
  }, z.core.$strip>;
10785
+ export declare const zListRateRuleHistoryPath: z.ZodObject<{
10786
+ job_id: z.ZodString;
10787
+ wage_determination_uid: z.ZodString;
10788
+ rate_rule_uid: z.ZodString;
10789
+ }, z.core.$strip>;
10790
+ export declare const zListRateRuleHistoryQuery: z.ZodObject<{
10791
+ 'as_of[valid]': z.ZodOptional<z.ZodString>;
10792
+ }, z.core.$strip>;
10793
+ /**
10794
+ * Success
10795
+ */
10796
+ export declare const zListRateRuleHistoryResponse: z.ZodObject<{
10797
+ meta: z.ZodOptional<z.ZodObject<{
10798
+ page: z.ZodOptional<z.ZodObject<{
10799
+ next_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10800
+ current_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10801
+ }, z.core.$strip>>;
10802
+ }, z.core.$strip>>;
10803
+ links: z.ZodOptional<z.ZodObject<{
10804
+ self: z.ZodOptional<z.ZodString>;
10805
+ first: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10806
+ next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10807
+ }, z.core.$strip>>;
10808
+ data: z.ZodOptional<z.ZodArray<z.ZodObject<{
10809
+ id: z.ZodString;
10810
+ uid: z.ZodString;
10811
+ job_wage_determination_id: z.ZodString;
10812
+ pay_rates_rule_package_id: z.ZodString;
10813
+ effect: z.ZodObject<{
10814
+ type: z.ZodEnum<{
10815
+ wage_increment: "wage_increment";
10816
+ fringe_increment: "fringe_increment";
10817
+ }>;
10818
+ amount_cents: z.ZodString;
10819
+ }, z.core.$strip>;
10820
+ conditions: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
10821
+ start_time: z.ZodString;
10822
+ end_time: z.ZodString;
10823
+ type: z.ZodLiteral<"time_range">;
10824
+ }, z.core.$strip>, z.ZodObject<{
10825
+ days: z.ZodArray<z.ZodInt>;
10826
+ type: z.ZodLiteral<"days">;
10827
+ }, z.core.$strip>, z.ZodObject<{
10828
+ date: z.ZodISODate;
10829
+ type: z.ZodLiteral<"specific_date">;
10830
+ }, z.core.$strip>, z.ZodObject<{
10831
+ period: z.ZodInt;
10832
+ type: z.ZodLiteral<"apprentice_period">;
10833
+ }, z.core.$strip>, z.ZodObject<{
10834
+ min_hours: z.ZodInt;
10835
+ max_hours: z.ZodInt;
10836
+ type: z.ZodLiteral<"apprentice_hours">;
10837
+ }, z.core.$strip>, z.ZodObject<{
10838
+ multiplier: z.ZodEnum<{
10839
+ 1.5: "1.5";
10840
+ "2.0": "2.0";
10841
+ }>;
10842
+ type: z.ZodLiteral<"overtime_multiplier">;
10843
+ }, z.core.$strip>], "type">>;
10844
+ valid_from: z.ZodISODateTime;
10845
+ valid_to: z.ZodNullable<z.ZodISODateTime>;
10846
+ created_at: z.ZodISODateTime;
10847
+ updated_at: z.ZodISODateTime;
10848
+ version_status: z.ZodEnum<{
10849
+ scheduled: "scheduled";
10850
+ current: "current";
10851
+ historical: "historical";
10852
+ }>;
10853
+ corrections: z.ZodArray<z.ZodObject<{
10854
+ id: z.ZodString;
10855
+ uid: z.ZodString;
10856
+ job_wage_determination_id: z.ZodString;
10857
+ pay_rates_rule_package_id: z.ZodString;
10858
+ effect: z.ZodObject<{
10859
+ type: z.ZodEnum<{
10860
+ wage_increment: "wage_increment";
10861
+ fringe_increment: "fringe_increment";
10862
+ }>;
10863
+ amount_cents: z.ZodString;
10864
+ }, z.core.$strip>;
10865
+ conditions: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
10866
+ start_time: z.ZodString;
10867
+ end_time: z.ZodString;
10868
+ type: z.ZodLiteral<"time_range">;
10869
+ }, z.core.$strip>, z.ZodObject<{
10870
+ days: z.ZodArray<z.ZodInt>;
10871
+ type: z.ZodLiteral<"days">;
10872
+ }, z.core.$strip>, z.ZodObject<{
10873
+ date: z.ZodISODate;
10874
+ type: z.ZodLiteral<"specific_date">;
10875
+ }, z.core.$strip>, z.ZodObject<{
10876
+ period: z.ZodInt;
10877
+ type: z.ZodLiteral<"apprentice_period">;
10878
+ }, z.core.$strip>, z.ZodObject<{
10879
+ min_hours: z.ZodInt;
10880
+ max_hours: z.ZodInt;
10881
+ type: z.ZodLiteral<"apprentice_hours">;
10882
+ }, z.core.$strip>, z.ZodObject<{
10883
+ multiplier: z.ZodEnum<{
10884
+ 1.5: "1.5";
10885
+ "2.0": "2.0";
10886
+ }>;
10887
+ type: z.ZodLiteral<"overtime_multiplier">;
10888
+ }, z.core.$strip>], "type">>;
10889
+ valid_from: z.ZodISODateTime;
10890
+ valid_to: z.ZodNullable<z.ZodISODateTime>;
10891
+ created_at: z.ZodISODateTime;
10892
+ updated_at: z.ZodISODateTime;
10893
+ }, z.core.$strip>>;
10894
+ }, z.core.$strip>>>;
10895
+ }, z.core.$strip>;
9909
10896
  export declare const zListRateRulesPath: z.ZodObject<{
9910
10897
  job_id: z.ZodString;
9911
- wage_determination_id: z.ZodString;
10898
+ wage_determination_uid: z.ZodString;
9912
10899
  }, z.core.$strip>;
9913
10900
  export declare const zListRateRulesQuery: z.ZodObject<{
9914
10901
  'as_of[valid]': z.ZodOptional<z.ZodISODateTime>;
@@ -9968,10 +10955,8 @@ export declare const zListRateRulesResponse: z.ZodObject<{
9968
10955
  }>;
9969
10956
  type: z.ZodLiteral<"overtime_multiplier">;
9970
10957
  }, z.core.$strip>], "type">>;
9971
- valid_time: z.ZodObject<{
9972
- start: z.ZodISODateTime;
9973
- end: z.ZodNullable<z.ZodISODateTime>;
9974
- }, z.core.$strip>;
10958
+ valid_from: z.ZodISODateTime;
10959
+ valid_to: z.ZodNullable<z.ZodISODateTime>;
9975
10960
  created_at: z.ZodISODateTime;
9976
10961
  updated_at: z.ZodISODateTime;
9977
10962
  }, z.core.$strip>>>;
@@ -10012,7 +10997,7 @@ export declare const zCreateRateRuleBody: z.ZodObject<{
10012
10997
  }, z.core.$strip>;
10013
10998
  export declare const zCreateRateRulePath: z.ZodObject<{
10014
10999
  job_id: z.ZodString;
10015
- wage_determination_id: z.ZodString;
11000
+ wage_determination_uid: z.ZodString;
10016
11001
  }, z.core.$strip>;
10017
11002
  /**
10018
11003
  * Created
@@ -10053,17 +11038,18 @@ export declare const zCreateRateRuleResponse: z.ZodObject<{
10053
11038
  }>;
10054
11039
  type: z.ZodLiteral<"overtime_multiplier">;
10055
11040
  }, z.core.$strip>], "type">>;
10056
- valid_time: z.ZodObject<{
10057
- start: z.ZodISODateTime;
10058
- end: z.ZodNullable<z.ZodISODateTime>;
10059
- }, z.core.$strip>;
11041
+ valid_from: z.ZodISODateTime;
11042
+ valid_to: z.ZodNullable<z.ZodISODateTime>;
10060
11043
  created_at: z.ZodISODateTime;
10061
11044
  updated_at: z.ZodISODateTime;
10062
11045
  }, z.core.$strip>;
10063
11046
  export declare const zGetRateRulePath: z.ZodObject<{
10064
11047
  job_id: z.ZodString;
10065
- wage_determination_id: z.ZodString;
10066
- id: z.ZodString;
11048
+ wage_determination_uid: z.ZodString;
11049
+ uid: z.ZodString;
11050
+ }, z.core.$strip>;
11051
+ export declare const zGetRateRuleQuery: z.ZodObject<{
11052
+ 'as_of[valid]': z.ZodOptional<z.ZodISODateTime>;
10067
11053
  }, z.core.$strip>;
10068
11054
  /**
10069
11055
  * Success
@@ -10102,14 +11088,156 @@ export declare const zGetRateRuleResponse: z.ZodObject<{
10102
11088
  1.5: "1.5";
10103
11089
  "2.0": "2.0";
10104
11090
  }>;
10105
- type: z.ZodLiteral<"overtime_multiplier">;
10106
- }, z.core.$strip>], "type">>;
10107
- valid_time: z.ZodObject<{
10108
- start: z.ZodISODateTime;
10109
- end: z.ZodNullable<z.ZodISODateTime>;
10110
- }, z.core.$strip>;
10111
- created_at: z.ZodISODateTime;
10112
- updated_at: z.ZodISODateTime;
11091
+ type: z.ZodLiteral<"overtime_multiplier">;
11092
+ }, z.core.$strip>], "type">>;
11093
+ valid_from: z.ZodISODateTime;
11094
+ valid_to: z.ZodNullable<z.ZodISODateTime>;
11095
+ created_at: z.ZodISODateTime;
11096
+ updated_at: z.ZodISODateTime;
11097
+ }, z.core.$strip>;
11098
+ export declare const zListJobWageDeterminationHistoryPath: z.ZodObject<{
11099
+ job_id: z.ZodString;
11100
+ wage_determination_uid: z.ZodString;
11101
+ }, z.core.$strip>;
11102
+ export declare const zListJobWageDeterminationHistoryQuery: z.ZodObject<{
11103
+ 'as_of[valid]': z.ZodOptional<z.ZodString>;
11104
+ }, z.core.$strip>;
11105
+ /**
11106
+ * Success
11107
+ */
11108
+ export declare const zListJobWageDeterminationHistoryResponse: z.ZodObject<{
11109
+ meta: z.ZodOptional<z.ZodObject<{
11110
+ page: z.ZodOptional<z.ZodObject<{
11111
+ next_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11112
+ current_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11113
+ }, z.core.$strip>>;
11114
+ }, z.core.$strip>>;
11115
+ links: z.ZodOptional<z.ZodObject<{
11116
+ self: z.ZodOptional<z.ZodString>;
11117
+ first: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11118
+ next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11119
+ }, z.core.$strip>>;
11120
+ data: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
11121
+ id: z.ZodString;
11122
+ uid: z.ZodString;
11123
+ job_id: z.ZodString;
11124
+ trade_id: z.ZodString;
11125
+ labor_classification: z.ZodString;
11126
+ hourly_rate_cents: z.ZodString;
11127
+ fringe_rate_cents: z.ZodString;
11128
+ class_code: z.ZodNullable<z.ZodString>;
11129
+ construction_category: z.ZodEnum<{
11130
+ building: "building";
11131
+ heavy: "heavy";
11132
+ highway: "highway";
11133
+ residential: "residential";
11134
+ }>;
11135
+ general_wage_determination: z.ZodNullable<z.ZodString>;
11136
+ valid_from: z.ZodISODateTime;
11137
+ valid_to: z.ZodNullable<z.ZodISODateTime>;
11138
+ created_at: z.ZodISODateTime;
11139
+ updated_at: z.ZodISODateTime;
11140
+ version_status: z.ZodEnum<{
11141
+ scheduled: "scheduled";
11142
+ current: "current";
11143
+ historical: "historical";
11144
+ }>;
11145
+ corrections: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
11146
+ id: z.ZodString;
11147
+ uid: z.ZodString;
11148
+ job_id: z.ZodString;
11149
+ trade_id: z.ZodString;
11150
+ labor_classification: z.ZodString;
11151
+ hourly_rate_cents: z.ZodString;
11152
+ fringe_rate_cents: z.ZodString;
11153
+ class_code: z.ZodNullable<z.ZodString>;
11154
+ construction_category: z.ZodEnum<{
11155
+ building: "building";
11156
+ heavy: "heavy";
11157
+ highway: "highway";
11158
+ residential: "residential";
11159
+ }>;
11160
+ general_wage_determination: z.ZodNullable<z.ZodString>;
11161
+ valid_from: z.ZodISODateTime;
11162
+ valid_to: z.ZodNullable<z.ZodISODateTime>;
11163
+ created_at: z.ZodISODateTime;
11164
+ updated_at: z.ZodISODateTime;
11165
+ type: z.ZodLiteral<"Pwa::JobWageDeterminations::Federal">;
11166
+ }, z.core.$strip>, z.ZodObject<{
11167
+ id: z.ZodString;
11168
+ uid: z.ZodString;
11169
+ job_id: z.ZodString;
11170
+ trade_id: z.ZodString;
11171
+ labor_classification: z.ZodString;
11172
+ hourly_rate_cents: z.ZodString;
11173
+ fringe_rate_cents: z.ZodString;
11174
+ general_wage_determination: z.ZodNullable<z.ZodString>;
11175
+ regional_fields: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
11176
+ valid_from: z.ZodISODateTime;
11177
+ valid_to: z.ZodNullable<z.ZodISODateTime>;
11178
+ created_at: z.ZodISODateTime;
11179
+ updated_at: z.ZodISODateTime;
11180
+ type: z.ZodLiteral<"Pwa::JobWageDeterminations::Regional">;
11181
+ }, z.core.$strip>], "type">>;
11182
+ type: z.ZodLiteral<"Pwa::JobWageDeterminations::Federal">;
11183
+ }, z.core.$strip>, z.ZodObject<{
11184
+ id: z.ZodString;
11185
+ uid: z.ZodString;
11186
+ job_id: z.ZodString;
11187
+ trade_id: z.ZodString;
11188
+ labor_classification: z.ZodString;
11189
+ hourly_rate_cents: z.ZodString;
11190
+ fringe_rate_cents: z.ZodString;
11191
+ general_wage_determination: z.ZodNullable<z.ZodString>;
11192
+ regional_fields: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
11193
+ valid_from: z.ZodISODateTime;
11194
+ valid_to: z.ZodNullable<z.ZodISODateTime>;
11195
+ created_at: z.ZodISODateTime;
11196
+ updated_at: z.ZodISODateTime;
11197
+ version_status: z.ZodEnum<{
11198
+ scheduled: "scheduled";
11199
+ current: "current";
11200
+ historical: "historical";
11201
+ }>;
11202
+ corrections: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
11203
+ id: z.ZodString;
11204
+ uid: z.ZodString;
11205
+ job_id: z.ZodString;
11206
+ trade_id: z.ZodString;
11207
+ labor_classification: z.ZodString;
11208
+ hourly_rate_cents: z.ZodString;
11209
+ fringe_rate_cents: z.ZodString;
11210
+ class_code: z.ZodNullable<z.ZodString>;
11211
+ construction_category: z.ZodEnum<{
11212
+ building: "building";
11213
+ heavy: "heavy";
11214
+ highway: "highway";
11215
+ residential: "residential";
11216
+ }>;
11217
+ general_wage_determination: z.ZodNullable<z.ZodString>;
11218
+ valid_from: z.ZodISODateTime;
11219
+ valid_to: z.ZodNullable<z.ZodISODateTime>;
11220
+ created_at: z.ZodISODateTime;
11221
+ updated_at: z.ZodISODateTime;
11222
+ type: z.ZodLiteral<"Pwa::JobWageDeterminations::Federal">;
11223
+ }, z.core.$strip>, z.ZodObject<{
11224
+ id: z.ZodString;
11225
+ uid: z.ZodString;
11226
+ job_id: z.ZodString;
11227
+ trade_id: z.ZodString;
11228
+ labor_classification: z.ZodString;
11229
+ hourly_rate_cents: z.ZodString;
11230
+ fringe_rate_cents: z.ZodString;
11231
+ general_wage_determination: z.ZodNullable<z.ZodString>;
11232
+ regional_fields: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
11233
+ valid_from: z.ZodISODateTime;
11234
+ valid_to: z.ZodNullable<z.ZodISODateTime>;
11235
+ created_at: z.ZodISODateTime;
11236
+ updated_at: z.ZodISODateTime;
11237
+ type: z.ZodLiteral<"Pwa::JobWageDeterminations::Regional">;
11238
+ }, z.core.$strip>], "type">>;
11239
+ type: z.ZodLiteral<"Pwa::JobWageDeterminations::Regional">;
11240
+ }, z.core.$strip>], "type">>>;
10113
11241
  }, z.core.$strip>;
10114
11242
  export declare const zListJobWageDeterminationsPath: z.ZodObject<{
10115
11243
  job_id: z.ZodString;
@@ -10140,6 +11268,7 @@ export declare const zListJobWageDeterminationsResponse: z.ZodObject<{
10140
11268
  id: z.ZodString;
10141
11269
  uid: z.ZodString;
10142
11270
  job_id: z.ZodString;
11271
+ trade_id: z.ZodString;
10143
11272
  labor_classification: z.ZodString;
10144
11273
  hourly_rate_cents: z.ZodString;
10145
11274
  fringe_rate_cents: z.ZodString;
@@ -10151,10 +11280,8 @@ export declare const zListJobWageDeterminationsResponse: z.ZodObject<{
10151
11280
  residential: "residential";
10152
11281
  }>;
10153
11282
  general_wage_determination: z.ZodNullable<z.ZodString>;
10154
- valid_time: z.ZodObject<{
10155
- start: z.ZodISODateTime;
10156
- end: z.ZodNullable<z.ZodISODateTime>;
10157
- }, z.core.$strip>;
11283
+ valid_from: z.ZodISODateTime;
11284
+ valid_to: z.ZodNullable<z.ZodISODateTime>;
10158
11285
  created_at: z.ZodISODateTime;
10159
11286
  updated_at: z.ZodISODateTime;
10160
11287
  type: z.ZodLiteral<"Pwa::JobWageDeterminations::Federal">;
@@ -10162,15 +11289,14 @@ export declare const zListJobWageDeterminationsResponse: z.ZodObject<{
10162
11289
  id: z.ZodString;
10163
11290
  uid: z.ZodString;
10164
11291
  job_id: z.ZodString;
11292
+ trade_id: z.ZodString;
10165
11293
  labor_classification: z.ZodString;
10166
11294
  hourly_rate_cents: z.ZodString;
10167
11295
  fringe_rate_cents: z.ZodString;
10168
11296
  general_wage_determination: z.ZodNullable<z.ZodString>;
10169
11297
  regional_fields: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
10170
- valid_time: z.ZodObject<{
10171
- start: z.ZodISODateTime;
10172
- end: z.ZodNullable<z.ZodISODateTime>;
10173
- }, z.core.$strip>;
11298
+ valid_from: z.ZodISODateTime;
11299
+ valid_to: z.ZodNullable<z.ZodISODateTime>;
10174
11300
  created_at: z.ZodISODateTime;
10175
11301
  updated_at: z.ZodISODateTime;
10176
11302
  type: z.ZodLiteral<"Pwa::JobWageDeterminations::Regional">;
@@ -10178,6 +11304,7 @@ export declare const zListJobWageDeterminationsResponse: z.ZodObject<{
10178
11304
  }, z.core.$strip>;
10179
11305
  export declare const zCreateWageDeterminationBody: z.ZodDiscriminatedUnion<[z.ZodObject<{
10180
11306
  labor_classification: z.ZodString;
11307
+ trade_id: z.ZodString;
10181
11308
  hourly_rate_cents: z.ZodString;
10182
11309
  fringe_rate_cents: z.ZodString;
10183
11310
  class_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -10191,6 +11318,7 @@ export declare const zCreateWageDeterminationBody: z.ZodDiscriminatedUnion<[z.Zo
10191
11318
  type: z.ZodLiteral<"Pwa::JobWageDeterminations::Federal">;
10192
11319
  }, z.core.$strip>, z.ZodObject<{
10193
11320
  labor_classification: z.ZodString;
11321
+ trade_id: z.ZodString;
10194
11322
  hourly_rate_cents: z.ZodString;
10195
11323
  fringe_rate_cents: z.ZodOptional<z.ZodString>;
10196
11324
  general_wage_determination: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -10207,6 +11335,7 @@ export declare const zCreateWageDeterminationResponse: z.ZodDiscriminatedUnion<[
10207
11335
  id: z.ZodString;
10208
11336
  uid: z.ZodString;
10209
11337
  job_id: z.ZodString;
11338
+ trade_id: z.ZodString;
10210
11339
  labor_classification: z.ZodString;
10211
11340
  hourly_rate_cents: z.ZodString;
10212
11341
  fringe_rate_cents: z.ZodString;
@@ -10218,10 +11347,8 @@ export declare const zCreateWageDeterminationResponse: z.ZodDiscriminatedUnion<[
10218
11347
  residential: "residential";
10219
11348
  }>;
10220
11349
  general_wage_determination: z.ZodNullable<z.ZodString>;
10221
- valid_time: z.ZodObject<{
10222
- start: z.ZodISODateTime;
10223
- end: z.ZodNullable<z.ZodISODateTime>;
10224
- }, z.core.$strip>;
11350
+ valid_from: z.ZodISODateTime;
11351
+ valid_to: z.ZodNullable<z.ZodISODateTime>;
10225
11352
  created_at: z.ZodISODateTime;
10226
11353
  updated_at: z.ZodISODateTime;
10227
11354
  type: z.ZodLiteral<"Pwa::JobWageDeterminations::Federal">;
@@ -10229,22 +11356,21 @@ export declare const zCreateWageDeterminationResponse: z.ZodDiscriminatedUnion<[
10229
11356
  id: z.ZodString;
10230
11357
  uid: z.ZodString;
10231
11358
  job_id: z.ZodString;
11359
+ trade_id: z.ZodString;
10232
11360
  labor_classification: z.ZodString;
10233
11361
  hourly_rate_cents: z.ZodString;
10234
11362
  fringe_rate_cents: z.ZodString;
10235
11363
  general_wage_determination: z.ZodNullable<z.ZodString>;
10236
11364
  regional_fields: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
10237
- valid_time: z.ZodObject<{
10238
- start: z.ZodISODateTime;
10239
- end: z.ZodNullable<z.ZodISODateTime>;
10240
- }, z.core.$strip>;
11365
+ valid_from: z.ZodISODateTime;
11366
+ valid_to: z.ZodNullable<z.ZodISODateTime>;
10241
11367
  created_at: z.ZodISODateTime;
10242
11368
  updated_at: z.ZodISODateTime;
10243
11369
  type: z.ZodLiteral<"Pwa::JobWageDeterminations::Regional">;
10244
11370
  }, z.core.$strip>], "type">;
10245
11371
  export declare const zDeleteWageDeterminationPath: z.ZodObject<{
10246
11372
  job_id: z.ZodString;
10247
- id: z.ZodString;
11373
+ uid: z.ZodString;
10248
11374
  }, z.core.$strip>;
10249
11375
  /**
10250
11376
  * Success
@@ -10253,6 +11379,7 @@ export declare const zDeleteWageDeterminationResponse: z.ZodDiscriminatedUnion<[
10253
11379
  id: z.ZodString;
10254
11380
  uid: z.ZodString;
10255
11381
  job_id: z.ZodString;
11382
+ trade_id: z.ZodString;
10256
11383
  labor_classification: z.ZodString;
10257
11384
  hourly_rate_cents: z.ZodString;
10258
11385
  fringe_rate_cents: z.ZodString;
@@ -10264,10 +11391,8 @@ export declare const zDeleteWageDeterminationResponse: z.ZodDiscriminatedUnion<[
10264
11391
  residential: "residential";
10265
11392
  }>;
10266
11393
  general_wage_determination: z.ZodNullable<z.ZodString>;
10267
- valid_time: z.ZodObject<{
10268
- start: z.ZodISODateTime;
10269
- end: z.ZodNullable<z.ZodISODateTime>;
10270
- }, z.core.$strip>;
11394
+ valid_from: z.ZodISODateTime;
11395
+ valid_to: z.ZodNullable<z.ZodISODateTime>;
10271
11396
  created_at: z.ZodISODateTime;
10272
11397
  updated_at: z.ZodISODateTime;
10273
11398
  type: z.ZodLiteral<"Pwa::JobWageDeterminations::Federal">;
@@ -10275,22 +11400,24 @@ export declare const zDeleteWageDeterminationResponse: z.ZodDiscriminatedUnion<[
10275
11400
  id: z.ZodString;
10276
11401
  uid: z.ZodString;
10277
11402
  job_id: z.ZodString;
11403
+ trade_id: z.ZodString;
10278
11404
  labor_classification: z.ZodString;
10279
11405
  hourly_rate_cents: z.ZodString;
10280
11406
  fringe_rate_cents: z.ZodString;
10281
11407
  general_wage_determination: z.ZodNullable<z.ZodString>;
10282
11408
  regional_fields: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
10283
- valid_time: z.ZodObject<{
10284
- start: z.ZodISODateTime;
10285
- end: z.ZodNullable<z.ZodISODateTime>;
10286
- }, z.core.$strip>;
11409
+ valid_from: z.ZodISODateTime;
11410
+ valid_to: z.ZodNullable<z.ZodISODateTime>;
10287
11411
  created_at: z.ZodISODateTime;
10288
11412
  updated_at: z.ZodISODateTime;
10289
11413
  type: z.ZodLiteral<"Pwa::JobWageDeterminations::Regional">;
10290
11414
  }, z.core.$strip>], "type">;
10291
11415
  export declare const zGetJobWageDeterminationPath: z.ZodObject<{
10292
11416
  job_id: z.ZodString;
10293
- id: z.ZodString;
11417
+ uid: z.ZodString;
11418
+ }, z.core.$strip>;
11419
+ export declare const zGetJobWageDeterminationQuery: z.ZodObject<{
11420
+ 'as_of[valid]': z.ZodOptional<z.ZodISODateTime>;
10294
11421
  }, z.core.$strip>;
10295
11422
  /**
10296
11423
  * Success
@@ -10299,6 +11426,7 @@ export declare const zGetJobWageDeterminationResponse: z.ZodDiscriminatedUnion<[
10299
11426
  id: z.ZodString;
10300
11427
  uid: z.ZodString;
10301
11428
  job_id: z.ZodString;
11429
+ trade_id: z.ZodString;
10302
11430
  labor_classification: z.ZodString;
10303
11431
  hourly_rate_cents: z.ZodString;
10304
11432
  fringe_rate_cents: z.ZodString;
@@ -10310,10 +11438,8 @@ export declare const zGetJobWageDeterminationResponse: z.ZodDiscriminatedUnion<[
10310
11438
  residential: "residential";
10311
11439
  }>;
10312
11440
  general_wage_determination: z.ZodNullable<z.ZodString>;
10313
- valid_time: z.ZodObject<{
10314
- start: z.ZodISODateTime;
10315
- end: z.ZodNullable<z.ZodISODateTime>;
10316
- }, z.core.$strip>;
11441
+ valid_from: z.ZodISODateTime;
11442
+ valid_to: z.ZodNullable<z.ZodISODateTime>;
10317
11443
  created_at: z.ZodISODateTime;
10318
11444
  updated_at: z.ZodISODateTime;
10319
11445
  type: z.ZodLiteral<"Pwa::JobWageDeterminations::Federal">;
@@ -10321,15 +11447,14 @@ export declare const zGetJobWageDeterminationResponse: z.ZodDiscriminatedUnion<[
10321
11447
  id: z.ZodString;
10322
11448
  uid: z.ZodString;
10323
11449
  job_id: z.ZodString;
11450
+ trade_id: z.ZodString;
10324
11451
  labor_classification: z.ZodString;
10325
11452
  hourly_rate_cents: z.ZodString;
10326
11453
  fringe_rate_cents: z.ZodString;
10327
11454
  general_wage_determination: z.ZodNullable<z.ZodString>;
10328
11455
  regional_fields: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
10329
- valid_time: z.ZodObject<{
10330
- start: z.ZodISODateTime;
10331
- end: z.ZodNullable<z.ZodISODateTime>;
10332
- }, z.core.$strip>;
11456
+ valid_from: z.ZodISODateTime;
11457
+ valid_to: z.ZodNullable<z.ZodISODateTime>;
10333
11458
  created_at: z.ZodISODateTime;
10334
11459
  updated_at: z.ZodISODateTime;
10335
11460
  type: z.ZodLiteral<"Pwa::JobWageDeterminations::Regional">;
@@ -11074,6 +12199,98 @@ export declare const zGetCompensationElementResponse: z.ZodObject<{
11074
12199
  created_at: z.ZodISODateTime;
11075
12200
  updated_at: z.ZodISODateTime;
11076
12201
  }, z.core.$strip>;
12202
+ export declare const zListExternalMapHistoryPath: z.ZodObject<{
12203
+ external_map_id: z.ZodString;
12204
+ }, z.core.$strip>;
12205
+ export declare const zListExternalMapHistoryQuery: z.ZodObject<{
12206
+ 'as_of[transaction]': z.ZodOptional<z.ZodISODateTime>;
12207
+ 'as_of[valid]': z.ZodOptional<z.ZodString>;
12208
+ }, z.core.$strip>;
12209
+ /**
12210
+ * Success
12211
+ */
12212
+ export declare const zListExternalMapHistoryResponse: z.ZodObject<{
12213
+ meta: z.ZodOptional<z.ZodObject<{
12214
+ page: z.ZodOptional<z.ZodObject<{
12215
+ next_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12216
+ current_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12217
+ }, z.core.$strip>>;
12218
+ }, z.core.$strip>>;
12219
+ links: z.ZodOptional<z.ZodObject<{
12220
+ self: z.ZodOptional<z.ZodString>;
12221
+ first: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12222
+ next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12223
+ }, z.core.$strip>>;
12224
+ data: z.ZodOptional<z.ZodArray<z.ZodObject<{
12225
+ id: z.ZodString;
12226
+ bitemporal_id: z.ZodString;
12227
+ name: z.ZodString;
12228
+ compensation_element_id: z.ZodString;
12229
+ compensation_element_name: z.ZodString;
12230
+ compensation_element_category: z.ZodEnum<{
12231
+ other: "other";
12232
+ tax: "tax";
12233
+ health: "health";
12234
+ retirement: "retirement";
12235
+ insurance: "insurance";
12236
+ earning: "earning";
12237
+ garnishment: "garnishment";
12238
+ }>;
12239
+ pay_period_config_uid: z.ZodNullable<z.ZodString>;
12240
+ fringe_benefit_plan_id: z.ZodNullable<z.ZodString>;
12241
+ contributor: z.ZodEnum<{
12242
+ any: "any";
12243
+ employee: "employee";
12244
+ employer: "employer";
12245
+ }>;
12246
+ annual_periods: z.ZodInt;
12247
+ created_by_user_id: z.ZodNullable<z.ZodString>;
12248
+ global: z.ZodBoolean;
12249
+ valid_from: z.ZodISODateTime;
12250
+ valid_to: z.ZodNullable<z.ZodISODateTime>;
12251
+ transaction_from: z.ZodISODateTime;
12252
+ transaction_to: z.ZodNullable<z.ZodISODateTime>;
12253
+ created_at: z.ZodISODateTime;
12254
+ updated_at: z.ZodISODateTime;
12255
+ version_status: z.ZodEnum<{
12256
+ scheduled: "scheduled";
12257
+ current: "current";
12258
+ historical: "historical";
12259
+ }>;
12260
+ corrections: z.ZodArray<z.ZodObject<{
12261
+ id: z.ZodString;
12262
+ bitemporal_id: z.ZodString;
12263
+ name: z.ZodString;
12264
+ compensation_element_id: z.ZodString;
12265
+ compensation_element_name: z.ZodString;
12266
+ compensation_element_category: z.ZodEnum<{
12267
+ other: "other";
12268
+ tax: "tax";
12269
+ health: "health";
12270
+ retirement: "retirement";
12271
+ insurance: "insurance";
12272
+ earning: "earning";
12273
+ garnishment: "garnishment";
12274
+ }>;
12275
+ pay_period_config_uid: z.ZodNullable<z.ZodString>;
12276
+ fringe_benefit_plan_id: z.ZodNullable<z.ZodString>;
12277
+ contributor: z.ZodEnum<{
12278
+ any: "any";
12279
+ employee: "employee";
12280
+ employer: "employer";
12281
+ }>;
12282
+ annual_periods: z.ZodInt;
12283
+ created_by_user_id: z.ZodNullable<z.ZodString>;
12284
+ global: z.ZodBoolean;
12285
+ valid_from: z.ZodISODateTime;
12286
+ valid_to: z.ZodNullable<z.ZodISODateTime>;
12287
+ transaction_from: z.ZodISODateTime;
12288
+ transaction_to: z.ZodNullable<z.ZodISODateTime>;
12289
+ created_at: z.ZodISODateTime;
12290
+ updated_at: z.ZodISODateTime;
12291
+ }, z.core.$strip>>;
12292
+ }, z.core.$strip>>>;
12293
+ }, z.core.$strip>;
11077
12294
  export declare const zListExternalMapsQuery: z.ZodObject<{
11078
12295
  'filter[name]': z.ZodOptional<z.ZodString>;
11079
12296
  'filter[pay_period_config_uid]': z.ZodOptional<z.ZodString>;
@@ -11130,9 +12347,9 @@ export declare const zListExternalMapsResponse: z.ZodObject<{
11130
12347
  created_by_user_id: z.ZodNullable<z.ZodString>;
11131
12348
  global: z.ZodBoolean;
11132
12349
  valid_from: z.ZodISODateTime;
11133
- valid_to: z.ZodISODateTime;
12350
+ valid_to: z.ZodNullable<z.ZodISODateTime>;
11134
12351
  transaction_from: z.ZodISODateTime;
11135
- transaction_to: z.ZodISODateTime;
12352
+ transaction_to: z.ZodNullable<z.ZodISODateTime>;
11136
12353
  created_at: z.ZodISODateTime;
11137
12354
  updated_at: z.ZodISODateTime;
11138
12355
  }, z.core.$strip>>>;
@@ -11140,6 +12357,10 @@ export declare const zListExternalMapsResponse: z.ZodObject<{
11140
12357
  export declare const zGetExternalMapPath: z.ZodObject<{
11141
12358
  id: z.ZodString;
11142
12359
  }, z.core.$strip>;
12360
+ export declare const zGetExternalMapQuery: z.ZodObject<{
12361
+ 'as_of[valid]': z.ZodOptional<z.ZodISODateTime>;
12362
+ 'as_of[transaction]': z.ZodOptional<z.ZodISODateTime>;
12363
+ }, z.core.$strip>;
11143
12364
  /**
11144
12365
  * Success
11145
12366
  */
@@ -11169,9 +12390,9 @@ export declare const zGetExternalMapResponse: z.ZodObject<{
11169
12390
  created_by_user_id: z.ZodNullable<z.ZodString>;
11170
12391
  global: z.ZodBoolean;
11171
12392
  valid_from: z.ZodISODateTime;
11172
- valid_to: z.ZodISODateTime;
12393
+ valid_to: z.ZodNullable<z.ZodISODateTime>;
11173
12394
  transaction_from: z.ZodISODateTime;
11174
- transaction_to: z.ZodISODateTime;
12395
+ transaction_to: z.ZodNullable<z.ZodISODateTime>;
11175
12396
  created_at: z.ZodISODateTime;
11176
12397
  updated_at: z.ZodISODateTime;
11177
12398
  }, z.core.$strip>;
@@ -14035,6 +15256,94 @@ export declare const zUpdateTimeEntryResponse: z.ZodObject<{
14035
15256
  }, z.core.$strip>>;
14036
15257
  total_hours: z.ZodNumber;
14037
15258
  }, z.core.$strip>;
15259
+ export declare const zListTimecodeHistoryPath: z.ZodObject<{
15260
+ timecode_id: z.ZodString;
15261
+ }, z.core.$strip>;
15262
+ export declare const zListTimecodeHistoryQuery: z.ZodObject<{
15263
+ 'as_of[transaction]': z.ZodOptional<z.ZodISODateTime>;
15264
+ 'as_of[valid]': z.ZodOptional<z.ZodString>;
15265
+ }, z.core.$strip>;
15266
+ /**
15267
+ * Success
15268
+ */
15269
+ export declare const zListTimecodeHistoryResponse: z.ZodObject<{
15270
+ meta: z.ZodOptional<z.ZodObject<{
15271
+ page: z.ZodOptional<z.ZodObject<{
15272
+ next_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15273
+ current_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15274
+ }, z.core.$strip>>;
15275
+ }, z.core.$strip>>;
15276
+ links: z.ZodOptional<z.ZodObject<{
15277
+ self: z.ZodOptional<z.ZodString>;
15278
+ first: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15279
+ next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15280
+ }, z.core.$strip>>;
15281
+ data: z.ZodOptional<z.ZodArray<z.ZodObject<{
15282
+ id: z.ZodString;
15283
+ name: z.ZodString;
15284
+ description: z.ZodNullable<z.ZodString>;
15285
+ description_is_required: z.ZodBoolean;
15286
+ billable: z.ZodBoolean;
15287
+ overtime_eligible: z.ZodBoolean;
15288
+ unpaid: z.ZodBoolean;
15289
+ holiday: z.ZodBoolean;
15290
+ pto: z.ZodBoolean;
15291
+ safety: z.ZodBoolean;
15292
+ lunch_shortcut: z.ZodBoolean;
15293
+ break_shortcut: z.ZodBoolean;
15294
+ pwa: z.ZodBoolean;
15295
+ rest_and_recovery: z.ZodBoolean;
15296
+ incentive_pay_eligible: z.ZodBoolean;
15297
+ restricted_to: z.ZodEnum<{
15298
+ none: "none";
15299
+ job: "job";
15300
+ non_job: "non_job";
15301
+ job_with_timecode: "job_with_timecode";
15302
+ }>;
15303
+ default_for_company_id: z.ZodNullable<z.ZodString>;
15304
+ valid_from: z.ZodISODateTime;
15305
+ valid_to: z.ZodNullable<z.ZodISODateTime>;
15306
+ transaction_from: z.ZodISODateTime;
15307
+ transaction_to: z.ZodNullable<z.ZodISODateTime>;
15308
+ created_at: z.ZodISODateTime;
15309
+ updated_at: z.ZodISODateTime;
15310
+ version_status: z.ZodEnum<{
15311
+ scheduled: "scheduled";
15312
+ current: "current";
15313
+ historical: "historical";
15314
+ }>;
15315
+ corrections: z.ZodArray<z.ZodObject<{
15316
+ id: z.ZodString;
15317
+ name: z.ZodString;
15318
+ description: z.ZodNullable<z.ZodString>;
15319
+ description_is_required: z.ZodBoolean;
15320
+ billable: z.ZodBoolean;
15321
+ overtime_eligible: z.ZodBoolean;
15322
+ unpaid: z.ZodBoolean;
15323
+ holiday: z.ZodBoolean;
15324
+ pto: z.ZodBoolean;
15325
+ safety: z.ZodBoolean;
15326
+ lunch_shortcut: z.ZodBoolean;
15327
+ break_shortcut: z.ZodBoolean;
15328
+ pwa: z.ZodBoolean;
15329
+ rest_and_recovery: z.ZodBoolean;
15330
+ incentive_pay_eligible: z.ZodBoolean;
15331
+ restricted_to: z.ZodEnum<{
15332
+ none: "none";
15333
+ job: "job";
15334
+ non_job: "non_job";
15335
+ job_with_timecode: "job_with_timecode";
15336
+ }>;
15337
+ default_for_company_id: z.ZodNullable<z.ZodString>;
15338
+ valid_from: z.ZodISODateTime;
15339
+ valid_to: z.ZodNullable<z.ZodISODateTime>;
15340
+ transaction_from: z.ZodISODateTime;
15341
+ transaction_to: z.ZodNullable<z.ZodISODateTime>;
15342
+ created_at: z.ZodISODateTime;
15343
+ updated_at: z.ZodISODateTime;
15344
+ }, z.core.$strip>>;
15345
+ }, z.core.$strip>>>;
15346
+ }, z.core.$strip>;
14038
15347
  export declare const zCancelTimecodeScheduledChangesPath: z.ZodObject<{
14039
15348
  timecode_id: z.ZodString;
14040
15349
  }, z.core.$strip>;
@@ -14065,7 +15374,9 @@ export declare const zCancelTimecodeScheduledChangesResponse: z.ZodObject<{
14065
15374
  }>;
14066
15375
  default_for_company_id: z.ZodNullable<z.ZodString>;
14067
15376
  valid_from: z.ZodISODateTime;
14068
- valid_to: z.ZodISODateTime;
15377
+ valid_to: z.ZodNullable<z.ZodISODateTime>;
15378
+ transaction_from: z.ZodISODateTime;
15379
+ transaction_to: z.ZodNullable<z.ZodISODateTime>;
14069
15380
  created_at: z.ZodISODateTime;
14070
15381
  updated_at: z.ZodISODateTime;
14071
15382
  }, z.core.$strip>;
@@ -14099,7 +15410,9 @@ export declare const zListTimecodeScheduledChangesResponse: z.ZodArray<z.ZodObje
14099
15410
  }>;
14100
15411
  default_for_company_id: z.ZodNullable<z.ZodString>;
14101
15412
  valid_from: z.ZodISODateTime;
14102
- valid_to: z.ZodISODateTime;
15413
+ valid_to: z.ZodNullable<z.ZodISODateTime>;
15414
+ transaction_from: z.ZodISODateTime;
15415
+ transaction_to: z.ZodNullable<z.ZodISODateTime>;
14103
15416
  created_at: z.ZodISODateTime;
14104
15417
  updated_at: z.ZodISODateTime;
14105
15418
  }, z.core.$strip>>;
@@ -14156,7 +15469,9 @@ export declare const zScheduleTimecodeChangeResponse: z.ZodObject<{
14156
15469
  }>;
14157
15470
  default_for_company_id: z.ZodNullable<z.ZodString>;
14158
15471
  valid_from: z.ZodISODateTime;
14159
- valid_to: z.ZodISODateTime;
15472
+ valid_to: z.ZodNullable<z.ZodISODateTime>;
15473
+ transaction_from: z.ZodISODateTime;
15474
+ transaction_to: z.ZodNullable<z.ZodISODateTime>;
14160
15475
  created_at: z.ZodISODateTime;
14161
15476
  updated_at: z.ZodISODateTime;
14162
15477
  }, z.core.$strip>;
@@ -14190,7 +15505,9 @@ export declare const zCancelTimecodeScheduledTerminationResponse: z.ZodObject<{
14190
15505
  }>;
14191
15506
  default_for_company_id: z.ZodNullable<z.ZodString>;
14192
15507
  valid_from: z.ZodISODateTime;
14193
- valid_to: z.ZodISODateTime;
15508
+ valid_to: z.ZodNullable<z.ZodISODateTime>;
15509
+ transaction_from: z.ZodISODateTime;
15510
+ transaction_to: z.ZodNullable<z.ZodISODateTime>;
14194
15511
  created_at: z.ZodISODateTime;
14195
15512
  updated_at: z.ZodISODateTime;
14196
15513
  }, z.core.$strip>;
@@ -14249,7 +15566,9 @@ export declare const zListTimecodesResponse: z.ZodObject<{
14249
15566
  }>;
14250
15567
  default_for_company_id: z.ZodNullable<z.ZodString>;
14251
15568
  valid_from: z.ZodISODateTime;
14252
- valid_to: z.ZodISODateTime;
15569
+ valid_to: z.ZodNullable<z.ZodISODateTime>;
15570
+ transaction_from: z.ZodISODateTime;
15571
+ transaction_to: z.ZodNullable<z.ZodISODateTime>;
14253
15572
  created_at: z.ZodISODateTime;
14254
15573
  updated_at: z.ZodISODateTime;
14255
15574
  }, z.core.$strip>>>;
@@ -14304,7 +15623,9 @@ export declare const zCreateTimecodeResponse: z.ZodObject<{
14304
15623
  }>;
14305
15624
  default_for_company_id: z.ZodNullable<z.ZodString>;
14306
15625
  valid_from: z.ZodISODateTime;
14307
- valid_to: z.ZodISODateTime;
15626
+ valid_to: z.ZodNullable<z.ZodISODateTime>;
15627
+ transaction_from: z.ZodISODateTime;
15628
+ transaction_to: z.ZodNullable<z.ZodISODateTime>;
14308
15629
  created_at: z.ZodISODateTime;
14309
15630
  updated_at: z.ZodISODateTime;
14310
15631
  }, z.core.$strip>;
@@ -14341,13 +15662,19 @@ export declare const zTerminateTimecodeResponse: z.ZodObject<{
14341
15662
  }>;
14342
15663
  default_for_company_id: z.ZodNullable<z.ZodString>;
14343
15664
  valid_from: z.ZodISODateTime;
14344
- valid_to: z.ZodISODateTime;
15665
+ valid_to: z.ZodNullable<z.ZodISODateTime>;
15666
+ transaction_from: z.ZodISODateTime;
15667
+ transaction_to: z.ZodNullable<z.ZodISODateTime>;
14345
15668
  created_at: z.ZodISODateTime;
14346
15669
  updated_at: z.ZodISODateTime;
14347
15670
  }, z.core.$strip>;
14348
15671
  export declare const zGetTimecodePath: z.ZodObject<{
14349
15672
  id: z.ZodString;
14350
15673
  }, z.core.$strip>;
15674
+ export declare const zGetTimecodeQuery: z.ZodObject<{
15675
+ 'as_of[valid]': z.ZodOptional<z.ZodISODateTime>;
15676
+ 'as_of[transaction]': z.ZodOptional<z.ZodISODateTime>;
15677
+ }, z.core.$strip>;
14351
15678
  /**
14352
15679
  * Success
14353
15680
  */
@@ -14375,7 +15702,9 @@ export declare const zGetTimecodeResponse: z.ZodObject<{
14375
15702
  }>;
14376
15703
  default_for_company_id: z.ZodNullable<z.ZodString>;
14377
15704
  valid_from: z.ZodISODateTime;
14378
- valid_to: z.ZodISODateTime;
15705
+ valid_to: z.ZodNullable<z.ZodISODateTime>;
15706
+ transaction_from: z.ZodISODateTime;
15707
+ transaction_to: z.ZodNullable<z.ZodISODateTime>;
14379
15708
  created_at: z.ZodISODateTime;
14380
15709
  updated_at: z.ZodISODateTime;
14381
15710
  }, z.core.$strip>;
@@ -14432,7 +15761,9 @@ export declare const zUpdateTimecodeResponse: z.ZodObject<{
14432
15761
  }>;
14433
15762
  default_for_company_id: z.ZodNullable<z.ZodString>;
14434
15763
  valid_from: z.ZodISODateTime;
14435
- valid_to: z.ZodISODateTime;
15764
+ valid_to: z.ZodNullable<z.ZodISODateTime>;
15765
+ transaction_from: z.ZodISODateTime;
15766
+ transaction_to: z.ZodNullable<z.ZodISODateTime>;
14436
15767
  created_at: z.ZodISODateTime;
14437
15768
  updated_at: z.ZodISODateTime;
14438
15769
  }, z.core.$strip>;
@@ -14754,6 +16085,113 @@ export declare const zGetAttestationConfigResponse: z.ZodObject<{
14754
16085
  created_at: z.ZodISODateTime;
14755
16086
  updated_at: z.ZodISODateTime;
14756
16087
  }, z.core.$strip>;
16088
+ export declare const zListPayPeriodConfigHistoryPath: z.ZodObject<{
16089
+ pay_period_config_uid: z.ZodString;
16090
+ }, z.core.$strip>;
16091
+ export declare const zListPayPeriodConfigHistoryQuery: z.ZodObject<{
16092
+ 'as_of[valid]': z.ZodOptional<z.ZodString>;
16093
+ }, z.core.$strip>;
16094
+ /**
16095
+ * Success
16096
+ */
16097
+ export declare const zListPayPeriodConfigHistoryResponse: z.ZodObject<{
16098
+ meta: z.ZodOptional<z.ZodObject<{
16099
+ page: z.ZodOptional<z.ZodObject<{
16100
+ next_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16101
+ current_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16102
+ }, z.core.$strip>>;
16103
+ }, z.core.$strip>>;
16104
+ links: z.ZodOptional<z.ZodObject<{
16105
+ self: z.ZodOptional<z.ZodString>;
16106
+ first: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16107
+ next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16108
+ }, z.core.$strip>>;
16109
+ data: z.ZodOptional<z.ZodArray<z.ZodObject<{
16110
+ uid: z.ZodString;
16111
+ company_id: z.ZodString;
16112
+ name: z.ZodString;
16113
+ frequency: z.ZodEnum<{
16114
+ weekly: "weekly";
16115
+ biweekly: "biweekly";
16116
+ }>;
16117
+ start_day_of_week: z.ZodInt;
16118
+ tz_name: z.ZodString;
16119
+ currency: z.ZodString;
16120
+ status: z.ZodEnum<{
16121
+ pending: "pending";
16122
+ failed: "failed";
16123
+ synced: "synced";
16124
+ }>;
16125
+ payroll_mode: z.ZodEnum<{
16126
+ none: "none";
16127
+ base: "base";
16128
+ aggregate: "aggregate";
16129
+ }>;
16130
+ time_mode: z.ZodEnum<{
16131
+ none: "none";
16132
+ base: "base";
16133
+ aggregate: "aggregate";
16134
+ }>;
16135
+ payroll_system: z.ZodEnum<{
16136
+ rippling: "rippling";
16137
+ quickbooks_online: "quickbooks_online";
16138
+ paychex: "paychex";
16139
+ gusto: "gusto";
16140
+ }>;
16141
+ actuals_enabled: z.ZodNullable<z.ZodBoolean>;
16142
+ requires_external_map_contributor: z.ZodBoolean;
16143
+ is_paid_after_holiday: z.ZodBoolean;
16144
+ is_demo: z.ZodNullable<z.ZodBoolean>;
16145
+ valid_from: z.ZodISODateTime;
16146
+ valid_to: z.ZodNullable<z.ZodISODateTime>;
16147
+ created_at: z.ZodISODateTime;
16148
+ version_status: z.ZodEnum<{
16149
+ scheduled: "scheduled";
16150
+ current: "current";
16151
+ historical: "historical";
16152
+ }>;
16153
+ corrections: z.ZodArray<z.ZodObject<{
16154
+ uid: z.ZodString;
16155
+ company_id: z.ZodString;
16156
+ name: z.ZodString;
16157
+ frequency: z.ZodEnum<{
16158
+ weekly: "weekly";
16159
+ biweekly: "biweekly";
16160
+ }>;
16161
+ start_day_of_week: z.ZodInt;
16162
+ tz_name: z.ZodString;
16163
+ currency: z.ZodString;
16164
+ status: z.ZodEnum<{
16165
+ pending: "pending";
16166
+ failed: "failed";
16167
+ synced: "synced";
16168
+ }>;
16169
+ payroll_mode: z.ZodEnum<{
16170
+ none: "none";
16171
+ base: "base";
16172
+ aggregate: "aggregate";
16173
+ }>;
16174
+ time_mode: z.ZodEnum<{
16175
+ none: "none";
16176
+ base: "base";
16177
+ aggregate: "aggregate";
16178
+ }>;
16179
+ payroll_system: z.ZodEnum<{
16180
+ rippling: "rippling";
16181
+ quickbooks_online: "quickbooks_online";
16182
+ paychex: "paychex";
16183
+ gusto: "gusto";
16184
+ }>;
16185
+ actuals_enabled: z.ZodNullable<z.ZodBoolean>;
16186
+ requires_external_map_contributor: z.ZodBoolean;
16187
+ is_paid_after_holiday: z.ZodBoolean;
16188
+ is_demo: z.ZodNullable<z.ZodBoolean>;
16189
+ valid_from: z.ZodISODateTime;
16190
+ valid_to: z.ZodNullable<z.ZodISODateTime>;
16191
+ created_at: z.ZodISODateTime;
16192
+ }, z.core.$strip>>;
16193
+ }, z.core.$strip>>>;
16194
+ }, z.core.$strip>;
14757
16195
  export declare const zListHolidaysPath: z.ZodObject<{
14758
16196
  pay_period_config_uid: z.ZodString;
14759
16197
  }, z.core.$strip>;
@@ -14993,6 +16431,9 @@ export declare const zListPayPeriodConfigsResponse: z.ZodObject<{
14993
16431
  export declare const zGetPayPeriodConfigPath: z.ZodObject<{
14994
16432
  uid: z.ZodString;
14995
16433
  }, z.core.$strip>;
16434
+ export declare const zGetPayPeriodConfigQuery: z.ZodObject<{
16435
+ 'as_of[valid]': z.ZodOptional<z.ZodISODateTime>;
16436
+ }, z.core.$strip>;
14996
16437
  /**
14997
16438
  * Success
14998
16439
  */