@be-link/ecommerce-trade-service-node-sdk 0.1.34 → 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.
|
@@ -217,6 +217,27 @@ export declare namespace PosOrderQueryService {
|
|
|
217
217
|
createdAt: number;
|
|
218
218
|
updatedAt: number;
|
|
219
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
|
+
};
|
|
220
241
|
}
|
|
221
242
|
interface IList {
|
|
222
243
|
list: IListItem[];
|
|
@@ -300,6 +321,16 @@ export declare namespace PosOrderQueryService {
|
|
|
300
321
|
memberLevel?: string;
|
|
301
322
|
receiverName: string;
|
|
302
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
|
+
};
|
|
303
334
|
};
|
|
304
335
|
logistics?: {
|
|
305
336
|
company?: string;
|
|
@@ -400,7 +431,66 @@ export declare namespace PosOrderQueryService {
|
|
|
400
431
|
isFullRefund: boolean;
|
|
401
432
|
/** 退货时商品核销状态 */
|
|
402
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
|
+
};
|
|
403
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
|
+
};
|
|
404
494
|
}
|
|
405
495
|
}
|
|
406
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
|
/** 列表数据 */
|