@awarevue/api-types 2.0.82 → 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
@@ -7,278 +7,42 @@ export declare const sAddViewRequest: z.ZodObject<{
7
7
  config: z.ZodObject<{
8
8
  rows: z.ZodNumber;
9
9
  columns: z.ZodNumber;
10
- areas: z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">;
10
+ areas: z.ZodArray<z.ZodArray<z.ZodString>>;
11
11
  hotspotArea: z.ZodOptional<z.ZodString>;
12
- contents: z.ZodArray<z.ZodUnion<[z.ZodObject<{
12
+ contents: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
13
13
  area: z.ZodString;
14
14
  type: z.ZodLiteral<"layout">;
15
15
  layoutId: z.ZodString;
16
- }, "strip", z.ZodTypeAny, {
17
- type: "layout";
18
- area: string;
19
- layoutId: string;
20
- }, {
21
- type: "layout";
22
- area: string;
23
- layoutId: string;
24
- }>, z.ZodObject<{
16
+ }, z.core.$strip>, z.ZodObject<{
25
17
  area: z.ZodString;
26
18
  type: z.ZodLiteral<"layoutSelector">;
27
- }, "strip", z.ZodTypeAny, {
28
- type: "layoutSelector";
29
- area: string;
30
- }, {
31
- type: "layoutSelector";
32
- area: string;
33
- }>, z.ZodObject<{
19
+ }, z.core.$strip>, z.ZodObject<{
34
20
  area: z.ZodString;
35
21
  type: z.ZodLiteral<"device">;
36
22
  deviceId: z.ZodString;
37
23
  streamId: z.ZodOptional<z.ZodString>;
38
24
  fullscreenStreamId: z.ZodOptional<z.ZodString>;
39
- }, "strip", z.ZodTypeAny, {
40
- type: "device";
41
- deviceId: string;
42
- area: string;
43
- streamId?: string | undefined;
44
- fullscreenStreamId?: string | undefined;
45
- }, {
46
- type: "device";
47
- deviceId: string;
48
- area: string;
49
- streamId?: string | undefined;
50
- fullscreenStreamId?: string | undefined;
51
- }>, z.ZodObject<{
25
+ }, z.core.$strip>, z.ZodObject<{
52
26
  area: z.ZodString;
53
27
  type: z.ZodLiteral<"deviceCarousel">;
54
- deviceIds: z.ZodArray<z.ZodString, "many">;
28
+ deviceIds: z.ZodArray<z.ZodString>;
55
29
  streams: z.ZodOptional<z.ZodArray<z.ZodObject<{
56
30
  deviceId: z.ZodString;
57
31
  streamId: z.ZodString;
58
32
  fullscreenStreamId: z.ZodOptional<z.ZodString>;
59
- }, "strip", z.ZodTypeAny, {
60
- deviceId: string;
61
- streamId: string;
62
- fullscreenStreamId?: string | undefined;
63
- }, {
64
- deviceId: string;
65
- streamId: string;
66
- fullscreenStreamId?: string | undefined;
67
- }>, "many">>;
33
+ }, z.core.$strip>>>;
68
34
  timeIntervalMs: z.ZodNumber;
69
- }, "strip", z.ZodTypeAny, {
70
- type: "deviceCarousel";
71
- area: string;
72
- deviceIds: string[];
73
- timeIntervalMs: number;
74
- streams?: {
75
- deviceId: string;
76
- streamId: string;
77
- fullscreenStreamId?: string | undefined;
78
- }[] | undefined;
79
- }, {
80
- type: "deviceCarousel";
81
- area: string;
82
- deviceIds: string[];
83
- timeIntervalMs: number;
84
- streams?: {
85
- deviceId: string;
86
- streamId: string;
87
- fullscreenStreamId?: string | undefined;
88
- }[] | undefined;
89
- }>, z.ZodObject<{
35
+ }, z.core.$strip>, z.ZodObject<{
90
36
  area: z.ZodString;
91
37
  type: z.ZodLiteral<"playbackTrack">;
92
38
  controllerId: z.ZodString;
93
39
  source: z.ZodObject<{
94
40
  deviceId: z.ZodString;
95
41
  streamId: z.ZodString;
96
- }, "strip", z.ZodTypeAny, {
97
- deviceId: string;
98
- streamId: string;
99
- }, {
100
- deviceId: string;
101
- streamId: string;
102
- }>;
103
- }, "strip", z.ZodTypeAny, {
104
- type: "playbackTrack";
105
- area: string;
106
- controllerId: string;
107
- source: {
108
- deviceId: string;
109
- streamId: string;
110
- };
111
- }, {
112
- type: "playbackTrack";
113
- area: string;
114
- controllerId: string;
115
- source: {
116
- deviceId: string;
117
- streamId: string;
118
- };
119
- }>]>, "many">;
120
- }, "strip", z.ZodTypeAny, {
121
- rows: number;
122
- columns: number;
123
- areas: string[][];
124
- contents: ({
125
- type: "layout";
126
- area: string;
127
- layoutId: string;
128
- } | {
129
- type: "layoutSelector";
130
- area: string;
131
- } | {
132
- type: "device";
133
- deviceId: string;
134
- area: string;
135
- streamId?: string | undefined;
136
- fullscreenStreamId?: string | undefined;
137
- } | {
138
- type: "deviceCarousel";
139
- area: string;
140
- deviceIds: string[];
141
- timeIntervalMs: number;
142
- streams?: {
143
- deviceId: string;
144
- streamId: string;
145
- fullscreenStreamId?: string | undefined;
146
- }[] | undefined;
147
- } | {
148
- type: "playbackTrack";
149
- area: string;
150
- controllerId: string;
151
- source: {
152
- deviceId: string;
153
- streamId: string;
154
- };
155
- })[];
156
- hotspotArea?: string | undefined;
157
- }, {
158
- rows: number;
159
- columns: number;
160
- areas: string[][];
161
- contents: ({
162
- type: "layout";
163
- area: string;
164
- layoutId: string;
165
- } | {
166
- type: "layoutSelector";
167
- area: string;
168
- } | {
169
- type: "device";
170
- deviceId: string;
171
- area: string;
172
- streamId?: string | undefined;
173
- fullscreenStreamId?: string | undefined;
174
- } | {
175
- type: "deviceCarousel";
176
- area: string;
177
- deviceIds: string[];
178
- timeIntervalMs: number;
179
- streams?: {
180
- deviceId: string;
181
- streamId: string;
182
- fullscreenStreamId?: string | undefined;
183
- }[] | undefined;
184
- } | {
185
- type: "playbackTrack";
186
- area: string;
187
- controllerId: string;
188
- source: {
189
- deviceId: string;
190
- streamId: string;
191
- };
192
- })[];
193
- hotspotArea?: string | undefined;
194
- }>;
195
- }, "strip", z.ZodTypeAny, {
196
- name: string;
197
- isPublic: boolean;
198
- config: {
199
- rows: number;
200
- columns: number;
201
- areas: string[][];
202
- contents: ({
203
- type: "layout";
204
- area: string;
205
- layoutId: string;
206
- } | {
207
- type: "layoutSelector";
208
- area: string;
209
- } | {
210
- type: "device";
211
- deviceId: string;
212
- area: string;
213
- streamId?: string | undefined;
214
- fullscreenStreamId?: string | undefined;
215
- } | {
216
- type: "deviceCarousel";
217
- area: string;
218
- deviceIds: string[];
219
- timeIntervalMs: number;
220
- streams?: {
221
- deviceId: string;
222
- streamId: string;
223
- fullscreenStreamId?: string | undefined;
224
- }[] | undefined;
225
- } | {
226
- type: "playbackTrack";
227
- area: string;
228
- controllerId: string;
229
- source: {
230
- deviceId: string;
231
- streamId: string;
232
- };
233
- })[];
234
- hotspotArea?: string | undefined;
235
- };
236
- order?: number | undefined;
237
- isDefault?: boolean | undefined;
238
- }, {
239
- name: string;
240
- isPublic: boolean;
241
- config: {
242
- rows: number;
243
- columns: number;
244
- areas: string[][];
245
- contents: ({
246
- type: "layout";
247
- area: string;
248
- layoutId: string;
249
- } | {
250
- type: "layoutSelector";
251
- area: string;
252
- } | {
253
- type: "device";
254
- deviceId: string;
255
- area: string;
256
- streamId?: string | undefined;
257
- fullscreenStreamId?: string | undefined;
258
- } | {
259
- type: "deviceCarousel";
260
- area: string;
261
- deviceIds: string[];
262
- timeIntervalMs: number;
263
- streams?: {
264
- deviceId: string;
265
- streamId: string;
266
- fullscreenStreamId?: string | undefined;
267
- }[] | undefined;
268
- } | {
269
- type: "playbackTrack";
270
- area: string;
271
- controllerId: string;
272
- source: {
273
- deviceId: string;
274
- streamId: string;
275
- };
276
- })[];
277
- hotspotArea?: string | undefined;
278
- };
279
- order?: number | undefined;
280
- isDefault?: boolean | undefined;
281
- }>;
42
+ }, z.core.$strip>;
43
+ }, z.core.$strip>]>>;
44
+ }, z.core.$strip>;
45
+ }, z.core.$strip>;
282
46
  export declare const sUpdateViewRequest: z.ZodObject<{
283
47
  name: z.ZodOptional<z.ZodString>;
284
48
  order: z.ZodOptional<z.ZodNumber>;
@@ -287,278 +51,42 @@ export declare const sUpdateViewRequest: z.ZodObject<{
287
51
  config: z.ZodOptional<z.ZodObject<{
288
52
  rows: z.ZodNumber;
289
53
  columns: z.ZodNumber;
290
- areas: z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">;
54
+ areas: z.ZodArray<z.ZodArray<z.ZodString>>;
291
55
  hotspotArea: z.ZodOptional<z.ZodString>;
292
- contents: z.ZodArray<z.ZodUnion<[z.ZodObject<{
56
+ contents: z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
293
57
  area: z.ZodString;
294
58
  type: z.ZodLiteral<"layout">;
295
59
  layoutId: z.ZodString;
296
- }, "strip", z.ZodTypeAny, {
297
- type: "layout";
298
- area: string;
299
- layoutId: string;
300
- }, {
301
- type: "layout";
302
- area: string;
303
- layoutId: string;
304
- }>, z.ZodObject<{
60
+ }, z.core.$strip>, z.ZodObject<{
305
61
  area: z.ZodString;
306
62
  type: z.ZodLiteral<"layoutSelector">;
307
- }, "strip", z.ZodTypeAny, {
308
- type: "layoutSelector";
309
- area: string;
310
- }, {
311
- type: "layoutSelector";
312
- area: string;
313
- }>, z.ZodObject<{
63
+ }, z.core.$strip>, z.ZodObject<{
314
64
  area: z.ZodString;
315
65
  type: z.ZodLiteral<"device">;
316
66
  deviceId: z.ZodString;
317
67
  streamId: z.ZodOptional<z.ZodString>;
318
68
  fullscreenStreamId: z.ZodOptional<z.ZodString>;
319
- }, "strip", z.ZodTypeAny, {
320
- type: "device";
321
- deviceId: string;
322
- area: string;
323
- streamId?: string | undefined;
324
- fullscreenStreamId?: string | undefined;
325
- }, {
326
- type: "device";
327
- deviceId: string;
328
- area: string;
329
- streamId?: string | undefined;
330
- fullscreenStreamId?: string | undefined;
331
- }>, z.ZodObject<{
69
+ }, z.core.$strip>, z.ZodObject<{
332
70
  area: z.ZodString;
333
71
  type: z.ZodLiteral<"deviceCarousel">;
334
- deviceIds: z.ZodArray<z.ZodString, "many">;
72
+ deviceIds: z.ZodArray<z.ZodString>;
335
73
  streams: z.ZodOptional<z.ZodArray<z.ZodObject<{
336
74
  deviceId: z.ZodString;
337
75
  streamId: z.ZodString;
338
76
  fullscreenStreamId: z.ZodOptional<z.ZodString>;
339
- }, "strip", z.ZodTypeAny, {
340
- deviceId: string;
341
- streamId: string;
342
- fullscreenStreamId?: string | undefined;
343
- }, {
344
- deviceId: string;
345
- streamId: string;
346
- fullscreenStreamId?: string | undefined;
347
- }>, "many">>;
77
+ }, z.core.$strip>>>;
348
78
  timeIntervalMs: z.ZodNumber;
349
- }, "strip", z.ZodTypeAny, {
350
- type: "deviceCarousel";
351
- area: string;
352
- deviceIds: string[];
353
- timeIntervalMs: number;
354
- streams?: {
355
- deviceId: string;
356
- streamId: string;
357
- fullscreenStreamId?: string | undefined;
358
- }[] | undefined;
359
- }, {
360
- type: "deviceCarousel";
361
- area: string;
362
- deviceIds: string[];
363
- timeIntervalMs: number;
364
- streams?: {
365
- deviceId: string;
366
- streamId: string;
367
- fullscreenStreamId?: string | undefined;
368
- }[] | undefined;
369
- }>, z.ZodObject<{
79
+ }, z.core.$strip>, z.ZodObject<{
370
80
  area: z.ZodString;
371
81
  type: z.ZodLiteral<"playbackTrack">;
372
82
  controllerId: z.ZodString;
373
83
  source: z.ZodObject<{
374
84
  deviceId: z.ZodString;
375
85
  streamId: z.ZodString;
376
- }, "strip", z.ZodTypeAny, {
377
- deviceId: string;
378
- streamId: string;
379
- }, {
380
- deviceId: string;
381
- streamId: string;
382
- }>;
383
- }, "strip", z.ZodTypeAny, {
384
- type: "playbackTrack";
385
- area: string;
386
- controllerId: string;
387
- source: {
388
- deviceId: string;
389
- streamId: string;
390
- };
391
- }, {
392
- type: "playbackTrack";
393
- area: string;
394
- controllerId: string;
395
- source: {
396
- deviceId: string;
397
- streamId: string;
398
- };
399
- }>]>, "many">;
400
- }, "strip", z.ZodTypeAny, {
401
- rows: number;
402
- columns: number;
403
- areas: string[][];
404
- contents: ({
405
- type: "layout";
406
- area: string;
407
- layoutId: string;
408
- } | {
409
- type: "layoutSelector";
410
- area: string;
411
- } | {
412
- type: "device";
413
- deviceId: string;
414
- area: string;
415
- streamId?: string | undefined;
416
- fullscreenStreamId?: string | undefined;
417
- } | {
418
- type: "deviceCarousel";
419
- area: string;
420
- deviceIds: string[];
421
- timeIntervalMs: number;
422
- streams?: {
423
- deviceId: string;
424
- streamId: string;
425
- fullscreenStreamId?: string | undefined;
426
- }[] | undefined;
427
- } | {
428
- type: "playbackTrack";
429
- area: string;
430
- controllerId: string;
431
- source: {
432
- deviceId: string;
433
- streamId: string;
434
- };
435
- })[];
436
- hotspotArea?: string | undefined;
437
- }, {
438
- rows: number;
439
- columns: number;
440
- areas: string[][];
441
- contents: ({
442
- type: "layout";
443
- area: string;
444
- layoutId: string;
445
- } | {
446
- type: "layoutSelector";
447
- area: string;
448
- } | {
449
- type: "device";
450
- deviceId: string;
451
- area: string;
452
- streamId?: string | undefined;
453
- fullscreenStreamId?: string | undefined;
454
- } | {
455
- type: "deviceCarousel";
456
- area: string;
457
- deviceIds: string[];
458
- timeIntervalMs: number;
459
- streams?: {
460
- deviceId: string;
461
- streamId: string;
462
- fullscreenStreamId?: string | undefined;
463
- }[] | undefined;
464
- } | {
465
- type: "playbackTrack";
466
- area: string;
467
- controllerId: string;
468
- source: {
469
- deviceId: string;
470
- streamId: string;
471
- };
472
- })[];
473
- hotspotArea?: string | undefined;
474
- }>>;
475
- }, "strip", z.ZodTypeAny, {
476
- name?: string | undefined;
477
- order?: number | undefined;
478
- isDefault?: boolean | undefined;
479
- isPublic?: boolean | undefined;
480
- config?: {
481
- rows: number;
482
- columns: number;
483
- areas: string[][];
484
- contents: ({
485
- type: "layout";
486
- area: string;
487
- layoutId: string;
488
- } | {
489
- type: "layoutSelector";
490
- area: string;
491
- } | {
492
- type: "device";
493
- deviceId: string;
494
- area: string;
495
- streamId?: string | undefined;
496
- fullscreenStreamId?: string | undefined;
497
- } | {
498
- type: "deviceCarousel";
499
- area: string;
500
- deviceIds: string[];
501
- timeIntervalMs: number;
502
- streams?: {
503
- deviceId: string;
504
- streamId: string;
505
- fullscreenStreamId?: string | undefined;
506
- }[] | undefined;
507
- } | {
508
- type: "playbackTrack";
509
- area: string;
510
- controllerId: string;
511
- source: {
512
- deviceId: string;
513
- streamId: string;
514
- };
515
- })[];
516
- hotspotArea?: string | undefined;
517
- } | undefined;
518
- }, {
519
- name?: string | undefined;
520
- order?: number | undefined;
521
- isDefault?: boolean | undefined;
522
- isPublic?: boolean | undefined;
523
- config?: {
524
- rows: number;
525
- columns: number;
526
- areas: string[][];
527
- contents: ({
528
- type: "layout";
529
- area: string;
530
- layoutId: string;
531
- } | {
532
- type: "layoutSelector";
533
- area: string;
534
- } | {
535
- type: "device";
536
- deviceId: string;
537
- area: string;
538
- streamId?: string | undefined;
539
- fullscreenStreamId?: string | undefined;
540
- } | {
541
- type: "deviceCarousel";
542
- area: string;
543
- deviceIds: string[];
544
- timeIntervalMs: number;
545
- streams?: {
546
- deviceId: string;
547
- streamId: string;
548
- fullscreenStreamId?: string | undefined;
549
- }[] | undefined;
550
- } | {
551
- type: "playbackTrack";
552
- area: string;
553
- controllerId: string;
554
- source: {
555
- deviceId: string;
556
- streamId: string;
557
- };
558
- })[];
559
- hotspotArea?: string | undefined;
560
- } | undefined;
561
- }>;
86
+ }, z.core.$strip>;
87
+ }, z.core.$strip>]>>;
88
+ }, z.core.$strip>>;
89
+ }, z.core.$strip>;
562
90
  export type AddViewRequest = z.infer<typeof sAddViewRequest>;
563
91
  export type UpdateViewRequest = {
564
92
  id: string;
@@ -3,33 +3,11 @@ export declare const sCreatePlaybackControllerRequest: z.ZodObject<{
3
3
  sources: z.ZodArray<z.ZodObject<{
4
4
  deviceId: z.ZodString;
5
5
  streamId: z.ZodString;
6
- }, "strip", z.ZodTypeAny, {
7
- deviceId: string;
8
- streamId: string;
9
- }, {
10
- deviceId: string;
11
- streamId: string;
12
- }>, "many">;
6
+ }, z.core.$strip>>;
13
7
  initTime: z.ZodNumber;
14
- }, "strip", z.ZodTypeAny, {
15
- sources: {
16
- deviceId: string;
17
- streamId: string;
18
- }[];
19
- initTime: number;
20
- }, {
21
- sources: {
22
- deviceId: string;
23
- streamId: string;
24
- }[];
25
- initTime: number;
26
- }>;
8
+ }, z.core.$strip>;
27
9
  export type CreatePlaybackControllerRequest = z.infer<typeof sCreatePlaybackControllerRequest>;
28
10
  export declare const sCreatePlaybackControllerResponse: z.ZodObject<{
29
11
  id: z.ZodString;
30
- }, "strip", z.ZodTypeAny, {
31
- id: string;
32
- }, {
33
- id: string;
34
- }>;
12
+ }, z.core.$strip>;
35
13
  export type CreatePlaybackControllerResponse = z.infer<typeof sCreatePlaybackControllerResponse>;
@@ -1,35 +1,19 @@
1
1
  import z from 'zod';
2
2
  export declare const sCreateZoneRequest: z.ZodObject<{
3
3
  displayName: z.ZodString;
4
- devices: z.ZodArray<z.ZodString, "many">;
5
- }, "strip", z.ZodTypeAny, {
6
- displayName: string;
7
- devices: string[];
8
- }, {
9
- displayName: string;
10
- devices: string[];
11
- }>;
4
+ devices: z.ZodArray<z.ZodString>;
5
+ }, z.core.$strip>;
12
6
  export type CreateZoneRequest = z.infer<typeof sCreateZoneRequest>;
13
7
  export declare const sUpdateZoneRequest: z.ZodObject<{
14
8
  displayName: z.ZodOptional<z.ZodString>;
15
- devices: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
16
- }, "strip", z.ZodTypeAny, {
17
- displayName?: string | undefined;
18
- devices?: string[] | undefined;
19
- }, {
20
- displayName?: string | undefined;
21
- devices?: string[] | undefined;
22
- }>;
9
+ devices: z.ZodOptional<z.ZodArray<z.ZodString>>;
10
+ }, z.core.$strip>;
23
11
  export type UpdateZoneRequest = {
24
12
  id: string;
25
13
  } & z.infer<typeof sUpdateZoneRequest>;
26
14
  export declare const sAddZoneDeviceRequest: z.ZodObject<{
27
15
  deviceId: z.ZodString;
28
- }, "strip", z.ZodTypeAny, {
29
- deviceId: string;
30
- }, {
31
- deviceId: string;
32
- }>;
16
+ }, z.core.$strip>;
33
17
  export type AddZoneDeviceRequest = {
34
18
  zoneId: string;
35
19
  } & z.infer<typeof sAddZoneDeviceRequest>;