@sp-api-sdk/orders-api-v0 1.13.0 → 1.15.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/src/api-model/api/orders-v0-api.js +48 -48
- package/dist/cjs/src/api-model/models/address.js +4 -9
- package/dist/cjs/src/api-model/models/index.js +1 -0
- package/dist/cjs/src/api-model/models/order-item.js +4 -9
- package/dist/cjs/src/api-model/models/order-items-inner.js +15 -0
- package/dist/cjs/src/api-model/models/order.js +30 -55
- package/dist/cjs/src/api-model/models/regulated-information-field.js +4 -9
- package/dist/cjs/src/api-model/models/shipment-status.js +6 -7
- package/dist/cjs/src/api-model/models/tax-collection.js +6 -16
- package/dist/cjs/src/api-model/models/verification-status.js +7 -8
- package/dist/es/src/api-model/api/orders-v0-api.js +48 -48
- package/dist/es/src/api-model/models/address.js +4 -9
- package/dist/es/src/api-model/models/index.js +1 -0
- package/dist/es/src/api-model/models/order-item.js +4 -9
- package/dist/es/src/api-model/models/order-items-inner.js +14 -0
- package/dist/es/src/api-model/models/order.js +30 -55
- package/dist/es/src/api-model/models/regulated-information-field.js +4 -9
- package/dist/es/src/api-model/models/shipment-status.js +6 -7
- package/dist/es/src/api-model/models/tax-collection.js +6 -16
- package/dist/es/src/api-model/models/verification-status.js +7 -8
- package/dist/types/src/api-model/api/orders-v0-api.d.ts +74 -74
- package/dist/types/src/api-model/base.d.ts +2 -2
- package/dist/types/src/api-model/common.d.ts +7 -7
- package/dist/types/src/api-model/models/address.d.ts +18 -21
- package/dist/types/src/api-model/models/automated-shipping-settings.d.ts +4 -4
- package/dist/types/src/api-model/models/buyer-customized-info-detail.d.ts +1 -1
- package/dist/types/src/api-model/models/buyer-info.d.ts +6 -6
- package/dist/types/src/api-model/models/buyer-requested-cancel.d.ts +2 -2
- package/dist/types/src/api-model/models/buyer-tax-info.d.ts +3 -3
- package/dist/types/src/api-model/models/buyer-tax-information.d.ts +4 -4
- package/dist/types/src/api-model/models/fulfillment-instruction.d.ts +1 -1
- package/dist/types/src/api-model/models/get-order-address-response.d.ts +2 -2
- package/dist/types/src/api-model/models/get-order-buyer-info-response.d.ts +2 -2
- package/dist/types/src/api-model/models/get-order-items-buyer-info-response.d.ts +2 -2
- package/dist/types/src/api-model/models/get-order-items-response.d.ts +2 -2
- package/dist/types/src/api-model/models/get-order-regulated-info-response.d.ts +2 -2
- package/dist/types/src/api-model/models/get-order-response.d.ts +2 -2
- package/dist/types/src/api-model/models/get-orders-response.d.ts +2 -2
- package/dist/types/src/api-model/models/index.d.ts +1 -0
- package/dist/types/src/api-model/models/item-buyer-info.d.ts +5 -5
- package/dist/types/src/api-model/models/marketplace-tax-info.d.ts +1 -1
- package/dist/types/src/api-model/models/model-error.d.ts +4 -4
- package/dist/types/src/api-model/models/money.d.ts +2 -2
- package/dist/types/src/api-model/models/order-address.d.ts +2 -2
- package/dist/types/src/api-model/models/order-buyer-info.d.ts +6 -6
- package/dist/types/src/api-model/models/order-item-buyer-info.d.ts +6 -6
- package/dist/types/src/api-model/models/order-item.d.ts +39 -42
- package/dist/types/src/api-model/models/order-items-buyer-info-list.d.ts +3 -3
- package/dist/types/src/api-model/models/order-items-inner.d.ts +30 -0
- package/dist/types/src/api-model/models/order-items-list.d.ts +3 -3
- package/dist/types/src/api-model/models/order-regulated-info.d.ts +5 -5
- package/dist/types/src/api-model/models/order.d.ts +84 -99
- package/dist/types/src/api-model/models/orders-list.d.ts +4 -4
- package/dist/types/src/api-model/models/payment-execution-detail-item.d.ts +2 -2
- package/dist/types/src/api-model/models/points-granted-detail.d.ts +2 -2
- package/dist/types/src/api-model/models/product-info-detail.d.ts +1 -1
- package/dist/types/src/api-model/models/regulated-information-field.d.ts +12 -15
- package/dist/types/src/api-model/models/regulated-information.d.ts +1 -1
- package/dist/types/src/api-model/models/regulated-order-verification-status.d.ts +7 -7
- package/dist/types/src/api-model/models/rejection-reason.d.ts +3 -3
- package/dist/types/src/api-model/models/shipment-status.d.ts +7 -6
- package/dist/types/src/api-model/models/tax-classification.d.ts +2 -2
- package/dist/types/src/api-model/models/tax-collection.d.ts +10 -16
- package/dist/types/src/api-model/models/update-shipment-status-error-response.d.ts +1 -1
- package/dist/types/src/api-model/models/update-shipment-status-request.d.ts +8 -7
- package/dist/types/src/api-model/models/update-verification-status-error-response.d.ts +1 -1
- package/dist/types/src/api-model/models/update-verification-status-request-body.d.ts +3 -3
- package/dist/types/src/api-model/models/update-verification-status-request.d.ts +1 -1
- package/dist/types/src/api-model/models/verification-status.d.ts +8 -7
- package/package.json +4 -4
|
@@ -9,29 +9,30 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { OrderItemsInner } from './order-items-inner';
|
|
12
13
|
import { ShipmentStatus } from './shipment-status';
|
|
13
14
|
/**
|
|
14
|
-
*
|
|
15
|
+
* The request body for the updateShipmentStatus operation.
|
|
15
16
|
* @export
|
|
16
17
|
* @interface UpdateShipmentStatusRequest
|
|
17
18
|
*/
|
|
18
19
|
export interface UpdateShipmentStatusRequest {
|
|
19
20
|
/**
|
|
20
|
-
*
|
|
21
|
+
* The unobfuscated marketplace identifier.
|
|
21
22
|
* @type {string}
|
|
22
23
|
* @memberof UpdateShipmentStatusRequest
|
|
23
24
|
*/
|
|
24
|
-
marketplaceId: string;
|
|
25
|
+
'marketplaceId': string;
|
|
25
26
|
/**
|
|
26
27
|
*
|
|
27
28
|
* @type {ShipmentStatus}
|
|
28
29
|
* @memberof UpdateShipmentStatusRequest
|
|
29
30
|
*/
|
|
30
|
-
shipmentStatus: ShipmentStatus;
|
|
31
|
+
'shipmentStatus': ShipmentStatus;
|
|
31
32
|
/**
|
|
32
|
-
* the list of order items and quantities
|
|
33
|
-
* @type {Array<
|
|
33
|
+
* For partial shipment status updates, the list of order items and quantities to be updated.
|
|
34
|
+
* @type {Array<OrderItemsInner>}
|
|
34
35
|
* @memberof UpdateShipmentStatusRequest
|
|
35
36
|
*/
|
|
36
|
-
orderItems?: Array<
|
|
37
|
+
'orderItems'?: Array<OrderItemsInner>;
|
|
37
38
|
}
|
|
@@ -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
|
|
18
|
-
Pending
|
|
19
|
-
Approved
|
|
20
|
-
Rejected
|
|
21
|
-
Expired
|
|
22
|
-
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.
|
|
5
|
+
"version": "1.15.0",
|
|
6
6
|
"main": "dist/cjs/index.js",
|
|
7
7
|
"module": "dist/es/index.js",
|
|
8
8
|
"types": "dist/types/index.d.ts",
|
|
@@ -27,8 +27,8 @@
|
|
|
27
27
|
"test": "jest"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@sp-api-sdk/auth": "^1.9.
|
|
31
|
-
"@sp-api-sdk/common": "^1.9.
|
|
30
|
+
"@sp-api-sdk/auth": "^1.9.19",
|
|
31
|
+
"@sp-api-sdk/common": "^1.9.5",
|
|
32
32
|
"axios": "^0.27.2"
|
|
33
33
|
},
|
|
34
34
|
"repository": {
|
|
@@ -50,5 +50,5 @@
|
|
|
50
50
|
"sp sdk",
|
|
51
51
|
"orders api"
|
|
52
52
|
],
|
|
53
|
-
"gitHead": "
|
|
53
|
+
"gitHead": "72808979582d663f043688f24d519b604f7fd2df"
|
|
54
54
|
}
|