@sp-api-sdk/aplus-content-api-2020-11-01 4.0.0 → 4.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -1,1093 +1,1184 @@
1
- "use strict";
1
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
+ //#region \0rolldown/runtime.js
2
3
  var __create = Object.create;
3
4
  var __defProp = Object.defineProperty;
4
5
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
6
  var __getOwnPropNames = Object.getOwnPropertyNames;
6
7
  var __getProtoOf = Object.getPrototypeOf;
7
8
  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
9
  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;
10
+ if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
11
+ key = keys[i];
12
+ if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
13
+ get: ((k) => from[k]).bind(null, key),
14
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
15
+ });
16
+ }
17
+ return to;
19
18
  };
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
- AplusContentApi: () => AplusContentApi,
34
- AplusContentApiAxiosParamCreator: () => AplusContentApiAxiosParamCreator,
35
- AplusContentApiClient: () => AplusContentApiClient,
36
- AplusContentApiFactory: () => AplusContentApiFactory,
37
- AplusContentApiFp: () => AplusContentApiFp,
38
- AsinBadge: () => AsinBadge,
39
- ColorType: () => ColorType,
40
- ContentBadge: () => ContentBadge,
41
- ContentModuleType: () => ContentModuleType,
42
- ContentStatus: () => ContentStatus,
43
- ContentType: () => ContentType,
44
- DecoratorType: () => DecoratorType,
45
- GetContentDocumentIncludedDataSetEnum: () => GetContentDocumentIncludedDataSetEnum,
46
- ListContentDocumentAsinRelationsIncludedDataSetEnum: () => ListContentDocumentAsinRelationsIncludedDataSetEnum,
47
- PositionType: () => PositionType,
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/aplus-content-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 COLLECTION_FORMATS = {
62
- csv: ",",
63
- ssv: " ",
64
- tsv: " ",
65
- pipes: "|"
19
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
20
+ value: mod,
21
+ enumerable: true
22
+ }) : target, mod));
23
+ //#endregion
24
+ let _sp_api_sdk_common = require("@sp-api-sdk/common");
25
+ let axios = require("axios");
26
+ axios = __toESM(axios, 1);
27
+ //#region src/api-model/base.ts
28
+ const BASE_PATH = "https://sellingpartnerapi-na.amazon.com".replace(/\/+$/, "");
29
+ const COLLECTION_FORMATS = {
30
+ csv: ",",
31
+ ssv: " ",
32
+ tsv: " ",
33
+ pipes: "|"
66
34
  };
67
35
  var BaseAPI = class {
68
- constructor(configuration, basePath = BASE_PATH, axios = import_axios.default) {
69
- this.basePath = basePath;
70
- this.axios = axios;
71
- if (configuration) {
72
- this.configuration = configuration;
73
- this.basePath = configuration.basePath ?? basePath;
74
- }
75
- }
76
- basePath;
77
- axios;
78
- configuration;
36
+ basePath;
37
+ axios;
38
+ configuration;
39
+ constructor(configuration, basePath = BASE_PATH, axios$12 = axios.default) {
40
+ this.basePath = basePath;
41
+ this.axios = axios$12;
42
+ if (configuration) {
43
+ this.configuration = configuration;
44
+ this.basePath = configuration.basePath ?? basePath;
45
+ }
46
+ }
79
47
  };
80
48
  var RequiredError = class extends Error {
81
- constructor(field, msg) {
82
- super(msg);
83
- this.field = field;
84
- this.name = "RequiredError";
85
- }
86
- field;
49
+ field;
50
+ constructor(field, msg) {
51
+ super(msg);
52
+ this.field = field;
53
+ this.name = "RequiredError";
54
+ }
87
55
  };
88
- var operationServerMap = {};
89
-
90
- // src/api-model/common.ts
91
- var DUMMY_BASE_URL = "https://example.com";
92
- var assertParamExists = function(functionName, paramName, paramValue) {
93
- if (paramValue === null || paramValue === void 0) {
94
- throw new RequiredError(paramName, `Required parameter ${paramName} was null or undefined when calling ${functionName}.`);
95
- }
56
+ const operationServerMap = {};
57
+ //#endregion
58
+ //#region src/api-model/common.ts
59
+ const DUMMY_BASE_URL = "https://example.com";
60
+ /**
61
+ *
62
+ * @throws {RequiredError}
63
+ */
64
+ const assertParamExists = function(functionName, paramName, paramValue) {
65
+ if (paramValue === null || paramValue === void 0) throw new RequiredError(paramName, `Required parameter ${paramName} was null or undefined when calling ${functionName}.`);
96
66
  };
97
67
  function setFlattenedQueryParams(urlSearchParams, parameter, key = "") {
98
- if (parameter == null) return;
99
- if (typeof parameter === "object") {
100
- if (Array.isArray(parameter) || parameter instanceof Set) {
101
- parameter.forEach((item) => setFlattenedQueryParams(urlSearchParams, item, key));
102
- } else {
103
- Object.keys(parameter).forEach(
104
- (currentKey) => setFlattenedQueryParams(urlSearchParams, parameter[currentKey], `${key}${key !== "" ? "." : ""}${currentKey}`)
105
- );
106
- }
107
- } else {
108
- if (urlSearchParams.has(key)) {
109
- urlSearchParams.append(key, parameter);
110
- } else {
111
- urlSearchParams.set(key, parameter);
112
- }
113
- }
68
+ if (parameter == null) return;
69
+ if (typeof parameter === "object") if (Array.isArray(parameter) || parameter instanceof Set) parameter.forEach((item) => setFlattenedQueryParams(urlSearchParams, item, key));
70
+ else Object.keys(parameter).forEach((currentKey) => setFlattenedQueryParams(urlSearchParams, parameter[currentKey], `${key}${key !== "" ? "." : ""}${currentKey}`));
71
+ else if (urlSearchParams.has(key)) urlSearchParams.append(key, parameter);
72
+ else urlSearchParams.set(key, parameter);
114
73
  }
115
- var setSearchParams = function(url, ...objects) {
116
- const searchParams = new URLSearchParams(url.search);
117
- setFlattenedQueryParams(searchParams, objects);
118
- url.search = searchParams.toString();
74
+ const setSearchParams = function(url, ...objects) {
75
+ const searchParams = new URLSearchParams(url.search);
76
+ setFlattenedQueryParams(searchParams, objects);
77
+ url.search = searchParams.toString();
119
78
  };
120
- var replaceWithSerializableTypeIfNeeded = function(key, value) {
121
- if (value instanceof Set) {
122
- return Array.from(value);
123
- } else {
124
- return value;
125
- }
79
+ /**
80
+ * JSON serialization helper function which replaces instances of unserializable types with serializable ones.
81
+ * This function will run for every key-value pair encountered by JSON.stringify while traversing an object.
82
+ * Converting a set to a string will return an empty object, so an intermediate conversion to an array is required.
83
+ */
84
+ const replaceWithSerializableTypeIfNeeded = function(key, value) {
85
+ if (value instanceof Set) return Array.from(value);
86
+ else return value;
126
87
  };
127
- var serializeDataIfNeeded = function(value, requestOptions, configuration) {
128
- const nonString = typeof value !== "string";
129
- const needsSerialization = nonString && configuration && configuration.isJsonMime ? configuration.isJsonMime(requestOptions.headers["Content-Type"]) : nonString;
130
- return needsSerialization ? JSON.stringify(value !== void 0 ? value : {}, replaceWithSerializableTypeIfNeeded) : value || "";
88
+ const serializeDataIfNeeded = function(value, requestOptions, configuration) {
89
+ const nonString = typeof value !== "string";
90
+ return (nonString && configuration && configuration.isJsonMime ? configuration.isJsonMime(requestOptions.headers["Content-Type"]) : nonString) ? JSON.stringify(value !== void 0 ? value : {}, replaceWithSerializableTypeIfNeeded) : value || "";
131
91
  };
132
- var toPathString = function(url) {
133
- return url.pathname + url.search + url.hash;
92
+ const toPathString = function(url) {
93
+ return url.pathname + url.search + url.hash;
134
94
  };
135
- var createRequestFunction = function(axiosArgs, globalAxios3, BASE_PATH2, configuration) {
136
- return (axios = globalAxios3, basePath = BASE_PATH2) => {
137
- const axiosRequestArgs = { ...axiosArgs.options, url: (axios.defaults.baseURL ? "" : configuration?.basePath ?? basePath) + axiosArgs.url };
138
- return axios.request(axiosRequestArgs);
139
- };
95
+ const createRequestFunction = function(axiosArgs, globalAxios, BASE_PATH, configuration) {
96
+ return (axios = globalAxios, basePath = BASE_PATH) => {
97
+ const axiosRequestArgs = {
98
+ ...axiosArgs.options,
99
+ url: (axios.defaults.baseURL ? "" : configuration?.basePath ?? basePath) + axiosArgs.url
100
+ };
101
+ return axios.request(axiosRequestArgs);
102
+ };
140
103
  };
141
-
142
- // src/api-model/api/aplus-content-api.ts
143
- var AplusContentApiAxiosParamCreator = function(configuration) {
144
- return {
145
- /**
146
- * Creates a new A+ Content document. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have 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).
147
- * @param {string} marketplaceId 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).
148
- * @param {PostContentDocumentRequest} postContentDocumentRequest The content document request details.
149
- * @param {*} [options] Override http request option.
150
- * @throws {RequiredError}
151
- */
152
- createContentDocument: async (marketplaceId, postContentDocumentRequest, options = {}) => {
153
- assertParamExists("createContentDocument", "marketplaceId", marketplaceId);
154
- assertParamExists("createContentDocument", "postContentDocumentRequest", postContentDocumentRequest);
155
- const localVarPath = `/aplus/2020-11-01/contentDocuments`;
156
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
157
- let baseOptions;
158
- if (configuration) {
159
- baseOptions = configuration.baseOptions;
160
- }
161
- const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
162
- const localVarHeaderParameter = {};
163
- const localVarQueryParameter = {};
164
- if (marketplaceId !== void 0) {
165
- localVarQueryParameter["marketplaceId"] = marketplaceId;
166
- }
167
- localVarHeaderParameter["Content-Type"] = "application/json";
168
- localVarHeaderParameter["Accept"] = "application/json";
169
- setSearchParams(localVarUrlObj, localVarQueryParameter);
170
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
171
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
172
- localVarRequestOptions.data = serializeDataIfNeeded(postContentDocumentRequest, localVarRequestOptions, configuration);
173
- return {
174
- url: toPathString(localVarUrlObj),
175
- options: localVarRequestOptions
176
- };
177
- },
178
- /**
179
- * Returns an A+ Content document, if available. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have 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).
180
- * @param {string} contentReferenceKey The unique reference key for the A+ Content document. A content reference key cannot form a permalink and might change in the future. A content reference key is not guaranteed to match any A+ Content identifier.
181
- * @param {string} marketplaceId 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).
182
- * @param {Set<GetContentDocumentIncludedDataSetEnum>} includedDataSet The set of A+ Content data types to include in the response.
183
- * @param {*} [options] Override http request option.
184
- * @throws {RequiredError}
185
- */
186
- getContentDocument: async (contentReferenceKey, marketplaceId, includedDataSet, options = {}) => {
187
- assertParamExists("getContentDocument", "contentReferenceKey", contentReferenceKey);
188
- assertParamExists("getContentDocument", "marketplaceId", marketplaceId);
189
- assertParamExists("getContentDocument", "includedDataSet", includedDataSet);
190
- const localVarPath = `/aplus/2020-11-01/contentDocuments/{contentReferenceKey}`.replace("{contentReferenceKey}", encodeURIComponent(String(contentReferenceKey)));
191
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
192
- let baseOptions;
193
- if (configuration) {
194
- baseOptions = configuration.baseOptions;
195
- }
196
- const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
197
- const localVarHeaderParameter = {};
198
- const localVarQueryParameter = {};
199
- if (marketplaceId !== void 0) {
200
- localVarQueryParameter["marketplaceId"] = marketplaceId;
201
- }
202
- if (includedDataSet) {
203
- localVarQueryParameter["includedDataSet"] = Array.from(includedDataSet).join(COLLECTION_FORMATS.csv);
204
- }
205
- localVarHeaderParameter["Accept"] = "application/json";
206
- setSearchParams(localVarUrlObj, localVarQueryParameter);
207
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
208
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
209
- return {
210
- url: toPathString(localVarUrlObj),
211
- options: localVarRequestOptions
212
- };
213
- },
214
- /**
215
- * Returns a list of ASINs that are related to the specified A+ Content document, if available. If you don\'t include the `asinSet` parameter, this operation returns all ASINs related to the content document. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have 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).
216
- * @param {string} contentReferenceKey The unique reference key for the A+ Content document. A content reference key cannot form a permalink and might change in the future. A content reference key is not guaranteed to match any A+ Content identifier.
217
- * @param {string} marketplaceId 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).
218
- * @param {Set<ListContentDocumentAsinRelationsIncludedDataSetEnum>} [includedDataSet] The set of A+ Content data types to include in the response. If you don\&#39;t include this parameter, the operation returns the related ASINs without metadata.
219
- * @param {Set<string>} [asinSet] The set of ASINs.
220
- * @param {string} [pageToken] A token that you use to fetch a specific page when there are multiple pages of results.
221
- * @param {*} [options] Override http request option.
222
- * @throws {RequiredError}
223
- */
224
- listContentDocumentAsinRelations: async (contentReferenceKey, marketplaceId, includedDataSet, asinSet, pageToken, options = {}) => {
225
- assertParamExists("listContentDocumentAsinRelations", "contentReferenceKey", contentReferenceKey);
226
- assertParamExists("listContentDocumentAsinRelations", "marketplaceId", marketplaceId);
227
- const localVarPath = `/aplus/2020-11-01/contentDocuments/{contentReferenceKey}/asins`.replace("{contentReferenceKey}", encodeURIComponent(String(contentReferenceKey)));
228
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
229
- let baseOptions;
230
- if (configuration) {
231
- baseOptions = configuration.baseOptions;
232
- }
233
- const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
234
- const localVarHeaderParameter = {};
235
- const localVarQueryParameter = {};
236
- if (marketplaceId !== void 0) {
237
- localVarQueryParameter["marketplaceId"] = marketplaceId;
238
- }
239
- if (includedDataSet) {
240
- localVarQueryParameter["includedDataSet"] = Array.from(includedDataSet).join(COLLECTION_FORMATS.csv);
241
- }
242
- if (asinSet) {
243
- localVarQueryParameter["asinSet"] = Array.from(asinSet).join(COLLECTION_FORMATS.csv);
244
- }
245
- if (pageToken !== void 0) {
246
- localVarQueryParameter["pageToken"] = pageToken;
247
- }
248
- localVarHeaderParameter["Accept"] = "application/json";
249
- setSearchParams(localVarUrlObj, localVarQueryParameter);
250
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
251
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
252
- return {
253
- url: toPathString(localVarUrlObj),
254
- options: localVarRequestOptions
255
- };
256
- },
257
- /**
258
- * Submits an A+ Content document for review, approval, and publishing. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have 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).
259
- * @param {string} contentReferenceKey The unique reference key for the A+ Content document. A content reference key cannot form a permalink and might change in the future. A content reference key is not guaranteed to match any A+ content identifier.
260
- * @param {string} marketplaceId 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).
261
- * @param {*} [options] Override http request option.
262
- * @throws {RequiredError}
263
- */
264
- postContentDocumentApprovalSubmission: async (contentReferenceKey, marketplaceId, options = {}) => {
265
- assertParamExists("postContentDocumentApprovalSubmission", "contentReferenceKey", contentReferenceKey);
266
- assertParamExists("postContentDocumentApprovalSubmission", "marketplaceId", marketplaceId);
267
- const localVarPath = `/aplus/2020-11-01/contentDocuments/{contentReferenceKey}/approvalSubmissions`.replace("{contentReferenceKey}", encodeURIComponent(String(contentReferenceKey)));
268
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
269
- let baseOptions;
270
- if (configuration) {
271
- baseOptions = configuration.baseOptions;
272
- }
273
- const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
274
- const localVarHeaderParameter = {};
275
- const localVarQueryParameter = {};
276
- if (marketplaceId !== void 0) {
277
- localVarQueryParameter["marketplaceId"] = marketplaceId;
278
- }
279
- localVarHeaderParameter["Accept"] = "application/json";
280
- setSearchParams(localVarUrlObj, localVarQueryParameter);
281
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
282
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
283
- return {
284
- url: toPathString(localVarUrlObj),
285
- options: localVarRequestOptions
286
- };
287
- },
288
- /**
289
- * Replaces all ASINs related to the specified A+ Content document, if available. This operation can add or remove ASINs, depending on the current set of related ASINs. Removing an ASIN will suspend the content document from that ASIN. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have 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).
290
- * @param {string} contentReferenceKey The unique reference key for the A+ Content document. A content reference key cannot form a permalink and might change in the future. A content reference key is not guaranteed to match any A+ content identifier.
291
- * @param {string} marketplaceId 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).
292
- * @param {PostContentDocumentAsinRelationsRequest} postContentDocumentAsinRelationsRequest The request details for the content document ASIN relations.
293
- * @param {*} [options] Override http request option.
294
- * @throws {RequiredError}
295
- */
296
- postContentDocumentAsinRelations: async (contentReferenceKey, marketplaceId, postContentDocumentAsinRelationsRequest, options = {}) => {
297
- assertParamExists("postContentDocumentAsinRelations", "contentReferenceKey", contentReferenceKey);
298
- assertParamExists("postContentDocumentAsinRelations", "marketplaceId", marketplaceId);
299
- assertParamExists("postContentDocumentAsinRelations", "postContentDocumentAsinRelationsRequest", postContentDocumentAsinRelationsRequest);
300
- const localVarPath = `/aplus/2020-11-01/contentDocuments/{contentReferenceKey}/asins`.replace("{contentReferenceKey}", encodeURIComponent(String(contentReferenceKey)));
301
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
302
- let baseOptions;
303
- if (configuration) {
304
- baseOptions = configuration.baseOptions;
305
- }
306
- const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
307
- const localVarHeaderParameter = {};
308
- const localVarQueryParameter = {};
309
- if (marketplaceId !== void 0) {
310
- localVarQueryParameter["marketplaceId"] = marketplaceId;
311
- }
312
- localVarHeaderParameter["Content-Type"] = "application/json";
313
- localVarHeaderParameter["Accept"] = "application/json";
314
- setSearchParams(localVarUrlObj, localVarQueryParameter);
315
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
316
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
317
- localVarRequestOptions.data = serializeDataIfNeeded(postContentDocumentAsinRelationsRequest, localVarRequestOptions, configuration);
318
- return {
319
- url: toPathString(localVarUrlObj),
320
- options: localVarRequestOptions
321
- };
322
- },
323
- /**
324
- * Submits a request to suspend visible A+ Content. This doesn\'t delete the content document or the ASIN relations. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have 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).
325
- * @param {string} contentReferenceKey The unique reference key for the A+ Content document. A content reference key cannot form a permalink and might change in the future. A content reference key is not guaranteed to match any A+ content identifier.
326
- * @param {string} marketplaceId 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).
327
- * @param {*} [options] Override http request option.
328
- * @throws {RequiredError}
329
- */
330
- postContentDocumentSuspendSubmission: async (contentReferenceKey, marketplaceId, options = {}) => {
331
- assertParamExists("postContentDocumentSuspendSubmission", "contentReferenceKey", contentReferenceKey);
332
- assertParamExists("postContentDocumentSuspendSubmission", "marketplaceId", marketplaceId);
333
- const localVarPath = `/aplus/2020-11-01/contentDocuments/{contentReferenceKey}/suspendSubmissions`.replace("{contentReferenceKey}", encodeURIComponent(String(contentReferenceKey)));
334
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
335
- let baseOptions;
336
- if (configuration) {
337
- baseOptions = configuration.baseOptions;
338
- }
339
- const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
340
- const localVarHeaderParameter = {};
341
- const localVarQueryParameter = {};
342
- if (marketplaceId !== void 0) {
343
- localVarQueryParameter["marketplaceId"] = marketplaceId;
344
- }
345
- localVarHeaderParameter["Accept"] = "application/json";
346
- setSearchParams(localVarUrlObj, localVarQueryParameter);
347
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
348
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
349
- return {
350
- url: toPathString(localVarUrlObj),
351
- options: localVarRequestOptions
352
- };
353
- },
354
- /**
355
- * Returns a list of all A+ Content documents, including metadata, that are assigned to a selling partner. To get the actual contents of the A+ Content documents, call the `getContentDocument` operation. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have 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).
356
- * @param {string} marketplaceId 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).
357
- * @param {string} [pageToken] A token that you use to fetch a specific page when there are multiple pages of results.
358
- * @param {*} [options] Override http request option.
359
- * @throws {RequiredError}
360
- */
361
- searchContentDocuments: async (marketplaceId, pageToken, options = {}) => {
362
- assertParamExists("searchContentDocuments", "marketplaceId", marketplaceId);
363
- const localVarPath = `/aplus/2020-11-01/contentDocuments`;
364
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
365
- let baseOptions;
366
- if (configuration) {
367
- baseOptions = configuration.baseOptions;
368
- }
369
- const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
370
- const localVarHeaderParameter = {};
371
- const localVarQueryParameter = {};
372
- if (marketplaceId !== void 0) {
373
- localVarQueryParameter["marketplaceId"] = marketplaceId;
374
- }
375
- if (pageToken !== void 0) {
376
- localVarQueryParameter["pageToken"] = pageToken;
377
- }
378
- localVarHeaderParameter["Accept"] = "application/json";
379
- setSearchParams(localVarUrlObj, localVarQueryParameter);
380
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
381
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
382
- return {
383
- url: toPathString(localVarUrlObj),
384
- options: localVarRequestOptions
385
- };
386
- },
387
- /**
388
- * Searches for A+ Content publishing records, if available. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have 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).
389
- * @param {string} marketplaceId 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).
390
- * @param {string} asin The Amazon Standard Identification Number (ASIN) is the unique identifier of a product within a marketplace.
391
- * @param {string} [pageToken] A token that you use to fetch a specific page when there are multiple pages of results.
392
- * @param {*} [options] Override http request option.
393
- * @throws {RequiredError}
394
- */
395
- searchContentPublishRecords: async (marketplaceId, asin, pageToken, options = {}) => {
396
- assertParamExists("searchContentPublishRecords", "marketplaceId", marketplaceId);
397
- assertParamExists("searchContentPublishRecords", "asin", asin);
398
- const localVarPath = `/aplus/2020-11-01/contentPublishRecords`;
399
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
400
- let baseOptions;
401
- if (configuration) {
402
- baseOptions = configuration.baseOptions;
403
- }
404
- const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
405
- const localVarHeaderParameter = {};
406
- const localVarQueryParameter = {};
407
- if (marketplaceId !== void 0) {
408
- localVarQueryParameter["marketplaceId"] = marketplaceId;
409
- }
410
- if (asin !== void 0) {
411
- localVarQueryParameter["asin"] = asin;
412
- }
413
- if (pageToken !== void 0) {
414
- localVarQueryParameter["pageToken"] = pageToken;
415
- }
416
- localVarHeaderParameter["Accept"] = "application/json";
417
- setSearchParams(localVarUrlObj, localVarQueryParameter);
418
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
419
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
420
- return {
421
- url: toPathString(localVarUrlObj),
422
- options: localVarRequestOptions
423
- };
424
- },
425
- /**
426
- * Updates an existing A+ Content document. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have 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).
427
- * @param {string} contentReferenceKey The unique reference key for the A+ Content document. A content reference key cannot form a permalink and might change in the future. A content reference key is not guaranteed to match any A+ Content identifier.
428
- * @param {string} marketplaceId 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).
429
- * @param {PostContentDocumentRequest} postContentDocumentRequest The content document request details.
430
- * @param {*} [options] Override http request option.
431
- * @throws {RequiredError}
432
- */
433
- updateContentDocument: async (contentReferenceKey, marketplaceId, postContentDocumentRequest, options = {}) => {
434
- assertParamExists("updateContentDocument", "contentReferenceKey", contentReferenceKey);
435
- assertParamExists("updateContentDocument", "marketplaceId", marketplaceId);
436
- assertParamExists("updateContentDocument", "postContentDocumentRequest", postContentDocumentRequest);
437
- const localVarPath = `/aplus/2020-11-01/contentDocuments/{contentReferenceKey}`.replace("{contentReferenceKey}", encodeURIComponent(String(contentReferenceKey)));
438
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
439
- let baseOptions;
440
- if (configuration) {
441
- baseOptions = configuration.baseOptions;
442
- }
443
- const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
444
- const localVarHeaderParameter = {};
445
- const localVarQueryParameter = {};
446
- if (marketplaceId !== void 0) {
447
- localVarQueryParameter["marketplaceId"] = marketplaceId;
448
- }
449
- localVarHeaderParameter["Content-Type"] = "application/json";
450
- localVarHeaderParameter["Accept"] = "application/json";
451
- setSearchParams(localVarUrlObj, localVarQueryParameter);
452
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
453
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
454
- localVarRequestOptions.data = serializeDataIfNeeded(postContentDocumentRequest, localVarRequestOptions, configuration);
455
- return {
456
- url: toPathString(localVarUrlObj),
457
- options: localVarRequestOptions
458
- };
459
- },
460
- /**
461
- * Checks if the A+ Content document is valid for use on a set of ASINs. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have 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).
462
- * @param {string} marketplaceId 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).
463
- * @param {PostContentDocumentRequest} postContentDocumentRequest The content document request details.
464
- * @param {Set<string>} [asinSet] The set of ASINs.
465
- * @param {*} [options] Override http request option.
466
- * @throws {RequiredError}
467
- */
468
- validateContentDocumentAsinRelations: async (marketplaceId, postContentDocumentRequest, asinSet, options = {}) => {
469
- assertParamExists("validateContentDocumentAsinRelations", "marketplaceId", marketplaceId);
470
- assertParamExists("validateContentDocumentAsinRelations", "postContentDocumentRequest", postContentDocumentRequest);
471
- const localVarPath = `/aplus/2020-11-01/contentAsinValidations`;
472
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
473
- let baseOptions;
474
- if (configuration) {
475
- baseOptions = configuration.baseOptions;
476
- }
477
- const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
478
- const localVarHeaderParameter = {};
479
- const localVarQueryParameter = {};
480
- if (marketplaceId !== void 0) {
481
- localVarQueryParameter["marketplaceId"] = marketplaceId;
482
- }
483
- if (asinSet) {
484
- localVarQueryParameter["asinSet"] = Array.from(asinSet).join(COLLECTION_FORMATS.csv);
485
- }
486
- localVarHeaderParameter["Content-Type"] = "application/json";
487
- localVarHeaderParameter["Accept"] = "application/json";
488
- setSearchParams(localVarUrlObj, localVarQueryParameter);
489
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
490
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
491
- localVarRequestOptions.data = serializeDataIfNeeded(postContentDocumentRequest, localVarRequestOptions, configuration);
492
- return {
493
- url: toPathString(localVarUrlObj),
494
- options: localVarRequestOptions
495
- };
496
- }
497
- };
104
+ //#endregion
105
+ //#region src/api-model/api/aplus-content-api.ts
106
+ /**
107
+ * AplusContentApi - axios parameter creator
108
+ */
109
+ const AplusContentApiAxiosParamCreator = function(configuration) {
110
+ return {
111
+ /**
112
+ * Creates a new A+ Content document. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have 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).
113
+ * @param {string} marketplaceId 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).
114
+ * @param {PostContentDocumentRequest} postContentDocumentRequest The content document request details.
115
+ * @param {*} [options] Override http request option.
116
+ * @throws {RequiredError}
117
+ */
118
+ createContentDocument: async (marketplaceId, postContentDocumentRequest, options = {}) => {
119
+ assertParamExists("createContentDocument", "marketplaceId", marketplaceId);
120
+ assertParamExists("createContentDocument", "postContentDocumentRequest", postContentDocumentRequest);
121
+ const localVarUrlObj = new URL(`/aplus/2020-11-01/contentDocuments`, DUMMY_BASE_URL);
122
+ let baseOptions;
123
+ if (configuration) baseOptions = configuration.baseOptions;
124
+ const localVarRequestOptions = {
125
+ method: "POST",
126
+ ...baseOptions,
127
+ ...options
128
+ };
129
+ const localVarHeaderParameter = {};
130
+ const localVarQueryParameter = {};
131
+ if (marketplaceId !== void 0) localVarQueryParameter["marketplaceId"] = marketplaceId;
132
+ localVarHeaderParameter["Content-Type"] = "application/json";
133
+ localVarHeaderParameter["Accept"] = "application/json";
134
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
135
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
136
+ localVarRequestOptions.headers = {
137
+ ...localVarHeaderParameter,
138
+ ...headersFromBaseOptions,
139
+ ...options.headers
140
+ };
141
+ localVarRequestOptions.data = serializeDataIfNeeded(postContentDocumentRequest, localVarRequestOptions, configuration);
142
+ return {
143
+ url: toPathString(localVarUrlObj),
144
+ options: localVarRequestOptions
145
+ };
146
+ },
147
+ /**
148
+ * Returns an A+ Content document, if available. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have 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).
149
+ * @param {string} contentReferenceKey The unique reference key for the A+ Content document. A content reference key cannot form a permalink and might change in the future. A content reference key is not guaranteed to match any A+ Content identifier.
150
+ * @param {string} marketplaceId 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).
151
+ * @param {Set<GetContentDocumentIncludedDataSetEnum>} includedDataSet The set of A+ Content data types to include in the response.
152
+ * @param {*} [options] Override http request option.
153
+ * @throws {RequiredError}
154
+ */
155
+ getContentDocument: async (contentReferenceKey, marketplaceId, includedDataSet, options = {}) => {
156
+ assertParamExists("getContentDocument", "contentReferenceKey", contentReferenceKey);
157
+ assertParamExists("getContentDocument", "marketplaceId", marketplaceId);
158
+ assertParamExists("getContentDocument", "includedDataSet", includedDataSet);
159
+ const localVarPath = `/aplus/2020-11-01/contentDocuments/{contentReferenceKey}`.replace("{contentReferenceKey}", encodeURIComponent(String(contentReferenceKey)));
160
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
161
+ let baseOptions;
162
+ if (configuration) baseOptions = configuration.baseOptions;
163
+ const localVarRequestOptions = {
164
+ method: "GET",
165
+ ...baseOptions,
166
+ ...options
167
+ };
168
+ const localVarHeaderParameter = {};
169
+ const localVarQueryParameter = {};
170
+ if (marketplaceId !== void 0) localVarQueryParameter["marketplaceId"] = marketplaceId;
171
+ if (includedDataSet) localVarQueryParameter["includedDataSet"] = Array.from(includedDataSet).join(COLLECTION_FORMATS.csv);
172
+ localVarHeaderParameter["Accept"] = "application/json";
173
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
174
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
175
+ localVarRequestOptions.headers = {
176
+ ...localVarHeaderParameter,
177
+ ...headersFromBaseOptions,
178
+ ...options.headers
179
+ };
180
+ return {
181
+ url: toPathString(localVarUrlObj),
182
+ options: localVarRequestOptions
183
+ };
184
+ },
185
+ /**
186
+ * Returns a list of ASINs that are related to the specified A+ Content document, if available. If you don\'t include the `asinSet` parameter, this operation returns all ASINs related to the content document. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have 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).
187
+ * @param {string} contentReferenceKey The unique reference key for the A+ Content document. A content reference key cannot form a permalink and might change in the future. A content reference key is not guaranteed to match any A+ Content identifier.
188
+ * @param {string} marketplaceId 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).
189
+ * @param {Set<ListContentDocumentAsinRelationsIncludedDataSetEnum>} [includedDataSet] The set of A+ Content data types to include in the response. If you don\&#39;t include this parameter, the operation returns the related ASINs without metadata.
190
+ * @param {Set<string>} [asinSet] The set of ASINs.
191
+ * @param {string} [pageToken] A token that you use to fetch a specific page when there are multiple pages of results.
192
+ * @param {*} [options] Override http request option.
193
+ * @throws {RequiredError}
194
+ */
195
+ listContentDocumentAsinRelations: async (contentReferenceKey, marketplaceId, includedDataSet, asinSet, pageToken, options = {}) => {
196
+ assertParamExists("listContentDocumentAsinRelations", "contentReferenceKey", contentReferenceKey);
197
+ assertParamExists("listContentDocumentAsinRelations", "marketplaceId", marketplaceId);
198
+ const localVarPath = `/aplus/2020-11-01/contentDocuments/{contentReferenceKey}/asins`.replace("{contentReferenceKey}", encodeURIComponent(String(contentReferenceKey)));
199
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
200
+ let baseOptions;
201
+ if (configuration) baseOptions = configuration.baseOptions;
202
+ const localVarRequestOptions = {
203
+ method: "GET",
204
+ ...baseOptions,
205
+ ...options
206
+ };
207
+ const localVarHeaderParameter = {};
208
+ const localVarQueryParameter = {};
209
+ if (marketplaceId !== void 0) localVarQueryParameter["marketplaceId"] = marketplaceId;
210
+ if (includedDataSet) localVarQueryParameter["includedDataSet"] = Array.from(includedDataSet).join(COLLECTION_FORMATS.csv);
211
+ if (asinSet) localVarQueryParameter["asinSet"] = Array.from(asinSet).join(COLLECTION_FORMATS.csv);
212
+ if (pageToken !== void 0) localVarQueryParameter["pageToken"] = pageToken;
213
+ localVarHeaderParameter["Accept"] = "application/json";
214
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
215
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
216
+ localVarRequestOptions.headers = {
217
+ ...localVarHeaderParameter,
218
+ ...headersFromBaseOptions,
219
+ ...options.headers
220
+ };
221
+ return {
222
+ url: toPathString(localVarUrlObj),
223
+ options: localVarRequestOptions
224
+ };
225
+ },
226
+ /**
227
+ * Submits an A+ Content document for review, approval, and publishing. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have 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).
228
+ * @param {string} contentReferenceKey The unique reference key for the A+ Content document. A content reference key cannot form a permalink and might change in the future. A content reference key is not guaranteed to match any A+ content identifier.
229
+ * @param {string} marketplaceId 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).
230
+ * @param {*} [options] Override http request option.
231
+ * @throws {RequiredError}
232
+ */
233
+ postContentDocumentApprovalSubmission: async (contentReferenceKey, marketplaceId, options = {}) => {
234
+ assertParamExists("postContentDocumentApprovalSubmission", "contentReferenceKey", contentReferenceKey);
235
+ assertParamExists("postContentDocumentApprovalSubmission", "marketplaceId", marketplaceId);
236
+ const localVarPath = `/aplus/2020-11-01/contentDocuments/{contentReferenceKey}/approvalSubmissions`.replace("{contentReferenceKey}", encodeURIComponent(String(contentReferenceKey)));
237
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
238
+ let baseOptions;
239
+ if (configuration) baseOptions = configuration.baseOptions;
240
+ const localVarRequestOptions = {
241
+ method: "POST",
242
+ ...baseOptions,
243
+ ...options
244
+ };
245
+ const localVarHeaderParameter = {};
246
+ const localVarQueryParameter = {};
247
+ if (marketplaceId !== void 0) localVarQueryParameter["marketplaceId"] = marketplaceId;
248
+ localVarHeaderParameter["Accept"] = "application/json";
249
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
250
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
251
+ localVarRequestOptions.headers = {
252
+ ...localVarHeaderParameter,
253
+ ...headersFromBaseOptions,
254
+ ...options.headers
255
+ };
256
+ return {
257
+ url: toPathString(localVarUrlObj),
258
+ options: localVarRequestOptions
259
+ };
260
+ },
261
+ /**
262
+ * Replaces all ASINs related to the specified A+ Content document, if available. This operation can add or remove ASINs, depending on the current set of related ASINs. Removing an ASIN will suspend the content document from that ASIN. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have 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).
263
+ * @param {string} contentReferenceKey The unique reference key for the A+ Content document. A content reference key cannot form a permalink and might change in the future. A content reference key is not guaranteed to match any A+ content identifier.
264
+ * @param {string} marketplaceId 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).
265
+ * @param {PostContentDocumentAsinRelationsRequest} postContentDocumentAsinRelationsRequest The request details for the content document ASIN relations.
266
+ * @param {*} [options] Override http request option.
267
+ * @throws {RequiredError}
268
+ */
269
+ postContentDocumentAsinRelations: async (contentReferenceKey, marketplaceId, postContentDocumentAsinRelationsRequest, options = {}) => {
270
+ assertParamExists("postContentDocumentAsinRelations", "contentReferenceKey", contentReferenceKey);
271
+ assertParamExists("postContentDocumentAsinRelations", "marketplaceId", marketplaceId);
272
+ assertParamExists("postContentDocumentAsinRelations", "postContentDocumentAsinRelationsRequest", postContentDocumentAsinRelationsRequest);
273
+ const localVarPath = `/aplus/2020-11-01/contentDocuments/{contentReferenceKey}/asins`.replace("{contentReferenceKey}", encodeURIComponent(String(contentReferenceKey)));
274
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
275
+ let baseOptions;
276
+ if (configuration) baseOptions = configuration.baseOptions;
277
+ const localVarRequestOptions = {
278
+ method: "POST",
279
+ ...baseOptions,
280
+ ...options
281
+ };
282
+ const localVarHeaderParameter = {};
283
+ const localVarQueryParameter = {};
284
+ if (marketplaceId !== void 0) localVarQueryParameter["marketplaceId"] = marketplaceId;
285
+ localVarHeaderParameter["Content-Type"] = "application/json";
286
+ localVarHeaderParameter["Accept"] = "application/json";
287
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
288
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
289
+ localVarRequestOptions.headers = {
290
+ ...localVarHeaderParameter,
291
+ ...headersFromBaseOptions,
292
+ ...options.headers
293
+ };
294
+ localVarRequestOptions.data = serializeDataIfNeeded(postContentDocumentAsinRelationsRequest, localVarRequestOptions, configuration);
295
+ return {
296
+ url: toPathString(localVarUrlObj),
297
+ options: localVarRequestOptions
298
+ };
299
+ },
300
+ /**
301
+ * Submits a request to suspend visible A+ Content. This doesn\'t delete the content document or the ASIN relations. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have 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).
302
+ * @param {string} contentReferenceKey The unique reference key for the A+ Content document. A content reference key cannot form a permalink and might change in the future. A content reference key is not guaranteed to match any A+ content identifier.
303
+ * @param {string} marketplaceId 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).
304
+ * @param {*} [options] Override http request option.
305
+ * @throws {RequiredError}
306
+ */
307
+ postContentDocumentSuspendSubmission: async (contentReferenceKey, marketplaceId, options = {}) => {
308
+ assertParamExists("postContentDocumentSuspendSubmission", "contentReferenceKey", contentReferenceKey);
309
+ assertParamExists("postContentDocumentSuspendSubmission", "marketplaceId", marketplaceId);
310
+ const localVarPath = `/aplus/2020-11-01/contentDocuments/{contentReferenceKey}/suspendSubmissions`.replace("{contentReferenceKey}", encodeURIComponent(String(contentReferenceKey)));
311
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
312
+ let baseOptions;
313
+ if (configuration) baseOptions = configuration.baseOptions;
314
+ const localVarRequestOptions = {
315
+ method: "POST",
316
+ ...baseOptions,
317
+ ...options
318
+ };
319
+ const localVarHeaderParameter = {};
320
+ const localVarQueryParameter = {};
321
+ if (marketplaceId !== void 0) localVarQueryParameter["marketplaceId"] = marketplaceId;
322
+ localVarHeaderParameter["Accept"] = "application/json";
323
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
324
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
325
+ localVarRequestOptions.headers = {
326
+ ...localVarHeaderParameter,
327
+ ...headersFromBaseOptions,
328
+ ...options.headers
329
+ };
330
+ return {
331
+ url: toPathString(localVarUrlObj),
332
+ options: localVarRequestOptions
333
+ };
334
+ },
335
+ /**
336
+ * Returns a list of all A+ Content documents, including metadata, that are assigned to a selling partner. To get the actual contents of the A+ Content documents, call the `getContentDocument` operation. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have 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).
337
+ * @param {string} marketplaceId 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).
338
+ * @param {string} [pageToken] A token that you use to fetch a specific page when there are multiple pages of results.
339
+ * @param {*} [options] Override http request option.
340
+ * @throws {RequiredError}
341
+ */
342
+ searchContentDocuments: async (marketplaceId, pageToken, options = {}) => {
343
+ assertParamExists("searchContentDocuments", "marketplaceId", marketplaceId);
344
+ const localVarUrlObj = new URL(`/aplus/2020-11-01/contentDocuments`, DUMMY_BASE_URL);
345
+ let baseOptions;
346
+ if (configuration) baseOptions = configuration.baseOptions;
347
+ const localVarRequestOptions = {
348
+ method: "GET",
349
+ ...baseOptions,
350
+ ...options
351
+ };
352
+ const localVarHeaderParameter = {};
353
+ const localVarQueryParameter = {};
354
+ if (marketplaceId !== void 0) localVarQueryParameter["marketplaceId"] = marketplaceId;
355
+ if (pageToken !== void 0) localVarQueryParameter["pageToken"] = pageToken;
356
+ localVarHeaderParameter["Accept"] = "application/json";
357
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
358
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
359
+ localVarRequestOptions.headers = {
360
+ ...localVarHeaderParameter,
361
+ ...headersFromBaseOptions,
362
+ ...options.headers
363
+ };
364
+ return {
365
+ url: toPathString(localVarUrlObj),
366
+ options: localVarRequestOptions
367
+ };
368
+ },
369
+ /**
370
+ * Searches for A+ Content publishing records, if available. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have 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).
371
+ * @param {string} marketplaceId 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).
372
+ * @param {string} asin The Amazon Standard Identification Number (ASIN) is the unique identifier of a product within a marketplace.
373
+ * @param {string} [pageToken] A token that you use to fetch a specific page when there are multiple pages of results.
374
+ * @param {*} [options] Override http request option.
375
+ * @throws {RequiredError}
376
+ */
377
+ searchContentPublishRecords: async (marketplaceId, asin, pageToken, options = {}) => {
378
+ assertParamExists("searchContentPublishRecords", "marketplaceId", marketplaceId);
379
+ assertParamExists("searchContentPublishRecords", "asin", asin);
380
+ const localVarUrlObj = new URL(`/aplus/2020-11-01/contentPublishRecords`, DUMMY_BASE_URL);
381
+ let baseOptions;
382
+ if (configuration) baseOptions = configuration.baseOptions;
383
+ const localVarRequestOptions = {
384
+ method: "GET",
385
+ ...baseOptions,
386
+ ...options
387
+ };
388
+ const localVarHeaderParameter = {};
389
+ const localVarQueryParameter = {};
390
+ if (marketplaceId !== void 0) localVarQueryParameter["marketplaceId"] = marketplaceId;
391
+ if (asin !== void 0) localVarQueryParameter["asin"] = asin;
392
+ if (pageToken !== void 0) localVarQueryParameter["pageToken"] = pageToken;
393
+ localVarHeaderParameter["Accept"] = "application/json";
394
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
395
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
396
+ localVarRequestOptions.headers = {
397
+ ...localVarHeaderParameter,
398
+ ...headersFromBaseOptions,
399
+ ...options.headers
400
+ };
401
+ return {
402
+ url: toPathString(localVarUrlObj),
403
+ options: localVarRequestOptions
404
+ };
405
+ },
406
+ /**
407
+ * Updates an existing A+ Content document. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have 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).
408
+ * @param {string} contentReferenceKey The unique reference key for the A+ Content document. A content reference key cannot form a permalink and might change in the future. A content reference key is not guaranteed to match any A+ Content identifier.
409
+ * @param {string} marketplaceId 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).
410
+ * @param {PostContentDocumentRequest} postContentDocumentRequest The content document request details.
411
+ * @param {*} [options] Override http request option.
412
+ * @throws {RequiredError}
413
+ */
414
+ updateContentDocument: async (contentReferenceKey, marketplaceId, postContentDocumentRequest, options = {}) => {
415
+ assertParamExists("updateContentDocument", "contentReferenceKey", contentReferenceKey);
416
+ assertParamExists("updateContentDocument", "marketplaceId", marketplaceId);
417
+ assertParamExists("updateContentDocument", "postContentDocumentRequest", postContentDocumentRequest);
418
+ const localVarPath = `/aplus/2020-11-01/contentDocuments/{contentReferenceKey}`.replace("{contentReferenceKey}", encodeURIComponent(String(contentReferenceKey)));
419
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
420
+ let baseOptions;
421
+ if (configuration) baseOptions = configuration.baseOptions;
422
+ const localVarRequestOptions = {
423
+ method: "POST",
424
+ ...baseOptions,
425
+ ...options
426
+ };
427
+ const localVarHeaderParameter = {};
428
+ const localVarQueryParameter = {};
429
+ if (marketplaceId !== void 0) localVarQueryParameter["marketplaceId"] = marketplaceId;
430
+ localVarHeaderParameter["Content-Type"] = "application/json";
431
+ localVarHeaderParameter["Accept"] = "application/json";
432
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
433
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
434
+ localVarRequestOptions.headers = {
435
+ ...localVarHeaderParameter,
436
+ ...headersFromBaseOptions,
437
+ ...options.headers
438
+ };
439
+ localVarRequestOptions.data = serializeDataIfNeeded(postContentDocumentRequest, localVarRequestOptions, configuration);
440
+ return {
441
+ url: toPathString(localVarUrlObj),
442
+ options: localVarRequestOptions
443
+ };
444
+ },
445
+ /**
446
+ * Checks if the A+ Content document is valid for use on a set of ASINs. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have 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).
447
+ * @param {string} marketplaceId 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).
448
+ * @param {PostContentDocumentRequest} postContentDocumentRequest The content document request details.
449
+ * @param {Set<string>} [asinSet] The set of ASINs.
450
+ * @param {*} [options] Override http request option.
451
+ * @throws {RequiredError}
452
+ */
453
+ validateContentDocumentAsinRelations: async (marketplaceId, postContentDocumentRequest, asinSet, options = {}) => {
454
+ assertParamExists("validateContentDocumentAsinRelations", "marketplaceId", marketplaceId);
455
+ assertParamExists("validateContentDocumentAsinRelations", "postContentDocumentRequest", postContentDocumentRequest);
456
+ const localVarUrlObj = new URL(`/aplus/2020-11-01/contentAsinValidations`, DUMMY_BASE_URL);
457
+ let baseOptions;
458
+ if (configuration) baseOptions = configuration.baseOptions;
459
+ const localVarRequestOptions = {
460
+ method: "POST",
461
+ ...baseOptions,
462
+ ...options
463
+ };
464
+ const localVarHeaderParameter = {};
465
+ const localVarQueryParameter = {};
466
+ if (marketplaceId !== void 0) localVarQueryParameter["marketplaceId"] = marketplaceId;
467
+ if (asinSet) localVarQueryParameter["asinSet"] = Array.from(asinSet).join(COLLECTION_FORMATS.csv);
468
+ localVarHeaderParameter["Content-Type"] = "application/json";
469
+ localVarHeaderParameter["Accept"] = "application/json";
470
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
471
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
472
+ localVarRequestOptions.headers = {
473
+ ...localVarHeaderParameter,
474
+ ...headersFromBaseOptions,
475
+ ...options.headers
476
+ };
477
+ localVarRequestOptions.data = serializeDataIfNeeded(postContentDocumentRequest, localVarRequestOptions, configuration);
478
+ return {
479
+ url: toPathString(localVarUrlObj),
480
+ options: localVarRequestOptions
481
+ };
482
+ }
483
+ };
498
484
  };
499
- var AplusContentApiFp = function(configuration) {
500
- const localVarAxiosParamCreator = AplusContentApiAxiosParamCreator(configuration);
501
- return {
502
- /**
503
- * Creates a new A+ Content document. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have 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).
504
- * @param {string} marketplaceId 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).
505
- * @param {PostContentDocumentRequest} postContentDocumentRequest The content document request details.
506
- * @param {*} [options] Override http request option.
507
- * @throws {RequiredError}
508
- */
509
- async createContentDocument(marketplaceId, postContentDocumentRequest, options) {
510
- const localVarAxiosArgs = await localVarAxiosParamCreator.createContentDocument(marketplaceId, postContentDocumentRequest, options);
511
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
512
- const localVarOperationServerBasePath = operationServerMap["AplusContentApi.createContentDocument"]?.[localVarOperationServerIndex]?.url;
513
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, import_axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
514
- },
515
- /**
516
- * Returns an A+ Content document, if available. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have 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).
517
- * @param {string} contentReferenceKey The unique reference key for the A+ Content document. A content reference key cannot form a permalink and might change in the future. A content reference key is not guaranteed to match any A+ Content identifier.
518
- * @param {string} marketplaceId 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).
519
- * @param {Set<GetContentDocumentIncludedDataSetEnum>} includedDataSet The set of A+ Content data types to include in the response.
520
- * @param {*} [options] Override http request option.
521
- * @throws {RequiredError}
522
- */
523
- async getContentDocument(contentReferenceKey, marketplaceId, includedDataSet, options) {
524
- const localVarAxiosArgs = await localVarAxiosParamCreator.getContentDocument(contentReferenceKey, marketplaceId, includedDataSet, options);
525
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
526
- const localVarOperationServerBasePath = operationServerMap["AplusContentApi.getContentDocument"]?.[localVarOperationServerIndex]?.url;
527
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, import_axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
528
- },
529
- /**
530
- * Returns a list of ASINs that are related to the specified A+ Content document, if available. If you don\'t include the `asinSet` parameter, this operation returns all ASINs related to the content document. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have 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).
531
- * @param {string} contentReferenceKey The unique reference key for the A+ Content document. A content reference key cannot form a permalink and might change in the future. A content reference key is not guaranteed to match any A+ Content identifier.
532
- * @param {string} marketplaceId 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).
533
- * @param {Set<ListContentDocumentAsinRelationsIncludedDataSetEnum>} [includedDataSet] The set of A+ Content data types to include in the response. If you don\&#39;t include this parameter, the operation returns the related ASINs without metadata.
534
- * @param {Set<string>} [asinSet] The set of ASINs.
535
- * @param {string} [pageToken] A token that you use to fetch a specific page when there are multiple pages of results.
536
- * @param {*} [options] Override http request option.
537
- * @throws {RequiredError}
538
- */
539
- async listContentDocumentAsinRelations(contentReferenceKey, marketplaceId, includedDataSet, asinSet, pageToken, options) {
540
- const localVarAxiosArgs = await localVarAxiosParamCreator.listContentDocumentAsinRelations(contentReferenceKey, marketplaceId, includedDataSet, asinSet, pageToken, options);
541
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
542
- const localVarOperationServerBasePath = operationServerMap["AplusContentApi.listContentDocumentAsinRelations"]?.[localVarOperationServerIndex]?.url;
543
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, import_axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
544
- },
545
- /**
546
- * Submits an A+ Content document for review, approval, and publishing. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have 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).
547
- * @param {string} contentReferenceKey The unique reference key for the A+ Content document. A content reference key cannot form a permalink and might change in the future. A content reference key is not guaranteed to match any A+ content identifier.
548
- * @param {string} marketplaceId 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).
549
- * @param {*} [options] Override http request option.
550
- * @throws {RequiredError}
551
- */
552
- async postContentDocumentApprovalSubmission(contentReferenceKey, marketplaceId, options) {
553
- const localVarAxiosArgs = await localVarAxiosParamCreator.postContentDocumentApprovalSubmission(contentReferenceKey, marketplaceId, options);
554
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
555
- const localVarOperationServerBasePath = operationServerMap["AplusContentApi.postContentDocumentApprovalSubmission"]?.[localVarOperationServerIndex]?.url;
556
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, import_axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
557
- },
558
- /**
559
- * Replaces all ASINs related to the specified A+ Content document, if available. This operation can add or remove ASINs, depending on the current set of related ASINs. Removing an ASIN will suspend the content document from that ASIN. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have 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).
560
- * @param {string} contentReferenceKey The unique reference key for the A+ Content document. A content reference key cannot form a permalink and might change in the future. A content reference key is not guaranteed to match any A+ content identifier.
561
- * @param {string} marketplaceId 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).
562
- * @param {PostContentDocumentAsinRelationsRequest} postContentDocumentAsinRelationsRequest The request details for the content document ASIN relations.
563
- * @param {*} [options] Override http request option.
564
- * @throws {RequiredError}
565
- */
566
- async postContentDocumentAsinRelations(contentReferenceKey, marketplaceId, postContentDocumentAsinRelationsRequest, options) {
567
- const localVarAxiosArgs = await localVarAxiosParamCreator.postContentDocumentAsinRelations(contentReferenceKey, marketplaceId, postContentDocumentAsinRelationsRequest, options);
568
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
569
- const localVarOperationServerBasePath = operationServerMap["AplusContentApi.postContentDocumentAsinRelations"]?.[localVarOperationServerIndex]?.url;
570
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, import_axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
571
- },
572
- /**
573
- * Submits a request to suspend visible A+ Content. This doesn\'t delete the content document or the ASIN relations. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have 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).
574
- * @param {string} contentReferenceKey The unique reference key for the A+ Content document. A content reference key cannot form a permalink and might change in the future. A content reference key is not guaranteed to match any A+ content identifier.
575
- * @param {string} marketplaceId 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).
576
- * @param {*} [options] Override http request option.
577
- * @throws {RequiredError}
578
- */
579
- async postContentDocumentSuspendSubmission(contentReferenceKey, marketplaceId, options) {
580
- const localVarAxiosArgs = await localVarAxiosParamCreator.postContentDocumentSuspendSubmission(contentReferenceKey, marketplaceId, options);
581
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
582
- const localVarOperationServerBasePath = operationServerMap["AplusContentApi.postContentDocumentSuspendSubmission"]?.[localVarOperationServerIndex]?.url;
583
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, import_axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
584
- },
585
- /**
586
- * Returns a list of all A+ Content documents, including metadata, that are assigned to a selling partner. To get the actual contents of the A+ Content documents, call the `getContentDocument` operation. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have 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).
587
- * @param {string} marketplaceId 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).
588
- * @param {string} [pageToken] A token that you use to fetch a specific page when there are multiple pages of results.
589
- * @param {*} [options] Override http request option.
590
- * @throws {RequiredError}
591
- */
592
- async searchContentDocuments(marketplaceId, pageToken, options) {
593
- const localVarAxiosArgs = await localVarAxiosParamCreator.searchContentDocuments(marketplaceId, pageToken, options);
594
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
595
- const localVarOperationServerBasePath = operationServerMap["AplusContentApi.searchContentDocuments"]?.[localVarOperationServerIndex]?.url;
596
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, import_axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
597
- },
598
- /**
599
- * Searches for A+ Content publishing records, if available. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have 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).
600
- * @param {string} marketplaceId 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).
601
- * @param {string} asin The Amazon Standard Identification Number (ASIN) is the unique identifier of a product within a marketplace.
602
- * @param {string} [pageToken] A token that you use to fetch a specific page when there are multiple pages of results.
603
- * @param {*} [options] Override http request option.
604
- * @throws {RequiredError}
605
- */
606
- async searchContentPublishRecords(marketplaceId, asin, pageToken, options) {
607
- const localVarAxiosArgs = await localVarAxiosParamCreator.searchContentPublishRecords(marketplaceId, asin, pageToken, options);
608
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
609
- const localVarOperationServerBasePath = operationServerMap["AplusContentApi.searchContentPublishRecords"]?.[localVarOperationServerIndex]?.url;
610
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, import_axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
611
- },
612
- /**
613
- * Updates an existing A+ Content document. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have 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).
614
- * @param {string} contentReferenceKey The unique reference key for the A+ Content document. A content reference key cannot form a permalink and might change in the future. A content reference key is not guaranteed to match any A+ Content identifier.
615
- * @param {string} marketplaceId 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
- * @param {PostContentDocumentRequest} postContentDocumentRequest The content document request details.
617
- * @param {*} [options] Override http request option.
618
- * @throws {RequiredError}
619
- */
620
- async updateContentDocument(contentReferenceKey, marketplaceId, postContentDocumentRequest, options) {
621
- const localVarAxiosArgs = await localVarAxiosParamCreator.updateContentDocument(contentReferenceKey, marketplaceId, postContentDocumentRequest, options);
622
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
623
- const localVarOperationServerBasePath = operationServerMap["AplusContentApi.updateContentDocument"]?.[localVarOperationServerIndex]?.url;
624
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, import_axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
625
- },
626
- /**
627
- * Checks if the A+ Content document is valid for use on a set of ASINs. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have 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).
628
- * @param {string} marketplaceId 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).
629
- * @param {PostContentDocumentRequest} postContentDocumentRequest The content document request details.
630
- * @param {Set<string>} [asinSet] The set of ASINs.
631
- * @param {*} [options] Override http request option.
632
- * @throws {RequiredError}
633
- */
634
- async validateContentDocumentAsinRelations(marketplaceId, postContentDocumentRequest, asinSet, options) {
635
- const localVarAxiosArgs = await localVarAxiosParamCreator.validateContentDocumentAsinRelations(marketplaceId, postContentDocumentRequest, asinSet, options);
636
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
637
- const localVarOperationServerBasePath = operationServerMap["AplusContentApi.validateContentDocumentAsinRelations"]?.[localVarOperationServerIndex]?.url;
638
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, import_axios2.default, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
639
- }
640
- };
485
+ /**
486
+ * AplusContentApi - functional programming interface
487
+ */
488
+ const AplusContentApiFp = function(configuration) {
489
+ const localVarAxiosParamCreator = AplusContentApiAxiosParamCreator(configuration);
490
+ return {
491
+ /**
492
+ * Creates a new A+ Content document. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have 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).
493
+ * @param {string} marketplaceId 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).
494
+ * @param {PostContentDocumentRequest} postContentDocumentRequest The content document request details.
495
+ * @param {*} [options] Override http request option.
496
+ * @throws {RequiredError}
497
+ */
498
+ async createContentDocument(marketplaceId, postContentDocumentRequest, options) {
499
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createContentDocument(marketplaceId, postContentDocumentRequest, options);
500
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
501
+ const localVarOperationServerBasePath = operationServerMap["AplusContentApi.createContentDocument"]?.[localVarOperationServerIndex]?.url;
502
+ return (axios$1, basePath) => createRequestFunction(localVarAxiosArgs, axios.default, BASE_PATH, configuration)(axios$1, localVarOperationServerBasePath || basePath);
503
+ },
504
+ /**
505
+ * Returns an A+ Content document, if available. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have 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).
506
+ * @param {string} contentReferenceKey The unique reference key for the A+ Content document. A content reference key cannot form a permalink and might change in the future. A content reference key is not guaranteed to match any A+ Content identifier.
507
+ * @param {string} marketplaceId 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).
508
+ * @param {Set<GetContentDocumentIncludedDataSetEnum>} includedDataSet The set of A+ Content data types to include in the response.
509
+ * @param {*} [options] Override http request option.
510
+ * @throws {RequiredError}
511
+ */
512
+ async getContentDocument(contentReferenceKey, marketplaceId, includedDataSet, options) {
513
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getContentDocument(contentReferenceKey, marketplaceId, includedDataSet, options);
514
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
515
+ const localVarOperationServerBasePath = operationServerMap["AplusContentApi.getContentDocument"]?.[localVarOperationServerIndex]?.url;
516
+ return (axios$2, basePath) => createRequestFunction(localVarAxiosArgs, axios.default, BASE_PATH, configuration)(axios$2, localVarOperationServerBasePath || basePath);
517
+ },
518
+ /**
519
+ * Returns a list of ASINs that are related to the specified A+ Content document, if available. If you don\'t include the `asinSet` parameter, this operation returns all ASINs related to the content document. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have 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).
520
+ * @param {string} contentReferenceKey The unique reference key for the A+ Content document. A content reference key cannot form a permalink and might change in the future. A content reference key is not guaranteed to match any A+ Content identifier.
521
+ * @param {string} marketplaceId 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).
522
+ * @param {Set<ListContentDocumentAsinRelationsIncludedDataSetEnum>} [includedDataSet] The set of A+ Content data types to include in the response. If you don\&#39;t include this parameter, the operation returns the related ASINs without metadata.
523
+ * @param {Set<string>} [asinSet] The set of ASINs.
524
+ * @param {string} [pageToken] A token that you use to fetch a specific page when there are multiple pages of results.
525
+ * @param {*} [options] Override http request option.
526
+ * @throws {RequiredError}
527
+ */
528
+ async listContentDocumentAsinRelations(contentReferenceKey, marketplaceId, includedDataSet, asinSet, pageToken, options) {
529
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listContentDocumentAsinRelations(contentReferenceKey, marketplaceId, includedDataSet, asinSet, pageToken, options);
530
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
531
+ const localVarOperationServerBasePath = operationServerMap["AplusContentApi.listContentDocumentAsinRelations"]?.[localVarOperationServerIndex]?.url;
532
+ return (axios$3, basePath) => createRequestFunction(localVarAxiosArgs, axios.default, BASE_PATH, configuration)(axios$3, localVarOperationServerBasePath || basePath);
533
+ },
534
+ /**
535
+ * Submits an A+ Content document for review, approval, and publishing. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have 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).
536
+ * @param {string} contentReferenceKey The unique reference key for the A+ Content document. A content reference key cannot form a permalink and might change in the future. A content reference key is not guaranteed to match any A+ content identifier.
537
+ * @param {string} marketplaceId 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).
538
+ * @param {*} [options] Override http request option.
539
+ * @throws {RequiredError}
540
+ */
541
+ async postContentDocumentApprovalSubmission(contentReferenceKey, marketplaceId, options) {
542
+ const localVarAxiosArgs = await localVarAxiosParamCreator.postContentDocumentApprovalSubmission(contentReferenceKey, marketplaceId, options);
543
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
544
+ const localVarOperationServerBasePath = operationServerMap["AplusContentApi.postContentDocumentApprovalSubmission"]?.[localVarOperationServerIndex]?.url;
545
+ return (axios$4, basePath) => createRequestFunction(localVarAxiosArgs, axios.default, BASE_PATH, configuration)(axios$4, localVarOperationServerBasePath || basePath);
546
+ },
547
+ /**
548
+ * Replaces all ASINs related to the specified A+ Content document, if available. This operation can add or remove ASINs, depending on the current set of related ASINs. Removing an ASIN will suspend the content document from that ASIN. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have 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).
549
+ * @param {string} contentReferenceKey The unique reference key for the A+ Content document. A content reference key cannot form a permalink and might change in the future. A content reference key is not guaranteed to match any A+ content identifier.
550
+ * @param {string} marketplaceId 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).
551
+ * @param {PostContentDocumentAsinRelationsRequest} postContentDocumentAsinRelationsRequest The request details for the content document ASIN relations.
552
+ * @param {*} [options] Override http request option.
553
+ * @throws {RequiredError}
554
+ */
555
+ async postContentDocumentAsinRelations(contentReferenceKey, marketplaceId, postContentDocumentAsinRelationsRequest, options) {
556
+ const localVarAxiosArgs = await localVarAxiosParamCreator.postContentDocumentAsinRelations(contentReferenceKey, marketplaceId, postContentDocumentAsinRelationsRequest, options);
557
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
558
+ const localVarOperationServerBasePath = operationServerMap["AplusContentApi.postContentDocumentAsinRelations"]?.[localVarOperationServerIndex]?.url;
559
+ return (axios$5, basePath) => createRequestFunction(localVarAxiosArgs, axios.default, BASE_PATH, configuration)(axios$5, localVarOperationServerBasePath || basePath);
560
+ },
561
+ /**
562
+ * Submits a request to suspend visible A+ Content. This doesn\'t delete the content document or the ASIN relations. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have 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).
563
+ * @param {string} contentReferenceKey The unique reference key for the A+ Content document. A content reference key cannot form a permalink and might change in the future. A content reference key is not guaranteed to match any A+ content identifier.
564
+ * @param {string} marketplaceId 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).
565
+ * @param {*} [options] Override http request option.
566
+ * @throws {RequiredError}
567
+ */
568
+ async postContentDocumentSuspendSubmission(contentReferenceKey, marketplaceId, options) {
569
+ const localVarAxiosArgs = await localVarAxiosParamCreator.postContentDocumentSuspendSubmission(contentReferenceKey, marketplaceId, options);
570
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
571
+ const localVarOperationServerBasePath = operationServerMap["AplusContentApi.postContentDocumentSuspendSubmission"]?.[localVarOperationServerIndex]?.url;
572
+ return (axios$6, basePath) => createRequestFunction(localVarAxiosArgs, axios.default, BASE_PATH, configuration)(axios$6, localVarOperationServerBasePath || basePath);
573
+ },
574
+ /**
575
+ * Returns a list of all A+ Content documents, including metadata, that are assigned to a selling partner. To get the actual contents of the A+ Content documents, call the `getContentDocument` operation. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have 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).
576
+ * @param {string} marketplaceId 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).
577
+ * @param {string} [pageToken] A token that you use to fetch a specific page when there are multiple pages of results.
578
+ * @param {*} [options] Override http request option.
579
+ * @throws {RequiredError}
580
+ */
581
+ async searchContentDocuments(marketplaceId, pageToken, options) {
582
+ const localVarAxiosArgs = await localVarAxiosParamCreator.searchContentDocuments(marketplaceId, pageToken, options);
583
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
584
+ const localVarOperationServerBasePath = operationServerMap["AplusContentApi.searchContentDocuments"]?.[localVarOperationServerIndex]?.url;
585
+ return (axios$7, basePath) => createRequestFunction(localVarAxiosArgs, axios.default, BASE_PATH, configuration)(axios$7, localVarOperationServerBasePath || basePath);
586
+ },
587
+ /**
588
+ * Searches for A+ Content publishing records, if available. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have 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).
589
+ * @param {string} marketplaceId 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).
590
+ * @param {string} asin The Amazon Standard Identification Number (ASIN) is the unique identifier of a product within a marketplace.
591
+ * @param {string} [pageToken] A token that you use to fetch a specific page when there are multiple pages of results.
592
+ * @param {*} [options] Override http request option.
593
+ * @throws {RequiredError}
594
+ */
595
+ async searchContentPublishRecords(marketplaceId, asin, pageToken, options) {
596
+ const localVarAxiosArgs = await localVarAxiosParamCreator.searchContentPublishRecords(marketplaceId, asin, pageToken, options);
597
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
598
+ const localVarOperationServerBasePath = operationServerMap["AplusContentApi.searchContentPublishRecords"]?.[localVarOperationServerIndex]?.url;
599
+ return (axios$8, basePath) => createRequestFunction(localVarAxiosArgs, axios.default, BASE_PATH, configuration)(axios$8, localVarOperationServerBasePath || basePath);
600
+ },
601
+ /**
602
+ * Updates an existing A+ Content document. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have 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).
603
+ * @param {string} contentReferenceKey The unique reference key for the A+ Content document. A content reference key cannot form a permalink and might change in the future. A content reference key is not guaranteed to match any A+ Content identifier.
604
+ * @param {string} marketplaceId 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).
605
+ * @param {PostContentDocumentRequest} postContentDocumentRequest The content document request details.
606
+ * @param {*} [options] Override http request option.
607
+ * @throws {RequiredError}
608
+ */
609
+ async updateContentDocument(contentReferenceKey, marketplaceId, postContentDocumentRequest, options) {
610
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateContentDocument(contentReferenceKey, marketplaceId, postContentDocumentRequest, options);
611
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
612
+ const localVarOperationServerBasePath = operationServerMap["AplusContentApi.updateContentDocument"]?.[localVarOperationServerIndex]?.url;
613
+ return (axios$9, basePath) => createRequestFunction(localVarAxiosArgs, axios.default, BASE_PATH, configuration)(axios$9, localVarOperationServerBasePath || basePath);
614
+ },
615
+ /**
616
+ * Checks if the A+ Content document is valid for use on a set of ASINs. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have 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).
617
+ * @param {string} marketplaceId 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).
618
+ * @param {PostContentDocumentRequest} postContentDocumentRequest The content document request details.
619
+ * @param {Set<string>} [asinSet] The set of ASINs.
620
+ * @param {*} [options] Override http request option.
621
+ * @throws {RequiredError}
622
+ */
623
+ async validateContentDocumentAsinRelations(marketplaceId, postContentDocumentRequest, asinSet, options) {
624
+ const localVarAxiosArgs = await localVarAxiosParamCreator.validateContentDocumentAsinRelations(marketplaceId, postContentDocumentRequest, asinSet, options);
625
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
626
+ const localVarOperationServerBasePath = operationServerMap["AplusContentApi.validateContentDocumentAsinRelations"]?.[localVarOperationServerIndex]?.url;
627
+ return (axios$10, basePath) => createRequestFunction(localVarAxiosArgs, axios.default, BASE_PATH, configuration)(axios$10, localVarOperationServerBasePath || basePath);
628
+ }
629
+ };
641
630
  };
642
- var AplusContentApiFactory = function(configuration, basePath, axios) {
643
- const localVarFp = AplusContentApiFp(configuration);
644
- return {
645
- /**
646
- * Creates a new A+ Content document. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have 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).
647
- * @param {AplusContentApiCreateContentDocumentRequest} requestParameters Request parameters.
648
- * @param {*} [options] Override http request option.
649
- * @throws {RequiredError}
650
- */
651
- createContentDocument(requestParameters, options) {
652
- return localVarFp.createContentDocument(requestParameters.marketplaceId, requestParameters.postContentDocumentRequest, options).then((request) => request(axios, basePath));
653
- },
654
- /**
655
- * Returns an A+ Content document, if available. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have 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).
656
- * @param {AplusContentApiGetContentDocumentRequest} requestParameters Request parameters.
657
- * @param {*} [options] Override http request option.
658
- * @throws {RequiredError}
659
- */
660
- getContentDocument(requestParameters, options) {
661
- return localVarFp.getContentDocument(requestParameters.contentReferenceKey, requestParameters.marketplaceId, requestParameters.includedDataSet, options).then((request) => request(axios, basePath));
662
- },
663
- /**
664
- * Returns a list of ASINs that are related to the specified A+ Content document, if available. If you don\'t include the `asinSet` parameter, this operation returns all ASINs related to the content document. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have 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).
665
- * @param {AplusContentApiListContentDocumentAsinRelationsRequest} requestParameters Request parameters.
666
- * @param {*} [options] Override http request option.
667
- * @throws {RequiredError}
668
- */
669
- listContentDocumentAsinRelations(requestParameters, options) {
670
- return localVarFp.listContentDocumentAsinRelations(requestParameters.contentReferenceKey, requestParameters.marketplaceId, requestParameters.includedDataSet, requestParameters.asinSet, requestParameters.pageToken, options).then((request) => request(axios, basePath));
671
- },
672
- /**
673
- * Submits an A+ Content document for review, approval, and publishing. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have 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).
674
- * @param {AplusContentApiPostContentDocumentApprovalSubmissionRequest} requestParameters Request parameters.
675
- * @param {*} [options] Override http request option.
676
- * @throws {RequiredError}
677
- */
678
- postContentDocumentApprovalSubmission(requestParameters, options) {
679
- return localVarFp.postContentDocumentApprovalSubmission(requestParameters.contentReferenceKey, requestParameters.marketplaceId, options).then((request) => request(axios, basePath));
680
- },
681
- /**
682
- * Replaces all ASINs related to the specified A+ Content document, if available. This operation can add or remove ASINs, depending on the current set of related ASINs. Removing an ASIN will suspend the content document from that ASIN. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have 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).
683
- * @param {AplusContentApiPostContentDocumentAsinRelationsRequest} requestParameters Request parameters.
684
- * @param {*} [options] Override http request option.
685
- * @throws {RequiredError}
686
- */
687
- postContentDocumentAsinRelations(requestParameters, options) {
688
- return localVarFp.postContentDocumentAsinRelations(requestParameters.contentReferenceKey, requestParameters.marketplaceId, requestParameters.postContentDocumentAsinRelationsRequest, options).then((request) => request(axios, basePath));
689
- },
690
- /**
691
- * Submits a request to suspend visible A+ Content. This doesn\'t delete the content document or the ASIN relations. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have 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).
692
- * @param {AplusContentApiPostContentDocumentSuspendSubmissionRequest} requestParameters Request parameters.
693
- * @param {*} [options] Override http request option.
694
- * @throws {RequiredError}
695
- */
696
- postContentDocumentSuspendSubmission(requestParameters, options) {
697
- return localVarFp.postContentDocumentSuspendSubmission(requestParameters.contentReferenceKey, requestParameters.marketplaceId, options).then((request) => request(axios, basePath));
698
- },
699
- /**
700
- * Returns a list of all A+ Content documents, including metadata, that are assigned to a selling partner. To get the actual contents of the A+ Content documents, call the `getContentDocument` operation. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have 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).
701
- * @param {AplusContentApiSearchContentDocumentsRequest} requestParameters Request parameters.
702
- * @param {*} [options] Override http request option.
703
- * @throws {RequiredError}
704
- */
705
- searchContentDocuments(requestParameters, options) {
706
- return localVarFp.searchContentDocuments(requestParameters.marketplaceId, requestParameters.pageToken, options).then((request) => request(axios, basePath));
707
- },
708
- /**
709
- * Searches for A+ Content publishing records, if available. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have 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).
710
- * @param {AplusContentApiSearchContentPublishRecordsRequest} requestParameters Request parameters.
711
- * @param {*} [options] Override http request option.
712
- * @throws {RequiredError}
713
- */
714
- searchContentPublishRecords(requestParameters, options) {
715
- return localVarFp.searchContentPublishRecords(requestParameters.marketplaceId, requestParameters.asin, requestParameters.pageToken, options).then((request) => request(axios, basePath));
716
- },
717
- /**
718
- * Updates an existing A+ Content document. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have 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).
719
- * @param {AplusContentApiUpdateContentDocumentRequest} requestParameters Request parameters.
720
- * @param {*} [options] Override http request option.
721
- * @throws {RequiredError}
722
- */
723
- updateContentDocument(requestParameters, options) {
724
- return localVarFp.updateContentDocument(requestParameters.contentReferenceKey, requestParameters.marketplaceId, requestParameters.postContentDocumentRequest, options).then((request) => request(axios, basePath));
725
- },
726
- /**
727
- * Checks if the A+ Content document is valid for use on a set of ASINs. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have 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).
728
- * @param {AplusContentApiValidateContentDocumentAsinRelationsRequest} requestParameters Request parameters.
729
- * @param {*} [options] Override http request option.
730
- * @throws {RequiredError}
731
- */
732
- validateContentDocumentAsinRelations(requestParameters, options) {
733
- return localVarFp.validateContentDocumentAsinRelations(requestParameters.marketplaceId, requestParameters.postContentDocumentRequest, requestParameters.asinSet, options).then((request) => request(axios, basePath));
734
- }
735
- };
631
+ /**
632
+ * AplusContentApi - factory interface
633
+ */
634
+ const AplusContentApiFactory = function(configuration, basePath, axios$11) {
635
+ const localVarFp = AplusContentApiFp(configuration);
636
+ return {
637
+ /**
638
+ * Creates a new A+ Content document. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have 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).
639
+ * @param {AplusContentApiCreateContentDocumentRequest} requestParameters Request parameters.
640
+ * @param {*} [options] Override http request option.
641
+ * @throws {RequiredError}
642
+ */
643
+ createContentDocument(requestParameters, options) {
644
+ return localVarFp.createContentDocument(requestParameters.marketplaceId, requestParameters.postContentDocumentRequest, options).then((request) => request(axios$11, basePath));
645
+ },
646
+ /**
647
+ * Returns an A+ Content document, if available. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have 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).
648
+ * @param {AplusContentApiGetContentDocumentRequest} requestParameters Request parameters.
649
+ * @param {*} [options] Override http request option.
650
+ * @throws {RequiredError}
651
+ */
652
+ getContentDocument(requestParameters, options) {
653
+ return localVarFp.getContentDocument(requestParameters.contentReferenceKey, requestParameters.marketplaceId, requestParameters.includedDataSet, options).then((request) => request(axios$11, basePath));
654
+ },
655
+ /**
656
+ * Returns a list of ASINs that are related to the specified A+ Content document, if available. If you don\'t include the `asinSet` parameter, this operation returns all ASINs related to the content document. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have 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).
657
+ * @param {AplusContentApiListContentDocumentAsinRelationsRequest} requestParameters Request parameters.
658
+ * @param {*} [options] Override http request option.
659
+ * @throws {RequiredError}
660
+ */
661
+ listContentDocumentAsinRelations(requestParameters, options) {
662
+ return localVarFp.listContentDocumentAsinRelations(requestParameters.contentReferenceKey, requestParameters.marketplaceId, requestParameters.includedDataSet, requestParameters.asinSet, requestParameters.pageToken, options).then((request) => request(axios$11, basePath));
663
+ },
664
+ /**
665
+ * Submits an A+ Content document for review, approval, and publishing. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have 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).
666
+ * @param {AplusContentApiPostContentDocumentApprovalSubmissionRequest} requestParameters Request parameters.
667
+ * @param {*} [options] Override http request option.
668
+ * @throws {RequiredError}
669
+ */
670
+ postContentDocumentApprovalSubmission(requestParameters, options) {
671
+ return localVarFp.postContentDocumentApprovalSubmission(requestParameters.contentReferenceKey, requestParameters.marketplaceId, options).then((request) => request(axios$11, basePath));
672
+ },
673
+ /**
674
+ * Replaces all ASINs related to the specified A+ Content document, if available. This operation can add or remove ASINs, depending on the current set of related ASINs. Removing an ASIN will suspend the content document from that ASIN. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have 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).
675
+ * @param {AplusContentApiPostContentDocumentAsinRelationsRequest} requestParameters Request parameters.
676
+ * @param {*} [options] Override http request option.
677
+ * @throws {RequiredError}
678
+ */
679
+ postContentDocumentAsinRelations(requestParameters, options) {
680
+ return localVarFp.postContentDocumentAsinRelations(requestParameters.contentReferenceKey, requestParameters.marketplaceId, requestParameters.postContentDocumentAsinRelationsRequest, options).then((request) => request(axios$11, basePath));
681
+ },
682
+ /**
683
+ * Submits a request to suspend visible A+ Content. This doesn\'t delete the content document or the ASIN relations. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have 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).
684
+ * @param {AplusContentApiPostContentDocumentSuspendSubmissionRequest} requestParameters Request parameters.
685
+ * @param {*} [options] Override http request option.
686
+ * @throws {RequiredError}
687
+ */
688
+ postContentDocumentSuspendSubmission(requestParameters, options) {
689
+ return localVarFp.postContentDocumentSuspendSubmission(requestParameters.contentReferenceKey, requestParameters.marketplaceId, options).then((request) => request(axios$11, basePath));
690
+ },
691
+ /**
692
+ * Returns a list of all A+ Content documents, including metadata, that are assigned to a selling partner. To get the actual contents of the A+ Content documents, call the `getContentDocument` operation. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have 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).
693
+ * @param {AplusContentApiSearchContentDocumentsRequest} requestParameters Request parameters.
694
+ * @param {*} [options] Override http request option.
695
+ * @throws {RequiredError}
696
+ */
697
+ searchContentDocuments(requestParameters, options) {
698
+ return localVarFp.searchContentDocuments(requestParameters.marketplaceId, requestParameters.pageToken, options).then((request) => request(axios$11, basePath));
699
+ },
700
+ /**
701
+ * Searches for A+ Content publishing records, if available. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have 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).
702
+ * @param {AplusContentApiSearchContentPublishRecordsRequest} requestParameters Request parameters.
703
+ * @param {*} [options] Override http request option.
704
+ * @throws {RequiredError}
705
+ */
706
+ searchContentPublishRecords(requestParameters, options) {
707
+ return localVarFp.searchContentPublishRecords(requestParameters.marketplaceId, requestParameters.asin, requestParameters.pageToken, options).then((request) => request(axios$11, basePath));
708
+ },
709
+ /**
710
+ * Updates an existing A+ Content document. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have 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).
711
+ * @param {AplusContentApiUpdateContentDocumentRequest} requestParameters Request parameters.
712
+ * @param {*} [options] Override http request option.
713
+ * @throws {RequiredError}
714
+ */
715
+ updateContentDocument(requestParameters, options) {
716
+ return localVarFp.updateContentDocument(requestParameters.contentReferenceKey, requestParameters.marketplaceId, requestParameters.postContentDocumentRequest, options).then((request) => request(axios$11, basePath));
717
+ },
718
+ /**
719
+ * Checks if the A+ Content document is valid for use on a set of ASINs. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have 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).
720
+ * @param {AplusContentApiValidateContentDocumentAsinRelationsRequest} requestParameters Request parameters.
721
+ * @param {*} [options] Override http request option.
722
+ * @throws {RequiredError}
723
+ */
724
+ validateContentDocumentAsinRelations(requestParameters, options) {
725
+ return localVarFp.validateContentDocumentAsinRelations(requestParameters.marketplaceId, requestParameters.postContentDocumentRequest, requestParameters.asinSet, options).then((request) => request(axios$11, basePath));
726
+ }
727
+ };
736
728
  };
729
+ /**
730
+ * AplusContentApi - object-oriented interface
731
+ */
737
732
  var AplusContentApi = class extends BaseAPI {
738
- /**
739
- * Creates a new A+ Content document. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have 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).
740
- * @param {AplusContentApiCreateContentDocumentRequest} requestParameters Request parameters.
741
- * @param {*} [options] Override http request option.
742
- * @throws {RequiredError}
743
- */
744
- createContentDocument(requestParameters, options) {
745
- return AplusContentApiFp(this.configuration).createContentDocument(requestParameters.marketplaceId, requestParameters.postContentDocumentRequest, options).then((request) => request(this.axios, this.basePath));
746
- }
747
- /**
748
- * Returns an A+ Content document, if available. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have 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).
749
- * @param {AplusContentApiGetContentDocumentRequest} requestParameters Request parameters.
750
- * @param {*} [options] Override http request option.
751
- * @throws {RequiredError}
752
- */
753
- getContentDocument(requestParameters, options) {
754
- return AplusContentApiFp(this.configuration).getContentDocument(requestParameters.contentReferenceKey, requestParameters.marketplaceId, requestParameters.includedDataSet, options).then((request) => request(this.axios, this.basePath));
755
- }
756
- /**
757
- * Returns a list of ASINs that are related to the specified A+ Content document, if available. If you don\'t include the `asinSet` parameter, this operation returns all ASINs related to the content document. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have 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).
758
- * @param {AplusContentApiListContentDocumentAsinRelationsRequest} requestParameters Request parameters.
759
- * @param {*} [options] Override http request option.
760
- * @throws {RequiredError}
761
- */
762
- listContentDocumentAsinRelations(requestParameters, options) {
763
- return AplusContentApiFp(this.configuration).listContentDocumentAsinRelations(requestParameters.contentReferenceKey, requestParameters.marketplaceId, requestParameters.includedDataSet, requestParameters.asinSet, requestParameters.pageToken, options).then((request) => request(this.axios, this.basePath));
764
- }
765
- /**
766
- * Submits an A+ Content document for review, approval, and publishing. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have 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).
767
- * @param {AplusContentApiPostContentDocumentApprovalSubmissionRequest} requestParameters Request parameters.
768
- * @param {*} [options] Override http request option.
769
- * @throws {RequiredError}
770
- */
771
- postContentDocumentApprovalSubmission(requestParameters, options) {
772
- return AplusContentApiFp(this.configuration).postContentDocumentApprovalSubmission(requestParameters.contentReferenceKey, requestParameters.marketplaceId, options).then((request) => request(this.axios, this.basePath));
773
- }
774
- /**
775
- * Replaces all ASINs related to the specified A+ Content document, if available. This operation can add or remove ASINs, depending on the current set of related ASINs. Removing an ASIN will suspend the content document from that ASIN. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have 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).
776
- * @param {AplusContentApiPostContentDocumentAsinRelationsRequest} requestParameters Request parameters.
777
- * @param {*} [options] Override http request option.
778
- * @throws {RequiredError}
779
- */
780
- postContentDocumentAsinRelations(requestParameters, options) {
781
- return AplusContentApiFp(this.configuration).postContentDocumentAsinRelations(requestParameters.contentReferenceKey, requestParameters.marketplaceId, requestParameters.postContentDocumentAsinRelationsRequest, options).then((request) => request(this.axios, this.basePath));
782
- }
783
- /**
784
- * Submits a request to suspend visible A+ Content. This doesn\'t delete the content document or the ASIN relations. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have 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).
785
- * @param {AplusContentApiPostContentDocumentSuspendSubmissionRequest} requestParameters Request parameters.
786
- * @param {*} [options] Override http request option.
787
- * @throws {RequiredError}
788
- */
789
- postContentDocumentSuspendSubmission(requestParameters, options) {
790
- return AplusContentApiFp(this.configuration).postContentDocumentSuspendSubmission(requestParameters.contentReferenceKey, requestParameters.marketplaceId, options).then((request) => request(this.axios, this.basePath));
791
- }
792
- /**
793
- * Returns a list of all A+ Content documents, including metadata, that are assigned to a selling partner. To get the actual contents of the A+ Content documents, call the `getContentDocument` operation. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have 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).
794
- * @param {AplusContentApiSearchContentDocumentsRequest} requestParameters Request parameters.
795
- * @param {*} [options] Override http request option.
796
- * @throws {RequiredError}
797
- */
798
- searchContentDocuments(requestParameters, options) {
799
- return AplusContentApiFp(this.configuration).searchContentDocuments(requestParameters.marketplaceId, requestParameters.pageToken, options).then((request) => request(this.axios, this.basePath));
800
- }
801
- /**
802
- * Searches for A+ Content publishing records, if available. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have 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).
803
- * @param {AplusContentApiSearchContentPublishRecordsRequest} requestParameters Request parameters.
804
- * @param {*} [options] Override http request option.
805
- * @throws {RequiredError}
806
- */
807
- searchContentPublishRecords(requestParameters, options) {
808
- return AplusContentApiFp(this.configuration).searchContentPublishRecords(requestParameters.marketplaceId, requestParameters.asin, requestParameters.pageToken, options).then((request) => request(this.axios, this.basePath));
809
- }
810
- /**
811
- * Updates an existing A+ Content document. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have 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).
812
- * @param {AplusContentApiUpdateContentDocumentRequest} requestParameters Request parameters.
813
- * @param {*} [options] Override http request option.
814
- * @throws {RequiredError}
815
- */
816
- updateContentDocument(requestParameters, options) {
817
- return AplusContentApiFp(this.configuration).updateContentDocument(requestParameters.contentReferenceKey, requestParameters.marketplaceId, requestParameters.postContentDocumentRequest, options).then((request) => request(this.axios, this.basePath));
818
- }
819
- /**
820
- * Checks if the A+ Content document is valid for use on a set of ASINs. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have 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).
821
- * @param {AplusContentApiValidateContentDocumentAsinRelationsRequest} requestParameters Request parameters.
822
- * @param {*} [options] Override http request option.
823
- * @throws {RequiredError}
824
- */
825
- validateContentDocumentAsinRelations(requestParameters, options) {
826
- return AplusContentApiFp(this.configuration).validateContentDocumentAsinRelations(requestParameters.marketplaceId, requestParameters.postContentDocumentRequest, requestParameters.asinSet, options).then((request) => request(this.axios, this.basePath));
827
- }
828
- };
829
- var GetContentDocumentIncludedDataSetEnum = {
830
- Contents: "CONTENTS",
831
- Metadata: "METADATA"
733
+ /**
734
+ * Creates a new A+ Content document. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have 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).
735
+ * @param {AplusContentApiCreateContentDocumentRequest} requestParameters Request parameters.
736
+ * @param {*} [options] Override http request option.
737
+ * @throws {RequiredError}
738
+ */
739
+ createContentDocument(requestParameters, options) {
740
+ return AplusContentApiFp(this.configuration).createContentDocument(requestParameters.marketplaceId, requestParameters.postContentDocumentRequest, options).then((request) => request(this.axios, this.basePath));
741
+ }
742
+ /**
743
+ * Returns an A+ Content document, if available. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have 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).
744
+ * @param {AplusContentApiGetContentDocumentRequest} requestParameters Request parameters.
745
+ * @param {*} [options] Override http request option.
746
+ * @throws {RequiredError}
747
+ */
748
+ getContentDocument(requestParameters, options) {
749
+ return AplusContentApiFp(this.configuration).getContentDocument(requestParameters.contentReferenceKey, requestParameters.marketplaceId, requestParameters.includedDataSet, options).then((request) => request(this.axios, this.basePath));
750
+ }
751
+ /**
752
+ * Returns a list of ASINs that are related to the specified A+ Content document, if available. If you don\'t include the `asinSet` parameter, this operation returns all ASINs related to the content document. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have 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).
753
+ * @param {AplusContentApiListContentDocumentAsinRelationsRequest} requestParameters Request parameters.
754
+ * @param {*} [options] Override http request option.
755
+ * @throws {RequiredError}
756
+ */
757
+ listContentDocumentAsinRelations(requestParameters, options) {
758
+ return AplusContentApiFp(this.configuration).listContentDocumentAsinRelations(requestParameters.contentReferenceKey, requestParameters.marketplaceId, requestParameters.includedDataSet, requestParameters.asinSet, requestParameters.pageToken, options).then((request) => request(this.axios, this.basePath));
759
+ }
760
+ /**
761
+ * Submits an A+ Content document for review, approval, and publishing. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have 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).
762
+ * @param {AplusContentApiPostContentDocumentApprovalSubmissionRequest} requestParameters Request parameters.
763
+ * @param {*} [options] Override http request option.
764
+ * @throws {RequiredError}
765
+ */
766
+ postContentDocumentApprovalSubmission(requestParameters, options) {
767
+ return AplusContentApiFp(this.configuration).postContentDocumentApprovalSubmission(requestParameters.contentReferenceKey, requestParameters.marketplaceId, options).then((request) => request(this.axios, this.basePath));
768
+ }
769
+ /**
770
+ * Replaces all ASINs related to the specified A+ Content document, if available. This operation can add or remove ASINs, depending on the current set of related ASINs. Removing an ASIN will suspend the content document from that ASIN. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have 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).
771
+ * @param {AplusContentApiPostContentDocumentAsinRelationsRequest} requestParameters Request parameters.
772
+ * @param {*} [options] Override http request option.
773
+ * @throws {RequiredError}
774
+ */
775
+ postContentDocumentAsinRelations(requestParameters, options) {
776
+ return AplusContentApiFp(this.configuration).postContentDocumentAsinRelations(requestParameters.contentReferenceKey, requestParameters.marketplaceId, requestParameters.postContentDocumentAsinRelationsRequest, options).then((request) => request(this.axios, this.basePath));
777
+ }
778
+ /**
779
+ * Submits a request to suspend visible A+ Content. This doesn\'t delete the content document or the ASIN relations. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have 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).
780
+ * @param {AplusContentApiPostContentDocumentSuspendSubmissionRequest} requestParameters Request parameters.
781
+ * @param {*} [options] Override http request option.
782
+ * @throws {RequiredError}
783
+ */
784
+ postContentDocumentSuspendSubmission(requestParameters, options) {
785
+ return AplusContentApiFp(this.configuration).postContentDocumentSuspendSubmission(requestParameters.contentReferenceKey, requestParameters.marketplaceId, options).then((request) => request(this.axios, this.basePath));
786
+ }
787
+ /**
788
+ * Returns a list of all A+ Content documents, including metadata, that are assigned to a selling partner. To get the actual contents of the A+ Content documents, call the `getContentDocument` operation. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have 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).
789
+ * @param {AplusContentApiSearchContentDocumentsRequest} requestParameters Request parameters.
790
+ * @param {*} [options] Override http request option.
791
+ * @throws {RequiredError}
792
+ */
793
+ searchContentDocuments(requestParameters, options) {
794
+ return AplusContentApiFp(this.configuration).searchContentDocuments(requestParameters.marketplaceId, requestParameters.pageToken, options).then((request) => request(this.axios, this.basePath));
795
+ }
796
+ /**
797
+ * Searches for A+ Content publishing records, if available. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have 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).
798
+ * @param {AplusContentApiSearchContentPublishRecordsRequest} requestParameters Request parameters.
799
+ * @param {*} [options] Override http request option.
800
+ * @throws {RequiredError}
801
+ */
802
+ searchContentPublishRecords(requestParameters, options) {
803
+ return AplusContentApiFp(this.configuration).searchContentPublishRecords(requestParameters.marketplaceId, requestParameters.asin, requestParameters.pageToken, options).then((request) => request(this.axios, this.basePath));
804
+ }
805
+ /**
806
+ * Updates an existing A+ Content document. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have 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).
807
+ * @param {AplusContentApiUpdateContentDocumentRequest} requestParameters Request parameters.
808
+ * @param {*} [options] Override http request option.
809
+ * @throws {RequiredError}
810
+ */
811
+ updateContentDocument(requestParameters, options) {
812
+ return AplusContentApiFp(this.configuration).updateContentDocument(requestParameters.contentReferenceKey, requestParameters.marketplaceId, requestParameters.postContentDocumentRequest, options).then((request) => request(this.axios, this.basePath));
813
+ }
814
+ /**
815
+ * Checks if the A+ Content document is valid for use on a set of ASINs. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header contains the usage plan rate limits for the operation, when available. The preceding table contains the default rate and burst values for this operation. Selling partners whose business demands require higher throughput might have 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).
816
+ * @param {AplusContentApiValidateContentDocumentAsinRelationsRequest} requestParameters Request parameters.
817
+ * @param {*} [options] Override http request option.
818
+ * @throws {RequiredError}
819
+ */
820
+ validateContentDocumentAsinRelations(requestParameters, options) {
821
+ return AplusContentApiFp(this.configuration).validateContentDocumentAsinRelations(requestParameters.marketplaceId, requestParameters.postContentDocumentRequest, requestParameters.asinSet, options).then((request) => request(this.axios, this.basePath));
822
+ }
832
823
  };
833
- var ListContentDocumentAsinRelationsIncludedDataSetEnum = {
834
- Metadata: "METADATA"
824
+ const GetContentDocumentIncludedDataSetEnum = {
825
+ Contents: "CONTENTS",
826
+ Metadata: "METADATA"
835
827
  };
836
-
837
- // src/api-model/configuration.ts
828
+ const ListContentDocumentAsinRelationsIncludedDataSetEnum = { Metadata: "METADATA" };
829
+ //#endregion
830
+ //#region src/api-model/configuration.ts
838
831
  var Configuration = class {
839
- /**
840
- * parameter for apiKey security
841
- * @param name security name
842
- */
843
- apiKey;
844
- /**
845
- * parameter for basic security
846
- */
847
- username;
848
- /**
849
- * parameter for basic security
850
- */
851
- password;
852
- /**
853
- * parameter for oauth2 security
854
- * @param name security name
855
- * @param scopes oauth2 scope
856
- */
857
- accessToken;
858
- /**
859
- * parameter for aws4 signature security
860
- * @param {Object} AWS4Signature - AWS4 Signature security
861
- * @param {string} options.region - aws region
862
- * @param {string} options.service - name of the service.
863
- * @param {string} credentials.accessKeyId - aws access key id
864
- * @param {string} credentials.secretAccessKey - aws access key
865
- * @param {string} credentials.sessionToken - aws session token
866
- * @memberof Configuration
867
- */
868
- awsv4;
869
- /**
870
- * override base path
871
- */
872
- basePath;
873
- /**
874
- * override server index
875
- */
876
- serverIndex;
877
- /**
878
- * base options for axios calls
879
- */
880
- baseOptions;
881
- /**
882
- * The FormData constructor that will be used to create multipart form data
883
- * requests. You can inject this here so that execution environments that
884
- * do not support the FormData class can still run the generated client.
885
- *
886
- * @type {new () => FormData}
887
- */
888
- formDataCtor;
889
- constructor(param = {}) {
890
- this.apiKey = param.apiKey;
891
- this.username = param.username;
892
- this.password = param.password;
893
- this.accessToken = param.accessToken;
894
- this.awsv4 = param.awsv4;
895
- this.basePath = param.basePath;
896
- this.serverIndex = param.serverIndex;
897
- this.baseOptions = {
898
- ...param.baseOptions,
899
- headers: {
900
- ...param.baseOptions?.headers
901
- }
902
- };
903
- this.formDataCtor = param.formDataCtor;
904
- }
905
- /**
906
- * Check if the given MIME is a JSON MIME.
907
- * JSON MIME examples:
908
- * application/json
909
- * application/json; charset=UTF8
910
- * APPLICATION/JSON
911
- * application/vnd.company+json
912
- * @param mime - MIME (Multipurpose Internet Mail Extensions)
913
- * @return True if the given MIME is JSON, false otherwise.
914
- */
915
- isJsonMime(mime) {
916
- const jsonMime = /^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$/i;
917
- return mime !== null && jsonMime.test(mime);
918
- }
832
+ /**
833
+ * parameter for apiKey security
834
+ * @param name security name
835
+ */
836
+ apiKey;
837
+ /**
838
+ * parameter for basic security
839
+ */
840
+ username;
841
+ /**
842
+ * parameter for basic security
843
+ */
844
+ password;
845
+ /**
846
+ * parameter for oauth2 security
847
+ * @param name security name
848
+ * @param scopes oauth2 scope
849
+ */
850
+ accessToken;
851
+ /**
852
+ * parameter for aws4 signature security
853
+ * @param {Object} AWS4Signature - AWS4 Signature security
854
+ * @param {string} options.region - aws region
855
+ * @param {string} options.service - name of the service.
856
+ * @param {string} credentials.accessKeyId - aws access key id
857
+ * @param {string} credentials.secretAccessKey - aws access key
858
+ * @param {string} credentials.sessionToken - aws session token
859
+ * @memberof Configuration
860
+ */
861
+ awsv4;
862
+ /**
863
+ * override base path
864
+ */
865
+ basePath;
866
+ /**
867
+ * override server index
868
+ */
869
+ serverIndex;
870
+ /**
871
+ * base options for axios calls
872
+ */
873
+ baseOptions;
874
+ /**
875
+ * The FormData constructor that will be used to create multipart form data
876
+ * requests. You can inject this here so that execution environments that
877
+ * do not support the FormData class can still run the generated client.
878
+ *
879
+ * @type {new () => FormData}
880
+ */
881
+ formDataCtor;
882
+ constructor(param = {}) {
883
+ this.apiKey = param.apiKey;
884
+ this.username = param.username;
885
+ this.password = param.password;
886
+ this.accessToken = param.accessToken;
887
+ this.awsv4 = param.awsv4;
888
+ this.basePath = param.basePath;
889
+ this.serverIndex = param.serverIndex;
890
+ this.baseOptions = {
891
+ ...param.baseOptions,
892
+ headers: { ...param.baseOptions?.headers }
893
+ };
894
+ this.formDataCtor = param.formDataCtor;
895
+ }
896
+ /**
897
+ * Check if the given MIME is a JSON MIME.
898
+ * JSON MIME examples:
899
+ * application/json
900
+ * application/json; charset=UTF8
901
+ * APPLICATION/JSON
902
+ * application/vnd.company+json
903
+ * @param mime - MIME (Multipurpose Internet Mail Extensions)
904
+ * @return True if the given MIME is JSON, false otherwise.
905
+ */
906
+ isJsonMime(mime) {
907
+ return mime !== null && /^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$/i.test(mime);
908
+ }
919
909
  };
920
-
921
- // src/api-model/models/asin-badge.ts
922
- var AsinBadge = {
923
- BrandNotEligible: "BRAND_NOT_ELIGIBLE",
924
- CatalogNotFound: "CATALOG_NOT_FOUND",
925
- ContentNotPublished: "CONTENT_NOT_PUBLISHED",
926
- ContentPublished: "CONTENT_PUBLISHED"
910
+ //#endregion
911
+ //#region src/api-model/models/asin-badge.ts
912
+ /**
913
+ * Selling Partner API for A+ Content Management
914
+ * Use the A+ Content API to build applications that help selling partners add rich marketing content to their Amazon product detail pages. Selling partners can use A+ content to share their brand and product story, which helps buyers make informed purchasing decisions. Selling partners use content modules to add images and text.
915
+ *
916
+ * The version of the OpenAPI document: 2020-11-01
917
+ *
918
+ *
919
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
920
+ * https://openapi-generator.tech
921
+ * Do not edit the class manually.
922
+ */
923
+ /**
924
+ * A flag that provides additional information about an ASIN. This is contextual and can change depending on the request that generated it.
925
+ */
926
+ const AsinBadge = {
927
+ BrandNotEligible: "BRAND_NOT_ELIGIBLE",
928
+ CatalogNotFound: "CATALOG_NOT_FOUND",
929
+ ContentNotPublished: "CONTENT_NOT_PUBLISHED",
930
+ ContentPublished: "CONTENT_PUBLISHED"
927
931
  };
928
-
929
- // src/api-model/models/color-type.ts
930
- var ColorType = {
931
- Dark: "DARK",
932
- Light: "LIGHT"
932
+ //#endregion
933
+ //#region src/api-model/models/color-type.ts
934
+ /**
935
+ * Selling Partner API for A+ Content Management
936
+ * Use the A+ Content API to build applications that help selling partners add rich marketing content to their Amazon product detail pages. Selling partners can use A+ content to share their brand and product story, which helps buyers make informed purchasing decisions. Selling partners use content modules to add images and text.
937
+ *
938
+ * The version of the OpenAPI document: 2020-11-01
939
+ *
940
+ *
941
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
942
+ * https://openapi-generator.tech
943
+ * Do not edit the class manually.
944
+ */
945
+ /**
946
+ * The relative color scheme of your content.
947
+ */
948
+ const ColorType = {
949
+ Dark: "DARK",
950
+ Light: "LIGHT"
933
951
  };
934
-
935
- // src/api-model/models/content-badge.ts
936
- var ContentBadge = {
937
- Bulk: "BULK",
938
- Generated: "GENERATED",
939
- Launchpad: "LAUNCHPAD",
940
- Premium: "PREMIUM",
941
- Standard: "STANDARD"
952
+ //#endregion
953
+ //#region src/api-model/models/content-badge.ts
954
+ /**
955
+ * Selling Partner API for A+ Content Management
956
+ * Use the A+ Content API to build applications that help selling partners add rich marketing content to their Amazon product detail pages. Selling partners can use A+ content to share their brand and product story, which helps buyers make informed purchasing decisions. Selling partners use content modules to add images and text.
957
+ *
958
+ * The version of the OpenAPI document: 2020-11-01
959
+ *
960
+ *
961
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
962
+ * https://openapi-generator.tech
963
+ * Do not edit the class manually.
964
+ */
965
+ /**
966
+ * A flag that provides additional information about an A+ Content document.
967
+ */
968
+ const ContentBadge = {
969
+ Bulk: "BULK",
970
+ Generated: "GENERATED",
971
+ Launchpad: "LAUNCHPAD",
972
+ Premium: "PREMIUM",
973
+ Standard: "STANDARD"
942
974
  };
943
-
944
- // src/api-model/models/content-module-type.ts
945
- var ContentModuleType = {
946
- StandardCompanyLogo: "STANDARD_COMPANY_LOGO",
947
- StandardComparisonTable: "STANDARD_COMPARISON_TABLE",
948
- StandardFourImageText: "STANDARD_FOUR_IMAGE_TEXT",
949
- StandardFourImageTextQuadrant: "STANDARD_FOUR_IMAGE_TEXT_QUADRANT",
950
- StandardHeaderImageText: "STANDARD_HEADER_IMAGE_TEXT",
951
- StandardImageSidebar: "STANDARD_IMAGE_SIDEBAR",
952
- StandardImageTextOverlay: "STANDARD_IMAGE_TEXT_OVERLAY",
953
- StandardMultipleImageText: "STANDARD_MULTIPLE_IMAGE_TEXT",
954
- StandardProductDescription: "STANDARD_PRODUCT_DESCRIPTION",
955
- StandardSingleImageHighlights: "STANDARD_SINGLE_IMAGE_HIGHLIGHTS",
956
- StandardSingleImageSpecsDetail: "STANDARD_SINGLE_IMAGE_SPECS_DETAIL",
957
- StandardSingleSideImage: "STANDARD_SINGLE_SIDE_IMAGE",
958
- StandardTechSpecs: "STANDARD_TECH_SPECS",
959
- StandardText: "STANDARD_TEXT",
960
- StandardThreeImageText: "STANDARD_THREE_IMAGE_TEXT"
975
+ //#endregion
976
+ //#region src/api-model/models/content-module-type.ts
977
+ /**
978
+ * Selling Partner API for A+ Content Management
979
+ * Use the A+ Content API to build applications that help selling partners add rich marketing content to their Amazon product detail pages. Selling partners can use A+ content to share their brand and product story, which helps buyers make informed purchasing decisions. Selling partners use content modules to add images and text.
980
+ *
981
+ * The version of the OpenAPI document: 2020-11-01
982
+ *
983
+ *
984
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
985
+ * https://openapi-generator.tech
986
+ * Do not edit the class manually.
987
+ */
988
+ /**
989
+ * The type of A+ Content module.
990
+ */
991
+ const ContentModuleType = {
992
+ StandardCompanyLogo: "STANDARD_COMPANY_LOGO",
993
+ StandardComparisonTable: "STANDARD_COMPARISON_TABLE",
994
+ StandardFourImageText: "STANDARD_FOUR_IMAGE_TEXT",
995
+ StandardFourImageTextQuadrant: "STANDARD_FOUR_IMAGE_TEXT_QUADRANT",
996
+ StandardHeaderImageText: "STANDARD_HEADER_IMAGE_TEXT",
997
+ StandardImageSidebar: "STANDARD_IMAGE_SIDEBAR",
998
+ StandardImageTextOverlay: "STANDARD_IMAGE_TEXT_OVERLAY",
999
+ StandardMultipleImageText: "STANDARD_MULTIPLE_IMAGE_TEXT",
1000
+ StandardProductDescription: "STANDARD_PRODUCT_DESCRIPTION",
1001
+ StandardSingleImageHighlights: "STANDARD_SINGLE_IMAGE_HIGHLIGHTS",
1002
+ StandardSingleImageSpecsDetail: "STANDARD_SINGLE_IMAGE_SPECS_DETAIL",
1003
+ StandardSingleSideImage: "STANDARD_SINGLE_SIDE_IMAGE",
1004
+ StandardTechSpecs: "STANDARD_TECH_SPECS",
1005
+ StandardText: "STANDARD_TEXT",
1006
+ StandardThreeImageText: "STANDARD_THREE_IMAGE_TEXT"
961
1007
  };
962
-
963
- // src/api-model/models/content-status.ts
964
- var ContentStatus = {
965
- Approved: "APPROVED",
966
- Draft: "DRAFT",
967
- Rejected: "REJECTED",
968
- Submitted: "SUBMITTED"
1008
+ //#endregion
1009
+ //#region src/api-model/models/content-status.ts
1010
+ /**
1011
+ * Selling Partner API for A+ Content Management
1012
+ * Use the A+ Content API to build applications that help selling partners add rich marketing content to their Amazon product detail pages. Selling partners can use A+ content to share their brand and product story, which helps buyers make informed purchasing decisions. Selling partners use content modules to add images and text.
1013
+ *
1014
+ * The version of the OpenAPI document: 2020-11-01
1015
+ *
1016
+ *
1017
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1018
+ * https://openapi-generator.tech
1019
+ * Do not edit the class manually.
1020
+ */
1021
+ /**
1022
+ * The submission status of the content document.
1023
+ */
1024
+ const ContentStatus = {
1025
+ Approved: "APPROVED",
1026
+ Draft: "DRAFT",
1027
+ Rejected: "REJECTED",
1028
+ Submitted: "SUBMITTED"
969
1029
  };
970
-
971
- // src/api-model/models/content-type.ts
972
- var ContentType = {
973
- Ebc: "EBC",
974
- Emc: "EMC"
1030
+ //#endregion
1031
+ //#region src/api-model/models/content-type.ts
1032
+ /**
1033
+ * Selling Partner API for A+ Content Management
1034
+ * Use the A+ Content API to build applications that help selling partners add rich marketing content to their Amazon product detail pages. Selling partners can use A+ content to share their brand and product story, which helps buyers make informed purchasing decisions. Selling partners use content modules to add images and text.
1035
+ *
1036
+ * The version of the OpenAPI document: 2020-11-01
1037
+ *
1038
+ *
1039
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1040
+ * https://openapi-generator.tech
1041
+ * Do not edit the class manually.
1042
+ */
1043
+ /**
1044
+ * The A+ Content document type.
1045
+ */
1046
+ const ContentType = {
1047
+ Ebc: "EBC",
1048
+ Emc: "EMC"
975
1049
  };
976
-
977
- // src/api-model/models/decorator-type.ts
978
- var DecoratorType = {
979
- ListItem: "LIST_ITEM",
980
- ListOrdered: "LIST_ORDERED",
981
- ListUnordered: "LIST_UNORDERED",
982
- StyleBold: "STYLE_BOLD",
983
- StyleItalic: "STYLE_ITALIC",
984
- StyleLinebreak: "STYLE_LINEBREAK",
985
- StyleParagraph: "STYLE_PARAGRAPH",
986
- StyleUnderline: "STYLE_UNDERLINE"
1050
+ //#endregion
1051
+ //#region src/api-model/models/decorator-type.ts
1052
+ /**
1053
+ * Selling Partner API for A+ Content Management
1054
+ * Use the A+ Content API to build applications that help selling partners add rich marketing content to their Amazon product detail pages. Selling partners can use A+ content to share their brand and product story, which helps buyers make informed purchasing decisions. Selling partners use content modules to add images and text.
1055
+ *
1056
+ * The version of the OpenAPI document: 2020-11-01
1057
+ *
1058
+ *
1059
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1060
+ * https://openapi-generator.tech
1061
+ * Do not edit the class manually.
1062
+ */
1063
+ /**
1064
+ * The type of rich text decorator.
1065
+ */
1066
+ const DecoratorType = {
1067
+ ListItem: "LIST_ITEM",
1068
+ ListOrdered: "LIST_ORDERED",
1069
+ ListUnordered: "LIST_UNORDERED",
1070
+ StyleBold: "STYLE_BOLD",
1071
+ StyleItalic: "STYLE_ITALIC",
1072
+ StyleLinebreak: "STYLE_LINEBREAK",
1073
+ StyleParagraph: "STYLE_PARAGRAPH",
1074
+ StyleUnderline: "STYLE_UNDERLINE"
987
1075
  };
988
-
989
- // src/api-model/models/position-type.ts
990
- var PositionType = {
991
- Left: "LEFT",
992
- Right: "RIGHT"
1076
+ //#endregion
1077
+ //#region src/api-model/models/position-type.ts
1078
+ /**
1079
+ * Selling Partner API for A+ Content Management
1080
+ * Use the A+ Content API to build applications that help selling partners add rich marketing content to their Amazon product detail pages. Selling partners can use A+ content to share their brand and product story, which helps buyers make informed purchasing decisions. Selling partners use content modules to add images and text.
1081
+ *
1082
+ * The version of the OpenAPI document: 2020-11-01
1083
+ *
1084
+ *
1085
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
1086
+ * https://openapi-generator.tech
1087
+ * Do not edit the class manually.
1088
+ */
1089
+ /**
1090
+ * The content\'s relative positioning.
1091
+ */
1092
+ const PositionType = {
1093
+ Left: "LEFT",
1094
+ Right: "RIGHT"
993
1095
  };
994
-
995
- // src/client.ts
996
- var clientRateLimits = [
997
- {
998
- method: "get",
999
- // eslint-disable-next-line prefer-regex-literals
1000
- urlRegex: new RegExp("^/aplus/2020-11-01/contentDocuments$"),
1001
- rate: 10,
1002
- burst: 10
1003
- },
1004
- {
1005
- method: "post",
1006
- // eslint-disable-next-line prefer-regex-literals
1007
- urlRegex: new RegExp("^/aplus/2020-11-01/contentDocuments$"),
1008
- rate: 10,
1009
- burst: 10
1010
- },
1011
- {
1012
- method: "get",
1013
- // eslint-disable-next-line prefer-regex-literals
1014
- urlRegex: new RegExp("^/aplus/2020-11-01/contentDocuments/[^/]*$"),
1015
- rate: 10,
1016
- burst: 10
1017
- },
1018
- {
1019
- method: "post",
1020
- // eslint-disable-next-line prefer-regex-literals
1021
- urlRegex: new RegExp("^/aplus/2020-11-01/contentDocuments/[^/]*$"),
1022
- rate: 10,
1023
- burst: 10
1024
- },
1025
- {
1026
- method: "get",
1027
- // eslint-disable-next-line prefer-regex-literals
1028
- urlRegex: new RegExp("^/aplus/2020-11-01/contentDocuments/[^/]*/asins$"),
1029
- rate: 10,
1030
- burst: 10
1031
- },
1032
- {
1033
- method: "post",
1034
- // eslint-disable-next-line prefer-regex-literals
1035
- urlRegex: new RegExp("^/aplus/2020-11-01/contentDocuments/[^/]*/asins$"),
1036
- rate: 10,
1037
- burst: 10
1038
- },
1039
- {
1040
- method: "post",
1041
- // eslint-disable-next-line prefer-regex-literals
1042
- urlRegex: new RegExp("^/aplus/2020-11-01/contentAsinValidations$"),
1043
- rate: 10,
1044
- burst: 10
1045
- },
1046
- {
1047
- method: "get",
1048
- // eslint-disable-next-line prefer-regex-literals
1049
- urlRegex: new RegExp("^/aplus/2020-11-01/contentPublishRecords$"),
1050
- rate: 10,
1051
- burst: 10
1052
- },
1053
- {
1054
- method: "post",
1055
- // eslint-disable-next-line prefer-regex-literals
1056
- urlRegex: new RegExp("^/aplus/2020-11-01/contentDocuments/[^/]*/approvalSubmissions$"),
1057
- rate: 10,
1058
- burst: 10
1059
- },
1060
- {
1061
- method: "post",
1062
- // eslint-disable-next-line prefer-regex-literals
1063
- urlRegex: new RegExp("^/aplus/2020-11-01/contentDocuments/[^/]*/suspendSubmissions$"),
1064
- rate: 10,
1065
- burst: 10
1066
- }
1096
+ //#endregion
1097
+ //#region src/client.ts
1098
+ const clientRateLimits = [
1099
+ {
1100
+ method: "get",
1101
+ urlRegex: /^\/aplus\/2020\u{2D}11\u{2D}01\/contentDocuments$/v,
1102
+ rate: 10,
1103
+ burst: 10
1104
+ },
1105
+ {
1106
+ method: "post",
1107
+ urlRegex: /^\/aplus\/2020\u{2D}11\u{2D}01\/contentDocuments$/v,
1108
+ rate: 10,
1109
+ burst: 10
1110
+ },
1111
+ {
1112
+ method: "get",
1113
+ urlRegex: /^\/aplus\/2020\u{2D}11\u{2D}01\/contentDocuments\/[^\/]*$/v,
1114
+ rate: 10,
1115
+ burst: 10
1116
+ },
1117
+ {
1118
+ method: "post",
1119
+ urlRegex: /^\/aplus\/2020\u{2D}11\u{2D}01\/contentDocuments\/[^\/]*$/v,
1120
+ rate: 10,
1121
+ burst: 10
1122
+ },
1123
+ {
1124
+ method: "get",
1125
+ urlRegex: /^\/aplus\/2020\u{2D}11\u{2D}01\/contentDocuments\/[^\/]*\/asins$/v,
1126
+ rate: 10,
1127
+ burst: 10
1128
+ },
1129
+ {
1130
+ method: "post",
1131
+ urlRegex: /^\/aplus\/2020\u{2D}11\u{2D}01\/contentDocuments\/[^\/]*\/asins$/v,
1132
+ rate: 10,
1133
+ burst: 10
1134
+ },
1135
+ {
1136
+ method: "post",
1137
+ urlRegex: /^\/aplus\/2020\u{2D}11\u{2D}01\/contentAsinValidations$/v,
1138
+ rate: 10,
1139
+ burst: 10
1140
+ },
1141
+ {
1142
+ method: "get",
1143
+ urlRegex: /^\/aplus\/2020\u{2D}11\u{2D}01\/contentPublishRecords$/v,
1144
+ rate: 10,
1145
+ burst: 10
1146
+ },
1147
+ {
1148
+ method: "post",
1149
+ urlRegex: /^\/aplus\/2020\u{2D}11\u{2D}01\/contentDocuments\/[^\/]*\/approvalSubmissions$/v,
1150
+ rate: 10,
1151
+ burst: 10
1152
+ },
1153
+ {
1154
+ method: "post",
1155
+ urlRegex: /^\/aplus\/2020\u{2D}11\u{2D}01\/contentDocuments\/[^\/]*\/suspendSubmissions$/v,
1156
+ rate: 10,
1157
+ burst: 10
1158
+ }
1067
1159
  ];
1068
1160
  var AplusContentApiClient = class extends AplusContentApi {
1069
- constructor(configuration) {
1070
- const { axios, endpoint } = (0, import_common2.createAxiosInstance)(configuration, clientRateLimits);
1071
- super(new Configuration(), endpoint, axios);
1072
- }
1161
+ constructor(configuration) {
1162
+ const { axios, endpoint } = (0, _sp_api_sdk_common.createAxiosInstance)(configuration, clientRateLimits);
1163
+ super(new Configuration(), endpoint, axios);
1164
+ }
1073
1165
  };
1074
- // Annotate the CommonJS export names for ESM import in node:
1075
- 0 && (module.exports = {
1076
- AplusContentApi,
1077
- AplusContentApiAxiosParamCreator,
1078
- AplusContentApiClient,
1079
- AplusContentApiFactory,
1080
- AplusContentApiFp,
1081
- AsinBadge,
1082
- ColorType,
1083
- ContentBadge,
1084
- ContentModuleType,
1085
- ContentStatus,
1086
- ContentType,
1087
- DecoratorType,
1088
- GetContentDocumentIncludedDataSetEnum,
1089
- ListContentDocumentAsinRelationsIncludedDataSetEnum,
1090
- PositionType,
1091
- clientRateLimits
1092
- });
1166
+ //#endregion
1167
+ exports.AplusContentApi = AplusContentApi;
1168
+ exports.AplusContentApiAxiosParamCreator = AplusContentApiAxiosParamCreator;
1169
+ exports.AplusContentApiClient = AplusContentApiClient;
1170
+ exports.AplusContentApiFactory = AplusContentApiFactory;
1171
+ exports.AplusContentApiFp = AplusContentApiFp;
1172
+ exports.AsinBadge = AsinBadge;
1173
+ exports.ColorType = ColorType;
1174
+ exports.ContentBadge = ContentBadge;
1175
+ exports.ContentModuleType = ContentModuleType;
1176
+ exports.ContentStatus = ContentStatus;
1177
+ exports.ContentType = ContentType;
1178
+ exports.DecoratorType = DecoratorType;
1179
+ exports.GetContentDocumentIncludedDataSetEnum = GetContentDocumentIncludedDataSetEnum;
1180
+ exports.ListContentDocumentAsinRelationsIncludedDataSetEnum = ListContentDocumentAsinRelationsIncludedDataSetEnum;
1181
+ exports.PositionType = PositionType;
1182
+ exports.clientRateLimits = clientRateLimits;
1183
+
1093
1184
  //# sourceMappingURL=index.cjs.map