@be-link/pos-cli-nodejs 1.0.147 → 1.0.149

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.147",
3
+ "version": "1.0.149",
4
4
  "description": "正向订单服务Nodejs客户端",
5
5
  "main": "index.js",
6
6
  "repository": {
@@ -96,7 +96,7 @@ export declare namespace Service {
96
96
  /** 订单列表id */
97
97
  orderIdList?: string[];
98
98
  /** 订单来源 */
99
- sourceType: PosConstants.OrderSourceTypeEnum;
99
+ sourceType?: PosConstants.OrderSourceTypeEnum;
100
100
  };
101
101
  /** 排序规则 */
102
102
  sort: {
@@ -394,7 +394,7 @@ export declare namespace Service {
394
394
  /** 供应商id */
395
395
  supplierIds?: string[];
396
396
  /** 订单来源人门店ID */
397
- fromEcsStoreId?: string;
397
+ fromEcsStoreId?: string[];
398
398
  /** 支付时间范围 */
399
399
  paidAtRange?: [number, number];
400
400
  /** 来源类型 */
@@ -824,7 +824,7 @@ export declare namespace Service {
824
824
  /** 供应商id */
825
825
  supplierIds?: string[];
826
826
  /** 订单来源人门店ID */
827
- fromEcsStoreId?: string;
827
+ fromEcsStoreId?: string[];
828
828
  /** 支付时间范围 */
829
829
  paidAtRange?: [number, number];
830
830
  /** 来源类型 */
package/types.d.ts CHANGED
@@ -286,6 +286,8 @@ export interface IPositiveItemInfo {
286
286
  };
287
287
  /** 是否高分佣 */
288
288
  isHighCommission: number;
289
+ /** 来源渠道 */
290
+ sourceType: PosConstants.OrderSourceTypeEnum;
289
291
  /** 共比邻负责人 */
290
292
  belinkOwner?: string;
291
293
  /** 创建时间 */
@@ -55,6 +55,7 @@ declare class ItemInfoProxyV1 extends ItemInfoProxy {
55
55
  get categoryTwo(): string;
56
56
  get isSelfLead(): number;
57
57
  get isHighCommission(): number;
58
+ get sourceType(): import("vitality-meta/enums/pos").OrderSourceTypeEnum;
58
59
  get canUpdateMealInfo(): number | boolean;
59
60
  get storeId(): string | undefined;
60
61
  get venueId(): string | undefined;
@@ -22,6 +22,7 @@ class ItemInfoProxyV1 extends ItemInfoProxy {
22
22
  get categoryTwo() { return this.itemInfo.categoryTwo; }
23
23
  get isSelfLead() { return this.itemInfo.isSelfLead; }
24
24
  get isHighCommission() { return this.itemInfo.isHighCommission; }
25
+ get sourceType() { return this.itemInfo.sourceType; }
25
26
  get canUpdateMealInfo() { return this.itemInfo.canUpdateMealInfo; }
26
27
  get storeId() { return this.itemInfo.storeId; }
27
28
  get venueId() { return this.itemInfo.storeId; }