camstreamerlib 4.0.0-beta.145 → 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.
- package/cjs/CamStreamerAPI.d.ts +2 -2
- package/cjs/types/CamStreamerAPI/CamStreamerAPI.d.ts +9 -9
- package/cjs/types/CamStreamerAPI/youtubeSchema.d.ts +3 -3
- package/cjs/types/CamStreamerAPI/youtubeSchema.js +1 -1
- package/esm/types/CamStreamerAPI/youtubeSchema.js +1 -1
- package/package.json +1 -1
- package/types/CamStreamerAPI.d.ts +2 -2
- package/types/types/CamStreamerAPI/CamStreamerAPI.d.ts +9 -9
- package/types/types/CamStreamerAPI/youtubeSchema.d.ts +3 -3
package/cjs/CamStreamerAPI.d.ts
CHANGED
|
@@ -280,7 +280,6 @@ 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;
|
|
284
283
|
playlists: string[];
|
|
285
284
|
tags: string[];
|
|
286
285
|
notificationEmails: string[];
|
|
@@ -290,6 +289,7 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> exte
|
|
|
290
289
|
hasWatchdogs: boolean;
|
|
291
290
|
streamingProtocol: "RTMP" | "RTMPS" | "HLS";
|
|
292
291
|
description?: string | undefined;
|
|
292
|
+
countdown?: boolean | undefined;
|
|
293
293
|
} | {
|
|
294
294
|
status: {
|
|
295
295
|
led: boolean;
|
|
@@ -2005,7 +2005,6 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> exte
|
|
|
2005
2005
|
};
|
|
2006
2006
|
streamPrivacy: "public" | "unlisted" | "private";
|
|
2007
2007
|
platform: "youtube";
|
|
2008
|
-
countdown: boolean;
|
|
2009
2008
|
playlists: string[];
|
|
2010
2009
|
tags: string[];
|
|
2011
2010
|
notificationEmails: string[];
|
|
@@ -2015,6 +2014,7 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> exte
|
|
|
2015
2014
|
hasWatchdogs: boolean;
|
|
2016
2015
|
streamingProtocol: "RTMP" | "RTMPS" | "HLS";
|
|
2017
2016
|
description?: string | undefined;
|
|
2017
|
+
countdown?: boolean | undefined;
|
|
2018
2018
|
} | {
|
|
2019
2019
|
status: {
|
|
2020
2020
|
led: boolean;
|
|
@@ -3427,7 +3427,7 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"platform", [z.ZodObj
|
|
|
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
|
|
3430
|
+
countdown: z.ZodOptional<z.ZodBoolean>;
|
|
3431
3431
|
streamingProtocol: z.ZodUnion<[z.ZodLiteral<"RTMP">, z.ZodLiteral<"RTMPS">, z.ZodLiteral<"HLS">]>;
|
|
3432
3432
|
}, "strip", z.ZodTypeAny, {
|
|
3433
3433
|
status: {
|
|
@@ -3515,7 +3515,6 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"platform", [z.ZodObj
|
|
|
3515
3515
|
};
|
|
3516
3516
|
streamPrivacy: "public" | "unlisted" | "private";
|
|
3517
3517
|
platform: "youtube";
|
|
3518
|
-
countdown: boolean;
|
|
3519
3518
|
playlists: string[];
|
|
3520
3519
|
tags: string[];
|
|
3521
3520
|
notificationEmails: string[];
|
|
@@ -3525,6 +3524,7 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"platform", [z.ZodObj
|
|
|
3525
3524
|
hasWatchdogs: boolean;
|
|
3526
3525
|
streamingProtocol: "RTMP" | "RTMPS" | "HLS";
|
|
3527
3526
|
description?: string | undefined;
|
|
3527
|
+
countdown?: boolean | undefined;
|
|
3528
3528
|
}, {
|
|
3529
3529
|
status: {
|
|
3530
3530
|
led: boolean;
|
|
@@ -3611,7 +3611,6 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"platform", [z.ZodObj
|
|
|
3611
3611
|
};
|
|
3612
3612
|
streamPrivacy: "public" | "unlisted" | "private";
|
|
3613
3613
|
platform: "youtube";
|
|
3614
|
-
countdown: boolean;
|
|
3615
3614
|
playlists: string[];
|
|
3616
3615
|
tags: string[];
|
|
3617
3616
|
notificationEmails: string[];
|
|
@@ -3621,6 +3620,7 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"platform", [z.ZodObj
|
|
|
3621
3620
|
hasWatchdogs: boolean;
|
|
3622
3621
|
streamingProtocol: "RTMP" | "RTMPS" | "HLS";
|
|
3623
3622
|
description?: string | undefined;
|
|
3623
|
+
countdown?: boolean | undefined;
|
|
3624
3624
|
}>, z.ZodObject<{
|
|
3625
3625
|
streamId: z.ZodString;
|
|
3626
3626
|
enabled: z.ZodBoolean;
|
|
@@ -13626,7 +13626,7 @@ export declare const streamListSchema: z.ZodObject<{
|
|
|
13626
13626
|
afterEndStatus: z.ZodUnion<[z.ZodLiteral<"no_change">, z.ZodLiteral<"public">, z.ZodLiteral<"unlisted">, z.ZodLiteral<"private">]>;
|
|
13627
13627
|
dvr: z.ZodBoolean;
|
|
13628
13628
|
hasWatchdogs: z.ZodBoolean;
|
|
13629
|
-
countdown: z.ZodBoolean
|
|
13629
|
+
countdown: z.ZodOptional<z.ZodBoolean>;
|
|
13630
13630
|
streamingProtocol: z.ZodUnion<[z.ZodLiteral<"RTMP">, z.ZodLiteral<"RTMPS">, z.ZodLiteral<"HLS">]>;
|
|
13631
13631
|
}, "strip", z.ZodTypeAny, {
|
|
13632
13632
|
status: {
|
|
@@ -13714,7 +13714,6 @@ export declare const streamListSchema: z.ZodObject<{
|
|
|
13714
13714
|
};
|
|
13715
13715
|
streamPrivacy: "public" | "unlisted" | "private";
|
|
13716
13716
|
platform: "youtube";
|
|
13717
|
-
countdown: boolean;
|
|
13718
13717
|
playlists: string[];
|
|
13719
13718
|
tags: string[];
|
|
13720
13719
|
notificationEmails: string[];
|
|
@@ -13724,6 +13723,7 @@ export declare const streamListSchema: z.ZodObject<{
|
|
|
13724
13723
|
hasWatchdogs: boolean;
|
|
13725
13724
|
streamingProtocol: "RTMP" | "RTMPS" | "HLS";
|
|
13726
13725
|
description?: string | undefined;
|
|
13726
|
+
countdown?: boolean | undefined;
|
|
13727
13727
|
}, {
|
|
13728
13728
|
status: {
|
|
13729
13729
|
led: boolean;
|
|
@@ -13810,7 +13810,6 @@ export declare const streamListSchema: z.ZodObject<{
|
|
|
13810
13810
|
};
|
|
13811
13811
|
streamPrivacy: "public" | "unlisted" | "private";
|
|
13812
13812
|
platform: "youtube";
|
|
13813
|
-
countdown: boolean;
|
|
13814
13813
|
playlists: string[];
|
|
13815
13814
|
tags: string[];
|
|
13816
13815
|
notificationEmails: string[];
|
|
@@ -13820,6 +13819,7 @@ export declare const streamListSchema: z.ZodObject<{
|
|
|
13820
13819
|
hasWatchdogs: boolean;
|
|
13821
13820
|
streamingProtocol: "RTMP" | "RTMPS" | "HLS";
|
|
13822
13821
|
description?: string | undefined;
|
|
13822
|
+
countdown?: boolean | undefined;
|
|
13823
13823
|
}>, z.ZodObject<{
|
|
13824
13824
|
streamId: z.ZodString;
|
|
13825
13825
|
enabled: z.ZodBoolean;
|
|
@@ -20666,7 +20666,6 @@ export declare const streamListSchema: z.ZodObject<{
|
|
|
20666
20666
|
};
|
|
20667
20667
|
streamPrivacy: "public" | "unlisted" | "private";
|
|
20668
20668
|
platform: "youtube";
|
|
20669
|
-
countdown: boolean;
|
|
20670
20669
|
playlists: string[];
|
|
20671
20670
|
tags: string[];
|
|
20672
20671
|
notificationEmails: string[];
|
|
@@ -20676,6 +20675,7 @@ export declare const streamListSchema: z.ZodObject<{
|
|
|
20676
20675
|
hasWatchdogs: boolean;
|
|
20677
20676
|
streamingProtocol: "RTMP" | "RTMPS" | "HLS";
|
|
20678
20677
|
description?: string | undefined;
|
|
20678
|
+
countdown?: boolean | undefined;
|
|
20679
20679
|
} | {
|
|
20680
20680
|
status: {
|
|
20681
20681
|
led: boolean;
|
|
@@ -22389,7 +22389,6 @@ export declare const streamListSchema: z.ZodObject<{
|
|
|
22389
22389
|
};
|
|
22390
22390
|
streamPrivacy: "public" | "unlisted" | "private";
|
|
22391
22391
|
platform: "youtube";
|
|
22392
|
-
countdown: boolean;
|
|
22393
22392
|
playlists: string[];
|
|
22394
22393
|
tags: string[];
|
|
22395
22394
|
notificationEmails: string[];
|
|
@@ -22399,6 +22398,7 @@ export declare const streamListSchema: z.ZodObject<{
|
|
|
22399
22398
|
hasWatchdogs: boolean;
|
|
22400
22399
|
streamingProtocol: "RTMP" | "RTMPS" | "HLS";
|
|
22401
22400
|
description?: string | undefined;
|
|
22401
|
+
countdown?: boolean | undefined;
|
|
22402
22402
|
} | {
|
|
22403
22403
|
status: {
|
|
22404
22404
|
led: boolean;
|
|
@@ -24466,7 +24466,6 @@ export declare const isYouTubeStream: (stream: TStream) => stream is {
|
|
|
24466
24466
|
};
|
|
24467
24467
|
streamPrivacy: "public" | "unlisted" | "private";
|
|
24468
24468
|
platform: "youtube";
|
|
24469
|
-
countdown: boolean;
|
|
24470
24469
|
playlists: string[];
|
|
24471
24470
|
tags: string[];
|
|
24472
24471
|
notificationEmails: string[];
|
|
@@ -24476,6 +24475,7 @@ export declare const isYouTubeStream: (stream: TStream) => stream is {
|
|
|
24476
24475
|
hasWatchdogs: boolean;
|
|
24477
24476
|
streamingProtocol: "RTMP" | "RTMPS" | "HLS";
|
|
24478
24477
|
description?: string | undefined;
|
|
24478
|
+
countdown?: boolean | undefined;
|
|
24479
24479
|
};
|
|
24480
24480
|
export type TVimeoStream = z.infer<typeof vimeoSchema>;
|
|
24481
24481
|
export declare const isVimeoStream: (stream: TStream) => stream is {
|
|
@@ -344,7 +344,7 @@ export declare const youtubeSchema: z.ZodObject<{
|
|
|
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
|
|
347
|
+
countdown: z.ZodOptional<z.ZodBoolean>;
|
|
348
348
|
streamingProtocol: z.ZodUnion<[z.ZodLiteral<"RTMP">, z.ZodLiteral<"RTMPS">, z.ZodLiteral<"HLS">]>;
|
|
349
349
|
}, "strip", z.ZodTypeAny, {
|
|
350
350
|
status: {
|
|
@@ -432,7 +432,6 @@ export declare const youtubeSchema: z.ZodObject<{
|
|
|
432
432
|
};
|
|
433
433
|
streamPrivacy: "public" | "unlisted" | "private";
|
|
434
434
|
platform: "youtube";
|
|
435
|
-
countdown: boolean;
|
|
436
435
|
playlists: string[];
|
|
437
436
|
tags: string[];
|
|
438
437
|
notificationEmails: string[];
|
|
@@ -442,6 +441,7 @@ export declare const youtubeSchema: z.ZodObject<{
|
|
|
442
441
|
hasWatchdogs: boolean;
|
|
443
442
|
streamingProtocol: "RTMP" | "RTMPS" | "HLS";
|
|
444
443
|
description?: string | undefined;
|
|
444
|
+
countdown?: boolean | undefined;
|
|
445
445
|
}, {
|
|
446
446
|
status: {
|
|
447
447
|
led: boolean;
|
|
@@ -528,7 +528,6 @@ export declare const youtubeSchema: z.ZodObject<{
|
|
|
528
528
|
};
|
|
529
529
|
streamPrivacy: "public" | "unlisted" | "private";
|
|
530
530
|
platform: "youtube";
|
|
531
|
-
countdown: boolean;
|
|
532
531
|
playlists: string[];
|
|
533
532
|
tags: string[];
|
|
534
533
|
notificationEmails: string[];
|
|
@@ -538,5 +537,6 @@ export declare const youtubeSchema: z.ZodObject<{
|
|
|
538
537
|
hasWatchdogs: boolean;
|
|
539
538
|
streamingProtocol: "RTMP" | "RTMPS" | "HLS";
|
|
540
539
|
description?: string | undefined;
|
|
540
|
+
countdown?: boolean | undefined;
|
|
541
541
|
}>;
|
|
542
542
|
export type TYouTubeStreamingProtocolType = z.infer<typeof youtubeSchema>['streamingProtocol'];
|
|
@@ -17,6 +17,6 @@ exports.youtubeSchema = streamCommonTypes_1.streamCommonSchema.extend({
|
|
|
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(),
|
|
20
|
+
countdown: zod_1.default.boolean().optional(),
|
|
21
21
|
streamingProtocol: zod_1.default.union([zod_1.default.literal('RTMP'), zod_1.default.literal('RTMPS'), zod_1.default.literal('HLS')]),
|
|
22
22
|
});
|
|
@@ -11,6 +11,6 @@ export const youtubeSchema = streamCommonSchema.extend({
|
|
|
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(),
|
|
14
|
+
countdown: z.boolean().optional(),
|
|
15
15
|
streamingProtocol: z.union([z.literal('RTMP'), z.literal('RTMPS'), z.literal('HLS')]),
|
|
16
16
|
});
|
package/package.json
CHANGED
|
@@ -280,7 +280,6 @@ 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;
|
|
284
283
|
playlists: string[];
|
|
285
284
|
tags: string[];
|
|
286
285
|
notificationEmails: string[];
|
|
@@ -290,6 +289,7 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> exte
|
|
|
290
289
|
hasWatchdogs: boolean;
|
|
291
290
|
streamingProtocol: "RTMP" | "RTMPS" | "HLS";
|
|
292
291
|
description?: string | undefined;
|
|
292
|
+
countdown?: boolean | undefined;
|
|
293
293
|
} | {
|
|
294
294
|
status: {
|
|
295
295
|
led: boolean;
|
|
@@ -2005,7 +2005,6 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> exte
|
|
|
2005
2005
|
};
|
|
2006
2006
|
streamPrivacy: "public" | "unlisted" | "private";
|
|
2007
2007
|
platform: "youtube";
|
|
2008
|
-
countdown: boolean;
|
|
2009
2008
|
playlists: string[];
|
|
2010
2009
|
tags: string[];
|
|
2011
2010
|
notificationEmails: string[];
|
|
@@ -2015,6 +2014,7 @@ export declare class CamStreamerAPI<Client extends IClient<TResponse, any>> exte
|
|
|
2015
2014
|
hasWatchdogs: boolean;
|
|
2016
2015
|
streamingProtocol: "RTMP" | "RTMPS" | "HLS";
|
|
2017
2016
|
description?: string | undefined;
|
|
2017
|
+
countdown?: boolean | undefined;
|
|
2018
2018
|
} | {
|
|
2019
2019
|
status: {
|
|
2020
2020
|
led: boolean;
|
|
@@ -3427,7 +3427,7 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"platform", [z.ZodObj
|
|
|
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
|
|
3430
|
+
countdown: z.ZodOptional<z.ZodBoolean>;
|
|
3431
3431
|
streamingProtocol: z.ZodUnion<[z.ZodLiteral<"RTMP">, z.ZodLiteral<"RTMPS">, z.ZodLiteral<"HLS">]>;
|
|
3432
3432
|
}, "strip", z.ZodTypeAny, {
|
|
3433
3433
|
status: {
|
|
@@ -3515,7 +3515,6 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"platform", [z.ZodObj
|
|
|
3515
3515
|
};
|
|
3516
3516
|
streamPrivacy: "public" | "unlisted" | "private";
|
|
3517
3517
|
platform: "youtube";
|
|
3518
|
-
countdown: boolean;
|
|
3519
3518
|
playlists: string[];
|
|
3520
3519
|
tags: string[];
|
|
3521
3520
|
notificationEmails: string[];
|
|
@@ -3525,6 +3524,7 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"platform", [z.ZodObj
|
|
|
3525
3524
|
hasWatchdogs: boolean;
|
|
3526
3525
|
streamingProtocol: "RTMP" | "RTMPS" | "HLS";
|
|
3527
3526
|
description?: string | undefined;
|
|
3527
|
+
countdown?: boolean | undefined;
|
|
3528
3528
|
}, {
|
|
3529
3529
|
status: {
|
|
3530
3530
|
led: boolean;
|
|
@@ -3611,7 +3611,6 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"platform", [z.ZodObj
|
|
|
3611
3611
|
};
|
|
3612
3612
|
streamPrivacy: "public" | "unlisted" | "private";
|
|
3613
3613
|
platform: "youtube";
|
|
3614
|
-
countdown: boolean;
|
|
3615
3614
|
playlists: string[];
|
|
3616
3615
|
tags: string[];
|
|
3617
3616
|
notificationEmails: string[];
|
|
@@ -3621,6 +3620,7 @@ export declare const streamSchema: z.ZodDiscriminatedUnion<"platform", [z.ZodObj
|
|
|
3621
3620
|
hasWatchdogs: boolean;
|
|
3622
3621
|
streamingProtocol: "RTMP" | "RTMPS" | "HLS";
|
|
3623
3622
|
description?: string | undefined;
|
|
3623
|
+
countdown?: boolean | undefined;
|
|
3624
3624
|
}>, z.ZodObject<{
|
|
3625
3625
|
streamId: z.ZodString;
|
|
3626
3626
|
enabled: z.ZodBoolean;
|
|
@@ -13626,7 +13626,7 @@ export declare const streamListSchema: z.ZodObject<{
|
|
|
13626
13626
|
afterEndStatus: z.ZodUnion<[z.ZodLiteral<"no_change">, z.ZodLiteral<"public">, z.ZodLiteral<"unlisted">, z.ZodLiteral<"private">]>;
|
|
13627
13627
|
dvr: z.ZodBoolean;
|
|
13628
13628
|
hasWatchdogs: z.ZodBoolean;
|
|
13629
|
-
countdown: z.ZodBoolean
|
|
13629
|
+
countdown: z.ZodOptional<z.ZodBoolean>;
|
|
13630
13630
|
streamingProtocol: z.ZodUnion<[z.ZodLiteral<"RTMP">, z.ZodLiteral<"RTMPS">, z.ZodLiteral<"HLS">]>;
|
|
13631
13631
|
}, "strip", z.ZodTypeAny, {
|
|
13632
13632
|
status: {
|
|
@@ -13714,7 +13714,6 @@ export declare const streamListSchema: z.ZodObject<{
|
|
|
13714
13714
|
};
|
|
13715
13715
|
streamPrivacy: "public" | "unlisted" | "private";
|
|
13716
13716
|
platform: "youtube";
|
|
13717
|
-
countdown: boolean;
|
|
13718
13717
|
playlists: string[];
|
|
13719
13718
|
tags: string[];
|
|
13720
13719
|
notificationEmails: string[];
|
|
@@ -13724,6 +13723,7 @@ export declare const streamListSchema: z.ZodObject<{
|
|
|
13724
13723
|
hasWatchdogs: boolean;
|
|
13725
13724
|
streamingProtocol: "RTMP" | "RTMPS" | "HLS";
|
|
13726
13725
|
description?: string | undefined;
|
|
13726
|
+
countdown?: boolean | undefined;
|
|
13727
13727
|
}, {
|
|
13728
13728
|
status: {
|
|
13729
13729
|
led: boolean;
|
|
@@ -13810,7 +13810,6 @@ export declare const streamListSchema: z.ZodObject<{
|
|
|
13810
13810
|
};
|
|
13811
13811
|
streamPrivacy: "public" | "unlisted" | "private";
|
|
13812
13812
|
platform: "youtube";
|
|
13813
|
-
countdown: boolean;
|
|
13814
13813
|
playlists: string[];
|
|
13815
13814
|
tags: string[];
|
|
13816
13815
|
notificationEmails: string[];
|
|
@@ -13820,6 +13819,7 @@ export declare const streamListSchema: z.ZodObject<{
|
|
|
13820
13819
|
hasWatchdogs: boolean;
|
|
13821
13820
|
streamingProtocol: "RTMP" | "RTMPS" | "HLS";
|
|
13822
13821
|
description?: string | undefined;
|
|
13822
|
+
countdown?: boolean | undefined;
|
|
13823
13823
|
}>, z.ZodObject<{
|
|
13824
13824
|
streamId: z.ZodString;
|
|
13825
13825
|
enabled: z.ZodBoolean;
|
|
@@ -20666,7 +20666,6 @@ export declare const streamListSchema: z.ZodObject<{
|
|
|
20666
20666
|
};
|
|
20667
20667
|
streamPrivacy: "public" | "unlisted" | "private";
|
|
20668
20668
|
platform: "youtube";
|
|
20669
|
-
countdown: boolean;
|
|
20670
20669
|
playlists: string[];
|
|
20671
20670
|
tags: string[];
|
|
20672
20671
|
notificationEmails: string[];
|
|
@@ -20676,6 +20675,7 @@ export declare const streamListSchema: z.ZodObject<{
|
|
|
20676
20675
|
hasWatchdogs: boolean;
|
|
20677
20676
|
streamingProtocol: "RTMP" | "RTMPS" | "HLS";
|
|
20678
20677
|
description?: string | undefined;
|
|
20678
|
+
countdown?: boolean | undefined;
|
|
20679
20679
|
} | {
|
|
20680
20680
|
status: {
|
|
20681
20681
|
led: boolean;
|
|
@@ -22389,7 +22389,6 @@ export declare const streamListSchema: z.ZodObject<{
|
|
|
22389
22389
|
};
|
|
22390
22390
|
streamPrivacy: "public" | "unlisted" | "private";
|
|
22391
22391
|
platform: "youtube";
|
|
22392
|
-
countdown: boolean;
|
|
22393
22392
|
playlists: string[];
|
|
22394
22393
|
tags: string[];
|
|
22395
22394
|
notificationEmails: string[];
|
|
@@ -22399,6 +22398,7 @@ export declare const streamListSchema: z.ZodObject<{
|
|
|
22399
22398
|
hasWatchdogs: boolean;
|
|
22400
22399
|
streamingProtocol: "RTMP" | "RTMPS" | "HLS";
|
|
22401
22400
|
description?: string | undefined;
|
|
22401
|
+
countdown?: boolean | undefined;
|
|
22402
22402
|
} | {
|
|
22403
22403
|
status: {
|
|
22404
22404
|
led: boolean;
|
|
@@ -24466,7 +24466,6 @@ export declare const isYouTubeStream: (stream: TStream) => stream is {
|
|
|
24466
24466
|
};
|
|
24467
24467
|
streamPrivacy: "public" | "unlisted" | "private";
|
|
24468
24468
|
platform: "youtube";
|
|
24469
|
-
countdown: boolean;
|
|
24470
24469
|
playlists: string[];
|
|
24471
24470
|
tags: string[];
|
|
24472
24471
|
notificationEmails: string[];
|
|
@@ -24476,6 +24475,7 @@ export declare const isYouTubeStream: (stream: TStream) => stream is {
|
|
|
24476
24475
|
hasWatchdogs: boolean;
|
|
24477
24476
|
streamingProtocol: "RTMP" | "RTMPS" | "HLS";
|
|
24478
24477
|
description?: string | undefined;
|
|
24478
|
+
countdown?: boolean | undefined;
|
|
24479
24479
|
};
|
|
24480
24480
|
export type TVimeoStream = z.infer<typeof vimeoSchema>;
|
|
24481
24481
|
export declare const isVimeoStream: (stream: TStream) => stream is {
|
|
@@ -344,7 +344,7 @@ export declare const youtubeSchema: z.ZodObject<{
|
|
|
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
|
|
347
|
+
countdown: z.ZodOptional<z.ZodBoolean>;
|
|
348
348
|
streamingProtocol: z.ZodUnion<[z.ZodLiteral<"RTMP">, z.ZodLiteral<"RTMPS">, z.ZodLiteral<"HLS">]>;
|
|
349
349
|
}, "strip", z.ZodTypeAny, {
|
|
350
350
|
status: {
|
|
@@ -432,7 +432,6 @@ export declare const youtubeSchema: z.ZodObject<{
|
|
|
432
432
|
};
|
|
433
433
|
streamPrivacy: "public" | "unlisted" | "private";
|
|
434
434
|
platform: "youtube";
|
|
435
|
-
countdown: boolean;
|
|
436
435
|
playlists: string[];
|
|
437
436
|
tags: string[];
|
|
438
437
|
notificationEmails: string[];
|
|
@@ -442,6 +441,7 @@ export declare const youtubeSchema: z.ZodObject<{
|
|
|
442
441
|
hasWatchdogs: boolean;
|
|
443
442
|
streamingProtocol: "RTMP" | "RTMPS" | "HLS";
|
|
444
443
|
description?: string | undefined;
|
|
444
|
+
countdown?: boolean | undefined;
|
|
445
445
|
}, {
|
|
446
446
|
status: {
|
|
447
447
|
led: boolean;
|
|
@@ -528,7 +528,6 @@ export declare const youtubeSchema: z.ZodObject<{
|
|
|
528
528
|
};
|
|
529
529
|
streamPrivacy: "public" | "unlisted" | "private";
|
|
530
530
|
platform: "youtube";
|
|
531
|
-
countdown: boolean;
|
|
532
531
|
playlists: string[];
|
|
533
532
|
tags: string[];
|
|
534
533
|
notificationEmails: string[];
|
|
@@ -538,5 +537,6 @@ export declare const youtubeSchema: z.ZodObject<{
|
|
|
538
537
|
hasWatchdogs: boolean;
|
|
539
538
|
streamingProtocol: "RTMP" | "RTMPS" | "HLS";
|
|
540
539
|
description?: string | undefined;
|
|
540
|
+
countdown?: boolean | undefined;
|
|
541
541
|
}>;
|
|
542
542
|
export type TYouTubeStreamingProtocolType = z.infer<typeof youtubeSchema>['streamingProtocol'];
|