@carlosdiazz/lottodiz-shared 2.8.0 → 2.8.2

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.
@@ -158,4 +158,6 @@ export declare class MethodValid {
158
158
  static YOUTUBE_CREATE_BROADCAST: string;
159
159
  static YOUTUBE_CREATE_MULTI_BROADCAST: string;
160
160
  static YOUTUBE_FIND_LIVE_BROADCAST_ID: string;
161
+ static YOUTUBE_RENEW_TOKEN_ALL_CHANNEL: string;
162
+ static YOUTUBE_CREATE_ALL_BROADCAST: string;
161
163
  }
@@ -191,3 +191,5 @@ MethodValid.CONFIG_OBS_REMOVE = "CONFIG_OBS_REMOVE";
191
191
  MethodValid.YOUTUBE_CREATE_BROADCAST = "YOUTUBE_CREATE_BROADCAST";
192
192
  MethodValid.YOUTUBE_CREATE_MULTI_BROADCAST = "YOUTUBE_CREATE_MULTI_BROADCAST";
193
193
  MethodValid.YOUTUBE_FIND_LIVE_BROADCAST_ID = "YOUTUBE_FIND_LIVE_BROADCAST_ID";
194
+ MethodValid.YOUTUBE_RENEW_TOKEN_ALL_CHANNEL = "YOUTUBE_RENEW_TOKEN_ALL_CHANNEL";
195
+ MethodValid.YOUTUBE_CREATE_ALL_BROADCAST = "YOUTUBE_CREATE_ALL_BROADCAST";
@@ -3,4 +3,5 @@ export interface QueueCronServiceInterface {
3
3
  autoCreateJobsVideo(): void;
4
4
  autoRemoveVideoIs(): void;
5
5
  autoCreateJobsDrawsStatistic(): void;
6
+ autoCreateStreamYoutube(): void;
6
7
  }
@@ -1,7 +1,9 @@
1
1
  import { ResponseInterface } from "../common";
2
- import { CreateBroadcastDtoInterface, CreateMultiBroadcastDtoInterface } from "./youtube.dto";
2
+ import { CreateAllBroadcastDtoInterface, CreateBroadcastDtoInterface, CreateMultiBroadcastDtoInterface } from "./youtube.dto";
3
3
  export interface YoutubeControllerInterface {
4
4
  create_broadcast(dto: CreateBroadcastDtoInterface): Promise<ResponseInterface>;
5
5
  create_multi_broadcast(dto: CreateMultiBroadcastDtoInterface): Promise<ResponseInterface>;
6
6
  findLiveStreamId(id_channel: number): Promise<ResponseInterface>;
7
+ renew_token_all_channel(): Promise<ResponseInterface>;
8
+ create_all_broadcast(dto: CreateAllBroadcastDtoInterface): Promise<ResponseInterface>;
7
9
  }
@@ -6,3 +6,6 @@ export interface CreateMultiBroadcastDtoInterface {
6
6
  id_canal: number;
7
7
  date: string;
8
8
  }
9
+ export interface CreateAllBroadcastDtoInterface {
10
+ date: string;
11
+ }
@@ -5,4 +5,5 @@ export interface YoutubeResolverInterface {
5
5
  create_broadcast(dto: CreateBroadcastDtoInterface, user?: UserInterface): Promise<ResponseInterface>;
6
6
  create_multi_broadcast(dto: CreateMultiBroadcastDtoInterface, user?: UserInterface): Promise<ResponseInterface>;
7
7
  findLiveStreamId(id_channel: number, user?: UserInterface): Promise<ResponseInterface>;
8
+ renew_token_all_channel(): Promise<ResponseInterface>;
8
9
  }
@@ -1,7 +1,9 @@
1
1
  import { ResponseInterface } from "../common";
2
- import { CreateBroadcastDtoInterface, CreateMultiBroadcastDtoInterface } from "./youtube.dto";
2
+ import { CreateAllBroadcastDtoInterface, CreateBroadcastDtoInterface, CreateMultiBroadcastDtoInterface } from "./youtube.dto";
3
3
  export interface YoutubeServiceInterface {
4
4
  create_broadcast(dto: CreateBroadcastDtoInterface): Promise<ResponseInterface>;
5
5
  create_multi_broadcast(dto: CreateMultiBroadcastDtoInterface): Promise<ResponseInterface>;
6
6
  findLiveStreamId(id_channel: number): Promise<ResponseInterface>;
7
+ renew_token_all_channel(): Promise<ResponseInterface>;
8
+ create_all_broadcast(dto: CreateAllBroadcastDtoInterface): Promise<ResponseInterface>;
7
9
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@carlosdiazz/lottodiz-shared",
3
- "version": "2.8.0",
3
+ "version": "2.8.2",
4
4
  "description": "Shared Dtos, models, constants and utils",
5
5
  "main": "dist/index.js",
6
6
  "private": false,