@sp-api-sdk/product-pricing-api-v0 3.1.4 → 3.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/api-model/api/product-pricing-api.js +0 -39
- package/dist/cjs/api-model/base.js +0 -19
- package/dist/cjs/api-model/common.js +0 -37
- package/dist/cjs/api-model/configuration.js +0 -17
- package/dist/cjs/api-model/models/condition-type.js +0 -2
- package/dist/cjs/api-model/models/customer-type.js +0 -2
- package/dist/cjs/api-model/models/fulfillment-channel-type.js +0 -2
- package/dist/cjs/api-model/models/http-method.js +0 -2
- package/dist/cjs/api-model/models/item-condition.js +0 -2
- package/dist/cjs/api-model/models/offer-customer-type.js +0 -2
- package/dist/cjs/api-model/models/quantity-discount-type.js +0 -2
- package/dist/es/api-model/api/product-pricing-api.js +0 -39
- package/dist/es/api-model/base.js +0 -19
- package/dist/es/api-model/common.js +0 -37
- package/dist/es/api-model/configuration.js +0 -17
- package/dist/es/api-model/models/condition-type.js +0 -2
- package/dist/es/api-model/models/customer-type.js +0 -2
- package/dist/es/api-model/models/fulfillment-channel-type.js +0 -2
- package/dist/es/api-model/models/http-method.js +0 -2
- package/dist/es/api-model/models/item-condition.js +0 -2
- package/dist/es/api-model/models/offer-customer-type.js +0 -2
- package/dist/es/api-model/models/quantity-discount-type.js +0 -2
- package/dist/types/api-model/api/product-pricing-api.d.ts +0 -93
- package/dist/types/api-model/base.d.ts +0 -24
- package/dist/types/api-model/common.d.ts +0 -37
- package/dist/types/api-model/configuration.d.ts +0 -17
- package/dist/types/api-model/models/asinidentifier.d.ts +0 -6
- package/dist/types/api-model/models/batch-offers-request-params.d.ts +0 -14
- package/dist/types/api-model/models/batch-offers-response.d.ts +0 -17
- package/dist/types/api-model/models/batch-request.d.ts +0 -11
- package/dist/types/api-model/models/buy-box-price-type.d.ts +0 -38
- package/dist/types/api-model/models/competitive-price-type.d.ts +0 -29
- package/dist/types/api-model/models/competitive-pricing-type.d.ts +0 -11
- package/dist/types/api-model/models/condition-type.d.ts +0 -2
- package/dist/types/api-model/models/customer-type.d.ts +0 -2
- package/dist/types/api-model/models/detailed-shipping-time-type.d.ts +0 -10
- package/dist/types/api-model/models/errors.d.ts +0 -4
- package/dist/types/api-model/models/fulfillment-channel-type.d.ts +0 -2
- package/dist/types/api-model/models/get-item-offers-batch-request.d.ts +0 -4
- package/dist/types/api-model/models/get-item-offers-batch-response.d.ts +0 -4
- package/dist/types/api-model/models/get-listing-offers-batch-request.d.ts +0 -4
- package/dist/types/api-model/models/get-listing-offers-batch-response.d.ts +0 -4
- package/dist/types/api-model/models/get-offers-http-status-line.d.ts +0 -6
- package/dist/types/api-model/models/get-offers-response.d.ts +0 -9
- package/dist/types/api-model/models/get-offers-result.d.ts +0 -27
- package/dist/types/api-model/models/get-pricing-response.d.ts +0 -6
- package/dist/types/api-model/models/http-method.d.ts +0 -2
- package/dist/types/api-model/models/http-response-headers.d.ts +0 -6
- package/dist/types/api-model/models/identifier-type.d.ts +0 -12
- package/dist/types/api-model/models/item-condition.d.ts +0 -2
- package/dist/types/api-model/models/item-identifier.d.ts +0 -13
- package/dist/types/api-model/models/item-offers-request-params-all-of.d.ts +0 -7
- package/dist/types/api-model/models/item-offers-request-params.d.ts +0 -1
- package/dist/types/api-model/models/item-offers-request.d.ts +0 -1
- package/dist/types/api-model/models/item-offers-response-all-of.d.ts +0 -10
- package/dist/types/api-model/models/item-offers-response.d.ts +0 -1
- package/dist/types/api-model/models/listing-offers-request-params-all-of.d.ts +0 -7
- package/dist/types/api-model/models/listing-offers-request-params.d.ts +0 -1
- package/dist/types/api-model/models/listing-offers-request.d.ts +0 -1
- package/dist/types/api-model/models/listing-offers-response-all-of.d.ts +0 -10
- package/dist/types/api-model/models/listing-offers-response.d.ts +0 -1
- package/dist/types/api-model/models/lowest-price-type.d.ts +0 -38
- package/dist/types/api-model/models/model-error.d.ts +0 -8
- package/dist/types/api-model/models/money-type.d.ts +0 -6
- package/dist/types/api-model/models/offer-count-type.d.ts +0 -11
- package/dist/types/api-model/models/offer-customer-type.d.ts +0 -2
- package/dist/types/api-model/models/offer-detail.d.ts +0 -58
- package/dist/types/api-model/models/offer-listing-count-type.d.ts +0 -6
- package/dist/types/api-model/models/offer-type.d.ts +0 -32
- package/dist/types/api-model/models/points.d.ts +0 -9
- package/dist/types/api-model/models/price-type.d.ts +0 -22
- package/dist/types/api-model/models/price.d.ts +0 -13
- package/dist/types/api-model/models/prime-information-type.d.ts +0 -6
- package/dist/types/api-model/models/product.d.ts +0 -20
- package/dist/types/api-model/models/quantity-discount-price-type.d.ts +0 -14
- package/dist/types/api-model/models/quantity-discount-type.d.ts +0 -2
- package/dist/types/api-model/models/sales-rank-type.d.ts +0 -6
- package/dist/types/api-model/models/seller-feedback-type.d.ts +0 -6
- package/dist/types/api-model/models/seller-skuidentifier.d.ts +0 -8
- package/dist/types/api-model/models/ships-from-type.d.ts +0 -6
- package/dist/types/api-model/models/summary.d.ts +0 -31
- package/package.json +25 -4
|
@@ -23,49 +23,32 @@ export declare class Configuration {
|
|
|
23
23
|
/**
|
|
24
24
|
* parameter for apiKey security
|
|
25
25
|
* @param name security name
|
|
26
|
-
* @memberof Configuration
|
|
27
26
|
*/
|
|
28
27
|
apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
|
|
29
28
|
/**
|
|
30
29
|
* parameter for basic security
|
|
31
|
-
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof Configuration
|
|
34
30
|
*/
|
|
35
31
|
username?: string;
|
|
36
32
|
/**
|
|
37
33
|
* parameter for basic security
|
|
38
|
-
*
|
|
39
|
-
* @type {string}
|
|
40
|
-
* @memberof Configuration
|
|
41
34
|
*/
|
|
42
35
|
password?: string;
|
|
43
36
|
/**
|
|
44
37
|
* parameter for oauth2 security
|
|
45
38
|
* @param name security name
|
|
46
39
|
* @param scopes oauth2 scope
|
|
47
|
-
* @memberof Configuration
|
|
48
40
|
*/
|
|
49
41
|
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
|
|
50
42
|
/**
|
|
51
43
|
* override base path
|
|
52
|
-
*
|
|
53
|
-
* @type {string}
|
|
54
|
-
* @memberof Configuration
|
|
55
44
|
*/
|
|
56
45
|
basePath?: string;
|
|
57
46
|
/**
|
|
58
47
|
* override server index
|
|
59
|
-
*
|
|
60
|
-
* @type {number}
|
|
61
|
-
* @memberof Configuration
|
|
62
48
|
*/
|
|
63
49
|
serverIndex?: number;
|
|
64
50
|
/**
|
|
65
51
|
* base options for axios calls
|
|
66
|
-
*
|
|
67
|
-
* @type {any}
|
|
68
|
-
* @memberof Configuration
|
|
69
52
|
*/
|
|
70
53
|
baseOptions?: any;
|
|
71
54
|
/**
|
|
@@ -11,20 +11,14 @@
|
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
13
|
* Schema to identify an item by MarketPlaceId and ASIN.
|
|
14
|
-
* @export
|
|
15
|
-
* @interface ASINIdentifier
|
|
16
14
|
*/
|
|
17
15
|
export interface ASINIdentifier {
|
|
18
16
|
/**
|
|
19
17
|
* A marketplace identifier.
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof ASINIdentifier
|
|
22
18
|
*/
|
|
23
19
|
'MarketplaceId': string;
|
|
24
20
|
/**
|
|
25
21
|
* The Amazon Standard Identification Number (ASIN) of the item.
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof ASINIdentifier
|
|
28
22
|
*/
|
|
29
23
|
'ASIN': string;
|
|
30
24
|
}
|
|
@@ -13,26 +13,12 @@ import type { CustomerType } from './customer-type';
|
|
|
13
13
|
import type { ItemCondition } from './item-condition';
|
|
14
14
|
/**
|
|
15
15
|
* Common request parameters that can be accepted by `ItemOffersRequest` and `ListingOffersRequest`
|
|
16
|
-
* @export
|
|
17
|
-
* @interface BatchOffersRequestParams
|
|
18
16
|
*/
|
|
19
17
|
export interface BatchOffersRequestParams {
|
|
20
18
|
/**
|
|
21
19
|
* A marketplace identifier. Specifies the marketplace for which prices are returned.
|
|
22
|
-
* @type {string}
|
|
23
|
-
* @memberof BatchOffersRequestParams
|
|
24
20
|
*/
|
|
25
21
|
'MarketplaceId': string;
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @type {ItemCondition}
|
|
29
|
-
* @memberof BatchOffersRequestParams
|
|
30
|
-
*/
|
|
31
22
|
'ItemCondition': ItemCondition;
|
|
32
|
-
/**
|
|
33
|
-
*
|
|
34
|
-
* @type {CustomerType}
|
|
35
|
-
* @memberof BatchOffersRequestParams
|
|
36
|
-
*/
|
|
37
23
|
'CustomerType'?: CustomerType;
|
|
38
24
|
}
|
|
@@ -14,26 +14,9 @@ import type { GetOffersResponse } from './get-offers-response';
|
|
|
14
14
|
import type { HttpResponseHeaders } from './http-response-headers';
|
|
15
15
|
/**
|
|
16
16
|
* Common schema that present in `ItemOffersResponse` and `ListingOffersResponse`
|
|
17
|
-
* @export
|
|
18
|
-
* @interface BatchOffersResponse
|
|
19
17
|
*/
|
|
20
18
|
export interface BatchOffersResponse {
|
|
21
|
-
/**
|
|
22
|
-
*
|
|
23
|
-
* @type {HttpResponseHeaders}
|
|
24
|
-
* @memberof BatchOffersResponse
|
|
25
|
-
*/
|
|
26
19
|
'headers'?: HttpResponseHeaders;
|
|
27
|
-
/**
|
|
28
|
-
*
|
|
29
|
-
* @type {GetOffersHttpStatusLine}
|
|
30
|
-
* @memberof BatchOffersResponse
|
|
31
|
-
*/
|
|
32
20
|
'status'?: GetOffersHttpStatusLine;
|
|
33
|
-
/**
|
|
34
|
-
*
|
|
35
|
-
* @type {GetOffersResponse}
|
|
36
|
-
* @memberof BatchOffersResponse
|
|
37
|
-
*/
|
|
38
21
|
'body': GetOffersResponse;
|
|
39
22
|
}
|
|
@@ -12,26 +12,15 @@
|
|
|
12
12
|
import type { HttpMethod } from './http-method';
|
|
13
13
|
/**
|
|
14
14
|
* Common properties of batch requests against individual APIs.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface BatchRequest
|
|
17
15
|
*/
|
|
18
16
|
export interface BatchRequest {
|
|
19
17
|
/**
|
|
20
18
|
* The resource path of the operation you are calling in batch without any query parameters. If you are calling `getItemOffersBatch`, supply the path of `getItemOffers`. **Example:** `/products/pricing/v0/items/B000P6Q7MY/offers` If you are calling `getListingOffersBatch`, supply the path of `getListingOffers`. **Example:** `/products/pricing/v0/listings/B000P6Q7MY/offers`
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof BatchRequest
|
|
23
19
|
*/
|
|
24
20
|
'uri': string;
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {HttpMethod}
|
|
28
|
-
* @memberof BatchRequest
|
|
29
|
-
*/
|
|
30
21
|
'method': HttpMethod;
|
|
31
22
|
/**
|
|
32
23
|
* A mapping of additional HTTP headers to send/receive for the individual batch request.
|
|
33
|
-
* @type {{ [key: string]: string; }}
|
|
34
|
-
* @memberof BatchRequest
|
|
35
24
|
*/
|
|
36
25
|
'headers'?: {
|
|
37
26
|
[key: string]: string;
|
|
@@ -15,62 +15,24 @@ import type { Points } from './points';
|
|
|
15
15
|
import type { QuantityDiscountType } from './quantity-discount-type';
|
|
16
16
|
/**
|
|
17
17
|
* Schema for an individual buybox price.
|
|
18
|
-
* @export
|
|
19
|
-
* @interface BuyBoxPriceType
|
|
20
18
|
*/
|
|
21
19
|
export interface BuyBoxPriceType {
|
|
22
20
|
/**
|
|
23
21
|
* Indicates the condition of the item. For example: New, Used, Collectible, Refurbished, or Club.
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof BuyBoxPriceType
|
|
26
22
|
*/
|
|
27
23
|
'condition': string;
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {OfferCustomerType}
|
|
31
|
-
* @memberof BuyBoxPriceType
|
|
32
|
-
*/
|
|
33
24
|
'offerType'?: OfferCustomerType;
|
|
34
25
|
/**
|
|
35
26
|
* Indicates at what quantity this price becomes active.
|
|
36
|
-
* @type {number}
|
|
37
|
-
* @memberof BuyBoxPriceType
|
|
38
27
|
*/
|
|
39
28
|
'quantityTier'?: number;
|
|
40
|
-
/**
|
|
41
|
-
*
|
|
42
|
-
* @type {QuantityDiscountType}
|
|
43
|
-
* @memberof BuyBoxPriceType
|
|
44
|
-
*/
|
|
45
29
|
'quantityDiscountType'?: QuantityDiscountType;
|
|
46
|
-
/**
|
|
47
|
-
*
|
|
48
|
-
* @type {MoneyType}
|
|
49
|
-
* @memberof BuyBoxPriceType
|
|
50
|
-
*/
|
|
51
30
|
'LandedPrice': MoneyType;
|
|
52
|
-
/**
|
|
53
|
-
*
|
|
54
|
-
* @type {MoneyType}
|
|
55
|
-
* @memberof BuyBoxPriceType
|
|
56
|
-
*/
|
|
57
31
|
'ListingPrice': MoneyType;
|
|
58
|
-
/**
|
|
59
|
-
*
|
|
60
|
-
* @type {MoneyType}
|
|
61
|
-
* @memberof BuyBoxPriceType
|
|
62
|
-
*/
|
|
63
32
|
'Shipping': MoneyType;
|
|
64
|
-
/**
|
|
65
|
-
*
|
|
66
|
-
* @type {Points}
|
|
67
|
-
* @memberof BuyBoxPriceType
|
|
68
|
-
*/
|
|
69
33
|
'Points'?: Points;
|
|
70
34
|
/**
|
|
71
35
|
* The seller identifier for the offer.
|
|
72
|
-
* @type {string}
|
|
73
|
-
* @memberof BuyBoxPriceType
|
|
74
36
|
*/
|
|
75
37
|
'sellerId'?: string;
|
|
76
38
|
}
|
|
@@ -14,62 +14,33 @@ import type { PriceType } from './price-type';
|
|
|
14
14
|
import type { QuantityDiscountType } from './quantity-discount-type';
|
|
15
15
|
/**
|
|
16
16
|
* Schema for competitive pricing information
|
|
17
|
-
* @export
|
|
18
|
-
* @interface CompetitivePriceType
|
|
19
17
|
*/
|
|
20
18
|
export interface CompetitivePriceType {
|
|
21
19
|
/**
|
|
22
20
|
* The pricing model for each price that is returned. Possible values: * 1 - New Buy Box Price. * 2 - Used Buy Box Price.
|
|
23
|
-
* @type {string}
|
|
24
|
-
* @memberof CompetitivePriceType
|
|
25
21
|
*/
|
|
26
22
|
'CompetitivePriceId': string;
|
|
27
|
-
/**
|
|
28
|
-
*
|
|
29
|
-
* @type {PriceType}
|
|
30
|
-
* @memberof CompetitivePriceType
|
|
31
|
-
*/
|
|
32
23
|
'Price': PriceType;
|
|
33
24
|
/**
|
|
34
25
|
* Indicates the condition of the item whose pricing information is returned. Possible values are: New, Used, Collectible, Refurbished, or Club.
|
|
35
|
-
* @type {string}
|
|
36
|
-
* @memberof CompetitivePriceType
|
|
37
26
|
*/
|
|
38
27
|
'condition'?: string;
|
|
39
28
|
/**
|
|
40
29
|
* Indicates the subcondition of the item whose pricing information is returned. Possible values are: New, Mint, Very Good, Good, Acceptable, Poor, Club, OEM, Warranty, Refurbished Warranty, Refurbished, Open Box, or Other.
|
|
41
|
-
* @type {string}
|
|
42
|
-
* @memberof CompetitivePriceType
|
|
43
30
|
*/
|
|
44
31
|
'subcondition'?: string;
|
|
45
|
-
/**
|
|
46
|
-
*
|
|
47
|
-
* @type {OfferCustomerType}
|
|
48
|
-
* @memberof CompetitivePriceType
|
|
49
|
-
*/
|
|
50
32
|
'offerType'?: OfferCustomerType;
|
|
51
33
|
/**
|
|
52
34
|
* Indicates at what quantity this price becomes active.
|
|
53
|
-
* @type {number}
|
|
54
|
-
* @memberof CompetitivePriceType
|
|
55
35
|
*/
|
|
56
36
|
'quantityTier'?: number;
|
|
57
|
-
/**
|
|
58
|
-
*
|
|
59
|
-
* @type {QuantityDiscountType}
|
|
60
|
-
* @memberof CompetitivePriceType
|
|
61
|
-
*/
|
|
62
37
|
'quantityDiscountType'?: QuantityDiscountType;
|
|
63
38
|
/**
|
|
64
39
|
* The seller identifier for the offer.
|
|
65
|
-
* @type {string}
|
|
66
|
-
* @memberof CompetitivePriceType
|
|
67
40
|
*/
|
|
68
41
|
'sellerId'?: string;
|
|
69
42
|
/**
|
|
70
43
|
* Indicates whether or not the pricing information is for an offer listing that belongs to the requester. The requester is the seller associated with the SellerId that was submitted with the request. Possible values are: true and false.
|
|
71
|
-
* @type {boolean}
|
|
72
|
-
* @memberof CompetitivePriceType
|
|
73
44
|
*/
|
|
74
45
|
'belongsToRequester'?: boolean;
|
|
75
46
|
}
|
|
@@ -14,26 +14,15 @@ import type { MoneyType } from './money-type';
|
|
|
14
14
|
import type { OfferListingCountType } from './offer-listing-count-type';
|
|
15
15
|
/**
|
|
16
16
|
* Competitive pricing information for the item.
|
|
17
|
-
* @export
|
|
18
|
-
* @interface CompetitivePricingType
|
|
19
17
|
*/
|
|
20
18
|
export interface CompetitivePricingType {
|
|
21
19
|
/**
|
|
22
20
|
* A list of competitive pricing information.
|
|
23
|
-
* @type {Array<CompetitivePriceType>}
|
|
24
|
-
* @memberof CompetitivePricingType
|
|
25
21
|
*/
|
|
26
22
|
'CompetitivePrices': Array<CompetitivePriceType>;
|
|
27
23
|
/**
|
|
28
24
|
* The number of active offer listings for the item that was submitted. The listing count is returned by condition, one for each listing condition value that is returned.
|
|
29
|
-
* @type {Array<OfferListingCountType>}
|
|
30
|
-
* @memberof CompetitivePricingType
|
|
31
25
|
*/
|
|
32
26
|
'NumberOfOfferListings': Array<OfferListingCountType>;
|
|
33
|
-
/**
|
|
34
|
-
*
|
|
35
|
-
* @type {MoneyType}
|
|
36
|
-
* @memberof CompetitivePricingType
|
|
37
|
-
*/
|
|
38
27
|
'TradeInValue'?: MoneyType;
|
|
39
28
|
}
|
|
@@ -11,32 +11,22 @@
|
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
13
|
* The time range in which an item will likely be shipped once an order has been placed.
|
|
14
|
-
* @export
|
|
15
|
-
* @interface DetailedShippingTimeType
|
|
16
14
|
*/
|
|
17
15
|
export interface DetailedShippingTimeType {
|
|
18
16
|
/**
|
|
19
17
|
* The minimum time, in hours, that the item will likely be shipped after the order has been placed.
|
|
20
|
-
* @type {number}
|
|
21
|
-
* @memberof DetailedShippingTimeType
|
|
22
18
|
*/
|
|
23
19
|
'minimumHours'?: number;
|
|
24
20
|
/**
|
|
25
21
|
* The maximum time, in hours, that the item will likely be shipped after the order has been placed.
|
|
26
|
-
* @type {number}
|
|
27
|
-
* @memberof DetailedShippingTimeType
|
|
28
22
|
*/
|
|
29
23
|
'maximumHours'?: number;
|
|
30
24
|
/**
|
|
31
25
|
* The date when the item will be available for shipping. Only displayed for items that are not currently available for shipping.
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof DetailedShippingTimeType
|
|
34
26
|
*/
|
|
35
27
|
'availableDate'?: string;
|
|
36
28
|
/**
|
|
37
29
|
* Indicates whether the item is available for shipping now, or on a known or an unknown date in the future. If known, the availableDate property indicates the date that the item will be available for shipping. Possible values: NOW, FUTURE_WITHOUT_DATE, FUTURE_WITH_DATE.
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof DetailedShippingTimeType
|
|
40
30
|
*/
|
|
41
31
|
'availabilityType'?: DetailedShippingTimeTypeAvailabilityTypeEnum;
|
|
42
32
|
}
|
|
@@ -11,14 +11,10 @@
|
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
13
|
* A list of error responses returned when a request is unsuccessful.
|
|
14
|
-
* @export
|
|
15
|
-
* @interface Errors
|
|
16
14
|
*/
|
|
17
15
|
export interface Errors {
|
|
18
16
|
/**
|
|
19
17
|
* A list of error responses returned when a request is unsuccessful.
|
|
20
|
-
* @type {Array<Error>}
|
|
21
|
-
* @memberof Errors
|
|
22
18
|
*/
|
|
23
19
|
'errors': Array<Error>;
|
|
24
20
|
}
|
|
@@ -12,14 +12,10 @@
|
|
|
12
12
|
import type { ItemOffersRequest } from './item-offers-request';
|
|
13
13
|
/**
|
|
14
14
|
* The request associated with the `getItemOffersBatch` API call.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface GetItemOffersBatchRequest
|
|
17
15
|
*/
|
|
18
16
|
export interface GetItemOffersBatchRequest {
|
|
19
17
|
/**
|
|
20
18
|
* A list of `getListingOffers` batched requests to run.
|
|
21
|
-
* @type {Array<ItemOffersRequest>}
|
|
22
|
-
* @memberof GetItemOffersBatchRequest
|
|
23
19
|
*/
|
|
24
20
|
'requests'?: Array<ItemOffersRequest>;
|
|
25
21
|
}
|
|
@@ -12,14 +12,10 @@
|
|
|
12
12
|
import type { ItemOffersResponse } from './item-offers-response';
|
|
13
13
|
/**
|
|
14
14
|
* The response associated with the `getItemOffersBatch` API call.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface GetItemOffersBatchResponse
|
|
17
15
|
*/
|
|
18
16
|
export interface GetItemOffersBatchResponse {
|
|
19
17
|
/**
|
|
20
18
|
* A list of `getItemOffers` batched responses.
|
|
21
|
-
* @type {Array<ItemOffersResponse>}
|
|
22
|
-
* @memberof GetItemOffersBatchResponse
|
|
23
19
|
*/
|
|
24
20
|
'responses'?: Array<ItemOffersResponse>;
|
|
25
21
|
}
|
|
@@ -12,14 +12,10 @@
|
|
|
12
12
|
import type { ListingOffersRequest } from './listing-offers-request';
|
|
13
13
|
/**
|
|
14
14
|
* The request associated with the `getListingOffersBatch` API call.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface GetListingOffersBatchRequest
|
|
17
15
|
*/
|
|
18
16
|
export interface GetListingOffersBatchRequest {
|
|
19
17
|
/**
|
|
20
18
|
* A list of `getListingOffers` batched requests to run.
|
|
21
|
-
* @type {Array<ListingOffersRequest>}
|
|
22
|
-
* @memberof GetListingOffersBatchRequest
|
|
23
19
|
*/
|
|
24
20
|
'requests'?: Array<ListingOffersRequest>;
|
|
25
21
|
}
|
|
@@ -12,14 +12,10 @@
|
|
|
12
12
|
import type { ListingOffersResponse } from './listing-offers-response';
|
|
13
13
|
/**
|
|
14
14
|
* The response associated with the `getListingOffersBatch` API call.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface GetListingOffersBatchResponse
|
|
17
15
|
*/
|
|
18
16
|
export interface GetListingOffersBatchResponse {
|
|
19
17
|
/**
|
|
20
18
|
* A list of `getListingOffers` batched responses.
|
|
21
|
-
* @type {Array<ListingOffersResponse>}
|
|
22
|
-
* @memberof GetListingOffersBatchResponse
|
|
23
19
|
*/
|
|
24
20
|
'responses'?: Array<ListingOffersResponse>;
|
|
25
21
|
}
|
|
@@ -11,20 +11,14 @@
|
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
13
|
* The HTTP status line associated with the response. For more information, consult [RFC 2616](https://www.w3.org/Protocols/rfc2616/rfc2616-sec6.html).
|
|
14
|
-
* @export
|
|
15
|
-
* @interface GetOffersHttpStatusLine
|
|
16
14
|
*/
|
|
17
15
|
export interface GetOffersHttpStatusLine {
|
|
18
16
|
/**
|
|
19
17
|
* The HTTP response Status Code.
|
|
20
|
-
* @type {number}
|
|
21
|
-
* @memberof GetOffersHttpStatusLine
|
|
22
18
|
*/
|
|
23
19
|
'statusCode'?: number;
|
|
24
20
|
/**
|
|
25
21
|
* The HTTP response Reason-Phase.
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof GetOffersHttpStatusLine
|
|
28
22
|
*/
|
|
29
23
|
'reasonPhrase'?: string;
|
|
30
24
|
}
|
|
@@ -12,20 +12,11 @@
|
|
|
12
12
|
import type { GetOffersResult } from './get-offers-result';
|
|
13
13
|
/**
|
|
14
14
|
* The response schema for the `getListingOffers` and `getItemOffers` operations.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface GetOffersResponse
|
|
17
15
|
*/
|
|
18
16
|
export interface GetOffersResponse {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {GetOffersResult}
|
|
22
|
-
* @memberof GetOffersResponse
|
|
23
|
-
*/
|
|
24
17
|
'payload'?: GetOffersResult;
|
|
25
18
|
/**
|
|
26
19
|
* A list of error responses returned when a request is unsuccessful.
|
|
27
|
-
* @type {Array<Error>}
|
|
28
|
-
* @memberof GetOffersResponse
|
|
29
20
|
*/
|
|
30
21
|
'errors'?: Array<Error>;
|
|
31
22
|
}
|
|
@@ -15,56 +15,29 @@ import type { OfferDetail } from './offer-detail';
|
|
|
15
15
|
import type { Summary } from './summary';
|
|
16
16
|
/**
|
|
17
17
|
* The payload for the getListingOffers and getItemOffers operations.
|
|
18
|
-
* @export
|
|
19
|
-
* @interface GetOffersResult
|
|
20
18
|
*/
|
|
21
19
|
export interface GetOffersResult {
|
|
22
20
|
/**
|
|
23
21
|
* A marketplace identifier.
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof GetOffersResult
|
|
26
22
|
*/
|
|
27
23
|
'MarketplaceID': string;
|
|
28
24
|
/**
|
|
29
25
|
* The Amazon Standard Identification Number (ASIN) of the item.
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof GetOffersResult
|
|
32
26
|
*/
|
|
33
27
|
'ASIN'?: string;
|
|
34
28
|
/**
|
|
35
29
|
* The stock keeping unit (SKU) of the item.
|
|
36
|
-
* @type {string}
|
|
37
|
-
* @memberof GetOffersResult
|
|
38
30
|
*/
|
|
39
31
|
'SKU'?: string;
|
|
40
|
-
/**
|
|
41
|
-
*
|
|
42
|
-
* @type {ConditionType}
|
|
43
|
-
* @memberof GetOffersResult
|
|
44
|
-
*/
|
|
45
32
|
'ItemCondition': ConditionType;
|
|
46
33
|
/**
|
|
47
34
|
* The status of the operation.
|
|
48
|
-
* @type {string}
|
|
49
|
-
* @memberof GetOffersResult
|
|
50
35
|
*/
|
|
51
36
|
'status': string;
|
|
52
|
-
/**
|
|
53
|
-
*
|
|
54
|
-
* @type {ItemIdentifier}
|
|
55
|
-
* @memberof GetOffersResult
|
|
56
|
-
*/
|
|
57
37
|
'Identifier': ItemIdentifier;
|
|
58
|
-
/**
|
|
59
|
-
*
|
|
60
|
-
* @type {Summary}
|
|
61
|
-
* @memberof GetOffersResult
|
|
62
|
-
*/
|
|
63
38
|
'Summary': Summary;
|
|
64
39
|
/**
|
|
65
40
|
* A list of offer details. The list is the same length as the TotalOfferCount in the Summary or 20, whichever is less.
|
|
66
|
-
* @type {Array<OfferDetail>}
|
|
67
|
-
* @memberof GetOffersResult
|
|
68
41
|
*/
|
|
69
42
|
'Offers': Array<OfferDetail>;
|
|
70
43
|
}
|
|
@@ -12,20 +12,14 @@
|
|
|
12
12
|
import type { Price } from './price';
|
|
13
13
|
/**
|
|
14
14
|
* The response schema for the `getPricing` and `getCompetitivePricing` operations.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface GetPricingResponse
|
|
17
15
|
*/
|
|
18
16
|
export interface GetPricingResponse {
|
|
19
17
|
/**
|
|
20
18
|
* The payload for the `getPricing` and `getCompetitivePricing` operations.
|
|
21
|
-
* @type {Array<Price>}
|
|
22
|
-
* @memberof GetPricingResponse
|
|
23
19
|
*/
|
|
24
20
|
'payload'?: Array<Price>;
|
|
25
21
|
/**
|
|
26
22
|
* A list of error responses returned when a request is unsuccessful.
|
|
27
|
-
* @type {Array<Error>}
|
|
28
|
-
* @memberof GetPricingResponse
|
|
29
23
|
*/
|
|
30
24
|
'errors'?: Array<Error>;
|
|
31
25
|
}
|
|
@@ -11,21 +11,15 @@
|
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
13
|
* A mapping of additional HTTP headers to send/receive for the individual batch request.
|
|
14
|
-
* @export
|
|
15
|
-
* @interface HttpResponseHeaders
|
|
16
14
|
*/
|
|
17
15
|
export interface HttpResponseHeaders {
|
|
18
16
|
[key: string]: string | any;
|
|
19
17
|
/**
|
|
20
18
|
* The timestamp that the API request was received. For more information, consult [RFC 2616 Section 14](https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html).
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof HttpResponseHeaders
|
|
23
19
|
*/
|
|
24
20
|
'Date'?: string;
|
|
25
21
|
/**
|
|
26
22
|
* Unique request reference identifier.
|
|
27
|
-
* @type {string}
|
|
28
|
-
* @memberof HttpResponseHeaders
|
|
29
23
|
*/
|
|
30
24
|
'x-amzn-RequestId'?: string;
|
|
31
25
|
}
|
|
@@ -13,20 +13,8 @@ import type { ASINIdentifier } from './asinidentifier';
|
|
|
13
13
|
import type { SellerSKUIdentifier } from './seller-skuidentifier';
|
|
14
14
|
/**
|
|
15
15
|
* Specifies the identifiers used to uniquely identify an item.
|
|
16
|
-
* @export
|
|
17
|
-
* @interface IdentifierType
|
|
18
16
|
*/
|
|
19
17
|
export interface IdentifierType {
|
|
20
|
-
/**
|
|
21
|
-
*
|
|
22
|
-
* @type {ASINIdentifier}
|
|
23
|
-
* @memberof IdentifierType
|
|
24
|
-
*/
|
|
25
18
|
'MarketplaceASIN': ASINIdentifier;
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @type {SellerSKUIdentifier}
|
|
29
|
-
* @memberof IdentifierType
|
|
30
|
-
*/
|
|
31
19
|
'SKUIdentifier'?: SellerSKUIdentifier;
|
|
32
20
|
}
|
|
@@ -12,32 +12,19 @@
|
|
|
12
12
|
import type { ConditionType } from './condition-type';
|
|
13
13
|
/**
|
|
14
14
|
* Information that identifies an item.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface ItemIdentifier
|
|
17
15
|
*/
|
|
18
16
|
export interface ItemIdentifier {
|
|
19
17
|
/**
|
|
20
18
|
* A marketplace identifier. Specifies the marketplace from which prices are returned.
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof ItemIdentifier
|
|
23
19
|
*/
|
|
24
20
|
'MarketplaceId': string;
|
|
25
21
|
/**
|
|
26
22
|
* The Amazon Standard Identification Number (ASIN) of the item.
|
|
27
|
-
* @type {string}
|
|
28
|
-
* @memberof ItemIdentifier
|
|
29
23
|
*/
|
|
30
24
|
'ASIN'?: string;
|
|
31
25
|
/**
|
|
32
26
|
* The seller stock keeping unit (SKU) of the item.
|
|
33
|
-
* @type {string}
|
|
34
|
-
* @memberof ItemIdentifier
|
|
35
27
|
*/
|
|
36
28
|
'SellerSKU'?: string;
|
|
37
|
-
/**
|
|
38
|
-
*
|
|
39
|
-
* @type {ConditionType}
|
|
40
|
-
* @memberof ItemIdentifier
|
|
41
|
-
*/
|
|
42
29
|
'ItemCondition': ConditionType;
|
|
43
30
|
}
|