@be-link/ecommerce-backend-bff-service-node-sdk 0.0.54 → 0.0.55

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.
@@ -56,4 +56,10 @@ export declare class PandoraRoomService extends BaseService implements Service.B
56
56
  * @returns Promise,解析为标准响应格式
57
57
  */
58
58
  bindStore(request: Service.Request.BindStore): Promise<StandardResponse<void>>;
59
+ /**
60
+ * 根据门店绑定关系查询直播间列表
61
+ * @param request - 请求参数
62
+ * @returns Promise,解析为标准响应格式
63
+ */
64
+ listByStoreBind(request: Service.Request.ListByStoreBind): Promise<StandardResponse<Service.Response.ListByStoreBind>>;
59
65
  }
@@ -79,5 +79,13 @@ class PandoraRoomService extends BaseService_1.default {
79
79
  bindStore(request) {
80
80
  return this.request(this.bindStore, request);
81
81
  }
82
+ /**
83
+ * 根据门店绑定关系查询直播间列表
84
+ * @param request - 请求参数
85
+ * @returns Promise,解析为标准响应格式
86
+ */
87
+ listByStoreBind(request) {
88
+ return this.request(this.listByStoreBind, request);
89
+ }
82
90
  }
83
91
  exports.PandoraRoomService = PandoraRoomService;
@@ -80,6 +80,17 @@ export declare namespace RoomService {
80
80
  /** 门店ID列表 */
81
81
  bind: string[];
82
82
  }
83
+ /**
84
+ * 根据门店绑定关系查询直播间列表
85
+ */
86
+ interface ListByStoreBind {
87
+ /** 门店ID */
88
+ storeId: string;
89
+ /** 页码,从0开始 */
90
+ pageIndex: number;
91
+ /** 每页数量,默认20,最大100 */
92
+ pageSize?: number;
93
+ }
83
94
  }
84
95
  namespace Response {
85
96
  /**
@@ -134,6 +145,13 @@ export declare namespace RoomService {
134
145
  /** 门店总数 */
135
146
  total: number;
136
147
  }
148
+ /**
149
+ * 根据门店绑定关系查询直播间列表响应
150
+ */
151
+ interface ListByStoreBind {
152
+ list: Room[];
153
+ total: number;
154
+ }
137
155
  }
138
156
  interface BaseController {
139
157
  list(request: Request.List): Promise<StandardResponse<Response.List>>;
@@ -144,6 +162,7 @@ export declare namespace RoomService {
144
162
  roomStatus(request: Request.RoomStatus): Promise<StandardResponse<Response.RoomStatus>>;
145
163
  getBindStore(request: Request.GetBindStore): Promise<StandardResponse<Response.GetBindStore>>;
146
164
  bindStore(request: Request.BindStore): Promise<StandardResponse<void>>;
165
+ listByStoreBind(request: Request.ListByStoreBind): Promise<StandardResponse<Response.ListByStoreBind>>;
147
166
  }
148
167
  }
149
168
  /**
@@ -56,4 +56,10 @@ export declare class PandoraRoomService extends BaseService implements Service.B
56
56
  * @returns Promise,解析为标准响应格式
57
57
  */
58
58
  bindStore(request: Service.Request.BindStore): Promise<StandardResponse<void>>;
59
+ /**
60
+ * 根据门店绑定关系查询直播间列表
61
+ * @param request - 请求参数
62
+ * @returns Promise,解析为标准响应格式
63
+ */
64
+ listByStoreBind(request: Service.Request.ListByStoreBind): Promise<StandardResponse<Service.Response.ListByStoreBind>>;
59
65
  }
@@ -73,4 +73,12 @@ export class PandoraRoomService extends BaseService {
73
73
  bindStore(request) {
74
74
  return this.request(this.bindStore, request);
75
75
  }
76
+ /**
77
+ * 根据门店绑定关系查询直播间列表
78
+ * @param request - 请求参数
79
+ * @returns Promise,解析为标准响应格式
80
+ */
81
+ listByStoreBind(request) {
82
+ return this.request(this.listByStoreBind, request);
83
+ }
76
84
  }
@@ -80,6 +80,17 @@ export declare namespace RoomService {
80
80
  /** 门店ID列表 */
81
81
  bind: string[];
82
82
  }
83
+ /**
84
+ * 根据门店绑定关系查询直播间列表
85
+ */
86
+ interface ListByStoreBind {
87
+ /** 门店ID */
88
+ storeId: string;
89
+ /** 页码,从0开始 */
90
+ pageIndex: number;
91
+ /** 每页数量,默认20,最大100 */
92
+ pageSize?: number;
93
+ }
83
94
  }
84
95
  namespace Response {
85
96
  /**
@@ -134,6 +145,13 @@ export declare namespace RoomService {
134
145
  /** 门店总数 */
135
146
  total: number;
136
147
  }
148
+ /**
149
+ * 根据门店绑定关系查询直播间列表响应
150
+ */
151
+ interface ListByStoreBind {
152
+ list: Room[];
153
+ total: number;
154
+ }
137
155
  }
138
156
  interface BaseController {
139
157
  list(request: Request.List): Promise<StandardResponse<Response.List>>;
@@ -144,6 +162,7 @@ export declare namespace RoomService {
144
162
  roomStatus(request: Request.RoomStatus): Promise<StandardResponse<Response.RoomStatus>>;
145
163
  getBindStore(request: Request.GetBindStore): Promise<StandardResponse<Response.GetBindStore>>;
146
164
  bindStore(request: Request.BindStore): Promise<StandardResponse<void>>;
165
+ listByStoreBind(request: Request.ListByStoreBind): Promise<StandardResponse<Response.ListByStoreBind>>;
147
166
  }
148
167
  }
149
168
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@be-link/ecommerce-backend-bff-service-node-sdk",
3
- "version": "0.0.54",
3
+ "version": "0.0.55",
4
4
  "description": "EcommerceBackendBffService Node.js SDK",
5
5
  "type": "commonjs",
6
6
  "main": "./cjs/index.js",
@@ -24,11 +24,6 @@
24
24
  "access": "public"
25
25
  },
26
26
  "dependencies": {
27
- "@be-link/ecommerce-volcengine-open-api-sdk": "^1.0.11",
28
- "@be-link/ecommerce-client-backend-service-node-sdk": "^0.0.7",
29
- "@be-link/ecommerce-tag-service-node-sdk": "^0.0.10",
30
- "@be-link/ecommerce-product-service-node-sdk": "0.0.17",
31
- "@be-link/ecommerce-store-service-node-sdk": "^0.0.12",
32
27
  "axios": "1.13.2"
33
28
  },
34
29
  "devDependencies": {