@be-link/ecommerce-trade-service-node-sdk 0.1.24 → 0.1.26

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/consts.js CHANGED
@@ -79,6 +79,7 @@ exports.ReverseRefundWayMap = {
79
79
  [enums_1.ENUM.ReverseRefundWay.USER_MANUAL]: '主动退款',
80
80
  [enums_1.ENUM.ReverseRefundWay.REVIEW]: '审核退款',
81
81
  [enums_1.ENUM.ReverseRefundWay.FAST]: '极速退款',
82
+ [enums_1.ENUM.ReverseRefundWay.MERCHANT_MANUAL]: '商家主动退款',
82
83
  };
83
84
  exports.PayChannelMap = {
84
85
  [enums_1.ENUM.PayChannel.WX_PAY]: '微信支付',
package/enums.d.ts CHANGED
@@ -141,7 +141,9 @@ export declare namespace ENUM {
141
141
  /** 审核退款 */
142
142
  REVIEW = "REVIEW",
143
143
  /** 极速退款 */
144
- FAST = "FAST"
144
+ FAST = "FAST",
145
+ /** 商家手动退款 */
146
+ MERCHANT_MANUAL = "MERCHANT_MANUAL"
145
147
  }
146
148
  /** 支付渠道 */
147
149
  enum PayChannel {
@@ -214,6 +216,19 @@ export declare namespace ENUM {
214
216
  /** 自主核销 */
215
217
  USER = "USER"
216
218
  }
219
+ /** 退款处理类型枚举 */
220
+ enum ReverseRefundHandlerEnum {
221
+ /** 极速退款 */
222
+ FAST = "FAST",
223
+ /** 普通退款 */
224
+ NORMAL = "NORMAL",
225
+ /** 积分商城退款 */
226
+ POINTS = "POINTS",
227
+ /** 核销券退款 */
228
+ COUPON = "COUPON",
229
+ /** 商家手动退款 */
230
+ MERCHANT_MANUAL = "MERCHANT_MANUAL"
231
+ }
217
232
  }
218
233
  /** RabbitMQ 交换机路由枚举 */
219
234
  export declare namespace EXCHANGE_ENUM {
package/enums.js CHANGED
@@ -158,6 +158,8 @@ var ENUM;
158
158
  ReverseRefundWay["REVIEW"] = "REVIEW";
159
159
  /** 极速退款 */
160
160
  ReverseRefundWay["FAST"] = "FAST";
161
+ /** 商家手动退款 */
162
+ ReverseRefundWay["MERCHANT_MANUAL"] = "MERCHANT_MANUAL";
161
163
  })(ReverseRefundWay = ENUM.ReverseRefundWay || (ENUM.ReverseRefundWay = {}));
162
164
  /** 支付渠道 */
163
165
  let PayChannel;
@@ -238,6 +240,20 @@ var ENUM;
238
240
  /** 自主核销 */
239
241
  VerificationType["USER"] = "USER";
240
242
  })(VerificationType = ENUM.VerificationType || (ENUM.VerificationType = {}));
243
+ /** 退款处理类型枚举 */
244
+ let ReverseRefundHandlerEnum;
245
+ (function (ReverseRefundHandlerEnum) {
246
+ /** 极速退款 */
247
+ ReverseRefundHandlerEnum["FAST"] = "FAST";
248
+ /** 普通退款 */
249
+ ReverseRefundHandlerEnum["NORMAL"] = "NORMAL";
250
+ /** 积分商城退款 */
251
+ ReverseRefundHandlerEnum["POINTS"] = "POINTS";
252
+ /** 核销券退款 */
253
+ ReverseRefundHandlerEnum["COUPON"] = "COUPON";
254
+ /** 商家手动退款 */
255
+ ReverseRefundHandlerEnum["MERCHANT_MANUAL"] = "MERCHANT_MANUAL";
256
+ })(ReverseRefundHandlerEnum = ENUM.ReverseRefundHandlerEnum || (ENUM.ReverseRefundHandlerEnum = {}));
241
257
  })(ENUM || (exports.ENUM = ENUM = {}));
242
258
  /** RabbitMQ 交换机路由枚举 */
243
259
  var EXCHANGE_ENUM;
@@ -245,6 +245,8 @@ export declare namespace PosOrderQueryService {
245
245
  source: ENUM.OrderSource;
246
246
  platform: ENUM.OrderPlatform;
247
247
  status: ENUM.OrderStatus;
248
+ /** 退款状态 */
249
+ refundStatus: ENUM.OrderRefundStatus;
248
250
  orderType: ENUM.OrderType;
249
251
  dispatchWay: string;
250
252
  productPick: string;
@@ -451,6 +453,8 @@ export declare namespace PosOrderQueryService {
451
453
  source: ENUM.OrderSource;
452
454
  /** 订单类型 */
453
455
  orderType: ENUM.OrderType;
456
+ /** 积分数 */
457
+ pointNum: number;
454
458
  }
455
459
  interface IOrderList {
456
460
  /** 订单列表 */
@@ -491,6 +495,10 @@ export declare namespace PosOrderQueryService {
491
495
  detailAddress?: string;
492
496
  /** 申请退款状态 */
493
497
  applyRefund: ENUM.ApplyRefundStatus;
498
+ /** 订单来源 */
499
+ source: ENUM.OrderSource;
500
+ /** 积分数 */
501
+ pointNum: number;
494
502
  };
495
503
  /** 商品信息 */
496
504
  product: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@be-link/ecommerce-trade-service-node-sdk",
3
- "version": "0.1.24",
3
+ "version": "0.1.26",
4
4
  "description": "EcommerceTradeService Node.js SDK",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",