@sp-api-sdk/product-pricing-api-v0 2.0.6 → 2.1.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.
- package/dist/cjs/src/api-model/api/product-pricing-api.js +109 -25
- package/dist/cjs/src/api-model/base.js +7 -2
- package/dist/cjs/src/api-model/common.js +1 -1
- package/dist/cjs/src/api-model/configuration.js +8 -0
- package/dist/es/src/api-model/api/product-pricing-api.js +109 -25
- package/dist/es/src/api-model/base.js +6 -1
- package/dist/es/src/api-model/common.js +1 -1
- package/dist/es/src/api-model/configuration.js +8 -0
- package/dist/types/src/api-model/api/product-pricing-api.d.ts +140 -59
- package/dist/types/src/api-model/base.d.ts +14 -2
- package/dist/types/src/api-model/configuration.d.ts +8 -0
- package/dist/types/src/api-model/models/batch-offers-request-params.d.ts +2 -2
- 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 +1 -1
- package/dist/types/src/api-model/models/buy-box-price-type.d.ts +4 -4
- package/dist/types/src/api-model/models/competitive-price-type.d.ts +3 -3
- package/dist/types/src/api-model/models/competitive-pricing-type.d.ts +3 -3
- 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-response.d.ts +1 -1
- package/dist/types/src/api-model/models/get-offers-result.d.ts +4 -4
- package/dist/types/src/api-model/models/get-pricing-response.d.ts +1 -1
- package/dist/types/src/api-model/models/identifier-type.d.ts +2 -2
- package/dist/types/src/api-model/models/item-identifier.d.ts +1 -1
- package/dist/types/src/api-model/models/item-offers-request-params.d.ts +2 -2
- package/dist/types/src/api-model/models/item-offers-request.d.ts +2 -2
- package/dist/types/src/api-model/models/item-offers-response-all-of.d.ts +1 -1
- package/dist/types/src/api-model/models/item-offers-response.d.ts +2 -2
- package/dist/types/src/api-model/models/listing-offers-request-params.d.ts +2 -2
- package/dist/types/src/api-model/models/listing-offers-request.d.ts +2 -2
- package/dist/types/src/api-model/models/listing-offers-response-all-of.d.ts +1 -1
- package/dist/types/src/api-model/models/listing-offers-response.d.ts +2 -2
- package/dist/types/src/api-model/models/lowest-price-type.d.ts +4 -4
- package/dist/types/src/api-model/models/offer-count-type.d.ts +1 -1
- package/dist/types/src/api-model/models/offer-detail.d.ts +8 -8
- package/dist/types/src/api-model/models/offer-type.d.ts +4 -4
- package/dist/types/src/api-model/models/points.d.ts +1 -1
- package/dist/types/src/api-model/models/price-type.d.ts +2 -2
- package/dist/types/src/api-model/models/price.d.ts +1 -1
- package/dist/types/src/api-model/models/product.d.ts +4 -4
- package/dist/types/src/api-model/models/quantity-discount-price-type.d.ts +2 -2
- package/dist/types/src/api-model/models/summary.d.ts +5 -5
- package/package.json +5 -5
|
@@ -9,9 +9,9 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { CompetitivePriceType } from './competitive-price-type';
|
|
13
|
-
import { MoneyType } from './money-type';
|
|
14
|
-
import { OfferListingCountType } from './offer-listing-count-type';
|
|
12
|
+
import type { CompetitivePriceType } from './competitive-price-type';
|
|
13
|
+
import type { MoneyType } from './money-type';
|
|
14
|
+
import type { OfferListingCountType } from './offer-listing-count-type';
|
|
15
15
|
/**
|
|
16
16
|
* Competitive pricing information for the item.
|
|
17
17
|
* @export
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { ItemOffersRequest } from './item-offers-request';
|
|
12
|
+
import type { ItemOffersRequest } from './item-offers-request';
|
|
13
13
|
/**
|
|
14
14
|
* The request associated with the `getItemOffersBatch` API call.
|
|
15
15
|
* @export
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { ItemOffersResponse } from './item-offers-response';
|
|
12
|
+
import type { ItemOffersResponse } from './item-offers-response';
|
|
13
13
|
/**
|
|
14
14
|
* The response associated with the `getItemOffersBatch` API call.
|
|
15
15
|
* @export
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { ListingOffersRequest } from './listing-offers-request';
|
|
12
|
+
import type { ListingOffersRequest } from './listing-offers-request';
|
|
13
13
|
/**
|
|
14
14
|
* The request associated with the `getListingOffersBatch` API call.
|
|
15
15
|
* @export
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { ListingOffersResponse } from './listing-offers-response';
|
|
12
|
+
import type { ListingOffersResponse } from './listing-offers-response';
|
|
13
13
|
/**
|
|
14
14
|
* The response associated with the `getListingOffersBatch` API call.
|
|
15
15
|
* @export
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { GetOffersResult } from './get-offers-result';
|
|
12
|
+
import type { GetOffersResult } from './get-offers-result';
|
|
13
13
|
/**
|
|
14
14
|
* The response schema for the `getListingOffers` and `getItemOffers` operations.
|
|
15
15
|
* @export
|
|
@@ -9,10 +9,10 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { ConditionType } from './condition-type';
|
|
13
|
-
import { ItemIdentifier } from './item-identifier';
|
|
14
|
-
import { OfferDetail } from './offer-detail';
|
|
15
|
-
import { Summary } from './summary';
|
|
12
|
+
import type { ConditionType } from './condition-type';
|
|
13
|
+
import type { ItemIdentifier } from './item-identifier';
|
|
14
|
+
import type { OfferDetail } from './offer-detail';
|
|
15
|
+
import type { Summary } from './summary';
|
|
16
16
|
/**
|
|
17
17
|
*
|
|
18
18
|
* @export
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { ASINIdentifier } from './asinidentifier';
|
|
13
|
-
import { SellerSKUIdentifier } from './seller-skuidentifier';
|
|
12
|
+
import type { ASINIdentifier } from './asinidentifier';
|
|
13
|
+
import type { SellerSKUIdentifier } from './seller-skuidentifier';
|
|
14
14
|
/**
|
|
15
15
|
* Specifies the identifiers used to uniquely identify an item.
|
|
16
16
|
* @export
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { BatchOffersRequestParams } from './batch-offers-request-params';
|
|
13
|
-
import { ItemOffersRequestParamsAllOf } from './item-offers-request-params-all-of';
|
|
12
|
+
import type { BatchOffersRequestParams } from './batch-offers-request-params';
|
|
13
|
+
import type { ItemOffersRequestParamsAllOf } from './item-offers-request-params-all-of';
|
|
14
14
|
/**
|
|
15
15
|
* @type ItemOffersRequestParams
|
|
16
16
|
* @export
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { BatchOffersRequestParams } from './batch-offers-request-params';
|
|
13
|
-
import { BatchRequest } from './batch-request';
|
|
12
|
+
import type { BatchOffersRequestParams } from './batch-offers-request-params';
|
|
13
|
+
import type { BatchRequest } from './batch-request';
|
|
14
14
|
/**
|
|
15
15
|
* @type ItemOffersRequest
|
|
16
16
|
* @export
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { BatchOffersResponse } from './batch-offers-response';
|
|
13
|
-
import { ItemOffersResponseAllOf } from './item-offers-response-all-of';
|
|
12
|
+
import type { BatchOffersResponse } from './batch-offers-response';
|
|
13
|
+
import type { ItemOffersResponseAllOf } from './item-offers-response-all-of';
|
|
14
14
|
/**
|
|
15
15
|
* @type ItemOffersResponse
|
|
16
16
|
* @export
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { BatchOffersRequestParams } from './batch-offers-request-params';
|
|
13
|
-
import { ListingOffersRequestParamsAllOf } from './listing-offers-request-params-all-of';
|
|
12
|
+
import type { BatchOffersRequestParams } from './batch-offers-request-params';
|
|
13
|
+
import type { ListingOffersRequestParamsAllOf } from './listing-offers-request-params-all-of';
|
|
14
14
|
/**
|
|
15
15
|
* @type ListingOffersRequestParams
|
|
16
16
|
* @export
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { BatchOffersRequestParams } from './batch-offers-request-params';
|
|
13
|
-
import { BatchRequest } from './batch-request';
|
|
12
|
+
import type { BatchOffersRequestParams } from './batch-offers-request-params';
|
|
13
|
+
import type { BatchRequest } from './batch-request';
|
|
14
14
|
/**
|
|
15
15
|
* @type ListingOffersRequest
|
|
16
16
|
* @export
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { ListingOffersRequestParams } from './listing-offers-request-params';
|
|
12
|
+
import type { ListingOffersRequestParams } from './listing-offers-request-params';
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { BatchOffersResponse } from './batch-offers-response';
|
|
13
|
-
import { ListingOffersResponseAllOf } from './listing-offers-response-all-of';
|
|
12
|
+
import type { BatchOffersResponse } from './batch-offers-response';
|
|
13
|
+
import type { ListingOffersResponseAllOf } from './listing-offers-response-all-of';
|
|
14
14
|
/**
|
|
15
15
|
* @type ListingOffersResponse
|
|
16
16
|
* @export
|
|
@@ -9,10 +9,10 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { MoneyType } from './money-type';
|
|
13
|
-
import { OfferCustomerType } from './offer-customer-type';
|
|
14
|
-
import { Points } from './points';
|
|
15
|
-
import { QuantityDiscountType } from './quantity-discount-type';
|
|
12
|
+
import type { MoneyType } from './money-type';
|
|
13
|
+
import type { OfferCustomerType } from './offer-customer-type';
|
|
14
|
+
import type { Points } from './points';
|
|
15
|
+
import type { QuantityDiscountType } from './quantity-discount-type';
|
|
16
16
|
/**
|
|
17
17
|
*
|
|
18
18
|
* @export
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { FulfillmentChannelType } from './fulfillment-channel-type';
|
|
12
|
+
import type { FulfillmentChannelType } from './fulfillment-channel-type';
|
|
13
13
|
/**
|
|
14
14
|
* The total number of offers for the specified condition and fulfillment channel.
|
|
15
15
|
* @export
|
|
@@ -9,14 +9,14 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { DetailedShippingTimeType } from './detailed-shipping-time-type';
|
|
13
|
-
import { MoneyType } from './money-type';
|
|
14
|
-
import { OfferCustomerType } from './offer-customer-type';
|
|
15
|
-
import { Points } from './points';
|
|
16
|
-
import { PrimeInformationType } from './prime-information-type';
|
|
17
|
-
import { QuantityDiscountPriceType } from './quantity-discount-price-type';
|
|
18
|
-
import { SellerFeedbackType } from './seller-feedback-type';
|
|
19
|
-
import { ShipsFromType } from './ships-from-type';
|
|
12
|
+
import type { DetailedShippingTimeType } from './detailed-shipping-time-type';
|
|
13
|
+
import type { MoneyType } from './money-type';
|
|
14
|
+
import type { OfferCustomerType } from './offer-customer-type';
|
|
15
|
+
import type { Points } from './points';
|
|
16
|
+
import type { PrimeInformationType } from './prime-information-type';
|
|
17
|
+
import type { QuantityDiscountPriceType } from './quantity-discount-price-type';
|
|
18
|
+
import type { SellerFeedbackType } from './seller-feedback-type';
|
|
19
|
+
import type { ShipsFromType } from './ships-from-type';
|
|
20
20
|
/**
|
|
21
21
|
*
|
|
22
22
|
* @export
|
|
@@ -9,10 +9,10 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { MoneyType } from './money-type';
|
|
13
|
-
import { OfferCustomerType } from './offer-customer-type';
|
|
14
|
-
import { PriceType } from './price-type';
|
|
15
|
-
import { QuantityDiscountPriceType } from './quantity-discount-price-type';
|
|
12
|
+
import type { MoneyType } from './money-type';
|
|
13
|
+
import type { OfferCustomerType } from './offer-customer-type';
|
|
14
|
+
import type { PriceType } from './price-type';
|
|
15
|
+
import type { QuantityDiscountPriceType } from './quantity-discount-price-type';
|
|
16
16
|
/**
|
|
17
17
|
*
|
|
18
18
|
* @export
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { MoneyType } from './money-type';
|
|
13
|
-
import { Points } from './points';
|
|
12
|
+
import type { MoneyType } from './money-type';
|
|
13
|
+
import type { Points } from './points';
|
|
14
14
|
/**
|
|
15
15
|
*
|
|
16
16
|
* @export
|
|
@@ -9,10 +9,10 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { CompetitivePricingType } from './competitive-pricing-type';
|
|
13
|
-
import { IdentifierType } from './identifier-type';
|
|
14
|
-
import { OfferType } from './offer-type';
|
|
15
|
-
import { SalesRankType } from './sales-rank-type';
|
|
12
|
+
import type { CompetitivePricingType } from './competitive-pricing-type';
|
|
13
|
+
import type { IdentifierType } from './identifier-type';
|
|
14
|
+
import type { OfferType } from './offer-type';
|
|
15
|
+
import type { SalesRankType } from './sales-rank-type';
|
|
16
16
|
/**
|
|
17
17
|
* An item.
|
|
18
18
|
* @export
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { MoneyType } from './money-type';
|
|
13
|
-
import { QuantityDiscountType } from './quantity-discount-type';
|
|
12
|
+
import type { MoneyType } from './money-type';
|
|
13
|
+
import type { QuantityDiscountType } from './quantity-discount-type';
|
|
14
14
|
/**
|
|
15
15
|
* Contains pricing information that includes special pricing when buying in bulk.
|
|
16
16
|
* @export
|
|
@@ -9,11 +9,11 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { BuyBoxPriceType } from './buy-box-price-type';
|
|
13
|
-
import { LowestPriceType } from './lowest-price-type';
|
|
14
|
-
import { MoneyType } from './money-type';
|
|
15
|
-
import { OfferCountType } from './offer-count-type';
|
|
16
|
-
import { SalesRankType } from './sales-rank-type';
|
|
12
|
+
import type { BuyBoxPriceType } from './buy-box-price-type';
|
|
13
|
+
import type { LowestPriceType } from './lowest-price-type';
|
|
14
|
+
import type { MoneyType } from './money-type';
|
|
15
|
+
import type { OfferCountType } from './offer-count-type';
|
|
16
|
+
import type { SalesRankType } from './sales-rank-type';
|
|
17
17
|
/**
|
|
18
18
|
* Contains price information about the product, including the LowestPrices and BuyBoxPrices, the ListPrice, the SuggestedLowerPricePlusShipping, and NumberOfOffers and NumberOfBuyBoxEligibleOffers.
|
|
19
19
|
* @export
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sp-api-sdk/product-pricing-api-v0",
|
|
3
|
-
"author": "
|
|
3
|
+
"author": "Bertrand Marron <bertrand@bizon.solutions>",
|
|
4
4
|
"description": "The Selling Partner API for Pricing helps you programmatically retrieve product pricing and offer information for Amazon Marketplace products.",
|
|
5
|
-
"version": "2.0
|
|
5
|
+
"version": "2.1.0",
|
|
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.
|
|
21
|
+
"@sp-api-sdk/common": "2.0.8",
|
|
22
|
+
"axios": "^1.7.0"
|
|
23
23
|
},
|
|
24
24
|
"repository": {
|
|
25
25
|
"type": "git",
|
|
@@ -40,5 +40,5 @@
|
|
|
40
40
|
"sp sdk",
|
|
41
41
|
"product pricing api"
|
|
42
42
|
],
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "5a245a25a9f1765c825e2178668d4b0f4e44689b"
|
|
44
44
|
}
|