@sp-api-sdk/vendor-direct-fulfillment-payments-api-v1 2.1.1 → 2.2.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/dist/cjs/src/api-model/api/vendor-invoice-api.js +6 -6
- package/dist/es/src/api-model/api/vendor-invoice-api.js +6 -6
- package/dist/types/src/api-model/api/vendor-invoice-api.d.ts +7 -7
- package/dist/types/src/api-model/common.d.ts +0 -1
- package/dist/types/src/api-model/models/additional-details.d.ts +1 -1
- package/dist/types/src/api-model/models/invoice-detail.d.ts +1 -1
- package/dist/types/src/api-model/models/invoice-item.d.ts +1 -1
- package/dist/types/src/api-model/models/party-identification.d.ts +1 -1
- package/dist/types/src/api-model/models/submit-invoice-request.d.ts +1 -1
- package/dist/types/src/api-model/models/tax-registration-detail.d.ts +1 -1
- package/dist/types/src/api-model/models/transaction-reference.d.ts +1 -1
- package/package.json +3 -3
|
@@ -30,8 +30,8 @@ const base_1 = require("../base");
|
|
|
30
30
|
const VendorInvoiceApiAxiosParamCreator = function (configuration) {
|
|
31
31
|
return {
|
|
32
32
|
/**
|
|
33
|
-
* Submits one or more invoices for a vendor\'s direct fulfillment orders. **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
|
|
34
|
-
* @param {SubmitInvoiceRequest} body
|
|
33
|
+
* Submits one or more invoices for a vendor\'s direct fulfillment orders. **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 preceding table 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, refer to [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).
|
|
34
|
+
* @param {SubmitInvoiceRequest} body The request body that contains one or more invoices for vendor orders.
|
|
35
35
|
* @param {*} [options] Override http request option.
|
|
36
36
|
* @throws {RequiredError}
|
|
37
37
|
*/
|
|
@@ -69,8 +69,8 @@ const VendorInvoiceApiFp = function (configuration) {
|
|
|
69
69
|
const localVarAxiosParamCreator = (0, exports.VendorInvoiceApiAxiosParamCreator)(configuration);
|
|
70
70
|
return {
|
|
71
71
|
/**
|
|
72
|
-
* Submits one or more invoices for a vendor\'s direct fulfillment orders. **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
|
|
73
|
-
* @param {SubmitInvoiceRequest} body
|
|
72
|
+
* Submits one or more invoices for a vendor\'s direct fulfillment orders. **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 preceding table 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, refer to [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).
|
|
73
|
+
* @param {SubmitInvoiceRequest} body The request body that contains one or more invoices for vendor orders.
|
|
74
74
|
* @param {*} [options] Override http request option.
|
|
75
75
|
* @throws {RequiredError}
|
|
76
76
|
*/
|
|
@@ -91,7 +91,7 @@ const VendorInvoiceApiFactory = function (configuration, basePath, axios) {
|
|
|
91
91
|
const localVarFp = (0, exports.VendorInvoiceApiFp)(configuration);
|
|
92
92
|
return {
|
|
93
93
|
/**
|
|
94
|
-
* Submits one or more invoices for a vendor\'s direct fulfillment orders. **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
|
|
94
|
+
* Submits one or more invoices for a vendor\'s direct fulfillment orders. **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 preceding table 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, refer to [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
95
|
* @param {VendorInvoiceApiSubmitInvoiceRequest} requestParameters Request parameters.
|
|
96
96
|
* @param {*} [options] Override http request option.
|
|
97
97
|
* @throws {RequiredError}
|
|
@@ -110,7 +110,7 @@ exports.VendorInvoiceApiFactory = VendorInvoiceApiFactory;
|
|
|
110
110
|
*/
|
|
111
111
|
class VendorInvoiceApi extends base_1.BaseAPI {
|
|
112
112
|
/**
|
|
113
|
-
* Submits one or more invoices for a vendor\'s direct fulfillment orders. **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
|
|
113
|
+
* Submits one or more invoices for a vendor\'s direct fulfillment orders. **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 preceding table 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, refer to [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
114
|
* @param {VendorInvoiceApiSubmitInvoiceRequest} requestParameters Request parameters.
|
|
115
115
|
* @param {*} [options] Override http request option.
|
|
116
116
|
* @throws {RequiredError}
|
|
@@ -24,8 +24,8 @@ import { BASE_PATH, BaseAPI, operationServerMap } from '../base';
|
|
|
24
24
|
export const VendorInvoiceApiAxiosParamCreator = function (configuration) {
|
|
25
25
|
return {
|
|
26
26
|
/**
|
|
27
|
-
* Submits one or more invoices for a vendor\'s direct fulfillment orders. **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
|
|
28
|
-
* @param {SubmitInvoiceRequest} body
|
|
27
|
+
* Submits one or more invoices for a vendor\'s direct fulfillment orders. **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 preceding table 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, refer to [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).
|
|
28
|
+
* @param {SubmitInvoiceRequest} body The request body that contains one or more invoices for vendor orders.
|
|
29
29
|
* @param {*} [options] Override http request option.
|
|
30
30
|
* @throws {RequiredError}
|
|
31
31
|
*/
|
|
@@ -62,8 +62,8 @@ export const VendorInvoiceApiFp = function (configuration) {
|
|
|
62
62
|
const localVarAxiosParamCreator = VendorInvoiceApiAxiosParamCreator(configuration);
|
|
63
63
|
return {
|
|
64
64
|
/**
|
|
65
|
-
* Submits one or more invoices for a vendor\'s direct fulfillment orders. **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
|
|
66
|
-
* @param {SubmitInvoiceRequest} body
|
|
65
|
+
* Submits one or more invoices for a vendor\'s direct fulfillment orders. **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 preceding table 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, refer to [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).
|
|
66
|
+
* @param {SubmitInvoiceRequest} body The request body that contains one or more invoices for vendor orders.
|
|
67
67
|
* @param {*} [options] Override http request option.
|
|
68
68
|
* @throws {RequiredError}
|
|
69
69
|
*/
|
|
@@ -83,7 +83,7 @@ export const VendorInvoiceApiFactory = function (configuration, basePath, axios)
|
|
|
83
83
|
const localVarFp = VendorInvoiceApiFp(configuration);
|
|
84
84
|
return {
|
|
85
85
|
/**
|
|
86
|
-
* Submits one or more invoices for a vendor\'s direct fulfillment orders. **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
|
|
86
|
+
* Submits one or more invoices for a vendor\'s direct fulfillment orders. **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 preceding table 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, refer to [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
87
|
* @param {VendorInvoiceApiSubmitInvoiceRequest} requestParameters Request parameters.
|
|
88
88
|
* @param {*} [options] Override http request option.
|
|
89
89
|
* @throws {RequiredError}
|
|
@@ -101,7 +101,7 @@ export const VendorInvoiceApiFactory = function (configuration, basePath, axios)
|
|
|
101
101
|
*/
|
|
102
102
|
export class VendorInvoiceApi extends BaseAPI {
|
|
103
103
|
/**
|
|
104
|
-
* Submits one or more invoices for a vendor\'s direct fulfillment orders. **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
|
|
104
|
+
* Submits one or more invoices for a vendor\'s direct fulfillment orders. **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 preceding table 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, refer to [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
105
|
* @param {VendorInvoiceApiSubmitInvoiceRequest} requestParameters Request parameters.
|
|
106
106
|
* @param {*} [options] Override http request option.
|
|
107
107
|
* @throws {RequiredError}
|
|
@@ -21,8 +21,8 @@ import type { SubmitInvoiceResponse } from '../models';
|
|
|
21
21
|
*/
|
|
22
22
|
export declare const VendorInvoiceApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
23
23
|
/**
|
|
24
|
-
* Submits one or more invoices for a vendor\'s direct fulfillment orders. **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
|
|
25
|
-
* @param {SubmitInvoiceRequest} body
|
|
24
|
+
* Submits one or more invoices for a vendor\'s direct fulfillment orders. **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 preceding table 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, refer to [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
|
+
* @param {SubmitInvoiceRequest} body The request body that contains one or more invoices for vendor orders.
|
|
26
26
|
* @param {*} [options] Override http request option.
|
|
27
27
|
* @throws {RequiredError}
|
|
28
28
|
*/
|
|
@@ -34,8 +34,8 @@ export declare const VendorInvoiceApiAxiosParamCreator: (configuration?: Configu
|
|
|
34
34
|
*/
|
|
35
35
|
export declare const VendorInvoiceApiFp: (configuration?: Configuration) => {
|
|
36
36
|
/**
|
|
37
|
-
* Submits one or more invoices for a vendor\'s direct fulfillment orders. **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
|
|
38
|
-
* @param {SubmitInvoiceRequest} body
|
|
37
|
+
* Submits one or more invoices for a vendor\'s direct fulfillment orders. **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 preceding table 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, refer to [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
|
+
* @param {SubmitInvoiceRequest} body The request body that contains one or more invoices for vendor orders.
|
|
39
39
|
* @param {*} [options] Override http request option.
|
|
40
40
|
* @throws {RequiredError}
|
|
41
41
|
*/
|
|
@@ -47,7 +47,7 @@ export declare const VendorInvoiceApiFp: (configuration?: Configuration) => {
|
|
|
47
47
|
*/
|
|
48
48
|
export declare const VendorInvoiceApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
49
49
|
/**
|
|
50
|
-
* Submits one or more invoices for a vendor\'s direct fulfillment orders. **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
|
|
50
|
+
* Submits one or more invoices for a vendor\'s direct fulfillment orders. **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 preceding table 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, refer to [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
51
|
* @param {VendorInvoiceApiSubmitInvoiceRequest} requestParameters Request parameters.
|
|
52
52
|
* @param {*} [options] Override http request option.
|
|
53
53
|
* @throws {RequiredError}
|
|
@@ -61,7 +61,7 @@ export declare const VendorInvoiceApiFactory: (configuration?: Configuration, ba
|
|
|
61
61
|
*/
|
|
62
62
|
export interface VendorInvoiceApiSubmitInvoiceRequest {
|
|
63
63
|
/**
|
|
64
|
-
*
|
|
64
|
+
* The request body that contains one or more invoices for vendor orders.
|
|
65
65
|
* @type {SubmitInvoiceRequest}
|
|
66
66
|
* @memberof VendorInvoiceApiSubmitInvoice
|
|
67
67
|
*/
|
|
@@ -75,7 +75,7 @@ export interface VendorInvoiceApiSubmitInvoiceRequest {
|
|
|
75
75
|
*/
|
|
76
76
|
export declare class VendorInvoiceApi extends BaseAPI {
|
|
77
77
|
/**
|
|
78
|
-
* Submits one or more invoices for a vendor\'s direct fulfillment orders. **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
|
|
78
|
+
* Submits one or more invoices for a vendor\'s direct fulfillment orders. **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 preceding table 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, refer to [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
79
|
* @param {VendorInvoiceApiSubmitInvoiceRequest} requestParameters Request parameters.
|
|
80
80
|
* @param {*} [options] Override http request option.
|
|
81
81
|
* @throws {RequiredError}
|
|
@@ -9,7 +9,6 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
/// <reference types="node" />
|
|
13
12
|
import type { Configuration } from "./configuration";
|
|
14
13
|
import type { RequestArgs } from "./base";
|
|
15
14
|
import type { AxiosInstance, AxiosResponse } from 'axios';
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
|
-
* A field where the selling party
|
|
13
|
+
* A field where the selling party provides additional information.
|
|
14
14
|
* @export
|
|
15
15
|
* @interface AdditionalDetails
|
|
16
16
|
*/
|
|
@@ -16,7 +16,7 @@ import type { Money } from './money';
|
|
|
16
16
|
import type { PartyIdentification } from './party-identification';
|
|
17
17
|
import type { TaxDetail } from './tax-detail';
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* Represents the invoice details, including the invoice number, date, parties involved, payment terms, totals, taxes, charges, and line items.
|
|
20
20
|
* @export
|
|
21
21
|
* @interface InvoiceDetail
|
|
22
22
|
*/
|
|
@@ -23,7 +23,7 @@ export interface TaxRegistrationDetail {
|
|
|
23
23
|
*/
|
|
24
24
|
'taxRegistrationType'?: TaxRegistrationDetailTaxRegistrationTypeEnum;
|
|
25
25
|
/**
|
|
26
|
-
* Tax registration number for the entity. For example, VAT ID
|
|
26
|
+
* Tax registration number for the entity. For example, VAT ID or Consumption Tax ID.
|
|
27
27
|
* @type {string}
|
|
28
28
|
* @memberof TaxRegistrationDetail
|
|
29
29
|
*/
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@sp-api-sdk/vendor-direct-fulfillment-payments-api-v1",
|
|
3
3
|
"author": "Bertrand Marron <bertrand@bizon.solutions>",
|
|
4
4
|
"description": "The Selling Partner API for Direct Fulfillment Payments provides programmatic access to a direct fulfillment vendor's invoice data.",
|
|
5
|
-
"version": "2.
|
|
5
|
+
"version": "2.2.1",
|
|
6
6
|
"main": "dist/cjs/index.js",
|
|
7
7
|
"module": "dist/es/index.js",
|
|
8
8
|
"types": "dist/types/index.d.ts",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"dist/**/*.d.ts"
|
|
19
19
|
],
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@sp-api-sdk/common": "2.0.
|
|
21
|
+
"@sp-api-sdk/common": "2.0.11",
|
|
22
22
|
"axios": "^1.7.2"
|
|
23
23
|
},
|
|
24
24
|
"repository": {
|
|
@@ -40,5 +40,5 @@
|
|
|
40
40
|
"sp sdk",
|
|
41
41
|
"vendor direct fulfillment payments api"
|
|
42
42
|
],
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "6f3dfd53cad528b970ec29dfd12b0105b351464b"
|
|
44
44
|
}
|