@dsptch-work/api-client 0.23.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 +19 -0
- package/dist/gen/index.d.ts +1 -1
- package/dist/gen/sdk.gen.d.ts +43 -8
- package/dist/gen/sdk.gen.js +54 -7
- package/dist/gen/types.gen.d.ts +173 -25
- package/dist/gen/zod.gen.d.ts +80 -11
- package/dist/gen/zod.gen.js +48 -16
- 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>;
|
|
@@ -726,7 +729,7 @@ export declare const zApprenticeshipProgramEmployerUpdateParameters: z.ZodObject
|
|
|
726
729
|
require_timecard_allocation: z.ZodOptional<z.ZodBoolean>;
|
|
727
730
|
}, z.core.$strip>;
|
|
728
731
|
/**
|
|
729
|
-
* 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.
|
|
730
733
|
*/
|
|
731
734
|
export declare const zApprenticeshipWageSchedulePeriodParameters: z.ZodObject<{
|
|
732
735
|
period_number: z.ZodInt;
|
|
@@ -736,9 +739,11 @@ export declare const zApprenticeshipWageSchedulePeriodParameters: z.ZodObject<{
|
|
|
736
739
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
737
740
|
wage_percent: z.ZodNumber;
|
|
738
741
|
wage_cents: z.ZodInt;
|
|
742
|
+
fringe_percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
743
|
+
fringe_cents: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
739
744
|
}, z.core.$strip>;
|
|
740
745
|
/**
|
|
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
|
|
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.
|
|
742
747
|
*/
|
|
743
748
|
export declare const zApprenticeshipWageSchedulePeriodUpdateParameters: z.ZodObject<{
|
|
744
749
|
period_number: z.ZodOptional<z.ZodInt>;
|
|
@@ -748,6 +753,8 @@ export declare const zApprenticeshipWageSchedulePeriodUpdateParameters: z.ZodObj
|
|
|
748
753
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
749
754
|
wage_percent: z.ZodOptional<z.ZodNumber>;
|
|
750
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>>;
|
|
751
758
|
}, z.core.$strip>;
|
|
752
759
|
/**
|
|
753
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.
|
|
@@ -780,6 +787,7 @@ export declare const zApprenticeshipWageScheduleParameters: z.ZodObject<{
|
|
|
780
787
|
year: "year";
|
|
781
788
|
}>;
|
|
782
789
|
journeyworker_wage_cents: z.ZodOptional<z.ZodInt>;
|
|
790
|
+
journeyworker_fringe_cents: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
783
791
|
end_wage_cents: z.ZodOptional<z.ZodInt>;
|
|
784
792
|
periods_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
785
793
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -790,6 +798,8 @@ export declare const zApprenticeshipWageScheduleParameters: z.ZodObject<{
|
|
|
790
798
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
791
799
|
wage_percent: z.ZodNumber;
|
|
792
800
|
wage_cents: z.ZodInt;
|
|
801
|
+
fringe_percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
802
|
+
fringe_cents: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
793
803
|
_destroy: z.ZodOptional<z.ZodBoolean>;
|
|
794
804
|
}, z.core.$strip>>>;
|
|
795
805
|
}, z.core.$strip>;
|
|
@@ -824,6 +834,7 @@ export declare const zApprenticeshipWageScheduleUpdateParameters: z.ZodObject<{
|
|
|
824
834
|
year: "year";
|
|
825
835
|
}>>;
|
|
826
836
|
journeyworker_wage_cents: z.ZodOptional<z.ZodInt>;
|
|
837
|
+
journeyworker_fringe_cents: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
827
838
|
end_wage_cents: z.ZodOptional<z.ZodInt>;
|
|
828
839
|
periods_attributes: z.ZodOptional<z.ZodArray<z.ZodIntersection<z.ZodUnion<readonly [z.ZodUnknown, z.ZodUnion<readonly [z.ZodObject<{
|
|
829
840
|
min_minutes: z.ZodInt;
|
|
@@ -842,6 +853,8 @@ export declare const zApprenticeshipWageScheduleUpdateParameters: z.ZodObject<{
|
|
|
842
853
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
843
854
|
wage_percent: z.ZodOptional<z.ZodNumber>;
|
|
844
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>>;
|
|
845
858
|
_destroy: z.ZodOptional<z.ZodBoolean>;
|
|
846
859
|
}, z.core.$strip>>>>;
|
|
847
860
|
}, z.core.$strip>;
|
|
@@ -946,7 +959,7 @@ export declare const zPeopleEmploymentCreateParameters: z.ZodObject<{
|
|
|
946
959
|
employer_combined_savings_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
947
960
|
}, z.core.$strip>;
|
|
948
961
|
/**
|
|
949
|
-
* 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.
|
|
950
963
|
*/
|
|
951
964
|
export declare const zPeopleEmploymentScheduledChangeCreateParameters: z.ZodObject<{
|
|
952
965
|
compensation_type: z.ZodOptional<z.ZodEnum<{
|
|
@@ -967,7 +980,7 @@ export declare const zPeopleEmploymentScheduledChangeCreateParameters: z.ZodObje
|
|
|
967
980
|
effective_date: z.ZodISODate;
|
|
968
981
|
}, z.core.$strip>;
|
|
969
982
|
/**
|
|
970
|
-
* 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.
|
|
971
984
|
*/
|
|
972
985
|
export declare const zPeopleEmploymentScheduledChangeUpdateParameters: z.ZodObject<{
|
|
973
986
|
compensation_type: z.ZodOptional<z.ZodEnum<{
|
|
@@ -2968,6 +2981,7 @@ export declare const zAggregateTimeImportResponseObject: z.ZodObject<{
|
|
|
2968
2981
|
processing: "processing";
|
|
2969
2982
|
processed: "processed";
|
|
2970
2983
|
superseded: "superseded";
|
|
2984
|
+
withdrawn: "withdrawn";
|
|
2971
2985
|
}>;
|
|
2972
2986
|
processed_rows_count: z.ZodInt;
|
|
2973
2987
|
processing_errors: z.ZodArray<z.ZodObject<{
|
|
@@ -3003,6 +3017,7 @@ export declare const zDsptchCprImportResponseObject: z.ZodObject<{
|
|
|
3003
3017
|
processing: "processing";
|
|
3004
3018
|
processed: "processed";
|
|
3005
3019
|
superseded: "superseded";
|
|
3020
|
+
withdrawn: "withdrawn";
|
|
3006
3021
|
}>;
|
|
3007
3022
|
processed_rows_count: z.ZodInt;
|
|
3008
3023
|
processing_errors: z.ZodArray<z.ZodObject<{
|
|
@@ -3038,6 +3053,7 @@ export declare const zPaystubImportResponseObject: z.ZodObject<{
|
|
|
3038
3053
|
processing: "processing";
|
|
3039
3054
|
processed: "processed";
|
|
3040
3055
|
superseded: "superseded";
|
|
3056
|
+
withdrawn: "withdrawn";
|
|
3041
3057
|
}>;
|
|
3042
3058
|
processed_rows_count: z.ZodInt;
|
|
3043
3059
|
processing_errors: z.ZodArray<z.ZodObject<{
|
|
@@ -3073,6 +3089,7 @@ export declare const zTimeEntryImportResponseObject: z.ZodObject<{
|
|
|
3073
3089
|
processing: "processing";
|
|
3074
3090
|
processed: "processed";
|
|
3075
3091
|
superseded: "superseded";
|
|
3092
|
+
withdrawn: "withdrawn";
|
|
3076
3093
|
}>;
|
|
3077
3094
|
processed_rows_count: z.ZodInt;
|
|
3078
3095
|
processing_errors: z.ZodArray<z.ZodObject<{
|
|
@@ -4777,7 +4794,7 @@ export declare const zFormAssignmentTaskResponseObject: z.ZodArray<z.ZodObject<{
|
|
|
4777
4794
|
}, z.core.$strip>>;
|
|
4778
4795
|
}, z.core.$strip>>;
|
|
4779
4796
|
/**
|
|
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.
|
|
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.
|
|
4781
4798
|
*/
|
|
4782
4799
|
export declare const zCertificationParameters: z.ZodObject<{
|
|
4783
4800
|
company_id: z.ZodString;
|
|
@@ -4787,10 +4804,9 @@ export declare const zCertificationParameters: z.ZodObject<{
|
|
|
4787
4804
|
duration: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4788
4805
|
}, z.core.$strip>;
|
|
4789
4806
|
/**
|
|
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.
|
|
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.
|
|
4791
4808
|
*/
|
|
4792
4809
|
export declare const zCertificationUpdateParameters: z.ZodObject<{
|
|
4793
|
-
company_id: z.ZodOptional<z.ZodString>;
|
|
4794
4810
|
name: z.ZodOptional<z.ZodString>;
|
|
4795
4811
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4796
4812
|
verified: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -4811,7 +4827,7 @@ export declare const zCertificationPackageResponseObject: z.ZodObject<{
|
|
|
4811
4827
|
updated_at: z.ZodISODateTime;
|
|
4812
4828
|
}, z.core.$strip>;
|
|
4813
4829
|
/**
|
|
4814
|
-
* 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.
|
|
4815
4831
|
*/
|
|
4816
4832
|
export declare const zCertificationPackageParameters: z.ZodObject<{
|
|
4817
4833
|
name: z.ZodString;
|
|
@@ -4820,7 +4836,7 @@ export declare const zCertificationPackageParameters: z.ZodObject<{
|
|
|
4820
4836
|
performed_by_user_id: z.ZodString;
|
|
4821
4837
|
}, z.core.$strip>;
|
|
4822
4838
|
/**
|
|
4823
|
-
* 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.
|
|
4824
4840
|
*/
|
|
4825
4841
|
export declare const zCertificationPackageUpdateParameters: z.ZodObject<{
|
|
4826
4842
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -9404,6 +9420,8 @@ export declare const zListPeriodsResponse: z.ZodObject<{
|
|
|
9404
9420
|
wage_percent: z.ZodString;
|
|
9405
9421
|
wage_cents: z.ZodString;
|
|
9406
9422
|
wage_currency: z.ZodString;
|
|
9423
|
+
fringe_percent: z.ZodNullable<z.ZodString>;
|
|
9424
|
+
fringe_cents: z.ZodNullable<z.ZodString>;
|
|
9407
9425
|
created_at: z.ZodISODateTime;
|
|
9408
9426
|
updated_at: z.ZodISODateTime;
|
|
9409
9427
|
}, z.core.$strip>>;
|
|
@@ -9416,6 +9434,8 @@ export declare const zCreatePeriodBody: z.ZodObject<{
|
|
|
9416
9434
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9417
9435
|
wage_percent: z.ZodNumber;
|
|
9418
9436
|
wage_cents: z.ZodInt;
|
|
9437
|
+
fringe_percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
9438
|
+
fringe_cents: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
9419
9439
|
}, z.core.$strip>;
|
|
9420
9440
|
export declare const zCreatePeriodPath: z.ZodObject<{
|
|
9421
9441
|
wage_schedule_id: z.ZodString;
|
|
@@ -9434,6 +9454,8 @@ export declare const zCreatePeriodResponse: z.ZodObject<{
|
|
|
9434
9454
|
wage_percent: z.ZodString;
|
|
9435
9455
|
wage_cents: z.ZodString;
|
|
9436
9456
|
wage_currency: z.ZodString;
|
|
9457
|
+
fringe_percent: z.ZodNullable<z.ZodString>;
|
|
9458
|
+
fringe_cents: z.ZodNullable<z.ZodString>;
|
|
9437
9459
|
created_at: z.ZodISODateTime;
|
|
9438
9460
|
updated_at: z.ZodISODateTime;
|
|
9439
9461
|
}, z.core.$strip>;
|
|
@@ -9445,6 +9467,8 @@ export declare const zUpdatePeriodBody: z.ZodObject<{
|
|
|
9445
9467
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9446
9468
|
wage_percent: z.ZodOptional<z.ZodNumber>;
|
|
9447
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>>;
|
|
9448
9472
|
}, z.core.$strip>;
|
|
9449
9473
|
export declare const zUpdatePeriodPath: z.ZodObject<{
|
|
9450
9474
|
wage_schedule_id: z.ZodString;
|
|
@@ -9464,6 +9488,8 @@ export declare const zUpdatePeriodResponse: z.ZodObject<{
|
|
|
9464
9488
|
wage_percent: z.ZodString;
|
|
9465
9489
|
wage_cents: z.ZodString;
|
|
9466
9490
|
wage_currency: z.ZodString;
|
|
9491
|
+
fringe_percent: z.ZodNullable<z.ZodString>;
|
|
9492
|
+
fringe_cents: z.ZodNullable<z.ZodString>;
|
|
9467
9493
|
created_at: z.ZodISODateTime;
|
|
9468
9494
|
updated_at: z.ZodISODateTime;
|
|
9469
9495
|
}, z.core.$strip>;
|
|
@@ -9529,6 +9555,7 @@ export declare const zListWageSchedulesResponse: z.ZodObject<{
|
|
|
9529
9555
|
end_wage_currency: z.ZodString;
|
|
9530
9556
|
journeyworker_wage_cents: z.ZodString;
|
|
9531
9557
|
journeyworker_wage_currency: z.ZodString;
|
|
9558
|
+
journeyworker_fringe_cents: z.ZodNullable<z.ZodString>;
|
|
9532
9559
|
created_at: z.ZodISODateTime;
|
|
9533
9560
|
updated_at: z.ZodISODateTime;
|
|
9534
9561
|
}, z.core.$strip>>;
|
|
@@ -9561,6 +9588,7 @@ export declare const zCreateWageScheduleBody: z.ZodObject<{
|
|
|
9561
9588
|
year: "year";
|
|
9562
9589
|
}>;
|
|
9563
9590
|
journeyworker_wage_cents: z.ZodOptional<z.ZodInt>;
|
|
9591
|
+
journeyworker_fringe_cents: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
9564
9592
|
end_wage_cents: z.ZodOptional<z.ZodInt>;
|
|
9565
9593
|
periods_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
9566
9594
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -9571,6 +9599,8 @@ export declare const zCreateWageScheduleBody: z.ZodObject<{
|
|
|
9571
9599
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9572
9600
|
wage_percent: z.ZodNumber;
|
|
9573
9601
|
wage_cents: z.ZodInt;
|
|
9602
|
+
fringe_percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
9603
|
+
fringe_cents: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
9574
9604
|
_destroy: z.ZodOptional<z.ZodBoolean>;
|
|
9575
9605
|
}, z.core.$strip>>>;
|
|
9576
9606
|
}, z.core.$strip>;
|
|
@@ -9613,6 +9643,7 @@ export declare const zCreateWageScheduleResponse: z.ZodObject<{
|
|
|
9613
9643
|
end_wage_currency: z.ZodString;
|
|
9614
9644
|
journeyworker_wage_cents: z.ZodString;
|
|
9615
9645
|
journeyworker_wage_currency: z.ZodString;
|
|
9646
|
+
journeyworker_fringe_cents: z.ZodNullable<z.ZodString>;
|
|
9616
9647
|
created_at: z.ZodISODateTime;
|
|
9617
9648
|
updated_at: z.ZodISODateTime;
|
|
9618
9649
|
}, z.core.$strip>;
|
|
@@ -9644,6 +9675,7 @@ export declare const zUpdateWageScheduleBody: z.ZodObject<{
|
|
|
9644
9675
|
year: "year";
|
|
9645
9676
|
}>>;
|
|
9646
9677
|
journeyworker_wage_cents: z.ZodOptional<z.ZodInt>;
|
|
9678
|
+
journeyworker_fringe_cents: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
9647
9679
|
end_wage_cents: z.ZodOptional<z.ZodInt>;
|
|
9648
9680
|
periods_attributes: z.ZodOptional<z.ZodArray<z.ZodIntersection<z.ZodUnion<readonly [z.ZodUnknown, z.ZodUnion<readonly [z.ZodObject<{
|
|
9649
9681
|
min_minutes: z.ZodInt;
|
|
@@ -9662,6 +9694,8 @@ export declare const zUpdateWageScheduleBody: z.ZodObject<{
|
|
|
9662
9694
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9663
9695
|
wage_percent: z.ZodOptional<z.ZodNumber>;
|
|
9664
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>>;
|
|
9665
9699
|
_destroy: z.ZodOptional<z.ZodBoolean>;
|
|
9666
9700
|
}, z.core.$strip>>>>;
|
|
9667
9701
|
}, z.core.$strip>;
|
|
@@ -9705,6 +9739,7 @@ export declare const zUpdateWageScheduleResponse: z.ZodObject<{
|
|
|
9705
9739
|
end_wage_currency: z.ZodString;
|
|
9706
9740
|
journeyworker_wage_cents: z.ZodString;
|
|
9707
9741
|
journeyworker_wage_currency: z.ZodString;
|
|
9742
|
+
journeyworker_fringe_cents: z.ZodNullable<z.ZodString>;
|
|
9708
9743
|
created_at: z.ZodISODateTime;
|
|
9709
9744
|
updated_at: z.ZodISODateTime;
|
|
9710
9745
|
}, z.core.$strip>;
|
|
@@ -13881,7 +13916,6 @@ export declare const zGetCertificationResponse: z.ZodObject<{
|
|
|
13881
13916
|
updated_at: z.ZodISODateTime;
|
|
13882
13917
|
}, z.core.$strip>;
|
|
13883
13918
|
export declare const zUpdateCertificationBody: z.ZodObject<{
|
|
13884
|
-
company_id: z.ZodOptional<z.ZodString>;
|
|
13885
13919
|
name: z.ZodOptional<z.ZodString>;
|
|
13886
13920
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13887
13921
|
verified: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -13953,6 +13987,27 @@ export declare const zCreateDepartmentResponse: z.ZodObject<{
|
|
|
13953
13987
|
created_at: z.ZodISODateTime;
|
|
13954
13988
|
updated_at: z.ZodISODateTime;
|
|
13955
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>;
|
|
13956
14011
|
export declare const zUpdateDepartmentBody: z.ZodObject<{
|
|
13957
14012
|
name: z.ZodOptional<z.ZodString>;
|
|
13958
14013
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -16282,6 +16337,8 @@ export declare const zListJobsQuery: z.ZodObject<{
|
|
|
16282
16337
|
feature: "feature";
|
|
16283
16338
|
quantity: "quantity";
|
|
16284
16339
|
}>>;
|
|
16340
|
+
'filter[name]': z.ZodOptional<z.ZodString>;
|
|
16341
|
+
'filter[purchase_order_number]': z.ZodOptional<z.ZodString>;
|
|
16285
16342
|
'page[cursor]': z.ZodOptional<z.ZodString>;
|
|
16286
16343
|
'page[limit]': z.ZodDefault<z.ZodOptional<z.ZodInt>>;
|
|
16287
16344
|
page: z.ZodOptional<z.ZodString>;
|
|
@@ -18581,6 +18638,7 @@ export declare const zListAggregateTimeImportsResponse: z.ZodObject<{
|
|
|
18581
18638
|
processing: "processing";
|
|
18582
18639
|
processed: "processed";
|
|
18583
18640
|
superseded: "superseded";
|
|
18641
|
+
withdrawn: "withdrawn";
|
|
18584
18642
|
}>;
|
|
18585
18643
|
processed_rows_count: z.ZodInt;
|
|
18586
18644
|
processing_errors: z.ZodArray<z.ZodObject<{
|
|
@@ -18613,6 +18671,7 @@ export declare const zCreateAggregateTimeImportResponse: z.ZodObject<{
|
|
|
18613
18671
|
processing: "processing";
|
|
18614
18672
|
processed: "processed";
|
|
18615
18673
|
superseded: "superseded";
|
|
18674
|
+
withdrawn: "withdrawn";
|
|
18616
18675
|
}>;
|
|
18617
18676
|
processed_rows_count: z.ZodInt;
|
|
18618
18677
|
processing_errors: z.ZodArray<z.ZodObject<{
|
|
@@ -18642,6 +18701,7 @@ export declare const zGetAggregateTimeImportResponse: z.ZodObject<{
|
|
|
18642
18701
|
processing: "processing";
|
|
18643
18702
|
processed: "processed";
|
|
18644
18703
|
superseded: "superseded";
|
|
18704
|
+
withdrawn: "withdrawn";
|
|
18645
18705
|
}>;
|
|
18646
18706
|
processed_rows_count: z.ZodInt;
|
|
18647
18707
|
processing_errors: z.ZodArray<z.ZodObject<{
|
|
@@ -18696,6 +18756,7 @@ export declare const zListDsptchCprImportsResponse: z.ZodObject<{
|
|
|
18696
18756
|
processing: "processing";
|
|
18697
18757
|
processed: "processed";
|
|
18698
18758
|
superseded: "superseded";
|
|
18759
|
+
withdrawn: "withdrawn";
|
|
18699
18760
|
}>;
|
|
18700
18761
|
processed_rows_count: z.ZodInt;
|
|
18701
18762
|
processing_errors: z.ZodArray<z.ZodObject<{
|
|
@@ -18728,6 +18789,7 @@ export declare const zCreateDsptchCprImportResponse: z.ZodObject<{
|
|
|
18728
18789
|
processing: "processing";
|
|
18729
18790
|
processed: "processed";
|
|
18730
18791
|
superseded: "superseded";
|
|
18792
|
+
withdrawn: "withdrawn";
|
|
18731
18793
|
}>;
|
|
18732
18794
|
processed_rows_count: z.ZodInt;
|
|
18733
18795
|
processing_errors: z.ZodArray<z.ZodObject<{
|
|
@@ -18757,6 +18819,7 @@ export declare const zGetDsptchCprImportResponse: z.ZodObject<{
|
|
|
18757
18819
|
processing: "processing";
|
|
18758
18820
|
processed: "processed";
|
|
18759
18821
|
superseded: "superseded";
|
|
18822
|
+
withdrawn: "withdrawn";
|
|
18760
18823
|
}>;
|
|
18761
18824
|
processed_rows_count: z.ZodInt;
|
|
18762
18825
|
processing_errors: z.ZodArray<z.ZodObject<{
|
|
@@ -18811,6 +18874,7 @@ export declare const zListTimeEntryImportsResponse: z.ZodObject<{
|
|
|
18811
18874
|
processing: "processing";
|
|
18812
18875
|
processed: "processed";
|
|
18813
18876
|
superseded: "superseded";
|
|
18877
|
+
withdrawn: "withdrawn";
|
|
18814
18878
|
}>;
|
|
18815
18879
|
processed_rows_count: z.ZodInt;
|
|
18816
18880
|
processing_errors: z.ZodArray<z.ZodObject<{
|
|
@@ -18843,6 +18907,7 @@ export declare const zCreateTimeEntryImportResponse: z.ZodObject<{
|
|
|
18843
18907
|
processing: "processing";
|
|
18844
18908
|
processed: "processed";
|
|
18845
18909
|
superseded: "superseded";
|
|
18910
|
+
withdrawn: "withdrawn";
|
|
18846
18911
|
}>;
|
|
18847
18912
|
processed_rows_count: z.ZodInt;
|
|
18848
18913
|
processing_errors: z.ZodArray<z.ZodObject<{
|
|
@@ -18872,6 +18937,7 @@ export declare const zGetTimeEntryImportResponse: z.ZodObject<{
|
|
|
18872
18937
|
processing: "processing";
|
|
18873
18938
|
processed: "processed";
|
|
18874
18939
|
superseded: "superseded";
|
|
18940
|
+
withdrawn: "withdrawn";
|
|
18875
18941
|
}>;
|
|
18876
18942
|
processed_rows_count: z.ZodInt;
|
|
18877
18943
|
processing_errors: z.ZodArray<z.ZodObject<{
|
|
@@ -19482,6 +19548,7 @@ export declare const zListPaystubImportsResponse: z.ZodObject<{
|
|
|
19482
19548
|
processing: "processing";
|
|
19483
19549
|
processed: "processed";
|
|
19484
19550
|
superseded: "superseded";
|
|
19551
|
+
withdrawn: "withdrawn";
|
|
19485
19552
|
}>;
|
|
19486
19553
|
processed_rows_count: z.ZodInt;
|
|
19487
19554
|
processing_errors: z.ZodArray<z.ZodObject<{
|
|
@@ -19514,6 +19581,7 @@ export declare const zCreatePaystubImportResponse: z.ZodObject<{
|
|
|
19514
19581
|
processing: "processing";
|
|
19515
19582
|
processed: "processed";
|
|
19516
19583
|
superseded: "superseded";
|
|
19584
|
+
withdrawn: "withdrawn";
|
|
19517
19585
|
}>;
|
|
19518
19586
|
processed_rows_count: z.ZodInt;
|
|
19519
19587
|
processing_errors: z.ZodArray<z.ZodObject<{
|
|
@@ -19543,6 +19611,7 @@ export declare const zGetPaystubImportResponse: z.ZodObject<{
|
|
|
19543
19611
|
processing: "processing";
|
|
19544
19612
|
processed: "processed";
|
|
19545
19613
|
superseded: "superseded";
|
|
19614
|
+
withdrawn: "withdrawn";
|
|
19546
19615
|
}>;
|
|
19547
19616
|
processed_rows_count: z.ZodInt;
|
|
19548
19617
|
processing_errors: z.ZodArray<z.ZodObject<{
|
package/dist/gen/zod.gen.js
CHANGED
|
@@ -538,11 +538,12 @@ export const zApprenticeshipWageScheduleResponseObject = z.object({
|
|
|
538
538
|
end_wage_currency: z.string(),
|
|
539
539
|
journeyworker_wage_cents: z.string(),
|
|
540
540
|
journeyworker_wage_currency: z.string(),
|
|
541
|
+
journeyworker_fringe_cents: z.string().nullable(),
|
|
541
542
|
created_at: z.iso.datetime(),
|
|
542
543
|
updated_at: z.iso.datetime()
|
|
543
544
|
});
|
|
544
545
|
/**
|
|
545
|
-
* 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.
|
|
546
|
+
* 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.
|
|
546
547
|
*/
|
|
547
548
|
export const zApprenticeshipWageSchedulePeriodResponseObject = z.object({
|
|
548
549
|
id: z.string(),
|
|
@@ -555,6 +556,8 @@ export const zApprenticeshipWageSchedulePeriodResponseObject = z.object({
|
|
|
555
556
|
wage_percent: z.string(),
|
|
556
557
|
wage_cents: z.string(),
|
|
557
558
|
wage_currency: z.string(),
|
|
559
|
+
fringe_percent: z.string().nullable(),
|
|
560
|
+
fringe_cents: z.string().nullable(),
|
|
558
561
|
created_at: z.iso.datetime(),
|
|
559
562
|
updated_at: z.iso.datetime()
|
|
560
563
|
});
|
|
@@ -718,7 +721,7 @@ export const zApprenticeshipProgramEmployerUpdateParameters = z.object({
|
|
|
718
721
|
require_timecard_allocation: z.boolean().optional()
|
|
719
722
|
});
|
|
720
723
|
/**
|
|
721
|
-
* Create a period on a wage schedule; the wage schedule is taken from the URL path. wage_cents
|
|
724
|
+
* 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.
|
|
722
725
|
*/
|
|
723
726
|
export const zApprenticeshipWageSchedulePeriodParameters = z.object({
|
|
724
727
|
period_number: z.int(),
|
|
@@ -727,10 +730,12 @@ export const zApprenticeshipWageSchedulePeriodParameters = z.object({
|
|
|
727
730
|
num_competencies: z.int().nullish(),
|
|
728
731
|
description: z.string().nullish(),
|
|
729
732
|
wage_percent: z.number(),
|
|
730
|
-
wage_cents: z.int()
|
|
733
|
+
wage_cents: z.int(),
|
|
734
|
+
fringe_percent: z.number().nullish(),
|
|
735
|
+
fringe_cents: z.int().nullish()
|
|
731
736
|
});
|
|
732
737
|
/**
|
|
733
|
-
* 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
|
|
738
|
+
* 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.
|
|
734
739
|
*/
|
|
735
740
|
export const zApprenticeshipWageSchedulePeriodUpdateParameters = z.object({
|
|
736
741
|
period_number: z.int().optional(),
|
|
@@ -739,7 +744,9 @@ export const zApprenticeshipWageSchedulePeriodUpdateParameters = z.object({
|
|
|
739
744
|
num_competencies: z.int().nullish(),
|
|
740
745
|
description: z.string().nullish(),
|
|
741
746
|
wage_percent: z.number().optional(),
|
|
742
|
-
wage_cents: z.int().optional()
|
|
747
|
+
wage_cents: z.int().optional(),
|
|
748
|
+
fringe_percent: z.number().nullish(),
|
|
749
|
+
fringe_cents: z.int().nullish()
|
|
743
750
|
});
|
|
744
751
|
/**
|
|
745
752
|
* 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.
|
|
@@ -772,6 +779,7 @@ export const zApprenticeshipWageScheduleParameters = z.object({
|
|
|
772
779
|
'year'
|
|
773
780
|
]),
|
|
774
781
|
journeyworker_wage_cents: z.int().optional(),
|
|
782
|
+
journeyworker_fringe_cents: z.int().nullish(),
|
|
775
783
|
end_wage_cents: z.int().optional(),
|
|
776
784
|
periods_attributes: z.array(z.object({
|
|
777
785
|
id: z.string().optional(),
|
|
@@ -782,6 +790,8 @@ export const zApprenticeshipWageScheduleParameters = z.object({
|
|
|
782
790
|
description: z.string().nullish(),
|
|
783
791
|
wage_percent: z.number(),
|
|
784
792
|
wage_cents: z.int(),
|
|
793
|
+
fringe_percent: z.number().nullish(),
|
|
794
|
+
fringe_cents: z.int().nullish(),
|
|
785
795
|
_destroy: z.boolean().optional()
|
|
786
796
|
})).optional()
|
|
787
797
|
});
|
|
@@ -816,6 +826,7 @@ export const zApprenticeshipWageScheduleUpdateParameters = z.object({
|
|
|
816
826
|
'year'
|
|
817
827
|
]).optional(),
|
|
818
828
|
journeyworker_wage_cents: z.int().optional(),
|
|
829
|
+
journeyworker_fringe_cents: z.int().nullish(),
|
|
819
830
|
end_wage_cents: z.int().optional(),
|
|
820
831
|
periods_attributes: z.array(z.intersection(z.union([
|
|
821
832
|
z.unknown(),
|
|
@@ -842,6 +853,8 @@ export const zApprenticeshipWageScheduleUpdateParameters = z.object({
|
|
|
842
853
|
description: z.string().nullish(),
|
|
843
854
|
wage_percent: z.number().optional(),
|
|
844
855
|
wage_cents: z.int().optional(),
|
|
856
|
+
fringe_percent: z.number().nullish(),
|
|
857
|
+
fringe_cents: z.int().nullish(),
|
|
845
858
|
_destroy: z.boolean().optional()
|
|
846
859
|
}))).optional()
|
|
847
860
|
});
|
|
@@ -934,7 +947,7 @@ export const zPeopleEmploymentCreateParameters = z.object({
|
|
|
934
947
|
employer_combined_savings_cents: z.string().nullish()
|
|
935
948
|
});
|
|
936
949
|
/**
|
|
937
|
-
* Request body for creating one
|
|
950
|
+
* 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.
|
|
938
951
|
*/
|
|
939
952
|
export const zPeopleEmploymentScheduledChangeCreateParameters = z.object({
|
|
940
953
|
compensation_type: z.enum(['hourly', 'salary']).optional(),
|
|
@@ -952,7 +965,7 @@ export const zPeopleEmploymentScheduledChangeCreateParameters = z.object({
|
|
|
952
965
|
effective_date: z.iso.date()
|
|
953
966
|
});
|
|
954
967
|
/**
|
|
955
|
-
* Request body for changing values at one exact
|
|
968
|
+
* 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.
|
|
956
969
|
*/
|
|
957
970
|
export const zPeopleEmploymentScheduledChangeUpdateParameters = z.object({
|
|
958
971
|
compensation_type: z.enum(['hourly', 'salary']).optional(),
|
|
@@ -2584,7 +2597,8 @@ export const zAggregateTimeImportResponseObject = z.object({
|
|
|
2584
2597
|
'processed',
|
|
2585
2598
|
'success',
|
|
2586
2599
|
'failed',
|
|
2587
|
-
'superseded'
|
|
2600
|
+
'superseded',
|
|
2601
|
+
'withdrawn'
|
|
2588
2602
|
]),
|
|
2589
2603
|
processed_rows_count: z.int(),
|
|
2590
2604
|
processing_errors: z.array(zImportProcessingError),
|
|
@@ -2614,7 +2628,8 @@ export const zDsptchCprImportResponseObject = z.object({
|
|
|
2614
2628
|
'processed',
|
|
2615
2629
|
'success',
|
|
2616
2630
|
'failed',
|
|
2617
|
-
'superseded'
|
|
2631
|
+
'superseded',
|
|
2632
|
+
'withdrawn'
|
|
2618
2633
|
]),
|
|
2619
2634
|
processed_rows_count: z.int(),
|
|
2620
2635
|
processing_errors: z.array(zImportProcessingError),
|
|
@@ -2644,7 +2659,8 @@ export const zPaystubImportResponseObject = z.object({
|
|
|
2644
2659
|
'processed',
|
|
2645
2660
|
'success',
|
|
2646
2661
|
'failed',
|
|
2647
|
-
'superseded'
|
|
2662
|
+
'superseded',
|
|
2663
|
+
'withdrawn'
|
|
2648
2664
|
]),
|
|
2649
2665
|
processed_rows_count: z.int(),
|
|
2650
2666
|
processing_errors: z.array(zImportProcessingError),
|
|
@@ -2674,7 +2690,8 @@ export const zTimeEntryImportResponseObject = z.object({
|
|
|
2674
2690
|
'processed',
|
|
2675
2691
|
'success',
|
|
2676
2692
|
'failed',
|
|
2677
|
-
'superseded'
|
|
2693
|
+
'superseded',
|
|
2694
|
+
'withdrawn'
|
|
2678
2695
|
]),
|
|
2679
2696
|
processed_rows_count: z.int(),
|
|
2680
2697
|
processing_errors: z.array(zImportProcessingError),
|
|
@@ -4157,7 +4174,7 @@ export const zFormAssignmentTaskResponseObject = z.array(z.object({
|
|
|
4157
4174
|
}))
|
|
4158
4175
|
}));
|
|
4159
4176
|
/**
|
|
4160
|
-
* 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.
|
|
4177
|
+
* 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.
|
|
4161
4178
|
*/
|
|
4162
4179
|
export const zCertificationParameters = z.object({
|
|
4163
4180
|
company_id: z.string(),
|
|
@@ -4167,10 +4184,9 @@ export const zCertificationParameters = z.object({
|
|
|
4167
4184
|
duration: z.string().nullish()
|
|
4168
4185
|
});
|
|
4169
4186
|
/**
|
|
4170
|
-
* 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.
|
|
4187
|
+
* 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.
|
|
4171
4188
|
*/
|
|
4172
4189
|
export const zCertificationUpdateParameters = z.object({
|
|
4173
|
-
company_id: z.string().optional(),
|
|
4174
4190
|
name: z.string().optional(),
|
|
4175
4191
|
description: z.string().nullish(),
|
|
4176
4192
|
verified: z.boolean().optional(),
|
|
@@ -4191,7 +4207,7 @@ export const zCertificationPackageResponseObject = z.object({
|
|
|
4191
4207
|
updated_at: z.iso.datetime()
|
|
4192
4208
|
});
|
|
4193
4209
|
/**
|
|
4194
|
-
* Request body for creating a certification package — a named set of certifications a company requires together.
|
|
4210
|
+
* 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.
|
|
4195
4211
|
*/
|
|
4196
4212
|
export const zCertificationPackageParameters = z.object({
|
|
4197
4213
|
name: z.string(),
|
|
@@ -4200,7 +4216,7 @@ export const zCertificationPackageParameters = z.object({
|
|
|
4200
4216
|
performed_by_user_id: z.string()
|
|
4201
4217
|
});
|
|
4202
4218
|
/**
|
|
4203
|
-
* Request body for updating a certification package — a named set of certifications a company requires together. Include only the fields to change.
|
|
4219
|
+
* 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.
|
|
4204
4220
|
*/
|
|
4205
4221
|
export const zCertificationPackageUpdateParameters = z.object({
|
|
4206
4222
|
name: z.string().optional(),
|
|
@@ -7915,6 +7931,20 @@ export const zCreateDepartmentBody = zDepartmentParameters;
|
|
|
7915
7931
|
* Created
|
|
7916
7932
|
*/
|
|
7917
7933
|
export const zCreateDepartmentResponse = zDepartmentResponseObject;
|
|
7934
|
+
export const zDeleteDepartmentPath = z.object({
|
|
7935
|
+
id: z.string()
|
|
7936
|
+
});
|
|
7937
|
+
/**
|
|
7938
|
+
* No Content
|
|
7939
|
+
*/
|
|
7940
|
+
export const zDeleteDepartmentResponse = z.void();
|
|
7941
|
+
export const zGetDepartmentPath = z.object({
|
|
7942
|
+
id: z.string()
|
|
7943
|
+
});
|
|
7944
|
+
/**
|
|
7945
|
+
* Success
|
|
7946
|
+
*/
|
|
7947
|
+
export const zGetDepartmentResponse = zDepartmentResponseObject;
|
|
7918
7948
|
export const zUpdateDepartmentBody = zDepartmentUpdateParameters;
|
|
7919
7949
|
export const zUpdateDepartmentPath = z.object({
|
|
7920
7950
|
id: z.string()
|
|
@@ -8470,6 +8500,8 @@ export const zListJobsQuery = z.object({
|
|
|
8470
8500
|
'feature',
|
|
8471
8501
|
'quantity'
|
|
8472
8502
|
]).optional(),
|
|
8503
|
+
'filter[name]': z.string().optional(),
|
|
8504
|
+
'filter[purchase_order_number]': z.string().optional(),
|
|
8473
8505
|
'page[cursor]': z.string().optional(),
|
|
8474
8506
|
'page[limit]': z.int().gte(1).optional().default(20),
|
|
8475
8507
|
page: z.string().optional(),
|