@sp-api-sdk/aplus-content-api-2020-11-01 2.0.3 → 2.0.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.
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { Configuration } from '../configuration';
|
|
13
13
|
import type { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
14
|
+
import globalAxios from 'axios';
|
|
14
15
|
import { RequestArgs, BaseAPI } from '../base';
|
|
15
16
|
import { GetContentDocumentResponse } from '../models';
|
|
16
17
|
import { ListContentDocumentAsinRelationsResponse } from '../models';
|
|
@@ -539,7 +540,7 @@ export declare class AplusContentApi extends BaseAPI {
|
|
|
539
540
|
* @throws {RequiredError}
|
|
540
541
|
* @memberof AplusContentApi
|
|
541
542
|
*/
|
|
542
|
-
createContentDocument(requestParameters: AplusContentApiCreateContentDocumentRequest, options?: AxiosRequestConfig): Promise<
|
|
543
|
+
createContentDocument(requestParameters: AplusContentApiCreateContentDocumentRequest, options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<PostContentDocumentResponse, any>>;
|
|
543
544
|
/**
|
|
544
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.
|
|
545
546
|
* @param {AplusContentApiGetContentDocumentRequest} requestParameters Request parameters.
|
|
@@ -547,7 +548,7 @@ export declare class AplusContentApi extends BaseAPI {
|
|
|
547
548
|
* @throws {RequiredError}
|
|
548
549
|
* @memberof AplusContentApi
|
|
549
550
|
*/
|
|
550
|
-
getContentDocument(requestParameters: AplusContentApiGetContentDocumentRequest, options?: AxiosRequestConfig): Promise<
|
|
551
|
+
getContentDocument(requestParameters: AplusContentApiGetContentDocumentRequest, options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetContentDocumentResponse, any>>;
|
|
551
552
|
/**
|
|
552
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.
|
|
553
554
|
* @param {AplusContentApiListContentDocumentAsinRelationsRequest} requestParameters Request parameters.
|
|
@@ -555,7 +556,7 @@ export declare class AplusContentApi extends BaseAPI {
|
|
|
555
556
|
* @throws {RequiredError}
|
|
556
557
|
* @memberof AplusContentApi
|
|
557
558
|
*/
|
|
558
|
-
listContentDocumentAsinRelations(requestParameters: AplusContentApiListContentDocumentAsinRelationsRequest, options?: AxiosRequestConfig): Promise<
|
|
559
|
+
listContentDocumentAsinRelations(requestParameters: AplusContentApiListContentDocumentAsinRelationsRequest, options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<ListContentDocumentAsinRelationsResponse, any>>;
|
|
559
560
|
/**
|
|
560
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.
|
|
561
562
|
* @param {AplusContentApiPostContentDocumentApprovalSubmissionRequest} requestParameters Request parameters.
|
|
@@ -563,7 +564,7 @@ export declare class AplusContentApi extends BaseAPI {
|
|
|
563
564
|
* @throws {RequiredError}
|
|
564
565
|
* @memberof AplusContentApi
|
|
565
566
|
*/
|
|
566
|
-
postContentDocumentApprovalSubmission(requestParameters: AplusContentApiPostContentDocumentApprovalSubmissionRequest, options?: AxiosRequestConfig): Promise<
|
|
567
|
+
postContentDocumentApprovalSubmission(requestParameters: AplusContentApiPostContentDocumentApprovalSubmissionRequest, options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<import("../models").AplusResponse, any>>;
|
|
567
568
|
/**
|
|
568
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.
|
|
569
570
|
* @param {AplusContentApiPostContentDocumentAsinRelationsRequest} requestParameters Request parameters.
|
|
@@ -571,7 +572,7 @@ export declare class AplusContentApi extends BaseAPI {
|
|
|
571
572
|
* @throws {RequiredError}
|
|
572
573
|
* @memberof AplusContentApi
|
|
573
574
|
*/
|
|
574
|
-
postContentDocumentAsinRelations(requestParameters: AplusContentApiPostContentDocumentAsinRelationsRequest, options?: AxiosRequestConfig): Promise<
|
|
575
|
+
postContentDocumentAsinRelations(requestParameters: AplusContentApiPostContentDocumentAsinRelationsRequest, options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<import("../models").AplusResponse, any>>;
|
|
575
576
|
/**
|
|
576
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.
|
|
577
578
|
* @param {AplusContentApiPostContentDocumentSuspendSubmissionRequest} requestParameters Request parameters.
|
|
@@ -579,7 +580,7 @@ export declare class AplusContentApi extends BaseAPI {
|
|
|
579
580
|
* @throws {RequiredError}
|
|
580
581
|
* @memberof AplusContentApi
|
|
581
582
|
*/
|
|
582
|
-
postContentDocumentSuspendSubmission(requestParameters: AplusContentApiPostContentDocumentSuspendSubmissionRequest, options?: AxiosRequestConfig): Promise<
|
|
583
|
+
postContentDocumentSuspendSubmission(requestParameters: AplusContentApiPostContentDocumentSuspendSubmissionRequest, options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<import("../models").AplusResponse, any>>;
|
|
583
584
|
/**
|
|
584
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.
|
|
585
586
|
* @param {AplusContentApiSearchContentDocumentsRequest} requestParameters Request parameters.
|
|
@@ -587,7 +588,7 @@ export declare class AplusContentApi extends BaseAPI {
|
|
|
587
588
|
* @throws {RequiredError}
|
|
588
589
|
* @memberof AplusContentApi
|
|
589
590
|
*/
|
|
590
|
-
searchContentDocuments(requestParameters: AplusContentApiSearchContentDocumentsRequest, options?: AxiosRequestConfig): Promise<
|
|
591
|
+
searchContentDocuments(requestParameters: AplusContentApiSearchContentDocumentsRequest, options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<SearchContentDocumentsResponse, any>>;
|
|
591
592
|
/**
|
|
592
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.
|
|
593
594
|
* @param {AplusContentApiSearchContentPublishRecordsRequest} requestParameters Request parameters.
|
|
@@ -595,7 +596,7 @@ export declare class AplusContentApi extends BaseAPI {
|
|
|
595
596
|
* @throws {RequiredError}
|
|
596
597
|
* @memberof AplusContentApi
|
|
597
598
|
*/
|
|
598
|
-
searchContentPublishRecords(requestParameters: AplusContentApiSearchContentPublishRecordsRequest, options?: AxiosRequestConfig): Promise<
|
|
599
|
+
searchContentPublishRecords(requestParameters: AplusContentApiSearchContentPublishRecordsRequest, options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<SearchContentPublishRecordsResponse, any>>;
|
|
599
600
|
/**
|
|
600
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.
|
|
601
602
|
* @param {AplusContentApiUpdateContentDocumentRequest} requestParameters Request parameters.
|
|
@@ -603,7 +604,7 @@ export declare class AplusContentApi extends BaseAPI {
|
|
|
603
604
|
* @throws {RequiredError}
|
|
604
605
|
* @memberof AplusContentApi
|
|
605
606
|
*/
|
|
606
|
-
updateContentDocument(requestParameters: AplusContentApiUpdateContentDocumentRequest, options?: AxiosRequestConfig): Promise<
|
|
607
|
+
updateContentDocument(requestParameters: AplusContentApiUpdateContentDocumentRequest, options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<PostContentDocumentResponse, any>>;
|
|
607
608
|
/**
|
|
608
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.
|
|
609
610
|
* @param {AplusContentApiValidateContentDocumentAsinRelationsRequest} requestParameters Request parameters.
|
|
@@ -611,5 +612,5 @@ export declare class AplusContentApi extends BaseAPI {
|
|
|
611
612
|
* @throws {RequiredError}
|
|
612
613
|
* @memberof AplusContentApi
|
|
613
614
|
*/
|
|
614
|
-
validateContentDocumentAsinRelations(requestParameters: AplusContentApiValidateContentDocumentAsinRelationsRequest, options?: AxiosRequestConfig): Promise<
|
|
615
|
+
validateContentDocumentAsinRelations(requestParameters: AplusContentApiValidateContentDocumentAsinRelationsRequest, options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<ValidateContentDocumentAsinRelationsResponse, any>>;
|
|
615
616
|
}
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@sp-api-sdk/aplus-content-api-2020-11-01",
|
|
3
3
|
"author": "Vincent Mesquita <vincent.mesquita@bizon.solutions>",
|
|
4
4
|
"description": "With the A+ Content API, you can build applications that help selling partners add rich marketing content to their Amazon product detail pages. A+ content helps selling partners share their brand and product story, which helps buyers make informed purchasing decisions. Selling partners assemble content by choosing from content modules and adding images and text.",
|
|
5
|
-
"version": "2.0.
|
|
5
|
+
"version": "2.0.5",
|
|
6
6
|
"main": "dist/cjs/index.js",
|
|
7
7
|
"module": "dist/es/index.js",
|
|
8
8
|
"types": "dist/types/index.d.ts",
|
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
"dist/**/*.d.ts"
|
|
19
19
|
],
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@sp-api-sdk/common": "2.0.
|
|
22
|
-
"axios": "^1.6.
|
|
21
|
+
"@sp-api-sdk/common": "2.0.5",
|
|
22
|
+
"axios": "^1.6.7"
|
|
23
23
|
},
|
|
24
24
|
"repository": {
|
|
25
25
|
"type": "git",
|
|
@@ -40,5 +40,5 @@
|
|
|
40
40
|
"sp sdk",
|
|
41
41
|
"aplus content api"
|
|
42
42
|
],
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "014aad96509aba433e07461efbe936a6062cc66a"
|
|
44
44
|
}
|