@be-link/ecommerce-client-backend-service-node-sdk 0.1.85 → 0.1.86
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.
|
@@ -61,6 +61,11 @@ declare class DataServiceClass extends BaseService implements DataService.BaseCo
|
|
|
61
61
|
weeklyCleanupNewCustomers(request?: DataService.Request.ExecuteGrowthStageTask): Promise<void>;
|
|
62
62
|
/** 新老客分流存量数据清洗(一次性补偿入口) */
|
|
63
63
|
migrateExistingGrowthStageData(): Promise<void>;
|
|
64
|
+
/**
|
|
65
|
+
* 预热新老客发育阶段缓存(昨日看播用户)
|
|
66
|
+
* 用于提高用户首次拉取阶段接口的命中率
|
|
67
|
+
*/
|
|
68
|
+
warmupGrowthStageCacheForYesterdayWatchers(request?: DataService.Request.ExecuteGrowthStageTask): Promise<void>;
|
|
64
69
|
}
|
|
65
70
|
export declare const dataService: DataServiceClass;
|
|
66
71
|
export default dataService;
|
package/modules/data/service.js
CHANGED
|
@@ -146,6 +146,13 @@ let DataServiceClass = class DataServiceClass extends BaseService_1.default {
|
|
|
146
146
|
migrateExistingGrowthStageData() {
|
|
147
147
|
return (0, http_1.callApi)(this.getApiUrl(this.migrateExistingGrowthStageData), undefined);
|
|
148
148
|
}
|
|
149
|
+
/**
|
|
150
|
+
* 预热新老客发育阶段缓存(昨日看播用户)
|
|
151
|
+
* 用于提高用户首次拉取阶段接口的命中率
|
|
152
|
+
*/
|
|
153
|
+
warmupGrowthStageCacheForYesterdayWatchers(request) {
|
|
154
|
+
return (0, http_1.callApi)(this.getApiUrl(this.warmupGrowthStageCacheForYesterdayWatchers), request);
|
|
155
|
+
}
|
|
149
156
|
};
|
|
150
157
|
__decorate([
|
|
151
158
|
(0, tsoa_1.OperationId)('获取用户观看时长'),
|
|
@@ -301,6 +308,11 @@ __decorate([
|
|
|
301
308
|
(0, tsoa_1.OperationId)('migrateExistingGrowthStageData'),
|
|
302
309
|
(0, tsoa_1.Post)('migrate-existing-growth-stage-data')
|
|
303
310
|
], DataServiceClass.prototype, "migrateExistingGrowthStageData", null);
|
|
311
|
+
__decorate([
|
|
312
|
+
(0, tsoa_1.OperationId)('warmupGrowthStageCacheForYesterdayWatchers'),
|
|
313
|
+
(0, tsoa_1.Post)('warmup-growth-stage-cache-for-yesterday-watchers'),
|
|
314
|
+
__param(0, (0, tsoa_1.Body)())
|
|
315
|
+
], DataServiceClass.prototype, "warmupGrowthStageCacheForYesterdayWatchers", null);
|
|
304
316
|
DataServiceClass = __decorate([
|
|
305
317
|
(0, tsoa_1.Route)('data'),
|
|
306
318
|
(0, tsoa_1.Tags)('Data')
|
package/modules/data/types.d.ts
CHANGED
|
@@ -335,6 +335,7 @@ export declare namespace DataService {
|
|
|
335
335
|
weeklySettleFirstCycle(request?: Request.ExecuteGrowthStageTask, req?: FastifyRequest): Promise<void>;
|
|
336
336
|
dailyDetermineSecondCycle(request?: Request.ExecuteGrowthStageTask, req?: FastifyRequest): Promise<void>;
|
|
337
337
|
weeklyCleanupNewCustomers(request?: Request.ExecuteGrowthStageTask, req?: FastifyRequest): Promise<void>;
|
|
338
|
+
warmupGrowthStageCacheForYesterdayWatchers(request?: Request.ExecuteGrowthStageTask, req?: FastifyRequest): Promise<void>;
|
|
338
339
|
migrateExistingGrowthStageData(req?: FastifyRequest): Promise<void>;
|
|
339
340
|
}
|
|
340
341
|
}
|