@sp-api-sdk/aplus-content-api-2020-11-01 3.1.4 → 3.1.6

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 (98) hide show
  1. package/dist/cjs/api-model/api/aplus-content-api.js +0 -22
  2. package/dist/cjs/api-model/base.js +0 -19
  3. package/dist/cjs/api-model/common.js +0 -37
  4. package/dist/cjs/api-model/configuration.js +0 -17
  5. package/dist/cjs/api-model/models/asin-badge.js +0 -2
  6. package/dist/cjs/api-model/models/color-type.js +0 -2
  7. package/dist/cjs/api-model/models/content-badge.js +0 -2
  8. package/dist/cjs/api-model/models/content-module-type.js +0 -2
  9. package/dist/cjs/api-model/models/content-status.js +0 -2
  10. package/dist/cjs/api-model/models/content-type.js +0 -2
  11. package/dist/cjs/api-model/models/decorator-type.js +0 -2
  12. package/dist/cjs/api-model/models/position-type.js +0 -2
  13. package/dist/es/api-model/api/aplus-content-api.js +0 -22
  14. package/dist/es/api-model/base.js +0 -19
  15. package/dist/es/api-model/common.js +0 -37
  16. package/dist/es/api-model/configuration.js +0 -17
  17. package/dist/es/api-model/models/asin-badge.js +0 -2
  18. package/dist/es/api-model/models/color-type.js +0 -2
  19. package/dist/es/api-model/models/content-badge.js +0 -2
  20. package/dist/es/api-model/models/content-module-type.js +0 -2
  21. package/dist/es/api-model/models/content-status.js +0 -2
  22. package/dist/es/api-model/models/content-type.js +0 -2
  23. package/dist/es/api-model/models/decorator-type.js +0 -2
  24. package/dist/es/api-model/models/position-type.js +0 -2
  25. package/dist/types/api-model/api/aplus-content-api.d.ts +0 -98
  26. package/dist/types/api-model/base.d.ts +0 -24
  27. package/dist/types/api-model/common.d.ts +0 -37
  28. package/dist/types/api-model/configuration.d.ts +0 -17
  29. package/dist/types/api-model/models/aplus-paginated-response-all-of.d.ts +0 -7
  30. package/dist/types/api-model/models/aplus-paginated-response.d.ts +0 -1
  31. package/dist/types/api-model/models/aplus-response.d.ts +0 -4
  32. package/dist/types/api-model/models/asin-badge.d.ts +0 -2
  33. package/dist/types/api-model/models/asin-metadata.d.ts +0 -14
  34. package/dist/types/api-model/models/color-type.d.ts +0 -2
  35. package/dist/types/api-model/models/content-badge.d.ts +0 -2
  36. package/dist/types/api-model/models/content-document.d.ts +0 -15
  37. package/dist/types/api-model/models/content-metadata-record.d.ts +0 -9
  38. package/dist/types/api-model/models/content-metadata.d.ts +0 -15
  39. package/dist/types/api-model/models/content-module-type.d.ts +0 -2
  40. package/dist/types/api-model/models/content-module.d.ts +0 -82
  41. package/dist/types/api-model/models/content-record.d.ts +0 -14
  42. package/dist/types/api-model/models/content-status.d.ts +0 -2
  43. package/dist/types/api-model/models/content-type.d.ts +0 -2
  44. package/dist/types/api-model/models/decorator-type.d.ts +0 -2
  45. package/dist/types/api-model/models/decorator.d.ts +0 -13
  46. package/dist/types/api-model/models/error-list.d.ts +0 -4
  47. package/dist/types/api-model/models/get-content-document-response-all-of.d.ts +0 -10
  48. package/dist/types/api-model/models/get-content-document-response.d.ts +0 -1
  49. package/dist/types/api-model/models/image-component.d.ts +0 -11
  50. package/dist/types/api-model/models/image-crop-specification.d.ts +0 -12
  51. package/dist/types/api-model/models/image-dimensions.d.ts +0 -12
  52. package/dist/types/api-model/models/image-offsets.d.ts +0 -12
  53. package/dist/types/api-model/models/integer-with-units.d.ts +0 -6
  54. package/dist/types/api-model/models/list-content-document-asin-relations-response-all-of.d.ts +0 -7
  55. package/dist/types/api-model/models/list-content-document-asin-relations-response.d.ts +0 -1
  56. package/dist/types/api-model/models/model-error.d.ts +0 -8
  57. package/dist/types/api-model/models/paragraph-component.d.ts +0 -7
  58. package/dist/types/api-model/models/plain-text-item.d.ts +0 -6
  59. package/dist/types/api-model/models/position-type.d.ts +0 -2
  60. package/dist/types/api-model/models/post-content-document-approval-submission-response.d.ts +0 -1
  61. package/dist/types/api-model/models/post-content-document-asin-relations-request.d.ts +0 -7
  62. package/dist/types/api-model/models/post-content-document-asin-relations-response.d.ts +0 -1
  63. package/dist/types/api-model/models/post-content-document-request.d.ts +0 -10
  64. package/dist/types/api-model/models/post-content-document-response-all-of.d.ts +0 -7
  65. package/dist/types/api-model/models/post-content-document-response.d.ts +0 -1
  66. package/dist/types/api-model/models/post-content-document-suspend-submission-response.d.ts +0 -1
  67. package/dist/types/api-model/models/publish-record.d.ts +0 -17
  68. package/dist/types/api-model/models/search-content-documents-response-all-of.d.ts +0 -7
  69. package/dist/types/api-model/models/search-content-documents-response.d.ts +0 -1
  70. package/dist/types/api-model/models/search-content-publish-records-response-all-of.d.ts +0 -7
  71. package/dist/types/api-model/models/search-content-publish-records-response.d.ts +0 -1
  72. package/dist/types/api-model/models/standard-company-logo-module.d.ts +0 -7
  73. package/dist/types/api-model/models/standard-comparison-product-block.d.ts +0 -17
  74. package/dist/types/api-model/models/standard-comparison-table-module.d.ts +0 -12
  75. package/dist/types/api-model/models/standard-four-image-text-module.d.ts +0 -27
  76. package/dist/types/api-model/models/standard-four-image-text-quadrant-module.d.ts +0 -22
  77. package/dist/types/api-model/models/standard-header-image-text-module.d.ts +0 -12
  78. package/dist/types/api-model/models/standard-header-text-list-block.d.ts +0 -12
  79. package/dist/types/api-model/models/standard-image-caption-block.d.ts +0 -12
  80. package/dist/types/api-model/models/standard-image-sidebar-module.d.ts +0 -32
  81. package/dist/types/api-model/models/standard-image-text-block.d.ts +0 -17
  82. package/dist/types/api-model/models/standard-image-text-caption-block.d.ts +0 -12
  83. package/dist/types/api-model/models/standard-image-text-overlay-module.d.ts +0 -12
  84. package/dist/types/api-model/models/standard-multiple-image-text-module.d.ts +0 -7
  85. package/dist/types/api-model/models/standard-product-description-module.d.ts +0 -7
  86. package/dist/types/api-model/models/standard-single-image-highlights-module.d.ts +0 -32
  87. package/dist/types/api-model/models/standard-single-image-specs-detail-module.d.ts +0 -42
  88. package/dist/types/api-model/models/standard-single-side-image-module.d.ts +0 -12
  89. package/dist/types/api-model/models/standard-tech-specs-module.d.ts +0 -11
  90. package/dist/types/api-model/models/standard-text-block.d.ts +0 -12
  91. package/dist/types/api-model/models/standard-text-list-block.d.ts +0 -7
  92. package/dist/types/api-model/models/standard-text-module.d.ts +0 -12
  93. package/dist/types/api-model/models/standard-text-pair-block.d.ts +0 -12
  94. package/dist/types/api-model/models/standard-three-image-text-module.d.ts +0 -22
  95. package/dist/types/api-model/models/text-component.d.ts +0 -6
  96. package/dist/types/api-model/models/text-item.d.ts +0 -9
  97. package/dist/types/api-model/models/validate-content-document-asin-relations-response.d.ts +0 -1
  98. package/package.json +25 -4
@@ -13,26 +13,15 @@ import type { StandardTextPairBlock } from './standard-text-pair-block';
13
13
  import type { TextComponent } from './text-component';
14
14
  /**
15
15
  * The standard table of technical feature names and definitions.
16
- * @export
17
- * @interface StandardTechSpecsModule
18
16
  */
19
17
  export interface StandardTechSpecsModule {
20
- /**
21
- *
22
- * @type {TextComponent}
23
- * @memberof StandardTechSpecsModule
24
- */
25
18
  'headline'?: TextComponent;
26
19
  /**
27
20
  * The specification list.
28
- * @type {Array<StandardTextPairBlock>}
29
- * @memberof StandardTechSpecsModule
30
21
  */
31
22
  'specificationList': Array<StandardTextPairBlock>;
32
23
  /**
33
24
  * The number of tables you want present. Features are evenly divided between the tables.
34
- * @type {number}
35
- * @memberof StandardTechSpecsModule
36
25
  */
37
26
  'tableCount'?: number;
38
27
  }
@@ -13,20 +13,8 @@ import type { ParagraphComponent } from './paragraph-component';
13
13
  import type { TextComponent } from './text-component';
14
14
  /**
15
15
  * The A+ Content standard text box block, which contains a paragraph and a headline.
16
- * @export
17
- * @interface StandardTextBlock
18
16
  */
19
17
  export interface StandardTextBlock {
20
- /**
21
- *
22
- * @type {TextComponent}
23
- * @memberof StandardTextBlock
24
- */
25
18
  'headline'?: TextComponent;
26
- /**
27
- *
28
- * @type {ParagraphComponent}
29
- * @memberof StandardTextBlock
30
- */
31
19
  'body'?: ParagraphComponent;
32
20
  }
@@ -12,14 +12,7 @@
12
12
  import type { TextItem } from './text-item';
13
13
  /**
14
14
  * The A+ Content standard fixed-length list of text, usually presented as bullet points.
15
- * @export
16
- * @interface StandardTextListBlock
17
15
  */
18
16
  export interface StandardTextListBlock {
19
- /**
20
- *
21
- * @type {Array<TextItem>}
22
- * @memberof StandardTextListBlock
23
- */
24
17
  'textList': Array<TextItem>;
25
18
  }
@@ -13,20 +13,8 @@ import type { ParagraphComponent } from './paragraph-component';
13
13
  import type { TextComponent } from './text-component';
14
14
  /**
15
15
  * A standard headline and body text.
16
- * @export
17
- * @interface StandardTextModule
18
16
  */
19
17
  export interface StandardTextModule {
20
- /**
21
- *
22
- * @type {TextComponent}
23
- * @memberof StandardTextModule
24
- */
25
18
  'headline'?: TextComponent;
26
- /**
27
- *
28
- * @type {ParagraphComponent}
29
- * @memberof StandardTextModule
30
- */
31
19
  'body': ParagraphComponent;
32
20
  }
@@ -12,20 +12,8 @@
12
12
  import type { TextComponent } from './text-component';
13
13
  /**
14
14
  * The A+ Content standard label and description block, which contains a pair of text components.
15
- * @export
16
- * @interface StandardTextPairBlock
17
15
  */
18
16
  export interface StandardTextPairBlock {
19
- /**
20
- *
21
- * @type {TextComponent}
22
- * @memberof StandardTextPairBlock
23
- */
24
17
  'label'?: TextComponent;
25
- /**
26
- *
27
- * @type {TextComponent}
28
- * @memberof StandardTextPairBlock
29
- */
30
18
  'description'?: TextComponent;
31
19
  }
@@ -13,32 +13,10 @@ import type { StandardImageTextBlock } from './standard-image-text-block';
13
13
  import type { TextComponent } from './text-component';
14
14
  /**
15
15
  * Three standard images with text, presented across a single row.
16
- * @export
17
- * @interface StandardThreeImageTextModule
18
16
  */
19
17
  export interface StandardThreeImageTextModule {
20
- /**
21
- *
22
- * @type {TextComponent}
23
- * @memberof StandardThreeImageTextModule
24
- */
25
18
  'headline'?: TextComponent;
26
- /**
27
- *
28
- * @type {StandardImageTextBlock}
29
- * @memberof StandardThreeImageTextModule
30
- */
31
19
  'block1'?: StandardImageTextBlock;
32
- /**
33
- *
34
- * @type {StandardImageTextBlock}
35
- * @memberof StandardThreeImageTextModule
36
- */
37
20
  'block2'?: StandardImageTextBlock;
38
- /**
39
- *
40
- * @type {StandardImageTextBlock}
41
- * @memberof StandardThreeImageTextModule
42
- */
43
21
  'block3'?: StandardImageTextBlock;
44
22
  }
@@ -12,20 +12,14 @@
12
12
  import type { Decorator } from './decorator';
13
13
  /**
14
14
  * Rich text content.
15
- * @export
16
- * @interface TextComponent
17
15
  */
18
16
  export interface TextComponent {
19
17
  /**
20
18
  * The actual plain text.
21
- * @type {string}
22
- * @memberof TextComponent
23
19
  */
24
20
  'value': string;
25
21
  /**
26
22
  * A set of content decorators.
27
- * @type {Set<Decorator>}
28
- * @memberof TextComponent
29
23
  */
30
24
  'decoratorSet'?: Set<Decorator>;
31
25
  }
@@ -12,20 +12,11 @@
12
12
  import type { TextComponent } from './text-component';
13
13
  /**
14
14
  * Rich positional text that is usually presented as a collection of bullet points.
15
- * @export
16
- * @interface TextItem
17
15
  */
18
16
  export interface TextItem {
19
17
  /**
20
18
  * The rank or index of this text item within the collection. Different items cannot occupy the same position within a single collection.
21
- * @type {number}
22
- * @memberof TextItem
23
19
  */
24
20
  'position': number;
25
- /**
26
- *
27
- * @type {TextComponent}
28
- * @memberof TextItem
29
- */
30
21
  'text': TextComponent;
31
22
  }
@@ -13,6 +13,5 @@ import type { AplusResponse } from './aplus-response';
13
13
  import type { ErrorList } from './error-list';
14
14
  /**
15
15
  * @type ValidateContentDocumentAsinRelationsResponse
16
- * @export
17
16
  */
18
17
  export type ValidateContentDocumentAsinRelationsResponse = AplusResponse & ErrorList;
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@sp-api-sdk/aplus-content-api-2020-11-01",
3
3
  "author": "Bertrand Marron <bertrand@bizon.solutions>",
4
4
  "description": "Use the A+ Content API to build applications that help selling partners add rich marketing content to their Amazon product detail pages. Selling partners can use A+ content to share their brand and product story, which helps buyers make informed purchasing decisions. Selling partners use content modules to add images and text.",
5
- "version": "3.1.4",
5
+ "version": "3.1.6",
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.1.15",
22
- "axios": "^1.10.0"
21
+ "@sp-api-sdk/common": "2.1.17",
22
+ "axios": "^1.11.0"
23
23
  },
24
24
  "repository": {
25
25
  "type": "git",
@@ -40,5 +40,26 @@
40
40
  "sp sdk",
41
41
  "aplus content api"
42
42
  ],
43
- "gitHead": "b36600f33d62a2b6c3a9035968a93bc83e9838a9"
43
+ "xo": {
44
+ "extends": [
45
+ "xo-bizon"
46
+ ],
47
+ "settings": {
48
+ "import/internal-regex": "^@sp-api-sdk/"
49
+ },
50
+ "semicolon": false,
51
+ "space": 2,
52
+ "prettier": true,
53
+ "ignores": [
54
+ "src/api-model/**"
55
+ ],
56
+ "rules": {
57
+ "unicorn/prevent-abbreviations": "off"
58
+ }
59
+ },
60
+ "prettier": {
61
+ "printWidth": 100,
62
+ "jsxSingleQuote": true
63
+ },
64
+ "gitHead": "961457650a65779f38e5d35547ca8cb2fb749943"
44
65
  }