@sp-api-sdk/product-pricing-api-2022-05-01 3.2.15 → 4.0.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 (161) hide show
  1. package/README.md +4 -4
  2. package/dist/index.cjs +474 -0
  3. package/dist/index.cjs.map +1 -0
  4. package/dist/index.d.cts +1325 -0
  5. package/dist/index.d.ts +1325 -0
  6. package/dist/index.js +422 -0
  7. package/dist/index.js.map +1 -0
  8. package/package.json +23 -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 -24
  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 -58
  41. package/dist/cjs/api-model/models/lowest-priced-offer.js +0 -15
  42. package/dist/cjs/api-model/models/lowest-priced-offers-input.js +0 -19
  43. package/dist/cjs/api-model/models/model-error.js +0 -15
  44. package/dist/cjs/api-model/models/money-type.js +0 -15
  45. package/dist/cjs/api-model/models/offer-identifier.js +0 -15
  46. package/dist/cjs/api-model/models/offer.js +0 -31
  47. package/dist/cjs/api-model/models/points.js +0 -15
  48. package/dist/cjs/api-model/models/postal-code.js +0 -15
  49. package/dist/cjs/api-model/models/price.js +0 -15
  50. package/dist/cjs/api-model/models/prime-details.js +0 -21
  51. package/dist/cjs/api-model/models/reference-price.js +0 -15
  52. package/dist/cjs/api-model/models/sample-location.js +0 -15
  53. package/dist/cjs/api-model/models/segment-details.js +0 -15
  54. package/dist/cjs/api-model/models/segment.js +0 -15
  55. package/dist/cjs/api-model/models/segmented-featured-offer-all-of.js +0 -15
  56. package/dist/cjs/api-model/models/segmented-featured-offer.js +0 -15
  57. package/dist/cjs/api-model/models/shipping-option.js +0 -19
  58. package/dist/cjs/client.js +0 -28
  59. package/dist/cjs/index.js +0 -19
  60. package/dist/es/api-model/api/product-pricing-api.js +0 -167
  61. package/dist/es/api-model/api.js +0 -14
  62. package/dist/es/api-model/base.js +0 -44
  63. package/dist/es/api-model/common.js +0 -110
  64. package/dist/es/api-model/configuration.js +0 -94
  65. package/dist/es/api-model/index.js +0 -16
  66. package/dist/es/api-model/models/batch-request.js +0 -14
  67. package/dist/es/api-model/models/batch-response.js +0 -14
  68. package/dist/es/api-model/models/competitive-summary-batch-request.js +0 -14
  69. package/dist/es/api-model/models/competitive-summary-batch-response.js +0 -14
  70. package/dist/es/api-model/models/competitive-summary-included-data.js +0 -21
  71. package/dist/es/api-model/models/competitive-summary-request.js +0 -14
  72. package/dist/es/api-model/models/competitive-summary-response-body.js +0 -14
  73. package/dist/es/api-model/models/competitive-summary-response.js +0 -14
  74. package/dist/es/api-model/models/condition.js +0 -23
  75. package/dist/es/api-model/models/errors.js +0 -14
  76. package/dist/es/api-model/models/featured-buying-option.js +0 -16
  77. package/dist/es/api-model/models/featured-offer-expected-price-request-params.js +0 -14
  78. package/dist/es/api-model/models/featured-offer-expected-price-request.js +0 -14
  79. package/dist/es/api-model/models/featured-offer-expected-price-response-all-of.js +0 -14
  80. package/dist/es/api-model/models/featured-offer-expected-price-response-body.js +0 -14
  81. package/dist/es/api-model/models/featured-offer-expected-price-response.js +0 -14
  82. package/dist/es/api-model/models/featured-offer-expected-price-result.js +0 -14
  83. package/dist/es/api-model/models/featured-offer-expected-price.js +0 -14
  84. package/dist/es/api-model/models/featured-offer-segment.js +0 -18
  85. package/dist/es/api-model/models/featured-offer.js +0 -14
  86. package/dist/es/api-model/models/fulfillment-type.js +0 -20
  87. package/dist/es/api-model/models/get-featured-offer-expected-price-batch-request.js +0 -14
  88. package/dist/es/api-model/models/get-featured-offer-expected-price-batch-response.js +0 -14
  89. package/dist/es/api-model/models/http-method.js +0 -23
  90. package/dist/es/api-model/models/http-status-line.js +0 -14
  91. package/dist/es/api-model/models/index.js +0 -42
  92. package/dist/es/api-model/models/lowest-priced-offer.js +0 -14
  93. package/dist/es/api-model/models/lowest-priced-offers-input.js +0 -16
  94. package/dist/es/api-model/models/model-error.js +0 -14
  95. package/dist/es/api-model/models/money-type.js +0 -14
  96. package/dist/es/api-model/models/offer-identifier.js +0 -14
  97. package/dist/es/api-model/models/offer.js +0 -28
  98. package/dist/es/api-model/models/points.js +0 -14
  99. package/dist/es/api-model/models/postal-code.js +0 -14
  100. package/dist/es/api-model/models/price.js +0 -14
  101. package/dist/es/api-model/models/prime-details.js +0 -18
  102. package/dist/es/api-model/models/reference-price.js +0 -14
  103. package/dist/es/api-model/models/sample-location.js +0 -14
  104. package/dist/es/api-model/models/segment-details.js +0 -14
  105. package/dist/es/api-model/models/segment.js +0 -14
  106. package/dist/es/api-model/models/segmented-featured-offer-all-of.js +0 -14
  107. package/dist/es/api-model/models/segmented-featured-offer.js +0 -14
  108. package/dist/es/api-model/models/shipping-option.js +0 -16
  109. package/dist/es/client.js +0 -24
  110. package/dist/es/index.js +0 -3
  111. package/dist/types/api-model/api/product-pricing-api.d.ts +0 -113
  112. package/dist/types/api-model/api.d.ts +0 -12
  113. package/dist/types/api-model/base.d.ts +0 -42
  114. package/dist/types/api-model/common.d.ts +0 -34
  115. package/dist/types/api-model/configuration.d.ts +0 -98
  116. package/dist/types/api-model/index.d.ts +0 -14
  117. package/dist/types/api-model/models/batch-request.d.ts +0 -34
  118. package/dist/types/api-model/models/batch-response.d.ts +0 -24
  119. package/dist/types/api-model/models/competitive-summary-batch-request.d.ts +0 -21
  120. package/dist/types/api-model/models/competitive-summary-batch-response.d.ts +0 -21
  121. package/dist/types/api-model/models/competitive-summary-included-data.d.ts +0 -20
  122. package/dist/types/api-model/models/competitive-summary-request.d.ts +0 -40
  123. package/dist/types/api-model/models/competitive-summary-response-body.d.ts +0 -43
  124. package/dist/types/api-model/models/competitive-summary-response.d.ts +0 -20
  125. package/dist/types/api-model/models/condition.d.ts +0 -22
  126. package/dist/types/api-model/models/errors.d.ts +0 -20
  127. package/dist/types/api-model/models/featured-buying-option.d.ts +0 -29
  128. package/dist/types/api-model/models/featured-offer-expected-price-request-params.d.ts +0 -26
  129. package/dist/types/api-model/models/featured-offer-expected-price-request.d.ts +0 -18
  130. package/dist/types/api-model/models/featured-offer-expected-price-response-all-of.d.ts +0 -17
  131. package/dist/types/api-model/models/featured-offer-expected-price-response-body.d.ts +0 -27
  132. package/dist/types/api-model/models/featured-offer-expected-price-response.d.ts +0 -18
  133. package/dist/types/api-model/models/featured-offer-expected-price-result.d.ts +0 -25
  134. package/dist/types/api-model/models/featured-offer-expected-price.d.ts +0 -20
  135. package/dist/types/api-model/models/featured-offer-segment.d.ts +0 -28
  136. package/dist/types/api-model/models/featured-offer.d.ts +0 -22
  137. package/dist/types/api-model/models/fulfillment-type.d.ts +0 -19
  138. package/dist/types/api-model/models/get-featured-offer-expected-price-batch-request.d.ts +0 -21
  139. package/dist/types/api-model/models/get-featured-offer-expected-price-batch-response.d.ts +0 -21
  140. package/dist/types/api-model/models/http-method.d.ts +0 -22
  141. package/dist/types/api-model/models/http-status-line.d.ts +0 -24
  142. package/dist/types/api-model/models/index.d.ts +0 -42
  143. package/dist/types/api-model/models/lowest-priced-offer.d.ts +0 -23
  144. package/dist/types/api-model/models/lowest-priced-offers-input.d.ts +0 -26
  145. package/dist/types/api-model/models/model-error.d.ts +0 -28
  146. package/dist/types/api-model/models/money-type.d.ts +0 -24
  147. package/dist/types/api-model/models/offer-identifier.d.ts +0 -34
  148. package/dist/types/api-model/models/offer.d.ts +0 -55
  149. package/dist/types/api-model/models/points.d.ts +0 -22
  150. package/dist/types/api-model/models/postal-code.d.ts +0 -24
  151. package/dist/types/api-model/models/price.d.ts +0 -21
  152. package/dist/types/api-model/models/prime-details.d.ts +0 -26
  153. package/dist/types/api-model/models/reference-price.d.ts +0 -22
  154. package/dist/types/api-model/models/sample-location.d.ts +0 -18
  155. package/dist/types/api-model/models/segment-details.d.ts +0 -22
  156. package/dist/types/api-model/models/segment.d.ts +0 -18
  157. package/dist/types/api-model/models/segmented-featured-offer-all-of.d.ts +0 -21
  158. package/dist/types/api-model/models/segmented-featured-offer.d.ts +0 -18
  159. package/dist/types/api-model/models/shipping-option.d.ts +0 -26
  160. package/dist/types/client.d.ts +0 -6
  161. package/dist/types/index.d.ts +0 -3
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # `product-pricing-api-2022-05-01`
1
+ # `@sp-api-sdk/product-pricing-api-2022-05-01`
2
2
 
3
3
  [![npm version](https://img.shields.io/npm/v/@sp-api-sdk/product-pricing-api-2022-05-01)](https://www.npmjs.com/package/@sp-api-sdk/product-pricing-api-2022-05-01)
4
4
  [![XO code style](https://img.shields.io/badge/code_style-xo-cyan)](https://github.com/xojs/xo)
@@ -27,10 +27,10 @@ npm install @sp-api-sdk/product-pricing-api-2022-05-01
27
27
  import {SellingPartnerApiAuth} from '@sp-api-sdk/auth'
28
28
  import {ProductPricingApiClient} from '@sp-api-sdk/product-pricing-api-2022-05-01'
29
29
 
30
+ // `clientId` and `clientSecret` default to the `LWA_CLIENT_ID` and
31
+ // `LWA_CLIENT_SECRET` environment variables.
30
32
  const auth = new SellingPartnerApiAuth({
31
- clientId: process.env.LWA_CLIENT_ID,
32
- clientSecret: process.env.LWA_CLIENT_SECRET,
33
- refreshToken: 'Atzr|…',
33
+ refreshToken: await getRefreshTokenForSeller(sellerId),
34
34
  })
35
35
 
36
36
  const client = new ProductPricingApiClient({
package/dist/index.cjs ADDED
@@ -0,0 +1,474 @@
1
+ "use strict";
2
+ var __create = Object.create;
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getProtoOf = Object.getPrototypeOf;
7
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+ var __export = (target, all) => {
9
+ for (var name in all)
10
+ __defProp(target, name, { get: all[name], enumerable: true });
11
+ };
12
+ var __copyProps = (to, from, except, desc) => {
13
+ if (from && typeof from === "object" || typeof from === "function") {
14
+ for (let key of __getOwnPropNames(from))
15
+ if (!__hasOwnProp.call(to, key) && key !== except)
16
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
+ }
18
+ return to;
19
+ };
20
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
+ // If the importer is in node compatibility mode or this is not an ESM
22
+ // file that has been converted to a CommonJS file using a Babel-
23
+ // compatible transform (i.e. "__esModule" has not been set), then set
24
+ // "default" to the CommonJS "module.exports" for node compatibility.
25
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
26
+ mod
27
+ ));
28
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
+
30
+ // src/index.ts
31
+ var index_exports = {};
32
+ __export(index_exports, {
33
+ CompetitiveSummaryIncludedData: () => CompetitiveSummaryIncludedData,
34
+ Condition: () => Condition,
35
+ FeaturedBuyingOptionBuyingOptionTypeEnum: () => FeaturedBuyingOptionBuyingOptionTypeEnum,
36
+ FeaturedOfferSegmentCustomerMembershipEnum: () => FeaturedOfferSegmentCustomerMembershipEnum,
37
+ FulfillmentType: () => FulfillmentType,
38
+ HttpMethod: () => HttpMethod,
39
+ LowestPricedOffersInputOfferTypeEnum: () => LowestPricedOffersInputOfferTypeEnum,
40
+ OfferSubConditionEnum: () => OfferSubConditionEnum,
41
+ PrimeDetailsEligibilityEnum: () => PrimeDetailsEligibilityEnum,
42
+ ProductPricingApi: () => ProductPricingApi,
43
+ ProductPricingApiAxiosParamCreator: () => ProductPricingApiAxiosParamCreator,
44
+ ProductPricingApiClient: () => ProductPricingApiClient,
45
+ ProductPricingApiFactory: () => ProductPricingApiFactory,
46
+ ProductPricingApiFp: () => ProductPricingApiFp,
47
+ ShippingOptionShippingOptionTypeEnum: () => ShippingOptionShippingOptionTypeEnum,
48
+ clientRateLimits: () => clientRateLimits
49
+ });
50
+ module.exports = __toCommonJS(index_exports);
51
+
52
+ // src/client.ts
53
+ var import_common2 = require("@sp-api-sdk/common");
54
+
55
+ // src/api-model/api/product-pricing-api.ts
56
+ var import_axios2 = __toESM(require("axios"), 1);
57
+
58
+ // src/api-model/base.ts
59
+ var import_axios = __toESM(require("axios"), 1);
60
+ var BASE_PATH = "https://sellingpartnerapi-na.amazon.com".replace(/\/+$/, "");
61
+ var BaseAPI = class {
62
+ constructor(configuration, basePath = BASE_PATH, axios = import_axios.default) {
63
+ this.basePath = basePath;
64
+ this.axios = axios;
65
+ if (configuration) {
66
+ this.configuration = configuration;
67
+ this.basePath = configuration.basePath ?? basePath;
68
+ }
69
+ }
70
+ basePath;
71
+ axios;
72
+ configuration;
73
+ };
74
+ var RequiredError = class extends Error {
75
+ constructor(field, msg) {
76
+ super(msg);
77
+ this.field = field;
78
+ this.name = "RequiredError";
79
+ }
80
+ field;
81
+ };
82
+ var operationServerMap = {};
83
+
84
+ // src/api-model/common.ts
85
+ var DUMMY_BASE_URL = "https://example.com";
86
+ var assertParamExists = function(functionName, paramName, paramValue) {
87
+ if (paramValue === null || paramValue === void 0) {
88
+ throw new RequiredError(paramName, `Required parameter ${paramName} was null or undefined when calling ${functionName}.`);
89
+ }
90
+ };
91
+ function setFlattenedQueryParams(urlSearchParams, parameter, key = "") {
92
+ if (parameter == null) return;
93
+ if (typeof parameter === "object") {
94
+ if (Array.isArray(parameter) || parameter instanceof Set) {
95
+ parameter.forEach((item) => setFlattenedQueryParams(urlSearchParams, item, key));
96
+ } else {
97
+ Object.keys(parameter).forEach(
98
+ (currentKey) => setFlattenedQueryParams(urlSearchParams, parameter[currentKey], `${key}${key !== "" ? "." : ""}${currentKey}`)
99
+ );
100
+ }
101
+ } else {
102
+ if (urlSearchParams.has(key)) {
103
+ urlSearchParams.append(key, parameter);
104
+ } else {
105
+ urlSearchParams.set(key, parameter);
106
+ }
107
+ }
108
+ }
109
+ var setSearchParams = function(url, ...objects) {
110
+ const searchParams = new URLSearchParams(url.search);
111
+ setFlattenedQueryParams(searchParams, objects);
112
+ url.search = searchParams.toString();
113
+ };
114
+ var replaceWithSerializableTypeIfNeeded = function(key, value) {
115
+ if (value instanceof Set) {
116
+ return Array.from(value);
117
+ } else {
118
+ return value;
119
+ }
120
+ };
121
+ var serializeDataIfNeeded = function(value, requestOptions, configuration) {
122
+ const nonString = typeof value !== "string";
123
+ const needsSerialization = nonString && configuration && configuration.isJsonMime ? configuration.isJsonMime(requestOptions.headers["Content-Type"]) : nonString;
124
+ return needsSerialization ? JSON.stringify(value !== void 0 ? value : {}, replaceWithSerializableTypeIfNeeded) : value || "";
125
+ };
126
+ var toPathString = function(url) {
127
+ return url.pathname + url.search + url.hash;
128
+ };
129
+ var createRequestFunction = function(axiosArgs, globalAxios3, BASE_PATH2, configuration) {
130
+ return (axios = globalAxios3, basePath = BASE_PATH2) => {
131
+ const axiosRequestArgs = { ...axiosArgs.options, url: (axios.defaults.baseURL ? "" : configuration?.basePath ?? basePath) + axiosArgs.url };
132
+ return axios.request(axiosRequestArgs);
133
+ };
134
+ };
135
+
136
+ // src/api-model/api/product-pricing-api.ts
137
+ var ProductPricingApiAxiosParamCreator = function(configuration) {
138
+ return {
139
+ /**
140
+ * 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.
141
+ * @param {CompetitiveSummaryBatchRequest} requests The batch of `getCompetitiveSummary` requests.
142
+ * @param {*} [options] Override http request option.
143
+ * @throws {RequiredError}
144
+ */
145
+ getCompetitiveSummary: async (requests, options = {}) => {
146
+ assertParamExists("getCompetitiveSummary", "requests", requests);
147
+ const localVarPath = `/batches/products/pricing/2022-05-01/items/competitiveSummary`;
148
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
149
+ let baseOptions;
150
+ if (configuration) {
151
+ baseOptions = configuration.baseOptions;
152
+ }
153
+ const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
154
+ const localVarHeaderParameter = {};
155
+ const localVarQueryParameter = {};
156
+ localVarHeaderParameter["Content-Type"] = "application/json";
157
+ localVarHeaderParameter["Accept"] = "application/json";
158
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
159
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
160
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
161
+ localVarRequestOptions.data = serializeDataIfNeeded(requests, localVarRequestOptions, configuration);
162
+ return {
163
+ url: toPathString(localVarUrlObj),
164
+ options: localVarRequestOptions
165
+ };
166
+ },
167
+ /**
168
+ * 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.
169
+ * @param {GetFeaturedOfferExpectedPriceBatchRequest} getFeaturedOfferExpectedPriceBatchRequestBody The batch of `getFeaturedOfferExpectedPrice` requests.
170
+ * @param {*} [options] Override http request option.
171
+ * @throws {RequiredError}
172
+ */
173
+ getFeaturedOfferExpectedPriceBatch: async (getFeaturedOfferExpectedPriceBatchRequestBody, options = {}) => {
174
+ assertParamExists("getFeaturedOfferExpectedPriceBatch", "getFeaturedOfferExpectedPriceBatchRequestBody", getFeaturedOfferExpectedPriceBatchRequestBody);
175
+ const localVarPath = `/batches/products/pricing/2022-05-01/offer/featuredOfferExpectedPrice`;
176
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
177
+ let baseOptions;
178
+ if (configuration) {
179
+ baseOptions = configuration.baseOptions;
180
+ }
181
+ const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
182
+ const localVarHeaderParameter = {};
183
+ const localVarQueryParameter = {};
184
+ localVarHeaderParameter["Content-Type"] = "application/json";
185
+ localVarHeaderParameter["Accept"] = "application/json";
186
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
187
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
188
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
189
+ localVarRequestOptions.data = serializeDataIfNeeded(getFeaturedOfferExpectedPriceBatchRequestBody, localVarRequestOptions, configuration);
190
+ return {
191
+ url: toPathString(localVarUrlObj),
192
+ options: localVarRequestOptions
193
+ };
194
+ }
195
+ };
196
+ };
197
+ var ProductPricingApiFp = function(configuration) {
198
+ const localVarAxiosParamCreator = ProductPricingApiAxiosParamCreator(configuration);
199
+ return {
200
+ /**
201
+ * 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.
202
+ * @param {CompetitiveSummaryBatchRequest} requests The batch of `getCompetitiveSummary` requests.
203
+ * @param {*} [options] Override http request option.
204
+ * @throws {RequiredError}
205
+ */
206
+ async getCompetitiveSummary(requests, options) {
207
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getCompetitiveSummary(requests, options);
208
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
209
+ const localVarOperationServerBasePath = operationServerMap["ProductPricingApi.getCompetitiveSummary"]?.[localVarOperationServerIndex]?.url;
210
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, import_axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
211
+ },
212
+ /**
213
+ * 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.
214
+ * @param {GetFeaturedOfferExpectedPriceBatchRequest} getFeaturedOfferExpectedPriceBatchRequestBody The batch of `getFeaturedOfferExpectedPrice` requests.
215
+ * @param {*} [options] Override http request option.
216
+ * @throws {RequiredError}
217
+ */
218
+ async getFeaturedOfferExpectedPriceBatch(getFeaturedOfferExpectedPriceBatchRequestBody, options) {
219
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getFeaturedOfferExpectedPriceBatch(getFeaturedOfferExpectedPriceBatchRequestBody, options);
220
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
221
+ const localVarOperationServerBasePath = operationServerMap["ProductPricingApi.getFeaturedOfferExpectedPriceBatch"]?.[localVarOperationServerIndex]?.url;
222
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, import_axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
223
+ }
224
+ };
225
+ };
226
+ var ProductPricingApiFactory = function(configuration, basePath, axios) {
227
+ const localVarFp = ProductPricingApiFp(configuration);
228
+ return {
229
+ /**
230
+ * 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.
231
+ * @param {ProductPricingApiGetCompetitiveSummaryRequest} requestParameters Request parameters.
232
+ * @param {*} [options] Override http request option.
233
+ * @throws {RequiredError}
234
+ */
235
+ getCompetitiveSummary(requestParameters, options) {
236
+ return localVarFp.getCompetitiveSummary(requestParameters.requests, options).then((request) => request(axios, basePath));
237
+ },
238
+ /**
239
+ * 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.
240
+ * @param {ProductPricingApiGetFeaturedOfferExpectedPriceBatchRequest} requestParameters Request parameters.
241
+ * @param {*} [options] Override http request option.
242
+ * @throws {RequiredError}
243
+ */
244
+ getFeaturedOfferExpectedPriceBatch(requestParameters, options) {
245
+ return localVarFp.getFeaturedOfferExpectedPriceBatch(requestParameters.getFeaturedOfferExpectedPriceBatchRequestBody, options).then((request) => request(axios, basePath));
246
+ }
247
+ };
248
+ };
249
+ var ProductPricingApi = class extends BaseAPI {
250
+ /**
251
+ * 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.
252
+ * @param {ProductPricingApiGetCompetitiveSummaryRequest} requestParameters Request parameters.
253
+ * @param {*} [options] Override http request option.
254
+ * @throws {RequiredError}
255
+ */
256
+ getCompetitiveSummary(requestParameters, options) {
257
+ return ProductPricingApiFp(this.configuration).getCompetitiveSummary(requestParameters.requests, options).then((request) => request(this.axios, this.basePath));
258
+ }
259
+ /**
260
+ * 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.
261
+ * @param {ProductPricingApiGetFeaturedOfferExpectedPriceBatchRequest} requestParameters Request parameters.
262
+ * @param {*} [options] Override http request option.
263
+ * @throws {RequiredError}
264
+ */
265
+ getFeaturedOfferExpectedPriceBatch(requestParameters, options) {
266
+ return ProductPricingApiFp(this.configuration).getFeaturedOfferExpectedPriceBatch(requestParameters.getFeaturedOfferExpectedPriceBatchRequestBody, options).then((request) => request(this.axios, this.basePath));
267
+ }
268
+ };
269
+
270
+ // src/api-model/configuration.ts
271
+ var Configuration = class {
272
+ /**
273
+ * parameter for apiKey security
274
+ * @param name security name
275
+ */
276
+ apiKey;
277
+ /**
278
+ * parameter for basic security
279
+ */
280
+ username;
281
+ /**
282
+ * parameter for basic security
283
+ */
284
+ password;
285
+ /**
286
+ * parameter for oauth2 security
287
+ * @param name security name
288
+ * @param scopes oauth2 scope
289
+ */
290
+ accessToken;
291
+ /**
292
+ * parameter for aws4 signature security
293
+ * @param {Object} AWS4Signature - AWS4 Signature security
294
+ * @param {string} options.region - aws region
295
+ * @param {string} options.service - name of the service.
296
+ * @param {string} credentials.accessKeyId - aws access key id
297
+ * @param {string} credentials.secretAccessKey - aws access key
298
+ * @param {string} credentials.sessionToken - aws session token
299
+ * @memberof Configuration
300
+ */
301
+ awsv4;
302
+ /**
303
+ * override base path
304
+ */
305
+ basePath;
306
+ /**
307
+ * override server index
308
+ */
309
+ serverIndex;
310
+ /**
311
+ * base options for axios calls
312
+ */
313
+ baseOptions;
314
+ /**
315
+ * The FormData constructor that will be used to create multipart form data
316
+ * requests. You can inject this here so that execution environments that
317
+ * do not support the FormData class can still run the generated client.
318
+ *
319
+ * @type {new () => FormData}
320
+ */
321
+ formDataCtor;
322
+ constructor(param = {}) {
323
+ this.apiKey = param.apiKey;
324
+ this.username = param.username;
325
+ this.password = param.password;
326
+ this.accessToken = param.accessToken;
327
+ this.awsv4 = param.awsv4;
328
+ this.basePath = param.basePath;
329
+ this.serverIndex = param.serverIndex;
330
+ this.baseOptions = {
331
+ ...param.baseOptions,
332
+ headers: {
333
+ ...param.baseOptions?.headers
334
+ }
335
+ };
336
+ this.formDataCtor = param.formDataCtor;
337
+ }
338
+ /**
339
+ * Check if the given MIME is a JSON MIME.
340
+ * JSON MIME examples:
341
+ * application/json
342
+ * application/json; charset=UTF8
343
+ * APPLICATION/JSON
344
+ * application/vnd.company+json
345
+ * @param mime - MIME (Multipurpose Internet Mail Extensions)
346
+ * @return True if the given MIME is JSON, false otherwise.
347
+ */
348
+ isJsonMime(mime) {
349
+ const jsonMime = /^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$/i;
350
+ return mime !== null && jsonMime.test(mime);
351
+ }
352
+ };
353
+
354
+ // src/api-model/models/competitive-summary-included-data.ts
355
+ var CompetitiveSummaryIncludedData = {
356
+ FeaturedBuyingOptions: "featuredBuyingOptions",
357
+ ReferencePrices: "referencePrices",
358
+ LowestPricedOffers: "lowestPricedOffers",
359
+ SimilarItems: "similarItems"
360
+ };
361
+
362
+ // src/api-model/models/condition.ts
363
+ var Condition = {
364
+ New: "New",
365
+ Used: "Used",
366
+ Collectible: "Collectible",
367
+ Refurbished: "Refurbished",
368
+ Club: "Club"
369
+ };
370
+
371
+ // src/api-model/models/featured-buying-option.ts
372
+ var FeaturedBuyingOptionBuyingOptionTypeEnum = {
373
+ New: "New"
374
+ };
375
+
376
+ // src/api-model/models/featured-offer-segment.ts
377
+ var FeaturedOfferSegmentCustomerMembershipEnum = {
378
+ Prime: "PRIME",
379
+ NonPrime: "NON_PRIME",
380
+ Default: "DEFAULT"
381
+ };
382
+
383
+ // src/api-model/models/fulfillment-type.ts
384
+ var FulfillmentType = {
385
+ Afn: "AFN",
386
+ Mfn: "MFN"
387
+ };
388
+
389
+ // src/api-model/models/http-method.ts
390
+ var HttpMethod = {
391
+ Get: "GET",
392
+ Put: "PUT",
393
+ Patch: "PATCH",
394
+ Delete: "DELETE",
395
+ Post: "POST"
396
+ };
397
+
398
+ // src/api-model/models/lowest-priced-offers-input.ts
399
+ var LowestPricedOffersInputOfferTypeEnum = {
400
+ Consumer: "Consumer"
401
+ };
402
+
403
+ // src/api-model/models/offer.ts
404
+ var OfferSubConditionEnum = {
405
+ New: "New",
406
+ Mint: "Mint",
407
+ VeryGood: "VeryGood",
408
+ Good: "Good",
409
+ Acceptable: "Acceptable",
410
+ Poor: "Poor",
411
+ Club: "Club",
412
+ Oem: "OEM",
413
+ Warranty: "Warranty",
414
+ RefurbishedWarranty: "RefurbishedWarranty",
415
+ Refurbished: "Refurbished",
416
+ OpenBox: "OpenBox",
417
+ Other: "Other"
418
+ };
419
+
420
+ // src/api-model/models/prime-details.ts
421
+ var PrimeDetailsEligibilityEnum = {
422
+ National: "NATIONAL",
423
+ Regional: "REGIONAL",
424
+ None: "NONE"
425
+ };
426
+
427
+ // src/api-model/models/shipping-option.ts
428
+ var ShippingOptionShippingOptionTypeEnum = {
429
+ Default: "DEFAULT"
430
+ };
431
+
432
+ // src/client.ts
433
+ var clientRateLimits = [
434
+ {
435
+ method: "post",
436
+ // eslint-disable-next-line prefer-regex-literals
437
+ urlRegex: new RegExp("^/batches/products/pricing/2022-05-01/offer/featuredOfferExpectedPrice$"),
438
+ rate: 0.033,
439
+ burst: 1
440
+ },
441
+ {
442
+ method: "post",
443
+ // eslint-disable-next-line prefer-regex-literals
444
+ urlRegex: new RegExp("^/batches/products/pricing/2022-05-01/items/competitiveSummary$"),
445
+ rate: 0.033,
446
+ burst: 1
447
+ }
448
+ ];
449
+ var ProductPricingApiClient = class extends ProductPricingApi {
450
+ constructor(configuration) {
451
+ const { axios, endpoint } = (0, import_common2.createAxiosInstance)(configuration, clientRateLimits);
452
+ super(new Configuration(), endpoint, axios);
453
+ }
454
+ };
455
+ // Annotate the CommonJS export names for ESM import in node:
456
+ 0 && (module.exports = {
457
+ CompetitiveSummaryIncludedData,
458
+ Condition,
459
+ FeaturedBuyingOptionBuyingOptionTypeEnum,
460
+ FeaturedOfferSegmentCustomerMembershipEnum,
461
+ FulfillmentType,
462
+ HttpMethod,
463
+ LowestPricedOffersInputOfferTypeEnum,
464
+ OfferSubConditionEnum,
465
+ PrimeDetailsEligibilityEnum,
466
+ ProductPricingApi,
467
+ ProductPricingApiAxiosParamCreator,
468
+ ProductPricingApiClient,
469
+ ProductPricingApiFactory,
470
+ ProductPricingApiFp,
471
+ ShippingOptionShippingOptionTypeEnum,
472
+ clientRateLimits
473
+ });
474
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/index.ts","../src/client.ts","../src/api-model/api/product-pricing-api.ts","../src/api-model/base.ts","../src/api-model/common.ts","../src/api-model/configuration.ts","../src/api-model/models/competitive-summary-included-data.ts","../src/api-model/models/condition.ts","../src/api-model/models/featured-buying-option.ts","../src/api-model/models/featured-offer-segment.ts","../src/api-model/models/fulfillment-type.ts","../src/api-model/models/http-method.ts","../src/api-model/models/lowest-priced-offers-input.ts","../src/api-model/models/offer.ts","../src/api-model/models/prime-details.ts","../src/api-model/models/shipping-option.ts"],"sourcesContent":["export * from './client.js'\nexport * from './api-model/api.js'\nexport * from './api-model/models/index.js'\n","import {type ClientConfiguration, createAxiosInstance, type RateLimit} from '@sp-api-sdk/common'\n\nimport {Configuration, ProductPricingApi} from './api-model/index.js'\n\nexport const clientRateLimits: RateLimit[] = [\n {\n method: 'post',\n // eslint-disable-next-line prefer-regex-literals\n urlRegex: new RegExp('^/batches/products/pricing/2022-05-01/offer/featuredOfferExpectedPrice$'),\n rate: 0.033,\n burst: 1,\n },\n {\n method: 'post',\n // eslint-disable-next-line prefer-regex-literals\n urlRegex: new RegExp('^/batches/products/pricing/2022-05-01/items/competitiveSummary$'),\n rate: 0.033,\n burst: 1,\n },\n]\n\nexport class ProductPricingApiClient extends ProductPricingApi {\n constructor(configuration: ClientConfiguration) {\n const {axios, endpoint} = createAxiosInstance(configuration, clientRateLimits)\n\n super(new Configuration(), endpoint, axios)\n }\n}\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * Selling Partner API for Pricing\n * 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).\n *\n * The version of the OpenAPI document: 2022-05-01\n * \n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\n\nimport type { Configuration } from '../configuration.js';\nimport type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';\nimport globalAxios from 'axios';\n// Some imports not used depending on template conditions\n// @ts-ignore\nimport { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction, replaceWithSerializableTypeIfNeeded } from '../common.js';\n// @ts-ignore\nimport { BASE_PATH, COLLECTION_FORMATS, type RequestArgs, BaseAPI, RequiredError, operationServerMap } from '../base.js';\n// @ts-ignore\nimport type { CompetitiveSummaryBatchRequest } from '../models/index.js';\n// @ts-ignore\nimport type { CompetitiveSummaryBatchResponse } from '../models/index.js';\n// @ts-ignore\nimport type { Errors } from '../models/index.js';\n// @ts-ignore\nimport type { GetFeaturedOfferExpectedPriceBatchRequest } from '../models/index.js';\n// @ts-ignore\nimport type { GetFeaturedOfferExpectedPriceBatchResponse } from '../models/index.js';\n/**\n * ProductPricingApi - axios parameter creator\n */\nexport const ProductPricingApiAxiosParamCreator = function (configuration?: Configuration) {\n return {\n /**\n * 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.\n * @param {CompetitiveSummaryBatchRequest} requests The batch of &#x60;getCompetitiveSummary&#x60; requests.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n getCompetitiveSummary: async (requests: CompetitiveSummaryBatchRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n // verify required parameter 'requests' is not null or undefined\n assertParamExists('getCompetitiveSummary', 'requests', requests)\n const localVarPath = `/batches/products/pricing/2022-05-01/items/competitiveSummary`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n localVarHeaderParameter['Content-Type'] = 'application/json';\n localVarHeaderParameter['Accept'] = 'application/json';\n\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n localVarRequestOptions.data = serializeDataIfNeeded(requests, localVarRequestOptions, configuration)\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n /**\n * 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.\n * @param {GetFeaturedOfferExpectedPriceBatchRequest} getFeaturedOfferExpectedPriceBatchRequestBody The batch of &#x60;getFeaturedOfferExpectedPrice&#x60; requests.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n getFeaturedOfferExpectedPriceBatch: async (getFeaturedOfferExpectedPriceBatchRequestBody: GetFeaturedOfferExpectedPriceBatchRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {\n // verify required parameter 'getFeaturedOfferExpectedPriceBatchRequestBody' is not null or undefined\n assertParamExists('getFeaturedOfferExpectedPriceBatch', 'getFeaturedOfferExpectedPriceBatchRequestBody', getFeaturedOfferExpectedPriceBatchRequestBody)\n const localVarPath = `/batches/products/pricing/2022-05-01/offer/featuredOfferExpectedPrice`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n\n const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};\n const localVarHeaderParameter = {} as any;\n const localVarQueryParameter = {} as any;\n\n localVarHeaderParameter['Content-Type'] = 'application/json';\n localVarHeaderParameter['Accept'] = 'application/json';\n\n setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};\n localVarRequestOptions.data = serializeDataIfNeeded(getFeaturedOfferExpectedPriceBatchRequestBody, localVarRequestOptions, configuration)\n\n return {\n url: toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n },\n }\n};\n\n/**\n * ProductPricingApi - functional programming interface\n */\nexport const ProductPricingApiFp = function(configuration?: Configuration) {\n const localVarAxiosParamCreator = ProductPricingApiAxiosParamCreator(configuration)\n return {\n /**\n * 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.\n * @param {CompetitiveSummaryBatchRequest} requests The batch of &#x60;getCompetitiveSummary&#x60; requests.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async getCompetitiveSummary(requests: CompetitiveSummaryBatchRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CompetitiveSummaryBatchResponse>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.getCompetitiveSummary(requests, options);\n const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n const localVarOperationServerBasePath = operationServerMap['ProductPricingApi.getCompetitiveSummary']?.[localVarOperationServerIndex]?.url;\n return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n },\n /**\n * 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.\n * @param {GetFeaturedOfferExpectedPriceBatchRequest} getFeaturedOfferExpectedPriceBatchRequestBody The batch of &#x60;getFeaturedOfferExpectedPrice&#x60; requests.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n async getFeaturedOfferExpectedPriceBatch(getFeaturedOfferExpectedPriceBatchRequestBody: GetFeaturedOfferExpectedPriceBatchRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetFeaturedOfferExpectedPriceBatchResponse>> {\n const localVarAxiosArgs = await localVarAxiosParamCreator.getFeaturedOfferExpectedPriceBatch(getFeaturedOfferExpectedPriceBatchRequestBody, options);\n const localVarOperationServerIndex = configuration?.serverIndex ?? 0;\n const localVarOperationServerBasePath = operationServerMap['ProductPricingApi.getFeaturedOfferExpectedPriceBatch']?.[localVarOperationServerIndex]?.url;\n return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);\n },\n }\n};\n\n/**\n * ProductPricingApi - factory interface\n */\nexport const ProductPricingApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {\n const localVarFp = ProductPricingApiFp(configuration)\n return {\n /**\n * 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.\n * @param {ProductPricingApiGetCompetitiveSummaryRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n getCompetitiveSummary(requestParameters: ProductPricingApiGetCompetitiveSummaryRequest, options?: RawAxiosRequestConfig): AxiosPromise<CompetitiveSummaryBatchResponse> {\n return localVarFp.getCompetitiveSummary(requestParameters.requests, options).then((request) => request(axios, basePath));\n },\n /**\n * 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.\n * @param {ProductPricingApiGetFeaturedOfferExpectedPriceBatchRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n getFeaturedOfferExpectedPriceBatch(requestParameters: ProductPricingApiGetFeaturedOfferExpectedPriceBatchRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetFeaturedOfferExpectedPriceBatchResponse> {\n return localVarFp.getFeaturedOfferExpectedPriceBatch(requestParameters.getFeaturedOfferExpectedPriceBatchRequestBody, options).then((request) => request(axios, basePath));\n },\n };\n};\n\n/**\n * Request parameters for getCompetitiveSummary operation in ProductPricingApi.\n */\nexport interface ProductPricingApiGetCompetitiveSummaryRequest {\n /**\n * The batch of &#x60;getCompetitiveSummary&#x60; requests.\n */\n readonly requests: CompetitiveSummaryBatchRequest\n}\n\n/**\n * Request parameters for getFeaturedOfferExpectedPriceBatch operation in ProductPricingApi.\n */\nexport interface ProductPricingApiGetFeaturedOfferExpectedPriceBatchRequest {\n /**\n * The batch of &#x60;getFeaturedOfferExpectedPrice&#x60; requests.\n */\n readonly getFeaturedOfferExpectedPriceBatchRequestBody: GetFeaturedOfferExpectedPriceBatchRequest\n}\n\n/**\n * ProductPricingApi - object-oriented interface\n */\nexport class ProductPricingApi extends BaseAPI {\n /**\n * 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.\n * @param {ProductPricingApiGetCompetitiveSummaryRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n public getCompetitiveSummary(requestParameters: ProductPricingApiGetCompetitiveSummaryRequest, options?: RawAxiosRequestConfig) {\n return ProductPricingApiFp(this.configuration).getCompetitiveSummary(requestParameters.requests, options).then((request) => request(this.axios, this.basePath));\n }\n\n /**\n * 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.\n * @param {ProductPricingApiGetFeaturedOfferExpectedPriceBatchRequest} requestParameters Request parameters.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n public getFeaturedOfferExpectedPriceBatch(requestParameters: ProductPricingApiGetFeaturedOfferExpectedPriceBatchRequest, options?: RawAxiosRequestConfig) {\n return ProductPricingApiFp(this.configuration).getFeaturedOfferExpectedPriceBatch(requestParameters.getFeaturedOfferExpectedPriceBatchRequestBody, options).then((request) => request(this.axios, this.basePath));\n }\n}\n\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * Selling Partner API for Pricing\n * 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).\n *\n * The version of the OpenAPI document: 2022-05-01\n * \n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\n\nimport type { Configuration } from './configuration.js';\n// Some imports not used depending on template conditions\n// @ts-ignore\nimport type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';\nimport globalAxios from 'axios';\n\nexport const BASE_PATH = \"https://sellingpartnerapi-na.amazon.com\".replace(/\\/+$/, \"\");\n\nexport const COLLECTION_FORMATS = {\n csv: \",\",\n ssv: \" \",\n tsv: \"\\t\",\n pipes: \"|\",\n};\n\nexport interface RequestArgs {\n url: string;\n options: RawAxiosRequestConfig;\n}\n\nexport class BaseAPI {\n protected configuration: Configuration | undefined;\n\n constructor(configuration?: Configuration, protected basePath: string = BASE_PATH, protected axios: AxiosInstance = globalAxios) {\n if (configuration) {\n this.configuration = configuration;\n this.basePath = configuration.basePath ?? basePath;\n }\n }\n};\n\nexport class RequiredError extends Error {\n constructor(public field: string, msg?: string) {\n super(msg);\n this.name = \"RequiredError\"\n }\n}\n\ninterface ServerMap {\n [key: string]: {\n url: string,\n description: string,\n }[];\n}\n\nexport const operationServerMap: ServerMap = {\n}\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * Selling Partner API for Pricing\n * 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).\n *\n * The version of the OpenAPI document: 2022-05-01\n * \n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\nimport type { Configuration } from \"./configuration.js\";\nimport type { RequestArgs } from \"./base.js\";\nimport type { AxiosInstance, AxiosResponse } from 'axios';\nimport { RequiredError } from \"./base.js\";\n\nexport const DUMMY_BASE_URL = 'https://example.com'\n\n/**\n *\n * @throws {RequiredError}\n */\nexport const assertParamExists = function (functionName: string, paramName: string, paramValue: unknown) {\n if (paramValue === null || paramValue === undefined) {\n throw new RequiredError(paramName, `Required parameter ${paramName} was null or undefined when calling ${functionName}.`);\n }\n}\n\nexport const setApiKeyToObject = async function (object: any, keyParamName: string, configuration?: Configuration) {\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? await configuration.apiKey(keyParamName)\n : await configuration.apiKey;\n object[keyParamName] = localVarApiKeyValue;\n }\n}\n\nexport const setBasicAuthToObject = function (object: any, configuration?: Configuration) {\n if (configuration && (configuration.username || configuration.password)) {\n object[\"auth\"] = { username: configuration.username, password: configuration.password };\n }\n}\n\nexport const setBearerAuthToObject = async function (object: any, configuration?: Configuration) {\n if (configuration && configuration.accessToken) {\n const accessToken = typeof configuration.accessToken === 'function'\n ? await configuration.accessToken()\n : await configuration.accessToken;\n object[\"Authorization\"] = \"Bearer \" + accessToken;\n }\n}\n\nexport const setOAuthToObject = async function (object: any, name: string, scopes: string[], configuration?: Configuration) {\n if (configuration && configuration.accessToken) {\n const localVarAccessTokenValue = typeof configuration.accessToken === 'function'\n ? await configuration.accessToken(name, scopes)\n : await configuration.accessToken;\n object[\"Authorization\"] = \"Bearer \" + localVarAccessTokenValue;\n }\n}\n\n\nfunction setFlattenedQueryParams(urlSearchParams: URLSearchParams, parameter: any, key: string = \"\"): void {\n if (parameter == null) return;\n if (typeof parameter === \"object\") {\n if (Array.isArray(parameter) || parameter instanceof Set) {\n (parameter as any[]).forEach(item => setFlattenedQueryParams(urlSearchParams, item, key));\n }\n else {\n Object.keys(parameter).forEach(currentKey =>\n setFlattenedQueryParams(urlSearchParams, parameter[currentKey], `${key}${key !== '' ? '.' : ''}${currentKey}`)\n );\n }\n }\n else {\n if (urlSearchParams.has(key)) {\n urlSearchParams.append(key, parameter);\n }\n else {\n urlSearchParams.set(key, parameter);\n }\n }\n}\n\nexport const setSearchParams = function (url: URL, ...objects: any[]) {\n const searchParams = new URLSearchParams(url.search);\n setFlattenedQueryParams(searchParams, objects);\n url.search = searchParams.toString();\n}\n\n/**\n * JSON serialization helper function which replaces instances of unserializable types with serializable ones.\n * This function will run for every key-value pair encountered by JSON.stringify while traversing an object.\n * Converting a set to a string will return an empty object, so an intermediate conversion to an array is required.\n */\n// @ts-ignore\nexport const replaceWithSerializableTypeIfNeeded = function(key: string, value: any) {\n if (value instanceof Set) {\n return Array.from(value);\n } else {\n return value;\n }\n}\n\nexport const serializeDataIfNeeded = function (value: any, requestOptions: any, configuration?: Configuration) {\n const nonString = typeof value !== 'string';\n const needsSerialization = nonString && configuration && configuration.isJsonMime\n ? configuration.isJsonMime(requestOptions.headers['Content-Type'])\n : nonString;\n return needsSerialization\n ? JSON.stringify(value !== undefined ? value : {}, replaceWithSerializableTypeIfNeeded)\n : (value || \"\");\n}\n\nexport const toPathString = function (url: URL) {\n return url.pathname + url.search + url.hash\n}\n\nexport const createRequestFunction = function (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) {\n return <T = unknown, R = AxiosResponse<T>>(axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {\n const axiosRequestArgs = {...axiosArgs.options, url: (axios.defaults.baseURL ? '' : configuration?.basePath ?? basePath) + axiosArgs.url};\n return axios.request<T, R>(axiosRequestArgs);\n };\n}\n","/* tslint:disable */\n/**\n * Selling Partner API for Pricing\n * 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).\n *\n * The version of the OpenAPI document: 2022-05-01\n * \n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\ninterface AWSv4Configuration {\n options?: {\n region?: string\n service?: string\n }\n credentials?: {\n accessKeyId?: string\n secretAccessKey?: string,\n sessionToken?: string\n }\n}\n\nexport interface ConfigurationParameters {\n apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);\n username?: string;\n password?: string;\n accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);\n awsv4?: AWSv4Configuration;\n basePath?: string;\n serverIndex?: number;\n baseOptions?: any;\n formDataCtor?: new () => any;\n}\n\nexport class Configuration {\n /**\n * parameter for apiKey security\n * @param name security name\n */\n apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);\n /**\n * parameter for basic security\n */\n username?: string;\n /**\n * parameter for basic security\n */\n password?: string;\n /**\n * parameter for oauth2 security\n * @param name security name\n * @param scopes oauth2 scope\n */\n accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);\n /**\n * parameter for aws4 signature security\n * @param {Object} AWS4Signature - AWS4 Signature security\n * @param {string} options.region - aws region\n * @param {string} options.service - name of the service.\n * @param {string} credentials.accessKeyId - aws access key id\n * @param {string} credentials.secretAccessKey - aws access key\n * @param {string} credentials.sessionToken - aws session token\n * @memberof Configuration\n */\n awsv4?: AWSv4Configuration;\n /**\n * override base path\n */\n basePath?: string;\n /**\n * override server index\n */\n serverIndex?: number;\n /**\n * base options for axios calls\n */\n baseOptions?: any;\n /**\n * The FormData constructor that will be used to create multipart form data\n * requests. You can inject this here so that execution environments that\n * do not support the FormData class can still run the generated client.\n *\n * @type {new () => FormData}\n */\n formDataCtor?: new () => any;\n\n constructor(param: ConfigurationParameters = {}) {\n this.apiKey = param.apiKey;\n this.username = param.username;\n this.password = param.password;\n this.accessToken = param.accessToken;\n this.awsv4 = param.awsv4;\n this.basePath = param.basePath;\n this.serverIndex = param.serverIndex;\n this.baseOptions = {\n ...param.baseOptions,\n headers: {\n ...param.baseOptions?.headers,\n },\n };\n this.formDataCtor = param.formDataCtor;\n }\n\n /**\n * Check if the given MIME is a JSON MIME.\n * JSON MIME examples:\n * application/json\n * application/json; charset=UTF8\n * APPLICATION/JSON\n * application/vnd.company+json\n * @param mime - MIME (Multipurpose Internet Mail Extensions)\n * @return True if the given MIME is JSON, false otherwise.\n */\n public isJsonMime(mime: string): boolean {\n const jsonMime: RegExp = /^(application\\/json|[^;/ \\t]+\\/[^;/ \\t]+[+]json)[ \\t]*(;.*)?$/i;\n return mime !== null && jsonMime.test(mime);\n }\n}\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * Selling Partner API for Pricing\n * 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).\n *\n * The version of the OpenAPI document: 2022-05-01\n * \n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\n\n\n/**\n * The supported data types in the `getCompetitiveSummary` API.\n */\n\nexport const CompetitiveSummaryIncludedData = {\n FeaturedBuyingOptions: 'featuredBuyingOptions',\n ReferencePrices: 'referencePrices',\n LowestPricedOffers: 'lowestPricedOffers',\n SimilarItems: 'similarItems',\n} as const;\n\nexport type CompetitiveSummaryIncludedData = typeof CompetitiveSummaryIncludedData[keyof typeof CompetitiveSummaryIncludedData];\n\n\n\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * Selling Partner API for Pricing\n * 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).\n *\n * The version of the OpenAPI document: 2022-05-01\n * \n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\n\n\n/**\n * The condition of the item.\n */\n\nexport const Condition = {\n New: 'New',\n Used: 'Used',\n Collectible: 'Collectible',\n Refurbished: 'Refurbished',\n Club: 'Club',\n} as const;\n\nexport type Condition = typeof Condition[keyof typeof Condition];\n\n\n\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * Selling Partner API for Pricing\n * 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).\n *\n * The version of the OpenAPI document: 2022-05-01\n * \n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\n\n// May contain unused imports in some cases\n// @ts-ignore\nimport type { SegmentedFeaturedOffer } from './segmented-featured-offer.js';\n\n/**\n * Describes a featured buying option, which includes a list of segmented featured offers for a particular item condition.\n */\nexport interface FeaturedBuyingOption {\n /**\n * 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.\n */\n 'buyingOptionType': FeaturedBuyingOptionBuyingOptionTypeEnum;\n /**\n * 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.\n */\n 'segmentedFeaturedOffers': Array<SegmentedFeaturedOffer>;\n}\n\nexport const FeaturedBuyingOptionBuyingOptionTypeEnum = {\n New: 'New',\n} as const;\n\nexport type FeaturedBuyingOptionBuyingOptionTypeEnum = typeof FeaturedBuyingOptionBuyingOptionTypeEnum[keyof typeof FeaturedBuyingOptionBuyingOptionTypeEnum];\n\n\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * Selling Partner API for Pricing\n * 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).\n *\n * The version of the OpenAPI document: 2022-05-01\n * \n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\n\n// May contain unused imports in some cases\n// @ts-ignore\nimport type { SegmentDetails } from './segment-details.js';\n\n/**\n * Describes the segment in which the offer is featured.\n */\nexport interface FeaturedOfferSegment {\n /**\n * The customer membership type that makes up this segment\n */\n 'customerMembership': FeaturedOfferSegmentCustomerMembershipEnum;\n 'segmentDetails': SegmentDetails;\n}\n\nexport const FeaturedOfferSegmentCustomerMembershipEnum = {\n Prime: 'PRIME',\n NonPrime: 'NON_PRIME',\n Default: 'DEFAULT',\n} as const;\n\nexport type FeaturedOfferSegmentCustomerMembershipEnum = typeof FeaturedOfferSegmentCustomerMembershipEnum[keyof typeof FeaturedOfferSegmentCustomerMembershipEnum];\n\n\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * Selling Partner API for Pricing\n * 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).\n *\n * The version of the OpenAPI document: 2022-05-01\n * \n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\n\n\n/**\n * Indicates whether the item is fulfilled by Amazon or by the seller (merchant).\n */\n\nexport const FulfillmentType = {\n Afn: 'AFN',\n Mfn: 'MFN',\n} as const;\n\nexport type FulfillmentType = typeof FulfillmentType[keyof typeof FulfillmentType];\n\n\n\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * Selling Partner API for Pricing\n * 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).\n *\n * The version of the OpenAPI document: 2022-05-01\n * \n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\n\n\n/**\n * The HTTP method associated with an individual request within a batch.\n */\n\nexport const HttpMethod = {\n Get: 'GET',\n Put: 'PUT',\n Patch: 'PATCH',\n Delete: 'DELETE',\n Post: 'POST',\n} as const;\n\nexport type HttpMethod = typeof HttpMethod[keyof typeof HttpMethod];\n\n\n\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * Selling Partner API for Pricing\n * 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).\n *\n * The version of the OpenAPI document: 2022-05-01\n * \n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\n\n// May contain unused imports in some cases\n// @ts-ignore\nimport type { Condition } from './condition.js';\n\n/**\n * The input required for building `LowestPricedOffers` data in the response.\n */\nexport interface LowestPricedOffersInput {\n 'itemCondition': Condition;\n /**\n * The input parameter specifies the type of offers requested for `LowestPricedOffers`. This applies to `Consumer` and `Business` offers. `Consumer` is the default `offerType`.\n */\n 'offerType': LowestPricedOffersInputOfferTypeEnum;\n}\n\nexport const LowestPricedOffersInputOfferTypeEnum = {\n Consumer: 'Consumer',\n} as const;\n\nexport type LowestPricedOffersInputOfferTypeEnum = typeof LowestPricedOffersInputOfferTypeEnum[keyof typeof LowestPricedOffersInputOfferTypeEnum];\n\n\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * Selling Partner API for Pricing\n * 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).\n *\n * The version of the OpenAPI document: 2022-05-01\n * \n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\n\n// May contain unused imports in some cases\n// @ts-ignore\nimport type { Condition } from './condition.js';\n// May contain unused imports in some cases\n// @ts-ignore\nimport type { FulfillmentType } from './fulfillment-type.js';\n// May contain unused imports in some cases\n// @ts-ignore\nimport type { MoneyType } from './money-type.js';\n// May contain unused imports in some cases\n// @ts-ignore\nimport type { Points } from './points.js';\n// May contain unused imports in some cases\n// @ts-ignore\nimport type { PrimeDetails } from './prime-details.js';\n// May contain unused imports in some cases\n// @ts-ignore\nimport type { ShippingOption } from './shipping-option.js';\n\n/**\n * The offer data of a product.\n */\nexport interface Offer {\n /**\n * The seller identifier for the offer.\n */\n 'sellerId': string;\n 'condition': Condition;\n /**\n * The item subcondition of the offer.\n */\n 'subCondition'?: OfferSubConditionEnum;\n 'fulfillmentType': FulfillmentType;\n 'listingPrice': MoneyType;\n /**\n * A list of shipping options associated with this offer\n */\n 'shippingOptions'?: Array<ShippingOption>;\n 'points'?: Points;\n 'primeDetails'?: PrimeDetails;\n}\n\nexport const OfferSubConditionEnum = {\n New: 'New',\n Mint: 'Mint',\n VeryGood: 'VeryGood',\n Good: 'Good',\n Acceptable: 'Acceptable',\n Poor: 'Poor',\n Club: 'Club',\n Oem: 'OEM',\n Warranty: 'Warranty',\n RefurbishedWarranty: 'RefurbishedWarranty',\n Refurbished: 'Refurbished',\n OpenBox: 'OpenBox',\n Other: 'Other',\n} as const;\n\nexport type OfferSubConditionEnum = typeof OfferSubConditionEnum[keyof typeof OfferSubConditionEnum];\n\n\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * Selling Partner API for Pricing\n * 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).\n *\n * The version of the OpenAPI document: 2022-05-01\n * \n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\n\n\n/**\n * Amazon Prime details.\n */\nexport interface PrimeDetails {\n /**\n * Indicates whether the offer is an Amazon Prime offer.\n */\n 'eligibility': PrimeDetailsEligibilityEnum;\n}\n\nexport const PrimeDetailsEligibilityEnum = {\n National: 'NATIONAL',\n Regional: 'REGIONAL',\n None: 'NONE',\n} as const;\n\nexport type PrimeDetailsEligibilityEnum = typeof PrimeDetailsEligibilityEnum[keyof typeof PrimeDetailsEligibilityEnum];\n\n\n","/* tslint:disable */\n/* eslint-disable */\n/**\n * Selling Partner API for Pricing\n * 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).\n *\n * The version of the OpenAPI document: 2022-05-01\n * \n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\n\n\n// May contain unused imports in some cases\n// @ts-ignore\nimport type { MoneyType } from './money-type.js';\n\n/**\n * The shipping option available for the offer.\n */\nexport interface ShippingOption {\n /**\n * The type of shipping option.\n */\n 'shippingOptionType': ShippingOptionShippingOptionTypeEnum;\n 'price': MoneyType;\n}\n\nexport const ShippingOptionShippingOptionTypeEnum = {\n Default: 'DEFAULT',\n} as const;\n\nexport type ShippingOptionShippingOptionTypeEnum = typeof ShippingOptionShippingOptionTypeEnum[keyof typeof ShippingOptionShippingOptionTypeEnum];\n\n\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA,IAAAA,iBAA4E;;;ACiB5E,IAAAC,gBAAwB;;;ACExB,mBAAwB;AAEjB,IAAM,YAAY,0CAA0C,QAAQ,QAAQ,EAAE;AAc9E,IAAM,UAAN,MAAc;AAAA,EAGjB,YAAY,eAAyC,WAAmB,WAAqB,QAAuB,aAAAC,SAAa;AAA5E;AAAwC;AACzF,QAAI,eAAe;AACf,WAAK,gBAAgB;AACrB,WAAK,WAAW,cAAc,YAAY;AAAA,IAC9C;AAAA,EACJ;AAAA,EALqD;AAAA,EAAwC;AAAA,EAFnF;AAQd;AAEO,IAAM,gBAAN,cAA4B,MAAM;AAAA,EACrC,YAAmB,OAAe,KAAc;AAC5C,UAAM,GAAG;AADM;AAEf,SAAK,OAAO;AAAA,EAChB;AAAA,EAHmB;AAIvB;AASO,IAAM,qBAAgC,CAC7C;;;AC1CO,IAAM,iBAAiB;AAMvB,IAAM,oBAAoB,SAAU,cAAsB,WAAmB,YAAqB;AACrG,MAAI,eAAe,QAAQ,eAAe,QAAW;AACjD,UAAM,IAAI,cAAc,WAAW,sBAAsB,SAAS,uCAAuC,YAAY,GAAG;AA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