@be-link/ecommerce-client-backend-service-node-sdk 0.1.15 → 0.1.16
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/data/types.d.ts +6 -2
- package/package.json +1 -1
package/modules/data/types.d.ts
CHANGED
|
@@ -50,7 +50,7 @@ export declare namespace DataService {
|
|
|
50
50
|
*/
|
|
51
51
|
interface AudienceList {
|
|
52
52
|
/** 观众数据主键id,用于导出 */
|
|
53
|
-
ids
|
|
53
|
+
ids?: number[];
|
|
54
54
|
/** 直播间id */
|
|
55
55
|
liveStreamRoomId: string;
|
|
56
56
|
/** 门店id */
|
|
@@ -122,8 +122,12 @@ export declare namespace DataService {
|
|
|
122
122
|
* 观众导出数据响应
|
|
123
123
|
*/
|
|
124
124
|
interface AudienceExport {
|
|
125
|
+
/** 观众数据表头 */
|
|
125
126
|
headers: string[];
|
|
127
|
+
/** 观众数据内容 */
|
|
126
128
|
data: string[][];
|
|
129
|
+
/** 观众数据总数 */
|
|
130
|
+
total: number;
|
|
127
131
|
}
|
|
128
132
|
}
|
|
129
133
|
interface BaseController {
|
|
@@ -134,7 +138,7 @@ export declare namespace DataService {
|
|
|
134
138
|
getAudienceList(request: Request.AudienceList, req?: FastifyRequest): Promise<Response.AudienceList>;
|
|
135
139
|
getLiveStreamStatistics(request: Request.LiveStreamStatistics, req?: FastifyRequest): Promise<Response.LiveStreamStatistics>;
|
|
136
140
|
getLiveStreamProductTop(request: Request.LiveStreamProductTop, req?: FastifyRequest): Promise<Response.LiveStreamProductTop>;
|
|
137
|
-
audienceExport(req?: FastifyRequest): Promise<Response.AudienceExport>;
|
|
141
|
+
audienceExport(request: Request.AudienceList, req?: FastifyRequest): Promise<Response.AudienceExport>;
|
|
138
142
|
}
|
|
139
143
|
}
|
|
140
144
|
/**
|