@be-link/ecommerce-client-backend-service-node-sdk 0.1.32 → 0.1.33

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.
@@ -20,6 +20,8 @@ declare class DataServiceClass extends BaseService implements DataService.BaseCo
20
20
  liveStreamRoomDataArchive(): Promise<void>;
21
21
  /** 同步任务 */
22
22
  syncTask(request: DataService.Payload.Task): Promise<void>;
23
+ /** 用户观看时长统计任务 */
24
+ userWatchDurationTask(): Promise<void>;
23
25
  }
24
26
  export declare const dataService: DataServiceClass;
25
27
  export default dataService;
@@ -61,6 +61,10 @@ let DataServiceClass = class DataServiceClass extends BaseService_1.default {
61
61
  syncTask(request) {
62
62
  return (0, http_1.callApi)(this.getApiUrl(this.syncTask), request);
63
63
  }
64
+ /** 用户观看时长统计任务 */
65
+ userWatchDurationTask() {
66
+ return (0, http_1.callApi)(this.getApiUrl(this.userWatchDurationTask), undefined);
67
+ }
64
68
  };
65
69
  __decorate([
66
70
  (0, tsoa_1.OperationId)('获取用户观看时长'),
@@ -116,6 +120,10 @@ __decorate([
116
120
  (0, tsoa_1.Post)('sync-task'),
117
121
  __param(0, (0, tsoa_1.Body)())
118
122
  ], DataServiceClass.prototype, "syncTask", null);
123
+ __decorate([
124
+ (0, tsoa_1.OperationId)('用户观看时长统计任务'),
125
+ (0, tsoa_1.Post)('user-watch-duration-task')
126
+ ], DataServiceClass.prototype, "userWatchDurationTask", null);
119
127
  DataServiceClass = __decorate([
120
128
  (0, tsoa_1.Route)('data'),
121
129
  (0, tsoa_1.Tags)('Data')
@@ -193,6 +193,7 @@ export declare namespace DataService {
193
193
  archive(request: Request.Archive, req?: FastifyRequest): Promise<void>;
194
194
  liveStreamRoomDataArchive(req?: FastifyRequest): Promise<void>;
195
195
  syncTask(request: Payload.Task): Promise<void>;
196
+ userWatchDurationTask(): Promise<void>;
196
197
  }
197
198
  }
198
199
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@be-link/ecommerce-client-backend-service-node-sdk",
3
- "version": "0.1.32",
3
+ "version": "0.1.33",
4
4
  "description": "EcommerceClientBackendService Node.js SDK",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",