@dsptch-work/api-client 0.47.0 → 0.49.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.
@@ -211,12 +211,6 @@ export declare const zProblem: z.ZodObject<{
211
211
  *
212
212
  * The item cannot be unarchived while its product is still archived — an item never lives active inside an archived product. Unarchive the product instead, which restores the item along with the rest of the product's holdings.
213
213
  *
214
- * ### recorded_since_termination
215
- *
216
- * **Timecode Changed Since Termination**
217
- *
218
- * Cancelling this timecode's scheduled termination would silently discard changes recorded since it was terminated. Re-read the timecode and reconcile before retrying.
219
- *
220
214
  * ### span_beyond_timeline_end
221
215
  *
222
216
  * **Span Beyond Timeline End**
@@ -429,7 +423,6 @@ export declare const zProblemTypeCatalog: z.ZodEnum<{
429
423
  pay_schedule_deletion_in_progress: "pay_schedule_deletion_in_progress";
430
424
  pay_schedule_deletion_refused: "pay_schedule_deletion_refused";
431
425
  product_archived: "product_archived";
432
- recorded_since_termination: "recorded_since_termination";
433
426
  span_beyond_timeline_end: "span_beyond_timeline_end";
434
427
  version_overlap: "version_overlap";
435
428
  precondition_failed: "precondition_failed";
@@ -2066,6 +2059,42 @@ export declare const zPayPeriodConfigParameters: z.ZodObject<{
2066
2059
  approvals_deadline_clock_time: z.ZodString;
2067
2060
  time_card_auto_lock_days: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
2068
2061
  }, z.core.$strip>;
2062
+ /**
2063
+ * Schedule a change to an existing pay schedule. effective_date is required; other fields are optional. tz_name, time_mode, and payroll_mode are refused.
2064
+ */
2065
+ export declare const zPayPeriodConfigUpdateParameters: z.ZodObject<{
2066
+ effective_date: z.ZodISODate;
2067
+ frequency: z.ZodOptional<z.ZodEnum<{
2068
+ weekly: "weekly";
2069
+ biweekly: "biweekly";
2070
+ }>>;
2071
+ start_day_of_week: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>, z.ZodLiteral<6>]>>;
2072
+ tz_name: z.ZodOptional<z.ZodString>;
2073
+ rounding_interval: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<15>]>>;
2074
+ payroll_system: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
2075
+ rippling: "rippling";
2076
+ quickbooks_online: "quickbooks_online";
2077
+ paychex: "paychex";
2078
+ gusto: "gusto";
2079
+ }>>>;
2080
+ paid_after_holiday: z.ZodOptional<z.ZodBoolean>;
2081
+ arrear_days: z.ZodOptional<z.ZodInt>;
2082
+ pay_run_deadline_days: z.ZodOptional<z.ZodInt>;
2083
+ pay_run_deadline_clock_time: z.ZodOptional<z.ZodString>;
2084
+ approvals_deadline_days: z.ZodOptional<z.ZodInt>;
2085
+ approvals_deadline_clock_time: z.ZodOptional<z.ZodString>;
2086
+ time_card_auto_lock_days: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
2087
+ time_mode: z.ZodOptional<z.ZodEnum<{
2088
+ none: "none";
2089
+ base: "base";
2090
+ aggregate: "aggregate";
2091
+ }>>;
2092
+ payroll_mode: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
2093
+ none: "none";
2094
+ base: "base";
2095
+ aggregate: "aggregate";
2096
+ }>>>;
2097
+ }, z.core.$strip>;
2069
2098
  /**
2070
2099
  * A pay schedule (PayPeriodConfig) — the top-level timekeeping unit that sets a company's payroll cadence and tracking modes and generates its stream of pay periods. Reads return the version valid at the requested time; create returns the new schedule, keyed by its stable id.
2071
2100
  */
@@ -8148,6 +8177,39 @@ export declare const zLaborRateResponseObject: z.ZodObject<{
8148
8177
  fringe_percentage_rate: z.ZodNullable<z.ZodString>;
8149
8178
  fringe_benefit_weekly_rate_cents: z.ZodNullable<z.ZodString>;
8150
8179
  fringe_benefit_monthly_rate_cents: z.ZodNullable<z.ZodString>;
8180
+ fringe_calculation: z.ZodObject<{
8181
+ available: z.ZodBoolean;
8182
+ hourly_cents: z.ZodNullable<z.ZodString>;
8183
+ reasons: z.ZodArray<z.ZodString>;
8184
+ component_ids: z.ZodArray<z.ZodString>;
8185
+ }, z.core.$strip>;
8186
+ fringe_benefit_components: z.ZodArray<z.ZodObject<{
8187
+ id: z.ZodString;
8188
+ position: z.ZodInt;
8189
+ amount_cents: z.ZodString;
8190
+ period: z.ZodEnum<{
8191
+ shift: "shift";
8192
+ year: "year";
8193
+ hour: "hour";
8194
+ day: "day";
8195
+ week: "week";
8196
+ month: "month";
8197
+ }>;
8198
+ kind: z.ZodEnum<{
8199
+ fringe: "fringe";
8200
+ wage_premium: "wage_premium";
8201
+ unresolved: "unresolved";
8202
+ }>;
8203
+ text: z.ZodString;
8204
+ attachment_status: z.ZodEnum<{
8205
+ unresolved: "unresolved";
8206
+ rate: "rate";
8207
+ }>;
8208
+ labor_rate_id: z.ZodNullable<z.ZodString>;
8209
+ source_sha256: z.ZodString;
8210
+ start_offset: z.ZodInt;
8211
+ end_offset: z.ZodInt;
8212
+ }, z.core.$strip>>;
8151
8213
  reference_item_ids: z.ZodArray<z.ZodString>;
8152
8214
  created_at: z.ZodISODateTime;
8153
8215
  updated_at: z.ZodISODateTime;
@@ -8177,6 +8239,39 @@ export declare const zLaborRatesResponseObject: z.ZodObject<{
8177
8239
  fringe_percentage_rate: z.ZodNullable<z.ZodString>;
8178
8240
  fringe_benefit_weekly_rate_cents: z.ZodNullable<z.ZodString>;
8179
8241
  fringe_benefit_monthly_rate_cents: z.ZodNullable<z.ZodString>;
8242
+ fringe_calculation: z.ZodObject<{
8243
+ available: z.ZodBoolean;
8244
+ hourly_cents: z.ZodNullable<z.ZodString>;
8245
+ reasons: z.ZodArray<z.ZodString>;
8246
+ component_ids: z.ZodArray<z.ZodString>;
8247
+ }, z.core.$strip>;
8248
+ fringe_benefit_components: z.ZodArray<z.ZodObject<{
8249
+ id: z.ZodString;
8250
+ position: z.ZodInt;
8251
+ amount_cents: z.ZodString;
8252
+ period: z.ZodEnum<{
8253
+ shift: "shift";
8254
+ year: "year";
8255
+ hour: "hour";
8256
+ day: "day";
8257
+ week: "week";
8258
+ month: "month";
8259
+ }>;
8260
+ kind: z.ZodEnum<{
8261
+ fringe: "fringe";
8262
+ wage_premium: "wage_premium";
8263
+ unresolved: "unresolved";
8264
+ }>;
8265
+ text: z.ZodString;
8266
+ attachment_status: z.ZodEnum<{
8267
+ unresolved: "unresolved";
8268
+ rate: "rate";
8269
+ }>;
8270
+ labor_rate_id: z.ZodNullable<z.ZodString>;
8271
+ source_sha256: z.ZodString;
8272
+ start_offset: z.ZodInt;
8273
+ end_offset: z.ZodInt;
8274
+ }, z.core.$strip>>;
8180
8275
  reference_item_ids: z.ZodArray<z.ZodString>;
8181
8276
  created_at: z.ZodISODateTime;
8182
8277
  updated_at: z.ZodISODateTime;
@@ -11221,6 +11316,7 @@ export declare const zAssetsTransactionEventResponseObject: z.ZodObject<{
11221
11316
  receive: "receive";
11222
11317
  adjust: "adjust";
11223
11318
  transfer: "transfer";
11319
+ transfer_contents: "transfer_contents";
11224
11320
  }>;
11225
11321
  quantity: z.ZodInt;
11226
11322
  }, z.core.$strip>;
@@ -11276,6 +11372,7 @@ export declare const zAssetsItemEventResponseObject: z.ZodDiscriminatedUnion<[z.
11276
11372
  receive: "receive";
11277
11373
  adjust: "adjust";
11278
11374
  transfer: "transfer";
11375
+ transfer_contents: "transfer_contents";
11279
11376
  }>;
11280
11377
  quantity: z.ZodInt;
11281
11378
  }, z.core.$strip>;
@@ -11317,9 +11414,9 @@ export declare const zAssetsServiceScheduleResponseObject: z.ZodObject<{
11317
11414
  name: z.ZodNullable<z.ZodString>;
11318
11415
  interval_unit: z.ZodEnum<{
11319
11416
  year: "year";
11320
- month: "month";
11321
- week: "week";
11322
11417
  day: "day";
11418
+ week: "week";
11419
+ month: "month";
11323
11420
  }>;
11324
11421
  interval_count: z.ZodInt;
11325
11422
  last_serviced_on: z.ZodNullable<z.ZodISODate>;
@@ -11338,9 +11435,9 @@ export declare const zAssetsServiceScheduleParameters: z.ZodObject<{
11338
11435
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11339
11436
  interval_unit: z.ZodEnum<{
11340
11437
  year: "year";
11341
- month: "month";
11342
- week: "week";
11343
11438
  day: "day";
11439
+ week: "week";
11440
+ month: "month";
11344
11441
  }>;
11345
11442
  interval_count: z.ZodInt;
11346
11443
  last_serviced_on: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
@@ -11357,9 +11454,9 @@ export declare const zAssetsServiceScheduleUpdateParameters: z.ZodObject<{
11357
11454
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11358
11455
  interval_unit: z.ZodOptional<z.ZodEnum<{
11359
11456
  year: "year";
11360
- month: "month";
11361
- week: "week";
11362
11457
  day: "day";
11458
+ week: "week";
11459
+ month: "month";
11363
11460
  }>>;
11364
11461
  interval_count: z.ZodOptional<z.ZodInt>;
11365
11462
  last_serviced_on: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
@@ -11447,9 +11544,9 @@ export declare const zAssetsServiceScheduleTemplateResponseObject: z.ZodObject<{
11447
11544
  name: z.ZodNullable<z.ZodString>;
11448
11545
  interval_unit: z.ZodEnum<{
11449
11546
  year: "year";
11450
- month: "month";
11451
- week: "week";
11452
11547
  day: "day";
11548
+ week: "week";
11549
+ month: "month";
11453
11550
  }>;
11454
11551
  interval_count: z.ZodInt;
11455
11552
  created_at: z.ZodISODateTime;
@@ -11466,9 +11563,9 @@ export declare const zAssetsServiceScheduleTemplateParameters: z.ZodObject<{
11466
11563
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11467
11564
  interval_unit: z.ZodEnum<{
11468
11565
  year: "year";
11469
- month: "month";
11470
- week: "week";
11471
11566
  day: "day";
11567
+ week: "week";
11568
+ month: "month";
11472
11569
  }>;
11473
11570
  interval_count: z.ZodInt;
11474
11571
  performed_by_user_id: z.ZodString;
@@ -11484,9 +11581,9 @@ export declare const zAssetsServiceScheduleTemplateUpdateParameters: z.ZodObject
11484
11581
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11485
11582
  interval_unit: z.ZodOptional<z.ZodEnum<{
11486
11583
  year: "year";
11487
- month: "month";
11488
- week: "week";
11489
11584
  day: "day";
11585
+ week: "week";
11586
+ month: "month";
11490
11587
  }>>;
11491
11588
  interval_count: z.ZodOptional<z.ZodInt>;
11492
11589
  performed_by_user_id: z.ZodString;
@@ -11566,7 +11663,6 @@ export declare const zAssetsTransferResponseObject: z.ZodObject<{
11566
11663
  to_assets_site_id: z.ZodNullable<z.ZodString>;
11567
11664
  to_user_id: z.ZodNullable<z.ZodString>;
11568
11665
  to_container_item_id: z.ZodNullable<z.ZodString>;
11569
- from_assets_sub_location_id: z.ZodNullable<z.ZodString>;
11570
11666
  to_assets_sub_location_id: z.ZodNullable<z.ZodString>;
11571
11667
  initiated_by_user_id: z.ZodString;
11572
11668
  completed_at: z.ZodNullable<z.ZodISODateTime>;
@@ -11574,6 +11670,7 @@ export declare const zAssetsTransferResponseObject: z.ZodObject<{
11574
11670
  id: z.ZodString;
11575
11671
  assets_item_id: z.ZodString;
11576
11672
  quantity: z.ZodInt;
11673
+ from_assets_sub_location_id: z.ZodNullable<z.ZodString>;
11577
11674
  }, z.core.$strip>>;
11578
11675
  created_at: z.ZodISODateTime;
11579
11676
  updated_at: z.ZodISODateTime;
@@ -13377,6 +13474,7 @@ export declare const zListEventsResponse: z.ZodObject<{
13377
13474
  receive: "receive";
13378
13475
  adjust: "adjust";
13379
13476
  transfer: "transfer";
13477
+ transfer_contents: "transfer_contents";
13380
13478
  }>;
13381
13479
  quantity: z.ZodInt;
13382
13480
  }, z.core.$strip>;
@@ -13431,6 +13529,7 @@ export declare const zGetEventResponse: z.ZodDiscriminatedUnion<[z.ZodObject<{
13431
13529
  receive: "receive";
13432
13530
  adjust: "adjust";
13433
13531
  transfer: "transfer";
13532
+ transfer_contents: "transfer_contents";
13434
13533
  }>;
13435
13534
  quantity: z.ZodInt;
13436
13535
  }, z.core.$strip>;
@@ -14315,9 +14414,9 @@ export declare const zListServiceSchedulesResponse: z.ZodObject<{
14315
14414
  name: z.ZodNullable<z.ZodString>;
14316
14415
  interval_unit: z.ZodEnum<{
14317
14416
  year: "year";
14318
- month: "month";
14319
- week: "week";
14320
14417
  day: "day";
14418
+ week: "week";
14419
+ month: "month";
14321
14420
  }>;
14322
14421
  interval_count: z.ZodInt;
14323
14422
  last_serviced_on: z.ZodNullable<z.ZodISODate>;
@@ -14334,9 +14433,9 @@ export declare const zCreateServiceScheduleBody: z.ZodObject<{
14334
14433
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14335
14434
  interval_unit: z.ZodEnum<{
14336
14435
  year: "year";
14337
- month: "month";
14338
- week: "week";
14339
14436
  day: "day";
14437
+ week: "week";
14438
+ month: "month";
14340
14439
  }>;
14341
14440
  interval_count: z.ZodInt;
14342
14441
  last_serviced_on: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
@@ -14360,9 +14459,9 @@ export declare const zCreateServiceScheduleResponse: z.ZodObject<{
14360
14459
  name: z.ZodNullable<z.ZodString>;
14361
14460
  interval_unit: z.ZodEnum<{
14362
14461
  year: "year";
14363
- month: "month";
14364
- week: "week";
14365
14462
  day: "day";
14463
+ week: "week";
14464
+ month: "month";
14366
14465
  }>;
14367
14466
  interval_count: z.ZodInt;
14368
14467
  last_serviced_on: z.ZodNullable<z.ZodISODate>;
@@ -14389,9 +14488,9 @@ export declare const zDeleteServiceScheduleResponse: z.ZodObject<{
14389
14488
  name: z.ZodNullable<z.ZodString>;
14390
14489
  interval_unit: z.ZodEnum<{
14391
14490
  year: "year";
14392
- month: "month";
14393
- week: "week";
14394
14491
  day: "day";
14492
+ week: "week";
14493
+ month: "month";
14395
14494
  }>;
14396
14495
  interval_count: z.ZodInt;
14397
14496
  last_serviced_on: z.ZodNullable<z.ZodISODate>;
@@ -14418,9 +14517,9 @@ export declare const zGetServiceScheduleResponse: z.ZodObject<{
14418
14517
  name: z.ZodNullable<z.ZodString>;
14419
14518
  interval_unit: z.ZodEnum<{
14420
14519
  year: "year";
14421
- month: "month";
14422
- week: "week";
14423
14520
  day: "day";
14521
+ week: "week";
14522
+ month: "month";
14424
14523
  }>;
14425
14524
  interval_count: z.ZodInt;
14426
14525
  last_serviced_on: z.ZodNullable<z.ZodISODate>;
@@ -14436,9 +14535,9 @@ export declare const zUpdateServiceScheduleBody: z.ZodObject<{
14436
14535
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14437
14536
  interval_unit: z.ZodOptional<z.ZodEnum<{
14438
14537
  year: "year";
14439
- month: "month";
14440
- week: "week";
14441
14538
  day: "day";
14539
+ week: "week";
14540
+ month: "month";
14442
14541
  }>>;
14443
14542
  interval_count: z.ZodOptional<z.ZodInt>;
14444
14543
  last_serviced_on: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
@@ -14463,9 +14562,9 @@ export declare const zUpdateServiceScheduleResponse: z.ZodObject<{
14463
14562
  name: z.ZodNullable<z.ZodString>;
14464
14563
  interval_unit: z.ZodEnum<{
14465
14564
  year: "year";
14466
- month: "month";
14467
- week: "week";
14468
14565
  day: "day";
14566
+ week: "week";
14567
+ month: "month";
14469
14568
  }>;
14470
14569
  interval_count: z.ZodInt;
14471
14570
  last_serviced_on: z.ZodNullable<z.ZodISODate>;
@@ -15669,9 +15768,9 @@ export declare const zListServiceScheduleTemplatesResponse: z.ZodObject<{
15669
15768
  name: z.ZodNullable<z.ZodString>;
15670
15769
  interval_unit: z.ZodEnum<{
15671
15770
  year: "year";
15672
- month: "month";
15673
- week: "week";
15674
15771
  day: "day";
15772
+ week: "week";
15773
+ month: "month";
15675
15774
  }>;
15676
15775
  interval_count: z.ZodInt;
15677
15776
  created_at: z.ZodISODateTime;
@@ -15686,9 +15785,9 @@ export declare const zCreateServiceScheduleTemplateBody: z.ZodObject<{
15686
15785
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15687
15786
  interval_unit: z.ZodEnum<{
15688
15787
  year: "year";
15689
- month: "month";
15690
- week: "week";
15691
15788
  day: "day";
15789
+ week: "week";
15790
+ month: "month";
15692
15791
  }>;
15693
15792
  interval_count: z.ZodInt;
15694
15793
  performed_by_user_id: z.ZodString;
@@ -15710,9 +15809,9 @@ export declare const zCreateServiceScheduleTemplateResponse: z.ZodObject<{
15710
15809
  name: z.ZodNullable<z.ZodString>;
15711
15810
  interval_unit: z.ZodEnum<{
15712
15811
  year: "year";
15713
- month: "month";
15714
- week: "week";
15715
15812
  day: "day";
15813
+ week: "week";
15814
+ month: "month";
15716
15815
  }>;
15717
15816
  interval_count: z.ZodInt;
15718
15817
  created_at: z.ZodISODateTime;
@@ -15736,9 +15835,9 @@ export declare const zDeleteServiceScheduleTemplateResponse: z.ZodObject<{
15736
15835
  name: z.ZodNullable<z.ZodString>;
15737
15836
  interval_unit: z.ZodEnum<{
15738
15837
  year: "year";
15739
- month: "month";
15740
- week: "week";
15741
15838
  day: "day";
15839
+ week: "week";
15840
+ month: "month";
15742
15841
  }>;
15743
15842
  interval_count: z.ZodInt;
15744
15843
  created_at: z.ZodISODateTime;
@@ -15762,9 +15861,9 @@ export declare const zGetServiceScheduleTemplateResponse: z.ZodObject<{
15762
15861
  name: z.ZodNullable<z.ZodString>;
15763
15862
  interval_unit: z.ZodEnum<{
15764
15863
  year: "year";
15765
- month: "month";
15766
- week: "week";
15767
15864
  day: "day";
15865
+ week: "week";
15866
+ month: "month";
15768
15867
  }>;
15769
15868
  interval_count: z.ZodInt;
15770
15869
  created_at: z.ZodISODateTime;
@@ -15778,9 +15877,9 @@ export declare const zUpdateServiceScheduleTemplateBody: z.ZodObject<{
15778
15877
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15779
15878
  interval_unit: z.ZodOptional<z.ZodEnum<{
15780
15879
  year: "year";
15781
- month: "month";
15782
- week: "week";
15783
15880
  day: "day";
15881
+ week: "week";
15882
+ month: "month";
15784
15883
  }>>;
15785
15884
  interval_count: z.ZodOptional<z.ZodInt>;
15786
15885
  performed_by_user_id: z.ZodString;
@@ -15803,9 +15902,9 @@ export declare const zUpdateServiceScheduleTemplateResponse: z.ZodObject<{
15803
15902
  name: z.ZodNullable<z.ZodString>;
15804
15903
  interval_unit: z.ZodEnum<{
15805
15904
  year: "year";
15806
- month: "month";
15807
- week: "week";
15808
15905
  day: "day";
15906
+ week: "week";
15907
+ month: "month";
15809
15908
  }>;
15810
15909
  interval_count: z.ZodInt;
15811
15910
  created_at: z.ZodISODateTime;
@@ -15836,9 +15935,9 @@ export declare const zSeedServiceScheduleTemplateResponse: z.ZodObject<{
15836
15935
  name: z.ZodNullable<z.ZodString>;
15837
15936
  interval_unit: z.ZodEnum<{
15838
15937
  year: "year";
15839
- month: "month";
15840
- week: "week";
15841
15938
  day: "day";
15939
+ week: "week";
15940
+ month: "month";
15842
15941
  }>;
15843
15942
  interval_count: z.ZodInt;
15844
15943
  last_serviced_on: z.ZodNullable<z.ZodISODate>;
@@ -15872,9 +15971,9 @@ export declare const zSyncServiceScheduleTemplateResponse: z.ZodObject<{
15872
15971
  name: z.ZodNullable<z.ZodString>;
15873
15972
  interval_unit: z.ZodEnum<{
15874
15973
  year: "year";
15875
- month: "month";
15876
- week: "week";
15877
15974
  day: "day";
15975
+ week: "week";
15976
+ month: "month";
15878
15977
  }>;
15879
15978
  interval_count: z.ZodInt;
15880
15979
  last_serviced_on: z.ZodNullable<z.ZodISODate>;
@@ -16404,7 +16503,6 @@ export declare const zListTransfersResponse: z.ZodObject<{
16404
16503
  to_assets_site_id: z.ZodNullable<z.ZodString>;
16405
16504
  to_user_id: z.ZodNullable<z.ZodString>;
16406
16505
  to_container_item_id: z.ZodNullable<z.ZodString>;
16407
- from_assets_sub_location_id: z.ZodNullable<z.ZodString>;
16408
16506
  to_assets_sub_location_id: z.ZodNullable<z.ZodString>;
16409
16507
  initiated_by_user_id: z.ZodString;
16410
16508
  completed_at: z.ZodNullable<z.ZodISODateTime>;
@@ -16412,6 +16510,7 @@ export declare const zListTransfersResponse: z.ZodObject<{
16412
16510
  id: z.ZodString;
16413
16511
  assets_item_id: z.ZodString;
16414
16512
  quantity: z.ZodInt;
16513
+ from_assets_sub_location_id: z.ZodNullable<z.ZodString>;
16415
16514
  }, z.core.$strip>>;
16416
16515
  created_at: z.ZodISODateTime;
16417
16516
  updated_at: z.ZodISODateTime;
@@ -16447,7 +16546,6 @@ export declare const zCreateTransferResponse: z.ZodUnion<readonly [z.ZodObject<{
16447
16546
  to_assets_site_id: z.ZodNullable<z.ZodString>;
16448
16547
  to_user_id: z.ZodNullable<z.ZodString>;
16449
16548
  to_container_item_id: z.ZodNullable<z.ZodString>;
16450
- from_assets_sub_location_id: z.ZodNullable<z.ZodString>;
16451
16549
  to_assets_sub_location_id: z.ZodNullable<z.ZodString>;
16452
16550
  initiated_by_user_id: z.ZodString;
16453
16551
  completed_at: z.ZodNullable<z.ZodISODateTime>;
@@ -16455,6 +16553,7 @@ export declare const zCreateTransferResponse: z.ZodUnion<readonly [z.ZodObject<{
16455
16553
  id: z.ZodString;
16456
16554
  assets_item_id: z.ZodString;
16457
16555
  quantity: z.ZodInt;
16556
+ from_assets_sub_location_id: z.ZodNullable<z.ZodString>;
16458
16557
  }, z.core.$strip>>;
16459
16558
  created_at: z.ZodISODateTime;
16460
16559
  updated_at: z.ZodISODateTime;
@@ -16480,7 +16579,6 @@ export declare const zGetTransferResponse: z.ZodObject<{
16480
16579
  to_assets_site_id: z.ZodNullable<z.ZodString>;
16481
16580
  to_user_id: z.ZodNullable<z.ZodString>;
16482
16581
  to_container_item_id: z.ZodNullable<z.ZodString>;
16483
- from_assets_sub_location_id: z.ZodNullable<z.ZodString>;
16484
16582
  to_assets_sub_location_id: z.ZodNullable<z.ZodString>;
16485
16583
  initiated_by_user_id: z.ZodString;
16486
16584
  completed_at: z.ZodNullable<z.ZodISODateTime>;
@@ -16488,6 +16586,7 @@ export declare const zGetTransferResponse: z.ZodObject<{
16488
16586
  id: z.ZodString;
16489
16587
  assets_item_id: z.ZodString;
16490
16588
  quantity: z.ZodInt;
16589
+ from_assets_sub_location_id: z.ZodNullable<z.ZodString>;
16491
16590
  }, z.core.$strip>>;
16492
16591
  created_at: z.ZodISODateTime;
16493
16592
  updated_at: z.ZodISODateTime;
@@ -35457,6 +35556,91 @@ export declare const zGetPayPeriodConfigResponse: z.ZodObject<{
35457
35556
  valid_to: z.ZodNullable<z.ZodISODateTime>;
35458
35557
  created_at: z.ZodISODateTime;
35459
35558
  }, z.core.$strip>;
35559
+ export declare const zUpdatePayPeriodConfigBody: z.ZodObject<{
35560
+ effective_date: z.ZodISODate;
35561
+ frequency: z.ZodOptional<z.ZodEnum<{
35562
+ weekly: "weekly";
35563
+ biweekly: "biweekly";
35564
+ }>>;
35565
+ start_day_of_week: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>, z.ZodLiteral<6>]>>;
35566
+ tz_name: z.ZodOptional<z.ZodString>;
35567
+ rounding_interval: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<15>]>>;
35568
+ payroll_system: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
35569
+ rippling: "rippling";
35570
+ quickbooks_online: "quickbooks_online";
35571
+ paychex: "paychex";
35572
+ gusto: "gusto";
35573
+ }>>>;
35574
+ paid_after_holiday: z.ZodOptional<z.ZodBoolean>;
35575
+ arrear_days: z.ZodOptional<z.ZodInt>;
35576
+ pay_run_deadline_days: z.ZodOptional<z.ZodInt>;
35577
+ pay_run_deadline_clock_time: z.ZodOptional<z.ZodString>;
35578
+ approvals_deadline_days: z.ZodOptional<z.ZodInt>;
35579
+ approvals_deadline_clock_time: z.ZodOptional<z.ZodString>;
35580
+ time_card_auto_lock_days: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
35581
+ time_mode: z.ZodOptional<z.ZodEnum<{
35582
+ none: "none";
35583
+ base: "base";
35584
+ aggregate: "aggregate";
35585
+ }>>;
35586
+ payroll_mode: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
35587
+ none: "none";
35588
+ base: "base";
35589
+ aggregate: "aggregate";
35590
+ }>>>;
35591
+ }, z.core.$strip>;
35592
+ export declare const zUpdatePayPeriodConfigHeaders: z.ZodObject<{
35593
+ 'If-Match': z.ZodString;
35594
+ }, z.core.$strip>;
35595
+ export declare const zUpdatePayPeriodConfigPath: z.ZodObject<{
35596
+ id: z.ZodString;
35597
+ }, z.core.$strip>;
35598
+ /**
35599
+ * Accepted
35600
+ */
35601
+ export declare const zUpdatePayPeriodConfigResponse: z.ZodObject<{
35602
+ id: z.ZodString;
35603
+ company_id: z.ZodString;
35604
+ name: z.ZodString;
35605
+ frequency: z.ZodEnum<{
35606
+ weekly: "weekly";
35607
+ biweekly: "biweekly";
35608
+ }>;
35609
+ start_day_of_week: z.ZodInt;
35610
+ tz_name: z.ZodString;
35611
+ currency: z.ZodString;
35612
+ status: z.ZodEnum<{
35613
+ pending: "pending";
35614
+ failed: "failed";
35615
+ synced: "synced";
35616
+ }>;
35617
+ payroll_mode: z.ZodNullable<z.ZodEnum<{
35618
+ none: "none";
35619
+ base: "base";
35620
+ aggregate: "aggregate";
35621
+ }>>;
35622
+ time_mode: z.ZodEnum<{
35623
+ none: "none";
35624
+ base: "base";
35625
+ aggregate: "aggregate";
35626
+ }>;
35627
+ payroll_system: z.ZodNullable<z.ZodEnum<{
35628
+ rippling: "rippling";
35629
+ quickbooks_online: "quickbooks_online";
35630
+ paychex: "paychex";
35631
+ gusto: "gusto";
35632
+ }>>;
35633
+ actuals_enabled: z.ZodNullable<z.ZodBoolean>;
35634
+ requires_external_map_contributor: z.ZodBoolean;
35635
+ paid_after_holiday: z.ZodBoolean;
35636
+ arrear_days: z.ZodInt;
35637
+ time_card_auto_lock_days: z.ZodNullable<z.ZodInt>;
35638
+ rounding_interval: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<15>]>;
35639
+ demo: z.ZodNullable<z.ZodBoolean>;
35640
+ valid_from: z.ZodNullable<z.ZodISODateTime>;
35641
+ valid_to: z.ZodNullable<z.ZodISODateTime>;
35642
+ created_at: z.ZodISODateTime;
35643
+ }, z.core.$strip>;
35460
35644
  export declare const zListTimeCardActualsQuery: z.ZodObject<{
35461
35645
  'filter[timekeeping_time_card_id]': z.ZodOptional<z.ZodString>;
35462
35646
  'filter[created_at][gte]': z.ZodOptional<z.ZodISODateTime>;
@@ -37847,6 +38031,39 @@ export declare const zListLaborRatesResponse: z.ZodObject<{
37847
38031
  fringe_percentage_rate: z.ZodNullable<z.ZodString>;
37848
38032
  fringe_benefit_weekly_rate_cents: z.ZodNullable<z.ZodString>;
37849
38033
  fringe_benefit_monthly_rate_cents: z.ZodNullable<z.ZodString>;
38034
+ fringe_calculation: z.ZodObject<{
38035
+ available: z.ZodBoolean;
38036
+ hourly_cents: z.ZodNullable<z.ZodString>;
38037
+ reasons: z.ZodArray<z.ZodString>;
38038
+ component_ids: z.ZodArray<z.ZodString>;
38039
+ }, z.core.$strip>;
38040
+ fringe_benefit_components: z.ZodArray<z.ZodObject<{
38041
+ id: z.ZodString;
38042
+ position: z.ZodInt;
38043
+ amount_cents: z.ZodString;
38044
+ period: z.ZodEnum<{
38045
+ shift: "shift";
38046
+ year: "year";
38047
+ hour: "hour";
38048
+ day: "day";
38049
+ week: "week";
38050
+ month: "month";
38051
+ }>;
38052
+ kind: z.ZodEnum<{
38053
+ fringe: "fringe";
38054
+ wage_premium: "wage_premium";
38055
+ unresolved: "unresolved";
38056
+ }>;
38057
+ text: z.ZodString;
38058
+ attachment_status: z.ZodEnum<{
38059
+ unresolved: "unresolved";
38060
+ rate: "rate";
38061
+ }>;
38062
+ labor_rate_id: z.ZodNullable<z.ZodString>;
38063
+ source_sha256: z.ZodString;
38064
+ start_offset: z.ZodInt;
38065
+ end_offset: z.ZodInt;
38066
+ }, z.core.$strip>>;
37850
38067
  reference_item_ids: z.ZodArray<z.ZodString>;
37851
38068
  created_at: z.ZodISODateTime;
37852
38069
  updated_at: z.ZodISODateTime;