@dsptch-work/api-client 0.49.0 → 0.51.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.
@@ -4514,6 +4514,9 @@ export declare const zProjectResponseObject: z.ZodObject<{
4514
4514
  id: z.ZodString;
4515
4515
  name: z.ZodString;
4516
4516
  }, z.core.$strip>>;
4517
+ project_address: z.ZodNullable<z.ZodObject<{
4518
+ label: z.ZodString;
4519
+ }, z.core.$strip>>;
4517
4520
  federal_pwa_mode: z.ZodEnum<{
4518
4521
  none: "none";
4519
4522
  all: "all";
@@ -4572,9 +4575,23 @@ export declare const zProjectParameters: z.ZodObject<{
4572
4575
  parent_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4573
4576
  participating_company_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
4574
4577
  manager_user_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
4578
+ project_address_attributes: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4579
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4580
+ sub_address_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4581
+ address_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4582
+ neighborhood: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4583
+ municipality: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4584
+ sub_region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4585
+ region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4586
+ postal_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4587
+ country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4588
+ timezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4589
+ verified: z.ZodOptional<z.ZodBoolean>;
4590
+ label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4591
+ }, z.core.$strip>>>;
4575
4592
  start_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
4576
4593
  end_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
4577
- tz_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4594
+ tz_name: z.ZodOptional<z.ZodString>;
4578
4595
  billing_start_day: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
4579
4596
  federal_pwa_mode: z.ZodOptional<z.ZodEnum<{
4580
4597
  none: "none";
@@ -4613,9 +4630,23 @@ export declare const zProjectUpdateParameters: z.ZodObject<{
4613
4630
  parent_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4614
4631
  participating_company_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
4615
4632
  manager_user_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
4633
+ project_address_attributes: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4634
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4635
+ sub_address_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4636
+ address_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4637
+ neighborhood: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4638
+ municipality: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4639
+ sub_region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4640
+ region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4641
+ postal_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4642
+ country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4643
+ timezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4644
+ verified: z.ZodOptional<z.ZodBoolean>;
4645
+ label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4646
+ }, z.core.$strip>>>;
4616
4647
  start_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
4617
4648
  end_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
4618
- tz_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4649
+ tz_name: z.ZodOptional<z.ZodString>;
4619
4650
  billing_start_day: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
4620
4651
  federal_pwa_mode: z.ZodOptional<z.ZodEnum<{
4621
4652
  none: "none";
@@ -10793,6 +10824,7 @@ export declare const zAssetsSiteResponseObject: z.ZodObject<{
10793
10824
  }>;
10794
10825
  name: z.ZodString;
10795
10826
  site_type: z.ZodNullable<z.ZodString>;
10827
+ responsible_user_ids: z.ZodArray<z.ZodString>;
10796
10828
  created_at: z.ZodISODateTime;
10797
10829
  updated_at: z.ZodISODateTime;
10798
10830
  }, z.core.$strip>;
@@ -10806,6 +10838,7 @@ export declare const zAssetsSiteParameters: z.ZodObject<{
10806
10838
  yard: "yard";
10807
10839
  }>;
10808
10840
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10841
+ responsible_user_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
10809
10842
  }, z.core.$strip>;
10810
10843
  /**
10811
10844
  * Request body for updating an asset location. Every field is optional; send only the fields to change. The saved location must still have a name or a backing `site_id`.
@@ -10817,6 +10850,7 @@ export declare const zAssetsSiteUpdateParameters: z.ZodObject<{
10817
10850
  yard: "yard";
10818
10851
  }>>;
10819
10852
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10853
+ responsible_user_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
10820
10854
  }, z.core.$strip>;
10821
10855
  /**
10822
10856
  * A company-level rule that auto-generates asset form assignments. When an item of one of its products changes custody (an assignment or unassignment), the rule creates or refreshes a form task for the chosen users, due on the configured schedule.
@@ -11646,7 +11680,7 @@ export declare const zAssetsSubLocationUpdateParameters: z.ZodObject<{
11646
11680
  code: z.ZodOptional<z.ZodString>;
11647
11681
  }, z.core.$strip>;
11648
11682
  /**
11649
- * A completed movement of item stock between two holders, each a site, a user, or a container. Each line moves one item; applying the transfer records paired outbound and inbound transactions and updates the on-hand, custody, and containment counts. Transfers created through this API are always completed. One-sided moves (placing or removing an item with only one endpoint) record transactions but no transfer, and so are not represented by this resource.
11683
+ * A movement of item stock between two holders, each a site, a user, or a container. Each line names one item. A completed transfer has applied paired outbound and inbound transactions and updated on-hand, custody, and containment counts. A pending transfer has not moved stock; it waits to be accepted, declined, or cancelled. One-sided moves (placing or removing an item with only one endpoint) record transactions but no transfer, and so are not represented by this resource.
11650
11684
  */
11651
11685
  export declare const zAssetsTransferResponseObject: z.ZodObject<{
11652
11686
  id: z.ZodString;
@@ -11655,6 +11689,7 @@ export declare const zAssetsTransferResponseObject: z.ZodObject<{
11655
11689
  pending: "pending";
11656
11690
  cancelled: "cancelled";
11657
11691
  completed: "completed";
11692
+ declined: "declined";
11658
11693
  in_transit: "in_transit";
11659
11694
  }>;
11660
11695
  from_assets_site_id: z.ZodNullable<z.ZodString>;
@@ -11665,7 +11700,9 @@ export declare const zAssetsTransferResponseObject: z.ZodObject<{
11665
11700
  to_container_item_id: z.ZodNullable<z.ZodString>;
11666
11701
  to_assets_sub_location_id: z.ZodNullable<z.ZodString>;
11667
11702
  initiated_by_user_id: z.ZodString;
11703
+ resolved_by_user_id: z.ZodNullable<z.ZodString>;
11668
11704
  completed_at: z.ZodNullable<z.ZodISODateTime>;
11705
+ resolved_at: z.ZodNullable<z.ZodISODateTime>;
11669
11706
  transfer_lines: z.ZodArray<z.ZodObject<{
11670
11707
  id: z.ZodString;
11671
11708
  assets_item_id: z.ZodString;
@@ -11676,7 +11713,7 @@ export declare const zAssetsTransferResponseObject: z.ZodObject<{
11676
11713
  updated_at: z.ZodISODateTime;
11677
11714
  }, z.core.$strip>;
11678
11715
  /**
11679
- * Move item stock. Each endpoint is a site, a user, or a container — give at most one per side; more than one on a side, or no endpoint at all, answers 422. With both a source and a destination this is a two-sided transfer (returns the created transfer, 201). With a single open end it is a one-sided move — placing an unplaced item (destination only) or removing it from its holder (source only) — which records transactions but no transfer and returns 204. Moves are applied immediately, so the source must hold enough of each item.
11716
+ * Move item stock. Each endpoint is a site, a user, or a container — give at most one per side; more than one on a side, or no endpoint at all, answers 422. With both a source and a destination this is a two-sided transfer (returns the created transfer, 201). Omit status or send completed to apply it immediately; send pending to persist without moving stock. A pending create requires both endpoints (one endpoint answers 422). With a single open end and completed (or omitted) status it is a one-sided move — placing an unplaced item (destination only) or removing it from its holder (source only) — which records transactions but no transfer and returns 204. A completed create applies immediately, so the source must hold enough of each item.
11680
11717
  */
11681
11718
  export declare const zAssetsTransferParameters: z.ZodObject<{
11682
11719
  from_assets_site_id: z.ZodOptional<z.ZodString>;
@@ -11688,11 +11725,50 @@ export declare const zAssetsTransferParameters: z.ZodObject<{
11688
11725
  to_container_item_id: z.ZodOptional<z.ZodString>;
11689
11726
  to_assets_sub_location_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11690
11727
  performed_by_user_id: z.ZodString;
11728
+ status: z.ZodOptional<z.ZodEnum<{
11729
+ pending: "pending";
11730
+ completed: "completed";
11731
+ }>>;
11691
11732
  line_items: z.ZodArray<z.ZodObject<{
11692
11733
  assets_item_id: z.ZodString;
11693
11734
  quantity: z.ZodInt;
11694
11735
  }, z.core.$strip>>;
11695
11736
  }, z.core.$strip>;
11737
+ /**
11738
+ * Answer a transfer — decline, cancel, or reopen it. The named filer is recorded on the step. An optional note is the step comment.
11739
+ */
11740
+ export declare const zAssetsTransferCommandParameters: z.ZodObject<{
11741
+ performed_by_user_id: z.ZodString;
11742
+ note: z.ZodOptional<z.ZodString>;
11743
+ }, z.core.$strip>;
11744
+ /**
11745
+ * Accept a pending transfer and move its stock. The named filer is recorded on the step. An optional note is the step comment. Optional placements put individual lines away at the destination; a line without a placement lands in the destination holder's own bucket.
11746
+ */
11747
+ export declare const zAssetsTransferAcceptanceParameters: z.ZodObject<{
11748
+ performed_by_user_id: z.ZodString;
11749
+ note: z.ZodOptional<z.ZodString>;
11750
+ placements: z.ZodOptional<z.ZodArray<z.ZodObject<{
11751
+ line_id: z.ZodString;
11752
+ container_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11753
+ sub_location_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11754
+ }, z.core.$strip>>>;
11755
+ }, z.core.$strip>;
11756
+ /**
11757
+ * Add a line to a pending transfer. The item is identified the same way create's line_items are, under this transfer's source holder. Stock stays with the sender until the transfer is accepted. A resolved transfer answers 422.
11758
+ */
11759
+ export declare const zAssetsTransferLineParameters: z.ZodObject<{
11760
+ assets_item_id: z.ZodString;
11761
+ quantity: z.ZodInt;
11762
+ from_assets_sub_location_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11763
+ to_assets_sub_location_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11764
+ }, z.core.$strip>;
11765
+ /**
11766
+ * Change a pending transfer line's quantity and/or destination storage location. A resolved transfer answers 422. A line that is not on this transfer answers 404.
11767
+ */
11768
+ export declare const zAssetsTransferLineUpdateParameters: z.ZodObject<{
11769
+ quantity: z.ZodOptional<z.ZodInt>;
11770
+ to_assets_sub_location_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11771
+ }, z.core.$strip>;
11696
11772
  /**
11697
11773
  * Add stock of a bulk product to a holder — a site, a user's custody, or a container — recording a receive transaction. Name the holder with exactly one of assets_site_id, user_id, or container_item_id; several answer 422 at each named key, and none answers 422. Bulk products only.
11698
11774
  */
@@ -16189,6 +16265,7 @@ export declare const zListAssetsSitesResponse: z.ZodObject<{
16189
16265
  }>;
16190
16266
  name: z.ZodString;
16191
16267
  site_type: z.ZodNullable<z.ZodString>;
16268
+ responsible_user_ids: z.ZodArray<z.ZodString>;
16192
16269
  created_at: z.ZodISODateTime;
16193
16270
  updated_at: z.ZodISODateTime;
16194
16271
  }, z.core.$strip>>;
@@ -16200,6 +16277,7 @@ export declare const zCreateSiteBody: z.ZodObject<{
16200
16277
  yard: "yard";
16201
16278
  }>;
16202
16279
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16280
+ responsible_user_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
16203
16281
  }, z.core.$strip>;
16204
16282
  /**
16205
16283
  * Created (site-backed)
@@ -16214,6 +16292,7 @@ export declare const zCreateSiteResponse: z.ZodObject<{
16214
16292
  }>;
16215
16293
  name: z.ZodString;
16216
16294
  site_type: z.ZodNullable<z.ZodString>;
16295
+ responsible_user_ids: z.ZodArray<z.ZodString>;
16217
16296
  created_at: z.ZodISODateTime;
16218
16297
  updated_at: z.ZodISODateTime;
16219
16298
  }, z.core.$strip>;
@@ -16233,6 +16312,7 @@ export declare const zDeleteSiteResponse: z.ZodObject<{
16233
16312
  }>;
16234
16313
  name: z.ZodString;
16235
16314
  site_type: z.ZodNullable<z.ZodString>;
16315
+ responsible_user_ids: z.ZodArray<z.ZodString>;
16236
16316
  created_at: z.ZodISODateTime;
16237
16317
  updated_at: z.ZodISODateTime;
16238
16318
  }, z.core.$strip>;
@@ -16252,6 +16332,7 @@ export declare const zGetAssetsSiteResponse: z.ZodObject<{
16252
16332
  }>;
16253
16333
  name: z.ZodString;
16254
16334
  site_type: z.ZodNullable<z.ZodString>;
16335
+ responsible_user_ids: z.ZodArray<z.ZodString>;
16255
16336
  created_at: z.ZodISODateTime;
16256
16337
  updated_at: z.ZodISODateTime;
16257
16338
  }, z.core.$strip>;
@@ -16262,6 +16343,7 @@ export declare const zUpdateSiteBody: z.ZodObject<{
16262
16343
  yard: "yard";
16263
16344
  }>>;
16264
16345
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16346
+ responsible_user_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
16265
16347
  }, z.core.$strip>;
16266
16348
  export declare const zUpdateSitePath: z.ZodObject<{
16267
16349
  id: z.ZodString;
@@ -16279,6 +16361,7 @@ export declare const zUpdateSiteResponse: z.ZodObject<{
16279
16361
  }>;
16280
16362
  name: z.ZodString;
16281
16363
  site_type: z.ZodNullable<z.ZodString>;
16364
+ responsible_user_ids: z.ZodArray<z.ZodString>;
16282
16365
  created_at: z.ZodISODateTime;
16283
16366
  updated_at: z.ZodISODateTime;
16284
16367
  }, z.core.$strip>;
@@ -16495,6 +16578,7 @@ export declare const zListTransfersResponse: z.ZodObject<{
16495
16578
  pending: "pending";
16496
16579
  cancelled: "cancelled";
16497
16580
  completed: "completed";
16581
+ declined: "declined";
16498
16582
  in_transit: "in_transit";
16499
16583
  }>;
16500
16584
  from_assets_site_id: z.ZodNullable<z.ZodString>;
@@ -16505,7 +16589,9 @@ export declare const zListTransfersResponse: z.ZodObject<{
16505
16589
  to_container_item_id: z.ZodNullable<z.ZodString>;
16506
16590
  to_assets_sub_location_id: z.ZodNullable<z.ZodString>;
16507
16591
  initiated_by_user_id: z.ZodString;
16592
+ resolved_by_user_id: z.ZodNullable<z.ZodString>;
16508
16593
  completed_at: z.ZodNullable<z.ZodISODateTime>;
16594
+ resolved_at: z.ZodNullable<z.ZodISODateTime>;
16509
16595
  transfer_lines: z.ZodArray<z.ZodObject<{
16510
16596
  id: z.ZodString;
16511
16597
  assets_item_id: z.ZodString;
@@ -16526,6 +16612,10 @@ export declare const zCreateTransferBody: z.ZodObject<{
16526
16612
  to_container_item_id: z.ZodOptional<z.ZodString>;
16527
16613
  to_assets_sub_location_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16528
16614
  performed_by_user_id: z.ZodString;
16615
+ status: z.ZodOptional<z.ZodEnum<{
16616
+ pending: "pending";
16617
+ completed: "completed";
16618
+ }>>;
16529
16619
  line_items: z.ZodArray<z.ZodObject<{
16530
16620
  assets_item_id: z.ZodString;
16531
16621
  quantity: z.ZodInt;
@@ -16538,6 +16628,7 @@ export declare const zCreateTransferResponse: z.ZodUnion<readonly [z.ZodObject<{
16538
16628
  pending: "pending";
16539
16629
  cancelled: "cancelled";
16540
16630
  completed: "completed";
16631
+ declined: "declined";
16541
16632
  in_transit: "in_transit";
16542
16633
  }>;
16543
16634
  from_assets_site_id: z.ZodNullable<z.ZodString>;
@@ -16548,7 +16639,9 @@ export declare const zCreateTransferResponse: z.ZodUnion<readonly [z.ZodObject<{
16548
16639
  to_container_item_id: z.ZodNullable<z.ZodString>;
16549
16640
  to_assets_sub_location_id: z.ZodNullable<z.ZodString>;
16550
16641
  initiated_by_user_id: z.ZodString;
16642
+ resolved_by_user_id: z.ZodNullable<z.ZodString>;
16551
16643
  completed_at: z.ZodNullable<z.ZodISODateTime>;
16644
+ resolved_at: z.ZodNullable<z.ZodISODateTime>;
16552
16645
  transfer_lines: z.ZodArray<z.ZodObject<{
16553
16646
  id: z.ZodString;
16554
16647
  assets_item_id: z.ZodString;
@@ -16571,6 +16664,263 @@ export declare const zGetTransferResponse: z.ZodObject<{
16571
16664
  pending: "pending";
16572
16665
  cancelled: "cancelled";
16573
16666
  completed: "completed";
16667
+ declined: "declined";
16668
+ in_transit: "in_transit";
16669
+ }>;
16670
+ from_assets_site_id: z.ZodNullable<z.ZodString>;
16671
+ from_user_id: z.ZodNullable<z.ZodString>;
16672
+ from_container_item_id: z.ZodNullable<z.ZodString>;
16673
+ to_assets_site_id: z.ZodNullable<z.ZodString>;
16674
+ to_user_id: z.ZodNullable<z.ZodString>;
16675
+ to_container_item_id: z.ZodNullable<z.ZodString>;
16676
+ to_assets_sub_location_id: z.ZodNullable<z.ZodString>;
16677
+ initiated_by_user_id: z.ZodString;
16678
+ resolved_by_user_id: z.ZodNullable<z.ZodString>;
16679
+ completed_at: z.ZodNullable<z.ZodISODateTime>;
16680
+ resolved_at: z.ZodNullable<z.ZodISODateTime>;
16681
+ transfer_lines: z.ZodArray<z.ZodObject<{
16682
+ id: z.ZodString;
16683
+ assets_item_id: z.ZodString;
16684
+ quantity: z.ZodInt;
16685
+ from_assets_sub_location_id: z.ZodNullable<z.ZodString>;
16686
+ }, z.core.$strip>>;
16687
+ created_at: z.ZodISODateTime;
16688
+ updated_at: z.ZodISODateTime;
16689
+ }, z.core.$strip>;
16690
+ export declare const zAcceptTransferBody: z.ZodObject<{
16691
+ performed_by_user_id: z.ZodString;
16692
+ note: z.ZodOptional<z.ZodString>;
16693
+ placements: z.ZodOptional<z.ZodArray<z.ZodObject<{
16694
+ line_id: z.ZodString;
16695
+ container_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16696
+ sub_location_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16697
+ }, z.core.$strip>>>;
16698
+ }, z.core.$strip>;
16699
+ export declare const zAcceptTransferPath: z.ZodObject<{
16700
+ transfer_id: z.ZodString;
16701
+ }, z.core.$strip>;
16702
+ /**
16703
+ * Created
16704
+ */
16705
+ export declare const zAcceptTransferResponse: z.ZodObject<{
16706
+ id: z.ZodString;
16707
+ company_id: z.ZodString;
16708
+ status: z.ZodEnum<{
16709
+ pending: "pending";
16710
+ cancelled: "cancelled";
16711
+ completed: "completed";
16712
+ declined: "declined";
16713
+ in_transit: "in_transit";
16714
+ }>;
16715
+ from_assets_site_id: z.ZodNullable<z.ZodString>;
16716
+ from_user_id: z.ZodNullable<z.ZodString>;
16717
+ from_container_item_id: z.ZodNullable<z.ZodString>;
16718
+ to_assets_site_id: z.ZodNullable<z.ZodString>;
16719
+ to_user_id: z.ZodNullable<z.ZodString>;
16720
+ to_container_item_id: z.ZodNullable<z.ZodString>;
16721
+ to_assets_sub_location_id: z.ZodNullable<z.ZodString>;
16722
+ initiated_by_user_id: z.ZodString;
16723
+ resolved_by_user_id: z.ZodNullable<z.ZodString>;
16724
+ completed_at: z.ZodNullable<z.ZodISODateTime>;
16725
+ resolved_at: z.ZodNullable<z.ZodISODateTime>;
16726
+ transfer_lines: z.ZodArray<z.ZodObject<{
16727
+ id: z.ZodString;
16728
+ assets_item_id: z.ZodString;
16729
+ quantity: z.ZodInt;
16730
+ from_assets_sub_location_id: z.ZodNullable<z.ZodString>;
16731
+ }, z.core.$strip>>;
16732
+ created_at: z.ZodISODateTime;
16733
+ updated_at: z.ZodISODateTime;
16734
+ }, z.core.$strip>;
16735
+ export declare const zDeclineTransferBody: z.ZodObject<{
16736
+ performed_by_user_id: z.ZodString;
16737
+ note: z.ZodOptional<z.ZodString>;
16738
+ }, z.core.$strip>;
16739
+ export declare const zDeclineTransferPath: z.ZodObject<{
16740
+ transfer_id: z.ZodString;
16741
+ }, z.core.$strip>;
16742
+ /**
16743
+ * Created
16744
+ */
16745
+ export declare const zDeclineTransferResponse: z.ZodObject<{
16746
+ id: z.ZodString;
16747
+ company_id: z.ZodString;
16748
+ status: z.ZodEnum<{
16749
+ pending: "pending";
16750
+ cancelled: "cancelled";
16751
+ completed: "completed";
16752
+ declined: "declined";
16753
+ in_transit: "in_transit";
16754
+ }>;
16755
+ from_assets_site_id: z.ZodNullable<z.ZodString>;
16756
+ from_user_id: z.ZodNullable<z.ZodString>;
16757
+ from_container_item_id: z.ZodNullable<z.ZodString>;
16758
+ to_assets_site_id: z.ZodNullable<z.ZodString>;
16759
+ to_user_id: z.ZodNullable<z.ZodString>;
16760
+ to_container_item_id: z.ZodNullable<z.ZodString>;
16761
+ to_assets_sub_location_id: z.ZodNullable<z.ZodString>;
16762
+ initiated_by_user_id: z.ZodString;
16763
+ resolved_by_user_id: z.ZodNullable<z.ZodString>;
16764
+ completed_at: z.ZodNullable<z.ZodISODateTime>;
16765
+ resolved_at: z.ZodNullable<z.ZodISODateTime>;
16766
+ transfer_lines: z.ZodArray<z.ZodObject<{
16767
+ id: z.ZodString;
16768
+ assets_item_id: z.ZodString;
16769
+ quantity: z.ZodInt;
16770
+ from_assets_sub_location_id: z.ZodNullable<z.ZodString>;
16771
+ }, z.core.$strip>>;
16772
+ created_at: z.ZodISODateTime;
16773
+ updated_at: z.ZodISODateTime;
16774
+ }, z.core.$strip>;
16775
+ export declare const zCancelTransferBody: z.ZodObject<{
16776
+ performed_by_user_id: z.ZodString;
16777
+ note: z.ZodOptional<z.ZodString>;
16778
+ }, z.core.$strip>;
16779
+ export declare const zCancelTransferPath: z.ZodObject<{
16780
+ transfer_id: z.ZodString;
16781
+ }, z.core.$strip>;
16782
+ /**
16783
+ * Created
16784
+ */
16785
+ export declare const zCancelTransferResponse: z.ZodObject<{
16786
+ id: z.ZodString;
16787
+ company_id: z.ZodString;
16788
+ status: z.ZodEnum<{
16789
+ pending: "pending";
16790
+ cancelled: "cancelled";
16791
+ completed: "completed";
16792
+ declined: "declined";
16793
+ in_transit: "in_transit";
16794
+ }>;
16795
+ from_assets_site_id: z.ZodNullable<z.ZodString>;
16796
+ from_user_id: z.ZodNullable<z.ZodString>;
16797
+ from_container_item_id: z.ZodNullable<z.ZodString>;
16798
+ to_assets_site_id: z.ZodNullable<z.ZodString>;
16799
+ to_user_id: z.ZodNullable<z.ZodString>;
16800
+ to_container_item_id: z.ZodNullable<z.ZodString>;
16801
+ to_assets_sub_location_id: z.ZodNullable<z.ZodString>;
16802
+ initiated_by_user_id: z.ZodString;
16803
+ resolved_by_user_id: z.ZodNullable<z.ZodString>;
16804
+ completed_at: z.ZodNullable<z.ZodISODateTime>;
16805
+ resolved_at: z.ZodNullable<z.ZodISODateTime>;
16806
+ transfer_lines: z.ZodArray<z.ZodObject<{
16807
+ id: z.ZodString;
16808
+ assets_item_id: z.ZodString;
16809
+ quantity: z.ZodInt;
16810
+ from_assets_sub_location_id: z.ZodNullable<z.ZodString>;
16811
+ }, z.core.$strip>>;
16812
+ created_at: z.ZodISODateTime;
16813
+ updated_at: z.ZodISODateTime;
16814
+ }, z.core.$strip>;
16815
+ export declare const zReopenTransferBody: z.ZodObject<{
16816
+ performed_by_user_id: z.ZodString;
16817
+ note: z.ZodOptional<z.ZodString>;
16818
+ }, z.core.$strip>;
16819
+ export declare const zReopenTransferPath: z.ZodObject<{
16820
+ transfer_id: z.ZodString;
16821
+ }, z.core.$strip>;
16822
+ /**
16823
+ * Created
16824
+ */
16825
+ export declare const zReopenTransferResponse: z.ZodObject<{
16826
+ id: z.ZodString;
16827
+ company_id: z.ZodString;
16828
+ status: z.ZodEnum<{
16829
+ pending: "pending";
16830
+ cancelled: "cancelled";
16831
+ completed: "completed";
16832
+ declined: "declined";
16833
+ in_transit: "in_transit";
16834
+ }>;
16835
+ from_assets_site_id: z.ZodNullable<z.ZodString>;
16836
+ from_user_id: z.ZodNullable<z.ZodString>;
16837
+ from_container_item_id: z.ZodNullable<z.ZodString>;
16838
+ to_assets_site_id: z.ZodNullable<z.ZodString>;
16839
+ to_user_id: z.ZodNullable<z.ZodString>;
16840
+ to_container_item_id: z.ZodNullable<z.ZodString>;
16841
+ to_assets_sub_location_id: z.ZodNullable<z.ZodString>;
16842
+ initiated_by_user_id: z.ZodString;
16843
+ resolved_by_user_id: z.ZodNullable<z.ZodString>;
16844
+ completed_at: z.ZodNullable<z.ZodISODateTime>;
16845
+ resolved_at: z.ZodNullable<z.ZodISODateTime>;
16846
+ transfer_lines: z.ZodArray<z.ZodObject<{
16847
+ id: z.ZodString;
16848
+ assets_item_id: z.ZodString;
16849
+ quantity: z.ZodInt;
16850
+ from_assets_sub_location_id: z.ZodNullable<z.ZodString>;
16851
+ }, z.core.$strip>>;
16852
+ created_at: z.ZodISODateTime;
16853
+ updated_at: z.ZodISODateTime;
16854
+ }, z.core.$strip>;
16855
+ export declare const zCreateTransferLineBody: z.ZodObject<{
16856
+ assets_item_id: z.ZodString;
16857
+ quantity: z.ZodInt;
16858
+ from_assets_sub_location_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16859
+ to_assets_sub_location_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16860
+ }, z.core.$strip>;
16861
+ export declare const zCreateTransferLinePath: z.ZodObject<{
16862
+ transfer_id: z.ZodString;
16863
+ }, z.core.$strip>;
16864
+ /**
16865
+ * Created
16866
+ */
16867
+ export declare const zCreateTransferLineResponse: z.ZodObject<{
16868
+ id: z.ZodString;
16869
+ company_id: z.ZodString;
16870
+ status: z.ZodEnum<{
16871
+ pending: "pending";
16872
+ cancelled: "cancelled";
16873
+ completed: "completed";
16874
+ declined: "declined";
16875
+ in_transit: "in_transit";
16876
+ }>;
16877
+ from_assets_site_id: z.ZodNullable<z.ZodString>;
16878
+ from_user_id: z.ZodNullable<z.ZodString>;
16879
+ from_container_item_id: z.ZodNullable<z.ZodString>;
16880
+ to_assets_site_id: z.ZodNullable<z.ZodString>;
16881
+ to_user_id: z.ZodNullable<z.ZodString>;
16882
+ to_container_item_id: z.ZodNullable<z.ZodString>;
16883
+ to_assets_sub_location_id: z.ZodNullable<z.ZodString>;
16884
+ initiated_by_user_id: z.ZodString;
16885
+ resolved_by_user_id: z.ZodNullable<z.ZodString>;
16886
+ completed_at: z.ZodNullable<z.ZodISODateTime>;
16887
+ resolved_at: z.ZodNullable<z.ZodISODateTime>;
16888
+ transfer_lines: z.ZodArray<z.ZodObject<{
16889
+ id: z.ZodString;
16890
+ assets_item_id: z.ZodString;
16891
+ quantity: z.ZodInt;
16892
+ from_assets_sub_location_id: z.ZodNullable<z.ZodString>;
16893
+ }, z.core.$strip>>;
16894
+ created_at: z.ZodISODateTime;
16895
+ updated_at: z.ZodISODateTime;
16896
+ }, z.core.$strip>;
16897
+ export declare const zDeleteTransferLinePath: z.ZodObject<{
16898
+ transfer_id: z.ZodString;
16899
+ line_id: z.ZodString;
16900
+ }, z.core.$strip>;
16901
+ /**
16902
+ * No Content
16903
+ */
16904
+ export declare const zDeleteTransferLineResponse: z.ZodVoid;
16905
+ export declare const zUpdateTransferLineBody: z.ZodObject<{
16906
+ quantity: z.ZodOptional<z.ZodInt>;
16907
+ to_assets_sub_location_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16908
+ }, z.core.$strip>;
16909
+ export declare const zUpdateTransferLinePath: z.ZodObject<{
16910
+ transfer_id: z.ZodString;
16911
+ line_id: z.ZodString;
16912
+ }, z.core.$strip>;
16913
+ /**
16914
+ * Success
16915
+ */
16916
+ export declare const zUpdateTransferLineResponse: z.ZodObject<{
16917
+ id: z.ZodString;
16918
+ company_id: z.ZodString;
16919
+ status: z.ZodEnum<{
16920
+ pending: "pending";
16921
+ cancelled: "cancelled";
16922
+ completed: "completed";
16923
+ declined: "declined";
16574
16924
  in_transit: "in_transit";
16575
16925
  }>;
16576
16926
  from_assets_site_id: z.ZodNullable<z.ZodString>;
@@ -16581,7 +16931,9 @@ export declare const zGetTransferResponse: z.ZodObject<{
16581
16931
  to_container_item_id: z.ZodNullable<z.ZodString>;
16582
16932
  to_assets_sub_location_id: z.ZodNullable<z.ZodString>;
16583
16933
  initiated_by_user_id: z.ZodString;
16934
+ resolved_by_user_id: z.ZodNullable<z.ZodString>;
16584
16935
  completed_at: z.ZodNullable<z.ZodISODateTime>;
16936
+ resolved_at: z.ZodNullable<z.ZodISODateTime>;
16585
16937
  transfer_lines: z.ZodArray<z.ZodObject<{
16586
16938
  id: z.ZodString;
16587
16939
  assets_item_id: z.ZodString;
@@ -31599,6 +31951,9 @@ export declare const zListProjectsResponse: z.ZodObject<{
31599
31951
  id: z.ZodString;
31600
31952
  name: z.ZodString;
31601
31953
  }, z.core.$strip>>;
31954
+ project_address: z.ZodNullable<z.ZodObject<{
31955
+ label: z.ZodString;
31956
+ }, z.core.$strip>>;
31602
31957
  federal_pwa_mode: z.ZodEnum<{
31603
31958
  none: "none";
31604
31959
  all: "all";
@@ -31655,9 +32010,23 @@ export declare const zCreateProjectBody: z.ZodObject<{
31655
32010
  parent_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31656
32011
  participating_company_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
31657
32012
  manager_user_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
32013
+ project_address_attributes: z.ZodOptional<z.ZodNullable<z.ZodObject<{
32014
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32015
+ sub_address_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32016
+ address_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32017
+ neighborhood: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32018
+ municipality: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32019
+ sub_region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32020
+ region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32021
+ postal_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32022
+ country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32023
+ timezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32024
+ verified: z.ZodOptional<z.ZodBoolean>;
32025
+ label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32026
+ }, z.core.$strip>>>;
31658
32027
  start_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
31659
32028
  end_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
31660
- tz_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32029
+ tz_name: z.ZodOptional<z.ZodString>;
31661
32030
  billing_start_day: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
31662
32031
  federal_pwa_mode: z.ZodOptional<z.ZodEnum<{
31663
32032
  none: "none";
@@ -31704,6 +32073,9 @@ export declare const zCreateProjectResponse: z.ZodObject<{
31704
32073
  id: z.ZodString;
31705
32074
  name: z.ZodString;
31706
32075
  }, z.core.$strip>>;
32076
+ project_address: z.ZodNullable<z.ZodObject<{
32077
+ label: z.ZodString;
32078
+ }, z.core.$strip>>;
31707
32079
  federal_pwa_mode: z.ZodEnum<{
31708
32080
  none: "none";
31709
32081
  all: "all";
@@ -31773,6 +32145,9 @@ export declare const zGetProjectResponse: z.ZodObject<{
31773
32145
  id: z.ZodString;
31774
32146
  name: z.ZodString;
31775
32147
  }, z.core.$strip>>;
32148
+ project_address: z.ZodNullable<z.ZodObject<{
32149
+ label: z.ZodString;
32150
+ }, z.core.$strip>>;
31776
32151
  federal_pwa_mode: z.ZodEnum<{
31777
32152
  none: "none";
31778
32153
  all: "all";
@@ -31828,9 +32203,23 @@ export declare const zUpdateProjectBody: z.ZodObject<{
31828
32203
  parent_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31829
32204
  participating_company_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
31830
32205
  manager_user_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
32206
+ project_address_attributes: z.ZodOptional<z.ZodNullable<z.ZodObject<{
32207
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32208
+ sub_address_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32209
+ address_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32210
+ neighborhood: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32211
+ municipality: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32212
+ sub_region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32213
+ region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32214
+ postal_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32215
+ country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32216
+ timezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32217
+ verified: z.ZodOptional<z.ZodBoolean>;
32218
+ label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32219
+ }, z.core.$strip>>>;
31831
32220
  start_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
31832
32221
  end_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
31833
- tz_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32222
+ tz_name: z.ZodOptional<z.ZodString>;
31834
32223
  billing_start_day: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
31835
32224
  federal_pwa_mode: z.ZodOptional<z.ZodEnum<{
31836
32225
  none: "none";
@@ -31879,6 +32268,9 @@ export declare const zUpdateProjectResponse: z.ZodObject<{
31879
32268
  id: z.ZodString;
31880
32269
  name: z.ZodString;
31881
32270
  }, z.core.$strip>>;
32271
+ project_address: z.ZodNullable<z.ZodObject<{
32272
+ label: z.ZodString;
32273
+ }, z.core.$strip>>;
31882
32274
  federal_pwa_mode: z.ZodEnum<{
31883
32275
  none: "none";
31884
32276
  all: "all";