Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@sp-api-sdk/vendor-invoices-api-v1

Package Overview
Dependencies
Maintainers
0
Versions
99
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sp-api-sdk/vendor-invoices-api-v1 - npm Package Compare versions

Comparing version 2.1.1 to 2.2.0

12

dist/cjs/src/api-model/api/vendor-payments-api.js

@@ -33,4 +33,4 @@ "use strict";

/**
* 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).
* @param {SubmitInvoicesRequest} body
* 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, 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).
* @param {SubmitInvoicesRequest} body The request body containing the invoice data to submit.
* @param {*} [options] Override http request option.

@@ -73,4 +73,4 @@ * @throws {RequiredError}

/**
* 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).
* @param {SubmitInvoicesRequest} body
* 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, 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).
* @param {SubmitInvoicesRequest} body The request body containing the invoice data to submit.
* @param {*} [options] Override http request option.

@@ -96,3 +96,3 @@ * @throws {RequiredError}

/**
* 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).
* 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, 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).
* @param {VendorPaymentsApiSubmitInvoicesRequest} requestParameters Request parameters.

@@ -116,3 +116,3 @@ * @param {*} [options] Override http request option.

/**
* 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).
* 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, 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).
* @param {VendorPaymentsApiSubmitInvoicesRequest} requestParameters Request parameters.

@@ -119,0 +119,0 @@ * @param {*} [options] Override http request option.

@@ -27,4 +27,4 @@ /* tslint:disable */

/**
* 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).
* @param {SubmitInvoicesRequest} body
* 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, 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).
* @param {SubmitInvoicesRequest} body The request body containing the invoice data to submit.
* @param {*} [options] Override http request option.

@@ -66,4 +66,4 @@ * @throws {RequiredError}

/**
* 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).
* @param {SubmitInvoicesRequest} body
* 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, 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).
* @param {SubmitInvoicesRequest} body The request body containing the invoice data to submit.
* @param {*} [options] Override http request option.

@@ -88,3 +88,3 @@ * @throws {RequiredError}

/**
* 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).
* 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, 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).
* @param {VendorPaymentsApiSubmitInvoicesRequest} requestParameters Request parameters.

@@ -107,3 +107,3 @@ * @param {*} [options] Override http request option.

/**
* 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).
* 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, 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).
* @param {VendorPaymentsApiSubmitInvoicesRequest} requestParameters Request parameters.

@@ -110,0 +110,0 @@ * @param {*} [options] Override http request option.

@@ -24,4 +24,4 @@ /**

/**
* 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).
* @param {SubmitInvoicesRequest} body
* 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, 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).
* @param {SubmitInvoicesRequest} body The request body containing the invoice data to submit.
* @param {*} [options] Override http request option.

@@ -38,4 +38,4 @@ * @throws {RequiredError}

/**
* 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).
* @param {SubmitInvoicesRequest} body
* 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, 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).
* @param {SubmitInvoicesRequest} body The request body containing the invoice data to submit.
* @param {*} [options] Override http request option.

@@ -52,3 +52,3 @@ * @throws {RequiredError}

/**
* 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).
* 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, 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).
* @param {VendorPaymentsApiSubmitInvoicesRequest} requestParameters Request parameters.

@@ -67,3 +67,3 @@ * @param {*} [options] Override http request option.

/**
*
* The request body containing the invoice data to submit.
* @type {SubmitInvoicesRequest}

@@ -82,3 +82,3 @@ * @memberof VendorPaymentsApiSubmitInvoices

/**
* 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).
* 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, 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).
* @param {VendorPaymentsApiSubmitInvoicesRequest} requestParameters Request parameters.

@@ -85,0 +85,0 @@ * @param {*} [options] Override http request option.

@@ -12,3 +12,2 @@ /**

*/
/// <reference types="node" />
import type { Configuration } from "./configuration";

@@ -15,0 +14,0 @@ import type { RequestArgs } from "./base";

@@ -43,3 +43,3 @@ /**

/**
* The city where the person, business or institution is located.
* The city where the person, business, or institution is located.
* @type {string}

@@ -50,3 +50,3 @@ * @memberof Address

/**
* The county where person, business or institution is located.
* The county where person, business, or institution is located.
* @type {string}

@@ -57,3 +57,3 @@ * @memberof Address

/**
* The district where person, business or institution is located.
* The district where person, business, or institution is located.
* @type {string}

@@ -64,3 +64,3 @@ * @memberof Address

/**
* The state or region where person, business or institution is located.
* The state or region where person, business, or institution is located.
* @type {string}

@@ -71,3 +71,3 @@ * @memberof Address

/**
* The postal or zip code of that address. It contains a series of letters or digits or both, sometimes including spaces or punctuation.
* The postal or zip code of that address. It contains a series of letters, digits, or both, sometimes including spaces or punctuation.
* @type {string}

@@ -74,0 +74,0 @@ * @memberof Address

@@ -13,3 +13,3 @@ /**

/**
* References required in order to process a credit note. This information is required only if InvoiceType is CreditNote.
* References required in order to process a credit note. This information is required only if `InvoiceType` is `CreditNote`.
* @export

@@ -20,3 +20,3 @@ * @interface CreditNoteDetails

/**
* Original Invoice Number when sending a credit note relating to an existing invoice. One Invoice only to be processed per Credit Note. This is mandatory for AP Credit Notes.
* Original invoice number when sending a credit note relating to an existing invoice. One invoice only to be processed per credit note. This is mandatory for AP credit notes.
* @type {string}

@@ -27,3 +27,3 @@ * @memberof CreditNoteDetails

/**
* Debit Note Number as generated by Amazon. Recommended for Returns and COOP Credit Notes.
* Debit note number as generated by Amazon. Recommended for returns and COOP credit notes.
* @type {string}

@@ -34,3 +34,3 @@ * @memberof CreditNoteDetails

/**
* Identifies the Returns Notice Number. Mandatory for all Returns Credit Notes.
* Identifies the returns notice number. Mandatory for all returns credit notes.
* @type {string}

@@ -41,3 +41,3 @@ * @memberof CreditNoteDetails

/**
* Defines a date and time according to ISO8601.
* Defines a date and time according to <a href=\'https://developer-docs.amazon.com/sp-api/docs/iso-8601\'>ISO 8601</a>.
* @type {string}

@@ -54,3 +54,3 @@ * @memberof CreditNoteDetails

/**
* Identifies the COOP reference used for COOP agreement. Failure to provide the COOP reference number or the Debit Note number may lead to a rejection of the Credit Note.
* Identifies the COOP reference used for COOP agreement. Failure to provide the COOP reference number or the debit note number may lead to a rejection of the credit note.
* @type {string}

@@ -57,0 +57,0 @@ * @memberof CreditNoteDetails

@@ -55,3 +55,3 @@ /**

/**
* The Amazon purchase order number for this invoiced line item. Formatting Notes: 8-character alpha-numeric code. This value is mandatory only when invoiceType is Invoice, and is not required when invoiceType is CreditNote.
* The Amazon purchase order number for this invoiced line item. Formatting Notes: 8-character alpha-numeric code. This value is mandatory only when `invoiceType` is `Invoice`, and is not required when `invoiceType` is `CreditNote`.
* @type {string}

@@ -62,3 +62,3 @@ * @memberof InvoiceItem

/**
* HSN Tax code. The HSN number cannot contain alphabets.
* The HSN Tax code. The HSN number cannot contain alphabets.
* @type {string}

@@ -65,0 +65,0 @@ * @memberof InvoiceItem

@@ -21,3 +21,3 @@ /**

/**
*
* Represents an invoice or credit note document with details about the transaction, parties involved, and line items.
* @export

@@ -46,3 +46,3 @@ * @interface Invoice

/**
* Defines a date and time according to ISO8601.
* Defines a date and time according to <a href=\'https://developer-docs.amazon.com/sp-api/docs/iso-8601\'>ISO 8601</a>.
* @type {string}

@@ -49,0 +49,0 @@ * @memberof Invoice

@@ -31,3 +31,3 @@ /**

/**
* The case size, if the unit of measure value is Cases.
* The case size, if the unit of measure value is `Cases`.
* @type {number}

@@ -34,0 +34,0 @@ * @memberof ItemQuantity

@@ -15,3 +15,3 @@ /**

/**
*
* Name, address, and tax details of a party.
* @export

@@ -18,0 +18,0 @@ * @interface PartyIdentification

@@ -31,3 +31,3 @@ /**

/**
* The number of calendar days from the Base date (Invoice date) until the discount is no longer valid.
* The number of calendar days from the base date (Invoice date) until the discount is no longer valid.
* @type {number}

@@ -34,0 +34,0 @@ * @memberof PaymentTerms

@@ -14,3 +14,3 @@ /**

/**
* The request schema for the submitInvoices operation.
* The request schema for the `submitInvoices` operation.
* @export

@@ -21,3 +21,3 @@ * @interface SubmitInvoicesRequest

/**
*
* An array of Invoice objects representing the invoices or credit notes to be submitted.
* @type {Array<Invoice>}

@@ -24,0 +24,0 @@ * @memberof SubmitInvoicesRequest

@@ -14,3 +14,3 @@ /**

/**
* The response schema for the submitInvoices operation.
* The response schema for the `submitInvoices` operation.
* @export

@@ -17,0 +17,0 @@ * @interface SubmitInvoicesResponse

@@ -13,3 +13,3 @@ /**

/**
*
* Response containing the transaction ID.
* @export

@@ -16,0 +16,0 @@ * @interface TransactionId

@@ -5,3 +5,3 @@ {

"description": "The Selling Partner API for Retail Procurement Payments provides programmatic access to vendors payments data.",
"version": "2.1.1",
"version": "2.2.0",
"main": "dist/cjs/index.js",

@@ -22,3 +22,3 @@ "module": "dist/es/index.js",

"dependencies": {
"@sp-api-sdk/common": "2.0.9",
"@sp-api-sdk/common": "2.0.10",
"axios": "^1.7.2"

@@ -45,3 +45,3 @@ },

],
"gitHead": "cce8c720364baf071322463e8e3ed29c322cc93a"
"gitHead": "c646647a684e625c54e35ff8c141791efd60417c"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc