@sp-api-sdk/amazon-warehousing-and-distribution-api-2024-05-09 5.1.0 → 5.2.1

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