@dsptch-work/api-client 0.17.0 → 0.19.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.
@@ -587,6 +587,26 @@ export declare const zApprenticeshipApprenticeResponseObject: z.ZodObject<{
587
587
  created_at: z.ZodISODateTime;
588
588
  updated_at: z.ZodISODateTime;
589
589
  }, z.core.$strip>;
590
+ export declare const zApprenticeshipAllocationResponseObject: z.ZodObject<{
591
+ id: z.ZodString;
592
+ apprenticeship_apprentice_id: z.ZodString;
593
+ apprenticeship_work_process_category_id: z.ZodNullable<z.ZodString>;
594
+ allocated_by_user_id: z.ZodString;
595
+ timekeeping_time_card_id: z.ZodNullable<z.ZodString>;
596
+ minutes: z.ZodInt;
597
+ description: z.ZodNullable<z.ZodString>;
598
+ allocated_at: z.ZodISODateTime;
599
+ cumulative_minutes: z.ZodInt;
600
+ apprenticeship_wage_schedule_period_id: z.ZodString;
601
+ created_at: z.ZodISODateTime;
602
+ updated_at: z.ZodISODateTime;
603
+ }, z.core.$strip>;
604
+ /**
605
+ * Correct the effective timestamp of an existing standalone allocation. Time-card-linked allocations cannot be date-corrected. A changed timestamp rebuilds progression and requests historical wage repricing in the background, including locked time cards.
606
+ */
607
+ export declare const zApprenticeshipAllocationUpdateParameters: z.ZodObject<{
608
+ allocated_at: z.ZodOptional<z.ZodISODateTime>;
609
+ }, z.core.$strip>;
590
610
  /**
591
611
  * 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.
592
612
  */
@@ -610,7 +630,7 @@ export declare const zApprenticeshipApprenticeParameters: z.ZodObject<{
610
630
  operative_end_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
611
631
  }, z.core.$strip>;
612
632
  /**
613
- * Create or update an apprenticeship program sponsored by your company; the sponsor is always your company and is never taken from the request body.
633
+ * Create an apprenticeship program sponsored by your company; the sponsor is always your company and is never taken from the request body.
614
634
  */
615
635
  export declare const zApprenticeshipProgramParameters: z.ZodObject<{
616
636
  program_number: z.ZodString;
@@ -623,7 +643,20 @@ export declare const zApprenticeshipProgramParameters: z.ZodObject<{
623
643
  }>>>;
624
644
  }, z.core.$strip>;
625
645
  /**
626
- * Create or update an occupation (trade) within a sponsored program; the program is taken from the URL path.
646
+ * Update an apprenticeship program sponsored by your company. Send only the fields to change; the sponsor is fixed to your company.
647
+ */
648
+ export declare const zApprenticeshipProgramUpdateParameters: z.ZodObject<{
649
+ program_number: z.ZodOptional<z.ZodString>;
650
+ program_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
651
+ sponsor_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
652
+ doing_business_as: z.ZodOptional<z.ZodNullable<z.ZodString>>;
653
+ registration_agency_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
654
+ federal: "federal";
655
+ regional: "regional";
656
+ }>>>;
657
+ }, z.core.$strip>;
658
+ /**
659
+ * Create an occupation (trade) within a sponsored program; the program is taken from the URL path.
627
660
  */
628
661
  export declare const zApprenticeshipOccupationParameters: z.ZodObject<{
629
662
  rapids_code: z.ZodString;
@@ -641,14 +674,39 @@ export declare const zApprenticeshipOccupationParameters: z.ZodObject<{
641
674
  num_journeyworkers: z.ZodInt;
642
675
  }, z.core.$strip>;
643
676
  /**
644
- * Authorize an employer to employ apprentices in a program; only the program's sponsor may manage this roster.
677
+ * Update an occupation (trade) within a sponsored program. Send only the fields to change; the program is taken from the URL path.
678
+ */
679
+ export declare const zApprenticeshipOccupationUpdateParameters: z.ZodObject<{
680
+ rapids_code: z.ZodOptional<z.ZodString>;
681
+ occupation_type: z.ZodOptional<z.ZodEnum<{
682
+ time_based: "time_based";
683
+ competency_based: "competency_based";
684
+ hybrid: "hybrid";
685
+ }>>;
686
+ title: z.ZodOptional<z.ZodString>;
687
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
688
+ min_minutes: z.ZodOptional<z.ZodInt>;
689
+ max_minutes: z.ZodOptional<z.ZodInt>;
690
+ probation_minutes: z.ZodOptional<z.ZodInt>;
691
+ num_apprentices: z.ZodOptional<z.ZodInt>;
692
+ num_journeyworkers: z.ZodOptional<z.ZodInt>;
693
+ }, z.core.$strip>;
694
+ /**
695
+ * Create an authorization for an employer to employ apprentices in a program; only the program's sponsor may manage this roster.
645
696
  */
646
697
  export declare const zApprenticeshipProgramEmployerParameters: z.ZodObject<{
647
698
  company_id: z.ZodString;
648
699
  require_timecard_allocation: z.ZodOptional<z.ZodBoolean>;
649
700
  }, z.core.$strip>;
650
701
  /**
651
- * Create or update a period on a wage schedule; the wage schedule is taken from the URL path. wage_cents is sent as integer cents.
702
+ * Update an employer authorization in a program. Send only the fields to change; only the program's sponsor may manage this roster.
703
+ */
704
+ export declare const zApprenticeshipProgramEmployerUpdateParameters: z.ZodObject<{
705
+ company_id: z.ZodOptional<z.ZodString>;
706
+ require_timecard_allocation: z.ZodOptional<z.ZodBoolean>;
707
+ }, z.core.$strip>;
708
+ /**
709
+ * Create a period on a wage schedule; the wage schedule is taken from the URL path. wage_cents is sent as integer cents.
652
710
  */
653
711
  export declare const zApprenticeshipWageSchedulePeriodParameters: z.ZodObject<{
654
712
  period_number: z.ZodInt;
@@ -660,7 +718,19 @@ export declare const zApprenticeshipWageSchedulePeriodParameters: z.ZodObject<{
660
718
  wage_cents: z.ZodInt;
661
719
  }, z.core.$strip>;
662
720
  /**
663
- * Create or update a wage schedule for an occupation; the occupation is taken from the URL path. Money is sent as integer cents; periods may be created, updated, or removed inline via periods_attributes.
721
+ * Update a period on a wage schedule. Send only the fields to change; the wage schedule is taken from the URL path and wage_cents is sent as integer cents.
722
+ */
723
+ export declare const zApprenticeshipWageSchedulePeriodUpdateParameters: z.ZodObject<{
724
+ period_number: z.ZodOptional<z.ZodInt>;
725
+ min_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
726
+ max_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
727
+ num_competencies: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
728
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
729
+ wage_percent: z.ZodOptional<z.ZodNumber>;
730
+ wage_cents: z.ZodOptional<z.ZodInt>;
731
+ }, z.core.$strip>;
732
+ /**
733
+ * Create a wage schedule for an occupation; the occupation is taken from the URL path. Money is sent as integer cents; periods may be created inline via periods_attributes.
664
734
  */
665
735
  export declare const zApprenticeshipWageScheduleParameters: z.ZodObject<{
666
736
  name: z.ZodString;
@@ -703,6 +773,58 @@ export declare const zApprenticeshipWageScheduleParameters: z.ZodObject<{
703
773
  _destroy: z.ZodOptional<z.ZodBoolean>;
704
774
  }, z.core.$strip>>>;
705
775
  }, z.core.$strip>;
776
+ /**
777
+ * Update a wage schedule for an occupation. Send only the fields to change; money is sent as integer cents and periods may be created, updated, or removed inline via periods_attributes.
778
+ */
779
+ export declare const zApprenticeshipWageScheduleUpdateParameters: z.ZodObject<{
780
+ name: z.ZodOptional<z.ZodString>;
781
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
782
+ wage_unit: z.ZodOptional<z.ZodEnum<{
783
+ hourly: "hourly";
784
+ weekly: "weekly";
785
+ monthly: "monthly";
786
+ quarterly: "quarterly";
787
+ semi_annually: "semi_annually";
788
+ annually: "annually";
789
+ }>>;
790
+ journeyworker_wage_unit: z.ZodOptional<z.ZodEnum<{
791
+ hourly: "hourly";
792
+ weekly: "weekly";
793
+ monthly: "monthly";
794
+ quarterly: "quarterly";
795
+ semi_annually: "semi_annually";
796
+ annually: "annually";
797
+ }>>;
798
+ period_unit: z.ZodOptional<z.ZodEnum<{
799
+ hours: "hours";
800
+ weeks: "weeks";
801
+ months: "months";
802
+ quarter: "quarter";
803
+ semi_annual: "semi_annual";
804
+ year: "year";
805
+ }>>;
806
+ journeyworker_wage_cents: z.ZodOptional<z.ZodInt>;
807
+ end_wage_cents: z.ZodOptional<z.ZodInt>;
808
+ periods_attributes: z.ZodOptional<z.ZodArray<z.ZodIntersection<z.ZodUnion<readonly [z.ZodUnknown, z.ZodUnion<readonly [z.ZodObject<{
809
+ min_minutes: z.ZodInt;
810
+ }, z.core.$strip>, z.ZodObject<{
811
+ max_minutes: z.ZodInt;
812
+ }, z.core.$strip>, z.ZodObject<{
813
+ num_competencies: z.ZodInt;
814
+ }, z.core.$strip>]>, z.ZodObject<{
815
+ _destroy: z.ZodLiteral<true>;
816
+ }, z.core.$strip>]>, z.ZodObject<{
817
+ id: z.ZodOptional<z.ZodString>;
818
+ period_number: z.ZodOptional<z.ZodInt>;
819
+ min_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
820
+ max_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
821
+ num_competencies: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
822
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
823
+ wage_percent: z.ZodOptional<z.ZodNumber>;
824
+ wage_cents: z.ZodOptional<z.ZodInt>;
825
+ _destroy: z.ZodOptional<z.ZodBoolean>;
826
+ }, z.core.$strip>>>>;
827
+ }, z.core.$strip>;
706
828
  /**
707
829
  * A work-type classification that determines how tracked time is treated — paid vs unpaid, overtime-eligible, billable, PWA/prevailing-wage-eligible, holiday, PTO, or rest-and-recovery — versioned bitemporally so each version carries its own validity window.
708
830
  */
@@ -736,6 +858,154 @@ export declare const zTimecodeResponseObject: z.ZodObject<{
736
858
  created_at: z.ZodISODateTime;
737
859
  updated_at: z.ZodISODateTime;
738
860
  }, z.core.$strip>;
861
+ /**
862
+ * An employment stint in the credential company. Its id is stable across valid-time versions; a rehire is a separate stint with a new id. A read returns only a version covering now or as_of[valid].
863
+ */
864
+ export declare const zPeopleEmploymentResponseObject: z.ZodObject<{
865
+ id: z.ZodString;
866
+ user_id: z.ZodString;
867
+ company_id: z.ZodString;
868
+ type: z.ZodEnum<{
869
+ EMPLOYEE: "EMPLOYEE";
870
+ CONTRACTOR: "CONTRACTOR";
871
+ }>;
872
+ title: z.ZodNullable<z.ZodString>;
873
+ compensation_type: z.ZodEnum<{
874
+ hourly: "hourly";
875
+ salary: "salary";
876
+ }>;
877
+ payroll_id: z.ZodNullable<z.ZodString>;
878
+ manager_user_id: z.ZodNullable<z.ZodString>;
879
+ companies_department_id: z.ZodNullable<z.ZodString>;
880
+ enrolled_in_t_and_a: z.ZodBoolean;
881
+ overtime_eligible: z.ZodNullable<z.ZodBoolean>;
882
+ overtime_package_id: z.ZodNullable<z.ZodString>;
883
+ pay_rates_rule_package_id: z.ZodNullable<z.ZodString>;
884
+ pay_rates_package_id: z.ZodNullable<z.ZodString>;
885
+ worked_annual_minutes: z.ZodNullable<z.ZodInt>;
886
+ pto_annual_minutes: z.ZodNullable<z.ZodInt>;
887
+ holiday_annual_minutes: z.ZodNullable<z.ZodInt>;
888
+ training_annual_minutes: z.ZodNullable<z.ZodInt>;
889
+ hourly_rate_cents: z.ZodNullable<z.ZodString>;
890
+ training_annual_amount_cents: z.ZodNullable<z.ZodString>;
891
+ employer_combined_health_amount_cents: z.ZodNullable<z.ZodString>;
892
+ employer_combined_savings_cents: z.ZodNullable<z.ZodString>;
893
+ currency: z.ZodString;
894
+ valid_from: z.ZodNullable<z.ZodISODateTime>;
895
+ valid_to: z.ZodNullable<z.ZodISODateTime>;
896
+ created_at: z.ZodISODateTime;
897
+ updated_at: z.ZodISODateTime;
898
+ }, z.core.$strip>;
899
+ export declare const zPeopleEmploymentHistoryCorrectionObject: z.ZodObject<{
900
+ people_employment_id: z.ZodString;
901
+ user_id: z.ZodString;
902
+ company_id: z.ZodString;
903
+ type: z.ZodEnum<{
904
+ EMPLOYEE: "EMPLOYEE";
905
+ CONTRACTOR: "CONTRACTOR";
906
+ }>;
907
+ title: z.ZodNullable<z.ZodString>;
908
+ compensation_type: z.ZodEnum<{
909
+ hourly: "hourly";
910
+ salary: "salary";
911
+ }>;
912
+ payroll_id: z.ZodNullable<z.ZodString>;
913
+ manager_user_id: z.ZodNullable<z.ZodString>;
914
+ companies_department_id: z.ZodNullable<z.ZodString>;
915
+ enrolled_in_t_and_a: z.ZodBoolean;
916
+ overtime_eligible: z.ZodNullable<z.ZodBoolean>;
917
+ overtime_package_id: z.ZodNullable<z.ZodString>;
918
+ pay_rates_rule_package_id: z.ZodNullable<z.ZodString>;
919
+ pay_rates_package_id: z.ZodNullable<z.ZodString>;
920
+ worked_annual_minutes: z.ZodNullable<z.ZodInt>;
921
+ pto_annual_minutes: z.ZodNullable<z.ZodInt>;
922
+ holiday_annual_minutes: z.ZodNullable<z.ZodInt>;
923
+ training_annual_minutes: z.ZodNullable<z.ZodInt>;
924
+ hourly_rate_cents: z.ZodNullable<z.ZodString>;
925
+ training_annual_amount_cents: z.ZodNullable<z.ZodString>;
926
+ employer_combined_health_amount_cents: z.ZodNullable<z.ZodString>;
927
+ employer_combined_savings_cents: z.ZodNullable<z.ZodString>;
928
+ currency: z.ZodString;
929
+ valid_from: z.ZodNullable<z.ZodISODateTime>;
930
+ valid_to: z.ZodNullable<z.ZodISODateTime>;
931
+ created_at: z.ZodISODateTime;
932
+ updated_at: z.ZodISODateTime;
933
+ }, z.core.$strip>;
934
+ export declare const zPeopleEmploymentHistoryVersionObject: z.ZodObject<{
935
+ people_employment_id: z.ZodString;
936
+ user_id: z.ZodString;
937
+ company_id: z.ZodString;
938
+ type: z.ZodEnum<{
939
+ EMPLOYEE: "EMPLOYEE";
940
+ CONTRACTOR: "CONTRACTOR";
941
+ }>;
942
+ title: z.ZodNullable<z.ZodString>;
943
+ compensation_type: z.ZodEnum<{
944
+ hourly: "hourly";
945
+ salary: "salary";
946
+ }>;
947
+ payroll_id: z.ZodNullable<z.ZodString>;
948
+ manager_user_id: z.ZodNullable<z.ZodString>;
949
+ companies_department_id: z.ZodNullable<z.ZodString>;
950
+ enrolled_in_t_and_a: z.ZodBoolean;
951
+ overtime_eligible: z.ZodNullable<z.ZodBoolean>;
952
+ overtime_package_id: z.ZodNullable<z.ZodString>;
953
+ pay_rates_rule_package_id: z.ZodNullable<z.ZodString>;
954
+ pay_rates_package_id: z.ZodNullable<z.ZodString>;
955
+ worked_annual_minutes: z.ZodNullable<z.ZodInt>;
956
+ pto_annual_minutes: z.ZodNullable<z.ZodInt>;
957
+ holiday_annual_minutes: z.ZodNullable<z.ZodInt>;
958
+ training_annual_minutes: z.ZodNullable<z.ZodInt>;
959
+ hourly_rate_cents: z.ZodNullable<z.ZodString>;
960
+ training_annual_amount_cents: z.ZodNullable<z.ZodString>;
961
+ employer_combined_health_amount_cents: z.ZodNullable<z.ZodString>;
962
+ employer_combined_savings_cents: z.ZodNullable<z.ZodString>;
963
+ currency: z.ZodString;
964
+ valid_from: z.ZodNullable<z.ZodISODateTime>;
965
+ valid_to: z.ZodNullable<z.ZodISODateTime>;
966
+ created_at: z.ZodISODateTime;
967
+ updated_at: z.ZodISODateTime;
968
+ version_status: z.ZodEnum<{
969
+ scheduled: "scheduled";
970
+ current: "current";
971
+ historical: "historical";
972
+ }>;
973
+ corrections: z.ZodArray<z.ZodObject<{
974
+ people_employment_id: z.ZodString;
975
+ user_id: z.ZodString;
976
+ company_id: z.ZodString;
977
+ type: z.ZodEnum<{
978
+ EMPLOYEE: "EMPLOYEE";
979
+ CONTRACTOR: "CONTRACTOR";
980
+ }>;
981
+ title: z.ZodNullable<z.ZodString>;
982
+ compensation_type: z.ZodEnum<{
983
+ hourly: "hourly";
984
+ salary: "salary";
985
+ }>;
986
+ payroll_id: z.ZodNullable<z.ZodString>;
987
+ manager_user_id: z.ZodNullable<z.ZodString>;
988
+ companies_department_id: z.ZodNullable<z.ZodString>;
989
+ enrolled_in_t_and_a: z.ZodBoolean;
990
+ overtime_eligible: z.ZodNullable<z.ZodBoolean>;
991
+ overtime_package_id: z.ZodNullable<z.ZodString>;
992
+ pay_rates_rule_package_id: z.ZodNullable<z.ZodString>;
993
+ pay_rates_package_id: z.ZodNullable<z.ZodString>;
994
+ worked_annual_minutes: z.ZodNullable<z.ZodInt>;
995
+ pto_annual_minutes: z.ZodNullable<z.ZodInt>;
996
+ holiday_annual_minutes: z.ZodNullable<z.ZodInt>;
997
+ training_annual_minutes: z.ZodNullable<z.ZodInt>;
998
+ hourly_rate_cents: z.ZodNullable<z.ZodString>;
999
+ training_annual_amount_cents: z.ZodNullable<z.ZodString>;
1000
+ employer_combined_health_amount_cents: z.ZodNullable<z.ZodString>;
1001
+ employer_combined_savings_cents: z.ZodNullable<z.ZodString>;
1002
+ currency: z.ZodString;
1003
+ valid_from: z.ZodNullable<z.ZodISODateTime>;
1004
+ valid_to: z.ZodNullable<z.ZodISODateTime>;
1005
+ created_at: z.ZodISODateTime;
1006
+ updated_at: z.ZodISODateTime;
1007
+ }, z.core.$strip>>;
1008
+ }, z.core.$strip>;
739
1009
  export declare const zTimecodeHistoryCorrectionObject: z.ZodObject<{
740
1010
  timekeeping_timecode_id: z.ZodString;
741
1011
  name: z.ZodString;
@@ -857,10 +1127,13 @@ export declare const zTimecodeParameters: z.ZodObject<{
857
1127
  }>>;
858
1128
  effective_date: z.ZodOptional<z.ZodISODateTime>;
859
1129
  }, z.core.$strip>;
1130
+ /**
1131
+ * Request body for correcting a timecode over a valid-time span. Send only the fields to change; omitted fields retain their current values. `effective_from` defaults to the addressed version's start, and `effective_to` is optional.
1132
+ */
860
1133
  export declare const zTimecodeCorrectionParameters: z.ZodObject<{
861
1134
  effective_from: z.ZodOptional<z.ZodISODateTime>;
862
1135
  effective_to: z.ZodOptional<z.ZodISODateTime>;
863
- name: z.ZodString;
1136
+ name: z.ZodOptional<z.ZodString>;
864
1137
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
865
1138
  description_is_required: z.ZodOptional<z.ZodBoolean>;
866
1139
  billable: z.ZodOptional<z.ZodBoolean>;
@@ -881,6 +1154,9 @@ export declare const zTimecodeCorrectionParameters: z.ZodObject<{
881
1154
  job_with_timecode: "job_with_timecode";
882
1155
  }>>;
883
1156
  }, z.core.$strip>;
1157
+ /**
1158
+ * Request body for moving the beginning of a timecode's valid-time timeline. Moving it earlier extends coverage; moving it later removes coverage before the new beginning.
1159
+ */
884
1160
  export declare const zTimecodeGenesisParameters: z.ZodObject<{
885
1161
  effective_date: z.ZodISODateTime;
886
1162
  }, z.core.$strip>;
@@ -934,7 +1210,7 @@ export declare const zPerDiemResponseObject: z.ZodObject<{
934
1210
  updated_at: z.ZodISODateTime;
935
1211
  }, z.core.$strip>;
936
1212
  /**
937
- * Fields for creating or updating a per diem.
1213
+ * Request body for creating a per diem. name, currency, and rate_cents are required.
938
1214
  */
939
1215
  export declare const zPerDiemParameters: z.ZodObject<{
940
1216
  name: z.ZodString;
@@ -947,6 +1223,20 @@ export declare const zPerDiemParameters: z.ZodObject<{
947
1223
  work_type_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
948
1224
  timekeeping_timecode_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
949
1225
  }, z.core.$strip>;
1226
+ /**
1227
+ * Request body for updating a per diem. Send only the fields to change.
1228
+ */
1229
+ export declare const zPerDiemUpdateParameters: z.ZodObject<{
1230
+ name: z.ZodOptional<z.ZodString>;
1231
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1232
+ rate_cents: z.ZodOptional<z.ZodString>;
1233
+ currency: z.ZodOptional<z.ZodString>;
1234
+ taxable: z.ZodOptional<z.ZodBoolean>;
1235
+ default: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1236
+ active: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1237
+ work_type_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
1238
+ timekeeping_timecode_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
1239
+ }, z.core.$strip>;
950
1240
  /**
951
1241
  * The product's filled attribute values — one entry per attribute assigned to its category.
952
1242
  */
@@ -996,6 +1286,25 @@ export declare const zAssetsAttributeParameters: z.ZodObject<{
996
1286
  _destroy: z.ZodOptional<z.ZodBoolean>;
997
1287
  }, z.core.$strip>>>;
998
1288
  }, z.core.$strip>;
1289
+ /**
1290
+ * Update an attribute definition. All fields are optional — send only what changes. Options apply only to a select attribute and are ignored otherwise; data_type cannot be changed once any value has been filled.
1291
+ */
1292
+ export declare const zAssetsAttributeUpdateParameters: z.ZodObject<{
1293
+ name: z.ZodOptional<z.ZodString>;
1294
+ data_type: z.ZodOptional<z.ZodEnum<{
1295
+ number: "number";
1296
+ boolean: "boolean";
1297
+ text: "text";
1298
+ date: "date";
1299
+ select: "select";
1300
+ }>>;
1301
+ options: z.ZodOptional<z.ZodArray<z.ZodObject<{
1302
+ id: z.ZodOptional<z.ZodString>;
1303
+ value: z.ZodOptional<z.ZodString>;
1304
+ position: z.ZodOptional<z.ZodInt>;
1305
+ _destroy: z.ZodOptional<z.ZodBoolean>;
1306
+ }, z.core.$strip>>>;
1307
+ }, z.core.$strip>;
999
1308
  /**
1000
1309
  * A node in the company's asset category tree. Categories classify products and, through their attribute assignments, set which custom fields those products and items carry.
1001
1310
  */
@@ -1036,6 +1345,24 @@ export declare const zAssetsCategoryParameters: z.ZodObject<{
1036
1345
  _destroy: z.ZodOptional<z.ZodBoolean>;
1037
1346
  }, z.core.$strip>>>;
1038
1347
  }, z.core.$strip>;
1348
+ /**
1349
+ * Update a category. All fields are optional — send only what changes. `category_attributes` sets this category's direct attribute assignments.
1350
+ */
1351
+ export declare const zAssetsCategoryUpdateParameters: z.ZodObject<{
1352
+ name: z.ZodOptional<z.ZodString>;
1353
+ parent_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1354
+ category_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
1355
+ id: z.ZodOptional<z.ZodString>;
1356
+ assets_attribute_id: z.ZodString;
1357
+ fillable_on: z.ZodEnum<{
1358
+ product: "product";
1359
+ item: "item";
1360
+ }>;
1361
+ required: z.ZodOptional<z.ZodBoolean>;
1362
+ position: z.ZodOptional<z.ZodInt>;
1363
+ _destroy: z.ZodOptional<z.ZodBoolean>;
1364
+ }, z.core.$strip>>>;
1365
+ }, z.core.$strip>;
1039
1366
  /**
1040
1367
  * A company department that workers can be assigned to.
1041
1368
  */
@@ -1048,12 +1375,19 @@ export declare const zDepartmentResponseObject: z.ZodObject<{
1048
1375
  updated_at: z.ZodISODateTime;
1049
1376
  }, z.core.$strip>;
1050
1377
  /**
1051
- * Request body for creating or updating a department.
1378
+ * Request body for creating a department.
1052
1379
  */
1053
1380
  export declare const zDepartmentParameters: z.ZodObject<{
1054
1381
  name: z.ZodString;
1055
1382
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1056
1383
  }, z.core.$strip>;
1384
+ /**
1385
+ * Request body for updating a department. Send only the fields to change.
1386
+ */
1387
+ export declare const zDepartmentUpdateParameters: z.ZodObject<{
1388
+ name: z.ZodOptional<z.ZodString>;
1389
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1390
+ }, z.core.$strip>;
1057
1391
  /**
1058
1392
  * A per-diem allowance recorded on a time card for a specific date. Its rate, currency, and taxable flag are snapshotted from the referenced catalog per diem when saved.
1059
1393
  */
@@ -1070,12 +1404,20 @@ export declare const zTimeCardPerDiemResponseObject: z.ZodObject<{
1070
1404
  updated_at: z.ZodISODateTime;
1071
1405
  }, z.core.$strip>;
1072
1406
  /**
1073
- * Request body for recording or updating a per diem on a time card. The time card is taken from the URL path; the rate, currency, and taxable flag are copied from the referenced catalog per diem, not this body.
1407
+ * Request body for recording a per diem on a time card. The time card is taken from the URL path; the rate, currency, and taxable flag are copied from the referenced catalog per diem when one is supplied, not this body.
1074
1408
  */
1075
1409
  export declare const zTimeCardPerDiemParameters: z.ZodObject<{
1076
1410
  date: z.ZodISODate;
1077
1411
  approver_user_id: z.ZodString;
1078
- per_diem_id: z.ZodString;
1412
+ per_diem_id: z.ZodOptional<z.ZodString>;
1413
+ }, z.core.$strip>;
1414
+ /**
1415
+ * 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.
1416
+ */
1417
+ export declare const zTimeCardPerDiemUpdateParameters: z.ZodObject<{
1418
+ date: z.ZodOptional<z.ZodISODate>;
1419
+ approver_user_id: z.ZodOptional<z.ZodString>;
1420
+ per_diem_id: z.ZodOptional<z.ZodString>;
1079
1421
  }, z.core.$strip>;
1080
1422
  /**
1081
1423
  * 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.
@@ -1291,7 +1633,7 @@ export declare const zPayPeriodConfigHistoryVersionObject: z.ZodObject<{
1291
1633
  }, z.core.$strip>>;
1292
1634
  }, z.core.$strip>;
1293
1635
  /**
1294
- * Create or update a holiday on a pay schedule. name, holiday_type, and month are required; mday is required for fixed holidays and wday + week for floating holidays (enforced by model validation).
1636
+ * 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.
1295
1637
  */
1296
1638
  export declare const zHolidayParameters: z.ZodObject<{
1297
1639
  name: z.ZodString;
@@ -1310,6 +1652,26 @@ export declare const zHolidayParameters: z.ZodObject<{
1310
1652
  banking: z.ZodOptional<z.ZodBoolean>;
1311
1653
  count_hours_for_overtime: z.ZodOptional<z.ZodBoolean>;
1312
1654
  }, z.core.$strip>;
1655
+ /**
1656
+ * Update a holiday on a pay schedule. Send only the fields to change; the resulting fixed or floating definition must remain complete.
1657
+ */
1658
+ export declare const zHolidayUpdateParameters: z.ZodObject<{
1659
+ name: z.ZodOptional<z.ZodString>;
1660
+ date: z.ZodOptional<z.ZodISODate>;
1661
+ holiday_type: z.ZodOptional<z.ZodEnum<{
1662
+ fixed: "fixed";
1663
+ floating: "floating";
1664
+ }>>;
1665
+ month: z.ZodOptional<z.ZodInt>;
1666
+ mday: z.ZodOptional<z.ZodInt>;
1667
+ wday: z.ZodOptional<z.ZodInt>;
1668
+ week: z.ZodOptional<z.ZodInt>;
1669
+ year: z.ZodOptional<z.ZodInt>;
1670
+ move_to_weekday: z.ZodOptional<z.ZodBoolean>;
1671
+ overtime: z.ZodOptional<z.ZodBoolean>;
1672
+ banking: z.ZodOptional<z.ZodBoolean>;
1673
+ count_hours_for_overtime: z.ZodOptional<z.ZodBoolean>;
1674
+ }, z.core.$strip>;
1313
1675
  /**
1314
1676
  * Prevailing-wage / apprenticeship (PWA) compliance details for a worker at a company — home address, demographics, and jurisdiction-specific fields used in certified-payroll and compliance exports. One record per company/user pair.
1315
1677
  */
@@ -1409,10 +1771,9 @@ export declare const zPwaCompanyUserDetailsResponseObject: z.ZodObject<{
1409
1771
  }>>>;
1410
1772
  }, z.core.$strip>;
1411
1773
  /**
1412
- * Create or update a worker's PWA compliance details at a company. company_id and user_id identify the pair and are required on create; every other field is optional — send whichever your jurisdiction's certified-payroll export requires. On update, omitted fields are left unchanged.
1774
+ * Create a worker's PWA compliance details at a company. The company is taken from the API key. user_id names the worker and is required; every other field is optional — send whichever your jurisdiction's certified-payroll export requires. Only the keys listed here are accepted — any other key is rejected with 400 unknown_key.
1413
1775
  */
1414
1776
  export declare const zPwaCompanyUserDetailsParameters: z.ZodObject<{
1415
- company_id: z.ZodString;
1416
1777
  user_id: z.ZodString;
1417
1778
  address1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1418
1779
  address2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -1505,6 +1866,101 @@ export declare const zPwaCompanyUserDetailsParameters: z.ZodObject<{
1505
1866
  portuguese_or_brazilian: "portuguese_or_brazilian";
1506
1867
  }>>>>;
1507
1868
  }, z.core.$strip>;
1869
+ /**
1870
+ * Update a worker's PWA compliance details. The company is taken from the API key. Every field is optional — send only what changes, and omitted fields are left unchanged. user_id is absent by design — the company/user pair is fixed at creation, so sending the key is rejected with 400 unknown_key, as is any other key not listed here.
1871
+ */
1872
+ export declare const zPwaCompanyUserDetailsUpdateParameters: z.ZodObject<{
1873
+ address1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1874
+ address2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1875
+ city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1876
+ state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1877
+ zip: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1878
+ race: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<{
1879
+ AFRICAN_AMERICAN: "AFRICAN_AMERICAN";
1880
+ ASIAN: "ASIAN";
1881
+ CAUCASIAN: "CAUCASIAN";
1882
+ NATIVE_AMERICAN: "NATIVE_AMERICAN";
1883
+ NOT_SPECIFIED: "NOT_SPECIFIED";
1884
+ OTHER: "OTHER";
1885
+ }>>>>;
1886
+ sex: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1887
+ female: "female";
1888
+ male: "male";
1889
+ non_binary: "non_binary";
1890
+ not_specified: "not_specified";
1891
+ }>>>;
1892
+ local_business_license: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1893
+ drivers_license_state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1894
+ drivers_license_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1895
+ ssn: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1896
+ veteran_status: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1897
+ not_specified: "not_specified";
1898
+ protected_veteran: "protected_veteran";
1899
+ not_protected_veteran: "not_protected_veteran";
1900
+ reserves: "reserves";
1901
+ guard: "guard";
1902
+ }>>>;
1903
+ hispanic_origin: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1904
+ not_specified: "not_specified";
1905
+ yes: "yes";
1906
+ no: "no";
1907
+ }>>>;
1908
+ ca_dir_withholding_exemptions: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
1909
+ disabled: z.ZodOptional<z.ZodBoolean>;
1910
+ il_dol_race: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1911
+ white: "white";
1912
+ black: "black";
1913
+ hispanic_or_latino: "hispanic_or_latino";
1914
+ american_indian_or_alaska_native: "american_indian_or_alaska_native";
1915
+ chinese: "chinese";
1916
+ filipino: "filipino";
1917
+ asian_india: "asian_india";
1918
+ vietnamese: "vietnamese";
1919
+ korean: "korean";
1920
+ japanese: "japanese";
1921
+ native_hawaiian: "native_hawaiian";
1922
+ samoan: "samoan";
1923
+ chamorro: "chamorro";
1924
+ other_asian: "other_asian";
1925
+ other_pacific_islander: "other_pacific_islander";
1926
+ other: "other";
1927
+ }>>>;
1928
+ il_shines_employment_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1929
+ part_time: "part_time";
1930
+ full_time: "full_time";
1931
+ seasonal_temporary: "seasonal_temporary";
1932
+ independent_contract: "independent_contract";
1933
+ }>>>;
1934
+ il_shines_eep_qualifiers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<{
1935
+ eep_program_completed: "eep_program_completed";
1936
+ foster_care: "foster_care";
1937
+ formerly_incarcerated: "formerly_incarcerated";
1938
+ equity_investment_eligible_community: "equity_investment_eligible_community";
1939
+ self_registered_or_unknown: "self_registered_or_unknown";
1940
+ }>>>>;
1941
+ il_shines_other_programs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<{
1942
+ other: "other";
1943
+ solar_training_pipeline_program: "solar_training_pipeline_program";
1944
+ craft_apprenticeship_program: "craft_apprenticeship_program";
1945
+ multi_cultural_jobs_program: "multi_cultural_jobs_program";
1946
+ clean_jobs_workforce_network_program: "clean_jobs_workforce_network_program";
1947
+ illinois_climate_works_prep_apprenticeship_program: "illinois_climate_works_prep_apprenticeship_program";
1948
+ returning_residents_clean_jobs_training_program: "returning_residents_clean_jobs_training_program";
1949
+ }>>>>;
1950
+ or_boli_schedule_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1951
+ five_eight: "five_eight";
1952
+ four_ten: "four_ten";
1953
+ }>>>;
1954
+ or_boli_race: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<{
1955
+ white: "white";
1956
+ hispanic_or_latino: "hispanic_or_latino";
1957
+ american_indian_or_alaska_native: "american_indian_or_alaska_native";
1958
+ asian: "asian";
1959
+ black_or_african_american: "black_or_african_american";
1960
+ native_hawaiian_or_pacific_islander: "native_hawaiian_or_pacific_islander";
1961
+ portuguese_or_brazilian: "portuguese_or_brazilian";
1962
+ }>>>>;
1963
+ }, z.core.$strip>;
1508
1964
  /**
1509
1965
  * A craft grouping used for prevailing-wage / apprenticeship (PWA) compliance — the unit an apprenticeship ratio is measured against. Owned by either a project (pooling the craft across the project's jobs) or a standalone job, never both.
1510
1966
  */
@@ -1610,11 +2066,17 @@ export declare const zGroupResponseObject: z.ZodObject<{
1610
2066
  updated_at: z.ZodISODateTime;
1611
2067
  }, z.core.$strip>;
1612
2068
  /**
1613
- * Request body for creating or updating a group.
2069
+ * Request body for creating a group.
1614
2070
  */
1615
2071
  export declare const zGroupParameters: z.ZodObject<{
1616
2072
  name: z.ZodString;
1617
2073
  }, z.core.$strip>;
2074
+ /**
2075
+ * Request body for updating a group. Send only the fields to change.
2076
+ */
2077
+ export declare const zGroupUpdateParameters: z.ZodObject<{
2078
+ name: z.ZodOptional<z.ZodString>;
2079
+ }, z.core.$strip>;
1618
2080
  /**
1619
2081
  * Request body for updating a worker's profile. Limited to person-level identity fields; employment, roles, and compliance are managed through onboarding (create) and the user-company endpoints.
1620
2082
  */
@@ -1803,12 +2265,19 @@ export declare const zPositionFunctionResponseObject: z.ZodObject<{
1803
2265
  updated_at: z.ZodISODateTime;
1804
2266
  }, z.core.$strip>;
1805
2267
  /**
1806
- * Request body for creating or updating a position function.
2268
+ * Request body for creating a position function.
1807
2269
  */
1808
2270
  export declare const zPositionFunctionParameters: z.ZodObject<{
1809
2271
  value: z.ZodString;
1810
2272
  description: z.ZodString;
1811
2273
  }, z.core.$strip>;
2274
+ /**
2275
+ * Request body for updating a position function. Send only the fields to change.
2276
+ */
2277
+ export declare const zPositionFunctionUpdateParameters: z.ZodObject<{
2278
+ value: z.ZodOptional<z.ZodString>;
2279
+ description: z.ZodOptional<z.ZodString>;
2280
+ }, z.core.$strip>;
1812
2281
  export declare const zCompanyResponseObject: z.ZodObject<{
1813
2282
  id: z.ZodString;
1814
2283
  name: z.ZodString;
@@ -2042,6 +2511,11 @@ export declare const zJobParameters: z.ZodObject<{
2042
2511
  tracks_feature_allocations: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
2043
2512
  requires_feature_allocation: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
2044
2513
  max_one_feature_allocation: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
2514
+ production_tracking_kind: z.ZodOptional<z.ZodEnum<{
2515
+ none: "none";
2516
+ feature: "feature";
2517
+ quantity: "quantity";
2518
+ }>>;
2045
2519
  job_work_types_attributes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
2046
2520
  primary: z.ZodOptional<z.ZodBoolean>;
2047
2521
  work_type_id: z.ZodOptional<z.ZodString>;
@@ -2126,6 +2600,11 @@ export declare const zJobUpdateParameters: z.ZodIntersection<z.ZodObject<{
2126
2600
  tracks_feature_allocations: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
2127
2601
  requires_feature_allocation: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
2128
2602
  max_one_feature_allocation: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
2603
+ production_tracking_kind: z.ZodOptional<z.ZodEnum<{
2604
+ none: "none";
2605
+ feature: "feature";
2606
+ quantity: "quantity";
2607
+ }>>;
2129
2608
  job_work_types_attributes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
2130
2609
  primary: z.ZodOptional<z.ZodBoolean>;
2131
2610
  work_type_id: z.ZodOptional<z.ZodString>;
@@ -2548,6 +3027,19 @@ export declare const zWorkerTimeCardApprovalParameters: z.ZodObject<{
2548
3027
  approved: "approved";
2549
3028
  }>;
2550
3029
  }, z.core.$strip>;
3030
+ /**
3031
+ * One clock-in by a worker — open (`active`) from clock-in until clock-out, and retained afterwards as the record that the session happened. A worker holds at most one active session at a time.
3032
+ */
3033
+ export declare const zTimeSessionResponseObject: z.ZodObject<{
3034
+ id: z.ZodString;
3035
+ user_id: z.ZodString;
3036
+ job_id: z.ZodNullable<z.ZodString>;
3037
+ timekeeping_timecode_id: z.ZodNullable<z.ZodString>;
3038
+ active: z.ZodBoolean;
3039
+ start_time: z.ZodISODateTime;
3040
+ created_at: z.ZodISODateTime;
3041
+ updated_at: z.ZodISODateTime;
3042
+ }, z.core.$strip>;
2551
3043
  /**
2552
3044
  * Request body for locking or unlocking a time card.
2553
3045
  */
@@ -2631,7 +3123,7 @@ export declare const zPayrollFringeBenefitPlanResponseObject: z.ZodObject<{
2631
3123
  updated_at: z.ZodISODateTime;
2632
3124
  }, z.core.$strip>;
2633
3125
  /**
2634
- * Request body for creating or updating a fringe-benefit plan. timekeeping_pay_period_config_id, name, plan_number, and benefit_category are required.
3126
+ * Request body for creating a fringe-benefit plan. timekeeping_pay_period_config_id, name, plan_number, and benefit_category are required.
2635
3127
  */
2636
3128
  export declare const zPayrollFringeBenefitPlanParameters: z.ZodObject<{
2637
3129
  timekeeping_pay_period_config_id: z.ZodString;
@@ -2655,6 +3147,31 @@ export declare const zPayrollFringeBenefitPlanParameters: z.ZodObject<{
2655
3147
  il_sponsor_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2656
3148
  il_admin_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2657
3149
  }, z.core.$strip>;
3150
+ /**
3151
+ * Request body for updating a fringe-benefit plan. Send only the fields to change.
3152
+ */
3153
+ export declare const zPayrollFringeBenefitPlanUpdateParameters: z.ZodObject<{
3154
+ timekeeping_pay_period_config_id: z.ZodOptional<z.ZodString>;
3155
+ name: z.ZodOptional<z.ZodString>;
3156
+ plan_number: z.ZodOptional<z.ZodString>;
3157
+ funded: z.ZodOptional<z.ZodBoolean>;
3158
+ benefit_category: z.ZodOptional<z.ZodEnum<{
3159
+ employer_combined_savings: "employer_combined_savings";
3160
+ employer_combined_health: "employer_combined_health";
3161
+ employer_combined_holiday_pto: "employer_combined_holiday_pto";
3162
+ employer_training: "employer_training";
3163
+ employer_other_contributions: "employer_other_contributions";
3164
+ }>>;
3165
+ il_jointly_managed: z.ZodOptional<z.ZodBoolean>;
3166
+ il_fund_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3167
+ il_fund_address1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3168
+ il_fund_address2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3169
+ il_fund_city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3170
+ il_fund_state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3171
+ il_fund_zip: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3172
+ il_sponsor_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3173
+ il_admin_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3174
+ }, z.core.$strip>;
2658
3175
  /**
2659
3176
  * A mapping from an external payroll or benefits system's field name to a DSPTCH compensation element, so imported paystub line items can be normalized. Bitemporal and read-only; a null pay schedule means the map is global (shared across companies).
2660
3177
  */
@@ -2809,7 +3326,7 @@ export declare const zPayrollRunResponseObject: z.ZodObject<{
2809
3326
  updated_at: z.ZodISODateTime;
2810
3327
  }, z.core.$strip>;
2811
3328
  /**
2812
- * Request body for creating or updating a payroll run. company_id, run_type, and run_date are required; an on-cycle run additionally requires timekeeping_pay_period_id.
3329
+ * Create a payroll run. company_id, run_type, and run_date are required; an on-cycle run additionally requires timekeeping_pay_period_id. Only the keys listed here are accepted — any other key is rejected with 400 unknown_key.
2813
3330
  */
2814
3331
  export declare const zPayrollRunParameters: z.ZodObject<{
2815
3332
  company_id: z.ZodString;
@@ -2826,6 +3343,23 @@ export declare const zPayrollRunParameters: z.ZodObject<{
2826
3343
  run_date: z.ZodISODate;
2827
3344
  external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2828
3345
  }, z.core.$strip>;
3346
+ /**
3347
+ * Update a payroll run. Every field is optional — send only what changes. company_id is absent by design — the run's company is fixed at creation, so sending the key is rejected with 400 unknown_key, as is any other key not listed here.
3348
+ */
3349
+ export declare const zPayrollRunUpdateParameters: z.ZodObject<{
3350
+ timekeeping_pay_period_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3351
+ payrolls_credential_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3352
+ run_type: z.ZodOptional<z.ZodEnum<{
3353
+ CORRECTION: "CORRECTION";
3354
+ ON_CYCLE: "ON_CYCLE";
3355
+ OFF_CYCLE: "OFF_CYCLE";
3356
+ RECONCILIATION: "RECONCILIATION";
3357
+ SIGN_ON_BONUS: "SIGN_ON_BONUS";
3358
+ TERMINATION: "TERMINATION";
3359
+ }>>;
3360
+ run_date: z.ZodOptional<z.ZodISODate>;
3361
+ external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3362
+ }, z.core.$strip>;
2829
3363
  /**
2830
3364
  * A project: a top-level container that groups jobs into federal and regional PWA compliance scopes, carrying the compliance modes, regional scoping, schedule envelope, and administrator/budget metadata.
2831
3365
  */
@@ -2915,6 +3449,7 @@ export declare const zSiteCheckInResponseObject: z.ZodObject<{
2915
3449
  source: z.ZodEnum<{
2916
3450
  manual: "manual";
2917
3451
  auto: "auto";
3452
+ public_form: "public_form";
2918
3453
  }>;
2919
3454
  nerc_check_in: z.ZodBoolean;
2920
3455
  cip_exceptional: z.ZodBoolean;
@@ -3521,7 +4056,7 @@ export declare const zPaystubResponseObject: z.ZodObject<{
3521
4056
  updated_at: z.ZodISODateTime;
3522
4057
  }, z.core.$strip>;
3523
4058
  /**
3524
- * Request body for creating or updating a paystub. payrolls_payroll_run_id and user_id are required; timekeeping_time_card_id is required for an on-cycle run and disallowed for an off-cycle run.
4059
+ * Request body for creating a paystub. payrolls_payroll_run_id and user_id are required; timekeeping_time_card_id is required for an on-cycle run and disallowed for an off-cycle run.
3525
4060
  */
3526
4061
  export declare const zPaystubParameters: z.ZodObject<{
3527
4062
  payrolls_payroll_run_id: z.ZodString;
@@ -3530,6 +4065,16 @@ export declare const zPaystubParameters: z.ZodObject<{
3530
4065
  external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3531
4066
  check_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3532
4067
  }, z.core.$strip>;
4068
+ /**
4069
+ * Request body for updating a paystub. Send only the fields to change; the resulting paystub must still match its payroll run type.
4070
+ */
4071
+ export declare const zPaystubUpdateParameters: z.ZodObject<{
4072
+ payrolls_payroll_run_id: z.ZodOptional<z.ZodString>;
4073
+ user_id: z.ZodOptional<z.ZodString>;
4074
+ timekeeping_time_card_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4075
+ external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4076
+ check_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4077
+ }, z.core.$strip>;
3533
4078
  /**
3534
4079
  * An adjustment applied in the current pay period to correct a prior one, tied to the paystub line item it corrects.
3535
4080
  */
@@ -3698,7 +4243,7 @@ export declare const zPaystubLineItemResponseObject: z.ZodObject<{
3698
4243
  updated_at: z.ZodISODateTime;
3699
4244
  }, z.core.$strip>;
3700
4245
  /**
3701
- * Request body for creating or updating a paystub line item. All four fields are required.
4246
+ * Request body for creating a paystub line item. All four fields are required.
3702
4247
  */
3703
4248
  export declare const zPaystubLineItemParameters: z.ZodObject<{
3704
4249
  payrolls_paystub_id: z.ZodString;
@@ -3709,6 +4254,18 @@ export declare const zPaystubLineItemParameters: z.ZodObject<{
3709
4254
  }>;
3710
4255
  payrolls_external_map_id: z.ZodString;
3711
4256
  }, z.core.$strip>;
4257
+ /**
4258
+ * Request body for updating a paystub line item. Send only the fields to change.
4259
+ */
4260
+ export declare const zPaystubLineItemUpdateParameters: z.ZodObject<{
4261
+ payrolls_paystub_id: z.ZodOptional<z.ZodString>;
4262
+ amount_cents: z.ZodOptional<z.ZodString>;
4263
+ contributor: z.ZodOptional<z.ZodEnum<{
4264
+ employee: "employee";
4265
+ employer: "employer";
4266
+ }>>;
4267
+ payrolls_external_map_id: z.ZodOptional<z.ZodString>;
4268
+ }, z.core.$strip>;
3712
4269
  /**
3713
4270
  * Request body for creating or updating a position on a job. The job is taken from the URL path.
3714
4271
  */
@@ -3917,7 +4474,7 @@ export declare const zFormAssignmentTaskResponseObject: z.ZodArray<z.ZodObject<{
3917
4474
  }, z.core.$strip>>;
3918
4475
  }, z.core.$strip>>;
3919
4476
  /**
3920
- * Request body for creating or updating a certification — a named qualification a worker can hold. You can only manage your own company's certifications; global (platform) certifications are read-only.
4477
+ * Request body for creating a certification — a named qualification a worker can hold. You can only manage your own company's certifications; global (platform) certifications are read-only.
3921
4478
  */
3922
4479
  export declare const zCertificationParameters: z.ZodObject<{
3923
4480
  company_id: z.ZodString;
@@ -3926,6 +4483,16 @@ export declare const zCertificationParameters: z.ZodObject<{
3926
4483
  verified: z.ZodOptional<z.ZodBoolean>;
3927
4484
  duration: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3928
4485
  }, z.core.$strip>;
4486
+ /**
4487
+ * Request body for updating a certification — a named qualification a worker can hold. Include only the fields to change. You can only manage your own company's certifications; global (platform) certifications are read-only.
4488
+ */
4489
+ export declare const zCertificationUpdateParameters: z.ZodObject<{
4490
+ company_id: z.ZodOptional<z.ZodString>;
4491
+ name: z.ZodOptional<z.ZodString>;
4492
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4493
+ verified: z.ZodOptional<z.ZodBoolean>;
4494
+ duration: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4495
+ }, z.core.$strip>;
3929
4496
  /**
3930
4497
  * A certification package — a named set of certifications your company requires together.
3931
4498
  */
@@ -3941,7 +4508,7 @@ export declare const zCertificationPackageResponseObject: z.ZodObject<{
3941
4508
  updated_at: z.ZodISODateTime;
3942
4509
  }, z.core.$strip>;
3943
4510
  /**
3944
- * Request body for creating or updating a certification package — a named set of certifications a company requires together.
4511
+ * Request body for creating a certification package — a named set of certifications a company requires together.
3945
4512
  */
3946
4513
  export declare const zCertificationPackageParameters: z.ZodObject<{
3947
4514
  name: z.ZodString;
@@ -3949,6 +4516,15 @@ export declare const zCertificationPackageParameters: z.ZodObject<{
3949
4516
  certification_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
3950
4517
  performed_by_user_id: z.ZodString;
3951
4518
  }, z.core.$strip>;
4519
+ /**
4520
+ * Request body for updating a certification package — a named set of certifications a company requires together. Include only the fields to change.
4521
+ */
4522
+ export declare const zCertificationPackageUpdateParameters: z.ZodObject<{
4523
+ name: z.ZodOptional<z.ZodString>;
4524
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4525
+ certification_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
4526
+ performed_by_user_id: z.ZodString;
4527
+ }, z.core.$strip>;
3952
4528
  /**
3953
4529
  * A certification — a named qualification a worker can hold, either owned by your company or a global (platform) credential type (company_id null).
3954
4530
  */
@@ -4105,6 +4681,11 @@ export declare const zJobResponseObject: z.ZodObject<{
4105
4681
  tracks_feature_allocations: z.ZodBoolean;
4106
4682
  requires_feature_allocation: z.ZodBoolean;
4107
4683
  max_one_feature_allocation: z.ZodBoolean;
4684
+ production_tracking_kind: z.ZodEnum<{
4685
+ none: "none";
4686
+ feature: "feature";
4687
+ quantity: "quantity";
4688
+ }>;
4108
4689
  }, z.core.$strip>;
4109
4690
  /**
4110
4691
  * A spot to be filled on a job — one worker's assignment and the unit against which they track time, carrying the schedule window, assigned worker, function, and the planned pay and fringe rates (including PWA prevailing-wage compliance rates). Always accessed nested under a job.
@@ -4834,6 +5415,32 @@ export declare const zTimeCardsResponseObject: z.ZodObject<{
4834
5415
  region_ids: z.ZodArray<z.ZodString>;
4835
5416
  }, z.core.$strip>>;
4836
5417
  }, z.core.$strip>;
5418
+ /**
5419
+ * A page of time sessions, with pagination metadata and navigation links.
5420
+ */
5421
+ export declare const zTimeSessionsResponseObject: z.ZodObject<{
5422
+ meta: z.ZodObject<{
5423
+ page: z.ZodObject<{
5424
+ next_cursor: z.ZodNullable<z.ZodString>;
5425
+ current_cursor: z.ZodNullable<z.ZodString>;
5426
+ }, z.core.$strip>;
5427
+ }, z.core.$strip>;
5428
+ links: z.ZodObject<{
5429
+ self: z.ZodString;
5430
+ first: z.ZodNullable<z.ZodString>;
5431
+ next: z.ZodNullable<z.ZodString>;
5432
+ }, z.core.$strip>;
5433
+ data: z.ZodArray<z.ZodObject<{
5434
+ id: z.ZodString;
5435
+ user_id: z.ZodString;
5436
+ job_id: z.ZodNullable<z.ZodString>;
5437
+ timekeeping_timecode_id: z.ZodNullable<z.ZodString>;
5438
+ active: z.ZodBoolean;
5439
+ start_time: z.ZodISODateTime;
5440
+ created_at: z.ZodISODateTime;
5441
+ updated_at: z.ZodISODateTime;
5442
+ }, z.core.$strip>>;
5443
+ }, z.core.$strip>;
4837
5444
  /**
4838
5445
  * A page of payroll runs, with pagination metadata and navigation links.
4839
5446
  */
@@ -5108,6 +5715,7 @@ export declare const zLaborRateResponseObject: z.ZodObject<{
5108
5715
  fringe_percentage_rate: z.ZodNullable<z.ZodString>;
5109
5716
  fringe_benefit_weekly_rate_cents: z.ZodNullable<z.ZodString>;
5110
5717
  fringe_benefit_monthly_rate_cents: z.ZodNullable<z.ZodString>;
5718
+ reference_item_ids: z.ZodArray<z.ZodString>;
5111
5719
  created_at: z.ZodISODateTime;
5112
5720
  updated_at: z.ZodISODateTime;
5113
5721
  }, z.core.$strip>;
@@ -5136,6 +5744,216 @@ export declare const zLaborRatesResponseObject: z.ZodObject<{
5136
5744
  fringe_percentage_rate: z.ZodNullable<z.ZodString>;
5137
5745
  fringe_benefit_weekly_rate_cents: z.ZodNullable<z.ZodString>;
5138
5746
  fringe_benefit_monthly_rate_cents: z.ZodNullable<z.ZodString>;
5747
+ reference_item_ids: z.ZodArray<z.ZodString>;
5748
+ created_at: z.ZodISODateTime;
5749
+ updated_at: z.ZodISODateTime;
5750
+ }, z.core.$strip>>;
5751
+ }, z.core.$strip>;
5752
+ /**
5753
+ * A DOL labor-classification schedule within one wage determination; its labor rates and reference items share this schedule boundary.
5754
+ */
5755
+ export declare const zWageClassificationResponseObject: z.ZodObject<{
5756
+ id: z.ZodString;
5757
+ wage_determination_id: z.ZodString;
5758
+ identifier: z.ZodString;
5759
+ date: z.ZodISODate;
5760
+ footnote: z.ZodNullable<z.ZodString>;
5761
+ subheader: z.ZodNullable<z.ZodString>;
5762
+ created_at: z.ZodISODateTime;
5763
+ updated_at: z.ZodISODateTime;
5764
+ }, z.core.$strip>;
5765
+ /**
5766
+ * A page of a wage determination's classification schedules, with pagination metadata and navigation links.
5767
+ */
5768
+ export declare const zWageClassificationsResponseObject: z.ZodObject<{
5769
+ meta: z.ZodObject<{
5770
+ page: z.ZodObject<{
5771
+ next_cursor: z.ZodNullable<z.ZodString>;
5772
+ current_cursor: z.ZodNullable<z.ZodString>;
5773
+ }, z.core.$strip>;
5774
+ }, z.core.$strip>;
5775
+ links: z.ZodObject<{
5776
+ self: z.ZodString;
5777
+ first: z.ZodNullable<z.ZodString>;
5778
+ next: z.ZodNullable<z.ZodString>;
5779
+ }, z.core.$strip>;
5780
+ data: z.ZodArray<z.ZodObject<{
5781
+ id: z.ZodString;
5782
+ wage_determination_id: z.ZodString;
5783
+ identifier: z.ZodString;
5784
+ date: z.ZodISODate;
5785
+ footnote: z.ZodNullable<z.ZodString>;
5786
+ subheader: z.ZodNullable<z.ZodString>;
5787
+ created_at: z.ZodISODateTime;
5788
+ updated_at: z.ZodISODateTime;
5789
+ }, z.core.$strip>>;
5790
+ }, z.core.$strip>;
5791
+ /**
5792
+ * A Davis-Bacon construction category assigned to one wage determination.
5793
+ */
5794
+ export declare const zConstructionTypeResponseObject: z.ZodObject<{
5795
+ id: z.ZodString;
5796
+ wage_determination_id: z.ZodString;
5797
+ construction_type: z.ZodEnum<{
5798
+ BUILDING: "BUILDING";
5799
+ HEAVY: "HEAVY";
5800
+ HIGHWAY: "HIGHWAY";
5801
+ RESIDENTIAL: "RESIDENTIAL";
5802
+ }>;
5803
+ created_at: z.ZodISODateTime;
5804
+ updated_at: z.ZodISODateTime;
5805
+ }, z.core.$strip>;
5806
+ /**
5807
+ * A page of a wage determination's construction categories, with pagination metadata and navigation links.
5808
+ */
5809
+ export declare const zConstructionTypesResponseObject: z.ZodObject<{
5810
+ meta: z.ZodObject<{
5811
+ page: z.ZodObject<{
5812
+ next_cursor: z.ZodNullable<z.ZodString>;
5813
+ current_cursor: z.ZodNullable<z.ZodString>;
5814
+ }, z.core.$strip>;
5815
+ }, z.core.$strip>;
5816
+ links: z.ZodObject<{
5817
+ self: z.ZodString;
5818
+ first: z.ZodNullable<z.ZodString>;
5819
+ next: z.ZodNullable<z.ZodString>;
5820
+ }, z.core.$strip>;
5821
+ data: z.ZodArray<z.ZodObject<{
5822
+ id: z.ZodString;
5823
+ wage_determination_id: z.ZodString;
5824
+ construction_type: z.ZodEnum<{
5825
+ BUILDING: "BUILDING";
5826
+ HEAVY: "HEAVY";
5827
+ HIGHWAY: "HIGHWAY";
5828
+ RESIDENTIAL: "RESIDENTIAL";
5829
+ }>;
5830
+ created_at: z.ZodISODateTime;
5831
+ updated_at: z.ZodISODateTime;
5832
+ }, z.core.$strip>>;
5833
+ }, z.core.$strip>;
5834
+ /**
5835
+ * A DOL project-type tag attached directly to one wage determination.
5836
+ */
5837
+ export declare const zProjectTypeResponseObject: z.ZodObject<{
5838
+ id: z.ZodString;
5839
+ wage_determination_id: z.ZodString;
5840
+ project_type: z.ZodString;
5841
+ project_type_subtext: z.ZodNullable<z.ZodString>;
5842
+ created_at: z.ZodISODateTime;
5843
+ updated_at: z.ZodISODateTime;
5844
+ }, z.core.$strip>;
5845
+ /**
5846
+ * A page of project-type tags attached directly to a wage determination, with pagination metadata and navigation links.
5847
+ */
5848
+ export declare const zProjectTypesResponseObject: z.ZodObject<{
5849
+ meta: z.ZodObject<{
5850
+ page: z.ZodObject<{
5851
+ next_cursor: z.ZodNullable<z.ZodString>;
5852
+ current_cursor: z.ZodNullable<z.ZodString>;
5853
+ }, z.core.$strip>;
5854
+ }, z.core.$strip>;
5855
+ links: z.ZodObject<{
5856
+ self: z.ZodString;
5857
+ first: z.ZodNullable<z.ZodString>;
5858
+ next: z.ZodNullable<z.ZodString>;
5859
+ }, z.core.$strip>;
5860
+ data: z.ZodArray<z.ZodObject<{
5861
+ id: z.ZodString;
5862
+ wage_determination_id: z.ZodString;
5863
+ project_type: z.ZodString;
5864
+ project_type_subtext: z.ZodNullable<z.ZodString>;
5865
+ created_at: z.ZodISODateTime;
5866
+ updated_at: z.ZodISODateTime;
5867
+ }, z.core.$strip>>;
5868
+ }, z.core.$strip>;
5869
+ /**
5870
+ * A link between a wage determination and one geographic boundary where it applies. Includes stable boundary identity metadata but never geometry.
5871
+ */
5872
+ export declare const zWageDeterminationBoundaryResponseObject: z.ZodObject<{
5873
+ id: z.ZodString;
5874
+ wage_determination_id: z.ZodString;
5875
+ boundary_id: z.ZodString;
5876
+ boundary_type: z.ZodString;
5877
+ name: z.ZodString;
5878
+ source_boundary_id: z.ZodNullable<z.ZodString>;
5879
+ source_geo_id: z.ZodNullable<z.ZodString>;
5880
+ source_unique_id: z.ZodNullable<z.ZodString>;
5881
+ created_at: z.ZodISODateTime;
5882
+ updated_at: z.ZodISODateTime;
5883
+ }, z.core.$strip>;
5884
+ /**
5885
+ * A page of a wage determination's geographic applicability links, with pagination metadata and navigation links.
5886
+ */
5887
+ export declare const zWageDeterminationBoundariesResponseObject: z.ZodObject<{
5888
+ meta: z.ZodObject<{
5889
+ page: z.ZodObject<{
5890
+ next_cursor: z.ZodNullable<z.ZodString>;
5891
+ current_cursor: z.ZodNullable<z.ZodString>;
5892
+ }, z.core.$strip>;
5893
+ }, z.core.$strip>;
5894
+ links: z.ZodObject<{
5895
+ self: z.ZodString;
5896
+ first: z.ZodNullable<z.ZodString>;
5897
+ next: z.ZodNullable<z.ZodString>;
5898
+ }, z.core.$strip>;
5899
+ data: z.ZodArray<z.ZodObject<{
5900
+ id: z.ZodString;
5901
+ wage_determination_id: z.ZodString;
5902
+ boundary_id: z.ZodString;
5903
+ boundary_type: z.ZodString;
5904
+ name: z.ZodString;
5905
+ source_boundary_id: z.ZodNullable<z.ZodString>;
5906
+ source_geo_id: z.ZodNullable<z.ZodString>;
5907
+ source_unique_id: z.ZodNullable<z.ZodString>;
5908
+ created_at: z.ZodISODateTime;
5909
+ updated_at: z.ZodISODateTime;
5910
+ }, z.core.$strip>>;
5911
+ }, z.core.$strip>;
5912
+ /**
5913
+ * One ordered, lettered item of verbatim fringe-reference prose within a wage-classification schedule.
5914
+ */
5915
+ export declare const zReferenceItemResponseObject: z.ZodObject<{
5916
+ id: z.ZodString;
5917
+ wage_classification_id: z.ZodString;
5918
+ position: z.ZodInt;
5919
+ letter: z.ZodString;
5920
+ container_type: z.ZodEnum<{
5921
+ footnote: "footnote";
5922
+ premium_pay: "premium_pay";
5923
+ holidays: "holidays";
5924
+ zone_pay: "zone_pay";
5925
+ }>;
5926
+ text: z.ZodString;
5927
+ created_at: z.ZodISODateTime;
5928
+ updated_at: z.ZodISODateTime;
5929
+ }, z.core.$strip>;
5930
+ /**
5931
+ * A page of reference items flattened across every classification schedule in a wage determination, with pagination metadata and navigation links.
5932
+ */
5933
+ export declare const zReferenceItemsResponseObject: z.ZodObject<{
5934
+ meta: z.ZodObject<{
5935
+ page: z.ZodObject<{
5936
+ next_cursor: z.ZodNullable<z.ZodString>;
5937
+ current_cursor: z.ZodNullable<z.ZodString>;
5938
+ }, z.core.$strip>;
5939
+ }, z.core.$strip>;
5940
+ links: z.ZodObject<{
5941
+ self: z.ZodString;
5942
+ first: z.ZodNullable<z.ZodString>;
5943
+ next: z.ZodNullable<z.ZodString>;
5944
+ }, z.core.$strip>;
5945
+ data: z.ZodArray<z.ZodObject<{
5946
+ id: z.ZodString;
5947
+ wage_classification_id: z.ZodString;
5948
+ position: z.ZodInt;
5949
+ letter: z.ZodString;
5950
+ container_type: z.ZodEnum<{
5951
+ footnote: "footnote";
5952
+ premium_pay: "premium_pay";
5953
+ holidays: "holidays";
5954
+ zone_pay: "zone_pay";
5955
+ }>;
5956
+ text: z.ZodString;
5139
5957
  created_at: z.ZodISODateTime;
5140
5958
  updated_at: z.ZodISODateTime;
5141
5959
  }, z.core.$strip>>;
@@ -6288,6 +7106,13 @@ export declare const zAssetsVendorParameters: z.ZodObject<{
6288
7106
  name: z.ZodString;
6289
7107
  logo_signed_id: z.ZodOptional<z.ZodString>;
6290
7108
  }, z.core.$strip>;
7109
+ /**
7110
+ * Update a vendor. All fields are optional — send only what changes.
7111
+ */
7112
+ export declare const zAssetsVendorUpdateParameters: z.ZodObject<{
7113
+ name: z.ZodOptional<z.ZodString>;
7114
+ logo_signed_id: z.ZodOptional<z.ZodString>;
7115
+ }, z.core.$strip>;
6291
7116
  /**
6292
7117
  * A location that holds a company's assets and inventory — a warehouse or yard, optionally backed by a site on the Atlas map.
6293
7118
  */
@@ -6316,6 +7141,9 @@ export declare const zAssetsSiteParameters: z.ZodIntersection<z.ZodUnion<readonl
6316
7141
  site_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6317
7142
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6318
7143
  }, z.core.$strip>>;
7144
+ /**
7145
+ * 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`.
7146
+ */
6319
7147
  export declare const zAssetsSiteUpdateParameters: z.ZodObject<{
6320
7148
  kind: z.ZodOptional<z.ZodEnum<{
6321
7149
  warehouse: "warehouse";
@@ -7146,6 +7974,97 @@ export declare const zListApiKeyScopesResponse: z.ZodObject<{
7146
7974
  name: z.ZodString;
7147
7975
  }, z.core.$strip>>;
7148
7976
  }, z.core.$strip>;
7977
+ export declare const zListAllocationsPath: z.ZodObject<{
7978
+ apprentice_id: z.ZodString;
7979
+ }, z.core.$strip>;
7980
+ export declare const zListAllocationsQuery: z.ZodObject<{
7981
+ 'filter[allocated_at][gte]': z.ZodOptional<z.ZodISODateTime>;
7982
+ 'filter[allocated_at][lte]': z.ZodOptional<z.ZodISODateTime>;
7983
+ 'filter[created_at][gte]': z.ZodOptional<z.ZodISODateTime>;
7984
+ 'filter[created_at][lte]': z.ZodOptional<z.ZodISODateTime>;
7985
+ 'filter[updated_at][gte]': z.ZodOptional<z.ZodISODateTime>;
7986
+ 'filter[updated_at][lte]': z.ZodOptional<z.ZodISODateTime>;
7987
+ filter: z.ZodOptional<z.ZodString>;
7988
+ 'filter[unexpected]': z.ZodOptional<z.ZodString>;
7989
+ 'page[cursor]': z.ZodOptional<z.ZodString>;
7990
+ 'page[limit]': z.ZodDefault<z.ZodOptional<z.ZodInt>>;
7991
+ page: z.ZodOptional<z.ZodString>;
7992
+ }, z.core.$strip>;
7993
+ /**
7994
+ * Success
7995
+ */
7996
+ export declare const zListAllocationsResponse: z.ZodObject<{
7997
+ meta: z.ZodObject<{
7998
+ page: z.ZodObject<{
7999
+ next_cursor: z.ZodNullable<z.ZodString>;
8000
+ current_cursor: z.ZodNullable<z.ZodString>;
8001
+ }, z.core.$strip>;
8002
+ }, z.core.$strip>;
8003
+ links: z.ZodObject<{
8004
+ self: z.ZodString;
8005
+ first: z.ZodNullable<z.ZodString>;
8006
+ next: z.ZodNullable<z.ZodString>;
8007
+ }, z.core.$strip>;
8008
+ data: z.ZodArray<z.ZodObject<{
8009
+ id: z.ZodString;
8010
+ apprenticeship_apprentice_id: z.ZodString;
8011
+ apprenticeship_work_process_category_id: z.ZodNullable<z.ZodString>;
8012
+ allocated_by_user_id: z.ZodString;
8013
+ timekeeping_time_card_id: z.ZodNullable<z.ZodString>;
8014
+ minutes: z.ZodInt;
8015
+ description: z.ZodNullable<z.ZodString>;
8016
+ allocated_at: z.ZodISODateTime;
8017
+ cumulative_minutes: z.ZodInt;
8018
+ apprenticeship_wage_schedule_period_id: z.ZodString;
8019
+ created_at: z.ZodISODateTime;
8020
+ updated_at: z.ZodISODateTime;
8021
+ }, z.core.$strip>>;
8022
+ }, z.core.$strip>;
8023
+ export declare const zGetAllocationPath: z.ZodObject<{
8024
+ apprentice_id: z.ZodString;
8025
+ id: z.ZodString;
8026
+ }, z.core.$strip>;
8027
+ /**
8028
+ * Success
8029
+ */
8030
+ export declare const zGetAllocationResponse: z.ZodObject<{
8031
+ id: z.ZodString;
8032
+ apprenticeship_apprentice_id: z.ZodString;
8033
+ apprenticeship_work_process_category_id: z.ZodNullable<z.ZodString>;
8034
+ allocated_by_user_id: z.ZodString;
8035
+ timekeeping_time_card_id: z.ZodNullable<z.ZodString>;
8036
+ minutes: z.ZodInt;
8037
+ description: z.ZodNullable<z.ZodString>;
8038
+ allocated_at: z.ZodISODateTime;
8039
+ cumulative_minutes: z.ZodInt;
8040
+ apprenticeship_wage_schedule_period_id: z.ZodString;
8041
+ created_at: z.ZodISODateTime;
8042
+ updated_at: z.ZodISODateTime;
8043
+ }, z.core.$strip>;
8044
+ export declare const zUpdateAllocationBody: z.ZodObject<{
8045
+ allocated_at: z.ZodOptional<z.ZodISODateTime>;
8046
+ }, z.core.$strip>;
8047
+ export declare const zUpdateAllocationPath: z.ZodObject<{
8048
+ apprentice_id: z.ZodString;
8049
+ id: z.ZodString;
8050
+ }, z.core.$strip>;
8051
+ /**
8052
+ * Success
8053
+ */
8054
+ export declare const zUpdateAllocationResponse: z.ZodObject<{
8055
+ id: z.ZodString;
8056
+ apprenticeship_apprentice_id: z.ZodString;
8057
+ apprenticeship_work_process_category_id: z.ZodNullable<z.ZodString>;
8058
+ allocated_by_user_id: z.ZodString;
8059
+ timekeeping_time_card_id: z.ZodNullable<z.ZodString>;
8060
+ minutes: z.ZodInt;
8061
+ description: z.ZodNullable<z.ZodString>;
8062
+ allocated_at: z.ZodISODateTime;
8063
+ cumulative_minutes: z.ZodInt;
8064
+ apprenticeship_wage_schedule_period_id: z.ZodString;
8065
+ created_at: z.ZodISODateTime;
8066
+ updated_at: z.ZodISODateTime;
8067
+ }, z.core.$strip>;
7149
8068
  export declare const zListApprenticesPath: z.ZodObject<{
7150
8069
  program_id: z.ZodString;
7151
8070
  }, z.core.$strip>;
@@ -7355,19 +8274,19 @@ export declare const zCreateOccupationResponse: z.ZodObject<{
7355
8274
  updated_at: z.ZodISODateTime;
7356
8275
  }, z.core.$strip>;
7357
8276
  export declare const zUpdateOccupationBody: z.ZodObject<{
7358
- rapids_code: z.ZodString;
7359
- occupation_type: z.ZodEnum<{
8277
+ rapids_code: z.ZodOptional<z.ZodString>;
8278
+ occupation_type: z.ZodOptional<z.ZodEnum<{
7360
8279
  time_based: "time_based";
7361
8280
  competency_based: "competency_based";
7362
8281
  hybrid: "hybrid";
7363
- }>;
7364
- title: z.ZodString;
8282
+ }>>;
8283
+ title: z.ZodOptional<z.ZodString>;
7365
8284
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7366
- min_minutes: z.ZodInt;
7367
- max_minutes: z.ZodInt;
7368
- probation_minutes: z.ZodInt;
7369
- num_apprentices: z.ZodInt;
7370
- num_journeyworkers: z.ZodInt;
8285
+ min_minutes: z.ZodOptional<z.ZodInt>;
8286
+ max_minutes: z.ZodOptional<z.ZodInt>;
8287
+ probation_minutes: z.ZodOptional<z.ZodInt>;
8288
+ num_apprentices: z.ZodOptional<z.ZodInt>;
8289
+ num_journeyworkers: z.ZodOptional<z.ZodInt>;
7371
8290
  }, z.core.$strip>;
7372
8291
  export declare const zUpdateOccupationPath: z.ZodObject<{
7373
8292
  program_id: z.ZodString;
@@ -7467,7 +8386,7 @@ export declare const zDeleteEmployerResponse: z.ZodObject<{
7467
8386
  updated_at: z.ZodISODateTime;
7468
8387
  }, z.core.$strip>;
7469
8388
  export declare const zUpdateEmployerBody: z.ZodObject<{
7470
- company_id: z.ZodString;
8389
+ company_id: z.ZodOptional<z.ZodString>;
7471
8390
  require_timecard_allocation: z.ZodOptional<z.ZodBoolean>;
7472
8391
  }, z.core.$strip>;
7473
8392
  export declare const zUpdateEmployerPath: z.ZodObject<{
@@ -7554,7 +8473,7 @@ export declare const zCreateProgramResponse: z.ZodObject<{
7554
8473
  updated_at: z.ZodISODateTime;
7555
8474
  }, z.core.$strip>;
7556
8475
  export declare const zUpdateProgramBody: z.ZodObject<{
7557
- program_number: z.ZodString;
8476
+ program_number: z.ZodOptional<z.ZodString>;
7558
8477
  program_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7559
8478
  sponsor_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7560
8479
  doing_business_as: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -7657,13 +8576,13 @@ export declare const zCreatePeriodResponse: z.ZodObject<{
7657
8576
  updated_at: z.ZodISODateTime;
7658
8577
  }, z.core.$strip>;
7659
8578
  export declare const zUpdatePeriodBody: z.ZodObject<{
7660
- period_number: z.ZodInt;
8579
+ period_number: z.ZodOptional<z.ZodInt>;
7661
8580
  min_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
7662
8581
  max_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
7663
8582
  num_competencies: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
7664
8583
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7665
- wage_percent: z.ZodNumber;
7666
- wage_cents: z.ZodInt;
8584
+ wage_percent: z.ZodOptional<z.ZodNumber>;
8585
+ wage_cents: z.ZodOptional<z.ZodInt>;
7667
8586
  }, z.core.$strip>;
7668
8587
  export declare const zUpdatePeriodPath: z.ZodObject<{
7669
8588
  wage_schedule_id: z.ZodString;
@@ -7836,45 +8755,53 @@ export declare const zCreateWageScheduleResponse: z.ZodObject<{
7836
8755
  updated_at: z.ZodISODateTime;
7837
8756
  }, z.core.$strip>;
7838
8757
  export declare const zUpdateWageScheduleBody: z.ZodObject<{
7839
- name: z.ZodString;
8758
+ name: z.ZodOptional<z.ZodString>;
7840
8759
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7841
- wage_unit: z.ZodEnum<{
8760
+ wage_unit: z.ZodOptional<z.ZodEnum<{
7842
8761
  hourly: "hourly";
7843
8762
  weekly: "weekly";
7844
8763
  monthly: "monthly";
7845
8764
  quarterly: "quarterly";
7846
8765
  semi_annually: "semi_annually";
7847
8766
  annually: "annually";
7848
- }>;
7849
- journeyworker_wage_unit: z.ZodEnum<{
8767
+ }>>;
8768
+ journeyworker_wage_unit: z.ZodOptional<z.ZodEnum<{
7850
8769
  hourly: "hourly";
7851
8770
  weekly: "weekly";
7852
8771
  monthly: "monthly";
7853
8772
  quarterly: "quarterly";
7854
8773
  semi_annually: "semi_annually";
7855
8774
  annually: "annually";
7856
- }>;
7857
- period_unit: z.ZodEnum<{
8775
+ }>>;
8776
+ period_unit: z.ZodOptional<z.ZodEnum<{
7858
8777
  hours: "hours";
7859
8778
  weeks: "weeks";
7860
8779
  months: "months";
7861
8780
  quarter: "quarter";
7862
8781
  semi_annual: "semi_annual";
7863
8782
  year: "year";
7864
- }>;
8783
+ }>>;
7865
8784
  journeyworker_wage_cents: z.ZodOptional<z.ZodInt>;
7866
8785
  end_wage_cents: z.ZodOptional<z.ZodInt>;
7867
- periods_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
8786
+ periods_attributes: z.ZodOptional<z.ZodArray<z.ZodIntersection<z.ZodUnion<readonly [z.ZodUnknown, z.ZodUnion<readonly [z.ZodObject<{
8787
+ min_minutes: z.ZodInt;
8788
+ }, z.core.$strip>, z.ZodObject<{
8789
+ max_minutes: z.ZodInt;
8790
+ }, z.core.$strip>, z.ZodObject<{
8791
+ num_competencies: z.ZodInt;
8792
+ }, z.core.$strip>]>, z.ZodObject<{
8793
+ _destroy: z.ZodLiteral<true>;
8794
+ }, z.core.$strip>]>, z.ZodObject<{
7868
8795
  id: z.ZodOptional<z.ZodString>;
7869
- period_number: z.ZodInt;
8796
+ period_number: z.ZodOptional<z.ZodInt>;
7870
8797
  min_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
7871
8798
  max_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
7872
8799
  num_competencies: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
7873
8800
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7874
- wage_percent: z.ZodNumber;
7875
- wage_cents: z.ZodInt;
8801
+ wage_percent: z.ZodOptional<z.ZodNumber>;
8802
+ wage_cents: z.ZodOptional<z.ZodInt>;
7876
8803
  _destroy: z.ZodOptional<z.ZodBoolean>;
7877
- }, z.core.$strip>>>;
8804
+ }, z.core.$strip>>>>;
7878
8805
  }, z.core.$strip>;
7879
8806
  export declare const zUpdateWageSchedulePath: z.ZodObject<{
7880
8807
  occupation_id: z.ZodString;
@@ -8055,14 +8982,14 @@ export declare const zGetAttributeResponse: z.ZodObject<{
8055
8982
  updated_at: z.ZodISODateTime;
8056
8983
  }, z.core.$strip>;
8057
8984
  export declare const zUpdateAttributeBody: z.ZodObject<{
8058
- name: z.ZodString;
8059
- data_type: z.ZodEnum<{
8985
+ name: z.ZodOptional<z.ZodString>;
8986
+ data_type: z.ZodOptional<z.ZodEnum<{
8060
8987
  number: "number";
8061
8988
  boolean: "boolean";
8062
8989
  text: "text";
8063
8990
  date: "date";
8064
8991
  select: "select";
8065
- }>;
8992
+ }>>;
8066
8993
  options: z.ZodOptional<z.ZodArray<z.ZodObject<{
8067
8994
  id: z.ZodOptional<z.ZodString>;
8068
8995
  value: z.ZodOptional<z.ZodString>;
@@ -8229,7 +9156,7 @@ export declare const zGetCategoryResponse: z.ZodObject<{
8229
9156
  updated_at: z.ZodISODateTime;
8230
9157
  }, z.core.$strip>;
8231
9158
  export declare const zUpdateCategoryBody: z.ZodObject<{
8232
- name: z.ZodString;
9159
+ name: z.ZodOptional<z.ZodString>;
8233
9160
  parent_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8234
9161
  category_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
8235
9162
  id: z.ZodOptional<z.ZodString>;
@@ -11319,7 +12246,7 @@ export declare const zGetVendorResponse: z.ZodObject<{
11319
12246
  updated_at: z.ZodISODateTime;
11320
12247
  }, z.core.$strip>;
11321
12248
  export declare const zUpdateVendorBody: z.ZodObject<{
11322
- name: z.ZodString;
12249
+ name: z.ZodOptional<z.ZodString>;
11323
12250
  logo_signed_id: z.ZodOptional<z.ZodString>;
11324
12251
  }, z.core.$strip>;
11325
12252
  export declare const zUpdateVendorPath: z.ZodObject<{
@@ -11822,7 +12749,7 @@ export declare const zGetPackageResponse: z.ZodObject<{
11822
12749
  updated_at: z.ZodISODateTime;
11823
12750
  }, z.core.$strip>;
11824
12751
  export declare const zUpdatePackageBody: z.ZodObject<{
11825
- name: z.ZodString;
12752
+ name: z.ZodOptional<z.ZodString>;
11826
12753
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11827
12754
  certification_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
11828
12755
  performed_by_user_id: z.ZodString;
@@ -12092,8 +13019,8 @@ export declare const zGetCertificationResponse: z.ZodObject<{
12092
13019
  updated_at: z.ZodISODateTime;
12093
13020
  }, z.core.$strip>;
12094
13021
  export declare const zUpdateCertificationBody: z.ZodObject<{
12095
- company_id: z.ZodString;
12096
- name: z.ZodString;
13022
+ company_id: z.ZodOptional<z.ZodString>;
13023
+ name: z.ZodOptional<z.ZodString>;
12097
13024
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12098
13025
  verified: z.ZodOptional<z.ZodBoolean>;
12099
13026
  duration: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -12165,7 +13092,7 @@ export declare const zCreateDepartmentResponse: z.ZodObject<{
12165
13092
  updated_at: z.ZodISODateTime;
12166
13093
  }, z.core.$strip>;
12167
13094
  export declare const zUpdateDepartmentBody: z.ZodObject<{
12168
- name: z.ZodString;
13095
+ name: z.ZodOptional<z.ZodString>;
12169
13096
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12170
13097
  }, z.core.$strip>;
12171
13098
  export declare const zUpdateDepartmentPath: z.ZodObject<{
@@ -13227,7 +14154,7 @@ export declare const zGetGroupResponse: z.ZodObject<{
13227
14154
  updated_at: z.ZodISODateTime;
13228
14155
  }, z.core.$strip>;
13229
14156
  export declare const zUpdateGroupBody: z.ZodObject<{
13230
- name: z.ZodString;
14157
+ name: z.ZodOptional<z.ZodString>;
13231
14158
  }, z.core.$strip>;
13232
14159
  export declare const zUpdateGroupPath: z.ZodObject<{
13233
14160
  id: z.ZodString;
@@ -14454,6 +15381,11 @@ export declare const zListJobsQuery: z.ZodObject<{
14454
15381
  'filter[updated_at][lte]': z.ZodOptional<z.ZodISODateTime>;
14455
15382
  'filter[project_id]': z.ZodOptional<z.ZodString>;
14456
15383
  'filter[status]': z.ZodOptional<z.ZodString>;
15384
+ 'filter[production_tracking_kind]': z.ZodOptional<z.ZodEnum<{
15385
+ none: "none";
15386
+ feature: "feature";
15387
+ quantity: "quantity";
15388
+ }>>;
14457
15389
  'page[cursor]': z.ZodOptional<z.ZodString>;
14458
15390
  'page[limit]': z.ZodDefault<z.ZodOptional<z.ZodInt>>;
14459
15391
  page: z.ZodOptional<z.ZodString>;
@@ -14569,6 +15501,11 @@ export declare const zListJobsResponse: z.ZodObject<{
14569
15501
  tracks_feature_allocations: z.ZodBoolean;
14570
15502
  requires_feature_allocation: z.ZodBoolean;
14571
15503
  max_one_feature_allocation: z.ZodBoolean;
15504
+ production_tracking_kind: z.ZodEnum<{
15505
+ none: "none";
15506
+ feature: "feature";
15507
+ quantity: "quantity";
15508
+ }>;
14572
15509
  }, z.core.$strip>>;
14573
15510
  }, z.core.$strip>;
14574
15511
  /**
@@ -14611,6 +15548,11 @@ export declare const zCreateJobBody: z.ZodObject<{
14611
15548
  tracks_feature_allocations: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
14612
15549
  requires_feature_allocation: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
14613
15550
  max_one_feature_allocation: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
15551
+ production_tracking_kind: z.ZodOptional<z.ZodEnum<{
15552
+ none: "none";
15553
+ feature: "feature";
15554
+ quantity: "quantity";
15555
+ }>>;
14614
15556
  job_work_types_attributes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
14615
15557
  primary: z.ZodOptional<z.ZodBoolean>;
14616
15558
  work_type_id: z.ZodOptional<z.ZodString>;
@@ -14752,6 +15694,11 @@ export declare const zCreateJobResponse: z.ZodObject<{
14752
15694
  tracks_feature_allocations: z.ZodBoolean;
14753
15695
  requires_feature_allocation: z.ZodBoolean;
14754
15696
  max_one_feature_allocation: z.ZodBoolean;
15697
+ production_tracking_kind: z.ZodEnum<{
15698
+ none: "none";
15699
+ feature: "feature";
15700
+ quantity: "quantity";
15701
+ }>;
14755
15702
  }, z.core.$strip>;
14756
15703
  export declare const zGetJobPath: z.ZodObject<{
14757
15704
  id: z.ZodString;
@@ -14853,6 +15800,11 @@ export declare const zGetJobResponse: z.ZodObject<{
14853
15800
  tracks_feature_allocations: z.ZodBoolean;
14854
15801
  requires_feature_allocation: z.ZodBoolean;
14855
15802
  max_one_feature_allocation: z.ZodBoolean;
15803
+ production_tracking_kind: z.ZodEnum<{
15804
+ none: "none";
15805
+ feature: "feature";
15806
+ quantity: "quantity";
15807
+ }>;
14856
15808
  }, z.core.$strip>;
14857
15809
  export declare const zUpdateJobBody: z.ZodIntersection<z.ZodObject<{
14858
15810
  template_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -14891,6 +15843,11 @@ export declare const zUpdateJobBody: z.ZodIntersection<z.ZodObject<{
14891
15843
  tracks_feature_allocations: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
14892
15844
  requires_feature_allocation: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
14893
15845
  max_one_feature_allocation: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
15846
+ production_tracking_kind: z.ZodOptional<z.ZodEnum<{
15847
+ none: "none";
15848
+ feature: "feature";
15849
+ quantity: "quantity";
15850
+ }>>;
14894
15851
  job_work_types_attributes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
14895
15852
  primary: z.ZodOptional<z.ZodBoolean>;
14896
15853
  work_type_id: z.ZodOptional<z.ZodString>;
@@ -15041,6 +15998,11 @@ export declare const zUpdateJobResponse: z.ZodObject<{
15041
15998
  tracks_feature_allocations: z.ZodBoolean;
15042
15999
  requires_feature_allocation: z.ZodBoolean;
15043
16000
  max_one_feature_allocation: z.ZodBoolean;
16001
+ production_tracking_kind: z.ZodEnum<{
16002
+ none: "none";
16003
+ feature: "feature";
16004
+ quantity: "quantity";
16005
+ }>;
15044
16006
  }, z.core.$strip>;
15045
16007
  /**
15046
16008
  * Success
@@ -15102,6 +16064,7 @@ export declare const zListSiteCheckInsResponse: z.ZodObject<{
15102
16064
  source: z.ZodEnum<{
15103
16065
  manual: "manual";
15104
16066
  auto: "auto";
16067
+ public_form: "public_form";
15105
16068
  }>;
15106
16069
  nerc_check_in: z.ZodBoolean;
15107
16070
  cip_exceptional: z.ZodBoolean;
@@ -15137,6 +16100,7 @@ export declare const zGetSiteCheckInResponse: z.ZodObject<{
15137
16100
  source: z.ZodEnum<{
15138
16101
  manual: "manual";
15139
16102
  auto: "auto";
16103
+ public_form: "public_form";
15140
16104
  }>;
15141
16105
  nerc_check_in: z.ZodBoolean;
15142
16106
  cip_exceptional: z.ZodBoolean;
@@ -16596,17 +17560,17 @@ export declare const zGetFringeBenefitPlanResponse: z.ZodObject<{
16596
17560
  updated_at: z.ZodISODateTime;
16597
17561
  }, z.core.$strip>;
16598
17562
  export declare const zUpdateFringeBenefitPlanBody: z.ZodObject<{
16599
- timekeeping_pay_period_config_id: z.ZodString;
16600
- name: z.ZodString;
16601
- plan_number: z.ZodString;
17563
+ timekeeping_pay_period_config_id: z.ZodOptional<z.ZodString>;
17564
+ name: z.ZodOptional<z.ZodString>;
17565
+ plan_number: z.ZodOptional<z.ZodString>;
16602
17566
  funded: z.ZodOptional<z.ZodBoolean>;
16603
- benefit_category: z.ZodEnum<{
17567
+ benefit_category: z.ZodOptional<z.ZodEnum<{
16604
17568
  employer_combined_savings: "employer_combined_savings";
16605
17569
  employer_combined_health: "employer_combined_health";
16606
17570
  employer_combined_holiday_pto: "employer_combined_holiday_pto";
16607
17571
  employer_training: "employer_training";
16608
17572
  employer_other_contributions: "employer_other_contributions";
16609
- }>;
17573
+ }>>;
16610
17574
  il_jointly_managed: z.ZodOptional<z.ZodBoolean>;
16611
17575
  il_fund_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16612
17576
  il_fund_address1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -16894,18 +17858,17 @@ export declare const zGetPayrollRunResponse: z.ZodObject<{
16894
17858
  updated_at: z.ZodISODateTime;
16895
17859
  }, z.core.$strip>;
16896
17860
  export declare const zUpdatePayrollRunBody: z.ZodObject<{
16897
- company_id: z.ZodString;
16898
17861
  timekeeping_pay_period_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16899
17862
  payrolls_credential_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16900
- run_type: z.ZodEnum<{
17863
+ run_type: z.ZodOptional<z.ZodEnum<{
16901
17864
  CORRECTION: "CORRECTION";
16902
17865
  ON_CYCLE: "ON_CYCLE";
16903
17866
  OFF_CYCLE: "OFF_CYCLE";
16904
17867
  RECONCILIATION: "RECONCILIATION";
16905
17868
  SIGN_ON_BONUS: "SIGN_ON_BONUS";
16906
17869
  TERMINATION: "TERMINATION";
16907
- }>;
16908
- run_date: z.ZodISODate;
17870
+ }>>;
17871
+ run_date: z.ZodOptional<z.ZodISODate>;
16909
17872
  external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16910
17873
  }, z.core.$strip>;
16911
17874
  export declare const zUpdatePayrollRunPath: z.ZodObject<{
@@ -17101,13 +18064,13 @@ export declare const zGetPaystubLineItemResponse: z.ZodObject<{
17101
18064
  updated_at: z.ZodISODateTime;
17102
18065
  }, z.core.$strip>;
17103
18066
  export declare const zUpdatePaystubLineItemBody: z.ZodObject<{
17104
- payrolls_paystub_id: z.ZodString;
17105
- amount_cents: z.ZodString;
17106
- contributor: z.ZodEnum<{
18067
+ payrolls_paystub_id: z.ZodOptional<z.ZodString>;
18068
+ amount_cents: z.ZodOptional<z.ZodString>;
18069
+ contributor: z.ZodOptional<z.ZodEnum<{
17107
18070
  employee: "employee";
17108
18071
  employer: "employer";
17109
- }>;
17110
- payrolls_external_map_id: z.ZodString;
18072
+ }>>;
18073
+ payrolls_external_map_id: z.ZodOptional<z.ZodString>;
17111
18074
  }, z.core.$strip>;
17112
18075
  export declare const zUpdatePaystubLineItemPath: z.ZodObject<{
17113
18076
  id: z.ZodString;
@@ -17234,25 +18197,335 @@ export declare const zGetPaystubResponse: z.ZodObject<{
17234
18197
  updated_at: z.ZodISODateTime;
17235
18198
  }, z.core.$strip>;
17236
18199
  export declare const zUpdatePaystubBody: z.ZodObject<{
17237
- payrolls_payroll_run_id: z.ZodString;
17238
- user_id: z.ZodString;
18200
+ payrolls_payroll_run_id: z.ZodOptional<z.ZodString>;
18201
+ user_id: z.ZodOptional<z.ZodString>;
17239
18202
  timekeeping_time_card_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17240
18203
  external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17241
18204
  check_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17242
18205
  }, z.core.$strip>;
17243
- export declare const zUpdatePaystubPath: z.ZodObject<{
18206
+ export declare const zUpdatePaystubPath: z.ZodObject<{
18207
+ id: z.ZodString;
18208
+ }, z.core.$strip>;
18209
+ /**
18210
+ * Success
18211
+ */
18212
+ export declare const zUpdatePaystubResponse: z.ZodObject<{
18213
+ id: z.ZodString;
18214
+ external_id: z.ZodNullable<z.ZodString>;
18215
+ check_number: z.ZodNullable<z.ZodString>;
18216
+ user_id: z.ZodString;
18217
+ timekeeping_time_card_id: z.ZodNullable<z.ZodString>;
18218
+ payrolls_payroll_run_id: z.ZodString;
18219
+ created_at: z.ZodISODateTime;
18220
+ updated_at: z.ZodISODateTime;
18221
+ }, z.core.$strip>;
18222
+ export declare const zListEmploymentHistoryPath: z.ZodObject<{
18223
+ employment_id: z.ZodString;
18224
+ }, z.core.$strip>;
18225
+ export declare const zListEmploymentHistoryQuery: z.ZodObject<{
18226
+ 'as_of[valid]': z.ZodOptional<z.ZodString>;
18227
+ 'as_of[transaction]': z.ZodOptional<z.ZodString>;
18228
+ 'page[cursor]': z.ZodOptional<z.ZodString>;
18229
+ 'page[limit]': z.ZodDefault<z.ZodOptional<z.ZodInt>>;
18230
+ page: z.ZodOptional<z.ZodString>;
18231
+ }, z.core.$strip>;
18232
+ /**
18233
+ * Success
18234
+ */
18235
+ export declare const zListEmploymentHistoryResponse: z.ZodObject<{
18236
+ meta: z.ZodObject<{
18237
+ page: z.ZodObject<{
18238
+ next_cursor: z.ZodNullable<z.ZodString>;
18239
+ current_cursor: z.ZodNullable<z.ZodString>;
18240
+ }, z.core.$strip>;
18241
+ }, z.core.$strip>;
18242
+ links: z.ZodObject<{
18243
+ self: z.ZodString;
18244
+ first: z.ZodNullable<z.ZodString>;
18245
+ next: z.ZodNullable<z.ZodString>;
18246
+ }, z.core.$strip>;
18247
+ data: z.ZodArray<z.ZodObject<{
18248
+ people_employment_id: z.ZodString;
18249
+ user_id: z.ZodString;
18250
+ company_id: z.ZodString;
18251
+ type: z.ZodEnum<{
18252
+ EMPLOYEE: "EMPLOYEE";
18253
+ CONTRACTOR: "CONTRACTOR";
18254
+ }>;
18255
+ title: z.ZodNullable<z.ZodString>;
18256
+ compensation_type: z.ZodEnum<{
18257
+ hourly: "hourly";
18258
+ salary: "salary";
18259
+ }>;
18260
+ payroll_id: z.ZodNullable<z.ZodString>;
18261
+ manager_user_id: z.ZodNullable<z.ZodString>;
18262
+ companies_department_id: z.ZodNullable<z.ZodString>;
18263
+ enrolled_in_t_and_a: z.ZodBoolean;
18264
+ overtime_eligible: z.ZodNullable<z.ZodBoolean>;
18265
+ overtime_package_id: z.ZodNullable<z.ZodString>;
18266
+ pay_rates_rule_package_id: z.ZodNullable<z.ZodString>;
18267
+ pay_rates_package_id: z.ZodNullable<z.ZodString>;
18268
+ worked_annual_minutes: z.ZodNullable<z.ZodInt>;
18269
+ pto_annual_minutes: z.ZodNullable<z.ZodInt>;
18270
+ holiday_annual_minutes: z.ZodNullable<z.ZodInt>;
18271
+ training_annual_minutes: z.ZodNullable<z.ZodInt>;
18272
+ hourly_rate_cents: z.ZodNullable<z.ZodString>;
18273
+ training_annual_amount_cents: z.ZodNullable<z.ZodString>;
18274
+ employer_combined_health_amount_cents: z.ZodNullable<z.ZodString>;
18275
+ employer_combined_savings_cents: z.ZodNullable<z.ZodString>;
18276
+ currency: z.ZodString;
18277
+ valid_from: z.ZodNullable<z.ZodISODateTime>;
18278
+ valid_to: z.ZodNullable<z.ZodISODateTime>;
18279
+ created_at: z.ZodISODateTime;
18280
+ updated_at: z.ZodISODateTime;
18281
+ version_status: z.ZodEnum<{
18282
+ scheduled: "scheduled";
18283
+ current: "current";
18284
+ historical: "historical";
18285
+ }>;
18286
+ corrections: z.ZodArray<z.ZodObject<{
18287
+ people_employment_id: z.ZodString;
18288
+ user_id: z.ZodString;
18289
+ company_id: z.ZodString;
18290
+ type: z.ZodEnum<{
18291
+ EMPLOYEE: "EMPLOYEE";
18292
+ CONTRACTOR: "CONTRACTOR";
18293
+ }>;
18294
+ title: z.ZodNullable<z.ZodString>;
18295
+ compensation_type: z.ZodEnum<{
18296
+ hourly: "hourly";
18297
+ salary: "salary";
18298
+ }>;
18299
+ payroll_id: z.ZodNullable<z.ZodString>;
18300
+ manager_user_id: z.ZodNullable<z.ZodString>;
18301
+ companies_department_id: z.ZodNullable<z.ZodString>;
18302
+ enrolled_in_t_and_a: z.ZodBoolean;
18303
+ overtime_eligible: z.ZodNullable<z.ZodBoolean>;
18304
+ overtime_package_id: z.ZodNullable<z.ZodString>;
18305
+ pay_rates_rule_package_id: z.ZodNullable<z.ZodString>;
18306
+ pay_rates_package_id: z.ZodNullable<z.ZodString>;
18307
+ worked_annual_minutes: z.ZodNullable<z.ZodInt>;
18308
+ pto_annual_minutes: z.ZodNullable<z.ZodInt>;
18309
+ holiday_annual_minutes: z.ZodNullable<z.ZodInt>;
18310
+ training_annual_minutes: z.ZodNullable<z.ZodInt>;
18311
+ hourly_rate_cents: z.ZodNullable<z.ZodString>;
18312
+ training_annual_amount_cents: z.ZodNullable<z.ZodString>;
18313
+ employer_combined_health_amount_cents: z.ZodNullable<z.ZodString>;
18314
+ employer_combined_savings_cents: z.ZodNullable<z.ZodString>;
18315
+ currency: z.ZodString;
18316
+ valid_from: z.ZodNullable<z.ZodISODateTime>;
18317
+ valid_to: z.ZodNullable<z.ZodISODateTime>;
18318
+ created_at: z.ZodISODateTime;
18319
+ updated_at: z.ZodISODateTime;
18320
+ }, z.core.$strip>>;
18321
+ }, z.core.$strip>>;
18322
+ }, z.core.$strip>;
18323
+ export declare const zListEmploymentsHistoryQuery: z.ZodObject<{
18324
+ 'filter[user_id]': z.ZodOptional<z.ZodString>;
18325
+ 'as_of[valid]': z.ZodOptional<z.ZodString>;
18326
+ 'as_of[transaction]': z.ZodOptional<z.ZodString>;
18327
+ filter: z.ZodOptional<z.ZodString>;
18328
+ 'filter[unexpected]': z.ZodOptional<z.ZodString>;
18329
+ 'page[cursor]': z.ZodOptional<z.ZodString>;
18330
+ 'page[limit]': z.ZodDefault<z.ZodOptional<z.ZodInt>>;
18331
+ page: z.ZodOptional<z.ZodString>;
18332
+ }, z.core.$strip>;
18333
+ /**
18334
+ * Success
18335
+ */
18336
+ export declare const zListEmploymentsHistoryResponse: z.ZodObject<{
18337
+ meta: z.ZodObject<{
18338
+ page: z.ZodObject<{
18339
+ next_cursor: z.ZodNullable<z.ZodString>;
18340
+ current_cursor: z.ZodNullable<z.ZodString>;
18341
+ }, z.core.$strip>;
18342
+ }, z.core.$strip>;
18343
+ links: z.ZodObject<{
18344
+ self: z.ZodString;
18345
+ first: z.ZodNullable<z.ZodString>;
18346
+ next: z.ZodNullable<z.ZodString>;
18347
+ }, z.core.$strip>;
18348
+ data: z.ZodArray<z.ZodObject<{
18349
+ people_employment_id: z.ZodString;
18350
+ user_id: z.ZodString;
18351
+ company_id: z.ZodString;
18352
+ type: z.ZodEnum<{
18353
+ EMPLOYEE: "EMPLOYEE";
18354
+ CONTRACTOR: "CONTRACTOR";
18355
+ }>;
18356
+ title: z.ZodNullable<z.ZodString>;
18357
+ compensation_type: z.ZodEnum<{
18358
+ hourly: "hourly";
18359
+ salary: "salary";
18360
+ }>;
18361
+ payroll_id: z.ZodNullable<z.ZodString>;
18362
+ manager_user_id: z.ZodNullable<z.ZodString>;
18363
+ companies_department_id: z.ZodNullable<z.ZodString>;
18364
+ enrolled_in_t_and_a: z.ZodBoolean;
18365
+ overtime_eligible: z.ZodNullable<z.ZodBoolean>;
18366
+ overtime_package_id: z.ZodNullable<z.ZodString>;
18367
+ pay_rates_rule_package_id: z.ZodNullable<z.ZodString>;
18368
+ pay_rates_package_id: z.ZodNullable<z.ZodString>;
18369
+ worked_annual_minutes: z.ZodNullable<z.ZodInt>;
18370
+ pto_annual_minutes: z.ZodNullable<z.ZodInt>;
18371
+ holiday_annual_minutes: z.ZodNullable<z.ZodInt>;
18372
+ training_annual_minutes: z.ZodNullable<z.ZodInt>;
18373
+ hourly_rate_cents: z.ZodNullable<z.ZodString>;
18374
+ training_annual_amount_cents: z.ZodNullable<z.ZodString>;
18375
+ employer_combined_health_amount_cents: z.ZodNullable<z.ZodString>;
18376
+ employer_combined_savings_cents: z.ZodNullable<z.ZodString>;
18377
+ currency: z.ZodString;
18378
+ valid_from: z.ZodNullable<z.ZodISODateTime>;
18379
+ valid_to: z.ZodNullable<z.ZodISODateTime>;
18380
+ created_at: z.ZodISODateTime;
18381
+ updated_at: z.ZodISODateTime;
18382
+ version_status: z.ZodEnum<{
18383
+ scheduled: "scheduled";
18384
+ current: "current";
18385
+ historical: "historical";
18386
+ }>;
18387
+ corrections: z.ZodArray<z.ZodObject<{
18388
+ people_employment_id: z.ZodString;
18389
+ user_id: z.ZodString;
18390
+ company_id: z.ZodString;
18391
+ type: z.ZodEnum<{
18392
+ EMPLOYEE: "EMPLOYEE";
18393
+ CONTRACTOR: "CONTRACTOR";
18394
+ }>;
18395
+ title: z.ZodNullable<z.ZodString>;
18396
+ compensation_type: z.ZodEnum<{
18397
+ hourly: "hourly";
18398
+ salary: "salary";
18399
+ }>;
18400
+ payroll_id: z.ZodNullable<z.ZodString>;
18401
+ manager_user_id: z.ZodNullable<z.ZodString>;
18402
+ companies_department_id: z.ZodNullable<z.ZodString>;
18403
+ enrolled_in_t_and_a: z.ZodBoolean;
18404
+ overtime_eligible: z.ZodNullable<z.ZodBoolean>;
18405
+ overtime_package_id: z.ZodNullable<z.ZodString>;
18406
+ pay_rates_rule_package_id: z.ZodNullable<z.ZodString>;
18407
+ pay_rates_package_id: z.ZodNullable<z.ZodString>;
18408
+ worked_annual_minutes: z.ZodNullable<z.ZodInt>;
18409
+ pto_annual_minutes: z.ZodNullable<z.ZodInt>;
18410
+ holiday_annual_minutes: z.ZodNullable<z.ZodInt>;
18411
+ training_annual_minutes: z.ZodNullable<z.ZodInt>;
18412
+ hourly_rate_cents: z.ZodNullable<z.ZodString>;
18413
+ training_annual_amount_cents: z.ZodNullable<z.ZodString>;
18414
+ employer_combined_health_amount_cents: z.ZodNullable<z.ZodString>;
18415
+ employer_combined_savings_cents: z.ZodNullable<z.ZodString>;
18416
+ currency: z.ZodString;
18417
+ valid_from: z.ZodNullable<z.ZodISODateTime>;
18418
+ valid_to: z.ZodNullable<z.ZodISODateTime>;
18419
+ created_at: z.ZodISODateTime;
18420
+ updated_at: z.ZodISODateTime;
18421
+ }, z.core.$strip>>;
18422
+ }, z.core.$strip>>;
18423
+ }, z.core.$strip>;
18424
+ export declare const zListEmploymentsQuery: z.ZodObject<{
18425
+ 'filter[user_id]': z.ZodOptional<z.ZodString>;
18426
+ filter: z.ZodOptional<z.ZodString>;
18427
+ 'filter[unexpected]': z.ZodOptional<z.ZodString>;
18428
+ 'as_of[valid]': z.ZodOptional<z.ZodISODateTime>;
18429
+ as_of: z.ZodOptional<z.ZodString>;
18430
+ 'as_of[bogus_axis]': z.ZodOptional<z.ZodString>;
18431
+ 'as_of[valid][gte]': z.ZodOptional<z.ZodString>;
18432
+ 'as_of[transaction]': z.ZodOptional<z.ZodString>;
18433
+ 'page[cursor]': z.ZodOptional<z.ZodString>;
18434
+ 'page[limit]': z.ZodDefault<z.ZodOptional<z.ZodInt>>;
18435
+ page: z.ZodOptional<z.ZodString>;
18436
+ }, z.core.$strip>;
18437
+ /**
18438
+ * Success in a gap between employment stints
18439
+ */
18440
+ export declare const zListEmploymentsResponse: z.ZodObject<{
18441
+ meta: z.ZodObject<{
18442
+ page: z.ZodObject<{
18443
+ next_cursor: z.ZodNullable<z.ZodString>;
18444
+ current_cursor: z.ZodNullable<z.ZodString>;
18445
+ }, z.core.$strip>;
18446
+ }, z.core.$strip>;
18447
+ links: z.ZodObject<{
18448
+ self: z.ZodString;
18449
+ first: z.ZodNullable<z.ZodString>;
18450
+ next: z.ZodNullable<z.ZodString>;
18451
+ }, z.core.$strip>;
18452
+ data: z.ZodArray<z.ZodObject<{
18453
+ id: z.ZodString;
18454
+ user_id: z.ZodString;
18455
+ company_id: z.ZodString;
18456
+ type: z.ZodEnum<{
18457
+ EMPLOYEE: "EMPLOYEE";
18458
+ CONTRACTOR: "CONTRACTOR";
18459
+ }>;
18460
+ title: z.ZodNullable<z.ZodString>;
18461
+ compensation_type: z.ZodEnum<{
18462
+ hourly: "hourly";
18463
+ salary: "salary";
18464
+ }>;
18465
+ payroll_id: z.ZodNullable<z.ZodString>;
18466
+ manager_user_id: z.ZodNullable<z.ZodString>;
18467
+ companies_department_id: z.ZodNullable<z.ZodString>;
18468
+ enrolled_in_t_and_a: z.ZodBoolean;
18469
+ overtime_eligible: z.ZodNullable<z.ZodBoolean>;
18470
+ overtime_package_id: z.ZodNullable<z.ZodString>;
18471
+ pay_rates_rule_package_id: z.ZodNullable<z.ZodString>;
18472
+ pay_rates_package_id: z.ZodNullable<z.ZodString>;
18473
+ worked_annual_minutes: z.ZodNullable<z.ZodInt>;
18474
+ pto_annual_minutes: z.ZodNullable<z.ZodInt>;
18475
+ holiday_annual_minutes: z.ZodNullable<z.ZodInt>;
18476
+ training_annual_minutes: z.ZodNullable<z.ZodInt>;
18477
+ hourly_rate_cents: z.ZodNullable<z.ZodString>;
18478
+ training_annual_amount_cents: z.ZodNullable<z.ZodString>;
18479
+ employer_combined_health_amount_cents: z.ZodNullable<z.ZodString>;
18480
+ employer_combined_savings_cents: z.ZodNullable<z.ZodString>;
18481
+ currency: z.ZodString;
18482
+ valid_from: z.ZodNullable<z.ZodISODateTime>;
18483
+ valid_to: z.ZodNullable<z.ZodISODateTime>;
18484
+ created_at: z.ZodISODateTime;
18485
+ updated_at: z.ZodISODateTime;
18486
+ }, z.core.$strip>>;
18487
+ }, z.core.$strip>;
18488
+ export declare const zGetEmploymentPath: z.ZodObject<{
17244
18489
  id: z.ZodString;
17245
18490
  }, z.core.$strip>;
18491
+ export declare const zGetEmploymentQuery: z.ZodObject<{
18492
+ 'as_of[valid]': z.ZodOptional<z.ZodISODateTime>;
18493
+ }, z.core.$strip>;
17246
18494
  /**
17247
18495
  * Success
17248
18496
  */
17249
- export declare const zUpdatePaystubResponse: z.ZodObject<{
18497
+ export declare const zGetEmploymentResponse: z.ZodObject<{
17250
18498
  id: z.ZodString;
17251
- external_id: z.ZodNullable<z.ZodString>;
17252
- check_number: z.ZodNullable<z.ZodString>;
17253
18499
  user_id: z.ZodString;
17254
- timekeeping_time_card_id: z.ZodNullable<z.ZodString>;
17255
- payrolls_payroll_run_id: z.ZodString;
18500
+ company_id: z.ZodString;
18501
+ type: z.ZodEnum<{
18502
+ EMPLOYEE: "EMPLOYEE";
18503
+ CONTRACTOR: "CONTRACTOR";
18504
+ }>;
18505
+ title: z.ZodNullable<z.ZodString>;
18506
+ compensation_type: z.ZodEnum<{
18507
+ hourly: "hourly";
18508
+ salary: "salary";
18509
+ }>;
18510
+ payroll_id: z.ZodNullable<z.ZodString>;
18511
+ manager_user_id: z.ZodNullable<z.ZodString>;
18512
+ companies_department_id: z.ZodNullable<z.ZodString>;
18513
+ enrolled_in_t_and_a: z.ZodBoolean;
18514
+ overtime_eligible: z.ZodNullable<z.ZodBoolean>;
18515
+ overtime_package_id: z.ZodNullable<z.ZodString>;
18516
+ pay_rates_rule_package_id: z.ZodNullable<z.ZodString>;
18517
+ pay_rates_package_id: z.ZodNullable<z.ZodString>;
18518
+ worked_annual_minutes: z.ZodNullable<z.ZodInt>;
18519
+ pto_annual_minutes: z.ZodNullable<z.ZodInt>;
18520
+ holiday_annual_minutes: z.ZodNullable<z.ZodInt>;
18521
+ training_annual_minutes: z.ZodNullable<z.ZodInt>;
18522
+ hourly_rate_cents: z.ZodNullable<z.ZodString>;
18523
+ training_annual_amount_cents: z.ZodNullable<z.ZodString>;
18524
+ employer_combined_health_amount_cents: z.ZodNullable<z.ZodString>;
18525
+ employer_combined_savings_cents: z.ZodNullable<z.ZodString>;
18526
+ currency: z.ZodString;
18527
+ valid_from: z.ZodNullable<z.ZodISODateTime>;
18528
+ valid_to: z.ZodNullable<z.ZodISODateTime>;
17256
18529
  created_at: z.ZodISODateTime;
17257
18530
  updated_at: z.ZodISODateTime;
17258
18531
  }, z.core.$strip>;
@@ -17373,10 +18646,10 @@ export declare const zGetPerDiemResponse: z.ZodObject<{
17373
18646
  updated_at: z.ZodISODateTime;
17374
18647
  }, z.core.$strip>;
17375
18648
  export declare const zUpdatePerDiemBody: z.ZodObject<{
17376
- name: z.ZodString;
18649
+ name: z.ZodOptional<z.ZodString>;
17377
18650
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17378
- rate_cents: z.ZodString;
17379
- currency: z.ZodString;
18651
+ rate_cents: z.ZodOptional<z.ZodString>;
18652
+ currency: z.ZodOptional<z.ZodString>;
17380
18653
  taxable: z.ZodOptional<z.ZodBoolean>;
17381
18654
  default: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
17382
18655
  active: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
@@ -17476,8 +18749,8 @@ export declare const zGetPositionFunctionResponse: z.ZodObject<{
17476
18749
  updated_at: z.ZodISODateTime;
17477
18750
  }, z.core.$strip>;
17478
18751
  export declare const zUpdatePositionFunctionBody: z.ZodObject<{
17479
- value: z.ZodString;
17480
- description: z.ZodString;
18752
+ value: z.ZodOptional<z.ZodString>;
18753
+ description: z.ZodOptional<z.ZodString>;
17481
18754
  }, z.core.$strip>;
17482
18755
  export declare const zUpdatePositionFunctionPath: z.ZodObject<{
17483
18756
  id: z.ZodString;
@@ -18028,7 +19301,6 @@ export declare const zUpdateProjectResponse: z.ZodObject<{
18028
19301
  updated_at: z.ZodISODateTime;
18029
19302
  }, z.core.$strip>;
18030
19303
  export declare const zCreateCompanyUserDetailBody: z.ZodObject<{
18031
- company_id: z.ZodString;
18032
19304
  user_id: z.ZodString;
18033
19305
  address1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18034
19306
  address2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -18220,8 +19492,6 @@ export declare const zCreateCompanyUserDetailResponse: z.ZodObject<{
18220
19492
  }>>>;
18221
19493
  }, z.core.$strip>;
18222
19494
  export declare const zUpdateCompanyUserDetailBody: z.ZodObject<{
18223
- company_id: z.ZodString;
18224
- user_id: z.ZodString;
18225
19495
  address1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18226
19496
  address2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18227
19497
  city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -19072,7 +20342,7 @@ export declare const zListTimeCardPerDiemsResponse: z.ZodObject<{
19072
20342
  export declare const zCreateTimeCardPerDiemBody: z.ZodObject<{
19073
20343
  date: z.ZodISODate;
19074
20344
  approver_user_id: z.ZodString;
19075
- per_diem_id: z.ZodString;
20345
+ per_diem_id: z.ZodOptional<z.ZodString>;
19076
20346
  }, z.core.$strip>;
19077
20347
  export declare const zCreateTimeCardPerDiemPath: z.ZodObject<{
19078
20348
  time_card_id: z.ZodString;
@@ -19112,9 +20382,9 @@ export declare const zDeleteTimeCardPerDiemResponse: z.ZodObject<{
19112
20382
  updated_at: z.ZodISODateTime;
19113
20383
  }, z.core.$strip>;
19114
20384
  export declare const zUpdateTimeCardPerDiemBody: z.ZodObject<{
19115
- date: z.ZodISODate;
19116
- approver_user_id: z.ZodString;
19117
- per_diem_id: z.ZodString;
20385
+ date: z.ZodOptional<z.ZodISODate>;
20386
+ approver_user_id: z.ZodOptional<z.ZodString>;
20387
+ per_diem_id: z.ZodOptional<z.ZodString>;
19118
20388
  }, z.core.$strip>;
19119
20389
  export declare const zUpdateTimeCardPerDiemPath: z.ZodObject<{
19120
20390
  time_card_id: z.ZodString;
@@ -20237,7 +21507,7 @@ export declare const zGetTimecodeResponse: z.ZodObject<{
20237
21507
  export declare const zUpdateTimecodeBody: z.ZodObject<{
20238
21508
  effective_from: z.ZodOptional<z.ZodISODateTime>;
20239
21509
  effective_to: z.ZodOptional<z.ZodISODateTime>;
20240
- name: z.ZodString;
21510
+ name: z.ZodOptional<z.ZodString>;
20241
21511
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20242
21512
  description_is_required: z.ZodOptional<z.ZodBoolean>;
20243
21513
  billable: z.ZodOptional<z.ZodBoolean>;
@@ -20848,13 +22118,13 @@ export declare const zDeleteHolidayResponse: z.ZodObject<{
20848
22118
  updated_at: z.ZodISODateTime;
20849
22119
  }, z.core.$strip>;
20850
22120
  export declare const zUpdateHolidayBody: z.ZodObject<{
20851
- name: z.ZodString;
22121
+ name: z.ZodOptional<z.ZodString>;
20852
22122
  date: z.ZodOptional<z.ZodISODate>;
20853
- holiday_type: z.ZodEnum<{
22123
+ holiday_type: z.ZodOptional<z.ZodEnum<{
20854
22124
  fixed: "fixed";
20855
22125
  floating: "floating";
20856
- }>;
20857
- month: z.ZodInt;
22126
+ }>>;
22127
+ month: z.ZodOptional<z.ZodInt>;
20858
22128
  mday: z.ZodOptional<z.ZodInt>;
20859
22129
  wday: z.ZodOptional<z.ZodInt>;
20860
22130
  week: z.ZodOptional<z.ZodInt>;
@@ -21145,6 +22415,65 @@ export declare const zGetTimeCardActualResponse: z.ZodObject<{
21145
22415
  created_at: z.ZodISODateTime;
21146
22416
  updated_at: z.ZodISODateTime;
21147
22417
  }, z.core.$strip>;
22418
+ export declare const zListTimeSessionsQuery: z.ZodObject<{
22419
+ 'filter[user_id]': z.ZodOptional<z.ZodString>;
22420
+ 'filter[job_id]': z.ZodOptional<z.ZodString>;
22421
+ 'filter[job_id][null]': z.ZodOptional<z.ZodBoolean>;
22422
+ 'filter[active]': z.ZodOptional<z.ZodBoolean>;
22423
+ 'filter[start_time][gte]': z.ZodOptional<z.ZodISODateTime>;
22424
+ 'filter[start_time][lte]': z.ZodOptional<z.ZodISODateTime>;
22425
+ 'filter[created_at][gte]': z.ZodOptional<z.ZodISODateTime>;
22426
+ 'filter[created_at][lte]': z.ZodOptional<z.ZodISODateTime>;
22427
+ 'filter[updated_at][gte]': z.ZodOptional<z.ZodISODateTime>;
22428
+ 'filter[updated_at][lte]': z.ZodOptional<z.ZodISODateTime>;
22429
+ filter: z.ZodOptional<z.ZodString>;
22430
+ 'filter[unexpected]': z.ZodOptional<z.ZodString>;
22431
+ 'page[cursor]': z.ZodOptional<z.ZodString>;
22432
+ 'page[limit]': z.ZodDefault<z.ZodOptional<z.ZodInt>>;
22433
+ page: z.ZodOptional<z.ZodString>;
22434
+ }, z.core.$strip>;
22435
+ /**
22436
+ * Success
22437
+ */
22438
+ export declare const zListTimeSessionsResponse: z.ZodObject<{
22439
+ meta: z.ZodObject<{
22440
+ page: z.ZodObject<{
22441
+ next_cursor: z.ZodNullable<z.ZodString>;
22442
+ current_cursor: z.ZodNullable<z.ZodString>;
22443
+ }, z.core.$strip>;
22444
+ }, z.core.$strip>;
22445
+ links: z.ZodObject<{
22446
+ self: z.ZodString;
22447
+ first: z.ZodNullable<z.ZodString>;
22448
+ next: z.ZodNullable<z.ZodString>;
22449
+ }, z.core.$strip>;
22450
+ data: z.ZodArray<z.ZodObject<{
22451
+ id: z.ZodString;
22452
+ user_id: z.ZodString;
22453
+ job_id: z.ZodNullable<z.ZodString>;
22454
+ timekeeping_timecode_id: z.ZodNullable<z.ZodString>;
22455
+ active: z.ZodBoolean;
22456
+ start_time: z.ZodISODateTime;
22457
+ created_at: z.ZodISODateTime;
22458
+ updated_at: z.ZodISODateTime;
22459
+ }, z.core.$strip>>;
22460
+ }, z.core.$strip>;
22461
+ export declare const zGetTimeSessionPath: z.ZodObject<{
22462
+ id: z.ZodString;
22463
+ }, z.core.$strip>;
22464
+ /**
22465
+ * Success
22466
+ */
22467
+ export declare const zGetTimeSessionResponse: z.ZodObject<{
22468
+ id: z.ZodString;
22469
+ user_id: z.ZodString;
22470
+ job_id: z.ZodNullable<z.ZodString>;
22471
+ timekeeping_timecode_id: z.ZodNullable<z.ZodString>;
22472
+ active: z.ZodBoolean;
22473
+ start_time: z.ZodISODateTime;
22474
+ created_at: z.ZodISODateTime;
22475
+ updated_at: z.ZodISODateTime;
22476
+ }, z.core.$strip>;
21148
22477
  /**
21149
22478
  * Success
21150
22479
  */
@@ -22877,6 +24206,91 @@ export declare const zUpdateUserResponse: z.ZodObject<{
22877
24206
  }>>>;
22878
24207
  }, z.core.$strip>>;
22879
24208
  }, z.core.$strip>;
24209
+ export declare const zListBoundariesPath: z.ZodObject<{
24210
+ wage_determination_id: z.ZodString;
24211
+ }, z.core.$strip>;
24212
+ export declare const zListBoundariesQuery: z.ZodObject<{
24213
+ 'filter[id]': z.ZodOptional<z.ZodString>;
24214
+ 'filter[boundary_id]': z.ZodOptional<z.ZodString>;
24215
+ 'filter[name]': z.ZodOptional<z.ZodString>;
24216
+ 'filter[boundary_type]': z.ZodOptional<z.ZodString>;
24217
+ 'filter[source_boundary_id]': z.ZodOptional<z.ZodString>;
24218
+ 'filter[source_geo_id]': z.ZodOptional<z.ZodString>;
24219
+ 'filter[source_unique_id]': z.ZodOptional<z.ZodString>;
24220
+ filter: z.ZodOptional<z.ZodString>;
24221
+ 'filter[unexpected]': z.ZodOptional<z.ZodString>;
24222
+ 'page[cursor]': z.ZodOptional<z.ZodString>;
24223
+ 'page[limit]': z.ZodDefault<z.ZodOptional<z.ZodInt>>;
24224
+ page: z.ZodOptional<z.ZodString>;
24225
+ }, z.core.$strip>;
24226
+ /**
24227
+ * Success
24228
+ */
24229
+ export declare const zListBoundariesResponse: z.ZodObject<{
24230
+ meta: z.ZodObject<{
24231
+ page: z.ZodObject<{
24232
+ next_cursor: z.ZodNullable<z.ZodString>;
24233
+ current_cursor: z.ZodNullable<z.ZodString>;
24234
+ }, z.core.$strip>;
24235
+ }, z.core.$strip>;
24236
+ links: z.ZodObject<{
24237
+ self: z.ZodString;
24238
+ first: z.ZodNullable<z.ZodString>;
24239
+ next: z.ZodNullable<z.ZodString>;
24240
+ }, z.core.$strip>;
24241
+ data: z.ZodArray<z.ZodObject<{
24242
+ id: z.ZodString;
24243
+ wage_determination_id: z.ZodString;
24244
+ boundary_id: z.ZodString;
24245
+ boundary_type: z.ZodString;
24246
+ name: z.ZodString;
24247
+ source_boundary_id: z.ZodNullable<z.ZodString>;
24248
+ source_geo_id: z.ZodNullable<z.ZodString>;
24249
+ source_unique_id: z.ZodNullable<z.ZodString>;
24250
+ created_at: z.ZodISODateTime;
24251
+ updated_at: z.ZodISODateTime;
24252
+ }, z.core.$strip>>;
24253
+ }, z.core.$strip>;
24254
+ export declare const zListConstructionTypesPath: z.ZodObject<{
24255
+ wage_determination_id: z.ZodString;
24256
+ }, z.core.$strip>;
24257
+ export declare const zListConstructionTypesQuery: z.ZodObject<{
24258
+ 'filter[id]': z.ZodOptional<z.ZodString>;
24259
+ 'filter[construction_type]': z.ZodOptional<z.ZodString>;
24260
+ filter: z.ZodOptional<z.ZodString>;
24261
+ 'filter[unexpected]': z.ZodOptional<z.ZodString>;
24262
+ 'page[cursor]': z.ZodOptional<z.ZodString>;
24263
+ 'page[limit]': z.ZodDefault<z.ZodOptional<z.ZodInt>>;
24264
+ page: z.ZodOptional<z.ZodString>;
24265
+ }, z.core.$strip>;
24266
+ /**
24267
+ * Success
24268
+ */
24269
+ export declare const zListConstructionTypesResponse: z.ZodObject<{
24270
+ meta: z.ZodObject<{
24271
+ page: z.ZodObject<{
24272
+ next_cursor: z.ZodNullable<z.ZodString>;
24273
+ current_cursor: z.ZodNullable<z.ZodString>;
24274
+ }, z.core.$strip>;
24275
+ }, z.core.$strip>;
24276
+ links: z.ZodObject<{
24277
+ self: z.ZodString;
24278
+ first: z.ZodNullable<z.ZodString>;
24279
+ next: z.ZodNullable<z.ZodString>;
24280
+ }, z.core.$strip>;
24281
+ data: z.ZodArray<z.ZodObject<{
24282
+ id: z.ZodString;
24283
+ wage_determination_id: z.ZodString;
24284
+ construction_type: z.ZodEnum<{
24285
+ BUILDING: "BUILDING";
24286
+ HEAVY: "HEAVY";
24287
+ HIGHWAY: "HIGHWAY";
24288
+ RESIDENTIAL: "RESIDENTIAL";
24289
+ }>;
24290
+ created_at: z.ZodISODateTime;
24291
+ updated_at: z.ZodISODateTime;
24292
+ }, z.core.$strip>>;
24293
+ }, z.core.$strip>;
22880
24294
  export declare const zListLaborRatesPath: z.ZodObject<{
22881
24295
  wage_determination_id: z.ZodString;
22882
24296
  }, z.core.$strip>;
@@ -22913,6 +24327,129 @@ export declare const zListLaborRatesResponse: z.ZodObject<{
22913
24327
  fringe_percentage_rate: z.ZodNullable<z.ZodString>;
22914
24328
  fringe_benefit_weekly_rate_cents: z.ZodNullable<z.ZodString>;
22915
24329
  fringe_benefit_monthly_rate_cents: z.ZodNullable<z.ZodString>;
24330
+ reference_item_ids: z.ZodArray<z.ZodString>;
24331
+ created_at: z.ZodISODateTime;
24332
+ updated_at: z.ZodISODateTime;
24333
+ }, z.core.$strip>>;
24334
+ }, z.core.$strip>;
24335
+ export declare const zListProjectTypesPath: z.ZodObject<{
24336
+ wage_determination_id: z.ZodString;
24337
+ }, z.core.$strip>;
24338
+ export declare const zListProjectTypesQuery: z.ZodObject<{
24339
+ 'filter[id]': z.ZodOptional<z.ZodString>;
24340
+ 'filter[project_type]': z.ZodOptional<z.ZodString>;
24341
+ 'filter[project_type_subtext]': z.ZodOptional<z.ZodString>;
24342
+ filter: z.ZodOptional<z.ZodString>;
24343
+ 'filter[unexpected]': z.ZodOptional<z.ZodString>;
24344
+ 'page[cursor]': z.ZodOptional<z.ZodString>;
24345
+ 'page[limit]': z.ZodDefault<z.ZodOptional<z.ZodInt>>;
24346
+ page: z.ZodOptional<z.ZodString>;
24347
+ }, z.core.$strip>;
24348
+ /**
24349
+ * Success
24350
+ */
24351
+ export declare const zListProjectTypesResponse: z.ZodObject<{
24352
+ meta: z.ZodObject<{
24353
+ page: z.ZodObject<{
24354
+ next_cursor: z.ZodNullable<z.ZodString>;
24355
+ current_cursor: z.ZodNullable<z.ZodString>;
24356
+ }, z.core.$strip>;
24357
+ }, z.core.$strip>;
24358
+ links: z.ZodObject<{
24359
+ self: z.ZodString;
24360
+ first: z.ZodNullable<z.ZodString>;
24361
+ next: z.ZodNullable<z.ZodString>;
24362
+ }, z.core.$strip>;
24363
+ data: z.ZodArray<z.ZodObject<{
24364
+ id: z.ZodString;
24365
+ wage_determination_id: z.ZodString;
24366
+ project_type: z.ZodString;
24367
+ project_type_subtext: z.ZodNullable<z.ZodString>;
24368
+ created_at: z.ZodISODateTime;
24369
+ updated_at: z.ZodISODateTime;
24370
+ }, z.core.$strip>>;
24371
+ }, z.core.$strip>;
24372
+ export declare const zListReferenceItemsPath: z.ZodObject<{
24373
+ wage_determination_id: z.ZodString;
24374
+ }, z.core.$strip>;
24375
+ export declare const zListReferenceItemsQuery: z.ZodObject<{
24376
+ 'filter[id]': z.ZodOptional<z.ZodString>;
24377
+ 'filter[wage_classification_id]': z.ZodOptional<z.ZodString>;
24378
+ 'filter[position]': z.ZodOptional<z.ZodInt>;
24379
+ 'filter[letter]': z.ZodOptional<z.ZodString>;
24380
+ 'filter[container_type]': z.ZodOptional<z.ZodString>;
24381
+ filter: z.ZodOptional<z.ZodString>;
24382
+ 'filter[unexpected]': z.ZodOptional<z.ZodString>;
24383
+ 'page[cursor]': z.ZodOptional<z.ZodString>;
24384
+ 'page[limit]': z.ZodDefault<z.ZodOptional<z.ZodInt>>;
24385
+ page: z.ZodOptional<z.ZodString>;
24386
+ }, z.core.$strip>;
24387
+ /**
24388
+ * Success
24389
+ */
24390
+ export declare const zListReferenceItemsResponse: z.ZodObject<{
24391
+ meta: z.ZodObject<{
24392
+ page: z.ZodObject<{
24393
+ next_cursor: z.ZodNullable<z.ZodString>;
24394
+ current_cursor: z.ZodNullable<z.ZodString>;
24395
+ }, z.core.$strip>;
24396
+ }, z.core.$strip>;
24397
+ links: z.ZodObject<{
24398
+ self: z.ZodString;
24399
+ first: z.ZodNullable<z.ZodString>;
24400
+ next: z.ZodNullable<z.ZodString>;
24401
+ }, z.core.$strip>;
24402
+ data: z.ZodArray<z.ZodObject<{
24403
+ id: z.ZodString;
24404
+ wage_classification_id: z.ZodString;
24405
+ position: z.ZodInt;
24406
+ letter: z.ZodString;
24407
+ container_type: z.ZodEnum<{
24408
+ footnote: "footnote";
24409
+ premium_pay: "premium_pay";
24410
+ holidays: "holidays";
24411
+ zone_pay: "zone_pay";
24412
+ }>;
24413
+ text: z.ZodString;
24414
+ created_at: z.ZodISODateTime;
24415
+ updated_at: z.ZodISODateTime;
24416
+ }, z.core.$strip>>;
24417
+ }, z.core.$strip>;
24418
+ export declare const zListWageClassificationsPath: z.ZodObject<{
24419
+ wage_determination_id: z.ZodString;
24420
+ }, z.core.$strip>;
24421
+ export declare const zListWageClassificationsQuery: z.ZodObject<{
24422
+ 'filter[id]': z.ZodOptional<z.ZodString>;
24423
+ 'filter[identifier]': z.ZodOptional<z.ZodString>;
24424
+ 'filter[date]': z.ZodOptional<z.ZodISODate>;
24425
+ filter: z.ZodOptional<z.ZodString>;
24426
+ 'filter[unexpected]': z.ZodOptional<z.ZodString>;
24427
+ 'page[cursor]': z.ZodOptional<z.ZodString>;
24428
+ 'page[limit]': z.ZodDefault<z.ZodOptional<z.ZodInt>>;
24429
+ page: z.ZodOptional<z.ZodString>;
24430
+ }, z.core.$strip>;
24431
+ /**
24432
+ * Success
24433
+ */
24434
+ export declare const zListWageClassificationsResponse: z.ZodObject<{
24435
+ meta: z.ZodObject<{
24436
+ page: z.ZodObject<{
24437
+ next_cursor: z.ZodNullable<z.ZodString>;
24438
+ current_cursor: z.ZodNullable<z.ZodString>;
24439
+ }, z.core.$strip>;
24440
+ }, z.core.$strip>;
24441
+ links: z.ZodObject<{
24442
+ self: z.ZodString;
24443
+ first: z.ZodNullable<z.ZodString>;
24444
+ next: z.ZodNullable<z.ZodString>;
24445
+ }, z.core.$strip>;
24446
+ data: z.ZodArray<z.ZodObject<{
24447
+ id: z.ZodString;
24448
+ wage_determination_id: z.ZodString;
24449
+ identifier: z.ZodString;
24450
+ date: z.ZodISODate;
24451
+ footnote: z.ZodNullable<z.ZodString>;
24452
+ subheader: z.ZodNullable<z.ZodString>;
22916
24453
  created_at: z.ZodISODateTime;
22917
24454
  updated_at: z.ZodISODateTime;
22918
24455
  }, z.core.$strip>>;