@sp-api-sdk/vendor-orders-api-v1 2.2.0 → 2.3.0
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/index.js +1 -0
- package/dist/cjs/src/api-model/api/vendor-orders-api.js +40 -40
- package/dist/cjs/src/api-model/models/money.js +7 -0
- package/dist/es/index.js +1 -0
- package/dist/es/src/api-model/api/vendor-orders-api.js +40 -40
- package/dist/es/src/api-model/models/money.js +6 -1
- package/dist/types/index.d.ts +1 -0
- package/dist/types/src/api-model/api/vendor-orders-api.d.ts +52 -52
- package/dist/types/src/api-model/models/acknowledgement-status-details.d.ts +2 -2
- package/dist/types/src/api-model/models/address.d.ts +1 -1
- package/dist/types/src/api-model/models/get-purchase-order-response.d.ts +1 -1
- package/dist/types/src/api-model/models/get-purchase-orders-response.d.ts +1 -1
- package/dist/types/src/api-model/models/get-purchase-orders-status-response.d.ts +1 -1
- package/dist/types/src/api-model/models/import-details.d.ts +2 -2
- package/dist/types/src/api-model/models/money.d.ts +14 -1
- package/dist/types/src/api-model/models/order-acknowledgement.d.ts +2 -2
- package/dist/types/src/api-model/models/order-details.d.ts +5 -5
- package/dist/types/src/api-model/models/order-item-acknowledgement.d.ts +3 -3
- package/dist/types/src/api-model/models/order-item-status-receiving-status.d.ts +1 -1
- package/dist/types/src/api-model/models/order-item-status.d.ts +1 -1
- package/dist/types/src/api-model/models/order-item.d.ts +1 -1
- package/dist/types/src/api-model/models/order-list-status.d.ts +2 -2
- package/dist/types/src/api-model/models/order-list.d.ts +2 -2
- package/dist/types/src/api-model/models/order-status.d.ts +2 -2
- package/dist/types/src/api-model/models/order.d.ts +1 -1
- package/dist/types/src/api-model/models/ordered-quantity-details.d.ts +2 -2
- package/dist/types/src/api-model/models/pagination.d.ts +2 -2
- package/dist/types/src/api-model/models/party-identification.d.ts +1 -1
- package/dist/types/src/api-model/models/submit-acknowledgement-request.d.ts +2 -2
- package/dist/types/src/api-model/models/submit-acknowledgement-response.d.ts +1 -1
- package/dist/types/src/api-model/models/tax-registration-details.d.ts +1 -1
- package/dist/types/src/api-model/models/transaction-id.d.ts +1 -1
- package/package.json +4 -4
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
import type { Order } from './order';
|
|
13
13
|
import type { Pagination } from './pagination';
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
*
|
|
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
|
+
*
|
|
28
28
|
* @type {Array<Order>}
|
|
29
29
|
* @memberof OrderList
|
|
30
30
|
*/
|
|
@@ -30,13 +30,13 @@ export interface OrderStatus {
|
|
|
30
30
|
*/
|
|
31
31
|
'purchaseOrderStatus': OrderStatusPurchaseOrderStatusEnum;
|
|
32
32
|
/**
|
|
33
|
-
* The date the purchase order was placed. Must be in
|
|
33
|
+
* The date the purchase order was placed. Must be in ISO-8601 date/time format.
|
|
34
34
|
* @type {string}
|
|
35
35
|
* @memberof OrderStatus
|
|
36
36
|
*/
|
|
37
37
|
'purchaseOrderDate': string;
|
|
38
38
|
/**
|
|
39
|
-
* The date when the purchase order was last updated. Must be in
|
|
39
|
+
* The date when the purchase order was last updated. Must be in ISO-8601 date/time format.
|
|
40
40
|
* @type {string}
|
|
41
41
|
* @memberof OrderStatus
|
|
42
42
|
*/
|
|
@@ -11,13 +11,13 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { ItemQuantity } from './item-quantity';
|
|
13
13
|
/**
|
|
14
|
-
* Details of
|
|
14
|
+
* Details of item quantity ordered
|
|
15
15
|
* @export
|
|
16
16
|
* @interface OrderedQuantityDetails
|
|
17
17
|
*/
|
|
18
18
|
export interface OrderedQuantityDetails {
|
|
19
19
|
/**
|
|
20
|
-
* The date when the line item quantity was updated by
|
|
20
|
+
* The date when the line item quantity was updated by buyer. Must be in ISO-8601 date/time format.
|
|
21
21
|
* @type {string}
|
|
22
22
|
* @memberof OrderedQuantityDetails
|
|
23
23
|
*/
|
|
@@ -10,13 +10,13 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
13
|
+
*
|
|
14
14
|
* @export
|
|
15
15
|
* @interface Pagination
|
|
16
16
|
*/
|
|
17
17
|
export interface Pagination {
|
|
18
18
|
/**
|
|
19
|
-
* A generated string used to pass information to your next request. If
|
|
19
|
+
* A generated string used to pass information to your next request. If NextToken is returned, pass the value of NextToken to the next request. If NextToken is not returned, there are no more purchase order items to return.
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof Pagination
|
|
22
22
|
*/
|
|
@@ -11,13 +11,13 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { OrderAcknowledgement } from './order-acknowledgement';
|
|
13
13
|
/**
|
|
14
|
-
* The request schema for the
|
|
14
|
+
* The request schema for the submitAcknowledgment operation.
|
|
15
15
|
* @export
|
|
16
16
|
* @interface SubmitAcknowledgementRequest
|
|
17
17
|
*/
|
|
18
18
|
export interface SubmitAcknowledgementRequest {
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
20
|
+
*
|
|
21
21
|
* @type {Array<OrderAcknowledgement>}
|
|
22
22
|
* @memberof SubmitAcknowledgementRequest
|
|
23
23
|
*/
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { TransactionId } from './transaction-id';
|
|
13
13
|
/**
|
|
14
|
-
* The response schema for the
|
|
14
|
+
* The response schema for the submitAcknowledgement operation
|
|
15
15
|
* @export
|
|
16
16
|
* @interface SubmitAcknowledgementResponse
|
|
17
17
|
*/
|
|
@@ -22,7 +22,7 @@ export interface TaxRegistrationDetails {
|
|
|
22
22
|
*/
|
|
23
23
|
'taxRegistrationType': TaxRegistrationDetailsTaxRegistrationTypeEnum;
|
|
24
24
|
/**
|
|
25
|
-
* Tax registration number for the entity. For example,
|
|
25
|
+
* Tax registration number for the entity. For example, VAT ID.
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof TaxRegistrationDetails
|
|
28
28
|
*/
|
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.3.0",
|
|
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.7.
|
|
21
|
+
"@sp-api-sdk/common": "2.0.12",
|
|
22
|
+
"axios": "^1.7.4"
|
|
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": "bfd73ff78b2b8e141419439963c93e61224edae5"
|
|
44
44
|
}
|