@sp-api-sdk/fulfillment-inbound-api-v0 5.0.0 → 5.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -1,881 +1,954 @@
1
- "use strict";
1
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
+ //#region \0rolldown/runtime.js
2
3
  var __create = Object.create;
3
4
  var __defProp = Object.defineProperty;
4
5
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
6
  var __getOwnPropNames = Object.getOwnPropertyNames;
6
7
  var __getProtoOf = Object.getPrototypeOf;
7
8
  var __hasOwnProp = Object.prototype.hasOwnProperty;
8
- var __export = (target, all) => {
9
- for (var name in all)
10
- __defProp(target, name, { get: all[name], enumerable: true });
11
- };
12
9
  var __copyProps = (to, from, except, desc) => {
13
- if (from && typeof from === "object" || typeof from === "function") {
14
- for (let key of __getOwnPropNames(from))
15
- if (!__hasOwnProp.call(to, key) && key !== except)
16
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
- }
18
- return to;
10
+ if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
11
+ key = keys[i];
12
+ if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
13
+ get: ((k) => from[k]).bind(null, key),
14
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
15
+ });
16
+ }
17
+ return to;
19
18
  };
20
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
- // If the importer is in node compatibility mode or this is not an ESM
22
- // file that has been converted to a CommonJS file using a Babel-
23
- // compatible transform (i.e. "__esModule" has not been set), then set
24
- // "default" to the CommonJS "module.exports" for node compatibility.
25
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
26
- mod
27
- ));
28
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
-
30
- // src/index.ts
31
- var index_exports = {};
32
- __export(index_exports, {
33
- BarcodeInstruction: () => BarcodeInstruction,
34
- BoxContentsSource: () => BoxContentsSource,
35
- CurrencyCode: () => CurrencyCode,
36
- ErrorReason: () => ErrorReason,
37
- FulfillmentInboundApi: () => FulfillmentInboundApi,
38
- FulfillmentInboundApiAxiosParamCreator: () => FulfillmentInboundApiAxiosParamCreator,
39
- FulfillmentInboundApiClient: () => FulfillmentInboundApiClient,
40
- FulfillmentInboundApiFactory: () => FulfillmentInboundApiFactory,
41
- FulfillmentInboundApiFp: () => FulfillmentInboundApiFp,
42
- GetLabelsLabelTypeEnum: () => GetLabelsLabelTypeEnum,
43
- GetLabelsPageTypeEnum: () => GetLabelsPageTypeEnum,
44
- GetShipmentItemsQueryTypeEnum: () => GetShipmentItemsQueryTypeEnum,
45
- GetShipmentsQueryTypeEnum: () => GetShipmentsQueryTypeEnum,
46
- GetShipmentsShipmentStatusListEnum: () => GetShipmentsShipmentStatusListEnum,
47
- LabelPrepType: () => LabelPrepType,
48
- PrepGuidance: () => PrepGuidance,
49
- PrepInstruction: () => PrepInstruction,
50
- PrepOwner: () => PrepOwner,
51
- ShipmentStatus: () => ShipmentStatus,
52
- clientRateLimits: () => clientRateLimits
53
- });
54
- module.exports = __toCommonJS(index_exports);
55
-
56
- // src/client.ts
57
- var import_common2 = require("@sp-api-sdk/common");
58
-
59
- // src/api-model/api/fulfillment-inbound-api.ts
60
- var import_axios2 = __toESM(require("axios"), 1);
61
-
62
- // src/api-model/base.ts
63
- var import_axios = __toESM(require("axios"), 1);
64
- var BASE_PATH = "https://sellingpartnerapi-na.amazon.com".replace(/\/+$/, "");
65
- var COLLECTION_FORMATS = {
66
- csv: ",",
67
- ssv: " ",
68
- tsv: " ",
69
- pipes: "|"
19
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
20
+ value: mod,
21
+ enumerable: true
22
+ }) : target, mod));
23
+ //#endregion
24
+ let _sp_api_sdk_common = require("@sp-api-sdk/common");
25
+ let axios = require("axios");
26
+ axios = __toESM(axios, 1);
27
+ //#region src/api-model/base.ts
28
+ const BASE_PATH = "https://sellingpartnerapi-na.amazon.com".replace(/\/+$/, "");
29
+ const COLLECTION_FORMATS = {
30
+ csv: ",",
31
+ ssv: " ",
32
+ tsv: " ",
33
+ pipes: "|"
70
34
  };
71
35
  var BaseAPI = class {
72
- constructor(configuration, basePath = BASE_PATH, axios = import_axios.default) {
73
- this.basePath = basePath;
74
- this.axios = axios;
75
- if (configuration) {
76
- this.configuration = configuration;
77
- this.basePath = configuration.basePath ?? basePath;
78
- }
79
- }
80
- basePath;
81
- axios;
82
- configuration;
36
+ basePath;
37
+ axios;
38
+ configuration;
39
+ constructor(configuration, basePath = BASE_PATH, axios$8 = axios.default) {
40
+ this.basePath = basePath;
41
+ this.axios = axios$8;
42
+ if (configuration) {
43
+ this.configuration = configuration;
44
+ this.basePath = configuration.basePath ?? basePath;
45
+ }
46
+ }
83
47
  };
84
48
  var RequiredError = class extends Error {
85
- constructor(field, msg) {
86
- super(msg);
87
- this.field = field;
88
- this.name = "RequiredError";
89
- }
90
- field;
49
+ field;
50
+ constructor(field, msg) {
51
+ super(msg);
52
+ this.field = field;
53
+ this.name = "RequiredError";
54
+ }
91
55
  };
92
- var operationServerMap = {};
93
-
94
- // src/api-model/common.ts
95
- var DUMMY_BASE_URL = "https://example.com";
96
- var assertParamExists = function(functionName, paramName, paramValue) {
97
- if (paramValue === null || paramValue === void 0) {
98
- throw new RequiredError(paramName, `Required parameter ${paramName} was null or undefined when calling ${functionName}.`);
99
- }
56
+ const operationServerMap = {};
57
+ //#endregion
58
+ //#region src/api-model/common.ts
59
+ const DUMMY_BASE_URL = "https://example.com";
60
+ /**
61
+ *
62
+ * @throws {RequiredError}
63
+ */
64
+ const assertParamExists = function(functionName, paramName, paramValue) {
65
+ if (paramValue === null || paramValue === void 0) throw new RequiredError(paramName, `Required parameter ${paramName} was null or undefined when calling ${functionName}.`);
100
66
  };
101
67
  function setFlattenedQueryParams(urlSearchParams, parameter, key = "") {
102
- if (parameter == null) return;
103
- if (typeof parameter === "object") {
104
- if (Array.isArray(parameter) || parameter instanceof Set) {
105
- parameter.forEach((item) => setFlattenedQueryParams(urlSearchParams, item, key));
106
- } else {
107
- Object.keys(parameter).forEach(
108
- (currentKey) => setFlattenedQueryParams(urlSearchParams, parameter[currentKey], `${key}${key !== "" ? "." : ""}${currentKey}`)
109
- );
110
- }
111
- } else {
112
- if (urlSearchParams.has(key)) {
113
- urlSearchParams.append(key, parameter);
114
- } else {
115
- urlSearchParams.set(key, parameter);
116
- }
117
- }
68
+ if (parameter == null) return;
69
+ if (typeof parameter === "object") if (Array.isArray(parameter) || parameter instanceof Set) parameter.forEach((item) => setFlattenedQueryParams(urlSearchParams, item, key));
70
+ else Object.keys(parameter).forEach((currentKey) => setFlattenedQueryParams(urlSearchParams, parameter[currentKey], `${key}${key !== "" ? "." : ""}${currentKey}`));
71
+ else if (urlSearchParams.has(key)) urlSearchParams.append(key, parameter);
72
+ else urlSearchParams.set(key, parameter);
118
73
  }
119
- var setSearchParams = function(url, ...objects) {
120
- const searchParams = new URLSearchParams(url.search);
121
- setFlattenedQueryParams(searchParams, objects);
122
- url.search = searchParams.toString();
74
+ const setSearchParams = function(url, ...objects) {
75
+ const searchParams = new URLSearchParams(url.search);
76
+ setFlattenedQueryParams(searchParams, objects);
77
+ url.search = searchParams.toString();
123
78
  };
124
- var toPathString = function(url) {
125
- return url.pathname + url.search + url.hash;
79
+ const toPathString = function(url) {
80
+ return url.pathname + url.search + url.hash;
126
81
  };
127
- var createRequestFunction = function(axiosArgs, globalAxios3, BASE_PATH2, configuration) {
128
- return (axios = globalAxios3, basePath = BASE_PATH2) => {
129
- const axiosRequestArgs = { ...axiosArgs.options, url: (axios.defaults.baseURL ? "" : configuration?.basePath ?? basePath) + axiosArgs.url };
130
- return axios.request(axiosRequestArgs);
131
- };
82
+ const createRequestFunction = function(axiosArgs, globalAxios, BASE_PATH, configuration) {
83
+ return (axios = globalAxios, basePath = BASE_PATH) => {
84
+ const axiosRequestArgs = {
85
+ ...axiosArgs.options,
86
+ url: (axios.defaults.baseURL ? "" : configuration?.basePath ?? basePath) + axiosArgs.url
87
+ };
88
+ return axios.request(axiosRequestArgs);
89
+ };
132
90
  };
133
-
134
- // src/api-model/api/fulfillment-inbound-api.ts
135
- var FulfillmentInboundApiAxiosParamCreator = function(configuration) {
136
- return {
137
- /**
138
- * Returns a bill of lading for a Less Than Truckload/Full Truckload (LTL/FTL) shipment. The getBillOfLading operation returns PDF document data for printing a bill of lading for an Amazon-partnered Less Than Truckload/Full Truckload (LTL/FTL) inbound shipment. **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 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).
139
- * @param {string} shipmentId A shipment identifier originally returned by the createInboundShipmentPlan operation.
140
- * @param {*} [options] Override http request option.
141
- * @throws {RequiredError}
142
- */
143
- getBillOfLading: async (shipmentId, options = {}) => {
144
- assertParamExists("getBillOfLading", "shipmentId", shipmentId);
145
- const localVarPath = `/fba/inbound/v0/shipments/{shipmentId}/billOfLading`.replace("{shipmentId}", encodeURIComponent(String(shipmentId)));
146
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
147
- let baseOptions;
148
- if (configuration) {
149
- baseOptions = configuration.baseOptions;
150
- }
151
- const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
152
- const localVarHeaderParameter = {};
153
- const localVarQueryParameter = {};
154
- localVarHeaderParameter["Accept"] = "application/json";
155
- setSearchParams(localVarUrlObj, localVarQueryParameter);
156
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
157
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
158
- return {
159
- url: toPathString(localVarUrlObj),
160
- options: localVarRequestOptions
161
- };
162
- },
163
- /**
164
- * Returns package/pallet labels for faster and more accurate shipment processing at the Amazon fulfillment center. **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 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).
165
- * @param {string} shipmentId A shipment identifier originally returned by the createInboundShipmentPlan operation.
166
- * @param {GetLabelsPageTypeEnum} pageType The page type to use to print the labels. Submitting a PageType value that is not supported in your marketplace returns an error.
167
- * @param {GetLabelsLabelTypeEnum} labelType The type of labels requested.
168
- * @param {number} [numberOfPackages] The number of packages in the shipment.
169
- * @param {Array<string>} [packageLabelsToPrint] A list of identifiers that specify packages for which you want package labels printed. If you provide box content information with the [FBA Inbound Shipment Carton Information Feed](https://developer-docs.amazon.com/sp-api/docs/fulfillment-by-amazon-feed-type-values#fba-inbound-shipment-carton-information-feed), then &#x60;PackageLabelsToPrint&#x60; must match the &#x60;CartonId&#x60; values you provide through that feed. If you provide box content information with the Fulfillment Inbound API v2024-03-20, then &#x60;PackageLabelsToPrint&#x60; must match the &#x60;boxID&#x60; values from the [&#x60;listShipmentBoxes&#x60;](https://developer-docs.amazon.com/sp-api/reference/listshipmentboxes) response. If these values do not match as required, the operation returns the &#x60;IncorrectPackageIdentifier&#x60; error code.
170
- * @param {number} [numberOfPallets] The number of pallets in the shipment. This returns four identical labels for each pallet.
171
- * @param {number} [pageSize] The page size for paginating through the total packages\&#39; labels. This is a required parameter for Non-Partnered LTL Shipments. Max value:1000.
172
- * @param {number} [pageStartIndex] The page start index for paginating through the total packages\&#39; labels. This is a required parameter for Non-Partnered LTL Shipments.
173
- * @param {*} [options] Override http request option.
174
- * @throws {RequiredError}
175
- */
176
- getLabels: async (shipmentId, pageType, labelType, numberOfPackages, packageLabelsToPrint, numberOfPallets, pageSize, pageStartIndex, options = {}) => {
177
- assertParamExists("getLabels", "shipmentId", shipmentId);
178
- assertParamExists("getLabels", "pageType", pageType);
179
- assertParamExists("getLabels", "labelType", labelType);
180
- const localVarPath = `/fba/inbound/v0/shipments/{shipmentId}/labels`.replace("{shipmentId}", encodeURIComponent(String(shipmentId)));
181
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
182
- let baseOptions;
183
- if (configuration) {
184
- baseOptions = configuration.baseOptions;
185
- }
186
- const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
187
- const localVarHeaderParameter = {};
188
- const localVarQueryParameter = {};
189
- if (pageType !== void 0) {
190
- localVarQueryParameter["PageType"] = pageType;
191
- }
192
- if (labelType !== void 0) {
193
- localVarQueryParameter["LabelType"] = labelType;
194
- }
195
- if (numberOfPackages !== void 0) {
196
- localVarQueryParameter["NumberOfPackages"] = numberOfPackages;
197
- }
198
- if (packageLabelsToPrint) {
199
- localVarQueryParameter["PackageLabelsToPrint"] = packageLabelsToPrint.join(COLLECTION_FORMATS.csv);
200
- }
201
- if (numberOfPallets !== void 0) {
202
- localVarQueryParameter["NumberOfPallets"] = numberOfPallets;
203
- }
204
- if (pageSize !== void 0) {
205
- localVarQueryParameter["PageSize"] = pageSize;
206
- }
207
- if (pageStartIndex !== void 0) {
208
- localVarQueryParameter["PageStartIndex"] = pageStartIndex;
209
- }
210
- localVarHeaderParameter["Accept"] = "application/json";
211
- setSearchParams(localVarUrlObj, localVarQueryParameter);
212
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
213
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
214
- return {
215
- url: toPathString(localVarUrlObj),
216
- options: localVarRequestOptions
217
- };
218
- },
219
- /**
220
- * Returns labeling requirements and item preparation instructions to help prepare items for shipment to Amazon\'s fulfillment network. **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 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).
221
- * @param {string} shipToCountryCode The country code of the country to which the items will be shipped. Note that labeling requirements and item preparation instructions can vary by country.
222
- * @param {Array<string>} [sellerSKUList] A list of SellerSKU values. Used to identify items for which you want labeling requirements and item preparation instructions for shipment to Amazon\&#39;s fulfillment network. The SellerSKU is qualified by the Seller ID, which is included with every call to the Seller Partner API. Note: Include seller SKUs that you have used to list items on Amazon\&#39;s retail website. If you include a seller SKU that you have never used to list an item on Amazon\&#39;s retail website, the seller SKU is returned in the InvalidSKUList property in the response.
223
- * @param {Array<string>} [aSINList] A list of ASIN values. Used to identify items for which you want item preparation instructions to help with item sourcing decisions. Note: ASINs must be included in the product catalog for at least one of the marketplaces that the seller participates in. Any ASIN that is not included in the product catalog for at least one of the marketplaces that the seller participates in is returned in the InvalidASINList property in the response. You can find out which marketplaces a seller participates in by calling the getMarketplaceParticipations operation in the Selling Partner API for Sellers.
224
- * @param {*} [options] Override http request option.
225
- * @throws {RequiredError}
226
- */
227
- getPrepInstructions: async (shipToCountryCode, sellerSKUList, aSINList, options = {}) => {
228
- assertParamExists("getPrepInstructions", "shipToCountryCode", shipToCountryCode);
229
- const localVarPath = `/fba/inbound/v0/prepInstructions`;
230
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
231
- let baseOptions;
232
- if (configuration) {
233
- baseOptions = configuration.baseOptions;
234
- }
235
- const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
236
- const localVarHeaderParameter = {};
237
- const localVarQueryParameter = {};
238
- if (shipToCountryCode !== void 0) {
239
- localVarQueryParameter["ShipToCountryCode"] = shipToCountryCode;
240
- }
241
- if (sellerSKUList) {
242
- localVarQueryParameter["SellerSKUList"] = sellerSKUList.join(COLLECTION_FORMATS.csv);
243
- }
244
- if (aSINList) {
245
- localVarQueryParameter["ASINList"] = aSINList.join(COLLECTION_FORMATS.csv);
246
- }
247
- localVarHeaderParameter["Accept"] = "application/json";
248
- setSearchParams(localVarUrlObj, localVarQueryParameter);
249
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
250
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
251
- return {
252
- url: toPathString(localVarUrlObj),
253
- options: localVarRequestOptions
254
- };
255
- },
256
- /**
257
- * Returns a list of items in a specified inbound shipment, or a list of items that were updated within a specified time frame. **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 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).
258
- * @param {GetShipmentItemsQueryTypeEnum} queryType Indicates whether items are returned using a date range (by providing the LastUpdatedAfter and LastUpdatedBefore parameters), or using NextToken, which continues returning items specified in a previous request.
259
- * @param {string} marketplaceId A marketplace identifier. Specifies the marketplace where the product would be stored.
260
- * @param {string} [lastUpdatedAfter] A date used for selecting inbound shipment items that were last updated after (or at) a specified time. The selection includes updates made by Amazon and by the seller.
261
- * @param {string} [lastUpdatedBefore] A date used for selecting inbound shipment items that were last updated before (or at) a specified time. The selection includes updates made by Amazon and by the seller.
262
- * @param {string} [nextToken] A string token returned in the response to your previous request.
263
- * @param {*} [options] Override http request option.
264
- * @throws {RequiredError}
265
- */
266
- getShipmentItems: async (queryType, marketplaceId, lastUpdatedAfter, lastUpdatedBefore, nextToken, options = {}) => {
267
- assertParamExists("getShipmentItems", "queryType", queryType);
268
- assertParamExists("getShipmentItems", "marketplaceId", marketplaceId);
269
- const localVarPath = `/fba/inbound/v0/shipmentItems`;
270
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
271
- let baseOptions;
272
- if (configuration) {
273
- baseOptions = configuration.baseOptions;
274
- }
275
- const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
276
- const localVarHeaderParameter = {};
277
- const localVarQueryParameter = {};
278
- if (lastUpdatedAfter !== void 0) {
279
- localVarQueryParameter["LastUpdatedAfter"] = lastUpdatedAfter instanceof Date ? lastUpdatedAfter.toISOString() : lastUpdatedAfter;
280
- }
281
- if (lastUpdatedBefore !== void 0) {
282
- localVarQueryParameter["LastUpdatedBefore"] = lastUpdatedBefore instanceof Date ? lastUpdatedBefore.toISOString() : lastUpdatedBefore;
283
- }
284
- if (queryType !== void 0) {
285
- localVarQueryParameter["QueryType"] = queryType;
286
- }
287
- if (nextToken !== void 0) {
288
- localVarQueryParameter["NextToken"] = nextToken;
289
- }
290
- if (marketplaceId !== void 0) {
291
- localVarQueryParameter["MarketplaceId"] = marketplaceId;
292
- }
293
- localVarHeaderParameter["Accept"] = "application/json";
294
- setSearchParams(localVarUrlObj, localVarQueryParameter);
295
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
296
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
297
- return {
298
- url: toPathString(localVarUrlObj),
299
- options: localVarRequestOptions
300
- };
301
- },
302
- /**
303
- * Returns a list of items in a specified inbound shipment. **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 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).
304
- * @param {string} shipmentId A shipment identifier used for selecting items in a specific inbound shipment.
305
- * @param {string} [marketplaceId] Deprecated. Do not use.
306
- * @param {*} [options] Override http request option.
307
- * @throws {RequiredError}
308
- */
309
- getShipmentItemsByShipmentId: async (shipmentId, marketplaceId, options = {}) => {
310
- assertParamExists("getShipmentItemsByShipmentId", "shipmentId", shipmentId);
311
- const localVarPath = `/fba/inbound/v0/shipments/{shipmentId}/items`.replace("{shipmentId}", encodeURIComponent(String(shipmentId)));
312
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
313
- let baseOptions;
314
- if (configuration) {
315
- baseOptions = configuration.baseOptions;
316
- }
317
- const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
318
- const localVarHeaderParameter = {};
319
- const localVarQueryParameter = {};
320
- if (marketplaceId !== void 0) {
321
- localVarQueryParameter["MarketplaceId"] = marketplaceId;
322
- }
323
- localVarHeaderParameter["Accept"] = "application/json";
324
- setSearchParams(localVarUrlObj, localVarQueryParameter);
325
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
326
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
327
- return {
328
- url: toPathString(localVarUrlObj),
329
- options: localVarRequestOptions
330
- };
331
- },
332
- /**
333
- * Returns a list of inbound shipments based on 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 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).
334
- * @param {GetShipmentsQueryTypeEnum} queryType Indicates whether shipments are returned using shipment information (by providing the ShipmentStatusList or ShipmentIdList parameters), using a date range (by providing the LastUpdatedAfter and LastUpdatedBefore parameters), or by using NextToken to continue returning items specified in a previous request.
335
- * @param {string} marketplaceId A marketplace identifier. Specifies the marketplace where the product would be stored.
336
- * @param {Array<GetShipmentsShipmentStatusListEnum>} [shipmentStatusList] A list of ShipmentStatus values. Used to select shipments with a current status that matches the status values that you specify.
337
- * @param {Array<string>} [shipmentIdList] A list of shipment IDs used to select the shipments that you want. If both ShipmentStatusList and ShipmentIdList are specified, only shipments that match both parameters are returned.
338
- * @param {string} [lastUpdatedAfter] A date used for selecting inbound shipments that were last updated after (or at) a specified time. The selection includes updates made by Amazon and by the seller.
339
- * @param {string} [lastUpdatedBefore] A date used for selecting inbound shipments that were last updated before (or at) a specified time. The selection includes updates made by Amazon and by the seller.
340
- * @param {string} [nextToken] A string token returned in the response to your previous request.
341
- * @param {*} [options] Override http request option.
342
- * @throws {RequiredError}
343
- */
344
- getShipments: async (queryType, marketplaceId, shipmentStatusList, shipmentIdList, lastUpdatedAfter, lastUpdatedBefore, nextToken, options = {}) => {
345
- assertParamExists("getShipments", "queryType", queryType);
346
- assertParamExists("getShipments", "marketplaceId", marketplaceId);
347
- const localVarPath = `/fba/inbound/v0/shipments`;
348
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
349
- let baseOptions;
350
- if (configuration) {
351
- baseOptions = configuration.baseOptions;
352
- }
353
- const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
354
- const localVarHeaderParameter = {};
355
- const localVarQueryParameter = {};
356
- if (shipmentStatusList) {
357
- localVarQueryParameter["ShipmentStatusList"] = shipmentStatusList.join(COLLECTION_FORMATS.csv);
358
- }
359
- if (shipmentIdList) {
360
- localVarQueryParameter["ShipmentIdList"] = shipmentIdList.join(COLLECTION_FORMATS.csv);
361
- }
362
- if (lastUpdatedAfter !== void 0) {
363
- localVarQueryParameter["LastUpdatedAfter"] = lastUpdatedAfter instanceof Date ? lastUpdatedAfter.toISOString() : lastUpdatedAfter;
364
- }
365
- if (lastUpdatedBefore !== void 0) {
366
- localVarQueryParameter["LastUpdatedBefore"] = lastUpdatedBefore instanceof Date ? lastUpdatedBefore.toISOString() : lastUpdatedBefore;
367
- }
368
- if (queryType !== void 0) {
369
- localVarQueryParameter["QueryType"] = queryType;
370
- }
371
- if (nextToken !== void 0) {
372
- localVarQueryParameter["NextToken"] = nextToken;
373
- }
374
- if (marketplaceId !== void 0) {
375
- localVarQueryParameter["MarketplaceId"] = marketplaceId;
376
- }
377
- localVarHeaderParameter["Accept"] = "application/json";
378
- setSearchParams(localVarUrlObj, localVarQueryParameter);
379
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
380
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
381
- return {
382
- url: toPathString(localVarUrlObj),
383
- options: localVarRequestOptions
384
- };
385
- }
386
- };
91
+ //#endregion
92
+ //#region src/api-model/api/fulfillment-inbound-api.ts
93
+ /**
94
+ * FulfillmentInboundApi - axios parameter creator
95
+ */
96
+ const FulfillmentInboundApiAxiosParamCreator = function(configuration) {
97
+ return {
98
+ /**
99
+ * Returns a bill of lading for a Less Than Truckload/Full Truckload (LTL/FTL) shipment. The getBillOfLading operation returns PDF document data for printing a bill of lading for an Amazon-partnered Less Than Truckload/Full Truckload (LTL/FTL) inbound shipment. **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 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).
100
+ * @param {string} shipmentId A shipment identifier originally returned by the createInboundShipmentPlan operation.
101
+ * @param {*} [options] Override http request option.
102
+ * @throws {RequiredError}
103
+ */
104
+ getBillOfLading: async (shipmentId, options = {}) => {
105
+ assertParamExists("getBillOfLading", "shipmentId", shipmentId);
106
+ const localVarPath = `/fba/inbound/v0/shipments/{shipmentId}/billOfLading`.replace("{shipmentId}", encodeURIComponent(String(shipmentId)));
107
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
108
+ let baseOptions;
109
+ if (configuration) baseOptions = configuration.baseOptions;
110
+ const localVarRequestOptions = {
111
+ method: "GET",
112
+ ...baseOptions,
113
+ ...options
114
+ };
115
+ const localVarHeaderParameter = {};
116
+ const localVarQueryParameter = {};
117
+ localVarHeaderParameter["Accept"] = "application/json";
118
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
119
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
120
+ localVarRequestOptions.headers = {
121
+ ...localVarHeaderParameter,
122
+ ...headersFromBaseOptions,
123
+ ...options.headers
124
+ };
125
+ return {
126
+ url: toPathString(localVarUrlObj),
127
+ options: localVarRequestOptions
128
+ };
129
+ },
130
+ /**
131
+ * Returns package/pallet labels for faster and more accurate shipment processing at the Amazon fulfillment center. **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 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).
132
+ * @param {string} shipmentId A shipment identifier originally returned by the createInboundShipmentPlan operation.
133
+ * @param {GetLabelsPageTypeEnum} pageType The page type to use to print the labels. Submitting a PageType value that is not supported in your marketplace returns an error.
134
+ * @param {GetLabelsLabelTypeEnum} labelType The type of labels requested.
135
+ * @param {number} [numberOfPackages] The number of packages in the shipment.
136
+ * @param {Array<string>} [packageLabelsToPrint] A list of identifiers that specify packages for which you want package labels printed. If you provide box content information with the [FBA Inbound Shipment Carton Information Feed](https://developer-docs.amazon.com/sp-api/docs/fulfillment-by-amazon-feed-type-values#fba-inbound-shipment-carton-information-feed), then &#x60;PackageLabelsToPrint&#x60; must match the &#x60;CartonId&#x60; values you provide through that feed. If you provide box content information with the Fulfillment Inbound API v2024-03-20, then &#x60;PackageLabelsToPrint&#x60; must match the &#x60;boxID&#x60; values from the [&#x60;listShipmentBoxes&#x60;](https://developer-docs.amazon.com/sp-api/reference/listshipmentboxes) response. If these values do not match as required, the operation returns the &#x60;IncorrectPackageIdentifier&#x60; error code.
137
+ * @param {number} [numberOfPallets] The number of pallets in the shipment. This returns four identical labels for each pallet.
138
+ * @param {number} [pageSize] The page size for paginating through the total packages\&#39; labels. This is a required parameter for Non-Partnered LTL Shipments. Max value:1000.
139
+ * @param {number} [pageStartIndex] The page start index for paginating through the total packages\&#39; labels. This is a required parameter for Non-Partnered LTL Shipments.
140
+ * @param {*} [options] Override http request option.
141
+ * @throws {RequiredError}
142
+ */
143
+ getLabels: async (shipmentId, pageType, labelType, numberOfPackages, packageLabelsToPrint, numberOfPallets, pageSize, pageStartIndex, options = {}) => {
144
+ assertParamExists("getLabels", "shipmentId", shipmentId);
145
+ assertParamExists("getLabels", "pageType", pageType);
146
+ assertParamExists("getLabels", "labelType", labelType);
147
+ const localVarPath = `/fba/inbound/v0/shipments/{shipmentId}/labels`.replace("{shipmentId}", encodeURIComponent(String(shipmentId)));
148
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
149
+ let baseOptions;
150
+ if (configuration) baseOptions = configuration.baseOptions;
151
+ const localVarRequestOptions = {
152
+ method: "GET",
153
+ ...baseOptions,
154
+ ...options
155
+ };
156
+ const localVarHeaderParameter = {};
157
+ const localVarQueryParameter = {};
158
+ if (pageType !== void 0) localVarQueryParameter["PageType"] = pageType;
159
+ if (labelType !== void 0) localVarQueryParameter["LabelType"] = labelType;
160
+ if (numberOfPackages !== void 0) localVarQueryParameter["NumberOfPackages"] = numberOfPackages;
161
+ if (packageLabelsToPrint) localVarQueryParameter["PackageLabelsToPrint"] = packageLabelsToPrint.join(COLLECTION_FORMATS.csv);
162
+ if (numberOfPallets !== void 0) localVarQueryParameter["NumberOfPallets"] = numberOfPallets;
163
+ if (pageSize !== void 0) localVarQueryParameter["PageSize"] = pageSize;
164
+ if (pageStartIndex !== void 0) localVarQueryParameter["PageStartIndex"] = pageStartIndex;
165
+ localVarHeaderParameter["Accept"] = "application/json";
166
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
167
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
168
+ localVarRequestOptions.headers = {
169
+ ...localVarHeaderParameter,
170
+ ...headersFromBaseOptions,
171
+ ...options.headers
172
+ };
173
+ return {
174
+ url: toPathString(localVarUrlObj),
175
+ options: localVarRequestOptions
176
+ };
177
+ },
178
+ /**
179
+ * Returns labeling requirements and item preparation instructions to help prepare items for shipment to Amazon\'s fulfillment network. **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 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).
180
+ * @param {string} shipToCountryCode The country code of the country to which the items will be shipped. Note that labeling requirements and item preparation instructions can vary by country.
181
+ * @param {Array<string>} [sellerSKUList] A list of SellerSKU values. Used to identify items for which you want labeling requirements and item preparation instructions for shipment to Amazon\&#39;s fulfillment network. The SellerSKU is qualified by the Seller ID, which is included with every call to the Seller Partner API. Note: Include seller SKUs that you have used to list items on Amazon\&#39;s retail website. If you include a seller SKU that you have never used to list an item on Amazon\&#39;s retail website, the seller SKU is returned in the InvalidSKUList property in the response.
182
+ * @param {Array<string>} [aSINList] A list of ASIN values. Used to identify items for which you want item preparation instructions to help with item sourcing decisions. Note: ASINs must be included in the product catalog for at least one of the marketplaces that the seller participates in. Any ASIN that is not included in the product catalog for at least one of the marketplaces that the seller participates in is returned in the InvalidASINList property in the response. You can find out which marketplaces a seller participates in by calling the getMarketplaceParticipations operation in the Selling Partner API for Sellers.
183
+ * @param {*} [options] Override http request option.
184
+ * @throws {RequiredError}
185
+ */
186
+ getPrepInstructions: async (shipToCountryCode, sellerSKUList, aSINList, options = {}) => {
187
+ assertParamExists("getPrepInstructions", "shipToCountryCode", shipToCountryCode);
188
+ const localVarUrlObj = new URL(`/fba/inbound/v0/prepInstructions`, DUMMY_BASE_URL);
189
+ let baseOptions;
190
+ if (configuration) baseOptions = configuration.baseOptions;
191
+ const localVarRequestOptions = {
192
+ method: "GET",
193
+ ...baseOptions,
194
+ ...options
195
+ };
196
+ const localVarHeaderParameter = {};
197
+ const localVarQueryParameter = {};
198
+ if (shipToCountryCode !== void 0) localVarQueryParameter["ShipToCountryCode"] = shipToCountryCode;
199
+ if (sellerSKUList) localVarQueryParameter["SellerSKUList"] = sellerSKUList.join(COLLECTION_FORMATS.csv);
200
+ if (aSINList) localVarQueryParameter["ASINList"] = aSINList.join(COLLECTION_FORMATS.csv);
201
+ localVarHeaderParameter["Accept"] = "application/json";
202
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
203
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
204
+ localVarRequestOptions.headers = {
205
+ ...localVarHeaderParameter,
206
+ ...headersFromBaseOptions,
207
+ ...options.headers
208
+ };
209
+ return {
210
+ url: toPathString(localVarUrlObj),
211
+ options: localVarRequestOptions
212
+ };
213
+ },
214
+ /**
215
+ * Returns a list of items in a specified inbound shipment, or a list of items that were updated within a specified time frame. **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 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).
216
+ * @param {GetShipmentItemsQueryTypeEnum} queryType Indicates whether items are returned using a date range (by providing the LastUpdatedAfter and LastUpdatedBefore parameters), or using NextToken, which continues returning items specified in a previous request.
217
+ * @param {string} marketplaceId A marketplace identifier. Specifies the marketplace where the product would be stored.
218
+ * @param {string} [lastUpdatedAfter] A date used for selecting inbound shipment items that were last updated after (or at) a specified time. The selection includes updates made by Amazon and by the seller.
219
+ * @param {string} [lastUpdatedBefore] A date used for selecting inbound shipment items that were last updated before (or at) a specified time. The selection includes updates made by Amazon and by the seller.
220
+ * @param {string} [nextToken] A string token returned in the response to your previous request.
221
+ * @param {*} [options] Override http request option.
222
+ * @throws {RequiredError}
223
+ */
224
+ getShipmentItems: async (queryType, marketplaceId, lastUpdatedAfter, lastUpdatedBefore, nextToken, options = {}) => {
225
+ assertParamExists("getShipmentItems", "queryType", queryType);
226
+ assertParamExists("getShipmentItems", "marketplaceId", marketplaceId);
227
+ const localVarUrlObj = new URL(`/fba/inbound/v0/shipmentItems`, DUMMY_BASE_URL);
228
+ let baseOptions;
229
+ if (configuration) baseOptions = configuration.baseOptions;
230
+ const localVarRequestOptions = {
231
+ method: "GET",
232
+ ...baseOptions,
233
+ ...options
234
+ };
235
+ const localVarHeaderParameter = {};
236
+ const localVarQueryParameter = {};
237
+ if (lastUpdatedAfter !== void 0) localVarQueryParameter["LastUpdatedAfter"] = lastUpdatedAfter instanceof Date ? lastUpdatedAfter.toISOString() : lastUpdatedAfter;
238
+ if (lastUpdatedBefore !== void 0) localVarQueryParameter["LastUpdatedBefore"] = lastUpdatedBefore instanceof Date ? lastUpdatedBefore.toISOString() : lastUpdatedBefore;
239
+ if (queryType !== void 0) localVarQueryParameter["QueryType"] = queryType;
240
+ if (nextToken !== void 0) localVarQueryParameter["NextToken"] = nextToken;
241
+ if (marketplaceId !== void 0) localVarQueryParameter["MarketplaceId"] = marketplaceId;
242
+ localVarHeaderParameter["Accept"] = "application/json";
243
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
244
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
245
+ localVarRequestOptions.headers = {
246
+ ...localVarHeaderParameter,
247
+ ...headersFromBaseOptions,
248
+ ...options.headers
249
+ };
250
+ return {
251
+ url: toPathString(localVarUrlObj),
252
+ options: localVarRequestOptions
253
+ };
254
+ },
255
+ /**
256
+ * Returns a list of items in a specified inbound shipment. **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 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).
257
+ * @param {string} shipmentId A shipment identifier used for selecting items in a specific inbound shipment.
258
+ * @param {string} [marketplaceId] Deprecated. Do not use.
259
+ * @param {*} [options] Override http request option.
260
+ * @throws {RequiredError}
261
+ */
262
+ getShipmentItemsByShipmentId: async (shipmentId, marketplaceId, options = {}) => {
263
+ assertParamExists("getShipmentItemsByShipmentId", "shipmentId", shipmentId);
264
+ const localVarPath = `/fba/inbound/v0/shipments/{shipmentId}/items`.replace("{shipmentId}", encodeURIComponent(String(shipmentId)));
265
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
266
+ let baseOptions;
267
+ if (configuration) baseOptions = configuration.baseOptions;
268
+ const localVarRequestOptions = {
269
+ method: "GET",
270
+ ...baseOptions,
271
+ ...options
272
+ };
273
+ const localVarHeaderParameter = {};
274
+ const localVarQueryParameter = {};
275
+ if (marketplaceId !== void 0) localVarQueryParameter["MarketplaceId"] = marketplaceId;
276
+ localVarHeaderParameter["Accept"] = "application/json";
277
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
278
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
279
+ localVarRequestOptions.headers = {
280
+ ...localVarHeaderParameter,
281
+ ...headersFromBaseOptions,
282
+ ...options.headers
283
+ };
284
+ return {
285
+ url: toPathString(localVarUrlObj),
286
+ options: localVarRequestOptions
287
+ };
288
+ },
289
+ /**
290
+ * Returns a list of inbound shipments based on 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 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).
291
+ * @param {GetShipmentsQueryTypeEnum} queryType Indicates whether shipments are returned using shipment information (by providing the ShipmentStatusList or ShipmentIdList parameters), using a date range (by providing the LastUpdatedAfter and LastUpdatedBefore parameters), or by using NextToken to continue returning items specified in a previous request.
292
+ * @param {string} marketplaceId A marketplace identifier. Specifies the marketplace where the product would be stored.
293
+ * @param {Array<GetShipmentsShipmentStatusListEnum>} [shipmentStatusList] A list of ShipmentStatus values. Used to select shipments with a current status that matches the status values that you specify.
294
+ * @param {Array<string>} [shipmentIdList] A list of shipment IDs used to select the shipments that you want. If both ShipmentStatusList and ShipmentIdList are specified, only shipments that match both parameters are returned.
295
+ * @param {string} [lastUpdatedAfter] A date used for selecting inbound shipments that were last updated after (or at) a specified time. The selection includes updates made by Amazon and by the seller.
296
+ * @param {string} [lastUpdatedBefore] A date used for selecting inbound shipments that were last updated before (or at) a specified time. The selection includes updates made by Amazon and by the seller.
297
+ * @param {string} [nextToken] A string token returned in the response to your previous request.
298
+ * @param {*} [options] Override http request option.
299
+ * @throws {RequiredError}
300
+ */
301
+ getShipments: async (queryType, marketplaceId, shipmentStatusList, shipmentIdList, lastUpdatedAfter, lastUpdatedBefore, nextToken, options = {}) => {
302
+ assertParamExists("getShipments", "queryType", queryType);
303
+ assertParamExists("getShipments", "marketplaceId", marketplaceId);
304
+ const localVarUrlObj = new URL(`/fba/inbound/v0/shipments`, DUMMY_BASE_URL);
305
+ let baseOptions;
306
+ if (configuration) baseOptions = configuration.baseOptions;
307
+ const localVarRequestOptions = {
308
+ method: "GET",
309
+ ...baseOptions,
310
+ ...options
311
+ };
312
+ const localVarHeaderParameter = {};
313
+ const localVarQueryParameter = {};
314
+ if (shipmentStatusList) localVarQueryParameter["ShipmentStatusList"] = shipmentStatusList.join(COLLECTION_FORMATS.csv);
315
+ if (shipmentIdList) localVarQueryParameter["ShipmentIdList"] = shipmentIdList.join(COLLECTION_FORMATS.csv);
316
+ if (lastUpdatedAfter !== void 0) localVarQueryParameter["LastUpdatedAfter"] = lastUpdatedAfter instanceof Date ? lastUpdatedAfter.toISOString() : lastUpdatedAfter;
317
+ if (lastUpdatedBefore !== void 0) localVarQueryParameter["LastUpdatedBefore"] = lastUpdatedBefore instanceof Date ? lastUpdatedBefore.toISOString() : lastUpdatedBefore;
318
+ if (queryType !== void 0) localVarQueryParameter["QueryType"] = queryType;
319
+ if (nextToken !== void 0) localVarQueryParameter["NextToken"] = nextToken;
320
+ if (marketplaceId !== void 0) localVarQueryParameter["MarketplaceId"] = marketplaceId;
321
+ localVarHeaderParameter["Accept"] = "application/json";
322
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
323
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
324
+ localVarRequestOptions.headers = {
325
+ ...localVarHeaderParameter,
326
+ ...headersFromBaseOptions,
327
+ ...options.headers
328
+ };
329
+ return {
330
+ url: toPathString(localVarUrlObj),
331
+ options: localVarRequestOptions
332
+ };
333
+ }
334
+ };
387
335
  };
388
- var FulfillmentInboundApiFp = function(configuration) {
389
- const localVarAxiosParamCreator = FulfillmentInboundApiAxiosParamCreator(configuration);
390
- return {
391
- /**
392
- * Returns a bill of lading for a Less Than Truckload/Full Truckload (LTL/FTL) shipment. The getBillOfLading operation returns PDF document data for printing a bill of lading for an Amazon-partnered Less Than Truckload/Full Truckload (LTL/FTL) inbound shipment. **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 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).
393
- * @param {string} shipmentId A shipment identifier originally returned by the createInboundShipmentPlan operation.
394
- * @param {*} [options] Override http request option.
395
- * @throws {RequiredError}
396
- */
397
- async getBillOfLading(shipmentId, options) {
398
- const localVarAxiosArgs = await localVarAxiosParamCreator.getBillOfLading(shipmentId, options);
399
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
400
- const localVarOperationServerBasePath = operationServerMap["FulfillmentInboundApi.getBillOfLading"]?.[localVarOperationServerIndex]?.url;
401
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, import_axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
402
- },
403
- /**
404
- * Returns package/pallet labels for faster and more accurate shipment processing at the Amazon fulfillment center. **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 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).
405
- * @param {string} shipmentId A shipment identifier originally returned by the createInboundShipmentPlan operation.
406
- * @param {GetLabelsPageTypeEnum} pageType The page type to use to print the labels. Submitting a PageType value that is not supported in your marketplace returns an error.
407
- * @param {GetLabelsLabelTypeEnum} labelType The type of labels requested.
408
- * @param {number} [numberOfPackages] The number of packages in the shipment.
409
- * @param {Array<string>} [packageLabelsToPrint] A list of identifiers that specify packages for which you want package labels printed. If you provide box content information with the [FBA Inbound Shipment Carton Information Feed](https://developer-docs.amazon.com/sp-api/docs/fulfillment-by-amazon-feed-type-values#fba-inbound-shipment-carton-information-feed), then &#x60;PackageLabelsToPrint&#x60; must match the &#x60;CartonId&#x60; values you provide through that feed. If you provide box content information with the Fulfillment Inbound API v2024-03-20, then &#x60;PackageLabelsToPrint&#x60; must match the &#x60;boxID&#x60; values from the [&#x60;listShipmentBoxes&#x60;](https://developer-docs.amazon.com/sp-api/reference/listshipmentboxes) response. If these values do not match as required, the operation returns the &#x60;IncorrectPackageIdentifier&#x60; error code.
410
- * @param {number} [numberOfPallets] The number of pallets in the shipment. This returns four identical labels for each pallet.
411
- * @param {number} [pageSize] The page size for paginating through the total packages\&#39; labels. This is a required parameter for Non-Partnered LTL Shipments. Max value:1000.
412
- * @param {number} [pageStartIndex] The page start index for paginating through the total packages\&#39; labels. This is a required parameter for Non-Partnered LTL Shipments.
413
- * @param {*} [options] Override http request option.
414
- * @throws {RequiredError}
415
- */
416
- async getLabels(shipmentId, pageType, labelType, numberOfPackages, packageLabelsToPrint, numberOfPallets, pageSize, pageStartIndex, options) {
417
- const localVarAxiosArgs = await localVarAxiosParamCreator.getLabels(shipmentId, pageType, labelType, numberOfPackages, packageLabelsToPrint, numberOfPallets, pageSize, pageStartIndex, options);
418
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
419
- const localVarOperationServerBasePath = operationServerMap["FulfillmentInboundApi.getLabels"]?.[localVarOperationServerIndex]?.url;
420
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, import_axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
421
- },
422
- /**
423
- * Returns labeling requirements and item preparation instructions to help prepare items for shipment to Amazon\'s fulfillment network. **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 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).
424
- * @param {string} shipToCountryCode The country code of the country to which the items will be shipped. Note that labeling requirements and item preparation instructions can vary by country.
425
- * @param {Array<string>} [sellerSKUList] A list of SellerSKU values. Used to identify items for which you want labeling requirements and item preparation instructions for shipment to Amazon\&#39;s fulfillment network. The SellerSKU is qualified by the Seller ID, which is included with every call to the Seller Partner API. Note: Include seller SKUs that you have used to list items on Amazon\&#39;s retail website. If you include a seller SKU that you have never used to list an item on Amazon\&#39;s retail website, the seller SKU is returned in the InvalidSKUList property in the response.
426
- * @param {Array<string>} [aSINList] A list of ASIN values. Used to identify items for which you want item preparation instructions to help with item sourcing decisions. Note: ASINs must be included in the product catalog for at least one of the marketplaces that the seller participates in. Any ASIN that is not included in the product catalog for at least one of the marketplaces that the seller participates in is returned in the InvalidASINList property in the response. You can find out which marketplaces a seller participates in by calling the getMarketplaceParticipations operation in the Selling Partner API for Sellers.
427
- * @param {*} [options] Override http request option.
428
- * @throws {RequiredError}
429
- */
430
- async getPrepInstructions(shipToCountryCode, sellerSKUList, aSINList, options) {
431
- const localVarAxiosArgs = await localVarAxiosParamCreator.getPrepInstructions(shipToCountryCode, sellerSKUList, aSINList, options);
432
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
433
- const localVarOperationServerBasePath = operationServerMap["FulfillmentInboundApi.getPrepInstructions"]?.[localVarOperationServerIndex]?.url;
434
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, import_axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
435
- },
436
- /**
437
- * Returns a list of items in a specified inbound shipment, or a list of items that were updated within a specified time frame. **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 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).
438
- * @param {GetShipmentItemsQueryTypeEnum} queryType Indicates whether items are returned using a date range (by providing the LastUpdatedAfter and LastUpdatedBefore parameters), or using NextToken, which continues returning items specified in a previous request.
439
- * @param {string} marketplaceId A marketplace identifier. Specifies the marketplace where the product would be stored.
440
- * @param {string} [lastUpdatedAfter] A date used for selecting inbound shipment items that were last updated after (or at) a specified time. The selection includes updates made by Amazon and by the seller.
441
- * @param {string} [lastUpdatedBefore] A date used for selecting inbound shipment items that were last updated before (or at) a specified time. The selection includes updates made by Amazon and by the seller.
442
- * @param {string} [nextToken] A string token returned in the response to your previous request.
443
- * @param {*} [options] Override http request option.
444
- * @throws {RequiredError}
445
- */
446
- async getShipmentItems(queryType, marketplaceId, lastUpdatedAfter, lastUpdatedBefore, nextToken, options) {
447
- const localVarAxiosArgs = await localVarAxiosParamCreator.getShipmentItems(queryType, marketplaceId, lastUpdatedAfter, lastUpdatedBefore, nextToken, options);
448
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
449
- const localVarOperationServerBasePath = operationServerMap["FulfillmentInboundApi.getShipmentItems"]?.[localVarOperationServerIndex]?.url;
450
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, import_axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
451
- },
452
- /**
453
- * Returns a list of items in a specified inbound shipment. **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 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).
454
- * @param {string} shipmentId A shipment identifier used for selecting items in a specific inbound shipment.
455
- * @param {string} [marketplaceId] Deprecated. Do not use.
456
- * @param {*} [options] Override http request option.
457
- * @throws {RequiredError}
458
- */
459
- async getShipmentItemsByShipmentId(shipmentId, marketplaceId, options) {
460
- const localVarAxiosArgs = await localVarAxiosParamCreator.getShipmentItemsByShipmentId(shipmentId, marketplaceId, options);
461
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
462
- const localVarOperationServerBasePath = operationServerMap["FulfillmentInboundApi.getShipmentItemsByShipmentId"]?.[localVarOperationServerIndex]?.url;
463
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, import_axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
464
- },
465
- /**
466
- * Returns a list of inbound shipments based on 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 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).
467
- * @param {GetShipmentsQueryTypeEnum} queryType Indicates whether shipments are returned using shipment information (by providing the ShipmentStatusList or ShipmentIdList parameters), using a date range (by providing the LastUpdatedAfter and LastUpdatedBefore parameters), or by using NextToken to continue returning items specified in a previous request.
468
- * @param {string} marketplaceId A marketplace identifier. Specifies the marketplace where the product would be stored.
469
- * @param {Array<GetShipmentsShipmentStatusListEnum>} [shipmentStatusList] A list of ShipmentStatus values. Used to select shipments with a current status that matches the status values that you specify.
470
- * @param {Array<string>} [shipmentIdList] A list of shipment IDs used to select the shipments that you want. If both ShipmentStatusList and ShipmentIdList are specified, only shipments that match both parameters are returned.
471
- * @param {string} [lastUpdatedAfter] A date used for selecting inbound shipments that were last updated after (or at) a specified time. The selection includes updates made by Amazon and by the seller.
472
- * @param {string} [lastUpdatedBefore] A date used for selecting inbound shipments that were last updated before (or at) a specified time. The selection includes updates made by Amazon and by the seller.
473
- * @param {string} [nextToken] A string token returned in the response to your previous request.
474
- * @param {*} [options] Override http request option.
475
- * @throws {RequiredError}
476
- */
477
- async getShipments(queryType, marketplaceId, shipmentStatusList, shipmentIdList, lastUpdatedAfter, lastUpdatedBefore, nextToken, options) {
478
- const localVarAxiosArgs = await localVarAxiosParamCreator.getShipments(queryType, marketplaceId, shipmentStatusList, shipmentIdList, lastUpdatedAfter, lastUpdatedBefore, nextToken, options);
479
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
480
- const localVarOperationServerBasePath = operationServerMap["FulfillmentInboundApi.getShipments"]?.[localVarOperationServerIndex]?.url;
481
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, import_axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
482
- }
483
- };
336
+ /**
337
+ * FulfillmentInboundApi - functional programming interface
338
+ */
339
+ const FulfillmentInboundApiFp = function(configuration) {
340
+ const localVarAxiosParamCreator = FulfillmentInboundApiAxiosParamCreator(configuration);
341
+ return {
342
+ /**
343
+ * Returns a bill of lading for a Less Than Truckload/Full Truckload (LTL/FTL) shipment. The getBillOfLading operation returns PDF document data for printing a bill of lading for an Amazon-partnered Less Than Truckload/Full Truckload (LTL/FTL) inbound shipment. **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 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).
344
+ * @param {string} shipmentId A shipment identifier originally returned by the createInboundShipmentPlan operation.
345
+ * @param {*} [options] Override http request option.
346
+ * @throws {RequiredError}
347
+ */
348
+ async getBillOfLading(shipmentId, options) {
349
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getBillOfLading(shipmentId, options);
350
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
351
+ const localVarOperationServerBasePath = operationServerMap["FulfillmentInboundApi.getBillOfLading"]?.[localVarOperationServerIndex]?.url;
352
+ return (axios$1, basePath) => createRequestFunction(localVarAxiosArgs, axios.default, BASE_PATH, configuration)(axios$1, localVarOperationServerBasePath || basePath);
353
+ },
354
+ /**
355
+ * Returns package/pallet labels for faster and more accurate shipment processing at the Amazon fulfillment center. **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 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).
356
+ * @param {string} shipmentId A shipment identifier originally returned by the createInboundShipmentPlan operation.
357
+ * @param {GetLabelsPageTypeEnum} pageType The page type to use to print the labels. Submitting a PageType value that is not supported in your marketplace returns an error.
358
+ * @param {GetLabelsLabelTypeEnum} labelType The type of labels requested.
359
+ * @param {number} [numberOfPackages] The number of packages in the shipment.
360
+ * @param {Array<string>} [packageLabelsToPrint] A list of identifiers that specify packages for which you want package labels printed. If you provide box content information with the [FBA Inbound Shipment Carton Information Feed](https://developer-docs.amazon.com/sp-api/docs/fulfillment-by-amazon-feed-type-values#fba-inbound-shipment-carton-information-feed), then &#x60;PackageLabelsToPrint&#x60; must match the &#x60;CartonId&#x60; values you provide through that feed. If you provide box content information with the Fulfillment Inbound API v2024-03-20, then &#x60;PackageLabelsToPrint&#x60; must match the &#x60;boxID&#x60; values from the [&#x60;listShipmentBoxes&#x60;](https://developer-docs.amazon.com/sp-api/reference/listshipmentboxes) response. If these values do not match as required, the operation returns the &#x60;IncorrectPackageIdentifier&#x60; error code.
361
+ * @param {number} [numberOfPallets] The number of pallets in the shipment. This returns four identical labels for each pallet.
362
+ * @param {number} [pageSize] The page size for paginating through the total packages\&#39; labels. This is a required parameter for Non-Partnered LTL Shipments. Max value:1000.
363
+ * @param {number} [pageStartIndex] The page start index for paginating through the total packages\&#39; labels. This is a required parameter for Non-Partnered LTL Shipments.
364
+ * @param {*} [options] Override http request option.
365
+ * @throws {RequiredError}
366
+ */
367
+ async getLabels(shipmentId, pageType, labelType, numberOfPackages, packageLabelsToPrint, numberOfPallets, pageSize, pageStartIndex, options) {
368
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getLabels(shipmentId, pageType, labelType, numberOfPackages, packageLabelsToPrint, numberOfPallets, pageSize, pageStartIndex, options);
369
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
370
+ const localVarOperationServerBasePath = operationServerMap["FulfillmentInboundApi.getLabels"]?.[localVarOperationServerIndex]?.url;
371
+ return (axios$2, basePath) => createRequestFunction(localVarAxiosArgs, axios.default, BASE_PATH, configuration)(axios$2, localVarOperationServerBasePath || basePath);
372
+ },
373
+ /**
374
+ * Returns labeling requirements and item preparation instructions to help prepare items for shipment to Amazon\'s fulfillment network. **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 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).
375
+ * @param {string} shipToCountryCode The country code of the country to which the items will be shipped. Note that labeling requirements and item preparation instructions can vary by country.
376
+ * @param {Array<string>} [sellerSKUList] A list of SellerSKU values. Used to identify items for which you want labeling requirements and item preparation instructions for shipment to Amazon\&#39;s fulfillment network. The SellerSKU is qualified by the Seller ID, which is included with every call to the Seller Partner API. Note: Include seller SKUs that you have used to list items on Amazon\&#39;s retail website. If you include a seller SKU that you have never used to list an item on Amazon\&#39;s retail website, the seller SKU is returned in the InvalidSKUList property in the response.
377
+ * @param {Array<string>} [aSINList] A list of ASIN values. Used to identify items for which you want item preparation instructions to help with item sourcing decisions. Note: ASINs must be included in the product catalog for at least one of the marketplaces that the seller participates in. Any ASIN that is not included in the product catalog for at least one of the marketplaces that the seller participates in is returned in the InvalidASINList property in the response. You can find out which marketplaces a seller participates in by calling the getMarketplaceParticipations operation in the Selling Partner API for Sellers.
378
+ * @param {*} [options] Override http request option.
379
+ * @throws {RequiredError}
380
+ */
381
+ async getPrepInstructions(shipToCountryCode, sellerSKUList, aSINList, options) {
382
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getPrepInstructions(shipToCountryCode, sellerSKUList, aSINList, options);
383
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
384
+ const localVarOperationServerBasePath = operationServerMap["FulfillmentInboundApi.getPrepInstructions"]?.[localVarOperationServerIndex]?.url;
385
+ return (axios$3, basePath) => createRequestFunction(localVarAxiosArgs, axios.default, BASE_PATH, configuration)(axios$3, localVarOperationServerBasePath || basePath);
386
+ },
387
+ /**
388
+ * Returns a list of items in a specified inbound shipment, or a list of items that were updated within a specified time frame. **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 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).
389
+ * @param {GetShipmentItemsQueryTypeEnum} queryType Indicates whether items are returned using a date range (by providing the LastUpdatedAfter and LastUpdatedBefore parameters), or using NextToken, which continues returning items specified in a previous request.
390
+ * @param {string} marketplaceId A marketplace identifier. Specifies the marketplace where the product would be stored.
391
+ * @param {string} [lastUpdatedAfter] A date used for selecting inbound shipment items that were last updated after (or at) a specified time. The selection includes updates made by Amazon and by the seller.
392
+ * @param {string} [lastUpdatedBefore] A date used for selecting inbound shipment items that were last updated before (or at) a specified time. The selection includes updates made by Amazon and by the seller.
393
+ * @param {string} [nextToken] A string token returned in the response to your previous request.
394
+ * @param {*} [options] Override http request option.
395
+ * @throws {RequiredError}
396
+ */
397
+ async getShipmentItems(queryType, marketplaceId, lastUpdatedAfter, lastUpdatedBefore, nextToken, options) {
398
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getShipmentItems(queryType, marketplaceId, lastUpdatedAfter, lastUpdatedBefore, nextToken, options);
399
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
400
+ const localVarOperationServerBasePath = operationServerMap["FulfillmentInboundApi.getShipmentItems"]?.[localVarOperationServerIndex]?.url;
401
+ return (axios$4, basePath) => createRequestFunction(localVarAxiosArgs, axios.default, BASE_PATH, configuration)(axios$4, localVarOperationServerBasePath || basePath);
402
+ },
403
+ /**
404
+ * Returns a list of items in a specified inbound shipment. **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 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).
405
+ * @param {string} shipmentId A shipment identifier used for selecting items in a specific inbound shipment.
406
+ * @param {string} [marketplaceId] Deprecated. Do not use.
407
+ * @param {*} [options] Override http request option.
408
+ * @throws {RequiredError}
409
+ */
410
+ async getShipmentItemsByShipmentId(shipmentId, marketplaceId, options) {
411
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getShipmentItemsByShipmentId(shipmentId, marketplaceId, options);
412
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
413
+ const localVarOperationServerBasePath = operationServerMap["FulfillmentInboundApi.getShipmentItemsByShipmentId"]?.[localVarOperationServerIndex]?.url;
414
+ return (axios$5, basePath) => createRequestFunction(localVarAxiosArgs, axios.default, BASE_PATH, configuration)(axios$5, localVarOperationServerBasePath || basePath);
415
+ },
416
+ /**
417
+ * Returns a list of inbound shipments based on 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 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).
418
+ * @param {GetShipmentsQueryTypeEnum} queryType Indicates whether shipments are returned using shipment information (by providing the ShipmentStatusList or ShipmentIdList parameters), using a date range (by providing the LastUpdatedAfter and LastUpdatedBefore parameters), or by using NextToken to continue returning items specified in a previous request.
419
+ * @param {string} marketplaceId A marketplace identifier. Specifies the marketplace where the product would be stored.
420
+ * @param {Array<GetShipmentsShipmentStatusListEnum>} [shipmentStatusList] A list of ShipmentStatus values. Used to select shipments with a current status that matches the status values that you specify.
421
+ * @param {Array<string>} [shipmentIdList] A list of shipment IDs used to select the shipments that you want. If both ShipmentStatusList and ShipmentIdList are specified, only shipments that match both parameters are returned.
422
+ * @param {string} [lastUpdatedAfter] A date used for selecting inbound shipments that were last updated after (or at) a specified time. The selection includes updates made by Amazon and by the seller.
423
+ * @param {string} [lastUpdatedBefore] A date used for selecting inbound shipments that were last updated before (or at) a specified time. The selection includes updates made by Amazon and by the seller.
424
+ * @param {string} [nextToken] A string token returned in the response to your previous request.
425
+ * @param {*} [options] Override http request option.
426
+ * @throws {RequiredError}
427
+ */
428
+ async getShipments(queryType, marketplaceId, shipmentStatusList, shipmentIdList, lastUpdatedAfter, lastUpdatedBefore, nextToken, options) {
429
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getShipments(queryType, marketplaceId, shipmentStatusList, shipmentIdList, lastUpdatedAfter, lastUpdatedBefore, nextToken, options);
430
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
431
+ const localVarOperationServerBasePath = operationServerMap["FulfillmentInboundApi.getShipments"]?.[localVarOperationServerIndex]?.url;
432
+ return (axios$6, basePath) => createRequestFunction(localVarAxiosArgs, axios.default, BASE_PATH, configuration)(axios$6, localVarOperationServerBasePath || basePath);
433
+ }
434
+ };
484
435
  };
485
- var FulfillmentInboundApiFactory = function(configuration, basePath, axios) {
486
- const localVarFp = FulfillmentInboundApiFp(configuration);
487
- return {
488
- /**
489
- * Returns a bill of lading for a Less Than Truckload/Full Truckload (LTL/FTL) shipment. The getBillOfLading operation returns PDF document data for printing a bill of lading for an Amazon-partnered Less Than Truckload/Full Truckload (LTL/FTL) inbound shipment. **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 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).
490
- * @param {FulfillmentInboundApiGetBillOfLadingRequest} requestParameters Request parameters.
491
- * @param {*} [options] Override http request option.
492
- * @throws {RequiredError}
493
- */
494
- getBillOfLading(requestParameters, options) {
495
- return localVarFp.getBillOfLading(requestParameters.shipmentId, options).then((request) => request(axios, basePath));
496
- },
497
- /**
498
- * Returns package/pallet labels for faster and more accurate shipment processing at the Amazon fulfillment center. **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 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).
499
- * @param {FulfillmentInboundApiGetLabelsRequest} requestParameters Request parameters.
500
- * @param {*} [options] Override http request option.
501
- * @throws {RequiredError}
502
- */
503
- getLabels(requestParameters, options) {
504
- return localVarFp.getLabels(requestParameters.shipmentId, requestParameters.pageType, requestParameters.labelType, requestParameters.numberOfPackages, requestParameters.packageLabelsToPrint, requestParameters.numberOfPallets, requestParameters.pageSize, requestParameters.pageStartIndex, options).then((request) => request(axios, basePath));
505
- },
506
- /**
507
- * Returns labeling requirements and item preparation instructions to help prepare items for shipment to Amazon\'s fulfillment network. **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 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).
508
- * @param {FulfillmentInboundApiGetPrepInstructionsRequest} requestParameters Request parameters.
509
- * @param {*} [options] Override http request option.
510
- * @throws {RequiredError}
511
- */
512
- getPrepInstructions(requestParameters, options) {
513
- return localVarFp.getPrepInstructions(requestParameters.shipToCountryCode, requestParameters.sellerSKUList, requestParameters.aSINList, options).then((request) => request(axios, basePath));
514
- },
515
- /**
516
- * Returns a list of items in a specified inbound shipment, or a list of items that were updated within a specified time frame. **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 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).
517
- * @param {FulfillmentInboundApiGetShipmentItemsRequest} requestParameters Request parameters.
518
- * @param {*} [options] Override http request option.
519
- * @throws {RequiredError}
520
- */
521
- getShipmentItems(requestParameters, options) {
522
- return localVarFp.getShipmentItems(requestParameters.queryType, requestParameters.marketplaceId, requestParameters.lastUpdatedAfter, requestParameters.lastUpdatedBefore, requestParameters.nextToken, options).then((request) => request(axios, basePath));
523
- },
524
- /**
525
- * Returns a list of items in a specified inbound shipment. **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 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).
526
- * @param {FulfillmentInboundApiGetShipmentItemsByShipmentIdRequest} requestParameters Request parameters.
527
- * @param {*} [options] Override http request option.
528
- * @throws {RequiredError}
529
- */
530
- getShipmentItemsByShipmentId(requestParameters, options) {
531
- return localVarFp.getShipmentItemsByShipmentId(requestParameters.shipmentId, requestParameters.marketplaceId, options).then((request) => request(axios, basePath));
532
- },
533
- /**
534
- * Returns a list of inbound shipments based on 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 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).
535
- * @param {FulfillmentInboundApiGetShipmentsRequest} requestParameters Request parameters.
536
- * @param {*} [options] Override http request option.
537
- * @throws {RequiredError}
538
- */
539
- getShipments(requestParameters, options) {
540
- return localVarFp.getShipments(requestParameters.queryType, requestParameters.marketplaceId, requestParameters.shipmentStatusList, requestParameters.shipmentIdList, requestParameters.lastUpdatedAfter, requestParameters.lastUpdatedBefore, requestParameters.nextToken, options).then((request) => request(axios, basePath));
541
- }
542
- };
436
+ /**
437
+ * FulfillmentInboundApi - factory interface
438
+ */
439
+ const FulfillmentInboundApiFactory = function(configuration, basePath, axios$7) {
440
+ const localVarFp = FulfillmentInboundApiFp(configuration);
441
+ return {
442
+ /**
443
+ * Returns a bill of lading for a Less Than Truckload/Full Truckload (LTL/FTL) shipment. The getBillOfLading operation returns PDF document data for printing a bill of lading for an Amazon-partnered Less Than Truckload/Full Truckload (LTL/FTL) inbound shipment. **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 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).
444
+ * @param {FulfillmentInboundApiGetBillOfLadingRequest} requestParameters Request parameters.
445
+ * @param {*} [options] Override http request option.
446
+ * @throws {RequiredError}
447
+ */
448
+ getBillOfLading(requestParameters, options) {
449
+ return localVarFp.getBillOfLading(requestParameters.shipmentId, options).then((request) => request(axios$7, basePath));
450
+ },
451
+ /**
452
+ * Returns package/pallet labels for faster and more accurate shipment processing at the Amazon fulfillment center. **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 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).
453
+ * @param {FulfillmentInboundApiGetLabelsRequest} requestParameters Request parameters.
454
+ * @param {*} [options] Override http request option.
455
+ * @throws {RequiredError}
456
+ */
457
+ getLabels(requestParameters, options) {
458
+ return localVarFp.getLabels(requestParameters.shipmentId, requestParameters.pageType, requestParameters.labelType, requestParameters.numberOfPackages, requestParameters.packageLabelsToPrint, requestParameters.numberOfPallets, requestParameters.pageSize, requestParameters.pageStartIndex, options).then((request) => request(axios$7, basePath));
459
+ },
460
+ /**
461
+ * Returns labeling requirements and item preparation instructions to help prepare items for shipment to Amazon\'s fulfillment network. **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 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).
462
+ * @param {FulfillmentInboundApiGetPrepInstructionsRequest} requestParameters Request parameters.
463
+ * @param {*} [options] Override http request option.
464
+ * @throws {RequiredError}
465
+ */
466
+ getPrepInstructions(requestParameters, options) {
467
+ return localVarFp.getPrepInstructions(requestParameters.shipToCountryCode, requestParameters.sellerSKUList, requestParameters.aSINList, options).then((request) => request(axios$7, basePath));
468
+ },
469
+ /**
470
+ * Returns a list of items in a specified inbound shipment, or a list of items that were updated within a specified time frame. **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 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).
471
+ * @param {FulfillmentInboundApiGetShipmentItemsRequest} requestParameters Request parameters.
472
+ * @param {*} [options] Override http request option.
473
+ * @throws {RequiredError}
474
+ */
475
+ getShipmentItems(requestParameters, options) {
476
+ return localVarFp.getShipmentItems(requestParameters.queryType, requestParameters.marketplaceId, requestParameters.lastUpdatedAfter, requestParameters.lastUpdatedBefore, requestParameters.nextToken, options).then((request) => request(axios$7, basePath));
477
+ },
478
+ /**
479
+ * Returns a list of items in a specified inbound shipment. **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 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).
480
+ * @param {FulfillmentInboundApiGetShipmentItemsByShipmentIdRequest} requestParameters Request parameters.
481
+ * @param {*} [options] Override http request option.
482
+ * @throws {RequiredError}
483
+ */
484
+ getShipmentItemsByShipmentId(requestParameters, options) {
485
+ return localVarFp.getShipmentItemsByShipmentId(requestParameters.shipmentId, requestParameters.marketplaceId, options).then((request) => request(axios$7, basePath));
486
+ },
487
+ /**
488
+ * Returns a list of inbound shipments based on 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 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).
489
+ * @param {FulfillmentInboundApiGetShipmentsRequest} requestParameters Request parameters.
490
+ * @param {*} [options] Override http request option.
491
+ * @throws {RequiredError}
492
+ */
493
+ getShipments(requestParameters, options) {
494
+ return localVarFp.getShipments(requestParameters.queryType, requestParameters.marketplaceId, requestParameters.shipmentStatusList, requestParameters.shipmentIdList, requestParameters.lastUpdatedAfter, requestParameters.lastUpdatedBefore, requestParameters.nextToken, options).then((request) => request(axios$7, basePath));
495
+ }
496
+ };
543
497
  };
498
+ /**
499
+ * FulfillmentInboundApi - object-oriented interface
500
+ */
544
501
  var FulfillmentInboundApi = class extends BaseAPI {
545
- /**
546
- * Returns a bill of lading for a Less Than Truckload/Full Truckload (LTL/FTL) shipment. The getBillOfLading operation returns PDF document data for printing a bill of lading for an Amazon-partnered Less Than Truckload/Full Truckload (LTL/FTL) inbound shipment. **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 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).
547
- * @param {FulfillmentInboundApiGetBillOfLadingRequest} requestParameters Request parameters.
548
- * @param {*} [options] Override http request option.
549
- * @throws {RequiredError}
550
- */
551
- getBillOfLading(requestParameters, options) {
552
- return FulfillmentInboundApiFp(this.configuration).getBillOfLading(requestParameters.shipmentId, options).then((request) => request(this.axios, this.basePath));
553
- }
554
- /**
555
- * Returns package/pallet labels for faster and more accurate shipment processing at the Amazon fulfillment center. **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 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).
556
- * @param {FulfillmentInboundApiGetLabelsRequest} requestParameters Request parameters.
557
- * @param {*} [options] Override http request option.
558
- * @throws {RequiredError}
559
- */
560
- getLabels(requestParameters, options) {
561
- return FulfillmentInboundApiFp(this.configuration).getLabels(requestParameters.shipmentId, requestParameters.pageType, requestParameters.labelType, requestParameters.numberOfPackages, requestParameters.packageLabelsToPrint, requestParameters.numberOfPallets, requestParameters.pageSize, requestParameters.pageStartIndex, options).then((request) => request(this.axios, this.basePath));
562
- }
563
- /**
564
- * Returns labeling requirements and item preparation instructions to help prepare items for shipment to Amazon\'s fulfillment network. **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 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).
565
- * @param {FulfillmentInboundApiGetPrepInstructionsRequest} requestParameters Request parameters.
566
- * @param {*} [options] Override http request option.
567
- * @throws {RequiredError}
568
- */
569
- getPrepInstructions(requestParameters, options) {
570
- return FulfillmentInboundApiFp(this.configuration).getPrepInstructions(requestParameters.shipToCountryCode, requestParameters.sellerSKUList, requestParameters.aSINList, options).then((request) => request(this.axios, this.basePath));
571
- }
572
- /**
573
- * Returns a list of items in a specified inbound shipment, or a list of items that were updated within a specified time frame. **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 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).
574
- * @param {FulfillmentInboundApiGetShipmentItemsRequest} requestParameters Request parameters.
575
- * @param {*} [options] Override http request option.
576
- * @throws {RequiredError}
577
- */
578
- getShipmentItems(requestParameters, options) {
579
- return FulfillmentInboundApiFp(this.configuration).getShipmentItems(requestParameters.queryType, requestParameters.marketplaceId, requestParameters.lastUpdatedAfter, requestParameters.lastUpdatedBefore, requestParameters.nextToken, options).then((request) => request(this.axios, this.basePath));
580
- }
581
- /**
582
- * Returns a list of items in a specified inbound shipment. **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 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).
583
- * @param {FulfillmentInboundApiGetShipmentItemsByShipmentIdRequest} requestParameters Request parameters.
584
- * @param {*} [options] Override http request option.
585
- * @throws {RequiredError}
586
- */
587
- getShipmentItemsByShipmentId(requestParameters, options) {
588
- return FulfillmentInboundApiFp(this.configuration).getShipmentItemsByShipmentId(requestParameters.shipmentId, requestParameters.marketplaceId, options).then((request) => request(this.axios, this.basePath));
589
- }
590
- /**
591
- * Returns a list of inbound shipments based on 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 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).
592
- * @param {FulfillmentInboundApiGetShipmentsRequest} requestParameters Request parameters.
593
- * @param {*} [options] Override http request option.
594
- * @throws {RequiredError}
595
- */
596
- getShipments(requestParameters, options) {
597
- return FulfillmentInboundApiFp(this.configuration).getShipments(requestParameters.queryType, requestParameters.marketplaceId, requestParameters.shipmentStatusList, requestParameters.shipmentIdList, requestParameters.lastUpdatedAfter, requestParameters.lastUpdatedBefore, requestParameters.nextToken, options).then((request) => request(this.axios, this.basePath));
598
- }
502
+ /**
503
+ * Returns a bill of lading for a Less Than Truckload/Full Truckload (LTL/FTL) shipment. The getBillOfLading operation returns PDF document data for printing a bill of lading for an Amazon-partnered Less Than Truckload/Full Truckload (LTL/FTL) inbound shipment. **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 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).
504
+ * @param {FulfillmentInboundApiGetBillOfLadingRequest} requestParameters Request parameters.
505
+ * @param {*} [options] Override http request option.
506
+ * @throws {RequiredError}
507
+ */
508
+ getBillOfLading(requestParameters, options) {
509
+ return FulfillmentInboundApiFp(this.configuration).getBillOfLading(requestParameters.shipmentId, options).then((request) => request(this.axios, this.basePath));
510
+ }
511
+ /**
512
+ * Returns package/pallet labels for faster and more accurate shipment processing at the Amazon fulfillment center. **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 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).
513
+ * @param {FulfillmentInboundApiGetLabelsRequest} requestParameters Request parameters.
514
+ * @param {*} [options] Override http request option.
515
+ * @throws {RequiredError}
516
+ */
517
+ getLabels(requestParameters, options) {
518
+ return FulfillmentInboundApiFp(this.configuration).getLabels(requestParameters.shipmentId, requestParameters.pageType, requestParameters.labelType, requestParameters.numberOfPackages, requestParameters.packageLabelsToPrint, requestParameters.numberOfPallets, requestParameters.pageSize, requestParameters.pageStartIndex, options).then((request) => request(this.axios, this.basePath));
519
+ }
520
+ /**
521
+ * Returns labeling requirements and item preparation instructions to help prepare items for shipment to Amazon\'s fulfillment network. **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 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).
522
+ * @param {FulfillmentInboundApiGetPrepInstructionsRequest} requestParameters Request parameters.
523
+ * @param {*} [options] Override http request option.
524
+ * @throws {RequiredError}
525
+ */
526
+ getPrepInstructions(requestParameters, options) {
527
+ return FulfillmentInboundApiFp(this.configuration).getPrepInstructions(requestParameters.shipToCountryCode, requestParameters.sellerSKUList, requestParameters.aSINList, options).then((request) => request(this.axios, this.basePath));
528
+ }
529
+ /**
530
+ * Returns a list of items in a specified inbound shipment, or a list of items that were updated within a specified time frame. **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 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).
531
+ * @param {FulfillmentInboundApiGetShipmentItemsRequest} requestParameters Request parameters.
532
+ * @param {*} [options] Override http request option.
533
+ * @throws {RequiredError}
534
+ */
535
+ getShipmentItems(requestParameters, options) {
536
+ return FulfillmentInboundApiFp(this.configuration).getShipmentItems(requestParameters.queryType, requestParameters.marketplaceId, requestParameters.lastUpdatedAfter, requestParameters.lastUpdatedBefore, requestParameters.nextToken, options).then((request) => request(this.axios, this.basePath));
537
+ }
538
+ /**
539
+ * Returns a list of items in a specified inbound shipment. **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 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).
540
+ * @param {FulfillmentInboundApiGetShipmentItemsByShipmentIdRequest} requestParameters Request parameters.
541
+ * @param {*} [options] Override http request option.
542
+ * @throws {RequiredError}
543
+ */
544
+ getShipmentItemsByShipmentId(requestParameters, options) {
545
+ return FulfillmentInboundApiFp(this.configuration).getShipmentItemsByShipmentId(requestParameters.shipmentId, requestParameters.marketplaceId, options).then((request) => request(this.axios, this.basePath));
546
+ }
547
+ /**
548
+ * Returns a list of inbound shipments based on 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 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).
549
+ * @param {FulfillmentInboundApiGetShipmentsRequest} requestParameters Request parameters.
550
+ * @param {*} [options] Override http request option.
551
+ * @throws {RequiredError}
552
+ */
553
+ getShipments(requestParameters, options) {
554
+ return FulfillmentInboundApiFp(this.configuration).getShipments(requestParameters.queryType, requestParameters.marketplaceId, requestParameters.shipmentStatusList, requestParameters.shipmentIdList, requestParameters.lastUpdatedAfter, requestParameters.lastUpdatedBefore, requestParameters.nextToken, options).then((request) => request(this.axios, this.basePath));
555
+ }
599
556
  };
600
- var GetLabelsPageTypeEnum = {
601
- PackageLabelLetter2: "PackageLabel_Letter_2",
602
- PackageLabelLetter4: "PackageLabel_Letter_4",
603
- PackageLabelLetter6: "PackageLabel_Letter_6",
604
- PackageLabelLetter6CarrierLeft: "PackageLabel_Letter_6_CarrierLeft",
605
- PackageLabelA42: "PackageLabel_A4_2",
606
- PackageLabelA44: "PackageLabel_A4_4",
607
- PackageLabelPlainPaper: "PackageLabel_Plain_Paper",
608
- PackageLabelPlainPaperCarrierBottom: "PackageLabel_Plain_Paper_CarrierBottom",
609
- PackageLabelThermal: "PackageLabel_Thermal",
610
- PackageLabelThermalUnified: "PackageLabel_Thermal_Unified",
611
- PackageLabelThermalNonPcp: "PackageLabel_Thermal_NonPCP",
612
- PackageLabelThermalNoCarrierRotation: "PackageLabel_Thermal_No_Carrier_Rotation"
557
+ const GetLabelsPageTypeEnum = {
558
+ PackageLabelLetter2: "PackageLabel_Letter_2",
559
+ PackageLabelLetter4: "PackageLabel_Letter_4",
560
+ PackageLabelLetter6: "PackageLabel_Letter_6",
561
+ PackageLabelLetter6CarrierLeft: "PackageLabel_Letter_6_CarrierLeft",
562
+ PackageLabelA42: "PackageLabel_A4_2",
563
+ PackageLabelA44: "PackageLabel_A4_4",
564
+ PackageLabelPlainPaper: "PackageLabel_Plain_Paper",
565
+ PackageLabelPlainPaperCarrierBottom: "PackageLabel_Plain_Paper_CarrierBottom",
566
+ PackageLabelThermal: "PackageLabel_Thermal",
567
+ PackageLabelThermalUnified: "PackageLabel_Thermal_Unified",
568
+ PackageLabelThermalNonPcp: "PackageLabel_Thermal_NonPCP",
569
+ PackageLabelThermalNoCarrierRotation: "PackageLabel_Thermal_No_Carrier_Rotation"
613
570
  };
614
- var GetLabelsLabelTypeEnum = {
615
- Barcode2D: "BARCODE_2D",
616
- Unique: "UNIQUE",
617
- Pallet: "PALLET"
571
+ const GetLabelsLabelTypeEnum = {
572
+ Barcode2D: "BARCODE_2D",
573
+ Unique: "UNIQUE",
574
+ Pallet: "PALLET"
618
575
  };
619
- var GetShipmentItemsQueryTypeEnum = {
620
- DateRange: "DATE_RANGE",
621
- NextToken: "NEXT_TOKEN"
576
+ const GetShipmentItemsQueryTypeEnum = {
577
+ DateRange: "DATE_RANGE",
578
+ NextToken: "NEXT_TOKEN"
622
579
  };
623
- var GetShipmentsQueryTypeEnum = {
624
- Shipment: "SHIPMENT",
625
- DateRange: "DATE_RANGE",
626
- NextToken: "NEXT_TOKEN"
580
+ const GetShipmentsQueryTypeEnum = {
581
+ Shipment: "SHIPMENT",
582
+ DateRange: "DATE_RANGE",
583
+ NextToken: "NEXT_TOKEN"
627
584
  };
628
- var GetShipmentsShipmentStatusListEnum = {
629
- Working: "WORKING",
630
- ReadyToShip: "READY_TO_SHIP",
631
- Shipped: "SHIPPED",
632
- Receiving: "RECEIVING",
633
- Cancelled: "CANCELLED",
634
- Deleted: "DELETED",
635
- Closed: "CLOSED",
636
- Error: "ERROR",
637
- InTransit: "IN_TRANSIT",
638
- Delivered: "DELIVERED",
639
- CheckedIn: "CHECKED_IN"
585
+ const GetShipmentsShipmentStatusListEnum = {
586
+ Working: "WORKING",
587
+ ReadyToShip: "READY_TO_SHIP",
588
+ Shipped: "SHIPPED",
589
+ Receiving: "RECEIVING",
590
+ Cancelled: "CANCELLED",
591
+ Deleted: "DELETED",
592
+ Closed: "CLOSED",
593
+ Error: "ERROR",
594
+ InTransit: "IN_TRANSIT",
595
+ Delivered: "DELIVERED",
596
+ CheckedIn: "CHECKED_IN"
640
597
  };
641
-
642
- // src/api-model/configuration.ts
598
+ //#endregion
599
+ //#region src/api-model/configuration.ts
643
600
  var Configuration = class {
644
- /**
645
- * parameter for apiKey security
646
- * @param name security name
647
- */
648
- apiKey;
649
- /**
650
- * parameter for basic security
651
- */
652
- username;
653
- /**
654
- * parameter for basic security
655
- */
656
- password;
657
- /**
658
- * parameter for oauth2 security
659
- * @param name security name
660
- * @param scopes oauth2 scope
661
- */
662
- accessToken;
663
- /**
664
- * parameter for aws4 signature security
665
- * @param {Object} AWS4Signature - AWS4 Signature security
666
- * @param {string} options.region - aws region
667
- * @param {string} options.service - name of the service.
668
- * @param {string} credentials.accessKeyId - aws access key id
669
- * @param {string} credentials.secretAccessKey - aws access key
670
- * @param {string} credentials.sessionToken - aws session token
671
- * @memberof Configuration
672
- */
673
- awsv4;
674
- /**
675
- * override base path
676
- */
677
- basePath;
678
- /**
679
- * override server index
680
- */
681
- serverIndex;
682
- /**
683
- * base options for axios calls
684
- */
685
- baseOptions;
686
- /**
687
- * The FormData constructor that will be used to create multipart form data
688
- * requests. You can inject this here so that execution environments that
689
- * do not support the FormData class can still run the generated client.
690
- *
691
- * @type {new () => FormData}
692
- */
693
- formDataCtor;
694
- constructor(param = {}) {
695
- this.apiKey = param.apiKey;
696
- this.username = param.username;
697
- this.password = param.password;
698
- this.accessToken = param.accessToken;
699
- this.awsv4 = param.awsv4;
700
- this.basePath = param.basePath;
701
- this.serverIndex = param.serverIndex;
702
- this.baseOptions = {
703
- ...param.baseOptions,
704
- headers: {
705
- ...param.baseOptions?.headers
706
- }
707
- };
708
- this.formDataCtor = param.formDataCtor;
709
- }
710
- /**
711
- * Check if the given MIME is a JSON MIME.
712
- * JSON MIME examples:
713
- * application/json
714
- * application/json; charset=UTF8
715
- * APPLICATION/JSON
716
- * application/vnd.company+json
717
- * @param mime - MIME (Multipurpose Internet Mail Extensions)
718
- * @return True if the given MIME is JSON, false otherwise.
719
- */
720
- isJsonMime(mime) {
721
- const jsonMime = /^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$/i;
722
- return mime !== null && jsonMime.test(mime);
723
- }
601
+ /**
602
+ * parameter for apiKey security
603
+ * @param name security name
604
+ */
605
+ apiKey;
606
+ /**
607
+ * parameter for basic security
608
+ */
609
+ username;
610
+ /**
611
+ * parameter for basic security
612
+ */
613
+ password;
614
+ /**
615
+ * parameter for oauth2 security
616
+ * @param name security name
617
+ * @param scopes oauth2 scope
618
+ */
619
+ accessToken;
620
+ /**
621
+ * parameter for aws4 signature security
622
+ * @param {Object} AWS4Signature - AWS4 Signature security
623
+ * @param {string} options.region - aws region
624
+ * @param {string} options.service - name of the service.
625
+ * @param {string} credentials.accessKeyId - aws access key id
626
+ * @param {string} credentials.secretAccessKey - aws access key
627
+ * @param {string} credentials.sessionToken - aws session token
628
+ * @memberof Configuration
629
+ */
630
+ awsv4;
631
+ /**
632
+ * override base path
633
+ */
634
+ basePath;
635
+ /**
636
+ * override server index
637
+ */
638
+ serverIndex;
639
+ /**
640
+ * base options for axios calls
641
+ */
642
+ baseOptions;
643
+ /**
644
+ * The FormData constructor that will be used to create multipart form data
645
+ * requests. You can inject this here so that execution environments that
646
+ * do not support the FormData class can still run the generated client.
647
+ *
648
+ * @type {new () => FormData}
649
+ */
650
+ formDataCtor;
651
+ constructor(param = {}) {
652
+ this.apiKey = param.apiKey;
653
+ this.username = param.username;
654
+ this.password = param.password;
655
+ this.accessToken = param.accessToken;
656
+ this.awsv4 = param.awsv4;
657
+ this.basePath = param.basePath;
658
+ this.serverIndex = param.serverIndex;
659
+ this.baseOptions = {
660
+ ...param.baseOptions,
661
+ headers: { ...param.baseOptions?.headers }
662
+ };
663
+ this.formDataCtor = param.formDataCtor;
664
+ }
665
+ /**
666
+ * Check if the given MIME is a JSON MIME.
667
+ * JSON MIME examples:
668
+ * application/json
669
+ * application/json; charset=UTF8
670
+ * APPLICATION/JSON
671
+ * application/vnd.company+json
672
+ * @param mime - MIME (Multipurpose Internet Mail Extensions)
673
+ * @return True if the given MIME is JSON, false otherwise.
674
+ */
675
+ isJsonMime(mime) {
676
+ return mime !== null && /^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$/i.test(mime);
677
+ }
724
678
  };
725
-
726
- // src/api-model/models/barcode-instruction.ts
727
- var BarcodeInstruction = {
728
- RequiresFnskuLabel: "RequiresFNSKULabel",
729
- CanUseOriginalBarcode: "CanUseOriginalBarcode",
730
- MustProvideSellerSku: "MustProvideSellerSKU"
679
+ //#endregion
680
+ //#region src/api-model/models/barcode-instruction.ts
681
+ /**
682
+ * Selling Partner API for Fulfillment Inbound
683
+ * The Selling Partner API for Fulfillment Inbound lets you create applications that create and update inbound shipments of inventory to Amazon\'s fulfillment network.
684
+ *
685
+ * The version of the OpenAPI document: v0
686
+ *
687
+ *
688
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
689
+ * https://openapi-generator.tech
690
+ * Do not edit the class manually.
691
+ */
692
+ /**
693
+ * Labeling requirements for the item. For more information about FBA labeling requirements, see the Seller Central Help for your marketplace.
694
+ */
695
+ const BarcodeInstruction = {
696
+ RequiresFnskuLabel: "RequiresFNSKULabel",
697
+ CanUseOriginalBarcode: "CanUseOriginalBarcode",
698
+ MustProvideSellerSku: "MustProvideSellerSKU"
731
699
  };
732
-
733
- // src/api-model/models/box-contents-source.ts
734
- var BoxContentsSource = {
735
- None: "NONE",
736
- Feed: "FEED",
737
- _2DBarcode: "2D_BARCODE",
738
- Interactive: "INTERACTIVE"
700
+ //#endregion
701
+ //#region src/api-model/models/box-contents-source.ts
702
+ /**
703
+ * Selling Partner API for Fulfillment Inbound
704
+ * The Selling Partner API for Fulfillment Inbound lets you create applications that create and update inbound shipments of inventory to Amazon\'s fulfillment network.
705
+ *
706
+ * The version of the OpenAPI document: v0
707
+ *
708
+ *
709
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
710
+ * https://openapi-generator.tech
711
+ * Do not edit the class manually.
712
+ */
713
+ /**
714
+ * Where the seller provided box contents information for a shipment.
715
+ */
716
+ const BoxContentsSource = {
717
+ None: "NONE",
718
+ Feed: "FEED",
719
+ _2DBarcode: "2D_BARCODE",
720
+ Interactive: "INTERACTIVE"
739
721
  };
740
-
741
- // src/api-model/models/currency-code.ts
742
- var CurrencyCode = {
743
- Usd: "USD",
744
- Gbp: "GBP"
722
+ //#endregion
723
+ //#region src/api-model/models/currency-code.ts
724
+ /**
725
+ * Selling Partner API for Fulfillment Inbound
726
+ * The Selling Partner API for Fulfillment Inbound lets you create applications that create and update inbound shipments of inventory to Amazon\'s fulfillment network.
727
+ *
728
+ * The version of the OpenAPI document: v0
729
+ *
730
+ *
731
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
732
+ * https://openapi-generator.tech
733
+ * Do not edit the class manually.
734
+ */
735
+ /**
736
+ * The currency code.
737
+ */
738
+ const CurrencyCode = {
739
+ Usd: "USD",
740
+ Gbp: "GBP"
745
741
  };
746
-
747
- // src/api-model/models/error-reason.ts
748
- var ErrorReason = {
749
- DoesNotExist: "DoesNotExist",
750
- InvalidAsin: "InvalidASIN"
742
+ //#endregion
743
+ //#region src/api-model/models/error-reason.ts
744
+ /**
745
+ * Selling Partner API for Fulfillment Inbound
746
+ * The Selling Partner API for Fulfillment Inbound lets you create applications that create and update inbound shipments of inventory to Amazon\'s fulfillment network.
747
+ *
748
+ * The version of the OpenAPI document: v0
749
+ *
750
+ *
751
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
752
+ * https://openapi-generator.tech
753
+ * Do not edit the class manually.
754
+ */
755
+ /**
756
+ * The reason that the ASIN is invalid.
757
+ */
758
+ const ErrorReason = {
759
+ DoesNotExist: "DoesNotExist",
760
+ InvalidAsin: "InvalidASIN"
751
761
  };
752
-
753
- // src/api-model/models/label-prep-type.ts
754
- var LabelPrepType = {
755
- NoLabel: "NO_LABEL",
756
- SellerLabel: "SELLER_LABEL",
757
- AmazonLabel: "AMAZON_LABEL"
762
+ //#endregion
763
+ //#region src/api-model/models/label-prep-type.ts
764
+ /**
765
+ * Selling Partner API for Fulfillment Inbound
766
+ * The Selling Partner API for Fulfillment Inbound lets you create applications that create and update inbound shipments of inventory to Amazon\'s fulfillment network.
767
+ *
768
+ * The version of the OpenAPI document: v0
769
+ *
770
+ *
771
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
772
+ * https://openapi-generator.tech
773
+ * Do not edit the class manually.
774
+ */
775
+ /**
776
+ * The type of label preparation that is required for the inbound shipment.
777
+ */
778
+ const LabelPrepType = {
779
+ NoLabel: "NO_LABEL",
780
+ SellerLabel: "SELLER_LABEL",
781
+ AmazonLabel: "AMAZON_LABEL"
758
782
  };
759
-
760
- // src/api-model/models/prep-guidance.ts
761
- var PrepGuidance = {
762
- ConsultHelpDocuments: "ConsultHelpDocuments",
763
- NoAdditionalPrepRequired: "NoAdditionalPrepRequired",
764
- SeePrepInstructionsList: "SeePrepInstructionsList"
783
+ //#endregion
784
+ //#region src/api-model/models/prep-guidance.ts
785
+ /**
786
+ * Selling Partner API for Fulfillment Inbound
787
+ * The Selling Partner API for Fulfillment Inbound lets you create applications that create and update inbound shipments of inventory to Amazon\'s fulfillment network.
788
+ *
789
+ * The version of the OpenAPI document: v0
790
+ *
791
+ *
792
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
793
+ * https://openapi-generator.tech
794
+ * Do not edit the class manually.
795
+ */
796
+ /**
797
+ * Item preparation instructions.
798
+ */
799
+ const PrepGuidance = {
800
+ ConsultHelpDocuments: "ConsultHelpDocuments",
801
+ NoAdditionalPrepRequired: "NoAdditionalPrepRequired",
802
+ SeePrepInstructionsList: "SeePrepInstructionsList"
765
803
  };
766
-
767
- // src/api-model/models/prep-instruction.ts
768
- var PrepInstruction = {
769
- Polybagging: "Polybagging",
770
- BubbleWrapping: "BubbleWrapping",
771
- Taping: "Taping",
772
- BlackShrinkWrapping: "BlackShrinkWrapping",
773
- Labeling: "Labeling",
774
- HangGarment: "HangGarment",
775
- SetCreation: "SetCreation",
776
- Boxing: "Boxing",
777
- RemoveFromHanger: "RemoveFromHanger",
778
- Debundle: "Debundle",
779
- SuffocationStickering: "SuffocationStickering",
780
- CapSealing: "CapSealing",
781
- SetStickering: "SetStickering",
782
- BlankStickering: "BlankStickering",
783
- ShipsInProductPackaging: "ShipsInProductPackaging",
784
- NoPrep: "NoPrep"
804
+ //#endregion
805
+ //#region src/api-model/models/prep-instruction.ts
806
+ /**
807
+ * Selling Partner API for Fulfillment Inbound
808
+ * The Selling Partner API for Fulfillment Inbound lets you create applications that create and update inbound shipments of inventory to Amazon\'s fulfillment network.
809
+ *
810
+ * The version of the OpenAPI document: v0
811
+ *
812
+ *
813
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
814
+ * https://openapi-generator.tech
815
+ * Do not edit the class manually.
816
+ */
817
+ /**
818
+ * Preparation instructions for shipping an item to Amazon\'s fulfillment network. For more information about preparing items for shipment to Amazon\'s fulfillment network, see the Seller Central Help for your marketplace.
819
+ */
820
+ const PrepInstruction = {
821
+ Polybagging: "Polybagging",
822
+ BubbleWrapping: "BubbleWrapping",
823
+ Taping: "Taping",
824
+ BlackShrinkWrapping: "BlackShrinkWrapping",
825
+ Labeling: "Labeling",
826
+ HangGarment: "HangGarment",
827
+ SetCreation: "SetCreation",
828
+ Boxing: "Boxing",
829
+ RemoveFromHanger: "RemoveFromHanger",
830
+ Debundle: "Debundle",
831
+ SuffocationStickering: "SuffocationStickering",
832
+ CapSealing: "CapSealing",
833
+ SetStickering: "SetStickering",
834
+ BlankStickering: "BlankStickering",
835
+ ShipsInProductPackaging: "ShipsInProductPackaging",
836
+ NoPrep: "NoPrep"
785
837
  };
786
-
787
- // src/api-model/models/prep-owner.ts
788
- var PrepOwner = {
789
- Amazon: "AMAZON",
790
- Seller: "SELLER"
838
+ //#endregion
839
+ //#region src/api-model/models/prep-owner.ts
840
+ /**
841
+ * Selling Partner API for Fulfillment Inbound
842
+ * The Selling Partner API for Fulfillment Inbound lets you create applications that create and update inbound shipments of inventory to Amazon\'s fulfillment network.
843
+ *
844
+ * The version of the OpenAPI document: v0
845
+ *
846
+ *
847
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
848
+ * https://openapi-generator.tech
849
+ * Do not edit the class manually.
850
+ */
851
+ /**
852
+ * Indicates who will prepare the item.
853
+ */
854
+ const PrepOwner = {
855
+ Amazon: "AMAZON",
856
+ Seller: "SELLER"
791
857
  };
792
-
793
- // src/api-model/models/shipment-status.ts
794
- var ShipmentStatus = {
795
- Working: "WORKING",
796
- Shipped: "SHIPPED",
797
- Receiving: "RECEIVING",
798
- Cancelled: "CANCELLED",
799
- Deleted: "DELETED",
800
- Closed: "CLOSED",
801
- Error: "ERROR",
802
- InTransit: "IN_TRANSIT",
803
- Delivered: "DELIVERED",
804
- CheckedIn: "CHECKED_IN"
858
+ //#endregion
859
+ //#region src/api-model/models/shipment-status.ts
860
+ /**
861
+ * Selling Partner API for Fulfillment Inbound
862
+ * The Selling Partner API for Fulfillment Inbound lets you create applications that create and update inbound shipments of inventory to Amazon\'s fulfillment network.
863
+ *
864
+ * The version of the OpenAPI document: v0
865
+ *
866
+ *
867
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
868
+ * https://openapi-generator.tech
869
+ * Do not edit the class manually.
870
+ */
871
+ /**
872
+ * Indicates the status of the inbound shipment. When used with the createInboundShipment operation, WORKING is the only valid value. When used with the updateInboundShipment operation, possible values are WORKING, SHIPPED or CANCELLED.
873
+ */
874
+ const ShipmentStatus = {
875
+ Working: "WORKING",
876
+ Shipped: "SHIPPED",
877
+ Receiving: "RECEIVING",
878
+ Cancelled: "CANCELLED",
879
+ Deleted: "DELETED",
880
+ Closed: "CLOSED",
881
+ Error: "ERROR",
882
+ InTransit: "IN_TRANSIT",
883
+ Delivered: "DELIVERED",
884
+ CheckedIn: "CHECKED_IN"
805
885
  };
806
-
807
- // src/client.ts
808
- var clientRateLimits = [
809
- {
810
- method: "get",
811
- // eslint-disable-next-line prefer-regex-literals
812
- urlRegex: new RegExp("^/fba/inbound/v0/prepInstructions$"),
813
- rate: 2,
814
- burst: 30
815
- },
816
- {
817
- method: "get",
818
- // eslint-disable-next-line prefer-regex-literals
819
- urlRegex: new RegExp("^/fba/inbound/v0/shipments/[^/]*/labels$"),
820
- rate: 2,
821
- burst: 30
822
- },
823
- {
824
- method: "get",
825
- // eslint-disable-next-line prefer-regex-literals
826
- urlRegex: new RegExp("^/fba/inbound/v0/shipments/[^/]*/billOfLading$"),
827
- rate: 2,
828
- burst: 30
829
- },
830
- {
831
- method: "get",
832
- // eslint-disable-next-line prefer-regex-literals
833
- urlRegex: new RegExp("^/fba/inbound/v0/shipments$"),
834
- rate: 2,
835
- burst: 30
836
- },
837
- {
838
- method: "get",
839
- // eslint-disable-next-line prefer-regex-literals
840
- urlRegex: new RegExp("^/fba/inbound/v0/shipments/[^/]*/items$"),
841
- rate: 2,
842
- burst: 30
843
- },
844
- {
845
- method: "get",
846
- // eslint-disable-next-line prefer-regex-literals
847
- urlRegex: new RegExp("^/fba/inbound/v0/shipmentItems$"),
848
- rate: 2,
849
- burst: 30
850
- }
886
+ //#endregion
887
+ //#region src/client.ts
888
+ const clientRateLimits = [
889
+ {
890
+ method: "get",
891
+ urlRegex: /^\/fba\/inbound\/v0\/prepInstructions$/v,
892
+ rate: 2,
893
+ burst: 30
894
+ },
895
+ {
896
+ method: "get",
897
+ urlRegex: /^\/fba\/inbound\/v0\/shipments\/[^\/]*\/labels$/v,
898
+ rate: 2,
899
+ burst: 30
900
+ },
901
+ {
902
+ method: "get",
903
+ urlRegex: /^\/fba\/inbound\/v0\/shipments\/[^\/]*\/billOfLading$/v,
904
+ rate: 2,
905
+ burst: 30
906
+ },
907
+ {
908
+ method: "get",
909
+ urlRegex: /^\/fba\/inbound\/v0\/shipments$/v,
910
+ rate: 2,
911
+ burst: 30
912
+ },
913
+ {
914
+ method: "get",
915
+ urlRegex: /^\/fba\/inbound\/v0\/shipments\/[^\/]*\/items$/v,
916
+ rate: 2,
917
+ burst: 30
918
+ },
919
+ {
920
+ method: "get",
921
+ urlRegex: /^\/fba\/inbound\/v0\/shipmentItems$/v,
922
+ rate: 2,
923
+ burst: 30
924
+ }
851
925
  ];
852
926
  var FulfillmentInboundApiClient = class extends FulfillmentInboundApi {
853
- constructor(configuration) {
854
- const { axios, endpoint } = (0, import_common2.createAxiosInstance)(configuration, clientRateLimits);
855
- super(new Configuration(), endpoint, axios);
856
- }
927
+ constructor(configuration) {
928
+ const { axios, endpoint } = (0, _sp_api_sdk_common.createAxiosInstance)(configuration, clientRateLimits);
929
+ super(new Configuration(), endpoint, axios);
930
+ }
857
931
  };
858
- // Annotate the CommonJS export names for ESM import in node:
859
- 0 && (module.exports = {
860
- BarcodeInstruction,
861
- BoxContentsSource,
862
- CurrencyCode,
863
- ErrorReason,
864
- FulfillmentInboundApi,
865
- FulfillmentInboundApiAxiosParamCreator,
866
- FulfillmentInboundApiClient,
867
- FulfillmentInboundApiFactory,
868
- FulfillmentInboundApiFp,
869
- GetLabelsLabelTypeEnum,
870
- GetLabelsPageTypeEnum,
871
- GetShipmentItemsQueryTypeEnum,
872
- GetShipmentsQueryTypeEnum,
873
- GetShipmentsShipmentStatusListEnum,
874
- LabelPrepType,
875
- PrepGuidance,
876
- PrepInstruction,
877
- PrepOwner,
878
- ShipmentStatus,
879
- clientRateLimits
880
- });
932
+ //#endregion
933
+ exports.BarcodeInstruction = BarcodeInstruction;
934
+ exports.BoxContentsSource = BoxContentsSource;
935
+ exports.CurrencyCode = CurrencyCode;
936
+ exports.ErrorReason = ErrorReason;
937
+ exports.FulfillmentInboundApi = FulfillmentInboundApi;
938
+ exports.FulfillmentInboundApiAxiosParamCreator = FulfillmentInboundApiAxiosParamCreator;
939
+ exports.FulfillmentInboundApiClient = FulfillmentInboundApiClient;
940
+ exports.FulfillmentInboundApiFactory = FulfillmentInboundApiFactory;
941
+ exports.FulfillmentInboundApiFp = FulfillmentInboundApiFp;
942
+ exports.GetLabelsLabelTypeEnum = GetLabelsLabelTypeEnum;
943
+ exports.GetLabelsPageTypeEnum = GetLabelsPageTypeEnum;
944
+ exports.GetShipmentItemsQueryTypeEnum = GetShipmentItemsQueryTypeEnum;
945
+ exports.GetShipmentsQueryTypeEnum = GetShipmentsQueryTypeEnum;
946
+ exports.GetShipmentsShipmentStatusListEnum = GetShipmentsShipmentStatusListEnum;
947
+ exports.LabelPrepType = LabelPrepType;
948
+ exports.PrepGuidance = PrepGuidance;
949
+ exports.PrepInstruction = PrepInstruction;
950
+ exports.PrepOwner = PrepOwner;
951
+ exports.ShipmentStatus = ShipmentStatus;
952
+ exports.clientRateLimits = clientRateLimits;
953
+
881
954
  //# sourceMappingURL=index.cjs.map