@dsptch-work/api-client 0.22.0 → 0.24.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 +37 -0
- package/dist/gen/index.d.ts +1 -1
- package/dist/gen/sdk.gen.d.ts +126 -9
- package/dist/gen/sdk.gen.js +179 -8
- package/dist/gen/types.gen.d.ts +483 -29
- package/dist/gen/zod.gen.d.ts +301 -12
- package/dist/gen/zod.gen.js +143 -18
- package/package.json +1 -1
package/dist/gen/zod.gen.d.ts
CHANGED
|
@@ -540,11 +540,12 @@ export declare const zApprenticeshipWageScheduleResponseObject: z.ZodObject<{
|
|
|
540
540
|
end_wage_currency: z.ZodString;
|
|
541
541
|
journeyworker_wage_cents: z.ZodString;
|
|
542
542
|
journeyworker_wage_currency: z.ZodString;
|
|
543
|
+
journeyworker_fringe_cents: z.ZodNullable<z.ZodString>;
|
|
543
544
|
created_at: z.ZodISODateTime;
|
|
544
545
|
updated_at: z.ZodISODateTime;
|
|
545
546
|
}, z.core.$strip>;
|
|
546
547
|
/**
|
|
547
|
-
* One step in a wage schedule's progression — the apprentice's pay, as a percentage of the journeyworker wage, for a band of accumulated hours or a number of competencies.
|
|
548
|
+
* One step in a wage schedule's progression — the apprentice's pay, as a percentage of the journeyworker wage, for a band of accumulated hours or a number of competencies. A period may also list its apprentices' fringe, as a percentage of the charged wage determination's fringe or as a fixed hourly amount, and an in-ratio apprentice is obligated at that fringe. The listing is ignored — fringe is priced as if nothing were listed — when the apprentice is out of ratio, on a regional Illinois wage determination, or on an apprentice-basis wage determination, which carries its own apprentice fringe.
|
|
548
549
|
*/
|
|
549
550
|
export declare const zApprenticeshipWageSchedulePeriodResponseObject: z.ZodObject<{
|
|
550
551
|
id: z.ZodString;
|
|
@@ -557,6 +558,8 @@ export declare const zApprenticeshipWageSchedulePeriodResponseObject: z.ZodObjec
|
|
|
557
558
|
wage_percent: z.ZodString;
|
|
558
559
|
wage_cents: z.ZodString;
|
|
559
560
|
wage_currency: z.ZodString;
|
|
561
|
+
fringe_percent: z.ZodNullable<z.ZodString>;
|
|
562
|
+
fringe_cents: z.ZodNullable<z.ZodString>;
|
|
560
563
|
created_at: z.ZodISODateTime;
|
|
561
564
|
updated_at: z.ZodISODateTime;
|
|
562
565
|
}, z.core.$strip>;
|
|
@@ -609,9 +612,22 @@ export declare const zApprenticeshipAllocationResponseObject: z.ZodObject<{
|
|
|
609
612
|
updated_at: z.ZodISODateTime;
|
|
610
613
|
}, z.core.$strip>;
|
|
611
614
|
/**
|
|
612
|
-
*
|
|
615
|
+
* Record hours toward an apprentice's wage progression. Creation requires a user-scoped API key, since the row attributes the hours to the person who recorded them. Omit timekeeping_time_card_id for a standalone allocation entered outside the time card system, or supply it to link the allocation to one of the apprentice's own time cards; the effective timestamp then derives from the card's pay period and cannot be overridden. Recording the allocation rebuilds progression and requests wage repricing in the background.
|
|
616
|
+
*/
|
|
617
|
+
export declare const zApprenticeshipAllocationCreateParameters: z.ZodObject<{
|
|
618
|
+
apprenticeship_work_process_category_id: z.ZodOptional<z.ZodString>;
|
|
619
|
+
timekeeping_time_card_id: z.ZodOptional<z.ZodString>;
|
|
620
|
+
minutes: z.ZodInt;
|
|
621
|
+
description: z.ZodOptional<z.ZodString>;
|
|
622
|
+
allocated_at: z.ZodOptional<z.ZodISODateTime>;
|
|
623
|
+
}, z.core.$strip>;
|
|
624
|
+
/**
|
|
625
|
+
* Correct an existing allocation's hours, work process category, description, or (for a standalone allocation) effective timestamp. The time card an allocation is linked to cannot be changed after creation. Any change that shifts progression rebuilds it and requests historical wage repricing in the background, including locked time cards.
|
|
613
626
|
*/
|
|
614
627
|
export declare const zApprenticeshipAllocationUpdateParameters: z.ZodObject<{
|
|
628
|
+
apprenticeship_work_process_category_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
629
|
+
minutes: z.ZodOptional<z.ZodInt>;
|
|
630
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
615
631
|
allocated_at: z.ZodOptional<z.ZodISODateTime>;
|
|
616
632
|
}, z.core.$strip>;
|
|
617
633
|
/**
|
|
@@ -713,7 +729,7 @@ export declare const zApprenticeshipProgramEmployerUpdateParameters: z.ZodObject
|
|
|
713
729
|
require_timecard_allocation: z.ZodOptional<z.ZodBoolean>;
|
|
714
730
|
}, z.core.$strip>;
|
|
715
731
|
/**
|
|
716
|
-
* Create a period on a wage schedule; the wage schedule is taken from the URL path. wage_cents
|
|
732
|
+
* Create a period on a wage schedule; the wage schedule is taken from the URL path. wage_cents and fringe_cents are sent as integer cents.
|
|
717
733
|
*/
|
|
718
734
|
export declare const zApprenticeshipWageSchedulePeriodParameters: z.ZodObject<{
|
|
719
735
|
period_number: z.ZodInt;
|
|
@@ -723,9 +739,11 @@ export declare const zApprenticeshipWageSchedulePeriodParameters: z.ZodObject<{
|
|
|
723
739
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
724
740
|
wage_percent: z.ZodNumber;
|
|
725
741
|
wage_cents: z.ZodInt;
|
|
742
|
+
fringe_percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
743
|
+
fringe_cents: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
726
744
|
}, z.core.$strip>;
|
|
727
745
|
/**
|
|
728
|
-
* 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
|
|
746
|
+
* 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 and fringe_cents are sent as integer cents.
|
|
729
747
|
*/
|
|
730
748
|
export declare const zApprenticeshipWageSchedulePeriodUpdateParameters: z.ZodObject<{
|
|
731
749
|
period_number: z.ZodOptional<z.ZodInt>;
|
|
@@ -735,6 +753,8 @@ export declare const zApprenticeshipWageSchedulePeriodUpdateParameters: z.ZodObj
|
|
|
735
753
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
736
754
|
wage_percent: z.ZodOptional<z.ZodNumber>;
|
|
737
755
|
wage_cents: z.ZodOptional<z.ZodInt>;
|
|
756
|
+
fringe_percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
757
|
+
fringe_cents: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
738
758
|
}, z.core.$strip>;
|
|
739
759
|
/**
|
|
740
760
|
* 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.
|
|
@@ -767,6 +787,7 @@ export declare const zApprenticeshipWageScheduleParameters: z.ZodObject<{
|
|
|
767
787
|
year: "year";
|
|
768
788
|
}>;
|
|
769
789
|
journeyworker_wage_cents: z.ZodOptional<z.ZodInt>;
|
|
790
|
+
journeyworker_fringe_cents: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
770
791
|
end_wage_cents: z.ZodOptional<z.ZodInt>;
|
|
771
792
|
periods_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
772
793
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -777,6 +798,8 @@ export declare const zApprenticeshipWageScheduleParameters: z.ZodObject<{
|
|
|
777
798
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
778
799
|
wage_percent: z.ZodNumber;
|
|
779
800
|
wage_cents: z.ZodInt;
|
|
801
|
+
fringe_percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
802
|
+
fringe_cents: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
780
803
|
_destroy: z.ZodOptional<z.ZodBoolean>;
|
|
781
804
|
}, z.core.$strip>>>;
|
|
782
805
|
}, z.core.$strip>;
|
|
@@ -811,6 +834,7 @@ export declare const zApprenticeshipWageScheduleUpdateParameters: z.ZodObject<{
|
|
|
811
834
|
year: "year";
|
|
812
835
|
}>>;
|
|
813
836
|
journeyworker_wage_cents: z.ZodOptional<z.ZodInt>;
|
|
837
|
+
journeyworker_fringe_cents: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
814
838
|
end_wage_cents: z.ZodOptional<z.ZodInt>;
|
|
815
839
|
periods_attributes: z.ZodOptional<z.ZodArray<z.ZodIntersection<z.ZodUnion<readonly [z.ZodUnknown, z.ZodUnion<readonly [z.ZodObject<{
|
|
816
840
|
min_minutes: z.ZodInt;
|
|
@@ -829,6 +853,8 @@ export declare const zApprenticeshipWageScheduleUpdateParameters: z.ZodObject<{
|
|
|
829
853
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
830
854
|
wage_percent: z.ZodOptional<z.ZodNumber>;
|
|
831
855
|
wage_cents: z.ZodOptional<z.ZodInt>;
|
|
856
|
+
fringe_percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
857
|
+
fringe_cents: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
832
858
|
_destroy: z.ZodOptional<z.ZodBoolean>;
|
|
833
859
|
}, z.core.$strip>>>>;
|
|
834
860
|
}, z.core.$strip>;
|
|
@@ -933,7 +959,7 @@ export declare const zPeopleEmploymentCreateParameters: z.ZodObject<{
|
|
|
933
959
|
employer_combined_savings_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
934
960
|
}, z.core.$strip>;
|
|
935
961
|
/**
|
|
936
|
-
* Request body for creating one
|
|
962
|
+
* Request body for creating one employment boundary. effective_date is required and is interpreted at midnight in the credential company's time zone. Today and past dates must fall inside the family's latest version, before its termination; future dates retain scheduling behavior. Send at least one value to change; omitted values carry forward from the version immediately before the new boundary.
|
|
937
963
|
*/
|
|
938
964
|
export declare const zPeopleEmploymentScheduledChangeCreateParameters: z.ZodObject<{
|
|
939
965
|
compensation_type: z.ZodOptional<z.ZodEnum<{
|
|
@@ -950,10 +976,11 @@ export declare const zPeopleEmploymentScheduledChangeCreateParameters: z.ZodObje
|
|
|
950
976
|
training_annual_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
951
977
|
employer_combined_health_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
952
978
|
employer_combined_savings_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
979
|
+
companies_department_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
953
980
|
effective_date: z.ZodISODate;
|
|
954
981
|
}, z.core.$strip>;
|
|
955
982
|
/**
|
|
956
|
-
* Request body for changing values at one exact
|
|
983
|
+
* Request body for changing values at one exact employment boundary. Today and past dates must name the latest version's start; future exact boundaries remain editable. Send only the fields to change; omitted values remain as recorded at that boundary. The boundary date cannot move.
|
|
957
984
|
*/
|
|
958
985
|
export declare const zPeopleEmploymentScheduledChangeUpdateParameters: z.ZodObject<{
|
|
959
986
|
compensation_type: z.ZodOptional<z.ZodEnum<{
|
|
@@ -970,6 +997,7 @@ export declare const zPeopleEmploymentScheduledChangeUpdateParameters: z.ZodObje
|
|
|
970
997
|
training_annual_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
971
998
|
employer_combined_health_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
972
999
|
employer_combined_savings_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1000
|
+
companies_department_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
973
1001
|
}, z.core.$strip>;
|
|
974
1002
|
/**
|
|
975
1003
|
* Parameters for moving where an employment stint's valid-time timeline begins.
|
|
@@ -983,6 +1011,32 @@ export declare const zPeopleEmploymentGenesisParameters: z.ZodObject<{
|
|
|
983
1011
|
export declare const zPeopleEmploymentScheduledTerminationParameters: z.ZodObject<{
|
|
984
1012
|
effective_date: z.ZodISODate;
|
|
985
1013
|
}, z.core.$strip>;
|
|
1014
|
+
/**
|
|
1015
|
+
* Request body for correcting an employment stint's operational details from its first recorded boundary forward. Send only the fields to change. A submitted value that already applies at the first boundary is a no-op, even when a later version differs.
|
|
1016
|
+
*/
|
|
1017
|
+
export declare const zPeopleEmploymentUpdateParameters: z.ZodObject<{
|
|
1018
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
1019
|
+
EMPLOYEE: "EMPLOYEE";
|
|
1020
|
+
CONTRACTOR: "CONTRACTOR";
|
|
1021
|
+
}>>;
|
|
1022
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1023
|
+
manager_user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1024
|
+
payroll_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1025
|
+
enrolled_in_t_and_a: z.ZodOptional<z.ZodBoolean>;
|
|
1026
|
+
}, z.core.$strip>;
|
|
1027
|
+
export declare const zPeopleEmploymentCustomFieldResponseObject: z.ZodObject<{
|
|
1028
|
+
custom_field_config_id: z.ZodString;
|
|
1029
|
+
value: z.ZodNullable<z.ZodString>;
|
|
1030
|
+
}, z.core.$strip>;
|
|
1031
|
+
/**
|
|
1032
|
+
* Update stored custom-field values for one employment family in a single batch. The batch must contain at least one row. Omitted configurations keep their values, and an explicit null is stored.
|
|
1033
|
+
*/
|
|
1034
|
+
export declare const zPeopleEmploymentCustomFieldsUpdateParameters: z.ZodObject<{
|
|
1035
|
+
custom_fields: z.ZodArray<z.ZodObject<{
|
|
1036
|
+
custom_field_config_id: z.ZodString;
|
|
1037
|
+
value: z.ZodNullable<z.ZodString>;
|
|
1038
|
+
}, z.core.$strip>>;
|
|
1039
|
+
}, z.core.$strip>;
|
|
986
1040
|
export declare const zPeopleEmploymentHistoryCorrectionObject: z.ZodObject<{
|
|
987
1041
|
people_employment_id: z.ZodString;
|
|
988
1042
|
user_id: z.ZodString;
|
|
@@ -2926,6 +2980,8 @@ export declare const zAggregateTimeImportResponseObject: z.ZodObject<{
|
|
|
2926
2980
|
success: "success";
|
|
2927
2981
|
processing: "processing";
|
|
2928
2982
|
processed: "processed";
|
|
2983
|
+
superseded: "superseded";
|
|
2984
|
+
withdrawn: "withdrawn";
|
|
2929
2985
|
}>;
|
|
2930
2986
|
processed_rows_count: z.ZodInt;
|
|
2931
2987
|
processing_errors: z.ZodArray<z.ZodObject<{
|
|
@@ -2960,6 +3016,8 @@ export declare const zDsptchCprImportResponseObject: z.ZodObject<{
|
|
|
2960
3016
|
success: "success";
|
|
2961
3017
|
processing: "processing";
|
|
2962
3018
|
processed: "processed";
|
|
3019
|
+
superseded: "superseded";
|
|
3020
|
+
withdrawn: "withdrawn";
|
|
2963
3021
|
}>;
|
|
2964
3022
|
processed_rows_count: z.ZodInt;
|
|
2965
3023
|
processing_errors: z.ZodArray<z.ZodObject<{
|
|
@@ -2994,6 +3052,8 @@ export declare const zPaystubImportResponseObject: z.ZodObject<{
|
|
|
2994
3052
|
success: "success";
|
|
2995
3053
|
processing: "processing";
|
|
2996
3054
|
processed: "processed";
|
|
3055
|
+
superseded: "superseded";
|
|
3056
|
+
withdrawn: "withdrawn";
|
|
2997
3057
|
}>;
|
|
2998
3058
|
processed_rows_count: z.ZodInt;
|
|
2999
3059
|
processing_errors: z.ZodArray<z.ZodObject<{
|
|
@@ -3028,6 +3088,8 @@ export declare const zTimeEntryImportResponseObject: z.ZodObject<{
|
|
|
3028
3088
|
success: "success";
|
|
3029
3089
|
processing: "processing";
|
|
3030
3090
|
processed: "processed";
|
|
3091
|
+
superseded: "superseded";
|
|
3092
|
+
withdrawn: "withdrawn";
|
|
3031
3093
|
}>;
|
|
3032
3094
|
processed_rows_count: z.ZodInt;
|
|
3033
3095
|
processing_errors: z.ZodArray<z.ZodObject<{
|
|
@@ -4732,7 +4794,7 @@ export declare const zFormAssignmentTaskResponseObject: z.ZodArray<z.ZodObject<{
|
|
|
4732
4794
|
}, z.core.$strip>>;
|
|
4733
4795
|
}, z.core.$strip>>;
|
|
4734
4796
|
/**
|
|
4735
|
-
* 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.
|
|
4797
|
+
* 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. Only the keys listed here are accepted — any other key is rejected with 400 unknown_key.
|
|
4736
4798
|
*/
|
|
4737
4799
|
export declare const zCertificationParameters: z.ZodObject<{
|
|
4738
4800
|
company_id: z.ZodString;
|
|
@@ -4742,10 +4804,9 @@ export declare const zCertificationParameters: z.ZodObject<{
|
|
|
4742
4804
|
duration: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4743
4805
|
}, z.core.$strip>;
|
|
4744
4806
|
/**
|
|
4745
|
-
* 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.
|
|
4807
|
+
* 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. company_id is absent by design — the certification's company is fixed at creation, so sending the key is rejected with 400 unknown_key, as is any other key not listed here.
|
|
4746
4808
|
*/
|
|
4747
4809
|
export declare const zCertificationUpdateParameters: z.ZodObject<{
|
|
4748
|
-
company_id: z.ZodOptional<z.ZodString>;
|
|
4749
4810
|
name: z.ZodOptional<z.ZodString>;
|
|
4750
4811
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4751
4812
|
verified: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -4766,7 +4827,7 @@ export declare const zCertificationPackageResponseObject: z.ZodObject<{
|
|
|
4766
4827
|
updated_at: z.ZodISODateTime;
|
|
4767
4828
|
}, z.core.$strip>;
|
|
4768
4829
|
/**
|
|
4769
|
-
* Request body for creating a certification package — a named set of certifications a company requires together.
|
|
4830
|
+
* Request body for creating a certification package — a named set of certifications a company requires together. The package belongs to the company that owns the API key. Only the keys listed here are accepted — any other key is rejected with 400 unknown_key.
|
|
4770
4831
|
*/
|
|
4771
4832
|
export declare const zCertificationPackageParameters: z.ZodObject<{
|
|
4772
4833
|
name: z.ZodString;
|
|
@@ -4775,7 +4836,7 @@ export declare const zCertificationPackageParameters: z.ZodObject<{
|
|
|
4775
4836
|
performed_by_user_id: z.ZodString;
|
|
4776
4837
|
}, z.core.$strip>;
|
|
4777
4838
|
/**
|
|
4778
|
-
* Request body for updating a certification package — a named set of certifications a company requires together. Include only the fields to change.
|
|
4839
|
+
* Request body for updating a certification package — a named set of certifications a company requires together. Include only the fields to change. Any key not listed here is rejected with 400 unknown_key.
|
|
4779
4840
|
*/
|
|
4780
4841
|
export declare const zCertificationPackageUpdateParameters: z.ZodObject<{
|
|
4781
4842
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -8807,6 +8868,33 @@ export declare const zListAllocationsResponse: z.ZodObject<{
|
|
|
8807
8868
|
updated_at: z.ZodISODateTime;
|
|
8808
8869
|
}, z.core.$strip>>;
|
|
8809
8870
|
}, z.core.$strip>;
|
|
8871
|
+
export declare const zCreateAllocationBody: z.ZodObject<{
|
|
8872
|
+
apprenticeship_work_process_category_id: z.ZodOptional<z.ZodString>;
|
|
8873
|
+
timekeeping_time_card_id: z.ZodOptional<z.ZodString>;
|
|
8874
|
+
minutes: z.ZodInt;
|
|
8875
|
+
description: z.ZodOptional<z.ZodString>;
|
|
8876
|
+
allocated_at: z.ZodOptional<z.ZodISODateTime>;
|
|
8877
|
+
}, z.core.$strip>;
|
|
8878
|
+
export declare const zCreateAllocationPath: z.ZodObject<{
|
|
8879
|
+
apprentice_id: z.ZodString;
|
|
8880
|
+
}, z.core.$strip>;
|
|
8881
|
+
/**
|
|
8882
|
+
* Created
|
|
8883
|
+
*/
|
|
8884
|
+
export declare const zCreateAllocationResponse: z.ZodObject<{
|
|
8885
|
+
id: z.ZodString;
|
|
8886
|
+
apprenticeship_apprentice_id: z.ZodString;
|
|
8887
|
+
apprenticeship_work_process_category_id: z.ZodNullable<z.ZodString>;
|
|
8888
|
+
allocated_by_user_id: z.ZodString;
|
|
8889
|
+
timekeeping_time_card_id: z.ZodNullable<z.ZodString>;
|
|
8890
|
+
minutes: z.ZodInt;
|
|
8891
|
+
description: z.ZodNullable<z.ZodString>;
|
|
8892
|
+
allocated_at: z.ZodISODateTime;
|
|
8893
|
+
cumulative_minutes: z.ZodInt;
|
|
8894
|
+
apprenticeship_wage_schedule_period_id: z.ZodString;
|
|
8895
|
+
created_at: z.ZodISODateTime;
|
|
8896
|
+
updated_at: z.ZodISODateTime;
|
|
8897
|
+
}, z.core.$strip>;
|
|
8810
8898
|
export declare const zGetAllocationPath: z.ZodObject<{
|
|
8811
8899
|
apprentice_id: z.ZodString;
|
|
8812
8900
|
id: z.ZodString;
|
|
@@ -8829,6 +8917,9 @@ export declare const zGetAllocationResponse: z.ZodObject<{
|
|
|
8829
8917
|
updated_at: z.ZodISODateTime;
|
|
8830
8918
|
}, z.core.$strip>;
|
|
8831
8919
|
export declare const zUpdateAllocationBody: z.ZodObject<{
|
|
8920
|
+
apprenticeship_work_process_category_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8921
|
+
minutes: z.ZodOptional<z.ZodInt>;
|
|
8922
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8832
8923
|
allocated_at: z.ZodOptional<z.ZodISODateTime>;
|
|
8833
8924
|
}, z.core.$strip>;
|
|
8834
8925
|
export declare const zUpdateAllocationPath: z.ZodObject<{
|
|
@@ -9329,6 +9420,8 @@ export declare const zListPeriodsResponse: z.ZodObject<{
|
|
|
9329
9420
|
wage_percent: z.ZodString;
|
|
9330
9421
|
wage_cents: z.ZodString;
|
|
9331
9422
|
wage_currency: z.ZodString;
|
|
9423
|
+
fringe_percent: z.ZodNullable<z.ZodString>;
|
|
9424
|
+
fringe_cents: z.ZodNullable<z.ZodString>;
|
|
9332
9425
|
created_at: z.ZodISODateTime;
|
|
9333
9426
|
updated_at: z.ZodISODateTime;
|
|
9334
9427
|
}, z.core.$strip>>;
|
|
@@ -9341,6 +9434,8 @@ export declare const zCreatePeriodBody: z.ZodObject<{
|
|
|
9341
9434
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9342
9435
|
wage_percent: z.ZodNumber;
|
|
9343
9436
|
wage_cents: z.ZodInt;
|
|
9437
|
+
fringe_percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
9438
|
+
fringe_cents: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
9344
9439
|
}, z.core.$strip>;
|
|
9345
9440
|
export declare const zCreatePeriodPath: z.ZodObject<{
|
|
9346
9441
|
wage_schedule_id: z.ZodString;
|
|
@@ -9359,6 +9454,8 @@ export declare const zCreatePeriodResponse: z.ZodObject<{
|
|
|
9359
9454
|
wage_percent: z.ZodString;
|
|
9360
9455
|
wage_cents: z.ZodString;
|
|
9361
9456
|
wage_currency: z.ZodString;
|
|
9457
|
+
fringe_percent: z.ZodNullable<z.ZodString>;
|
|
9458
|
+
fringe_cents: z.ZodNullable<z.ZodString>;
|
|
9362
9459
|
created_at: z.ZodISODateTime;
|
|
9363
9460
|
updated_at: z.ZodISODateTime;
|
|
9364
9461
|
}, z.core.$strip>;
|
|
@@ -9370,6 +9467,8 @@ export declare const zUpdatePeriodBody: z.ZodObject<{
|
|
|
9370
9467
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9371
9468
|
wage_percent: z.ZodOptional<z.ZodNumber>;
|
|
9372
9469
|
wage_cents: z.ZodOptional<z.ZodInt>;
|
|
9470
|
+
fringe_percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
9471
|
+
fringe_cents: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
9373
9472
|
}, z.core.$strip>;
|
|
9374
9473
|
export declare const zUpdatePeriodPath: z.ZodObject<{
|
|
9375
9474
|
wage_schedule_id: z.ZodString;
|
|
@@ -9389,6 +9488,8 @@ export declare const zUpdatePeriodResponse: z.ZodObject<{
|
|
|
9389
9488
|
wage_percent: z.ZodString;
|
|
9390
9489
|
wage_cents: z.ZodString;
|
|
9391
9490
|
wage_currency: z.ZodString;
|
|
9491
|
+
fringe_percent: z.ZodNullable<z.ZodString>;
|
|
9492
|
+
fringe_cents: z.ZodNullable<z.ZodString>;
|
|
9392
9493
|
created_at: z.ZodISODateTime;
|
|
9393
9494
|
updated_at: z.ZodISODateTime;
|
|
9394
9495
|
}, z.core.$strip>;
|
|
@@ -9454,6 +9555,7 @@ export declare const zListWageSchedulesResponse: z.ZodObject<{
|
|
|
9454
9555
|
end_wage_currency: z.ZodString;
|
|
9455
9556
|
journeyworker_wage_cents: z.ZodString;
|
|
9456
9557
|
journeyworker_wage_currency: z.ZodString;
|
|
9558
|
+
journeyworker_fringe_cents: z.ZodNullable<z.ZodString>;
|
|
9457
9559
|
created_at: z.ZodISODateTime;
|
|
9458
9560
|
updated_at: z.ZodISODateTime;
|
|
9459
9561
|
}, z.core.$strip>>;
|
|
@@ -9486,6 +9588,7 @@ export declare const zCreateWageScheduleBody: z.ZodObject<{
|
|
|
9486
9588
|
year: "year";
|
|
9487
9589
|
}>;
|
|
9488
9590
|
journeyworker_wage_cents: z.ZodOptional<z.ZodInt>;
|
|
9591
|
+
journeyworker_fringe_cents: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
9489
9592
|
end_wage_cents: z.ZodOptional<z.ZodInt>;
|
|
9490
9593
|
periods_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
9491
9594
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -9496,6 +9599,8 @@ export declare const zCreateWageScheduleBody: z.ZodObject<{
|
|
|
9496
9599
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9497
9600
|
wage_percent: z.ZodNumber;
|
|
9498
9601
|
wage_cents: z.ZodInt;
|
|
9602
|
+
fringe_percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
9603
|
+
fringe_cents: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
9499
9604
|
_destroy: z.ZodOptional<z.ZodBoolean>;
|
|
9500
9605
|
}, z.core.$strip>>>;
|
|
9501
9606
|
}, z.core.$strip>;
|
|
@@ -9538,6 +9643,7 @@ export declare const zCreateWageScheduleResponse: z.ZodObject<{
|
|
|
9538
9643
|
end_wage_currency: z.ZodString;
|
|
9539
9644
|
journeyworker_wage_cents: z.ZodString;
|
|
9540
9645
|
journeyworker_wage_currency: z.ZodString;
|
|
9646
|
+
journeyworker_fringe_cents: z.ZodNullable<z.ZodString>;
|
|
9541
9647
|
created_at: z.ZodISODateTime;
|
|
9542
9648
|
updated_at: z.ZodISODateTime;
|
|
9543
9649
|
}, z.core.$strip>;
|
|
@@ -9569,6 +9675,7 @@ export declare const zUpdateWageScheduleBody: z.ZodObject<{
|
|
|
9569
9675
|
year: "year";
|
|
9570
9676
|
}>>;
|
|
9571
9677
|
journeyworker_wage_cents: z.ZodOptional<z.ZodInt>;
|
|
9678
|
+
journeyworker_fringe_cents: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
9572
9679
|
end_wage_cents: z.ZodOptional<z.ZodInt>;
|
|
9573
9680
|
periods_attributes: z.ZodOptional<z.ZodArray<z.ZodIntersection<z.ZodUnion<readonly [z.ZodUnknown, z.ZodUnion<readonly [z.ZodObject<{
|
|
9574
9681
|
min_minutes: z.ZodInt;
|
|
@@ -9587,6 +9694,8 @@ export declare const zUpdateWageScheduleBody: z.ZodObject<{
|
|
|
9587
9694
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9588
9695
|
wage_percent: z.ZodOptional<z.ZodNumber>;
|
|
9589
9696
|
wage_cents: z.ZodOptional<z.ZodInt>;
|
|
9697
|
+
fringe_percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
9698
|
+
fringe_cents: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
9590
9699
|
_destroy: z.ZodOptional<z.ZodBoolean>;
|
|
9591
9700
|
}, z.core.$strip>>>>;
|
|
9592
9701
|
}, z.core.$strip>;
|
|
@@ -9630,6 +9739,7 @@ export declare const zUpdateWageScheduleResponse: z.ZodObject<{
|
|
|
9630
9739
|
end_wage_currency: z.ZodString;
|
|
9631
9740
|
journeyworker_wage_cents: z.ZodString;
|
|
9632
9741
|
journeyworker_wage_currency: z.ZodString;
|
|
9742
|
+
journeyworker_fringe_cents: z.ZodNullable<z.ZodString>;
|
|
9633
9743
|
created_at: z.ZodISODateTime;
|
|
9634
9744
|
updated_at: z.ZodISODateTime;
|
|
9635
9745
|
}, z.core.$strip>;
|
|
@@ -13806,7 +13916,6 @@ export declare const zGetCertificationResponse: z.ZodObject<{
|
|
|
13806
13916
|
updated_at: z.ZodISODateTime;
|
|
13807
13917
|
}, z.core.$strip>;
|
|
13808
13918
|
export declare const zUpdateCertificationBody: z.ZodObject<{
|
|
13809
|
-
company_id: z.ZodOptional<z.ZodString>;
|
|
13810
13919
|
name: z.ZodOptional<z.ZodString>;
|
|
13811
13920
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13812
13921
|
verified: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -13878,6 +13987,27 @@ export declare const zCreateDepartmentResponse: z.ZodObject<{
|
|
|
13878
13987
|
created_at: z.ZodISODateTime;
|
|
13879
13988
|
updated_at: z.ZodISODateTime;
|
|
13880
13989
|
}, z.core.$strip>;
|
|
13990
|
+
export declare const zDeleteDepartmentPath: z.ZodObject<{
|
|
13991
|
+
id: z.ZodString;
|
|
13992
|
+
}, z.core.$strip>;
|
|
13993
|
+
/**
|
|
13994
|
+
* No Content
|
|
13995
|
+
*/
|
|
13996
|
+
export declare const zDeleteDepartmentResponse: z.ZodVoid;
|
|
13997
|
+
export declare const zGetDepartmentPath: z.ZodObject<{
|
|
13998
|
+
id: z.ZodString;
|
|
13999
|
+
}, z.core.$strip>;
|
|
14000
|
+
/**
|
|
14001
|
+
* Success
|
|
14002
|
+
*/
|
|
14003
|
+
export declare const zGetDepartmentResponse: z.ZodObject<{
|
|
14004
|
+
id: z.ZodString;
|
|
14005
|
+
name: z.ZodString;
|
|
14006
|
+
description: z.ZodNullable<z.ZodString>;
|
|
14007
|
+
company_id: z.ZodString;
|
|
14008
|
+
created_at: z.ZodISODateTime;
|
|
14009
|
+
updated_at: z.ZodISODateTime;
|
|
14010
|
+
}, z.core.$strip>;
|
|
13881
14011
|
export declare const zUpdateDepartmentBody: z.ZodObject<{
|
|
13882
14012
|
name: z.ZodOptional<z.ZodString>;
|
|
13883
14013
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -16207,6 +16337,8 @@ export declare const zListJobsQuery: z.ZodObject<{
|
|
|
16207
16337
|
feature: "feature";
|
|
16208
16338
|
quantity: "quantity";
|
|
16209
16339
|
}>>;
|
|
16340
|
+
'filter[name]': z.ZodOptional<z.ZodString>;
|
|
16341
|
+
'filter[purchase_order_number]': z.ZodOptional<z.ZodString>;
|
|
16210
16342
|
'page[cursor]': z.ZodOptional<z.ZodString>;
|
|
16211
16343
|
'page[limit]': z.ZodDefault<z.ZodOptional<z.ZodInt>>;
|
|
16212
16344
|
page: z.ZodOptional<z.ZodString>;
|
|
@@ -18505,6 +18637,8 @@ export declare const zListAggregateTimeImportsResponse: z.ZodObject<{
|
|
|
18505
18637
|
success: "success";
|
|
18506
18638
|
processing: "processing";
|
|
18507
18639
|
processed: "processed";
|
|
18640
|
+
superseded: "superseded";
|
|
18641
|
+
withdrawn: "withdrawn";
|
|
18508
18642
|
}>;
|
|
18509
18643
|
processed_rows_count: z.ZodInt;
|
|
18510
18644
|
processing_errors: z.ZodArray<z.ZodObject<{
|
|
@@ -18536,6 +18670,8 @@ export declare const zCreateAggregateTimeImportResponse: z.ZodObject<{
|
|
|
18536
18670
|
success: "success";
|
|
18537
18671
|
processing: "processing";
|
|
18538
18672
|
processed: "processed";
|
|
18673
|
+
superseded: "superseded";
|
|
18674
|
+
withdrawn: "withdrawn";
|
|
18539
18675
|
}>;
|
|
18540
18676
|
processed_rows_count: z.ZodInt;
|
|
18541
18677
|
processing_errors: z.ZodArray<z.ZodObject<{
|
|
@@ -18564,6 +18700,8 @@ export declare const zGetAggregateTimeImportResponse: z.ZodObject<{
|
|
|
18564
18700
|
success: "success";
|
|
18565
18701
|
processing: "processing";
|
|
18566
18702
|
processed: "processed";
|
|
18703
|
+
superseded: "superseded";
|
|
18704
|
+
withdrawn: "withdrawn";
|
|
18567
18705
|
}>;
|
|
18568
18706
|
processed_rows_count: z.ZodInt;
|
|
18569
18707
|
processing_errors: z.ZodArray<z.ZodObject<{
|
|
@@ -18617,6 +18755,8 @@ export declare const zListDsptchCprImportsResponse: z.ZodObject<{
|
|
|
18617
18755
|
success: "success";
|
|
18618
18756
|
processing: "processing";
|
|
18619
18757
|
processed: "processed";
|
|
18758
|
+
superseded: "superseded";
|
|
18759
|
+
withdrawn: "withdrawn";
|
|
18620
18760
|
}>;
|
|
18621
18761
|
processed_rows_count: z.ZodInt;
|
|
18622
18762
|
processing_errors: z.ZodArray<z.ZodObject<{
|
|
@@ -18648,6 +18788,8 @@ export declare const zCreateDsptchCprImportResponse: z.ZodObject<{
|
|
|
18648
18788
|
success: "success";
|
|
18649
18789
|
processing: "processing";
|
|
18650
18790
|
processed: "processed";
|
|
18791
|
+
superseded: "superseded";
|
|
18792
|
+
withdrawn: "withdrawn";
|
|
18651
18793
|
}>;
|
|
18652
18794
|
processed_rows_count: z.ZodInt;
|
|
18653
18795
|
processing_errors: z.ZodArray<z.ZodObject<{
|
|
@@ -18676,6 +18818,8 @@ export declare const zGetDsptchCprImportResponse: z.ZodObject<{
|
|
|
18676
18818
|
success: "success";
|
|
18677
18819
|
processing: "processing";
|
|
18678
18820
|
processed: "processed";
|
|
18821
|
+
superseded: "superseded";
|
|
18822
|
+
withdrawn: "withdrawn";
|
|
18679
18823
|
}>;
|
|
18680
18824
|
processed_rows_count: z.ZodInt;
|
|
18681
18825
|
processing_errors: z.ZodArray<z.ZodObject<{
|
|
@@ -18729,6 +18873,8 @@ export declare const zListTimeEntryImportsResponse: z.ZodObject<{
|
|
|
18729
18873
|
success: "success";
|
|
18730
18874
|
processing: "processing";
|
|
18731
18875
|
processed: "processed";
|
|
18876
|
+
superseded: "superseded";
|
|
18877
|
+
withdrawn: "withdrawn";
|
|
18732
18878
|
}>;
|
|
18733
18879
|
processed_rows_count: z.ZodInt;
|
|
18734
18880
|
processing_errors: z.ZodArray<z.ZodObject<{
|
|
@@ -18760,6 +18906,8 @@ export declare const zCreateTimeEntryImportResponse: z.ZodObject<{
|
|
|
18760
18906
|
success: "success";
|
|
18761
18907
|
processing: "processing";
|
|
18762
18908
|
processed: "processed";
|
|
18909
|
+
superseded: "superseded";
|
|
18910
|
+
withdrawn: "withdrawn";
|
|
18763
18911
|
}>;
|
|
18764
18912
|
processed_rows_count: z.ZodInt;
|
|
18765
18913
|
processing_errors: z.ZodArray<z.ZodObject<{
|
|
@@ -18788,6 +18936,8 @@ export declare const zGetTimeEntryImportResponse: z.ZodObject<{
|
|
|
18788
18936
|
success: "success";
|
|
18789
18937
|
processing: "processing";
|
|
18790
18938
|
processed: "processed";
|
|
18939
|
+
superseded: "superseded";
|
|
18940
|
+
withdrawn: "withdrawn";
|
|
18791
18941
|
}>;
|
|
18792
18942
|
processed_rows_count: z.ZodInt;
|
|
18793
18943
|
processing_errors: z.ZodArray<z.ZodObject<{
|
|
@@ -19397,6 +19547,8 @@ export declare const zListPaystubImportsResponse: z.ZodObject<{
|
|
|
19397
19547
|
success: "success";
|
|
19398
19548
|
processing: "processing";
|
|
19399
19549
|
processed: "processed";
|
|
19550
|
+
superseded: "superseded";
|
|
19551
|
+
withdrawn: "withdrawn";
|
|
19400
19552
|
}>;
|
|
19401
19553
|
processed_rows_count: z.ZodInt;
|
|
19402
19554
|
processing_errors: z.ZodArray<z.ZodObject<{
|
|
@@ -19428,6 +19580,8 @@ export declare const zCreatePaystubImportResponse: z.ZodObject<{
|
|
|
19428
19580
|
success: "success";
|
|
19429
19581
|
processing: "processing";
|
|
19430
19582
|
processed: "processed";
|
|
19583
|
+
superseded: "superseded";
|
|
19584
|
+
withdrawn: "withdrawn";
|
|
19431
19585
|
}>;
|
|
19432
19586
|
processed_rows_count: z.ZodInt;
|
|
19433
19587
|
processing_errors: z.ZodArray<z.ZodObject<{
|
|
@@ -19456,6 +19610,8 @@ export declare const zGetPaystubImportResponse: z.ZodObject<{
|
|
|
19456
19610
|
success: "success";
|
|
19457
19611
|
processing: "processing";
|
|
19458
19612
|
processed: "processed";
|
|
19613
|
+
superseded: "superseded";
|
|
19614
|
+
withdrawn: "withdrawn";
|
|
19459
19615
|
}>;
|
|
19460
19616
|
processed_rows_count: z.ZodInt;
|
|
19461
19617
|
processing_errors: z.ZodArray<z.ZodObject<{
|
|
@@ -19963,6 +20119,39 @@ export declare const zUpdatePaystubResponse: z.ZodObject<{
|
|
|
19963
20119
|
created_at: z.ZodISODateTime;
|
|
19964
20120
|
updated_at: z.ZodISODateTime;
|
|
19965
20121
|
}, z.core.$strip>;
|
|
20122
|
+
export declare const zListCustomFieldsPath: z.ZodObject<{
|
|
20123
|
+
employment_id: z.ZodString;
|
|
20124
|
+
}, z.core.$strip>;
|
|
20125
|
+
/**
|
|
20126
|
+
* Success
|
|
20127
|
+
*/
|
|
20128
|
+
export declare const zListCustomFieldsResponse: z.ZodObject<{
|
|
20129
|
+
data: z.ZodArray<z.ZodObject<{
|
|
20130
|
+
custom_field_config_id: z.ZodString;
|
|
20131
|
+
value: z.ZodNullable<z.ZodString>;
|
|
20132
|
+
}, z.core.$strip>>;
|
|
20133
|
+
}, z.core.$strip>;
|
|
20134
|
+
export declare const zUpdateCustomFieldBody: z.ZodObject<{
|
|
20135
|
+
custom_fields: z.ZodArray<z.ZodObject<{
|
|
20136
|
+
custom_field_config_id: z.ZodString;
|
|
20137
|
+
value: z.ZodNullable<z.ZodString>;
|
|
20138
|
+
}, z.core.$strip>>;
|
|
20139
|
+
}, z.core.$strip>;
|
|
20140
|
+
export declare const zUpdateCustomFieldHeaders: z.ZodObject<{
|
|
20141
|
+
'If-Match': z.ZodString;
|
|
20142
|
+
}, z.core.$strip>;
|
|
20143
|
+
export declare const zUpdateCustomFieldPath: z.ZodObject<{
|
|
20144
|
+
employment_id: z.ZodString;
|
|
20145
|
+
}, z.core.$strip>;
|
|
20146
|
+
/**
|
|
20147
|
+
* Success
|
|
20148
|
+
*/
|
|
20149
|
+
export declare const zUpdateCustomFieldResponse: z.ZodObject<{
|
|
20150
|
+
data: z.ZodArray<z.ZodObject<{
|
|
20151
|
+
custom_field_config_id: z.ZodString;
|
|
20152
|
+
value: z.ZodNullable<z.ZodString>;
|
|
20153
|
+
}, z.core.$strip>>;
|
|
20154
|
+
}, z.core.$strip>;
|
|
19966
20155
|
export declare const zUpdateGenesisBody: z.ZodObject<{
|
|
19967
20156
|
effective_date: z.ZodOptional<z.ZodISODate>;
|
|
19968
20157
|
}, z.core.$strip>;
|
|
@@ -20227,6 +20416,7 @@ export declare const zCreateEmploymentScheduledChangeBody: z.ZodObject<{
|
|
|
20227
20416
|
training_annual_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20228
20417
|
employer_combined_health_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20229
20418
|
employer_combined_savings_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20419
|
+
companies_department_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20230
20420
|
effective_date: z.ZodISODate;
|
|
20231
20421
|
}, z.core.$strip>;
|
|
20232
20422
|
export declare const zCreateEmploymentScheduledChangeHeaders: z.ZodObject<{
|
|
@@ -20299,6 +20489,7 @@ export declare const zUpdateEmploymentScheduledChangeBody: z.ZodObject<{
|
|
|
20299
20489
|
training_annual_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20300
20490
|
employer_combined_health_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20301
20491
|
employer_combined_savings_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20492
|
+
companies_department_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20302
20493
|
}, z.core.$strip>;
|
|
20303
20494
|
export declare const zUpdateEmploymentScheduledChangeHeaders: z.ZodObject<{
|
|
20304
20495
|
'If-Match': z.ZodString;
|
|
@@ -20564,6 +20755,50 @@ export declare const zCreateEmploymentResponse: z.ZodObject<{
|
|
|
20564
20755
|
created_at: z.ZodISODateTime;
|
|
20565
20756
|
updated_at: z.ZodISODateTime;
|
|
20566
20757
|
}, z.core.$strip>;
|
|
20758
|
+
export declare const zDeleteEmploymentHeaders: z.ZodObject<{
|
|
20759
|
+
'If-Match': z.ZodString;
|
|
20760
|
+
}, z.core.$strip>;
|
|
20761
|
+
export declare const zDeleteEmploymentPath: z.ZodObject<{
|
|
20762
|
+
id: z.ZodString;
|
|
20763
|
+
}, z.core.$strip>;
|
|
20764
|
+
/**
|
|
20765
|
+
* Success
|
|
20766
|
+
*/
|
|
20767
|
+
export declare const zDeleteEmploymentResponse: z.ZodObject<{
|
|
20768
|
+
id: z.ZodString;
|
|
20769
|
+
user_id: z.ZodString;
|
|
20770
|
+
company_id: z.ZodString;
|
|
20771
|
+
type: z.ZodEnum<{
|
|
20772
|
+
EMPLOYEE: "EMPLOYEE";
|
|
20773
|
+
CONTRACTOR: "CONTRACTOR";
|
|
20774
|
+
}>;
|
|
20775
|
+
title: z.ZodNullable<z.ZodString>;
|
|
20776
|
+
compensation_type: z.ZodEnum<{
|
|
20777
|
+
hourly: "hourly";
|
|
20778
|
+
salary: "salary";
|
|
20779
|
+
}>;
|
|
20780
|
+
payroll_id: z.ZodNullable<z.ZodString>;
|
|
20781
|
+
manager_user_id: z.ZodNullable<z.ZodString>;
|
|
20782
|
+
companies_department_id: z.ZodNullable<z.ZodString>;
|
|
20783
|
+
enrolled_in_t_and_a: z.ZodBoolean;
|
|
20784
|
+
overtime_eligible: z.ZodNullable<z.ZodBoolean>;
|
|
20785
|
+
overtime_package_id: z.ZodNullable<z.ZodString>;
|
|
20786
|
+
pay_rates_rule_package_id: z.ZodNullable<z.ZodString>;
|
|
20787
|
+
pay_rates_package_id: z.ZodNullable<z.ZodString>;
|
|
20788
|
+
worked_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
20789
|
+
pto_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
20790
|
+
holiday_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
20791
|
+
training_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
20792
|
+
hourly_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20793
|
+
training_annual_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20794
|
+
employer_combined_health_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20795
|
+
employer_combined_savings_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20796
|
+
currency: z.ZodString;
|
|
20797
|
+
valid_from: z.ZodNullable<z.ZodISODateTime>;
|
|
20798
|
+
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
20799
|
+
created_at: z.ZodISODateTime;
|
|
20800
|
+
updated_at: z.ZodISODateTime;
|
|
20801
|
+
}, z.core.$strip>;
|
|
20567
20802
|
export declare const zGetEmploymentPath: z.ZodObject<{
|
|
20568
20803
|
id: z.ZodString;
|
|
20569
20804
|
}, z.core.$strip>;
|
|
@@ -20608,6 +20843,60 @@ export declare const zGetEmploymentResponse: z.ZodObject<{
|
|
|
20608
20843
|
created_at: z.ZodISODateTime;
|
|
20609
20844
|
updated_at: z.ZodISODateTime;
|
|
20610
20845
|
}, z.core.$strip>;
|
|
20846
|
+
export declare const zUpdateEmploymentBody: z.ZodObject<{
|
|
20847
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
20848
|
+
EMPLOYEE: "EMPLOYEE";
|
|
20849
|
+
CONTRACTOR: "CONTRACTOR";
|
|
20850
|
+
}>>;
|
|
20851
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20852
|
+
manager_user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20853
|
+
payroll_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20854
|
+
enrolled_in_t_and_a: z.ZodOptional<z.ZodBoolean>;
|
|
20855
|
+
}, z.core.$strip>;
|
|
20856
|
+
export declare const zUpdateEmploymentHeaders: z.ZodObject<{
|
|
20857
|
+
'If-Match': z.ZodString;
|
|
20858
|
+
}, z.core.$strip>;
|
|
20859
|
+
export declare const zUpdateEmploymentPath: z.ZodObject<{
|
|
20860
|
+
id: z.ZodString;
|
|
20861
|
+
}, z.core.$strip>;
|
|
20862
|
+
/**
|
|
20863
|
+
* Success
|
|
20864
|
+
*/
|
|
20865
|
+
export declare const zUpdateEmploymentResponse: z.ZodObject<{
|
|
20866
|
+
id: z.ZodString;
|
|
20867
|
+
user_id: z.ZodString;
|
|
20868
|
+
company_id: z.ZodString;
|
|
20869
|
+
type: z.ZodEnum<{
|
|
20870
|
+
EMPLOYEE: "EMPLOYEE";
|
|
20871
|
+
CONTRACTOR: "CONTRACTOR";
|
|
20872
|
+
}>;
|
|
20873
|
+
title: z.ZodNullable<z.ZodString>;
|
|
20874
|
+
compensation_type: z.ZodEnum<{
|
|
20875
|
+
hourly: "hourly";
|
|
20876
|
+
salary: "salary";
|
|
20877
|
+
}>;
|
|
20878
|
+
payroll_id: z.ZodNullable<z.ZodString>;
|
|
20879
|
+
manager_user_id: z.ZodNullable<z.ZodString>;
|
|
20880
|
+
companies_department_id: z.ZodNullable<z.ZodString>;
|
|
20881
|
+
enrolled_in_t_and_a: z.ZodBoolean;
|
|
20882
|
+
overtime_eligible: z.ZodNullable<z.ZodBoolean>;
|
|
20883
|
+
overtime_package_id: z.ZodNullable<z.ZodString>;
|
|
20884
|
+
pay_rates_rule_package_id: z.ZodNullable<z.ZodString>;
|
|
20885
|
+
pay_rates_package_id: z.ZodNullable<z.ZodString>;
|
|
20886
|
+
worked_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
20887
|
+
pto_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
20888
|
+
holiday_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
20889
|
+
training_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
20890
|
+
hourly_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20891
|
+
training_annual_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20892
|
+
employer_combined_health_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20893
|
+
employer_combined_savings_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20894
|
+
currency: z.ZodString;
|
|
20895
|
+
valid_from: z.ZodNullable<z.ZodISODateTime>;
|
|
20896
|
+
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
20897
|
+
created_at: z.ZodISODateTime;
|
|
20898
|
+
updated_at: z.ZodISODateTime;
|
|
20899
|
+
}, z.core.$strip>;
|
|
20611
20900
|
export declare const zListPerDiemsQuery: z.ZodObject<{
|
|
20612
20901
|
'filter[default]': z.ZodOptional<z.ZodBoolean>;
|
|
20613
20902
|
'filter[taxable]': z.ZodOptional<z.ZodBoolean>;
|