@sp-api-sdk/vendor-invoices-api-v1 1.9.13 → 1.10.1
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/vendor-payments-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 +31 -18
- package/dist/types/src/api-model/models/tax-registration-details.d.ts +1 -1
- package/package.json +4 -12
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.VendorPaymentsApi = exports.VendorPaymentsApiFactory = exports.VendorPaymentsApiFp = exports.VendorPaymentsApiAxiosParamCreator = 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/vendor-payments-api"), exports);
|
|
30
|
+
__exportStar(require("./api/vendor-payments-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,20 +1,33 @@
|
|
|
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
|
-
tslib_1.__exportStar(require("./transaction-id"), exports);
|
|
17
|
+
__exportStar(require("./additional-details"), exports);
|
|
18
|
+
__exportStar(require("./address"), exports);
|
|
19
|
+
__exportStar(require("./allowance-details"), exports);
|
|
20
|
+
__exportStar(require("./charge-details"), exports);
|
|
21
|
+
__exportStar(require("./credit-note-details"), exports);
|
|
22
|
+
__exportStar(require("./invoice"), exports);
|
|
23
|
+
__exportStar(require("./invoice-item"), exports);
|
|
24
|
+
__exportStar(require("./item-quantity"), exports);
|
|
25
|
+
__exportStar(require("./model-error"), exports);
|
|
26
|
+
__exportStar(require("./money"), exports);
|
|
27
|
+
__exportStar(require("./party-identification"), exports);
|
|
28
|
+
__exportStar(require("./payment-terms"), exports);
|
|
29
|
+
__exportStar(require("./submit-invoices-request"), exports);
|
|
30
|
+
__exportStar(require("./submit-invoices-response"), exports);
|
|
31
|
+
__exportStar(require("./tax-details"), exports);
|
|
32
|
+
__exportStar(require("./tax-registration-details"), exports);
|
|
33
|
+
__exportStar(require("./transaction-id"), exports);
|
|
@@ -22,7 +22,7 @@ export interface TaxRegistrationDetails {
|
|
|
22
22
|
*/
|
|
23
23
|
'taxRegistrationType': TaxRegistrationDetailsTaxRegistrationTypeEnum;
|
|
24
24
|
/**
|
|
25
|
-
* The tax registration number for the entity. For example, VAT ID.
|
|
25
|
+
* The tax registration number for the entity. For example, VAT ID, Consumption Tax ID.
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof TaxRegistrationDetails
|
|
28
28
|
*/
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@sp-api-sdk/vendor-invoices-api-v1",
|
|
3
3
|
"author": "Vincent Mesquita <vincent.mesquita@bizon.solutions>",
|
|
4
4
|
"description": "The Selling Partner API for Retail Procurement Payments provides programmatic access to vendors payments data.",
|
|
5
|
-
"version": "1.
|
|
5
|
+
"version": "1.10.1",
|
|
6
6
|
"main": "dist/cjs/index.js",
|
|
7
7
|
"module": "dist/es/index.js",
|
|
8
8
|
"types": "dist/types/index.d.ts",
|
|
@@ -17,17 +17,9 @@
|
|
|
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": "
|
|
30
|
-
"axios": "^
|
|
21
|
+
"@sp-api-sdk/common": "1.11.2",
|
|
22
|
+
"axios": "^1.4.0"
|
|
31
23
|
},
|
|
32
24
|
"repository": {
|
|
33
25
|
"type": "git",
|
|
@@ -51,5 +43,5 @@
|
|
|
51
43
|
"typedoc": {
|
|
52
44
|
"entryPoint": "./index.ts"
|
|
53
45
|
},
|
|
54
|
-
"gitHead": "
|
|
46
|
+
"gitHead": "fb810d21c79c3f71392e6d4a18b2de0b5de3566a"
|
|
55
47
|
}
|