@sp-api-sdk/invoices-api-2024-06-19 2.0.8 → 2.0.10
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.
|
@@ -370,49 +370,49 @@ export declare class InvoicesApi extends BaseAPI {
|
|
|
370
370
|
* @param {*} [options] Override http request option.
|
|
371
371
|
* @throws {RequiredError}
|
|
372
372
|
*/
|
|
373
|
-
createInvoicesExport(requestParameters: InvoicesApiCreateInvoicesExportRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<ExportInvoicesResponse, any>>;
|
|
373
|
+
createInvoicesExport(requestParameters: InvoicesApiCreateInvoicesExportRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<ExportInvoicesResponse, any, {}>>;
|
|
374
374
|
/**
|
|
375
375
|
* Returns invoice data for the specified invoice. This operation returns only a subset of the invoices data; refer to the response definition to get all the possible attributes. To get the full invoice, use the `createInvoicesExport` operation to start an export request. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 15 | 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 have 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).
|
|
376
376
|
* @param {InvoicesApiGetInvoiceRequest} requestParameters Request parameters.
|
|
377
377
|
* @param {*} [options] Override http request option.
|
|
378
378
|
* @throws {RequiredError}
|
|
379
379
|
*/
|
|
380
|
-
getInvoice(requestParameters: InvoicesApiGetInvoiceRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetInvoiceResponse, any>>;
|
|
380
|
+
getInvoice(requestParameters: InvoicesApiGetInvoiceRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetInvoiceResponse, any, {}>>;
|
|
381
381
|
/**
|
|
382
382
|
* Returns invoice details for the invoices that match the filters that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.1 | 20 | 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 have 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).
|
|
383
383
|
* @param {InvoicesApiGetInvoicesRequest} requestParameters Request parameters.
|
|
384
384
|
* @param {*} [options] Override http request option.
|
|
385
385
|
* @throws {RequiredError}
|
|
386
386
|
*/
|
|
387
|
-
getInvoices(requestParameters: InvoicesApiGetInvoicesRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetInvoicesResponse, any>>;
|
|
387
|
+
getInvoices(requestParameters: InvoicesApiGetInvoicesRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetInvoicesResponse, any, {}>>;
|
|
388
388
|
/**
|
|
389
389
|
* Returns marketplace-dependent schemas and their respective set of possible values. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 1 | 1 | 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 have 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).
|
|
390
390
|
* @param {InvoicesApiGetInvoicesAttributesRequest} requestParameters Request parameters.
|
|
391
391
|
* @param {*} [options] Override http request option.
|
|
392
392
|
* @throws {RequiredError}
|
|
393
393
|
*/
|
|
394
|
-
getInvoicesAttributes(requestParameters: InvoicesApiGetInvoicesAttributesRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetInvoicesAttributesResponse, any>>;
|
|
394
|
+
getInvoicesAttributes(requestParameters: InvoicesApiGetInvoicesAttributesRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetInvoicesAttributesResponse, any, {}>>;
|
|
395
395
|
/**
|
|
396
396
|
* Returns the invoice document\'s ID and URL. Use the URL to download the ZIP file, which contains the invoices from the corresponding `createInvoicesExport` request. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.0167 | 1 | 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 have 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).
|
|
397
397
|
* @param {InvoicesApiGetInvoicesDocumentRequest} requestParameters Request parameters.
|
|
398
398
|
* @param {*} [options] Override http request option.
|
|
399
399
|
* @throws {RequiredError}
|
|
400
400
|
*/
|
|
401
|
-
getInvoicesDocument(requestParameters: InvoicesApiGetInvoicesDocumentRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetInvoicesDocumentResponse, any>>;
|
|
401
|
+
getInvoicesDocument(requestParameters: InvoicesApiGetInvoicesDocumentRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetInvoicesDocumentResponse, any, {}>>;
|
|
402
402
|
/**
|
|
403
403
|
* Returns invoice export details (including the `exportDocumentId`, if available) for the export that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 2 | 15 | 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 have 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).
|
|
404
404
|
* @param {InvoicesApiGetInvoicesExportRequest} requestParameters Request parameters.
|
|
405
405
|
* @param {*} [options] Override http request option.
|
|
406
406
|
* @throws {RequiredError}
|
|
407
407
|
*/
|
|
408
|
-
getInvoicesExport(requestParameters: InvoicesApiGetInvoicesExportRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetInvoicesExportResponse, any>>;
|
|
408
|
+
getInvoicesExport(requestParameters: InvoicesApiGetInvoicesExportRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetInvoicesExportResponse, any, {}>>;
|
|
409
409
|
/**
|
|
410
410
|
* Returns invoice exports details for exports that match the filters that you specify. **Usage Plan:** | Rate (requests per second) | Burst | | ---- | ---- | | 0.1 | 20 | 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 have 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).
|
|
411
411
|
* @param {InvoicesApiGetInvoicesExportsRequest} requestParameters Request parameters.
|
|
412
412
|
* @param {*} [options] Override http request option.
|
|
413
413
|
* @throws {RequiredError}
|
|
414
414
|
*/
|
|
415
|
-
getInvoicesExports(requestParameters: InvoicesApiGetInvoicesExportsRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetInvoicesExportsResponse, any>>;
|
|
415
|
+
getInvoicesExports(requestParameters: InvoicesApiGetInvoicesExportsRequest, options?: RawAxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetInvoicesExportsResponse, any, {}>>;
|
|
416
416
|
}
|
|
417
417
|
export declare const GetInvoicesSortOrderEnum: {
|
|
418
418
|
readonly Desc: "DESC";
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@sp-api-sdk/invoices-api-2024-06-19",
|
|
3
3
|
"author": "Bertrand Marron <bertrand@bizon.solutions>",
|
|
4
4
|
"description": "Use the Selling Partner API for Invoices to retrieve and manage invoice-related operations, which can help selling partners manage their bookkeeping processes.",
|
|
5
|
-
"version": "2.0.
|
|
5
|
+
"version": "2.0.10",
|
|
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.19",
|
|
22
|
+
"axios": "^1.12.2"
|
|
23
23
|
},
|
|
24
24
|
"repository": {
|
|
25
25
|
"type": "git",
|
|
@@ -40,26 +40,5 @@
|
|
|
40
40
|
"sp sdk",
|
|
41
41
|
"invoices api"
|
|
42
42
|
],
|
|
43
|
-
"
|
|
44
|
-
"extends": [
|
|
45
|
-
"xo-bizon"
|
|
46
|
-
],
|
|
47
|
-
"settings": {
|
|
48
|
-
"import/internal-regex": "^@sp-api-sdk/"
|
|
49
|
-
},
|
|
50
|
-
"semicolon": false,
|
|
51
|
-
"space": 2,
|
|
52
|
-
"prettier": true,
|
|
53
|
-
"ignores": [
|
|
54
|
-
"src/api-model/**"
|
|
55
|
-
],
|
|
56
|
-
"rules": {
|
|
57
|
-
"unicorn/prevent-abbreviations": "off"
|
|
58
|
-
}
|
|
59
|
-
},
|
|
60
|
-
"prettier": {
|
|
61
|
-
"printWidth": 100,
|
|
62
|
-
"jsxSingleQuote": true
|
|
63
|
-
},
|
|
64
|
-
"gitHead": "961457650a65779f38e5d35547ca8cb2fb749943"
|
|
43
|
+
"gitHead": "95f22690de1d02f4739da49cffb24bef8b5b61c9"
|
|
65
44
|
}
|