@be-link/pos-cli-nodejs 1.0.176 → 1.0.178

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@be-link/pos-cli-nodejs",
3
- "version": "1.0.176",
3
+ "version": "1.0.178",
4
4
  "description": "正向订单服务Nodejs客户端",
5
5
  "main": "index.js",
6
6
  "repository": {
package/types.d.ts CHANGED
@@ -289,6 +289,12 @@ export interface IPositiveItemInfo {
289
289
  };
290
290
  /** 提前预定天数(0~255) */
291
291
  bookingDays?: number;
292
+ /** 购买数量(订单快照字段) */
293
+ quantity?: number;
294
+ /** 分佣金额(订单快照字段) */
295
+ commissionFee?: number;
296
+ /** 单份定金金额(分,订单快照字段) */
297
+ unitDeposit?: number;
292
298
  /** 班车差价信息 */
293
299
  shuttleBusAdjustmentInfo?: {
294
300
  master: {
@@ -14,6 +14,9 @@ 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;
19
+ abstract get unitDeposit(): number | undefined;
17
20
  /** @deprecated 请使用 venueId 代替 */
18
21
  abstract get storeId(): string | undefined;
19
22
  abstract get venueId(): string | undefined;
@@ -56,6 +59,9 @@ declare class ItemInfoProxyV1 extends ItemInfoProxy {
56
59
  get isSelfLead(): number;
57
60
  get isHighCommission(): number;
58
61
  get canUpdateMealInfo(): number | boolean;
62
+ get quantity(): number | undefined;
63
+ get commissionFee(): number | undefined;
64
+ get unitDeposit(): number | undefined;
59
65
  get storeId(): string | undefined;
60
66
  get venueId(): string | undefined;
61
67
  get status(): string;
@@ -112,6 +118,9 @@ declare class ItemInfoProxyV2 extends ItemInfoProxy {
112
118
  get isSelfLead(): number;
113
119
  get isHighCommission(): number | undefined;
114
120
  get canUpdateMealInfo(): number;
121
+ get quantity(): number | undefined;
122
+ get commissionFee(): number | undefined;
123
+ get unitDeposit(): number | undefined;
115
124
  get storeId(): string;
116
125
  get venueId(): string;
117
126
  get status(): ItemStatus;
@@ -23,6 +23,9 @@ 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; }
28
+ get unitDeposit() { return this.itemInfo.unitDeposit; }
26
29
  get storeId() { return this.itemInfo.storeId; }
27
30
  get venueId() { return this.itemInfo.storeId; }
28
31
  get status() { return this.itemInfo.status; }
@@ -73,6 +76,15 @@ class ItemInfoProxyV2 extends ItemInfoProxy {
73
76
  get isSelfLead() { return this.itemInfo.attributes.isSelfLead; }
74
77
  get isHighCommission() { return this.itemInfo.attributes.isHighCommission; }
75
78
  get canUpdateMealInfo() { return this.itemInfo.attributes.canModifyMeal; }
79
+ get quantity() {
80
+ return this.itemInfo.quantity;
81
+ }
82
+ get commissionFee() {
83
+ return this.itemInfo.commissionFee;
84
+ }
85
+ get unitDeposit() {
86
+ return this.itemInfo.unitDeposit;
87
+ }
76
88
  get storeId() { return this.itemInfo.basicInfo.venueId; }
77
89
  get venueId() { return this.itemInfo.basicInfo.venueId; }
78
90
  get status() { return this.itemInfo.basicInfo.status; }