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

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.
@@ -138,10 +138,6 @@ export declare namespace ServiceVenue {
138
138
  starLevel: number;
139
139
  /** 钻级 */
140
140
  diamondLevel: number;
141
- /** 电话 */
142
- phone: string;
143
- /** 联系人 */
144
- contactName: string;
145
141
  }
146
142
  /** 创建门店 */
147
143
  interface ICreateServiceVenueRes {
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.43",
4
4
  "description": "商品服务Nodejs客户端",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/types.d.ts CHANGED
@@ -45,8 +45,8 @@ export interface IItemBasicInfo {
45
45
  headPics: string[];
46
46
  /** 微信视频号信息 */
47
47
  wxChannelInfo: {
48
- finderId: string;
49
- feedId: string;
48
+ finderId?: string;
49
+ feedId?: string;
50
50
  };
51
51
  /** 商品一级类目 */
52
52
  categoryOne: string;
@@ -99,7 +99,13 @@ export interface IItemAttributes {
99
99
  updatedAt: number;
100
100
  /** 商品属性 */
101
101
  attributes: {
102
- [key: string]: number;
102
+ isShareOnly?: number;
103
+ isOnlyStaffCanSee?: number;
104
+ canModifyMeal?: number;
105
+ canUseCakeCoupon?: number;
106
+ isSelfLead?: number;
107
+ needWxGroup?: number;
108
+ isCloseStayMore?: number;
103
109
  };
104
110
  /** 是否仅分享 */
105
111
  isShareOnly: number;
@@ -124,6 +130,15 @@ export interface EntertainmentDescItem {
124
130
  value: string;
125
131
  }[];
126
132
  }
133
+ /** 娱乐信息介绍 */
134
+ export interface EntertainmentIntroItem {
135
+ title: string;
136
+ value: string;
137
+ }
138
+ export interface EntertainmentInfo {
139
+ introduction: EntertainmentIntroItem[];
140
+ description: EntertainmentDescItem;
141
+ }
127
142
  export interface IHotelItemInfo {
128
143
  /** 服务场所信息 */
129
144
  venueId: string;
@@ -131,15 +146,9 @@ export interface IHotelItemInfo {
131
146
  supplierId: string;
132
147
  /** 娱乐信息 */
133
148
  entertainmentInfo: {
134
- ktv: {
135
- introduction: {
136
- title: string;
137
- value: string;
138
- }[];
139
- description: EntertainmentDescItem;
140
- };
141
- card: EntertainmentDescItem;
142
- swimmingPool: EntertainmentDescItem;
149
+ ktv: EntertainmentInfo;
150
+ card: EntertainmentInfo;
151
+ swimmingPool: EntertainmentInfo;
143
152
  };
144
153
  }
145
154
  /**
@@ -211,6 +220,7 @@ export interface IItemComboShortcut {
211
220
  description: DescriptionContentItem[];
212
221
  }
213
222
  export interface IItemComboStock {
223
+ id: string;
214
224
  itemId: string;
215
225
  comboId: string;
216
226
  status: commodityEnums.CommonSaleStatus;
@@ -227,6 +237,24 @@ export interface IItemComboStock {
227
237
  createdAt: number;
228
238
  updatedAt: number;
229
239
  }
240
+ export interface IItemSalesDescription {
241
+ id: string;
242
+ /**
243
+ * 业务运营
244
+ */
245
+ bizOperators: string[];
246
+ /**
247
+ * 业务开发
248
+ */
249
+ bizDevelopers: string[];
250
+ /**
251
+ * 销售描述
252
+ */
253
+ description: {
254
+ title: string;
255
+ subCategory: DescriptionContentItem[];
256
+ }[];
257
+ }
230
258
  /** 商品信息查询结果 */
231
259
  export type QueryDataRes<K extends (keyof QueryBlockDataMap)[]> = {
232
260
  [key in K[number]]: QueryBlockDataMap[key];