@sp-api-sdk/vendor-orders-api-v1 2.0.2 → 2.0.4
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.
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { Configuration } from '../configuration';
|
|
13
13
|
import type { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
14
|
+
import globalAxios from 'axios';
|
|
14
15
|
import { RequestArgs, BaseAPI } from '../base';
|
|
15
16
|
import { GetPurchaseOrderResponse } from '../models';
|
|
16
17
|
import { GetPurchaseOrdersResponse } from '../models';
|
|
@@ -369,7 +370,7 @@ export declare class VendorOrdersApi extends BaseAPI {
|
|
|
369
370
|
* @throws {RequiredError}
|
|
370
371
|
* @memberof VendorOrdersApi
|
|
371
372
|
*/
|
|
372
|
-
getPurchaseOrder(requestParameters: VendorOrdersApiGetPurchaseOrderRequest, options?: AxiosRequestConfig): Promise<
|
|
373
|
+
getPurchaseOrder(requestParameters: VendorOrdersApiGetPurchaseOrderRequest, options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetPurchaseOrderResponse, any>>;
|
|
373
374
|
/**
|
|
374
375
|
* Returns a list of purchase orders created or changed during the time frame that you specify. You define the time frame using the createdAfter, createdBefore, changedAfter and changedBefore parameters. The date range to search must not be more than 7 days. You can choose to get only the purchase order numbers by setting includeDetails to false. You can then use the getPurchaseOrder operation to receive details for a specific purchase order. **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).
|
|
375
376
|
* @param {VendorOrdersApiGetPurchaseOrdersRequest} requestParameters Request parameters.
|
|
@@ -377,7 +378,7 @@ export declare class VendorOrdersApi extends BaseAPI {
|
|
|
377
378
|
* @throws {RequiredError}
|
|
378
379
|
* @memberof VendorOrdersApi
|
|
379
380
|
*/
|
|
380
|
-
getPurchaseOrders(requestParameters?: VendorOrdersApiGetPurchaseOrdersRequest, options?: AxiosRequestConfig): Promise<
|
|
381
|
+
getPurchaseOrders(requestParameters?: VendorOrdersApiGetPurchaseOrdersRequest, options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetPurchaseOrdersResponse, any>>;
|
|
381
382
|
/**
|
|
382
383
|
* Returns purchase order statuses based on the filters that you specify. Date range to search must not be more than 7 days. You can return a list of purchase order statuses using the available filters, or a single purchase order status by providing the purchase order number. **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).
|
|
383
384
|
* @param {VendorOrdersApiGetPurchaseOrdersStatusRequest} requestParameters Request parameters.
|
|
@@ -385,7 +386,7 @@ export declare class VendorOrdersApi extends BaseAPI {
|
|
|
385
386
|
* @throws {RequiredError}
|
|
386
387
|
* @memberof VendorOrdersApi
|
|
387
388
|
*/
|
|
388
|
-
getPurchaseOrdersStatus(requestParameters?: VendorOrdersApiGetPurchaseOrdersStatusRequest, options?: AxiosRequestConfig): Promise<
|
|
389
|
+
getPurchaseOrdersStatus(requestParameters?: VendorOrdersApiGetPurchaseOrdersStatusRequest, options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<GetPurchaseOrdersStatusResponse, any>>;
|
|
389
390
|
/**
|
|
390
391
|
* Submits acknowledgements for one or more purchase 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).
|
|
391
392
|
* @param {VendorOrdersApiSubmitAcknowledgementRequest} requestParameters Request parameters.
|
|
@@ -393,5 +394,5 @@ export declare class VendorOrdersApi extends BaseAPI {
|
|
|
393
394
|
* @throws {RequiredError}
|
|
394
395
|
* @memberof VendorOrdersApi
|
|
395
396
|
*/
|
|
396
|
-
submitAcknowledgement(requestParameters: VendorOrdersApiSubmitAcknowledgementRequest, options?: AxiosRequestConfig): Promise<
|
|
397
|
+
submitAcknowledgement(requestParameters: VendorOrdersApiSubmitAcknowledgementRequest, options?: AxiosRequestConfig): Promise<globalAxios.AxiosResponse<SubmitAcknowledgementResponse, any>>;
|
|
397
398
|
}
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@sp-api-sdk/vendor-orders-api-v1",
|
|
3
3
|
"author": "Vincent Mesquita <vincent.mesquita@bizon.solutions>",
|
|
4
4
|
"description": "The Selling Partner API for Retail Procurement Orders provides programmatic access to vendor orders data.",
|
|
5
|
-
"version": "2.0.
|
|
5
|
+
"version": "2.0.4",
|
|
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.0.
|
|
22
|
-
"axios": "^1.6.
|
|
21
|
+
"@sp-api-sdk/common": "2.0.4",
|
|
22
|
+
"axios": "^1.6.2"
|
|
23
23
|
},
|
|
24
24
|
"repository": {
|
|
25
25
|
"type": "git",
|
|
@@ -40,5 +40,5 @@
|
|
|
40
40
|
"sp sdk",
|
|
41
41
|
"vendor orders api"
|
|
42
42
|
],
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "96729dd2eabfca855da5eb33f271c0b09b449972"
|
|
44
44
|
}
|