@sp-api-sdk/fulfillment-outbound-api-2020-07-01 5.0.0 → 5.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,1374 +1,1529 @@
1
- // src/client.ts
2
1
  import { createAxiosInstance } from "@sp-api-sdk/common";
3
-
4
- // src/api-model/api/fulfillment-outbound-api.ts
5
- import globalAxios2 from "axios";
6
-
7
- // src/api-model/base.ts
8
2
  import globalAxios from "axios";
9
- var BASE_PATH = "https://sellingpartnerapi-na.amazon.com".replace(/\/+$/, "");
3
+ //#region src/api-model/base.ts
4
+ const BASE_PATH = "https://sellingpartnerapi-na.amazon.com".replace(/\/+$/, "");
10
5
  var BaseAPI = class {
11
- constructor(configuration, basePath = BASE_PATH, axios = globalAxios) {
12
- this.basePath = basePath;
13
- this.axios = axios;
14
- if (configuration) {
15
- this.configuration = configuration;
16
- this.basePath = configuration.basePath ?? basePath;
17
- }
18
- }
19
- basePath;
20
- axios;
21
- configuration;
6
+ basePath;
7
+ axios;
8
+ configuration;
9
+ constructor(configuration, basePath = BASE_PATH, axios = globalAxios) {
10
+ this.basePath = basePath;
11
+ this.axios = axios;
12
+ if (configuration) {
13
+ this.configuration = configuration;
14
+ this.basePath = configuration.basePath ?? basePath;
15
+ }
16
+ }
22
17
  };
23
18
  var RequiredError = class extends Error {
24
- constructor(field, msg) {
25
- super(msg);
26
- this.field = field;
27
- this.name = "RequiredError";
28
- }
29
- field;
19
+ field;
20
+ constructor(field, msg) {
21
+ super(msg);
22
+ this.field = field;
23
+ this.name = "RequiredError";
24
+ }
30
25
  };
31
- var operationServerMap = {};
32
-
33
- // src/api-model/common.ts
34
- var DUMMY_BASE_URL = "https://example.com";
35
- var assertParamExists = function(functionName, paramName, paramValue) {
36
- if (paramValue === null || paramValue === void 0) {
37
- throw new RequiredError(paramName, `Required parameter ${paramName} was null or undefined when calling ${functionName}.`);
38
- }
26
+ const operationServerMap = {};
27
+ //#endregion
28
+ //#region src/api-model/common.ts
29
+ const DUMMY_BASE_URL = "https://example.com";
30
+ /**
31
+ *
32
+ * @throws {RequiredError}
33
+ */
34
+ const assertParamExists = function(functionName, paramName, paramValue) {
35
+ if (paramValue === null || paramValue === void 0) throw new RequiredError(paramName, `Required parameter ${paramName} was null or undefined when calling ${functionName}.`);
39
36
  };
40
37
  function setFlattenedQueryParams(urlSearchParams, parameter, key = "") {
41
- if (parameter == null) return;
42
- if (typeof parameter === "object") {
43
- if (Array.isArray(parameter) || parameter instanceof Set) {
44
- parameter.forEach((item) => setFlattenedQueryParams(urlSearchParams, item, key));
45
- } else {
46
- Object.keys(parameter).forEach(
47
- (currentKey) => setFlattenedQueryParams(urlSearchParams, parameter[currentKey], `${key}${key !== "" ? "." : ""}${currentKey}`)
48
- );
49
- }
50
- } else {
51
- if (urlSearchParams.has(key)) {
52
- urlSearchParams.append(key, parameter);
53
- } else {
54
- urlSearchParams.set(key, parameter);
55
- }
56
- }
38
+ if (parameter == null) return;
39
+ if (typeof parameter === "object") if (Array.isArray(parameter) || parameter instanceof Set) parameter.forEach((item) => setFlattenedQueryParams(urlSearchParams, item, key));
40
+ else Object.keys(parameter).forEach((currentKey) => setFlattenedQueryParams(urlSearchParams, parameter[currentKey], `${key}${key !== "" ? "." : ""}${currentKey}`));
41
+ else if (urlSearchParams.has(key)) urlSearchParams.append(key, parameter);
42
+ else urlSearchParams.set(key, parameter);
57
43
  }
58
- var setSearchParams = function(url, ...objects) {
59
- const searchParams = new URLSearchParams(url.search);
60
- setFlattenedQueryParams(searchParams, objects);
61
- url.search = searchParams.toString();
44
+ const setSearchParams = function(url, ...objects) {
45
+ const searchParams = new URLSearchParams(url.search);
46
+ setFlattenedQueryParams(searchParams, objects);
47
+ url.search = searchParams.toString();
62
48
  };
63
- var replaceWithSerializableTypeIfNeeded = function(key, value) {
64
- if (value instanceof Set) {
65
- return Array.from(value);
66
- } else {
67
- return value;
68
- }
49
+ /**
50
+ * JSON serialization helper function which replaces instances of unserializable types with serializable ones.
51
+ * This function will run for every key-value pair encountered by JSON.stringify while traversing an object.
52
+ * Converting a set to a string will return an empty object, so an intermediate conversion to an array is required.
53
+ */
54
+ const replaceWithSerializableTypeIfNeeded = function(key, value) {
55
+ if (value instanceof Set) return Array.from(value);
56
+ else return value;
69
57
  };
70
- var serializeDataIfNeeded = function(value, requestOptions, configuration) {
71
- const nonString = typeof value !== "string";
72
- const needsSerialization = nonString && configuration && configuration.isJsonMime ? configuration.isJsonMime(requestOptions.headers["Content-Type"]) : nonString;
73
- return needsSerialization ? JSON.stringify(value !== void 0 ? value : {}, replaceWithSerializableTypeIfNeeded) : value || "";
58
+ const serializeDataIfNeeded = function(value, requestOptions, configuration) {
59
+ const nonString = typeof value !== "string";
60
+ return (nonString && configuration && configuration.isJsonMime ? configuration.isJsonMime(requestOptions.headers["Content-Type"]) : nonString) ? JSON.stringify(value !== void 0 ? value : {}, replaceWithSerializableTypeIfNeeded) : value || "";
74
61
  };
75
- var toPathString = function(url) {
76
- return url.pathname + url.search + url.hash;
62
+ const toPathString = function(url) {
63
+ return url.pathname + url.search + url.hash;
77
64
  };
78
- var createRequestFunction = function(axiosArgs, globalAxios3, BASE_PATH2, configuration) {
79
- return (axios = globalAxios3, basePath = BASE_PATH2) => {
80
- const axiosRequestArgs = { ...axiosArgs.options, url: (axios.defaults.baseURL ? "" : configuration?.basePath ?? basePath) + axiosArgs.url };
81
- return axios.request(axiosRequestArgs);
82
- };
65
+ const createRequestFunction = function(axiosArgs, globalAxios, BASE_PATH, configuration) {
66
+ return (axios = globalAxios, basePath = BASE_PATH) => {
67
+ const axiosRequestArgs = {
68
+ ...axiosArgs.options,
69
+ url: (axios.defaults.baseURL ? "" : configuration?.basePath ?? basePath) + axiosArgs.url
70
+ };
71
+ return axios.request(axiosRequestArgs);
72
+ };
83
73
  };
84
-
85
- // src/api-model/api/fulfillment-outbound-api.ts
86
- var FulfillmentOutboundApiAxiosParamCreator = function(configuration) {
87
- return {
88
- /**
89
- * Requests that Amazon stop attempting to fulfill the fulfillment order indicated by the specified order identifier. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | 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 have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
90
- * @param {string} sellerFulfillmentOrderId The identifier assigned to the item by the seller when the fulfillment order was created.
91
- * @param {*} [options] Override http request option.
92
- * @throws {RequiredError}
93
- */
94
- cancelFulfillmentOrder: async (sellerFulfillmentOrderId, options = {}) => {
95
- assertParamExists("cancelFulfillmentOrder", "sellerFulfillmentOrderId", sellerFulfillmentOrderId);
96
- const localVarPath = `/fba/outbound/2020-07-01/fulfillmentOrders/{sellerFulfillmentOrderId}/cancel`.replace("{sellerFulfillmentOrderId}", encodeURIComponent(String(sellerFulfillmentOrderId)));
97
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
98
- let baseOptions;
99
- if (configuration) {
100
- baseOptions = configuration.baseOptions;
101
- }
102
- const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
103
- const localVarHeaderParameter = {};
104
- const localVarQueryParameter = {};
105
- localVarHeaderParameter["Accept"] = "application/json";
106
- setSearchParams(localVarUrlObj, localVarQueryParameter);
107
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
108
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
109
- return {
110
- url: toPathString(localVarUrlObj),
111
- options: localVarRequestOptions
112
- };
113
- },
114
- /**
115
- * Requests that Amazon ship items from the seller\'s inventory in Amazon\'s fulfillment network to a destination address. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | 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 have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api)
116
- * @param {CreateFulfillmentOrderRequest} body CreateFulfillmentOrderRequest parameter
117
- * @param {*} [options] Override http request option.
118
- * @throws {RequiredError}
119
- */
120
- createFulfillmentOrder: async (body, options = {}) => {
121
- assertParamExists("createFulfillmentOrder", "body", body);
122
- const localVarPath = `/fba/outbound/2020-07-01/fulfillmentOrders`;
123
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
124
- let baseOptions;
125
- if (configuration) {
126
- baseOptions = configuration.baseOptions;
127
- }
128
- const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
129
- const localVarHeaderParameter = {};
130
- const localVarQueryParameter = {};
131
- localVarHeaderParameter["Content-Type"] = "application/json";
132
- localVarHeaderParameter["Accept"] = "application/json";
133
- setSearchParams(localVarUrlObj, localVarQueryParameter);
134
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
135
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
136
- localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
137
- return {
138
- url: toPathString(localVarUrlObj),
139
- options: localVarRequestOptions
140
- };
141
- },
142
- /**
143
- * Creates a fulfillment return. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | 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 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).
144
- * @param {string} sellerFulfillmentOrderId An identifier the seller assigns to the fulfillment order at the time it was created. The seller uses their own records to find the correct `sellerFulfillmentOrderId` value based on the buyer\'s request to return items.
145
- * @param {CreateFulfillmentReturnRequest} body The request body of the `createFulfillmentReturn` operation.
146
- * @param {*} [options] Override http request option.
147
- * @throws {RequiredError}
148
- */
149
- createFulfillmentReturn: async (sellerFulfillmentOrderId, body, options = {}) => {
150
- assertParamExists("createFulfillmentReturn", "sellerFulfillmentOrderId", sellerFulfillmentOrderId);
151
- assertParamExists("createFulfillmentReturn", "body", body);
152
- const localVarPath = `/fba/outbound/2020-07-01/fulfillmentOrders/{sellerFulfillmentOrderId}/return`.replace("{sellerFulfillmentOrderId}", encodeURIComponent(String(sellerFulfillmentOrderId)));
153
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
154
- let baseOptions;
155
- if (configuration) {
156
- baseOptions = configuration.baseOptions;
157
- }
158
- const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
159
- const localVarHeaderParameter = {};
160
- const localVarQueryParameter = {};
161
- localVarHeaderParameter["Content-Type"] = "application/json";
162
- localVarHeaderParameter["Accept"] = "application/json,payload";
163
- setSearchParams(localVarUrlObj, localVarQueryParameter);
164
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
165
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
166
- localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
167
- return {
168
- url: toPathString(localVarUrlObj),
169
- options: localVarRequestOptions
170
- };
171
- },
172
- /**
173
- * Returns delivery options that include an estimated delivery date and offer expiration, based on criteria that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 30 | 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 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).
174
- * @param {GetDeliveryOffersRequest} body GetDeliveryOffersRequest parameter
175
- * @param {*} [options] Override http request option.
176
- * @throws {RequiredError}
177
- */
178
- deliveryOffers: async (body, options = {}) => {
179
- assertParamExists("deliveryOffers", "body", body);
180
- const localVarPath = `/fba/outbound/2020-07-01/deliveryOffers`;
181
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
182
- let baseOptions;
183
- if (configuration) {
184
- baseOptions = configuration.baseOptions;
185
- }
186
- const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
187
- const localVarHeaderParameter = {};
188
- const localVarQueryParameter = {};
189
- localVarHeaderParameter["Content-Type"] = "application/json";
190
- localVarHeaderParameter["Accept"] = "application/json,payload";
191
- setSearchParams(localVarUrlObj, localVarQueryParameter);
192
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
193
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
194
- localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
195
- return {
196
- url: toPathString(localVarUrlObj),
197
- options: localVarRequestOptions
198
- };
199
- },
200
- /**
201
- * Returns a list of inventory items that are eligible for the fulfillment feature you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | 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 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).
202
- * @param {string} marketplaceId The marketplace for which to return a list of the inventory that is eligible for the specified feature.
203
- * @param {string} featureName The name of the feature for which to return a list of eligible inventory.
204
- * @param {string} [nextToken] A string token returned in the response to your previous request that is used to return the next response page. A value of `null` will return the first page.
205
- * @param {string} [queryStartDate] A date that you can use to select inventory that has been updated since a specified date. An update is defined as any change in feature-enabled inventory availability. The date must be in the format `yyyy-MM-ddTHH:mm:ss.sssZ`
206
- * @param {*} [options] Override http request option.
207
- * @throws {RequiredError}
208
- */
209
- getFeatureInventory: async (marketplaceId, featureName, nextToken, queryStartDate, options = {}) => {
210
- assertParamExists("getFeatureInventory", "marketplaceId", marketplaceId);
211
- assertParamExists("getFeatureInventory", "featureName", featureName);
212
- const localVarPath = `/fba/outbound/2020-07-01/features/inventory/{featureName}`.replace("{featureName}", encodeURIComponent(String(featureName)));
213
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
214
- let baseOptions;
215
- if (configuration) {
216
- baseOptions = configuration.baseOptions;
217
- }
218
- const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
219
- const localVarHeaderParameter = {};
220
- const localVarQueryParameter = {};
221
- if (marketplaceId !== void 0) {
222
- localVarQueryParameter["marketplaceId"] = marketplaceId;
223
- }
224
- if (nextToken !== void 0) {
225
- localVarQueryParameter["nextToken"] = nextToken;
226
- }
227
- if (queryStartDate !== void 0) {
228
- localVarQueryParameter["queryStartDate"] = queryStartDate instanceof Date ? queryStartDate.toISOString() : queryStartDate;
229
- }
230
- localVarHeaderParameter["Accept"] = "application/json,payload";
231
- setSearchParams(localVarUrlObj, localVarQueryParameter);
232
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
233
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
234
- return {
235
- url: toPathString(localVarUrlObj),
236
- options: localVarRequestOptions
237
- };
238
- },
239
- /**
240
- * Returns the number of items with the `sellerSku` you specify that can have orders fulfilled using the specified feature. Note that if the `sellerSku` isn\'t eligible, the response will contain an empty `skuInfo` object. The parameters for this operation may contain special characters that require URL encoding. To avoid errors with SKUs when encoding URLs, refer to [URL Encoding](https://developer-docs.amazon.com/sp-api/docs/url-encoding). **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | 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 see higher rate and burst values than those shown here. For more information, see [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).
241
- * @param {string} marketplaceId The marketplace for which to return the count.
242
- * @param {string} featureName The name of the feature.
243
- * @param {string} sellerSku Used to identify an item in the given marketplace. `sellerSku` is qualified by the seller\'s `sellerId`, which is included with every operation that you submit.
244
- * @param {*} [options] Override http request option.
245
- * @throws {RequiredError}
246
- */
247
- getFeatureSKU: async (marketplaceId, featureName, sellerSku, options = {}) => {
248
- assertParamExists("getFeatureSKU", "marketplaceId", marketplaceId);
249
- assertParamExists("getFeatureSKU", "featureName", featureName);
250
- assertParamExists("getFeatureSKU", "sellerSku", sellerSku);
251
- const localVarPath = `/fba/outbound/2020-07-01/features/inventory/{featureName}/{sellerSku}`.replace("{featureName}", encodeURIComponent(String(featureName))).replace("{sellerSku}", encodeURIComponent(String(sellerSku)));
252
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
253
- let baseOptions;
254
- if (configuration) {
255
- baseOptions = configuration.baseOptions;
256
- }
257
- const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
258
- const localVarHeaderParameter = {};
259
- const localVarQueryParameter = {};
260
- if (marketplaceId !== void 0) {
261
- localVarQueryParameter["marketplaceId"] = marketplaceId;
262
- }
263
- localVarHeaderParameter["Accept"] = "application/json,payload";
264
- setSearchParams(localVarUrlObj, localVarQueryParameter);
265
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
266
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
267
- return {
268
- url: toPathString(localVarUrlObj),
269
- options: localVarRequestOptions
270
- };
271
- },
272
- /**
273
- * Returns a list of features available for Multi-Channel Fulfillment orders in the marketplace you specify, and whether the seller for which you made the call is enrolled for each feature. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | 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 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).
274
- * @param {string} marketplaceId The marketplace for which to return the list of features.
275
- * @param {*} [options] Override http request option.
276
- * @throws {RequiredError}
277
- */
278
- getFeatures: async (marketplaceId, options = {}) => {
279
- assertParamExists("getFeatures", "marketplaceId", marketplaceId);
280
- const localVarPath = `/fba/outbound/2020-07-01/features`;
281
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
282
- let baseOptions;
283
- if (configuration) {
284
- baseOptions = configuration.baseOptions;
285
- }
286
- const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
287
- const localVarHeaderParameter = {};
288
- const localVarQueryParameter = {};
289
- if (marketplaceId !== void 0) {
290
- localVarQueryParameter["marketplaceId"] = marketplaceId;
291
- }
292
- localVarHeaderParameter["Accept"] = "application/json,payload";
293
- setSearchParams(localVarUrlObj, localVarQueryParameter);
294
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
295
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
296
- return {
297
- url: toPathString(localVarUrlObj),
298
- options: localVarRequestOptions
299
- };
300
- },
301
- /**
302
- * Returns the fulfillment order indicated by the specified order identifier. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | 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 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).
303
- * @param {string} sellerFulfillmentOrderId The identifier assigned to the item by the seller when the fulfillment order was created.
304
- * @param {*} [options] Override http request option.
305
- * @throws {RequiredError}
306
- */
307
- getFulfillmentOrder: async (sellerFulfillmentOrderId, options = {}) => {
308
- assertParamExists("getFulfillmentOrder", "sellerFulfillmentOrderId", sellerFulfillmentOrderId);
309
- const localVarPath = `/fba/outbound/2020-07-01/fulfillmentOrders/{sellerFulfillmentOrderId}`.replace("{sellerFulfillmentOrderId}", encodeURIComponent(String(sellerFulfillmentOrderId)));
310
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
311
- let baseOptions;
312
- if (configuration) {
313
- baseOptions = configuration.baseOptions;
314
- }
315
- const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
316
- const localVarHeaderParameter = {};
317
- const localVarQueryParameter = {};
318
- localVarHeaderParameter["Accept"] = "application/json,payload";
319
- setSearchParams(localVarUrlObj, localVarQueryParameter);
320
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
321
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
322
- return {
323
- url: toPathString(localVarUrlObj),
324
- options: localVarRequestOptions
325
- };
326
- },
327
- /**
328
- * Returns a list of fulfillment order previews based on shipping criteria that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | 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 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).
329
- * @param {GetFulfillmentPreviewRequest} body GetFulfillmentPreviewRequest parameter
330
- * @param {*} [options] Override http request option.
331
- * @throws {RequiredError}
332
- */
333
- getFulfillmentPreview: async (body, options = {}) => {
334
- assertParamExists("getFulfillmentPreview", "body", body);
335
- const localVarPath = `/fba/outbound/2020-07-01/fulfillmentOrders/preview`;
336
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
337
- let baseOptions;
338
- if (configuration) {
339
- baseOptions = configuration.baseOptions;
340
- }
341
- const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
342
- const localVarHeaderParameter = {};
343
- const localVarQueryParameter = {};
344
- localVarHeaderParameter["Content-Type"] = "application/json";
345
- localVarHeaderParameter["Accept"] = "application/json,payload";
346
- setSearchParams(localVarUrlObj, localVarQueryParameter);
347
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
348
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
349
- localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
350
- return {
351
- url: toPathString(localVarUrlObj),
352
- options: localVarRequestOptions
353
- };
354
- },
355
- /**
356
- * Returns delivery tracking information for a package in an outbound shipment for a Multi-Channel Fulfillment order. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | 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 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).
357
- * @param {number} packageNumber The unencrypted package identifier. You can obtain this value from the `getFulfillmentOrder` operation.
358
- * @param {*} [options] Override http request option.
359
- * @throws {RequiredError}
360
- */
361
- getPackageTrackingDetails: async (packageNumber, options = {}) => {
362
- assertParamExists("getPackageTrackingDetails", "packageNumber", packageNumber);
363
- const localVarPath = `/fba/outbound/2020-07-01/tracking`;
364
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
365
- let baseOptions;
366
- if (configuration) {
367
- baseOptions = configuration.baseOptions;
368
- }
369
- const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
370
- const localVarHeaderParameter = {};
371
- const localVarQueryParameter = {};
372
- if (packageNumber !== void 0) {
373
- localVarQueryParameter["packageNumber"] = packageNumber;
374
- }
375
- localVarHeaderParameter["Accept"] = "application/json,payload";
376
- setSearchParams(localVarUrlObj, localVarQueryParameter);
377
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
378
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
379
- return {
380
- url: toPathString(localVarUrlObj),
381
- options: localVarRequestOptions
382
- };
383
- },
384
- /**
385
- * Returns a list of fulfillment orders fulfilled after (or at) a specified date-time, or indicated by the `nextToken` parameter. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | 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 see higher rate and burst values than those shown here. For more information, see [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)
386
- * @param {string} [queryStartDate] A date used to select fulfillment orders that were last updated after (or at) a specified time. An update is defined as any change in fulfillment order status, including the creation of a new fulfillment order.
387
- * @param {string} [nextToken] A string token returned in the response to your previous request.
388
- * @param {*} [options] Override http request option.
389
- * @throws {RequiredError}
390
- */
391
- listAllFulfillmentOrders: async (queryStartDate, nextToken, options = {}) => {
392
- const localVarPath = `/fba/outbound/2020-07-01/fulfillmentOrders`;
393
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
394
- let baseOptions;
395
- if (configuration) {
396
- baseOptions = configuration.baseOptions;
397
- }
398
- const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
399
- const localVarHeaderParameter = {};
400
- const localVarQueryParameter = {};
401
- if (queryStartDate !== void 0) {
402
- localVarQueryParameter["queryStartDate"] = queryStartDate instanceof Date ? queryStartDate.toISOString() : queryStartDate;
403
- }
404
- if (nextToken !== void 0) {
405
- localVarQueryParameter["nextToken"] = nextToken;
406
- }
407
- localVarHeaderParameter["Accept"] = "application/json,payload";
408
- setSearchParams(localVarUrlObj, localVarQueryParameter);
409
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
410
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
411
- return {
412
- url: toPathString(localVarUrlObj),
413
- options: localVarRequestOptions
414
- };
415
- },
416
- /**
417
- * Returns a list of return reason codes for a seller SKU in a given marketplace. The parameters for this operation may contain special characters that require URL encoding. To avoid errors with SKUs when encoding URLs, refer to [URL Encoding](https://developer-docs.amazon.com/sp-api/docs/url-encoding). **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | 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 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).
418
- * @param {string} sellerSku The seller SKU for which return reason codes are required.
419
- * @param {string} [marketplaceId] The marketplace for which the seller wants return reason codes.
420
- * @param {string} [sellerFulfillmentOrderId] The identifier assigned to the item by the seller when the fulfillment order was created. The service uses this value to determine the marketplace for which the seller wants return reason codes.
421
- * @param {string} [language] The language that the `TranslatedDescription` property of the `ReasonCodeDetails` response object should be translated into.
422
- * @param {*} [options] Override http request option.
423
- * @throws {RequiredError}
424
- */
425
- listReturnReasonCodes: async (sellerSku, marketplaceId, sellerFulfillmentOrderId, language, options = {}) => {
426
- assertParamExists("listReturnReasonCodes", "sellerSku", sellerSku);
427
- const localVarPath = `/fba/outbound/2020-07-01/returnReasonCodes`;
428
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
429
- let baseOptions;
430
- if (configuration) {
431
- baseOptions = configuration.baseOptions;
432
- }
433
- const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
434
- const localVarHeaderParameter = {};
435
- const localVarQueryParameter = {};
436
- if (sellerSku !== void 0) {
437
- localVarQueryParameter["sellerSku"] = sellerSku;
438
- }
439
- if (marketplaceId !== void 0) {
440
- localVarQueryParameter["marketplaceId"] = marketplaceId;
441
- }
442
- if (sellerFulfillmentOrderId !== void 0) {
443
- localVarQueryParameter["sellerFulfillmentOrderId"] = sellerFulfillmentOrderId;
444
- }
445
- if (language !== void 0) {
446
- localVarQueryParameter["language"] = language;
447
- }
448
- localVarHeaderParameter["Accept"] = "application/json,payload";
449
- setSearchParams(localVarUrlObj, localVarQueryParameter);
450
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
451
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
452
- return {
453
- url: toPathString(localVarUrlObj),
454
- options: localVarRequestOptions
455
- };
456
- },
457
- /**
458
- * Requests that Amazon update the status of an order in the sandbox testing environment. This is a sandbox-only operation and must be directed to a sandbox endpoint. Refer to [Fulfillment Outbound Dynamic Sandbox Guide](https://developer-docs.amazon.com/sp-api/docs/fulfillment-outbound-dynamic-sandbox-guide) and [Selling Partner API sandbox](https://developer-docs.amazon.com/sp-api/docs/the-selling-partner-api-sandbox) for more information.
459
- * @param {string} sellerFulfillmentOrderId The identifier assigned to the item by the seller when the fulfillment order was created.
460
- * @param {SubmitFulfillmentOrderStatusUpdateRequest} body The identifier assigned to the item by the seller when the fulfillment order was created.
461
- * @param {*} [options] Override http request option.
462
- * @throws {RequiredError}
463
- */
464
- submitFulfillmentOrderStatusUpdate: async (sellerFulfillmentOrderId, body, options = {}) => {
465
- assertParamExists("submitFulfillmentOrderStatusUpdate", "sellerFulfillmentOrderId", sellerFulfillmentOrderId);
466
- assertParamExists("submitFulfillmentOrderStatusUpdate", "body", body);
467
- const localVarPath = `/fba/outbound/2020-07-01/fulfillmentOrders/{sellerFulfillmentOrderId}/status`.replace("{sellerFulfillmentOrderId}", encodeURIComponent(String(sellerFulfillmentOrderId)));
468
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
469
- let baseOptions;
470
- if (configuration) {
471
- baseOptions = configuration.baseOptions;
472
- }
473
- const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
474
- const localVarHeaderParameter = {};
475
- const localVarQueryParameter = {};
476
- localVarHeaderParameter["Content-Type"] = "application/json";
477
- localVarHeaderParameter["Accept"] = "application/json";
478
- setSearchParams(localVarUrlObj, localVarQueryParameter);
479
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
480
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
481
- localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
482
- return {
483
- url: toPathString(localVarUrlObj),
484
- options: localVarRequestOptions
485
- };
486
- },
487
- /**
488
- * Updates and/or requests shipment for a fulfillment order with an order hold on it. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | 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 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).
489
- * @param {string} sellerFulfillmentOrderId The identifier assigned to the item by the seller when the fulfillment order was created.
490
- * @param {UpdateFulfillmentOrderRequest} body The request body of the `updateFulfillmentOrder` operation.
491
- * @param {*} [options] Override http request option.
492
- * @throws {RequiredError}
493
- */
494
- updateFulfillmentOrder: async (sellerFulfillmentOrderId, body, options = {}) => {
495
- assertParamExists("updateFulfillmentOrder", "sellerFulfillmentOrderId", sellerFulfillmentOrderId);
496
- assertParamExists("updateFulfillmentOrder", "body", body);
497
- const localVarPath = `/fba/outbound/2020-07-01/fulfillmentOrders/{sellerFulfillmentOrderId}`.replace("{sellerFulfillmentOrderId}", encodeURIComponent(String(sellerFulfillmentOrderId)));
498
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
499
- let baseOptions;
500
- if (configuration) {
501
- baseOptions = configuration.baseOptions;
502
- }
503
- const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
504
- const localVarHeaderParameter = {};
505
- const localVarQueryParameter = {};
506
- localVarHeaderParameter["Content-Type"] = "application/json";
507
- localVarHeaderParameter["Accept"] = "application/json";
508
- setSearchParams(localVarUrlObj, localVarQueryParameter);
509
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
510
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
511
- localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
512
- return {
513
- url: toPathString(localVarUrlObj),
514
- options: localVarRequestOptions
515
- };
516
- }
517
- };
74
+ //#endregion
75
+ //#region src/api-model/api/fulfillment-outbound-api.ts
76
+ /**
77
+ * FulfillmentOutboundApi - axios parameter creator
78
+ */
79
+ const FulfillmentOutboundApiAxiosParamCreator = function(configuration) {
80
+ return {
81
+ /**
82
+ * Requests that Amazon stop attempting to fulfill the fulfillment order indicated by the specified order identifier. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | 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 have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
83
+ * @param {string} sellerFulfillmentOrderId The identifier assigned to the item by the seller when the fulfillment order was created.
84
+ * @param {*} [options] Override http request option.
85
+ * @throws {RequiredError}
86
+ */
87
+ cancelFulfillmentOrder: async (sellerFulfillmentOrderId, options = {}) => {
88
+ assertParamExists("cancelFulfillmentOrder", "sellerFulfillmentOrderId", sellerFulfillmentOrderId);
89
+ const localVarPath = `/fba/outbound/2020-07-01/fulfillmentOrders/{sellerFulfillmentOrderId}/cancel`.replace("{sellerFulfillmentOrderId}", encodeURIComponent(String(sellerFulfillmentOrderId)));
90
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
91
+ let baseOptions;
92
+ if (configuration) baseOptions = configuration.baseOptions;
93
+ const localVarRequestOptions = {
94
+ method: "PUT",
95
+ ...baseOptions,
96
+ ...options
97
+ };
98
+ const localVarHeaderParameter = {};
99
+ const localVarQueryParameter = {};
100
+ localVarHeaderParameter["Accept"] = "application/json";
101
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
102
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
103
+ localVarRequestOptions.headers = {
104
+ ...localVarHeaderParameter,
105
+ ...headersFromBaseOptions,
106
+ ...options.headers
107
+ };
108
+ return {
109
+ url: toPathString(localVarUrlObj),
110
+ options: localVarRequestOptions
111
+ };
112
+ },
113
+ /**
114
+ * Requests that Amazon ship items from the seller\'s inventory in Amazon\'s fulfillment network to a destination address. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | 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 have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api)
115
+ * @param {CreateFulfillmentOrderRequest} body CreateFulfillmentOrderRequest parameter
116
+ * @param {*} [options] Override http request option.
117
+ * @throws {RequiredError}
118
+ */
119
+ createFulfillmentOrder: async (body, options = {}) => {
120
+ assertParamExists("createFulfillmentOrder", "body", body);
121
+ const localVarUrlObj = new URL(`/fba/outbound/2020-07-01/fulfillmentOrders`, DUMMY_BASE_URL);
122
+ let baseOptions;
123
+ if (configuration) baseOptions = configuration.baseOptions;
124
+ const localVarRequestOptions = {
125
+ method: "POST",
126
+ ...baseOptions,
127
+ ...options
128
+ };
129
+ const localVarHeaderParameter = {};
130
+ const localVarQueryParameter = {};
131
+ localVarHeaderParameter["Content-Type"] = "application/json";
132
+ localVarHeaderParameter["Accept"] = "application/json";
133
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
134
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
135
+ localVarRequestOptions.headers = {
136
+ ...localVarHeaderParameter,
137
+ ...headersFromBaseOptions,
138
+ ...options.headers
139
+ };
140
+ localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
141
+ return {
142
+ url: toPathString(localVarUrlObj),
143
+ options: localVarRequestOptions
144
+ };
145
+ },
146
+ /**
147
+ * Creates a fulfillment return. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | 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 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).
148
+ * @param {string} sellerFulfillmentOrderId An identifier the seller assigns to the fulfillment order at the time it was created. The seller uses their own records to find the correct `sellerFulfillmentOrderId` value based on the buyer\'s request to return items.
149
+ * @param {CreateFulfillmentReturnRequest} body The request body of the `createFulfillmentReturn` operation.
150
+ * @param {*} [options] Override http request option.
151
+ * @throws {RequiredError}
152
+ */
153
+ createFulfillmentReturn: async (sellerFulfillmentOrderId, body, options = {}) => {
154
+ assertParamExists("createFulfillmentReturn", "sellerFulfillmentOrderId", sellerFulfillmentOrderId);
155
+ assertParamExists("createFulfillmentReturn", "body", body);
156
+ const localVarPath = `/fba/outbound/2020-07-01/fulfillmentOrders/{sellerFulfillmentOrderId}/return`.replace("{sellerFulfillmentOrderId}", encodeURIComponent(String(sellerFulfillmentOrderId)));
157
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
158
+ let baseOptions;
159
+ if (configuration) baseOptions = configuration.baseOptions;
160
+ const localVarRequestOptions = {
161
+ method: "PUT",
162
+ ...baseOptions,
163
+ ...options
164
+ };
165
+ const localVarHeaderParameter = {};
166
+ const localVarQueryParameter = {};
167
+ localVarHeaderParameter["Content-Type"] = "application/json";
168
+ localVarHeaderParameter["Accept"] = "application/json,payload";
169
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
170
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
171
+ localVarRequestOptions.headers = {
172
+ ...localVarHeaderParameter,
173
+ ...headersFromBaseOptions,
174
+ ...options.headers
175
+ };
176
+ localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
177
+ return {
178
+ url: toPathString(localVarUrlObj),
179
+ options: localVarRequestOptions
180
+ };
181
+ },
182
+ /**
183
+ * Returns delivery options that include an estimated delivery date and offer expiration, based on criteria that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 30 | 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 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).
184
+ * @param {GetDeliveryOffersRequest} body GetDeliveryOffersRequest parameter
185
+ * @param {*} [options] Override http request option.
186
+ * @throws {RequiredError}
187
+ */
188
+ deliveryOffers: async (body, options = {}) => {
189
+ assertParamExists("deliveryOffers", "body", body);
190
+ const localVarUrlObj = new URL(`/fba/outbound/2020-07-01/deliveryOffers`, DUMMY_BASE_URL);
191
+ let baseOptions;
192
+ if (configuration) baseOptions = configuration.baseOptions;
193
+ const localVarRequestOptions = {
194
+ method: "POST",
195
+ ...baseOptions,
196
+ ...options
197
+ };
198
+ const localVarHeaderParameter = {};
199
+ const localVarQueryParameter = {};
200
+ localVarHeaderParameter["Content-Type"] = "application/json";
201
+ localVarHeaderParameter["Accept"] = "application/json,payload";
202
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
203
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
204
+ localVarRequestOptions.headers = {
205
+ ...localVarHeaderParameter,
206
+ ...headersFromBaseOptions,
207
+ ...options.headers
208
+ };
209
+ localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
210
+ return {
211
+ url: toPathString(localVarUrlObj),
212
+ options: localVarRequestOptions
213
+ };
214
+ },
215
+ /**
216
+ * Returns a list of inventory items that are eligible for the fulfillment feature you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | 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 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).
217
+ * @param {string} marketplaceId The marketplace for which to return a list of the inventory that is eligible for the specified feature.
218
+ * @param {string} featureName The name of the feature for which to return a list of eligible inventory.
219
+ * @param {string} [nextToken] A string token returned in the response to your previous request that is used to return the next response page. A value of `null` will return the first page.
220
+ * @param {string} [queryStartDate] A date that you can use to select inventory that has been updated since a specified date. An update is defined as any change in feature-enabled inventory availability. The date must be in the format `yyyy-MM-ddTHH:mm:ss.sssZ`
221
+ * @param {*} [options] Override http request option.
222
+ * @throws {RequiredError}
223
+ */
224
+ getFeatureInventory: async (marketplaceId, featureName, nextToken, queryStartDate, options = {}) => {
225
+ assertParamExists("getFeatureInventory", "marketplaceId", marketplaceId);
226
+ assertParamExists("getFeatureInventory", "featureName", featureName);
227
+ const localVarPath = `/fba/outbound/2020-07-01/features/inventory/{featureName}`.replace("{featureName}", encodeURIComponent(String(featureName)));
228
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
229
+ let baseOptions;
230
+ if (configuration) baseOptions = configuration.baseOptions;
231
+ const localVarRequestOptions = {
232
+ method: "GET",
233
+ ...baseOptions,
234
+ ...options
235
+ };
236
+ const localVarHeaderParameter = {};
237
+ const localVarQueryParameter = {};
238
+ if (marketplaceId !== void 0) localVarQueryParameter["marketplaceId"] = marketplaceId;
239
+ if (nextToken !== void 0) localVarQueryParameter["nextToken"] = nextToken;
240
+ if (queryStartDate !== void 0) localVarQueryParameter["queryStartDate"] = queryStartDate instanceof Date ? queryStartDate.toISOString() : queryStartDate;
241
+ localVarHeaderParameter["Accept"] = "application/json,payload";
242
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
243
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
244
+ localVarRequestOptions.headers = {
245
+ ...localVarHeaderParameter,
246
+ ...headersFromBaseOptions,
247
+ ...options.headers
248
+ };
249
+ return {
250
+ url: toPathString(localVarUrlObj),
251
+ options: localVarRequestOptions
252
+ };
253
+ },
254
+ /**
255
+ * Returns the number of items with the `sellerSku` you specify that can have orders fulfilled using the specified feature. Note that if the `sellerSku` isn\'t eligible, the response will contain an empty `skuInfo` object. The parameters for this operation may contain special characters that require URL encoding. To avoid errors with SKUs when encoding URLs, refer to [URL Encoding](https://developer-docs.amazon.com/sp-api/docs/url-encoding). **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | 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 see higher rate and burst values than those shown here. For more information, see [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).
256
+ * @param {string} marketplaceId The marketplace for which to return the count.
257
+ * @param {string} featureName The name of the feature.
258
+ * @param {string} sellerSku Used to identify an item in the given marketplace. `sellerSku` is qualified by the seller\'s `sellerId`, which is included with every operation that you submit.
259
+ * @param {*} [options] Override http request option.
260
+ * @throws {RequiredError}
261
+ */
262
+ getFeatureSKU: async (marketplaceId, featureName, sellerSku, options = {}) => {
263
+ assertParamExists("getFeatureSKU", "marketplaceId", marketplaceId);
264
+ assertParamExists("getFeatureSKU", "featureName", featureName);
265
+ assertParamExists("getFeatureSKU", "sellerSku", sellerSku);
266
+ const localVarPath = `/fba/outbound/2020-07-01/features/inventory/{featureName}/{sellerSku}`.replace("{featureName}", encodeURIComponent(String(featureName))).replace("{sellerSku}", encodeURIComponent(String(sellerSku)));
267
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
268
+ let baseOptions;
269
+ if (configuration) baseOptions = configuration.baseOptions;
270
+ const localVarRequestOptions = {
271
+ method: "GET",
272
+ ...baseOptions,
273
+ ...options
274
+ };
275
+ const localVarHeaderParameter = {};
276
+ const localVarQueryParameter = {};
277
+ if (marketplaceId !== void 0) localVarQueryParameter["marketplaceId"] = marketplaceId;
278
+ localVarHeaderParameter["Accept"] = "application/json,payload";
279
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
280
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
281
+ localVarRequestOptions.headers = {
282
+ ...localVarHeaderParameter,
283
+ ...headersFromBaseOptions,
284
+ ...options.headers
285
+ };
286
+ return {
287
+ url: toPathString(localVarUrlObj),
288
+ options: localVarRequestOptions
289
+ };
290
+ },
291
+ /**
292
+ * Returns a list of features available for Multi-Channel Fulfillment orders in the marketplace you specify, and whether the seller for which you made the call is enrolled for each feature. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | 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 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).
293
+ * @param {string} marketplaceId The marketplace for which to return the list of features.
294
+ * @param {*} [options] Override http request option.
295
+ * @throws {RequiredError}
296
+ */
297
+ getFeatures: async (marketplaceId, options = {}) => {
298
+ assertParamExists("getFeatures", "marketplaceId", marketplaceId);
299
+ const localVarUrlObj = new URL(`/fba/outbound/2020-07-01/features`, DUMMY_BASE_URL);
300
+ let baseOptions;
301
+ if (configuration) baseOptions = configuration.baseOptions;
302
+ const localVarRequestOptions = {
303
+ method: "GET",
304
+ ...baseOptions,
305
+ ...options
306
+ };
307
+ const localVarHeaderParameter = {};
308
+ const localVarQueryParameter = {};
309
+ if (marketplaceId !== void 0) localVarQueryParameter["marketplaceId"] = marketplaceId;
310
+ localVarHeaderParameter["Accept"] = "application/json,payload";
311
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
312
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
313
+ localVarRequestOptions.headers = {
314
+ ...localVarHeaderParameter,
315
+ ...headersFromBaseOptions,
316
+ ...options.headers
317
+ };
318
+ return {
319
+ url: toPathString(localVarUrlObj),
320
+ options: localVarRequestOptions
321
+ };
322
+ },
323
+ /**
324
+ * Returns the fulfillment order indicated by the specified order identifier. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | 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 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).
325
+ * @param {string} sellerFulfillmentOrderId The identifier assigned to the item by the seller when the fulfillment order was created.
326
+ * @param {*} [options] Override http request option.
327
+ * @throws {RequiredError}
328
+ */
329
+ getFulfillmentOrder: async (sellerFulfillmentOrderId, options = {}) => {
330
+ assertParamExists("getFulfillmentOrder", "sellerFulfillmentOrderId", sellerFulfillmentOrderId);
331
+ const localVarPath = `/fba/outbound/2020-07-01/fulfillmentOrders/{sellerFulfillmentOrderId}`.replace("{sellerFulfillmentOrderId}", encodeURIComponent(String(sellerFulfillmentOrderId)));
332
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
333
+ let baseOptions;
334
+ if (configuration) baseOptions = configuration.baseOptions;
335
+ const localVarRequestOptions = {
336
+ method: "GET",
337
+ ...baseOptions,
338
+ ...options
339
+ };
340
+ const localVarHeaderParameter = {};
341
+ const localVarQueryParameter = {};
342
+ localVarHeaderParameter["Accept"] = "application/json,payload";
343
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
344
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
345
+ localVarRequestOptions.headers = {
346
+ ...localVarHeaderParameter,
347
+ ...headersFromBaseOptions,
348
+ ...options.headers
349
+ };
350
+ return {
351
+ url: toPathString(localVarUrlObj),
352
+ options: localVarRequestOptions
353
+ };
354
+ },
355
+ /**
356
+ * Returns a list of fulfillment order previews based on shipping criteria that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | 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 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).
357
+ * @param {GetFulfillmentPreviewRequest} body GetFulfillmentPreviewRequest parameter
358
+ * @param {*} [options] Override http request option.
359
+ * @throws {RequiredError}
360
+ */
361
+ getFulfillmentPreview: async (body, options = {}) => {
362
+ assertParamExists("getFulfillmentPreview", "body", body);
363
+ const localVarUrlObj = new URL(`/fba/outbound/2020-07-01/fulfillmentOrders/preview`, DUMMY_BASE_URL);
364
+ let baseOptions;
365
+ if (configuration) baseOptions = configuration.baseOptions;
366
+ const localVarRequestOptions = {
367
+ method: "POST",
368
+ ...baseOptions,
369
+ ...options
370
+ };
371
+ const localVarHeaderParameter = {};
372
+ const localVarQueryParameter = {};
373
+ localVarHeaderParameter["Content-Type"] = "application/json";
374
+ localVarHeaderParameter["Accept"] = "application/json,payload";
375
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
376
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
377
+ localVarRequestOptions.headers = {
378
+ ...localVarHeaderParameter,
379
+ ...headersFromBaseOptions,
380
+ ...options.headers
381
+ };
382
+ localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
383
+ return {
384
+ url: toPathString(localVarUrlObj),
385
+ options: localVarRequestOptions
386
+ };
387
+ },
388
+ /**
389
+ * Returns delivery tracking information for a package in an outbound shipment for a Multi-Channel Fulfillment order. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | 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 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).
390
+ * @param {number} packageNumber The unencrypted package identifier. You can obtain this value from the `getFulfillmentOrder` operation.
391
+ * @param {*} [options] Override http request option.
392
+ * @throws {RequiredError}
393
+ */
394
+ getPackageTrackingDetails: async (packageNumber, options = {}) => {
395
+ assertParamExists("getPackageTrackingDetails", "packageNumber", packageNumber);
396
+ const localVarUrlObj = new URL(`/fba/outbound/2020-07-01/tracking`, DUMMY_BASE_URL);
397
+ let baseOptions;
398
+ if (configuration) baseOptions = configuration.baseOptions;
399
+ const localVarRequestOptions = {
400
+ method: "GET",
401
+ ...baseOptions,
402
+ ...options
403
+ };
404
+ const localVarHeaderParameter = {};
405
+ const localVarQueryParameter = {};
406
+ if (packageNumber !== void 0) localVarQueryParameter["packageNumber"] = packageNumber;
407
+ localVarHeaderParameter["Accept"] = "application/json,payload";
408
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
409
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
410
+ localVarRequestOptions.headers = {
411
+ ...localVarHeaderParameter,
412
+ ...headersFromBaseOptions,
413
+ ...options.headers
414
+ };
415
+ return {
416
+ url: toPathString(localVarUrlObj),
417
+ options: localVarRequestOptions
418
+ };
419
+ },
420
+ /**
421
+ * Returns a list of fulfillment orders fulfilled after (or at) a specified date-time, or indicated by the `nextToken` parameter. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | 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 see higher rate and burst values than those shown here. For more information, see [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)
422
+ * @param {string} [queryStartDate] A date used to select fulfillment orders that were last updated after (or at) a specified time. An update is defined as any change in fulfillment order status, including the creation of a new fulfillment order.
423
+ * @param {string} [nextToken] A string token returned in the response to your previous request.
424
+ * @param {*} [options] Override http request option.
425
+ * @throws {RequiredError}
426
+ */
427
+ listAllFulfillmentOrders: async (queryStartDate, nextToken, options = {}) => {
428
+ const localVarUrlObj = new URL(`/fba/outbound/2020-07-01/fulfillmentOrders`, DUMMY_BASE_URL);
429
+ let baseOptions;
430
+ if (configuration) baseOptions = configuration.baseOptions;
431
+ const localVarRequestOptions = {
432
+ method: "GET",
433
+ ...baseOptions,
434
+ ...options
435
+ };
436
+ const localVarHeaderParameter = {};
437
+ const localVarQueryParameter = {};
438
+ if (queryStartDate !== void 0) localVarQueryParameter["queryStartDate"] = queryStartDate instanceof Date ? queryStartDate.toISOString() : queryStartDate;
439
+ if (nextToken !== void 0) localVarQueryParameter["nextToken"] = nextToken;
440
+ localVarHeaderParameter["Accept"] = "application/json,payload";
441
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
442
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
443
+ localVarRequestOptions.headers = {
444
+ ...localVarHeaderParameter,
445
+ ...headersFromBaseOptions,
446
+ ...options.headers
447
+ };
448
+ return {
449
+ url: toPathString(localVarUrlObj),
450
+ options: localVarRequestOptions
451
+ };
452
+ },
453
+ /**
454
+ * Returns a list of return reason codes for a seller SKU in a given marketplace. The parameters for this operation may contain special characters that require URL encoding. To avoid errors with SKUs when encoding URLs, refer to [URL Encoding](https://developer-docs.amazon.com/sp-api/docs/url-encoding). **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | 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 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).
455
+ * @param {string} sellerSku The seller SKU for which return reason codes are required.
456
+ * @param {string} [marketplaceId] The marketplace for which the seller wants return reason codes.
457
+ * @param {string} [sellerFulfillmentOrderId] The identifier assigned to the item by the seller when the fulfillment order was created. The service uses this value to determine the marketplace for which the seller wants return reason codes.
458
+ * @param {string} [language] The language that the `TranslatedDescription` property of the `ReasonCodeDetails` response object should be translated into.
459
+ * @param {*} [options] Override http request option.
460
+ * @throws {RequiredError}
461
+ */
462
+ listReturnReasonCodes: async (sellerSku, marketplaceId, sellerFulfillmentOrderId, language, options = {}) => {
463
+ assertParamExists("listReturnReasonCodes", "sellerSku", sellerSku);
464
+ const localVarUrlObj = new URL(`/fba/outbound/2020-07-01/returnReasonCodes`, DUMMY_BASE_URL);
465
+ let baseOptions;
466
+ if (configuration) baseOptions = configuration.baseOptions;
467
+ const localVarRequestOptions = {
468
+ method: "GET",
469
+ ...baseOptions,
470
+ ...options
471
+ };
472
+ const localVarHeaderParameter = {};
473
+ const localVarQueryParameter = {};
474
+ if (sellerSku !== void 0) localVarQueryParameter["sellerSku"] = sellerSku;
475
+ if (marketplaceId !== void 0) localVarQueryParameter["marketplaceId"] = marketplaceId;
476
+ if (sellerFulfillmentOrderId !== void 0) localVarQueryParameter["sellerFulfillmentOrderId"] = sellerFulfillmentOrderId;
477
+ if (language !== void 0) localVarQueryParameter["language"] = language;
478
+ localVarHeaderParameter["Accept"] = "application/json,payload";
479
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
480
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
481
+ localVarRequestOptions.headers = {
482
+ ...localVarHeaderParameter,
483
+ ...headersFromBaseOptions,
484
+ ...options.headers
485
+ };
486
+ return {
487
+ url: toPathString(localVarUrlObj),
488
+ options: localVarRequestOptions
489
+ };
490
+ },
491
+ /**
492
+ * Requests that Amazon update the status of an order in the sandbox testing environment. This is a sandbox-only operation and must be directed to a sandbox endpoint. Refer to [Fulfillment Outbound Dynamic Sandbox Guide](https://developer-docs.amazon.com/sp-api/docs/fulfillment-outbound-dynamic-sandbox-guide) and [Selling Partner API sandbox](https://developer-docs.amazon.com/sp-api/docs/the-selling-partner-api-sandbox) for more information.
493
+ * @param {string} sellerFulfillmentOrderId The identifier assigned to the item by the seller when the fulfillment order was created.
494
+ * @param {SubmitFulfillmentOrderStatusUpdateRequest} body The identifier assigned to the item by the seller when the fulfillment order was created.
495
+ * @param {*} [options] Override http request option.
496
+ * @throws {RequiredError}
497
+ */
498
+ submitFulfillmentOrderStatusUpdate: async (sellerFulfillmentOrderId, body, options = {}) => {
499
+ assertParamExists("submitFulfillmentOrderStatusUpdate", "sellerFulfillmentOrderId", sellerFulfillmentOrderId);
500
+ assertParamExists("submitFulfillmentOrderStatusUpdate", "body", body);
501
+ const localVarPath = `/fba/outbound/2020-07-01/fulfillmentOrders/{sellerFulfillmentOrderId}/status`.replace("{sellerFulfillmentOrderId}", encodeURIComponent(String(sellerFulfillmentOrderId)));
502
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
503
+ let baseOptions;
504
+ if (configuration) baseOptions = configuration.baseOptions;
505
+ const localVarRequestOptions = {
506
+ method: "PUT",
507
+ ...baseOptions,
508
+ ...options
509
+ };
510
+ const localVarHeaderParameter = {};
511
+ const localVarQueryParameter = {};
512
+ localVarHeaderParameter["Content-Type"] = "application/json";
513
+ localVarHeaderParameter["Accept"] = "application/json";
514
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
515
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
516
+ localVarRequestOptions.headers = {
517
+ ...localVarHeaderParameter,
518
+ ...headersFromBaseOptions,
519
+ ...options.headers
520
+ };
521
+ localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
522
+ return {
523
+ url: toPathString(localVarUrlObj),
524
+ options: localVarRequestOptions
525
+ };
526
+ },
527
+ /**
528
+ * Updates and/or requests shipment for a fulfillment order with an order hold on it. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | 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 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).
529
+ * @param {string} sellerFulfillmentOrderId The identifier assigned to the item by the seller when the fulfillment order was created.
530
+ * @param {UpdateFulfillmentOrderRequest} body The request body of the `updateFulfillmentOrder` operation.
531
+ * @param {*} [options] Override http request option.
532
+ * @throws {RequiredError}
533
+ */
534
+ updateFulfillmentOrder: async (sellerFulfillmentOrderId, body, options = {}) => {
535
+ assertParamExists("updateFulfillmentOrder", "sellerFulfillmentOrderId", sellerFulfillmentOrderId);
536
+ assertParamExists("updateFulfillmentOrder", "body", body);
537
+ const localVarPath = `/fba/outbound/2020-07-01/fulfillmentOrders/{sellerFulfillmentOrderId}`.replace("{sellerFulfillmentOrderId}", encodeURIComponent(String(sellerFulfillmentOrderId)));
538
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
539
+ let baseOptions;
540
+ if (configuration) baseOptions = configuration.baseOptions;
541
+ const localVarRequestOptions = {
542
+ method: "PUT",
543
+ ...baseOptions,
544
+ ...options
545
+ };
546
+ const localVarHeaderParameter = {};
547
+ const localVarQueryParameter = {};
548
+ localVarHeaderParameter["Content-Type"] = "application/json";
549
+ localVarHeaderParameter["Accept"] = "application/json";
550
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
551
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
552
+ localVarRequestOptions.headers = {
553
+ ...localVarHeaderParameter,
554
+ ...headersFromBaseOptions,
555
+ ...options.headers
556
+ };
557
+ localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
558
+ return {
559
+ url: toPathString(localVarUrlObj),
560
+ options: localVarRequestOptions
561
+ };
562
+ }
563
+ };
518
564
  };
519
- var FulfillmentOutboundApiFp = function(configuration) {
520
- const localVarAxiosParamCreator = FulfillmentOutboundApiAxiosParamCreator(configuration);
521
- return {
522
- /**
523
- * Requests that Amazon stop attempting to fulfill the fulfillment order indicated by the specified order identifier. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | 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 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).
524
- * @param {string} sellerFulfillmentOrderId The identifier assigned to the item by the seller when the fulfillment order was created.
525
- * @param {*} [options] Override http request option.
526
- * @throws {RequiredError}
527
- */
528
- async cancelFulfillmentOrder(sellerFulfillmentOrderId, options) {
529
- const localVarAxiosArgs = await localVarAxiosParamCreator.cancelFulfillmentOrder(sellerFulfillmentOrderId, options);
530
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
531
- const localVarOperationServerBasePath = operationServerMap["FulfillmentOutboundApi.cancelFulfillmentOrder"]?.[localVarOperationServerIndex]?.url;
532
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
533
- },
534
- /**
535
- * Requests that Amazon ship items from the seller\'s inventory in Amazon\'s fulfillment network to a destination address. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | 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 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)
536
- * @param {CreateFulfillmentOrderRequest} body CreateFulfillmentOrderRequest parameter
537
- * @param {*} [options] Override http request option.
538
- * @throws {RequiredError}
539
- */
540
- async createFulfillmentOrder(body, options) {
541
- const localVarAxiosArgs = await localVarAxiosParamCreator.createFulfillmentOrder(body, options);
542
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
543
- const localVarOperationServerBasePath = operationServerMap["FulfillmentOutboundApi.createFulfillmentOrder"]?.[localVarOperationServerIndex]?.url;
544
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
545
- },
546
- /**
547
- * Creates a fulfillment return. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | 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 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).
548
- * @param {string} sellerFulfillmentOrderId An identifier the seller assigns to the fulfillment order at the time it was created. The seller uses their own records to find the correct `sellerFulfillmentOrderId` value based on the buyer\'s request to return items.
549
- * @param {CreateFulfillmentReturnRequest} body The request body of the `createFulfillmentReturn` operation.
550
- * @param {*} [options] Override http request option.
551
- * @throws {RequiredError}
552
- */
553
- async createFulfillmentReturn(sellerFulfillmentOrderId, body, options) {
554
- const localVarAxiosArgs = await localVarAxiosParamCreator.createFulfillmentReturn(sellerFulfillmentOrderId, body, options);
555
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
556
- const localVarOperationServerBasePath = operationServerMap["FulfillmentOutboundApi.createFulfillmentReturn"]?.[localVarOperationServerIndex]?.url;
557
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
558
- },
559
- /**
560
- * Returns delivery options that include an estimated delivery date and offer expiration, based on criteria that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 30 | 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 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).
561
- * @param {GetDeliveryOffersRequest} body GetDeliveryOffersRequest parameter
562
- * @param {*} [options] Override http request option.
563
- * @throws {RequiredError}
564
- */
565
- async deliveryOffers(body, options) {
566
- const localVarAxiosArgs = await localVarAxiosParamCreator.deliveryOffers(body, options);
567
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
568
- const localVarOperationServerBasePath = operationServerMap["FulfillmentOutboundApi.deliveryOffers"]?.[localVarOperationServerIndex]?.url;
569
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
570
- },
571
- /**
572
- * Returns a list of inventory items that are eligible for the fulfillment feature you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | 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 have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
573
- * @param {string} marketplaceId The marketplace for which to return a list of the inventory that is eligible for the specified feature.
574
- * @param {string} featureName The name of the feature for which to return a list of eligible inventory.
575
- * @param {string} [nextToken] A string token returned in the response to your previous request that is used to return the next response page. A value of `null` will return the first page.
576
- * @param {string} [queryStartDate] A date that you can use to select inventory that has been updated since a specified date. An update is defined as any change in feature-enabled inventory availability. The date must be in the format `yyyy-MM-ddTHH:mm:ss.sssZ`
577
- * @param {*} [options] Override http request option.
578
- * @throws {RequiredError}
579
- */
580
- async getFeatureInventory(marketplaceId, featureName, nextToken, queryStartDate, options) {
581
- const localVarAxiosArgs = await localVarAxiosParamCreator.getFeatureInventory(marketplaceId, featureName, nextToken, queryStartDate, options);
582
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
583
- const localVarOperationServerBasePath = operationServerMap["FulfillmentOutboundApi.getFeatureInventory"]?.[localVarOperationServerIndex]?.url;
584
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
585
- },
586
- /**
587
- * Returns the number of items with the `sellerSku` you specify that can have orders fulfilled using the specified feature. Note that if the `sellerSku` isn\'t eligible, the response will contain an empty `skuInfo` object. The parameters for this operation may contain special characters that require URL encoding. To avoid errors with SKUs when encoding URLs, refer to [URL Encoding](https://developer-docs.amazon.com/sp-api/docs/url-encoding). **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | 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 see higher rate and burst values than those shown here. For more information, see [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).
588
- * @param {string} marketplaceId The marketplace for which to return the count.
589
- * @param {string} featureName The name of the feature.
590
- * @param {string} sellerSku Used to identify an item in the given marketplace. `sellerSku` is qualified by the seller\'s `sellerId`, which is included with every operation that you submit.
591
- * @param {*} [options] Override http request option.
592
- * @throws {RequiredError}
593
- */
594
- async getFeatureSKU(marketplaceId, featureName, sellerSku, options) {
595
- const localVarAxiosArgs = await localVarAxiosParamCreator.getFeatureSKU(marketplaceId, featureName, sellerSku, options);
596
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
597
- const localVarOperationServerBasePath = operationServerMap["FulfillmentOutboundApi.getFeatureSKU"]?.[localVarOperationServerIndex]?.url;
598
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
599
- },
600
- /**
601
- * Returns a list of features available for Multi-Channel Fulfillment orders in the marketplace you specify, and whether the seller for which you made the call is enrolled for each feature. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | 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 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).
602
- * @param {string} marketplaceId The marketplace for which to return the list of features.
603
- * @param {*} [options] Override http request option.
604
- * @throws {RequiredError}
605
- */
606
- async getFeatures(marketplaceId, options) {
607
- const localVarAxiosArgs = await localVarAxiosParamCreator.getFeatures(marketplaceId, options);
608
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
609
- const localVarOperationServerBasePath = operationServerMap["FulfillmentOutboundApi.getFeatures"]?.[localVarOperationServerIndex]?.url;
610
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
611
- },
612
- /**
613
- * Returns the fulfillment order indicated by the specified order identifier. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | 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 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).
614
- * @param {string} sellerFulfillmentOrderId The identifier assigned to the item by the seller when the fulfillment order was created.
615
- * @param {*} [options] Override http request option.
616
- * @throws {RequiredError}
617
- */
618
- async getFulfillmentOrder(sellerFulfillmentOrderId, options) {
619
- const localVarAxiosArgs = await localVarAxiosParamCreator.getFulfillmentOrder(sellerFulfillmentOrderId, options);
620
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
621
- const localVarOperationServerBasePath = operationServerMap["FulfillmentOutboundApi.getFulfillmentOrder"]?.[localVarOperationServerIndex]?.url;
622
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
623
- },
624
- /**
625
- * Returns a list of fulfillment order previews based on shipping criteria that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | 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 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).
626
- * @param {GetFulfillmentPreviewRequest} body GetFulfillmentPreviewRequest parameter
627
- * @param {*} [options] Override http request option.
628
- * @throws {RequiredError}
629
- */
630
- async getFulfillmentPreview(body, options) {
631
- const localVarAxiosArgs = await localVarAxiosParamCreator.getFulfillmentPreview(body, options);
632
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
633
- const localVarOperationServerBasePath = operationServerMap["FulfillmentOutboundApi.getFulfillmentPreview"]?.[localVarOperationServerIndex]?.url;
634
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
635
- },
636
- /**
637
- * Returns delivery tracking information for a package in an outbound shipment for a Multi-Channel Fulfillment order. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | 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 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).
638
- * @param {number} packageNumber The unencrypted package identifier. You can obtain this value from the `getFulfillmentOrder` operation.
639
- * @param {*} [options] Override http request option.
640
- * @throws {RequiredError}
641
- */
642
- async getPackageTrackingDetails(packageNumber, options) {
643
- const localVarAxiosArgs = await localVarAxiosParamCreator.getPackageTrackingDetails(packageNumber, options);
644
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
645
- const localVarOperationServerBasePath = operationServerMap["FulfillmentOutboundApi.getPackageTrackingDetails"]?.[localVarOperationServerIndex]?.url;
646
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
647
- },
648
- /**
649
- * Returns a list of fulfillment orders fulfilled after (or at) a specified date-time, or indicated by the `nextToken` parameter. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | 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 see higher rate and burst values than those shown here. For more information, see [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)
650
- * @param {string} [queryStartDate] A date used to select fulfillment orders that were last updated after (or at) a specified time. An update is defined as any change in fulfillment order status, including the creation of a new fulfillment order.
651
- * @param {string} [nextToken] A string token returned in the response to your previous request.
652
- * @param {*} [options] Override http request option.
653
- * @throws {RequiredError}
654
- */
655
- async listAllFulfillmentOrders(queryStartDate, nextToken, options) {
656
- const localVarAxiosArgs = await localVarAxiosParamCreator.listAllFulfillmentOrders(queryStartDate, nextToken, options);
657
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
658
- const localVarOperationServerBasePath = operationServerMap["FulfillmentOutboundApi.listAllFulfillmentOrders"]?.[localVarOperationServerIndex]?.url;
659
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
660
- },
661
- /**
662
- * Returns a list of return reason codes for a seller SKU in a given marketplace. The parameters for this operation may contain special characters that require URL encoding. To avoid errors with SKUs when encoding URLs, refer to [URL Encoding](https://developer-docs.amazon.com/sp-api/docs/url-encoding). **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | 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 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).
663
- * @param {string} sellerSku The seller SKU for which return reason codes are required.
664
- * @param {string} [marketplaceId] The marketplace for which the seller wants return reason codes.
665
- * @param {string} [sellerFulfillmentOrderId] The identifier assigned to the item by the seller when the fulfillment order was created. The service uses this value to determine the marketplace for which the seller wants return reason codes.
666
- * @param {string} [language] The language that the `TranslatedDescription` property of the `ReasonCodeDetails` response object should be translated into.
667
- * @param {*} [options] Override http request option.
668
- * @throws {RequiredError}
669
- */
670
- async listReturnReasonCodes(sellerSku, marketplaceId, sellerFulfillmentOrderId, language, options) {
671
- const localVarAxiosArgs = await localVarAxiosParamCreator.listReturnReasonCodes(sellerSku, marketplaceId, sellerFulfillmentOrderId, language, options);
672
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
673
- const localVarOperationServerBasePath = operationServerMap["FulfillmentOutboundApi.listReturnReasonCodes"]?.[localVarOperationServerIndex]?.url;
674
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
675
- },
676
- /**
677
- * Requests that Amazon update the status of an order in the sandbox testing environment. This is a sandbox-only operation and must be directed to a sandbox endpoint. Refer to [Fulfillment Outbound Dynamic Sandbox Guide](https://developer-docs.amazon.com/sp-api/docs/fulfillment-outbound-dynamic-sandbox-guide) and [Selling Partner API sandbox](https://developer-docs.amazon.com/sp-api/docs/the-selling-partner-api-sandbox) for more information.
678
- * @param {string} sellerFulfillmentOrderId The identifier assigned to the item by the seller when the fulfillment order was created.
679
- * @param {SubmitFulfillmentOrderStatusUpdateRequest} body The identifier assigned to the item by the seller when the fulfillment order was created.
680
- * @param {*} [options] Override http request option.
681
- * @throws {RequiredError}
682
- */
683
- async submitFulfillmentOrderStatusUpdate(sellerFulfillmentOrderId, body, options) {
684
- const localVarAxiosArgs = await localVarAxiosParamCreator.submitFulfillmentOrderStatusUpdate(sellerFulfillmentOrderId, body, options);
685
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
686
- const localVarOperationServerBasePath = operationServerMap["FulfillmentOutboundApi.submitFulfillmentOrderStatusUpdate"]?.[localVarOperationServerIndex]?.url;
687
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
688
- },
689
- /**
690
- * Updates and/or requests shipment for a fulfillment order with an order hold on it. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | 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 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).
691
- * @param {string} sellerFulfillmentOrderId The identifier assigned to the item by the seller when the fulfillment order was created.
692
- * @param {UpdateFulfillmentOrderRequest} body The request body of the `updateFulfillmentOrder` operation.
693
- * @param {*} [options] Override http request option.
694
- * @throws {RequiredError}
695
- */
696
- async updateFulfillmentOrder(sellerFulfillmentOrderId, body, options) {
697
- const localVarAxiosArgs = await localVarAxiosParamCreator.updateFulfillmentOrder(sellerFulfillmentOrderId, body, options);
698
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
699
- const localVarOperationServerBasePath = operationServerMap["FulfillmentOutboundApi.updateFulfillmentOrder"]?.[localVarOperationServerIndex]?.url;
700
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios2, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
701
- }
702
- };
565
+ /**
566
+ * FulfillmentOutboundApi - functional programming interface
567
+ */
568
+ const FulfillmentOutboundApiFp = function(configuration) {
569
+ const localVarAxiosParamCreator = FulfillmentOutboundApiAxiosParamCreator(configuration);
570
+ return {
571
+ /**
572
+ * Requests that Amazon stop attempting to fulfill the fulfillment order indicated by the specified order identifier. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | 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 have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
573
+ * @param {string} sellerFulfillmentOrderId The identifier assigned to the item by the seller when the fulfillment order was created.
574
+ * @param {*} [options] Override http request option.
575
+ * @throws {RequiredError}
576
+ */
577
+ async cancelFulfillmentOrder(sellerFulfillmentOrderId, options) {
578
+ const localVarAxiosArgs = await localVarAxiosParamCreator.cancelFulfillmentOrder(sellerFulfillmentOrderId, options);
579
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
580
+ const localVarOperationServerBasePath = operationServerMap["FulfillmentOutboundApi.cancelFulfillmentOrder"]?.[localVarOperationServerIndex]?.url;
581
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
582
+ },
583
+ /**
584
+ * Requests that Amazon ship items from the seller\'s inventory in Amazon\'s fulfillment network to a destination address. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | 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 have higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api)
585
+ * @param {CreateFulfillmentOrderRequest} body CreateFulfillmentOrderRequest parameter
586
+ * @param {*} [options] Override http request option.
587
+ * @throws {RequiredError}
588
+ */
589
+ async createFulfillmentOrder(body, options) {
590
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createFulfillmentOrder(body, options);
591
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
592
+ const localVarOperationServerBasePath = operationServerMap["FulfillmentOutboundApi.createFulfillmentOrder"]?.[localVarOperationServerIndex]?.url;
593
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
594
+ },
595
+ /**
596
+ * Creates a fulfillment return. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | 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 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).
597
+ * @param {string} sellerFulfillmentOrderId An identifier the seller assigns to the fulfillment order at the time it was created. The seller uses their own records to find the correct `sellerFulfillmentOrderId` value based on the buyer\'s request to return items.
598
+ * @param {CreateFulfillmentReturnRequest} body The request body of the `createFulfillmentReturn` operation.
599
+ * @param {*} [options] Override http request option.
600
+ * @throws {RequiredError}
601
+ */
602
+ async createFulfillmentReturn(sellerFulfillmentOrderId, body, options) {
603
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createFulfillmentReturn(sellerFulfillmentOrderId, body, options);
604
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
605
+ const localVarOperationServerBasePath = operationServerMap["FulfillmentOutboundApi.createFulfillmentReturn"]?.[localVarOperationServerIndex]?.url;
606
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
607
+ },
608
+ /**
609
+ * Returns delivery options that include an estimated delivery date and offer expiration, based on criteria that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 30 | 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 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).
610
+ * @param {GetDeliveryOffersRequest} body GetDeliveryOffersRequest parameter
611
+ * @param {*} [options] Override http request option.
612
+ * @throws {RequiredError}
613
+ */
614
+ async deliveryOffers(body, options) {
615
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deliveryOffers(body, options);
616
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
617
+ const localVarOperationServerBasePath = operationServerMap["FulfillmentOutboundApi.deliveryOffers"]?.[localVarOperationServerIndex]?.url;
618
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
619
+ },
620
+ /**
621
+ * Returns a list of inventory items that are eligible for the fulfillment feature you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | 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 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).
622
+ * @param {string} marketplaceId The marketplace for which to return a list of the inventory that is eligible for the specified feature.
623
+ * @param {string} featureName The name of the feature for which to return a list of eligible inventory.
624
+ * @param {string} [nextToken] A string token returned in the response to your previous request that is used to return the next response page. A value of `null` will return the first page.
625
+ * @param {string} [queryStartDate] A date that you can use to select inventory that has been updated since a specified date. An update is defined as any change in feature-enabled inventory availability. The date must be in the format `yyyy-MM-ddTHH:mm:ss.sssZ`
626
+ * @param {*} [options] Override http request option.
627
+ * @throws {RequiredError}
628
+ */
629
+ async getFeatureInventory(marketplaceId, featureName, nextToken, queryStartDate, options) {
630
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getFeatureInventory(marketplaceId, featureName, nextToken, queryStartDate, options);
631
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
632
+ const localVarOperationServerBasePath = operationServerMap["FulfillmentOutboundApi.getFeatureInventory"]?.[localVarOperationServerIndex]?.url;
633
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
634
+ },
635
+ /**
636
+ * Returns the number of items with the `sellerSku` you specify that can have orders fulfilled using the specified feature. Note that if the `sellerSku` isn\'t eligible, the response will contain an empty `skuInfo` object. The parameters for this operation may contain special characters that require URL encoding. To avoid errors with SKUs when encoding URLs, refer to [URL Encoding](https://developer-docs.amazon.com/sp-api/docs/url-encoding). **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | 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 see higher rate and burst values than those shown here. For more information, see [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).
637
+ * @param {string} marketplaceId The marketplace for which to return the count.
638
+ * @param {string} featureName The name of the feature.
639
+ * @param {string} sellerSku Used to identify an item in the given marketplace. `sellerSku` is qualified by the seller\'s `sellerId`, which is included with every operation that you submit.
640
+ * @param {*} [options] Override http request option.
641
+ * @throws {RequiredError}
642
+ */
643
+ async getFeatureSKU(marketplaceId, featureName, sellerSku, options) {
644
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getFeatureSKU(marketplaceId, featureName, sellerSku, options);
645
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
646
+ const localVarOperationServerBasePath = operationServerMap["FulfillmentOutboundApi.getFeatureSKU"]?.[localVarOperationServerIndex]?.url;
647
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
648
+ },
649
+ /**
650
+ * Returns a list of features available for Multi-Channel Fulfillment orders in the marketplace you specify, and whether the seller for which you made the call is enrolled for each feature. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | 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 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).
651
+ * @param {string} marketplaceId The marketplace for which to return the list of features.
652
+ * @param {*} [options] Override http request option.
653
+ * @throws {RequiredError}
654
+ */
655
+ async getFeatures(marketplaceId, options) {
656
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getFeatures(marketplaceId, options);
657
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
658
+ const localVarOperationServerBasePath = operationServerMap["FulfillmentOutboundApi.getFeatures"]?.[localVarOperationServerIndex]?.url;
659
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
660
+ },
661
+ /**
662
+ * Returns the fulfillment order indicated by the specified order identifier. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | 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 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).
663
+ * @param {string} sellerFulfillmentOrderId The identifier assigned to the item by the seller when the fulfillment order was created.
664
+ * @param {*} [options] Override http request option.
665
+ * @throws {RequiredError}
666
+ */
667
+ async getFulfillmentOrder(sellerFulfillmentOrderId, options) {
668
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getFulfillmentOrder(sellerFulfillmentOrderId, options);
669
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
670
+ const localVarOperationServerBasePath = operationServerMap["FulfillmentOutboundApi.getFulfillmentOrder"]?.[localVarOperationServerIndex]?.url;
671
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
672
+ },
673
+ /**
674
+ * Returns a list of fulfillment order previews based on shipping criteria that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | 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 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).
675
+ * @param {GetFulfillmentPreviewRequest} body GetFulfillmentPreviewRequest parameter
676
+ * @param {*} [options] Override http request option.
677
+ * @throws {RequiredError}
678
+ */
679
+ async getFulfillmentPreview(body, options) {
680
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getFulfillmentPreview(body, options);
681
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
682
+ const localVarOperationServerBasePath = operationServerMap["FulfillmentOutboundApi.getFulfillmentPreview"]?.[localVarOperationServerIndex]?.url;
683
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
684
+ },
685
+ /**
686
+ * Returns delivery tracking information for a package in an outbound shipment for a Multi-Channel Fulfillment order. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | 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 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).
687
+ * @param {number} packageNumber The unencrypted package identifier. You can obtain this value from the `getFulfillmentOrder` operation.
688
+ * @param {*} [options] Override http request option.
689
+ * @throws {RequiredError}
690
+ */
691
+ async getPackageTrackingDetails(packageNumber, options) {
692
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getPackageTrackingDetails(packageNumber, options);
693
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
694
+ const localVarOperationServerBasePath = operationServerMap["FulfillmentOutboundApi.getPackageTrackingDetails"]?.[localVarOperationServerIndex]?.url;
695
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
696
+ },
697
+ /**
698
+ * Returns a list of fulfillment orders fulfilled after (or at) a specified date-time, or indicated by the `nextToken` parameter. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | 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 see higher rate and burst values than those shown here. For more information, see [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)
699
+ * @param {string} [queryStartDate] A date used to select fulfillment orders that were last updated after (or at) a specified time. An update is defined as any change in fulfillment order status, including the creation of a new fulfillment order.
700
+ * @param {string} [nextToken] A string token returned in the response to your previous request.
701
+ * @param {*} [options] Override http request option.
702
+ * @throws {RequiredError}
703
+ */
704
+ async listAllFulfillmentOrders(queryStartDate, nextToken, options) {
705
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listAllFulfillmentOrders(queryStartDate, nextToken, options);
706
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
707
+ const localVarOperationServerBasePath = operationServerMap["FulfillmentOutboundApi.listAllFulfillmentOrders"]?.[localVarOperationServerIndex]?.url;
708
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
709
+ },
710
+ /**
711
+ * Returns a list of return reason codes for a seller SKU in a given marketplace. The parameters for this operation may contain special characters that require URL encoding. To avoid errors with SKUs when encoding URLs, refer to [URL Encoding](https://developer-docs.amazon.com/sp-api/docs/url-encoding). **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | 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 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).
712
+ * @param {string} sellerSku The seller SKU for which return reason codes are required.
713
+ * @param {string} [marketplaceId] The marketplace for which the seller wants return reason codes.
714
+ * @param {string} [sellerFulfillmentOrderId] The identifier assigned to the item by the seller when the fulfillment order was created. The service uses this value to determine the marketplace for which the seller wants return reason codes.
715
+ * @param {string} [language] The language that the `TranslatedDescription` property of the `ReasonCodeDetails` response object should be translated into.
716
+ * @param {*} [options] Override http request option.
717
+ * @throws {RequiredError}
718
+ */
719
+ async listReturnReasonCodes(sellerSku, marketplaceId, sellerFulfillmentOrderId, language, options) {
720
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listReturnReasonCodes(sellerSku, marketplaceId, sellerFulfillmentOrderId, language, options);
721
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
722
+ const localVarOperationServerBasePath = operationServerMap["FulfillmentOutboundApi.listReturnReasonCodes"]?.[localVarOperationServerIndex]?.url;
723
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
724
+ },
725
+ /**
726
+ * Requests that Amazon update the status of an order in the sandbox testing environment. This is a sandbox-only operation and must be directed to a sandbox endpoint. Refer to [Fulfillment Outbound Dynamic Sandbox Guide](https://developer-docs.amazon.com/sp-api/docs/fulfillment-outbound-dynamic-sandbox-guide) and [Selling Partner API sandbox](https://developer-docs.amazon.com/sp-api/docs/the-selling-partner-api-sandbox) for more information.
727
+ * @param {string} sellerFulfillmentOrderId The identifier assigned to the item by the seller when the fulfillment order was created.
728
+ * @param {SubmitFulfillmentOrderStatusUpdateRequest} body The identifier assigned to the item by the seller when the fulfillment order was created.
729
+ * @param {*} [options] Override http request option.
730
+ * @throws {RequiredError}
731
+ */
732
+ async submitFulfillmentOrderStatusUpdate(sellerFulfillmentOrderId, body, options) {
733
+ const localVarAxiosArgs = await localVarAxiosParamCreator.submitFulfillmentOrderStatusUpdate(sellerFulfillmentOrderId, body, options);
734
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
735
+ const localVarOperationServerBasePath = operationServerMap["FulfillmentOutboundApi.submitFulfillmentOrderStatusUpdate"]?.[localVarOperationServerIndex]?.url;
736
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
737
+ },
738
+ /**
739
+ * Updates and/or requests shipment for a fulfillment order with an order hold on it. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | 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 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).
740
+ * @param {string} sellerFulfillmentOrderId The identifier assigned to the item by the seller when the fulfillment order was created.
741
+ * @param {UpdateFulfillmentOrderRequest} body The request body of the `updateFulfillmentOrder` operation.
742
+ * @param {*} [options] Override http request option.
743
+ * @throws {RequiredError}
744
+ */
745
+ async updateFulfillmentOrder(sellerFulfillmentOrderId, body, options) {
746
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateFulfillmentOrder(sellerFulfillmentOrderId, body, options);
747
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
748
+ const localVarOperationServerBasePath = operationServerMap["FulfillmentOutboundApi.updateFulfillmentOrder"]?.[localVarOperationServerIndex]?.url;
749
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
750
+ }
751
+ };
703
752
  };
704
- var FulfillmentOutboundApiFactory = function(configuration, basePath, axios) {
705
- const localVarFp = FulfillmentOutboundApiFp(configuration);
706
- return {
707
- /**
708
- * Requests that Amazon stop attempting to fulfill the fulfillment order indicated by the specified order identifier. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | 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 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).
709
- * @param {FulfillmentOutboundApiCancelFulfillmentOrderRequest} requestParameters Request parameters.
710
- * @param {*} [options] Override http request option.
711
- * @throws {RequiredError}
712
- */
713
- cancelFulfillmentOrder(requestParameters, options) {
714
- return localVarFp.cancelFulfillmentOrder(requestParameters.sellerFulfillmentOrderId, options).then((request) => request(axios, basePath));
715
- },
716
- /**
717
- * Requests that Amazon ship items from the seller\'s inventory in Amazon\'s fulfillment network to a destination address. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | 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 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)
718
- * @param {FulfillmentOutboundApiCreateFulfillmentOrderRequest} requestParameters Request parameters.
719
- * @param {*} [options] Override http request option.
720
- * @throws {RequiredError}
721
- */
722
- createFulfillmentOrder(requestParameters, options) {
723
- return localVarFp.createFulfillmentOrder(requestParameters.body, options).then((request) => request(axios, basePath));
724
- },
725
- /**
726
- * Creates a fulfillment return. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | 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 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).
727
- * @param {FulfillmentOutboundApiCreateFulfillmentReturnRequest} requestParameters Request parameters.
728
- * @param {*} [options] Override http request option.
729
- * @throws {RequiredError}
730
- */
731
- createFulfillmentReturn(requestParameters, options) {
732
- return localVarFp.createFulfillmentReturn(requestParameters.sellerFulfillmentOrderId, requestParameters.body, options).then((request) => request(axios, basePath));
733
- },
734
- /**
735
- * Returns delivery options that include an estimated delivery date and offer expiration, based on criteria that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 30 | 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 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).
736
- * @param {FulfillmentOutboundApiDeliveryOffersRequest} requestParameters Request parameters.
737
- * @param {*} [options] Override http request option.
738
- * @throws {RequiredError}
739
- */
740
- deliveryOffers(requestParameters, options) {
741
- return localVarFp.deliveryOffers(requestParameters.body, options).then((request) => request(axios, basePath));
742
- },
743
- /**
744
- * Returns a list of inventory items that are eligible for the fulfillment feature you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | 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 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).
745
- * @param {FulfillmentOutboundApiGetFeatureInventoryRequest} requestParameters Request parameters.
746
- * @param {*} [options] Override http request option.
747
- * @throws {RequiredError}
748
- */
749
- getFeatureInventory(requestParameters, options) {
750
- return localVarFp.getFeatureInventory(requestParameters.marketplaceId, requestParameters.featureName, requestParameters.nextToken, requestParameters.queryStartDate, options).then((request) => request(axios, basePath));
751
- },
752
- /**
753
- * Returns the number of items with the `sellerSku` you specify that can have orders fulfilled using the specified feature. Note that if the `sellerSku` isn\'t eligible, the response will contain an empty `skuInfo` object. The parameters for this operation may contain special characters that require URL encoding. To avoid errors with SKUs when encoding URLs, refer to [URL Encoding](https://developer-docs.amazon.com/sp-api/docs/url-encoding). **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | 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 see higher rate and burst values than those shown here. For more information, see [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).
754
- * @param {FulfillmentOutboundApiGetFeatureSKURequest} requestParameters Request parameters.
755
- * @param {*} [options] Override http request option.
756
- * @throws {RequiredError}
757
- */
758
- getFeatureSKU(requestParameters, options) {
759
- return localVarFp.getFeatureSKU(requestParameters.marketplaceId, requestParameters.featureName, requestParameters.sellerSku, options).then((request) => request(axios, basePath));
760
- },
761
- /**
762
- * Returns a list of features available for Multi-Channel Fulfillment orders in the marketplace you specify, and whether the seller for which you made the call is enrolled for each feature. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | 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 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).
763
- * @param {FulfillmentOutboundApiGetFeaturesRequest} requestParameters Request parameters.
764
- * @param {*} [options] Override http request option.
765
- * @throws {RequiredError}
766
- */
767
- getFeatures(requestParameters, options) {
768
- return localVarFp.getFeatures(requestParameters.marketplaceId, options).then((request) => request(axios, basePath));
769
- },
770
- /**
771
- * Returns the fulfillment order indicated by the specified order identifier. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | 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 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).
772
- * @param {FulfillmentOutboundApiGetFulfillmentOrderRequest} requestParameters Request parameters.
773
- * @param {*} [options] Override http request option.
774
- * @throws {RequiredError}
775
- */
776
- getFulfillmentOrder(requestParameters, options) {
777
- return localVarFp.getFulfillmentOrder(requestParameters.sellerFulfillmentOrderId, options).then((request) => request(axios, basePath));
778
- },
779
- /**
780
- * Returns a list of fulfillment order previews based on shipping criteria that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | 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 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).
781
- * @param {FulfillmentOutboundApiGetFulfillmentPreviewRequest} requestParameters Request parameters.
782
- * @param {*} [options] Override http request option.
783
- * @throws {RequiredError}
784
- */
785
- getFulfillmentPreview(requestParameters, options) {
786
- return localVarFp.getFulfillmentPreview(requestParameters.body, options).then((request) => request(axios, basePath));
787
- },
788
- /**
789
- * Returns delivery tracking information for a package in an outbound shipment for a Multi-Channel Fulfillment order. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | 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 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).
790
- * @param {FulfillmentOutboundApiGetPackageTrackingDetailsRequest} requestParameters Request parameters.
791
- * @param {*} [options] Override http request option.
792
- * @throws {RequiredError}
793
- */
794
- getPackageTrackingDetails(requestParameters, options) {
795
- return localVarFp.getPackageTrackingDetails(requestParameters.packageNumber, options).then((request) => request(axios, basePath));
796
- },
797
- /**
798
- * Returns a list of fulfillment orders fulfilled after (or at) a specified date-time, or indicated by the `nextToken` parameter. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | 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 see higher rate and burst values than those shown here. For more information, see [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)
799
- * @param {FulfillmentOutboundApiListAllFulfillmentOrdersRequest} requestParameters Request parameters.
800
- * @param {*} [options] Override http request option.
801
- * @throws {RequiredError}
802
- */
803
- listAllFulfillmentOrders(requestParameters = {}, options) {
804
- return localVarFp.listAllFulfillmentOrders(requestParameters.queryStartDate, requestParameters.nextToken, options).then((request) => request(axios, basePath));
805
- },
806
- /**
807
- * Returns a list of return reason codes for a seller SKU in a given marketplace. The parameters for this operation may contain special characters that require URL encoding. To avoid errors with SKUs when encoding URLs, refer to [URL Encoding](https://developer-docs.amazon.com/sp-api/docs/url-encoding). **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | 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 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).
808
- * @param {FulfillmentOutboundApiListReturnReasonCodesRequest} requestParameters Request parameters.
809
- * @param {*} [options] Override http request option.
810
- * @throws {RequiredError}
811
- */
812
- listReturnReasonCodes(requestParameters, options) {
813
- return localVarFp.listReturnReasonCodes(requestParameters.sellerSku, requestParameters.marketplaceId, requestParameters.sellerFulfillmentOrderId, requestParameters.language, options).then((request) => request(axios, basePath));
814
- },
815
- /**
816
- * Requests that Amazon update the status of an order in the sandbox testing environment. This is a sandbox-only operation and must be directed to a sandbox endpoint. Refer to [Fulfillment Outbound Dynamic Sandbox Guide](https://developer-docs.amazon.com/sp-api/docs/fulfillment-outbound-dynamic-sandbox-guide) and [Selling Partner API sandbox](https://developer-docs.amazon.com/sp-api/docs/the-selling-partner-api-sandbox) for more information.
817
- * @param {FulfillmentOutboundApiSubmitFulfillmentOrderStatusUpdateRequest} requestParameters Request parameters.
818
- * @param {*} [options] Override http request option.
819
- * @throws {RequiredError}
820
- */
821
- submitFulfillmentOrderStatusUpdate(requestParameters, options) {
822
- return localVarFp.submitFulfillmentOrderStatusUpdate(requestParameters.sellerFulfillmentOrderId, requestParameters.body, options).then((request) => request(axios, basePath));
823
- },
824
- /**
825
- * Updates and/or requests shipment for a fulfillment order with an order hold on it. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | 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 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).
826
- * @param {FulfillmentOutboundApiUpdateFulfillmentOrderRequest} requestParameters Request parameters.
827
- * @param {*} [options] Override http request option.
828
- * @throws {RequiredError}
829
- */
830
- updateFulfillmentOrder(requestParameters, options) {
831
- return localVarFp.updateFulfillmentOrder(requestParameters.sellerFulfillmentOrderId, requestParameters.body, options).then((request) => request(axios, basePath));
832
- }
833
- };
753
+ /**
754
+ * FulfillmentOutboundApi - factory interface
755
+ */
756
+ const FulfillmentOutboundApiFactory = function(configuration, basePath, axios) {
757
+ const localVarFp = FulfillmentOutboundApiFp(configuration);
758
+ return {
759
+ /**
760
+ * Requests that Amazon stop attempting to fulfill the fulfillment order indicated by the specified order identifier. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | 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 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).
761
+ * @param {FulfillmentOutboundApiCancelFulfillmentOrderRequest} requestParameters Request parameters.
762
+ * @param {*} [options] Override http request option.
763
+ * @throws {RequiredError}
764
+ */
765
+ cancelFulfillmentOrder(requestParameters, options) {
766
+ return localVarFp.cancelFulfillmentOrder(requestParameters.sellerFulfillmentOrderId, options).then((request) => request(axios, basePath));
767
+ },
768
+ /**
769
+ * Requests that Amazon ship items from the seller\'s inventory in Amazon\'s fulfillment network to a destination address. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | 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 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)
770
+ * @param {FulfillmentOutboundApiCreateFulfillmentOrderRequest} requestParameters Request parameters.
771
+ * @param {*} [options] Override http request option.
772
+ * @throws {RequiredError}
773
+ */
774
+ createFulfillmentOrder(requestParameters, options) {
775
+ return localVarFp.createFulfillmentOrder(requestParameters.body, options).then((request) => request(axios, basePath));
776
+ },
777
+ /**
778
+ * Creates a fulfillment return. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | 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 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).
779
+ * @param {FulfillmentOutboundApiCreateFulfillmentReturnRequest} requestParameters Request parameters.
780
+ * @param {*} [options] Override http request option.
781
+ * @throws {RequiredError}
782
+ */
783
+ createFulfillmentReturn(requestParameters, options) {
784
+ return localVarFp.createFulfillmentReturn(requestParameters.sellerFulfillmentOrderId, requestParameters.body, options).then((request) => request(axios, basePath));
785
+ },
786
+ /**
787
+ * Returns delivery options that include an estimated delivery date and offer expiration, based on criteria that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 30 | 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 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).
788
+ * @param {FulfillmentOutboundApiDeliveryOffersRequest} requestParameters Request parameters.
789
+ * @param {*} [options] Override http request option.
790
+ * @throws {RequiredError}
791
+ */
792
+ deliveryOffers(requestParameters, options) {
793
+ return localVarFp.deliveryOffers(requestParameters.body, options).then((request) => request(axios, basePath));
794
+ },
795
+ /**
796
+ * Returns a list of inventory items that are eligible for the fulfillment feature you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | 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 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).
797
+ * @param {FulfillmentOutboundApiGetFeatureInventoryRequest} requestParameters Request parameters.
798
+ * @param {*} [options] Override http request option.
799
+ * @throws {RequiredError}
800
+ */
801
+ getFeatureInventory(requestParameters, options) {
802
+ return localVarFp.getFeatureInventory(requestParameters.marketplaceId, requestParameters.featureName, requestParameters.nextToken, requestParameters.queryStartDate, options).then((request) => request(axios, basePath));
803
+ },
804
+ /**
805
+ * Returns the number of items with the `sellerSku` you specify that can have orders fulfilled using the specified feature. Note that if the `sellerSku` isn\'t eligible, the response will contain an empty `skuInfo` object. The parameters for this operation may contain special characters that require URL encoding. To avoid errors with SKUs when encoding URLs, refer to [URL Encoding](https://developer-docs.amazon.com/sp-api/docs/url-encoding). **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | 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 see higher rate and burst values than those shown here. For more information, see [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).
806
+ * @param {FulfillmentOutboundApiGetFeatureSKURequest} requestParameters Request parameters.
807
+ * @param {*} [options] Override http request option.
808
+ * @throws {RequiredError}
809
+ */
810
+ getFeatureSKU(requestParameters, options) {
811
+ return localVarFp.getFeatureSKU(requestParameters.marketplaceId, requestParameters.featureName, requestParameters.sellerSku, options).then((request) => request(axios, basePath));
812
+ },
813
+ /**
814
+ * Returns a list of features available for Multi-Channel Fulfillment orders in the marketplace you specify, and whether the seller for which you made the call is enrolled for each feature. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | 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 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).
815
+ * @param {FulfillmentOutboundApiGetFeaturesRequest} requestParameters Request parameters.
816
+ * @param {*} [options] Override http request option.
817
+ * @throws {RequiredError}
818
+ */
819
+ getFeatures(requestParameters, options) {
820
+ return localVarFp.getFeatures(requestParameters.marketplaceId, options).then((request) => request(axios, basePath));
821
+ },
822
+ /**
823
+ * Returns the fulfillment order indicated by the specified order identifier. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | 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 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).
824
+ * @param {FulfillmentOutboundApiGetFulfillmentOrderRequest} requestParameters Request parameters.
825
+ * @param {*} [options] Override http request option.
826
+ * @throws {RequiredError}
827
+ */
828
+ getFulfillmentOrder(requestParameters, options) {
829
+ return localVarFp.getFulfillmentOrder(requestParameters.sellerFulfillmentOrderId, options).then((request) => request(axios, basePath));
830
+ },
831
+ /**
832
+ * Returns a list of fulfillment order previews based on shipping criteria that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | 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 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).
833
+ * @param {FulfillmentOutboundApiGetFulfillmentPreviewRequest} requestParameters Request parameters.
834
+ * @param {*} [options] Override http request option.
835
+ * @throws {RequiredError}
836
+ */
837
+ getFulfillmentPreview(requestParameters, options) {
838
+ return localVarFp.getFulfillmentPreview(requestParameters.body, options).then((request) => request(axios, basePath));
839
+ },
840
+ /**
841
+ * Returns delivery tracking information for a package in an outbound shipment for a Multi-Channel Fulfillment order. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | 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 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).
842
+ * @param {FulfillmentOutboundApiGetPackageTrackingDetailsRequest} requestParameters Request parameters.
843
+ * @param {*} [options] Override http request option.
844
+ * @throws {RequiredError}
845
+ */
846
+ getPackageTrackingDetails(requestParameters, options) {
847
+ return localVarFp.getPackageTrackingDetails(requestParameters.packageNumber, options).then((request) => request(axios, basePath));
848
+ },
849
+ /**
850
+ * Returns a list of fulfillment orders fulfilled after (or at) a specified date-time, or indicated by the `nextToken` parameter. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | 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 see higher rate and burst values than those shown here. For more information, see [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)
851
+ * @param {FulfillmentOutboundApiListAllFulfillmentOrdersRequest} requestParameters Request parameters.
852
+ * @param {*} [options] Override http request option.
853
+ * @throws {RequiredError}
854
+ */
855
+ listAllFulfillmentOrders(requestParameters = {}, options) {
856
+ return localVarFp.listAllFulfillmentOrders(requestParameters.queryStartDate, requestParameters.nextToken, options).then((request) => request(axios, basePath));
857
+ },
858
+ /**
859
+ * Returns a list of return reason codes for a seller SKU in a given marketplace. The parameters for this operation may contain special characters that require URL encoding. To avoid errors with SKUs when encoding URLs, refer to [URL Encoding](https://developer-docs.amazon.com/sp-api/docs/url-encoding). **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | 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 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).
860
+ * @param {FulfillmentOutboundApiListReturnReasonCodesRequest} requestParameters Request parameters.
861
+ * @param {*} [options] Override http request option.
862
+ * @throws {RequiredError}
863
+ */
864
+ listReturnReasonCodes(requestParameters, options) {
865
+ return localVarFp.listReturnReasonCodes(requestParameters.sellerSku, requestParameters.marketplaceId, requestParameters.sellerFulfillmentOrderId, requestParameters.language, options).then((request) => request(axios, basePath));
866
+ },
867
+ /**
868
+ * Requests that Amazon update the status of an order in the sandbox testing environment. This is a sandbox-only operation and must be directed to a sandbox endpoint. Refer to [Fulfillment Outbound Dynamic Sandbox Guide](https://developer-docs.amazon.com/sp-api/docs/fulfillment-outbound-dynamic-sandbox-guide) and [Selling Partner API sandbox](https://developer-docs.amazon.com/sp-api/docs/the-selling-partner-api-sandbox) for more information.
869
+ * @param {FulfillmentOutboundApiSubmitFulfillmentOrderStatusUpdateRequest} requestParameters Request parameters.
870
+ * @param {*} [options] Override http request option.
871
+ * @throws {RequiredError}
872
+ */
873
+ submitFulfillmentOrderStatusUpdate(requestParameters, options) {
874
+ return localVarFp.submitFulfillmentOrderStatusUpdate(requestParameters.sellerFulfillmentOrderId, requestParameters.body, options).then((request) => request(axios, basePath));
875
+ },
876
+ /**
877
+ * Updates and/or requests shipment for a fulfillment order with an order hold on it. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | 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 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).
878
+ * @param {FulfillmentOutboundApiUpdateFulfillmentOrderRequest} requestParameters Request parameters.
879
+ * @param {*} [options] Override http request option.
880
+ * @throws {RequiredError}
881
+ */
882
+ updateFulfillmentOrder(requestParameters, options) {
883
+ return localVarFp.updateFulfillmentOrder(requestParameters.sellerFulfillmentOrderId, requestParameters.body, options).then((request) => request(axios, basePath));
884
+ }
885
+ };
834
886
  };
887
+ /**
888
+ * FulfillmentOutboundApi - object-oriented interface
889
+ */
835
890
  var FulfillmentOutboundApi = class extends BaseAPI {
836
- /**
837
- * Requests that Amazon stop attempting to fulfill the fulfillment order indicated by the specified order identifier. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | 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 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).
838
- * @param {FulfillmentOutboundApiCancelFulfillmentOrderRequest} requestParameters Request parameters.
839
- * @param {*} [options] Override http request option.
840
- * @throws {RequiredError}
841
- */
842
- cancelFulfillmentOrder(requestParameters, options) {
843
- return FulfillmentOutboundApiFp(this.configuration).cancelFulfillmentOrder(requestParameters.sellerFulfillmentOrderId, options).then((request) => request(this.axios, this.basePath));
844
- }
845
- /**
846
- * Requests that Amazon ship items from the seller\'s inventory in Amazon\'s fulfillment network to a destination address. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | 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 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)
847
- * @param {FulfillmentOutboundApiCreateFulfillmentOrderRequest} requestParameters Request parameters.
848
- * @param {*} [options] Override http request option.
849
- * @throws {RequiredError}
850
- */
851
- createFulfillmentOrder(requestParameters, options) {
852
- return FulfillmentOutboundApiFp(this.configuration).createFulfillmentOrder(requestParameters.body, options).then((request) => request(this.axios, this.basePath));
853
- }
854
- /**
855
- * Creates a fulfillment return. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | 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 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).
856
- * @param {FulfillmentOutboundApiCreateFulfillmentReturnRequest} requestParameters Request parameters.
857
- * @param {*} [options] Override http request option.
858
- * @throws {RequiredError}
859
- */
860
- createFulfillmentReturn(requestParameters, options) {
861
- return FulfillmentOutboundApiFp(this.configuration).createFulfillmentReturn(requestParameters.sellerFulfillmentOrderId, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
862
- }
863
- /**
864
- * Returns delivery options that include an estimated delivery date and offer expiration, based on criteria that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 30 | 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 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).
865
- * @param {FulfillmentOutboundApiDeliveryOffersRequest} requestParameters Request parameters.
866
- * @param {*} [options] Override http request option.
867
- * @throws {RequiredError}
868
- */
869
- deliveryOffers(requestParameters, options) {
870
- return FulfillmentOutboundApiFp(this.configuration).deliveryOffers(requestParameters.body, options).then((request) => request(this.axios, this.basePath));
871
- }
872
- /**
873
- * Returns a list of inventory items that are eligible for the fulfillment feature you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | 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 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).
874
- * @param {FulfillmentOutboundApiGetFeatureInventoryRequest} requestParameters Request parameters.
875
- * @param {*} [options] Override http request option.
876
- * @throws {RequiredError}
877
- */
878
- getFeatureInventory(requestParameters, options) {
879
- return FulfillmentOutboundApiFp(this.configuration).getFeatureInventory(requestParameters.marketplaceId, requestParameters.featureName, requestParameters.nextToken, requestParameters.queryStartDate, options).then((request) => request(this.axios, this.basePath));
880
- }
881
- /**
882
- * Returns the number of items with the `sellerSku` you specify that can have orders fulfilled using the specified feature. Note that if the `sellerSku` isn\'t eligible, the response will contain an empty `skuInfo` object. The parameters for this operation may contain special characters that require URL encoding. To avoid errors with SKUs when encoding URLs, refer to [URL Encoding](https://developer-docs.amazon.com/sp-api/docs/url-encoding). **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | 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 see higher rate and burst values than those shown here. For more information, see [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).
883
- * @param {FulfillmentOutboundApiGetFeatureSKURequest} requestParameters Request parameters.
884
- * @param {*} [options] Override http request option.
885
- * @throws {RequiredError}
886
- */
887
- getFeatureSKU(requestParameters, options) {
888
- return FulfillmentOutboundApiFp(this.configuration).getFeatureSKU(requestParameters.marketplaceId, requestParameters.featureName, requestParameters.sellerSku, options).then((request) => request(this.axios, this.basePath));
889
- }
890
- /**
891
- * Returns a list of features available for Multi-Channel Fulfillment orders in the marketplace you specify, and whether the seller for which you made the call is enrolled for each feature. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | 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 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).
892
- * @param {FulfillmentOutboundApiGetFeaturesRequest} requestParameters Request parameters.
893
- * @param {*} [options] Override http request option.
894
- * @throws {RequiredError}
895
- */
896
- getFeatures(requestParameters, options) {
897
- return FulfillmentOutboundApiFp(this.configuration).getFeatures(requestParameters.marketplaceId, options).then((request) => request(this.axios, this.basePath));
898
- }
899
- /**
900
- * Returns the fulfillment order indicated by the specified order identifier. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | 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 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 {FulfillmentOutboundApiGetFulfillmentOrderRequest} requestParameters Request parameters.
902
- * @param {*} [options] Override http request option.
903
- * @throws {RequiredError}
904
- */
905
- getFulfillmentOrder(requestParameters, options) {
906
- return FulfillmentOutboundApiFp(this.configuration).getFulfillmentOrder(requestParameters.sellerFulfillmentOrderId, options).then((request) => request(this.axios, this.basePath));
907
- }
908
- /**
909
- * Returns a list of fulfillment order previews based on shipping criteria that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | 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 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).
910
- * @param {FulfillmentOutboundApiGetFulfillmentPreviewRequest} requestParameters Request parameters.
911
- * @param {*} [options] Override http request option.
912
- * @throws {RequiredError}
913
- */
914
- getFulfillmentPreview(requestParameters, options) {
915
- return FulfillmentOutboundApiFp(this.configuration).getFulfillmentPreview(requestParameters.body, options).then((request) => request(this.axios, this.basePath));
916
- }
917
- /**
918
- * Returns delivery tracking information for a package in an outbound shipment for a Multi-Channel Fulfillment order. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | 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 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).
919
- * @param {FulfillmentOutboundApiGetPackageTrackingDetailsRequest} requestParameters Request parameters.
920
- * @param {*} [options] Override http request option.
921
- * @throws {RequiredError}
922
- */
923
- getPackageTrackingDetails(requestParameters, options) {
924
- return FulfillmentOutboundApiFp(this.configuration).getPackageTrackingDetails(requestParameters.packageNumber, options).then((request) => request(this.axios, this.basePath));
925
- }
926
- /**
927
- * Returns a list of fulfillment orders fulfilled after (or at) a specified date-time, or indicated by the `nextToken` parameter. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | 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 see higher rate and burst values than those shown here. For more information, see [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)
928
- * @param {FulfillmentOutboundApiListAllFulfillmentOrdersRequest} requestParameters Request parameters.
929
- * @param {*} [options] Override http request option.
930
- * @throws {RequiredError}
931
- */
932
- listAllFulfillmentOrders(requestParameters = {}, options) {
933
- return FulfillmentOutboundApiFp(this.configuration).listAllFulfillmentOrders(requestParameters.queryStartDate, requestParameters.nextToken, options).then((request) => request(this.axios, this.basePath));
934
- }
935
- /**
936
- * Returns a list of return reason codes for a seller SKU in a given marketplace. The parameters for this operation may contain special characters that require URL encoding. To avoid errors with SKUs when encoding URLs, refer to [URL Encoding](https://developer-docs.amazon.com/sp-api/docs/url-encoding). **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | 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 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 {FulfillmentOutboundApiListReturnReasonCodesRequest} requestParameters Request parameters.
938
- * @param {*} [options] Override http request option.
939
- * @throws {RequiredError}
940
- */
941
- listReturnReasonCodes(requestParameters, options) {
942
- return FulfillmentOutboundApiFp(this.configuration).listReturnReasonCodes(requestParameters.sellerSku, requestParameters.marketplaceId, requestParameters.sellerFulfillmentOrderId, requestParameters.language, options).then((request) => request(this.axios, this.basePath));
943
- }
944
- /**
945
- * Requests that Amazon update the status of an order in the sandbox testing environment. This is a sandbox-only operation and must be directed to a sandbox endpoint. Refer to [Fulfillment Outbound Dynamic Sandbox Guide](https://developer-docs.amazon.com/sp-api/docs/fulfillment-outbound-dynamic-sandbox-guide) and [Selling Partner API sandbox](https://developer-docs.amazon.com/sp-api/docs/the-selling-partner-api-sandbox) for more information.
946
- * @param {FulfillmentOutboundApiSubmitFulfillmentOrderStatusUpdateRequest} requestParameters Request parameters.
947
- * @param {*} [options] Override http request option.
948
- * @throws {RequiredError}
949
- */
950
- submitFulfillmentOrderStatusUpdate(requestParameters, options) {
951
- return FulfillmentOutboundApiFp(this.configuration).submitFulfillmentOrderStatusUpdate(requestParameters.sellerFulfillmentOrderId, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
952
- }
953
- /**
954
- * Updates and/or requests shipment for a fulfillment order with an order hold on it. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | 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 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).
955
- * @param {FulfillmentOutboundApiUpdateFulfillmentOrderRequest} requestParameters Request parameters.
956
- * @param {*} [options] Override http request option.
957
- * @throws {RequiredError}
958
- */
959
- updateFulfillmentOrder(requestParameters, options) {
960
- return FulfillmentOutboundApiFp(this.configuration).updateFulfillmentOrder(requestParameters.sellerFulfillmentOrderId, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
961
- }
891
+ /**
892
+ * Requests that Amazon stop attempting to fulfill the fulfillment order indicated by the specified order identifier. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | 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 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).
893
+ * @param {FulfillmentOutboundApiCancelFulfillmentOrderRequest} requestParameters Request parameters.
894
+ * @param {*} [options] Override http request option.
895
+ * @throws {RequiredError}
896
+ */
897
+ cancelFulfillmentOrder(requestParameters, options) {
898
+ return FulfillmentOutboundApiFp(this.configuration).cancelFulfillmentOrder(requestParameters.sellerFulfillmentOrderId, options).then((request) => request(this.axios, this.basePath));
899
+ }
900
+ /**
901
+ * Requests that Amazon ship items from the seller\'s inventory in Amazon\'s fulfillment network to a destination address. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | 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 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)
902
+ * @param {FulfillmentOutboundApiCreateFulfillmentOrderRequest} requestParameters Request parameters.
903
+ * @param {*} [options] Override http request option.
904
+ * @throws {RequiredError}
905
+ */
906
+ createFulfillmentOrder(requestParameters, options) {
907
+ return FulfillmentOutboundApiFp(this.configuration).createFulfillmentOrder(requestParameters.body, options).then((request) => request(this.axios, this.basePath));
908
+ }
909
+ /**
910
+ * Creates a fulfillment return. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | 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 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).
911
+ * @param {FulfillmentOutboundApiCreateFulfillmentReturnRequest} requestParameters Request parameters.
912
+ * @param {*} [options] Override http request option.
913
+ * @throws {RequiredError}
914
+ */
915
+ createFulfillmentReturn(requestParameters, options) {
916
+ return FulfillmentOutboundApiFp(this.configuration).createFulfillmentReturn(requestParameters.sellerFulfillmentOrderId, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
917
+ }
918
+ /**
919
+ * Returns delivery options that include an estimated delivery date and offer expiration, based on criteria that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 30 | 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 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).
920
+ * @param {FulfillmentOutboundApiDeliveryOffersRequest} requestParameters Request parameters.
921
+ * @param {*} [options] Override http request option.
922
+ * @throws {RequiredError}
923
+ */
924
+ deliveryOffers(requestParameters, options) {
925
+ return FulfillmentOutboundApiFp(this.configuration).deliveryOffers(requestParameters.body, options).then((request) => request(this.axios, this.basePath));
926
+ }
927
+ /**
928
+ * Returns a list of inventory items that are eligible for the fulfillment feature you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | 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 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).
929
+ * @param {FulfillmentOutboundApiGetFeatureInventoryRequest} requestParameters Request parameters.
930
+ * @param {*} [options] Override http request option.
931
+ * @throws {RequiredError}
932
+ */
933
+ getFeatureInventory(requestParameters, options) {
934
+ return FulfillmentOutboundApiFp(this.configuration).getFeatureInventory(requestParameters.marketplaceId, requestParameters.featureName, requestParameters.nextToken, requestParameters.queryStartDate, options).then((request) => request(this.axios, this.basePath));
935
+ }
936
+ /**
937
+ * Returns the number of items with the `sellerSku` you specify that can have orders fulfilled using the specified feature. Note that if the `sellerSku` isn\'t eligible, the response will contain an empty `skuInfo` object. The parameters for this operation may contain special characters that require URL encoding. To avoid errors with SKUs when encoding URLs, refer to [URL Encoding](https://developer-docs.amazon.com/sp-api/docs/url-encoding). **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | 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 see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
938
+ * @param {FulfillmentOutboundApiGetFeatureSKURequest} requestParameters Request parameters.
939
+ * @param {*} [options] Override http request option.
940
+ * @throws {RequiredError}
941
+ */
942
+ getFeatureSKU(requestParameters, options) {
943
+ return FulfillmentOutboundApiFp(this.configuration).getFeatureSKU(requestParameters.marketplaceId, requestParameters.featureName, requestParameters.sellerSku, options).then((request) => request(this.axios, this.basePath));
944
+ }
945
+ /**
946
+ * Returns a list of features available for Multi-Channel Fulfillment orders in the marketplace you specify, and whether the seller for which you made the call is enrolled for each feature. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | 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 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).
947
+ * @param {FulfillmentOutboundApiGetFeaturesRequest} requestParameters Request parameters.
948
+ * @param {*} [options] Override http request option.
949
+ * @throws {RequiredError}
950
+ */
951
+ getFeatures(requestParameters, options) {
952
+ return FulfillmentOutboundApiFp(this.configuration).getFeatures(requestParameters.marketplaceId, options).then((request) => request(this.axios, this.basePath));
953
+ }
954
+ /**
955
+ * Returns the fulfillment order indicated by the specified order identifier. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | 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 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).
956
+ * @param {FulfillmentOutboundApiGetFulfillmentOrderRequest} requestParameters Request parameters.
957
+ * @param {*} [options] Override http request option.
958
+ * @throws {RequiredError}
959
+ */
960
+ getFulfillmentOrder(requestParameters, options) {
961
+ return FulfillmentOutboundApiFp(this.configuration).getFulfillmentOrder(requestParameters.sellerFulfillmentOrderId, options).then((request) => request(this.axios, this.basePath));
962
+ }
963
+ /**
964
+ * Returns a list of fulfillment order previews based on shipping criteria that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | 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 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).
965
+ * @param {FulfillmentOutboundApiGetFulfillmentPreviewRequest} requestParameters Request parameters.
966
+ * @param {*} [options] Override http request option.
967
+ * @throws {RequiredError}
968
+ */
969
+ getFulfillmentPreview(requestParameters, options) {
970
+ return FulfillmentOutboundApiFp(this.configuration).getFulfillmentPreview(requestParameters.body, options).then((request) => request(this.axios, this.basePath));
971
+ }
972
+ /**
973
+ * Returns delivery tracking information for a package in an outbound shipment for a Multi-Channel Fulfillment order. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | 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 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).
974
+ * @param {FulfillmentOutboundApiGetPackageTrackingDetailsRequest} requestParameters Request parameters.
975
+ * @param {*} [options] Override http request option.
976
+ * @throws {RequiredError}
977
+ */
978
+ getPackageTrackingDetails(requestParameters, options) {
979
+ return FulfillmentOutboundApiFp(this.configuration).getPackageTrackingDetails(requestParameters.packageNumber, options).then((request) => request(this.axios, this.basePath));
980
+ }
981
+ /**
982
+ * Returns a list of fulfillment orders fulfilled after (or at) a specified date-time, or indicated by the `nextToken` parameter. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | 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 see higher rate and burst values than those shown here. For more information, see [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)
983
+ * @param {FulfillmentOutboundApiListAllFulfillmentOrdersRequest} requestParameters Request parameters.
984
+ * @param {*} [options] Override http request option.
985
+ * @throws {RequiredError}
986
+ */
987
+ listAllFulfillmentOrders(requestParameters = {}, options) {
988
+ return FulfillmentOutboundApiFp(this.configuration).listAllFulfillmentOrders(requestParameters.queryStartDate, requestParameters.nextToken, options).then((request) => request(this.axios, this.basePath));
989
+ }
990
+ /**
991
+ * Returns a list of return reason codes for a seller SKU in a given marketplace. The parameters for this operation may contain special characters that require URL encoding. To avoid errors with SKUs when encoding URLs, refer to [URL Encoding](https://developer-docs.amazon.com/sp-api/docs/url-encoding). **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | 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 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).
992
+ * @param {FulfillmentOutboundApiListReturnReasonCodesRequest} requestParameters Request parameters.
993
+ * @param {*} [options] Override http request option.
994
+ * @throws {RequiredError}
995
+ */
996
+ listReturnReasonCodes(requestParameters, options) {
997
+ return FulfillmentOutboundApiFp(this.configuration).listReturnReasonCodes(requestParameters.sellerSku, requestParameters.marketplaceId, requestParameters.sellerFulfillmentOrderId, requestParameters.language, options).then((request) => request(this.axios, this.basePath));
998
+ }
999
+ /**
1000
+ * Requests that Amazon update the status of an order in the sandbox testing environment. This is a sandbox-only operation and must be directed to a sandbox endpoint. Refer to [Fulfillment Outbound Dynamic Sandbox Guide](https://developer-docs.amazon.com/sp-api/docs/fulfillment-outbound-dynamic-sandbox-guide) and [Selling Partner API sandbox](https://developer-docs.amazon.com/sp-api/docs/the-selling-partner-api-sandbox) for more information.
1001
+ * @param {FulfillmentOutboundApiSubmitFulfillmentOrderStatusUpdateRequest} requestParameters Request parameters.
1002
+ * @param {*} [options] Override http request option.
1003
+ * @throws {RequiredError}
1004
+ */
1005
+ submitFulfillmentOrderStatusUpdate(requestParameters, options) {
1006
+ return FulfillmentOutboundApiFp(this.configuration).submitFulfillmentOrderStatusUpdate(requestParameters.sellerFulfillmentOrderId, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
1007
+ }
1008
+ /**
1009
+ * Updates and/or requests shipment for a fulfillment order with an order hold on it. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 30 | 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 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).
1010
+ * @param {FulfillmentOutboundApiUpdateFulfillmentOrderRequest} requestParameters Request parameters.
1011
+ * @param {*} [options] Override http request option.
1012
+ * @throws {RequiredError}
1013
+ */
1014
+ updateFulfillmentOrder(requestParameters, options) {
1015
+ return FulfillmentOutboundApiFp(this.configuration).updateFulfillmentOrder(requestParameters.sellerFulfillmentOrderId, requestParameters.body, options).then((request) => request(this.axios, this.basePath));
1016
+ }
962
1017
  };
963
-
964
- // src/api-model/configuration.ts
1018
+ //#endregion
1019
+ //#region src/api-model/configuration.ts
965
1020
  var Configuration = class {
966
- /**
967
- * parameter for apiKey security
968
- * @param name security name
969
- */
970
- apiKey;
971
- /**
972
- * parameter for basic security
973
- */
974
- username;
975
- /**
976
- * parameter for basic security
977
- */
978
- password;
979
- /**
980
- * parameter for oauth2 security
981
- * @param name security name
982
- * @param scopes oauth2 scope
983
- */
984
- accessToken;
985
- /**
986
- * parameter for aws4 signature security
987
- * @param {Object} AWS4Signature - AWS4 Signature security
988
- * @param {string} options.region - aws region
989
- * @param {string} options.service - name of the service.
990
- * @param {string} credentials.accessKeyId - aws access key id
991
- * @param {string} credentials.secretAccessKey - aws access key
992
- * @param {string} credentials.sessionToken - aws session token
993
- * @memberof Configuration
994
- */
995
- awsv4;
996
- /**
997
- * override base path
998
- */
999
- basePath;
1000
- /**
1001
- * override server index
1002
- */
1003
- serverIndex;
1004
- /**
1005
- * base options for axios calls
1006
- */
1007
- baseOptions;
1008
- /**
1009
- * The FormData constructor that will be used to create multipart form data
1010
- * requests. You can inject this here so that execution environments that
1011
- * do not support the FormData class can still run the generated client.
1012
- *
1013
- * @type {new () => FormData}
1014
- */
1015
- formDataCtor;
1016
- constructor(param = {}) {
1017
- this.apiKey = param.apiKey;
1018
- this.username = param.username;
1019
- this.password = param.password;
1020
- this.accessToken = param.accessToken;
1021
- this.awsv4 = param.awsv4;
1022
- this.basePath = param.basePath;
1023
- this.serverIndex = param.serverIndex;
1024
- this.baseOptions = {
1025
- ...param.baseOptions,
1026
- headers: {
1027
- ...param.baseOptions?.headers
1028
- }
1029
- };
1030
- this.formDataCtor = param.formDataCtor;
1031
- }
1032
- /**
1033
- * Check if the given MIME is a JSON MIME.
1034
- * JSON MIME examples:
1035
- * application/json
1036
- * application/json; charset=UTF8
1037
- * APPLICATION/JSON
1038
- * application/vnd.company+json
1039
- * @param mime - MIME (Multipurpose Internet Mail Extensions)
1040
- * @return True if the given MIME is JSON, false otherwise.
1041
- */
1042
- isJsonMime(mime) {
1043
- const jsonMime = /^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$/i;
1044
- return mime !== null && jsonMime.test(mime);
1045
- }
1021
+ /**
1022
+ * parameter for apiKey security
1023
+ * @param name security name
1024
+ */
1025
+ apiKey;
1026
+ /**
1027
+ * parameter for basic security
1028
+ */
1029
+ username;
1030
+ /**
1031
+ * parameter for basic security
1032
+ */
1033
+ password;
1034
+ /**
1035
+ * parameter for oauth2 security
1036
+ * @param name security name
1037
+ * @param scopes oauth2 scope
1038
+ */
1039
+ accessToken;
1040
+ /**
1041
+ * parameter for aws4 signature security
1042
+ * @param {Object} AWS4Signature - AWS4 Signature security
1043
+ * @param {string} options.region - aws region
1044
+ * @param {string} options.service - name of the service.
1045
+ * @param {string} credentials.accessKeyId - aws access key id
1046
+ * @param {string} credentials.secretAccessKey - aws access key
1047
+ * @param {string} credentials.sessionToken - aws session token
1048
+ * @memberof Configuration
1049
+ */
1050
+ awsv4;
1051
+ /**
1052
+ * override base path
1053
+ */
1054
+ basePath;
1055
+ /**
1056
+ * override server index
1057
+ */
1058
+ serverIndex;
1059
+ /**
1060
+ * base options for axios calls
1061
+ */
1062
+ baseOptions;
1063
+ /**
1064
+ * The FormData constructor that will be used to create multipart form data
1065
+ * requests. You can inject this here so that execution environments that
1066
+ * do not support the FormData class can still run the generated client.
1067
+ *
1068
+ * @type {new () => FormData}
1069
+ */
1070
+ formDataCtor;
1071
+ constructor(param = {}) {
1072
+ this.apiKey = param.apiKey;
1073
+ this.username = param.username;
1074
+ this.password = param.password;
1075
+ this.accessToken = param.accessToken;
1076
+ this.awsv4 = param.awsv4;
1077
+ this.basePath = param.basePath;
1078
+ this.serverIndex = param.serverIndex;
1079
+ this.baseOptions = {
1080
+ ...param.baseOptions,
1081
+ headers: { ...param.baseOptions?.headers }
1082
+ };
1083
+ this.formDataCtor = param.formDataCtor;
1084
+ }
1085
+ /**
1086
+ * Check if the given MIME is a JSON MIME.
1087
+ * JSON MIME examples:
1088
+ * application/json
1089
+ * application/json; charset=UTF8
1090
+ * APPLICATION/JSON
1091
+ * application/vnd.company+json
1092
+ * @param mime - MIME (Multipurpose Internet Mail Extensions)
1093
+ * @return True if the given MIME is JSON, false otherwise.
1094
+ */
1095
+ isJsonMime(mime) {
1096
+ return mime !== null && /^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$/i.test(mime);
1097
+ }
1046
1098
  };
1047
-
1048
- // src/api-model/models/additional-location-info.ts
1049
- var AdditionalLocationInfo = {
1050
- AsInstructed: "AS_INSTRUCTED",
1051
- Carport: "CARPORT",
1052
- CustomerPickup: "CUSTOMER_PICKUP",
1053
- Deck: "DECK",
1054
- DoorPerson: "DOOR_PERSON",
1055
- FrontDesk: "FRONT_DESK",
1056
- FrontDoor: "FRONT_DOOR",
1057
- Garage: "GARAGE",
1058
- Guard: "GUARD",
1059
- MailRoom: "MAIL_ROOM",
1060
- MailSlot: "MAIL_SLOT",
1061
- Mailbox: "MAILBOX",
1062
- McBoy: "MC_BOY",
1063
- McGirl: "MC_GIRL",
1064
- McMan: "MC_MAN",
1065
- McWoman: "MC_WOMAN",
1066
- Neighbor: "NEIGHBOR",
1067
- Office: "OFFICE",
1068
- Outbuilding: "OUTBUILDING",
1069
- Patio: "PATIO",
1070
- Porch: "PORCH",
1071
- RearDoor: "REAR_DOOR",
1072
- Receptionist: "RECEPTIONIST",
1073
- Receiver: "RECEIVER",
1074
- SecureLocation: "SECURE_LOCATION",
1075
- SideDoor: "SIDE_DOOR"
1099
+ //#endregion
1100
+ //#region src/api-model/models/additional-location-info.ts
1101
+ /**
1102
+ * Selling Partner APIs for Fulfillment Outbound
1103
+ * The Selling Partner API for Fulfillment Outbound lets you create applications that help a seller fulfill Multi-Channel Fulfillment orders using their inventory in Amazon\'s fulfillment network. You can get information on both potential and existing fulfillment orders.
1104
+ *
1105
+ * The version of the OpenAPI document: 2020-07-01
1106
+ *
1107
+ *
1108
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1109
+ * https://openapi-generator.tech
1110
+ * Do not edit the class manually.
1111
+ */
1112
+ /**
1113
+ * Additional location information.
1114
+ */
1115
+ const AdditionalLocationInfo = {
1116
+ AsInstructed: "AS_INSTRUCTED",
1117
+ Carport: "CARPORT",
1118
+ CustomerPickup: "CUSTOMER_PICKUP",
1119
+ Deck: "DECK",
1120
+ DoorPerson: "DOOR_PERSON",
1121
+ FrontDesk: "FRONT_DESK",
1122
+ FrontDoor: "FRONT_DOOR",
1123
+ Garage: "GARAGE",
1124
+ Guard: "GUARD",
1125
+ MailRoom: "MAIL_ROOM",
1126
+ MailSlot: "MAIL_SLOT",
1127
+ Mailbox: "MAILBOX",
1128
+ McBoy: "MC_BOY",
1129
+ McGirl: "MC_GIRL",
1130
+ McMan: "MC_MAN",
1131
+ McWoman: "MC_WOMAN",
1132
+ Neighbor: "NEIGHBOR",
1133
+ Office: "OFFICE",
1134
+ Outbuilding: "OUTBUILDING",
1135
+ Patio: "PATIO",
1136
+ Porch: "PORCH",
1137
+ RearDoor: "REAR_DOOR",
1138
+ Receptionist: "RECEPTIONIST",
1139
+ Receiver: "RECEIVER",
1140
+ SecureLocation: "SECURE_LOCATION",
1141
+ SideDoor: "SIDE_DOOR"
1076
1142
  };
1077
-
1078
- // src/api-model/models/amount.ts
1079
- var AmountUnitOfMeasureEnum = {
1080
- Eaches: "Eaches"
1143
+ //#endregion
1144
+ //#region src/api-model/models/amount.ts
1145
+ const AmountUnitOfMeasureEnum = { Eaches: "Eaches" };
1146
+ //#endregion
1147
+ //#region src/api-model/models/current-status.ts
1148
+ /**
1149
+ * Selling Partner APIs for Fulfillment Outbound
1150
+ * The Selling Partner API for Fulfillment Outbound lets you create applications that help a seller fulfill Multi-Channel Fulfillment orders using their inventory in Amazon\'s fulfillment network. You can get information on both potential and existing fulfillment orders.
1151
+ *
1152
+ * The version of the OpenAPI document: 2020-07-01
1153
+ *
1154
+ *
1155
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1156
+ * https://openapi-generator.tech
1157
+ * Do not edit the class manually.
1158
+ */
1159
+ /**
1160
+ * The current delivery status of the package.
1161
+ */
1162
+ const CurrentStatus = {
1163
+ InTransit: "IN_TRANSIT",
1164
+ Delivered: "DELIVERED",
1165
+ Returning: "RETURNING",
1166
+ Returned: "RETURNED",
1167
+ Undeliverable: "UNDELIVERABLE",
1168
+ Delayed: "DELAYED",
1169
+ AvailableForPickup: "AVAILABLE_FOR_PICKUP",
1170
+ CustomerAction: "CUSTOMER_ACTION",
1171
+ Unknown: "UNKNOWN",
1172
+ OutForDelivery: "OUT_FOR_DELIVERY",
1173
+ DeliveryAttempted: "DELIVERY_ATTEMPTED",
1174
+ PickupSuccessful: "PICKUP_SUCCESSFUL",
1175
+ PickupCancelled: "PICKUP_CANCELLED",
1176
+ PickupAttempted: "PICKUP_ATTEMPTED",
1177
+ PickupScheduled: "PICKUP_SCHEDULED",
1178
+ ReturnRequestAccepted: "RETURN_REQUEST_ACCEPTED",
1179
+ RefundIssued: "REFUND_ISSUED",
1180
+ ReturnReceivedInFc: "RETURN_RECEIVED_IN_FC"
1081
1181
  };
1082
-
1083
- // src/api-model/models/current-status.ts
1084
- var CurrentStatus = {
1085
- InTransit: "IN_TRANSIT",
1086
- Delivered: "DELIVERED",
1087
- Returning: "RETURNING",
1088
- Returned: "RETURNED",
1089
- Undeliverable: "UNDELIVERABLE",
1090
- Delayed: "DELAYED",
1091
- AvailableForPickup: "AVAILABLE_FOR_PICKUP",
1092
- CustomerAction: "CUSTOMER_ACTION",
1093
- Unknown: "UNKNOWN",
1094
- OutForDelivery: "OUT_FOR_DELIVERY",
1095
- DeliveryAttempted: "DELIVERY_ATTEMPTED",
1096
- PickupSuccessful: "PICKUP_SUCCESSFUL",
1097
- PickupCancelled: "PICKUP_CANCELLED",
1098
- PickupAttempted: "PICKUP_ATTEMPTED",
1099
- PickupScheduled: "PICKUP_SCHEDULED",
1100
- ReturnRequestAccepted: "RETURN_REQUEST_ACCEPTED",
1101
- RefundIssued: "REFUND_ISSUED",
1102
- ReturnReceivedInFc: "RETURN_RECEIVED_IN_FC"
1103
- };
1104
-
1105
- // src/api-model/models/drop-off-location.ts
1106
- var DropOffLocationTypeEnum = {
1107
- FrontDoor: "FRONT_DOOR",
1108
- DeliveryBox: "DELIVERY_BOX",
1109
- GasMeterBox: "GAS_METER_BOX",
1110
- BicycleBasket: "BICYCLE_BASKET",
1111
- Garage: "GARAGE",
1112
- Receptionist: "RECEPTIONIST",
1113
- FallbackNeighborDelivery: "FALLBACK_NEIGHBOR_DELIVERY",
1114
- DoNotLeaveUnattended: "DO_NOT_LEAVE_UNATTENDED"
1182
+ //#endregion
1183
+ //#region src/api-model/models/drop-off-location.ts
1184
+ const DropOffLocationTypeEnum = {
1185
+ FrontDoor: "FRONT_DOOR",
1186
+ DeliveryBox: "DELIVERY_BOX",
1187
+ GasMeterBox: "GAS_METER_BOX",
1188
+ BicycleBasket: "BICYCLE_BASKET",
1189
+ Garage: "GARAGE",
1190
+ Receptionist: "RECEPTIONIST",
1191
+ FallbackNeighborDelivery: "FALLBACK_NEIGHBOR_DELIVERY",
1192
+ DoNotLeaveUnattended: "DO_NOT_LEAVE_UNATTENDED"
1115
1193
  };
1116
-
1117
- // src/api-model/models/event-code.ts
1118
- var EventCode = {
1119
- Event101: "EVENT_101",
1120
- Event102: "EVENT_102",
1121
- Event201: "EVENT_201",
1122
- Event202: "EVENT_202",
1123
- Event203: "EVENT_203",
1124
- Event204: "EVENT_204",
1125
- Event205: "EVENT_205",
1126
- Event206: "EVENT_206",
1127
- Event301: "EVENT_301",
1128
- Event302: "EVENT_302",
1129
- Event304: "EVENT_304",
1130
- Event306: "EVENT_306",
1131
- Event307: "EVENT_307",
1132
- Event308: "EVENT_308",
1133
- Event309: "EVENT_309",
1134
- Event401: "EVENT_401",
1135
- Event402: "EVENT_402",
1136
- Event403: "EVENT_403",
1137
- Event404: "EVENT_404",
1138
- Event405: "EVENT_405",
1139
- Event406: "EVENT_406",
1140
- Event407: "EVENT_407",
1141
- Event408: "EVENT_408",
1142
- Event409: "EVENT_409",
1143
- Event411: "EVENT_411",
1144
- Event412: "EVENT_412",
1145
- Event413: "EVENT_413",
1146
- Event414: "EVENT_414",
1147
- Event415: "EVENT_415",
1148
- Event416: "EVENT_416",
1149
- Event417: "EVENT_417",
1150
- Event418: "EVENT_418",
1151
- Event419: "EVENT_419",
1152
- Event801: "EVENT_801",
1153
- Event804: "EVENT_804"
1194
+ //#endregion
1195
+ //#region src/api-model/models/event-code.ts
1196
+ /**
1197
+ * Selling Partner APIs for Fulfillment Outbound
1198
+ * The Selling Partner API for Fulfillment Outbound lets you create applications that help a seller fulfill Multi-Channel Fulfillment orders using their inventory in Amazon\'s fulfillment network. You can get information on both potential and existing fulfillment orders.
1199
+ *
1200
+ * The version of the OpenAPI document: 2020-07-01
1201
+ *
1202
+ *
1203
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1204
+ * https://openapi-generator.tech
1205
+ * Do not edit the class manually.
1206
+ */
1207
+ /**
1208
+ * The event code for the delivery event.
1209
+ */
1210
+ const EventCode = {
1211
+ Event101: "EVENT_101",
1212
+ Event102: "EVENT_102",
1213
+ Event201: "EVENT_201",
1214
+ Event202: "EVENT_202",
1215
+ Event203: "EVENT_203",
1216
+ Event204: "EVENT_204",
1217
+ Event205: "EVENT_205",
1218
+ Event206: "EVENT_206",
1219
+ Event301: "EVENT_301",
1220
+ Event302: "EVENT_302",
1221
+ Event304: "EVENT_304",
1222
+ Event306: "EVENT_306",
1223
+ Event307: "EVENT_307",
1224
+ Event308: "EVENT_308",
1225
+ Event309: "EVENT_309",
1226
+ Event401: "EVENT_401",
1227
+ Event402: "EVENT_402",
1228
+ Event403: "EVENT_403",
1229
+ Event404: "EVENT_404",
1230
+ Event405: "EVENT_405",
1231
+ Event406: "EVENT_406",
1232
+ Event407: "EVENT_407",
1233
+ Event408: "EVENT_408",
1234
+ Event409: "EVENT_409",
1235
+ Event411: "EVENT_411",
1236
+ Event412: "EVENT_412",
1237
+ Event413: "EVENT_413",
1238
+ Event414: "EVENT_414",
1239
+ Event415: "EVENT_415",
1240
+ Event416: "EVENT_416",
1241
+ Event417: "EVENT_417",
1242
+ Event418: "EVENT_418",
1243
+ Event419: "EVENT_419",
1244
+ Event801: "EVENT_801",
1245
+ Event804: "EVENT_804"
1154
1246
  };
1155
-
1156
- // src/api-model/models/feature-settings.ts
1157
- var FeatureSettingsFeatureFulfillmentPolicyEnum = {
1158
- Required: "Required",
1159
- NotRequired: "NotRequired"
1247
+ //#endregion
1248
+ //#region src/api-model/models/feature-settings.ts
1249
+ const FeatureSettingsFeatureFulfillmentPolicyEnum = {
1250
+ Required: "Required",
1251
+ NotRequired: "NotRequired"
1160
1252
  };
1161
-
1162
- // src/api-model/models/fee.ts
1163
- var FeeNameEnum = {
1164
- FbaPerUnitFulfillmentFee: "FBAPerUnitFulfillmentFee",
1165
- FbaPerOrderFulfillmentFee: "FBAPerOrderFulfillmentFee",
1166
- FbaTransportationFee: "FBATransportationFee",
1167
- FbaFulfillmentCodFee: "FBAFulfillmentCODFee"
1253
+ //#endregion
1254
+ //#region src/api-model/models/fee.ts
1255
+ const FeeNameEnum = {
1256
+ FbaPerUnitFulfillmentFee: "FBAPerUnitFulfillmentFee",
1257
+ FbaPerOrderFulfillmentFee: "FBAPerOrderFulfillmentFee",
1258
+ FbaTransportationFee: "FBATransportationFee",
1259
+ FbaFulfillmentCodFee: "FBAFulfillmentCODFee"
1168
1260
  };
1169
-
1170
- // src/api-model/models/fulfillment-action.ts
1171
- var FulfillmentAction = {
1172
- Ship: "Ship",
1173
- Hold: "Hold"
1261
+ //#endregion
1262
+ //#region src/api-model/models/fulfillment-action.ts
1263
+ /**
1264
+ * Selling Partner APIs for Fulfillment Outbound
1265
+ * The Selling Partner API for Fulfillment Outbound lets you create applications that help a seller fulfill Multi-Channel Fulfillment orders using their inventory in Amazon\'s fulfillment network. You can get information on both potential and existing fulfillment orders.
1266
+ *
1267
+ * The version of the OpenAPI document: 2020-07-01
1268
+ *
1269
+ *
1270
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1271
+ * https://openapi-generator.tech
1272
+ * Do not edit the class manually.
1273
+ */
1274
+ /**
1275
+ * Specifies whether the fulfillment order should ship now or have an order hold put on it.
1276
+ */
1277
+ const FulfillmentAction = {
1278
+ Ship: "Ship",
1279
+ Hold: "Hold"
1174
1280
  };
1175
-
1176
- // src/api-model/models/fulfillment-order-status.ts
1177
- var FulfillmentOrderStatus = {
1178
- New: "New",
1179
- Received: "Received",
1180
- Planning: "Planning",
1181
- Processing: "Processing",
1182
- Cancelled: "Cancelled",
1183
- Complete: "Complete",
1184
- CompletePartialled: "CompletePartialled",
1185
- Unfulfillable: "Unfulfillable",
1186
- Invalid: "Invalid"
1281
+ //#endregion
1282
+ //#region src/api-model/models/fulfillment-order-status.ts
1283
+ /**
1284
+ * Selling Partner APIs for Fulfillment Outbound
1285
+ * The Selling Partner API for Fulfillment Outbound lets you create applications that help a seller fulfill Multi-Channel Fulfillment orders using their inventory in Amazon\'s fulfillment network. You can get information on both potential and existing fulfillment orders.
1286
+ *
1287
+ * The version of the OpenAPI document: 2020-07-01
1288
+ *
1289
+ *
1290
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1291
+ * https://openapi-generator.tech
1292
+ * Do not edit the class manually.
1293
+ */
1294
+ /**
1295
+ * The current status of the fulfillment order.
1296
+ */
1297
+ const FulfillmentOrderStatus = {
1298
+ New: "New",
1299
+ Received: "Received",
1300
+ Planning: "Planning",
1301
+ Processing: "Processing",
1302
+ Cancelled: "Cancelled",
1303
+ Complete: "Complete",
1304
+ CompletePartialled: "CompletePartialled",
1305
+ Unfulfillable: "Unfulfillable",
1306
+ Invalid: "Invalid"
1187
1307
  };
1188
-
1189
- // src/api-model/models/fulfillment-policy.ts
1190
- var FulfillmentPolicy = {
1191
- FillOrKill: "FillOrKill",
1192
- FillAll: "FillAll",
1193
- FillAllAvailable: "FillAllAvailable"
1308
+ //#endregion
1309
+ //#region src/api-model/models/fulfillment-policy.ts
1310
+ /**
1311
+ * Selling Partner APIs for Fulfillment Outbound
1312
+ * The Selling Partner API for Fulfillment Outbound lets you create applications that help a seller fulfill Multi-Channel Fulfillment orders using their inventory in Amazon\'s fulfillment network. You can get information on both potential and existing fulfillment orders.
1313
+ *
1314
+ * The version of the OpenAPI document: 2020-07-01
1315
+ *
1316
+ *
1317
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1318
+ * https://openapi-generator.tech
1319
+ * Do not edit the class manually.
1320
+ */
1321
+ /**
1322
+ * The `FulfillmentPolicy` value specified when you called the `createFulfillmentOrder` operation.
1323
+ */
1324
+ const FulfillmentPolicy = {
1325
+ FillOrKill: "FillOrKill",
1326
+ FillAll: "FillAll",
1327
+ FillAllAvailable: "FillAllAvailable"
1194
1328
  };
1195
-
1196
- // src/api-model/models/fulfillment-preview-item.ts
1197
- var FulfillmentPreviewItemShippingWeightCalculationMethodEnum = {
1198
- Package: "Package",
1199
- Dimensional: "Dimensional"
1329
+ //#endregion
1330
+ //#region src/api-model/models/fulfillment-preview-item.ts
1331
+ const FulfillmentPreviewItemShippingWeightCalculationMethodEnum = {
1332
+ Package: "Package",
1333
+ Dimensional: "Dimensional"
1200
1334
  };
1201
-
1202
- // src/api-model/models/fulfillment-return-item-status.ts
1203
- var FulfillmentReturnItemStatus = {
1204
- New: "New",
1205
- Processed: "Processed"
1335
+ //#endregion
1336
+ //#region src/api-model/models/fulfillment-return-item-status.ts
1337
+ /**
1338
+ * Selling Partner APIs for Fulfillment Outbound
1339
+ * The Selling Partner API for Fulfillment Outbound lets you create applications that help a seller fulfill Multi-Channel Fulfillment orders using their inventory in Amazon\'s fulfillment network. You can get information on both potential and existing fulfillment orders.
1340
+ *
1341
+ * The version of the OpenAPI document: 2020-07-01
1342
+ *
1343
+ *
1344
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1345
+ * https://openapi-generator.tech
1346
+ * Do not edit the class manually.
1347
+ */
1348
+ /**
1349
+ * Indicates if the return item has been processed by a fulfillment center.
1350
+ */
1351
+ const FulfillmentReturnItemStatus = {
1352
+ New: "New",
1353
+ Processed: "Processed"
1206
1354
  };
1207
-
1208
- // src/api-model/models/fulfillment-shipment.ts
1209
- var FulfillmentShipmentFulfillmentShipmentStatusEnum = {
1210
- Pending: "PENDING",
1211
- Shipped: "SHIPPED",
1212
- CancelledByFulfiller: "CANCELLED_BY_FULFILLER",
1213
- CancelledBySeller: "CANCELLED_BY_SELLER"
1355
+ //#endregion
1356
+ //#region src/api-model/models/fulfillment-shipment.ts
1357
+ const FulfillmentShipmentFulfillmentShipmentStatusEnum = {
1358
+ Pending: "PENDING",
1359
+ Shipped: "SHIPPED",
1360
+ CancelledByFulfiller: "CANCELLED_BY_FULFILLER",
1361
+ CancelledBySeller: "CANCELLED_BY_SELLER"
1214
1362
  };
1215
-
1216
- // src/api-model/models/invalid-item-reason-code.ts
1217
- var InvalidItemReasonCode = {
1218
- InvalidValues: "InvalidValues",
1219
- DuplicateRequest: "DuplicateRequest",
1220
- NoCompletedShipItems: "NoCompletedShipItems",
1221
- NoReturnableQuantity: "NoReturnableQuantity"
1363
+ //#endregion
1364
+ //#region src/api-model/models/invalid-item-reason-code.ts
1365
+ /**
1366
+ * Selling Partner APIs for Fulfillment Outbound
1367
+ * The Selling Partner API for Fulfillment Outbound lets you create applications that help a seller fulfill Multi-Channel Fulfillment orders using their inventory in Amazon\'s fulfillment network. You can get information on both potential and existing fulfillment orders.
1368
+ *
1369
+ * The version of the OpenAPI document: 2020-07-01
1370
+ *
1371
+ *
1372
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1373
+ * https://openapi-generator.tech
1374
+ * Do not edit the class manually.
1375
+ */
1376
+ /**
1377
+ * A code for why the item is invalid for return.
1378
+ */
1379
+ const InvalidItemReasonCode = {
1380
+ InvalidValues: "InvalidValues",
1381
+ DuplicateRequest: "DuplicateRequest",
1382
+ NoCompletedShipItems: "NoCompletedShipItems",
1383
+ NoReturnableQuantity: "NoReturnableQuantity"
1222
1384
  };
1223
-
1224
- // src/api-model/models/return-item-disposition.ts
1225
- var ReturnItemDisposition = {
1226
- Sellable: "Sellable",
1227
- Defective: "Defective",
1228
- CustomerDamaged: "CustomerDamaged",
1229
- CarrierDamaged: "CarrierDamaged",
1230
- FulfillerDamaged: "FulfillerDamaged"
1385
+ //#endregion
1386
+ //#region src/api-model/models/return-item-disposition.ts
1387
+ /**
1388
+ * Selling Partner APIs for Fulfillment Outbound
1389
+ * The Selling Partner API for Fulfillment Outbound lets you create applications that help a seller fulfill Multi-Channel Fulfillment orders using their inventory in Amazon\'s fulfillment network. You can get information on both potential and existing fulfillment orders.
1390
+ *
1391
+ * The version of the OpenAPI document: 2020-07-01
1392
+ *
1393
+ *
1394
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1395
+ * https://openapi-generator.tech
1396
+ * Do not edit the class manually.
1397
+ */
1398
+ /**
1399
+ * The condition of the return item when received by an Amazon fulfillment center.
1400
+ */
1401
+ const ReturnItemDisposition = {
1402
+ Sellable: "Sellable",
1403
+ Defective: "Defective",
1404
+ CustomerDamaged: "CustomerDamaged",
1405
+ CarrierDamaged: "CarrierDamaged",
1406
+ FulfillerDamaged: "FulfillerDamaged"
1231
1407
  };
1232
-
1233
- // src/api-model/models/shipping-speed-category.ts
1234
- var ShippingSpeedCategory = {
1235
- Standard: "Standard",
1236
- Expedited: "Expedited",
1237
- Priority: "Priority",
1238
- ScheduledDelivery: "ScheduledDelivery"
1408
+ //#endregion
1409
+ //#region src/api-model/models/shipping-speed-category.ts
1410
+ /**
1411
+ * Selling Partner APIs for Fulfillment Outbound
1412
+ * The Selling Partner API for Fulfillment Outbound lets you create applications that help a seller fulfill Multi-Channel Fulfillment orders using their inventory in Amazon\'s fulfillment network. You can get information on both potential and existing fulfillment orders.
1413
+ *
1414
+ * The version of the OpenAPI document: 2020-07-01
1415
+ *
1416
+ *
1417
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1418
+ * https://openapi-generator.tech
1419
+ * Do not edit the class manually.
1420
+ */
1421
+ /**
1422
+ * The shipping method used for the fulfillment order. When this value is `ScheduledDelivery`, choose `Ship` for the `fulfillmentAction`. `Hold` is not a valid `fulfillmentAction` value when the `shippingSpeedCategory` value is `ScheduledDelivery`. Note: Shipping method service level agreements vary by marketplace. Sellers should refer to the [Seller Central](https://developer-docs.amazon.com/sp-api/docs/seller-central-urls) website in their marketplace for shipping method service level agreements and fulfillment fees.
1423
+ */
1424
+ const ShippingSpeedCategory = {
1425
+ Standard: "Standard",
1426
+ Expedited: "Expedited",
1427
+ Priority: "Priority",
1428
+ ScheduledDelivery: "ScheduledDelivery"
1239
1429
  };
1240
-
1241
- // src/api-model/models/weight.ts
1242
- var WeightUnitEnum = {
1243
- Kg: "KG",
1244
- Kilograms: "KILOGRAMS",
1245
- Lb: "LB",
1246
- Pounds: "POUNDS"
1430
+ //#endregion
1431
+ //#region src/api-model/models/weight.ts
1432
+ const WeightUnitEnum = {
1433
+ Kg: "KG",
1434
+ Kilograms: "KILOGRAMS",
1435
+ Lb: "LB",
1436
+ Pounds: "POUNDS"
1247
1437
  };
1248
-
1249
- // src/client.ts
1250
- var clientRateLimits = [
1251
- {
1252
- method: "post",
1253
- // eslint-disable-next-line prefer-regex-literals
1254
- urlRegex: new RegExp("^/fba/outbound/2020-07-01/fulfillmentOrders/preview$"),
1255
- rate: 2,
1256
- burst: 30
1257
- },
1258
- {
1259
- method: "post",
1260
- // eslint-disable-next-line prefer-regex-literals
1261
- urlRegex: new RegExp("^/fba/outbound/2020-07-01/deliveryOffers$"),
1262
- rate: 5,
1263
- burst: 30
1264
- },
1265
- {
1266
- method: "get",
1267
- // eslint-disable-next-line prefer-regex-literals
1268
- urlRegex: new RegExp("^/fba/outbound/2020-07-01/fulfillmentOrders$"),
1269
- rate: 2,
1270
- burst: 30
1271
- },
1272
- {
1273
- method: "post",
1274
- // eslint-disable-next-line prefer-regex-literals
1275
- urlRegex: new RegExp("^/fba/outbound/2020-07-01/fulfillmentOrders$"),
1276
- rate: 2,
1277
- burst: 30
1278
- },
1279
- {
1280
- method: "get",
1281
- // eslint-disable-next-line prefer-regex-literals
1282
- urlRegex: new RegExp("^/fba/outbound/2020-07-01/tracking$"),
1283
- rate: 2,
1284
- burst: 30
1285
- },
1286
- {
1287
- method: "get",
1288
- // eslint-disable-next-line prefer-regex-literals
1289
- urlRegex: new RegExp("^/fba/outbound/2020-07-01/returnReasonCodes$"),
1290
- rate: 2,
1291
- burst: 30
1292
- },
1293
- {
1294
- method: "put",
1295
- // eslint-disable-next-line prefer-regex-literals
1296
- urlRegex: new RegExp("^/fba/outbound/2020-07-01/fulfillmentOrders/[^/]*/return$"),
1297
- rate: 2,
1298
- burst: 30
1299
- },
1300
- {
1301
- method: "get",
1302
- // eslint-disable-next-line prefer-regex-literals
1303
- urlRegex: new RegExp("^/fba/outbound/2020-07-01/fulfillmentOrders/[^/]*$"),
1304
- rate: 2,
1305
- burst: 30
1306
- },
1307
- {
1308
- method: "put",
1309
- // eslint-disable-next-line prefer-regex-literals
1310
- urlRegex: new RegExp("^/fba/outbound/2020-07-01/fulfillmentOrders/[^/]*$"),
1311
- rate: 2,
1312
- burst: 30
1313
- },
1314
- {
1315
- method: "put",
1316
- // eslint-disable-next-line prefer-regex-literals
1317
- urlRegex: new RegExp("^/fba/outbound/2020-07-01/fulfillmentOrders/[^/]*/cancel$"),
1318
- rate: 2,
1319
- burst: 30
1320
- },
1321
- {
1322
- method: "get",
1323
- // eslint-disable-next-line prefer-regex-literals
1324
- urlRegex: new RegExp("^/fba/outbound/2020-07-01/features$"),
1325
- rate: 2,
1326
- burst: 30
1327
- },
1328
- {
1329
- method: "get",
1330
- // eslint-disable-next-line prefer-regex-literals
1331
- urlRegex: new RegExp("^/fba/outbound/2020-07-01/features/inventory/[^/]*$"),
1332
- rate: 2,
1333
- burst: 30
1334
- },
1335
- {
1336
- method: "get",
1337
- // eslint-disable-next-line prefer-regex-literals
1338
- urlRegex: new RegExp("^/fba/outbound/2020-07-01/features/inventory/[^/]*$"),
1339
- rate: 2,
1340
- burst: 30
1341
- }
1438
+ //#endregion
1439
+ //#region src/client.ts
1440
+ const clientRateLimits = [
1441
+ {
1442
+ method: "post",
1443
+ urlRegex: /^\/fba\/outbound\/2020\u{2D}07\u{2D}01\/fulfillmentOrders\/preview$/v,
1444
+ rate: 2,
1445
+ burst: 30
1446
+ },
1447
+ {
1448
+ method: "post",
1449
+ urlRegex: /^\/fba\/outbound\/2020\u{2D}07\u{2D}01\/deliveryOffers$/v,
1450
+ rate: 5,
1451
+ burst: 30
1452
+ },
1453
+ {
1454
+ method: "get",
1455
+ urlRegex: /^\/fba\/outbound\/2020\u{2D}07\u{2D}01\/fulfillmentOrders$/v,
1456
+ rate: 2,
1457
+ burst: 30
1458
+ },
1459
+ {
1460
+ method: "post",
1461
+ urlRegex: /^\/fba\/outbound\/2020\u{2D}07\u{2D}01\/fulfillmentOrders$/v,
1462
+ rate: 2,
1463
+ burst: 30
1464
+ },
1465
+ {
1466
+ method: "get",
1467
+ urlRegex: /^\/fba\/outbound\/2020\u{2D}07\u{2D}01\/tracking$/v,
1468
+ rate: 2,
1469
+ burst: 30
1470
+ },
1471
+ {
1472
+ method: "get",
1473
+ urlRegex: /^\/fba\/outbound\/2020\u{2D}07\u{2D}01\/returnReasonCodes$/v,
1474
+ rate: 2,
1475
+ burst: 30
1476
+ },
1477
+ {
1478
+ method: "put",
1479
+ urlRegex: /^\/fba\/outbound\/2020\u{2D}07\u{2D}01\/fulfillmentOrders\/[^\/]*\/return$/v,
1480
+ rate: 2,
1481
+ burst: 30
1482
+ },
1483
+ {
1484
+ method: "get",
1485
+ urlRegex: /^\/fba\/outbound\/2020\u{2D}07\u{2D}01\/fulfillmentOrders\/[^\/]*$/v,
1486
+ rate: 2,
1487
+ burst: 30
1488
+ },
1489
+ {
1490
+ method: "put",
1491
+ urlRegex: /^\/fba\/outbound\/2020\u{2D}07\u{2D}01\/fulfillmentOrders\/[^\/]*$/v,
1492
+ rate: 2,
1493
+ burst: 30
1494
+ },
1495
+ {
1496
+ method: "put",
1497
+ urlRegex: /^\/fba\/outbound\/2020\u{2D}07\u{2D}01\/fulfillmentOrders\/[^\/]*\/cancel$/v,
1498
+ rate: 2,
1499
+ burst: 30
1500
+ },
1501
+ {
1502
+ method: "get",
1503
+ urlRegex: /^\/fba\/outbound\/2020\u{2D}07\u{2D}01\/features$/v,
1504
+ rate: 2,
1505
+ burst: 30
1506
+ },
1507
+ {
1508
+ method: "get",
1509
+ urlRegex: /^\/fba\/outbound\/2020\u{2D}07\u{2D}01\/features\/inventory\/[^\/]*$/v,
1510
+ rate: 2,
1511
+ burst: 30
1512
+ },
1513
+ {
1514
+ method: "get",
1515
+ urlRegex: /^\/fba\/outbound\/2020\u{2D}07\u{2D}01\/features\/inventory\/[^\/]*\/[^\/]*$/v,
1516
+ rate: 2,
1517
+ burst: 30
1518
+ }
1342
1519
  ];
1343
1520
  var FulfillmentOutboundApiClient = class extends FulfillmentOutboundApi {
1344
- constructor(configuration) {
1345
- const { axios, endpoint } = createAxiosInstance(configuration, clientRateLimits);
1346
- super(new Configuration(), endpoint, axios);
1347
- }
1348
- };
1349
- export {
1350
- AdditionalLocationInfo,
1351
- AmountUnitOfMeasureEnum,
1352
- CurrentStatus,
1353
- DropOffLocationTypeEnum,
1354
- EventCode,
1355
- FeatureSettingsFeatureFulfillmentPolicyEnum,
1356
- FeeNameEnum,
1357
- FulfillmentAction,
1358
- FulfillmentOrderStatus,
1359
- FulfillmentOutboundApi,
1360
- FulfillmentOutboundApiAxiosParamCreator,
1361
- FulfillmentOutboundApiClient,
1362
- FulfillmentOutboundApiFactory,
1363
- FulfillmentOutboundApiFp,
1364
- FulfillmentPolicy,
1365
- FulfillmentPreviewItemShippingWeightCalculationMethodEnum,
1366
- FulfillmentReturnItemStatus,
1367
- FulfillmentShipmentFulfillmentShipmentStatusEnum,
1368
- InvalidItemReasonCode,
1369
- ReturnItemDisposition,
1370
- ShippingSpeedCategory,
1371
- WeightUnitEnum,
1372
- clientRateLimits
1521
+ constructor(configuration) {
1522
+ const { axios, endpoint } = createAxiosInstance(configuration, clientRateLimits);
1523
+ super(new Configuration(), endpoint, axios);
1524
+ }
1373
1525
  };
1526
+ //#endregion
1527
+ export { AdditionalLocationInfo, AmountUnitOfMeasureEnum, CurrentStatus, DropOffLocationTypeEnum, EventCode, FeatureSettingsFeatureFulfillmentPolicyEnum, FeeNameEnum, FulfillmentAction, FulfillmentOrderStatus, FulfillmentOutboundApi, FulfillmentOutboundApiAxiosParamCreator, FulfillmentOutboundApiClient, FulfillmentOutboundApiFactory, FulfillmentOutboundApiFp, FulfillmentPolicy, FulfillmentPreviewItemShippingWeightCalculationMethodEnum, FulfillmentReturnItemStatus, FulfillmentShipmentFulfillmentShipmentStatusEnum, InvalidItemReasonCode, ReturnItemDisposition, ShippingSpeedCategory, WeightUnitEnum, clientRateLimits };
1528
+
1374
1529
  //# sourceMappingURL=index.js.map