@dsptch-work/api-client 0.38.0 → 0.39.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.
@@ -261,7 +261,7 @@ export declare const zProblem: z.ZodObject<{
261
261
  *
262
262
  * **Unparseable Date Value**
263
263
  *
264
- * A date-time value cannot be parsed, falls outside the storable range, or has no UTC offset where one is required. Format values as ISO 8601 (for example `2026-08-05` or `2026-08-05T14:30`); a time entry's `start_time` and `end_time`, a timestamp filter bound, and an `as_of[]` coordinate need an offset (for example `2026-08-05T14:30:00-04:00` or `2026-08-05T18:30:00Z`).
264
+ * A date or date-time value cannot be parsed, names a day that does not exist, falls outside the storable range, or has no UTC offset where one is required. Send a day as `2026-08-05` and an instant with its offset (`2026-08-05T14:30:00-04:00` or `2026-08-05T18:30:00Z`). The times of time entries and apprenticeship allocations, a compliance check's due time, a timecode correction's bounds, timestamp filter bounds, and `as_of[]` coordinates need the offset; a time sent without one is refused with the value to send.
265
265
  *
266
266
  * ### invalid_filter_value
267
267
  *
@@ -947,7 +947,7 @@ export declare const zApprenticeshipAllocationCreateParameters: z.ZodObject<{
947
947
  apprenticeship_work_process_category_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
948
948
  minutes: z.ZodInt;
949
949
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
950
- allocated_at: z.ZodOptional<z.ZodString>;
950
+ allocated_at: z.ZodOptional<z.ZodISODateTime>;
951
951
  }, z.core.$strip>;
952
952
  /**
953
953
  * 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.
@@ -956,7 +956,7 @@ export declare const zApprenticeshipAllocationUpdateParameters: z.ZodObject<{
956
956
  apprenticeship_work_process_category_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
957
957
  minutes: z.ZodOptional<z.ZodInt>;
958
958
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
959
- allocated_at: z.ZodOptional<z.ZodString>;
959
+ allocated_at: z.ZodOptional<z.ZodISODateTime>;
960
960
  }, z.core.$strip>;
961
961
  /**
962
962
  * Enroll a user as an apprentice under an employer in a program; the employing program-employer record is derived from the enrolling company and the program in the URL path. Apprentices cannot be updated through the API, only created. Omitting a required field answers 400; a null for a non-nullable field, a blank ID, a wrong JSON type, an unlisted status, or a date that is not a YYYY-MM-DD calendar date answers 422.
@@ -1917,8 +1917,8 @@ export declare const zTimeCardPerDiemResponseObject: z.ZodObject<{
1917
1917
  date: z.ZodISODate;
1918
1918
  approver_user_id: z.ZodString;
1919
1919
  per_diem_id: z.ZodNullable<z.ZodString>;
1920
- per_diem_rate_cents: z.ZodNullable<z.ZodString>;
1921
- per_diem_currency: z.ZodNullable<z.ZodString>;
1920
+ per_diem_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1921
+ per_diem_currency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1922
1922
  taxable: z.ZodBoolean;
1923
1923
  created_at: z.ZodISODateTime;
1924
1924
  updated_at: z.ZodISODateTime;
@@ -2620,8 +2620,8 @@ export declare const zJobCreateParameters: z.ZodObject<{
2620
2620
  ap_only: "ap_only";
2621
2621
  }>>;
2622
2622
  region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2623
- start_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2624
- end_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2623
+ start_time: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
2624
+ end_time: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
2625
2625
  tz_name: z.ZodOptional<z.ZodString>;
2626
2626
  time_card_start_day: z.ZodOptional<z.ZodInt>;
2627
2627
  clock_in_requirement: z.ZodOptional<z.ZodEnum<{
@@ -2708,8 +2708,8 @@ export declare const zJobUpdateParameters: z.ZodObject<{
2708
2708
  ap_only: "ap_only";
2709
2709
  }>>;
2710
2710
  region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2711
- start_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2712
- end_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2711
+ start_time: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
2712
+ end_time: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
2713
2713
  tz_name: z.ZodOptional<z.ZodString>;
2714
2714
  time_card_start_day: z.ZodOptional<z.ZodInt>;
2715
2715
  clock_in_requirement: z.ZodOptional<z.ZodEnum<{
@@ -3082,7 +3082,7 @@ export declare const zFormDefinitionObject: z.ZodObject<{
3082
3082
  created_at: z.ZodISODateTime;
3083
3083
  }, z.core.$strip>;
3084
3084
  /**
3085
- * A single form submission — a user's completed SurveyJS form with the resolved answers (the fuller show representation). Read-only; submissions are created in the app.
3085
+ * A single form submission with resolved answers, returned by both show and create.
3086
3086
  */
3087
3087
  export declare const zFormSubmissionResponseObject: z.ZodObject<{
3088
3088
  id: z.ZodString;
@@ -3099,6 +3099,15 @@ export declare const zFormSubmissionResponseObject: z.ZodObject<{
3099
3099
  created_at: z.ZodISODateTime;
3100
3100
  updated_at: z.ZodISODateTime;
3101
3101
  }, z.core.$strip>;
3102
+ /**
3103
+ * Create a submission using supported keys from the form definition's submission_shape. Requires a user-scoped API key.
3104
+ */
3105
+ export declare const zFormSubmissionCreateParameters: z.ZodObject<{
3106
+ form_definition_id: z.ZodString;
3107
+ user_id: z.ZodString;
3108
+ json: z.ZodRecord<z.ZodString, z.ZodUnknown>;
3109
+ timezone: z.ZodOptional<z.ZodString>;
3110
+ }, z.core.$strip>;
3102
3111
  /**
3103
3112
  * 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, and changes the custom-field values it lists. For time-effective pay changes, use the scheduled-changes endpoints instead. A value of the wrong JSON type, a null for a field that is not nullable, or a value outside a listed set answers 422 at its pointer, and nothing is written.
3104
3113
  */
@@ -3674,10 +3683,10 @@ export declare const zTimeCardResponseObject: z.ZodObject<{
3674
3683
  1.5: z.ZodNumber;
3675
3684
  2: z.ZodNumber;
3676
3685
  }, z.core.$strip>;
3677
- pay_cents: z.ZodString;
3678
- base_wage_pay_cents: z.ZodString;
3679
- one_five_x_adder_cents: z.ZodString;
3680
- two_x_adder_cents: z.ZodString;
3686
+ pay_cents: z.ZodOptional<z.ZodString>;
3687
+ base_wage_pay_cents: z.ZodOptional<z.ZodString>;
3688
+ one_five_x_adder_cents: z.ZodOptional<z.ZodString>;
3689
+ two_x_adder_cents: z.ZodOptional<z.ZodString>;
3681
3690
  region_ids: z.ZodArray<z.ZodString>;
3682
3691
  }, z.core.$strip>;
3683
3692
  /**
@@ -3710,10 +3719,10 @@ export declare const zJobTimeCardDayResponseObject: z.ZodObject<{
3710
3719
  1.5: z.ZodNumber;
3711
3720
  2: z.ZodNumber;
3712
3721
  }, z.core.$strip>;
3713
- pay_cents: z.ZodString;
3714
- base_wage_pay_cents: z.ZodString;
3715
- one_five_x_adder_cents: z.ZodString;
3716
- two_x_adder_cents: z.ZodString;
3722
+ pay_cents: z.ZodOptional<z.ZodString>;
3723
+ base_wage_pay_cents: z.ZodOptional<z.ZodString>;
3724
+ one_five_x_adder_cents: z.ZodOptional<z.ZodString>;
3725
+ two_x_adder_cents: z.ZodOptional<z.ZodString>;
3717
3726
  region_ids: z.ZodArray<z.ZodString>;
3718
3727
  cumulative_minutes_worked: z.ZodInt;
3719
3728
  weekly_cumulative_minutes_worked: z.ZodInt;
@@ -3755,14 +3764,14 @@ export declare const zJobTimeCardDayResponseObject: z.ZodObject<{
3755
3764
  1.5: z.ZodNumber;
3756
3765
  2: z.ZodNumber;
3757
3766
  }, z.core.$strip>;
3758
- cumulative_pay_cents: z.ZodString;
3759
- weekly_cumulative_pay_cents: z.ZodString;
3760
- cumulative_base_wage_pay_cents: z.ZodString;
3761
- weekly_cumulative_base_wage_pay_cents: z.ZodString;
3762
- cumulative_one_five_x_adder_cents: z.ZodString;
3763
- weekly_cumulative_one_five_x_adder_cents: z.ZodString;
3764
- cumulative_two_x_adder_cents: z.ZodString;
3765
- weekly_cumulative_two_x_adder_cents: z.ZodString;
3767
+ cumulative_pay_cents: z.ZodOptional<z.ZodString>;
3768
+ weekly_cumulative_pay_cents: z.ZodOptional<z.ZodString>;
3769
+ cumulative_base_wage_pay_cents: z.ZodOptional<z.ZodString>;
3770
+ weekly_cumulative_base_wage_pay_cents: z.ZodOptional<z.ZodString>;
3771
+ cumulative_one_five_x_adder_cents: z.ZodOptional<z.ZodString>;
3772
+ weekly_cumulative_one_five_x_adder_cents: z.ZodOptional<z.ZodString>;
3773
+ cumulative_two_x_adder_cents: z.ZodOptional<z.ZodString>;
3774
+ weekly_cumulative_two_x_adder_cents: z.ZodOptional<z.ZodString>;
3766
3775
  cumulative_region_ids: z.ZodArray<z.ZodString>;
3767
3776
  weekly_cumulative_region_ids: z.ZodArray<z.ZodString>;
3768
3777
  created_at: z.ZodISODateTime;
@@ -4718,7 +4727,7 @@ export declare const zComplianceCheckParameters: z.ZodObject<{
4718
4727
  pending: "pending";
4719
4728
  dismissed: "dismissed";
4720
4729
  }>>;
4721
- time_due: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
4730
+ time_due: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
4722
4731
  assignee_user_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
4723
4732
  file_signed_id: z.ZodOptional<z.ZodString>;
4724
4733
  }, z.core.$strip>;
@@ -6183,8 +6192,8 @@ export declare const zJobResponseObject: z.ZodObject<{
6183
6192
  created_at: z.ZodISODateTime;
6184
6193
  updated_at: z.ZodISODateTime;
6185
6194
  status: z.ZodString;
6186
- start_time: z.ZodNullable<z.ZodString>;
6187
- end_time: z.ZodNullable<z.ZodString>;
6195
+ start_time: z.ZodNullable<z.ZodISODate>;
6196
+ end_time: z.ZodNullable<z.ZodISODate>;
6188
6197
  purchase_order_number: z.ZodNullable<z.ZodString>;
6189
6198
  time_card_start_day: z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>, z.ZodLiteral<6>]>;
6190
6199
  tz_name: z.ZodString;
@@ -6603,7 +6612,7 @@ export declare const zFormDefinitionResponseObject: z.ZodObject<{
6603
6612
  }, z.core.$strip>>;
6604
6613
  }, z.core.$strip>;
6605
6614
  /**
6606
- * A page of form submissions — the lighter list representation. A submission is a user's completed form; submissions are created in the app, so this API is read-only.
6615
+ * A page of form submissions — the lighter list representation. A submission is a user's completed form, created in the app or through the API.
6607
6616
  */
6608
6617
  export declare const zFormSubmissionIndexObject: z.ZodObject<{
6609
6618
  meta: z.ZodObject<{
@@ -6744,10 +6753,10 @@ export declare const zJobTimeCardDaysResponseObject: z.ZodObject<{
6744
6753
  1.5: z.ZodNumber;
6745
6754
  2: z.ZodNumber;
6746
6755
  }, z.core.$strip>;
6747
- pay_cents: z.ZodString;
6748
- base_wage_pay_cents: z.ZodString;
6749
- one_five_x_adder_cents: z.ZodString;
6750
- two_x_adder_cents: z.ZodString;
6756
+ pay_cents: z.ZodOptional<z.ZodString>;
6757
+ base_wage_pay_cents: z.ZodOptional<z.ZodString>;
6758
+ one_five_x_adder_cents: z.ZodOptional<z.ZodString>;
6759
+ two_x_adder_cents: z.ZodOptional<z.ZodString>;
6751
6760
  region_ids: z.ZodArray<z.ZodString>;
6752
6761
  cumulative_minutes_worked: z.ZodInt;
6753
6762
  weekly_cumulative_minutes_worked: z.ZodInt;
@@ -6789,14 +6798,14 @@ export declare const zJobTimeCardDaysResponseObject: z.ZodObject<{
6789
6798
  1.5: z.ZodNumber;
6790
6799
  2: z.ZodNumber;
6791
6800
  }, z.core.$strip>;
6792
- cumulative_pay_cents: z.ZodString;
6793
- weekly_cumulative_pay_cents: z.ZodString;
6794
- cumulative_base_wage_pay_cents: z.ZodString;
6795
- weekly_cumulative_base_wage_pay_cents: z.ZodString;
6796
- cumulative_one_five_x_adder_cents: z.ZodString;
6797
- weekly_cumulative_one_five_x_adder_cents: z.ZodString;
6798
- cumulative_two_x_adder_cents: z.ZodString;
6799
- weekly_cumulative_two_x_adder_cents: z.ZodString;
6801
+ cumulative_pay_cents: z.ZodOptional<z.ZodString>;
6802
+ weekly_cumulative_pay_cents: z.ZodOptional<z.ZodString>;
6803
+ cumulative_base_wage_pay_cents: z.ZodOptional<z.ZodString>;
6804
+ weekly_cumulative_base_wage_pay_cents: z.ZodOptional<z.ZodString>;
6805
+ cumulative_one_five_x_adder_cents: z.ZodOptional<z.ZodString>;
6806
+ weekly_cumulative_one_five_x_adder_cents: z.ZodOptional<z.ZodString>;
6807
+ cumulative_two_x_adder_cents: z.ZodOptional<z.ZodString>;
6808
+ weekly_cumulative_two_x_adder_cents: z.ZodOptional<z.ZodString>;
6800
6809
  cumulative_region_ids: z.ZodArray<z.ZodString>;
6801
6810
  weekly_cumulative_region_ids: z.ZodArray<z.ZodString>;
6802
6811
  created_at: z.ZodISODateTime;
@@ -6856,10 +6865,10 @@ export declare const zTimeCardsResponseObject: z.ZodObject<{
6856
6865
  1.5: z.ZodNumber;
6857
6866
  2: z.ZodNumber;
6858
6867
  }, z.core.$strip>;
6859
- pay_cents: z.ZodString;
6860
- base_wage_pay_cents: z.ZodString;
6861
- one_five_x_adder_cents: z.ZodString;
6862
- two_x_adder_cents: z.ZodString;
6868
+ pay_cents: z.ZodOptional<z.ZodString>;
6869
+ base_wage_pay_cents: z.ZodOptional<z.ZodString>;
6870
+ one_five_x_adder_cents: z.ZodOptional<z.ZodString>;
6871
+ two_x_adder_cents: z.ZodOptional<z.ZodString>;
6863
6872
  region_ids: z.ZodArray<z.ZodString>;
6864
6873
  }, z.core.$strip>>;
6865
6874
  }, z.core.$strip>;
@@ -10141,7 +10150,7 @@ export declare const zAssetsItemResponseObject: z.ZodObject<{
10141
10150
  available: "available";
10142
10151
  assigned: "assigned";
10143
10152
  }>>;
10144
- purchase_date: z.ZodNullable<z.ZodISODateTime>;
10153
+ purchase_date: z.ZodNullable<z.ZodISODate>;
10145
10154
  purchase_price_cents: z.ZodNullable<z.ZodString>;
10146
10155
  currency: z.ZodNullable<z.ZodString>;
10147
10156
  external_id: z.ZodNullable<z.ZodString>;
@@ -10972,7 +10981,7 @@ export declare const zCreateAllocationBody: z.ZodObject<{
10972
10981
  apprenticeship_work_process_category_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10973
10982
  minutes: z.ZodInt;
10974
10983
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10975
- allocated_at: z.ZodOptional<z.ZodString>;
10984
+ allocated_at: z.ZodOptional<z.ZodISODateTime>;
10976
10985
  }, z.core.$strip>;
10977
10986
  export declare const zCreateAllocationPath: z.ZodObject<{
10978
10987
  apprentice_id: z.ZodString;
@@ -11027,7 +11036,7 @@ export declare const zUpdateAllocationBody: z.ZodObject<{
11027
11036
  apprenticeship_work_process_category_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11028
11037
  minutes: z.ZodOptional<z.ZodInt>;
11029
11038
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11030
- allocated_at: z.ZodOptional<z.ZodString>;
11039
+ allocated_at: z.ZodOptional<z.ZodISODateTime>;
11031
11040
  }, z.core.$strip>;
11032
11041
  export declare const zUpdateAllocationPath: z.ZodObject<{
11033
11042
  apprentice_id: z.ZodString;
@@ -12906,7 +12915,7 @@ export declare const zListItemsResponse: z.ZodObject<{
12906
12915
  available: "available";
12907
12916
  assigned: "assigned";
12908
12917
  }>>;
12909
- purchase_date: z.ZodNullable<z.ZodISODateTime>;
12918
+ purchase_date: z.ZodNullable<z.ZodISODate>;
12910
12919
  purchase_price_cents: z.ZodNullable<z.ZodString>;
12911
12920
  currency: z.ZodNullable<z.ZodString>;
12912
12921
  external_id: z.ZodNullable<z.ZodString>;
@@ -12988,7 +12997,7 @@ export declare const zCreateItemResponse: z.ZodObject<{
12988
12997
  available: "available";
12989
12998
  assigned: "assigned";
12990
12999
  }>>;
12991
- purchase_date: z.ZodNullable<z.ZodISODateTime>;
13000
+ purchase_date: z.ZodNullable<z.ZodISODate>;
12992
13001
  purchase_price_cents: z.ZodNullable<z.ZodString>;
12993
13002
  currency: z.ZodNullable<z.ZodString>;
12994
13003
  external_id: z.ZodNullable<z.ZodString>;
@@ -13043,7 +13052,7 @@ export declare const zDeleteItemResponse: z.ZodObject<{
13043
13052
  available: "available";
13044
13053
  assigned: "assigned";
13045
13054
  }>>;
13046
- purchase_date: z.ZodNullable<z.ZodISODateTime>;
13055
+ purchase_date: z.ZodNullable<z.ZodISODate>;
13047
13056
  purchase_price_cents: z.ZodNullable<z.ZodString>;
13048
13057
  currency: z.ZodNullable<z.ZodString>;
13049
13058
  external_id: z.ZodNullable<z.ZodString>;
@@ -13098,7 +13107,7 @@ export declare const zGetItemResponse: z.ZodObject<{
13098
13107
  available: "available";
13099
13108
  assigned: "assigned";
13100
13109
  }>>;
13101
- purchase_date: z.ZodNullable<z.ZodISODateTime>;
13110
+ purchase_date: z.ZodNullable<z.ZodISODate>;
13102
13111
  purchase_price_cents: z.ZodNullable<z.ZodString>;
13103
13112
  currency: z.ZodNullable<z.ZodString>;
13104
13113
  external_id: z.ZodNullable<z.ZodString>;
@@ -13178,7 +13187,7 @@ export declare const zUpdateItemResponse: z.ZodObject<{
13178
13187
  available: "available";
13179
13188
  assigned: "assigned";
13180
13189
  }>>;
13181
- purchase_date: z.ZodNullable<z.ZodISODateTime>;
13190
+ purchase_date: z.ZodNullable<z.ZodISODate>;
13182
13191
  purchase_price_cents: z.ZodNullable<z.ZodString>;
13183
13192
  currency: z.ZodNullable<z.ZodString>;
13184
13193
  external_id: z.ZodNullable<z.ZodString>;
@@ -13236,7 +13245,7 @@ export declare const zUnarchiveItemResponse: z.ZodObject<{
13236
13245
  available: "available";
13237
13246
  assigned: "assigned";
13238
13247
  }>>;
13239
- purchase_date: z.ZodNullable<z.ZodISODateTime>;
13248
+ purchase_date: z.ZodNullable<z.ZodISODate>;
13240
13249
  purchase_price_cents: z.ZodNullable<z.ZodString>;
13241
13250
  currency: z.ZodNullable<z.ZodString>;
13242
13251
  external_id: z.ZodNullable<z.ZodString>;
@@ -13294,7 +13303,7 @@ export declare const zArchiveItemResponse: z.ZodObject<{
13294
13303
  available: "available";
13295
13304
  assigned: "assigned";
13296
13305
  }>>;
13297
- purchase_date: z.ZodNullable<z.ZodISODateTime>;
13306
+ purchase_date: z.ZodNullable<z.ZodISODate>;
13298
13307
  purchase_price_cents: z.ZodNullable<z.ZodString>;
13299
13308
  currency: z.ZodNullable<z.ZodString>;
13300
13309
  external_id: z.ZodNullable<z.ZodString>;
@@ -18005,7 +18014,7 @@ export declare const zUpdateCheckBody: z.ZodObject<{
18005
18014
  pending: "pending";
18006
18015
  dismissed: "dismissed";
18007
18016
  }>>;
18008
- time_due: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
18017
+ time_due: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
18009
18018
  assignee_user_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
18010
18019
  file_signed_id: z.ZodOptional<z.ZodString>;
18011
18020
  }, z.core.$strip>;
@@ -18503,6 +18512,30 @@ export declare const zListFormSubmissionsResponse: z.ZodObject<{
18503
18512
  updated_at: z.ZodISODateTime;
18504
18513
  }, z.core.$strip>>;
18505
18514
  }, z.core.$strip>;
18515
+ export declare const zCreateFormSubmissionBody: z.ZodObject<{
18516
+ form_definition_id: z.ZodString;
18517
+ user_id: z.ZodString;
18518
+ json: z.ZodRecord<z.ZodString, z.ZodUnknown>;
18519
+ timezone: z.ZodOptional<z.ZodString>;
18520
+ }, z.core.$strip>;
18521
+ /**
18522
+ * Created
18523
+ */
18524
+ export declare const zCreateFormSubmissionResponse: z.ZodObject<{
18525
+ id: z.ZodString;
18526
+ user: z.ZodObject<{
18527
+ id: z.ZodString;
18528
+ name: z.ZodString;
18529
+ }, z.core.$strip>;
18530
+ title: z.ZodNullable<z.ZodString>;
18531
+ json: z.ZodRecord<z.ZodString, z.ZodUnknown>;
18532
+ timezone: z.ZodString;
18533
+ form_definition_id: z.ZodString;
18534
+ user_id: z.ZodString;
18535
+ updated_by_user_id: z.ZodString;
18536
+ created_at: z.ZodISODateTime;
18537
+ updated_at: z.ZodISODateTime;
18538
+ }, z.core.$strip>;
18506
18539
  export declare const zGetFormSubmissionPath: z.ZodObject<{
18507
18540
  id: z.ZodString;
18508
18541
  }, z.core.$strip>;
@@ -20650,8 +20683,8 @@ export declare const zListJobsResponse: z.ZodObject<{
20650
20683
  created_at: z.ZodISODateTime;
20651
20684
  updated_at: z.ZodISODateTime;
20652
20685
  status: z.ZodString;
20653
- start_time: z.ZodNullable<z.ZodString>;
20654
- end_time: z.ZodNullable<z.ZodString>;
20686
+ start_time: z.ZodNullable<z.ZodISODate>;
20687
+ end_time: z.ZodNullable<z.ZodISODate>;
20655
20688
  purchase_order_number: z.ZodNullable<z.ZodString>;
20656
20689
  time_card_start_day: z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>, z.ZodLiteral<6>]>;
20657
20690
  tz_name: z.ZodString;
@@ -20773,8 +20806,8 @@ export declare const zCreateJobBody: z.ZodObject<{
20773
20806
  ap_only: "ap_only";
20774
20807
  }>>;
20775
20808
  region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20776
- start_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20777
- end_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20809
+ start_time: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
20810
+ end_time: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
20778
20811
  tz_name: z.ZodOptional<z.ZodString>;
20779
20812
  time_card_start_day: z.ZodOptional<z.ZodInt>;
20780
20813
  clock_in_requirement: z.ZodOptional<z.ZodEnum<{
@@ -20849,8 +20882,8 @@ export declare const zCreateJobResponse: z.ZodObject<{
20849
20882
  created_at: z.ZodISODateTime;
20850
20883
  updated_at: z.ZodISODateTime;
20851
20884
  status: z.ZodString;
20852
- start_time: z.ZodNullable<z.ZodString>;
20853
- end_time: z.ZodNullable<z.ZodString>;
20885
+ start_time: z.ZodNullable<z.ZodISODate>;
20886
+ end_time: z.ZodNullable<z.ZodISODate>;
20854
20887
  purchase_order_number: z.ZodNullable<z.ZodString>;
20855
20888
  time_card_start_day: z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>, z.ZodLiteral<6>]>;
20856
20889
  tz_name: z.ZodString;
@@ -20960,8 +20993,8 @@ export declare const zGetJobResponse: z.ZodObject<{
20960
20993
  created_at: z.ZodISODateTime;
20961
20994
  updated_at: z.ZodISODateTime;
20962
20995
  status: z.ZodString;
20963
- start_time: z.ZodNullable<z.ZodString>;
20964
- end_time: z.ZodNullable<z.ZodString>;
20996
+ start_time: z.ZodNullable<z.ZodISODate>;
20997
+ end_time: z.ZodNullable<z.ZodISODate>;
20965
20998
  purchase_order_number: z.ZodNullable<z.ZodString>;
20966
20999
  time_card_start_day: z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>, z.ZodLiteral<6>]>;
20967
21000
  tz_name: z.ZodString;
@@ -21077,8 +21110,8 @@ export declare const zUpdateJobBody: z.ZodObject<{
21077
21110
  ap_only: "ap_only";
21078
21111
  }>>;
21079
21112
  region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21080
- start_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21081
- end_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21113
+ start_time: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
21114
+ end_time: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
21082
21115
  tz_name: z.ZodOptional<z.ZodString>;
21083
21116
  time_card_start_day: z.ZodOptional<z.ZodInt>;
21084
21117
  clock_in_requirement: z.ZodOptional<z.ZodEnum<{
@@ -21161,8 +21194,8 @@ export declare const zUpdateJobResponse: z.ZodObject<{
21161
21194
  created_at: z.ZodISODateTime;
21162
21195
  updated_at: z.ZodISODateTime;
21163
21196
  status: z.ZodString;
21164
- start_time: z.ZodNullable<z.ZodString>;
21165
- end_time: z.ZodNullable<z.ZodString>;
21197
+ start_time: z.ZodNullable<z.ZodISODate>;
21198
+ end_time: z.ZodNullable<z.ZodISODate>;
21166
21199
  purchase_order_number: z.ZodNullable<z.ZodString>;
21167
21200
  time_card_start_day: z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>, z.ZodLiteral<6>]>;
21168
21201
  tz_name: z.ZodString;
@@ -29184,10 +29217,10 @@ export declare const zSetTimeCardLockResponse: z.ZodObject<{
29184
29217
  1.5: z.ZodNumber;
29185
29218
  2: z.ZodNumber;
29186
29219
  }, z.core.$strip>;
29187
- pay_cents: z.ZodString;
29188
- base_wage_pay_cents: z.ZodString;
29189
- one_five_x_adder_cents: z.ZodString;
29190
- two_x_adder_cents: z.ZodString;
29220
+ pay_cents: z.ZodOptional<z.ZodString>;
29221
+ base_wage_pay_cents: z.ZodOptional<z.ZodString>;
29222
+ one_five_x_adder_cents: z.ZodOptional<z.ZodString>;
29223
+ two_x_adder_cents: z.ZodOptional<z.ZodString>;
29191
29224
  region_ids: z.ZodArray<z.ZodString>;
29192
29225
  }, z.core.$strip>;
29193
29226
  export declare const zCreateManagerTimeCardApprovalBody: z.ZodObject<{
@@ -29244,8 +29277,8 @@ export declare const zListTimeCardPerDiemsResponse: z.ZodObject<{
29244
29277
  date: z.ZodISODate;
29245
29278
  approver_user_id: z.ZodString;
29246
29279
  per_diem_id: z.ZodNullable<z.ZodString>;
29247
- per_diem_rate_cents: z.ZodNullable<z.ZodString>;
29248
- per_diem_currency: z.ZodNullable<z.ZodString>;
29280
+ per_diem_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29281
+ per_diem_currency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29249
29282
  taxable: z.ZodBoolean;
29250
29283
  created_at: z.ZodISODateTime;
29251
29284
  updated_at: z.ZodISODateTime;
@@ -29268,8 +29301,8 @@ export declare const zCreateTimeCardPerDiemResponse: z.ZodObject<{
29268
29301
  date: z.ZodISODate;
29269
29302
  approver_user_id: z.ZodString;
29270
29303
  per_diem_id: z.ZodNullable<z.ZodString>;
29271
- per_diem_rate_cents: z.ZodNullable<z.ZodString>;
29272
- per_diem_currency: z.ZodNullable<z.ZodString>;
29304
+ per_diem_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29305
+ per_diem_currency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29273
29306
  taxable: z.ZodBoolean;
29274
29307
  created_at: z.ZodISODateTime;
29275
29308
  updated_at: z.ZodISODateTime;
@@ -29287,8 +29320,8 @@ export declare const zDeleteTimeCardPerDiemResponse: z.ZodObject<{
29287
29320
  date: z.ZodISODate;
29288
29321
  approver_user_id: z.ZodString;
29289
29322
  per_diem_id: z.ZodNullable<z.ZodString>;
29290
- per_diem_rate_cents: z.ZodNullable<z.ZodString>;
29291
- per_diem_currency: z.ZodNullable<z.ZodString>;
29323
+ per_diem_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29324
+ per_diem_currency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29292
29325
  taxable: z.ZodBoolean;
29293
29326
  created_at: z.ZodISODateTime;
29294
29327
  updated_at: z.ZodISODateTime;
@@ -29311,8 +29344,8 @@ export declare const zUpdateTimeCardPerDiemResponse: z.ZodObject<{
29311
29344
  date: z.ZodISODate;
29312
29345
  approver_user_id: z.ZodString;
29313
29346
  per_diem_id: z.ZodNullable<z.ZodString>;
29314
- per_diem_rate_cents: z.ZodNullable<z.ZodString>;
29315
- per_diem_currency: z.ZodNullable<z.ZodString>;
29347
+ per_diem_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29348
+ per_diem_currency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29316
29349
  taxable: z.ZodBoolean;
29317
29350
  created_at: z.ZodISODateTime;
29318
29351
  updated_at: z.ZodISODateTime;
@@ -29663,10 +29696,10 @@ export declare const zListTimeCardsResponse: z.ZodObject<{
29663
29696
  1.5: z.ZodNumber;
29664
29697
  2: z.ZodNumber;
29665
29698
  }, z.core.$strip>;
29666
- pay_cents: z.ZodString;
29667
- base_wage_pay_cents: z.ZodString;
29668
- one_five_x_adder_cents: z.ZodString;
29669
- two_x_adder_cents: z.ZodString;
29699
+ pay_cents: z.ZodOptional<z.ZodString>;
29700
+ base_wage_pay_cents: z.ZodOptional<z.ZodString>;
29701
+ one_five_x_adder_cents: z.ZodOptional<z.ZodString>;
29702
+ two_x_adder_cents: z.ZodOptional<z.ZodString>;
29670
29703
  region_ids: z.ZodArray<z.ZodString>;
29671
29704
  }, z.core.$strip>>;
29672
29705
  }, z.core.$strip>;
@@ -29714,10 +29747,10 @@ export declare const zGetTimeCardResponse: z.ZodObject<{
29714
29747
  1.5: z.ZodNumber;
29715
29748
  2: z.ZodNumber;
29716
29749
  }, z.core.$strip>;
29717
- pay_cents: z.ZodString;
29718
- base_wage_pay_cents: z.ZodString;
29719
- one_five_x_adder_cents: z.ZodString;
29720
- two_x_adder_cents: z.ZodString;
29750
+ pay_cents: z.ZodOptional<z.ZodString>;
29751
+ base_wage_pay_cents: z.ZodOptional<z.ZodString>;
29752
+ one_five_x_adder_cents: z.ZodOptional<z.ZodString>;
29753
+ two_x_adder_cents: z.ZodOptional<z.ZodString>;
29721
29754
  region_ids: z.ZodArray<z.ZodString>;
29722
29755
  }, z.core.$strip>;
29723
29756
  export declare const zListDeltasQuery: z.ZodObject<{
@@ -30641,10 +30674,10 @@ export declare const zListJobTimeCardDaysResponse: z.ZodObject<{
30641
30674
  1.5: z.ZodNumber;
30642
30675
  2: z.ZodNumber;
30643
30676
  }, z.core.$strip>;
30644
- pay_cents: z.ZodString;
30645
- base_wage_pay_cents: z.ZodString;
30646
- one_five_x_adder_cents: z.ZodString;
30647
- two_x_adder_cents: z.ZodString;
30677
+ pay_cents: z.ZodOptional<z.ZodString>;
30678
+ base_wage_pay_cents: z.ZodOptional<z.ZodString>;
30679
+ one_five_x_adder_cents: z.ZodOptional<z.ZodString>;
30680
+ two_x_adder_cents: z.ZodOptional<z.ZodString>;
30648
30681
  region_ids: z.ZodArray<z.ZodString>;
30649
30682
  cumulative_minutes_worked: z.ZodInt;
30650
30683
  weekly_cumulative_minutes_worked: z.ZodInt;
@@ -30686,14 +30719,14 @@ export declare const zListJobTimeCardDaysResponse: z.ZodObject<{
30686
30719
  1.5: z.ZodNumber;
30687
30720
  2: z.ZodNumber;
30688
30721
  }, z.core.$strip>;
30689
- cumulative_pay_cents: z.ZodString;
30690
- weekly_cumulative_pay_cents: z.ZodString;
30691
- cumulative_base_wage_pay_cents: z.ZodString;
30692
- weekly_cumulative_base_wage_pay_cents: z.ZodString;
30693
- cumulative_one_five_x_adder_cents: z.ZodString;
30694
- weekly_cumulative_one_five_x_adder_cents: z.ZodString;
30695
- cumulative_two_x_adder_cents: z.ZodString;
30696
- weekly_cumulative_two_x_adder_cents: z.ZodString;
30722
+ cumulative_pay_cents: z.ZodOptional<z.ZodString>;
30723
+ weekly_cumulative_pay_cents: z.ZodOptional<z.ZodString>;
30724
+ cumulative_base_wage_pay_cents: z.ZodOptional<z.ZodString>;
30725
+ weekly_cumulative_base_wage_pay_cents: z.ZodOptional<z.ZodString>;
30726
+ cumulative_one_five_x_adder_cents: z.ZodOptional<z.ZodString>;
30727
+ weekly_cumulative_one_five_x_adder_cents: z.ZodOptional<z.ZodString>;
30728
+ cumulative_two_x_adder_cents: z.ZodOptional<z.ZodString>;
30729
+ weekly_cumulative_two_x_adder_cents: z.ZodOptional<z.ZodString>;
30697
30730
  cumulative_region_ids: z.ZodArray<z.ZodString>;
30698
30731
  weekly_cumulative_region_ids: z.ZodArray<z.ZodString>;
30699
30732
  created_at: z.ZodISODateTime;
@@ -30733,10 +30766,10 @@ export declare const zGetJobTimeCardDayResponse: z.ZodObject<{
30733
30766
  1.5: z.ZodNumber;
30734
30767
  2: z.ZodNumber;
30735
30768
  }, z.core.$strip>;
30736
- pay_cents: z.ZodString;
30737
- base_wage_pay_cents: z.ZodString;
30738
- one_five_x_adder_cents: z.ZodString;
30739
- two_x_adder_cents: z.ZodString;
30769
+ pay_cents: z.ZodOptional<z.ZodString>;
30770
+ base_wage_pay_cents: z.ZodOptional<z.ZodString>;
30771
+ one_five_x_adder_cents: z.ZodOptional<z.ZodString>;
30772
+ two_x_adder_cents: z.ZodOptional<z.ZodString>;
30740
30773
  region_ids: z.ZodArray<z.ZodString>;
30741
30774
  cumulative_minutes_worked: z.ZodInt;
30742
30775
  weekly_cumulative_minutes_worked: z.ZodInt;
@@ -30778,14 +30811,14 @@ export declare const zGetJobTimeCardDayResponse: z.ZodObject<{
30778
30811
  1.5: z.ZodNumber;
30779
30812
  2: z.ZodNumber;
30780
30813
  }, z.core.$strip>;
30781
- cumulative_pay_cents: z.ZodString;
30782
- weekly_cumulative_pay_cents: z.ZodString;
30783
- cumulative_base_wage_pay_cents: z.ZodString;
30784
- weekly_cumulative_base_wage_pay_cents: z.ZodString;
30785
- cumulative_one_five_x_adder_cents: z.ZodString;
30786
- weekly_cumulative_one_five_x_adder_cents: z.ZodString;
30787
- cumulative_two_x_adder_cents: z.ZodString;
30788
- weekly_cumulative_two_x_adder_cents: z.ZodString;
30814
+ cumulative_pay_cents: z.ZodOptional<z.ZodString>;
30815
+ weekly_cumulative_pay_cents: z.ZodOptional<z.ZodString>;
30816
+ cumulative_base_wage_pay_cents: z.ZodOptional<z.ZodString>;
30817
+ weekly_cumulative_base_wage_pay_cents: z.ZodOptional<z.ZodString>;
30818
+ cumulative_one_five_x_adder_cents: z.ZodOptional<z.ZodString>;
30819
+ weekly_cumulative_one_five_x_adder_cents: z.ZodOptional<z.ZodString>;
30820
+ cumulative_two_x_adder_cents: z.ZodOptional<z.ZodString>;
30821
+ weekly_cumulative_two_x_adder_cents: z.ZodOptional<z.ZodString>;
30789
30822
  cumulative_region_ids: z.ZodArray<z.ZodString>;
30790
30823
  weekly_cumulative_region_ids: z.ZodArray<z.ZodString>;
30791
30824
  created_at: z.ZodISODateTime;