@be-link/pos-cli-nodejs 1.0.177 → 1.0.179
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/package.json
CHANGED
package/types.d.ts
CHANGED
|
@@ -291,8 +291,12 @@ export interface IPositiveItemInfo {
|
|
|
291
291
|
bookingDays?: number;
|
|
292
292
|
/** 购买数量(订单快照字段) */
|
|
293
293
|
quantity?: number;
|
|
294
|
+
/** 剩余份数(TradeOrderItemInfo.remainQuantity) */
|
|
295
|
+
remainQuantity?: number;
|
|
294
296
|
/** 分佣金额(订单快照字段) */
|
|
295
297
|
commissionFee?: number;
|
|
298
|
+
/** 单份定金金额(分,订单快照字段) */
|
|
299
|
+
unitDeposit?: number;
|
|
296
300
|
/** 班车差价信息 */
|
|
297
301
|
shuttleBusAdjustmentInfo?: {
|
|
298
302
|
master: {
|
|
@@ -333,6 +337,8 @@ export type IPositiveItemInfoV2 = {
|
|
|
333
337
|
hotelItemInfo?: CSDto.IHotelItemInfo;
|
|
334
338
|
/** 金币信息 */
|
|
335
339
|
creditInfo: CreditInfo;
|
|
340
|
+
/** 剩余份数(TradeOrderItemInfo.remainQuantity) */
|
|
341
|
+
remainQuantity?: number;
|
|
336
342
|
createdAt: number;
|
|
337
343
|
updatedAt: number;
|
|
338
344
|
};
|
|
@@ -15,7 +15,9 @@ export declare abstract class ItemInfoProxy {
|
|
|
15
15
|
abstract get isHighCommission(): number | boolean | undefined;
|
|
16
16
|
abstract get canUpdateMealInfo(): number | boolean;
|
|
17
17
|
abstract get quantity(): number | undefined;
|
|
18
|
+
abstract get remainQuantity(): number | undefined;
|
|
18
19
|
abstract get commissionFee(): number | undefined;
|
|
20
|
+
abstract get unitDeposit(): number | undefined;
|
|
19
21
|
/** @deprecated 请使用 venueId 代替 */
|
|
20
22
|
abstract get storeId(): string | undefined;
|
|
21
23
|
abstract get venueId(): string | undefined;
|
|
@@ -59,7 +61,9 @@ declare class ItemInfoProxyV1 extends ItemInfoProxy {
|
|
|
59
61
|
get isHighCommission(): number;
|
|
60
62
|
get canUpdateMealInfo(): number | boolean;
|
|
61
63
|
get quantity(): number | undefined;
|
|
64
|
+
get remainQuantity(): number | undefined;
|
|
62
65
|
get commissionFee(): number | undefined;
|
|
66
|
+
get unitDeposit(): number | undefined;
|
|
63
67
|
get storeId(): string | undefined;
|
|
64
68
|
get venueId(): string | undefined;
|
|
65
69
|
get status(): string;
|
|
@@ -117,7 +121,9 @@ declare class ItemInfoProxyV2 extends ItemInfoProxy {
|
|
|
117
121
|
get isHighCommission(): number | undefined;
|
|
118
122
|
get canUpdateMealInfo(): number;
|
|
119
123
|
get quantity(): number | undefined;
|
|
124
|
+
get remainQuantity(): number | undefined;
|
|
120
125
|
get commissionFee(): number | undefined;
|
|
126
|
+
get unitDeposit(): number | undefined;
|
|
121
127
|
get storeId(): string;
|
|
122
128
|
get venueId(): string;
|
|
123
129
|
get status(): ItemStatus;
|
|
@@ -24,7 +24,9 @@ class ItemInfoProxyV1 extends ItemInfoProxy {
|
|
|
24
24
|
get isHighCommission() { return this.itemInfo.isHighCommission; }
|
|
25
25
|
get canUpdateMealInfo() { return this.itemInfo.canUpdateMealInfo; }
|
|
26
26
|
get quantity() { return this.itemInfo.quantity; }
|
|
27
|
+
get remainQuantity() { return this.itemInfo.remainQuantity; }
|
|
27
28
|
get commissionFee() { return this.itemInfo.commissionFee; }
|
|
29
|
+
get unitDeposit() { return this.itemInfo.unitDeposit; }
|
|
28
30
|
get storeId() { return this.itemInfo.storeId; }
|
|
29
31
|
get venueId() { return this.itemInfo.storeId; }
|
|
30
32
|
get status() { return this.itemInfo.status; }
|
|
@@ -78,9 +80,16 @@ class ItemInfoProxyV2 extends ItemInfoProxy {
|
|
|
78
80
|
get quantity() {
|
|
79
81
|
return this.itemInfo.quantity;
|
|
80
82
|
}
|
|
83
|
+
get remainQuantity() {
|
|
84
|
+
return this.itemInfo
|
|
85
|
+
.remainQuantity;
|
|
86
|
+
}
|
|
81
87
|
get commissionFee() {
|
|
82
88
|
return this.itemInfo.commissionFee;
|
|
83
89
|
}
|
|
90
|
+
get unitDeposit() {
|
|
91
|
+
return this.itemInfo.unitDeposit;
|
|
92
|
+
}
|
|
84
93
|
get storeId() { return this.itemInfo.basicInfo.venueId; }
|
|
85
94
|
get venueId() { return this.itemInfo.basicInfo.venueId; }
|
|
86
95
|
get status() { return this.itemInfo.basicInfo.status; }
|