@sp-api-sdk/product-pricing-api-v0 1.11.0 → 1.11.1
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/product-pricing-api.js +6 -6
- package/dist/cjs/src/api-model/models/condition-type.js +7 -8
- package/dist/cjs/src/api-model/models/customer-type.js +4 -5
- package/dist/cjs/src/api-model/models/detailed-shipping-time-type.js +5 -10
- package/dist/cjs/src/api-model/models/fulfillment-channel-type.js +4 -5
- package/dist/cjs/src/api-model/models/http-method.js +7 -8
- package/dist/cjs/src/api-model/models/item-condition.js +7 -8
- package/dist/cjs/src/api-model/models/offer-customer-type.js +4 -5
- package/dist/cjs/src/api-model/models/quantity-discount-type.js +3 -4
- package/dist/es/src/api-model/api/product-pricing-api.js +6 -6
- package/dist/es/src/api-model/models/condition-type.js +7 -8
- package/dist/es/src/api-model/models/customer-type.js +4 -5
- package/dist/es/src/api-model/models/detailed-shipping-time-type.js +5 -10
- package/dist/es/src/api-model/models/fulfillment-channel-type.js +4 -5
- package/dist/es/src/api-model/models/http-method.js +7 -8
- package/dist/es/src/api-model/models/item-condition.js +7 -8
- package/dist/es/src/api-model/models/offer-customer-type.js +4 -5
- package/dist/es/src/api-model/models/quantity-discount-type.js +3 -4
- package/dist/types/src/api-model/api/product-pricing-api.d.ts +19 -19
- 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/asinidentifier.d.ts +2 -2
- package/dist/types/src/api-model/models/batch-offers-request-params.d.ts +3 -3
- package/dist/types/src/api-model/models/batch-offers-response.d.ts +3 -3
- package/dist/types/src/api-model/models/batch-request.d.ts +3 -3
- package/dist/types/src/api-model/models/buy-box-price-type.d.ts +9 -9
- package/dist/types/src/api-model/models/competitive-price-type.d.ts +9 -9
- package/dist/types/src/api-model/models/competitive-pricing-type.d.ts +3 -3
- package/dist/types/src/api-model/models/condition-type.d.ts +8 -7
- package/dist/types/src/api-model/models/customer-type.d.ts +5 -4
- package/dist/types/src/api-model/models/detailed-shipping-time-type.d.ts +10 -13
- package/dist/types/src/api-model/models/errors.d.ts +1 -1
- package/dist/types/src/api-model/models/fulfillment-channel-type.d.ts +5 -4
- package/dist/types/src/api-model/models/get-item-offers-batch-request.d.ts +1 -1
- package/dist/types/src/api-model/models/get-item-offers-batch-response.d.ts +1 -1
- package/dist/types/src/api-model/models/get-listing-offers-batch-request.d.ts +1 -1
- package/dist/types/src/api-model/models/get-listing-offers-batch-response.d.ts +1 -1
- package/dist/types/src/api-model/models/get-offers-http-status-line.d.ts +2 -2
- package/dist/types/src/api-model/models/get-offers-response.d.ts +2 -2
- package/dist/types/src/api-model/models/get-offers-result.d.ts +8 -8
- package/dist/types/src/api-model/models/get-pricing-response.d.ts +2 -2
- package/dist/types/src/api-model/models/http-method.d.ts +8 -7
- package/dist/types/src/api-model/models/http-response-headers.d.ts +2 -2
- package/dist/types/src/api-model/models/identifier-type.d.ts +2 -2
- package/dist/types/src/api-model/models/item-condition.d.ts +8 -7
- package/dist/types/src/api-model/models/item-identifier.d.ts +4 -4
- package/dist/types/src/api-model/models/item-offers-request-params-all-of.d.ts +1 -1
- package/dist/types/src/api-model/models/item-offers-response-all-of.d.ts +1 -1
- package/dist/types/src/api-model/models/listing-offers-request-params-all-of.d.ts +1 -1
- package/dist/types/src/api-model/models/listing-offers-response-all-of.d.ts +1 -1
- package/dist/types/src/api-model/models/lowest-price-type.d.ts +9 -9
- package/dist/types/src/api-model/models/model-error.d.ts +3 -3
- package/dist/types/src/api-model/models/money-type.d.ts +2 -2
- package/dist/types/src/api-model/models/offer-count-type.d.ts +3 -3
- package/dist/types/src/api-model/models/offer-customer-type.d.ts +5 -4
- package/dist/types/src/api-model/models/offer-detail.d.ts +16 -16
- package/dist/types/src/api-model/models/offer-listing-count-type.d.ts +2 -2
- package/dist/types/src/api-model/models/offer-type.d.ts +9 -9
- package/dist/types/src/api-model/models/points.d.ts +2 -2
- package/dist/types/src/api-model/models/price-type.d.ts +4 -4
- package/dist/types/src/api-model/models/price.d.ts +4 -4
- package/dist/types/src/api-model/models/prime-information-type.d.ts +2 -2
- package/dist/types/src/api-model/models/product.d.ts +6 -6
- package/dist/types/src/api-model/models/quantity-discount-price-type.d.ts +3 -3
- package/dist/types/src/api-model/models/quantity-discount-type.d.ts +4 -3
- package/dist/types/src/api-model/models/sales-rank-type.d.ts +2 -2
- package/dist/types/src/api-model/models/seller-feedback-type.d.ts +2 -2
- package/dist/types/src/api-model/models/seller-skuidentifier.d.ts +3 -3
- package/dist/types/src/api-model/models/ships-from-type.d.ts +2 -2
- package/dist/types/src/api-model/models/summary.d.ts +10 -10
- package/package.json +2 -2
|
@@ -67,7 +67,7 @@ const ProductPricingApiAxiosParamCreator = function (configuration) {
|
|
|
67
67
|
if (customerType !== undefined) {
|
|
68
68
|
localVarQueryParameter['CustomerType'] = customerType;
|
|
69
69
|
}
|
|
70
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter
|
|
70
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
71
71
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
72
72
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
73
73
|
return {
|
|
@@ -111,7 +111,7 @@ const ProductPricingApiAxiosParamCreator = function (configuration) {
|
|
|
111
111
|
if (customerType !== undefined) {
|
|
112
112
|
localVarQueryParameter['CustomerType'] = customerType;
|
|
113
113
|
}
|
|
114
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter
|
|
114
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
115
115
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
116
116
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
117
117
|
return {
|
|
@@ -139,7 +139,7 @@ const ProductPricingApiAxiosParamCreator = function (configuration) {
|
|
|
139
139
|
const localVarHeaderParameter = {};
|
|
140
140
|
const localVarQueryParameter = {};
|
|
141
141
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
142
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter
|
|
142
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
143
143
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
144
144
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
145
145
|
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(getItemOffersBatchRequestBody, localVarRequestOptions, configuration);
|
|
@@ -184,7 +184,7 @@ const ProductPricingApiAxiosParamCreator = function (configuration) {
|
|
|
184
184
|
if (customerType !== undefined) {
|
|
185
185
|
localVarQueryParameter['CustomerType'] = customerType;
|
|
186
186
|
}
|
|
187
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter
|
|
187
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
188
188
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
189
189
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
190
190
|
return {
|
|
@@ -212,7 +212,7 @@ const ProductPricingApiAxiosParamCreator = function (configuration) {
|
|
|
212
212
|
const localVarHeaderParameter = {};
|
|
213
213
|
const localVarQueryParameter = {};
|
|
214
214
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
215
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter
|
|
215
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
216
216
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
217
217
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
218
218
|
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(getListingOffersBatchRequestBody, localVarRequestOptions, configuration);
|
|
@@ -265,7 +265,7 @@ const ProductPricingApiAxiosParamCreator = function (configuration) {
|
|
|
265
265
|
if (offerType !== undefined) {
|
|
266
266
|
localVarQueryParameter['OfferType'] = offerType;
|
|
267
267
|
}
|
|
268
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter
|
|
268
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
269
269
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
270
270
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
271
271
|
return {
|
|
@@ -19,11 +19,10 @@ exports.ConditionType = void 0;
|
|
|
19
19
|
* @export
|
|
20
20
|
* @enum {string}
|
|
21
21
|
*/
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
})(ConditionType = exports.ConditionType || (exports.ConditionType = {}));
|
|
22
|
+
exports.ConditionType = {
|
|
23
|
+
New: 'New',
|
|
24
|
+
Used: 'Used',
|
|
25
|
+
Collectible: 'Collectible',
|
|
26
|
+
Refurbished: 'Refurbished',
|
|
27
|
+
Club: 'Club'
|
|
28
|
+
};
|
|
@@ -19,8 +19,7 @@ exports.CustomerType = void 0;
|
|
|
19
19
|
* @export
|
|
20
20
|
* @enum {string}
|
|
21
21
|
*/
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
})(CustomerType = exports.CustomerType || (exports.CustomerType = {}));
|
|
22
|
+
exports.CustomerType = {
|
|
23
|
+
Consumer: 'Consumer',
|
|
24
|
+
Business: 'Business'
|
|
25
|
+
};
|
|
@@ -14,13 +14,8 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.DetailedShippingTimeTypeAvailabilityTypeEnum = void 0;
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
(function (DetailedShippingTimeTypeAvailabilityTypeEnum) {
|
|
23
|
-
DetailedShippingTimeTypeAvailabilityTypeEnum["Now"] = "NOW";
|
|
24
|
-
DetailedShippingTimeTypeAvailabilityTypeEnum["FutureWithoutDate"] = "FUTURE_WITHOUT_DATE";
|
|
25
|
-
DetailedShippingTimeTypeAvailabilityTypeEnum["FutureWithDate"] = "FUTURE_WITH_DATE";
|
|
26
|
-
})(DetailedShippingTimeTypeAvailabilityTypeEnum = exports.DetailedShippingTimeTypeAvailabilityTypeEnum || (exports.DetailedShippingTimeTypeAvailabilityTypeEnum = {}));
|
|
17
|
+
exports.DetailedShippingTimeTypeAvailabilityTypeEnum = {
|
|
18
|
+
Now: 'NOW',
|
|
19
|
+
FutureWithoutDate: 'FUTURE_WITHOUT_DATE',
|
|
20
|
+
FutureWithDate: 'FUTURE_WITH_DATE'
|
|
21
|
+
};
|
|
@@ -19,8 +19,7 @@ exports.FulfillmentChannelType = void 0;
|
|
|
19
19
|
* @export
|
|
20
20
|
* @enum {string}
|
|
21
21
|
*/
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
})(FulfillmentChannelType = exports.FulfillmentChannelType || (exports.FulfillmentChannelType = {}));
|
|
22
|
+
exports.FulfillmentChannelType = {
|
|
23
|
+
Amazon: 'Amazon',
|
|
24
|
+
Merchant: 'Merchant'
|
|
25
|
+
};
|
|
@@ -19,11 +19,10 @@ exports.HttpMethod = void 0;
|
|
|
19
19
|
* @export
|
|
20
20
|
* @enum {string}
|
|
21
21
|
*/
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
})(HttpMethod = exports.HttpMethod || (exports.HttpMethod = {}));
|
|
22
|
+
exports.HttpMethod = {
|
|
23
|
+
Get: 'GET',
|
|
24
|
+
Put: 'PUT',
|
|
25
|
+
Patch: 'PATCH',
|
|
26
|
+
Delete: 'DELETE',
|
|
27
|
+
Post: 'POST'
|
|
28
|
+
};
|
|
@@ -19,11 +19,10 @@ exports.ItemCondition = void 0;
|
|
|
19
19
|
* @export
|
|
20
20
|
* @enum {string}
|
|
21
21
|
*/
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
})(ItemCondition = exports.ItemCondition || (exports.ItemCondition = {}));
|
|
22
|
+
exports.ItemCondition = {
|
|
23
|
+
New: 'New',
|
|
24
|
+
Used: 'Used',
|
|
25
|
+
Collectible: 'Collectible',
|
|
26
|
+
Refurbished: 'Refurbished',
|
|
27
|
+
Club: 'Club'
|
|
28
|
+
};
|
|
@@ -19,8 +19,7 @@ exports.OfferCustomerType = void 0;
|
|
|
19
19
|
* @export
|
|
20
20
|
* @enum {string}
|
|
21
21
|
*/
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
})(OfferCustomerType = exports.OfferCustomerType || (exports.OfferCustomerType = {}));
|
|
22
|
+
exports.OfferCustomerType = {
|
|
23
|
+
B2C: 'B2C',
|
|
24
|
+
B2B: 'B2B'
|
|
25
|
+
};
|
|
@@ -19,7 +19,6 @@ exports.QuantityDiscountType = void 0;
|
|
|
19
19
|
* @export
|
|
20
20
|
* @enum {string}
|
|
21
21
|
*/
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
})(QuantityDiscountType = exports.QuantityDiscountType || (exports.QuantityDiscountType = {}));
|
|
22
|
+
exports.QuantityDiscountType = {
|
|
23
|
+
QuantityDiscount: 'QUANTITY_DISCOUNT'
|
|
24
|
+
};
|
|
@@ -63,7 +63,7 @@ export const ProductPricingApiAxiosParamCreator = function (configuration) {
|
|
|
63
63
|
if (customerType !== undefined) {
|
|
64
64
|
localVarQueryParameter['CustomerType'] = customerType;
|
|
65
65
|
}
|
|
66
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
66
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
67
67
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
68
68
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
69
69
|
return {
|
|
@@ -107,7 +107,7 @@ export const ProductPricingApiAxiosParamCreator = function (configuration) {
|
|
|
107
107
|
if (customerType !== undefined) {
|
|
108
108
|
localVarQueryParameter['CustomerType'] = customerType;
|
|
109
109
|
}
|
|
110
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
110
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
111
111
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
112
112
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
113
113
|
return {
|
|
@@ -135,7 +135,7 @@ export const ProductPricingApiAxiosParamCreator = function (configuration) {
|
|
|
135
135
|
const localVarHeaderParameter = {};
|
|
136
136
|
const localVarQueryParameter = {};
|
|
137
137
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
138
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
138
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
139
139
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
140
140
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
141
141
|
localVarRequestOptions.data = serializeDataIfNeeded(getItemOffersBatchRequestBody, localVarRequestOptions, configuration);
|
|
@@ -180,7 +180,7 @@ export const ProductPricingApiAxiosParamCreator = function (configuration) {
|
|
|
180
180
|
if (customerType !== undefined) {
|
|
181
181
|
localVarQueryParameter['CustomerType'] = customerType;
|
|
182
182
|
}
|
|
183
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
183
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
184
184
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
185
185
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
186
186
|
return {
|
|
@@ -208,7 +208,7 @@ export const ProductPricingApiAxiosParamCreator = function (configuration) {
|
|
|
208
208
|
const localVarHeaderParameter = {};
|
|
209
209
|
const localVarQueryParameter = {};
|
|
210
210
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
211
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
211
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
212
212
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
213
213
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
214
214
|
localVarRequestOptions.data = serializeDataIfNeeded(getListingOffersBatchRequestBody, localVarRequestOptions, configuration);
|
|
@@ -261,7 +261,7 @@ export const ProductPricingApiAxiosParamCreator = function (configuration) {
|
|
|
261
261
|
if (offerType !== undefined) {
|
|
262
262
|
localVarQueryParameter['OfferType'] = offerType;
|
|
263
263
|
}
|
|
264
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter
|
|
264
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
265
265
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
266
266
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
267
267
|
return {
|
|
@@ -16,11 +16,10 @@
|
|
|
16
16
|
* @export
|
|
17
17
|
* @enum {string}
|
|
18
18
|
*/
|
|
19
|
-
export
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
})(ConditionType || (ConditionType = {}));
|
|
19
|
+
export const ConditionType = {
|
|
20
|
+
New: 'New',
|
|
21
|
+
Used: 'Used',
|
|
22
|
+
Collectible: 'Collectible',
|
|
23
|
+
Refurbished: 'Refurbished',
|
|
24
|
+
Club: 'Club'
|
|
25
|
+
};
|
|
@@ -16,8 +16,7 @@
|
|
|
16
16
|
* @export
|
|
17
17
|
* @enum {string}
|
|
18
18
|
*/
|
|
19
|
-
export
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
})(CustomerType || (CustomerType = {}));
|
|
19
|
+
export const CustomerType = {
|
|
20
|
+
Consumer: 'Consumer',
|
|
21
|
+
Business: 'Business'
|
|
22
|
+
};
|
|
@@ -11,13 +11,8 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
(function (DetailedShippingTimeTypeAvailabilityTypeEnum) {
|
|
20
|
-
DetailedShippingTimeTypeAvailabilityTypeEnum["Now"] = "NOW";
|
|
21
|
-
DetailedShippingTimeTypeAvailabilityTypeEnum["FutureWithoutDate"] = "FUTURE_WITHOUT_DATE";
|
|
22
|
-
DetailedShippingTimeTypeAvailabilityTypeEnum["FutureWithDate"] = "FUTURE_WITH_DATE";
|
|
23
|
-
})(DetailedShippingTimeTypeAvailabilityTypeEnum || (DetailedShippingTimeTypeAvailabilityTypeEnum = {}));
|
|
14
|
+
export const DetailedShippingTimeTypeAvailabilityTypeEnum = {
|
|
15
|
+
Now: 'NOW',
|
|
16
|
+
FutureWithoutDate: 'FUTURE_WITHOUT_DATE',
|
|
17
|
+
FutureWithDate: 'FUTURE_WITH_DATE'
|
|
18
|
+
};
|
|
@@ -16,8 +16,7 @@
|
|
|
16
16
|
* @export
|
|
17
17
|
* @enum {string}
|
|
18
18
|
*/
|
|
19
|
-
export
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
})(FulfillmentChannelType || (FulfillmentChannelType = {}));
|
|
19
|
+
export const FulfillmentChannelType = {
|
|
20
|
+
Amazon: 'Amazon',
|
|
21
|
+
Merchant: 'Merchant'
|
|
22
|
+
};
|
|
@@ -16,11 +16,10 @@
|
|
|
16
16
|
* @export
|
|
17
17
|
* @enum {string}
|
|
18
18
|
*/
|
|
19
|
-
export
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
})(HttpMethod || (HttpMethod = {}));
|
|
19
|
+
export const HttpMethod = {
|
|
20
|
+
Get: 'GET',
|
|
21
|
+
Put: 'PUT',
|
|
22
|
+
Patch: 'PATCH',
|
|
23
|
+
Delete: 'DELETE',
|
|
24
|
+
Post: 'POST'
|
|
25
|
+
};
|
|
@@ -16,11 +16,10 @@
|
|
|
16
16
|
* @export
|
|
17
17
|
* @enum {string}
|
|
18
18
|
*/
|
|
19
|
-
export
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
})(ItemCondition || (ItemCondition = {}));
|
|
19
|
+
export const ItemCondition = {
|
|
20
|
+
New: 'New',
|
|
21
|
+
Used: 'Used',
|
|
22
|
+
Collectible: 'Collectible',
|
|
23
|
+
Refurbished: 'Refurbished',
|
|
24
|
+
Club: 'Club'
|
|
25
|
+
};
|
|
@@ -16,8 +16,7 @@
|
|
|
16
16
|
* @export
|
|
17
17
|
* @enum {string}
|
|
18
18
|
*/
|
|
19
|
-
export
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
})(OfferCustomerType || (OfferCustomerType = {}));
|
|
19
|
+
export const OfferCustomerType = {
|
|
20
|
+
B2C: 'B2C',
|
|
21
|
+
B2B: 'B2B'
|
|
22
|
+
};
|
|
@@ -16,7 +16,6 @@
|
|
|
16
16
|
* @export
|
|
17
17
|
* @enum {string}
|
|
18
18
|
*/
|
|
19
|
-
export
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
})(QuantityDiscountType || (QuantityDiscountType = {}));
|
|
19
|
+
export const QuantityDiscountType = {
|
|
20
|
+
QuantityDiscount: 'QUANTITY_DISCOUNT'
|
|
21
|
+
};
|
|
@@ -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 { GetItemOffersBatchRequest } from '../models';
|
|
@@ -33,7 +33,7 @@ export declare const ProductPricingApiAxiosParamCreator: (configuration?: Config
|
|
|
33
33
|
* @param {*} [options] Override http request option.
|
|
34
34
|
* @throws {RequiredError}
|
|
35
35
|
*/
|
|
36
|
-
getCompetitivePricing: (marketplaceId: string, itemType: 'Asin' | 'Sku', asins?: string[] | undefined, skus?: string[] | undefined, customerType?: "Consumer" | "Business" | undefined, options?:
|
|
36
|
+
getCompetitivePricing: (marketplaceId: string, itemType: 'Asin' | 'Sku', asins?: string[] | undefined, skus?: string[] | undefined, customerType?: "Consumer" | "Business" | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
37
37
|
/**
|
|
38
38
|
* Returns the lowest priced offers for a single item based on ASIN. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 10 | 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).
|
|
39
39
|
* @param {string} marketplaceId A marketplace identifier. Specifies the marketplace for which prices are returned.
|
|
@@ -43,14 +43,14 @@ export declare const ProductPricingApiAxiosParamCreator: (configuration?: Config
|
|
|
43
43
|
* @param {*} [options] Override http request option.
|
|
44
44
|
* @throws {RequiredError}
|
|
45
45
|
*/
|
|
46
|
-
getItemOffers: (marketplaceId: string, itemCondition: 'New' | 'Used' | 'Collectible' | 'Refurbished' | 'Club', asin: string, customerType?: "Consumer" | "Business" | undefined, options?:
|
|
46
|
+
getItemOffers: (marketplaceId: string, itemCondition: 'New' | 'Used' | 'Collectible' | 'Refurbished' | 'Club', asin: string, customerType?: "Consumer" | "Business" | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
47
47
|
/**
|
|
48
48
|
* Returns the lowest priced offers for a batch of items based on ASIN. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | .5 | 1 | 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).
|
|
49
49
|
* @param {GetItemOffersBatchRequest} getItemOffersBatchRequestBody
|
|
50
50
|
* @param {*} [options] Override http request option.
|
|
51
51
|
* @throws {RequiredError}
|
|
52
52
|
*/
|
|
53
|
-
getItemOffersBatch: (getItemOffersBatchRequestBody: GetItemOffersBatchRequest, options?:
|
|
53
|
+
getItemOffersBatch: (getItemOffersBatchRequestBody: GetItemOffersBatchRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
54
54
|
/**
|
|
55
55
|
* Returns the lowest priced offers for a single SKU listing. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 10 | 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).
|
|
56
56
|
* @param {string} marketplaceId A marketplace identifier. Specifies the marketplace for which prices are returned.
|
|
@@ -60,14 +60,14 @@ export declare const ProductPricingApiAxiosParamCreator: (configuration?: Config
|
|
|
60
60
|
* @param {*} [options] Override http request option.
|
|
61
61
|
* @throws {RequiredError}
|
|
62
62
|
*/
|
|
63
|
-
getListingOffers: (marketplaceId: string, itemCondition: 'New' | 'Used' | 'Collectible' | 'Refurbished' | 'Club', sellerSKU: string, customerType?: "Consumer" | "Business" | undefined, options?:
|
|
63
|
+
getListingOffers: (marketplaceId: string, itemCondition: 'New' | 'Used' | 'Collectible' | 'Refurbished' | 'Club', sellerSKU: string, customerType?: "Consumer" | "Business" | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
64
64
|
/**
|
|
65
65
|
* Returns the lowest priced offers for a batch of listings by SKU. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | .5 | 1 | 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).
|
|
66
66
|
* @param {GetListingOffersBatchRequest} getListingOffersBatchRequestBody
|
|
67
67
|
* @param {*} [options] Override http request option.
|
|
68
68
|
* @throws {RequiredError}
|
|
69
69
|
*/
|
|
70
|
-
getListingOffersBatch: (getListingOffersBatchRequestBody: GetListingOffersBatchRequest, options?:
|
|
70
|
+
getListingOffersBatch: (getListingOffersBatchRequestBody: GetListingOffersBatchRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
71
71
|
/**
|
|
72
72
|
* Returns pricing information for a seller\'s offer listings based on seller SKU or ASIN. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 20 | 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).
|
|
73
73
|
* @param {string} marketplaceId A marketplace identifier. Specifies the marketplace for which prices are returned.
|
|
@@ -79,7 +79,7 @@ export declare const ProductPricingApiAxiosParamCreator: (configuration?: Config
|
|
|
79
79
|
* @param {*} [options] Override http request option.
|
|
80
80
|
* @throws {RequiredError}
|
|
81
81
|
*/
|
|
82
|
-
getPricing: (marketplaceId: string, itemType: 'Asin' | 'Sku', asins?: string[] | undefined, skus?: string[] | undefined, itemCondition?: "New" | "Used" | "Collectible" | "Refurbished" | "Club" | undefined, offerType?: "B2C" | "B2B" | undefined, options?:
|
|
82
|
+
getPricing: (marketplaceId: string, itemType: 'Asin' | 'Sku', asins?: string[] | undefined, skus?: string[] | undefined, itemCondition?: "New" | "Used" | "Collectible" | "Refurbished" | "Club" | undefined, offerType?: "B2C" | "B2B" | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
83
83
|
};
|
|
84
84
|
/**
|
|
85
85
|
* ProductPricingApi - functional programming interface
|
|
@@ -96,7 +96,7 @@ export declare const ProductPricingApiFp: (configuration?: Configuration | undef
|
|
|
96
96
|
* @param {*} [options] Override http request option.
|
|
97
97
|
* @throws {RequiredError}
|
|
98
98
|
*/
|
|
99
|
-
getCompetitivePricing(marketplaceId: string, itemType: 'Asin' | 'Sku', asins?: string[] | undefined, skus?: string[] | undefined, customerType?: "Consumer" | "Business" | undefined, options?: any): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<GetPricingResponse>>;
|
|
99
|
+
getCompetitivePricing(marketplaceId: string, itemType: 'Asin' | 'Sku', asins?: string[] | undefined, skus?: string[] | undefined, customerType?: "Consumer" | "Business" | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<GetPricingResponse>>;
|
|
100
100
|
/**
|
|
101
101
|
* Returns the lowest priced offers for a single item based on ASIN. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 10 | 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).
|
|
102
102
|
* @param {string} marketplaceId A marketplace identifier. Specifies the marketplace for which prices are returned.
|
|
@@ -106,14 +106,14 @@ export declare const ProductPricingApiFp: (configuration?: Configuration | undef
|
|
|
106
106
|
* @param {*} [options] Override http request option.
|
|
107
107
|
* @throws {RequiredError}
|
|
108
108
|
*/
|
|
109
|
-
getItemOffers(marketplaceId: string, itemCondition: 'New' | 'Used' | 'Collectible' | 'Refurbished' | 'Club', asin: string, customerType?: "Consumer" | "Business" | undefined, options?: any): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<GetOffersResponse>>;
|
|
109
|
+
getItemOffers(marketplaceId: string, itemCondition: 'New' | 'Used' | 'Collectible' | 'Refurbished' | 'Club', asin: string, customerType?: "Consumer" | "Business" | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<GetOffersResponse>>;
|
|
110
110
|
/**
|
|
111
111
|
* Returns the lowest priced offers for a batch of items based on ASIN. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | .5 | 1 | 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).
|
|
112
112
|
* @param {GetItemOffersBatchRequest} getItemOffersBatchRequestBody
|
|
113
113
|
* @param {*} [options] Override http request option.
|
|
114
114
|
* @throws {RequiredError}
|
|
115
115
|
*/
|
|
116
|
-
getItemOffersBatch(getItemOffersBatchRequestBody: GetItemOffersBatchRequest, options?: any): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<GetItemOffersBatchResponse>>;
|
|
116
|
+
getItemOffersBatch(getItemOffersBatchRequestBody: GetItemOffersBatchRequest, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<GetItemOffersBatchResponse>>;
|
|
117
117
|
/**
|
|
118
118
|
* Returns the lowest priced offers for a single SKU listing. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 10 | 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).
|
|
119
119
|
* @param {string} marketplaceId A marketplace identifier. Specifies the marketplace for which prices are returned.
|
|
@@ -123,14 +123,14 @@ export declare const ProductPricingApiFp: (configuration?: Configuration | undef
|
|
|
123
123
|
* @param {*} [options] Override http request option.
|
|
124
124
|
* @throws {RequiredError}
|
|
125
125
|
*/
|
|
126
|
-
getListingOffers(marketplaceId: string, itemCondition: 'New' | 'Used' | 'Collectible' | 'Refurbished' | 'Club', sellerSKU: string, customerType?: "Consumer" | "Business" | undefined, options?: any): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<GetOffersResponse>>;
|
|
126
|
+
getListingOffers(marketplaceId: string, itemCondition: 'New' | 'Used' | 'Collectible' | 'Refurbished' | 'Club', sellerSKU: string, customerType?: "Consumer" | "Business" | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<GetOffersResponse>>;
|
|
127
127
|
/**
|
|
128
128
|
* Returns the lowest priced offers for a batch of listings by SKU. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | .5 | 1 | 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).
|
|
129
129
|
* @param {GetListingOffersBatchRequest} getListingOffersBatchRequestBody
|
|
130
130
|
* @param {*} [options] Override http request option.
|
|
131
131
|
* @throws {RequiredError}
|
|
132
132
|
*/
|
|
133
|
-
getListingOffersBatch(getListingOffersBatchRequestBody: GetListingOffersBatchRequest, options?: any): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<GetListingOffersBatchResponse>>;
|
|
133
|
+
getListingOffersBatch(getListingOffersBatchRequestBody: GetListingOffersBatchRequest, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<GetListingOffersBatchResponse>>;
|
|
134
134
|
/**
|
|
135
135
|
* Returns pricing information for a seller\'s offer listings based on seller SKU or ASIN. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 20 | 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).
|
|
136
136
|
* @param {string} marketplaceId A marketplace identifier. Specifies the marketplace for which prices are returned.
|
|
@@ -142,7 +142,7 @@ export declare const ProductPricingApiFp: (configuration?: Configuration | undef
|
|
|
142
142
|
* @param {*} [options] Override http request option.
|
|
143
143
|
* @throws {RequiredError}
|
|
144
144
|
*/
|
|
145
|
-
getPricing(marketplaceId: string, itemType: 'Asin' | 'Sku', asins?: string[] | undefined, skus?: string[] | undefined, itemCondition?: "New" | "Used" | "Collectible" | "Refurbished" | "Club" | undefined, offerType?: "B2C" | "B2B" | undefined, options?: any): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<GetPricingResponse>>;
|
|
145
|
+
getPricing(marketplaceId: string, itemType: 'Asin' | 'Sku', asins?: string[] | undefined, skus?: string[] | undefined, itemCondition?: "New" | "Used" | "Collectible" | "Refurbished" | "Club" | undefined, offerType?: "B2C" | "B2B" | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<GetPricingResponse>>;
|
|
146
146
|
};
|
|
147
147
|
/**
|
|
148
148
|
* ProductPricingApi - factory interface
|
|
@@ -389,7 +389,7 @@ export declare class ProductPricingApi extends BaseAPI {
|
|
|
389
389
|
* @throws {RequiredError}
|
|
390
390
|
* @memberof ProductPricingApi
|
|
391
391
|
*/
|
|
392
|
-
getCompetitivePricing(requestParameters: ProductPricingApiGetCompetitivePricingRequest, options?:
|
|
392
|
+
getCompetitivePricing(requestParameters: ProductPricingApiGetCompetitivePricingRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPricingResponse, any>>;
|
|
393
393
|
/**
|
|
394
394
|
* Returns the lowest priced offers for a single item based on ASIN. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 10 | 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).
|
|
395
395
|
* @param {ProductPricingApiGetItemOffersRequest} requestParameters Request parameters.
|
|
@@ -397,7 +397,7 @@ export declare class ProductPricingApi extends BaseAPI {
|
|
|
397
397
|
* @throws {RequiredError}
|
|
398
398
|
* @memberof ProductPricingApi
|
|
399
399
|
*/
|
|
400
|
-
getItemOffers(requestParameters: ProductPricingApiGetItemOffersRequest, options?:
|
|
400
|
+
getItemOffers(requestParameters: ProductPricingApiGetItemOffersRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetOffersResponse, any>>;
|
|
401
401
|
/**
|
|
402
402
|
* Returns the lowest priced offers for a batch of items based on ASIN. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | .5 | 1 | 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).
|
|
403
403
|
* @param {ProductPricingApiGetItemOffersBatchRequest} requestParameters Request parameters.
|
|
@@ -405,7 +405,7 @@ export declare class ProductPricingApi extends BaseAPI {
|
|
|
405
405
|
* @throws {RequiredError}
|
|
406
406
|
* @memberof ProductPricingApi
|
|
407
407
|
*/
|
|
408
|
-
getItemOffersBatch(requestParameters: ProductPricingApiGetItemOffersBatchRequest, options?:
|
|
408
|
+
getItemOffersBatch(requestParameters: ProductPricingApiGetItemOffersBatchRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetItemOffersBatchResponse, any>>;
|
|
409
409
|
/**
|
|
410
410
|
* Returns the lowest priced offers for a single SKU listing. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 5 | 10 | 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).
|
|
411
411
|
* @param {ProductPricingApiGetListingOffersRequest} requestParameters Request parameters.
|
|
@@ -413,7 +413,7 @@ export declare class ProductPricingApi extends BaseAPI {
|
|
|
413
413
|
* @throws {RequiredError}
|
|
414
414
|
* @memberof ProductPricingApi
|
|
415
415
|
*/
|
|
416
|
-
getListingOffers(requestParameters: ProductPricingApiGetListingOffersRequest, options?:
|
|
416
|
+
getListingOffers(requestParameters: ProductPricingApiGetListingOffersRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetOffersResponse, any>>;
|
|
417
417
|
/**
|
|
418
418
|
* Returns the lowest priced offers for a batch of listings by SKU. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | .5 | 1 | 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).
|
|
419
419
|
* @param {ProductPricingApiGetListingOffersBatchRequest} requestParameters Request parameters.
|
|
@@ -421,7 +421,7 @@ export declare class ProductPricingApi extends BaseAPI {
|
|
|
421
421
|
* @throws {RequiredError}
|
|
422
422
|
* @memberof ProductPricingApi
|
|
423
423
|
*/
|
|
424
|
-
getListingOffersBatch(requestParameters: ProductPricingApiGetListingOffersBatchRequest, options?:
|
|
424
|
+
getListingOffersBatch(requestParameters: ProductPricingApiGetListingOffersBatchRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetListingOffersBatchResponse, any>>;
|
|
425
425
|
/**
|
|
426
426
|
* Returns pricing information for a seller\'s offer listings based on seller SKU or ASIN. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 20 | 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).
|
|
427
427
|
* @param {ProductPricingApiGetPricingRequest} requestParameters Request parameters.
|
|
@@ -429,5 +429,5 @@ export declare class ProductPricingApi extends BaseAPI {
|
|
|
429
429
|
* @throws {RequiredError}
|
|
430
430
|
* @memberof ProductPricingApi
|
|
431
431
|
*/
|
|
432
|
-
getPricing(requestParameters: ProductPricingApiGetPricingRequest, options?:
|
|
432
|
+
getPricing(requestParameters: ProductPricingApiGetPricingRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPricingResponse, any>>;
|
|
433
433
|
}
|
|
@@ -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>;
|
|
@@ -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
|
}
|