@sp-api-sdk/fba-inbound-eligibility-api-v1 1.8.4 → 1.8.5
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-inbound-api.js +1 -1
- package/dist/cjs/src/api-model/models/item-eligibility-preview.js +45 -55
- package/dist/es/src/api-model/api/fba-inbound-api.js +1 -1
- package/dist/es/src/api-model/models/item-eligibility-preview.js +45 -55
- package/dist/types/src/api-model/api/fba-inbound-api.d.ts +4 -4
- package/dist/types/src/api-model/base.d.ts +2 -2
- package/dist/types/src/api-model/common.d.ts +2 -2
- package/dist/types/src/api-model/models/get-item-eligibility-preview-response.d.ts +2 -2
- package/dist/types/src/api-model/models/item-eligibility-preview.d.ts +52 -58
- package/dist/types/src/api-model/models/model-error.d.ts +3 -3
- package/package.json +2 -2
|
@@ -59,7 +59,7 @@ const FbaInboundApiAxiosParamCreator = function (configuration) {
|
|
|
59
59
|
if (program !== undefined) {
|
|
60
60
|
localVarQueryParameter['program'] = program;
|
|
61
61
|
}
|
|
62
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter
|
|
62
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
63
63
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
64
64
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
65
65
|
return {
|
|
@@ -14,58 +14,48 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.ItemEligibilityPreviewIneligibilityReasonListEnum = exports.ItemEligibilityPreviewProgramEnum = void 0;
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
ItemEligibilityPreviewIneligibilityReasonListEnum["FbaInb0095"] = "FBA_INB_0095";
|
|
63
|
-
ItemEligibilityPreviewIneligibilityReasonListEnum["FbaInb0097"] = "FBA_INB_0097";
|
|
64
|
-
ItemEligibilityPreviewIneligibilityReasonListEnum["FbaInb0098"] = "FBA_INB_0098";
|
|
65
|
-
ItemEligibilityPreviewIneligibilityReasonListEnum["FbaInb0099"] = "FBA_INB_0099";
|
|
66
|
-
ItemEligibilityPreviewIneligibilityReasonListEnum["FbaInb0100"] = "FBA_INB_0100";
|
|
67
|
-
ItemEligibilityPreviewIneligibilityReasonListEnum["FbaInb0103"] = "FBA_INB_0103";
|
|
68
|
-
ItemEligibilityPreviewIneligibilityReasonListEnum["FbaInb0104"] = "FBA_INB_0104";
|
|
69
|
-
ItemEligibilityPreviewIneligibilityReasonListEnum["FbaInb0197"] = "FBA_INB_0197";
|
|
70
|
-
ItemEligibilityPreviewIneligibilityReasonListEnum["UnknownInbErrorCode"] = "UNKNOWN_INB_ERROR_CODE";
|
|
71
|
-
})(ItemEligibilityPreviewIneligibilityReasonListEnum = exports.ItemEligibilityPreviewIneligibilityReasonListEnum || (exports.ItemEligibilityPreviewIneligibilityReasonListEnum = {}));
|
|
17
|
+
exports.ItemEligibilityPreviewProgramEnum = {
|
|
18
|
+
Inbound: 'INBOUND',
|
|
19
|
+
Commingling: 'COMMINGLING'
|
|
20
|
+
};
|
|
21
|
+
exports.ItemEligibilityPreviewIneligibilityReasonListEnum = {
|
|
22
|
+
FbaInb0004: 'FBA_INB_0004',
|
|
23
|
+
FbaInb0006: 'FBA_INB_0006',
|
|
24
|
+
FbaInb0007: 'FBA_INB_0007',
|
|
25
|
+
FbaInb0008: 'FBA_INB_0008',
|
|
26
|
+
FbaInb0009: 'FBA_INB_0009',
|
|
27
|
+
FbaInb0010: 'FBA_INB_0010',
|
|
28
|
+
FbaInb0011: 'FBA_INB_0011',
|
|
29
|
+
FbaInb0012: 'FBA_INB_0012',
|
|
30
|
+
FbaInb0013: 'FBA_INB_0013',
|
|
31
|
+
FbaInb0014: 'FBA_INB_0014',
|
|
32
|
+
FbaInb0015: 'FBA_INB_0015',
|
|
33
|
+
FbaInb0016: 'FBA_INB_0016',
|
|
34
|
+
FbaInb0017: 'FBA_INB_0017',
|
|
35
|
+
FbaInb0018: 'FBA_INB_0018',
|
|
36
|
+
FbaInb0019: 'FBA_INB_0019',
|
|
37
|
+
FbaInb0034: 'FBA_INB_0034',
|
|
38
|
+
FbaInb0035: 'FBA_INB_0035',
|
|
39
|
+
FbaInb0036: 'FBA_INB_0036',
|
|
40
|
+
FbaInb0037: 'FBA_INB_0037',
|
|
41
|
+
FbaInb0038: 'FBA_INB_0038',
|
|
42
|
+
FbaInb0050: 'FBA_INB_0050',
|
|
43
|
+
FbaInb0051: 'FBA_INB_0051',
|
|
44
|
+
FbaInb0053: 'FBA_INB_0053',
|
|
45
|
+
FbaInb0055: 'FBA_INB_0055',
|
|
46
|
+
FbaInb0056: 'FBA_INB_0056',
|
|
47
|
+
FbaInb0059: 'FBA_INB_0059',
|
|
48
|
+
FbaInb0065: 'FBA_INB_0065',
|
|
49
|
+
FbaInb0066: 'FBA_INB_0066',
|
|
50
|
+
FbaInb0067: 'FBA_INB_0067',
|
|
51
|
+
FbaInb0068: 'FBA_INB_0068',
|
|
52
|
+
FbaInb0095: 'FBA_INB_0095',
|
|
53
|
+
FbaInb0097: 'FBA_INB_0097',
|
|
54
|
+
FbaInb0098: 'FBA_INB_0098',
|
|
55
|
+
FbaInb0099: 'FBA_INB_0099',
|
|
56
|
+
FbaInb0100: 'FBA_INB_0100',
|
|
57
|
+
FbaInb0103: 'FBA_INB_0103',
|
|
58
|
+
FbaInb0104: 'FBA_INB_0104',
|
|
59
|
+
FbaInb0197: 'FBA_INB_0197',
|
|
60
|
+
UnknownInbErrorCode: 'UNKNOWN_INB_ERROR_CODE'
|
|
61
|
+
};
|
|
@@ -55,7 +55,7 @@ export const FbaInboundApiAxiosParamCreator = function (configuration) {
|
|
|
55
55
|
if (program !== undefined) {
|
|
56
56
|
localVarQueryParameter['program'] = program;
|
|
57
57
|
}
|
|
58
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
58
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
59
59
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
60
60
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
61
61
|
return {
|
|
@@ -11,58 +11,48 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
export
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
ItemEligibilityPreviewIneligibilityReasonListEnum["FbaInb0095"] = "FBA_INB_0095";
|
|
60
|
-
ItemEligibilityPreviewIneligibilityReasonListEnum["FbaInb0097"] = "FBA_INB_0097";
|
|
61
|
-
ItemEligibilityPreviewIneligibilityReasonListEnum["FbaInb0098"] = "FBA_INB_0098";
|
|
62
|
-
ItemEligibilityPreviewIneligibilityReasonListEnum["FbaInb0099"] = "FBA_INB_0099";
|
|
63
|
-
ItemEligibilityPreviewIneligibilityReasonListEnum["FbaInb0100"] = "FBA_INB_0100";
|
|
64
|
-
ItemEligibilityPreviewIneligibilityReasonListEnum["FbaInb0103"] = "FBA_INB_0103";
|
|
65
|
-
ItemEligibilityPreviewIneligibilityReasonListEnum["FbaInb0104"] = "FBA_INB_0104";
|
|
66
|
-
ItemEligibilityPreviewIneligibilityReasonListEnum["FbaInb0197"] = "FBA_INB_0197";
|
|
67
|
-
ItemEligibilityPreviewIneligibilityReasonListEnum["UnknownInbErrorCode"] = "UNKNOWN_INB_ERROR_CODE";
|
|
68
|
-
})(ItemEligibilityPreviewIneligibilityReasonListEnum || (ItemEligibilityPreviewIneligibilityReasonListEnum = {}));
|
|
14
|
+
export const ItemEligibilityPreviewProgramEnum = {
|
|
15
|
+
Inbound: 'INBOUND',
|
|
16
|
+
Commingling: 'COMMINGLING'
|
|
17
|
+
};
|
|
18
|
+
export const ItemEligibilityPreviewIneligibilityReasonListEnum = {
|
|
19
|
+
FbaInb0004: 'FBA_INB_0004',
|
|
20
|
+
FbaInb0006: 'FBA_INB_0006',
|
|
21
|
+
FbaInb0007: 'FBA_INB_0007',
|
|
22
|
+
FbaInb0008: 'FBA_INB_0008',
|
|
23
|
+
FbaInb0009: 'FBA_INB_0009',
|
|
24
|
+
FbaInb0010: 'FBA_INB_0010',
|
|
25
|
+
FbaInb0011: 'FBA_INB_0011',
|
|
26
|
+
FbaInb0012: 'FBA_INB_0012',
|
|
27
|
+
FbaInb0013: 'FBA_INB_0013',
|
|
28
|
+
FbaInb0014: 'FBA_INB_0014',
|
|
29
|
+
FbaInb0015: 'FBA_INB_0015',
|
|
30
|
+
FbaInb0016: 'FBA_INB_0016',
|
|
31
|
+
FbaInb0017: 'FBA_INB_0017',
|
|
32
|
+
FbaInb0018: 'FBA_INB_0018',
|
|
33
|
+
FbaInb0019: 'FBA_INB_0019',
|
|
34
|
+
FbaInb0034: 'FBA_INB_0034',
|
|
35
|
+
FbaInb0035: 'FBA_INB_0035',
|
|
36
|
+
FbaInb0036: 'FBA_INB_0036',
|
|
37
|
+
FbaInb0037: 'FBA_INB_0037',
|
|
38
|
+
FbaInb0038: 'FBA_INB_0038',
|
|
39
|
+
FbaInb0050: 'FBA_INB_0050',
|
|
40
|
+
FbaInb0051: 'FBA_INB_0051',
|
|
41
|
+
FbaInb0053: 'FBA_INB_0053',
|
|
42
|
+
FbaInb0055: 'FBA_INB_0055',
|
|
43
|
+
FbaInb0056: 'FBA_INB_0056',
|
|
44
|
+
FbaInb0059: 'FBA_INB_0059',
|
|
45
|
+
FbaInb0065: 'FBA_INB_0065',
|
|
46
|
+
FbaInb0066: 'FBA_INB_0066',
|
|
47
|
+
FbaInb0067: 'FBA_INB_0067',
|
|
48
|
+
FbaInb0068: 'FBA_INB_0068',
|
|
49
|
+
FbaInb0095: 'FBA_INB_0095',
|
|
50
|
+
FbaInb0097: 'FBA_INB_0097',
|
|
51
|
+
FbaInb0098: 'FBA_INB_0098',
|
|
52
|
+
FbaInb0099: 'FBA_INB_0099',
|
|
53
|
+
FbaInb0100: 'FBA_INB_0100',
|
|
54
|
+
FbaInb0103: 'FBA_INB_0103',
|
|
55
|
+
FbaInb0104: 'FBA_INB_0104',
|
|
56
|
+
FbaInb0197: 'FBA_INB_0197',
|
|
57
|
+
UnknownInbErrorCode: 'UNKNOWN_INB_ERROR_CODE'
|
|
58
|
+
};
|
|
@@ -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 { GetItemEligibilityPreviewResponse } from '../models';
|
|
@@ -26,7 +26,7 @@ export declare const FbaInboundApiAxiosParamCreator: (configuration?: Configurat
|
|
|
26
26
|
* @param {*} [options] Override http request option.
|
|
27
27
|
* @throws {RequiredError}
|
|
28
28
|
*/
|
|
29
|
-
getItemEligibilityPreview: (asin: string, program: 'INBOUND' | 'COMMINGLING', marketplaceIds?: string[] | undefined, options?:
|
|
29
|
+
getItemEligibilityPreview: (asin: string, program: 'INBOUND' | 'COMMINGLING', marketplaceIds?: string[] | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
30
30
|
};
|
|
31
31
|
/**
|
|
32
32
|
* FbaInboundApi - functional programming interface
|
|
@@ -41,7 +41,7 @@ export declare const FbaInboundApiFp: (configuration?: Configuration | undefined
|
|
|
41
41
|
* @param {*} [options] Override http request option.
|
|
42
42
|
* @throws {RequiredError}
|
|
43
43
|
*/
|
|
44
|
-
getItemEligibilityPreview(asin: string, program: 'INBOUND' | 'COMMINGLING', marketplaceIds?: string[] | undefined, options?: any): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<GetItemEligibilityPreviewResponse>>;
|
|
44
|
+
getItemEligibilityPreview(asin: string, program: 'INBOUND' | 'COMMINGLING', marketplaceIds?: string[] | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<GetItemEligibilityPreviewResponse>>;
|
|
45
45
|
};
|
|
46
46
|
/**
|
|
47
47
|
* FbaInboundApi - factory interface
|
|
@@ -97,5 +97,5 @@ export declare class FbaInboundApi extends BaseAPI {
|
|
|
97
97
|
* @throws {RequiredError}
|
|
98
98
|
* @memberof FbaInboundApi
|
|
99
99
|
*/
|
|
100
|
-
getItemEligibilityPreview(requestParameters: FbaInboundApiGetItemEligibilityPreviewRequest, options?:
|
|
100
|
+
getItemEligibilityPreview(requestParameters: FbaInboundApiGetItemEligibilityPreviewRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetItemEligibilityPreviewResponse, any>>;
|
|
101
101
|
}
|
|
@@ -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
|
|
@@ -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 | undefined) => (axios?: AxiosInstance, basePath?: string) => Promise<
|
|
65
|
+
export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration | undefined) => <T = unknown, R = AxiosResponse<T, any>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
|
|
@@ -21,11 +21,11 @@ export interface GetItemEligibilityPreviewResponse {
|
|
|
21
21
|
* @type {ItemEligibilityPreview}
|
|
22
22
|
* @memberof GetItemEligibilityPreviewResponse
|
|
23
23
|
*/
|
|
24
|
-
payload?: ItemEligibilityPreview;
|
|
24
|
+
'payload'?: ItemEligibilityPreview;
|
|
25
25
|
/**
|
|
26
26
|
* A list of error responses returned when a request is unsuccessful.
|
|
27
27
|
* @type {Array<Error>}
|
|
28
28
|
* @memberof GetItemEligibilityPreviewResponse
|
|
29
29
|
*/
|
|
30
|
-
errors?: Array<Error>;
|
|
30
|
+
'errors'?: Array<Error>;
|
|
31
31
|
}
|
|
@@ -20,82 +20,76 @@ export interface ItemEligibilityPreview {
|
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof ItemEligibilityPreview
|
|
22
22
|
*/
|
|
23
|
-
asin: string;
|
|
23
|
+
'asin': string;
|
|
24
24
|
/**
|
|
25
25
|
* The marketplace for which eligibility was determined.
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof ItemEligibilityPreview
|
|
28
28
|
*/
|
|
29
|
-
marketplaceId?: string;
|
|
29
|
+
'marketplaceId'?: string;
|
|
30
30
|
/**
|
|
31
31
|
* The program for which eligibility was determined.
|
|
32
32
|
* @type {string}
|
|
33
33
|
* @memberof ItemEligibilityPreview
|
|
34
34
|
*/
|
|
35
|
-
program: ItemEligibilityPreviewProgramEnum;
|
|
35
|
+
'program': ItemEligibilityPreviewProgramEnum;
|
|
36
36
|
/**
|
|
37
37
|
* Indicates if the item is eligible for the program.
|
|
38
38
|
* @type {boolean}
|
|
39
39
|
* @memberof ItemEligibilityPreview
|
|
40
40
|
*/
|
|
41
|
-
isEligibleForProgram: boolean;
|
|
41
|
+
'isEligibleForProgram': boolean;
|
|
42
42
|
/**
|
|
43
43
|
* Potential Ineligibility Reason Codes.
|
|
44
44
|
* @type {Array<string>}
|
|
45
45
|
* @memberof ItemEligibilityPreview
|
|
46
46
|
*/
|
|
47
|
-
ineligibilityReasonList?: Array<ItemEligibilityPreviewIneligibilityReasonListEnum>;
|
|
48
|
-
}
|
|
49
|
-
/**
|
|
50
|
-
* @export
|
|
51
|
-
* @enum {string}
|
|
52
|
-
*/
|
|
53
|
-
export declare enum ItemEligibilityPreviewProgramEnum {
|
|
54
|
-
Inbound = "INBOUND",
|
|
55
|
-
Commingling = "COMMINGLING"
|
|
56
|
-
}
|
|
57
|
-
/**
|
|
58
|
-
* @export
|
|
59
|
-
* @enum {string}
|
|
60
|
-
*/
|
|
61
|
-
export declare enum ItemEligibilityPreviewIneligibilityReasonListEnum {
|
|
62
|
-
FbaInb0004 = "FBA_INB_0004",
|
|
63
|
-
FbaInb0006 = "FBA_INB_0006",
|
|
64
|
-
FbaInb0007 = "FBA_INB_0007",
|
|
65
|
-
FbaInb0008 = "FBA_INB_0008",
|
|
66
|
-
FbaInb0009 = "FBA_INB_0009",
|
|
67
|
-
FbaInb0010 = "FBA_INB_0010",
|
|
68
|
-
FbaInb0011 = "FBA_INB_0011",
|
|
69
|
-
FbaInb0012 = "FBA_INB_0012",
|
|
70
|
-
FbaInb0013 = "FBA_INB_0013",
|
|
71
|
-
FbaInb0014 = "FBA_INB_0014",
|
|
72
|
-
FbaInb0015 = "FBA_INB_0015",
|
|
73
|
-
FbaInb0016 = "FBA_INB_0016",
|
|
74
|
-
FbaInb0017 = "FBA_INB_0017",
|
|
75
|
-
FbaInb0018 = "FBA_INB_0018",
|
|
76
|
-
FbaInb0019 = "FBA_INB_0019",
|
|
77
|
-
FbaInb0034 = "FBA_INB_0034",
|
|
78
|
-
FbaInb0035 = "FBA_INB_0035",
|
|
79
|
-
FbaInb0036 = "FBA_INB_0036",
|
|
80
|
-
FbaInb0037 = "FBA_INB_0037",
|
|
81
|
-
FbaInb0038 = "FBA_INB_0038",
|
|
82
|
-
FbaInb0050 = "FBA_INB_0050",
|
|
83
|
-
FbaInb0051 = "FBA_INB_0051",
|
|
84
|
-
FbaInb0053 = "FBA_INB_0053",
|
|
85
|
-
FbaInb0055 = "FBA_INB_0055",
|
|
86
|
-
FbaInb0056 = "FBA_INB_0056",
|
|
87
|
-
FbaInb0059 = "FBA_INB_0059",
|
|
88
|
-
FbaInb0065 = "FBA_INB_0065",
|
|
89
|
-
FbaInb0066 = "FBA_INB_0066",
|
|
90
|
-
FbaInb0067 = "FBA_INB_0067",
|
|
91
|
-
FbaInb0068 = "FBA_INB_0068",
|
|
92
|
-
FbaInb0095 = "FBA_INB_0095",
|
|
93
|
-
FbaInb0097 = "FBA_INB_0097",
|
|
94
|
-
FbaInb0098 = "FBA_INB_0098",
|
|
95
|
-
FbaInb0099 = "FBA_INB_0099",
|
|
96
|
-
FbaInb0100 = "FBA_INB_0100",
|
|
97
|
-
FbaInb0103 = "FBA_INB_0103",
|
|
98
|
-
FbaInb0104 = "FBA_INB_0104",
|
|
99
|
-
FbaInb0197 = "FBA_INB_0197",
|
|
100
|
-
UnknownInbErrorCode = "UNKNOWN_INB_ERROR_CODE"
|
|
47
|
+
'ineligibilityReasonList'?: Array<ItemEligibilityPreviewIneligibilityReasonListEnum>;
|
|
101
48
|
}
|
|
49
|
+
export declare const ItemEligibilityPreviewProgramEnum: {
|
|
50
|
+
readonly Inbound: "INBOUND";
|
|
51
|
+
readonly Commingling: "COMMINGLING";
|
|
52
|
+
};
|
|
53
|
+
export declare type ItemEligibilityPreviewProgramEnum = typeof ItemEligibilityPreviewProgramEnum[keyof typeof ItemEligibilityPreviewProgramEnum];
|
|
54
|
+
export declare const ItemEligibilityPreviewIneligibilityReasonListEnum: {
|
|
55
|
+
readonly FbaInb0004: "FBA_INB_0004";
|
|
56
|
+
readonly FbaInb0006: "FBA_INB_0006";
|
|
57
|
+
readonly FbaInb0007: "FBA_INB_0007";
|
|
58
|
+
readonly FbaInb0008: "FBA_INB_0008";
|
|
59
|
+
readonly FbaInb0009: "FBA_INB_0009";
|
|
60
|
+
readonly FbaInb0010: "FBA_INB_0010";
|
|
61
|
+
readonly FbaInb0011: "FBA_INB_0011";
|
|
62
|
+
readonly FbaInb0012: "FBA_INB_0012";
|
|
63
|
+
readonly FbaInb0013: "FBA_INB_0013";
|
|
64
|
+
readonly FbaInb0014: "FBA_INB_0014";
|
|
65
|
+
readonly FbaInb0015: "FBA_INB_0015";
|
|
66
|
+
readonly FbaInb0016: "FBA_INB_0016";
|
|
67
|
+
readonly FbaInb0017: "FBA_INB_0017";
|
|
68
|
+
readonly FbaInb0018: "FBA_INB_0018";
|
|
69
|
+
readonly FbaInb0019: "FBA_INB_0019";
|
|
70
|
+
readonly FbaInb0034: "FBA_INB_0034";
|
|
71
|
+
readonly FbaInb0035: "FBA_INB_0035";
|
|
72
|
+
readonly FbaInb0036: "FBA_INB_0036";
|
|
73
|
+
readonly FbaInb0037: "FBA_INB_0037";
|
|
74
|
+
readonly FbaInb0038: "FBA_INB_0038";
|
|
75
|
+
readonly FbaInb0050: "FBA_INB_0050";
|
|
76
|
+
readonly FbaInb0051: "FBA_INB_0051";
|
|
77
|
+
readonly FbaInb0053: "FBA_INB_0053";
|
|
78
|
+
readonly FbaInb0055: "FBA_INB_0055";
|
|
79
|
+
readonly FbaInb0056: "FBA_INB_0056";
|
|
80
|
+
readonly FbaInb0059: "FBA_INB_0059";
|
|
81
|
+
readonly FbaInb0065: "FBA_INB_0065";
|
|
82
|
+
readonly FbaInb0066: "FBA_INB_0066";
|
|
83
|
+
readonly FbaInb0067: "FBA_INB_0067";
|
|
84
|
+
readonly FbaInb0068: "FBA_INB_0068";
|
|
85
|
+
readonly FbaInb0095: "FBA_INB_0095";
|
|
86
|
+
readonly FbaInb0097: "FBA_INB_0097";
|
|
87
|
+
readonly FbaInb0098: "FBA_INB_0098";
|
|
88
|
+
readonly FbaInb0099: "FBA_INB_0099";
|
|
89
|
+
readonly FbaInb0100: "FBA_INB_0100";
|
|
90
|
+
readonly FbaInb0103: "FBA_INB_0103";
|
|
91
|
+
readonly FbaInb0104: "FBA_INB_0104";
|
|
92
|
+
readonly FbaInb0197: "FBA_INB_0197";
|
|
93
|
+
readonly UnknownInbErrorCode: "UNKNOWN_INB_ERROR_CODE";
|
|
94
|
+
};
|
|
95
|
+
export declare type ItemEligibilityPreviewIneligibilityReasonListEnum = typeof ItemEligibilityPreviewIneligibilityReasonListEnum[keyof typeof ItemEligibilityPreviewIneligibilityReasonListEnum];
|
|
@@ -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
|
}
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@sp-api-sdk/fba-inbound-eligibility-api-v1",
|
|
3
3
|
"author": "Vincent Mesquita <vincent.mesquita@bizon.solutions>",
|
|
4
4
|
"description": "With the FBA Inbound Eligibility API, you can build applications that let sellers get eligibility previews for items before shipping them to Amazon's fulfillment centers. With this API you can find out if an item is eligible for inbound shipment to Amazon's fulfillment centers in a specific marketplace. You can also find out if an item is eligible for using the manufacturer barcode for FBA inventory tracking. Sellers can use this information to inform their decisions about which items to ship Amazon's fulfillment centers.",
|
|
5
|
-
"version": "1.8.
|
|
5
|
+
"version": "1.8.5",
|
|
6
6
|
"main": "dist/cjs/index.js",
|
|
7
7
|
"module": "dist/es/index.js",
|
|
8
8
|
"types": "dist/types/index.d.ts",
|
|
@@ -50,5 +50,5 @@
|
|
|
50
50
|
"sp sdk",
|
|
51
51
|
"fba inbound eligibility api"
|
|
52
52
|
],
|
|
53
|
-
"gitHead": "
|
|
53
|
+
"gitHead": "d4f265d3c6a4e05e45025a46effa023a56a54e9c"
|
|
54
54
|
}
|