@be-link/ecommerce-trade-service-node-sdk 0.1.39 → 0.1.40
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.
|
@@ -4,6 +4,7 @@ declare class OrderQueryByInternalService extends BaseService implements PosOrde
|
|
|
4
4
|
protected prefixUrl: string;
|
|
5
5
|
getOrderByIdForClientBackend(request: PosOrderQueryService.ByInternal.Request.IGetOrderByIdForClientBackend): Promise<PosOrderQueryService.ByInternal.Response.IGetOrderByIdForClientBackend>;
|
|
6
6
|
getOrderListForClientBackend(request: PosOrderQueryService.ByInternal.Request.IGetOrderListForClientBackend): Promise<PosOrderQueryService.ByInternal.Response.IGetOrderListForClientBackend>;
|
|
7
|
+
getPaidUserIdsByLiveRoomId(request: PosOrderQueryService.ByInternal.Request.IGetPaidUserIdsByLiveRoomId): Promise<PosOrderQueryService.ByInternal.Response.IGetPaidUserIdsByLiveRoomId>;
|
|
7
8
|
}
|
|
8
9
|
export declare const orderQueryByInternalService: OrderQueryByInternalService;
|
|
9
10
|
export default orderQueryByInternalService;
|
|
@@ -27,6 +27,9 @@ let OrderQueryByInternalService = class OrderQueryByInternalService extends Base
|
|
|
27
27
|
getOrderListForClientBackend(request) {
|
|
28
28
|
return (0, http_1.callApi)(this.getApiUrl(this.getOrderListForClientBackend), request);
|
|
29
29
|
}
|
|
30
|
+
getPaidUserIdsByLiveRoomId(request) {
|
|
31
|
+
return (0, http_1.callApi)(this.getApiUrl(this.getPaidUserIdsByLiveRoomId), request);
|
|
32
|
+
}
|
|
30
33
|
};
|
|
31
34
|
__decorate([
|
|
32
35
|
(0, tsoa_1.OperationId)('根据订单ID查询订单数据接口(直播服务)'),
|
|
@@ -38,6 +41,11 @@ __decorate([
|
|
|
38
41
|
(0, tsoa_1.Post)('get-order-list-for-client-backend'),
|
|
39
42
|
__param(0, (0, tsoa_1.Body)())
|
|
40
43
|
], OrderQueryByInternalService.prototype, "getOrderListForClientBackend", null);
|
|
44
|
+
__decorate([
|
|
45
|
+
(0, tsoa_1.OperationId)('根据直播间ID查询下单用户ID列表'),
|
|
46
|
+
(0, tsoa_1.Post)('get-paid-user-ids-by-live-room-id'),
|
|
47
|
+
__param(0, (0, tsoa_1.Body)())
|
|
48
|
+
], OrderQueryByInternalService.prototype, "getPaidUserIdsByLiveRoomId", null);
|
|
41
49
|
OrderQueryByInternalService = __decorate([
|
|
42
50
|
(0, tsoa_1.Route)('pos/query/internal'),
|
|
43
51
|
(0, tsoa_1.Tags)('PosOrderQuery')
|
|
@@ -62,16 +62,26 @@ export declare namespace PosOrderQueryService {
|
|
|
62
62
|
/** 订单ID列表(最少1个,最多100个) */
|
|
63
63
|
orderIds: string[];
|
|
64
64
|
}
|
|
65
|
+
interface IGetPaidUserIdsByLiveRoomId {
|
|
66
|
+
/** 直播间ID */
|
|
67
|
+
liveRoomId: string;
|
|
68
|
+
}
|
|
65
69
|
}
|
|
66
70
|
namespace Response {
|
|
67
71
|
type IGetOrderByIdForClientBackend = Dto.ITradeOrderForClientBackend;
|
|
68
72
|
type IGetOrderListForClientBackend = Dto.ITradeOrderForClientBackend[];
|
|
73
|
+
interface IGetPaidUserIdsByLiveRoomId {
|
|
74
|
+
/** 用户ID列表 */
|
|
75
|
+
userIds: string[];
|
|
76
|
+
}
|
|
69
77
|
}
|
|
70
78
|
interface QueryController {
|
|
71
79
|
/** 根据订单ID查询订单数据接口(直播服务) */
|
|
72
80
|
getOrderByIdForClientBackend(request: Request.IGetOrderByIdForClientBackend, req: any): Promise<Response.IGetOrderByIdForClientBackend>;
|
|
73
81
|
/** 根据订单ID列表查询订单数据接口(直播服务) */
|
|
74
82
|
getOrderListForClientBackend(request: Request.IGetOrderListForClientBackend, req: any): Promise<Response.IGetOrderListForClientBackend>;
|
|
83
|
+
/** 根据直播间ID查询下单用户ID列表 */
|
|
84
|
+
getPaidUserIdsByLiveRoomId(request: Request.IGetPaidUserIdsByLiveRoomId, req: any): Promise<Response.IGetPaidUserIdsByLiveRoomId>;
|
|
75
85
|
}
|
|
76
86
|
}
|
|
77
87
|
namespace ByWeb {
|