@be-link/ecommerce-client-backend-service-node-sdk 0.1.92 → 0.1.93
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.
|
@@ -19,6 +19,7 @@ declare class RoomServiceClass extends BaseService implements RoomService.BaseCo
|
|
|
19
19
|
viewRecord(request: RoomService.Request.ViewRecord): Promise<RoomService.Response.ViewRecord>;
|
|
20
20
|
/** 门店直播规则查询 */
|
|
21
21
|
storeLiveStreamRule(request: RoomService.Request.StoreLiveStreamRule): Promise<RoomService.Response.StoreLiveStreamRule>;
|
|
22
|
+
isNewCustomerLiveRoom(request: RoomService.Request.IsNewCustomerLiveRoom): Promise<RoomService.Response.IsNewCustomerLiveRoom>;
|
|
22
23
|
searchByName(request: RoomService.Request.SearchByName): Promise<RoomService.Response.SearchByName>;
|
|
23
24
|
getBasicInfo(request: RoomService.Request.GetBasicInfo): Promise<RoomService.Response.GetBasicInfo>;
|
|
24
25
|
getRoomTagValues(request: RoomService.Request.GetRoomTagValues): Promise<RoomService.Response.GetRoomTagValues>;
|
package/modules/room/service.js
CHANGED
|
@@ -63,6 +63,9 @@ let RoomServiceClass = class RoomServiceClass extends BaseService_1.default {
|
|
|
63
63
|
storeLiveStreamRule(request) {
|
|
64
64
|
return (0, http_1.callApi)(this.getApiUrl(this.storeLiveStreamRule), request);
|
|
65
65
|
}
|
|
66
|
+
isNewCustomerLiveRoom(request) {
|
|
67
|
+
return (0, http_1.callApi)(this.getApiUrl(this.isNewCustomerLiveRoom), request);
|
|
68
|
+
}
|
|
66
69
|
searchByName(request) {
|
|
67
70
|
return (0, http_1.callApi)(this.getApiUrl(this.searchByName), request);
|
|
68
71
|
}
|
|
@@ -144,6 +147,11 @@ __decorate([
|
|
|
144
147
|
(0, tsoa_1.Post)('store-live-stream-rule'),
|
|
145
148
|
__param(0, (0, tsoa_1.Body)())
|
|
146
149
|
], RoomServiceClass.prototype, "storeLiveStreamRule", null);
|
|
150
|
+
__decorate([
|
|
151
|
+
(0, tsoa_1.OperationId)('查询是否新客直播间'),
|
|
152
|
+
(0, tsoa_1.Post)('is-new-customer-live-room'),
|
|
153
|
+
__param(0, (0, tsoa_1.Body)())
|
|
154
|
+
], RoomServiceClass.prototype, "isNewCustomerLiveRoom", null);
|
|
147
155
|
__decorate([
|
|
148
156
|
(0, tsoa_1.OperationId)('根据名称搜索房间'),
|
|
149
157
|
(0, tsoa_1.Post)('search-by-name'),
|
package/modules/room/types.d.ts
CHANGED
|
@@ -67,6 +67,13 @@ export declare namespace RoomService {
|
|
|
67
67
|
/** 门店ID */
|
|
68
68
|
storeId: string;
|
|
69
69
|
}
|
|
70
|
+
/**
|
|
71
|
+
* 查询是否新客直播间
|
|
72
|
+
*/
|
|
73
|
+
interface IsNewCustomerLiveRoom {
|
|
74
|
+
/** 直播间ID */
|
|
75
|
+
liveStreamRoomId: string;
|
|
76
|
+
}
|
|
70
77
|
/**
|
|
71
78
|
* 绑定门店
|
|
72
79
|
*/
|
|
@@ -253,6 +260,13 @@ export declare namespace RoomService {
|
|
|
253
260
|
interface StoreLiveStreamRule {
|
|
254
261
|
rule: boolean;
|
|
255
262
|
}
|
|
263
|
+
/**
|
|
264
|
+
* 查询是否新客直播间响应
|
|
265
|
+
*/
|
|
266
|
+
interface IsNewCustomerLiveRoom {
|
|
267
|
+
/** 是否新客直播间 */
|
|
268
|
+
isNewCustomerLiveRoom: boolean;
|
|
269
|
+
}
|
|
256
270
|
/**
|
|
257
271
|
* 房间基本信息
|
|
258
272
|
*/
|
|
@@ -363,6 +377,10 @@ export declare namespace RoomService {
|
|
|
363
377
|
listByStoreBind(request: Request.ListByStoreBind, req?: FastifyRequest): Promise<Response.ListByStoreBind>;
|
|
364
378
|
viewRecord(request: Request.ViewRecord, req?: FastifyRequest): Promise<Response.ViewRecord>;
|
|
365
379
|
storeLiveStreamRule(request: Request.StoreLiveStreamRule, req?: FastifyRequest): Promise<Response.StoreLiveStreamRule>;
|
|
380
|
+
/**
|
|
381
|
+
* 查询是否新客直播间
|
|
382
|
+
*/
|
|
383
|
+
isNewCustomerLiveRoom(request: Request.IsNewCustomerLiveRoom, req?: FastifyRequest): Promise<Response.IsNewCustomerLiveRoom>;
|
|
366
384
|
/**
|
|
367
385
|
* 根据名称搜索房间
|
|
368
386
|
*/
|