@sp-api-sdk/aplus-content-api-2020-11-01 3.1.20 → 4.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -4
- package/dist/index.cjs +1093 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +2182 -0
- package/dist/index.d.ts +2182 -0
- package/dist/index.js +1041 -0
- package/dist/index.js.map +1 -0
- package/package.json +23 -12
- package/dist/cjs/api-model/api/aplus-content-api.js +0 -772
- package/dist/cjs/api-model/api.js +0 -30
- package/dist/cjs/api-model/base.js +0 -52
- package/dist/cjs/api-model/common.js +0 -123
- package/dist/cjs/api-model/configuration.js +0 -98
- package/dist/cjs/api-model/index.js +0 -32
- package/dist/cjs/api-model/models/aplus-paginated-response-all-of.js +0 -15
- package/dist/cjs/api-model/models/aplus-paginated-response.js +0 -15
- package/dist/cjs/api-model/models/aplus-response.js +0 -15
- package/dist/cjs/api-model/models/asin-badge.js +0 -25
- package/dist/cjs/api-model/models/asin-metadata.js +0 -15
- package/dist/cjs/api-model/models/color-type.js +0 -23
- package/dist/cjs/api-model/models/content-badge.js +0 -26
- package/dist/cjs/api-model/models/content-document.js +0 -15
- package/dist/cjs/api-model/models/content-metadata-record.js +0 -15
- package/dist/cjs/api-model/models/content-metadata.js +0 -15
- package/dist/cjs/api-model/models/content-module-type.js +0 -36
- package/dist/cjs/api-model/models/content-module.js +0 -15
- package/dist/cjs/api-model/models/content-record.js +0 -15
- package/dist/cjs/api-model/models/content-status.js +0 -25
- package/dist/cjs/api-model/models/content-type.js +0 -23
- package/dist/cjs/api-model/models/decorator-type.js +0 -29
- package/dist/cjs/api-model/models/decorator.js +0 -15
- package/dist/cjs/api-model/models/error-list.js +0 -15
- package/dist/cjs/api-model/models/get-content-document-response-all-of.js +0 -15
- package/dist/cjs/api-model/models/get-content-document-response.js +0 -15
- package/dist/cjs/api-model/models/image-component.js +0 -15
- package/dist/cjs/api-model/models/image-crop-specification.js +0 -15
- package/dist/cjs/api-model/models/image-dimensions.js +0 -15
- package/dist/cjs/api-model/models/image-offsets.js +0 -15
- package/dist/cjs/api-model/models/index.js +0 -85
- package/dist/cjs/api-model/models/integer-with-units.js +0 -15
- package/dist/cjs/api-model/models/list-content-document-asin-relations-response-all-of.js +0 -15
- package/dist/cjs/api-model/models/list-content-document-asin-relations-response.js +0 -15
- package/dist/cjs/api-model/models/model-error.js +0 -15
- package/dist/cjs/api-model/models/paragraph-component.js +0 -15
- package/dist/cjs/api-model/models/plain-text-item.js +0 -15
- package/dist/cjs/api-model/models/position-type.js +0 -23
- package/dist/cjs/api-model/models/post-content-document-approval-submission-response.js +0 -15
- package/dist/cjs/api-model/models/post-content-document-asin-relations-request.js +0 -15
- package/dist/cjs/api-model/models/post-content-document-asin-relations-response.js +0 -15
- package/dist/cjs/api-model/models/post-content-document-request.js +0 -15
- package/dist/cjs/api-model/models/post-content-document-response-all-of.js +0 -15
- package/dist/cjs/api-model/models/post-content-document-response.js +0 -15
- package/dist/cjs/api-model/models/post-content-document-suspend-submission-response.js +0 -15
- package/dist/cjs/api-model/models/publish-record.js +0 -15
- package/dist/cjs/api-model/models/search-content-documents-response-all-of.js +0 -15
- package/dist/cjs/api-model/models/search-content-documents-response.js +0 -15
- package/dist/cjs/api-model/models/search-content-publish-records-response-all-of.js +0 -15
- package/dist/cjs/api-model/models/search-content-publish-records-response.js +0 -15
- package/dist/cjs/api-model/models/standard-company-logo-module.js +0 -15
- package/dist/cjs/api-model/models/standard-comparison-product-block.js +0 -15
- package/dist/cjs/api-model/models/standard-comparison-table-module.js +0 -15
- package/dist/cjs/api-model/models/standard-four-image-text-module.js +0 -15
- package/dist/cjs/api-model/models/standard-four-image-text-quadrant-module.js +0 -15
- package/dist/cjs/api-model/models/standard-header-image-text-module.js +0 -15
- package/dist/cjs/api-model/models/standard-header-text-list-block.js +0 -15
- package/dist/cjs/api-model/models/standard-image-caption-block.js +0 -15
- package/dist/cjs/api-model/models/standard-image-sidebar-module.js +0 -15
- package/dist/cjs/api-model/models/standard-image-text-block.js +0 -15
- package/dist/cjs/api-model/models/standard-image-text-caption-block.js +0 -15
- package/dist/cjs/api-model/models/standard-image-text-overlay-module.js +0 -15
- package/dist/cjs/api-model/models/standard-multiple-image-text-module.js +0 -15
- package/dist/cjs/api-model/models/standard-product-description-module.js +0 -15
- package/dist/cjs/api-model/models/standard-single-image-highlights-module.js +0 -15
- package/dist/cjs/api-model/models/standard-single-image-specs-detail-module.js +0 -15
- package/dist/cjs/api-model/models/standard-single-side-image-module.js +0 -15
- package/dist/cjs/api-model/models/standard-tech-specs-module.js +0 -15
- package/dist/cjs/api-model/models/standard-text-block.js +0 -15
- package/dist/cjs/api-model/models/standard-text-list-block.js +0 -15
- package/dist/cjs/api-model/models/standard-text-module.js +0 -15
- package/dist/cjs/api-model/models/standard-text-pair-block.js +0 -15
- package/dist/cjs/api-model/models/standard-three-image-text-module.js +0 -15
- package/dist/cjs/api-model/models/text-component.js +0 -15
- package/dist/cjs/api-model/models/text-item.js +0 -15
- package/dist/cjs/api-model/models/validate-content-document-asin-relations-response.js +0 -15
- package/dist/cjs/client.js +0 -84
- package/dist/cjs/index.js +0 -19
- package/dist/es/api-model/api/aplus-content-api.js +0 -762
- package/dist/es/api-model/api.js +0 -14
- package/dist/es/api-model/base.js +0 -44
- package/dist/es/api-model/common.js +0 -110
- package/dist/es/api-model/configuration.js +0 -94
- package/dist/es/api-model/index.js +0 -16
- package/dist/es/api-model/models/aplus-paginated-response-all-of.js +0 -14
- package/dist/es/api-model/models/aplus-paginated-response.js +0 -14
- package/dist/es/api-model/models/aplus-response.js +0 -14
- package/dist/es/api-model/models/asin-badge.js +0 -22
- package/dist/es/api-model/models/asin-metadata.js +0 -14
- package/dist/es/api-model/models/color-type.js +0 -20
- package/dist/es/api-model/models/content-badge.js +0 -23
- package/dist/es/api-model/models/content-document.js +0 -14
- package/dist/es/api-model/models/content-metadata-record.js +0 -14
- package/dist/es/api-model/models/content-metadata.js +0 -14
- package/dist/es/api-model/models/content-module-type.js +0 -33
- package/dist/es/api-model/models/content-module.js +0 -14
- package/dist/es/api-model/models/content-record.js +0 -14
- package/dist/es/api-model/models/content-status.js +0 -22
- package/dist/es/api-model/models/content-type.js +0 -20
- package/dist/es/api-model/models/decorator-type.js +0 -26
- package/dist/es/api-model/models/decorator.js +0 -14
- package/dist/es/api-model/models/error-list.js +0 -14
- package/dist/es/api-model/models/get-content-document-response-all-of.js +0 -14
- package/dist/es/api-model/models/get-content-document-response.js +0 -14
- package/dist/es/api-model/models/image-component.js +0 -14
- package/dist/es/api-model/models/image-crop-specification.js +0 -14
- package/dist/es/api-model/models/image-dimensions.js +0 -14
- package/dist/es/api-model/models/image-offsets.js +0 -14
- package/dist/es/api-model/models/index.js +0 -69
- package/dist/es/api-model/models/integer-with-units.js +0 -14
- package/dist/es/api-model/models/list-content-document-asin-relations-response-all-of.js +0 -14
- package/dist/es/api-model/models/list-content-document-asin-relations-response.js +0 -14
- package/dist/es/api-model/models/model-error.js +0 -14
- package/dist/es/api-model/models/paragraph-component.js +0 -14
- package/dist/es/api-model/models/plain-text-item.js +0 -14
- package/dist/es/api-model/models/position-type.js +0 -20
- package/dist/es/api-model/models/post-content-document-approval-submission-response.js +0 -14
- package/dist/es/api-model/models/post-content-document-asin-relations-request.js +0 -14
- package/dist/es/api-model/models/post-content-document-asin-relations-response.js +0 -14
- package/dist/es/api-model/models/post-content-document-request.js +0 -14
- package/dist/es/api-model/models/post-content-document-response-all-of.js +0 -14
- package/dist/es/api-model/models/post-content-document-response.js +0 -14
- package/dist/es/api-model/models/post-content-document-suspend-submission-response.js +0 -14
- package/dist/es/api-model/models/publish-record.js +0 -14
- package/dist/es/api-model/models/search-content-documents-response-all-of.js +0 -14
- package/dist/es/api-model/models/search-content-documents-response.js +0 -14
- package/dist/es/api-model/models/search-content-publish-records-response-all-of.js +0 -14
- package/dist/es/api-model/models/search-content-publish-records-response.js +0 -14
- package/dist/es/api-model/models/standard-company-logo-module.js +0 -14
- package/dist/es/api-model/models/standard-comparison-product-block.js +0 -14
- package/dist/es/api-model/models/standard-comparison-table-module.js +0 -14
- package/dist/es/api-model/models/standard-four-image-text-module.js +0 -14
- package/dist/es/api-model/models/standard-four-image-text-quadrant-module.js +0 -14
- package/dist/es/api-model/models/standard-header-image-text-module.js +0 -14
- package/dist/es/api-model/models/standard-header-text-list-block.js +0 -14
- package/dist/es/api-model/models/standard-image-caption-block.js +0 -14
- package/dist/es/api-model/models/standard-image-sidebar-module.js +0 -14
- package/dist/es/api-model/models/standard-image-text-block.js +0 -14
- package/dist/es/api-model/models/standard-image-text-caption-block.js +0 -14
- package/dist/es/api-model/models/standard-image-text-overlay-module.js +0 -14
- package/dist/es/api-model/models/standard-multiple-image-text-module.js +0 -14
- package/dist/es/api-model/models/standard-product-description-module.js +0 -14
- package/dist/es/api-model/models/standard-single-image-highlights-module.js +0 -14
- package/dist/es/api-model/models/standard-single-image-specs-detail-module.js +0 -14
- package/dist/es/api-model/models/standard-single-side-image-module.js +0 -14
- package/dist/es/api-model/models/standard-tech-specs-module.js +0 -14
- package/dist/es/api-model/models/standard-text-block.js +0 -14
- package/dist/es/api-model/models/standard-text-list-block.js +0 -14
- package/dist/es/api-model/models/standard-text-module.js +0 -14
- package/dist/es/api-model/models/standard-text-pair-block.js +0 -14
- package/dist/es/api-model/models/standard-three-image-text-module.js +0 -14
- package/dist/es/api-model/models/text-component.js +0 -14
- package/dist/es/api-model/models/text-item.js +0 -14
- package/dist/es/api-model/models/validate-content-document-asin-relations-response.js +0 -14
- package/dist/es/client.js +0 -80
- package/dist/es/index.js +0 -3
- package/dist/types/api-model/api/aplus-content-api.d.ts +0 -533
- package/dist/types/api-model/api.d.ts +0 -12
- package/dist/types/api-model/base.d.ts +0 -42
- package/dist/types/api-model/common.d.ts +0 -34
- package/dist/types/api-model/configuration.d.ts +0 -98
- package/dist/types/api-model/index.d.ts +0 -14
- package/dist/types/api-model/models/aplus-paginated-response-all-of.d.ts +0 -17
- package/dist/types/api-model/models/aplus-paginated-response.d.ts +0 -18
- package/dist/types/api-model/models/aplus-response.d.ts +0 -20
- package/dist/types/api-model/models/asin-badge.d.ts +0 -21
- package/dist/types/api-model/models/asin-metadata.d.ts +0 -41
- package/dist/types/api-model/models/color-type.d.ts +0 -19
- package/dist/types/api-model/models/content-badge.d.ts +0 -22
- package/dist/types/api-model/models/content-document.d.ts +0 -35
- package/dist/types/api-model/models/content-metadata-record.d.ts +0 -22
- package/dist/types/api-model/models/content-metadata.d.ts +0 -35
- package/dist/types/api-model/models/content-module-type.d.ts +0 -32
- package/dist/types/api-model/models/content-module.d.ts +0 -48
- package/dist/types/api-model/models/content-record.d.ts +0 -24
- package/dist/types/api-model/models/content-status.d.ts +0 -21
- package/dist/types/api-model/models/content-type.d.ts +0 -19
- package/dist/types/api-model/models/decorator-type.d.ts +0 -25
- package/dist/types/api-model/models/decorator.d.ts +0 -30
- package/dist/types/api-model/models/error-list.d.ts +0 -20
- package/dist/types/api-model/models/get-content-document-response-all-of.d.ts +0 -15
- package/dist/types/api-model/models/get-content-document-response.d.ts +0 -17
- package/dist/types/api-model/models/image-component.d.ts +0 -26
- package/dist/types/api-model/models/image-crop-specification.d.ts +0 -20
- package/dist/types/api-model/models/image-dimensions.d.ts +0 -19
- package/dist/types/api-model/models/image-offsets.d.ts +0 -19
- package/dist/types/api-model/models/index.d.ts +0 -69
- package/dist/types/api-model/models/integer-with-units.d.ts +0 -24
- package/dist/types/api-model/models/list-content-document-asin-relations-response-all-of.d.ts +0 -18
- package/dist/types/api-model/models/list-content-document-asin-relations-response.d.ts +0 -17
- package/dist/types/api-model/models/model-error.d.ts +0 -28
- package/dist/types/api-model/models/paragraph-component.d.ts +0 -18
- package/dist/types/api-model/models/plain-text-item.d.ts +0 -24
- package/dist/types/api-model/models/position-type.d.ts +0 -19
- package/dist/types/api-model/models/post-content-document-approval-submission-response.d.ts +0 -16
- package/dist/types/api-model/models/post-content-document-asin-relations-request.d.ts +0 -17
- package/dist/types/api-model/models/post-content-document-asin-relations-response.d.ts +0 -16
- package/dist/types/api-model/models/post-content-document-request.d.ts +0 -15
- package/dist/types/api-model/models/post-content-document-response-all-of.d.ts +0 -17
- package/dist/types/api-model/models/post-content-document-response.d.ts +0 -17
- package/dist/types/api-model/models/post-content-document-suspend-submission-response.d.ts +0 -16
- package/dist/types/api-model/models/publish-record.d.ts +0 -38
- package/dist/types/api-model/models/search-content-documents-response-all-of.d.ts +0 -18
- package/dist/types/api-model/models/search-content-documents-response.d.ts +0 -17
- package/dist/types/api-model/models/search-content-publish-records-response-all-of.d.ts +0 -18
- package/dist/types/api-model/models/search-content-publish-records-response.d.ts +0 -17
- package/dist/types/api-model/models/standard-company-logo-module.d.ts +0 -18
- package/dist/types/api-model/models/standard-comparison-product-block.d.ts +0 -39
- package/dist/types/api-model/models/standard-comparison-table-module.d.ts +0 -20
- package/dist/types/api-model/models/standard-four-image-text-module.d.ts +0 -23
- package/dist/types/api-model/models/standard-four-image-text-quadrant-module.d.ts +0 -21
- package/dist/types/api-model/models/standard-header-image-text-module.d.ts +0 -20
- package/dist/types/api-model/models/standard-header-text-list-block.d.ts +0 -20
- package/dist/types/api-model/models/standard-image-caption-block.d.ts +0 -20
- package/dist/types/api-model/models/standard-image-sidebar-module.d.ts +0 -27
- package/dist/types/api-model/models/standard-image-text-block.d.ts +0 -22
- package/dist/types/api-model/models/standard-image-text-caption-block.d.ts +0 -20
- package/dist/types/api-model/models/standard-image-text-overlay-module.d.ts +0 -20
- package/dist/types/api-model/models/standard-multiple-image-text-module.d.ts +0 -18
- package/dist/types/api-model/models/standard-product-description-module.d.ts +0 -18
- package/dist/types/api-model/models/standard-single-image-highlights-module.d.ts +0 -26
- package/dist/types/api-model/models/standard-single-image-specs-detail-module.d.ts +0 -28
- package/dist/types/api-model/models/standard-single-side-image-module.d.ts +0 -20
- package/dist/types/api-model/models/standard-tech-specs-module.d.ts +0 -27
- package/dist/types/api-model/models/standard-text-block.d.ts +0 -20
- package/dist/types/api-model/models/standard-text-list-block.d.ts +0 -18
- package/dist/types/api-model/models/standard-text-module.d.ts +0 -20
- package/dist/types/api-model/models/standard-text-pair-block.d.ts +0 -19
- package/dist/types/api-model/models/standard-three-image-text-module.d.ts +0 -22
- package/dist/types/api-model/models/text-component.d.ts +0 -25
- package/dist/types/api-model/models/text-item.d.ts +0 -22
- package/dist/types/api-model/models/validate-content-document-asin-relations-response.d.ts +0 -17
- package/dist/types/client.d.ts +0 -6
- package/dist/types/index.d.ts +0 -3
package/dist/es/api-model/api.js
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Selling Partner API for A+ Content Management
|
|
5
|
-
* 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.
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 2020-11-01
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
export * from './api/aplus-content-api';
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Selling Partner API for A+ Content Management
|
|
5
|
-
* 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.
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 2020-11-01
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
import globalAxios from 'axios';
|
|
15
|
-
export const BASE_PATH = "https://sellingpartnerapi-na.amazon.com".replace(/\/+$/, "");
|
|
16
|
-
export const COLLECTION_FORMATS = {
|
|
17
|
-
csv: ",",
|
|
18
|
-
ssv: " ",
|
|
19
|
-
tsv: "\t",
|
|
20
|
-
pipes: "|",
|
|
21
|
-
};
|
|
22
|
-
export class BaseAPI {
|
|
23
|
-
basePath;
|
|
24
|
-
axios;
|
|
25
|
-
configuration;
|
|
26
|
-
constructor(configuration, basePath = BASE_PATH, axios = globalAxios) {
|
|
27
|
-
this.basePath = basePath;
|
|
28
|
-
this.axios = axios;
|
|
29
|
-
if (configuration) {
|
|
30
|
-
this.configuration = configuration;
|
|
31
|
-
this.basePath = configuration.basePath ?? basePath;
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
;
|
|
36
|
-
export class RequiredError extends Error {
|
|
37
|
-
field;
|
|
38
|
-
constructor(field, msg) {
|
|
39
|
-
super(msg);
|
|
40
|
-
this.field = field;
|
|
41
|
-
this.name = "RequiredError";
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
export const operationServerMap = {};
|
|
@@ -1,110 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Selling Partner API for A+ Content Management
|
|
5
|
-
* 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.
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 2020-11-01
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
import { RequiredError } from "./base";
|
|
15
|
-
export const DUMMY_BASE_URL = 'https://example.com';
|
|
16
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
* @throws {RequiredError}
|
|
19
|
-
*/
|
|
20
|
-
export const assertParamExists = function (functionName, paramName, paramValue) {
|
|
21
|
-
if (paramValue === null || paramValue === undefined) {
|
|
22
|
-
throw new RequiredError(paramName, `Required parameter ${paramName} was null or undefined when calling ${functionName}.`);
|
|
23
|
-
}
|
|
24
|
-
};
|
|
25
|
-
export const setApiKeyToObject = async function (object, keyParamName, configuration) {
|
|
26
|
-
if (configuration && configuration.apiKey) {
|
|
27
|
-
const localVarApiKeyValue = typeof configuration.apiKey === 'function'
|
|
28
|
-
? await configuration.apiKey(keyParamName)
|
|
29
|
-
: await configuration.apiKey;
|
|
30
|
-
object[keyParamName] = localVarApiKeyValue;
|
|
31
|
-
}
|
|
32
|
-
};
|
|
33
|
-
export const setBasicAuthToObject = function (object, configuration) {
|
|
34
|
-
if (configuration && (configuration.username || configuration.password)) {
|
|
35
|
-
object["auth"] = { username: configuration.username, password: configuration.password };
|
|
36
|
-
}
|
|
37
|
-
};
|
|
38
|
-
export const setBearerAuthToObject = async function (object, configuration) {
|
|
39
|
-
if (configuration && configuration.accessToken) {
|
|
40
|
-
const accessToken = typeof configuration.accessToken === 'function'
|
|
41
|
-
? await configuration.accessToken()
|
|
42
|
-
: await configuration.accessToken;
|
|
43
|
-
object["Authorization"] = "Bearer " + accessToken;
|
|
44
|
-
}
|
|
45
|
-
};
|
|
46
|
-
export const setOAuthToObject = async function (object, name, scopes, configuration) {
|
|
47
|
-
if (configuration && configuration.accessToken) {
|
|
48
|
-
const localVarAccessTokenValue = typeof configuration.accessToken === 'function'
|
|
49
|
-
? await configuration.accessToken(name, scopes)
|
|
50
|
-
: await configuration.accessToken;
|
|
51
|
-
object["Authorization"] = "Bearer " + localVarAccessTokenValue;
|
|
52
|
-
}
|
|
53
|
-
};
|
|
54
|
-
function setFlattenedQueryParams(urlSearchParams, parameter, key = "") {
|
|
55
|
-
if (parameter == null)
|
|
56
|
-
return;
|
|
57
|
-
if (typeof parameter === "object") {
|
|
58
|
-
if (Array.isArray(parameter) || parameter instanceof Set) {
|
|
59
|
-
parameter.forEach(item => setFlattenedQueryParams(urlSearchParams, item, key));
|
|
60
|
-
}
|
|
61
|
-
else {
|
|
62
|
-
Object.keys(parameter).forEach(currentKey => setFlattenedQueryParams(urlSearchParams, parameter[currentKey], `${key}${key !== '' ? '.' : ''}${currentKey}`));
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
else {
|
|
66
|
-
if (urlSearchParams.has(key)) {
|
|
67
|
-
urlSearchParams.append(key, parameter);
|
|
68
|
-
}
|
|
69
|
-
else {
|
|
70
|
-
urlSearchParams.set(key, parameter);
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
export 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
|
-
// @ts-ignore
|
|
85
|
-
export const replaceWithSerializableTypeIfNeeded = function (key, value) {
|
|
86
|
-
if (value instanceof Set) {
|
|
87
|
-
return Array.from(value);
|
|
88
|
-
}
|
|
89
|
-
else {
|
|
90
|
-
return value;
|
|
91
|
-
}
|
|
92
|
-
};
|
|
93
|
-
export const serializeDataIfNeeded = function (value, requestOptions, configuration) {
|
|
94
|
-
const nonString = typeof value !== 'string';
|
|
95
|
-
const needsSerialization = nonString && configuration && configuration.isJsonMime
|
|
96
|
-
? configuration.isJsonMime(requestOptions.headers['Content-Type'])
|
|
97
|
-
: nonString;
|
|
98
|
-
return needsSerialization
|
|
99
|
-
? JSON.stringify(value !== undefined ? value : {}, replaceWithSerializableTypeIfNeeded)
|
|
100
|
-
: (value || "");
|
|
101
|
-
};
|
|
102
|
-
export const toPathString = function (url) {
|
|
103
|
-
return url.pathname + url.search + url.hash;
|
|
104
|
-
};
|
|
105
|
-
export const createRequestFunction = function (axiosArgs, globalAxios, BASE_PATH, configuration) {
|
|
106
|
-
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
107
|
-
const axiosRequestArgs = { ...axiosArgs.options, url: (axios.defaults.baseURL ? '' : configuration?.basePath ?? basePath) + axiosArgs.url };
|
|
108
|
-
return axios.request(axiosRequestArgs);
|
|
109
|
-
};
|
|
110
|
-
};
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/**
|
|
3
|
-
* Selling Partner API for A+ Content Management
|
|
4
|
-
* 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.
|
|
5
|
-
*
|
|
6
|
-
* The version of the OpenAPI document: 2020-11-01
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
10
|
-
* https://openapi-generator.tech
|
|
11
|
-
* Do not edit the class manually.
|
|
12
|
-
*/
|
|
13
|
-
export class Configuration {
|
|
14
|
-
/**
|
|
15
|
-
* parameter for apiKey security
|
|
16
|
-
* @param name security name
|
|
17
|
-
*/
|
|
18
|
-
apiKey;
|
|
19
|
-
/**
|
|
20
|
-
* parameter for basic security
|
|
21
|
-
*/
|
|
22
|
-
username;
|
|
23
|
-
/**
|
|
24
|
-
* parameter for basic security
|
|
25
|
-
*/
|
|
26
|
-
password;
|
|
27
|
-
/**
|
|
28
|
-
* parameter for oauth2 security
|
|
29
|
-
* @param name security name
|
|
30
|
-
* @param scopes oauth2 scope
|
|
31
|
-
*/
|
|
32
|
-
accessToken;
|
|
33
|
-
/**
|
|
34
|
-
* parameter for aws4 signature security
|
|
35
|
-
* @param {Object} AWS4Signature - AWS4 Signature security
|
|
36
|
-
* @param {string} options.region - aws region
|
|
37
|
-
* @param {string} options.service - name of the service.
|
|
38
|
-
* @param {string} credentials.accessKeyId - aws access key id
|
|
39
|
-
* @param {string} credentials.secretAccessKey - aws access key
|
|
40
|
-
* @param {string} credentials.sessionToken - aws session token
|
|
41
|
-
* @memberof Configuration
|
|
42
|
-
*/
|
|
43
|
-
awsv4;
|
|
44
|
-
/**
|
|
45
|
-
* override base path
|
|
46
|
-
*/
|
|
47
|
-
basePath;
|
|
48
|
-
/**
|
|
49
|
-
* override server index
|
|
50
|
-
*/
|
|
51
|
-
serverIndex;
|
|
52
|
-
/**
|
|
53
|
-
* base options for axios calls
|
|
54
|
-
*/
|
|
55
|
-
baseOptions;
|
|
56
|
-
/**
|
|
57
|
-
* The FormData constructor that will be used to create multipart form data
|
|
58
|
-
* requests. You can inject this here so that execution environments that
|
|
59
|
-
* do not support the FormData class can still run the generated client.
|
|
60
|
-
*
|
|
61
|
-
* @type {new () => FormData}
|
|
62
|
-
*/
|
|
63
|
-
formDataCtor;
|
|
64
|
-
constructor(param = {}) {
|
|
65
|
-
this.apiKey = param.apiKey;
|
|
66
|
-
this.username = param.username;
|
|
67
|
-
this.password = param.password;
|
|
68
|
-
this.accessToken = param.accessToken;
|
|
69
|
-
this.awsv4 = param.awsv4;
|
|
70
|
-
this.basePath = param.basePath;
|
|
71
|
-
this.serverIndex = param.serverIndex;
|
|
72
|
-
this.baseOptions = {
|
|
73
|
-
...param.baseOptions,
|
|
74
|
-
headers: {
|
|
75
|
-
...param.baseOptions?.headers,
|
|
76
|
-
},
|
|
77
|
-
};
|
|
78
|
-
this.formDataCtor = param.formDataCtor;
|
|
79
|
-
}
|
|
80
|
-
/**
|
|
81
|
-
* Check if the given MIME is a JSON MIME.
|
|
82
|
-
* JSON MIME examples:
|
|
83
|
-
* application/json
|
|
84
|
-
* application/json; charset=UTF8
|
|
85
|
-
* APPLICATION/JSON
|
|
86
|
-
* application/vnd.company+json
|
|
87
|
-
* @param mime - MIME (Multipurpose Internet Mail Extensions)
|
|
88
|
-
* @return True if the given MIME is JSON, false otherwise.
|
|
89
|
-
*/
|
|
90
|
-
isJsonMime(mime) {
|
|
91
|
-
const jsonMime = /^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$/i;
|
|
92
|
-
return mime !== null && jsonMime.test(mime);
|
|
93
|
-
}
|
|
94
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Selling Partner API for A+ Content Management
|
|
5
|
-
* 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.
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 2020-11-01
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
export * from "./api";
|
|
15
|
-
export * from "./configuration";
|
|
16
|
-
export * from "./models";
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Selling Partner API for A+ Content Management
|
|
5
|
-
* 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.
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 2020-11-01
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
export {};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Selling Partner API for A+ Content Management
|
|
5
|
-
* 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.
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 2020-11-01
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
export {};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Selling Partner API for A+ Content Management
|
|
5
|
-
* 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.
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 2020-11-01
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
export {};
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Selling Partner API for A+ Content Management
|
|
5
|
-
* 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.
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 2020-11-01
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
/**
|
|
15
|
-
* A flag that provides additional information about an ASIN. This is contextual and can change depending on the request that generated it.
|
|
16
|
-
*/
|
|
17
|
-
export const AsinBadge = {
|
|
18
|
-
BrandNotEligible: 'BRAND_NOT_ELIGIBLE',
|
|
19
|
-
CatalogNotFound: 'CATALOG_NOT_FOUND',
|
|
20
|
-
ContentNotPublished: 'CONTENT_NOT_PUBLISHED',
|
|
21
|
-
ContentPublished: 'CONTENT_PUBLISHED',
|
|
22
|
-
};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Selling Partner API for A+ Content Management
|
|
5
|
-
* 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.
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 2020-11-01
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
export {};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Selling Partner API for A+ Content Management
|
|
5
|
-
* 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.
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 2020-11-01
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
/**
|
|
15
|
-
* The relative color scheme of your content.
|
|
16
|
-
*/
|
|
17
|
-
export const ColorType = {
|
|
18
|
-
Dark: 'DARK',
|
|
19
|
-
Light: 'LIGHT',
|
|
20
|
-
};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Selling Partner API for A+ Content Management
|
|
5
|
-
* 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.
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 2020-11-01
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
/**
|
|
15
|
-
* A flag that provides additional information about an A+ Content document.
|
|
16
|
-
*/
|
|
17
|
-
export const ContentBadge = {
|
|
18
|
-
Bulk: 'BULK',
|
|
19
|
-
Generated: 'GENERATED',
|
|
20
|
-
Launchpad: 'LAUNCHPAD',
|
|
21
|
-
Premium: 'PREMIUM',
|
|
22
|
-
Standard: 'STANDARD',
|
|
23
|
-
};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Selling Partner API for A+ Content Management
|
|
5
|
-
* 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.
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 2020-11-01
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
export {};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Selling Partner API for A+ Content Management
|
|
5
|
-
* 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.
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 2020-11-01
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
export {};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Selling Partner API for A+ Content Management
|
|
5
|
-
* 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.
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 2020-11-01
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
export {};
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Selling Partner API for A+ Content Management
|
|
5
|
-
* 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.
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 2020-11-01
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
/**
|
|
15
|
-
* The type of A+ Content module.
|
|
16
|
-
*/
|
|
17
|
-
export const ContentModuleType = {
|
|
18
|
-
StandardCompanyLogo: 'STANDARD_COMPANY_LOGO',
|
|
19
|
-
StandardComparisonTable: 'STANDARD_COMPARISON_TABLE',
|
|
20
|
-
StandardFourImageText: 'STANDARD_FOUR_IMAGE_TEXT',
|
|
21
|
-
StandardFourImageTextQuadrant: 'STANDARD_FOUR_IMAGE_TEXT_QUADRANT',
|
|
22
|
-
StandardHeaderImageText: 'STANDARD_HEADER_IMAGE_TEXT',
|
|
23
|
-
StandardImageSidebar: 'STANDARD_IMAGE_SIDEBAR',
|
|
24
|
-
StandardImageTextOverlay: 'STANDARD_IMAGE_TEXT_OVERLAY',
|
|
25
|
-
StandardMultipleImageText: 'STANDARD_MULTIPLE_IMAGE_TEXT',
|
|
26
|
-
StandardProductDescription: 'STANDARD_PRODUCT_DESCRIPTION',
|
|
27
|
-
StandardSingleImageHighlights: 'STANDARD_SINGLE_IMAGE_HIGHLIGHTS',
|
|
28
|
-
StandardSingleImageSpecsDetail: 'STANDARD_SINGLE_IMAGE_SPECS_DETAIL',
|
|
29
|
-
StandardSingleSideImage: 'STANDARD_SINGLE_SIDE_IMAGE',
|
|
30
|
-
StandardTechSpecs: 'STANDARD_TECH_SPECS',
|
|
31
|
-
StandardText: 'STANDARD_TEXT',
|
|
32
|
-
StandardThreeImageText: 'STANDARD_THREE_IMAGE_TEXT',
|
|
33
|
-
};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Selling Partner API for A+ Content Management
|
|
5
|
-
* 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.
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 2020-11-01
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
export {};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Selling Partner API for A+ Content Management
|
|
5
|
-
* 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.
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 2020-11-01
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
export {};
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Selling Partner API for A+ Content Management
|
|
5
|
-
* 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.
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 2020-11-01
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
/**
|
|
15
|
-
* The submission status of the content document.
|
|
16
|
-
*/
|
|
17
|
-
export const ContentStatus = {
|
|
18
|
-
Approved: 'APPROVED',
|
|
19
|
-
Draft: 'DRAFT',
|
|
20
|
-
Rejected: 'REJECTED',
|
|
21
|
-
Submitted: 'SUBMITTED',
|
|
22
|
-
};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Selling Partner API for A+ Content Management
|
|
5
|
-
* 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.
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 2020-11-01
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
/**
|
|
15
|
-
* The A+ Content document type.
|
|
16
|
-
*/
|
|
17
|
-
export const ContentType = {
|
|
18
|
-
Ebc: 'EBC',
|
|
19
|
-
Emc: 'EMC',
|
|
20
|
-
};
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Selling Partner API for A+ Content Management
|
|
5
|
-
* 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.
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 2020-11-01
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
/**
|
|
15
|
-
* The type of rich text decorator.
|
|
16
|
-
*/
|
|
17
|
-
export const DecoratorType = {
|
|
18
|
-
ListItem: 'LIST_ITEM',
|
|
19
|
-
ListOrdered: 'LIST_ORDERED',
|
|
20
|
-
ListUnordered: 'LIST_UNORDERED',
|
|
21
|
-
StyleBold: 'STYLE_BOLD',
|
|
22
|
-
StyleItalic: 'STYLE_ITALIC',
|
|
23
|
-
StyleLinebreak: 'STYLE_LINEBREAK',
|
|
24
|
-
StyleParagraph: 'STYLE_PARAGRAPH',
|
|
25
|
-
StyleUnderline: 'STYLE_UNDERLINE',
|
|
26
|
-
};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Selling Partner API for A+ Content Management
|
|
5
|
-
* 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.
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 2020-11-01
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
export {};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Selling Partner API for A+ Content Management
|
|
5
|
-
* 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.
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 2020-11-01
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
export {};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Selling Partner API for A+ Content Management
|
|
5
|
-
* 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.
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 2020-11-01
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
export {};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Selling Partner API for A+ Content Management
|
|
5
|
-
* 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.
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 2020-11-01
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
export {};
|