@sp-api-sdk/amazon-warehousing-and-distribution-api-2024-05-09 5.0.0 → 5.2.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.
package/dist/index.js CHANGED
@@ -1,1427 +1,2262 @@
1
- // src/client.ts
2
1
  import { createAxiosInstance } from "@sp-api-sdk/common";
3
-
4
- // src/api-model/api/amazon-warehousing-and-distribution-api.ts
5
- import globalAxios2 from "axios";
6
-
7
- // src/api-model/base.ts
8
2
  import globalAxios from "axios";
9
- var BASE_PATH = "https://sellingpartnerapi-na.amazon.com".replace(/\/+$/, "");
3
+ //#region src/api-model/base.ts
4
+ const BASE_PATH = "https://sellingpartnerapi-na.amazon.com".replace(/\/+$/, "");
10
5
  var BaseAPI = class {
11
- constructor(configuration, basePath = BASE_PATH, axios = globalAxios) {
12
- this.basePath = basePath;
13
- this.axios = axios;
14
- if (configuration) {
15
- this.configuration = configuration;
16
- this.basePath = configuration.basePath ?? basePath;
17
- }
18
- }
19
- basePath;
20
- axios;
21
- configuration;
6
+ basePath;
7
+ axios;
8
+ configuration;
9
+ constructor(configuration, basePath = BASE_PATH, axios = globalAxios) {
10
+ this.basePath = basePath;
11
+ this.axios = axios;
12
+ if (configuration) {
13
+ this.configuration = configuration;
14
+ this.basePath = configuration.basePath ?? basePath;
15
+ }
16
+ }
22
17
  };
23
18
  var RequiredError = class extends Error {
24
- constructor(field, msg) {
25
- super(msg);
26
- this.field = field;
27
- this.name = "RequiredError";
28
- }
29
- field;
19
+ field;
20
+ constructor(field, msg) {
21
+ super(msg);
22
+ this.field = field;
23
+ this.name = "RequiredError";
24
+ }
30
25
  };
31
- var operationServerMap = {};
32
-
33
- // src/api-model/common.ts
34
- var DUMMY_BASE_URL = "https://example.com";
35
- var assertParamExists = function(functionName, paramName, paramValue) {
36
- if (paramValue === null || paramValue === void 0) {
37
- throw new RequiredError(paramName, `Required parameter ${paramName} was null or undefined when calling ${functionName}.`);
38
- }
26
+ const operationServerMap = {};
27
+ //#endregion
28
+ //#region src/api-model/common.ts
29
+ const DUMMY_BASE_URL = "https://example.com";
30
+ /**
31
+ *
32
+ * @throws {RequiredError}
33
+ */
34
+ const assertParamExists = function(functionName, paramName, paramValue) {
35
+ if (paramValue === null || paramValue === void 0) throw new RequiredError(paramName, `Required parameter ${paramName} was null or undefined when calling ${functionName}.`);
39
36
  };
40
37
  function setFlattenedQueryParams(urlSearchParams, parameter, key = "") {
41
- if (parameter == null) return;
42
- if (typeof parameter === "object") {
43
- if (Array.isArray(parameter) || parameter instanceof Set) {
44
- parameter.forEach((item) => setFlattenedQueryParams(urlSearchParams, item, key));
45
- } else {
46
- Object.keys(parameter).forEach(
47
- (currentKey) => setFlattenedQueryParams(urlSearchParams, parameter[currentKey], `${key}${key !== "" ? "." : ""}${currentKey}`)
48
- );
49
- }
50
- } else {
51
- if (urlSearchParams.has(key)) {
52
- urlSearchParams.append(key, parameter);
53
- } else {
54
- urlSearchParams.set(key, parameter);
55
- }
56
- }
38
+ if (parameter == null) return;
39
+ if (typeof parameter === "object") if (Array.isArray(parameter) || parameter instanceof Set) parameter.forEach((item) => setFlattenedQueryParams(urlSearchParams, item, key));
40
+ else Object.keys(parameter).forEach((currentKey) => setFlattenedQueryParams(urlSearchParams, parameter[currentKey], `${key}${key !== "" ? "." : ""}${currentKey}`));
41
+ else if (urlSearchParams.has(key)) urlSearchParams.append(key, parameter);
42
+ else urlSearchParams.set(key, parameter);
57
43
  }
58
- var setSearchParams = function(url, ...objects) {
59
- const searchParams = new URLSearchParams(url.search);
60
- setFlattenedQueryParams(searchParams, objects);
61
- url.search = searchParams.toString();
44
+ const setSearchParams = function(url, ...objects) {
45
+ const searchParams = new URLSearchParams(url.search);
46
+ setFlattenedQueryParams(searchParams, objects);
47
+ url.search = searchParams.toString();
62
48
  };
63
- var replaceWithSerializableTypeIfNeeded = function(key, value) {
64
- if (value instanceof Set) {
65
- return Array.from(value);
66
- } else {
67
- return value;
68
- }
49
+ /**
50
+ * JSON serialization helper function which replaces instances of unserializable types with serializable ones.
51
+ * This function will run for every key-value pair encountered by JSON.stringify while traversing an object.
52
+ * Converting a set to a string will return an empty object, so an intermediate conversion to an array is required.
53
+ */
54
+ const replaceWithSerializableTypeIfNeeded = function(key, value) {
55
+ if (value instanceof Set) return Array.from(value);
56
+ else return value;
69
57
  };
70
- var serializeDataIfNeeded = function(value, requestOptions, configuration) {
71
- const nonString = typeof value !== "string";
72
- const needsSerialization = nonString && configuration && configuration.isJsonMime ? configuration.isJsonMime(requestOptions.headers["Content-Type"]) : nonString;
73
- return needsSerialization ? JSON.stringify(value !== void 0 ? value : {}, replaceWithSerializableTypeIfNeeded) : value || "";
58
+ const serializeDataIfNeeded = function(value, requestOptions, configuration) {
59
+ const nonString = typeof value !== "string";
60
+ return (nonString && configuration && configuration.isJsonMime ? configuration.isJsonMime(requestOptions.headers["Content-Type"]) : nonString) ? JSON.stringify(value !== void 0 ? value : {}, replaceWithSerializableTypeIfNeeded) : value || "";
74
61
  };
75
- var toPathString = function(url) {
76
- return url.pathname + url.search + url.hash;
62
+ const toPathString = function(url) {
63
+ return url.pathname + url.search + url.hash;
77
64
  };
78
- var createRequestFunction = function(axiosArgs, globalAxios3, BASE_PATH2, configuration) {
79
- return (axios = globalAxios3, basePath = BASE_PATH2) => {
80
- const axiosRequestArgs = { ...axiosArgs.options, url: (axios.defaults.baseURL ? "" : configuration?.basePath ?? basePath) + axiosArgs.url };
81
- return axios.request(axiosRequestArgs);
82
- };
65
+ const createRequestFunction = function(axiosArgs, globalAxios, BASE_PATH, configuration) {
66
+ return (axios = globalAxios, basePath = BASE_PATH) => {
67
+ const axiosRequestArgs = {
68
+ ...axiosArgs.options,
69
+ url: (axios.defaults.baseURL ? "" : configuration?.basePath ?? basePath) + axiosArgs.url
70
+ };
71
+ return axios.request(axiosRequestArgs);
72
+ };
83
73
  };
84
-
85
- // src/api-model/api/amazon-warehousing-and-distribution-api.ts
86
- var AmazonWarehousingAndDistributionApiAxiosParamCreator = function(configuration) {
87
- return {
88
- /**
89
- * Cancels an AWD Inbound order and its associated shipment. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
90
- * @param {string} orderId The ID of the inbound order you want to cancel.
91
- * @param {*} [options] Override http request option.
92
- * @throws {RequiredError}
93
- */
94
- cancelInbound: async (orderId, options = {}) => {
95
- assertParamExists("cancelInbound", "orderId", orderId);
96
- const localVarPath = `/awd/2024-05-09/inboundOrders/{orderId}/cancellation`.replace("{orderId}", encodeURIComponent(String(orderId)));
97
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
98
- let baseOptions;
99
- if (configuration) {
100
- baseOptions = configuration.baseOptions;
101
- }
102
- const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
103
- const localVarHeaderParameter = {};
104
- const localVarQueryParameter = {};
105
- localVarHeaderParameter["Accept"] = "application/json";
106
- setSearchParams(localVarUrlObj, localVarQueryParameter);
107
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
108
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
109
- return {
110
- url: toPathString(localVarUrlObj),
111
- options: localVarRequestOptions
112
- };
113
- },
114
- /**
115
- * Determines if the packages you specify are eligible for an AWD inbound order and contains error details for ineligible packages. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
116
- * @param {InboundPackages} body Represents the packages you want to inbound.
117
- * @param {*} [options] Override http request option.
118
- * @throws {RequiredError}
119
- */
120
- checkInboundEligibility: async (body, options = {}) => {
121
- assertParamExists("checkInboundEligibility", "body", body);
122
- const localVarPath = `/awd/2024-05-09/inboundEligibility`;
123
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
124
- let baseOptions;
125
- if (configuration) {
126
- baseOptions = configuration.baseOptions;
127
- }
128
- const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
129
- const localVarHeaderParameter = {};
130
- const localVarQueryParameter = {};
131
- localVarHeaderParameter["Content-Type"] = "application/json";
132
- localVarHeaderParameter["Accept"] = "application/json";
133
- setSearchParams(localVarUrlObj, localVarQueryParameter);
134
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
135
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
136
- localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
137
- return {
138
- url: toPathString(localVarUrlObj),
139
- options: localVarRequestOptions
140
- };
141
- },
142
- /**
143
- * Confirms an AWD inbound order in `DRAFT` status. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
144
- * @param {string} orderId The ID of the inbound order that you want to confirm.
145
- * @param {*} [options] Override http request option.
146
- * @throws {RequiredError}
147
- */
148
- confirmInbound: async (orderId, options = {}) => {
149
- assertParamExists("confirmInbound", "orderId", orderId);
150
- const localVarPath = `/awd/2024-05-09/inboundOrders/{orderId}/confirmation`.replace("{orderId}", encodeURIComponent(String(orderId)));
151
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
152
- let baseOptions;
153
- if (configuration) {
154
- baseOptions = configuration.baseOptions;
155
- }
156
- const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
157
- const localVarHeaderParameter = {};
158
- const localVarQueryParameter = {};
159
- localVarHeaderParameter["Accept"] = "application/json";
160
- setSearchParams(localVarUrlObj, localVarQueryParameter);
161
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
162
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
163
- return {
164
- url: toPathString(localVarUrlObj),
165
- options: localVarRequestOptions
166
- };
167
- },
168
- /**
169
- * Confirms an AWD replenishment order in ELIGIBLE state with a set of shipments containing items that are needed to be replenished to an FBA node. Order can only be confirmed in ELIGIBLE state.
170
- * @param {string} orderId ID of the replenishment order to be confirmed.
171
- * @param {*} [options] Override http request option.
172
- * @throws {RequiredError}
173
- */
174
- confirmReplenishmentOrder: async (orderId, options = {}) => {
175
- assertParamExists("confirmReplenishmentOrder", "orderId", orderId);
176
- const localVarPath = `/awd/2024-05-09/replenishmentOrders/{orderId}/confirmation`.replace("{orderId}", encodeURIComponent(String(orderId)));
177
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
178
- let baseOptions;
179
- if (configuration) {
180
- baseOptions = configuration.baseOptions;
181
- }
182
- const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
183
- const localVarHeaderParameter = {};
184
- const localVarQueryParameter = {};
185
- localVarHeaderParameter["Accept"] = "application/json";
186
- setSearchParams(localVarUrlObj, localVarQueryParameter);
187
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
188
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
189
- return {
190
- url: toPathString(localVarUrlObj),
191
- options: localVarRequestOptions
192
- };
193
- },
194
- /**
195
- * Creates a draft AWD inbound order with a list of packages for inbound shipment. The operation creates one shipment per order. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
196
- * @param {InboundOrderCreationData} body Payload for creating an inbound order.
197
- * @param {*} [options] Override http request option.
198
- * @throws {RequiredError}
199
- */
200
- createInbound: async (body, options = {}) => {
201
- assertParamExists("createInbound", "body", body);
202
- const localVarPath = `/awd/2024-05-09/inboundOrders`;
203
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
204
- let baseOptions;
205
- if (configuration) {
206
- baseOptions = configuration.baseOptions;
207
- }
208
- const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
209
- const localVarHeaderParameter = {};
210
- const localVarQueryParameter = {};
211
- localVarHeaderParameter["Content-Type"] = "application/json";
212
- localVarHeaderParameter["Accept"] = "application/json";
213
- setSearchParams(localVarUrlObj, localVarQueryParameter);
214
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
215
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
216
- localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
217
- return {
218
- url: toPathString(localVarUrlObj),
219
- options: localVarRequestOptions
220
- };
221
- },
222
- /**
223
- * Creates an AWD replenishment order with given products to replenish. The API will return the order ID of the newly created order and also start an async validation check on the products to e. The order status will transition to ELIGIBLE/INELIGIBLE status from VALIDATING post validation check
224
- * @param {ReplenishmentOrderCreationData} body Payload for creating a replenishment order.
225
- * @param {*} [options] Override http request option.
226
- * @throws {RequiredError}
227
- */
228
- createReplenishmentOrder: async (body, options = {}) => {
229
- assertParamExists("createReplenishmentOrder", "body", body);
230
- const localVarPath = `/awd/2024-05-09/replenishmentOrders`;
231
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
232
- let baseOptions;
233
- if (configuration) {
234
- baseOptions = configuration.baseOptions;
235
- }
236
- const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
237
- const localVarHeaderParameter = {};
238
- const localVarQueryParameter = {};
239
- localVarHeaderParameter["Content-Type"] = "application/json";
240
- localVarHeaderParameter["Accept"] = "application/json";
241
- setSearchParams(localVarUrlObj, localVarQueryParameter);
242
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
243
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
244
- localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
245
- return {
246
- url: toPathString(localVarUrlObj),
247
- options: localVarRequestOptions
248
- };
249
- },
250
- /**
251
- * Retrieves an AWD inbound order. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 2 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
252
- * @param {string} orderId The ID of the inbound order that you want to retrieve.
253
- * @param {*} [options] Override http request option.
254
- * @throws {RequiredError}
255
- */
256
- getInbound: async (orderId, options = {}) => {
257
- assertParamExists("getInbound", "orderId", orderId);
258
- const localVarPath = `/awd/2024-05-09/inboundOrders/{orderId}`.replace("{orderId}", encodeURIComponent(String(orderId)));
259
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
260
- let baseOptions;
261
- if (configuration) {
262
- baseOptions = configuration.baseOptions;
263
- }
264
- const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
265
- const localVarHeaderParameter = {};
266
- const localVarQueryParameter = {};
267
- localVarHeaderParameter["Accept"] = "application/json";
268
- setSearchParams(localVarUrlObj, localVarQueryParameter);
269
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
270
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
271
- return {
272
- url: toPathString(localVarUrlObj),
273
- options: localVarRequestOptions
274
- };
275
- },
276
- /**
277
- * Retrieves an AWD inbound shipment. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 2 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api)
278
- * @param {string} shipmentId ID for the shipment. A shipment contains the cases being inbounded.
279
- * @param {GetInboundShipmentSkuQuantitiesEnum} [skuQuantities] If equal to `SHOW`, the response includes the shipment SKU quantity details. Defaults to `HIDE`, in which case the response does not contain SKU quantities
280
- * @param {*} [options] Override http request option.
281
- * @throws {RequiredError}
282
- */
283
- getInboundShipment: async (shipmentId, skuQuantities, options = {}) => {
284
- assertParamExists("getInboundShipment", "shipmentId", shipmentId);
285
- const localVarPath = `/awd/2024-05-09/inboundShipments/{shipmentId}`.replace("{shipmentId}", encodeURIComponent(String(shipmentId)));
286
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
287
- let baseOptions;
288
- if (configuration) {
289
- baseOptions = configuration.baseOptions;
290
- }
291
- const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
292
- const localVarHeaderParameter = {};
293
- const localVarQueryParameter = {};
294
- if (skuQuantities !== void 0) {
295
- localVarQueryParameter["skuQuantities"] = skuQuantities;
296
- }
297
- localVarHeaderParameter["Accept"] = "application/json";
298
- setSearchParams(localVarUrlObj, localVarQueryParameter);
299
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
300
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
301
- return {
302
- url: toPathString(localVarUrlObj),
303
- options: localVarRequestOptions
304
- };
305
- },
306
- /**
307
- * Retrieves the box labels for a shipment ID that you specify. This is an asynchronous operation. If the label status is `GENERATED`, then the label URL is available. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 2 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
308
- * @param {string} shipmentId ID for the shipment.
309
- * @param {GetInboundShipmentLabelsPageTypeEnum} [pageType] Page type for the generated labels. The default is `PLAIN_PAPER`.
310
- * @param {GetInboundShipmentLabelsFormatTypeEnum} [formatType] The format type of the output file that contains your labels. The default format type is `PDF`.
311
- * @param {*} [options] Override http request option.
312
- * @throws {RequiredError}
313
- */
314
- getInboundShipmentLabels: async (shipmentId, pageType, formatType, options = {}) => {
315
- assertParamExists("getInboundShipmentLabels", "shipmentId", shipmentId);
316
- const localVarPath = `/awd/2024-05-09/inboundShipments/{shipmentId}/labels`.replace("{shipmentId}", encodeURIComponent(String(shipmentId)));
317
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
318
- let baseOptions;
319
- if (configuration) {
320
- baseOptions = configuration.baseOptions;
321
- }
322
- const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
323
- const localVarHeaderParameter = {};
324
- const localVarQueryParameter = {};
325
- if (pageType !== void 0) {
326
- localVarQueryParameter["pageType"] = pageType;
327
- }
328
- if (formatType !== void 0) {
329
- localVarQueryParameter["formatType"] = formatType;
330
- }
331
- localVarHeaderParameter["Accept"] = "application/json";
332
- setSearchParams(localVarUrlObj, localVarQueryParameter);
333
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
334
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
335
- return {
336
- url: toPathString(localVarUrlObj),
337
- options: localVarRequestOptions
338
- };
339
- },
340
- /**
341
- * Retrieves an AWD Replenishment order with a set of shipments containing items that is/was planned to be replenished into an FBA node.
342
- * @param {string} orderId ID of the replenishment order to be retrieved.
343
- * @param {*} [options] Override http request option.
344
- * @throws {RequiredError}
345
- */
346
- getReplenishmentOrder: async (orderId, options = {}) => {
347
- assertParamExists("getReplenishmentOrder", "orderId", orderId);
348
- const localVarPath = `/awd/2024-05-09/replenishmentOrders/{orderId}`.replace("{orderId}", encodeURIComponent(String(orderId)));
349
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
350
- let baseOptions;
351
- if (configuration) {
352
- baseOptions = configuration.baseOptions;
353
- }
354
- const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
355
- const localVarHeaderParameter = {};
356
- const localVarQueryParameter = {};
357
- localVarHeaderParameter["Accept"] = "application/json";
358
- setSearchParams(localVarUrlObj, localVarQueryParameter);
359
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
360
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
361
- return {
362
- url: toPathString(localVarUrlObj),
363
- options: localVarRequestOptions
364
- };
365
- },
366
- /**
367
- * Retrieves a summary of all the inbound AWD shipments associated with a merchant, with the ability to apply optional filters. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
368
- * @param {ListInboundShipmentsSortByEnum} [sortBy] Field to sort results by. By default, the response will be sorted by UPDATED_AT.
369
- * @param {ListInboundShipmentsSortOrderEnum} [sortOrder] Sort the response in ASCENDING or DESCENDING order. By default, the response will be sorted in DESCENDING order.
370
- * @param {ListInboundShipmentsShipmentStatusEnum} [shipmentStatus] Filter by inbound shipment status.
371
- * @param {string} [updatedAfter] List the inbound shipments that were updated after a certain time (inclusive). The date must be in <a href=\'https://developer-docs.amazon.com/sp-api/docs/iso-8601\'>ISO 8601</a> format.
372
- * @param {string} [updatedBefore] List the inbound shipments that were updated before a certain time (inclusive). The date must be in <a href=\'https://developer-docs.amazon.com/sp-api/docs/iso-8601\'>ISO 8601</a> format.
373
- * @param {number} [maxResults] Maximum number of results to return.
374
- * @param {string} [nextToken] A token that is used to retrieve the next page of results. The response includes `nextToken` when the number of results exceeds the specified `maxResults` value. To get the next page of results, call the operation with this token and include the same arguments as the call that produced the token. To get a complete list, call this operation until `nextToken` is null. Note that this operation can return empty pages.
375
- * @param {*} [options] Override http request option.
376
- * @throws {RequiredError}
377
- */
378
- listInboundShipments: async (sortBy, sortOrder, shipmentStatus, updatedAfter, updatedBefore, maxResults, nextToken, options = {}) => {
379
- const localVarPath = `/awd/2024-05-09/inboundShipments`;
380
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
381
- let baseOptions;
382
- if (configuration) {
383
- baseOptions = configuration.baseOptions;
384
- }
385
- const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
386
- const localVarHeaderParameter = {};
387
- const localVarQueryParameter = {};
388
- if (sortBy !== void 0) {
389
- localVarQueryParameter["sortBy"] = sortBy;
390
- }
391
- if (sortOrder !== void 0) {
392
- localVarQueryParameter["sortOrder"] = sortOrder;
393
- }
394
- if (shipmentStatus !== void 0) {
395
- localVarQueryParameter["shipmentStatus"] = shipmentStatus;
396
- }
397
- if (updatedAfter !== void 0) {
398
- localVarQueryParameter["updatedAfter"] = updatedAfter instanceof Date ? updatedAfter.toISOString() : updatedAfter;
399
- }
400
- if (updatedBefore !== void 0) {
401
- localVarQueryParameter["updatedBefore"] = updatedBefore instanceof Date ? updatedBefore.toISOString() : updatedBefore;
402
- }
403
- if (maxResults !== void 0) {
404
- localVarQueryParameter["maxResults"] = maxResults;
405
- }
406
- if (nextToken !== void 0) {
407
- localVarQueryParameter["nextToken"] = nextToken;
408
- }
409
- localVarHeaderParameter["Accept"] = "application/json";
410
- setSearchParams(localVarUrlObj, localVarQueryParameter);
411
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
412
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
413
- return {
414
- url: toPathString(localVarUrlObj),
415
- options: localVarRequestOptions
416
- };
417
- },
418
- /**
419
- * Lists AWD inventory associated with a merchant with the ability to apply optional filters. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 2 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
420
- * @param {string} [sku] Filter by seller or merchant SKU for the item.
421
- * @param {ListInventorySortOrderEnum} [sortOrder] Sort the response in `ASCENDING` or `DESCENDING` order.
422
- * @param {ListInventoryDetailsEnum} [details] Set to `SHOW` to return summaries with additional inventory details. Defaults to `HIDE,` which returns only inventory summary totals.
423
- * @param {string} [nextToken] A token that is used to retrieve the next page of results. The response includes `nextToken` when the number of results exceeds the specified `maxResults` value. To get the next page of results, call the operation with this token and include the same arguments as the call that produced the token. To get a complete list, call this operation until `nextToken` is null. Note that this operation can return empty pages.
424
- * @param {number} [maxResults] Maximum number of results to return.
425
- * @param {*} [options] Override http request option.
426
- * @throws {RequiredError}
427
- */
428
- listInventory: async (sku, sortOrder, details, nextToken, maxResults, options = {}) => {
429
- const localVarPath = `/awd/2024-05-09/inventory`;
430
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
431
- let baseOptions;
432
- if (configuration) {
433
- baseOptions = configuration.baseOptions;
434
- }
435
- const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
436
- const localVarHeaderParameter = {};
437
- const localVarQueryParameter = {};
438
- if (sku !== void 0) {
439
- localVarQueryParameter["sku"] = sku;
440
- }
441
- if (sortOrder !== void 0) {
442
- localVarQueryParameter["sortOrder"] = sortOrder;
443
- }
444
- if (details !== void 0) {
445
- localVarQueryParameter["details"] = details;
446
- }
447
- if (nextToken !== void 0) {
448
- localVarQueryParameter["nextToken"] = nextToken;
449
- }
450
- if (maxResults !== void 0) {
451
- localVarQueryParameter["maxResults"] = maxResults;
452
- }
453
- localVarHeaderParameter["Accept"] = "application/json";
454
- setSearchParams(localVarUrlObj, localVarQueryParameter);
455
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
456
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
457
- return {
458
- url: toPathString(localVarUrlObj),
459
- options: localVarRequestOptions
460
- };
461
- },
462
- /**
463
- * Retrieves all the AWD replenishment orders pertaining to a merchant with optional filters. API by default will sort orders by updatedAt attribute in descending order.
464
- * @param {string} [updatedAfter] Get the replenishment orders updated after certain time (Inclusive) Date should be in ISO 8601 format as defined by date-time in - https://www.rfc-editor.org/rfc/rfc3339.
465
- * @param {string} [updatedBefore] Get the replenishment orders updated before certain time (Inclusive) Date should be in ISO 8601 format as defined by date-time in - https://www.rfc-editor.org/rfc/rfc3339.
466
- * @param {ListReplenishmentOrdersSortOrderEnum} [sortOrder] Sort the response in ASCENDING or DESCENDING order. The default sort order is DESCENDING.
467
- * @param {number} [maxResults] Maximum results to be returned in a single response.
468
- * @param {string} [nextToken] A token that is used to retrieve the next page of results. The response includes `nextToken` when the number of results exceeds the specified `maxResults` value. To get the next page of results, call the operation with this token and include the same arguments as the call that produced the token. To get a complete list, call this operation until `nextToken` is null. Note that this operation can return empty pages.
469
- * @param {*} [options] Override http request option.
470
- * @throws {RequiredError}
471
- */
472
- listReplenishmentOrders: async (updatedAfter, updatedBefore, sortOrder, maxResults, nextToken, options = {}) => {
473
- const localVarPath = `/awd/2024-05-09/replenishmentOrders`;
474
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
475
- let baseOptions;
476
- if (configuration) {
477
- baseOptions = configuration.baseOptions;
478
- }
479
- const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
480
- const localVarHeaderParameter = {};
481
- const localVarQueryParameter = {};
482
- if (updatedAfter !== void 0) {
483
- localVarQueryParameter["updatedAfter"] = updatedAfter instanceof Date ? updatedAfter.toISOString() : updatedAfter;
484
- }
485
- if (updatedBefore !== void 0) {
486
- localVarQueryParameter["updatedBefore"] = updatedBefore instanceof Date ? updatedBefore.toISOString() : updatedBefore;
487
- }
488
- if (sortOrder !== void 0) {
489
- localVarQueryParameter["sortOrder"] = sortOrder;
490
- }
491
- if (maxResults !== void 0) {
492
- localVarQueryParameter["maxResults"] = maxResults;
493
- }
494
- if (nextToken !== void 0) {
495
- localVarQueryParameter["nextToken"] = nextToken;
496
- }
497
- localVarHeaderParameter["Accept"] = "application/json";
498
- setSearchParams(localVarUrlObj, localVarQueryParameter);
499
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
500
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
501
- return {
502
- url: toPathString(localVarUrlObj),
503
- options: localVarRequestOptions
504
- };
505
- },
506
- /**
507
- * Updates an AWD inbound order that is in `DRAFT` status and not yet confirmed. Use this operation to update the `packagesToInbound`, `originAddress` and `preferences` attributes. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
508
- * @param {string} orderId The ID of the inbound order that you want to update.
509
- * @param {InboundOrder} body Represents an AWD inbound order.
510
- * @param {*} [options] Override http request option.
511
- * @throws {RequiredError}
512
- */
513
- updateInbound: async (orderId, body, options = {}) => {
514
- assertParamExists("updateInbound", "orderId", orderId);
515
- assertParamExists("updateInbound", "body", body);
516
- const localVarPath = `/awd/2024-05-09/inboundOrders/{orderId}`.replace("{orderId}", encodeURIComponent(String(orderId)));
517
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
518
- let baseOptions;
519
- if (configuration) {
520
- baseOptions = configuration.baseOptions;
521
- }
522
- const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
523
- const localVarHeaderParameter = {};
524
- const localVarQueryParameter = {};
525
- localVarHeaderParameter["Content-Type"] = "application/json";
526
- localVarHeaderParameter["Accept"] = "application/json";
527
- setSearchParams(localVarUrlObj, localVarQueryParameter);
528
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
529
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
530
- localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
531
- return {
532
- url: toPathString(localVarUrlObj),
533
- options: localVarRequestOptions
534
- };
535
- },
536
- /**
537
- * Updates transport details for an AWD shipment. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
538
- * @param {string} shipmentId The shipment ID.
539
- * @param {TransportationDetails} body Transportation details for the shipment.
540
- * @param {*} [options] Override http request option.
541
- * @throws {RequiredError}
542
- */
543
- updateInboundShipmentTransportDetails: async (shipmentId, body, options = {}) => {
544
- assertParamExists("updateInboundShipmentTransportDetails", "shipmentId", shipmentId);
545
- assertParamExists("updateInboundShipmentTransportDetails", "body", body);
546
- const localVarPath = `/awd/2024-05-09/inboundShipments/{shipmentId}/transport`.replace("{shipmentId}", encodeURIComponent(String(shipmentId)));
547
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
548
- let baseOptions;
549
- if (configuration) {
550
- baseOptions = configuration.baseOptions;
551
- }
552
- const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
553
- const localVarHeaderParameter = {};
554
- const localVarQueryParameter = {};
555
- localVarHeaderParameter["Content-Type"] = "application/json";
556
- localVarHeaderParameter["Accept"] = "application/json";
557
- setSearchParams(localVarUrlObj, localVarQueryParameter);
558
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
559
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
560
- localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
561
- return {
562
- url: toPathString(localVarUrlObj),
563
- options: localVarRequestOptions
564
- };
565
- }
566
- };
74
+ //#endregion
75
+ //#region src/api-model/api/amazon-warehousing-and-distribution-api.ts
76
+ /**
77
+ * AmazonWarehousingAndDistributionApi - axios parameter creator
78
+ */
79
+ const AmazonWarehousingAndDistributionApiAxiosParamCreator = function(configuration) {
80
+ return {
81
+ /**
82
+ * Cancels an AWD Inbound order and its associated shipment. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
83
+ * @param {string} orderId The ID of the inbound order you want to cancel.
84
+ * @param {*} [options] Override http request option.
85
+ * @throws {RequiredError}
86
+ */
87
+ cancelInbound: async (orderId, options = {}) => {
88
+ assertParamExists("cancelInbound", "orderId", orderId);
89
+ const localVarPath = `/awd/2024-05-09/inboundOrders/{orderId}/cancellation`.replace("{orderId}", encodeURIComponent(String(orderId)));
90
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
91
+ let baseOptions;
92
+ if (configuration) baseOptions = configuration.baseOptions;
93
+ const localVarRequestOptions = {
94
+ method: "POST",
95
+ ...baseOptions,
96
+ ...options
97
+ };
98
+ const localVarHeaderParameter = {};
99
+ const localVarQueryParameter = {};
100
+ localVarHeaderParameter["Accept"] = "application/json";
101
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
102
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
103
+ localVarRequestOptions.headers = {
104
+ ...localVarHeaderParameter,
105
+ ...headersFromBaseOptions,
106
+ ...options.headers
107
+ };
108
+ return {
109
+ url: toPathString(localVarUrlObj),
110
+ options: localVarRequestOptions
111
+ };
112
+ },
113
+ /**
114
+ * Determines if the packages you specify are eligible for an AWD inbound order and contains error details for ineligible packages. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
115
+ * @param {InboundPackages} body Represents the packages you want to inbound.
116
+ * @param {*} [options] Override http request option.
117
+ * @throws {RequiredError}
118
+ */
119
+ checkInboundEligibility: async (body, options = {}) => {
120
+ assertParamExists("checkInboundEligibility", "body", body);
121
+ const localVarUrlObj = new URL(`/awd/2024-05-09/inboundEligibility`, DUMMY_BASE_URL);
122
+ let baseOptions;
123
+ if (configuration) baseOptions = configuration.baseOptions;
124
+ const localVarRequestOptions = {
125
+ method: "POST",
126
+ ...baseOptions,
127
+ ...options
128
+ };
129
+ const localVarHeaderParameter = {};
130
+ const localVarQueryParameter = {};
131
+ localVarHeaderParameter["Content-Type"] = "application/json";
132
+ localVarHeaderParameter["Accept"] = "application/json";
133
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
134
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
135
+ localVarRequestOptions.headers = {
136
+ ...localVarHeaderParameter,
137
+ ...headersFromBaseOptions,
138
+ ...options.headers
139
+ };
140
+ localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
141
+ return {
142
+ url: toPathString(localVarUrlObj),
143
+ options: localVarRequestOptions
144
+ };
145
+ },
146
+ /**
147
+ * Confirms an AWD inbound order in `DRAFT` status. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
148
+ * @param {string} orderId The ID of the inbound order that you want to confirm.
149
+ * @param {*} [options] Override http request option.
150
+ * @throws {RequiredError}
151
+ */
152
+ confirmInbound: async (orderId, options = {}) => {
153
+ assertParamExists("confirmInbound", "orderId", orderId);
154
+ const localVarPath = `/awd/2024-05-09/inboundOrders/{orderId}/confirmation`.replace("{orderId}", encodeURIComponent(String(orderId)));
155
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
156
+ let baseOptions;
157
+ if (configuration) baseOptions = configuration.baseOptions;
158
+ const localVarRequestOptions = {
159
+ method: "POST",
160
+ ...baseOptions,
161
+ ...options
162
+ };
163
+ const localVarHeaderParameter = {};
164
+ const localVarQueryParameter = {};
165
+ localVarHeaderParameter["Accept"] = "application/json";
166
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
167
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
168
+ localVarRequestOptions.headers = {
169
+ ...localVarHeaderParameter,
170
+ ...headersFromBaseOptions,
171
+ ...options.headers
172
+ };
173
+ return {
174
+ url: toPathString(localVarUrlObj),
175
+ options: localVarRequestOptions
176
+ };
177
+ },
178
+ /**
179
+ * Confirms an AWD outbound order for a set of shipments that contain items that must be outbound to a destination node. You can confirm the order only if it\'s in an`ELIGIBLE` state. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
180
+ * @param {string} orderId ID for the outbound order you want to confirm.
181
+ * @param {*} [options] Override http request option.
182
+ * @throws {RequiredError}
183
+ */
184
+ confirmOutbound: async (orderId, options = {}) => {
185
+ assertParamExists("confirmOutbound", "orderId", orderId);
186
+ const localVarPath = `/awd/2024-05-09/outboundOrders/{orderId}/confirmation`.replace("{orderId}", encodeURIComponent(String(orderId)));
187
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
188
+ let baseOptions;
189
+ if (configuration) baseOptions = configuration.baseOptions;
190
+ const localVarRequestOptions = {
191
+ method: "POST",
192
+ ...baseOptions,
193
+ ...options
194
+ };
195
+ const localVarHeaderParameter = {};
196
+ const localVarQueryParameter = {};
197
+ localVarHeaderParameter["Accept"] = "application/json";
198
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
199
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
200
+ localVarRequestOptions.headers = {
201
+ ...localVarHeaderParameter,
202
+ ...headersFromBaseOptions,
203
+ ...options.headers
204
+ };
205
+ return {
206
+ url: toPathString(localVarUrlObj),
207
+ options: localVarRequestOptions
208
+ };
209
+ },
210
+ /**
211
+ * Confirms an AWD replenishment order in ELIGIBLE state with a set of shipments containing items that are needed to be replenished to an FBA node. Order can only be confirmed in ELIGIBLE state.
212
+ * @param {string} orderId ID of the replenishment order to be confirmed.
213
+ * @param {*} [options] Override http request option.
214
+ * @throws {RequiredError}
215
+ */
216
+ confirmReplenishmentOrder: async (orderId, options = {}) => {
217
+ assertParamExists("confirmReplenishmentOrder", "orderId", orderId);
218
+ const localVarPath = `/awd/2024-05-09/replenishmentOrders/{orderId}/confirmation`.replace("{orderId}", encodeURIComponent(String(orderId)));
219
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
220
+ let baseOptions;
221
+ if (configuration) baseOptions = configuration.baseOptions;
222
+ const localVarRequestOptions = {
223
+ method: "POST",
224
+ ...baseOptions,
225
+ ...options
226
+ };
227
+ const localVarHeaderParameter = {};
228
+ const localVarQueryParameter = {};
229
+ localVarHeaderParameter["Accept"] = "application/json";
230
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
231
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
232
+ localVarRequestOptions.headers = {
233
+ ...localVarHeaderParameter,
234
+ ...headersFromBaseOptions,
235
+ ...options.headers
236
+ };
237
+ return {
238
+ url: toPathString(localVarUrlObj),
239
+ options: localVarRequestOptions
240
+ };
241
+ },
242
+ /**
243
+ * Creates a draft AWD inbound order with a list of packages for inbound shipment. The operation creates one shipment per order. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
244
+ * @param {InboundOrderCreationData} body Payload for creating an inbound order.
245
+ * @param {*} [options] Override http request option.
246
+ * @throws {RequiredError}
247
+ */
248
+ createInbound: async (body, options = {}) => {
249
+ assertParamExists("createInbound", "body", body);
250
+ const localVarUrlObj = new URL(`/awd/2024-05-09/inboundOrders`, DUMMY_BASE_URL);
251
+ let baseOptions;
252
+ if (configuration) baseOptions = configuration.baseOptions;
253
+ const localVarRequestOptions = {
254
+ method: "POST",
255
+ ...baseOptions,
256
+ ...options
257
+ };
258
+ const localVarHeaderParameter = {};
259
+ const localVarQueryParameter = {};
260
+ localVarHeaderParameter["Content-Type"] = "application/json";
261
+ localVarHeaderParameter["Accept"] = "application/json";
262
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
263
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
264
+ localVarRequestOptions.headers = {
265
+ ...localVarHeaderParameter,
266
+ ...headersFromBaseOptions,
267
+ ...options.headers
268
+ };
269
+ localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
270
+ return {
271
+ url: toPathString(localVarUrlObj),
272
+ options: localVarRequestOptions
273
+ };
274
+ },
275
+ /**
276
+ * Creates a draft AWD outbound order with the specified products. The API returns the order ID for the newly created order and starts an async validation check on the outbound products. After the validation check, the order status transitions from `VALIDATING` to `ELIGIBLE/INELIGIBLE`. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
277
+ * @param {OutboundOrderCreationData} body Payload for creating an outbound order.
278
+ * @param {*} [options] Override http request option.
279
+ * @throws {RequiredError}
280
+ */
281
+ createOutbound: async (body, options = {}) => {
282
+ assertParamExists("createOutbound", "body", body);
283
+ const localVarUrlObj = new URL(`/awd/2024-05-09/outboundOrders`, DUMMY_BASE_URL);
284
+ let baseOptions;
285
+ if (configuration) baseOptions = configuration.baseOptions;
286
+ const localVarRequestOptions = {
287
+ method: "POST",
288
+ ...baseOptions,
289
+ ...options
290
+ };
291
+ const localVarHeaderParameter = {};
292
+ const localVarQueryParameter = {};
293
+ localVarHeaderParameter["Content-Type"] = "application/json";
294
+ localVarHeaderParameter["Accept"] = "application/json";
295
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
296
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
297
+ localVarRequestOptions.headers = {
298
+ ...localVarHeaderParameter,
299
+ ...headersFromBaseOptions,
300
+ ...options.headers
301
+ };
302
+ localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
303
+ return {
304
+ url: toPathString(localVarUrlObj),
305
+ options: localVarRequestOptions
306
+ };
307
+ },
308
+ /**
309
+ * Creates an AWD replenishment order with given products to replenish. The API will return the order ID of the newly created order and also start an async validation check on the products to e. The order status will transition to ELIGIBLE/INELIGIBLE status from VALIDATING post validation check
310
+ * @param {ReplenishmentOrderCreationData} body Payload for creating a replenishment order.
311
+ * @param {*} [options] Override http request option.
312
+ * @throws {RequiredError}
313
+ */
314
+ createReplenishmentOrder: async (body, options = {}) => {
315
+ assertParamExists("createReplenishmentOrder", "body", body);
316
+ const localVarUrlObj = new URL(`/awd/2024-05-09/replenishmentOrders`, DUMMY_BASE_URL);
317
+ let baseOptions;
318
+ if (configuration) baseOptions = configuration.baseOptions;
319
+ const localVarRequestOptions = {
320
+ method: "POST",
321
+ ...baseOptions,
322
+ ...options
323
+ };
324
+ const localVarHeaderParameter = {};
325
+ const localVarQueryParameter = {};
326
+ localVarHeaderParameter["Content-Type"] = "application/json";
327
+ localVarHeaderParameter["Accept"] = "application/json";
328
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
329
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
330
+ localVarRequestOptions.headers = {
331
+ ...localVarHeaderParameter,
332
+ ...headersFromBaseOptions,
333
+ ...options.headers
334
+ };
335
+ localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
336
+ return {
337
+ url: toPathString(localVarUrlObj),
338
+ options: localVarRequestOptions
339
+ };
340
+ },
341
+ /**
342
+ * Retrieves an AWD inbound order. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 2 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
343
+ * @param {string} orderId The ID of the inbound order that you want to retrieve.
344
+ * @param {*} [options] Override http request option.
345
+ * @throws {RequiredError}
346
+ */
347
+ getInbound: async (orderId, options = {}) => {
348
+ assertParamExists("getInbound", "orderId", orderId);
349
+ const localVarPath = `/awd/2024-05-09/inboundOrders/{orderId}`.replace("{orderId}", encodeURIComponent(String(orderId)));
350
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
351
+ let baseOptions;
352
+ if (configuration) baseOptions = configuration.baseOptions;
353
+ const localVarRequestOptions = {
354
+ method: "GET",
355
+ ...baseOptions,
356
+ ...options
357
+ };
358
+ const localVarHeaderParameter = {};
359
+ const localVarQueryParameter = {};
360
+ localVarHeaderParameter["Accept"] = "application/json";
361
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
362
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
363
+ localVarRequestOptions.headers = {
364
+ ...localVarHeaderParameter,
365
+ ...headersFromBaseOptions,
366
+ ...options.headers
367
+ };
368
+ return {
369
+ url: toPathString(localVarUrlObj),
370
+ options: localVarRequestOptions
371
+ };
372
+ },
373
+ /**
374
+ * Retrieves an AWD inbound shipment. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 2 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api)
375
+ * @param {string} shipmentId ID for the shipment. A shipment contains the cases being inbounded.
376
+ * @param {GetInboundShipmentSkuQuantitiesEnum} [skuQuantities] If equal to `SHOW`, the response includes the shipment SKU quantity details. Defaults to `HIDE`, in which case the response does not contain SKU quantities
377
+ * @param {*} [options] Override http request option.
378
+ * @throws {RequiredError}
379
+ */
380
+ getInboundShipment: async (shipmentId, skuQuantities, options = {}) => {
381
+ assertParamExists("getInboundShipment", "shipmentId", shipmentId);
382
+ const localVarPath = `/awd/2024-05-09/inboundShipments/{shipmentId}`.replace("{shipmentId}", encodeURIComponent(String(shipmentId)));
383
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
384
+ let baseOptions;
385
+ if (configuration) baseOptions = configuration.baseOptions;
386
+ const localVarRequestOptions = {
387
+ method: "GET",
388
+ ...baseOptions,
389
+ ...options
390
+ };
391
+ const localVarHeaderParameter = {};
392
+ const localVarQueryParameter = {};
393
+ if (skuQuantities !== void 0) localVarQueryParameter["skuQuantities"] = skuQuantities;
394
+ localVarHeaderParameter["Accept"] = "application/json";
395
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
396
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
397
+ localVarRequestOptions.headers = {
398
+ ...localVarHeaderParameter,
399
+ ...headersFromBaseOptions,
400
+ ...options.headers
401
+ };
402
+ return {
403
+ url: toPathString(localVarUrlObj),
404
+ options: localVarRequestOptions
405
+ };
406
+ },
407
+ /**
408
+ * Retrieves the box labels for a shipment ID that you specify. This is an asynchronous operation. If the label status is `GENERATED`, then the label URL is available. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 2 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
409
+ * @param {string} shipmentId ID for the shipment.
410
+ * @param {GetInboundShipmentLabelsPageTypeEnum} [pageType] Page type for the generated labels. The default is `PLAIN_PAPER`.
411
+ * @param {GetInboundShipmentLabelsFormatTypeEnum} [formatType] The format type of the output file that contains your labels. The default format type is `PDF`.
412
+ * @param {*} [options] Override http request option.
413
+ * @throws {RequiredError}
414
+ */
415
+ getInboundShipmentLabels: async (shipmentId, pageType, formatType, options = {}) => {
416
+ assertParamExists("getInboundShipmentLabels", "shipmentId", shipmentId);
417
+ const localVarPath = `/awd/2024-05-09/inboundShipments/{shipmentId}/labels`.replace("{shipmentId}", encodeURIComponent(String(shipmentId)));
418
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
419
+ let baseOptions;
420
+ if (configuration) baseOptions = configuration.baseOptions;
421
+ const localVarRequestOptions = {
422
+ method: "GET",
423
+ ...baseOptions,
424
+ ...options
425
+ };
426
+ const localVarHeaderParameter = {};
427
+ const localVarQueryParameter = {};
428
+ if (pageType !== void 0) localVarQueryParameter["pageType"] = pageType;
429
+ if (formatType !== void 0) localVarQueryParameter["formatType"] = formatType;
430
+ localVarHeaderParameter["Accept"] = "application/json";
431
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
432
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
433
+ localVarRequestOptions.headers = {
434
+ ...localVarHeaderParameter,
435
+ ...headersFromBaseOptions,
436
+ ...options.headers
437
+ };
438
+ return {
439
+ url: toPathString(localVarUrlObj),
440
+ options: localVarRequestOptions
441
+ };
442
+ },
443
+ /**
444
+ * Retrieves the available label page types for a shipment ID that you specify. This is an asynchronous operation. If the label status is `GENERATED`, then the pageTypes are available. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 2 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
445
+ * @param {string} shipmentId ID for the shipment.
446
+ * @param {*} [options] Override http request option.
447
+ * @throws {RequiredError}
448
+ */
449
+ getLabelPageTypes: async (shipmentId, options = {}) => {
450
+ assertParamExists("getLabelPageTypes", "shipmentId", shipmentId);
451
+ const localVarPath = `/awd/2024-05-09/inboundShipments/{shipmentId}/labelPageTypes`.replace("{shipmentId}", encodeURIComponent(String(shipmentId)));
452
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
453
+ let baseOptions;
454
+ if (configuration) baseOptions = configuration.baseOptions;
455
+ const localVarRequestOptions = {
456
+ method: "GET",
457
+ ...baseOptions,
458
+ ...options
459
+ };
460
+ const localVarHeaderParameter = {};
461
+ const localVarQueryParameter = {};
462
+ localVarHeaderParameter["Accept"] = "application/json";
463
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
464
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
465
+ localVarRequestOptions.headers = {
466
+ ...localVarHeaderParameter,
467
+ ...headersFromBaseOptions,
468
+ ...options.headers
469
+ };
470
+ return {
471
+ url: toPathString(localVarUrlObj),
472
+ options: localVarRequestOptions
473
+ };
474
+ },
475
+ /**
476
+ * Retrieves an AWD outbound order with a set of shipments that contain items that are outbound into a destination channel. If the order is not eligible, the validation errors field is included in the order response. The API returns the order ID for the newly created order and starts an async validation check on the outbound products. After the validation check, the order status transitions from `VALIDATING` to `ELIGIBLE/INELIGIBLE`. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
477
+ * @param {string} orderId ID for the outbound order to be retrieved.
478
+ * @param {*} [options] Override http request option.
479
+ * @throws {RequiredError}
480
+ */
481
+ getOutbound: async (orderId, options = {}) => {
482
+ assertParamExists("getOutbound", "orderId", orderId);
483
+ const localVarPath = `/awd/2024-05-09/outboundOrders/{orderId}`.replace("{orderId}", encodeURIComponent(String(orderId)));
484
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
485
+ let baseOptions;
486
+ if (configuration) baseOptions = configuration.baseOptions;
487
+ const localVarRequestOptions = {
488
+ method: "GET",
489
+ ...baseOptions,
490
+ ...options
491
+ };
492
+ const localVarHeaderParameter = {};
493
+ const localVarQueryParameter = {};
494
+ localVarHeaderParameter["Accept"] = "application/json";
495
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
496
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
497
+ localVarRequestOptions.headers = {
498
+ ...localVarHeaderParameter,
499
+ ...headersFromBaseOptions,
500
+ ...options.headers
501
+ };
502
+ return {
503
+ url: toPathString(localVarUrlObj),
504
+ options: localVarRequestOptions
505
+ };
506
+ },
507
+ /**
508
+ * Retrieves an AWD Replenishment order with a set of shipments containing items that is/was planned to be replenished into an FBA node.
509
+ * @param {string} orderId ID of the replenishment order to be retrieved.
510
+ * @param {*} [options] Override http request option.
511
+ * @throws {RequiredError}
512
+ */
513
+ getReplenishmentOrder: async (orderId, options = {}) => {
514
+ assertParamExists("getReplenishmentOrder", "orderId", orderId);
515
+ const localVarPath = `/awd/2024-05-09/replenishmentOrders/{orderId}`.replace("{orderId}", encodeURIComponent(String(orderId)));
516
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
517
+ let baseOptions;
518
+ if (configuration) baseOptions = configuration.baseOptions;
519
+ const localVarRequestOptions = {
520
+ method: "GET",
521
+ ...baseOptions,
522
+ ...options
523
+ };
524
+ const localVarHeaderParameter = {};
525
+ const localVarQueryParameter = {};
526
+ localVarHeaderParameter["Accept"] = "application/json";
527
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
528
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
529
+ localVarRequestOptions.headers = {
530
+ ...localVarHeaderParameter,
531
+ ...headersFromBaseOptions,
532
+ ...options.headers
533
+ };
534
+ return {
535
+ url: toPathString(localVarUrlObj),
536
+ options: localVarRequestOptions
537
+ };
538
+ },
539
+ /**
540
+ * Retrieves a summary of all the inbound AWD shipments associated with a merchant, with the ability to apply optional filters. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
541
+ * @param {ListInboundShipmentsSortByEnum} [sortBy] Field to sort results by. By default, the response will be sorted by UPDATED_AT.
542
+ * @param {ListInboundShipmentsSortOrderEnum} [sortOrder] Sort the response in ASCENDING or DESCENDING order. By default, the response will be sorted in DESCENDING order.
543
+ * @param {ListInboundShipmentsShipmentStatusEnum} [shipmentStatus] Filter by inbound shipment status.
544
+ * @param {string} [updatedAfter] List the inbound shipments that were updated after a certain time (inclusive). The date must be in <a href=\'https://developer-docs.amazon.com/sp-api/docs/iso-8601\'>ISO 8601</a> format.
545
+ * @param {string} [updatedBefore] List the inbound shipments that were updated before a certain time (inclusive). The date must be in <a href=\'https://developer-docs.amazon.com/sp-api/docs/iso-8601\'>ISO 8601</a> format.
546
+ * @param {number} [maxResults] Maximum number of results to return.
547
+ * @param {string} [nextToken] A token that is used to retrieve the next page of results. The response includes `nextToken` when the number of results exceeds the specified `maxResults` value. To get the next page of results, call the operation with this token and include the same arguments as the call that produced the token. To get a complete list, call this operation until `nextToken` is null. Note that this operation can return empty pages.
548
+ * @param {*} [options] Override http request option.
549
+ * @throws {RequiredError}
550
+ */
551
+ listInboundShipments: async (sortBy, sortOrder, shipmentStatus, updatedAfter, updatedBefore, maxResults, nextToken, options = {}) => {
552
+ const localVarUrlObj = new URL(`/awd/2024-05-09/inboundShipments`, DUMMY_BASE_URL);
553
+ let baseOptions;
554
+ if (configuration) baseOptions = configuration.baseOptions;
555
+ const localVarRequestOptions = {
556
+ method: "GET",
557
+ ...baseOptions,
558
+ ...options
559
+ };
560
+ const localVarHeaderParameter = {};
561
+ const localVarQueryParameter = {};
562
+ if (sortBy !== void 0) localVarQueryParameter["sortBy"] = sortBy;
563
+ if (sortOrder !== void 0) localVarQueryParameter["sortOrder"] = sortOrder;
564
+ if (shipmentStatus !== void 0) localVarQueryParameter["shipmentStatus"] = shipmentStatus;
565
+ if (updatedAfter !== void 0) localVarQueryParameter["updatedAfter"] = updatedAfter instanceof Date ? updatedAfter.toISOString() : updatedAfter;
566
+ if (updatedBefore !== void 0) localVarQueryParameter["updatedBefore"] = updatedBefore instanceof Date ? updatedBefore.toISOString() : updatedBefore;
567
+ if (maxResults !== void 0) localVarQueryParameter["maxResults"] = maxResults;
568
+ if (nextToken !== void 0) localVarQueryParameter["nextToken"] = nextToken;
569
+ localVarHeaderParameter["Accept"] = "application/json";
570
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
571
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
572
+ localVarRequestOptions.headers = {
573
+ ...localVarHeaderParameter,
574
+ ...headersFromBaseOptions,
575
+ ...options.headers
576
+ };
577
+ return {
578
+ url: toPathString(localVarUrlObj),
579
+ options: localVarRequestOptions
580
+ };
581
+ },
582
+ /**
583
+ * Lists AWD inventory associated with a merchant with the ability to apply optional filters. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 2 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
584
+ * @param {string} [sku] Filter by seller or merchant SKU for the item.
585
+ * @param {ListInventorySortOrderEnum} [sortOrder] Sort the response in `ASCENDING` or `DESCENDING` order.
586
+ * @param {ListInventoryDetailsEnum} [details] Set to `SHOW` to return summaries with additional inventory details. Defaults to `HIDE,` which returns only inventory summary totals.
587
+ * @param {string} [nextToken] A token that is used to retrieve the next page of results. The response includes `nextToken` when the number of results exceeds the specified `maxResults` value. To get the next page of results, call the operation with this token and include the same arguments as the call that produced the token. To get a complete list, call this operation until `nextToken` is null. Note that this operation can return empty pages.
588
+ * @param {number} [maxResults] Maximum number of results to return.
589
+ * @param {*} [options] Override http request option.
590
+ * @throws {RequiredError}
591
+ */
592
+ listInventory: async (sku, sortOrder, details, nextToken, maxResults, options = {}) => {
593
+ const localVarUrlObj = new URL(`/awd/2024-05-09/inventory`, DUMMY_BASE_URL);
594
+ let baseOptions;
595
+ if (configuration) baseOptions = configuration.baseOptions;
596
+ const localVarRequestOptions = {
597
+ method: "GET",
598
+ ...baseOptions,
599
+ ...options
600
+ };
601
+ const localVarHeaderParameter = {};
602
+ const localVarQueryParameter = {};
603
+ if (sku !== void 0) localVarQueryParameter["sku"] = sku;
604
+ if (sortOrder !== void 0) localVarQueryParameter["sortOrder"] = sortOrder;
605
+ if (details !== void 0) localVarQueryParameter["details"] = details;
606
+ if (nextToken !== void 0) localVarQueryParameter["nextToken"] = nextToken;
607
+ if (maxResults !== void 0) localVarQueryParameter["maxResults"] = maxResults;
608
+ localVarHeaderParameter["Accept"] = "application/json";
609
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
610
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
611
+ localVarRequestOptions.headers = {
612
+ ...localVarHeaderParameter,
613
+ ...headersFromBaseOptions,
614
+ ...options.headers
615
+ };
616
+ return {
617
+ url: toPathString(localVarUrlObj),
618
+ options: localVarRequestOptions
619
+ };
620
+ },
621
+ /**
622
+ * Retrieves all outbound AWD orders (with optional filters) that pertain to a merchant. By default, orders are sorted by the `updatedAt` attribute in descending order. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
623
+ * @param {string} [updatedAfter] Get the outbound orders updated after a certain time (inclusive). The date must be in <a href=\'https://developer-docs.amazon.com/sp-api/docs/iso-8601\'>ISO 8601</a> format.
624
+ * @param {string} [updatedBefore] Get the outbound orders updated before a certain time (inclusive). The date must be in <a href=\'https://developer-docs.amazon.com/sp-api/docs/iso-8601\'>ISO 8601</a> format.
625
+ * @param {ListOutboundsSortOrderEnum} [sortOrder] Sort the response in `ASCENDING` or `DESCENDING` order.
626
+ * @param {number} [maxResults] Maximum number of results to return.
627
+ * @param {string} [nextToken] A token that is used to retrieve the next page of results. The response includes `nextToken` when the number of results exceeds the specified `maxResults` value. To get the next page of results, call the operation with this token and include the same arguments as the call that produced the token. To get a complete list, call this operation until `nextToken` is null. Note that this operation can return empty pages.
628
+ * @param {*} [options] Override http request option.
629
+ * @throws {RequiredError}
630
+ */
631
+ listOutbounds: async (updatedAfter, updatedBefore, sortOrder, maxResults, nextToken, options = {}) => {
632
+ const localVarUrlObj = new URL(`/awd/2024-05-09/outboundOrders`, DUMMY_BASE_URL);
633
+ let baseOptions;
634
+ if (configuration) baseOptions = configuration.baseOptions;
635
+ const localVarRequestOptions = {
636
+ method: "GET",
637
+ ...baseOptions,
638
+ ...options
639
+ };
640
+ const localVarHeaderParameter = {};
641
+ const localVarQueryParameter = {};
642
+ if (updatedAfter !== void 0) localVarQueryParameter["updatedAfter"] = updatedAfter instanceof Date ? updatedAfter.toISOString() : updatedAfter;
643
+ if (updatedBefore !== void 0) localVarQueryParameter["updatedBefore"] = updatedBefore instanceof Date ? updatedBefore.toISOString() : updatedBefore;
644
+ if (sortOrder !== void 0) localVarQueryParameter["sortOrder"] = sortOrder;
645
+ if (maxResults !== void 0) localVarQueryParameter["maxResults"] = maxResults;
646
+ if (nextToken !== void 0) localVarQueryParameter["nextToken"] = nextToken;
647
+ localVarHeaderParameter["Accept"] = "application/json";
648
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
649
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
650
+ localVarRequestOptions.headers = {
651
+ ...localVarHeaderParameter,
652
+ ...headersFromBaseOptions,
653
+ ...options.headers
654
+ };
655
+ return {
656
+ url: toPathString(localVarUrlObj),
657
+ options: localVarRequestOptions
658
+ };
659
+ },
660
+ /**
661
+ * Retrieves all the AWD replenishment orders pertaining to a merchant with optional filters. API by default will sort orders by updatedAt attribute in descending order.
662
+ * @param {string} [updatedAfter] Get the replenishment orders updated after certain time (Inclusive) Date should be in ISO 8601 format as defined by date-time in - https://www.rfc-editor.org/rfc/rfc3339.
663
+ * @param {string} [updatedBefore] Get the replenishment orders updated before certain time (Inclusive) Date should be in ISO 8601 format as defined by date-time in - https://www.rfc-editor.org/rfc/rfc3339.
664
+ * @param {ListReplenishmentOrdersSortOrderEnum} [sortOrder] Sort the response in ASCENDING or DESCENDING order. The default sort order is DESCENDING.
665
+ * @param {number} [maxResults] Maximum results to be returned in a single response.
666
+ * @param {string} [nextToken] A token that is used to retrieve the next page of results. The response includes `nextToken` when the number of results exceeds the specified `maxResults` value. To get the next page of results, call the operation with this token and include the same arguments as the call that produced the token. To get a complete list, call this operation until `nextToken` is null. Note that this operation can return empty pages.
667
+ * @param {*} [options] Override http request option.
668
+ * @throws {RequiredError}
669
+ */
670
+ listReplenishmentOrders: async (updatedAfter, updatedBefore, sortOrder, maxResults, nextToken, options = {}) => {
671
+ const localVarUrlObj = new URL(`/awd/2024-05-09/replenishmentOrders`, DUMMY_BASE_URL);
672
+ let baseOptions;
673
+ if (configuration) baseOptions = configuration.baseOptions;
674
+ const localVarRequestOptions = {
675
+ method: "GET",
676
+ ...baseOptions,
677
+ ...options
678
+ };
679
+ const localVarHeaderParameter = {};
680
+ const localVarQueryParameter = {};
681
+ if (updatedAfter !== void 0) localVarQueryParameter["updatedAfter"] = updatedAfter instanceof Date ? updatedAfter.toISOString() : updatedAfter;
682
+ if (updatedBefore !== void 0) localVarQueryParameter["updatedBefore"] = updatedBefore instanceof Date ? updatedBefore.toISOString() : updatedBefore;
683
+ if (sortOrder !== void 0) localVarQueryParameter["sortOrder"] = sortOrder;
684
+ if (maxResults !== void 0) localVarQueryParameter["maxResults"] = maxResults;
685
+ if (nextToken !== void 0) localVarQueryParameter["nextToken"] = nextToken;
686
+ localVarHeaderParameter["Accept"] = "application/json";
687
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
688
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
689
+ localVarRequestOptions.headers = {
690
+ ...localVarHeaderParameter,
691
+ ...headersFromBaseOptions,
692
+ ...options.headers
693
+ };
694
+ return {
695
+ url: toPathString(localVarUrlObj),
696
+ options: localVarRequestOptions
697
+ };
698
+ },
699
+ /**
700
+ * Updates an AWD inbound order that is in `DRAFT` status and not yet confirmed. Use this operation to update the `packagesToInbound`, `originAddress` and `preferences` attributes. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
701
+ * @param {string} orderId The ID of the inbound order that you want to update.
702
+ * @param {InboundOrder} body Represents an AWD inbound order.
703
+ * @param {*} [options] Override http request option.
704
+ * @throws {RequiredError}
705
+ */
706
+ updateInbound: async (orderId, body, options = {}) => {
707
+ assertParamExists("updateInbound", "orderId", orderId);
708
+ assertParamExists("updateInbound", "body", body);
709
+ const localVarPath = `/awd/2024-05-09/inboundOrders/{orderId}`.replace("{orderId}", encodeURIComponent(String(orderId)));
710
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
711
+ let baseOptions;
712
+ if (configuration) baseOptions = configuration.baseOptions;
713
+ const localVarRequestOptions = {
714
+ method: "PUT",
715
+ ...baseOptions,
716
+ ...options
717
+ };
718
+ const localVarHeaderParameter = {};
719
+ const localVarQueryParameter = {};
720
+ localVarHeaderParameter["Content-Type"] = "application/json";
721
+ localVarHeaderParameter["Accept"] = "application/json";
722
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
723
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
724
+ localVarRequestOptions.headers = {
725
+ ...localVarHeaderParameter,
726
+ ...headersFromBaseOptions,
727
+ ...options.headers
728
+ };
729
+ localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
730
+ return {
731
+ url: toPathString(localVarUrlObj),
732
+ options: localVarRequestOptions
733
+ };
734
+ },
735
+ /**
736
+ * Updates transport details for an AWD shipment. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
737
+ * @param {string} shipmentId The shipment ID.
738
+ * @param {TransportationDetails} body Transportation details for the shipment.
739
+ * @param {*} [options] Override http request option.
740
+ * @throws {RequiredError}
741
+ */
742
+ updateInboundShipmentTransportDetails: async (shipmentId, body, options = {}) => {
743
+ assertParamExists("updateInboundShipmentTransportDetails", "shipmentId", shipmentId);
744
+ assertParamExists("updateInboundShipmentTransportDetails", "body", body);
745
+ const localVarPath = `/awd/2024-05-09/inboundShipments/{shipmentId}/transport`.replace("{shipmentId}", encodeURIComponent(String(shipmentId)));
746
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
747
+ let baseOptions;
748
+ if (configuration) baseOptions = configuration.baseOptions;
749
+ const localVarRequestOptions = {
750
+ method: "PUT",
751
+ ...baseOptions,
752
+ ...options
753
+ };
754
+ const localVarHeaderParameter = {};
755
+ const localVarQueryParameter = {};
756
+ localVarHeaderParameter["Content-Type"] = "application/json";
757
+ localVarHeaderParameter["Accept"] = "application/json";
758
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
759
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
760
+ localVarRequestOptions.headers = {
761
+ ...localVarHeaderParameter,
762
+ ...headersFromBaseOptions,
763
+ ...options.headers
764
+ };
765
+ localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
766
+ return {
767
+ url: toPathString(localVarUrlObj),
768
+ options: localVarRequestOptions
769
+ };
770
+ },
771
+ /**
772
+ * Updates an AWD outbound order that is in `DRAFT`, `ELIGIBLE`, or `INELIGIBLE` status. This API allows updates on `productsToOutbound` and `orderPreferences` attributes only. Any updates will restart the outbound order validation. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
773
+ * @param {string} orderId ID for the outbound order to be updated.
774
+ * @param {OutboundOrder} body Represents an AWD outbound order.
775
+ * @param {*} [options] Override http request option.
776
+ * @throws {RequiredError}
777
+ */
778
+ updateOutbound: async (orderId, body, options = {}) => {
779
+ assertParamExists("updateOutbound", "orderId", orderId);
780
+ assertParamExists("updateOutbound", "body", body);
781
+ const localVarPath = `/awd/2024-05-09/outboundOrders/{orderId}`.replace("{orderId}", encodeURIComponent(String(orderId)));
782
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
783
+ let baseOptions;
784
+ if (configuration) baseOptions = configuration.baseOptions;
785
+ const localVarRequestOptions = {
786
+ method: "PUT",
787
+ ...baseOptions,
788
+ ...options
789
+ };
790
+ const localVarHeaderParameter = {};
791
+ const localVarQueryParameter = {};
792
+ localVarHeaderParameter["Content-Type"] = "application/json";
793
+ localVarHeaderParameter["Accept"] = "application/json";
794
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
795
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
796
+ localVarRequestOptions.headers = {
797
+ ...localVarHeaderParameter,
798
+ ...headersFromBaseOptions,
799
+ ...options.headers
800
+ };
801
+ localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
802
+ return {
803
+ url: toPathString(localVarUrlObj),
804
+ options: localVarRequestOptions
805
+ };
806
+ }
807
+ };
567
808
  };
568
- var AmazonWarehousingAndDistributionApiFp = function(configuration) {
569
- const localVarAxiosParamCreator = AmazonWarehousingAndDistributionApiAxiosParamCreator(configuration);
570
- return {
571
- /**
572
- * Cancels an AWD Inbound order and its associated shipment. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
573
- * @param {string} orderId The ID of the inbound order you want to cancel.
574
- * @param {*} [options] Override http request option.
575
- * @throws {RequiredError}
576
- */
577
- async cancelInbound(orderId, options) {
578
- const localVarAxiosArgs = await localVarAxiosParamCreator.cancelInbound(orderId, options);
579
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
580
- const localVarOperationServerBasePath = operationServerMap["AmazonWarehousingAndDistributionApi.cancelInbound"]?.[localVarOperationServerIndex]?.url;
581
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
582
- },
583
- /**
584
- * Determines if the packages you specify are eligible for an AWD inbound order and contains error details for ineligible packages. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
585
- * @param {InboundPackages} body Represents the packages you want to inbound.
586
- * @param {*} [options] Override http request option.
587
- * @throws {RequiredError}
588
- */
589
- async checkInboundEligibility(body, options) {
590
- const localVarAxiosArgs = await localVarAxiosParamCreator.checkInboundEligibility(body, options);
591
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
592
- const localVarOperationServerBasePath = operationServerMap["AmazonWarehousingAndDistributionApi.checkInboundEligibility"]?.[localVarOperationServerIndex]?.url;
593
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
594
- },
595
- /**
596
- * Confirms an AWD inbound order in `DRAFT` status. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
597
- * @param {string} orderId The ID of the inbound order that you want to confirm.
598
- * @param {*} [options] Override http request option.
599
- * @throws {RequiredError}
600
- */
601
- async confirmInbound(orderId, options) {
602
- const localVarAxiosArgs = await localVarAxiosParamCreator.confirmInbound(orderId, options);
603
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
604
- const localVarOperationServerBasePath = operationServerMap["AmazonWarehousingAndDistributionApi.confirmInbound"]?.[localVarOperationServerIndex]?.url;
605
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
606
- },
607
- /**
608
- * Confirms an AWD replenishment order in ELIGIBLE state with a set of shipments containing items that are needed to be replenished to an FBA node. Order can only be confirmed in ELIGIBLE state.
609
- * @param {string} orderId ID of the replenishment order to be confirmed.
610
- * @param {*} [options] Override http request option.
611
- * @throws {RequiredError}
612
- */
613
- async confirmReplenishmentOrder(orderId, options) {
614
- const localVarAxiosArgs = await localVarAxiosParamCreator.confirmReplenishmentOrder(orderId, options);
615
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
616
- const localVarOperationServerBasePath = operationServerMap["AmazonWarehousingAndDistributionApi.confirmReplenishmentOrder"]?.[localVarOperationServerIndex]?.url;
617
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
618
- },
619
- /**
620
- * Creates a draft AWD inbound order with a list of packages for inbound shipment. The operation creates one shipment per order. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
621
- * @param {InboundOrderCreationData} body Payload for creating an inbound order.
622
- * @param {*} [options] Override http request option.
623
- * @throws {RequiredError}
624
- */
625
- async createInbound(body, options) {
626
- const localVarAxiosArgs = await localVarAxiosParamCreator.createInbound(body, options);
627
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
628
- const localVarOperationServerBasePath = operationServerMap["AmazonWarehousingAndDistributionApi.createInbound"]?.[localVarOperationServerIndex]?.url;
629
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
630
- },
631
- /**
632
- * Creates an AWD replenishment order with given products to replenish. The API will return the order ID of the newly created order and also start an async validation check on the products to e. The order status will transition to ELIGIBLE/INELIGIBLE status from VALIDATING post validation check
633
- * @param {ReplenishmentOrderCreationData} body Payload for creating a replenishment order.
634
- * @param {*} [options] Override http request option.
635
- * @throws {RequiredError}
636
- */
637
- async createReplenishmentOrder(body, options) {
638
- const localVarAxiosArgs = await localVarAxiosParamCreator.createReplenishmentOrder(body, options);
639
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
640
- const localVarOperationServerBasePath = operationServerMap["AmazonWarehousingAndDistributionApi.createReplenishmentOrder"]?.[localVarOperationServerIndex]?.url;
641
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
642
- },
643
- /**
644
- * Retrieves an AWD inbound order. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 2 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
645
- * @param {string} orderId The ID of the inbound order that you want to retrieve.
646
- * @param {*} [options] Override http request option.
647
- * @throws {RequiredError}
648
- */
649
- async getInbound(orderId, options) {
650
- const localVarAxiosArgs = await localVarAxiosParamCreator.getInbound(orderId, options);
651
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
652
- const localVarOperationServerBasePath = operationServerMap["AmazonWarehousingAndDistributionApi.getInbound"]?.[localVarOperationServerIndex]?.url;
653
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
654
- },
655
- /**
656
- * Retrieves an AWD inbound shipment. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 2 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api)
657
- * @param {string} shipmentId ID for the shipment. A shipment contains the cases being inbounded.
658
- * @param {GetInboundShipmentSkuQuantitiesEnum} [skuQuantities] If equal to `SHOW`, the response includes the shipment SKU quantity details. Defaults to `HIDE`, in which case the response does not contain SKU quantities
659
- * @param {*} [options] Override http request option.
660
- * @throws {RequiredError}
661
- */
662
- async getInboundShipment(shipmentId, skuQuantities, options) {
663
- const localVarAxiosArgs = await localVarAxiosParamCreator.getInboundShipment(shipmentId, skuQuantities, options);
664
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
665
- const localVarOperationServerBasePath = operationServerMap["AmazonWarehousingAndDistributionApi.getInboundShipment"]?.[localVarOperationServerIndex]?.url;
666
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
667
- },
668
- /**
669
- * Retrieves the box labels for a shipment ID that you specify. This is an asynchronous operation. If the label status is `GENERATED`, then the label URL is available. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 2 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
670
- * @param {string} shipmentId ID for the shipment.
671
- * @param {GetInboundShipmentLabelsPageTypeEnum} [pageType] Page type for the generated labels. The default is `PLAIN_PAPER`.
672
- * @param {GetInboundShipmentLabelsFormatTypeEnum} [formatType] The format type of the output file that contains your labels. The default format type is `PDF`.
673
- * @param {*} [options] Override http request option.
674
- * @throws {RequiredError}
675
- */
676
- async getInboundShipmentLabels(shipmentId, pageType, formatType, options) {
677
- const localVarAxiosArgs = await localVarAxiosParamCreator.getInboundShipmentLabels(shipmentId, pageType, formatType, options);
678
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
679
- const localVarOperationServerBasePath = operationServerMap["AmazonWarehousingAndDistributionApi.getInboundShipmentLabels"]?.[localVarOperationServerIndex]?.url;
680
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
681
- },
682
- /**
683
- * Retrieves an AWD Replenishment order with a set of shipments containing items that is/was planned to be replenished into an FBA node.
684
- * @param {string} orderId ID of the replenishment order to be retrieved.
685
- * @param {*} [options] Override http request option.
686
- * @throws {RequiredError}
687
- */
688
- async getReplenishmentOrder(orderId, options) {
689
- const localVarAxiosArgs = await localVarAxiosParamCreator.getReplenishmentOrder(orderId, options);
690
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
691
- const localVarOperationServerBasePath = operationServerMap["AmazonWarehousingAndDistributionApi.getReplenishmentOrder"]?.[localVarOperationServerIndex]?.url;
692
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
693
- },
694
- /**
695
- * Retrieves a summary of all the inbound AWD shipments associated with a merchant, with the ability to apply optional filters. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
696
- * @param {ListInboundShipmentsSortByEnum} [sortBy] Field to sort results by. By default, the response will be sorted by UPDATED_AT.
697
- * @param {ListInboundShipmentsSortOrderEnum} [sortOrder] Sort the response in ASCENDING or DESCENDING order. By default, the response will be sorted in DESCENDING order.
698
- * @param {ListInboundShipmentsShipmentStatusEnum} [shipmentStatus] Filter by inbound shipment status.
699
- * @param {string} [updatedAfter] List the inbound shipments that were updated after a certain time (inclusive). The date must be in <a href=\'https://developer-docs.amazon.com/sp-api/docs/iso-8601\'>ISO 8601</a> format.
700
- * @param {string} [updatedBefore] List the inbound shipments that were updated before a certain time (inclusive). The date must be in <a href=\'https://developer-docs.amazon.com/sp-api/docs/iso-8601\'>ISO 8601</a> format.
701
- * @param {number} [maxResults] Maximum number of results to return.
702
- * @param {string} [nextToken] A token that is used to retrieve the next page of results. The response includes `nextToken` when the number of results exceeds the specified `maxResults` value. To get the next page of results, call the operation with this token and include the same arguments as the call that produced the token. To get a complete list, call this operation until `nextToken` is null. Note that this operation can return empty pages.
703
- * @param {*} [options] Override http request option.
704
- * @throws {RequiredError}
705
- */
706
- async listInboundShipments(sortBy, sortOrder, shipmentStatus, updatedAfter, updatedBefore, maxResults, nextToken, options) {
707
- const localVarAxiosArgs = await localVarAxiosParamCreator.listInboundShipments(sortBy, sortOrder, shipmentStatus, updatedAfter, updatedBefore, maxResults, nextToken, options);
708
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
709
- const localVarOperationServerBasePath = operationServerMap["AmazonWarehousingAndDistributionApi.listInboundShipments"]?.[localVarOperationServerIndex]?.url;
710
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
711
- },
712
- /**
713
- * Lists AWD inventory associated with a merchant with the ability to apply optional filters. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 2 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
714
- * @param {string} [sku] Filter by seller or merchant SKU for the item.
715
- * @param {ListInventorySortOrderEnum} [sortOrder] Sort the response in `ASCENDING` or `DESCENDING` order.
716
- * @param {ListInventoryDetailsEnum} [details] Set to `SHOW` to return summaries with additional inventory details. Defaults to `HIDE,` which returns only inventory summary totals.
717
- * @param {string} [nextToken] A token that is used to retrieve the next page of results. The response includes `nextToken` when the number of results exceeds the specified `maxResults` value. To get the next page of results, call the operation with this token and include the same arguments as the call that produced the token. To get a complete list, call this operation until `nextToken` is null. Note that this operation can return empty pages.
718
- * @param {number} [maxResults] Maximum number of results to return.
719
- * @param {*} [options] Override http request option.
720
- * @throws {RequiredError}
721
- */
722
- async listInventory(sku, sortOrder, details, nextToken, maxResults, options) {
723
- const localVarAxiosArgs = await localVarAxiosParamCreator.listInventory(sku, sortOrder, details, nextToken, maxResults, options);
724
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
725
- const localVarOperationServerBasePath = operationServerMap["AmazonWarehousingAndDistributionApi.listInventory"]?.[localVarOperationServerIndex]?.url;
726
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
727
- },
728
- /**
729
- * Retrieves all the AWD replenishment orders pertaining to a merchant with optional filters. API by default will sort orders by updatedAt attribute in descending order.
730
- * @param {string} [updatedAfter] Get the replenishment orders updated after certain time (Inclusive) Date should be in ISO 8601 format as defined by date-time in - https://www.rfc-editor.org/rfc/rfc3339.
731
- * @param {string} [updatedBefore] Get the replenishment orders updated before certain time (Inclusive) Date should be in ISO 8601 format as defined by date-time in - https://www.rfc-editor.org/rfc/rfc3339.
732
- * @param {ListReplenishmentOrdersSortOrderEnum} [sortOrder] Sort the response in ASCENDING or DESCENDING order. The default sort order is DESCENDING.
733
- * @param {number} [maxResults] Maximum results to be returned in a single response.
734
- * @param {string} [nextToken] A token that is used to retrieve the next page of results. The response includes `nextToken` when the number of results exceeds the specified `maxResults` value. To get the next page of results, call the operation with this token and include the same arguments as the call that produced the token. To get a complete list, call this operation until `nextToken` is null. Note that this operation can return empty pages.
735
- * @param {*} [options] Override http request option.
736
- * @throws {RequiredError}
737
- */
738
- async listReplenishmentOrders(updatedAfter, updatedBefore, sortOrder, maxResults, nextToken, options) {
739
- const localVarAxiosArgs = await localVarAxiosParamCreator.listReplenishmentOrders(updatedAfter, updatedBefore, sortOrder, maxResults, nextToken, options);
740
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
741
- const localVarOperationServerBasePath = operationServerMap["AmazonWarehousingAndDistributionApi.listReplenishmentOrders"]?.[localVarOperationServerIndex]?.url;
742
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
743
- },
744
- /**
745
- * Updates an AWD inbound order that is in `DRAFT` status and not yet confirmed. Use this operation to update the `packagesToInbound`, `originAddress` and `preferences` attributes. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
746
- * @param {string} orderId The ID of the inbound order that you want to update.
747
- * @param {InboundOrder} body Represents an AWD inbound order.
748
- * @param {*} [options] Override http request option.
749
- * @throws {RequiredError}
750
- */
751
- async updateInbound(orderId, body, options) {
752
- const localVarAxiosArgs = await localVarAxiosParamCreator.updateInbound(orderId, body, options);
753
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
754
- const localVarOperationServerBasePath = operationServerMap["AmazonWarehousingAndDistributionApi.updateInbound"]?.[localVarOperationServerIndex]?.url;
755
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
756
- },
757
- /**
758
- * Updates transport details for an AWD shipment. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
759
- * @param {string} shipmentId The shipment ID.
760
- * @param {TransportationDetails} body Transportation details for the shipment.
761
- * @param {*} [options] Override http request option.
762
- * @throws {RequiredError}
763
- */
764
- async updateInboundShipmentTransportDetails(shipmentId, body, options) {
765
- const localVarAxiosArgs = await localVarAxiosParamCreator.updateInboundShipmentTransportDetails(shipmentId, body, options);
766
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
767
- const localVarOperationServerBasePath = operationServerMap["AmazonWarehousingAndDistributionApi.updateInboundShipmentTransportDetails"]?.[localVarOperationServerIndex]?.url;
768
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
769
- }
770
- };
809
+ /**
810
+ * AmazonWarehousingAndDistributionApi - functional programming interface
811
+ */
812
+ const AmazonWarehousingAndDistributionApiFp = function(configuration) {
813
+ const localVarAxiosParamCreator = AmazonWarehousingAndDistributionApiAxiosParamCreator(configuration);
814
+ return {
815
+ /**
816
+ * Cancels an AWD Inbound order and its associated shipment. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
817
+ * @param {string} orderId The ID of the inbound order you want to cancel.
818
+ * @param {*} [options] Override http request option.
819
+ * @throws {RequiredError}
820
+ */
821
+ async cancelInbound(orderId, options) {
822
+ const localVarAxiosArgs = await localVarAxiosParamCreator.cancelInbound(orderId, options);
823
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
824
+ const localVarOperationServerBasePath = operationServerMap["AmazonWarehousingAndDistributionApi.cancelInbound"]?.[localVarOperationServerIndex]?.url;
825
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
826
+ },
827
+ /**
828
+ * Determines if the packages you specify are eligible for an AWD inbound order and contains error details for ineligible packages. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
829
+ * @param {InboundPackages} body Represents the packages you want to inbound.
830
+ * @param {*} [options] Override http request option.
831
+ * @throws {RequiredError}
832
+ */
833
+ async checkInboundEligibility(body, options) {
834
+ const localVarAxiosArgs = await localVarAxiosParamCreator.checkInboundEligibility(body, options);
835
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
836
+ const localVarOperationServerBasePath = operationServerMap["AmazonWarehousingAndDistributionApi.checkInboundEligibility"]?.[localVarOperationServerIndex]?.url;
837
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
838
+ },
839
+ /**
840
+ * Confirms an AWD inbound order in `DRAFT` status. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
841
+ * @param {string} orderId The ID of the inbound order that you want to confirm.
842
+ * @param {*} [options] Override http request option.
843
+ * @throws {RequiredError}
844
+ */
845
+ async confirmInbound(orderId, options) {
846
+ const localVarAxiosArgs = await localVarAxiosParamCreator.confirmInbound(orderId, options);
847
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
848
+ const localVarOperationServerBasePath = operationServerMap["AmazonWarehousingAndDistributionApi.confirmInbound"]?.[localVarOperationServerIndex]?.url;
849
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
850
+ },
851
+ /**
852
+ * Confirms an AWD outbound order for a set of shipments that contain items that must be outbound to a destination node. You can confirm the order only if it\'s in an`ELIGIBLE` state. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
853
+ * @param {string} orderId ID for the outbound order you want to confirm.
854
+ * @param {*} [options] Override http request option.
855
+ * @throws {RequiredError}
856
+ */
857
+ async confirmOutbound(orderId, options) {
858
+ const localVarAxiosArgs = await localVarAxiosParamCreator.confirmOutbound(orderId, options);
859
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
860
+ const localVarOperationServerBasePath = operationServerMap["AmazonWarehousingAndDistributionApi.confirmOutbound"]?.[localVarOperationServerIndex]?.url;
861
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
862
+ },
863
+ /**
864
+ * Confirms an AWD replenishment order in ELIGIBLE state with a set of shipments containing items that are needed to be replenished to an FBA node. Order can only be confirmed in ELIGIBLE state.
865
+ * @param {string} orderId ID of the replenishment order to be confirmed.
866
+ * @param {*} [options] Override http request option.
867
+ * @throws {RequiredError}
868
+ */
869
+ async confirmReplenishmentOrder(orderId, options) {
870
+ const localVarAxiosArgs = await localVarAxiosParamCreator.confirmReplenishmentOrder(orderId, options);
871
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
872
+ const localVarOperationServerBasePath = operationServerMap["AmazonWarehousingAndDistributionApi.confirmReplenishmentOrder"]?.[localVarOperationServerIndex]?.url;
873
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
874
+ },
875
+ /**
876
+ * Creates a draft AWD inbound order with a list of packages for inbound shipment. The operation creates one shipment per order. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
877
+ * @param {InboundOrderCreationData} body Payload for creating an inbound order.
878
+ * @param {*} [options] Override http request option.
879
+ * @throws {RequiredError}
880
+ */
881
+ async createInbound(body, options) {
882
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createInbound(body, options);
883
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
884
+ const localVarOperationServerBasePath = operationServerMap["AmazonWarehousingAndDistributionApi.createInbound"]?.[localVarOperationServerIndex]?.url;
885
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
886
+ },
887
+ /**
888
+ * Creates a draft AWD outbound order with the specified products. The API returns the order ID for the newly created order and starts an async validation check on the outbound products. After the validation check, the order status transitions from `VALIDATING` to `ELIGIBLE/INELIGIBLE`. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
889
+ * @param {OutboundOrderCreationData} body Payload for creating an outbound order.
890
+ * @param {*} [options] Override http request option.
891
+ * @throws {RequiredError}
892
+ */
893
+ async createOutbound(body, options) {
894
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createOutbound(body, options);
895
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
896
+ const localVarOperationServerBasePath = operationServerMap["AmazonWarehousingAndDistributionApi.createOutbound"]?.[localVarOperationServerIndex]?.url;
897
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
898
+ },
899
+ /**
900
+ * Creates an AWD replenishment order with given products to replenish. The API will return the order ID of the newly created order and also start an async validation check on the products to e. The order status will transition to ELIGIBLE/INELIGIBLE status from VALIDATING post validation check
901
+ * @param {ReplenishmentOrderCreationData} body Payload for creating a replenishment order.
902
+ * @param {*} [options] Override http request option.
903
+ * @throws {RequiredError}
904
+ */
905
+ async createReplenishmentOrder(body, options) {
906
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createReplenishmentOrder(body, options);
907
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
908
+ const localVarOperationServerBasePath = operationServerMap["AmazonWarehousingAndDistributionApi.createReplenishmentOrder"]?.[localVarOperationServerIndex]?.url;
909
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
910
+ },
911
+ /**
912
+ * Retrieves an AWD inbound order. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 2 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
913
+ * @param {string} orderId The ID of the inbound order that you want to retrieve.
914
+ * @param {*} [options] Override http request option.
915
+ * @throws {RequiredError}
916
+ */
917
+ async getInbound(orderId, options) {
918
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getInbound(orderId, options);
919
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
920
+ const localVarOperationServerBasePath = operationServerMap["AmazonWarehousingAndDistributionApi.getInbound"]?.[localVarOperationServerIndex]?.url;
921
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
922
+ },
923
+ /**
924
+ * Retrieves an AWD inbound shipment. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 2 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api)
925
+ * @param {string} shipmentId ID for the shipment. A shipment contains the cases being inbounded.
926
+ * @param {GetInboundShipmentSkuQuantitiesEnum} [skuQuantities] If equal to `SHOW`, the response includes the shipment SKU quantity details. Defaults to `HIDE`, in which case the response does not contain SKU quantities
927
+ * @param {*} [options] Override http request option.
928
+ * @throws {RequiredError}
929
+ */
930
+ async getInboundShipment(shipmentId, skuQuantities, options) {
931
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getInboundShipment(shipmentId, skuQuantities, options);
932
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
933
+ const localVarOperationServerBasePath = operationServerMap["AmazonWarehousingAndDistributionApi.getInboundShipment"]?.[localVarOperationServerIndex]?.url;
934
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
935
+ },
936
+ /**
937
+ * Retrieves the box labels for a shipment ID that you specify. This is an asynchronous operation. If the label status is `GENERATED`, then the label URL is available. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 2 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
938
+ * @param {string} shipmentId ID for the shipment.
939
+ * @param {GetInboundShipmentLabelsPageTypeEnum} [pageType] Page type for the generated labels. The default is `PLAIN_PAPER`.
940
+ * @param {GetInboundShipmentLabelsFormatTypeEnum} [formatType] The format type of the output file that contains your labels. The default format type is `PDF`.
941
+ * @param {*} [options] Override http request option.
942
+ * @throws {RequiredError}
943
+ */
944
+ async getInboundShipmentLabels(shipmentId, pageType, formatType, options) {
945
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getInboundShipmentLabels(shipmentId, pageType, formatType, options);
946
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
947
+ const localVarOperationServerBasePath = operationServerMap["AmazonWarehousingAndDistributionApi.getInboundShipmentLabels"]?.[localVarOperationServerIndex]?.url;
948
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
949
+ },
950
+ /**
951
+ * Retrieves the available label page types for a shipment ID that you specify. This is an asynchronous operation. If the label status is `GENERATED`, then the pageTypes are available. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 2 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
952
+ * @param {string} shipmentId ID for the shipment.
953
+ * @param {*} [options] Override http request option.
954
+ * @throws {RequiredError}
955
+ */
956
+ async getLabelPageTypes(shipmentId, options) {
957
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getLabelPageTypes(shipmentId, options);
958
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
959
+ const localVarOperationServerBasePath = operationServerMap["AmazonWarehousingAndDistributionApi.getLabelPageTypes"]?.[localVarOperationServerIndex]?.url;
960
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
961
+ },
962
+ /**
963
+ * Retrieves an AWD outbound order with a set of shipments that contain items that are outbound into a destination channel. If the order is not eligible, the validation errors field is included in the order response. The API returns the order ID for the newly created order and starts an async validation check on the outbound products. After the validation check, the order status transitions from `VALIDATING` to `ELIGIBLE/INELIGIBLE`. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
964
+ * @param {string} orderId ID for the outbound order to be retrieved.
965
+ * @param {*} [options] Override http request option.
966
+ * @throws {RequiredError}
967
+ */
968
+ async getOutbound(orderId, options) {
969
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getOutbound(orderId, options);
970
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
971
+ const localVarOperationServerBasePath = operationServerMap["AmazonWarehousingAndDistributionApi.getOutbound"]?.[localVarOperationServerIndex]?.url;
972
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
973
+ },
974
+ /**
975
+ * Retrieves an AWD Replenishment order with a set of shipments containing items that is/was planned to be replenished into an FBA node.
976
+ * @param {string} orderId ID of the replenishment order to be retrieved.
977
+ * @param {*} [options] Override http request option.
978
+ * @throws {RequiredError}
979
+ */
980
+ async getReplenishmentOrder(orderId, options) {
981
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getReplenishmentOrder(orderId, options);
982
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
983
+ const localVarOperationServerBasePath = operationServerMap["AmazonWarehousingAndDistributionApi.getReplenishmentOrder"]?.[localVarOperationServerIndex]?.url;
984
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
985
+ },
986
+ /**
987
+ * Retrieves a summary of all the inbound AWD shipments associated with a merchant, with the ability to apply optional filters. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
988
+ * @param {ListInboundShipmentsSortByEnum} [sortBy] Field to sort results by. By default, the response will be sorted by UPDATED_AT.
989
+ * @param {ListInboundShipmentsSortOrderEnum} [sortOrder] Sort the response in ASCENDING or DESCENDING order. By default, the response will be sorted in DESCENDING order.
990
+ * @param {ListInboundShipmentsShipmentStatusEnum} [shipmentStatus] Filter by inbound shipment status.
991
+ * @param {string} [updatedAfter] List the inbound shipments that were updated after a certain time (inclusive). The date must be in <a href=\'https://developer-docs.amazon.com/sp-api/docs/iso-8601\'>ISO 8601</a> format.
992
+ * @param {string} [updatedBefore] List the inbound shipments that were updated before a certain time (inclusive). The date must be in <a href=\'https://developer-docs.amazon.com/sp-api/docs/iso-8601\'>ISO 8601</a> format.
993
+ * @param {number} [maxResults] Maximum number of results to return.
994
+ * @param {string} [nextToken] A token that is used to retrieve the next page of results. The response includes `nextToken` when the number of results exceeds the specified `maxResults` value. To get the next page of results, call the operation with this token and include the same arguments as the call that produced the token. To get a complete list, call this operation until `nextToken` is null. Note that this operation can return empty pages.
995
+ * @param {*} [options] Override http request option.
996
+ * @throws {RequiredError}
997
+ */
998
+ async listInboundShipments(sortBy, sortOrder, shipmentStatus, updatedAfter, updatedBefore, maxResults, nextToken, options) {
999
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listInboundShipments(sortBy, sortOrder, shipmentStatus, updatedAfter, updatedBefore, maxResults, nextToken, options);
1000
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1001
+ const localVarOperationServerBasePath = operationServerMap["AmazonWarehousingAndDistributionApi.listInboundShipments"]?.[localVarOperationServerIndex]?.url;
1002
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1003
+ },
1004
+ /**
1005
+ * Lists AWD inventory associated with a merchant with the ability to apply optional filters. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 2 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
1006
+ * @param {string} [sku] Filter by seller or merchant SKU for the item.
1007
+ * @param {ListInventorySortOrderEnum} [sortOrder] Sort the response in `ASCENDING` or `DESCENDING` order.
1008
+ * @param {ListInventoryDetailsEnum} [details] Set to `SHOW` to return summaries with additional inventory details. Defaults to `HIDE,` which returns only inventory summary totals.
1009
+ * @param {string} [nextToken] A token that is used to retrieve the next page of results. The response includes `nextToken` when the number of results exceeds the specified `maxResults` value. To get the next page of results, call the operation with this token and include the same arguments as the call that produced the token. To get a complete list, call this operation until `nextToken` is null. Note that this operation can return empty pages.
1010
+ * @param {number} [maxResults] Maximum number of results to return.
1011
+ * @param {*} [options] Override http request option.
1012
+ * @throws {RequiredError}
1013
+ */
1014
+ async listInventory(sku, sortOrder, details, nextToken, maxResults, options) {
1015
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listInventory(sku, sortOrder, details, nextToken, maxResults, options);
1016
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1017
+ const localVarOperationServerBasePath = operationServerMap["AmazonWarehousingAndDistributionApi.listInventory"]?.[localVarOperationServerIndex]?.url;
1018
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1019
+ },
1020
+ /**
1021
+ * Retrieves all outbound AWD orders (with optional filters) that pertain to a merchant. By default, orders are sorted by the `updatedAt` attribute in descending order. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
1022
+ * @param {string} [updatedAfter] Get the outbound orders updated after a certain time (inclusive). The date must be in <a href=\'https://developer-docs.amazon.com/sp-api/docs/iso-8601\'>ISO 8601</a> format.
1023
+ * @param {string} [updatedBefore] Get the outbound orders updated before a certain time (inclusive). The date must be in <a href=\'https://developer-docs.amazon.com/sp-api/docs/iso-8601\'>ISO 8601</a> format.
1024
+ * @param {ListOutboundsSortOrderEnum} [sortOrder] Sort the response in `ASCENDING` or `DESCENDING` order.
1025
+ * @param {number} [maxResults] Maximum number of results to return.
1026
+ * @param {string} [nextToken] A token that is used to retrieve the next page of results. The response includes `nextToken` when the number of results exceeds the specified `maxResults` value. To get the next page of results, call the operation with this token and include the same arguments as the call that produced the token. To get a complete list, call this operation until `nextToken` is null. Note that this operation can return empty pages.
1027
+ * @param {*} [options] Override http request option.
1028
+ * @throws {RequiredError}
1029
+ */
1030
+ async listOutbounds(updatedAfter, updatedBefore, sortOrder, maxResults, nextToken, options) {
1031
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listOutbounds(updatedAfter, updatedBefore, sortOrder, maxResults, nextToken, options);
1032
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1033
+ const localVarOperationServerBasePath = operationServerMap["AmazonWarehousingAndDistributionApi.listOutbounds"]?.[localVarOperationServerIndex]?.url;
1034
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1035
+ },
1036
+ /**
1037
+ * Retrieves all the AWD replenishment orders pertaining to a merchant with optional filters. API by default will sort orders by updatedAt attribute in descending order.
1038
+ * @param {string} [updatedAfter] Get the replenishment orders updated after certain time (Inclusive) Date should be in ISO 8601 format as defined by date-time in - https://www.rfc-editor.org/rfc/rfc3339.
1039
+ * @param {string} [updatedBefore] Get the replenishment orders updated before certain time (Inclusive) Date should be in ISO 8601 format as defined by date-time in - https://www.rfc-editor.org/rfc/rfc3339.
1040
+ * @param {ListReplenishmentOrdersSortOrderEnum} [sortOrder] Sort the response in ASCENDING or DESCENDING order. The default sort order is DESCENDING.
1041
+ * @param {number} [maxResults] Maximum results to be returned in a single response.
1042
+ * @param {string} [nextToken] A token that is used to retrieve the next page of results. The response includes `nextToken` when the number of results exceeds the specified `maxResults` value. To get the next page of results, call the operation with this token and include the same arguments as the call that produced the token. To get a complete list, call this operation until `nextToken` is null. Note that this operation can return empty pages.
1043
+ * @param {*} [options] Override http request option.
1044
+ * @throws {RequiredError}
1045
+ */
1046
+ async listReplenishmentOrders(updatedAfter, updatedBefore, sortOrder, maxResults, nextToken, options) {
1047
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listReplenishmentOrders(updatedAfter, updatedBefore, sortOrder, maxResults, nextToken, options);
1048
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1049
+ const localVarOperationServerBasePath = operationServerMap["AmazonWarehousingAndDistributionApi.listReplenishmentOrders"]?.[localVarOperationServerIndex]?.url;
1050
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1051
+ },
1052
+ /**
1053
+ * Updates an AWD inbound order that is in `DRAFT` status and not yet confirmed. Use this operation to update the `packagesToInbound`, `originAddress` and `preferences` attributes. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
1054
+ * @param {string} orderId The ID of the inbound order that you want to update.
1055
+ * @param {InboundOrder} body Represents an AWD inbound order.
1056
+ * @param {*} [options] Override http request option.
1057
+ * @throws {RequiredError}
1058
+ */
1059
+ async updateInbound(orderId, body, options) {
1060
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateInbound(orderId, body, options);
1061
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1062
+ const localVarOperationServerBasePath = operationServerMap["AmazonWarehousingAndDistributionApi.updateInbound"]?.[localVarOperationServerIndex]?.url;
1063
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1064
+ },
1065
+ /**
1066
+ * Updates transport details for an AWD shipment. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
1067
+ * @param {string} shipmentId The shipment ID.
1068
+ * @param {TransportationDetails} body Transportation details for the shipment.
1069
+ * @param {*} [options] Override http request option.
1070
+ * @throws {RequiredError}
1071
+ */
1072
+ async updateInboundShipmentTransportDetails(shipmentId, body, options) {
1073
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateInboundShipmentTransportDetails(shipmentId, body, options);
1074
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1075
+ const localVarOperationServerBasePath = operationServerMap["AmazonWarehousingAndDistributionApi.updateInboundShipmentTransportDetails"]?.[localVarOperationServerIndex]?.url;
1076
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1077
+ },
1078
+ /**
1079
+ * Updates an AWD outbound order that is in `DRAFT`, `ELIGIBLE`, or `INELIGIBLE` status. This API allows updates on `productsToOutbound` and `orderPreferences` attributes only. Any updates will restart the outbound order validation. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
1080
+ * @param {string} orderId ID for the outbound order to be updated.
1081
+ * @param {OutboundOrder} body Represents an AWD outbound order.
1082
+ * @param {*} [options] Override http request option.
1083
+ * @throws {RequiredError}
1084
+ */
1085
+ async updateOutbound(orderId, body, options) {
1086
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateOutbound(orderId, body, options);
1087
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1088
+ const localVarOperationServerBasePath = operationServerMap["AmazonWarehousingAndDistributionApi.updateOutbound"]?.[localVarOperationServerIndex]?.url;
1089
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1090
+ }
1091
+ };
771
1092
  };
772
- var AmazonWarehousingAndDistributionApiFactory = function(configuration, basePath, axios) {
773
- const localVarFp = AmazonWarehousingAndDistributionApiFp(configuration);
774
- return {
775
- /**
776
- * Cancels an AWD Inbound order and its associated shipment. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
777
- * @param {AmazonWarehousingAndDistributionApiCancelInboundRequest} requestParameters Request parameters.
778
- * @param {*} [options] Override http request option.
779
- * @throws {RequiredError}
780
- */
781
- cancelInbound(requestParameters, options) {
782
- return localVarFp.cancelInbound(requestParameters.orderId, options).then((request) => request(axios, basePath));
783
- },
784
- /**
785
- * Determines if the packages you specify are eligible for an AWD inbound order and contains error details for ineligible packages. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
786
- * @param {AmazonWarehousingAndDistributionApiCheckInboundEligibilityRequest} requestParameters Request parameters.
787
- * @param {*} [options] Override http request option.
788
- * @throws {RequiredError}
789
- */
790
- checkInboundEligibility(requestParameters, options) {
791
- return localVarFp.checkInboundEligibility(requestParameters.body, options).then((request) => request(axios, basePath));
792
- },
793
- /**
794
- * Confirms an AWD inbound order in `DRAFT` status. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
795
- * @param {AmazonWarehousingAndDistributionApiConfirmInboundRequest} requestParameters Request parameters.
796
- * @param {*} [options] Override http request option.
797
- * @throws {RequiredError}
798
- */
799
- confirmInbound(requestParameters, options) {
800
- return localVarFp.confirmInbound(requestParameters.orderId, options).then((request) => request(axios, basePath));
801
- },
802
- /**
803
- * Confirms an AWD replenishment order in ELIGIBLE state with a set of shipments containing items that are needed to be replenished to an FBA node. Order can only be confirmed in ELIGIBLE state.
804
- * @param {AmazonWarehousingAndDistributionApiConfirmReplenishmentOrderRequest} requestParameters Request parameters.
805
- * @param {*} [options] Override http request option.
806
- * @throws {RequiredError}
807
- */
808
- confirmReplenishmentOrder(requestParameters, options) {
809
- return localVarFp.confirmReplenishmentOrder(requestParameters.orderId, options).then((request) => request(axios, basePath));
810
- },
811
- /**
812
- * Creates a draft AWD inbound order with a list of packages for inbound shipment. The operation creates one shipment per order. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
813
- * @param {AmazonWarehousingAndDistributionApiCreateInboundRequest} requestParameters Request parameters.
814
- * @param {*} [options] Override http request option.
815
- * @throws {RequiredError}
816
- */
817
- createInbound(requestParameters, options) {
818
- return localVarFp.createInbound(requestParameters.body, options).then((request) => request(axios, basePath));
819
- },
820
- /**
821
- * Creates an AWD replenishment order with given products to replenish. The API will return the order ID of the newly created order and also start an async validation check on the products to e. The order status will transition to ELIGIBLE/INELIGIBLE status from VALIDATING post validation check
822
- * @param {AmazonWarehousingAndDistributionApiCreateReplenishmentOrderRequest} requestParameters Request parameters.
823
- * @param {*} [options] Override http request option.
824
- * @throws {RequiredError}
825
- */
826
- createReplenishmentOrder(requestParameters, options) {
827
- return localVarFp.createReplenishmentOrder(requestParameters.body, options).then((request) => request(axios, basePath));
828
- },
829
- /**
830
- * Retrieves an AWD inbound order. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 2 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
831
- * @param {AmazonWarehousingAndDistributionApiGetInboundRequest} requestParameters Request parameters.
832
- * @param {*} [options] Override http request option.
833
- * @throws {RequiredError}
834
- */
835
- getInbound(requestParameters, options) {
836
- return localVarFp.getInbound(requestParameters.orderId, options).then((request) => request(axios, basePath));
837
- },
838
- /**
839
- * Retrieves an AWD inbound shipment. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 2 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api)
840
- * @param {AmazonWarehousingAndDistributionApiGetInboundShipmentRequest} requestParameters Request parameters.
841
- * @param {*} [options] Override http request option.
842
- * @throws {RequiredError}
843
- */
844
- getInboundShipment(requestParameters, options) {
845
- return localVarFp.getInboundShipment(requestParameters.shipmentId, requestParameters.skuQuantities, options).then((request) => request(axios, basePath));
846
- },
847
- /**
848
- * Retrieves the box labels for a shipment ID that you specify. This is an asynchronous operation. If the label status is `GENERATED`, then the label URL is available. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 2 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
849
- * @param {AmazonWarehousingAndDistributionApiGetInboundShipmentLabelsRequest} requestParameters Request parameters.
850
- * @param {*} [options] Override http request option.
851
- * @throws {RequiredError}
852
- */
853
- getInboundShipmentLabels(requestParameters, options) {
854
- return localVarFp.getInboundShipmentLabels(requestParameters.shipmentId, requestParameters.pageType, requestParameters.formatType, options).then((request) => request(axios, basePath));
855
- },
856
- /**
857
- * Retrieves an AWD Replenishment order with a set of shipments containing items that is/was planned to be replenished into an FBA node.
858
- * @param {AmazonWarehousingAndDistributionApiGetReplenishmentOrderRequest} requestParameters Request parameters.
859
- * @param {*} [options] Override http request option.
860
- * @throws {RequiredError}
861
- */
862
- getReplenishmentOrder(requestParameters, options) {
863
- return localVarFp.getReplenishmentOrder(requestParameters.orderId, options).then((request) => request(axios, basePath));
864
- },
865
- /**
866
- * Retrieves a summary of all the inbound AWD shipments associated with a merchant, with the ability to apply optional filters. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
867
- * @param {AmazonWarehousingAndDistributionApiListInboundShipmentsRequest} requestParameters Request parameters.
868
- * @param {*} [options] Override http request option.
869
- * @throws {RequiredError}
870
- */
871
- listInboundShipments(requestParameters = {}, options) {
872
- return localVarFp.listInboundShipments(requestParameters.sortBy, requestParameters.sortOrder, requestParameters.shipmentStatus, requestParameters.updatedAfter, requestParameters.updatedBefore, requestParameters.maxResults, requestParameters.nextToken, options).then((request) => request(axios, basePath));
873
- },
874
- /**
875
- * Lists AWD inventory associated with a merchant with the ability to apply optional filters. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 2 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
876
- * @param {AmazonWarehousingAndDistributionApiListInventoryRequest} requestParameters Request parameters.
877
- * @param {*} [options] Override http request option.
878
- * @throws {RequiredError}
879
- */
880
- listInventory(requestParameters = {}, options) {
881
- return localVarFp.listInventory(requestParameters.sku, requestParameters.sortOrder, requestParameters.details, requestParameters.nextToken, requestParameters.maxResults, options).then((request) => request(axios, basePath));
882
- },
883
- /**
884
- * Retrieves all the AWD replenishment orders pertaining to a merchant with optional filters. API by default will sort orders by updatedAt attribute in descending order.
885
- * @param {AmazonWarehousingAndDistributionApiListReplenishmentOrdersRequest} requestParameters Request parameters.
886
- * @param {*} [options] Override http request option.
887
- * @throws {RequiredError}
888
- */
889
- listReplenishmentOrders(requestParameters = {}, options) {
890
- return localVarFp.listReplenishmentOrders(requestParameters.updatedAfter, requestParameters.updatedBefore, requestParameters.sortOrder, requestParameters.maxResults, requestParameters.nextToken, options).then((request) => request(axios, basePath));
891
- },
892
- /**
893
- * Updates an AWD inbound order that is in `DRAFT` status and not yet confirmed. Use this operation to update the `packagesToInbound`, `originAddress` and `preferences` attributes. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
894
- * @param {AmazonWarehousingAndDistributionApiUpdateInboundRequest} requestParameters Request parameters.
895
- * @param {*} [options] Override http request option.
896
- * @throws {RequiredError}
897
- */
898
- updateInbound(requestParameters, options) {
899
- return localVarFp.updateInbound(requestParameters.orderId, requestParameters.body, options).then((request) => request(axios, basePath));
900
- },
901
- /**
902
- * Updates transport details for an AWD shipment. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
903
- * @param {AmazonWarehousingAndDistributionApiUpdateInboundShipmentTransportDetailsRequest} requestParameters Request parameters.
904
- * @param {*} [options] Override http request option.
905
- * @throws {RequiredError}
906
- */
907
- updateInboundShipmentTransportDetails(requestParameters, options) {
908
- return localVarFp.updateInboundShipmentTransportDetails(requestParameters.shipmentId, requestParameters.body, options).then((request) => request(axios, basePath));
909
- }
910
- };
1093
+ /**
1094
+ * AmazonWarehousingAndDistributionApi - factory interface
1095
+ */
1096
+ const AmazonWarehousingAndDistributionApiFactory = function(configuration, basePath, axios) {
1097
+ const localVarFp = AmazonWarehousingAndDistributionApiFp(configuration);
1098
+ return {
1099
+ /**
1100
+ * Cancels an AWD Inbound order and its associated shipment. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
1101
+ * @param {AmazonWarehousingAndDistributionApiCancelInboundRequest} requestParameters Request parameters.
1102
+ * @param {*} [options] Override http request option.
1103
+ * @throws {RequiredError}
1104
+ */
1105
+ cancelInbound(requestParameters, options) {
1106
+ return localVarFp.cancelInbound(requestParameters.orderId, options).then((request) => request(axios, basePath));
1107
+ },
1108
+ /**
1109
+ * Determines if the packages you specify are eligible for an AWD inbound order and contains error details for ineligible packages. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
1110
+ * @param {AmazonWarehousingAndDistributionApiCheckInboundEligibilityRequest} requestParameters Request parameters.
1111
+ * @param {*} [options] Override http request option.
1112
+ * @throws {RequiredError}
1113
+ */
1114
+ checkInboundEligibility(requestParameters, options) {
1115
+ return localVarFp.checkInboundEligibility(requestParameters.body, options).then((request) => request(axios, basePath));
1116
+ },
1117
+ /**
1118
+ * Confirms an AWD inbound order in `DRAFT` status. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
1119
+ * @param {AmazonWarehousingAndDistributionApiConfirmInboundRequest} requestParameters Request parameters.
1120
+ * @param {*} [options] Override http request option.
1121
+ * @throws {RequiredError}
1122
+ */
1123
+ confirmInbound(requestParameters, options) {
1124
+ return localVarFp.confirmInbound(requestParameters.orderId, options).then((request) => request(axios, basePath));
1125
+ },
1126
+ /**
1127
+ * Confirms an AWD outbound order for a set of shipments that contain items that must be outbound to a destination node. You can confirm the order only if it\'s in an`ELIGIBLE` state. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
1128
+ * @param {AmazonWarehousingAndDistributionApiConfirmOutboundRequest} requestParameters Request parameters.
1129
+ * @param {*} [options] Override http request option.
1130
+ * @throws {RequiredError}
1131
+ */
1132
+ confirmOutbound(requestParameters, options) {
1133
+ return localVarFp.confirmOutbound(requestParameters.orderId, options).then((request) => request(axios, basePath));
1134
+ },
1135
+ /**
1136
+ * Confirms an AWD replenishment order in ELIGIBLE state with a set of shipments containing items that are needed to be replenished to an FBA node. Order can only be confirmed in ELIGIBLE state.
1137
+ * @param {AmazonWarehousingAndDistributionApiConfirmReplenishmentOrderRequest} requestParameters Request parameters.
1138
+ * @param {*} [options] Override http request option.
1139
+ * @throws {RequiredError}
1140
+ */
1141
+ confirmReplenishmentOrder(requestParameters, options) {
1142
+ return localVarFp.confirmReplenishmentOrder(requestParameters.orderId, options).then((request) => request(axios, basePath));
1143
+ },
1144
+ /**
1145
+ * Creates a draft AWD inbound order with a list of packages for inbound shipment. The operation creates one shipment per order. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
1146
+ * @param {AmazonWarehousingAndDistributionApiCreateInboundRequest} requestParameters Request parameters.
1147
+ * @param {*} [options] Override http request option.
1148
+ * @throws {RequiredError}
1149
+ */
1150
+ createInbound(requestParameters, options) {
1151
+ return localVarFp.createInbound(requestParameters.body, options).then((request) => request(axios, basePath));
1152
+ },
1153
+ /**
1154
+ * Creates a draft AWD outbound order with the specified products. The API returns the order ID for the newly created order and starts an async validation check on the outbound products. After the validation check, the order status transitions from `VALIDATING` to `ELIGIBLE/INELIGIBLE`. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
1155
+ * @param {AmazonWarehousingAndDistributionApiCreateOutboundRequest} requestParameters Request parameters.
1156
+ * @param {*} [options] Override http request option.
1157
+ * @throws {RequiredError}
1158
+ */
1159
+ createOutbound(requestParameters, options) {
1160
+ return localVarFp.createOutbound(requestParameters.body, options).then((request) => request(axios, basePath));
1161
+ },
1162
+ /**
1163
+ * Creates an AWD replenishment order with given products to replenish. The API will return the order ID of the newly created order and also start an async validation check on the products to e. The order status will transition to ELIGIBLE/INELIGIBLE status from VALIDATING post validation check
1164
+ * @param {AmazonWarehousingAndDistributionApiCreateReplenishmentOrderRequest} requestParameters Request parameters.
1165
+ * @param {*} [options] Override http request option.
1166
+ * @throws {RequiredError}
1167
+ */
1168
+ createReplenishmentOrder(requestParameters, options) {
1169
+ return localVarFp.createReplenishmentOrder(requestParameters.body, options).then((request) => request(axios, basePath));
1170
+ },
1171
+ /**
1172
+ * Retrieves an AWD inbound order. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 2 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
1173
+ * @param {AmazonWarehousingAndDistributionApiGetInboundRequest} requestParameters Request parameters.
1174
+ * @param {*} [options] Override http request option.
1175
+ * @throws {RequiredError}
1176
+ */
1177
+ getInbound(requestParameters, options) {
1178
+ return localVarFp.getInbound(requestParameters.orderId, options).then((request) => request(axios, basePath));
1179
+ },
1180
+ /**
1181
+ * Retrieves an AWD inbound shipment. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 2 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api)
1182
+ * @param {AmazonWarehousingAndDistributionApiGetInboundShipmentRequest} requestParameters Request parameters.
1183
+ * @param {*} [options] Override http request option.
1184
+ * @throws {RequiredError}
1185
+ */
1186
+ getInboundShipment(requestParameters, options) {
1187
+ return localVarFp.getInboundShipment(requestParameters.shipmentId, requestParameters.skuQuantities, options).then((request) => request(axios, basePath));
1188
+ },
1189
+ /**
1190
+ * Retrieves the box labels for a shipment ID that you specify. This is an asynchronous operation. If the label status is `GENERATED`, then the label URL is available. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 2 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
1191
+ * @param {AmazonWarehousingAndDistributionApiGetInboundShipmentLabelsRequest} requestParameters Request parameters.
1192
+ * @param {*} [options] Override http request option.
1193
+ * @throws {RequiredError}
1194
+ */
1195
+ getInboundShipmentLabels(requestParameters, options) {
1196
+ return localVarFp.getInboundShipmentLabels(requestParameters.shipmentId, requestParameters.pageType, requestParameters.formatType, options).then((request) => request(axios, basePath));
1197
+ },
1198
+ /**
1199
+ * Retrieves the available label page types for a shipment ID that you specify. This is an asynchronous operation. If the label status is `GENERATED`, then the pageTypes are available. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 2 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
1200
+ * @param {AmazonWarehousingAndDistributionApiGetLabelPageTypesRequest} requestParameters Request parameters.
1201
+ * @param {*} [options] Override http request option.
1202
+ * @throws {RequiredError}
1203
+ */
1204
+ getLabelPageTypes(requestParameters, options) {
1205
+ return localVarFp.getLabelPageTypes(requestParameters.shipmentId, options).then((request) => request(axios, basePath));
1206
+ },
1207
+ /**
1208
+ * Retrieves an AWD outbound order with a set of shipments that contain items that are outbound into a destination channel. If the order is not eligible, the validation errors field is included in the order response. The API returns the order ID for the newly created order and starts an async validation check on the outbound products. After the validation check, the order status transitions from `VALIDATING` to `ELIGIBLE/INELIGIBLE`. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
1209
+ * @param {AmazonWarehousingAndDistributionApiGetOutboundRequest} requestParameters Request parameters.
1210
+ * @param {*} [options] Override http request option.
1211
+ * @throws {RequiredError}
1212
+ */
1213
+ getOutbound(requestParameters, options) {
1214
+ return localVarFp.getOutbound(requestParameters.orderId, options).then((request) => request(axios, basePath));
1215
+ },
1216
+ /**
1217
+ * Retrieves an AWD Replenishment order with a set of shipments containing items that is/was planned to be replenished into an FBA node.
1218
+ * @param {AmazonWarehousingAndDistributionApiGetReplenishmentOrderRequest} requestParameters Request parameters.
1219
+ * @param {*} [options] Override http request option.
1220
+ * @throws {RequiredError}
1221
+ */
1222
+ getReplenishmentOrder(requestParameters, options) {
1223
+ return localVarFp.getReplenishmentOrder(requestParameters.orderId, options).then((request) => request(axios, basePath));
1224
+ },
1225
+ /**
1226
+ * Retrieves a summary of all the inbound AWD shipments associated with a merchant, with the ability to apply optional filters. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
1227
+ * @param {AmazonWarehousingAndDistributionApiListInboundShipmentsRequest} requestParameters Request parameters.
1228
+ * @param {*} [options] Override http request option.
1229
+ * @throws {RequiredError}
1230
+ */
1231
+ listInboundShipments(requestParameters = {}, options) {
1232
+ return localVarFp.listInboundShipments(requestParameters.sortBy, requestParameters.sortOrder, requestParameters.shipmentStatus, requestParameters.updatedAfter, requestParameters.updatedBefore, requestParameters.maxResults, requestParameters.nextToken, options).then((request) => request(axios, basePath));
1233
+ },
1234
+ /**
1235
+ * Lists AWD inventory associated with a merchant with the ability to apply optional filters. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 2 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
1236
+ * @param {AmazonWarehousingAndDistributionApiListInventoryRequest} requestParameters Request parameters.
1237
+ * @param {*} [options] Override http request option.
1238
+ * @throws {RequiredError}
1239
+ */
1240
+ listInventory(requestParameters = {}, options) {
1241
+ return localVarFp.listInventory(requestParameters.sku, requestParameters.sortOrder, requestParameters.details, requestParameters.nextToken, requestParameters.maxResults, options).then((request) => request(axios, basePath));
1242
+ },
1243
+ /**
1244
+ * Retrieves all outbound AWD orders (with optional filters) that pertain to a merchant. By default, orders are sorted by the `updatedAt` attribute in descending order. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
1245
+ * @param {AmazonWarehousingAndDistributionApiListOutboundsRequest} requestParameters Request parameters.
1246
+ * @param {*} [options] Override http request option.
1247
+ * @throws {RequiredError}
1248
+ */
1249
+ listOutbounds(requestParameters = {}, options) {
1250
+ return localVarFp.listOutbounds(requestParameters.updatedAfter, requestParameters.updatedBefore, requestParameters.sortOrder, requestParameters.maxResults, requestParameters.nextToken, options).then((request) => request(axios, basePath));
1251
+ },
1252
+ /**
1253
+ * Retrieves all the AWD replenishment orders pertaining to a merchant with optional filters. API by default will sort orders by updatedAt attribute in descending order.
1254
+ * @param {AmazonWarehousingAndDistributionApiListReplenishmentOrdersRequest} requestParameters Request parameters.
1255
+ * @param {*} [options] Override http request option.
1256
+ * @throws {RequiredError}
1257
+ */
1258
+ listReplenishmentOrders(requestParameters = {}, options) {
1259
+ return localVarFp.listReplenishmentOrders(requestParameters.updatedAfter, requestParameters.updatedBefore, requestParameters.sortOrder, requestParameters.maxResults, requestParameters.nextToken, options).then((request) => request(axios, basePath));
1260
+ },
1261
+ /**
1262
+ * Updates an AWD inbound order that is in `DRAFT` status and not yet confirmed. Use this operation to update the `packagesToInbound`, `originAddress` and `preferences` attributes. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
1263
+ * @param {AmazonWarehousingAndDistributionApiUpdateInboundRequest} requestParameters Request parameters.
1264
+ * @param {*} [options] Override http request option.
1265
+ * @throws {RequiredError}
1266
+ */
1267
+ updateInbound(requestParameters, options) {
1268
+ return localVarFp.updateInbound(requestParameters.orderId, requestParameters.body, options).then((request) => request(axios, basePath));
1269
+ },
1270
+ /**
1271
+ * Updates transport details for an AWD shipment. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
1272
+ * @param {AmazonWarehousingAndDistributionApiUpdateInboundShipmentTransportDetailsRequest} requestParameters Request parameters.
1273
+ * @param {*} [options] Override http request option.
1274
+ * @throws {RequiredError}
1275
+ */
1276
+ updateInboundShipmentTransportDetails(requestParameters, options) {
1277
+ return localVarFp.updateInboundShipmentTransportDetails(requestParameters.shipmentId, requestParameters.body, options).then((request) => request(axios, basePath));
1278
+ },
1279
+ /**
1280
+ * Updates an AWD outbound order that is in `DRAFT`, `ELIGIBLE`, or `INELIGIBLE` status. This API allows updates on `productsToOutbound` and `orderPreferences` attributes only. Any updates will restart the outbound order validation. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
1281
+ * @param {AmazonWarehousingAndDistributionApiUpdateOutboundRequest} requestParameters Request parameters.
1282
+ * @param {*} [options] Override http request option.
1283
+ * @throws {RequiredError}
1284
+ */
1285
+ updateOutbound(requestParameters, options) {
1286
+ return localVarFp.updateOutbound(requestParameters.orderId, requestParameters.body, options).then((request) => request(axios, basePath));
1287
+ }
1288
+ };
911
1289
  };
1290
+ /**
1291
+ * AmazonWarehousingAndDistributionApi - object-oriented interface
1292
+ */
912
1293
  var AmazonWarehousingAndDistributionApi = class extends BaseAPI {
913
- /**
914
- * Cancels an AWD Inbound order and its associated shipment. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
915
- * @param {AmazonWarehousingAndDistributionApiCancelInboundRequest} requestParameters Request parameters.
916
- * @param {*} [options] Override http request option.
917
- * @throws {RequiredError}
918
- */
919
- cancelInbound(requestParameters, options) {
920
- return AmazonWarehousingAndDistributionApiFp(this.configuration).cancelInbound(requestParameters.orderId, options).then((request) => request(this.axios, this.basePath));
921
- }
922
- /**
923
- * Determines if the packages you specify are eligible for an AWD inbound order and contains error details for ineligible packages. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
924
- * @param {AmazonWarehousingAndDistributionApiCheckInboundEligibilityRequest} requestParameters Request parameters.
925
- * @param {*} [options] Override http request option.
926
- * @throws {RequiredError}
927
- */
928
- checkInboundEligibility(requestParameters, options) {
929
- return AmazonWarehousingAndDistributionApiFp(this.configuration).checkInboundEligibility(requestParameters.body, options).then((request) => request(this.axios, this.basePath));
930
- }
931
- /**
932
- * Confirms an AWD inbound order in `DRAFT` status. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
933
- * @param {AmazonWarehousingAndDistributionApiConfirmInboundRequest} requestParameters Request parameters.
934
- * @param {*} [options] Override http request option.
935
- * @throws {RequiredError}
936
- */
937
- confirmInbound(requestParameters, options) {
938
- return AmazonWarehousingAndDistributionApiFp(this.configuration).confirmInbound(requestParameters.orderId, options).then((request) => request(this.axios, this.basePath));
939
- }
940
- /**
941
- * Confirms an AWD replenishment order in ELIGIBLE state with a set of shipments containing items that are needed to be replenished to an FBA node. Order can only be confirmed in ELIGIBLE state.
942
- * @param {AmazonWarehousingAndDistributionApiConfirmReplenishmentOrderRequest} requestParameters Request parameters.
943
- * @param {*} [options] Override http request option.
944
- * @throws {RequiredError}
945
- */
946
- confirmReplenishmentOrder(requestParameters, options) {
947
- return AmazonWarehousingAndDistributionApiFp(this.configuration).confirmReplenishmentOrder(requestParameters.orderId, options).then((request) => request(this.axios, this.basePath));
948
- }
949
- /**
950
- * Creates a draft AWD inbound order with a list of packages for inbound shipment. The operation creates one shipment per order. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
951
- * @param {AmazonWarehousingAndDistributionApiCreateInboundRequest} requestParameters Request parameters.
952
- * @param {*} [options] Override http request option.
953
- * @throws {RequiredError}
954
- */
955
- createInbound(requestParameters, options) {
956
- return AmazonWarehousingAndDistributionApiFp(this.configuration).createInbound(requestParameters.body, options).then((request) => request(this.axios, this.basePath));
957
- }
958
- /**
959
- * Creates an AWD replenishment order with given products to replenish. The API will return the order ID of the newly created order and also start an async validation check on the products to e. The order status will transition to ELIGIBLE/INELIGIBLE status from VALIDATING post validation check
960
- * @param {AmazonWarehousingAndDistributionApiCreateReplenishmentOrderRequest} requestParameters Request parameters.
961
- * @param {*} [options] Override http request option.
962
- * @throws {RequiredError}
963
- */
964
- createReplenishmentOrder(requestParameters, options) {
965
- return AmazonWarehousingAndDistributionApiFp(this.configuration).createReplenishmentOrder(requestParameters.body, options).then((request) => request(this.axios, this.basePath));
966
- }
967
- /**
968
- * Retrieves an AWD inbound order. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 2 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
969
- * @param {AmazonWarehousingAndDistributionApiGetInboundRequest} requestParameters Request parameters.
970
- * @param {*} [options] Override http request option.
971
- * @throws {RequiredError}
972
- */
973
- getInbound(requestParameters, options) {
974
- return AmazonWarehousingAndDistributionApiFp(this.configuration).getInbound(requestParameters.orderId, options).then((request) => request(this.axios, this.basePath));
975
- }
976
- /**
977
- * Retrieves an AWD inbound shipment. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 2 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api)
978
- * @param {AmazonWarehousingAndDistributionApiGetInboundShipmentRequest} requestParameters Request parameters.
979
- * @param {*} [options] Override http request option.
980
- * @throws {RequiredError}
981
- */
982
- getInboundShipment(requestParameters, options) {
983
- return AmazonWarehousingAndDistributionApiFp(this.configuration).getInboundShipment(requestParameters.shipmentId, requestParameters.skuQuantities, options).then((request) => request(this.axios, this.basePath));
984
- }
985
- /**
986
- * Retrieves the box labels for a shipment ID that you specify. This is an asynchronous operation. If the label status is `GENERATED`, then the label URL is available. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 2 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
987
- * @param {AmazonWarehousingAndDistributionApiGetInboundShipmentLabelsRequest} requestParameters Request parameters.
988
- * @param {*} [options] Override http request option.
989
- * @throws {RequiredError}
990
- */
991
- getInboundShipmentLabels(requestParameters, options) {
992
- return AmazonWarehousingAndDistributionApiFp(this.configuration).getInboundShipmentLabels(requestParameters.shipmentId, requestParameters.pageType, requestParameters.formatType, options).then((request) => request(this.axios, this.basePath));
993
- }
994
- /**
995
- * Retrieves an AWD Replenishment order with a set of shipments containing items that is/was planned to be replenished into an FBA node.
996
- * @param {AmazonWarehousingAndDistributionApiGetReplenishmentOrderRequest} requestParameters Request parameters.
997
- * @param {*} [options] Override http request option.
998
- * @throws {RequiredError}
999
- */
1000
- getReplenishmentOrder(requestParameters, options) {
1001
- return AmazonWarehousingAndDistributionApiFp(this.configuration).getReplenishmentOrder(requestParameters.orderId, options).then((request) => request(this.axios, this.basePath));
1002
- }
1003
- /**
1004
- * Retrieves a summary of all the inbound AWD shipments associated with a merchant, with the ability to apply optional filters. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
1005
- * @param {AmazonWarehousingAndDistributionApiListInboundShipmentsRequest} requestParameters Request parameters.
1006
- * @param {*} [options] Override http request option.
1007
- * @throws {RequiredError}
1008
- */
1009
- listInboundShipments(requestParameters = {}, options) {
1010
- return AmazonWarehousingAndDistributionApiFp(this.configuration).listInboundShipments(requestParameters.sortBy, requestParameters.sortOrder, requestParameters.shipmentStatus, requestParameters.updatedAfter, requestParameters.updatedBefore, requestParameters.maxResults, requestParameters.nextToken, options).then((request) => request(this.axios, this.basePath));
1011
- }
1012
- /**
1013
- * Lists AWD inventory associated with a merchant with the ability to apply optional filters. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 2 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
1014
- * @param {AmazonWarehousingAndDistributionApiListInventoryRequest} requestParameters Request parameters.
1015
- * @param {*} [options] Override http request option.
1016
- * @throws {RequiredError}
1017
- */
1018
- listInventory(requestParameters = {}, options) {
1019
- return AmazonWarehousingAndDistributionApiFp(this.configuration).listInventory(requestParameters.sku, requestParameters.sortOrder, requestParameters.details, requestParameters.nextToken, requestParameters.maxResults, options).then((request) => request(this.axios, this.basePath));
1020
- }
1021
- /**
1022
- * Retrieves all the AWD replenishment orders pertaining to a merchant with optional filters. API by default will sort orders by updatedAt attribute in descending order.
1023
- * @param {AmazonWarehousingAndDistributionApiListReplenishmentOrdersRequest} requestParameters Request parameters.
1024
- * @param {*} [options] Override http request option.
1025
- * @throws {RequiredError}
1026
- */
1027
- listReplenishmentOrders(requestParameters = {}, options) {
1028
- return AmazonWarehousingAndDistributionApiFp(this.configuration).listReplenishmentOrders(requestParameters.updatedAfter, requestParameters.updatedBefore, requestParameters.sortOrder, requestParameters.maxResults, requestParameters.nextToken, options).then((request) => request(this.axios, this.basePath));
1029
- }
1030
- /**
1031
- * Updates an AWD inbound order that is in `DRAFT` status and not yet confirmed. Use this operation to update the `packagesToInbound`, `originAddress` and `preferences` attributes. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
1032
- * @param {AmazonWarehousingAndDistributionApiUpdateInboundRequest} requestParameters Request parameters.
1033
- * @param {*} [options] Override http request option.
1034
- * @throws {RequiredError}
1035
- */
1036
- updateInbound(requestParameters, options) {
1037
- return AmazonWarehousingAndDistributionApiFp(this.configuration).updateInbound(requestParameters.orderId, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
1038
- }
1039
- /**
1040
- * Updates transport details for an AWD shipment. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
1041
- * @param {AmazonWarehousingAndDistributionApiUpdateInboundShipmentTransportDetailsRequest} requestParameters Request parameters.
1042
- * @param {*} [options] Override http request option.
1043
- * @throws {RequiredError}
1044
- */
1045
- updateInboundShipmentTransportDetails(requestParameters, options) {
1046
- return AmazonWarehousingAndDistributionApiFp(this.configuration).updateInboundShipmentTransportDetails(requestParameters.shipmentId, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
1047
- }
1294
+ /**
1295
+ * Cancels an AWD Inbound order and its associated shipment. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
1296
+ * @param {AmazonWarehousingAndDistributionApiCancelInboundRequest} requestParameters Request parameters.
1297
+ * @param {*} [options] Override http request option.
1298
+ * @throws {RequiredError}
1299
+ */
1300
+ cancelInbound(requestParameters, options) {
1301
+ return AmazonWarehousingAndDistributionApiFp(this.configuration).cancelInbound(requestParameters.orderId, options).then((request) => request(this.axios, this.basePath));
1302
+ }
1303
+ /**
1304
+ * Determines if the packages you specify are eligible for an AWD inbound order and contains error details for ineligible packages. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
1305
+ * @param {AmazonWarehousingAndDistributionApiCheckInboundEligibilityRequest} requestParameters Request parameters.
1306
+ * @param {*} [options] Override http request option.
1307
+ * @throws {RequiredError}
1308
+ */
1309
+ checkInboundEligibility(requestParameters, options) {
1310
+ return AmazonWarehousingAndDistributionApiFp(this.configuration).checkInboundEligibility(requestParameters.body, options).then((request) => request(this.axios, this.basePath));
1311
+ }
1312
+ /**
1313
+ * Confirms an AWD inbound order in `DRAFT` status. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
1314
+ * @param {AmazonWarehousingAndDistributionApiConfirmInboundRequest} requestParameters Request parameters.
1315
+ * @param {*} [options] Override http request option.
1316
+ * @throws {RequiredError}
1317
+ */
1318
+ confirmInbound(requestParameters, options) {
1319
+ return AmazonWarehousingAndDistributionApiFp(this.configuration).confirmInbound(requestParameters.orderId, options).then((request) => request(this.axios, this.basePath));
1320
+ }
1321
+ /**
1322
+ * Confirms an AWD outbound order for a set of shipments that contain items that must be outbound to a destination node. You can confirm the order only if it\'s in an`ELIGIBLE` state. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
1323
+ * @param {AmazonWarehousingAndDistributionApiConfirmOutboundRequest} requestParameters Request parameters.
1324
+ * @param {*} [options] Override http request option.
1325
+ * @throws {RequiredError}
1326
+ */
1327
+ confirmOutbound(requestParameters, options) {
1328
+ return AmazonWarehousingAndDistributionApiFp(this.configuration).confirmOutbound(requestParameters.orderId, options).then((request) => request(this.axios, this.basePath));
1329
+ }
1330
+ /**
1331
+ * Confirms an AWD replenishment order in ELIGIBLE state with a set of shipments containing items that are needed to be replenished to an FBA node. Order can only be confirmed in ELIGIBLE state.
1332
+ * @param {AmazonWarehousingAndDistributionApiConfirmReplenishmentOrderRequest} requestParameters Request parameters.
1333
+ * @param {*} [options] Override http request option.
1334
+ * @throws {RequiredError}
1335
+ */
1336
+ confirmReplenishmentOrder(requestParameters, options) {
1337
+ return AmazonWarehousingAndDistributionApiFp(this.configuration).confirmReplenishmentOrder(requestParameters.orderId, options).then((request) => request(this.axios, this.basePath));
1338
+ }
1339
+ /**
1340
+ * Creates a draft AWD inbound order with a list of packages for inbound shipment. The operation creates one shipment per order. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
1341
+ * @param {AmazonWarehousingAndDistributionApiCreateInboundRequest} requestParameters Request parameters.
1342
+ * @param {*} [options] Override http request option.
1343
+ * @throws {RequiredError}
1344
+ */
1345
+ createInbound(requestParameters, options) {
1346
+ return AmazonWarehousingAndDistributionApiFp(this.configuration).createInbound(requestParameters.body, options).then((request) => request(this.axios, this.basePath));
1347
+ }
1348
+ /**
1349
+ * Creates a draft AWD outbound order with the specified products. The API returns the order ID for the newly created order and starts an async validation check on the outbound products. After the validation check, the order status transitions from `VALIDATING` to `ELIGIBLE/INELIGIBLE`. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
1350
+ * @param {AmazonWarehousingAndDistributionApiCreateOutboundRequest} requestParameters Request parameters.
1351
+ * @param {*} [options] Override http request option.
1352
+ * @throws {RequiredError}
1353
+ */
1354
+ createOutbound(requestParameters, options) {
1355
+ return AmazonWarehousingAndDistributionApiFp(this.configuration).createOutbound(requestParameters.body, options).then((request) => request(this.axios, this.basePath));
1356
+ }
1357
+ /**
1358
+ * Creates an AWD replenishment order with given products to replenish. The API will return the order ID of the newly created order and also start an async validation check on the products to e. The order status will transition to ELIGIBLE/INELIGIBLE status from VALIDATING post validation check
1359
+ * @param {AmazonWarehousingAndDistributionApiCreateReplenishmentOrderRequest} requestParameters Request parameters.
1360
+ * @param {*} [options] Override http request option.
1361
+ * @throws {RequiredError}
1362
+ */
1363
+ createReplenishmentOrder(requestParameters, options) {
1364
+ return AmazonWarehousingAndDistributionApiFp(this.configuration).createReplenishmentOrder(requestParameters.body, options).then((request) => request(this.axios, this.basePath));
1365
+ }
1366
+ /**
1367
+ * Retrieves an AWD inbound order. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 2 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
1368
+ * @param {AmazonWarehousingAndDistributionApiGetInboundRequest} requestParameters Request parameters.
1369
+ * @param {*} [options] Override http request option.
1370
+ * @throws {RequiredError}
1371
+ */
1372
+ getInbound(requestParameters, options) {
1373
+ return AmazonWarehousingAndDistributionApiFp(this.configuration).getInbound(requestParameters.orderId, options).then((request) => request(this.axios, this.basePath));
1374
+ }
1375
+ /**
1376
+ * Retrieves an AWD inbound shipment. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 2 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api)
1377
+ * @param {AmazonWarehousingAndDistributionApiGetInboundShipmentRequest} requestParameters Request parameters.
1378
+ * @param {*} [options] Override http request option.
1379
+ * @throws {RequiredError}
1380
+ */
1381
+ getInboundShipment(requestParameters, options) {
1382
+ return AmazonWarehousingAndDistributionApiFp(this.configuration).getInboundShipment(requestParameters.shipmentId, requestParameters.skuQuantities, options).then((request) => request(this.axios, this.basePath));
1383
+ }
1384
+ /**
1385
+ * Retrieves the box labels for a shipment ID that you specify. This is an asynchronous operation. If the label status is `GENERATED`, then the label URL is available. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 2 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
1386
+ * @param {AmazonWarehousingAndDistributionApiGetInboundShipmentLabelsRequest} requestParameters Request parameters.
1387
+ * @param {*} [options] Override http request option.
1388
+ * @throws {RequiredError}
1389
+ */
1390
+ getInboundShipmentLabels(requestParameters, options) {
1391
+ return AmazonWarehousingAndDistributionApiFp(this.configuration).getInboundShipmentLabels(requestParameters.shipmentId, requestParameters.pageType, requestParameters.formatType, options).then((request) => request(this.axios, this.basePath));
1392
+ }
1393
+ /**
1394
+ * Retrieves the available label page types for a shipment ID that you specify. This is an asynchronous operation. If the label status is `GENERATED`, then the pageTypes are available. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 2 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
1395
+ * @param {AmazonWarehousingAndDistributionApiGetLabelPageTypesRequest} requestParameters Request parameters.
1396
+ * @param {*} [options] Override http request option.
1397
+ * @throws {RequiredError}
1398
+ */
1399
+ getLabelPageTypes(requestParameters, options) {
1400
+ return AmazonWarehousingAndDistributionApiFp(this.configuration).getLabelPageTypes(requestParameters.shipmentId, options).then((request) => request(this.axios, this.basePath));
1401
+ }
1402
+ /**
1403
+ * Retrieves an AWD outbound order with a set of shipments that contain items that are outbound into a destination channel. If the order is not eligible, the validation errors field is included in the order response. The API returns the order ID for the newly created order and starts an async validation check on the outbound products. After the validation check, the order status transitions from `VALIDATING` to `ELIGIBLE/INELIGIBLE`. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
1404
+ * @param {AmazonWarehousingAndDistributionApiGetOutboundRequest} requestParameters Request parameters.
1405
+ * @param {*} [options] Override http request option.
1406
+ * @throws {RequiredError}
1407
+ */
1408
+ getOutbound(requestParameters, options) {
1409
+ return AmazonWarehousingAndDistributionApiFp(this.configuration).getOutbound(requestParameters.orderId, options).then((request) => request(this.axios, this.basePath));
1410
+ }
1411
+ /**
1412
+ * Retrieves an AWD Replenishment order with a set of shipments containing items that is/was planned to be replenished into an FBA node.
1413
+ * @param {AmazonWarehousingAndDistributionApiGetReplenishmentOrderRequest} requestParameters Request parameters.
1414
+ * @param {*} [options] Override http request option.
1415
+ * @throws {RequiredError}
1416
+ */
1417
+ getReplenishmentOrder(requestParameters, options) {
1418
+ return AmazonWarehousingAndDistributionApiFp(this.configuration).getReplenishmentOrder(requestParameters.orderId, options).then((request) => request(this.axios, this.basePath));
1419
+ }
1420
+ /**
1421
+ * Retrieves a summary of all the inbound AWD shipments associated with a merchant, with the ability to apply optional filters. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
1422
+ * @param {AmazonWarehousingAndDistributionApiListInboundShipmentsRequest} requestParameters Request parameters.
1423
+ * @param {*} [options] Override http request option.
1424
+ * @throws {RequiredError}
1425
+ */
1426
+ listInboundShipments(requestParameters = {}, options) {
1427
+ return AmazonWarehousingAndDistributionApiFp(this.configuration).listInboundShipments(requestParameters.sortBy, requestParameters.sortOrder, requestParameters.shipmentStatus, requestParameters.updatedAfter, requestParameters.updatedBefore, requestParameters.maxResults, requestParameters.nextToken, options).then((request) => request(this.axios, this.basePath));
1428
+ }
1429
+ /**
1430
+ * Lists AWD inventory associated with a merchant with the ability to apply optional filters. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 2 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
1431
+ * @param {AmazonWarehousingAndDistributionApiListInventoryRequest} requestParameters Request parameters.
1432
+ * @param {*} [options] Override http request option.
1433
+ * @throws {RequiredError}
1434
+ */
1435
+ listInventory(requestParameters = {}, options) {
1436
+ return AmazonWarehousingAndDistributionApiFp(this.configuration).listInventory(requestParameters.sku, requestParameters.sortOrder, requestParameters.details, requestParameters.nextToken, requestParameters.maxResults, options).then((request) => request(this.axios, this.basePath));
1437
+ }
1438
+ /**
1439
+ * Retrieves all outbound AWD orders (with optional filters) that pertain to a merchant. By default, orders are sorted by the `updatedAt` attribute in descending order. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
1440
+ * @param {AmazonWarehousingAndDistributionApiListOutboundsRequest} requestParameters Request parameters.
1441
+ * @param {*} [options] Override http request option.
1442
+ * @throws {RequiredError}
1443
+ */
1444
+ listOutbounds(requestParameters = {}, options) {
1445
+ return AmazonWarehousingAndDistributionApiFp(this.configuration).listOutbounds(requestParameters.updatedAfter, requestParameters.updatedBefore, requestParameters.sortOrder, requestParameters.maxResults, requestParameters.nextToken, options).then((request) => request(this.axios, this.basePath));
1446
+ }
1447
+ /**
1448
+ * Retrieves all the AWD replenishment orders pertaining to a merchant with optional filters. API by default will sort orders by updatedAt attribute in descending order.
1449
+ * @param {AmazonWarehousingAndDistributionApiListReplenishmentOrdersRequest} requestParameters Request parameters.
1450
+ * @param {*} [options] Override http request option.
1451
+ * @throws {RequiredError}
1452
+ */
1453
+ listReplenishmentOrders(requestParameters = {}, options) {
1454
+ return AmazonWarehousingAndDistributionApiFp(this.configuration).listReplenishmentOrders(requestParameters.updatedAfter, requestParameters.updatedBefore, requestParameters.sortOrder, requestParameters.maxResults, requestParameters.nextToken, options).then((request) => request(this.axios, this.basePath));
1455
+ }
1456
+ /**
1457
+ * Updates an AWD inbound order that is in `DRAFT` status and not yet confirmed. Use this operation to update the `packagesToInbound`, `originAddress` and `preferences` attributes. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The preceding table indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
1458
+ * @param {AmazonWarehousingAndDistributionApiUpdateInboundRequest} requestParameters Request parameters.
1459
+ * @param {*} [options] Override http request option.
1460
+ * @throws {RequiredError}
1461
+ */
1462
+ updateInbound(requestParameters, options) {
1463
+ return AmazonWarehousingAndDistributionApiFp(this.configuration).updateInbound(requestParameters.orderId, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
1464
+ }
1465
+ /**
1466
+ * Updates transport details for an AWD shipment. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
1467
+ * @param {AmazonWarehousingAndDistributionApiUpdateInboundShipmentTransportDetailsRequest} requestParameters Request parameters.
1468
+ * @param {*} [options] Override http request option.
1469
+ * @throws {RequiredError}
1470
+ */
1471
+ updateInboundShipmentTransportDetails(requestParameters, options) {
1472
+ return AmazonWarehousingAndDistributionApiFp(this.configuration).updateInboundShipmentTransportDetails(requestParameters.shipmentId, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
1473
+ }
1474
+ /**
1475
+ * Updates an AWD outbound order that is in `DRAFT`, `ELIGIBLE`, or `INELIGIBLE` status. This API allows updates on `productsToOutbound` and `orderPreferences` attributes only. Any updates will restart the outbound order validation. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
1476
+ * @param {AmazonWarehousingAndDistributionApiUpdateOutboundRequest} requestParameters Request parameters.
1477
+ * @param {*} [options] Override http request option.
1478
+ * @throws {RequiredError}
1479
+ */
1480
+ updateOutbound(requestParameters, options) {
1481
+ return AmazonWarehousingAndDistributionApiFp(this.configuration).updateOutbound(requestParameters.orderId, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
1482
+ }
1048
1483
  };
1049
- var GetInboundShipmentSkuQuantitiesEnum = {
1050
- Show: "SHOW",
1051
- Hide: "HIDE"
1484
+ const GetInboundShipmentSkuQuantitiesEnum = {
1485
+ Show: "SHOW",
1486
+ Hide: "HIDE"
1052
1487
  };
1053
- var GetInboundShipmentLabelsPageTypeEnum = {
1054
- ThermalNonpcp: "THERMAL_NONPCP",
1055
- PlainPaper: "PLAIN_PAPER",
1056
- Letter6: "LETTER_6"
1488
+ const GetInboundShipmentLabelsPageTypeEnum = { PlainPaper: "PLAIN_PAPER" };
1489
+ const GetInboundShipmentLabelsFormatTypeEnum = { Pdf: "PDF" };
1490
+ const ListInboundShipmentsSortByEnum = {
1491
+ UpdatedAt: "UPDATED_AT",
1492
+ CreatedAt: "CREATED_AT"
1057
1493
  };
1058
- var GetInboundShipmentLabelsFormatTypeEnum = {
1059
- Pdf: "PDF"
1494
+ const ListInboundShipmentsSortOrderEnum = {
1495
+ Ascending: "ASCENDING",
1496
+ Descending: "DESCENDING"
1060
1497
  };
1061
- var ListInboundShipmentsSortByEnum = {
1062
- UpdatedAt: "UPDATED_AT",
1063
- CreatedAt: "CREATED_AT"
1498
+ const ListInboundShipmentsShipmentStatusEnum = {
1499
+ Created: "CREATED",
1500
+ Shipped: "SHIPPED",
1501
+ InTransit: "IN_TRANSIT",
1502
+ Receiving: "RECEIVING",
1503
+ Delivered: "DELIVERED",
1504
+ Closed: "CLOSED",
1505
+ Cancelled: "CANCELLED"
1064
1506
  };
1065
- var ListInboundShipmentsSortOrderEnum = {
1066
- Ascending: "ASCENDING",
1067
- Descending: "DESCENDING"
1507
+ const ListInventorySortOrderEnum = {
1508
+ Ascending: "ASCENDING",
1509
+ Descending: "DESCENDING"
1068
1510
  };
1069
- var ListInboundShipmentsShipmentStatusEnum = {
1070
- Created: "CREATED",
1071
- Shipped: "SHIPPED",
1072
- InTransit: "IN_TRANSIT",
1073
- Receiving: "RECEIVING",
1074
- Delivered: "DELIVERED",
1075
- Closed: "CLOSED",
1076
- Cancelled: "CANCELLED"
1511
+ const ListInventoryDetailsEnum = {
1512
+ Show: "SHOW",
1513
+ Hide: "HIDE"
1077
1514
  };
1078
- var ListInventorySortOrderEnum = {
1079
- Ascending: "ASCENDING",
1080
- Descending: "DESCENDING"
1515
+ const ListOutboundsSortOrderEnum = {
1516
+ Ascending: "ASCENDING",
1517
+ Descending: "DESCENDING"
1081
1518
  };
1082
- var ListInventoryDetailsEnum = {
1083
- Show: "SHOW",
1084
- Hide: "HIDE"
1519
+ const ListReplenishmentOrdersSortOrderEnum = {
1520
+ Ascending: "ASCENDING",
1521
+ Descending: "DESCENDING"
1085
1522
  };
1086
- var ListReplenishmentOrdersSortOrderEnum = {
1087
- Ascending: "ASCENDING",
1088
- Descending: "DESCENDING"
1089
- };
1090
-
1091
- // src/api-model/configuration.ts
1523
+ //#endregion
1524
+ //#region src/api-model/configuration.ts
1092
1525
  var Configuration = class {
1093
- /**
1094
- * parameter for apiKey security
1095
- * @param name security name
1096
- */
1097
- apiKey;
1098
- /**
1099
- * parameter for basic security
1100
- */
1101
- username;
1102
- /**
1103
- * parameter for basic security
1104
- */
1105
- password;
1106
- /**
1107
- * parameter for oauth2 security
1108
- * @param name security name
1109
- * @param scopes oauth2 scope
1110
- */
1111
- accessToken;
1112
- /**
1113
- * parameter for aws4 signature security
1114
- * @param {Object} AWS4Signature - AWS4 Signature security
1115
- * @param {string} options.region - aws region
1116
- * @param {string} options.service - name of the service.
1117
- * @param {string} credentials.accessKeyId - aws access key id
1118
- * @param {string} credentials.secretAccessKey - aws access key
1119
- * @param {string} credentials.sessionToken - aws session token
1120
- * @memberof Configuration
1121
- */
1122
- awsv4;
1123
- /**
1124
- * override base path
1125
- */
1126
- basePath;
1127
- /**
1128
- * override server index
1129
- */
1130
- serverIndex;
1131
- /**
1132
- * base options for axios calls
1133
- */
1134
- baseOptions;
1135
- /**
1136
- * The FormData constructor that will be used to create multipart form data
1137
- * requests. You can inject this here so that execution environments that
1138
- * do not support the FormData class can still run the generated client.
1139
- *
1140
- * @type {new () => FormData}
1141
- */
1142
- formDataCtor;
1143
- constructor(param = {}) {
1144
- this.apiKey = param.apiKey;
1145
- this.username = param.username;
1146
- this.password = param.password;
1147
- this.accessToken = param.accessToken;
1148
- this.awsv4 = param.awsv4;
1149
- this.basePath = param.basePath;
1150
- this.serverIndex = param.serverIndex;
1151
- this.baseOptions = {
1152
- ...param.baseOptions,
1153
- headers: {
1154
- ...param.baseOptions?.headers
1155
- }
1156
- };
1157
- this.formDataCtor = param.formDataCtor;
1158
- }
1159
- /**
1160
- * Check if the given MIME is a JSON MIME.
1161
- * JSON MIME examples:
1162
- * application/json
1163
- * application/json; charset=UTF8
1164
- * APPLICATION/JSON
1165
- * application/vnd.company+json
1166
- * @param mime - MIME (Multipurpose Internet Mail Extensions)
1167
- * @return True if the given MIME is JSON, false otherwise.
1168
- */
1169
- isJsonMime(mime) {
1170
- const jsonMime = /^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$/i;
1171
- return mime !== null && jsonMime.test(mime);
1172
- }
1526
+ /**
1527
+ * parameter for apiKey security
1528
+ * @param name security name
1529
+ */
1530
+ apiKey;
1531
+ /**
1532
+ * parameter for basic security
1533
+ */
1534
+ username;
1535
+ /**
1536
+ * parameter for basic security
1537
+ */
1538
+ password;
1539
+ /**
1540
+ * parameter for oauth2 security
1541
+ * @param name security name
1542
+ * @param scopes oauth2 scope
1543
+ */
1544
+ accessToken;
1545
+ /**
1546
+ * parameter for aws4 signature security
1547
+ * @param {Object} AWS4Signature - AWS4 Signature security
1548
+ * @param {string} options.region - aws region
1549
+ * @param {string} options.service - name of the service.
1550
+ * @param {string} credentials.accessKeyId - aws access key id
1551
+ * @param {string} credentials.secretAccessKey - aws access key
1552
+ * @param {string} credentials.sessionToken - aws session token
1553
+ * @memberof Configuration
1554
+ */
1555
+ awsv4;
1556
+ /**
1557
+ * override base path
1558
+ */
1559
+ basePath;
1560
+ /**
1561
+ * override server index
1562
+ */
1563
+ serverIndex;
1564
+ /**
1565
+ * base options for axios calls
1566
+ */
1567
+ baseOptions;
1568
+ /**
1569
+ * The FormData constructor that will be used to create multipart form data
1570
+ * requests. You can inject this here so that execution environments that
1571
+ * do not support the FormData class can still run the generated client.
1572
+ *
1573
+ * @type {new () => FormData}
1574
+ */
1575
+ formDataCtor;
1576
+ constructor(param = {}) {
1577
+ this.apiKey = param.apiKey;
1578
+ this.username = param.username;
1579
+ this.password = param.password;
1580
+ this.accessToken = param.accessToken;
1581
+ this.awsv4 = param.awsv4;
1582
+ this.basePath = param.basePath;
1583
+ this.serverIndex = param.serverIndex;
1584
+ this.baseOptions = {
1585
+ ...param.baseOptions,
1586
+ headers: { ...param.baseOptions?.headers }
1587
+ };
1588
+ this.formDataCtor = param.formDataCtor;
1589
+ }
1590
+ /**
1591
+ * Check if the given MIME is a JSON MIME.
1592
+ * JSON MIME examples:
1593
+ * application/json
1594
+ * application/json; charset=UTF8
1595
+ * APPLICATION/JSON
1596
+ * application/vnd.company+json
1597
+ * @param mime - MIME (Multipurpose Internet Mail Extensions)
1598
+ * @return True if the given MIME is JSON, false otherwise.
1599
+ */
1600
+ isJsonMime(mime) {
1601
+ return mime !== null && /^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$/i.test(mime);
1602
+ }
1173
1603
  };
1174
-
1175
- // src/api-model/models/carrier-code-type.ts
1176
- var CarrierCodeType = {
1177
- Scac: "SCAC"
1604
+ //#endregion
1605
+ //#region src/api-model/models/carrier-code-type.ts
1606
+ /**
1607
+ * The Selling Partner API for Amazon Warehousing and Distribution
1608
+ * The Selling Partner API for Amazon Warehousing and Distribution (AWD) provides programmatic access to information about AWD shipments and inventory.
1609
+ *
1610
+ * The version of the OpenAPI document: 2024-05-09
1611
+ *
1612
+ *
1613
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1614
+ * https://openapi-generator.tech
1615
+ * Do not edit the class manually.
1616
+ */
1617
+ /**
1618
+ * Denotes the type for the carrier.
1619
+ */
1620
+ const CarrierCodeType = { Scac: "SCAC" };
1621
+ //#endregion
1622
+ //#region src/api-model/models/confirmation-mode.ts
1623
+ /**
1624
+ * The Selling Partner API for Amazon Warehousing and Distribution
1625
+ * The Selling Partner API for Amazon Warehousing and Distribution (AWD) provides programmatic access to information about AWD shipments and inventory.
1626
+ *
1627
+ * The version of the OpenAPI document: 2024-05-09
1628
+ *
1629
+ *
1630
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1631
+ * https://openapi-generator.tech
1632
+ * Do not edit the class manually.
1633
+ */
1634
+ /**
1635
+ * Confirmation Modes supported for Replenishment order creation. By default, the confirmation mode will be set to MANUAL.
1636
+ */
1637
+ const ConfirmationMode = {
1638
+ Auto: "AUTO",
1639
+ Manual: "MANUAL"
1178
1640
  };
1179
-
1180
- // src/api-model/models/confirmation-mode.ts
1181
- var ConfirmationMode = {
1182
- Auto: "AUTO",
1183
- Manual: "MANUAL"
1641
+ //#endregion
1642
+ //#region src/api-model/models/dimension-unit-of-measurement.ts
1643
+ /**
1644
+ * The Selling Partner API for Amazon Warehousing and Distribution
1645
+ * The Selling Partner API for Amazon Warehousing and Distribution (AWD) provides programmatic access to information about AWD shipments and inventory.
1646
+ *
1647
+ * The version of the OpenAPI document: 2024-05-09
1648
+ *
1649
+ *
1650
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1651
+ * https://openapi-generator.tech
1652
+ * Do not edit the class manually.
1653
+ */
1654
+ /**
1655
+ * Unit of measurement for package dimensions.
1656
+ */
1657
+ const DimensionUnitOfMeasurement = {
1658
+ Inches: "INCHES",
1659
+ Centimeters: "CENTIMETERS"
1184
1660
  };
1185
-
1186
- // src/api-model/models/dimension-unit-of-measurement.ts
1187
- var DimensionUnitOfMeasurement = {
1188
- Inches: "INCHES",
1189
- Centimeters: "CENTIMETERS"
1661
+ //#endregion
1662
+ //#region src/api-model/models/distribution-package-type.ts
1663
+ /**
1664
+ * The Selling Partner API for Amazon Warehousing and Distribution
1665
+ * The Selling Partner API for Amazon Warehousing and Distribution (AWD) provides programmatic access to information about AWD shipments and inventory.
1666
+ *
1667
+ * The version of the OpenAPI document: 2024-05-09
1668
+ *
1669
+ *
1670
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1671
+ * https://openapi-generator.tech
1672
+ * Do not edit the class manually.
1673
+ */
1674
+ /**
1675
+ * Type of distribution packages.
1676
+ */
1677
+ const DistributionPackageType = {
1678
+ Case: "CASE",
1679
+ Pallet: "PALLET"
1190
1680
  };
1191
-
1192
- // src/api-model/models/distribution-package-type.ts
1193
- var DistributionPackageType = {
1194
- Case: "CASE",
1195
- Pallet: "PALLET"
1681
+ //#endregion
1682
+ //#region src/api-model/models/format-type.ts
1683
+ /**
1684
+ * The Selling Partner API for Amazon Warehousing and Distribution
1685
+ * The Selling Partner API for Amazon Warehousing and Distribution (AWD) provides programmatic access to information about AWD shipments and inventory.
1686
+ *
1687
+ * The version of the OpenAPI document: 2024-05-09
1688
+ *
1689
+ *
1690
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1691
+ * https://openapi-generator.tech
1692
+ * Do not edit the class manually.
1693
+ */
1694
+ /**
1695
+ * The label format type extension.
1696
+ */
1697
+ const FormatType = { Pdf: "PDF" };
1698
+ //#endregion
1699
+ //#region src/api-model/models/inbound-eligibility-status.ts
1700
+ /**
1701
+ * The Selling Partner API for Amazon Warehousing and Distribution
1702
+ * The Selling Partner API for Amazon Warehousing and Distribution (AWD) provides programmatic access to information about AWD shipments and inventory.
1703
+ *
1704
+ * The version of the OpenAPI document: 2024-05-09
1705
+ *
1706
+ *
1707
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1708
+ * https://openapi-generator.tech
1709
+ * Do not edit the class manually.
1710
+ */
1711
+ /**
1712
+ * Enum denoting the package inbound eligibility.
1713
+ */
1714
+ const InboundEligibilityStatus = {
1715
+ Eligible: "ELIGIBLE",
1716
+ Ineligible: "INELIGIBLE"
1196
1717
  };
1197
-
1198
- // src/api-model/models/inbound-eligibility-status.ts
1199
- var InboundEligibilityStatus = {
1200
- Eligible: "ELIGIBLE",
1201
- Ineligible: "INELIGIBLE"
1718
+ //#endregion
1719
+ //#region src/api-model/models/inbound-shipment-status.ts
1720
+ /**
1721
+ * The Selling Partner API for Amazon Warehousing and Distribution
1722
+ * The Selling Partner API for Amazon Warehousing and Distribution (AWD) provides programmatic access to information about AWD shipments and inventory.
1723
+ *
1724
+ * The version of the OpenAPI document: 2024-05-09
1725
+ *
1726
+ *
1727
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1728
+ * https://openapi-generator.tech
1729
+ * Do not edit the class manually.
1730
+ */
1731
+ /**
1732
+ * Possible shipment statuses used by shipments.
1733
+ */
1734
+ const InboundShipmentStatus = {
1735
+ Created: "CREATED",
1736
+ Shipped: "SHIPPED",
1737
+ InTransit: "IN_TRANSIT",
1738
+ Receiving: "RECEIVING",
1739
+ Delivered: "DELIVERED",
1740
+ Closed: "CLOSED",
1741
+ Cancelled: "CANCELLED"
1202
1742
  };
1203
-
1204
- // src/api-model/models/inbound-shipment-status.ts
1205
- var InboundShipmentStatus = {
1206
- Created: "CREATED",
1207
- Shipped: "SHIPPED",
1208
- InTransit: "IN_TRANSIT",
1209
- Receiving: "RECEIVING",
1210
- Delivered: "DELIVERED",
1211
- Closed: "CLOSED",
1212
- Cancelled: "CANCELLED"
1743
+ //#endregion
1744
+ //#region src/api-model/models/inbound-status.ts
1745
+ /**
1746
+ * The Selling Partner API for Amazon Warehousing and Distribution
1747
+ * The Selling Partner API for Amazon Warehousing and Distribution (AWD) provides programmatic access to information about AWD shipments and inventory.
1748
+ *
1749
+ * The version of the OpenAPI document: 2024-05-09
1750
+ *
1751
+ *
1752
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1753
+ * https://openapi-generator.tech
1754
+ * Do not edit the class manually.
1755
+ */
1756
+ /**
1757
+ * The supported statuses for an inbound order.
1758
+ */
1759
+ const InboundStatus = {
1760
+ Draft: "DRAFT",
1761
+ Validating: "VALIDATING",
1762
+ Confirmed: "CONFIRMED",
1763
+ Closed: "CLOSED",
1764
+ Expired: "EXPIRED",
1765
+ Cancelled: "CANCELLED"
1213
1766
  };
1214
-
1215
- // src/api-model/models/inbound-status.ts
1216
- var InboundStatus = {
1217
- Draft: "DRAFT",
1218
- Validating: "VALIDATING",
1219
- Confirmed: "CONFIRMED",
1220
- Closed: "CLOSED",
1221
- Expired: "EXPIRED",
1222
- Cancelled: "CANCELLED"
1767
+ //#endregion
1768
+ //#region src/api-model/models/inventory-details-visibility.ts
1769
+ /**
1770
+ * The Selling Partner API for Amazon Warehousing and Distribution
1771
+ * The Selling Partner API for Amazon Warehousing and Distribution (AWD) provides programmatic access to information about AWD shipments and inventory.
1772
+ *
1773
+ * The version of the OpenAPI document: 2024-05-09
1774
+ *
1775
+ *
1776
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1777
+ * https://openapi-generator.tech
1778
+ * Do not edit the class manually.
1779
+ */
1780
+ /**
1781
+ * Enum to specify if returned summaries should include additional summarized inventory details and quantities.
1782
+ */
1783
+ const InventoryDetailsVisibility = {
1784
+ Show: "SHOW",
1785
+ Hide: "HIDE"
1223
1786
  };
1224
-
1225
- // src/api-model/models/inventory-unit-of-measurement.ts
1226
- var InventoryUnitOfMeasurement = {
1227
- ProductUnits: "PRODUCT_UNITS",
1228
- Cases: "CASES",
1229
- Pallets: "PALLETS"
1787
+ //#endregion
1788
+ //#region src/api-model/models/inventory-unit-of-measurement.ts
1789
+ /**
1790
+ * The Selling Partner API for Amazon Warehousing and Distribution
1791
+ * The Selling Partner API for Amazon Warehousing and Distribution (AWD) provides programmatic access to information about AWD shipments and inventory.
1792
+ *
1793
+ * The version of the OpenAPI document: 2024-05-09
1794
+ *
1795
+ *
1796
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1797
+ * https://openapi-generator.tech
1798
+ * Do not edit the class manually.
1799
+ */
1800
+ /**
1801
+ * Unit of measurement for the inventory.
1802
+ */
1803
+ const InventoryUnitOfMeasurement = {
1804
+ ProductUnits: "PRODUCT_UNITS",
1805
+ Cases: "CASES",
1806
+ Pallets: "PALLETS"
1230
1807
  };
1231
-
1232
- // src/api-model/models/label-owner.ts
1233
- var LabelOwner = {
1234
- Amazon: "AMAZON",
1235
- Self: "SELF"
1808
+ //#endregion
1809
+ //#region src/api-model/models/label-owner.ts
1810
+ /**
1811
+ * The Selling Partner API for Amazon Warehousing and Distribution
1812
+ * The Selling Partner API for Amazon Warehousing and Distribution (AWD) provides programmatic access to information about AWD shipments and inventory.
1813
+ *
1814
+ * The version of the OpenAPI document: 2024-05-09
1815
+ *
1816
+ *
1817
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1818
+ * https://openapi-generator.tech
1819
+ * Do not edit the class manually.
1820
+ */
1821
+ /**
1822
+ * The entity that labels the products. `AMAZON` is not an accepted value in the US marketplace.
1823
+ */
1824
+ const LabelOwner = {
1825
+ Amazon: "AMAZON",
1826
+ Self: "SELF"
1236
1827
  };
1237
-
1238
- // src/api-model/models/label-status.ts
1239
- var LabelStatus = {
1240
- Generating: "GENERATING",
1241
- Generated: "GENERATED",
1242
- GenerationFailed: "GENERATION_FAILED",
1243
- NotReady: "NOT_READY"
1828
+ //#endregion
1829
+ //#region src/api-model/models/label-status.ts
1830
+ /**
1831
+ * The Selling Partner API for Amazon Warehousing and Distribution
1832
+ * The Selling Partner API for Amazon Warehousing and Distribution (AWD) provides programmatic access to information about AWD shipments and inventory.
1833
+ *
1834
+ * The version of the OpenAPI document: 2024-05-09
1835
+ *
1836
+ *
1837
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1838
+ * https://openapi-generator.tech
1839
+ * Do not edit the class manually.
1840
+ */
1841
+ /**
1842
+ * The status of your label.
1843
+ */
1844
+ const LabelStatus = {
1845
+ Generating: "GENERATING",
1846
+ Generated: "GENERATED",
1847
+ GenerationFailed: "GENERATION_FAILED",
1848
+ NotReady: "NOT_READY"
1244
1849
  };
1245
-
1246
- // src/api-model/models/outbound-shipment-status.ts
1247
- var OutboundShipmentStatus = {
1248
- Created: "CREATED",
1249
- InTransit: "IN_TRANSIT",
1250
- Delivered: "DELIVERED",
1251
- Receiving: "RECEIVING",
1252
- Received: "RECEIVED",
1253
- Closed: "CLOSED",
1254
- Cancelled: "CANCELLED",
1255
- Failed: "FAILED"
1850
+ //#endregion
1851
+ //#region src/api-model/models/order-preference.ts
1852
+ /**
1853
+ * The Selling Partner API for Amazon Warehousing and Distribution
1854
+ * The Selling Partner API for Amazon Warehousing and Distribution (AWD) provides programmatic access to information about AWD shipments and inventory.
1855
+ *
1856
+ * The version of the OpenAPI document: 2024-05-09
1857
+ *
1858
+ *
1859
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1860
+ * https://openapi-generator.tech
1861
+ * Do not edit the class manually.
1862
+ */
1863
+ /**
1864
+ * Supported preferences for the distribution order.
1865
+ */
1866
+ const OrderPreference = { PartialOrder: "PARTIAL_ORDER" };
1867
+ //#endregion
1868
+ //#region src/api-model/models/order-preference-value.ts
1869
+ /**
1870
+ * The Selling Partner API for Amazon Warehousing and Distribution
1871
+ * The Selling Partner API for Amazon Warehousing and Distribution (AWD) provides programmatic access to information about AWD shipments and inventory.
1872
+ *
1873
+ * The version of the OpenAPI document: 2024-05-09
1874
+ *
1875
+ *
1876
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1877
+ * https://openapi-generator.tech
1878
+ * Do not edit the class manually.
1879
+ */
1880
+ /**
1881
+ * Value for the order preference.
1882
+ */
1883
+ const OrderPreferenceValue = {
1884
+ Set: "SET",
1885
+ Unset: "UNSET"
1256
1886
  };
1257
-
1258
- // src/api-model/models/prep-category.ts
1259
- var PrepCategory = {
1260
- Adult: "ADULT",
1261
- Baby: "BABY",
1262
- FcProvided: "FC_PROVIDED",
1263
- Fragile: "FRAGILE",
1264
- Granular: "GRANULAR",
1265
- Hanger: "HANGER",
1266
- Liquid: "LIQUID",
1267
- Perforated: "PERFORATED",
1268
- Set: "SET",
1269
- Sharp: "SHARP",
1270
- Small: "SMALL",
1271
- Textile: "TEXTILE",
1272
- NoPrep: "NO_PREP",
1273
- Unknown: "UNKNOWN"
1887
+ //#endregion
1888
+ //#region src/api-model/models/outbound-shipment-status.ts
1889
+ /**
1890
+ * The Selling Partner API for Amazon Warehousing and Distribution
1891
+ * The Selling Partner API for Amazon Warehousing and Distribution (AWD) provides programmatic access to information about AWD shipments and inventory.
1892
+ *
1893
+ * The version of the OpenAPI document: 2024-05-09
1894
+ *
1895
+ *
1896
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1897
+ * https://openapi-generator.tech
1898
+ * Do not edit the class manually.
1899
+ */
1900
+ /**
1901
+ * Possible shipment statuses for outbound shipments.
1902
+ */
1903
+ const OutboundShipmentStatus = {
1904
+ Created: "CREATED",
1905
+ InTransit: "IN_TRANSIT",
1906
+ Delivered: "DELIVERED",
1907
+ Receiving: "RECEIVING",
1908
+ Received: "RECEIVED",
1909
+ Closed: "CLOSED",
1910
+ Cancelled: "CANCELLED",
1911
+ Failed: "FAILED"
1274
1912
  };
1275
-
1276
- // src/api-model/models/prep-owner.ts
1277
- var PrepOwner = {
1278
- Amazon: "AMAZON",
1279
- Self: "SELF"
1913
+ //#endregion
1914
+ //#region src/api-model/models/outbound-status.ts
1915
+ /**
1916
+ * The Selling Partner API for Amazon Warehousing and Distribution
1917
+ * The Selling Partner API for Amazon Warehousing and Distribution (AWD) provides programmatic access to information about AWD shipments and inventory.
1918
+ *
1919
+ * The version of the OpenAPI document: 2024-05-09
1920
+ *
1921
+ *
1922
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1923
+ * https://openapi-generator.tech
1924
+ * Do not edit the class manually.
1925
+ */
1926
+ /**
1927
+ * Statuses supported for an outbound order.
1928
+ */
1929
+ const OutboundStatus = {
1930
+ Confirmed: "CONFIRMED",
1931
+ Draft: "DRAFT",
1932
+ Eligible: "ELIGIBLE",
1933
+ Executing: "EXECUTING",
1934
+ Failure: "FAILURE",
1935
+ Ineligible: "INELIGIBLE",
1936
+ InventoryOutbound: "INVENTORY_OUTBOUND",
1937
+ Success: "SUCCESS",
1938
+ Validating: "VALIDATING"
1280
1939
  };
1281
-
1282
- // src/api-model/models/replenishment-order-status.ts
1283
- var ReplenishmentOrderStatus = {
1284
- Confirmed: "CONFIRMED",
1285
- Created: "CREATED",
1286
- Eligible: "ELIGIBLE",
1287
- Executing: "EXECUTING",
1288
- Failure: "FAILURE",
1289
- Ineligible: "INELIGIBLE",
1290
- InventoryOutbound: "INVENTORY_OUTBOUND",
1291
- Success: "SUCCESS",
1292
- Validating: "VALIDATING"
1940
+ //#endregion
1941
+ //#region src/api-model/models/page-type.ts
1942
+ /**
1943
+ * The Selling Partner API for Amazon Warehousing and Distribution
1944
+ * The Selling Partner API for Amazon Warehousing and Distribution (AWD) provides programmatic access to information about AWD shipments and inventory.
1945
+ *
1946
+ * The version of the OpenAPI document: 2024-05-09
1947
+ *
1948
+ *
1949
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1950
+ * https://openapi-generator.tech
1951
+ * Do not edit the class manually.
1952
+ */
1953
+ /**
1954
+ * Label page type.
1955
+ */
1956
+ const PageType = {
1957
+ PlainPaper: "PLAIN_PAPER",
1958
+ LetterPcpFulfillmentlabel: "LETTER_PCP_FULFILLMENTLABEL",
1959
+ Letter2Horizontal: "LETTER_2_HORIZONTAL",
1960
+ Letter2: "LETTER_2",
1961
+ ThermalNoCarrierRotation: "THERMAL_NO_CARRIER_ROTATION",
1962
+ Thermal: "THERMAL",
1963
+ A4Paper: "A4_PAPER",
1964
+ A42Horizontal: "A4_2_HORIZONTAL",
1965
+ ThermalSquare10Cm: "THERMAL_SQUARE_10CM"
1293
1966
  };
1294
-
1295
- // src/api-model/models/volume-unit-of-measurement.ts
1296
- var VolumeUnitOfMeasurement = {
1297
- CuIn: "CU_IN",
1298
- Cbm: "CBM",
1299
- Cc: "CC"
1967
+ //#endregion
1968
+ //#region src/api-model/models/prep-category.ts
1969
+ /**
1970
+ * The Selling Partner API for Amazon Warehousing and Distribution
1971
+ * The Selling Partner API for Amazon Warehousing and Distribution (AWD) provides programmatic access to information about AWD shipments and inventory.
1972
+ *
1973
+ * The version of the OpenAPI document: 2024-05-09
1974
+ *
1975
+ *
1976
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1977
+ * https://openapi-generator.tech
1978
+ * Do not edit the class manually.
1979
+ */
1980
+ /**
1981
+ * The preparation category for shipping an item to Amazon\'s fulfillment network.
1982
+ */
1983
+ const PrepCategory = {
1984
+ Adult: "ADULT",
1985
+ Baby: "BABY",
1986
+ FcProvided: "FC_PROVIDED",
1987
+ Fragile: "FRAGILE",
1988
+ Granular: "GRANULAR",
1989
+ Hanger: "HANGER",
1990
+ Liquid: "LIQUID",
1991
+ Perforated: "PERFORATED",
1992
+ Set: "SET",
1993
+ Sharp: "SHARP",
1994
+ Small: "SMALL",
1995
+ Textile: "TEXTILE",
1996
+ NoPrep: "NO_PREP",
1997
+ Unknown: "UNKNOWN"
1300
1998
  };
1301
-
1302
- // src/api-model/models/weight-unit-of-measurement.ts
1303
- var WeightUnitOfMeasurement = {
1304
- Pounds: "POUNDS",
1305
- Kilograms: "KILOGRAMS"
1999
+ //#endregion
2000
+ //#region src/api-model/models/prep-owner.ts
2001
+ /**
2002
+ * The Selling Partner API for Amazon Warehousing and Distribution
2003
+ * The Selling Partner API for Amazon Warehousing and Distribution (AWD) provides programmatic access to information about AWD shipments and inventory.
2004
+ *
2005
+ * The version of the OpenAPI document: 2024-05-09
2006
+ *
2007
+ *
2008
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2009
+ * https://openapi-generator.tech
2010
+ * Do not edit the class manually.
2011
+ */
2012
+ /**
2013
+ * The owner of the preparations, if special preparations are required. `AMAZON` is not an accepted value in the US marketplace.
2014
+ */
2015
+ const PrepOwner = {
2016
+ Amazon: "AMAZON",
2017
+ Self: "SELF"
1306
2018
  };
1307
-
1308
- // src/client.ts
1309
- var clientRateLimits = [
1310
- {
1311
- method: "post",
1312
- // eslint-disable-next-line prefer-regex-literals
1313
- urlRegex: new RegExp("^/awd/2024-05-09/inboundOrders$"),
1314
- rate: 1,
1315
- burst: 1
1316
- },
1317
- {
1318
- method: "get",
1319
- // eslint-disable-next-line prefer-regex-literals
1320
- urlRegex: new RegExp("^/awd/2024-05-09/inboundOrders/[^/]*$"),
1321
- rate: 2,
1322
- burst: 2
1323
- },
1324
- {
1325
- method: "put",
1326
- // eslint-disable-next-line prefer-regex-literals
1327
- urlRegex: new RegExp("^/awd/2024-05-09/inboundOrders/[^/]*$"),
1328
- rate: 1,
1329
- burst: 1
1330
- },
1331
- {
1332
- method: "post",
1333
- // eslint-disable-next-line prefer-regex-literals
1334
- urlRegex: new RegExp("^/awd/2024-05-09/inboundOrders/[^/]*/cancellation$"),
1335
- rate: 1,
1336
- burst: 1
1337
- },
1338
- {
1339
- method: "post",
1340
- // eslint-disable-next-line prefer-regex-literals
1341
- urlRegex: new RegExp("^/awd/2024-05-09/inboundOrders/[^/]*/confirmation$"),
1342
- rate: 1,
1343
- burst: 1
1344
- },
1345
- {
1346
- method: "get",
1347
- // eslint-disable-next-line prefer-regex-literals
1348
- urlRegex: new RegExp("^/awd/2024-05-09/inboundShipments/[^/]*$"),
1349
- rate: 2,
1350
- burst: 2
1351
- },
1352
- {
1353
- method: "get",
1354
- // eslint-disable-next-line prefer-regex-literals
1355
- urlRegex: new RegExp("^/awd/2024-05-09/inboundShipments/[^/]*/labels$"),
1356
- rate: 1,
1357
- burst: 2
1358
- },
1359
- {
1360
- method: "put",
1361
- // eslint-disable-next-line prefer-regex-literals
1362
- urlRegex: new RegExp("^/awd/2024-05-09/inboundShipments/[^/]*/transport$"),
1363
- rate: 1,
1364
- burst: 1
1365
- },
1366
- {
1367
- method: "post",
1368
- // eslint-disable-next-line prefer-regex-literals
1369
- urlRegex: new RegExp("^/awd/2024-05-09/inboundEligibility$"),
1370
- rate: 1,
1371
- burst: 1
1372
- },
1373
- {
1374
- method: "get",
1375
- // eslint-disable-next-line prefer-regex-literals
1376
- urlRegex: new RegExp("^/awd/2024-05-09/inboundShipments$"),
1377
- rate: 1,
1378
- burst: 1
1379
- },
1380
- {
1381
- method: "get",
1382
- // eslint-disable-next-line prefer-regex-literals
1383
- urlRegex: new RegExp("^/awd/2024-05-09/inventory$"),
1384
- rate: 2,
1385
- burst: 2
1386
- }
2019
+ //#endregion
2020
+ //#region src/api-model/models/replenishment-order-status.ts
2021
+ /**
2022
+ * The Selling Partner API for Amazon Warehousing and Distribution
2023
+ * The Selling Partner API for Amazon Warehousing and Distribution (AWD) provides programmatic access to information about AWD shipments and inventory.
2024
+ *
2025
+ * The version of the OpenAPI document: 2024-05-09
2026
+ *
2027
+ *
2028
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2029
+ * https://openapi-generator.tech
2030
+ * Do not edit the class manually.
2031
+ */
2032
+ /**
2033
+ * Statuses supported for an replenishment order.
2034
+ */
2035
+ const ReplenishmentOrderStatus = {
2036
+ Confirmed: "CONFIRMED",
2037
+ Created: "CREATED",
2038
+ Eligible: "ELIGIBLE",
2039
+ Executing: "EXECUTING",
2040
+ Failure: "FAILURE",
2041
+ Ineligible: "INELIGIBLE",
2042
+ InventoryOutbound: "INVENTORY_OUTBOUND",
2043
+ Success: "SUCCESS",
2044
+ Validating: "VALIDATING"
2045
+ };
2046
+ //#endregion
2047
+ //#region src/api-model/models/shipment-sortable-field.ts
2048
+ /**
2049
+ * The Selling Partner API for Amazon Warehousing and Distribution
2050
+ * The Selling Partner API for Amazon Warehousing and Distribution (AWD) provides programmatic access to information about AWD shipments and inventory.
2051
+ *
2052
+ * The version of the OpenAPI document: 2024-05-09
2053
+ *
2054
+ *
2055
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2056
+ * https://openapi-generator.tech
2057
+ * Do not edit the class manually.
2058
+ */
2059
+ /**
2060
+ * Denotes the field name on which the shipments are to be sorted.
2061
+ */
2062
+ const ShipmentSortableField = {
2063
+ UpdatedAt: "UPDATED_AT",
2064
+ CreatedAt: "CREATED_AT"
2065
+ };
2066
+ //#endregion
2067
+ //#region src/api-model/models/sku-quantities-visibility.ts
2068
+ /**
2069
+ * The Selling Partner API for Amazon Warehousing and Distribution
2070
+ * The Selling Partner API for Amazon Warehousing and Distribution (AWD) provides programmatic access to information about AWD shipments and inventory.
2071
+ *
2072
+ * The version of the OpenAPI document: 2024-05-09
2073
+ *
2074
+ *
2075
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2076
+ * https://openapi-generator.tech
2077
+ * Do not edit the class manually.
2078
+ */
2079
+ /**
2080
+ * Enum to specify if returned shipment should include SKU quantity details
2081
+ */
2082
+ const SkuQuantitiesVisibility = {
2083
+ Show: "SHOW",
2084
+ Hide: "HIDE"
2085
+ };
2086
+ //#endregion
2087
+ //#region src/api-model/models/sort-order.ts
2088
+ /**
2089
+ * The Selling Partner API for Amazon Warehousing and Distribution
2090
+ * The Selling Partner API for Amazon Warehousing and Distribution (AWD) provides programmatic access to information about AWD shipments and inventory.
2091
+ *
2092
+ * The version of the OpenAPI document: 2024-05-09
2093
+ *
2094
+ *
2095
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2096
+ * https://openapi-generator.tech
2097
+ * Do not edit the class manually.
2098
+ */
2099
+ /**
2100
+ * Sort order for a collection of items. For example, order or shipment.
2101
+ */
2102
+ const SortOrder = {
2103
+ Ascending: "ASCENDING",
2104
+ Descending: "DESCENDING"
2105
+ };
2106
+ //#endregion
2107
+ //#region src/api-model/models/volume-unit-of-measurement.ts
2108
+ /**
2109
+ * The Selling Partner API for Amazon Warehousing and Distribution
2110
+ * The Selling Partner API for Amazon Warehousing and Distribution (AWD) provides programmatic access to information about AWD shipments and inventory.
2111
+ *
2112
+ * The version of the OpenAPI document: 2024-05-09
2113
+ *
2114
+ *
2115
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2116
+ * https://openapi-generator.tech
2117
+ * Do not edit the class manually.
2118
+ */
2119
+ /**
2120
+ * Unit of measurement for the package volume.
2121
+ */
2122
+ const VolumeUnitOfMeasurement = {
2123
+ CuIn: "CU_IN",
2124
+ Cbm: "CBM",
2125
+ Cc: "CC"
2126
+ };
2127
+ //#endregion
2128
+ //#region src/api-model/models/weight-unit-of-measurement.ts
2129
+ /**
2130
+ * The Selling Partner API for Amazon Warehousing and Distribution
2131
+ * The Selling Partner API for Amazon Warehousing and Distribution (AWD) provides programmatic access to information about AWD shipments and inventory.
2132
+ *
2133
+ * The version of the OpenAPI document: 2024-05-09
2134
+ *
2135
+ *
2136
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2137
+ * https://openapi-generator.tech
2138
+ * Do not edit the class manually.
2139
+ */
2140
+ /**
2141
+ * Unit of measurement for the package weight.
2142
+ */
2143
+ const WeightUnitOfMeasurement = {
2144
+ Pounds: "POUNDS",
2145
+ Kilograms: "KILOGRAMS"
2146
+ };
2147
+ //#endregion
2148
+ //#region src/client.ts
2149
+ const clientRateLimits = [
2150
+ {
2151
+ method: "post",
2152
+ urlRegex: /^\/awd\/2024\u{2D}05\u{2D}09\/inboundOrders$/v,
2153
+ rate: 1,
2154
+ burst: 1
2155
+ },
2156
+ {
2157
+ method: "get",
2158
+ urlRegex: /^\/awd\/2024\u{2D}05\u{2D}09\/inboundOrders\/[^\/]*$/v,
2159
+ rate: 2,
2160
+ burst: 2
2161
+ },
2162
+ {
2163
+ method: "put",
2164
+ urlRegex: /^\/awd\/2024\u{2D}05\u{2D}09\/inboundOrders\/[^\/]*$/v,
2165
+ rate: 1,
2166
+ burst: 1
2167
+ },
2168
+ {
2169
+ method: "post",
2170
+ urlRegex: /^\/awd\/2024\u{2D}05\u{2D}09\/inboundOrders\/[^\/]*\/cancellation$/v,
2171
+ rate: 1,
2172
+ burst: 1
2173
+ },
2174
+ {
2175
+ method: "post",
2176
+ urlRegex: /^\/awd\/2024\u{2D}05\u{2D}09\/inboundOrders\/[^\/]*\/confirmation$/v,
2177
+ rate: 1,
2178
+ burst: 1
2179
+ },
2180
+ {
2181
+ method: "get",
2182
+ urlRegex: /^\/awd\/2024\u{2D}05\u{2D}09\/inboundShipments\/[^\/]*$/v,
2183
+ rate: 2,
2184
+ burst: 2
2185
+ },
2186
+ {
2187
+ method: "get",
2188
+ urlRegex: /^\/awd\/2024\u{2D}05\u{2D}09\/inboundShipments\/[^\/]*\/labels$/v,
2189
+ rate: 1,
2190
+ burst: 2
2191
+ },
2192
+ {
2193
+ method: "get",
2194
+ urlRegex: /^\/awd\/2024\u{2D}05\u{2D}09\/inboundShipments\/[^\/]*\/labelPageTypes$/v,
2195
+ rate: 1,
2196
+ burst: 2
2197
+ },
2198
+ {
2199
+ method: "put",
2200
+ urlRegex: /^\/awd\/2024\u{2D}05\u{2D}09\/inboundShipments\/[^\/]*\/transport$/v,
2201
+ rate: 1,
2202
+ burst: 1
2203
+ },
2204
+ {
2205
+ method: "post",
2206
+ urlRegex: /^\/awd\/2024\u{2D}05\u{2D}09\/inboundEligibility$/v,
2207
+ rate: 1,
2208
+ burst: 1
2209
+ },
2210
+ {
2211
+ method: "get",
2212
+ urlRegex: /^\/awd\/2024\u{2D}05\u{2D}09\/inboundShipments$/v,
2213
+ rate: 1,
2214
+ burst: 1
2215
+ },
2216
+ {
2217
+ method: "get",
2218
+ urlRegex: /^\/awd\/2024\u{2D}05\u{2D}09\/inventory$/v,
2219
+ rate: 2,
2220
+ burst: 2
2221
+ },
2222
+ {
2223
+ method: "get",
2224
+ urlRegex: /^\/awd\/2024\u{2D}05\u{2D}09\/outboundOrders$/v,
2225
+ rate: 1,
2226
+ burst: 1
2227
+ },
2228
+ {
2229
+ method: "post",
2230
+ urlRegex: /^\/awd\/2024\u{2D}05\u{2D}09\/outboundOrders$/v,
2231
+ rate: 1,
2232
+ burst: 1
2233
+ },
2234
+ {
2235
+ method: "get",
2236
+ urlRegex: /^\/awd\/2024\u{2D}05\u{2D}09\/outboundOrders\/[^\/]*$/v,
2237
+ rate: 1,
2238
+ burst: 1
2239
+ },
2240
+ {
2241
+ method: "put",
2242
+ urlRegex: /^\/awd\/2024\u{2D}05\u{2D}09\/outboundOrders\/[^\/]*$/v,
2243
+ rate: 1,
2244
+ burst: 1
2245
+ },
2246
+ {
2247
+ method: "post",
2248
+ urlRegex: /^\/awd\/2024\u{2D}05\u{2D}09\/outboundOrders\/[^\/]*\/confirmation$/v,
2249
+ rate: 1,
2250
+ burst: 1
2251
+ }
1387
2252
  ];
1388
2253
  var AmazonWarehousingAndDistributionApiClient = class extends AmazonWarehousingAndDistributionApi {
1389
- constructor(configuration) {
1390
- const { axios, endpoint } = createAxiosInstance(configuration, clientRateLimits);
1391
- super(new Configuration(), endpoint, axios);
1392
- }
1393
- };
1394
- export {
1395
- AmazonWarehousingAndDistributionApi,
1396
- AmazonWarehousingAndDistributionApiAxiosParamCreator,
1397
- AmazonWarehousingAndDistributionApiClient,
1398
- AmazonWarehousingAndDistributionApiFactory,
1399
- AmazonWarehousingAndDistributionApiFp,
1400
- CarrierCodeType,
1401
- ConfirmationMode,
1402
- DimensionUnitOfMeasurement,
1403
- DistributionPackageType,
1404
- GetInboundShipmentLabelsFormatTypeEnum,
1405
- GetInboundShipmentLabelsPageTypeEnum,
1406
- GetInboundShipmentSkuQuantitiesEnum,
1407
- InboundEligibilityStatus,
1408
- InboundShipmentStatus,
1409
- InboundStatus,
1410
- InventoryUnitOfMeasurement,
1411
- LabelOwner,
1412
- LabelStatus,
1413
- ListInboundShipmentsShipmentStatusEnum,
1414
- ListInboundShipmentsSortByEnum,
1415
- ListInboundShipmentsSortOrderEnum,
1416
- ListInventoryDetailsEnum,
1417
- ListInventorySortOrderEnum,
1418
- ListReplenishmentOrdersSortOrderEnum,
1419
- OutboundShipmentStatus,
1420
- PrepCategory,
1421
- PrepOwner,
1422
- ReplenishmentOrderStatus,
1423
- VolumeUnitOfMeasurement,
1424
- WeightUnitOfMeasurement,
1425
- clientRateLimits
2254
+ constructor(configuration) {
2255
+ const { axios, endpoint } = createAxiosInstance(configuration, clientRateLimits);
2256
+ super(new Configuration(), endpoint, axios);
2257
+ }
1426
2258
  };
2259
+ //#endregion
2260
+ export { AmazonWarehousingAndDistributionApi, AmazonWarehousingAndDistributionApiAxiosParamCreator, AmazonWarehousingAndDistributionApiClient, AmazonWarehousingAndDistributionApiFactory, AmazonWarehousingAndDistributionApiFp, CarrierCodeType, ConfirmationMode, DimensionUnitOfMeasurement, DistributionPackageType, FormatType, GetInboundShipmentLabelsFormatTypeEnum, GetInboundShipmentLabelsPageTypeEnum, GetInboundShipmentSkuQuantitiesEnum, InboundEligibilityStatus, InboundShipmentStatus, InboundStatus, InventoryDetailsVisibility, InventoryUnitOfMeasurement, LabelOwner, LabelStatus, ListInboundShipmentsShipmentStatusEnum, ListInboundShipmentsSortByEnum, ListInboundShipmentsSortOrderEnum, ListInventoryDetailsEnum, ListInventorySortOrderEnum, ListOutboundsSortOrderEnum, ListReplenishmentOrdersSortOrderEnum, OrderPreference, OrderPreferenceValue, OutboundShipmentStatus, OutboundStatus, PageType, PrepCategory, PrepOwner, ReplenishmentOrderStatus, ShipmentSortableField, SkuQuantitiesVisibility, SortOrder, VolumeUnitOfMeasurement, WeightUnitOfMeasurement, clientRateLimits };
2261
+
1427
2262
  //# sourceMappingURL=index.js.map