@whiplashmerch/whiplash-api-client 0.1.2 → 0.1.4
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.
- package/dist/client.esm.js +33 -33
- package/dist/client.esm.js.map +1 -1
- package/dist/generated/ConsumerReturns.d.ts +4 -4
- package/dist/generated/Items.d.ts +6 -6
- package/dist/generated/OrderItems.d.ts +6 -6
- package/dist/generated/Orders.d.ts +6 -6
- package/dist/generated/ShipnoticeItems.d.ts +4 -4
- package/dist/generated/Shipnotices.d.ts +4 -4
- package/dist/generated/data-contracts.d.ts +19 -19
- package/generated/ConsumerReturns.ts +4 -4
- package/generated/Items.ts +6 -6
- package/generated/OrderItems.ts +6 -6
- package/generated/Orders.ts +6 -6
- package/generated/ShipnoticeItems.ts +4 -4
- package/generated/Shipnotices.ts +4 -4
- package/generated/data-contracts.ts +19 -19
- package/package.json +1 -1
|
@@ -28,7 +28,7 @@ export declare const putApiV2ConsumerReturnsOriginatorOriginatorId: (client: Htt
|
|
|
28
28
|
*/
|
|
29
29
|
export declare const getApiV2ConsumerReturnsOriginatorOriginatorId: (client: HttpClient, originatorId: number, params?: RequestParams) => Promise<APIV2EntitiesConsumerReturn>;
|
|
30
30
|
/**
|
|
31
|
-
* @description Update
|
|
31
|
+
* @description Update ConsumerReturn meta fields
|
|
32
32
|
*
|
|
33
33
|
* @tags consumer_returns
|
|
34
34
|
* @name PutApiV2ConsumerReturnsIdMetaFields
|
|
@@ -37,7 +37,7 @@ export declare const getApiV2ConsumerReturnsOriginatorOriginatorId: (client: Htt
|
|
|
37
37
|
*/
|
|
38
38
|
export declare const putApiV2ConsumerReturnsIdMetaFields: (client: HttpClient, id: number, ApiV2ConsumerReturnsIdMetaFields: PutApiV2ConsumerReturnsIdMetaFields, params?: RequestParams) => Promise<void>;
|
|
39
39
|
/**
|
|
40
|
-
* @description Get the meta fields for a(n)
|
|
40
|
+
* @description Get the meta fields for a(n) ConsumerReturn
|
|
41
41
|
*
|
|
42
42
|
* @tags consumer_returns
|
|
43
43
|
* @name GetApiV2ConsumerReturnsIdMetaFields
|
|
@@ -136,7 +136,7 @@ export declare const putApiV21ConsumerReturnsOriginatorOriginatorId: (client: Ht
|
|
|
136
136
|
*/
|
|
137
137
|
export declare const getApiV21ConsumerReturnsOriginatorOriginatorId: (client: HttpClient, originatorId: number, params?: RequestParams) => Promise<APIV2EntitiesConsumerReturn>;
|
|
138
138
|
/**
|
|
139
|
-
* @description Update
|
|
139
|
+
* @description Update ConsumerReturn meta fields
|
|
140
140
|
*
|
|
141
141
|
* @tags consumer_returns
|
|
142
142
|
* @name PutApiV21ConsumerReturnsIdMetaFields
|
|
@@ -145,7 +145,7 @@ export declare const getApiV21ConsumerReturnsOriginatorOriginatorId: (client: Ht
|
|
|
145
145
|
*/
|
|
146
146
|
export declare const putApiV21ConsumerReturnsIdMetaFields: (client: HttpClient, id: number, ApiV21ConsumerReturnsIdMetaFields: PutApiV21ConsumerReturnsIdMetaFields, params?: RequestParams) => Promise<void>;
|
|
147
147
|
/**
|
|
148
|
-
* @description Get the meta fields for a(n)
|
|
148
|
+
* @description Get the meta fields for a(n) ConsumerReturn
|
|
149
149
|
*
|
|
150
150
|
* @tags consumer_returns
|
|
151
151
|
* @name GetApiV21ConsumerReturnsIdMetaFields
|
|
@@ -91,7 +91,7 @@ export declare const putApiV2ItemsOriginatorOriginatorId: (client: HttpClient, o
|
|
|
91
91
|
*/
|
|
92
92
|
export declare const getApiV2ItemsOriginatorOriginatorId: (client: HttpClient, originatorId: number, params?: RequestParams) => Promise<APIV2EntitiesItem>;
|
|
93
93
|
/**
|
|
94
|
-
* @description Update
|
|
94
|
+
* @description Update Item meta fields
|
|
95
95
|
*
|
|
96
96
|
* @tags items
|
|
97
97
|
* @name PutApiV2ItemsIdMetaFields
|
|
@@ -100,7 +100,7 @@ export declare const getApiV2ItemsOriginatorOriginatorId: (client: HttpClient, o
|
|
|
100
100
|
*/
|
|
101
101
|
export declare const putApiV2ItemsIdMetaFields: (client: HttpClient, id: number, ApiV2ItemsIdMetaFields: PutApiV2ItemsIdMetaFields, params?: RequestParams) => Promise<void>;
|
|
102
102
|
/**
|
|
103
|
-
* @description Get the meta fields for a(n)
|
|
103
|
+
* @description Get the meta fields for a(n) Item
|
|
104
104
|
*
|
|
105
105
|
* @tags items
|
|
106
106
|
* @name GetApiV2ItemsIdMetaFields
|
|
@@ -206,7 +206,7 @@ export declare const getApiV2ItemsCount: (client: HttpClient, query: GetApiV2Ite
|
|
|
206
206
|
* @summary Perform an action on an item
|
|
207
207
|
* @request PUT:/api/v2/items/{id}/call/{action}
|
|
208
208
|
*/
|
|
209
|
-
export declare const putApiV2ItemsIdCallAction: (client: HttpClient,
|
|
209
|
+
export declare const putApiV2ItemsIdCallAction: (client: HttpClient, action: string, id: number, ApiV2ItemsIdCall: PutApiV2ItemsIdCall, params?: RequestParams) => Promise<APIV2EntitiesItem>;
|
|
210
210
|
/**
|
|
211
211
|
* No description
|
|
212
212
|
*
|
|
@@ -334,7 +334,7 @@ export declare const putApiV21ItemsOriginatorOriginatorId: (client: HttpClient,
|
|
|
334
334
|
*/
|
|
335
335
|
export declare const getApiV21ItemsOriginatorOriginatorId: (client: HttpClient, originatorId: number, params?: RequestParams) => Promise<APIV2EntitiesItem>;
|
|
336
336
|
/**
|
|
337
|
-
* @description Update
|
|
337
|
+
* @description Update Item meta fields
|
|
338
338
|
*
|
|
339
339
|
* @tags items
|
|
340
340
|
* @name PutApiV21ItemsIdMetaFields
|
|
@@ -343,7 +343,7 @@ export declare const getApiV21ItemsOriginatorOriginatorId: (client: HttpClient,
|
|
|
343
343
|
*/
|
|
344
344
|
export declare const putApiV21ItemsIdMetaFields: (client: HttpClient, id: number, ApiV21ItemsIdMetaFields: PutApiV21ItemsIdMetaFields, params?: RequestParams) => Promise<void>;
|
|
345
345
|
/**
|
|
346
|
-
* @description Get the meta fields for a(n)
|
|
346
|
+
* @description Get the meta fields for a(n) Item
|
|
347
347
|
*
|
|
348
348
|
* @tags items
|
|
349
349
|
* @name GetApiV21ItemsIdMetaFields
|
|
@@ -449,7 +449,7 @@ export declare const getApiV21ItemsCount: (client: HttpClient, query: GetApiV21I
|
|
|
449
449
|
* @summary Perform an action on an item
|
|
450
450
|
* @request PUT:/api/v2.1/items/{id}/call/{action}
|
|
451
451
|
*/
|
|
452
|
-
export declare const putApiV21ItemsIdCallAction: (client: HttpClient,
|
|
452
|
+
export declare const putApiV21ItemsIdCallAction: (client: HttpClient, action: string, id: number, ApiV21ItemsIdCall: PutApiV21ItemsIdCall, params?: RequestParams) => Promise<void>;
|
|
453
453
|
/**
|
|
454
454
|
* No description
|
|
455
455
|
*
|
|
@@ -37,7 +37,7 @@ export declare const putApiV2OrderItemsId: (client: HttpClient, id: number, ApiV
|
|
|
37
37
|
*/
|
|
38
38
|
export declare const getApiV2OrderItemsId: (client: HttpClient, { id, ...query }: GetApiV2OrderItemsIdParams, params?: RequestParams) => Promise<APIV2EntitiesOrderItem>;
|
|
39
39
|
/**
|
|
40
|
-
* @description Update
|
|
40
|
+
* @description Update OrderItem meta fields
|
|
41
41
|
*
|
|
42
42
|
* @tags order_items
|
|
43
43
|
* @name PutApiV2OrderItemsIdMetaFields
|
|
@@ -46,7 +46,7 @@ export declare const getApiV2OrderItemsId: (client: HttpClient, { id, ...query }
|
|
|
46
46
|
*/
|
|
47
47
|
export declare const putApiV2OrderItemsIdMetaFields: (client: HttpClient, id: number, ApiV2OrderItemsIdMetaFields: PutApiV2OrderItemsIdMetaFields, params?: RequestParams) => Promise<void>;
|
|
48
48
|
/**
|
|
49
|
-
* @description Get the meta fields for a(n)
|
|
49
|
+
* @description Get the meta fields for a(n) OrderItem
|
|
50
50
|
*
|
|
51
51
|
* @tags order_items
|
|
52
52
|
* @name GetApiV2OrderItemsIdMetaFields
|
|
@@ -71,7 +71,7 @@ export declare const putApiV2OrderItemsIdSeparate: (client: HttpClient, id: numb
|
|
|
71
71
|
* @summary Perform an action on an order_item
|
|
72
72
|
* @request PUT:/api/v2/order_items/{id}/call/{action}
|
|
73
73
|
*/
|
|
74
|
-
export declare const putApiV2OrderItemsIdCallAction: (client: HttpClient,
|
|
74
|
+
export declare const putApiV2OrderItemsIdCallAction: (client: HttpClient, action: string, id: number, ApiV2OrderItemsIdCall: PutApiV2OrderItemsIdCall, params?: RequestParams) => Promise<APIV2EntitiesOrderItem>;
|
|
75
75
|
/**
|
|
76
76
|
* @description Serial numbers are scanned and saved during the packing process.
|
|
77
77
|
*
|
|
@@ -118,7 +118,7 @@ export declare const putApiV21OrderItemsId: (client: HttpClient, id: number, Api
|
|
|
118
118
|
*/
|
|
119
119
|
export declare const getApiV21OrderItemsId: (client: HttpClient, { id, ...query }: GetApiV21OrderItemsIdParams, params?: RequestParams) => Promise<APIV2EntitiesOrderItem>;
|
|
120
120
|
/**
|
|
121
|
-
* @description Update
|
|
121
|
+
* @description Update OrderItem meta fields
|
|
122
122
|
*
|
|
123
123
|
* @tags order_items
|
|
124
124
|
* @name PutApiV21OrderItemsIdMetaFields
|
|
@@ -127,7 +127,7 @@ export declare const getApiV21OrderItemsId: (client: HttpClient, { id, ...query
|
|
|
127
127
|
*/
|
|
128
128
|
export declare const putApiV21OrderItemsIdMetaFields: (client: HttpClient, id: number, ApiV21OrderItemsIdMetaFields: PutApiV21OrderItemsIdMetaFields, params?: RequestParams) => Promise<void>;
|
|
129
129
|
/**
|
|
130
|
-
* @description Get the meta fields for a(n)
|
|
130
|
+
* @description Get the meta fields for a(n) OrderItem
|
|
131
131
|
*
|
|
132
132
|
* @tags order_items
|
|
133
133
|
* @name GetApiV21OrderItemsIdMetaFields
|
|
@@ -152,7 +152,7 @@ export declare const putApiV21OrderItemsIdSeparate: (client: HttpClient, id: num
|
|
|
152
152
|
* @summary Perform an action on an order_item
|
|
153
153
|
* @request PUT:/api/v2.1/order_items/{id}/call/{action}
|
|
154
154
|
*/
|
|
155
|
-
export declare const putApiV21OrderItemsIdCallAction: (client: HttpClient,
|
|
155
|
+
export declare const putApiV21OrderItemsIdCallAction: (client: HttpClient, action: string, id: number, ApiV21OrderItemsIdCall: PutApiV21OrderItemsIdCall, params?: RequestParams) => Promise<APIV2EntitiesOrderItem>;
|
|
156
156
|
/**
|
|
157
157
|
* @description Serial numbers are scanned and saved during the packing process.
|
|
158
158
|
*
|
|
@@ -100,7 +100,7 @@ export declare const putApiV2OrdersId: (client: HttpClient, id: number, ApiV2Ord
|
|
|
100
100
|
*/
|
|
101
101
|
export declare const getApiV2OrdersId: (client: HttpClient, id: number, params?: RequestParams) => Promise<APIV2EntitiesOrder>;
|
|
102
102
|
/**
|
|
103
|
-
* @description Update
|
|
103
|
+
* @description Update Order meta fields
|
|
104
104
|
*
|
|
105
105
|
* @tags orders
|
|
106
106
|
* @name PutApiV2OrdersIdMetaFields
|
|
@@ -109,7 +109,7 @@ export declare const getApiV2OrdersId: (client: HttpClient, id: number, params?:
|
|
|
109
109
|
*/
|
|
110
110
|
export declare const putApiV2OrdersIdMetaFields: (client: HttpClient, id: number, ApiV2OrdersIdMetaFields: PutApiV2OrdersIdMetaFields, params?: RequestParams) => Promise<void>;
|
|
111
111
|
/**
|
|
112
|
-
* @description Get the meta fields for a(n)
|
|
112
|
+
* @description Get the meta fields for a(n) Order
|
|
113
113
|
*
|
|
114
114
|
* @tags orders
|
|
115
115
|
* @name GetApiV2OrdersIdMetaFields
|
|
@@ -170,7 +170,7 @@ export declare const getApiV2OrdersIdOrderItemsCount: (client: HttpClient, { id,
|
|
|
170
170
|
* @summary Perform an action on an order
|
|
171
171
|
* @request PUT:/api/v2/orders/{id}/call/{action}
|
|
172
172
|
*/
|
|
173
|
-
export declare const putApiV2OrdersIdCallAction: (client: HttpClient,
|
|
173
|
+
export declare const putApiV2OrdersIdCallAction: (client: HttpClient, action: string, id: number, ApiV2OrdersIdCall: PutApiV2OrdersIdCall, params?: RequestParams) => Promise<APIV2EntitiesOrder>;
|
|
174
174
|
/**
|
|
175
175
|
* @description Serial numbers are scanned and saved during the packing process.
|
|
176
176
|
*
|
|
@@ -280,7 +280,7 @@ export declare const putApiV21OrdersId: (client: HttpClient, id: number, ApiV21O
|
|
|
280
280
|
*/
|
|
281
281
|
export declare const getApiV21OrdersId: (client: HttpClient, id: number, params?: RequestParams) => Promise<APIV2EntitiesOrder>;
|
|
282
282
|
/**
|
|
283
|
-
* @description Update
|
|
283
|
+
* @description Update Order meta fields
|
|
284
284
|
*
|
|
285
285
|
* @tags orders
|
|
286
286
|
* @name PutApiV21OrdersIdMetaFields
|
|
@@ -289,7 +289,7 @@ export declare const getApiV21OrdersId: (client: HttpClient, id: number, params?
|
|
|
289
289
|
*/
|
|
290
290
|
export declare const putApiV21OrdersIdMetaFields: (client: HttpClient, id: number, ApiV21OrdersIdMetaFields: PutApiV21OrdersIdMetaFields, params?: RequestParams) => Promise<void>;
|
|
291
291
|
/**
|
|
292
|
-
* @description Get the meta fields for a(n)
|
|
292
|
+
* @description Get the meta fields for a(n) Order
|
|
293
293
|
*
|
|
294
294
|
* @tags orders
|
|
295
295
|
* @name GetApiV21OrdersIdMetaFields
|
|
@@ -350,7 +350,7 @@ export declare const getApiV21OrdersIdOrderItemsCount: (client: HttpClient, { id
|
|
|
350
350
|
* @summary Perform an action on an order
|
|
351
351
|
* @request PUT:/api/v2.1/orders/{id}/call/{action}
|
|
352
352
|
*/
|
|
353
|
-
export declare const putApiV21OrdersIdCallAction: (client: HttpClient,
|
|
353
|
+
export declare const putApiV21OrdersIdCallAction: (client: HttpClient, action: string, id: number, ApiV21OrdersIdCall: PutApiV21OrdersIdCall, params?: RequestParams) => Promise<void>;
|
|
354
354
|
/**
|
|
355
355
|
* @description Serial numbers are scanned and saved during the packing process.
|
|
356
356
|
*
|
|
@@ -37,7 +37,7 @@ export declare const putApiV2ShipnoticeItemsId: (client: HttpClient, id: number,
|
|
|
37
37
|
*/
|
|
38
38
|
export declare const getApiV2ShipnoticeItemsId: (client: HttpClient, id: number, params?: RequestParams) => Promise<APIV2EntitiesShipnoticeItem>;
|
|
39
39
|
/**
|
|
40
|
-
* @description Update
|
|
40
|
+
* @description Update ShipnoticeItem meta fields
|
|
41
41
|
*
|
|
42
42
|
* @tags shipnotice_items
|
|
43
43
|
* @name PutApiV2ShipnoticeItemsIdMetaFields
|
|
@@ -46,7 +46,7 @@ export declare const getApiV2ShipnoticeItemsId: (client: HttpClient, id: number,
|
|
|
46
46
|
*/
|
|
47
47
|
export declare const putApiV2ShipnoticeItemsIdMetaFields: (client: HttpClient, id: number, ApiV2ShipnoticeItemsIdMetaFields: PutApiV2ShipnoticeItemsIdMetaFields, params?: RequestParams) => Promise<void>;
|
|
48
48
|
/**
|
|
49
|
-
* @description Get the meta fields for a(n)
|
|
49
|
+
* @description Get the meta fields for a(n) ShipnoticeItem
|
|
50
50
|
*
|
|
51
51
|
* @tags shipnotice_items
|
|
52
52
|
* @name GetApiV2ShipnoticeItemsIdMetaFields
|
|
@@ -100,7 +100,7 @@ export declare const putApiV21ShipnoticeItemsId: (client: HttpClient, id: number
|
|
|
100
100
|
*/
|
|
101
101
|
export declare const getApiV21ShipnoticeItemsId: (client: HttpClient, id: number, params?: RequestParams) => Promise<APIV2EntitiesShipnoticeItem>;
|
|
102
102
|
/**
|
|
103
|
-
* @description Update
|
|
103
|
+
* @description Update ShipnoticeItem meta fields
|
|
104
104
|
*
|
|
105
105
|
* @tags shipnotice_items
|
|
106
106
|
* @name PutApiV21ShipnoticeItemsIdMetaFields
|
|
@@ -109,7 +109,7 @@ export declare const getApiV21ShipnoticeItemsId: (client: HttpClient, id: number
|
|
|
109
109
|
*/
|
|
110
110
|
export declare const putApiV21ShipnoticeItemsIdMetaFields: (client: HttpClient, id: number, ApiV21ShipnoticeItemsIdMetaFields: PutApiV21ShipnoticeItemsIdMetaFields, params?: RequestParams) => Promise<void>;
|
|
111
111
|
/**
|
|
112
|
-
* @description Get the meta fields for a(n)
|
|
112
|
+
* @description Get the meta fields for a(n) ShipnoticeItem
|
|
113
113
|
*
|
|
114
114
|
* @tags shipnotice_items
|
|
115
115
|
* @name GetApiV21ShipnoticeItemsIdMetaFields
|
|
@@ -118,7 +118,7 @@ export declare const postApiV2ShipnoticesIdShipnoticeItems: (client: HttpClient,
|
|
|
118
118
|
*/
|
|
119
119
|
export declare const getApiV2ShipnoticesIdShipnoticeItems: (client: HttpClient, { id, ...query }: GetApiV2ShipnoticesIdShipnoticeItemsParams, params?: RequestParams) => Promise<APIV2EntitiesShipnoticeItem[]>;
|
|
120
120
|
/**
|
|
121
|
-
* @description Update
|
|
121
|
+
* @description Update Shipnotice meta fields
|
|
122
122
|
*
|
|
123
123
|
* @tags shipnotices
|
|
124
124
|
* @name PutApiV2ShipnoticesIdMetaFields
|
|
@@ -127,7 +127,7 @@ export declare const getApiV2ShipnoticesIdShipnoticeItems: (client: HttpClient,
|
|
|
127
127
|
*/
|
|
128
128
|
export declare const putApiV2ShipnoticesIdMetaFields: (client: HttpClient, id: number, ApiV2ShipnoticesIdMetaFields: PutApiV2ShipnoticesIdMetaFields, params?: RequestParams) => Promise<void>;
|
|
129
129
|
/**
|
|
130
|
-
* @description Get the meta fields for a(n)
|
|
130
|
+
* @description Get the meta fields for a(n) Shipnotice
|
|
131
131
|
*
|
|
132
132
|
* @tags shipnotices
|
|
133
133
|
* @name GetApiV2ShipnoticesIdMetaFields
|
|
@@ -271,7 +271,7 @@ export declare const postApiV21ShipnoticesIdShipnoticeItems: (client: HttpClient
|
|
|
271
271
|
*/
|
|
272
272
|
export declare const getApiV21ShipnoticesIdShipnoticeItems: (client: HttpClient, { id, ...query }: GetApiV21ShipnoticesIdShipnoticeItemsParams, params?: RequestParams) => Promise<APIV2EntitiesShipnoticeItem[]>;
|
|
273
273
|
/**
|
|
274
|
-
* @description Update
|
|
274
|
+
* @description Update Shipnotice meta fields
|
|
275
275
|
*
|
|
276
276
|
* @tags shipnotices
|
|
277
277
|
* @name PutApiV21ShipnoticesIdMetaFields
|
|
@@ -280,7 +280,7 @@ export declare const getApiV21ShipnoticesIdShipnoticeItems: (client: HttpClient,
|
|
|
280
280
|
*/
|
|
281
281
|
export declare const putApiV21ShipnoticesIdMetaFields: (client: HttpClient, id: number, ApiV21ShipnoticesIdMetaFields: PutApiV21ShipnoticesIdMetaFields, params?: RequestParams) => Promise<void>;
|
|
282
282
|
/**
|
|
283
|
-
* @description Get the meta fields for a(n)
|
|
283
|
+
* @description Get the meta fields for a(n) Shipnotice
|
|
284
284
|
*
|
|
285
285
|
* @tags shipnotices
|
|
286
286
|
* @name GetApiV21ShipnoticesIdMetaFields
|
|
@@ -819,7 +819,7 @@ export interface APIV2EntitiesLot {
|
|
|
819
819
|
*/
|
|
820
820
|
shipnotice_item_id?: number;
|
|
821
821
|
}
|
|
822
|
-
/** Get the meta fields for a(n)
|
|
822
|
+
/** Get the meta fields for a(n) ConsumerReturn */
|
|
823
823
|
export interface APIV2EntitiesMetaFields {
|
|
824
824
|
/** Included meta fields for associations */
|
|
825
825
|
association_fields?: object;
|
|
@@ -5273,7 +5273,7 @@ export interface PostApiV2Items {
|
|
|
5273
5273
|
full_description?: string;
|
|
5274
5274
|
/** (deprecated) is the item hazmat? */
|
|
5275
5275
|
hazmat?: boolean;
|
|
5276
|
-
/** hazmat class
|
|
5276
|
+
/** hazmat class */
|
|
5277
5277
|
hazmat_type?: PostApiV2ItemsHazmatType;
|
|
5278
5278
|
/**
|
|
5279
5279
|
* the item height (in inches)
|
|
@@ -5396,7 +5396,7 @@ export interface PostApiV2Items {
|
|
|
5396
5396
|
*/
|
|
5397
5397
|
width?: number;
|
|
5398
5398
|
}
|
|
5399
|
-
/** hazmat class
|
|
5399
|
+
/** hazmat class */
|
|
5400
5400
|
export declare enum PostApiV2ItemsHazmatType {
|
|
5401
5401
|
ORMD = "ORMD",
|
|
5402
5402
|
LITHIUM = "LITHIUM",
|
|
@@ -6522,7 +6522,7 @@ export interface PutApiV21ConsumerReturns {
|
|
|
6522
6522
|
/** the tracking number of the consumer return */
|
|
6523
6523
|
tracking?: string;
|
|
6524
6524
|
}
|
|
6525
|
-
/** Update
|
|
6525
|
+
/** Update ConsumerReturn meta fields */
|
|
6526
6526
|
export interface PutApiV21ConsumerReturnsIdMetaFields {
|
|
6527
6527
|
/** Included meta fields for associations */
|
|
6528
6528
|
association_fields?: object;
|
|
@@ -6956,7 +6956,7 @@ export interface PutApiV21ItemsIdCall {
|
|
|
6956
6956
|
/** Method params */
|
|
6957
6957
|
args?: object;
|
|
6958
6958
|
}
|
|
6959
|
-
/** Update
|
|
6959
|
+
/** Update Item meta fields */
|
|
6960
6960
|
export interface PutApiV21ItemsIdMetaFields {
|
|
6961
6961
|
/** Included meta fields for associations */
|
|
6962
6962
|
association_fields?: object;
|
|
@@ -7857,7 +7857,7 @@ export interface PutApiV21OrderItemsIdCall {
|
|
|
7857
7857
|
/** Method params */
|
|
7858
7858
|
args?: object;
|
|
7859
7859
|
}
|
|
7860
|
-
/** Update
|
|
7860
|
+
/** Update OrderItem meta fields */
|
|
7861
7861
|
export interface PutApiV21OrderItemsIdMetaFields {
|
|
7862
7862
|
/** Included meta fields for associations */
|
|
7863
7863
|
association_fields?: object;
|
|
@@ -8085,7 +8085,7 @@ export interface PutApiV21OrdersIdCall {
|
|
|
8085
8085
|
/** Method params */
|
|
8086
8086
|
args?: object;
|
|
8087
8087
|
}
|
|
8088
|
-
/** Update
|
|
8088
|
+
/** Update Order meta fields */
|
|
8089
8089
|
export interface PutApiV21OrdersIdMetaFields {
|
|
8090
8090
|
/** Included meta fields for associations */
|
|
8091
8091
|
association_fields?: object;
|
|
@@ -8362,7 +8362,7 @@ export interface PutApiV21ShipnoticeItems {
|
|
|
8362
8362
|
*/
|
|
8363
8363
|
quantity?: number;
|
|
8364
8364
|
}
|
|
8365
|
-
/** Update
|
|
8365
|
+
/** Update ShipnoticeItem meta fields */
|
|
8366
8366
|
export interface PutApiV21ShipnoticeItemsIdMetaFields {
|
|
8367
8367
|
/** Included meta fields for associations */
|
|
8368
8368
|
association_fields?: object;
|
|
@@ -8487,7 +8487,7 @@ export interface PutApiV21Shipnotices {
|
|
|
8487
8487
|
/** shipnotice type (Shipnotice, ConsumerReturn) */
|
|
8488
8488
|
type?: string;
|
|
8489
8489
|
}
|
|
8490
|
-
/** Update
|
|
8490
|
+
/** Update Shipnotice meta fields */
|
|
8491
8491
|
export interface PutApiV21ShipnoticesIdMetaFields {
|
|
8492
8492
|
/** Included meta fields for associations */
|
|
8493
8493
|
association_fields?: object;
|
|
@@ -8690,7 +8690,7 @@ export interface PutApiV2ConsumerReturns {
|
|
|
8690
8690
|
/** the tracking number of the consumer return */
|
|
8691
8691
|
tracking?: string;
|
|
8692
8692
|
}
|
|
8693
|
-
/** Update
|
|
8693
|
+
/** Update ConsumerReturn meta fields */
|
|
8694
8694
|
export interface PutApiV2ConsumerReturnsIdMetaFields {
|
|
8695
8695
|
/** Included meta fields for associations */
|
|
8696
8696
|
association_fields?: object;
|
|
@@ -8991,7 +8991,7 @@ export interface PutApiV2Items {
|
|
|
8991
8991
|
full_description?: string;
|
|
8992
8992
|
/** (deprecated) is the item hazmat? */
|
|
8993
8993
|
hazmat?: boolean;
|
|
8994
|
-
/** hazmat class
|
|
8994
|
+
/** hazmat class */
|
|
8995
8995
|
hazmat_type?: PutApiV2ItemsHazmatType;
|
|
8996
8996
|
/**
|
|
8997
8997
|
* the item height (in inches)
|
|
@@ -9111,7 +9111,7 @@ export interface PutApiV2Items {
|
|
|
9111
9111
|
*/
|
|
9112
9112
|
width?: number;
|
|
9113
9113
|
}
|
|
9114
|
-
/** hazmat class
|
|
9114
|
+
/** hazmat class */
|
|
9115
9115
|
export declare enum PutApiV2ItemsHazmatType {
|
|
9116
9116
|
ORMD = "ORMD",
|
|
9117
9117
|
LITHIUM = "LITHIUM",
|
|
@@ -9122,7 +9122,7 @@ export interface PutApiV2ItemsIdCall {
|
|
|
9122
9122
|
/** Method params */
|
|
9123
9123
|
args?: object;
|
|
9124
9124
|
}
|
|
9125
|
-
/** Update
|
|
9125
|
+
/** Update Item meta fields */
|
|
9126
9126
|
export interface PutApiV2ItemsIdMetaFields {
|
|
9127
9127
|
/** Included meta fields for associations */
|
|
9128
9128
|
association_fields?: object;
|
|
@@ -9421,7 +9421,7 @@ export interface PutApiV2ItemsOriginator {
|
|
|
9421
9421
|
full_description?: string;
|
|
9422
9422
|
/** (deprecated) is the item hazmat? */
|
|
9423
9423
|
hazmat?: boolean;
|
|
9424
|
-
/** hazmat class
|
|
9424
|
+
/** hazmat class */
|
|
9425
9425
|
hazmat_type?: PutApiV2ItemsOriginatorHazmatType;
|
|
9426
9426
|
/**
|
|
9427
9427
|
* the item height (in inches)
|
|
@@ -9541,7 +9541,7 @@ export interface PutApiV2ItemsOriginator {
|
|
|
9541
9541
|
*/
|
|
9542
9542
|
width?: number;
|
|
9543
9543
|
}
|
|
9544
|
-
/** hazmat class
|
|
9544
|
+
/** hazmat class */
|
|
9545
9545
|
export declare enum PutApiV2ItemsOriginatorHazmatType {
|
|
9546
9546
|
ORMD = "ORMD",
|
|
9547
9547
|
LITHIUM = "LITHIUM",
|
|
@@ -10023,7 +10023,7 @@ export interface PutApiV2OrderItemsIdCall {
|
|
|
10023
10023
|
/** Method params */
|
|
10024
10024
|
args?: object;
|
|
10025
10025
|
}
|
|
10026
|
-
/** Update
|
|
10026
|
+
/** Update OrderItem meta fields */
|
|
10027
10027
|
export interface PutApiV2OrderItemsIdMetaFields {
|
|
10028
10028
|
/** Included meta fields for associations */
|
|
10029
10029
|
association_fields?: object;
|
|
@@ -10249,7 +10249,7 @@ export interface PutApiV2OrdersIdCall {
|
|
|
10249
10249
|
/** Method params */
|
|
10250
10250
|
args?: object;
|
|
10251
10251
|
}
|
|
10252
|
-
/** Update
|
|
10252
|
+
/** Update Order meta fields */
|
|
10253
10253
|
export interface PutApiV2OrdersIdMetaFields {
|
|
10254
10254
|
/** Included meta fields for associations */
|
|
10255
10255
|
association_fields?: object;
|
|
@@ -10524,7 +10524,7 @@ export interface PutApiV2ShipnoticeItems {
|
|
|
10524
10524
|
*/
|
|
10525
10525
|
quantity?: number;
|
|
10526
10526
|
}
|
|
10527
|
-
/** Update
|
|
10527
|
+
/** Update ShipnoticeItem meta fields */
|
|
10528
10528
|
export interface PutApiV2ShipnoticeItemsIdMetaFields {
|
|
10529
10529
|
/** Included meta fields for associations */
|
|
10530
10530
|
association_fields?: object;
|
|
@@ -10647,7 +10647,7 @@ export interface PutApiV2Shipnotices {
|
|
|
10647
10647
|
/** shipnotice type (Shipnotice, ConsumerReturn) */
|
|
10648
10648
|
type?: string;
|
|
10649
10649
|
}
|
|
10650
|
-
/** Update
|
|
10650
|
+
/** Update Shipnotice meta fields */
|
|
10651
10651
|
export interface PutApiV2ShipnoticesIdMetaFields {
|
|
10652
10652
|
/** Included meta fields for associations */
|
|
10653
10653
|
association_fields?: object;
|
|
@@ -96,7 +96,7 @@ export const getApiV2ConsumerReturnsOriginatorOriginatorId = (
|
|
|
96
96
|
});
|
|
97
97
|
};
|
|
98
98
|
/**
|
|
99
|
-
* @description Update
|
|
99
|
+
* @description Update ConsumerReturn meta fields
|
|
100
100
|
*
|
|
101
101
|
* @tags consumer_returns
|
|
102
102
|
* @name PutApiV2ConsumerReturnsIdMetaFields
|
|
@@ -118,7 +118,7 @@ export const putApiV2ConsumerReturnsIdMetaFields = (
|
|
|
118
118
|
});
|
|
119
119
|
};
|
|
120
120
|
/**
|
|
121
|
-
* @description Get the meta fields for a(n)
|
|
121
|
+
* @description Get the meta fields for a(n) ConsumerReturn
|
|
122
122
|
*
|
|
123
123
|
* @tags consumer_returns
|
|
124
124
|
* @name GetApiV2ConsumerReturnsIdMetaFields
|
|
@@ -336,7 +336,7 @@ export const getApiV21ConsumerReturnsOriginatorOriginatorId = (
|
|
|
336
336
|
});
|
|
337
337
|
};
|
|
338
338
|
/**
|
|
339
|
-
* @description Update
|
|
339
|
+
* @description Update ConsumerReturn meta fields
|
|
340
340
|
*
|
|
341
341
|
* @tags consumer_returns
|
|
342
342
|
* @name PutApiV21ConsumerReturnsIdMetaFields
|
|
@@ -358,7 +358,7 @@ export const putApiV21ConsumerReturnsIdMetaFields = (
|
|
|
358
358
|
});
|
|
359
359
|
};
|
|
360
360
|
/**
|
|
361
|
-
* @description Get the meta fields for a(n)
|
|
361
|
+
* @description Get the meta fields for a(n) ConsumerReturn
|
|
362
362
|
*
|
|
363
363
|
* @tags consumer_returns
|
|
364
364
|
* @name GetApiV21ConsumerReturnsIdMetaFields
|
package/generated/Items.ts
CHANGED
|
@@ -250,7 +250,7 @@ export const getApiV2ItemsOriginatorOriginatorId = (
|
|
|
250
250
|
});
|
|
251
251
|
};
|
|
252
252
|
/**
|
|
253
|
-
* @description Update
|
|
253
|
+
* @description Update Item meta fields
|
|
254
254
|
*
|
|
255
255
|
* @tags items
|
|
256
256
|
* @name PutApiV2ItemsIdMetaFields
|
|
@@ -272,7 +272,7 @@ export const putApiV2ItemsIdMetaFields = (
|
|
|
272
272
|
});
|
|
273
273
|
};
|
|
274
274
|
/**
|
|
275
|
-
* @description Get the meta fields for a(n)
|
|
275
|
+
* @description Get the meta fields for a(n) Item
|
|
276
276
|
*
|
|
277
277
|
* @tags items
|
|
278
278
|
* @name GetApiV2ItemsIdMetaFields
|
|
@@ -486,8 +486,8 @@ export const getApiV2ItemsCount = (client: HttpClient, query: GetApiV2ItemsCount
|
|
|
486
486
|
*/
|
|
487
487
|
export const putApiV2ItemsIdCallAction = (
|
|
488
488
|
client: HttpClient,
|
|
489
|
+
action: string,
|
|
489
490
|
id: number,
|
|
490
|
-
action: number,
|
|
491
491
|
ApiV2ItemsIdCall: PutApiV2ItemsIdCall,
|
|
492
492
|
params: RequestParams = {},
|
|
493
493
|
) => {
|
|
@@ -777,7 +777,7 @@ export const getApiV21ItemsOriginatorOriginatorId = (
|
|
|
777
777
|
});
|
|
778
778
|
};
|
|
779
779
|
/**
|
|
780
|
-
* @description Update
|
|
780
|
+
* @description Update Item meta fields
|
|
781
781
|
*
|
|
782
782
|
* @tags items
|
|
783
783
|
* @name PutApiV21ItemsIdMetaFields
|
|
@@ -799,7 +799,7 @@ export const putApiV21ItemsIdMetaFields = (
|
|
|
799
799
|
});
|
|
800
800
|
};
|
|
801
801
|
/**
|
|
802
|
-
* @description Get the meta fields for a(n)
|
|
802
|
+
* @description Get the meta fields for a(n) Item
|
|
803
803
|
*
|
|
804
804
|
* @tags items
|
|
805
805
|
* @name GetApiV21ItemsIdMetaFields
|
|
@@ -1016,8 +1016,8 @@ export const getApiV21ItemsCount = (
|
|
|
1016
1016
|
*/
|
|
1017
1017
|
export const putApiV21ItemsIdCallAction = (
|
|
1018
1018
|
client: HttpClient,
|
|
1019
|
+
action: string,
|
|
1019
1020
|
id: number,
|
|
1020
|
-
action: number,
|
|
1021
1021
|
ApiV21ItemsIdCall: PutApiV21ItemsIdCall,
|
|
1022
1022
|
params: RequestParams = {},
|
|
1023
1023
|
) => {
|
package/generated/OrderItems.ts
CHANGED
|
@@ -102,7 +102,7 @@ export const getApiV2OrderItemsId = (
|
|
|
102
102
|
});
|
|
103
103
|
};
|
|
104
104
|
/**
|
|
105
|
-
* @description Update
|
|
105
|
+
* @description Update OrderItem meta fields
|
|
106
106
|
*
|
|
107
107
|
* @tags order_items
|
|
108
108
|
* @name PutApiV2OrderItemsIdMetaFields
|
|
@@ -124,7 +124,7 @@ export const putApiV2OrderItemsIdMetaFields = (
|
|
|
124
124
|
});
|
|
125
125
|
};
|
|
126
126
|
/**
|
|
127
|
-
* @description Get the meta fields for a(n)
|
|
127
|
+
* @description Get the meta fields for a(n) OrderItem
|
|
128
128
|
*
|
|
129
129
|
* @tags order_items
|
|
130
130
|
* @name GetApiV2OrderItemsIdMetaFields
|
|
@@ -171,8 +171,8 @@ export const putApiV2OrderItemsIdSeparate = (client: HttpClient, id: number, par
|
|
|
171
171
|
*/
|
|
172
172
|
export const putApiV2OrderItemsIdCallAction = (
|
|
173
173
|
client: HttpClient,
|
|
174
|
+
action: string,
|
|
174
175
|
id: number,
|
|
175
|
-
action: number,
|
|
176
176
|
ApiV2OrderItemsIdCall: PutApiV2OrderItemsIdCall,
|
|
177
177
|
params: RequestParams = {},
|
|
178
178
|
) => {
|
|
@@ -275,7 +275,7 @@ export const getApiV21OrderItemsId = (
|
|
|
275
275
|
});
|
|
276
276
|
};
|
|
277
277
|
/**
|
|
278
|
-
* @description Update
|
|
278
|
+
* @description Update OrderItem meta fields
|
|
279
279
|
*
|
|
280
280
|
* @tags order_items
|
|
281
281
|
* @name PutApiV21OrderItemsIdMetaFields
|
|
@@ -297,7 +297,7 @@ export const putApiV21OrderItemsIdMetaFields = (
|
|
|
297
297
|
});
|
|
298
298
|
};
|
|
299
299
|
/**
|
|
300
|
-
* @description Get the meta fields for a(n)
|
|
300
|
+
* @description Get the meta fields for a(n) OrderItem
|
|
301
301
|
*
|
|
302
302
|
* @tags order_items
|
|
303
303
|
* @name GetApiV21OrderItemsIdMetaFields
|
|
@@ -344,8 +344,8 @@ export const putApiV21OrderItemsIdSeparate = (client: HttpClient, id: number, pa
|
|
|
344
344
|
*/
|
|
345
345
|
export const putApiV21OrderItemsIdCallAction = (
|
|
346
346
|
client: HttpClient,
|
|
347
|
+
action: string,
|
|
347
348
|
id: number,
|
|
348
|
-
action: number,
|
|
349
349
|
ApiV21OrderItemsIdCall: PutApiV21OrderItemsIdCall,
|
|
350
350
|
params: RequestParams = {},
|
|
351
351
|
) => {
|
package/generated/Orders.ts
CHANGED
|
@@ -267,7 +267,7 @@ export const getApiV2OrdersId = (client: HttpClient, id: number, params: Request
|
|
|
267
267
|
});
|
|
268
268
|
};
|
|
269
269
|
/**
|
|
270
|
-
* @description Update
|
|
270
|
+
* @description Update Order meta fields
|
|
271
271
|
*
|
|
272
272
|
* @tags orders
|
|
273
273
|
* @name PutApiV2OrdersIdMetaFields
|
|
@@ -289,7 +289,7 @@ export const putApiV2OrdersIdMetaFields = (
|
|
|
289
289
|
});
|
|
290
290
|
};
|
|
291
291
|
/**
|
|
292
|
-
* @description Get the meta fields for a(n)
|
|
292
|
+
* @description Get the meta fields for a(n) Order
|
|
293
293
|
*
|
|
294
294
|
* @tags orders
|
|
295
295
|
* @name GetApiV2OrdersIdMetaFields
|
|
@@ -428,8 +428,8 @@ export const getApiV2OrdersIdOrderItemsCount = (
|
|
|
428
428
|
*/
|
|
429
429
|
export const putApiV2OrdersIdCallAction = (
|
|
430
430
|
client: HttpClient,
|
|
431
|
+
action: string,
|
|
431
432
|
id: number,
|
|
432
|
-
action: number,
|
|
433
433
|
ApiV2OrdersIdCall: PutApiV2OrdersIdCall,
|
|
434
434
|
params: RequestParams = {},
|
|
435
435
|
) => {
|
|
@@ -670,7 +670,7 @@ export const getApiV21OrdersId = (client: HttpClient, id: number, params: Reques
|
|
|
670
670
|
});
|
|
671
671
|
};
|
|
672
672
|
/**
|
|
673
|
-
* @description Update
|
|
673
|
+
* @description Update Order meta fields
|
|
674
674
|
*
|
|
675
675
|
* @tags orders
|
|
676
676
|
* @name PutApiV21OrdersIdMetaFields
|
|
@@ -692,7 +692,7 @@ export const putApiV21OrdersIdMetaFields = (
|
|
|
692
692
|
});
|
|
693
693
|
};
|
|
694
694
|
/**
|
|
695
|
-
* @description Get the meta fields for a(n)
|
|
695
|
+
* @description Get the meta fields for a(n) Order
|
|
696
696
|
*
|
|
697
697
|
* @tags orders
|
|
698
698
|
* @name GetApiV21OrdersIdMetaFields
|
|
@@ -831,8 +831,8 @@ export const getApiV21OrdersIdOrderItemsCount = (
|
|
|
831
831
|
*/
|
|
832
832
|
export const putApiV21OrdersIdCallAction = (
|
|
833
833
|
client: HttpClient,
|
|
834
|
+
action: string,
|
|
834
835
|
id: number,
|
|
835
|
-
action: number,
|
|
836
836
|
ApiV21OrdersIdCall: PutApiV21OrdersIdCall,
|
|
837
837
|
params: RequestParams = {},
|
|
838
838
|
) => {
|
|
@@ -96,7 +96,7 @@ export const getApiV2ShipnoticeItemsId = (client: HttpClient, id: number, params
|
|
|
96
96
|
});
|
|
97
97
|
};
|
|
98
98
|
/**
|
|
99
|
-
* @description Update
|
|
99
|
+
* @description Update ShipnoticeItem meta fields
|
|
100
100
|
*
|
|
101
101
|
* @tags shipnotice_items
|
|
102
102
|
* @name PutApiV2ShipnoticeItemsIdMetaFields
|
|
@@ -118,7 +118,7 @@ export const putApiV2ShipnoticeItemsIdMetaFields = (
|
|
|
118
118
|
});
|
|
119
119
|
};
|
|
120
120
|
/**
|
|
121
|
-
* @description Get the meta fields for a(n)
|
|
121
|
+
* @description Get the meta fields for a(n) ShipnoticeItem
|
|
122
122
|
*
|
|
123
123
|
* @tags shipnotice_items
|
|
124
124
|
* @name GetApiV2ShipnoticeItemsIdMetaFields
|
|
@@ -230,7 +230,7 @@ export const getApiV21ShipnoticeItemsId = (client: HttpClient, id: number, param
|
|
|
230
230
|
});
|
|
231
231
|
};
|
|
232
232
|
/**
|
|
233
|
-
* @description Update
|
|
233
|
+
* @description Update ShipnoticeItem meta fields
|
|
234
234
|
*
|
|
235
235
|
* @tags shipnotice_items
|
|
236
236
|
* @name PutApiV21ShipnoticeItemsIdMetaFields
|
|
@@ -252,7 +252,7 @@ export const putApiV21ShipnoticeItemsIdMetaFields = (
|
|
|
252
252
|
});
|
|
253
253
|
};
|
|
254
254
|
/**
|
|
255
|
-
* @description Get the meta fields for a(n)
|
|
255
|
+
* @description Get the meta fields for a(n) ShipnoticeItem
|
|
256
256
|
*
|
|
257
257
|
* @tags shipnotice_items
|
|
258
258
|
* @name GetApiV21ShipnoticeItemsIdMetaFields
|