@awarevue/api-types 2.0.40 → 2.0.41

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.
@@ -34,14 +34,17 @@ export declare const sAddViewRequest: z.ZodObject<{
34
34
  area: z.ZodString;
35
35
  type: z.ZodLiteral<"device">;
36
36
  deviceId: z.ZodString;
37
+ streamId: z.ZodOptional<z.ZodString>;
37
38
  }, "strip", z.ZodTypeAny, {
38
39
  type: "device";
39
40
  area: string;
40
41
  deviceId: string;
42
+ streamId?: string | undefined;
41
43
  }, {
42
44
  type: "device";
43
45
  area: string;
44
46
  deviceId: string;
47
+ streamId?: string | undefined;
45
48
  }>, z.ZodObject<{
46
49
  area: z.ZodString;
47
50
  type: z.ZodLiteral<"deviceCarousel">;
@@ -103,6 +106,7 @@ export declare const sAddViewRequest: z.ZodObject<{
103
106
  type: "device";
104
107
  area: string;
105
108
  deviceId: string;
109
+ streamId?: string | undefined;
106
110
  } | {
107
111
  type: "deviceCarousel";
108
112
  area: string;
@@ -133,6 +137,7 @@ export declare const sAddViewRequest: z.ZodObject<{
133
137
  type: "device";
134
138
  area: string;
135
139
  deviceId: string;
140
+ streamId?: string | undefined;
136
141
  } | {
137
142
  type: "deviceCarousel";
138
143
  area: string;
@@ -167,6 +172,7 @@ export declare const sAddViewRequest: z.ZodObject<{
167
172
  type: "device";
168
173
  area: string;
169
174
  deviceId: string;
175
+ streamId?: string | undefined;
170
176
  } | {
171
177
  type: "deviceCarousel";
172
178
  area: string;
@@ -203,6 +209,7 @@ export declare const sAddViewRequest: z.ZodObject<{
203
209
  type: "device";
204
210
  area: string;
205
211
  deviceId: string;
212
+ streamId?: string | undefined;
206
213
  } | {
207
214
  type: "deviceCarousel";
208
215
  area: string;
@@ -257,14 +264,17 @@ export declare const sUpdateViewRequest: z.ZodObject<{
257
264
  area: z.ZodString;
258
265
  type: z.ZodLiteral<"device">;
259
266
  deviceId: z.ZodString;
267
+ streamId: z.ZodOptional<z.ZodString>;
260
268
  }, "strip", z.ZodTypeAny, {
261
269
  type: "device";
262
270
  area: string;
263
271
  deviceId: string;
272
+ streamId?: string | undefined;
264
273
  }, {
265
274
  type: "device";
266
275
  area: string;
267
276
  deviceId: string;
277
+ streamId?: string | undefined;
268
278
  }>, z.ZodObject<{
269
279
  area: z.ZodString;
270
280
  type: z.ZodLiteral<"deviceCarousel">;
@@ -326,6 +336,7 @@ export declare const sUpdateViewRequest: z.ZodObject<{
326
336
  type: "device";
327
337
  area: string;
328
338
  deviceId: string;
339
+ streamId?: string | undefined;
329
340
  } | {
330
341
  type: "deviceCarousel";
331
342
  area: string;
@@ -356,6 +367,7 @@ export declare const sUpdateViewRequest: z.ZodObject<{
356
367
  type: "device";
357
368
  area: string;
358
369
  deviceId: string;
370
+ streamId?: string | undefined;
359
371
  } | {
360
372
  type: "deviceCarousel";
361
373
  area: string;
@@ -392,6 +404,7 @@ export declare const sUpdateViewRequest: z.ZodObject<{
392
404
  type: "device";
393
405
  area: string;
394
406
  deviceId: string;
407
+ streamId?: string | undefined;
395
408
  } | {
396
409
  type: "deviceCarousel";
397
410
  area: string;
@@ -428,6 +441,7 @@ export declare const sUpdateViewRequest: z.ZodObject<{
428
441
  type: "device";
429
442
  area: string;
430
443
  deviceId: string;
444
+ streamId?: string | undefined;
431
445
  } | {
432
446
  type: "deviceCarousel";
433
447
  area: string;
@@ -28,14 +28,17 @@ export declare const sDeviceArea: z.ZodObject<{
28
28
  area: z.ZodString;
29
29
  type: z.ZodLiteral<"device">;
30
30
  deviceId: z.ZodString;
31
+ streamId: z.ZodOptional<z.ZodString>;
31
32
  }, "strip", z.ZodTypeAny, {
32
33
  type: "device";
33
34
  area: string;
34
35
  deviceId: string;
36
+ streamId?: string | undefined;
35
37
  }, {
36
38
  type: "device";
37
39
  area: string;
38
40
  deviceId: string;
41
+ streamId?: string | undefined;
39
42
  }>;
40
43
  export type DeviceArea = z.infer<typeof sDeviceArea>;
41
44
  export declare const sDeviceCarouselArea: z.ZodObject<{
@@ -113,14 +116,17 @@ export declare const sViewAreaContents: z.ZodUnion<[z.ZodObject<{
113
116
  area: z.ZodString;
114
117
  type: z.ZodLiteral<"device">;
115
118
  deviceId: z.ZodString;
119
+ streamId: z.ZodOptional<z.ZodString>;
116
120
  }, "strip", z.ZodTypeAny, {
117
121
  type: "device";
118
122
  area: string;
119
123
  deviceId: string;
124
+ streamId?: string | undefined;
120
125
  }, {
121
126
  type: "device";
122
127
  area: string;
123
128
  deviceId: string;
129
+ streamId?: string | undefined;
124
130
  }>, z.ZodObject<{
125
131
  area: z.ZodString;
126
132
  type: z.ZodLiteral<"deviceCarousel">;
@@ -197,14 +203,17 @@ export declare const sViewConfig: z.ZodObject<{
197
203
  area: z.ZodString;
198
204
  type: z.ZodLiteral<"device">;
199
205
  deviceId: z.ZodString;
206
+ streamId: z.ZodOptional<z.ZodString>;
200
207
  }, "strip", z.ZodTypeAny, {
201
208
  type: "device";
202
209
  area: string;
203
210
  deviceId: string;
211
+ streamId?: string | undefined;
204
212
  }, {
205
213
  type: "device";
206
214
  area: string;
207
215
  deviceId: string;
216
+ streamId?: string | undefined;
208
217
  }>, z.ZodObject<{
209
218
  area: z.ZodString;
210
219
  type: z.ZodLiteral<"deviceCarousel">;
@@ -266,6 +275,7 @@ export declare const sViewConfig: z.ZodObject<{
266
275
  type: "device";
267
276
  area: string;
268
277
  deviceId: string;
278
+ streamId?: string | undefined;
269
279
  } | {
270
280
  type: "deviceCarousel";
271
281
  area: string;
@@ -296,6 +306,7 @@ export declare const sViewConfig: z.ZodObject<{
296
306
  type: "device";
297
307
  area: string;
298
308
  deviceId: string;
309
+ streamId?: string | undefined;
299
310
  } | {
300
311
  type: "deviceCarousel";
301
312
  area: string;
@@ -358,14 +369,17 @@ export declare const sViewInfo: z.ZodIntersection<z.ZodObject<{
358
369
  area: z.ZodString;
359
370
  type: z.ZodLiteral<"device">;
360
371
  deviceId: z.ZodString;
372
+ streamId: z.ZodOptional<z.ZodString>;
361
373
  }, "strip", z.ZodTypeAny, {
362
374
  type: "device";
363
375
  area: string;
364
376
  deviceId: string;
377
+ streamId?: string | undefined;
365
378
  }, {
366
379
  type: "device";
367
380
  area: string;
368
381
  deviceId: string;
382
+ streamId?: string | undefined;
369
383
  }>, z.ZodObject<{
370
384
  area: z.ZodString;
371
385
  type: z.ZodLiteral<"deviceCarousel">;
@@ -427,6 +441,7 @@ export declare const sViewInfo: z.ZodIntersection<z.ZodObject<{
427
441
  type: "device";
428
442
  area: string;
429
443
  deviceId: string;
444
+ streamId?: string | undefined;
430
445
  } | {
431
446
  type: "deviceCarousel";
432
447
  area: string;
@@ -457,6 +472,7 @@ export declare const sViewInfo: z.ZodIntersection<z.ZodObject<{
457
472
  type: "device";
458
473
  area: string;
459
474
  deviceId: string;
475
+ streamId?: string | undefined;
460
476
  } | {
461
477
  type: "deviceCarousel";
462
478
  area: string;
@@ -531,14 +547,17 @@ export declare const sViewDto: z.ZodIntersection<z.ZodObject<{
531
547
  area: z.ZodString;
532
548
  type: z.ZodLiteral<"device">;
533
549
  deviceId: z.ZodString;
550
+ streamId: z.ZodOptional<z.ZodString>;
534
551
  }, "strip", z.ZodTypeAny, {
535
552
  type: "device";
536
553
  area: string;
537
554
  deviceId: string;
555
+ streamId?: string | undefined;
538
556
  }, {
539
557
  type: "device";
540
558
  area: string;
541
559
  deviceId: string;
560
+ streamId?: string | undefined;
542
561
  }>, z.ZodObject<{
543
562
  area: z.ZodString;
544
563
  type: z.ZodLiteral<"deviceCarousel">;
@@ -600,6 +619,7 @@ export declare const sViewDto: z.ZodIntersection<z.ZodObject<{
600
619
  type: "device";
601
620
  area: string;
602
621
  deviceId: string;
622
+ streamId?: string | undefined;
603
623
  } | {
604
624
  type: "deviceCarousel";
605
625
  area: string;
@@ -630,6 +650,7 @@ export declare const sViewDto: z.ZodIntersection<z.ZodObject<{
630
650
  type: "device";
631
651
  area: string;
632
652
  deviceId: string;
653
+ streamId?: string | undefined;
633
654
  } | {
634
655
  type: "deviceCarousel";
635
656
  area: string;
@@ -15,6 +15,7 @@ exports.sDeviceArea = zod_1.z.object({
15
15
  area: zod_1.z.string().nonempty(),
16
16
  type: zod_1.z.literal('device'),
17
17
  deviceId: zod_1.z.string().nonempty(),
18
+ streamId: zod_1.z.string().nonempty().optional(),
18
19
  });
19
20
  exports.sDeviceCarouselArea = zod_1.z.object({
20
21
  area: zod_1.z.string().nonempty(),
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@awarevue/api-types",
3
- "version": "2.0.40",
3
+ "version": "2.0.41",
4
4
  "description": "Common types between backend, agent(s) and frontend(s)",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@awarevue/api-types",
3
- "version": "2.0.40",
3
+ "version": "2.0.41",
4
4
  "description": "Common types between backend, agent(s) and frontend(s)",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",