@sp-api-sdk/aplus-content-api-2020-11-01 3.1.20 → 4.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (242) hide show
  1. package/README.md +7 -8
  2. package/dist/index.cjs +1184 -0
  3. package/dist/index.cjs.map +1 -0
  4. package/dist/index.d.cts +1606 -0
  5. package/dist/index.d.ts +1606 -0
  6. package/dist/index.js +1145 -0
  7. package/dist/index.js.map +1 -0
  8. package/package.json +26 -12
  9. package/dist/cjs/api-model/api/aplus-content-api.js +0 -772
  10. package/dist/cjs/api-model/api.js +0 -30
  11. package/dist/cjs/api-model/base.js +0 -52
  12. package/dist/cjs/api-model/common.js +0 -123
  13. package/dist/cjs/api-model/configuration.js +0 -98
  14. package/dist/cjs/api-model/index.js +0 -32
  15. package/dist/cjs/api-model/models/aplus-paginated-response-all-of.js +0 -15
  16. package/dist/cjs/api-model/models/aplus-paginated-response.js +0 -15
  17. package/dist/cjs/api-model/models/aplus-response.js +0 -15
  18. package/dist/cjs/api-model/models/asin-badge.js +0 -25
  19. package/dist/cjs/api-model/models/asin-metadata.js +0 -15
  20. package/dist/cjs/api-model/models/color-type.js +0 -23
  21. package/dist/cjs/api-model/models/content-badge.js +0 -26
  22. package/dist/cjs/api-model/models/content-document.js +0 -15
  23. package/dist/cjs/api-model/models/content-metadata-record.js +0 -15
  24. package/dist/cjs/api-model/models/content-metadata.js +0 -15
  25. package/dist/cjs/api-model/models/content-module-type.js +0 -36
  26. package/dist/cjs/api-model/models/content-module.js +0 -15
  27. package/dist/cjs/api-model/models/content-record.js +0 -15
  28. package/dist/cjs/api-model/models/content-status.js +0 -25
  29. package/dist/cjs/api-model/models/content-type.js +0 -23
  30. package/dist/cjs/api-model/models/decorator-type.js +0 -29
  31. package/dist/cjs/api-model/models/decorator.js +0 -15
  32. package/dist/cjs/api-model/models/error-list.js +0 -15
  33. package/dist/cjs/api-model/models/get-content-document-response-all-of.js +0 -15
  34. package/dist/cjs/api-model/models/get-content-document-response.js +0 -15
  35. package/dist/cjs/api-model/models/image-component.js +0 -15
  36. package/dist/cjs/api-model/models/image-crop-specification.js +0 -15
  37. package/dist/cjs/api-model/models/image-dimensions.js +0 -15
  38. package/dist/cjs/api-model/models/image-offsets.js +0 -15
  39. package/dist/cjs/api-model/models/index.js +0 -85
  40. package/dist/cjs/api-model/models/integer-with-units.js +0 -15
  41. package/dist/cjs/api-model/models/list-content-document-asin-relations-response-all-of.js +0 -15
  42. package/dist/cjs/api-model/models/list-content-document-asin-relations-response.js +0 -15
  43. package/dist/cjs/api-model/models/model-error.js +0 -15
  44. package/dist/cjs/api-model/models/paragraph-component.js +0 -15
  45. package/dist/cjs/api-model/models/plain-text-item.js +0 -15
  46. package/dist/cjs/api-model/models/position-type.js +0 -23
  47. package/dist/cjs/api-model/models/post-content-document-approval-submission-response.js +0 -15
  48. package/dist/cjs/api-model/models/post-content-document-asin-relations-request.js +0 -15
  49. package/dist/cjs/api-model/models/post-content-document-asin-relations-response.js +0 -15
  50. package/dist/cjs/api-model/models/post-content-document-request.js +0 -15
  51. package/dist/cjs/api-model/models/post-content-document-response-all-of.js +0 -15
  52. package/dist/cjs/api-model/models/post-content-document-response.js +0 -15
  53. package/dist/cjs/api-model/models/post-content-document-suspend-submission-response.js +0 -15
  54. package/dist/cjs/api-model/models/publish-record.js +0 -15
  55. package/dist/cjs/api-model/models/search-content-documents-response-all-of.js +0 -15
  56. package/dist/cjs/api-model/models/search-content-documents-response.js +0 -15
  57. package/dist/cjs/api-model/models/search-content-publish-records-response-all-of.js +0 -15
  58. package/dist/cjs/api-model/models/search-content-publish-records-response.js +0 -15
  59. package/dist/cjs/api-model/models/standard-company-logo-module.js +0 -15
  60. package/dist/cjs/api-model/models/standard-comparison-product-block.js +0 -15
  61. package/dist/cjs/api-model/models/standard-comparison-table-module.js +0 -15
  62. package/dist/cjs/api-model/models/standard-four-image-text-module.js +0 -15
  63. package/dist/cjs/api-model/models/standard-four-image-text-quadrant-module.js +0 -15
  64. package/dist/cjs/api-model/models/standard-header-image-text-module.js +0 -15
  65. package/dist/cjs/api-model/models/standard-header-text-list-block.js +0 -15
  66. package/dist/cjs/api-model/models/standard-image-caption-block.js +0 -15
  67. package/dist/cjs/api-model/models/standard-image-sidebar-module.js +0 -15
  68. package/dist/cjs/api-model/models/standard-image-text-block.js +0 -15
  69. package/dist/cjs/api-model/models/standard-image-text-caption-block.js +0 -15
  70. package/dist/cjs/api-model/models/standard-image-text-overlay-module.js +0 -15
  71. package/dist/cjs/api-model/models/standard-multiple-image-text-module.js +0 -15
  72. package/dist/cjs/api-model/models/standard-product-description-module.js +0 -15
  73. package/dist/cjs/api-model/models/standard-single-image-highlights-module.js +0 -15
  74. package/dist/cjs/api-model/models/standard-single-image-specs-detail-module.js +0 -15
  75. package/dist/cjs/api-model/models/standard-single-side-image-module.js +0 -15
  76. package/dist/cjs/api-model/models/standard-tech-specs-module.js +0 -15
  77. package/dist/cjs/api-model/models/standard-text-block.js +0 -15
  78. package/dist/cjs/api-model/models/standard-text-list-block.js +0 -15
  79. package/dist/cjs/api-model/models/standard-text-module.js +0 -15
  80. package/dist/cjs/api-model/models/standard-text-pair-block.js +0 -15
  81. package/dist/cjs/api-model/models/standard-three-image-text-module.js +0 -15
  82. package/dist/cjs/api-model/models/text-component.js +0 -15
  83. package/dist/cjs/api-model/models/text-item.js +0 -15
  84. package/dist/cjs/api-model/models/validate-content-document-asin-relations-response.js +0 -15
  85. package/dist/cjs/client.js +0 -84
  86. package/dist/cjs/index.js +0 -19
  87. package/dist/es/api-model/api/aplus-content-api.js +0 -762
  88. package/dist/es/api-model/api.js +0 -14
  89. package/dist/es/api-model/base.js +0 -44
  90. package/dist/es/api-model/common.js +0 -110
  91. package/dist/es/api-model/configuration.js +0 -94
  92. package/dist/es/api-model/index.js +0 -16
  93. package/dist/es/api-model/models/aplus-paginated-response-all-of.js +0 -14
  94. package/dist/es/api-model/models/aplus-paginated-response.js +0 -14
  95. package/dist/es/api-model/models/aplus-response.js +0 -14
  96. package/dist/es/api-model/models/asin-badge.js +0 -22
  97. package/dist/es/api-model/models/asin-metadata.js +0 -14
  98. package/dist/es/api-model/models/color-type.js +0 -20
  99. package/dist/es/api-model/models/content-badge.js +0 -23
  100. package/dist/es/api-model/models/content-document.js +0 -14
  101. package/dist/es/api-model/models/content-metadata-record.js +0 -14
  102. package/dist/es/api-model/models/content-metadata.js +0 -14
  103. package/dist/es/api-model/models/content-module-type.js +0 -33
  104. package/dist/es/api-model/models/content-module.js +0 -14
  105. package/dist/es/api-model/models/content-record.js +0 -14
  106. package/dist/es/api-model/models/content-status.js +0 -22
  107. package/dist/es/api-model/models/content-type.js +0 -20
  108. package/dist/es/api-model/models/decorator-type.js +0 -26
  109. package/dist/es/api-model/models/decorator.js +0 -14
  110. package/dist/es/api-model/models/error-list.js +0 -14
  111. package/dist/es/api-model/models/get-content-document-response-all-of.js +0 -14
  112. package/dist/es/api-model/models/get-content-document-response.js +0 -14
  113. package/dist/es/api-model/models/image-component.js +0 -14
  114. package/dist/es/api-model/models/image-crop-specification.js +0 -14
  115. package/dist/es/api-model/models/image-dimensions.js +0 -14
  116. package/dist/es/api-model/models/image-offsets.js +0 -14
  117. package/dist/es/api-model/models/index.js +0 -69
  118. package/dist/es/api-model/models/integer-with-units.js +0 -14
  119. package/dist/es/api-model/models/list-content-document-asin-relations-response-all-of.js +0 -14
  120. package/dist/es/api-model/models/list-content-document-asin-relations-response.js +0 -14
  121. package/dist/es/api-model/models/model-error.js +0 -14
  122. package/dist/es/api-model/models/paragraph-component.js +0 -14
  123. package/dist/es/api-model/models/plain-text-item.js +0 -14
  124. package/dist/es/api-model/models/position-type.js +0 -20
  125. package/dist/es/api-model/models/post-content-document-approval-submission-response.js +0 -14
  126. package/dist/es/api-model/models/post-content-document-asin-relations-request.js +0 -14
  127. package/dist/es/api-model/models/post-content-document-asin-relations-response.js +0 -14
  128. package/dist/es/api-model/models/post-content-document-request.js +0 -14
  129. package/dist/es/api-model/models/post-content-document-response-all-of.js +0 -14
  130. package/dist/es/api-model/models/post-content-document-response.js +0 -14
  131. package/dist/es/api-model/models/post-content-document-suspend-submission-response.js +0 -14
  132. package/dist/es/api-model/models/publish-record.js +0 -14
  133. package/dist/es/api-model/models/search-content-documents-response-all-of.js +0 -14
  134. package/dist/es/api-model/models/search-content-documents-response.js +0 -14
  135. package/dist/es/api-model/models/search-content-publish-records-response-all-of.js +0 -14
  136. package/dist/es/api-model/models/search-content-publish-records-response.js +0 -14
  137. package/dist/es/api-model/models/standard-company-logo-module.js +0 -14
  138. package/dist/es/api-model/models/standard-comparison-product-block.js +0 -14
  139. package/dist/es/api-model/models/standard-comparison-table-module.js +0 -14
  140. package/dist/es/api-model/models/standard-four-image-text-module.js +0 -14
  141. package/dist/es/api-model/models/standard-four-image-text-quadrant-module.js +0 -14
  142. package/dist/es/api-model/models/standard-header-image-text-module.js +0 -14
  143. package/dist/es/api-model/models/standard-header-text-list-block.js +0 -14
  144. package/dist/es/api-model/models/standard-image-caption-block.js +0 -14
  145. package/dist/es/api-model/models/standard-image-sidebar-module.js +0 -14
  146. package/dist/es/api-model/models/standard-image-text-block.js +0 -14
  147. package/dist/es/api-model/models/standard-image-text-caption-block.js +0 -14
  148. package/dist/es/api-model/models/standard-image-text-overlay-module.js +0 -14
  149. package/dist/es/api-model/models/standard-multiple-image-text-module.js +0 -14
  150. package/dist/es/api-model/models/standard-product-description-module.js +0 -14
  151. package/dist/es/api-model/models/standard-single-image-highlights-module.js +0 -14
  152. package/dist/es/api-model/models/standard-single-image-specs-detail-module.js +0 -14
  153. package/dist/es/api-model/models/standard-single-side-image-module.js +0 -14
  154. package/dist/es/api-model/models/standard-tech-specs-module.js +0 -14
  155. package/dist/es/api-model/models/standard-text-block.js +0 -14
  156. package/dist/es/api-model/models/standard-text-list-block.js +0 -14
  157. package/dist/es/api-model/models/standard-text-module.js +0 -14
  158. package/dist/es/api-model/models/standard-text-pair-block.js +0 -14
  159. package/dist/es/api-model/models/standard-three-image-text-module.js +0 -14
  160. package/dist/es/api-model/models/text-component.js +0 -14
  161. package/dist/es/api-model/models/text-item.js +0 -14
  162. package/dist/es/api-model/models/validate-content-document-asin-relations-response.js +0 -14
  163. package/dist/es/client.js +0 -80
  164. package/dist/es/index.js +0 -3
  165. package/dist/types/api-model/api/aplus-content-api.d.ts +0 -533
  166. package/dist/types/api-model/api.d.ts +0 -12
  167. package/dist/types/api-model/base.d.ts +0 -42
  168. package/dist/types/api-model/common.d.ts +0 -34
  169. package/dist/types/api-model/configuration.d.ts +0 -98
  170. package/dist/types/api-model/index.d.ts +0 -14
  171. package/dist/types/api-model/models/aplus-paginated-response-all-of.d.ts +0 -17
  172. package/dist/types/api-model/models/aplus-paginated-response.d.ts +0 -18
  173. package/dist/types/api-model/models/aplus-response.d.ts +0 -20
  174. package/dist/types/api-model/models/asin-badge.d.ts +0 -21
  175. package/dist/types/api-model/models/asin-metadata.d.ts +0 -41
  176. package/dist/types/api-model/models/color-type.d.ts +0 -19
  177. package/dist/types/api-model/models/content-badge.d.ts +0 -22
  178. package/dist/types/api-model/models/content-document.d.ts +0 -35
  179. package/dist/types/api-model/models/content-metadata-record.d.ts +0 -22
  180. package/dist/types/api-model/models/content-metadata.d.ts +0 -35
  181. package/dist/types/api-model/models/content-module-type.d.ts +0 -32
  182. package/dist/types/api-model/models/content-module.d.ts +0 -48
  183. package/dist/types/api-model/models/content-record.d.ts +0 -24
  184. package/dist/types/api-model/models/content-status.d.ts +0 -21
  185. package/dist/types/api-model/models/content-type.d.ts +0 -19
  186. package/dist/types/api-model/models/decorator-type.d.ts +0 -25
  187. package/dist/types/api-model/models/decorator.d.ts +0 -30
  188. package/dist/types/api-model/models/error-list.d.ts +0 -20
  189. package/dist/types/api-model/models/get-content-document-response-all-of.d.ts +0 -15
  190. package/dist/types/api-model/models/get-content-document-response.d.ts +0 -17
  191. package/dist/types/api-model/models/image-component.d.ts +0 -26
  192. package/dist/types/api-model/models/image-crop-specification.d.ts +0 -20
  193. package/dist/types/api-model/models/image-dimensions.d.ts +0 -19
  194. package/dist/types/api-model/models/image-offsets.d.ts +0 -19
  195. package/dist/types/api-model/models/index.d.ts +0 -69
  196. package/dist/types/api-model/models/integer-with-units.d.ts +0 -24
  197. package/dist/types/api-model/models/list-content-document-asin-relations-response-all-of.d.ts +0 -18
  198. package/dist/types/api-model/models/list-content-document-asin-relations-response.d.ts +0 -17
  199. package/dist/types/api-model/models/model-error.d.ts +0 -28
  200. package/dist/types/api-model/models/paragraph-component.d.ts +0 -18
  201. package/dist/types/api-model/models/plain-text-item.d.ts +0 -24
  202. package/dist/types/api-model/models/position-type.d.ts +0 -19
  203. package/dist/types/api-model/models/post-content-document-approval-submission-response.d.ts +0 -16
  204. package/dist/types/api-model/models/post-content-document-asin-relations-request.d.ts +0 -17
  205. package/dist/types/api-model/models/post-content-document-asin-relations-response.d.ts +0 -16
  206. package/dist/types/api-model/models/post-content-document-request.d.ts +0 -15
  207. package/dist/types/api-model/models/post-content-document-response-all-of.d.ts +0 -17
  208. package/dist/types/api-model/models/post-content-document-response.d.ts +0 -17
  209. package/dist/types/api-model/models/post-content-document-suspend-submission-response.d.ts +0 -16
  210. package/dist/types/api-model/models/publish-record.d.ts +0 -38
  211. package/dist/types/api-model/models/search-content-documents-response-all-of.d.ts +0 -18
  212. package/dist/types/api-model/models/search-content-documents-response.d.ts +0 -17
  213. package/dist/types/api-model/models/search-content-publish-records-response-all-of.d.ts +0 -18
  214. package/dist/types/api-model/models/search-content-publish-records-response.d.ts +0 -17
  215. package/dist/types/api-model/models/standard-company-logo-module.d.ts +0 -18
  216. package/dist/types/api-model/models/standard-comparison-product-block.d.ts +0 -39
  217. package/dist/types/api-model/models/standard-comparison-table-module.d.ts +0 -20
  218. package/dist/types/api-model/models/standard-four-image-text-module.d.ts +0 -23
  219. package/dist/types/api-model/models/standard-four-image-text-quadrant-module.d.ts +0 -21
  220. package/dist/types/api-model/models/standard-header-image-text-module.d.ts +0 -20
  221. package/dist/types/api-model/models/standard-header-text-list-block.d.ts +0 -20
  222. package/dist/types/api-model/models/standard-image-caption-block.d.ts +0 -20
  223. package/dist/types/api-model/models/standard-image-sidebar-module.d.ts +0 -27
  224. package/dist/types/api-model/models/standard-image-text-block.d.ts +0 -22
  225. package/dist/types/api-model/models/standard-image-text-caption-block.d.ts +0 -20
  226. package/dist/types/api-model/models/standard-image-text-overlay-module.d.ts +0 -20
  227. package/dist/types/api-model/models/standard-multiple-image-text-module.d.ts +0 -18
  228. package/dist/types/api-model/models/standard-product-description-module.d.ts +0 -18
  229. package/dist/types/api-model/models/standard-single-image-highlights-module.d.ts +0 -26
  230. package/dist/types/api-model/models/standard-single-image-specs-detail-module.d.ts +0 -28
  231. package/dist/types/api-model/models/standard-single-side-image-module.d.ts +0 -20
  232. package/dist/types/api-model/models/standard-tech-specs-module.d.ts +0 -27
  233. package/dist/types/api-model/models/standard-text-block.d.ts +0 -20
  234. package/dist/types/api-model/models/standard-text-list-block.d.ts +0 -18
  235. package/dist/types/api-model/models/standard-text-module.d.ts +0 -20
  236. package/dist/types/api-model/models/standard-text-pair-block.d.ts +0 -19
  237. package/dist/types/api-model/models/standard-three-image-text-module.d.ts +0 -22
  238. package/dist/types/api-model/models/text-component.d.ts +0 -25
  239. package/dist/types/api-model/models/text-item.d.ts +0 -22
  240. package/dist/types/api-model/models/validate-content-document-asin-relations-response.d.ts +0 -17
  241. package/dist/types/client.d.ts +0 -6
  242. package/dist/types/index.d.ts +0 -3
package/dist/index.cjs ADDED
@@ -0,0 +1,1184 @@
1
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
+ //#region \0rolldown/runtime.js
3
+ var __create = Object.create;
4
+ var __defProp = Object.defineProperty;
5
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
6
+ var __getOwnPropNames = Object.getOwnPropertyNames;
7
+ var __getProtoOf = Object.getPrototypeOf;
8
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
9
+ var __copyProps = (to, from, except, desc) => {
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;
18
+ };
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: "|"
34
+ };
35
+ var BaseAPI = class {
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
+ }
47
+ };
48
+ var RequiredError = class extends Error {
49
+ field;
50
+ constructor(field, msg) {
51
+ super(msg);
52
+ this.field = field;
53
+ this.name = "RequiredError";
54
+ }
55
+ };
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}.`);
66
+ };
67
+ function setFlattenedQueryParams(urlSearchParams, parameter, key = "") {
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);
73
+ }
74
+ const setSearchParams = function(url, ...objects) {
75
+ const searchParams = new URLSearchParams(url.search);
76
+ setFlattenedQueryParams(searchParams, objects);
77
+ url.search = searchParams.toString();
78
+ };
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;
87
+ };
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 || "";
91
+ };
92
+ const toPathString = function(url) {
93
+ return url.pathname + url.search + url.hash;
94
+ };
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
+ };
103
+ };
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
+ };
484
+ };
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
+ };
630
+ };
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
+ };
728
+ };
729
+ /**
730
+ * AplusContentApi - object-oriented interface
731
+ */
732
+ var AplusContentApi = class extends BaseAPI {
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
+ }
823
+ };
824
+ const GetContentDocumentIncludedDataSetEnum = {
825
+ Contents: "CONTENTS",
826
+ Metadata: "METADATA"
827
+ };
828
+ const ListContentDocumentAsinRelationsIncludedDataSetEnum = { Metadata: "METADATA" };
829
+ //#endregion
830
+ //#region src/api-model/configuration.ts
831
+ var Configuration = class {
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
+ }
909
+ };
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"
931
+ };
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"
951
+ };
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"
974
+ };
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"
1007
+ };
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"
1029
+ };
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"
1049
+ };
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"
1075
+ };
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"
1095
+ };
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
+ }
1159
+ ];
1160
+ var AplusContentApiClient = class extends AplusContentApi {
1161
+ constructor(configuration) {
1162
+ const { axios, endpoint } = (0, _sp_api_sdk_common.createAxiosInstance)(configuration, clientRateLimits);
1163
+ super(new Configuration(), endpoint, axios);
1164
+ }
1165
+ };
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
+
1184
+ //# sourceMappingURL=index.cjs.map