@sp-api-sdk/aplus-content-api-2020-11-01 1.9.2 → 1.9.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (81) hide show
  1. package/dist/cjs/src/api-model/api/aplus-content-api.js +10 -10
  2. package/dist/cjs/src/api-model/models/asin-badge.js +6 -7
  3. package/dist/cjs/src/api-model/models/color-type.js +4 -5
  4. package/dist/cjs/src/api-model/models/content-badge.js +7 -8
  5. package/dist/cjs/src/api-model/models/content-module-type.js +17 -18
  6. package/dist/cjs/src/api-model/models/content-status.js +6 -7
  7. package/dist/cjs/src/api-model/models/content-type.js +4 -5
  8. package/dist/cjs/src/api-model/models/decorator-type.js +10 -11
  9. package/dist/cjs/src/api-model/models/position-type.js +4 -5
  10. package/dist/es/src/api-model/api/aplus-content-api.js +10 -10
  11. package/dist/es/src/api-model/models/asin-badge.js +6 -7
  12. package/dist/es/src/api-model/models/color-type.js +4 -5
  13. package/dist/es/src/api-model/models/content-badge.js +7 -8
  14. package/dist/es/src/api-model/models/content-module-type.js +17 -18
  15. package/dist/es/src/api-model/models/content-status.js +6 -7
  16. package/dist/es/src/api-model/models/content-type.js +4 -5
  17. package/dist/es/src/api-model/models/decorator-type.js +10 -11
  18. package/dist/es/src/api-model/models/position-type.js +4 -5
  19. package/dist/types/src/api-model/api/aplus-content-api.d.ts +31 -31
  20. package/dist/types/src/api-model/base.d.ts +2 -2
  21. package/dist/types/src/api-model/common.d.ts +2 -2
  22. package/dist/types/src/api-model/models/aplus-paginated-response-all-of.d.ts +1 -1
  23. package/dist/types/src/api-model/models/aplus-response.d.ts +1 -1
  24. package/dist/types/src/api-model/models/asin-badge.d.ts +7 -6
  25. package/dist/types/src/api-model/models/asin-metadata.d.ts +6 -6
  26. package/dist/types/src/api-model/models/color-type.d.ts +5 -4
  27. package/dist/types/src/api-model/models/content-badge.d.ts +8 -7
  28. package/dist/types/src/api-model/models/content-document.d.ts +5 -5
  29. package/dist/types/src/api-model/models/content-metadata-record.d.ts +2 -2
  30. package/dist/types/src/api-model/models/content-metadata.d.ts +5 -5
  31. package/dist/types/src/api-model/models/content-module-type.d.ts +18 -17
  32. package/dist/types/src/api-model/models/content-module.d.ts +16 -16
  33. package/dist/types/src/api-model/models/content-record.d.ts +3 -3
  34. package/dist/types/src/api-model/models/content-status.d.ts +7 -6
  35. package/dist/types/src/api-model/models/content-type.d.ts +5 -4
  36. package/dist/types/src/api-model/models/decorator-type.d.ts +11 -10
  37. package/dist/types/src/api-model/models/decorator.d.ts +4 -4
  38. package/dist/types/src/api-model/models/error-list.d.ts +1 -1
  39. package/dist/types/src/api-model/models/get-content-document-response-all-of.d.ts +1 -1
  40. package/dist/types/src/api-model/models/image-component.d.ts +3 -3
  41. package/dist/types/src/api-model/models/image-crop-specification.d.ts +2 -2
  42. package/dist/types/src/api-model/models/image-dimensions.d.ts +2 -2
  43. package/dist/types/src/api-model/models/image-offsets.d.ts +2 -2
  44. package/dist/types/src/api-model/models/integer-with-units.d.ts +2 -2
  45. package/dist/types/src/api-model/models/list-content-document-asin-relations-response-all-of.d.ts +1 -1
  46. package/dist/types/src/api-model/models/model-error.d.ts +3 -3
  47. package/dist/types/src/api-model/models/paragraph-component.d.ts +1 -1
  48. package/dist/types/src/api-model/models/plain-text-item.d.ts +2 -2
  49. package/dist/types/src/api-model/models/position-type.d.ts +5 -4
  50. package/dist/types/src/api-model/models/post-content-document-asin-relations-request.d.ts +1 -1
  51. package/dist/types/src/api-model/models/post-content-document-request.d.ts +1 -1
  52. package/dist/types/src/api-model/models/post-content-document-response-all-of.d.ts +1 -1
  53. package/dist/types/src/api-model/models/publish-record.d.ts +6 -6
  54. package/dist/types/src/api-model/models/search-content-documents-response-all-of.d.ts +1 -1
  55. package/dist/types/src/api-model/models/search-content-publish-records-response-all-of.d.ts +1 -1
  56. package/dist/types/src/api-model/models/standard-company-logo-module.d.ts +1 -1
  57. package/dist/types/src/api-model/models/standard-comparison-product-block.d.ts +6 -6
  58. package/dist/types/src/api-model/models/standard-comparison-table-module.d.ts +2 -2
  59. package/dist/types/src/api-model/models/standard-four-image-text-module.d.ts +5 -5
  60. package/dist/types/src/api-model/models/standard-four-image-text-quadrant-module.d.ts +4 -4
  61. package/dist/types/src/api-model/models/standard-header-image-text-module.d.ts +2 -2
  62. package/dist/types/src/api-model/models/standard-header-text-list-block.d.ts +2 -2
  63. package/dist/types/src/api-model/models/standard-image-caption-block.d.ts +2 -2
  64. package/dist/types/src/api-model/models/standard-image-sidebar-module.d.ts +6 -6
  65. package/dist/types/src/api-model/models/standard-image-text-block.d.ts +3 -3
  66. package/dist/types/src/api-model/models/standard-image-text-caption-block.d.ts +2 -2
  67. package/dist/types/src/api-model/models/standard-image-text-overlay-module.d.ts +2 -2
  68. package/dist/types/src/api-model/models/standard-multiple-image-text-module.d.ts +1 -1
  69. package/dist/types/src/api-model/models/standard-product-description-module.d.ts +1 -1
  70. package/dist/types/src/api-model/models/standard-single-image-highlights-module.d.ts +6 -6
  71. package/dist/types/src/api-model/models/standard-single-image-specs-detail-module.d.ts +8 -8
  72. package/dist/types/src/api-model/models/standard-single-side-image-module.d.ts +2 -2
  73. package/dist/types/src/api-model/models/standard-tech-specs-module.d.ts +3 -3
  74. package/dist/types/src/api-model/models/standard-text-block.d.ts +2 -2
  75. package/dist/types/src/api-model/models/standard-text-list-block.d.ts +1 -1
  76. package/dist/types/src/api-model/models/standard-text-module.d.ts +2 -2
  77. package/dist/types/src/api-model/models/standard-text-pair-block.d.ts +2 -2
  78. package/dist/types/src/api-model/models/standard-three-image-text-module.d.ts +4 -4
  79. package/dist/types/src/api-model/models/text-component.d.ts +2 -2
  80. package/dist/types/src/api-model/models/text-item.d.ts +2 -2
  81. package/package.json +5 -5
@@ -25,35 +25,35 @@ export interface StandardImageSidebarModule {
25
25
  * @type {TextComponent}
26
26
  * @memberof StandardImageSidebarModule
27
27
  */
28
- headline?: TextComponent;
28
+ 'headline'?: TextComponent;
29
29
  /**
30
30
  *
31
31
  * @type {StandardImageCaptionBlock}
32
32
  * @memberof StandardImageSidebarModule
33
33
  */
34
- imageCaptionBlock?: StandardImageCaptionBlock;
34
+ 'imageCaptionBlock'?: StandardImageCaptionBlock;
35
35
  /**
36
36
  *
37
37
  * @type {StandardTextBlock}
38
38
  * @memberof StandardImageSidebarModule
39
39
  */
40
- descriptionTextBlock?: StandardTextBlock;
40
+ 'descriptionTextBlock'?: StandardTextBlock;
41
41
  /**
42
42
  *
43
43
  * @type {StandardTextListBlock}
44
44
  * @memberof StandardImageSidebarModule
45
45
  */
46
- descriptionListBlock?: StandardTextListBlock;
46
+ 'descriptionListBlock'?: StandardTextListBlock;
47
47
  /**
48
48
  *
49
49
  * @type {StandardImageTextBlock}
50
50
  * @memberof StandardImageSidebarModule
51
51
  */
52
- sidebarImageTextBlock?: StandardImageTextBlock;
52
+ 'sidebarImageTextBlock'?: StandardImageTextBlock;
53
53
  /**
54
54
  *
55
55
  * @type {StandardTextListBlock}
56
56
  * @memberof StandardImageSidebarModule
57
57
  */
58
- sidebarListBlock?: StandardTextListBlock;
58
+ 'sidebarListBlock'?: StandardTextListBlock;
59
59
  }
@@ -23,17 +23,17 @@ export interface StandardImageTextBlock {
23
23
  * @type {ImageComponent}
24
24
  * @memberof StandardImageTextBlock
25
25
  */
26
- image?: ImageComponent;
26
+ 'image'?: ImageComponent;
27
27
  /**
28
28
  *
29
29
  * @type {TextComponent}
30
30
  * @memberof StandardImageTextBlock
31
31
  */
32
- headline?: TextComponent;
32
+ 'headline'?: TextComponent;
33
33
  /**
34
34
  *
35
35
  * @type {ParagraphComponent}
36
36
  * @memberof StandardImageTextBlock
37
37
  */
38
- body?: ParagraphComponent;
38
+ 'body'?: ParagraphComponent;
39
39
  }
@@ -22,11 +22,11 @@ export interface StandardImageTextCaptionBlock {
22
22
  * @type {StandardImageTextBlock}
23
23
  * @memberof StandardImageTextCaptionBlock
24
24
  */
25
- block?: StandardImageTextBlock;
25
+ 'block'?: StandardImageTextBlock;
26
26
  /**
27
27
  *
28
28
  * @type {TextComponent}
29
29
  * @memberof StandardImageTextCaptionBlock
30
30
  */
31
- caption?: TextComponent;
31
+ 'caption'?: TextComponent;
32
32
  }
@@ -22,11 +22,11 @@ export interface StandardImageTextOverlayModule {
22
22
  * @type {ColorType}
23
23
  * @memberof StandardImageTextOverlayModule
24
24
  */
25
- overlayColorType: ColorType;
25
+ 'overlayColorType': ColorType;
26
26
  /**
27
27
  *
28
28
  * @type {StandardImageTextBlock}
29
29
  * @memberof StandardImageTextOverlayModule
30
30
  */
31
- block?: StandardImageTextBlock;
31
+ 'block'?: StandardImageTextBlock;
32
32
  }
@@ -21,5 +21,5 @@ export interface StandardMultipleImageTextModule {
21
21
  * @type {Array<StandardImageTextCaptionBlock>}
22
22
  * @memberof StandardMultipleImageTextModule
23
23
  */
24
- blocks?: Array<StandardImageTextCaptionBlock>;
24
+ 'blocks'?: Array<StandardImageTextCaptionBlock>;
25
25
  }
@@ -21,5 +21,5 @@ export interface StandardProductDescriptionModule {
21
21
  * @type {ParagraphComponent}
22
22
  * @memberof StandardProductDescriptionModule
23
23
  */
24
- body: ParagraphComponent;
24
+ 'body': ParagraphComponent;
25
25
  }
@@ -24,35 +24,35 @@ export interface StandardSingleImageHighlightsModule {
24
24
  * @type {ImageComponent}
25
25
  * @memberof StandardSingleImageHighlightsModule
26
26
  */
27
- image?: ImageComponent;
27
+ 'image'?: ImageComponent;
28
28
  /**
29
29
  *
30
30
  * @type {TextComponent}
31
31
  * @memberof StandardSingleImageHighlightsModule
32
32
  */
33
- headline?: TextComponent;
33
+ 'headline'?: TextComponent;
34
34
  /**
35
35
  *
36
36
  * @type {StandardTextBlock}
37
37
  * @memberof StandardSingleImageHighlightsModule
38
38
  */
39
- textBlock1?: StandardTextBlock;
39
+ 'textBlock1'?: StandardTextBlock;
40
40
  /**
41
41
  *
42
42
  * @type {StandardTextBlock}
43
43
  * @memberof StandardSingleImageHighlightsModule
44
44
  */
45
- textBlock2?: StandardTextBlock;
45
+ 'textBlock2'?: StandardTextBlock;
46
46
  /**
47
47
  *
48
48
  * @type {StandardTextBlock}
49
49
  * @memberof StandardSingleImageHighlightsModule
50
50
  */
51
- textBlock3?: StandardTextBlock;
51
+ 'textBlock3'?: StandardTextBlock;
52
52
  /**
53
53
  *
54
54
  * @type {StandardHeaderTextListBlock}
55
55
  * @memberof StandardSingleImageHighlightsModule
56
56
  */
57
- bulletedListBlock?: StandardHeaderTextListBlock;
57
+ 'bulletedListBlock'?: StandardHeaderTextListBlock;
58
58
  }
@@ -24,47 +24,47 @@ export interface StandardSingleImageSpecsDetailModule {
24
24
  * @type {TextComponent}
25
25
  * @memberof StandardSingleImageSpecsDetailModule
26
26
  */
27
- headline?: TextComponent;
27
+ 'headline'?: TextComponent;
28
28
  /**
29
29
  *
30
30
  * @type {ImageComponent}
31
31
  * @memberof StandardSingleImageSpecsDetailModule
32
32
  */
33
- image?: ImageComponent;
33
+ 'image'?: ImageComponent;
34
34
  /**
35
35
  *
36
36
  * @type {TextComponent}
37
37
  * @memberof StandardSingleImageSpecsDetailModule
38
38
  */
39
- descriptionHeadline?: TextComponent;
39
+ 'descriptionHeadline'?: TextComponent;
40
40
  /**
41
41
  *
42
42
  * @type {StandardTextBlock}
43
43
  * @memberof StandardSingleImageSpecsDetailModule
44
44
  */
45
- descriptionBlock1?: StandardTextBlock;
45
+ 'descriptionBlock1'?: StandardTextBlock;
46
46
  /**
47
47
  *
48
48
  * @type {StandardTextBlock}
49
49
  * @memberof StandardSingleImageSpecsDetailModule
50
50
  */
51
- descriptionBlock2?: StandardTextBlock;
51
+ 'descriptionBlock2'?: StandardTextBlock;
52
52
  /**
53
53
  *
54
54
  * @type {TextComponent}
55
55
  * @memberof StandardSingleImageSpecsDetailModule
56
56
  */
57
- specificationHeadline?: TextComponent;
57
+ 'specificationHeadline'?: TextComponent;
58
58
  /**
59
59
  *
60
60
  * @type {StandardHeaderTextListBlock}
61
61
  * @memberof StandardSingleImageSpecsDetailModule
62
62
  */
63
- specificationListBlock?: StandardHeaderTextListBlock;
63
+ 'specificationListBlock'?: StandardHeaderTextListBlock;
64
64
  /**
65
65
  *
66
66
  * @type {StandardTextBlock}
67
67
  * @memberof StandardSingleImageSpecsDetailModule
68
68
  */
69
- specificationTextBlock?: StandardTextBlock;
69
+ 'specificationTextBlock'?: StandardTextBlock;
70
70
  }
@@ -22,11 +22,11 @@ export interface StandardSingleSideImageModule {
22
22
  * @type {PositionType}
23
23
  * @memberof StandardSingleSideImageModule
24
24
  */
25
- imagePositionType: PositionType;
25
+ 'imagePositionType': PositionType;
26
26
  /**
27
27
  *
28
28
  * @type {StandardImageTextBlock}
29
29
  * @memberof StandardSingleSideImageModule
30
30
  */
31
- block?: StandardImageTextBlock;
31
+ 'block'?: StandardImageTextBlock;
32
32
  }
@@ -22,17 +22,17 @@ export interface StandardTechSpecsModule {
22
22
  * @type {TextComponent}
23
23
  * @memberof StandardTechSpecsModule
24
24
  */
25
- headline?: TextComponent;
25
+ 'headline'?: TextComponent;
26
26
  /**
27
27
  * The specification list.
28
28
  * @type {Array<StandardTextPairBlock>}
29
29
  * @memberof StandardTechSpecsModule
30
30
  */
31
- specificationList: Array<StandardTextPairBlock>;
31
+ 'specificationList': Array<StandardTextPairBlock>;
32
32
  /**
33
33
  * The number of tables to present. Features are evenly divided between the tables.
34
34
  * @type {number}
35
35
  * @memberof StandardTechSpecsModule
36
36
  */
37
- tableCount?: number;
37
+ 'tableCount'?: number;
38
38
  }
@@ -22,11 +22,11 @@ export interface StandardTextBlock {
22
22
  * @type {TextComponent}
23
23
  * @memberof StandardTextBlock
24
24
  */
25
- headline?: TextComponent;
25
+ 'headline'?: TextComponent;
26
26
  /**
27
27
  *
28
28
  * @type {ParagraphComponent}
29
29
  * @memberof StandardTextBlock
30
30
  */
31
- body?: ParagraphComponent;
31
+ 'body'?: ParagraphComponent;
32
32
  }
@@ -21,5 +21,5 @@ export interface StandardTextListBlock {
21
21
  * @type {Array<TextItem>}
22
22
  * @memberof StandardTextListBlock
23
23
  */
24
- textList: Array<TextItem>;
24
+ 'textList': Array<TextItem>;
25
25
  }
@@ -22,11 +22,11 @@ export interface StandardTextModule {
22
22
  * @type {TextComponent}
23
23
  * @memberof StandardTextModule
24
24
  */
25
- headline?: TextComponent;
25
+ 'headline'?: TextComponent;
26
26
  /**
27
27
  *
28
28
  * @type {ParagraphComponent}
29
29
  * @memberof StandardTextModule
30
30
  */
31
- body: ParagraphComponent;
31
+ 'body': ParagraphComponent;
32
32
  }
@@ -21,11 +21,11 @@ export interface StandardTextPairBlock {
21
21
  * @type {TextComponent}
22
22
  * @memberof StandardTextPairBlock
23
23
  */
24
- label?: TextComponent;
24
+ 'label'?: TextComponent;
25
25
  /**
26
26
  *
27
27
  * @type {TextComponent}
28
28
  * @memberof StandardTextPairBlock
29
29
  */
30
- description?: TextComponent;
30
+ 'description'?: TextComponent;
31
31
  }
@@ -22,23 +22,23 @@ export interface StandardThreeImageTextModule {
22
22
  * @type {TextComponent}
23
23
  * @memberof StandardThreeImageTextModule
24
24
  */
25
- headline?: TextComponent;
25
+ 'headline'?: TextComponent;
26
26
  /**
27
27
  *
28
28
  * @type {StandardImageTextBlock}
29
29
  * @memberof StandardThreeImageTextModule
30
30
  */
31
- block1?: StandardImageTextBlock;
31
+ 'block1'?: StandardImageTextBlock;
32
32
  /**
33
33
  *
34
34
  * @type {StandardImageTextBlock}
35
35
  * @memberof StandardThreeImageTextModule
36
36
  */
37
- block2?: StandardImageTextBlock;
37
+ 'block2'?: StandardImageTextBlock;
38
38
  /**
39
39
  *
40
40
  * @type {StandardImageTextBlock}
41
41
  * @memberof StandardThreeImageTextModule
42
42
  */
43
- block3?: StandardImageTextBlock;
43
+ 'block3'?: StandardImageTextBlock;
44
44
  }
@@ -21,11 +21,11 @@ export interface TextComponent {
21
21
  * @type {string}
22
22
  * @memberof TextComponent
23
23
  */
24
- value: string;
24
+ 'value': string;
25
25
  /**
26
26
  * A set of content decorators.
27
27
  * @type {Set<Decorator>}
28
28
  * @memberof TextComponent
29
29
  */
30
- decoratorSet?: Set<Decorator>;
30
+ 'decoratorSet'?: Set<Decorator>;
31
31
  }
@@ -21,11 +21,11 @@ export interface TextItem {
21
21
  * @type {number}
22
22
  * @memberof TextItem
23
23
  */
24
- position: number;
24
+ 'position': number;
25
25
  /**
26
26
  *
27
27
  * @type {TextComponent}
28
28
  * @memberof TextItem
29
29
  */
30
- text: TextComponent;
30
+ 'text': TextComponent;
31
31
  }
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": "1.9.2",
5
+ "version": "1.9.5",
6
6
  "main": "dist/cjs/index.js",
7
7
  "module": "dist/es/index.js",
8
8
  "types": "dist/types/index.d.ts",
@@ -24,11 +24,11 @@
24
24
  "build:es": "tsc -p tsconfig.es.json",
25
25
  "build": "yarn build:cjs && yarn build:es",
26
26
  "clean": "rimraf dist",
27
- "test": "NODE_ENV='test' yarn jest"
27
+ "test": "jest"
28
28
  },
29
29
  "dependencies": {
30
- "@sp-api-sdk/auth": "^1.9.15",
31
- "@sp-api-sdk/common": "^1.9.1",
30
+ "@sp-api-sdk/auth": "^1.9.17",
31
+ "@sp-api-sdk/common": "^1.9.3",
32
32
  "axios": "^0.27.2"
33
33
  },
34
34
  "repository": {
@@ -50,5 +50,5 @@
50
50
  "sp sdk",
51
51
  "aplus content api"
52
52
  ],
53
- "gitHead": "e49e4267a61beba2869d509719731bea6cc2c6d8"
53
+ "gitHead": "d4f265d3c6a4e05e45025a46effa023a56a54e9c"
54
54
  }