@be-link/ecommerce-promotion-service-node-sdk 0.0.33 → 0.0.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.
|
@@ -4,7 +4,7 @@ declare class AwardService extends BaseService implements Service.PrizeDistribut
|
|
|
4
4
|
protected prefixUrl: string;
|
|
5
5
|
distributePrize(request: Service.Request.distributePrize): Promise<Service.Response.distributePrize>;
|
|
6
6
|
reversePrize(request: Service.Request.reversePrize): Promise<Service.Response.distributePrize>;
|
|
7
|
-
liveRoomIssueCoupon(request: Service.Request.
|
|
7
|
+
liveRoomIssueCoupon(request: Service.Request.liveRoomIssueCoupon): Promise<Service.Response.distributePrize>;
|
|
8
8
|
queryLiveRoomDistributionStats(request: Service.Request.queryLiveRoomDistributionStats): Promise<Service.Response.queryLiveRoomDistributionStatsResponse>;
|
|
9
9
|
}
|
|
10
10
|
export declare const awardService: AwardService;
|
package/modules/award/types.d.ts
CHANGED
|
@@ -59,8 +59,6 @@ export declare namespace Service {
|
|
|
59
59
|
interface liveRoomIssueCoupon {
|
|
60
60
|
/** 直播间ID */
|
|
61
61
|
liveRoomId: string;
|
|
62
|
-
/** 用户ID */
|
|
63
|
-
userId: string;
|
|
64
62
|
/** 优惠券ID */
|
|
65
63
|
couponId: string;
|
|
66
64
|
/** 活动ID(业务ID) */
|
|
@@ -94,11 +92,7 @@ export declare namespace Service {
|
|
|
94
92
|
/** 直播间ID */
|
|
95
93
|
liveRoomId: string;
|
|
96
94
|
/** 用户列表 */
|
|
97
|
-
userIds
|
|
98
|
-
/** 页码 */
|
|
99
|
-
pageIndex?: number;
|
|
100
|
-
/** 每页数量 */
|
|
101
|
-
pageSize?: number;
|
|
95
|
+
userIds: string[];
|
|
102
96
|
}
|
|
103
97
|
}
|
|
104
98
|
namespace Response {
|
|
@@ -111,8 +105,6 @@ export declare namespace Service {
|
|
|
111
105
|
}
|
|
112
106
|
/** 直播间积分&券发放统计响应 */
|
|
113
107
|
interface queryLiveRoomDistributionStatsResponse {
|
|
114
|
-
/** 总数 */
|
|
115
|
-
total: number;
|
|
116
108
|
/** 数据列表 */
|
|
117
109
|
list: {
|
|
118
110
|
/** 用户ID */
|
|
@@ -132,7 +124,7 @@ export declare namespace Service {
|
|
|
132
124
|
/** 作废奖励 */
|
|
133
125
|
reversePrize(request: Service.Request.reversePrize, req: any): Promise<Service.Response.distributePrize>;
|
|
134
126
|
/** 直播间发券 */
|
|
135
|
-
liveRoomIssueCoupon(request: Service.Request.
|
|
127
|
+
liveRoomIssueCoupon(request: Service.Request.liveRoomIssueCoupon, req: any): Promise<Service.Response.distributePrize>;
|
|
136
128
|
/** 直播间积分&券发放统计 */
|
|
137
129
|
queryLiveRoomDistributionStats(request: Service.Request.queryLiveRoomDistributionStats, req: any): Promise<Service.Response.queryLiveRoomDistributionStatsResponse>;
|
|
138
130
|
}
|
|
@@ -212,6 +212,8 @@ export declare namespace Service {
|
|
|
212
212
|
pageIndex?: number;
|
|
213
213
|
/** 每页数量 */
|
|
214
214
|
pageSize?: number;
|
|
215
|
+
/** 券ID */
|
|
216
|
+
id?: string;
|
|
215
217
|
/** 券名称(模糊查询) */
|
|
216
218
|
name?: string;
|
|
217
219
|
/** 券类型 */
|
|
@@ -291,6 +293,8 @@ export declare namespace Service {
|
|
|
291
293
|
createdAt: number;
|
|
292
294
|
/** 更新时间 */
|
|
293
295
|
updatedAt: number;
|
|
296
|
+
/** 创建人 */
|
|
297
|
+
creatorId: string;
|
|
294
298
|
}
|
|
295
299
|
/** 券模版列表响应 */
|
|
296
300
|
interface getCouponTemplateList {
|