@sp-api-sdk/vendor-direct-fulfillment-payments-api-v1 2.1.1 → 2.2.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.
@@ -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 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).
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 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).
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 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).
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 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).
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 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).
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 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).
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 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).
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 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).
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 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
- * @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 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
- * @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 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).
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 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).
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 can provide additional information for tax-related or any other purposes.
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
  */
@@ -14,7 +14,7 @@ import type { ItemQuantity } from './item-quantity';
14
14
  import type { Money } from './money';
15
15
  import type { TaxDetail } from './tax-detail';
16
16
  /**
17
- *
17
+ * Details of the invoice items.
18
18
  * @export
19
19
  * @interface InvoiceItem
20
20
  */
@@ -12,7 +12,7 @@
12
12
  import type { Address } from './address';
13
13
  import type { TaxRegistrationDetail } from './tax-registration-detail';
14
14
  /**
15
- *
15
+ * Name, address, and tax details of a party.
16
16
  * @export
17
17
  * @interface PartyIdentification
18
18
  */
@@ -17,7 +17,7 @@ import type { InvoiceDetail } from './invoice-detail';
17
17
  */
18
18
  export interface SubmitInvoiceRequest {
19
19
  /**
20
- *
20
+ * An array of invoice details you want to submit.
21
21
  * @type {Array<InvoiceDetail>}
22
22
  * @memberof SubmitInvoiceRequest
23
23
  */
@@ -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, Consumption Tax 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
  */
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  /**
13
- *
13
+ * Response that contains the transaction ID.
14
14
  * @export
15
15
  * @interface TransactionReference
16
16
  */
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.1.1",
5
+ "version": "2.2.0",
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.9",
21
+ "@sp-api-sdk/common": "2.0.10",
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": "cce8c720364baf071322463e8e3ed29c322cc93a"
43
+ "gitHead": "c646647a684e625c54e35ff8c141791efd60417c"
44
44
  }