@be-link/ecommerce-client-backend-service-node-sdk 0.1.19 → 0.1.20

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/enum.d.ts CHANGED
@@ -206,15 +206,15 @@ export declare namespace ENUM {
206
206
  */
207
207
  namespace MQ {
208
208
  enum VHOST {
209
- ClientBackend = "client-backend"
209
+ Livestream = "ecommerce"
210
210
  }
211
211
  /**
212
212
  * 主题
213
213
  */
214
214
  enum TOPIC {
215
215
  UserReport = "user-report",
216
- TotalDuration = "total-duration",
217
- TaskTotalDuration = "task-total-duration"
216
+ TaskDuration = "task-duration",
217
+ TotalDuration = "total-duration"
218
218
  }
219
219
  /**
220
220
  * 路由键
@@ -226,9 +226,8 @@ export declare namespace ENUM {
226
226
  * 队列
227
227
  */
228
228
  enum QUEUE {
229
- UserReportQueue = "user-report-action",
230
- TotalDuration = "total-duration-queue",
231
- TaskTotalDuration = "task-total-duration-queue"
229
+ TotalDuration = "total-duration",
230
+ TaskDuration = "task-duration"
232
231
  }
233
232
  }
234
233
  /**
package/enum.js CHANGED
@@ -234,7 +234,7 @@ var ENUM;
234
234
  (function (MQ) {
235
235
  let VHOST;
236
236
  (function (VHOST) {
237
- VHOST["ClientBackend"] = "client-backend";
237
+ VHOST["Livestream"] = "ecommerce";
238
238
  })(VHOST = MQ.VHOST || (MQ.VHOST = {}));
239
239
  /**
240
240
  * 主题
@@ -242,8 +242,8 @@ var ENUM;
242
242
  let TOPIC;
243
243
  (function (TOPIC) {
244
244
  TOPIC["UserReport"] = "user-report";
245
+ TOPIC["TaskDuration"] = "task-duration";
245
246
  TOPIC["TotalDuration"] = "total-duration";
246
- TOPIC["TaskTotalDuration"] = "task-total-duration";
247
247
  })(TOPIC = MQ.TOPIC || (MQ.TOPIC = {}));
248
248
  /**
249
249
  * 路由键
@@ -257,9 +257,8 @@ var ENUM;
257
257
  */
258
258
  let QUEUE;
259
259
  (function (QUEUE) {
260
- QUEUE["UserReportQueue"] = "user-report-action";
261
- QUEUE["TotalDuration"] = "total-duration-queue";
262
- QUEUE["TaskTotalDuration"] = "task-total-duration-queue";
260
+ QUEUE["TotalDuration"] = "total-duration";
261
+ QUEUE["TaskDuration"] = "task-duration";
263
262
  })(QUEUE = MQ.QUEUE || (MQ.QUEUE = {}));
264
263
  })(MQ = ENUM.MQ || (ENUM.MQ = {}));
265
264
  /**
@@ -82,6 +82,8 @@ export declare namespace DataService {
82
82
  interface Archive {
83
83
  /** 直播间id */
84
84
  liveStreamRoomId: string;
85
+ /** 直播间状态 */
86
+ status: ENUM.LIVE_STREAM_AUDIENCE.VIEW_TYPE;
85
87
  }
86
88
  }
87
89
  namespace Response {
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.19",
3
+ "version": "0.1.20",
4
4
  "description": "EcommerceClientBackendService Node.js SDK",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",