@be-link/ecommerce-trade-service-node-sdk 0.1.57 → 0.1.59

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/enums.d.ts CHANGED
@@ -229,6 +229,23 @@ export declare namespace ENUM {
229
229
  /** 商家手动退款 */
230
230
  MERCHANT_MANUAL = "MERCHANT_MANUAL"
231
231
  }
232
+ /**
233
+ * 直播状态
234
+ * - 1:直播中。
235
+ * - 2:预告。
236
+ * - 3:回放。
237
+ * - 4:结束。
238
+ */
239
+ enum LiveRoomStatus {
240
+ /** 直播中 */
241
+ LIVE = "1",
242
+ /** 预告 */
243
+ PREVIEW = "2",
244
+ /** 回放 */
245
+ PLAYBACK = "3",
246
+ /** 结束 */
247
+ ENDED = "4"
248
+ }
232
249
  }
233
250
  /** RabbitMQ 交换机路由枚举 */
234
251
  export declare namespace EXCHANGE_ENUM {
package/enums.js CHANGED
@@ -260,6 +260,24 @@ var ENUM;
260
260
  /** 商家手动退款 */
261
261
  ReverseRefundHandlerEnum["MERCHANT_MANUAL"] = "MERCHANT_MANUAL";
262
262
  })(ReverseRefundHandlerEnum = ENUM.ReverseRefundHandlerEnum || (ENUM.ReverseRefundHandlerEnum = {}));
263
+ /**
264
+ * 直播状态
265
+ * - 1:直播中。
266
+ * - 2:预告。
267
+ * - 3:回放。
268
+ * - 4:结束。
269
+ */
270
+ let LiveRoomStatus;
271
+ (function (LiveRoomStatus) {
272
+ /** 直播中 */
273
+ LiveRoomStatus["LIVE"] = "1";
274
+ /** 预告 */
275
+ LiveRoomStatus["PREVIEW"] = "2";
276
+ /** 回放 */
277
+ LiveRoomStatus["PLAYBACK"] = "3";
278
+ /** 结束 */
279
+ LiveRoomStatus["ENDED"] = "4";
280
+ })(LiveRoomStatus = ENUM.LiveRoomStatus || (ENUM.LiveRoomStatus = {}));
263
281
  })(ENUM || (exports.ENUM = ENUM = {}));
264
282
  /** RabbitMQ 交换机路由枚举 */
265
283
  var EXCHANGE_ENUM;
@@ -84,6 +84,8 @@ export declare namespace PosCoreService {
84
84
  skuId: string;
85
85
  /** 直播间ID */
86
86
  liveRoomId?: string;
87
+ /** 直播间状态 */
88
+ liveRoomStatus?: ENUM.LiveRoomStatus;
87
89
  /** 订单来源类型k */
88
90
  source: ENUM.OrderSource;
89
91
  /** 订单来源平台类型 */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@be-link/ecommerce-trade-service-node-sdk",
3
- "version": "0.1.57",
3
+ "version": "0.1.59",
4
4
  "description": "EcommerceTradeService Node.js SDK",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",