@be-link/ecommerce-trade-service-node-sdk 0.1.107 → 0.1.109
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/modules/pos/orderQuery/types.d.ts +6 -6
- package/modules/pos/orderQuery/webService.d.ts +1 -1
- package/modules/pos/orderQuery/webService.js +5 -5
- package/modules/ros/orderCore/pandoraUserService.d.ts +1 -0
- package/modules/ros/orderCore/pandoraUserService.js +8 -0
- package/modules/ros/orderQuery/types.d.ts +4 -0
- package/package.json +1 -1
|
@@ -309,9 +309,9 @@ export declare namespace PosOrderQueryService {
|
|
|
309
309
|
/** 门店ID */
|
|
310
310
|
storeId?: string;
|
|
311
311
|
}
|
|
312
|
-
interface
|
|
313
|
-
/**
|
|
314
|
-
|
|
312
|
+
interface IGetOrderDetailForShort {
|
|
313
|
+
/** 订单ID */
|
|
314
|
+
orderId: string;
|
|
315
315
|
}
|
|
316
316
|
}
|
|
317
317
|
namespace Response {
|
|
@@ -774,7 +774,7 @@ export declare namespace PosOrderQueryService {
|
|
|
774
774
|
pointNum: number;
|
|
775
775
|
}[];
|
|
776
776
|
}
|
|
777
|
-
interface
|
|
777
|
+
interface IGetOrderDetailForShort {
|
|
778
778
|
/** 基础信息 */
|
|
779
779
|
basicInfo: {
|
|
780
780
|
/** 订单ID */
|
|
@@ -869,8 +869,8 @@ export declare namespace PosOrderQueryService {
|
|
|
869
869
|
getUserCouponDetails(request: Request.IGetUserCouponDetails, req: any): Promise<Response.IGetUserCouponDetails>;
|
|
870
870
|
/** 根据门店ID和订单状态统计订单数量 */
|
|
871
871
|
countOrderByStoreIdAndStatus(request: Request.ICountOrderByStoreIdAndStatus, req: any): Promise<Response.ICountOrderByStoreIdAndStatus>;
|
|
872
|
-
/**
|
|
873
|
-
|
|
872
|
+
/** 查询订单详情(简化版) */
|
|
873
|
+
getOrderDetailForShort(request: Request.IGetOrderDetailForShort, req: any): Promise<Response.IGetOrderDetailForShort>;
|
|
874
874
|
}
|
|
875
875
|
}
|
|
876
876
|
namespace ByPandoraUser {
|
|
@@ -14,7 +14,7 @@ declare class OrderQueryByWebService extends BaseService {
|
|
|
14
14
|
getVerifyCouponUserDetails(request: PosOrderQueryService.ByWeb.Request.IGetVerifyCouponUserDetails): Promise<PosOrderQueryService.ByWeb.Response.IGetVerifyCouponUserDetails>;
|
|
15
15
|
getUserCouponDetails(request: PosOrderQueryService.ByWeb.Request.IGetUserCouponDetails): Promise<PosOrderQueryService.ByWeb.Response.IGetUserCouponDetails>;
|
|
16
16
|
countOrderByStoreIdAndStatus(request: PosOrderQueryService.ByWeb.Request.ICountOrderByStoreIdAndStatus): Promise<PosOrderQueryService.ByWeb.Response.ICountOrderByStoreIdAndStatus>;
|
|
17
|
-
|
|
17
|
+
getOrderDetailForShort(request: PosOrderQueryService.ByWeb.Request.IGetOrderDetailForShort): Promise<PosOrderQueryService.ByWeb.Response.IGetOrderDetailForShort>;
|
|
18
18
|
}
|
|
19
19
|
export declare const queryByWebService: OrderQueryByWebService;
|
|
20
20
|
export default queryByWebService;
|
|
@@ -54,8 +54,8 @@ let OrderQueryByWebService = class OrderQueryByWebService extends BaseService_1.
|
|
|
54
54
|
countOrderByStoreIdAndStatus(request) {
|
|
55
55
|
return (0, http_1.callApi)(this.getApiUrl(this.countOrderByStoreIdAndStatus), request);
|
|
56
56
|
}
|
|
57
|
-
|
|
58
|
-
return (0, http_1.callApi)(this.getApiUrl(this.
|
|
57
|
+
getOrderDetailForShort(request) {
|
|
58
|
+
return (0, http_1.callApi)(this.getApiUrl(this.getOrderDetailForShort), request);
|
|
59
59
|
}
|
|
60
60
|
};
|
|
61
61
|
__decorate([
|
|
@@ -114,10 +114,10 @@ __decorate([
|
|
|
114
114
|
__param(0, (0, tsoa_1.Body)())
|
|
115
115
|
], OrderQueryByWebService.prototype, "countOrderByStoreIdAndStatus", null);
|
|
116
116
|
__decorate([
|
|
117
|
-
(0, tsoa_1.OperationId)('
|
|
118
|
-
(0, tsoa_1.Post)('get-order-detail-
|
|
117
|
+
(0, tsoa_1.OperationId)('查询订单详情(简化版)'),
|
|
118
|
+
(0, tsoa_1.Post)('get-order-detail-for-short'),
|
|
119
119
|
__param(0, (0, tsoa_1.Body)())
|
|
120
|
-
], OrderQueryByWebService.prototype, "
|
|
120
|
+
], OrderQueryByWebService.prototype, "getOrderDetailForShort", null);
|
|
121
121
|
OrderQueryByWebService = __decorate([
|
|
122
122
|
(0, tsoa_1.Route)('pos/query/web'),
|
|
123
123
|
(0, tsoa_1.Tags)('PosOrderQuery')
|
|
@@ -4,6 +4,7 @@ declare class OrderCoreByPandoraUserService extends BaseService {
|
|
|
4
4
|
protected prefixUrl: string;
|
|
5
5
|
storeApproval(request: RosOrderCoreService.ByPandoraUser.Request.IStoreApproval): Promise<RosOrderCoreService.ByPandoraUser.Response.IStoreApproval>;
|
|
6
6
|
createReverseOrderForStore(request: RosOrderCoreService.ByPandoraUser.Request.ICreateReverseOrderForStore): Promise<RosOrderCoreService.ByPandoraUser.Response.ICreateReverseOrderForStore>;
|
|
7
|
+
createReverseOrderForStoreQuick(request: RosOrderCoreService.ByPandoraUser.Request.ICreateReverseOrderForStoreQuick): Promise<RosOrderCoreService.ByPandoraUser.Response.ICreateReverseOrderForStoreQuick>;
|
|
7
8
|
}
|
|
8
9
|
export declare const coreByPandoraUserService: OrderCoreByPandoraUserService;
|
|
9
10
|
export default coreByPandoraUserService;
|
|
@@ -27,6 +27,9 @@ let OrderCoreByPandoraUserService = class OrderCoreByPandoraUserService extends
|
|
|
27
27
|
createReverseOrderForStore(request) {
|
|
28
28
|
return (0, http_1.callApi)(this.getApiUrl(this.createReverseOrderForStore), request);
|
|
29
29
|
}
|
|
30
|
+
createReverseOrderForStoreQuick(request) {
|
|
31
|
+
return (0, http_1.callApi)(this.getApiUrl(this.createReverseOrderForStoreQuick), request);
|
|
32
|
+
}
|
|
30
33
|
};
|
|
31
34
|
__decorate([
|
|
32
35
|
(0, tsoa_1.OperationId)('门店审批'),
|
|
@@ -38,6 +41,11 @@ __decorate([
|
|
|
38
41
|
(0, tsoa_1.Post)('create-reverse-order-for-store'),
|
|
39
42
|
__param(0, (0, tsoa_1.Body)())
|
|
40
43
|
], OrderCoreByPandoraUserService.prototype, "createReverseOrderForStore", null);
|
|
44
|
+
__decorate([
|
|
45
|
+
(0, tsoa_1.OperationId)('门店极速申请退款'),
|
|
46
|
+
(0, tsoa_1.Post)('create-reverse-order-for-store-quick'),
|
|
47
|
+
__param(0, (0, tsoa_1.Body)())
|
|
48
|
+
], OrderCoreByPandoraUserService.prototype, "createReverseOrderForStoreQuick", null);
|
|
41
49
|
OrderCoreByPandoraUserService = __decorate([
|
|
42
50
|
(0, tsoa_1.Route)('ros/core/pandora-user'),
|
|
43
51
|
(0, tsoa_1.Tags)('RosOrderCore')
|
|
@@ -370,6 +370,8 @@ export declare namespace RosOrderQueryService {
|
|
|
370
370
|
interface IGetReverseOrderDetail {
|
|
371
371
|
/** 基础信息 */
|
|
372
372
|
basicInfo: {
|
|
373
|
+
/** 退款单ID */
|
|
374
|
+
reverseOrderId: string;
|
|
373
375
|
/** 退款类型 */
|
|
374
376
|
refundType: ENUM.ReverseRefundType;
|
|
375
377
|
/** 退款金额(分) */
|
|
@@ -572,6 +574,8 @@ export declare namespace RosOrderQueryService {
|
|
|
572
574
|
couponAmount: number;
|
|
573
575
|
/** 券单价(券总金额/商品数量) */
|
|
574
576
|
unitCouponPrice: number;
|
|
577
|
+
/** 商品总份数 */
|
|
578
|
+
totalQuantity: number;
|
|
575
579
|
};
|
|
576
580
|
}
|
|
577
581
|
interface IGetRefundableResource {
|