@sp-api-sdk/fba-inventory-api-v1 3.0.6 → 3.0.7
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/cjs/api-model/api/fba-inventory-api.js +0 -13
- package/dist/cjs/api-model/base.js +0 -19
- package/dist/cjs/api-model/common.js +0 -37
- package/dist/cjs/api-model/configuration.js +0 -17
- package/dist/es/api-model/api/fba-inventory-api.js +0 -13
- package/dist/es/api-model/base.js +0 -19
- package/dist/es/api-model/common.js +0 -37
- package/dist/es/api-model/configuration.js +0 -17
- package/dist/types/api-model/api/fba-inventory-api.d.ts +0 -47
- package/dist/types/api-model/base.d.ts +0 -24
- package/dist/types/api-model/common.d.ts +0 -37
- package/dist/types/api-model/configuration.d.ts +0 -17
- package/dist/types/api-model/models/add-inventory-request.d.ts +0 -4
- package/dist/types/api-model/models/add-inventory-response.d.ts +0 -4
- package/dist/types/api-model/models/create-inventory-item-request.d.ts +0 -8
- package/dist/types/api-model/models/create-inventory-item-response.d.ts +0 -4
- package/dist/types/api-model/models/delete-inventory-item-response.d.ts +0 -4
- package/dist/types/api-model/models/get-inventory-summaries-response.d.ts +0 -14
- package/dist/types/api-model/models/get-inventory-summaries-result.d.ts +0 -9
- package/dist/types/api-model/models/granularity.d.ts +0 -6
- package/dist/types/api-model/models/inventory-details.d.ts +0 -25
- package/dist/types/api-model/models/inventory-item.d.ts +0 -8
- package/dist/types/api-model/models/inventory-summary.d.ts +0 -23
- package/dist/types/api-model/models/model-error.d.ts +0 -8
- package/dist/types/api-model/models/pagination.d.ts +0 -4
- package/dist/types/api-model/models/researching-quantity-entry.d.ts +0 -6
- package/dist/types/api-model/models/researching-quantity.d.ts +0 -6
- package/dist/types/api-model/models/reserved-quantity.d.ts +0 -10
- package/dist/types/api-model/models/unfulfillable-quantity.d.ts +0 -16
- package/package.json +25 -4
|
@@ -21,7 +21,6 @@ import type { DeleteInventoryItemResponse } from '../models';
|
|
|
21
21
|
import type { GetInventorySummariesResponse } from '../models';
|
|
22
22
|
/**
|
|
23
23
|
* FbaInventoryApi - axios parameter creator
|
|
24
|
-
* @export
|
|
25
24
|
*/
|
|
26
25
|
export declare const FbaInventoryApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
27
26
|
/**
|
|
@@ -64,7 +63,6 @@ export declare const FbaInventoryApiAxiosParamCreator: (configuration?: Configur
|
|
|
64
63
|
};
|
|
65
64
|
/**
|
|
66
65
|
* FbaInventoryApi - functional programming interface
|
|
67
|
-
* @export
|
|
68
66
|
*/
|
|
69
67
|
export declare const FbaInventoryApiFp: (configuration?: Configuration) => {
|
|
70
68
|
/**
|
|
@@ -107,7 +105,6 @@ export declare const FbaInventoryApiFp: (configuration?: Configuration) => {
|
|
|
107
105
|
};
|
|
108
106
|
/**
|
|
109
107
|
* FbaInventoryApi - factory interface
|
|
110
|
-
* @export
|
|
111
108
|
*/
|
|
112
109
|
export declare const FbaInventoryApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
113
110
|
/**
|
|
@@ -141,115 +138,78 @@ export declare const FbaInventoryApiFactory: (configuration?: Configuration, bas
|
|
|
141
138
|
};
|
|
142
139
|
/**
|
|
143
140
|
* Request parameters for addInventory operation in FbaInventoryApi.
|
|
144
|
-
* @export
|
|
145
|
-
* @interface FbaInventoryApiAddInventoryRequest
|
|
146
141
|
*/
|
|
147
142
|
export interface FbaInventoryApiAddInventoryRequest {
|
|
148
143
|
/**
|
|
149
144
|
* A unique token/requestId provided with each call to ensure idempotency.
|
|
150
|
-
* @type {string}
|
|
151
|
-
* @memberof FbaInventoryApiAddInventory
|
|
152
145
|
*/
|
|
153
146
|
readonly xAmznIdempotencyToken: string;
|
|
154
147
|
/**
|
|
155
148
|
* List of items to add to Sandbox inventory.
|
|
156
|
-
* @type {AddInventoryRequest}
|
|
157
|
-
* @memberof FbaInventoryApiAddInventory
|
|
158
149
|
*/
|
|
159
150
|
readonly addInventoryRequestBody: AddInventoryRequest;
|
|
160
151
|
}
|
|
161
152
|
/**
|
|
162
153
|
* Request parameters for createInventoryItem operation in FbaInventoryApi.
|
|
163
|
-
* @export
|
|
164
|
-
* @interface FbaInventoryApiCreateInventoryItemRequest
|
|
165
154
|
*/
|
|
166
155
|
export interface FbaInventoryApiCreateInventoryItemRequest {
|
|
167
156
|
/**
|
|
168
157
|
* CreateInventoryItem Request Body Parameter.
|
|
169
|
-
* @type {CreateInventoryItemRequest}
|
|
170
|
-
* @memberof FbaInventoryApiCreateInventoryItem
|
|
171
158
|
*/
|
|
172
159
|
readonly createInventoryItemRequestBody: CreateInventoryItemRequest;
|
|
173
160
|
}
|
|
174
161
|
/**
|
|
175
162
|
* Request parameters for deleteInventoryItem operation in FbaInventoryApi.
|
|
176
|
-
* @export
|
|
177
|
-
* @interface FbaInventoryApiDeleteInventoryItemRequest
|
|
178
163
|
*/
|
|
179
164
|
export interface FbaInventoryApiDeleteInventoryItemRequest {
|
|
180
165
|
/**
|
|
181
166
|
* A single seller SKU used for querying the specified seller SKU inventory summaries.
|
|
182
|
-
* @type {string}
|
|
183
|
-
* @memberof FbaInventoryApiDeleteInventoryItem
|
|
184
167
|
*/
|
|
185
168
|
readonly sellerSku: string;
|
|
186
169
|
/**
|
|
187
170
|
* The marketplace ID for the marketplace for which the sellerSku is to be deleted.
|
|
188
|
-
* @type {string}
|
|
189
|
-
* @memberof FbaInventoryApiDeleteInventoryItem
|
|
190
171
|
*/
|
|
191
172
|
readonly marketplaceId: string;
|
|
192
173
|
}
|
|
193
174
|
/**
|
|
194
175
|
* Request parameters for getInventorySummaries operation in FbaInventoryApi.
|
|
195
|
-
* @export
|
|
196
|
-
* @interface FbaInventoryApiGetInventorySummariesRequest
|
|
197
176
|
*/
|
|
198
177
|
export interface FbaInventoryApiGetInventorySummariesRequest {
|
|
199
178
|
/**
|
|
200
179
|
* The granularity type for the inventory aggregation level.
|
|
201
|
-
* @type {'Marketplace'}
|
|
202
|
-
* @memberof FbaInventoryApiGetInventorySummaries
|
|
203
180
|
*/
|
|
204
181
|
readonly granularityType: GetInventorySummariesGranularityTypeEnum;
|
|
205
182
|
/**
|
|
206
183
|
* The granularity ID for the inventory aggregation level.
|
|
207
|
-
* @type {string}
|
|
208
|
-
* @memberof FbaInventoryApiGetInventorySummaries
|
|
209
184
|
*/
|
|
210
185
|
readonly granularityId: string;
|
|
211
186
|
/**
|
|
212
187
|
* The marketplace ID for the marketplace for which to return inventory summaries.
|
|
213
|
-
* @type {Array<string>}
|
|
214
|
-
* @memberof FbaInventoryApiGetInventorySummaries
|
|
215
188
|
*/
|
|
216
189
|
readonly marketplaceIds: Array<string>;
|
|
217
190
|
/**
|
|
218
191
|
* true to return inventory summaries with additional summarized inventory details and quantities. Otherwise, returns inventory summaries only (default value).
|
|
219
|
-
* @type {boolean}
|
|
220
|
-
* @memberof FbaInventoryApiGetInventorySummaries
|
|
221
192
|
*/
|
|
222
193
|
readonly details?: boolean;
|
|
223
194
|
/**
|
|
224
195
|
* 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.
|
|
225
|
-
* @type {string}
|
|
226
|
-
* @memberof FbaInventoryApiGetInventorySummaries
|
|
227
196
|
*/
|
|
228
197
|
readonly startDateTime?: string;
|
|
229
198
|
/**
|
|
230
199
|
* A list of seller SKUs for which to return inventory summaries. You may specify up to 50 SKUs.
|
|
231
|
-
* @type {Array<string>}
|
|
232
|
-
* @memberof FbaInventoryApiGetInventorySummaries
|
|
233
200
|
*/
|
|
234
201
|
readonly sellerSkus?: Array<string>;
|
|
235
202
|
/**
|
|
236
203
|
* A single seller SKU used for querying the specified seller SKU inventory summaries.
|
|
237
|
-
* @type {string}
|
|
238
|
-
* @memberof FbaInventoryApiGetInventorySummaries
|
|
239
204
|
*/
|
|
240
205
|
readonly sellerSku?: string;
|
|
241
206
|
/**
|
|
242
207
|
* String token returned in the response of your previous request. The string token will expire 30 seconds after being created.
|
|
243
|
-
* @type {string}
|
|
244
|
-
* @memberof FbaInventoryApiGetInventorySummaries
|
|
245
208
|
*/
|
|
246
209
|
readonly nextToken?: string;
|
|
247
210
|
}
|
|
248
211
|
/**
|
|
249
212
|
* FbaInventoryApi - object-oriented interface
|
|
250
|
-
* @export
|
|
251
|
-
* @class FbaInventoryApi
|
|
252
|
-
* @extends {BaseAPI}
|
|
253
213
|
*/
|
|
254
214
|
export declare class FbaInventoryApi extends BaseAPI {
|
|
255
215
|
/**
|
|
@@ -257,7 +217,6 @@ export declare class FbaInventoryApi extends BaseAPI {
|
|
|
257
217
|
* @param {FbaInventoryApiAddInventoryRequest} requestParameters Request parameters.
|
|
258
218
|
* @param {*} [options] Override http request option.
|
|
259
219
|
* @throws {RequiredError}
|
|
260
|
-
* @memberof FbaInventoryApi
|
|
261
220
|
*/
|
|
262
221
|
addInventory(requestParameters: FbaInventoryApiAddInventoryRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<AddInventoryResponse, any>>;
|
|
263
222
|
/**
|
|
@@ -265,7 +224,6 @@ export declare class FbaInventoryApi extends BaseAPI {
|
|
|
265
224
|
* @param {FbaInventoryApiCreateInventoryItemRequest} requestParameters Request parameters.
|
|
266
225
|
* @param {*} [options] Override http request option.
|
|
267
226
|
* @throws {RequiredError}
|
|
268
|
-
* @memberof FbaInventoryApi
|
|
269
227
|
*/
|
|
270
228
|
createInventoryItem(requestParameters: FbaInventoryApiCreateInventoryItemRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<CreateInventoryItemResponse, any>>;
|
|
271
229
|
/**
|
|
@@ -273,7 +231,6 @@ export declare class FbaInventoryApi extends BaseAPI {
|
|
|
273
231
|
* @param {FbaInventoryApiDeleteInventoryItemRequest} requestParameters Request parameters.
|
|
274
232
|
* @param {*} [options] Override http request option.
|
|
275
233
|
* @throws {RequiredError}
|
|
276
|
-
* @memberof FbaInventoryApi
|
|
277
234
|
*/
|
|
278
235
|
deleteInventoryItem(requestParameters: FbaInventoryApiDeleteInventoryItemRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<DeleteInventoryItemResponse, any>>;
|
|
279
236
|
/**
|
|
@@ -281,13 +238,9 @@ export declare class FbaInventoryApi extends BaseAPI {
|
|
|
281
238
|
* @param {FbaInventoryApiGetInventorySummariesRequest} requestParameters Request parameters.
|
|
282
239
|
* @param {*} [options] Override http request option.
|
|
283
240
|
* @throws {RequiredError}
|
|
284
|
-
* @memberof FbaInventoryApi
|
|
285
241
|
*/
|
|
286
242
|
getInventorySummaries(requestParameters: FbaInventoryApiGetInventorySummariesRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetInventorySummariesResponse, any>>;
|
|
287
243
|
}
|
|
288
|
-
/**
|
|
289
|
-
* @export
|
|
290
|
-
*/
|
|
291
244
|
export declare const GetInventorySummariesGranularityTypeEnum: {
|
|
292
245
|
readonly Marketplace: "Marketplace";
|
|
293
246
|
};
|
|
@@ -12,42 +12,22 @@
|
|
|
12
12
|
import type { Configuration } from './configuration';
|
|
13
13
|
import type { AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
14
|
export declare const BASE_PATH: string;
|
|
15
|
-
/**
|
|
16
|
-
*
|
|
17
|
-
* @export
|
|
18
|
-
*/
|
|
19
15
|
export declare const COLLECTION_FORMATS: {
|
|
20
16
|
csv: string;
|
|
21
17
|
ssv: string;
|
|
22
18
|
tsv: string;
|
|
23
19
|
pipes: string;
|
|
24
20
|
};
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @export
|
|
28
|
-
* @interface RequestArgs
|
|
29
|
-
*/
|
|
30
21
|
export interface RequestArgs {
|
|
31
22
|
url: string;
|
|
32
23
|
options: RawAxiosRequestConfig;
|
|
33
24
|
}
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* @export
|
|
37
|
-
* @class BaseAPI
|
|
38
|
-
*/
|
|
39
25
|
export declare class BaseAPI {
|
|
40
26
|
protected basePath: string;
|
|
41
27
|
protected axios: AxiosInstance;
|
|
42
28
|
protected configuration: Configuration | undefined;
|
|
43
29
|
constructor(configuration?: Configuration, basePath?: string, axios?: AxiosInstance);
|
|
44
30
|
}
|
|
45
|
-
/**
|
|
46
|
-
*
|
|
47
|
-
* @export
|
|
48
|
-
* @class RequiredError
|
|
49
|
-
* @extends {Error}
|
|
50
|
-
*/
|
|
51
31
|
export declare class RequiredError extends Error {
|
|
52
32
|
field: string;
|
|
53
33
|
constructor(field: string, msg?: string);
|
|
@@ -58,9 +38,5 @@ interface ServerMap {
|
|
|
58
38
|
description: string;
|
|
59
39
|
}[];
|
|
60
40
|
}
|
|
61
|
-
/**
|
|
62
|
-
*
|
|
63
|
-
* @export
|
|
64
|
-
*/
|
|
65
41
|
export declare const operationServerMap: ServerMap;
|
|
66
42
|
export {};
|
|
@@ -12,54 +12,17 @@
|
|
|
12
12
|
import type { Configuration } from "./configuration";
|
|
13
13
|
import type { RequestArgs } from "./base";
|
|
14
14
|
import type { AxiosInstance, AxiosResponse } from 'axios';
|
|
15
|
-
/**
|
|
16
|
-
*
|
|
17
|
-
* @export
|
|
18
|
-
*/
|
|
19
15
|
export declare const DUMMY_BASE_URL = "https://example.com";
|
|
20
16
|
/**
|
|
21
17
|
*
|
|
22
18
|
* @throws {RequiredError}
|
|
23
|
-
* @export
|
|
24
19
|
*/
|
|
25
20
|
export declare const assertParamExists: (functionName: string, paramName: string, paramValue: unknown) => void;
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @export
|
|
29
|
-
*/
|
|
30
21
|
export declare const setApiKeyToObject: (object: any, keyParamName: string, configuration?: Configuration) => Promise<void>;
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* @export
|
|
34
|
-
*/
|
|
35
22
|
export declare const setBasicAuthToObject: (object: any, configuration?: Configuration) => void;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @export
|
|
39
|
-
*/
|
|
40
23
|
export declare const setBearerAuthToObject: (object: any, configuration?: Configuration) => Promise<void>;
|
|
41
|
-
/**
|
|
42
|
-
*
|
|
43
|
-
* @export
|
|
44
|
-
*/
|
|
45
24
|
export declare const setOAuthToObject: (object: any, name: string, scopes: string[], configuration?: Configuration) => Promise<void>;
|
|
46
|
-
/**
|
|
47
|
-
*
|
|
48
|
-
* @export
|
|
49
|
-
*/
|
|
50
25
|
export declare const setSearchParams: (url: URL, ...objects: any[]) => void;
|
|
51
|
-
/**
|
|
52
|
-
*
|
|
53
|
-
* @export
|
|
54
|
-
*/
|
|
55
26
|
export declare const serializeDataIfNeeded: (value: any, requestOptions: any, configuration?: Configuration) => any;
|
|
56
|
-
/**
|
|
57
|
-
*
|
|
58
|
-
* @export
|
|
59
|
-
*/
|
|
60
27
|
export declare const toPathString: (url: URL) => string;
|
|
61
|
-
/**
|
|
62
|
-
*
|
|
63
|
-
* @export
|
|
64
|
-
*/
|
|
65
28
|
export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
|
|
@@ -23,49 +23,32 @@ export declare class Configuration {
|
|
|
23
23
|
/**
|
|
24
24
|
* parameter for apiKey security
|
|
25
25
|
* @param name security name
|
|
26
|
-
* @memberof Configuration
|
|
27
26
|
*/
|
|
28
27
|
apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
|
|
29
28
|
/**
|
|
30
29
|
* parameter for basic security
|
|
31
|
-
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof Configuration
|
|
34
30
|
*/
|
|
35
31
|
username?: string;
|
|
36
32
|
/**
|
|
37
33
|
* parameter for basic security
|
|
38
|
-
*
|
|
39
|
-
* @type {string}
|
|
40
|
-
* @memberof Configuration
|
|
41
34
|
*/
|
|
42
35
|
password?: string;
|
|
43
36
|
/**
|
|
44
37
|
* parameter for oauth2 security
|
|
45
38
|
* @param name security name
|
|
46
39
|
* @param scopes oauth2 scope
|
|
47
|
-
* @memberof Configuration
|
|
48
40
|
*/
|
|
49
41
|
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
|
|
50
42
|
/**
|
|
51
43
|
* override base path
|
|
52
|
-
*
|
|
53
|
-
* @type {string}
|
|
54
|
-
* @memberof Configuration
|
|
55
44
|
*/
|
|
56
45
|
basePath?: string;
|
|
57
46
|
/**
|
|
58
47
|
* override server index
|
|
59
|
-
*
|
|
60
|
-
* @type {number}
|
|
61
|
-
* @memberof Configuration
|
|
62
48
|
*/
|
|
63
49
|
serverIndex?: number;
|
|
64
50
|
/**
|
|
65
51
|
* base options for axios calls
|
|
66
|
-
*
|
|
67
|
-
* @type {any}
|
|
68
|
-
* @memberof Configuration
|
|
69
52
|
*/
|
|
70
53
|
baseOptions?: any;
|
|
71
54
|
/**
|
|
@@ -12,14 +12,10 @@
|
|
|
12
12
|
import type { InventoryItem } from './inventory-item';
|
|
13
13
|
/**
|
|
14
14
|
* The object with the list of Inventory to be added
|
|
15
|
-
* @export
|
|
16
|
-
* @interface AddInventoryRequest
|
|
17
15
|
*/
|
|
18
16
|
export interface AddInventoryRequest {
|
|
19
17
|
/**
|
|
20
18
|
* List of Inventory to be added
|
|
21
|
-
* @type {Array<InventoryItem>}
|
|
22
|
-
* @memberof AddInventoryRequest
|
|
23
19
|
*/
|
|
24
20
|
'inventoryItems'?: Array<InventoryItem>;
|
|
25
21
|
}
|
|
@@ -11,14 +11,10 @@
|
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
13
|
* The response schema for the AddInventory operation.
|
|
14
|
-
* @export
|
|
15
|
-
* @interface AddInventoryResponse
|
|
16
14
|
*/
|
|
17
15
|
export interface AddInventoryResponse {
|
|
18
16
|
/**
|
|
19
17
|
* A list of error responses returned when a request is unsuccessful.
|
|
20
|
-
* @type {Array<Error>}
|
|
21
|
-
* @memberof AddInventoryResponse
|
|
22
18
|
*/
|
|
23
19
|
'errors'?: Array<Error>;
|
|
24
20
|
}
|
|
@@ -11,26 +11,18 @@
|
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
13
|
* An item to be created in the inventory.
|
|
14
|
-
* @export
|
|
15
|
-
* @interface CreateInventoryItemRequest
|
|
16
14
|
*/
|
|
17
15
|
export interface CreateInventoryItemRequest {
|
|
18
16
|
/**
|
|
19
17
|
* The seller SKU of the item.
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof CreateInventoryItemRequest
|
|
22
18
|
*/
|
|
23
19
|
'sellerSku': string;
|
|
24
20
|
/**
|
|
25
21
|
* The marketplaceId.
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof CreateInventoryItemRequest
|
|
28
22
|
*/
|
|
29
23
|
'marketplaceId': string;
|
|
30
24
|
/**
|
|
31
25
|
* The name of the item.
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof CreateInventoryItemRequest
|
|
34
26
|
*/
|
|
35
27
|
'productName': string;
|
|
36
28
|
}
|
|
@@ -11,14 +11,10 @@
|
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
13
|
* The response schema for the CreateInventoryItem operation.
|
|
14
|
-
* @export
|
|
15
|
-
* @interface CreateInventoryItemResponse
|
|
16
14
|
*/
|
|
17
15
|
export interface CreateInventoryItemResponse {
|
|
18
16
|
/**
|
|
19
17
|
* A list of error responses returned when a request is unsuccessful.
|
|
20
|
-
* @type {Array<Error>}
|
|
21
|
-
* @memberof CreateInventoryItemResponse
|
|
22
18
|
*/
|
|
23
19
|
'errors'?: Array<Error>;
|
|
24
20
|
}
|
|
@@ -11,14 +11,10 @@
|
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
13
|
* The response schema for the DeleteInventoryItem operation.
|
|
14
|
-
* @export
|
|
15
|
-
* @interface DeleteInventoryItemResponse
|
|
16
14
|
*/
|
|
17
15
|
export interface DeleteInventoryItemResponse {
|
|
18
16
|
/**
|
|
19
17
|
* A list of error responses returned when a request is unsuccessful.
|
|
20
|
-
* @type {Array<Error>}
|
|
21
|
-
* @memberof DeleteInventoryItemResponse
|
|
22
18
|
*/
|
|
23
19
|
'errors'?: Array<Error>;
|
|
24
20
|
}
|
|
@@ -13,26 +13,12 @@ import type { GetInventorySummariesResult } from './get-inventory-summaries-resu
|
|
|
13
13
|
import type { Pagination } from './pagination';
|
|
14
14
|
/**
|
|
15
15
|
* The Response schema.
|
|
16
|
-
* @export
|
|
17
|
-
* @interface GetInventorySummariesResponse
|
|
18
16
|
*/
|
|
19
17
|
export interface GetInventorySummariesResponse {
|
|
20
|
-
/**
|
|
21
|
-
*
|
|
22
|
-
* @type {GetInventorySummariesResult}
|
|
23
|
-
* @memberof GetInventorySummariesResponse
|
|
24
|
-
*/
|
|
25
18
|
'payload'?: GetInventorySummariesResult;
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @type {Pagination}
|
|
29
|
-
* @memberof GetInventorySummariesResponse
|
|
30
|
-
*/
|
|
31
19
|
'pagination'?: Pagination;
|
|
32
20
|
/**
|
|
33
21
|
* A list of error responses returned when a request is unsuccessful.
|
|
34
|
-
* @type {Array<Error>}
|
|
35
|
-
* @memberof GetInventorySummariesResponse
|
|
36
22
|
*/
|
|
37
23
|
'errors'?: Array<Error>;
|
|
38
24
|
}
|
|
@@ -13,20 +13,11 @@ import type { Granularity } from './granularity';
|
|
|
13
13
|
import type { InventorySummary } from './inventory-summary';
|
|
14
14
|
/**
|
|
15
15
|
* The payload schema for the getInventorySummaries operation.
|
|
16
|
-
* @export
|
|
17
|
-
* @interface GetInventorySummariesResult
|
|
18
16
|
*/
|
|
19
17
|
export interface GetInventorySummariesResult {
|
|
20
|
-
/**
|
|
21
|
-
*
|
|
22
|
-
* @type {Granularity}
|
|
23
|
-
* @memberof GetInventorySummariesResult
|
|
24
|
-
*/
|
|
25
18
|
'granularity': Granularity;
|
|
26
19
|
/**
|
|
27
20
|
* A list of inventory summaries.
|
|
28
|
-
* @type {Array<InventorySummary>}
|
|
29
|
-
* @memberof GetInventorySummariesResult
|
|
30
21
|
*/
|
|
31
22
|
'inventorySummaries': Array<InventorySummary>;
|
|
32
23
|
}
|
|
@@ -11,20 +11,14 @@
|
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
13
|
* Describes a granularity at which inventory data can be aggregated. For example, if you use Marketplace granularity, the fulfillable quantity will reflect inventory that could be fulfilled in the given marketplace.
|
|
14
|
-
* @export
|
|
15
|
-
* @interface Granularity
|
|
16
14
|
*/
|
|
17
15
|
export interface Granularity {
|
|
18
16
|
/**
|
|
19
17
|
* The granularity type for the inventory aggregation level.
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof Granularity
|
|
22
18
|
*/
|
|
23
19
|
'granularityType'?: string;
|
|
24
20
|
/**
|
|
25
21
|
* The granularity ID for the specified granularity type. When granularityType is Marketplace, specify the marketplaceId.
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof Granularity
|
|
28
22
|
*/
|
|
29
23
|
'granularityId'?: string;
|
|
30
24
|
}
|
|
@@ -14,50 +14,25 @@ import type { ReservedQuantity } from './reserved-quantity';
|
|
|
14
14
|
import type { UnfulfillableQuantity } from './unfulfillable-quantity';
|
|
15
15
|
/**
|
|
16
16
|
* Summarized inventory details. This object will not appear if the details parameter in the request is false.
|
|
17
|
-
* @export
|
|
18
|
-
* @interface InventoryDetails
|
|
19
17
|
*/
|
|
20
18
|
export interface InventoryDetails {
|
|
21
19
|
/**
|
|
22
20
|
* The item quantity that can be picked, packed, and shipped.
|
|
23
|
-
* @type {number}
|
|
24
|
-
* @memberof InventoryDetails
|
|
25
21
|
*/
|
|
26
22
|
'fulfillableQuantity'?: number;
|
|
27
23
|
/**
|
|
28
24
|
* The number of units in an inbound shipment for which you have notified Amazon.
|
|
29
|
-
* @type {number}
|
|
30
|
-
* @memberof InventoryDetails
|
|
31
25
|
*/
|
|
32
26
|
'inboundWorkingQuantity'?: number;
|
|
33
27
|
/**
|
|
34
28
|
* The number of units in an inbound shipment that you have notified Amazon about and have provided a tracking number.
|
|
35
|
-
* @type {number}
|
|
36
|
-
* @memberof InventoryDetails
|
|
37
29
|
*/
|
|
38
30
|
'inboundShippedQuantity'?: number;
|
|
39
31
|
/**
|
|
40
32
|
* The number of units that have not yet been received at an Amazon fulfillment center for processing, but are part of an inbound shipment with some units that have already been received and processed.
|
|
41
|
-
* @type {number}
|
|
42
|
-
* @memberof InventoryDetails
|
|
43
33
|
*/
|
|
44
34
|
'inboundReceivingQuantity'?: number;
|
|
45
|
-
/**
|
|
46
|
-
*
|
|
47
|
-
* @type {ReservedQuantity}
|
|
48
|
-
* @memberof InventoryDetails
|
|
49
|
-
*/
|
|
50
35
|
'reservedQuantity'?: ReservedQuantity;
|
|
51
|
-
/**
|
|
52
|
-
*
|
|
53
|
-
* @type {ResearchingQuantity}
|
|
54
|
-
* @memberof InventoryDetails
|
|
55
|
-
*/
|
|
56
36
|
'researchingQuantity'?: ResearchingQuantity;
|
|
57
|
-
/**
|
|
58
|
-
*
|
|
59
|
-
* @type {UnfulfillableQuantity}
|
|
60
|
-
* @memberof InventoryDetails
|
|
61
|
-
*/
|
|
62
37
|
'unfulfillableQuantity'?: UnfulfillableQuantity;
|
|
63
38
|
}
|
|
@@ -11,26 +11,18 @@
|
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
13
|
* An item in the list of inventory to be added.
|
|
14
|
-
* @export
|
|
15
|
-
* @interface InventoryItem
|
|
16
14
|
*/
|
|
17
15
|
export interface InventoryItem {
|
|
18
16
|
/**
|
|
19
17
|
* The seller SKU of the item.
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof InventoryItem
|
|
22
18
|
*/
|
|
23
19
|
'sellerSku': string;
|
|
24
20
|
/**
|
|
25
21
|
* The marketplaceId.
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof InventoryItem
|
|
28
22
|
*/
|
|
29
23
|
'marketplaceId': string;
|
|
30
24
|
/**
|
|
31
25
|
* The quantity of item to add.
|
|
32
|
-
* @type {number}
|
|
33
|
-
* @memberof InventoryItem
|
|
34
26
|
*/
|
|
35
27
|
'quantity': number;
|
|
36
28
|
}
|
|
@@ -12,62 +12,39 @@
|
|
|
12
12
|
import type { InventoryDetails } from './inventory-details';
|
|
13
13
|
/**
|
|
14
14
|
* Inventory summary for a specific item.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface InventorySummary
|
|
17
15
|
*/
|
|
18
16
|
export interface InventorySummary {
|
|
19
17
|
/**
|
|
20
18
|
* The Amazon Standard Identification Number (ASIN) of an item.
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof InventorySummary
|
|
23
19
|
*/
|
|
24
20
|
'asin'?: string;
|
|
25
21
|
/**
|
|
26
22
|
* Amazon\'s fulfillment network SKU identifier.
|
|
27
|
-
* @type {string}
|
|
28
|
-
* @memberof InventorySummary
|
|
29
23
|
*/
|
|
30
24
|
'fnSku'?: string;
|
|
31
25
|
/**
|
|
32
26
|
* The seller SKU of the item.
|
|
33
|
-
* @type {string}
|
|
34
|
-
* @memberof InventorySummary
|
|
35
27
|
*/
|
|
36
28
|
'sellerSku'?: string;
|
|
37
29
|
/**
|
|
38
30
|
* The condition of the item as described by the seller (for example, New Item).
|
|
39
|
-
* @type {string}
|
|
40
|
-
* @memberof InventorySummary
|
|
41
31
|
*/
|
|
42
32
|
'condition'?: string;
|
|
43
|
-
/**
|
|
44
|
-
*
|
|
45
|
-
* @type {InventoryDetails}
|
|
46
|
-
* @memberof InventorySummary
|
|
47
|
-
*/
|
|
48
33
|
'inventoryDetails'?: InventoryDetails;
|
|
49
34
|
/**
|
|
50
35
|
* The date and time that any quantity was last updated.
|
|
51
|
-
* @type {string}
|
|
52
|
-
* @memberof InventorySummary
|
|
53
36
|
*/
|
|
54
37
|
'lastUpdatedTime'?: string;
|
|
55
38
|
/**
|
|
56
39
|
* The localized language product title of the item within the specific marketplace.
|
|
57
|
-
* @type {string}
|
|
58
|
-
* @memberof InventorySummary
|
|
59
40
|
*/
|
|
60
41
|
'productName'?: string;
|
|
61
42
|
/**
|
|
62
43
|
* The total number of units in an inbound shipment or in Amazon fulfillment centers.
|
|
63
|
-
* @type {number}
|
|
64
|
-
* @memberof InventorySummary
|
|
65
44
|
*/
|
|
66
45
|
'totalQuantity'?: number;
|
|
67
46
|
/**
|
|
68
47
|
* A list of seller-enrolled stores that apply to this seller SKU.
|
|
69
|
-
* @type {Array<string>}
|
|
70
|
-
* @memberof InventorySummary
|
|
71
48
|
*/
|
|
72
49
|
'stores'?: Array<string>;
|
|
73
50
|
}
|
|
@@ -11,26 +11,18 @@
|
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
13
|
* An error response returned when the request is unsuccessful.
|
|
14
|
-
* @export
|
|
15
|
-
* @interface ModelError
|
|
16
14
|
*/
|
|
17
15
|
export interface ModelError {
|
|
18
16
|
/**
|
|
19
17
|
* An error code that identifies the type of error that occurred.
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof ModelError
|
|
22
18
|
*/
|
|
23
19
|
'code': string;
|
|
24
20
|
/**
|
|
25
21
|
* A message that describes the error condition in a human-readable form.
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof ModelError
|
|
28
22
|
*/
|
|
29
23
|
'message'?: string;
|
|
30
24
|
/**
|
|
31
25
|
* Additional information that can help the caller understand or fix the issue.
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof ModelError
|
|
34
26
|
*/
|
|
35
27
|
'details'?: string;
|
|
36
28
|
}
|
|
@@ -11,14 +11,10 @@
|
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
13
|
* The process of returning the results to a request in batches of a defined size called pages. This is done to exercise some control over result size and overall throughput. It\'s a form of traffic management.
|
|
14
|
-
* @export
|
|
15
|
-
* @interface Pagination
|
|
16
14
|
*/
|
|
17
15
|
export interface Pagination {
|
|
18
16
|
/**
|
|
19
17
|
* A generated string used to retrieve the next page of the result. If nextToken is returned, pass the value of nextToken to the next request. If nextToken is not returned, there are no more items to return.
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof Pagination
|
|
22
18
|
*/
|
|
23
19
|
'nextToken'?: string;
|
|
24
20
|
}
|