@awarevue/api-types 2.0.41 → 2.0.42
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.
- package/dist/api/rest/view.d.ts +68 -0
- package/dist/objects/view.d.ts +114 -0
- package/dist/objects/view.js +6 -0
- package/dist/package.json +1 -1
- package/package.json +1 -1
package/dist/api/rest/view.d.ts
CHANGED
|
@@ -49,17 +49,35 @@ export declare const sAddViewRequest: z.ZodObject<{
|
|
|
49
49
|
area: z.ZodString;
|
|
50
50
|
type: z.ZodLiteral<"deviceCarousel">;
|
|
51
51
|
deviceIds: z.ZodArray<z.ZodString, "many">;
|
|
52
|
+
streams: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
53
|
+
deviceId: z.ZodString;
|
|
54
|
+
streamId: z.ZodString;
|
|
55
|
+
}, "strip", z.ZodTypeAny, {
|
|
56
|
+
deviceId: string;
|
|
57
|
+
streamId: string;
|
|
58
|
+
}, {
|
|
59
|
+
deviceId: string;
|
|
60
|
+
streamId: string;
|
|
61
|
+
}>, "many">>;
|
|
52
62
|
timeIntervalMs: z.ZodNumber;
|
|
53
63
|
}, "strip", z.ZodTypeAny, {
|
|
54
64
|
type: "deviceCarousel";
|
|
55
65
|
area: string;
|
|
56
66
|
deviceIds: string[];
|
|
57
67
|
timeIntervalMs: number;
|
|
68
|
+
streams?: {
|
|
69
|
+
deviceId: string;
|
|
70
|
+
streamId: string;
|
|
71
|
+
}[] | undefined;
|
|
58
72
|
}, {
|
|
59
73
|
type: "deviceCarousel";
|
|
60
74
|
area: string;
|
|
61
75
|
deviceIds: string[];
|
|
62
76
|
timeIntervalMs: number;
|
|
77
|
+
streams?: {
|
|
78
|
+
deviceId: string;
|
|
79
|
+
streamId: string;
|
|
80
|
+
}[] | undefined;
|
|
63
81
|
}>, z.ZodObject<{
|
|
64
82
|
area: z.ZodString;
|
|
65
83
|
type: z.ZodLiteral<"playbackTrack">;
|
|
@@ -112,6 +130,10 @@ export declare const sAddViewRequest: z.ZodObject<{
|
|
|
112
130
|
area: string;
|
|
113
131
|
deviceIds: string[];
|
|
114
132
|
timeIntervalMs: number;
|
|
133
|
+
streams?: {
|
|
134
|
+
deviceId: string;
|
|
135
|
+
streamId: string;
|
|
136
|
+
}[] | undefined;
|
|
115
137
|
} | {
|
|
116
138
|
type: "playbackTrack";
|
|
117
139
|
source: {
|
|
@@ -143,6 +165,10 @@ export declare const sAddViewRequest: z.ZodObject<{
|
|
|
143
165
|
area: string;
|
|
144
166
|
deviceIds: string[];
|
|
145
167
|
timeIntervalMs: number;
|
|
168
|
+
streams?: {
|
|
169
|
+
deviceId: string;
|
|
170
|
+
streamId: string;
|
|
171
|
+
}[] | undefined;
|
|
146
172
|
} | {
|
|
147
173
|
type: "playbackTrack";
|
|
148
174
|
source: {
|
|
@@ -178,6 +204,10 @@ export declare const sAddViewRequest: z.ZodObject<{
|
|
|
178
204
|
area: string;
|
|
179
205
|
deviceIds: string[];
|
|
180
206
|
timeIntervalMs: number;
|
|
207
|
+
streams?: {
|
|
208
|
+
deviceId: string;
|
|
209
|
+
streamId: string;
|
|
210
|
+
}[] | undefined;
|
|
181
211
|
} | {
|
|
182
212
|
type: "playbackTrack";
|
|
183
213
|
source: {
|
|
@@ -215,6 +245,10 @@ export declare const sAddViewRequest: z.ZodObject<{
|
|
|
215
245
|
area: string;
|
|
216
246
|
deviceIds: string[];
|
|
217
247
|
timeIntervalMs: number;
|
|
248
|
+
streams?: {
|
|
249
|
+
deviceId: string;
|
|
250
|
+
streamId: string;
|
|
251
|
+
}[] | undefined;
|
|
218
252
|
} | {
|
|
219
253
|
type: "playbackTrack";
|
|
220
254
|
source: {
|
|
@@ -279,17 +313,35 @@ export declare const sUpdateViewRequest: z.ZodObject<{
|
|
|
279
313
|
area: z.ZodString;
|
|
280
314
|
type: z.ZodLiteral<"deviceCarousel">;
|
|
281
315
|
deviceIds: z.ZodArray<z.ZodString, "many">;
|
|
316
|
+
streams: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
317
|
+
deviceId: z.ZodString;
|
|
318
|
+
streamId: z.ZodString;
|
|
319
|
+
}, "strip", z.ZodTypeAny, {
|
|
320
|
+
deviceId: string;
|
|
321
|
+
streamId: string;
|
|
322
|
+
}, {
|
|
323
|
+
deviceId: string;
|
|
324
|
+
streamId: string;
|
|
325
|
+
}>, "many">>;
|
|
282
326
|
timeIntervalMs: z.ZodNumber;
|
|
283
327
|
}, "strip", z.ZodTypeAny, {
|
|
284
328
|
type: "deviceCarousel";
|
|
285
329
|
area: string;
|
|
286
330
|
deviceIds: string[];
|
|
287
331
|
timeIntervalMs: number;
|
|
332
|
+
streams?: {
|
|
333
|
+
deviceId: string;
|
|
334
|
+
streamId: string;
|
|
335
|
+
}[] | undefined;
|
|
288
336
|
}, {
|
|
289
337
|
type: "deviceCarousel";
|
|
290
338
|
area: string;
|
|
291
339
|
deviceIds: string[];
|
|
292
340
|
timeIntervalMs: number;
|
|
341
|
+
streams?: {
|
|
342
|
+
deviceId: string;
|
|
343
|
+
streamId: string;
|
|
344
|
+
}[] | undefined;
|
|
293
345
|
}>, z.ZodObject<{
|
|
294
346
|
area: z.ZodString;
|
|
295
347
|
type: z.ZodLiteral<"playbackTrack">;
|
|
@@ -342,6 +394,10 @@ export declare const sUpdateViewRequest: z.ZodObject<{
|
|
|
342
394
|
area: string;
|
|
343
395
|
deviceIds: string[];
|
|
344
396
|
timeIntervalMs: number;
|
|
397
|
+
streams?: {
|
|
398
|
+
deviceId: string;
|
|
399
|
+
streamId: string;
|
|
400
|
+
}[] | undefined;
|
|
345
401
|
} | {
|
|
346
402
|
type: "playbackTrack";
|
|
347
403
|
source: {
|
|
@@ -373,6 +429,10 @@ export declare const sUpdateViewRequest: z.ZodObject<{
|
|
|
373
429
|
area: string;
|
|
374
430
|
deviceIds: string[];
|
|
375
431
|
timeIntervalMs: number;
|
|
432
|
+
streams?: {
|
|
433
|
+
deviceId: string;
|
|
434
|
+
streamId: string;
|
|
435
|
+
}[] | undefined;
|
|
376
436
|
} | {
|
|
377
437
|
type: "playbackTrack";
|
|
378
438
|
source: {
|
|
@@ -410,6 +470,10 @@ export declare const sUpdateViewRequest: z.ZodObject<{
|
|
|
410
470
|
area: string;
|
|
411
471
|
deviceIds: string[];
|
|
412
472
|
timeIntervalMs: number;
|
|
473
|
+
streams?: {
|
|
474
|
+
deviceId: string;
|
|
475
|
+
streamId: string;
|
|
476
|
+
}[] | undefined;
|
|
413
477
|
} | {
|
|
414
478
|
type: "playbackTrack";
|
|
415
479
|
source: {
|
|
@@ -447,6 +511,10 @@ export declare const sUpdateViewRequest: z.ZodObject<{
|
|
|
447
511
|
area: string;
|
|
448
512
|
deviceIds: string[];
|
|
449
513
|
timeIntervalMs: number;
|
|
514
|
+
streams?: {
|
|
515
|
+
deviceId: string;
|
|
516
|
+
streamId: string;
|
|
517
|
+
}[] | undefined;
|
|
450
518
|
} | {
|
|
451
519
|
type: "playbackTrack";
|
|
452
520
|
source: {
|
package/dist/objects/view.d.ts
CHANGED
|
@@ -45,17 +45,35 @@ export declare const sDeviceCarouselArea: z.ZodObject<{
|
|
|
45
45
|
area: z.ZodString;
|
|
46
46
|
type: z.ZodLiteral<"deviceCarousel">;
|
|
47
47
|
deviceIds: z.ZodArray<z.ZodString, "many">;
|
|
48
|
+
streams: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
49
|
+
deviceId: z.ZodString;
|
|
50
|
+
streamId: z.ZodString;
|
|
51
|
+
}, "strip", z.ZodTypeAny, {
|
|
52
|
+
deviceId: string;
|
|
53
|
+
streamId: string;
|
|
54
|
+
}, {
|
|
55
|
+
deviceId: string;
|
|
56
|
+
streamId: string;
|
|
57
|
+
}>, "many">>;
|
|
48
58
|
timeIntervalMs: z.ZodNumber;
|
|
49
59
|
}, "strip", z.ZodTypeAny, {
|
|
50
60
|
type: "deviceCarousel";
|
|
51
61
|
area: string;
|
|
52
62
|
deviceIds: string[];
|
|
53
63
|
timeIntervalMs: number;
|
|
64
|
+
streams?: {
|
|
65
|
+
deviceId: string;
|
|
66
|
+
streamId: string;
|
|
67
|
+
}[] | undefined;
|
|
54
68
|
}, {
|
|
55
69
|
type: "deviceCarousel";
|
|
56
70
|
area: string;
|
|
57
71
|
deviceIds: string[];
|
|
58
72
|
timeIntervalMs: number;
|
|
73
|
+
streams?: {
|
|
74
|
+
deviceId: string;
|
|
75
|
+
streamId: string;
|
|
76
|
+
}[] | undefined;
|
|
59
77
|
}>;
|
|
60
78
|
export type DeviceCarouselArea = z.infer<typeof sDeviceCarouselArea>;
|
|
61
79
|
export declare const sPlaybackTrackArea: z.ZodObject<{
|
|
@@ -131,17 +149,35 @@ export declare const sViewAreaContents: z.ZodUnion<[z.ZodObject<{
|
|
|
131
149
|
area: z.ZodString;
|
|
132
150
|
type: z.ZodLiteral<"deviceCarousel">;
|
|
133
151
|
deviceIds: z.ZodArray<z.ZodString, "many">;
|
|
152
|
+
streams: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
153
|
+
deviceId: z.ZodString;
|
|
154
|
+
streamId: z.ZodString;
|
|
155
|
+
}, "strip", z.ZodTypeAny, {
|
|
156
|
+
deviceId: string;
|
|
157
|
+
streamId: string;
|
|
158
|
+
}, {
|
|
159
|
+
deviceId: string;
|
|
160
|
+
streamId: string;
|
|
161
|
+
}>, "many">>;
|
|
134
162
|
timeIntervalMs: z.ZodNumber;
|
|
135
163
|
}, "strip", z.ZodTypeAny, {
|
|
136
164
|
type: "deviceCarousel";
|
|
137
165
|
area: string;
|
|
138
166
|
deviceIds: string[];
|
|
139
167
|
timeIntervalMs: number;
|
|
168
|
+
streams?: {
|
|
169
|
+
deviceId: string;
|
|
170
|
+
streamId: string;
|
|
171
|
+
}[] | undefined;
|
|
140
172
|
}, {
|
|
141
173
|
type: "deviceCarousel";
|
|
142
174
|
area: string;
|
|
143
175
|
deviceIds: string[];
|
|
144
176
|
timeIntervalMs: number;
|
|
177
|
+
streams?: {
|
|
178
|
+
deviceId: string;
|
|
179
|
+
streamId: string;
|
|
180
|
+
}[] | undefined;
|
|
145
181
|
}>, z.ZodObject<{
|
|
146
182
|
area: z.ZodString;
|
|
147
183
|
type: z.ZodLiteral<"playbackTrack">;
|
|
@@ -218,17 +254,35 @@ export declare const sViewConfig: z.ZodObject<{
|
|
|
218
254
|
area: z.ZodString;
|
|
219
255
|
type: z.ZodLiteral<"deviceCarousel">;
|
|
220
256
|
deviceIds: z.ZodArray<z.ZodString, "many">;
|
|
257
|
+
streams: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
258
|
+
deviceId: z.ZodString;
|
|
259
|
+
streamId: z.ZodString;
|
|
260
|
+
}, "strip", z.ZodTypeAny, {
|
|
261
|
+
deviceId: string;
|
|
262
|
+
streamId: string;
|
|
263
|
+
}, {
|
|
264
|
+
deviceId: string;
|
|
265
|
+
streamId: string;
|
|
266
|
+
}>, "many">>;
|
|
221
267
|
timeIntervalMs: z.ZodNumber;
|
|
222
268
|
}, "strip", z.ZodTypeAny, {
|
|
223
269
|
type: "deviceCarousel";
|
|
224
270
|
area: string;
|
|
225
271
|
deviceIds: string[];
|
|
226
272
|
timeIntervalMs: number;
|
|
273
|
+
streams?: {
|
|
274
|
+
deviceId: string;
|
|
275
|
+
streamId: string;
|
|
276
|
+
}[] | undefined;
|
|
227
277
|
}, {
|
|
228
278
|
type: "deviceCarousel";
|
|
229
279
|
area: string;
|
|
230
280
|
deviceIds: string[];
|
|
231
281
|
timeIntervalMs: number;
|
|
282
|
+
streams?: {
|
|
283
|
+
deviceId: string;
|
|
284
|
+
streamId: string;
|
|
285
|
+
}[] | undefined;
|
|
232
286
|
}>, z.ZodObject<{
|
|
233
287
|
area: z.ZodString;
|
|
234
288
|
type: z.ZodLiteral<"playbackTrack">;
|
|
@@ -281,6 +335,10 @@ export declare const sViewConfig: z.ZodObject<{
|
|
|
281
335
|
area: string;
|
|
282
336
|
deviceIds: string[];
|
|
283
337
|
timeIntervalMs: number;
|
|
338
|
+
streams?: {
|
|
339
|
+
deviceId: string;
|
|
340
|
+
streamId: string;
|
|
341
|
+
}[] | undefined;
|
|
284
342
|
} | {
|
|
285
343
|
type: "playbackTrack";
|
|
286
344
|
source: {
|
|
@@ -312,6 +370,10 @@ export declare const sViewConfig: z.ZodObject<{
|
|
|
312
370
|
area: string;
|
|
313
371
|
deviceIds: string[];
|
|
314
372
|
timeIntervalMs: number;
|
|
373
|
+
streams?: {
|
|
374
|
+
deviceId: string;
|
|
375
|
+
streamId: string;
|
|
376
|
+
}[] | undefined;
|
|
315
377
|
} | {
|
|
316
378
|
type: "playbackTrack";
|
|
317
379
|
source: {
|
|
@@ -384,17 +446,35 @@ export declare const sViewInfo: z.ZodIntersection<z.ZodObject<{
|
|
|
384
446
|
area: z.ZodString;
|
|
385
447
|
type: z.ZodLiteral<"deviceCarousel">;
|
|
386
448
|
deviceIds: z.ZodArray<z.ZodString, "many">;
|
|
449
|
+
streams: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
450
|
+
deviceId: z.ZodString;
|
|
451
|
+
streamId: z.ZodString;
|
|
452
|
+
}, "strip", z.ZodTypeAny, {
|
|
453
|
+
deviceId: string;
|
|
454
|
+
streamId: string;
|
|
455
|
+
}, {
|
|
456
|
+
deviceId: string;
|
|
457
|
+
streamId: string;
|
|
458
|
+
}>, "many">>;
|
|
387
459
|
timeIntervalMs: z.ZodNumber;
|
|
388
460
|
}, "strip", z.ZodTypeAny, {
|
|
389
461
|
type: "deviceCarousel";
|
|
390
462
|
area: string;
|
|
391
463
|
deviceIds: string[];
|
|
392
464
|
timeIntervalMs: number;
|
|
465
|
+
streams?: {
|
|
466
|
+
deviceId: string;
|
|
467
|
+
streamId: string;
|
|
468
|
+
}[] | undefined;
|
|
393
469
|
}, {
|
|
394
470
|
type: "deviceCarousel";
|
|
395
471
|
area: string;
|
|
396
472
|
deviceIds: string[];
|
|
397
473
|
timeIntervalMs: number;
|
|
474
|
+
streams?: {
|
|
475
|
+
deviceId: string;
|
|
476
|
+
streamId: string;
|
|
477
|
+
}[] | undefined;
|
|
398
478
|
}>, z.ZodObject<{
|
|
399
479
|
area: z.ZodString;
|
|
400
480
|
type: z.ZodLiteral<"playbackTrack">;
|
|
@@ -447,6 +527,10 @@ export declare const sViewInfo: z.ZodIntersection<z.ZodObject<{
|
|
|
447
527
|
area: string;
|
|
448
528
|
deviceIds: string[];
|
|
449
529
|
timeIntervalMs: number;
|
|
530
|
+
streams?: {
|
|
531
|
+
deviceId: string;
|
|
532
|
+
streamId: string;
|
|
533
|
+
}[] | undefined;
|
|
450
534
|
} | {
|
|
451
535
|
type: "playbackTrack";
|
|
452
536
|
source: {
|
|
@@ -478,6 +562,10 @@ export declare const sViewInfo: z.ZodIntersection<z.ZodObject<{
|
|
|
478
562
|
area: string;
|
|
479
563
|
deviceIds: string[];
|
|
480
564
|
timeIntervalMs: number;
|
|
565
|
+
streams?: {
|
|
566
|
+
deviceId: string;
|
|
567
|
+
streamId: string;
|
|
568
|
+
}[] | undefined;
|
|
481
569
|
} | {
|
|
482
570
|
type: "playbackTrack";
|
|
483
571
|
source: {
|
|
@@ -562,17 +650,35 @@ export declare const sViewDto: z.ZodIntersection<z.ZodObject<{
|
|
|
562
650
|
area: z.ZodString;
|
|
563
651
|
type: z.ZodLiteral<"deviceCarousel">;
|
|
564
652
|
deviceIds: z.ZodArray<z.ZodString, "many">;
|
|
653
|
+
streams: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
654
|
+
deviceId: z.ZodString;
|
|
655
|
+
streamId: z.ZodString;
|
|
656
|
+
}, "strip", z.ZodTypeAny, {
|
|
657
|
+
deviceId: string;
|
|
658
|
+
streamId: string;
|
|
659
|
+
}, {
|
|
660
|
+
deviceId: string;
|
|
661
|
+
streamId: string;
|
|
662
|
+
}>, "many">>;
|
|
565
663
|
timeIntervalMs: z.ZodNumber;
|
|
566
664
|
}, "strip", z.ZodTypeAny, {
|
|
567
665
|
type: "deviceCarousel";
|
|
568
666
|
area: string;
|
|
569
667
|
deviceIds: string[];
|
|
570
668
|
timeIntervalMs: number;
|
|
669
|
+
streams?: {
|
|
670
|
+
deviceId: string;
|
|
671
|
+
streamId: string;
|
|
672
|
+
}[] | undefined;
|
|
571
673
|
}, {
|
|
572
674
|
type: "deviceCarousel";
|
|
573
675
|
area: string;
|
|
574
676
|
deviceIds: string[];
|
|
575
677
|
timeIntervalMs: number;
|
|
678
|
+
streams?: {
|
|
679
|
+
deviceId: string;
|
|
680
|
+
streamId: string;
|
|
681
|
+
}[] | undefined;
|
|
576
682
|
}>, z.ZodObject<{
|
|
577
683
|
area: z.ZodString;
|
|
578
684
|
type: z.ZodLiteral<"playbackTrack">;
|
|
@@ -625,6 +731,10 @@ export declare const sViewDto: z.ZodIntersection<z.ZodObject<{
|
|
|
625
731
|
area: string;
|
|
626
732
|
deviceIds: string[];
|
|
627
733
|
timeIntervalMs: number;
|
|
734
|
+
streams?: {
|
|
735
|
+
deviceId: string;
|
|
736
|
+
streamId: string;
|
|
737
|
+
}[] | undefined;
|
|
628
738
|
} | {
|
|
629
739
|
type: "playbackTrack";
|
|
630
740
|
source: {
|
|
@@ -656,6 +766,10 @@ export declare const sViewDto: z.ZodIntersection<z.ZodObject<{
|
|
|
656
766
|
area: string;
|
|
657
767
|
deviceIds: string[];
|
|
658
768
|
timeIntervalMs: number;
|
|
769
|
+
streams?: {
|
|
770
|
+
deviceId: string;
|
|
771
|
+
streamId: string;
|
|
772
|
+
}[] | undefined;
|
|
659
773
|
} | {
|
|
660
774
|
type: "playbackTrack";
|
|
661
775
|
source: {
|
package/dist/objects/view.js
CHANGED
|
@@ -21,6 +21,12 @@ exports.sDeviceCarouselArea = zod_1.z.object({
|
|
|
21
21
|
area: zod_1.z.string().nonempty(),
|
|
22
22
|
type: zod_1.z.literal('deviceCarousel'),
|
|
23
23
|
deviceIds: zod_1.z.array(zod_1.z.string().nonempty()),
|
|
24
|
+
streams: zod_1.z
|
|
25
|
+
.array(zod_1.z.object({
|
|
26
|
+
deviceId: zod_1.z.string().nonempty(),
|
|
27
|
+
streamId: zod_1.z.string().nonempty(),
|
|
28
|
+
}))
|
|
29
|
+
.optional(),
|
|
24
30
|
timeIntervalMs: zod_1.z.number().nonnegative(),
|
|
25
31
|
});
|
|
26
32
|
exports.sPlaybackTrackArea = zod_1.z.object({
|
package/dist/package.json
CHANGED