@be-link/pos-cli-nodejs 1.0.51-beta.6 → 1.0.51-beta.8

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.51-beta.6",
3
+ "version": "1.0.51-beta.8",
4
4
  "description": "正向订单服务Nodejs客户端",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -2,6 +2,7 @@ import { PosDto } from '../..';
2
2
  export declare abstract class ItemInfoProxy {
3
3
  abstract get raw(): PosDto.IPositiveItemInfo | PosDto.IPositiveItemInfoV2;
4
4
  abstract get id(): string;
5
+ abstract get _id(): string;
5
6
  abstract get name(): string;
6
7
  abstract get headPic(): string;
7
8
  abstract get headPics(): string[];
@@ -39,6 +40,7 @@ declare class ItemInfoProxyV1 extends ItemInfoProxy {
39
40
  constructor(itemInfo: PosDto.IPositiveItemInfo);
40
41
  get raw(): PosDto.IPositiveItemInfo;
41
42
  get id(): string;
43
+ get _id(): string;
42
44
  get name(): string;
43
45
  get headPic(): string;
44
46
  get headPics(): string[];
@@ -91,6 +93,7 @@ declare class ItemInfoProxyV2 extends ItemInfoProxy {
91
93
  constructor(itemInfo: PosDto.IPositiveItemInfoV2);
92
94
  get raw(): PosDto.IPositiveItemInfoV2;
93
95
  get id(): string;
96
+ get _id(): string;
94
97
  get name(): string;
95
98
  get headPic(): string;
96
99
  get headPics(): string[];
@@ -12,6 +12,7 @@ class ItemInfoProxyV1 extends ItemInfoProxy {
12
12
  // share
13
13
  get raw() { return this.itemInfo; }
14
14
  get id() { return this.itemInfo._id; }
15
+ get _id() { return this.itemInfo._id; }
15
16
  get name() { return this.itemInfo.name; }
16
17
  get headPic() { return this.itemInfo.headPics[0]; }
17
18
  get headPics() { return this.itemInfo.headPics; }
@@ -59,6 +60,7 @@ class ItemInfoProxyV2 extends ItemInfoProxy {
59
60
  // share
60
61
  get raw() { return this.itemInfo; }
61
62
  get id() { return this.itemInfo._id; }
63
+ get _id() { return this.itemInfo._id; }
62
64
  get name() { return this.itemInfo.name; }
63
65
  get headPic() { return this.itemInfo.basicInfo.headPics[0]; }
64
66
  get headPics() { return this.itemInfo.basicInfo.headPics; }