@dsptch-work/api-client 0.18.0 → 0.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +66 -0
- package/dist/gen/index.d.ts +2 -2
- package/dist/gen/index.js +1 -1
- package/dist/gen/sdk.gen.d.ts +99 -15
- package/dist/gen/sdk.gen.js +144 -14
- package/dist/gen/types.gen.d.ts +2044 -262
- package/dist/gen/zod.gen.d.ts +1490 -159
- package/dist/gen/zod.gen.js +950 -79
- package/package.json +1 -1
package/dist/gen/zod.gen.d.ts
CHANGED
|
@@ -8,6 +8,10 @@ export declare const zProblem: z.ZodObject<{
|
|
|
8
8
|
status: z.ZodInt;
|
|
9
9
|
detail: z.ZodString;
|
|
10
10
|
instance: z.ZodOptional<z.ZodURL>;
|
|
11
|
+
errors: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
12
|
+
detail: z.ZodString;
|
|
13
|
+
pointer: z.ZodOptional<z.ZodString>;
|
|
14
|
+
}, z.core.$strip>>>;
|
|
11
15
|
}, z.core.$strip>;
|
|
12
16
|
/**
|
|
13
17
|
* Error types
|
|
@@ -587,6 +591,26 @@ export declare const zApprenticeshipApprenticeResponseObject: z.ZodObject<{
|
|
|
587
591
|
created_at: z.ZodISODateTime;
|
|
588
592
|
updated_at: z.ZodISODateTime;
|
|
589
593
|
}, z.core.$strip>;
|
|
594
|
+
export declare const zApprenticeshipAllocationResponseObject: z.ZodObject<{
|
|
595
|
+
id: z.ZodString;
|
|
596
|
+
apprenticeship_apprentice_id: z.ZodString;
|
|
597
|
+
apprenticeship_work_process_category_id: z.ZodNullable<z.ZodString>;
|
|
598
|
+
allocated_by_user_id: z.ZodString;
|
|
599
|
+
timekeeping_time_card_id: z.ZodNullable<z.ZodString>;
|
|
600
|
+
minutes: z.ZodInt;
|
|
601
|
+
description: z.ZodNullable<z.ZodString>;
|
|
602
|
+
allocated_at: z.ZodISODateTime;
|
|
603
|
+
cumulative_minutes: z.ZodInt;
|
|
604
|
+
apprenticeship_wage_schedule_period_id: z.ZodString;
|
|
605
|
+
created_at: z.ZodISODateTime;
|
|
606
|
+
updated_at: z.ZodISODateTime;
|
|
607
|
+
}, z.core.$strip>;
|
|
608
|
+
/**
|
|
609
|
+
* 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.
|
|
610
|
+
*/
|
|
611
|
+
export declare const zApprenticeshipAllocationUpdateParameters: z.ZodObject<{
|
|
612
|
+
allocated_at: z.ZodOptional<z.ZodISODateTime>;
|
|
613
|
+
}, z.core.$strip>;
|
|
590
614
|
/**
|
|
591
615
|
* 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
616
|
*/
|
|
@@ -610,7 +634,7 @@ export declare const zApprenticeshipApprenticeParameters: z.ZodObject<{
|
|
|
610
634
|
operative_end_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
|
|
611
635
|
}, z.core.$strip>;
|
|
612
636
|
/**
|
|
613
|
-
* Create
|
|
637
|
+
* Create an apprenticeship program sponsored by your company; the sponsor is always your company and is never taken from the request body.
|
|
614
638
|
*/
|
|
615
639
|
export declare const zApprenticeshipProgramParameters: z.ZodObject<{
|
|
616
640
|
program_number: z.ZodString;
|
|
@@ -623,7 +647,20 @@ export declare const zApprenticeshipProgramParameters: z.ZodObject<{
|
|
|
623
647
|
}>>>;
|
|
624
648
|
}, z.core.$strip>;
|
|
625
649
|
/**
|
|
626
|
-
*
|
|
650
|
+
* Update an apprenticeship program sponsored by your company. Send only the fields to change; the sponsor is fixed to your company.
|
|
651
|
+
*/
|
|
652
|
+
export declare const zApprenticeshipProgramUpdateParameters: z.ZodObject<{
|
|
653
|
+
program_number: z.ZodOptional<z.ZodString>;
|
|
654
|
+
program_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
655
|
+
sponsor_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
656
|
+
doing_business_as: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
657
|
+
registration_agency_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
658
|
+
federal: "federal";
|
|
659
|
+
regional: "regional";
|
|
660
|
+
}>>>;
|
|
661
|
+
}, z.core.$strip>;
|
|
662
|
+
/**
|
|
663
|
+
* Create an occupation (trade) within a sponsored program; the program is taken from the URL path.
|
|
627
664
|
*/
|
|
628
665
|
export declare const zApprenticeshipOccupationParameters: z.ZodObject<{
|
|
629
666
|
rapids_code: z.ZodString;
|
|
@@ -641,14 +678,39 @@ export declare const zApprenticeshipOccupationParameters: z.ZodObject<{
|
|
|
641
678
|
num_journeyworkers: z.ZodInt;
|
|
642
679
|
}, z.core.$strip>;
|
|
643
680
|
/**
|
|
644
|
-
*
|
|
681
|
+
* Update an occupation (trade) within a sponsored program. Send only the fields to change; the program is taken from the URL path.
|
|
682
|
+
*/
|
|
683
|
+
export declare const zApprenticeshipOccupationUpdateParameters: z.ZodObject<{
|
|
684
|
+
rapids_code: z.ZodOptional<z.ZodString>;
|
|
685
|
+
occupation_type: z.ZodOptional<z.ZodEnum<{
|
|
686
|
+
time_based: "time_based";
|
|
687
|
+
competency_based: "competency_based";
|
|
688
|
+
hybrid: "hybrid";
|
|
689
|
+
}>>;
|
|
690
|
+
title: z.ZodOptional<z.ZodString>;
|
|
691
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
692
|
+
min_minutes: z.ZodOptional<z.ZodInt>;
|
|
693
|
+
max_minutes: z.ZodOptional<z.ZodInt>;
|
|
694
|
+
probation_minutes: z.ZodOptional<z.ZodInt>;
|
|
695
|
+
num_apprentices: z.ZodOptional<z.ZodInt>;
|
|
696
|
+
num_journeyworkers: z.ZodOptional<z.ZodInt>;
|
|
697
|
+
}, z.core.$strip>;
|
|
698
|
+
/**
|
|
699
|
+
* Create an authorization for an employer to employ apprentices in a program; only the program's sponsor may manage this roster.
|
|
645
700
|
*/
|
|
646
701
|
export declare const zApprenticeshipProgramEmployerParameters: z.ZodObject<{
|
|
647
702
|
company_id: z.ZodString;
|
|
648
703
|
require_timecard_allocation: z.ZodOptional<z.ZodBoolean>;
|
|
649
704
|
}, z.core.$strip>;
|
|
650
705
|
/**
|
|
651
|
-
*
|
|
706
|
+
* Update an employer authorization in a program. Send only the fields to change; only the program's sponsor may manage this roster.
|
|
707
|
+
*/
|
|
708
|
+
export declare const zApprenticeshipProgramEmployerUpdateParameters: z.ZodObject<{
|
|
709
|
+
company_id: z.ZodOptional<z.ZodString>;
|
|
710
|
+
require_timecard_allocation: z.ZodOptional<z.ZodBoolean>;
|
|
711
|
+
}, z.core.$strip>;
|
|
712
|
+
/**
|
|
713
|
+
* Create a period on a wage schedule; the wage schedule is taken from the URL path. wage_cents is sent as integer cents.
|
|
652
714
|
*/
|
|
653
715
|
export declare const zApprenticeshipWageSchedulePeriodParameters: z.ZodObject<{
|
|
654
716
|
period_number: z.ZodInt;
|
|
@@ -660,7 +722,19 @@ export declare const zApprenticeshipWageSchedulePeriodParameters: z.ZodObject<{
|
|
|
660
722
|
wage_cents: z.ZodInt;
|
|
661
723
|
}, z.core.$strip>;
|
|
662
724
|
/**
|
|
663
|
-
*
|
|
725
|
+
* 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.
|
|
726
|
+
*/
|
|
727
|
+
export declare const zApprenticeshipWageSchedulePeriodUpdateParameters: z.ZodObject<{
|
|
728
|
+
period_number: z.ZodOptional<z.ZodInt>;
|
|
729
|
+
min_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
730
|
+
max_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
731
|
+
num_competencies: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
732
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
733
|
+
wage_percent: z.ZodOptional<z.ZodNumber>;
|
|
734
|
+
wage_cents: z.ZodOptional<z.ZodInt>;
|
|
735
|
+
}, z.core.$strip>;
|
|
736
|
+
/**
|
|
737
|
+
* 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
738
|
*/
|
|
665
739
|
export declare const zApprenticeshipWageScheduleParameters: z.ZodObject<{
|
|
666
740
|
name: z.ZodString;
|
|
@@ -703,6 +777,58 @@ export declare const zApprenticeshipWageScheduleParameters: z.ZodObject<{
|
|
|
703
777
|
_destroy: z.ZodOptional<z.ZodBoolean>;
|
|
704
778
|
}, z.core.$strip>>>;
|
|
705
779
|
}, z.core.$strip>;
|
|
780
|
+
/**
|
|
781
|
+
* 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.
|
|
782
|
+
*/
|
|
783
|
+
export declare const zApprenticeshipWageScheduleUpdateParameters: z.ZodObject<{
|
|
784
|
+
name: z.ZodOptional<z.ZodString>;
|
|
785
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
786
|
+
wage_unit: z.ZodOptional<z.ZodEnum<{
|
|
787
|
+
hourly: "hourly";
|
|
788
|
+
weekly: "weekly";
|
|
789
|
+
monthly: "monthly";
|
|
790
|
+
quarterly: "quarterly";
|
|
791
|
+
semi_annually: "semi_annually";
|
|
792
|
+
annually: "annually";
|
|
793
|
+
}>>;
|
|
794
|
+
journeyworker_wage_unit: z.ZodOptional<z.ZodEnum<{
|
|
795
|
+
hourly: "hourly";
|
|
796
|
+
weekly: "weekly";
|
|
797
|
+
monthly: "monthly";
|
|
798
|
+
quarterly: "quarterly";
|
|
799
|
+
semi_annually: "semi_annually";
|
|
800
|
+
annually: "annually";
|
|
801
|
+
}>>;
|
|
802
|
+
period_unit: z.ZodOptional<z.ZodEnum<{
|
|
803
|
+
hours: "hours";
|
|
804
|
+
weeks: "weeks";
|
|
805
|
+
months: "months";
|
|
806
|
+
quarter: "quarter";
|
|
807
|
+
semi_annual: "semi_annual";
|
|
808
|
+
year: "year";
|
|
809
|
+
}>>;
|
|
810
|
+
journeyworker_wage_cents: z.ZodOptional<z.ZodInt>;
|
|
811
|
+
end_wage_cents: z.ZodOptional<z.ZodInt>;
|
|
812
|
+
periods_attributes: z.ZodOptional<z.ZodArray<z.ZodIntersection<z.ZodUnion<readonly [z.ZodUnknown, z.ZodUnion<readonly [z.ZodObject<{
|
|
813
|
+
min_minutes: z.ZodInt;
|
|
814
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
815
|
+
max_minutes: z.ZodInt;
|
|
816
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
817
|
+
num_competencies: z.ZodInt;
|
|
818
|
+
}, z.core.$strip>]>, z.ZodObject<{
|
|
819
|
+
_destroy: z.ZodLiteral<true>;
|
|
820
|
+
}, z.core.$strip>]>, z.ZodObject<{
|
|
821
|
+
id: z.ZodOptional<z.ZodString>;
|
|
822
|
+
period_number: z.ZodOptional<z.ZodInt>;
|
|
823
|
+
min_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
824
|
+
max_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
825
|
+
num_competencies: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
826
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
827
|
+
wage_percent: z.ZodOptional<z.ZodNumber>;
|
|
828
|
+
wage_cents: z.ZodOptional<z.ZodInt>;
|
|
829
|
+
_destroy: z.ZodOptional<z.ZodBoolean>;
|
|
830
|
+
}, z.core.$strip>>>>;
|
|
831
|
+
}, z.core.$strip>;
|
|
706
832
|
/**
|
|
707
833
|
* 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
834
|
*/
|
|
@@ -736,6 +862,154 @@ export declare const zTimecodeResponseObject: z.ZodObject<{
|
|
|
736
862
|
created_at: z.ZodISODateTime;
|
|
737
863
|
updated_at: z.ZodISODateTime;
|
|
738
864
|
}, z.core.$strip>;
|
|
865
|
+
/**
|
|
866
|
+
* 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].
|
|
867
|
+
*/
|
|
868
|
+
export declare const zPeopleEmploymentResponseObject: z.ZodObject<{
|
|
869
|
+
id: z.ZodString;
|
|
870
|
+
user_id: z.ZodString;
|
|
871
|
+
company_id: z.ZodString;
|
|
872
|
+
type: z.ZodEnum<{
|
|
873
|
+
EMPLOYEE: "EMPLOYEE";
|
|
874
|
+
CONTRACTOR: "CONTRACTOR";
|
|
875
|
+
}>;
|
|
876
|
+
title: z.ZodNullable<z.ZodString>;
|
|
877
|
+
compensation_type: z.ZodEnum<{
|
|
878
|
+
hourly: "hourly";
|
|
879
|
+
salary: "salary";
|
|
880
|
+
}>;
|
|
881
|
+
payroll_id: z.ZodNullable<z.ZodString>;
|
|
882
|
+
manager_user_id: z.ZodNullable<z.ZodString>;
|
|
883
|
+
companies_department_id: z.ZodNullable<z.ZodString>;
|
|
884
|
+
enrolled_in_t_and_a: z.ZodBoolean;
|
|
885
|
+
overtime_eligible: z.ZodNullable<z.ZodBoolean>;
|
|
886
|
+
overtime_package_id: z.ZodNullable<z.ZodString>;
|
|
887
|
+
pay_rates_rule_package_id: z.ZodNullable<z.ZodString>;
|
|
888
|
+
pay_rates_package_id: z.ZodNullable<z.ZodString>;
|
|
889
|
+
worked_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
890
|
+
pto_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
891
|
+
holiday_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
892
|
+
training_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
893
|
+
hourly_rate_cents: z.ZodNullable<z.ZodString>;
|
|
894
|
+
training_annual_amount_cents: z.ZodNullable<z.ZodString>;
|
|
895
|
+
employer_combined_health_amount_cents: z.ZodNullable<z.ZodString>;
|
|
896
|
+
employer_combined_savings_cents: z.ZodNullable<z.ZodString>;
|
|
897
|
+
currency: z.ZodString;
|
|
898
|
+
valid_from: z.ZodNullable<z.ZodISODateTime>;
|
|
899
|
+
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
900
|
+
created_at: z.ZodISODateTime;
|
|
901
|
+
updated_at: z.ZodISODateTime;
|
|
902
|
+
}, z.core.$strip>;
|
|
903
|
+
export declare const zPeopleEmploymentHistoryCorrectionObject: z.ZodObject<{
|
|
904
|
+
people_employment_id: z.ZodString;
|
|
905
|
+
user_id: z.ZodString;
|
|
906
|
+
company_id: z.ZodString;
|
|
907
|
+
type: z.ZodEnum<{
|
|
908
|
+
EMPLOYEE: "EMPLOYEE";
|
|
909
|
+
CONTRACTOR: "CONTRACTOR";
|
|
910
|
+
}>;
|
|
911
|
+
title: z.ZodNullable<z.ZodString>;
|
|
912
|
+
compensation_type: z.ZodEnum<{
|
|
913
|
+
hourly: "hourly";
|
|
914
|
+
salary: "salary";
|
|
915
|
+
}>;
|
|
916
|
+
payroll_id: z.ZodNullable<z.ZodString>;
|
|
917
|
+
manager_user_id: z.ZodNullable<z.ZodString>;
|
|
918
|
+
companies_department_id: z.ZodNullable<z.ZodString>;
|
|
919
|
+
enrolled_in_t_and_a: z.ZodBoolean;
|
|
920
|
+
overtime_eligible: z.ZodNullable<z.ZodBoolean>;
|
|
921
|
+
overtime_package_id: z.ZodNullable<z.ZodString>;
|
|
922
|
+
pay_rates_rule_package_id: z.ZodNullable<z.ZodString>;
|
|
923
|
+
pay_rates_package_id: z.ZodNullable<z.ZodString>;
|
|
924
|
+
worked_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
925
|
+
pto_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
926
|
+
holiday_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
927
|
+
training_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
928
|
+
hourly_rate_cents: z.ZodNullable<z.ZodString>;
|
|
929
|
+
training_annual_amount_cents: z.ZodNullable<z.ZodString>;
|
|
930
|
+
employer_combined_health_amount_cents: z.ZodNullable<z.ZodString>;
|
|
931
|
+
employer_combined_savings_cents: z.ZodNullable<z.ZodString>;
|
|
932
|
+
currency: z.ZodString;
|
|
933
|
+
valid_from: z.ZodNullable<z.ZodISODateTime>;
|
|
934
|
+
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
935
|
+
created_at: z.ZodISODateTime;
|
|
936
|
+
updated_at: z.ZodISODateTime;
|
|
937
|
+
}, z.core.$strip>;
|
|
938
|
+
export declare const zPeopleEmploymentHistoryVersionObject: z.ZodObject<{
|
|
939
|
+
people_employment_id: z.ZodString;
|
|
940
|
+
user_id: z.ZodString;
|
|
941
|
+
company_id: z.ZodString;
|
|
942
|
+
type: z.ZodEnum<{
|
|
943
|
+
EMPLOYEE: "EMPLOYEE";
|
|
944
|
+
CONTRACTOR: "CONTRACTOR";
|
|
945
|
+
}>;
|
|
946
|
+
title: z.ZodNullable<z.ZodString>;
|
|
947
|
+
compensation_type: z.ZodEnum<{
|
|
948
|
+
hourly: "hourly";
|
|
949
|
+
salary: "salary";
|
|
950
|
+
}>;
|
|
951
|
+
payroll_id: z.ZodNullable<z.ZodString>;
|
|
952
|
+
manager_user_id: z.ZodNullable<z.ZodString>;
|
|
953
|
+
companies_department_id: z.ZodNullable<z.ZodString>;
|
|
954
|
+
enrolled_in_t_and_a: z.ZodBoolean;
|
|
955
|
+
overtime_eligible: z.ZodNullable<z.ZodBoolean>;
|
|
956
|
+
overtime_package_id: z.ZodNullable<z.ZodString>;
|
|
957
|
+
pay_rates_rule_package_id: z.ZodNullable<z.ZodString>;
|
|
958
|
+
pay_rates_package_id: z.ZodNullable<z.ZodString>;
|
|
959
|
+
worked_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
960
|
+
pto_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
961
|
+
holiday_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
962
|
+
training_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
963
|
+
hourly_rate_cents: z.ZodNullable<z.ZodString>;
|
|
964
|
+
training_annual_amount_cents: z.ZodNullable<z.ZodString>;
|
|
965
|
+
employer_combined_health_amount_cents: z.ZodNullable<z.ZodString>;
|
|
966
|
+
employer_combined_savings_cents: z.ZodNullable<z.ZodString>;
|
|
967
|
+
currency: z.ZodString;
|
|
968
|
+
valid_from: z.ZodNullable<z.ZodISODateTime>;
|
|
969
|
+
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
970
|
+
created_at: z.ZodISODateTime;
|
|
971
|
+
updated_at: z.ZodISODateTime;
|
|
972
|
+
version_status: z.ZodEnum<{
|
|
973
|
+
scheduled: "scheduled";
|
|
974
|
+
current: "current";
|
|
975
|
+
historical: "historical";
|
|
976
|
+
}>;
|
|
977
|
+
corrections: z.ZodArray<z.ZodObject<{
|
|
978
|
+
people_employment_id: z.ZodString;
|
|
979
|
+
user_id: z.ZodString;
|
|
980
|
+
company_id: z.ZodString;
|
|
981
|
+
type: z.ZodEnum<{
|
|
982
|
+
EMPLOYEE: "EMPLOYEE";
|
|
983
|
+
CONTRACTOR: "CONTRACTOR";
|
|
984
|
+
}>;
|
|
985
|
+
title: z.ZodNullable<z.ZodString>;
|
|
986
|
+
compensation_type: z.ZodEnum<{
|
|
987
|
+
hourly: "hourly";
|
|
988
|
+
salary: "salary";
|
|
989
|
+
}>;
|
|
990
|
+
payroll_id: z.ZodNullable<z.ZodString>;
|
|
991
|
+
manager_user_id: z.ZodNullable<z.ZodString>;
|
|
992
|
+
companies_department_id: z.ZodNullable<z.ZodString>;
|
|
993
|
+
enrolled_in_t_and_a: z.ZodBoolean;
|
|
994
|
+
overtime_eligible: z.ZodNullable<z.ZodBoolean>;
|
|
995
|
+
overtime_package_id: z.ZodNullable<z.ZodString>;
|
|
996
|
+
pay_rates_rule_package_id: z.ZodNullable<z.ZodString>;
|
|
997
|
+
pay_rates_package_id: z.ZodNullable<z.ZodString>;
|
|
998
|
+
worked_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
999
|
+
pto_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
1000
|
+
holiday_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
1001
|
+
training_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
1002
|
+
hourly_rate_cents: z.ZodNullable<z.ZodString>;
|
|
1003
|
+
training_annual_amount_cents: z.ZodNullable<z.ZodString>;
|
|
1004
|
+
employer_combined_health_amount_cents: z.ZodNullable<z.ZodString>;
|
|
1005
|
+
employer_combined_savings_cents: z.ZodNullable<z.ZodString>;
|
|
1006
|
+
currency: z.ZodString;
|
|
1007
|
+
valid_from: z.ZodNullable<z.ZodISODateTime>;
|
|
1008
|
+
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
1009
|
+
created_at: z.ZodISODateTime;
|
|
1010
|
+
updated_at: z.ZodISODateTime;
|
|
1011
|
+
}, z.core.$strip>>;
|
|
1012
|
+
}, z.core.$strip>;
|
|
739
1013
|
export declare const zTimecodeHistoryCorrectionObject: z.ZodObject<{
|
|
740
1014
|
timekeeping_timecode_id: z.ZodString;
|
|
741
1015
|
name: z.ZodString;
|
|
@@ -857,10 +1131,13 @@ export declare const zTimecodeParameters: z.ZodObject<{
|
|
|
857
1131
|
}>>;
|
|
858
1132
|
effective_date: z.ZodOptional<z.ZodISODateTime>;
|
|
859
1133
|
}, z.core.$strip>;
|
|
1134
|
+
/**
|
|
1135
|
+
* 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.
|
|
1136
|
+
*/
|
|
860
1137
|
export declare const zTimecodeCorrectionParameters: z.ZodObject<{
|
|
861
1138
|
effective_from: z.ZodOptional<z.ZodISODateTime>;
|
|
862
1139
|
effective_to: z.ZodOptional<z.ZodISODateTime>;
|
|
863
|
-
name: z.ZodString
|
|
1140
|
+
name: z.ZodOptional<z.ZodString>;
|
|
864
1141
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
865
1142
|
description_is_required: z.ZodOptional<z.ZodBoolean>;
|
|
866
1143
|
billable: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -881,6 +1158,9 @@ export declare const zTimecodeCorrectionParameters: z.ZodObject<{
|
|
|
881
1158
|
job_with_timecode: "job_with_timecode";
|
|
882
1159
|
}>>;
|
|
883
1160
|
}, z.core.$strip>;
|
|
1161
|
+
/**
|
|
1162
|
+
* 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.
|
|
1163
|
+
*/
|
|
884
1164
|
export declare const zTimecodeGenesisParameters: z.ZodObject<{
|
|
885
1165
|
effective_date: z.ZodISODateTime;
|
|
886
1166
|
}, z.core.$strip>;
|
|
@@ -934,7 +1214,7 @@ export declare const zPerDiemResponseObject: z.ZodObject<{
|
|
|
934
1214
|
updated_at: z.ZodISODateTime;
|
|
935
1215
|
}, z.core.$strip>;
|
|
936
1216
|
/**
|
|
937
|
-
*
|
|
1217
|
+
* Request body for creating a per diem. name, currency, and rate_cents are required.
|
|
938
1218
|
*/
|
|
939
1219
|
export declare const zPerDiemParameters: z.ZodObject<{
|
|
940
1220
|
name: z.ZodString;
|
|
@@ -947,6 +1227,20 @@ export declare const zPerDiemParameters: z.ZodObject<{
|
|
|
947
1227
|
work_type_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
948
1228
|
timekeeping_timecode_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
949
1229
|
}, z.core.$strip>;
|
|
1230
|
+
/**
|
|
1231
|
+
* Request body for updating a per diem. Send only the fields to change.
|
|
1232
|
+
*/
|
|
1233
|
+
export declare const zPerDiemUpdateParameters: z.ZodObject<{
|
|
1234
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1235
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1236
|
+
rate_cents: z.ZodOptional<z.ZodString>;
|
|
1237
|
+
currency: z.ZodOptional<z.ZodString>;
|
|
1238
|
+
taxable: z.ZodOptional<z.ZodBoolean>;
|
|
1239
|
+
default: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1240
|
+
active: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1241
|
+
work_type_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1242
|
+
timekeeping_timecode_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1243
|
+
}, z.core.$strip>;
|
|
950
1244
|
/**
|
|
951
1245
|
* The product's filled attribute values — one entry per attribute assigned to its category.
|
|
952
1246
|
*/
|
|
@@ -996,6 +1290,25 @@ export declare const zAssetsAttributeParameters: z.ZodObject<{
|
|
|
996
1290
|
_destroy: z.ZodOptional<z.ZodBoolean>;
|
|
997
1291
|
}, z.core.$strip>>>;
|
|
998
1292
|
}, z.core.$strip>;
|
|
1293
|
+
/**
|
|
1294
|
+
* 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.
|
|
1295
|
+
*/
|
|
1296
|
+
export declare const zAssetsAttributeUpdateParameters: z.ZodObject<{
|
|
1297
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1298
|
+
data_type: z.ZodOptional<z.ZodEnum<{
|
|
1299
|
+
number: "number";
|
|
1300
|
+
boolean: "boolean";
|
|
1301
|
+
text: "text";
|
|
1302
|
+
date: "date";
|
|
1303
|
+
select: "select";
|
|
1304
|
+
}>>;
|
|
1305
|
+
options: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1306
|
+
id: z.ZodOptional<z.ZodString>;
|
|
1307
|
+
value: z.ZodOptional<z.ZodString>;
|
|
1308
|
+
position: z.ZodOptional<z.ZodInt>;
|
|
1309
|
+
_destroy: z.ZodOptional<z.ZodBoolean>;
|
|
1310
|
+
}, z.core.$strip>>>;
|
|
1311
|
+
}, z.core.$strip>;
|
|
999
1312
|
/**
|
|
1000
1313
|
* 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
1314
|
*/
|
|
@@ -1036,6 +1349,24 @@ export declare const zAssetsCategoryParameters: z.ZodObject<{
|
|
|
1036
1349
|
_destroy: z.ZodOptional<z.ZodBoolean>;
|
|
1037
1350
|
}, z.core.$strip>>>;
|
|
1038
1351
|
}, z.core.$strip>;
|
|
1352
|
+
/**
|
|
1353
|
+
* Update a category. All fields are optional — send only what changes. `category_attributes` sets this category's direct attribute assignments.
|
|
1354
|
+
*/
|
|
1355
|
+
export declare const zAssetsCategoryUpdateParameters: z.ZodObject<{
|
|
1356
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1357
|
+
parent_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1358
|
+
category_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1359
|
+
id: z.ZodOptional<z.ZodString>;
|
|
1360
|
+
assets_attribute_id: z.ZodString;
|
|
1361
|
+
fillable_on: z.ZodEnum<{
|
|
1362
|
+
product: "product";
|
|
1363
|
+
item: "item";
|
|
1364
|
+
}>;
|
|
1365
|
+
required: z.ZodOptional<z.ZodBoolean>;
|
|
1366
|
+
position: z.ZodOptional<z.ZodInt>;
|
|
1367
|
+
_destroy: z.ZodOptional<z.ZodBoolean>;
|
|
1368
|
+
}, z.core.$strip>>>;
|
|
1369
|
+
}, z.core.$strip>;
|
|
1039
1370
|
/**
|
|
1040
1371
|
* A company department that workers can be assigned to.
|
|
1041
1372
|
*/
|
|
@@ -1048,12 +1379,19 @@ export declare const zDepartmentResponseObject: z.ZodObject<{
|
|
|
1048
1379
|
updated_at: z.ZodISODateTime;
|
|
1049
1380
|
}, z.core.$strip>;
|
|
1050
1381
|
/**
|
|
1051
|
-
* Request body for creating
|
|
1382
|
+
* Request body for creating a department.
|
|
1052
1383
|
*/
|
|
1053
1384
|
export declare const zDepartmentParameters: z.ZodObject<{
|
|
1054
1385
|
name: z.ZodString;
|
|
1055
1386
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1056
1387
|
}, z.core.$strip>;
|
|
1388
|
+
/**
|
|
1389
|
+
* Request body for updating a department. Send only the fields to change.
|
|
1390
|
+
*/
|
|
1391
|
+
export declare const zDepartmentUpdateParameters: z.ZodObject<{
|
|
1392
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1393
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1394
|
+
}, z.core.$strip>;
|
|
1057
1395
|
/**
|
|
1058
1396
|
* 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
1397
|
*/
|
|
@@ -1070,12 +1408,20 @@ export declare const zTimeCardPerDiemResponseObject: z.ZodObject<{
|
|
|
1070
1408
|
updated_at: z.ZodISODateTime;
|
|
1071
1409
|
}, z.core.$strip>;
|
|
1072
1410
|
/**
|
|
1073
|
-
* Request body for recording
|
|
1411
|
+
* 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
1412
|
*/
|
|
1075
1413
|
export declare const zTimeCardPerDiemParameters: z.ZodObject<{
|
|
1076
1414
|
date: z.ZodISODate;
|
|
1077
1415
|
approver_user_id: z.ZodString;
|
|
1078
|
-
per_diem_id: z.ZodString
|
|
1416
|
+
per_diem_id: z.ZodOptional<z.ZodString>;
|
|
1417
|
+
}, z.core.$strip>;
|
|
1418
|
+
/**
|
|
1419
|
+
* 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.
|
|
1420
|
+
*/
|
|
1421
|
+
export declare const zTimeCardPerDiemUpdateParameters: z.ZodObject<{
|
|
1422
|
+
date: z.ZodOptional<z.ZodISODate>;
|
|
1423
|
+
approver_user_id: z.ZodOptional<z.ZodString>;
|
|
1424
|
+
per_diem_id: z.ZodOptional<z.ZodString>;
|
|
1079
1425
|
}, z.core.$strip>;
|
|
1080
1426
|
/**
|
|
1081
1427
|
* 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 +1637,7 @@ export declare const zPayPeriodConfigHistoryVersionObject: z.ZodObject<{
|
|
|
1291
1637
|
}, z.core.$strip>>;
|
|
1292
1638
|
}, z.core.$strip>;
|
|
1293
1639
|
/**
|
|
1294
|
-
* Create
|
|
1640
|
+
* 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
1641
|
*/
|
|
1296
1642
|
export declare const zHolidayParameters: z.ZodObject<{
|
|
1297
1643
|
name: z.ZodString;
|
|
@@ -1310,6 +1656,26 @@ export declare const zHolidayParameters: z.ZodObject<{
|
|
|
1310
1656
|
banking: z.ZodOptional<z.ZodBoolean>;
|
|
1311
1657
|
count_hours_for_overtime: z.ZodOptional<z.ZodBoolean>;
|
|
1312
1658
|
}, z.core.$strip>;
|
|
1659
|
+
/**
|
|
1660
|
+
* Update a holiday on a pay schedule. Send only the fields to change; the resulting fixed or floating definition must remain complete.
|
|
1661
|
+
*/
|
|
1662
|
+
export declare const zHolidayUpdateParameters: z.ZodObject<{
|
|
1663
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1664
|
+
date: z.ZodOptional<z.ZodISODate>;
|
|
1665
|
+
holiday_type: z.ZodOptional<z.ZodEnum<{
|
|
1666
|
+
fixed: "fixed";
|
|
1667
|
+
floating: "floating";
|
|
1668
|
+
}>>;
|
|
1669
|
+
month: z.ZodOptional<z.ZodInt>;
|
|
1670
|
+
mday: z.ZodOptional<z.ZodInt>;
|
|
1671
|
+
wday: z.ZodOptional<z.ZodInt>;
|
|
1672
|
+
week: z.ZodOptional<z.ZodInt>;
|
|
1673
|
+
year: z.ZodOptional<z.ZodInt>;
|
|
1674
|
+
move_to_weekday: z.ZodOptional<z.ZodBoolean>;
|
|
1675
|
+
overtime: z.ZodOptional<z.ZodBoolean>;
|
|
1676
|
+
banking: z.ZodOptional<z.ZodBoolean>;
|
|
1677
|
+
count_hours_for_overtime: z.ZodOptional<z.ZodBoolean>;
|
|
1678
|
+
}, z.core.$strip>;
|
|
1313
1679
|
/**
|
|
1314
1680
|
* 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
1681
|
*/
|
|
@@ -1409,10 +1775,9 @@ export declare const zPwaCompanyUserDetailsResponseObject: z.ZodObject<{
|
|
|
1409
1775
|
}>>>;
|
|
1410
1776
|
}, z.core.$strip>;
|
|
1411
1777
|
/**
|
|
1412
|
-
* Create
|
|
1778
|
+
* 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
1779
|
*/
|
|
1414
1780
|
export declare const zPwaCompanyUserDetailsParameters: z.ZodObject<{
|
|
1415
|
-
company_id: z.ZodString;
|
|
1416
1781
|
user_id: z.ZodString;
|
|
1417
1782
|
address1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1418
1783
|
address2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1505,6 +1870,101 @@ export declare const zPwaCompanyUserDetailsParameters: z.ZodObject<{
|
|
|
1505
1870
|
portuguese_or_brazilian: "portuguese_or_brazilian";
|
|
1506
1871
|
}>>>>;
|
|
1507
1872
|
}, z.core.$strip>;
|
|
1873
|
+
/**
|
|
1874
|
+
* 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.
|
|
1875
|
+
*/
|
|
1876
|
+
export declare const zPwaCompanyUserDetailsUpdateParameters: z.ZodObject<{
|
|
1877
|
+
address1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1878
|
+
address2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1879
|
+
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1880
|
+
state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1881
|
+
zip: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1882
|
+
race: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<{
|
|
1883
|
+
AFRICAN_AMERICAN: "AFRICAN_AMERICAN";
|
|
1884
|
+
ASIAN: "ASIAN";
|
|
1885
|
+
CAUCASIAN: "CAUCASIAN";
|
|
1886
|
+
NATIVE_AMERICAN: "NATIVE_AMERICAN";
|
|
1887
|
+
NOT_SPECIFIED: "NOT_SPECIFIED";
|
|
1888
|
+
OTHER: "OTHER";
|
|
1889
|
+
}>>>>;
|
|
1890
|
+
sex: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1891
|
+
female: "female";
|
|
1892
|
+
male: "male";
|
|
1893
|
+
non_binary: "non_binary";
|
|
1894
|
+
not_specified: "not_specified";
|
|
1895
|
+
}>>>;
|
|
1896
|
+
local_business_license: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1897
|
+
drivers_license_state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1898
|
+
drivers_license_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1899
|
+
ssn: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1900
|
+
veteran_status: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1901
|
+
not_specified: "not_specified";
|
|
1902
|
+
protected_veteran: "protected_veteran";
|
|
1903
|
+
not_protected_veteran: "not_protected_veteran";
|
|
1904
|
+
reserves: "reserves";
|
|
1905
|
+
guard: "guard";
|
|
1906
|
+
}>>>;
|
|
1907
|
+
hispanic_origin: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1908
|
+
not_specified: "not_specified";
|
|
1909
|
+
yes: "yes";
|
|
1910
|
+
no: "no";
|
|
1911
|
+
}>>>;
|
|
1912
|
+
ca_dir_withholding_exemptions: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
1913
|
+
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
1914
|
+
il_dol_race: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1915
|
+
white: "white";
|
|
1916
|
+
black: "black";
|
|
1917
|
+
hispanic_or_latino: "hispanic_or_latino";
|
|
1918
|
+
american_indian_or_alaska_native: "american_indian_or_alaska_native";
|
|
1919
|
+
chinese: "chinese";
|
|
1920
|
+
filipino: "filipino";
|
|
1921
|
+
asian_india: "asian_india";
|
|
1922
|
+
vietnamese: "vietnamese";
|
|
1923
|
+
korean: "korean";
|
|
1924
|
+
japanese: "japanese";
|
|
1925
|
+
native_hawaiian: "native_hawaiian";
|
|
1926
|
+
samoan: "samoan";
|
|
1927
|
+
chamorro: "chamorro";
|
|
1928
|
+
other_asian: "other_asian";
|
|
1929
|
+
other_pacific_islander: "other_pacific_islander";
|
|
1930
|
+
other: "other";
|
|
1931
|
+
}>>>;
|
|
1932
|
+
il_shines_employment_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1933
|
+
part_time: "part_time";
|
|
1934
|
+
full_time: "full_time";
|
|
1935
|
+
seasonal_temporary: "seasonal_temporary";
|
|
1936
|
+
independent_contract: "independent_contract";
|
|
1937
|
+
}>>>;
|
|
1938
|
+
il_shines_eep_qualifiers: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<{
|
|
1939
|
+
eep_program_completed: "eep_program_completed";
|
|
1940
|
+
foster_care: "foster_care";
|
|
1941
|
+
formerly_incarcerated: "formerly_incarcerated";
|
|
1942
|
+
equity_investment_eligible_community: "equity_investment_eligible_community";
|
|
1943
|
+
self_registered_or_unknown: "self_registered_or_unknown";
|
|
1944
|
+
}>>>>;
|
|
1945
|
+
il_shines_other_programs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<{
|
|
1946
|
+
other: "other";
|
|
1947
|
+
solar_training_pipeline_program: "solar_training_pipeline_program";
|
|
1948
|
+
craft_apprenticeship_program: "craft_apprenticeship_program";
|
|
1949
|
+
multi_cultural_jobs_program: "multi_cultural_jobs_program";
|
|
1950
|
+
clean_jobs_workforce_network_program: "clean_jobs_workforce_network_program";
|
|
1951
|
+
illinois_climate_works_prep_apprenticeship_program: "illinois_climate_works_prep_apprenticeship_program";
|
|
1952
|
+
returning_residents_clean_jobs_training_program: "returning_residents_clean_jobs_training_program";
|
|
1953
|
+
}>>>>;
|
|
1954
|
+
or_boli_schedule_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1955
|
+
five_eight: "five_eight";
|
|
1956
|
+
four_ten: "four_ten";
|
|
1957
|
+
}>>>;
|
|
1958
|
+
or_boli_race: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<{
|
|
1959
|
+
white: "white";
|
|
1960
|
+
hispanic_or_latino: "hispanic_or_latino";
|
|
1961
|
+
american_indian_or_alaska_native: "american_indian_or_alaska_native";
|
|
1962
|
+
asian: "asian";
|
|
1963
|
+
black_or_african_american: "black_or_african_american";
|
|
1964
|
+
native_hawaiian_or_pacific_islander: "native_hawaiian_or_pacific_islander";
|
|
1965
|
+
portuguese_or_brazilian: "portuguese_or_brazilian";
|
|
1966
|
+
}>>>>;
|
|
1967
|
+
}, z.core.$strip>;
|
|
1508
1968
|
/**
|
|
1509
1969
|
* 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
1970
|
*/
|
|
@@ -1610,11 +2070,17 @@ export declare const zGroupResponseObject: z.ZodObject<{
|
|
|
1610
2070
|
updated_at: z.ZodISODateTime;
|
|
1611
2071
|
}, z.core.$strip>;
|
|
1612
2072
|
/**
|
|
1613
|
-
* Request body for creating
|
|
2073
|
+
* Request body for creating a group.
|
|
1614
2074
|
*/
|
|
1615
2075
|
export declare const zGroupParameters: z.ZodObject<{
|
|
1616
2076
|
name: z.ZodString;
|
|
1617
2077
|
}, z.core.$strip>;
|
|
2078
|
+
/**
|
|
2079
|
+
* Request body for updating a group. Send only the fields to change.
|
|
2080
|
+
*/
|
|
2081
|
+
export declare const zGroupUpdateParameters: z.ZodObject<{
|
|
2082
|
+
name: z.ZodOptional<z.ZodString>;
|
|
2083
|
+
}, z.core.$strip>;
|
|
1618
2084
|
/**
|
|
1619
2085
|
* 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
2086
|
*/
|
|
@@ -1803,12 +2269,19 @@ export declare const zPositionFunctionResponseObject: z.ZodObject<{
|
|
|
1803
2269
|
updated_at: z.ZodISODateTime;
|
|
1804
2270
|
}, z.core.$strip>;
|
|
1805
2271
|
/**
|
|
1806
|
-
* Request body for creating
|
|
2272
|
+
* Request body for creating a position function.
|
|
1807
2273
|
*/
|
|
1808
2274
|
export declare const zPositionFunctionParameters: z.ZodObject<{
|
|
1809
2275
|
value: z.ZodString;
|
|
1810
2276
|
description: z.ZodString;
|
|
1811
2277
|
}, z.core.$strip>;
|
|
2278
|
+
/**
|
|
2279
|
+
* Request body for updating a position function. Send only the fields to change.
|
|
2280
|
+
*/
|
|
2281
|
+
export declare const zPositionFunctionUpdateParameters: z.ZodObject<{
|
|
2282
|
+
value: z.ZodOptional<z.ZodString>;
|
|
2283
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2284
|
+
}, z.core.$strip>;
|
|
1812
2285
|
export declare const zCompanyResponseObject: z.ZodObject<{
|
|
1813
2286
|
id: z.ZodString;
|
|
1814
2287
|
name: z.ZodString;
|
|
@@ -1972,7 +2445,7 @@ export declare const zCustomFieldConfigsResponseObject: z.ZodObject<{
|
|
|
1972
2445
|
updated_at: z.ZodISODateTime;
|
|
1973
2446
|
}, z.core.$strip>;
|
|
1974
2447
|
/**
|
|
1975
|
-
* Request body for creating
|
|
2448
|
+
* Request body for creating a custom field definition. `name` and `model_type` are required.
|
|
1976
2449
|
*/
|
|
1977
2450
|
export declare const zCustomFieldConfigParameters: z.ZodObject<{
|
|
1978
2451
|
name: z.ZodString;
|
|
@@ -1985,6 +2458,20 @@ export declare const zCustomFieldConfigParameters: z.ZodObject<{
|
|
|
1985
2458
|
}>;
|
|
1986
2459
|
visible: z.ZodOptional<z.ZodBoolean>;
|
|
1987
2460
|
}, z.core.$strip>;
|
|
2461
|
+
/**
|
|
2462
|
+
* Request body for updating a custom field definition. Every field is optional; omit a field to preserve its current value. The resulting definition's name must remain unique for its company and model type.
|
|
2463
|
+
*/
|
|
2464
|
+
export declare const zCustomFieldConfigUpdateParameters: z.ZodObject<{
|
|
2465
|
+
name: z.ZodOptional<z.ZodString>;
|
|
2466
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2467
|
+
model_type: z.ZodOptional<z.ZodEnum<{
|
|
2468
|
+
job: "job";
|
|
2469
|
+
apprenticeship_apprentice: "apprenticeship_apprentice";
|
|
2470
|
+
company: "company";
|
|
2471
|
+
user_company: "user_company";
|
|
2472
|
+
}>>;
|
|
2473
|
+
visible: z.ZodOptional<z.ZodBoolean>;
|
|
2474
|
+
}, z.core.$strip>;
|
|
1988
2475
|
/**
|
|
1989
2476
|
* A user's membership in a group.
|
|
1990
2477
|
*/
|
|
@@ -1999,18 +2486,107 @@ export declare const zUserGroupParameters: z.ZodObject<{
|
|
|
1999
2486
|
user_ids: z.ZodArray<z.ZodString>;
|
|
2000
2487
|
}, z.core.$strip>;
|
|
2001
2488
|
/**
|
|
2002
|
-
* Day of the week a job's workweek and time cards start on: 0 (Sunday) through 6 (Saturday).
|
|
2003
|
-
*/
|
|
2004
|
-
export declare const zTimeCardStartDay: z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>, z.ZodLiteral<6>]>;
|
|
2005
|
-
/**
|
|
2006
|
-
*
|
|
2489
|
+
* Day of the week a job's workweek and time cards start on: 0 (Sunday) through 6 (Saturday).
|
|
2490
|
+
*/
|
|
2491
|
+
export declare const zTimeCardStartDay: z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>, z.ZodLiteral<6>]>;
|
|
2492
|
+
/**
|
|
2493
|
+
* Fields shared by job creation and updates. Updates may omit any field to preserve its current value. The resulting job must still satisfy its schedule and PWA validation rules. Extra keys are accepted, including custom fields.
|
|
2494
|
+
*/
|
|
2495
|
+
export declare const zJobParameters: z.ZodObject<{
|
|
2496
|
+
template_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2497
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2498
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2499
|
+
requested_by_company_id: z.ZodOptional<z.ZodString>;
|
|
2500
|
+
created_by_user_id: z.ZodOptional<z.ZodString>;
|
|
2501
|
+
manager_user_ids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
2502
|
+
purchase_order_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2503
|
+
project_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2504
|
+
federal_pwa_mode: z.ZodOptional<z.ZodEnum<{
|
|
2505
|
+
none: "none";
|
|
2506
|
+
all: "all";
|
|
2507
|
+
pw_only: "pw_only";
|
|
2508
|
+
ap_only: "ap_only";
|
|
2509
|
+
}>>;
|
|
2510
|
+
regional_pwa_mode: z.ZodOptional<z.ZodEnum<{
|
|
2511
|
+
none: "none";
|
|
2512
|
+
all: "all";
|
|
2513
|
+
pw_only: "pw_only";
|
|
2514
|
+
ap_only: "ap_only";
|
|
2515
|
+
}>>;
|
|
2516
|
+
region: z.ZodOptional<z.ZodString>;
|
|
2517
|
+
start_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2518
|
+
end_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2519
|
+
tz_name: z.ZodOptional<z.ZodString>;
|
|
2520
|
+
time_card_start_day: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>, z.ZodLiteral<6>]>>;
|
|
2521
|
+
clock_in_requirement: z.ZodOptional<z.ZodEnum<{
|
|
2522
|
+
none: "none";
|
|
2523
|
+
warning: "warning";
|
|
2524
|
+
required: "required";
|
|
2525
|
+
}>>;
|
|
2526
|
+
send_geofence_reminders: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
2527
|
+
allow_customer_access: z.ZodOptional<z.ZodBoolean>;
|
|
2528
|
+
timekeeping_timecode_ids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
2529
|
+
tracks_feature_allocations: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
2530
|
+
requires_feature_allocation: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
2531
|
+
max_one_feature_allocation: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
2532
|
+
production_tracking_kind: z.ZodOptional<z.ZodEnum<{
|
|
2533
|
+
none: "none";
|
|
2534
|
+
feature: "feature";
|
|
2535
|
+
quantity: "quantity";
|
|
2536
|
+
}>>;
|
|
2537
|
+
job_work_types_attributes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
2538
|
+
primary: z.ZodOptional<z.ZodBoolean>;
|
|
2539
|
+
work_type_id: z.ZodOptional<z.ZodString>;
|
|
2540
|
+
}, z.core.$strip>>>>;
|
|
2541
|
+
job_address_attributes: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2542
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2543
|
+
sub_address_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2544
|
+
address_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2545
|
+
neighborhood: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2546
|
+
municipality: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2547
|
+
sub_region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2548
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2549
|
+
postal_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2550
|
+
country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2551
|
+
timezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2552
|
+
verified: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
2553
|
+
label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2554
|
+
}, z.core.$strip>>>;
|
|
2555
|
+
custom_fields_attributes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
2556
|
+
custom_field_config_id: z.ZodString;
|
|
2557
|
+
value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2558
|
+
}, z.core.$strip>>>>;
|
|
2559
|
+
pwa_details: z.ZodOptional<z.ZodObject<{
|
|
2560
|
+
contractor_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
2561
|
+
prime_contractor: "prime_contractor";
|
|
2562
|
+
sub_contractor: "sub_contractor";
|
|
2563
|
+
}>>>;
|
|
2564
|
+
pay_full_cash_fringe_by_default: z.ZodOptional<z.ZodBoolean>;
|
|
2565
|
+
dir_awarding_body_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2566
|
+
dir_project_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2567
|
+
dir_project_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2568
|
+
dir_contract_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2569
|
+
dir_project_awarding_body_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2570
|
+
dir_project_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2571
|
+
il_dol_project_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2572
|
+
il_dol_state_capital_funds: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
2573
|
+
il_dol_public_body_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2574
|
+
il_dol_public_body_contact_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2575
|
+
il_dol_public_body_address_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2576
|
+
il_dol_contract_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2577
|
+
il_shines_project_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2578
|
+
ny_dol_prc_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2579
|
+
}, z.core.$strip>>;
|
|
2580
|
+
}, z.core.$strip>;
|
|
2581
|
+
/**
|
|
2582
|
+
* Parameters for creating a job. `requested_by_company_id` and `created_by_user_id` are required. Sets the job's schedule, work types, address, and optional Prevailing Wage / Apprenticeship (PWA) compliance.
|
|
2007
2583
|
*/
|
|
2008
|
-
export declare const
|
|
2584
|
+
export declare const zJobCreateParameters: z.ZodIntersection<z.ZodObject<{
|
|
2009
2585
|
template_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2010
2586
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2011
2587
|
description: z.ZodOptional<z.ZodString>;
|
|
2012
|
-
requested_by_company_id: z.ZodString
|
|
2013
|
-
created_by_user_id: z.ZodString
|
|
2588
|
+
requested_by_company_id: z.ZodOptional<z.ZodString>;
|
|
2589
|
+
created_by_user_id: z.ZodOptional<z.ZodString>;
|
|
2014
2590
|
manager_user_ids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
2015
2591
|
purchase_order_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2016
2592
|
project_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2090,16 +2666,16 @@ export declare const zJobParameters: z.ZodObject<{
|
|
|
2090
2666
|
il_shines_project_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2091
2667
|
ny_dol_prc_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2092
2668
|
}, z.core.$strip>>;
|
|
2093
|
-
}, z.core.$strip
|
|
2669
|
+
}, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
2094
2670
|
/**
|
|
2095
|
-
* Parameters for updating an existing job. Accepts every
|
|
2671
|
+
* Parameters for updating an existing job. Every field is optional; omit a field to preserve its current value. The resulting job must still satisfy schedule and PWA validation rules. Accepts every shared job field plus a directly settable status.
|
|
2096
2672
|
*/
|
|
2097
2673
|
export declare const zJobUpdateParameters: z.ZodIntersection<z.ZodObject<{
|
|
2098
2674
|
template_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2099
2675
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2100
2676
|
description: z.ZodOptional<z.ZodString>;
|
|
2101
|
-
requested_by_company_id: z.ZodString
|
|
2102
|
-
created_by_user_id: z.ZodString
|
|
2677
|
+
requested_by_company_id: z.ZodOptional<z.ZodString>;
|
|
2678
|
+
created_by_user_id: z.ZodOptional<z.ZodString>;
|
|
2103
2679
|
manager_user_ids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
2104
2680
|
purchase_order_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2105
2681
|
project_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2654,7 +3230,7 @@ export declare const zPayrollFringeBenefitPlanResponseObject: z.ZodObject<{
|
|
|
2654
3230
|
updated_at: z.ZodISODateTime;
|
|
2655
3231
|
}, z.core.$strip>;
|
|
2656
3232
|
/**
|
|
2657
|
-
* Request body for creating
|
|
3233
|
+
* Request body for creating a fringe-benefit plan. timekeeping_pay_period_config_id, name, plan_number, and benefit_category are required.
|
|
2658
3234
|
*/
|
|
2659
3235
|
export declare const zPayrollFringeBenefitPlanParameters: z.ZodObject<{
|
|
2660
3236
|
timekeeping_pay_period_config_id: z.ZodString;
|
|
@@ -2678,6 +3254,31 @@ export declare const zPayrollFringeBenefitPlanParameters: z.ZodObject<{
|
|
|
2678
3254
|
il_sponsor_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2679
3255
|
il_admin_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2680
3256
|
}, z.core.$strip>;
|
|
3257
|
+
/**
|
|
3258
|
+
* Request body for updating a fringe-benefit plan. Send only the fields to change.
|
|
3259
|
+
*/
|
|
3260
|
+
export declare const zPayrollFringeBenefitPlanUpdateParameters: z.ZodObject<{
|
|
3261
|
+
timekeeping_pay_period_config_id: z.ZodOptional<z.ZodString>;
|
|
3262
|
+
name: z.ZodOptional<z.ZodString>;
|
|
3263
|
+
plan_number: z.ZodOptional<z.ZodString>;
|
|
3264
|
+
funded: z.ZodOptional<z.ZodBoolean>;
|
|
3265
|
+
benefit_category: z.ZodOptional<z.ZodEnum<{
|
|
3266
|
+
employer_combined_savings: "employer_combined_savings";
|
|
3267
|
+
employer_combined_health: "employer_combined_health";
|
|
3268
|
+
employer_combined_holiday_pto: "employer_combined_holiday_pto";
|
|
3269
|
+
employer_training: "employer_training";
|
|
3270
|
+
employer_other_contributions: "employer_other_contributions";
|
|
3271
|
+
}>>;
|
|
3272
|
+
il_jointly_managed: z.ZodOptional<z.ZodBoolean>;
|
|
3273
|
+
il_fund_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3274
|
+
il_fund_address1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3275
|
+
il_fund_address2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3276
|
+
il_fund_city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3277
|
+
il_fund_state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3278
|
+
il_fund_zip: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3279
|
+
il_sponsor_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3280
|
+
il_admin_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3281
|
+
}, z.core.$strip>;
|
|
2681
3282
|
/**
|
|
2682
3283
|
* 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
3284
|
*/
|
|
@@ -2832,7 +3433,7 @@ export declare const zPayrollRunResponseObject: z.ZodObject<{
|
|
|
2832
3433
|
updated_at: z.ZodISODateTime;
|
|
2833
3434
|
}, z.core.$strip>;
|
|
2834
3435
|
/**
|
|
2835
|
-
*
|
|
3436
|
+
* 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
3437
|
*/
|
|
2837
3438
|
export declare const zPayrollRunParameters: z.ZodObject<{
|
|
2838
3439
|
company_id: z.ZodString;
|
|
@@ -2849,6 +3450,23 @@ export declare const zPayrollRunParameters: z.ZodObject<{
|
|
|
2849
3450
|
run_date: z.ZodISODate;
|
|
2850
3451
|
external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2851
3452
|
}, z.core.$strip>;
|
|
3453
|
+
/**
|
|
3454
|
+
* 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.
|
|
3455
|
+
*/
|
|
3456
|
+
export declare const zPayrollRunUpdateParameters: z.ZodObject<{
|
|
3457
|
+
timekeeping_pay_period_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3458
|
+
payrolls_credential_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3459
|
+
run_type: z.ZodOptional<z.ZodEnum<{
|
|
3460
|
+
CORRECTION: "CORRECTION";
|
|
3461
|
+
ON_CYCLE: "ON_CYCLE";
|
|
3462
|
+
OFF_CYCLE: "OFF_CYCLE";
|
|
3463
|
+
RECONCILIATION: "RECONCILIATION";
|
|
3464
|
+
SIGN_ON_BONUS: "SIGN_ON_BONUS";
|
|
3465
|
+
TERMINATION: "TERMINATION";
|
|
3466
|
+
}>>;
|
|
3467
|
+
run_date: z.ZodOptional<z.ZodISODate>;
|
|
3468
|
+
external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3469
|
+
}, z.core.$strip>;
|
|
2852
3470
|
/**
|
|
2853
3471
|
* 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
3472
|
*/
|
|
@@ -2890,12 +3508,46 @@ export declare const zProjectResponseObject: z.ZodObject<{
|
|
|
2890
3508
|
updated_at: z.ZodISODateTime;
|
|
2891
3509
|
}, z.core.$strip>;
|
|
2892
3510
|
/**
|
|
2893
|
-
* Request body for creating
|
|
3511
|
+
* Request body for creating a project. `name` is required by the schema; `created_by_user_id` is additionally required on create and must be a member of the owning company. The owning company is inferred from the API key and is not part of the body.
|
|
2894
3512
|
*/
|
|
2895
3513
|
export declare const zProjectParameters: z.ZodObject<{
|
|
2896
3514
|
external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2897
3515
|
name: z.ZodString;
|
|
2898
3516
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3517
|
+
created_by_user_id: z.ZodString;
|
|
3518
|
+
start_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
|
|
3519
|
+
end_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
|
|
3520
|
+
tz_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3521
|
+
billing_start_day: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
3522
|
+
federal_pwa_mode: z.ZodOptional<z.ZodEnum<{
|
|
3523
|
+
none: "none";
|
|
3524
|
+
all: "all";
|
|
3525
|
+
pw_only: "pw_only";
|
|
3526
|
+
ap_only: "ap_only";
|
|
3527
|
+
}>>;
|
|
3528
|
+
regional_pwa_mode: z.ZodOptional<z.ZodEnum<{
|
|
3529
|
+
none: "none";
|
|
3530
|
+
all: "all";
|
|
3531
|
+
pw_only: "pw_only";
|
|
3532
|
+
ap_only: "ap_only";
|
|
3533
|
+
}>>;
|
|
3534
|
+
region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3535
|
+
asset_owner: z.ZodOptional<z.ZodBoolean>;
|
|
3536
|
+
administrator_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3537
|
+
administrator_email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3538
|
+
administrator_phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3539
|
+
budget: z.ZodOptional<z.ZodString>;
|
|
3540
|
+
prevailing_wage_lock_in_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
|
|
3541
|
+
beginning_of_construction_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
|
|
3542
|
+
placed_in_service_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
|
|
3543
|
+
}, z.core.$strip>;
|
|
3544
|
+
/**
|
|
3545
|
+
* Request body for updating a project. Every field is optional; omit a field to preserve its current value. The resulting project must still satisfy conditional PWA, regional, and schedule validation rules. `created_by_user_id` is create-only and an update that names it is rejected.
|
|
3546
|
+
*/
|
|
3547
|
+
export declare const zProjectUpdateParameters: z.ZodObject<{
|
|
3548
|
+
external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3549
|
+
name: z.ZodOptional<z.ZodString>;
|
|
3550
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2899
3551
|
created_by_user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2900
3552
|
start_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
|
|
2901
3553
|
end_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
|
|
@@ -2938,6 +3590,7 @@ export declare const zSiteCheckInResponseObject: z.ZodObject<{
|
|
|
2938
3590
|
source: z.ZodEnum<{
|
|
2939
3591
|
manual: "manual";
|
|
2940
3592
|
auto: "auto";
|
|
3593
|
+
public_form: "public_form";
|
|
2941
3594
|
}>;
|
|
2942
3595
|
nerc_check_in: z.ZodBoolean;
|
|
2943
3596
|
cip_exceptional: z.ZodBoolean;
|
|
@@ -3544,7 +4197,7 @@ export declare const zPaystubResponseObject: z.ZodObject<{
|
|
|
3544
4197
|
updated_at: z.ZodISODateTime;
|
|
3545
4198
|
}, z.core.$strip>;
|
|
3546
4199
|
/**
|
|
3547
|
-
* Request body for creating
|
|
4200
|
+
* 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
4201
|
*/
|
|
3549
4202
|
export declare const zPaystubParameters: z.ZodObject<{
|
|
3550
4203
|
payrolls_payroll_run_id: z.ZodString;
|
|
@@ -3553,6 +4206,16 @@ export declare const zPaystubParameters: z.ZodObject<{
|
|
|
3553
4206
|
external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3554
4207
|
check_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3555
4208
|
}, z.core.$strip>;
|
|
4209
|
+
/**
|
|
4210
|
+
* Request body for updating a paystub. Send only the fields to change; the resulting paystub must still match its payroll run type.
|
|
4211
|
+
*/
|
|
4212
|
+
export declare const zPaystubUpdateParameters: z.ZodObject<{
|
|
4213
|
+
payrolls_payroll_run_id: z.ZodOptional<z.ZodString>;
|
|
4214
|
+
user_id: z.ZodOptional<z.ZodString>;
|
|
4215
|
+
timekeeping_time_card_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4216
|
+
external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4217
|
+
check_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4218
|
+
}, z.core.$strip>;
|
|
3556
4219
|
/**
|
|
3557
4220
|
* An adjustment applied in the current pay period to correct a prior one, tied to the paystub line item it corrects.
|
|
3558
4221
|
*/
|
|
@@ -3721,7 +4384,7 @@ export declare const zPaystubLineItemResponseObject: z.ZodObject<{
|
|
|
3721
4384
|
updated_at: z.ZodISODateTime;
|
|
3722
4385
|
}, z.core.$strip>;
|
|
3723
4386
|
/**
|
|
3724
|
-
* Request body for creating
|
|
4387
|
+
* Request body for creating a paystub line item. All four fields are required.
|
|
3725
4388
|
*/
|
|
3726
4389
|
export declare const zPaystubLineItemParameters: z.ZodObject<{
|
|
3727
4390
|
payrolls_paystub_id: z.ZodString;
|
|
@@ -3732,6 +4395,18 @@ export declare const zPaystubLineItemParameters: z.ZodObject<{
|
|
|
3732
4395
|
}>;
|
|
3733
4396
|
payrolls_external_map_id: z.ZodString;
|
|
3734
4397
|
}, z.core.$strip>;
|
|
4398
|
+
/**
|
|
4399
|
+
* Request body for updating a paystub line item. Send only the fields to change.
|
|
4400
|
+
*/
|
|
4401
|
+
export declare const zPaystubLineItemUpdateParameters: z.ZodObject<{
|
|
4402
|
+
payrolls_paystub_id: z.ZodOptional<z.ZodString>;
|
|
4403
|
+
amount_cents: z.ZodOptional<z.ZodString>;
|
|
4404
|
+
contributor: z.ZodOptional<z.ZodEnum<{
|
|
4405
|
+
employee: "employee";
|
|
4406
|
+
employer: "employer";
|
|
4407
|
+
}>>;
|
|
4408
|
+
payrolls_external_map_id: z.ZodOptional<z.ZodString>;
|
|
4409
|
+
}, z.core.$strip>;
|
|
3735
4410
|
/**
|
|
3736
4411
|
* Request body for creating or updating a position on a job. The job is taken from the URL path.
|
|
3737
4412
|
*/
|
|
@@ -3754,7 +4429,7 @@ export declare const zPositionParameters: z.ZodObject<{
|
|
|
3754
4429
|
}, z.core.$strip>>;
|
|
3755
4430
|
}, z.core.$strip>;
|
|
3756
4431
|
/**
|
|
3757
|
-
* Parameters for creating
|
|
4432
|
+
* Parameters for creating a per-unit scope price on a job. `scope_kind` and `unit_price` are required.
|
|
3758
4433
|
*/
|
|
3759
4434
|
export declare const zProductionJobScopePriceParameters: z.ZodObject<{
|
|
3760
4435
|
scope_kind: z.ZodString;
|
|
@@ -3762,6 +4437,15 @@ export declare const zProductionJobScopePriceParameters: z.ZodObject<{
|
|
|
3762
4437
|
contracted_count: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
3763
4438
|
unit_of_measure: z.ZodOptional<z.ZodString>;
|
|
3764
4439
|
}, z.core.$strip>;
|
|
4440
|
+
/**
|
|
4441
|
+
* Parameters for updating a per-unit scope price on a job. Every field is optional; omit a field to preserve its current value. The resulting price must retain a scope kind and non-negative unit price.
|
|
4442
|
+
*/
|
|
4443
|
+
export declare const zProductionJobScopePriceUpdateParameters: z.ZodObject<{
|
|
4444
|
+
scope_kind: z.ZodOptional<z.ZodString>;
|
|
4445
|
+
unit_price: z.ZodOptional<z.ZodString>;
|
|
4446
|
+
contracted_count: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
4447
|
+
unit_of_measure: z.ZodOptional<z.ZodString>;
|
|
4448
|
+
}, z.core.$strip>;
|
|
3765
4449
|
/**
|
|
3766
4450
|
* A per-unit billing price for one scope of work on a job. Production completions bill against these prices.
|
|
3767
4451
|
*/
|
|
@@ -3940,7 +4624,7 @@ export declare const zFormAssignmentTaskResponseObject: z.ZodArray<z.ZodObject<{
|
|
|
3940
4624
|
}, z.core.$strip>>;
|
|
3941
4625
|
}, z.core.$strip>>;
|
|
3942
4626
|
/**
|
|
3943
|
-
* Request body for creating
|
|
4627
|
+
* 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
4628
|
*/
|
|
3945
4629
|
export declare const zCertificationParameters: z.ZodObject<{
|
|
3946
4630
|
company_id: z.ZodString;
|
|
@@ -3949,6 +4633,16 @@ export declare const zCertificationParameters: z.ZodObject<{
|
|
|
3949
4633
|
verified: z.ZodOptional<z.ZodBoolean>;
|
|
3950
4634
|
duration: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3951
4635
|
}, z.core.$strip>;
|
|
4636
|
+
/**
|
|
4637
|
+
* 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.
|
|
4638
|
+
*/
|
|
4639
|
+
export declare const zCertificationUpdateParameters: z.ZodObject<{
|
|
4640
|
+
company_id: z.ZodOptional<z.ZodString>;
|
|
4641
|
+
name: z.ZodOptional<z.ZodString>;
|
|
4642
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4643
|
+
verified: z.ZodOptional<z.ZodBoolean>;
|
|
4644
|
+
duration: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4645
|
+
}, z.core.$strip>;
|
|
3952
4646
|
/**
|
|
3953
4647
|
* A certification package — a named set of certifications your company requires together.
|
|
3954
4648
|
*/
|
|
@@ -3964,7 +4658,7 @@ export declare const zCertificationPackageResponseObject: z.ZodObject<{
|
|
|
3964
4658
|
updated_at: z.ZodISODateTime;
|
|
3965
4659
|
}, z.core.$strip>;
|
|
3966
4660
|
/**
|
|
3967
|
-
* Request body for creating
|
|
4661
|
+
* Request body for creating a certification package — a named set of certifications a company requires together.
|
|
3968
4662
|
*/
|
|
3969
4663
|
export declare const zCertificationPackageParameters: z.ZodObject<{
|
|
3970
4664
|
name: z.ZodString;
|
|
@@ -3972,6 +4666,15 @@ export declare const zCertificationPackageParameters: z.ZodObject<{
|
|
|
3972
4666
|
certification_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3973
4667
|
performed_by_user_id: z.ZodString;
|
|
3974
4668
|
}, z.core.$strip>;
|
|
4669
|
+
/**
|
|
4670
|
+
* Request body for updating a certification package — a named set of certifications a company requires together. Include only the fields to change.
|
|
4671
|
+
*/
|
|
4672
|
+
export declare const zCertificationPackageUpdateParameters: z.ZodObject<{
|
|
4673
|
+
name: z.ZodOptional<z.ZodString>;
|
|
4674
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4675
|
+
certification_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4676
|
+
performed_by_user_id: z.ZodString;
|
|
4677
|
+
}, z.core.$strip>;
|
|
3975
4678
|
/**
|
|
3976
4679
|
* A certification — a named qualification a worker can hold, either owned by your company or a global (platform) credential type (company_id null).
|
|
3977
4680
|
*/
|
|
@@ -3986,7 +4689,7 @@ export declare const zCertificationResponseObject: z.ZodObject<{
|
|
|
3986
4689
|
updated_at: z.ZodISODateTime;
|
|
3987
4690
|
}, z.core.$strip>;
|
|
3988
4691
|
/**
|
|
3989
|
-
* Request body for recording
|
|
4692
|
+
* Request body for recording a certification held by a worker — who holds it, which certification, when it was received, and optional proof, expiry, and verification details.
|
|
3990
4693
|
*/
|
|
3991
4694
|
export declare const zUserCertificationParameters: z.ZodObject<{
|
|
3992
4695
|
user_id: z.ZodString;
|
|
@@ -4003,6 +4706,24 @@ export declare const zUserCertificationParameters: z.ZodObject<{
|
|
|
4003
4706
|
archived_at: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
4004
4707
|
approved_at: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
4005
4708
|
}, z.core.$strip>;
|
|
4709
|
+
/**
|
|
4710
|
+
* Request body for updating a certification held by a worker. Every field is optional; omit a field to preserve its current value. The resulting certification must still have a receipt date and verification state, and any expiry date must remain after its receipt date.
|
|
4711
|
+
*/
|
|
4712
|
+
export declare const zUserCertificationUpdateParameters: z.ZodObject<{
|
|
4713
|
+
user_id: z.ZodOptional<z.ZodString>;
|
|
4714
|
+
certification_id: z.ZodOptional<z.ZodString>;
|
|
4715
|
+
received_at: z.ZodOptional<z.ZodISODateTime>;
|
|
4716
|
+
file: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4717
|
+
name: z.ZodString;
|
|
4718
|
+
content: z.ZodString;
|
|
4719
|
+
}, z.core.$strip>>>;
|
|
4720
|
+
verified: z.ZodOptional<z.ZodBoolean>;
|
|
4721
|
+
expiration_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
|
|
4722
|
+
credential_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4723
|
+
approved_by_user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4724
|
+
archived_at: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
4725
|
+
approved_at: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
4726
|
+
}, z.core.$strip>;
|
|
4006
4727
|
/**
|
|
4007
4728
|
* A certification held by a worker — the record that a worker earned a certification, with its receipt date, optional expiry, and verification state.
|
|
4008
4729
|
*/
|
|
@@ -6553,6 +7274,13 @@ export declare const zAssetsVendorParameters: z.ZodObject<{
|
|
|
6553
7274
|
name: z.ZodString;
|
|
6554
7275
|
logo_signed_id: z.ZodOptional<z.ZodString>;
|
|
6555
7276
|
}, z.core.$strip>;
|
|
7277
|
+
/**
|
|
7278
|
+
* Update a vendor. All fields are optional — send only what changes.
|
|
7279
|
+
*/
|
|
7280
|
+
export declare const zAssetsVendorUpdateParameters: z.ZodObject<{
|
|
7281
|
+
name: z.ZodOptional<z.ZodString>;
|
|
7282
|
+
logo_signed_id: z.ZodOptional<z.ZodString>;
|
|
7283
|
+
}, z.core.$strip>;
|
|
6556
7284
|
/**
|
|
6557
7285
|
* A location that holds a company's assets and inventory — a warehouse or yard, optionally backed by a site on the Atlas map.
|
|
6558
7286
|
*/
|
|
@@ -6581,6 +7309,9 @@ export declare const zAssetsSiteParameters: z.ZodIntersection<z.ZodUnion<readonl
|
|
|
6581
7309
|
site_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6582
7310
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6583
7311
|
}, z.core.$strip>>;
|
|
7312
|
+
/**
|
|
7313
|
+
* 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`.
|
|
7314
|
+
*/
|
|
6584
7315
|
export declare const zAssetsSiteUpdateParameters: z.ZodObject<{
|
|
6585
7316
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
6586
7317
|
warehouse: "warehouse";
|
|
@@ -6665,6 +7396,42 @@ export declare const zAssetsFormAssignmentTriggerParameters: z.ZodObject<{
|
|
|
6665
7396
|
assigned_user_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6666
7397
|
assets_product_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6667
7398
|
}, z.core.$strip>;
|
|
7399
|
+
/**
|
|
7400
|
+
* Update a form-assignment trigger rule. All fields are optional — send only what changes. When changing first_due_by, include the matching day field when required; assigned_user_ids applies only to the custom assign_to mode.
|
|
7401
|
+
*/
|
|
7402
|
+
export declare const zAssetsFormAssignmentTriggerUpdateParameters: z.ZodObject<{
|
|
7403
|
+
form_definition_id: z.ZodOptional<z.ZodString>;
|
|
7404
|
+
triggered_by: z.ZodOptional<z.ZodEnum<{
|
|
7405
|
+
assignment: "assignment";
|
|
7406
|
+
unassignment: "unassignment";
|
|
7407
|
+
}>>;
|
|
7408
|
+
assign_to: z.ZodOptional<z.ZodEnum<{
|
|
7409
|
+
custom: "custom";
|
|
7410
|
+
asset_assignee: "asset_assignee";
|
|
7411
|
+
previous_asset_assignee: "previous_asset_assignee";
|
|
7412
|
+
}>>;
|
|
7413
|
+
first_due_by: z.ZodOptional<z.ZodEnum<{
|
|
7414
|
+
day_of_event: "day_of_event";
|
|
7415
|
+
day_of_week: "day_of_week";
|
|
7416
|
+
day_of_month: "day_of_month";
|
|
7417
|
+
}>>;
|
|
7418
|
+
tz_name: z.ZodOptional<z.ZodString>;
|
|
7419
|
+
time_of_day_due: z.ZodOptional<z.ZodString>;
|
|
7420
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7421
|
+
recurrence_frequency: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
7422
|
+
DAILY: "DAILY";
|
|
7423
|
+
WORKDAILY: "WORKDAILY";
|
|
7424
|
+
WORKDAILYSIX: "WORKDAILYSIX";
|
|
7425
|
+
WEEKLY: "WEEKLY";
|
|
7426
|
+
BIWEEKLY: "BIWEEKLY";
|
|
7427
|
+
MONTHLY: "MONTHLY";
|
|
7428
|
+
QUARTERLY: "QUARTERLY";
|
|
7429
|
+
}>>>;
|
|
7430
|
+
day_of_week_due: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
7431
|
+
day_of_month_due: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
7432
|
+
assigned_user_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
7433
|
+
assets_product_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
7434
|
+
}, z.core.$strip>;
|
|
6668
7435
|
/**
|
|
6669
7436
|
* A file attached to an asset — an item or product image, or a service-event attachment. Uploaded through the direct-upload flow; the response carries a URL to download it.
|
|
6670
7437
|
*/
|
|
@@ -6838,7 +7605,7 @@ export declare const zAssetsProductUpdateParameters: z.ZodObject<{
|
|
|
6838
7605
|
}, z.core.$strip>>>;
|
|
6839
7606
|
}, z.core.$strip>;
|
|
6840
7607
|
/**
|
|
6841
|
-
* Create
|
|
7608
|
+
* Create an asset item. The write API creates serial items only; assets_product_id and serial_number identify the product and serial number. On create you may also place the item — assets_site_id to stock it at a site, or user_id to assign it to a user (the two are mutually exclusive). performed_by_user_id is required.
|
|
6842
7609
|
*/
|
|
6843
7610
|
export declare const zAssetsItemParameters: z.ZodObject<{
|
|
6844
7611
|
name: z.ZodString;
|
|
@@ -6864,6 +7631,33 @@ export declare const zAssetsItemParameters: z.ZodObject<{
|
|
|
6864
7631
|
assets_sub_location_id: z.ZodOptional<z.ZodString>;
|
|
6865
7632
|
performed_by_user_id: z.ZodString;
|
|
6866
7633
|
}, z.core.$strip>;
|
|
7634
|
+
/**
|
|
7635
|
+
* Update an asset item. All item fields are optional — send only what changes — but performed_by_user_id is required to record the updater and any placement. Omitted attributes retain their existing values.
|
|
7636
|
+
*/
|
|
7637
|
+
export declare const zAssetsItemUpdateParameters: z.ZodObject<{
|
|
7638
|
+
name: z.ZodOptional<z.ZodString>;
|
|
7639
|
+
description: z.ZodOptional<z.ZodString>;
|
|
7640
|
+
assets_product_id: z.ZodOptional<z.ZodString>;
|
|
7641
|
+
serial_number: z.ZodOptional<z.ZodString>;
|
|
7642
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
7643
|
+
available: "available";
|
|
7644
|
+
assigned: "assigned";
|
|
7645
|
+
}>>;
|
|
7646
|
+
purchase_date: z.ZodOptional<z.ZodISODateTime>;
|
|
7647
|
+
purchase_price_cents: z.ZodOptional<z.ZodInt>;
|
|
7648
|
+
external_id: z.ZodOptional<z.ZodString>;
|
|
7649
|
+
external_system_url: z.ZodOptional<z.ZodString>;
|
|
7650
|
+
images_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7651
|
+
id: z.ZodOptional<z.ZodString>;
|
|
7652
|
+
file: z.ZodOptional<z.ZodString>;
|
|
7653
|
+
_destroy: z.ZodOptional<z.ZodBoolean>;
|
|
7654
|
+
}, z.core.$strip>>>;
|
|
7655
|
+
assets_site_id: z.ZodOptional<z.ZodString>;
|
|
7656
|
+
user_id: z.ZodOptional<z.ZodString>;
|
|
7657
|
+
container_item_id: z.ZodOptional<z.ZodString>;
|
|
7658
|
+
assets_sub_location_id: z.ZodOptional<z.ZodString>;
|
|
7659
|
+
performed_by_user_id: z.ZodString;
|
|
7660
|
+
}, z.core.$strip>;
|
|
6867
7661
|
/**
|
|
6868
7662
|
* A file attached to an asset item — a document such as a manual, warranty, or certificate. Uploaded through the direct-upload flow and optionally marked as a certified copy.
|
|
6869
7663
|
*/
|
|
@@ -6892,6 +7686,14 @@ export declare const zAssetsDocumentParameters: z.ZodObject<{
|
|
|
6892
7686
|
filename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6893
7687
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6894
7688
|
}, z.core.$strip>;
|
|
7689
|
+
/**
|
|
7690
|
+
* Update an asset-item document. All fields are optional — send only what changes. Omit file to retain the existing attachment, or supply a new signed_id to replace it.
|
|
7691
|
+
*/
|
|
7692
|
+
export declare const zAssetsDocumentUpdateParameters: z.ZodObject<{
|
|
7693
|
+
file: z.ZodOptional<z.ZodString>;
|
|
7694
|
+
filename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7695
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7696
|
+
}, z.core.$strip>;
|
|
6895
7697
|
/**
|
|
6896
7698
|
* One entry in an item document's change history, recorded whenever the document is created, updated, or deleted — including when only its attached file is replaced.
|
|
6897
7699
|
*/
|
|
@@ -6934,15 +7736,81 @@ export declare const zAssetsItemFormAssignmentResponseObject: z.ZodObject<{
|
|
|
6934
7736
|
}, z.core.$strip>>;
|
|
6935
7737
|
}, z.core.$strip>;
|
|
6936
7738
|
/**
|
|
6937
|
-
* Create or update an item form assignment. form_definition_id and task_attributes are required, and task_attributes.created_by_user_id is required (a missing value returns 400). recurring gates the recurrence fields.
|
|
7739
|
+
* Create or update an item form assignment. form_definition_id and task_attributes are required, and task_attributes.created_by_user_id is required (a missing value returns 400). recurring gates the recurrence fields.
|
|
7740
|
+
*/
|
|
7741
|
+
export declare const zAssetsItemFormAssignmentParameters: z.ZodObject<{
|
|
7742
|
+
form_definition_id: z.ZodString;
|
|
7743
|
+
recurring: z.ZodOptional<z.ZodBoolean>;
|
|
7744
|
+
task_attributes: z.ZodObject<{
|
|
7745
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7746
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7747
|
+
created_by_user_id: z.ZodString;
|
|
7748
|
+
updated_by_user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7749
|
+
time_due: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
7750
|
+
tz_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7751
|
+
frequency: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
7752
|
+
DAILY: "DAILY";
|
|
7753
|
+
WORKDAILY: "WORKDAILY";
|
|
7754
|
+
WORKDAILYSIX: "WORKDAILYSIX";
|
|
7755
|
+
WEEKLY: "WEEKLY";
|
|
7756
|
+
BIWEEKLY: "BIWEEKLY";
|
|
7757
|
+
MONTHLY: "MONTHLY";
|
|
7758
|
+
QUARTERLY: "QUARTERLY";
|
|
7759
|
+
}>>>;
|
|
7760
|
+
recurrence_end_time: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
7761
|
+
task_assignee_user_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
7762
|
+
reminders_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7763
|
+
offset: z.ZodEnum<{
|
|
7764
|
+
PT0S: "PT0S";
|
|
7765
|
+
"PT-1M": "PT-1M";
|
|
7766
|
+
"PT-5M": "PT-5M";
|
|
7767
|
+
"PT-10M": "PT-10M";
|
|
7768
|
+
"PT-15M": "PT-15M";
|
|
7769
|
+
"PT-30M": "PT-30M";
|
|
7770
|
+
"PT-1H": "PT-1H";
|
|
7771
|
+
"PT-2H": "PT-2H";
|
|
7772
|
+
"P-1D": "P-1D";
|
|
7773
|
+
"P-2D": "P-2D";
|
|
7774
|
+
"P-3D": "P-3D";
|
|
7775
|
+
"P-4D": "P-4D";
|
|
7776
|
+
"P-5D": "P-5D";
|
|
7777
|
+
"P-6D": "P-6D";
|
|
7778
|
+
"P-1W": "P-1W";
|
|
7779
|
+
"P-2W": "P-2W";
|
|
7780
|
+
"P-1M": "P-1M";
|
|
7781
|
+
"P-2M": "P-2M";
|
|
7782
|
+
"P-3M": "P-3M";
|
|
7783
|
+
"P-6M": "P-6M";
|
|
7784
|
+
"P-1Y": "P-1Y";
|
|
7785
|
+
PT5M: "PT5M";
|
|
7786
|
+
PT15M: "PT15M";
|
|
7787
|
+
PT30M: "PT30M";
|
|
7788
|
+
PT1H: "PT1H";
|
|
7789
|
+
PT6H: "PT6H";
|
|
7790
|
+
PT12H: "PT12H";
|
|
7791
|
+
P1D: "P1D";
|
|
7792
|
+
P2D: "P2D";
|
|
7793
|
+
P3D: "P3D";
|
|
7794
|
+
P4D: "P4D";
|
|
7795
|
+
P5D: "P5D";
|
|
7796
|
+
P6D: "P6D";
|
|
7797
|
+
P1W: "P1W";
|
|
7798
|
+
P2W: "P2W";
|
|
7799
|
+
P3W: "P3W";
|
|
7800
|
+
}>;
|
|
7801
|
+
}, z.core.$strip>>>;
|
|
7802
|
+
}, z.core.$strip>;
|
|
7803
|
+
}, z.core.$strip>;
|
|
7804
|
+
/**
|
|
7805
|
+
* Update an item form assignment. All fields are optional — send only what changes. recurring gates the recurrence fields, and task_attributes.reminders_attributes replaces the existing reminder set when supplied.
|
|
6938
7806
|
*/
|
|
6939
|
-
export declare const
|
|
6940
|
-
form_definition_id: z.ZodString
|
|
7807
|
+
export declare const zAssetsItemFormAssignmentUpdateParameters: z.ZodObject<{
|
|
7808
|
+
form_definition_id: z.ZodOptional<z.ZodString>;
|
|
6941
7809
|
recurring: z.ZodOptional<z.ZodBoolean>;
|
|
6942
|
-
task_attributes: z.ZodObject<{
|
|
7810
|
+
task_attributes: z.ZodOptional<z.ZodObject<{
|
|
6943
7811
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6944
7812
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6945
|
-
created_by_user_id: z.ZodString
|
|
7813
|
+
created_by_user_id: z.ZodOptional<z.ZodString>;
|
|
6946
7814
|
updated_by_user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6947
7815
|
time_due: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
6948
7816
|
tz_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -6997,7 +7865,7 @@ export declare const zAssetsItemFormAssignmentParameters: z.ZodObject<{
|
|
|
6997
7865
|
P3W: "P3W";
|
|
6998
7866
|
}>;
|
|
6999
7867
|
}, z.core.$strip>>>;
|
|
7000
|
-
}, z.core.$strip
|
|
7868
|
+
}, z.core.$strip>>;
|
|
7001
7869
|
}, z.core.$strip>;
|
|
7002
7870
|
/**
|
|
7003
7871
|
* On-hand stock of an item at a site — one row per item, site, and storage location. Read-only. A site with none of the item has no row at all, since a row is removed once its count reaches zero.
|
|
@@ -7176,6 +8044,25 @@ export declare const zAssetsServiceScheduleParameters: z.ZodObject<{
|
|
|
7176
8044
|
last_serviced_on: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
|
|
7177
8045
|
performed_by_user_id: z.ZodString;
|
|
7178
8046
|
}, z.core.$strip>;
|
|
8047
|
+
/**
|
|
8048
|
+
* Update a service schedule. Cadence and last_serviced_on fields are optional — send only what changes — but performed_by_user_id is required to record the updater. next_due_date is recomputed.
|
|
8049
|
+
*/
|
|
8050
|
+
export declare const zAssetsServiceScheduleUpdateParameters: z.ZodObject<{
|
|
8051
|
+
kind: z.ZodOptional<z.ZodEnum<{
|
|
8052
|
+
maintenance: "maintenance";
|
|
8053
|
+
calibration: "calibration";
|
|
8054
|
+
}>>;
|
|
8055
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8056
|
+
interval_unit: z.ZodOptional<z.ZodEnum<{
|
|
8057
|
+
year: "year";
|
|
8058
|
+
month: "month";
|
|
8059
|
+
week: "week";
|
|
8060
|
+
day: "day";
|
|
8061
|
+
}>>;
|
|
8062
|
+
interval_count: z.ZodOptional<z.ZodInt>;
|
|
8063
|
+
last_serviced_on: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
|
|
8064
|
+
performed_by_user_id: z.ZodString;
|
|
8065
|
+
}, z.core.$strip>;
|
|
7179
8066
|
/**
|
|
7180
8067
|
* A service performed on a serial item — scheduled (satisfying a service schedule) or ad-hoc. Recording one advances the linked schedule's next_due_date.
|
|
7181
8068
|
*/
|
|
@@ -7225,6 +8112,25 @@ export declare const zAssetsServiceEventParameters: z.ZodObject<{
|
|
|
7225
8112
|
_destroy: z.ZodOptional<z.ZodBoolean>;
|
|
7226
8113
|
}, z.core.$strip>>>;
|
|
7227
8114
|
}, z.core.$strip>;
|
|
8115
|
+
/**
|
|
8116
|
+
* Update a service event. Event fields are optional — send only what changes — but performed_by_user_id is required to record the updater. A linked schedule dictates kind, and changing or removing the link recomputes affected due dates.
|
|
8117
|
+
*/
|
|
8118
|
+
export declare const zAssetsServiceEventUpdateParameters: z.ZodObject<{
|
|
8119
|
+
kind: z.ZodOptional<z.ZodEnum<{
|
|
8120
|
+
maintenance: "maintenance";
|
|
8121
|
+
calibration: "calibration";
|
|
8122
|
+
repair: "repair";
|
|
8123
|
+
}>>;
|
|
8124
|
+
notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8125
|
+
performed_on: z.ZodOptional<z.ZodISODate>;
|
|
8126
|
+
assets_service_schedule_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8127
|
+
performed_by_user_id: z.ZodString;
|
|
8128
|
+
attachments_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8129
|
+
id: z.ZodOptional<z.ZodString>;
|
|
8130
|
+
file: z.ZodOptional<z.ZodString>;
|
|
8131
|
+
_destroy: z.ZodOptional<z.ZodBoolean>;
|
|
8132
|
+
}, z.core.$strip>>>;
|
|
8133
|
+
}, z.core.$strip>;
|
|
7228
8134
|
/**
|
|
7229
8135
|
* A product-level service cadence that seeds and syncs the matching schedules on that product's items. Changing its defining fields (name, kind, interval) reconciles linked item schedules in the background.
|
|
7230
8136
|
*/
|
|
@@ -7265,6 +8171,24 @@ export declare const zAssetsServiceScheduleTemplateParameters: z.ZodObject<{
|
|
|
7265
8171
|
interval_count: z.ZodInt;
|
|
7266
8172
|
performed_by_user_id: z.ZodString;
|
|
7267
8173
|
}, z.core.$strip>;
|
|
8174
|
+
/**
|
|
8175
|
+
* Update a service schedule template. Cadence fields are optional — send only what changes — but performed_by_user_id is required to record the updater. Changing defining fields reconciles linked item schedules in the background.
|
|
8176
|
+
*/
|
|
8177
|
+
export declare const zAssetsServiceScheduleTemplateUpdateParameters: z.ZodObject<{
|
|
8178
|
+
kind: z.ZodOptional<z.ZodEnum<{
|
|
8179
|
+
maintenance: "maintenance";
|
|
8180
|
+
calibration: "calibration";
|
|
8181
|
+
}>>;
|
|
8182
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8183
|
+
interval_unit: z.ZodOptional<z.ZodEnum<{
|
|
8184
|
+
year: "year";
|
|
8185
|
+
month: "month";
|
|
8186
|
+
week: "week";
|
|
8187
|
+
day: "day";
|
|
8188
|
+
}>>;
|
|
8189
|
+
interval_count: z.ZodOptional<z.ZodInt>;
|
|
8190
|
+
performed_by_user_id: z.ZodString;
|
|
8191
|
+
}, z.core.$strip>;
|
|
7268
8192
|
/**
|
|
7269
8193
|
* A node of fixed storage structure inside a site or a container item — a zone, aisle, rack, shelf, bin, or drawer. Nodes form a tree per holder, and each carries a scannable path_code composed from its ancestors' codes.
|
|
7270
8194
|
*/
|
|
@@ -7411,6 +8335,97 @@ export declare const zListApiKeyScopesResponse: z.ZodObject<{
|
|
|
7411
8335
|
name: z.ZodString;
|
|
7412
8336
|
}, z.core.$strip>>;
|
|
7413
8337
|
}, z.core.$strip>;
|
|
8338
|
+
export declare const zListAllocationsPath: z.ZodObject<{
|
|
8339
|
+
apprentice_id: z.ZodString;
|
|
8340
|
+
}, z.core.$strip>;
|
|
8341
|
+
export declare const zListAllocationsQuery: z.ZodObject<{
|
|
8342
|
+
'filter[allocated_at][gte]': z.ZodOptional<z.ZodISODateTime>;
|
|
8343
|
+
'filter[allocated_at][lte]': z.ZodOptional<z.ZodISODateTime>;
|
|
8344
|
+
'filter[created_at][gte]': z.ZodOptional<z.ZodISODateTime>;
|
|
8345
|
+
'filter[created_at][lte]': z.ZodOptional<z.ZodISODateTime>;
|
|
8346
|
+
'filter[updated_at][gte]': z.ZodOptional<z.ZodISODateTime>;
|
|
8347
|
+
'filter[updated_at][lte]': z.ZodOptional<z.ZodISODateTime>;
|
|
8348
|
+
filter: z.ZodOptional<z.ZodString>;
|
|
8349
|
+
'filter[unexpected]': z.ZodOptional<z.ZodString>;
|
|
8350
|
+
'page[cursor]': z.ZodOptional<z.ZodString>;
|
|
8351
|
+
'page[limit]': z.ZodDefault<z.ZodOptional<z.ZodInt>>;
|
|
8352
|
+
page: z.ZodOptional<z.ZodString>;
|
|
8353
|
+
}, z.core.$strip>;
|
|
8354
|
+
/**
|
|
8355
|
+
* Success
|
|
8356
|
+
*/
|
|
8357
|
+
export declare const zListAllocationsResponse: z.ZodObject<{
|
|
8358
|
+
meta: z.ZodObject<{
|
|
8359
|
+
page: z.ZodObject<{
|
|
8360
|
+
next_cursor: z.ZodNullable<z.ZodString>;
|
|
8361
|
+
current_cursor: z.ZodNullable<z.ZodString>;
|
|
8362
|
+
}, z.core.$strip>;
|
|
8363
|
+
}, z.core.$strip>;
|
|
8364
|
+
links: z.ZodObject<{
|
|
8365
|
+
self: z.ZodString;
|
|
8366
|
+
first: z.ZodNullable<z.ZodString>;
|
|
8367
|
+
next: z.ZodNullable<z.ZodString>;
|
|
8368
|
+
}, z.core.$strip>;
|
|
8369
|
+
data: z.ZodArray<z.ZodObject<{
|
|
8370
|
+
id: z.ZodString;
|
|
8371
|
+
apprenticeship_apprentice_id: z.ZodString;
|
|
8372
|
+
apprenticeship_work_process_category_id: z.ZodNullable<z.ZodString>;
|
|
8373
|
+
allocated_by_user_id: z.ZodString;
|
|
8374
|
+
timekeeping_time_card_id: z.ZodNullable<z.ZodString>;
|
|
8375
|
+
minutes: z.ZodInt;
|
|
8376
|
+
description: z.ZodNullable<z.ZodString>;
|
|
8377
|
+
allocated_at: z.ZodISODateTime;
|
|
8378
|
+
cumulative_minutes: z.ZodInt;
|
|
8379
|
+
apprenticeship_wage_schedule_period_id: z.ZodString;
|
|
8380
|
+
created_at: z.ZodISODateTime;
|
|
8381
|
+
updated_at: z.ZodISODateTime;
|
|
8382
|
+
}, z.core.$strip>>;
|
|
8383
|
+
}, z.core.$strip>;
|
|
8384
|
+
export declare const zGetAllocationPath: z.ZodObject<{
|
|
8385
|
+
apprentice_id: z.ZodString;
|
|
8386
|
+
id: z.ZodString;
|
|
8387
|
+
}, z.core.$strip>;
|
|
8388
|
+
/**
|
|
8389
|
+
* Success
|
|
8390
|
+
*/
|
|
8391
|
+
export declare const zGetAllocationResponse: z.ZodObject<{
|
|
8392
|
+
id: z.ZodString;
|
|
8393
|
+
apprenticeship_apprentice_id: z.ZodString;
|
|
8394
|
+
apprenticeship_work_process_category_id: z.ZodNullable<z.ZodString>;
|
|
8395
|
+
allocated_by_user_id: z.ZodString;
|
|
8396
|
+
timekeeping_time_card_id: z.ZodNullable<z.ZodString>;
|
|
8397
|
+
minutes: z.ZodInt;
|
|
8398
|
+
description: z.ZodNullable<z.ZodString>;
|
|
8399
|
+
allocated_at: z.ZodISODateTime;
|
|
8400
|
+
cumulative_minutes: z.ZodInt;
|
|
8401
|
+
apprenticeship_wage_schedule_period_id: z.ZodString;
|
|
8402
|
+
created_at: z.ZodISODateTime;
|
|
8403
|
+
updated_at: z.ZodISODateTime;
|
|
8404
|
+
}, z.core.$strip>;
|
|
8405
|
+
export declare const zUpdateAllocationBody: z.ZodObject<{
|
|
8406
|
+
allocated_at: z.ZodOptional<z.ZodISODateTime>;
|
|
8407
|
+
}, z.core.$strip>;
|
|
8408
|
+
export declare const zUpdateAllocationPath: z.ZodObject<{
|
|
8409
|
+
apprentice_id: z.ZodString;
|
|
8410
|
+
id: z.ZodString;
|
|
8411
|
+
}, z.core.$strip>;
|
|
8412
|
+
/**
|
|
8413
|
+
* Success
|
|
8414
|
+
*/
|
|
8415
|
+
export declare const zUpdateAllocationResponse: z.ZodObject<{
|
|
8416
|
+
id: z.ZodString;
|
|
8417
|
+
apprenticeship_apprentice_id: z.ZodString;
|
|
8418
|
+
apprenticeship_work_process_category_id: z.ZodNullable<z.ZodString>;
|
|
8419
|
+
allocated_by_user_id: z.ZodString;
|
|
8420
|
+
timekeeping_time_card_id: z.ZodNullable<z.ZodString>;
|
|
8421
|
+
minutes: z.ZodInt;
|
|
8422
|
+
description: z.ZodNullable<z.ZodString>;
|
|
8423
|
+
allocated_at: z.ZodISODateTime;
|
|
8424
|
+
cumulative_minutes: z.ZodInt;
|
|
8425
|
+
apprenticeship_wage_schedule_period_id: z.ZodString;
|
|
8426
|
+
created_at: z.ZodISODateTime;
|
|
8427
|
+
updated_at: z.ZodISODateTime;
|
|
8428
|
+
}, z.core.$strip>;
|
|
7414
8429
|
export declare const zListApprenticesPath: z.ZodObject<{
|
|
7415
8430
|
program_id: z.ZodString;
|
|
7416
8431
|
}, z.core.$strip>;
|
|
@@ -7620,19 +8635,19 @@ export declare const zCreateOccupationResponse: z.ZodObject<{
|
|
|
7620
8635
|
updated_at: z.ZodISODateTime;
|
|
7621
8636
|
}, z.core.$strip>;
|
|
7622
8637
|
export declare const zUpdateOccupationBody: z.ZodObject<{
|
|
7623
|
-
rapids_code: z.ZodString
|
|
7624
|
-
occupation_type: z.ZodEnum<{
|
|
8638
|
+
rapids_code: z.ZodOptional<z.ZodString>;
|
|
8639
|
+
occupation_type: z.ZodOptional<z.ZodEnum<{
|
|
7625
8640
|
time_based: "time_based";
|
|
7626
8641
|
competency_based: "competency_based";
|
|
7627
8642
|
hybrid: "hybrid";
|
|
7628
|
-
}
|
|
7629
|
-
title: z.ZodString
|
|
8643
|
+
}>>;
|
|
8644
|
+
title: z.ZodOptional<z.ZodString>;
|
|
7630
8645
|
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
|
|
8646
|
+
min_minutes: z.ZodOptional<z.ZodInt>;
|
|
8647
|
+
max_minutes: z.ZodOptional<z.ZodInt>;
|
|
8648
|
+
probation_minutes: z.ZodOptional<z.ZodInt>;
|
|
8649
|
+
num_apprentices: z.ZodOptional<z.ZodInt>;
|
|
8650
|
+
num_journeyworkers: z.ZodOptional<z.ZodInt>;
|
|
7636
8651
|
}, z.core.$strip>;
|
|
7637
8652
|
export declare const zUpdateOccupationPath: z.ZodObject<{
|
|
7638
8653
|
program_id: z.ZodString;
|
|
@@ -7732,7 +8747,7 @@ export declare const zDeleteEmployerResponse: z.ZodObject<{
|
|
|
7732
8747
|
updated_at: z.ZodISODateTime;
|
|
7733
8748
|
}, z.core.$strip>;
|
|
7734
8749
|
export declare const zUpdateEmployerBody: z.ZodObject<{
|
|
7735
|
-
company_id: z.ZodString
|
|
8750
|
+
company_id: z.ZodOptional<z.ZodString>;
|
|
7736
8751
|
require_timecard_allocation: z.ZodOptional<z.ZodBoolean>;
|
|
7737
8752
|
}, z.core.$strip>;
|
|
7738
8753
|
export declare const zUpdateEmployerPath: z.ZodObject<{
|
|
@@ -7819,7 +8834,7 @@ export declare const zCreateProgramResponse: z.ZodObject<{
|
|
|
7819
8834
|
updated_at: z.ZodISODateTime;
|
|
7820
8835
|
}, z.core.$strip>;
|
|
7821
8836
|
export declare const zUpdateProgramBody: z.ZodObject<{
|
|
7822
|
-
program_number: z.ZodString
|
|
8837
|
+
program_number: z.ZodOptional<z.ZodString>;
|
|
7823
8838
|
program_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7824
8839
|
sponsor_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7825
8840
|
doing_business_as: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -7922,13 +8937,13 @@ export declare const zCreatePeriodResponse: z.ZodObject<{
|
|
|
7922
8937
|
updated_at: z.ZodISODateTime;
|
|
7923
8938
|
}, z.core.$strip>;
|
|
7924
8939
|
export declare const zUpdatePeriodBody: z.ZodObject<{
|
|
7925
|
-
period_number: z.ZodInt
|
|
8940
|
+
period_number: z.ZodOptional<z.ZodInt>;
|
|
7926
8941
|
min_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
7927
8942
|
max_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
7928
8943
|
num_competencies: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
7929
8944
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7930
|
-
wage_percent: z.ZodNumber
|
|
7931
|
-
wage_cents: z.ZodInt
|
|
8945
|
+
wage_percent: z.ZodOptional<z.ZodNumber>;
|
|
8946
|
+
wage_cents: z.ZodOptional<z.ZodInt>;
|
|
7932
8947
|
}, z.core.$strip>;
|
|
7933
8948
|
export declare const zUpdatePeriodPath: z.ZodObject<{
|
|
7934
8949
|
wage_schedule_id: z.ZodString;
|
|
@@ -8101,45 +9116,53 @@ export declare const zCreateWageScheduleResponse: z.ZodObject<{
|
|
|
8101
9116
|
updated_at: z.ZodISODateTime;
|
|
8102
9117
|
}, z.core.$strip>;
|
|
8103
9118
|
export declare const zUpdateWageScheduleBody: z.ZodObject<{
|
|
8104
|
-
name: z.ZodString
|
|
9119
|
+
name: z.ZodOptional<z.ZodString>;
|
|
8105
9120
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8106
|
-
wage_unit: z.ZodEnum<{
|
|
9121
|
+
wage_unit: z.ZodOptional<z.ZodEnum<{
|
|
8107
9122
|
hourly: "hourly";
|
|
8108
9123
|
weekly: "weekly";
|
|
8109
9124
|
monthly: "monthly";
|
|
8110
9125
|
quarterly: "quarterly";
|
|
8111
9126
|
semi_annually: "semi_annually";
|
|
8112
9127
|
annually: "annually";
|
|
8113
|
-
}
|
|
8114
|
-
journeyworker_wage_unit: z.ZodEnum<{
|
|
9128
|
+
}>>;
|
|
9129
|
+
journeyworker_wage_unit: z.ZodOptional<z.ZodEnum<{
|
|
8115
9130
|
hourly: "hourly";
|
|
8116
9131
|
weekly: "weekly";
|
|
8117
9132
|
monthly: "monthly";
|
|
8118
9133
|
quarterly: "quarterly";
|
|
8119
9134
|
semi_annually: "semi_annually";
|
|
8120
9135
|
annually: "annually";
|
|
8121
|
-
}
|
|
8122
|
-
period_unit: z.ZodEnum<{
|
|
9136
|
+
}>>;
|
|
9137
|
+
period_unit: z.ZodOptional<z.ZodEnum<{
|
|
8123
9138
|
hours: "hours";
|
|
8124
9139
|
weeks: "weeks";
|
|
8125
9140
|
months: "months";
|
|
8126
9141
|
quarter: "quarter";
|
|
8127
9142
|
semi_annual: "semi_annual";
|
|
8128
9143
|
year: "year";
|
|
8129
|
-
}
|
|
9144
|
+
}>>;
|
|
8130
9145
|
journeyworker_wage_cents: z.ZodOptional<z.ZodInt>;
|
|
8131
9146
|
end_wage_cents: z.ZodOptional<z.ZodInt>;
|
|
8132
|
-
periods_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
9147
|
+
periods_attributes: z.ZodOptional<z.ZodArray<z.ZodIntersection<z.ZodUnion<readonly [z.ZodUnknown, z.ZodUnion<readonly [z.ZodObject<{
|
|
9148
|
+
min_minutes: z.ZodInt;
|
|
9149
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9150
|
+
max_minutes: z.ZodInt;
|
|
9151
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9152
|
+
num_competencies: z.ZodInt;
|
|
9153
|
+
}, z.core.$strip>]>, z.ZodObject<{
|
|
9154
|
+
_destroy: z.ZodLiteral<true>;
|
|
9155
|
+
}, z.core.$strip>]>, z.ZodObject<{
|
|
8133
9156
|
id: z.ZodOptional<z.ZodString>;
|
|
8134
|
-
period_number: z.ZodInt
|
|
9157
|
+
period_number: z.ZodOptional<z.ZodInt>;
|
|
8135
9158
|
min_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
8136
9159
|
max_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
8137
9160
|
num_competencies: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
8138
9161
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8139
|
-
wage_percent: z.ZodNumber
|
|
8140
|
-
wage_cents: z.ZodInt
|
|
9162
|
+
wage_percent: z.ZodOptional<z.ZodNumber>;
|
|
9163
|
+
wage_cents: z.ZodOptional<z.ZodInt>;
|
|
8141
9164
|
_destroy: z.ZodOptional<z.ZodBoolean>;
|
|
8142
|
-
}, z.core.$strip
|
|
9165
|
+
}, z.core.$strip>>>>;
|
|
8143
9166
|
}, z.core.$strip>;
|
|
8144
9167
|
export declare const zUpdateWageSchedulePath: z.ZodObject<{
|
|
8145
9168
|
occupation_id: z.ZodString;
|
|
@@ -8320,14 +9343,14 @@ export declare const zGetAttributeResponse: z.ZodObject<{
|
|
|
8320
9343
|
updated_at: z.ZodISODateTime;
|
|
8321
9344
|
}, z.core.$strip>;
|
|
8322
9345
|
export declare const zUpdateAttributeBody: z.ZodObject<{
|
|
8323
|
-
name: z.ZodString
|
|
8324
|
-
data_type: z.ZodEnum<{
|
|
9346
|
+
name: z.ZodOptional<z.ZodString>;
|
|
9347
|
+
data_type: z.ZodOptional<z.ZodEnum<{
|
|
8325
9348
|
number: "number";
|
|
8326
9349
|
boolean: "boolean";
|
|
8327
9350
|
text: "text";
|
|
8328
9351
|
date: "date";
|
|
8329
9352
|
select: "select";
|
|
8330
|
-
}
|
|
9353
|
+
}>>;
|
|
8331
9354
|
options: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8332
9355
|
id: z.ZodOptional<z.ZodString>;
|
|
8333
9356
|
value: z.ZodOptional<z.ZodString>;
|
|
@@ -8494,7 +9517,7 @@ export declare const zGetCategoryResponse: z.ZodObject<{
|
|
|
8494
9517
|
updated_at: z.ZodISODateTime;
|
|
8495
9518
|
}, z.core.$strip>;
|
|
8496
9519
|
export declare const zUpdateCategoryBody: z.ZodObject<{
|
|
8497
|
-
name: z.ZodString
|
|
9520
|
+
name: z.ZodOptional<z.ZodString>;
|
|
8498
9521
|
parent_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8499
9522
|
category_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8500
9523
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -8922,23 +9945,23 @@ export declare const zGetFormAssignmentTriggerResponse: z.ZodObject<{
|
|
|
8922
9945
|
updated_at: z.ZodISODateTime;
|
|
8923
9946
|
}, z.core.$strip>;
|
|
8924
9947
|
export declare const zUpdateFormAssignmentTriggerBody: z.ZodObject<{
|
|
8925
|
-
form_definition_id: z.ZodString
|
|
8926
|
-
triggered_by: z.ZodEnum<{
|
|
9948
|
+
form_definition_id: z.ZodOptional<z.ZodString>;
|
|
9949
|
+
triggered_by: z.ZodOptional<z.ZodEnum<{
|
|
8927
9950
|
assignment: "assignment";
|
|
8928
9951
|
unassignment: "unassignment";
|
|
8929
|
-
}
|
|
8930
|
-
assign_to: z.ZodEnum<{
|
|
9952
|
+
}>>;
|
|
9953
|
+
assign_to: z.ZodOptional<z.ZodEnum<{
|
|
8931
9954
|
custom: "custom";
|
|
8932
9955
|
asset_assignee: "asset_assignee";
|
|
8933
9956
|
previous_asset_assignee: "previous_asset_assignee";
|
|
8934
|
-
}
|
|
8935
|
-
first_due_by: z.ZodEnum<{
|
|
9957
|
+
}>>;
|
|
9958
|
+
first_due_by: z.ZodOptional<z.ZodEnum<{
|
|
8936
9959
|
day_of_event: "day_of_event";
|
|
8937
9960
|
day_of_week: "day_of_week";
|
|
8938
9961
|
day_of_month: "day_of_month";
|
|
8939
|
-
}
|
|
8940
|
-
tz_name: z.ZodString
|
|
8941
|
-
time_of_day_due: z.ZodString
|
|
9962
|
+
}>>;
|
|
9963
|
+
tz_name: z.ZodOptional<z.ZodString>;
|
|
9964
|
+
time_of_day_due: z.ZodOptional<z.ZodString>;
|
|
8942
9965
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8943
9966
|
recurrence_frequency: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
8944
9967
|
DAILY: "DAILY";
|
|
@@ -9290,10 +10313,10 @@ export declare const zGetItemResponse: z.ZodObject<{
|
|
|
9290
10313
|
updated_at: z.ZodISODateTime;
|
|
9291
10314
|
}, z.core.$strip>;
|
|
9292
10315
|
export declare const zUpdateItemBody: z.ZodObject<{
|
|
9293
|
-
name: z.ZodString
|
|
10316
|
+
name: z.ZodOptional<z.ZodString>;
|
|
9294
10317
|
description: z.ZodOptional<z.ZodString>;
|
|
9295
|
-
assets_product_id: z.ZodString
|
|
9296
|
-
serial_number: z.ZodString
|
|
10318
|
+
assets_product_id: z.ZodOptional<z.ZodString>;
|
|
10319
|
+
serial_number: z.ZodOptional<z.ZodString>;
|
|
9297
10320
|
status: z.ZodOptional<z.ZodEnum<{
|
|
9298
10321
|
available: "available";
|
|
9299
10322
|
assigned: "assigned";
|
|
@@ -9625,18 +10648,18 @@ export declare const zGetServiceScheduleResponse: z.ZodObject<{
|
|
|
9625
10648
|
updated_at: z.ZodISODateTime;
|
|
9626
10649
|
}, z.core.$strip>;
|
|
9627
10650
|
export declare const zUpdateServiceScheduleBody: z.ZodObject<{
|
|
9628
|
-
kind: z.ZodEnum<{
|
|
10651
|
+
kind: z.ZodOptional<z.ZodEnum<{
|
|
9629
10652
|
maintenance: "maintenance";
|
|
9630
10653
|
calibration: "calibration";
|
|
9631
|
-
}
|
|
10654
|
+
}>>;
|
|
9632
10655
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9633
|
-
interval_unit: z.ZodEnum<{
|
|
10656
|
+
interval_unit: z.ZodOptional<z.ZodEnum<{
|
|
9634
10657
|
year: "year";
|
|
9635
10658
|
month: "month";
|
|
9636
10659
|
week: "week";
|
|
9637
10660
|
day: "day";
|
|
9638
|
-
}
|
|
9639
|
-
interval_count: z.ZodInt
|
|
10661
|
+
}>>;
|
|
10662
|
+
interval_count: z.ZodOptional<z.ZodInt>;
|
|
9640
10663
|
last_serviced_on: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
|
|
9641
10664
|
performed_by_user_id: z.ZodString;
|
|
9642
10665
|
}, z.core.$strip>;
|
|
@@ -9851,7 +10874,7 @@ export declare const zUpdateServiceEventBody: z.ZodObject<{
|
|
|
9851
10874
|
repair: "repair";
|
|
9852
10875
|
}>>;
|
|
9853
10876
|
notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9854
|
-
performed_on: z.ZodISODate
|
|
10877
|
+
performed_on: z.ZodOptional<z.ZodISODate>;
|
|
9855
10878
|
assets_service_schedule_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9856
10879
|
performed_by_user_id: z.ZodString;
|
|
9857
10880
|
attachments_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -10067,12 +11090,12 @@ export declare const zGetFormAssignmentTaskResponse: z.ZodObject<{
|
|
|
10067
11090
|
}, z.core.$strip>>;
|
|
10068
11091
|
}, z.core.$strip>;
|
|
10069
11092
|
export declare const zUpdateFormAssignmentTaskBody: z.ZodObject<{
|
|
10070
|
-
form_definition_id: z.ZodString
|
|
11093
|
+
form_definition_id: z.ZodOptional<z.ZodString>;
|
|
10071
11094
|
recurring: z.ZodOptional<z.ZodBoolean>;
|
|
10072
|
-
task_attributes: z.ZodObject<{
|
|
11095
|
+
task_attributes: z.ZodOptional<z.ZodObject<{
|
|
10073
11096
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10074
11097
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10075
|
-
created_by_user_id: z.ZodString
|
|
11098
|
+
created_by_user_id: z.ZodOptional<z.ZodString>;
|
|
10076
11099
|
updated_by_user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10077
11100
|
time_due: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
10078
11101
|
tz_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -10127,7 +11150,7 @@ export declare const zUpdateFormAssignmentTaskBody: z.ZodObject<{
|
|
|
10127
11150
|
P3W: "P3W";
|
|
10128
11151
|
}>;
|
|
10129
11152
|
}, z.core.$strip>>>;
|
|
10130
|
-
}, z.core.$strip
|
|
11153
|
+
}, z.core.$strip>>;
|
|
10131
11154
|
}, z.core.$strip>;
|
|
10132
11155
|
export declare const zUpdateFormAssignmentTaskPath: z.ZodObject<{
|
|
10133
11156
|
item_id: z.ZodString;
|
|
@@ -10280,7 +11303,7 @@ export declare const zGetDocumentResponse: z.ZodObject<{
|
|
|
10280
11303
|
updated_at: z.ZodISODateTime;
|
|
10281
11304
|
}, z.core.$strip>;
|
|
10282
11305
|
export declare const zUpdateDocumentBody: z.ZodObject<{
|
|
10283
|
-
file: z.ZodString
|
|
11306
|
+
file: z.ZodOptional<z.ZodString>;
|
|
10284
11307
|
filename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10285
11308
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10286
11309
|
}, z.core.$strip>;
|
|
@@ -10960,18 +11983,18 @@ export declare const zGetServiceScheduleTemplateResponse: z.ZodObject<{
|
|
|
10960
11983
|
updated_at: z.ZodISODateTime;
|
|
10961
11984
|
}, z.core.$strip>;
|
|
10962
11985
|
export declare const zUpdateServiceScheduleTemplateBody: z.ZodObject<{
|
|
10963
|
-
kind: z.ZodEnum<{
|
|
11986
|
+
kind: z.ZodOptional<z.ZodEnum<{
|
|
10964
11987
|
maintenance: "maintenance";
|
|
10965
11988
|
calibration: "calibration";
|
|
10966
|
-
}
|
|
11989
|
+
}>>;
|
|
10967
11990
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10968
|
-
interval_unit: z.ZodEnum<{
|
|
11991
|
+
interval_unit: z.ZodOptional<z.ZodEnum<{
|
|
10969
11992
|
year: "year";
|
|
10970
11993
|
month: "month";
|
|
10971
11994
|
week: "week";
|
|
10972
11995
|
day: "day";
|
|
10973
|
-
}
|
|
10974
|
-
interval_count: z.ZodInt
|
|
11996
|
+
}>>;
|
|
11997
|
+
interval_count: z.ZodOptional<z.ZodInt>;
|
|
10975
11998
|
performed_by_user_id: z.ZodString;
|
|
10976
11999
|
}, z.core.$strip>;
|
|
10977
12000
|
export declare const zUpdateServiceScheduleTemplatePath: z.ZodObject<{
|
|
@@ -11584,7 +12607,7 @@ export declare const zGetVendorResponse: z.ZodObject<{
|
|
|
11584
12607
|
updated_at: z.ZodISODateTime;
|
|
11585
12608
|
}, z.core.$strip>;
|
|
11586
12609
|
export declare const zUpdateVendorBody: z.ZodObject<{
|
|
11587
|
-
name: z.ZodString
|
|
12610
|
+
name: z.ZodOptional<z.ZodString>;
|
|
11588
12611
|
logo_signed_id: z.ZodOptional<z.ZodString>;
|
|
11589
12612
|
}, z.core.$strip>;
|
|
11590
12613
|
export declare const zUpdateVendorPath: z.ZodObject<{
|
|
@@ -12087,7 +13110,7 @@ export declare const zGetPackageResponse: z.ZodObject<{
|
|
|
12087
13110
|
updated_at: z.ZodISODateTime;
|
|
12088
13111
|
}, z.core.$strip>;
|
|
12089
13112
|
export declare const zUpdatePackageBody: z.ZodObject<{
|
|
12090
|
-
name: z.ZodString
|
|
13113
|
+
name: z.ZodOptional<z.ZodString>;
|
|
12091
13114
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12092
13115
|
certification_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
12093
13116
|
performed_by_user_id: z.ZodString;
|
|
@@ -12236,9 +13259,9 @@ export declare const zGetUserCertificationResponse: z.ZodObject<{
|
|
|
12236
13259
|
updated_at: z.ZodISODateTime;
|
|
12237
13260
|
}, z.core.$strip>;
|
|
12238
13261
|
export declare const zUpdateUserCertificationBody: z.ZodObject<{
|
|
12239
|
-
user_id: z.ZodString
|
|
12240
|
-
certification_id: z.ZodString
|
|
12241
|
-
received_at: z.ZodISODateTime
|
|
13262
|
+
user_id: z.ZodOptional<z.ZodString>;
|
|
13263
|
+
certification_id: z.ZodOptional<z.ZodString>;
|
|
13264
|
+
received_at: z.ZodOptional<z.ZodISODateTime>;
|
|
12242
13265
|
file: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
12243
13266
|
name: z.ZodString;
|
|
12244
13267
|
content: z.ZodString;
|
|
@@ -12357,8 +13380,8 @@ export declare const zGetCertificationResponse: z.ZodObject<{
|
|
|
12357
13380
|
updated_at: z.ZodISODateTime;
|
|
12358
13381
|
}, z.core.$strip>;
|
|
12359
13382
|
export declare const zUpdateCertificationBody: z.ZodObject<{
|
|
12360
|
-
company_id: z.ZodString
|
|
12361
|
-
name: z.ZodString
|
|
13383
|
+
company_id: z.ZodOptional<z.ZodString>;
|
|
13384
|
+
name: z.ZodOptional<z.ZodString>;
|
|
12362
13385
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12363
13386
|
verified: z.ZodOptional<z.ZodBoolean>;
|
|
12364
13387
|
duration: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -12430,7 +13453,7 @@ export declare const zCreateDepartmentResponse: z.ZodObject<{
|
|
|
12430
13453
|
updated_at: z.ZodISODateTime;
|
|
12431
13454
|
}, z.core.$strip>;
|
|
12432
13455
|
export declare const zUpdateDepartmentBody: z.ZodObject<{
|
|
12433
|
-
name: z.ZodString
|
|
13456
|
+
name: z.ZodOptional<z.ZodString>;
|
|
12434
13457
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12435
13458
|
}, z.core.$strip>;
|
|
12436
13459
|
export declare const zUpdateDepartmentPath: z.ZodObject<{
|
|
@@ -13167,14 +14190,14 @@ export declare const zGetCustomFieldConfigResponse: z.ZodObject<{
|
|
|
13167
14190
|
updated_at: z.ZodISODateTime;
|
|
13168
14191
|
}, z.core.$strip>;
|
|
13169
14192
|
export declare const zUpdateCustomFieldConfigBody: z.ZodObject<{
|
|
13170
|
-
name: z.ZodString
|
|
14193
|
+
name: z.ZodOptional<z.ZodString>;
|
|
13171
14194
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13172
|
-
model_type: z.ZodEnum<{
|
|
14195
|
+
model_type: z.ZodOptional<z.ZodEnum<{
|
|
13173
14196
|
job: "job";
|
|
13174
14197
|
apprenticeship_apprentice: "apprenticeship_apprentice";
|
|
13175
14198
|
company: "company";
|
|
13176
14199
|
user_company: "user_company";
|
|
13177
|
-
}
|
|
14200
|
+
}>>;
|
|
13178
14201
|
visible: z.ZodOptional<z.ZodBoolean>;
|
|
13179
14202
|
}, z.core.$strip>;
|
|
13180
14203
|
export declare const zUpdateCustomFieldConfigPath: z.ZodObject<{
|
|
@@ -13492,7 +14515,7 @@ export declare const zGetGroupResponse: z.ZodObject<{
|
|
|
13492
14515
|
updated_at: z.ZodISODateTime;
|
|
13493
14516
|
}, z.core.$strip>;
|
|
13494
14517
|
export declare const zUpdateGroupBody: z.ZodObject<{
|
|
13495
|
-
name: z.ZodString
|
|
14518
|
+
name: z.ZodOptional<z.ZodString>;
|
|
13496
14519
|
}, z.core.$strip>;
|
|
13497
14520
|
export declare const zUpdateGroupPath: z.ZodObject<{
|
|
13498
14521
|
id: z.ZodString;
|
|
@@ -13604,8 +14627,8 @@ export declare const zGetJobScopePriceResponse: z.ZodObject<{
|
|
|
13604
14627
|
updated_at: z.ZodISODateTime;
|
|
13605
14628
|
}, z.core.$strip>;
|
|
13606
14629
|
export declare const zUpdateJobScopePriceBody: z.ZodObject<{
|
|
13607
|
-
scope_kind: z.ZodString
|
|
13608
|
-
unit_price: z.ZodString
|
|
14630
|
+
scope_kind: z.ZodOptional<z.ZodString>;
|
|
14631
|
+
unit_price: z.ZodOptional<z.ZodString>;
|
|
13609
14632
|
contracted_count: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
13610
14633
|
unit_of_measure: z.ZodOptional<z.ZodString>;
|
|
13611
14634
|
}, z.core.$strip>;
|
|
@@ -14849,12 +15872,12 @@ export declare const zListJobsResponse: z.ZodObject<{
|
|
|
14849
15872
|
/**
|
|
14850
15873
|
* Create a job
|
|
14851
15874
|
*/
|
|
14852
|
-
export declare const zCreateJobBody: z.ZodObject<{
|
|
15875
|
+
export declare const zCreateJobBody: z.ZodIntersection<z.ZodObject<{
|
|
14853
15876
|
template_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14854
15877
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14855
15878
|
description: z.ZodOptional<z.ZodString>;
|
|
14856
|
-
requested_by_company_id: z.ZodString
|
|
14857
|
-
created_by_user_id: z.ZodString
|
|
15879
|
+
requested_by_company_id: z.ZodOptional<z.ZodString>;
|
|
15880
|
+
created_by_user_id: z.ZodOptional<z.ZodString>;
|
|
14858
15881
|
manager_user_ids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
14859
15882
|
purchase_order_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14860
15883
|
project_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -14934,7 +15957,7 @@ export declare const zCreateJobBody: z.ZodObject<{
|
|
|
14934
15957
|
il_shines_project_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14935
15958
|
ny_dol_prc_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14936
15959
|
}, z.core.$strip>>;
|
|
14937
|
-
}, z.core.$strip
|
|
15960
|
+
}, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
14938
15961
|
/**
|
|
14939
15962
|
* Created
|
|
14940
15963
|
*/
|
|
@@ -15148,8 +16171,8 @@ export declare const zUpdateJobBody: z.ZodIntersection<z.ZodObject<{
|
|
|
15148
16171
|
template_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15149
16172
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15150
16173
|
description: z.ZodOptional<z.ZodString>;
|
|
15151
|
-
requested_by_company_id: z.ZodString
|
|
15152
|
-
created_by_user_id: z.ZodString
|
|
16174
|
+
requested_by_company_id: z.ZodOptional<z.ZodString>;
|
|
16175
|
+
created_by_user_id: z.ZodOptional<z.ZodString>;
|
|
15153
16176
|
manager_user_ids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
15154
16177
|
purchase_order_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15155
16178
|
project_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -15402,6 +16425,7 @@ export declare const zListSiteCheckInsResponse: z.ZodObject<{
|
|
|
15402
16425
|
source: z.ZodEnum<{
|
|
15403
16426
|
manual: "manual";
|
|
15404
16427
|
auto: "auto";
|
|
16428
|
+
public_form: "public_form";
|
|
15405
16429
|
}>;
|
|
15406
16430
|
nerc_check_in: z.ZodBoolean;
|
|
15407
16431
|
cip_exceptional: z.ZodBoolean;
|
|
@@ -15437,6 +16461,7 @@ export declare const zGetSiteCheckInResponse: z.ZodObject<{
|
|
|
15437
16461
|
source: z.ZodEnum<{
|
|
15438
16462
|
manual: "manual";
|
|
15439
16463
|
auto: "auto";
|
|
16464
|
+
public_form: "public_form";
|
|
15440
16465
|
}>;
|
|
15441
16466
|
nerc_check_in: z.ZodBoolean;
|
|
15442
16467
|
cip_exceptional: z.ZodBoolean;
|
|
@@ -16896,17 +17921,17 @@ export declare const zGetFringeBenefitPlanResponse: z.ZodObject<{
|
|
|
16896
17921
|
updated_at: z.ZodISODateTime;
|
|
16897
17922
|
}, z.core.$strip>;
|
|
16898
17923
|
export declare const zUpdateFringeBenefitPlanBody: z.ZodObject<{
|
|
16899
|
-
timekeeping_pay_period_config_id: z.ZodString
|
|
16900
|
-
name: z.ZodString
|
|
16901
|
-
plan_number: z.ZodString
|
|
17924
|
+
timekeeping_pay_period_config_id: z.ZodOptional<z.ZodString>;
|
|
17925
|
+
name: z.ZodOptional<z.ZodString>;
|
|
17926
|
+
plan_number: z.ZodOptional<z.ZodString>;
|
|
16902
17927
|
funded: z.ZodOptional<z.ZodBoolean>;
|
|
16903
|
-
benefit_category: z.ZodEnum<{
|
|
17928
|
+
benefit_category: z.ZodOptional<z.ZodEnum<{
|
|
16904
17929
|
employer_combined_savings: "employer_combined_savings";
|
|
16905
17930
|
employer_combined_health: "employer_combined_health";
|
|
16906
17931
|
employer_combined_holiday_pto: "employer_combined_holiday_pto";
|
|
16907
17932
|
employer_training: "employer_training";
|
|
16908
17933
|
employer_other_contributions: "employer_other_contributions";
|
|
16909
|
-
}
|
|
17934
|
+
}>>;
|
|
16910
17935
|
il_jointly_managed: z.ZodOptional<z.ZodBoolean>;
|
|
16911
17936
|
il_fund_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16912
17937
|
il_fund_address1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -17194,18 +18219,17 @@ export declare const zGetPayrollRunResponse: z.ZodObject<{
|
|
|
17194
18219
|
updated_at: z.ZodISODateTime;
|
|
17195
18220
|
}, z.core.$strip>;
|
|
17196
18221
|
export declare const zUpdatePayrollRunBody: z.ZodObject<{
|
|
17197
|
-
company_id: z.ZodString;
|
|
17198
18222
|
timekeeping_pay_period_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17199
18223
|
payrolls_credential_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17200
|
-
run_type: z.ZodEnum<{
|
|
18224
|
+
run_type: z.ZodOptional<z.ZodEnum<{
|
|
17201
18225
|
CORRECTION: "CORRECTION";
|
|
17202
18226
|
ON_CYCLE: "ON_CYCLE";
|
|
17203
18227
|
OFF_CYCLE: "OFF_CYCLE";
|
|
17204
18228
|
RECONCILIATION: "RECONCILIATION";
|
|
17205
18229
|
SIGN_ON_BONUS: "SIGN_ON_BONUS";
|
|
17206
18230
|
TERMINATION: "TERMINATION";
|
|
17207
|
-
}
|
|
17208
|
-
run_date: z.ZodISODate
|
|
18231
|
+
}>>;
|
|
18232
|
+
run_date: z.ZodOptional<z.ZodISODate>;
|
|
17209
18233
|
external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17210
18234
|
}, z.core.$strip>;
|
|
17211
18235
|
export declare const zUpdatePayrollRunPath: z.ZodObject<{
|
|
@@ -17399,15 +18423,15 @@ export declare const zGetPaystubLineItemResponse: z.ZodObject<{
|
|
|
17399
18423
|
}>;
|
|
17400
18424
|
created_at: z.ZodISODateTime;
|
|
17401
18425
|
updated_at: z.ZodISODateTime;
|
|
17402
|
-
}, z.core.$strip>;
|
|
17403
|
-
export declare const zUpdatePaystubLineItemBody: z.ZodObject<{
|
|
17404
|
-
payrolls_paystub_id: z.ZodString
|
|
17405
|
-
amount_cents: z.ZodString
|
|
17406
|
-
contributor: z.ZodEnum<{
|
|
18426
|
+
}, z.core.$strip>;
|
|
18427
|
+
export declare const zUpdatePaystubLineItemBody: z.ZodObject<{
|
|
18428
|
+
payrolls_paystub_id: z.ZodOptional<z.ZodString>;
|
|
18429
|
+
amount_cents: z.ZodOptional<z.ZodString>;
|
|
18430
|
+
contributor: z.ZodOptional<z.ZodEnum<{
|
|
17407
18431
|
employee: "employee";
|
|
17408
18432
|
employer: "employer";
|
|
17409
|
-
}
|
|
17410
|
-
payrolls_external_map_id: z.ZodString
|
|
18433
|
+
}>>;
|
|
18434
|
+
payrolls_external_map_id: z.ZodOptional<z.ZodString>;
|
|
17411
18435
|
}, z.core.$strip>;
|
|
17412
18436
|
export declare const zUpdatePaystubLineItemPath: z.ZodObject<{
|
|
17413
18437
|
id: z.ZodString;
|
|
@@ -17534,8 +18558,8 @@ export declare const zGetPaystubResponse: z.ZodObject<{
|
|
|
17534
18558
|
updated_at: z.ZodISODateTime;
|
|
17535
18559
|
}, z.core.$strip>;
|
|
17536
18560
|
export declare const zUpdatePaystubBody: z.ZodObject<{
|
|
17537
|
-
payrolls_payroll_run_id: z.ZodString
|
|
17538
|
-
user_id: z.ZodString
|
|
18561
|
+
payrolls_payroll_run_id: z.ZodOptional<z.ZodString>;
|
|
18562
|
+
user_id: z.ZodOptional<z.ZodString>;
|
|
17539
18563
|
timekeeping_time_card_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17540
18564
|
external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17541
18565
|
check_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -17556,6 +18580,316 @@ export declare const zUpdatePaystubResponse: z.ZodObject<{
|
|
|
17556
18580
|
created_at: z.ZodISODateTime;
|
|
17557
18581
|
updated_at: z.ZodISODateTime;
|
|
17558
18582
|
}, z.core.$strip>;
|
|
18583
|
+
export declare const zListEmploymentHistoryPath: z.ZodObject<{
|
|
18584
|
+
employment_id: z.ZodString;
|
|
18585
|
+
}, z.core.$strip>;
|
|
18586
|
+
export declare const zListEmploymentHistoryQuery: z.ZodObject<{
|
|
18587
|
+
'as_of[valid]': z.ZodOptional<z.ZodString>;
|
|
18588
|
+
'as_of[transaction]': z.ZodOptional<z.ZodString>;
|
|
18589
|
+
'page[cursor]': z.ZodOptional<z.ZodString>;
|
|
18590
|
+
'page[limit]': z.ZodDefault<z.ZodOptional<z.ZodInt>>;
|
|
18591
|
+
page: z.ZodOptional<z.ZodString>;
|
|
18592
|
+
}, z.core.$strip>;
|
|
18593
|
+
/**
|
|
18594
|
+
* Success
|
|
18595
|
+
*/
|
|
18596
|
+
export declare const zListEmploymentHistoryResponse: z.ZodObject<{
|
|
18597
|
+
meta: z.ZodObject<{
|
|
18598
|
+
page: z.ZodObject<{
|
|
18599
|
+
next_cursor: z.ZodNullable<z.ZodString>;
|
|
18600
|
+
current_cursor: z.ZodNullable<z.ZodString>;
|
|
18601
|
+
}, z.core.$strip>;
|
|
18602
|
+
}, z.core.$strip>;
|
|
18603
|
+
links: z.ZodObject<{
|
|
18604
|
+
self: z.ZodString;
|
|
18605
|
+
first: z.ZodNullable<z.ZodString>;
|
|
18606
|
+
next: z.ZodNullable<z.ZodString>;
|
|
18607
|
+
}, z.core.$strip>;
|
|
18608
|
+
data: z.ZodArray<z.ZodObject<{
|
|
18609
|
+
people_employment_id: z.ZodString;
|
|
18610
|
+
user_id: z.ZodString;
|
|
18611
|
+
company_id: z.ZodString;
|
|
18612
|
+
type: z.ZodEnum<{
|
|
18613
|
+
EMPLOYEE: "EMPLOYEE";
|
|
18614
|
+
CONTRACTOR: "CONTRACTOR";
|
|
18615
|
+
}>;
|
|
18616
|
+
title: z.ZodNullable<z.ZodString>;
|
|
18617
|
+
compensation_type: z.ZodEnum<{
|
|
18618
|
+
hourly: "hourly";
|
|
18619
|
+
salary: "salary";
|
|
18620
|
+
}>;
|
|
18621
|
+
payroll_id: z.ZodNullable<z.ZodString>;
|
|
18622
|
+
manager_user_id: z.ZodNullable<z.ZodString>;
|
|
18623
|
+
companies_department_id: z.ZodNullable<z.ZodString>;
|
|
18624
|
+
enrolled_in_t_and_a: z.ZodBoolean;
|
|
18625
|
+
overtime_eligible: z.ZodNullable<z.ZodBoolean>;
|
|
18626
|
+
overtime_package_id: z.ZodNullable<z.ZodString>;
|
|
18627
|
+
pay_rates_rule_package_id: z.ZodNullable<z.ZodString>;
|
|
18628
|
+
pay_rates_package_id: z.ZodNullable<z.ZodString>;
|
|
18629
|
+
worked_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
18630
|
+
pto_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
18631
|
+
holiday_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
18632
|
+
training_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
18633
|
+
hourly_rate_cents: z.ZodNullable<z.ZodString>;
|
|
18634
|
+
training_annual_amount_cents: z.ZodNullable<z.ZodString>;
|
|
18635
|
+
employer_combined_health_amount_cents: z.ZodNullable<z.ZodString>;
|
|
18636
|
+
employer_combined_savings_cents: z.ZodNullable<z.ZodString>;
|
|
18637
|
+
currency: z.ZodString;
|
|
18638
|
+
valid_from: z.ZodNullable<z.ZodISODateTime>;
|
|
18639
|
+
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
18640
|
+
created_at: z.ZodISODateTime;
|
|
18641
|
+
updated_at: z.ZodISODateTime;
|
|
18642
|
+
version_status: z.ZodEnum<{
|
|
18643
|
+
scheduled: "scheduled";
|
|
18644
|
+
current: "current";
|
|
18645
|
+
historical: "historical";
|
|
18646
|
+
}>;
|
|
18647
|
+
corrections: z.ZodArray<z.ZodObject<{
|
|
18648
|
+
people_employment_id: z.ZodString;
|
|
18649
|
+
user_id: z.ZodString;
|
|
18650
|
+
company_id: z.ZodString;
|
|
18651
|
+
type: z.ZodEnum<{
|
|
18652
|
+
EMPLOYEE: "EMPLOYEE";
|
|
18653
|
+
CONTRACTOR: "CONTRACTOR";
|
|
18654
|
+
}>;
|
|
18655
|
+
title: z.ZodNullable<z.ZodString>;
|
|
18656
|
+
compensation_type: z.ZodEnum<{
|
|
18657
|
+
hourly: "hourly";
|
|
18658
|
+
salary: "salary";
|
|
18659
|
+
}>;
|
|
18660
|
+
payroll_id: z.ZodNullable<z.ZodString>;
|
|
18661
|
+
manager_user_id: z.ZodNullable<z.ZodString>;
|
|
18662
|
+
companies_department_id: z.ZodNullable<z.ZodString>;
|
|
18663
|
+
enrolled_in_t_and_a: z.ZodBoolean;
|
|
18664
|
+
overtime_eligible: z.ZodNullable<z.ZodBoolean>;
|
|
18665
|
+
overtime_package_id: z.ZodNullable<z.ZodString>;
|
|
18666
|
+
pay_rates_rule_package_id: z.ZodNullable<z.ZodString>;
|
|
18667
|
+
pay_rates_package_id: z.ZodNullable<z.ZodString>;
|
|
18668
|
+
worked_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
18669
|
+
pto_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
18670
|
+
holiday_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
18671
|
+
training_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
18672
|
+
hourly_rate_cents: z.ZodNullable<z.ZodString>;
|
|
18673
|
+
training_annual_amount_cents: z.ZodNullable<z.ZodString>;
|
|
18674
|
+
employer_combined_health_amount_cents: z.ZodNullable<z.ZodString>;
|
|
18675
|
+
employer_combined_savings_cents: z.ZodNullable<z.ZodString>;
|
|
18676
|
+
currency: z.ZodString;
|
|
18677
|
+
valid_from: z.ZodNullable<z.ZodISODateTime>;
|
|
18678
|
+
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
18679
|
+
created_at: z.ZodISODateTime;
|
|
18680
|
+
updated_at: z.ZodISODateTime;
|
|
18681
|
+
}, z.core.$strip>>;
|
|
18682
|
+
}, z.core.$strip>>;
|
|
18683
|
+
}, z.core.$strip>;
|
|
18684
|
+
export declare const zListEmploymentsHistoryQuery: z.ZodObject<{
|
|
18685
|
+
'filter[user_id]': z.ZodOptional<z.ZodString>;
|
|
18686
|
+
'as_of[valid]': z.ZodOptional<z.ZodString>;
|
|
18687
|
+
'as_of[transaction]': z.ZodOptional<z.ZodString>;
|
|
18688
|
+
filter: z.ZodOptional<z.ZodString>;
|
|
18689
|
+
'filter[unexpected]': z.ZodOptional<z.ZodString>;
|
|
18690
|
+
'page[cursor]': z.ZodOptional<z.ZodString>;
|
|
18691
|
+
'page[limit]': z.ZodDefault<z.ZodOptional<z.ZodInt>>;
|
|
18692
|
+
page: z.ZodOptional<z.ZodString>;
|
|
18693
|
+
}, z.core.$strip>;
|
|
18694
|
+
/**
|
|
18695
|
+
* Success
|
|
18696
|
+
*/
|
|
18697
|
+
export declare const zListEmploymentsHistoryResponse: z.ZodObject<{
|
|
18698
|
+
meta: z.ZodObject<{
|
|
18699
|
+
page: z.ZodObject<{
|
|
18700
|
+
next_cursor: z.ZodNullable<z.ZodString>;
|
|
18701
|
+
current_cursor: z.ZodNullable<z.ZodString>;
|
|
18702
|
+
}, z.core.$strip>;
|
|
18703
|
+
}, z.core.$strip>;
|
|
18704
|
+
links: z.ZodObject<{
|
|
18705
|
+
self: z.ZodString;
|
|
18706
|
+
first: z.ZodNullable<z.ZodString>;
|
|
18707
|
+
next: z.ZodNullable<z.ZodString>;
|
|
18708
|
+
}, z.core.$strip>;
|
|
18709
|
+
data: z.ZodArray<z.ZodObject<{
|
|
18710
|
+
people_employment_id: z.ZodString;
|
|
18711
|
+
user_id: z.ZodString;
|
|
18712
|
+
company_id: z.ZodString;
|
|
18713
|
+
type: z.ZodEnum<{
|
|
18714
|
+
EMPLOYEE: "EMPLOYEE";
|
|
18715
|
+
CONTRACTOR: "CONTRACTOR";
|
|
18716
|
+
}>;
|
|
18717
|
+
title: z.ZodNullable<z.ZodString>;
|
|
18718
|
+
compensation_type: z.ZodEnum<{
|
|
18719
|
+
hourly: "hourly";
|
|
18720
|
+
salary: "salary";
|
|
18721
|
+
}>;
|
|
18722
|
+
payroll_id: z.ZodNullable<z.ZodString>;
|
|
18723
|
+
manager_user_id: z.ZodNullable<z.ZodString>;
|
|
18724
|
+
companies_department_id: z.ZodNullable<z.ZodString>;
|
|
18725
|
+
enrolled_in_t_and_a: z.ZodBoolean;
|
|
18726
|
+
overtime_eligible: z.ZodNullable<z.ZodBoolean>;
|
|
18727
|
+
overtime_package_id: z.ZodNullable<z.ZodString>;
|
|
18728
|
+
pay_rates_rule_package_id: z.ZodNullable<z.ZodString>;
|
|
18729
|
+
pay_rates_package_id: z.ZodNullable<z.ZodString>;
|
|
18730
|
+
worked_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
18731
|
+
pto_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
18732
|
+
holiday_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
18733
|
+
training_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
18734
|
+
hourly_rate_cents: z.ZodNullable<z.ZodString>;
|
|
18735
|
+
training_annual_amount_cents: z.ZodNullable<z.ZodString>;
|
|
18736
|
+
employer_combined_health_amount_cents: z.ZodNullable<z.ZodString>;
|
|
18737
|
+
employer_combined_savings_cents: z.ZodNullable<z.ZodString>;
|
|
18738
|
+
currency: z.ZodString;
|
|
18739
|
+
valid_from: z.ZodNullable<z.ZodISODateTime>;
|
|
18740
|
+
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
18741
|
+
created_at: z.ZodISODateTime;
|
|
18742
|
+
updated_at: z.ZodISODateTime;
|
|
18743
|
+
version_status: z.ZodEnum<{
|
|
18744
|
+
scheduled: "scheduled";
|
|
18745
|
+
current: "current";
|
|
18746
|
+
historical: "historical";
|
|
18747
|
+
}>;
|
|
18748
|
+
corrections: z.ZodArray<z.ZodObject<{
|
|
18749
|
+
people_employment_id: z.ZodString;
|
|
18750
|
+
user_id: z.ZodString;
|
|
18751
|
+
company_id: z.ZodString;
|
|
18752
|
+
type: z.ZodEnum<{
|
|
18753
|
+
EMPLOYEE: "EMPLOYEE";
|
|
18754
|
+
CONTRACTOR: "CONTRACTOR";
|
|
18755
|
+
}>;
|
|
18756
|
+
title: z.ZodNullable<z.ZodString>;
|
|
18757
|
+
compensation_type: z.ZodEnum<{
|
|
18758
|
+
hourly: "hourly";
|
|
18759
|
+
salary: "salary";
|
|
18760
|
+
}>;
|
|
18761
|
+
payroll_id: z.ZodNullable<z.ZodString>;
|
|
18762
|
+
manager_user_id: z.ZodNullable<z.ZodString>;
|
|
18763
|
+
companies_department_id: z.ZodNullable<z.ZodString>;
|
|
18764
|
+
enrolled_in_t_and_a: z.ZodBoolean;
|
|
18765
|
+
overtime_eligible: z.ZodNullable<z.ZodBoolean>;
|
|
18766
|
+
overtime_package_id: z.ZodNullable<z.ZodString>;
|
|
18767
|
+
pay_rates_rule_package_id: z.ZodNullable<z.ZodString>;
|
|
18768
|
+
pay_rates_package_id: z.ZodNullable<z.ZodString>;
|
|
18769
|
+
worked_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
18770
|
+
pto_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
18771
|
+
holiday_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
18772
|
+
training_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
18773
|
+
hourly_rate_cents: z.ZodNullable<z.ZodString>;
|
|
18774
|
+
training_annual_amount_cents: z.ZodNullable<z.ZodString>;
|
|
18775
|
+
employer_combined_health_amount_cents: z.ZodNullable<z.ZodString>;
|
|
18776
|
+
employer_combined_savings_cents: z.ZodNullable<z.ZodString>;
|
|
18777
|
+
currency: z.ZodString;
|
|
18778
|
+
valid_from: z.ZodNullable<z.ZodISODateTime>;
|
|
18779
|
+
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
18780
|
+
created_at: z.ZodISODateTime;
|
|
18781
|
+
updated_at: z.ZodISODateTime;
|
|
18782
|
+
}, z.core.$strip>>;
|
|
18783
|
+
}, z.core.$strip>>;
|
|
18784
|
+
}, z.core.$strip>;
|
|
18785
|
+
export declare const zListEmploymentsQuery: z.ZodObject<{
|
|
18786
|
+
'filter[user_id]': z.ZodOptional<z.ZodString>;
|
|
18787
|
+
filter: z.ZodOptional<z.ZodString>;
|
|
18788
|
+
'filter[unexpected]': z.ZodOptional<z.ZodString>;
|
|
18789
|
+
'as_of[valid]': z.ZodOptional<z.ZodISODateTime>;
|
|
18790
|
+
as_of: z.ZodOptional<z.ZodString>;
|
|
18791
|
+
'as_of[bogus_axis]': z.ZodOptional<z.ZodString>;
|
|
18792
|
+
'as_of[valid][gte]': z.ZodOptional<z.ZodString>;
|
|
18793
|
+
'as_of[transaction]': z.ZodOptional<z.ZodString>;
|
|
18794
|
+
'page[cursor]': z.ZodOptional<z.ZodString>;
|
|
18795
|
+
'page[limit]': z.ZodDefault<z.ZodOptional<z.ZodInt>>;
|
|
18796
|
+
page: z.ZodOptional<z.ZodString>;
|
|
18797
|
+
}, z.core.$strip>;
|
|
18798
|
+
/**
|
|
18799
|
+
* Success in a gap between employment stints
|
|
18800
|
+
*/
|
|
18801
|
+
export declare const zListEmploymentsResponse: z.ZodObject<{
|
|
18802
|
+
meta: z.ZodObject<{
|
|
18803
|
+
page: z.ZodObject<{
|
|
18804
|
+
next_cursor: z.ZodNullable<z.ZodString>;
|
|
18805
|
+
current_cursor: z.ZodNullable<z.ZodString>;
|
|
18806
|
+
}, z.core.$strip>;
|
|
18807
|
+
}, z.core.$strip>;
|
|
18808
|
+
links: z.ZodObject<{
|
|
18809
|
+
self: z.ZodString;
|
|
18810
|
+
first: z.ZodNullable<z.ZodString>;
|
|
18811
|
+
next: z.ZodNullable<z.ZodString>;
|
|
18812
|
+
}, z.core.$strip>;
|
|
18813
|
+
data: z.ZodArray<z.ZodObject<{
|
|
18814
|
+
id: z.ZodString;
|
|
18815
|
+
user_id: z.ZodString;
|
|
18816
|
+
company_id: z.ZodString;
|
|
18817
|
+
type: z.ZodEnum<{
|
|
18818
|
+
EMPLOYEE: "EMPLOYEE";
|
|
18819
|
+
CONTRACTOR: "CONTRACTOR";
|
|
18820
|
+
}>;
|
|
18821
|
+
title: z.ZodNullable<z.ZodString>;
|
|
18822
|
+
compensation_type: z.ZodEnum<{
|
|
18823
|
+
hourly: "hourly";
|
|
18824
|
+
salary: "salary";
|
|
18825
|
+
}>;
|
|
18826
|
+
payroll_id: z.ZodNullable<z.ZodString>;
|
|
18827
|
+
manager_user_id: z.ZodNullable<z.ZodString>;
|
|
18828
|
+
companies_department_id: z.ZodNullable<z.ZodString>;
|
|
18829
|
+
enrolled_in_t_and_a: z.ZodBoolean;
|
|
18830
|
+
overtime_eligible: z.ZodNullable<z.ZodBoolean>;
|
|
18831
|
+
overtime_package_id: z.ZodNullable<z.ZodString>;
|
|
18832
|
+
pay_rates_rule_package_id: z.ZodNullable<z.ZodString>;
|
|
18833
|
+
pay_rates_package_id: z.ZodNullable<z.ZodString>;
|
|
18834
|
+
worked_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
18835
|
+
pto_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
18836
|
+
holiday_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
18837
|
+
training_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
18838
|
+
hourly_rate_cents: z.ZodNullable<z.ZodString>;
|
|
18839
|
+
training_annual_amount_cents: z.ZodNullable<z.ZodString>;
|
|
18840
|
+
employer_combined_health_amount_cents: z.ZodNullable<z.ZodString>;
|
|
18841
|
+
employer_combined_savings_cents: z.ZodNullable<z.ZodString>;
|
|
18842
|
+
currency: z.ZodString;
|
|
18843
|
+
valid_from: z.ZodNullable<z.ZodISODateTime>;
|
|
18844
|
+
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
18845
|
+
created_at: z.ZodISODateTime;
|
|
18846
|
+
updated_at: z.ZodISODateTime;
|
|
18847
|
+
}, z.core.$strip>>;
|
|
18848
|
+
}, z.core.$strip>;
|
|
18849
|
+
export declare const zGetEmploymentPath: z.ZodObject<{
|
|
18850
|
+
id: z.ZodString;
|
|
18851
|
+
}, z.core.$strip>;
|
|
18852
|
+
export declare const zGetEmploymentQuery: z.ZodObject<{
|
|
18853
|
+
'as_of[valid]': z.ZodOptional<z.ZodISODateTime>;
|
|
18854
|
+
}, z.core.$strip>;
|
|
18855
|
+
/**
|
|
18856
|
+
* Success
|
|
18857
|
+
*/
|
|
18858
|
+
export declare const zGetEmploymentResponse: z.ZodObject<{
|
|
18859
|
+
id: z.ZodString;
|
|
18860
|
+
user_id: z.ZodString;
|
|
18861
|
+
company_id: z.ZodString;
|
|
18862
|
+
type: z.ZodEnum<{
|
|
18863
|
+
EMPLOYEE: "EMPLOYEE";
|
|
18864
|
+
CONTRACTOR: "CONTRACTOR";
|
|
18865
|
+
}>;
|
|
18866
|
+
title: z.ZodNullable<z.ZodString>;
|
|
18867
|
+
compensation_type: z.ZodEnum<{
|
|
18868
|
+
hourly: "hourly";
|
|
18869
|
+
salary: "salary";
|
|
18870
|
+
}>;
|
|
18871
|
+
payroll_id: z.ZodNullable<z.ZodString>;
|
|
18872
|
+
manager_user_id: z.ZodNullable<z.ZodString>;
|
|
18873
|
+
companies_department_id: z.ZodNullable<z.ZodString>;
|
|
18874
|
+
enrolled_in_t_and_a: z.ZodBoolean;
|
|
18875
|
+
overtime_eligible: z.ZodNullable<z.ZodBoolean>;
|
|
18876
|
+
overtime_package_id: z.ZodNullable<z.ZodString>;
|
|
18877
|
+
pay_rates_rule_package_id: z.ZodNullable<z.ZodString>;
|
|
18878
|
+
pay_rates_package_id: z.ZodNullable<z.ZodString>;
|
|
18879
|
+
worked_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
18880
|
+
pto_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
18881
|
+
holiday_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
18882
|
+
training_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
18883
|
+
hourly_rate_cents: z.ZodNullable<z.ZodString>;
|
|
18884
|
+
training_annual_amount_cents: z.ZodNullable<z.ZodString>;
|
|
18885
|
+
employer_combined_health_amount_cents: z.ZodNullable<z.ZodString>;
|
|
18886
|
+
employer_combined_savings_cents: z.ZodNullable<z.ZodString>;
|
|
18887
|
+
currency: z.ZodString;
|
|
18888
|
+
valid_from: z.ZodNullable<z.ZodISODateTime>;
|
|
18889
|
+
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
18890
|
+
created_at: z.ZodISODateTime;
|
|
18891
|
+
updated_at: z.ZodISODateTime;
|
|
18892
|
+
}, z.core.$strip>;
|
|
17559
18893
|
export declare const zListPerDiemsQuery: z.ZodObject<{
|
|
17560
18894
|
'filter[default]': z.ZodOptional<z.ZodBoolean>;
|
|
17561
18895
|
'filter[taxable]': z.ZodOptional<z.ZodBoolean>;
|
|
@@ -17673,10 +19007,10 @@ export declare const zGetPerDiemResponse: z.ZodObject<{
|
|
|
17673
19007
|
updated_at: z.ZodISODateTime;
|
|
17674
19008
|
}, z.core.$strip>;
|
|
17675
19009
|
export declare const zUpdatePerDiemBody: z.ZodObject<{
|
|
17676
|
-
name: z.ZodString
|
|
19010
|
+
name: z.ZodOptional<z.ZodString>;
|
|
17677
19011
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17678
|
-
rate_cents: z.ZodString
|
|
17679
|
-
currency: z.ZodString
|
|
19012
|
+
rate_cents: z.ZodOptional<z.ZodString>;
|
|
19013
|
+
currency: z.ZodOptional<z.ZodString>;
|
|
17680
19014
|
taxable: z.ZodOptional<z.ZodBoolean>;
|
|
17681
19015
|
default: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
17682
19016
|
active: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
@@ -17776,8 +19110,8 @@ export declare const zGetPositionFunctionResponse: z.ZodObject<{
|
|
|
17776
19110
|
updated_at: z.ZodISODateTime;
|
|
17777
19111
|
}, z.core.$strip>;
|
|
17778
19112
|
export declare const zUpdatePositionFunctionBody: z.ZodObject<{
|
|
17779
|
-
value: z.ZodString
|
|
17780
|
-
description: z.ZodString
|
|
19113
|
+
value: z.ZodOptional<z.ZodString>;
|
|
19114
|
+
description: z.ZodOptional<z.ZodString>;
|
|
17781
19115
|
}, z.core.$strip>;
|
|
17782
19116
|
export declare const zUpdatePositionFunctionPath: z.ZodObject<{
|
|
17783
19117
|
id: z.ZodString;
|
|
@@ -18143,7 +19477,7 @@ export declare const zCreateProjectBody: z.ZodObject<{
|
|
|
18143
19477
|
external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18144
19478
|
name: z.ZodString;
|
|
18145
19479
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18146
|
-
created_by_user_id: z.
|
|
19480
|
+
created_by_user_id: z.ZodString;
|
|
18147
19481
|
start_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
|
|
18148
19482
|
end_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
|
|
18149
19483
|
tz_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -18255,7 +19589,7 @@ export declare const zGetProjectResponse: z.ZodObject<{
|
|
|
18255
19589
|
}, z.core.$strip>;
|
|
18256
19590
|
export declare const zUpdateProjectBody: z.ZodObject<{
|
|
18257
19591
|
external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18258
|
-
name: z.ZodString
|
|
19592
|
+
name: z.ZodOptional<z.ZodString>;
|
|
18259
19593
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18260
19594
|
created_by_user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18261
19595
|
start_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
|
|
@@ -18328,7 +19662,6 @@ export declare const zUpdateProjectResponse: z.ZodObject<{
|
|
|
18328
19662
|
updated_at: z.ZodISODateTime;
|
|
18329
19663
|
}, z.core.$strip>;
|
|
18330
19664
|
export declare const zCreateCompanyUserDetailBody: z.ZodObject<{
|
|
18331
|
-
company_id: z.ZodString;
|
|
18332
19665
|
user_id: z.ZodString;
|
|
18333
19666
|
address1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18334
19667
|
address2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -18520,8 +19853,6 @@ export declare const zCreateCompanyUserDetailResponse: z.ZodObject<{
|
|
|
18520
19853
|
}>>>;
|
|
18521
19854
|
}, z.core.$strip>;
|
|
18522
19855
|
export declare const zUpdateCompanyUserDetailBody: z.ZodObject<{
|
|
18523
|
-
company_id: z.ZodString;
|
|
18524
|
-
user_id: z.ZodString;
|
|
18525
19856
|
address1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18526
19857
|
address2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18527
19858
|
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -19372,7 +20703,7 @@ export declare const zListTimeCardPerDiemsResponse: z.ZodObject<{
|
|
|
19372
20703
|
export declare const zCreateTimeCardPerDiemBody: z.ZodObject<{
|
|
19373
20704
|
date: z.ZodISODate;
|
|
19374
20705
|
approver_user_id: z.ZodString;
|
|
19375
|
-
per_diem_id: z.ZodString
|
|
20706
|
+
per_diem_id: z.ZodOptional<z.ZodString>;
|
|
19376
20707
|
}, z.core.$strip>;
|
|
19377
20708
|
export declare const zCreateTimeCardPerDiemPath: z.ZodObject<{
|
|
19378
20709
|
time_card_id: z.ZodString;
|
|
@@ -19412,9 +20743,9 @@ export declare const zDeleteTimeCardPerDiemResponse: z.ZodObject<{
|
|
|
19412
20743
|
updated_at: z.ZodISODateTime;
|
|
19413
20744
|
}, z.core.$strip>;
|
|
19414
20745
|
export declare const zUpdateTimeCardPerDiemBody: z.ZodObject<{
|
|
19415
|
-
date: z.ZodISODate
|
|
19416
|
-
approver_user_id: z.ZodString
|
|
19417
|
-
per_diem_id: z.ZodString
|
|
20746
|
+
date: z.ZodOptional<z.ZodISODate>;
|
|
20747
|
+
approver_user_id: z.ZodOptional<z.ZodString>;
|
|
20748
|
+
per_diem_id: z.ZodOptional<z.ZodString>;
|
|
19418
20749
|
}, z.core.$strip>;
|
|
19419
20750
|
export declare const zUpdateTimeCardPerDiemPath: z.ZodObject<{
|
|
19420
20751
|
time_card_id: z.ZodString;
|
|
@@ -20537,7 +21868,7 @@ export declare const zGetTimecodeResponse: z.ZodObject<{
|
|
|
20537
21868
|
export declare const zUpdateTimecodeBody: z.ZodObject<{
|
|
20538
21869
|
effective_from: z.ZodOptional<z.ZodISODateTime>;
|
|
20539
21870
|
effective_to: z.ZodOptional<z.ZodISODateTime>;
|
|
20540
|
-
name: z.ZodString
|
|
21871
|
+
name: z.ZodOptional<z.ZodString>;
|
|
20541
21872
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20542
21873
|
description_is_required: z.ZodOptional<z.ZodBoolean>;
|
|
20543
21874
|
billable: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -21148,13 +22479,13 @@ export declare const zDeleteHolidayResponse: z.ZodObject<{
|
|
|
21148
22479
|
updated_at: z.ZodISODateTime;
|
|
21149
22480
|
}, z.core.$strip>;
|
|
21150
22481
|
export declare const zUpdateHolidayBody: z.ZodObject<{
|
|
21151
|
-
name: z.ZodString
|
|
22482
|
+
name: z.ZodOptional<z.ZodString>;
|
|
21152
22483
|
date: z.ZodOptional<z.ZodISODate>;
|
|
21153
|
-
holiday_type: z.ZodEnum<{
|
|
22484
|
+
holiday_type: z.ZodOptional<z.ZodEnum<{
|
|
21154
22485
|
fixed: "fixed";
|
|
21155
22486
|
floating: "floating";
|
|
21156
|
-
}
|
|
21157
|
-
month: z.ZodInt
|
|
22487
|
+
}>>;
|
|
22488
|
+
month: z.ZodOptional<z.ZodInt>;
|
|
21158
22489
|
mday: z.ZodOptional<z.ZodInt>;
|
|
21159
22490
|
wday: z.ZodOptional<z.ZodInt>;
|
|
21160
22491
|
week: z.ZodOptional<z.ZodInt>;
|