@sp-api-sdk/catalog-items-api-v0 1.10.5 → 1.10.8
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.
|
@@ -19,7 +19,7 @@ import { ListCatalogItemsResponse } from '../models';
|
|
|
19
19
|
* CatalogApi - axios parameter creator
|
|
20
20
|
* @export
|
|
21
21
|
*/
|
|
22
|
-
export declare const CatalogApiAxiosParamCreator: (configuration?: Configuration
|
|
22
|
+
export declare const CatalogApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
23
23
|
/**
|
|
24
24
|
* Returns a specified item and its attributes. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 2 | 20 | |Selling partner specific| Variable | Variable | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation. Rate limits for some selling partners will vary from the default rate and burst shown in the table above. For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
|
|
25
25
|
* @param {string} marketplaceId A marketplace identifier. Specifies the marketplace for the item.
|
|
@@ -36,7 +36,7 @@ export declare const CatalogApiAxiosParamCreator: (configuration?: Configuration
|
|
|
36
36
|
* @param {*} [options] Override http request option.
|
|
37
37
|
* @throws {RequiredError}
|
|
38
38
|
*/
|
|
39
|
-
listCatalogCategories: (marketplaceId: string, aSIN?: string
|
|
39
|
+
listCatalogCategories: (marketplaceId: string, aSIN?: string, sellerSKU?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
40
40
|
/**
|
|
41
41
|
* Returns a list of items and their attributes, based on a search query or item identifiers that you specify. When based on a search query, provide the Query parameter and optionally, the QueryContextId parameter. When based on item identifiers, provide a single appropriate parameter based on the identifier type, and specify the associated item value. MarketplaceId is always required. At least one of Query, SellerSKU, UPC, EAN, ISBN, JAN is also required. This operation returns a maximum of ten products and does not return non-buyable products. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 6 | 40 | |Selling partner specific| Variable | Variable | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation. Rate limits for some selling partners will vary from the default rate and burst shown in the table above. For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
|
|
42
42
|
* @param {string} marketplaceId A marketplace identifier. Specifies the marketplace for which items are returned.
|
|
@@ -50,13 +50,13 @@ export declare const CatalogApiAxiosParamCreator: (configuration?: Configuration
|
|
|
50
50
|
* @param {*} [options] Override http request option.
|
|
51
51
|
* @throws {RequiredError}
|
|
52
52
|
*/
|
|
53
|
-
listCatalogItems: (marketplaceId: string, query?: string
|
|
53
|
+
listCatalogItems: (marketplaceId: string, query?: string, queryContextId?: string, sellerSKU?: string, uPC?: string, eAN?: string, iSBN?: string, jAN?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
54
54
|
};
|
|
55
55
|
/**
|
|
56
56
|
* CatalogApi - functional programming interface
|
|
57
57
|
* @export
|
|
58
58
|
*/
|
|
59
|
-
export declare const CatalogApiFp: (configuration?: Configuration
|
|
59
|
+
export declare const CatalogApiFp: (configuration?: Configuration) => {
|
|
60
60
|
/**
|
|
61
61
|
* Returns a specified item and its attributes. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 2 | 20 | |Selling partner specific| Variable | Variable | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation. Rate limits for some selling partners will vary from the default rate and burst shown in the table above. For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
|
|
62
62
|
* @param {string} marketplaceId A marketplace identifier. Specifies the marketplace for the item.
|
|
@@ -64,7 +64,7 @@ export declare const CatalogApiFp: (configuration?: Configuration | undefined) =
|
|
|
64
64
|
* @param {*} [options] Override http request option.
|
|
65
65
|
* @throws {RequiredError}
|
|
66
66
|
*/
|
|
67
|
-
getCatalogItem(marketplaceId: string, asin: string, options?: AxiosRequestConfig
|
|
67
|
+
getCatalogItem(marketplaceId: string, asin: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetCatalogItemResponse>>;
|
|
68
68
|
/**
|
|
69
69
|
* Returns the parent categories to which an item belongs, based on the specified ASIN or SellerSKU. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 1 | 40 | |Selling partner specific| Variable | Variable | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation. Rate limits for some selling partners will vary from the default rate and burst shown in the table above. For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
|
|
70
70
|
* @param {string} marketplaceId A marketplace identifier. Specifies the marketplace for the item.
|
|
@@ -73,7 +73,7 @@ export declare const CatalogApiFp: (configuration?: Configuration | undefined) =
|
|
|
73
73
|
* @param {*} [options] Override http request option.
|
|
74
74
|
* @throws {RequiredError}
|
|
75
75
|
*/
|
|
76
|
-
listCatalogCategories(marketplaceId: string, aSIN?: string
|
|
76
|
+
listCatalogCategories(marketplaceId: string, aSIN?: string, sellerSKU?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListCatalogCategoriesResponse>>;
|
|
77
77
|
/**
|
|
78
78
|
* Returns a list of items and their attributes, based on a search query or item identifiers that you specify. When based on a search query, provide the Query parameter and optionally, the QueryContextId parameter. When based on item identifiers, provide a single appropriate parameter based on the identifier type, and specify the associated item value. MarketplaceId is always required. At least one of Query, SellerSKU, UPC, EAN, ISBN, JAN is also required. This operation returns a maximum of ten products and does not return non-buyable products. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 6 | 40 | |Selling partner specific| Variable | Variable | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation. Rate limits for some selling partners will vary from the default rate and burst shown in the table above. For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
|
|
79
79
|
* @param {string} marketplaceId A marketplace identifier. Specifies the marketplace for which items are returned.
|
|
@@ -87,13 +87,13 @@ export declare const CatalogApiFp: (configuration?: Configuration | undefined) =
|
|
|
87
87
|
* @param {*} [options] Override http request option.
|
|
88
88
|
* @throws {RequiredError}
|
|
89
89
|
*/
|
|
90
|
-
listCatalogItems(marketplaceId: string, query?: string
|
|
90
|
+
listCatalogItems(marketplaceId: string, query?: string, queryContextId?: string, sellerSKU?: string, uPC?: string, eAN?: string, iSBN?: string, jAN?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListCatalogItemsResponse>>;
|
|
91
91
|
};
|
|
92
92
|
/**
|
|
93
93
|
* CatalogApi - factory interface
|
|
94
94
|
* @export
|
|
95
95
|
*/
|
|
96
|
-
export declare const CatalogApiFactory: (configuration?: Configuration
|
|
96
|
+
export declare const CatalogApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
97
97
|
/**
|
|
98
98
|
* Returns a specified item and its attributes. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 2 | 20 | |Selling partner specific| Variable | Variable | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation. Rate limits for some selling partners will vary from the default rate and burst shown in the table above. For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
|
|
99
99
|
* @param {string} marketplaceId A marketplace identifier. Specifies the marketplace for the item.
|
|
@@ -110,7 +110,7 @@ export declare const CatalogApiFactory: (configuration?: Configuration | undefin
|
|
|
110
110
|
* @param {*} [options] Override http request option.
|
|
111
111
|
* @throws {RequiredError}
|
|
112
112
|
*/
|
|
113
|
-
listCatalogCategories(marketplaceId: string, aSIN?: string
|
|
113
|
+
listCatalogCategories(marketplaceId: string, aSIN?: string, sellerSKU?: string, options?: any): AxiosPromise<ListCatalogCategoriesResponse>;
|
|
114
114
|
/**
|
|
115
115
|
* Returns a list of items and their attributes, based on a search query or item identifiers that you specify. When based on a search query, provide the Query parameter and optionally, the QueryContextId parameter. When based on item identifiers, provide a single appropriate parameter based on the identifier type, and specify the associated item value. MarketplaceId is always required. At least one of Query, SellerSKU, UPC, EAN, ISBN, JAN is also required. This operation returns a maximum of ten products and does not return non-buyable products. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 6 | 40 | |Selling partner specific| Variable | Variable | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation. Rate limits for some selling partners will vary from the default rate and burst shown in the table above. For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
|
|
116
116
|
* @param {string} marketplaceId A marketplace identifier. Specifies the marketplace for which items are returned.
|
|
@@ -124,7 +124,7 @@ export declare const CatalogApiFactory: (configuration?: Configuration | undefin
|
|
|
124
124
|
* @param {*} [options] Override http request option.
|
|
125
125
|
* @throws {RequiredError}
|
|
126
126
|
*/
|
|
127
|
-
listCatalogItems(marketplaceId: string, query?: string
|
|
127
|
+
listCatalogItems(marketplaceId: string, query?: string, queryContextId?: string, sellerSKU?: string, uPC?: string, eAN?: string, iSBN?: string, jAN?: string, options?: any): AxiosPromise<ListCatalogItemsResponse>;
|
|
128
128
|
};
|
|
129
129
|
/**
|
|
130
130
|
* Request parameters for getCatalogItem operation in CatalogApi.
|
|
@@ -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>;
|
package/package.json
CHANGED
|
@@ -2,11 +2,10 @@
|
|
|
2
2
|
"name": "@sp-api-sdk/catalog-items-api-v0",
|
|
3
3
|
"author": "Vincent Mesquita <vincent.mesquita@bizon.solutions>",
|
|
4
4
|
"description": "The Selling Partner API for Catalog Items helps you programmatically retrieve item details for items in the catalog.",
|
|
5
|
-
"version": "1.10.
|
|
5
|
+
"version": "1.10.8",
|
|
6
6
|
"main": "dist/cjs/index.js",
|
|
7
7
|
"module": "dist/es/index.js",
|
|
8
8
|
"types": "dist/types/index.d.ts",
|
|
9
|
-
"typedocMain": "./index.ts",
|
|
10
9
|
"license": "MIT",
|
|
11
10
|
"publishConfig": {
|
|
12
11
|
"access": "public"
|
|
@@ -27,8 +26,8 @@
|
|
|
27
26
|
"test": "jest"
|
|
28
27
|
},
|
|
29
28
|
"dependencies": {
|
|
30
|
-
"@sp-api-sdk/auth": "^1.9.
|
|
31
|
-
"@sp-api-sdk/common": "^1.9.
|
|
29
|
+
"@sp-api-sdk/auth": "^1.9.20",
|
|
30
|
+
"@sp-api-sdk/common": "^1.9.6",
|
|
32
31
|
"axios": "^0.27.2"
|
|
33
32
|
},
|
|
34
33
|
"repository": {
|
|
@@ -50,5 +49,8 @@
|
|
|
50
49
|
"sp sdk",
|
|
51
50
|
"catalog items api"
|
|
52
51
|
],
|
|
53
|
-
"
|
|
52
|
+
"typedoc": {
|
|
53
|
+
"entryPoint": "./index.ts"
|
|
54
|
+
},
|
|
55
|
+
"gitHead": "c28c9ce8bfa10271bba79c0067c5c9f63a5f6dc0"
|
|
54
56
|
}
|