@sp-api-sdk/external-fulfillment-inventory-api-2024-09-11 2.0.0 → 2.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.d.ts CHANGED
@@ -1,7 +1,6 @@
1
- import { ClientConfiguration, RateLimit } from '@sp-api-sdk/common';
2
- import * as axios from 'axios';
3
- import { AxiosInstance, RawAxiosRequestConfig, AxiosPromise } from 'axios';
4
-
1
+ import { ClientConfiguration, RateLimit } from "@sp-api-sdk/common";
2
+ import { AxiosInstance, AxiosPromise, RawAxiosRequestConfig } from "axios";
3
+ //#region src/api-model/configuration.d.ts
5
4
  /**
6
5
  * The Selling Partner API for External Fulfillment Inventory Management
7
6
  * You can use the Amazon External Fulfillment Inventory API to manage inventory operations in Amazon\'s External Fulfillment network, including batch inventory updates and retrievals.
@@ -14,115 +13,105 @@ import { AxiosInstance, RawAxiosRequestConfig, AxiosPromise } from 'axios';
14
13
  * Do not edit the class manually.
15
14
  */
16
15
  interface AWSv4Configuration {
17
- options?: {
18
- region?: string;
19
- service?: string;
20
- };
21
- credentials?: {
22
- accessKeyId?: string;
23
- secretAccessKey?: string;
24
- sessionToken?: string;
25
- };
16
+ options?: {
17
+ region?: string;
18
+ service?: string;
19
+ };
20
+ credentials?: {
21
+ accessKeyId?: string;
22
+ secretAccessKey?: string;
23
+ sessionToken?: string;
24
+ };
26
25
  }
27
26
  interface ConfigurationParameters {
28
- apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
29
- username?: string;
30
- password?: string;
31
- accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
32
- awsv4?: AWSv4Configuration;
33
- basePath?: string;
34
- serverIndex?: number;
35
- baseOptions?: any;
36
- formDataCtor?: new () => any;
27
+ apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
28
+ username?: string;
29
+ password?: string;
30
+ accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
31
+ awsv4?: AWSv4Configuration;
32
+ basePath?: string;
33
+ serverIndex?: number;
34
+ baseOptions?: any;
35
+ formDataCtor?: new () => any;
37
36
  }
38
37
  declare class Configuration {
39
- /**
40
- * parameter for apiKey security
41
- * @param name security name
42
- */
43
- apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
44
- /**
45
- * parameter for basic security
46
- */
47
- username?: string;
48
- /**
49
- * parameter for basic security
50
- */
51
- password?: string;
52
- /**
53
- * parameter for oauth2 security
54
- * @param name security name
55
- * @param scopes oauth2 scope
56
- */
57
- accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
58
- /**
59
- * parameter for aws4 signature security
60
- * @param {Object} AWS4Signature - AWS4 Signature security
61
- * @param {string} options.region - aws region
62
- * @param {string} options.service - name of the service.
63
- * @param {string} credentials.accessKeyId - aws access key id
64
- * @param {string} credentials.secretAccessKey - aws access key
65
- * @param {string} credentials.sessionToken - aws session token
66
- * @memberof Configuration
67
- */
68
- awsv4?: AWSv4Configuration;
69
- /**
70
- * override base path
71
- */
72
- basePath?: string;
73
- /**
74
- * override server index
75
- */
76
- serverIndex?: number;
77
- /**
78
- * base options for axios calls
79
- */
80
- baseOptions?: any;
81
- /**
82
- * The FormData constructor that will be used to create multipart form data
83
- * requests. You can inject this here so that execution environments that
84
- * do not support the FormData class can still run the generated client.
85
- *
86
- * @type {new () => FormData}
87
- */
88
- formDataCtor?: new () => any;
89
- constructor(param?: ConfigurationParameters);
90
- /**
91
- * Check if the given MIME is a JSON MIME.
92
- * JSON MIME examples:
93
- * application/json
94
- * application/json; charset=UTF8
95
- * APPLICATION/JSON
96
- * application/vnd.company+json
97
- * @param mime - MIME (Multipurpose Internet Mail Extensions)
98
- * @return True if the given MIME is JSON, false otherwise.
99
- */
100
- isJsonMime(mime: string): boolean;
38
+ /**
39
+ * parameter for apiKey security
40
+ * @param name security name
41
+ */
42
+ apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
43
+ /**
44
+ * parameter for basic security
45
+ */
46
+ username?: string;
47
+ /**
48
+ * parameter for basic security
49
+ */
50
+ password?: string;
51
+ /**
52
+ * parameter for oauth2 security
53
+ * @param name security name
54
+ * @param scopes oauth2 scope
55
+ */
56
+ accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
57
+ /**
58
+ * parameter for aws4 signature security
59
+ * @param {Object} AWS4Signature - AWS4 Signature security
60
+ * @param {string} options.region - aws region
61
+ * @param {string} options.service - name of the service.
62
+ * @param {string} credentials.accessKeyId - aws access key id
63
+ * @param {string} credentials.secretAccessKey - aws access key
64
+ * @param {string} credentials.sessionToken - aws session token
65
+ * @memberof Configuration
66
+ */
67
+ awsv4?: AWSv4Configuration;
68
+ /**
69
+ * override base path
70
+ */
71
+ basePath?: string;
72
+ /**
73
+ * override server index
74
+ */
75
+ serverIndex?: number;
76
+ /**
77
+ * base options for axios calls
78
+ */
79
+ baseOptions?: any;
80
+ /**
81
+ * The FormData constructor that will be used to create multipart form data
82
+ * requests. You can inject this here so that execution environments that
83
+ * do not support the FormData class can still run the generated client.
84
+ *
85
+ * @type {new () => FormData}
86
+ */
87
+ formDataCtor?: new () => any;
88
+ constructor(param?: ConfigurationParameters);
89
+ /**
90
+ * Check if the given MIME is a JSON MIME.
91
+ * JSON MIME examples:
92
+ * application/json
93
+ * application/json; charset=UTF8
94
+ * APPLICATION/JSON
95
+ * application/vnd.company+json
96
+ * @param mime - MIME (Multipurpose Internet Mail Extensions)
97
+ * @return True if the given MIME is JSON, false otherwise.
98
+ */
99
+ isJsonMime(mime: string): boolean;
101
100
  }
102
-
103
- /**
104
- * The Selling Partner API for External Fulfillment Inventory Management
105
- * You can use the Amazon External Fulfillment Inventory API to manage inventory operations in Amazon\'s External Fulfillment network, including batch inventory updates and retrievals.
106
- *
107
- * The version of the OpenAPI document: 2024-09-11
108
- *
109
- *
110
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
111
- * https://openapi-generator.tech
112
- * Do not edit the class manually.
113
- */
114
-
101
+ //#endregion
102
+ //#region src/api-model/base.d.ts
115
103
  interface RequestArgs {
116
- url: string;
117
- options: RawAxiosRequestConfig;
104
+ url: string;
105
+ options: RawAxiosRequestConfig;
118
106
  }
119
107
  declare class BaseAPI {
120
- protected basePath: string;
121
- protected axios: AxiosInstance;
122
- protected configuration: Configuration | undefined;
123
- constructor(configuration?: Configuration, basePath?: string, axios?: AxiosInstance);
108
+ protected basePath: string;
109
+ protected axios: AxiosInstance;
110
+ protected configuration: Configuration | undefined;
111
+ constructor(configuration?: Configuration, basePath?: string, axios?: AxiosInstance);
124
112
  }
125
-
113
+ //#endregion
114
+ //#region src/api-model/models/actionable-error.d.ts
126
115
  /**
127
116
  * The Selling Partner API for External Fulfillment Inventory Management
128
117
  * You can use the Amazon External Fulfillment Inventory API to manage inventory operations in Amazon\'s External Fulfillment network, including batch inventory updates and retrievals.
@@ -138,16 +127,17 @@ declare class BaseAPI {
138
127
  * Error details you can take action on.
139
128
  */
140
129
  interface ActionableError {
141
- /**
142
- * The top level error type that may contain multiple error subtypes.
143
- */
144
- 'errorType'?: string;
145
- /**
146
- * The secondary level error type.
147
- */
148
- 'errorSubType'?: string;
130
+ /**
131
+ * The top level error type that may contain multiple error subtypes.
132
+ */
133
+ 'errorType'?: string;
134
+ /**
135
+ * The secondary level error type.
136
+ */
137
+ 'errorSubType'?: string;
149
138
  }
150
-
139
+ //#endregion
140
+ //#region src/api-model/models/http-method.d.ts
151
141
  /**
152
142
  * The Selling Partner API for External Fulfillment Inventory Management
153
143
  * You can use the Amazon External Fulfillment Inventory API to manage inventory operations in Amazon\'s External Fulfillment network, including batch inventory updates and retrievals.
@@ -163,11 +153,12 @@ interface ActionableError {
163
153
  * The HTTP method associated with an individual request within a batch.
164
154
  */
165
155
  declare const HttpMethod: {
166
- readonly Get: "GET";
167
- readonly Post: "POST";
156
+ readonly Get: "GET";
157
+ readonly Post: "POST";
168
158
  };
169
159
  type HttpMethod = typeof HttpMethod[keyof typeof HttpMethod];
170
-
160
+ //#endregion
161
+ //#region src/api-model/models/marketplace-attributes.d.ts
171
162
  /**
172
163
  * The Selling Partner API for External Fulfillment Inventory Management
173
164
  * You can use the Amazon External Fulfillment Inventory API to manage inventory operations in Amazon\'s External Fulfillment network, including batch inventory updates and retrievals.
@@ -183,95 +174,63 @@ type HttpMethod = typeof HttpMethod[keyof typeof HttpMethod];
183
174
  * The channel name and marketplace ID. This is required only when multiple channels have the same location ID.
184
175
  */
185
176
  interface MarketplaceAttributes {
186
- /**
187
- * The name of the fulfillment channel in which to update inventory.
188
- */
189
- 'channelName'?: MarketplaceAttributesChannelNameEnum;
190
- /**
191
- * The marketplace ID of the marketplace where you want to update inventory.
192
- */
193
- 'marketplaceId'?: string;
177
+ /**
178
+ * The name of the fulfillment channel in which to update inventory.
179
+ */
180
+ 'channelName'?: MarketplaceAttributesChannelNameEnum;
181
+ /**
182
+ * The marketplace ID of the marketplace where you want to update inventory.
183
+ */
184
+ 'marketplaceId'?: string;
194
185
  }
195
186
  declare const MarketplaceAttributesChannelNameEnum: {
196
- readonly Fba: "FBA";
197
- readonly Mfn: "MFN";
198
- readonly Df: "DF";
187
+ readonly Fba: "FBA";
188
+ readonly Mfn: "MFN";
189
+ readonly Df: "DF";
199
190
  };
200
191
  type MarketplaceAttributesChannelNameEnum = typeof MarketplaceAttributesChannelNameEnum[keyof typeof MarketplaceAttributesChannelNameEnum];
201
-
202
- /**
203
- * The Selling Partner API for External Fulfillment Inventory Management
204
- * You can use the Amazon External Fulfillment Inventory API to manage inventory operations in Amazon\'s External Fulfillment network, including batch inventory updates and retrievals.
205
- *
206
- * The version of the OpenAPI document: 2024-09-11
207
- *
208
- *
209
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
210
- * https://openapi-generator.tech
211
- * Do not edit the class manually.
212
- */
213
-
192
+ //#endregion
193
+ //#region src/api-model/models/inventory-request-params.d.ts
214
194
  /**
215
195
  * The parameters for an individual request.
216
196
  */
217
197
  interface InventoryRequestParams {
218
- /**
219
- * The latest sequence number for the inventory update operation. You find this value in the `clientSequenceNumber` property in the response to the `batchInventory` operation.
220
- */
221
- 'clientSequenceNumber'?: number;
222
- /**
223
- * The absolute inventory quantity.
224
- */
225
- 'quantity'?: number;
226
- 'marketplaceAttributes'?: MarketplaceAttributes;
198
+ /**
199
+ * The latest sequence number for the inventory update operation. You find this value in the `clientSequenceNumber` property in the response to the `batchInventory` operation.
200
+ */
201
+ 'clientSequenceNumber'?: number;
202
+ /**
203
+ * The absolute inventory quantity.
204
+ */
205
+ 'quantity'?: number;
206
+ 'marketplaceAttributes'?: MarketplaceAttributes;
227
207
  }
228
-
229
- /**
230
- * The Selling Partner API for External Fulfillment Inventory Management
231
- * You can use the Amazon External Fulfillment Inventory API to manage inventory operations in Amazon\'s External Fulfillment network, including batch inventory updates and retrievals.
232
- *
233
- * The version of the OpenAPI document: 2024-09-11
234
- *
235
- *
236
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
237
- * https://openapi-generator.tech
238
- * Do not edit the class manually.
239
- */
240
-
208
+ //#endregion
209
+ //#region src/api-model/models/inventory-request.d.ts
241
210
  /**
242
211
  * An inventory request.
243
212
  */
244
213
  interface InventoryRequest {
245
- /**
246
- * The URI associated with the individual APIs from the batch request. The user must provide the resource identifier for the operation they want to use.
247
- */
248
- 'uri': string;
249
- 'method': HttpMethod;
250
- 'body'?: InventoryRequestParams;
214
+ /**
215
+ * The URI associated with the individual APIs from the batch request. The user must provide the resource identifier for the operation they want to use.
216
+ */
217
+ 'uri': string;
218
+ 'method': HttpMethod;
219
+ 'body'?: InventoryRequestParams;
251
220
  }
252
-
253
- /**
254
- * The Selling Partner API for External Fulfillment Inventory Management
255
- * You can use the Amazon External Fulfillment Inventory API to manage inventory operations in Amazon\'s External Fulfillment network, including batch inventory updates and retrievals.
256
- *
257
- * The version of the OpenAPI document: 2024-09-11
258
- *
259
- *
260
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
261
- * https://openapi-generator.tech
262
- * Do not edit the class manually.
263
- */
264
-
221
+ //#endregion
222
+ //#region src/api-model/models/batch-inventory-request.d.ts
265
223
  /**
266
224
  * A list of inventory requests.
267
225
  */
268
226
  interface BatchInventoryRequest {
269
- /**
270
- * A list of inventory requests.
271
- */
272
- 'requests'?: Array<InventoryRequest>;
227
+ /**
228
+ * A list of inventory requests.
229
+ */
230
+ 'requests'?: Array<InventoryRequest>;
273
231
  }
274
-
232
+ //#endregion
233
+ //#region src/api-model/models/http-status-line.d.ts
275
234
  /**
276
235
  * The Selling Partner API for External Fulfillment Inventory Management
277
236
  * You can use the Amazon External Fulfillment Inventory API to manage inventory operations in Amazon\'s External Fulfillment network, including batch inventory updates and retrievals.
@@ -287,101 +246,69 @@ interface BatchInventoryRequest {
287
246
  * The HTTP status associated with the response for an individual request within a batch.
288
247
  */
289
248
  interface HttpStatusLine {
290
- /**
291
- * The HTTP response status code.
292
- */
293
- 'statusCode'?: number;
294
- /**
295
- * The HTTP response reason phrase.
296
- */
297
- 'reasonPhrase'?: string;
249
+ /**
250
+ * The HTTP response status code.
251
+ */
252
+ 'statusCode'?: number;
253
+ /**
254
+ * The HTTP response reason phrase.
255
+ */
256
+ 'reasonPhrase'?: string;
298
257
  }
299
-
300
- /**
301
- * The Selling Partner API for External Fulfillment Inventory Management
302
- * You can use the Amazon External Fulfillment Inventory API to manage inventory operations in Amazon\'s External Fulfillment network, including batch inventory updates and retrievals.
303
- *
304
- * The version of the OpenAPI document: 2024-09-11
305
- *
306
- *
307
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
308
- * https://openapi-generator.tech
309
- * Do not edit the class manually.
310
- */
311
-
258
+ //#endregion
259
+ //#region src/api-model/models/inventory-response-body.d.ts
312
260
  /**
313
261
  * The response to an inventory request.
314
262
  */
315
263
  interface InventoryResponseBody {
316
- /**
317
- * Latest sequence number for an inventory update.
318
- */
319
- 'clientSequenceNumber'?: number;
320
- /**
321
- * The location where inventory is updated or retrieved.
322
- */
323
- 'locationId'?: string;
324
- /**
325
- * The SKU ID for which inventory is updated or retrieved
326
- */
327
- 'skuId'?: string;
328
- /**
329
- * The number of items of the specified SKU that are available for purchase.
330
- */
331
- 'sellableQuantity'?: number;
332
- /**
333
- * The number of items of the specified SKU created in any marketplace that are reserved for shipment and yet to be fulfilled.
334
- */
335
- 'reservedQuantity'?: number;
336
- 'marketplaceAttributes'?: MarketplaceAttributes;
337
- /**
338
- * Inventory operation errors that require seller action before retrying the inventory request.
339
- */
340
- 'actionableErrors'?: Array<ActionableError>;
264
+ /**
265
+ * Latest sequence number for an inventory update.
266
+ */
267
+ 'clientSequenceNumber'?: number;
268
+ /**
269
+ * The location where inventory is updated or retrieved.
270
+ */
271
+ 'locationId'?: string;
272
+ /**
273
+ * The SKU ID for which inventory is updated or retrieved
274
+ */
275
+ 'skuId'?: string;
276
+ /**
277
+ * The number of items of the specified SKU that are available for purchase.
278
+ */
279
+ 'sellableQuantity'?: number;
280
+ /**
281
+ * The number of items of the specified SKU created in any marketplace that are reserved for shipment and yet to be fulfilled.
282
+ */
283
+ 'reservedQuantity'?: number;
284
+ 'marketplaceAttributes'?: MarketplaceAttributes;
285
+ /**
286
+ * Inventory operation errors that require seller action before retrying the inventory request.
287
+ */
288
+ 'actionableErrors'?: Array<ActionableError>;
341
289
  }
342
-
343
- /**
344
- * The Selling Partner API for External Fulfillment Inventory Management
345
- * You can use the Amazon External Fulfillment Inventory API to manage inventory operations in Amazon\'s External Fulfillment network, including batch inventory updates and retrievals.
346
- *
347
- * The version of the OpenAPI document: 2024-09-11
348
- *
349
- *
350
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
351
- * https://openapi-generator.tech
352
- * Do not edit the class manually.
353
- */
354
-
290
+ //#endregion
291
+ //#region src/api-model/models/inventory-response.d.ts
355
292
  /**
356
293
  * A response to an individual inventory request.
357
294
  */
358
295
  interface InventoryResponse {
359
- 'status': HttpStatusLine;
360
- 'body': InventoryResponseBody;
296
+ 'status': HttpStatusLine;
297
+ 'body': InventoryResponseBody;
361
298
  }
362
-
363
- /**
364
- * The Selling Partner API for External Fulfillment Inventory Management
365
- * You can use the Amazon External Fulfillment Inventory API to manage inventory operations in Amazon\'s External Fulfillment network, including batch inventory updates and retrievals.
366
- *
367
- * The version of the OpenAPI document: 2024-09-11
368
- *
369
- *
370
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
371
- * https://openapi-generator.tech
372
- * Do not edit the class manually.
373
- */
374
-
299
+ //#endregion
300
+ //#region src/api-model/models/batch-inventory-response.d.ts
375
301
  /**
376
302
  * The response of the `batchInventory` operation.
377
303
  */
378
304
  interface BatchInventoryResponse {
379
- /**
380
- * A list of inventory request responses.
381
- */
382
- 'responses'?: Array<InventoryResponse>;
305
+ /**
306
+ * A list of inventory request responses.
307
+ */
308
+ 'responses'?: Array<InventoryResponse>;
383
309
  }
384
-
310
+ //#endregion
311
+ //#region src/api-model/models/error-list.d.ts
385
312
  /**
386
313
  * The Selling Partner API for External Fulfillment Inventory Management
387
314
  * You can use the Amazon External Fulfillment Inventory API to manage inventory operations in Amazon\'s External Fulfillment network, including batch inventory updates and retrievals.
@@ -397,12 +324,13 @@ interface BatchInventoryResponse {
397
324
  * An object containing a list of error responses returned when a request is unsuccessful.
398
325
  */
399
326
  interface ErrorList {
400
- /**
401
- * A list of error responses returned when a request is unsuccessful.
402
- */
403
- 'errors': Array<Error>;
327
+ /**
328
+ * A list of error responses returned when a request is unsuccessful.
329
+ */
330
+ 'errors': Array<Error>;
404
331
  }
405
-
332
+ //#endregion
333
+ //#region src/api-model/models/model-error.d.ts
406
334
  /**
407
335
  * The Selling Partner API for External Fulfillment Inventory Management
408
336
  * You can use the Amazon External Fulfillment Inventory API to manage inventory operations in Amazon\'s External Fulfillment network, including batch inventory updates and retrievals.
@@ -418,81 +346,84 @@ interface ErrorList {
418
346
  * Error response returned when the request is unsuccessful.
419
347
  */
420
348
  interface ModelError {
421
- /**
422
- * An error code that identifies the type of error that occurred.
423
- */
424
- 'code': string;
425
- /**
426
- * A message that describes the error condition.
427
- */
428
- 'message': string;
429
- /**
430
- * Additional details that can help the caller understand or fix the issue.
431
- */
432
- 'details'?: string;
349
+ /**
350
+ * An error code that identifies the type of error that occurred.
351
+ */
352
+ 'code': string;
353
+ /**
354
+ * A message that describes the error condition.
355
+ */
356
+ 'message': string;
357
+ /**
358
+ * Additional details that can help the caller understand or fix the issue.
359
+ */
360
+ 'details'?: string;
433
361
  }
434
-
362
+ //#endregion
363
+ //#region src/api-model/api/external-fulfillment-inventory-api.d.ts
435
364
  /**
436
365
  * ExternalFulfillmentInventoryApi - axios parameter creator
437
366
  */
438
367
  declare const ExternalFulfillmentInventoryApiAxiosParamCreator: (configuration?: Configuration) => {
439
- /**
440
- * Make up to 10 inventory requests. The response includes the set of responses that correspond to requests. The response for each successful request in the set includes the inventory count for the provided `sku` and `locationId` pair.
441
- * @param {BatchInventoryRequest} body A list of inventory requests.
442
- * @param {*} [options] Override http request option.
443
- * @throws {RequiredError}
444
- */
445
- batchInventory: (body: BatchInventoryRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
368
+ /**
369
+ * Make up to 10 inventory requests. The response includes the set of responses that correspond to requests. The response for each successful request in the set includes the inventory count for the provided `sku` and `locationId` pair.
370
+ * @param {BatchInventoryRequest} body A list of inventory requests.
371
+ * @param {*} [options] Override http request option.
372
+ * @throws {RequiredError}
373
+ */
374
+ batchInventory: (body: BatchInventoryRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
446
375
  };
447
376
  /**
448
377
  * ExternalFulfillmentInventoryApi - functional programming interface
449
378
  */
450
379
  declare const ExternalFulfillmentInventoryApiFp: (configuration?: Configuration) => {
451
- /**
452
- * Make up to 10 inventory requests. The response includes the set of responses that correspond to requests. The response for each successful request in the set includes the inventory count for the provided `sku` and `locationId` pair.
453
- * @param {BatchInventoryRequest} body A list of inventory requests.
454
- * @param {*} [options] Override http request option.
455
- * @throws {RequiredError}
456
- */
457
- batchInventory(body: BatchInventoryRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BatchInventoryResponse>>;
380
+ /**
381
+ * Make up to 10 inventory requests. The response includes the set of responses that correspond to requests. The response for each successful request in the set includes the inventory count for the provided `sku` and `locationId` pair.
382
+ * @param {BatchInventoryRequest} body A list of inventory requests.
383
+ * @param {*} [options] Override http request option.
384
+ * @throws {RequiredError}
385
+ */
386
+ batchInventory(body: BatchInventoryRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BatchInventoryResponse>>;
458
387
  };
459
388
  /**
460
389
  * ExternalFulfillmentInventoryApi - factory interface
461
390
  */
462
391
  declare const ExternalFulfillmentInventoryApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
463
- /**
464
- * Make up to 10 inventory requests. The response includes the set of responses that correspond to requests. The response for each successful request in the set includes the inventory count for the provided `sku` and `locationId` pair.
465
- * @param {ExternalFulfillmentInventoryApiBatchInventoryRequest} requestParameters Request parameters.
466
- * @param {*} [options] Override http request option.
467
- * @throws {RequiredError}
468
- */
469
- batchInventory(requestParameters: ExternalFulfillmentInventoryApiBatchInventoryRequest, options?: RawAxiosRequestConfig): AxiosPromise<BatchInventoryResponse>;
392
+ /**
393
+ * Make up to 10 inventory requests. The response includes the set of responses that correspond to requests. The response for each successful request in the set includes the inventory count for the provided `sku` and `locationId` pair.
394
+ * @param {ExternalFulfillmentInventoryApiBatchInventoryRequest} requestParameters Request parameters.
395
+ * @param {*} [options] Override http request option.
396
+ * @throws {RequiredError}
397
+ */
398
+ batchInventory(requestParameters: ExternalFulfillmentInventoryApiBatchInventoryRequest, options?: RawAxiosRequestConfig): AxiosPromise<BatchInventoryResponse>;
470
399
  };
471
400
  /**
472
401
  * Request parameters for batchInventory operation in ExternalFulfillmentInventoryApi.
473
402
  */
474
403
  interface ExternalFulfillmentInventoryApiBatchInventoryRequest {
475
- /**
476
- * A list of inventory requests.
477
- */
478
- readonly body: BatchInventoryRequest;
404
+ /**
405
+ * A list of inventory requests.
406
+ */
407
+ readonly body: BatchInventoryRequest;
479
408
  }
480
409
  /**
481
410
  * ExternalFulfillmentInventoryApi - object-oriented interface
482
411
  */
483
412
  declare class ExternalFulfillmentInventoryApi extends BaseAPI {
484
- /**
485
- * Make up to 10 inventory requests. The response includes the set of responses that correspond to requests. The response for each successful request in the set includes the inventory count for the provided `sku` and `locationId` pair.
486
- * @param {ExternalFulfillmentInventoryApiBatchInventoryRequest} requestParameters Request parameters.
487
- * @param {*} [options] Override http request option.
488
- * @throws {RequiredError}
489
- */
490
- batchInventory(requestParameters: ExternalFulfillmentInventoryApiBatchInventoryRequest, options?: RawAxiosRequestConfig): Promise<axios.AxiosResponse<BatchInventoryResponse, any, {}>>;
413
+ /**
414
+ * Make up to 10 inventory requests. The response includes the set of responses that correspond to requests. The response for each successful request in the set includes the inventory count for the provided `sku` and `locationId` pair.
415
+ * @param {ExternalFulfillmentInventoryApiBatchInventoryRequest} requestParameters Request parameters.
416
+ * @param {*} [options] Override http request option.
417
+ * @throws {RequiredError}
418
+ */
419
+ batchInventory(requestParameters: ExternalFulfillmentInventoryApiBatchInventoryRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BatchInventoryResponse, any, {}>>;
491
420
  }
492
-
421
+ //#endregion
422
+ //#region src/client.d.ts
493
423
  declare const clientRateLimits: RateLimit[];
494
424
  declare class ExternalFulfillmentInventoryApiClient extends ExternalFulfillmentInventoryApi {
495
- constructor(configuration: ClientConfiguration);
425
+ constructor(configuration: ClientConfiguration);
496
426
  }
497
-
498
- export { type ActionableError, type BatchInventoryRequest, type BatchInventoryResponse, type ErrorList, ExternalFulfillmentInventoryApi, ExternalFulfillmentInventoryApiAxiosParamCreator, type ExternalFulfillmentInventoryApiBatchInventoryRequest, ExternalFulfillmentInventoryApiClient, ExternalFulfillmentInventoryApiFactory, ExternalFulfillmentInventoryApiFp, HttpMethod, type HttpStatusLine, type InventoryRequest, type InventoryRequestParams, type InventoryResponse, type InventoryResponseBody, type MarketplaceAttributes, MarketplaceAttributesChannelNameEnum, type ModelError, clientRateLimits };
427
+ //#endregion
428
+ export { ActionableError, BatchInventoryRequest, BatchInventoryResponse, ErrorList, ExternalFulfillmentInventoryApi, ExternalFulfillmentInventoryApiAxiosParamCreator, ExternalFulfillmentInventoryApiBatchInventoryRequest, ExternalFulfillmentInventoryApiClient, ExternalFulfillmentInventoryApiFactory, ExternalFulfillmentInventoryApiFp, HttpMethod, HttpStatusLine, InventoryRequest, InventoryRequestParams, InventoryResponse, InventoryResponseBody, MarketplaceAttributes, MarketplaceAttributesChannelNameEnum, ModelError, clientRateLimits };
429
+ //# sourceMappingURL=index.d.ts.map