@be-link/ecommerce-trade-service-node-sdk 0.1.33 → 0.1.35
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.
|
@@ -22,6 +22,8 @@ export declare namespace PosOrderQueryService {
|
|
|
22
22
|
source: ENUM.OrderSource;
|
|
23
23
|
/** 状态:0-直播、1-回放 */
|
|
24
24
|
status: number;
|
|
25
|
+
/** 订单状态 */
|
|
26
|
+
orderStatus: ENUM.OrderStatus;
|
|
25
27
|
/** UNKNOWN/APP/H5/MINI */
|
|
26
28
|
platform: ENUM.OrderPlatform;
|
|
27
29
|
/** UNKNOWN/IOS/ANDROID/HARMONY/PC */
|
|
@@ -215,6 +217,27 @@ export declare namespace PosOrderQueryService {
|
|
|
215
217
|
createdAt: number;
|
|
216
218
|
updatedAt: number;
|
|
217
219
|
}[];
|
|
220
|
+
/** 订单属性 */
|
|
221
|
+
orderAttributes?: {
|
|
222
|
+
/** 下单时是否是会员 */
|
|
223
|
+
isMemberOrder: boolean;
|
|
224
|
+
/** 是否为套餐商品 */
|
|
225
|
+
isCombo: boolean;
|
|
226
|
+
/** 是否为虚拟商品 */
|
|
227
|
+
isVirtual: boolean;
|
|
228
|
+
/** 是否核销券订单 */
|
|
229
|
+
isVerification: boolean;
|
|
230
|
+
/** 是否一元入会订单 */
|
|
231
|
+
isOneRmbMember: boolean;
|
|
232
|
+
/** 是否黑钻会员订单 */
|
|
233
|
+
isBlackDiamondMember: boolean;
|
|
234
|
+
/** 是否支付有礼(买赠) */
|
|
235
|
+
isPayGift: boolean;
|
|
236
|
+
/** 是否满赠 */
|
|
237
|
+
isFullGift: boolean;
|
|
238
|
+
/** 是否直播回放订单 */
|
|
239
|
+
isLivePlayback: boolean;
|
|
240
|
+
};
|
|
218
241
|
}
|
|
219
242
|
interface IList {
|
|
220
243
|
list: IListItem[];
|
|
@@ -262,6 +285,8 @@ export declare namespace PosOrderQueryService {
|
|
|
262
285
|
createdAt: number;
|
|
263
286
|
payTime: number;
|
|
264
287
|
deliveryTime: number;
|
|
288
|
+
/** 订单完结时间 */
|
|
289
|
+
completedAt: number;
|
|
265
290
|
totalAmount: number;
|
|
266
291
|
actualAmount: number;
|
|
267
292
|
source: ENUM.OrderSource;
|
|
@@ -296,6 +321,16 @@ export declare namespace PosOrderQueryService {
|
|
|
296
321
|
memberLevel?: string;
|
|
297
322
|
receiverName: string;
|
|
298
323
|
receiverPhone: string;
|
|
324
|
+
/** 收货地址 */
|
|
325
|
+
receiverAddress?: {
|
|
326
|
+
provinceId: string;
|
|
327
|
+
provinceName: string;
|
|
328
|
+
cityId: string;
|
|
329
|
+
cityName: string;
|
|
330
|
+
districtId: string;
|
|
331
|
+
districtName: string;
|
|
332
|
+
detailAddress: string;
|
|
333
|
+
};
|
|
299
334
|
};
|
|
300
335
|
logistics?: {
|
|
301
336
|
company?: string;
|
|
@@ -396,7 +431,66 @@ export declare namespace PosOrderQueryService {
|
|
|
396
431
|
isFullRefund: boolean;
|
|
397
432
|
/** 退货时商品核销状态 */
|
|
398
433
|
verificationStatus?: ENUM.OrderVerificationStatus;
|
|
434
|
+
/** 退款资源信息 */
|
|
435
|
+
resource?: {
|
|
436
|
+
/** 资源ID */
|
|
437
|
+
id: string;
|
|
438
|
+
/** 资源类型 */
|
|
439
|
+
resourceType: ENUM.ReverseResourceType;
|
|
440
|
+
/** 资源业务ID */
|
|
441
|
+
bizId: string;
|
|
442
|
+
/** 资源扩展信息 */
|
|
443
|
+
bizExtraInfo: {
|
|
444
|
+
/** 订单ID */
|
|
445
|
+
orderId: string;
|
|
446
|
+
/** 逆向单ID */
|
|
447
|
+
reverseOrderId: string;
|
|
448
|
+
/** 用户ID */
|
|
449
|
+
userId: string;
|
|
450
|
+
/** 商品ID */
|
|
451
|
+
productId: string;
|
|
452
|
+
/** SKU ID */
|
|
453
|
+
skuId: string;
|
|
454
|
+
/** 退款金额(资金类型时) */
|
|
455
|
+
amount?: number;
|
|
456
|
+
/** 退款积分数量(积分类型时) */
|
|
457
|
+
pointNum?: number;
|
|
458
|
+
/** 退款券列表(优惠券类型时) */
|
|
459
|
+
couponInfos?: {
|
|
460
|
+
id: string;
|
|
461
|
+
name: string;
|
|
462
|
+
code: string;
|
|
463
|
+
}[];
|
|
464
|
+
};
|
|
465
|
+
/** 资源退还额度 */
|
|
466
|
+
bizValue: number;
|
|
467
|
+
/** 是否退还 */
|
|
468
|
+
isRefunded: boolean;
|
|
469
|
+
/** 退还资源时间 */
|
|
470
|
+
refundedAt: number;
|
|
471
|
+
};
|
|
399
472
|
}[];
|
|
473
|
+
/** 订单属性 */
|
|
474
|
+
orderAttributes?: {
|
|
475
|
+
/** 下单时是否是会员 */
|
|
476
|
+
isMemberOrder: boolean;
|
|
477
|
+
/** 是否为套餐商品 */
|
|
478
|
+
isCombo: boolean;
|
|
479
|
+
/** 是否为虚拟商品 */
|
|
480
|
+
isVirtual: boolean;
|
|
481
|
+
/** 是否核销券订单 */
|
|
482
|
+
isVerification: boolean;
|
|
483
|
+
/** 是否一元入会订单 */
|
|
484
|
+
isOneRmbMember: boolean;
|
|
485
|
+
/** 是否黑钻会员订单 */
|
|
486
|
+
isBlackDiamondMember: boolean;
|
|
487
|
+
/** 是否支付有礼(买赠) */
|
|
488
|
+
isPayGift: boolean;
|
|
489
|
+
/** 是否满赠 */
|
|
490
|
+
isFullGift: boolean;
|
|
491
|
+
/** 是否直播回放订单 */
|
|
492
|
+
isLivePlayback: boolean;
|
|
493
|
+
};
|
|
400
494
|
}
|
|
401
495
|
}
|
|
402
496
|
interface QueryController {
|
|
@@ -155,6 +155,8 @@ export declare namespace RosOrderQueryService {
|
|
|
155
155
|
orderId: string;
|
|
156
156
|
/** 退款金额 */
|
|
157
157
|
amount: number;
|
|
158
|
+
/** 退款积分数 */
|
|
159
|
+
pointNum: number;
|
|
158
160
|
/** 退款商品份数 */
|
|
159
161
|
quantity: number;
|
|
160
162
|
/** 退款状态 */
|
|
@@ -224,6 +226,44 @@ export declare namespace RosOrderQueryService {
|
|
|
224
226
|
/** 门店名称 */
|
|
225
227
|
storeName: string;
|
|
226
228
|
};
|
|
229
|
+
/** 退款资源信息 */
|
|
230
|
+
resource?: {
|
|
231
|
+
/** 资源ID */
|
|
232
|
+
id: string;
|
|
233
|
+
/** 资源类型 */
|
|
234
|
+
resourceType: ENUM.ReverseResourceType;
|
|
235
|
+
/** 资源业务ID */
|
|
236
|
+
bizId: string;
|
|
237
|
+
/** 资源扩展信息 */
|
|
238
|
+
bizExtraInfo: {
|
|
239
|
+
/** 订单ID */
|
|
240
|
+
orderId: string;
|
|
241
|
+
/** 逆向单ID */
|
|
242
|
+
reverseOrderId: string;
|
|
243
|
+
/** 用户ID */
|
|
244
|
+
userId: string;
|
|
245
|
+
/** 商品ID */
|
|
246
|
+
productId: string;
|
|
247
|
+
/** SKU ID */
|
|
248
|
+
skuId: string;
|
|
249
|
+
/** 退款金额(资金类型时) */
|
|
250
|
+
amount?: number;
|
|
251
|
+
/** 退款积分数量(积分类型时) */
|
|
252
|
+
pointNum?: number;
|
|
253
|
+
/** 退款券列表(优惠券类型时) */
|
|
254
|
+
couponInfos?: {
|
|
255
|
+
id: string;
|
|
256
|
+
name: string;
|
|
257
|
+
code: string;
|
|
258
|
+
}[];
|
|
259
|
+
};
|
|
260
|
+
/** 资源退还额度 */
|
|
261
|
+
bizValue: number;
|
|
262
|
+
/** 是否退还 */
|
|
263
|
+
isRefunded: boolean;
|
|
264
|
+
/** 退还资源时间 */
|
|
265
|
+
refundedAt: number;
|
|
266
|
+
};
|
|
227
267
|
}
|
|
228
268
|
interface IList {
|
|
229
269
|
/** 列表数据 */
|
package/package.json
CHANGED
package/types.d.ts
CHANGED
|
@@ -29,13 +29,14 @@ export interface ITradeOrder {
|
|
|
29
29
|
}
|
|
30
30
|
export interface ITradeOrderAttributes {
|
|
31
31
|
id: string;
|
|
32
|
-
attributes: string;
|
|
33
32
|
isMemberOrder: boolean;
|
|
34
33
|
isCombo: boolean;
|
|
35
34
|
isVirtual: boolean;
|
|
36
35
|
isVerification: boolean;
|
|
37
36
|
isOneRmbMember: boolean;
|
|
37
|
+
isBlackDiamondMember: boolean;
|
|
38
38
|
isPayGift: boolean;
|
|
39
|
+
isFullGift: boolean;
|
|
39
40
|
isLivePlayback: boolean;
|
|
40
41
|
createdAt: number;
|
|
41
42
|
updatedAt: number;
|
|
@@ -216,6 +217,8 @@ export interface PosOrderPayload {
|
|
|
216
217
|
quantity?: number;
|
|
217
218
|
/** 订单实付金额 */
|
|
218
219
|
actualAmount?: number;
|
|
220
|
+
/** 直播间ID */
|
|
221
|
+
liveRoomId?: string;
|
|
219
222
|
}
|
|
220
223
|
/** 正向订单头信息 (value=0或1) */
|
|
221
224
|
export interface PosOrderHeaders {
|