@awarevue/api-types 2.0.81 → 2.0.83

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 (131) hide show
  1. package/dist/alarm-automation.d.ts +21 -37
  2. package/dist/api/agent-protocol/protocol.d.ts +1473 -10468
  3. package/dist/api/agent-protocol/protocol.js +16 -12
  4. package/dist/api/commands/alarm.d.ts +40 -248
  5. package/dist/api/commands/all.d.ts +393 -4642
  6. package/dist/api/commands/camera-lift.d.ts +8 -32
  7. package/dist/api/commands/camera.d.ts +82 -373
  8. package/dist/api/commands/display.d.ts +21 -373
  9. package/dist/api/commands/door.d.ts +16 -64
  10. package/dist/api/commands/io-board.d.ts +4 -40
  11. package/dist/api/commands/nvr-exporter.d.ts +104 -1380
  12. package/dist/api/commands/nvr-recorder.d.ts +400 -5288
  13. package/dist/api/commands/pbx.d.ts +4 -56
  14. package/dist/api/commands/presence-tracker.d.ts +12 -128
  15. package/dist/api/commands/server.d.ts +114 -1382
  16. package/dist/api/commands/server.js +1 -1
  17. package/dist/api/error.d.ts +77 -443
  18. package/dist/api/error.js +1 -1
  19. package/dist/api/events/alarm.d.ts +20 -148
  20. package/dist/api/events/all.d.ts +74 -526
  21. package/dist/api/events/all.js +1 -1
  22. package/dist/api/events/camera.d.ts +46 -470
  23. package/dist/api/events/display.d.ts +1 -5
  24. package/dist/api/events/door.d.ts +34 -146
  25. package/dist/api/events/intercom-terminal.d.ts +22 -42
  26. package/dist/api/events/io-board.d.ts +2 -18
  27. package/dist/api/events/nvr-exporter.d.ts +4 -32
  28. package/dist/api/events/panic-button.d.ts +2 -10
  29. package/dist/api/events/presence-tracker.d.ts +4 -88
  30. package/dist/api/events/reader.d.ts +2 -22
  31. package/dist/api/events/server.d.ts +6 -34
  32. package/dist/api/mqtt/payloads.d.ts +4 -26
  33. package/dist/api/queries/all.d.ts +188 -1622
  34. package/dist/api/queries/nvr-analytics-server.d.ts +61 -373
  35. package/dist/api/queries/nvr-exporter.d.ts +9 -73
  36. package/dist/api/queries/nvr-recorder.d.ts +300 -2828
  37. package/dist/api/rest/access-rule.d.ts +10 -86
  38. package/dist/api/rest/agreement.d.ts +3 -18
  39. package/dist/api/rest/api-keys.d.ts +3 -17
  40. package/dist/api/rest/app.d.ts +3 -51
  41. package/dist/api/rest/auth.d.ts +3 -19
  42. package/dist/api/rest/automation.d.ts +11 -236
  43. package/dist/api/rest/bookmarks.d.ts +8 -56
  44. package/dist/api/rest/camera.d.ts +12 -70
  45. package/dist/api/rest/cast.d.ts +1 -7
  46. package/dist/api/rest/custom-field.d.ts +21 -24
  47. package/dist/api/rest/device-group.d.ts +8 -32
  48. package/dist/api/rest/device.d.ts +104 -176
  49. package/dist/api/rest/io-device.d.ts +7 -75
  50. package/dist/api/rest/io-device.js +2 -2
  51. package/dist/api/rest/layout.d.ts +4 -102
  52. package/dist/api/rest/macros.d.ts +6 -82
  53. package/dist/api/rest/media.d.ts +17 -141
  54. package/dist/api/rest/notifications.d.ts +7 -15
  55. package/dist/api/rest/person-agreement.d.ts +1 -9
  56. package/dist/api/rest/person-presence.d.ts +8 -50
  57. package/dist/api/rest/person-type.d.ts +6 -39
  58. package/dist/api/rest/person.d.ts +18 -96
  59. package/dist/api/rest/query.d.ts +5 -15
  60. package/dist/api/rest/schedule.d.ts +78 -216
  61. package/dist/api/rest/security-level.d.ts +6 -43
  62. package/dist/api/rest/template.d.ts +10 -20
  63. package/dist/api/rest/token-conversion.d.ts +11 -28
  64. package/dist/api/rest/user.d.ts +15 -97
  65. package/dist/api/rest/view.d.ts +24 -496
  66. package/dist/api/rest/webrtc-playback.d.ts +3 -25
  67. package/dist/api/rest/zone.d.ts +5 -21
  68. package/dist/api/ws/device-communication.d.ts +10 -62
  69. package/dist/api/ws/notifications.d.ts +7 -33
  70. package/dist/api/ws/progress.d.ts +10 -72
  71. package/dist/api/ws/web-rtc-signaling.d.ts +33 -279
  72. package/dist/objects/access-rule.d.ts +12 -132
  73. package/dist/objects/access-rule.js +1 -1
  74. package/dist/objects/agent-metadata.d.ts +38 -146
  75. package/dist/objects/agent-metadata.js +1 -1
  76. package/dist/objects/agreement.d.ts +1 -13
  77. package/dist/objects/all.d.ts +20 -1
  78. package/dist/objects/api-key.d.ts +1 -13
  79. package/dist/objects/automation-rule.d.ts +9 -168
  80. package/dist/objects/automation-rule.js +2 -2
  81. package/dist/objects/bookmark.d.ts +3 -33
  82. package/dist/objects/bookmark.js +1 -1
  83. package/dist/objects/credential.d.ts +13 -13
  84. package/dist/objects/credential.js +1 -1
  85. package/dist/objects/custom-field.d.ts +19 -15
  86. package/dist/objects/device/alarm.d.ts +1 -1
  87. package/dist/objects/device/any-device.d.ts +1333 -4451
  88. package/dist/objects/device/camera-lift.d.ts +1 -1
  89. package/dist/objects/device/camera.d.ts +29 -125
  90. package/dist/objects/device/camera.js +1 -1
  91. package/dist/objects/device/device-import.d.ts +307 -1735
  92. package/dist/objects/device/device-relation.d.ts +70 -58
  93. package/dist/objects/device/display.d.ts +1 -1
  94. package/dist/objects/device/door.d.ts +9 -14
  95. package/dist/objects/device/intercom-terminal.d.ts +10 -59
  96. package/dist/objects/device/io-board.d.ts +3 -9
  97. package/dist/objects/device/motion-sensor.d.ts +1 -1
  98. package/dist/objects/device/nvr-analytics-server.d.ts +2 -6
  99. package/dist/objects/device/nvr-exporter.d.ts +3 -9
  100. package/dist/objects/device/nvr-recorder.d.ts +16 -68
  101. package/dist/objects/device/panic-button.d.ts +1 -1
  102. package/dist/objects/device/pbx.d.ts +1 -5
  103. package/dist/objects/device/system.d.ts +1 -1
  104. package/dist/objects/device/system.js +1 -1
  105. package/dist/objects/device-group.d.ts +2 -16
  106. package/dist/objects/layout.d.ts +3 -75
  107. package/dist/objects/macro.d.ts +3 -59
  108. package/dist/objects/macro.js +2 -2
  109. package/dist/objects/notification.d.ts +6 -24
  110. package/dist/objects/notification.js +1 -1
  111. package/dist/objects/person-agreement.d.ts +1 -13
  112. package/dist/objects/person-presence.d.ts +11 -165
  113. package/dist/objects/person-type.d.ts +2 -22
  114. package/dist/objects/person.d.ts +21 -153
  115. package/dist/objects/person.js +3 -3
  116. package/dist/objects/role.d.ts +3 -15
  117. package/dist/objects/schedule.d.ts +152 -314
  118. package/dist/objects/schedule.js +1 -1
  119. package/dist/objects/security-level.d.ts +1 -21
  120. package/dist/objects/template.d.ts +9 -13
  121. package/dist/objects/token-conversion.d.ts +8 -18
  122. package/dist/objects/user.d.ts +2 -20
  123. package/dist/objects/view.d.ts +52 -682
  124. package/dist/objects/world-object.d.ts +1 -7
  125. package/dist/objects/zone.d.ts +5 -29
  126. package/dist/objects/zone.js +1 -1
  127. package/dist/package.json +3 -3
  128. package/dist/permissions.d.ts +1 -1
  129. package/dist/primitives.d.ts +113 -551
  130. package/dist/primitives.js +1 -1
  131. package/package.json +3 -3
@@ -3,26 +3,12 @@ export declare const sLayoutArea: z.ZodObject<{
3
3
  area: z.ZodString;
4
4
  type: z.ZodLiteral<"layout">;
5
5
  layoutId: z.ZodString;
6
- }, "strip", z.ZodTypeAny, {
7
- type: "layout";
8
- area: string;
9
- layoutId: string;
10
- }, {
11
- type: "layout";
12
- area: string;
13
- layoutId: string;
14
- }>;
6
+ }, z.core.$strip>;
15
7
  export type LayoutArea = z.infer<typeof sLayoutArea>;
16
8
  export declare const sLayoutSelectorArea: z.ZodObject<{
17
9
  area: z.ZodString;
18
10
  type: z.ZodLiteral<"layoutSelector">;
19
- }, "strip", z.ZodTypeAny, {
20
- type: "layoutSelector";
21
- area: string;
22
- }, {
23
- type: "layoutSelector";
24
- area: string;
25
- }>;
11
+ }, z.core.$strip>;
26
12
  export type LayoutSelectorArea = z.infer<typeof sLayoutSelectorArea>;
27
13
  export declare const sDeviceArea: z.ZodObject<{
28
14
  area: z.ZodString;
@@ -30,59 +16,19 @@ export declare const sDeviceArea: z.ZodObject<{
30
16
  deviceId: z.ZodString;
31
17
  streamId: z.ZodOptional<z.ZodString>;
32
18
  fullscreenStreamId: z.ZodOptional<z.ZodString>;
33
- }, "strip", z.ZodTypeAny, {
34
- type: "device";
35
- deviceId: string;
36
- area: string;
37
- streamId?: string | undefined;
38
- fullscreenStreamId?: string | undefined;
39
- }, {
40
- type: "device";
41
- deviceId: string;
42
- area: string;
43
- streamId?: string | undefined;
44
- fullscreenStreamId?: string | undefined;
45
- }>;
19
+ }, z.core.$strip>;
46
20
  export type DeviceArea = z.infer<typeof sDeviceArea>;
47
21
  export declare const sDeviceCarouselArea: z.ZodObject<{
48
22
  area: z.ZodString;
49
23
  type: z.ZodLiteral<"deviceCarousel">;
50
- deviceIds: z.ZodArray<z.ZodString, "many">;
24
+ deviceIds: z.ZodArray<z.ZodString>;
51
25
  streams: z.ZodOptional<z.ZodArray<z.ZodObject<{
52
26
  deviceId: z.ZodString;
53
27
  streamId: z.ZodString;
54
28
  fullscreenStreamId: z.ZodOptional<z.ZodString>;
55
- }, "strip", z.ZodTypeAny, {
56
- deviceId: string;
57
- streamId: string;
58
- fullscreenStreamId?: string | undefined;
59
- }, {
60
- deviceId: string;
61
- streamId: string;
62
- fullscreenStreamId?: string | undefined;
63
- }>, "many">>;
29
+ }, z.core.$strip>>>;
64
30
  timeIntervalMs: z.ZodNumber;
65
- }, "strip", z.ZodTypeAny, {
66
- type: "deviceCarousel";
67
- area: string;
68
- deviceIds: string[];
69
- timeIntervalMs: number;
70
- streams?: {
71
- deviceId: string;
72
- streamId: string;
73
- fullscreenStreamId?: string | undefined;
74
- }[] | undefined;
75
- }, {
76
- type: "deviceCarousel";
77
- area: string;
78
- deviceIds: string[];
79
- timeIntervalMs: number;
80
- streams?: {
81
- deviceId: string;
82
- streamId: string;
83
- fullscreenStreamId?: string | undefined;
84
- }[] | undefined;
85
- }>;
31
+ }, z.core.$strip>;
86
32
  export type DeviceCarouselArea = z.infer<typeof sDeviceCarouselArea>;
87
33
  export declare const sPlaybackTrackArea: z.ZodObject<{
88
34
  area: z.ZodString;
@@ -91,532 +37,124 @@ export declare const sPlaybackTrackArea: z.ZodObject<{
91
37
  source: z.ZodObject<{
92
38
  deviceId: z.ZodString;
93
39
  streamId: z.ZodString;
94
- }, "strip", z.ZodTypeAny, {
95
- deviceId: string;
96
- streamId: string;
97
- }, {
98
- deviceId: string;
99
- streamId: string;
100
- }>;
101
- }, "strip", z.ZodTypeAny, {
102
- type: "playbackTrack";
103
- area: string;
104
- controllerId: string;
105
- source: {
106
- deviceId: string;
107
- streamId: string;
108
- };
109
- }, {
110
- type: "playbackTrack";
111
- area: string;
112
- controllerId: string;
113
- source: {
114
- deviceId: string;
115
- streamId: string;
116
- };
117
- }>;
40
+ }, z.core.$strip>;
41
+ }, z.core.$strip>;
118
42
  export type PlaybackTrackArea = z.infer<typeof sPlaybackTrackArea>;
119
43
  export type ViewAreaContents = LayoutArea | LayoutSelectorArea | DeviceArea | DeviceCarouselArea | PlaybackTrackArea;
120
- export declare const sViewAreaContents: z.ZodUnion<[z.ZodObject<{
44
+ export declare const sViewAreaContents: z.ZodUnion<readonly [z.ZodObject<{
121
45
  area: z.ZodString;
122
46
  type: z.ZodLiteral<"layout">;
123
47
  layoutId: z.ZodString;
124
- }, "strip", z.ZodTypeAny, {
125
- type: "layout";
126
- area: string;
127
- layoutId: string;
128
- }, {
129
- type: "layout";
130
- area: string;
131
- layoutId: string;
132
- }>, z.ZodObject<{
48
+ }, z.core.$strip>, z.ZodObject<{
133
49
  area: z.ZodString;
134
50
  type: z.ZodLiteral<"layoutSelector">;
135
- }, "strip", z.ZodTypeAny, {
136
- type: "layoutSelector";
137
- area: string;
138
- }, {
139
- type: "layoutSelector";
140
- area: string;
141
- }>, z.ZodObject<{
51
+ }, z.core.$strip>, z.ZodObject<{
142
52
  area: z.ZodString;
143
53
  type: z.ZodLiteral<"device">;
144
54
  deviceId: z.ZodString;
145
55
  streamId: z.ZodOptional<z.ZodString>;
146
56
  fullscreenStreamId: z.ZodOptional<z.ZodString>;
147
- }, "strip", z.ZodTypeAny, {
148
- type: "device";
149
- deviceId: string;
150
- area: string;
151
- streamId?: string | undefined;
152
- fullscreenStreamId?: string | undefined;
153
- }, {
154
- type: "device";
155
- deviceId: string;
156
- area: string;
157
- streamId?: string | undefined;
158
- fullscreenStreamId?: string | undefined;
159
- }>, z.ZodObject<{
57
+ }, z.core.$strip>, z.ZodObject<{
160
58
  area: z.ZodString;
161
59
  type: z.ZodLiteral<"deviceCarousel">;
162
- deviceIds: z.ZodArray<z.ZodString, "many">;
60
+ deviceIds: z.ZodArray<z.ZodString>;
163
61
  streams: z.ZodOptional<z.ZodArray<z.ZodObject<{
164
62
  deviceId: z.ZodString;
165
63
  streamId: z.ZodString;
166
64
  fullscreenStreamId: z.ZodOptional<z.ZodString>;
167
- }, "strip", z.ZodTypeAny, {
168
- deviceId: string;
169
- streamId: string;
170
- fullscreenStreamId?: string | undefined;
171
- }, {
172
- deviceId: string;
173
- streamId: string;
174
- fullscreenStreamId?: string | undefined;
175
- }>, "many">>;
65
+ }, z.core.$strip>>>;
176
66
  timeIntervalMs: z.ZodNumber;
177
- }, "strip", z.ZodTypeAny, {
178
- type: "deviceCarousel";
179
- area: string;
180
- deviceIds: string[];
181
- timeIntervalMs: number;
182
- streams?: {
183
- deviceId: string;
184
- streamId: string;
185
- fullscreenStreamId?: string | undefined;
186
- }[] | undefined;
187
- }, {
188
- type: "deviceCarousel";
189
- area: string;
190
- deviceIds: string[];
191
- timeIntervalMs: number;
192
- streams?: {
193
- deviceId: string;
194
- streamId: string;
195
- fullscreenStreamId?: string | undefined;
196
- }[] | undefined;
197
- }>, z.ZodObject<{
67
+ }, z.core.$strip>, z.ZodObject<{
198
68
  area: z.ZodString;
199
69
  type: z.ZodLiteral<"playbackTrack">;
200
70
  controllerId: z.ZodString;
201
71
  source: z.ZodObject<{
202
72
  deviceId: z.ZodString;
203
73
  streamId: z.ZodString;
204
- }, "strip", z.ZodTypeAny, {
205
- deviceId: string;
206
- streamId: string;
207
- }, {
208
- deviceId: string;
209
- streamId: string;
210
- }>;
211
- }, "strip", z.ZodTypeAny, {
212
- type: "playbackTrack";
213
- area: string;
214
- controllerId: string;
215
- source: {
216
- deviceId: string;
217
- streamId: string;
218
- };
219
- }, {
220
- type: "playbackTrack";
221
- area: string;
222
- controllerId: string;
223
- source: {
224
- deviceId: string;
225
- streamId: string;
226
- };
227
- }>]>;
74
+ }, z.core.$strip>;
75
+ }, z.core.$strip>]>;
228
76
  export declare const sViewConfig: z.ZodObject<{
229
77
  rows: z.ZodNumber;
230
78
  columns: z.ZodNumber;
231
- areas: z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">;
79
+ areas: z.ZodArray<z.ZodArray<z.ZodString>>;
232
80
  hotspotArea: z.ZodOptional<z.ZodString>;
233
- contents: z.ZodArray<z.ZodUnion<[z.ZodObject<{
81
+ contents: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
234
82
  area: z.ZodString;
235
83
  type: z.ZodLiteral<"layout">;
236
84
  layoutId: z.ZodString;
237
- }, "strip", z.ZodTypeAny, {
238
- type: "layout";
239
- area: string;
240
- layoutId: string;
241
- }, {
242
- type: "layout";
243
- area: string;
244
- layoutId: string;
245
- }>, z.ZodObject<{
85
+ }, z.core.$strip>, z.ZodObject<{
246
86
  area: z.ZodString;
247
87
  type: z.ZodLiteral<"layoutSelector">;
248
- }, "strip", z.ZodTypeAny, {
249
- type: "layoutSelector";
250
- area: string;
251
- }, {
252
- type: "layoutSelector";
253
- area: string;
254
- }>, z.ZodObject<{
88
+ }, z.core.$strip>, z.ZodObject<{
255
89
  area: z.ZodString;
256
90
  type: z.ZodLiteral<"device">;
257
91
  deviceId: z.ZodString;
258
92
  streamId: z.ZodOptional<z.ZodString>;
259
93
  fullscreenStreamId: z.ZodOptional<z.ZodString>;
260
- }, "strip", z.ZodTypeAny, {
261
- type: "device";
262
- deviceId: string;
263
- area: string;
264
- streamId?: string | undefined;
265
- fullscreenStreamId?: string | undefined;
266
- }, {
267
- type: "device";
268
- deviceId: string;
269
- area: string;
270
- streamId?: string | undefined;
271
- fullscreenStreamId?: string | undefined;
272
- }>, z.ZodObject<{
94
+ }, z.core.$strip>, z.ZodObject<{
273
95
  area: z.ZodString;
274
96
  type: z.ZodLiteral<"deviceCarousel">;
275
- deviceIds: z.ZodArray<z.ZodString, "many">;
97
+ deviceIds: z.ZodArray<z.ZodString>;
276
98
  streams: z.ZodOptional<z.ZodArray<z.ZodObject<{
277
99
  deviceId: z.ZodString;
278
100
  streamId: z.ZodString;
279
101
  fullscreenStreamId: z.ZodOptional<z.ZodString>;
280
- }, "strip", z.ZodTypeAny, {
281
- deviceId: string;
282
- streamId: string;
283
- fullscreenStreamId?: string | undefined;
284
- }, {
285
- deviceId: string;
286
- streamId: string;
287
- fullscreenStreamId?: string | undefined;
288
- }>, "many">>;
102
+ }, z.core.$strip>>>;
289
103
  timeIntervalMs: z.ZodNumber;
290
- }, "strip", z.ZodTypeAny, {
291
- type: "deviceCarousel";
292
- area: string;
293
- deviceIds: string[];
294
- timeIntervalMs: number;
295
- streams?: {
296
- deviceId: string;
297
- streamId: string;
298
- fullscreenStreamId?: string | undefined;
299
- }[] | undefined;
300
- }, {
301
- type: "deviceCarousel";
302
- area: string;
303
- deviceIds: string[];
304
- timeIntervalMs: number;
305
- streams?: {
306
- deviceId: string;
307
- streamId: string;
308
- fullscreenStreamId?: string | undefined;
309
- }[] | undefined;
310
- }>, z.ZodObject<{
104
+ }, z.core.$strip>, z.ZodObject<{
311
105
  area: z.ZodString;
312
106
  type: z.ZodLiteral<"playbackTrack">;
313
107
  controllerId: z.ZodString;
314
108
  source: z.ZodObject<{
315
109
  deviceId: z.ZodString;
316
110
  streamId: z.ZodString;
317
- }, "strip", z.ZodTypeAny, {
318
- deviceId: string;
319
- streamId: string;
320
- }, {
321
- deviceId: string;
322
- streamId: string;
323
- }>;
324
- }, "strip", z.ZodTypeAny, {
325
- type: "playbackTrack";
326
- area: string;
327
- controllerId: string;
328
- source: {
329
- deviceId: string;
330
- streamId: string;
331
- };
332
- }, {
333
- type: "playbackTrack";
334
- area: string;
335
- controllerId: string;
336
- source: {
337
- deviceId: string;
338
- streamId: string;
339
- };
340
- }>]>, "many">;
341
- }, "strip", z.ZodTypeAny, {
342
- rows: number;
343
- columns: number;
344
- areas: string[][];
345
- contents: ({
346
- type: "layout";
347
- area: string;
348
- layoutId: string;
349
- } | {
350
- type: "layoutSelector";
351
- area: string;
352
- } | {
353
- type: "device";
354
- deviceId: string;
355
- area: string;
356
- streamId?: string | undefined;
357
- fullscreenStreamId?: string | undefined;
358
- } | {
359
- type: "deviceCarousel";
360
- area: string;
361
- deviceIds: string[];
362
- timeIntervalMs: number;
363
- streams?: {
364
- deviceId: string;
365
- streamId: string;
366
- fullscreenStreamId?: string | undefined;
367
- }[] | undefined;
368
- } | {
369
- type: "playbackTrack";
370
- area: string;
371
- controllerId: string;
372
- source: {
373
- deviceId: string;
374
- streamId: string;
375
- };
376
- })[];
377
- hotspotArea?: string | undefined;
378
- }, {
379
- rows: number;
380
- columns: number;
381
- areas: string[][];
382
- contents: ({
383
- type: "layout";
384
- area: string;
385
- layoutId: string;
386
- } | {
387
- type: "layoutSelector";
388
- area: string;
389
- } | {
390
- type: "device";
391
- deviceId: string;
392
- area: string;
393
- streamId?: string | undefined;
394
- fullscreenStreamId?: string | undefined;
395
- } | {
396
- type: "deviceCarousel";
397
- area: string;
398
- deviceIds: string[];
399
- timeIntervalMs: number;
400
- streams?: {
401
- deviceId: string;
402
- streamId: string;
403
- fullscreenStreamId?: string | undefined;
404
- }[] | undefined;
405
- } | {
406
- type: "playbackTrack";
407
- area: string;
408
- controllerId: string;
409
- source: {
410
- deviceId: string;
411
- streamId: string;
412
- };
413
- })[];
414
- hotspotArea?: string | undefined;
415
- }>;
111
+ }, z.core.$strip>;
112
+ }, z.core.$strip>]>>;
113
+ }, z.core.$strip>;
416
114
  export type ViewConfig = z.infer<typeof sViewConfig>;
417
115
  export declare const sViewInfo: z.ZodIntersection<z.ZodObject<{
418
116
  name: z.ZodString;
419
117
  order: z.ZodNumber;
420
118
  isPublic: z.ZodBoolean;
421
119
  isDefault: z.ZodBoolean;
422
- }, "strip", z.ZodTypeAny, {
423
- name: string;
424
- order: number;
425
- isDefault: boolean;
426
- isPublic: boolean;
427
- }, {
428
- name: string;
429
- order: number;
430
- isDefault: boolean;
431
- isPublic: boolean;
432
- }>, z.ZodObject<{
120
+ }, z.core.$strip>, z.ZodObject<{
433
121
  rows: z.ZodNumber;
434
122
  columns: z.ZodNumber;
435
- areas: z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">;
123
+ areas: z.ZodArray<z.ZodArray<z.ZodString>>;
436
124
  hotspotArea: z.ZodOptional<z.ZodString>;
437
- contents: z.ZodArray<z.ZodUnion<[z.ZodObject<{
125
+ contents: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
438
126
  area: z.ZodString;
439
127
  type: z.ZodLiteral<"layout">;
440
128
  layoutId: z.ZodString;
441
- }, "strip", z.ZodTypeAny, {
442
- type: "layout";
443
- area: string;
444
- layoutId: string;
445
- }, {
446
- type: "layout";
447
- area: string;
448
- layoutId: string;
449
- }>, z.ZodObject<{
129
+ }, z.core.$strip>, z.ZodObject<{
450
130
  area: z.ZodString;
451
131
  type: z.ZodLiteral<"layoutSelector">;
452
- }, "strip", z.ZodTypeAny, {
453
- type: "layoutSelector";
454
- area: string;
455
- }, {
456
- type: "layoutSelector";
457
- area: string;
458
- }>, z.ZodObject<{
132
+ }, z.core.$strip>, z.ZodObject<{
459
133
  area: z.ZodString;
460
134
  type: z.ZodLiteral<"device">;
461
135
  deviceId: z.ZodString;
462
136
  streamId: z.ZodOptional<z.ZodString>;
463
137
  fullscreenStreamId: z.ZodOptional<z.ZodString>;
464
- }, "strip", z.ZodTypeAny, {
465
- type: "device";
466
- deviceId: string;
467
- area: string;
468
- streamId?: string | undefined;
469
- fullscreenStreamId?: string | undefined;
470
- }, {
471
- type: "device";
472
- deviceId: string;
473
- area: string;
474
- streamId?: string | undefined;
475
- fullscreenStreamId?: string | undefined;
476
- }>, z.ZodObject<{
138
+ }, z.core.$strip>, z.ZodObject<{
477
139
  area: z.ZodString;
478
140
  type: z.ZodLiteral<"deviceCarousel">;
479
- deviceIds: z.ZodArray<z.ZodString, "many">;
141
+ deviceIds: z.ZodArray<z.ZodString>;
480
142
  streams: z.ZodOptional<z.ZodArray<z.ZodObject<{
481
143
  deviceId: z.ZodString;
482
144
  streamId: z.ZodString;
483
145
  fullscreenStreamId: z.ZodOptional<z.ZodString>;
484
- }, "strip", z.ZodTypeAny, {
485
- deviceId: string;
486
- streamId: string;
487
- fullscreenStreamId?: string | undefined;
488
- }, {
489
- deviceId: string;
490
- streamId: string;
491
- fullscreenStreamId?: string | undefined;
492
- }>, "many">>;
146
+ }, z.core.$strip>>>;
493
147
  timeIntervalMs: z.ZodNumber;
494
- }, "strip", z.ZodTypeAny, {
495
- type: "deviceCarousel";
496
- area: string;
497
- deviceIds: string[];
498
- timeIntervalMs: number;
499
- streams?: {
500
- deviceId: string;
501
- streamId: string;
502
- fullscreenStreamId?: string | undefined;
503
- }[] | undefined;
504
- }, {
505
- type: "deviceCarousel";
506
- area: string;
507
- deviceIds: string[];
508
- timeIntervalMs: number;
509
- streams?: {
510
- deviceId: string;
511
- streamId: string;
512
- fullscreenStreamId?: string | undefined;
513
- }[] | undefined;
514
- }>, z.ZodObject<{
148
+ }, z.core.$strip>, z.ZodObject<{
515
149
  area: z.ZodString;
516
150
  type: z.ZodLiteral<"playbackTrack">;
517
151
  controllerId: z.ZodString;
518
152
  source: z.ZodObject<{
519
153
  deviceId: z.ZodString;
520
154
  streamId: z.ZodString;
521
- }, "strip", z.ZodTypeAny, {
522
- deviceId: string;
523
- streamId: string;
524
- }, {
525
- deviceId: string;
526
- streamId: string;
527
- }>;
528
- }, "strip", z.ZodTypeAny, {
529
- type: "playbackTrack";
530
- area: string;
531
- controllerId: string;
532
- source: {
533
- deviceId: string;
534
- streamId: string;
535
- };
536
- }, {
537
- type: "playbackTrack";
538
- area: string;
539
- controllerId: string;
540
- source: {
541
- deviceId: string;
542
- streamId: string;
543
- };
544
- }>]>, "many">;
545
- }, "strip", z.ZodTypeAny, {
546
- rows: number;
547
- columns: number;
548
- areas: string[][];
549
- contents: ({
550
- type: "layout";
551
- area: string;
552
- layoutId: string;
553
- } | {
554
- type: "layoutSelector";
555
- area: string;
556
- } | {
557
- type: "device";
558
- deviceId: string;
559
- area: string;
560
- streamId?: string | undefined;
561
- fullscreenStreamId?: string | undefined;
562
- } | {
563
- type: "deviceCarousel";
564
- area: string;
565
- deviceIds: string[];
566
- timeIntervalMs: number;
567
- streams?: {
568
- deviceId: string;
569
- streamId: string;
570
- fullscreenStreamId?: string | undefined;
571
- }[] | undefined;
572
- } | {
573
- type: "playbackTrack";
574
- area: string;
575
- controllerId: string;
576
- source: {
577
- deviceId: string;
578
- streamId: string;
579
- };
580
- })[];
581
- hotspotArea?: string | undefined;
582
- }, {
583
- rows: number;
584
- columns: number;
585
- areas: string[][];
586
- contents: ({
587
- type: "layout";
588
- area: string;
589
- layoutId: string;
590
- } | {
591
- type: "layoutSelector";
592
- area: string;
593
- } | {
594
- type: "device";
595
- deviceId: string;
596
- area: string;
597
- streamId?: string | undefined;
598
- fullscreenStreamId?: string | undefined;
599
- } | {
600
- type: "deviceCarousel";
601
- area: string;
602
- deviceIds: string[];
603
- timeIntervalMs: number;
604
- streams?: {
605
- deviceId: string;
606
- streamId: string;
607
- fullscreenStreamId?: string | undefined;
608
- }[] | undefined;
609
- } | {
610
- type: "playbackTrack";
611
- area: string;
612
- controllerId: string;
613
- source: {
614
- deviceId: string;
615
- streamId: string;
616
- };
617
- })[];
618
- hotspotArea?: string | undefined;
619
- }>>;
155
+ }, z.core.$strip>;
156
+ }, z.core.$strip>]>>;
157
+ }, z.core.$strip>>;
620
158
  export type ViewInfo = z.infer<typeof sViewInfo>;
621
159
  export declare const sViewDto: z.ZodIntersection<z.ZodObject<{
622
160
  id: z.ZodString;
@@ -627,210 +165,42 @@ export declare const sViewDto: z.ZodIntersection<z.ZodObject<{
627
165
  createdBy: z.ZodString;
628
166
  createdOn: z.ZodString;
629
167
  lastModifiedOn: z.ZodString;
630
- }, "strip", z.ZodTypeAny, {
631
- id: string;
632
- name: string;
633
- createdOn: string;
634
- lastModifiedOn: string;
635
- order: number;
636
- isDefault: boolean;
637
- createdBy: string;
638
- isPublic: boolean;
639
- }, {
640
- id: string;
641
- name: string;
642
- createdOn: string;
643
- lastModifiedOn: string;
644
- order: number;
645
- isDefault: boolean;
646
- createdBy: string;
647
- isPublic: boolean;
648
- }>, z.ZodObject<{
168
+ }, z.core.$strip>, z.ZodObject<{
649
169
  rows: z.ZodNumber;
650
170
  columns: z.ZodNumber;
651
- areas: z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">;
171
+ areas: z.ZodArray<z.ZodArray<z.ZodString>>;
652
172
  hotspotArea: z.ZodOptional<z.ZodString>;
653
- contents: z.ZodArray<z.ZodUnion<[z.ZodObject<{
173
+ contents: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
654
174
  area: z.ZodString;
655
175
  type: z.ZodLiteral<"layout">;
656
176
  layoutId: z.ZodString;
657
- }, "strip", z.ZodTypeAny, {
658
- type: "layout";
659
- area: string;
660
- layoutId: string;
661
- }, {
662
- type: "layout";
663
- area: string;
664
- layoutId: string;
665
- }>, z.ZodObject<{
177
+ }, z.core.$strip>, z.ZodObject<{
666
178
  area: z.ZodString;
667
179
  type: z.ZodLiteral<"layoutSelector">;
668
- }, "strip", z.ZodTypeAny, {
669
- type: "layoutSelector";
670
- area: string;
671
- }, {
672
- type: "layoutSelector";
673
- area: string;
674
- }>, z.ZodObject<{
180
+ }, z.core.$strip>, z.ZodObject<{
675
181
  area: z.ZodString;
676
182
  type: z.ZodLiteral<"device">;
677
183
  deviceId: z.ZodString;
678
184
  streamId: z.ZodOptional<z.ZodString>;
679
185
  fullscreenStreamId: z.ZodOptional<z.ZodString>;
680
- }, "strip", z.ZodTypeAny, {
681
- type: "device";
682
- deviceId: string;
683
- area: string;
684
- streamId?: string | undefined;
685
- fullscreenStreamId?: string | undefined;
686
- }, {
687
- type: "device";
688
- deviceId: string;
689
- area: string;
690
- streamId?: string | undefined;
691
- fullscreenStreamId?: string | undefined;
692
- }>, z.ZodObject<{
186
+ }, z.core.$strip>, z.ZodObject<{
693
187
  area: z.ZodString;
694
188
  type: z.ZodLiteral<"deviceCarousel">;
695
- deviceIds: z.ZodArray<z.ZodString, "many">;
189
+ deviceIds: z.ZodArray<z.ZodString>;
696
190
  streams: z.ZodOptional<z.ZodArray<z.ZodObject<{
697
191
  deviceId: z.ZodString;
698
192
  streamId: z.ZodString;
699
193
  fullscreenStreamId: z.ZodOptional<z.ZodString>;
700
- }, "strip", z.ZodTypeAny, {
701
- deviceId: string;
702
- streamId: string;
703
- fullscreenStreamId?: string | undefined;
704
- }, {
705
- deviceId: string;
706
- streamId: string;
707
- fullscreenStreamId?: string | undefined;
708
- }>, "many">>;
194
+ }, z.core.$strip>>>;
709
195
  timeIntervalMs: z.ZodNumber;
710
- }, "strip", z.ZodTypeAny, {
711
- type: "deviceCarousel";
712
- area: string;
713
- deviceIds: string[];
714
- timeIntervalMs: number;
715
- streams?: {
716
- deviceId: string;
717
- streamId: string;
718
- fullscreenStreamId?: string | undefined;
719
- }[] | undefined;
720
- }, {
721
- type: "deviceCarousel";
722
- area: string;
723
- deviceIds: string[];
724
- timeIntervalMs: number;
725
- streams?: {
726
- deviceId: string;
727
- streamId: string;
728
- fullscreenStreamId?: string | undefined;
729
- }[] | undefined;
730
- }>, z.ZodObject<{
196
+ }, z.core.$strip>, z.ZodObject<{
731
197
  area: z.ZodString;
732
198
  type: z.ZodLiteral<"playbackTrack">;
733
199
  controllerId: z.ZodString;
734
200
  source: z.ZodObject<{
735
201
  deviceId: z.ZodString;
736
202
  streamId: z.ZodString;
737
- }, "strip", z.ZodTypeAny, {
738
- deviceId: string;
739
- streamId: string;
740
- }, {
741
- deviceId: string;
742
- streamId: string;
743
- }>;
744
- }, "strip", z.ZodTypeAny, {
745
- type: "playbackTrack";
746
- area: string;
747
- controllerId: string;
748
- source: {
749
- deviceId: string;
750
- streamId: string;
751
- };
752
- }, {
753
- type: "playbackTrack";
754
- area: string;
755
- controllerId: string;
756
- source: {
757
- deviceId: string;
758
- streamId: string;
759
- };
760
- }>]>, "many">;
761
- }, "strip", z.ZodTypeAny, {
762
- rows: number;
763
- columns: number;
764
- areas: string[][];
765
- contents: ({
766
- type: "layout";
767
- area: string;
768
- layoutId: string;
769
- } | {
770
- type: "layoutSelector";
771
- area: string;
772
- } | {
773
- type: "device";
774
- deviceId: string;
775
- area: string;
776
- streamId?: string | undefined;
777
- fullscreenStreamId?: string | undefined;
778
- } | {
779
- type: "deviceCarousel";
780
- area: string;
781
- deviceIds: string[];
782
- timeIntervalMs: number;
783
- streams?: {
784
- deviceId: string;
785
- streamId: string;
786
- fullscreenStreamId?: string | undefined;
787
- }[] | undefined;
788
- } | {
789
- type: "playbackTrack";
790
- area: string;
791
- controllerId: string;
792
- source: {
793
- deviceId: string;
794
- streamId: string;
795
- };
796
- })[];
797
- hotspotArea?: string | undefined;
798
- }, {
799
- rows: number;
800
- columns: number;
801
- areas: string[][];
802
- contents: ({
803
- type: "layout";
804
- area: string;
805
- layoutId: string;
806
- } | {
807
- type: "layoutSelector";
808
- area: string;
809
- } | {
810
- type: "device";
811
- deviceId: string;
812
- area: string;
813
- streamId?: string | undefined;
814
- fullscreenStreamId?: string | undefined;
815
- } | {
816
- type: "deviceCarousel";
817
- area: string;
818
- deviceIds: string[];
819
- timeIntervalMs: number;
820
- streams?: {
821
- deviceId: string;
822
- streamId: string;
823
- fullscreenStreamId?: string | undefined;
824
- }[] | undefined;
825
- } | {
826
- type: "playbackTrack";
827
- area: string;
828
- controllerId: string;
829
- source: {
830
- deviceId: string;
831
- streamId: string;
832
- };
833
- })[];
834
- hotspotArea?: string | undefined;
835
- }>>;
203
+ }, z.core.$strip>;
204
+ }, z.core.$strip>]>>;
205
+ }, z.core.$strip>>;
836
206
  export type ViewDto = z.infer<typeof sViewDto>;