camstreamerlib 4.0.0-beta.63 → 4.0.0-beta.65

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