@be-link/cs-cli-nodejs 0.0.41 → 0.0.42

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 +31 -9
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@be-link/cs-cli-nodejs",
3
- "version": "0.0.41",
3
+ "version": "0.0.42",
4
4
  "description": "商品服务Nodejs客户端",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/types.d.ts CHANGED
@@ -124,6 +124,15 @@ export interface EntertainmentDescItem {
124
124
  value: string;
125
125
  }[];
126
126
  }
127
+ /** 娱乐信息介绍 */
128
+ export interface EntertainmentIntroItem {
129
+ title: string;
130
+ value: string;
131
+ }
132
+ export interface EntertainmentInfo {
133
+ introduction: EntertainmentIntroItem[];
134
+ description: EntertainmentDescItem;
135
+ }
127
136
  export interface IHotelItemInfo {
128
137
  /** 服务场所信息 */
129
138
  venueId: string;
@@ -131,15 +140,9 @@ export interface IHotelItemInfo {
131
140
  supplierId: string;
132
141
  /** 娱乐信息 */
133
142
  entertainmentInfo: {
134
- ktv: {
135
- introduction: {
136
- title: string;
137
- value: string;
138
- }[];
139
- description: EntertainmentDescItem;
140
- };
141
- card: EntertainmentDescItem;
142
- swimmingPool: EntertainmentDescItem;
143
+ ktv: EntertainmentInfo;
144
+ card: EntertainmentInfo;
145
+ swimmingPool: EntertainmentInfo;
143
146
  };
144
147
  }
145
148
  /**
@@ -211,6 +214,7 @@ export interface IItemComboShortcut {
211
214
  description: DescriptionContentItem[];
212
215
  }
213
216
  export interface IItemComboStock {
217
+ id: string;
214
218
  itemId: string;
215
219
  comboId: string;
216
220
  status: commodityEnums.CommonSaleStatus;
@@ -227,6 +231,24 @@ export interface IItemComboStock {
227
231
  createdAt: number;
228
232
  updatedAt: number;
229
233
  }
234
+ export interface IItemSalesDescription {
235
+ id: string;
236
+ /**
237
+ * 业务运营
238
+ */
239
+ bizOperators: string[];
240
+ /**
241
+ * 业务开发
242
+ */
243
+ bizDevelopers: string[];
244
+ /**
245
+ * 销售描述
246
+ */
247
+ description: {
248
+ title: string;
249
+ subCategory: DescriptionContentItem[];
250
+ }[];
251
+ }
230
252
  /** 商品信息查询结果 */
231
253
  export type QueryDataRes<K extends (keyof QueryBlockDataMap)[]> = {
232
254
  [key in K[number]]: QueryBlockDataMap[key];