@be-link/ecommerce-client-backend-service-node-sdk 0.1.20 → 0.1.21
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.
|
@@ -16,6 +16,8 @@ declare class DataServiceClass extends BaseService implements DataService.BaseCo
|
|
|
16
16
|
audienceExport(request: DataService.Request.AudienceList): Promise<DataService.Response.AudienceExport>;
|
|
17
17
|
/** 直播间数据归档 */
|
|
18
18
|
archive(request: DataService.Request.Archive): Promise<void>;
|
|
19
|
+
/** 直播间数据定时归档 */
|
|
20
|
+
liveStreamRoomDataArchive(): Promise<void>;
|
|
19
21
|
}
|
|
20
22
|
export declare const dataService: DataServiceClass;
|
|
21
23
|
export default dataService;
|
package/modules/data/service.js
CHANGED
|
@@ -53,6 +53,10 @@ let DataServiceClass = class DataServiceClass extends BaseService_1.default {
|
|
|
53
53
|
archive(request) {
|
|
54
54
|
return (0, http_1.callApi)(this.getApiUrl(this.archive), request);
|
|
55
55
|
}
|
|
56
|
+
/** 直播间数据定时归档 */
|
|
57
|
+
liveStreamRoomDataArchive() {
|
|
58
|
+
return (0, http_1.callApi)(this.getApiUrl(this.liveStreamRoomDataArchive), undefined);
|
|
59
|
+
}
|
|
56
60
|
};
|
|
57
61
|
__decorate([
|
|
58
62
|
(0, tsoa_1.OperationId)('获取用户观看时长'),
|
|
@@ -99,6 +103,10 @@ __decorate([
|
|
|
99
103
|
(0, tsoa_1.Post)('archive'),
|
|
100
104
|
__param(0, (0, tsoa_1.Body)())
|
|
101
105
|
], DataServiceClass.prototype, "archive", null);
|
|
106
|
+
__decorate([
|
|
107
|
+
(0, tsoa_1.OperationId)('直播间数据定时归档'),
|
|
108
|
+
(0, tsoa_1.Post)('livestream-room-data-archive')
|
|
109
|
+
], DataServiceClass.prototype, "liveStreamRoomDataArchive", null);
|
|
102
110
|
DataServiceClass = __decorate([
|
|
103
111
|
(0, tsoa_1.Route)('data'),
|
|
104
112
|
(0, tsoa_1.Tags)('Data')
|
package/modules/data/types.d.ts
CHANGED
|
@@ -149,6 +149,7 @@ export declare namespace DataService {
|
|
|
149
149
|
getLiveStreamProductTop(request: Request.LiveStreamProductTop, req?: FastifyRequest): Promise<Response.LiveStreamProductTop>;
|
|
150
150
|
audienceExport(request: Request.AudienceList, req?: FastifyRequest): Promise<Response.AudienceExport>;
|
|
151
151
|
archive(request: Request.Archive, req?: FastifyRequest): Promise<void>;
|
|
152
|
+
liveStreamRoomDataArchive(req?: FastifyRequest): Promise<void>;
|
|
152
153
|
}
|
|
153
154
|
}
|
|
154
155
|
/**
|