@sp-api-sdk/aplus-content-api-2020-11-01 1.9.2 → 1.9.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/src/api-model/api/aplus-content-api.js +10 -10
- package/dist/cjs/src/api-model/models/asin-badge.js +6 -7
- package/dist/cjs/src/api-model/models/color-type.js +4 -5
- package/dist/cjs/src/api-model/models/content-badge.js +7 -8
- package/dist/cjs/src/api-model/models/content-module-type.js +17 -18
- package/dist/cjs/src/api-model/models/content-status.js +6 -7
- package/dist/cjs/src/api-model/models/content-type.js +4 -5
- package/dist/cjs/src/api-model/models/decorator-type.js +10 -11
- package/dist/cjs/src/api-model/models/position-type.js +4 -5
- package/dist/es/src/api-model/api/aplus-content-api.js +10 -10
- package/dist/es/src/api-model/models/asin-badge.js +6 -7
- package/dist/es/src/api-model/models/color-type.js +4 -5
- package/dist/es/src/api-model/models/content-badge.js +7 -8
- package/dist/es/src/api-model/models/content-module-type.js +17 -18
- package/dist/es/src/api-model/models/content-status.js +6 -7
- package/dist/es/src/api-model/models/content-type.js +4 -5
- package/dist/es/src/api-model/models/decorator-type.js +10 -11
- package/dist/es/src/api-model/models/position-type.js +4 -5
- package/dist/types/src/api-model/api/aplus-content-api.d.ts +31 -31
- package/dist/types/src/api-model/base.d.ts +2 -2
- package/dist/types/src/api-model/common.d.ts +2 -2
- package/dist/types/src/api-model/models/aplus-paginated-response-all-of.d.ts +1 -1
- package/dist/types/src/api-model/models/aplus-response.d.ts +1 -1
- package/dist/types/src/api-model/models/asin-badge.d.ts +7 -6
- package/dist/types/src/api-model/models/asin-metadata.d.ts +6 -6
- package/dist/types/src/api-model/models/color-type.d.ts +5 -4
- package/dist/types/src/api-model/models/content-badge.d.ts +8 -7
- package/dist/types/src/api-model/models/content-document.d.ts +5 -5
- package/dist/types/src/api-model/models/content-metadata-record.d.ts +2 -2
- package/dist/types/src/api-model/models/content-metadata.d.ts +5 -5
- package/dist/types/src/api-model/models/content-module-type.d.ts +18 -17
- package/dist/types/src/api-model/models/content-module.d.ts +16 -16
- package/dist/types/src/api-model/models/content-record.d.ts +3 -3
- package/dist/types/src/api-model/models/content-status.d.ts +7 -6
- package/dist/types/src/api-model/models/content-type.d.ts +5 -4
- package/dist/types/src/api-model/models/decorator-type.d.ts +11 -10
- package/dist/types/src/api-model/models/decorator.d.ts +4 -4
- package/dist/types/src/api-model/models/error-list.d.ts +1 -1
- package/dist/types/src/api-model/models/get-content-document-response-all-of.d.ts +1 -1
- package/dist/types/src/api-model/models/image-component.d.ts +3 -3
- package/dist/types/src/api-model/models/image-crop-specification.d.ts +2 -2
- package/dist/types/src/api-model/models/image-dimensions.d.ts +2 -2
- package/dist/types/src/api-model/models/image-offsets.d.ts +2 -2
- package/dist/types/src/api-model/models/integer-with-units.d.ts +2 -2
- package/dist/types/src/api-model/models/list-content-document-asin-relations-response-all-of.d.ts +1 -1
- package/dist/types/src/api-model/models/model-error.d.ts +3 -3
- package/dist/types/src/api-model/models/paragraph-component.d.ts +1 -1
- package/dist/types/src/api-model/models/plain-text-item.d.ts +2 -2
- package/dist/types/src/api-model/models/position-type.d.ts +5 -4
- package/dist/types/src/api-model/models/post-content-document-asin-relations-request.d.ts +1 -1
- package/dist/types/src/api-model/models/post-content-document-request.d.ts +1 -1
- package/dist/types/src/api-model/models/post-content-document-response-all-of.d.ts +1 -1
- package/dist/types/src/api-model/models/publish-record.d.ts +6 -6
- package/dist/types/src/api-model/models/search-content-documents-response-all-of.d.ts +1 -1
- package/dist/types/src/api-model/models/search-content-publish-records-response-all-of.d.ts +1 -1
- package/dist/types/src/api-model/models/standard-company-logo-module.d.ts +1 -1
- package/dist/types/src/api-model/models/standard-comparison-product-block.d.ts +6 -6
- package/dist/types/src/api-model/models/standard-comparison-table-module.d.ts +2 -2
- package/dist/types/src/api-model/models/standard-four-image-text-module.d.ts +5 -5
- package/dist/types/src/api-model/models/standard-four-image-text-quadrant-module.d.ts +4 -4
- package/dist/types/src/api-model/models/standard-header-image-text-module.d.ts +2 -2
- package/dist/types/src/api-model/models/standard-header-text-list-block.d.ts +2 -2
- package/dist/types/src/api-model/models/standard-image-caption-block.d.ts +2 -2
- package/dist/types/src/api-model/models/standard-image-sidebar-module.d.ts +6 -6
- package/dist/types/src/api-model/models/standard-image-text-block.d.ts +3 -3
- package/dist/types/src/api-model/models/standard-image-text-caption-block.d.ts +2 -2
- package/dist/types/src/api-model/models/standard-image-text-overlay-module.d.ts +2 -2
- package/dist/types/src/api-model/models/standard-multiple-image-text-module.d.ts +1 -1
- package/dist/types/src/api-model/models/standard-product-description-module.d.ts +1 -1
- package/dist/types/src/api-model/models/standard-single-image-highlights-module.d.ts +6 -6
- package/dist/types/src/api-model/models/standard-single-image-specs-detail-module.d.ts +8 -8
- package/dist/types/src/api-model/models/standard-single-side-image-module.d.ts +2 -2
- package/dist/types/src/api-model/models/standard-tech-specs-module.d.ts +3 -3
- package/dist/types/src/api-model/models/standard-text-block.d.ts +2 -2
- package/dist/types/src/api-model/models/standard-text-list-block.d.ts +1 -1
- package/dist/types/src/api-model/models/standard-text-module.d.ts +2 -2
- package/dist/types/src/api-model/models/standard-text-pair-block.d.ts +2 -2
- package/dist/types/src/api-model/models/standard-three-image-text-module.d.ts +4 -4
- package/dist/types/src/api-model/models/text-component.d.ts +2 -2
- package/dist/types/src/api-model/models/text-item.d.ts +2 -2
- package/package.json +5 -5
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { AxiosPromise, AxiosInstance } from 'axios';
|
|
12
|
+
import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
13
13
|
import { Configuration } from '../configuration';
|
|
14
14
|
import { RequestArgs, BaseAPI } from '../base';
|
|
15
15
|
import { GetContentDocumentResponse } from '../models';
|
|
@@ -35,7 +35,7 @@ export declare const AplusContentApiAxiosParamCreator: (configuration?: Configur
|
|
|
35
35
|
* @param {*} [options] Override http request option.
|
|
36
36
|
* @throws {RequiredError}
|
|
37
37
|
*/
|
|
38
|
-
createContentDocument: (marketplaceId: string, postContentDocumentRequest: PostContentDocumentRequest, options?:
|
|
38
|
+
createContentDocument: (marketplaceId: string, postContentDocumentRequest: PostContentDocumentRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
39
39
|
/**
|
|
40
40
|
* Returns an A+ Content document, if available. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 10 | 10 | |Selling partner specific| Variable | Variable | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation. Rate limits for some selling partners will vary from the default rate and burst shown in the table above. For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
|
|
41
41
|
* @param {string} contentReferenceKey The unique reference key for the A+ Content document. A content reference key cannot form a permalink and may change in the future. A content reference key is not guaranteed to match any A+ Content identifier.
|
|
@@ -44,7 +44,7 @@ export declare const AplusContentApiAxiosParamCreator: (configuration?: Configur
|
|
|
44
44
|
* @param {*} [options] Override http request option.
|
|
45
45
|
* @throws {RequiredError}
|
|
46
46
|
*/
|
|
47
|
-
getContentDocument: (contentReferenceKey: string, marketplaceId: string, includedDataSet: Set<'CONTENTS' | 'METADATA'>, options?:
|
|
47
|
+
getContentDocument: (contentReferenceKey: string, marketplaceId: string, includedDataSet: Set<'CONTENTS' | 'METADATA'>, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
48
48
|
/**
|
|
49
49
|
* Returns a list of ASINs related to the specified A+ Content document, if available. If you do not include the asinSet parameter, the operation returns all ASINs related to the content document. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 10 | 10 | |Selling partner specific| Variable | Variable | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation. Rate limits for some selling partners will vary from the default rate and burst shown in the table above. For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
|
|
50
50
|
* @param {string} contentReferenceKey The unique reference key for the A+ Content document. A content reference key cannot form a permalink and may change in the future. A content reference key is not guaranteed to match any A+ Content identifier.
|
|
@@ -55,7 +55,7 @@ export declare const AplusContentApiAxiosParamCreator: (configuration?: Configur
|
|
|
55
55
|
* @param {*} [options] Override http request option.
|
|
56
56
|
* @throws {RequiredError}
|
|
57
57
|
*/
|
|
58
|
-
listContentDocumentAsinRelations: (contentReferenceKey: string, marketplaceId: string, includedDataSet?: Set<"METADATA"> | undefined, asinSet?: Set<string> | undefined, pageToken?: string | undefined, options?:
|
|
58
|
+
listContentDocumentAsinRelations: (contentReferenceKey: string, marketplaceId: string, includedDataSet?: Set<"METADATA"> | undefined, asinSet?: Set<string> | undefined, pageToken?: string | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
59
59
|
/**
|
|
60
60
|
* Submits an A+ Content document for review, approval, and publishing. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 10 | 10 | |Selling partner specific| Variable | Variable | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation. Rate limits for some selling partners will vary from the default rate and burst shown in the table above. For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
|
|
61
61
|
* @param {string} contentReferenceKey The unique reference key for the A+ Content document. A content reference key cannot form a permalink and may change in the future. A content reference key is not guaranteed to match any A+ content identifier.
|
|
@@ -63,7 +63,7 @@ export declare const AplusContentApiAxiosParamCreator: (configuration?: Configur
|
|
|
63
63
|
* @param {*} [options] Override http request option.
|
|
64
64
|
* @throws {RequiredError}
|
|
65
65
|
*/
|
|
66
|
-
postContentDocumentApprovalSubmission: (contentReferenceKey: string, marketplaceId: string, options?:
|
|
66
|
+
postContentDocumentApprovalSubmission: (contentReferenceKey: string, marketplaceId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
67
67
|
/**
|
|
68
68
|
* Replaces all ASINs related to the specified A+ Content document, if available. This may add or remove ASINs, depending on the current set of related ASINs. Removing an ASIN has the side effect of suspending the content document from that ASIN. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 10 | 10 | |Selling partner specific| Variable | Variable | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation. Rate limits for some selling partners will vary from the default rate and burst shown in the table above. For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
|
|
69
69
|
* @param {string} contentReferenceKey The unique reference key for the A+ Content document. A content reference key cannot form a permalink and may change in the future. A content reference key is not guaranteed to match any A+ content identifier.
|
|
@@ -72,7 +72,7 @@ export declare const AplusContentApiAxiosParamCreator: (configuration?: Configur
|
|
|
72
72
|
* @param {*} [options] Override http request option.
|
|
73
73
|
* @throws {RequiredError}
|
|
74
74
|
*/
|
|
75
|
-
postContentDocumentAsinRelations: (contentReferenceKey: string, marketplaceId: string, postContentDocumentAsinRelationsRequest: PostContentDocumentAsinRelationsRequest, options?:
|
|
75
|
+
postContentDocumentAsinRelations: (contentReferenceKey: string, marketplaceId: string, postContentDocumentAsinRelationsRequest: PostContentDocumentAsinRelationsRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
76
76
|
/**
|
|
77
77
|
* Submits a request to suspend visible A+ Content. This neither deletes the content document nor the ASIN relations. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 10 | 10 | |Selling partner specific| Variable | Variable | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation. Rate limits for some selling partners will vary from the default rate and burst shown in the table above. For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
|
|
78
78
|
* @param {string} contentReferenceKey The unique reference key for the A+ Content document. A content reference key cannot form a permalink and may change in the future. A content reference key is not guaranteed to match any A+ content identifier.
|
|
@@ -80,7 +80,7 @@ export declare const AplusContentApiAxiosParamCreator: (configuration?: Configur
|
|
|
80
80
|
* @param {*} [options] Override http request option.
|
|
81
81
|
* @throws {RequiredError}
|
|
82
82
|
*/
|
|
83
|
-
postContentDocumentSuspendSubmission: (contentReferenceKey: string, marketplaceId: string, options?:
|
|
83
|
+
postContentDocumentSuspendSubmission: (contentReferenceKey: string, marketplaceId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
84
84
|
/**
|
|
85
85
|
* Returns a list of all A+ Content documents assigned to a selling partner. This operation returns only the metadata of the A+ Content documents. Call the getContentDocument operation to get the actual contents of the A+ Content documents. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 10 | 10 | |Selling partner specific| Variable | Variable | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation. Rate limits for some selling partners will vary from the default rate and burst shown in the table above. For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
|
|
86
86
|
* @param {string} marketplaceId The identifier for the marketplace where the A+ Content is published.
|
|
@@ -88,7 +88,7 @@ export declare const AplusContentApiAxiosParamCreator: (configuration?: Configur
|
|
|
88
88
|
* @param {*} [options] Override http request option.
|
|
89
89
|
* @throws {RequiredError}
|
|
90
90
|
*/
|
|
91
|
-
searchContentDocuments: (marketplaceId: string, pageToken?: string | undefined, options?:
|
|
91
|
+
searchContentDocuments: (marketplaceId: string, pageToken?: string | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
92
92
|
/**
|
|
93
93
|
* Searches for A+ Content publishing records, if available. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 10 | 10 | |Selling partner specific| Variable | Variable | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation. Rate limits for some selling partners will vary from the default rate and burst shown in the table above. For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
|
|
94
94
|
* @param {string} marketplaceId The identifier for the marketplace where the A+ Content is published.
|
|
@@ -97,7 +97,7 @@ export declare const AplusContentApiAxiosParamCreator: (configuration?: Configur
|
|
|
97
97
|
* @param {*} [options] Override http request option.
|
|
98
98
|
* @throws {RequiredError}
|
|
99
99
|
*/
|
|
100
|
-
searchContentPublishRecords: (marketplaceId: string, asin: string, pageToken?: string | undefined, options?:
|
|
100
|
+
searchContentPublishRecords: (marketplaceId: string, asin: string, pageToken?: string | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
101
101
|
/**
|
|
102
102
|
* Updates an existing A+ Content document. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 10 | 10 | |Selling partner specific| Variable | Variable | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation. Rate limits for some selling partners will vary from the default rate and burst shown in the table above. For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
|
|
103
103
|
* @param {string} contentReferenceKey The unique reference key for the A+ Content document. A content reference key cannot form a permalink and may change in the future. A content reference key is not guaranteed to match any A+ Content identifier.
|
|
@@ -106,7 +106,7 @@ export declare const AplusContentApiAxiosParamCreator: (configuration?: Configur
|
|
|
106
106
|
* @param {*} [options] Override http request option.
|
|
107
107
|
* @throws {RequiredError}
|
|
108
108
|
*/
|
|
109
|
-
updateContentDocument: (contentReferenceKey: string, marketplaceId: string, postContentDocumentRequest: PostContentDocumentRequest, options?:
|
|
109
|
+
updateContentDocument: (contentReferenceKey: string, marketplaceId: string, postContentDocumentRequest: PostContentDocumentRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
110
110
|
/**
|
|
111
111
|
* Checks if the A+ Content document is valid for use on a set of ASINs. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 10 | 10 | |Selling partner specific| Variable | Variable | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation. Rate limits for some selling partners will vary from the default rate and burst shown in the table above. For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
|
|
112
112
|
* @param {string} marketplaceId The identifier for the marketplace where the A+ Content is published.
|
|
@@ -115,7 +115,7 @@ export declare const AplusContentApiAxiosParamCreator: (configuration?: Configur
|
|
|
115
115
|
* @param {*} [options] Override http request option.
|
|
116
116
|
* @throws {RequiredError}
|
|
117
117
|
*/
|
|
118
|
-
validateContentDocumentAsinRelations: (marketplaceId: string, postContentDocumentRequest: PostContentDocumentRequest, asinSet?: Set<string> | undefined, options?:
|
|
118
|
+
validateContentDocumentAsinRelations: (marketplaceId: string, postContentDocumentRequest: PostContentDocumentRequest, asinSet?: Set<string> | undefined, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
119
119
|
};
|
|
120
120
|
/**
|
|
121
121
|
* AplusContentApi - functional programming interface
|
|
@@ -129,7 +129,7 @@ export declare const AplusContentApiFp: (configuration?: Configuration | undefin
|
|
|
129
129
|
* @param {*} [options] Override http request option.
|
|
130
130
|
* @throws {RequiredError}
|
|
131
131
|
*/
|
|
132
|
-
createContentDocument(marketplaceId: string, postContentDocumentRequest: PostContentDocumentRequest, options?: any): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<PostContentDocumentResponse>>;
|
|
132
|
+
createContentDocument(marketplaceId: string, postContentDocumentRequest: PostContentDocumentRequest, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<PostContentDocumentResponse>>;
|
|
133
133
|
/**
|
|
134
134
|
* Returns an A+ Content document, if available. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 10 | 10 | |Selling partner specific| Variable | Variable | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation. Rate limits for some selling partners will vary from the default rate and burst shown in the table above. For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
|
|
135
135
|
* @param {string} contentReferenceKey The unique reference key for the A+ Content document. A content reference key cannot form a permalink and may change in the future. A content reference key is not guaranteed to match any A+ Content identifier.
|
|
@@ -138,7 +138,7 @@ export declare const AplusContentApiFp: (configuration?: Configuration | undefin
|
|
|
138
138
|
* @param {*} [options] Override http request option.
|
|
139
139
|
* @throws {RequiredError}
|
|
140
140
|
*/
|
|
141
|
-
getContentDocument(contentReferenceKey: string, marketplaceId: string, includedDataSet: Set<'CONTENTS' | 'METADATA'>, options?: any): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<GetContentDocumentResponse>>;
|
|
141
|
+
getContentDocument(contentReferenceKey: string, marketplaceId: string, includedDataSet: Set<'CONTENTS' | 'METADATA'>, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<GetContentDocumentResponse>>;
|
|
142
142
|
/**
|
|
143
143
|
* Returns a list of ASINs related to the specified A+ Content document, if available. If you do not include the asinSet parameter, the operation returns all ASINs related to the content document. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 10 | 10 | |Selling partner specific| Variable | Variable | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation. Rate limits for some selling partners will vary from the default rate and burst shown in the table above. For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
|
|
144
144
|
* @param {string} contentReferenceKey The unique reference key for the A+ Content document. A content reference key cannot form a permalink and may change in the future. A content reference key is not guaranteed to match any A+ Content identifier.
|
|
@@ -149,7 +149,7 @@ export declare const AplusContentApiFp: (configuration?: Configuration | undefin
|
|
|
149
149
|
* @param {*} [options] Override http request option.
|
|
150
150
|
* @throws {RequiredError}
|
|
151
151
|
*/
|
|
152
|
-
listContentDocumentAsinRelations(contentReferenceKey: string, marketplaceId: string, includedDataSet?: Set<"METADATA"> | undefined, asinSet?: Set<string> | undefined, pageToken?: string | undefined, options?: any): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<ListContentDocumentAsinRelationsResponse>>;
|
|
152
|
+
listContentDocumentAsinRelations(contentReferenceKey: string, marketplaceId: string, includedDataSet?: Set<"METADATA"> | undefined, asinSet?: Set<string> | undefined, pageToken?: string | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<ListContentDocumentAsinRelationsResponse>>;
|
|
153
153
|
/**
|
|
154
154
|
* Submits an A+ Content document for review, approval, and publishing. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 10 | 10 | |Selling partner specific| Variable | Variable | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation. Rate limits for some selling partners will vary from the default rate and burst shown in the table above. For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
|
|
155
155
|
* @param {string} contentReferenceKey The unique reference key for the A+ Content document. A content reference key cannot form a permalink and may change in the future. A content reference key is not guaranteed to match any A+ content identifier.
|
|
@@ -157,7 +157,7 @@ export declare const AplusContentApiFp: (configuration?: Configuration | undefin
|
|
|
157
157
|
* @param {*} [options] Override http request option.
|
|
158
158
|
* @throws {RequiredError}
|
|
159
159
|
*/
|
|
160
|
-
postContentDocumentApprovalSubmission(contentReferenceKey: string, marketplaceId: string, options?: any): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<PostContentDocumentApprovalSubmissionResponse>>;
|
|
160
|
+
postContentDocumentApprovalSubmission(contentReferenceKey: string, marketplaceId: string, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<PostContentDocumentApprovalSubmissionResponse>>;
|
|
161
161
|
/**
|
|
162
162
|
* Replaces all ASINs related to the specified A+ Content document, if available. This may add or remove ASINs, depending on the current set of related ASINs. Removing an ASIN has the side effect of suspending the content document from that ASIN. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 10 | 10 | |Selling partner specific| Variable | Variable | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation. Rate limits for some selling partners will vary from the default rate and burst shown in the table above. For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
|
|
163
163
|
* @param {string} contentReferenceKey The unique reference key for the A+ Content document. A content reference key cannot form a permalink and may change in the future. A content reference key is not guaranteed to match any A+ content identifier.
|
|
@@ -166,7 +166,7 @@ export declare const AplusContentApiFp: (configuration?: Configuration | undefin
|
|
|
166
166
|
* @param {*} [options] Override http request option.
|
|
167
167
|
* @throws {RequiredError}
|
|
168
168
|
*/
|
|
169
|
-
postContentDocumentAsinRelations(contentReferenceKey: string, marketplaceId: string, postContentDocumentAsinRelationsRequest: PostContentDocumentAsinRelationsRequest, options?: any): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<PostContentDocumentAsinRelationsResponse>>;
|
|
169
|
+
postContentDocumentAsinRelations(contentReferenceKey: string, marketplaceId: string, postContentDocumentAsinRelationsRequest: PostContentDocumentAsinRelationsRequest, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<PostContentDocumentAsinRelationsResponse>>;
|
|
170
170
|
/**
|
|
171
171
|
* Submits a request to suspend visible A+ Content. This neither deletes the content document nor the ASIN relations. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 10 | 10 | |Selling partner specific| Variable | Variable | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation. Rate limits for some selling partners will vary from the default rate and burst shown in the table above. For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
|
|
172
172
|
* @param {string} contentReferenceKey The unique reference key for the A+ Content document. A content reference key cannot form a permalink and may change in the future. A content reference key is not guaranteed to match any A+ content identifier.
|
|
@@ -174,7 +174,7 @@ export declare const AplusContentApiFp: (configuration?: Configuration | undefin
|
|
|
174
174
|
* @param {*} [options] Override http request option.
|
|
175
175
|
* @throws {RequiredError}
|
|
176
176
|
*/
|
|
177
|
-
postContentDocumentSuspendSubmission(contentReferenceKey: string, marketplaceId: string, options?: any): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<PostContentDocumentSuspendSubmissionResponse>>;
|
|
177
|
+
postContentDocumentSuspendSubmission(contentReferenceKey: string, marketplaceId: string, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<PostContentDocumentSuspendSubmissionResponse>>;
|
|
178
178
|
/**
|
|
179
179
|
* Returns a list of all A+ Content documents assigned to a selling partner. This operation returns only the metadata of the A+ Content documents. Call the getContentDocument operation to get the actual contents of the A+ Content documents. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 10 | 10 | |Selling partner specific| Variable | Variable | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation. Rate limits for some selling partners will vary from the default rate and burst shown in the table above. For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
|
|
180
180
|
* @param {string} marketplaceId The identifier for the marketplace where the A+ Content is published.
|
|
@@ -182,7 +182,7 @@ export declare const AplusContentApiFp: (configuration?: Configuration | undefin
|
|
|
182
182
|
* @param {*} [options] Override http request option.
|
|
183
183
|
* @throws {RequiredError}
|
|
184
184
|
*/
|
|
185
|
-
searchContentDocuments(marketplaceId: string, pageToken?: string | undefined, options?: any): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<SearchContentDocumentsResponse>>;
|
|
185
|
+
searchContentDocuments(marketplaceId: string, pageToken?: string | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<SearchContentDocumentsResponse>>;
|
|
186
186
|
/**
|
|
187
187
|
* Searches for A+ Content publishing records, if available. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 10 | 10 | |Selling partner specific| Variable | Variable | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation. Rate limits for some selling partners will vary from the default rate and burst shown in the table above. For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
|
|
188
188
|
* @param {string} marketplaceId The identifier for the marketplace where the A+ Content is published.
|
|
@@ -191,7 +191,7 @@ export declare const AplusContentApiFp: (configuration?: Configuration | undefin
|
|
|
191
191
|
* @param {*} [options] Override http request option.
|
|
192
192
|
* @throws {RequiredError}
|
|
193
193
|
*/
|
|
194
|
-
searchContentPublishRecords(marketplaceId: string, asin: string, pageToken?: string | undefined, options?: any): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<SearchContentPublishRecordsResponse>>;
|
|
194
|
+
searchContentPublishRecords(marketplaceId: string, asin: string, pageToken?: string | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<SearchContentPublishRecordsResponse>>;
|
|
195
195
|
/**
|
|
196
196
|
* Updates an existing A+ Content document. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 10 | 10 | |Selling partner specific| Variable | Variable | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation. Rate limits for some selling partners will vary from the default rate and burst shown in the table above. For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
|
|
197
197
|
* @param {string} contentReferenceKey The unique reference key for the A+ Content document. A content reference key cannot form a permalink and may change in the future. A content reference key is not guaranteed to match any A+ Content identifier.
|
|
@@ -200,7 +200,7 @@ export declare const AplusContentApiFp: (configuration?: Configuration | undefin
|
|
|
200
200
|
* @param {*} [options] Override http request option.
|
|
201
201
|
* @throws {RequiredError}
|
|
202
202
|
*/
|
|
203
|
-
updateContentDocument(contentReferenceKey: string, marketplaceId: string, postContentDocumentRequest: PostContentDocumentRequest, options?: any): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<PostContentDocumentResponse>>;
|
|
203
|
+
updateContentDocument(contentReferenceKey: string, marketplaceId: string, postContentDocumentRequest: PostContentDocumentRequest, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<PostContentDocumentResponse>>;
|
|
204
204
|
/**
|
|
205
205
|
* Checks if the A+ Content document is valid for use on a set of ASINs. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 10 | 10 | |Selling partner specific| Variable | Variable | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation. Rate limits for some selling partners will vary from the default rate and burst shown in the table above. For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
|
|
206
206
|
* @param {string} marketplaceId The identifier for the marketplace where the A+ Content is published.
|
|
@@ -209,7 +209,7 @@ export declare const AplusContentApiFp: (configuration?: Configuration | undefin
|
|
|
209
209
|
* @param {*} [options] Override http request option.
|
|
210
210
|
* @throws {RequiredError}
|
|
211
211
|
*/
|
|
212
|
-
validateContentDocumentAsinRelations(marketplaceId: string, postContentDocumentRequest: PostContentDocumentRequest, asinSet?: Set<string> | undefined, options?: any): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<ValidateContentDocumentAsinRelationsResponse>>;
|
|
212
|
+
validateContentDocumentAsinRelations(marketplaceId: string, postContentDocumentRequest: PostContentDocumentRequest, asinSet?: Set<string> | undefined, options?: AxiosRequestConfig<any> | undefined): Promise<(axios?: AxiosInstance | undefined, basePath?: string | undefined) => AxiosPromise<ValidateContentDocumentAsinRelationsResponse>>;
|
|
213
213
|
};
|
|
214
214
|
/**
|
|
215
215
|
* AplusContentApi - factory interface
|
|
@@ -557,7 +557,7 @@ export declare class AplusContentApi extends BaseAPI {
|
|
|
557
557
|
* @throws {RequiredError}
|
|
558
558
|
* @memberof AplusContentApi
|
|
559
559
|
*/
|
|
560
|
-
createContentDocument(requestParameters: AplusContentApiCreateContentDocumentRequest, options?:
|
|
560
|
+
createContentDocument(requestParameters: AplusContentApiCreateContentDocumentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PostContentDocumentResponse, any>>;
|
|
561
561
|
/**
|
|
562
562
|
* Returns an A+ Content document, if available. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 10 | 10 | |Selling partner specific| Variable | Variable | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation. Rate limits for some selling partners will vary from the default rate and burst shown in the table above. For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
|
|
563
563
|
* @param {AplusContentApiGetContentDocumentRequest} requestParameters Request parameters.
|
|
@@ -565,7 +565,7 @@ export declare class AplusContentApi extends BaseAPI {
|
|
|
565
565
|
* @throws {RequiredError}
|
|
566
566
|
* @memberof AplusContentApi
|
|
567
567
|
*/
|
|
568
|
-
getContentDocument(requestParameters: AplusContentApiGetContentDocumentRequest, options?:
|
|
568
|
+
getContentDocument(requestParameters: AplusContentApiGetContentDocumentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetContentDocumentResponse, any>>;
|
|
569
569
|
/**
|
|
570
570
|
* Returns a list of ASINs related to the specified A+ Content document, if available. If you do not include the asinSet parameter, the operation returns all ASINs related to the content document. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 10 | 10 | |Selling partner specific| Variable | Variable | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation. Rate limits for some selling partners will vary from the default rate and burst shown in the table above. For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
|
|
571
571
|
* @param {AplusContentApiListContentDocumentAsinRelationsRequest} requestParameters Request parameters.
|
|
@@ -573,7 +573,7 @@ export declare class AplusContentApi extends BaseAPI {
|
|
|
573
573
|
* @throws {RequiredError}
|
|
574
574
|
* @memberof AplusContentApi
|
|
575
575
|
*/
|
|
576
|
-
listContentDocumentAsinRelations(requestParameters: AplusContentApiListContentDocumentAsinRelationsRequest, options?:
|
|
576
|
+
listContentDocumentAsinRelations(requestParameters: AplusContentApiListContentDocumentAsinRelationsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListContentDocumentAsinRelationsResponse, any>>;
|
|
577
577
|
/**
|
|
578
578
|
* Submits an A+ Content document for review, approval, and publishing. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 10 | 10 | |Selling partner specific| Variable | Variable | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation. Rate limits for some selling partners will vary from the default rate and burst shown in the table above. For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
|
|
579
579
|
* @param {AplusContentApiPostContentDocumentApprovalSubmissionRequest} requestParameters Request parameters.
|
|
@@ -581,7 +581,7 @@ export declare class AplusContentApi extends BaseAPI {
|
|
|
581
581
|
* @throws {RequiredError}
|
|
582
582
|
* @memberof AplusContentApi
|
|
583
583
|
*/
|
|
584
|
-
postContentDocumentApprovalSubmission(requestParameters: AplusContentApiPostContentDocumentApprovalSubmissionRequest, options?:
|
|
584
|
+
postContentDocumentApprovalSubmission(requestParameters: AplusContentApiPostContentDocumentApprovalSubmissionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<import("../models").AplusResponse, any>>;
|
|
585
585
|
/**
|
|
586
586
|
* Replaces all ASINs related to the specified A+ Content document, if available. This may add or remove ASINs, depending on the current set of related ASINs. Removing an ASIN has the side effect of suspending the content document from that ASIN. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 10 | 10 | |Selling partner specific| Variable | Variable | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation. Rate limits for some selling partners will vary from the default rate and burst shown in the table above. For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
|
|
587
587
|
* @param {AplusContentApiPostContentDocumentAsinRelationsRequest} requestParameters Request parameters.
|
|
@@ -589,7 +589,7 @@ export declare class AplusContentApi extends BaseAPI {
|
|
|
589
589
|
* @throws {RequiredError}
|
|
590
590
|
* @memberof AplusContentApi
|
|
591
591
|
*/
|
|
592
|
-
postContentDocumentAsinRelations(requestParameters: AplusContentApiPostContentDocumentAsinRelationsRequest, options?:
|
|
592
|
+
postContentDocumentAsinRelations(requestParameters: AplusContentApiPostContentDocumentAsinRelationsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<import("../models").AplusResponse, any>>;
|
|
593
593
|
/**
|
|
594
594
|
* Submits a request to suspend visible A+ Content. This neither deletes the content document nor the ASIN relations. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 10 | 10 | |Selling partner specific| Variable | Variable | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation. Rate limits for some selling partners will vary from the default rate and burst shown in the table above. For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
|
|
595
595
|
* @param {AplusContentApiPostContentDocumentSuspendSubmissionRequest} requestParameters Request parameters.
|
|
@@ -597,7 +597,7 @@ export declare class AplusContentApi extends BaseAPI {
|
|
|
597
597
|
* @throws {RequiredError}
|
|
598
598
|
* @memberof AplusContentApi
|
|
599
599
|
*/
|
|
600
|
-
postContentDocumentSuspendSubmission(requestParameters: AplusContentApiPostContentDocumentSuspendSubmissionRequest, options?:
|
|
600
|
+
postContentDocumentSuspendSubmission(requestParameters: AplusContentApiPostContentDocumentSuspendSubmissionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<import("../models").AplusResponse, any>>;
|
|
601
601
|
/**
|
|
602
602
|
* Returns a list of all A+ Content documents assigned to a selling partner. This operation returns only the metadata of the A+ Content documents. Call the getContentDocument operation to get the actual contents of the A+ Content documents. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 10 | 10 | |Selling partner specific| Variable | Variable | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation. Rate limits for some selling partners will vary from the default rate and burst shown in the table above. For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
|
|
603
603
|
* @param {AplusContentApiSearchContentDocumentsRequest} requestParameters Request parameters.
|
|
@@ -605,7 +605,7 @@ export declare class AplusContentApi extends BaseAPI {
|
|
|
605
605
|
* @throws {RequiredError}
|
|
606
606
|
* @memberof AplusContentApi
|
|
607
607
|
*/
|
|
608
|
-
searchContentDocuments(requestParameters: AplusContentApiSearchContentDocumentsRequest, options?:
|
|
608
|
+
searchContentDocuments(requestParameters: AplusContentApiSearchContentDocumentsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SearchContentDocumentsResponse, any>>;
|
|
609
609
|
/**
|
|
610
610
|
* Searches for A+ Content publishing records, if available. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 10 | 10 | |Selling partner specific| Variable | Variable | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation. Rate limits for some selling partners will vary from the default rate and burst shown in the table above. For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
|
|
611
611
|
* @param {AplusContentApiSearchContentPublishRecordsRequest} requestParameters Request parameters.
|
|
@@ -613,7 +613,7 @@ export declare class AplusContentApi extends BaseAPI {
|
|
|
613
613
|
* @throws {RequiredError}
|
|
614
614
|
* @memberof AplusContentApi
|
|
615
615
|
*/
|
|
616
|
-
searchContentPublishRecords(requestParameters: AplusContentApiSearchContentPublishRecordsRequest, options?:
|
|
616
|
+
searchContentPublishRecords(requestParameters: AplusContentApiSearchContentPublishRecordsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SearchContentPublishRecordsResponse, any>>;
|
|
617
617
|
/**
|
|
618
618
|
* Updates an existing A+ Content document. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 10 | 10 | |Selling partner specific| Variable | Variable | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation. Rate limits for some selling partners will vary from the default rate and burst shown in the table above. For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
|
|
619
619
|
* @param {AplusContentApiUpdateContentDocumentRequest} requestParameters Request parameters.
|
|
@@ -621,7 +621,7 @@ export declare class AplusContentApi extends BaseAPI {
|
|
|
621
621
|
* @throws {RequiredError}
|
|
622
622
|
* @memberof AplusContentApi
|
|
623
623
|
*/
|
|
624
|
-
updateContentDocument(requestParameters: AplusContentApiUpdateContentDocumentRequest, options?:
|
|
624
|
+
updateContentDocument(requestParameters: AplusContentApiUpdateContentDocumentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PostContentDocumentResponse, any>>;
|
|
625
625
|
/**
|
|
626
626
|
* Checks if the A+ Content document is valid for use on a set of ASINs. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 10 | 10 | |Selling partner specific| Variable | Variable | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation. Rate limits for some selling partners will vary from the default rate and burst shown in the table above. For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation.
|
|
627
627
|
* @param {AplusContentApiValidateContentDocumentAsinRelationsRequest} requestParameters Request parameters.
|
|
@@ -629,5 +629,5 @@ export declare class AplusContentApi extends BaseAPI {
|
|
|
629
629
|
* @throws {RequiredError}
|
|
630
630
|
* @memberof AplusContentApi
|
|
631
631
|
*/
|
|
632
|
-
validateContentDocumentAsinRelations(requestParameters: AplusContentApiValidateContentDocumentAsinRelationsRequest, options?:
|
|
632
|
+
validateContentDocumentAsinRelations(requestParameters: AplusContentApiValidateContentDocumentAsinRelationsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ValidateContentDocumentAsinRelationsResponse, any>>;
|
|
633
633
|
}
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import { Configuration } from "./configuration";
|
|
13
|
-
import { AxiosInstance } from 'axios';
|
|
13
|
+
import { AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
14
14
|
export declare const BASE_PATH: string;
|
|
15
15
|
/**
|
|
16
16
|
*
|
|
@@ -29,7 +29,7 @@ export declare const COLLECTION_FORMATS: {
|
|
|
29
29
|
*/
|
|
30
30
|
export interface RequestArgs {
|
|
31
31
|
url: string;
|
|
32
|
-
options:
|
|
32
|
+
options: AxiosRequestConfig;
|
|
33
33
|
}
|
|
34
34
|
/**
|
|
35
35
|
*
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import { Configuration } from "./configuration";
|
|
13
13
|
import { RequestArgs } from "./base";
|
|
14
|
-
import { AxiosInstance } from 'axios';
|
|
14
|
+
import { AxiosInstance, AxiosResponse } from 'axios';
|
|
15
15
|
/**
|
|
16
16
|
*
|
|
17
17
|
* @export
|
|
@@ -62,4 +62,4 @@ export declare const toPathString: (url: URL) => string;
|
|
|
62
62
|
*
|
|
63
63
|
* @export
|
|
64
64
|
*/
|
|
65
|
-
export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration | undefined) => (axios?: AxiosInstance, basePath?: string) => Promise<
|
|
65
|
+
export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration | undefined) => <T = unknown, R = AxiosResponse<T, any>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
|
|
@@ -14,9 +14,10 @@
|
|
|
14
14
|
* @export
|
|
15
15
|
* @enum {string}
|
|
16
16
|
*/
|
|
17
|
-
export declare
|
|
18
|
-
BrandNotEligible
|
|
19
|
-
CatalogNotFound
|
|
20
|
-
ContentNotPublished
|
|
21
|
-
ContentPublished
|
|
22
|
-
}
|
|
17
|
+
export declare const AsinBadge: {
|
|
18
|
+
readonly BrandNotEligible: "BRAND_NOT_ELIGIBLE";
|
|
19
|
+
readonly CatalogNotFound: "CATALOG_NOT_FOUND";
|
|
20
|
+
readonly ContentNotPublished: "CONTENT_NOT_PUBLISHED";
|
|
21
|
+
readonly ContentPublished: "CONTENT_PUBLISHED";
|
|
22
|
+
};
|
|
23
|
+
export declare type AsinBadge = typeof AsinBadge[keyof typeof AsinBadge];
|
|
@@ -21,35 +21,35 @@ export interface AsinMetadata {
|
|
|
21
21
|
* @type {string}
|
|
22
22
|
* @memberof AsinMetadata
|
|
23
23
|
*/
|
|
24
|
-
asin: string;
|
|
24
|
+
'asin': string;
|
|
25
25
|
/**
|
|
26
26
|
* The set of ASIN badges.
|
|
27
27
|
* @type {Set<AsinBadge>}
|
|
28
28
|
* @memberof AsinMetadata
|
|
29
29
|
*/
|
|
30
|
-
badgeSet?: Set<AsinBadge>;
|
|
30
|
+
'badgeSet'?: Set<AsinBadge>;
|
|
31
31
|
/**
|
|
32
32
|
* The Amazon Standard Identification Number (ASIN).
|
|
33
33
|
* @type {string}
|
|
34
34
|
* @memberof AsinMetadata
|
|
35
35
|
*/
|
|
36
|
-
parent?: string;
|
|
36
|
+
'parent'?: string;
|
|
37
37
|
/**
|
|
38
38
|
* The title for the ASIN in the Amazon catalog.
|
|
39
39
|
* @type {string}
|
|
40
40
|
* @memberof AsinMetadata
|
|
41
41
|
*/
|
|
42
|
-
title?: string;
|
|
42
|
+
'title'?: string;
|
|
43
43
|
/**
|
|
44
44
|
* The default image for the ASIN in the Amazon catalog.
|
|
45
45
|
* @type {string}
|
|
46
46
|
* @memberof AsinMetadata
|
|
47
47
|
*/
|
|
48
|
-
imageUrl?: string;
|
|
48
|
+
'imageUrl'?: string;
|
|
49
49
|
/**
|
|
50
50
|
* A set of content reference keys.
|
|
51
51
|
* @type {Set<string>}
|
|
52
52
|
* @memberof AsinMetadata
|
|
53
53
|
*/
|
|
54
|
-
contentReferenceKeySet?: Set<string>;
|
|
54
|
+
'contentReferenceKeySet'?: Set<string>;
|
|
55
55
|
}
|
|
@@ -14,7 +14,8 @@
|
|
|
14
14
|
* @export
|
|
15
15
|
* @enum {string}
|
|
16
16
|
*/
|
|
17
|
-
export declare
|
|
18
|
-
Dark
|
|
19
|
-
Light
|
|
20
|
-
}
|
|
17
|
+
export declare const ColorType: {
|
|
18
|
+
readonly Dark: "DARK";
|
|
19
|
+
readonly Light: "LIGHT";
|
|
20
|
+
};
|
|
21
|
+
export declare type ColorType = typeof ColorType[keyof typeof ColorType];
|
|
@@ -14,10 +14,11 @@
|
|
|
14
14
|
* @export
|
|
15
15
|
* @enum {string}
|
|
16
16
|
*/
|
|
17
|
-
export declare
|
|
18
|
-
Bulk
|
|
19
|
-
Generated
|
|
20
|
-
Launchpad
|
|
21
|
-
Premium
|
|
22
|
-
Standard
|
|
23
|
-
}
|
|
17
|
+
export declare const ContentBadge: {
|
|
18
|
+
readonly Bulk: "BULK";
|
|
19
|
+
readonly Generated: "GENERATED";
|
|
20
|
+
readonly Launchpad: "LAUNCHPAD";
|
|
21
|
+
readonly Premium: "PREMIUM";
|
|
22
|
+
readonly Standard: "STANDARD";
|
|
23
|
+
};
|
|
24
|
+
export declare type ContentBadge = typeof ContentBadge[keyof typeof ContentBadge];
|
|
@@ -22,29 +22,29 @@ export interface ContentDocument {
|
|
|
22
22
|
* @type {string}
|
|
23
23
|
* @memberof ContentDocument
|
|
24
24
|
*/
|
|
25
|
-
name: string;
|
|
25
|
+
'name': string;
|
|
26
26
|
/**
|
|
27
27
|
*
|
|
28
28
|
* @type {ContentType}
|
|
29
29
|
* @memberof ContentDocument
|
|
30
30
|
*/
|
|
31
|
-
contentType: ContentType;
|
|
31
|
+
'contentType': ContentType;
|
|
32
32
|
/**
|
|
33
33
|
* The A+ Content document subtype. This represents a special-purpose type of an A+ Content document. Not every A+ Content document type will have a subtype, and subtypes may change at any time.
|
|
34
34
|
* @type {string}
|
|
35
35
|
* @memberof ContentDocument
|
|
36
36
|
*/
|
|
37
|
-
contentSubType?: string;
|
|
37
|
+
'contentSubType'?: string;
|
|
38
38
|
/**
|
|
39
39
|
* The IETF language tag. This only supports the primary language subtag with one secondary language subtag. The secondary language subtag is almost always a regional designation. This does not support additional subtags beyond the primary and secondary subtags. **Pattern:** ^[a-z]{2,}-[A-Z0-9]{2,}$
|
|
40
40
|
* @type {string}
|
|
41
41
|
* @memberof ContentDocument
|
|
42
42
|
*/
|
|
43
|
-
locale: string;
|
|
43
|
+
'locale': string;
|
|
44
44
|
/**
|
|
45
45
|
* A list of A+ Content modules.
|
|
46
46
|
* @type {Array<ContentModule>}
|
|
47
47
|
* @memberof ContentDocument
|
|
48
48
|
*/
|
|
49
|
-
contentModuleList: Array<ContentModule>;
|
|
49
|
+
'contentModuleList': Array<ContentModule>;
|
|
50
50
|
}
|
|
@@ -21,11 +21,11 @@ export interface ContentMetadataRecord {
|
|
|
21
21
|
* @type {string}
|
|
22
22
|
* @memberof ContentMetadataRecord
|
|
23
23
|
*/
|
|
24
|
-
contentReferenceKey: string;
|
|
24
|
+
'contentReferenceKey': string;
|
|
25
25
|
/**
|
|
26
26
|
*
|
|
27
27
|
* @type {ContentMetadata}
|
|
28
28
|
* @memberof ContentMetadataRecord
|
|
29
29
|
*/
|
|
30
|
-
contentMetadata: ContentMetadata;
|
|
30
|
+
'contentMetadata': ContentMetadata;
|
|
31
31
|
}
|
|
@@ -22,29 +22,29 @@ export interface ContentMetadata {
|
|
|
22
22
|
* @type {string}
|
|
23
23
|
* @memberof ContentMetadata
|
|
24
24
|
*/
|
|
25
|
-
name: string;
|
|
25
|
+
'name': string;
|
|
26
26
|
/**
|
|
27
27
|
* The identifier for the marketplace where the A+ Content is published.
|
|
28
28
|
* @type {string}
|
|
29
29
|
* @memberof ContentMetadata
|
|
30
30
|
*/
|
|
31
|
-
marketplaceId: string;
|
|
31
|
+
'marketplaceId': string;
|
|
32
32
|
/**
|
|
33
33
|
*
|
|
34
34
|
* @type {ContentStatus}
|
|
35
35
|
* @memberof ContentMetadata
|
|
36
36
|
*/
|
|
37
|
-
status: ContentStatus;
|
|
37
|
+
'status': ContentStatus;
|
|
38
38
|
/**
|
|
39
39
|
* The set of content badges.
|
|
40
40
|
* @type {Set<ContentBadge>}
|
|
41
41
|
* @memberof ContentMetadata
|
|
42
42
|
*/
|
|
43
|
-
badgeSet: Set<ContentBadge>;
|
|
43
|
+
'badgeSet': Set<ContentBadge>;
|
|
44
44
|
/**
|
|
45
45
|
* The approximate age of the A+ Content document and metadata.
|
|
46
46
|
* @type {string}
|
|
47
47
|
* @memberof ContentMetadata
|
|
48
48
|
*/
|
|
49
|
-
updateTime: string;
|
|
49
|
+
'updateTime': string;
|
|
50
50
|
}
|
|
@@ -14,20 +14,21 @@
|
|
|
14
14
|
* @export
|
|
15
15
|
* @enum {string}
|
|
16
16
|
*/
|
|
17
|
-
export declare
|
|
18
|
-
CompanyLogo
|
|
19
|
-
ComparisonTable
|
|
20
|
-
FourImageText
|
|
21
|
-
FourImageTextQuadrant
|
|
22
|
-
HeaderImageText
|
|
23
|
-
ImageSidebar
|
|
24
|
-
ImageTextOverlay
|
|
25
|
-
MultipleImageText
|
|
26
|
-
ProductDescription
|
|
27
|
-
SingleImageHighlights
|
|
28
|
-
SingleImageSpecsDetail
|
|
29
|
-
SingleSideImage
|
|
30
|
-
TechSpecs
|
|
31
|
-
Text
|
|
32
|
-
ThreeImageText
|
|
33
|
-
}
|
|
17
|
+
export declare const ContentModuleType: {
|
|
18
|
+
readonly CompanyLogo: "STANDARD_COMPANY_LOGO";
|
|
19
|
+
readonly ComparisonTable: "STANDARD_COMPARISON_TABLE";
|
|
20
|
+
readonly FourImageText: "STANDARD_FOUR_IMAGE_TEXT";
|
|
21
|
+
readonly FourImageTextQuadrant: "STANDARD_FOUR_IMAGE_TEXT_QUADRANT";
|
|
22
|
+
readonly HeaderImageText: "STANDARD_HEADER_IMAGE_TEXT";
|
|
23
|
+
readonly ImageSidebar: "STANDARD_IMAGE_SIDEBAR";
|
|
24
|
+
readonly ImageTextOverlay: "STANDARD_IMAGE_TEXT_OVERLAY";
|
|
25
|
+
readonly MultipleImageText: "STANDARD_MULTIPLE_IMAGE_TEXT";
|
|
26
|
+
readonly ProductDescription: "STANDARD_PRODUCT_DESCRIPTION";
|
|
27
|
+
readonly SingleImageHighlights: "STANDARD_SINGLE_IMAGE_HIGHLIGHTS";
|
|
28
|
+
readonly SingleImageSpecsDetail: "STANDARD_SINGLE_IMAGE_SPECS_DETAIL";
|
|
29
|
+
readonly SingleSideImage: "STANDARD_SINGLE_SIDE_IMAGE";
|
|
30
|
+
readonly TechSpecs: "STANDARD_TECH_SPECS";
|
|
31
|
+
readonly Text: "STANDARD_TEXT";
|
|
32
|
+
readonly ThreeImageText: "STANDARD_THREE_IMAGE_TEXT";
|
|
33
|
+
};
|
|
34
|
+
export declare type ContentModuleType = typeof ContentModuleType[keyof typeof ContentModuleType];
|