camstreamerlib 4.0.0-beta.121 → 4.0.0-beta.123

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.
@@ -104,19 +104,31 @@ export declare const commonRtmpSchema: z.ZodObject<{
104
104
  prepareAheadS?: number | undefined;
105
105
  }>]>;
106
106
  video: z.ZodObject<{
107
- output: z.ZodObject<{
108
- type: z.ZodUnion<[z.ZodLiteral<"video">, z.ZodLiteral<"images">]>;
109
- url: z.ZodNullable<z.ZodString>;
107
+ output: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
108
+ type: z.ZodLiteral<"video">;
109
+ url: z.ZodString;
110
110
  parameters: z.ZodString;
111
111
  }, "strip", z.ZodTypeAny, {
112
- type: "video" | "images";
113
- url: string | null;
112
+ type: "video";
113
+ url: string;
114
114
  parameters: string;
115
115
  }, {
116
- type: "video" | "images";
117
- url: string | null;
116
+ type: "video";
117
+ url: string;
118
118
  parameters: string;
119
- }>;
119
+ }>, z.ZodObject<{
120
+ type: z.ZodLiteral<"images">;
121
+ url: z.ZodString;
122
+ imageIntervalS: z.ZodNumber;
123
+ }, "strip", z.ZodTypeAny, {
124
+ type: "images";
125
+ url: string;
126
+ imageIntervalS: number;
127
+ }, {
128
+ type: "images";
129
+ url: string;
130
+ imageIntervalS: number;
131
+ }>]>;
120
132
  input: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
121
133
  type: z.ZodLiteral<"RTSP_URL">;
122
134
  url: z.ZodString;
@@ -151,9 +163,13 @@ export declare const commonRtmpSchema: z.ZodObject<{
151
163
  delayS: z.ZodOptional<z.ZodNumber>;
152
164
  }, "strip", z.ZodTypeAny, {
153
165
  output: {
154
- type: "video" | "images";
155
- url: string | null;
166
+ type: "video";
167
+ url: string;
156
168
  parameters: string;
169
+ } | {
170
+ type: "images";
171
+ url: string;
172
+ imageIntervalS: number;
157
173
  };
158
174
  input: {
159
175
  type: "RTSP_URL";
@@ -169,9 +185,13 @@ export declare const commonRtmpSchema: z.ZodObject<{
169
185
  delayS?: number | undefined;
170
186
  }, {
171
187
  output: {
172
- type: "video" | "images";
173
- url: string | null;
188
+ type: "video";
189
+ url: string;
174
190
  parameters: string;
191
+ } | {
192
+ type: "images";
193
+ url: string;
194
+ imageIntervalS: number;
175
195
  };
176
196
  input: {
177
197
  type: "RTSP_URL";
@@ -285,9 +305,13 @@ export declare const commonRtmpSchema: z.ZodObject<{
285
305
  };
286
306
  video: {
287
307
  output: {
288
- type: "video" | "images";
289
- url: string | null;
308
+ type: "video";
309
+ url: string;
290
310
  parameters: string;
311
+ } | {
312
+ type: "images";
313
+ url: string;
314
+ imageIntervalS: number;
291
315
  };
292
316
  input: {
293
317
  type: "RTSP_URL";
@@ -356,9 +380,13 @@ export declare const commonRtmpSchema: z.ZodObject<{
356
380
  };
357
381
  video: {
358
382
  output: {
359
- type: "video" | "images";
360
- url: string | null;
383
+ type: "video";
384
+ url: string;
361
385
  parameters: string;
386
+ } | {
387
+ type: "images";
388
+ url: string;
389
+ imageIntervalS: number;
362
390
  };
363
391
  input: {
364
392
  type: "RTSP_URL";
@@ -499,19 +527,31 @@ export declare const churchSchema: z.ZodObject<{
499
527
  prepareAheadS?: number | undefined;
500
528
  }>]>;
501
529
  video: z.ZodObject<{
502
- output: z.ZodObject<{
503
- type: z.ZodUnion<[z.ZodLiteral<"video">, z.ZodLiteral<"images">]>;
504
- url: z.ZodNullable<z.ZodString>;
530
+ output: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
531
+ type: z.ZodLiteral<"video">;
532
+ url: z.ZodString;
505
533
  parameters: z.ZodString;
506
534
  }, "strip", z.ZodTypeAny, {
507
- type: "video" | "images";
508
- url: string | null;
535
+ type: "video";
536
+ url: string;
509
537
  parameters: string;
510
538
  }, {
511
- type: "video" | "images";
512
- url: string | null;
539
+ type: "video";
540
+ url: string;
513
541
  parameters: string;
514
- }>;
542
+ }>, z.ZodObject<{
543
+ type: z.ZodLiteral<"images">;
544
+ url: z.ZodString;
545
+ imageIntervalS: z.ZodNumber;
546
+ }, "strip", z.ZodTypeAny, {
547
+ type: "images";
548
+ url: string;
549
+ imageIntervalS: number;
550
+ }, {
551
+ type: "images";
552
+ url: string;
553
+ imageIntervalS: number;
554
+ }>]>;
515
555
  input: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
516
556
  type: z.ZodLiteral<"RTSP_URL">;
517
557
  url: z.ZodString;
@@ -546,9 +586,13 @@ export declare const churchSchema: z.ZodObject<{
546
586
  delayS: z.ZodOptional<z.ZodNumber>;
547
587
  }, "strip", z.ZodTypeAny, {
548
588
  output: {
549
- type: "video" | "images";
550
- url: string | null;
589
+ type: "video";
590
+ url: string;
551
591
  parameters: string;
592
+ } | {
593
+ type: "images";
594
+ url: string;
595
+ imageIntervalS: number;
552
596
  };
553
597
  input: {
554
598
  type: "RTSP_URL";
@@ -564,9 +608,13 @@ export declare const churchSchema: z.ZodObject<{
564
608
  delayS?: number | undefined;
565
609
  }, {
566
610
  output: {
567
- type: "video" | "images";
568
- url: string | null;
611
+ type: "video";
612
+ url: string;
569
613
  parameters: string;
614
+ } | {
615
+ type: "images";
616
+ url: string;
617
+ imageIntervalS: number;
570
618
  };
571
619
  input: {
572
620
  type: "RTSP_URL";
@@ -679,9 +727,13 @@ export declare const churchSchema: z.ZodObject<{
679
727
  };
680
728
  video: {
681
729
  output: {
682
- type: "video" | "images";
683
- url: string | null;
730
+ type: "video";
731
+ url: string;
684
732
  parameters: string;
733
+ } | {
734
+ type: "images";
735
+ url: string;
736
+ imageIntervalS: number;
685
737
  };
686
738
  input: {
687
739
  type: "RTSP_URL";
@@ -749,9 +801,13 @@ export declare const churchSchema: z.ZodObject<{
749
801
  };
750
802
  video: {
751
803
  output: {
752
- type: "video" | "images";
753
- url: string | null;
804
+ type: "video";
805
+ url: string;
754
806
  parameters: string;
807
+ } | {
808
+ type: "images";
809
+ url: string;
810
+ imageIntervalS: number;
755
811
  };
756
812
  input: {
757
813
  type: "RTSP_URL";
@@ -891,19 +947,31 @@ export declare const daCastSchema: z.ZodObject<{
891
947
  prepareAheadS?: number | undefined;
892
948
  }>]>;
893
949
  video: z.ZodObject<{
894
- output: z.ZodObject<{
895
- type: z.ZodUnion<[z.ZodLiteral<"video">, z.ZodLiteral<"images">]>;
896
- url: z.ZodNullable<z.ZodString>;
950
+ output: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
951
+ type: z.ZodLiteral<"video">;
952
+ url: z.ZodString;
897
953
  parameters: z.ZodString;
898
954
  }, "strip", z.ZodTypeAny, {
899
- type: "video" | "images";
900
- url: string | null;
955
+ type: "video";
956
+ url: string;
901
957
  parameters: string;
902
958
  }, {
903
- type: "video" | "images";
904
- url: string | null;
959
+ type: "video";
960
+ url: string;
905
961
  parameters: string;
906
- }>;
962
+ }>, z.ZodObject<{
963
+ type: z.ZodLiteral<"images">;
964
+ url: z.ZodString;
965
+ imageIntervalS: z.ZodNumber;
966
+ }, "strip", z.ZodTypeAny, {
967
+ type: "images";
968
+ url: string;
969
+ imageIntervalS: number;
970
+ }, {
971
+ type: "images";
972
+ url: string;
973
+ imageIntervalS: number;
974
+ }>]>;
907
975
  input: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
908
976
  type: z.ZodLiteral<"RTSP_URL">;
909
977
  url: z.ZodString;
@@ -938,9 +1006,13 @@ export declare const daCastSchema: z.ZodObject<{
938
1006
  delayS: z.ZodOptional<z.ZodNumber>;
939
1007
  }, "strip", z.ZodTypeAny, {
940
1008
  output: {
941
- type: "video" | "images";
942
- url: string | null;
1009
+ type: "video";
1010
+ url: string;
943
1011
  parameters: string;
1012
+ } | {
1013
+ type: "images";
1014
+ url: string;
1015
+ imageIntervalS: number;
944
1016
  };
945
1017
  input: {
946
1018
  type: "RTSP_URL";
@@ -956,9 +1028,13 @@ export declare const daCastSchema: z.ZodObject<{
956
1028
  delayS?: number | undefined;
957
1029
  }, {
958
1030
  output: {
959
- type: "video" | "images";
960
- url: string | null;
1031
+ type: "video";
1032
+ url: string;
961
1033
  parameters: string;
1034
+ } | {
1035
+ type: "images";
1036
+ url: string;
1037
+ imageIntervalS: number;
962
1038
  };
963
1039
  input: {
964
1040
  type: "RTSP_URL";
@@ -1071,9 +1147,13 @@ export declare const daCastSchema: z.ZodObject<{
1071
1147
  };
1072
1148
  video: {
1073
1149
  output: {
1074
- type: "video" | "images";
1075
- url: string | null;
1150
+ type: "video";
1151
+ url: string;
1076
1152
  parameters: string;
1153
+ } | {
1154
+ type: "images";
1155
+ url: string;
1156
+ imageIntervalS: number;
1077
1157
  };
1078
1158
  input: {
1079
1159
  type: "RTSP_URL";
@@ -1141,9 +1221,13 @@ export declare const daCastSchema: z.ZodObject<{
1141
1221
  };
1142
1222
  video: {
1143
1223
  output: {
1144
- type: "video" | "images";
1145
- url: string | null;
1224
+ type: "video";
1225
+ url: string;
1146
1226
  parameters: string;
1227
+ } | {
1228
+ type: "images";
1229
+ url: string;
1230
+ imageIntervalS: number;
1147
1231
  };
1148
1232
  input: {
1149
1233
  type: "RTSP_URL";
@@ -1283,19 +1367,31 @@ export declare const dailymotionSchema: z.ZodObject<{
1283
1367
  prepareAheadS?: number | undefined;
1284
1368
  }>]>;
1285
1369
  video: z.ZodObject<{
1286
- output: z.ZodObject<{
1287
- type: z.ZodUnion<[z.ZodLiteral<"video">, z.ZodLiteral<"images">]>;
1288
- url: z.ZodNullable<z.ZodString>;
1370
+ output: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1371
+ type: z.ZodLiteral<"video">;
1372
+ url: z.ZodString;
1289
1373
  parameters: z.ZodString;
1290
1374
  }, "strip", z.ZodTypeAny, {
1291
- type: "video" | "images";
1292
- url: string | null;
1375
+ type: "video";
1376
+ url: string;
1293
1377
  parameters: string;
1294
1378
  }, {
1295
- type: "video" | "images";
1296
- url: string | null;
1379
+ type: "video";
1380
+ url: string;
1297
1381
  parameters: string;
1298
- }>;
1382
+ }>, z.ZodObject<{
1383
+ type: z.ZodLiteral<"images">;
1384
+ url: z.ZodString;
1385
+ imageIntervalS: z.ZodNumber;
1386
+ }, "strip", z.ZodTypeAny, {
1387
+ type: "images";
1388
+ url: string;
1389
+ imageIntervalS: number;
1390
+ }, {
1391
+ type: "images";
1392
+ url: string;
1393
+ imageIntervalS: number;
1394
+ }>]>;
1299
1395
  input: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1300
1396
  type: z.ZodLiteral<"RTSP_URL">;
1301
1397
  url: z.ZodString;
@@ -1330,9 +1426,13 @@ export declare const dailymotionSchema: z.ZodObject<{
1330
1426
  delayS: z.ZodOptional<z.ZodNumber>;
1331
1427
  }, "strip", z.ZodTypeAny, {
1332
1428
  output: {
1333
- type: "video" | "images";
1334
- url: string | null;
1429
+ type: "video";
1430
+ url: string;
1335
1431
  parameters: string;
1432
+ } | {
1433
+ type: "images";
1434
+ url: string;
1435
+ imageIntervalS: number;
1336
1436
  };
1337
1437
  input: {
1338
1438
  type: "RTSP_URL";
@@ -1348,9 +1448,13 @@ export declare const dailymotionSchema: z.ZodObject<{
1348
1448
  delayS?: number | undefined;
1349
1449
  }, {
1350
1450
  output: {
1351
- type: "video" | "images";
1352
- url: string | null;
1451
+ type: "video";
1452
+ url: string;
1353
1453
  parameters: string;
1454
+ } | {
1455
+ type: "images";
1456
+ url: string;
1457
+ imageIntervalS: number;
1354
1458
  };
1355
1459
  input: {
1356
1460
  type: "RTSP_URL";
@@ -1463,9 +1567,13 @@ export declare const dailymotionSchema: z.ZodObject<{
1463
1567
  };
1464
1568
  video: {
1465
1569
  output: {
1466
- type: "video" | "images";
1467
- url: string | null;
1570
+ type: "video";
1571
+ url: string;
1468
1572
  parameters: string;
1573
+ } | {
1574
+ type: "images";
1575
+ url: string;
1576
+ imageIntervalS: number;
1469
1577
  };
1470
1578
  input: {
1471
1579
  type: "RTSP_URL";
@@ -1533,9 +1641,13 @@ export declare const dailymotionSchema: z.ZodObject<{
1533
1641
  };
1534
1642
  video: {
1535
1643
  output: {
1536
- type: "video" | "images";
1537
- url: string | null;
1644
+ type: "video";
1645
+ url: string;
1538
1646
  parameters: string;
1647
+ } | {
1648
+ type: "images";
1649
+ url: string;
1650
+ imageIntervalS: number;
1539
1651
  };
1540
1652
  input: {
1541
1653
  type: "RTSP_URL";
@@ -1675,19 +1787,31 @@ export declare const gameChangerSchema: z.ZodObject<{
1675
1787
  prepareAheadS?: number | undefined;
1676
1788
  }>]>;
1677
1789
  video: z.ZodObject<{
1678
- output: z.ZodObject<{
1679
- type: z.ZodUnion<[z.ZodLiteral<"video">, z.ZodLiteral<"images">]>;
1680
- url: z.ZodNullable<z.ZodString>;
1790
+ output: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1791
+ type: z.ZodLiteral<"video">;
1792
+ url: z.ZodString;
1681
1793
  parameters: z.ZodString;
1682
1794
  }, "strip", z.ZodTypeAny, {
1683
- type: "video" | "images";
1684
- url: string | null;
1795
+ type: "video";
1796
+ url: string;
1685
1797
  parameters: string;
1686
1798
  }, {
1687
- type: "video" | "images";
1688
- url: string | null;
1799
+ type: "video";
1800
+ url: string;
1689
1801
  parameters: string;
1690
- }>;
1802
+ }>, z.ZodObject<{
1803
+ type: z.ZodLiteral<"images">;
1804
+ url: z.ZodString;
1805
+ imageIntervalS: z.ZodNumber;
1806
+ }, "strip", z.ZodTypeAny, {
1807
+ type: "images";
1808
+ url: string;
1809
+ imageIntervalS: number;
1810
+ }, {
1811
+ type: "images";
1812
+ url: string;
1813
+ imageIntervalS: number;
1814
+ }>]>;
1691
1815
  input: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1692
1816
  type: z.ZodLiteral<"RTSP_URL">;
1693
1817
  url: z.ZodString;
@@ -1722,9 +1846,13 @@ export declare const gameChangerSchema: z.ZodObject<{
1722
1846
  delayS: z.ZodOptional<z.ZodNumber>;
1723
1847
  }, "strip", z.ZodTypeAny, {
1724
1848
  output: {
1725
- type: "video" | "images";
1726
- url: string | null;
1849
+ type: "video";
1850
+ url: string;
1727
1851
  parameters: string;
1852
+ } | {
1853
+ type: "images";
1854
+ url: string;
1855
+ imageIntervalS: number;
1728
1856
  };
1729
1857
  input: {
1730
1858
  type: "RTSP_URL";
@@ -1740,9 +1868,13 @@ export declare const gameChangerSchema: z.ZodObject<{
1740
1868
  delayS?: number | undefined;
1741
1869
  }, {
1742
1870
  output: {
1743
- type: "video" | "images";
1744
- url: string | null;
1871
+ type: "video";
1872
+ url: string;
1745
1873
  parameters: string;
1874
+ } | {
1875
+ type: "images";
1876
+ url: string;
1877
+ imageIntervalS: number;
1746
1878
  };
1747
1879
  input: {
1748
1880
  type: "RTSP_URL";
@@ -1858,9 +1990,13 @@ export declare const gameChangerSchema: z.ZodObject<{
1858
1990
  };
1859
1991
  video: {
1860
1992
  output: {
1861
- type: "video" | "images";
1862
- url: string | null;
1993
+ type: "video";
1994
+ url: string;
1863
1995
  parameters: string;
1996
+ } | {
1997
+ type: "images";
1998
+ url: string;
1999
+ imageIntervalS: number;
1864
2000
  };
1865
2001
  input: {
1866
2002
  type: "RTSP_URL";
@@ -1930,9 +2066,13 @@ export declare const gameChangerSchema: z.ZodObject<{
1930
2066
  };
1931
2067
  video: {
1932
2068
  output: {
1933
- type: "video" | "images";
1934
- url: string | null;
2069
+ type: "video";
2070
+ url: string;
1935
2071
  parameters: string;
2072
+ } | {
2073
+ type: "images";
2074
+ url: string;
2075
+ imageIntervalS: number;
1936
2076
  };
1937
2077
  input: {
1938
2078
  type: "RTSP_URL";
@@ -2074,19 +2214,31 @@ export declare const hlsPullSchema: z.ZodObject<{
2074
2214
  prepareAheadS?: number | undefined;
2075
2215
  }>]>;
2076
2216
  video: z.ZodObject<{
2077
- output: z.ZodObject<{
2078
- type: z.ZodUnion<[z.ZodLiteral<"video">, z.ZodLiteral<"images">]>;
2079
- url: z.ZodNullable<z.ZodString>;
2217
+ output: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2218
+ type: z.ZodLiteral<"video">;
2219
+ url: z.ZodString;
2080
2220
  parameters: z.ZodString;
2081
2221
  }, "strip", z.ZodTypeAny, {
2082
- type: "video" | "images";
2083
- url: string | null;
2222
+ type: "video";
2223
+ url: string;
2084
2224
  parameters: string;
2085
2225
  }, {
2086
- type: "video" | "images";
2087
- url: string | null;
2226
+ type: "video";
2227
+ url: string;
2088
2228
  parameters: string;
2089
- }>;
2229
+ }>, z.ZodObject<{
2230
+ type: z.ZodLiteral<"images">;
2231
+ url: z.ZodString;
2232
+ imageIntervalS: z.ZodNumber;
2233
+ }, "strip", z.ZodTypeAny, {
2234
+ type: "images";
2235
+ url: string;
2236
+ imageIntervalS: number;
2237
+ }, {
2238
+ type: "images";
2239
+ url: string;
2240
+ imageIntervalS: number;
2241
+ }>]>;
2090
2242
  input: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2091
2243
  type: z.ZodLiteral<"RTSP_URL">;
2092
2244
  url: z.ZodString;
@@ -2121,9 +2273,13 @@ export declare const hlsPullSchema: z.ZodObject<{
2121
2273
  delayS: z.ZodOptional<z.ZodNumber>;
2122
2274
  }, "strip", z.ZodTypeAny, {
2123
2275
  output: {
2124
- type: "video" | "images";
2125
- url: string | null;
2276
+ type: "video";
2277
+ url: string;
2126
2278
  parameters: string;
2279
+ } | {
2280
+ type: "images";
2281
+ url: string;
2282
+ imageIntervalS: number;
2127
2283
  };
2128
2284
  input: {
2129
2285
  type: "RTSP_URL";
@@ -2139,9 +2295,13 @@ export declare const hlsPullSchema: z.ZodObject<{
2139
2295
  delayS?: number | undefined;
2140
2296
  }, {
2141
2297
  output: {
2142
- type: "video" | "images";
2143
- url: string | null;
2298
+ type: "video";
2299
+ url: string;
2144
2300
  parameters: string;
2301
+ } | {
2302
+ type: "images";
2303
+ url: string;
2304
+ imageIntervalS: number;
2145
2305
  };
2146
2306
  input: {
2147
2307
  type: "RTSP_URL";
@@ -2254,9 +2414,13 @@ export declare const hlsPullSchema: z.ZodObject<{
2254
2414
  };
2255
2415
  video: {
2256
2416
  output: {
2257
- type: "video" | "images";
2258
- url: string | null;
2417
+ type: "video";
2418
+ url: string;
2259
2419
  parameters: string;
2420
+ } | {
2421
+ type: "images";
2422
+ url: string;
2423
+ imageIntervalS: number;
2260
2424
  };
2261
2425
  input: {
2262
2426
  type: "RTSP_URL";
@@ -2324,9 +2488,13 @@ export declare const hlsPullSchema: z.ZodObject<{
2324
2488
  };
2325
2489
  video: {
2326
2490
  output: {
2327
- type: "video" | "images";
2328
- url: string | null;
2491
+ type: "video";
2492
+ url: string;
2329
2493
  parameters: string;
2494
+ } | {
2495
+ type: "images";
2496
+ url: string;
2497
+ imageIntervalS: number;
2330
2498
  };
2331
2499
  input: {
2332
2500
  type: "RTSP_URL";
@@ -2466,19 +2634,31 @@ export declare const hlsPushSchema: z.ZodObject<{
2466
2634
  prepareAheadS?: number | undefined;
2467
2635
  }>]>;
2468
2636
  video: z.ZodObject<{
2469
- output: z.ZodObject<{
2470
- type: z.ZodUnion<[z.ZodLiteral<"video">, z.ZodLiteral<"images">]>;
2471
- url: z.ZodNullable<z.ZodString>;
2637
+ output: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2638
+ type: z.ZodLiteral<"video">;
2639
+ url: z.ZodString;
2472
2640
  parameters: z.ZodString;
2473
2641
  }, "strip", z.ZodTypeAny, {
2474
- type: "video" | "images";
2475
- url: string | null;
2642
+ type: "video";
2643
+ url: string;
2476
2644
  parameters: string;
2477
2645
  }, {
2478
- type: "video" | "images";
2479
- url: string | null;
2646
+ type: "video";
2647
+ url: string;
2480
2648
  parameters: string;
2481
- }>;
2649
+ }>, z.ZodObject<{
2650
+ type: z.ZodLiteral<"images">;
2651
+ url: z.ZodString;
2652
+ imageIntervalS: z.ZodNumber;
2653
+ }, "strip", z.ZodTypeAny, {
2654
+ type: "images";
2655
+ url: string;
2656
+ imageIntervalS: number;
2657
+ }, {
2658
+ type: "images";
2659
+ url: string;
2660
+ imageIntervalS: number;
2661
+ }>]>;
2482
2662
  input: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2483
2663
  type: z.ZodLiteral<"RTSP_URL">;
2484
2664
  url: z.ZodString;
@@ -2513,9 +2693,13 @@ export declare const hlsPushSchema: z.ZodObject<{
2513
2693
  delayS: z.ZodOptional<z.ZodNumber>;
2514
2694
  }, "strip", z.ZodTypeAny, {
2515
2695
  output: {
2516
- type: "video" | "images";
2517
- url: string | null;
2696
+ type: "video";
2697
+ url: string;
2518
2698
  parameters: string;
2699
+ } | {
2700
+ type: "images";
2701
+ url: string;
2702
+ imageIntervalS: number;
2519
2703
  };
2520
2704
  input: {
2521
2705
  type: "RTSP_URL";
@@ -2531,9 +2715,13 @@ export declare const hlsPushSchema: z.ZodObject<{
2531
2715
  delayS?: number | undefined;
2532
2716
  }, {
2533
2717
  output: {
2534
- type: "video" | "images";
2535
- url: string | null;
2718
+ type: "video";
2719
+ url: string;
2536
2720
  parameters: string;
2721
+ } | {
2722
+ type: "images";
2723
+ url: string;
2724
+ imageIntervalS: number;
2537
2725
  };
2538
2726
  input: {
2539
2727
  type: "RTSP_URL";
@@ -2646,9 +2834,13 @@ export declare const hlsPushSchema: z.ZodObject<{
2646
2834
  };
2647
2835
  video: {
2648
2836
  output: {
2649
- type: "video" | "images";
2650
- url: string | null;
2837
+ type: "video";
2838
+ url: string;
2651
2839
  parameters: string;
2840
+ } | {
2841
+ type: "images";
2842
+ url: string;
2843
+ imageIntervalS: number;
2652
2844
  };
2653
2845
  input: {
2654
2846
  type: "RTSP_URL";
@@ -2716,9 +2908,13 @@ export declare const hlsPushSchema: z.ZodObject<{
2716
2908
  };
2717
2909
  video: {
2718
2910
  output: {
2719
- type: "video" | "images";
2720
- url: string | null;
2911
+ type: "video";
2912
+ url: string;
2721
2913
  parameters: string;
2914
+ } | {
2915
+ type: "images";
2916
+ url: string;
2917
+ imageIntervalS: number;
2722
2918
  };
2723
2919
  input: {
2724
2920
  type: "RTSP_URL";
@@ -2858,19 +3054,31 @@ export declare const ibmSchema: z.ZodObject<{
2858
3054
  prepareAheadS?: number | undefined;
2859
3055
  }>]>;
2860
3056
  video: z.ZodObject<{
2861
- output: z.ZodObject<{
2862
- type: z.ZodUnion<[z.ZodLiteral<"video">, z.ZodLiteral<"images">]>;
2863
- url: z.ZodNullable<z.ZodString>;
3057
+ output: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3058
+ type: z.ZodLiteral<"video">;
3059
+ url: z.ZodString;
2864
3060
  parameters: z.ZodString;
2865
3061
  }, "strip", z.ZodTypeAny, {
2866
- type: "video" | "images";
2867
- url: string | null;
3062
+ type: "video";
3063
+ url: string;
2868
3064
  parameters: string;
2869
3065
  }, {
2870
- type: "video" | "images";
2871
- url: string | null;
3066
+ type: "video";
3067
+ url: string;
2872
3068
  parameters: string;
2873
- }>;
3069
+ }>, z.ZodObject<{
3070
+ type: z.ZodLiteral<"images">;
3071
+ url: z.ZodString;
3072
+ imageIntervalS: z.ZodNumber;
3073
+ }, "strip", z.ZodTypeAny, {
3074
+ type: "images";
3075
+ url: string;
3076
+ imageIntervalS: number;
3077
+ }, {
3078
+ type: "images";
3079
+ url: string;
3080
+ imageIntervalS: number;
3081
+ }>]>;
2874
3082
  input: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2875
3083
  type: z.ZodLiteral<"RTSP_URL">;
2876
3084
  url: z.ZodString;
@@ -2905,9 +3113,13 @@ export declare const ibmSchema: z.ZodObject<{
2905
3113
  delayS: z.ZodOptional<z.ZodNumber>;
2906
3114
  }, "strip", z.ZodTypeAny, {
2907
3115
  output: {
2908
- type: "video" | "images";
2909
- url: string | null;
3116
+ type: "video";
3117
+ url: string;
2910
3118
  parameters: string;
3119
+ } | {
3120
+ type: "images";
3121
+ url: string;
3122
+ imageIntervalS: number;
2911
3123
  };
2912
3124
  input: {
2913
3125
  type: "RTSP_URL";
@@ -2923,9 +3135,13 @@ export declare const ibmSchema: z.ZodObject<{
2923
3135
  delayS?: number | undefined;
2924
3136
  }, {
2925
3137
  output: {
2926
- type: "video" | "images";
2927
- url: string | null;
3138
+ type: "video";
3139
+ url: string;
2928
3140
  parameters: string;
3141
+ } | {
3142
+ type: "images";
3143
+ url: string;
3144
+ imageIntervalS: number;
2929
3145
  };
2930
3146
  input: {
2931
3147
  type: "RTSP_URL";
@@ -3038,9 +3254,13 @@ export declare const ibmSchema: z.ZodObject<{
3038
3254
  };
3039
3255
  video: {
3040
3256
  output: {
3041
- type: "video" | "images";
3042
- url: string | null;
3257
+ type: "video";
3258
+ url: string;
3043
3259
  parameters: string;
3260
+ } | {
3261
+ type: "images";
3262
+ url: string;
3263
+ imageIntervalS: number;
3044
3264
  };
3045
3265
  input: {
3046
3266
  type: "RTSP_URL";
@@ -3108,9 +3328,13 @@ export declare const ibmSchema: z.ZodObject<{
3108
3328
  };
3109
3329
  video: {
3110
3330
  output: {
3111
- type: "video" | "images";
3112
- url: string | null;
3331
+ type: "video";
3332
+ url: string;
3113
3333
  parameters: string;
3334
+ } | {
3335
+ type: "images";
3336
+ url: string;
3337
+ imageIntervalS: number;
3114
3338
  };
3115
3339
  input: {
3116
3340
  type: "RTSP_URL";
@@ -3250,19 +3474,31 @@ export declare const mpegDvbSchema: z.ZodObject<{
3250
3474
  prepareAheadS?: number | undefined;
3251
3475
  }>]>;
3252
3476
  video: z.ZodObject<{
3253
- output: z.ZodObject<{
3254
- type: z.ZodUnion<[z.ZodLiteral<"video">, z.ZodLiteral<"images">]>;
3255
- url: z.ZodNullable<z.ZodString>;
3477
+ output: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3478
+ type: z.ZodLiteral<"video">;
3479
+ url: z.ZodString;
3256
3480
  parameters: z.ZodString;
3257
3481
  }, "strip", z.ZodTypeAny, {
3258
- type: "video" | "images";
3259
- url: string | null;
3482
+ type: "video";
3483
+ url: string;
3260
3484
  parameters: string;
3261
3485
  }, {
3262
- type: "video" | "images";
3263
- url: string | null;
3486
+ type: "video";
3487
+ url: string;
3264
3488
  parameters: string;
3265
- }>;
3489
+ }>, z.ZodObject<{
3490
+ type: z.ZodLiteral<"images">;
3491
+ url: z.ZodString;
3492
+ imageIntervalS: z.ZodNumber;
3493
+ }, "strip", z.ZodTypeAny, {
3494
+ type: "images";
3495
+ url: string;
3496
+ imageIntervalS: number;
3497
+ }, {
3498
+ type: "images";
3499
+ url: string;
3500
+ imageIntervalS: number;
3501
+ }>]>;
3266
3502
  input: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3267
3503
  type: z.ZodLiteral<"RTSP_URL">;
3268
3504
  url: z.ZodString;
@@ -3297,9 +3533,13 @@ export declare const mpegDvbSchema: z.ZodObject<{
3297
3533
  delayS: z.ZodOptional<z.ZodNumber>;
3298
3534
  }, "strip", z.ZodTypeAny, {
3299
3535
  output: {
3300
- type: "video" | "images";
3301
- url: string | null;
3536
+ type: "video";
3537
+ url: string;
3302
3538
  parameters: string;
3539
+ } | {
3540
+ type: "images";
3541
+ url: string;
3542
+ imageIntervalS: number;
3303
3543
  };
3304
3544
  input: {
3305
3545
  type: "RTSP_URL";
@@ -3315,9 +3555,13 @@ export declare const mpegDvbSchema: z.ZodObject<{
3315
3555
  delayS?: number | undefined;
3316
3556
  }, {
3317
3557
  output: {
3318
- type: "video" | "images";
3319
- url: string | null;
3558
+ type: "video";
3559
+ url: string;
3320
3560
  parameters: string;
3561
+ } | {
3562
+ type: "images";
3563
+ url: string;
3564
+ imageIntervalS: number;
3321
3565
  };
3322
3566
  input: {
3323
3567
  type: "RTSP_URL";
@@ -3430,9 +3674,13 @@ export declare const mpegDvbSchema: z.ZodObject<{
3430
3674
  };
3431
3675
  video: {
3432
3676
  output: {
3433
- type: "video" | "images";
3434
- url: string | null;
3677
+ type: "video";
3678
+ url: string;
3435
3679
  parameters: string;
3680
+ } | {
3681
+ type: "images";
3682
+ url: string;
3683
+ imageIntervalS: number;
3436
3684
  };
3437
3685
  input: {
3438
3686
  type: "RTSP_URL";
@@ -3500,9 +3748,13 @@ export declare const mpegDvbSchema: z.ZodObject<{
3500
3748
  };
3501
3749
  video: {
3502
3750
  output: {
3503
- type: "video" | "images";
3504
- url: string | null;
3751
+ type: "video";
3752
+ url: string;
3505
3753
  parameters: string;
3754
+ } | {
3755
+ type: "images";
3756
+ url: string;
3757
+ imageIntervalS: number;
3506
3758
  };
3507
3759
  input: {
3508
3760
  type: "RTSP_URL";
@@ -3642,19 +3894,31 @@ export declare const microsoftAzureSchema: z.ZodObject<{
3642
3894
  prepareAheadS?: number | undefined;
3643
3895
  }>]>;
3644
3896
  video: z.ZodObject<{
3645
- output: z.ZodObject<{
3646
- type: z.ZodUnion<[z.ZodLiteral<"video">, z.ZodLiteral<"images">]>;
3647
- url: z.ZodNullable<z.ZodString>;
3897
+ output: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3898
+ type: z.ZodLiteral<"video">;
3899
+ url: z.ZodString;
3648
3900
  parameters: z.ZodString;
3649
3901
  }, "strip", z.ZodTypeAny, {
3650
- type: "video" | "images";
3651
- url: string | null;
3902
+ type: "video";
3903
+ url: string;
3652
3904
  parameters: string;
3653
3905
  }, {
3654
- type: "video" | "images";
3655
- url: string | null;
3906
+ type: "video";
3907
+ url: string;
3656
3908
  parameters: string;
3657
- }>;
3909
+ }>, z.ZodObject<{
3910
+ type: z.ZodLiteral<"images">;
3911
+ url: z.ZodString;
3912
+ imageIntervalS: z.ZodNumber;
3913
+ }, "strip", z.ZodTypeAny, {
3914
+ type: "images";
3915
+ url: string;
3916
+ imageIntervalS: number;
3917
+ }, {
3918
+ type: "images";
3919
+ url: string;
3920
+ imageIntervalS: number;
3921
+ }>]>;
3658
3922
  input: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3659
3923
  type: z.ZodLiteral<"RTSP_URL">;
3660
3924
  url: z.ZodString;
@@ -3689,9 +3953,13 @@ export declare const microsoftAzureSchema: z.ZodObject<{
3689
3953
  delayS: z.ZodOptional<z.ZodNumber>;
3690
3954
  }, "strip", z.ZodTypeAny, {
3691
3955
  output: {
3692
- type: "video" | "images";
3693
- url: string | null;
3956
+ type: "video";
3957
+ url: string;
3694
3958
  parameters: string;
3959
+ } | {
3960
+ type: "images";
3961
+ url: string;
3962
+ imageIntervalS: number;
3695
3963
  };
3696
3964
  input: {
3697
3965
  type: "RTSP_URL";
@@ -3707,9 +3975,13 @@ export declare const microsoftAzureSchema: z.ZodObject<{
3707
3975
  delayS?: number | undefined;
3708
3976
  }, {
3709
3977
  output: {
3710
- type: "video" | "images";
3711
- url: string | null;
3978
+ type: "video";
3979
+ url: string;
3712
3980
  parameters: string;
3981
+ } | {
3982
+ type: "images";
3983
+ url: string;
3984
+ imageIntervalS: number;
3713
3985
  };
3714
3986
  input: {
3715
3987
  type: "RTSP_URL";
@@ -3822,9 +4094,13 @@ export declare const microsoftAzureSchema: z.ZodObject<{
3822
4094
  };
3823
4095
  video: {
3824
4096
  output: {
3825
- type: "video" | "images";
3826
- url: string | null;
4097
+ type: "video";
4098
+ url: string;
3827
4099
  parameters: string;
4100
+ } | {
4101
+ type: "images";
4102
+ url: string;
4103
+ imageIntervalS: number;
3828
4104
  };
3829
4105
  input: {
3830
4106
  type: "RTSP_URL";
@@ -3892,9 +4168,13 @@ export declare const microsoftAzureSchema: z.ZodObject<{
3892
4168
  };
3893
4169
  video: {
3894
4170
  output: {
3895
- type: "video" | "images";
3896
- url: string | null;
4171
+ type: "video";
4172
+ url: string;
3897
4173
  parameters: string;
4174
+ } | {
4175
+ type: "images";
4176
+ url: string;
4177
+ imageIntervalS: number;
3898
4178
  };
3899
4179
  input: {
3900
4180
  type: "RTSP_URL";
@@ -4034,19 +4314,31 @@ export declare const microsoftStreamSchema: z.ZodObject<{
4034
4314
  prepareAheadS?: number | undefined;
4035
4315
  }>]>;
4036
4316
  video: z.ZodObject<{
4037
- output: z.ZodObject<{
4038
- type: z.ZodUnion<[z.ZodLiteral<"video">, z.ZodLiteral<"images">]>;
4039
- url: z.ZodNullable<z.ZodString>;
4317
+ output: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4318
+ type: z.ZodLiteral<"video">;
4319
+ url: z.ZodString;
4040
4320
  parameters: z.ZodString;
4041
4321
  }, "strip", z.ZodTypeAny, {
4042
- type: "video" | "images";
4043
- url: string | null;
4322
+ type: "video";
4323
+ url: string;
4044
4324
  parameters: string;
4045
4325
  }, {
4046
- type: "video" | "images";
4047
- url: string | null;
4326
+ type: "video";
4327
+ url: string;
4048
4328
  parameters: string;
4049
- }>;
4329
+ }>, z.ZodObject<{
4330
+ type: z.ZodLiteral<"images">;
4331
+ url: z.ZodString;
4332
+ imageIntervalS: z.ZodNumber;
4333
+ }, "strip", z.ZodTypeAny, {
4334
+ type: "images";
4335
+ url: string;
4336
+ imageIntervalS: number;
4337
+ }, {
4338
+ type: "images";
4339
+ url: string;
4340
+ imageIntervalS: number;
4341
+ }>]>;
4050
4342
  input: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4051
4343
  type: z.ZodLiteral<"RTSP_URL">;
4052
4344
  url: z.ZodString;
@@ -4081,9 +4373,13 @@ export declare const microsoftStreamSchema: z.ZodObject<{
4081
4373
  delayS: z.ZodOptional<z.ZodNumber>;
4082
4374
  }, "strip", z.ZodTypeAny, {
4083
4375
  output: {
4084
- type: "video" | "images";
4085
- url: string | null;
4376
+ type: "video";
4377
+ url: string;
4086
4378
  parameters: string;
4379
+ } | {
4380
+ type: "images";
4381
+ url: string;
4382
+ imageIntervalS: number;
4087
4383
  };
4088
4384
  input: {
4089
4385
  type: "RTSP_URL";
@@ -4099,9 +4395,13 @@ export declare const microsoftStreamSchema: z.ZodObject<{
4099
4395
  delayS?: number | undefined;
4100
4396
  }, {
4101
4397
  output: {
4102
- type: "video" | "images";
4103
- url: string | null;
4398
+ type: "video";
4399
+ url: string;
4104
4400
  parameters: string;
4401
+ } | {
4402
+ type: "images";
4403
+ url: string;
4404
+ imageIntervalS: number;
4105
4405
  };
4106
4406
  input: {
4107
4407
  type: "RTSP_URL";
@@ -4214,9 +4514,13 @@ export declare const microsoftStreamSchema: z.ZodObject<{
4214
4514
  };
4215
4515
  video: {
4216
4516
  output: {
4217
- type: "video" | "images";
4218
- url: string | null;
4517
+ type: "video";
4518
+ url: string;
4219
4519
  parameters: string;
4520
+ } | {
4521
+ type: "images";
4522
+ url: string;
4523
+ imageIntervalS: number;
4220
4524
  };
4221
4525
  input: {
4222
4526
  type: "RTSP_URL";
@@ -4284,9 +4588,13 @@ export declare const microsoftStreamSchema: z.ZodObject<{
4284
4588
  };
4285
4589
  video: {
4286
4590
  output: {
4287
- type: "video" | "images";
4288
- url: string | null;
4591
+ type: "video";
4592
+ url: string;
4289
4593
  parameters: string;
4594
+ } | {
4595
+ type: "images";
4596
+ url: string;
4597
+ imageIntervalS: number;
4290
4598
  };
4291
4599
  input: {
4292
4600
  type: "RTSP_URL";
@@ -4426,19 +4734,31 @@ export declare const rtmpSchema: z.ZodObject<{
4426
4734
  prepareAheadS?: number | undefined;
4427
4735
  }>]>;
4428
4736
  video: z.ZodObject<{
4429
- output: z.ZodObject<{
4430
- type: z.ZodUnion<[z.ZodLiteral<"video">, z.ZodLiteral<"images">]>;
4431
- url: z.ZodNullable<z.ZodString>;
4737
+ output: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4738
+ type: z.ZodLiteral<"video">;
4739
+ url: z.ZodString;
4432
4740
  parameters: z.ZodString;
4433
4741
  }, "strip", z.ZodTypeAny, {
4434
- type: "video" | "images";
4435
- url: string | null;
4742
+ type: "video";
4743
+ url: string;
4436
4744
  parameters: string;
4437
4745
  }, {
4438
- type: "video" | "images";
4439
- url: string | null;
4746
+ type: "video";
4747
+ url: string;
4440
4748
  parameters: string;
4441
- }>;
4749
+ }>, z.ZodObject<{
4750
+ type: z.ZodLiteral<"images">;
4751
+ url: z.ZodString;
4752
+ imageIntervalS: z.ZodNumber;
4753
+ }, "strip", z.ZodTypeAny, {
4754
+ type: "images";
4755
+ url: string;
4756
+ imageIntervalS: number;
4757
+ }, {
4758
+ type: "images";
4759
+ url: string;
4760
+ imageIntervalS: number;
4761
+ }>]>;
4442
4762
  input: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4443
4763
  type: z.ZodLiteral<"RTSP_URL">;
4444
4764
  url: z.ZodString;
@@ -4473,9 +4793,13 @@ export declare const rtmpSchema: z.ZodObject<{
4473
4793
  delayS: z.ZodOptional<z.ZodNumber>;
4474
4794
  }, "strip", z.ZodTypeAny, {
4475
4795
  output: {
4476
- type: "video" | "images";
4477
- url: string | null;
4796
+ type: "video";
4797
+ url: string;
4478
4798
  parameters: string;
4799
+ } | {
4800
+ type: "images";
4801
+ url: string;
4802
+ imageIntervalS: number;
4479
4803
  };
4480
4804
  input: {
4481
4805
  type: "RTSP_URL";
@@ -4491,9 +4815,13 @@ export declare const rtmpSchema: z.ZodObject<{
4491
4815
  delayS?: number | undefined;
4492
4816
  }, {
4493
4817
  output: {
4494
- type: "video" | "images";
4495
- url: string | null;
4818
+ type: "video";
4819
+ url: string;
4496
4820
  parameters: string;
4821
+ } | {
4822
+ type: "images";
4823
+ url: string;
4824
+ imageIntervalS: number;
4497
4825
  };
4498
4826
  input: {
4499
4827
  type: "RTSP_URL";
@@ -4609,9 +4937,13 @@ export declare const rtmpSchema: z.ZodObject<{
4609
4937
  };
4610
4938
  video: {
4611
4939
  output: {
4612
- type: "video" | "images";
4613
- url: string | null;
4940
+ type: "video";
4941
+ url: string;
4614
4942
  parameters: string;
4943
+ } | {
4944
+ type: "images";
4945
+ url: string;
4946
+ imageIntervalS: number;
4615
4947
  };
4616
4948
  input: {
4617
4949
  type: "RTSP_URL";
@@ -4681,9 +5013,13 @@ export declare const rtmpSchema: z.ZodObject<{
4681
5013
  };
4682
5014
  video: {
4683
5015
  output: {
4684
- type: "video" | "images";
4685
- url: string | null;
5016
+ type: "video";
5017
+ url: string;
4686
5018
  parameters: string;
5019
+ } | {
5020
+ type: "images";
5021
+ url: string;
5022
+ imageIntervalS: number;
4687
5023
  };
4688
5024
  input: {
4689
5025
  type: "RTSP_URL";
@@ -4825,19 +5161,31 @@ export declare const sdCardSchema: z.ZodObject<{
4825
5161
  prepareAheadS?: number | undefined;
4826
5162
  }>]>;
4827
5163
  video: z.ZodObject<{
4828
- output: z.ZodObject<{
4829
- type: z.ZodUnion<[z.ZodLiteral<"video">, z.ZodLiteral<"images">]>;
4830
- url: z.ZodNullable<z.ZodString>;
5164
+ output: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5165
+ type: z.ZodLiteral<"video">;
5166
+ url: z.ZodString;
4831
5167
  parameters: z.ZodString;
4832
5168
  }, "strip", z.ZodTypeAny, {
4833
- type: "video" | "images";
4834
- url: string | null;
5169
+ type: "video";
5170
+ url: string;
4835
5171
  parameters: string;
4836
5172
  }, {
4837
- type: "video" | "images";
4838
- url: string | null;
5173
+ type: "video";
5174
+ url: string;
4839
5175
  parameters: string;
4840
- }>;
5176
+ }>, z.ZodObject<{
5177
+ type: z.ZodLiteral<"images">;
5178
+ url: z.ZodString;
5179
+ imageIntervalS: z.ZodNumber;
5180
+ }, "strip", z.ZodTypeAny, {
5181
+ type: "images";
5182
+ url: string;
5183
+ imageIntervalS: number;
5184
+ }, {
5185
+ type: "images";
5186
+ url: string;
5187
+ imageIntervalS: number;
5188
+ }>]>;
4841
5189
  input: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4842
5190
  type: z.ZodLiteral<"RTSP_URL">;
4843
5191
  url: z.ZodString;
@@ -4872,9 +5220,13 @@ export declare const sdCardSchema: z.ZodObject<{
4872
5220
  delayS: z.ZodOptional<z.ZodNumber>;
4873
5221
  }, "strip", z.ZodTypeAny, {
4874
5222
  output: {
4875
- type: "video" | "images";
4876
- url: string | null;
5223
+ type: "video";
5224
+ url: string;
4877
5225
  parameters: string;
5226
+ } | {
5227
+ type: "images";
5228
+ url: string;
5229
+ imageIntervalS: number;
4878
5230
  };
4879
5231
  input: {
4880
5232
  type: "RTSP_URL";
@@ -4890,9 +5242,13 @@ export declare const sdCardSchema: z.ZodObject<{
4890
5242
  delayS?: number | undefined;
4891
5243
  }, {
4892
5244
  output: {
4893
- type: "video" | "images";
4894
- url: string | null;
5245
+ type: "video";
5246
+ url: string;
4895
5247
  parameters: string;
5248
+ } | {
5249
+ type: "images";
5250
+ url: string;
5251
+ imageIntervalS: number;
4896
5252
  };
4897
5253
  input: {
4898
5254
  type: "RTSP_URL";
@@ -5005,9 +5361,13 @@ export declare const sdCardSchema: z.ZodObject<{
5005
5361
  };
5006
5362
  video: {
5007
5363
  output: {
5008
- type: "video" | "images";
5009
- url: string | null;
5364
+ type: "video";
5365
+ url: string;
5010
5366
  parameters: string;
5367
+ } | {
5368
+ type: "images";
5369
+ url: string;
5370
+ imageIntervalS: number;
5011
5371
  };
5012
5372
  input: {
5013
5373
  type: "RTSP_URL";
@@ -5075,9 +5435,13 @@ export declare const sdCardSchema: z.ZodObject<{
5075
5435
  };
5076
5436
  video: {
5077
5437
  output: {
5078
- type: "video" | "images";
5079
- url: string | null;
5438
+ type: "video";
5439
+ url: string;
5080
5440
  parameters: string;
5441
+ } | {
5442
+ type: "images";
5443
+ url: string;
5444
+ imageIntervalS: number;
5081
5445
  };
5082
5446
  input: {
5083
5447
  type: "RTSP_URL";
@@ -5217,19 +5581,31 @@ export declare const srtSchema: z.ZodObject<{
5217
5581
  prepareAheadS?: number | undefined;
5218
5582
  }>]>;
5219
5583
  video: z.ZodObject<{
5220
- output: z.ZodObject<{
5221
- type: z.ZodUnion<[z.ZodLiteral<"video">, z.ZodLiteral<"images">]>;
5222
- url: z.ZodNullable<z.ZodString>;
5584
+ output: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5585
+ type: z.ZodLiteral<"video">;
5586
+ url: z.ZodString;
5223
5587
  parameters: z.ZodString;
5224
5588
  }, "strip", z.ZodTypeAny, {
5225
- type: "video" | "images";
5226
- url: string | null;
5589
+ type: "video";
5590
+ url: string;
5227
5591
  parameters: string;
5228
5592
  }, {
5229
- type: "video" | "images";
5230
- url: string | null;
5593
+ type: "video";
5594
+ url: string;
5231
5595
  parameters: string;
5232
- }>;
5596
+ }>, z.ZodObject<{
5597
+ type: z.ZodLiteral<"images">;
5598
+ url: z.ZodString;
5599
+ imageIntervalS: z.ZodNumber;
5600
+ }, "strip", z.ZodTypeAny, {
5601
+ type: "images";
5602
+ url: string;
5603
+ imageIntervalS: number;
5604
+ }, {
5605
+ type: "images";
5606
+ url: string;
5607
+ imageIntervalS: number;
5608
+ }>]>;
5233
5609
  input: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5234
5610
  type: z.ZodLiteral<"RTSP_URL">;
5235
5611
  url: z.ZodString;
@@ -5264,9 +5640,13 @@ export declare const srtSchema: z.ZodObject<{
5264
5640
  delayS: z.ZodOptional<z.ZodNumber>;
5265
5641
  }, "strip", z.ZodTypeAny, {
5266
5642
  output: {
5267
- type: "video" | "images";
5268
- url: string | null;
5643
+ type: "video";
5644
+ url: string;
5269
5645
  parameters: string;
5646
+ } | {
5647
+ type: "images";
5648
+ url: string;
5649
+ imageIntervalS: number;
5270
5650
  };
5271
5651
  input: {
5272
5652
  type: "RTSP_URL";
@@ -5282,9 +5662,13 @@ export declare const srtSchema: z.ZodObject<{
5282
5662
  delayS?: number | undefined;
5283
5663
  }, {
5284
5664
  output: {
5285
- type: "video" | "images";
5286
- url: string | null;
5665
+ type: "video";
5666
+ url: string;
5287
5667
  parameters: string;
5668
+ } | {
5669
+ type: "images";
5670
+ url: string;
5671
+ imageIntervalS: number;
5288
5672
  };
5289
5673
  input: {
5290
5674
  type: "RTSP_URL";
@@ -5397,9 +5781,13 @@ export declare const srtSchema: z.ZodObject<{
5397
5781
  };
5398
5782
  video: {
5399
5783
  output: {
5400
- type: "video" | "images";
5401
- url: string | null;
5784
+ type: "video";
5785
+ url: string;
5402
5786
  parameters: string;
5787
+ } | {
5788
+ type: "images";
5789
+ url: string;
5790
+ imageIntervalS: number;
5403
5791
  };
5404
5792
  input: {
5405
5793
  type: "RTSP_URL";
@@ -5467,9 +5855,13 @@ export declare const srtSchema: z.ZodObject<{
5467
5855
  };
5468
5856
  video: {
5469
5857
  output: {
5470
- type: "video" | "images";
5471
- url: string | null;
5858
+ type: "video";
5859
+ url: string;
5472
5860
  parameters: string;
5861
+ } | {
5862
+ type: "images";
5863
+ url: string;
5864
+ imageIntervalS: number;
5473
5865
  };
5474
5866
  input: {
5475
5867
  type: "RTSP_URL";
@@ -5609,19 +6001,31 @@ export declare const twitchSchema: z.ZodObject<{
5609
6001
  prepareAheadS?: number | undefined;
5610
6002
  }>]>;
5611
6003
  video: z.ZodObject<{
5612
- output: z.ZodObject<{
5613
- type: z.ZodUnion<[z.ZodLiteral<"video">, z.ZodLiteral<"images">]>;
5614
- url: z.ZodNullable<z.ZodString>;
6004
+ output: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
6005
+ type: z.ZodLiteral<"video">;
6006
+ url: z.ZodString;
5615
6007
  parameters: z.ZodString;
5616
6008
  }, "strip", z.ZodTypeAny, {
5617
- type: "video" | "images";
5618
- url: string | null;
6009
+ type: "video";
6010
+ url: string;
5619
6011
  parameters: string;
5620
6012
  }, {
5621
- type: "video" | "images";
5622
- url: string | null;
6013
+ type: "video";
6014
+ url: string;
5623
6015
  parameters: string;
5624
- }>;
6016
+ }>, z.ZodObject<{
6017
+ type: z.ZodLiteral<"images">;
6018
+ url: z.ZodString;
6019
+ imageIntervalS: z.ZodNumber;
6020
+ }, "strip", z.ZodTypeAny, {
6021
+ type: "images";
6022
+ url: string;
6023
+ imageIntervalS: number;
6024
+ }, {
6025
+ type: "images";
6026
+ url: string;
6027
+ imageIntervalS: number;
6028
+ }>]>;
5625
6029
  input: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5626
6030
  type: z.ZodLiteral<"RTSP_URL">;
5627
6031
  url: z.ZodString;
@@ -5656,9 +6060,13 @@ export declare const twitchSchema: z.ZodObject<{
5656
6060
  delayS: z.ZodOptional<z.ZodNumber>;
5657
6061
  }, "strip", z.ZodTypeAny, {
5658
6062
  output: {
5659
- type: "video" | "images";
5660
- url: string | null;
6063
+ type: "video";
6064
+ url: string;
5661
6065
  parameters: string;
6066
+ } | {
6067
+ type: "images";
6068
+ url: string;
6069
+ imageIntervalS: number;
5662
6070
  };
5663
6071
  input: {
5664
6072
  type: "RTSP_URL";
@@ -5674,9 +6082,13 @@ export declare const twitchSchema: z.ZodObject<{
5674
6082
  delayS?: number | undefined;
5675
6083
  }, {
5676
6084
  output: {
5677
- type: "video" | "images";
5678
- url: string | null;
6085
+ type: "video";
6086
+ url: string;
5679
6087
  parameters: string;
6088
+ } | {
6089
+ type: "images";
6090
+ url: string;
6091
+ imageIntervalS: number;
5680
6092
  };
5681
6093
  input: {
5682
6094
  type: "RTSP_URL";
@@ -5789,9 +6201,13 @@ export declare const twitchSchema: z.ZodObject<{
5789
6201
  };
5790
6202
  video: {
5791
6203
  output: {
5792
- type: "video" | "images";
5793
- url: string | null;
6204
+ type: "video";
6205
+ url: string;
5794
6206
  parameters: string;
6207
+ } | {
6208
+ type: "images";
6209
+ url: string;
6210
+ imageIntervalS: number;
5795
6211
  };
5796
6212
  input: {
5797
6213
  type: "RTSP_URL";
@@ -5859,9 +6275,13 @@ export declare const twitchSchema: z.ZodObject<{
5859
6275
  };
5860
6276
  video: {
5861
6277
  output: {
5862
- type: "video" | "images";
5863
- url: string | null;
6278
+ type: "video";
6279
+ url: string;
5864
6280
  parameters: string;
6281
+ } | {
6282
+ type: "images";
6283
+ url: string;
6284
+ imageIntervalS: number;
5865
6285
  };
5866
6286
  input: {
5867
6287
  type: "RTSP_URL";
@@ -6001,19 +6421,31 @@ export declare const vimeoSchema: z.ZodObject<{
6001
6421
  prepareAheadS?: number | undefined;
6002
6422
  }>]>;
6003
6423
  video: z.ZodObject<{
6004
- output: z.ZodObject<{
6005
- type: z.ZodUnion<[z.ZodLiteral<"video">, z.ZodLiteral<"images">]>;
6006
- url: z.ZodNullable<z.ZodString>;
6424
+ output: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
6425
+ type: z.ZodLiteral<"video">;
6426
+ url: z.ZodString;
6007
6427
  parameters: z.ZodString;
6008
6428
  }, "strip", z.ZodTypeAny, {
6009
- type: "video" | "images";
6010
- url: string | null;
6429
+ type: "video";
6430
+ url: string;
6011
6431
  parameters: string;
6012
6432
  }, {
6013
- type: "video" | "images";
6014
- url: string | null;
6433
+ type: "video";
6434
+ url: string;
6015
6435
  parameters: string;
6016
- }>;
6436
+ }>, z.ZodObject<{
6437
+ type: z.ZodLiteral<"images">;
6438
+ url: z.ZodString;
6439
+ imageIntervalS: z.ZodNumber;
6440
+ }, "strip", z.ZodTypeAny, {
6441
+ type: "images";
6442
+ url: string;
6443
+ imageIntervalS: number;
6444
+ }, {
6445
+ type: "images";
6446
+ url: string;
6447
+ imageIntervalS: number;
6448
+ }>]>;
6017
6449
  input: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
6018
6450
  type: z.ZodLiteral<"RTSP_URL">;
6019
6451
  url: z.ZodString;
@@ -6048,9 +6480,13 @@ export declare const vimeoSchema: z.ZodObject<{
6048
6480
  delayS: z.ZodOptional<z.ZodNumber>;
6049
6481
  }, "strip", z.ZodTypeAny, {
6050
6482
  output: {
6051
- type: "video" | "images";
6052
- url: string | null;
6483
+ type: "video";
6484
+ url: string;
6053
6485
  parameters: string;
6486
+ } | {
6487
+ type: "images";
6488
+ url: string;
6489
+ imageIntervalS: number;
6054
6490
  };
6055
6491
  input: {
6056
6492
  type: "RTSP_URL";
@@ -6066,9 +6502,13 @@ export declare const vimeoSchema: z.ZodObject<{
6066
6502
  delayS?: number | undefined;
6067
6503
  }, {
6068
6504
  output: {
6069
- type: "video" | "images";
6070
- url: string | null;
6505
+ type: "video";
6506
+ url: string;
6071
6507
  parameters: string;
6508
+ } | {
6509
+ type: "images";
6510
+ url: string;
6511
+ imageIntervalS: number;
6072
6512
  };
6073
6513
  input: {
6074
6514
  type: "RTSP_URL";
@@ -6181,9 +6621,13 @@ export declare const vimeoSchema: z.ZodObject<{
6181
6621
  };
6182
6622
  video: {
6183
6623
  output: {
6184
- type: "video" | "images";
6185
- url: string | null;
6624
+ type: "video";
6625
+ url: string;
6186
6626
  parameters: string;
6627
+ } | {
6628
+ type: "images";
6629
+ url: string;
6630
+ imageIntervalS: number;
6187
6631
  };
6188
6632
  input: {
6189
6633
  type: "RTSP_URL";
@@ -6251,9 +6695,13 @@ export declare const vimeoSchema: z.ZodObject<{
6251
6695
  };
6252
6696
  video: {
6253
6697
  output: {
6254
- type: "video" | "images";
6255
- url: string | null;
6698
+ type: "video";
6699
+ url: string;
6256
6700
  parameters: string;
6701
+ } | {
6702
+ type: "images";
6703
+ url: string;
6704
+ imageIntervalS: number;
6257
6705
  };
6258
6706
  input: {
6259
6707
  type: "RTSP_URL";
@@ -6393,19 +6841,31 @@ export declare const wowzaSchema: z.ZodObject<{
6393
6841
  prepareAheadS?: number | undefined;
6394
6842
  }>]>;
6395
6843
  video: z.ZodObject<{
6396
- output: z.ZodObject<{
6397
- type: z.ZodUnion<[z.ZodLiteral<"video">, z.ZodLiteral<"images">]>;
6398
- url: z.ZodNullable<z.ZodString>;
6844
+ output: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
6845
+ type: z.ZodLiteral<"video">;
6846
+ url: z.ZodString;
6399
6847
  parameters: z.ZodString;
6400
6848
  }, "strip", z.ZodTypeAny, {
6401
- type: "video" | "images";
6402
- url: string | null;
6849
+ type: "video";
6850
+ url: string;
6403
6851
  parameters: string;
6404
6852
  }, {
6405
- type: "video" | "images";
6406
- url: string | null;
6853
+ type: "video";
6854
+ url: string;
6407
6855
  parameters: string;
6408
- }>;
6856
+ }>, z.ZodObject<{
6857
+ type: z.ZodLiteral<"images">;
6858
+ url: z.ZodString;
6859
+ imageIntervalS: z.ZodNumber;
6860
+ }, "strip", z.ZodTypeAny, {
6861
+ type: "images";
6862
+ url: string;
6863
+ imageIntervalS: number;
6864
+ }, {
6865
+ type: "images";
6866
+ url: string;
6867
+ imageIntervalS: number;
6868
+ }>]>;
6409
6869
  input: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
6410
6870
  type: z.ZodLiteral<"RTSP_URL">;
6411
6871
  url: z.ZodString;
@@ -6440,9 +6900,13 @@ export declare const wowzaSchema: z.ZodObject<{
6440
6900
  delayS: z.ZodOptional<z.ZodNumber>;
6441
6901
  }, "strip", z.ZodTypeAny, {
6442
6902
  output: {
6443
- type: "video" | "images";
6444
- url: string | null;
6903
+ type: "video";
6904
+ url: string;
6445
6905
  parameters: string;
6906
+ } | {
6907
+ type: "images";
6908
+ url: string;
6909
+ imageIntervalS: number;
6446
6910
  };
6447
6911
  input: {
6448
6912
  type: "RTSP_URL";
@@ -6458,9 +6922,13 @@ export declare const wowzaSchema: z.ZodObject<{
6458
6922
  delayS?: number | undefined;
6459
6923
  }, {
6460
6924
  output: {
6461
- type: "video" | "images";
6462
- url: string | null;
6925
+ type: "video";
6926
+ url: string;
6463
6927
  parameters: string;
6928
+ } | {
6929
+ type: "images";
6930
+ url: string;
6931
+ imageIntervalS: number;
6464
6932
  };
6465
6933
  input: {
6466
6934
  type: "RTSP_URL";
@@ -6573,9 +7041,13 @@ export declare const wowzaSchema: z.ZodObject<{
6573
7041
  };
6574
7042
  video: {
6575
7043
  output: {
6576
- type: "video" | "images";
6577
- url: string | null;
7044
+ type: "video";
7045
+ url: string;
6578
7046
  parameters: string;
7047
+ } | {
7048
+ type: "images";
7049
+ url: string;
7050
+ imageIntervalS: number;
6579
7051
  };
6580
7052
  input: {
6581
7053
  type: "RTSP_URL";
@@ -6643,9 +7115,13 @@ export declare const wowzaSchema: z.ZodObject<{
6643
7115
  };
6644
7116
  video: {
6645
7117
  output: {
6646
- type: "video" | "images";
6647
- url: string | null;
7118
+ type: "video";
7119
+ url: string;
6648
7120
  parameters: string;
7121
+ } | {
7122
+ type: "images";
7123
+ url: string;
7124
+ imageIntervalS: number;
6649
7125
  };
6650
7126
  input: {
6651
7127
  type: "RTSP_URL";
@@ -6785,19 +7261,31 @@ export declare const youtubeRtmpSchema: z.ZodObject<{
6785
7261
  prepareAheadS?: number | undefined;
6786
7262
  }>]>;
6787
7263
  video: z.ZodObject<{
6788
- output: z.ZodObject<{
6789
- type: z.ZodUnion<[z.ZodLiteral<"video">, z.ZodLiteral<"images">]>;
6790
- url: z.ZodNullable<z.ZodString>;
7264
+ output: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
7265
+ type: z.ZodLiteral<"video">;
7266
+ url: z.ZodString;
6791
7267
  parameters: z.ZodString;
6792
7268
  }, "strip", z.ZodTypeAny, {
6793
- type: "video" | "images";
6794
- url: string | null;
7269
+ type: "video";
7270
+ url: string;
6795
7271
  parameters: string;
6796
7272
  }, {
6797
- type: "video" | "images";
6798
- url: string | null;
7273
+ type: "video";
7274
+ url: string;
6799
7275
  parameters: string;
6800
- }>;
7276
+ }>, z.ZodObject<{
7277
+ type: z.ZodLiteral<"images">;
7278
+ url: z.ZodString;
7279
+ imageIntervalS: z.ZodNumber;
7280
+ }, "strip", z.ZodTypeAny, {
7281
+ type: "images";
7282
+ url: string;
7283
+ imageIntervalS: number;
7284
+ }, {
7285
+ type: "images";
7286
+ url: string;
7287
+ imageIntervalS: number;
7288
+ }>]>;
6801
7289
  input: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
6802
7290
  type: z.ZodLiteral<"RTSP_URL">;
6803
7291
  url: z.ZodString;
@@ -6832,9 +7320,13 @@ export declare const youtubeRtmpSchema: z.ZodObject<{
6832
7320
  delayS: z.ZodOptional<z.ZodNumber>;
6833
7321
  }, "strip", z.ZodTypeAny, {
6834
7322
  output: {
6835
- type: "video" | "images";
6836
- url: string | null;
7323
+ type: "video";
7324
+ url: string;
6837
7325
  parameters: string;
7326
+ } | {
7327
+ type: "images";
7328
+ url: string;
7329
+ imageIntervalS: number;
6838
7330
  };
6839
7331
  input: {
6840
7332
  type: "RTSP_URL";
@@ -6850,9 +7342,13 @@ export declare const youtubeRtmpSchema: z.ZodObject<{
6850
7342
  delayS?: number | undefined;
6851
7343
  }, {
6852
7344
  output: {
6853
- type: "video" | "images";
6854
- url: string | null;
7345
+ type: "video";
7346
+ url: string;
6855
7347
  parameters: string;
7348
+ } | {
7349
+ type: "images";
7350
+ url: string;
7351
+ imageIntervalS: number;
6856
7352
  };
6857
7353
  input: {
6858
7354
  type: "RTSP_URL";
@@ -6968,9 +7464,13 @@ export declare const youtubeRtmpSchema: z.ZodObject<{
6968
7464
  };
6969
7465
  video: {
6970
7466
  output: {
6971
- type: "video" | "images";
6972
- url: string | null;
7467
+ type: "video";
7468
+ url: string;
6973
7469
  parameters: string;
7470
+ } | {
7471
+ type: "images";
7472
+ url: string;
7473
+ imageIntervalS: number;
6974
7474
  };
6975
7475
  input: {
6976
7476
  type: "RTSP_URL";
@@ -7040,9 +7540,13 @@ export declare const youtubeRtmpSchema: z.ZodObject<{
7040
7540
  };
7041
7541
  video: {
7042
7542
  output: {
7043
- type: "video" | "images";
7044
- url: string | null;
7543
+ type: "video";
7544
+ url: string;
7045
7545
  parameters: string;
7546
+ } | {
7547
+ type: "images";
7548
+ url: string;
7549
+ imageIntervalS: number;
7046
7550
  };
7047
7551
  input: {
7048
7552
  type: "RTSP_URL";