@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.
Files changed (33) hide show
  1. package/dist/cjs/index.js +1 -0
  2. package/dist/cjs/src/api-model/api/vendor-orders-api.js +40 -40
  3. package/dist/cjs/src/api-model/models/money.js +7 -0
  4. package/dist/es/index.js +1 -0
  5. package/dist/es/src/api-model/api/vendor-orders-api.js +40 -40
  6. package/dist/es/src/api-model/models/money.js +6 -1
  7. package/dist/types/index.d.ts +1 -0
  8. package/dist/types/src/api-model/api/vendor-orders-api.d.ts +52 -52
  9. package/dist/types/src/api-model/models/acknowledgement-status-details.d.ts +2 -2
  10. package/dist/types/src/api-model/models/address.d.ts +1 -1
  11. package/dist/types/src/api-model/models/get-purchase-order-response.d.ts +1 -1
  12. package/dist/types/src/api-model/models/get-purchase-orders-response.d.ts +1 -1
  13. package/dist/types/src/api-model/models/get-purchase-orders-status-response.d.ts +1 -1
  14. package/dist/types/src/api-model/models/import-details.d.ts +2 -2
  15. package/dist/types/src/api-model/models/money.d.ts +14 -1
  16. package/dist/types/src/api-model/models/order-acknowledgement.d.ts +2 -2
  17. package/dist/types/src/api-model/models/order-details.d.ts +5 -5
  18. package/dist/types/src/api-model/models/order-item-acknowledgement.d.ts +3 -3
  19. package/dist/types/src/api-model/models/order-item-status-receiving-status.d.ts +1 -1
  20. package/dist/types/src/api-model/models/order-item-status.d.ts +1 -1
  21. package/dist/types/src/api-model/models/order-item.d.ts +1 -1
  22. package/dist/types/src/api-model/models/order-list-status.d.ts +2 -2
  23. package/dist/types/src/api-model/models/order-list.d.ts +2 -2
  24. package/dist/types/src/api-model/models/order-status.d.ts +2 -2
  25. package/dist/types/src/api-model/models/order.d.ts +1 -1
  26. package/dist/types/src/api-model/models/ordered-quantity-details.d.ts +2 -2
  27. package/dist/types/src/api-model/models/pagination.d.ts +2 -2
  28. package/dist/types/src/api-model/models/party-identification.d.ts +1 -1
  29. package/dist/types/src/api-model/models/submit-acknowledgement-request.d.ts +2 -2
  30. package/dist/types/src/api-model/models/submit-acknowledgement-response.d.ts +1 -1
  31. package/dist/types/src/api-model/models/tax-registration-details.d.ts +1 -1
  32. package/dist/types/src/api-model/models/transaction-id.d.ts +1 -1
  33. 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
- * A list of orders returned as response.
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
- * Represents an individual order within the `OrderList`.
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 <a href=\'https://developer-docs.amazon.com/sp-api/docs/iso-8601\'>ISO 8601</a> date/time format.
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 <a href=\'https://developer-docs.amazon.com/sp-api/docs/iso-8601\'>ISO 8601</a> date/time format.
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,7 +11,7 @@
11
11
  */
12
12
  import type { OrderDetails } from './order-details';
13
13
  /**
14
- * Represents an order placed by Amazon, including the purchase order number, current state, and order details.
14
+ *
15
15
  * @export
16
16
  * @interface Order
17
17
  */
@@ -11,13 +11,13 @@
11
11
  */
12
12
  import type { ItemQuantity } from './item-quantity';
13
13
  /**
14
- * Details of the item quantity ordered.
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 the buyer. Must be in <a href=\'https://developer-docs.amazon.com/sp-api/docs/iso-8601\'>ISO 8601</a> date/time format.
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
- * The pagination elements required to retrieve the remaining data.
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 `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.
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
  */
@@ -12,7 +12,7 @@
12
12
  import type { Address } from './address';
13
13
  import type { TaxRegistrationDetails } from './tax-registration-details';
14
14
  /**
15
- * Name, address and tax details of a party.
15
+ *
16
16
  * @export
17
17
  * @interface PartyIdentification
18
18
  */
@@ -11,13 +11,13 @@
11
11
  */
12
12
  import type { OrderAcknowledgement } from './order-acknowledgement';
13
13
  /**
14
- * The request schema for the `submitAcknowledgment` operation.
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
- * An array of order acknowledgements to be submitted.
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 `submitAcknowledgement` operation
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, `VAT ID`.
25
+ * Tax registration number for the entity. For example, VAT ID.
26
26
  * @type {string}
27
27
  * @memberof TaxRegistrationDetails
28
28
  */
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  /**
13
- * Response containing the transaction ID.
13
+ *
14
14
  * @export
15
15
  * @interface TransactionId
16
16
  */
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.2.0",
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.10",
22
- "axios": "^1.7.2"
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": "c646647a684e625c54e35ff8c141791efd60417c"
43
+ "gitHead": "bfd73ff78b2b8e141419439963c93e61224edae5"
44
44
  }