@sp-api-sdk/product-type-definitions-api-2020-09-01 2.1.1 → 2.2.0

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 { ProductTypeDefinition } from '../models';
16
17
  import { ProductTypeList } from '../models';
@@ -194,7 +195,7 @@ export declare class DefinitionsApi extends BaseAPI {
194
195
  * @throws {RequiredError}
195
196
  * @memberof DefinitionsApi
196
197
  */
197
- getDefinitionsProductType(requestParameters: DefinitionsApiGetDefinitionsProductTypeRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ProductTypeDefinition, any>>;
198
+ getDefinitionsProductType(requestParameters: DefinitionsApiGetDefinitionsProductTypeRequest, options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<ProductTypeDefinition, any>>;
198
199
  /**
199
200
  * Search for and return a list of Amazon product types that have definitions available. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 5 | 10 | |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](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
200
201
  * @param {DefinitionsApiSearchDefinitionsProductTypesRequest} requestParameters Request parameters.
@@ -202,5 +203,5 @@ export declare class DefinitionsApi extends BaseAPI {
202
203
  * @throws {RequiredError}
203
204
  * @memberof DefinitionsApi
204
205
  */
205
- searchDefinitionsProductTypes(requestParameters: DefinitionsApiSearchDefinitionsProductTypesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ProductTypeList, any>>;
206
+ searchDefinitionsProductTypes(requestParameters: DefinitionsApiSearchDefinitionsProductTypesRequest, options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<ProductTypeList, any>>;
206
207
  }
@@ -10,7 +10,6 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import { ProductType } from './product-type';
13
- import { ProductTypeVersion } from './product-type-version';
14
13
  /**
15
14
  * A list of Amazon product types with definitions available.
16
15
  * @export
@@ -24,9 +23,9 @@ export interface ProductTypeList {
24
23
  */
25
24
  'productTypes': Array<ProductType>;
26
25
  /**
27
- *
28
- * @type {ProductTypeVersion}
26
+ * Amazon product type version identifier.
27
+ * @type {string}
29
28
  * @memberof ProductTypeList
30
29
  */
31
- 'productTypeVersion': ProductTypeVersion;
30
+ 'productTypeVersion': string;
32
31
  }
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@sp-api-sdk/product-type-definitions-api-2020-09-01",
3
3
  "author": "Vincent Mesquita <vincent.mesquita@bizon.solutions>",
4
4
  "description": "The Selling Partner API for Product Type Definitions provides programmatic access to attribute and data requirements for product types in the Amazon catalog. Use this API to return the JSON Schema for a product type that you can then use with other Selling Partner APIs, such as the Selling Partner API for Listings Items, the Selling Partner API for Catalog Items, and the Selling Partner API for Feeds (for JSON-based listing feeds). For more information, see the Product Type Definitions API Use Case Guide.",
5
- "version": "2.1.1",
5
+ "version": "2.2.0",
6
6
  "main": "dist/cjs/index.js",
7
7
  "module": "dist/es/index.js",
8
8
  "types": "dist/types/index.d.ts",
@@ -18,7 +18,7 @@
18
18
  "dist/**/*.d.ts"
19
19
  ],
20
20
  "dependencies": {
21
- "@sp-api-sdk/common": "2.0.3",
21
+ "@sp-api-sdk/common": "2.0.4",
22
22
  "axios": "^1.6.2"
23
23
  },
24
24
  "repository": {
@@ -40,5 +40,5 @@
40
40
  "sp sdk",
41
41
  "product type definitions api"
42
42
  ],
43
- "gitHead": "c81279baeb662780ae3cb42fb60fa11670fed191"
43
+ "gitHead": "96729dd2eabfca855da5eb33f271c0b09b449972"
44
44
  }