@sp-api-sdk/aplus-content-api-2020-11-01 2.0.7 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/src/api-model/api/aplus-content-api.js +48 -15
- package/dist/cjs/src/api-model/base.js +7 -2
- package/dist/cjs/src/api-model/common.js +1 -1
- package/dist/cjs/src/api-model/configuration.js +8 -0
- package/dist/es/src/api-model/api/aplus-content-api.js +48 -15
- package/dist/es/src/api-model/base.js +6 -1
- package/dist/es/src/api-model/common.js +1 -1
- package/dist/es/src/api-model/configuration.js +8 -0
- package/dist/types/src/api-model/api/aplus-content-api.d.ts +74 -59
- package/dist/types/src/api-model/base.d.ts +14 -2
- package/dist/types/src/api-model/configuration.d.ts +8 -0
- package/dist/types/src/api-model/models/aplus-paginated-response.d.ts +2 -2
- package/dist/types/src/api-model/models/asin-metadata.d.ts +1 -1
- package/dist/types/src/api-model/models/content-document.d.ts +2 -2
- package/dist/types/src/api-model/models/content-metadata-record.d.ts +1 -1
- package/dist/types/src/api-model/models/content-metadata.d.ts +2 -2
- package/dist/types/src/api-model/models/content-module.d.ts +16 -16
- package/dist/types/src/api-model/models/content-record.d.ts +2 -2
- package/dist/types/src/api-model/models/decorator.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/get-content-document-response.d.ts +2 -2
- package/dist/types/src/api-model/models/image-component.d.ts +1 -1
- 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 +1 -1
- package/dist/types/src/api-model/models/image-offsets.d.ts +1 -1
- 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/list-content-document-asin-relations-response.d.ts +2 -2
- package/dist/types/src/api-model/models/paragraph-component.d.ts +1 -1
- package/dist/types/src/api-model/models/post-content-document-approval-submission-response.d.ts +1 -1
- package/dist/types/src/api-model/models/post-content-document-asin-relations-response.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.d.ts +2 -2
- package/dist/types/src/api-model/models/post-content-document-suspend-submission-response.d.ts +1 -1
- package/dist/types/src/api-model/models/publish-record.d.ts +1 -1
- 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-documents-response.d.ts +2 -2
- 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/search-content-publish-records-response.d.ts +2 -2
- 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 +2 -2
- 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 +2 -2
- package/dist/types/src/api-model/models/standard-four-image-text-quadrant-module.d.ts +1 -1
- 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 +5 -5
- 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 +4 -4
- package/dist/types/src/api-model/models/standard-single-image-specs-detail-module.d.ts +4 -4
- 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 +2 -2
- 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 +1 -1
- package/dist/types/src/api-model/models/standard-three-image-text-module.d.ts +2 -2
- package/dist/types/src/api-model/models/text-component.d.ts +1 -1
- package/dist/types/src/api-model/models/text-item.d.ts +1 -1
- package/dist/types/src/api-model/models/validate-content-document-asin-relations-response.d.ts +2 -2
- package/package.json +4 -4
|
@@ -10,20 +10,20 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { Configuration } from '../configuration';
|
|
13
|
-
import type { AxiosPromise, AxiosInstance,
|
|
13
|
+
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
14
|
import globalAxios from 'axios';
|
|
15
|
-
import { RequestArgs, BaseAPI } from '../base';
|
|
16
|
-
import { GetContentDocumentResponse } from '../models';
|
|
17
|
-
import { ListContentDocumentAsinRelationsResponse } from '../models';
|
|
18
|
-
import { PostContentDocumentApprovalSubmissionResponse } from '../models';
|
|
19
|
-
import { PostContentDocumentAsinRelationsRequest } from '../models';
|
|
20
|
-
import { PostContentDocumentAsinRelationsResponse } from '../models';
|
|
21
|
-
import { PostContentDocumentRequest } from '../models';
|
|
22
|
-
import { PostContentDocumentResponse } from '../models';
|
|
23
|
-
import { PostContentDocumentSuspendSubmissionResponse } from '../models';
|
|
24
|
-
import { SearchContentDocumentsResponse } from '../models';
|
|
25
|
-
import { SearchContentPublishRecordsResponse } from '../models';
|
|
26
|
-
import { ValidateContentDocumentAsinRelationsResponse } from '../models';
|
|
15
|
+
import { type RequestArgs, BaseAPI } from '../base';
|
|
16
|
+
import type { GetContentDocumentResponse } from '../models';
|
|
17
|
+
import type { ListContentDocumentAsinRelationsResponse } from '../models';
|
|
18
|
+
import type { PostContentDocumentApprovalSubmissionResponse } from '../models';
|
|
19
|
+
import type { PostContentDocumentAsinRelationsRequest } from '../models';
|
|
20
|
+
import type { PostContentDocumentAsinRelationsResponse } from '../models';
|
|
21
|
+
import type { PostContentDocumentRequest } from '../models';
|
|
22
|
+
import type { PostContentDocumentResponse } from '../models';
|
|
23
|
+
import type { PostContentDocumentSuspendSubmissionResponse } from '../models';
|
|
24
|
+
import type { SearchContentDocumentsResponse } from '../models';
|
|
25
|
+
import type { SearchContentPublishRecordsResponse } from '../models';
|
|
26
|
+
import type { ValidateContentDocumentAsinRelationsResponse } from '../models';
|
|
27
27
|
/**
|
|
28
28
|
* AplusContentApi - axios parameter creator
|
|
29
29
|
* @export
|
|
@@ -36,27 +36,27 @@ export declare const AplusContentApiAxiosParamCreator: (configuration?: Configur
|
|
|
36
36
|
* @param {*} [options] Override http request option.
|
|
37
37
|
* @throws {RequiredError}
|
|
38
38
|
*/
|
|
39
|
-
createContentDocument: (marketplaceId: string, postContentDocumentRequest: PostContentDocumentRequest, options?:
|
|
39
|
+
createContentDocument: (marketplaceId: string, postContentDocumentRequest: PostContentDocumentRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
40
40
|
/**
|
|
41
41
|
* 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.
|
|
42
42
|
* @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.
|
|
43
43
|
* @param {string} marketplaceId The identifier for the marketplace where the A+ Content is published.
|
|
44
|
-
* @param {Set<
|
|
44
|
+
* @param {Set<GetContentDocumentIncludedDataSetEnum>} includedDataSet The set of A+ Content data types to include in the response.
|
|
45
45
|
* @param {*} [options] Override http request option.
|
|
46
46
|
* @throws {RequiredError}
|
|
47
47
|
*/
|
|
48
|
-
getContentDocument: (contentReferenceKey: string, marketplaceId: string, includedDataSet: Set<
|
|
48
|
+
getContentDocument: (contentReferenceKey: string, marketplaceId: string, includedDataSet: Set<GetContentDocumentIncludedDataSetEnum>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
49
49
|
/**
|
|
50
50
|
* 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.
|
|
51
51
|
* @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.
|
|
52
52
|
* @param {string} marketplaceId The identifier for the marketplace where the A+ Content is published.
|
|
53
|
-
* @param {Set<
|
|
53
|
+
* @param {Set<ListContentDocumentAsinRelationsIncludedDataSetEnum>} [includedDataSet] The set of A+ Content data types to include in the response. If you do not include this parameter, the operation returns the related ASINs without metadata.
|
|
54
54
|
* @param {Set<string>} [asinSet] The set of ASINs.
|
|
55
55
|
* @param {string} [pageToken] A page token from the nextPageToken response element returned by your previous call to this operation. nextPageToken is returned when the results of a call exceed the page size. To get the next page of results, call the operation and include pageToken as the only parameter. Specifying pageToken with any other parameter will cause the request to fail. When no nextPageToken value is returned there are no more pages to return. A pageToken value is not usable across different operations.
|
|
56
56
|
* @param {*} [options] Override http request option.
|
|
57
57
|
* @throws {RequiredError}
|
|
58
58
|
*/
|
|
59
|
-
listContentDocumentAsinRelations: (contentReferenceKey: string, marketplaceId: string, includedDataSet?: Set<
|
|
59
|
+
listContentDocumentAsinRelations: (contentReferenceKey: string, marketplaceId: string, includedDataSet?: Set<ListContentDocumentAsinRelationsIncludedDataSetEnum>, asinSet?: Set<string>, pageToken?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
60
60
|
/**
|
|
61
61
|
* 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.
|
|
62
62
|
* @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.
|
|
@@ -64,7 +64,7 @@ export declare const AplusContentApiAxiosParamCreator: (configuration?: Configur
|
|
|
64
64
|
* @param {*} [options] Override http request option.
|
|
65
65
|
* @throws {RequiredError}
|
|
66
66
|
*/
|
|
67
|
-
postContentDocumentApprovalSubmission: (contentReferenceKey: string, marketplaceId: string, options?:
|
|
67
|
+
postContentDocumentApprovalSubmission: (contentReferenceKey: string, marketplaceId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
68
68
|
/**
|
|
69
69
|
* 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.
|
|
70
70
|
* @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.
|
|
@@ -73,7 +73,7 @@ export declare const AplusContentApiAxiosParamCreator: (configuration?: Configur
|
|
|
73
73
|
* @param {*} [options] Override http request option.
|
|
74
74
|
* @throws {RequiredError}
|
|
75
75
|
*/
|
|
76
|
-
postContentDocumentAsinRelations: (contentReferenceKey: string, marketplaceId: string, postContentDocumentAsinRelationsRequest: PostContentDocumentAsinRelationsRequest, options?:
|
|
76
|
+
postContentDocumentAsinRelations: (contentReferenceKey: string, marketplaceId: string, postContentDocumentAsinRelationsRequest: PostContentDocumentAsinRelationsRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
77
77
|
/**
|
|
78
78
|
* 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.
|
|
79
79
|
* @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.
|
|
@@ -81,7 +81,7 @@ export declare const AplusContentApiAxiosParamCreator: (configuration?: Configur
|
|
|
81
81
|
* @param {*} [options] Override http request option.
|
|
82
82
|
* @throws {RequiredError}
|
|
83
83
|
*/
|
|
84
|
-
postContentDocumentSuspendSubmission: (contentReferenceKey: string, marketplaceId: string, options?:
|
|
84
|
+
postContentDocumentSuspendSubmission: (contentReferenceKey: string, marketplaceId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
85
85
|
/**
|
|
86
86
|
* 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.
|
|
87
87
|
* @param {string} marketplaceId The identifier for the marketplace where the A+ Content is published.
|
|
@@ -89,7 +89,7 @@ export declare const AplusContentApiAxiosParamCreator: (configuration?: Configur
|
|
|
89
89
|
* @param {*} [options] Override http request option.
|
|
90
90
|
* @throws {RequiredError}
|
|
91
91
|
*/
|
|
92
|
-
searchContentDocuments: (marketplaceId: string, pageToken?: string, options?:
|
|
92
|
+
searchContentDocuments: (marketplaceId: string, pageToken?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
93
93
|
/**
|
|
94
94
|
* 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.
|
|
95
95
|
* @param {string} marketplaceId The identifier for the marketplace where the A+ Content is published.
|
|
@@ -98,7 +98,7 @@ export declare const AplusContentApiAxiosParamCreator: (configuration?: Configur
|
|
|
98
98
|
* @param {*} [options] Override http request option.
|
|
99
99
|
* @throws {RequiredError}
|
|
100
100
|
*/
|
|
101
|
-
searchContentPublishRecords: (marketplaceId: string, asin: string, pageToken?: string, options?:
|
|
101
|
+
searchContentPublishRecords: (marketplaceId: string, asin: string, pageToken?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
102
102
|
/**
|
|
103
103
|
* 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.
|
|
104
104
|
* @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.
|
|
@@ -107,7 +107,7 @@ export declare const AplusContentApiAxiosParamCreator: (configuration?: Configur
|
|
|
107
107
|
* @param {*} [options] Override http request option.
|
|
108
108
|
* @throws {RequiredError}
|
|
109
109
|
*/
|
|
110
|
-
updateContentDocument: (contentReferenceKey: string, marketplaceId: string, postContentDocumentRequest: PostContentDocumentRequest, options?:
|
|
110
|
+
updateContentDocument: (contentReferenceKey: string, marketplaceId: string, postContentDocumentRequest: PostContentDocumentRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
111
111
|
/**
|
|
112
112
|
* 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.
|
|
113
113
|
* @param {string} marketplaceId The identifier for the marketplace where the A+ Content is published.
|
|
@@ -116,7 +116,7 @@ export declare const AplusContentApiAxiosParamCreator: (configuration?: Configur
|
|
|
116
116
|
* @param {*} [options] Override http request option.
|
|
117
117
|
* @throws {RequiredError}
|
|
118
118
|
*/
|
|
119
|
-
validateContentDocumentAsinRelations: (marketplaceId: string, postContentDocumentRequest: PostContentDocumentRequest, asinSet?: Set<string>, options?:
|
|
119
|
+
validateContentDocumentAsinRelations: (marketplaceId: string, postContentDocumentRequest: PostContentDocumentRequest, asinSet?: Set<string>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
120
120
|
};
|
|
121
121
|
/**
|
|
122
122
|
* AplusContentApi - functional programming interface
|
|
@@ -130,27 +130,27 @@ export declare const AplusContentApiFp: (configuration?: Configuration) => {
|
|
|
130
130
|
* @param {*} [options] Override http request option.
|
|
131
131
|
* @throws {RequiredError}
|
|
132
132
|
*/
|
|
133
|
-
createContentDocument(marketplaceId: string, postContentDocumentRequest: PostContentDocumentRequest, options?:
|
|
133
|
+
createContentDocument(marketplaceId: string, postContentDocumentRequest: PostContentDocumentRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PostContentDocumentResponse>>;
|
|
134
134
|
/**
|
|
135
135
|
* 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.
|
|
136
136
|
* @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.
|
|
137
137
|
* @param {string} marketplaceId The identifier for the marketplace where the A+ Content is published.
|
|
138
|
-
* @param {Set<
|
|
138
|
+
* @param {Set<GetContentDocumentIncludedDataSetEnum>} includedDataSet The set of A+ Content data types to include in the response.
|
|
139
139
|
* @param {*} [options] Override http request option.
|
|
140
140
|
* @throws {RequiredError}
|
|
141
141
|
*/
|
|
142
|
-
getContentDocument(contentReferenceKey: string, marketplaceId: string, includedDataSet: Set<
|
|
142
|
+
getContentDocument(contentReferenceKey: string, marketplaceId: string, includedDataSet: Set<GetContentDocumentIncludedDataSetEnum>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetContentDocumentResponse>>;
|
|
143
143
|
/**
|
|
144
144
|
* 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.
|
|
145
145
|
* @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.
|
|
146
146
|
* @param {string} marketplaceId The identifier for the marketplace where the A+ Content is published.
|
|
147
|
-
* @param {Set<
|
|
147
|
+
* @param {Set<ListContentDocumentAsinRelationsIncludedDataSetEnum>} [includedDataSet] The set of A+ Content data types to include in the response. If you do not include this parameter, the operation returns the related ASINs without metadata.
|
|
148
148
|
* @param {Set<string>} [asinSet] The set of ASINs.
|
|
149
149
|
* @param {string} [pageToken] A page token from the nextPageToken response element returned by your previous call to this operation. nextPageToken is returned when the results of a call exceed the page size. To get the next page of results, call the operation and include pageToken as the only parameter. Specifying pageToken with any other parameter will cause the request to fail. When no nextPageToken value is returned there are no more pages to return. A pageToken value is not usable across different operations.
|
|
150
150
|
* @param {*} [options] Override http request option.
|
|
151
151
|
* @throws {RequiredError}
|
|
152
152
|
*/
|
|
153
|
-
listContentDocumentAsinRelations(contentReferenceKey: string, marketplaceId: string, includedDataSet?: Set<
|
|
153
|
+
listContentDocumentAsinRelations(contentReferenceKey: string, marketplaceId: string, includedDataSet?: Set<ListContentDocumentAsinRelationsIncludedDataSetEnum>, asinSet?: Set<string>, pageToken?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListContentDocumentAsinRelationsResponse>>;
|
|
154
154
|
/**
|
|
155
155
|
* 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.
|
|
156
156
|
* @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.
|
|
@@ -158,7 +158,7 @@ export declare const AplusContentApiFp: (configuration?: Configuration) => {
|
|
|
158
158
|
* @param {*} [options] Override http request option.
|
|
159
159
|
* @throws {RequiredError}
|
|
160
160
|
*/
|
|
161
|
-
postContentDocumentApprovalSubmission(contentReferenceKey: string, marketplaceId: string, options?:
|
|
161
|
+
postContentDocumentApprovalSubmission(contentReferenceKey: string, marketplaceId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PostContentDocumentApprovalSubmissionResponse>>;
|
|
162
162
|
/**
|
|
163
163
|
* 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.
|
|
164
164
|
* @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.
|
|
@@ -167,7 +167,7 @@ export declare const AplusContentApiFp: (configuration?: Configuration) => {
|
|
|
167
167
|
* @param {*} [options] Override http request option.
|
|
168
168
|
* @throws {RequiredError}
|
|
169
169
|
*/
|
|
170
|
-
postContentDocumentAsinRelations(contentReferenceKey: string, marketplaceId: string, postContentDocumentAsinRelationsRequest: PostContentDocumentAsinRelationsRequest, options?:
|
|
170
|
+
postContentDocumentAsinRelations(contentReferenceKey: string, marketplaceId: string, postContentDocumentAsinRelationsRequest: PostContentDocumentAsinRelationsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PostContentDocumentAsinRelationsResponse>>;
|
|
171
171
|
/**
|
|
172
172
|
* 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.
|
|
173
173
|
* @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.
|
|
@@ -175,7 +175,7 @@ export declare const AplusContentApiFp: (configuration?: Configuration) => {
|
|
|
175
175
|
* @param {*} [options] Override http request option.
|
|
176
176
|
* @throws {RequiredError}
|
|
177
177
|
*/
|
|
178
|
-
postContentDocumentSuspendSubmission(contentReferenceKey: string, marketplaceId: string, options?:
|
|
178
|
+
postContentDocumentSuspendSubmission(contentReferenceKey: string, marketplaceId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PostContentDocumentSuspendSubmissionResponse>>;
|
|
179
179
|
/**
|
|
180
180
|
* 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.
|
|
181
181
|
* @param {string} marketplaceId The identifier for the marketplace where the A+ Content is published.
|
|
@@ -183,7 +183,7 @@ export declare const AplusContentApiFp: (configuration?: Configuration) => {
|
|
|
183
183
|
* @param {*} [options] Override http request option.
|
|
184
184
|
* @throws {RequiredError}
|
|
185
185
|
*/
|
|
186
|
-
searchContentDocuments(marketplaceId: string, pageToken?: string, options?:
|
|
186
|
+
searchContentDocuments(marketplaceId: string, pageToken?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SearchContentDocumentsResponse>>;
|
|
187
187
|
/**
|
|
188
188
|
* 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.
|
|
189
189
|
* @param {string} marketplaceId The identifier for the marketplace where the A+ Content is published.
|
|
@@ -192,7 +192,7 @@ export declare const AplusContentApiFp: (configuration?: Configuration) => {
|
|
|
192
192
|
* @param {*} [options] Override http request option.
|
|
193
193
|
* @throws {RequiredError}
|
|
194
194
|
*/
|
|
195
|
-
searchContentPublishRecords(marketplaceId: string, asin: string, pageToken?: string, options?:
|
|
195
|
+
searchContentPublishRecords(marketplaceId: string, asin: string, pageToken?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SearchContentPublishRecordsResponse>>;
|
|
196
196
|
/**
|
|
197
197
|
* 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.
|
|
198
198
|
* @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.
|
|
@@ -201,7 +201,7 @@ export declare const AplusContentApiFp: (configuration?: Configuration) => {
|
|
|
201
201
|
* @param {*} [options] Override http request option.
|
|
202
202
|
* @throws {RequiredError}
|
|
203
203
|
*/
|
|
204
|
-
updateContentDocument(contentReferenceKey: string, marketplaceId: string, postContentDocumentRequest: PostContentDocumentRequest, options?:
|
|
204
|
+
updateContentDocument(contentReferenceKey: string, marketplaceId: string, postContentDocumentRequest: PostContentDocumentRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PostContentDocumentResponse>>;
|
|
205
205
|
/**
|
|
206
206
|
* 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.
|
|
207
207
|
* @param {string} marketplaceId The identifier for the marketplace where the A+ Content is published.
|
|
@@ -210,7 +210,7 @@ export declare const AplusContentApiFp: (configuration?: Configuration) => {
|
|
|
210
210
|
* @param {*} [options] Override http request option.
|
|
211
211
|
* @throws {RequiredError}
|
|
212
212
|
*/
|
|
213
|
-
validateContentDocumentAsinRelations(marketplaceId: string, postContentDocumentRequest: PostContentDocumentRequest, asinSet?: Set<string>, options?:
|
|
213
|
+
validateContentDocumentAsinRelations(marketplaceId: string, postContentDocumentRequest: PostContentDocumentRequest, asinSet?: Set<string>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ValidateContentDocumentAsinRelationsResponse>>;
|
|
214
214
|
};
|
|
215
215
|
/**
|
|
216
216
|
* AplusContentApi - factory interface
|
|
@@ -223,70 +223,70 @@ export declare const AplusContentApiFactory: (configuration?: Configuration, bas
|
|
|
223
223
|
* @param {*} [options] Override http request option.
|
|
224
224
|
* @throws {RequiredError}
|
|
225
225
|
*/
|
|
226
|
-
createContentDocument(requestParameters: AplusContentApiCreateContentDocumentRequest, options?:
|
|
226
|
+
createContentDocument(requestParameters: AplusContentApiCreateContentDocumentRequest, options?: RawAxiosRequestConfig): AxiosPromise<PostContentDocumentResponse>;
|
|
227
227
|
/**
|
|
228
228
|
* 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.
|
|
229
229
|
* @param {AplusContentApiGetContentDocumentRequest} requestParameters Request parameters.
|
|
230
230
|
* @param {*} [options] Override http request option.
|
|
231
231
|
* @throws {RequiredError}
|
|
232
232
|
*/
|
|
233
|
-
getContentDocument(requestParameters: AplusContentApiGetContentDocumentRequest, options?:
|
|
233
|
+
getContentDocument(requestParameters: AplusContentApiGetContentDocumentRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetContentDocumentResponse>;
|
|
234
234
|
/**
|
|
235
235
|
* 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.
|
|
236
236
|
* @param {AplusContentApiListContentDocumentAsinRelationsRequest} requestParameters Request parameters.
|
|
237
237
|
* @param {*} [options] Override http request option.
|
|
238
238
|
* @throws {RequiredError}
|
|
239
239
|
*/
|
|
240
|
-
listContentDocumentAsinRelations(requestParameters: AplusContentApiListContentDocumentAsinRelationsRequest, options?:
|
|
240
|
+
listContentDocumentAsinRelations(requestParameters: AplusContentApiListContentDocumentAsinRelationsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListContentDocumentAsinRelationsResponse>;
|
|
241
241
|
/**
|
|
242
242
|
* 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.
|
|
243
243
|
* @param {AplusContentApiPostContentDocumentApprovalSubmissionRequest} requestParameters Request parameters.
|
|
244
244
|
* @param {*} [options] Override http request option.
|
|
245
245
|
* @throws {RequiredError}
|
|
246
246
|
*/
|
|
247
|
-
postContentDocumentApprovalSubmission(requestParameters: AplusContentApiPostContentDocumentApprovalSubmissionRequest, options?:
|
|
247
|
+
postContentDocumentApprovalSubmission(requestParameters: AplusContentApiPostContentDocumentApprovalSubmissionRequest, options?: RawAxiosRequestConfig): AxiosPromise<PostContentDocumentApprovalSubmissionResponse>;
|
|
248
248
|
/**
|
|
249
249
|
* 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.
|
|
250
250
|
* @param {AplusContentApiPostContentDocumentAsinRelationsRequest} requestParameters Request parameters.
|
|
251
251
|
* @param {*} [options] Override http request option.
|
|
252
252
|
* @throws {RequiredError}
|
|
253
253
|
*/
|
|
254
|
-
postContentDocumentAsinRelations(requestParameters: AplusContentApiPostContentDocumentAsinRelationsRequest, options?:
|
|
254
|
+
postContentDocumentAsinRelations(requestParameters: AplusContentApiPostContentDocumentAsinRelationsRequest, options?: RawAxiosRequestConfig): AxiosPromise<PostContentDocumentAsinRelationsResponse>;
|
|
255
255
|
/**
|
|
256
256
|
* 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.
|
|
257
257
|
* @param {AplusContentApiPostContentDocumentSuspendSubmissionRequest} requestParameters Request parameters.
|
|
258
258
|
* @param {*} [options] Override http request option.
|
|
259
259
|
* @throws {RequiredError}
|
|
260
260
|
*/
|
|
261
|
-
postContentDocumentSuspendSubmission(requestParameters: AplusContentApiPostContentDocumentSuspendSubmissionRequest, options?:
|
|
261
|
+
postContentDocumentSuspendSubmission(requestParameters: AplusContentApiPostContentDocumentSuspendSubmissionRequest, options?: RawAxiosRequestConfig): AxiosPromise<PostContentDocumentSuspendSubmissionResponse>;
|
|
262
262
|
/**
|
|
263
263
|
* 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.
|
|
264
264
|
* @param {AplusContentApiSearchContentDocumentsRequest} requestParameters Request parameters.
|
|
265
265
|
* @param {*} [options] Override http request option.
|
|
266
266
|
* @throws {RequiredError}
|
|
267
267
|
*/
|
|
268
|
-
searchContentDocuments(requestParameters: AplusContentApiSearchContentDocumentsRequest, options?:
|
|
268
|
+
searchContentDocuments(requestParameters: AplusContentApiSearchContentDocumentsRequest, options?: RawAxiosRequestConfig): AxiosPromise<SearchContentDocumentsResponse>;
|
|
269
269
|
/**
|
|
270
270
|
* 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.
|
|
271
271
|
* @param {AplusContentApiSearchContentPublishRecordsRequest} requestParameters Request parameters.
|
|
272
272
|
* @param {*} [options] Override http request option.
|
|
273
273
|
* @throws {RequiredError}
|
|
274
274
|
*/
|
|
275
|
-
searchContentPublishRecords(requestParameters: AplusContentApiSearchContentPublishRecordsRequest, options?:
|
|
275
|
+
searchContentPublishRecords(requestParameters: AplusContentApiSearchContentPublishRecordsRequest, options?: RawAxiosRequestConfig): AxiosPromise<SearchContentPublishRecordsResponse>;
|
|
276
276
|
/**
|
|
277
277
|
* 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.
|
|
278
278
|
* @param {AplusContentApiUpdateContentDocumentRequest} requestParameters Request parameters.
|
|
279
279
|
* @param {*} [options] Override http request option.
|
|
280
280
|
* @throws {RequiredError}
|
|
281
281
|
*/
|
|
282
|
-
updateContentDocument(requestParameters: AplusContentApiUpdateContentDocumentRequest, options?:
|
|
282
|
+
updateContentDocument(requestParameters: AplusContentApiUpdateContentDocumentRequest, options?: RawAxiosRequestConfig): AxiosPromise<PostContentDocumentResponse>;
|
|
283
283
|
/**
|
|
284
284
|
* 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.
|
|
285
285
|
* @param {AplusContentApiValidateContentDocumentAsinRelationsRequest} requestParameters Request parameters.
|
|
286
286
|
* @param {*} [options] Override http request option.
|
|
287
287
|
* @throws {RequiredError}
|
|
288
288
|
*/
|
|
289
|
-
validateContentDocumentAsinRelations(requestParameters: AplusContentApiValidateContentDocumentAsinRelationsRequest, options?:
|
|
289
|
+
validateContentDocumentAsinRelations(requestParameters: AplusContentApiValidateContentDocumentAsinRelationsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ValidateContentDocumentAsinRelationsResponse>;
|
|
290
290
|
};
|
|
291
291
|
/**
|
|
292
292
|
* Request parameters for createContentDocument operation in AplusContentApi.
|
|
@@ -330,7 +330,7 @@ export interface AplusContentApiGetContentDocumentRequest {
|
|
|
330
330
|
* @type {Set<'CONTENTS' | 'METADATA'>}
|
|
331
331
|
* @memberof AplusContentApiGetContentDocument
|
|
332
332
|
*/
|
|
333
|
-
readonly includedDataSet: Set<
|
|
333
|
+
readonly includedDataSet: Set<GetContentDocumentIncludedDataSetEnum>;
|
|
334
334
|
}
|
|
335
335
|
/**
|
|
336
336
|
* Request parameters for listContentDocumentAsinRelations operation in AplusContentApi.
|
|
@@ -355,7 +355,7 @@ export interface AplusContentApiListContentDocumentAsinRelationsRequest {
|
|
|
355
355
|
* @type {Set<'METADATA'>}
|
|
356
356
|
* @memberof AplusContentApiListContentDocumentAsinRelations
|
|
357
357
|
*/
|
|
358
|
-
readonly includedDataSet?: Set<
|
|
358
|
+
readonly includedDataSet?: Set<ListContentDocumentAsinRelationsIncludedDataSetEnum>;
|
|
359
359
|
/**
|
|
360
360
|
* The set of ASINs.
|
|
361
361
|
* @type {Set<string>}
|
|
@@ -540,7 +540,7 @@ export declare class AplusContentApi extends BaseAPI {
|
|
|
540
540
|
* @throws {RequiredError}
|
|
541
541
|
* @memberof AplusContentApi
|
|
542
542
|
*/
|
|
543
|
-
createContentDocument(requestParameters: AplusContentApiCreateContentDocumentRequest, options?:
|
|
543
|
+
createContentDocument(requestParameters: AplusContentApiCreateContentDocumentRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<PostContentDocumentResponse, any>>;
|
|
544
544
|
/**
|
|
545
545
|
* 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.
|
|
546
546
|
* @param {AplusContentApiGetContentDocumentRequest} requestParameters Request parameters.
|
|
@@ -548,7 +548,7 @@ export declare class AplusContentApi extends BaseAPI {
|
|
|
548
548
|
* @throws {RequiredError}
|
|
549
549
|
* @memberof AplusContentApi
|
|
550
550
|
*/
|
|
551
|
-
getContentDocument(requestParameters: AplusContentApiGetContentDocumentRequest, options?:
|
|
551
|
+
getContentDocument(requestParameters: AplusContentApiGetContentDocumentRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetContentDocumentResponse, any>>;
|
|
552
552
|
/**
|
|
553
553
|
* 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.
|
|
554
554
|
* @param {AplusContentApiListContentDocumentAsinRelationsRequest} requestParameters Request parameters.
|
|
@@ -556,7 +556,7 @@ export declare class AplusContentApi extends BaseAPI {
|
|
|
556
556
|
* @throws {RequiredError}
|
|
557
557
|
* @memberof AplusContentApi
|
|
558
558
|
*/
|
|
559
|
-
listContentDocumentAsinRelations(requestParameters: AplusContentApiListContentDocumentAsinRelationsRequest, options?:
|
|
559
|
+
listContentDocumentAsinRelations(requestParameters: AplusContentApiListContentDocumentAsinRelationsRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<ListContentDocumentAsinRelationsResponse, any>>;
|
|
560
560
|
/**
|
|
561
561
|
* 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.
|
|
562
562
|
* @param {AplusContentApiPostContentDocumentApprovalSubmissionRequest} requestParameters Request parameters.
|
|
@@ -564,7 +564,7 @@ export declare class AplusContentApi extends BaseAPI {
|
|
|
564
564
|
* @throws {RequiredError}
|
|
565
565
|
* @memberof AplusContentApi
|
|
566
566
|
*/
|
|
567
|
-
postContentDocumentApprovalSubmission(requestParameters: AplusContentApiPostContentDocumentApprovalSubmissionRequest, options?:
|
|
567
|
+
postContentDocumentApprovalSubmission(requestParameters: AplusContentApiPostContentDocumentApprovalSubmissionRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<import("../models").AplusResponse, any>>;
|
|
568
568
|
/**
|
|
569
569
|
* 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.
|
|
570
570
|
* @param {AplusContentApiPostContentDocumentAsinRelationsRequest} requestParameters Request parameters.
|
|
@@ -572,7 +572,7 @@ export declare class AplusContentApi extends BaseAPI {
|
|
|
572
572
|
* @throws {RequiredError}
|
|
573
573
|
* @memberof AplusContentApi
|
|
574
574
|
*/
|
|
575
|
-
postContentDocumentAsinRelations(requestParameters: AplusContentApiPostContentDocumentAsinRelationsRequest, options?:
|
|
575
|
+
postContentDocumentAsinRelations(requestParameters: AplusContentApiPostContentDocumentAsinRelationsRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<import("../models").AplusResponse, any>>;
|
|
576
576
|
/**
|
|
577
577
|
* 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.
|
|
578
578
|
* @param {AplusContentApiPostContentDocumentSuspendSubmissionRequest} requestParameters Request parameters.
|
|
@@ -580,7 +580,7 @@ export declare class AplusContentApi extends BaseAPI {
|
|
|
580
580
|
* @throws {RequiredError}
|
|
581
581
|
* @memberof AplusContentApi
|
|
582
582
|
*/
|
|
583
|
-
postContentDocumentSuspendSubmission(requestParameters: AplusContentApiPostContentDocumentSuspendSubmissionRequest, options?:
|
|
583
|
+
postContentDocumentSuspendSubmission(requestParameters: AplusContentApiPostContentDocumentSuspendSubmissionRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<import("../models").AplusResponse, any>>;
|
|
584
584
|
/**
|
|
585
585
|
* 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.
|
|
586
586
|
* @param {AplusContentApiSearchContentDocumentsRequest} requestParameters Request parameters.
|
|
@@ -588,7 +588,7 @@ export declare class AplusContentApi extends BaseAPI {
|
|
|
588
588
|
* @throws {RequiredError}
|
|
589
589
|
* @memberof AplusContentApi
|
|
590
590
|
*/
|
|
591
|
-
searchContentDocuments(requestParameters: AplusContentApiSearchContentDocumentsRequest, options?:
|
|
591
|
+
searchContentDocuments(requestParameters: AplusContentApiSearchContentDocumentsRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<SearchContentDocumentsResponse, any>>;
|
|
592
592
|
/**
|
|
593
593
|
* 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.
|
|
594
594
|
* @param {AplusContentApiSearchContentPublishRecordsRequest} requestParameters Request parameters.
|
|
@@ -596,7 +596,7 @@ export declare class AplusContentApi extends BaseAPI {
|
|
|
596
596
|
* @throws {RequiredError}
|
|
597
597
|
* @memberof AplusContentApi
|
|
598
598
|
*/
|
|
599
|
-
searchContentPublishRecords(requestParameters: AplusContentApiSearchContentPublishRecordsRequest, options?:
|
|
599
|
+
searchContentPublishRecords(requestParameters: AplusContentApiSearchContentPublishRecordsRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<SearchContentPublishRecordsResponse, any>>;
|
|
600
600
|
/**
|
|
601
601
|
* 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.
|
|
602
602
|
* @param {AplusContentApiUpdateContentDocumentRequest} requestParameters Request parameters.
|
|
@@ -604,7 +604,7 @@ export declare class AplusContentApi extends BaseAPI {
|
|
|
604
604
|
* @throws {RequiredError}
|
|
605
605
|
* @memberof AplusContentApi
|
|
606
606
|
*/
|
|
607
|
-
updateContentDocument(requestParameters: AplusContentApiUpdateContentDocumentRequest, options?:
|
|
607
|
+
updateContentDocument(requestParameters: AplusContentApiUpdateContentDocumentRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<PostContentDocumentResponse, any>>;
|
|
608
608
|
/**
|
|
609
609
|
* 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.
|
|
610
610
|
* @param {AplusContentApiValidateContentDocumentAsinRelationsRequest} requestParameters Request parameters.
|
|
@@ -612,5 +612,20 @@ export declare class AplusContentApi extends BaseAPI {
|
|
|
612
612
|
* @throws {RequiredError}
|
|
613
613
|
* @memberof AplusContentApi
|
|
614
614
|
*/
|
|
615
|
-
validateContentDocumentAsinRelations(requestParameters: AplusContentApiValidateContentDocumentAsinRelationsRequest, options?:
|
|
615
|
+
validateContentDocumentAsinRelations(requestParameters: AplusContentApiValidateContentDocumentAsinRelationsRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<ValidateContentDocumentAsinRelationsResponse, any>>;
|
|
616
616
|
}
|
|
617
|
+
/**
|
|
618
|
+
* @export
|
|
619
|
+
*/
|
|
620
|
+
export declare const GetContentDocumentIncludedDataSetEnum: {
|
|
621
|
+
readonly Contents: "CONTENTS";
|
|
622
|
+
readonly Metadata: "METADATA";
|
|
623
|
+
};
|
|
624
|
+
export type GetContentDocumentIncludedDataSetEnum = typeof GetContentDocumentIncludedDataSetEnum[keyof typeof GetContentDocumentIncludedDataSetEnum];
|
|
625
|
+
/**
|
|
626
|
+
* @export
|
|
627
|
+
*/
|
|
628
|
+
export declare const ListContentDocumentAsinRelationsIncludedDataSetEnum: {
|
|
629
|
+
readonly Metadata: "METADATA";
|
|
630
|
+
};
|
|
631
|
+
export type ListContentDocumentAsinRelationsIncludedDataSetEnum = typeof ListContentDocumentAsinRelationsIncludedDataSetEnum[keyof typeof ListContentDocumentAsinRelationsIncludedDataSetEnum];
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { Configuration } from './configuration';
|
|
13
|
-
import type { AxiosInstance,
|
|
13
|
+
import type { AxiosInstance, RawAxiosRequestConfig } 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: RawAxiosRequestConfig;
|
|
33
33
|
}
|
|
34
34
|
/**
|
|
35
35
|
*
|
|
@@ -52,3 +52,15 @@ export declare class RequiredError extends Error {
|
|
|
52
52
|
field: string;
|
|
53
53
|
constructor(field: string, msg?: string);
|
|
54
54
|
}
|
|
55
|
+
interface ServerMap {
|
|
56
|
+
[key: string]: {
|
|
57
|
+
url: string;
|
|
58
|
+
description: string;
|
|
59
|
+
}[];
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @export
|
|
64
|
+
*/
|
|
65
|
+
export declare const operationServerMap: ServerMap;
|
|
66
|
+
export {};
|
|
@@ -15,6 +15,7 @@ export interface ConfigurationParameters {
|
|
|
15
15
|
password?: string;
|
|
16
16
|
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
|
|
17
17
|
basePath?: string;
|
|
18
|
+
serverIndex?: number;
|
|
18
19
|
baseOptions?: any;
|
|
19
20
|
formDataCtor?: new () => any;
|
|
20
21
|
}
|
|
@@ -53,6 +54,13 @@ export declare class Configuration {
|
|
|
53
54
|
* @memberof Configuration
|
|
54
55
|
*/
|
|
55
56
|
basePath?: string;
|
|
57
|
+
/**
|
|
58
|
+
* override server index
|
|
59
|
+
*
|
|
60
|
+
* @type {number}
|
|
61
|
+
* @memberof Configuration
|
|
62
|
+
*/
|
|
63
|
+
serverIndex?: number;
|
|
56
64
|
/**
|
|
57
65
|
* base options for axios calls
|
|
58
66
|
*
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { AplusPaginatedResponseAllOf } from './aplus-paginated-response-all-of';
|
|
13
|
-
import { AplusResponse } from './aplus-response';
|
|
12
|
+
import type { AplusPaginatedResponseAllOf } from './aplus-paginated-response-all-of';
|
|
13
|
+
import type { AplusResponse } from './aplus-response';
|
|
14
14
|
/**
|
|
15
15
|
* @type AplusPaginatedResponse
|
|
16
16
|
* The base response data for paginated A+ Content operations. Individual operations may extend this with additional data. If nextPageToken is not returned, there are no more pages to return.
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { AsinBadge } from './asin-badge';
|
|
12
|
+
import type { AsinBadge } from './asin-badge';
|
|
13
13
|
/**
|
|
14
14
|
* The A+ Content ASIN with additional metadata for content management. If you don\'t include the `includedDataSet` parameter in a call to the listContentDocumentAsinRelations operation, the related ASINs are returned without metadata.
|
|
15
15
|
* @export
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { ContentModule } from './content-module';
|
|
13
|
-
import { ContentType } from './content-type';
|
|
12
|
+
import type { ContentModule } from './content-module';
|
|
13
|
+
import type { ContentType } from './content-type';
|
|
14
14
|
/**
|
|
15
15
|
* The A+ Content document. This is the enhanced content that is published to product detail pages.
|
|
16
16
|
* @export
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { ContentMetadata } from './content-metadata';
|
|
12
|
+
import type { ContentMetadata } from './content-metadata';
|
|
13
13
|
/**
|
|
14
14
|
* The metadata for an A+ Content document, with additional information for content management.
|
|
15
15
|
* @export
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { ContentBadge } from './content-badge';
|
|
13
|
-
import { ContentStatus } from './content-status';
|
|
12
|
+
import type { ContentBadge } from './content-badge';
|
|
13
|
+
import type { ContentStatus } from './content-status';
|
|
14
14
|
/**
|
|
15
15
|
* The metadata of an A+ Content document.
|
|
16
16
|
* @export
|