@dsptch-work/api-client 0.18.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
  */
@@ -1329,32 +1691,128 @@ export declare const zPwaCompanyUserDetailsResponseObject: z.ZodObject<{
1329
1691
  NATIVE_AMERICAN: "NATIVE_AMERICAN";
1330
1692
  NOT_SPECIFIED: "NOT_SPECIFIED";
1331
1693
  OTHER: "OTHER";
1332
- }>>>;
1333
- sex: z.ZodNullable<z.ZodEnum<{
1694
+ }>>>;
1695
+ sex: z.ZodNullable<z.ZodEnum<{
1696
+ female: "female";
1697
+ male: "male";
1698
+ non_binary: "non_binary";
1699
+ not_specified: "not_specified";
1700
+ }>>;
1701
+ local_business_license: z.ZodNullable<z.ZodString>;
1702
+ drivers_license_state: z.ZodNullable<z.ZodString>;
1703
+ drivers_license_number: z.ZodNullable<z.ZodString>;
1704
+ ssn: z.ZodNullable<z.ZodString>;
1705
+ veteran_status: z.ZodNullable<z.ZodEnum<{
1706
+ not_specified: "not_specified";
1707
+ protected_veteran: "protected_veteran";
1708
+ not_protected_veteran: "not_protected_veteran";
1709
+ reserves: "reserves";
1710
+ guard: "guard";
1711
+ }>>;
1712
+ hispanic_origin: z.ZodNullable<z.ZodEnum<{
1713
+ not_specified: "not_specified";
1714
+ yes: "yes";
1715
+ no: "no";
1716
+ }>>;
1717
+ ca_dir_withholding_exemptions: z.ZodNullable<z.ZodInt>;
1718
+ disabled: z.ZodBoolean;
1719
+ il_dol_race: z.ZodNullable<z.ZodEnum<{
1720
+ white: "white";
1721
+ black: "black";
1722
+ hispanic_or_latino: "hispanic_or_latino";
1723
+ american_indian_or_alaska_native: "american_indian_or_alaska_native";
1724
+ chinese: "chinese";
1725
+ filipino: "filipino";
1726
+ asian_india: "asian_india";
1727
+ vietnamese: "vietnamese";
1728
+ korean: "korean";
1729
+ japanese: "japanese";
1730
+ native_hawaiian: "native_hawaiian";
1731
+ samoan: "samoan";
1732
+ chamorro: "chamorro";
1733
+ other_asian: "other_asian";
1734
+ other_pacific_islander: "other_pacific_islander";
1735
+ other: "other";
1736
+ }>>;
1737
+ il_shines_employment_type: z.ZodNullable<z.ZodEnum<{
1738
+ part_time: "part_time";
1739
+ full_time: "full_time";
1740
+ seasonal_temporary: "seasonal_temporary";
1741
+ independent_contract: "independent_contract";
1742
+ }>>;
1743
+ il_shines_eep_qualifiers: z.ZodNullable<z.ZodArray<z.ZodEnum<{
1744
+ eep_program_completed: "eep_program_completed";
1745
+ foster_care: "foster_care";
1746
+ formerly_incarcerated: "formerly_incarcerated";
1747
+ equity_investment_eligible_community: "equity_investment_eligible_community";
1748
+ self_registered_or_unknown: "self_registered_or_unknown";
1749
+ }>>>;
1750
+ il_shines_other_programs: z.ZodNullable<z.ZodArray<z.ZodEnum<{
1751
+ other: "other";
1752
+ solar_training_pipeline_program: "solar_training_pipeline_program";
1753
+ craft_apprenticeship_program: "craft_apprenticeship_program";
1754
+ multi_cultural_jobs_program: "multi_cultural_jobs_program";
1755
+ clean_jobs_workforce_network_program: "clean_jobs_workforce_network_program";
1756
+ illinois_climate_works_prep_apprenticeship_program: "illinois_climate_works_prep_apprenticeship_program";
1757
+ returning_residents_clean_jobs_training_program: "returning_residents_clean_jobs_training_program";
1758
+ }>>>;
1759
+ or_boli_schedule_type: z.ZodNullable<z.ZodEnum<{
1760
+ five_eight: "five_eight";
1761
+ four_ten: "four_ten";
1762
+ }>>;
1763
+ or_boli_race: z.ZodNullable<z.ZodArray<z.ZodEnum<{
1764
+ white: "white";
1765
+ hispanic_or_latino: "hispanic_or_latino";
1766
+ american_indian_or_alaska_native: "american_indian_or_alaska_native";
1767
+ asian: "asian";
1768
+ black_or_african_american: "black_or_african_american";
1769
+ native_hawaiian_or_pacific_islander: "native_hawaiian_or_pacific_islander";
1770
+ portuguese_or_brazilian: "portuguese_or_brazilian";
1771
+ }>>>;
1772
+ }, z.core.$strip>;
1773
+ /**
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.
1775
+ */
1776
+ export declare const zPwaCompanyUserDetailsParameters: z.ZodObject<{
1777
+ user_id: z.ZodString;
1778
+ address1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1779
+ address2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1780
+ city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1781
+ state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1782
+ zip: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1783
+ race: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<{
1784
+ AFRICAN_AMERICAN: "AFRICAN_AMERICAN";
1785
+ ASIAN: "ASIAN";
1786
+ CAUCASIAN: "CAUCASIAN";
1787
+ NATIVE_AMERICAN: "NATIVE_AMERICAN";
1788
+ NOT_SPECIFIED: "NOT_SPECIFIED";
1789
+ OTHER: "OTHER";
1790
+ }>>>>;
1791
+ sex: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1334
1792
  female: "female";
1335
1793
  male: "male";
1336
1794
  non_binary: "non_binary";
1337
1795
  not_specified: "not_specified";
1338
- }>>;
1339
- local_business_license: z.ZodNullable<z.ZodString>;
1340
- drivers_license_state: z.ZodNullable<z.ZodString>;
1341
- drivers_license_number: z.ZodNullable<z.ZodString>;
1342
- ssn: z.ZodNullable<z.ZodString>;
1343
- veteran_status: z.ZodNullable<z.ZodEnum<{
1796
+ }>>>;
1797
+ local_business_license: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1798
+ drivers_license_state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1799
+ drivers_license_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1800
+ ssn: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1801
+ veteran_status: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1344
1802
  not_specified: "not_specified";
1345
1803
  protected_veteran: "protected_veteran";
1346
1804
  not_protected_veteran: "not_protected_veteran";
1347
1805
  reserves: "reserves";
1348
1806
  guard: "guard";
1349
- }>>;
1350
- hispanic_origin: z.ZodNullable<z.ZodEnum<{
1807
+ }>>>;
1808
+ hispanic_origin: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1351
1809
  not_specified: "not_specified";
1352
1810
  yes: "yes";
1353
1811
  no: "no";
1354
- }>>;
1355
- ca_dir_withholding_exemptions: z.ZodNullable<z.ZodInt>;
1356
- disabled: z.ZodBoolean;
1357
- il_dol_race: z.ZodNullable<z.ZodEnum<{
1812
+ }>>>;
1813
+ ca_dir_withholding_exemptions: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
1814
+ disabled: z.ZodOptional<z.ZodBoolean>;
1815
+ il_dol_race: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1358
1816
  white: "white";
1359
1817
  black: "black";
1360
1818
  hispanic_or_latino: "hispanic_or_latino";
@@ -1371,21 +1829,21 @@ export declare const zPwaCompanyUserDetailsResponseObject: z.ZodObject<{
1371
1829
  other_asian: "other_asian";
1372
1830
  other_pacific_islander: "other_pacific_islander";
1373
1831
  other: "other";
1374
- }>>;
1375
- il_shines_employment_type: z.ZodNullable<z.ZodEnum<{
1832
+ }>>>;
1833
+ il_shines_employment_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1376
1834
  part_time: "part_time";
1377
1835
  full_time: "full_time";
1378
1836
  seasonal_temporary: "seasonal_temporary";
1379
1837
  independent_contract: "independent_contract";
1380
- }>>;
1381
- il_shines_eep_qualifiers: z.ZodNullable<z.ZodArray<z.ZodEnum<{
1838
+ }>>>;
1839
+ il_shines_eep_qualifiers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<{
1382
1840
  eep_program_completed: "eep_program_completed";
1383
1841
  foster_care: "foster_care";
1384
1842
  formerly_incarcerated: "formerly_incarcerated";
1385
1843
  equity_investment_eligible_community: "equity_investment_eligible_community";
1386
1844
  self_registered_or_unknown: "self_registered_or_unknown";
1387
- }>>>;
1388
- il_shines_other_programs: z.ZodNullable<z.ZodArray<z.ZodEnum<{
1845
+ }>>>>;
1846
+ il_shines_other_programs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<{
1389
1847
  other: "other";
1390
1848
  solar_training_pipeline_program: "solar_training_pipeline_program";
1391
1849
  craft_apprenticeship_program: "craft_apprenticeship_program";
@@ -1393,12 +1851,12 @@ export declare const zPwaCompanyUserDetailsResponseObject: z.ZodObject<{
1393
1851
  clean_jobs_workforce_network_program: "clean_jobs_workforce_network_program";
1394
1852
  illinois_climate_works_prep_apprenticeship_program: "illinois_climate_works_prep_apprenticeship_program";
1395
1853
  returning_residents_clean_jobs_training_program: "returning_residents_clean_jobs_training_program";
1396
- }>>>;
1397
- or_boli_schedule_type: z.ZodNullable<z.ZodEnum<{
1854
+ }>>>>;
1855
+ or_boli_schedule_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
1398
1856
  five_eight: "five_eight";
1399
1857
  four_ten: "four_ten";
1400
- }>>;
1401
- or_boli_race: z.ZodNullable<z.ZodArray<z.ZodEnum<{
1858
+ }>>>;
1859
+ or_boli_race: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<{
1402
1860
  white: "white";
1403
1861
  hispanic_or_latino: "hispanic_or_latino";
1404
1862
  american_indian_or_alaska_native: "american_indian_or_alaska_native";
@@ -1406,14 +1864,12 @@ export declare const zPwaCompanyUserDetailsResponseObject: z.ZodObject<{
1406
1864
  black_or_african_american: "black_or_african_american";
1407
1865
  native_hawaiian_or_pacific_islander: "native_hawaiian_or_pacific_islander";
1408
1866
  portuguese_or_brazilian: "portuguese_or_brazilian";
1409
- }>>>;
1867
+ }>>>>;
1410
1868
  }, z.core.$strip>;
1411
1869
  /**
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.
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.
1413
1871
  */
1414
- export declare const zPwaCompanyUserDetailsParameters: z.ZodObject<{
1415
- company_id: z.ZodString;
1416
- user_id: z.ZodString;
1872
+ export declare const zPwaCompanyUserDetailsUpdateParameters: z.ZodObject<{
1417
1873
  address1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1418
1874
  address2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1419
1875
  city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -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;
@@ -2654,7 +3123,7 @@ export declare const zPayrollFringeBenefitPlanResponseObject: z.ZodObject<{
2654
3123
  updated_at: z.ZodISODateTime;
2655
3124
  }, z.core.$strip>;
2656
3125
  /**
2657
- * 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.
2658
3127
  */
2659
3128
  export declare const zPayrollFringeBenefitPlanParameters: z.ZodObject<{
2660
3129
  timekeeping_pay_period_config_id: z.ZodString;
@@ -2678,6 +3147,31 @@ export declare const zPayrollFringeBenefitPlanParameters: z.ZodObject<{
2678
3147
  il_sponsor_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2679
3148
  il_admin_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2680
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>;
2681
3175
  /**
2682
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).
2683
3177
  */
@@ -2832,7 +3326,7 @@ export declare const zPayrollRunResponseObject: z.ZodObject<{
2832
3326
  updated_at: z.ZodISODateTime;
2833
3327
  }, z.core.$strip>;
2834
3328
  /**
2835
- * 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.
2836
3330
  */
2837
3331
  export declare const zPayrollRunParameters: z.ZodObject<{
2838
3332
  company_id: z.ZodString;
@@ -2849,6 +3343,23 @@ export declare const zPayrollRunParameters: z.ZodObject<{
2849
3343
  run_date: z.ZodISODate;
2850
3344
  external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2851
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>;
2852
3363
  /**
2853
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.
2854
3365
  */
@@ -2938,6 +3449,7 @@ export declare const zSiteCheckInResponseObject: z.ZodObject<{
2938
3449
  source: z.ZodEnum<{
2939
3450
  manual: "manual";
2940
3451
  auto: "auto";
3452
+ public_form: "public_form";
2941
3453
  }>;
2942
3454
  nerc_check_in: z.ZodBoolean;
2943
3455
  cip_exceptional: z.ZodBoolean;
@@ -3544,7 +4056,7 @@ export declare const zPaystubResponseObject: z.ZodObject<{
3544
4056
  updated_at: z.ZodISODateTime;
3545
4057
  }, z.core.$strip>;
3546
4058
  /**
3547
- * 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.
3548
4060
  */
3549
4061
  export declare const zPaystubParameters: z.ZodObject<{
3550
4062
  payrolls_payroll_run_id: z.ZodString;
@@ -3553,6 +4065,16 @@ export declare const zPaystubParameters: z.ZodObject<{
3553
4065
  external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3554
4066
  check_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3555
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>;
3556
4078
  /**
3557
4079
  * An adjustment applied in the current pay period to correct a prior one, tied to the paystub line item it corrects.
3558
4080
  */
@@ -3721,7 +4243,7 @@ export declare const zPaystubLineItemResponseObject: z.ZodObject<{
3721
4243
  updated_at: z.ZodISODateTime;
3722
4244
  }, z.core.$strip>;
3723
4245
  /**
3724
- * 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.
3725
4247
  */
3726
4248
  export declare const zPaystubLineItemParameters: z.ZodObject<{
3727
4249
  payrolls_paystub_id: z.ZodString;
@@ -3732,6 +4254,18 @@ export declare const zPaystubLineItemParameters: z.ZodObject<{
3732
4254
  }>;
3733
4255
  payrolls_external_map_id: z.ZodString;
3734
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>;
3735
4269
  /**
3736
4270
  * Request body for creating or updating a position on a job. The job is taken from the URL path.
3737
4271
  */
@@ -3940,7 +4474,7 @@ export declare const zFormAssignmentTaskResponseObject: z.ZodArray<z.ZodObject<{
3940
4474
  }, z.core.$strip>>;
3941
4475
  }, z.core.$strip>>;
3942
4476
  /**
3943
- * 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.
3944
4478
  */
3945
4479
  export declare const zCertificationParameters: z.ZodObject<{
3946
4480
  company_id: z.ZodString;
@@ -3949,6 +4483,16 @@ export declare const zCertificationParameters: z.ZodObject<{
3949
4483
  verified: z.ZodOptional<z.ZodBoolean>;
3950
4484
  duration: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3951
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>;
3952
4496
  /**
3953
4497
  * A certification package — a named set of certifications your company requires together.
3954
4498
  */
@@ -3964,7 +4508,7 @@ export declare const zCertificationPackageResponseObject: z.ZodObject<{
3964
4508
  updated_at: z.ZodISODateTime;
3965
4509
  }, z.core.$strip>;
3966
4510
  /**
3967
- * 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.
3968
4512
  */
3969
4513
  export declare const zCertificationPackageParameters: z.ZodObject<{
3970
4514
  name: z.ZodString;
@@ -3972,6 +4516,15 @@ export declare const zCertificationPackageParameters: z.ZodObject<{
3972
4516
  certification_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
3973
4517
  performed_by_user_id: z.ZodString;
3974
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>;
3975
4528
  /**
3976
4529
  * A certification — a named qualification a worker can hold, either owned by your company or a global (platform) credential type (company_id null).
3977
4530
  */
@@ -6553,6 +7106,13 @@ export declare const zAssetsVendorParameters: z.ZodObject<{
6553
7106
  name: z.ZodString;
6554
7107
  logo_signed_id: z.ZodOptional<z.ZodString>;
6555
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>;
6556
7116
  /**
6557
7117
  * A location that holds a company's assets and inventory — a warehouse or yard, optionally backed by a site on the Atlas map.
6558
7118
  */
@@ -6581,6 +7141,9 @@ export declare const zAssetsSiteParameters: z.ZodIntersection<z.ZodUnion<readonl
6581
7141
  site_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6582
7142
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6583
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
+ */
6584
7147
  export declare const zAssetsSiteUpdateParameters: z.ZodObject<{
6585
7148
  kind: z.ZodOptional<z.ZodEnum<{
6586
7149
  warehouse: "warehouse";
@@ -7411,6 +7974,97 @@ export declare const zListApiKeyScopesResponse: z.ZodObject<{
7411
7974
  name: z.ZodString;
7412
7975
  }, z.core.$strip>>;
7413
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>;
7414
8068
  export declare const zListApprenticesPath: z.ZodObject<{
7415
8069
  program_id: z.ZodString;
7416
8070
  }, z.core.$strip>;
@@ -7620,19 +8274,19 @@ export declare const zCreateOccupationResponse: z.ZodObject<{
7620
8274
  updated_at: z.ZodISODateTime;
7621
8275
  }, z.core.$strip>;
7622
8276
  export declare const zUpdateOccupationBody: z.ZodObject<{
7623
- rapids_code: z.ZodString;
7624
- occupation_type: z.ZodEnum<{
8277
+ rapids_code: z.ZodOptional<z.ZodString>;
8278
+ occupation_type: z.ZodOptional<z.ZodEnum<{
7625
8279
  time_based: "time_based";
7626
8280
  competency_based: "competency_based";
7627
8281
  hybrid: "hybrid";
7628
- }>;
7629
- title: z.ZodString;
8282
+ }>>;
8283
+ title: z.ZodOptional<z.ZodString>;
7630
8284
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7631
- min_minutes: z.ZodInt;
7632
- max_minutes: z.ZodInt;
7633
- probation_minutes: z.ZodInt;
7634
- num_apprentices: z.ZodInt;
7635
- 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>;
7636
8290
  }, z.core.$strip>;
7637
8291
  export declare const zUpdateOccupationPath: z.ZodObject<{
7638
8292
  program_id: z.ZodString;
@@ -7732,7 +8386,7 @@ export declare const zDeleteEmployerResponse: z.ZodObject<{
7732
8386
  updated_at: z.ZodISODateTime;
7733
8387
  }, z.core.$strip>;
7734
8388
  export declare const zUpdateEmployerBody: z.ZodObject<{
7735
- company_id: z.ZodString;
8389
+ company_id: z.ZodOptional<z.ZodString>;
7736
8390
  require_timecard_allocation: z.ZodOptional<z.ZodBoolean>;
7737
8391
  }, z.core.$strip>;
7738
8392
  export declare const zUpdateEmployerPath: z.ZodObject<{
@@ -7819,7 +8473,7 @@ export declare const zCreateProgramResponse: z.ZodObject<{
7819
8473
  updated_at: z.ZodISODateTime;
7820
8474
  }, z.core.$strip>;
7821
8475
  export declare const zUpdateProgramBody: z.ZodObject<{
7822
- program_number: z.ZodString;
8476
+ program_number: z.ZodOptional<z.ZodString>;
7823
8477
  program_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7824
8478
  sponsor_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7825
8479
  doing_business_as: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -7922,13 +8576,13 @@ export declare const zCreatePeriodResponse: z.ZodObject<{
7922
8576
  updated_at: z.ZodISODateTime;
7923
8577
  }, z.core.$strip>;
7924
8578
  export declare const zUpdatePeriodBody: z.ZodObject<{
7925
- period_number: z.ZodInt;
8579
+ period_number: z.ZodOptional<z.ZodInt>;
7926
8580
  min_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
7927
8581
  max_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
7928
8582
  num_competencies: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
7929
8583
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7930
- wage_percent: z.ZodNumber;
7931
- wage_cents: z.ZodInt;
8584
+ wage_percent: z.ZodOptional<z.ZodNumber>;
8585
+ wage_cents: z.ZodOptional<z.ZodInt>;
7932
8586
  }, z.core.$strip>;
7933
8587
  export declare const zUpdatePeriodPath: z.ZodObject<{
7934
8588
  wage_schedule_id: z.ZodString;
@@ -8101,45 +8755,53 @@ export declare const zCreateWageScheduleResponse: z.ZodObject<{
8101
8755
  updated_at: z.ZodISODateTime;
8102
8756
  }, z.core.$strip>;
8103
8757
  export declare const zUpdateWageScheduleBody: z.ZodObject<{
8104
- name: z.ZodString;
8758
+ name: z.ZodOptional<z.ZodString>;
8105
8759
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8106
- wage_unit: z.ZodEnum<{
8760
+ wage_unit: z.ZodOptional<z.ZodEnum<{
8107
8761
  hourly: "hourly";
8108
8762
  weekly: "weekly";
8109
8763
  monthly: "monthly";
8110
8764
  quarterly: "quarterly";
8111
8765
  semi_annually: "semi_annually";
8112
8766
  annually: "annually";
8113
- }>;
8114
- journeyworker_wage_unit: z.ZodEnum<{
8767
+ }>>;
8768
+ journeyworker_wage_unit: z.ZodOptional<z.ZodEnum<{
8115
8769
  hourly: "hourly";
8116
8770
  weekly: "weekly";
8117
8771
  monthly: "monthly";
8118
8772
  quarterly: "quarterly";
8119
8773
  semi_annually: "semi_annually";
8120
8774
  annually: "annually";
8121
- }>;
8122
- period_unit: z.ZodEnum<{
8775
+ }>>;
8776
+ period_unit: z.ZodOptional<z.ZodEnum<{
8123
8777
  hours: "hours";
8124
8778
  weeks: "weeks";
8125
8779
  months: "months";
8126
8780
  quarter: "quarter";
8127
8781
  semi_annual: "semi_annual";
8128
8782
  year: "year";
8129
- }>;
8783
+ }>>;
8130
8784
  journeyworker_wage_cents: z.ZodOptional<z.ZodInt>;
8131
8785
  end_wage_cents: z.ZodOptional<z.ZodInt>;
8132
- 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<{
8133
8795
  id: z.ZodOptional<z.ZodString>;
8134
- period_number: z.ZodInt;
8796
+ period_number: z.ZodOptional<z.ZodInt>;
8135
8797
  min_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
8136
8798
  max_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
8137
8799
  num_competencies: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
8138
8800
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8139
- wage_percent: z.ZodNumber;
8140
- wage_cents: z.ZodInt;
8801
+ wage_percent: z.ZodOptional<z.ZodNumber>;
8802
+ wage_cents: z.ZodOptional<z.ZodInt>;
8141
8803
  _destroy: z.ZodOptional<z.ZodBoolean>;
8142
- }, z.core.$strip>>>;
8804
+ }, z.core.$strip>>>>;
8143
8805
  }, z.core.$strip>;
8144
8806
  export declare const zUpdateWageSchedulePath: z.ZodObject<{
8145
8807
  occupation_id: z.ZodString;
@@ -8320,14 +8982,14 @@ export declare const zGetAttributeResponse: z.ZodObject<{
8320
8982
  updated_at: z.ZodISODateTime;
8321
8983
  }, z.core.$strip>;
8322
8984
  export declare const zUpdateAttributeBody: z.ZodObject<{
8323
- name: z.ZodString;
8324
- data_type: z.ZodEnum<{
8985
+ name: z.ZodOptional<z.ZodString>;
8986
+ data_type: z.ZodOptional<z.ZodEnum<{
8325
8987
  number: "number";
8326
8988
  boolean: "boolean";
8327
8989
  text: "text";
8328
8990
  date: "date";
8329
8991
  select: "select";
8330
- }>;
8992
+ }>>;
8331
8993
  options: z.ZodOptional<z.ZodArray<z.ZodObject<{
8332
8994
  id: z.ZodOptional<z.ZodString>;
8333
8995
  value: z.ZodOptional<z.ZodString>;
@@ -8494,7 +9156,7 @@ export declare const zGetCategoryResponse: z.ZodObject<{
8494
9156
  updated_at: z.ZodISODateTime;
8495
9157
  }, z.core.$strip>;
8496
9158
  export declare const zUpdateCategoryBody: z.ZodObject<{
8497
- name: z.ZodString;
9159
+ name: z.ZodOptional<z.ZodString>;
8498
9160
  parent_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8499
9161
  category_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
8500
9162
  id: z.ZodOptional<z.ZodString>;
@@ -11584,7 +12246,7 @@ export declare const zGetVendorResponse: z.ZodObject<{
11584
12246
  updated_at: z.ZodISODateTime;
11585
12247
  }, z.core.$strip>;
11586
12248
  export declare const zUpdateVendorBody: z.ZodObject<{
11587
- name: z.ZodString;
12249
+ name: z.ZodOptional<z.ZodString>;
11588
12250
  logo_signed_id: z.ZodOptional<z.ZodString>;
11589
12251
  }, z.core.$strip>;
11590
12252
  export declare const zUpdateVendorPath: z.ZodObject<{
@@ -12087,7 +12749,7 @@ export declare const zGetPackageResponse: z.ZodObject<{
12087
12749
  updated_at: z.ZodISODateTime;
12088
12750
  }, z.core.$strip>;
12089
12751
  export declare const zUpdatePackageBody: z.ZodObject<{
12090
- name: z.ZodString;
12752
+ name: z.ZodOptional<z.ZodString>;
12091
12753
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12092
12754
  certification_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
12093
12755
  performed_by_user_id: z.ZodString;
@@ -12357,8 +13019,8 @@ export declare const zGetCertificationResponse: z.ZodObject<{
12357
13019
  updated_at: z.ZodISODateTime;
12358
13020
  }, z.core.$strip>;
12359
13021
  export declare const zUpdateCertificationBody: z.ZodObject<{
12360
- company_id: z.ZodString;
12361
- name: z.ZodString;
13022
+ company_id: z.ZodOptional<z.ZodString>;
13023
+ name: z.ZodOptional<z.ZodString>;
12362
13024
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12363
13025
  verified: z.ZodOptional<z.ZodBoolean>;
12364
13026
  duration: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -12430,7 +13092,7 @@ export declare const zCreateDepartmentResponse: z.ZodObject<{
12430
13092
  updated_at: z.ZodISODateTime;
12431
13093
  }, z.core.$strip>;
12432
13094
  export declare const zUpdateDepartmentBody: z.ZodObject<{
12433
- name: z.ZodString;
13095
+ name: z.ZodOptional<z.ZodString>;
12434
13096
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12435
13097
  }, z.core.$strip>;
12436
13098
  export declare const zUpdateDepartmentPath: z.ZodObject<{
@@ -13492,7 +14154,7 @@ export declare const zGetGroupResponse: z.ZodObject<{
13492
14154
  updated_at: z.ZodISODateTime;
13493
14155
  }, z.core.$strip>;
13494
14156
  export declare const zUpdateGroupBody: z.ZodObject<{
13495
- name: z.ZodString;
14157
+ name: z.ZodOptional<z.ZodString>;
13496
14158
  }, z.core.$strip>;
13497
14159
  export declare const zUpdateGroupPath: z.ZodObject<{
13498
14160
  id: z.ZodString;
@@ -15402,6 +16064,7 @@ export declare const zListSiteCheckInsResponse: z.ZodObject<{
15402
16064
  source: z.ZodEnum<{
15403
16065
  manual: "manual";
15404
16066
  auto: "auto";
16067
+ public_form: "public_form";
15405
16068
  }>;
15406
16069
  nerc_check_in: z.ZodBoolean;
15407
16070
  cip_exceptional: z.ZodBoolean;
@@ -15437,6 +16100,7 @@ export declare const zGetSiteCheckInResponse: z.ZodObject<{
15437
16100
  source: z.ZodEnum<{
15438
16101
  manual: "manual";
15439
16102
  auto: "auto";
16103
+ public_form: "public_form";
15440
16104
  }>;
15441
16105
  nerc_check_in: z.ZodBoolean;
15442
16106
  cip_exceptional: z.ZodBoolean;
@@ -16896,17 +17560,17 @@ export declare const zGetFringeBenefitPlanResponse: z.ZodObject<{
16896
17560
  updated_at: z.ZodISODateTime;
16897
17561
  }, z.core.$strip>;
16898
17562
  export declare const zUpdateFringeBenefitPlanBody: z.ZodObject<{
16899
- timekeeping_pay_period_config_id: z.ZodString;
16900
- name: z.ZodString;
16901
- 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>;
16902
17566
  funded: z.ZodOptional<z.ZodBoolean>;
16903
- benefit_category: z.ZodEnum<{
17567
+ benefit_category: z.ZodOptional<z.ZodEnum<{
16904
17568
  employer_combined_savings: "employer_combined_savings";
16905
17569
  employer_combined_health: "employer_combined_health";
16906
17570
  employer_combined_holiday_pto: "employer_combined_holiday_pto";
16907
17571
  employer_training: "employer_training";
16908
17572
  employer_other_contributions: "employer_other_contributions";
16909
- }>;
17573
+ }>>;
16910
17574
  il_jointly_managed: z.ZodOptional<z.ZodBoolean>;
16911
17575
  il_fund_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16912
17576
  il_fund_address1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -17194,18 +17858,17 @@ export declare const zGetPayrollRunResponse: z.ZodObject<{
17194
17858
  updated_at: z.ZodISODateTime;
17195
17859
  }, z.core.$strip>;
17196
17860
  export declare const zUpdatePayrollRunBody: z.ZodObject<{
17197
- company_id: z.ZodString;
17198
17861
  timekeeping_pay_period_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17199
17862
  payrolls_credential_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17200
- run_type: z.ZodEnum<{
17863
+ run_type: z.ZodOptional<z.ZodEnum<{
17201
17864
  CORRECTION: "CORRECTION";
17202
17865
  ON_CYCLE: "ON_CYCLE";
17203
17866
  OFF_CYCLE: "OFF_CYCLE";
17204
17867
  RECONCILIATION: "RECONCILIATION";
17205
17868
  SIGN_ON_BONUS: "SIGN_ON_BONUS";
17206
17869
  TERMINATION: "TERMINATION";
17207
- }>;
17208
- run_date: z.ZodISODate;
17870
+ }>>;
17871
+ run_date: z.ZodOptional<z.ZodISODate>;
17209
17872
  external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17210
17873
  }, z.core.$strip>;
17211
17874
  export declare const zUpdatePayrollRunPath: z.ZodObject<{
@@ -17401,13 +18064,13 @@ export declare const zGetPaystubLineItemResponse: z.ZodObject<{
17401
18064
  updated_at: z.ZodISODateTime;
17402
18065
  }, z.core.$strip>;
17403
18066
  export declare const zUpdatePaystubLineItemBody: z.ZodObject<{
17404
- payrolls_paystub_id: z.ZodString;
17405
- amount_cents: z.ZodString;
17406
- contributor: z.ZodEnum<{
18067
+ payrolls_paystub_id: z.ZodOptional<z.ZodString>;
18068
+ amount_cents: z.ZodOptional<z.ZodString>;
18069
+ contributor: z.ZodOptional<z.ZodEnum<{
17407
18070
  employee: "employee";
17408
18071
  employer: "employer";
17409
- }>;
17410
- payrolls_external_map_id: z.ZodString;
18072
+ }>>;
18073
+ payrolls_external_map_id: z.ZodOptional<z.ZodString>;
17411
18074
  }, z.core.$strip>;
17412
18075
  export declare const zUpdatePaystubLineItemPath: z.ZodObject<{
17413
18076
  id: z.ZodString;
@@ -17534,8 +18197,8 @@ export declare const zGetPaystubResponse: z.ZodObject<{
17534
18197
  updated_at: z.ZodISODateTime;
17535
18198
  }, z.core.$strip>;
17536
18199
  export declare const zUpdatePaystubBody: z.ZodObject<{
17537
- payrolls_payroll_run_id: z.ZodString;
17538
- user_id: z.ZodString;
18200
+ payrolls_payroll_run_id: z.ZodOptional<z.ZodString>;
18201
+ user_id: z.ZodOptional<z.ZodString>;
17539
18202
  timekeeping_time_card_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17540
18203
  external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17541
18204
  check_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -17556,6 +18219,316 @@ export declare const zUpdatePaystubResponse: z.ZodObject<{
17556
18219
  created_at: z.ZodISODateTime;
17557
18220
  updated_at: z.ZodISODateTime;
17558
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<{
18489
+ id: z.ZodString;
18490
+ }, z.core.$strip>;
18491
+ export declare const zGetEmploymentQuery: z.ZodObject<{
18492
+ 'as_of[valid]': z.ZodOptional<z.ZodISODateTime>;
18493
+ }, z.core.$strip>;
18494
+ /**
18495
+ * Success
18496
+ */
18497
+ export declare const zGetEmploymentResponse: z.ZodObject<{
18498
+ id: z.ZodString;
18499
+ user_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>;
18529
+ created_at: z.ZodISODateTime;
18530
+ updated_at: z.ZodISODateTime;
18531
+ }, z.core.$strip>;
17559
18532
  export declare const zListPerDiemsQuery: z.ZodObject<{
17560
18533
  'filter[default]': z.ZodOptional<z.ZodBoolean>;
17561
18534
  'filter[taxable]': z.ZodOptional<z.ZodBoolean>;
@@ -17673,10 +18646,10 @@ export declare const zGetPerDiemResponse: z.ZodObject<{
17673
18646
  updated_at: z.ZodISODateTime;
17674
18647
  }, z.core.$strip>;
17675
18648
  export declare const zUpdatePerDiemBody: z.ZodObject<{
17676
- name: z.ZodString;
18649
+ name: z.ZodOptional<z.ZodString>;
17677
18650
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17678
- rate_cents: z.ZodString;
17679
- currency: z.ZodString;
18651
+ rate_cents: z.ZodOptional<z.ZodString>;
18652
+ currency: z.ZodOptional<z.ZodString>;
17680
18653
  taxable: z.ZodOptional<z.ZodBoolean>;
17681
18654
  default: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
17682
18655
  active: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
@@ -17776,8 +18749,8 @@ export declare const zGetPositionFunctionResponse: z.ZodObject<{
17776
18749
  updated_at: z.ZodISODateTime;
17777
18750
  }, z.core.$strip>;
17778
18751
  export declare const zUpdatePositionFunctionBody: z.ZodObject<{
17779
- value: z.ZodString;
17780
- description: z.ZodString;
18752
+ value: z.ZodOptional<z.ZodString>;
18753
+ description: z.ZodOptional<z.ZodString>;
17781
18754
  }, z.core.$strip>;
17782
18755
  export declare const zUpdatePositionFunctionPath: z.ZodObject<{
17783
18756
  id: z.ZodString;
@@ -18328,7 +19301,6 @@ export declare const zUpdateProjectResponse: z.ZodObject<{
18328
19301
  updated_at: z.ZodISODateTime;
18329
19302
  }, z.core.$strip>;
18330
19303
  export declare const zCreateCompanyUserDetailBody: z.ZodObject<{
18331
- company_id: z.ZodString;
18332
19304
  user_id: z.ZodString;
18333
19305
  address1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18334
19306
  address2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -18520,8 +19492,6 @@ export declare const zCreateCompanyUserDetailResponse: z.ZodObject<{
18520
19492
  }>>>;
18521
19493
  }, z.core.$strip>;
18522
19494
  export declare const zUpdateCompanyUserDetailBody: z.ZodObject<{
18523
- company_id: z.ZodString;
18524
- user_id: z.ZodString;
18525
19495
  address1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18526
19496
  address2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18527
19497
  city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -19372,7 +20342,7 @@ export declare const zListTimeCardPerDiemsResponse: z.ZodObject<{
19372
20342
  export declare const zCreateTimeCardPerDiemBody: z.ZodObject<{
19373
20343
  date: z.ZodISODate;
19374
20344
  approver_user_id: z.ZodString;
19375
- per_diem_id: z.ZodString;
20345
+ per_diem_id: z.ZodOptional<z.ZodString>;
19376
20346
  }, z.core.$strip>;
19377
20347
  export declare const zCreateTimeCardPerDiemPath: z.ZodObject<{
19378
20348
  time_card_id: z.ZodString;
@@ -19412,9 +20382,9 @@ export declare const zDeleteTimeCardPerDiemResponse: z.ZodObject<{
19412
20382
  updated_at: z.ZodISODateTime;
19413
20383
  }, z.core.$strip>;
19414
20384
  export declare const zUpdateTimeCardPerDiemBody: z.ZodObject<{
19415
- date: z.ZodISODate;
19416
- approver_user_id: z.ZodString;
19417
- 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>;
19418
20388
  }, z.core.$strip>;
19419
20389
  export declare const zUpdateTimeCardPerDiemPath: z.ZodObject<{
19420
20390
  time_card_id: z.ZodString;
@@ -20537,7 +21507,7 @@ export declare const zGetTimecodeResponse: z.ZodObject<{
20537
21507
  export declare const zUpdateTimecodeBody: z.ZodObject<{
20538
21508
  effective_from: z.ZodOptional<z.ZodISODateTime>;
20539
21509
  effective_to: z.ZodOptional<z.ZodISODateTime>;
20540
- name: z.ZodString;
21510
+ name: z.ZodOptional<z.ZodString>;
20541
21511
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20542
21512
  description_is_required: z.ZodOptional<z.ZodBoolean>;
20543
21513
  billable: z.ZodOptional<z.ZodBoolean>;
@@ -21148,13 +22118,13 @@ export declare const zDeleteHolidayResponse: z.ZodObject<{
21148
22118
  updated_at: z.ZodISODateTime;
21149
22119
  }, z.core.$strip>;
21150
22120
  export declare const zUpdateHolidayBody: z.ZodObject<{
21151
- name: z.ZodString;
22121
+ name: z.ZodOptional<z.ZodString>;
21152
22122
  date: z.ZodOptional<z.ZodISODate>;
21153
- holiday_type: z.ZodEnum<{
22123
+ holiday_type: z.ZodOptional<z.ZodEnum<{
21154
22124
  fixed: "fixed";
21155
22125
  floating: "floating";
21156
- }>;
21157
- month: z.ZodInt;
22126
+ }>>;
22127
+ month: z.ZodOptional<z.ZodInt>;
21158
22128
  mday: z.ZodOptional<z.ZodInt>;
21159
22129
  wday: z.ZodOptional<z.ZodInt>;
21160
22130
  week: z.ZodOptional<z.ZodInt>;