@sp-api-sdk/orders-api-v0 1.18.8 → 2.0.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 +176 -52
- package/dist/cjs/src/api-model/base.js +1 -3
- package/dist/cjs/src/api-model/common.js +2 -0
- package/dist/cjs/src/api-model/models/approval-support-data-element.js +15 -0
- package/dist/cjs/src/api-model/models/get-order-approvals-response.js +15 -0
- package/dist/cjs/src/api-model/models/index.js +14 -0
- package/dist/cjs/src/api-model/models/item-approval-action-changes.js +15 -0
- package/dist/cjs/src/api-model/models/item-approval-action.js +21 -0
- package/dist/cjs/src/api-model/models/item-approval-context.js +15 -0
- package/dist/cjs/src/api-model/models/item-approval-status.js +29 -0
- package/dist/cjs/src/api-model/models/item-approval-type.js +24 -0
- package/dist/cjs/src/api-model/models/item-approval.js +25 -0
- package/dist/cjs/src/api-model/models/item-identifier.js +21 -0
- package/dist/cjs/src/api-model/models/order-approvals-response.js +15 -0
- package/dist/cjs/src/api-model/models/order-item-approval-request.js +15 -0
- package/dist/cjs/src/api-model/models/order-item-approvals.js +15 -0
- package/dist/cjs/src/api-model/models/update-items-approvals-error-response.js +15 -0
- package/dist/cjs/src/api-model/models/update-order-approvals-request.js +15 -0
- package/dist/cjs/src/client.js +14 -0
- package/dist/es/src/api-model/api/orders-v0-api.js +176 -52
- package/dist/es/src/api-model/base.js +1 -3
- package/dist/es/src/api-model/common.js +2 -0
- package/dist/es/src/api-model/models/approval-support-data-element.js +14 -0
- package/dist/es/src/api-model/models/get-order-approvals-response.js +14 -0
- package/dist/es/src/api-model/models/index.js +14 -0
- package/dist/es/src/api-model/models/item-approval-action-changes.js +14 -0
- package/dist/es/src/api-model/models/item-approval-action.js +18 -0
- package/dist/es/src/api-model/models/item-approval-context.js +14 -0
- package/dist/es/src/api-model/models/item-approval-status.js +26 -0
- package/dist/es/src/api-model/models/item-approval-type.js +21 -0
- package/dist/es/src/api-model/models/item-approval.js +22 -0
- package/dist/es/src/api-model/models/item-identifier.js +18 -0
- package/dist/es/src/api-model/models/order-approvals-response.js +14 -0
- package/dist/es/src/api-model/models/order-item-approval-request.js +14 -0
- package/dist/es/src/api-model/models/order-item-approvals.js +14 -0
- package/dist/es/src/api-model/models/update-items-approvals-error-response.js +14 -0
- package/dist/es/src/api-model/models/update-order-approvals-request.js +14 -0
- package/dist/es/src/client.js +14 -0
- package/dist/types/src/api-model/api/orders-v0-api.d.ts +158 -43
- package/dist/types/src/api-model/base.d.ts +2 -3
- package/dist/types/src/api-model/common.d.ts +3 -3
- package/dist/types/src/api-model/models/approval-support-data-element.d.ts +30 -0
- package/dist/types/src/api-model/models/get-order-approvals-response.d.ts +31 -0
- package/dist/types/src/api-model/models/index.d.ts +14 -0
- package/dist/types/src/api-model/models/item-approval-action-changes.d.ts +38 -0
- package/dist/types/src/api-model/models/item-approval-action.d.ts +43 -0
- package/dist/types/src/api-model/models/item-approval-context.d.ts +39 -0
- package/dist/types/src/api-model/models/item-approval-status.d.ts +25 -0
- package/dist/types/src/api-model/models/item-approval-type.d.ts +20 -0
- package/dist/types/src/api-model/models/item-approval.d.ts +72 -0
- package/dist/types/src/api-model/models/item-identifier.d.ts +36 -0
- package/dist/types/src/api-model/models/order-approvals-response.d.ts +31 -0
- package/dist/types/src/api-model/models/order-item-approval-request.d.ts +31 -0
- package/dist/types/src/api-model/models/order-item-approvals.d.ts +45 -0
- package/dist/types/src/api-model/models/order-item.d.ts +13 -0
- package/dist/types/src/api-model/models/order.d.ts +14 -0
- package/dist/types/src/api-model/models/update-items-approvals-error-response.d.ts +24 -0
- package/dist/types/src/api-model/models/update-order-approvals-request.d.ts +31 -0
- package/package.json +3 -3
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Selling Partner API for Orders
|
|
3
|
+
* 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.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* Defines the possible status of an order item approval.
|
|
14
|
+
* @export
|
|
15
|
+
* @enum {string}
|
|
16
|
+
*/
|
|
17
|
+
export declare const ItemApprovalStatus: {
|
|
18
|
+
readonly PendingSellingPartnerApproval: "PENDING_SELLING_PARTNER_APPROVAL";
|
|
19
|
+
readonly ProcessingSellingPartnerApproval: "PROCESSING_SELLING_PARTNER_APPROVAL";
|
|
20
|
+
readonly PendingAmazonApproval: "PENDING_AMAZON_APPROVAL";
|
|
21
|
+
readonly Approved: "APPROVED";
|
|
22
|
+
readonly ApprovedWithChanges: "APPROVED_WITH_CHANGES";
|
|
23
|
+
readonly Declined: "DECLINED";
|
|
24
|
+
};
|
|
25
|
+
export type ItemApprovalStatus = typeof ItemApprovalStatus[keyof typeof ItemApprovalStatus];
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Selling Partner API for Orders
|
|
3
|
+
* 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.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* Defines the approval process types available for order items.
|
|
14
|
+
* @export
|
|
15
|
+
* @enum {string}
|
|
16
|
+
*/
|
|
17
|
+
export declare const ItemApprovalType: {
|
|
18
|
+
readonly LeonardiApproval: "LEONARDI_APPROVAL";
|
|
19
|
+
};
|
|
20
|
+
export type ItemApprovalType = typeof ItemApprovalType[keyof typeof ItemApprovalType];
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Selling Partner API for Orders
|
|
3
|
+
* 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.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { ItemApprovalAction } from './item-approval-action';
|
|
13
|
+
/**
|
|
14
|
+
* Generic item approval. Check the applicable restrictions at the specific approval type schemas.
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ItemApproval
|
|
17
|
+
*/
|
|
18
|
+
export interface ItemApproval {
|
|
19
|
+
/**
|
|
20
|
+
* Sequence number of the item approval. Each ItemApproval gets its sequenceId automatically from a monotonic increasing function.
|
|
21
|
+
* @type {number}
|
|
22
|
+
* @memberof ItemApproval
|
|
23
|
+
*/
|
|
24
|
+
'SequenceId': number;
|
|
25
|
+
/**
|
|
26
|
+
* Timestamp when the ItemApproval was recorded by Amazon\'s internal order approvals system. In ISO 8601 date time format.
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof ItemApproval
|
|
29
|
+
*/
|
|
30
|
+
'Timestamp': string;
|
|
31
|
+
/**
|
|
32
|
+
* High level actors involved in the approval process.
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof ItemApproval
|
|
35
|
+
*/
|
|
36
|
+
'Actor': ItemApprovalActorEnum;
|
|
37
|
+
/**
|
|
38
|
+
* Person or system that triggers the approval actions on behalf of the actor.
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof ItemApproval
|
|
41
|
+
*/
|
|
42
|
+
'Approver'?: string;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {ItemApprovalAction}
|
|
46
|
+
* @memberof ItemApproval
|
|
47
|
+
*/
|
|
48
|
+
'ApprovalAction': ItemApprovalAction;
|
|
49
|
+
/**
|
|
50
|
+
* Status of approval action.
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof ItemApproval
|
|
53
|
+
*/
|
|
54
|
+
'ApprovalActionProcessStatus': ItemApprovalApprovalActionProcessStatusEnum;
|
|
55
|
+
/**
|
|
56
|
+
* Optional message to communicate optional additional context about the current status of the approval action.
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof ItemApproval
|
|
59
|
+
*/
|
|
60
|
+
'ApprovalActionProcessStatusMessage'?: string;
|
|
61
|
+
}
|
|
62
|
+
export declare const ItemApprovalActorEnum: {
|
|
63
|
+
readonly SellingPartner: "SELLING_PARTNER";
|
|
64
|
+
readonly Amazon: "AMAZON";
|
|
65
|
+
};
|
|
66
|
+
export type ItemApprovalActorEnum = typeof ItemApprovalActorEnum[keyof typeof ItemApprovalActorEnum];
|
|
67
|
+
export declare const ItemApprovalApprovalActionProcessStatusEnum: {
|
|
68
|
+
readonly Processing: "PROCESSING";
|
|
69
|
+
readonly Success: "SUCCESS";
|
|
70
|
+
readonly Error: "ERROR";
|
|
71
|
+
};
|
|
72
|
+
export type ItemApprovalApprovalActionProcessStatusEnum = typeof ItemApprovalApprovalActionProcessStatusEnum[keyof typeof ItemApprovalApprovalActionProcessStatusEnum];
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Selling Partner API for Orders
|
|
3
|
+
* 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.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* Item identifiers used in the context of approvals operations.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ItemIdentifier
|
|
16
|
+
*/
|
|
17
|
+
export interface ItemIdentifier {
|
|
18
|
+
/**
|
|
19
|
+
* Defines the type of identifiers allowed to specify a substitution.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ItemIdentifier
|
|
22
|
+
*/
|
|
23
|
+
'IdentifierType': ItemIdentifierIdentifierTypeEnum;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ItemIdentifier
|
|
28
|
+
*/
|
|
29
|
+
'Identifier': string;
|
|
30
|
+
}
|
|
31
|
+
export declare const ItemIdentifierIdentifierTypeEnum: {
|
|
32
|
+
readonly Asin: "ASIN";
|
|
33
|
+
readonly SellerSku: "SELLER_SKU";
|
|
34
|
+
readonly ExternalId: "EXTERNAL_ID";
|
|
35
|
+
};
|
|
36
|
+
export type ItemIdentifierIdentifierTypeEnum = typeof ItemIdentifierIdentifierTypeEnum[keyof typeof ItemIdentifierIdentifierTypeEnum];
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Selling Partner API for Orders
|
|
3
|
+
* 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.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { OrderItemApprovals } from './order-item-approvals';
|
|
13
|
+
/**
|
|
14
|
+
* The order items list with approvals along with the order ID.
|
|
15
|
+
* @export
|
|
16
|
+
* @interface OrderApprovalsResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface OrderApprovalsResponse {
|
|
19
|
+
/**
|
|
20
|
+
* When present and not empty, pass this string token in the next request to return the next response page.
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof OrderApprovalsResponse
|
|
23
|
+
*/
|
|
24
|
+
'NextToken'?: string;
|
|
25
|
+
/**
|
|
26
|
+
* List of OrderItemApprovals.
|
|
27
|
+
* @type {Array<OrderItemApprovals>}
|
|
28
|
+
* @memberof OrderApprovalsResponse
|
|
29
|
+
*/
|
|
30
|
+
'OrderItemsApprovalsList': Array<OrderItemApprovals>;
|
|
31
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Selling Partner API for Orders
|
|
3
|
+
* 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.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { ItemApprovalAction } from './item-approval-action';
|
|
13
|
+
/**
|
|
14
|
+
* Order item apecific approval request.
|
|
15
|
+
* @export
|
|
16
|
+
* @interface OrderItemApprovalRequest
|
|
17
|
+
*/
|
|
18
|
+
export interface OrderItemApprovalRequest {
|
|
19
|
+
/**
|
|
20
|
+
* The unique identifier of the order item.
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof OrderItemApprovalRequest
|
|
23
|
+
*/
|
|
24
|
+
'OrderItemId': string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {ItemApprovalAction}
|
|
28
|
+
* @memberof OrderItemApprovalRequest
|
|
29
|
+
*/
|
|
30
|
+
'ApprovalAction': ItemApprovalAction;
|
|
31
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Selling Partner API for Orders
|
|
3
|
+
* 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.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { ItemApproval } from './item-approval';
|
|
13
|
+
import { ItemApprovalStatus } from './item-approval-status';
|
|
14
|
+
import { ItemApprovalType } from './item-approval-type';
|
|
15
|
+
/**
|
|
16
|
+
* List of item approvals gathered during the approval process.
|
|
17
|
+
* @export
|
|
18
|
+
* @interface OrderItemApprovals
|
|
19
|
+
*/
|
|
20
|
+
export interface OrderItemApprovals {
|
|
21
|
+
/**
|
|
22
|
+
* The unique identifier of the order item.
|
|
23
|
+
* @type {string}
|
|
24
|
+
* @memberof OrderItemApprovals
|
|
25
|
+
*/
|
|
26
|
+
'OrderItemId': string;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {ItemApprovalType}
|
|
30
|
+
* @memberof OrderItemApprovals
|
|
31
|
+
*/
|
|
32
|
+
'ApprovalType': ItemApprovalType;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {ItemApprovalStatus}
|
|
36
|
+
* @memberof OrderItemApprovals
|
|
37
|
+
*/
|
|
38
|
+
'ApprovalStatus': ItemApprovalStatus;
|
|
39
|
+
/**
|
|
40
|
+
*
|
|
41
|
+
* @type {Array<ItemApproval>}
|
|
42
|
+
* @memberof OrderItemApprovals
|
|
43
|
+
*/
|
|
44
|
+
'ItemApprovals': Array<ItemApproval>;
|
|
45
|
+
}
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import { BuyerRequestedCancel } from './buyer-requested-cancel';
|
|
13
|
+
import { ItemApprovalContext } from './item-approval-context';
|
|
13
14
|
import { ItemBuyerInfo } from './item-buyer-info';
|
|
14
15
|
import { Money } from './money';
|
|
15
16
|
import { PointsGrantedDetail } from './points-granted-detail';
|
|
@@ -225,6 +226,18 @@ export interface OrderItem {
|
|
|
225
226
|
* @memberof OrderItem
|
|
226
227
|
*/
|
|
227
228
|
'BuyerRequestedCancel'?: BuyerRequestedCancel;
|
|
229
|
+
/**
|
|
230
|
+
*
|
|
231
|
+
* @type {ItemApprovalContext}
|
|
232
|
+
* @memberof OrderItem
|
|
233
|
+
*/
|
|
234
|
+
'ItemApprovalContext'?: ItemApprovalContext;
|
|
235
|
+
/**
|
|
236
|
+
* A list of serial numbers for electronic products that are shipped to customers. Returned for FBA orders only.
|
|
237
|
+
* @type {Array<string>}
|
|
238
|
+
* @memberof OrderItem
|
|
239
|
+
*/
|
|
240
|
+
'SerialNumbers'?: Array<string>;
|
|
228
241
|
}
|
|
229
242
|
export declare const OrderItemDeemedResellerCategoryEnum: {
|
|
230
243
|
readonly Ioss: "IOSS";
|
|
@@ -16,6 +16,8 @@ import { BuyerTaxInformation } from './buyer-tax-information';
|
|
|
16
16
|
import { EasyShipShipmentStatus } from './easy-ship-shipment-status';
|
|
17
17
|
import { ElectronicInvoiceStatus } from './electronic-invoice-status';
|
|
18
18
|
import { FulfillmentInstruction } from './fulfillment-instruction';
|
|
19
|
+
import { ItemApprovalStatus } from './item-approval-status';
|
|
20
|
+
import { ItemApprovalType } from './item-approval-type';
|
|
19
21
|
import { MarketplaceTaxInfo } from './marketplace-tax-info';
|
|
20
22
|
import { Money } from './money';
|
|
21
23
|
import { PaymentExecutionDetailItem } from './payment-execution-detail-item';
|
|
@@ -307,6 +309,18 @@ export interface Order {
|
|
|
307
309
|
* @memberof Order
|
|
308
310
|
*/
|
|
309
311
|
'ElectronicInvoiceStatus'?: ElectronicInvoiceStatus;
|
|
312
|
+
/**
|
|
313
|
+
* Set of approval types which applies to at least one order item in the order.
|
|
314
|
+
* @type {Array<ItemApprovalType>}
|
|
315
|
+
* @memberof Order
|
|
316
|
+
*/
|
|
317
|
+
'ItemApprovalTypes'?: Array<ItemApprovalType>;
|
|
318
|
+
/**
|
|
319
|
+
* Subset of all ItemApprovalStatus that are set in at least one of the order items subject to approvals.
|
|
320
|
+
* @type {Array<ItemApprovalStatus>}
|
|
321
|
+
* @memberof Order
|
|
322
|
+
*/
|
|
323
|
+
'ItemApprovalStatus'?: Array<ItemApprovalStatus>;
|
|
310
324
|
}
|
|
311
325
|
export declare const OrderOrderStatusEnum: {
|
|
312
326
|
readonly Pending: "Pending";
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Selling Partner API for Orders
|
|
3
|
+
* 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.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* The error response schema for the updateOrderItemsApprovals operation.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface UpdateItemsApprovalsErrorResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface UpdateItemsApprovalsErrorResponse {
|
|
18
|
+
/**
|
|
19
|
+
* A list of error responses returned when a request is unsuccessful.
|
|
20
|
+
* @type {Array<Error>}
|
|
21
|
+
* @memberof UpdateItemsApprovalsErrorResponse
|
|
22
|
+
*/
|
|
23
|
+
'errors'?: Array<Error>;
|
|
24
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Selling Partner API for Orders
|
|
3
|
+
* 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.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { OrderItemApprovalRequest } from './order-item-approval-request';
|
|
13
|
+
/**
|
|
14
|
+
* The request body for the updateOrderItemsApprovals operation.
|
|
15
|
+
* @export
|
|
16
|
+
* @interface UpdateOrderApprovalsRequest
|
|
17
|
+
*/
|
|
18
|
+
export interface UpdateOrderApprovalsRequest {
|
|
19
|
+
/**
|
|
20
|
+
* Person or system that triggers the approval actions on behalf of the actor.
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof UpdateOrderApprovalsRequest
|
|
23
|
+
*/
|
|
24
|
+
'Approver'?: string;
|
|
25
|
+
/**
|
|
26
|
+
* A list of item approval requests.
|
|
27
|
+
* @type {Array<OrderItemApprovalRequest>}
|
|
28
|
+
* @memberof UpdateOrderApprovalsRequest
|
|
29
|
+
*/
|
|
30
|
+
'OrderItemsApprovalRequests': Array<OrderItemApprovalRequest>;
|
|
31
|
+
}
|
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": "
|
|
5
|
+
"version": "2.0.0",
|
|
6
6
|
"main": "dist/cjs/index.js",
|
|
7
7
|
"module": "dist/es/index.js",
|
|
8
8
|
"types": "dist/types/index.d.ts",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"test": "jest"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@sp-api-sdk/common": "^1.9.
|
|
29
|
+
"@sp-api-sdk/common": "^1.9.22",
|
|
30
30
|
"axios": "^0.27.2"
|
|
31
31
|
},
|
|
32
32
|
"repository": {
|
|
@@ -51,5 +51,5 @@
|
|
|
51
51
|
"typedoc": {
|
|
52
52
|
"entryPoint": "./index.ts"
|
|
53
53
|
},
|
|
54
|
-
"gitHead": "
|
|
54
|
+
"gitHead": "19982f06cbbd770bfc7b9f1bc8a42f59b57baead"
|
|
55
55
|
}
|