@be-link/cs-cli-nodejs 0.0.153 → 0.0.155
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.
|
@@ -9,7 +9,7 @@ declare class QueryByItemService extends BaseService implements QueryByItem.Cont
|
|
|
9
9
|
prefixUrl: string;
|
|
10
10
|
get<K extends (keyof GDto.QueryBlockDataMap)[]>(request: QueryByItem.Request.IGet<K>): Promise<GDto.QueryDataRes<K>>;
|
|
11
11
|
mget<K extends (keyof GDto.QueryBlockDataMap)[]>(request: QueryByItem.Request.IMget<K>): Promise<GDto.QueryDataRes<K>[]>;
|
|
12
|
-
queryItemListByCategory<K extends (keyof GDto.QueryBlockDataMap)[]>(request: QueryByItem.Request.IQueryItemListByCategory<K>): Promise<
|
|
12
|
+
queryItemListByCategory<K extends (keyof GDto.QueryBlockDataMap)[]>(request: QueryByItem.Request.IQueryItemListByCategory<K>): Promise<QueryByItem.Response.IQueryItemList<K>>;
|
|
13
13
|
queryCenterForItem(request: QueryByItem.Request.QueryCenterForItem): Promise<QueryByItem.Response.QueryCenterForItem>;
|
|
14
14
|
/** 根据标签查询商品列表 */
|
|
15
15
|
queryItemListByTag(request: QueryByItem.Request.IQueryItemListByTag): Promise<QueryByItem.Response.IQueryItemListByTag[]>;
|
|
@@ -121,11 +121,15 @@ export declare namespace QueryByItem {
|
|
|
121
121
|
}[];
|
|
122
122
|
total: number;
|
|
123
123
|
};
|
|
124
|
+
interface IQueryItemList<K extends (keyof GDto.QueryBlockDataMap)[]> {
|
|
125
|
+
list: GDto.QueryDataRes<K>[];
|
|
126
|
+
total: number;
|
|
127
|
+
}
|
|
124
128
|
}
|
|
125
129
|
interface Controller {
|
|
126
130
|
get<K extends (keyof GDto.QueryBlockDataMap)[]>(request: Request.IGet<K>): Promise<GDto.QueryDataRes<K>>;
|
|
127
131
|
mget<K extends (keyof GDto.QueryBlockDataMap)[]>(request: Request.IMget<K>): Promise<GDto.QueryDataRes<K>[]>;
|
|
128
|
-
queryItemListByCategory<
|
|
132
|
+
queryItemListByCategory<K extends (keyof GDto.QueryBlockDataMap)[]>(request: Request.IQueryItemListByCategory<K>): Promise<Response.IQueryItemList<K>>;
|
|
129
133
|
/** 根据标签查询商品列表 */
|
|
130
134
|
queryItemListByTag(request: Request.IQueryItemListByTag): Promise<Response.IQueryItemListByTag[]>;
|
|
131
135
|
/** 商品搜索大全 */
|
|
@@ -3,7 +3,7 @@ declare const itemQueryService: {
|
|
|
3
3
|
prefixUrl: string;
|
|
4
4
|
get<K extends (keyof import("../../../types").QueryBlockDataMap)[]>(request: import("./byItem/type").QueryByItem.Request.IGet<K>): Promise<import("../../../types").QueryDataRes<K>>;
|
|
5
5
|
mget<K_1 extends (keyof import("../../../types").QueryBlockDataMap)[]>(request: import("./byItem/type").QueryByItem.Request.IMget<K_1>): Promise<import("../../../types").QueryDataRes<K_1>[]>;
|
|
6
|
-
queryItemListByCategory<K_2 extends (keyof import("../../../types").QueryBlockDataMap)[]>(request: import("./byItem/type").QueryByItem.Request.IQueryItemListByCategory<K_2>): Promise<import("
|
|
6
|
+
queryItemListByCategory<K_2 extends (keyof import("../../../types").QueryBlockDataMap)[]>(request: import("./byItem/type").QueryByItem.Request.IQueryItemListByCategory<K_2>): Promise<import("./byItem/type").QueryByItem.Response.IQueryItemList<K_2>>;
|
|
7
7
|
queryCenterForItem(request: import("./byItem/type").QueryByItem.Request.QueryCenterForItem): Promise<import("./byItem/type").QueryByItem.Response.QueryCenterForItem>;
|
|
8
8
|
queryItemListByTag(request: import("./byItem/type").QueryByItem.Request.IQueryItemListByTag): Promise<import("./byItem/type").QueryByItem.Response.IQueryItemListByTag[]>;
|
|
9
9
|
isPublicEnv: boolean;
|
|
@@ -68,24 +68,26 @@ export declare namespace RoomStockNamespace {
|
|
|
68
68
|
bizId: string;
|
|
69
69
|
/** 供应商ID */
|
|
70
70
|
supplierId: string;
|
|
71
|
-
/** 房间ID列表 */
|
|
72
|
-
roomIds: string[];
|
|
73
71
|
/** 日期列表 */
|
|
74
72
|
dates: number[];
|
|
75
|
-
/**
|
|
76
|
-
|
|
73
|
+
/** 库存信息 */
|
|
74
|
+
stockInfo: {
|
|
75
|
+
/** 房间Id : 库存数量 */
|
|
76
|
+
[roomId: string]: number;
|
|
77
|
+
};
|
|
77
78
|
}
|
|
78
79
|
interface IRollbackStock {
|
|
79
80
|
/** 业务流水 */
|
|
80
81
|
bizId: string;
|
|
81
82
|
/** 供应商ID */
|
|
82
83
|
supplierId: string;
|
|
83
|
-
/** 房间ID列表 */
|
|
84
|
-
roomIds: string[];
|
|
85
84
|
/** 日期列表 */
|
|
86
85
|
dates: number[];
|
|
87
|
-
/**
|
|
88
|
-
|
|
86
|
+
/** 库存信息 */
|
|
87
|
+
stockInfo: {
|
|
88
|
+
/** 房间Id : 库存数量 */
|
|
89
|
+
[roomId: string]: number;
|
|
90
|
+
};
|
|
89
91
|
}
|
|
90
92
|
interface IQuery {
|
|
91
93
|
/** 供应商ID */
|