@sp-api-sdk/aplus-content-api-2020-11-01 3.1.3 → 3.1.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/api-model/api/aplus-content-api.js +0 -22
- package/dist/cjs/api-model/base.js +0 -19
- package/dist/cjs/api-model/common.js +0 -37
- package/dist/cjs/api-model/configuration.js +0 -17
- package/dist/cjs/api-model/models/asin-badge.js +0 -2
- package/dist/cjs/api-model/models/color-type.js +0 -2
- package/dist/cjs/api-model/models/content-badge.js +0 -2
- package/dist/cjs/api-model/models/content-module-type.js +0 -2
- package/dist/cjs/api-model/models/content-status.js +0 -2
- package/dist/cjs/api-model/models/content-type.js +0 -2
- package/dist/cjs/api-model/models/decorator-type.js +0 -2
- package/dist/cjs/api-model/models/position-type.js +0 -2
- package/dist/es/api-model/api/aplus-content-api.js +0 -22
- package/dist/es/api-model/base.js +0 -19
- package/dist/es/api-model/common.js +0 -37
- package/dist/es/api-model/configuration.js +0 -17
- package/dist/es/api-model/models/asin-badge.js +0 -2
- package/dist/es/api-model/models/color-type.js +0 -2
- package/dist/es/api-model/models/content-badge.js +0 -2
- package/dist/es/api-model/models/content-module-type.js +0 -2
- package/dist/es/api-model/models/content-status.js +0 -2
- package/dist/es/api-model/models/content-type.js +0 -2
- package/dist/es/api-model/models/decorator-type.js +0 -2
- package/dist/es/api-model/models/position-type.js +0 -2
- package/dist/types/api-model/api/aplus-content-api.d.ts +0 -98
- package/dist/types/api-model/base.d.ts +0 -24
- package/dist/types/api-model/common.d.ts +0 -37
- package/dist/types/api-model/configuration.d.ts +0 -17
- package/dist/types/api-model/models/aplus-paginated-response-all-of.d.ts +0 -7
- package/dist/types/api-model/models/aplus-paginated-response.d.ts +0 -1
- package/dist/types/api-model/models/aplus-response.d.ts +0 -4
- package/dist/types/api-model/models/asin-badge.d.ts +0 -2
- package/dist/types/api-model/models/asin-metadata.d.ts +0 -14
- package/dist/types/api-model/models/color-type.d.ts +0 -2
- package/dist/types/api-model/models/content-badge.d.ts +0 -2
- package/dist/types/api-model/models/content-document.d.ts +0 -15
- package/dist/types/api-model/models/content-metadata-record.d.ts +0 -9
- package/dist/types/api-model/models/content-metadata.d.ts +0 -15
- package/dist/types/api-model/models/content-module-type.d.ts +0 -2
- package/dist/types/api-model/models/content-module.d.ts +0 -82
- package/dist/types/api-model/models/content-record.d.ts +0 -14
- package/dist/types/api-model/models/content-status.d.ts +0 -2
- package/dist/types/api-model/models/content-type.d.ts +0 -2
- package/dist/types/api-model/models/decorator-type.d.ts +0 -2
- package/dist/types/api-model/models/decorator.d.ts +0 -13
- package/dist/types/api-model/models/error-list.d.ts +0 -4
- package/dist/types/api-model/models/get-content-document-response-all-of.d.ts +0 -10
- package/dist/types/api-model/models/get-content-document-response.d.ts +0 -1
- package/dist/types/api-model/models/image-component.d.ts +0 -11
- package/dist/types/api-model/models/image-crop-specification.d.ts +0 -12
- package/dist/types/api-model/models/image-dimensions.d.ts +0 -12
- package/dist/types/api-model/models/image-offsets.d.ts +0 -12
- package/dist/types/api-model/models/integer-with-units.d.ts +0 -6
- package/dist/types/api-model/models/list-content-document-asin-relations-response-all-of.d.ts +0 -7
- package/dist/types/api-model/models/list-content-document-asin-relations-response.d.ts +0 -1
- package/dist/types/api-model/models/model-error.d.ts +0 -8
- package/dist/types/api-model/models/paragraph-component.d.ts +0 -7
- package/dist/types/api-model/models/plain-text-item.d.ts +0 -6
- package/dist/types/api-model/models/position-type.d.ts +0 -2
- package/dist/types/api-model/models/post-content-document-approval-submission-response.d.ts +0 -1
- package/dist/types/api-model/models/post-content-document-asin-relations-request.d.ts +0 -7
- package/dist/types/api-model/models/post-content-document-asin-relations-response.d.ts +0 -1
- package/dist/types/api-model/models/post-content-document-request.d.ts +0 -10
- package/dist/types/api-model/models/post-content-document-response-all-of.d.ts +0 -7
- package/dist/types/api-model/models/post-content-document-response.d.ts +0 -1
- package/dist/types/api-model/models/post-content-document-suspend-submission-response.d.ts +0 -1
- package/dist/types/api-model/models/publish-record.d.ts +0 -17
- package/dist/types/api-model/models/search-content-documents-response-all-of.d.ts +0 -7
- package/dist/types/api-model/models/search-content-documents-response.d.ts +0 -1
- package/dist/types/api-model/models/search-content-publish-records-response-all-of.d.ts +0 -7
- package/dist/types/api-model/models/search-content-publish-records-response.d.ts +0 -1
- package/dist/types/api-model/models/standard-company-logo-module.d.ts +0 -7
- package/dist/types/api-model/models/standard-comparison-product-block.d.ts +0 -17
- package/dist/types/api-model/models/standard-comparison-table-module.d.ts +0 -12
- package/dist/types/api-model/models/standard-four-image-text-module.d.ts +0 -27
- package/dist/types/api-model/models/standard-four-image-text-quadrant-module.d.ts +0 -22
- package/dist/types/api-model/models/standard-header-image-text-module.d.ts +0 -12
- package/dist/types/api-model/models/standard-header-text-list-block.d.ts +0 -12
- package/dist/types/api-model/models/standard-image-caption-block.d.ts +0 -12
- package/dist/types/api-model/models/standard-image-sidebar-module.d.ts +0 -32
- package/dist/types/api-model/models/standard-image-text-block.d.ts +0 -17
- package/dist/types/api-model/models/standard-image-text-caption-block.d.ts +0 -12
- package/dist/types/api-model/models/standard-image-text-overlay-module.d.ts +0 -12
- package/dist/types/api-model/models/standard-multiple-image-text-module.d.ts +0 -7
- package/dist/types/api-model/models/standard-product-description-module.d.ts +0 -7
- package/dist/types/api-model/models/standard-single-image-highlights-module.d.ts +0 -32
- package/dist/types/api-model/models/standard-single-image-specs-detail-module.d.ts +0 -42
- package/dist/types/api-model/models/standard-single-side-image-module.d.ts +0 -12
- package/dist/types/api-model/models/standard-tech-specs-module.d.ts +0 -11
- package/dist/types/api-model/models/standard-text-block.d.ts +0 -12
- package/dist/types/api-model/models/standard-text-list-block.d.ts +0 -7
- package/dist/types/api-model/models/standard-text-module.d.ts +0 -12
- package/dist/types/api-model/models/standard-text-pair-block.d.ts +0 -12
- package/dist/types/api-model/models/standard-three-image-text-module.d.ts +0 -22
- package/dist/types/api-model/models/text-component.d.ts +0 -6
- package/dist/types/api-model/models/text-item.d.ts +0 -9
- package/dist/types/api-model/models/validate-content-document-asin-relations-response.d.ts +0 -1
- package/package.json +25 -4
|
@@ -11,14 +11,10 @@
|
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
13
|
* The base response data for all A+ Content operations when a request is successful or partially successful. Individual operations can extend this with additional data.
|
|
14
|
-
* @export
|
|
15
|
-
* @interface AplusResponse
|
|
16
14
|
*/
|
|
17
15
|
export interface AplusResponse {
|
|
18
16
|
/**
|
|
19
17
|
* A set of messages to the user, such as warnings or comments.
|
|
20
|
-
* @type {Set<Error>}
|
|
21
|
-
* @memberof AplusResponse
|
|
22
18
|
*/
|
|
23
19
|
'warnings'?: Set<Error>;
|
|
24
20
|
}
|
|
@@ -11,8 +11,6 @@
|
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
13
|
* A flag that provides additional information about an ASIN. This is contextual and can change depending on the request that generated it.
|
|
14
|
-
* @export
|
|
15
|
-
* @enum {string}
|
|
16
14
|
*/
|
|
17
15
|
export declare const AsinBadge: {
|
|
18
16
|
readonly BrandNotEligible: "BRAND_NOT_ELIGIBLE";
|
|
@@ -12,44 +12,30 @@
|
|
|
12
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
|
-
* @export
|
|
16
|
-
* @interface AsinMetadata
|
|
17
15
|
*/
|
|
18
16
|
export interface AsinMetadata {
|
|
19
17
|
/**
|
|
20
18
|
* The Amazon Standard Identification Number (ASIN).
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof AsinMetadata
|
|
23
19
|
*/
|
|
24
20
|
'asin': string;
|
|
25
21
|
/**
|
|
26
22
|
* The set of ASIN badges.
|
|
27
|
-
* @type {Set<AsinBadge>}
|
|
28
|
-
* @memberof AsinMetadata
|
|
29
23
|
*/
|
|
30
24
|
'badgeSet'?: Set<AsinBadge>;
|
|
31
25
|
/**
|
|
32
26
|
* The Amazon Standard Identification Number (ASIN).
|
|
33
|
-
* @type {string}
|
|
34
|
-
* @memberof AsinMetadata
|
|
35
27
|
*/
|
|
36
28
|
'parent'?: string;
|
|
37
29
|
/**
|
|
38
30
|
* The title for the ASIN in the Amazon catalog.
|
|
39
|
-
* @type {string}
|
|
40
|
-
* @memberof AsinMetadata
|
|
41
31
|
*/
|
|
42
32
|
'title'?: string;
|
|
43
33
|
/**
|
|
44
34
|
* The default image for the ASIN in the Amazon catalog.
|
|
45
|
-
* @type {string}
|
|
46
|
-
* @memberof AsinMetadata
|
|
47
35
|
*/
|
|
48
36
|
'imageUrl'?: string;
|
|
49
37
|
/**
|
|
50
38
|
* A set of content reference keys.
|
|
51
|
-
* @type {Set<string>}
|
|
52
|
-
* @memberof AsinMetadata
|
|
53
39
|
*/
|
|
54
40
|
'contentReferenceKeySet'?: Set<string>;
|
|
55
41
|
}
|
|
@@ -13,38 +13,23 @@ import type { ContentModule } from './content-module';
|
|
|
13
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
|
-
* @export
|
|
17
|
-
* @interface ContentDocument
|
|
18
16
|
*/
|
|
19
17
|
export interface ContentDocument {
|
|
20
18
|
/**
|
|
21
19
|
* The A+ Content document name.
|
|
22
|
-
* @type {string}
|
|
23
|
-
* @memberof ContentDocument
|
|
24
20
|
*/
|
|
25
21
|
'name': string;
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @type {ContentType}
|
|
29
|
-
* @memberof ContentDocument
|
|
30
|
-
*/
|
|
31
22
|
'contentType': ContentType;
|
|
32
23
|
/**
|
|
33
24
|
* The A+ Content document subtype. This represents a special-purpose type of an A+ Content document. Not every A+ Content document type has a subtype, and subtypes can change at any time.
|
|
34
|
-
* @type {string}
|
|
35
|
-
* @memberof ContentDocument
|
|
36
25
|
*/
|
|
37
26
|
'contentSubType'?: string;
|
|
38
27
|
/**
|
|
39
28
|
* The IETF language tag, which supports the primary language subtag and one secondary language subtag. The secondary language subtag is usually a regional designation. This doesn\'t support subtags other than the primary and secondary subtags. **Pattern:** ^[a-z]{2,}-[A-Z0-9]{2,}$
|
|
40
|
-
* @type {string}
|
|
41
|
-
* @memberof ContentDocument
|
|
42
29
|
*/
|
|
43
30
|
'locale': string;
|
|
44
31
|
/**
|
|
45
32
|
* A list of A+ Content modules.
|
|
46
|
-
* @type {Array<ContentModule>}
|
|
47
|
-
* @memberof ContentDocument
|
|
48
33
|
*/
|
|
49
34
|
'contentModuleList': Array<ContentModule>;
|
|
50
35
|
}
|
|
@@ -12,20 +12,11 @@
|
|
|
12
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
|
-
* @export
|
|
16
|
-
* @interface ContentMetadataRecord
|
|
17
15
|
*/
|
|
18
16
|
export interface ContentMetadataRecord {
|
|
19
17
|
/**
|
|
20
18
|
* A unique reference key for the A+ Content document. A content reference key cannot form a permalink and might change in the future. A content reference key is not guaranteed to match any A+ content identifier.
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof ContentMetadataRecord
|
|
23
19
|
*/
|
|
24
20
|
'contentReferenceKey': string;
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {ContentMetadata}
|
|
28
|
-
* @memberof ContentMetadataRecord
|
|
29
|
-
*/
|
|
30
21
|
'contentMetadata': ContentMetadata;
|
|
31
22
|
}
|
|
@@ -13,38 +13,23 @@ import type { ContentBadge } from './content-badge';
|
|
|
13
13
|
import type { ContentStatus } from './content-status';
|
|
14
14
|
/**
|
|
15
15
|
* The A+ Content document\'s metadata.
|
|
16
|
-
* @export
|
|
17
|
-
* @interface ContentMetadata
|
|
18
16
|
*/
|
|
19
17
|
export interface ContentMetadata {
|
|
20
18
|
/**
|
|
21
19
|
* The A+ Content document\'s name.
|
|
22
|
-
* @type {string}
|
|
23
|
-
* @memberof ContentMetadata
|
|
24
20
|
*/
|
|
25
21
|
'name': string;
|
|
26
22
|
/**
|
|
27
23
|
* The marketplace ID is the globally unique identifier of a marketplace. To find the ID for your marketplace, refer to [Marketplace IDs](https://developer-docs.amazon.com/sp-api/docs/marketplace-ids).
|
|
28
|
-
* @type {string}
|
|
29
|
-
* @memberof ContentMetadata
|
|
30
24
|
*/
|
|
31
25
|
'marketplaceId': string;
|
|
32
|
-
/**
|
|
33
|
-
*
|
|
34
|
-
* @type {ContentStatus}
|
|
35
|
-
* @memberof ContentMetadata
|
|
36
|
-
*/
|
|
37
26
|
'status': ContentStatus;
|
|
38
27
|
/**
|
|
39
28
|
* The set of content badges.
|
|
40
|
-
* @type {Set<ContentBadge>}
|
|
41
|
-
* @memberof ContentMetadata
|
|
42
29
|
*/
|
|
43
30
|
'badgeSet': Set<ContentBadge>;
|
|
44
31
|
/**
|
|
45
32
|
* The approximate age of the A+ Content document and metadata.
|
|
46
|
-
* @type {string}
|
|
47
|
-
* @memberof ContentMetadata
|
|
48
33
|
*/
|
|
49
34
|
'updateTime': string;
|
|
50
35
|
}
|
|
@@ -27,104 +27,22 @@ import type { StandardTextModule } from './standard-text-module';
|
|
|
27
27
|
import type { StandardThreeImageTextModule } from './standard-three-image-text-module';
|
|
28
28
|
/**
|
|
29
29
|
* An A+ Content module. An A+ Content document is composed of content modules. The `contentModuleType` property selects which content module types to use.
|
|
30
|
-
* @export
|
|
31
|
-
* @interface ContentModule
|
|
32
30
|
*/
|
|
33
31
|
export interface ContentModule {
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* @type {ContentModuleType}
|
|
37
|
-
* @memberof ContentModule
|
|
38
|
-
*/
|
|
39
32
|
'contentModuleType': ContentModuleType;
|
|
40
|
-
/**
|
|
41
|
-
*
|
|
42
|
-
* @type {StandardCompanyLogoModule}
|
|
43
|
-
* @memberof ContentModule
|
|
44
|
-
*/
|
|
45
33
|
'standardCompanyLogo'?: StandardCompanyLogoModule;
|
|
46
|
-
/**
|
|
47
|
-
*
|
|
48
|
-
* @type {StandardComparisonTableModule}
|
|
49
|
-
* @memberof ContentModule
|
|
50
|
-
*/
|
|
51
34
|
'standardComparisonTable'?: StandardComparisonTableModule;
|
|
52
|
-
/**
|
|
53
|
-
*
|
|
54
|
-
* @type {StandardFourImageTextModule}
|
|
55
|
-
* @memberof ContentModule
|
|
56
|
-
*/
|
|
57
35
|
'standardFourImageText'?: StandardFourImageTextModule;
|
|
58
|
-
/**
|
|
59
|
-
*
|
|
60
|
-
* @type {StandardFourImageTextQuadrantModule}
|
|
61
|
-
* @memberof ContentModule
|
|
62
|
-
*/
|
|
63
36
|
'standardFourImageTextQuadrant'?: StandardFourImageTextQuadrantModule;
|
|
64
|
-
/**
|
|
65
|
-
*
|
|
66
|
-
* @type {StandardHeaderImageTextModule}
|
|
67
|
-
* @memberof ContentModule
|
|
68
|
-
*/
|
|
69
37
|
'standardHeaderImageText'?: StandardHeaderImageTextModule;
|
|
70
|
-
/**
|
|
71
|
-
*
|
|
72
|
-
* @type {StandardImageSidebarModule}
|
|
73
|
-
* @memberof ContentModule
|
|
74
|
-
*/
|
|
75
38
|
'standardImageSidebar'?: StandardImageSidebarModule;
|
|
76
|
-
/**
|
|
77
|
-
*
|
|
78
|
-
* @type {StandardImageTextOverlayModule}
|
|
79
|
-
* @memberof ContentModule
|
|
80
|
-
*/
|
|
81
39
|
'standardImageTextOverlay'?: StandardImageTextOverlayModule;
|
|
82
|
-
/**
|
|
83
|
-
*
|
|
84
|
-
* @type {StandardMultipleImageTextModule}
|
|
85
|
-
* @memberof ContentModule
|
|
86
|
-
*/
|
|
87
40
|
'standardMultipleImageText'?: StandardMultipleImageTextModule;
|
|
88
|
-
/**
|
|
89
|
-
*
|
|
90
|
-
* @type {StandardProductDescriptionModule}
|
|
91
|
-
* @memberof ContentModule
|
|
92
|
-
*/
|
|
93
41
|
'standardProductDescription'?: StandardProductDescriptionModule;
|
|
94
|
-
/**
|
|
95
|
-
*
|
|
96
|
-
* @type {StandardSingleImageHighlightsModule}
|
|
97
|
-
* @memberof ContentModule
|
|
98
|
-
*/
|
|
99
42
|
'standardSingleImageHighlights'?: StandardSingleImageHighlightsModule;
|
|
100
|
-
/**
|
|
101
|
-
*
|
|
102
|
-
* @type {StandardSingleImageSpecsDetailModule}
|
|
103
|
-
* @memberof ContentModule
|
|
104
|
-
*/
|
|
105
43
|
'standardSingleImageSpecsDetail'?: StandardSingleImageSpecsDetailModule;
|
|
106
|
-
/**
|
|
107
|
-
*
|
|
108
|
-
* @type {StandardSingleSideImageModule}
|
|
109
|
-
* @memberof ContentModule
|
|
110
|
-
*/
|
|
111
44
|
'standardSingleSideImage'?: StandardSingleSideImageModule;
|
|
112
|
-
/**
|
|
113
|
-
*
|
|
114
|
-
* @type {StandardTechSpecsModule}
|
|
115
|
-
* @memberof ContentModule
|
|
116
|
-
*/
|
|
117
45
|
'standardTechSpecs'?: StandardTechSpecsModule;
|
|
118
|
-
/**
|
|
119
|
-
*
|
|
120
|
-
* @type {StandardTextModule}
|
|
121
|
-
* @memberof ContentModule
|
|
122
|
-
*/
|
|
123
46
|
'standardText'?: StandardTextModule;
|
|
124
|
-
/**
|
|
125
|
-
*
|
|
126
|
-
* @type {StandardThreeImageTextModule}
|
|
127
|
-
* @memberof ContentModule
|
|
128
|
-
*/
|
|
129
47
|
'standardThreeImageText'?: StandardThreeImageTextModule;
|
|
130
48
|
}
|
|
@@ -13,26 +13,12 @@ import type { ContentDocument } from './content-document';
|
|
|
13
13
|
import type { ContentMetadata } from './content-metadata';
|
|
14
14
|
/**
|
|
15
15
|
* A content document with additional information for content management.
|
|
16
|
-
* @export
|
|
17
|
-
* @interface ContentRecord
|
|
18
16
|
*/
|
|
19
17
|
export interface ContentRecord {
|
|
20
18
|
/**
|
|
21
19
|
* A unique reference key for the A+ Content document. A content reference key cannot form a permalink and might change in the future. A content reference key is not guaranteed to match any A+ content identifier.
|
|
22
|
-
* @type {string}
|
|
23
|
-
* @memberof ContentRecord
|
|
24
20
|
*/
|
|
25
21
|
'contentReferenceKey': string;
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @type {ContentMetadata}
|
|
29
|
-
* @memberof ContentRecord
|
|
30
|
-
*/
|
|
31
22
|
'contentMetadata'?: ContentMetadata;
|
|
32
|
-
/**
|
|
33
|
-
*
|
|
34
|
-
* @type {ContentDocument}
|
|
35
|
-
* @memberof ContentRecord
|
|
36
|
-
*/
|
|
37
23
|
'contentDocument'?: ContentDocument;
|
|
38
24
|
}
|
|
@@ -12,32 +12,19 @@
|
|
|
12
12
|
import type { DecoratorType } from './decorator-type';
|
|
13
13
|
/**
|
|
14
14
|
* A decorator that is applied to a content string value in order to create rich text.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface Decorator
|
|
17
15
|
*/
|
|
18
16
|
export interface Decorator {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {DecoratorType}
|
|
22
|
-
* @memberof Decorator
|
|
23
|
-
*/
|
|
24
17
|
'type'?: DecoratorType;
|
|
25
18
|
/**
|
|
26
19
|
* The starting value of this decorator within the content string. Use zero (`0`) for the first value.
|
|
27
|
-
* @type {number}
|
|
28
|
-
* @memberof Decorator
|
|
29
20
|
*/
|
|
30
21
|
'offset'?: number;
|
|
31
22
|
/**
|
|
32
23
|
* The number of content characters to alter with this decorator. Decorators, such as line breaks, can have zero length and fit between characters.
|
|
33
|
-
* @type {number}
|
|
34
|
-
* @memberof Decorator
|
|
35
24
|
*/
|
|
36
25
|
'length'?: number;
|
|
37
26
|
/**
|
|
38
27
|
* The relative intensity or variation of this decorator. Decorators, such as bullet-points, can have multiple indentation depths.
|
|
39
|
-
* @type {number}
|
|
40
|
-
* @memberof Decorator
|
|
41
28
|
*/
|
|
42
29
|
'depth'?: number;
|
|
43
30
|
}
|
|
@@ -11,14 +11,10 @@
|
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
13
|
* The error response that is returned when a request is unsuccessful.
|
|
14
|
-
* @export
|
|
15
|
-
* @interface ErrorList
|
|
16
14
|
*/
|
|
17
15
|
export interface ErrorList {
|
|
18
16
|
/**
|
|
19
17
|
* A list of error responses that are returned when a request is unsuccessful.
|
|
20
|
-
* @type {Array<Error>}
|
|
21
|
-
* @memberof ErrorList
|
|
22
18
|
*/
|
|
23
19
|
'errors': Array<Error>;
|
|
24
20
|
}
|
|
@@ -10,16 +10,6 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { ContentRecord } from './content-record';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface GetContentDocumentResponseAllOf
|
|
17
|
-
*/
|
|
18
13
|
export interface GetContentDocumentResponseAllOf {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {ContentRecord}
|
|
22
|
-
* @memberof GetContentDocumentResponseAllOf
|
|
23
|
-
*/
|
|
24
14
|
'contentRecord': ContentRecord;
|
|
25
15
|
}
|
|
@@ -13,6 +13,5 @@ import type { AplusResponse } from './aplus-response';
|
|
|
13
13
|
import type { GetContentDocumentResponseAllOf } from './get-content-document-response-all-of';
|
|
14
14
|
/**
|
|
15
15
|
* @type GetContentDocumentResponse
|
|
16
|
-
* @export
|
|
17
16
|
*/
|
|
18
17
|
export type GetContentDocumentResponse = AplusResponse & GetContentDocumentResponseAllOf;
|
|
@@ -12,26 +12,15 @@
|
|
|
12
12
|
import type { ImageCropSpecification } from './image-crop-specification';
|
|
13
13
|
/**
|
|
14
14
|
* A reference to an image, hosted in the A+ Content media library.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface ImageComponent
|
|
17
15
|
*/
|
|
18
16
|
export interface ImageComponent {
|
|
19
17
|
/**
|
|
20
18
|
* This identifier is provided by the [Uploads API](https://developer-docs.amazon.com/sp-api/reference/welcome-to-api-references).
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof ImageComponent
|
|
23
19
|
*/
|
|
24
20
|
'uploadDestinationId': string;
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {ImageCropSpecification}
|
|
28
|
-
* @memberof ImageComponent
|
|
29
|
-
*/
|
|
30
21
|
'imageCropSpecification': ImageCropSpecification;
|
|
31
22
|
/**
|
|
32
23
|
* The alternative text for the image.
|
|
33
|
-
* @type {string}
|
|
34
|
-
* @memberof ImageComponent
|
|
35
24
|
*/
|
|
36
25
|
'altText': string;
|
|
37
26
|
}
|
|
@@ -13,20 +13,8 @@ import type { ImageDimensions } from './image-dimensions';
|
|
|
13
13
|
import type { ImageOffsets } from './image-offsets';
|
|
14
14
|
/**
|
|
15
15
|
* The instructions for optionally cropping an image. If you don\'t want to crop the image, set the dimensions to the original image size. If the image is cropped and you don\'t include offset values, the coordinates of the top left corner of the cropped image are set to (0,0) by default.
|
|
16
|
-
* @export
|
|
17
|
-
* @interface ImageCropSpecification
|
|
18
16
|
*/
|
|
19
17
|
export interface ImageCropSpecification {
|
|
20
|
-
/**
|
|
21
|
-
*
|
|
22
|
-
* @type {ImageDimensions}
|
|
23
|
-
* @memberof ImageCropSpecification
|
|
24
|
-
*/
|
|
25
18
|
'size': ImageDimensions;
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @type {ImageOffsets}
|
|
29
|
-
* @memberof ImageCropSpecification
|
|
30
|
-
*/
|
|
31
19
|
'offset'?: ImageOffsets;
|
|
32
20
|
}
|
|
@@ -12,20 +12,8 @@
|
|
|
12
12
|
import type { IntegerWithUnits } from './integer-with-units';
|
|
13
13
|
/**
|
|
14
14
|
* The dimensions that extend from the top left corner of the image (this applies to cropped and uncropped images). `ImageDimensions` units must be in pixels.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface ImageDimensions
|
|
17
15
|
*/
|
|
18
16
|
export interface ImageDimensions {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {IntegerWithUnits}
|
|
22
|
-
* @memberof ImageDimensions
|
|
23
|
-
*/
|
|
24
17
|
'width': IntegerWithUnits;
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {IntegerWithUnits}
|
|
28
|
-
* @memberof ImageDimensions
|
|
29
|
-
*/
|
|
30
18
|
'height': IntegerWithUnits;
|
|
31
19
|
}
|
|
@@ -12,20 +12,8 @@
|
|
|
12
12
|
import type { IntegerWithUnits } from './integer-with-units';
|
|
13
13
|
/**
|
|
14
14
|
* The top left corner of the cropped image, specified in the original image\'s coordinate space.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface ImageOffsets
|
|
17
15
|
*/
|
|
18
16
|
export interface ImageOffsets {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {IntegerWithUnits}
|
|
22
|
-
* @memberof ImageOffsets
|
|
23
|
-
*/
|
|
24
17
|
'x': IntegerWithUnits;
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {IntegerWithUnits}
|
|
28
|
-
* @memberof ImageOffsets
|
|
29
|
-
*/
|
|
30
18
|
'y': IntegerWithUnits;
|
|
31
19
|
}
|
|
@@ -11,20 +11,14 @@
|
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
13
|
* A whole number dimension and its unit of measurement. For example, this can represent 100 pixels.
|
|
14
|
-
* @export
|
|
15
|
-
* @interface IntegerWithUnits
|
|
16
14
|
*/
|
|
17
15
|
export interface IntegerWithUnits {
|
|
18
16
|
/**
|
|
19
17
|
* The dimension value.
|
|
20
|
-
* @type {number}
|
|
21
|
-
* @memberof IntegerWithUnits
|
|
22
18
|
*/
|
|
23
19
|
'value': number;
|
|
24
20
|
/**
|
|
25
21
|
* The unit of measurement.
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof IntegerWithUnits
|
|
28
22
|
*/
|
|
29
23
|
'units': string;
|
|
30
24
|
}
|
package/dist/types/api-model/models/list-content-document-asin-relations-response-all-of.d.ts
CHANGED
|
@@ -10,16 +10,9 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { AsinMetadata } from './asin-metadata';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface ListContentDocumentAsinRelationsResponseAllOf
|
|
17
|
-
*/
|
|
18
13
|
export interface ListContentDocumentAsinRelationsResponseAllOf {
|
|
19
14
|
/**
|
|
20
15
|
* The set of ASIN metadata.
|
|
21
|
-
* @type {Set<AsinMetadata>}
|
|
22
|
-
* @memberof ListContentDocumentAsinRelationsResponseAllOf
|
|
23
16
|
*/
|
|
24
17
|
'asinMetadataSet': Set<AsinMetadata>;
|
|
25
18
|
}
|
|
@@ -13,6 +13,5 @@ import type { AplusPaginatedResponse } from './aplus-paginated-response';
|
|
|
13
13
|
import type { ListContentDocumentAsinRelationsResponseAllOf } from './list-content-document-asin-relations-response-all-of';
|
|
14
14
|
/**
|
|
15
15
|
* @type ListContentDocumentAsinRelationsResponse
|
|
16
|
-
* @export
|
|
17
16
|
*/
|
|
18
17
|
export type ListContentDocumentAsinRelationsResponse = AplusPaginatedResponse & ListContentDocumentAsinRelationsResponseAllOf;
|
|
@@ -11,26 +11,18 @@
|
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
13
|
* The error response that is returned when the request is unsuccessful.
|
|
14
|
-
* @export
|
|
15
|
-
* @interface ModelError
|
|
16
14
|
*/
|
|
17
15
|
export interface ModelError {
|
|
18
16
|
/**
|
|
19
17
|
* An error code that identifies the type of error that occurred.
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof ModelError
|
|
22
18
|
*/
|
|
23
19
|
'code': string;
|
|
24
20
|
/**
|
|
25
21
|
* A message that describes the error condition.
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof ModelError
|
|
28
22
|
*/
|
|
29
23
|
'message': string;
|
|
30
24
|
/**
|
|
31
25
|
* Additional details that can help the caller understand or fix the issue.
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof ModelError
|
|
34
26
|
*/
|
|
35
27
|
'details'?: string;
|
|
36
28
|
}
|
|
@@ -12,14 +12,7 @@
|
|
|
12
12
|
import type { TextComponent } from './text-component';
|
|
13
13
|
/**
|
|
14
14
|
* A list of rich text content that is typically presented in a text box.
|
|
15
|
-
* @export
|
|
16
|
-
* @interface ParagraphComponent
|
|
17
15
|
*/
|
|
18
16
|
export interface ParagraphComponent {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {Array<TextComponent>}
|
|
22
|
-
* @memberof ParagraphComponent
|
|
23
|
-
*/
|
|
24
17
|
'textList': Array<TextComponent>;
|
|
25
18
|
}
|
|
@@ -11,20 +11,14 @@
|
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
13
|
* Plain positional text that is used in collections of brief labels and descriptors.
|
|
14
|
-
* @export
|
|
15
|
-
* @interface PlainTextItem
|
|
16
14
|
*/
|
|
17
15
|
export interface PlainTextItem {
|
|
18
16
|
/**
|
|
19
17
|
* The rank or index of this text item within the collection. Different items cannot occupy the same position within a single collection.
|
|
20
|
-
* @type {number}
|
|
21
|
-
* @memberof PlainTextItem
|
|
22
18
|
*/
|
|
23
19
|
'position': number;
|
|
24
20
|
/**
|
|
25
21
|
* The actual plain text.
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof PlainTextItem
|
|
28
22
|
*/
|
|
29
23
|
'value': string;
|
|
30
24
|
}
|