@be-link/ecommerce-trade-service-node-sdk 0.1.36 → 0.1.38

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.d.ts CHANGED
@@ -15,6 +15,6 @@ export declare const PayChannelMap: Record<ENUM.PayChannel, string>;
15
15
  export declare const PayPlatformMap: Record<ENUM.PayPlatform, string>;
16
16
  export declare const PayWayMap: Record<ENUM.PayWay, string>;
17
17
  /** 交易 MQ */
18
- export declare const TradeVHOST = "etrade";
18
+ export declare const TradeVHOST = "ecommerce";
19
19
  export declare const POSTopicName = "trade-positive-topic";
20
20
  export declare const ROSTopicName = "trade-reverse-topic";
package/consts.js CHANGED
@@ -98,7 +98,7 @@ exports.PayWayMap = {
98
98
  [enums_1.ENUM.PayWay.VOUCHER]: '核销券',
99
99
  };
100
100
  /** 交易 MQ */
101
- exports.TradeVHOST = 'etrade';
101
+ exports.TradeVHOST = 'ecommerce';
102
102
  // 交易 正向订单 TOPIC
103
103
  exports.POSTopicName = 'trade-positive-topic';
104
104
  // 逆向订单 TOPIC
@@ -83,7 +83,6 @@ export declare namespace PosOrderQueryService {
83
83
  statusList?: ENUM.OrderStatus[];
84
84
  orderTypeList?: ENUM.OrderType[];
85
85
  refundStatusList?: ENUM.OrderRefundStatus[];
86
- verificationStatusList?: ENUM.OrderVerificationStatus[];
87
86
  productPickList?: string[];
88
87
  productDispatchList?: string[];
89
88
  createdAt?: Dto.ITimeRange;
@@ -187,7 +186,6 @@ export declare namespace PosOrderQueryService {
187
186
  pointsNum: number;
188
187
  orderStatus: ENUM.OrderStatus;
189
188
  refundStatus: ENUM.OrderRefundStatus;
190
- verificationStatus: ENUM.OrderVerificationStatus;
191
189
  receiverName: string;
192
190
  receiverPhone: string;
193
191
  productPick: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@be-link/ecommerce-trade-service-node-sdk",
3
- "version": "0.1.36",
3
+ "version": "0.1.38",
4
4
  "description": "EcommerceTradeService Node.js SDK",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/types.d.ts CHANGED
@@ -13,7 +13,6 @@ export interface ITradeOrder {
13
13
  status: ENUM.OrderStatus;
14
14
  payStatus: ENUM.OrderPayStatus;
15
15
  refundStatus: ENUM.OrderRefundStatus;
16
- verificationStatus: ENUM.OrderVerificationStatus;
17
16
  storeId: string;
18
17
  liveRoomId: string;
19
18
  totalAmount: number;
@@ -251,6 +250,10 @@ export interface RosOrderPayload {
251
250
  refundWay: ENUM.ReverseRefundWay;
252
251
  /** 退款份数 */
253
252
  quantity: number;
253
+ /** 退款金额 */
254
+ refundAmount: number;
255
+ /** 直播间ID */
256
+ liveRoomId: string;
254
257
  }
255
258
  export interface RosOrderHeaders {
256
259
  /** 是否全单退(0=否,1=是)退最后一份也算全单退 */