camstreamerlib 3.5.2 → 4.0.0-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (72) hide show
  1. package/CamOverlayAPI.d.ts +11 -28
  2. package/CamOverlayAPI.js +116 -138
  3. package/CamOverlayDrawingAPI.js +26 -18
  4. package/CamOverlayPainter/Frame.js +167 -182
  5. package/CamOverlayPainter/Painter.js +80 -101
  6. package/CamOverlayPainter/ResourceManager.js +31 -46
  7. package/CamScripterAPI.d.ts +19 -0
  8. package/CamScripterAPI.js +66 -0
  9. package/CamScripterAPICameraEventsGenerator.js +22 -16
  10. package/CamStreamerAPI.d.ts +5 -27
  11. package/CamStreamerAPI.js +45 -71
  12. package/CamSwitcherAPI.d.ts +38 -71
  13. package/CamSwitcherAPI.js +329 -91
  14. package/CamSwitcherEvents.d.ts +15 -33
  15. package/CamSwitcherEvents.js +53 -97
  16. package/CreatePackage.js +5 -7
  17. package/README.md +3 -1
  18. package/VapixAPI.d.ts +66 -0
  19. package/VapixAPI.js +454 -0
  20. package/VapixEvents.js +18 -16
  21. package/errors/errors.d.ts +34 -0
  22. package/errors/errors.js +66 -0
  23. package/events/AxisCameraStationEvents.js +29 -42
  24. package/events/GenetecAgent.d.ts +14 -15
  25. package/events/GenetecAgent.js +81 -100
  26. package/internal/Digest.js +5 -11
  27. package/internal/ProxyClient.d.ts +11 -0
  28. package/internal/ProxyClient.js +40 -0
  29. package/internal/common.d.ts +19 -4
  30. package/internal/common.js +11 -26
  31. package/internal/constants.d.ts +1 -0
  32. package/internal/constants.js +1 -0
  33. package/internal/transformers.d.ts +5 -0
  34. package/internal/transformers.js +25 -0
  35. package/internal/utils.d.ts +11 -0
  36. package/internal/utils.js +34 -0
  37. package/internal/versionCompare.d.ts +6 -0
  38. package/internal/versionCompare.js +44 -0
  39. package/node/DefaultClient.d.ts +15 -0
  40. package/node/DefaultClient.js +50 -0
  41. package/{internal → node}/HttpRequestSender.d.ts +2 -2
  42. package/node/HttpRequestSender.js +85 -0
  43. package/{HttpServer.d.ts → node/HttpServer.d.ts} +1 -1
  44. package/{HttpServer.js → node/HttpServer.js} +22 -24
  45. package/{internal → node}/WsClient.d.ts +1 -1
  46. package/{internal → node}/WsClient.js +32 -39
  47. package/node/WsEventClient.d.ts +13 -0
  48. package/node/WsEventClient.js +18 -0
  49. package/package.json +7 -3
  50. package/types/CamOverlayAPI.d.ts +188 -0
  51. package/types/CamOverlayAPI.js +44 -0
  52. package/types/CamScripterAPI.d.ts +67 -0
  53. package/types/CamScripterAPI.js +17 -0
  54. package/types/CamStreamerAPI.d.ts +139 -0
  55. package/types/CamStreamerAPI.js +25 -0
  56. package/types/CamSwitcherAPI.d.ts +814 -0
  57. package/types/CamSwitcherAPI.js +134 -0
  58. package/types/CamswitcherEvents.d.ts +491 -0
  59. package/types/CamswitcherEvents.js +59 -0
  60. package/types/VapixAPI.d.ts +1704 -0
  61. package/types/VapixAPI.js +129 -0
  62. package/types/common.d.ts +37 -0
  63. package/types/common.js +11 -0
  64. package/web/DefaultClient.d.ts +6 -0
  65. package/web/DefaultClient.js +16 -0
  66. package/web/WsClient.d.ts +13 -0
  67. package/web/WsClient.js +58 -0
  68. package/CameraVapix.d.ts +0 -98
  69. package/CameraVapix.js +0 -441
  70. package/DefaultAgent.d.ts +0 -15
  71. package/DefaultAgent.js +0 -68
  72. package/internal/HttpRequestSender.js +0 -117
@@ -0,0 +1,1704 @@
1
+ import { HttpOptions } from '../internal/common';
2
+ import { z } from 'zod';
3
+ export type CameraVapixOptions = HttpOptions;
4
+ export declare const applicationSchema: z.ZodObject<{
5
+ Name: z.ZodString;
6
+ NiceName: z.ZodString;
7
+ Vendor: z.ZodString;
8
+ Version: z.ZodString;
9
+ ApplicationID: z.ZodOptional<z.ZodString>;
10
+ License: z.ZodString;
11
+ Status: z.ZodString;
12
+ ConfigurationPage: z.ZodOptional<z.ZodString>;
13
+ VendorHomePage: z.ZodOptional<z.ZodString>;
14
+ LicenseName: z.ZodOptional<z.ZodString>;
15
+ }, "strip", z.ZodTypeAny, {
16
+ Name: string;
17
+ NiceName: string;
18
+ Vendor: string;
19
+ Version: string;
20
+ License: string;
21
+ Status: string;
22
+ ApplicationID?: string | undefined;
23
+ ConfigurationPage?: string | undefined;
24
+ VendorHomePage?: string | undefined;
25
+ LicenseName?: string | undefined;
26
+ }, {
27
+ Name: string;
28
+ NiceName: string;
29
+ Vendor: string;
30
+ Version: string;
31
+ License: string;
32
+ Status: string;
33
+ ApplicationID?: string | undefined;
34
+ ConfigurationPage?: string | undefined;
35
+ VendorHomePage?: string | undefined;
36
+ LicenseName?: string | undefined;
37
+ }>;
38
+ export declare const APP_IDS: readonly ["CamStreamer", "CamSwitcher", "CamOverlay", "CamScripter", "PlaneTracker", "Ndihxplugin"];
39
+ export type TApplicationId = (typeof APP_IDS)[number];
40
+ export type TApplication = z.infer<typeof applicationSchema> & {
41
+ appId: null | TApplicationId;
42
+ };
43
+ export declare const applicationListSchema: z.ZodObject<{
44
+ reply: z.ZodObject<{
45
+ $: z.ZodObject<{
46
+ result: z.ZodString;
47
+ }, "strip", z.ZodTypeAny, {
48
+ result: string;
49
+ }, {
50
+ result: string;
51
+ }>;
52
+ application: z.ZodArray<z.ZodObject<{
53
+ $: z.ZodObject<{
54
+ Name: z.ZodString;
55
+ NiceName: z.ZodString;
56
+ Vendor: z.ZodString;
57
+ Version: z.ZodString;
58
+ ApplicationID: z.ZodOptional<z.ZodString>;
59
+ License: z.ZodString;
60
+ Status: z.ZodString;
61
+ ConfigurationPage: z.ZodOptional<z.ZodString>;
62
+ VendorHomePage: z.ZodOptional<z.ZodString>;
63
+ LicenseName: z.ZodOptional<z.ZodString>;
64
+ }, "strip", z.ZodTypeAny, {
65
+ Name: string;
66
+ NiceName: string;
67
+ Vendor: string;
68
+ Version: string;
69
+ License: string;
70
+ Status: string;
71
+ ApplicationID?: string | undefined;
72
+ ConfigurationPage?: string | undefined;
73
+ VendorHomePage?: string | undefined;
74
+ LicenseName?: string | undefined;
75
+ }, {
76
+ Name: string;
77
+ NiceName: string;
78
+ Vendor: string;
79
+ Version: string;
80
+ License: string;
81
+ Status: string;
82
+ ApplicationID?: string | undefined;
83
+ ConfigurationPage?: string | undefined;
84
+ VendorHomePage?: string | undefined;
85
+ LicenseName?: string | undefined;
86
+ }>;
87
+ }, "strip", z.ZodTypeAny, {
88
+ $: {
89
+ Name: string;
90
+ NiceName: string;
91
+ Vendor: string;
92
+ Version: string;
93
+ License: string;
94
+ Status: string;
95
+ ApplicationID?: string | undefined;
96
+ ConfigurationPage?: string | undefined;
97
+ VendorHomePage?: string | undefined;
98
+ LicenseName?: string | undefined;
99
+ };
100
+ }, {
101
+ $: {
102
+ Name: string;
103
+ NiceName: string;
104
+ Vendor: string;
105
+ Version: string;
106
+ License: string;
107
+ Status: string;
108
+ ApplicationID?: string | undefined;
109
+ ConfigurationPage?: string | undefined;
110
+ VendorHomePage?: string | undefined;
111
+ LicenseName?: string | undefined;
112
+ };
113
+ }>, "many">;
114
+ }, "strip", z.ZodTypeAny, {
115
+ $: {
116
+ result: string;
117
+ };
118
+ application: {
119
+ $: {
120
+ Name: string;
121
+ NiceName: string;
122
+ Vendor: string;
123
+ Version: string;
124
+ License: string;
125
+ Status: string;
126
+ ApplicationID?: string | undefined;
127
+ ConfigurationPage?: string | undefined;
128
+ VendorHomePage?: string | undefined;
129
+ LicenseName?: string | undefined;
130
+ };
131
+ }[];
132
+ }, {
133
+ $: {
134
+ result: string;
135
+ };
136
+ application: {
137
+ $: {
138
+ Name: string;
139
+ NiceName: string;
140
+ Vendor: string;
141
+ Version: string;
142
+ License: string;
143
+ Status: string;
144
+ ApplicationID?: string | undefined;
145
+ ConfigurationPage?: string | undefined;
146
+ VendorHomePage?: string | undefined;
147
+ LicenseName?: string | undefined;
148
+ };
149
+ }[];
150
+ }>;
151
+ }, "strip", z.ZodTypeAny, {
152
+ reply: {
153
+ $: {
154
+ result: string;
155
+ };
156
+ application: {
157
+ $: {
158
+ Name: string;
159
+ NiceName: string;
160
+ Vendor: string;
161
+ Version: string;
162
+ License: string;
163
+ Status: string;
164
+ ApplicationID?: string | undefined;
165
+ ConfigurationPage?: string | undefined;
166
+ VendorHomePage?: string | undefined;
167
+ LicenseName?: string | undefined;
168
+ };
169
+ }[];
170
+ };
171
+ }, {
172
+ reply: {
173
+ $: {
174
+ result: string;
175
+ };
176
+ application: {
177
+ $: {
178
+ Name: string;
179
+ NiceName: string;
180
+ Vendor: string;
181
+ Version: string;
182
+ License: string;
183
+ Status: string;
184
+ ApplicationID?: string | undefined;
185
+ ConfigurationPage?: string | undefined;
186
+ VendorHomePage?: string | undefined;
187
+ LicenseName?: string | undefined;
188
+ };
189
+ }[];
190
+ };
191
+ }>;
192
+ export type TApplicationList = z.infer<typeof applicationListSchema>;
193
+ export declare const guardTourSchema: z.ZodObject<{
194
+ id: z.ZodString;
195
+ camNbr: z.ZodUnknown;
196
+ name: z.ZodString;
197
+ randomEnabled: z.ZodUnknown;
198
+ running: z.ZodString;
199
+ timeBetweenSequences: z.ZodUnknown;
200
+ tour: z.ZodArray<z.ZodObject<{
201
+ moveSpeed: z.ZodUnknown;
202
+ position: z.ZodUnknown;
203
+ presetNbr: z.ZodUnknown;
204
+ waitTime: z.ZodUnknown;
205
+ waitTimeViewType: z.ZodUnknown;
206
+ }, "strip", z.ZodTypeAny, {
207
+ moveSpeed?: unknown;
208
+ position?: unknown;
209
+ presetNbr?: unknown;
210
+ waitTime?: unknown;
211
+ waitTimeViewType?: unknown;
212
+ }, {
213
+ moveSpeed?: unknown;
214
+ position?: unknown;
215
+ presetNbr?: unknown;
216
+ waitTime?: unknown;
217
+ waitTimeViewType?: unknown;
218
+ }>, "many">;
219
+ }, "strip", z.ZodTypeAny, {
220
+ name: string;
221
+ id: string;
222
+ running: string;
223
+ tour: {
224
+ moveSpeed?: unknown;
225
+ position?: unknown;
226
+ presetNbr?: unknown;
227
+ waitTime?: unknown;
228
+ waitTimeViewType?: unknown;
229
+ }[];
230
+ camNbr?: unknown;
231
+ randomEnabled?: unknown;
232
+ timeBetweenSequences?: unknown;
233
+ }, {
234
+ name: string;
235
+ id: string;
236
+ running: string;
237
+ tour: {
238
+ moveSpeed?: unknown;
239
+ position?: unknown;
240
+ presetNbr?: unknown;
241
+ waitTime?: unknown;
242
+ waitTimeViewType?: unknown;
243
+ }[];
244
+ camNbr?: unknown;
245
+ randomEnabled?: unknown;
246
+ timeBetweenSequences?: unknown;
247
+ }>;
248
+ export type TGuardTour = z.infer<typeof guardTourSchema>;
249
+ declare const audioSampleRatesOutSchema: z.ZodEffects<z.ZodObject<{
250
+ sample_rate: z.ZodNumber;
251
+ bit_rates: z.ZodArray<z.ZodNumber, "many">;
252
+ }, "strip", z.ZodTypeAny, {
253
+ sample_rate: number;
254
+ bit_rates: number[];
255
+ }, {
256
+ sample_rate: number;
257
+ bit_rates: number[];
258
+ }>, {
259
+ sampleRate: number;
260
+ bitRates: number[];
261
+ }, {
262
+ sample_rate: number;
263
+ bit_rates: number[];
264
+ }>;
265
+ export type TAudioSampleRates = z.infer<typeof audioSampleRatesOutSchema>;
266
+ export declare const sdCardWatchedStatuses: readonly ["OK", "connected", "disconnected"];
267
+ export type TSDCardInfo = {
268
+ status: (typeof sdCardWatchedStatuses)[number];
269
+ totalSize: number;
270
+ freeSize: number;
271
+ };
272
+ export declare const PtzOverviewSchema: z.ZodRecord<z.ZodNumber, z.ZodArray<z.ZodObject<{
273
+ id: z.ZodNumber;
274
+ name: z.ZodString;
275
+ }, "strip", z.ZodTypeAny, {
276
+ name: string;
277
+ id: number;
278
+ }, {
279
+ name: string;
280
+ id: number;
281
+ }>, "many">>;
282
+ export type TPtzOverview = z.infer<typeof PtzOverviewSchema>;
283
+ export declare const cameraPTZItemDataSchema: z.ZodObject<{
284
+ pan: z.ZodOptional<z.ZodNumber>;
285
+ tilt: z.ZodOptional<z.ZodNumber>;
286
+ zoom: z.ZodOptional<z.ZodNumber>;
287
+ }, "strip", z.ZodTypeAny, {
288
+ pan?: number | undefined;
289
+ tilt?: number | undefined;
290
+ zoom?: number | undefined;
291
+ }, {
292
+ pan?: number | undefined;
293
+ tilt?: number | undefined;
294
+ zoom?: number | undefined;
295
+ }>;
296
+ export declare const cameraPTZItemSchema: z.ZodObject<{
297
+ name: z.ZodString;
298
+ id: z.ZodNumber;
299
+ data: z.ZodObject<{
300
+ pan: z.ZodOptional<z.ZodNumber>;
301
+ tilt: z.ZodOptional<z.ZodNumber>;
302
+ zoom: z.ZodOptional<z.ZodNumber>;
303
+ }, "strip", z.ZodTypeAny, {
304
+ pan?: number | undefined;
305
+ tilt?: number | undefined;
306
+ zoom?: number | undefined;
307
+ }, {
308
+ pan?: number | undefined;
309
+ tilt?: number | undefined;
310
+ zoom?: number | undefined;
311
+ }>;
312
+ }, "strip", z.ZodTypeAny, {
313
+ name: string;
314
+ id: number;
315
+ data: {
316
+ pan?: number | undefined;
317
+ tilt?: number | undefined;
318
+ zoom?: number | undefined;
319
+ };
320
+ }, {
321
+ name: string;
322
+ id: number;
323
+ data: {
324
+ pan?: number | undefined;
325
+ tilt?: number | undefined;
326
+ zoom?: number | undefined;
327
+ };
328
+ }>;
329
+ export type TCameraPTZItem = z.infer<typeof cameraPTZItemSchema>;
330
+ export type TCameraPTZItemData = z.infer<typeof cameraPTZItemDataSchema>;
331
+ export declare const audioDeviceSignalingChannelTypeSchema: z.ZodObject<{
332
+ id: z.ZodString;
333
+ gain: z.ZodNumber;
334
+ mute: z.ZodBoolean;
335
+ }, "strip", z.ZodTypeAny, {
336
+ id: string;
337
+ gain: number;
338
+ mute: boolean;
339
+ }, {
340
+ id: string;
341
+ gain: number;
342
+ mute: boolean;
343
+ }>;
344
+ export type TAudioDeviceSignalingChannelType = z.infer<typeof audioDeviceSignalingChannelTypeSchema>;
345
+ export declare const audioDeviceSignalingTypeSchema: z.ZodObject<{
346
+ id: z.ZodString;
347
+ powerType: z.ZodString;
348
+ channels: z.ZodArray<z.ZodObject<{
349
+ id: z.ZodString;
350
+ gain: z.ZodNumber;
351
+ mute: z.ZodBoolean;
352
+ }, "strip", z.ZodTypeAny, {
353
+ id: string;
354
+ gain: number;
355
+ mute: boolean;
356
+ }, {
357
+ id: string;
358
+ gain: number;
359
+ mute: boolean;
360
+ }>, "many">;
361
+ }, "strip", z.ZodTypeAny, {
362
+ id: string;
363
+ powerType: string;
364
+ channels: {
365
+ id: string;
366
+ gain: number;
367
+ mute: boolean;
368
+ }[];
369
+ }, {
370
+ id: string;
371
+ powerType: string;
372
+ channels: {
373
+ id: string;
374
+ gain: number;
375
+ mute: boolean;
376
+ }[];
377
+ }>;
378
+ export type TAudioDeviceSignalingType = z.infer<typeof audioDeviceSignalingTypeSchema>;
379
+ export declare const audioDeviceConnectionTypeSchema: z.ZodObject<{
380
+ id: z.ZodString;
381
+ signalingTypeSelected: z.ZodString;
382
+ signalingTypes: z.ZodArray<z.ZodObject<{
383
+ id: z.ZodString;
384
+ powerType: z.ZodString;
385
+ channels: z.ZodArray<z.ZodObject<{
386
+ id: z.ZodString;
387
+ gain: z.ZodNumber;
388
+ mute: z.ZodBoolean;
389
+ }, "strip", z.ZodTypeAny, {
390
+ id: string;
391
+ gain: number;
392
+ mute: boolean;
393
+ }, {
394
+ id: string;
395
+ gain: number;
396
+ mute: boolean;
397
+ }>, "many">;
398
+ }, "strip", z.ZodTypeAny, {
399
+ id: string;
400
+ powerType: string;
401
+ channels: {
402
+ id: string;
403
+ gain: number;
404
+ mute: boolean;
405
+ }[];
406
+ }, {
407
+ id: string;
408
+ powerType: string;
409
+ channels: {
410
+ id: string;
411
+ gain: number;
412
+ mute: boolean;
413
+ }[];
414
+ }>, "many">;
415
+ }, "strip", z.ZodTypeAny, {
416
+ id: string;
417
+ signalingTypeSelected: string;
418
+ signalingTypes: {
419
+ id: string;
420
+ powerType: string;
421
+ channels: {
422
+ id: string;
423
+ gain: number;
424
+ mute: boolean;
425
+ }[];
426
+ }[];
427
+ }, {
428
+ id: string;
429
+ signalingTypeSelected: string;
430
+ signalingTypes: {
431
+ id: string;
432
+ powerType: string;
433
+ channels: {
434
+ id: string;
435
+ gain: number;
436
+ mute: boolean;
437
+ }[];
438
+ }[];
439
+ }>;
440
+ export type TAudioDeviceConnectionType = z.infer<typeof audioDeviceConnectionTypeSchema>;
441
+ export declare const audioDeviceInputOutputSchema: z.ZodObject<{
442
+ id: z.ZodString;
443
+ name: z.ZodString;
444
+ enabled: z.ZodBoolean;
445
+ connectionTypes: z.ZodArray<z.ZodObject<{
446
+ id: z.ZodString;
447
+ signalingTypeSelected: z.ZodString;
448
+ signalingTypes: z.ZodArray<z.ZodObject<{
449
+ id: z.ZodString;
450
+ powerType: z.ZodString;
451
+ channels: z.ZodArray<z.ZodObject<{
452
+ id: z.ZodString;
453
+ gain: z.ZodNumber;
454
+ mute: z.ZodBoolean;
455
+ }, "strip", z.ZodTypeAny, {
456
+ id: string;
457
+ gain: number;
458
+ mute: boolean;
459
+ }, {
460
+ id: string;
461
+ gain: number;
462
+ mute: boolean;
463
+ }>, "many">;
464
+ }, "strip", z.ZodTypeAny, {
465
+ id: string;
466
+ powerType: string;
467
+ channels: {
468
+ id: string;
469
+ gain: number;
470
+ mute: boolean;
471
+ }[];
472
+ }, {
473
+ id: string;
474
+ powerType: string;
475
+ channels: {
476
+ id: string;
477
+ gain: number;
478
+ mute: boolean;
479
+ }[];
480
+ }>, "many">;
481
+ }, "strip", z.ZodTypeAny, {
482
+ id: string;
483
+ signalingTypeSelected: string;
484
+ signalingTypes: {
485
+ id: string;
486
+ powerType: string;
487
+ channels: {
488
+ id: string;
489
+ gain: number;
490
+ mute: boolean;
491
+ }[];
492
+ }[];
493
+ }, {
494
+ id: string;
495
+ signalingTypeSelected: string;
496
+ signalingTypes: {
497
+ id: string;
498
+ powerType: string;
499
+ channels: {
500
+ id: string;
501
+ gain: number;
502
+ mute: boolean;
503
+ }[];
504
+ }[];
505
+ }>, "many">;
506
+ connectionTypeSelected: z.ZodString;
507
+ }, "strip", z.ZodTypeAny, {
508
+ name: string;
509
+ enabled: boolean;
510
+ id: string;
511
+ connectionTypes: {
512
+ id: string;
513
+ signalingTypeSelected: string;
514
+ signalingTypes: {
515
+ id: string;
516
+ powerType: string;
517
+ channels: {
518
+ id: string;
519
+ gain: number;
520
+ mute: boolean;
521
+ }[];
522
+ }[];
523
+ }[];
524
+ connectionTypeSelected: string;
525
+ }, {
526
+ name: string;
527
+ enabled: boolean;
528
+ id: string;
529
+ connectionTypes: {
530
+ id: string;
531
+ signalingTypeSelected: string;
532
+ signalingTypes: {
533
+ id: string;
534
+ powerType: string;
535
+ channels: {
536
+ id: string;
537
+ gain: number;
538
+ mute: boolean;
539
+ }[];
540
+ }[];
541
+ }[];
542
+ connectionTypeSelected: string;
543
+ }>;
544
+ export type TAudioDeviceInputOutput = z.infer<typeof audioDeviceInputOutputSchema>;
545
+ export declare const audioDeviceSchema: z.ZodObject<{
546
+ id: z.ZodString;
547
+ name: z.ZodString;
548
+ inputs: z.ZodArray<z.ZodObject<{
549
+ id: z.ZodString;
550
+ name: z.ZodString;
551
+ enabled: z.ZodBoolean;
552
+ connectionTypes: z.ZodArray<z.ZodObject<{
553
+ id: z.ZodString;
554
+ signalingTypeSelected: z.ZodString;
555
+ signalingTypes: z.ZodArray<z.ZodObject<{
556
+ id: z.ZodString;
557
+ powerType: z.ZodString;
558
+ channels: z.ZodArray<z.ZodObject<{
559
+ id: z.ZodString;
560
+ gain: z.ZodNumber;
561
+ mute: z.ZodBoolean;
562
+ }, "strip", z.ZodTypeAny, {
563
+ id: string;
564
+ gain: number;
565
+ mute: boolean;
566
+ }, {
567
+ id: string;
568
+ gain: number;
569
+ mute: boolean;
570
+ }>, "many">;
571
+ }, "strip", z.ZodTypeAny, {
572
+ id: string;
573
+ powerType: string;
574
+ channels: {
575
+ id: string;
576
+ gain: number;
577
+ mute: boolean;
578
+ }[];
579
+ }, {
580
+ id: string;
581
+ powerType: string;
582
+ channels: {
583
+ id: string;
584
+ gain: number;
585
+ mute: boolean;
586
+ }[];
587
+ }>, "many">;
588
+ }, "strip", z.ZodTypeAny, {
589
+ id: string;
590
+ signalingTypeSelected: string;
591
+ signalingTypes: {
592
+ id: string;
593
+ powerType: string;
594
+ channels: {
595
+ id: string;
596
+ gain: number;
597
+ mute: boolean;
598
+ }[];
599
+ }[];
600
+ }, {
601
+ id: string;
602
+ signalingTypeSelected: string;
603
+ signalingTypes: {
604
+ id: string;
605
+ powerType: string;
606
+ channels: {
607
+ id: string;
608
+ gain: number;
609
+ mute: boolean;
610
+ }[];
611
+ }[];
612
+ }>, "many">;
613
+ connectionTypeSelected: z.ZodString;
614
+ }, "strip", z.ZodTypeAny, {
615
+ name: string;
616
+ enabled: boolean;
617
+ id: string;
618
+ connectionTypes: {
619
+ id: string;
620
+ signalingTypeSelected: string;
621
+ signalingTypes: {
622
+ id: string;
623
+ powerType: string;
624
+ channels: {
625
+ id: string;
626
+ gain: number;
627
+ mute: boolean;
628
+ }[];
629
+ }[];
630
+ }[];
631
+ connectionTypeSelected: string;
632
+ }, {
633
+ name: string;
634
+ enabled: boolean;
635
+ id: string;
636
+ connectionTypes: {
637
+ id: string;
638
+ signalingTypeSelected: string;
639
+ signalingTypes: {
640
+ id: string;
641
+ powerType: string;
642
+ channels: {
643
+ id: string;
644
+ gain: number;
645
+ mute: boolean;
646
+ }[];
647
+ }[];
648
+ }[];
649
+ connectionTypeSelected: string;
650
+ }>, "many">;
651
+ outputs: z.ZodArray<z.ZodObject<{
652
+ id: z.ZodString;
653
+ name: z.ZodString;
654
+ enabled: z.ZodBoolean;
655
+ connectionTypes: z.ZodArray<z.ZodObject<{
656
+ id: z.ZodString;
657
+ signalingTypeSelected: z.ZodString;
658
+ signalingTypes: z.ZodArray<z.ZodObject<{
659
+ id: z.ZodString;
660
+ powerType: z.ZodString;
661
+ channels: z.ZodArray<z.ZodObject<{
662
+ id: z.ZodString;
663
+ gain: z.ZodNumber;
664
+ mute: z.ZodBoolean;
665
+ }, "strip", z.ZodTypeAny, {
666
+ id: string;
667
+ gain: number;
668
+ mute: boolean;
669
+ }, {
670
+ id: string;
671
+ gain: number;
672
+ mute: boolean;
673
+ }>, "many">;
674
+ }, "strip", z.ZodTypeAny, {
675
+ id: string;
676
+ powerType: string;
677
+ channels: {
678
+ id: string;
679
+ gain: number;
680
+ mute: boolean;
681
+ }[];
682
+ }, {
683
+ id: string;
684
+ powerType: string;
685
+ channels: {
686
+ id: string;
687
+ gain: number;
688
+ mute: boolean;
689
+ }[];
690
+ }>, "many">;
691
+ }, "strip", z.ZodTypeAny, {
692
+ id: string;
693
+ signalingTypeSelected: string;
694
+ signalingTypes: {
695
+ id: string;
696
+ powerType: string;
697
+ channels: {
698
+ id: string;
699
+ gain: number;
700
+ mute: boolean;
701
+ }[];
702
+ }[];
703
+ }, {
704
+ id: string;
705
+ signalingTypeSelected: string;
706
+ signalingTypes: {
707
+ id: string;
708
+ powerType: string;
709
+ channels: {
710
+ id: string;
711
+ gain: number;
712
+ mute: boolean;
713
+ }[];
714
+ }[];
715
+ }>, "many">;
716
+ connectionTypeSelected: z.ZodString;
717
+ }, "strip", z.ZodTypeAny, {
718
+ name: string;
719
+ enabled: boolean;
720
+ id: string;
721
+ connectionTypes: {
722
+ id: string;
723
+ signalingTypeSelected: string;
724
+ signalingTypes: {
725
+ id: string;
726
+ powerType: string;
727
+ channels: {
728
+ id: string;
729
+ gain: number;
730
+ mute: boolean;
731
+ }[];
732
+ }[];
733
+ }[];
734
+ connectionTypeSelected: string;
735
+ }, {
736
+ name: string;
737
+ enabled: boolean;
738
+ id: string;
739
+ connectionTypes: {
740
+ id: string;
741
+ signalingTypeSelected: string;
742
+ signalingTypes: {
743
+ id: string;
744
+ powerType: string;
745
+ channels: {
746
+ id: string;
747
+ gain: number;
748
+ mute: boolean;
749
+ }[];
750
+ }[];
751
+ }[];
752
+ connectionTypeSelected: string;
753
+ }>, "many">;
754
+ }, "strip", z.ZodTypeAny, {
755
+ name: string;
756
+ id: string;
757
+ inputs: {
758
+ name: string;
759
+ enabled: boolean;
760
+ id: string;
761
+ connectionTypes: {
762
+ id: string;
763
+ signalingTypeSelected: string;
764
+ signalingTypes: {
765
+ id: string;
766
+ powerType: string;
767
+ channels: {
768
+ id: string;
769
+ gain: number;
770
+ mute: boolean;
771
+ }[];
772
+ }[];
773
+ }[];
774
+ connectionTypeSelected: string;
775
+ }[];
776
+ outputs: {
777
+ name: string;
778
+ enabled: boolean;
779
+ id: string;
780
+ connectionTypes: {
781
+ id: string;
782
+ signalingTypeSelected: string;
783
+ signalingTypes: {
784
+ id: string;
785
+ powerType: string;
786
+ channels: {
787
+ id: string;
788
+ gain: number;
789
+ mute: boolean;
790
+ }[];
791
+ }[];
792
+ }[];
793
+ connectionTypeSelected: string;
794
+ }[];
795
+ }, {
796
+ name: string;
797
+ id: string;
798
+ inputs: {
799
+ name: string;
800
+ enabled: boolean;
801
+ id: string;
802
+ connectionTypes: {
803
+ id: string;
804
+ signalingTypeSelected: string;
805
+ signalingTypes: {
806
+ id: string;
807
+ powerType: string;
808
+ channels: {
809
+ id: string;
810
+ gain: number;
811
+ mute: boolean;
812
+ }[];
813
+ }[];
814
+ }[];
815
+ connectionTypeSelected: string;
816
+ }[];
817
+ outputs: {
818
+ name: string;
819
+ enabled: boolean;
820
+ id: string;
821
+ connectionTypes: {
822
+ id: string;
823
+ signalingTypeSelected: string;
824
+ signalingTypes: {
825
+ id: string;
826
+ powerType: string;
827
+ channels: {
828
+ id: string;
829
+ gain: number;
830
+ mute: boolean;
831
+ }[];
832
+ }[];
833
+ }[];
834
+ connectionTypeSelected: string;
835
+ }[];
836
+ }>;
837
+ export type TAudioDevice = z.infer<typeof audioDeviceSchema>;
838
+ declare const audioDeviceFromRequestSchema: z.ZodObject<{
839
+ id: z.ZodString;
840
+ name: z.ZodString;
841
+ inputs: z.ZodOptional<z.ZodArray<z.ZodObject<{
842
+ id: z.ZodString;
843
+ name: z.ZodString;
844
+ enabled: z.ZodBoolean;
845
+ connectionTypes: z.ZodArray<z.ZodObject<{
846
+ id: z.ZodString;
847
+ signalingTypeSelected: z.ZodString;
848
+ signalingTypes: z.ZodArray<z.ZodObject<{
849
+ id: z.ZodString;
850
+ powerType: z.ZodString;
851
+ channels: z.ZodArray<z.ZodObject<{
852
+ id: z.ZodString;
853
+ gain: z.ZodNumber;
854
+ mute: z.ZodBoolean;
855
+ }, "strip", z.ZodTypeAny, {
856
+ id: string;
857
+ gain: number;
858
+ mute: boolean;
859
+ }, {
860
+ id: string;
861
+ gain: number;
862
+ mute: boolean;
863
+ }>, "many">;
864
+ }, "strip", z.ZodTypeAny, {
865
+ id: string;
866
+ powerType: string;
867
+ channels: {
868
+ id: string;
869
+ gain: number;
870
+ mute: boolean;
871
+ }[];
872
+ }, {
873
+ id: string;
874
+ powerType: string;
875
+ channels: {
876
+ id: string;
877
+ gain: number;
878
+ mute: boolean;
879
+ }[];
880
+ }>, "many">;
881
+ }, "strip", z.ZodTypeAny, {
882
+ id: string;
883
+ signalingTypeSelected: string;
884
+ signalingTypes: {
885
+ id: string;
886
+ powerType: string;
887
+ channels: {
888
+ id: string;
889
+ gain: number;
890
+ mute: boolean;
891
+ }[];
892
+ }[];
893
+ }, {
894
+ id: string;
895
+ signalingTypeSelected: string;
896
+ signalingTypes: {
897
+ id: string;
898
+ powerType: string;
899
+ channels: {
900
+ id: string;
901
+ gain: number;
902
+ mute: boolean;
903
+ }[];
904
+ }[];
905
+ }>, "many">;
906
+ connectionTypeSelected: z.ZodString;
907
+ }, "strip", z.ZodTypeAny, {
908
+ name: string;
909
+ enabled: boolean;
910
+ id: string;
911
+ connectionTypes: {
912
+ id: string;
913
+ signalingTypeSelected: string;
914
+ signalingTypes: {
915
+ id: string;
916
+ powerType: string;
917
+ channels: {
918
+ id: string;
919
+ gain: number;
920
+ mute: boolean;
921
+ }[];
922
+ }[];
923
+ }[];
924
+ connectionTypeSelected: string;
925
+ }, {
926
+ name: string;
927
+ enabled: boolean;
928
+ id: string;
929
+ connectionTypes: {
930
+ id: string;
931
+ signalingTypeSelected: string;
932
+ signalingTypes: {
933
+ id: string;
934
+ powerType: string;
935
+ channels: {
936
+ id: string;
937
+ gain: number;
938
+ mute: boolean;
939
+ }[];
940
+ }[];
941
+ }[];
942
+ connectionTypeSelected: string;
943
+ }>, "many">>;
944
+ outputs: z.ZodOptional<z.ZodArray<z.ZodObject<{
945
+ id: z.ZodString;
946
+ name: z.ZodString;
947
+ enabled: z.ZodBoolean;
948
+ connectionTypes: z.ZodArray<z.ZodObject<{
949
+ id: z.ZodString;
950
+ signalingTypeSelected: z.ZodString;
951
+ signalingTypes: z.ZodArray<z.ZodObject<{
952
+ id: z.ZodString;
953
+ powerType: z.ZodString;
954
+ channels: z.ZodArray<z.ZodObject<{
955
+ id: z.ZodString;
956
+ gain: z.ZodNumber;
957
+ mute: z.ZodBoolean;
958
+ }, "strip", z.ZodTypeAny, {
959
+ id: string;
960
+ gain: number;
961
+ mute: boolean;
962
+ }, {
963
+ id: string;
964
+ gain: number;
965
+ mute: boolean;
966
+ }>, "many">;
967
+ }, "strip", z.ZodTypeAny, {
968
+ id: string;
969
+ powerType: string;
970
+ channels: {
971
+ id: string;
972
+ gain: number;
973
+ mute: boolean;
974
+ }[];
975
+ }, {
976
+ id: string;
977
+ powerType: string;
978
+ channels: {
979
+ id: string;
980
+ gain: number;
981
+ mute: boolean;
982
+ }[];
983
+ }>, "many">;
984
+ }, "strip", z.ZodTypeAny, {
985
+ id: string;
986
+ signalingTypeSelected: string;
987
+ signalingTypes: {
988
+ id: string;
989
+ powerType: string;
990
+ channels: {
991
+ id: string;
992
+ gain: number;
993
+ mute: boolean;
994
+ }[];
995
+ }[];
996
+ }, {
997
+ id: string;
998
+ signalingTypeSelected: string;
999
+ signalingTypes: {
1000
+ id: string;
1001
+ powerType: string;
1002
+ channels: {
1003
+ id: string;
1004
+ gain: number;
1005
+ mute: boolean;
1006
+ }[];
1007
+ }[];
1008
+ }>, "many">;
1009
+ connectionTypeSelected: z.ZodString;
1010
+ }, "strip", z.ZodTypeAny, {
1011
+ name: string;
1012
+ enabled: boolean;
1013
+ id: string;
1014
+ connectionTypes: {
1015
+ id: string;
1016
+ signalingTypeSelected: string;
1017
+ signalingTypes: {
1018
+ id: string;
1019
+ powerType: string;
1020
+ channels: {
1021
+ id: string;
1022
+ gain: number;
1023
+ mute: boolean;
1024
+ }[];
1025
+ }[];
1026
+ }[];
1027
+ connectionTypeSelected: string;
1028
+ }, {
1029
+ name: string;
1030
+ enabled: boolean;
1031
+ id: string;
1032
+ connectionTypes: {
1033
+ id: string;
1034
+ signalingTypeSelected: string;
1035
+ signalingTypes: {
1036
+ id: string;
1037
+ powerType: string;
1038
+ channels: {
1039
+ id: string;
1040
+ gain: number;
1041
+ mute: boolean;
1042
+ }[];
1043
+ }[];
1044
+ }[];
1045
+ connectionTypeSelected: string;
1046
+ }>, "many">>;
1047
+ }, "strip", z.ZodTypeAny, {
1048
+ name: string;
1049
+ id: string;
1050
+ inputs?: {
1051
+ name: string;
1052
+ enabled: boolean;
1053
+ id: string;
1054
+ connectionTypes: {
1055
+ id: string;
1056
+ signalingTypeSelected: string;
1057
+ signalingTypes: {
1058
+ id: string;
1059
+ powerType: string;
1060
+ channels: {
1061
+ id: string;
1062
+ gain: number;
1063
+ mute: boolean;
1064
+ }[];
1065
+ }[];
1066
+ }[];
1067
+ connectionTypeSelected: string;
1068
+ }[] | undefined;
1069
+ outputs?: {
1070
+ name: string;
1071
+ enabled: boolean;
1072
+ id: string;
1073
+ connectionTypes: {
1074
+ id: string;
1075
+ signalingTypeSelected: string;
1076
+ signalingTypes: {
1077
+ id: string;
1078
+ powerType: string;
1079
+ channels: {
1080
+ id: string;
1081
+ gain: number;
1082
+ mute: boolean;
1083
+ }[];
1084
+ }[];
1085
+ }[];
1086
+ connectionTypeSelected: string;
1087
+ }[] | undefined;
1088
+ }, {
1089
+ name: string;
1090
+ id: string;
1091
+ inputs?: {
1092
+ name: string;
1093
+ enabled: boolean;
1094
+ id: string;
1095
+ connectionTypes: {
1096
+ id: string;
1097
+ signalingTypeSelected: string;
1098
+ signalingTypes: {
1099
+ id: string;
1100
+ powerType: string;
1101
+ channels: {
1102
+ id: string;
1103
+ gain: number;
1104
+ mute: boolean;
1105
+ }[];
1106
+ }[];
1107
+ }[];
1108
+ connectionTypeSelected: string;
1109
+ }[] | undefined;
1110
+ outputs?: {
1111
+ name: string;
1112
+ enabled: boolean;
1113
+ id: string;
1114
+ connectionTypes: {
1115
+ id: string;
1116
+ signalingTypeSelected: string;
1117
+ signalingTypes: {
1118
+ id: string;
1119
+ powerType: string;
1120
+ channels: {
1121
+ id: string;
1122
+ gain: number;
1123
+ mute: boolean;
1124
+ }[];
1125
+ }[];
1126
+ }[];
1127
+ connectionTypeSelected: string;
1128
+ }[] | undefined;
1129
+ }>;
1130
+ export declare const audioDeviceRequestSchema: z.ZodObject<{
1131
+ devices: z.ZodArray<z.ZodObject<{
1132
+ id: z.ZodString;
1133
+ name: z.ZodString;
1134
+ inputs: z.ZodOptional<z.ZodArray<z.ZodObject<{
1135
+ id: z.ZodString;
1136
+ name: z.ZodString;
1137
+ enabled: z.ZodBoolean;
1138
+ connectionTypes: z.ZodArray<z.ZodObject<{
1139
+ id: z.ZodString;
1140
+ signalingTypeSelected: z.ZodString;
1141
+ signalingTypes: z.ZodArray<z.ZodObject<{
1142
+ id: z.ZodString;
1143
+ powerType: z.ZodString;
1144
+ channels: z.ZodArray<z.ZodObject<{
1145
+ id: z.ZodString;
1146
+ gain: z.ZodNumber;
1147
+ mute: z.ZodBoolean;
1148
+ }, "strip", z.ZodTypeAny, {
1149
+ id: string;
1150
+ gain: number;
1151
+ mute: boolean;
1152
+ }, {
1153
+ id: string;
1154
+ gain: number;
1155
+ mute: boolean;
1156
+ }>, "many">;
1157
+ }, "strip", z.ZodTypeAny, {
1158
+ id: string;
1159
+ powerType: string;
1160
+ channels: {
1161
+ id: string;
1162
+ gain: number;
1163
+ mute: boolean;
1164
+ }[];
1165
+ }, {
1166
+ id: string;
1167
+ powerType: string;
1168
+ channels: {
1169
+ id: string;
1170
+ gain: number;
1171
+ mute: boolean;
1172
+ }[];
1173
+ }>, "many">;
1174
+ }, "strip", z.ZodTypeAny, {
1175
+ id: string;
1176
+ signalingTypeSelected: string;
1177
+ signalingTypes: {
1178
+ id: string;
1179
+ powerType: string;
1180
+ channels: {
1181
+ id: string;
1182
+ gain: number;
1183
+ mute: boolean;
1184
+ }[];
1185
+ }[];
1186
+ }, {
1187
+ id: string;
1188
+ signalingTypeSelected: string;
1189
+ signalingTypes: {
1190
+ id: string;
1191
+ powerType: string;
1192
+ channels: {
1193
+ id: string;
1194
+ gain: number;
1195
+ mute: boolean;
1196
+ }[];
1197
+ }[];
1198
+ }>, "many">;
1199
+ connectionTypeSelected: z.ZodString;
1200
+ }, "strip", z.ZodTypeAny, {
1201
+ name: string;
1202
+ enabled: boolean;
1203
+ id: string;
1204
+ connectionTypes: {
1205
+ id: string;
1206
+ signalingTypeSelected: string;
1207
+ signalingTypes: {
1208
+ id: string;
1209
+ powerType: string;
1210
+ channels: {
1211
+ id: string;
1212
+ gain: number;
1213
+ mute: boolean;
1214
+ }[];
1215
+ }[];
1216
+ }[];
1217
+ connectionTypeSelected: string;
1218
+ }, {
1219
+ name: string;
1220
+ enabled: boolean;
1221
+ id: string;
1222
+ connectionTypes: {
1223
+ id: string;
1224
+ signalingTypeSelected: string;
1225
+ signalingTypes: {
1226
+ id: string;
1227
+ powerType: string;
1228
+ channels: {
1229
+ id: string;
1230
+ gain: number;
1231
+ mute: boolean;
1232
+ }[];
1233
+ }[];
1234
+ }[];
1235
+ connectionTypeSelected: string;
1236
+ }>, "many">>;
1237
+ outputs: z.ZodOptional<z.ZodArray<z.ZodObject<{
1238
+ id: z.ZodString;
1239
+ name: z.ZodString;
1240
+ enabled: z.ZodBoolean;
1241
+ connectionTypes: z.ZodArray<z.ZodObject<{
1242
+ id: z.ZodString;
1243
+ signalingTypeSelected: z.ZodString;
1244
+ signalingTypes: z.ZodArray<z.ZodObject<{
1245
+ id: z.ZodString;
1246
+ powerType: z.ZodString;
1247
+ channels: z.ZodArray<z.ZodObject<{
1248
+ id: z.ZodString;
1249
+ gain: z.ZodNumber;
1250
+ mute: z.ZodBoolean;
1251
+ }, "strip", z.ZodTypeAny, {
1252
+ id: string;
1253
+ gain: number;
1254
+ mute: boolean;
1255
+ }, {
1256
+ id: string;
1257
+ gain: number;
1258
+ mute: boolean;
1259
+ }>, "many">;
1260
+ }, "strip", z.ZodTypeAny, {
1261
+ id: string;
1262
+ powerType: string;
1263
+ channels: {
1264
+ id: string;
1265
+ gain: number;
1266
+ mute: boolean;
1267
+ }[];
1268
+ }, {
1269
+ id: string;
1270
+ powerType: string;
1271
+ channels: {
1272
+ id: string;
1273
+ gain: number;
1274
+ mute: boolean;
1275
+ }[];
1276
+ }>, "many">;
1277
+ }, "strip", z.ZodTypeAny, {
1278
+ id: string;
1279
+ signalingTypeSelected: string;
1280
+ signalingTypes: {
1281
+ id: string;
1282
+ powerType: string;
1283
+ channels: {
1284
+ id: string;
1285
+ gain: number;
1286
+ mute: boolean;
1287
+ }[];
1288
+ }[];
1289
+ }, {
1290
+ id: string;
1291
+ signalingTypeSelected: string;
1292
+ signalingTypes: {
1293
+ id: string;
1294
+ powerType: string;
1295
+ channels: {
1296
+ id: string;
1297
+ gain: number;
1298
+ mute: boolean;
1299
+ }[];
1300
+ }[];
1301
+ }>, "many">;
1302
+ connectionTypeSelected: z.ZodString;
1303
+ }, "strip", z.ZodTypeAny, {
1304
+ name: string;
1305
+ enabled: boolean;
1306
+ id: string;
1307
+ connectionTypes: {
1308
+ id: string;
1309
+ signalingTypeSelected: string;
1310
+ signalingTypes: {
1311
+ id: string;
1312
+ powerType: string;
1313
+ channels: {
1314
+ id: string;
1315
+ gain: number;
1316
+ mute: boolean;
1317
+ }[];
1318
+ }[];
1319
+ }[];
1320
+ connectionTypeSelected: string;
1321
+ }, {
1322
+ name: string;
1323
+ enabled: boolean;
1324
+ id: string;
1325
+ connectionTypes: {
1326
+ id: string;
1327
+ signalingTypeSelected: string;
1328
+ signalingTypes: {
1329
+ id: string;
1330
+ powerType: string;
1331
+ channels: {
1332
+ id: string;
1333
+ gain: number;
1334
+ mute: boolean;
1335
+ }[];
1336
+ }[];
1337
+ }[];
1338
+ connectionTypeSelected: string;
1339
+ }>, "many">>;
1340
+ }, "strip", z.ZodTypeAny, {
1341
+ name: string;
1342
+ id: string;
1343
+ inputs?: {
1344
+ name: string;
1345
+ enabled: boolean;
1346
+ id: string;
1347
+ connectionTypes: {
1348
+ id: string;
1349
+ signalingTypeSelected: string;
1350
+ signalingTypes: {
1351
+ id: string;
1352
+ powerType: string;
1353
+ channels: {
1354
+ id: string;
1355
+ gain: number;
1356
+ mute: boolean;
1357
+ }[];
1358
+ }[];
1359
+ }[];
1360
+ connectionTypeSelected: string;
1361
+ }[] | undefined;
1362
+ outputs?: {
1363
+ name: string;
1364
+ enabled: boolean;
1365
+ id: string;
1366
+ connectionTypes: {
1367
+ id: string;
1368
+ signalingTypeSelected: string;
1369
+ signalingTypes: {
1370
+ id: string;
1371
+ powerType: string;
1372
+ channels: {
1373
+ id: string;
1374
+ gain: number;
1375
+ mute: boolean;
1376
+ }[];
1377
+ }[];
1378
+ }[];
1379
+ connectionTypeSelected: string;
1380
+ }[] | undefined;
1381
+ }, {
1382
+ name: string;
1383
+ id: string;
1384
+ inputs?: {
1385
+ name: string;
1386
+ enabled: boolean;
1387
+ id: string;
1388
+ connectionTypes: {
1389
+ id: string;
1390
+ signalingTypeSelected: string;
1391
+ signalingTypes: {
1392
+ id: string;
1393
+ powerType: string;
1394
+ channels: {
1395
+ id: string;
1396
+ gain: number;
1397
+ mute: boolean;
1398
+ }[];
1399
+ }[];
1400
+ }[];
1401
+ connectionTypeSelected: string;
1402
+ }[] | undefined;
1403
+ outputs?: {
1404
+ name: string;
1405
+ enabled: boolean;
1406
+ id: string;
1407
+ connectionTypes: {
1408
+ id: string;
1409
+ signalingTypeSelected: string;
1410
+ signalingTypes: {
1411
+ id: string;
1412
+ powerType: string;
1413
+ channels: {
1414
+ id: string;
1415
+ gain: number;
1416
+ mute: boolean;
1417
+ }[];
1418
+ }[];
1419
+ }[];
1420
+ connectionTypeSelected: string;
1421
+ }[] | undefined;
1422
+ }>, "many">;
1423
+ }, "strip", z.ZodTypeAny, {
1424
+ devices: {
1425
+ name: string;
1426
+ id: string;
1427
+ inputs?: {
1428
+ name: string;
1429
+ enabled: boolean;
1430
+ id: string;
1431
+ connectionTypes: {
1432
+ id: string;
1433
+ signalingTypeSelected: string;
1434
+ signalingTypes: {
1435
+ id: string;
1436
+ powerType: string;
1437
+ channels: {
1438
+ id: string;
1439
+ gain: number;
1440
+ mute: boolean;
1441
+ }[];
1442
+ }[];
1443
+ }[];
1444
+ connectionTypeSelected: string;
1445
+ }[] | undefined;
1446
+ outputs?: {
1447
+ name: string;
1448
+ enabled: boolean;
1449
+ id: string;
1450
+ connectionTypes: {
1451
+ id: string;
1452
+ signalingTypeSelected: string;
1453
+ signalingTypes: {
1454
+ id: string;
1455
+ powerType: string;
1456
+ channels: {
1457
+ id: string;
1458
+ gain: number;
1459
+ mute: boolean;
1460
+ }[];
1461
+ }[];
1462
+ }[];
1463
+ connectionTypeSelected: string;
1464
+ }[] | undefined;
1465
+ }[];
1466
+ }, {
1467
+ devices: {
1468
+ name: string;
1469
+ id: string;
1470
+ inputs?: {
1471
+ name: string;
1472
+ enabled: boolean;
1473
+ id: string;
1474
+ connectionTypes: {
1475
+ id: string;
1476
+ signalingTypeSelected: string;
1477
+ signalingTypes: {
1478
+ id: string;
1479
+ powerType: string;
1480
+ channels: {
1481
+ id: string;
1482
+ gain: number;
1483
+ mute: boolean;
1484
+ }[];
1485
+ }[];
1486
+ }[];
1487
+ connectionTypeSelected: string;
1488
+ }[] | undefined;
1489
+ outputs?: {
1490
+ name: string;
1491
+ enabled: boolean;
1492
+ id: string;
1493
+ connectionTypes: {
1494
+ id: string;
1495
+ signalingTypeSelected: string;
1496
+ signalingTypes: {
1497
+ id: string;
1498
+ powerType: string;
1499
+ channels: {
1500
+ id: string;
1501
+ gain: number;
1502
+ mute: boolean;
1503
+ }[];
1504
+ }[];
1505
+ }[];
1506
+ connectionTypeSelected: string;
1507
+ }[] | undefined;
1508
+ }[];
1509
+ }>;
1510
+ export type TAudioDeviceFromRequest = z.infer<typeof audioDeviceFromRequestSchema>;
1511
+ export declare const maxFpsResponseSchema: z.ZodObject<{
1512
+ data: z.ZodArray<z.ZodObject<{
1513
+ channel: z.ZodNumber;
1514
+ captureMode: z.ZodArray<z.ZodObject<{
1515
+ enabled: z.ZodBoolean;
1516
+ maxFPS: z.ZodOptional<z.ZodNumber>;
1517
+ }, "strip", z.ZodTypeAny, {
1518
+ enabled: boolean;
1519
+ maxFPS?: number | undefined;
1520
+ }, {
1521
+ enabled: boolean;
1522
+ maxFPS?: number | undefined;
1523
+ }>, "many">;
1524
+ }, "strip", z.ZodTypeAny, {
1525
+ channel: number;
1526
+ captureMode: {
1527
+ enabled: boolean;
1528
+ maxFPS?: number | undefined;
1529
+ }[];
1530
+ }, {
1531
+ channel: number;
1532
+ captureMode: {
1533
+ enabled: boolean;
1534
+ maxFPS?: number | undefined;
1535
+ }[];
1536
+ }>, "many">;
1537
+ }, "strip", z.ZodTypeAny, {
1538
+ data: {
1539
+ channel: number;
1540
+ captureMode: {
1541
+ enabled: boolean;
1542
+ maxFPS?: number | undefined;
1543
+ }[];
1544
+ }[];
1545
+ }, {
1546
+ data: {
1547
+ channel: number;
1548
+ captureMode: {
1549
+ enabled: boolean;
1550
+ maxFPS?: number | undefined;
1551
+ }[];
1552
+ }[];
1553
+ }>;
1554
+ export declare const dateTimeinfoSchema: z.ZodObject<{
1555
+ data: z.ZodObject<{
1556
+ dateTime: z.ZodString;
1557
+ dstEnabled: z.ZodBoolean;
1558
+ localDateTime: z.ZodString;
1559
+ posixTimeZone: z.ZodString;
1560
+ timeZone: z.ZodString;
1561
+ }, "strip", z.ZodTypeAny, {
1562
+ dateTime: string;
1563
+ dstEnabled: boolean;
1564
+ localDateTime: string;
1565
+ posixTimeZone: string;
1566
+ timeZone: string;
1567
+ }, {
1568
+ dateTime: string;
1569
+ dstEnabled: boolean;
1570
+ localDateTime: string;
1571
+ posixTimeZone: string;
1572
+ timeZone: string;
1573
+ }>;
1574
+ }, "strip", z.ZodTypeAny, {
1575
+ data: {
1576
+ dateTime: string;
1577
+ dstEnabled: boolean;
1578
+ localDateTime: string;
1579
+ posixTimeZone: string;
1580
+ timeZone: string;
1581
+ };
1582
+ }, {
1583
+ data: {
1584
+ dateTime: string;
1585
+ dstEnabled: boolean;
1586
+ localDateTime: string;
1587
+ posixTimeZone: string;
1588
+ timeZone: string;
1589
+ };
1590
+ }>;
1591
+ export declare const audioSampleRatesResponseSchema: z.ZodObject<{
1592
+ data: z.ZodObject<{
1593
+ encoders: z.ZodUnion<[z.ZodObject<{
1594
+ aac: z.ZodArray<z.ZodObject<{
1595
+ sample_rate: z.ZodNumber;
1596
+ bit_rates: z.ZodArray<z.ZodNumber, "many">;
1597
+ }, "strip", z.ZodTypeAny, {
1598
+ sample_rate: number;
1599
+ bit_rates: number[];
1600
+ }, {
1601
+ sample_rate: number;
1602
+ bit_rates: number[];
1603
+ }>, "many">;
1604
+ AAC: z.ZodUndefined;
1605
+ }, "strip", z.ZodTypeAny, {
1606
+ aac: {
1607
+ sample_rate: number;
1608
+ bit_rates: number[];
1609
+ }[];
1610
+ AAC?: undefined;
1611
+ }, {
1612
+ aac: {
1613
+ sample_rate: number;
1614
+ bit_rates: number[];
1615
+ }[];
1616
+ AAC?: undefined;
1617
+ }>, z.ZodObject<{
1618
+ AAC: z.ZodArray<z.ZodObject<{
1619
+ sample_rate: z.ZodNumber;
1620
+ bit_rates: z.ZodArray<z.ZodNumber, "many">;
1621
+ }, "strip", z.ZodTypeAny, {
1622
+ sample_rate: number;
1623
+ bit_rates: number[];
1624
+ }, {
1625
+ sample_rate: number;
1626
+ bit_rates: number[];
1627
+ }>, "many">;
1628
+ aac: z.ZodUndefined;
1629
+ }, "strip", z.ZodTypeAny, {
1630
+ AAC: {
1631
+ sample_rate: number;
1632
+ bit_rates: number[];
1633
+ }[];
1634
+ aac?: undefined;
1635
+ }, {
1636
+ AAC: {
1637
+ sample_rate: number;
1638
+ bit_rates: number[];
1639
+ }[];
1640
+ aac?: undefined;
1641
+ }>]>;
1642
+ }, "strip", z.ZodTypeAny, {
1643
+ encoders: {
1644
+ aac: {
1645
+ sample_rate: number;
1646
+ bit_rates: number[];
1647
+ }[];
1648
+ AAC?: undefined;
1649
+ } | {
1650
+ AAC: {
1651
+ sample_rate: number;
1652
+ bit_rates: number[];
1653
+ }[];
1654
+ aac?: undefined;
1655
+ };
1656
+ }, {
1657
+ encoders: {
1658
+ aac: {
1659
+ sample_rate: number;
1660
+ bit_rates: number[];
1661
+ }[];
1662
+ AAC?: undefined;
1663
+ } | {
1664
+ AAC: {
1665
+ sample_rate: number;
1666
+ bit_rates: number[];
1667
+ }[];
1668
+ aac?: undefined;
1669
+ };
1670
+ }>;
1671
+ }, "strip", z.ZodTypeAny, {
1672
+ data: {
1673
+ encoders: {
1674
+ aac: {
1675
+ sample_rate: number;
1676
+ bit_rates: number[];
1677
+ }[];
1678
+ AAC?: undefined;
1679
+ } | {
1680
+ AAC: {
1681
+ sample_rate: number;
1682
+ bit_rates: number[];
1683
+ }[];
1684
+ aac?: undefined;
1685
+ };
1686
+ };
1687
+ }, {
1688
+ data: {
1689
+ encoders: {
1690
+ aac: {
1691
+ sample_rate: number;
1692
+ bit_rates: number[];
1693
+ }[];
1694
+ AAC?: undefined;
1695
+ } | {
1696
+ AAC: {
1697
+ sample_rate: number;
1698
+ bit_rates: number[];
1699
+ }[];
1700
+ aac?: undefined;
1701
+ };
1702
+ };
1703
+ }>;
1704
+ export {};