camstreamerlib 4.0.0-beta.144 → 4.0.0-beta.145

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.
@@ -281,16 +281,15 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> exte
281
281
  streamPrivacy: "public" | "unlisted" | "private";
282
282
  platform: "youtube";
283
283
  countdown: boolean;
284
+ playlists: string[];
284
285
  tags: string[];
286
+ notificationEmails: string[];
285
287
  latency: "normal" | "low" | "ultra_low";
286
288
  afterEndStatus: "public" | "unlisted" | "private" | "no_change";
287
289
  dvr: boolean;
288
290
  hasWatchdogs: boolean;
289
- enableManualControl: boolean;
290
- streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
291
+ streamingProtocol: "RTMP" | "RTMPS" | "HLS";
291
292
  description?: string | undefined;
292
- playlist?: string | undefined;
293
- notificationEmail?: string[] | undefined;
294
293
  } | {
295
294
  status: {
296
295
  led: boolean;
@@ -2007,16 +2006,15 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> exte
2007
2006
  streamPrivacy: "public" | "unlisted" | "private";
2008
2007
  platform: "youtube";
2009
2008
  countdown: boolean;
2009
+ playlists: string[];
2010
2010
  tags: string[];
2011
+ notificationEmails: string[];
2011
2012
  latency: "normal" | "low" | "ultra_low";
2012
2013
  afterEndStatus: "public" | "unlisted" | "private" | "no_change";
2013
2014
  dvr: boolean;
2014
2015
  hasWatchdogs: boolean;
2015
- enableManualControl: boolean;
2016
- streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
2016
+ streamingProtocol: "RTMP" | "RTMPS" | "HLS";
2017
2017
  description?: string | undefined;
2018
- playlist?: string | undefined;
2019
- notificationEmail?: string[] | 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
3430
  countdown: z.ZodBoolean;
3431
- enableManualControl: z.ZodBoolean;
3432
- streamingProtocol: z.ZodUnion<[z.ZodLiteral<"RTMP">, z.ZodLiteral<"RTMPS">, z.ZodLiteral<"HLS_PUSH">]>;
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;
@@ -3517,16 +3516,15 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"platform", [z.ZodObj
3517
3516
  streamPrivacy: "public" | "unlisted" | "private";
3518
3517
  platform: "youtube";
3519
3518
  countdown: boolean;
3519
+ playlists: string[];
3520
3520
  tags: string[];
3521
+ notificationEmails: string[];
3521
3522
  latency: "normal" | "low" | "ultra_low";
3522
3523
  afterEndStatus: "public" | "unlisted" | "private" | "no_change";
3523
3524
  dvr: boolean;
3524
3525
  hasWatchdogs: boolean;
3525
- enableManualControl: boolean;
3526
- streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
3526
+ streamingProtocol: "RTMP" | "RTMPS" | "HLS";
3527
3527
  description?: string | undefined;
3528
- playlist?: string | undefined;
3529
- notificationEmail?: string[] | undefined;
3530
3528
  }, {
3531
3529
  status: {
3532
3530
  led: boolean;
@@ -3614,16 +3612,15 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"platform", [z.ZodObj
3614
3612
  streamPrivacy: "public" | "unlisted" | "private";
3615
3613
  platform: "youtube";
3616
3614
  countdown: boolean;
3615
+ playlists: string[];
3617
3616
  tags: string[];
3617
+ notificationEmails: string[];
3618
3618
  latency: "normal" | "low" | "ultra_low";
3619
3619
  afterEndStatus: "public" | "unlisted" | "private" | "no_change";
3620
3620
  dvr: boolean;
3621
3621
  hasWatchdogs: boolean;
3622
- enableManualControl: boolean;
3623
- streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
3622
+ streamingProtocol: "RTMP" | "RTMPS" | "HLS";
3624
3623
  description?: string | undefined;
3625
- playlist?: string | undefined;
3626
- notificationEmail?: string[] | 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
13629
  countdown: z.ZodBoolean;
13633
- enableManualControl: z.ZodBoolean;
13634
- streamingProtocol: z.ZodUnion<[z.ZodLiteral<"RTMP">, z.ZodLiteral<"RTMPS">, z.ZodLiteral<"HLS_PUSH">]>;
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;
@@ -13719,16 +13715,15 @@ export declare const streamListSchema: z.ZodObject<{
13719
13715
  streamPrivacy: "public" | "unlisted" | "private";
13720
13716
  platform: "youtube";
13721
13717
  countdown: boolean;
13718
+ playlists: string[];
13722
13719
  tags: string[];
13720
+ notificationEmails: string[];
13723
13721
  latency: "normal" | "low" | "ultra_low";
13724
13722
  afterEndStatus: "public" | "unlisted" | "private" | "no_change";
13725
13723
  dvr: boolean;
13726
13724
  hasWatchdogs: boolean;
13727
- enableManualControl: boolean;
13728
- streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
13725
+ streamingProtocol: "RTMP" | "RTMPS" | "HLS";
13729
13726
  description?: string | undefined;
13730
- playlist?: string | undefined;
13731
- notificationEmail?: string[] | undefined;
13732
13727
  }, {
13733
13728
  status: {
13734
13729
  led: boolean;
@@ -13816,16 +13811,15 @@ export declare const streamListSchema: z.ZodObject<{
13816
13811
  streamPrivacy: "public" | "unlisted" | "private";
13817
13812
  platform: "youtube";
13818
13813
  countdown: boolean;
13814
+ playlists: string[];
13819
13815
  tags: string[];
13816
+ notificationEmails: string[];
13820
13817
  latency: "normal" | "low" | "ultra_low";
13821
13818
  afterEndStatus: "public" | "unlisted" | "private" | "no_change";
13822
13819
  dvr: boolean;
13823
13820
  hasWatchdogs: boolean;
13824
- enableManualControl: boolean;
13825
- streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
13821
+ streamingProtocol: "RTMP" | "RTMPS" | "HLS";
13826
13822
  description?: string | undefined;
13827
- playlist?: string | undefined;
13828
- notificationEmail?: string[] | undefined;
13829
13823
  }>, z.ZodObject<{
13830
13824
  streamId: z.ZodString;
13831
13825
  enabled: z.ZodBoolean;
@@ -20673,16 +20667,15 @@ export declare const streamListSchema: z.ZodObject<{
20673
20667
  streamPrivacy: "public" | "unlisted" | "private";
20674
20668
  platform: "youtube";
20675
20669
  countdown: boolean;
20670
+ playlists: string[];
20676
20671
  tags: string[];
20672
+ notificationEmails: string[];
20677
20673
  latency: "normal" | "low" | "ultra_low";
20678
20674
  afterEndStatus: "public" | "unlisted" | "private" | "no_change";
20679
20675
  dvr: boolean;
20680
20676
  hasWatchdogs: boolean;
20681
- enableManualControl: boolean;
20682
- streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
20677
+ streamingProtocol: "RTMP" | "RTMPS" | "HLS";
20683
20678
  description?: string | undefined;
20684
- playlist?: string | undefined;
20685
- notificationEmail?: string[] | undefined;
20686
20679
  } | {
20687
20680
  status: {
20688
20681
  led: boolean;
@@ -22397,16 +22390,15 @@ export declare const streamListSchema: z.ZodObject<{
22397
22390
  streamPrivacy: "public" | "unlisted" | "private";
22398
22391
  platform: "youtube";
22399
22392
  countdown: boolean;
22393
+ playlists: string[];
22400
22394
  tags: string[];
22395
+ notificationEmails: string[];
22401
22396
  latency: "normal" | "low" | "ultra_low";
22402
22397
  afterEndStatus: "public" | "unlisted" | "private" | "no_change";
22403
22398
  dvr: boolean;
22404
22399
  hasWatchdogs: boolean;
22405
- enableManualControl: boolean;
22406
- streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
22400
+ streamingProtocol: "RTMP" | "RTMPS" | "HLS";
22407
22401
  description?: string | undefined;
22408
- playlist?: string | undefined;
22409
- notificationEmail?: string[] | undefined;
22410
22402
  } | {
22411
22403
  status: {
22412
22404
  led: boolean;
@@ -24475,16 +24467,15 @@ export declare const isYouTubeStream: (stream: TStream) => stream is {
24475
24467
  streamPrivacy: "public" | "unlisted" | "private";
24476
24468
  platform: "youtube";
24477
24469
  countdown: boolean;
24470
+ playlists: string[];
24478
24471
  tags: string[];
24472
+ notificationEmails: string[];
24479
24473
  latency: "normal" | "low" | "ultra_low";
24480
24474
  afterEndStatus: "public" | "unlisted" | "private" | "no_change";
24481
24475
  dvr: boolean;
24482
24476
  hasWatchdogs: boolean;
24483
- enableManualControl: boolean;
24484
- streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
24477
+ streamingProtocol: "RTMP" | "RTMPS" | "HLS";
24485
24478
  description?: string | undefined;
24486
- playlist?: string | undefined;
24487
- notificationEmail?: string[] | 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
347
  countdown: z.ZodBoolean;
348
- enableManualControl: z.ZodBoolean;
349
- streamingProtocol: z.ZodUnion<[z.ZodLiteral<"RTMP">, z.ZodLiteral<"RTMPS">, z.ZodLiteral<"HLS_PUSH">]>;
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;
@@ -434,16 +433,15 @@ export declare const youtubeSchema: z.ZodObject<{
434
433
  streamPrivacy: "public" | "unlisted" | "private";
435
434
  platform: "youtube";
436
435
  countdown: boolean;
436
+ playlists: string[];
437
437
  tags: string[];
438
+ notificationEmails: string[];
438
439
  latency: "normal" | "low" | "ultra_low";
439
440
  afterEndStatus: "public" | "unlisted" | "private" | "no_change";
440
441
  dvr: boolean;
441
442
  hasWatchdogs: boolean;
442
- enableManualControl: boolean;
443
- streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
443
+ streamingProtocol: "RTMP" | "RTMPS" | "HLS";
444
444
  description?: string | undefined;
445
- playlist?: string | undefined;
446
- notificationEmail?: string[] | undefined;
447
445
  }, {
448
446
  status: {
449
447
  led: boolean;
@@ -531,15 +529,14 @@ export declare const youtubeSchema: z.ZodObject<{
531
529
  streamPrivacy: "public" | "unlisted" | "private";
532
530
  platform: "youtube";
533
531
  countdown: boolean;
532
+ playlists: string[];
534
533
  tags: string[];
534
+ notificationEmails: string[];
535
535
  latency: "normal" | "low" | "ultra_low";
536
536
  afterEndStatus: "public" | "unlisted" | "private" | "no_change";
537
537
  dvr: boolean;
538
538
  hasWatchdogs: boolean;
539
- enableManualControl: boolean;
540
- streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
539
+ streamingProtocol: "RTMP" | "RTMPS" | "HLS";
541
540
  description?: string | undefined;
542
- playlist?: string | undefined;
543
- notificationEmail?: string[] | 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
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')]),
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
14
  countdown: z.boolean(),
15
- enableManualControl: z.boolean(),
16
- streamingProtocol: z.union([z.literal('RTMP'), z.literal('RTMPS'), z.literal('HLS_PUSH')]),
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.145",
4
4
  "description": "Helper library for CamStreamer ACAP applications.",
5
5
  "prettier": "@camstreamer/prettier-config",
6
6
  "engine": {
@@ -281,16 +281,15 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> exte
281
281
  streamPrivacy: "public" | "unlisted" | "private";
282
282
  platform: "youtube";
283
283
  countdown: boolean;
284
+ playlists: string[];
284
285
  tags: string[];
286
+ notificationEmails: string[];
285
287
  latency: "normal" | "low" | "ultra_low";
286
288
  afterEndStatus: "public" | "unlisted" | "private" | "no_change";
287
289
  dvr: boolean;
288
290
  hasWatchdogs: boolean;
289
- enableManualControl: boolean;
290
- streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
291
+ streamingProtocol: "RTMP" | "RTMPS" | "HLS";
291
292
  description?: string | undefined;
292
- playlist?: string | undefined;
293
- notificationEmail?: string[] | undefined;
294
293
  } | {
295
294
  status: {
296
295
  led: boolean;
@@ -2007,16 +2006,15 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> exte
2007
2006
  streamPrivacy: "public" | "unlisted" | "private";
2008
2007
  platform: "youtube";
2009
2008
  countdown: boolean;
2009
+ playlists: string[];
2010
2010
  tags: string[];
2011
+ notificationEmails: string[];
2011
2012
  latency: "normal" | "low" | "ultra_low";
2012
2013
  afterEndStatus: "public" | "unlisted" | "private" | "no_change";
2013
2014
  dvr: boolean;
2014
2015
  hasWatchdogs: boolean;
2015
- enableManualControl: boolean;
2016
- streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
2016
+ streamingProtocol: "RTMP" | "RTMPS" | "HLS";
2017
2017
  description?: string | undefined;
2018
- playlist?: string | undefined;
2019
- notificationEmail?: string[] | 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
3430
  countdown: z.ZodBoolean;
3431
- enableManualControl: z.ZodBoolean;
3432
- streamingProtocol: z.ZodUnion<[z.ZodLiteral<"RTMP">, z.ZodLiteral<"RTMPS">, z.ZodLiteral<"HLS_PUSH">]>;
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;
@@ -3517,16 +3516,15 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"platform", [z.ZodObj
3517
3516
  streamPrivacy: "public" | "unlisted" | "private";
3518
3517
  platform: "youtube";
3519
3518
  countdown: boolean;
3519
+ playlists: string[];
3520
3520
  tags: string[];
3521
+ notificationEmails: string[];
3521
3522
  latency: "normal" | "low" | "ultra_low";
3522
3523
  afterEndStatus: "public" | "unlisted" | "private" | "no_change";
3523
3524
  dvr: boolean;
3524
3525
  hasWatchdogs: boolean;
3525
- enableManualControl: boolean;
3526
- streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
3526
+ streamingProtocol: "RTMP" | "RTMPS" | "HLS";
3527
3527
  description?: string | undefined;
3528
- playlist?: string | undefined;
3529
- notificationEmail?: string[] | undefined;
3530
3528
  }, {
3531
3529
  status: {
3532
3530
  led: boolean;
@@ -3614,16 +3612,15 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"platform", [z.ZodObj
3614
3612
  streamPrivacy: "public" | "unlisted" | "private";
3615
3613
  platform: "youtube";
3616
3614
  countdown: boolean;
3615
+ playlists: string[];
3617
3616
  tags: string[];
3617
+ notificationEmails: string[];
3618
3618
  latency: "normal" | "low" | "ultra_low";
3619
3619
  afterEndStatus: "public" | "unlisted" | "private" | "no_change";
3620
3620
  dvr: boolean;
3621
3621
  hasWatchdogs: boolean;
3622
- enableManualControl: boolean;
3623
- streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
3622
+ streamingProtocol: "RTMP" | "RTMPS" | "HLS";
3624
3623
  description?: string | undefined;
3625
- playlist?: string | undefined;
3626
- notificationEmail?: string[] | 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
13629
  countdown: z.ZodBoolean;
13633
- enableManualControl: z.ZodBoolean;
13634
- streamingProtocol: z.ZodUnion<[z.ZodLiteral<"RTMP">, z.ZodLiteral<"RTMPS">, z.ZodLiteral<"HLS_PUSH">]>;
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;
@@ -13719,16 +13715,15 @@ export declare const streamListSchema: z.ZodObject<{
13719
13715
  streamPrivacy: "public" | "unlisted" | "private";
13720
13716
  platform: "youtube";
13721
13717
  countdown: boolean;
13718
+ playlists: string[];
13722
13719
  tags: string[];
13720
+ notificationEmails: string[];
13723
13721
  latency: "normal" | "low" | "ultra_low";
13724
13722
  afterEndStatus: "public" | "unlisted" | "private" | "no_change";
13725
13723
  dvr: boolean;
13726
13724
  hasWatchdogs: boolean;
13727
- enableManualControl: boolean;
13728
- streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
13725
+ streamingProtocol: "RTMP" | "RTMPS" | "HLS";
13729
13726
  description?: string | undefined;
13730
- playlist?: string | undefined;
13731
- notificationEmail?: string[] | undefined;
13732
13727
  }, {
13733
13728
  status: {
13734
13729
  led: boolean;
@@ -13816,16 +13811,15 @@ export declare const streamListSchema: z.ZodObject<{
13816
13811
  streamPrivacy: "public" | "unlisted" | "private";
13817
13812
  platform: "youtube";
13818
13813
  countdown: boolean;
13814
+ playlists: string[];
13819
13815
  tags: string[];
13816
+ notificationEmails: string[];
13820
13817
  latency: "normal" | "low" | "ultra_low";
13821
13818
  afterEndStatus: "public" | "unlisted" | "private" | "no_change";
13822
13819
  dvr: boolean;
13823
13820
  hasWatchdogs: boolean;
13824
- enableManualControl: boolean;
13825
- streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
13821
+ streamingProtocol: "RTMP" | "RTMPS" | "HLS";
13826
13822
  description?: string | undefined;
13827
- playlist?: string | undefined;
13828
- notificationEmail?: string[] | undefined;
13829
13823
  }>, z.ZodObject<{
13830
13824
  streamId: z.ZodString;
13831
13825
  enabled: z.ZodBoolean;
@@ -20673,16 +20667,15 @@ export declare const streamListSchema: z.ZodObject<{
20673
20667
  streamPrivacy: "public" | "unlisted" | "private";
20674
20668
  platform: "youtube";
20675
20669
  countdown: boolean;
20670
+ playlists: string[];
20676
20671
  tags: string[];
20672
+ notificationEmails: string[];
20677
20673
  latency: "normal" | "low" | "ultra_low";
20678
20674
  afterEndStatus: "public" | "unlisted" | "private" | "no_change";
20679
20675
  dvr: boolean;
20680
20676
  hasWatchdogs: boolean;
20681
- enableManualControl: boolean;
20682
- streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
20677
+ streamingProtocol: "RTMP" | "RTMPS" | "HLS";
20683
20678
  description?: string | undefined;
20684
- playlist?: string | undefined;
20685
- notificationEmail?: string[] | undefined;
20686
20679
  } | {
20687
20680
  status: {
20688
20681
  led: boolean;
@@ -22397,16 +22390,15 @@ export declare const streamListSchema: z.ZodObject<{
22397
22390
  streamPrivacy: "public" | "unlisted" | "private";
22398
22391
  platform: "youtube";
22399
22392
  countdown: boolean;
22393
+ playlists: string[];
22400
22394
  tags: string[];
22395
+ notificationEmails: string[];
22401
22396
  latency: "normal" | "low" | "ultra_low";
22402
22397
  afterEndStatus: "public" | "unlisted" | "private" | "no_change";
22403
22398
  dvr: boolean;
22404
22399
  hasWatchdogs: boolean;
22405
- enableManualControl: boolean;
22406
- streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
22400
+ streamingProtocol: "RTMP" | "RTMPS" | "HLS";
22407
22401
  description?: string | undefined;
22408
- playlist?: string | undefined;
22409
- notificationEmail?: string[] | undefined;
22410
22402
  } | {
22411
22403
  status: {
22412
22404
  led: boolean;
@@ -24475,16 +24467,15 @@ export declare const isYouTubeStream: (stream: TStream) => stream is {
24475
24467
  streamPrivacy: "public" | "unlisted" | "private";
24476
24468
  platform: "youtube";
24477
24469
  countdown: boolean;
24470
+ playlists: string[];
24478
24471
  tags: string[];
24472
+ notificationEmails: string[];
24479
24473
  latency: "normal" | "low" | "ultra_low";
24480
24474
  afterEndStatus: "public" | "unlisted" | "private" | "no_change";
24481
24475
  dvr: boolean;
24482
24476
  hasWatchdogs: boolean;
24483
- enableManualControl: boolean;
24484
- streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
24477
+ streamingProtocol: "RTMP" | "RTMPS" | "HLS";
24485
24478
  description?: string | undefined;
24486
- playlist?: string | undefined;
24487
- notificationEmail?: string[] | 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
347
  countdown: z.ZodBoolean;
348
- enableManualControl: z.ZodBoolean;
349
- streamingProtocol: z.ZodUnion<[z.ZodLiteral<"RTMP">, z.ZodLiteral<"RTMPS">, z.ZodLiteral<"HLS_PUSH">]>;
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;
@@ -434,16 +433,15 @@ export declare const youtubeSchema: z.ZodObject<{
434
433
  streamPrivacy: "public" | "unlisted" | "private";
435
434
  platform: "youtube";
436
435
  countdown: boolean;
436
+ playlists: string[];
437
437
  tags: string[];
438
+ notificationEmails: string[];
438
439
  latency: "normal" | "low" | "ultra_low";
439
440
  afterEndStatus: "public" | "unlisted" | "private" | "no_change";
440
441
  dvr: boolean;
441
442
  hasWatchdogs: boolean;
442
- enableManualControl: boolean;
443
- streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
443
+ streamingProtocol: "RTMP" | "RTMPS" | "HLS";
444
444
  description?: string | undefined;
445
- playlist?: string | undefined;
446
- notificationEmail?: string[] | undefined;
447
445
  }, {
448
446
  status: {
449
447
  led: boolean;
@@ -531,15 +529,14 @@ export declare const youtubeSchema: z.ZodObject<{
531
529
  streamPrivacy: "public" | "unlisted" | "private";
532
530
  platform: "youtube";
533
531
  countdown: boolean;
532
+ playlists: string[];
534
533
  tags: string[];
534
+ notificationEmails: string[];
535
535
  latency: "normal" | "low" | "ultra_low";
536
536
  afterEndStatus: "public" | "unlisted" | "private" | "no_change";
537
537
  dvr: boolean;
538
538
  hasWatchdogs: boolean;
539
- enableManualControl: boolean;
540
- streamingProtocol: "RTMP" | "RTMPS" | "HLS_PUSH";
539
+ streamingProtocol: "RTMP" | "RTMPS" | "HLS";
541
540
  description?: string | undefined;
542
- playlist?: string | undefined;
543
- notificationEmail?: string[] | undefined;
544
541
  }>;
545
542
  export type TYouTubeStreamingProtocolType = z.infer<typeof youtubeSchema>['streamingProtocol'];