@sp-api-sdk/catalog-items-api-v0 2.0.3 → 2.0.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.
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { Configuration } from '../configuration';
|
|
13
13
|
import type { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
14
|
+
import globalAxios from 'axios';
|
|
14
15
|
import { RequestArgs, BaseAPI } from '../base';
|
|
15
16
|
import { GetCatalogItemResponse } from '../models';
|
|
16
17
|
import { ListCatalogCategoriesResponse } from '../models';
|
|
@@ -229,7 +230,7 @@ export declare class CatalogApi extends BaseAPI {
|
|
|
229
230
|
* @throws {RequiredError}
|
|
230
231
|
* @memberof CatalogApi
|
|
231
232
|
*/
|
|
232
|
-
getCatalogItem(requestParameters: CatalogApiGetCatalogItemRequest, options?: AxiosRequestConfig): Promise<
|
|
233
|
+
getCatalogItem(requestParameters: CatalogApiGetCatalogItemRequest, options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetCatalogItemResponse, any>>;
|
|
233
234
|
/**
|
|
234
235
|
* Returns the parent categories to which an item belongs, based on the specified ASIN or SellerSKU. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 2 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
235
236
|
* @param {CatalogApiListCatalogCategoriesRequest} requestParameters Request parameters.
|
|
@@ -237,7 +238,7 @@ export declare class CatalogApi extends BaseAPI {
|
|
|
237
238
|
* @throws {RequiredError}
|
|
238
239
|
* @memberof CatalogApi
|
|
239
240
|
*/
|
|
240
|
-
listCatalogCategories(requestParameters: CatalogApiListCatalogCategoriesRequest, options?: AxiosRequestConfig): Promise<
|
|
241
|
+
listCatalogCategories(requestParameters: CatalogApiListCatalogCategoriesRequest, options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<ListCatalogCategoriesResponse, any>>;
|
|
241
242
|
/**
|
|
242
243
|
* Effective September 30, 2022, the `listCatalogItems` operation will no longer be available in the Selling Partner API for Catalog Items v0. As an alternative, `searchCatalogItems` is available in the latest version of the [Selling Partner API for Catalog Items v2022-04-01](https://developer-docs.amazon.com/sp-api/docs/catalog-items-api-v2022-04-01-reference). Integrations that rely on the `listCatalogItems` operation should migrate to the `searchCatalogItems`operation to avoid service disruption. _Note:_ The [`listCatalogCategories`](#get-catalogv0categories) operation is not being deprecated and you can continue to make calls to it.
|
|
243
244
|
* @param {CatalogApiListCatalogItemsRequest} requestParameters Request parameters.
|
|
@@ -245,5 +246,5 @@ export declare class CatalogApi extends BaseAPI {
|
|
|
245
246
|
* @throws {RequiredError}
|
|
246
247
|
* @memberof CatalogApi
|
|
247
248
|
*/
|
|
248
|
-
listCatalogItems(requestParameters: CatalogApiListCatalogItemsRequest, options?: AxiosRequestConfig): Promise<
|
|
249
|
+
listCatalogItems(requestParameters: CatalogApiListCatalogItemsRequest, options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<ListCatalogItemsResponse, any>>;
|
|
249
250
|
}
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
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": "2.0.
|
|
5
|
+
"version": "2.0.5",
|
|
6
6
|
"main": "dist/cjs/index.js",
|
|
7
7
|
"module": "dist/es/index.js",
|
|
8
8
|
"types": "dist/types/index.d.ts",
|
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
"dist/**/*.d.ts"
|
|
19
19
|
],
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@sp-api-sdk/common": "2.0.
|
|
22
|
-
"axios": "^1.6.
|
|
21
|
+
"@sp-api-sdk/common": "2.0.5",
|
|
22
|
+
"axios": "^1.6.7"
|
|
23
23
|
},
|
|
24
24
|
"repository": {
|
|
25
25
|
"type": "git",
|
|
@@ -40,5 +40,5 @@
|
|
|
40
40
|
"sp sdk",
|
|
41
41
|
"catalog items api"
|
|
42
42
|
],
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "014aad96509aba433e07461efbe936a6062cc66a"
|
|
44
44
|
}
|