nextemos 5.8.13 → 5.8.15
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.
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { IResponse, IResponsePaging } from "./response";
|
|
2
2
|
import { OrderFlags } from "../enums/order";
|
|
3
|
+
export type IOrderItemFlags = "None" | "ShipmentFee" | "PaymentFee" | "Customization";
|
|
3
4
|
export interface IGetMemberOrderDetailsResponse extends IResponse {
|
|
4
5
|
order: IOrder;
|
|
5
6
|
flags: keyof typeof OrderFlags;
|
|
@@ -114,7 +115,7 @@ export interface IInvoice {
|
|
|
114
115
|
isGiftBoxRequested: boolean;
|
|
115
116
|
giftBoxNote: string;
|
|
116
117
|
gainPoint: number;
|
|
117
|
-
flags:
|
|
118
|
+
flags: IOrderItemFlags;
|
|
118
119
|
shipments: {
|
|
119
120
|
waybillNo: string;
|
|
120
121
|
trackingUrl: string;
|
|
@@ -161,7 +162,7 @@ export interface IOrderItem {
|
|
|
161
162
|
isGiftBoxRequested: boolean;
|
|
162
163
|
giftBoxNote: string;
|
|
163
164
|
gainPoint: number;
|
|
164
|
-
flags:
|
|
165
|
+
flags: IOrderItemFlags;
|
|
165
166
|
shipments: IOrderShipment[];
|
|
166
167
|
invoices: IOrderInvoice[];
|
|
167
168
|
totals: IOrderTotal[];
|
|
@@ -295,7 +296,7 @@ export interface IOrderShipmentItem {
|
|
|
295
296
|
customLineStatus: string;
|
|
296
297
|
availBalance: number;
|
|
297
298
|
refOrderLineId: number;
|
|
298
|
-
flags:
|
|
299
|
+
flags: IOrderItemFlags;
|
|
299
300
|
}
|
|
300
301
|
export interface IOrderShipment {
|
|
301
302
|
id: number;
|
|
@@ -324,7 +325,7 @@ export interface IOrderInvoiceItem {
|
|
|
324
325
|
customLineStatus: string;
|
|
325
326
|
availBalance: number;
|
|
326
327
|
refOrderLineId: number;
|
|
327
|
-
flags:
|
|
328
|
+
flags: IOrderItemFlags;
|
|
328
329
|
}
|
|
329
330
|
export interface IOrderInvoice {
|
|
330
331
|
invoiceNo: string;
|
|
@@ -342,7 +343,7 @@ export interface IOrderCancelItem {
|
|
|
342
343
|
customLineStatus: string;
|
|
343
344
|
availBalance: number;
|
|
344
345
|
refOrderLineId: number;
|
|
345
|
-
flags:
|
|
346
|
+
flags: IOrderItemFlags;
|
|
346
347
|
}
|
|
347
348
|
export interface IOrderCancel {
|
|
348
349
|
items: IOrderCancelItem[];
|