@sp-api-sdk/aplus-content-api-2020-11-01 1.11.0 → 1.11.2
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/README.md +0 -4
- package/dist/cjs/index.js +16 -3
- package/dist/cjs/src/api-model/api/aplus-content-api.js +4 -2
- package/dist/cjs/src/api-model/api.js +15 -2
- package/dist/cjs/src/api-model/base.js +4 -2
- package/dist/cjs/src/api-model/index.js +17 -4
- package/dist/cjs/src/api-model/models/index.js +83 -70
- package/package.json +3 -14
package/README.md
CHANGED
package/dist/cjs/index.js
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
2
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
tslib_1.__exportStar(require("./src/api-model/models"), exports);
|
|
17
|
+
__exportStar(require("./src/client"), exports);
|
|
18
|
+
__exportStar(require("./src/api-model/models"), exports);
|
|
@@ -12,10 +12,12 @@
|
|
|
12
12
|
* https://openapi-generator.tech
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
16
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
17
|
+
};
|
|
15
18
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
19
|
exports.AplusContentApi = exports.AplusContentApiFactory = exports.AplusContentApiFp = exports.AplusContentApiAxiosParamCreator = void 0;
|
|
17
|
-
const
|
|
18
|
-
const axios_1 = tslib_1.__importDefault(require("axios"));
|
|
20
|
+
const axios_1 = __importDefault(require("axios"));
|
|
19
21
|
// Some imports not used depending on template conditions
|
|
20
22
|
// @ts-ignore
|
|
21
23
|
const common_1 = require("../common");
|
|
@@ -12,6 +12,19 @@
|
|
|
12
12
|
* https://openapi-generator.tech
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
16
|
+
if (k2 === undefined) k2 = k;
|
|
17
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
18
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
19
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
20
|
+
}
|
|
21
|
+
Object.defineProperty(o, k2, desc);
|
|
22
|
+
}) : (function(o, m, k, k2) {
|
|
23
|
+
if (k2 === undefined) k2 = k;
|
|
24
|
+
o[k2] = m[k];
|
|
25
|
+
}));
|
|
26
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
27
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
28
|
+
};
|
|
15
29
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
|
|
17
|
-
tslib_1.__exportStar(require("./api/aplus-content-api"), exports);
|
|
30
|
+
__exportStar(require("./api/aplus-content-api"), exports);
|
|
@@ -12,10 +12,12 @@
|
|
|
12
12
|
* https://openapi-generator.tech
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
16
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
17
|
+
};
|
|
15
18
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
19
|
exports.RequiredError = exports.BaseAPI = exports.COLLECTION_FORMATS = exports.BASE_PATH = void 0;
|
|
17
|
-
const
|
|
18
|
-
const axios_1 = tslib_1.__importDefault(require("axios"));
|
|
20
|
+
const axios_1 = __importDefault(require("axios"));
|
|
19
21
|
exports.BASE_PATH = "https://sellingpartnerapi-na.amazon.com".replace(/\/+$/, "");
|
|
20
22
|
/**
|
|
21
23
|
*
|
|
@@ -12,8 +12,21 @@
|
|
|
12
12
|
* https://openapi-generator.tech
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
16
|
+
if (k2 === undefined) k2 = k;
|
|
17
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
18
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
19
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
20
|
+
}
|
|
21
|
+
Object.defineProperty(o, k2, desc);
|
|
22
|
+
}) : (function(o, m, k, k2) {
|
|
23
|
+
if (k2 === undefined) k2 = k;
|
|
24
|
+
o[k2] = m[k];
|
|
25
|
+
}));
|
|
26
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
27
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
28
|
+
};
|
|
15
29
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
tslib_1.__exportStar(require("./models"), exports);
|
|
30
|
+
__exportStar(require("./api"), exports);
|
|
31
|
+
__exportStar(require("./configuration"), exports);
|
|
32
|
+
__exportStar(require("./models"), exports);
|
|
@@ -1,72 +1,85 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
2
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
tslib_1.__exportStar(require("./validate-content-document-asin-relations-response"), exports);
|
|
17
|
+
__exportStar(require("./aplus-paginated-response"), exports);
|
|
18
|
+
__exportStar(require("./aplus-paginated-response-all-of"), exports);
|
|
19
|
+
__exportStar(require("./aplus-response"), exports);
|
|
20
|
+
__exportStar(require("./asin-badge"), exports);
|
|
21
|
+
__exportStar(require("./asin-metadata"), exports);
|
|
22
|
+
__exportStar(require("./color-type"), exports);
|
|
23
|
+
__exportStar(require("./content-badge"), exports);
|
|
24
|
+
__exportStar(require("./content-document"), exports);
|
|
25
|
+
__exportStar(require("./content-metadata"), exports);
|
|
26
|
+
__exportStar(require("./content-metadata-record"), exports);
|
|
27
|
+
__exportStar(require("./content-module"), exports);
|
|
28
|
+
__exportStar(require("./content-module-type"), exports);
|
|
29
|
+
__exportStar(require("./content-record"), exports);
|
|
30
|
+
__exportStar(require("./content-status"), exports);
|
|
31
|
+
__exportStar(require("./content-type"), exports);
|
|
32
|
+
__exportStar(require("./decorator"), exports);
|
|
33
|
+
__exportStar(require("./decorator-type"), exports);
|
|
34
|
+
__exportStar(require("./error-list"), exports);
|
|
35
|
+
__exportStar(require("./get-content-document-response"), exports);
|
|
36
|
+
__exportStar(require("./get-content-document-response-all-of"), exports);
|
|
37
|
+
__exportStar(require("./image-component"), exports);
|
|
38
|
+
__exportStar(require("./image-crop-specification"), exports);
|
|
39
|
+
__exportStar(require("./image-dimensions"), exports);
|
|
40
|
+
__exportStar(require("./image-offsets"), exports);
|
|
41
|
+
__exportStar(require("./integer-with-units"), exports);
|
|
42
|
+
__exportStar(require("./list-content-document-asin-relations-response"), exports);
|
|
43
|
+
__exportStar(require("./list-content-document-asin-relations-response-all-of"), exports);
|
|
44
|
+
__exportStar(require("./model-error"), exports);
|
|
45
|
+
__exportStar(require("./paragraph-component"), exports);
|
|
46
|
+
__exportStar(require("./plain-text-item"), exports);
|
|
47
|
+
__exportStar(require("./position-type"), exports);
|
|
48
|
+
__exportStar(require("./post-content-document-approval-submission-response"), exports);
|
|
49
|
+
__exportStar(require("./post-content-document-asin-relations-request"), exports);
|
|
50
|
+
__exportStar(require("./post-content-document-asin-relations-response"), exports);
|
|
51
|
+
__exportStar(require("./post-content-document-request"), exports);
|
|
52
|
+
__exportStar(require("./post-content-document-response"), exports);
|
|
53
|
+
__exportStar(require("./post-content-document-response-all-of"), exports);
|
|
54
|
+
__exportStar(require("./post-content-document-suspend-submission-response"), exports);
|
|
55
|
+
__exportStar(require("./publish-record"), exports);
|
|
56
|
+
__exportStar(require("./search-content-documents-response"), exports);
|
|
57
|
+
__exportStar(require("./search-content-documents-response-all-of"), exports);
|
|
58
|
+
__exportStar(require("./search-content-publish-records-response"), exports);
|
|
59
|
+
__exportStar(require("./search-content-publish-records-response-all-of"), exports);
|
|
60
|
+
__exportStar(require("./standard-company-logo-module"), exports);
|
|
61
|
+
__exportStar(require("./standard-comparison-product-block"), exports);
|
|
62
|
+
__exportStar(require("./standard-comparison-table-module"), exports);
|
|
63
|
+
__exportStar(require("./standard-four-image-text-module"), exports);
|
|
64
|
+
__exportStar(require("./standard-four-image-text-quadrant-module"), exports);
|
|
65
|
+
__exportStar(require("./standard-header-image-text-module"), exports);
|
|
66
|
+
__exportStar(require("./standard-header-text-list-block"), exports);
|
|
67
|
+
__exportStar(require("./standard-image-caption-block"), exports);
|
|
68
|
+
__exportStar(require("./standard-image-sidebar-module"), exports);
|
|
69
|
+
__exportStar(require("./standard-image-text-block"), exports);
|
|
70
|
+
__exportStar(require("./standard-image-text-caption-block"), exports);
|
|
71
|
+
__exportStar(require("./standard-image-text-overlay-module"), exports);
|
|
72
|
+
__exportStar(require("./standard-multiple-image-text-module"), exports);
|
|
73
|
+
__exportStar(require("./standard-product-description-module"), exports);
|
|
74
|
+
__exportStar(require("./standard-single-image-highlights-module"), exports);
|
|
75
|
+
__exportStar(require("./standard-single-image-specs-detail-module"), exports);
|
|
76
|
+
__exportStar(require("./standard-single-side-image-module"), exports);
|
|
77
|
+
__exportStar(require("./standard-tech-specs-module"), exports);
|
|
78
|
+
__exportStar(require("./standard-text-block"), exports);
|
|
79
|
+
__exportStar(require("./standard-text-list-block"), exports);
|
|
80
|
+
__exportStar(require("./standard-text-module"), exports);
|
|
81
|
+
__exportStar(require("./standard-text-pair-block"), exports);
|
|
82
|
+
__exportStar(require("./standard-three-image-text-module"), exports);
|
|
83
|
+
__exportStar(require("./text-component"), exports);
|
|
84
|
+
__exportStar(require("./text-item"), exports);
|
|
85
|
+
__exportStar(require("./validate-content-document-asin-relations-response"), exports);
|
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.11.
|
|
5
|
+
"version": "1.11.2",
|
|
6
6
|
"main": "dist/cjs/index.js",
|
|
7
7
|
"module": "dist/es/index.js",
|
|
8
8
|
"types": "dist/types/index.d.ts",
|
|
@@ -17,16 +17,8 @@
|
|
|
17
17
|
"dist/**/*.js",
|
|
18
18
|
"dist/**/*.d.ts"
|
|
19
19
|
],
|
|
20
|
-
"scripts": {
|
|
21
|
-
"check:ts": "yarn tsc --noEmit",
|
|
22
|
-
"build:cjs": "tsc -p tsconfig.json",
|
|
23
|
-
"build:es": "tsc -p tsconfig.es.json",
|
|
24
|
-
"build": "yarn build:cjs && yarn build:es",
|
|
25
|
-
"clean": "rimraf dist",
|
|
26
|
-
"test": "jest"
|
|
27
|
-
},
|
|
28
20
|
"dependencies": {
|
|
29
|
-
"@sp-api-sdk/common": "
|
|
21
|
+
"@sp-api-sdk/common": "1.11.3",
|
|
30
22
|
"axios": "^1.4.0"
|
|
31
23
|
},
|
|
32
24
|
"repository": {
|
|
@@ -48,8 +40,5 @@
|
|
|
48
40
|
"sp sdk",
|
|
49
41
|
"aplus content api"
|
|
50
42
|
],
|
|
51
|
-
"
|
|
52
|
-
"entryPoint": "./index.ts"
|
|
53
|
-
},
|
|
54
|
-
"gitHead": "107d3711376fa9561a8c02add732f7508c9c02ec"
|
|
43
|
+
"gitHead": "37246595dfc41a7b7d79eab072309752caf5049c"
|
|
55
44
|
}
|