@whiplashmerch/whiplash-api-client 2.0.12 → 2.0.14

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.
@@ -0,0 +1,146 @@
1
+ import { ApiV21EntitiesPostResponse, ApiV2EntitiesCount, ApiV2EntitiesPackage, ApiV2EntitiesPallet, GetApiV21PalletsCountParams, GetApiV21PalletsIdPackagesParams, GetApiV21PalletsParams, GetApiV2PalletsCountParams, GetApiV2PalletsIdPackagesParams, GetApiV2PalletsParams, PutApiV21PalletsIdCallActionRequest, PutApiV21PalletsIdRequest, PutApiV2PalletsIdCallActionRequest, PutApiV2PalletsIdRequest } from "./data-contracts";
2
+ import { HttpClient, RequestParams } from "./http-client";
3
+ /**
4
+ * @description Get all pallets
5
+ *
6
+ * @tags pallets
7
+ * @name GetApiV2Pallets
8
+ * @summary List all pallets
9
+ * @request GET:/api/v2/pallets
10
+ */
11
+ export declare const getApiV2Pallets: (client: HttpClient, query: GetApiV2PalletsParams, params?: RequestParams) => Promise<ApiV2EntitiesPallet[]>;
12
+ /**
13
+ * @description Create a pallet
14
+ *
15
+ * @tags pallets
16
+ * @name PostApiV2Pallets
17
+ * @summary Create a pallet
18
+ * @request POST:/api/v2/pallets
19
+ */
20
+ export declare const postApiV2Pallets: (client: HttpClient, params?: RequestParams) => Promise<ApiV2EntitiesPallet>;
21
+ /**
22
+ * @description Returns count of pallets
23
+ *
24
+ * @tags pallets
25
+ * @name GetApiV2PalletsCount
26
+ * @summary Count pallets
27
+ * @request GET:/api/v2/pallets/count
28
+ */
29
+ export declare const getApiV2PalletsCount: (client: HttpClient, query: GetApiV2PalletsCountParams, params?: RequestParams) => Promise<ApiV2EntitiesCount>;
30
+ /**
31
+ * @description Get a pallet
32
+ *
33
+ * @tags pallets
34
+ * @name GetApiV2PalletsId
35
+ * @summary Get a pallet by ID
36
+ * @request GET:/api/v2/pallets/{id}
37
+ */
38
+ export declare const getApiV2PalletsId: (client: HttpClient, id: number, params?: RequestParams) => Promise<ApiV2EntitiesPallet>;
39
+ /**
40
+ * @description Update a pallet
41
+ *
42
+ * @tags pallets
43
+ * @name PutApiV2PalletsId
44
+ * @summary Update a pallet
45
+ * @request PUT:/api/v2/pallets/{id}
46
+ */
47
+ export declare const putApiV2PalletsId: (client: HttpClient, id: number, data: PutApiV2PalletsIdRequest, params?: RequestParams) => Promise<ApiV2EntitiesPallet>;
48
+ /**
49
+ * @description Destroy a pallet
50
+ *
51
+ * @tags pallets
52
+ * @name DeleteApiV2PalletsId
53
+ * @summary Destroy a pallet
54
+ * @request DELETE:/api/v2/pallets/{id}
55
+ */
56
+ export declare const deleteApiV2PalletsId: (client: HttpClient, id: number, params?: RequestParams) => Promise<void>;
57
+ /**
58
+ * @description Perform an action on a pallet
59
+ *
60
+ * @tags pallets
61
+ * @name PutApiV2PalletsIdCallAction
62
+ * @summary Perform an action on a pallet
63
+ * @request PUT:/api/v2/pallets/{id}/call/{action}
64
+ */
65
+ export declare const putApiV2PalletsIdCallAction: (client: HttpClient, action: string, id: number, data: PutApiV2PalletsIdCallActionRequest, params?: RequestParams) => Promise<ApiV2EntitiesPallet>;
66
+ /**
67
+ * @description Get all packages for a Pallet
68
+ *
69
+ * @tags pallets
70
+ * @name GetApiV2PalletsIdPackages
71
+ * @summary List all packages for a pallet
72
+ * @request GET:/api/v2/pallets/{id}/packages
73
+ */
74
+ export declare const getApiV2PalletsIdPackages: (client: HttpClient, { id, ...query }: GetApiV2PalletsIdPackagesParams, params?: RequestParams) => Promise<ApiV2EntitiesPackage[]>;
75
+ /**
76
+ * @description Get all pallets
77
+ *
78
+ * @tags pallets
79
+ * @name GetApiV21Pallets
80
+ * @summary List all pallets
81
+ * @request GET:/api/v2.1/pallets
82
+ */
83
+ export declare const getApiV21Pallets: (client: HttpClient, query: GetApiV21PalletsParams, params?: RequestParams) => Promise<ApiV2EntitiesPallet[]>;
84
+ /**
85
+ * @description Create a pallet
86
+ *
87
+ * @tags pallets
88
+ * @name PostApiV21Pallets
89
+ * @summary Create a pallet
90
+ * @request POST:/api/v2.1/pallets
91
+ */
92
+ export declare const postApiV21Pallets: (client: HttpClient, params?: RequestParams) => Promise<ApiV21EntitiesPostResponse>;
93
+ /**
94
+ * @description Returns count of pallets
95
+ *
96
+ * @tags pallets
97
+ * @name GetApiV21PalletsCount
98
+ * @summary Count pallets
99
+ * @request GET:/api/v2.1/pallets/count
100
+ */
101
+ export declare const getApiV21PalletsCount: (client: HttpClient, query: GetApiV21PalletsCountParams, params?: RequestParams) => Promise<ApiV2EntitiesCount>;
102
+ /**
103
+ * @description Get a pallet
104
+ *
105
+ * @tags pallets
106
+ * @name GetApiV21PalletsId
107
+ * @summary Get a pallet by ID
108
+ * @request GET:/api/v2.1/pallets/{id}
109
+ */
110
+ export declare const getApiV21PalletsId: (client: HttpClient, id: number, params?: RequestParams) => Promise<ApiV2EntitiesPallet>;
111
+ /**
112
+ * @description Update a pallet
113
+ *
114
+ * @tags pallets
115
+ * @name PutApiV21PalletsId
116
+ * @summary Update a pallet
117
+ * @request PUT:/api/v2.1/pallets/{id}
118
+ */
119
+ export declare const putApiV21PalletsId: (client: HttpClient, id: number, data: PutApiV21PalletsIdRequest, params?: RequestParams) => Promise<void>;
120
+ /**
121
+ * @description Destroy a pallet
122
+ *
123
+ * @tags pallets
124
+ * @name DeleteApiV21PalletsId
125
+ * @summary Destroy a pallet
126
+ * @request DELETE:/api/v2.1/pallets/{id}
127
+ */
128
+ export declare const deleteApiV21PalletsId: (client: HttpClient, id: number, params?: RequestParams) => Promise<void>;
129
+ /**
130
+ * @description Perform an action on a pallet
131
+ *
132
+ * @tags pallets
133
+ * @name PutApiV21PalletsIdCallAction
134
+ * @summary Perform an action on a pallet
135
+ * @request PUT:/api/v2.1/pallets/{id}/call/{action}
136
+ */
137
+ export declare const putApiV21PalletsIdCallAction: (client: HttpClient, action: string, id: number, data: PutApiV21PalletsIdCallActionRequest, params?: RequestParams) => Promise<void>;
138
+ /**
139
+ * @description Get all packages for a Pallet
140
+ *
141
+ * @tags pallets
142
+ * @name GetApiV21PalletsIdPackages
143
+ * @summary List all packages for a pallet
144
+ * @request GET:/api/v2.1/pallets/{id}/packages
145
+ */
146
+ export declare const getApiV21PalletsIdPackages: (client: HttpClient, { id, ...query }: GetApiV21PalletsIdPackagesParams, params?: RequestParams) => Promise<ApiV2EntitiesPackage[]>;
@@ -3790,8 +3790,18 @@ export interface ApiV2EntitiesPackage {
3790
3790
  */
3791
3791
  order_id?: number | null;
3792
3792
  order_item_ids?: number[];
3793
+ /**
3794
+ * the pallet id this package is on (staff only)
3795
+ * @format int32
3796
+ */
3797
+ pallet_id?: number | null;
3793
3798
  /** the package scan form url (staff only) */
3794
3799
  scan_form_url?: string | null;
3800
+ /**
3801
+ * when the package was scanned to a pallet (staff only)
3802
+ * @format date-time
3803
+ */
3804
+ scanned_to_pallet_at?: string | null;
3795
3805
  /**
3796
3806
  * the package shipping cost
3797
3807
  * @format float
@@ -3838,6 +3848,59 @@ export interface ApiV2EntitiesPackingslipsArray {
3838
3848
  packingslips_array?: object;
3839
3849
  }
3840
3850
  /** V2 */
3851
+ export interface ApiV2EntitiesPallet {
3852
+ /**
3853
+ * the pallet creation date and time
3854
+ * @format date-time
3855
+ */
3856
+ created_at?: string;
3857
+ /**
3858
+ * the package id
3859
+ * @format int32
3860
+ */
3861
+ id?: number;
3862
+ /**
3863
+ * the date and time when the LPN label was printed
3864
+ * @format date-time
3865
+ */
3866
+ lpn_label_printed_at?: string | null;
3867
+ /**
3868
+ * the pallet number (LPN)
3869
+ * @format int32
3870
+ */
3871
+ number?: number | null;
3872
+ /**
3873
+ * the order batch id associated with the pallet
3874
+ * @format int32
3875
+ */
3876
+ order_batch_id?: number | null;
3877
+ /**
3878
+ * the total dimensional weight of the pallet
3879
+ * @format float
3880
+ */
3881
+ total_dimensional_weight?: number | null;
3882
+ /**
3883
+ * the total number of items in the pallet
3884
+ * @format int32
3885
+ */
3886
+ total_item_count?: number | null;
3887
+ /**
3888
+ * the total number of packages in the pallet
3889
+ * @format int32
3890
+ */
3891
+ total_package_count?: number | null;
3892
+ /**
3893
+ * the pallet last update date and time
3894
+ * @format date-time
3895
+ */
3896
+ updated_at?: string;
3897
+ /**
3898
+ * the pallet warehouse id
3899
+ * @format int32
3900
+ */
3901
+ warehouse_id?: number | null;
3902
+ }
3903
+ /** V2 */
3841
3904
  export interface ApiV2EntitiesPartner {
3842
3905
  /** Partner billing address line 1. */
3843
3906
  billing_address1?: string | null;
@@ -4607,10 +4670,7 @@ export interface ApiV2EntitiesShipnotice {
4607
4670
  * @format date-time
4608
4671
  */
4609
4672
  arrived_at?: string;
4610
- /**
4611
- * BOL proxy for this shipnotice.
4612
- * Note: this field has a limit of 30 chars.
4613
- */
4673
+ /** BOL proxy for this shipnotice. */
4614
4674
  bol_proxy?: string | null;
4615
4675
  /** shipping carrier */
4616
4676
  carrier?: string;
@@ -4665,10 +4725,7 @@ export interface ApiV2EntitiesShipnotice {
4665
4725
  inspection_required?: boolean;
4666
4726
  /** meta data for this shipnotice as stringified JSON */
4667
4727
  meta_data?: string | null;
4668
- /**
4669
- * MID code for this shipnotice.
4670
- * Note: this field has a limit of 15 chars.
4671
- */
4728
+ /** MID code for this shipnotice. */
4672
4729
  mid_code?: string | null;
4673
4730
  /** notes by customer */
4674
4731
  notes_by_customer?: string | null;
@@ -4760,10 +4817,7 @@ export interface ApiV2EntitiesShipnotice {
4760
4817
  * @format int32
4761
4818
  */
4762
4819
  warehouse_id?: number;
4763
- /**
4764
- * zone status of this shipnotice.
4765
- * Note: this field has a limit of 3 chars.
4766
- */
4820
+ /** zone status of this shipnotice. */
4767
4821
  zone_status?: string | null;
4768
4822
  }
4769
4823
  /** V2 */
@@ -4847,10 +4901,10 @@ export interface ApiV2EntitiesShipnoticeItem {
4847
4901
  */
4848
4902
  unallocated?: number;
4849
4903
  /**
4850
- * unit price for this shipnotice item
4904
+ * unit cost for this shipnotice item
4851
4905
  * @format float
4852
4906
  */
4853
- unit_price?: number | null;
4907
+ unit_cost?: number | null;
4854
4908
  /**
4855
4909
  * the shipnotice item last update date and time
4856
4910
  * @format date-time
@@ -8244,10 +8298,7 @@ export interface ApiV21EntitiesShipnotice {
8244
8298
  * @format date-time
8245
8299
  */
8246
8300
  arrived_at?: string;
8247
- /**
8248
- * BOL proxy for this shipnotice.
8249
- * Note: this field has a limit of 30 chars.
8250
- */
8301
+ /** BOL proxy for this shipnotice. */
8251
8302
  bol_proxy?: string | null;
8252
8303
  /**
8253
8304
  * the shipnotice must be completed by date and time
@@ -8301,10 +8352,7 @@ export interface ApiV21EntitiesShipnotice {
8301
8352
  inspection_required?: boolean;
8302
8353
  /** meta data for this shipnotice as stringified JSON */
8303
8354
  meta_data?: string | null;
8304
- /**
8305
- * MID code for this shipnotice.
8306
- * Note: this field has a limit of 15 chars.
8307
- */
8355
+ /** MID code for this shipnotice. */
8308
8356
  mid_code?: string | null;
8309
8357
  /** notes by customer */
8310
8358
  notes_by_customer?: string | null;
@@ -8394,10 +8442,7 @@ export interface ApiV21EntitiesShipnotice {
8394
8442
  warehouse_id?: number;
8395
8443
  /** The name of the associated warehouse */
8396
8444
  warehouse_name?: string;
8397
- /**
8398
- * zone status of this shipnotice.
8399
- * Note: this field has a limit of 3 chars.
8400
- */
8445
+ /** zone status of this shipnotice. */
8401
8446
  zone_status?: string | null;
8402
8447
  }
8403
8448
  /** V2_1 */
@@ -8464,10 +8509,10 @@ export interface ApiV21EntitiesShipnoticeItem {
8464
8509
  */
8465
8510
  shipnotice_id?: number | null;
8466
8511
  /**
8467
- * unit price for this shipnotice item
8512
+ * unit cost for this shipnotice item
8468
8513
  * @format float
8469
8514
  */
8470
- unit_price?: number | null;
8515
+ unit_cost?: number | null;
8471
8516
  /**
8472
8517
  * the shipnotice item last update date and time
8473
8518
  * @format date-time
@@ -10773,6 +10818,55 @@ export interface GetApiV21PackagesParams {
10773
10818
  /** Include prev/next links in response headers */
10774
10819
  page_links?: boolean;
10775
10820
  }
10821
+ export interface GetApiV21PalletsCountParams {
10822
+ /** JSON search string like {"attribute_eq": "Term"} */
10823
+ search?: string;
10824
+ }
10825
+ export interface GetApiV21PalletsIdPackagesParams {
10826
+ /** JSON search string like {"attribute_eq": "Term"} */
10827
+ search?: string;
10828
+ /** Comma-separated list of fields to include in the response */
10829
+ fields?: string;
10830
+ /** A list of sort options (ex: name asc,created_at desc) */
10831
+ sort?: string;
10832
+ /**
10833
+ * Page of results to fetch
10834
+ * @format int32
10835
+ */
10836
+ page?: number;
10837
+ /**
10838
+ * Number of results to return per page
10839
+ * @format int32
10840
+ */
10841
+ per_page?: number;
10842
+ /** Include total count of results */
10843
+ page_total?: boolean;
10844
+ /** Include prev/next links in response headers */
10845
+ page_links?: boolean;
10846
+ id: number;
10847
+ }
10848
+ export interface GetApiV21PalletsParams {
10849
+ /** JSON search string like {"attribute_eq": "Term"} */
10850
+ search?: string;
10851
+ /** Comma-separated list of fields to include in the response */
10852
+ fields?: string;
10853
+ /** A list of sort options (ex: name asc,created_at desc) */
10854
+ sort?: string;
10855
+ /**
10856
+ * Page of results to fetch
10857
+ * @format int32
10858
+ */
10859
+ page?: number;
10860
+ /**
10861
+ * Number of results to return per page
10862
+ * @format int32
10863
+ */
10864
+ per_page?: number;
10865
+ /** Include total count of results */
10866
+ page_total?: boolean;
10867
+ /** Include prev/next links in response headers */
10868
+ page_links?: boolean;
10869
+ }
10776
10870
  export interface GetApiV21PartnersCountParams {
10777
10871
  /** JSON search string like {"attribute_eq": "Term"} */
10778
10872
  search?: string;
@@ -13415,6 +13509,55 @@ export interface GetApiV2PackagesParams {
13415
13509
  /** Include prev/next links in response headers */
13416
13510
  page_links?: boolean;
13417
13511
  }
13512
+ export interface GetApiV2PalletsCountParams {
13513
+ /** JSON search string like {"attribute_eq": "Term"} */
13514
+ search?: string;
13515
+ }
13516
+ export interface GetApiV2PalletsIdPackagesParams {
13517
+ /** JSON search string like {"attribute_eq": "Term"} */
13518
+ search?: string;
13519
+ /** Comma-separated list of fields to include in the response */
13520
+ fields?: string;
13521
+ /** A list of sort options (ex: name asc,created_at desc) */
13522
+ sort?: string;
13523
+ /**
13524
+ * Page of results to fetch
13525
+ * @format int32
13526
+ */
13527
+ page?: number;
13528
+ /**
13529
+ * Number of results to return per page
13530
+ * @format int32
13531
+ */
13532
+ per_page?: number;
13533
+ /** Include total count of results */
13534
+ page_total?: boolean;
13535
+ /** Include prev/next links in response headers */
13536
+ page_links?: boolean;
13537
+ id: number;
13538
+ }
13539
+ export interface GetApiV2PalletsParams {
13540
+ /** JSON search string like {"attribute_eq": "Term"} */
13541
+ search?: string;
13542
+ /** Comma-separated list of fields to include in the response */
13543
+ fields?: string;
13544
+ /** A list of sort options (ex: name asc,created_at desc) */
13545
+ sort?: string;
13546
+ /**
13547
+ * Page of results to fetch
13548
+ * @format int32
13549
+ */
13550
+ page?: number;
13551
+ /**
13552
+ * Number of results to return per page
13553
+ * @format int32
13554
+ */
13555
+ per_page?: number;
13556
+ /** Include total count of results */
13557
+ page_total?: boolean;
13558
+ /** Include prev/next links in response headers */
13559
+ page_links?: boolean;
13560
+ }
13418
13561
  export interface GetApiV2PartnersCountParams {
13419
13562
  /** JSON search string like {"attribute_eq": "Term"} */
13420
13563
  search?: string;
@@ -17224,20 +17367,11 @@ export interface PostApiV21ShipnoticesBulkRequest {
17224
17367
  reference?: string;
17225
17368
  /** JSON object of required and optional receiving quantities verified by staff */
17226
17369
  quantities_verified?: object;
17227
- /**
17228
- * BOL proxy for this shipnotice.
17229
- * Note: this field has a limit of 30 chars.
17230
- */
17370
+ /** BOL proxy for this shipnotice. */
17231
17371
  bol_proxy?: string;
17232
- /**
17233
- * MID code for this shipnotice.
17234
- * Note: this field has a limit of 15 chars.
17235
- */
17372
+ /** MID code for this shipnotice. */
17236
17373
  mid_code?: string;
17237
- /**
17238
- * zone status of this shipnotice.
17239
- * Note: this field has a limit of 3 chars.
17240
- */
17374
+ /** zone status of this shipnotice. */
17241
17375
  zone_status?: string;
17242
17376
  /** is inspection required? (default: false) */
17243
17377
  inspection_required?: boolean;
@@ -17392,6 +17526,11 @@ export interface PostApiV21ShipnoticesIdShipnoticeItemsRequest {
17392
17526
  quantity?: number;
17393
17527
  /** action to perform on item return */
17394
17528
  return_action?: string;
17529
+ /**
17530
+ * Unit cost per item
17531
+ * @format float
17532
+ */
17533
+ unit_cost?: number;
17395
17534
  }
17396
17535
  export interface PostApiV21ShipnoticesRequest {
17397
17536
  /**
@@ -17404,10 +17543,7 @@ export interface PostApiV21ShipnoticesRequest {
17404
17543
  * @format date-time
17405
17544
  */
17406
17545
  arrived_at?: string;
17407
- /**
17408
- * BOL proxy for this shipnotice.
17409
- * Note: this field has a limit of 30 chars.
17410
- */
17546
+ /** BOL proxy for this shipnotice. */
17411
17547
  bol_proxy?: string;
17412
17548
  carrier?: string;
17413
17549
  /**
@@ -17447,10 +17583,7 @@ export interface PostApiV21ShipnoticesRequest {
17447
17583
  /** Included meta fields for associations */
17448
17584
  association_fields?: object;
17449
17585
  };
17450
- /**
17451
- * MID code for this shipnotice.
17452
- * Note: this field has a limit of 15 chars.
17453
- */
17586
+ /** MID code for this shipnotice. */
17454
17587
  mid_code?: string;
17455
17588
  /** notes by customer */
17456
17589
  notes_by_customer?: string;
@@ -17556,10 +17689,7 @@ export interface PostApiV21ShipnoticesRequest {
17556
17689
  * @format int32
17557
17690
  */
17558
17691
  warehouse_id?: number;
17559
- /**
17560
- * zone status of this shipnotice.
17561
- * Note: this field has a limit of 3 chars.
17562
- */
17692
+ /** zone status of this shipnotice. */
17563
17693
  zone_status?: string;
17564
17694
  }
17565
17695
  export interface PostApiV21ShippingAliasesRequest {
@@ -20858,20 +20988,11 @@ export interface PostApiV2ShipnoticesBulkRequest {
20858
20988
  reference?: string;
20859
20989
  /** JSON object of required and optional receiving quantities verified by staff */
20860
20990
  quantities_verified?: object;
20861
- /**
20862
- * BOL proxy for this shipnotice.
20863
- * Note: this field has a limit of 30 chars.
20864
- */
20991
+ /** BOL proxy for this shipnotice. */
20865
20992
  bol_proxy?: string;
20866
- /**
20867
- * MID code for this shipnotice.
20868
- * Note: this field has a limit of 15 chars.
20869
- */
20993
+ /** MID code for this shipnotice. */
20870
20994
  mid_code?: string;
20871
- /**
20872
- * zone status of this shipnotice.
20873
- * Note: this field has a limit of 3 chars.
20874
- */
20995
+ /** zone status of this shipnotice. */
20875
20996
  zone_status?: string;
20876
20997
  /** is inspection required? (default: false) */
20877
20998
  inspection_required?: boolean;
@@ -21026,6 +21147,11 @@ export interface PostApiV2ShipnoticesIdShipnoticeItemsRequest {
21026
21147
  quantity?: number;
21027
21148
  /** action to perform on item return */
21028
21149
  return_action?: string;
21150
+ /**
21151
+ * Unit cost per item
21152
+ * @format float
21153
+ */
21154
+ unit_cost?: number;
21029
21155
  }
21030
21156
  export interface PostApiV2ShipnoticesRequest {
21031
21157
  /**
@@ -21038,10 +21164,7 @@ export interface PostApiV2ShipnoticesRequest {
21038
21164
  * @format date-time
21039
21165
  */
21040
21166
  arrived_at?: string;
21041
- /**
21042
- * BOL proxy for this shipnotice.
21043
- * Note: this field has a limit of 30 chars.
21044
- */
21167
+ /** BOL proxy for this shipnotice. */
21045
21168
  bol_proxy?: string;
21046
21169
  carrier?: string;
21047
21170
  /**
@@ -21081,10 +21204,7 @@ export interface PostApiV2ShipnoticesRequest {
21081
21204
  /** Included meta fields for associations */
21082
21205
  association_fields?: object;
21083
21206
  };
21084
- /**
21085
- * MID code for this shipnotice.
21086
- * Note: this field has a limit of 15 chars.
21087
- */
21207
+ /** MID code for this shipnotice. */
21088
21208
  mid_code?: string;
21089
21209
  /** notes by customer */
21090
21210
  notes_by_customer?: string;
@@ -21190,10 +21310,7 @@ export interface PostApiV2ShipnoticesRequest {
21190
21310
  * @format int32
21191
21311
  */
21192
21312
  warehouse_id?: number;
21193
- /**
21194
- * zone status of this shipnotice.
21195
- * Note: this field has a limit of 3 chars.
21196
- */
21313
+ /** zone status of this shipnotice. */
21197
21314
  zone_status?: string;
21198
21315
  }
21199
21316
  export interface PostApiV2ShippingAliasesRequest {
@@ -23556,6 +23673,18 @@ export interface PutApiV21PackagesIdRequest {
23556
23673
  /** the package tracking number */
23557
23674
  tracking?: string;
23558
23675
  }
23676
+ export interface PutApiV21PalletsIdCallActionRequest {
23677
+ action?: string;
23678
+ /** Method params */
23679
+ args?: object;
23680
+ }
23681
+ export interface PutApiV21PalletsIdRequest {
23682
+ /**
23683
+ * the date and time when the LPN label was printed
23684
+ * @format date-time
23685
+ */
23686
+ lpn_label_printed_at?: string;
23687
+ }
23559
23688
  export interface PutApiV21PartnersIdRequest {
23560
23689
  /** Partner billing address line 1. */
23561
23690
  billing_address1?: string;
@@ -23942,6 +24071,11 @@ export interface PutApiV21ShipnoticeItemsIdRequest {
23942
24071
  * @format int32
23943
24072
  */
23944
24073
  quantity?: number;
24074
+ /**
24075
+ * Unit cost per item
24076
+ * @format float
24077
+ */
24078
+ unit_cost?: number;
23945
24079
  }
23946
24080
  export interface PutApiV21ShipnoticesIdCallActionRequest {
23947
24081
  action?: string;
@@ -23970,10 +24104,7 @@ export interface PutApiV21ShipnoticesIdRequest {
23970
24104
  * @format date-time
23971
24105
  */
23972
24106
  arrived_at?: string;
23973
- /**
23974
- * BOL proxy for this shipnotice.
23975
- * Note: this field has a limit of 30 chars.
23976
- */
24107
+ /** BOL proxy for this shipnotice. */
23977
24108
  bol_proxy?: string;
23978
24109
  carrier?: string;
23979
24110
  /**
@@ -24004,10 +24135,7 @@ export interface PutApiV21ShipnoticesIdRequest {
24004
24135
  handling_billed?: boolean;
24005
24136
  /** meta data for this shipnotice as stringified JSON */
24006
24137
  meta_data?: string;
24007
- /**
24008
- * MID code for this shipnotice.
24009
- * Note: this field has a limit of 15 chars.
24010
- */
24138
+ /** MID code for this shipnotice. */
24011
24139
  mid_code?: string;
24012
24140
  /** notes by customer */
24013
24141
  notes_by_customer?: string;
@@ -24063,10 +24191,7 @@ export interface PutApiV21ShipnoticesIdRequest {
24063
24191
  tracking?: string;
24064
24192
  /** shipnotice type (Shipnotice, ConsumerReturn) */
24065
24193
  type?: string;
24066
- /**
24067
- * zone status of this shipnotice.
24068
- * Note: this field has a limit of 3 chars.
24069
- */
24194
+ /** zone status of this shipnotice. */
24070
24195
  zone_status?: string;
24071
24196
  }
24072
24197
  export interface PutApiV21ShippingAliasesIdRequest {
@@ -26533,6 +26658,18 @@ export interface PutApiV2PackagesIdRequest {
26533
26658
  /** the package tracking number */
26534
26659
  tracking?: string;
26535
26660
  }
26661
+ export interface PutApiV2PalletsIdCallActionRequest {
26662
+ action?: string;
26663
+ /** Method params */
26664
+ args?: object;
26665
+ }
26666
+ export interface PutApiV2PalletsIdRequest {
26667
+ /**
26668
+ * the date and time when the LPN label was printed
26669
+ * @format date-time
26670
+ */
26671
+ lpn_label_printed_at?: string;
26672
+ }
26536
26673
  export interface PutApiV2PartnersIdRequest {
26537
26674
  /** Partner billing address line 1. */
26538
26675
  billing_address1?: string;
@@ -26919,6 +27056,11 @@ export interface PutApiV2ShipnoticeItemsIdRequest {
26919
27056
  * @format int32
26920
27057
  */
26921
27058
  quantity?: number;
27059
+ /**
27060
+ * Unit cost per item
27061
+ * @format float
27062
+ */
27063
+ unit_cost?: number;
26922
27064
  }
26923
27065
  export interface PutApiV2ShipnoticesIdCallActionRequest {
26924
27066
  action?: string;
@@ -26947,10 +27089,7 @@ export interface PutApiV2ShipnoticesIdRequest {
26947
27089
  * @format date-time
26948
27090
  */
26949
27091
  arrived_at?: string;
26950
- /**
26951
- * BOL proxy for this shipnotice.
26952
- * Note: this field has a limit of 30 chars.
26953
- */
27092
+ /** BOL proxy for this shipnotice. */
26954
27093
  bol_proxy?: string;
26955
27094
  carrier?: string;
26956
27095
  /**
@@ -26981,10 +27120,7 @@ export interface PutApiV2ShipnoticesIdRequest {
26981
27120
  handling_billed?: boolean;
26982
27121
  /** meta data for this shipnotice as stringified JSON */
26983
27122
  meta_data?: string;
26984
- /**
26985
- * MID code for this shipnotice.
26986
- * Note: this field has a limit of 15 chars.
26987
- */
27123
+ /** MID code for this shipnotice. */
26988
27124
  mid_code?: string;
26989
27125
  /** notes by customer */
26990
27126
  notes_by_customer?: string;
@@ -27040,10 +27176,7 @@ export interface PutApiV2ShipnoticesIdRequest {
27040
27176
  tracking?: string;
27041
27177
  /** shipnotice type (Shipnotice, ConsumerReturn) */
27042
27178
  type?: string;
27043
- /**
27044
- * zone status of this shipnotice.
27045
- * Note: this field has a limit of 3 chars.
27046
- */
27179
+ /** zone status of this shipnotice. */
27047
27180
  zone_status?: string;
27048
27181
  }
27049
27182
  export interface PutApiV2ShippingAliasesIdRequest {