@sp-api-sdk/fba-inventory-api-v1 4.0.0 → 4.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,553 +1,528 @@
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
- FbaInventoryApi: () => FbaInventoryApi,
34
- FbaInventoryApiAxiosParamCreator: () => FbaInventoryApiAxiosParamCreator,
35
- FbaInventoryApiClient: () => FbaInventoryApiClient,
36
- FbaInventoryApiFactory: () => FbaInventoryApiFactory,
37
- FbaInventoryApiFp: () => FbaInventoryApiFp,
38
- GetInventorySummariesGranularityTypeEnum: () => GetInventorySummariesGranularityTypeEnum,
39
- ResearchingQuantityEntryNameEnum: () => ResearchingQuantityEntryNameEnum,
40
- clientRateLimits: () => clientRateLimits
41
- });
42
- module.exports = __toCommonJS(index_exports);
43
-
44
- // src/client.ts
45
- var import_common2 = require("@sp-api-sdk/common");
46
-
47
- // src/api-model/api/fba-inventory-api.ts
48
- var import_axios2 = __toESM(require("axios"), 1);
49
-
50
- // src/api-model/base.ts
51
- var import_axios = __toESM(require("axios"), 1);
52
- var BASE_PATH = "https://sellingpartnerapi-na.amazon.com".replace(/\/+$/, "");
53
- var COLLECTION_FORMATS = {
54
- csv: ",",
55
- ssv: " ",
56
- tsv: " ",
57
- 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: "|"
58
34
  };
59
35
  var BaseAPI = class {
60
- constructor(configuration, basePath = BASE_PATH, axios = import_axios.default) {
61
- this.basePath = basePath;
62
- this.axios = axios;
63
- if (configuration) {
64
- this.configuration = configuration;
65
- this.basePath = configuration.basePath ?? basePath;
66
- }
67
- }
68
- basePath;
69
- axios;
70
- configuration;
36
+ basePath;
37
+ axios;
38
+ configuration;
39
+ constructor(configuration, basePath = BASE_PATH, axios$6 = axios.default) {
40
+ this.basePath = basePath;
41
+ this.axios = axios$6;
42
+ if (configuration) {
43
+ this.configuration = configuration;
44
+ this.basePath = configuration.basePath ?? basePath;
45
+ }
46
+ }
71
47
  };
72
48
  var RequiredError = class extends Error {
73
- constructor(field, msg) {
74
- super(msg);
75
- this.field = field;
76
- this.name = "RequiredError";
77
- }
78
- field;
49
+ field;
50
+ constructor(field, msg) {
51
+ super(msg);
52
+ this.field = field;
53
+ this.name = "RequiredError";
54
+ }
79
55
  };
80
- var operationServerMap = {};
81
-
82
- // src/api-model/common.ts
83
- var DUMMY_BASE_URL = "https://example.com";
84
- var assertParamExists = function(functionName, paramName, paramValue) {
85
- if (paramValue === null || paramValue === void 0) {
86
- throw new RequiredError(paramName, `Required parameter ${paramName} was null or undefined when calling ${functionName}.`);
87
- }
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}.`);
88
66
  };
89
67
  function setFlattenedQueryParams(urlSearchParams, parameter, key = "") {
90
- if (parameter == null) return;
91
- if (typeof parameter === "object") {
92
- if (Array.isArray(parameter) || parameter instanceof Set) {
93
- parameter.forEach((item) => setFlattenedQueryParams(urlSearchParams, item, key));
94
- } else {
95
- Object.keys(parameter).forEach(
96
- (currentKey) => setFlattenedQueryParams(urlSearchParams, parameter[currentKey], `${key}${key !== "" ? "." : ""}${currentKey}`)
97
- );
98
- }
99
- } else {
100
- if (urlSearchParams.has(key)) {
101
- urlSearchParams.append(key, parameter);
102
- } else {
103
- urlSearchParams.set(key, parameter);
104
- }
105
- }
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);
106
73
  }
107
- var setSearchParams = function(url, ...objects) {
108
- const searchParams = new URLSearchParams(url.search);
109
- setFlattenedQueryParams(searchParams, objects);
110
- 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();
111
78
  };
112
- var replaceWithSerializableTypeIfNeeded = function(key, value) {
113
- if (value instanceof Set) {
114
- return Array.from(value);
115
- } else {
116
- return value;
117
- }
79
+ /**
80
+ * JSON serialization helper function which replaces instances of unserializable types with serializable ones.
81
+ * This function will run for every key-value pair encountered by JSON.stringify while traversing an object.
82
+ * Converting a set to a string will return an empty object, so an intermediate conversion to an array is required.
83
+ */
84
+ const replaceWithSerializableTypeIfNeeded = function(key, value) {
85
+ if (value instanceof Set) return Array.from(value);
86
+ else return value;
118
87
  };
119
- var serializeDataIfNeeded = function(value, requestOptions, configuration) {
120
- const nonString = typeof value !== "string";
121
- const needsSerialization = nonString && configuration && configuration.isJsonMime ? configuration.isJsonMime(requestOptions.headers["Content-Type"]) : nonString;
122
- return needsSerialization ? JSON.stringify(value !== void 0 ? value : {}, replaceWithSerializableTypeIfNeeded) : value || "";
88
+ const serializeDataIfNeeded = function(value, requestOptions, configuration) {
89
+ const nonString = typeof value !== "string";
90
+ return (nonString && configuration && configuration.isJsonMime ? configuration.isJsonMime(requestOptions.headers["Content-Type"]) : nonString) ? JSON.stringify(value !== void 0 ? value : {}, replaceWithSerializableTypeIfNeeded) : value || "";
123
91
  };
124
- var toPathString = function(url) {
125
- return url.pathname + url.search + url.hash;
92
+ const toPathString = function(url) {
93
+ return url.pathname + url.search + url.hash;
126
94
  };
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
- };
95
+ const createRequestFunction = function(axiosArgs, globalAxios, BASE_PATH, configuration) {
96
+ return (axios = globalAxios, basePath = BASE_PATH) => {
97
+ const axiosRequestArgs = {
98
+ ...axiosArgs.options,
99
+ url: (axios.defaults.baseURL ? "" : configuration?.basePath ?? basePath) + axiosArgs.url
100
+ };
101
+ return axios.request(axiosRequestArgs);
102
+ };
132
103
  };
133
-
134
- // src/api-model/api/fba-inventory-api.ts
135
- var FbaInventoryApiAxiosParamCreator = function(configuration) {
136
- return {
137
- /**
138
- * Requests that Amazon add items to the Sandbox Inventory with desired amount of quantity in the sandbox environment. This is a sandbox-only operation and must be directed to a sandbox endpoint. Refer to [Selling Partner API sandbox](https://developer-docs.amazon.com/sp-api/docs/the-selling-partner-api-sandbox) for more information.
139
- * @param {string} xAmznIdempotencyToken A unique token/requestId provided with each call to ensure idempotency.
140
- * @param {AddInventoryRequest} addInventoryRequestBody List of items to add to Sandbox inventory.
141
- * @param {*} [options] Override http request option.
142
- * @throws {RequiredError}
143
- */
144
- addInventory: async (xAmznIdempotencyToken, addInventoryRequestBody, options = {}) => {
145
- assertParamExists("addInventory", "xAmznIdempotencyToken", xAmznIdempotencyToken);
146
- assertParamExists("addInventory", "addInventoryRequestBody", addInventoryRequestBody);
147
- const localVarPath = `/fba/inventory/v1/items/inventory`;
148
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
149
- let baseOptions;
150
- if (configuration) {
151
- baseOptions = configuration.baseOptions;
152
- }
153
- const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
154
- const localVarHeaderParameter = {};
155
- const localVarQueryParameter = {};
156
- localVarHeaderParameter["Content-Type"] = "application/json";
157
- localVarHeaderParameter["Accept"] = "application/json";
158
- if (xAmznIdempotencyToken != null) {
159
- localVarHeaderParameter["x-amzn-idempotency-token"] = String(xAmznIdempotencyToken);
160
- }
161
- setSearchParams(localVarUrlObj, localVarQueryParameter);
162
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
163
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
164
- localVarRequestOptions.data = serializeDataIfNeeded(addInventoryRequestBody, localVarRequestOptions, configuration);
165
- return {
166
- url: toPathString(localVarUrlObj),
167
- options: localVarRequestOptions
168
- };
169
- },
170
- /**
171
- * Requests that Amazon create product-details in the Sandbox Inventory in the sandbox environment. This is a sandbox-only operation and must be directed to a sandbox endpoint. Refer to [Selling Partner API sandbox](https://developer-docs.amazon.com/sp-api/docs/the-selling-partner-api-sandbox) for more information.
172
- * @param {CreateInventoryItemRequest} createInventoryItemRequestBody CreateInventoryItem Request Body Parameter.
173
- * @param {*} [options] Override http request option.
174
- * @throws {RequiredError}
175
- */
176
- createInventoryItem: async (createInventoryItemRequestBody, options = {}) => {
177
- assertParamExists("createInventoryItem", "createInventoryItemRequestBody", createInventoryItemRequestBody);
178
- const localVarPath = `/fba/inventory/v1/items`;
179
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
180
- let baseOptions;
181
- if (configuration) {
182
- baseOptions = configuration.baseOptions;
183
- }
184
- const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
185
- const localVarHeaderParameter = {};
186
- const localVarQueryParameter = {};
187
- localVarHeaderParameter["Content-Type"] = "application/json";
188
- localVarHeaderParameter["Accept"] = "application/json";
189
- setSearchParams(localVarUrlObj, localVarQueryParameter);
190
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
191
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
192
- localVarRequestOptions.data = serializeDataIfNeeded(createInventoryItemRequestBody, localVarRequestOptions, configuration);
193
- return {
194
- url: toPathString(localVarUrlObj),
195
- options: localVarRequestOptions
196
- };
197
- },
198
- /**
199
- * Requests that Amazon Deletes an item from the Sandbox Inventory in the sandbox environment. This is a sandbox-only operation and must be directed to a sandbox endpoint. Refer to [Selling Partner API sandbox](https://developer-docs.amazon.com/sp-api/docs/the-selling-partner-api-sandbox) for more information.
200
- * @param {string} sellerSku A single seller SKU used for querying the specified seller SKU inventory summaries.
201
- * @param {string} marketplaceId The marketplace ID for the marketplace for which the sellerSku is to be deleted.
202
- * @param {*} [options] Override http request option.
203
- * @throws {RequiredError}
204
- */
205
- deleteInventoryItem: async (sellerSku, marketplaceId, options = {}) => {
206
- assertParamExists("deleteInventoryItem", "sellerSku", sellerSku);
207
- assertParamExists("deleteInventoryItem", "marketplaceId", marketplaceId);
208
- const localVarPath = `/fba/inventory/v1/items/{sellerSku}`.replace("{sellerSku}", encodeURIComponent(String(sellerSku)));
209
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
210
- let baseOptions;
211
- if (configuration) {
212
- baseOptions = configuration.baseOptions;
213
- }
214
- const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
215
- const localVarHeaderParameter = {};
216
- const localVarQueryParameter = {};
217
- if (marketplaceId !== void 0) {
218
- localVarQueryParameter["marketplaceId"] = marketplaceId;
219
- }
220
- localVarHeaderParameter["Accept"] = "application/json";
221
- setSearchParams(localVarUrlObj, localVarQueryParameter);
222
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
223
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
224
- return {
225
- url: toPathString(localVarUrlObj),
226
- options: localVarRequestOptions
227
- };
228
- },
229
- /**
230
- * Returns a list of inventory summaries. The summaries returned depend on the presence or absence of the startDateTime, sellerSkus and sellerSku parameters: - All inventory summaries with available details are returned when the startDateTime, sellerSkus and sellerSku parameters are omitted. - When startDateTime is provided, the operation returns inventory summaries that have had changes after the date and time specified. The sellerSkus and sellerSku parameters are ignored. Important: To avoid errors, use both startDateTime and nextToken to get the next page of inventory summaries that have changed after the date and time specified. - When the sellerSkus parameter is provided, the operation returns inventory summaries for only the specified sellerSkus. The sellerSku parameter is ignored. - When the sellerSku parameter is provided, the operation returns inventory summaries for only the specified sellerSku. Note: The parameters associated with this operation may contain special characters that must be encoded to successfully call the API. To avoid errors with SKUs when encoding URLs, refer to [URL Encoding](https://developer-docs.amazon.com/sp-api/docs/url-encoding). Usage Plan: | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 2 | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits).
231
- * @param {GetInventorySummariesGranularityTypeEnum} granularityType The granularity type for the inventory aggregation level.
232
- * @param {string} granularityId The granularity ID for the inventory aggregation level.
233
- * @param {Array<string>} marketplaceIds The marketplace ID for the marketplace for which to return inventory summaries.
234
- * @param {boolean} [details] true to return inventory summaries with additional summarized inventory details and quantities. Otherwise, returns inventory summaries only (default value).
235
- * @param {string} [startDateTime] A start date and time in ISO8601 format. If specified, all inventory summaries that have changed since then are returned. You must specify a date and time that is no earlier than 18 months prior to the date and time when you call the API. Note: Changes in inboundWorkingQuantity, inboundShippedQuantity and inboundReceivingQuantity are not detected.
236
- * @param {Array<string>} [sellerSkus] A list of seller SKUs for which to return inventory summaries. You may specify up to 50 SKUs.
237
- * @param {string} [sellerSku] A single seller SKU used for querying the specified seller SKU inventory summaries.
238
- * @param {string} [nextToken] String token returned in the response of your previous request. The string token will expire 30 seconds after being created.
239
- * @param {*} [options] Override http request option.
240
- * @throws {RequiredError}
241
- */
242
- getInventorySummaries: async (granularityType, granularityId, marketplaceIds, details, startDateTime, sellerSkus, sellerSku, nextToken, options = {}) => {
243
- assertParamExists("getInventorySummaries", "granularityType", granularityType);
244
- assertParamExists("getInventorySummaries", "granularityId", granularityId);
245
- assertParamExists("getInventorySummaries", "marketplaceIds", marketplaceIds);
246
- const localVarPath = `/fba/inventory/v1/summaries`;
247
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
248
- let baseOptions;
249
- if (configuration) {
250
- baseOptions = configuration.baseOptions;
251
- }
252
- const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
253
- const localVarHeaderParameter = {};
254
- const localVarQueryParameter = {};
255
- if (details !== void 0) {
256
- localVarQueryParameter["details"] = details;
257
- }
258
- if (granularityType !== void 0) {
259
- localVarQueryParameter["granularityType"] = granularityType;
260
- }
261
- if (granularityId !== void 0) {
262
- localVarQueryParameter["granularityId"] = granularityId;
263
- }
264
- if (startDateTime !== void 0) {
265
- localVarQueryParameter["startDateTime"] = startDateTime instanceof Date ? startDateTime.toISOString() : startDateTime;
266
- }
267
- if (sellerSkus) {
268
- localVarQueryParameter["sellerSkus"] = sellerSkus.join(COLLECTION_FORMATS.csv);
269
- }
270
- if (sellerSku !== void 0) {
271
- localVarQueryParameter["sellerSku"] = sellerSku;
272
- }
273
- if (nextToken !== void 0) {
274
- localVarQueryParameter["nextToken"] = nextToken;
275
- }
276
- if (marketplaceIds) {
277
- localVarQueryParameter["marketplaceIds"] = marketplaceIds.join(COLLECTION_FORMATS.csv);
278
- }
279
- localVarHeaderParameter["Accept"] = "application/json";
280
- setSearchParams(localVarUrlObj, localVarQueryParameter);
281
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
282
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
283
- return {
284
- url: toPathString(localVarUrlObj),
285
- options: localVarRequestOptions
286
- };
287
- }
288
- };
104
+ //#endregion
105
+ //#region src/api-model/api/fba-inventory-api.ts
106
+ /**
107
+ * FbaInventoryApi - axios parameter creator
108
+ */
109
+ const FbaInventoryApiAxiosParamCreator = function(configuration) {
110
+ return {
111
+ /**
112
+ * Requests that Amazon add items to the Sandbox Inventory with desired amount of quantity in the sandbox environment. This is a sandbox-only operation and must be directed to a sandbox endpoint. Refer to [Selling Partner API sandbox](https://developer-docs.amazon.com/sp-api/docs/the-selling-partner-api-sandbox) for more information.
113
+ * @param {string} xAmznIdempotencyToken A unique token/requestId provided with each call to ensure idempotency.
114
+ * @param {AddInventoryRequest} addInventoryRequestBody List of items to add to Sandbox inventory.
115
+ * @param {*} [options] Override http request option.
116
+ * @throws {RequiredError}
117
+ */
118
+ addInventory: async (xAmznIdempotencyToken, addInventoryRequestBody, options = {}) => {
119
+ assertParamExists("addInventory", "xAmznIdempotencyToken", xAmznIdempotencyToken);
120
+ assertParamExists("addInventory", "addInventoryRequestBody", addInventoryRequestBody);
121
+ const localVarUrlObj = new URL(`/fba/inventory/v1/items/inventory`, DUMMY_BASE_URL);
122
+ let baseOptions;
123
+ if (configuration) baseOptions = configuration.baseOptions;
124
+ const localVarRequestOptions = {
125
+ method: "POST",
126
+ ...baseOptions,
127
+ ...options
128
+ };
129
+ const localVarHeaderParameter = {};
130
+ const localVarQueryParameter = {};
131
+ localVarHeaderParameter["Content-Type"] = "application/json";
132
+ localVarHeaderParameter["Accept"] = "application/json";
133
+ if (xAmznIdempotencyToken != null) localVarHeaderParameter["x-amzn-idempotency-token"] = String(xAmznIdempotencyToken);
134
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
135
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
136
+ localVarRequestOptions.headers = {
137
+ ...localVarHeaderParameter,
138
+ ...headersFromBaseOptions,
139
+ ...options.headers
140
+ };
141
+ localVarRequestOptions.data = serializeDataIfNeeded(addInventoryRequestBody, localVarRequestOptions, configuration);
142
+ return {
143
+ url: toPathString(localVarUrlObj),
144
+ options: localVarRequestOptions
145
+ };
146
+ },
147
+ /**
148
+ * Requests that Amazon create product-details in the Sandbox Inventory in the sandbox environment. This is a sandbox-only operation and must be directed to a sandbox endpoint. Refer to [Selling Partner API sandbox](https://developer-docs.amazon.com/sp-api/docs/the-selling-partner-api-sandbox) for more information.
149
+ * @param {CreateInventoryItemRequest} createInventoryItemRequestBody CreateInventoryItem Request Body Parameter.
150
+ * @param {*} [options] Override http request option.
151
+ * @throws {RequiredError}
152
+ */
153
+ createInventoryItem: async (createInventoryItemRequestBody, options = {}) => {
154
+ assertParamExists("createInventoryItem", "createInventoryItemRequestBody", createInventoryItemRequestBody);
155
+ const localVarUrlObj = new URL(`/fba/inventory/v1/items`, DUMMY_BASE_URL);
156
+ let baseOptions;
157
+ if (configuration) baseOptions = configuration.baseOptions;
158
+ const localVarRequestOptions = {
159
+ method: "POST",
160
+ ...baseOptions,
161
+ ...options
162
+ };
163
+ const localVarHeaderParameter = {};
164
+ const localVarQueryParameter = {};
165
+ localVarHeaderParameter["Content-Type"] = "application/json";
166
+ localVarHeaderParameter["Accept"] = "application/json";
167
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
168
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
169
+ localVarRequestOptions.headers = {
170
+ ...localVarHeaderParameter,
171
+ ...headersFromBaseOptions,
172
+ ...options.headers
173
+ };
174
+ localVarRequestOptions.data = serializeDataIfNeeded(createInventoryItemRequestBody, localVarRequestOptions, configuration);
175
+ return {
176
+ url: toPathString(localVarUrlObj),
177
+ options: localVarRequestOptions
178
+ };
179
+ },
180
+ /**
181
+ * Requests that Amazon Deletes an item from the Sandbox Inventory in the sandbox environment. This is a sandbox-only operation and must be directed to a sandbox endpoint. Refer to [Selling Partner API sandbox](https://developer-docs.amazon.com/sp-api/docs/the-selling-partner-api-sandbox) for more information.
182
+ * @param {string} sellerSku A single seller SKU used for querying the specified seller SKU inventory summaries.
183
+ * @param {string} marketplaceId The marketplace ID for the marketplace for which the sellerSku is to be deleted.
184
+ * @param {*} [options] Override http request option.
185
+ * @throws {RequiredError}
186
+ */
187
+ deleteInventoryItem: async (sellerSku, marketplaceId, options = {}) => {
188
+ assertParamExists("deleteInventoryItem", "sellerSku", sellerSku);
189
+ assertParamExists("deleteInventoryItem", "marketplaceId", marketplaceId);
190
+ const localVarPath = `/fba/inventory/v1/items/{sellerSku}`.replace("{sellerSku}", encodeURIComponent(String(sellerSku)));
191
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
192
+ let baseOptions;
193
+ if (configuration) baseOptions = configuration.baseOptions;
194
+ const localVarRequestOptions = {
195
+ method: "DELETE",
196
+ ...baseOptions,
197
+ ...options
198
+ };
199
+ const localVarHeaderParameter = {};
200
+ const localVarQueryParameter = {};
201
+ if (marketplaceId !== void 0) localVarQueryParameter["marketplaceId"] = marketplaceId;
202
+ localVarHeaderParameter["Accept"] = "application/json";
203
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
204
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
205
+ localVarRequestOptions.headers = {
206
+ ...localVarHeaderParameter,
207
+ ...headersFromBaseOptions,
208
+ ...options.headers
209
+ };
210
+ return {
211
+ url: toPathString(localVarUrlObj),
212
+ options: localVarRequestOptions
213
+ };
214
+ },
215
+ /**
216
+ * Returns a list of inventory summaries. The summaries returned depend on the presence or absence of the startDateTime, sellerSkus and sellerSku parameters: - All inventory summaries with available details are returned when the startDateTime, sellerSkus and sellerSku parameters are omitted. - When startDateTime is provided, the operation returns inventory summaries that have had changes after the date and time specified. The sellerSkus and sellerSku parameters are ignored. Important: To avoid errors, use both startDateTime and nextToken to get the next page of inventory summaries that have changed after the date and time specified. - When the sellerSkus parameter is provided, the operation returns inventory summaries for only the specified sellerSkus. The sellerSku parameter is ignored. - When the sellerSku parameter is provided, the operation returns inventory summaries for only the specified sellerSku. Note: The parameters associated with this operation may contain special characters that must be encoded to successfully call the API. To avoid errors with SKUs when encoding URLs, refer to [URL Encoding](https://developer-docs.amazon.com/sp-api/docs/url-encoding). Usage Plan: | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 2 | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits).
217
+ * @param {GetInventorySummariesGranularityTypeEnum} granularityType The granularity type for the inventory aggregation level.
218
+ * @param {string} granularityId The granularity ID for the inventory aggregation level.
219
+ * @param {Array<string>} marketplaceIds The marketplace ID for the marketplace for which to return inventory summaries.
220
+ * @param {boolean} [details] true to return inventory summaries with additional summarized inventory details and quantities. Otherwise, returns inventory summaries only (default value).
221
+ * @param {string} [startDateTime] A start date and time in ISO8601 format. If specified, all inventory summaries that have changed since then are returned. You must specify a date and time that is no earlier than 18 months prior to the date and time when you call the API. Note: Changes in inboundWorkingQuantity, inboundShippedQuantity and inboundReceivingQuantity are not detected.
222
+ * @param {Array<string>} [sellerSkus] A list of seller SKUs for which to return inventory summaries. You may specify up to 50 SKUs.
223
+ * @param {string} [sellerSku] A single seller SKU used for querying the specified seller SKU inventory summaries.
224
+ * @param {string} [nextToken] String token returned in the response of your previous request. The string token will expire 30 seconds after being created.
225
+ * @param {*} [options] Override http request option.
226
+ * @throws {RequiredError}
227
+ */
228
+ getInventorySummaries: async (granularityType, granularityId, marketplaceIds, details, startDateTime, sellerSkus, sellerSku, nextToken, options = {}) => {
229
+ assertParamExists("getInventorySummaries", "granularityType", granularityType);
230
+ assertParamExists("getInventorySummaries", "granularityId", granularityId);
231
+ assertParamExists("getInventorySummaries", "marketplaceIds", marketplaceIds);
232
+ const localVarUrlObj = new URL(`/fba/inventory/v1/summaries`, DUMMY_BASE_URL);
233
+ let baseOptions;
234
+ if (configuration) baseOptions = configuration.baseOptions;
235
+ const localVarRequestOptions = {
236
+ method: "GET",
237
+ ...baseOptions,
238
+ ...options
239
+ };
240
+ const localVarHeaderParameter = {};
241
+ const localVarQueryParameter = {};
242
+ if (details !== void 0) localVarQueryParameter["details"] = details;
243
+ if (granularityType !== void 0) localVarQueryParameter["granularityType"] = granularityType;
244
+ if (granularityId !== void 0) localVarQueryParameter["granularityId"] = granularityId;
245
+ if (startDateTime !== void 0) localVarQueryParameter["startDateTime"] = startDateTime instanceof Date ? startDateTime.toISOString() : startDateTime;
246
+ if (sellerSkus) localVarQueryParameter["sellerSkus"] = sellerSkus.join(COLLECTION_FORMATS.csv);
247
+ if (sellerSku !== void 0) localVarQueryParameter["sellerSku"] = sellerSku;
248
+ if (nextToken !== void 0) localVarQueryParameter["nextToken"] = nextToken;
249
+ if (marketplaceIds) localVarQueryParameter["marketplaceIds"] = marketplaceIds.join(COLLECTION_FORMATS.csv);
250
+ localVarHeaderParameter["Accept"] = "application/json";
251
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
252
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
253
+ localVarRequestOptions.headers = {
254
+ ...localVarHeaderParameter,
255
+ ...headersFromBaseOptions,
256
+ ...options.headers
257
+ };
258
+ return {
259
+ url: toPathString(localVarUrlObj),
260
+ options: localVarRequestOptions
261
+ };
262
+ }
263
+ };
289
264
  };
290
- var FbaInventoryApiFp = function(configuration) {
291
- const localVarAxiosParamCreator = FbaInventoryApiAxiosParamCreator(configuration);
292
- return {
293
- /**
294
- * Requests that Amazon add items to the Sandbox Inventory with desired amount of quantity in the sandbox environment. This is a sandbox-only operation and must be directed to a sandbox endpoint. Refer to [Selling Partner API sandbox](https://developer-docs.amazon.com/sp-api/docs/the-selling-partner-api-sandbox) for more information.
295
- * @param {string} xAmznIdempotencyToken A unique token/requestId provided with each call to ensure idempotency.
296
- * @param {AddInventoryRequest} addInventoryRequestBody List of items to add to Sandbox inventory.
297
- * @param {*} [options] Override http request option.
298
- * @throws {RequiredError}
299
- */
300
- async addInventory(xAmznIdempotencyToken, addInventoryRequestBody, options) {
301
- const localVarAxiosArgs = await localVarAxiosParamCreator.addInventory(xAmznIdempotencyToken, addInventoryRequestBody, options);
302
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
303
- const localVarOperationServerBasePath = operationServerMap["FbaInventoryApi.addInventory"]?.[localVarOperationServerIndex]?.url;
304
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, import_axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
305
- },
306
- /**
307
- * Requests that Amazon create product-details in the Sandbox Inventory in the sandbox environment. This is a sandbox-only operation and must be directed to a sandbox endpoint. Refer to [Selling Partner API sandbox](https://developer-docs.amazon.com/sp-api/docs/the-selling-partner-api-sandbox) for more information.
308
- * @param {CreateInventoryItemRequest} createInventoryItemRequestBody CreateInventoryItem Request Body Parameter.
309
- * @param {*} [options] Override http request option.
310
- * @throws {RequiredError}
311
- */
312
- async createInventoryItem(createInventoryItemRequestBody, options) {
313
- const localVarAxiosArgs = await localVarAxiosParamCreator.createInventoryItem(createInventoryItemRequestBody, options);
314
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
315
- const localVarOperationServerBasePath = operationServerMap["FbaInventoryApi.createInventoryItem"]?.[localVarOperationServerIndex]?.url;
316
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, import_axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
317
- },
318
- /**
319
- * Requests that Amazon Deletes an item from the Sandbox Inventory in the sandbox environment. This is a sandbox-only operation and must be directed to a sandbox endpoint. Refer to [Selling Partner API sandbox](https://developer-docs.amazon.com/sp-api/docs/the-selling-partner-api-sandbox) for more information.
320
- * @param {string} sellerSku A single seller SKU used for querying the specified seller SKU inventory summaries.
321
- * @param {string} marketplaceId The marketplace ID for the marketplace for which the sellerSku is to be deleted.
322
- * @param {*} [options] Override http request option.
323
- * @throws {RequiredError}
324
- */
325
- async deleteInventoryItem(sellerSku, marketplaceId, options) {
326
- const localVarAxiosArgs = await localVarAxiosParamCreator.deleteInventoryItem(sellerSku, marketplaceId, options);
327
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
328
- const localVarOperationServerBasePath = operationServerMap["FbaInventoryApi.deleteInventoryItem"]?.[localVarOperationServerIndex]?.url;
329
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, import_axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
330
- },
331
- /**
332
- * Returns a list of inventory summaries. The summaries returned depend on the presence or absence of the startDateTime, sellerSkus and sellerSku parameters: - All inventory summaries with available details are returned when the startDateTime, sellerSkus and sellerSku parameters are omitted. - When startDateTime is provided, the operation returns inventory summaries that have had changes after the date and time specified. The sellerSkus and sellerSku parameters are ignored. Important: To avoid errors, use both startDateTime and nextToken to get the next page of inventory summaries that have changed after the date and time specified. - When the sellerSkus parameter is provided, the operation returns inventory summaries for only the specified sellerSkus. The sellerSku parameter is ignored. - When the sellerSku parameter is provided, the operation returns inventory summaries for only the specified sellerSku. Note: The parameters associated with this operation may contain special characters that must be encoded to successfully call the API. To avoid errors with SKUs when encoding URLs, refer to [URL Encoding](https://developer-docs.amazon.com/sp-api/docs/url-encoding). Usage Plan: | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 2 | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits).
333
- * @param {GetInventorySummariesGranularityTypeEnum} granularityType The granularity type for the inventory aggregation level.
334
- * @param {string} granularityId The granularity ID for the inventory aggregation level.
335
- * @param {Array<string>} marketplaceIds The marketplace ID for the marketplace for which to return inventory summaries.
336
- * @param {boolean} [details] true to return inventory summaries with additional summarized inventory details and quantities. Otherwise, returns inventory summaries only (default value).
337
- * @param {string} [startDateTime] A start date and time in ISO8601 format. If specified, all inventory summaries that have changed since then are returned. You must specify a date and time that is no earlier than 18 months prior to the date and time when you call the API. Note: Changes in inboundWorkingQuantity, inboundShippedQuantity and inboundReceivingQuantity are not detected.
338
- * @param {Array<string>} [sellerSkus] A list of seller SKUs for which to return inventory summaries. You may specify up to 50 SKUs.
339
- * @param {string} [sellerSku] A single seller SKU used for querying the specified seller SKU inventory summaries.
340
- * @param {string} [nextToken] String token returned in the response of your previous request. The string token will expire 30 seconds after being created.
341
- * @param {*} [options] Override http request option.
342
- * @throws {RequiredError}
343
- */
344
- async getInventorySummaries(granularityType, granularityId, marketplaceIds, details, startDateTime, sellerSkus, sellerSku, nextToken, options) {
345
- const localVarAxiosArgs = await localVarAxiosParamCreator.getInventorySummaries(granularityType, granularityId, marketplaceIds, details, startDateTime, sellerSkus, sellerSku, nextToken, options);
346
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
347
- const localVarOperationServerBasePath = operationServerMap["FbaInventoryApi.getInventorySummaries"]?.[localVarOperationServerIndex]?.url;
348
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, import_axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
349
- }
350
- };
265
+ /**
266
+ * FbaInventoryApi - functional programming interface
267
+ */
268
+ const FbaInventoryApiFp = function(configuration) {
269
+ const localVarAxiosParamCreator = FbaInventoryApiAxiosParamCreator(configuration);
270
+ return {
271
+ /**
272
+ * Requests that Amazon add items to the Sandbox Inventory with desired amount of quantity in the sandbox environment. This is a sandbox-only operation and must be directed to a sandbox endpoint. Refer to [Selling Partner API sandbox](https://developer-docs.amazon.com/sp-api/docs/the-selling-partner-api-sandbox) for more information.
273
+ * @param {string} xAmznIdempotencyToken A unique token/requestId provided with each call to ensure idempotency.
274
+ * @param {AddInventoryRequest} addInventoryRequestBody List of items to add to Sandbox inventory.
275
+ * @param {*} [options] Override http request option.
276
+ * @throws {RequiredError}
277
+ */
278
+ async addInventory(xAmznIdempotencyToken, addInventoryRequestBody, options) {
279
+ const localVarAxiosArgs = await localVarAxiosParamCreator.addInventory(xAmznIdempotencyToken, addInventoryRequestBody, options);
280
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
281
+ const localVarOperationServerBasePath = operationServerMap["FbaInventoryApi.addInventory"]?.[localVarOperationServerIndex]?.url;
282
+ return (axios$1, basePath) => createRequestFunction(localVarAxiosArgs, axios.default, BASE_PATH, configuration)(axios$1, localVarOperationServerBasePath || basePath);
283
+ },
284
+ /**
285
+ * Requests that Amazon create product-details in the Sandbox Inventory in the sandbox environment. This is a sandbox-only operation and must be directed to a sandbox endpoint. Refer to [Selling Partner API sandbox](https://developer-docs.amazon.com/sp-api/docs/the-selling-partner-api-sandbox) for more information.
286
+ * @param {CreateInventoryItemRequest} createInventoryItemRequestBody CreateInventoryItem Request Body Parameter.
287
+ * @param {*} [options] Override http request option.
288
+ * @throws {RequiredError}
289
+ */
290
+ async createInventoryItem(createInventoryItemRequestBody, options) {
291
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createInventoryItem(createInventoryItemRequestBody, options);
292
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
293
+ const localVarOperationServerBasePath = operationServerMap["FbaInventoryApi.createInventoryItem"]?.[localVarOperationServerIndex]?.url;
294
+ return (axios$2, basePath) => createRequestFunction(localVarAxiosArgs, axios.default, BASE_PATH, configuration)(axios$2, localVarOperationServerBasePath || basePath);
295
+ },
296
+ /**
297
+ * Requests that Amazon Deletes an item from the Sandbox Inventory in the sandbox environment. This is a sandbox-only operation and must be directed to a sandbox endpoint. Refer to [Selling Partner API sandbox](https://developer-docs.amazon.com/sp-api/docs/the-selling-partner-api-sandbox) for more information.
298
+ * @param {string} sellerSku A single seller SKU used for querying the specified seller SKU inventory summaries.
299
+ * @param {string} marketplaceId The marketplace ID for the marketplace for which the sellerSku is to be deleted.
300
+ * @param {*} [options] Override http request option.
301
+ * @throws {RequiredError}
302
+ */
303
+ async deleteInventoryItem(sellerSku, marketplaceId, options) {
304
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteInventoryItem(sellerSku, marketplaceId, options);
305
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
306
+ const localVarOperationServerBasePath = operationServerMap["FbaInventoryApi.deleteInventoryItem"]?.[localVarOperationServerIndex]?.url;
307
+ return (axios$3, basePath) => createRequestFunction(localVarAxiosArgs, axios.default, BASE_PATH, configuration)(axios$3, localVarOperationServerBasePath || basePath);
308
+ },
309
+ /**
310
+ * Returns a list of inventory summaries. The summaries returned depend on the presence or absence of the startDateTime, sellerSkus and sellerSku parameters: - All inventory summaries with available details are returned when the startDateTime, sellerSkus and sellerSku parameters are omitted. - When startDateTime is provided, the operation returns inventory summaries that have had changes after the date and time specified. The sellerSkus and sellerSku parameters are ignored. Important: To avoid errors, use both startDateTime and nextToken to get the next page of inventory summaries that have changed after the date and time specified. - When the sellerSkus parameter is provided, the operation returns inventory summaries for only the specified sellerSkus. The sellerSku parameter is ignored. - When the sellerSku parameter is provided, the operation returns inventory summaries for only the specified sellerSku. Note: The parameters associated with this operation may contain special characters that must be encoded to successfully call the API. To avoid errors with SKUs when encoding URLs, refer to [URL Encoding](https://developer-docs.amazon.com/sp-api/docs/url-encoding). Usage Plan: | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 2 | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits).
311
+ * @param {GetInventorySummariesGranularityTypeEnum} granularityType The granularity type for the inventory aggregation level.
312
+ * @param {string} granularityId The granularity ID for the inventory aggregation level.
313
+ * @param {Array<string>} marketplaceIds The marketplace ID for the marketplace for which to return inventory summaries.
314
+ * @param {boolean} [details] true to return inventory summaries with additional summarized inventory details and quantities. Otherwise, returns inventory summaries only (default value).
315
+ * @param {string} [startDateTime] A start date and time in ISO8601 format. If specified, all inventory summaries that have changed since then are returned. You must specify a date and time that is no earlier than 18 months prior to the date and time when you call the API. Note: Changes in inboundWorkingQuantity, inboundShippedQuantity and inboundReceivingQuantity are not detected.
316
+ * @param {Array<string>} [sellerSkus] A list of seller SKUs for which to return inventory summaries. You may specify up to 50 SKUs.
317
+ * @param {string} [sellerSku] A single seller SKU used for querying the specified seller SKU inventory summaries.
318
+ * @param {string} [nextToken] String token returned in the response of your previous request. The string token will expire 30 seconds after being created.
319
+ * @param {*} [options] Override http request option.
320
+ * @throws {RequiredError}
321
+ */
322
+ async getInventorySummaries(granularityType, granularityId, marketplaceIds, details, startDateTime, sellerSkus, sellerSku, nextToken, options) {
323
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getInventorySummaries(granularityType, granularityId, marketplaceIds, details, startDateTime, sellerSkus, sellerSku, nextToken, options);
324
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
325
+ const localVarOperationServerBasePath = operationServerMap["FbaInventoryApi.getInventorySummaries"]?.[localVarOperationServerIndex]?.url;
326
+ return (axios$4, basePath) => createRequestFunction(localVarAxiosArgs, axios.default, BASE_PATH, configuration)(axios$4, localVarOperationServerBasePath || basePath);
327
+ }
328
+ };
351
329
  };
352
- var FbaInventoryApiFactory = function(configuration, basePath, axios) {
353
- const localVarFp = FbaInventoryApiFp(configuration);
354
- return {
355
- /**
356
- * Requests that Amazon add items to the Sandbox Inventory with desired amount of quantity in the sandbox environment. This is a sandbox-only operation and must be directed to a sandbox endpoint. Refer to [Selling Partner API sandbox](https://developer-docs.amazon.com/sp-api/docs/the-selling-partner-api-sandbox) for more information.
357
- * @param {FbaInventoryApiAddInventoryRequest} requestParameters Request parameters.
358
- * @param {*} [options] Override http request option.
359
- * @throws {RequiredError}
360
- */
361
- addInventory(requestParameters, options) {
362
- return localVarFp.addInventory(requestParameters.xAmznIdempotencyToken, requestParameters.addInventoryRequestBody, options).then((request) => request(axios, basePath));
363
- },
364
- /**
365
- * Requests that Amazon create product-details in the Sandbox Inventory in the sandbox environment. This is a sandbox-only operation and must be directed to a sandbox endpoint. Refer to [Selling Partner API sandbox](https://developer-docs.amazon.com/sp-api/docs/the-selling-partner-api-sandbox) for more information.
366
- * @param {FbaInventoryApiCreateInventoryItemRequest} requestParameters Request parameters.
367
- * @param {*} [options] Override http request option.
368
- * @throws {RequiredError}
369
- */
370
- createInventoryItem(requestParameters, options) {
371
- return localVarFp.createInventoryItem(requestParameters.createInventoryItemRequestBody, options).then((request) => request(axios, basePath));
372
- },
373
- /**
374
- * Requests that Amazon Deletes an item from the Sandbox Inventory in the sandbox environment. This is a sandbox-only operation and must be directed to a sandbox endpoint. Refer to [Selling Partner API sandbox](https://developer-docs.amazon.com/sp-api/docs/the-selling-partner-api-sandbox) for more information.
375
- * @param {FbaInventoryApiDeleteInventoryItemRequest} requestParameters Request parameters.
376
- * @param {*} [options] Override http request option.
377
- * @throws {RequiredError}
378
- */
379
- deleteInventoryItem(requestParameters, options) {
380
- return localVarFp.deleteInventoryItem(requestParameters.sellerSku, requestParameters.marketplaceId, options).then((request) => request(axios, basePath));
381
- },
382
- /**
383
- * Returns a list of inventory summaries. The summaries returned depend on the presence or absence of the startDateTime, sellerSkus and sellerSku parameters: - All inventory summaries with available details are returned when the startDateTime, sellerSkus and sellerSku parameters are omitted. - When startDateTime is provided, the operation returns inventory summaries that have had changes after the date and time specified. The sellerSkus and sellerSku parameters are ignored. Important: To avoid errors, use both startDateTime and nextToken to get the next page of inventory summaries that have changed after the date and time specified. - When the sellerSkus parameter is provided, the operation returns inventory summaries for only the specified sellerSkus. The sellerSku parameter is ignored. - When the sellerSku parameter is provided, the operation returns inventory summaries for only the specified sellerSku. Note: The parameters associated with this operation may contain special characters that must be encoded to successfully call the API. To avoid errors with SKUs when encoding URLs, refer to [URL Encoding](https://developer-docs.amazon.com/sp-api/docs/url-encoding). Usage Plan: | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 2 | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits).
384
- * @param {FbaInventoryApiGetInventorySummariesRequest} requestParameters Request parameters.
385
- * @param {*} [options] Override http request option.
386
- * @throws {RequiredError}
387
- */
388
- getInventorySummaries(requestParameters, options) {
389
- return localVarFp.getInventorySummaries(requestParameters.granularityType, requestParameters.granularityId, requestParameters.marketplaceIds, requestParameters.details, requestParameters.startDateTime, requestParameters.sellerSkus, requestParameters.sellerSku, requestParameters.nextToken, options).then((request) => request(axios, basePath));
390
- }
391
- };
330
+ /**
331
+ * FbaInventoryApi - factory interface
332
+ */
333
+ const FbaInventoryApiFactory = function(configuration, basePath, axios$5) {
334
+ const localVarFp = FbaInventoryApiFp(configuration);
335
+ return {
336
+ /**
337
+ * Requests that Amazon add items to the Sandbox Inventory with desired amount of quantity in the sandbox environment. This is a sandbox-only operation and must be directed to a sandbox endpoint. Refer to [Selling Partner API sandbox](https://developer-docs.amazon.com/sp-api/docs/the-selling-partner-api-sandbox) for more information.
338
+ * @param {FbaInventoryApiAddInventoryRequest} requestParameters Request parameters.
339
+ * @param {*} [options] Override http request option.
340
+ * @throws {RequiredError}
341
+ */
342
+ addInventory(requestParameters, options) {
343
+ return localVarFp.addInventory(requestParameters.xAmznIdempotencyToken, requestParameters.addInventoryRequestBody, options).then((request) => request(axios$5, basePath));
344
+ },
345
+ /**
346
+ * Requests that Amazon create product-details in the Sandbox Inventory in the sandbox environment. This is a sandbox-only operation and must be directed to a sandbox endpoint. Refer to [Selling Partner API sandbox](https://developer-docs.amazon.com/sp-api/docs/the-selling-partner-api-sandbox) for more information.
347
+ * @param {FbaInventoryApiCreateInventoryItemRequest} requestParameters Request parameters.
348
+ * @param {*} [options] Override http request option.
349
+ * @throws {RequiredError}
350
+ */
351
+ createInventoryItem(requestParameters, options) {
352
+ return localVarFp.createInventoryItem(requestParameters.createInventoryItemRequestBody, options).then((request) => request(axios$5, basePath));
353
+ },
354
+ /**
355
+ * Requests that Amazon Deletes an item from the Sandbox Inventory in the sandbox environment. This is a sandbox-only operation and must be directed to a sandbox endpoint. Refer to [Selling Partner API sandbox](https://developer-docs.amazon.com/sp-api/docs/the-selling-partner-api-sandbox) for more information.
356
+ * @param {FbaInventoryApiDeleteInventoryItemRequest} requestParameters Request parameters.
357
+ * @param {*} [options] Override http request option.
358
+ * @throws {RequiredError}
359
+ */
360
+ deleteInventoryItem(requestParameters, options) {
361
+ return localVarFp.deleteInventoryItem(requestParameters.sellerSku, requestParameters.marketplaceId, options).then((request) => request(axios$5, basePath));
362
+ },
363
+ /**
364
+ * Returns a list of inventory summaries. The summaries returned depend on the presence or absence of the startDateTime, sellerSkus and sellerSku parameters: - All inventory summaries with available details are returned when the startDateTime, sellerSkus and sellerSku parameters are omitted. - When startDateTime is provided, the operation returns inventory summaries that have had changes after the date and time specified. The sellerSkus and sellerSku parameters are ignored. Important: To avoid errors, use both startDateTime and nextToken to get the next page of inventory summaries that have changed after the date and time specified. - When the sellerSkus parameter is provided, the operation returns inventory summaries for only the specified sellerSkus. The sellerSku parameter is ignored. - When the sellerSku parameter is provided, the operation returns inventory summaries for only the specified sellerSku. Note: The parameters associated with this operation may contain special characters that must be encoded to successfully call the API. To avoid errors with SKUs when encoding URLs, refer to [URL Encoding](https://developer-docs.amazon.com/sp-api/docs/url-encoding). Usage Plan: | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 2 | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits).
365
+ * @param {FbaInventoryApiGetInventorySummariesRequest} requestParameters Request parameters.
366
+ * @param {*} [options] Override http request option.
367
+ * @throws {RequiredError}
368
+ */
369
+ getInventorySummaries(requestParameters, options) {
370
+ return localVarFp.getInventorySummaries(requestParameters.granularityType, requestParameters.granularityId, requestParameters.marketplaceIds, requestParameters.details, requestParameters.startDateTime, requestParameters.sellerSkus, requestParameters.sellerSku, requestParameters.nextToken, options).then((request) => request(axios$5, basePath));
371
+ }
372
+ };
392
373
  };
374
+ /**
375
+ * FbaInventoryApi - object-oriented interface
376
+ */
393
377
  var FbaInventoryApi = class extends BaseAPI {
394
- /**
395
- * Requests that Amazon add items to the Sandbox Inventory with desired amount of quantity in the sandbox environment. This is a sandbox-only operation and must be directed to a sandbox endpoint. Refer to [Selling Partner API sandbox](https://developer-docs.amazon.com/sp-api/docs/the-selling-partner-api-sandbox) for more information.
396
- * @param {FbaInventoryApiAddInventoryRequest} requestParameters Request parameters.
397
- * @param {*} [options] Override http request option.
398
- * @throws {RequiredError}
399
- */
400
- addInventory(requestParameters, options) {
401
- return FbaInventoryApiFp(this.configuration).addInventory(requestParameters.xAmznIdempotencyToken, requestParameters.addInventoryRequestBody, options).then((request) => request(this.axios, this.basePath));
402
- }
403
- /**
404
- * Requests that Amazon create product-details in the Sandbox Inventory in the sandbox environment. This is a sandbox-only operation and must be directed to a sandbox endpoint. Refer to [Selling Partner API sandbox](https://developer-docs.amazon.com/sp-api/docs/the-selling-partner-api-sandbox) for more information.
405
- * @param {FbaInventoryApiCreateInventoryItemRequest} requestParameters Request parameters.
406
- * @param {*} [options] Override http request option.
407
- * @throws {RequiredError}
408
- */
409
- createInventoryItem(requestParameters, options) {
410
- return FbaInventoryApiFp(this.configuration).createInventoryItem(requestParameters.createInventoryItemRequestBody, options).then((request) => request(this.axios, this.basePath));
411
- }
412
- /**
413
- * Requests that Amazon Deletes an item from the Sandbox Inventory in the sandbox environment. This is a sandbox-only operation and must be directed to a sandbox endpoint. Refer to [Selling Partner API sandbox](https://developer-docs.amazon.com/sp-api/docs/the-selling-partner-api-sandbox) for more information.
414
- * @param {FbaInventoryApiDeleteInventoryItemRequest} requestParameters Request parameters.
415
- * @param {*} [options] Override http request option.
416
- * @throws {RequiredError}
417
- */
418
- deleteInventoryItem(requestParameters, options) {
419
- return FbaInventoryApiFp(this.configuration).deleteInventoryItem(requestParameters.sellerSku, requestParameters.marketplaceId, options).then((request) => request(this.axios, this.basePath));
420
- }
421
- /**
422
- * Returns a list of inventory summaries. The summaries returned depend on the presence or absence of the startDateTime, sellerSkus and sellerSku parameters: - All inventory summaries with available details are returned when the startDateTime, sellerSkus and sellerSku parameters are omitted. - When startDateTime is provided, the operation returns inventory summaries that have had changes after the date and time specified. The sellerSkus and sellerSku parameters are ignored. Important: To avoid errors, use both startDateTime and nextToken to get the next page of inventory summaries that have changed after the date and time specified. - When the sellerSkus parameter is provided, the operation returns inventory summaries for only the specified sellerSkus. The sellerSku parameter is ignored. - When the sellerSku parameter is provided, the operation returns inventory summaries for only the specified sellerSku. Note: The parameters associated with this operation may contain special characters that must be encoded to successfully call the API. To avoid errors with SKUs when encoding URLs, refer to [URL Encoding](https://developer-docs.amazon.com/sp-api/docs/url-encoding). Usage Plan: | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 2 | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits).
423
- * @param {FbaInventoryApiGetInventorySummariesRequest} requestParameters Request parameters.
424
- * @param {*} [options] Override http request option.
425
- * @throws {RequiredError}
426
- */
427
- getInventorySummaries(requestParameters, options) {
428
- return FbaInventoryApiFp(this.configuration).getInventorySummaries(requestParameters.granularityType, requestParameters.granularityId, requestParameters.marketplaceIds, requestParameters.details, requestParameters.startDateTime, requestParameters.sellerSkus, requestParameters.sellerSku, requestParameters.nextToken, options).then((request) => request(this.axios, this.basePath));
429
- }
430
- };
431
- var GetInventorySummariesGranularityTypeEnum = {
432
- Marketplace: "Marketplace"
378
+ /**
379
+ * Requests that Amazon add items to the Sandbox Inventory with desired amount of quantity in the sandbox environment. This is a sandbox-only operation and must be directed to a sandbox endpoint. Refer to [Selling Partner API sandbox](https://developer-docs.amazon.com/sp-api/docs/the-selling-partner-api-sandbox) for more information.
380
+ * @param {FbaInventoryApiAddInventoryRequest} requestParameters Request parameters.
381
+ * @param {*} [options] Override http request option.
382
+ * @throws {RequiredError}
383
+ */
384
+ addInventory(requestParameters, options) {
385
+ return FbaInventoryApiFp(this.configuration).addInventory(requestParameters.xAmznIdempotencyToken, requestParameters.addInventoryRequestBody, options).then((request) => request(this.axios, this.basePath));
386
+ }
387
+ /**
388
+ * Requests that Amazon create product-details in the Sandbox Inventory in the sandbox environment. This is a sandbox-only operation and must be directed to a sandbox endpoint. Refer to [Selling Partner API sandbox](https://developer-docs.amazon.com/sp-api/docs/the-selling-partner-api-sandbox) for more information.
389
+ * @param {FbaInventoryApiCreateInventoryItemRequest} requestParameters Request parameters.
390
+ * @param {*} [options] Override http request option.
391
+ * @throws {RequiredError}
392
+ */
393
+ createInventoryItem(requestParameters, options) {
394
+ return FbaInventoryApiFp(this.configuration).createInventoryItem(requestParameters.createInventoryItemRequestBody, options).then((request) => request(this.axios, this.basePath));
395
+ }
396
+ /**
397
+ * Requests that Amazon Deletes an item from the Sandbox Inventory in the sandbox environment. This is a sandbox-only operation and must be directed to a sandbox endpoint. Refer to [Selling Partner API sandbox](https://developer-docs.amazon.com/sp-api/docs/the-selling-partner-api-sandbox) for more information.
398
+ * @param {FbaInventoryApiDeleteInventoryItemRequest} requestParameters Request parameters.
399
+ * @param {*} [options] Override http request option.
400
+ * @throws {RequiredError}
401
+ */
402
+ deleteInventoryItem(requestParameters, options) {
403
+ return FbaInventoryApiFp(this.configuration).deleteInventoryItem(requestParameters.sellerSku, requestParameters.marketplaceId, options).then((request) => request(this.axios, this.basePath));
404
+ }
405
+ /**
406
+ * Returns a list of inventory summaries. The summaries returned depend on the presence or absence of the startDateTime, sellerSkus and sellerSku parameters: - All inventory summaries with available details are returned when the startDateTime, sellerSkus and sellerSku parameters are omitted. - When startDateTime is provided, the operation returns inventory summaries that have had changes after the date and time specified. The sellerSkus and sellerSku parameters are ignored. Important: To avoid errors, use both startDateTime and nextToken to get the next page of inventory summaries that have changed after the date and time specified. - When the sellerSkus parameter is provided, the operation returns inventory summaries for only the specified sellerSkus. The sellerSku parameter is ignored. - When the sellerSku parameter is provided, the operation returns inventory summaries for only the specified sellerSku. Note: The parameters associated with this operation may contain special characters that must be encoded to successfully call the API. To avoid errors with SKUs when encoding URLs, refer to [URL Encoding](https://developer-docs.amazon.com/sp-api/docs/url-encoding). Usage Plan: | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 2 | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits).
407
+ * @param {FbaInventoryApiGetInventorySummariesRequest} requestParameters Request parameters.
408
+ * @param {*} [options] Override http request option.
409
+ * @throws {RequiredError}
410
+ */
411
+ getInventorySummaries(requestParameters, options) {
412
+ return FbaInventoryApiFp(this.configuration).getInventorySummaries(requestParameters.granularityType, requestParameters.granularityId, requestParameters.marketplaceIds, requestParameters.details, requestParameters.startDateTime, requestParameters.sellerSkus, requestParameters.sellerSku, requestParameters.nextToken, options).then((request) => request(this.axios, this.basePath));
413
+ }
433
414
  };
434
-
435
- // src/api-model/configuration.ts
415
+ const GetInventorySummariesGranularityTypeEnum = { Marketplace: "Marketplace" };
416
+ //#endregion
417
+ //#region src/api-model/configuration.ts
436
418
  var Configuration = class {
437
- /**
438
- * parameter for apiKey security
439
- * @param name security name
440
- */
441
- apiKey;
442
- /**
443
- * parameter for basic security
444
- */
445
- username;
446
- /**
447
- * parameter for basic security
448
- */
449
- password;
450
- /**
451
- * parameter for oauth2 security
452
- * @param name security name
453
- * @param scopes oauth2 scope
454
- */
455
- accessToken;
456
- /**
457
- * parameter for aws4 signature security
458
- * @param {Object} AWS4Signature - AWS4 Signature security
459
- * @param {string} options.region - aws region
460
- * @param {string} options.service - name of the service.
461
- * @param {string} credentials.accessKeyId - aws access key id
462
- * @param {string} credentials.secretAccessKey - aws access key
463
- * @param {string} credentials.sessionToken - aws session token
464
- * @memberof Configuration
465
- */
466
- awsv4;
467
- /**
468
- * override base path
469
- */
470
- basePath;
471
- /**
472
- * override server index
473
- */
474
- serverIndex;
475
- /**
476
- * base options for axios calls
477
- */
478
- baseOptions;
479
- /**
480
- * The FormData constructor that will be used to create multipart form data
481
- * requests. You can inject this here so that execution environments that
482
- * do not support the FormData class can still run the generated client.
483
- *
484
- * @type {new () => FormData}
485
- */
486
- formDataCtor;
487
- constructor(param = {}) {
488
- this.apiKey = param.apiKey;
489
- this.username = param.username;
490
- this.password = param.password;
491
- this.accessToken = param.accessToken;
492
- this.awsv4 = param.awsv4;
493
- this.basePath = param.basePath;
494
- this.serverIndex = param.serverIndex;
495
- this.baseOptions = {
496
- ...param.baseOptions,
497
- headers: {
498
- ...param.baseOptions?.headers
499
- }
500
- };
501
- this.formDataCtor = param.formDataCtor;
502
- }
503
- /**
504
- * Check if the given MIME is a JSON MIME.
505
- * JSON MIME examples:
506
- * application/json
507
- * application/json; charset=UTF8
508
- * APPLICATION/JSON
509
- * application/vnd.company+json
510
- * @param mime - MIME (Multipurpose Internet Mail Extensions)
511
- * @return True if the given MIME is JSON, false otherwise.
512
- */
513
- isJsonMime(mime) {
514
- const jsonMime = /^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$/i;
515
- return mime !== null && jsonMime.test(mime);
516
- }
419
+ /**
420
+ * parameter for apiKey security
421
+ * @param name security name
422
+ */
423
+ apiKey;
424
+ /**
425
+ * parameter for basic security
426
+ */
427
+ username;
428
+ /**
429
+ * parameter for basic security
430
+ */
431
+ password;
432
+ /**
433
+ * parameter for oauth2 security
434
+ * @param name security name
435
+ * @param scopes oauth2 scope
436
+ */
437
+ accessToken;
438
+ /**
439
+ * parameter for aws4 signature security
440
+ * @param {Object} AWS4Signature - AWS4 Signature security
441
+ * @param {string} options.region - aws region
442
+ * @param {string} options.service - name of the service.
443
+ * @param {string} credentials.accessKeyId - aws access key id
444
+ * @param {string} credentials.secretAccessKey - aws access key
445
+ * @param {string} credentials.sessionToken - aws session token
446
+ * @memberof Configuration
447
+ */
448
+ awsv4;
449
+ /**
450
+ * override base path
451
+ */
452
+ basePath;
453
+ /**
454
+ * override server index
455
+ */
456
+ serverIndex;
457
+ /**
458
+ * base options for axios calls
459
+ */
460
+ baseOptions;
461
+ /**
462
+ * The FormData constructor that will be used to create multipart form data
463
+ * requests. You can inject this here so that execution environments that
464
+ * do not support the FormData class can still run the generated client.
465
+ *
466
+ * @type {new () => FormData}
467
+ */
468
+ formDataCtor;
469
+ constructor(param = {}) {
470
+ this.apiKey = param.apiKey;
471
+ this.username = param.username;
472
+ this.password = param.password;
473
+ this.accessToken = param.accessToken;
474
+ this.awsv4 = param.awsv4;
475
+ this.basePath = param.basePath;
476
+ this.serverIndex = param.serverIndex;
477
+ this.baseOptions = {
478
+ ...param.baseOptions,
479
+ headers: { ...param.baseOptions?.headers }
480
+ };
481
+ this.formDataCtor = param.formDataCtor;
482
+ }
483
+ /**
484
+ * Check if the given MIME is a JSON MIME.
485
+ * JSON MIME examples:
486
+ * application/json
487
+ * application/json; charset=UTF8
488
+ * APPLICATION/JSON
489
+ * application/vnd.company+json
490
+ * @param mime - MIME (Multipurpose Internet Mail Extensions)
491
+ * @return True if the given MIME is JSON, false otherwise.
492
+ */
493
+ isJsonMime(mime) {
494
+ return mime !== null && /^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$/i.test(mime);
495
+ }
517
496
  };
518
-
519
- // src/api-model/models/researching-quantity-entry.ts
520
- var ResearchingQuantityEntryNameEnum = {
521
- ResearchingQuantityInShortTerm: "researchingQuantityInShortTerm",
522
- ResearchingQuantityInMidTerm: "researchingQuantityInMidTerm",
523
- ResearchingQuantityInLongTerm: "researchingQuantityInLongTerm"
497
+ //#endregion
498
+ //#region src/api-model/models/researching-quantity-entry.ts
499
+ const ResearchingQuantityEntryNameEnum = {
500
+ ResearchingQuantityInShortTerm: "researchingQuantityInShortTerm",
501
+ ResearchingQuantityInMidTerm: "researchingQuantityInMidTerm",
502
+ ResearchingQuantityInLongTerm: "researchingQuantityInLongTerm"
524
503
  };
525
-
526
- // src/client.ts
527
- var clientRateLimits = [
528
- {
529
- method: "get",
530
- // eslint-disable-next-line prefer-regex-literals
531
- urlRegex: new RegExp("^/fba/inventory/v1/summaries$"),
532
- rate: 2,
533
- burst: 2
534
- }
535
- ];
504
+ //#endregion
505
+ //#region src/client.ts
506
+ const clientRateLimits = [{
507
+ method: "get",
508
+ urlRegex: /^\/fba\/inventory\/v1\/summaries$/v,
509
+ rate: 2,
510
+ burst: 2
511
+ }];
536
512
  var FbaInventoryApiClient = class extends FbaInventoryApi {
537
- constructor(configuration) {
538
- const { axios, endpoint } = (0, import_common2.createAxiosInstance)(configuration, clientRateLimits);
539
- super(new Configuration(), endpoint, axios);
540
- }
513
+ constructor(configuration) {
514
+ const { axios, endpoint } = (0, _sp_api_sdk_common.createAxiosInstance)(configuration, clientRateLimits);
515
+ super(new Configuration(), endpoint, axios);
516
+ }
541
517
  };
542
- // Annotate the CommonJS export names for ESM import in node:
543
- 0 && (module.exports = {
544
- FbaInventoryApi,
545
- FbaInventoryApiAxiosParamCreator,
546
- FbaInventoryApiClient,
547
- FbaInventoryApiFactory,
548
- FbaInventoryApiFp,
549
- GetInventorySummariesGranularityTypeEnum,
550
- ResearchingQuantityEntryNameEnum,
551
- clientRateLimits
552
- });
518
+ //#endregion
519
+ exports.FbaInventoryApi = FbaInventoryApi;
520
+ exports.FbaInventoryApiAxiosParamCreator = FbaInventoryApiAxiosParamCreator;
521
+ exports.FbaInventoryApiClient = FbaInventoryApiClient;
522
+ exports.FbaInventoryApiFactory = FbaInventoryApiFactory;
523
+ exports.FbaInventoryApiFp = FbaInventoryApiFp;
524
+ exports.GetInventorySummariesGranularityTypeEnum = GetInventorySummariesGranularityTypeEnum;
525
+ exports.ResearchingQuantityEntryNameEnum = ResearchingQuantityEntryNameEnum;
526
+ exports.clientRateLimits = clientRateLimits;
527
+
553
528
  //# sourceMappingURL=index.cjs.map