@dsptch-work/api-client 0.34.0 → 0.35.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.
@@ -309,7 +309,7 @@ export declare const zProblem: z.ZodObject<{
309
309
  *
310
310
  * **Foreign Subtype Attributes**
311
311
  *
312
- * A nested-attributes write carries keys the record's resolved subtype does not accept. Send only the keys valid for that subtype; the message names the offending ones.
312
+ * A write carries keys the record's resolved subtype does not accept, whether nested or beside the record's own fields (a serial item's fields sent for a bulk item). Send only the keys valid for that subtype; the message names the offending ones, and each one's entry in `errors` points at it. Nothing is written.
313
313
  *
314
314
  * ### synced_determination
315
315
  *
@@ -603,6 +603,16 @@ export declare const zCompetencyCriterionResponseObject: z.ZodObject<{
603
603
  number: z.ZodNullable<z.ZodString>;
604
604
  body: z.ZodNullable<z.ZodString>;
605
605
  evidence_note: z.ZodNullable<z.ZodString>;
606
+ assessment_method: z.ZodNullable<z.ZodEnum<{
607
+ direct_observation: "direct_observation";
608
+ simulation: "simulation";
609
+ oral_questioning: "oral_questioning";
610
+ written_questioning: "written_questioning";
611
+ products_of_work: "products_of_work";
612
+ recognized_prior_learning: "recognized_prior_learning";
613
+ witness_testimony: "witness_testimony";
614
+ other: "other";
615
+ }>>;
606
616
  created_at: z.ZodISODateTime;
607
617
  updated_at: z.ZodISODateTime;
608
618
  }, z.core.$strip>;
@@ -613,6 +623,16 @@ export declare const zCompetencyCriterionParameters: z.ZodObject<{
613
623
  number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
614
624
  body: z.ZodOptional<z.ZodNullable<z.ZodString>>;
615
625
  evidence_note: z.ZodOptional<z.ZodNullable<z.ZodString>>;
626
+ assessment_method: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
627
+ direct_observation: "direct_observation";
628
+ simulation: "simulation";
629
+ oral_questioning: "oral_questioning";
630
+ written_questioning: "written_questioning";
631
+ products_of_work: "products_of_work";
632
+ recognized_prior_learning: "recognized_prior_learning";
633
+ witness_testimony: "witness_testimony";
634
+ other: "other";
635
+ }>>>;
616
636
  }, z.core.$strip>;
617
637
  /**
618
638
  * Swap a draft catalog row with its neighbor. The row cannot move past either end of the list.
@@ -1642,6 +1662,69 @@ export declare const zTimecodeScheduledChangeParameters: z.ZodObject<{
1642
1662
  job_with_timecode: "job_with_timecode";
1643
1663
  }>>;
1644
1664
  }, z.core.$strip>;
1665
+ /**
1666
+ * Create a catalog product. `type` (serial or bulk) is required and immutable. `attribute_values` upserts the product's category-attribute values.
1667
+ */
1668
+ export declare const zAssetsProductParameters: z.ZodObject<{
1669
+ name: z.ZodString;
1670
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1671
+ make: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1672
+ model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1673
+ upc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1674
+ internal_sku: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1675
+ default_minimum_quantity: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
1676
+ counted_by: z.ZodOptional<z.ZodEnum<{
1677
+ each: "each";
1678
+ pair: "pair";
1679
+ pack: "pack";
1680
+ }>>;
1681
+ assets_category_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1682
+ container: z.ZodOptional<z.ZodBoolean>;
1683
+ attribute_values: z.ZodOptional<z.ZodArray<z.ZodObject<{
1684
+ assets_attribute_id: z.ZodString;
1685
+ value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1686
+ assets_attribute_option_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1687
+ }, z.core.$strip>>>;
1688
+ images_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
1689
+ id: z.ZodOptional<z.ZodString>;
1690
+ file: z.ZodOptional<z.ZodString>;
1691
+ _destroy: z.ZodOptional<z.ZodBoolean>;
1692
+ }, z.core.$strip>>>;
1693
+ type: z.ZodEnum<{
1694
+ serial: "serial";
1695
+ bulk: "bulk";
1696
+ }>;
1697
+ performed_by_user_id: z.ZodString;
1698
+ }, z.core.$strip>;
1699
+ /**
1700
+ * Update a catalog product. All fields are optional — send only what changes. `type` is immutable and `performed_by_user_id` is create-only, so neither is accepted here. `attribute_values` upserts the product's category-attribute values.
1701
+ */
1702
+ export declare const zAssetsProductUpdateParameters: z.ZodObject<{
1703
+ name: z.ZodOptional<z.ZodString>;
1704
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1705
+ make: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1706
+ model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1707
+ upc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1708
+ internal_sku: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1709
+ default_minimum_quantity: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
1710
+ counted_by: z.ZodOptional<z.ZodEnum<{
1711
+ each: "each";
1712
+ pair: "pair";
1713
+ pack: "pack";
1714
+ }>>;
1715
+ assets_category_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1716
+ container: z.ZodOptional<z.ZodBoolean>;
1717
+ attribute_values: z.ZodOptional<z.ZodArray<z.ZodObject<{
1718
+ assets_attribute_id: z.ZodString;
1719
+ value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1720
+ assets_attribute_option_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1721
+ }, z.core.$strip>>>;
1722
+ images_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
1723
+ id: z.ZodOptional<z.ZodString>;
1724
+ file: z.ZodOptional<z.ZodString>;
1725
+ _destroy: z.ZodOptional<z.ZodBoolean>;
1726
+ }, z.core.$strip>>>;
1727
+ }, z.core.$strip>;
1645
1728
  /**
1646
1729
  * A named daily allowance (meals, lodging, travel, and the like) that a company can attach to time.
1647
1730
  */
@@ -1778,36 +1861,36 @@ export declare const zAssetsCategoryResponseObject: z.ZodObject<{
1778
1861
  updated_at: z.ZodISODateTime;
1779
1862
  }, z.core.$strip>;
1780
1863
  /**
1781
- * Create or update a category; only name is required. `category_attributes` sets this category's direct attribute assignments.
1864
+ * Create a category. Only name is required; omitting it answers 400, and a blank or null name or any wrong-typed value answers 422. A null or blank parent_id files the category at the root. `category_attributes` sets this category's direct attribute assignments.
1782
1865
  */
1783
1866
  export declare const zAssetsCategoryParameters: z.ZodObject<{
1784
1867
  name: z.ZodString;
1785
1868
  parent_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1786
1869
  category_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
1787
1870
  id: z.ZodOptional<z.ZodString>;
1788
- assets_attribute_id: z.ZodString;
1789
- fillable_on: z.ZodEnum<{
1871
+ assets_attribute_id: z.ZodOptional<z.ZodString>;
1872
+ fillable_on: z.ZodOptional<z.ZodEnum<{
1790
1873
  product: "product";
1791
1874
  item: "item";
1792
- }>;
1875
+ }>>;
1793
1876
  required: z.ZodOptional<z.ZodBoolean>;
1794
1877
  position: z.ZodOptional<z.ZodInt>;
1795
1878
  _destroy: z.ZodOptional<z.ZodBoolean>;
1796
1879
  }, z.core.$strip>>>;
1797
1880
  }, z.core.$strip>;
1798
1881
  /**
1799
- * Update a category. All fields are optional — send only what changes. `category_attributes` sets this category's direct attribute assignments.
1882
+ * Update a category. All fields are optional — send only what changes. A blank or null name or any wrong-typed value answers 422, and a null or blank parent_id moves the category to the root. `category_attributes` sets this category's direct attribute assignments.
1800
1883
  */
1801
1884
  export declare const zAssetsCategoryUpdateParameters: z.ZodObject<{
1802
1885
  name: z.ZodOptional<z.ZodString>;
1803
1886
  parent_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1804
1887
  category_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
1805
1888
  id: z.ZodOptional<z.ZodString>;
1806
- assets_attribute_id: z.ZodString;
1807
- fillable_on: z.ZodEnum<{
1889
+ assets_attribute_id: z.ZodOptional<z.ZodString>;
1890
+ fillable_on: z.ZodOptional<z.ZodEnum<{
1808
1891
  product: "product";
1809
1892
  item: "item";
1810
- }>;
1893
+ }>>;
1811
1894
  required: z.ZodOptional<z.ZodBoolean>;
1812
1895
  position: z.ZodOptional<z.ZodInt>;
1813
1896
  _destroy: z.ZodOptional<z.ZodBoolean>;
@@ -5580,78 +5663,30 @@ export declare const zProductionJobScopePriceResponseObject: z.ZodObject<{
5580
5663
  updated_at: z.ZodISODateTime;
5581
5664
  }, z.core.$strip>;
5582
5665
  /**
5583
- * Update a completion. Send only the fields to change. The scope price, filer, and feature reference are fixed at creation. Sending production_job_scope_price_id or performed_by_user_id on update returns 400 unknown_key. Feature completions accept no completable changes; quantity completions accept quantity_completed. A key for the other subtype returns 422.
5584
- */
5585
- export declare const zProductionCompletionUpdateParameters: z.ZodObject<{
5586
- notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5587
- work_date: z.ZodOptional<z.ZodISODate>;
5588
- position_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
5589
- completable_attributes: z.ZodOptional<z.ZodObject<{
5590
- quantity_completed: z.ZodOptional<z.ZodInt>;
5591
- }, z.core.$strip>>;
5592
- }, z.core.$strip>;
5593
- /**
5594
- * Fields shared by both completion payload kinds.
5666
+ * Record a completion against a scope price. The server takes the completable subtype from the production tracking kind of the scope price's job, never from the request: a feature-tracked job records which feature was completed, and a quantity-tracked job how many units were completed. completable_attributes declares both kinds' keys; sending the other kind's key answers 422 subtype_foreign_keys with an entry pointing at it, and nothing is written.
5595
5667
  */
5596
- export declare const zProductionCompletionBaseParameters: z.ZodObject<{
5668
+ export declare const zProductionCompletionParameters: z.ZodObject<{
5597
5669
  production_job_scope_price_id: z.ZodString;
5598
5670
  performed_by_user_id: z.ZodString;
5599
5671
  notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5600
5672
  work_date: z.ZodOptional<z.ZodISODate>;
5601
5673
  position_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
5602
- }, z.core.$strip>;
5603
- /**
5604
- * Payload for completions on feature-tracked jobs (the scope price's job tracks production by feature). quantity_completed is not accepted; the feature reference is immutable after create, so update accepts no completable_attributes at all.
5605
- */
5606
- export declare const zProductionFeatureCompletionParameters: z.ZodIntersection<z.ZodObject<{
5607
- production_job_scope_price_id: z.ZodString;
5608
- performed_by_user_id: z.ZodString;
5609
- notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5610
- work_date: z.ZodOptional<z.ZodISODate>;
5611
- position_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
5612
- }, z.core.$strip>, z.ZodObject<{
5613
5674
  completable_attributes: z.ZodOptional<z.ZodObject<{
5614
5675
  feature_id: z.ZodOptional<z.ZodString>;
5615
- }, z.core.$strip>>;
5616
- }, z.core.$strip>>;
5617
- /**
5618
- * Payload for completions on quantity-tracked jobs (the scope price's job tracks production by quantity). feature_id is not accepted.
5619
- */
5620
- export declare const zProductionQuantityCompletionParameters: z.ZodIntersection<z.ZodObject<{
5621
- production_job_scope_price_id: z.ZodString;
5622
- performed_by_user_id: z.ZodString;
5623
- notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5624
- work_date: z.ZodOptional<z.ZodISODate>;
5625
- position_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
5626
- }, z.core.$strip>, z.ZodObject<{
5627
- completable_attributes: z.ZodOptional<z.ZodObject<{
5628
5676
  quantity_completed: z.ZodOptional<z.ZodInt>;
5629
5677
  }, z.core.$strip>>;
5630
- }, z.core.$strip>>;
5678
+ }, z.core.$strip>;
5631
5679
  /**
5632
- * A completion's payload shape follows the production tracking kind of the scope price's job — the server derives the completable subtype from the job, never from the request. Feature-tracked jobs record which feature was completed (feature payload); quantity-tracked jobs record how many units were completed (quantity payload). The two payloads are mutually exclusive: sending the other kind's completable key returns 422.
5680
+ * Update a completion. Send only the fields to change. The scope price, filer, and feature reference are fixed at creation. Sending production_job_scope_price_id or performed_by_user_id on update returns 400 unknown_key. Feature completions accept no completable changes, so quantity_completed on one answers 422 subtype_foreign_keys with an entry pointing at it; quantity completions accept quantity_completed.
5633
5681
  */
5634
- export declare const zProductionCompletionParameters: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
5635
- production_job_scope_price_id: z.ZodString;
5636
- performed_by_user_id: z.ZodString;
5637
- notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5638
- work_date: z.ZodOptional<z.ZodISODate>;
5639
- position_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
5640
- }, z.core.$strip>, z.ZodObject<{
5641
- completable_attributes: z.ZodOptional<z.ZodObject<{
5642
- feature_id: z.ZodOptional<z.ZodString>;
5643
- }, z.core.$strip>>;
5644
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
5645
- production_job_scope_price_id: z.ZodString;
5646
- performed_by_user_id: z.ZodString;
5682
+ export declare const zProductionCompletionUpdateParameters: z.ZodObject<{
5647
5683
  notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5648
5684
  work_date: z.ZodOptional<z.ZodISODate>;
5649
5685
  position_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
5650
- }, z.core.$strip>, z.ZodObject<{
5651
5686
  completable_attributes: z.ZodOptional<z.ZodObject<{
5652
5687
  quantity_completed: z.ZodOptional<z.ZodInt>;
5653
5688
  }, z.core.$strip>>;
5654
- }, z.core.$strip>>]>;
5689
+ }, z.core.$strip>;
5655
5690
  /**
5656
5691
  * A completion recorded on a feature-tracked job — a unit of scoped work finished by a crew, identifying which feature was completed.
5657
5692
  */
@@ -9143,6 +9178,7 @@ export declare const zPayRatesRuleResponseObject: z.ZodObject<{
9143
9178
  * Parameters for creating a conditional wage or fringe adjustment in a pay-rate rule package.
9144
9179
  */
9145
9180
  export declare const zPayRatesRuleParameters: z.ZodObject<{
9181
+ effective_date: z.ZodOptional<z.ZodISODate>;
9146
9182
  effect: z.ZodObject<{
9147
9183
  type: z.ZodEnum<{
9148
9184
  wage_increment: "wage_increment";
@@ -9150,36 +9186,48 @@ export declare const zPayRatesRuleParameters: z.ZodObject<{
9150
9186
  }>;
9151
9187
  amount_cents: z.ZodString;
9152
9188
  }, z.core.$strip>;
9153
- conditions: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
9189
+ conditions: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
9190
+ type: z.ZodEnum<{
9191
+ time_range: "time_range";
9192
+ }>;
9154
9193
  start_time: z.ZodString;
9155
9194
  end_time: z.ZodString;
9156
- type: z.ZodLiteral<"time_range">;
9157
9195
  }, z.core.$strip>, z.ZodObject<{
9196
+ type: z.ZodEnum<{
9197
+ days: "days";
9198
+ }>;
9158
9199
  days: z.ZodArray<z.ZodInt>;
9159
- type: z.ZodLiteral<"days">;
9160
9200
  }, z.core.$strip>, z.ZodObject<{
9201
+ type: z.ZodEnum<{
9202
+ specific_date: "specific_date";
9203
+ }>;
9161
9204
  date: z.ZodISODate;
9162
- type: z.ZodLiteral<"specific_date">;
9163
9205
  }, z.core.$strip>, z.ZodObject<{
9206
+ type: z.ZodEnum<{
9207
+ apprentice_period: "apprentice_period";
9208
+ }>;
9164
9209
  period: z.ZodInt;
9165
- type: z.ZodLiteral<"apprentice_period">;
9166
9210
  }, z.core.$strip>, z.ZodObject<{
9211
+ type: z.ZodEnum<{
9212
+ apprentice_hours: "apprentice_hours";
9213
+ }>;
9167
9214
  min_hours: z.ZodInt;
9168
9215
  max_hours: z.ZodInt;
9169
- type: z.ZodLiteral<"apprentice_hours">;
9170
9216
  }, z.core.$strip>, z.ZodObject<{
9217
+ type: z.ZodEnum<{
9218
+ overtime_multiplier: "overtime_multiplier";
9219
+ }>;
9171
9220
  multiplier: z.ZodEnum<{
9172
9221
  1.5: "1.5";
9173
9222
  "2.0": "2.0";
9174
9223
  }>;
9175
- type: z.ZodLiteral<"overtime_multiplier">;
9176
- }, z.core.$strip>], "type">>>;
9177
- effective_date: z.ZodOptional<z.ZodISODate>;
9224
+ }, z.core.$strip>]>>>;
9178
9225
  }, z.core.$strip>;
9179
9226
  /**
9180
9227
  * Change a rule from an effective date forward. Omitted effect or conditions keep that part of the targeted version. When the targeted recipe changes, the resulting complete recipe applies from that coordinate across later scheduled versions; an unchanged recipe does not alter later scheduled versions. An empty conditions list makes the rule unconditional. Omit effective_from to correct the selected version from its exact existing start. A rule with an unbounded lower limit requires effective_from.
9181
9228
  */
9182
9229
  export declare const zPayRatesRuleUpdateParameters: z.ZodObject<{
9230
+ effective_from: z.ZodOptional<z.ZodISODate>;
9183
9231
  effect: z.ZodOptional<z.ZodObject<{
9184
9232
  type: z.ZodEnum<{
9185
9233
  wage_increment: "wage_increment";
@@ -9187,31 +9235,42 @@ export declare const zPayRatesRuleUpdateParameters: z.ZodObject<{
9187
9235
  }>;
9188
9236
  amount_cents: z.ZodString;
9189
9237
  }, z.core.$strip>>;
9190
- conditions: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
9238
+ conditions: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
9239
+ type: z.ZodEnum<{
9240
+ time_range: "time_range";
9241
+ }>;
9191
9242
  start_time: z.ZodString;
9192
9243
  end_time: z.ZodString;
9193
- type: z.ZodLiteral<"time_range">;
9194
9244
  }, z.core.$strip>, z.ZodObject<{
9245
+ type: z.ZodEnum<{
9246
+ days: "days";
9247
+ }>;
9195
9248
  days: z.ZodArray<z.ZodInt>;
9196
- type: z.ZodLiteral<"days">;
9197
9249
  }, z.core.$strip>, z.ZodObject<{
9250
+ type: z.ZodEnum<{
9251
+ specific_date: "specific_date";
9252
+ }>;
9198
9253
  date: z.ZodISODate;
9199
- type: z.ZodLiteral<"specific_date">;
9200
9254
  }, z.core.$strip>, z.ZodObject<{
9255
+ type: z.ZodEnum<{
9256
+ apprentice_period: "apprentice_period";
9257
+ }>;
9201
9258
  period: z.ZodInt;
9202
- type: z.ZodLiteral<"apprentice_period">;
9203
9259
  }, z.core.$strip>, z.ZodObject<{
9260
+ type: z.ZodEnum<{
9261
+ apprentice_hours: "apprentice_hours";
9262
+ }>;
9204
9263
  min_hours: z.ZodInt;
9205
9264
  max_hours: z.ZodInt;
9206
- type: z.ZodLiteral<"apprentice_hours">;
9207
9265
  }, z.core.$strip>, z.ZodObject<{
9266
+ type: z.ZodEnum<{
9267
+ overtime_multiplier: "overtime_multiplier";
9268
+ }>;
9208
9269
  multiplier: z.ZodEnum<{
9209
9270
  1.5: "1.5";
9210
9271
  "2.0": "2.0";
9211
9272
  }>;
9212
- type: z.ZodLiteral<"overtime_multiplier">;
9213
- }, z.core.$strip>], "type">>>;
9214
- effective_from: z.ZodOptional<z.ZodISODate>;
9273
+ }, z.core.$strip>]>>>;
9215
9274
  }, z.core.$strip>;
9216
9275
  /**
9217
9276
  * Parameters for moving where a pay-rate rule family's valid-time timeline begins.
@@ -9237,30 +9296,42 @@ export declare const zPayRatesRuleScheduledChangeParameters: z.ZodObject<{
9237
9296
  }>;
9238
9297
  amount_cents: z.ZodString;
9239
9298
  }, z.core.$strip>>;
9240
- conditions: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
9299
+ conditions: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
9300
+ type: z.ZodEnum<{
9301
+ time_range: "time_range";
9302
+ }>;
9241
9303
  start_time: z.ZodString;
9242
9304
  end_time: z.ZodString;
9243
- type: z.ZodLiteral<"time_range">;
9244
9305
  }, z.core.$strip>, z.ZodObject<{
9306
+ type: z.ZodEnum<{
9307
+ days: "days";
9308
+ }>;
9245
9309
  days: z.ZodArray<z.ZodInt>;
9246
- type: z.ZodLiteral<"days">;
9247
9310
  }, z.core.$strip>, z.ZodObject<{
9311
+ type: z.ZodEnum<{
9312
+ specific_date: "specific_date";
9313
+ }>;
9248
9314
  date: z.ZodISODate;
9249
- type: z.ZodLiteral<"specific_date">;
9250
9315
  }, z.core.$strip>, z.ZodObject<{
9316
+ type: z.ZodEnum<{
9317
+ apprentice_period: "apprentice_period";
9318
+ }>;
9251
9319
  period: z.ZodInt;
9252
- type: z.ZodLiteral<"apprentice_period">;
9253
9320
  }, z.core.$strip>, z.ZodObject<{
9321
+ type: z.ZodEnum<{
9322
+ apprentice_hours: "apprentice_hours";
9323
+ }>;
9254
9324
  min_hours: z.ZodInt;
9255
9325
  max_hours: z.ZodInt;
9256
- type: z.ZodLiteral<"apprentice_hours">;
9257
9326
  }, z.core.$strip>, z.ZodObject<{
9327
+ type: z.ZodEnum<{
9328
+ overtime_multiplier: "overtime_multiplier";
9329
+ }>;
9258
9330
  multiplier: z.ZodEnum<{
9259
9331
  1.5: "1.5";
9260
9332
  "2.0": "2.0";
9261
9333
  }>;
9262
- type: z.ZodLiteral<"overtime_multiplier">;
9263
- }, z.core.$strip>], "type">>>;
9334
+ }, z.core.$strip>]>>>;
9264
9335
  }, z.core.$strip>;
9265
9336
  export declare const zPayRatesRuleHistoryCorrectionObject: z.ZodObject<{
9266
9337
  pay_rates_rule_id: z.ZodString;
@@ -9616,30 +9687,102 @@ export declare const zRateRuleParameters: z.ZodObject<{
9616
9687
  }>;
9617
9688
  amount_cents: z.ZodString;
9618
9689
  }, z.core.$strip>;
9619
- conditions: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
9690
+ conditions: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
9691
+ type: z.ZodEnum<{
9692
+ time_range: "time_range";
9693
+ }>;
9620
9694
  start_time: z.ZodString;
9621
9695
  end_time: z.ZodString;
9622
- type: z.ZodLiteral<"time_range">;
9623
9696
  }, z.core.$strip>, z.ZodObject<{
9697
+ type: z.ZodEnum<{
9698
+ days: "days";
9699
+ }>;
9624
9700
  days: z.ZodArray<z.ZodInt>;
9625
- type: z.ZodLiteral<"days">;
9626
9701
  }, z.core.$strip>, z.ZodObject<{
9702
+ type: z.ZodEnum<{
9703
+ specific_date: "specific_date";
9704
+ }>;
9627
9705
  date: z.ZodISODate;
9628
- type: z.ZodLiteral<"specific_date">;
9629
9706
  }, z.core.$strip>, z.ZodObject<{
9707
+ type: z.ZodEnum<{
9708
+ apprentice_period: "apprentice_period";
9709
+ }>;
9630
9710
  period: z.ZodInt;
9631
- type: z.ZodLiteral<"apprentice_period">;
9632
9711
  }, z.core.$strip>, z.ZodObject<{
9712
+ type: z.ZodEnum<{
9713
+ apprentice_hours: "apprentice_hours";
9714
+ }>;
9633
9715
  min_hours: z.ZodInt;
9634
9716
  max_hours: z.ZodInt;
9635
- type: z.ZodLiteral<"apprentice_hours">;
9636
9717
  }, z.core.$strip>, z.ZodObject<{
9718
+ type: z.ZodEnum<{
9719
+ overtime_multiplier: "overtime_multiplier";
9720
+ }>;
9637
9721
  multiplier: z.ZodEnum<{
9638
9722
  1.5: "1.5";
9639
9723
  "2.0": "2.0";
9640
9724
  }>;
9641
- type: z.ZodLiteral<"overtime_multiplier">;
9642
- }, z.core.$strip>], "type">>>;
9725
+ }, z.core.$strip>]>>>;
9726
+ }, z.core.$strip>;
9727
+ /**
9728
+ * Create an asset item. The write API creates serial items only; assets_product_id and serial_number identify the product and serial number. `attribute_values` fills the item-level attributes of the product's category. On create you may also place the item — assets_site_id to stock it at a site, or user_id to assign it to a user (the two are mutually exclusive). performed_by_user_id is required.
9729
+ */
9730
+ export declare const zAssetsItemParameters: z.ZodObject<{
9731
+ name: z.ZodString;
9732
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9733
+ assets_product_id: z.ZodString;
9734
+ serial_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9735
+ status: z.ZodOptional<z.ZodEnum<{
9736
+ available: "available";
9737
+ assigned: "assigned";
9738
+ }>>;
9739
+ purchase_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9740
+ purchase_price_cents: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
9741
+ external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9742
+ external_system_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9743
+ attribute_values: z.ZodOptional<z.ZodArray<z.ZodObject<{
9744
+ assets_attribute_id: z.ZodString;
9745
+ value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9746
+ assets_attribute_option_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9747
+ }, z.core.$strip>>>;
9748
+ images_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
9749
+ id: z.ZodOptional<z.ZodString>;
9750
+ file: z.ZodOptional<z.ZodString>;
9751
+ _destroy: z.ZodOptional<z.ZodBoolean>;
9752
+ }, z.core.$strip>>>;
9753
+ performed_by_user_id: z.ZodString;
9754
+ assets_site_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9755
+ user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9756
+ container_item_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9757
+ assets_sub_location_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9758
+ }, z.core.$strip>;
9759
+ /**
9760
+ * Update an asset item. All item fields are optional — send only what changes — but performed_by_user_id is required to record the updater. Omitted attributes retain their existing values. `attribute_values` upserts the item-level attributes of the product's category. The serial-only fields (serial_number, status, purchase_date, purchase_price_cents, external_id, external_system_url) apply to a serial item; sending one for a bulk item answers 422 subtype_foreign_keys with an entry pointing at each such field, and nothing is written.
9761
+ */
9762
+ export declare const zAssetsItemUpdateParameters: z.ZodObject<{
9763
+ name: z.ZodOptional<z.ZodString>;
9764
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9765
+ assets_product_id: z.ZodOptional<z.ZodString>;
9766
+ serial_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9767
+ status: z.ZodOptional<z.ZodEnum<{
9768
+ available: "available";
9769
+ assigned: "assigned";
9770
+ }>>;
9771
+ purchase_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9772
+ purchase_price_cents: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
9773
+ external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9774
+ external_system_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9775
+ attribute_values: z.ZodOptional<z.ZodArray<z.ZodObject<{
9776
+ assets_attribute_id: z.ZodString;
9777
+ value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9778
+ assets_attribute_option_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9779
+ }, z.core.$strip>>>;
9780
+ images_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
9781
+ id: z.ZodOptional<z.ZodString>;
9782
+ file: z.ZodOptional<z.ZodString>;
9783
+ _destroy: z.ZodOptional<z.ZodBoolean>;
9784
+ }, z.core.$strip>>>;
9785
+ performed_by_user_id: z.ZodString;
9643
9786
  }, z.core.$strip>;
9644
9787
  /**
9645
9788
  * A vendor in the company's asset catalog — a supplier or manufacturer that products are sourced from.
@@ -9884,174 +10027,43 @@ export declare const zAssetsItemResponseObject: z.ZodObject<{
9884
10027
  bulk: "bulk";
9885
10028
  }>;
9886
10029
  serial_number: z.ZodNullable<z.ZodString>;
9887
- status: z.ZodNullable<z.ZodEnum<{
9888
- available: "available";
9889
- assigned: "assigned";
9890
- }>>;
9891
- purchase_date: z.ZodNullable<z.ZodISODateTime>;
9892
- purchase_price_cents: z.ZodNullable<z.ZodString>;
9893
- currency: z.ZodNullable<z.ZodString>;
9894
- external_id: z.ZodNullable<z.ZodString>;
9895
- external_system_url: z.ZodNullable<z.ZodString>;
9896
- container: z.ZodBoolean;
9897
- contents: z.ZodArray<z.ZodObject<{
9898
- item_id: z.ZodString;
9899
- quantity: z.ZodInt;
9900
- }, z.core.$strip>>;
9901
- containers: z.ZodArray<z.ZodObject<{
9902
- container_item_id: z.ZodString;
9903
- quantity: z.ZodInt;
9904
- }, z.core.$strip>>;
9905
- attributes: z.ZodArray<z.ZodObject<{
9906
- assets_attribute_id: z.ZodString;
9907
- value: z.ZodNullable<z.ZodString>;
9908
- assets_attribute_option_id: z.ZodNullable<z.ZodString>;
9909
- }, z.core.$strip>>;
9910
- images: z.ZodArray<z.ZodObject<{
9911
- id: z.ZodString;
9912
- file: z.ZodNullable<z.ZodObject<{
9913
- filename: z.ZodString;
9914
- content_type: z.ZodNullable<z.ZodString>;
9915
- byte_size: z.ZodInt;
9916
- url: z.ZodString;
9917
- }, z.core.$strip>>;
9918
- created_at: z.ZodISODateTime;
9919
- updated_at: z.ZodISODateTime;
9920
- }, z.core.$strip>>;
9921
- archived_at: z.ZodNullable<z.ZodISODateTime>;
9922
- created_at: z.ZodISODateTime;
9923
- updated_at: z.ZodISODateTime;
9924
- }, z.core.$strip>;
9925
- /**
9926
- * One attachment in a nested collection. Send file with a signed_id to add one; send id (with _destroy) to remove an existing one.
9927
- */
9928
- export declare const zAssetsAttachmentParameters: z.ZodObject<{
9929
- id: z.ZodOptional<z.ZodString>;
9930
- file: z.ZodOptional<z.ZodString>;
9931
- _destroy: z.ZodOptional<z.ZodBoolean>;
9932
- }, z.core.$strip>;
9933
- /**
9934
- * Create a catalog product. `type` (serial or bulk) is required and immutable. `attribute_values` upserts the product's category-attribute values.
9935
- */
9936
- export declare const zAssetsProductParameters: z.ZodObject<{
9937
- type: z.ZodEnum<{
9938
- serial: "serial";
9939
- bulk: "bulk";
9940
- }>;
9941
- name: z.ZodString;
9942
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9943
- assets_category_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9944
- upc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9945
- internal_sku: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9946
- default_minimum_quantity: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
9947
- make: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9948
- model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9949
- counted_by: z.ZodOptional<z.ZodEnum<{
9950
- each: "each";
9951
- pair: "pair";
9952
- pack: "pack";
9953
- }>>;
9954
- container: z.ZodOptional<z.ZodBoolean>;
9955
- attribute_values: z.ZodOptional<z.ZodArray<z.ZodObject<{
9956
- assets_attribute_id: z.ZodString;
9957
- value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9958
- assets_attribute_option_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9959
- }, z.core.$strip>>>;
9960
- images_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
9961
- id: z.ZodOptional<z.ZodString>;
9962
- file: z.ZodOptional<z.ZodString>;
9963
- _destroy: z.ZodOptional<z.ZodBoolean>;
9964
- }, z.core.$strip>>>;
9965
- performed_by_user_id: z.ZodString;
9966
- }, z.core.$strip>;
9967
- /**
9968
- * Update a catalog product. All fields are optional — send only what changes. `type` is immutable and `performed_by_user_id` is create-only, so neither is accepted here. `attribute_values` upserts the product's category-attribute values.
9969
- */
9970
- export declare const zAssetsProductUpdateParameters: z.ZodObject<{
9971
- name: z.ZodOptional<z.ZodString>;
9972
- description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9973
- assets_category_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9974
- upc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9975
- internal_sku: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9976
- default_minimum_quantity: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
9977
- make: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9978
- model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9979
- counted_by: z.ZodOptional<z.ZodEnum<{
9980
- each: "each";
9981
- pair: "pair";
9982
- pack: "pack";
9983
- }>>;
9984
- container: z.ZodOptional<z.ZodBoolean>;
9985
- attribute_values: z.ZodOptional<z.ZodArray<z.ZodObject<{
9986
- assets_attribute_id: z.ZodString;
9987
- value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9988
- assets_attribute_option_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9989
- }, z.core.$strip>>>;
9990
- images_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
9991
- id: z.ZodOptional<z.ZodString>;
9992
- file: z.ZodOptional<z.ZodString>;
9993
- _destroy: z.ZodOptional<z.ZodBoolean>;
9994
- }, z.core.$strip>>>;
9995
- }, z.core.$strip>;
9996
- /**
9997
- * Create an asset item. The write API creates serial items only; assets_product_id and serial_number identify the product and serial number. `attribute_values` fills the item-level attributes of the product's category. On create you may also place the item — assets_site_id to stock it at a site, or user_id to assign it to a user (the two are mutually exclusive). performed_by_user_id is required.
9998
- */
9999
- export declare const zAssetsItemParameters: z.ZodObject<{
10000
- name: z.ZodString;
10001
- description: z.ZodOptional<z.ZodString>;
10002
- assets_product_id: z.ZodString;
10003
- serial_number: z.ZodString;
10004
- status: z.ZodOptional<z.ZodEnum<{
10005
- available: "available";
10006
- assigned: "assigned";
10007
- }>>;
10008
- purchase_date: z.ZodOptional<z.ZodISODateTime>;
10009
- purchase_price_cents: z.ZodOptional<z.ZodInt>;
10010
- external_id: z.ZodOptional<z.ZodString>;
10011
- external_system_url: z.ZodOptional<z.ZodString>;
10012
- attribute_values: z.ZodOptional<z.ZodArray<z.ZodObject<{
10013
- assets_attribute_id: z.ZodString;
10014
- value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10015
- assets_attribute_option_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10016
- }, z.core.$strip>>>;
10017
- images_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
10018
- id: z.ZodOptional<z.ZodString>;
10019
- file: z.ZodOptional<z.ZodString>;
10020
- _destroy: z.ZodOptional<z.ZodBoolean>;
10021
- }, z.core.$strip>>>;
10022
- assets_site_id: z.ZodOptional<z.ZodString>;
10023
- user_id: z.ZodOptional<z.ZodString>;
10024
- container_item_id: z.ZodOptional<z.ZodString>;
10025
- assets_sub_location_id: z.ZodOptional<z.ZodString>;
10026
- performed_by_user_id: z.ZodString;
10027
- }, z.core.$strip>;
10028
- /**
10029
- * Update an asset item. All item fields are optional — send only what changes — but performed_by_user_id is required to record the updater. Omitted attributes retain their existing values. `attribute_values` upserts the item-level attributes of the product's category.
10030
- */
10031
- export declare const zAssetsItemUpdateParameters: z.ZodObject<{
10032
- name: z.ZodOptional<z.ZodString>;
10033
- description: z.ZodOptional<z.ZodString>;
10034
- assets_product_id: z.ZodOptional<z.ZodString>;
10035
- serial_number: z.ZodOptional<z.ZodString>;
10036
- status: z.ZodOptional<z.ZodEnum<{
10030
+ status: z.ZodNullable<z.ZodEnum<{
10037
10031
  available: "available";
10038
10032
  assigned: "assigned";
10039
10033
  }>>;
10040
- purchase_date: z.ZodOptional<z.ZodISODateTime>;
10041
- purchase_price_cents: z.ZodOptional<z.ZodInt>;
10042
- external_id: z.ZodOptional<z.ZodString>;
10043
- external_system_url: z.ZodOptional<z.ZodString>;
10044
- attribute_values: z.ZodOptional<z.ZodArray<z.ZodObject<{
10034
+ purchase_date: z.ZodNullable<z.ZodISODateTime>;
10035
+ purchase_price_cents: z.ZodNullable<z.ZodString>;
10036
+ currency: z.ZodNullable<z.ZodString>;
10037
+ external_id: z.ZodNullable<z.ZodString>;
10038
+ external_system_url: z.ZodNullable<z.ZodString>;
10039
+ container: z.ZodBoolean;
10040
+ contents: z.ZodArray<z.ZodObject<{
10041
+ item_id: z.ZodString;
10042
+ quantity: z.ZodInt;
10043
+ }, z.core.$strip>>;
10044
+ containers: z.ZodArray<z.ZodObject<{
10045
+ container_item_id: z.ZodString;
10046
+ quantity: z.ZodInt;
10047
+ }, z.core.$strip>>;
10048
+ attributes: z.ZodArray<z.ZodObject<{
10045
10049
  assets_attribute_id: z.ZodString;
10046
- value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10047
- assets_attribute_option_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10048
- }, z.core.$strip>>>;
10049
- images_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
10050
- id: z.ZodOptional<z.ZodString>;
10051
- file: z.ZodOptional<z.ZodString>;
10052
- _destroy: z.ZodOptional<z.ZodBoolean>;
10053
- }, z.core.$strip>>>;
10054
- performed_by_user_id: z.ZodString;
10050
+ value: z.ZodNullable<z.ZodString>;
10051
+ assets_attribute_option_id: z.ZodNullable<z.ZodString>;
10052
+ }, z.core.$strip>>;
10053
+ images: z.ZodArray<z.ZodObject<{
10054
+ id: z.ZodString;
10055
+ file: z.ZodNullable<z.ZodObject<{
10056
+ filename: z.ZodString;
10057
+ content_type: z.ZodNullable<z.ZodString>;
10058
+ byte_size: z.ZodInt;
10059
+ url: z.ZodString;
10060
+ }, z.core.$strip>>;
10061
+ created_at: z.ZodISODateTime;
10062
+ updated_at: z.ZodISODateTime;
10063
+ }, z.core.$strip>>;
10064
+ archived_at: z.ZodNullable<z.ZodISODateTime>;
10065
+ created_at: z.ZodISODateTime;
10066
+ updated_at: z.ZodISODateTime;
10055
10067
  }, z.core.$strip>;
10056
10068
  /**
10057
10069
  * A file attached to an asset item — a document such as a manual, warranty, or certificate. Uploaded through the direct-upload flow and optionally marked as a certified copy.
@@ -10498,12 +10510,12 @@ export declare const zAssetsServiceEventParameters: z.ZodObject<{
10498
10510
  notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10499
10511
  performed_on: z.ZodISODate;
10500
10512
  assets_service_schedule_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10501
- performed_by_user_id: z.ZodString;
10502
10513
  attachments_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
10503
10514
  id: z.ZodOptional<z.ZodString>;
10504
10515
  file: z.ZodOptional<z.ZodString>;
10505
10516
  _destroy: z.ZodOptional<z.ZodBoolean>;
10506
10517
  }, z.core.$strip>>>;
10518
+ performed_by_user_id: z.ZodString;
10507
10519
  }, z.core.$strip>;
10508
10520
  /**
10509
10521
  * Update a service event. Event fields are optional — send only what changes — but performed_by_user_id is required to record the updater. A linked schedule dictates kind, and changing or removing the link recomputes affected due dates.
@@ -10517,12 +10529,12 @@ export declare const zAssetsServiceEventUpdateParameters: z.ZodObject<{
10517
10529
  notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10518
10530
  performed_on: z.ZodOptional<z.ZodISODate>;
10519
10531
  assets_service_schedule_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10520
- performed_by_user_id: z.ZodString;
10521
10532
  attachments_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
10522
10533
  id: z.ZodOptional<z.ZodString>;
10523
10534
  file: z.ZodOptional<z.ZodString>;
10524
10535
  _destroy: z.ZodOptional<z.ZodBoolean>;
10525
10536
  }, z.core.$strip>>>;
10537
+ performed_by_user_id: z.ZodString;
10526
10538
  }, z.core.$strip>;
10527
10539
  /**
10528
10540
  * A product-level service cadence that seeds and syncs the matching schedules on that product's items. Changing its defining fields (name, kind, interval) reconciles linked item schedules in the background.
@@ -12115,11 +12127,11 @@ export declare const zCreateCategoryBody: z.ZodObject<{
12115
12127
  parent_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12116
12128
  category_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
12117
12129
  id: z.ZodOptional<z.ZodString>;
12118
- assets_attribute_id: z.ZodString;
12119
- fillable_on: z.ZodEnum<{
12130
+ assets_attribute_id: z.ZodOptional<z.ZodString>;
12131
+ fillable_on: z.ZodOptional<z.ZodEnum<{
12120
12132
  product: "product";
12121
12133
  item: "item";
12122
- }>;
12134
+ }>>;
12123
12135
  required: z.ZodOptional<z.ZodBoolean>;
12124
12136
  position: z.ZodOptional<z.ZodInt>;
12125
12137
  _destroy: z.ZodOptional<z.ZodBoolean>;
@@ -12202,11 +12214,11 @@ export declare const zUpdateCategoryBody: z.ZodObject<{
12202
12214
  parent_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12203
12215
  category_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
12204
12216
  id: z.ZodOptional<z.ZodString>;
12205
- assets_attribute_id: z.ZodString;
12206
- fillable_on: z.ZodEnum<{
12217
+ assets_attribute_id: z.ZodOptional<z.ZodString>;
12218
+ fillable_on: z.ZodOptional<z.ZodEnum<{
12207
12219
  product: "product";
12208
12220
  item: "item";
12209
- }>;
12221
+ }>>;
12210
12222
  required: z.ZodOptional<z.ZodBoolean>;
12211
12223
  position: z.ZodOptional<z.ZodInt>;
12212
12224
  _destroy: z.ZodOptional<z.ZodBoolean>;
@@ -12829,17 +12841,17 @@ export declare const zListItemsResponse: z.ZodObject<{
12829
12841
  }, z.core.$strip>;
12830
12842
  export declare const zCreateItemBody: z.ZodObject<{
12831
12843
  name: z.ZodString;
12832
- description: z.ZodOptional<z.ZodString>;
12844
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12833
12845
  assets_product_id: z.ZodString;
12834
- serial_number: z.ZodString;
12846
+ serial_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12835
12847
  status: z.ZodOptional<z.ZodEnum<{
12836
12848
  available: "available";
12837
12849
  assigned: "assigned";
12838
12850
  }>>;
12839
- purchase_date: z.ZodOptional<z.ZodISODateTime>;
12840
- purchase_price_cents: z.ZodOptional<z.ZodInt>;
12841
- external_id: z.ZodOptional<z.ZodString>;
12842
- external_system_url: z.ZodOptional<z.ZodString>;
12851
+ purchase_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12852
+ purchase_price_cents: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
12853
+ external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12854
+ external_system_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12843
12855
  attribute_values: z.ZodOptional<z.ZodArray<z.ZodObject<{
12844
12856
  assets_attribute_id: z.ZodString;
12845
12857
  value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -12850,11 +12862,11 @@ export declare const zCreateItemBody: z.ZodObject<{
12850
12862
  file: z.ZodOptional<z.ZodString>;
12851
12863
  _destroy: z.ZodOptional<z.ZodBoolean>;
12852
12864
  }, z.core.$strip>>>;
12853
- assets_site_id: z.ZodOptional<z.ZodString>;
12854
- user_id: z.ZodOptional<z.ZodString>;
12855
- container_item_id: z.ZodOptional<z.ZodString>;
12856
- assets_sub_location_id: z.ZodOptional<z.ZodString>;
12857
12865
  performed_by_user_id: z.ZodString;
12866
+ assets_site_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12867
+ user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12868
+ container_item_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12869
+ assets_sub_location_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12858
12870
  }, z.core.$strip>;
12859
12871
  /**
12860
12872
  * Created with an image
@@ -13020,17 +13032,17 @@ export declare const zGetItemResponse: z.ZodObject<{
13020
13032
  }, z.core.$strip>;
13021
13033
  export declare const zUpdateItemBody: z.ZodObject<{
13022
13034
  name: z.ZodOptional<z.ZodString>;
13023
- description: z.ZodOptional<z.ZodString>;
13035
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13024
13036
  assets_product_id: z.ZodOptional<z.ZodString>;
13025
- serial_number: z.ZodOptional<z.ZodString>;
13037
+ serial_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13026
13038
  status: z.ZodOptional<z.ZodEnum<{
13027
13039
  available: "available";
13028
13040
  assigned: "assigned";
13029
13041
  }>>;
13030
- purchase_date: z.ZodOptional<z.ZodISODateTime>;
13031
- purchase_price_cents: z.ZodOptional<z.ZodInt>;
13032
- external_id: z.ZodOptional<z.ZodString>;
13033
- external_system_url: z.ZodOptional<z.ZodString>;
13042
+ purchase_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13043
+ purchase_price_cents: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
13044
+ external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13045
+ external_system_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13034
13046
  attribute_values: z.ZodOptional<z.ZodArray<z.ZodObject<{
13035
13047
  assets_attribute_id: z.ZodString;
13036
13048
  value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -13481,12 +13493,12 @@ export declare const zCreateServiceEventBody: z.ZodObject<{
13481
13493
  notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13482
13494
  performed_on: z.ZodISODate;
13483
13495
  assets_service_schedule_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13484
- performed_by_user_id: z.ZodString;
13485
13496
  attachments_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
13486
13497
  id: z.ZodOptional<z.ZodString>;
13487
13498
  file: z.ZodOptional<z.ZodString>;
13488
13499
  _destroy: z.ZodOptional<z.ZodBoolean>;
13489
13500
  }, z.core.$strip>>>;
13501
+ performed_by_user_id: z.ZodString;
13490
13502
  }, z.core.$strip>;
13491
13503
  export declare const zCreateServiceEventPath: z.ZodObject<{
13492
13504
  item_id: z.ZodString;
@@ -13598,12 +13610,12 @@ export declare const zUpdateServiceEventBody: z.ZodObject<{
13598
13610
  notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13599
13611
  performed_on: z.ZodOptional<z.ZodISODate>;
13600
13612
  assets_service_schedule_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13601
- performed_by_user_id: z.ZodString;
13602
13613
  attachments_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
13603
13614
  id: z.ZodOptional<z.ZodString>;
13604
13615
  file: z.ZodOptional<z.ZodString>;
13605
13616
  _destroy: z.ZodOptional<z.ZodBoolean>;
13606
13617
  }, z.core.$strip>>>;
13618
+ performed_by_user_id: z.ZodString;
13607
13619
  }, z.core.$strip>;
13608
13620
  export declare const zUpdateServiceEventPath: z.ZodObject<{
13609
13621
  item_id: z.ZodString;
@@ -14149,23 +14161,19 @@ export declare const zListProductsResponse: z.ZodObject<{
14149
14161
  }, z.core.$strip>>;
14150
14162
  }, z.core.$strip>;
14151
14163
  export declare const zCreateProductBody: z.ZodObject<{
14152
- type: z.ZodEnum<{
14153
- serial: "serial";
14154
- bulk: "bulk";
14155
- }>;
14156
14164
  name: z.ZodString;
14157
14165
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14158
- assets_category_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14166
+ make: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14167
+ model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14159
14168
  upc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14160
14169
  internal_sku: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14161
14170
  default_minimum_quantity: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
14162
- make: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14163
- model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14164
14171
  counted_by: z.ZodOptional<z.ZodEnum<{
14165
14172
  each: "each";
14166
14173
  pair: "pair";
14167
14174
  pack: "pack";
14168
14175
  }>>;
14176
+ assets_category_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14169
14177
  container: z.ZodOptional<z.ZodBoolean>;
14170
14178
  attribute_values: z.ZodOptional<z.ZodArray<z.ZodObject<{
14171
14179
  assets_attribute_id: z.ZodString;
@@ -14177,6 +14185,10 @@ export declare const zCreateProductBody: z.ZodObject<{
14177
14185
  file: z.ZodOptional<z.ZodString>;
14178
14186
  _destroy: z.ZodOptional<z.ZodBoolean>;
14179
14187
  }, z.core.$strip>>>;
14188
+ type: z.ZodEnum<{
14189
+ serial: "serial";
14190
+ bulk: "bulk";
14191
+ }>;
14180
14192
  performed_by_user_id: z.ZodString;
14181
14193
  }, z.core.$strip>;
14182
14194
  /**
@@ -14308,17 +14320,17 @@ export declare const zGetProductResponse: z.ZodObject<{
14308
14320
  export declare const zUpdateProductBody: z.ZodObject<{
14309
14321
  name: z.ZodOptional<z.ZodString>;
14310
14322
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14311
- assets_category_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14323
+ make: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14324
+ model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14312
14325
  upc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14313
14326
  internal_sku: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14314
14327
  default_minimum_quantity: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
14315
- make: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14316
- model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14317
14328
  counted_by: z.ZodOptional<z.ZodEnum<{
14318
14329
  each: "each";
14319
14330
  pair: "pair";
14320
14331
  pack: "pack";
14321
14332
  }>>;
14333
+ assets_category_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14322
14334
  container: z.ZodOptional<z.ZodBoolean>;
14323
14335
  attribute_values: z.ZodOptional<z.ZodArray<z.ZodObject<{
14324
14336
  assets_attribute_id: z.ZodString;
@@ -17206,6 +17218,16 @@ export declare const zListCriteriaResponse: z.ZodObject<{
17206
17218
  number: z.ZodNullable<z.ZodString>;
17207
17219
  body: z.ZodNullable<z.ZodString>;
17208
17220
  evidence_note: z.ZodNullable<z.ZodString>;
17221
+ assessment_method: z.ZodNullable<z.ZodEnum<{
17222
+ direct_observation: "direct_observation";
17223
+ simulation: "simulation";
17224
+ oral_questioning: "oral_questioning";
17225
+ written_questioning: "written_questioning";
17226
+ products_of_work: "products_of_work";
17227
+ recognized_prior_learning: "recognized_prior_learning";
17228
+ witness_testimony: "witness_testimony";
17229
+ other: "other";
17230
+ }>>;
17209
17231
  created_at: z.ZodISODateTime;
17210
17232
  updated_at: z.ZodISODateTime;
17211
17233
  }, z.core.$strip>>;
@@ -17214,6 +17236,16 @@ export declare const zCreateCriterionBody: z.ZodObject<{
17214
17236
  number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17215
17237
  body: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17216
17238
  evidence_note: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17239
+ assessment_method: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
17240
+ direct_observation: "direct_observation";
17241
+ simulation: "simulation";
17242
+ oral_questioning: "oral_questioning";
17243
+ written_questioning: "written_questioning";
17244
+ products_of_work: "products_of_work";
17245
+ recognized_prior_learning: "recognized_prior_learning";
17246
+ witness_testimony: "witness_testimony";
17247
+ other: "other";
17248
+ }>>>;
17217
17249
  }, z.core.$strip>;
17218
17250
  export declare const zCreateCriterionPath: z.ZodObject<{
17219
17251
  standard_id: z.ZodString;
@@ -17231,6 +17263,16 @@ export declare const zCreateCriterionResponse: z.ZodObject<{
17231
17263
  number: z.ZodNullable<z.ZodString>;
17232
17264
  body: z.ZodNullable<z.ZodString>;
17233
17265
  evidence_note: z.ZodNullable<z.ZodString>;
17266
+ assessment_method: z.ZodNullable<z.ZodEnum<{
17267
+ direct_observation: "direct_observation";
17268
+ simulation: "simulation";
17269
+ oral_questioning: "oral_questioning";
17270
+ written_questioning: "written_questioning";
17271
+ products_of_work: "products_of_work";
17272
+ recognized_prior_learning: "recognized_prior_learning";
17273
+ witness_testimony: "witness_testimony";
17274
+ other: "other";
17275
+ }>>;
17234
17276
  created_at: z.ZodISODateTime;
17235
17277
  updated_at: z.ZodISODateTime;
17236
17278
  }, z.core.$strip>;
@@ -17262,6 +17304,16 @@ export declare const zGetCriterionResponse: z.ZodObject<{
17262
17304
  number: z.ZodNullable<z.ZodString>;
17263
17305
  body: z.ZodNullable<z.ZodString>;
17264
17306
  evidence_note: z.ZodNullable<z.ZodString>;
17307
+ assessment_method: z.ZodNullable<z.ZodEnum<{
17308
+ direct_observation: "direct_observation";
17309
+ simulation: "simulation";
17310
+ oral_questioning: "oral_questioning";
17311
+ written_questioning: "written_questioning";
17312
+ products_of_work: "products_of_work";
17313
+ recognized_prior_learning: "recognized_prior_learning";
17314
+ witness_testimony: "witness_testimony";
17315
+ other: "other";
17316
+ }>>;
17265
17317
  created_at: z.ZodISODateTime;
17266
17318
  updated_at: z.ZodISODateTime;
17267
17319
  }, z.core.$strip>;
@@ -17269,6 +17321,16 @@ export declare const zUpdateCriterionBody: z.ZodObject<{
17269
17321
  number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17270
17322
  body: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17271
17323
  evidence_note: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17324
+ assessment_method: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
17325
+ direct_observation: "direct_observation";
17326
+ simulation: "simulation";
17327
+ oral_questioning: "oral_questioning";
17328
+ written_questioning: "written_questioning";
17329
+ products_of_work: "products_of_work";
17330
+ recognized_prior_learning: "recognized_prior_learning";
17331
+ witness_testimony: "witness_testimony";
17332
+ other: "other";
17333
+ }>>>;
17272
17334
  }, z.core.$strip>;
17273
17335
  export declare const zUpdateCriterionPath: z.ZodObject<{
17274
17336
  standard_id: z.ZodString;
@@ -17287,6 +17349,16 @@ export declare const zUpdateCriterionResponse: z.ZodObject<{
17287
17349
  number: z.ZodNullable<z.ZodString>;
17288
17350
  body: z.ZodNullable<z.ZodString>;
17289
17351
  evidence_note: z.ZodNullable<z.ZodString>;
17352
+ assessment_method: z.ZodNullable<z.ZodEnum<{
17353
+ direct_observation: "direct_observation";
17354
+ simulation: "simulation";
17355
+ oral_questioning: "oral_questioning";
17356
+ written_questioning: "written_questioning";
17357
+ products_of_work: "products_of_work";
17358
+ recognized_prior_learning: "recognized_prior_learning";
17359
+ witness_testimony: "witness_testimony";
17360
+ other: "other";
17361
+ }>>;
17290
17362
  created_at: z.ZodISODateTime;
17291
17363
  updated_at: z.ZodISODateTime;
17292
17364
  }, z.core.$strip>;
@@ -17313,6 +17385,16 @@ export declare const zMoveCompetencyCriterionResponse: z.ZodObject<{
17313
17385
  number: z.ZodNullable<z.ZodString>;
17314
17386
  body: z.ZodNullable<z.ZodString>;
17315
17387
  evidence_note: z.ZodNullable<z.ZodString>;
17388
+ assessment_method: z.ZodNullable<z.ZodEnum<{
17389
+ direct_observation: "direct_observation";
17390
+ simulation: "simulation";
17391
+ oral_questioning: "oral_questioning";
17392
+ written_questioning: "written_questioning";
17393
+ products_of_work: "products_of_work";
17394
+ recognized_prior_learning: "recognized_prior_learning";
17395
+ witness_testimony: "witness_testimony";
17396
+ other: "other";
17397
+ }>>;
17316
17398
  created_at: z.ZodISODateTime;
17317
17399
  updated_at: z.ZodISODateTime;
17318
17400
  }, z.core.$strip>;
@@ -19208,30 +19290,42 @@ export declare const zCreateRateRuleBody: z.ZodObject<{
19208
19290
  }>;
19209
19291
  amount_cents: z.ZodString;
19210
19292
  }, z.core.$strip>;
19211
- conditions: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
19293
+ conditions: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
19294
+ type: z.ZodEnum<{
19295
+ time_range: "time_range";
19296
+ }>;
19212
19297
  start_time: z.ZodString;
19213
19298
  end_time: z.ZodString;
19214
- type: z.ZodLiteral<"time_range">;
19215
19299
  }, z.core.$strip>, z.ZodObject<{
19300
+ type: z.ZodEnum<{
19301
+ days: "days";
19302
+ }>;
19216
19303
  days: z.ZodArray<z.ZodInt>;
19217
- type: z.ZodLiteral<"days">;
19218
19304
  }, z.core.$strip>, z.ZodObject<{
19305
+ type: z.ZodEnum<{
19306
+ specific_date: "specific_date";
19307
+ }>;
19219
19308
  date: z.ZodISODate;
19220
- type: z.ZodLiteral<"specific_date">;
19221
19309
  }, z.core.$strip>, z.ZodObject<{
19310
+ type: z.ZodEnum<{
19311
+ apprentice_period: "apprentice_period";
19312
+ }>;
19222
19313
  period: z.ZodInt;
19223
- type: z.ZodLiteral<"apprentice_period">;
19224
19314
  }, z.core.$strip>, z.ZodObject<{
19315
+ type: z.ZodEnum<{
19316
+ apprentice_hours: "apprentice_hours";
19317
+ }>;
19225
19318
  min_hours: z.ZodInt;
19226
19319
  max_hours: z.ZodInt;
19227
- type: z.ZodLiteral<"apprentice_hours">;
19228
19320
  }, z.core.$strip>, z.ZodObject<{
19321
+ type: z.ZodEnum<{
19322
+ overtime_multiplier: "overtime_multiplier";
19323
+ }>;
19229
19324
  multiplier: z.ZodEnum<{
19230
19325
  1.5: "1.5";
19231
19326
  "2.0": "2.0";
19232
19327
  }>;
19233
- type: z.ZodLiteral<"overtime_multiplier">;
19234
- }, z.core.$strip>], "type">>>;
19328
+ }, z.core.$strip>]>>>;
19235
19329
  }, z.core.$strip>;
19236
19330
  export declare const zCreateRateRulePath: z.ZodObject<{
19237
19331
  job_id: z.ZodString;
@@ -22450,30 +22544,42 @@ export declare const zSchedulePayRateRuleChangeBody: z.ZodObject<{
22450
22544
  }>;
22451
22545
  amount_cents: z.ZodString;
22452
22546
  }, z.core.$strip>>;
22453
- conditions: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
22547
+ conditions: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
22548
+ type: z.ZodEnum<{
22549
+ time_range: "time_range";
22550
+ }>;
22454
22551
  start_time: z.ZodString;
22455
22552
  end_time: z.ZodString;
22456
- type: z.ZodLiteral<"time_range">;
22457
22553
  }, z.core.$strip>, z.ZodObject<{
22554
+ type: z.ZodEnum<{
22555
+ days: "days";
22556
+ }>;
22458
22557
  days: z.ZodArray<z.ZodInt>;
22459
- type: z.ZodLiteral<"days">;
22460
22558
  }, z.core.$strip>, z.ZodObject<{
22559
+ type: z.ZodEnum<{
22560
+ specific_date: "specific_date";
22561
+ }>;
22461
22562
  date: z.ZodISODate;
22462
- type: z.ZodLiteral<"specific_date">;
22463
22563
  }, z.core.$strip>, z.ZodObject<{
22564
+ type: z.ZodEnum<{
22565
+ apprentice_period: "apprentice_period";
22566
+ }>;
22464
22567
  period: z.ZodInt;
22465
- type: z.ZodLiteral<"apprentice_period">;
22466
22568
  }, z.core.$strip>, z.ZodObject<{
22569
+ type: z.ZodEnum<{
22570
+ apprentice_hours: "apprentice_hours";
22571
+ }>;
22467
22572
  min_hours: z.ZodInt;
22468
22573
  max_hours: z.ZodInt;
22469
- type: z.ZodLiteral<"apprentice_hours">;
22470
22574
  }, z.core.$strip>, z.ZodObject<{
22575
+ type: z.ZodEnum<{
22576
+ overtime_multiplier: "overtime_multiplier";
22577
+ }>;
22471
22578
  multiplier: z.ZodEnum<{
22472
22579
  1.5: "1.5";
22473
22580
  "2.0": "2.0";
22474
22581
  }>;
22475
- type: z.ZodLiteral<"overtime_multiplier">;
22476
- }, z.core.$strip>], "type">>>;
22582
+ }, z.core.$strip>]>>>;
22477
22583
  }, z.core.$strip>;
22478
22584
  export declare const zSchedulePayRateRuleChangeHeaders: z.ZodObject<{
22479
22585
  'If-Match': z.ZodString;
@@ -22700,6 +22806,7 @@ export declare const zListPayRateRulesResponse: z.ZodObject<{
22700
22806
  }, z.core.$strip>>;
22701
22807
  }, z.core.$strip>;
22702
22808
  export declare const zCreatePayRateRuleBody: z.ZodObject<{
22809
+ effective_date: z.ZodOptional<z.ZodISODate>;
22703
22810
  effect: z.ZodObject<{
22704
22811
  type: z.ZodEnum<{
22705
22812
  wage_increment: "wage_increment";
@@ -22707,31 +22814,42 @@ export declare const zCreatePayRateRuleBody: z.ZodObject<{
22707
22814
  }>;
22708
22815
  amount_cents: z.ZodString;
22709
22816
  }, z.core.$strip>;
22710
- conditions: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
22817
+ conditions: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
22818
+ type: z.ZodEnum<{
22819
+ time_range: "time_range";
22820
+ }>;
22711
22821
  start_time: z.ZodString;
22712
22822
  end_time: z.ZodString;
22713
- type: z.ZodLiteral<"time_range">;
22714
22823
  }, z.core.$strip>, z.ZodObject<{
22824
+ type: z.ZodEnum<{
22825
+ days: "days";
22826
+ }>;
22715
22827
  days: z.ZodArray<z.ZodInt>;
22716
- type: z.ZodLiteral<"days">;
22717
22828
  }, z.core.$strip>, z.ZodObject<{
22829
+ type: z.ZodEnum<{
22830
+ specific_date: "specific_date";
22831
+ }>;
22718
22832
  date: z.ZodISODate;
22719
- type: z.ZodLiteral<"specific_date">;
22720
22833
  }, z.core.$strip>, z.ZodObject<{
22834
+ type: z.ZodEnum<{
22835
+ apprentice_period: "apprentice_period";
22836
+ }>;
22721
22837
  period: z.ZodInt;
22722
- type: z.ZodLiteral<"apprentice_period">;
22723
22838
  }, z.core.$strip>, z.ZodObject<{
22839
+ type: z.ZodEnum<{
22840
+ apprentice_hours: "apprentice_hours";
22841
+ }>;
22724
22842
  min_hours: z.ZodInt;
22725
22843
  max_hours: z.ZodInt;
22726
- type: z.ZodLiteral<"apprentice_hours">;
22727
22844
  }, z.core.$strip>, z.ZodObject<{
22845
+ type: z.ZodEnum<{
22846
+ overtime_multiplier: "overtime_multiplier";
22847
+ }>;
22728
22848
  multiplier: z.ZodEnum<{
22729
22849
  1.5: "1.5";
22730
22850
  "2.0": "2.0";
22731
22851
  }>;
22732
- type: z.ZodLiteral<"overtime_multiplier">;
22733
- }, z.core.$strip>], "type">>>;
22734
- effective_date: z.ZodOptional<z.ZodISODate>;
22852
+ }, z.core.$strip>]>>>;
22735
22853
  }, z.core.$strip>;
22736
22854
  export declare const zCreatePayRateRulePath: z.ZodObject<{
22737
22855
  rule_package_id: z.ZodString;
@@ -22880,6 +22998,7 @@ export declare const zGetPayRateRuleResponse: z.ZodObject<{
22880
22998
  updated_at: z.ZodISODateTime;
22881
22999
  }, z.core.$strip>;
22882
23000
  export declare const zUpdatePayRateRuleBody: z.ZodObject<{
23001
+ effective_from: z.ZodOptional<z.ZodISODate>;
22883
23002
  effect: z.ZodOptional<z.ZodObject<{
22884
23003
  type: z.ZodEnum<{
22885
23004
  wage_increment: "wage_increment";
@@ -22887,31 +23006,42 @@ export declare const zUpdatePayRateRuleBody: z.ZodObject<{
22887
23006
  }>;
22888
23007
  amount_cents: z.ZodString;
22889
23008
  }, z.core.$strip>>;
22890
- conditions: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
23009
+ conditions: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
23010
+ type: z.ZodEnum<{
23011
+ time_range: "time_range";
23012
+ }>;
22891
23013
  start_time: z.ZodString;
22892
23014
  end_time: z.ZodString;
22893
- type: z.ZodLiteral<"time_range">;
22894
23015
  }, z.core.$strip>, z.ZodObject<{
23016
+ type: z.ZodEnum<{
23017
+ days: "days";
23018
+ }>;
22895
23019
  days: z.ZodArray<z.ZodInt>;
22896
- type: z.ZodLiteral<"days">;
22897
23020
  }, z.core.$strip>, z.ZodObject<{
23021
+ type: z.ZodEnum<{
23022
+ specific_date: "specific_date";
23023
+ }>;
22898
23024
  date: z.ZodISODate;
22899
- type: z.ZodLiteral<"specific_date">;
22900
23025
  }, z.core.$strip>, z.ZodObject<{
23026
+ type: z.ZodEnum<{
23027
+ apprentice_period: "apprentice_period";
23028
+ }>;
22901
23029
  period: z.ZodInt;
22902
- type: z.ZodLiteral<"apprentice_period">;
22903
23030
  }, z.core.$strip>, z.ZodObject<{
23031
+ type: z.ZodEnum<{
23032
+ apprentice_hours: "apprentice_hours";
23033
+ }>;
22904
23034
  min_hours: z.ZodInt;
22905
23035
  max_hours: z.ZodInt;
22906
- type: z.ZodLiteral<"apprentice_hours">;
22907
23036
  }, z.core.$strip>, z.ZodObject<{
23037
+ type: z.ZodEnum<{
23038
+ overtime_multiplier: "overtime_multiplier";
23039
+ }>;
22908
23040
  multiplier: z.ZodEnum<{
22909
23041
  1.5: "1.5";
22910
23042
  "2.0": "2.0";
22911
23043
  }>;
22912
- type: z.ZodLiteral<"overtime_multiplier">;
22913
- }, z.core.$strip>], "type">>>;
22914
- effective_from: z.ZodOptional<z.ZodISODate>;
23044
+ }, z.core.$strip>]>>>;
22915
23045
  }, z.core.$strip>;
22916
23046
  export declare const zUpdatePayRateRuleHeaders: z.ZodObject<{
22917
23047
  'If-Match': z.ZodString;
@@ -25789,27 +25919,17 @@ export declare const zListCompletionsResponse: z.ZodObject<{
25789
25919
  completable_type: z.ZodLiteral<"Production::QuantityCompletion">;
25790
25920
  }, z.core.$strip>], "completable_type">>;
25791
25921
  }, z.core.$strip>;
25792
- export declare const zCreateCompletionBody: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
25922
+ export declare const zCreateCompletionBody: z.ZodObject<{
25793
25923
  production_job_scope_price_id: z.ZodString;
25794
25924
  performed_by_user_id: z.ZodString;
25795
25925
  notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25796
25926
  work_date: z.ZodOptional<z.ZodISODate>;
25797
25927
  position_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
25798
- }, z.core.$strip>, z.ZodObject<{
25799
25928
  completable_attributes: z.ZodOptional<z.ZodObject<{
25800
25929
  feature_id: z.ZodOptional<z.ZodString>;
25801
- }, z.core.$strip>>;
25802
- }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
25803
- production_job_scope_price_id: z.ZodString;
25804
- performed_by_user_id: z.ZodString;
25805
- notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25806
- work_date: z.ZodOptional<z.ZodISODate>;
25807
- position_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
25808
- }, z.core.$strip>, z.ZodObject<{
25809
- completable_attributes: z.ZodOptional<z.ZodObject<{
25810
25930
  quantity_completed: z.ZodOptional<z.ZodInt>;
25811
25931
  }, z.core.$strip>>;
25812
- }, z.core.$strip>>]>;
25932
+ }, z.core.$strip>;
25813
25933
  /**
25814
25934
  * Created
25815
25935
  */
@@ -26166,30 +26286,42 @@ export declare const zCreateProjectWageDeterminationRateRuleBody: z.ZodObject<{
26166
26286
  }>;
26167
26287
  amount_cents: z.ZodString;
26168
26288
  }, z.core.$strip>;
26169
- conditions: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
26289
+ conditions: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
26290
+ type: z.ZodEnum<{
26291
+ time_range: "time_range";
26292
+ }>;
26170
26293
  start_time: z.ZodString;
26171
26294
  end_time: z.ZodString;
26172
- type: z.ZodLiteral<"time_range">;
26173
26295
  }, z.core.$strip>, z.ZodObject<{
26296
+ type: z.ZodEnum<{
26297
+ days: "days";
26298
+ }>;
26174
26299
  days: z.ZodArray<z.ZodInt>;
26175
- type: z.ZodLiteral<"days">;
26176
26300
  }, z.core.$strip>, z.ZodObject<{
26301
+ type: z.ZodEnum<{
26302
+ specific_date: "specific_date";
26303
+ }>;
26177
26304
  date: z.ZodISODate;
26178
- type: z.ZodLiteral<"specific_date">;
26179
26305
  }, z.core.$strip>, z.ZodObject<{
26306
+ type: z.ZodEnum<{
26307
+ apprentice_period: "apprentice_period";
26308
+ }>;
26180
26309
  period: z.ZodInt;
26181
- type: z.ZodLiteral<"apprentice_period">;
26182
26310
  }, z.core.$strip>, z.ZodObject<{
26311
+ type: z.ZodEnum<{
26312
+ apprentice_hours: "apprentice_hours";
26313
+ }>;
26183
26314
  min_hours: z.ZodInt;
26184
26315
  max_hours: z.ZodInt;
26185
- type: z.ZodLiteral<"apprentice_hours">;
26186
26316
  }, z.core.$strip>, z.ZodObject<{
26317
+ type: z.ZodEnum<{
26318
+ overtime_multiplier: "overtime_multiplier";
26319
+ }>;
26187
26320
  multiplier: z.ZodEnum<{
26188
26321
  1.5: "1.5";
26189
26322
  "2.0": "2.0";
26190
26323
  }>;
26191
- type: z.ZodLiteral<"overtime_multiplier">;
26192
- }, z.core.$strip>], "type">>>;
26324
+ }, z.core.$strip>]>>>;
26193
26325
  }, z.core.$strip>;
26194
26326
  export declare const zCreateProjectWageDeterminationRateRulePath: z.ZodObject<{
26195
26327
  project_id: z.ZodString;