@sp-api-sdk/orders-api-v0 1.13.0 → 1.13.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.
Files changed (64) hide show
  1. package/dist/cjs/src/api-model/api/orders-v0-api.js +9 -9
  2. package/dist/cjs/src/api-model/models/address.js +4 -9
  3. package/dist/cjs/src/api-model/models/order-item.js +4 -9
  4. package/dist/cjs/src/api-model/models/order.js +30 -55
  5. package/dist/cjs/src/api-model/models/regulated-information-field.js +4 -9
  6. package/dist/cjs/src/api-model/models/shipment-status.js +5 -6
  7. package/dist/cjs/src/api-model/models/tax-collection.js +6 -16
  8. package/dist/cjs/src/api-model/models/verification-status.js +7 -8
  9. package/dist/es/src/api-model/api/orders-v0-api.js +9 -9
  10. package/dist/es/src/api-model/models/address.js +4 -9
  11. package/dist/es/src/api-model/models/order-item.js +4 -9
  12. package/dist/es/src/api-model/models/order.js +30 -55
  13. package/dist/es/src/api-model/models/regulated-information-field.js +4 -9
  14. package/dist/es/src/api-model/models/shipment-status.js +5 -6
  15. package/dist/es/src/api-model/models/tax-collection.js +6 -16
  16. package/dist/es/src/api-model/models/verification-status.js +7 -8
  17. package/dist/types/src/api-model/api/orders-v0-api.d.ts +28 -28
  18. package/dist/types/src/api-model/base.d.ts +2 -2
  19. package/dist/types/src/api-model/common.d.ts +2 -2
  20. package/dist/types/src/api-model/models/address.d.ts +18 -21
  21. package/dist/types/src/api-model/models/automated-shipping-settings.d.ts +3 -3
  22. package/dist/types/src/api-model/models/buyer-customized-info-detail.d.ts +1 -1
  23. package/dist/types/src/api-model/models/buyer-info.d.ts +5 -5
  24. package/dist/types/src/api-model/models/buyer-requested-cancel.d.ts +2 -2
  25. package/dist/types/src/api-model/models/buyer-tax-info.d.ts +3 -3
  26. package/dist/types/src/api-model/models/buyer-tax-information.d.ts +4 -4
  27. package/dist/types/src/api-model/models/fulfillment-instruction.d.ts +1 -1
  28. package/dist/types/src/api-model/models/get-order-address-response.d.ts +2 -2
  29. package/dist/types/src/api-model/models/get-order-buyer-info-response.d.ts +2 -2
  30. package/dist/types/src/api-model/models/get-order-items-buyer-info-response.d.ts +2 -2
  31. package/dist/types/src/api-model/models/get-order-items-response.d.ts +2 -2
  32. package/dist/types/src/api-model/models/get-order-regulated-info-response.d.ts +2 -2
  33. package/dist/types/src/api-model/models/get-order-response.d.ts +2 -2
  34. package/dist/types/src/api-model/models/get-orders-response.d.ts +2 -2
  35. package/dist/types/src/api-model/models/item-buyer-info.d.ts +5 -5
  36. package/dist/types/src/api-model/models/marketplace-tax-info.d.ts +1 -1
  37. package/dist/types/src/api-model/models/model-error.d.ts +3 -3
  38. package/dist/types/src/api-model/models/money.d.ts +2 -2
  39. package/dist/types/src/api-model/models/order-address.d.ts +2 -2
  40. package/dist/types/src/api-model/models/order-buyer-info.d.ts +6 -6
  41. package/dist/types/src/api-model/models/order-item-buyer-info.d.ts +6 -6
  42. package/dist/types/src/api-model/models/order-item.d.ts +39 -42
  43. package/dist/types/src/api-model/models/order-items-buyer-info-list.d.ts +3 -3
  44. package/dist/types/src/api-model/models/order-items-list.d.ts +3 -3
  45. package/dist/types/src/api-model/models/order-regulated-info.d.ts +4 -4
  46. package/dist/types/src/api-model/models/order.d.ts +81 -96
  47. package/dist/types/src/api-model/models/orders-list.d.ts +4 -4
  48. package/dist/types/src/api-model/models/payment-execution-detail-item.d.ts +2 -2
  49. package/dist/types/src/api-model/models/points-granted-detail.d.ts +2 -2
  50. package/dist/types/src/api-model/models/product-info-detail.d.ts +1 -1
  51. package/dist/types/src/api-model/models/regulated-information-field.d.ts +9 -12
  52. package/dist/types/src/api-model/models/regulated-information.d.ts +1 -1
  53. package/dist/types/src/api-model/models/regulated-order-verification-status.d.ts +6 -6
  54. package/dist/types/src/api-model/models/rejection-reason.d.ts +2 -2
  55. package/dist/types/src/api-model/models/shipment-status.d.ts +6 -5
  56. package/dist/types/src/api-model/models/tax-classification.d.ts +2 -2
  57. package/dist/types/src/api-model/models/tax-collection.d.ts +10 -16
  58. package/dist/types/src/api-model/models/update-shipment-status-error-response.d.ts +1 -1
  59. package/dist/types/src/api-model/models/update-shipment-status-request.d.ts +3 -3
  60. package/dist/types/src/api-model/models/update-verification-status-error-response.d.ts +1 -1
  61. package/dist/types/src/api-model/models/update-verification-status-request-body.d.ts +3 -3
  62. package/dist/types/src/api-model/models/update-verification-status-request.d.ts +1 -1
  63. package/dist/types/src/api-model/models/verification-status.d.ts +8 -7
  64. package/package.json +2 -2
@@ -21,17 +21,17 @@ export interface UpdateShipmentStatusRequest {
21
21
  * @type {string}
22
22
  * @memberof UpdateShipmentStatusRequest
23
23
  */
24
- marketplaceId: string;
24
+ 'marketplaceId': string;
25
25
  /**
26
26
  *
27
27
  * @type {ShipmentStatus}
28
28
  * @memberof UpdateShipmentStatusRequest
29
29
  */
30
- shipmentStatus: ShipmentStatus;
30
+ 'shipmentStatus': ShipmentStatus;
31
31
  /**
32
32
  * the list of order items and quantities when the seller wants to partially update the shipment status of the order
33
33
  * @type {Array<object>}
34
34
  * @memberof UpdateShipmentStatusRequest
35
35
  */
36
- orderItems?: Array<object>;
36
+ 'orderItems'?: Array<object>;
37
37
  }
@@ -20,5 +20,5 @@ export interface UpdateVerificationStatusErrorResponse {
20
20
  * @type {Array<Error>}
21
21
  * @memberof UpdateVerificationStatusErrorResponse
22
22
  */
23
- errors?: Array<Error>;
23
+ 'errors'?: Array<Error>;
24
24
  }
@@ -21,17 +21,17 @@ export interface UpdateVerificationStatusRequestBody {
21
21
  * @type {VerificationStatus}
22
22
  * @memberof UpdateVerificationStatusRequestBody
23
23
  */
24
- status: VerificationStatus;
24
+ 'status': VerificationStatus;
25
25
  /**
26
26
  * The identifier for the order\'s regulated information reviewer.
27
27
  * @type {string}
28
28
  * @memberof UpdateVerificationStatusRequestBody
29
29
  */
30
- externalReviewerId: string;
30
+ 'externalReviewerId': string;
31
31
  /**
32
32
  * The unique identifier for the rejection reason used for rejecting the order\'s regulated information. Only required if the new status is rejected.
33
33
  * @type {string}
34
34
  * @memberof UpdateVerificationStatusRequestBody
35
35
  */
36
- rejectionReasonId?: string;
36
+ 'rejectionReasonId'?: string;
37
37
  }
@@ -21,5 +21,5 @@ export interface UpdateVerificationStatusRequest {
21
21
  * @type {UpdateVerificationStatusRequestBody}
22
22
  * @memberof UpdateVerificationStatusRequest
23
23
  */
24
- regulatedOrderVerificationStatus: UpdateVerificationStatusRequestBody;
24
+ 'regulatedOrderVerificationStatus': UpdateVerificationStatusRequestBody;
25
25
  }
@@ -14,10 +14,11 @@
14
14
  * @export
15
15
  * @enum {string}
16
16
  */
17
- export declare enum VerificationStatus {
18
- Pending = "Pending",
19
- Approved = "Approved",
20
- Rejected = "Rejected",
21
- Expired = "Expired",
22
- Cancelled = "Cancelled"
23
- }
17
+ export declare const VerificationStatus: {
18
+ readonly Pending: "Pending";
19
+ readonly Approved: "Approved";
20
+ readonly Rejected: "Rejected";
21
+ readonly Expired: "Expired";
22
+ readonly Cancelled: "Cancelled";
23
+ };
24
+ export declare type VerificationStatus = typeof VerificationStatus[keyof typeof VerificationStatus];
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@sp-api-sdk/orders-api-v0",
3
3
  "author": "Vincent Mesquita <vincent.mesquita@bizon.solutions>",
4
4
  "description": "The Selling Partner API for Orders helps you programmatically retrieve order information. These APIs let you develop fast, flexible, custom applications in areas like order synchronization, order research, and demand-based decision support tools.",
5
- "version": "1.13.0",
5
+ "version": "1.13.1",
6
6
  "main": "dist/cjs/index.js",
7
7
  "module": "dist/es/index.js",
8
8
  "types": "dist/types/index.d.ts",
@@ -50,5 +50,5 @@
50
50
  "sp sdk",
51
51
  "orders api"
52
52
  ],
53
- "gitHead": "a91680c9bce217db7412c5ad7c17aa6e918ada8e"
53
+ "gitHead": "d4f265d3c6a4e05e45025a46effa023a56a54e9c"
54
54
  }