@sp-api-sdk/vendor-direct-fulfillment-payments-api-v1
Advanced tools
Comparing version 0.2.1 to 1.0.0
@@ -222,3 +222,3 @@ import globalAxios from 'axios'; | ||
* Submits one or more invoices for a vendor\'s direct fulfillment orders. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 10 | 10 | |Selling partner specific| Variable | Variable | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation. Rate limits for some selling partners will vary from the default rate and burst shown in the table above. For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation. | ||
* @param {SubmitInvoiceRequest} body | ||
* @param {VendorInvoiceApiSubmitInvoiceRequest} requestParameters Request parameters. | ||
* @param {*} [options] Override http request option. | ||
@@ -228,4 +228,4 @@ * @throws {RequiredError} | ||
*/ | ||
submitInvoice(body, options) { | ||
return VendorInvoiceApiFp(this.configuration).submitInvoice(body, options).then((request) => request(this.axios, this.basePath)); | ||
submitInvoice(requestParameters, options) { | ||
return VendorInvoiceApiFp(this.configuration).submitInvoice(requestParameters.body, options).then((request) => request(this.axios, this.basePath)); | ||
} | ||
@@ -232,0 +232,0 @@ } |
@@ -230,3 +230,3 @@ 'use strict'; | ||
* Submits one or more invoices for a vendor\'s direct fulfillment orders. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 10 | 10 | |Selling partner specific| Variable | Variable | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation. Rate limits for some selling partners will vary from the default rate and burst shown in the table above. For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation. | ||
* @param {SubmitInvoiceRequest} body | ||
* @param {VendorInvoiceApiSubmitInvoiceRequest} requestParameters Request parameters. | ||
* @param {*} [options] Override http request option. | ||
@@ -236,4 +236,4 @@ * @throws {RequiredError} | ||
*/ | ||
submitInvoice(body, options) { | ||
return VendorInvoiceApiFp(this.configuration).submitInvoice(body, options).then((request) => request(this.axios, this.basePath)); | ||
submitInvoice(requestParameters, options) { | ||
return VendorInvoiceApiFp(this.configuration).submitInvoice(requestParameters.body, options).then((request) => request(this.axios, this.basePath)); | ||
} | ||
@@ -240,0 +240,0 @@ } |
@@ -574,2 +574,15 @@ /** | ||
/** | ||
* Request parameters for submitInvoice operation in VendorInvoiceApi. | ||
* @export | ||
* @interface VendorInvoiceApiSubmitInvoiceRequest | ||
*/ | ||
export interface VendorInvoiceApiSubmitInvoiceRequest { | ||
/** | ||
* | ||
* @type {SubmitInvoiceRequest} | ||
* @memberof VendorInvoiceApiSubmitInvoice | ||
*/ | ||
readonly body: SubmitInvoiceRequest; | ||
} | ||
/** | ||
* VendorInvoiceApi - object-oriented interface | ||
@@ -583,3 +596,3 @@ * @export | ||
* Submits one or more invoices for a vendor\'s direct fulfillment orders. **Usage Plans:** | Plan type | Rate (requests per second) | Burst | | ---- | ---- | ---- | |Default| 10 | 10 | |Selling partner specific| Variable | Variable | The x-amzn-RateLimit-Limit response header returns the usage plan rate limits that were applied to the requested operation. Rate limits for some selling partners will vary from the default rate and burst shown in the table above. For more information, see \"Usage Plans and Rate Limits\" in the Selling Partner API documentation. | ||
* @param {SubmitInvoiceRequest} body | ||
* @param {VendorInvoiceApiSubmitInvoiceRequest} requestParameters Request parameters. | ||
* @param {*} [options] Override http request option. | ||
@@ -589,3 +602,3 @@ * @throws {RequiredError} | ||
*/ | ||
submitInvoice(body: SubmitInvoiceRequest, options?: any): Promise<import("axios").AxiosResponse<SubmitInvoiceResponse>>; | ||
submitInvoice(requestParameters: VendorInvoiceApiSubmitInvoiceRequest, options?: any): Promise<import("axios").AxiosResponse<SubmitInvoiceResponse>>; | ||
} |
@@ -5,3 +5,3 @@ { | ||
"description": "The Selling Partner API for Direct Fulfillment Payments provides programmatic access to a direct fulfillment vendor's invoice data.", | ||
"version": "0.2.1", | ||
"version": "1.0.0", | ||
"main": "dist/index.js", | ||
@@ -47,3 +47,3 @@ "module": "dist/index.es.js", | ||
"homepage": "https://github.com/bizon/selling-partner-api-sdk/tree/master/clients/vendor-direct-fulfillment-payments-api-v1", | ||
"gitHead": "be777a70e0faca3ab2d3176b59d2dab16bb61f73" | ||
"gitHead": "2d5e1bd5ed0c947b314776b0cc9a5a3316c92f43" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
51994
1410
0