camstreamerlib 4.0.0-beta.144 → 4.0.0-beta.146

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.
@@ -280,17 +280,16 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> exte
280
280
  };
281
281
  streamPrivacy: "public" | "unlisted" | "private";
282
282
  platform: "youtube";
283
- countdown: boolean;
283
+ playlists: string[];
284
284
  tags: string[];
285
+ notificationEmails: string[];
285
286
  latency: "normal" | "low" | "ultra_low";
286
287
  afterEndStatus: "public" | "unlisted" | "private" | "no_change";
287
288
  dvr: boolean;
288
289
  hasWatchdogs: boolean;
289
- enableManualControl: boolean;
290
- streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
290
+ streamingProtocol: "RTMP" | "RTMPS" | "HLS";
291
291
  description?: string | undefined;
292
- playlist?: string | undefined;
293
- notificationEmail?: string[] | undefined;
292
+ countdown?: boolean | undefined;
294
293
  } | {
295
294
  status: {
296
295
  led: boolean;
@@ -2006,17 +2005,16 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> exte
2006
2005
  };
2007
2006
  streamPrivacy: "public" | "unlisted" | "private";
2008
2007
  platform: "youtube";
2009
- countdown: boolean;
2008
+ playlists: string[];
2010
2009
  tags: string[];
2010
+ notificationEmails: string[];
2011
2011
  latency: "normal" | "low" | "ultra_low";
2012
2012
  afterEndStatus: "public" | "unlisted" | "private" | "no_change";
2013
2013
  dvr: boolean;
2014
2014
  hasWatchdogs: boolean;
2015
- enableManualControl: boolean;
2016
- streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
2015
+ streamingProtocol: "RTMP" | "RTMPS" | "HLS";
2017
2016
  description?: string | undefined;
2018
- playlist?: string | undefined;
2019
- notificationEmail?: string[] | undefined;
2017
+ countdown?: boolean | undefined;
2020
2018
  } | {
2021
2019
  status: {
2022
2020
  led: boolean;
@@ -3419,17 +3419,16 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"platform", [z.ZodObj
3419
3419
  } & {
3420
3420
  platform: z.ZodLiteral<"youtube">;
3421
3421
  description: z.ZodOptional<z.ZodString>;
3422
- playlist: z.ZodOptional<z.ZodString>;
3422
+ playlists: z.ZodArray<z.ZodString, "many">;
3423
3423
  tags: z.ZodArray<z.ZodString, "many">;
3424
- notificationEmail: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3424
+ notificationEmails: z.ZodArray<z.ZodString, "many">;
3425
3425
  streamPrivacy: z.ZodUnion<[z.ZodLiteral<"public">, z.ZodLiteral<"unlisted">, z.ZodLiteral<"private">]>;
3426
3426
  latency: z.ZodUnion<[z.ZodLiteral<"normal">, z.ZodLiteral<"low">, z.ZodLiteral<"ultra_low">]>;
3427
3427
  afterEndStatus: z.ZodUnion<[z.ZodLiteral<"no_change">, z.ZodLiteral<"public">, z.ZodLiteral<"unlisted">, z.ZodLiteral<"private">]>;
3428
3428
  dvr: z.ZodBoolean;
3429
3429
  hasWatchdogs: z.ZodBoolean;
3430
- countdown: z.ZodBoolean;
3431
- enableManualControl: z.ZodBoolean;
3432
- streamingProtocol: z.ZodUnion<[z.ZodLiteral<"RTMP">, z.ZodLiteral<"RTMPS">, z.ZodLiteral<"HLS_PUSH">]>;
3430
+ countdown: z.ZodOptional<z.ZodBoolean>;
3431
+ streamingProtocol: z.ZodUnion<[z.ZodLiteral<"RTMP">, z.ZodLiteral<"RTMPS">, z.ZodLiteral<"HLS">]>;
3433
3432
  }, "strip", z.ZodTypeAny, {
3434
3433
  status: {
3435
3434
  led: boolean;
@@ -3516,17 +3515,16 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"platform", [z.ZodObj
3516
3515
  };
3517
3516
  streamPrivacy: "public" | "unlisted" | "private";
3518
3517
  platform: "youtube";
3519
- countdown: boolean;
3518
+ playlists: string[];
3520
3519
  tags: string[];
3520
+ notificationEmails: string[];
3521
3521
  latency: "normal" | "low" | "ultra_low";
3522
3522
  afterEndStatus: "public" | "unlisted" | "private" | "no_change";
3523
3523
  dvr: boolean;
3524
3524
  hasWatchdogs: boolean;
3525
- enableManualControl: boolean;
3526
- streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
3525
+ streamingProtocol: "RTMP" | "RTMPS" | "HLS";
3527
3526
  description?: string | undefined;
3528
- playlist?: string | undefined;
3529
- notificationEmail?: string[] | undefined;
3527
+ countdown?: boolean | undefined;
3530
3528
  }, {
3531
3529
  status: {
3532
3530
  led: boolean;
@@ -3613,17 +3611,16 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"platform", [z.ZodObj
3613
3611
  };
3614
3612
  streamPrivacy: "public" | "unlisted" | "private";
3615
3613
  platform: "youtube";
3616
- countdown: boolean;
3614
+ playlists: string[];
3617
3615
  tags: string[];
3616
+ notificationEmails: string[];
3618
3617
  latency: "normal" | "low" | "ultra_low";
3619
3618
  afterEndStatus: "public" | "unlisted" | "private" | "no_change";
3620
3619
  dvr: boolean;
3621
3620
  hasWatchdogs: boolean;
3622
- enableManualControl: boolean;
3623
- streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
3621
+ streamingProtocol: "RTMP" | "RTMPS" | "HLS";
3624
3622
  description?: string | undefined;
3625
- playlist?: string | undefined;
3626
- notificationEmail?: string[] | undefined;
3623
+ countdown?: boolean | undefined;
3627
3624
  }>, z.ZodObject<{
3628
3625
  streamId: z.ZodString;
3629
3626
  enabled: z.ZodBoolean;
@@ -13621,17 +13618,16 @@ export declare const streamListSchema: z.ZodObject<{
13621
13618
  } & {
13622
13619
  platform: z.ZodLiteral<"youtube">;
13623
13620
  description: z.ZodOptional<z.ZodString>;
13624
- playlist: z.ZodOptional<z.ZodString>;
13621
+ playlists: z.ZodArray<z.ZodString, "many">;
13625
13622
  tags: z.ZodArray<z.ZodString, "many">;
13626
- notificationEmail: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
13623
+ notificationEmails: z.ZodArray<z.ZodString, "many">;
13627
13624
  streamPrivacy: z.ZodUnion<[z.ZodLiteral<"public">, z.ZodLiteral<"unlisted">, z.ZodLiteral<"private">]>;
13628
13625
  latency: z.ZodUnion<[z.ZodLiteral<"normal">, z.ZodLiteral<"low">, z.ZodLiteral<"ultra_low">]>;
13629
13626
  afterEndStatus: z.ZodUnion<[z.ZodLiteral<"no_change">, z.ZodLiteral<"public">, z.ZodLiteral<"unlisted">, z.ZodLiteral<"private">]>;
13630
13627
  dvr: z.ZodBoolean;
13631
13628
  hasWatchdogs: z.ZodBoolean;
13632
- countdown: z.ZodBoolean;
13633
- enableManualControl: z.ZodBoolean;
13634
- streamingProtocol: z.ZodUnion<[z.ZodLiteral<"RTMP">, z.ZodLiteral<"RTMPS">, z.ZodLiteral<"HLS_PUSH">]>;
13629
+ countdown: z.ZodOptional<z.ZodBoolean>;
13630
+ streamingProtocol: z.ZodUnion<[z.ZodLiteral<"RTMP">, z.ZodLiteral<"RTMPS">, z.ZodLiteral<"HLS">]>;
13635
13631
  }, "strip", z.ZodTypeAny, {
13636
13632
  status: {
13637
13633
  led: boolean;
@@ -13718,17 +13714,16 @@ export declare const streamListSchema: z.ZodObject<{
13718
13714
  };
13719
13715
  streamPrivacy: "public" | "unlisted" | "private";
13720
13716
  platform: "youtube";
13721
- countdown: boolean;
13717
+ playlists: string[];
13722
13718
  tags: string[];
13719
+ notificationEmails: string[];
13723
13720
  latency: "normal" | "low" | "ultra_low";
13724
13721
  afterEndStatus: "public" | "unlisted" | "private" | "no_change";
13725
13722
  dvr: boolean;
13726
13723
  hasWatchdogs: boolean;
13727
- enableManualControl: boolean;
13728
- streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
13724
+ streamingProtocol: "RTMP" | "RTMPS" | "HLS";
13729
13725
  description?: string | undefined;
13730
- playlist?: string | undefined;
13731
- notificationEmail?: string[] | undefined;
13726
+ countdown?: boolean | undefined;
13732
13727
  }, {
13733
13728
  status: {
13734
13729
  led: boolean;
@@ -13815,17 +13810,16 @@ export declare const streamListSchema: z.ZodObject<{
13815
13810
  };
13816
13811
  streamPrivacy: "public" | "unlisted" | "private";
13817
13812
  platform: "youtube";
13818
- countdown: boolean;
13813
+ playlists: string[];
13819
13814
  tags: string[];
13815
+ notificationEmails: string[];
13820
13816
  latency: "normal" | "low" | "ultra_low";
13821
13817
  afterEndStatus: "public" | "unlisted" | "private" | "no_change";
13822
13818
  dvr: boolean;
13823
13819
  hasWatchdogs: boolean;
13824
- enableManualControl: boolean;
13825
- streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
13820
+ streamingProtocol: "RTMP" | "RTMPS" | "HLS";
13826
13821
  description?: string | undefined;
13827
- playlist?: string | undefined;
13828
- notificationEmail?: string[] | undefined;
13822
+ countdown?: boolean | undefined;
13829
13823
  }>, z.ZodObject<{
13830
13824
  streamId: z.ZodString;
13831
13825
  enabled: z.ZodBoolean;
@@ -20672,17 +20666,16 @@ export declare const streamListSchema: z.ZodObject<{
20672
20666
  };
20673
20667
  streamPrivacy: "public" | "unlisted" | "private";
20674
20668
  platform: "youtube";
20675
- countdown: boolean;
20669
+ playlists: string[];
20676
20670
  tags: string[];
20671
+ notificationEmails: string[];
20677
20672
  latency: "normal" | "low" | "ultra_low";
20678
20673
  afterEndStatus: "public" | "unlisted" | "private" | "no_change";
20679
20674
  dvr: boolean;
20680
20675
  hasWatchdogs: boolean;
20681
- enableManualControl: boolean;
20682
- streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
20676
+ streamingProtocol: "RTMP" | "RTMPS" | "HLS";
20683
20677
  description?: string | undefined;
20684
- playlist?: string | undefined;
20685
- notificationEmail?: string[] | undefined;
20678
+ countdown?: boolean | undefined;
20686
20679
  } | {
20687
20680
  status: {
20688
20681
  led: boolean;
@@ -22396,17 +22389,16 @@ export declare const streamListSchema: z.ZodObject<{
22396
22389
  };
22397
22390
  streamPrivacy: "public" | "unlisted" | "private";
22398
22391
  platform: "youtube";
22399
- countdown: boolean;
22392
+ playlists: string[];
22400
22393
  tags: string[];
22394
+ notificationEmails: string[];
22401
22395
  latency: "normal" | "low" | "ultra_low";
22402
22396
  afterEndStatus: "public" | "unlisted" | "private" | "no_change";
22403
22397
  dvr: boolean;
22404
22398
  hasWatchdogs: boolean;
22405
- enableManualControl: boolean;
22406
- streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
22399
+ streamingProtocol: "RTMP" | "RTMPS" | "HLS";
22407
22400
  description?: string | undefined;
22408
- playlist?: string | undefined;
22409
- notificationEmail?: string[] | undefined;
22401
+ countdown?: boolean | undefined;
22410
22402
  } | {
22411
22403
  status: {
22412
22404
  led: boolean;
@@ -24474,17 +24466,16 @@ export declare const isYouTubeStream: (stream: TStream) => stream is {
24474
24466
  };
24475
24467
  streamPrivacy: "public" | "unlisted" | "private";
24476
24468
  platform: "youtube";
24477
- countdown: boolean;
24469
+ playlists: string[];
24478
24470
  tags: string[];
24471
+ notificationEmails: string[];
24479
24472
  latency: "normal" | "low" | "ultra_low";
24480
24473
  afterEndStatus: "public" | "unlisted" | "private" | "no_change";
24481
24474
  dvr: boolean;
24482
24475
  hasWatchdogs: boolean;
24483
- enableManualControl: boolean;
24484
- streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
24476
+ streamingProtocol: "RTMP" | "RTMPS" | "HLS";
24485
24477
  description?: string | undefined;
24486
- playlist?: string | undefined;
24487
- notificationEmail?: string[] | undefined;
24478
+ countdown?: boolean | undefined;
24488
24479
  };
24489
24480
  export type TVimeoStream = z.infer<typeof vimeoSchema>;
24490
24481
  export declare const isVimeoStream: (stream: TStream) => stream is {
@@ -336,17 +336,16 @@ export declare const youtubeSchema: z.ZodObject<{
336
336
  } & {
337
337
  platform: z.ZodLiteral<"youtube">;
338
338
  description: z.ZodOptional<z.ZodString>;
339
- playlist: z.ZodOptional<z.ZodString>;
339
+ playlists: z.ZodArray<z.ZodString, "many">;
340
340
  tags: z.ZodArray<z.ZodString, "many">;
341
- notificationEmail: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
341
+ notificationEmails: z.ZodArray<z.ZodString, "many">;
342
342
  streamPrivacy: z.ZodUnion<[z.ZodLiteral<"public">, z.ZodLiteral<"unlisted">, z.ZodLiteral<"private">]>;
343
343
  latency: z.ZodUnion<[z.ZodLiteral<"normal">, z.ZodLiteral<"low">, z.ZodLiteral<"ultra_low">]>;
344
344
  afterEndStatus: z.ZodUnion<[z.ZodLiteral<"no_change">, z.ZodLiteral<"public">, z.ZodLiteral<"unlisted">, z.ZodLiteral<"private">]>;
345
345
  dvr: z.ZodBoolean;
346
346
  hasWatchdogs: z.ZodBoolean;
347
- countdown: z.ZodBoolean;
348
- enableManualControl: z.ZodBoolean;
349
- streamingProtocol: z.ZodUnion<[z.ZodLiteral<"RTMP">, z.ZodLiteral<"RTMPS">, z.ZodLiteral<"HLS_PUSH">]>;
347
+ countdown: z.ZodOptional<z.ZodBoolean>;
348
+ streamingProtocol: z.ZodUnion<[z.ZodLiteral<"RTMP">, z.ZodLiteral<"RTMPS">, z.ZodLiteral<"HLS">]>;
350
349
  }, "strip", z.ZodTypeAny, {
351
350
  status: {
352
351
  led: boolean;
@@ -433,17 +432,16 @@ export declare const youtubeSchema: z.ZodObject<{
433
432
  };
434
433
  streamPrivacy: "public" | "unlisted" | "private";
435
434
  platform: "youtube";
436
- countdown: boolean;
435
+ playlists: string[];
437
436
  tags: string[];
437
+ notificationEmails: string[];
438
438
  latency: "normal" | "low" | "ultra_low";
439
439
  afterEndStatus: "public" | "unlisted" | "private" | "no_change";
440
440
  dvr: boolean;
441
441
  hasWatchdogs: boolean;
442
- enableManualControl: boolean;
443
- streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
442
+ streamingProtocol: "RTMP" | "RTMPS" | "HLS";
444
443
  description?: string | undefined;
445
- playlist?: string | undefined;
446
- notificationEmail?: string[] | undefined;
444
+ countdown?: boolean | undefined;
447
445
  }, {
448
446
  status: {
449
447
  led: boolean;
@@ -530,16 +528,15 @@ export declare const youtubeSchema: z.ZodObject<{
530
528
  };
531
529
  streamPrivacy: "public" | "unlisted" | "private";
532
530
  platform: "youtube";
533
- countdown: boolean;
531
+ playlists: string[];
534
532
  tags: string[];
533
+ notificationEmails: string[];
535
534
  latency: "normal" | "low" | "ultra_low";
536
535
  afterEndStatus: "public" | "unlisted" | "private" | "no_change";
537
536
  dvr: boolean;
538
537
  hasWatchdogs: boolean;
539
- enableManualControl: boolean;
540
- streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
538
+ streamingProtocol: "RTMP" | "RTMPS" | "HLS";
541
539
  description?: string | undefined;
542
- playlist?: string | undefined;
543
- notificationEmail?: string[] | undefined;
540
+ countdown?: boolean | undefined;
544
541
  }>;
545
542
  export type TYouTubeStreamingProtocolType = z.infer<typeof youtubeSchema>['streamingProtocol'];
@@ -9,15 +9,14 @@ const streamCommonTypes_1 = require("./streamCommonTypes");
9
9
  exports.youtubeSchema = streamCommonTypes_1.streamCommonSchema.extend({
10
10
  platform: zod_1.default.literal('youtube'),
11
11
  description: zod_1.default.string().optional(),
12
- playlist: zod_1.default.string().optional(),
12
+ playlists: zod_1.default.array(zod_1.default.string()),
13
13
  tags: zod_1.default.array(zod_1.default.string()),
14
- notificationEmail: zod_1.default.array(zod_1.default.string().email()).optional(),
14
+ notificationEmails: zod_1.default.array(zod_1.default.string().email()),
15
15
  streamPrivacy: zod_1.default.union([zod_1.default.literal('public'), zod_1.default.literal('unlisted'), zod_1.default.literal('private')]),
16
16
  latency: zod_1.default.union([zod_1.default.literal('normal'), zod_1.default.literal('low'), zod_1.default.literal('ultra_low')]),
17
17
  afterEndStatus: zod_1.default.union([zod_1.default.literal('no_change'), zod_1.default.literal('public'), zod_1.default.literal('unlisted'), zod_1.default.literal('private')]),
18
18
  dvr: zod_1.default.boolean(),
19
19
  hasWatchdogs: zod_1.default.boolean(),
20
- countdown: zod_1.default.boolean(),
21
- enableManualControl: zod_1.default.boolean(),
22
- streamingProtocol: zod_1.default.union([zod_1.default.literal('RTMP'), zod_1.default.literal('RTMPS'), zod_1.default.literal('HLS_PUSH')]),
20
+ countdown: zod_1.default.boolean().optional(),
21
+ streamingProtocol: zod_1.default.union([zod_1.default.literal('RTMP'), zod_1.default.literal('RTMPS'), zod_1.default.literal('HLS')]),
23
22
  });
@@ -3,15 +3,14 @@ import { streamCommonSchema } from './streamCommonTypes';
3
3
  export const youtubeSchema = streamCommonSchema.extend({
4
4
  platform: z.literal('youtube'),
5
5
  description: z.string().optional(),
6
- playlist: z.string().optional(),
6
+ playlists: z.array(z.string()),
7
7
  tags: z.array(z.string()),
8
- notificationEmail: z.array(z.string().email()).optional(),
8
+ notificationEmails: z.array(z.string().email()),
9
9
  streamPrivacy: z.union([z.literal('public'), z.literal('unlisted'), z.literal('private')]),
10
10
  latency: z.union([z.literal('normal'), z.literal('low'), z.literal('ultra_low')]),
11
11
  afterEndStatus: z.union([z.literal('no_change'), z.literal('public'), z.literal('unlisted'), z.literal('private')]),
12
12
  dvr: z.boolean(),
13
13
  hasWatchdogs: z.boolean(),
14
- countdown: z.boolean(),
15
- enableManualControl: z.boolean(),
16
- streamingProtocol: z.union([z.literal('RTMP'), z.literal('RTMPS'), z.literal('HLS_PUSH')]),
14
+ countdown: z.boolean().optional(),
15
+ streamingProtocol: z.union([z.literal('RTMP'), z.literal('RTMPS'), z.literal('HLS')]),
17
16
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "camstreamerlib",
3
- "version": "4.0.0-beta.144",
3
+ "version": "4.0.0-beta.146",
4
4
  "description": "Helper library for CamStreamer ACAP applications.",
5
5
  "prettier": "@camstreamer/prettier-config",
6
6
  "engine": {
@@ -280,17 +280,16 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> exte
280
280
  };
281
281
  streamPrivacy: "public" | "unlisted" | "private";
282
282
  platform: "youtube";
283
- countdown: boolean;
283
+ playlists: string[];
284
284
  tags: string[];
285
+ notificationEmails: string[];
285
286
  latency: "normal" | "low" | "ultra_low";
286
287
  afterEndStatus: "public" | "unlisted" | "private" | "no_change";
287
288
  dvr: boolean;
288
289
  hasWatchdogs: boolean;
289
- enableManualControl: boolean;
290
- streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
290
+ streamingProtocol: "RTMP" | "RTMPS" | "HLS";
291
291
  description?: string | undefined;
292
- playlist?: string | undefined;
293
- notificationEmail?: string[] | undefined;
292
+ countdown?: boolean | undefined;
294
293
  } | {
295
294
  status: {
296
295
  led: boolean;
@@ -2006,17 +2005,16 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> exte
2006
2005
  };
2007
2006
  streamPrivacy: "public" | "unlisted" | "private";
2008
2007
  platform: "youtube";
2009
- countdown: boolean;
2008
+ playlists: string[];
2010
2009
  tags: string[];
2010
+ notificationEmails: string[];
2011
2011
  latency: "normal" | "low" | "ultra_low";
2012
2012
  afterEndStatus: "public" | "unlisted" | "private" | "no_change";
2013
2013
  dvr: boolean;
2014
2014
  hasWatchdogs: boolean;
2015
- enableManualControl: boolean;
2016
- streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
2015
+ streamingProtocol: "RTMP" | "RTMPS" | "HLS";
2017
2016
  description?: string | undefined;
2018
- playlist?: string | undefined;
2019
- notificationEmail?: string[] | undefined;
2017
+ countdown?: boolean | undefined;
2020
2018
  } | {
2021
2019
  status: {
2022
2020
  led: boolean;
@@ -3419,17 +3419,16 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"platform", [z.ZodObj
3419
3419
  } & {
3420
3420
  platform: z.ZodLiteral<"youtube">;
3421
3421
  description: z.ZodOptional<z.ZodString>;
3422
- playlist: z.ZodOptional<z.ZodString>;
3422
+ playlists: z.ZodArray<z.ZodString, "many">;
3423
3423
  tags: z.ZodArray<z.ZodString, "many">;
3424
- notificationEmail: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3424
+ notificationEmails: z.ZodArray<z.ZodString, "many">;
3425
3425
  streamPrivacy: z.ZodUnion<[z.ZodLiteral<"public">, z.ZodLiteral<"unlisted">, z.ZodLiteral<"private">]>;
3426
3426
  latency: z.ZodUnion<[z.ZodLiteral<"normal">, z.ZodLiteral<"low">, z.ZodLiteral<"ultra_low">]>;
3427
3427
  afterEndStatus: z.ZodUnion<[z.ZodLiteral<"no_change">, z.ZodLiteral<"public">, z.ZodLiteral<"unlisted">, z.ZodLiteral<"private">]>;
3428
3428
  dvr: z.ZodBoolean;
3429
3429
  hasWatchdogs: z.ZodBoolean;
3430
- countdown: z.ZodBoolean;
3431
- enableManualControl: z.ZodBoolean;
3432
- streamingProtocol: z.ZodUnion<[z.ZodLiteral<"RTMP">, z.ZodLiteral<"RTMPS">, z.ZodLiteral<"HLS_PUSH">]>;
3430
+ countdown: z.ZodOptional<z.ZodBoolean>;
3431
+ streamingProtocol: z.ZodUnion<[z.ZodLiteral<"RTMP">, z.ZodLiteral<"RTMPS">, z.ZodLiteral<"HLS">]>;
3433
3432
  }, "strip", z.ZodTypeAny, {
3434
3433
  status: {
3435
3434
  led: boolean;
@@ -3516,17 +3515,16 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"platform", [z.ZodObj
3516
3515
  };
3517
3516
  streamPrivacy: "public" | "unlisted" | "private";
3518
3517
  platform: "youtube";
3519
- countdown: boolean;
3518
+ playlists: string[];
3520
3519
  tags: string[];
3520
+ notificationEmails: string[];
3521
3521
  latency: "normal" | "low" | "ultra_low";
3522
3522
  afterEndStatus: "public" | "unlisted" | "private" | "no_change";
3523
3523
  dvr: boolean;
3524
3524
  hasWatchdogs: boolean;
3525
- enableManualControl: boolean;
3526
- streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
3525
+ streamingProtocol: "RTMP" | "RTMPS" | "HLS";
3527
3526
  description?: string | undefined;
3528
- playlist?: string | undefined;
3529
- notificationEmail?: string[] | undefined;
3527
+ countdown?: boolean | undefined;
3530
3528
  }, {
3531
3529
  status: {
3532
3530
  led: boolean;
@@ -3613,17 +3611,16 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"platform", [z.ZodObj
3613
3611
  };
3614
3612
  streamPrivacy: "public" | "unlisted" | "private";
3615
3613
  platform: "youtube";
3616
- countdown: boolean;
3614
+ playlists: string[];
3617
3615
  tags: string[];
3616
+ notificationEmails: string[];
3618
3617
  latency: "normal" | "low" | "ultra_low";
3619
3618
  afterEndStatus: "public" | "unlisted" | "private" | "no_change";
3620
3619
  dvr: boolean;
3621
3620
  hasWatchdogs: boolean;
3622
- enableManualControl: boolean;
3623
- streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
3621
+ streamingProtocol: "RTMP" | "RTMPS" | "HLS";
3624
3622
  description?: string | undefined;
3625
- playlist?: string | undefined;
3626
- notificationEmail?: string[] | undefined;
3623
+ countdown?: boolean | undefined;
3627
3624
  }>, z.ZodObject<{
3628
3625
  streamId: z.ZodString;
3629
3626
  enabled: z.ZodBoolean;
@@ -13621,17 +13618,16 @@ export declare const streamListSchema: z.ZodObject<{
13621
13618
  } & {
13622
13619
  platform: z.ZodLiteral<"youtube">;
13623
13620
  description: z.ZodOptional<z.ZodString>;
13624
- playlist: z.ZodOptional<z.ZodString>;
13621
+ playlists: z.ZodArray<z.ZodString, "many">;
13625
13622
  tags: z.ZodArray<z.ZodString, "many">;
13626
- notificationEmail: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
13623
+ notificationEmails: z.ZodArray<z.ZodString, "many">;
13627
13624
  streamPrivacy: z.ZodUnion<[z.ZodLiteral<"public">, z.ZodLiteral<"unlisted">, z.ZodLiteral<"private">]>;
13628
13625
  latency: z.ZodUnion<[z.ZodLiteral<"normal">, z.ZodLiteral<"low">, z.ZodLiteral<"ultra_low">]>;
13629
13626
  afterEndStatus: z.ZodUnion<[z.ZodLiteral<"no_change">, z.ZodLiteral<"public">, z.ZodLiteral<"unlisted">, z.ZodLiteral<"private">]>;
13630
13627
  dvr: z.ZodBoolean;
13631
13628
  hasWatchdogs: z.ZodBoolean;
13632
- countdown: z.ZodBoolean;
13633
- enableManualControl: z.ZodBoolean;
13634
- streamingProtocol: z.ZodUnion<[z.ZodLiteral<"RTMP">, z.ZodLiteral<"RTMPS">, z.ZodLiteral<"HLS_PUSH">]>;
13629
+ countdown: z.ZodOptional<z.ZodBoolean>;
13630
+ streamingProtocol: z.ZodUnion<[z.ZodLiteral<"RTMP">, z.ZodLiteral<"RTMPS">, z.ZodLiteral<"HLS">]>;
13635
13631
  }, "strip", z.ZodTypeAny, {
13636
13632
  status: {
13637
13633
  led: boolean;
@@ -13718,17 +13714,16 @@ export declare const streamListSchema: z.ZodObject<{
13718
13714
  };
13719
13715
  streamPrivacy: "public" | "unlisted" | "private";
13720
13716
  platform: "youtube";
13721
- countdown: boolean;
13717
+ playlists: string[];
13722
13718
  tags: string[];
13719
+ notificationEmails: string[];
13723
13720
  latency: "normal" | "low" | "ultra_low";
13724
13721
  afterEndStatus: "public" | "unlisted" | "private" | "no_change";
13725
13722
  dvr: boolean;
13726
13723
  hasWatchdogs: boolean;
13727
- enableManualControl: boolean;
13728
- streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
13724
+ streamingProtocol: "RTMP" | "RTMPS" | "HLS";
13729
13725
  description?: string | undefined;
13730
- playlist?: string | undefined;
13731
- notificationEmail?: string[] | undefined;
13726
+ countdown?: boolean | undefined;
13732
13727
  }, {
13733
13728
  status: {
13734
13729
  led: boolean;
@@ -13815,17 +13810,16 @@ export declare const streamListSchema: z.ZodObject<{
13815
13810
  };
13816
13811
  streamPrivacy: "public" | "unlisted" | "private";
13817
13812
  platform: "youtube";
13818
- countdown: boolean;
13813
+ playlists: string[];
13819
13814
  tags: string[];
13815
+ notificationEmails: string[];
13820
13816
  latency: "normal" | "low" | "ultra_low";
13821
13817
  afterEndStatus: "public" | "unlisted" | "private" | "no_change";
13822
13818
  dvr: boolean;
13823
13819
  hasWatchdogs: boolean;
13824
- enableManualControl: boolean;
13825
- streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
13820
+ streamingProtocol: "RTMP" | "RTMPS" | "HLS";
13826
13821
  description?: string | undefined;
13827
- playlist?: string | undefined;
13828
- notificationEmail?: string[] | undefined;
13822
+ countdown?: boolean | undefined;
13829
13823
  }>, z.ZodObject<{
13830
13824
  streamId: z.ZodString;
13831
13825
  enabled: z.ZodBoolean;
@@ -20672,17 +20666,16 @@ export declare const streamListSchema: z.ZodObject<{
20672
20666
  };
20673
20667
  streamPrivacy: "public" | "unlisted" | "private";
20674
20668
  platform: "youtube";
20675
- countdown: boolean;
20669
+ playlists: string[];
20676
20670
  tags: string[];
20671
+ notificationEmails: string[];
20677
20672
  latency: "normal" | "low" | "ultra_low";
20678
20673
  afterEndStatus: "public" | "unlisted" | "private" | "no_change";
20679
20674
  dvr: boolean;
20680
20675
  hasWatchdogs: boolean;
20681
- enableManualControl: boolean;
20682
- streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
20676
+ streamingProtocol: "RTMP" | "RTMPS" | "HLS";
20683
20677
  description?: string | undefined;
20684
- playlist?: string | undefined;
20685
- notificationEmail?: string[] | undefined;
20678
+ countdown?: boolean | undefined;
20686
20679
  } | {
20687
20680
  status: {
20688
20681
  led: boolean;
@@ -22396,17 +22389,16 @@ export declare const streamListSchema: z.ZodObject<{
22396
22389
  };
22397
22390
  streamPrivacy: "public" | "unlisted" | "private";
22398
22391
  platform: "youtube";
22399
- countdown: boolean;
22392
+ playlists: string[];
22400
22393
  tags: string[];
22394
+ notificationEmails: string[];
22401
22395
  latency: "normal" | "low" | "ultra_low";
22402
22396
  afterEndStatus: "public" | "unlisted" | "private" | "no_change";
22403
22397
  dvr: boolean;
22404
22398
  hasWatchdogs: boolean;
22405
- enableManualControl: boolean;
22406
- streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
22399
+ streamingProtocol: "RTMP" | "RTMPS" | "HLS";
22407
22400
  description?: string | undefined;
22408
- playlist?: string | undefined;
22409
- notificationEmail?: string[] | undefined;
22401
+ countdown?: boolean | undefined;
22410
22402
  } | {
22411
22403
  status: {
22412
22404
  led: boolean;
@@ -24474,17 +24466,16 @@ export declare const isYouTubeStream: (stream: TStream) => stream is {
24474
24466
  };
24475
24467
  streamPrivacy: "public" | "unlisted" | "private";
24476
24468
  platform: "youtube";
24477
- countdown: boolean;
24469
+ playlists: string[];
24478
24470
  tags: string[];
24471
+ notificationEmails: string[];
24479
24472
  latency: "normal" | "low" | "ultra_low";
24480
24473
  afterEndStatus: "public" | "unlisted" | "private" | "no_change";
24481
24474
  dvr: boolean;
24482
24475
  hasWatchdogs: boolean;
24483
- enableManualControl: boolean;
24484
- streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
24476
+ streamingProtocol: "RTMP" | "RTMPS" | "HLS";
24485
24477
  description?: string | undefined;
24486
- playlist?: string | undefined;
24487
- notificationEmail?: string[] | undefined;
24478
+ countdown?: boolean | undefined;
24488
24479
  };
24489
24480
  export type TVimeoStream = z.infer<typeof vimeoSchema>;
24490
24481
  export declare const isVimeoStream: (stream: TStream) => stream is {
@@ -336,17 +336,16 @@ export declare const youtubeSchema: z.ZodObject<{
336
336
  } & {
337
337
  platform: z.ZodLiteral<"youtube">;
338
338
  description: z.ZodOptional<z.ZodString>;
339
- playlist: z.ZodOptional<z.ZodString>;
339
+ playlists: z.ZodArray<z.ZodString, "many">;
340
340
  tags: z.ZodArray<z.ZodString, "many">;
341
- notificationEmail: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
341
+ notificationEmails: z.ZodArray<z.ZodString, "many">;
342
342
  streamPrivacy: z.ZodUnion<[z.ZodLiteral<"public">, z.ZodLiteral<"unlisted">, z.ZodLiteral<"private">]>;
343
343
  latency: z.ZodUnion<[z.ZodLiteral<"normal">, z.ZodLiteral<"low">, z.ZodLiteral<"ultra_low">]>;
344
344
  afterEndStatus: z.ZodUnion<[z.ZodLiteral<"no_change">, z.ZodLiteral<"public">, z.ZodLiteral<"unlisted">, z.ZodLiteral<"private">]>;
345
345
  dvr: z.ZodBoolean;
346
346
  hasWatchdogs: z.ZodBoolean;
347
- countdown: z.ZodBoolean;
348
- enableManualControl: z.ZodBoolean;
349
- streamingProtocol: z.ZodUnion<[z.ZodLiteral<"RTMP">, z.ZodLiteral<"RTMPS">, z.ZodLiteral<"HLS_PUSH">]>;
347
+ countdown: z.ZodOptional<z.ZodBoolean>;
348
+ streamingProtocol: z.ZodUnion<[z.ZodLiteral<"RTMP">, z.ZodLiteral<"RTMPS">, z.ZodLiteral<"HLS">]>;
350
349
  }, "strip", z.ZodTypeAny, {
351
350
  status: {
352
351
  led: boolean;
@@ -433,17 +432,16 @@ export declare const youtubeSchema: z.ZodObject<{
433
432
  };
434
433
  streamPrivacy: "public" | "unlisted" | "private";
435
434
  platform: "youtube";
436
- countdown: boolean;
435
+ playlists: string[];
437
436
  tags: string[];
437
+ notificationEmails: string[];
438
438
  latency: "normal" | "low" | "ultra_low";
439
439
  afterEndStatus: "public" | "unlisted" | "private" | "no_change";
440
440
  dvr: boolean;
441
441
  hasWatchdogs: boolean;
442
- enableManualControl: boolean;
443
- streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
442
+ streamingProtocol: "RTMP" | "RTMPS" | "HLS";
444
443
  description?: string | undefined;
445
- playlist?: string | undefined;
446
- notificationEmail?: string[] | undefined;
444
+ countdown?: boolean | undefined;
447
445
  }, {
448
446
  status: {
449
447
  led: boolean;
@@ -530,16 +528,15 @@ export declare const youtubeSchema: z.ZodObject<{
530
528
  };
531
529
  streamPrivacy: "public" | "unlisted" | "private";
532
530
  platform: "youtube";
533
- countdown: boolean;
531
+ playlists: string[];
534
532
  tags: string[];
533
+ notificationEmails: string[];
535
534
  latency: "normal" | "low" | "ultra_low";
536
535
  afterEndStatus: "public" | "unlisted" | "private" | "no_change";
537
536
  dvr: boolean;
538
537
  hasWatchdogs: boolean;
539
- enableManualControl: boolean;
540
- streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
538
+ streamingProtocol: "RTMP" | "RTMPS" | "HLS";
541
539
  description?: string | undefined;
542
- playlist?: string | undefined;
543
- notificationEmail?: string[] | undefined;
540
+ countdown?: boolean | undefined;
544
541
  }>;
545
542
  export type TYouTubeStreamingProtocolType = z.infer<typeof youtubeSchema>['streamingProtocol'];