@sp-api-sdk/fba-inventory-api-v1 1.12.3 → 1.12.6
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/src/api-model/api/fba-inventory-api.js +1 -1
- package/dist/cjs/src/api-model/models/researching-quantity-entry.js +5 -10
- package/dist/es/src/api-model/api/fba-inventory-api.js +1 -1
- package/dist/es/src/api-model/models/researching-quantity-entry.js +5 -10
- package/dist/types/src/api-model/api/fba-inventory-api.d.ts +8 -8
- package/dist/types/src/api-model/base.d.ts +2 -2
- package/dist/types/src/api-model/common.d.ts +7 -7
- package/dist/types/src/api-model/models/get-inventory-summaries-response.d.ts +3 -3
- package/dist/types/src/api-model/models/get-inventory-summaries-result.d.ts +2 -2
- package/dist/types/src/api-model/models/granularity.d.ts +2 -2
- package/dist/types/src/api-model/models/inventory-details.d.ts +7 -7
- package/dist/types/src/api-model/models/inventory-summary.d.ts +8 -8
- package/dist/types/src/api-model/models/model-error.d.ts +3 -3
- package/dist/types/src/api-model/models/pagination.d.ts +1 -1
- package/dist/types/src/api-model/models/researching-quantity-entry.d.ts +8 -11
- package/dist/types/src/api-model/models/researching-quantity.d.ts +2 -2
- package/dist/types/src/api-model/models/reserved-quantity.d.ts +4 -4
- package/dist/types/src/api-model/models/unfulfillable-quantity.d.ts +7 -7
- package/package.json +4 -4
|
@@ -79,7 +79,7 @@ const FbaInventoryApiAxiosParamCreator = function (configuration) {
|
|
|
79
79
|
if (marketplaceIds) {
|
|
80
80
|
localVarQueryParameter['marketplaceIds'] = marketplaceIds.join(base_1.COLLECTION_FORMATS.csv);
|
|
81
81
|
}
|
|
82
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter
|
|
82
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
83
83
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
84
84
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
85
85
|
return {
|
|
@@ -14,13 +14,8 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.ResearchingQuantityEntryNameEnum = void 0;
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
(function (ResearchingQuantityEntryNameEnum) {
|
|
23
|
-
ResearchingQuantityEntryNameEnum["ResearchingQuantityInShortTerm"] = "researchingQuantityInShortTerm";
|
|
24
|
-
ResearchingQuantityEntryNameEnum["ResearchingQuantityInMidTerm"] = "researchingQuantityInMidTerm";
|
|
25
|
-
ResearchingQuantityEntryNameEnum["ResearchingQuantityInLongTerm"] = "researchingQuantityInLongTerm";
|
|
26
|
-
})(ResearchingQuantityEntryNameEnum = exports.ResearchingQuantityEntryNameEnum || (exports.ResearchingQuantityEntryNameEnum = {}));
|
|
17
|
+
exports.ResearchingQuantityEntryNameEnum = {
|
|
18
|
+
ResearchingQuantityInShortTerm: 'researchingQuantityInShortTerm',
|
|
19
|
+
ResearchingQuantityInMidTerm: 'researchingQuantityInMidTerm',
|
|
20
|
+
ResearchingQuantityInLongTerm: 'researchingQuantityInLongTerm'
|
|
21
|
+
};
|
|
@@ -75,7 +75,7 @@ export const FbaInventoryApiAxiosParamCreator = function (configuration) {
|
|
|
75
75
|
if (marketplaceIds) {
|
|
76
76
|
localVarQueryParameter['marketplaceIds'] = marketplaceIds.join(COLLECTION_FORMATS.csv);
|
|
77
77
|
}
|
|
78
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
78
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
79
79
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
80
80
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
81
81
|
return {
|
|
@@ -11,13 +11,8 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
(function (ResearchingQuantityEntryNameEnum) {
|
|
20
|
-
ResearchingQuantityEntryNameEnum["ResearchingQuantityInShortTerm"] = "researchingQuantityInShortTerm";
|
|
21
|
-
ResearchingQuantityEntryNameEnum["ResearchingQuantityInMidTerm"] = "researchingQuantityInMidTerm";
|
|
22
|
-
ResearchingQuantityEntryNameEnum["ResearchingQuantityInLongTerm"] = "researchingQuantityInLongTerm";
|
|
23
|
-
})(ResearchingQuantityEntryNameEnum || (ResearchingQuantityEntryNameEnum = {}));
|
|
14
|
+
export const ResearchingQuantityEntryNameEnum = {
|
|
15
|
+
ResearchingQuantityInShortTerm: 'researchingQuantityInShortTerm',
|
|
16
|
+
ResearchingQuantityInMidTerm: 'researchingQuantityInMidTerm',
|
|
17
|
+
ResearchingQuantityInLongTerm: 'researchingQuantityInLongTerm'
|
|
18
|
+
};
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { AxiosPromise, AxiosInstance } from 'axios';
|
|
12
|
+
import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
13
13
|
import { Configuration } from '../configuration';
|
|
14
14
|
import { RequestArgs, BaseAPI } from '../base';
|
|
15
15
|
import { GetInventorySummariesResponse } from '../models';
|
|
@@ -17,7 +17,7 @@ import { GetInventorySummariesResponse } from '../models';
|
|
|
17
17
|
* FbaInventoryApi - axios parameter creator
|
|
18
18
|
* @export
|
|
19
19
|
*/
|
|
20
|
-
export declare const FbaInventoryApiAxiosParamCreator: (configuration?: Configuration
|
|
20
|
+
export declare const FbaInventoryApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
21
21
|
/**
|
|
22
22
|
* Returns a list of inventory summaries. The summaries returned depend on the presence or absence of the startDateTime and sellerSkus parameters: - All inventory summaries with available details are returned when the startDateTime and sellerSkus parameters are omitted. - When startDateTime is provided, the operation returns inventory summaries that have had changes after the date and time specified. The sellerSkus parameter is ignored. - When the sellerSkus parameter is provided, the operation returns inventory summaries for only the specified sellerSkus. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 2 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
|
|
23
23
|
* @param {'Marketplace'} granularityType The granularity type for the inventory aggregation level.
|
|
@@ -30,13 +30,13 @@ export declare const FbaInventoryApiAxiosParamCreator: (configuration?: Configur
|
|
|
30
30
|
* @param {*} [options] Override http request option.
|
|
31
31
|
* @throws {RequiredError}
|
|
32
32
|
*/
|
|
33
|
-
getInventorySummaries: (granularityType: 'Marketplace', granularityId: string, marketplaceIds: Array<string>, details?: boolean
|
|
33
|
+
getInventorySummaries: (granularityType: 'Marketplace', granularityId: string, marketplaceIds: Array<string>, details?: boolean, startDateTime?: string, sellerSkus?: Array<string>, nextToken?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
34
34
|
};
|
|
35
35
|
/**
|
|
36
36
|
* FbaInventoryApi - functional programming interface
|
|
37
37
|
* @export
|
|
38
38
|
*/
|
|
39
|
-
export declare const FbaInventoryApiFp: (configuration?: Configuration
|
|
39
|
+
export declare const FbaInventoryApiFp: (configuration?: Configuration) => {
|
|
40
40
|
/**
|
|
41
41
|
* Returns a list of inventory summaries. The summaries returned depend on the presence or absence of the startDateTime and sellerSkus parameters: - All inventory summaries with available details are returned when the startDateTime and sellerSkus parameters are omitted. - When startDateTime is provided, the operation returns inventory summaries that have had changes after the date and time specified. The sellerSkus parameter is ignored. - When the sellerSkus parameter is provided, the operation returns inventory summaries for only the specified sellerSkus. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 2 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
|
|
42
42
|
* @param {'Marketplace'} granularityType The granularity type for the inventory aggregation level.
|
|
@@ -49,13 +49,13 @@ export declare const FbaInventoryApiFp: (configuration?: Configuration | undefin
|
|
|
49
49
|
* @param {*} [options] Override http request option.
|
|
50
50
|
* @throws {RequiredError}
|
|
51
51
|
*/
|
|
52
|
-
getInventorySummaries(granularityType: 'Marketplace', granularityId: string, marketplaceIds: Array<string>, details?: boolean
|
|
52
|
+
getInventorySummaries(granularityType: 'Marketplace', granularityId: string, marketplaceIds: Array<string>, details?: boolean, startDateTime?: string, sellerSkus?: Array<string>, nextToken?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetInventorySummariesResponse>>;
|
|
53
53
|
};
|
|
54
54
|
/**
|
|
55
55
|
* FbaInventoryApi - factory interface
|
|
56
56
|
* @export
|
|
57
57
|
*/
|
|
58
|
-
export declare const FbaInventoryApiFactory: (configuration?: Configuration
|
|
58
|
+
export declare const FbaInventoryApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
59
59
|
/**
|
|
60
60
|
* Returns a list of inventory summaries. The summaries returned depend on the presence or absence of the startDateTime and sellerSkus parameters: - All inventory summaries with available details are returned when the startDateTime and sellerSkus parameters are omitted. - When startDateTime is provided, the operation returns inventory summaries that have had changes after the date and time specified. The sellerSkus parameter is ignored. - When the sellerSkus parameter is provided, the operation returns inventory summaries for only the specified sellerSkus. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 2 | For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
|
|
61
61
|
* @param {'Marketplace'} granularityType The granularity type for the inventory aggregation level.
|
|
@@ -68,7 +68,7 @@ export declare const FbaInventoryApiFactory: (configuration?: Configuration | un
|
|
|
68
68
|
* @param {*} [options] Override http request option.
|
|
69
69
|
* @throws {RequiredError}
|
|
70
70
|
*/
|
|
71
|
-
getInventorySummaries(granularityType: 'Marketplace', granularityId: string, marketplaceIds: Array<string>, details?: boolean
|
|
71
|
+
getInventorySummaries(granularityType: 'Marketplace', granularityId: string, marketplaceIds: Array<string>, details?: boolean, startDateTime?: string, sellerSkus?: Array<string>, nextToken?: string, options?: any): AxiosPromise<GetInventorySummariesResponse>;
|
|
72
72
|
};
|
|
73
73
|
/**
|
|
74
74
|
* Request parameters for getInventorySummaries operation in FbaInventoryApi.
|
|
@@ -133,5 +133,5 @@ export declare class FbaInventoryApi extends BaseAPI {
|
|
|
133
133
|
* @throws {RequiredError}
|
|
134
134
|
* @memberof FbaInventoryApi
|
|
135
135
|
*/
|
|
136
|
-
getInventorySummaries(requestParameters: FbaInventoryApiGetInventorySummariesRequest, options?:
|
|
136
|
+
getInventorySummaries(requestParameters: FbaInventoryApiGetInventorySummariesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetInventorySummariesResponse, any>>;
|
|
137
137
|
}
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import { Configuration } from "./configuration";
|
|
13
|
-
import { AxiosInstance } from 'axios';
|
|
13
|
+
import { AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
14
14
|
export declare const BASE_PATH: string;
|
|
15
15
|
/**
|
|
16
16
|
*
|
|
@@ -29,7 +29,7 @@ export declare const COLLECTION_FORMATS: {
|
|
|
29
29
|
*/
|
|
30
30
|
export interface RequestArgs {
|
|
31
31
|
url: string;
|
|
32
|
-
options:
|
|
32
|
+
options: AxiosRequestConfig;
|
|
33
33
|
}
|
|
34
34
|
/**
|
|
35
35
|
*
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import { Configuration } from "./configuration";
|
|
13
13
|
import { RequestArgs } from "./base";
|
|
14
|
-
import { AxiosInstance } from 'axios';
|
|
14
|
+
import { AxiosInstance, AxiosResponse } from 'axios';
|
|
15
15
|
/**
|
|
16
16
|
*
|
|
17
17
|
* @export
|
|
@@ -27,22 +27,22 @@ export declare const assertParamExists: (functionName: string, paramName: string
|
|
|
27
27
|
*
|
|
28
28
|
* @export
|
|
29
29
|
*/
|
|
30
|
-
export declare const setApiKeyToObject: (object: any, keyParamName: string, configuration?: Configuration
|
|
30
|
+
export declare const setApiKeyToObject: (object: any, keyParamName: string, configuration?: Configuration) => Promise<void>;
|
|
31
31
|
/**
|
|
32
32
|
*
|
|
33
33
|
* @export
|
|
34
34
|
*/
|
|
35
|
-
export declare const setBasicAuthToObject: (object: any, configuration?: Configuration
|
|
35
|
+
export declare const setBasicAuthToObject: (object: any, configuration?: Configuration) => void;
|
|
36
36
|
/**
|
|
37
37
|
*
|
|
38
38
|
* @export
|
|
39
39
|
*/
|
|
40
|
-
export declare const setBearerAuthToObject: (object: any, configuration?: Configuration
|
|
40
|
+
export declare const setBearerAuthToObject: (object: any, configuration?: Configuration) => Promise<void>;
|
|
41
41
|
/**
|
|
42
42
|
*
|
|
43
43
|
* @export
|
|
44
44
|
*/
|
|
45
|
-
export declare const setOAuthToObject: (object: any, name: string, scopes: string[], configuration?: Configuration
|
|
45
|
+
export declare const setOAuthToObject: (object: any, name: string, scopes: string[], configuration?: Configuration) => Promise<void>;
|
|
46
46
|
/**
|
|
47
47
|
*
|
|
48
48
|
* @export
|
|
@@ -52,7 +52,7 @@ export declare const setSearchParams: (url: URL, ...objects: any[]) => void;
|
|
|
52
52
|
*
|
|
53
53
|
* @export
|
|
54
54
|
*/
|
|
55
|
-
export declare const serializeDataIfNeeded: (value: any, requestOptions: any, configuration?: Configuration
|
|
55
|
+
export declare const serializeDataIfNeeded: (value: any, requestOptions: any, configuration?: Configuration) => any;
|
|
56
56
|
/**
|
|
57
57
|
*
|
|
58
58
|
* @export
|
|
@@ -62,4 +62,4 @@ export declare const toPathString: (url: URL) => string;
|
|
|
62
62
|
*
|
|
63
63
|
* @export
|
|
64
64
|
*/
|
|
65
|
-
export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration
|
|
65
|
+
export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T, any>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
|
|
@@ -22,17 +22,17 @@ export interface GetInventorySummariesResponse {
|
|
|
22
22
|
* @type {GetInventorySummariesResult}
|
|
23
23
|
* @memberof GetInventorySummariesResponse
|
|
24
24
|
*/
|
|
25
|
-
payload?: GetInventorySummariesResult;
|
|
25
|
+
'payload'?: GetInventorySummariesResult;
|
|
26
26
|
/**
|
|
27
27
|
*
|
|
28
28
|
* @type {Pagination}
|
|
29
29
|
* @memberof GetInventorySummariesResponse
|
|
30
30
|
*/
|
|
31
|
-
pagination?: Pagination;
|
|
31
|
+
'pagination'?: Pagination;
|
|
32
32
|
/**
|
|
33
33
|
* A list of error responses returned when a request is unsuccessful.
|
|
34
34
|
* @type {Array<Error>}
|
|
35
35
|
* @memberof GetInventorySummariesResponse
|
|
36
36
|
*/
|
|
37
|
-
errors?: Array<Error>;
|
|
37
|
+
'errors'?: Array<Error>;
|
|
38
38
|
}
|
|
@@ -22,11 +22,11 @@ export interface GetInventorySummariesResult {
|
|
|
22
22
|
* @type {Granularity}
|
|
23
23
|
* @memberof GetInventorySummariesResult
|
|
24
24
|
*/
|
|
25
|
-
granularity: Granularity;
|
|
25
|
+
'granularity': Granularity;
|
|
26
26
|
/**
|
|
27
27
|
* A list of inventory summaries.
|
|
28
28
|
* @type {Array<InventorySummary>}
|
|
29
29
|
* @memberof GetInventorySummariesResult
|
|
30
30
|
*/
|
|
31
|
-
inventorySummaries: Array<InventorySummary>;
|
|
31
|
+
'inventorySummaries': Array<InventorySummary>;
|
|
32
32
|
}
|
|
@@ -20,11 +20,11 @@ export interface Granularity {
|
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof Granularity
|
|
22
22
|
*/
|
|
23
|
-
granularityType?: string;
|
|
23
|
+
'granularityType'?: string;
|
|
24
24
|
/**
|
|
25
25
|
* The granularity ID for the specified granularity type. When granularityType is Marketplace, specify the marketplaceId.
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof Granularity
|
|
28
28
|
*/
|
|
29
|
-
granularityId?: string;
|
|
29
|
+
'granularityId'?: string;
|
|
30
30
|
}
|
|
@@ -23,41 +23,41 @@ export interface InventoryDetails {
|
|
|
23
23
|
* @type {number}
|
|
24
24
|
* @memberof InventoryDetails
|
|
25
25
|
*/
|
|
26
|
-
fulfillableQuantity?: number;
|
|
26
|
+
'fulfillableQuantity'?: number;
|
|
27
27
|
/**
|
|
28
28
|
* The number of units in an inbound shipment for which you have notified Amazon.
|
|
29
29
|
* @type {number}
|
|
30
30
|
* @memberof InventoryDetails
|
|
31
31
|
*/
|
|
32
|
-
inboundWorkingQuantity?: number;
|
|
32
|
+
'inboundWorkingQuantity'?: number;
|
|
33
33
|
/**
|
|
34
34
|
* The number of units in an inbound shipment that you have notified Amazon about and have provided a tracking number.
|
|
35
35
|
* @type {number}
|
|
36
36
|
* @memberof InventoryDetails
|
|
37
37
|
*/
|
|
38
|
-
inboundShippedQuantity?: number;
|
|
38
|
+
'inboundShippedQuantity'?: number;
|
|
39
39
|
/**
|
|
40
40
|
* 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
41
|
* @type {number}
|
|
42
42
|
* @memberof InventoryDetails
|
|
43
43
|
*/
|
|
44
|
-
inboundReceivingQuantity?: number;
|
|
44
|
+
'inboundReceivingQuantity'?: number;
|
|
45
45
|
/**
|
|
46
46
|
*
|
|
47
47
|
* @type {ReservedQuantity}
|
|
48
48
|
* @memberof InventoryDetails
|
|
49
49
|
*/
|
|
50
|
-
reservedQuantity?: ReservedQuantity;
|
|
50
|
+
'reservedQuantity'?: ReservedQuantity;
|
|
51
51
|
/**
|
|
52
52
|
*
|
|
53
53
|
* @type {ResearchingQuantity}
|
|
54
54
|
* @memberof InventoryDetails
|
|
55
55
|
*/
|
|
56
|
-
researchingQuantity?: ResearchingQuantity;
|
|
56
|
+
'researchingQuantity'?: ResearchingQuantity;
|
|
57
57
|
/**
|
|
58
58
|
*
|
|
59
59
|
* @type {UnfulfillableQuantity}
|
|
60
60
|
* @memberof InventoryDetails
|
|
61
61
|
*/
|
|
62
|
-
unfulfillableQuantity?: UnfulfillableQuantity;
|
|
62
|
+
'unfulfillableQuantity'?: UnfulfillableQuantity;
|
|
63
63
|
}
|
|
@@ -21,47 +21,47 @@ export interface InventorySummary {
|
|
|
21
21
|
* @type {string}
|
|
22
22
|
* @memberof InventorySummary
|
|
23
23
|
*/
|
|
24
|
-
asin?: string;
|
|
24
|
+
'asin'?: string;
|
|
25
25
|
/**
|
|
26
26
|
* Amazon\'s fulfillment network SKU identifier.
|
|
27
27
|
* @type {string}
|
|
28
28
|
* @memberof InventorySummary
|
|
29
29
|
*/
|
|
30
|
-
fnSku?: string;
|
|
30
|
+
'fnSku'?: string;
|
|
31
31
|
/**
|
|
32
32
|
* The seller SKU of the item.
|
|
33
33
|
* @type {string}
|
|
34
34
|
* @memberof InventorySummary
|
|
35
35
|
*/
|
|
36
|
-
sellerSku?: string;
|
|
36
|
+
'sellerSku'?: string;
|
|
37
37
|
/**
|
|
38
38
|
* The condition of the item as described by the seller (for example, New Item).
|
|
39
39
|
* @type {string}
|
|
40
40
|
* @memberof InventorySummary
|
|
41
41
|
*/
|
|
42
|
-
condition?: string;
|
|
42
|
+
'condition'?: string;
|
|
43
43
|
/**
|
|
44
44
|
*
|
|
45
45
|
* @type {InventoryDetails}
|
|
46
46
|
* @memberof InventorySummary
|
|
47
47
|
*/
|
|
48
|
-
inventoryDetails?: InventoryDetails;
|
|
48
|
+
'inventoryDetails'?: InventoryDetails;
|
|
49
49
|
/**
|
|
50
50
|
* The date and time that any quantity was last updated.
|
|
51
51
|
* @type {string}
|
|
52
52
|
* @memberof InventorySummary
|
|
53
53
|
*/
|
|
54
|
-
lastUpdatedTime?: string;
|
|
54
|
+
'lastUpdatedTime'?: string;
|
|
55
55
|
/**
|
|
56
56
|
* The localized language product title of the item within the specific marketplace.
|
|
57
57
|
* @type {string}
|
|
58
58
|
* @memberof InventorySummary
|
|
59
59
|
*/
|
|
60
|
-
productName?: string;
|
|
60
|
+
'productName'?: string;
|
|
61
61
|
/**
|
|
62
62
|
* The total number of units in an inbound shipment or in Amazon fulfillment centers.
|
|
63
63
|
* @type {number}
|
|
64
64
|
* @memberof InventorySummary
|
|
65
65
|
*/
|
|
66
|
-
totalQuantity?: number;
|
|
66
|
+
'totalQuantity'?: number;
|
|
67
67
|
}
|
|
@@ -20,17 +20,17 @@ export interface ModelError {
|
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof ModelError
|
|
22
22
|
*/
|
|
23
|
-
code: string;
|
|
23
|
+
'code': string;
|
|
24
24
|
/**
|
|
25
25
|
* A message that describes the error condition in a human-readable form.
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof ModelError
|
|
28
28
|
*/
|
|
29
|
-
message?: string;
|
|
29
|
+
'message'?: string;
|
|
30
30
|
/**
|
|
31
31
|
* Additional information that can help the caller understand or fix the issue.
|
|
32
32
|
* @type {string}
|
|
33
33
|
* @memberof ModelError
|
|
34
34
|
*/
|
|
35
|
-
details?: string;
|
|
35
|
+
'details'?: string;
|
|
36
36
|
}
|
|
@@ -20,20 +20,17 @@ export interface ResearchingQuantityEntry {
|
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof ResearchingQuantityEntry
|
|
22
22
|
*/
|
|
23
|
-
name: ResearchingQuantityEntryNameEnum;
|
|
23
|
+
'name': ResearchingQuantityEntryNameEnum;
|
|
24
24
|
/**
|
|
25
25
|
* The number of units.
|
|
26
26
|
* @type {number}
|
|
27
27
|
* @memberof ResearchingQuantityEntry
|
|
28
28
|
*/
|
|
29
|
-
quantity: number;
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* @export
|
|
33
|
-
* @enum {string}
|
|
34
|
-
*/
|
|
35
|
-
export declare enum ResearchingQuantityEntryNameEnum {
|
|
36
|
-
ResearchingQuantityInShortTerm = "researchingQuantityInShortTerm",
|
|
37
|
-
ResearchingQuantityInMidTerm = "researchingQuantityInMidTerm",
|
|
38
|
-
ResearchingQuantityInLongTerm = "researchingQuantityInLongTerm"
|
|
29
|
+
'quantity': number;
|
|
39
30
|
}
|
|
31
|
+
export declare const ResearchingQuantityEntryNameEnum: {
|
|
32
|
+
readonly ResearchingQuantityInShortTerm: "researchingQuantityInShortTerm";
|
|
33
|
+
readonly ResearchingQuantityInMidTerm: "researchingQuantityInMidTerm";
|
|
34
|
+
readonly ResearchingQuantityInLongTerm: "researchingQuantityInLongTerm";
|
|
35
|
+
};
|
|
36
|
+
export declare type ResearchingQuantityEntryNameEnum = typeof ResearchingQuantityEntryNameEnum[keyof typeof ResearchingQuantityEntryNameEnum];
|
|
@@ -21,11 +21,11 @@ export interface ResearchingQuantity {
|
|
|
21
21
|
* @type {number}
|
|
22
22
|
* @memberof ResearchingQuantity
|
|
23
23
|
*/
|
|
24
|
-
totalResearchingQuantity?: number;
|
|
24
|
+
'totalResearchingQuantity'?: number;
|
|
25
25
|
/**
|
|
26
26
|
* A list of quantity details for items currently being researched.
|
|
27
27
|
* @type {Array<ResearchingQuantityEntry>}
|
|
28
28
|
* @memberof ResearchingQuantity
|
|
29
29
|
*/
|
|
30
|
-
researchingQuantityBreakdown?: Array<ResearchingQuantityEntry>;
|
|
30
|
+
'researchingQuantityBreakdown'?: Array<ResearchingQuantityEntry>;
|
|
31
31
|
}
|
|
@@ -20,23 +20,23 @@ export interface ReservedQuantity {
|
|
|
20
20
|
* @type {number}
|
|
21
21
|
* @memberof ReservedQuantity
|
|
22
22
|
*/
|
|
23
|
-
totalReservedQuantity?: number;
|
|
23
|
+
'totalReservedQuantity'?: number;
|
|
24
24
|
/**
|
|
25
25
|
* The number of units reserved for customer orders.
|
|
26
26
|
* @type {number}
|
|
27
27
|
* @memberof ReservedQuantity
|
|
28
28
|
*/
|
|
29
|
-
pendingCustomerOrderQuantity?: number;
|
|
29
|
+
'pendingCustomerOrderQuantity'?: number;
|
|
30
30
|
/**
|
|
31
31
|
* The number of units being transferred from one fulfillment center to another.
|
|
32
32
|
* @type {number}
|
|
33
33
|
* @memberof ReservedQuantity
|
|
34
34
|
*/
|
|
35
|
-
pendingTransshipmentQuantity?: number;
|
|
35
|
+
'pendingTransshipmentQuantity'?: number;
|
|
36
36
|
/**
|
|
37
37
|
* The number of units that have been sidelined at the fulfillment center for additional processing.
|
|
38
38
|
* @type {number}
|
|
39
39
|
* @memberof ReservedQuantity
|
|
40
40
|
*/
|
|
41
|
-
fcProcessingQuantity?: number;
|
|
41
|
+
'fcProcessingQuantity'?: number;
|
|
42
42
|
}
|
|
@@ -20,41 +20,41 @@ export interface UnfulfillableQuantity {
|
|
|
20
20
|
* @type {number}
|
|
21
21
|
* @memberof UnfulfillableQuantity
|
|
22
22
|
*/
|
|
23
|
-
totalUnfulfillableQuantity?: number;
|
|
23
|
+
'totalUnfulfillableQuantity'?: number;
|
|
24
24
|
/**
|
|
25
25
|
* The number of units in customer damaged disposition.
|
|
26
26
|
* @type {number}
|
|
27
27
|
* @memberof UnfulfillableQuantity
|
|
28
28
|
*/
|
|
29
|
-
customerDamagedQuantity?: number;
|
|
29
|
+
'customerDamagedQuantity'?: number;
|
|
30
30
|
/**
|
|
31
31
|
* The number of units in warehouse damaged disposition.
|
|
32
32
|
* @type {number}
|
|
33
33
|
* @memberof UnfulfillableQuantity
|
|
34
34
|
*/
|
|
35
|
-
warehouseDamagedQuantity?: number;
|
|
35
|
+
'warehouseDamagedQuantity'?: number;
|
|
36
36
|
/**
|
|
37
37
|
* The number of units in distributor damaged disposition.
|
|
38
38
|
* @type {number}
|
|
39
39
|
* @memberof UnfulfillableQuantity
|
|
40
40
|
*/
|
|
41
|
-
distributorDamagedQuantity?: number;
|
|
41
|
+
'distributorDamagedQuantity'?: number;
|
|
42
42
|
/**
|
|
43
43
|
* The number of units in carrier damaged disposition.
|
|
44
44
|
* @type {number}
|
|
45
45
|
* @memberof UnfulfillableQuantity
|
|
46
46
|
*/
|
|
47
|
-
carrierDamagedQuantity?: number;
|
|
47
|
+
'carrierDamagedQuantity'?: number;
|
|
48
48
|
/**
|
|
49
49
|
* The number of units in defective disposition.
|
|
50
50
|
* @type {number}
|
|
51
51
|
* @memberof UnfulfillableQuantity
|
|
52
52
|
*/
|
|
53
|
-
defectiveQuantity?: number;
|
|
53
|
+
'defectiveQuantity'?: number;
|
|
54
54
|
/**
|
|
55
55
|
* The number of units in expired disposition.
|
|
56
56
|
* @type {number}
|
|
57
57
|
* @memberof UnfulfillableQuantity
|
|
58
58
|
*/
|
|
59
|
-
expiredQuantity?: number;
|
|
59
|
+
'expiredQuantity'?: number;
|
|
60
60
|
}
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@sp-api-sdk/fba-inventory-api-v1",
|
|
3
3
|
"author": "Vincent Mesquita <vincent.mesquita@bizon.solutions>",
|
|
4
4
|
"description": "The Selling Partner API for FBA Inventory lets you programmatically retrieve information about inventory in Amazon's fulfillment network.",
|
|
5
|
-
"version": "1.12.
|
|
5
|
+
"version": "1.12.6",
|
|
6
6
|
"main": "dist/cjs/index.js",
|
|
7
7
|
"module": "dist/es/index.js",
|
|
8
8
|
"types": "dist/types/index.d.ts",
|
|
@@ -27,8 +27,8 @@
|
|
|
27
27
|
"test": "jest"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@sp-api-sdk/auth": "^1.9.
|
|
31
|
-
"@sp-api-sdk/common": "^1.9.
|
|
30
|
+
"@sp-api-sdk/auth": "^1.9.18",
|
|
31
|
+
"@sp-api-sdk/common": "^1.9.4",
|
|
32
32
|
"axios": "^0.27.2"
|
|
33
33
|
},
|
|
34
34
|
"repository": {
|
|
@@ -50,5 +50,5 @@
|
|
|
50
50
|
"sp sdk",
|
|
51
51
|
"fba inventory api"
|
|
52
52
|
],
|
|
53
|
-
"gitHead": "
|
|
53
|
+
"gitHead": "18efdada205f63f94bd5c11e163e758adbb93257"
|
|
54
54
|
}
|