@be-link/pos-cli-nodejs 1.0.53 → 1.0.54

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.53",
3
+ "version": "1.0.54",
4
4
  "description": "正向订单服务Nodejs客户端",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -1,3 +1,4 @@
1
+ import { ItemStatus } from 'vitality-meta/enums/commodity';
1
2
  import { PosDto } from '../..';
2
3
  export declare abstract class ItemInfoProxy {
3
4
  abstract get raw(): PosDto.IPositiveItemInfo | PosDto.IPositiveItemInfoV2;
@@ -15,6 +16,7 @@ export declare abstract class ItemInfoProxy {
15
16
  /** @deprecated 请使用 venueId 代替 */
16
17
  abstract get storeId(): string | undefined;
17
18
  abstract get venueId(): string | undefined;
19
+ abstract get status(): string | ItemStatus;
18
20
  abstract get contractType(): string | undefined;
19
21
  abstract get cooperator(): string | undefined;
20
22
  abstract get tourWholesaler(): string | undefined;
@@ -53,6 +55,7 @@ declare class ItemInfoProxyV1 extends ItemInfoProxy {
53
55
  get canUpdateMealInfo(): number | boolean;
54
56
  get storeId(): string | undefined;
55
57
  get venueId(): string | undefined;
58
+ get status(): string;
56
59
  get contractType(): import("vitality-meta/enums/commodity").TourContractTypeEnum;
57
60
  get cooperator(): string;
58
61
  get tourWholesaler(): any;
@@ -106,6 +109,7 @@ declare class ItemInfoProxyV2 extends ItemInfoProxy {
106
109
  get canUpdateMealInfo(): number;
107
110
  get storeId(): string;
108
111
  get venueId(): string;
112
+ get status(): ItemStatus;
109
113
  get contractType(): undefined;
110
114
  get cooperator(): undefined;
111
115
  get tourWholesaler(): undefined;
@@ -24,6 +24,7 @@ class ItemInfoProxyV1 extends ItemInfoProxy {
24
24
  get canUpdateMealInfo() { return this.itemInfo.canUpdateMealInfo; }
25
25
  get storeId() { return this.itemInfo.storeId; }
26
26
  get venueId() { return this.itemInfo.storeId; }
27
+ get status() { return this.itemInfo.status; }
27
28
  // 旅游,待定
28
29
  get contractType() { return this.itemInfo.contractType; }
29
30
  get cooperator() { return this.itemInfo.cooperator; }
@@ -71,6 +72,7 @@ class ItemInfoProxyV2 extends ItemInfoProxy {
71
72
  get canUpdateMealInfo() { return this.itemInfo.attributes.canModifyMeal; }
72
73
  get storeId() { return this.itemInfo.basicInfo.venueId; }
73
74
  get venueId() { return this.itemInfo.basicInfo.venueId; }
75
+ get status() { return this.itemInfo.basicInfo.status; }
74
76
  // 旅游,待定
75
77
  get contractType() { return undefined; }
76
78
  get cooperator() { return undefined; }