@be-link/ecommerce-client-backend-service-node-sdk 0.1.62 → 0.1.63

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.
@@ -32,6 +32,8 @@ declare class DataServiceClass extends BaseService implements DataService.BaseCo
32
32
  initUserExtraInfoSevenDaysAmount(): Promise<void>;
33
33
  /** 手动补偿更新用户最后看播时间 */
34
34
  compensateUserLastWatchTime(request: DataService.Request.CompensateUserLastWatchTime): Promise<DataService.Response.CompensateUserLastWatchTime>;
35
+ /** 同步观众统计数据 */
36
+ syncAudienceStatistics(): Promise<void>;
35
37
  }
36
38
  export declare const dataService: DataServiceClass;
37
39
  export default dataService;
@@ -85,6 +85,10 @@ let DataServiceClass = class DataServiceClass extends BaseService_1.default {
85
85
  compensateUserLastWatchTime(request) {
86
86
  return (0, http_1.callApi)(this.getApiUrl(this.compensateUserLastWatchTime), request);
87
87
  }
88
+ /** 同步观众统计数据 */
89
+ syncAudienceStatistics() {
90
+ return (0, http_1.callApi)(this.getApiUrl(this.syncAudienceStatistics), undefined);
91
+ }
88
92
  };
89
93
  __decorate([
90
94
  (0, tsoa_1.OperationId)('获取用户观看时长'),
@@ -165,6 +169,10 @@ __decorate([
165
169
  (0, tsoa_1.Post)('compensate-user-last-watch-time'),
166
170
  __param(0, (0, tsoa_1.Body)())
167
171
  ], DataServiceClass.prototype, "compensateUserLastWatchTime", null);
172
+ __decorate([
173
+ (0, tsoa_1.OperationId)('同步观众统计数据'),
174
+ (0, tsoa_1.Post)('sync-audience-statistics')
175
+ ], DataServiceClass.prototype, "syncAudienceStatistics", null);
168
176
  DataServiceClass = __decorate([
169
177
  (0, tsoa_1.Route)('data'),
170
178
  (0, tsoa_1.Tags)('Data')
@@ -258,6 +258,7 @@ export declare namespace DataService {
258
258
  initUserExtraInfoLastWatchTime(req?: FastifyRequest): Promise<void>;
259
259
  initUserExtraInfoSevenDaysAmount(req?: FastifyRequest): Promise<void>;
260
260
  compensateUserLastWatchTime(request: Request.CompensateUserLastWatchTime, req?: FastifyRequest): Promise<Response.CompensateUserLastWatchTime>;
261
+ syncAudienceStatistics(): Promise<void>;
261
262
  }
262
263
  }
263
264
  /**
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.62",
3
+ "version": "0.1.63",
4
4
  "description": "EcommerceClientBackendService Node.js SDK",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",