camstreamerlib 4.0.36 → 5.0.0-54e362c

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 (110) hide show
  1. package/README.md +21 -2
  2. package/cjs/CamOverlayAPI.d.ts +223 -208
  3. package/cjs/CamStreamerAPI.d.ts +330 -311
  4. package/cjs/CamStreamerAPI.js +1 -1
  5. package/cjs/CamSwitcherAPI.d.ts +31 -30
  6. package/cjs/CamSwitcherAPI.js +2 -0
  7. package/cjs/PlaneTrackerAPI.d.ts +103 -40
  8. package/cjs/VapixAPI.d.ts +31 -17
  9. package/cjs/VapixAPI.js +1 -1
  10. package/cjs/errors/errors.d.ts +1 -1
  11. package/cjs/errors/errors.js +2 -2
  12. package/cjs/internal/versionCompare.d.ts +2 -2
  13. package/cjs/node/events/AxisCameraStationEvents.js +2 -1
  14. package/cjs/types/CamOverlayAPI/CamOverlayAPI.d.ts +477 -3812
  15. package/cjs/types/CamOverlayAPI/CamOverlayAPI.js +2 -2
  16. package/cjs/types/CamOverlayAPI/accuweatherSchema.d.ts +12 -67
  17. package/cjs/types/CamOverlayAPI/customGraphicsSchema.d.ts +40 -572
  18. package/cjs/types/CamOverlayAPI/htmlOverlaySchema.d.ts +6 -59
  19. package/cjs/types/CamOverlayAPI/htmlOverlaySchema.js +1 -1
  20. package/cjs/types/CamOverlayAPI/imagesSchema.d.ts +6 -75
  21. package/cjs/types/CamOverlayAPI/infotickerSchema.d.ts +11 -74
  22. package/cjs/types/CamOverlayAPI/pipSchema.d.ts +12 -97
  23. package/cjs/types/CamOverlayAPI/pipSchema.js +2 -2
  24. package/cjs/types/CamOverlayAPI/ptzCompassSchema.d.ts +12 -71
  25. package/cjs/types/CamOverlayAPI/ptzCompassSchema.js +1 -1
  26. package/cjs/types/CamOverlayAPI/ptzSchema.d.ts +8 -99
  27. package/cjs/types/CamOverlayAPI/scoreBoardSchema.d.ts +20 -254
  28. package/cjs/types/CamOverlayAPI/screenSharingSchema.d.ts +5 -43
  29. package/cjs/types/CamOverlayAPI/serviceCommonTypes.d.ts +15 -94
  30. package/cjs/types/CamOverlayAPI/webCameraSharingSchema.d.ts +5 -43
  31. package/cjs/types/CamScripterAPI.d.ts +11 -81
  32. package/cjs/types/CamStreamerAPI/CamStreamerAPI.d.ts +1409 -22709
  33. package/cjs/types/CamStreamerAPI/facebookSchema.d.ts +32 -509
  34. package/cjs/types/CamStreamerAPI/oldStreamSchema.d.ts +8 -143
  35. package/cjs/types/CamStreamerAPI/streamCommonTypes.d.ts +32 -493
  36. package/cjs/types/CamStreamerAPI/streamsSchema.d.ts +425 -7786
  37. package/cjs/types/CamStreamerAPI/windySchema.d.ts +36 -476
  38. package/cjs/types/CamStreamerAPI/youtubeSchema.d.ts +32 -487
  39. package/cjs/types/CamStreamerAPI/youtubeSchema.js +1 -1
  40. package/cjs/types/CamSwitcherAPI.d.ts +75 -700
  41. package/cjs/types/CamSwitcherAPI.js +1 -0
  42. package/cjs/types/GenetecAgent.d.ts +12 -132
  43. package/cjs/types/MilestoneAgent.d.ts +4 -46
  44. package/cjs/types/PlaneTrackerAPI.d.ts +266 -1188
  45. package/cjs/types/PlaneTrackerAPI.js +16 -6
  46. package/cjs/types/PlaneTrackerAPI.test.js +27 -0
  47. package/cjs/types/VapixAPI.d.ts +129 -1653
  48. package/cjs/types/VapixAPI.js +1 -1
  49. package/cjs/types/common.d.ts +11 -35
  50. package/cjs/types/common.js +1 -1
  51. package/cjs/types/ws/CamOverlayEvents.d.ts +9 -69
  52. package/cjs/types/ws/CamStreamerEvents.d.ts +19 -217
  53. package/cjs/types/ws/CamSwitcherEvents.d.ts +46 -452
  54. package/cjs/types/ws/PlaneTrackerEvents.d.ts +361 -3522
  55. package/cjs/types/ws/PlaneTrackerEvents.js +1 -1
  56. package/esm/CamStreamerAPI.js +1 -1
  57. package/esm/CamSwitcherAPI.js +2 -0
  58. package/esm/VapixAPI.js +1 -1
  59. package/esm/errors/errors.js +2 -2
  60. package/esm/node/events/AxisCameraStationEvents.js +2 -1
  61. package/esm/types/CamOverlayAPI/CamOverlayAPI.js +2 -2
  62. package/esm/types/CamOverlayAPI/htmlOverlaySchema.js +1 -1
  63. package/esm/types/CamOverlayAPI/pipSchema.js +2 -2
  64. package/esm/types/CamOverlayAPI/ptzCompassSchema.js +1 -1
  65. package/esm/types/CamStreamerAPI/youtubeSchema.js +1 -1
  66. package/esm/types/CamSwitcherAPI.js +1 -0
  67. package/esm/types/PlaneTrackerAPI.js +16 -6
  68. package/esm/types/PlaneTrackerAPI.test.js +27 -0
  69. package/esm/types/VapixAPI.js +1 -1
  70. package/esm/types/common.js +1 -1
  71. package/esm/types/ws/PlaneTrackerEvents.js +1 -1
  72. package/package.json +107 -107
  73. package/types/CamOverlayAPI.d.ts +223 -208
  74. package/types/CamStreamerAPI.d.ts +330 -311
  75. package/types/CamSwitcherAPI.d.ts +31 -30
  76. package/types/PlaneTrackerAPI.d.ts +103 -40
  77. package/types/VapixAPI.d.ts +31 -17
  78. package/types/errors/errors.d.ts +1 -1
  79. package/types/internal/versionCompare.d.ts +2 -2
  80. package/types/types/CamOverlayAPI/CamOverlayAPI.d.ts +477 -3812
  81. package/types/types/CamOverlayAPI/accuweatherSchema.d.ts +12 -67
  82. package/types/types/CamOverlayAPI/customGraphicsSchema.d.ts +40 -572
  83. package/types/types/CamOverlayAPI/htmlOverlaySchema.d.ts +6 -59
  84. package/types/types/CamOverlayAPI/imagesSchema.d.ts +6 -75
  85. package/types/types/CamOverlayAPI/infotickerSchema.d.ts +11 -74
  86. package/types/types/CamOverlayAPI/pipSchema.d.ts +12 -97
  87. package/types/types/CamOverlayAPI/ptzCompassSchema.d.ts +12 -71
  88. package/types/types/CamOverlayAPI/ptzSchema.d.ts +8 -99
  89. package/types/types/CamOverlayAPI/scoreBoardSchema.d.ts +20 -254
  90. package/types/types/CamOverlayAPI/screenSharingSchema.d.ts +5 -43
  91. package/types/types/CamOverlayAPI/serviceCommonTypes.d.ts +15 -94
  92. package/types/types/CamOverlayAPI/webCameraSharingSchema.d.ts +5 -43
  93. package/types/types/CamScripterAPI.d.ts +11 -81
  94. package/types/types/CamStreamerAPI/CamStreamerAPI.d.ts +1409 -22709
  95. package/types/types/CamStreamerAPI/facebookSchema.d.ts +32 -509
  96. package/types/types/CamStreamerAPI/oldStreamSchema.d.ts +8 -143
  97. package/types/types/CamStreamerAPI/streamCommonTypes.d.ts +32 -493
  98. package/types/types/CamStreamerAPI/streamsSchema.d.ts +425 -7786
  99. package/types/types/CamStreamerAPI/windySchema.d.ts +36 -476
  100. package/types/types/CamStreamerAPI/youtubeSchema.d.ts +32 -487
  101. package/types/types/CamSwitcherAPI.d.ts +75 -700
  102. package/types/types/GenetecAgent.d.ts +12 -132
  103. package/types/types/MilestoneAgent.d.ts +4 -46
  104. package/types/types/PlaneTrackerAPI.d.ts +266 -1188
  105. package/types/types/VapixAPI.d.ts +129 -1653
  106. package/types/types/common.d.ts +11 -35
  107. package/types/types/ws/CamOverlayEvents.d.ts +9 -69
  108. package/types/types/ws/CamStreamerEvents.d.ts +19 -217
  109. package/types/types/ws/CamSwitcherEvents.d.ts +46 -452
  110. package/types/types/ws/PlaneTrackerEvents.d.ts +361 -3522
@@ -1,63 +1,39 @@
1
1
  import { z } from 'zod';
2
- declare const channelTypeSchema: z.ZodUnion<[z.ZodLiteral<"audio">, z.ZodLiteral<"video">, z.ZodLiteral<"av">]>;
2
+ declare const channelTypeSchema: z.ZodUnion<readonly [z.ZodLiteral<"audio">, z.ZodLiteral<"video">, z.ZodLiteral<"av">]>;
3
3
  export type TChannelType = z.infer<typeof channelTypeSchema>;
4
- declare const playlistPlayTypeSchema: z.ZodUnion<[z.ZodLiteral<"PLAY_ALL">, z.ZodLiteral<"PLAY_ALL_LOOP">, z.ZodLiteral<"PLAY_ALL_SHUFFLED">, z.ZodLiteral<"PLAY_ALL_LOOP_SHUFFLED">, z.ZodLiteral<"PLAY_ONE_RANDOM">]>;
4
+ declare const playlistPlayTypeSchema: z.ZodUnion<readonly [z.ZodLiteral<"PLAY_ALL">, z.ZodLiteral<"PLAY_ALL_LOOP">, z.ZodLiteral<"PLAY_ALL_SHUFFLED">, z.ZodLiteral<"PLAY_ALL_LOOP_SHUFFLED">, z.ZodLiteral<"PLAY_ONE_RANDOM">]>;
5
5
  export type TPlaylistPlayType = z.infer<typeof playlistPlayTypeSchema>;
6
6
  export declare const storageInfoListSchema: z.ZodArray<z.ZodObject<{
7
- storage: z.ZodUnion<[z.ZodLiteral<"SD_DISK">, z.ZodLiteral<"FLASH">]>;
7
+ storage: z.ZodUnion<readonly [z.ZodLiteral<"SD_DISK">, z.ZodLiteral<"FLASH">]>;
8
8
  writable: z.ZodBoolean;
9
9
  size: z.ZodNumber;
10
10
  available: z.ZodNumber;
11
- }, "strip", z.ZodTypeAny, {
12
- size: number;
13
- storage: "FLASH" | "SD_DISK";
14
- writable: boolean;
15
- available: number;
16
- }, {
17
- size: number;
18
- storage: "FLASH" | "SD_DISK";
19
- writable: boolean;
20
- available: number;
21
- }>, "many">;
11
+ }, z.core.$strip>>;
22
12
  export type TStorageInfo = z.infer<typeof storageInfoListSchema>[number];
23
- export declare const outputInfoSchema: z.ZodEffects<z.ZodObject<{
13
+ export declare const outputInfoSchema: z.ZodPipe<z.ZodObject<{
24
14
  rtsp_url: z.ZodString;
25
15
  ws: z.ZodString;
26
16
  ws_initial_message: z.ZodString;
27
- }, "strip", z.ZodTypeAny, {
28
- ws: string;
29
- ws_initial_message: string;
30
- rtsp_url: string;
31
- }, {
32
- ws: string;
33
- ws_initial_message: string;
34
- rtsp_url: string;
35
- }>, {
17
+ }, z.core.$strip>, z.ZodTransform<{
18
+ rtspUrl: string;
36
19
  ws: string;
37
20
  wsInitialMessage: string;
38
- rtspUrl: string;
39
21
  }, {
22
+ rtsp_url: string;
40
23
  ws: string;
41
24
  ws_initial_message: string;
42
- rtsp_url: string;
43
- }>;
25
+ }>>;
44
26
  export type TOutputInfo = z.infer<typeof outputInfoSchema>;
45
- export declare const audioPushInfoSchema: z.ZodEffects<z.ZodObject<{
27
+ export declare const audioPushInfoSchema: z.ZodPipe<z.ZodObject<{
46
28
  ws: z.ZodString;
47
29
  ws_initial_message: z.ZodString;
48
- }, "strip", z.ZodTypeAny, {
49
- ws: string;
50
- ws_initial_message: string;
51
- }, {
52
- ws: string;
53
- ws_initial_message: string;
54
- }>, {
30
+ }, z.core.$strip>, z.ZodTransform<{
55
31
  ws: string;
56
32
  wsInitialMessage: string;
57
33
  }, {
58
34
  ws: string;
59
35
  ws_initial_message: string;
60
- }>;
36
+ }>>;
61
37
  export type TAudioPushInfo = z.infer<typeof audioPushInfoSchema>;
62
38
  declare const streamSaveSchema: z.ZodObject<{
63
39
  niceName: z.ZodString;
@@ -67,35 +43,11 @@ declare const streamSaveSchema: z.ZodObject<{
67
43
  enabled: z.ZodBoolean;
68
44
  auth: z.ZodString;
69
45
  query: z.ZodString;
70
- channel: z.ZodUnion<[z.ZodLiteral<"audio">, z.ZodLiteral<"video">, z.ZodLiteral<"av">]>;
46
+ channel: z.ZodUnion<readonly [z.ZodLiteral<"audio">, z.ZodLiteral<"video">, z.ZodLiteral<"av">]>;
71
47
  keyboard: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
72
48
  sortIndexOverview: z.ZodOptional<z.ZodNumber>;
73
49
  viewNumber: z.ZodNumber;
74
- }, "strip", z.ZodTypeAny, {
75
- ip: string;
76
- enabled: boolean;
77
- port: number;
78
- niceName: string;
79
- mdnsName: string;
80
- auth: string;
81
- query: string;
82
- channel: "video" | "audio" | "av";
83
- keyboard: Record<string, string | null>;
84
- viewNumber: number;
85
- sortIndexOverview?: number | undefined;
86
- }, {
87
- ip: string;
88
- enabled: boolean;
89
- port: number;
90
- niceName: string;
91
- mdnsName: string;
92
- auth: string;
93
- query: string;
94
- channel: "video" | "audio" | "av";
95
- keyboard: Record<string, string | null>;
96
- viewNumber: number;
97
- sortIndexOverview?: number | undefined;
98
- }>;
50
+ }, z.core.$strip>;
99
51
  export type TStreamSave = z.infer<typeof streamSaveSchema>;
100
52
  export type TStreamSaveList = Record<string, TStreamSave>;
101
53
  export declare const streamSaveLoadSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -106,79 +58,35 @@ export declare const streamSaveLoadSchema: z.ZodRecord<z.ZodString, z.ZodObject<
106
58
  enabled: z.ZodOptional<z.ZodBoolean>;
107
59
  auth: z.ZodOptional<z.ZodString>;
108
60
  query: z.ZodOptional<z.ZodString>;
109
- channel: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"audio">, z.ZodLiteral<"video">, z.ZodLiteral<"av">]>>;
61
+ channel: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"audio">, z.ZodLiteral<"video">, z.ZodLiteral<"av">]>>;
110
62
  keyboard: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>>;
111
63
  sortIndexOverview: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
112
64
  viewNumber: z.ZodOptional<z.ZodNumber>;
113
- }, "strip", z.ZodTypeAny, {
114
- ip?: string | undefined;
115
- enabled?: boolean | undefined;
116
- port?: number | undefined;
117
- niceName?: string | undefined;
118
- mdnsName?: string | undefined;
119
- auth?: string | undefined;
120
- query?: string | undefined;
121
- channel?: "video" | "audio" | "av" | undefined;
122
- keyboard?: Record<string, string | null> | undefined;
123
- sortIndexOverview?: number | undefined;
124
- viewNumber?: number | undefined;
125
- }, {
126
- ip?: string | undefined;
127
- enabled?: boolean | undefined;
128
- port?: number | undefined;
129
- niceName?: string | undefined;
130
- mdnsName?: string | undefined;
131
- auth?: string | undefined;
132
- query?: string | undefined;
133
- channel?: "video" | "audio" | "av" | undefined;
134
- keyboard?: Record<string, string | null> | undefined;
135
- sortIndexOverview?: number | undefined;
136
- viewNumber?: number | undefined;
137
- }>>;
65
+ }, z.core.$strip>>;
138
66
  export type TStreamSaveLoadList = z.infer<typeof streamSaveLoadSchema>;
139
67
  export declare const clipSaveSchema: z.ZodObject<{
140
68
  niceName: z.ZodString;
141
- channel: z.ZodUnion<[z.ZodLiteral<"audio">, z.ZodLiteral<"video">, z.ZodLiteral<"av">]>;
69
+ channel: z.ZodUnion<readonly [z.ZodLiteral<"audio">, z.ZodLiteral<"video">, z.ZodLiteral<"av">]>;
142
70
  keyboard: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
143
71
  sortIndexOverview: z.ZodNumber;
144
- }, "strip", z.ZodTypeAny, {
145
- niceName: string;
146
- channel: "video" | "audio" | "av";
147
- keyboard: Record<string, string | null>;
148
- sortIndexOverview: number;
149
- }, {
150
- niceName: string;
151
- channel: "video" | "audio" | "av";
152
- keyboard: Record<string, string | null>;
153
- sortIndexOverview: number;
154
- }>;
72
+ }, z.core.$strip>;
155
73
  export type TClipSave = z.infer<typeof clipSaveSchema>;
156
74
  export type TClipSaveList = Record<string, TClipSave>;
157
75
  export declare const clipSaveLoadSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
158
76
  niceName: z.ZodOptional<z.ZodString>;
159
- channel: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"audio">, z.ZodLiteral<"video">, z.ZodLiteral<"av">]>>;
77
+ channel: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"audio">, z.ZodLiteral<"video">, z.ZodLiteral<"av">]>>;
160
78
  keyboard: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>>;
161
79
  sortIndexOverview: z.ZodOptional<z.ZodNumber>;
162
- }, "strip", z.ZodTypeAny, {
163
- niceName?: string | undefined;
164
- channel?: "video" | "audio" | "av" | undefined;
165
- keyboard?: Record<string, string | null> | undefined;
166
- sortIndexOverview?: number | undefined;
167
- }, {
168
- niceName?: string | undefined;
169
- channel?: "video" | "audio" | "av" | undefined;
170
- keyboard?: Record<string, string | null> | undefined;
171
- sortIndexOverview?: number | undefined;
172
- }>>;
80
+ }, z.core.$strip>>;
173
81
  export type TClipSaveLoadList = z.infer<typeof clipSaveLoadSchema>;
174
82
  declare const playlistSaveSchema: z.ZodObject<{
175
- channel: z.ZodUnion<[z.ZodLiteral<"audio">, z.ZodLiteral<"video">, z.ZodLiteral<"av">]>;
83
+ channel: z.ZodUnion<readonly [z.ZodLiteral<"audio">, z.ZodLiteral<"video">, z.ZodLiteral<"av">]>;
176
84
  isFavourite: z.ZodBoolean;
177
85
  keyboard: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
178
86
  niceName: z.ZodString;
179
87
  sortIndexFavourite: z.ZodOptional<z.ZodNumber>;
180
88
  sortIndexOverview: z.ZodOptional<z.ZodNumber>;
181
- play_type: z.ZodUnion<[z.ZodLiteral<"PLAY_ALL">, z.ZodLiteral<"PLAY_ALL_LOOP">, z.ZodLiteral<"PLAY_ALL_SHUFFLED">, z.ZodLiteral<"PLAY_ALL_LOOP_SHUFFLED">, z.ZodLiteral<"PLAY_ONE_RANDOM">]>;
89
+ play_type: z.ZodUnion<readonly [z.ZodLiteral<"PLAY_ALL">, z.ZodLiteral<"PLAY_ALL_LOOP">, z.ZodLiteral<"PLAY_ALL_SHUFFLED">, z.ZodLiteral<"PLAY_ALL_LOOP_SHUFFLED">, z.ZodLiteral<"PLAY_ONE_RANDOM">]>;
182
90
  default: z.ZodOptional<z.ZodBoolean>;
183
91
  stream_list: z.ZodArray<z.ZodObject<{
184
92
  id: z.ZodString;
@@ -190,138 +98,26 @@ declare const playlistSaveSchema: z.ZodObject<{
190
98
  stream_name: z.ZodOptional<z.ZodString>;
191
99
  clip_name: z.ZodOptional<z.ZodString>;
192
100
  tracker_name: z.ZodOptional<z.ZodString>;
193
- storage: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"SD_DISK">, z.ZodLiteral<"FLASH">]>>;
194
- }, "strip", z.ZodTypeAny, {
195
- storage?: "FLASH" | "SD_DISK" | undefined;
196
- stream_name?: string | undefined;
197
- clip_name?: string | undefined;
198
- tracker_name?: string | undefined;
199
- }, {
200
- storage?: "FLASH" | "SD_DISK" | undefined;
201
- stream_name?: string | undefined;
202
- clip_name?: string | undefined;
203
- tracker_name?: string | undefined;
204
- }>;
101
+ storage: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"SD_DISK">, z.ZodLiteral<"FLASH">]>>;
102
+ }, z.core.$strip>;
205
103
  audio: z.ZodOptional<z.ZodObject<{
206
104
  stream_name: z.ZodOptional<z.ZodString>;
207
105
  clip_name: z.ZodOptional<z.ZodString>;
208
106
  tracker_name: z.ZodOptional<z.ZodString>;
209
- storage: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"SD_DISK">, z.ZodLiteral<"FLASH">]>>;
210
- }, "strip", z.ZodTypeAny, {
211
- storage?: "FLASH" | "SD_DISK" | undefined;
212
- stream_name?: string | undefined;
213
- clip_name?: string | undefined;
214
- tracker_name?: string | undefined;
215
- }, {
216
- storage?: "FLASH" | "SD_DISK" | undefined;
217
- stream_name?: string | undefined;
218
- clip_name?: string | undefined;
219
- tracker_name?: string | undefined;
220
- }>>;
221
- }, "strip", z.ZodTypeAny, {
222
- repeat: number;
223
- video: {
224
- storage?: "FLASH" | "SD_DISK" | undefined;
225
- stream_name?: string | undefined;
226
- clip_name?: string | undefined;
227
- tracker_name?: string | undefined;
228
- };
229
- id: string;
230
- isTimeoutCustom: boolean;
231
- ptz_preset_pos_name: string;
232
- timeout: number;
233
- audio?: {
234
- storage?: "FLASH" | "SD_DISK" | undefined;
235
- stream_name?: string | undefined;
236
- clip_name?: string | undefined;
237
- tracker_name?: string | undefined;
238
- } | undefined;
239
- }, {
240
- repeat: number;
241
- video: {
242
- storage?: "FLASH" | "SD_DISK" | undefined;
243
- stream_name?: string | undefined;
244
- clip_name?: string | undefined;
245
- tracker_name?: string | undefined;
246
- };
247
- id: string;
248
- isTimeoutCustom: boolean;
249
- ptz_preset_pos_name: string;
250
- timeout: number;
251
- audio?: {
252
- storage?: "FLASH" | "SD_DISK" | undefined;
253
- stream_name?: string | undefined;
254
- clip_name?: string | undefined;
255
- tracker_name?: string | undefined;
256
- } | undefined;
257
- }>, "many">;
258
- }, "strip", z.ZodTypeAny, {
259
- niceName: string;
260
- channel: "video" | "audio" | "av";
261
- keyboard: Record<string, string | null>;
262
- isFavourite: boolean;
263
- play_type: "PLAY_ALL" | "PLAY_ALL_LOOP" | "PLAY_ALL_SHUFFLED" | "PLAY_ALL_LOOP_SHUFFLED" | "PLAY_ONE_RANDOM";
264
- stream_list: {
265
- repeat: number;
266
- video: {
267
- storage?: "FLASH" | "SD_DISK" | undefined;
268
- stream_name?: string | undefined;
269
- clip_name?: string | undefined;
270
- tracker_name?: string | undefined;
271
- };
272
- id: string;
273
- isTimeoutCustom: boolean;
274
- ptz_preset_pos_name: string;
275
- timeout: number;
276
- audio?: {
277
- storage?: "FLASH" | "SD_DISK" | undefined;
278
- stream_name?: string | undefined;
279
- clip_name?: string | undefined;
280
- tracker_name?: string | undefined;
281
- } | undefined;
282
- }[];
283
- sortIndexOverview?: number | undefined;
284
- sortIndexFavourite?: number | undefined;
285
- default?: boolean | undefined;
286
- }, {
287
- niceName: string;
288
- channel: "video" | "audio" | "av";
289
- keyboard: Record<string, string | null>;
290
- isFavourite: boolean;
291
- play_type: "PLAY_ALL" | "PLAY_ALL_LOOP" | "PLAY_ALL_SHUFFLED" | "PLAY_ALL_LOOP_SHUFFLED" | "PLAY_ONE_RANDOM";
292
- stream_list: {
293
- repeat: number;
294
- video: {
295
- storage?: "FLASH" | "SD_DISK" | undefined;
296
- stream_name?: string | undefined;
297
- clip_name?: string | undefined;
298
- tracker_name?: string | undefined;
299
- };
300
- id: string;
301
- isTimeoutCustom: boolean;
302
- ptz_preset_pos_name: string;
303
- timeout: number;
304
- audio?: {
305
- storage?: "FLASH" | "SD_DISK" | undefined;
306
- stream_name?: string | undefined;
307
- clip_name?: string | undefined;
308
- tracker_name?: string | undefined;
309
- } | undefined;
310
- }[];
311
- sortIndexOverview?: number | undefined;
312
- sortIndexFavourite?: number | undefined;
313
- default?: boolean | undefined;
314
- }>;
107
+ storage: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"SD_DISK">, z.ZodLiteral<"FLASH">]>>;
108
+ }, z.core.$strip>>;
109
+ }, z.core.$strip>>;
110
+ }, z.core.$strip>;
315
111
  export type TPlaylistSave = z.infer<typeof playlistSaveSchema>;
316
112
  export type TPlaylistSaveList = Record<string, TPlaylistSave>;
317
113
  export declare const playlistSaveLoadSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
318
- channel: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"audio">, z.ZodLiteral<"video">, z.ZodLiteral<"av">]>>;
114
+ channel: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"audio">, z.ZodLiteral<"video">, z.ZodLiteral<"av">]>>;
319
115
  isFavourite: z.ZodOptional<z.ZodBoolean>;
320
116
  keyboard: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>>;
321
117
  niceName: z.ZodOptional<z.ZodString>;
322
118
  sortIndexFavourite: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
323
119
  sortIndexOverview: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
324
- play_type: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"PLAY_ALL">, z.ZodLiteral<"PLAY_ALL_LOOP">, z.ZodLiteral<"PLAY_ALL_SHUFFLED">, z.ZodLiteral<"PLAY_ALL_LOOP_SHUFFLED">, z.ZodLiteral<"PLAY_ONE_RANDOM">]>>;
120
+ play_type: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"PLAY_ALL">, z.ZodLiteral<"PLAY_ALL_LOOP">, z.ZodLiteral<"PLAY_ALL_SHUFFLED">, z.ZodLiteral<"PLAY_ALL_LOOP_SHUFFLED">, z.ZodLiteral<"PLAY_ONE_RANDOM">]>>;
325
121
  default: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
326
122
  stream_list: z.ZodOptional<z.ZodArray<z.ZodObject<{
327
123
  id: z.ZodString;
@@ -333,128 +129,16 @@ export declare const playlistSaveLoadSchema: z.ZodRecord<z.ZodString, z.ZodObjec
333
129
  stream_name: z.ZodOptional<z.ZodString>;
334
130
  clip_name: z.ZodOptional<z.ZodString>;
335
131
  tracker_name: z.ZodOptional<z.ZodString>;
336
- storage: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"SD_DISK">, z.ZodLiteral<"FLASH">]>>;
337
- }, "strip", z.ZodTypeAny, {
338
- storage?: "FLASH" | "SD_DISK" | undefined;
339
- stream_name?: string | undefined;
340
- clip_name?: string | undefined;
341
- tracker_name?: string | undefined;
342
- }, {
343
- storage?: "FLASH" | "SD_DISK" | undefined;
344
- stream_name?: string | undefined;
345
- clip_name?: string | undefined;
346
- tracker_name?: string | undefined;
347
- }>;
132
+ storage: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"SD_DISK">, z.ZodLiteral<"FLASH">]>>;
133
+ }, z.core.$strip>;
348
134
  audio: z.ZodOptional<z.ZodObject<{
349
135
  stream_name: z.ZodOptional<z.ZodString>;
350
136
  clip_name: z.ZodOptional<z.ZodString>;
351
137
  tracker_name: z.ZodOptional<z.ZodString>;
352
- storage: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"SD_DISK">, z.ZodLiteral<"FLASH">]>>;
353
- }, "strip", z.ZodTypeAny, {
354
- storage?: "FLASH" | "SD_DISK" | undefined;
355
- stream_name?: string | undefined;
356
- clip_name?: string | undefined;
357
- tracker_name?: string | undefined;
358
- }, {
359
- storage?: "FLASH" | "SD_DISK" | undefined;
360
- stream_name?: string | undefined;
361
- clip_name?: string | undefined;
362
- tracker_name?: string | undefined;
363
- }>>;
364
- }, "strip", z.ZodTypeAny, {
365
- repeat: number;
366
- video: {
367
- storage?: "FLASH" | "SD_DISK" | undefined;
368
- stream_name?: string | undefined;
369
- clip_name?: string | undefined;
370
- tracker_name?: string | undefined;
371
- };
372
- id: string;
373
- isTimeoutCustom: boolean;
374
- ptz_preset_pos_name: string;
375
- timeout: number;
376
- audio?: {
377
- storage?: "FLASH" | "SD_DISK" | undefined;
378
- stream_name?: string | undefined;
379
- clip_name?: string | undefined;
380
- tracker_name?: string | undefined;
381
- } | undefined;
382
- }, {
383
- repeat: number;
384
- video: {
385
- storage?: "FLASH" | "SD_DISK" | undefined;
386
- stream_name?: string | undefined;
387
- clip_name?: string | undefined;
388
- tracker_name?: string | undefined;
389
- };
390
- id: string;
391
- isTimeoutCustom: boolean;
392
- ptz_preset_pos_name: string;
393
- timeout: number;
394
- audio?: {
395
- storage?: "FLASH" | "SD_DISK" | undefined;
396
- stream_name?: string | undefined;
397
- clip_name?: string | undefined;
398
- tracker_name?: string | undefined;
399
- } | undefined;
400
- }>, "many">>;
401
- }, "strip", z.ZodTypeAny, {
402
- niceName?: string | undefined;
403
- channel?: "video" | "audio" | "av" | undefined;
404
- keyboard?: Record<string, string | null> | undefined;
405
- sortIndexOverview?: number | undefined;
406
- isFavourite?: boolean | undefined;
407
- sortIndexFavourite?: number | undefined;
408
- play_type?: "PLAY_ALL" | "PLAY_ALL_LOOP" | "PLAY_ALL_SHUFFLED" | "PLAY_ALL_LOOP_SHUFFLED" | "PLAY_ONE_RANDOM" | undefined;
409
- default?: boolean | undefined;
410
- stream_list?: {
411
- repeat: number;
412
- video: {
413
- storage?: "FLASH" | "SD_DISK" | undefined;
414
- stream_name?: string | undefined;
415
- clip_name?: string | undefined;
416
- tracker_name?: string | undefined;
417
- };
418
- id: string;
419
- isTimeoutCustom: boolean;
420
- ptz_preset_pos_name: string;
421
- timeout: number;
422
- audio?: {
423
- storage?: "FLASH" | "SD_DISK" | undefined;
424
- stream_name?: string | undefined;
425
- clip_name?: string | undefined;
426
- tracker_name?: string | undefined;
427
- } | undefined;
428
- }[] | undefined;
429
- }, {
430
- niceName?: string | undefined;
431
- channel?: "video" | "audio" | "av" | undefined;
432
- keyboard?: Record<string, string | null> | undefined;
433
- sortIndexOverview?: number | undefined;
434
- isFavourite?: boolean | undefined;
435
- sortIndexFavourite?: number | undefined;
436
- play_type?: "PLAY_ALL" | "PLAY_ALL_LOOP" | "PLAY_ALL_SHUFFLED" | "PLAY_ALL_LOOP_SHUFFLED" | "PLAY_ONE_RANDOM" | undefined;
437
- default?: boolean | undefined;
438
- stream_list?: {
439
- repeat: number;
440
- video: {
441
- storage?: "FLASH" | "SD_DISK" | undefined;
442
- stream_name?: string | undefined;
443
- clip_name?: string | undefined;
444
- tracker_name?: string | undefined;
445
- };
446
- id: string;
447
- isTimeoutCustom: boolean;
448
- ptz_preset_pos_name: string;
449
- timeout: number;
450
- audio?: {
451
- storage?: "FLASH" | "SD_DISK" | undefined;
452
- stream_name?: string | undefined;
453
- clip_name?: string | undefined;
454
- tracker_name?: string | undefined;
455
- } | undefined;
456
- }[] | undefined;
457
- }>>;
138
+ storage: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"SD_DISK">, z.ZodLiteral<"FLASH">]>>;
139
+ }, z.core.$strip>>;
140
+ }, z.core.$strip>>>;
141
+ }, z.core.$strip>>;
458
142
  export type TPlaylistSaveLoadList = z.infer<typeof playlistSaveLoadSchema>;
459
143
  export type TPlaylistStreamSave = TPlaylistSave['stream_list'][number];
460
144
  export declare const trackerSaveSchema: z.ZodObject<{
@@ -463,87 +147,25 @@ export declare const trackerSaveSchema: z.ZodObject<{
463
147
  previewId: z.ZodString;
464
148
  duration: z.ZodNumber;
465
149
  keyboard: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
466
- channel: z.ZodUnion<[z.ZodLiteral<"audio">, z.ZodLiteral<"video">, z.ZodLiteral<"av">]>;
150
+ channel: z.ZodUnion<readonly [z.ZodLiteral<"audio">, z.ZodLiteral<"video">, z.ZodLiteral<"av">]>;
467
151
  sortIndexOverview: z.ZodNumber;
468
152
  width: z.ZodNumber;
469
153
  height: z.ZodNumber;
470
154
  fps: z.ZodNumber;
471
155
  motion_history_frames: z.ZodNumber;
472
- include_zone: z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">;
473
- include_node_ids: z.ZodArray<z.ZodString, "many">;
156
+ include_zone: z.ZodArray<z.ZodArray<z.ZodNumber>>;
157
+ include_node_ids: z.ZodArray<z.ZodString>;
474
158
  camera_list: z.ZodArray<z.ZodObject<{
475
159
  id: z.ZodString;
476
160
  name: z.ZodString;
477
161
  overview: z.ZodBoolean;
478
- zone: z.ZodArray<z.ZodNumber, "many">;
162
+ zone: z.ZodArray<z.ZodNumber>;
479
163
  playlist_name: z.ZodString;
480
164
  ptz_preset_pos_no: z.ZodNumber;
481
- }, "strip", z.ZodTypeAny, {
482
- name: string;
483
- id: string;
484
- overview: boolean;
485
- zone: number[];
486
- playlist_name: string;
487
- ptz_preset_pos_no: number;
488
- }, {
489
- name: string;
490
- id: string;
491
- overview: boolean;
492
- zone: number[];
493
- playlist_name: string;
494
- ptz_preset_pos_no: number;
495
- }>, "many">;
165
+ }, z.core.$strip>>;
496
166
  viewNumber: z.ZodNumber;
497
167
  camera_view_number: z.ZodNumber;
498
- }, "strip", z.ZodTypeAny, {
499
- name: string;
500
- fps: number;
501
- id: string;
502
- width: number;
503
- height: number;
504
- duration: number;
505
- channel: "video" | "audio" | "av";
506
- keyboard: Record<string, string | null>;
507
- sortIndexOverview: number;
508
- viewNumber: number;
509
- previewId: string;
510
- motion_history_frames: number;
511
- include_zone: number[][];
512
- include_node_ids: string[];
513
- camera_list: {
514
- name: string;
515
- id: string;
516
- overview: boolean;
517
- zone: number[];
518
- playlist_name: string;
519
- ptz_preset_pos_no: number;
520
- }[];
521
- camera_view_number: number;
522
- }, {
523
- name: string;
524
- fps: number;
525
- id: string;
526
- width: number;
527
- height: number;
528
- duration: number;
529
- channel: "video" | "audio" | "av";
530
- keyboard: Record<string, string | null>;
531
- sortIndexOverview: number;
532
- viewNumber: number;
533
- previewId: string;
534
- motion_history_frames: number;
535
- include_zone: number[][];
536
- include_node_ids: string[];
537
- camera_list: {
538
- name: string;
539
- id: string;
540
- overview: boolean;
541
- zone: number[];
542
- playlist_name: string;
543
- ptz_preset_pos_no: number;
544
- }[];
545
- camera_view_number: number;
546
- }>;
168
+ }, z.core.$strip>;
547
169
  export type TTrackerSave = z.infer<typeof trackerSaveSchema>;
548
170
  export type TTrackerSaveList = Record<string, TTrackerSave>;
549
171
  export declare const trackerSaveLoadSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -552,347 +174,100 @@ export declare const trackerSaveLoadSchema: z.ZodRecord<z.ZodString, z.ZodObject
552
174
  previewId: z.ZodOptional<z.ZodString>;
553
175
  duration: z.ZodOptional<z.ZodNumber>;
554
176
  keyboard: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>>;
555
- channel: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"audio">, z.ZodLiteral<"video">, z.ZodLiteral<"av">]>>;
177
+ channel: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"audio">, z.ZodLiteral<"video">, z.ZodLiteral<"av">]>>;
556
178
  sortIndexOverview: z.ZodOptional<z.ZodNumber>;
557
179
  width: z.ZodOptional<z.ZodNumber>;
558
180
  height: z.ZodOptional<z.ZodNumber>;
559
181
  fps: z.ZodOptional<z.ZodNumber>;
560
182
  motion_history_frames: z.ZodOptional<z.ZodNumber>;
561
- include_zone: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodNumber, "many">, "many">>;
562
- include_node_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
183
+ include_zone: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodNumber>>>;
184
+ include_node_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
563
185
  camera_list: z.ZodOptional<z.ZodArray<z.ZodObject<{
564
186
  id: z.ZodString;
565
187
  name: z.ZodString;
566
188
  overview: z.ZodBoolean;
567
- zone: z.ZodArray<z.ZodNumber, "many">;
189
+ zone: z.ZodArray<z.ZodNumber>;
568
190
  playlist_name: z.ZodString;
569
191
  ptz_preset_pos_no: z.ZodNumber;
570
- }, "strip", z.ZodTypeAny, {
571
- name: string;
572
- id: string;
573
- overview: boolean;
574
- zone: number[];
575
- playlist_name: string;
576
- ptz_preset_pos_no: number;
577
- }, {
578
- name: string;
579
- id: string;
580
- overview: boolean;
581
- zone: number[];
582
- playlist_name: string;
583
- ptz_preset_pos_no: number;
584
- }>, "many">>;
192
+ }, z.core.$strip>>>;
585
193
  viewNumber: z.ZodOptional<z.ZodNumber>;
586
194
  camera_view_number: z.ZodOptional<z.ZodNumber>;
587
- }, "strip", z.ZodTypeAny, {
588
- name?: string | undefined;
589
- fps?: number | undefined;
590
- id?: string | undefined;
591
- width?: number | undefined;
592
- height?: number | undefined;
593
- duration?: number | undefined;
594
- channel?: "video" | "audio" | "av" | undefined;
595
- keyboard?: Record<string, string | null> | undefined;
596
- sortIndexOverview?: number | undefined;
597
- viewNumber?: number | undefined;
598
- previewId?: string | undefined;
599
- motion_history_frames?: number | undefined;
600
- include_zone?: number[][] | undefined;
601
- include_node_ids?: string[] | undefined;
602
- camera_list?: {
603
- name: string;
604
- id: string;
605
- overview: boolean;
606
- zone: number[];
607
- playlist_name: string;
608
- ptz_preset_pos_no: number;
609
- }[] | undefined;
610
- camera_view_number?: number | undefined;
611
- }, {
612
- name?: string | undefined;
613
- fps?: number | undefined;
614
- id?: string | undefined;
615
- width?: number | undefined;
616
- height?: number | undefined;
617
- duration?: number | undefined;
618
- channel?: "video" | "audio" | "av" | undefined;
619
- keyboard?: Record<string, string | null> | undefined;
620
- sortIndexOverview?: number | undefined;
621
- viewNumber?: number | undefined;
622
- previewId?: string | undefined;
623
- motion_history_frames?: number | undefined;
624
- include_zone?: number[][] | undefined;
625
- include_node_ids?: string[] | undefined;
626
- camera_list?: {
627
- name: string;
628
- id: string;
629
- overview: boolean;
630
- zone: number[];
631
- playlist_name: string;
632
- ptz_preset_pos_no: number;
633
- }[] | undefined;
634
- camera_view_number?: number | undefined;
635
- }>>;
195
+ }, z.core.$strip>>;
636
196
  export type TrackerSaveLoadList = z.infer<typeof trackerSaveLoadSchema>;
637
197
  export type TTrackerSaveCameraItem = TTrackerSave['camera_list'][number];
638
- export declare const playlistQueueSchema: z.ZodEffects<z.ZodObject<{
639
- playlist_queue_list: z.ZodArray<z.ZodString, "many">;
640
- }, "strip", z.ZodTypeAny, {
641
- playlist_queue_list: string[];
642
- }, {
643
- playlist_queue_list: string[];
644
- }>, {
198
+ export declare const playlistQueueSchema: z.ZodPipe<z.ZodObject<{
199
+ playlist_queue_list: z.ZodArray<z.ZodString>;
200
+ }, z.core.$strip>, z.ZodTransform<{
645
201
  playlistQueueList: string[];
646
202
  }, {
647
203
  playlist_queue_list: string[];
648
- }>;
204
+ }>>;
649
205
  export declare const clipListSchema: z.ZodObject<{
650
206
  clip_list: z.ZodRecord<z.ZodString, z.ZodObject<{
651
- storage: z.ZodUnion<[z.ZodLiteral<"SD_DISK">, z.ZodLiteral<"FLASH">]>;
207
+ storage: z.ZodUnion<readonly [z.ZodLiteral<"SD_DISK">, z.ZodLiteral<"FLASH">]>;
652
208
  duration: z.ZodNumber;
653
- stream_list: z.ZodArray<z.ZodUnion<[z.ZodObject<{
209
+ stream_list: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
654
210
  type: z.ZodLiteral<"video">;
655
211
  width: z.ZodNumber;
656
212
  height: z.ZodNumber;
657
213
  sample_rate: z.ZodNumber;
658
- h264_profile: z.ZodUnion<[z.ZodLiteral<"high">, z.ZodLiteral<"main">, z.ZodLiteral<"baseline">]>;
214
+ h264_profile: z.ZodUnion<readonly [z.ZodLiteral<"high">, z.ZodLiteral<"main">, z.ZodLiteral<"baseline">]>;
659
215
  h264_level: z.ZodLiteral<"4.1">;
660
216
  gop: z.ZodNumber;
661
217
  fps: z.ZodNumber;
662
218
  bitrate: z.ZodNumber;
663
- }, "strip", z.ZodTypeAny, {
664
- type: "video";
665
- fps: number;
666
- width: number;
667
- height: number;
668
- sample_rate: number;
669
- h264_profile: "high" | "main" | "baseline";
670
- h264_level: "4.1";
671
- gop: number;
672
- bitrate: number;
673
- }, {
674
- type: "video";
675
- fps: number;
676
- width: number;
677
- height: number;
678
- sample_rate: number;
679
- h264_profile: "high" | "main" | "baseline";
680
- h264_level: "4.1";
681
- gop: number;
682
- bitrate: number;
683
- }>, z.ZodObject<{
219
+ }, z.core.$strip>, z.ZodObject<{
684
220
  type: z.ZodLiteral<"audio">;
685
221
  sample_rate: z.ZodNumber;
686
- channel_count: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>]>;
687
- }, "strip", z.ZodTypeAny, {
688
- type: "audio";
689
- sample_rate: number;
690
- channel_count: 1 | 2;
691
- }, {
692
- type: "audio";
693
- sample_rate: number;
694
- channel_count: 1 | 2;
695
- }>]>, "many">;
696
- }, "strip", z.ZodTypeAny, {
697
- storage: "FLASH" | "SD_DISK";
698
- duration: number;
699
- stream_list: ({
700
- type: "video";
701
- fps: number;
702
- width: number;
703
- height: number;
704
- sample_rate: number;
705
- h264_profile: "high" | "main" | "baseline";
706
- h264_level: "4.1";
707
- gop: number;
708
- bitrate: number;
709
- } | {
710
- type: "audio";
711
- sample_rate: number;
712
- channel_count: 1 | 2;
713
- })[];
714
- }, {
715
- storage: "FLASH" | "SD_DISK";
716
- duration: number;
717
- stream_list: ({
718
- type: "video";
719
- fps: number;
720
- width: number;
721
- height: number;
722
- sample_rate: number;
723
- h264_profile: "high" | "main" | "baseline";
724
- h264_level: "4.1";
725
- gop: number;
726
- bitrate: number;
727
- } | {
728
- type: "audio";
729
- sample_rate: number;
730
- channel_count: 1 | 2;
731
- })[];
732
- }>>;
733
- }, "strip", z.ZodTypeAny, {
734
- clip_list: Record<string, {
735
- storage: "FLASH" | "SD_DISK";
736
- duration: number;
737
- stream_list: ({
738
- type: "video";
739
- fps: number;
740
- width: number;
741
- height: number;
742
- sample_rate: number;
743
- h264_profile: "high" | "main" | "baseline";
744
- h264_level: "4.1";
745
- gop: number;
746
- bitrate: number;
747
- } | {
748
- type: "audio";
749
- sample_rate: number;
750
- channel_count: 1 | 2;
751
- })[];
752
- }>;
753
- }, {
754
- clip_list: Record<string, {
755
- storage: "FLASH" | "SD_DISK";
756
- duration: number;
757
- stream_list: ({
758
- type: "video";
759
- fps: number;
760
- width: number;
761
- height: number;
762
- sample_rate: number;
763
- h264_profile: "high" | "main" | "baseline";
764
- h264_level: "4.1";
765
- gop: number;
766
- bitrate: number;
767
- } | {
768
- type: "audio";
769
- sample_rate: number;
770
- channel_count: 1 | 2;
771
- })[];
772
- }>;
773
- }>;
222
+ channel_count: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>;
223
+ }, z.core.$strip>]>>;
224
+ }, z.core.$strip>>;
225
+ }, z.core.$strip>;
774
226
  export type TClipList = z.infer<typeof clipListSchema>['clip_list'];
775
227
  export declare const cameraOptionsSchema: z.ZodObject<{
776
- bitrateMode: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"VBR">, z.ZodLiteral<"MBR">, z.ZodLiteral<"ABR">]>>;
228
+ bitrateMode: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"VBR">, z.ZodLiteral<"MBR">, z.ZodLiteral<"ABR">]>>;
777
229
  maximumBitRate: z.ZodOptional<z.ZodNumber>;
778
230
  retentionTime: z.ZodOptional<z.ZodNumber>;
779
231
  bitRateLimit: z.ZodOptional<z.ZodNumber>;
780
232
  resolution: z.ZodOptional<z.ZodString>;
781
- h264Profile: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"high">, z.ZodLiteral<"main">, z.ZodLiteral<"baseline">]>>;
233
+ h264Profile: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"high">, z.ZodLiteral<"main">, z.ZodLiteral<"baseline">]>>;
782
234
  fps: z.ZodOptional<z.ZodNumber>;
783
235
  compression: z.ZodOptional<z.ZodNumber>;
784
236
  govLength: z.ZodOptional<z.ZodNumber>;
785
237
  bitrateVapixParams: z.ZodOptional<z.ZodNullable<z.ZodString>>;
786
238
  audioSampleRate: z.ZodOptional<z.ZodNumber>;
787
- audioChannelCount: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
239
+ audioChannelCount: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>]>>;
240
+ audioBitrate: z.ZodOptional<z.ZodNumber>;
788
241
  keyboard: z.ZodOptional<z.ZodObject<{
789
242
  fromSource: z.ZodNullable<z.ZodString>;
790
243
  none: z.ZodNullable<z.ZodString>;
791
- }, "strip", z.ZodTypeAny, {
792
- none: string | null;
793
- fromSource: string | null;
794
- }, {
795
- none: string | null;
796
- fromSource: string | null;
797
- }>>;
798
- }, "strip", z.ZodTypeAny, {
799
- resolution?: string | undefined;
800
- compression?: number | undefined;
801
- bitrateMode?: "VBR" | "MBR" | "ABR" | undefined;
802
- maximumBitRate?: number | undefined;
803
- retentionTime?: number | undefined;
804
- bitRateLimit?: number | undefined;
805
- fps?: number | undefined;
806
- govLength?: number | undefined;
807
- h264Profile?: "high" | "main" | "baseline" | undefined;
808
- keyboard?: {
809
- none: string | null;
810
- fromSource: string | null;
811
- } | undefined;
812
- bitrateVapixParams?: string | null | undefined;
813
- audioSampleRate?: number | undefined;
814
- audioChannelCount?: 1 | 2 | undefined;
815
- }, {
816
- resolution?: string | undefined;
817
- compression?: number | undefined;
818
- bitrateMode?: "VBR" | "MBR" | "ABR" | undefined;
819
- maximumBitRate?: number | undefined;
820
- retentionTime?: number | undefined;
821
- bitRateLimit?: number | undefined;
822
- fps?: number | undefined;
823
- govLength?: number | undefined;
824
- h264Profile?: "high" | "main" | "baseline" | undefined;
825
- keyboard?: {
826
- none: string | null;
827
- fromSource: string | null;
828
- } | undefined;
829
- bitrateVapixParams?: string | null | undefined;
830
- audioSampleRate?: number | undefined;
831
- audioChannelCount?: 1 | 2 | undefined;
832
- }>;
244
+ }, z.core.$strip>>;
245
+ }, z.core.$strip>;
833
246
  export type TCameraOptions = z.infer<typeof cameraOptionsSchema>;
834
- export declare const globalAudioSettingsTypeSchema: z.ZodUnion<[z.ZodLiteral<"fromSource">, z.ZodLiteral<"source">]>;
247
+ export declare const globalAudioSettingsTypeSchema: z.ZodUnion<readonly [z.ZodLiteral<"fromSource">, z.ZodLiteral<"source">]>;
835
248
  export declare const globalAudioSettingsSchema: z.ZodObject<{
836
- type: z.ZodUnion<[z.ZodLiteral<"fromSource">, z.ZodLiteral<"source">]>;
249
+ type: z.ZodUnion<readonly [z.ZodLiteral<"fromSource">, z.ZodLiteral<"source">]>;
837
250
  source: z.ZodString;
838
251
  storage: z.ZodOptional<z.ZodString>;
839
- }, "strip", z.ZodTypeAny, {
840
- type: "source" | "fromSource";
841
- source: string;
842
- storage?: string | undefined;
843
- }, {
844
- type: "source" | "fromSource";
845
- source: string;
846
- storage?: string | undefined;
847
- }>;
252
+ }, z.core.$strip>;
848
253
  export type TGlobalAudioSettingsType = z.infer<typeof globalAudioSettingsTypeSchema>;
849
254
  export type TGlobalAudioSettings = z.infer<typeof globalAudioSettingsSchema>;
850
255
  export type TAudioMixerSource = 'microphone' | 'secondary';
851
256
  export declare const secondaryAudioSettingsSchema: z.ZodObject<{
852
- type: z.ZodUnion<[z.ZodLiteral<"CLIP">, z.ZodLiteral<"STREAM">, z.ZodLiteral<"NONE">]>;
257
+ type: z.ZodUnion<readonly [z.ZodLiteral<"CLIP">, z.ZodLiteral<"STREAM">, z.ZodLiteral<"NONE">]>;
853
258
  streamName: z.ZodOptional<z.ZodString>;
854
259
  clipName: z.ZodOptional<z.ZodString>;
855
- storage: z.ZodUnion<[z.ZodLiteral<"SD_DISK">, z.ZodLiteral<"FLASH">]>;
260
+ storage: z.ZodUnion<readonly [z.ZodLiteral<"SD_DISK">, z.ZodLiteral<"FLASH">]>;
856
261
  secondaryAudioLevel: z.ZodNumber;
857
262
  masterAudioLevel: z.ZodNumber;
858
- }, "strip", z.ZodTypeAny, {
859
- type: "CLIP" | "STREAM" | "NONE";
860
- storage: "FLASH" | "SD_DISK";
861
- secondaryAudioLevel: number;
862
- masterAudioLevel: number;
863
- streamName?: string | undefined;
864
- clipName?: string | undefined;
865
- }, {
866
- type: "CLIP" | "STREAM" | "NONE";
867
- storage: "FLASH" | "SD_DISK";
868
- secondaryAudioLevel: number;
869
- masterAudioLevel: number;
870
- streamName?: string | undefined;
871
- clipName?: string | undefined;
872
- }>;
263
+ }, z.core.$strip>;
873
264
  export type TSecondaryAudioSettings = z.infer<typeof secondaryAudioSettingsSchema>;
874
265
  export declare const clipFilesListSchema: z.ZodObject<{
875
266
  status: z.ZodNumber;
876
267
  message: z.ZodString;
877
268
  data: z.ZodObject<{
878
- files: z.ZodArray<z.ZodString, "many">;
879
- }, "strip", z.ZodTypeAny, {
880
- files: string[];
881
- }, {
882
- files: string[];
883
- }>;
884
- }, "strip", z.ZodTypeAny, {
885
- status: number;
886
- message: string;
887
- data: {
888
- files: string[];
889
- };
890
- }, {
891
- status: number;
892
- message: string;
893
- data: {
894
- files: string[];
895
- };
896
- }>;
269
+ files: z.ZodArray<z.ZodString>;
270
+ }, z.core.$strip>;
271
+ }, z.core.$strip>;
897
272
  export type TClipFilesList = z.infer<typeof clipFilesListSchema>;
898
273
  export {};