@sp-api-sdk/vendor-invoices-api-v1 3.1.1 → 4.0.0
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/{vendor-payments-api.js → vendor-invoices-api.js} +21 -21
- package/dist/cjs/api-model/api.js +1 -1
- package/dist/cjs/client.js +1 -1
- package/dist/es/api-model/api/{vendor-payments-api.js → vendor-invoices-api.js} +16 -16
- package/dist/es/api-model/api.js +1 -1
- package/dist/es/client.js +2 -2
- package/dist/types/api-model/api/{vendor-payments-api.d.ts → vendor-invoices-api.d.ts} +18 -18
- package/dist/types/api-model/api.d.ts +1 -1
- package/dist/types/client.d.ts +2 -2
- package/package.json +4 -4
|
@@ -16,7 +16,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
16
16
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
17
17
|
};
|
|
18
18
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19
|
-
exports.
|
|
19
|
+
exports.VendorInvoicesApi = exports.VendorInvoicesApiFactory = exports.VendorInvoicesApiFp = exports.VendorInvoicesApiAxiosParamCreator = void 0;
|
|
20
20
|
const axios_1 = __importDefault(require("axios"));
|
|
21
21
|
// Some imports not used depending on template conditions
|
|
22
22
|
// @ts-ignore
|
|
@@ -24,10 +24,10 @@ const common_1 = require("../common");
|
|
|
24
24
|
// @ts-ignore
|
|
25
25
|
const base_1 = require("../base");
|
|
26
26
|
/**
|
|
27
|
-
*
|
|
27
|
+
* VendorInvoicesApi - axios parameter creator
|
|
28
28
|
* @export
|
|
29
29
|
*/
|
|
30
|
-
const
|
|
30
|
+
const VendorInvoicesApiAxiosParamCreator = function (configuration) {
|
|
31
31
|
return {
|
|
32
32
|
/**
|
|
33
33
|
* Submit new invoices to Amazon. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
@@ -60,13 +60,13 @@ const VendorPaymentsApiAxiosParamCreator = function (configuration) {
|
|
|
60
60
|
},
|
|
61
61
|
};
|
|
62
62
|
};
|
|
63
|
-
exports.
|
|
63
|
+
exports.VendorInvoicesApiAxiosParamCreator = VendorInvoicesApiAxiosParamCreator;
|
|
64
64
|
/**
|
|
65
|
-
*
|
|
65
|
+
* VendorInvoicesApi - functional programming interface
|
|
66
66
|
* @export
|
|
67
67
|
*/
|
|
68
|
-
const
|
|
69
|
-
const localVarAxiosParamCreator = (0, exports.
|
|
68
|
+
const VendorInvoicesApiFp = function (configuration) {
|
|
69
|
+
const localVarAxiosParamCreator = (0, exports.VendorInvoicesApiAxiosParamCreator)(configuration);
|
|
70
70
|
return {
|
|
71
71
|
/**
|
|
72
72
|
* Submit new invoices to Amazon. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
@@ -77,22 +77,22 @@ const VendorPaymentsApiFp = function (configuration) {
|
|
|
77
77
|
async submitInvoices(body, options) {
|
|
78
78
|
const localVarAxiosArgs = await localVarAxiosParamCreator.submitInvoices(body, options);
|
|
79
79
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
80
|
-
const localVarOperationServerBasePath = base_1.operationServerMap['
|
|
80
|
+
const localVarOperationServerBasePath = base_1.operationServerMap['VendorInvoicesApi.submitInvoices']?.[localVarOperationServerIndex]?.url;
|
|
81
81
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
82
82
|
},
|
|
83
83
|
};
|
|
84
84
|
};
|
|
85
|
-
exports.
|
|
85
|
+
exports.VendorInvoicesApiFp = VendorInvoicesApiFp;
|
|
86
86
|
/**
|
|
87
|
-
*
|
|
87
|
+
* VendorInvoicesApi - factory interface
|
|
88
88
|
* @export
|
|
89
89
|
*/
|
|
90
|
-
const
|
|
91
|
-
const localVarFp = (0, exports.
|
|
90
|
+
const VendorInvoicesApiFactory = function (configuration, basePath, axios) {
|
|
91
|
+
const localVarFp = (0, exports.VendorInvoicesApiFp)(configuration);
|
|
92
92
|
return {
|
|
93
93
|
/**
|
|
94
94
|
* Submit new invoices to Amazon. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
95
|
-
* @param {
|
|
95
|
+
* @param {VendorInvoicesApiSubmitInvoicesRequest} requestParameters Request parameters.
|
|
96
96
|
* @param {*} [options] Override http request option.
|
|
97
97
|
* @throws {RequiredError}
|
|
98
98
|
*/
|
|
@@ -101,23 +101,23 @@ const VendorPaymentsApiFactory = function (configuration, basePath, axios) {
|
|
|
101
101
|
},
|
|
102
102
|
};
|
|
103
103
|
};
|
|
104
|
-
exports.
|
|
104
|
+
exports.VendorInvoicesApiFactory = VendorInvoicesApiFactory;
|
|
105
105
|
/**
|
|
106
|
-
*
|
|
106
|
+
* VendorInvoicesApi - object-oriented interface
|
|
107
107
|
* @export
|
|
108
|
-
* @class
|
|
108
|
+
* @class VendorInvoicesApi
|
|
109
109
|
* @extends {BaseAPI}
|
|
110
110
|
*/
|
|
111
|
-
class
|
|
111
|
+
class VendorInvoicesApi extends base_1.BaseAPI {
|
|
112
112
|
/**
|
|
113
113
|
* Submit new invoices to Amazon. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
114
|
-
* @param {
|
|
114
|
+
* @param {VendorInvoicesApiSubmitInvoicesRequest} requestParameters Request parameters.
|
|
115
115
|
* @param {*} [options] Override http request option.
|
|
116
116
|
* @throws {RequiredError}
|
|
117
|
-
* @memberof
|
|
117
|
+
* @memberof VendorInvoicesApi
|
|
118
118
|
*/
|
|
119
119
|
submitInvoices(requestParameters, options) {
|
|
120
|
-
return (0, exports.
|
|
120
|
+
return (0, exports.VendorInvoicesApiFp)(this.configuration).submitInvoices(requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
121
121
|
}
|
|
122
122
|
}
|
|
123
|
-
exports.
|
|
123
|
+
exports.VendorInvoicesApi = VendorInvoicesApi;
|
|
@@ -27,4 +27,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
27
27
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
28
28
|
};
|
|
29
29
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
30
|
-
__exportStar(require("./api/vendor-
|
|
30
|
+
__exportStar(require("./api/vendor-invoices-api"), exports);
|
package/dist/cjs/client.js
CHANGED
|
@@ -12,7 +12,7 @@ exports.clientRateLimits = [
|
|
|
12
12
|
burst: 10,
|
|
13
13
|
},
|
|
14
14
|
];
|
|
15
|
-
class VendorInvoicesApiClient extends api_model_1.
|
|
15
|
+
class VendorInvoicesApiClient extends api_model_1.VendorInvoicesApi {
|
|
16
16
|
constructor(configuration) {
|
|
17
17
|
const { axios, endpoint } = (0, common_1.createAxiosInstance)(configuration, exports.clientRateLimits);
|
|
18
18
|
super(new api_model_1.Configuration(), endpoint, axios);
|
|
@@ -18,10 +18,10 @@ import { DUMMY_BASE_URL, assertParamExists, setSearchParams, serializeDataIfNeed
|
|
|
18
18
|
// @ts-ignore
|
|
19
19
|
import { BASE_PATH, BaseAPI, operationServerMap } from '../base';
|
|
20
20
|
/**
|
|
21
|
-
*
|
|
21
|
+
* VendorInvoicesApi - axios parameter creator
|
|
22
22
|
* @export
|
|
23
23
|
*/
|
|
24
|
-
export const
|
|
24
|
+
export const VendorInvoicesApiAxiosParamCreator = function (configuration) {
|
|
25
25
|
return {
|
|
26
26
|
/**
|
|
27
27
|
* Submit new invoices to Amazon. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
@@ -55,11 +55,11 @@ export const VendorPaymentsApiAxiosParamCreator = function (configuration) {
|
|
|
55
55
|
};
|
|
56
56
|
};
|
|
57
57
|
/**
|
|
58
|
-
*
|
|
58
|
+
* VendorInvoicesApi - functional programming interface
|
|
59
59
|
* @export
|
|
60
60
|
*/
|
|
61
|
-
export const
|
|
62
|
-
const localVarAxiosParamCreator =
|
|
61
|
+
export const VendorInvoicesApiFp = function (configuration) {
|
|
62
|
+
const localVarAxiosParamCreator = VendorInvoicesApiAxiosParamCreator(configuration);
|
|
63
63
|
return {
|
|
64
64
|
/**
|
|
65
65
|
* Submit new invoices to Amazon. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
@@ -70,21 +70,21 @@ export const VendorPaymentsApiFp = function (configuration) {
|
|
|
70
70
|
async submitInvoices(body, options) {
|
|
71
71
|
const localVarAxiosArgs = await localVarAxiosParamCreator.submitInvoices(body, options);
|
|
72
72
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
73
|
-
const localVarOperationServerBasePath = operationServerMap['
|
|
73
|
+
const localVarOperationServerBasePath = operationServerMap['VendorInvoicesApi.submitInvoices']?.[localVarOperationServerIndex]?.url;
|
|
74
74
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
75
75
|
},
|
|
76
76
|
};
|
|
77
77
|
};
|
|
78
78
|
/**
|
|
79
|
-
*
|
|
79
|
+
* VendorInvoicesApi - factory interface
|
|
80
80
|
* @export
|
|
81
81
|
*/
|
|
82
|
-
export const
|
|
83
|
-
const localVarFp =
|
|
82
|
+
export const VendorInvoicesApiFactory = function (configuration, basePath, axios) {
|
|
83
|
+
const localVarFp = VendorInvoicesApiFp(configuration);
|
|
84
84
|
return {
|
|
85
85
|
/**
|
|
86
86
|
* Submit new invoices to Amazon. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
87
|
-
* @param {
|
|
87
|
+
* @param {VendorInvoicesApiSubmitInvoicesRequest} requestParameters Request parameters.
|
|
88
88
|
* @param {*} [options] Override http request option.
|
|
89
89
|
* @throws {RequiredError}
|
|
90
90
|
*/
|
|
@@ -94,20 +94,20 @@ export const VendorPaymentsApiFactory = function (configuration, basePath, axios
|
|
|
94
94
|
};
|
|
95
95
|
};
|
|
96
96
|
/**
|
|
97
|
-
*
|
|
97
|
+
* VendorInvoicesApi - object-oriented interface
|
|
98
98
|
* @export
|
|
99
|
-
* @class
|
|
99
|
+
* @class VendorInvoicesApi
|
|
100
100
|
* @extends {BaseAPI}
|
|
101
101
|
*/
|
|
102
|
-
export class
|
|
102
|
+
export class VendorInvoicesApi extends BaseAPI {
|
|
103
103
|
/**
|
|
104
104
|
* Submit new invoices to Amazon. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
105
|
-
* @param {
|
|
105
|
+
* @param {VendorInvoicesApiSubmitInvoicesRequest} requestParameters Request parameters.
|
|
106
106
|
* @param {*} [options] Override http request option.
|
|
107
107
|
* @throws {RequiredError}
|
|
108
|
-
* @memberof
|
|
108
|
+
* @memberof VendorInvoicesApi
|
|
109
109
|
*/
|
|
110
110
|
submitInvoices(requestParameters, options) {
|
|
111
|
-
return
|
|
111
|
+
return VendorInvoicesApiFp(this.configuration).submitInvoices(requestParameters.body, options).then((request) => request(this.axios, this.basePath));
|
|
112
112
|
}
|
|
113
113
|
}
|
package/dist/es/api-model/api.js
CHANGED
package/dist/es/client.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createAxiosInstance } from '@sp-api-sdk/common';
|
|
2
|
-
import { Configuration,
|
|
2
|
+
import { Configuration, VendorInvoicesApi } from './api-model';
|
|
3
3
|
export const clientRateLimits = [
|
|
4
4
|
{
|
|
5
5
|
method: 'post',
|
|
@@ -9,7 +9,7 @@ export const clientRateLimits = [
|
|
|
9
9
|
burst: 10,
|
|
10
10
|
},
|
|
11
11
|
];
|
|
12
|
-
export class VendorInvoicesApiClient extends
|
|
12
|
+
export class VendorInvoicesApiClient extends VendorInvoicesApi {
|
|
13
13
|
constructor(configuration) {
|
|
14
14
|
const { axios, endpoint } = createAxiosInstance(configuration, clientRateLimits);
|
|
15
15
|
super(new Configuration(), endpoint, axios);
|
|
@@ -16,10 +16,10 @@ import { type RequestArgs, BaseAPI } from '../base';
|
|
|
16
16
|
import type { SubmitInvoicesRequest } from '../models';
|
|
17
17
|
import type { SubmitInvoicesResponse } from '../models';
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* VendorInvoicesApi - axios parameter creator
|
|
20
20
|
* @export
|
|
21
21
|
*/
|
|
22
|
-
export declare const
|
|
22
|
+
export declare const VendorInvoicesApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
23
23
|
/**
|
|
24
24
|
* Submit new invoices to Amazon. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
25
25
|
* @param {SubmitInvoicesRequest} body The request body containing the invoice data to submit.
|
|
@@ -29,10 +29,10 @@ export declare const VendorPaymentsApiAxiosParamCreator: (configuration?: Config
|
|
|
29
29
|
submitInvoices: (body: SubmitInvoicesRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
30
30
|
};
|
|
31
31
|
/**
|
|
32
|
-
*
|
|
32
|
+
* VendorInvoicesApi - functional programming interface
|
|
33
33
|
* @export
|
|
34
34
|
*/
|
|
35
|
-
export declare const
|
|
35
|
+
export declare const VendorInvoicesApiFp: (configuration?: Configuration) => {
|
|
36
36
|
/**
|
|
37
37
|
* Submit new invoices to Amazon. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
38
38
|
* @param {SubmitInvoicesRequest} body The request body containing the invoice data to submit.
|
|
@@ -42,44 +42,44 @@ export declare const VendorPaymentsApiFp: (configuration?: Configuration) => {
|
|
|
42
42
|
submitInvoices(body: SubmitInvoicesRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SubmitInvoicesResponse>>;
|
|
43
43
|
};
|
|
44
44
|
/**
|
|
45
|
-
*
|
|
45
|
+
* VendorInvoicesApi - factory interface
|
|
46
46
|
* @export
|
|
47
47
|
*/
|
|
48
|
-
export declare const
|
|
48
|
+
export declare const VendorInvoicesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
49
49
|
/**
|
|
50
50
|
* Submit new invoices to Amazon. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
51
|
-
* @param {
|
|
51
|
+
* @param {VendorInvoicesApiSubmitInvoicesRequest} requestParameters Request parameters.
|
|
52
52
|
* @param {*} [options] Override http request option.
|
|
53
53
|
* @throws {RequiredError}
|
|
54
54
|
*/
|
|
55
|
-
submitInvoices(requestParameters:
|
|
55
|
+
submitInvoices(requestParameters: VendorInvoicesApiSubmitInvoicesRequest, options?: RawAxiosRequestConfig): AxiosPromise<SubmitInvoicesResponse>;
|
|
56
56
|
};
|
|
57
57
|
/**
|
|
58
|
-
* Request parameters for submitInvoices operation in
|
|
58
|
+
* Request parameters for submitInvoices operation in VendorInvoicesApi.
|
|
59
59
|
* @export
|
|
60
|
-
* @interface
|
|
60
|
+
* @interface VendorInvoicesApiSubmitInvoicesRequest
|
|
61
61
|
*/
|
|
62
|
-
export interface
|
|
62
|
+
export interface VendorInvoicesApiSubmitInvoicesRequest {
|
|
63
63
|
/**
|
|
64
64
|
* The request body containing the invoice data to submit.
|
|
65
65
|
* @type {SubmitInvoicesRequest}
|
|
66
|
-
* @memberof
|
|
66
|
+
* @memberof VendorInvoicesApiSubmitInvoices
|
|
67
67
|
*/
|
|
68
68
|
readonly body: SubmitInvoicesRequest;
|
|
69
69
|
}
|
|
70
70
|
/**
|
|
71
|
-
*
|
|
71
|
+
* VendorInvoicesApi - object-oriented interface
|
|
72
72
|
* @export
|
|
73
|
-
* @class
|
|
73
|
+
* @class VendorInvoicesApi
|
|
74
74
|
* @extends {BaseAPI}
|
|
75
75
|
*/
|
|
76
|
-
export declare class
|
|
76
|
+
export declare class VendorInvoicesApi extends BaseAPI {
|
|
77
77
|
/**
|
|
78
78
|
* Submit new invoices to Amazon. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 10 | 10 | The `x-amzn-RateLimit-Limit` response header returns the usage plan rate limits that were applied to the requested operation, when available. The table above indicates the default rate and burst values for this operation. Selling partners whose business demands require higher throughput may see higher rate and burst values than those shown here. For more information, see [Usage Plans and Rate Limits in the Selling Partner API](https://developer-docs.amazon.com/sp-api/docs/usage-plans-and-rate-limits-in-the-sp-api).
|
|
79
|
-
* @param {
|
|
79
|
+
* @param {VendorInvoicesApiSubmitInvoicesRequest} requestParameters Request parameters.
|
|
80
80
|
* @param {*} [options] Override http request option.
|
|
81
81
|
* @throws {RequiredError}
|
|
82
|
-
* @memberof
|
|
82
|
+
* @memberof VendorInvoicesApi
|
|
83
83
|
*/
|
|
84
|
-
submitInvoices(requestParameters:
|
|
84
|
+
submitInvoices(requestParameters: VendorInvoicesApiSubmitInvoicesRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<SubmitInvoicesResponse, any>>;
|
|
85
85
|
}
|
package/dist/types/client.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type ClientConfiguration, type RateLimit } from '@sp-api-sdk/common';
|
|
2
|
-
import {
|
|
2
|
+
import { VendorInvoicesApi } from './api-model';
|
|
3
3
|
export declare const clientRateLimits: RateLimit[];
|
|
4
|
-
export declare class VendorInvoicesApiClient extends
|
|
4
|
+
export declare class VendorInvoicesApiClient extends VendorInvoicesApi {
|
|
5
5
|
constructor(configuration: ClientConfiguration);
|
|
6
6
|
}
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@sp-api-sdk/vendor-invoices-api-v1",
|
|
3
3
|
"author": "Bertrand Marron <bertrand@bizon.solutions>",
|
|
4
4
|
"description": "The Selling Partner API for Retail Procurement Payments provides programmatic access to vendors payments data.",
|
|
5
|
-
"version": "
|
|
5
|
+
"version": "4.0.0",
|
|
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.
|
|
22
|
-
"axios": "^1.
|
|
21
|
+
"@sp-api-sdk/common": "2.1.14",
|
|
22
|
+
"axios": "^1.9.0"
|
|
23
23
|
},
|
|
24
24
|
"repository": {
|
|
25
25
|
"type": "git",
|
|
@@ -40,5 +40,5 @@
|
|
|
40
40
|
"sp sdk",
|
|
41
41
|
"vendor invoices api"
|
|
42
42
|
],
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "773f45c3f4aab28e0bd9f6033045988800d7f258"
|
|
44
44
|
}
|