@be-link/pos-cli-nodejs 1.0.160 → 1.0.161

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/types.d.ts +8 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@be-link/pos-cli-nodejs",
3
- "version": "1.0.160",
3
+ "version": "1.0.161",
4
4
  "description": "正向订单服务Nodejs客户端",
5
5
  "main": "index.js",
6
6
  "repository": {
package/types.d.ts CHANGED
@@ -9,7 +9,7 @@ import { SkuInfoProxy } from './utils/posProxy/skuInfoProxy';
9
9
  import { VenueInfoProxy } from './utils/posProxy/venueInfoProxy';
10
10
  import { ComboInfoProxy } from './utils/posProxy/comboInfoProxy';
11
11
  /**
12
- * 订单正向结构
12
+ * 订单正向结构(数据库存储字段)
13
13
  */
14
14
  export interface IPositiveOrder {
15
15
  /** 快照:订单ID */
@@ -80,9 +80,14 @@ export interface IPositiveOrder {
80
80
  fromEcsStoreId: string;
81
81
  /** 订单来源渠道 */
82
82
  sourceType: PosConstants.OrderSourceTypeEnum;
83
- /** 来源人名店名称 */
83
+ }
84
+ /**
85
+ * 订单正向结构扩展接口(包含派生字段)
86
+ */
87
+ export interface IPositiveOrderExtended extends IPositiveOrder {
88
+ /** 来源人门店名称(派生字段,不存储在数据库) */
84
89
  fromEcsStoreName: string;
85
- /** 来源员工名称 */
90
+ /** 来源员工名称(派生字段,不存储在数据库) */
86
91
  fromUserName: string;
87
92
  }
88
93
  export interface IPositiveAttributes {