@awarevue/api-types 2.0.53 → 2.0.54
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/agent-protocol/protocol.d.ts +853 -840
- package/dist/api/agent-protocol/protocol.js +14 -1
- package/dist/api/commands/all.d.ts +224 -224
- package/dist/api/commands/camera.d.ts +16 -16
- package/dist/api/commands/display.d.ts +48 -48
- package/dist/api/commands/nvr-exporter.d.ts +194 -194
- package/dist/api/commands/server.d.ts +202 -202
- package/dist/api/events/all.d.ts +30 -30
- package/dist/api/events/camera.d.ts +42 -42
- package/dist/api/events/door.d.ts +4 -4
- package/dist/api/events/intercom-terminal.d.ts +8 -8
- package/dist/api/events/io-board.d.ts +4 -4
- package/dist/api/queries/all.d.ts +225 -225
- package/dist/api/queries/camera.d.ts +8 -8
- package/dist/api/queries/nvr-analytics-server.d.ts +36 -36
- package/dist/api/queries/nvr-exporter.d.ts +18 -18
- package/dist/api/queries/nvr-recorder.d.ts +398 -398
- package/dist/api/rest/agreement.d.ts +5 -5
- package/dist/api/rest/automation.d.ts +46 -46
- package/dist/api/rest/bookmarks.d.ts +12 -12
- package/dist/api/rest/custom-field.d.ts +5 -5
- package/dist/api/rest/device.d.ts +6 -6
- package/dist/api/rest/io-device.d.ts +14 -14
- package/dist/api/rest/layout.d.ts +16 -16
- package/dist/api/rest/macros.d.ts +13 -13
- package/dist/api/rest/media.d.ts +16 -16
- package/dist/api/rest/person.d.ts +12 -12
- package/dist/api/rest/query.d.ts +2 -2
- package/dist/api/rest/schedule.d.ts +24 -24
- package/dist/api/rest/security-level.d.ts +10 -10
- package/dist/api/rest/template.d.ts +4 -4
- package/dist/api/rest/token-conversion.d.ts +5 -5
- package/dist/api/rest/user.d.ts +17 -17
- package/dist/api/rest/view.d.ts +44 -44
- package/dist/api/ws/device-communication.d.ts +6 -6
- package/dist/api/ws/notifications.d.ts +4 -4
- package/dist/api/ws/progress.d.ts +15 -15
- package/dist/api/ws/web-rtc-signaling.d.ts +2 -2
- package/dist/objects/access-rule.d.ts +2 -2
- package/dist/objects/agent-metadata.d.ts +16 -16
- package/dist/objects/agreement.d.ts +2 -2
- package/dist/objects/api-key.d.ts +2 -2
- package/dist/objects/automation-rule.d.ts +34 -34
- package/dist/objects/bookmark.d.ts +8 -8
- package/dist/objects/credential.d.ts +2 -2
- package/dist/objects/custom-field.d.ts +2 -2
- package/dist/objects/device/any-device.d.ts +205 -205
- package/dist/objects/device/camera.d.ts +26 -26
- package/dist/objects/device/device-import.d.ts +277 -277
- package/dist/objects/device/door.d.ts +2 -2
- package/dist/objects/device/intercom-terminal.d.ts +2 -2
- package/dist/objects/layout.d.ts +16 -16
- package/dist/objects/macro.d.ts +14 -14
- package/dist/objects/notification.d.ts +4 -4
- package/dist/objects/person-presence.d.ts +12 -12
- package/dist/objects/person.d.ts +14 -14
- package/dist/objects/role.d.ts +2 -2
- package/dist/objects/schedule.d.ts +36 -36
- package/dist/objects/security-level.d.ts +6 -6
- package/dist/objects/template.d.ts +2 -2
- package/dist/objects/token-conversion.d.ts +2 -2
- package/dist/objects/user.d.ts +4 -4
- package/dist/objects/view.d.ts +58 -58
- package/dist/objects/zone.d.ts +2 -2
- package/dist/package.json +1 -1
- package/dist/primitives.d.ts +60 -60
- package/package.json +1 -1
package/dist/api/events/all.d.ts
CHANGED
|
@@ -17,14 +17,14 @@ export declare const sDeviceCommandTriggered: z.ZodObject<{
|
|
|
17
17
|
command: z.ZodString;
|
|
18
18
|
args: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
19
19
|
}, "strip", z.ZodTypeAny, {
|
|
20
|
-
args: Record<string, unknown>;
|
|
21
20
|
kind: "device-command";
|
|
22
21
|
command: string;
|
|
22
|
+
args: Record<string, unknown>;
|
|
23
23
|
userId?: string | undefined;
|
|
24
24
|
}, {
|
|
25
|
-
args: Record<string, unknown>;
|
|
26
25
|
kind: "device-command";
|
|
27
26
|
command: string;
|
|
27
|
+
args: Record<string, unknown>;
|
|
28
28
|
userId?: string | undefined;
|
|
29
29
|
}>;
|
|
30
30
|
export type DeviceCommandTriggered = z.infer<typeof sDeviceCommandTriggered>;
|
|
@@ -105,14 +105,14 @@ export declare const eventSchemaByKind: {
|
|
|
105
105
|
command: z.ZodString;
|
|
106
106
|
args: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
107
107
|
}, "strip", z.ZodTypeAny, {
|
|
108
|
-
args: Record<string, unknown>;
|
|
109
108
|
kind: "device-command";
|
|
110
109
|
command: string;
|
|
110
|
+
args: Record<string, unknown>;
|
|
111
111
|
userId?: string | undefined;
|
|
112
112
|
}, {
|
|
113
|
-
args: Record<string, unknown>;
|
|
114
113
|
kind: "device-command";
|
|
115
114
|
command: string;
|
|
115
|
+
args: Record<string, unknown>;
|
|
116
116
|
userId?: string | undefined;
|
|
117
117
|
}>;
|
|
118
118
|
'device-connected': z.ZodObject<{
|
|
@@ -251,12 +251,12 @@ export declare const eventSchemaByKind: {
|
|
|
251
251
|
inputName: z.ZodString;
|
|
252
252
|
value: z.ZodBoolean;
|
|
253
253
|
}, "strip", z.ZodTypeAny, {
|
|
254
|
-
value: boolean;
|
|
255
254
|
kind: "io-board-input-changed";
|
|
255
|
+
value: boolean;
|
|
256
256
|
inputName: string;
|
|
257
257
|
}, {
|
|
258
|
-
value: boolean;
|
|
259
258
|
kind: "io-board-input-changed";
|
|
259
|
+
value: boolean;
|
|
260
260
|
inputName: string;
|
|
261
261
|
}>;
|
|
262
262
|
'call-state-changed': z.ZodObject<{
|
|
@@ -269,19 +269,19 @@ export declare const eventSchemaByKind: {
|
|
|
269
269
|
sipCallId: z.ZodOptional<z.ZodString>;
|
|
270
270
|
direction: z.ZodEnum<["incoming", "outgoing"]>;
|
|
271
271
|
}, "strip", z.ZodTypeAny, {
|
|
272
|
-
state: "connected" | "connecting" | "ringing" | "terminated";
|
|
273
|
-
direction: "incoming" | "outgoing";
|
|
274
272
|
kind: "call-state-changed";
|
|
275
273
|
callId: string;
|
|
274
|
+
state: "connecting" | "connected" | "ringing" | "terminated";
|
|
275
|
+
direction: "incoming" | "outgoing";
|
|
276
276
|
peer?: string | undefined;
|
|
277
277
|
userId?: string | undefined;
|
|
278
278
|
sipAccount?: string | undefined;
|
|
279
279
|
sipCallId?: string | undefined;
|
|
280
280
|
}, {
|
|
281
|
-
state: "connected" | "connecting" | "ringing" | "terminated";
|
|
282
|
-
direction: "incoming" | "outgoing";
|
|
283
281
|
kind: "call-state-changed";
|
|
284
282
|
callId: string;
|
|
283
|
+
state: "connecting" | "connected" | "ringing" | "terminated";
|
|
284
|
+
direction: "incoming" | "outgoing";
|
|
285
285
|
peer?: string | undefined;
|
|
286
286
|
userId?: string | undefined;
|
|
287
287
|
sipAccount?: string | undefined;
|
|
@@ -296,16 +296,16 @@ export declare const eventSchemaByKind: {
|
|
|
296
296
|
doorExit: z.ZodBoolean;
|
|
297
297
|
description: z.ZodString;
|
|
298
298
|
}, "strip", z.ZodTypeAny, {
|
|
299
|
-
description: string;
|
|
300
299
|
kind: "door-access";
|
|
300
|
+
description: string;
|
|
301
301
|
token: string | null;
|
|
302
302
|
tokenType: "card" | "pin" | "fingerprint" | null;
|
|
303
303
|
allowed: boolean;
|
|
304
304
|
doorExit: boolean;
|
|
305
305
|
personId?: string | undefined;
|
|
306
306
|
}, {
|
|
307
|
-
description: string;
|
|
308
307
|
kind: "door-access";
|
|
308
|
+
description: string;
|
|
309
309
|
token: string | null;
|
|
310
310
|
tokenType: "card" | "pin" | "fingerprint" | null;
|
|
311
311
|
allowed: boolean;
|
|
@@ -445,19 +445,19 @@ export declare const eventSchemaByKind: {
|
|
|
445
445
|
startTime: z.ZodNumber;
|
|
446
446
|
endTime: z.ZodNullable<z.ZodNumber>;
|
|
447
447
|
}, "strip", z.ZodTypeAny, {
|
|
448
|
-
endTime: number | null;
|
|
449
|
-
startTime: number;
|
|
450
448
|
objectKind: string | null;
|
|
451
449
|
probability: number;
|
|
452
450
|
identifiedObjectId: string | null;
|
|
453
451
|
frameTime: number;
|
|
454
|
-
}, {
|
|
455
|
-
endTime: number | null;
|
|
456
452
|
startTime: number;
|
|
453
|
+
endTime: number | null;
|
|
454
|
+
}, {
|
|
457
455
|
objectKind: string | null;
|
|
458
456
|
probability: number;
|
|
459
457
|
identifiedObjectId: string | null;
|
|
460
458
|
frameTime: number;
|
|
459
|
+
startTime: number;
|
|
460
|
+
endTime: number | null;
|
|
461
461
|
}>, z.ZodObject<{
|
|
462
462
|
locatorKind: z.ZodLiteral<"box">;
|
|
463
463
|
x1: z.ZodNumber;
|
|
@@ -497,19 +497,19 @@ export declare const eventSchemaByKind: {
|
|
|
497
497
|
startTime: z.ZodNumber;
|
|
498
498
|
endTime: z.ZodNullable<z.ZodNumber>;
|
|
499
499
|
}, "strip", z.ZodTypeAny, {
|
|
500
|
-
endTime: number | null;
|
|
501
|
-
startTime: number;
|
|
502
500
|
objectKind: string | null;
|
|
503
501
|
probability: number;
|
|
504
502
|
identifiedObjectId: string | null;
|
|
505
503
|
frameTime: number;
|
|
506
|
-
}, {
|
|
507
|
-
endTime: number | null;
|
|
508
504
|
startTime: number;
|
|
505
|
+
endTime: number | null;
|
|
506
|
+
}, {
|
|
509
507
|
objectKind: string | null;
|
|
510
508
|
probability: number;
|
|
511
509
|
identifiedObjectId: string | null;
|
|
512
510
|
frameTime: number;
|
|
511
|
+
startTime: number;
|
|
512
|
+
endTime: number | null;
|
|
513
513
|
}>, z.ZodObject<{
|
|
514
514
|
locatorKind: z.ZodLiteral<"box">;
|
|
515
515
|
x1: z.ZodNumber;
|
|
@@ -549,19 +549,19 @@ export declare const eventSchemaByKind: {
|
|
|
549
549
|
startTime: z.ZodNumber;
|
|
550
550
|
endTime: z.ZodNullable<z.ZodNumber>;
|
|
551
551
|
}, "strip", z.ZodTypeAny, {
|
|
552
|
-
endTime: number | null;
|
|
553
|
-
startTime: number;
|
|
554
552
|
objectKind: string | null;
|
|
555
553
|
probability: number;
|
|
556
554
|
identifiedObjectId: string | null;
|
|
557
555
|
frameTime: number;
|
|
558
|
-
}, {
|
|
559
|
-
endTime: number | null;
|
|
560
556
|
startTime: number;
|
|
557
|
+
endTime: number | null;
|
|
558
|
+
}, {
|
|
561
559
|
objectKind: string | null;
|
|
562
560
|
probability: number;
|
|
563
561
|
identifiedObjectId: string | null;
|
|
564
562
|
frameTime: number;
|
|
563
|
+
startTime: number;
|
|
564
|
+
endTime: number | null;
|
|
565
565
|
}>, z.ZodObject<{
|
|
566
566
|
locatorKind: z.ZodLiteral<"box">;
|
|
567
567
|
x1: z.ZodNumber;
|
|
@@ -599,13 +599,13 @@ export declare const eventSchemaByKind: {
|
|
|
599
599
|
startTime: z.ZodNumber;
|
|
600
600
|
endTime: z.ZodNullable<z.ZodNumber>;
|
|
601
601
|
}, "strip", z.ZodTypeAny, {
|
|
602
|
-
endTime: number | null;
|
|
603
602
|
startTime: number;
|
|
603
|
+
endTime: number | null;
|
|
604
604
|
detections: string[];
|
|
605
605
|
clipUrl?: string | undefined;
|
|
606
606
|
}, {
|
|
607
|
-
endTime: number | null;
|
|
608
607
|
startTime: number;
|
|
608
|
+
endTime: number | null;
|
|
609
609
|
detections: string[];
|
|
610
610
|
clipUrl?: string | undefined;
|
|
611
611
|
}>>;
|
|
@@ -627,13 +627,13 @@ export declare const eventSchemaByKind: {
|
|
|
627
627
|
startTime: z.ZodNumber;
|
|
628
628
|
endTime: z.ZodNullable<z.ZodNumber>;
|
|
629
629
|
}, "strip", z.ZodTypeAny, {
|
|
630
|
-
endTime: number | null;
|
|
631
630
|
startTime: number;
|
|
631
|
+
endTime: number | null;
|
|
632
632
|
detections: string[];
|
|
633
633
|
clipUrl?: string | undefined;
|
|
634
634
|
}, {
|
|
635
|
-
endTime: number | null;
|
|
636
635
|
startTime: number;
|
|
636
|
+
endTime: number | null;
|
|
637
637
|
detections: string[];
|
|
638
638
|
clipUrl?: string | undefined;
|
|
639
639
|
}>>;
|
|
@@ -655,13 +655,13 @@ export declare const eventSchemaByKind: {
|
|
|
655
655
|
startTime: z.ZodNumber;
|
|
656
656
|
endTime: z.ZodNullable<z.ZodNumber>;
|
|
657
657
|
}, "strip", z.ZodTypeAny, {
|
|
658
|
-
endTime: number | null;
|
|
659
658
|
startTime: number;
|
|
659
|
+
endTime: number | null;
|
|
660
660
|
detections: string[];
|
|
661
661
|
clipUrl?: string | undefined;
|
|
662
662
|
}, {
|
|
663
|
-
endTime: number | null;
|
|
664
663
|
startTime: number;
|
|
664
|
+
endTime: number | null;
|
|
665
665
|
detections: string[];
|
|
666
666
|
clipUrl?: string | undefined;
|
|
667
667
|
}>>;
|
|
@@ -81,19 +81,19 @@ export declare const sObjectDetectionData: z.ZodIntersection<z.ZodObject<{
|
|
|
81
81
|
startTime: z.ZodNumber;
|
|
82
82
|
endTime: z.ZodNullable<z.ZodNumber>;
|
|
83
83
|
}, "strip", z.ZodTypeAny, {
|
|
84
|
-
endTime: number | null;
|
|
85
|
-
startTime: number;
|
|
86
84
|
objectKind: string | null;
|
|
87
85
|
probability: number;
|
|
88
86
|
identifiedObjectId: string | null;
|
|
89
87
|
frameTime: number;
|
|
90
|
-
}, {
|
|
91
|
-
endTime: number | null;
|
|
92
88
|
startTime: number;
|
|
89
|
+
endTime: number | null;
|
|
90
|
+
}, {
|
|
93
91
|
objectKind: string | null;
|
|
94
92
|
probability: number;
|
|
95
93
|
identifiedObjectId: string | null;
|
|
96
94
|
frameTime: number;
|
|
95
|
+
startTime: number;
|
|
96
|
+
endTime: number | null;
|
|
97
97
|
}>, z.ZodObject<{
|
|
98
98
|
locatorKind: z.ZodLiteral<"box">;
|
|
99
99
|
x1: z.ZodNumber;
|
|
@@ -133,19 +133,19 @@ export declare const sObjectDetectionStarted: z.ZodIntersection<z.ZodObject<{
|
|
|
133
133
|
startTime: z.ZodNumber;
|
|
134
134
|
endTime: z.ZodNullable<z.ZodNumber>;
|
|
135
135
|
}, "strip", z.ZodTypeAny, {
|
|
136
|
-
endTime: number | null;
|
|
137
|
-
startTime: number;
|
|
138
136
|
objectKind: string | null;
|
|
139
137
|
probability: number;
|
|
140
138
|
identifiedObjectId: string | null;
|
|
141
139
|
frameTime: number;
|
|
142
|
-
}, {
|
|
143
|
-
endTime: number | null;
|
|
144
140
|
startTime: number;
|
|
141
|
+
endTime: number | null;
|
|
142
|
+
}, {
|
|
145
143
|
objectKind: string | null;
|
|
146
144
|
probability: number;
|
|
147
145
|
identifiedObjectId: string | null;
|
|
148
146
|
frameTime: number;
|
|
147
|
+
startTime: number;
|
|
148
|
+
endTime: number | null;
|
|
149
149
|
}>, z.ZodObject<{
|
|
150
150
|
locatorKind: z.ZodLiteral<"box">;
|
|
151
151
|
x1: z.ZodNumber;
|
|
@@ -185,19 +185,19 @@ export declare const sObjectDetectionUpdated: z.ZodIntersection<z.ZodObject<{
|
|
|
185
185
|
startTime: z.ZodNumber;
|
|
186
186
|
endTime: z.ZodNullable<z.ZodNumber>;
|
|
187
187
|
}, "strip", z.ZodTypeAny, {
|
|
188
|
-
endTime: number | null;
|
|
189
|
-
startTime: number;
|
|
190
188
|
objectKind: string | null;
|
|
191
189
|
probability: number;
|
|
192
190
|
identifiedObjectId: string | null;
|
|
193
191
|
frameTime: number;
|
|
194
|
-
}, {
|
|
195
|
-
endTime: number | null;
|
|
196
192
|
startTime: number;
|
|
193
|
+
endTime: number | null;
|
|
194
|
+
}, {
|
|
197
195
|
objectKind: string | null;
|
|
198
196
|
probability: number;
|
|
199
197
|
identifiedObjectId: string | null;
|
|
200
198
|
frameTime: number;
|
|
199
|
+
startTime: number;
|
|
200
|
+
endTime: number | null;
|
|
201
201
|
}>, z.ZodObject<{
|
|
202
202
|
locatorKind: z.ZodLiteral<"box">;
|
|
203
203
|
x1: z.ZodNumber;
|
|
@@ -237,19 +237,19 @@ export declare const sObjectDetectionEnded: z.ZodIntersection<z.ZodObject<{
|
|
|
237
237
|
startTime: z.ZodNumber;
|
|
238
238
|
endTime: z.ZodNullable<z.ZodNumber>;
|
|
239
239
|
}, "strip", z.ZodTypeAny, {
|
|
240
|
-
endTime: number | null;
|
|
241
|
-
startTime: number;
|
|
242
240
|
objectKind: string | null;
|
|
243
241
|
probability: number;
|
|
244
242
|
identifiedObjectId: string | null;
|
|
245
243
|
frameTime: number;
|
|
246
|
-
}, {
|
|
247
|
-
endTime: number | null;
|
|
248
244
|
startTime: number;
|
|
245
|
+
endTime: number | null;
|
|
246
|
+
}, {
|
|
249
247
|
objectKind: string | null;
|
|
250
248
|
probability: number;
|
|
251
249
|
identifiedObjectId: string | null;
|
|
252
250
|
frameTime: number;
|
|
251
|
+
startTime: number;
|
|
252
|
+
endTime: number | null;
|
|
253
253
|
}>, z.ZodObject<{
|
|
254
254
|
locatorKind: z.ZodLiteral<"box">;
|
|
255
255
|
x1: z.ZodNumber;
|
|
@@ -275,13 +275,13 @@ export declare const sSceneData: z.ZodObject<{
|
|
|
275
275
|
startTime: z.ZodNumber;
|
|
276
276
|
endTime: z.ZodNullable<z.ZodNumber>;
|
|
277
277
|
}, "strip", z.ZodTypeAny, {
|
|
278
|
-
endTime: number | null;
|
|
279
278
|
startTime: number;
|
|
279
|
+
endTime: number | null;
|
|
280
280
|
detections: string[];
|
|
281
281
|
clipUrl?: string | undefined;
|
|
282
282
|
}, {
|
|
283
|
-
endTime: number | null;
|
|
284
283
|
startTime: number;
|
|
284
|
+
endTime: number | null;
|
|
285
285
|
detections: string[];
|
|
286
286
|
clipUrl?: string | undefined;
|
|
287
287
|
}>;
|
|
@@ -303,13 +303,13 @@ export declare const sSceneCreated: z.ZodIntersection<z.ZodObject<{
|
|
|
303
303
|
startTime: z.ZodNumber;
|
|
304
304
|
endTime: z.ZodNullable<z.ZodNumber>;
|
|
305
305
|
}, "strip", z.ZodTypeAny, {
|
|
306
|
-
endTime: number | null;
|
|
307
306
|
startTime: number;
|
|
307
|
+
endTime: number | null;
|
|
308
308
|
detections: string[];
|
|
309
309
|
clipUrl?: string | undefined;
|
|
310
310
|
}, {
|
|
311
|
-
endTime: number | null;
|
|
312
311
|
startTime: number;
|
|
312
|
+
endTime: number | null;
|
|
313
313
|
detections: string[];
|
|
314
314
|
clipUrl?: string | undefined;
|
|
315
315
|
}>>;
|
|
@@ -331,13 +331,13 @@ export declare const sSceneUpdated: z.ZodIntersection<z.ZodObject<{
|
|
|
331
331
|
startTime: z.ZodNumber;
|
|
332
332
|
endTime: z.ZodNullable<z.ZodNumber>;
|
|
333
333
|
}, "strip", z.ZodTypeAny, {
|
|
334
|
-
endTime: number | null;
|
|
335
334
|
startTime: number;
|
|
335
|
+
endTime: number | null;
|
|
336
336
|
detections: string[];
|
|
337
337
|
clipUrl?: string | undefined;
|
|
338
338
|
}, {
|
|
339
|
-
endTime: number | null;
|
|
340
339
|
startTime: number;
|
|
340
|
+
endTime: number | null;
|
|
341
341
|
detections: string[];
|
|
342
342
|
clipUrl?: string | undefined;
|
|
343
343
|
}>>;
|
|
@@ -359,13 +359,13 @@ export declare const sSceneEnded: z.ZodIntersection<z.ZodObject<{
|
|
|
359
359
|
startTime: z.ZodNumber;
|
|
360
360
|
endTime: z.ZodNullable<z.ZodNumber>;
|
|
361
361
|
}, "strip", z.ZodTypeAny, {
|
|
362
|
-
endTime: number | null;
|
|
363
362
|
startTime: number;
|
|
363
|
+
endTime: number | null;
|
|
364
364
|
detections: string[];
|
|
365
365
|
clipUrl?: string | undefined;
|
|
366
366
|
}, {
|
|
367
|
-
endTime: number | null;
|
|
368
367
|
startTime: number;
|
|
368
|
+
endTime: number | null;
|
|
369
369
|
detections: string[];
|
|
370
370
|
clipUrl?: string | undefined;
|
|
371
371
|
}>>;
|
|
@@ -426,19 +426,19 @@ export declare const cameraEventSchemasByKind: {
|
|
|
426
426
|
startTime: z.ZodNumber;
|
|
427
427
|
endTime: z.ZodNullable<z.ZodNumber>;
|
|
428
428
|
}, "strip", z.ZodTypeAny, {
|
|
429
|
-
endTime: number | null;
|
|
430
|
-
startTime: number;
|
|
431
429
|
objectKind: string | null;
|
|
432
430
|
probability: number;
|
|
433
431
|
identifiedObjectId: string | null;
|
|
434
432
|
frameTime: number;
|
|
435
|
-
}, {
|
|
436
|
-
endTime: number | null;
|
|
437
433
|
startTime: number;
|
|
434
|
+
endTime: number | null;
|
|
435
|
+
}, {
|
|
438
436
|
objectKind: string | null;
|
|
439
437
|
probability: number;
|
|
440
438
|
identifiedObjectId: string | null;
|
|
441
439
|
frameTime: number;
|
|
440
|
+
startTime: number;
|
|
441
|
+
endTime: number | null;
|
|
442
442
|
}>, z.ZodObject<{
|
|
443
443
|
locatorKind: z.ZodLiteral<"box">;
|
|
444
444
|
x1: z.ZodNumber;
|
|
@@ -478,19 +478,19 @@ export declare const cameraEventSchemasByKind: {
|
|
|
478
478
|
startTime: z.ZodNumber;
|
|
479
479
|
endTime: z.ZodNullable<z.ZodNumber>;
|
|
480
480
|
}, "strip", z.ZodTypeAny, {
|
|
481
|
-
endTime: number | null;
|
|
482
|
-
startTime: number;
|
|
483
481
|
objectKind: string | null;
|
|
484
482
|
probability: number;
|
|
485
483
|
identifiedObjectId: string | null;
|
|
486
484
|
frameTime: number;
|
|
487
|
-
}, {
|
|
488
|
-
endTime: number | null;
|
|
489
485
|
startTime: number;
|
|
486
|
+
endTime: number | null;
|
|
487
|
+
}, {
|
|
490
488
|
objectKind: string | null;
|
|
491
489
|
probability: number;
|
|
492
490
|
identifiedObjectId: string | null;
|
|
493
491
|
frameTime: number;
|
|
492
|
+
startTime: number;
|
|
493
|
+
endTime: number | null;
|
|
494
494
|
}>, z.ZodObject<{
|
|
495
495
|
locatorKind: z.ZodLiteral<"box">;
|
|
496
496
|
x1: z.ZodNumber;
|
|
@@ -530,19 +530,19 @@ export declare const cameraEventSchemasByKind: {
|
|
|
530
530
|
startTime: z.ZodNumber;
|
|
531
531
|
endTime: z.ZodNullable<z.ZodNumber>;
|
|
532
532
|
}, "strip", z.ZodTypeAny, {
|
|
533
|
-
endTime: number | null;
|
|
534
|
-
startTime: number;
|
|
535
533
|
objectKind: string | null;
|
|
536
534
|
probability: number;
|
|
537
535
|
identifiedObjectId: string | null;
|
|
538
536
|
frameTime: number;
|
|
539
|
-
}, {
|
|
540
|
-
endTime: number | null;
|
|
541
537
|
startTime: number;
|
|
538
|
+
endTime: number | null;
|
|
539
|
+
}, {
|
|
542
540
|
objectKind: string | null;
|
|
543
541
|
probability: number;
|
|
544
542
|
identifiedObjectId: string | null;
|
|
545
543
|
frameTime: number;
|
|
544
|
+
startTime: number;
|
|
545
|
+
endTime: number | null;
|
|
546
546
|
}>, z.ZodObject<{
|
|
547
547
|
locatorKind: z.ZodLiteral<"box">;
|
|
548
548
|
x1: z.ZodNumber;
|
|
@@ -580,13 +580,13 @@ export declare const cameraEventSchemasByKind: {
|
|
|
580
580
|
startTime: z.ZodNumber;
|
|
581
581
|
endTime: z.ZodNullable<z.ZodNumber>;
|
|
582
582
|
}, "strip", z.ZodTypeAny, {
|
|
583
|
-
endTime: number | null;
|
|
584
583
|
startTime: number;
|
|
584
|
+
endTime: number | null;
|
|
585
585
|
detections: string[];
|
|
586
586
|
clipUrl?: string | undefined;
|
|
587
587
|
}, {
|
|
588
|
-
endTime: number | null;
|
|
589
588
|
startTime: number;
|
|
589
|
+
endTime: number | null;
|
|
590
590
|
detections: string[];
|
|
591
591
|
clipUrl?: string | undefined;
|
|
592
592
|
}>>;
|
|
@@ -608,13 +608,13 @@ export declare const cameraEventSchemasByKind: {
|
|
|
608
608
|
startTime: z.ZodNumber;
|
|
609
609
|
endTime: z.ZodNullable<z.ZodNumber>;
|
|
610
610
|
}, "strip", z.ZodTypeAny, {
|
|
611
|
-
endTime: number | null;
|
|
612
611
|
startTime: number;
|
|
612
|
+
endTime: number | null;
|
|
613
613
|
detections: string[];
|
|
614
614
|
clipUrl?: string | undefined;
|
|
615
615
|
}, {
|
|
616
|
-
endTime: number | null;
|
|
617
616
|
startTime: number;
|
|
617
|
+
endTime: number | null;
|
|
618
618
|
detections: string[];
|
|
619
619
|
clipUrl?: string | undefined;
|
|
620
620
|
}>>;
|
|
@@ -636,13 +636,13 @@ export declare const cameraEventSchemasByKind: {
|
|
|
636
636
|
startTime: z.ZodNumber;
|
|
637
637
|
endTime: z.ZodNullable<z.ZodNumber>;
|
|
638
638
|
}, "strip", z.ZodTypeAny, {
|
|
639
|
-
endTime: number | null;
|
|
640
639
|
startTime: number;
|
|
640
|
+
endTime: number | null;
|
|
641
641
|
detections: string[];
|
|
642
642
|
clipUrl?: string | undefined;
|
|
643
643
|
}, {
|
|
644
|
-
endTime: number | null;
|
|
645
644
|
startTime: number;
|
|
645
|
+
endTime: number | null;
|
|
646
646
|
detections: string[];
|
|
647
647
|
clipUrl?: string | undefined;
|
|
648
648
|
}>>;
|
|
@@ -8,16 +8,16 @@ export declare const sDoorAccessEvent: z.ZodObject<{
|
|
|
8
8
|
doorExit: z.ZodBoolean;
|
|
9
9
|
description: z.ZodString;
|
|
10
10
|
}, "strip", z.ZodTypeAny, {
|
|
11
|
-
description: string;
|
|
12
11
|
kind: "door-access";
|
|
12
|
+
description: string;
|
|
13
13
|
token: string | null;
|
|
14
14
|
tokenType: "card" | "pin" | "fingerprint" | null;
|
|
15
15
|
allowed: boolean;
|
|
16
16
|
doorExit: boolean;
|
|
17
17
|
personId?: string | undefined;
|
|
18
18
|
}, {
|
|
19
|
-
description: string;
|
|
20
19
|
kind: "door-access";
|
|
20
|
+
description: string;
|
|
21
21
|
token: string | null;
|
|
22
22
|
tokenType: "card" | "pin" | "fingerprint" | null;
|
|
23
23
|
allowed: boolean;
|
|
@@ -111,16 +111,16 @@ export declare const doorEventSchemaByKind: {
|
|
|
111
111
|
doorExit: z.ZodBoolean;
|
|
112
112
|
description: z.ZodString;
|
|
113
113
|
}, "strip", z.ZodTypeAny, {
|
|
114
|
-
description: string;
|
|
115
114
|
kind: "door-access";
|
|
115
|
+
description: string;
|
|
116
116
|
token: string | null;
|
|
117
117
|
tokenType: "card" | "pin" | "fingerprint" | null;
|
|
118
118
|
allowed: boolean;
|
|
119
119
|
doorExit: boolean;
|
|
120
120
|
personId?: string | undefined;
|
|
121
121
|
}, {
|
|
122
|
-
description: string;
|
|
123
122
|
kind: "door-access";
|
|
123
|
+
description: string;
|
|
124
124
|
token: string | null;
|
|
125
125
|
tokenType: "card" | "pin" | "fingerprint" | null;
|
|
126
126
|
allowed: boolean;
|
|
@@ -9,19 +9,19 @@ export declare const sCallStateChanged: z.ZodObject<{
|
|
|
9
9
|
sipCallId: z.ZodOptional<z.ZodString>;
|
|
10
10
|
direction: z.ZodEnum<["incoming", "outgoing"]>;
|
|
11
11
|
}, "strip", z.ZodTypeAny, {
|
|
12
|
-
state: "connected" | "connecting" | "ringing" | "terminated";
|
|
13
|
-
direction: "incoming" | "outgoing";
|
|
14
12
|
kind: "call-state-changed";
|
|
15
13
|
callId: string;
|
|
14
|
+
state: "connecting" | "connected" | "ringing" | "terminated";
|
|
15
|
+
direction: "incoming" | "outgoing";
|
|
16
16
|
peer?: string | undefined;
|
|
17
17
|
userId?: string | undefined;
|
|
18
18
|
sipAccount?: string | undefined;
|
|
19
19
|
sipCallId?: string | undefined;
|
|
20
20
|
}, {
|
|
21
|
-
state: "connected" | "connecting" | "ringing" | "terminated";
|
|
22
|
-
direction: "incoming" | "outgoing";
|
|
23
21
|
kind: "call-state-changed";
|
|
24
22
|
callId: string;
|
|
23
|
+
state: "connecting" | "connected" | "ringing" | "terminated";
|
|
24
|
+
direction: "incoming" | "outgoing";
|
|
25
25
|
peer?: string | undefined;
|
|
26
26
|
userId?: string | undefined;
|
|
27
27
|
sipAccount?: string | undefined;
|
|
@@ -38,19 +38,19 @@ export declare const intercomTerminalEventSchemaByKind: {
|
|
|
38
38
|
sipCallId: z.ZodOptional<z.ZodString>;
|
|
39
39
|
direction: z.ZodEnum<["incoming", "outgoing"]>;
|
|
40
40
|
}, "strip", z.ZodTypeAny, {
|
|
41
|
-
state: "connected" | "connecting" | "ringing" | "terminated";
|
|
42
|
-
direction: "incoming" | "outgoing";
|
|
43
41
|
kind: "call-state-changed";
|
|
44
42
|
callId: string;
|
|
43
|
+
state: "connecting" | "connected" | "ringing" | "terminated";
|
|
44
|
+
direction: "incoming" | "outgoing";
|
|
45
45
|
peer?: string | undefined;
|
|
46
46
|
userId?: string | undefined;
|
|
47
47
|
sipAccount?: string | undefined;
|
|
48
48
|
sipCallId?: string | undefined;
|
|
49
49
|
}, {
|
|
50
|
-
state: "connected" | "connecting" | "ringing" | "terminated";
|
|
51
|
-
direction: "incoming" | "outgoing";
|
|
52
50
|
kind: "call-state-changed";
|
|
53
51
|
callId: string;
|
|
52
|
+
state: "connecting" | "connected" | "ringing" | "terminated";
|
|
53
|
+
direction: "incoming" | "outgoing";
|
|
54
54
|
peer?: string | undefined;
|
|
55
55
|
userId?: string | undefined;
|
|
56
56
|
sipAccount?: string | undefined;
|
|
@@ -4,12 +4,12 @@ export declare const sIoBoardInputChangedEvent: z.ZodObject<{
|
|
|
4
4
|
inputName: z.ZodString;
|
|
5
5
|
value: z.ZodBoolean;
|
|
6
6
|
}, "strip", z.ZodTypeAny, {
|
|
7
|
-
value: boolean;
|
|
8
7
|
kind: "io-board-input-changed";
|
|
8
|
+
value: boolean;
|
|
9
9
|
inputName: string;
|
|
10
10
|
}, {
|
|
11
|
-
value: boolean;
|
|
12
11
|
kind: "io-board-input-changed";
|
|
12
|
+
value: boolean;
|
|
13
13
|
inputName: string;
|
|
14
14
|
}>;
|
|
15
15
|
export declare const ioBoardEventSchemaByKind: {
|
|
@@ -18,12 +18,12 @@ export declare const ioBoardEventSchemaByKind: {
|
|
|
18
18
|
inputName: z.ZodString;
|
|
19
19
|
value: z.ZodBoolean;
|
|
20
20
|
}, "strip", z.ZodTypeAny, {
|
|
21
|
-
value: boolean;
|
|
22
21
|
kind: "io-board-input-changed";
|
|
22
|
+
value: boolean;
|
|
23
23
|
inputName: string;
|
|
24
24
|
}, {
|
|
25
|
-
value: boolean;
|
|
26
25
|
kind: "io-board-input-changed";
|
|
26
|
+
value: boolean;
|
|
27
27
|
inputName: string;
|
|
28
28
|
}>;
|
|
29
29
|
};
|