@carlosdiazz/lottodiz-shared 2.8.1 → 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.
@@ -159,4 +159,5 @@ export declare class MethodValid {
159
159
  static YOUTUBE_CREATE_MULTI_BROADCAST: string;
160
160
  static YOUTUBE_FIND_LIVE_BROADCAST_ID: string;
161
161
  static YOUTUBE_RENEW_TOKEN_ALL_CHANNEL: string;
162
+ static YOUTUBE_CREATE_ALL_BROADCAST: string;
162
163
  }
@@ -192,3 +192,4 @@ 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
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,8 +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
7
  renew_token_all_channel(): Promise<ResponseInterface>;
8
+ create_all_broadcast(dto: CreateAllBroadcastDtoInterface): Promise<ResponseInterface>;
8
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
+ }
@@ -1,8 +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
7
  renew_token_all_channel(): Promise<ResponseInterface>;
8
+ create_all_broadcast(dto: CreateAllBroadcastDtoInterface): Promise<ResponseInterface>;
8
9
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@carlosdiazz/lottodiz-shared",
3
- "version": "2.8.1",
3
+ "version": "2.8.2",
4
4
  "description": "Shared Dtos, models, constants and utils",
5
5
  "main": "dist/index.js",
6
6
  "private": false,