@be-link/cs-cli-nodejs 0.1.13 → 0.1.14

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.
@@ -1,6 +1,5 @@
1
1
  import { ItemCategory, ItemStatus } from 'vitality-meta/enums/commodity';
2
2
  import { CommonDescriptionItem, DescriptionContentItem, EntertainmentInfo } from '../../../../types';
3
- import { OrderScene } from 'vitality-meta/enums/pos';
4
3
  export declare namespace ManageByItem {
5
4
  namespace Request {
6
5
  interface prepareItem {
@@ -80,11 +79,23 @@ export declare namespace ManageByItem {
80
79
  operatorName: string;
81
80
  }
82
81
  interface checkItemBeforeOrder {
83
- itemId: string;
84
- comboId: string;
85
- skuId: string;
86
- quantity: number;
87
- scene: OrderScene;
82
+ itemInfo: {
83
+ /** 商品ID */
84
+ id: string;
85
+ /** 商品二级分类 */
86
+ categoryTwo: string;
87
+ /** 套餐信息 */
88
+ combos: {
89
+ /** 套餐ID */
90
+ id: string;
91
+ /** SKU ID列表 */
92
+ skus: string[];
93
+ /** SKU购买份数 */
94
+ quantity: number;
95
+ /** 快捷套餐ID */
96
+ comboShortcutId?: string;
97
+ }[];
98
+ };
88
99
  }
89
100
  }
90
101
  namespace Response { }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@be-link/cs-cli-nodejs",
3
- "version": "0.1.13",
3
+ "version": "0.1.14",
4
4
  "description": "商品服务Nodejs客户端",
5
5
  "main": "index.js",
6
6
  "scripts": {