@sp-api-sdk/vendor-orders-api-v1 2.4.2 → 2.5.1
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.
- package/dist/cjs/api-model/api/vendor-orders-api.js +2 -2
- package/dist/es/api-model/api/vendor-orders-api.js +2 -2
- package/dist/types/api-model/api/vendor-orders-api.d.ts +3 -3
- package/dist/types/api-model/models/order-acknowledgement.d.ts +1 -1
- package/dist/types/api-model/models/order-item-acknowledgement.d.ts +1 -1
- package/dist/types/api-model/models/order-item-status.d.ts +1 -1
- package/dist/types/api-model/models/order-item.d.ts +1 -1
- package/dist/types/api-model/models/order-list-status.d.ts +2 -2
- package/dist/types/api-model/models/order-list.d.ts +2 -2
- package/dist/types/api-model/models/order.d.ts +1 -1
- package/dist/types/api-model/models/ordered-quantity-details.d.ts +1 -1
- package/dist/types/api-model/models/pagination.d.ts +1 -1
- package/dist/types/api-model/models/party-identification.d.ts +1 -1
- package/dist/types/api-model/models/submit-acknowledgement-request.d.ts +1 -1
- package/dist/types/api-model/models/transaction-id.d.ts +1 -1
- package/package.json +3 -3
|
@@ -223,7 +223,7 @@ const VendorOrdersApiAxiosParamCreator = function (configuration) {
|
|
|
223
223
|
},
|
|
224
224
|
/**
|
|
225
225
|
* 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 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).
|
|
226
|
-
* @param {SubmitAcknowledgementRequest} body
|
|
226
|
+
* @param {SubmitAcknowledgementRequest} body Submits acknowledgements for one or more purchase orders from a vendor.
|
|
227
227
|
* @param {*} [options] Override http request option.
|
|
228
228
|
* @throws {RequiredError}
|
|
229
229
|
*/
|
|
@@ -321,7 +321,7 @@ const VendorOrdersApiFp = function (configuration) {
|
|
|
321
321
|
},
|
|
322
322
|
/**
|
|
323
323
|
* 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 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).
|
|
324
|
-
* @param {SubmitAcknowledgementRequest} body
|
|
324
|
+
* @param {SubmitAcknowledgementRequest} body Submits acknowledgements for one or more purchase orders from a vendor.
|
|
325
325
|
* @param {*} [options] Override http request option.
|
|
326
326
|
* @throws {RequiredError}
|
|
327
327
|
*/
|
|
@@ -217,7 +217,7 @@ export const VendorOrdersApiAxiosParamCreator = function (configuration) {
|
|
|
217
217
|
},
|
|
218
218
|
/**
|
|
219
219
|
* 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 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).
|
|
220
|
-
* @param {SubmitAcknowledgementRequest} body
|
|
220
|
+
* @param {SubmitAcknowledgementRequest} body Submits acknowledgements for one or more purchase orders from a vendor.
|
|
221
221
|
* @param {*} [options] Override http request option.
|
|
222
222
|
* @throws {RequiredError}
|
|
223
223
|
*/
|
|
@@ -314,7 +314,7 @@ export const VendorOrdersApiFp = function (configuration) {
|
|
|
314
314
|
},
|
|
315
315
|
/**
|
|
316
316
|
* 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 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).
|
|
317
|
-
* @param {SubmitAcknowledgementRequest} body
|
|
317
|
+
* @param {SubmitAcknowledgementRequest} body Submits acknowledgements for one or more purchase orders from a vendor.
|
|
318
318
|
* @param {*} [options] Override http request option.
|
|
319
319
|
* @throws {RequiredError}
|
|
320
320
|
*/
|
|
@@ -69,7 +69,7 @@ export declare const VendorOrdersApiAxiosParamCreator: (configuration?: Configur
|
|
|
69
69
|
getPurchaseOrdersStatus: (limit?: number, sortOrder?: GetPurchaseOrdersStatusSortOrderEnum, nextToken?: string, createdAfter?: string, createdBefore?: string, updatedAfter?: string, updatedBefore?: string, purchaseOrderNumber?: string, purchaseOrderStatus?: GetPurchaseOrdersStatusPurchaseOrderStatusEnum, itemConfirmationStatus?: GetPurchaseOrdersStatusItemConfirmationStatusEnum, itemReceiveStatus?: GetPurchaseOrdersStatusItemReceiveStatusEnum, orderingVendorCode?: string, shipToPartyId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
70
70
|
/**
|
|
71
71
|
* 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 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).
|
|
72
|
-
* @param {SubmitAcknowledgementRequest} body
|
|
72
|
+
* @param {SubmitAcknowledgementRequest} body Submits acknowledgements for one or more purchase orders from a vendor.
|
|
73
73
|
* @param {*} [options] Override http request option.
|
|
74
74
|
* @throws {RequiredError}
|
|
75
75
|
*/
|
|
@@ -126,7 +126,7 @@ export declare const VendorOrdersApiFp: (configuration?: Configuration) => {
|
|
|
126
126
|
getPurchaseOrdersStatus(limit?: number, sortOrder?: GetPurchaseOrdersStatusSortOrderEnum, nextToken?: string, createdAfter?: string, createdBefore?: string, updatedAfter?: string, updatedBefore?: string, purchaseOrderNumber?: string, purchaseOrderStatus?: GetPurchaseOrdersStatusPurchaseOrderStatusEnum, itemConfirmationStatus?: GetPurchaseOrdersStatusItemConfirmationStatusEnum, itemReceiveStatus?: GetPurchaseOrdersStatusItemReceiveStatusEnum, orderingVendorCode?: string, shipToPartyId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPurchaseOrdersStatusResponse>>;
|
|
127
127
|
/**
|
|
128
128
|
* 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 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).
|
|
129
|
-
* @param {SubmitAcknowledgementRequest} body
|
|
129
|
+
* @param {SubmitAcknowledgementRequest} body Submits acknowledgements for one or more purchase orders from a vendor.
|
|
130
130
|
* @param {*} [options] Override http request option.
|
|
131
131
|
* @throws {RequiredError}
|
|
132
132
|
*/
|
|
@@ -350,7 +350,7 @@ export interface VendorOrdersApiGetPurchaseOrdersStatusRequest {
|
|
|
350
350
|
*/
|
|
351
351
|
export interface VendorOrdersApiSubmitAcknowledgementRequest {
|
|
352
352
|
/**
|
|
353
|
-
*
|
|
353
|
+
* Submits acknowledgements for one or more purchase orders from a vendor.
|
|
354
354
|
* @type {SubmitAcknowledgementRequest}
|
|
355
355
|
* @memberof VendorOrdersApiSubmitAcknowledgement
|
|
356
356
|
*/
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
import type { OrderAcknowledgementItem } from './order-acknowledgement-item';
|
|
13
13
|
import type { PartyIdentification } from './party-identification';
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
* Represents an acknowledgement for an order, including the purchase order number, selling party details, acknowledgement date, and a list of acknowledged items.
|
|
16
16
|
* @export
|
|
17
17
|
* @interface OrderAcknowledgement
|
|
18
18
|
*/
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { ItemQuantity } from './item-quantity';
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* Represents the acknowledgement details for an individual order item, including the acknowledgement code, acknowledged quantity, scheduled ship and delivery dates, and rejection reason (if applicable).
|
|
15
15
|
* @export
|
|
16
16
|
* @interface OrderItemAcknowledgement
|
|
17
17
|
*/
|
|
@@ -14,7 +14,7 @@ import type { OrderItemStatusAcknowledgementStatus } from './order-item-status-a
|
|
|
14
14
|
import type { OrderItemStatusOrderedQuantity } from './order-item-status-ordered-quantity';
|
|
15
15
|
import type { OrderItemStatusReceivingStatus } from './order-item-status-receiving-status';
|
|
16
16
|
/**
|
|
17
|
-
*
|
|
17
|
+
* Represents the current status of an order item, including acknowledgement and receiving details.
|
|
18
18
|
* @export
|
|
19
19
|
* @interface OrderItemStatus
|
|
20
20
|
*/
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
import type { ItemQuantity } from './item-quantity';
|
|
13
13
|
import type { Money } from './money';
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
* Represents an individual item in an order, including item details, quantities, pricing, and backorder information.
|
|
16
16
|
* @export
|
|
17
17
|
* @interface OrderItem
|
|
18
18
|
*/
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
import type { OrderStatus } from './order-status';
|
|
13
13
|
import type { Pagination } from './pagination';
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
* A list of order statuses.
|
|
16
16
|
* @export
|
|
17
17
|
* @interface OrderListStatus
|
|
18
18
|
*/
|
|
@@ -24,7 +24,7 @@ export interface OrderListStatus {
|
|
|
24
24
|
*/
|
|
25
25
|
'pagination'?: Pagination;
|
|
26
26
|
/**
|
|
27
|
-
*
|
|
27
|
+
* Represents an order status within the OrderListStatus.
|
|
28
28
|
* @type {Array<OrderStatus>}
|
|
29
29
|
* @memberof OrderListStatus
|
|
30
30
|
*/
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
import type { Order } from './order';
|
|
13
13
|
import type { Pagination } from './pagination';
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
* A list of orders returned as response.
|
|
16
16
|
* @export
|
|
17
17
|
* @interface OrderList
|
|
18
18
|
*/
|
|
@@ -24,7 +24,7 @@ export interface OrderList {
|
|
|
24
24
|
*/
|
|
25
25
|
'pagination'?: Pagination;
|
|
26
26
|
/**
|
|
27
|
-
*
|
|
27
|
+
* Represents an individual order within the OrderList.
|
|
28
28
|
* @type {Array<Order>}
|
|
29
29
|
* @memberof OrderList
|
|
30
30
|
*/
|
|
@@ -17,7 +17,7 @@ import type { OrderAcknowledgement } from './order-acknowledgement';
|
|
|
17
17
|
*/
|
|
18
18
|
export interface SubmitAcknowledgementRequest {
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
20
|
+
* An array of order acknowledgements to be submitted.
|
|
21
21
|
* @type {Array<OrderAcknowledgement>}
|
|
22
22
|
* @memberof SubmitAcknowledgementRequest
|
|
23
23
|
*/
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@sp-api-sdk/vendor-orders-api-v1",
|
|
3
3
|
"author": "Bertrand Marron <bertrand@bizon.solutions>",
|
|
4
4
|
"description": "The Selling Partner API for Retail Procurement Orders provides programmatic access to vendor orders data.",
|
|
5
|
-
"version": "2.
|
|
5
|
+
"version": "2.5.1",
|
|
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.1.
|
|
21
|
+
"@sp-api-sdk/common": "2.1.3",
|
|
22
22
|
"axios": "^1.7.7"
|
|
23
23
|
},
|
|
24
24
|
"repository": {
|
|
@@ -40,5 +40,5 @@
|
|
|
40
40
|
"sp sdk",
|
|
41
41
|
"vendor orders api"
|
|
42
42
|
],
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "197cba539b751c24eb5cfc1dccf6fa4b1d8d4116"
|
|
44
44
|
}
|