@sp-api-sdk/product-pricing-api-2022-05-01 3.3.0 → 4.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.
Files changed (167) hide show
  1. package/README.md +7 -8
  2. package/dist/index.cjs +500 -0
  3. package/dist/index.cjs.map +1 -0
  4. package/dist/index.d.cts +964 -0
  5. package/dist/index.d.ts +964 -0
  6. package/dist/index.js +461 -0
  7. package/dist/index.js.map +1 -0
  8. package/package.json +26 -12
  9. package/dist/cjs/api-model/api/product-pricing-api.js +0 -177
  10. package/dist/cjs/api-model/api.js +0 -30
  11. package/dist/cjs/api-model/base.js +0 -52
  12. package/dist/cjs/api-model/common.js +0 -123
  13. package/dist/cjs/api-model/configuration.js +0 -98
  14. package/dist/cjs/api-model/index.js +0 -32
  15. package/dist/cjs/api-model/models/batch-request.js +0 -15
  16. package/dist/cjs/api-model/models/batch-response.js +0 -15
  17. package/dist/cjs/api-model/models/competitive-summary-batch-request.js +0 -15
  18. package/dist/cjs/api-model/models/competitive-summary-batch-response.js +0 -15
  19. package/dist/cjs/api-model/models/competitive-summary-included-data.js +0 -25
  20. package/dist/cjs/api-model/models/competitive-summary-request.js +0 -15
  21. package/dist/cjs/api-model/models/competitive-summary-response-body.js +0 -15
  22. package/dist/cjs/api-model/models/competitive-summary-response.js +0 -15
  23. package/dist/cjs/api-model/models/condition.js +0 -26
  24. package/dist/cjs/api-model/models/errors.js +0 -15
  25. package/dist/cjs/api-model/models/featured-buying-option.js +0 -19
  26. package/dist/cjs/api-model/models/featured-offer-expected-price-request-params.js +0 -15
  27. package/dist/cjs/api-model/models/featured-offer-expected-price-request.js +0 -15
  28. package/dist/cjs/api-model/models/featured-offer-expected-price-response-all-of.js +0 -15
  29. package/dist/cjs/api-model/models/featured-offer-expected-price-response-body.js +0 -15
  30. package/dist/cjs/api-model/models/featured-offer-expected-price-response.js +0 -15
  31. package/dist/cjs/api-model/models/featured-offer-expected-price-result.js +0 -15
  32. package/dist/cjs/api-model/models/featured-offer-expected-price.js +0 -15
  33. package/dist/cjs/api-model/models/featured-offer-segment.js +0 -21
  34. package/dist/cjs/api-model/models/featured-offer.js +0 -15
  35. package/dist/cjs/api-model/models/fulfillment-type.js +0 -23
  36. package/dist/cjs/api-model/models/get-featured-offer-expected-price-batch-request.js +0 -15
  37. package/dist/cjs/api-model/models/get-featured-offer-expected-price-batch-response.js +0 -15
  38. package/dist/cjs/api-model/models/http-method.js +0 -26
  39. package/dist/cjs/api-model/models/http-status-line.js +0 -15
  40. package/dist/cjs/api-model/models/index.js +0 -60
  41. package/dist/cjs/api-model/models/item.js +0 -15
  42. package/dist/cjs/api-model/models/lowest-priced-offer.js +0 -15
  43. package/dist/cjs/api-model/models/lowest-priced-offers-input.js +0 -19
  44. package/dist/cjs/api-model/models/model-error.js +0 -15
  45. package/dist/cjs/api-model/models/money-type.js +0 -15
  46. package/dist/cjs/api-model/models/offer-identifier.js +0 -15
  47. package/dist/cjs/api-model/models/offer.js +0 -31
  48. package/dist/cjs/api-model/models/points.js +0 -15
  49. package/dist/cjs/api-model/models/postal-code.js +0 -15
  50. package/dist/cjs/api-model/models/price.js +0 -15
  51. package/dist/cjs/api-model/models/prime-details.js +0 -21
  52. package/dist/cjs/api-model/models/reference-price.js +0 -15
  53. package/dist/cjs/api-model/models/sample-location.js +0 -15
  54. package/dist/cjs/api-model/models/segment-details.js +0 -15
  55. package/dist/cjs/api-model/models/segment.js +0 -15
  56. package/dist/cjs/api-model/models/segmented-featured-offer-all-of.js +0 -15
  57. package/dist/cjs/api-model/models/segmented-featured-offer.js +0 -15
  58. package/dist/cjs/api-model/models/shipping-option.js +0 -19
  59. package/dist/cjs/api-model/models/similar-items.js +0 -15
  60. package/dist/cjs/client.js +0 -28
  61. package/dist/cjs/index.js +0 -19
  62. package/dist/es/api-model/api/product-pricing-api.js +0 -167
  63. package/dist/es/api-model/api.js +0 -14
  64. package/dist/es/api-model/base.js +0 -44
  65. package/dist/es/api-model/common.js +0 -110
  66. package/dist/es/api-model/configuration.js +0 -94
  67. package/dist/es/api-model/index.js +0 -16
  68. package/dist/es/api-model/models/batch-request.js +0 -14
  69. package/dist/es/api-model/models/batch-response.js +0 -14
  70. package/dist/es/api-model/models/competitive-summary-batch-request.js +0 -14
  71. package/dist/es/api-model/models/competitive-summary-batch-response.js +0 -14
  72. package/dist/es/api-model/models/competitive-summary-included-data.js +0 -22
  73. package/dist/es/api-model/models/competitive-summary-request.js +0 -14
  74. package/dist/es/api-model/models/competitive-summary-response-body.js +0 -14
  75. package/dist/es/api-model/models/competitive-summary-response.js +0 -14
  76. package/dist/es/api-model/models/condition.js +0 -23
  77. package/dist/es/api-model/models/errors.js +0 -14
  78. package/dist/es/api-model/models/featured-buying-option.js +0 -16
  79. package/dist/es/api-model/models/featured-offer-expected-price-request-params.js +0 -14
  80. package/dist/es/api-model/models/featured-offer-expected-price-request.js +0 -14
  81. package/dist/es/api-model/models/featured-offer-expected-price-response-all-of.js +0 -14
  82. package/dist/es/api-model/models/featured-offer-expected-price-response-body.js +0 -14
  83. package/dist/es/api-model/models/featured-offer-expected-price-response.js +0 -14
  84. package/dist/es/api-model/models/featured-offer-expected-price-result.js +0 -14
  85. package/dist/es/api-model/models/featured-offer-expected-price.js +0 -14
  86. package/dist/es/api-model/models/featured-offer-segment.js +0 -18
  87. package/dist/es/api-model/models/featured-offer.js +0 -14
  88. package/dist/es/api-model/models/fulfillment-type.js +0 -20
  89. package/dist/es/api-model/models/get-featured-offer-expected-price-batch-request.js +0 -14
  90. package/dist/es/api-model/models/get-featured-offer-expected-price-batch-response.js +0 -14
  91. package/dist/es/api-model/models/http-method.js +0 -23
  92. package/dist/es/api-model/models/http-status-line.js +0 -14
  93. package/dist/es/api-model/models/index.js +0 -44
  94. package/dist/es/api-model/models/item.js +0 -14
  95. package/dist/es/api-model/models/lowest-priced-offer.js +0 -14
  96. package/dist/es/api-model/models/lowest-priced-offers-input.js +0 -16
  97. package/dist/es/api-model/models/model-error.js +0 -14
  98. package/dist/es/api-model/models/money-type.js +0 -14
  99. package/dist/es/api-model/models/offer-identifier.js +0 -14
  100. package/dist/es/api-model/models/offer.js +0 -28
  101. package/dist/es/api-model/models/points.js +0 -14
  102. package/dist/es/api-model/models/postal-code.js +0 -14
  103. package/dist/es/api-model/models/price.js +0 -14
  104. package/dist/es/api-model/models/prime-details.js +0 -18
  105. package/dist/es/api-model/models/reference-price.js +0 -14
  106. package/dist/es/api-model/models/sample-location.js +0 -14
  107. package/dist/es/api-model/models/segment-details.js +0 -14
  108. package/dist/es/api-model/models/segment.js +0 -14
  109. package/dist/es/api-model/models/segmented-featured-offer-all-of.js +0 -14
  110. package/dist/es/api-model/models/segmented-featured-offer.js +0 -14
  111. package/dist/es/api-model/models/shipping-option.js +0 -16
  112. package/dist/es/api-model/models/similar-items.js +0 -14
  113. package/dist/es/client.js +0 -24
  114. package/dist/es/index.js +0 -3
  115. package/dist/types/api-model/api/product-pricing-api.d.ts +0 -113
  116. package/dist/types/api-model/api.d.ts +0 -12
  117. package/dist/types/api-model/base.d.ts +0 -42
  118. package/dist/types/api-model/common.d.ts +0 -34
  119. package/dist/types/api-model/configuration.d.ts +0 -98
  120. package/dist/types/api-model/index.d.ts +0 -14
  121. package/dist/types/api-model/models/batch-request.d.ts +0 -34
  122. package/dist/types/api-model/models/batch-response.d.ts +0 -24
  123. package/dist/types/api-model/models/competitive-summary-batch-request.d.ts +0 -21
  124. package/dist/types/api-model/models/competitive-summary-batch-response.d.ts +0 -21
  125. package/dist/types/api-model/models/competitive-summary-included-data.d.ts +0 -21
  126. package/dist/types/api-model/models/competitive-summary-request.d.ts +0 -40
  127. package/dist/types/api-model/models/competitive-summary-response-body.d.ts +0 -48
  128. package/dist/types/api-model/models/competitive-summary-response.d.ts +0 -20
  129. package/dist/types/api-model/models/condition.d.ts +0 -22
  130. package/dist/types/api-model/models/errors.d.ts +0 -20
  131. package/dist/types/api-model/models/featured-buying-option.d.ts +0 -29
  132. package/dist/types/api-model/models/featured-offer-expected-price-request-params.d.ts +0 -26
  133. package/dist/types/api-model/models/featured-offer-expected-price-request.d.ts +0 -18
  134. package/dist/types/api-model/models/featured-offer-expected-price-response-all-of.d.ts +0 -17
  135. package/dist/types/api-model/models/featured-offer-expected-price-response-body.d.ts +0 -27
  136. package/dist/types/api-model/models/featured-offer-expected-price-response.d.ts +0 -18
  137. package/dist/types/api-model/models/featured-offer-expected-price-result.d.ts +0 -25
  138. package/dist/types/api-model/models/featured-offer-expected-price.d.ts +0 -20
  139. package/dist/types/api-model/models/featured-offer-segment.d.ts +0 -28
  140. package/dist/types/api-model/models/featured-offer.d.ts +0 -22
  141. package/dist/types/api-model/models/fulfillment-type.d.ts +0 -19
  142. package/dist/types/api-model/models/get-featured-offer-expected-price-batch-request.d.ts +0 -21
  143. package/dist/types/api-model/models/get-featured-offer-expected-price-batch-response.d.ts +0 -21
  144. package/dist/types/api-model/models/http-method.d.ts +0 -22
  145. package/dist/types/api-model/models/http-status-line.d.ts +0 -24
  146. package/dist/types/api-model/models/index.d.ts +0 -44
  147. package/dist/types/api-model/models/item.d.ts +0 -20
  148. package/dist/types/api-model/models/lowest-priced-offer.d.ts +0 -23
  149. package/dist/types/api-model/models/lowest-priced-offers-input.d.ts +0 -26
  150. package/dist/types/api-model/models/model-error.d.ts +0 -28
  151. package/dist/types/api-model/models/money-type.d.ts +0 -24
  152. package/dist/types/api-model/models/offer-identifier.d.ts +0 -34
  153. package/dist/types/api-model/models/offer.d.ts +0 -55
  154. package/dist/types/api-model/models/points.d.ts +0 -22
  155. package/dist/types/api-model/models/postal-code.d.ts +0 -24
  156. package/dist/types/api-model/models/price.d.ts +0 -21
  157. package/dist/types/api-model/models/prime-details.d.ts +0 -26
  158. package/dist/types/api-model/models/reference-price.d.ts +0 -22
  159. package/dist/types/api-model/models/sample-location.d.ts +0 -18
  160. package/dist/types/api-model/models/segment-details.d.ts +0 -22
  161. package/dist/types/api-model/models/segment.d.ts +0 -18
  162. package/dist/types/api-model/models/segmented-featured-offer-all-of.d.ts +0 -21
  163. package/dist/types/api-model/models/segmented-featured-offer.d.ts +0 -18
  164. package/dist/types/api-model/models/shipping-option.d.ts +0 -26
  165. package/dist/types/api-model/models/similar-items.d.ts +0 -21
  166. package/dist/types/client.d.ts +0 -6
  167. package/dist/types/index.d.ts +0 -3
@@ -0,0 +1,964 @@
1
+ import { ClientConfiguration, RateLimit } from "@sp-api-sdk/common";
2
+ import { AxiosInstance, AxiosPromise, RawAxiosRequestConfig } from "axios";
3
+ //#region src/api-model/configuration.d.ts
4
+ /**
5
+ * Selling Partner API for Pricing
6
+ * The Selling Partner API for Pricing helps you programmatically retrieve product pricing and offer pricing information for Amazon Marketplace products. For more information, refer to the [Product Pricing v2022-05-01 Use Case Guide](https://developer-docs.amazon.com/sp-api/docs/product-pricing-api-v2022-05-01-use-case-guide).
7
+ *
8
+ * The version of the OpenAPI document: 2022-05-01
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ interface AWSv4Configuration {
16
+ options?: {
17
+ region?: string;
18
+ service?: string;
19
+ };
20
+ credentials?: {
21
+ accessKeyId?: string;
22
+ secretAccessKey?: string;
23
+ sessionToken?: string;
24
+ };
25
+ }
26
+ interface ConfigurationParameters {
27
+ apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
28
+ username?: string;
29
+ password?: string;
30
+ accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
31
+ awsv4?: AWSv4Configuration;
32
+ basePath?: string;
33
+ serverIndex?: number;
34
+ baseOptions?: any;
35
+ formDataCtor?: new () => any;
36
+ }
37
+ declare class Configuration {
38
+ /**
39
+ * parameter for apiKey security
40
+ * @param name security name
41
+ */
42
+ apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
43
+ /**
44
+ * parameter for basic security
45
+ */
46
+ username?: string;
47
+ /**
48
+ * parameter for basic security
49
+ */
50
+ password?: string;
51
+ /**
52
+ * parameter for oauth2 security
53
+ * @param name security name
54
+ * @param scopes oauth2 scope
55
+ */
56
+ accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
57
+ /**
58
+ * parameter for aws4 signature security
59
+ * @param {Object} AWS4Signature - AWS4 Signature security
60
+ * @param {string} options.region - aws region
61
+ * @param {string} options.service - name of the service.
62
+ * @param {string} credentials.accessKeyId - aws access key id
63
+ * @param {string} credentials.secretAccessKey - aws access key
64
+ * @param {string} credentials.sessionToken - aws session token
65
+ * @memberof Configuration
66
+ */
67
+ awsv4?: AWSv4Configuration;
68
+ /**
69
+ * override base path
70
+ */
71
+ basePath?: string;
72
+ /**
73
+ * override server index
74
+ */
75
+ serverIndex?: number;
76
+ /**
77
+ * base options for axios calls
78
+ */
79
+ baseOptions?: any;
80
+ /**
81
+ * The FormData constructor that will be used to create multipart form data
82
+ * requests. You can inject this here so that execution environments that
83
+ * do not support the FormData class can still run the generated client.
84
+ *
85
+ * @type {new () => FormData}
86
+ */
87
+ formDataCtor?: new () => any;
88
+ constructor(param?: ConfigurationParameters);
89
+ /**
90
+ * Check if the given MIME is a JSON MIME.
91
+ * JSON MIME examples:
92
+ * application/json
93
+ * application/json; charset=UTF8
94
+ * APPLICATION/JSON
95
+ * application/vnd.company+json
96
+ * @param mime - MIME (Multipurpose Internet Mail Extensions)
97
+ * @return True if the given MIME is JSON, false otherwise.
98
+ */
99
+ isJsonMime(mime: string): boolean;
100
+ }
101
+ //#endregion
102
+ //#region src/api-model/base.d.ts
103
+ interface RequestArgs {
104
+ url: string;
105
+ options: RawAxiosRequestConfig;
106
+ }
107
+ declare class BaseAPI {
108
+ protected basePath: string;
109
+ protected axios: AxiosInstance;
110
+ protected configuration: Configuration | undefined;
111
+ constructor(configuration?: Configuration, basePath?: string, axios?: AxiosInstance);
112
+ }
113
+ //#endregion
114
+ //#region src/api-model/models/http-method.d.ts
115
+ /**
116
+ * Selling Partner API for Pricing
117
+ * The Selling Partner API for Pricing helps you programmatically retrieve product pricing and offer pricing information for Amazon Marketplace products. For more information, refer to the [Product Pricing v2022-05-01 Use Case Guide](https://developer-docs.amazon.com/sp-api/docs/product-pricing-api-v2022-05-01-use-case-guide).
118
+ *
119
+ * The version of the OpenAPI document: 2022-05-01
120
+ *
121
+ *
122
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
123
+ * https://openapi-generator.tech
124
+ * Do not edit the class manually.
125
+ */
126
+ /**
127
+ * The HTTP method associated with an individual request within a batch.
128
+ */
129
+ declare const HttpMethod: {
130
+ readonly Get: "GET";
131
+ readonly Put: "PUT";
132
+ readonly Patch: "PATCH";
133
+ readonly Delete: "DELETE";
134
+ readonly Post: "POST";
135
+ };
136
+ type HttpMethod = typeof HttpMethod[keyof typeof HttpMethod];
137
+ //#endregion
138
+ //#region src/api-model/models/batch-request.d.ts
139
+ /**
140
+ * The common properties for individual requests within a batch.
141
+ */
142
+ interface BatchRequest {
143
+ /**
144
+ * The URI associated with an individual request within a batch. For `FeaturedOfferExpectedPrice`, this is `/products/pricing/2022-05-01/offer/featuredOfferExpectedPrice`.
145
+ */
146
+ 'uri': string;
147
+ 'method': HttpMethod;
148
+ /**
149
+ * Additional HTTP body information that is associated with an individual request within a batch.
150
+ */
151
+ 'body'?: {
152
+ [key: string]: object;
153
+ };
154
+ /**
155
+ * A mapping of additional HTTP headers to send or receive for an individual request within a batch.
156
+ */
157
+ 'headers'?: {
158
+ [key: string]: string;
159
+ };
160
+ }
161
+ //#endregion
162
+ //#region src/api-model/models/http-status-line.d.ts
163
+ /**
164
+ * Selling Partner API for Pricing
165
+ * The Selling Partner API for Pricing helps you programmatically retrieve product pricing and offer pricing information for Amazon Marketplace products. For more information, refer to the [Product Pricing v2022-05-01 Use Case Guide](https://developer-docs.amazon.com/sp-api/docs/product-pricing-api-v2022-05-01-use-case-guide).
166
+ *
167
+ * The version of the OpenAPI document: 2022-05-01
168
+ *
169
+ *
170
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
171
+ * https://openapi-generator.tech
172
+ * Do not edit the class manually.
173
+ */
174
+ /**
175
+ * The HTTP status line associated with the response for an individual request within a batch. For more information, refer to [RFC 2616](https://www.w3.org/Protocols/rfc2616/rfc2616-sec6.html).
176
+ */
177
+ interface HttpStatusLine {
178
+ /**
179
+ * The HTTP response status code.
180
+ */
181
+ 'statusCode'?: number;
182
+ /**
183
+ * The HTTP response reason phrase.
184
+ */
185
+ 'reasonPhrase'?: string;
186
+ }
187
+ //#endregion
188
+ //#region src/api-model/models/batch-response.d.ts
189
+ /**
190
+ * The common properties for responses to individual requests within a batch.
191
+ */
192
+ interface BatchResponse {
193
+ /**
194
+ * A mapping of additional HTTP headers to send or receive for an individual request within a batch.
195
+ */
196
+ 'headers': {
197
+ [key: string]: string;
198
+ };
199
+ 'status': HttpStatusLine;
200
+ }
201
+ //#endregion
202
+ //#region src/api-model/models/competitive-summary-included-data.d.ts
203
+ /**
204
+ * Selling Partner API for Pricing
205
+ * The Selling Partner API for Pricing helps you programmatically retrieve product pricing and offer pricing information for Amazon Marketplace products. For more information, refer to the [Product Pricing v2022-05-01 Use Case Guide](https://developer-docs.amazon.com/sp-api/docs/product-pricing-api-v2022-05-01-use-case-guide).
206
+ *
207
+ * The version of the OpenAPI document: 2022-05-01
208
+ *
209
+ *
210
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
211
+ * https://openapi-generator.tech
212
+ * Do not edit the class manually.
213
+ */
214
+ /**
215
+ * The supported data types in the `getCompetitiveSummary` API.
216
+ */
217
+ declare const CompetitiveSummaryIncludedData: {
218
+ readonly FeaturedBuyingOptions: "featuredBuyingOptions";
219
+ readonly ReferencePrices: "referencePrices";
220
+ readonly LowestPricedOffers: "lowestPricedOffers";
221
+ readonly SimilarItems: "similarItems";
222
+ };
223
+ type CompetitiveSummaryIncludedData = typeof CompetitiveSummaryIncludedData[keyof typeof CompetitiveSummaryIncludedData];
224
+ //#endregion
225
+ //#region src/api-model/models/condition.d.ts
226
+ /**
227
+ * Selling Partner API for Pricing
228
+ * The Selling Partner API for Pricing helps you programmatically retrieve product pricing and offer pricing information for Amazon Marketplace products. For more information, refer to the [Product Pricing v2022-05-01 Use Case Guide](https://developer-docs.amazon.com/sp-api/docs/product-pricing-api-v2022-05-01-use-case-guide).
229
+ *
230
+ * The version of the OpenAPI document: 2022-05-01
231
+ *
232
+ *
233
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
234
+ * https://openapi-generator.tech
235
+ * Do not edit the class manually.
236
+ */
237
+ /**
238
+ * The condition of the item.
239
+ */
240
+ declare const Condition: {
241
+ readonly New: "New";
242
+ readonly Used: "Used";
243
+ readonly Collectible: "Collectible";
244
+ readonly Refurbished: "Refurbished";
245
+ readonly Club: "Club";
246
+ };
247
+ type Condition = typeof Condition[keyof typeof Condition];
248
+ //#endregion
249
+ //#region src/api-model/models/lowest-priced-offers-input.d.ts
250
+ /**
251
+ * The input required for building `LowestPricedOffers` data in the response.
252
+ */
253
+ interface LowestPricedOffersInput {
254
+ 'itemCondition': Condition;
255
+ /**
256
+ * The input parameter specifies the type of offers requested for `LowestPricedOffers`. This applies to `Consumer` and `Business` offers. `Consumer` is the default `offerType`.
257
+ */
258
+ 'offerType': LowestPricedOffersInputOfferTypeEnum;
259
+ }
260
+ declare const LowestPricedOffersInputOfferTypeEnum: {
261
+ readonly Consumer: "Consumer";
262
+ };
263
+ type LowestPricedOffersInputOfferTypeEnum = typeof LowestPricedOffersInputOfferTypeEnum[keyof typeof LowestPricedOffersInputOfferTypeEnum];
264
+ //#endregion
265
+ //#region src/api-model/models/competitive-summary-request.d.ts
266
+ /**
267
+ * An individual `competitiveSummary` request for an ASIN and `marketplaceId`.
268
+ */
269
+ interface CompetitiveSummaryRequest {
270
+ /**
271
+ * The ASIN of the item.
272
+ */
273
+ 'asin': string;
274
+ /**
275
+ * The marketplace ID is the globally unique identifier of a marketplace. To find the ID for your marketplace, refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids).
276
+ */
277
+ 'marketplaceId': string;
278
+ /**
279
+ * The list of requested competitive pricing data for the product.
280
+ */
281
+ 'includedData': Array<CompetitiveSummaryIncludedData>;
282
+ /**
283
+ * The list of `lowestPricedOffersInput` parameters that are used to build `lowestPricedOffers` in the response. This attribute is only valid if `lowestPricedOffers` is requested in `includedData`
284
+ */
285
+ 'lowestPricedOffersInputs'?: Array<LowestPricedOffersInput>;
286
+ 'method': HttpMethod;
287
+ /**
288
+ * The URI associated with the individual APIs that are called as part of the batch request.
289
+ */
290
+ 'uri': string;
291
+ }
292
+ //#endregion
293
+ //#region src/api-model/models/competitive-summary-batch-request.d.ts
294
+ /**
295
+ * The `competitiveSummary` batch request data.
296
+ */
297
+ interface CompetitiveSummaryBatchRequest {
298
+ /**
299
+ * A batched list of `competitiveSummary` requests.
300
+ */
301
+ 'requests': Array<CompetitiveSummaryRequest>;
302
+ }
303
+ //#endregion
304
+ //#region src/api-model/models/fulfillment-type.d.ts
305
+ /**
306
+ * Selling Partner API for Pricing
307
+ * The Selling Partner API for Pricing helps you programmatically retrieve product pricing and offer pricing information for Amazon Marketplace products. For more information, refer to the [Product Pricing v2022-05-01 Use Case Guide](https://developer-docs.amazon.com/sp-api/docs/product-pricing-api-v2022-05-01-use-case-guide).
308
+ *
309
+ * The version of the OpenAPI document: 2022-05-01
310
+ *
311
+ *
312
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
313
+ * https://openapi-generator.tech
314
+ * Do not edit the class manually.
315
+ */
316
+ /**
317
+ * Indicates whether the item is fulfilled by Amazon or by the seller (merchant).
318
+ */
319
+ declare const FulfillmentType: {
320
+ readonly Afn: "AFN";
321
+ readonly Mfn: "MFN";
322
+ };
323
+ type FulfillmentType = typeof FulfillmentType[keyof typeof FulfillmentType];
324
+ //#endregion
325
+ //#region src/api-model/models/money-type.d.ts
326
+ /**
327
+ * Selling Partner API for Pricing
328
+ * The Selling Partner API for Pricing helps you programmatically retrieve product pricing and offer pricing information for Amazon Marketplace products. For more information, refer to the [Product Pricing v2022-05-01 Use Case Guide](https://developer-docs.amazon.com/sp-api/docs/product-pricing-api-v2022-05-01-use-case-guide).
329
+ *
330
+ * The version of the OpenAPI document: 2022-05-01
331
+ *
332
+ *
333
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
334
+ * https://openapi-generator.tech
335
+ * Do not edit the class manually.
336
+ */
337
+ /**
338
+ * Currency type and monetary value schema to demonstrate pricing information.
339
+ */
340
+ interface MoneyType {
341
+ /**
342
+ * The currency code in ISO 4217 format.
343
+ */
344
+ 'currencyCode'?: string;
345
+ /**
346
+ * The monetary value.
347
+ */
348
+ 'amount'?: number;
349
+ }
350
+ //#endregion
351
+ //#region src/api-model/models/points.d.ts
352
+ /**
353
+ * The number of Amazon Points that are offered with the purchase of an item and the monetary value of these points.
354
+ */
355
+ interface Points {
356
+ /**
357
+ * The number of Amazon Points.
358
+ */
359
+ 'pointsNumber'?: number;
360
+ 'pointsMonetaryValue'?: MoneyType;
361
+ }
362
+ //#endregion
363
+ //#region src/api-model/models/prime-details.d.ts
364
+ /**
365
+ * Selling Partner API for Pricing
366
+ * The Selling Partner API for Pricing helps you programmatically retrieve product pricing and offer pricing information for Amazon Marketplace products. For more information, refer to the [Product Pricing v2022-05-01 Use Case Guide](https://developer-docs.amazon.com/sp-api/docs/product-pricing-api-v2022-05-01-use-case-guide).
367
+ *
368
+ * The version of the OpenAPI document: 2022-05-01
369
+ *
370
+ *
371
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
372
+ * https://openapi-generator.tech
373
+ * Do not edit the class manually.
374
+ */
375
+ /**
376
+ * Amazon Prime details.
377
+ */
378
+ interface PrimeDetails {
379
+ /**
380
+ * Indicates whether the offer is an Amazon Prime offer.
381
+ */
382
+ 'eligibility': PrimeDetailsEligibilityEnum;
383
+ }
384
+ declare const PrimeDetailsEligibilityEnum: {
385
+ readonly National: "NATIONAL";
386
+ readonly Regional: "REGIONAL";
387
+ readonly None: "NONE";
388
+ };
389
+ type PrimeDetailsEligibilityEnum = typeof PrimeDetailsEligibilityEnum[keyof typeof PrimeDetailsEligibilityEnum];
390
+ //#endregion
391
+ //#region src/api-model/models/shipping-option.d.ts
392
+ /**
393
+ * The shipping option available for the offer.
394
+ */
395
+ interface ShippingOption {
396
+ /**
397
+ * The type of shipping option.
398
+ */
399
+ 'shippingOptionType': ShippingOptionShippingOptionTypeEnum;
400
+ 'price': MoneyType;
401
+ }
402
+ declare const ShippingOptionShippingOptionTypeEnum: {
403
+ readonly Default: "DEFAULT";
404
+ };
405
+ type ShippingOptionShippingOptionTypeEnum = typeof ShippingOptionShippingOptionTypeEnum[keyof typeof ShippingOptionShippingOptionTypeEnum];
406
+ //#endregion
407
+ //#region src/api-model/models/offer.d.ts
408
+ /**
409
+ * The offer data of a product.
410
+ */
411
+ interface Offer {
412
+ /**
413
+ * The seller identifier for the offer.
414
+ */
415
+ 'sellerId': string;
416
+ 'condition': Condition;
417
+ /**
418
+ * The item subcondition of the offer.
419
+ */
420
+ 'subCondition'?: OfferSubConditionEnum;
421
+ 'fulfillmentType': FulfillmentType;
422
+ 'listingPrice': MoneyType;
423
+ /**
424
+ * A list of shipping options associated with this offer
425
+ */
426
+ 'shippingOptions'?: Array<ShippingOption>;
427
+ 'points'?: Points;
428
+ 'primeDetails'?: PrimeDetails;
429
+ }
430
+ declare const OfferSubConditionEnum: {
431
+ readonly New: "New";
432
+ readonly Mint: "Mint";
433
+ readonly VeryGood: "VeryGood";
434
+ readonly Good: "Good";
435
+ readonly Acceptable: "Acceptable";
436
+ readonly Poor: "Poor";
437
+ readonly Club: "Club";
438
+ readonly Oem: "OEM";
439
+ readonly Warranty: "Warranty";
440
+ readonly RefurbishedWarranty: "RefurbishedWarranty";
441
+ readonly Refurbished: "Refurbished";
442
+ readonly OpenBox: "OpenBox";
443
+ readonly Other: "Other";
444
+ };
445
+ type OfferSubConditionEnum = typeof OfferSubConditionEnum[keyof typeof OfferSubConditionEnum];
446
+ //#endregion
447
+ //#region src/api-model/models/postal-code.d.ts
448
+ /**
449
+ * Selling Partner API for Pricing
450
+ * The Selling Partner API for Pricing helps you programmatically retrieve product pricing and offer pricing information for Amazon Marketplace products. For more information, refer to the [Product Pricing v2022-05-01 Use Case Guide](https://developer-docs.amazon.com/sp-api/docs/product-pricing-api-v2022-05-01-use-case-guide).
451
+ *
452
+ * The version of the OpenAPI document: 2022-05-01
453
+ *
454
+ *
455
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
456
+ * https://openapi-generator.tech
457
+ * Do not edit the class manually.
458
+ */
459
+ /**
460
+ * Postal code value with country code
461
+ */
462
+ interface PostalCode {
463
+ /**
464
+ * Country code value
465
+ */
466
+ 'countryCode'?: string;
467
+ /**
468
+ * Postal code value
469
+ */
470
+ 'value'?: string;
471
+ }
472
+ //#endregion
473
+ //#region src/api-model/models/sample-location.d.ts
474
+ /**
475
+ * Information about a location. It uses a postal code to identify the location.
476
+ */
477
+ interface SampleLocation {
478
+ 'postalCode'?: PostalCode;
479
+ }
480
+ //#endregion
481
+ //#region src/api-model/models/segment-details.d.ts
482
+ /**
483
+ * The details about the segment. The FeaturedOfferExpectedPrice API uses only the sampleLocation portion as input.
484
+ */
485
+ interface SegmentDetails {
486
+ /**
487
+ * The glance view weighted percentage for this segment, which is the glance views for this segment as a percentage of total glance views across all segments for the ASIN. A higher percentage indicates that more Amazon customers receive this offer as the Featured Offer.
488
+ */
489
+ 'glanceViewWeightPercentage'?: number;
490
+ 'sampleLocation'?: SampleLocation;
491
+ }
492
+ //#endregion
493
+ //#region src/api-model/models/featured-offer-segment.d.ts
494
+ /**
495
+ * Describes the segment in which the offer is featured.
496
+ */
497
+ interface FeaturedOfferSegment {
498
+ /**
499
+ * The customer membership type that makes up this segment
500
+ */
501
+ 'customerMembership': FeaturedOfferSegmentCustomerMembershipEnum;
502
+ 'segmentDetails': SegmentDetails;
503
+ }
504
+ declare const FeaturedOfferSegmentCustomerMembershipEnum: {
505
+ readonly Prime: "PRIME";
506
+ readonly NonPrime: "NON_PRIME";
507
+ readonly Default: "DEFAULT";
508
+ };
509
+ type FeaturedOfferSegmentCustomerMembershipEnum = typeof FeaturedOfferSegmentCustomerMembershipEnum[keyof typeof FeaturedOfferSegmentCustomerMembershipEnum];
510
+ //#endregion
511
+ //#region src/api-model/models/segmented-featured-offer-all-of.d.ts
512
+ /**
513
+ * The list of segment information in which the offer is featured.
514
+ */
515
+ interface SegmentedFeaturedOfferAllOf {
516
+ /**
517
+ * The list of segment information in which the offer is featured.
518
+ */
519
+ 'featuredOfferSegments': Array<FeaturedOfferSegment>;
520
+ }
521
+ //#endregion
522
+ //#region src/api-model/models/segmented-featured-offer.d.ts
523
+ /**
524
+ * @type SegmentedFeaturedOffer
525
+ * A product offer with segment information indicating where it\'s featured.
526
+ */
527
+ type SegmentedFeaturedOffer = Offer & SegmentedFeaturedOfferAllOf;
528
+ //#endregion
529
+ //#region src/api-model/models/featured-buying-option.d.ts
530
+ /**
531
+ * Describes a featured buying option, which includes a list of segmented featured offers for a particular item condition.
532
+ */
533
+ interface FeaturedBuyingOption {
534
+ /**
535
+ * The buying option type for the featured offer. `buyingOptionType` represents the buying options that a customer receives on the detail page, such as `B2B`, `Fresh`, and `Subscribe n Save`. `buyingOptionType` currently supports `NEW` as a value.
536
+ */
537
+ 'buyingOptionType': FeaturedBuyingOptionBuyingOptionTypeEnum;
538
+ /**
539
+ * A list of segmented featured offers for the current buying option type. A segment can be considered as a group of regional contexts that all have the same featured offer. A regional context is a combination of factors such as customer type, region, or postal code and buying option.
540
+ */
541
+ 'segmentedFeaturedOffers': Array<SegmentedFeaturedOffer>;
542
+ }
543
+ declare const FeaturedBuyingOptionBuyingOptionTypeEnum: {
544
+ readonly New: "New";
545
+ };
546
+ type FeaturedBuyingOptionBuyingOptionTypeEnum = typeof FeaturedBuyingOptionBuyingOptionTypeEnum[keyof typeof FeaturedBuyingOptionBuyingOptionTypeEnum];
547
+ //#endregion
548
+ //#region src/api-model/models/lowest-priced-offer.d.ts
549
+ /**
550
+ * Describes the lowest priced offers for the specified item condition and offer type.
551
+ */
552
+ interface LowestPricedOffer {
553
+ 'lowestPricedOffersInput': LowestPricedOffersInput;
554
+ /**
555
+ * A list of up to 20 lowest priced offers that match the criteria specified in `lowestPricedOffersInput`.
556
+ */
557
+ 'offers': Array<Offer>;
558
+ }
559
+ //#endregion
560
+ //#region src/api-model/models/reference-price.d.ts
561
+ /**
562
+ * The reference price for the specified ASIN `marketplaceId` combination.
563
+ */
564
+ interface ReferencePrice {
565
+ /**
566
+ * Reference price type (e.g., `CompetitivePriceThreshold`, `WasPrice`, `CompetitivePrice`). For definitions, see the [Product Pricing API Use Case Guide](https://developer-docs.amazon.com/sp-api/docs/product-pricing-api-v2022-05-01-use-case-guide).
567
+ */
568
+ 'name': string;
569
+ 'price': MoneyType;
570
+ }
571
+ //#endregion
572
+ //#region src/api-model/models/item.d.ts
573
+ /**
574
+ * Selling Partner API for Pricing
575
+ * The Selling Partner API for Pricing helps you programmatically retrieve product pricing and offer pricing information for Amazon Marketplace products. For more information, refer to the [Product Pricing v2022-05-01 Use Case Guide](https://developer-docs.amazon.com/sp-api/docs/product-pricing-api-v2022-05-01-use-case-guide).
576
+ *
577
+ * The version of the OpenAPI document: 2022-05-01
578
+ *
579
+ *
580
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
581
+ * https://openapi-generator.tech
582
+ * Do not edit the class manually.
583
+ */
584
+ /**
585
+ * A similar item for the specified ASIN `marketplaceId` combination.
586
+ */
587
+ interface Item {
588
+ /**
589
+ * The ASIN of the item.
590
+ */
591
+ 'asin': string;
592
+ }
593
+ //#endregion
594
+ //#region src/api-model/models/similar-items.d.ts
595
+ /**
596
+ * The summary of similar items for the specified ASIN `marketplaceId` combination.
597
+ */
598
+ interface SimilarItems {
599
+ /**
600
+ * A list of similar items for the specified ASIN `marketplaceId` combination.
601
+ */
602
+ 'items'?: Array<Item>;
603
+ }
604
+ //#endregion
605
+ //#region src/api-model/models/competitive-summary-response-body.d.ts
606
+ /**
607
+ * The `competitiveSummaryResponse` body for a requested ASIN and `marketplaceId`.
608
+ */
609
+ interface CompetitiveSummaryResponseBody {
610
+ /**
611
+ * The ASIN of the item.
612
+ */
613
+ 'asin': string;
614
+ /**
615
+ * The marketplace ID is the globally unique identifier of a marketplace. To find the ID for your marketplace, refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids).
616
+ */
617
+ 'marketplaceId': string;
618
+ /**
619
+ * A list of featured buying options for the specified ASIN `marketplaceId` combination.
620
+ */
621
+ 'featuredBuyingOptions'?: Array<FeaturedBuyingOption>;
622
+ /**
623
+ * A list of lowest priced offers for the specified ASIN `marketplaceId` combination.
624
+ */
625
+ 'lowestPricedOffers'?: Array<LowestPricedOffer>;
626
+ /**
627
+ * A list of reference prices for the specified ASIN `marketplaceId` combination.
628
+ */
629
+ 'referencePrices'?: Array<ReferencePrice>;
630
+ /**
631
+ * A list of similar items for the specified ASIN `marketplaceId` combination.
632
+ */
633
+ 'similarItems'?: Array<SimilarItems>;
634
+ /**
635
+ * A list of error responses that are returned when a request is unsuccessful.
636
+ */
637
+ 'errors'?: Array<Error>;
638
+ }
639
+ //#endregion
640
+ //#region src/api-model/models/competitive-summary-response.d.ts
641
+ /**
642
+ * The response for the individual `competitiveSummary` request in the batch operation.
643
+ */
644
+ interface CompetitiveSummaryResponse {
645
+ 'status': HttpStatusLine;
646
+ 'body': CompetitiveSummaryResponseBody;
647
+ }
648
+ //#endregion
649
+ //#region src/api-model/models/competitive-summary-batch-response.d.ts
650
+ /**
651
+ * The response schema for the `competitiveSummaryBatch` operation.
652
+ */
653
+ interface CompetitiveSummaryBatchResponse {
654
+ /**
655
+ * The response list for the `competitiveSummaryBatch` operation.
656
+ */
657
+ 'responses': Array<CompetitiveSummaryResponse>;
658
+ }
659
+ //#endregion
660
+ //#region src/api-model/models/errors.d.ts
661
+ /**
662
+ * Selling Partner API for Pricing
663
+ * The Selling Partner API for Pricing helps you programmatically retrieve product pricing and offer pricing information for Amazon Marketplace products. For more information, refer to the [Product Pricing v2022-05-01 Use Case Guide](https://developer-docs.amazon.com/sp-api/docs/product-pricing-api-v2022-05-01-use-case-guide).
664
+ *
665
+ * The version of the OpenAPI document: 2022-05-01
666
+ *
667
+ *
668
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
669
+ * https://openapi-generator.tech
670
+ * Do not edit the class manually.
671
+ */
672
+ /**
673
+ * A list of error responses returned when a request is unsuccessful.
674
+ */
675
+ interface Errors {
676
+ /**
677
+ * A list of error responses that are returned when a request is unsuccessful.
678
+ */
679
+ 'errors': Array<Error>;
680
+ }
681
+ //#endregion
682
+ //#region src/api-model/models/offer-identifier.d.ts
683
+ /**
684
+ * Identifies an offer from a particular seller for a specified ASIN.
685
+ */
686
+ interface OfferIdentifier {
687
+ /**
688
+ * The marketplace ID is the globally unique identifier of a marketplace. To find the ID for your marketplace, refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids).
689
+ */
690
+ 'marketplaceId': string;
691
+ /**
692
+ * The seller identifier for the offer.
693
+ */
694
+ 'sellerId'?: string;
695
+ /**
696
+ * The seller SKU of the item. This will only be present for the target offer, which belongs to the requesting seller.
697
+ */
698
+ 'sku'?: string;
699
+ /**
700
+ * The ASIN of the item.
701
+ */
702
+ 'asin': string;
703
+ 'fulfillmentType'?: FulfillmentType;
704
+ }
705
+ //#endregion
706
+ //#region src/api-model/models/price.d.ts
707
+ /**
708
+ * The schema for item\'s price information, including listing price, shipping price, and Amazon Points.
709
+ */
710
+ interface Price {
711
+ 'listingPrice': MoneyType;
712
+ 'shippingPrice'?: MoneyType;
713
+ 'points'?: Points;
714
+ }
715
+ //#endregion
716
+ //#region src/api-model/models/featured-offer.d.ts
717
+ /**
718
+ * Schema for `currentFeaturedOffer` or `competingFeaturedOffer`.
719
+ */
720
+ interface FeaturedOffer {
721
+ 'offerIdentifier': OfferIdentifier;
722
+ 'condition'?: Condition;
723
+ 'price'?: Price;
724
+ }
725
+ //#endregion
726
+ //#region src/api-model/models/featured-offer-expected-price.d.ts
727
+ /**
728
+ * The item price at or below which the target offer may be featured.
729
+ */
730
+ interface FeaturedOfferExpectedPrice {
731
+ 'listingPrice': MoneyType;
732
+ 'points'?: Points;
733
+ }
734
+ //#endregion
735
+ //#region src/api-model/models/segment.d.ts
736
+ /**
737
+ * Input segment for featured offer expected price. The segment contains the location information for which featured offer expected price is requested.
738
+ */
739
+ interface Segment {
740
+ 'segmentDetails'?: SegmentDetails;
741
+ }
742
+ //#endregion
743
+ //#region src/api-model/models/featured-offer-expected-price-request-params.d.ts
744
+ /**
745
+ * The parameters for an individual request.
746
+ */
747
+ interface FeaturedOfferExpectedPriceRequestParams {
748
+ /**
749
+ * The marketplace ID is the globally unique identifier of a marketplace. To find the ID for your marketplace, refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids).
750
+ */
751
+ 'marketplaceId': string;
752
+ /**
753
+ * The seller SKU of the item.
754
+ */
755
+ 'sku': string;
756
+ 'segment'?: Segment;
757
+ }
758
+ //#endregion
759
+ //#region src/api-model/models/featured-offer-expected-price-request.d.ts
760
+ /**
761
+ * @type FeaturedOfferExpectedPriceRequest
762
+ * An individual FOEP request for a particular SKU.
763
+ */
764
+ type FeaturedOfferExpectedPriceRequest = BatchRequest & FeaturedOfferExpectedPriceRequestParams;
765
+ //#endregion
766
+ //#region src/api-model/models/featured-offer-expected-price-result.d.ts
767
+ /**
768
+ * The FOEP result data for the requested offer.
769
+ */
770
+ interface FeaturedOfferExpectedPriceResult {
771
+ 'featuredOfferExpectedPrice'?: FeaturedOfferExpectedPrice;
772
+ /**
773
+ * The status of the FOEP computation. Possible values include `VALID_FOEP`, `NO_COMPETING_OFFER`, `OFFER_NOT_ELIGIBLE`, `OFFER_NOT_FOUND`, and `ASIN_NOT_ELIGIBLE`. Additional values might be added in the future.
774
+ */
775
+ 'resultStatus': string;
776
+ 'competingFeaturedOffer'?: FeaturedOffer;
777
+ 'currentFeaturedOffer'?: FeaturedOffer;
778
+ }
779
+ //#endregion
780
+ //#region src/api-model/models/featured-offer-expected-price-response-body.d.ts
781
+ /**
782
+ * The FOEP response data for a requested SKU.
783
+ */
784
+ interface FeaturedOfferExpectedPriceResponseBody {
785
+ 'offerIdentifier'?: OfferIdentifier;
786
+ /**
787
+ * A list of FOEP results for the requested offer.
788
+ */
789
+ 'featuredOfferExpectedPriceResults'?: Array<FeaturedOfferExpectedPriceResult>;
790
+ /**
791
+ * A list of error responses that are returned when a request is unsuccessful.
792
+ */
793
+ 'errors'?: Array<Error>;
794
+ }
795
+ //#endregion
796
+ //#region src/api-model/models/featured-offer-expected-price-response-all-of.d.ts
797
+ interface FeaturedOfferExpectedPriceResponseAllOf {
798
+ 'request': FeaturedOfferExpectedPriceRequestParams;
799
+ 'body'?: FeaturedOfferExpectedPriceResponseBody;
800
+ }
801
+ //#endregion
802
+ //#region src/api-model/models/featured-offer-expected-price-response.d.ts
803
+ /**
804
+ * @type FeaturedOfferExpectedPriceResponse
805
+ * Schema for an individual FOEP response.
806
+ */
807
+ type FeaturedOfferExpectedPriceResponse = BatchResponse & FeaturedOfferExpectedPriceResponseAllOf;
808
+ //#endregion
809
+ //#region src/api-model/models/get-featured-offer-expected-price-batch-request.d.ts
810
+ /**
811
+ * The request body for the `getFeaturedOfferExpectedPriceBatch` operation.
812
+ */
813
+ interface GetFeaturedOfferExpectedPriceBatchRequest {
814
+ /**
815
+ * A batched list of FOEP requests.
816
+ */
817
+ 'requests'?: Array<FeaturedOfferExpectedPriceRequest>;
818
+ }
819
+ //#endregion
820
+ //#region src/api-model/models/get-featured-offer-expected-price-batch-response.d.ts
821
+ /**
822
+ * The response schema for the `getFeaturedOfferExpectedPriceBatch` operation.
823
+ */
824
+ interface GetFeaturedOfferExpectedPriceBatchResponse {
825
+ /**
826
+ * A batched list of FOEP responses.
827
+ */
828
+ 'responses'?: Array<FeaturedOfferExpectedPriceResponse>;
829
+ }
830
+ //#endregion
831
+ //#region src/api-model/models/model-error.d.ts
832
+ /**
833
+ * Selling Partner API for Pricing
834
+ * The Selling Partner API for Pricing helps you programmatically retrieve product pricing and offer pricing information for Amazon Marketplace products. For more information, refer to the [Product Pricing v2022-05-01 Use Case Guide](https://developer-docs.amazon.com/sp-api/docs/product-pricing-api-v2022-05-01-use-case-guide).
835
+ *
836
+ * The version of the OpenAPI document: 2022-05-01
837
+ *
838
+ *
839
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
840
+ * https://openapi-generator.tech
841
+ * Do not edit the class manually.
842
+ */
843
+ /**
844
+ * Error response returned when the request is unsuccessful.
845
+ */
846
+ interface ModelError {
847
+ /**
848
+ * An error code that identifies the type of error that occurred.
849
+ */
850
+ 'code': string;
851
+ /**
852
+ * A message that describes the error condition.
853
+ */
854
+ 'message': string;
855
+ /**
856
+ * Additional details that can help the caller understand or fix the issue.
857
+ */
858
+ 'details'?: string;
859
+ }
860
+ //#endregion
861
+ //#region src/api-model/api/product-pricing-api.d.ts
862
+ /**
863
+ * ProductPricingApi - axios parameter creator
864
+ */
865
+ declare const ProductPricingApiAxiosParamCreator: (configuration?: Configuration) => {
866
+ /**
867
+ * Returns the competitive summary response, including featured buying options for the ASIN and `marketplaceId` combination. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.033 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that are applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may receive higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api) in the Selling Partner API.
868
+ * @param {CompetitiveSummaryBatchRequest} requests The batch of &#x60;getCompetitiveSummary&#x60; requests.
869
+ * @param {*} [options] Override http request option.
870
+ * @throws {RequiredError}
871
+ */
872
+ getCompetitiveSummary: (requests: CompetitiveSummaryBatchRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
873
+ /**
874
+ * Returns the set of responses that correspond to the batched list of up to 40 requests defined in the request body. The response for each successful (HTTP status code 200) request in the set includes the computed listing price at or below which a seller can expect to become the featured offer (before applicable promotions). This is called the featured offer expected price (FOEP). Featured offer is not guaranteed because competing offers might change. Other offers might be featured based on factors such as fulfillment capabilities to a specific customer. The response to an unsuccessful request includes the available error text. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.033 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that are applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may receive higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api) in the Selling Partner API.
875
+ * @param {GetFeaturedOfferExpectedPriceBatchRequest} getFeaturedOfferExpectedPriceBatchRequestBody The batch of &#x60;getFeaturedOfferExpectedPrice&#x60; requests.
876
+ * @param {*} [options] Override http request option.
877
+ * @throws {RequiredError}
878
+ */
879
+ getFeaturedOfferExpectedPriceBatch: (getFeaturedOfferExpectedPriceBatchRequestBody: GetFeaturedOfferExpectedPriceBatchRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
880
+ };
881
+ /**
882
+ * ProductPricingApi - functional programming interface
883
+ */
884
+ declare const ProductPricingApiFp: (configuration?: Configuration) => {
885
+ /**
886
+ * Returns the competitive summary response, including featured buying options for the ASIN and `marketplaceId` combination. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.033 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that are applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may receive higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api) in the Selling Partner API.
887
+ * @param {CompetitiveSummaryBatchRequest} requests The batch of &#x60;getCompetitiveSummary&#x60; requests.
888
+ * @param {*} [options] Override http request option.
889
+ * @throws {RequiredError}
890
+ */
891
+ getCompetitiveSummary(requests: CompetitiveSummaryBatchRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CompetitiveSummaryBatchResponse>>;
892
+ /**
893
+ * Returns the set of responses that correspond to the batched list of up to 40 requests defined in the request body. The response for each successful (HTTP status code 200) request in the set includes the computed listing price at or below which a seller can expect to become the featured offer (before applicable promotions). This is called the featured offer expected price (FOEP). Featured offer is not guaranteed because competing offers might change. Other offers might be featured based on factors such as fulfillment capabilities to a specific customer. The response to an unsuccessful request includes the available error text. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.033 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that are applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may receive higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api) in the Selling Partner API.
894
+ * @param {GetFeaturedOfferExpectedPriceBatchRequest} getFeaturedOfferExpectedPriceBatchRequestBody The batch of &#x60;getFeaturedOfferExpectedPrice&#x60; requests.
895
+ * @param {*} [options] Override http request option.
896
+ * @throws {RequiredError}
897
+ */
898
+ getFeaturedOfferExpectedPriceBatch(getFeaturedOfferExpectedPriceBatchRequestBody: GetFeaturedOfferExpectedPriceBatchRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetFeaturedOfferExpectedPriceBatchResponse>>;
899
+ };
900
+ /**
901
+ * ProductPricingApi - factory interface
902
+ */
903
+ declare const ProductPricingApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
904
+ /**
905
+ * Returns the competitive summary response, including featured buying options for the ASIN and `marketplaceId` combination. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.033 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that are applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may receive higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api) in the Selling Partner API.
906
+ * @param {ProductPricingApiGetCompetitiveSummaryRequest} requestParameters Request parameters.
907
+ * @param {*} [options] Override http request option.
908
+ * @throws {RequiredError}
909
+ */
910
+ getCompetitiveSummary(requestParameters: ProductPricingApiGetCompetitiveSummaryRequest, options?: RawAxiosRequestConfig): AxiosPromise<CompetitiveSummaryBatchResponse>;
911
+ /**
912
+ * Returns the set of responses that correspond to the batched list of up to 40 requests defined in the request body. The response for each successful (HTTP status code 200) request in the set includes the computed listing price at or below which a seller can expect to become the featured offer (before applicable promotions). This is called the featured offer expected price (FOEP). Featured offer is not guaranteed because competing offers might change. Other offers might be featured based on factors such as fulfillment capabilities to a specific customer. The response to an unsuccessful request includes the available error text. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.033 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that are applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may receive higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api) in the Selling Partner API.
913
+ * @param {ProductPricingApiGetFeaturedOfferExpectedPriceBatchRequest} requestParameters Request parameters.
914
+ * @param {*} [options] Override http request option.
915
+ * @throws {RequiredError}
916
+ */
917
+ getFeaturedOfferExpectedPriceBatch(requestParameters: ProductPricingApiGetFeaturedOfferExpectedPriceBatchRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetFeaturedOfferExpectedPriceBatchResponse>;
918
+ };
919
+ /**
920
+ * Request parameters for getCompetitiveSummary operation in ProductPricingApi.
921
+ */
922
+ interface ProductPricingApiGetCompetitiveSummaryRequest {
923
+ /**
924
+ * The batch of &#x60;getCompetitiveSummary&#x60; requests.
925
+ */
926
+ readonly requests: CompetitiveSummaryBatchRequest;
927
+ }
928
+ /**
929
+ * Request parameters for getFeaturedOfferExpectedPriceBatch operation in ProductPricingApi.
930
+ */
931
+ interface ProductPricingApiGetFeaturedOfferExpectedPriceBatchRequest {
932
+ /**
933
+ * The batch of &#x60;getFeaturedOfferExpectedPrice&#x60; requests.
934
+ */
935
+ readonly getFeaturedOfferExpectedPriceBatchRequestBody: GetFeaturedOfferExpectedPriceBatchRequest;
936
+ }
937
+ /**
938
+ * ProductPricingApi - object-oriented interface
939
+ */
940
+ declare class ProductPricingApi extends BaseAPI {
941
+ /**
942
+ * Returns the competitive summary response, including featured buying options for the ASIN and `marketplaceId` combination. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.033 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that are applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may receive higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api) in the Selling Partner API.
943
+ * @param {ProductPricingApiGetCompetitiveSummaryRequest} requestParameters Request parameters.
944
+ * @param {*} [options] Override http request option.
945
+ * @throws {RequiredError}
946
+ */
947
+ getCompetitiveSummary(requestParameters: ProductPricingApiGetCompetitiveSummaryRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CompetitiveSummaryBatchResponse, any, {}>>;
948
+ /**
949
+ * Returns the set of responses that correspond to the batched list of up to 40 requests defined in the request body. The response for each successful (HTTP status code 200) request in the set includes the computed listing price at or below which a seller can expect to become the featured offer (before applicable promotions). This is called the featured offer expected price (FOEP). Featured offer is not guaranteed because competing offers might change. Other offers might be featured based on factors such as fulfillment capabilities to a specific customer. The response to an unsuccessful request includes the available error text. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.033 | 1 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that are applied to the requested operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may receive higher rate and burst values than those shown here. For more information, refer to [Usage Plans and Rate Limits](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api) in the Selling Partner API.
950
+ * @param {ProductPricingApiGetFeaturedOfferExpectedPriceBatchRequest} requestParameters Request parameters.
951
+ * @param {*} [options] Override http request option.
952
+ * @throws {RequiredError}
953
+ */
954
+ getFeaturedOfferExpectedPriceBatch(requestParameters: ProductPricingApiGetFeaturedOfferExpectedPriceBatchRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetFeaturedOfferExpectedPriceBatchResponse, any, {}>>;
955
+ }
956
+ //#endregion
957
+ //#region src/client.d.ts
958
+ declare const clientRateLimits: RateLimit[];
959
+ declare class ProductPricingApiClient extends ProductPricingApi {
960
+ constructor(configuration: ClientConfiguration);
961
+ }
962
+ //#endregion
963
+ export { BatchRequest, BatchResponse, CompetitiveSummaryBatchRequest, CompetitiveSummaryBatchResponse, CompetitiveSummaryIncludedData, CompetitiveSummaryRequest, CompetitiveSummaryResponse, CompetitiveSummaryResponseBody, Condition, Errors, FeaturedBuyingOption, FeaturedBuyingOptionBuyingOptionTypeEnum, FeaturedOffer, FeaturedOfferExpectedPrice, FeaturedOfferExpectedPriceRequest, FeaturedOfferExpectedPriceRequestParams, FeaturedOfferExpectedPriceResponse, FeaturedOfferExpectedPriceResponseAllOf, FeaturedOfferExpectedPriceResponseBody, FeaturedOfferExpectedPriceResult, FeaturedOfferSegment, FeaturedOfferSegmentCustomerMembershipEnum, FulfillmentType, GetFeaturedOfferExpectedPriceBatchRequest, GetFeaturedOfferExpectedPriceBatchResponse, HttpMethod, HttpStatusLine, Item, LowestPricedOffer, LowestPricedOffersInput, LowestPricedOffersInputOfferTypeEnum, ModelError, MoneyType, Offer, OfferIdentifier, OfferSubConditionEnum, Points, PostalCode, Price, PrimeDetails, PrimeDetailsEligibilityEnum, ProductPricingApi, ProductPricingApiAxiosParamCreator, ProductPricingApiClient, ProductPricingApiFactory, ProductPricingApiFp, ProductPricingApiGetCompetitiveSummaryRequest, ProductPricingApiGetFeaturedOfferExpectedPriceBatchRequest, ReferencePrice, SampleLocation, Segment, SegmentDetails, SegmentedFeaturedOffer, SegmentedFeaturedOfferAllOf, ShippingOption, ShippingOptionShippingOptionTypeEnum, SimilarItems, clientRateLimits };
964
+ //# sourceMappingURL=index.d.ts.map