@be-link/cs-cli-nodejs 0.1.55 → 0.1.56
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 +1 -1
- package/types.d.ts +56 -0
package/package.json
CHANGED
package/types.d.ts
CHANGED
|
@@ -287,3 +287,59 @@ export interface IItemRoomSaleBindCondition {
|
|
|
287
287
|
export type QueryDataRes<K extends (keyof QueryBlockDataMap)[]> = {
|
|
288
288
|
[key in K[number]]: QueryBlockDataMap[key];
|
|
289
289
|
};
|
|
290
|
+
/** 商品宽表 */
|
|
291
|
+
interface IItemSearchInfo {
|
|
292
|
+
/** 商品ID */
|
|
293
|
+
id: string;
|
|
294
|
+
/** 创建时间 */
|
|
295
|
+
createdAt: number;
|
|
296
|
+
/** 更新时间 */
|
|
297
|
+
updatedAt: number;
|
|
298
|
+
/** 删除时间 */
|
|
299
|
+
deletedAt: number;
|
|
300
|
+
/** 商品名称 */
|
|
301
|
+
itemName: string;
|
|
302
|
+
/** 商品销量 */
|
|
303
|
+
saleCount: number;
|
|
304
|
+
/** 是否仅员工可见 */
|
|
305
|
+
itemIsOnlyStaffCanSee: boolean;
|
|
306
|
+
/** 商品最低售卖价 */
|
|
307
|
+
itemSalePrice: number;
|
|
308
|
+
/** 一级类目 */
|
|
309
|
+
categoryOne: string;
|
|
310
|
+
/** 二级类目 */
|
|
311
|
+
categoryTwo: string;
|
|
312
|
+
/** 门店ID */
|
|
313
|
+
venueId: string;
|
|
314
|
+
/** 门店省份 */
|
|
315
|
+
venueProvince: string;
|
|
316
|
+
/** 门店城市 */
|
|
317
|
+
venueCity: string;
|
|
318
|
+
/** 门店行政区 */
|
|
319
|
+
venueDistrict: string;
|
|
320
|
+
/** 空间位置信息(WGS84) */
|
|
321
|
+
venueGis: any;
|
|
322
|
+
/** 最低会员价格 */
|
|
323
|
+
minMemberPrice: number;
|
|
324
|
+
/** 最大SKU剩余数量 */
|
|
325
|
+
maxSkuSurplus: number;
|
|
326
|
+
/** 地址描述 */
|
|
327
|
+
venueAddress: string;
|
|
328
|
+
/** 适用城市 */
|
|
329
|
+
cityList: any;
|
|
330
|
+
/** 是否仅工作人员可见 */
|
|
331
|
+
itemIsPrivateInfo: boolean;
|
|
332
|
+
/** 是否新商品 */
|
|
333
|
+
isMigration: number;
|
|
334
|
+
/** 商品状态 */
|
|
335
|
+
status: string;
|
|
336
|
+
/** 套餐库存 */
|
|
337
|
+
comboStock: object;
|
|
338
|
+
/** 是否与农场合作 */
|
|
339
|
+
isFarmHouseCollaborated: boolean;
|
|
340
|
+
}
|
|
341
|
+
/** 商品信息查询结果 */
|
|
342
|
+
export type QueryItemSearchInfoRes<K extends (keyof IItemSearchInfo)[]> = {
|
|
343
|
+
[key in K[number]]: IItemSearchInfo[key];
|
|
344
|
+
};
|
|
345
|
+
export {};
|