@dsptch-work/api-client 0.31.0 → 0.32.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.
@@ -163,6 +163,12 @@ export declare const zProblem: z.ZodObject<{
163
163
  *
164
164
  * ## 409
165
165
  *
166
+ * ### already_subscribed
167
+ *
168
+ * **Already Subscribed**
169
+ *
170
+ * The user already holds this subscription, with other delivery methods than the request names. Subscribing again never changes a held subscription: delete it, then subscribe with the delivery methods you want.
171
+ *
166
172
  * ### already_terminated
167
173
  *
168
174
  * **Termination Already Scheduled**
@@ -379,6 +385,7 @@ export declare const zProblemTypeCatalog: z.ZodEnum<{
379
385
  insufficient_api_key_scope: "insufficient_api_key_scope";
380
386
  user_scoped_key_required: "user_scoped_key_required";
381
387
  not_found: "not_found";
388
+ already_subscribed: "already_subscribed";
382
389
  already_terminated: "already_terminated";
383
390
  import_in_progress: "import_in_progress";
384
391
  pay_schedule_already_exists: "pay_schedule_already_exists";
@@ -730,11 +737,11 @@ export declare const zApprenticeshipAllocationResponseObject: z.ZodObject<{
730
737
  * Record hours toward an apprentice's wage progression. Creation requires a user-scoped API key, since the row attributes the hours to the person who recorded them. Omit timekeeping_time_card_id for a standalone allocation entered outside the time card system, or supply it to link the allocation to one of the apprentice's own time cards; the effective timestamp then derives from the card's pay period and cannot be overridden. Recording the allocation rebuilds progression and requests wage repricing in the background.
731
738
  */
732
739
  export declare const zApprenticeshipAllocationCreateParameters: z.ZodObject<{
733
- apprenticeship_work_process_category_id: z.ZodOptional<z.ZodString>;
734
- timekeeping_time_card_id: z.ZodOptional<z.ZodString>;
740
+ timekeeping_time_card_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
741
+ apprenticeship_work_process_category_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
735
742
  minutes: z.ZodInt;
736
- description: z.ZodOptional<z.ZodString>;
737
- allocated_at: z.ZodOptional<z.ZodISODateTime>;
743
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
744
+ allocated_at: z.ZodOptional<z.ZodString>;
738
745
  }, z.core.$strip>;
739
746
  /**
740
747
  * Correct an existing allocation's hours, work process category, description, or (for a standalone allocation) effective timestamp. The time card an allocation is linked to cannot be changed after creation. Any change that shifts progression rebuilds it and requests historical wage repricing in the background, including locked time cards.
@@ -743,10 +750,10 @@ export declare const zApprenticeshipAllocationUpdateParameters: z.ZodObject<{
743
750
  apprenticeship_work_process_category_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
744
751
  minutes: z.ZodOptional<z.ZodInt>;
745
752
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
746
- allocated_at: z.ZodOptional<z.ZodISODateTime>;
753
+ allocated_at: z.ZodOptional<z.ZodString>;
747
754
  }, z.core.$strip>;
748
755
  /**
749
- * Enroll a user as an apprentice under an employer in a program; the employing program-employer record is derived from the enrolling company and the program in the URL path. Apprentices cannot be updated through the API, only created.
756
+ * Enroll a user as an apprentice under an employer in a program; the employing program-employer record is derived from the enrolling company and the program in the URL path. Apprentices cannot be updated through the API, only created. Omitting a required field answers 400; a null for a non-nullable field, a blank ID, a wrong JSON type, an unlisted status, or a date that is not a YYYY-MM-DD calendar date answers 422.
750
757
  */
751
758
  export declare const zApprenticeshipApprenticeParameters: z.ZodObject<{
752
759
  apprenticeship_wage_schedule_id: z.ZodString;
@@ -768,7 +775,7 @@ export declare const zApprenticeshipApprenticeParameters: z.ZodObject<{
768
775
  operative_end_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
769
776
  }, z.core.$strip>;
770
777
  /**
771
- * Create an apprenticeship program sponsored by your company; the sponsor is always your company and is never taken from the request body.
778
+ * Create an apprenticeship program sponsored by your company; the sponsor is always your company and is never taken from the request body. Omitting program_number answers 400; a null for a non-nullable field, a wrong JSON type, or an unlisted registration_agency_type answers 422.
772
779
  */
773
780
  export declare const zApprenticeshipProgramParameters: z.ZodObject<{
774
781
  program_number: z.ZodString;
@@ -781,7 +788,7 @@ export declare const zApprenticeshipProgramParameters: z.ZodObject<{
781
788
  }>>>;
782
789
  }, z.core.$strip>;
783
790
  /**
784
- * Update an apprenticeship program sponsored by your company. Send only the fields to change; the sponsor is fixed to your company.
791
+ * Update an apprenticeship program sponsored by your company. Send only the fields to change; the sponsor is fixed to your company. A null for a non-nullable field, a wrong JSON type, or an unlisted registration_agency_type answers 422.
785
792
  */
786
793
  export declare const zApprenticeshipProgramUpdateParameters: z.ZodObject<{
787
794
  program_number: z.ZodOptional<z.ZodString>;
@@ -794,7 +801,7 @@ export declare const zApprenticeshipProgramUpdateParameters: z.ZodObject<{
794
801
  }>>>;
795
802
  }, z.core.$strip>;
796
803
  /**
797
- * Create an occupation (trade) within a sponsored program; the program is taken from the URL path.
804
+ * Create an occupation (trade) within a sponsored program; the program is taken from the URL path. Omitting a required field answers 400; a null for a non-nullable field, a wrong JSON type, or an unlisted occupation_type answers 422.
798
805
  */
799
806
  export declare const zApprenticeshipOccupationParameters: z.ZodObject<{
800
807
  rapids_code: z.ZodString;
@@ -812,7 +819,7 @@ export declare const zApprenticeshipOccupationParameters: z.ZodObject<{
812
819
  num_journeyworkers: z.ZodInt;
813
820
  }, z.core.$strip>;
814
821
  /**
815
- * Update an occupation (trade) within a sponsored program. Send only the fields to change; the program is taken from the URL path.
822
+ * Update an occupation (trade) within a sponsored program. Send only the fields to change; the program is taken from the URL path. A null for a non-nullable field, a wrong JSON type, or an unlisted occupation_type answers 422.
816
823
  */
817
824
  export declare const zApprenticeshipOccupationUpdateParameters: z.ZodObject<{
818
825
  rapids_code: z.ZodOptional<z.ZodString>;
@@ -1077,6 +1084,7 @@ export declare const zPeopleEmploymentCreateParameters: z.ZodObject<{
1077
1084
  * Request body for creating one employment boundary. effective_date is required and is interpreted at midnight in the credential company's time zone. Today and past dates must fall inside the family's latest version, before its termination; future dates retain scheduling behavior. Send at least one value to change; omitted values carry forward from the version immediately before the new boundary.
1078
1085
  */
1079
1086
  export declare const zPeopleEmploymentScheduledChangeCreateParameters: z.ZodObject<{
1087
+ effective_date: z.ZodISODate;
1080
1088
  compensation_type: z.ZodOptional<z.ZodEnum<{
1081
1089
  hourly: "hourly";
1082
1090
  salary: "salary";
@@ -1092,7 +1100,6 @@ export declare const zPeopleEmploymentScheduledChangeCreateParameters: z.ZodObje
1092
1100
  employer_combined_health_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1093
1101
  employer_combined_savings_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1094
1102
  companies_department_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1095
- effective_date: z.ZodISODate;
1096
1103
  }, z.core.$strip>;
1097
1104
  /**
1098
1105
  * Request body for changing values at one exact employment boundary. Today and past dates must name the latest version's start; future exact boundaries remain editable. Send only the fields to change; omitted values remain as recorded at that boundary. The boundary date cannot move.
@@ -1118,7 +1125,7 @@ export declare const zPeopleEmploymentScheduledChangeUpdateParameters: z.ZodObje
1118
1125
  * Parameters for moving where an employment stint's valid-time timeline begins.
1119
1126
  */
1120
1127
  export declare const zPeopleEmploymentGenesisParameters: z.ZodObject<{
1121
- effective_date: z.ZodOptional<z.ZodISODate>;
1128
+ effective_date: z.ZodISODate;
1122
1129
  }, z.core.$strip>;
1123
1130
  /**
1124
1131
  * Parameters for scheduling when an employment stint stops being valid.
@@ -1462,7 +1469,7 @@ export declare const zPerDiemResponseObject: z.ZodObject<{
1462
1469
  updated_at: z.ZodISODateTime;
1463
1470
  }, z.core.$strip>;
1464
1471
  /**
1465
- * Request body for creating a per diem. name, currency, and rate_cents are required.
1472
+ * Request body for creating a per diem. Send fields in JSON; the per diem belongs to the company that owns the API key. name, currency, and rate_cents are required.
1466
1473
  */
1467
1474
  export declare const zPerDiemParameters: z.ZodObject<{
1468
1475
  name: z.ZodString;
@@ -1476,7 +1483,7 @@ export declare const zPerDiemParameters: z.ZodObject<{
1476
1483
  timekeeping_timecode_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
1477
1484
  }, z.core.$strip>;
1478
1485
  /**
1479
- * Request body for updating a per diem. Send only the fields to change.
1486
+ * Request body for updating a per diem. Send only fields to change in JSON; omitted fields remain unchanged.
1480
1487
  */
1481
1488
  export declare const zPerDiemUpdateParameters: z.ZodObject<{
1482
1489
  name: z.ZodOptional<z.ZodString>;
@@ -1661,7 +1668,7 @@ export declare const zTimeCardPerDiemResponseObject: z.ZodObject<{
1661
1668
  export declare const zTimeCardPerDiemParameters: z.ZodObject<{
1662
1669
  date: z.ZodISODate;
1663
1670
  approver_user_id: z.ZodString;
1664
- per_diem_id: z.ZodOptional<z.ZodString>;
1671
+ per_diem_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1665
1672
  }, z.core.$strip>;
1666
1673
  /**
1667
1674
  * Request body for updating a per diem recorded on a time card. Send only the fields to change; the time card comes from the URL path.
@@ -1669,7 +1676,7 @@ export declare const zTimeCardPerDiemParameters: z.ZodObject<{
1669
1676
  export declare const zTimeCardPerDiemUpdateParameters: z.ZodObject<{
1670
1677
  date: z.ZodOptional<z.ZodISODate>;
1671
1678
  approver_user_id: z.ZodOptional<z.ZodString>;
1672
- per_diem_id: z.ZodOptional<z.ZodString>;
1679
+ per_diem_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1673
1680
  }, z.core.$strip>;
1674
1681
  /**
1675
1682
  * A holiday on a pay schedule's holiday calendar — a fixed (month + day) or floating (nth weekday of a month) date that gets holiday-pay treatment when a time entry's timecode opts into holiday handling.
@@ -1727,15 +1734,15 @@ export declare const zPayPeriodConfigParameters: z.ZodObject<{
1727
1734
  }>;
1728
1735
  start_day_of_week: z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>, z.ZodLiteral<6>]>;
1729
1736
  tz_name: z.ZodString;
1730
- currency: z.ZodDefault<z.ZodOptional<z.ZodString>>;
1731
- rounding_interval: z.ZodDefault<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<15>]>>>;
1737
+ currency: z.ZodOptional<z.ZodString>;
1738
+ rounding_interval: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<15>]>>;
1732
1739
  payroll_system: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1733
1740
  rippling: "rippling";
1734
1741
  quickbooks_online: "quickbooks_online";
1735
1742
  paychex: "paychex";
1736
1743
  gusto: "gusto";
1737
1744
  }>>>;
1738
- paid_after_holiday: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1745
+ paid_after_holiday: z.ZodOptional<z.ZodBoolean>;
1739
1746
  arrear_days: z.ZodInt;
1740
1747
  pay_run_deadline_days: z.ZodInt;
1741
1748
  pay_run_deadline_clock_time: z.ZodString;
@@ -1912,16 +1919,16 @@ export declare const zPayPeriodConfigHistoryVersionObject: z.ZodObject<{
1912
1919
  }, z.core.$strip>>;
1913
1920
  }, z.core.$strip>;
1914
1921
  /**
1915
- * Create 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.
1922
+ * Create a holiday on a pay schedule. name is required. Send date alone for a fixed holiday on that date, or holiday_type and month with mday (fixed) or wday + week (floating).
1916
1923
  */
1917
1924
  export declare const zHolidayParameters: z.ZodObject<{
1918
1925
  name: z.ZodString;
1919
1926
  date: z.ZodOptional<z.ZodISODate>;
1920
- holiday_type: z.ZodEnum<{
1927
+ holiday_type: z.ZodOptional<z.ZodEnum<{
1921
1928
  fixed: "fixed";
1922
1929
  floating: "floating";
1923
- }>;
1924
- month: z.ZodInt;
1930
+ }>>;
1931
+ month: z.ZodOptional<z.ZodInt>;
1925
1932
  mday: z.ZodOptional<z.ZodInt>;
1926
1933
  wday: z.ZodOptional<z.ZodInt>;
1927
1934
  week: z.ZodOptional<z.ZodInt>;
@@ -2289,19 +2296,19 @@ export declare const zPwaTradeApprenticeshipOccupationResponseObject: z.ZodObjec
2289
2296
  */
2290
2297
  export declare const zPwaTradeApprenticeshipOccupationCreateParameters: z.ZodObject<{
2291
2298
  apprenticeship_occupation_id: z.ZodString;
2292
- scope_status: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
2299
+ scope_status: z.ZodOptional<z.ZodEnum<{
2293
2300
  in_scope: "in_scope";
2294
2301
  out_of_scope: "out_of_scope";
2295
- }>>>;
2302
+ }>>;
2296
2303
  }, z.core.$strip>;
2297
2304
  /**
2298
2305
  * Parameters for flipping an existing apprentice-scope decision's verdict.
2299
2306
  */
2300
2307
  export declare const zPwaTradeApprenticeshipOccupationUpdateParameters: z.ZodObject<{
2301
- scope_status: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
2308
+ scope_status: z.ZodOptional<z.ZodEnum<{
2302
2309
  in_scope: "in_scope";
2303
2310
  out_of_scope: "out_of_scope";
2304
- }>>>;
2311
+ }>>;
2305
2312
  }, z.core.$strip>;
2306
2313
  /**
2307
2314
  * Prevailing-wage / apprenticeship (PWA) compliance details for a job, used in certified-payroll reporting. Common fields are always present when this object exists; regional fields appear only when applicable to the job's region and regional PWA mode. The property is null when no PWA details have been configured; PWA tracking modes alone do not materialize it.
@@ -2522,7 +2529,7 @@ export declare const zFormSubmissionResponseObject: z.ZodObject<{
2522
2529
  * 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.
2523
2530
  */
2524
2531
  export declare const zUserCompanyScheduledChangesParameters: z.ZodObject<{
2525
- effective_date: z.ZodString;
2532
+ effective_date: z.ZodISODate;
2526
2533
  hourly_rate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2527
2534
  compensation_type: z.ZodOptional<z.ZodEnum<{
2528
2535
  hourly: "hourly";
@@ -2625,63 +2632,10 @@ export declare const zCompanyResponseObject: z.ZodObject<{
2625
2632
  created_at: z.ZodISODateTime;
2626
2633
  updated_at: z.ZodISODateTime;
2627
2634
  }, z.core.$strip>;
2628
- export declare const zCompanyParameters: z.ZodIntersection<z.ZodUnion<readonly [z.ZodObject<{
2629
- name: z.ZodString;
2630
- }, z.core.$strip>, z.ZodObject<{
2631
- legal_name: z.ZodNullable<z.ZodString>;
2632
- }, z.core.$strip>, z.ZodObject<{
2633
- description: z.ZodNullable<z.ZodString>;
2634
- }, z.core.$strip>, z.ZodObject<{
2635
- address: z.ZodNullable<z.ZodString>;
2636
- }, z.core.$strip>, z.ZodObject<{
2637
- website: z.ZodNullable<z.ZodString>;
2638
- }, z.core.$strip>, z.ZodObject<{
2639
- phone_number: z.ZodNullable<z.ZodString>;
2640
- }, z.core.$strip>, z.ZodObject<{
2641
- email: z.ZodNullable<z.ZodString>;
2642
- }, z.core.$strip>, z.ZodObject<{
2643
- color_hex: z.ZodString;
2644
- }, z.core.$strip>, z.ZodObject<{
2645
- tagline: z.ZodNullable<z.ZodString>;
2646
- }, z.core.$strip>, z.ZodObject<{
2647
- founding_year: z.ZodNullable<z.ZodInt>;
2648
- }, z.core.$strip>, z.ZodObject<{
2649
- corporate_structure: z.ZodNullable<z.ZodEnum<{
2650
- corporation: "corporation";
2651
- llc: "llc";
2652
- partnership: "partnership";
2653
- sole_proprietorship: "sole_proprietorship";
2654
- s_corporation: "s_corporation";
2655
- }>>;
2656
- }, z.core.$strip>, z.ZodObject<{
2657
- employee_count_range: z.ZodNullable<z.ZodEnum<{
2658
- one_to_ten: "one_to_ten";
2659
- eleven_to_fifty: "eleven_to_fifty";
2660
- fifty_one_to_two_hundred: "fifty_one_to_two_hundred";
2661
- two_hundred_one_to_five_hundred: "two_hundred_one_to_five_hundred";
2662
- five_hundred_one_to_one_thousand: "five_hundred_one_to_one_thousand";
2663
- one_thousand_one_to_five_thousand: "one_thousand_one_to_five_thousand";
2664
- five_thousand_one_to_ten_thousand: "five_thousand_one_to_ten_thousand";
2665
- ten_thousand_one_plus: "ten_thousand_one_plus";
2666
- }>>;
2667
- }, z.core.$strip>, z.ZodObject<{
2668
- revenue_range: z.ZodNullable<z.ZodEnum<{
2669
- zero_to_one_million: "zero_to_one_million";
2670
- one_to_ten_million: "one_to_ten_million";
2671
- ten_to_twenty_five_million: "ten_to_twenty_five_million";
2672
- twenty_five_to_fifty_million: "twenty_five_to_fifty_million";
2673
- fifty_to_one_hundred_million: "fifty_to_one_hundred_million";
2674
- one_hundred_to_two_fifty_million: "one_hundred_to_two_fifty_million";
2675
- two_fifty_to_five_hundred_million: "two_fifty_to_five_hundred_million";
2676
- five_hundred_to_one_billion: "five_hundred_to_one_billion";
2677
- one_billion_to_ten_billion: "one_billion_to_ten_billion";
2678
- ten_billion_plus: "ten_billion_plus";
2679
- }>>;
2680
- }, z.core.$strip>, z.ZodObject<{
2681
- naics_code: z.ZodNullable<z.ZodString>;
2682
- }, z.core.$strip>, z.ZodObject<{
2683
- linkedin_url: z.ZodNullable<z.ZodString>;
2684
- }, z.core.$strip>]>, z.ZodObject<{
2635
+ /**
2636
+ * Request body for updating your own company's public profile. Send only fields to change in JSON; omitted fields remain unchanged. A value of the wrong JSON type, or null for a field that does not take it, answers 422. Other company settings are edited in the web app.
2637
+ */
2638
+ export declare const zCompanyParameters: z.ZodObject<{
2685
2639
  name: z.ZodOptional<z.ZodString>;
2686
2640
  legal_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2687
2641
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -2723,7 +2677,7 @@ export declare const zCompanyParameters: z.ZodIntersection<z.ZodUnion<readonly [
2723
2677
  }>>>;
2724
2678
  naics_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2725
2679
  linkedin_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2726
- }, z.core.$strip>>;
2680
+ }, z.core.$strip>;
2727
2681
  /**
2728
2682
  * A custom-field value stored on a record, addressed by the configuration it belongs to.
2729
2683
  */
@@ -2745,7 +2699,7 @@ export declare const zCustomFieldConfigsResponseObject: z.ZodObject<{
2745
2699
  updated_at: z.ZodISODateTime;
2746
2700
  }, z.core.$strip>;
2747
2701
  /**
2748
- * Request body for creating a custom field definition. `name` and `model_type` are required.
2702
+ * Request body for creating a custom field definition; it belongs to the company that owns the API key. `name` and `model_type` are required, and omitting either answers 400.
2749
2703
  */
2750
2704
  export declare const zCustomFieldConfigParameters: z.ZodObject<{
2751
2705
  name: z.ZodString;
@@ -3116,7 +3070,7 @@ export declare const zUserCompanyScheduledChangesResponse: z.ZodObject<{
3116
3070
  * Request body for scheduling the end of a worker's employment at your company. Sets the employment's end date; cancel the scheduled termination to restore open-ended employment. Deleting the employment record instead (DELETE on the membership) removes it entirely and is not reversible.
3117
3071
  */
3118
3072
  export declare const zUserCompanyScheduledTerminationParameters: z.ZodObject<{
3119
- termination_date: z.ZodString;
3073
+ termination_date: z.ZodISODate;
3120
3074
  }, z.core.$strip>;
3121
3075
  /**
3122
3076
  * One problem found while processing an accepted import, whatever its type.
@@ -3470,6 +3424,7 @@ export declare const zWorkerTimeCardApprovalParameters: z.ZodObject<{
3470
3424
  status: z.ZodEnum<{
3471
3425
  pending: "pending";
3472
3426
  approved: "approved";
3427
+ declined: "declined";
3473
3428
  }>;
3474
3429
  }, z.core.$strip>;
3475
3430
  /**
@@ -5869,18 +5824,18 @@ export declare const zPositionResponseObject: z.ZodObject<{
5869
5824
  updated_at: z.ZodISODateTime;
5870
5825
  }, z.core.$strip>;
5871
5826
  /**
5872
- * Request body for granting a user a role in a company.
5827
+ * Request body for granting a user a role in a company. All three fields are required; omitting one answers 400.
5873
5828
  */
5874
5829
  export declare const zUserRoleRequest: z.ZodObject<{
5875
- user_id: z.ZodOptional<z.ZodString>;
5876
- company_id: z.ZodOptional<z.ZodString>;
5877
- role: z.ZodOptional<z.ZodEnum<{
5830
+ company_id: z.ZodString;
5831
+ user_id: z.ZodString;
5832
+ role: z.ZodEnum<{
5878
5833
  TECHNICIAN: "TECHNICIAN";
5879
5834
  FIELD_LEAD: "FIELD_LEAD";
5880
5835
  MANAGER: "MANAGER";
5881
5836
  SAFETY_MANAGER: "SAFETY_MANAGER";
5882
5837
  ADMIN: "ADMIN";
5883
- }>>;
5838
+ }>;
5884
5839
  }, z.core.$strip>;
5885
5840
  /**
5886
5841
  * A role granted to a user within a company's scope — the permissions the user has there. A user can hold several distinct roles per company.
@@ -6055,7 +6010,7 @@ export declare const zUserParameters: z.ZodIntersection<z.ZodUnion<readonly [z.Z
6055
6010
  winda_id: z.ZodOptional<z.ZodString>;
6056
6011
  linkedin_url: z.ZodOptional<z.ZodString>;
6057
6012
  roles: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
6058
- avatar_signed_id: z.ZodOptional<z.ZodString>;
6013
+ avatar_signed_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6059
6014
  created_by_user_id: z.ZodOptional<z.ZodString>;
6060
6015
  last_sent_by_user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6061
6016
  skip_notify: z.ZodOptional<z.ZodBoolean>;
@@ -7994,135 +7949,517 @@ export declare const zProjectWageDeterminationResponseObject: z.ZodDiscriminated
7994
7949
  updated_at: z.ZodISODateTime;
7995
7950
  type: z.ZodLiteral<"Pwa::ProjectWageDeterminations::Regional">;
7996
7951
  }, z.core.$strip>], "type">;
7997
- /**
7998
- * Parameters for creating a Federal (Davis-Bacon) wage determination on a project.
7999
- */
8000
- export declare const zFederalProjectWageDeterminationParameters: z.ZodObject<{
7952
+ export declare const zFederalProjectWageDeterminationHistoryCorrectionObject: z.ZodObject<{
7953
+ project_wage_determination_id: z.ZodString;
7954
+ project_id: z.ZodString;
7955
+ pwa_trade_id: z.ZodString;
7956
+ overtime_package_id: z.ZodNullable<z.ZodString>;
7957
+ pay_rates_rule_package_id: z.ZodNullable<z.ZodString>;
8001
7958
  type: z.ZodEnum<{
8002
7959
  "Pwa::ProjectWageDeterminations::Federal": "Pwa::ProjectWageDeterminations::Federal";
8003
7960
  }>;
8004
7961
  labor_classification: z.ZodString;
8005
- pwa_trade_id: z.ZodString;
8006
7962
  hourly_rate_cents: z.ZodString;
8007
7963
  fringe_rate_cents: z.ZodString;
8008
- class_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8009
- construction_category: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
7964
+ class_code: z.ZodNullable<z.ZodString>;
7965
+ construction_category: z.ZodNullable<z.ZodEnum<{
8010
7966
  building: "building";
8011
7967
  heavy: "heavy";
8012
7968
  highway: "highway";
8013
7969
  residential: "residential";
8014
- }>>>;
8015
- general_wage_determination: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8016
- pay_rates_rule_package_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7970
+ }>>;
7971
+ general_wage_determination: z.ZodNullable<z.ZodString>;
7972
+ valid_from: z.ZodNullable<z.ZodISODateTime>;
7973
+ valid_to: z.ZodNullable<z.ZodISODateTime>;
7974
+ created_at: z.ZodISODateTime;
7975
+ updated_at: z.ZodISODateTime;
8017
7976
  }, z.core.$strip>;
8018
- /**
8019
- * Parameters for creating a Regional (state prevailing-wage) wage determination on a project.
8020
- */
8021
- export declare const zRegionalProjectWageDeterminationParameters: z.ZodObject<{
7977
+ export declare const zRegionalProjectWageDeterminationHistoryCorrectionObject: z.ZodObject<{
7978
+ project_wage_determination_id: z.ZodString;
7979
+ project_id: z.ZodString;
7980
+ pwa_trade_id: z.ZodString;
7981
+ overtime_package_id: z.ZodNullable<z.ZodString>;
7982
+ pay_rates_rule_package_id: z.ZodNullable<z.ZodString>;
8022
7983
  type: z.ZodEnum<{
8023
7984
  "Pwa::ProjectWageDeterminations::Regional": "Pwa::ProjectWageDeterminations::Regional";
8024
7985
  }>;
8025
7986
  labor_classification: z.ZodString;
8026
- pwa_trade_id: z.ZodString;
8027
7987
  hourly_rate_cents: z.ZodString;
8028
- fringe_rate_cents: z.ZodOptional<z.ZodString>;
8029
- general_wage_determination: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8030
- overtime_package_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8031
- pay_rates_rule_package_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8032
- regional_fields: z.ZodOptional<z.ZodObject<{
8033
- combined_health_fringe_rate_cents: z.ZodOptional<z.ZodString>;
8034
- combined_savings_fringe_rate_cents: z.ZodOptional<z.ZodString>;
8035
- combined_holiday_pto_fringe_rate_cents: z.ZodOptional<z.ZodString>;
8036
- training_fringe_rate_cents: z.ZodOptional<z.ZodString>;
8037
- other_fringe_rate_cents: z.ZodOptional<z.ZodString>;
8038
- one_five_x_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8039
- two_x_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8040
- one_five_x_fringe_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8041
- two_x_fringe_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8042
- }, z.core.$strip>>;
7988
+ fringe_rate_cents: z.ZodString;
7989
+ general_wage_determination: z.ZodNullable<z.ZodString>;
7990
+ regional_fields: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
7991
+ valid_from: z.ZodNullable<z.ZodISODateTime>;
7992
+ valid_to: z.ZodNullable<z.ZodISODateTime>;
7993
+ created_at: z.ZodISODateTime;
7994
+ updated_at: z.ZodISODateTime;
8043
7995
  }, z.core.$strip>;
8044
- /**
8045
- * Parameters for creating a project wage determination. Provide the Federal or Regional shape; the type discriminator selects which. Editing an existing determination uses the update parameters, which take an `effective_from` instead of a type.
8046
- */
8047
- export declare const zProjectWageDeterminationParameters: z.ZodDiscriminatedUnion<[z.ZodObject<{
8048
- labor_classification: z.ZodString;
7996
+ export declare const zProjectWageDeterminationHistoryCorrectionObject: z.ZodDiscriminatedUnion<[z.ZodObject<{
7997
+ project_wage_determination_id: z.ZodString;
7998
+ project_id: z.ZodString;
8049
7999
  pwa_trade_id: z.ZodString;
8000
+ overtime_package_id: z.ZodNullable<z.ZodString>;
8001
+ pay_rates_rule_package_id: z.ZodNullable<z.ZodString>;
8002
+ labor_classification: z.ZodString;
8050
8003
  hourly_rate_cents: z.ZodString;
8051
8004
  fringe_rate_cents: z.ZodString;
8052
- class_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8053
- construction_category: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
8005
+ class_code: z.ZodNullable<z.ZodString>;
8006
+ construction_category: z.ZodNullable<z.ZodEnum<{
8054
8007
  building: "building";
8055
8008
  heavy: "heavy";
8056
8009
  highway: "highway";
8057
8010
  residential: "residential";
8058
- }>>>;
8059
- general_wage_determination: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8060
- pay_rates_rule_package_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8011
+ }>>;
8012
+ general_wage_determination: z.ZodNullable<z.ZodString>;
8013
+ valid_from: z.ZodNullable<z.ZodISODateTime>;
8014
+ valid_to: z.ZodNullable<z.ZodISODateTime>;
8015
+ created_at: z.ZodISODateTime;
8016
+ updated_at: z.ZodISODateTime;
8061
8017
  type: z.ZodLiteral<"Pwa::ProjectWageDeterminations::Federal">;
8062
8018
  }, z.core.$strip>, z.ZodObject<{
8063
- labor_classification: z.ZodString;
8019
+ project_wage_determination_id: z.ZodString;
8020
+ project_id: z.ZodString;
8064
8021
  pwa_trade_id: z.ZodString;
8022
+ overtime_package_id: z.ZodNullable<z.ZodString>;
8023
+ pay_rates_rule_package_id: z.ZodNullable<z.ZodString>;
8024
+ labor_classification: z.ZodString;
8065
8025
  hourly_rate_cents: z.ZodString;
8066
- fringe_rate_cents: z.ZodOptional<z.ZodString>;
8067
- general_wage_determination: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8068
- overtime_package_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8069
- pay_rates_rule_package_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8070
- regional_fields: z.ZodOptional<z.ZodObject<{
8071
- combined_health_fringe_rate_cents: z.ZodOptional<z.ZodString>;
8072
- combined_savings_fringe_rate_cents: z.ZodOptional<z.ZodString>;
8073
- combined_holiday_pto_fringe_rate_cents: z.ZodOptional<z.ZodString>;
8074
- training_fringe_rate_cents: z.ZodOptional<z.ZodString>;
8075
- other_fringe_rate_cents: z.ZodOptional<z.ZodString>;
8076
- one_five_x_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8077
- two_x_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8078
- one_five_x_fringe_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8079
- two_x_fringe_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8080
- }, z.core.$strip>>;
8026
+ fringe_rate_cents: z.ZodString;
8027
+ general_wage_determination: z.ZodNullable<z.ZodString>;
8028
+ regional_fields: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
8029
+ valid_from: z.ZodNullable<z.ZodISODateTime>;
8030
+ valid_to: z.ZodNullable<z.ZodISODateTime>;
8031
+ created_at: z.ZodISODateTime;
8032
+ updated_at: z.ZodISODateTime;
8081
8033
  type: z.ZodLiteral<"Pwa::ProjectWageDeterminations::Regional">;
8082
8034
  }, z.core.$strip>], "type">;
8083
- /**
8084
- * Parameters for editing a project wage determination from a point in valid time forward. The type is fixed by the determination the id names and is not sent.
8085
- */
8086
- export declare const zProjectWageDeterminationUpdateParameters: z.ZodObject<{
8087
- effective_from: z.ZodOptional<z.ZodISODate>;
8088
- overtime_package_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8089
- pay_rates_rule_package_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8090
- labor_classification: z.ZodOptional<z.ZodString>;
8091
- pwa_trade_id: z.ZodOptional<z.ZodString>;
8092
- hourly_rate_cents: z.ZodOptional<z.ZodString>;
8093
- fringe_rate_cents: z.ZodOptional<z.ZodString>;
8094
- class_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8095
- construction_category: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
8035
+ export declare const zFederalProjectWageDeterminationHistoryVersionObject: z.ZodObject<{
8036
+ project_wage_determination_id: z.ZodString;
8037
+ project_id: z.ZodString;
8038
+ pwa_trade_id: z.ZodString;
8039
+ overtime_package_id: z.ZodNullable<z.ZodString>;
8040
+ pay_rates_rule_package_id: z.ZodNullable<z.ZodString>;
8041
+ type: z.ZodEnum<{
8042
+ "Pwa::ProjectWageDeterminations::Federal": "Pwa::ProjectWageDeterminations::Federal";
8043
+ }>;
8044
+ labor_classification: z.ZodString;
8045
+ hourly_rate_cents: z.ZodString;
8046
+ fringe_rate_cents: z.ZodString;
8047
+ class_code: z.ZodNullable<z.ZodString>;
8048
+ construction_category: z.ZodNullable<z.ZodEnum<{
8096
8049
  building: "building";
8097
8050
  heavy: "heavy";
8098
8051
  highway: "highway";
8099
8052
  residential: "residential";
8100
- }>>>;
8101
- general_wage_determination: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8102
- regional_fields: z.ZodOptional<z.ZodObject<{
8103
- combined_health_fringe_rate_cents: z.ZodOptional<z.ZodString>;
8104
- combined_savings_fringe_rate_cents: z.ZodOptional<z.ZodString>;
8105
- combined_holiday_pto_fringe_rate_cents: z.ZodOptional<z.ZodString>;
8106
- training_fringe_rate_cents: z.ZodOptional<z.ZodString>;
8107
- other_fringe_rate_cents: z.ZodOptional<z.ZodString>;
8108
- one_five_x_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8109
- two_x_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8110
- one_five_x_fringe_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8111
- two_x_fringe_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8112
- }, z.core.$strip>>;
8113
- }, z.core.$strip>;
8114
- /**
8115
- * The adjustment applied when a rule matches — an addition to the wage or fringe rate.
8116
- */
8117
- export declare const zRateRuleEffect: z.ZodObject<{
8118
- type: z.ZodEnum<{
8119
- wage_increment: "wage_increment";
8120
- fringe_increment: "fringe_increment";
8053
+ }>>;
8054
+ general_wage_determination: z.ZodNullable<z.ZodString>;
8055
+ valid_from: z.ZodNullable<z.ZodISODateTime>;
8056
+ valid_to: z.ZodNullable<z.ZodISODateTime>;
8057
+ created_at: z.ZodISODateTime;
8058
+ updated_at: z.ZodISODateTime;
8059
+ version_status: z.ZodEnum<{
8060
+ scheduled: "scheduled";
8061
+ current: "current";
8062
+ historical: "historical";
8121
8063
  }>;
8122
- amount_cents: z.ZodString;
8123
- }, z.core.$strip>;
8124
- /**
8125
- * Restricts the rule to a time-of-day window.
8064
+ corrections: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
8065
+ project_wage_determination_id: z.ZodString;
8066
+ project_id: z.ZodString;
8067
+ pwa_trade_id: z.ZodString;
8068
+ overtime_package_id: z.ZodNullable<z.ZodString>;
8069
+ pay_rates_rule_package_id: z.ZodNullable<z.ZodString>;
8070
+ labor_classification: z.ZodString;
8071
+ hourly_rate_cents: z.ZodString;
8072
+ fringe_rate_cents: z.ZodString;
8073
+ class_code: z.ZodNullable<z.ZodString>;
8074
+ construction_category: z.ZodNullable<z.ZodEnum<{
8075
+ building: "building";
8076
+ heavy: "heavy";
8077
+ highway: "highway";
8078
+ residential: "residential";
8079
+ }>>;
8080
+ general_wage_determination: z.ZodNullable<z.ZodString>;
8081
+ valid_from: z.ZodNullable<z.ZodISODateTime>;
8082
+ valid_to: z.ZodNullable<z.ZodISODateTime>;
8083
+ created_at: z.ZodISODateTime;
8084
+ updated_at: z.ZodISODateTime;
8085
+ type: z.ZodLiteral<"Pwa::ProjectWageDeterminations::Federal">;
8086
+ }, z.core.$strip>, z.ZodObject<{
8087
+ project_wage_determination_id: z.ZodString;
8088
+ project_id: z.ZodString;
8089
+ pwa_trade_id: z.ZodString;
8090
+ overtime_package_id: z.ZodNullable<z.ZodString>;
8091
+ pay_rates_rule_package_id: z.ZodNullable<z.ZodString>;
8092
+ labor_classification: z.ZodString;
8093
+ hourly_rate_cents: z.ZodString;
8094
+ fringe_rate_cents: z.ZodString;
8095
+ general_wage_determination: z.ZodNullable<z.ZodString>;
8096
+ regional_fields: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
8097
+ valid_from: z.ZodNullable<z.ZodISODateTime>;
8098
+ valid_to: z.ZodNullable<z.ZodISODateTime>;
8099
+ created_at: z.ZodISODateTime;
8100
+ updated_at: z.ZodISODateTime;
8101
+ type: z.ZodLiteral<"Pwa::ProjectWageDeterminations::Regional">;
8102
+ }, z.core.$strip>], "type">>;
8103
+ }, z.core.$strip>;
8104
+ export declare const zRegionalProjectWageDeterminationHistoryVersionObject: z.ZodObject<{
8105
+ project_wage_determination_id: z.ZodString;
8106
+ project_id: z.ZodString;
8107
+ pwa_trade_id: z.ZodString;
8108
+ overtime_package_id: z.ZodNullable<z.ZodString>;
8109
+ pay_rates_rule_package_id: z.ZodNullable<z.ZodString>;
8110
+ type: z.ZodEnum<{
8111
+ "Pwa::ProjectWageDeterminations::Regional": "Pwa::ProjectWageDeterminations::Regional";
8112
+ }>;
8113
+ labor_classification: z.ZodString;
8114
+ hourly_rate_cents: z.ZodString;
8115
+ fringe_rate_cents: z.ZodString;
8116
+ general_wage_determination: z.ZodNullable<z.ZodString>;
8117
+ regional_fields: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
8118
+ valid_from: z.ZodNullable<z.ZodISODateTime>;
8119
+ valid_to: z.ZodNullable<z.ZodISODateTime>;
8120
+ created_at: z.ZodISODateTime;
8121
+ updated_at: z.ZodISODateTime;
8122
+ version_status: z.ZodEnum<{
8123
+ scheduled: "scheduled";
8124
+ current: "current";
8125
+ historical: "historical";
8126
+ }>;
8127
+ corrections: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
8128
+ project_wage_determination_id: z.ZodString;
8129
+ project_id: z.ZodString;
8130
+ pwa_trade_id: z.ZodString;
8131
+ overtime_package_id: z.ZodNullable<z.ZodString>;
8132
+ pay_rates_rule_package_id: z.ZodNullable<z.ZodString>;
8133
+ labor_classification: z.ZodString;
8134
+ hourly_rate_cents: z.ZodString;
8135
+ fringe_rate_cents: z.ZodString;
8136
+ class_code: z.ZodNullable<z.ZodString>;
8137
+ construction_category: z.ZodNullable<z.ZodEnum<{
8138
+ building: "building";
8139
+ heavy: "heavy";
8140
+ highway: "highway";
8141
+ residential: "residential";
8142
+ }>>;
8143
+ general_wage_determination: z.ZodNullable<z.ZodString>;
8144
+ valid_from: z.ZodNullable<z.ZodISODateTime>;
8145
+ valid_to: z.ZodNullable<z.ZodISODateTime>;
8146
+ created_at: z.ZodISODateTime;
8147
+ updated_at: z.ZodISODateTime;
8148
+ type: z.ZodLiteral<"Pwa::ProjectWageDeterminations::Federal">;
8149
+ }, z.core.$strip>, z.ZodObject<{
8150
+ project_wage_determination_id: z.ZodString;
8151
+ project_id: z.ZodString;
8152
+ pwa_trade_id: z.ZodString;
8153
+ overtime_package_id: z.ZodNullable<z.ZodString>;
8154
+ pay_rates_rule_package_id: z.ZodNullable<z.ZodString>;
8155
+ labor_classification: z.ZodString;
8156
+ hourly_rate_cents: z.ZodString;
8157
+ fringe_rate_cents: z.ZodString;
8158
+ general_wage_determination: z.ZodNullable<z.ZodString>;
8159
+ regional_fields: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
8160
+ valid_from: z.ZodNullable<z.ZodISODateTime>;
8161
+ valid_to: z.ZodNullable<z.ZodISODateTime>;
8162
+ created_at: z.ZodISODateTime;
8163
+ updated_at: z.ZodISODateTime;
8164
+ type: z.ZodLiteral<"Pwa::ProjectWageDeterminations::Regional">;
8165
+ }, z.core.$strip>], "type">>;
8166
+ }, z.core.$strip>;
8167
+ export declare const zProjectWageDeterminationHistoryVersionObject: z.ZodDiscriminatedUnion<[z.ZodObject<{
8168
+ project_wage_determination_id: z.ZodString;
8169
+ project_id: z.ZodString;
8170
+ pwa_trade_id: z.ZodString;
8171
+ overtime_package_id: z.ZodNullable<z.ZodString>;
8172
+ pay_rates_rule_package_id: z.ZodNullable<z.ZodString>;
8173
+ labor_classification: z.ZodString;
8174
+ hourly_rate_cents: z.ZodString;
8175
+ fringe_rate_cents: z.ZodString;
8176
+ class_code: z.ZodNullable<z.ZodString>;
8177
+ construction_category: z.ZodNullable<z.ZodEnum<{
8178
+ building: "building";
8179
+ heavy: "heavy";
8180
+ highway: "highway";
8181
+ residential: "residential";
8182
+ }>>;
8183
+ general_wage_determination: z.ZodNullable<z.ZodString>;
8184
+ valid_from: z.ZodNullable<z.ZodISODateTime>;
8185
+ valid_to: z.ZodNullable<z.ZodISODateTime>;
8186
+ created_at: z.ZodISODateTime;
8187
+ updated_at: z.ZodISODateTime;
8188
+ version_status: z.ZodEnum<{
8189
+ scheduled: "scheduled";
8190
+ current: "current";
8191
+ historical: "historical";
8192
+ }>;
8193
+ corrections: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
8194
+ project_wage_determination_id: z.ZodString;
8195
+ project_id: z.ZodString;
8196
+ pwa_trade_id: z.ZodString;
8197
+ overtime_package_id: z.ZodNullable<z.ZodString>;
8198
+ pay_rates_rule_package_id: z.ZodNullable<z.ZodString>;
8199
+ labor_classification: z.ZodString;
8200
+ hourly_rate_cents: z.ZodString;
8201
+ fringe_rate_cents: z.ZodString;
8202
+ class_code: z.ZodNullable<z.ZodString>;
8203
+ construction_category: z.ZodNullable<z.ZodEnum<{
8204
+ building: "building";
8205
+ heavy: "heavy";
8206
+ highway: "highway";
8207
+ residential: "residential";
8208
+ }>>;
8209
+ general_wage_determination: z.ZodNullable<z.ZodString>;
8210
+ valid_from: z.ZodNullable<z.ZodISODateTime>;
8211
+ valid_to: z.ZodNullable<z.ZodISODateTime>;
8212
+ created_at: z.ZodISODateTime;
8213
+ updated_at: z.ZodISODateTime;
8214
+ type: z.ZodLiteral<"Pwa::ProjectWageDeterminations::Federal">;
8215
+ }, z.core.$strip>, z.ZodObject<{
8216
+ project_wage_determination_id: z.ZodString;
8217
+ project_id: z.ZodString;
8218
+ pwa_trade_id: z.ZodString;
8219
+ overtime_package_id: z.ZodNullable<z.ZodString>;
8220
+ pay_rates_rule_package_id: z.ZodNullable<z.ZodString>;
8221
+ labor_classification: z.ZodString;
8222
+ hourly_rate_cents: z.ZodString;
8223
+ fringe_rate_cents: z.ZodString;
8224
+ general_wage_determination: z.ZodNullable<z.ZodString>;
8225
+ regional_fields: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
8226
+ valid_from: z.ZodNullable<z.ZodISODateTime>;
8227
+ valid_to: z.ZodNullable<z.ZodISODateTime>;
8228
+ created_at: z.ZodISODateTime;
8229
+ updated_at: z.ZodISODateTime;
8230
+ type: z.ZodLiteral<"Pwa::ProjectWageDeterminations::Regional">;
8231
+ }, z.core.$strip>], "type">>;
8232
+ type: z.ZodLiteral<"Pwa::ProjectWageDeterminations::Federal">;
8233
+ }, z.core.$strip>, z.ZodObject<{
8234
+ project_wage_determination_id: z.ZodString;
8235
+ project_id: z.ZodString;
8236
+ pwa_trade_id: z.ZodString;
8237
+ overtime_package_id: z.ZodNullable<z.ZodString>;
8238
+ pay_rates_rule_package_id: z.ZodNullable<z.ZodString>;
8239
+ labor_classification: z.ZodString;
8240
+ hourly_rate_cents: z.ZodString;
8241
+ fringe_rate_cents: z.ZodString;
8242
+ general_wage_determination: z.ZodNullable<z.ZodString>;
8243
+ regional_fields: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
8244
+ valid_from: z.ZodNullable<z.ZodISODateTime>;
8245
+ valid_to: z.ZodNullable<z.ZodISODateTime>;
8246
+ created_at: z.ZodISODateTime;
8247
+ updated_at: z.ZodISODateTime;
8248
+ version_status: z.ZodEnum<{
8249
+ scheduled: "scheduled";
8250
+ current: "current";
8251
+ historical: "historical";
8252
+ }>;
8253
+ corrections: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
8254
+ project_wage_determination_id: z.ZodString;
8255
+ project_id: z.ZodString;
8256
+ pwa_trade_id: z.ZodString;
8257
+ overtime_package_id: z.ZodNullable<z.ZodString>;
8258
+ pay_rates_rule_package_id: z.ZodNullable<z.ZodString>;
8259
+ labor_classification: z.ZodString;
8260
+ hourly_rate_cents: z.ZodString;
8261
+ fringe_rate_cents: z.ZodString;
8262
+ class_code: z.ZodNullable<z.ZodString>;
8263
+ construction_category: z.ZodNullable<z.ZodEnum<{
8264
+ building: "building";
8265
+ heavy: "heavy";
8266
+ highway: "highway";
8267
+ residential: "residential";
8268
+ }>>;
8269
+ general_wage_determination: z.ZodNullable<z.ZodString>;
8270
+ valid_from: z.ZodNullable<z.ZodISODateTime>;
8271
+ valid_to: z.ZodNullable<z.ZodISODateTime>;
8272
+ created_at: z.ZodISODateTime;
8273
+ updated_at: z.ZodISODateTime;
8274
+ type: z.ZodLiteral<"Pwa::ProjectWageDeterminations::Federal">;
8275
+ }, z.core.$strip>, z.ZodObject<{
8276
+ project_wage_determination_id: z.ZodString;
8277
+ project_id: z.ZodString;
8278
+ pwa_trade_id: z.ZodString;
8279
+ overtime_package_id: z.ZodNullable<z.ZodString>;
8280
+ pay_rates_rule_package_id: z.ZodNullable<z.ZodString>;
8281
+ labor_classification: z.ZodString;
8282
+ hourly_rate_cents: z.ZodString;
8283
+ fringe_rate_cents: z.ZodString;
8284
+ general_wage_determination: z.ZodNullable<z.ZodString>;
8285
+ regional_fields: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
8286
+ valid_from: z.ZodNullable<z.ZodISODateTime>;
8287
+ valid_to: z.ZodNullable<z.ZodISODateTime>;
8288
+ created_at: z.ZodISODateTime;
8289
+ updated_at: z.ZodISODateTime;
8290
+ type: z.ZodLiteral<"Pwa::ProjectWageDeterminations::Regional">;
8291
+ }, z.core.$strip>], "type">>;
8292
+ type: z.ZodLiteral<"Pwa::ProjectWageDeterminations::Regional">;
8293
+ }, z.core.$strip>], "type">;
8294
+ /**
8295
+ * Parameters for creating a Federal (Davis-Bacon) wage determination on a project.
8296
+ */
8297
+ export declare const zFederalProjectWageDeterminationParameters: z.ZodObject<{
8298
+ type: z.ZodEnum<{
8299
+ "Pwa::ProjectWageDeterminations::Federal": "Pwa::ProjectWageDeterminations::Federal";
8300
+ }>;
8301
+ labor_classification: z.ZodString;
8302
+ pwa_trade_id: z.ZodString;
8303
+ hourly_rate_cents: z.ZodString;
8304
+ fringe_rate_cents: z.ZodString;
8305
+ class_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8306
+ construction_category: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
8307
+ building: "building";
8308
+ heavy: "heavy";
8309
+ highway: "highway";
8310
+ residential: "residential";
8311
+ }>>>;
8312
+ general_wage_determination: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8313
+ pay_rates_rule_package_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8314
+ }, z.core.$strip>;
8315
+ /**
8316
+ * Parameters for creating a Regional (state prevailing-wage) wage determination on a project.
8317
+ */
8318
+ export declare const zRegionalProjectWageDeterminationParameters: z.ZodObject<{
8319
+ type: z.ZodEnum<{
8320
+ "Pwa::ProjectWageDeterminations::Regional": "Pwa::ProjectWageDeterminations::Regional";
8321
+ }>;
8322
+ labor_classification: z.ZodString;
8323
+ pwa_trade_id: z.ZodString;
8324
+ hourly_rate_cents: z.ZodString;
8325
+ fringe_rate_cents: z.ZodOptional<z.ZodString>;
8326
+ general_wage_determination: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8327
+ overtime_package_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8328
+ pay_rates_rule_package_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8329
+ regional_fields: z.ZodOptional<z.ZodObject<{
8330
+ combined_health_fringe_rate_cents: z.ZodOptional<z.ZodString>;
8331
+ combined_savings_fringe_rate_cents: z.ZodOptional<z.ZodString>;
8332
+ combined_holiday_pto_fringe_rate_cents: z.ZodOptional<z.ZodString>;
8333
+ training_fringe_rate_cents: z.ZodOptional<z.ZodString>;
8334
+ other_fringe_rate_cents: z.ZodOptional<z.ZodString>;
8335
+ one_five_x_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8336
+ two_x_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8337
+ one_five_x_fringe_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8338
+ two_x_fringe_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8339
+ }, z.core.$strip>>;
8340
+ }, z.core.$strip>;
8341
+ /**
8342
+ * Parameters for creating a project wage determination. Provide the Federal or Regional shape; the type discriminator selects which. Editing an existing determination uses the update parameters, which take an `effective_from` instead of a type.
8343
+ */
8344
+ export declare const zProjectWageDeterminationParameters: z.ZodDiscriminatedUnion<[z.ZodObject<{
8345
+ labor_classification: z.ZodString;
8346
+ pwa_trade_id: z.ZodString;
8347
+ hourly_rate_cents: z.ZodString;
8348
+ fringe_rate_cents: z.ZodString;
8349
+ class_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8350
+ construction_category: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
8351
+ building: "building";
8352
+ heavy: "heavy";
8353
+ highway: "highway";
8354
+ residential: "residential";
8355
+ }>>>;
8356
+ general_wage_determination: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8357
+ pay_rates_rule_package_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8358
+ type: z.ZodLiteral<"Pwa::ProjectWageDeterminations::Federal">;
8359
+ }, z.core.$strip>, z.ZodObject<{
8360
+ labor_classification: z.ZodString;
8361
+ pwa_trade_id: z.ZodString;
8362
+ hourly_rate_cents: z.ZodString;
8363
+ fringe_rate_cents: z.ZodOptional<z.ZodString>;
8364
+ general_wage_determination: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8365
+ overtime_package_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8366
+ pay_rates_rule_package_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8367
+ regional_fields: z.ZodOptional<z.ZodObject<{
8368
+ combined_health_fringe_rate_cents: z.ZodOptional<z.ZodString>;
8369
+ combined_savings_fringe_rate_cents: z.ZodOptional<z.ZodString>;
8370
+ combined_holiday_pto_fringe_rate_cents: z.ZodOptional<z.ZodString>;
8371
+ training_fringe_rate_cents: z.ZodOptional<z.ZodString>;
8372
+ other_fringe_rate_cents: z.ZodOptional<z.ZodString>;
8373
+ one_five_x_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8374
+ two_x_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8375
+ one_five_x_fringe_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8376
+ two_x_fringe_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8377
+ }, z.core.$strip>>;
8378
+ type: z.ZodLiteral<"Pwa::ProjectWageDeterminations::Regional">;
8379
+ }, z.core.$strip>], "type">;
8380
+ /**
8381
+ * Parameters for editing a project wage determination from a point in valid time forward. The type is fixed by the determination the id names and is not sent.
8382
+ */
8383
+ export declare const zProjectWageDeterminationUpdateParameters: z.ZodObject<{
8384
+ effective_from: z.ZodOptional<z.ZodISODate>;
8385
+ overtime_package_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8386
+ pay_rates_rule_package_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8387
+ labor_classification: z.ZodOptional<z.ZodString>;
8388
+ pwa_trade_id: z.ZodOptional<z.ZodString>;
8389
+ hourly_rate_cents: z.ZodOptional<z.ZodString>;
8390
+ fringe_rate_cents: z.ZodOptional<z.ZodString>;
8391
+ class_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8392
+ construction_category: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
8393
+ building: "building";
8394
+ heavy: "heavy";
8395
+ highway: "highway";
8396
+ residential: "residential";
8397
+ }>>>;
8398
+ general_wage_determination: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8399
+ regional_fields: z.ZodOptional<z.ZodObject<{
8400
+ combined_health_fringe_rate_cents: z.ZodOptional<z.ZodString>;
8401
+ combined_savings_fringe_rate_cents: z.ZodOptional<z.ZodString>;
8402
+ combined_holiday_pto_fringe_rate_cents: z.ZodOptional<z.ZodString>;
8403
+ training_fringe_rate_cents: z.ZodOptional<z.ZodString>;
8404
+ other_fringe_rate_cents: z.ZodOptional<z.ZodString>;
8405
+ one_five_x_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8406
+ two_x_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8407
+ one_five_x_fringe_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8408
+ two_x_fringe_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8409
+ }, z.core.$strip>>;
8410
+ }, z.core.$strip>;
8411
+ /**
8412
+ * Parameters for an effective-dated change to a project wage determination, applying from a calendar date forward. The type is fixed by the determination the id names and is not sent.
8413
+ */
8414
+ export declare const zProjectWageDeterminationScheduledChangeParameters: z.ZodObject<{
8415
+ effective_date: z.ZodISODate;
8416
+ labor_classification: z.ZodOptional<z.ZodString>;
8417
+ hourly_rate_cents: z.ZodOptional<z.ZodString>;
8418
+ fringe_rate_cents: z.ZodOptional<z.ZodString>;
8419
+ class_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8420
+ construction_category: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
8421
+ building: "building";
8422
+ heavy: "heavy";
8423
+ highway: "highway";
8424
+ residential: "residential";
8425
+ }>>>;
8426
+ general_wage_determination: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8427
+ regional_fields: z.ZodOptional<z.ZodObject<{
8428
+ combined_health_fringe_rate_cents: z.ZodOptional<z.ZodString>;
8429
+ combined_savings_fringe_rate_cents: z.ZodOptional<z.ZodString>;
8430
+ combined_holiday_pto_fringe_rate_cents: z.ZodOptional<z.ZodString>;
8431
+ training_fringe_rate_cents: z.ZodOptional<z.ZodString>;
8432
+ other_fringe_rate_cents: z.ZodOptional<z.ZodString>;
8433
+ one_five_x_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8434
+ two_x_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8435
+ one_five_x_fringe_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8436
+ two_x_fringe_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8437
+ }, z.core.$strip>>;
8438
+ }, z.core.$strip>;
8439
+ /**
8440
+ * Parameters for moving where a project wage determination's timeline begins.
8441
+ */
8442
+ export declare const zProjectWageDeterminationGenesisParameters: z.ZodObject<{
8443
+ effective_date: z.ZodISODate;
8444
+ }, z.core.$strip>;
8445
+ /**
8446
+ * Parameters for scheduling when a project wage determination stops being valid.
8447
+ */
8448
+ export declare const zProjectWageDeterminationScheduledTerminationParameters: z.ZodObject<{
8449
+ effective_date: z.ZodISODate;
8450
+ }, z.core.$strip>;
8451
+ /**
8452
+ * The adjustment applied when a rule matches — an addition to the wage or fringe rate.
8453
+ */
8454
+ export declare const zRateRuleEffect: z.ZodObject<{
8455
+ type: z.ZodEnum<{
8456
+ wage_increment: "wage_increment";
8457
+ fringe_increment: "fringe_increment";
8458
+ }>;
8459
+ amount_cents: z.ZodString;
8460
+ }, z.core.$strip>;
8461
+ /**
8462
+ * Restricts the rule to a time-of-day window.
8126
8463
  */
8127
8464
  export declare const zRateRuleTimeRangeCondition: z.ZodObject<{
8128
8465
  type: z.ZodEnum<{
@@ -8168,51 +8505,219 @@ export declare const zRateRuleApprenticeHoursCondition: z.ZodObject<{
8168
8505
  min_hours: z.ZodInt;
8169
8506
  max_hours: z.ZodInt;
8170
8507
  }, z.core.$strip>;
8171
- /**
8172
- * Restricts the rule to a specific overtime tier.
8173
- */
8174
- export declare const zRateRuleOvertimeMultiplierCondition: z.ZodObject<{
8175
- type: z.ZodEnum<{
8176
- overtime_multiplier: "overtime_multiplier";
8177
- }>;
8178
- multiplier: z.ZodEnum<{
8179
- 1.5: "1.5";
8180
- "2.0": "2.0";
8508
+ /**
8509
+ * Restricts the rule to a specific overtime tier.
8510
+ */
8511
+ export declare const zRateRuleOvertimeMultiplierCondition: z.ZodObject<{
8512
+ type: z.ZodEnum<{
8513
+ overtime_multiplier: "overtime_multiplier";
8514
+ }>;
8515
+ multiplier: z.ZodEnum<{
8516
+ 1.5: "1.5";
8517
+ "2.0": "2.0";
8518
+ }>;
8519
+ }, z.core.$strip>;
8520
+ /**
8521
+ * A single match condition. At most one condition per category may appear on a rule — time (time_range), day-selection (days or specific_date), apprentice (apprentice_period or apprentice_hours), and overtime (overtime_multiplier). The `type` field selects the shape.
8522
+ */
8523
+ export declare const zRateRuleCondition: z.ZodDiscriminatedUnion<[z.ZodObject<{
8524
+ start_time: z.ZodString;
8525
+ end_time: z.ZodString;
8526
+ type: z.ZodLiteral<"time_range">;
8527
+ }, z.core.$strip>, z.ZodObject<{
8528
+ days: z.ZodArray<z.ZodInt>;
8529
+ type: z.ZodLiteral<"days">;
8530
+ }, z.core.$strip>, z.ZodObject<{
8531
+ date: z.ZodISODate;
8532
+ type: z.ZodLiteral<"specific_date">;
8533
+ }, z.core.$strip>, z.ZodObject<{
8534
+ period: z.ZodInt;
8535
+ type: z.ZodLiteral<"apprentice_period">;
8536
+ }, z.core.$strip>, z.ZodObject<{
8537
+ min_hours: z.ZodInt;
8538
+ max_hours: z.ZodInt;
8539
+ type: z.ZodLiteral<"apprentice_hours">;
8540
+ }, z.core.$strip>, z.ZodObject<{
8541
+ multiplier: z.ZodEnum<{
8542
+ 1.5: "1.5";
8543
+ "2.0": "2.0";
8544
+ }>;
8545
+ type: z.ZodLiteral<"overtime_multiplier">;
8546
+ }, z.core.$strip>], "type">;
8547
+ /**
8548
+ * 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.
8549
+ */
8550
+ export declare const zRateRuleResponseObject: z.ZodObject<{
8551
+ id: z.ZodString;
8552
+ job_wage_determination_id: z.ZodString;
8553
+ pay_rates_rule_package_id: z.ZodString;
8554
+ effect: z.ZodObject<{
8555
+ type: z.ZodEnum<{
8556
+ wage_increment: "wage_increment";
8557
+ fringe_increment: "fringe_increment";
8558
+ }>;
8559
+ amount_cents: z.ZodString;
8560
+ }, z.core.$strip>;
8561
+ conditions: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
8562
+ start_time: z.ZodString;
8563
+ end_time: z.ZodString;
8564
+ type: z.ZodLiteral<"time_range">;
8565
+ }, z.core.$strip>, z.ZodObject<{
8566
+ days: z.ZodArray<z.ZodInt>;
8567
+ type: z.ZodLiteral<"days">;
8568
+ }, z.core.$strip>, z.ZodObject<{
8569
+ date: z.ZodISODate;
8570
+ type: z.ZodLiteral<"specific_date">;
8571
+ }, z.core.$strip>, z.ZodObject<{
8572
+ period: z.ZodInt;
8573
+ type: z.ZodLiteral<"apprentice_period">;
8574
+ }, z.core.$strip>, z.ZodObject<{
8575
+ min_hours: z.ZodInt;
8576
+ max_hours: z.ZodInt;
8577
+ type: z.ZodLiteral<"apprentice_hours">;
8578
+ }, z.core.$strip>, z.ZodObject<{
8579
+ multiplier: z.ZodEnum<{
8580
+ 1.5: "1.5";
8581
+ "2.0": "2.0";
8582
+ }>;
8583
+ type: z.ZodLiteral<"overtime_multiplier">;
8584
+ }, z.core.$strip>], "type">>;
8585
+ valid_from: z.ZodNullable<z.ZodISODateTime>;
8586
+ valid_to: z.ZodNullable<z.ZodISODateTime>;
8587
+ created_at: z.ZodISODateTime;
8588
+ updated_at: z.ZodISODateTime;
8589
+ }, z.core.$strip>;
8590
+ export declare const zRateRuleHistoryCorrectionObject: z.ZodObject<{
8591
+ pay_rates_rule_id: z.ZodString;
8592
+ job_wage_determination_id: z.ZodString;
8593
+ pay_rates_rule_package_id: z.ZodString;
8594
+ effect: z.ZodObject<{
8595
+ type: z.ZodEnum<{
8596
+ wage_increment: "wage_increment";
8597
+ fringe_increment: "fringe_increment";
8598
+ }>;
8599
+ amount_cents: z.ZodString;
8600
+ }, z.core.$strip>;
8601
+ conditions: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
8602
+ start_time: z.ZodString;
8603
+ end_time: z.ZodString;
8604
+ type: z.ZodLiteral<"time_range">;
8605
+ }, z.core.$strip>, z.ZodObject<{
8606
+ days: z.ZodArray<z.ZodInt>;
8607
+ type: z.ZodLiteral<"days">;
8608
+ }, z.core.$strip>, z.ZodObject<{
8609
+ date: z.ZodISODate;
8610
+ type: z.ZodLiteral<"specific_date">;
8611
+ }, z.core.$strip>, z.ZodObject<{
8612
+ period: z.ZodInt;
8613
+ type: z.ZodLiteral<"apprentice_period">;
8614
+ }, z.core.$strip>, z.ZodObject<{
8615
+ min_hours: z.ZodInt;
8616
+ max_hours: z.ZodInt;
8617
+ type: z.ZodLiteral<"apprentice_hours">;
8618
+ }, z.core.$strip>, z.ZodObject<{
8619
+ multiplier: z.ZodEnum<{
8620
+ 1.5: "1.5";
8621
+ "2.0": "2.0";
8622
+ }>;
8623
+ type: z.ZodLiteral<"overtime_multiplier">;
8624
+ }, z.core.$strip>], "type">>;
8625
+ valid_from: z.ZodNullable<z.ZodISODateTime>;
8626
+ valid_to: z.ZodNullable<z.ZodISODateTime>;
8627
+ created_at: z.ZodISODateTime;
8628
+ updated_at: z.ZodISODateTime;
8629
+ }, z.core.$strip>;
8630
+ export declare const zRateRuleHistoryVersionObject: z.ZodObject<{
8631
+ pay_rates_rule_id: z.ZodString;
8632
+ job_wage_determination_id: z.ZodString;
8633
+ pay_rates_rule_package_id: z.ZodString;
8634
+ effect: z.ZodObject<{
8635
+ type: z.ZodEnum<{
8636
+ wage_increment: "wage_increment";
8637
+ fringe_increment: "fringe_increment";
8638
+ }>;
8639
+ amount_cents: z.ZodString;
8640
+ }, z.core.$strip>;
8641
+ conditions: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
8642
+ start_time: z.ZodString;
8643
+ end_time: z.ZodString;
8644
+ type: z.ZodLiteral<"time_range">;
8645
+ }, z.core.$strip>, z.ZodObject<{
8646
+ days: z.ZodArray<z.ZodInt>;
8647
+ type: z.ZodLiteral<"days">;
8648
+ }, z.core.$strip>, z.ZodObject<{
8649
+ date: z.ZodISODate;
8650
+ type: z.ZodLiteral<"specific_date">;
8651
+ }, z.core.$strip>, z.ZodObject<{
8652
+ period: z.ZodInt;
8653
+ type: z.ZodLiteral<"apprentice_period">;
8654
+ }, z.core.$strip>, z.ZodObject<{
8655
+ min_hours: z.ZodInt;
8656
+ max_hours: z.ZodInt;
8657
+ type: z.ZodLiteral<"apprentice_hours">;
8658
+ }, z.core.$strip>, z.ZodObject<{
8659
+ multiplier: z.ZodEnum<{
8660
+ 1.5: "1.5";
8661
+ "2.0": "2.0";
8662
+ }>;
8663
+ type: z.ZodLiteral<"overtime_multiplier">;
8664
+ }, z.core.$strip>], "type">>;
8665
+ valid_from: z.ZodNullable<z.ZodISODateTime>;
8666
+ valid_to: z.ZodNullable<z.ZodISODateTime>;
8667
+ created_at: z.ZodISODateTime;
8668
+ updated_at: z.ZodISODateTime;
8669
+ version_status: z.ZodEnum<{
8670
+ scheduled: "scheduled";
8671
+ current: "current";
8672
+ historical: "historical";
8181
8673
  }>;
8674
+ corrections: z.ZodArray<z.ZodObject<{
8675
+ pay_rates_rule_id: z.ZodString;
8676
+ job_wage_determination_id: z.ZodString;
8677
+ pay_rates_rule_package_id: z.ZodString;
8678
+ effect: z.ZodObject<{
8679
+ type: z.ZodEnum<{
8680
+ wage_increment: "wage_increment";
8681
+ fringe_increment: "fringe_increment";
8682
+ }>;
8683
+ amount_cents: z.ZodString;
8684
+ }, z.core.$strip>;
8685
+ conditions: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
8686
+ start_time: z.ZodString;
8687
+ end_time: z.ZodString;
8688
+ type: z.ZodLiteral<"time_range">;
8689
+ }, z.core.$strip>, z.ZodObject<{
8690
+ days: z.ZodArray<z.ZodInt>;
8691
+ type: z.ZodLiteral<"days">;
8692
+ }, z.core.$strip>, z.ZodObject<{
8693
+ date: z.ZodISODate;
8694
+ type: z.ZodLiteral<"specific_date">;
8695
+ }, z.core.$strip>, z.ZodObject<{
8696
+ period: z.ZodInt;
8697
+ type: z.ZodLiteral<"apprentice_period">;
8698
+ }, z.core.$strip>, z.ZodObject<{
8699
+ min_hours: z.ZodInt;
8700
+ max_hours: z.ZodInt;
8701
+ type: z.ZodLiteral<"apprentice_hours">;
8702
+ }, z.core.$strip>, z.ZodObject<{
8703
+ multiplier: z.ZodEnum<{
8704
+ 1.5: "1.5";
8705
+ "2.0": "2.0";
8706
+ }>;
8707
+ type: z.ZodLiteral<"overtime_multiplier">;
8708
+ }, z.core.$strip>], "type">>;
8709
+ valid_from: z.ZodNullable<z.ZodISODateTime>;
8710
+ valid_to: z.ZodNullable<z.ZodISODateTime>;
8711
+ created_at: z.ZodISODateTime;
8712
+ updated_at: z.ZodISODateTime;
8713
+ }, z.core.$strip>>;
8182
8714
  }, z.core.$strip>;
8183
8715
  /**
8184
- * A single match condition. At most one condition per category may appear on a rule — time (time_range), day-selection (days or specific_date), apprentice (apprentice_period or apprentice_hours), and overtime (overtime_multiplier). The `type` field selects the shape.
8185
- */
8186
- export declare const zRateRuleCondition: z.ZodDiscriminatedUnion<[z.ZodObject<{
8187
- start_time: z.ZodString;
8188
- end_time: z.ZodString;
8189
- type: z.ZodLiteral<"time_range">;
8190
- }, z.core.$strip>, z.ZodObject<{
8191
- days: z.ZodArray<z.ZodInt>;
8192
- type: z.ZodLiteral<"days">;
8193
- }, z.core.$strip>, z.ZodObject<{
8194
- date: z.ZodISODate;
8195
- type: z.ZodLiteral<"specific_date">;
8196
- }, z.core.$strip>, z.ZodObject<{
8197
- period: z.ZodInt;
8198
- type: z.ZodLiteral<"apprentice_period">;
8199
- }, z.core.$strip>, z.ZodObject<{
8200
- min_hours: z.ZodInt;
8201
- max_hours: z.ZodInt;
8202
- type: z.ZodLiteral<"apprentice_hours">;
8203
- }, z.core.$strip>, z.ZodObject<{
8204
- multiplier: z.ZodEnum<{
8205
- 1.5: "1.5";
8206
- "2.0": "2.0";
8207
- }>;
8208
- type: z.ZodLiteral<"overtime_multiplier">;
8209
- }, z.core.$strip>], "type">;
8210
- /**
8211
- * 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.
8716
+ * A conditional rate-modification rule on a project 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.
8212
8717
  */
8213
- export declare const zRateRuleResponseObject: z.ZodObject<{
8718
+ export declare const zProjectRateRuleResponseObject: z.ZodObject<{
8214
8719
  id: z.ZodString;
8215
- job_wage_determination_id: z.ZodString;
8720
+ project_wage_determination_id: z.ZodString;
8216
8721
  pay_rates_rule_package_id: z.ZodString;
8217
8722
  effect: z.ZodObject<{
8218
8723
  type: z.ZodEnum<{
@@ -8250,9 +8755,9 @@ export declare const zRateRuleResponseObject: z.ZodObject<{
8250
8755
  created_at: z.ZodISODateTime;
8251
8756
  updated_at: z.ZodISODateTime;
8252
8757
  }, z.core.$strip>;
8253
- export declare const zRateRuleHistoryCorrectionObject: z.ZodObject<{
8758
+ export declare const zProjectRateRuleHistoryCorrectionObject: z.ZodObject<{
8254
8759
  pay_rates_rule_id: z.ZodString;
8255
- job_wage_determination_id: z.ZodString;
8760
+ project_wage_determination_id: z.ZodString;
8256
8761
  pay_rates_rule_package_id: z.ZodString;
8257
8762
  effect: z.ZodObject<{
8258
8763
  type: z.ZodEnum<{
@@ -8290,9 +8795,9 @@ export declare const zRateRuleHistoryCorrectionObject: z.ZodObject<{
8290
8795
  created_at: z.ZodISODateTime;
8291
8796
  updated_at: z.ZodISODateTime;
8292
8797
  }, z.core.$strip>;
8293
- export declare const zRateRuleHistoryVersionObject: z.ZodObject<{
8798
+ export declare const zProjectRateRuleHistoryVersionObject: z.ZodObject<{
8294
8799
  pay_rates_rule_id: z.ZodString;
8295
- job_wage_determination_id: z.ZodString;
8800
+ project_wage_determination_id: z.ZodString;
8296
8801
  pay_rates_rule_package_id: z.ZodString;
8297
8802
  effect: z.ZodObject<{
8298
8803
  type: z.ZodEnum<{
@@ -8336,7 +8841,7 @@ export declare const zRateRuleHistoryVersionObject: z.ZodObject<{
8336
8841
  }>;
8337
8842
  corrections: z.ZodArray<z.ZodObject<{
8338
8843
  pay_rates_rule_id: z.ZodString;
8339
- job_wage_determination_id: z.ZodString;
8844
+ project_wage_determination_id: z.ZodString;
8340
8845
  pay_rates_rule_package_id: z.ZodString;
8341
8846
  effect: z.ZodObject<{
8342
8847
  type: z.ZodEnum<{
@@ -8961,27 +9466,26 @@ export declare const zAssetsSiteResponseObject: z.ZodObject<{
8961
9466
  created_at: z.ZodISODateTime;
8962
9467
  updated_at: z.ZodISODateTime;
8963
9468
  }, z.core.$strip>;
8964
- export declare const zAssetsSiteParameters: z.ZodIntersection<z.ZodUnion<readonly [z.ZodObject<{
8965
- site_id: z.ZodString;
8966
- }, z.core.$strip>, z.ZodObject<{
8967
- name: z.ZodString;
8968
- }, z.core.$strip>]>, z.ZodObject<{
9469
+ /**
9470
+ * Create a site. kind is required; provide a site_id to back the location with a site on the Atlas map, or a name for a standalone location. At least one of site_id or name is required.
9471
+ */
9472
+ export declare const zAssetsSiteParameters: z.ZodObject<{
9473
+ site_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8969
9474
  kind: z.ZodEnum<{
8970
9475
  warehouse: "warehouse";
8971
9476
  yard: "yard";
8972
9477
  }>;
8973
- site_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8974
9478
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8975
- }, z.core.$strip>>;
9479
+ }, z.core.$strip>;
8976
9480
  /**
8977
9481
  * Request body for updating an asset location. Every field is optional; send only the fields to change. The saved location must still have a name or a backing `site_id`.
8978
9482
  */
8979
9483
  export declare const zAssetsSiteUpdateParameters: z.ZodObject<{
9484
+ site_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8980
9485
  kind: z.ZodOptional<z.ZodEnum<{
8981
9486
  warehouse: "warehouse";
8982
9487
  yard: "yard";
8983
9488
  }>>;
8984
- site_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8985
9489
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8986
9490
  }, z.core.$strip>;
8987
9491
  /**
@@ -9363,7 +9867,7 @@ export declare const zAssetsDocumentParameters: z.ZodObject<{
9363
9867
  performed_by_user_id: z.ZodString;
9364
9868
  }, z.core.$strip>;
9365
9869
  /**
9366
- * Update an asset-item document. All fields are optional — send only what changes. Omit file to retain the existing attachment, or supply a new signed_id to replace it.
9870
+ * Update an asset-item document. All fields are optional — send only what changes. Omit file to retain the existing attachment, or supply a new signed_id to replace it. A document always holds a file, so null answers 422, as does a blank string.
9367
9871
  */
9368
9872
  export declare const zAssetsDocumentUpdateParameters: z.ZodObject<{
9369
9873
  file: z.ZodOptional<z.ZodString>;
@@ -9889,17 +10393,17 @@ export declare const zAssetsSubLocationResponseObject: z.ZodObject<{
9889
10393
  * Create a storage location. name and code are required. A top-level node names its holder (assets_site_id or container_item_id, exactly one); a nested node names parent_id and inherits the parent's holder. The holder cannot change after creation.
9890
10394
  */
9891
10395
  export declare const zAssetsSubLocationParameters: z.ZodObject<{
9892
- assets_site_id: z.ZodOptional<z.ZodString>;
9893
- container_item_id: z.ZodOptional<z.ZodString>;
10396
+ assets_site_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10397
+ container_item_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9894
10398
  parent_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9895
- kind: z.ZodOptional<z.ZodEnum<{
10399
+ kind: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
9896
10400
  zone: "zone";
9897
10401
  aisle: "aisle";
9898
10402
  rack: "rack";
9899
10403
  shelf: "shelf";
9900
10404
  bin: "bin";
9901
10405
  drawer: "drawer";
9902
- }>>;
10406
+ }>>>;
9903
10407
  name: z.ZodString;
9904
10408
  code: z.ZodString;
9905
10409
  }, z.core.$strip>;
@@ -9908,14 +10412,14 @@ export declare const zAssetsSubLocationParameters: z.ZodObject<{
9908
10412
  */
9909
10413
  export declare const zAssetsSubLocationUpdateParameters: z.ZodObject<{
9910
10414
  parent_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9911
- kind: z.ZodOptional<z.ZodEnum<{
10415
+ kind: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
9912
10416
  zone: "zone";
9913
10417
  aisle: "aisle";
9914
10418
  rack: "rack";
9915
10419
  shelf: "shelf";
9916
10420
  bin: "bin";
9917
10421
  drawer: "drawer";
9918
- }>>;
10422
+ }>>>;
9919
10423
  name: z.ZodOptional<z.ZodString>;
9920
10424
  code: z.ZodOptional<z.ZodString>;
9921
10425
  }, z.core.$strip>;
@@ -9972,7 +10476,7 @@ export declare const zAssetsTransferParameters: z.ZodObject<{
9972
10476
  */
9973
10477
  export declare const zAssetsRestockParameters: z.ZodObject<{
9974
10478
  assets_site_id: z.ZodString;
9975
- assets_sub_location_id: z.ZodOptional<z.ZodString>;
10479
+ assets_sub_location_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9976
10480
  quantity: z.ZodInt;
9977
10481
  performed_by_user_id: z.ZodString;
9978
10482
  }, z.core.$strip>;
@@ -9981,7 +10485,7 @@ export declare const zAssetsRestockParameters: z.ZodObject<{
9981
10485
  */
9982
10486
  export declare const zAssetsAdjustmentParameters: z.ZodObject<{
9983
10487
  assets_site_id: z.ZodString;
9984
- assets_sub_location_id: z.ZodOptional<z.ZodString>;
10488
+ assets_sub_location_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9985
10489
  new_quantity: z.ZodInt;
9986
10490
  performed_by_user_id: z.ZodString;
9987
10491
  }, z.core.$strip>;
@@ -9991,6 +10495,20 @@ export declare const zAssetsAdjustmentParameters: z.ZodObject<{
9991
10495
  export declare const zAssetsArchiveParameters: z.ZodObject<{
9992
10496
  performed_by_user_id: z.ZodString;
9993
10497
  }, z.core.$strip>;
10498
+ /**
10499
+ * Create the template's schedule on the product's serial items that don't have one yet. Items whose matching schedule has a different cadence are blocked and never seeded.
10500
+ */
10501
+ export declare const zAssetsServiceScheduleSeedParameters: z.ZodObject<{
10502
+ assets_item_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
10503
+ performed_by_user_id: z.ZodString;
10504
+ }, z.core.$strip>;
10505
+ /**
10506
+ * Rewrite blocked schedules — those sharing the template's name and kind with a different interval — to the template's cadence, which links them to it.
10507
+ */
10508
+ export declare const zAssetsServiceScheduleSyncParameters: z.ZodObject<{
10509
+ schedule_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
10510
+ performed_by_user_id: z.ZodString;
10511
+ }, z.core.$strip>;
9994
10512
  /**
9995
10513
  * A certification held by a worker — the record that a worker earned a certification, with its receipt date, optional expiry, and verification state.
9996
10514
  */
@@ -10104,11 +10622,11 @@ export declare const zListAllocationsResponse: z.ZodObject<{
10104
10622
  }, z.core.$strip>>;
10105
10623
  }, z.core.$strip>;
10106
10624
  export declare const zCreateAllocationBody: z.ZodObject<{
10107
- apprenticeship_work_process_category_id: z.ZodOptional<z.ZodString>;
10108
- timekeeping_time_card_id: z.ZodOptional<z.ZodString>;
10625
+ timekeeping_time_card_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10626
+ apprenticeship_work_process_category_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10109
10627
  minutes: z.ZodInt;
10110
- description: z.ZodOptional<z.ZodString>;
10111
- allocated_at: z.ZodOptional<z.ZodISODateTime>;
10628
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10629
+ allocated_at: z.ZodOptional<z.ZodString>;
10112
10630
  }, z.core.$strip>;
10113
10631
  export declare const zCreateAllocationPath: z.ZodObject<{
10114
10632
  apprentice_id: z.ZodString;
@@ -10163,7 +10681,7 @@ export declare const zUpdateAllocationBody: z.ZodObject<{
10163
10681
  apprenticeship_work_process_category_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10164
10682
  minutes: z.ZodOptional<z.ZodInt>;
10165
10683
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10166
- allocated_at: z.ZodOptional<z.ZodISODateTime>;
10684
+ allocated_at: z.ZodOptional<z.ZodString>;
10167
10685
  }, z.core.$strip>;
10168
10686
  export declare const zUpdateAllocationPath: z.ZodObject<{
10169
10687
  apprentice_id: z.ZodString;
@@ -13726,7 +14244,7 @@ export declare const zArchiveProductResponse: z.ZodObject<{
13726
14244
  }, z.core.$strip>;
13727
14245
  export declare const zAdjustProductInventoryBody: z.ZodObject<{
13728
14246
  assets_site_id: z.ZodString;
13729
- assets_sub_location_id: z.ZodOptional<z.ZodString>;
14247
+ assets_sub_location_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13730
14248
  new_quantity: z.ZodInt;
13731
14249
  performed_by_user_id: z.ZodString;
13732
14250
  }, z.core.$strip>;
@@ -13775,7 +14293,7 @@ export declare const zAdjustProductInventoryResponse: z.ZodObject<{
13775
14293
  }, z.core.$strip>;
13776
14294
  export declare const zRestockProductBody: z.ZodObject<{
13777
14295
  assets_site_id: z.ZodString;
13778
- assets_sub_location_id: z.ZodOptional<z.ZodString>;
14296
+ assets_sub_location_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13779
14297
  quantity: z.ZodInt;
13780
14298
  performed_by_user_id: z.ZodString;
13781
14299
  }, z.core.$strip>;
@@ -14113,18 +14631,14 @@ export declare const zListAssetsSitesResponse: z.ZodObject<{
14113
14631
  updated_at: z.ZodISODateTime;
14114
14632
  }, z.core.$strip>>;
14115
14633
  }, z.core.$strip>;
14116
- export declare const zCreateSiteBody: z.ZodIntersection<z.ZodUnion<readonly [z.ZodObject<{
14117
- site_id: z.ZodString;
14118
- }, z.core.$strip>, z.ZodObject<{
14119
- name: z.ZodString;
14120
- }, z.core.$strip>]>, z.ZodObject<{
14634
+ export declare const zCreateSiteBody: z.ZodObject<{
14635
+ site_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14121
14636
  kind: z.ZodEnum<{
14122
14637
  warehouse: "warehouse";
14123
14638
  yard: "yard";
14124
14639
  }>;
14125
- site_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14126
14640
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14127
- }, z.core.$strip>>;
14641
+ }, z.core.$strip>;
14128
14642
  /**
14129
14643
  * Created (site-backed)
14130
14644
  */
@@ -14180,11 +14694,11 @@ export declare const zGetAssetsSiteResponse: z.ZodObject<{
14180
14694
  updated_at: z.ZodISODateTime;
14181
14695
  }, z.core.$strip>;
14182
14696
  export declare const zUpdateSiteBody: z.ZodObject<{
14697
+ site_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14183
14698
  kind: z.ZodOptional<z.ZodEnum<{
14184
14699
  warehouse: "warehouse";
14185
14700
  yard: "yard";
14186
14701
  }>>;
14187
- site_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14188
14702
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14189
14703
  }, z.core.$strip>;
14190
14704
  export declare const zUpdateSitePath: z.ZodObject<{
@@ -14257,17 +14771,17 @@ export declare const zListSubLocationsResponse: z.ZodObject<{
14257
14771
  }, z.core.$strip>>;
14258
14772
  }, z.core.$strip>;
14259
14773
  export declare const zCreateSubLocationBody: z.ZodObject<{
14260
- assets_site_id: z.ZodOptional<z.ZodString>;
14261
- container_item_id: z.ZodOptional<z.ZodString>;
14774
+ assets_site_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14775
+ container_item_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14262
14776
  parent_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14263
- kind: z.ZodOptional<z.ZodEnum<{
14777
+ kind: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
14264
14778
  zone: "zone";
14265
14779
  aisle: "aisle";
14266
14780
  rack: "rack";
14267
14781
  shelf: "shelf";
14268
14782
  bin: "bin";
14269
14783
  drawer: "drawer";
14270
- }>>;
14784
+ }>>>;
14271
14785
  name: z.ZodString;
14272
14786
  code: z.ZodString;
14273
14787
  }, z.core.$strip>;
@@ -14348,14 +14862,14 @@ export declare const zGetSubLocationResponse: z.ZodObject<{
14348
14862
  }, z.core.$strip>;
14349
14863
  export declare const zUpdateSubLocationBody: z.ZodObject<{
14350
14864
  parent_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14351
- kind: z.ZodOptional<z.ZodEnum<{
14865
+ kind: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
14352
14866
  zone: "zone";
14353
14867
  aisle: "aisle";
14354
14868
  rack: "rack";
14355
14869
  shelf: "shelf";
14356
14870
  bin: "bin";
14357
14871
  drawer: "drawer";
14358
- }>>;
14872
+ }>>>;
14359
14873
  name: z.ZodOptional<z.ZodString>;
14360
14874
  code: z.ZodOptional<z.ZodString>;
14361
14875
  }, z.core.$strip>;
@@ -15576,94 +16090,35 @@ export declare const zListCompaniesResponse: z.ZodObject<{
15576
16090
  five_hundred_to_one_billion: "five_hundred_to_one_billion";
15577
16091
  one_billion_to_ten_billion: "one_billion_to_ten_billion";
15578
16092
  ten_billion_plus: "ten_billion_plus";
15579
- }>>;
15580
- naics_code: z.ZodNullable<z.ZodString>;
15581
- linkedin_url: z.ZodNullable<z.ZodString>;
15582
- industry: z.ZodNullable<z.ZodString>;
15583
- stock_ticker: z.ZodNullable<z.ZodString>;
15584
- stock_exchange: z.ZodNullable<z.ZodString>;
15585
- logo_url: z.ZodNullable<z.ZodURL>;
15586
- created_at: z.ZodISODateTime;
15587
- updated_at: z.ZodISODateTime;
15588
- }, z.core.$strip>>;
15589
- }, z.core.$strip>;
15590
- export declare const zGetCompanyPath: z.ZodObject<{
15591
- id: z.ZodString;
15592
- }, z.core.$strip>;
15593
- /**
15594
- * Success
15595
- */
15596
- export declare const zGetCompanyResponse: z.ZodObject<{
15597
- id: z.ZodString;
15598
- name: z.ZodString;
15599
- legal_name: z.ZodNullable<z.ZodString>;
15600
- description: z.ZodNullable<z.ZodString>;
15601
- address: z.ZodNullable<z.ZodString>;
15602
- website: z.ZodNullable<z.ZodString>;
15603
- phone_number: z.ZodNullable<z.ZodString>;
15604
- email: z.ZodNullable<z.ZodString>;
15605
- color_hex: z.ZodString;
15606
- tagline: z.ZodNullable<z.ZodString>;
15607
- founding_year: z.ZodNullable<z.ZodInt>;
15608
- corporate_structure: z.ZodNullable<z.ZodEnum<{
15609
- corporation: "corporation";
15610
- llc: "llc";
15611
- partnership: "partnership";
15612
- sole_proprietorship: "sole_proprietorship";
15613
- s_corporation: "s_corporation";
15614
- }>>;
15615
- employee_count_range: z.ZodNullable<z.ZodEnum<{
15616
- one_to_ten: "one_to_ten";
15617
- eleven_to_fifty: "eleven_to_fifty";
15618
- fifty_one_to_two_hundred: "fifty_one_to_two_hundred";
15619
- two_hundred_one_to_five_hundred: "two_hundred_one_to_five_hundred";
15620
- five_hundred_one_to_one_thousand: "five_hundred_one_to_one_thousand";
15621
- one_thousand_one_to_five_thousand: "one_thousand_one_to_five_thousand";
15622
- five_thousand_one_to_ten_thousand: "five_thousand_one_to_ten_thousand";
15623
- ten_thousand_one_plus: "ten_thousand_one_plus";
15624
- }>>;
15625
- revenue_range: z.ZodNullable<z.ZodEnum<{
15626
- zero_to_one_million: "zero_to_one_million";
15627
- one_to_ten_million: "one_to_ten_million";
15628
- ten_to_twenty_five_million: "ten_to_twenty_five_million";
15629
- twenty_five_to_fifty_million: "twenty_five_to_fifty_million";
15630
- fifty_to_one_hundred_million: "fifty_to_one_hundred_million";
15631
- one_hundred_to_two_fifty_million: "one_hundred_to_two_fifty_million";
15632
- two_fifty_to_five_hundred_million: "two_fifty_to_five_hundred_million";
15633
- five_hundred_to_one_billion: "five_hundred_to_one_billion";
15634
- one_billion_to_ten_billion: "one_billion_to_ten_billion";
15635
- ten_billion_plus: "ten_billion_plus";
15636
- }>>;
15637
- naics_code: z.ZodNullable<z.ZodString>;
15638
- linkedin_url: z.ZodNullable<z.ZodString>;
15639
- industry: z.ZodNullable<z.ZodString>;
15640
- stock_ticker: z.ZodNullable<z.ZodString>;
15641
- stock_exchange: z.ZodNullable<z.ZodString>;
15642
- logo_url: z.ZodNullable<z.ZodURL>;
15643
- created_at: z.ZodISODateTime;
15644
- updated_at: z.ZodISODateTime;
16093
+ }>>;
16094
+ naics_code: z.ZodNullable<z.ZodString>;
16095
+ linkedin_url: z.ZodNullable<z.ZodString>;
16096
+ industry: z.ZodNullable<z.ZodString>;
16097
+ stock_ticker: z.ZodNullable<z.ZodString>;
16098
+ stock_exchange: z.ZodNullable<z.ZodString>;
16099
+ logo_url: z.ZodNullable<z.ZodURL>;
16100
+ created_at: z.ZodISODateTime;
16101
+ updated_at: z.ZodISODateTime;
16102
+ }, z.core.$strip>>;
16103
+ }, z.core.$strip>;
16104
+ export declare const zGetCompanyPath: z.ZodObject<{
16105
+ id: z.ZodString;
15645
16106
  }, z.core.$strip>;
15646
- export declare const zUpdateCompanyProfileBody: z.ZodIntersection<z.ZodUnion<readonly [z.ZodObject<{
16107
+ /**
16108
+ * Success
16109
+ */
16110
+ export declare const zGetCompanyResponse: z.ZodObject<{
16111
+ id: z.ZodString;
15647
16112
  name: z.ZodString;
15648
- }, z.core.$strip>, z.ZodObject<{
15649
16113
  legal_name: z.ZodNullable<z.ZodString>;
15650
- }, z.core.$strip>, z.ZodObject<{
15651
16114
  description: z.ZodNullable<z.ZodString>;
15652
- }, z.core.$strip>, z.ZodObject<{
15653
16115
  address: z.ZodNullable<z.ZodString>;
15654
- }, z.core.$strip>, z.ZodObject<{
15655
16116
  website: z.ZodNullable<z.ZodString>;
15656
- }, z.core.$strip>, z.ZodObject<{
15657
16117
  phone_number: z.ZodNullable<z.ZodString>;
15658
- }, z.core.$strip>, z.ZodObject<{
15659
16118
  email: z.ZodNullable<z.ZodString>;
15660
- }, z.core.$strip>, z.ZodObject<{
15661
16119
  color_hex: z.ZodString;
15662
- }, z.core.$strip>, z.ZodObject<{
15663
16120
  tagline: z.ZodNullable<z.ZodString>;
15664
- }, z.core.$strip>, z.ZodObject<{
15665
16121
  founding_year: z.ZodNullable<z.ZodInt>;
15666
- }, z.core.$strip>, z.ZodObject<{
15667
16122
  corporate_structure: z.ZodNullable<z.ZodEnum<{
15668
16123
  corporation: "corporation";
15669
16124
  llc: "llc";
@@ -15671,7 +16126,6 @@ export declare const zUpdateCompanyProfileBody: z.ZodIntersection<z.ZodUnion<rea
15671
16126
  sole_proprietorship: "sole_proprietorship";
15672
16127
  s_corporation: "s_corporation";
15673
16128
  }>>;
15674
- }, z.core.$strip>, z.ZodObject<{
15675
16129
  employee_count_range: z.ZodNullable<z.ZodEnum<{
15676
16130
  one_to_ten: "one_to_ten";
15677
16131
  eleven_to_fifty: "eleven_to_fifty";
@@ -15682,7 +16136,6 @@ export declare const zUpdateCompanyProfileBody: z.ZodIntersection<z.ZodUnion<rea
15682
16136
  five_thousand_one_to_ten_thousand: "five_thousand_one_to_ten_thousand";
15683
16137
  ten_thousand_one_plus: "ten_thousand_one_plus";
15684
16138
  }>>;
15685
- }, z.core.$strip>, z.ZodObject<{
15686
16139
  revenue_range: z.ZodNullable<z.ZodEnum<{
15687
16140
  zero_to_one_million: "zero_to_one_million";
15688
16141
  one_to_ten_million: "one_to_ten_million";
@@ -15695,11 +16148,16 @@ export declare const zUpdateCompanyProfileBody: z.ZodIntersection<z.ZodUnion<rea
15695
16148
  one_billion_to_ten_billion: "one_billion_to_ten_billion";
15696
16149
  ten_billion_plus: "ten_billion_plus";
15697
16150
  }>>;
15698
- }, z.core.$strip>, z.ZodObject<{
15699
16151
  naics_code: z.ZodNullable<z.ZodString>;
15700
- }, z.core.$strip>, z.ZodObject<{
15701
16152
  linkedin_url: z.ZodNullable<z.ZodString>;
15702
- }, z.core.$strip>]>, z.ZodObject<{
16153
+ industry: z.ZodNullable<z.ZodString>;
16154
+ stock_ticker: z.ZodNullable<z.ZodString>;
16155
+ stock_exchange: z.ZodNullable<z.ZodString>;
16156
+ logo_url: z.ZodNullable<z.ZodURL>;
16157
+ created_at: z.ZodISODateTime;
16158
+ updated_at: z.ZodISODateTime;
16159
+ }, z.core.$strip>;
16160
+ export declare const zUpdateCompanyProfileBody: z.ZodObject<{
15703
16161
  name: z.ZodOptional<z.ZodString>;
15704
16162
  legal_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15705
16163
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -15741,7 +16199,7 @@ export declare const zUpdateCompanyProfileBody: z.ZodIntersection<z.ZodUnion<rea
15741
16199
  }>>>;
15742
16200
  naics_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15743
16201
  linkedin_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15744
- }, z.core.$strip>>;
16202
+ }, z.core.$strip>;
15745
16203
  export declare const zUpdateCompanyProfilePath: z.ZodObject<{
15746
16204
  id: z.ZodString;
15747
16205
  }, z.core.$strip>;
@@ -23103,90 +23561,471 @@ export declare const zDeletePaystubResponse: z.ZodObject<{
23103
23561
  created_at: z.ZodISODateTime;
23104
23562
  updated_at: z.ZodISODateTime;
23105
23563
  }, z.core.$strip>;
23106
- export declare const zGetPaystubPath: z.ZodObject<{
23107
- id: z.ZodString;
23564
+ export declare const zGetPaystubPath: z.ZodObject<{
23565
+ id: z.ZodString;
23566
+ }, z.core.$strip>;
23567
+ /**
23568
+ * Success
23569
+ */
23570
+ export declare const zGetPaystubResponse: z.ZodObject<{
23571
+ id: z.ZodString;
23572
+ external_id: z.ZodNullable<z.ZodString>;
23573
+ check_number: z.ZodNullable<z.ZodString>;
23574
+ user_id: z.ZodString;
23575
+ timekeeping_time_card_id: z.ZodNullable<z.ZodString>;
23576
+ payrolls_payroll_run_id: z.ZodString;
23577
+ created_at: z.ZodISODateTime;
23578
+ updated_at: z.ZodISODateTime;
23579
+ }, z.core.$strip>;
23580
+ export declare const zUpdatePaystubBody: z.ZodObject<{
23581
+ payrolls_payroll_run_id: z.ZodOptional<z.ZodString>;
23582
+ timekeeping_time_card_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23583
+ external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23584
+ check_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23585
+ }, z.core.$strip>;
23586
+ export declare const zUpdatePaystubPath: z.ZodObject<{
23587
+ id: z.ZodString;
23588
+ }, z.core.$strip>;
23589
+ /**
23590
+ * Success
23591
+ */
23592
+ export declare const zUpdatePaystubResponse: z.ZodObject<{
23593
+ id: z.ZodString;
23594
+ external_id: z.ZodNullable<z.ZodString>;
23595
+ check_number: z.ZodNullable<z.ZodString>;
23596
+ user_id: z.ZodString;
23597
+ timekeeping_time_card_id: z.ZodNullable<z.ZodString>;
23598
+ payrolls_payroll_run_id: z.ZodString;
23599
+ created_at: z.ZodISODateTime;
23600
+ updated_at: z.ZodISODateTime;
23601
+ }, z.core.$strip>;
23602
+ export declare const zListCustomFieldsPath: z.ZodObject<{
23603
+ employment_id: z.ZodString;
23604
+ }, z.core.$strip>;
23605
+ /**
23606
+ * Success
23607
+ */
23608
+ export declare const zListCustomFieldsResponse: z.ZodObject<{
23609
+ data: z.ZodArray<z.ZodObject<{
23610
+ custom_field_config_id: z.ZodString;
23611
+ value: z.ZodNullable<z.ZodString>;
23612
+ }, z.core.$strip>>;
23613
+ }, z.core.$strip>;
23614
+ export declare const zUpdateCustomFieldBody: z.ZodObject<{
23615
+ custom_fields: z.ZodArray<z.ZodObject<{
23616
+ custom_field_config_id: z.ZodString;
23617
+ value: z.ZodNullable<z.ZodString>;
23618
+ }, z.core.$strip>>;
23619
+ }, z.core.$strip>;
23620
+ export declare const zUpdateCustomFieldHeaders: z.ZodObject<{
23621
+ 'If-Match': z.ZodString;
23622
+ }, z.core.$strip>;
23623
+ export declare const zUpdateCustomFieldPath: z.ZodObject<{
23624
+ employment_id: z.ZodString;
23625
+ }, z.core.$strip>;
23626
+ /**
23627
+ * Success
23628
+ */
23629
+ export declare const zUpdateCustomFieldResponse: z.ZodObject<{
23630
+ data: z.ZodArray<z.ZodObject<{
23631
+ custom_field_config_id: z.ZodString;
23632
+ value: z.ZodNullable<z.ZodString>;
23633
+ }, z.core.$strip>>;
23634
+ }, z.core.$strip>;
23635
+ export declare const zUpdateGenesisBody: z.ZodObject<{
23636
+ effective_date: z.ZodISODate;
23637
+ }, z.core.$strip>;
23638
+ export declare const zUpdateGenesisHeaders: z.ZodObject<{
23639
+ 'If-Match': z.ZodString;
23640
+ }, z.core.$strip>;
23641
+ export declare const zUpdateGenesisPath: z.ZodObject<{
23642
+ employment_id: z.ZodString;
23643
+ }, z.core.$strip>;
23644
+ /**
23645
+ * Success
23646
+ */
23647
+ export declare const zUpdateGenesisResponse: z.ZodObject<{
23648
+ id: z.ZodString;
23649
+ user_id: z.ZodString;
23650
+ company_id: z.ZodString;
23651
+ type: z.ZodEnum<{
23652
+ EMPLOYEE: "EMPLOYEE";
23653
+ CONTRACTOR: "CONTRACTOR";
23654
+ }>;
23655
+ title: z.ZodNullable<z.ZodString>;
23656
+ compensation_type: z.ZodEnum<{
23657
+ hourly: "hourly";
23658
+ salary: "salary";
23659
+ }>;
23660
+ payroll_id: z.ZodNullable<z.ZodString>;
23661
+ manager_user_id: z.ZodNullable<z.ZodString>;
23662
+ companies_department_id: z.ZodNullable<z.ZodString>;
23663
+ enrolled_in_t_and_a: z.ZodBoolean;
23664
+ overtime_eligible: z.ZodNullable<z.ZodBoolean>;
23665
+ overtime_package_id: z.ZodNullable<z.ZodString>;
23666
+ pay_rates_rule_package_id: z.ZodNullable<z.ZodString>;
23667
+ pay_rates_package_id: z.ZodNullable<z.ZodString>;
23668
+ worked_annual_minutes: z.ZodNullable<z.ZodInt>;
23669
+ pto_annual_minutes: z.ZodNullable<z.ZodInt>;
23670
+ holiday_annual_minutes: z.ZodNullable<z.ZodInt>;
23671
+ training_annual_minutes: z.ZodNullable<z.ZodInt>;
23672
+ hourly_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23673
+ training_annual_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23674
+ employer_combined_health_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23675
+ employer_combined_savings_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23676
+ currency: z.ZodString;
23677
+ valid_from: z.ZodNullable<z.ZodISODateTime>;
23678
+ valid_to: z.ZodNullable<z.ZodISODateTime>;
23679
+ created_at: z.ZodISODateTime;
23680
+ updated_at: z.ZodISODateTime;
23681
+ }, z.core.$strip>;
23682
+ export declare const zListEmploymentHistoryPath: z.ZodObject<{
23683
+ employment_id: z.ZodString;
23684
+ }, z.core.$strip>;
23685
+ export declare const zListEmploymentHistoryQuery: z.ZodObject<{
23686
+ 'as_of[valid]': z.ZodOptional<z.ZodString>;
23687
+ 'as_of[transaction]': z.ZodOptional<z.ZodString>;
23688
+ 'page[cursor]': z.ZodOptional<z.ZodString>;
23689
+ 'page[limit]': z.ZodDefault<z.ZodOptional<z.ZodInt>>;
23690
+ page: z.ZodOptional<z.ZodString>;
23691
+ }, z.core.$strip>;
23692
+ /**
23693
+ * Success
23694
+ */
23695
+ export declare const zListEmploymentHistoryResponse: z.ZodObject<{
23696
+ meta: z.ZodObject<{
23697
+ page: z.ZodObject<{
23698
+ next_cursor: z.ZodNullable<z.ZodString>;
23699
+ current_cursor: z.ZodNullable<z.ZodString>;
23700
+ }, z.core.$strip>;
23701
+ }, z.core.$strip>;
23702
+ links: z.ZodObject<{
23703
+ self: z.ZodString;
23704
+ first: z.ZodNullable<z.ZodString>;
23705
+ next: z.ZodNullable<z.ZodString>;
23706
+ }, z.core.$strip>;
23707
+ data: z.ZodArray<z.ZodObject<{
23708
+ people_employment_id: z.ZodString;
23709
+ user_id: z.ZodString;
23710
+ company_id: z.ZodString;
23711
+ type: z.ZodEnum<{
23712
+ EMPLOYEE: "EMPLOYEE";
23713
+ CONTRACTOR: "CONTRACTOR";
23714
+ }>;
23715
+ title: z.ZodNullable<z.ZodString>;
23716
+ compensation_type: z.ZodEnum<{
23717
+ hourly: "hourly";
23718
+ salary: "salary";
23719
+ }>;
23720
+ payroll_id: z.ZodNullable<z.ZodString>;
23721
+ manager_user_id: z.ZodNullable<z.ZodString>;
23722
+ companies_department_id: z.ZodNullable<z.ZodString>;
23723
+ enrolled_in_t_and_a: z.ZodBoolean;
23724
+ overtime_eligible: z.ZodNullable<z.ZodBoolean>;
23725
+ overtime_package_id: z.ZodNullable<z.ZodString>;
23726
+ pay_rates_rule_package_id: z.ZodNullable<z.ZodString>;
23727
+ pay_rates_package_id: z.ZodNullable<z.ZodString>;
23728
+ worked_annual_minutes: z.ZodNullable<z.ZodInt>;
23729
+ pto_annual_minutes: z.ZodNullable<z.ZodInt>;
23730
+ holiday_annual_minutes: z.ZodNullable<z.ZodInt>;
23731
+ training_annual_minutes: z.ZodNullable<z.ZodInt>;
23732
+ hourly_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23733
+ training_annual_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23734
+ employer_combined_health_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23735
+ employer_combined_savings_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23736
+ currency: z.ZodString;
23737
+ valid_from: z.ZodNullable<z.ZodISODateTime>;
23738
+ valid_to: z.ZodNullable<z.ZodISODateTime>;
23739
+ created_at: z.ZodISODateTime;
23740
+ updated_at: z.ZodISODateTime;
23741
+ version_status: z.ZodEnum<{
23742
+ scheduled: "scheduled";
23743
+ current: "current";
23744
+ historical: "historical";
23745
+ }>;
23746
+ corrections: z.ZodArray<z.ZodObject<{
23747
+ people_employment_id: z.ZodString;
23748
+ user_id: z.ZodString;
23749
+ company_id: z.ZodString;
23750
+ type: z.ZodEnum<{
23751
+ EMPLOYEE: "EMPLOYEE";
23752
+ CONTRACTOR: "CONTRACTOR";
23753
+ }>;
23754
+ title: z.ZodNullable<z.ZodString>;
23755
+ compensation_type: z.ZodEnum<{
23756
+ hourly: "hourly";
23757
+ salary: "salary";
23758
+ }>;
23759
+ payroll_id: z.ZodNullable<z.ZodString>;
23760
+ manager_user_id: z.ZodNullable<z.ZodString>;
23761
+ companies_department_id: z.ZodNullable<z.ZodString>;
23762
+ enrolled_in_t_and_a: z.ZodBoolean;
23763
+ overtime_eligible: z.ZodNullable<z.ZodBoolean>;
23764
+ overtime_package_id: z.ZodNullable<z.ZodString>;
23765
+ pay_rates_rule_package_id: z.ZodNullable<z.ZodString>;
23766
+ pay_rates_package_id: z.ZodNullable<z.ZodString>;
23767
+ worked_annual_minutes: z.ZodNullable<z.ZodInt>;
23768
+ pto_annual_minutes: z.ZodNullable<z.ZodInt>;
23769
+ holiday_annual_minutes: z.ZodNullable<z.ZodInt>;
23770
+ training_annual_minutes: z.ZodNullable<z.ZodInt>;
23771
+ hourly_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23772
+ training_annual_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23773
+ employer_combined_health_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23774
+ employer_combined_savings_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23775
+ currency: z.ZodString;
23776
+ valid_from: z.ZodNullable<z.ZodISODateTime>;
23777
+ valid_to: z.ZodNullable<z.ZodISODateTime>;
23778
+ created_at: z.ZodISODateTime;
23779
+ updated_at: z.ZodISODateTime;
23780
+ }, z.core.$strip>>;
23781
+ }, z.core.$strip>>;
23782
+ }, z.core.$strip>;
23783
+ export declare const zListEmploymentsHistoryQuery: z.ZodObject<{
23784
+ 'filter[user_id]': z.ZodOptional<z.ZodString>;
23785
+ 'as_of[valid]': z.ZodOptional<z.ZodString>;
23786
+ 'as_of[transaction]': z.ZodOptional<z.ZodString>;
23787
+ filter: z.ZodOptional<z.ZodString>;
23788
+ 'filter[unexpected]': z.ZodOptional<z.ZodString>;
23789
+ 'page[cursor]': z.ZodOptional<z.ZodString>;
23790
+ 'page[limit]': z.ZodDefault<z.ZodOptional<z.ZodInt>>;
23791
+ page: z.ZodOptional<z.ZodString>;
23108
23792
  }, z.core.$strip>;
23109
23793
  /**
23110
23794
  * Success
23111
23795
  */
23112
- export declare const zGetPaystubResponse: z.ZodObject<{
23113
- id: z.ZodString;
23114
- external_id: z.ZodNullable<z.ZodString>;
23115
- check_number: z.ZodNullable<z.ZodString>;
23116
- user_id: z.ZodString;
23117
- timekeeping_time_card_id: z.ZodNullable<z.ZodString>;
23118
- payrolls_payroll_run_id: z.ZodString;
23119
- created_at: z.ZodISODateTime;
23120
- updated_at: z.ZodISODateTime;
23796
+ export declare const zListEmploymentsHistoryResponse: z.ZodObject<{
23797
+ meta: z.ZodObject<{
23798
+ page: z.ZodObject<{
23799
+ next_cursor: z.ZodNullable<z.ZodString>;
23800
+ current_cursor: z.ZodNullable<z.ZodString>;
23801
+ }, z.core.$strip>;
23802
+ }, z.core.$strip>;
23803
+ links: z.ZodObject<{
23804
+ self: z.ZodString;
23805
+ first: z.ZodNullable<z.ZodString>;
23806
+ next: z.ZodNullable<z.ZodString>;
23807
+ }, z.core.$strip>;
23808
+ data: z.ZodArray<z.ZodObject<{
23809
+ people_employment_id: z.ZodString;
23810
+ user_id: z.ZodString;
23811
+ company_id: z.ZodString;
23812
+ type: z.ZodEnum<{
23813
+ EMPLOYEE: "EMPLOYEE";
23814
+ CONTRACTOR: "CONTRACTOR";
23815
+ }>;
23816
+ title: z.ZodNullable<z.ZodString>;
23817
+ compensation_type: z.ZodEnum<{
23818
+ hourly: "hourly";
23819
+ salary: "salary";
23820
+ }>;
23821
+ payroll_id: z.ZodNullable<z.ZodString>;
23822
+ manager_user_id: z.ZodNullable<z.ZodString>;
23823
+ companies_department_id: z.ZodNullable<z.ZodString>;
23824
+ enrolled_in_t_and_a: z.ZodBoolean;
23825
+ overtime_eligible: z.ZodNullable<z.ZodBoolean>;
23826
+ overtime_package_id: z.ZodNullable<z.ZodString>;
23827
+ pay_rates_rule_package_id: z.ZodNullable<z.ZodString>;
23828
+ pay_rates_package_id: z.ZodNullable<z.ZodString>;
23829
+ worked_annual_minutes: z.ZodNullable<z.ZodInt>;
23830
+ pto_annual_minutes: z.ZodNullable<z.ZodInt>;
23831
+ holiday_annual_minutes: z.ZodNullable<z.ZodInt>;
23832
+ training_annual_minutes: z.ZodNullable<z.ZodInt>;
23833
+ hourly_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23834
+ training_annual_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23835
+ employer_combined_health_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23836
+ employer_combined_savings_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23837
+ currency: z.ZodString;
23838
+ valid_from: z.ZodNullable<z.ZodISODateTime>;
23839
+ valid_to: z.ZodNullable<z.ZodISODateTime>;
23840
+ created_at: z.ZodISODateTime;
23841
+ updated_at: z.ZodISODateTime;
23842
+ version_status: z.ZodEnum<{
23843
+ scheduled: "scheduled";
23844
+ current: "current";
23845
+ historical: "historical";
23846
+ }>;
23847
+ corrections: z.ZodArray<z.ZodObject<{
23848
+ people_employment_id: z.ZodString;
23849
+ user_id: z.ZodString;
23850
+ company_id: z.ZodString;
23851
+ type: z.ZodEnum<{
23852
+ EMPLOYEE: "EMPLOYEE";
23853
+ CONTRACTOR: "CONTRACTOR";
23854
+ }>;
23855
+ title: z.ZodNullable<z.ZodString>;
23856
+ compensation_type: z.ZodEnum<{
23857
+ hourly: "hourly";
23858
+ salary: "salary";
23859
+ }>;
23860
+ payroll_id: z.ZodNullable<z.ZodString>;
23861
+ manager_user_id: z.ZodNullable<z.ZodString>;
23862
+ companies_department_id: z.ZodNullable<z.ZodString>;
23863
+ enrolled_in_t_and_a: z.ZodBoolean;
23864
+ overtime_eligible: z.ZodNullable<z.ZodBoolean>;
23865
+ overtime_package_id: z.ZodNullable<z.ZodString>;
23866
+ pay_rates_rule_package_id: z.ZodNullable<z.ZodString>;
23867
+ pay_rates_package_id: z.ZodNullable<z.ZodString>;
23868
+ worked_annual_minutes: z.ZodNullable<z.ZodInt>;
23869
+ pto_annual_minutes: z.ZodNullable<z.ZodInt>;
23870
+ holiday_annual_minutes: z.ZodNullable<z.ZodInt>;
23871
+ training_annual_minutes: z.ZodNullable<z.ZodInt>;
23872
+ hourly_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23873
+ training_annual_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23874
+ employer_combined_health_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23875
+ employer_combined_savings_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23876
+ currency: z.ZodString;
23877
+ valid_from: z.ZodNullable<z.ZodISODateTime>;
23878
+ valid_to: z.ZodNullable<z.ZodISODateTime>;
23879
+ created_at: z.ZodISODateTime;
23880
+ updated_at: z.ZodISODateTime;
23881
+ }, z.core.$strip>>;
23882
+ }, z.core.$strip>>;
23121
23883
  }, z.core.$strip>;
23122
- export declare const zUpdatePaystubBody: z.ZodObject<{
23123
- payrolls_payroll_run_id: z.ZodOptional<z.ZodString>;
23124
- timekeeping_time_card_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23125
- external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23126
- check_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23884
+ export declare const zCreateEmploymentScheduledChangeBody: z.ZodObject<{
23885
+ effective_date: z.ZodISODate;
23886
+ compensation_type: z.ZodOptional<z.ZodEnum<{
23887
+ hourly: "hourly";
23888
+ salary: "salary";
23889
+ }>>;
23890
+ hourly_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23891
+ overtime_eligible: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
23892
+ overtime_package_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23893
+ worked_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
23894
+ pto_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
23895
+ holiday_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
23896
+ training_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
23897
+ training_annual_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23898
+ employer_combined_health_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23899
+ employer_combined_savings_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23900
+ companies_department_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23127
23901
  }, z.core.$strip>;
23128
- export declare const zUpdatePaystubPath: z.ZodObject<{
23129
- id: z.ZodString;
23902
+ export declare const zCreateEmploymentScheduledChangeHeaders: z.ZodObject<{
23903
+ 'If-Match': z.ZodString;
23904
+ }, z.core.$strip>;
23905
+ export declare const zCreateEmploymentScheduledChangePath: z.ZodObject<{
23906
+ employment_id: z.ZodString;
23130
23907
  }, z.core.$strip>;
23131
23908
  /**
23132
- * Success
23909
+ * Created
23133
23910
  */
23134
- export declare const zUpdatePaystubResponse: z.ZodObject<{
23911
+ export declare const zCreateEmploymentScheduledChangeResponse: z.ZodObject<{
23135
23912
  id: z.ZodString;
23136
- external_id: z.ZodNullable<z.ZodString>;
23137
- check_number: z.ZodNullable<z.ZodString>;
23138
23913
  user_id: z.ZodString;
23139
- timekeeping_time_card_id: z.ZodNullable<z.ZodString>;
23140
- payrolls_payroll_run_id: z.ZodString;
23914
+ company_id: z.ZodString;
23915
+ type: z.ZodEnum<{
23916
+ EMPLOYEE: "EMPLOYEE";
23917
+ CONTRACTOR: "CONTRACTOR";
23918
+ }>;
23919
+ title: z.ZodNullable<z.ZodString>;
23920
+ compensation_type: z.ZodEnum<{
23921
+ hourly: "hourly";
23922
+ salary: "salary";
23923
+ }>;
23924
+ payroll_id: z.ZodNullable<z.ZodString>;
23925
+ manager_user_id: z.ZodNullable<z.ZodString>;
23926
+ companies_department_id: z.ZodNullable<z.ZodString>;
23927
+ enrolled_in_t_and_a: z.ZodBoolean;
23928
+ overtime_eligible: z.ZodNullable<z.ZodBoolean>;
23929
+ overtime_package_id: z.ZodNullable<z.ZodString>;
23930
+ pay_rates_rule_package_id: z.ZodNullable<z.ZodString>;
23931
+ pay_rates_package_id: z.ZodNullable<z.ZodString>;
23932
+ worked_annual_minutes: z.ZodNullable<z.ZodInt>;
23933
+ pto_annual_minutes: z.ZodNullable<z.ZodInt>;
23934
+ holiday_annual_minutes: z.ZodNullable<z.ZodInt>;
23935
+ training_annual_minutes: z.ZodNullable<z.ZodInt>;
23936
+ hourly_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23937
+ training_annual_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23938
+ employer_combined_health_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23939
+ employer_combined_savings_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23940
+ currency: z.ZodString;
23941
+ valid_from: z.ZodNullable<z.ZodISODateTime>;
23942
+ valid_to: z.ZodNullable<z.ZodISODateTime>;
23141
23943
  created_at: z.ZodISODateTime;
23142
23944
  updated_at: z.ZodISODateTime;
23143
23945
  }, z.core.$strip>;
23144
- export declare const zListCustomFieldsPath: z.ZodObject<{
23946
+ export declare const zDeleteEmploymentScheduledChangeHeaders: z.ZodObject<{
23947
+ 'If-Match': z.ZodString;
23948
+ }, z.core.$strip>;
23949
+ export declare const zDeleteEmploymentScheduledChangePath: z.ZodObject<{
23145
23950
  employment_id: z.ZodString;
23951
+ effective_date: z.ZodISODate;
23146
23952
  }, z.core.$strip>;
23147
23953
  /**
23148
- * Success
23954
+ * No Content
23149
23955
  */
23150
- export declare const zListCustomFieldsResponse: z.ZodObject<{
23151
- data: z.ZodArray<z.ZodObject<{
23152
- custom_field_config_id: z.ZodString;
23153
- value: z.ZodNullable<z.ZodString>;
23154
- }, z.core.$strip>>;
23155
- }, z.core.$strip>;
23156
- export declare const zUpdateCustomFieldBody: z.ZodObject<{
23157
- custom_fields: z.ZodArray<z.ZodObject<{
23158
- custom_field_config_id: z.ZodString;
23159
- value: z.ZodNullable<z.ZodString>;
23160
- }, z.core.$strip>>;
23956
+ export declare const zDeleteEmploymentScheduledChangeResponse: z.ZodVoid;
23957
+ export declare const zUpdateEmploymentScheduledChangeBody: z.ZodObject<{
23958
+ compensation_type: z.ZodOptional<z.ZodEnum<{
23959
+ hourly: "hourly";
23960
+ salary: "salary";
23961
+ }>>;
23962
+ hourly_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23963
+ overtime_eligible: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
23964
+ overtime_package_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23965
+ worked_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
23966
+ pto_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
23967
+ holiday_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
23968
+ training_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
23969
+ training_annual_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23970
+ employer_combined_health_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23971
+ employer_combined_savings_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23972
+ companies_department_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23161
23973
  }, z.core.$strip>;
23162
- export declare const zUpdateCustomFieldHeaders: z.ZodObject<{
23974
+ export declare const zUpdateEmploymentScheduledChangeHeaders: z.ZodObject<{
23163
23975
  'If-Match': z.ZodString;
23164
23976
  }, z.core.$strip>;
23165
- export declare const zUpdateCustomFieldPath: z.ZodObject<{
23977
+ export declare const zUpdateEmploymentScheduledChangePath: z.ZodObject<{
23166
23978
  employment_id: z.ZodString;
23979
+ effective_date: z.ZodISODate;
23167
23980
  }, z.core.$strip>;
23168
23981
  /**
23169
23982
  * Success
23170
23983
  */
23171
- export declare const zUpdateCustomFieldResponse: z.ZodObject<{
23172
- data: z.ZodArray<z.ZodObject<{
23173
- custom_field_config_id: z.ZodString;
23174
- value: z.ZodNullable<z.ZodString>;
23175
- }, z.core.$strip>>;
23176
- }, z.core.$strip>;
23177
- export declare const zUpdateGenesisBody: z.ZodObject<{
23178
- effective_date: z.ZodOptional<z.ZodISODate>;
23984
+ export declare const zUpdateEmploymentScheduledChangeResponse: z.ZodObject<{
23985
+ id: z.ZodString;
23986
+ user_id: z.ZodString;
23987
+ company_id: z.ZodString;
23988
+ type: z.ZodEnum<{
23989
+ EMPLOYEE: "EMPLOYEE";
23990
+ CONTRACTOR: "CONTRACTOR";
23991
+ }>;
23992
+ title: z.ZodNullable<z.ZodString>;
23993
+ compensation_type: z.ZodEnum<{
23994
+ hourly: "hourly";
23995
+ salary: "salary";
23996
+ }>;
23997
+ payroll_id: z.ZodNullable<z.ZodString>;
23998
+ manager_user_id: z.ZodNullable<z.ZodString>;
23999
+ companies_department_id: z.ZodNullable<z.ZodString>;
24000
+ enrolled_in_t_and_a: z.ZodBoolean;
24001
+ overtime_eligible: z.ZodNullable<z.ZodBoolean>;
24002
+ overtime_package_id: z.ZodNullable<z.ZodString>;
24003
+ pay_rates_rule_package_id: z.ZodNullable<z.ZodString>;
24004
+ pay_rates_package_id: z.ZodNullable<z.ZodString>;
24005
+ worked_annual_minutes: z.ZodNullable<z.ZodInt>;
24006
+ pto_annual_minutes: z.ZodNullable<z.ZodInt>;
24007
+ holiday_annual_minutes: z.ZodNullable<z.ZodInt>;
24008
+ training_annual_minutes: z.ZodNullable<z.ZodInt>;
24009
+ hourly_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24010
+ training_annual_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24011
+ employer_combined_health_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24012
+ employer_combined_savings_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24013
+ currency: z.ZodString;
24014
+ valid_from: z.ZodNullable<z.ZodISODateTime>;
24015
+ valid_to: z.ZodNullable<z.ZodISODateTime>;
24016
+ created_at: z.ZodISODateTime;
24017
+ updated_at: z.ZodISODateTime;
23179
24018
  }, z.core.$strip>;
23180
- export declare const zUpdateGenesisHeaders: z.ZodObject<{
24019
+ export declare const zDeleteScheduledTerminationHeaders: z.ZodObject<{
23181
24020
  'If-Match': z.ZodString;
23182
24021
  }, z.core.$strip>;
23183
- export declare const zUpdateGenesisPath: z.ZodObject<{
24022
+ export declare const zDeleteScheduledTerminationPath: z.ZodObject<{
23184
24023
  employment_id: z.ZodString;
23185
24024
  }, z.core.$strip>;
23186
24025
  /**
23187
24026
  * Success
23188
24027
  */
23189
- export declare const zUpdateGenesisResponse: z.ZodObject<{
24028
+ export declare const zDeleteScheduledTerminationResponse: z.ZodObject<{
23190
24029
  id: z.ZodString;
23191
24030
  user_id: z.ZodString;
23192
24031
  company_id: z.ZodString;
@@ -23221,121 +24060,70 @@ export declare const zUpdateGenesisResponse: z.ZodObject<{
23221
24060
  created_at: z.ZodISODateTime;
23222
24061
  updated_at: z.ZodISODateTime;
23223
24062
  }, z.core.$strip>;
23224
- export declare const zListEmploymentHistoryPath: z.ZodObject<{
23225
- employment_id: z.ZodString;
24063
+ export declare const zCreateEmploymentScheduledTerminationBody: z.ZodObject<{
24064
+ effective_date: z.ZodISODate;
23226
24065
  }, z.core.$strip>;
23227
- export declare const zListEmploymentHistoryQuery: z.ZodObject<{
23228
- 'as_of[valid]': z.ZodOptional<z.ZodString>;
23229
- 'as_of[transaction]': z.ZodOptional<z.ZodString>;
23230
- 'page[cursor]': z.ZodOptional<z.ZodString>;
23231
- 'page[limit]': z.ZodDefault<z.ZodOptional<z.ZodInt>>;
23232
- page: z.ZodOptional<z.ZodString>;
24066
+ export declare const zCreateEmploymentScheduledTerminationHeaders: z.ZodObject<{
24067
+ 'If-Match': z.ZodString;
24068
+ }, z.core.$strip>;
24069
+ export declare const zCreateEmploymentScheduledTerminationPath: z.ZodObject<{
24070
+ employment_id: z.ZodString;
23233
24071
  }, z.core.$strip>;
23234
24072
  /**
23235
- * Success
24073
+ * Created
23236
24074
  */
23237
- export declare const zListEmploymentHistoryResponse: z.ZodObject<{
23238
- meta: z.ZodObject<{
23239
- page: z.ZodObject<{
23240
- next_cursor: z.ZodNullable<z.ZodString>;
23241
- current_cursor: z.ZodNullable<z.ZodString>;
23242
- }, z.core.$strip>;
23243
- }, z.core.$strip>;
23244
- links: z.ZodObject<{
23245
- self: z.ZodString;
23246
- first: z.ZodNullable<z.ZodString>;
23247
- next: z.ZodNullable<z.ZodString>;
23248
- }, z.core.$strip>;
23249
- data: z.ZodArray<z.ZodObject<{
23250
- people_employment_id: z.ZodString;
23251
- user_id: z.ZodString;
23252
- company_id: z.ZodString;
23253
- type: z.ZodEnum<{
23254
- EMPLOYEE: "EMPLOYEE";
23255
- CONTRACTOR: "CONTRACTOR";
23256
- }>;
23257
- title: z.ZodNullable<z.ZodString>;
23258
- compensation_type: z.ZodEnum<{
23259
- hourly: "hourly";
23260
- salary: "salary";
23261
- }>;
23262
- payroll_id: z.ZodNullable<z.ZodString>;
23263
- manager_user_id: z.ZodNullable<z.ZodString>;
23264
- companies_department_id: z.ZodNullable<z.ZodString>;
23265
- enrolled_in_t_and_a: z.ZodBoolean;
23266
- overtime_eligible: z.ZodNullable<z.ZodBoolean>;
23267
- overtime_package_id: z.ZodNullable<z.ZodString>;
23268
- pay_rates_rule_package_id: z.ZodNullable<z.ZodString>;
23269
- pay_rates_package_id: z.ZodNullable<z.ZodString>;
23270
- worked_annual_minutes: z.ZodNullable<z.ZodInt>;
23271
- pto_annual_minutes: z.ZodNullable<z.ZodInt>;
23272
- holiday_annual_minutes: z.ZodNullable<z.ZodInt>;
23273
- training_annual_minutes: z.ZodNullable<z.ZodInt>;
23274
- hourly_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23275
- training_annual_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23276
- employer_combined_health_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23277
- employer_combined_savings_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23278
- currency: z.ZodString;
23279
- valid_from: z.ZodNullable<z.ZodISODateTime>;
23280
- valid_to: z.ZodNullable<z.ZodISODateTime>;
23281
- created_at: z.ZodISODateTime;
23282
- updated_at: z.ZodISODateTime;
23283
- version_status: z.ZodEnum<{
23284
- scheduled: "scheduled";
23285
- current: "current";
23286
- historical: "historical";
23287
- }>;
23288
- corrections: z.ZodArray<z.ZodObject<{
23289
- people_employment_id: z.ZodString;
23290
- user_id: z.ZodString;
23291
- company_id: z.ZodString;
23292
- type: z.ZodEnum<{
23293
- EMPLOYEE: "EMPLOYEE";
23294
- CONTRACTOR: "CONTRACTOR";
23295
- }>;
23296
- title: z.ZodNullable<z.ZodString>;
23297
- compensation_type: z.ZodEnum<{
23298
- hourly: "hourly";
23299
- salary: "salary";
23300
- }>;
23301
- payroll_id: z.ZodNullable<z.ZodString>;
23302
- manager_user_id: z.ZodNullable<z.ZodString>;
23303
- companies_department_id: z.ZodNullable<z.ZodString>;
23304
- enrolled_in_t_and_a: z.ZodBoolean;
23305
- overtime_eligible: z.ZodNullable<z.ZodBoolean>;
23306
- overtime_package_id: z.ZodNullable<z.ZodString>;
23307
- pay_rates_rule_package_id: z.ZodNullable<z.ZodString>;
23308
- pay_rates_package_id: z.ZodNullable<z.ZodString>;
23309
- worked_annual_minutes: z.ZodNullable<z.ZodInt>;
23310
- pto_annual_minutes: z.ZodNullable<z.ZodInt>;
23311
- holiday_annual_minutes: z.ZodNullable<z.ZodInt>;
23312
- training_annual_minutes: z.ZodNullable<z.ZodInt>;
23313
- hourly_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23314
- training_annual_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23315
- employer_combined_health_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23316
- employer_combined_savings_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23317
- currency: z.ZodString;
23318
- valid_from: z.ZodNullable<z.ZodISODateTime>;
23319
- valid_to: z.ZodNullable<z.ZodISODateTime>;
23320
- created_at: z.ZodISODateTime;
23321
- updated_at: z.ZodISODateTime;
23322
- }, z.core.$strip>>;
23323
- }, z.core.$strip>>;
24075
+ export declare const zCreateEmploymentScheduledTerminationResponse: z.ZodObject<{
24076
+ id: z.ZodString;
24077
+ user_id: z.ZodString;
24078
+ company_id: z.ZodString;
24079
+ type: z.ZodEnum<{
24080
+ EMPLOYEE: "EMPLOYEE";
24081
+ CONTRACTOR: "CONTRACTOR";
24082
+ }>;
24083
+ title: z.ZodNullable<z.ZodString>;
24084
+ compensation_type: z.ZodEnum<{
24085
+ hourly: "hourly";
24086
+ salary: "salary";
24087
+ }>;
24088
+ payroll_id: z.ZodNullable<z.ZodString>;
24089
+ manager_user_id: z.ZodNullable<z.ZodString>;
24090
+ companies_department_id: z.ZodNullable<z.ZodString>;
24091
+ enrolled_in_t_and_a: z.ZodBoolean;
24092
+ overtime_eligible: z.ZodNullable<z.ZodBoolean>;
24093
+ overtime_package_id: z.ZodNullable<z.ZodString>;
24094
+ pay_rates_rule_package_id: z.ZodNullable<z.ZodString>;
24095
+ pay_rates_package_id: z.ZodNullable<z.ZodString>;
24096
+ worked_annual_minutes: z.ZodNullable<z.ZodInt>;
24097
+ pto_annual_minutes: z.ZodNullable<z.ZodInt>;
24098
+ holiday_annual_minutes: z.ZodNullable<z.ZodInt>;
24099
+ training_annual_minutes: z.ZodNullable<z.ZodInt>;
24100
+ hourly_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24101
+ training_annual_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24102
+ employer_combined_health_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24103
+ employer_combined_savings_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24104
+ currency: z.ZodString;
24105
+ valid_from: z.ZodNullable<z.ZodISODateTime>;
24106
+ valid_to: z.ZodNullable<z.ZodISODateTime>;
24107
+ created_at: z.ZodISODateTime;
24108
+ updated_at: z.ZodISODateTime;
23324
24109
  }, z.core.$strip>;
23325
- export declare const zListEmploymentsHistoryQuery: z.ZodObject<{
24110
+ export declare const zListEmploymentsQuery: z.ZodObject<{
23326
24111
  'filter[user_id]': z.ZodOptional<z.ZodString>;
23327
- 'as_of[valid]': z.ZodOptional<z.ZodString>;
23328
- 'as_of[transaction]': z.ZodOptional<z.ZodString>;
23329
24112
  filter: z.ZodOptional<z.ZodString>;
23330
24113
  'filter[unexpected]': z.ZodOptional<z.ZodString>;
24114
+ 'as_of[valid]': z.ZodOptional<z.ZodISODateTime>;
24115
+ as_of: z.ZodOptional<z.ZodString>;
24116
+ 'as_of[bogus_axis]': z.ZodOptional<z.ZodString>;
24117
+ 'as_of[valid][gte]': z.ZodOptional<z.ZodString>;
24118
+ 'as_of[transaction]': z.ZodOptional<z.ZodString>;
23331
24119
  'page[cursor]': z.ZodOptional<z.ZodString>;
23332
24120
  'page[limit]': z.ZodDefault<z.ZodOptional<z.ZodInt>>;
23333
24121
  page: z.ZodOptional<z.ZodString>;
23334
24122
  }, z.core.$strip>;
23335
24123
  /**
23336
- * Success
24124
+ * Success in a gap between employment stints
23337
24125
  */
23338
- export declare const zListEmploymentsHistoryResponse: z.ZodObject<{
24126
+ export declare const zListEmploymentsResponse: z.ZodObject<{
23339
24127
  meta: z.ZodObject<{
23340
24128
  page: z.ZodObject<{
23341
24129
  next_cursor: z.ZodNullable<z.ZodString>;
@@ -23348,7 +24136,7 @@ export declare const zListEmploymentsHistoryResponse: z.ZodObject<{
23348
24136
  next: z.ZodNullable<z.ZodString>;
23349
24137
  }, z.core.$strip>;
23350
24138
  data: z.ZodArray<z.ZodObject<{
23351
- people_employment_id: z.ZodString;
24139
+ id: z.ZodString;
23352
24140
  user_id: z.ZodString;
23353
24141
  company_id: z.ZodString;
23354
24142
  type: z.ZodEnum<{
@@ -23381,49 +24169,19 @@ export declare const zListEmploymentsHistoryResponse: z.ZodObject<{
23381
24169
  valid_to: z.ZodNullable<z.ZodISODateTime>;
23382
24170
  created_at: z.ZodISODateTime;
23383
24171
  updated_at: z.ZodISODateTime;
23384
- version_status: z.ZodEnum<{
23385
- scheduled: "scheduled";
23386
- current: "current";
23387
- historical: "historical";
23388
- }>;
23389
- corrections: z.ZodArray<z.ZodObject<{
23390
- people_employment_id: z.ZodString;
23391
- user_id: z.ZodString;
23392
- company_id: z.ZodString;
23393
- type: z.ZodEnum<{
23394
- EMPLOYEE: "EMPLOYEE";
23395
- CONTRACTOR: "CONTRACTOR";
23396
- }>;
23397
- title: z.ZodNullable<z.ZodString>;
23398
- compensation_type: z.ZodEnum<{
23399
- hourly: "hourly";
23400
- salary: "salary";
23401
- }>;
23402
- payroll_id: z.ZodNullable<z.ZodString>;
23403
- manager_user_id: z.ZodNullable<z.ZodString>;
23404
- companies_department_id: z.ZodNullable<z.ZodString>;
23405
- enrolled_in_t_and_a: z.ZodBoolean;
23406
- overtime_eligible: z.ZodNullable<z.ZodBoolean>;
23407
- overtime_package_id: z.ZodNullable<z.ZodString>;
23408
- pay_rates_rule_package_id: z.ZodNullable<z.ZodString>;
23409
- pay_rates_package_id: z.ZodNullable<z.ZodString>;
23410
- worked_annual_minutes: z.ZodNullable<z.ZodInt>;
23411
- pto_annual_minutes: z.ZodNullable<z.ZodInt>;
23412
- holiday_annual_minutes: z.ZodNullable<z.ZodInt>;
23413
- training_annual_minutes: z.ZodNullable<z.ZodInt>;
23414
- hourly_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23415
- training_annual_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23416
- employer_combined_health_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23417
- employer_combined_savings_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23418
- currency: z.ZodString;
23419
- valid_from: z.ZodNullable<z.ZodISODateTime>;
23420
- valid_to: z.ZodNullable<z.ZodISODateTime>;
23421
- created_at: z.ZodISODateTime;
23422
- updated_at: z.ZodISODateTime;
23423
- }, z.core.$strip>>;
23424
24172
  }, z.core.$strip>>;
23425
24173
  }, z.core.$strip>;
23426
- export declare const zCreateEmploymentScheduledChangeBody: z.ZodObject<{
24174
+ export declare const zCreateEmploymentBody: z.ZodObject<{
24175
+ user_id: z.ZodString;
24176
+ hire_date: z.ZodISODate;
24177
+ type: z.ZodOptional<z.ZodEnum<{
24178
+ EMPLOYEE: "EMPLOYEE";
24179
+ CONTRACTOR: "CONTRACTOR";
24180
+ }>>;
24181
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24182
+ manager_user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24183
+ payroll_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24184
+ enrolled_in_t_and_a: z.ZodOptional<z.ZodBoolean>;
23427
24185
  compensation_type: z.ZodOptional<z.ZodEnum<{
23428
24186
  hourly: "hourly";
23429
24187
  salary: "salary";
@@ -23438,19 +24196,11 @@ export declare const zCreateEmploymentScheduledChangeBody: z.ZodObject<{
23438
24196
  training_annual_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23439
24197
  employer_combined_health_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23440
24198
  employer_combined_savings_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23441
- companies_department_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23442
- effective_date: z.ZodISODate;
23443
- }, z.core.$strip>;
23444
- export declare const zCreateEmploymentScheduledChangeHeaders: z.ZodObject<{
23445
- 'If-Match': z.ZodString;
23446
- }, z.core.$strip>;
23447
- export declare const zCreateEmploymentScheduledChangePath: z.ZodObject<{
23448
- employment_id: z.ZodString;
23449
24199
  }, z.core.$strip>;
23450
24200
  /**
23451
24201
  * Created
23452
24202
  */
23453
- export declare const zCreateEmploymentScheduledChangeResponse: z.ZodObject<{
24203
+ export declare const zCreateEmploymentResponse: z.ZodObject<{
23454
24204
  id: z.ZodString;
23455
24205
  user_id: z.ZodString;
23456
24206
  company_id: z.ZodString;
@@ -23482,48 +24232,19 @@ export declare const zCreateEmploymentScheduledChangeResponse: z.ZodObject<{
23482
24232
  currency: z.ZodString;
23483
24233
  valid_from: z.ZodNullable<z.ZodISODateTime>;
23484
24234
  valid_to: z.ZodNullable<z.ZodISODateTime>;
23485
- created_at: z.ZodISODateTime;
23486
- updated_at: z.ZodISODateTime;
23487
- }, z.core.$strip>;
23488
- export declare const zDeleteEmploymentScheduledChangeHeaders: z.ZodObject<{
23489
- 'If-Match': z.ZodString;
23490
- }, z.core.$strip>;
23491
- export declare const zDeleteEmploymentScheduledChangePath: z.ZodObject<{
23492
- employment_id: z.ZodString;
23493
- effective_date: z.ZodISODate;
23494
- }, z.core.$strip>;
23495
- /**
23496
- * No Content
23497
- */
23498
- export declare const zDeleteEmploymentScheduledChangeResponse: z.ZodVoid;
23499
- export declare const zUpdateEmploymentScheduledChangeBody: z.ZodObject<{
23500
- compensation_type: z.ZodOptional<z.ZodEnum<{
23501
- hourly: "hourly";
23502
- salary: "salary";
23503
- }>>;
23504
- hourly_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23505
- overtime_eligible: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
23506
- overtime_package_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23507
- worked_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
23508
- pto_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
23509
- holiday_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
23510
- training_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
23511
- training_annual_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23512
- employer_combined_health_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23513
- employer_combined_savings_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23514
- companies_department_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24235
+ created_at: z.ZodISODateTime;
24236
+ updated_at: z.ZodISODateTime;
23515
24237
  }, z.core.$strip>;
23516
- export declare const zUpdateEmploymentScheduledChangeHeaders: z.ZodObject<{
24238
+ export declare const zDeleteEmploymentHeaders: z.ZodObject<{
23517
24239
  'If-Match': z.ZodString;
23518
24240
  }, z.core.$strip>;
23519
- export declare const zUpdateEmploymentScheduledChangePath: z.ZodObject<{
23520
- employment_id: z.ZodString;
23521
- effective_date: z.ZodISODate;
24241
+ export declare const zDeleteEmploymentPath: z.ZodObject<{
24242
+ id: z.ZodString;
23522
24243
  }, z.core.$strip>;
23523
24244
  /**
23524
24245
  * Success
23525
24246
  */
23526
- export declare const zUpdateEmploymentScheduledChangeResponse: z.ZodObject<{
24247
+ export declare const zDeleteEmploymentResponse: z.ZodObject<{
23527
24248
  id: z.ZodString;
23528
24249
  user_id: z.ZodString;
23529
24250
  company_id: z.ZodString;
@@ -23558,16 +24279,16 @@ export declare const zUpdateEmploymentScheduledChangeResponse: z.ZodObject<{
23558
24279
  created_at: z.ZodISODateTime;
23559
24280
  updated_at: z.ZodISODateTime;
23560
24281
  }, z.core.$strip>;
23561
- export declare const zDeleteScheduledTerminationHeaders: z.ZodObject<{
23562
- 'If-Match': z.ZodString;
24282
+ export declare const zGetEmploymentPath: z.ZodObject<{
24283
+ id: z.ZodString;
23563
24284
  }, z.core.$strip>;
23564
- export declare const zDeleteScheduledTerminationPath: z.ZodObject<{
23565
- employment_id: z.ZodString;
24285
+ export declare const zGetEmploymentQuery: z.ZodObject<{
24286
+ 'as_of[valid]': z.ZodOptional<z.ZodISODateTime>;
23566
24287
  }, z.core.$strip>;
23567
24288
  /**
23568
24289
  * Success
23569
24290
  */
23570
- export declare const zDeleteScheduledTerminationResponse: z.ZodObject<{
24291
+ export declare const zGetEmploymentResponse: z.ZodObject<{
23571
24292
  id: z.ZodString;
23572
24293
  user_id: z.ZodString;
23573
24294
  company_id: z.ZodString;
@@ -23602,19 +24323,26 @@ export declare const zDeleteScheduledTerminationResponse: z.ZodObject<{
23602
24323
  created_at: z.ZodISODateTime;
23603
24324
  updated_at: z.ZodISODateTime;
23604
24325
  }, z.core.$strip>;
23605
- export declare const zCreateEmploymentScheduledTerminationBody: z.ZodObject<{
23606
- effective_date: z.ZodISODate;
24326
+ export declare const zUpdateEmploymentBody: z.ZodObject<{
24327
+ type: z.ZodOptional<z.ZodEnum<{
24328
+ EMPLOYEE: "EMPLOYEE";
24329
+ CONTRACTOR: "CONTRACTOR";
24330
+ }>>;
24331
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24332
+ manager_user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24333
+ payroll_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24334
+ enrolled_in_t_and_a: z.ZodOptional<z.ZodBoolean>;
23607
24335
  }, z.core.$strip>;
23608
- export declare const zCreateEmploymentScheduledTerminationHeaders: z.ZodObject<{
24336
+ export declare const zUpdateEmploymentHeaders: z.ZodObject<{
23609
24337
  'If-Match': z.ZodString;
23610
24338
  }, z.core.$strip>;
23611
- export declare const zCreateEmploymentScheduledTerminationPath: z.ZodObject<{
23612
- employment_id: z.ZodString;
24339
+ export declare const zUpdateEmploymentPath: z.ZodObject<{
24340
+ id: z.ZodString;
23613
24341
  }, z.core.$strip>;
23614
24342
  /**
23615
- * Created
24343
+ * Success
23616
24344
  */
23617
- export declare const zCreateEmploymentScheduledTerminationResponse: z.ZodObject<{
24345
+ export declare const zUpdateEmploymentResponse: z.ZodObject<{
23618
24346
  id: z.ZodString;
23619
24347
  user_id: z.ZodString;
23620
24348
  company_id: z.ZodString;
@@ -23649,23 +24377,269 @@ export declare const zCreateEmploymentScheduledTerminationResponse: z.ZodObject<
23649
24377
  created_at: z.ZodISODateTime;
23650
24378
  updated_at: z.ZodISODateTime;
23651
24379
  }, z.core.$strip>;
23652
- export declare const zListEmploymentsQuery: z.ZodObject<{
23653
- 'filter[user_id]': z.ZodOptional<z.ZodString>;
24380
+ export declare const zListPerDiemsQuery: z.ZodObject<{
24381
+ 'filter[default]': z.ZodOptional<z.ZodBoolean>;
24382
+ 'filter[taxable]': z.ZodOptional<z.ZodBoolean>;
24383
+ 'filter[name]': z.ZodOptional<z.ZodString>;
24384
+ 'filter[created_at][gte]': z.ZodOptional<z.ZodISODateTime>;
24385
+ 'filter[created_at][lte]': z.ZodOptional<z.ZodISODateTime>;
24386
+ 'filter[updated_at][gte]': z.ZodOptional<z.ZodISODateTime>;
24387
+ 'filter[updated_at][lte]': z.ZodOptional<z.ZodISODateTime>;
24388
+ filter: z.ZodOptional<z.ZodString>;
24389
+ 'filter[unexpected]': z.ZodOptional<z.ZodString>;
24390
+ 'page[cursor]': z.ZodOptional<z.ZodString>;
24391
+ 'page[limit]': z.ZodDefault<z.ZodOptional<z.ZodInt>>;
24392
+ page: z.ZodOptional<z.ZodString>;
24393
+ 'filter[state]': z.ZodOptional<z.ZodEnum<{
24394
+ active: "active";
24395
+ all: "all";
24396
+ inactive: "inactive";
24397
+ }>>;
24398
+ }, z.core.$strip>;
24399
+ /**
24400
+ * Success
24401
+ */
24402
+ export declare const zListPerDiemsResponse: z.ZodObject<{
24403
+ meta: z.ZodObject<{
24404
+ page: z.ZodObject<{
24405
+ next_cursor: z.ZodNullable<z.ZodString>;
24406
+ current_cursor: z.ZodNullable<z.ZodString>;
24407
+ }, z.core.$strip>;
24408
+ }, z.core.$strip>;
24409
+ links: z.ZodObject<{
24410
+ self: z.ZodString;
24411
+ first: z.ZodNullable<z.ZodString>;
24412
+ next: z.ZodNullable<z.ZodString>;
24413
+ }, z.core.$strip>;
24414
+ data: z.ZodArray<z.ZodObject<{
24415
+ id: z.ZodString;
24416
+ name: z.ZodNullable<z.ZodString>;
24417
+ description: z.ZodNullable<z.ZodString>;
24418
+ rate_cents: z.ZodNullable<z.ZodString>;
24419
+ currency: z.ZodString;
24420
+ taxable: z.ZodBoolean;
24421
+ default: z.ZodNullable<z.ZodBoolean>;
24422
+ active: z.ZodNullable<z.ZodBoolean>;
24423
+ work_type_ids: z.ZodArray<z.ZodString>;
24424
+ timekeeping_timecode_ids: z.ZodArray<z.ZodString>;
24425
+ created_at: z.ZodISODateTime;
24426
+ updated_at: z.ZodISODateTime;
24427
+ }, z.core.$strip>>;
24428
+ }, z.core.$strip>;
24429
+ export declare const zCreatePerDiemBody: z.ZodObject<{
24430
+ name: z.ZodString;
24431
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24432
+ rate_cents: z.ZodString;
24433
+ currency: z.ZodString;
24434
+ taxable: z.ZodOptional<z.ZodBoolean>;
24435
+ default: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
24436
+ active: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
24437
+ work_type_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
24438
+ timekeeping_timecode_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
24439
+ }, z.core.$strip>;
24440
+ /**
24441
+ * Created
24442
+ */
24443
+ export declare const zCreatePerDiemResponse: z.ZodObject<{
24444
+ id: z.ZodString;
24445
+ name: z.ZodNullable<z.ZodString>;
24446
+ description: z.ZodNullable<z.ZodString>;
24447
+ rate_cents: z.ZodNullable<z.ZodString>;
24448
+ currency: z.ZodString;
24449
+ taxable: z.ZodBoolean;
24450
+ default: z.ZodNullable<z.ZodBoolean>;
24451
+ active: z.ZodNullable<z.ZodBoolean>;
24452
+ work_type_ids: z.ZodArray<z.ZodString>;
24453
+ timekeeping_timecode_ids: z.ZodArray<z.ZodString>;
24454
+ created_at: z.ZodISODateTime;
24455
+ updated_at: z.ZodISODateTime;
24456
+ }, z.core.$strip>;
24457
+ export declare const zDeletePerDiemPath: z.ZodObject<{
24458
+ id: z.ZodString;
24459
+ }, z.core.$strip>;
24460
+ /**
24461
+ * Success
24462
+ */
24463
+ export declare const zDeletePerDiemResponse: z.ZodObject<{
24464
+ id: z.ZodString;
24465
+ name: z.ZodNullable<z.ZodString>;
24466
+ description: z.ZodNullable<z.ZodString>;
24467
+ rate_cents: z.ZodNullable<z.ZodString>;
24468
+ currency: z.ZodString;
24469
+ taxable: z.ZodBoolean;
24470
+ default: z.ZodNullable<z.ZodBoolean>;
24471
+ active: z.ZodNullable<z.ZodBoolean>;
24472
+ work_type_ids: z.ZodArray<z.ZodString>;
24473
+ timekeeping_timecode_ids: z.ZodArray<z.ZodString>;
24474
+ created_at: z.ZodISODateTime;
24475
+ updated_at: z.ZodISODateTime;
24476
+ }, z.core.$strip>;
24477
+ export declare const zGetPerDiemPath: z.ZodObject<{
24478
+ id: z.ZodString;
24479
+ }, z.core.$strip>;
24480
+ /**
24481
+ * Success
24482
+ */
24483
+ export declare const zGetPerDiemResponse: z.ZodObject<{
24484
+ id: z.ZodString;
24485
+ name: z.ZodNullable<z.ZodString>;
24486
+ description: z.ZodNullable<z.ZodString>;
24487
+ rate_cents: z.ZodNullable<z.ZodString>;
24488
+ currency: z.ZodString;
24489
+ taxable: z.ZodBoolean;
24490
+ default: z.ZodNullable<z.ZodBoolean>;
24491
+ active: z.ZodNullable<z.ZodBoolean>;
24492
+ work_type_ids: z.ZodArray<z.ZodString>;
24493
+ timekeeping_timecode_ids: z.ZodArray<z.ZodString>;
24494
+ created_at: z.ZodISODateTime;
24495
+ updated_at: z.ZodISODateTime;
24496
+ }, z.core.$strip>;
24497
+ export declare const zUpdatePerDiemBody: z.ZodObject<{
24498
+ name: z.ZodOptional<z.ZodString>;
24499
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24500
+ rate_cents: z.ZodOptional<z.ZodString>;
24501
+ currency: z.ZodOptional<z.ZodString>;
24502
+ taxable: z.ZodOptional<z.ZodBoolean>;
24503
+ default: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
24504
+ active: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
24505
+ work_type_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
24506
+ timekeeping_timecode_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
24507
+ }, z.core.$strip>;
24508
+ export declare const zUpdatePerDiemPath: z.ZodObject<{
24509
+ id: z.ZodString;
24510
+ }, z.core.$strip>;
24511
+ /**
24512
+ * Success
24513
+ */
24514
+ export declare const zUpdatePerDiemResponse: z.ZodObject<{
24515
+ id: z.ZodString;
24516
+ name: z.ZodNullable<z.ZodString>;
24517
+ description: z.ZodNullable<z.ZodString>;
24518
+ rate_cents: z.ZodNullable<z.ZodString>;
24519
+ currency: z.ZodString;
24520
+ taxable: z.ZodBoolean;
24521
+ default: z.ZodNullable<z.ZodBoolean>;
24522
+ active: z.ZodNullable<z.ZodBoolean>;
24523
+ work_type_ids: z.ZodArray<z.ZodString>;
24524
+ timekeeping_timecode_ids: z.ZodArray<z.ZodString>;
24525
+ created_at: z.ZodISODateTime;
24526
+ updated_at: z.ZodISODateTime;
24527
+ }, z.core.$strip>;
24528
+ export declare const zListPositionFunctionsQuery: z.ZodObject<{
24529
+ 'filter[value]': z.ZodOptional<z.ZodString>;
24530
+ filter: z.ZodOptional<z.ZodString>;
24531
+ 'filter[unexpected]': z.ZodOptional<z.ZodString>;
24532
+ }, z.core.$strip>;
24533
+ /**
24534
+ * Success
24535
+ */
24536
+ export declare const zListPositionFunctionsResponse: z.ZodObject<{
24537
+ meta: z.ZodObject<{
24538
+ page: z.ZodObject<{
24539
+ next_cursor: z.ZodNullable<z.ZodString>;
24540
+ current_cursor: z.ZodNullable<z.ZodString>;
24541
+ }, z.core.$strip>;
24542
+ }, z.core.$strip>;
24543
+ links: z.ZodObject<{
24544
+ self: z.ZodString;
24545
+ first: z.ZodNullable<z.ZodString>;
24546
+ next: z.ZodNullable<z.ZodString>;
24547
+ }, z.core.$strip>;
24548
+ data: z.ZodArray<z.ZodObject<{
24549
+ id: z.ZodString;
24550
+ value: z.ZodString;
24551
+ description: z.ZodNullable<z.ZodString>;
24552
+ scoped_to_company_id: z.ZodNullable<z.ZodString>;
24553
+ created_at: z.ZodISODateTime;
24554
+ updated_at: z.ZodISODateTime;
24555
+ }, z.core.$strip>>;
24556
+ }, z.core.$strip>;
24557
+ export declare const zCreatePositionFunctionBody: z.ZodObject<{
24558
+ value: z.ZodString;
24559
+ description: z.ZodString;
24560
+ }, z.core.$strip>;
24561
+ /**
24562
+ * Created
24563
+ */
24564
+ export declare const zCreatePositionFunctionResponse: z.ZodObject<{
24565
+ id: z.ZodString;
24566
+ value: z.ZodString;
24567
+ description: z.ZodNullable<z.ZodString>;
24568
+ scoped_to_company_id: z.ZodNullable<z.ZodString>;
24569
+ created_at: z.ZodISODateTime;
24570
+ updated_at: z.ZodISODateTime;
24571
+ }, z.core.$strip>;
24572
+ export declare const zDeletePositionFunctionPath: z.ZodObject<{
24573
+ id: z.ZodString;
24574
+ }, z.core.$strip>;
24575
+ /**
24576
+ * Success
24577
+ */
24578
+ export declare const zDeletePositionFunctionResponse: z.ZodObject<{
24579
+ id: z.ZodString;
24580
+ value: z.ZodString;
24581
+ description: z.ZodNullable<z.ZodString>;
24582
+ scoped_to_company_id: z.ZodNullable<z.ZodString>;
24583
+ created_at: z.ZodISODateTime;
24584
+ updated_at: z.ZodISODateTime;
24585
+ }, z.core.$strip>;
24586
+ export declare const zGetPositionFunctionPath: z.ZodObject<{
24587
+ id: z.ZodString;
24588
+ }, z.core.$strip>;
24589
+ /**
24590
+ * Success
24591
+ */
24592
+ export declare const zGetPositionFunctionResponse: z.ZodObject<{
24593
+ id: z.ZodString;
24594
+ value: z.ZodString;
24595
+ description: z.ZodNullable<z.ZodString>;
24596
+ scoped_to_company_id: z.ZodNullable<z.ZodString>;
24597
+ created_at: z.ZodISODateTime;
24598
+ updated_at: z.ZodISODateTime;
24599
+ }, z.core.$strip>;
24600
+ export declare const zUpdatePositionFunctionBody: z.ZodObject<{
24601
+ value: z.ZodOptional<z.ZodString>;
24602
+ description: z.ZodOptional<z.ZodString>;
24603
+ }, z.core.$strip>;
24604
+ export declare const zUpdatePositionFunctionPath: z.ZodObject<{
24605
+ id: z.ZodString;
24606
+ }, z.core.$strip>;
24607
+ /**
24608
+ * Success
24609
+ */
24610
+ export declare const zUpdatePositionFunctionResponse: z.ZodObject<{
24611
+ id: z.ZodString;
24612
+ value: z.ZodString;
24613
+ description: z.ZodNullable<z.ZodString>;
24614
+ scoped_to_company_id: z.ZodNullable<z.ZodString>;
24615
+ created_at: z.ZodISODateTime;
24616
+ updated_at: z.ZodISODateTime;
24617
+ }, z.core.$strip>;
24618
+ export declare const zListCompletionsQuery: z.ZodObject<{
24619
+ 'filter[job_id]': z.ZodOptional<z.ZodString>;
24620
+ 'filter[scope_kind]': z.ZodOptional<z.ZodString>;
24621
+ 'filter[feature_id]': z.ZodOptional<z.ZodString>;
24622
+ 'filter[created_by_user_id]': z.ZodOptional<z.ZodString>;
24623
+ 'filter[site_id]': z.ZodOptional<z.ZodString>;
24624
+ 'filter[crew_user_id]': z.ZodOptional<z.ZodString>;
24625
+ 'filter[crew_department_id]': z.ZodOptional<z.ZodString>;
24626
+ 'filter[crew_group_id]': z.ZodOptional<z.ZodString>;
24627
+ 'filter[created_at][gte]': z.ZodOptional<z.ZodISODateTime>;
24628
+ 'filter[created_at][lte]': z.ZodOptional<z.ZodISODateTime>;
24629
+ 'filter[updated_at][gte]': z.ZodOptional<z.ZodISODateTime>;
24630
+ 'filter[updated_at][lte]': z.ZodOptional<z.ZodISODateTime>;
24631
+ 'filter[work_date][gte]': z.ZodOptional<z.ZodISODate>;
24632
+ 'filter[work_date][lte]': z.ZodOptional<z.ZodISODate>;
23654
24633
  filter: z.ZodOptional<z.ZodString>;
23655
24634
  'filter[unexpected]': z.ZodOptional<z.ZodString>;
23656
- 'as_of[valid]': z.ZodOptional<z.ZodISODateTime>;
23657
- as_of: z.ZodOptional<z.ZodString>;
23658
- 'as_of[bogus_axis]': z.ZodOptional<z.ZodString>;
23659
- 'as_of[valid][gte]': z.ZodOptional<z.ZodString>;
23660
- 'as_of[transaction]': z.ZodOptional<z.ZodString>;
23661
24635
  'page[cursor]': z.ZodOptional<z.ZodString>;
23662
24636
  'page[limit]': z.ZodDefault<z.ZodOptional<z.ZodInt>>;
23663
24637
  page: z.ZodOptional<z.ZodString>;
23664
24638
  }, z.core.$strip>;
23665
24639
  /**
23666
- * Success in a gap between employment stints
24640
+ * Success
23667
24641
  */
23668
- export declare const zListEmploymentsResponse: z.ZodObject<{
24642
+ export declare const zListCompletionsResponse: z.ZodObject<{
23669
24643
  meta: z.ZodObject<{
23670
24644
  page: z.ZodObject<{
23671
24645
  next_cursor: z.ZodNullable<z.ZodString>;
@@ -23677,271 +24651,354 @@ export declare const zListEmploymentsResponse: z.ZodObject<{
23677
24651
  first: z.ZodNullable<z.ZodString>;
23678
24652
  next: z.ZodNullable<z.ZodString>;
23679
24653
  }, z.core.$strip>;
23680
- data: z.ZodArray<z.ZodObject<{
24654
+ data: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
23681
24655
  id: z.ZodString;
23682
- user_id: z.ZodString;
23683
- company_id: z.ZodString;
23684
- type: z.ZodEnum<{
23685
- EMPLOYEE: "EMPLOYEE";
23686
- CONTRACTOR: "CONTRACTOR";
23687
- }>;
23688
- title: z.ZodNullable<z.ZodString>;
23689
- compensation_type: z.ZodEnum<{
23690
- hourly: "hourly";
23691
- salary: "salary";
23692
- }>;
23693
- payroll_id: z.ZodNullable<z.ZodString>;
23694
- manager_user_id: z.ZodNullable<z.ZodString>;
23695
- companies_department_id: z.ZodNullable<z.ZodString>;
23696
- enrolled_in_t_and_a: z.ZodBoolean;
23697
- overtime_eligible: z.ZodNullable<z.ZodBoolean>;
23698
- overtime_package_id: z.ZodNullable<z.ZodString>;
23699
- pay_rates_rule_package_id: z.ZodNullable<z.ZodString>;
23700
- pay_rates_package_id: z.ZodNullable<z.ZodString>;
23701
- worked_annual_minutes: z.ZodNullable<z.ZodInt>;
23702
- pto_annual_minutes: z.ZodNullable<z.ZodInt>;
23703
- holiday_annual_minutes: z.ZodNullable<z.ZodInt>;
23704
- training_annual_minutes: z.ZodNullable<z.ZodInt>;
23705
- hourly_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23706
- training_annual_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23707
- employer_combined_health_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23708
- employer_combined_savings_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23709
- currency: z.ZodString;
23710
- valid_from: z.ZodNullable<z.ZodISODateTime>;
23711
- valid_to: z.ZodNullable<z.ZodISODateTime>;
24656
+ notes: z.ZodNullable<z.ZodString>;
24657
+ completable_id: z.ZodString;
24658
+ created_by_user_id: z.ZodString;
24659
+ production_job_scope_price_id: z.ZodString;
24660
+ job_id: z.ZodString;
24661
+ scope_kind: z.ZodString;
24662
+ unit_of_measure: z.ZodString;
24663
+ position_ids: z.ZodArray<z.ZodString>;
24664
+ feature_id: z.ZodString;
23712
24665
  created_at: z.ZodISODateTime;
23713
24666
  updated_at: z.ZodISODateTime;
23714
- }, z.core.$strip>>;
23715
- }, z.core.$strip>;
23716
- export declare const zCreateEmploymentBody: z.ZodObject<{
23717
- user_id: z.ZodString;
23718
- hire_date: z.ZodISODate;
23719
- type: z.ZodOptional<z.ZodEnum<{
23720
- EMPLOYEE: "EMPLOYEE";
23721
- CONTRACTOR: "CONTRACTOR";
23722
- }>>;
23723
- title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23724
- manager_user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23725
- payroll_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23726
- enrolled_in_t_and_a: z.ZodOptional<z.ZodBoolean>;
23727
- compensation_type: z.ZodOptional<z.ZodEnum<{
23728
- hourly: "hourly";
23729
- salary: "salary";
23730
- }>>;
23731
- hourly_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23732
- overtime_eligible: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
23733
- overtime_package_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23734
- worked_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
23735
- pto_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
23736
- holiday_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
23737
- training_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
23738
- training_annual_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23739
- employer_combined_health_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23740
- employer_combined_savings_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24667
+ work_date: z.ZodISODate;
24668
+ completable_type: z.ZodLiteral<"Production::FeatureCompletion">;
24669
+ }, z.core.$strip>, z.ZodObject<{
24670
+ id: z.ZodString;
24671
+ notes: z.ZodNullable<z.ZodString>;
24672
+ completable_id: z.ZodString;
24673
+ created_by_user_id: z.ZodString;
24674
+ production_job_scope_price_id: z.ZodString;
24675
+ job_id: z.ZodString;
24676
+ scope_kind: z.ZodString;
24677
+ unit_of_measure: z.ZodString;
24678
+ position_ids: z.ZodArray<z.ZodString>;
24679
+ quantity_completed: z.ZodInt;
24680
+ created_at: z.ZodISODateTime;
24681
+ updated_at: z.ZodISODateTime;
24682
+ work_date: z.ZodISODate;
24683
+ completable_type: z.ZodLiteral<"Production::QuantityCompletion">;
24684
+ }, z.core.$strip>], "completable_type">>;
23741
24685
  }, z.core.$strip>;
24686
+ export declare const zCreateCompletionBody: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
24687
+ production_job_scope_price_id: z.ZodOptional<z.ZodString>;
24688
+ performed_by_user_id: z.ZodString;
24689
+ notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24690
+ work_date: z.ZodOptional<z.ZodISODate>;
24691
+ position_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
24692
+ }, z.core.$strip>, z.ZodObject<{
24693
+ completable_attributes: z.ZodOptional<z.ZodObject<{
24694
+ feature_id: z.ZodOptional<z.ZodString>;
24695
+ }, z.core.$strip>>;
24696
+ }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
24697
+ production_job_scope_price_id: z.ZodOptional<z.ZodString>;
24698
+ performed_by_user_id: z.ZodString;
24699
+ notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24700
+ work_date: z.ZodOptional<z.ZodISODate>;
24701
+ position_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
24702
+ }, z.core.$strip>, z.ZodObject<{
24703
+ completable_attributes: z.ZodOptional<z.ZodObject<{
24704
+ quantity_completed: z.ZodOptional<z.ZodInt>;
24705
+ }, z.core.$strip>>;
24706
+ }, z.core.$strip>>]>;
23742
24707
  /**
23743
24708
  * Created
23744
24709
  */
23745
- export declare const zCreateEmploymentResponse: z.ZodObject<{
24710
+ export declare const zCreateCompletionResponse: z.ZodDiscriminatedUnion<[z.ZodObject<{
23746
24711
  id: z.ZodString;
23747
- user_id: z.ZodString;
23748
- company_id: z.ZodString;
23749
- type: z.ZodEnum<{
23750
- EMPLOYEE: "EMPLOYEE";
23751
- CONTRACTOR: "CONTRACTOR";
23752
- }>;
23753
- title: z.ZodNullable<z.ZodString>;
23754
- compensation_type: z.ZodEnum<{
23755
- hourly: "hourly";
23756
- salary: "salary";
23757
- }>;
23758
- payroll_id: z.ZodNullable<z.ZodString>;
23759
- manager_user_id: z.ZodNullable<z.ZodString>;
23760
- companies_department_id: z.ZodNullable<z.ZodString>;
23761
- enrolled_in_t_and_a: z.ZodBoolean;
23762
- overtime_eligible: z.ZodNullable<z.ZodBoolean>;
23763
- overtime_package_id: z.ZodNullable<z.ZodString>;
23764
- pay_rates_rule_package_id: z.ZodNullable<z.ZodString>;
23765
- pay_rates_package_id: z.ZodNullable<z.ZodString>;
23766
- worked_annual_minutes: z.ZodNullable<z.ZodInt>;
23767
- pto_annual_minutes: z.ZodNullable<z.ZodInt>;
23768
- holiday_annual_minutes: z.ZodNullable<z.ZodInt>;
23769
- training_annual_minutes: z.ZodNullable<z.ZodInt>;
23770
- hourly_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23771
- training_annual_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23772
- employer_combined_health_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23773
- employer_combined_savings_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23774
- currency: z.ZodString;
23775
- valid_from: z.ZodNullable<z.ZodISODateTime>;
23776
- valid_to: z.ZodNullable<z.ZodISODateTime>;
24712
+ notes: z.ZodNullable<z.ZodString>;
24713
+ completable_id: z.ZodString;
24714
+ created_by_user_id: z.ZodString;
24715
+ production_job_scope_price_id: z.ZodString;
24716
+ job_id: z.ZodString;
24717
+ scope_kind: z.ZodString;
24718
+ unit_of_measure: z.ZodString;
24719
+ position_ids: z.ZodArray<z.ZodString>;
24720
+ feature_id: z.ZodString;
24721
+ created_at: z.ZodISODateTime;
24722
+ updated_at: z.ZodISODateTime;
24723
+ work_date: z.ZodISODate;
24724
+ completable_type: z.ZodLiteral<"Production::FeatureCompletion">;
24725
+ }, z.core.$strip>, z.ZodObject<{
24726
+ id: z.ZodString;
24727
+ notes: z.ZodNullable<z.ZodString>;
24728
+ completable_id: z.ZodString;
24729
+ created_by_user_id: z.ZodString;
24730
+ production_job_scope_price_id: z.ZodString;
24731
+ job_id: z.ZodString;
24732
+ scope_kind: z.ZodString;
24733
+ unit_of_measure: z.ZodString;
24734
+ position_ids: z.ZodArray<z.ZodString>;
24735
+ quantity_completed: z.ZodInt;
24736
+ created_at: z.ZodISODateTime;
24737
+ updated_at: z.ZodISODateTime;
24738
+ work_date: z.ZodISODate;
24739
+ completable_type: z.ZodLiteral<"Production::QuantityCompletion">;
24740
+ }, z.core.$strip>], "completable_type">;
24741
+ export declare const zDeleteCompletionPath: z.ZodObject<{
24742
+ id: z.ZodString;
24743
+ }, z.core.$strip>;
24744
+ /**
24745
+ * Success
24746
+ */
24747
+ export declare const zDeleteCompletionResponse: z.ZodDiscriminatedUnion<[z.ZodObject<{
24748
+ id: z.ZodString;
24749
+ notes: z.ZodNullable<z.ZodString>;
24750
+ completable_id: z.ZodString;
24751
+ created_by_user_id: z.ZodString;
24752
+ production_job_scope_price_id: z.ZodString;
24753
+ job_id: z.ZodString;
24754
+ scope_kind: z.ZodString;
24755
+ unit_of_measure: z.ZodString;
24756
+ position_ids: z.ZodArray<z.ZodString>;
24757
+ feature_id: z.ZodString;
24758
+ created_at: z.ZodISODateTime;
24759
+ updated_at: z.ZodISODateTime;
24760
+ work_date: z.ZodISODate;
24761
+ completable_type: z.ZodLiteral<"Production::FeatureCompletion">;
24762
+ }, z.core.$strip>, z.ZodObject<{
24763
+ id: z.ZodString;
24764
+ notes: z.ZodNullable<z.ZodString>;
24765
+ completable_id: z.ZodString;
24766
+ created_by_user_id: z.ZodString;
24767
+ production_job_scope_price_id: z.ZodString;
24768
+ job_id: z.ZodString;
24769
+ scope_kind: z.ZodString;
24770
+ unit_of_measure: z.ZodString;
24771
+ position_ids: z.ZodArray<z.ZodString>;
24772
+ quantity_completed: z.ZodInt;
24773
+ created_at: z.ZodISODateTime;
24774
+ updated_at: z.ZodISODateTime;
24775
+ work_date: z.ZodISODate;
24776
+ completable_type: z.ZodLiteral<"Production::QuantityCompletion">;
24777
+ }, z.core.$strip>], "completable_type">;
24778
+ export declare const zGetCompletionPath: z.ZodObject<{
24779
+ id: z.ZodString;
24780
+ }, z.core.$strip>;
24781
+ /**
24782
+ * Success
24783
+ */
24784
+ export declare const zGetCompletionResponse: z.ZodDiscriminatedUnion<[z.ZodObject<{
24785
+ id: z.ZodString;
24786
+ notes: z.ZodNullable<z.ZodString>;
24787
+ completable_id: z.ZodString;
24788
+ created_by_user_id: z.ZodString;
24789
+ production_job_scope_price_id: z.ZodString;
24790
+ job_id: z.ZodString;
24791
+ scope_kind: z.ZodString;
24792
+ unit_of_measure: z.ZodString;
24793
+ position_ids: z.ZodArray<z.ZodString>;
24794
+ feature_id: z.ZodString;
23777
24795
  created_at: z.ZodISODateTime;
23778
24796
  updated_at: z.ZodISODateTime;
24797
+ work_date: z.ZodISODate;
24798
+ completable_type: z.ZodLiteral<"Production::FeatureCompletion">;
24799
+ }, z.core.$strip>, z.ZodObject<{
24800
+ id: z.ZodString;
24801
+ notes: z.ZodNullable<z.ZodString>;
24802
+ completable_id: z.ZodString;
24803
+ created_by_user_id: z.ZodString;
24804
+ production_job_scope_price_id: z.ZodString;
24805
+ job_id: z.ZodString;
24806
+ scope_kind: z.ZodString;
24807
+ unit_of_measure: z.ZodString;
24808
+ position_ids: z.ZodArray<z.ZodString>;
24809
+ quantity_completed: z.ZodInt;
24810
+ created_at: z.ZodISODateTime;
24811
+ updated_at: z.ZodISODateTime;
24812
+ work_date: z.ZodISODate;
24813
+ completable_type: z.ZodLiteral<"Production::QuantityCompletion">;
24814
+ }, z.core.$strip>], "completable_type">;
24815
+ export declare const zUpdateCompletionBody: z.ZodObject<{
24816
+ notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24817
+ work_date: z.ZodOptional<z.ZodISODate>;
24818
+ position_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
24819
+ completable_attributes: z.ZodOptional<z.ZodObject<{
24820
+ quantity_completed: z.ZodOptional<z.ZodInt>;
24821
+ }, z.core.$strip>>;
23779
24822
  }, z.core.$strip>;
23780
- export declare const zDeleteEmploymentHeaders: z.ZodObject<{
23781
- 'If-Match': z.ZodString;
23782
- }, z.core.$strip>;
23783
- export declare const zDeleteEmploymentPath: z.ZodObject<{
24823
+ export declare const zUpdateCompletionPath: z.ZodObject<{
23784
24824
  id: z.ZodString;
23785
24825
  }, z.core.$strip>;
23786
24826
  /**
23787
24827
  * Success
23788
24828
  */
23789
- export declare const zDeleteEmploymentResponse: z.ZodObject<{
24829
+ export declare const zUpdateCompletionResponse: z.ZodDiscriminatedUnion<[z.ZodObject<{
23790
24830
  id: z.ZodString;
23791
- user_id: z.ZodString;
23792
- company_id: z.ZodString;
23793
- type: z.ZodEnum<{
23794
- EMPLOYEE: "EMPLOYEE";
23795
- CONTRACTOR: "CONTRACTOR";
23796
- }>;
23797
- title: z.ZodNullable<z.ZodString>;
23798
- compensation_type: z.ZodEnum<{
23799
- hourly: "hourly";
23800
- salary: "salary";
23801
- }>;
23802
- payroll_id: z.ZodNullable<z.ZodString>;
23803
- manager_user_id: z.ZodNullable<z.ZodString>;
23804
- companies_department_id: z.ZodNullable<z.ZodString>;
23805
- enrolled_in_t_and_a: z.ZodBoolean;
23806
- overtime_eligible: z.ZodNullable<z.ZodBoolean>;
23807
- overtime_package_id: z.ZodNullable<z.ZodString>;
23808
- pay_rates_rule_package_id: z.ZodNullable<z.ZodString>;
23809
- pay_rates_package_id: z.ZodNullable<z.ZodString>;
23810
- worked_annual_minutes: z.ZodNullable<z.ZodInt>;
23811
- pto_annual_minutes: z.ZodNullable<z.ZodInt>;
23812
- holiday_annual_minutes: z.ZodNullable<z.ZodInt>;
23813
- training_annual_minutes: z.ZodNullable<z.ZodInt>;
23814
- hourly_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23815
- training_annual_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23816
- employer_combined_health_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23817
- employer_combined_savings_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23818
- currency: z.ZodString;
23819
- valid_from: z.ZodNullable<z.ZodISODateTime>;
23820
- valid_to: z.ZodNullable<z.ZodISODateTime>;
24831
+ notes: z.ZodNullable<z.ZodString>;
24832
+ completable_id: z.ZodString;
24833
+ created_by_user_id: z.ZodString;
24834
+ production_job_scope_price_id: z.ZodString;
24835
+ job_id: z.ZodString;
24836
+ scope_kind: z.ZodString;
24837
+ unit_of_measure: z.ZodString;
24838
+ position_ids: z.ZodArray<z.ZodString>;
24839
+ feature_id: z.ZodString;
23821
24840
  created_at: z.ZodISODateTime;
23822
24841
  updated_at: z.ZodISODateTime;
23823
- }, z.core.$strip>;
23824
- export declare const zGetEmploymentPath: z.ZodObject<{
24842
+ work_date: z.ZodISODate;
24843
+ completable_type: z.ZodLiteral<"Production::FeatureCompletion">;
24844
+ }, z.core.$strip>, z.ZodObject<{
23825
24845
  id: z.ZodString;
24846
+ notes: z.ZodNullable<z.ZodString>;
24847
+ completable_id: z.ZodString;
24848
+ created_by_user_id: z.ZodString;
24849
+ production_job_scope_price_id: z.ZodString;
24850
+ job_id: z.ZodString;
24851
+ scope_kind: z.ZodString;
24852
+ unit_of_measure: z.ZodString;
24853
+ position_ids: z.ZodArray<z.ZodString>;
24854
+ quantity_completed: z.ZodInt;
24855
+ created_at: z.ZodISODateTime;
24856
+ updated_at: z.ZodISODateTime;
24857
+ work_date: z.ZodISODate;
24858
+ completable_type: z.ZodLiteral<"Production::QuantityCompletion">;
24859
+ }, z.core.$strip>], "completable_type">;
24860
+ export declare const zCreateProjectTradeBody: z.ZodObject<{
24861
+ name: z.ZodString;
23826
24862
  }, z.core.$strip>;
23827
- export declare const zGetEmploymentQuery: z.ZodObject<{
23828
- 'as_of[valid]': z.ZodOptional<z.ZodISODateTime>;
24863
+ export declare const zCreateProjectTradePath: z.ZodObject<{
24864
+ project_id: z.ZodString;
23829
24865
  }, z.core.$strip>;
23830
24866
  /**
23831
- * Success
24867
+ * Created
23832
24868
  */
23833
- export declare const zGetEmploymentResponse: z.ZodObject<{
24869
+ export declare const zCreateProjectTradeResponse: z.ZodObject<{
23834
24870
  id: z.ZodString;
23835
- user_id: z.ZodString;
23836
- company_id: z.ZodString;
23837
- type: z.ZodEnum<{
23838
- EMPLOYEE: "EMPLOYEE";
23839
- CONTRACTOR: "CONTRACTOR";
23840
- }>;
23841
- title: z.ZodNullable<z.ZodString>;
23842
- compensation_type: z.ZodEnum<{
23843
- hourly: "hourly";
23844
- salary: "salary";
23845
- }>;
23846
- payroll_id: z.ZodNullable<z.ZodString>;
23847
- manager_user_id: z.ZodNullable<z.ZodString>;
23848
- companies_department_id: z.ZodNullable<z.ZodString>;
23849
- enrolled_in_t_and_a: z.ZodBoolean;
23850
- overtime_eligible: z.ZodNullable<z.ZodBoolean>;
23851
- overtime_package_id: z.ZodNullable<z.ZodString>;
23852
- pay_rates_rule_package_id: z.ZodNullable<z.ZodString>;
23853
- pay_rates_package_id: z.ZodNullable<z.ZodString>;
23854
- worked_annual_minutes: z.ZodNullable<z.ZodInt>;
23855
- pto_annual_minutes: z.ZodNullable<z.ZodInt>;
23856
- holiday_annual_minutes: z.ZodNullable<z.ZodInt>;
23857
- training_annual_minutes: z.ZodNullable<z.ZodInt>;
23858
- hourly_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23859
- training_annual_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23860
- employer_combined_health_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23861
- employer_combined_savings_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23862
- currency: z.ZodString;
23863
- valid_from: z.ZodNullable<z.ZodISODateTime>;
23864
- valid_to: z.ZodNullable<z.ZodISODateTime>;
24871
+ project_id: z.ZodNullable<z.ZodString>;
24872
+ job_id: z.ZodNullable<z.ZodString>;
24873
+ name: z.ZodString;
24874
+ normalized_key: z.ZodString;
23865
24875
  created_at: z.ZodISODateTime;
23866
24876
  updated_at: z.ZodISODateTime;
23867
24877
  }, z.core.$strip>;
23868
- export declare const zUpdateEmploymentBody: z.ZodObject<{
23869
- type: z.ZodOptional<z.ZodEnum<{
23870
- EMPLOYEE: "EMPLOYEE";
23871
- CONTRACTOR: "CONTRACTOR";
23872
- }>>;
23873
- title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23874
- manager_user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23875
- payroll_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23876
- enrolled_in_t_and_a: z.ZodOptional<z.ZodBoolean>;
24878
+ export declare const zListProjectWageDeterminationRateRuleHistoryPath: z.ZodObject<{
24879
+ project_id: z.ZodString;
24880
+ wage_determination_id: z.ZodString;
24881
+ rate_rule_id: z.ZodString;
23877
24882
  }, z.core.$strip>;
23878
- export declare const zUpdateEmploymentHeaders: z.ZodObject<{
23879
- 'If-Match': z.ZodString;
24883
+ export declare const zListProjectWageDeterminationRateRuleHistoryQuery: z.ZodObject<{
24884
+ 'as_of[valid]': z.ZodOptional<z.ZodString>;
23880
24885
  }, z.core.$strip>;
23881
- export declare const zUpdateEmploymentPath: z.ZodObject<{
23882
- id: z.ZodString;
24886
+ /**
24887
+ * Success
24888
+ */
24889
+ export declare const zListProjectWageDeterminationRateRuleHistoryResponse: z.ZodObject<{
24890
+ meta: z.ZodObject<{
24891
+ page: z.ZodObject<{
24892
+ next_cursor: z.ZodNullable<z.ZodString>;
24893
+ current_cursor: z.ZodNullable<z.ZodString>;
24894
+ }, z.core.$strip>;
24895
+ }, z.core.$strip>;
24896
+ links: z.ZodObject<{
24897
+ self: z.ZodString;
24898
+ first: z.ZodNullable<z.ZodString>;
24899
+ next: z.ZodNullable<z.ZodString>;
24900
+ }, z.core.$strip>;
24901
+ data: z.ZodArray<z.ZodObject<{
24902
+ pay_rates_rule_id: z.ZodString;
24903
+ project_wage_determination_id: z.ZodString;
24904
+ pay_rates_rule_package_id: z.ZodString;
24905
+ effect: z.ZodObject<{
24906
+ type: z.ZodEnum<{
24907
+ wage_increment: "wage_increment";
24908
+ fringe_increment: "fringe_increment";
24909
+ }>;
24910
+ amount_cents: z.ZodString;
24911
+ }, z.core.$strip>;
24912
+ conditions: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
24913
+ start_time: z.ZodString;
24914
+ end_time: z.ZodString;
24915
+ type: z.ZodLiteral<"time_range">;
24916
+ }, z.core.$strip>, z.ZodObject<{
24917
+ days: z.ZodArray<z.ZodInt>;
24918
+ type: z.ZodLiteral<"days">;
24919
+ }, z.core.$strip>, z.ZodObject<{
24920
+ date: z.ZodISODate;
24921
+ type: z.ZodLiteral<"specific_date">;
24922
+ }, z.core.$strip>, z.ZodObject<{
24923
+ period: z.ZodInt;
24924
+ type: z.ZodLiteral<"apprentice_period">;
24925
+ }, z.core.$strip>, z.ZodObject<{
24926
+ min_hours: z.ZodInt;
24927
+ max_hours: z.ZodInt;
24928
+ type: z.ZodLiteral<"apprentice_hours">;
24929
+ }, z.core.$strip>, z.ZodObject<{
24930
+ multiplier: z.ZodEnum<{
24931
+ 1.5: "1.5";
24932
+ "2.0": "2.0";
24933
+ }>;
24934
+ type: z.ZodLiteral<"overtime_multiplier">;
24935
+ }, z.core.$strip>], "type">>;
24936
+ valid_from: z.ZodNullable<z.ZodISODateTime>;
24937
+ valid_to: z.ZodNullable<z.ZodISODateTime>;
24938
+ created_at: z.ZodISODateTime;
24939
+ updated_at: z.ZodISODateTime;
24940
+ version_status: z.ZodEnum<{
24941
+ scheduled: "scheduled";
24942
+ current: "current";
24943
+ historical: "historical";
24944
+ }>;
24945
+ corrections: z.ZodArray<z.ZodObject<{
24946
+ pay_rates_rule_id: z.ZodString;
24947
+ project_wage_determination_id: z.ZodString;
24948
+ pay_rates_rule_package_id: z.ZodString;
24949
+ effect: z.ZodObject<{
24950
+ type: z.ZodEnum<{
24951
+ wage_increment: "wage_increment";
24952
+ fringe_increment: "fringe_increment";
24953
+ }>;
24954
+ amount_cents: z.ZodString;
24955
+ }, z.core.$strip>;
24956
+ conditions: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
24957
+ start_time: z.ZodString;
24958
+ end_time: z.ZodString;
24959
+ type: z.ZodLiteral<"time_range">;
24960
+ }, z.core.$strip>, z.ZodObject<{
24961
+ days: z.ZodArray<z.ZodInt>;
24962
+ type: z.ZodLiteral<"days">;
24963
+ }, z.core.$strip>, z.ZodObject<{
24964
+ date: z.ZodISODate;
24965
+ type: z.ZodLiteral<"specific_date">;
24966
+ }, z.core.$strip>, z.ZodObject<{
24967
+ period: z.ZodInt;
24968
+ type: z.ZodLiteral<"apprentice_period">;
24969
+ }, z.core.$strip>, z.ZodObject<{
24970
+ min_hours: z.ZodInt;
24971
+ max_hours: z.ZodInt;
24972
+ type: z.ZodLiteral<"apprentice_hours">;
24973
+ }, z.core.$strip>, z.ZodObject<{
24974
+ multiplier: z.ZodEnum<{
24975
+ 1.5: "1.5";
24976
+ "2.0": "2.0";
24977
+ }>;
24978
+ type: z.ZodLiteral<"overtime_multiplier">;
24979
+ }, z.core.$strip>], "type">>;
24980
+ valid_from: z.ZodNullable<z.ZodISODateTime>;
24981
+ valid_to: z.ZodNullable<z.ZodISODateTime>;
24982
+ created_at: z.ZodISODateTime;
24983
+ updated_at: z.ZodISODateTime;
24984
+ }, z.core.$strip>>;
24985
+ }, z.core.$strip>>;
23883
24986
  }, z.core.$strip>;
23884
- /**
23885
- * Success
23886
- */
23887
- export declare const zUpdateEmploymentResponse: z.ZodObject<{
23888
- id: z.ZodString;
23889
- user_id: z.ZodString;
23890
- company_id: z.ZodString;
23891
- type: z.ZodEnum<{
23892
- EMPLOYEE: "EMPLOYEE";
23893
- CONTRACTOR: "CONTRACTOR";
23894
- }>;
23895
- title: z.ZodNullable<z.ZodString>;
23896
- compensation_type: z.ZodEnum<{
23897
- hourly: "hourly";
23898
- salary: "salary";
23899
- }>;
23900
- payroll_id: z.ZodNullable<z.ZodString>;
23901
- manager_user_id: z.ZodNullable<z.ZodString>;
23902
- companies_department_id: z.ZodNullable<z.ZodString>;
23903
- enrolled_in_t_and_a: z.ZodBoolean;
23904
- overtime_eligible: z.ZodNullable<z.ZodBoolean>;
23905
- overtime_package_id: z.ZodNullable<z.ZodString>;
23906
- pay_rates_rule_package_id: z.ZodNullable<z.ZodString>;
23907
- pay_rates_package_id: z.ZodNullable<z.ZodString>;
23908
- worked_annual_minutes: z.ZodNullable<z.ZodInt>;
23909
- pto_annual_minutes: z.ZodNullable<z.ZodInt>;
23910
- holiday_annual_minutes: z.ZodNullable<z.ZodInt>;
23911
- training_annual_minutes: z.ZodNullable<z.ZodInt>;
23912
- hourly_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23913
- training_annual_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23914
- employer_combined_health_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23915
- employer_combined_savings_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23916
- currency: z.ZodString;
23917
- valid_from: z.ZodNullable<z.ZodISODateTime>;
23918
- valid_to: z.ZodNullable<z.ZodISODateTime>;
23919
- created_at: z.ZodISODateTime;
23920
- updated_at: z.ZodISODateTime;
24987
+ export declare const zListProjectWageDeterminationRateRulesPath: z.ZodObject<{
24988
+ project_id: z.ZodString;
24989
+ wage_determination_id: z.ZodString;
23921
24990
  }, z.core.$strip>;
23922
- export declare const zListPerDiemsQuery: z.ZodObject<{
23923
- 'filter[default]': z.ZodOptional<z.ZodBoolean>;
23924
- 'filter[taxable]': z.ZodOptional<z.ZodBoolean>;
23925
- 'filter[name]': z.ZodOptional<z.ZodString>;
23926
- 'filter[created_at][gte]': z.ZodOptional<z.ZodISODateTime>;
23927
- 'filter[created_at][lte]': z.ZodOptional<z.ZodISODateTime>;
23928
- 'filter[updated_at][gte]': z.ZodOptional<z.ZodISODateTime>;
23929
- 'filter[updated_at][lte]': z.ZodOptional<z.ZodISODateTime>;
23930
- filter: z.ZodOptional<z.ZodString>;
23931
- 'filter[unexpected]': z.ZodOptional<z.ZodString>;
23932
- 'page[cursor]': z.ZodOptional<z.ZodString>;
23933
- 'page[limit]': z.ZodDefault<z.ZodOptional<z.ZodInt>>;
23934
- page: z.ZodOptional<z.ZodString>;
23935
- 'filter[state]': z.ZodOptional<z.ZodEnum<{
23936
- active: "active";
23937
- all: "all";
23938
- inactive: "inactive";
23939
- }>>;
24991
+ export declare const zListProjectWageDeterminationRateRulesQuery: z.ZodObject<{
24992
+ 'as_of[valid]': z.ZodOptional<z.ZodISODateTime>;
24993
+ as_of: z.ZodOptional<z.ZodString>;
24994
+ 'as_of[bogus_axis]': z.ZodOptional<z.ZodString>;
24995
+ 'as_of[valid][gte]': z.ZodOptional<z.ZodString>;
24996
+ 'as_of[transaction]': z.ZodOptional<z.ZodString>;
23940
24997
  }, z.core.$strip>;
23941
24998
  /**
23942
24999
  * Success
23943
25000
  */
23944
- export declare const zListPerDiemsResponse: z.ZodObject<{
25001
+ export declare const zListProjectWageDeterminationRateRulesResponse: z.ZodObject<{
23945
25002
  meta: z.ZodObject<{
23946
25003
  page: z.ZodObject<{
23947
25004
  next_cursor: z.ZodNullable<z.ZodString>;
@@ -23955,127 +25012,189 @@ export declare const zListPerDiemsResponse: z.ZodObject<{
23955
25012
  }, z.core.$strip>;
23956
25013
  data: z.ZodArray<z.ZodObject<{
23957
25014
  id: z.ZodString;
23958
- name: z.ZodNullable<z.ZodString>;
23959
- description: z.ZodNullable<z.ZodString>;
23960
- rate_cents: z.ZodNullable<z.ZodString>;
23961
- currency: z.ZodString;
23962
- taxable: z.ZodBoolean;
23963
- default: z.ZodNullable<z.ZodBoolean>;
23964
- active: z.ZodNullable<z.ZodBoolean>;
23965
- work_type_ids: z.ZodArray<z.ZodString>;
23966
- timekeeping_timecode_ids: z.ZodArray<z.ZodString>;
25015
+ project_wage_determination_id: z.ZodString;
25016
+ pay_rates_rule_package_id: z.ZodString;
25017
+ effect: z.ZodObject<{
25018
+ type: z.ZodEnum<{
25019
+ wage_increment: "wage_increment";
25020
+ fringe_increment: "fringe_increment";
25021
+ }>;
25022
+ amount_cents: z.ZodString;
25023
+ }, z.core.$strip>;
25024
+ conditions: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
25025
+ start_time: z.ZodString;
25026
+ end_time: z.ZodString;
25027
+ type: z.ZodLiteral<"time_range">;
25028
+ }, z.core.$strip>, z.ZodObject<{
25029
+ days: z.ZodArray<z.ZodInt>;
25030
+ type: z.ZodLiteral<"days">;
25031
+ }, z.core.$strip>, z.ZodObject<{
25032
+ date: z.ZodISODate;
25033
+ type: z.ZodLiteral<"specific_date">;
25034
+ }, z.core.$strip>, z.ZodObject<{
25035
+ period: z.ZodInt;
25036
+ type: z.ZodLiteral<"apprentice_period">;
25037
+ }, z.core.$strip>, z.ZodObject<{
25038
+ min_hours: z.ZodInt;
25039
+ max_hours: z.ZodInt;
25040
+ type: z.ZodLiteral<"apprentice_hours">;
25041
+ }, z.core.$strip>, z.ZodObject<{
25042
+ multiplier: z.ZodEnum<{
25043
+ 1.5: "1.5";
25044
+ "2.0": "2.0";
25045
+ }>;
25046
+ type: z.ZodLiteral<"overtime_multiplier">;
25047
+ }, z.core.$strip>], "type">>;
25048
+ valid_from: z.ZodNullable<z.ZodISODateTime>;
25049
+ valid_to: z.ZodNullable<z.ZodISODateTime>;
23967
25050
  created_at: z.ZodISODateTime;
23968
25051
  updated_at: z.ZodISODateTime;
23969
25052
  }, z.core.$strip>>;
23970
25053
  }, z.core.$strip>;
23971
- export declare const zCreatePerDiemBody: z.ZodObject<{
23972
- name: z.ZodString;
23973
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23974
- rate_cents: z.ZodString;
23975
- currency: z.ZodString;
23976
- taxable: z.ZodOptional<z.ZodBoolean>;
23977
- default: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
23978
- active: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
23979
- work_type_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
23980
- timekeeping_timecode_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
23981
- }, z.core.$strip>;
23982
- /**
23983
- * Created
23984
- */
23985
- export declare const zCreatePerDiemResponse: z.ZodObject<{
23986
- id: z.ZodString;
23987
- name: z.ZodNullable<z.ZodString>;
23988
- description: z.ZodNullable<z.ZodString>;
23989
- rate_cents: z.ZodNullable<z.ZodString>;
23990
- currency: z.ZodString;
23991
- taxable: z.ZodBoolean;
23992
- default: z.ZodNullable<z.ZodBoolean>;
23993
- active: z.ZodNullable<z.ZodBoolean>;
23994
- work_type_ids: z.ZodArray<z.ZodString>;
23995
- timekeeping_timecode_ids: z.ZodArray<z.ZodString>;
23996
- created_at: z.ZodISODateTime;
23997
- updated_at: z.ZodISODateTime;
25054
+ export declare const zCreateProjectWageDeterminationRateRuleBody: z.ZodObject<{
25055
+ effective_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
25056
+ effect: z.ZodObject<{
25057
+ type: z.ZodEnum<{
25058
+ wage_increment: "wage_increment";
25059
+ fringe_increment: "fringe_increment";
25060
+ }>;
25061
+ amount_cents: z.ZodString;
25062
+ }, z.core.$strip>;
25063
+ conditions: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
25064
+ start_time: z.ZodString;
25065
+ end_time: z.ZodString;
25066
+ type: z.ZodLiteral<"time_range">;
25067
+ }, z.core.$strip>, z.ZodObject<{
25068
+ days: z.ZodArray<z.ZodInt>;
25069
+ type: z.ZodLiteral<"days">;
25070
+ }, z.core.$strip>, z.ZodObject<{
25071
+ date: z.ZodISODate;
25072
+ type: z.ZodLiteral<"specific_date">;
25073
+ }, z.core.$strip>, z.ZodObject<{
25074
+ period: z.ZodInt;
25075
+ type: z.ZodLiteral<"apprentice_period">;
25076
+ }, z.core.$strip>, z.ZodObject<{
25077
+ min_hours: z.ZodInt;
25078
+ max_hours: z.ZodInt;
25079
+ type: z.ZodLiteral<"apprentice_hours">;
25080
+ }, z.core.$strip>, z.ZodObject<{
25081
+ multiplier: z.ZodEnum<{
25082
+ 1.5: "1.5";
25083
+ "2.0": "2.0";
25084
+ }>;
25085
+ type: z.ZodLiteral<"overtime_multiplier">;
25086
+ }, z.core.$strip>], "type">>>;
23998
25087
  }, z.core.$strip>;
23999
- export declare const zDeletePerDiemPath: z.ZodObject<{
24000
- id: z.ZodString;
25088
+ export declare const zCreateProjectWageDeterminationRateRulePath: z.ZodObject<{
25089
+ project_id: z.ZodString;
25090
+ wage_determination_id: z.ZodString;
24001
25091
  }, z.core.$strip>;
24002
25092
  /**
24003
- * Success
25093
+ * Created
24004
25094
  */
24005
- export declare const zDeletePerDiemResponse: z.ZodObject<{
25095
+ export declare const zCreateProjectWageDeterminationRateRuleResponse: z.ZodObject<{
24006
25096
  id: z.ZodString;
24007
- name: z.ZodNullable<z.ZodString>;
24008
- description: z.ZodNullable<z.ZodString>;
24009
- rate_cents: z.ZodNullable<z.ZodString>;
24010
- currency: z.ZodString;
24011
- taxable: z.ZodBoolean;
24012
- default: z.ZodNullable<z.ZodBoolean>;
24013
- active: z.ZodNullable<z.ZodBoolean>;
24014
- work_type_ids: z.ZodArray<z.ZodString>;
24015
- timekeeping_timecode_ids: z.ZodArray<z.ZodString>;
25097
+ project_wage_determination_id: z.ZodString;
25098
+ pay_rates_rule_package_id: z.ZodString;
25099
+ effect: z.ZodObject<{
25100
+ type: z.ZodEnum<{
25101
+ wage_increment: "wage_increment";
25102
+ fringe_increment: "fringe_increment";
25103
+ }>;
25104
+ amount_cents: z.ZodString;
25105
+ }, z.core.$strip>;
25106
+ conditions: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
25107
+ start_time: z.ZodString;
25108
+ end_time: z.ZodString;
25109
+ type: z.ZodLiteral<"time_range">;
25110
+ }, z.core.$strip>, z.ZodObject<{
25111
+ days: z.ZodArray<z.ZodInt>;
25112
+ type: z.ZodLiteral<"days">;
25113
+ }, z.core.$strip>, z.ZodObject<{
25114
+ date: z.ZodISODate;
25115
+ type: z.ZodLiteral<"specific_date">;
25116
+ }, z.core.$strip>, z.ZodObject<{
25117
+ period: z.ZodInt;
25118
+ type: z.ZodLiteral<"apprentice_period">;
25119
+ }, z.core.$strip>, z.ZodObject<{
25120
+ min_hours: z.ZodInt;
25121
+ max_hours: z.ZodInt;
25122
+ type: z.ZodLiteral<"apprentice_hours">;
25123
+ }, z.core.$strip>, z.ZodObject<{
25124
+ multiplier: z.ZodEnum<{
25125
+ 1.5: "1.5";
25126
+ "2.0": "2.0";
25127
+ }>;
25128
+ type: z.ZodLiteral<"overtime_multiplier">;
25129
+ }, z.core.$strip>], "type">>;
25130
+ valid_from: z.ZodNullable<z.ZodISODateTime>;
25131
+ valid_to: z.ZodNullable<z.ZodISODateTime>;
24016
25132
  created_at: z.ZodISODateTime;
24017
25133
  updated_at: z.ZodISODateTime;
24018
25134
  }, z.core.$strip>;
24019
- export declare const zGetPerDiemPath: z.ZodObject<{
24020
- id: z.ZodString;
24021
- }, z.core.$strip>;
24022
- /**
24023
- * Success
24024
- */
24025
- export declare const zGetPerDiemResponse: z.ZodObject<{
25135
+ export declare const zGetProjectWageDeterminationRateRulePath: z.ZodObject<{
25136
+ project_id: z.ZodString;
25137
+ wage_determination_id: z.ZodString;
24026
25138
  id: z.ZodString;
24027
- name: z.ZodNullable<z.ZodString>;
24028
- description: z.ZodNullable<z.ZodString>;
24029
- rate_cents: z.ZodNullable<z.ZodString>;
24030
- currency: z.ZodString;
24031
- taxable: z.ZodBoolean;
24032
- default: z.ZodNullable<z.ZodBoolean>;
24033
- active: z.ZodNullable<z.ZodBoolean>;
24034
- work_type_ids: z.ZodArray<z.ZodString>;
24035
- timekeeping_timecode_ids: z.ZodArray<z.ZodString>;
24036
- created_at: z.ZodISODateTime;
24037
- updated_at: z.ZodISODateTime;
24038
- }, z.core.$strip>;
24039
- export declare const zUpdatePerDiemBody: z.ZodObject<{
24040
- name: z.ZodOptional<z.ZodString>;
24041
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24042
- rate_cents: z.ZodOptional<z.ZodString>;
24043
- currency: z.ZodOptional<z.ZodString>;
24044
- taxable: z.ZodOptional<z.ZodBoolean>;
24045
- default: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
24046
- active: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
24047
- work_type_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
24048
- timekeeping_timecode_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
24049
25139
  }, z.core.$strip>;
24050
- export declare const zUpdatePerDiemPath: z.ZodObject<{
24051
- id: z.ZodString;
25140
+ export declare const zGetProjectWageDeterminationRateRuleQuery: z.ZodObject<{
25141
+ 'as_of[valid]': z.ZodOptional<z.ZodISODateTime>;
24052
25142
  }, z.core.$strip>;
24053
25143
  /**
24054
25144
  * Success
24055
25145
  */
24056
- export declare const zUpdatePerDiemResponse: z.ZodObject<{
25146
+ export declare const zGetProjectWageDeterminationRateRuleResponse: z.ZodObject<{
24057
25147
  id: z.ZodString;
24058
- name: z.ZodNullable<z.ZodString>;
24059
- description: z.ZodNullable<z.ZodString>;
24060
- rate_cents: z.ZodNullable<z.ZodString>;
24061
- currency: z.ZodString;
24062
- taxable: z.ZodBoolean;
24063
- default: z.ZodNullable<z.ZodBoolean>;
24064
- active: z.ZodNullable<z.ZodBoolean>;
24065
- work_type_ids: z.ZodArray<z.ZodString>;
24066
- timekeeping_timecode_ids: z.ZodArray<z.ZodString>;
25148
+ project_wage_determination_id: z.ZodString;
25149
+ pay_rates_rule_package_id: z.ZodString;
25150
+ effect: z.ZodObject<{
25151
+ type: z.ZodEnum<{
25152
+ wage_increment: "wage_increment";
25153
+ fringe_increment: "fringe_increment";
25154
+ }>;
25155
+ amount_cents: z.ZodString;
25156
+ }, z.core.$strip>;
25157
+ conditions: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
25158
+ start_time: z.ZodString;
25159
+ end_time: z.ZodString;
25160
+ type: z.ZodLiteral<"time_range">;
25161
+ }, z.core.$strip>, z.ZodObject<{
25162
+ days: z.ZodArray<z.ZodInt>;
25163
+ type: z.ZodLiteral<"days">;
25164
+ }, z.core.$strip>, z.ZodObject<{
25165
+ date: z.ZodISODate;
25166
+ type: z.ZodLiteral<"specific_date">;
25167
+ }, z.core.$strip>, z.ZodObject<{
25168
+ period: z.ZodInt;
25169
+ type: z.ZodLiteral<"apprentice_period">;
25170
+ }, z.core.$strip>, z.ZodObject<{
25171
+ min_hours: z.ZodInt;
25172
+ max_hours: z.ZodInt;
25173
+ type: z.ZodLiteral<"apprentice_hours">;
25174
+ }, z.core.$strip>, z.ZodObject<{
25175
+ multiplier: z.ZodEnum<{
25176
+ 1.5: "1.5";
25177
+ "2.0": "2.0";
25178
+ }>;
25179
+ type: z.ZodLiteral<"overtime_multiplier">;
25180
+ }, z.core.$strip>], "type">>;
25181
+ valid_from: z.ZodNullable<z.ZodISODateTime>;
25182
+ valid_to: z.ZodNullable<z.ZodISODateTime>;
24067
25183
  created_at: z.ZodISODateTime;
24068
25184
  updated_at: z.ZodISODateTime;
24069
25185
  }, z.core.$strip>;
24070
- export declare const zListPositionFunctionsQuery: z.ZodObject<{
24071
- 'filter[value]': z.ZodOptional<z.ZodString>;
24072
- filter: z.ZodOptional<z.ZodString>;
24073
- 'filter[unexpected]': z.ZodOptional<z.ZodString>;
25186
+ export declare const zListProjectSitesPath: z.ZodObject<{
25187
+ project_id: z.ZodString;
25188
+ }, z.core.$strip>;
25189
+ export declare const zListProjectSitesQuery: z.ZodObject<{
25190
+ 'page[cursor]': z.ZodOptional<z.ZodString>;
25191
+ 'page[limit]': z.ZodDefault<z.ZodOptional<z.ZodInt>>;
25192
+ page: z.ZodOptional<z.ZodString>;
24074
25193
  }, z.core.$strip>;
24075
25194
  /**
24076
25195
  * Success
24077
25196
  */
24078
- export declare const zListPositionFunctionsResponse: z.ZodObject<{
25197
+ export declare const zListProjectSitesResponse: z.ZodObject<{
24079
25198
  meta: z.ZodObject<{
24080
25199
  page: z.ZodObject<{
24081
25200
  next_cursor: z.ZodNullable<z.ZodString>;
@@ -24089,99 +25208,123 @@ export declare const zListPositionFunctionsResponse: z.ZodObject<{
24089
25208
  }, z.core.$strip>;
24090
25209
  data: z.ZodArray<z.ZodObject<{
24091
25210
  id: z.ZodString;
24092
- value: z.ZodString;
24093
- description: z.ZodNullable<z.ZodString>;
24094
- scoped_to_company_id: z.ZodNullable<z.ZodString>;
24095
- created_at: z.ZodISODateTime;
24096
- updated_at: z.ZodISODateTime;
25211
+ site_id: z.ZodString;
25212
+ feature_ids: z.ZodArray<z.ZodString>;
24097
25213
  }, z.core.$strip>>;
24098
25214
  }, z.core.$strip>;
24099
- export declare const zCreatePositionFunctionBody: z.ZodObject<{
24100
- value: z.ZodString;
24101
- description: z.ZodString;
25215
+ export declare const zCreateProjectSiteBody: z.ZodObject<{
25216
+ site_id: z.ZodString;
25217
+ feature_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
25218
+ }, z.core.$strip>;
25219
+ export declare const zCreateProjectSitePath: z.ZodObject<{
25220
+ project_id: z.ZodString;
24102
25221
  }, z.core.$strip>;
24103
25222
  /**
24104
25223
  * Created
24105
25224
  */
24106
- export declare const zCreatePositionFunctionResponse: z.ZodObject<{
25225
+ export declare const zCreateProjectSiteResponse: z.ZodObject<{
24107
25226
  id: z.ZodString;
24108
- value: z.ZodString;
24109
- description: z.ZodNullable<z.ZodString>;
24110
- scoped_to_company_id: z.ZodNullable<z.ZodString>;
24111
- created_at: z.ZodISODateTime;
24112
- updated_at: z.ZodISODateTime;
25227
+ site_id: z.ZodString;
25228
+ feature_ids: z.ZodArray<z.ZodString>;
24113
25229
  }, z.core.$strip>;
24114
- export declare const zDeletePositionFunctionPath: z.ZodObject<{
25230
+ export declare const zDeleteProjectSitePath: z.ZodObject<{
25231
+ project_id: z.ZodString;
25232
+ id: z.ZodString;
25233
+ }, z.core.$strip>;
25234
+ /**
25235
+ * No Content
25236
+ */
25237
+ export declare const zDeleteProjectSiteResponse: z.ZodVoid;
25238
+ export declare const zGetProjectSitePath: z.ZodObject<{
25239
+ project_id: z.ZodString;
24115
25240
  id: z.ZodString;
24116
25241
  }, z.core.$strip>;
24117
25242
  /**
24118
25243
  * Success
24119
25244
  */
24120
- export declare const zDeletePositionFunctionResponse: z.ZodObject<{
25245
+ export declare const zGetProjectSiteResponse: z.ZodObject<{
24121
25246
  id: z.ZodString;
24122
- value: z.ZodString;
24123
- description: z.ZodNullable<z.ZodString>;
24124
- scoped_to_company_id: z.ZodNullable<z.ZodString>;
24125
- created_at: z.ZodISODateTime;
24126
- updated_at: z.ZodISODateTime;
25247
+ site_id: z.ZodString;
25248
+ feature_ids: z.ZodArray<z.ZodString>;
24127
25249
  }, z.core.$strip>;
24128
- export declare const zGetPositionFunctionPath: z.ZodObject<{
25250
+ export declare const zUpdateProjectSiteBody: z.ZodObject<{
25251
+ feature_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
25252
+ }, z.core.$strip>;
25253
+ export declare const zUpdateProjectSitePath: z.ZodObject<{
25254
+ project_id: z.ZodString;
24129
25255
  id: z.ZodString;
24130
25256
  }, z.core.$strip>;
24131
25257
  /**
24132
25258
  * Success
24133
25259
  */
24134
- export declare const zGetPositionFunctionResponse: z.ZodObject<{
25260
+ export declare const zUpdateProjectSiteResponse: z.ZodObject<{
24135
25261
  id: z.ZodString;
24136
- value: z.ZodString;
24137
- description: z.ZodNullable<z.ZodString>;
24138
- scoped_to_company_id: z.ZodNullable<z.ZodString>;
24139
- created_at: z.ZodISODateTime;
24140
- updated_at: z.ZodISODateTime;
25262
+ site_id: z.ZodString;
25263
+ feature_ids: z.ZodArray<z.ZodString>;
24141
25264
  }, z.core.$strip>;
24142
- export declare const zUpdatePositionFunctionBody: z.ZodObject<{
24143
- value: z.ZodOptional<z.ZodString>;
24144
- description: z.ZodOptional<z.ZodString>;
25265
+ export declare const zShiftProjectWageDeterminationGenesisBody: z.ZodObject<{
25266
+ effective_date: z.ZodISODate;
24145
25267
  }, z.core.$strip>;
24146
- export declare const zUpdatePositionFunctionPath: z.ZodObject<{
24147
- id: z.ZodString;
25268
+ export declare const zShiftProjectWageDeterminationGenesisHeaders: z.ZodObject<{
25269
+ 'If-Match': z.ZodString;
25270
+ }, z.core.$strip>;
25271
+ export declare const zShiftProjectWageDeterminationGenesisPath: z.ZodObject<{
25272
+ project_id: z.ZodString;
25273
+ wage_determination_id: z.ZodString;
24148
25274
  }, z.core.$strip>;
24149
25275
  /**
24150
25276
  * Success
24151
25277
  */
24152
- export declare const zUpdatePositionFunctionResponse: z.ZodObject<{
25278
+ export declare const zShiftProjectWageDeterminationGenesisResponse: z.ZodDiscriminatedUnion<[z.ZodObject<{
24153
25279
  id: z.ZodString;
24154
- value: z.ZodString;
24155
- description: z.ZodNullable<z.ZodString>;
24156
- scoped_to_company_id: z.ZodNullable<z.ZodString>;
25280
+ project_id: z.ZodString;
25281
+ pwa_trade_id: z.ZodString;
25282
+ overtime_package_id: z.ZodNullable<z.ZodString>;
25283
+ pay_rates_rule_package_id: z.ZodNullable<z.ZodString>;
25284
+ labor_classification: z.ZodString;
25285
+ hourly_rate_cents: z.ZodString;
25286
+ fringe_rate_cents: z.ZodString;
25287
+ class_code: z.ZodNullable<z.ZodString>;
25288
+ construction_category: z.ZodNullable<z.ZodEnum<{
25289
+ building: "building";
25290
+ heavy: "heavy";
25291
+ highway: "highway";
25292
+ residential: "residential";
25293
+ }>>;
25294
+ general_wage_determination: z.ZodNullable<z.ZodString>;
25295
+ valid_from: z.ZodNullable<z.ZodISODateTime>;
25296
+ valid_to: z.ZodNullable<z.ZodISODateTime>;
25297
+ created_at: z.ZodISODateTime;
25298
+ updated_at: z.ZodISODateTime;
25299
+ type: z.ZodLiteral<"Pwa::ProjectWageDeterminations::Federal">;
25300
+ }, z.core.$strip>, z.ZodObject<{
25301
+ id: z.ZodString;
25302
+ project_id: z.ZodString;
25303
+ pwa_trade_id: z.ZodString;
25304
+ overtime_package_id: z.ZodNullable<z.ZodString>;
25305
+ pay_rates_rule_package_id: z.ZodNullable<z.ZodString>;
25306
+ labor_classification: z.ZodString;
25307
+ hourly_rate_cents: z.ZodString;
25308
+ fringe_rate_cents: z.ZodString;
25309
+ general_wage_determination: z.ZodNullable<z.ZodString>;
25310
+ regional_fields: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
25311
+ valid_from: z.ZodNullable<z.ZodISODateTime>;
25312
+ valid_to: z.ZodNullable<z.ZodISODateTime>;
24157
25313
  created_at: z.ZodISODateTime;
24158
25314
  updated_at: z.ZodISODateTime;
25315
+ type: z.ZodLiteral<"Pwa::ProjectWageDeterminations::Regional">;
25316
+ }, z.core.$strip>], "type">;
25317
+ export declare const zListProjectWageDeterminationHistoryPath: z.ZodObject<{
25318
+ project_id: z.ZodString;
25319
+ wage_determination_id: z.ZodString;
24159
25320
  }, z.core.$strip>;
24160
- export declare const zListCompletionsQuery: z.ZodObject<{
24161
- 'filter[job_id]': z.ZodOptional<z.ZodString>;
24162
- 'filter[scope_kind]': z.ZodOptional<z.ZodString>;
24163
- 'filter[feature_id]': z.ZodOptional<z.ZodString>;
24164
- 'filter[created_by_user_id]': z.ZodOptional<z.ZodString>;
24165
- 'filter[site_id]': z.ZodOptional<z.ZodString>;
24166
- 'filter[crew_user_id]': z.ZodOptional<z.ZodString>;
24167
- 'filter[crew_department_id]': z.ZodOptional<z.ZodString>;
24168
- 'filter[crew_group_id]': z.ZodOptional<z.ZodString>;
24169
- 'filter[created_at][gte]': z.ZodOptional<z.ZodISODateTime>;
24170
- 'filter[created_at][lte]': z.ZodOptional<z.ZodISODateTime>;
24171
- 'filter[updated_at][gte]': z.ZodOptional<z.ZodISODateTime>;
24172
- 'filter[updated_at][lte]': z.ZodOptional<z.ZodISODateTime>;
24173
- 'filter[work_date][gte]': z.ZodOptional<z.ZodISODate>;
24174
- 'filter[work_date][lte]': z.ZodOptional<z.ZodISODate>;
24175
- filter: z.ZodOptional<z.ZodString>;
24176
- 'filter[unexpected]': z.ZodOptional<z.ZodString>;
24177
- 'page[cursor]': z.ZodOptional<z.ZodString>;
24178
- 'page[limit]': z.ZodDefault<z.ZodOptional<z.ZodInt>>;
24179
- page: z.ZodOptional<z.ZodString>;
25321
+ export declare const zListProjectWageDeterminationHistoryQuery: z.ZodObject<{
25322
+ 'as_of[valid]': z.ZodOptional<z.ZodString>;
24180
25323
  }, z.core.$strip>;
24181
25324
  /**
24182
25325
  * Success
24183
25326
  */
24184
- export declare const zListCompletionsResponse: z.ZodObject<{
25327
+ export declare const zListProjectWageDeterminationHistoryResponse: z.ZodObject<{
24185
25328
  meta: z.ZodObject<{
24186
25329
  page: z.ZodObject<{
24187
25330
  next_cursor: z.ZodNullable<z.ZodString>;
@@ -24194,308 +25337,403 @@ export declare const zListCompletionsResponse: z.ZodObject<{
24194
25337
  next: z.ZodNullable<z.ZodString>;
24195
25338
  }, z.core.$strip>;
24196
25339
  data: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
24197
- id: z.ZodString;
24198
- notes: z.ZodNullable<z.ZodString>;
24199
- completable_id: z.ZodString;
24200
- created_by_user_id: z.ZodString;
24201
- production_job_scope_price_id: z.ZodString;
24202
- job_id: z.ZodString;
24203
- scope_kind: z.ZodString;
24204
- unit_of_measure: z.ZodString;
24205
- position_ids: z.ZodArray<z.ZodString>;
24206
- feature_id: z.ZodString;
25340
+ project_wage_determination_id: z.ZodString;
25341
+ project_id: z.ZodString;
25342
+ pwa_trade_id: z.ZodString;
25343
+ overtime_package_id: z.ZodNullable<z.ZodString>;
25344
+ pay_rates_rule_package_id: z.ZodNullable<z.ZodString>;
25345
+ labor_classification: z.ZodString;
25346
+ hourly_rate_cents: z.ZodString;
25347
+ fringe_rate_cents: z.ZodString;
25348
+ class_code: z.ZodNullable<z.ZodString>;
25349
+ construction_category: z.ZodNullable<z.ZodEnum<{
25350
+ building: "building";
25351
+ heavy: "heavy";
25352
+ highway: "highway";
25353
+ residential: "residential";
25354
+ }>>;
25355
+ general_wage_determination: z.ZodNullable<z.ZodString>;
25356
+ valid_from: z.ZodNullable<z.ZodISODateTime>;
25357
+ valid_to: z.ZodNullable<z.ZodISODateTime>;
24207
25358
  created_at: z.ZodISODateTime;
24208
25359
  updated_at: z.ZodISODateTime;
24209
- work_date: z.ZodISODate;
24210
- completable_type: z.ZodLiteral<"Production::FeatureCompletion">;
25360
+ version_status: z.ZodEnum<{
25361
+ scheduled: "scheduled";
25362
+ current: "current";
25363
+ historical: "historical";
25364
+ }>;
25365
+ corrections: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
25366
+ project_wage_determination_id: z.ZodString;
25367
+ project_id: z.ZodString;
25368
+ pwa_trade_id: z.ZodString;
25369
+ overtime_package_id: z.ZodNullable<z.ZodString>;
25370
+ pay_rates_rule_package_id: z.ZodNullable<z.ZodString>;
25371
+ labor_classification: z.ZodString;
25372
+ hourly_rate_cents: z.ZodString;
25373
+ fringe_rate_cents: z.ZodString;
25374
+ class_code: z.ZodNullable<z.ZodString>;
25375
+ construction_category: z.ZodNullable<z.ZodEnum<{
25376
+ building: "building";
25377
+ heavy: "heavy";
25378
+ highway: "highway";
25379
+ residential: "residential";
25380
+ }>>;
25381
+ general_wage_determination: z.ZodNullable<z.ZodString>;
25382
+ valid_from: z.ZodNullable<z.ZodISODateTime>;
25383
+ valid_to: z.ZodNullable<z.ZodISODateTime>;
25384
+ created_at: z.ZodISODateTime;
25385
+ updated_at: z.ZodISODateTime;
25386
+ type: z.ZodLiteral<"Pwa::ProjectWageDeterminations::Federal">;
25387
+ }, z.core.$strip>, z.ZodObject<{
25388
+ project_wage_determination_id: z.ZodString;
25389
+ project_id: z.ZodString;
25390
+ pwa_trade_id: z.ZodString;
25391
+ overtime_package_id: z.ZodNullable<z.ZodString>;
25392
+ pay_rates_rule_package_id: z.ZodNullable<z.ZodString>;
25393
+ labor_classification: z.ZodString;
25394
+ hourly_rate_cents: z.ZodString;
25395
+ fringe_rate_cents: z.ZodString;
25396
+ general_wage_determination: z.ZodNullable<z.ZodString>;
25397
+ regional_fields: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
25398
+ valid_from: z.ZodNullable<z.ZodISODateTime>;
25399
+ valid_to: z.ZodNullable<z.ZodISODateTime>;
25400
+ created_at: z.ZodISODateTime;
25401
+ updated_at: z.ZodISODateTime;
25402
+ type: z.ZodLiteral<"Pwa::ProjectWageDeterminations::Regional">;
25403
+ }, z.core.$strip>], "type">>;
25404
+ type: z.ZodLiteral<"Pwa::ProjectWageDeterminations::Federal">;
24211
25405
  }, z.core.$strip>, z.ZodObject<{
24212
- id: z.ZodString;
24213
- notes: z.ZodNullable<z.ZodString>;
24214
- completable_id: z.ZodString;
24215
- created_by_user_id: z.ZodString;
24216
- production_job_scope_price_id: z.ZodString;
24217
- job_id: z.ZodString;
24218
- scope_kind: z.ZodString;
24219
- unit_of_measure: z.ZodString;
24220
- position_ids: z.ZodArray<z.ZodString>;
24221
- quantity_completed: z.ZodInt;
25406
+ project_wage_determination_id: z.ZodString;
25407
+ project_id: z.ZodString;
25408
+ pwa_trade_id: z.ZodString;
25409
+ overtime_package_id: z.ZodNullable<z.ZodString>;
25410
+ pay_rates_rule_package_id: z.ZodNullable<z.ZodString>;
25411
+ labor_classification: z.ZodString;
25412
+ hourly_rate_cents: z.ZodString;
25413
+ fringe_rate_cents: z.ZodString;
25414
+ general_wage_determination: z.ZodNullable<z.ZodString>;
25415
+ regional_fields: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
25416
+ valid_from: z.ZodNullable<z.ZodISODateTime>;
25417
+ valid_to: z.ZodNullable<z.ZodISODateTime>;
24222
25418
  created_at: z.ZodISODateTime;
24223
25419
  updated_at: z.ZodISODateTime;
24224
- work_date: z.ZodISODate;
24225
- completable_type: z.ZodLiteral<"Production::QuantityCompletion">;
24226
- }, z.core.$strip>], "completable_type">>;
25420
+ version_status: z.ZodEnum<{
25421
+ scheduled: "scheduled";
25422
+ current: "current";
25423
+ historical: "historical";
25424
+ }>;
25425
+ corrections: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
25426
+ project_wage_determination_id: z.ZodString;
25427
+ project_id: z.ZodString;
25428
+ pwa_trade_id: z.ZodString;
25429
+ overtime_package_id: z.ZodNullable<z.ZodString>;
25430
+ pay_rates_rule_package_id: z.ZodNullable<z.ZodString>;
25431
+ labor_classification: z.ZodString;
25432
+ hourly_rate_cents: z.ZodString;
25433
+ fringe_rate_cents: z.ZodString;
25434
+ class_code: z.ZodNullable<z.ZodString>;
25435
+ construction_category: z.ZodNullable<z.ZodEnum<{
25436
+ building: "building";
25437
+ heavy: "heavy";
25438
+ highway: "highway";
25439
+ residential: "residential";
25440
+ }>>;
25441
+ general_wage_determination: z.ZodNullable<z.ZodString>;
25442
+ valid_from: z.ZodNullable<z.ZodISODateTime>;
25443
+ valid_to: z.ZodNullable<z.ZodISODateTime>;
25444
+ created_at: z.ZodISODateTime;
25445
+ updated_at: z.ZodISODateTime;
25446
+ type: z.ZodLiteral<"Pwa::ProjectWageDeterminations::Federal">;
25447
+ }, z.core.$strip>, z.ZodObject<{
25448
+ project_wage_determination_id: z.ZodString;
25449
+ project_id: z.ZodString;
25450
+ pwa_trade_id: z.ZodString;
25451
+ overtime_package_id: z.ZodNullable<z.ZodString>;
25452
+ pay_rates_rule_package_id: z.ZodNullable<z.ZodString>;
25453
+ labor_classification: z.ZodString;
25454
+ hourly_rate_cents: z.ZodString;
25455
+ fringe_rate_cents: z.ZodString;
25456
+ general_wage_determination: z.ZodNullable<z.ZodString>;
25457
+ regional_fields: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
25458
+ valid_from: z.ZodNullable<z.ZodISODateTime>;
25459
+ valid_to: z.ZodNullable<z.ZodISODateTime>;
25460
+ created_at: z.ZodISODateTime;
25461
+ updated_at: z.ZodISODateTime;
25462
+ type: z.ZodLiteral<"Pwa::ProjectWageDeterminations::Regional">;
25463
+ }, z.core.$strip>], "type">>;
25464
+ type: z.ZodLiteral<"Pwa::ProjectWageDeterminations::Regional">;
25465
+ }, z.core.$strip>], "type">>;
24227
25466
  }, z.core.$strip>;
24228
- export declare const zCreateCompletionBody: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
24229
- production_job_scope_price_id: z.ZodOptional<z.ZodString>;
24230
- performed_by_user_id: z.ZodString;
24231
- notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24232
- work_date: z.ZodOptional<z.ZodISODate>;
24233
- position_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
24234
- }, z.core.$strip>, z.ZodObject<{
24235
- completable_attributes: z.ZodOptional<z.ZodObject<{
24236
- feature_id: z.ZodOptional<z.ZodString>;
24237
- }, z.core.$strip>>;
24238
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
24239
- production_job_scope_price_id: z.ZodOptional<z.ZodString>;
24240
- performed_by_user_id: z.ZodString;
24241
- notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24242
- work_date: z.ZodOptional<z.ZodISODate>;
24243
- position_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
24244
- }, z.core.$strip>, z.ZodObject<{
24245
- completable_attributes: z.ZodOptional<z.ZodObject<{
24246
- quantity_completed: z.ZodOptional<z.ZodInt>;
24247
- }, z.core.$strip>>;
24248
- }, z.core.$strip>>]>;
24249
- /**
24250
- * Created
24251
- */
24252
- export declare const zCreateCompletionResponse: z.ZodDiscriminatedUnion<[z.ZodObject<{
24253
- id: z.ZodString;
24254
- notes: z.ZodNullable<z.ZodString>;
24255
- completable_id: z.ZodString;
24256
- created_by_user_id: z.ZodString;
24257
- production_job_scope_price_id: z.ZodString;
24258
- job_id: z.ZodString;
24259
- scope_kind: z.ZodString;
24260
- unit_of_measure: z.ZodString;
24261
- position_ids: z.ZodArray<z.ZodString>;
24262
- feature_id: z.ZodString;
24263
- created_at: z.ZodISODateTime;
24264
- updated_at: z.ZodISODateTime;
24265
- work_date: z.ZodISODate;
24266
- completable_type: z.ZodLiteral<"Production::FeatureCompletion">;
24267
- }, z.core.$strip>, z.ZodObject<{
24268
- id: z.ZodString;
24269
- notes: z.ZodNullable<z.ZodString>;
24270
- completable_id: z.ZodString;
24271
- created_by_user_id: z.ZodString;
24272
- production_job_scope_price_id: z.ZodString;
24273
- job_id: z.ZodString;
24274
- scope_kind: z.ZodString;
24275
- unit_of_measure: z.ZodString;
24276
- position_ids: z.ZodArray<z.ZodString>;
24277
- quantity_completed: z.ZodInt;
24278
- created_at: z.ZodISODateTime;
24279
- updated_at: z.ZodISODateTime;
24280
- work_date: z.ZodISODate;
24281
- completable_type: z.ZodLiteral<"Production::QuantityCompletion">;
24282
- }, z.core.$strip>], "completable_type">;
24283
- export declare const zDeleteCompletionPath: z.ZodObject<{
24284
- id: z.ZodString;
25467
+ export declare const zCancelProjectWageDeterminationScheduledChangesHeaders: z.ZodObject<{
25468
+ 'If-Match': z.ZodString;
25469
+ }, z.core.$strip>;
25470
+ export declare const zCancelProjectWageDeterminationScheduledChangesPath: z.ZodObject<{
25471
+ project_id: z.ZodString;
25472
+ wage_determination_id: z.ZodString;
24285
25473
  }, z.core.$strip>;
24286
25474
  /**
24287
25475
  * Success
24288
25476
  */
24289
- export declare const zDeleteCompletionResponse: z.ZodDiscriminatedUnion<[z.ZodObject<{
25477
+ export declare const zCancelProjectWageDeterminationScheduledChangesResponse: z.ZodDiscriminatedUnion<[z.ZodObject<{
24290
25478
  id: z.ZodString;
24291
- notes: z.ZodNullable<z.ZodString>;
24292
- completable_id: z.ZodString;
24293
- created_by_user_id: z.ZodString;
24294
- production_job_scope_price_id: z.ZodString;
24295
- job_id: z.ZodString;
24296
- scope_kind: z.ZodString;
24297
- unit_of_measure: z.ZodString;
24298
- position_ids: z.ZodArray<z.ZodString>;
24299
- feature_id: z.ZodString;
25479
+ project_id: z.ZodString;
25480
+ pwa_trade_id: z.ZodString;
25481
+ overtime_package_id: z.ZodNullable<z.ZodString>;
25482
+ pay_rates_rule_package_id: z.ZodNullable<z.ZodString>;
25483
+ labor_classification: z.ZodString;
25484
+ hourly_rate_cents: z.ZodString;
25485
+ fringe_rate_cents: z.ZodString;
25486
+ class_code: z.ZodNullable<z.ZodString>;
25487
+ construction_category: z.ZodNullable<z.ZodEnum<{
25488
+ building: "building";
25489
+ heavy: "heavy";
25490
+ highway: "highway";
25491
+ residential: "residential";
25492
+ }>>;
25493
+ general_wage_determination: z.ZodNullable<z.ZodString>;
25494
+ valid_from: z.ZodNullable<z.ZodISODateTime>;
25495
+ valid_to: z.ZodNullable<z.ZodISODateTime>;
24300
25496
  created_at: z.ZodISODateTime;
24301
25497
  updated_at: z.ZodISODateTime;
24302
- work_date: z.ZodISODate;
24303
- completable_type: z.ZodLiteral<"Production::FeatureCompletion">;
25498
+ type: z.ZodLiteral<"Pwa::ProjectWageDeterminations::Federal">;
24304
25499
  }, z.core.$strip>, z.ZodObject<{
24305
25500
  id: z.ZodString;
24306
- notes: z.ZodNullable<z.ZodString>;
24307
- completable_id: z.ZodString;
24308
- created_by_user_id: z.ZodString;
24309
- production_job_scope_price_id: z.ZodString;
24310
- job_id: z.ZodString;
24311
- scope_kind: z.ZodString;
24312
- unit_of_measure: z.ZodString;
24313
- position_ids: z.ZodArray<z.ZodString>;
24314
- quantity_completed: z.ZodInt;
25501
+ project_id: z.ZodString;
25502
+ pwa_trade_id: z.ZodString;
25503
+ overtime_package_id: z.ZodNullable<z.ZodString>;
25504
+ pay_rates_rule_package_id: z.ZodNullable<z.ZodString>;
25505
+ labor_classification: z.ZodString;
25506
+ hourly_rate_cents: z.ZodString;
25507
+ fringe_rate_cents: z.ZodString;
25508
+ general_wage_determination: z.ZodNullable<z.ZodString>;
25509
+ regional_fields: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
25510
+ valid_from: z.ZodNullable<z.ZodISODateTime>;
25511
+ valid_to: z.ZodNullable<z.ZodISODateTime>;
24315
25512
  created_at: z.ZodISODateTime;
24316
25513
  updated_at: z.ZodISODateTime;
24317
- work_date: z.ZodISODate;
24318
- completable_type: z.ZodLiteral<"Production::QuantityCompletion">;
24319
- }, z.core.$strip>], "completable_type">;
24320
- export declare const zGetCompletionPath: z.ZodObject<{
24321
- id: z.ZodString;
25514
+ type: z.ZodLiteral<"Pwa::ProjectWageDeterminations::Regional">;
25515
+ }, z.core.$strip>], "type">;
25516
+ export declare const zListProjectWageDeterminationScheduledChangesPath: z.ZodObject<{
25517
+ project_id: z.ZodString;
25518
+ wage_determination_id: z.ZodString;
24322
25519
  }, z.core.$strip>;
24323
25520
  /**
24324
- * Success
25521
+ * Success with scheduled changes
24325
25522
  */
24326
- export declare const zGetCompletionResponse: z.ZodDiscriminatedUnion<[z.ZodObject<{
25523
+ export declare const zListProjectWageDeterminationScheduledChangesResponse: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
24327
25524
  id: z.ZodString;
24328
- notes: z.ZodNullable<z.ZodString>;
24329
- completable_id: z.ZodString;
24330
- created_by_user_id: z.ZodString;
24331
- production_job_scope_price_id: z.ZodString;
24332
- job_id: z.ZodString;
24333
- scope_kind: z.ZodString;
24334
- unit_of_measure: z.ZodString;
24335
- position_ids: z.ZodArray<z.ZodString>;
24336
- feature_id: z.ZodString;
25525
+ project_id: z.ZodString;
25526
+ pwa_trade_id: z.ZodString;
25527
+ overtime_package_id: z.ZodNullable<z.ZodString>;
25528
+ pay_rates_rule_package_id: z.ZodNullable<z.ZodString>;
25529
+ labor_classification: z.ZodString;
25530
+ hourly_rate_cents: z.ZodString;
25531
+ fringe_rate_cents: z.ZodString;
25532
+ class_code: z.ZodNullable<z.ZodString>;
25533
+ construction_category: z.ZodNullable<z.ZodEnum<{
25534
+ building: "building";
25535
+ heavy: "heavy";
25536
+ highway: "highway";
25537
+ residential: "residential";
25538
+ }>>;
25539
+ general_wage_determination: z.ZodNullable<z.ZodString>;
25540
+ valid_from: z.ZodNullable<z.ZodISODateTime>;
25541
+ valid_to: z.ZodNullable<z.ZodISODateTime>;
24337
25542
  created_at: z.ZodISODateTime;
24338
25543
  updated_at: z.ZodISODateTime;
24339
- work_date: z.ZodISODate;
24340
- completable_type: z.ZodLiteral<"Production::FeatureCompletion">;
25544
+ type: z.ZodLiteral<"Pwa::ProjectWageDeterminations::Federal">;
24341
25545
  }, z.core.$strip>, z.ZodObject<{
24342
25546
  id: z.ZodString;
24343
- notes: z.ZodNullable<z.ZodString>;
24344
- completable_id: z.ZodString;
24345
- created_by_user_id: z.ZodString;
24346
- production_job_scope_price_id: z.ZodString;
24347
- job_id: z.ZodString;
24348
- scope_kind: z.ZodString;
24349
- unit_of_measure: z.ZodString;
24350
- position_ids: z.ZodArray<z.ZodString>;
24351
- quantity_completed: z.ZodInt;
25547
+ project_id: z.ZodString;
25548
+ pwa_trade_id: z.ZodString;
25549
+ overtime_package_id: z.ZodNullable<z.ZodString>;
25550
+ pay_rates_rule_package_id: z.ZodNullable<z.ZodString>;
25551
+ labor_classification: z.ZodString;
25552
+ hourly_rate_cents: z.ZodString;
25553
+ fringe_rate_cents: z.ZodString;
25554
+ general_wage_determination: z.ZodNullable<z.ZodString>;
25555
+ regional_fields: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
25556
+ valid_from: z.ZodNullable<z.ZodISODateTime>;
25557
+ valid_to: z.ZodNullable<z.ZodISODateTime>;
24352
25558
  created_at: z.ZodISODateTime;
24353
25559
  updated_at: z.ZodISODateTime;
24354
- work_date: z.ZodISODate;
24355
- completable_type: z.ZodLiteral<"Production::QuantityCompletion">;
24356
- }, z.core.$strip>], "completable_type">;
24357
- export declare const zUpdateCompletionBody: z.ZodObject<{
24358
- notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24359
- work_date: z.ZodOptional<z.ZodISODate>;
24360
- position_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
24361
- completable_attributes: z.ZodOptional<z.ZodObject<{
24362
- quantity_completed: z.ZodOptional<z.ZodInt>;
25560
+ type: z.ZodLiteral<"Pwa::ProjectWageDeterminations::Regional">;
25561
+ }, z.core.$strip>], "type">>;
25562
+ export declare const zScheduleProjectWageDeterminationChangeBody: z.ZodObject<{
25563
+ effective_date: z.ZodISODate;
25564
+ labor_classification: z.ZodOptional<z.ZodString>;
25565
+ hourly_rate_cents: z.ZodOptional<z.ZodString>;
25566
+ fringe_rate_cents: z.ZodOptional<z.ZodString>;
25567
+ class_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25568
+ construction_category: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
25569
+ building: "building";
25570
+ heavy: "heavy";
25571
+ highway: "highway";
25572
+ residential: "residential";
25573
+ }>>>;
25574
+ general_wage_determination: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25575
+ regional_fields: z.ZodOptional<z.ZodObject<{
25576
+ combined_health_fringe_rate_cents: z.ZodOptional<z.ZodString>;
25577
+ combined_savings_fringe_rate_cents: z.ZodOptional<z.ZodString>;
25578
+ combined_holiday_pto_fringe_rate_cents: z.ZodOptional<z.ZodString>;
25579
+ training_fringe_rate_cents: z.ZodOptional<z.ZodString>;
25580
+ other_fringe_rate_cents: z.ZodOptional<z.ZodString>;
25581
+ one_five_x_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25582
+ two_x_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25583
+ one_five_x_fringe_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25584
+ two_x_fringe_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24363
25585
  }, z.core.$strip>>;
24364
25586
  }, z.core.$strip>;
24365
- export declare const zUpdateCompletionPath: z.ZodObject<{
24366
- id: z.ZodString;
25587
+ export declare const zScheduleProjectWageDeterminationChangeHeaders: z.ZodObject<{
25588
+ 'If-Match': z.ZodString;
25589
+ }, z.core.$strip>;
25590
+ export declare const zScheduleProjectWageDeterminationChangePath: z.ZodObject<{
25591
+ project_id: z.ZodString;
25592
+ wage_determination_id: z.ZodString;
24367
25593
  }, z.core.$strip>;
24368
25594
  /**
24369
- * Success
25595
+ * Created
24370
25596
  */
24371
- export declare const zUpdateCompletionResponse: z.ZodDiscriminatedUnion<[z.ZodObject<{
25597
+ export declare const zScheduleProjectWageDeterminationChangeResponse: z.ZodDiscriminatedUnion<[z.ZodObject<{
24372
25598
  id: z.ZodString;
24373
- notes: z.ZodNullable<z.ZodString>;
24374
- completable_id: z.ZodString;
24375
- created_by_user_id: z.ZodString;
24376
- production_job_scope_price_id: z.ZodString;
24377
- job_id: z.ZodString;
24378
- scope_kind: z.ZodString;
24379
- unit_of_measure: z.ZodString;
24380
- position_ids: z.ZodArray<z.ZodString>;
24381
- feature_id: z.ZodString;
25599
+ project_id: z.ZodString;
25600
+ pwa_trade_id: z.ZodString;
25601
+ overtime_package_id: z.ZodNullable<z.ZodString>;
25602
+ pay_rates_rule_package_id: z.ZodNullable<z.ZodString>;
25603
+ labor_classification: z.ZodString;
25604
+ hourly_rate_cents: z.ZodString;
25605
+ fringe_rate_cents: z.ZodString;
25606
+ class_code: z.ZodNullable<z.ZodString>;
25607
+ construction_category: z.ZodNullable<z.ZodEnum<{
25608
+ building: "building";
25609
+ heavy: "heavy";
25610
+ highway: "highway";
25611
+ residential: "residential";
25612
+ }>>;
25613
+ general_wage_determination: z.ZodNullable<z.ZodString>;
25614
+ valid_from: z.ZodNullable<z.ZodISODateTime>;
25615
+ valid_to: z.ZodNullable<z.ZodISODateTime>;
24382
25616
  created_at: z.ZodISODateTime;
24383
25617
  updated_at: z.ZodISODateTime;
24384
- work_date: z.ZodISODate;
24385
- completable_type: z.ZodLiteral<"Production::FeatureCompletion">;
25618
+ type: z.ZodLiteral<"Pwa::ProjectWageDeterminations::Federal">;
24386
25619
  }, z.core.$strip>, z.ZodObject<{
24387
25620
  id: z.ZodString;
24388
- notes: z.ZodNullable<z.ZodString>;
24389
- completable_id: z.ZodString;
24390
- created_by_user_id: z.ZodString;
24391
- production_job_scope_price_id: z.ZodString;
24392
- job_id: z.ZodString;
24393
- scope_kind: z.ZodString;
24394
- unit_of_measure: z.ZodString;
24395
- position_ids: z.ZodArray<z.ZodString>;
24396
- quantity_completed: z.ZodInt;
25621
+ project_id: z.ZodString;
25622
+ pwa_trade_id: z.ZodString;
25623
+ overtime_package_id: z.ZodNullable<z.ZodString>;
25624
+ pay_rates_rule_package_id: z.ZodNullable<z.ZodString>;
25625
+ labor_classification: z.ZodString;
25626
+ hourly_rate_cents: z.ZodString;
25627
+ fringe_rate_cents: z.ZodString;
25628
+ general_wage_determination: z.ZodNullable<z.ZodString>;
25629
+ regional_fields: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
25630
+ valid_from: z.ZodNullable<z.ZodISODateTime>;
25631
+ valid_to: z.ZodNullable<z.ZodISODateTime>;
24397
25632
  created_at: z.ZodISODateTime;
24398
25633
  updated_at: z.ZodISODateTime;
24399
- work_date: z.ZodISODate;
24400
- completable_type: z.ZodLiteral<"Production::QuantityCompletion">;
24401
- }, z.core.$strip>], "completable_type">;
24402
- export declare const zCreateProjectTradeBody: z.ZodObject<{
24403
- name: z.ZodString;
25634
+ type: z.ZodLiteral<"Pwa::ProjectWageDeterminations::Regional">;
25635
+ }, z.core.$strip>], "type">;
25636
+ export declare const zCancelProjectWageDeterminationScheduledTerminationHeaders: z.ZodObject<{
25637
+ 'If-Match': z.ZodString;
24404
25638
  }, z.core.$strip>;
24405
- export declare const zCreateProjectTradePath: z.ZodObject<{
25639
+ export declare const zCancelProjectWageDeterminationScheduledTerminationPath: z.ZodObject<{
24406
25640
  project_id: z.ZodString;
25641
+ wage_determination_id: z.ZodString;
24407
25642
  }, z.core.$strip>;
24408
25643
  /**
24409
- * Created
25644
+ * Success
24410
25645
  */
24411
- export declare const zCreateProjectTradeResponse: z.ZodObject<{
25646
+ export declare const zCancelProjectWageDeterminationScheduledTerminationResponse: z.ZodDiscriminatedUnion<[z.ZodObject<{
24412
25647
  id: z.ZodString;
24413
- project_id: z.ZodNullable<z.ZodString>;
24414
- job_id: z.ZodNullable<z.ZodString>;
24415
- name: z.ZodString;
24416
- normalized_key: z.ZodString;
25648
+ project_id: z.ZodString;
25649
+ pwa_trade_id: z.ZodString;
25650
+ overtime_package_id: z.ZodNullable<z.ZodString>;
25651
+ pay_rates_rule_package_id: z.ZodNullable<z.ZodString>;
25652
+ labor_classification: z.ZodString;
25653
+ hourly_rate_cents: z.ZodString;
25654
+ fringe_rate_cents: z.ZodString;
25655
+ class_code: z.ZodNullable<z.ZodString>;
25656
+ construction_category: z.ZodNullable<z.ZodEnum<{
25657
+ building: "building";
25658
+ heavy: "heavy";
25659
+ highway: "highway";
25660
+ residential: "residential";
25661
+ }>>;
25662
+ general_wage_determination: z.ZodNullable<z.ZodString>;
25663
+ valid_from: z.ZodNullable<z.ZodISODateTime>;
25664
+ valid_to: z.ZodNullable<z.ZodISODateTime>;
24417
25665
  created_at: z.ZodISODateTime;
24418
25666
  updated_at: z.ZodISODateTime;
24419
- }, z.core.$strip>;
24420
- export declare const zListProjectSitesPath: z.ZodObject<{
25667
+ type: z.ZodLiteral<"Pwa::ProjectWageDeterminations::Federal">;
25668
+ }, z.core.$strip>, z.ZodObject<{
25669
+ id: z.ZodString;
24421
25670
  project_id: z.ZodString;
25671
+ pwa_trade_id: z.ZodString;
25672
+ overtime_package_id: z.ZodNullable<z.ZodString>;
25673
+ pay_rates_rule_package_id: z.ZodNullable<z.ZodString>;
25674
+ labor_classification: z.ZodString;
25675
+ hourly_rate_cents: z.ZodString;
25676
+ fringe_rate_cents: z.ZodString;
25677
+ general_wage_determination: z.ZodNullable<z.ZodString>;
25678
+ regional_fields: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
25679
+ valid_from: z.ZodNullable<z.ZodISODateTime>;
25680
+ valid_to: z.ZodNullable<z.ZodISODateTime>;
25681
+ created_at: z.ZodISODateTime;
25682
+ updated_at: z.ZodISODateTime;
25683
+ type: z.ZodLiteral<"Pwa::ProjectWageDeterminations::Regional">;
25684
+ }, z.core.$strip>], "type">;
25685
+ export declare const zScheduleProjectWageDeterminationTerminationBody: z.ZodObject<{
25686
+ effective_date: z.ZodISODate;
24422
25687
  }, z.core.$strip>;
24423
- export declare const zListProjectSitesQuery: z.ZodObject<{
24424
- 'page[cursor]': z.ZodOptional<z.ZodString>;
24425
- 'page[limit]': z.ZodDefault<z.ZodOptional<z.ZodInt>>;
24426
- page: z.ZodOptional<z.ZodString>;
24427
- }, z.core.$strip>;
24428
- /**
24429
- * Success
24430
- */
24431
- export declare const zListProjectSitesResponse: z.ZodObject<{
24432
- meta: z.ZodObject<{
24433
- page: z.ZodObject<{
24434
- next_cursor: z.ZodNullable<z.ZodString>;
24435
- current_cursor: z.ZodNullable<z.ZodString>;
24436
- }, z.core.$strip>;
24437
- }, z.core.$strip>;
24438
- links: z.ZodObject<{
24439
- self: z.ZodString;
24440
- first: z.ZodNullable<z.ZodString>;
24441
- next: z.ZodNullable<z.ZodString>;
24442
- }, z.core.$strip>;
24443
- data: z.ZodArray<z.ZodObject<{
24444
- id: z.ZodString;
24445
- site_id: z.ZodString;
24446
- feature_ids: z.ZodArray<z.ZodString>;
24447
- }, z.core.$strip>>;
24448
- }, z.core.$strip>;
24449
- export declare const zCreateProjectSiteBody: z.ZodObject<{
24450
- site_id: z.ZodString;
24451
- feature_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
25688
+ export declare const zScheduleProjectWageDeterminationTerminationHeaders: z.ZodObject<{
25689
+ 'If-Match': z.ZodString;
24452
25690
  }, z.core.$strip>;
24453
- export declare const zCreateProjectSitePath: z.ZodObject<{
25691
+ export declare const zScheduleProjectWageDeterminationTerminationPath: z.ZodObject<{
24454
25692
  project_id: z.ZodString;
25693
+ wage_determination_id: z.ZodString;
24455
25694
  }, z.core.$strip>;
24456
25695
  /**
24457
25696
  * Created
24458
25697
  */
24459
- export declare const zCreateProjectSiteResponse: z.ZodObject<{
24460
- id: z.ZodString;
24461
- site_id: z.ZodString;
24462
- feature_ids: z.ZodArray<z.ZodString>;
24463
- }, z.core.$strip>;
24464
- export declare const zDeleteProjectSitePath: z.ZodObject<{
24465
- project_id: z.ZodString;
25698
+ export declare const zScheduleProjectWageDeterminationTerminationResponse: z.ZodDiscriminatedUnion<[z.ZodObject<{
24466
25699
  id: z.ZodString;
24467
- }, z.core.$strip>;
24468
- /**
24469
- * No Content
24470
- */
24471
- export declare const zDeleteProjectSiteResponse: z.ZodVoid;
24472
- export declare const zGetProjectSitePath: z.ZodObject<{
24473
25700
  project_id: z.ZodString;
25701
+ pwa_trade_id: z.ZodString;
25702
+ overtime_package_id: z.ZodNullable<z.ZodString>;
25703
+ pay_rates_rule_package_id: z.ZodNullable<z.ZodString>;
25704
+ labor_classification: z.ZodString;
25705
+ hourly_rate_cents: z.ZodString;
25706
+ fringe_rate_cents: z.ZodString;
25707
+ class_code: z.ZodNullable<z.ZodString>;
25708
+ construction_category: z.ZodNullable<z.ZodEnum<{
25709
+ building: "building";
25710
+ heavy: "heavy";
25711
+ highway: "highway";
25712
+ residential: "residential";
25713
+ }>>;
25714
+ general_wage_determination: z.ZodNullable<z.ZodString>;
25715
+ valid_from: z.ZodNullable<z.ZodISODateTime>;
25716
+ valid_to: z.ZodNullable<z.ZodISODateTime>;
25717
+ created_at: z.ZodISODateTime;
25718
+ updated_at: z.ZodISODateTime;
25719
+ type: z.ZodLiteral<"Pwa::ProjectWageDeterminations::Federal">;
25720
+ }, z.core.$strip>, z.ZodObject<{
24474
25721
  id: z.ZodString;
24475
- }, z.core.$strip>;
24476
- /**
24477
- * Success
24478
- */
24479
- export declare const zGetProjectSiteResponse: z.ZodObject<{
24480
- id: z.ZodString;
24481
- site_id: z.ZodString;
24482
- feature_ids: z.ZodArray<z.ZodString>;
24483
- }, z.core.$strip>;
24484
- export declare const zUpdateProjectSiteBody: z.ZodObject<{
24485
- feature_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
24486
- }, z.core.$strip>;
24487
- export declare const zUpdateProjectSitePath: z.ZodObject<{
24488
25722
  project_id: z.ZodString;
24489
- id: z.ZodString;
24490
- }, z.core.$strip>;
24491
- /**
24492
- * Success
24493
- */
24494
- export declare const zUpdateProjectSiteResponse: z.ZodObject<{
24495
- id: z.ZodString;
24496
- site_id: z.ZodString;
24497
- feature_ids: z.ZodArray<z.ZodString>;
24498
- }, z.core.$strip>;
25723
+ pwa_trade_id: z.ZodString;
25724
+ overtime_package_id: z.ZodNullable<z.ZodString>;
25725
+ pay_rates_rule_package_id: z.ZodNullable<z.ZodString>;
25726
+ labor_classification: z.ZodString;
25727
+ hourly_rate_cents: z.ZodString;
25728
+ fringe_rate_cents: z.ZodString;
25729
+ general_wage_determination: z.ZodNullable<z.ZodString>;
25730
+ regional_fields: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
25731
+ valid_from: z.ZodNullable<z.ZodISODateTime>;
25732
+ valid_to: z.ZodNullable<z.ZodISODateTime>;
25733
+ created_at: z.ZodISODateTime;
25734
+ updated_at: z.ZodISODateTime;
25735
+ type: z.ZodLiteral<"Pwa::ProjectWageDeterminations::Regional">;
25736
+ }, z.core.$strip>], "type">;
24499
25737
  export declare const zListProjectWageDeterminationsPath: z.ZodObject<{
24500
25738
  project_id: z.ZodString;
24501
25739
  }, z.core.$strip>;
@@ -24832,6 +26070,9 @@ export declare const zListProjectsQuery: z.ZodObject<{
24832
26070
  }>>;
24833
26071
  'filter[external_id]': z.ZodOptional<z.ZodString>;
24834
26072
  'filter[name]': z.ZodOptional<z.ZodString>;
26073
+ 'filter[owned_by_company_id]': z.ZodOptional<z.ZodString>;
26074
+ 'filter[job_id]': z.ZodOptional<z.ZodString>;
26075
+ 'filter[site_id]': z.ZodOptional<z.ZodString>;
24835
26076
  'filter[created_at][gte]': z.ZodOptional<z.ZodISODateTime>;
24836
26077
  'filter[created_at][lte]': z.ZodOptional<z.ZodISODateTime>;
24837
26078
  'filter[updated_at][gte]': z.ZodOptional<z.ZodISODateTime>;
@@ -25527,10 +26768,10 @@ export declare const zListApprenticeshipOccupationsResponse: z.ZodObject<{
25527
26768
  }, z.core.$strip>;
25528
26769
  export declare const zCreateApprenticeshipOccupationBody: z.ZodObject<{
25529
26770
  apprenticeship_occupation_id: z.ZodString;
25530
- scope_status: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
26771
+ scope_status: z.ZodOptional<z.ZodEnum<{
25531
26772
  in_scope: "in_scope";
25532
26773
  out_of_scope: "out_of_scope";
25533
- }>>>;
26774
+ }>>;
25534
26775
  }, z.core.$strip>;
25535
26776
  export declare const zCreateApprenticeshipOccupationPath: z.ZodObject<{
25536
26777
  trade_id: z.ZodString;
@@ -25586,10 +26827,10 @@ export declare const zGetApprenticeshipOccupationResponse: z.ZodObject<{
25586
26827
  updated_at: z.ZodISODateTime;
25587
26828
  }, z.core.$strip>;
25588
26829
  export declare const zUpdateApprenticeshipOccupationBody: z.ZodObject<{
25589
- scope_status: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
26830
+ scope_status: z.ZodOptional<z.ZodEnum<{
25590
26831
  in_scope: "in_scope";
25591
26832
  out_of_scope: "out_of_scope";
25592
- }>>>;
26833
+ }>>;
25593
26834
  }, z.core.$strip>;
25594
26835
  export declare const zUpdateApprenticeshipOccupationPath: z.ZodObject<{
25595
26836
  trade_id: z.ZodString;
@@ -26207,7 +27448,7 @@ export declare const zListTimeCardPerDiemsResponse: z.ZodObject<{
26207
27448
  export declare const zCreateTimeCardPerDiemBody: z.ZodObject<{
26208
27449
  date: z.ZodISODate;
26209
27450
  approver_user_id: z.ZodString;
26210
- per_diem_id: z.ZodOptional<z.ZodString>;
27451
+ per_diem_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26211
27452
  }, z.core.$strip>;
26212
27453
  export declare const zCreateTimeCardPerDiemPath: z.ZodObject<{
26213
27454
  time_card_id: z.ZodString;
@@ -26249,7 +27490,7 @@ export declare const zDeleteTimeCardPerDiemResponse: z.ZodObject<{
26249
27490
  export declare const zUpdateTimeCardPerDiemBody: z.ZodObject<{
26250
27491
  date: z.ZodOptional<z.ZodISODate>;
26251
27492
  approver_user_id: z.ZodOptional<z.ZodString>;
26252
- per_diem_id: z.ZodOptional<z.ZodString>;
27493
+ per_diem_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26253
27494
  }, z.core.$strip>;
26254
27495
  export declare const zUpdateTimeCardPerDiemPath: z.ZodObject<{
26255
27496
  time_card_id: z.ZodString;
@@ -26509,6 +27750,7 @@ export declare const zCreateWorkerTimeCardApprovalBody: z.ZodObject<{
26509
27750
  status: z.ZodEnum<{
26510
27751
  pending: "pending";
26511
27752
  approved: "approved";
27753
+ declined: "declined";
26512
27754
  }>;
26513
27755
  }, z.core.$strip>;
26514
27756
  export declare const zCreateWorkerTimeCardApprovalPath: z.ZodObject<{
@@ -28018,11 +29260,11 @@ export declare const zListHolidaysResponse: z.ZodObject<{
28018
29260
  export declare const zCreateHolidayBody: z.ZodObject<{
28019
29261
  name: z.ZodString;
28020
29262
  date: z.ZodOptional<z.ZodISODate>;
28021
- holiday_type: z.ZodEnum<{
29263
+ holiday_type: z.ZodOptional<z.ZodEnum<{
28022
29264
  fixed: "fixed";
28023
29265
  floating: "floating";
28024
- }>;
28025
- month: z.ZodInt;
29266
+ }>>;
29267
+ month: z.ZodOptional<z.ZodInt>;
28026
29268
  mday: z.ZodOptional<z.ZodInt>;
28027
29269
  wday: z.ZodOptional<z.ZodInt>;
28028
29270
  week: z.ZodOptional<z.ZodInt>;
@@ -28206,15 +29448,15 @@ export declare const zCreatePayPeriodConfigBody: z.ZodObject<{
28206
29448
  }>;
28207
29449
  start_day_of_week: z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>, z.ZodLiteral<6>]>;
28208
29450
  tz_name: z.ZodString;
28209
- currency: z.ZodDefault<z.ZodOptional<z.ZodString>>;
28210
- rounding_interval: z.ZodDefault<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<15>]>>>;
29451
+ currency: z.ZodOptional<z.ZodString>;
29452
+ rounding_interval: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<15>]>>;
28211
29453
  payroll_system: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
28212
29454
  rippling: "rippling";
28213
29455
  quickbooks_online: "quickbooks_online";
28214
29456
  paychex: "paychex";
28215
29457
  gusto: "gusto";
28216
29458
  }>>>;
28217
- paid_after_holiday: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
29459
+ paid_after_holiday: z.ZodOptional<z.ZodBoolean>;
28218
29460
  arrear_days: z.ZodInt;
28219
29461
  pay_run_deadline_days: z.ZodInt;
28220
29462
  pay_run_deadline_clock_time: z.ZodString;
@@ -28735,15 +29977,15 @@ export declare const zListUserRolesResponse: z.ZodObject<{
28735
29977
  }, z.core.$strip>>;
28736
29978
  }, z.core.$strip>;
28737
29979
  export declare const zAddUserRolesBody: z.ZodObject<{
28738
- user_id: z.ZodOptional<z.ZodString>;
28739
- company_id: z.ZodOptional<z.ZodString>;
28740
- role: z.ZodOptional<z.ZodEnum<{
29980
+ company_id: z.ZodString;
29981
+ user_id: z.ZodString;
29982
+ role: z.ZodEnum<{
28741
29983
  TECHNICIAN: "TECHNICIAN";
28742
29984
  FIELD_LEAD: "FIELD_LEAD";
28743
29985
  MANAGER: "MANAGER";
28744
29986
  SAFETY_MANAGER: "SAFETY_MANAGER";
28745
29987
  ADMIN: "ADMIN";
28746
- }>>;
29988
+ }>;
28747
29989
  }, z.core.$strip>;
28748
29990
  /**
28749
29991
  * Success
@@ -28819,7 +30061,7 @@ export declare const zListUserCompanyScheduledChangesResponse: z.ZodObject<{
28819
30061
  }, z.core.$strip>>;
28820
30062
  }, z.core.$strip>;
28821
30063
  export declare const zCreateUserCompanyScheduledChangeBody: z.ZodObject<{
28822
- effective_date: z.ZodString;
30064
+ effective_date: z.ZodISODate;
28823
30065
  hourly_rate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28824
30066
  compensation_type: z.ZodOptional<z.ZodEnum<{
28825
30067
  hourly: "hourly";
@@ -28917,7 +30159,7 @@ export declare const zCancelUserCompanyScheduledChangeResponse: z.ZodObject<{
28917
30159
  }, z.core.$strip>>;
28918
30160
  }, z.core.$strip>;
28919
30161
  export declare const zUpdateScheduledChangeBody: z.ZodObject<{
28920
- effective_date: z.ZodString;
30162
+ effective_date: z.ZodISODate;
28921
30163
  hourly_rate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28922
30164
  compensation_type: z.ZodOptional<z.ZodEnum<{
28923
30165
  hourly: "hourly";
@@ -28975,7 +30217,7 @@ export declare const zUpdateScheduledChangeResponse: z.ZodObject<{
28975
30217
  }, z.core.$strip>>;
28976
30218
  }, z.core.$strip>;
28977
30219
  export declare const zCreateScheduledTerminationBody: z.ZodObject<{
28978
- termination_date: z.ZodString;
30220
+ termination_date: z.ZodISODate;
28979
30221
  }, z.core.$strip>;
28980
30222
  export declare const zCreateScheduledTerminationPath: z.ZodObject<{
28981
30223
  user_id: z.ZodString;
@@ -29887,7 +31129,7 @@ export declare const zCreateUserBody: z.ZodIntersection<z.ZodUnion<readonly [z.Z
29887
31129
  winda_id: z.ZodOptional<z.ZodString>;
29888
31130
  linkedin_url: z.ZodOptional<z.ZodString>;
29889
31131
  roles: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
29890
- avatar_signed_id: z.ZodOptional<z.ZodString>;
31132
+ avatar_signed_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29891
31133
  created_by_user_id: z.ZodOptional<z.ZodString>;
29892
31134
  last_sent_by_user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29893
31135
  skip_notify: z.ZodOptional<z.ZodBoolean>;