@be-link/pos-cli-nodejs 1.0.144 → 1.0.145

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.144",
3
+ "version": "1.0.145",
4
4
  "description": "正向订单服务Nodejs客户端",
5
5
  "main": "index.js",
6
6
  "repository": {
@@ -57,26 +57,39 @@ export declare namespace QueryByWeb {
57
57
  }
58
58
  }
59
59
  namespace Result {
60
- /** 订单搜索结果 */
61
60
  interface ISearchOrderResult {
62
61
  /** 订单ID */
63
62
  orderId: string;
64
- /** 商品名称 */
63
+ /** 商品名称(商品标题 + 订单号) */
65
64
  itemName: string;
66
- /** 出团时间 */
65
+ /** 出团时间(出发日期) */
67
66
  fulfillAt: number;
68
- /** 状态 */
67
+ /** 状态(状态胶囊标签,带颜色) */
69
68
  status: string;
70
- /** 联系人信息 */
69
+ /** 联系人信息(姓名 + 手机号) */
71
70
  contactInfo: {
72
71
  name: string;
73
72
  mobile: string;
74
73
  idCard?: string;
75
74
  };
76
- /** 剩余金额 */
77
- remainFee: number;
78
- /** 下单时间 */
75
+ /** 单价/数量/剩余金额(单价×人数 + 剩余金额) */
76
+ priceInfo: {
77
+ /** 单价,单位:分 */
78
+ unitPrice: number;
79
+ /** 数量(人数/份数) */
80
+ quantity: number;
81
+ /** 剩余金额,单位:分 */
82
+ remainFee: number;
83
+ };
84
+ /** 下单时间(下单时间戳) */
79
85
  createdAt: number;
86
+ /** 结算价/利润(结算价 + 利润,绿色显示) */
87
+ settlementInfo: {
88
+ /** 结算价,单位:分 */
89
+ settlementAmount: number;
90
+ /** 利润(结算金额 × 利润率),单位:分 */
91
+ profit: number;
92
+ };
80
93
  }
81
94
  /** 订单搜索结果(带总数) */
82
95
  interface ISearchOrderResultWithTotal {
@@ -87,10 +100,12 @@ export declare namespace QueryByWeb {
87
100
  }
88
101
  /** 订单搜索统计数据 */
89
102
  interface ISearchOrderStats {
90
- /** 总数 */
103
+ /** 订单数量 */
91
104
  total: number;
92
- /** 总剩余金额 */
105
+ /** 总剩余金额,单位:分 */
93
106
  totalRemainFee: number;
107
+ /** 总利润,单位:分 */
108
+ totalProfit: number;
94
109
  }
95
110
  }
96
111
  }