camstreamerlib 4.0.0-beta.33 → 4.0.0-beta.35

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