@sp-api-sdk/catalog-items-api-v0 1.10.4 → 1.10.7
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/catalog-api.js +3 -3
- package/dist/es/src/api-model/api/catalog-api.js +3 -3
- package/dist/types/src/api-model/api/catalog-api.d.ts +15 -15
- 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/asinidentifier.d.ts +2 -2
- package/dist/types/src/api-model/models/attribute-set-list-type.d.ts +96 -96
- package/dist/types/src/api-model/models/categories.d.ts +3 -3
- package/dist/types/src/api-model/models/creator-type.d.ts +2 -2
- package/dist/types/src/api-model/models/decimal-with-units.d.ts +2 -2
- package/dist/types/src/api-model/models/dimension-type.d.ts +4 -4
- package/dist/types/src/api-model/models/get-catalog-item-response.d.ts +2 -2
- package/dist/types/src/api-model/models/identifier-type.d.ts +2 -2
- package/dist/types/src/api-model/models/image.d.ts +3 -3
- package/dist/types/src/api-model/models/item.d.ts +4 -4
- package/dist/types/src/api-model/models/language-type.d.ts +3 -3
- package/dist/types/src/api-model/models/list-catalog-categories-response.d.ts +2 -2
- package/dist/types/src/api-model/models/list-catalog-items-response.d.ts +2 -2
- package/dist/types/src/api-model/models/list-matching-items-response.d.ts +1 -1
- package/dist/types/src/api-model/models/model-error.d.ts +3 -3
- package/dist/types/src/api-model/models/price.d.ts +2 -2
- package/dist/types/src/api-model/models/relationship-type.d.ts +23 -23
- package/dist/types/src/api-model/models/sales-rank-type.d.ts +2 -2
- package/dist/types/src/api-model/models/seller-skuidentifier.d.ts +3 -3
- package/package.json +4 -4
|
@@ -53,7 +53,7 @@ const CatalogApiAxiosParamCreator = function (configuration) {
|
|
|
53
53
|
if (marketplaceId !== undefined) {
|
|
54
54
|
localVarQueryParameter['MarketplaceId'] = marketplaceId;
|
|
55
55
|
}
|
|
56
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter
|
|
56
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
57
57
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
58
58
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
59
59
|
return {
|
|
@@ -91,7 +91,7 @@ const CatalogApiAxiosParamCreator = function (configuration) {
|
|
|
91
91
|
if (sellerSKU !== undefined) {
|
|
92
92
|
localVarQueryParameter['SellerSKU'] = sellerSKU;
|
|
93
93
|
}
|
|
94
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter
|
|
94
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
95
95
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
96
96
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
97
97
|
return {
|
|
@@ -149,7 +149,7 @@ const CatalogApiAxiosParamCreator = function (configuration) {
|
|
|
149
149
|
if (jAN !== undefined) {
|
|
150
150
|
localVarQueryParameter['JAN'] = jAN;
|
|
151
151
|
}
|
|
152
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter
|
|
152
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
153
153
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
154
154
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
155
155
|
return {
|
|
@@ -49,7 +49,7 @@ export const CatalogApiAxiosParamCreator = function (configuration) {
|
|
|
49
49
|
if (marketplaceId !== undefined) {
|
|
50
50
|
localVarQueryParameter['MarketplaceId'] = marketplaceId;
|
|
51
51
|
}
|
|
52
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
52
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
53
53
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
54
54
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
55
55
|
return {
|
|
@@ -87,7 +87,7 @@ export const CatalogApiAxiosParamCreator = function (configuration) {
|
|
|
87
87
|
if (sellerSKU !== undefined) {
|
|
88
88
|
localVarQueryParameter['SellerSKU'] = sellerSKU;
|
|
89
89
|
}
|
|
90
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
90
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
91
91
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
92
92
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
93
93
|
return {
|
|
@@ -145,7 +145,7 @@ export const CatalogApiAxiosParamCreator = function (configuration) {
|
|
|
145
145
|
if (jAN !== undefined) {
|
|
146
146
|
localVarQueryParameter['JAN'] = jAN;
|
|
147
147
|
}
|
|
148
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
148
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
149
149
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
150
150
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
151
151
|
return {
|
|
@@ -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 { GetCatalogItemResponse } from '../models';
|
|
@@ -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.
|
|
@@ -27,7 +27,7 @@ export declare const CatalogApiAxiosParamCreator: (configuration?: Configuration
|
|
|
27
27
|
* @param {*} [options] Override http request option.
|
|
28
28
|
* @throws {RequiredError}
|
|
29
29
|
*/
|
|
30
|
-
getCatalogItem: (marketplaceId: string, asin: string, options?:
|
|
30
|
+
getCatalogItem: (marketplaceId: string, asin: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
31
31
|
/**
|
|
32
32
|
* 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.
|
|
33
33
|
* @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?:
|
|
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.
|
|
@@ -239,7 +239,7 @@ export declare class CatalogApi extends BaseAPI {
|
|
|
239
239
|
* @throws {RequiredError}
|
|
240
240
|
* @memberof CatalogApi
|
|
241
241
|
*/
|
|
242
|
-
getCatalogItem(requestParameters: CatalogApiGetCatalogItemRequest, options?:
|
|
242
|
+
getCatalogItem(requestParameters: CatalogApiGetCatalogItemRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetCatalogItemResponse, any>>;
|
|
243
243
|
/**
|
|
244
244
|
* 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.
|
|
245
245
|
* @param {CatalogApiListCatalogCategoriesRequest} requestParameters Request parameters.
|
|
@@ -247,7 +247,7 @@ export declare class CatalogApi extends BaseAPI {
|
|
|
247
247
|
* @throws {RequiredError}
|
|
248
248
|
* @memberof CatalogApi
|
|
249
249
|
*/
|
|
250
|
-
listCatalogCategories(requestParameters: CatalogApiListCatalogCategoriesRequest, options?:
|
|
250
|
+
listCatalogCategories(requestParameters: CatalogApiListCatalogCategoriesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListCatalogCategoriesResponse, any>>;
|
|
251
251
|
/**
|
|
252
252
|
* 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.
|
|
253
253
|
* @param {CatalogApiListCatalogItemsRequest} requestParameters Request parameters.
|
|
@@ -255,5 +255,5 @@ export declare class CatalogApi extends BaseAPI {
|
|
|
255
255
|
* @throws {RequiredError}
|
|
256
256
|
* @memberof CatalogApi
|
|
257
257
|
*/
|
|
258
|
-
listCatalogItems(requestParameters: CatalogApiListCatalogItemsRequest, options?:
|
|
258
|
+
listCatalogItems(requestParameters: CatalogApiListCatalogItemsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListCatalogItemsResponse, any>>;
|
|
259
259
|
}
|
|
@@ -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>;
|
|
@@ -20,11 +20,11 @@ export interface ASINIdentifier {
|
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof ASINIdentifier
|
|
22
22
|
*/
|
|
23
|
-
MarketplaceId: string;
|
|
23
|
+
'MarketplaceId': string;
|
|
24
24
|
/**
|
|
25
25
|
* The Amazon Standard Identification Number (ASIN) of the item.
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof ASINIdentifier
|
|
28
28
|
*/
|
|
29
|
-
ASIN: string;
|
|
29
|
+
'ASIN': string;
|
|
30
30
|
}
|