@be-link/ecommerce-client-backend-service-node-sdk 0.1.95 → 0.1.97

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.
@@ -11,6 +11,7 @@ declare class RoomServiceClass extends BaseService implements RoomService.BaseCo
11
11
  getShareCover(request: RoomService.Request.GetShareCover): Promise<RoomService.Response.GetShareCover>;
12
12
  settle(request: RoomService.Request.settle): Promise<RoomService.Response.settle>;
13
13
  roomStatus(request: RoomService.Request.RoomStatus): Promise<RoomService.Response.RoomStatus>;
14
+ listQuickCommentContent(request: RoomService.Request.ListQuickCommentContent): Promise<RoomService.Response.ListQuickCommentContent>;
14
15
  getBindStore(request: RoomService.Request.GetBindStore): Promise<RoomService.Response.GetBindStore>;
15
16
  bindStore(request: RoomService.Request.BindStore): Promise<void>;
16
17
  /** 根据门店绑定关系查询直播间列表 */
@@ -45,6 +45,9 @@ let RoomServiceClass = class RoomServiceClass extends BaseService_1.default {
45
45
  roomStatus(request) {
46
46
  return (0, http_1.callApi)(this.getApiUrl(this.roomStatus), request);
47
47
  }
48
+ listQuickCommentContent(request) {
49
+ return (0, http_1.callApi)(this.getApiUrl(this.listQuickCommentContent), request);
50
+ }
48
51
  getBindStore(request) {
49
52
  return (0, http_1.callApi)(this.getApiUrl(this.getBindStore), request);
50
53
  }
@@ -122,6 +125,11 @@ __decorate([
122
125
  (0, tsoa_1.Post)('room-status'),
123
126
  __param(0, (0, tsoa_1.Body)())
124
127
  ], RoomServiceClass.prototype, "roomStatus", null);
128
+ __decorate([
129
+ (0, tsoa_1.OperationId)('获取直播间快捷评论内容'),
130
+ (0, tsoa_1.Post)('list-quick-comment-content'),
131
+ __param(0, (0, tsoa_1.Body)())
132
+ ], RoomServiceClass.prototype, "listQuickCommentContent", null);
125
133
  __decorate([
126
134
  (0, tsoa_1.OperationId)('绑定门店列表查询'),
127
135
  (0, tsoa_1.Post)('get-bind-store'),
@@ -54,6 +54,13 @@ export declare namespace RoomService {
54
54
  interface RoomStatus {
55
55
  id: string;
56
56
  }
57
+ /**
58
+ * 获取直播间快捷评论内容
59
+ */
60
+ interface ListQuickCommentContent {
61
+ /** 直播间ID */
62
+ liveStreamRoomId: string;
63
+ }
57
64
  /**
58
65
  * 绑定门店列表查询
59
66
  */
@@ -236,6 +243,12 @@ export declare namespace RoomService {
236
243
  id: string;
237
244
  status: ENUM.ROOM.STATUS;
238
245
  }
246
+ /**
247
+ * 直播间快捷评论内容
248
+ */
249
+ interface ListQuickCommentContent {
250
+ quickComments: string[];
251
+ }
239
252
  /**
240
253
  * 绑定门店列表响应
241
254
  */
@@ -369,6 +382,7 @@ export declare namespace RoomService {
369
382
  uploadShareCover(request: Request.UploadShareCover, req?: FastifyRequest): Promise<Response.UploadShareCover>;
370
383
  settle(request: Request.settle, req?: FastifyRequest): Promise<Response.settle>;
371
384
  roomStatus(request: Request.RoomStatus, req?: FastifyRequest): Promise<Response.RoomStatus>;
385
+ listQuickCommentContent(request: Request.ListQuickCommentContent, req?: FastifyRequest): Promise<Response.ListQuickCommentContent>;
372
386
  getBindStore(request: Request.GetBindStore, req?: FastifyRequest): Promise<Response.GetBindStore>;
373
387
  bindStore(request: Request.BindStore, req?: FastifyRequest): Promise<void>;
374
388
  /**
@@ -28,6 +28,8 @@ export declare namespace UserDataService {
28
28
  storeId?: string;
29
29
  /** 门店ID列表 */
30
30
  storeIds?: string[];
31
+ /** 城市名称列表(按用户绑定门店 basicInfo.city 多选筛选) */
32
+ cityNames?: string[];
31
33
  /** 可用积分范围 [最小值, 最大值] */
32
34
  availablePointsRange?: number[];
33
35
  /** 福利官ID列表 */
@@ -313,6 +315,8 @@ export interface UserInfo {
313
315
  storeId: string;
314
316
  /** 门店名称 */
315
317
  storeName: string;
318
+ /** 城市名称 */
319
+ cityName: string;
316
320
  /** BD名称 */
317
321
  bdName: string;
318
322
  /** 用户名 */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@be-link/ecommerce-client-backend-service-node-sdk",
3
- "version": "0.1.95",
3
+ "version": "0.1.97",
4
4
  "description": "EcommerceClientBackendService Node.js SDK",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",