@be-link/pos-cli-nodejs 1.0.176 → 1.0.177
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
|
@@ -289,6 +289,10 @@ export interface IPositiveItemInfo {
|
|
|
289
289
|
};
|
|
290
290
|
/** 提前预定天数(0~255) */
|
|
291
291
|
bookingDays?: number;
|
|
292
|
+
/** 购买数量(订单快照字段) */
|
|
293
|
+
quantity?: number;
|
|
294
|
+
/** 分佣金额(订单快照字段) */
|
|
295
|
+
commissionFee?: number;
|
|
292
296
|
/** 班车差价信息 */
|
|
293
297
|
shuttleBusAdjustmentInfo?: {
|
|
294
298
|
master: {
|
|
@@ -14,6 +14,8 @@ export declare abstract class ItemInfoProxy {
|
|
|
14
14
|
abstract get isSelfLead(): number;
|
|
15
15
|
abstract get isHighCommission(): number | boolean | undefined;
|
|
16
16
|
abstract get canUpdateMealInfo(): number | boolean;
|
|
17
|
+
abstract get quantity(): number | undefined;
|
|
18
|
+
abstract get commissionFee(): number | undefined;
|
|
17
19
|
/** @deprecated 请使用 venueId 代替 */
|
|
18
20
|
abstract get storeId(): string | undefined;
|
|
19
21
|
abstract get venueId(): string | undefined;
|
|
@@ -56,6 +58,8 @@ declare class ItemInfoProxyV1 extends ItemInfoProxy {
|
|
|
56
58
|
get isSelfLead(): number;
|
|
57
59
|
get isHighCommission(): number;
|
|
58
60
|
get canUpdateMealInfo(): number | boolean;
|
|
61
|
+
get quantity(): number | undefined;
|
|
62
|
+
get commissionFee(): number | undefined;
|
|
59
63
|
get storeId(): string | undefined;
|
|
60
64
|
get venueId(): string | undefined;
|
|
61
65
|
get status(): string;
|
|
@@ -112,6 +116,8 @@ declare class ItemInfoProxyV2 extends ItemInfoProxy {
|
|
|
112
116
|
get isSelfLead(): number;
|
|
113
117
|
get isHighCommission(): number | undefined;
|
|
114
118
|
get canUpdateMealInfo(): number;
|
|
119
|
+
get quantity(): number | undefined;
|
|
120
|
+
get commissionFee(): number | undefined;
|
|
115
121
|
get storeId(): string;
|
|
116
122
|
get venueId(): string;
|
|
117
123
|
get status(): ItemStatus;
|
|
@@ -23,6 +23,8 @@ class ItemInfoProxyV1 extends ItemInfoProxy {
|
|
|
23
23
|
get isSelfLead() { return this.itemInfo.isSelfLead; }
|
|
24
24
|
get isHighCommission() { return this.itemInfo.isHighCommission; }
|
|
25
25
|
get canUpdateMealInfo() { return this.itemInfo.canUpdateMealInfo; }
|
|
26
|
+
get quantity() { return this.itemInfo.quantity; }
|
|
27
|
+
get commissionFee() { return this.itemInfo.commissionFee; }
|
|
26
28
|
get storeId() { return this.itemInfo.storeId; }
|
|
27
29
|
get venueId() { return this.itemInfo.storeId; }
|
|
28
30
|
get status() { return this.itemInfo.status; }
|
|
@@ -73,6 +75,12 @@ class ItemInfoProxyV2 extends ItemInfoProxy {
|
|
|
73
75
|
get isSelfLead() { return this.itemInfo.attributes.isSelfLead; }
|
|
74
76
|
get isHighCommission() { return this.itemInfo.attributes.isHighCommission; }
|
|
75
77
|
get canUpdateMealInfo() { return this.itemInfo.attributes.canModifyMeal; }
|
|
78
|
+
get quantity() {
|
|
79
|
+
return this.itemInfo.quantity;
|
|
80
|
+
}
|
|
81
|
+
get commissionFee() {
|
|
82
|
+
return this.itemInfo.commissionFee;
|
|
83
|
+
}
|
|
76
84
|
get storeId() { return this.itemInfo.basicInfo.venueId; }
|
|
77
85
|
get venueId() { return this.itemInfo.basicInfo.venueId; }
|
|
78
86
|
get status() { return this.itemInfo.basicInfo.status; }
|