@carlosdiazz/lottodiz-shared 2.5.2 → 2.5.3

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.
@@ -4,5 +4,6 @@ export declare enum ValidJobEnum {
4
4
  INIT_WEB_SCRAPING = "INIT_WEB_SCRAPING",
5
5
  UNKNOWN = "UNKNOWN",
6
6
  DECREASE_DAY_PLATFORM_ADS = "DECREASE_DAY_PLATFORM_ADS",
7
- DECREASE_DAY_PLATFORM_MESSAGE = "DECREASE_DAY_PLATFORM_MESSAGE"
7
+ DECREASE_DAY_PLATFORM_MESSAGE = "DECREASE_DAY_PLATFORM_MESSAGE",
8
+ UPDATE_VIDEO_ID_AUTOMATIC = "UPDATE_VIDEO_ID_AUTOMATIC"
8
9
  }
@@ -9,4 +9,5 @@ var ValidJobEnum;
9
9
  ValidJobEnum["UNKNOWN"] = "UNKNOWN";
10
10
  ValidJobEnum["DECREASE_DAY_PLATFORM_ADS"] = "DECREASE_DAY_PLATFORM_ADS";
11
11
  ValidJobEnum["DECREASE_DAY_PLATFORM_MESSAGE"] = "DECREASE_DAY_PLATFORM_MESSAGE";
12
+ ValidJobEnum["UPDATE_VIDEO_ID_AUTOMATIC"] = "UPDATE_VIDEO_ID_AUTOMATIC";
12
13
  })(ValidJobEnum || (exports.ValidJobEnum = ValidJobEnum = {}));
@@ -1,5 +1,6 @@
1
1
  export interface QueueCronServiceInterface {
2
2
  autoCreateDraws(): Promise<void>;
3
3
  autoCreateJobsVideo(): Promise<void>;
4
+ autoRemoveVideoIs(): Promise<void>;
4
5
  autoCreateJobsDrawsStatistic(): Promise<void>;
5
6
  }
@@ -11,5 +11,5 @@ export interface TemplateDrawControllerInterface {
11
11
  update(dto: UpdateTemplateDrawInterface): Promise<TemplateDrawInterface>;
12
12
  remove(id: number): Promise<ResponseInterface>;
13
13
  removeAllVideoId(): Promise<void>;
14
- updateVideoId(): Promise<ResponseInterface>;
14
+ updateVideoId(id: number): Promise<ResponseInterface>;
15
15
  }
@@ -13,5 +13,5 @@ export interface TemplateDrawServiceInterface {
13
13
  findTemplateDrawsByDate(date: string): Promise<TemplateDrawInterface[]>;
14
14
  remove(id: number): Promise<ResponseInterface>;
15
15
  removeAllVideoId(): Promise<void>;
16
- updateVideoId(): Promise<ResponseInterface>;
16
+ updateVideoId(id: number): Promise<ResponseInterface>;
17
17
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@carlosdiazz/lottodiz-shared",
3
- "version": "2.5.2",
3
+ "version": "2.5.3",
4
4
  "description": "Shared Dtos, models, constants and utils",
5
5
  "main": "dist/index.js",
6
6
  "private": false,