@dsptch-work/api-client 0.23.0 → 0.25.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 +43 -0
- package/dist/gen/index.d.ts +1 -1
- package/dist/gen/sdk.gen.d.ts +232 -8
- package/dist/gen/sdk.gen.js +325 -7
- package/dist/gen/types.gen.d.ts +609 -44
- package/dist/gen/zod.gen.d.ts +355 -25
- package/dist/gen/zod.gen.js +173 -26
- package/package.json +1 -1
package/dist/gen/zod.gen.d.ts
CHANGED
|
@@ -417,6 +417,7 @@ export declare const zDirectUploadParameters: z.ZodObject<{
|
|
|
417
417
|
"assets.products": "assets.products";
|
|
418
418
|
"assets.vendors": "assets.vendors";
|
|
419
419
|
"compliance.checks": "compliance.checks";
|
|
420
|
+
"internal.companies": "internal.companies";
|
|
420
421
|
"internal.company_todos": "internal.company_todos";
|
|
421
422
|
"internal.job_todos": "internal.job_todos";
|
|
422
423
|
"internal.project_todos": "internal.project_todos";
|
|
@@ -540,11 +541,12 @@ export declare const zApprenticeshipWageScheduleResponseObject: z.ZodObject<{
|
|
|
540
541
|
end_wage_currency: z.ZodString;
|
|
541
542
|
journeyworker_wage_cents: z.ZodString;
|
|
542
543
|
journeyworker_wage_currency: z.ZodString;
|
|
544
|
+
journeyworker_fringe_cents: z.ZodNullable<z.ZodString>;
|
|
543
545
|
created_at: z.ZodISODateTime;
|
|
544
546
|
updated_at: z.ZodISODateTime;
|
|
545
547
|
}, z.core.$strip>;
|
|
546
548
|
/**
|
|
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.
|
|
549
|
+
* 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
550
|
*/
|
|
549
551
|
export declare const zApprenticeshipWageSchedulePeriodResponseObject: z.ZodObject<{
|
|
550
552
|
id: z.ZodString;
|
|
@@ -557,6 +559,8 @@ export declare const zApprenticeshipWageSchedulePeriodResponseObject: z.ZodObjec
|
|
|
557
559
|
wage_percent: z.ZodString;
|
|
558
560
|
wage_cents: z.ZodString;
|
|
559
561
|
wage_currency: z.ZodString;
|
|
562
|
+
fringe_percent: z.ZodNullable<z.ZodString>;
|
|
563
|
+
fringe_cents: z.ZodNullable<z.ZodString>;
|
|
560
564
|
created_at: z.ZodISODateTime;
|
|
561
565
|
updated_at: z.ZodISODateTime;
|
|
562
566
|
}, z.core.$strip>;
|
|
@@ -719,14 +723,14 @@ export declare const zApprenticeshipProgramEmployerParameters: z.ZodObject<{
|
|
|
719
723
|
require_timecard_allocation: z.ZodOptional<z.ZodBoolean>;
|
|
720
724
|
}, z.core.$strip>;
|
|
721
725
|
/**
|
|
722
|
-
* Update an employer authorization in a program. Send only the fields to change; only the program's sponsor may manage this roster.
|
|
726
|
+
* Update an employer authorization in a program. Send only the fields to change; only the program's sponsor may manage this roster, and an API key may change only the row naming its own company.
|
|
723
727
|
*/
|
|
724
728
|
export declare const zApprenticeshipProgramEmployerUpdateParameters: z.ZodObject<{
|
|
725
729
|
company_id: z.ZodOptional<z.ZodString>;
|
|
726
730
|
require_timecard_allocation: z.ZodOptional<z.ZodBoolean>;
|
|
727
731
|
}, z.core.$strip>;
|
|
728
732
|
/**
|
|
729
|
-
* Create a period on a wage schedule; the wage schedule is taken from the URL path. wage_cents
|
|
733
|
+
* 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.
|
|
730
734
|
*/
|
|
731
735
|
export declare const zApprenticeshipWageSchedulePeriodParameters: z.ZodObject<{
|
|
732
736
|
period_number: z.ZodInt;
|
|
@@ -736,9 +740,11 @@ export declare const zApprenticeshipWageSchedulePeriodParameters: z.ZodObject<{
|
|
|
736
740
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
737
741
|
wage_percent: z.ZodNumber;
|
|
738
742
|
wage_cents: z.ZodInt;
|
|
743
|
+
fringe_percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
744
|
+
fringe_cents: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
739
745
|
}, z.core.$strip>;
|
|
740
746
|
/**
|
|
741
|
-
* 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
|
|
747
|
+
* 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.
|
|
742
748
|
*/
|
|
743
749
|
export declare const zApprenticeshipWageSchedulePeriodUpdateParameters: z.ZodObject<{
|
|
744
750
|
period_number: z.ZodOptional<z.ZodInt>;
|
|
@@ -748,6 +754,8 @@ export declare const zApprenticeshipWageSchedulePeriodUpdateParameters: z.ZodObj
|
|
|
748
754
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
749
755
|
wage_percent: z.ZodOptional<z.ZodNumber>;
|
|
750
756
|
wage_cents: z.ZodOptional<z.ZodInt>;
|
|
757
|
+
fringe_percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
758
|
+
fringe_cents: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
751
759
|
}, z.core.$strip>;
|
|
752
760
|
/**
|
|
753
761
|
* 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.
|
|
@@ -780,6 +788,7 @@ export declare const zApprenticeshipWageScheduleParameters: z.ZodObject<{
|
|
|
780
788
|
year: "year";
|
|
781
789
|
}>;
|
|
782
790
|
journeyworker_wage_cents: z.ZodOptional<z.ZodInt>;
|
|
791
|
+
journeyworker_fringe_cents: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
783
792
|
end_wage_cents: z.ZodOptional<z.ZodInt>;
|
|
784
793
|
periods_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
785
794
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -790,6 +799,8 @@ export declare const zApprenticeshipWageScheduleParameters: z.ZodObject<{
|
|
|
790
799
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
791
800
|
wage_percent: z.ZodNumber;
|
|
792
801
|
wage_cents: z.ZodInt;
|
|
802
|
+
fringe_percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
803
|
+
fringe_cents: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
793
804
|
_destroy: z.ZodOptional<z.ZodBoolean>;
|
|
794
805
|
}, z.core.$strip>>>;
|
|
795
806
|
}, z.core.$strip>;
|
|
@@ -824,6 +835,7 @@ export declare const zApprenticeshipWageScheduleUpdateParameters: z.ZodObject<{
|
|
|
824
835
|
year: "year";
|
|
825
836
|
}>>;
|
|
826
837
|
journeyworker_wage_cents: z.ZodOptional<z.ZodInt>;
|
|
838
|
+
journeyworker_fringe_cents: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
827
839
|
end_wage_cents: z.ZodOptional<z.ZodInt>;
|
|
828
840
|
periods_attributes: z.ZodOptional<z.ZodArray<z.ZodIntersection<z.ZodUnion<readonly [z.ZodUnknown, z.ZodUnion<readonly [z.ZodObject<{
|
|
829
841
|
min_minutes: z.ZodInt;
|
|
@@ -842,6 +854,8 @@ export declare const zApprenticeshipWageScheduleUpdateParameters: z.ZodObject<{
|
|
|
842
854
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
843
855
|
wage_percent: z.ZodOptional<z.ZodNumber>;
|
|
844
856
|
wage_cents: z.ZodOptional<z.ZodInt>;
|
|
857
|
+
fringe_percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
858
|
+
fringe_cents: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
845
859
|
_destroy: z.ZodOptional<z.ZodBoolean>;
|
|
846
860
|
}, z.core.$strip>>>>;
|
|
847
861
|
}, z.core.$strip>;
|
|
@@ -946,7 +960,7 @@ export declare const zPeopleEmploymentCreateParameters: z.ZodObject<{
|
|
|
946
960
|
employer_combined_savings_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
947
961
|
}, z.core.$strip>;
|
|
948
962
|
/**
|
|
949
|
-
* Request body for creating one
|
|
963
|
+
* 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.
|
|
950
964
|
*/
|
|
951
965
|
export declare const zPeopleEmploymentScheduledChangeCreateParameters: z.ZodObject<{
|
|
952
966
|
compensation_type: z.ZodOptional<z.ZodEnum<{
|
|
@@ -967,7 +981,7 @@ export declare const zPeopleEmploymentScheduledChangeCreateParameters: z.ZodObje
|
|
|
967
981
|
effective_date: z.ZodISODate;
|
|
968
982
|
}, z.core.$strip>;
|
|
969
983
|
/**
|
|
970
|
-
* Request body for changing values at one exact
|
|
984
|
+
* 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.
|
|
971
985
|
*/
|
|
972
986
|
export declare const zPeopleEmploymentScheduledChangeUpdateParameters: z.ZodObject<{
|
|
973
987
|
compensation_type: z.ZodOptional<z.ZodEnum<{
|
|
@@ -2968,6 +2982,7 @@ export declare const zAggregateTimeImportResponseObject: z.ZodObject<{
|
|
|
2968
2982
|
processing: "processing";
|
|
2969
2983
|
processed: "processed";
|
|
2970
2984
|
superseded: "superseded";
|
|
2985
|
+
withdrawn: "withdrawn";
|
|
2971
2986
|
}>;
|
|
2972
2987
|
processed_rows_count: z.ZodInt;
|
|
2973
2988
|
processing_errors: z.ZodArray<z.ZodObject<{
|
|
@@ -3003,6 +3018,7 @@ export declare const zDsptchCprImportResponseObject: z.ZodObject<{
|
|
|
3003
3018
|
processing: "processing";
|
|
3004
3019
|
processed: "processed";
|
|
3005
3020
|
superseded: "superseded";
|
|
3021
|
+
withdrawn: "withdrawn";
|
|
3006
3022
|
}>;
|
|
3007
3023
|
processed_rows_count: z.ZodInt;
|
|
3008
3024
|
processing_errors: z.ZodArray<z.ZodObject<{
|
|
@@ -3038,6 +3054,7 @@ export declare const zPaystubImportResponseObject: z.ZodObject<{
|
|
|
3038
3054
|
processing: "processing";
|
|
3039
3055
|
processed: "processed";
|
|
3040
3056
|
superseded: "superseded";
|
|
3057
|
+
withdrawn: "withdrawn";
|
|
3041
3058
|
}>;
|
|
3042
3059
|
processed_rows_count: z.ZodInt;
|
|
3043
3060
|
processing_errors: z.ZodArray<z.ZodObject<{
|
|
@@ -3073,6 +3090,7 @@ export declare const zTimeEntryImportResponseObject: z.ZodObject<{
|
|
|
3073
3090
|
processing: "processing";
|
|
3074
3091
|
processed: "processed";
|
|
3075
3092
|
superseded: "superseded";
|
|
3093
|
+
withdrawn: "withdrawn";
|
|
3076
3094
|
}>;
|
|
3077
3095
|
processed_rows_count: z.ZodInt;
|
|
3078
3096
|
processing_errors: z.ZodArray<z.ZodObject<{
|
|
@@ -4560,6 +4578,13 @@ export declare const zPayRatesRulePackageParameters: z.ZodObject<{
|
|
|
4560
4578
|
name: z.ZodString;
|
|
4561
4579
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4562
4580
|
}, z.core.$strip>;
|
|
4581
|
+
/**
|
|
4582
|
+
* Request body for updating a pay-rate rule package. Send only the fields to change. `default`, `selectable`, and `scoped_to_job_id` are not writable on this operation.
|
|
4583
|
+
*/
|
|
4584
|
+
export declare const zPayRatesRulePackageUpdateParameters: z.ZodObject<{
|
|
4585
|
+
name: z.ZodOptional<z.ZodString>;
|
|
4586
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4587
|
+
}, z.core.$strip>;
|
|
4563
4588
|
/**
|
|
4564
4589
|
* Request body for creating or updating a position on a job. The job is taken from the URL path.
|
|
4565
4590
|
*/
|
|
@@ -4777,7 +4802,7 @@ export declare const zFormAssignmentTaskResponseObject: z.ZodArray<z.ZodObject<{
|
|
|
4777
4802
|
}, z.core.$strip>>;
|
|
4778
4803
|
}, z.core.$strip>>;
|
|
4779
4804
|
/**
|
|
4780
|
-
* 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.
|
|
4805
|
+
* 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.
|
|
4781
4806
|
*/
|
|
4782
4807
|
export declare const zCertificationParameters: z.ZodObject<{
|
|
4783
4808
|
company_id: z.ZodString;
|
|
@@ -4787,10 +4812,9 @@ export declare const zCertificationParameters: z.ZodObject<{
|
|
|
4787
4812
|
duration: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4788
4813
|
}, z.core.$strip>;
|
|
4789
4814
|
/**
|
|
4790
|
-
* 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.
|
|
4815
|
+
* 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.
|
|
4791
4816
|
*/
|
|
4792
4817
|
export declare const zCertificationUpdateParameters: z.ZodObject<{
|
|
4793
|
-
company_id: z.ZodOptional<z.ZodString>;
|
|
4794
4818
|
name: z.ZodOptional<z.ZodString>;
|
|
4795
4819
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4796
4820
|
verified: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -4811,7 +4835,7 @@ export declare const zCertificationPackageResponseObject: z.ZodObject<{
|
|
|
4811
4835
|
updated_at: z.ZodISODateTime;
|
|
4812
4836
|
}, z.core.$strip>;
|
|
4813
4837
|
/**
|
|
4814
|
-
* Request body for creating a certification package — a named set of certifications a company requires together.
|
|
4838
|
+
* 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.
|
|
4815
4839
|
*/
|
|
4816
4840
|
export declare const zCertificationPackageParameters: z.ZodObject<{
|
|
4817
4841
|
name: z.ZodString;
|
|
@@ -4820,7 +4844,7 @@ export declare const zCertificationPackageParameters: z.ZodObject<{
|
|
|
4820
4844
|
performed_by_user_id: z.ZodString;
|
|
4821
4845
|
}, z.core.$strip>;
|
|
4822
4846
|
/**
|
|
4823
|
-
* Request body for updating a certification package — a named set of certifications a company requires together. Include only the fields to change.
|
|
4847
|
+
* 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.
|
|
4824
4848
|
*/
|
|
4825
4849
|
export declare const zCertificationPackageUpdateParameters: z.ZodObject<{
|
|
4826
4850
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -5204,14 +5228,17 @@ export declare const zUserResponseObject: z.ZodObject<{
|
|
|
5204
5228
|
}>>>;
|
|
5205
5229
|
}, z.core.$strip>>;
|
|
5206
5230
|
}, z.core.$strip>;
|
|
5207
|
-
|
|
5208
|
-
* Request body for onboarding a worker into your company. In one call it creates the person (if new), their employment record, roles, group memberships, an optional invite, and optional compliance details. company_id, email, first_name, and last_name are required.
|
|
5209
|
-
*/
|
|
5210
|
-
export declare const zUserParameters: z.ZodObject<{
|
|
5211
|
-
company_id: z.ZodString;
|
|
5231
|
+
export declare const zUserParameters: z.ZodIntersection<z.ZodUnion<readonly [z.ZodObject<{
|
|
5212
5232
|
email: z.ZodString;
|
|
5213
|
-
|
|
5214
|
-
phone_number: z.
|
|
5233
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5234
|
+
phone_number: z.ZodString;
|
|
5235
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5236
|
+
skip_invite: z.ZodLiteral<true>;
|
|
5237
|
+
}, z.core.$strip>]>, z.ZodObject<{
|
|
5238
|
+
company_id: z.ZodOptional<z.ZodString>;
|
|
5239
|
+
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5240
|
+
personal_email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5241
|
+
phone_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5215
5242
|
first_name: z.ZodString;
|
|
5216
5243
|
last_name: z.ZodString;
|
|
5217
5244
|
preferred_first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -5317,7 +5344,7 @@ export declare const zUserParameters: z.ZodObject<{
|
|
|
5317
5344
|
portuguese_or_brazilian: "portuguese_or_brazilian";
|
|
5318
5345
|
}>>>>;
|
|
5319
5346
|
}, z.core.$strip>>>;
|
|
5320
|
-
}, z.core.$strip
|
|
5347
|
+
}, z.core.$strip>>;
|
|
5321
5348
|
/**
|
|
5322
5349
|
* Request body for updating a worker's employment at your company. Corrects administrative fields (employment type, title, manager, payroll id, hire date, and time-and-attendance enrollment) across the whole employment history. For time-effective pay changes, use the scheduled-changes endpoints instead.
|
|
5323
5350
|
*/
|
|
@@ -8879,6 +8906,14 @@ export declare const zCreateAllocationResponse: z.ZodObject<{
|
|
|
8879
8906
|
created_at: z.ZodISODateTime;
|
|
8880
8907
|
updated_at: z.ZodISODateTime;
|
|
8881
8908
|
}, z.core.$strip>;
|
|
8909
|
+
export declare const zDeleteAllocationPath: z.ZodObject<{
|
|
8910
|
+
apprentice_id: z.ZodString;
|
|
8911
|
+
id: z.ZodString;
|
|
8912
|
+
}, z.core.$strip>;
|
|
8913
|
+
/**
|
|
8914
|
+
* No Content
|
|
8915
|
+
*/
|
|
8916
|
+
export declare const zDeleteAllocationResponse: z.ZodVoid;
|
|
8882
8917
|
export declare const zGetAllocationPath: z.ZodObject<{
|
|
8883
8918
|
apprentice_id: z.ZodString;
|
|
8884
8919
|
id: z.ZodString;
|
|
@@ -9135,6 +9170,40 @@ export declare const zCreateOccupationResponse: z.ZodObject<{
|
|
|
9135
9170
|
created_at: z.ZodISODateTime;
|
|
9136
9171
|
updated_at: z.ZodISODateTime;
|
|
9137
9172
|
}, z.core.$strip>;
|
|
9173
|
+
export declare const zDeleteOccupationPath: z.ZodObject<{
|
|
9174
|
+
program_id: z.ZodString;
|
|
9175
|
+
id: z.ZodString;
|
|
9176
|
+
}, z.core.$strip>;
|
|
9177
|
+
/**
|
|
9178
|
+
* No Content
|
|
9179
|
+
*/
|
|
9180
|
+
export declare const zDeleteOccupationResponse: z.ZodVoid;
|
|
9181
|
+
export declare const zGetOccupationPath: z.ZodObject<{
|
|
9182
|
+
program_id: z.ZodString;
|
|
9183
|
+
id: z.ZodString;
|
|
9184
|
+
}, z.core.$strip>;
|
|
9185
|
+
/**
|
|
9186
|
+
* Success
|
|
9187
|
+
*/
|
|
9188
|
+
export declare const zGetOccupationResponse: z.ZodObject<{
|
|
9189
|
+
id: z.ZodString;
|
|
9190
|
+
apprenticeship_program_id: z.ZodString;
|
|
9191
|
+
rapids_code: z.ZodString;
|
|
9192
|
+
occupation_type: z.ZodEnum<{
|
|
9193
|
+
time_based: "time_based";
|
|
9194
|
+
competency_based: "competency_based";
|
|
9195
|
+
hybrid: "hybrid";
|
|
9196
|
+
}>;
|
|
9197
|
+
title: z.ZodString;
|
|
9198
|
+
description: z.ZodNullable<z.ZodString>;
|
|
9199
|
+
min_minutes: z.ZodInt;
|
|
9200
|
+
max_minutes: z.ZodInt;
|
|
9201
|
+
probation_minutes: z.ZodInt;
|
|
9202
|
+
num_apprentices: z.ZodInt;
|
|
9203
|
+
num_journeyworkers: z.ZodInt;
|
|
9204
|
+
created_at: z.ZodISODateTime;
|
|
9205
|
+
updated_at: z.ZodISODateTime;
|
|
9206
|
+
}, z.core.$strip>;
|
|
9138
9207
|
export declare const zUpdateOccupationBody: z.ZodObject<{
|
|
9139
9208
|
rapids_code: z.ZodOptional<z.ZodString>;
|
|
9140
9209
|
occupation_type: z.ZodOptional<z.ZodEnum<{
|
|
@@ -9334,6 +9403,33 @@ export declare const zCreateProgramResponse: z.ZodObject<{
|
|
|
9334
9403
|
created_at: z.ZodISODateTime;
|
|
9335
9404
|
updated_at: z.ZodISODateTime;
|
|
9336
9405
|
}, z.core.$strip>;
|
|
9406
|
+
export declare const zDeleteProgramPath: z.ZodObject<{
|
|
9407
|
+
id: z.ZodString;
|
|
9408
|
+
}, z.core.$strip>;
|
|
9409
|
+
/**
|
|
9410
|
+
* No Content
|
|
9411
|
+
*/
|
|
9412
|
+
export declare const zDeleteProgramResponse: z.ZodVoid;
|
|
9413
|
+
export declare const zGetProgramPath: z.ZodObject<{
|
|
9414
|
+
id: z.ZodString;
|
|
9415
|
+
}, z.core.$strip>;
|
|
9416
|
+
/**
|
|
9417
|
+
* Success
|
|
9418
|
+
*/
|
|
9419
|
+
export declare const zGetProgramResponse: z.ZodObject<{
|
|
9420
|
+
id: z.ZodString;
|
|
9421
|
+
sponsor_company_id: z.ZodString;
|
|
9422
|
+
program_number: z.ZodString;
|
|
9423
|
+
program_name: z.ZodNullable<z.ZodString>;
|
|
9424
|
+
sponsor_name: z.ZodNullable<z.ZodString>;
|
|
9425
|
+
doing_business_as: z.ZodNullable<z.ZodString>;
|
|
9426
|
+
registration_agency_type: z.ZodNullable<z.ZodEnum<{
|
|
9427
|
+
federal: "federal";
|
|
9428
|
+
regional: "regional";
|
|
9429
|
+
}>>;
|
|
9430
|
+
created_at: z.ZodISODateTime;
|
|
9431
|
+
updated_at: z.ZodISODateTime;
|
|
9432
|
+
}, z.core.$strip>;
|
|
9337
9433
|
export declare const zUpdateProgramBody: z.ZodObject<{
|
|
9338
9434
|
program_number: z.ZodOptional<z.ZodString>;
|
|
9339
9435
|
program_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -9404,6 +9500,8 @@ export declare const zListPeriodsResponse: z.ZodObject<{
|
|
|
9404
9500
|
wage_percent: z.ZodString;
|
|
9405
9501
|
wage_cents: z.ZodString;
|
|
9406
9502
|
wage_currency: z.ZodString;
|
|
9503
|
+
fringe_percent: z.ZodNullable<z.ZodString>;
|
|
9504
|
+
fringe_cents: z.ZodNullable<z.ZodString>;
|
|
9407
9505
|
created_at: z.ZodISODateTime;
|
|
9408
9506
|
updated_at: z.ZodISODateTime;
|
|
9409
9507
|
}, z.core.$strip>>;
|
|
@@ -9416,6 +9514,8 @@ export declare const zCreatePeriodBody: z.ZodObject<{
|
|
|
9416
9514
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9417
9515
|
wage_percent: z.ZodNumber;
|
|
9418
9516
|
wage_cents: z.ZodInt;
|
|
9517
|
+
fringe_percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
9518
|
+
fringe_cents: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
9419
9519
|
}, z.core.$strip>;
|
|
9420
9520
|
export declare const zCreatePeriodPath: z.ZodObject<{
|
|
9421
9521
|
wage_schedule_id: z.ZodString;
|
|
@@ -9434,6 +9534,8 @@ export declare const zCreatePeriodResponse: z.ZodObject<{
|
|
|
9434
9534
|
wage_percent: z.ZodString;
|
|
9435
9535
|
wage_cents: z.ZodString;
|
|
9436
9536
|
wage_currency: z.ZodString;
|
|
9537
|
+
fringe_percent: z.ZodNullable<z.ZodString>;
|
|
9538
|
+
fringe_cents: z.ZodNullable<z.ZodString>;
|
|
9437
9539
|
created_at: z.ZodISODateTime;
|
|
9438
9540
|
updated_at: z.ZodISODateTime;
|
|
9439
9541
|
}, z.core.$strip>;
|
|
@@ -9445,6 +9547,8 @@ export declare const zUpdatePeriodBody: z.ZodObject<{
|
|
|
9445
9547
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9446
9548
|
wage_percent: z.ZodOptional<z.ZodNumber>;
|
|
9447
9549
|
wage_cents: z.ZodOptional<z.ZodInt>;
|
|
9550
|
+
fringe_percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
9551
|
+
fringe_cents: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
9448
9552
|
}, z.core.$strip>;
|
|
9449
9553
|
export declare const zUpdatePeriodPath: z.ZodObject<{
|
|
9450
9554
|
wage_schedule_id: z.ZodString;
|
|
@@ -9464,6 +9568,8 @@ export declare const zUpdatePeriodResponse: z.ZodObject<{
|
|
|
9464
9568
|
wage_percent: z.ZodString;
|
|
9465
9569
|
wage_cents: z.ZodString;
|
|
9466
9570
|
wage_currency: z.ZodString;
|
|
9571
|
+
fringe_percent: z.ZodNullable<z.ZodString>;
|
|
9572
|
+
fringe_cents: z.ZodNullable<z.ZodString>;
|
|
9467
9573
|
created_at: z.ZodISODateTime;
|
|
9468
9574
|
updated_at: z.ZodISODateTime;
|
|
9469
9575
|
}, z.core.$strip>;
|
|
@@ -9529,6 +9635,7 @@ export declare const zListWageSchedulesResponse: z.ZodObject<{
|
|
|
9529
9635
|
end_wage_currency: z.ZodString;
|
|
9530
9636
|
journeyworker_wage_cents: z.ZodString;
|
|
9531
9637
|
journeyworker_wage_currency: z.ZodString;
|
|
9638
|
+
journeyworker_fringe_cents: z.ZodNullable<z.ZodString>;
|
|
9532
9639
|
created_at: z.ZodISODateTime;
|
|
9533
9640
|
updated_at: z.ZodISODateTime;
|
|
9534
9641
|
}, z.core.$strip>>;
|
|
@@ -9561,6 +9668,7 @@ export declare const zCreateWageScheduleBody: z.ZodObject<{
|
|
|
9561
9668
|
year: "year";
|
|
9562
9669
|
}>;
|
|
9563
9670
|
journeyworker_wage_cents: z.ZodOptional<z.ZodInt>;
|
|
9671
|
+
journeyworker_fringe_cents: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
9564
9672
|
end_wage_cents: z.ZodOptional<z.ZodInt>;
|
|
9565
9673
|
periods_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
9566
9674
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -9571,6 +9679,8 @@ export declare const zCreateWageScheduleBody: z.ZodObject<{
|
|
|
9571
9679
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9572
9680
|
wage_percent: z.ZodNumber;
|
|
9573
9681
|
wage_cents: z.ZodInt;
|
|
9682
|
+
fringe_percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
9683
|
+
fringe_cents: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
9574
9684
|
_destroy: z.ZodOptional<z.ZodBoolean>;
|
|
9575
9685
|
}, z.core.$strip>>>;
|
|
9576
9686
|
}, z.core.$strip>;
|
|
@@ -9613,6 +9723,59 @@ export declare const zCreateWageScheduleResponse: z.ZodObject<{
|
|
|
9613
9723
|
end_wage_currency: z.ZodString;
|
|
9614
9724
|
journeyworker_wage_cents: z.ZodString;
|
|
9615
9725
|
journeyworker_wage_currency: z.ZodString;
|
|
9726
|
+
journeyworker_fringe_cents: z.ZodNullable<z.ZodString>;
|
|
9727
|
+
created_at: z.ZodISODateTime;
|
|
9728
|
+
updated_at: z.ZodISODateTime;
|
|
9729
|
+
}, z.core.$strip>;
|
|
9730
|
+
export declare const zDeleteWageSchedulePath: z.ZodObject<{
|
|
9731
|
+
occupation_id: z.ZodString;
|
|
9732
|
+
id: z.ZodString;
|
|
9733
|
+
}, z.core.$strip>;
|
|
9734
|
+
/**
|
|
9735
|
+
* No Content
|
|
9736
|
+
*/
|
|
9737
|
+
export declare const zDeleteWageScheduleResponse: z.ZodVoid;
|
|
9738
|
+
export declare const zGetWageSchedulePath: z.ZodObject<{
|
|
9739
|
+
occupation_id: z.ZodString;
|
|
9740
|
+
id: z.ZodString;
|
|
9741
|
+
}, z.core.$strip>;
|
|
9742
|
+
/**
|
|
9743
|
+
* Success
|
|
9744
|
+
*/
|
|
9745
|
+
export declare const zGetWageScheduleResponse: z.ZodObject<{
|
|
9746
|
+
id: z.ZodString;
|
|
9747
|
+
apprenticeship_occupation_id: z.ZodString;
|
|
9748
|
+
name: z.ZodString;
|
|
9749
|
+
description: z.ZodNullable<z.ZodString>;
|
|
9750
|
+
wage_unit: z.ZodEnum<{
|
|
9751
|
+
hourly: "hourly";
|
|
9752
|
+
weekly: "weekly";
|
|
9753
|
+
monthly: "monthly";
|
|
9754
|
+
quarterly: "quarterly";
|
|
9755
|
+
semi_annually: "semi_annually";
|
|
9756
|
+
annually: "annually";
|
|
9757
|
+
}>;
|
|
9758
|
+
journeyworker_wage_unit: z.ZodEnum<{
|
|
9759
|
+
hourly: "hourly";
|
|
9760
|
+
weekly: "weekly";
|
|
9761
|
+
monthly: "monthly";
|
|
9762
|
+
quarterly: "quarterly";
|
|
9763
|
+
semi_annually: "semi_annually";
|
|
9764
|
+
annually: "annually";
|
|
9765
|
+
}>;
|
|
9766
|
+
period_unit: z.ZodEnum<{
|
|
9767
|
+
hours: "hours";
|
|
9768
|
+
weeks: "weeks";
|
|
9769
|
+
months: "months";
|
|
9770
|
+
quarter: "quarter";
|
|
9771
|
+
semi_annual: "semi_annual";
|
|
9772
|
+
year: "year";
|
|
9773
|
+
}>;
|
|
9774
|
+
end_wage_cents: z.ZodString;
|
|
9775
|
+
end_wage_currency: z.ZodString;
|
|
9776
|
+
journeyworker_wage_cents: z.ZodString;
|
|
9777
|
+
journeyworker_wage_currency: z.ZodString;
|
|
9778
|
+
journeyworker_fringe_cents: z.ZodNullable<z.ZodString>;
|
|
9616
9779
|
created_at: z.ZodISODateTime;
|
|
9617
9780
|
updated_at: z.ZodISODateTime;
|
|
9618
9781
|
}, z.core.$strip>;
|
|
@@ -9644,6 +9807,7 @@ export declare const zUpdateWageScheduleBody: z.ZodObject<{
|
|
|
9644
9807
|
year: "year";
|
|
9645
9808
|
}>>;
|
|
9646
9809
|
journeyworker_wage_cents: z.ZodOptional<z.ZodInt>;
|
|
9810
|
+
journeyworker_fringe_cents: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
9647
9811
|
end_wage_cents: z.ZodOptional<z.ZodInt>;
|
|
9648
9812
|
periods_attributes: z.ZodOptional<z.ZodArray<z.ZodIntersection<z.ZodUnion<readonly [z.ZodUnknown, z.ZodUnion<readonly [z.ZodObject<{
|
|
9649
9813
|
min_minutes: z.ZodInt;
|
|
@@ -9662,6 +9826,8 @@ export declare const zUpdateWageScheduleBody: z.ZodObject<{
|
|
|
9662
9826
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9663
9827
|
wage_percent: z.ZodOptional<z.ZodNumber>;
|
|
9664
9828
|
wage_cents: z.ZodOptional<z.ZodInt>;
|
|
9829
|
+
fringe_percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
9830
|
+
fringe_cents: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
9665
9831
|
_destroy: z.ZodOptional<z.ZodBoolean>;
|
|
9666
9832
|
}, z.core.$strip>>>>;
|
|
9667
9833
|
}, z.core.$strip>;
|
|
@@ -9705,6 +9871,7 @@ export declare const zUpdateWageScheduleResponse: z.ZodObject<{
|
|
|
9705
9871
|
end_wage_currency: z.ZodString;
|
|
9706
9872
|
journeyworker_wage_cents: z.ZodString;
|
|
9707
9873
|
journeyworker_wage_currency: z.ZodString;
|
|
9874
|
+
journeyworker_fringe_cents: z.ZodNullable<z.ZodString>;
|
|
9708
9875
|
created_at: z.ZodISODateTime;
|
|
9709
9876
|
updated_at: z.ZodISODateTime;
|
|
9710
9877
|
}, z.core.$strip>;
|
|
@@ -13881,7 +14048,6 @@ export declare const zGetCertificationResponse: z.ZodObject<{
|
|
|
13881
14048
|
updated_at: z.ZodISODateTime;
|
|
13882
14049
|
}, z.core.$strip>;
|
|
13883
14050
|
export declare const zUpdateCertificationBody: z.ZodObject<{
|
|
13884
|
-
company_id: z.ZodOptional<z.ZodString>;
|
|
13885
14051
|
name: z.ZodOptional<z.ZodString>;
|
|
13886
14052
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13887
14053
|
verified: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -13953,6 +14119,27 @@ export declare const zCreateDepartmentResponse: z.ZodObject<{
|
|
|
13953
14119
|
created_at: z.ZodISODateTime;
|
|
13954
14120
|
updated_at: z.ZodISODateTime;
|
|
13955
14121
|
}, z.core.$strip>;
|
|
14122
|
+
export declare const zDeleteDepartmentPath: z.ZodObject<{
|
|
14123
|
+
id: z.ZodString;
|
|
14124
|
+
}, z.core.$strip>;
|
|
14125
|
+
/**
|
|
14126
|
+
* No Content
|
|
14127
|
+
*/
|
|
14128
|
+
export declare const zDeleteDepartmentResponse: z.ZodVoid;
|
|
14129
|
+
export declare const zGetDepartmentPath: z.ZodObject<{
|
|
14130
|
+
id: z.ZodString;
|
|
14131
|
+
}, z.core.$strip>;
|
|
14132
|
+
/**
|
|
14133
|
+
* Success
|
|
14134
|
+
*/
|
|
14135
|
+
export declare const zGetDepartmentResponse: z.ZodObject<{
|
|
14136
|
+
id: z.ZodString;
|
|
14137
|
+
name: z.ZodString;
|
|
14138
|
+
description: z.ZodNullable<z.ZodString>;
|
|
14139
|
+
company_id: z.ZodString;
|
|
14140
|
+
created_at: z.ZodISODateTime;
|
|
14141
|
+
updated_at: z.ZodISODateTime;
|
|
14142
|
+
}, z.core.$strip>;
|
|
13956
14143
|
export declare const zUpdateDepartmentBody: z.ZodObject<{
|
|
13957
14144
|
name: z.ZodOptional<z.ZodString>;
|
|
13958
14145
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -14725,6 +14912,7 @@ export declare const zCreateDirectUploadBody: z.ZodObject<{
|
|
|
14725
14912
|
"assets.products": "assets.products";
|
|
14726
14913
|
"assets.vendors": "assets.vendors";
|
|
14727
14914
|
"compliance.checks": "compliance.checks";
|
|
14915
|
+
"internal.companies": "internal.companies";
|
|
14728
14916
|
"internal.company_todos": "internal.company_todos";
|
|
14729
14917
|
"internal.job_todos": "internal.job_todos";
|
|
14730
14918
|
"internal.project_todos": "internal.project_todos";
|
|
@@ -16282,6 +16470,8 @@ export declare const zListJobsQuery: z.ZodObject<{
|
|
|
16282
16470
|
feature: "feature";
|
|
16283
16471
|
quantity: "quantity";
|
|
16284
16472
|
}>>;
|
|
16473
|
+
'filter[name]': z.ZodOptional<z.ZodString>;
|
|
16474
|
+
'filter[purchase_order_number]': z.ZodOptional<z.ZodString>;
|
|
16285
16475
|
'page[cursor]': z.ZodOptional<z.ZodString>;
|
|
16286
16476
|
'page[limit]': z.ZodDefault<z.ZodOptional<z.ZodInt>>;
|
|
16287
16477
|
page: z.ZodOptional<z.ZodString>;
|
|
@@ -18523,6 +18713,13 @@ export declare const zCreatePayRateRulePackageResponse: z.ZodObject<{
|
|
|
18523
18713
|
created_at: z.ZodISODateTime;
|
|
18524
18714
|
updated_at: z.ZodISODateTime;
|
|
18525
18715
|
}, z.core.$strip>;
|
|
18716
|
+
export declare const zDeletePayRateRulePackagePath: z.ZodObject<{
|
|
18717
|
+
id: z.ZodString;
|
|
18718
|
+
}, z.core.$strip>;
|
|
18719
|
+
/**
|
|
18720
|
+
* No Content
|
|
18721
|
+
*/
|
|
18722
|
+
export declare const zDeletePayRateRulePackageResponse: z.ZodVoid;
|
|
18526
18723
|
export declare const zGetPayRateRulePackagePath: z.ZodObject<{
|
|
18527
18724
|
id: z.ZodString;
|
|
18528
18725
|
}, z.core.$strip>;
|
|
@@ -18539,6 +18736,26 @@ export declare const zGetPayRateRulePackageResponse: z.ZodObject<{
|
|
|
18539
18736
|
created_at: z.ZodISODateTime;
|
|
18540
18737
|
updated_at: z.ZodISODateTime;
|
|
18541
18738
|
}, z.core.$strip>;
|
|
18739
|
+
export declare const zUpdatePayRateRulePackageBody: z.ZodObject<{
|
|
18740
|
+
name: z.ZodOptional<z.ZodString>;
|
|
18741
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18742
|
+
}, z.core.$strip>;
|
|
18743
|
+
export declare const zUpdatePayRateRulePackagePath: z.ZodObject<{
|
|
18744
|
+
id: z.ZodString;
|
|
18745
|
+
}, z.core.$strip>;
|
|
18746
|
+
/**
|
|
18747
|
+
* Success
|
|
18748
|
+
*/
|
|
18749
|
+
export declare const zUpdatePayRateRulePackageResponse: z.ZodObject<{
|
|
18750
|
+
id: z.ZodString;
|
|
18751
|
+
name: z.ZodString;
|
|
18752
|
+
description: z.ZodNullable<z.ZodString>;
|
|
18753
|
+
scoped_to_job_id: z.ZodNullable<z.ZodString>;
|
|
18754
|
+
default: z.ZodBoolean;
|
|
18755
|
+
selectable: z.ZodBoolean;
|
|
18756
|
+
created_at: z.ZodISODateTime;
|
|
18757
|
+
updated_at: z.ZodISODateTime;
|
|
18758
|
+
}, z.core.$strip>;
|
|
18542
18759
|
export declare const zListAggregateTimeImportsPath: z.ZodObject<{
|
|
18543
18760
|
pay_period_id: z.ZodString;
|
|
18544
18761
|
}, z.core.$strip>;
|
|
@@ -18581,6 +18798,7 @@ export declare const zListAggregateTimeImportsResponse: z.ZodObject<{
|
|
|
18581
18798
|
processing: "processing";
|
|
18582
18799
|
processed: "processed";
|
|
18583
18800
|
superseded: "superseded";
|
|
18801
|
+
withdrawn: "withdrawn";
|
|
18584
18802
|
}>;
|
|
18585
18803
|
processed_rows_count: z.ZodInt;
|
|
18586
18804
|
processing_errors: z.ZodArray<z.ZodObject<{
|
|
@@ -18613,6 +18831,7 @@ export declare const zCreateAggregateTimeImportResponse: z.ZodObject<{
|
|
|
18613
18831
|
processing: "processing";
|
|
18614
18832
|
processed: "processed";
|
|
18615
18833
|
superseded: "superseded";
|
|
18834
|
+
withdrawn: "withdrawn";
|
|
18616
18835
|
}>;
|
|
18617
18836
|
processed_rows_count: z.ZodInt;
|
|
18618
18837
|
processing_errors: z.ZodArray<z.ZodObject<{
|
|
@@ -18642,6 +18861,7 @@ export declare const zGetAggregateTimeImportResponse: z.ZodObject<{
|
|
|
18642
18861
|
processing: "processing";
|
|
18643
18862
|
processed: "processed";
|
|
18644
18863
|
superseded: "superseded";
|
|
18864
|
+
withdrawn: "withdrawn";
|
|
18645
18865
|
}>;
|
|
18646
18866
|
processed_rows_count: z.ZodInt;
|
|
18647
18867
|
processing_errors: z.ZodArray<z.ZodObject<{
|
|
@@ -18696,6 +18916,7 @@ export declare const zListDsptchCprImportsResponse: z.ZodObject<{
|
|
|
18696
18916
|
processing: "processing";
|
|
18697
18917
|
processed: "processed";
|
|
18698
18918
|
superseded: "superseded";
|
|
18919
|
+
withdrawn: "withdrawn";
|
|
18699
18920
|
}>;
|
|
18700
18921
|
processed_rows_count: z.ZodInt;
|
|
18701
18922
|
processing_errors: z.ZodArray<z.ZodObject<{
|
|
@@ -18728,6 +18949,7 @@ export declare const zCreateDsptchCprImportResponse: z.ZodObject<{
|
|
|
18728
18949
|
processing: "processing";
|
|
18729
18950
|
processed: "processed";
|
|
18730
18951
|
superseded: "superseded";
|
|
18952
|
+
withdrawn: "withdrawn";
|
|
18731
18953
|
}>;
|
|
18732
18954
|
processed_rows_count: z.ZodInt;
|
|
18733
18955
|
processing_errors: z.ZodArray<z.ZodObject<{
|
|
@@ -18757,6 +18979,7 @@ export declare const zGetDsptchCprImportResponse: z.ZodObject<{
|
|
|
18757
18979
|
processing: "processing";
|
|
18758
18980
|
processed: "processed";
|
|
18759
18981
|
superseded: "superseded";
|
|
18982
|
+
withdrawn: "withdrawn";
|
|
18760
18983
|
}>;
|
|
18761
18984
|
processed_rows_count: z.ZodInt;
|
|
18762
18985
|
processing_errors: z.ZodArray<z.ZodObject<{
|
|
@@ -18811,6 +19034,7 @@ export declare const zListTimeEntryImportsResponse: z.ZodObject<{
|
|
|
18811
19034
|
processing: "processing";
|
|
18812
19035
|
processed: "processed";
|
|
18813
19036
|
superseded: "superseded";
|
|
19037
|
+
withdrawn: "withdrawn";
|
|
18814
19038
|
}>;
|
|
18815
19039
|
processed_rows_count: z.ZodInt;
|
|
18816
19040
|
processing_errors: z.ZodArray<z.ZodObject<{
|
|
@@ -18843,6 +19067,7 @@ export declare const zCreateTimeEntryImportResponse: z.ZodObject<{
|
|
|
18843
19067
|
processing: "processing";
|
|
18844
19068
|
processed: "processed";
|
|
18845
19069
|
superseded: "superseded";
|
|
19070
|
+
withdrawn: "withdrawn";
|
|
18846
19071
|
}>;
|
|
18847
19072
|
processed_rows_count: z.ZodInt;
|
|
18848
19073
|
processing_errors: z.ZodArray<z.ZodObject<{
|
|
@@ -18872,6 +19097,7 @@ export declare const zGetTimeEntryImportResponse: z.ZodObject<{
|
|
|
18872
19097
|
processing: "processing";
|
|
18873
19098
|
processed: "processed";
|
|
18874
19099
|
superseded: "superseded";
|
|
19100
|
+
withdrawn: "withdrawn";
|
|
18875
19101
|
}>;
|
|
18876
19102
|
processed_rows_count: z.ZodInt;
|
|
18877
19103
|
processing_errors: z.ZodArray<z.ZodObject<{
|
|
@@ -19482,6 +19708,7 @@ export declare const zListPaystubImportsResponse: z.ZodObject<{
|
|
|
19482
19708
|
processing: "processing";
|
|
19483
19709
|
processed: "processed";
|
|
19484
19710
|
superseded: "superseded";
|
|
19711
|
+
withdrawn: "withdrawn";
|
|
19485
19712
|
}>;
|
|
19486
19713
|
processed_rows_count: z.ZodInt;
|
|
19487
19714
|
processing_errors: z.ZodArray<z.ZodObject<{
|
|
@@ -19514,6 +19741,7 @@ export declare const zCreatePaystubImportResponse: z.ZodObject<{
|
|
|
19514
19741
|
processing: "processing";
|
|
19515
19742
|
processed: "processed";
|
|
19516
19743
|
superseded: "superseded";
|
|
19744
|
+
withdrawn: "withdrawn";
|
|
19517
19745
|
}>;
|
|
19518
19746
|
processed_rows_count: z.ZodInt;
|
|
19519
19747
|
processing_errors: z.ZodArray<z.ZodObject<{
|
|
@@ -19543,6 +19771,7 @@ export declare const zGetPaystubImportResponse: z.ZodObject<{
|
|
|
19543
19771
|
processing: "processing";
|
|
19544
19772
|
processed: "processed";
|
|
19545
19773
|
superseded: "superseded";
|
|
19774
|
+
withdrawn: "withdrawn";
|
|
19546
19775
|
}>;
|
|
19547
19776
|
processed_rows_count: z.ZodInt;
|
|
19548
19777
|
processing_errors: z.ZodArray<z.ZodObject<{
|
|
@@ -21348,6 +21577,7 @@ export declare const zListProjectsQuery: z.ZodObject<{
|
|
|
21348
21577
|
ap_only: "ap_only";
|
|
21349
21578
|
}>>;
|
|
21350
21579
|
'filter[external_id]': z.ZodOptional<z.ZodString>;
|
|
21580
|
+
'filter[name]': z.ZodOptional<z.ZodString>;
|
|
21351
21581
|
'filter[created_at][gte]': z.ZodOptional<z.ZodISODateTime>;
|
|
21352
21582
|
'filter[created_at][lte]': z.ZodOptional<z.ZodISODateTime>;
|
|
21353
21583
|
'filter[updated_at][gte]': z.ZodOptional<z.ZodISODateTime>;
|
|
@@ -21798,6 +22028,13 @@ export declare const zCreateCompanyUserDetailResponse: z.ZodObject<{
|
|
|
21798
22028
|
portuguese_or_brazilian: "portuguese_or_brazilian";
|
|
21799
22029
|
}>>>;
|
|
21800
22030
|
}, z.core.$strip>;
|
|
22031
|
+
export declare const zDeleteCompanyUserDetailPath: z.ZodObject<{
|
|
22032
|
+
id: z.ZodString;
|
|
22033
|
+
}, z.core.$strip>;
|
|
22034
|
+
/**
|
|
22035
|
+
* No Content
|
|
22036
|
+
*/
|
|
22037
|
+
export declare const zDeleteCompanyUserDetailResponse: z.ZodVoid;
|
|
21801
22038
|
export declare const zUpdateCompanyUserDetailBody: z.ZodObject<{
|
|
21802
22039
|
address1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21803
22040
|
address2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -22411,6 +22648,52 @@ export declare const zCreatePositionResponse: z.ZodObject<{
|
|
|
22411
22648
|
created_at: z.ZodISODateTime;
|
|
22412
22649
|
updated_at: z.ZodISODateTime;
|
|
22413
22650
|
}, z.core.$strip>;
|
|
22651
|
+
export declare const zDeletePositionPath: z.ZodObject<{
|
|
22652
|
+
job_id: z.ZodString;
|
|
22653
|
+
id: z.ZodString;
|
|
22654
|
+
}, z.core.$strip>;
|
|
22655
|
+
/**
|
|
22656
|
+
* No Content
|
|
22657
|
+
*/
|
|
22658
|
+
export declare const zDeletePositionResponse: z.ZodVoid;
|
|
22659
|
+
export declare const zGetPositionPath: z.ZodObject<{
|
|
22660
|
+
job_id: z.ZodString;
|
|
22661
|
+
id: z.ZodString;
|
|
22662
|
+
}, z.core.$strip>;
|
|
22663
|
+
/**
|
|
22664
|
+
* Success
|
|
22665
|
+
*/
|
|
22666
|
+
export declare const zGetPositionResponse: z.ZodObject<{
|
|
22667
|
+
id: z.ZodString;
|
|
22668
|
+
job_id: z.ZodString;
|
|
22669
|
+
fulfilled_by_user_id: z.ZodNullable<z.ZodString>;
|
|
22670
|
+
pay_rates_rule_package_id: z.ZodNullable<z.ZodString>;
|
|
22671
|
+
position_function: z.ZodNullable<z.ZodObject<{
|
|
22672
|
+
id: z.ZodString;
|
|
22673
|
+
value: z.ZodString;
|
|
22674
|
+
description: z.ZodString;
|
|
22675
|
+
}, z.core.$strip>>;
|
|
22676
|
+
per_diem_name: z.ZodNullable<z.ZodString>;
|
|
22677
|
+
per_diem_currency: z.ZodNullable<z.ZodString>;
|
|
22678
|
+
per_diem_rate_cents: z.ZodNullable<z.ZodString>;
|
|
22679
|
+
hourly_rate_cents: z.ZodNullable<z.ZodString>;
|
|
22680
|
+
hourly_rate_src_type: z.ZodNullable<z.ZodString>;
|
|
22681
|
+
cash_fringe_rate_cents: z.ZodNullable<z.ZodString>;
|
|
22682
|
+
cash_fringe_rate_src_type: z.ZodNullable<z.ZodString>;
|
|
22683
|
+
pwa_wage_pay_rate_cents: z.ZodNullable<z.ZodString>;
|
|
22684
|
+
pwa_wage_pay_rate_src_type: z.ZodNullable<z.ZodString>;
|
|
22685
|
+
wage_adder_rate_cents: z.ZodNullable<z.ZodString>;
|
|
22686
|
+
pwa: z.ZodBoolean;
|
|
22687
|
+
federal_wage_determination_ids: z.ZodArray<z.ZodString>;
|
|
22688
|
+
regional_wage_determination_ids: z.ZodArray<z.ZodString>;
|
|
22689
|
+
pwa_details: z.ZodObject<{
|
|
22690
|
+
skill_level: z.ZodNullable<z.ZodString>;
|
|
22691
|
+
}, z.core.$strip>;
|
|
22692
|
+
start_time: z.ZodNullable<z.ZodISODateTime>;
|
|
22693
|
+
end_time: z.ZodNullable<z.ZodISODateTime>;
|
|
22694
|
+
created_at: z.ZodISODateTime;
|
|
22695
|
+
updated_at: z.ZodISODateTime;
|
|
22696
|
+
}, z.core.$strip>;
|
|
22414
22697
|
export declare const zUpdatePositionBody: z.ZodObject<{
|
|
22415
22698
|
job_id: z.ZodOptional<z.ZodString>;
|
|
22416
22699
|
fulfilled_by_user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -23254,6 +23537,47 @@ export declare const zDeleteTimeEntryResponse: z.ZodObject<{
|
|
|
23254
23537
|
name: z.ZodString;
|
|
23255
23538
|
}, z.core.$strip>>;
|
|
23256
23539
|
}, z.core.$strip>;
|
|
23540
|
+
export declare const zGetTimeEntryPath: z.ZodObject<{
|
|
23541
|
+
id: z.ZodString;
|
|
23542
|
+
}, z.core.$strip>;
|
|
23543
|
+
/**
|
|
23544
|
+
* Success
|
|
23545
|
+
*/
|
|
23546
|
+
export declare const zGetTimeEntryResponse: z.ZodObject<{
|
|
23547
|
+
id: z.ZodString;
|
|
23548
|
+
user_id: z.ZodString;
|
|
23549
|
+
timekeeping_time_card_id: z.ZodString;
|
|
23550
|
+
job_id: z.ZodNullable<z.ZodString>;
|
|
23551
|
+
timekeeping_timecode_id: z.ZodNullable<z.ZodString>;
|
|
23552
|
+
state: z.ZodNullable<z.ZodString>;
|
|
23553
|
+
description: z.ZodNullable<z.ZodString>;
|
|
23554
|
+
clock_punched: z.ZodBoolean;
|
|
23555
|
+
worker_approved: z.ZodBoolean;
|
|
23556
|
+
manager_approval_status: z.ZodEnum<{
|
|
23557
|
+
PENDING: "PENDING";
|
|
23558
|
+
APPROVED: "APPROVED";
|
|
23559
|
+
DECLINED: "DECLINED";
|
|
23560
|
+
}>;
|
|
23561
|
+
hours_worked: z.ZodNumber;
|
|
23562
|
+
overtime_minutes_worked: z.ZodObject<{
|
|
23563
|
+
1: z.ZodNumber;
|
|
23564
|
+
1.5: z.ZodNumber;
|
|
23565
|
+
2: z.ZodNumber;
|
|
23566
|
+
}, z.core.$strip>;
|
|
23567
|
+
incentive_pay_one_five_x_minutes_worked: z.ZodInt;
|
|
23568
|
+
hourly_rate_cents: z.ZodNullable<z.ZodString>;
|
|
23569
|
+
currency: z.ZodString;
|
|
23570
|
+
hourly_rate_src_type: z.ZodNullable<z.ZodString>;
|
|
23571
|
+
timekeeping_pay_period_id: z.ZodString;
|
|
23572
|
+
start_time: z.ZodISODateTime;
|
|
23573
|
+
end_time: z.ZodISODateTime;
|
|
23574
|
+
created_at: z.ZodISODateTime;
|
|
23575
|
+
updated_at: z.ZodISODateTime;
|
|
23576
|
+
feature_ids: z.ZodArray<z.ZodString>;
|
|
23577
|
+
features: z.ZodArray<z.ZodObject<{
|
|
23578
|
+
name: z.ZodString;
|
|
23579
|
+
}, z.core.$strip>>;
|
|
23580
|
+
}, z.core.$strip>;
|
|
23257
23581
|
export declare const zUpdateTimeEntryBody: z.ZodIntersection<z.ZodObject<{
|
|
23258
23582
|
timekeeping_time_card_id: z.ZodOptional<z.ZodString>;
|
|
23259
23583
|
start_time: z.ZodOptional<z.ZodISODateTime>;
|
|
@@ -26007,11 +26331,17 @@ export declare const zListUsersResponse: z.ZodObject<{
|
|
|
26007
26331
|
/**
|
|
26008
26332
|
* Create a user
|
|
26009
26333
|
*/
|
|
26010
|
-
export declare const zCreateUserBody: z.ZodObject<{
|
|
26011
|
-
company_id: z.ZodString;
|
|
26334
|
+
export declare const zCreateUserBody: z.ZodIntersection<z.ZodUnion<readonly [z.ZodObject<{
|
|
26012
26335
|
email: z.ZodString;
|
|
26013
|
-
|
|
26014
|
-
phone_number: z.
|
|
26336
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
26337
|
+
phone_number: z.ZodString;
|
|
26338
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
26339
|
+
skip_invite: z.ZodLiteral<true>;
|
|
26340
|
+
}, z.core.$strip>]>, z.ZodObject<{
|
|
26341
|
+
company_id: z.ZodOptional<z.ZodString>;
|
|
26342
|
+
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26343
|
+
personal_email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26344
|
+
phone_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26015
26345
|
first_name: z.ZodString;
|
|
26016
26346
|
last_name: z.ZodString;
|
|
26017
26347
|
preferred_first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -26117,7 +26447,7 @@ export declare const zCreateUserBody: z.ZodObject<{
|
|
|
26117
26447
|
portuguese_or_brazilian: "portuguese_or_brazilian";
|
|
26118
26448
|
}>>>>;
|
|
26119
26449
|
}, z.core.$strip>>>;
|
|
26120
|
-
}, z.core.$strip
|
|
26450
|
+
}, z.core.$strip>>;
|
|
26121
26451
|
/**
|
|
26122
26452
|
* Created
|
|
26123
26453
|
*/
|