@awarevue/api-types 2.0.4 → 2.0.6

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.
@@ -6,12 +6,13 @@ import { DisplayCommand } from './device/display';
6
6
  import { DoorCommand } from './device/door';
7
7
  import { IntercomTerminalCommand } from './device/intercom-terminal';
8
8
  import { IoBoardCommand } from './device/io-board';
9
+ import { NvrExporterCommand } from './device/nvr-exporter';
9
10
  import { PbxCommand } from './device/pbx';
10
11
  import { PresenceTrackerCommand } from './device/presence-tracker';
11
12
  import { ReaderCommand } from './device/reader/index';
12
13
  import { ServerCommand } from './device/server';
13
14
  import { PermissionId } from './permissions';
14
- export type AnyDeviceCommand = ServerCommand | DeviceGatewayCommand | CameraCommand | DoorCommand | ReaderCommand | IoBoardCommand | CameraLiftCommand | AlarmCommand | IntercomTerminalCommand | PbxCommand | PresenceTrackerCommand | DisplayCommand;
15
+ export type AnyDeviceCommand = ServerCommand | DeviceGatewayCommand | CameraCommand | DoorCommand | ReaderCommand | IoBoardCommand | CameraLiftCommand | AlarmCommand | IntercomTerminalCommand | PbxCommand | PresenceTrackerCommand | DisplayCommand | NvrExporterCommand;
15
16
  export type CommandRun<TCommand extends AnyDeviceCommand = AnyDeviceCommand> = {
16
17
  timestamp: number;
17
18
  requestId: string;
@@ -19,6 +20,620 @@ export type CommandRun<TCommand extends AnyDeviceCommand = AnyDeviceCommand> = {
19
20
  senderId?: number;
20
21
  } & TCommand;
21
22
  export declare const commandSchemas: {
23
+ readonly 'nvr-exporter.start-export': import("zod").ZodObject<{
24
+ command: import("zod").ZodLiteral<"nvr-exporter.start-export">;
25
+ params: import("zod").ZodObject<{
26
+ requestId: import("zod").ZodString;
27
+ device: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodIntersection<import("zod").ZodObject<{
28
+ name: import("zod").ZodString;
29
+ foreignRef: import("zod").ZodString;
30
+ provider: import("zod").ZodString;
31
+ providerMetadata: import("zod").ZodObject<{}, "strip", import("zod").ZodUnknown, import("zod").objectOutputType<{}, import("zod").ZodUnknown, "strip">, import("zod").objectInputType<{}, import("zod").ZodUnknown, "strip">>;
32
+ }, "strip", import("zod").ZodTypeAny, {
33
+ name: string;
34
+ foreignRef: string;
35
+ provider: string;
36
+ providerMetadata: {} & {
37
+ [k: string]: unknown;
38
+ };
39
+ }, {
40
+ name: string;
41
+ foreignRef: string;
42
+ provider: string;
43
+ providerMetadata: {} & {
44
+ [k: string]: unknown;
45
+ };
46
+ }>, import("zod").ZodDiscriminatedUnion<"type", [import("zod").ZodObject<{
47
+ type: import("zod").ZodLiteral<"alarm">;
48
+ }, "strip", import("zod").ZodTypeAny, {
49
+ type: "alarm";
50
+ }, {
51
+ type: "alarm";
52
+ }>, import("zod").ZodObject<{
53
+ lensType: import("zod").ZodEnum<["flat", "fisheye"]>;
54
+ mountPoint: import("zod").ZodEnum<["wall", "ceiling", "floor"]>;
55
+ ptzCapable: import("zod").ZodBoolean;
56
+ ptzPanSpeed: import("zod").ZodNumber;
57
+ ptzTiltSpeed: import("zod").ZodNumber;
58
+ ptzZoomSpeed: import("zod").ZodNumber;
59
+ panMin: import("zod").ZodNumber;
60
+ panMax: import("zod").ZodNumber;
61
+ tiltMin: import("zod").ZodNumber;
62
+ tiltMax: import("zod").ZodNumber;
63
+ zoomMin: import("zod").ZodNumber;
64
+ zoomMax: import("zod").ZodNumber;
65
+ recordingCapable: import("zod").ZodBoolean;
66
+ webrtcPlaybackSource: import("zod").ZodNullable<import("zod").ZodIntersection<import("zod").ZodObject<{
67
+ kind: import("zod").ZodString;
68
+ }, "strip", import("zod").ZodTypeAny, {
69
+ kind: string;
70
+ }, {
71
+ kind: string;
72
+ }>, import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>>;
73
+ streams: import("zod").ZodArray<import("zod").ZodObject<{
74
+ id: import("zod").ZodString;
75
+ displayName: import("zod").ZodString;
76
+ externalPlayerUrl: import("zod").ZodNullable<import("zod").ZodString>;
77
+ }, "strip", import("zod").ZodTypeAny, {
78
+ id: string;
79
+ displayName: string;
80
+ externalPlayerUrl: string | null;
81
+ }, {
82
+ id: string;
83
+ displayName: string;
84
+ externalPlayerUrl: string | null;
85
+ }>, "many">;
86
+ defaultStreamId: import("zod").ZodString;
87
+ } & {
88
+ type: import("zod").ZodLiteral<"camera">;
89
+ }, "strip", import("zod").ZodTypeAny, {
90
+ type: "camera";
91
+ streams: {
92
+ id: string;
93
+ displayName: string;
94
+ externalPlayerUrl: string | null;
95
+ }[];
96
+ lensType: "flat" | "fisheye";
97
+ mountPoint: "wall" | "ceiling" | "floor";
98
+ ptzCapable: boolean;
99
+ ptzPanSpeed: number;
100
+ ptzTiltSpeed: number;
101
+ ptzZoomSpeed: number;
102
+ panMin: number;
103
+ panMax: number;
104
+ tiltMin: number;
105
+ tiltMax: number;
106
+ zoomMin: number;
107
+ zoomMax: number;
108
+ recordingCapable: boolean;
109
+ webrtcPlaybackSource: ({
110
+ kind: string;
111
+ } & Record<string, unknown>) | null;
112
+ defaultStreamId: string;
113
+ }, {
114
+ type: "camera";
115
+ streams: {
116
+ id: string;
117
+ displayName: string;
118
+ externalPlayerUrl: string | null;
119
+ }[];
120
+ lensType: "flat" | "fisheye";
121
+ mountPoint: "wall" | "ceiling" | "floor";
122
+ ptzCapable: boolean;
123
+ ptzPanSpeed: number;
124
+ ptzTiltSpeed: number;
125
+ ptzZoomSpeed: number;
126
+ panMin: number;
127
+ panMax: number;
128
+ tiltMin: number;
129
+ tiltMax: number;
130
+ zoomMin: number;
131
+ zoomMax: number;
132
+ recordingCapable: boolean;
133
+ webrtcPlaybackSource: ({
134
+ kind: string;
135
+ } & Record<string, unknown>) | null;
136
+ defaultStreamId: string;
137
+ }>, import("zod").ZodObject<{
138
+ canReportOpenState: import("zod").ZodBoolean;
139
+ canReportLockState: import("zod").ZodBoolean;
140
+ canControlLock: import("zod").ZodBoolean;
141
+ canRelease: import("zod").ZodBoolean;
142
+ } & {
143
+ type: import("zod").ZodLiteral<"door">;
144
+ }, "strip", import("zod").ZodTypeAny, {
145
+ type: "door";
146
+ canReportOpenState: boolean;
147
+ canReportLockState: boolean;
148
+ canControlLock: boolean;
149
+ canRelease: boolean;
150
+ }, {
151
+ type: "door";
152
+ canReportOpenState: boolean;
153
+ canReportLockState: boolean;
154
+ canControlLock: boolean;
155
+ canRelease: boolean;
156
+ }>, import("zod").ZodObject<{
157
+ inputs: import("zod").ZodArray<import("zod").ZodString, "many">;
158
+ outputs: import("zod").ZodArray<import("zod").ZodString, "many">;
159
+ } & {
160
+ type: import("zod").ZodLiteral<"io-board">;
161
+ }, "strip", import("zod").ZodTypeAny, {
162
+ type: "io-board";
163
+ inputs: string[];
164
+ outputs: string[];
165
+ }, {
166
+ type: "io-board";
167
+ inputs: string[];
168
+ outputs: string[];
169
+ }>, import("zod").ZodObject<{
170
+ type: import("zod").ZodLiteral<"camera-lift">;
171
+ }, "strip", import("zod").ZodTypeAny, {
172
+ type: "camera-lift";
173
+ }, {
174
+ type: "camera-lift";
175
+ }>, import("zod").ZodObject<{
176
+ type: import("zod").ZodLiteral<"motion-sensor">;
177
+ }, "strip", import("zod").ZodTypeAny, {
178
+ type: "motion-sensor";
179
+ }, {
180
+ type: "motion-sensor";
181
+ }>, import("zod").ZodObject<{
182
+ type: import("zod").ZodLiteral<"panic-button">;
183
+ }, "strip", import("zod").ZodTypeAny, {
184
+ type: "panic-button";
185
+ }, {
186
+ type: "panic-button";
187
+ }>, import("zod").ZodObject<{
188
+ sipUri: import("zod").ZodString;
189
+ sipUser: import("zod").ZodString;
190
+ sipPassword: import("zod").ZodString;
191
+ sipRealm: import("zod").ZodString;
192
+ remoteExtension: import("zod").ZodString;
193
+ } & {
194
+ type: import("zod").ZodLiteral<"intercom-terminal">;
195
+ }, "strip", import("zod").ZodTypeAny, {
196
+ type: "intercom-terminal";
197
+ sipUri: string;
198
+ sipUser: string;
199
+ sipPassword: string;
200
+ sipRealm: string;
201
+ remoteExtension: string;
202
+ }, {
203
+ type: "intercom-terminal";
204
+ sipUri: string;
205
+ sipUser: string;
206
+ sipPassword: string;
207
+ sipRealm: string;
208
+ remoteExtension: string;
209
+ }>, import("zod").ZodObject<{
210
+ sipWsUrl: import("zod").ZodString;
211
+ } & {
212
+ type: import("zod").ZodLiteral<"pbx">;
213
+ }, "strip", import("zod").ZodTypeAny, {
214
+ type: "pbx";
215
+ sipWsUrl: string;
216
+ }, {
217
+ type: "pbx";
218
+ sipWsUrl: string;
219
+ }>, import("zod").ZodObject<{
220
+ type: import("zod").ZodLiteral<"server">;
221
+ }, "strip", import("zod").ZodTypeAny, {
222
+ type: "server";
223
+ }, {
224
+ type: "server";
225
+ }>, import("zod").ZodObject<{
226
+ type: import("zod").ZodLiteral<"intercom-operator">;
227
+ }, "strip", import("zod").ZodTypeAny, {
228
+ type: "intercom-operator";
229
+ }, {
230
+ type: "intercom-operator";
231
+ }>, import("zod").ZodObject<{
232
+ type: import("zod").ZodLiteral<"device-gateway">;
233
+ }, "strip", import("zod").ZodTypeAny, {
234
+ type: "device-gateway";
235
+ }, {
236
+ type: "device-gateway";
237
+ }>, import("zod").ZodObject<{
238
+ type: import("zod").ZodLiteral<"presence-tracker">;
239
+ }, "strip", import("zod").ZodTypeAny, {
240
+ type: "presence-tracker";
241
+ }, {
242
+ type: "presence-tracker";
243
+ }>, import("zod").ZodObject<{
244
+ type: import("zod").ZodLiteral<"reader">;
245
+ }, "strip", import("zod").ZodTypeAny, {
246
+ type: "reader";
247
+ }, {
248
+ type: "reader";
249
+ }>, import("zod").ZodObject<{
250
+ type: import("zod").ZodLiteral<"display">;
251
+ }, "strip", import("zod").ZodTypeAny, {
252
+ type: "display";
253
+ }, {
254
+ type: "display";
255
+ }>, import("zod").ZodObject<{
256
+ type: import("zod").ZodLiteral<"nvr-recorder">;
257
+ }, "strip", import("zod").ZodTypeAny, {
258
+ type: "nvr-recorder";
259
+ }, {
260
+ type: "nvr-recorder";
261
+ }>, import("zod").ZodObject<{
262
+ type: import("zod").ZodLiteral<"nvr-exporter">;
263
+ }, "strip", import("zod").ZodTypeAny, {
264
+ type: "nvr-exporter";
265
+ }, {
266
+ type: "nvr-exporter";
267
+ }>, import("zod").ZodObject<{
268
+ type: import("zod").ZodLiteral<"nvr-analytics-server">;
269
+ }, "strip", import("zod").ZodTypeAny, {
270
+ type: "nvr-analytics-server";
271
+ }, {
272
+ type: "nvr-analytics-server";
273
+ }>]>>]>;
274
+ timeFrom: import("zod").ZodNumber;
275
+ timeTo: import("zod").ZodNumber;
276
+ name: import("zod").ZodString;
277
+ }, "strip", import("zod").ZodTypeAny, {
278
+ name: string;
279
+ requestId: string;
280
+ device: string | ({
281
+ name: string;
282
+ foreignRef: string;
283
+ provider: string;
284
+ providerMetadata: {} & {
285
+ [k: string]: unknown;
286
+ };
287
+ } & ({
288
+ type: "alarm";
289
+ } | {
290
+ type: "camera";
291
+ streams: {
292
+ id: string;
293
+ displayName: string;
294
+ externalPlayerUrl: string | null;
295
+ }[];
296
+ lensType: "flat" | "fisheye";
297
+ mountPoint: "wall" | "ceiling" | "floor";
298
+ ptzCapable: boolean;
299
+ ptzPanSpeed: number;
300
+ ptzTiltSpeed: number;
301
+ ptzZoomSpeed: number;
302
+ panMin: number;
303
+ panMax: number;
304
+ tiltMin: number;
305
+ tiltMax: number;
306
+ zoomMin: number;
307
+ zoomMax: number;
308
+ recordingCapable: boolean;
309
+ webrtcPlaybackSource: ({
310
+ kind: string;
311
+ } & Record<string, unknown>) | null;
312
+ defaultStreamId: string;
313
+ } | {
314
+ type: "door";
315
+ canReportOpenState: boolean;
316
+ canReportLockState: boolean;
317
+ canControlLock: boolean;
318
+ canRelease: boolean;
319
+ } | {
320
+ type: "io-board";
321
+ inputs: string[];
322
+ outputs: string[];
323
+ } | {
324
+ type: "camera-lift";
325
+ } | {
326
+ type: "motion-sensor";
327
+ } | {
328
+ type: "panic-button";
329
+ } | {
330
+ type: "intercom-terminal";
331
+ sipUri: string;
332
+ sipUser: string;
333
+ sipPassword: string;
334
+ sipRealm: string;
335
+ remoteExtension: string;
336
+ } | {
337
+ type: "pbx";
338
+ sipWsUrl: string;
339
+ } | {
340
+ type: "server";
341
+ } | {
342
+ type: "intercom-operator";
343
+ } | {
344
+ type: "device-gateway";
345
+ } | {
346
+ type: "presence-tracker";
347
+ } | {
348
+ type: "reader";
349
+ } | {
350
+ type: "display";
351
+ } | {
352
+ type: "nvr-recorder";
353
+ } | {
354
+ type: "nvr-exporter";
355
+ } | {
356
+ type: "nvr-analytics-server";
357
+ }));
358
+ timeFrom: number;
359
+ timeTo: number;
360
+ }, {
361
+ name: string;
362
+ requestId: string;
363
+ device: string | ({
364
+ name: string;
365
+ foreignRef: string;
366
+ provider: string;
367
+ providerMetadata: {} & {
368
+ [k: string]: unknown;
369
+ };
370
+ } & ({
371
+ type: "alarm";
372
+ } | {
373
+ type: "camera";
374
+ streams: {
375
+ id: string;
376
+ displayName: string;
377
+ externalPlayerUrl: string | null;
378
+ }[];
379
+ lensType: "flat" | "fisheye";
380
+ mountPoint: "wall" | "ceiling" | "floor";
381
+ ptzCapable: boolean;
382
+ ptzPanSpeed: number;
383
+ ptzTiltSpeed: number;
384
+ ptzZoomSpeed: number;
385
+ panMin: number;
386
+ panMax: number;
387
+ tiltMin: number;
388
+ tiltMax: number;
389
+ zoomMin: number;
390
+ zoomMax: number;
391
+ recordingCapable: boolean;
392
+ webrtcPlaybackSource: ({
393
+ kind: string;
394
+ } & Record<string, unknown>) | null;
395
+ defaultStreamId: string;
396
+ } | {
397
+ type: "door";
398
+ canReportOpenState: boolean;
399
+ canReportLockState: boolean;
400
+ canControlLock: boolean;
401
+ canRelease: boolean;
402
+ } | {
403
+ type: "io-board";
404
+ inputs: string[];
405
+ outputs: string[];
406
+ } | {
407
+ type: "camera-lift";
408
+ } | {
409
+ type: "motion-sensor";
410
+ } | {
411
+ type: "panic-button";
412
+ } | {
413
+ type: "intercom-terminal";
414
+ sipUri: string;
415
+ sipUser: string;
416
+ sipPassword: string;
417
+ sipRealm: string;
418
+ remoteExtension: string;
419
+ } | {
420
+ type: "pbx";
421
+ sipWsUrl: string;
422
+ } | {
423
+ type: "server";
424
+ } | {
425
+ type: "intercom-operator";
426
+ } | {
427
+ type: "device-gateway";
428
+ } | {
429
+ type: "presence-tracker";
430
+ } | {
431
+ type: "reader";
432
+ } | {
433
+ type: "display";
434
+ } | {
435
+ type: "nvr-recorder";
436
+ } | {
437
+ type: "nvr-exporter";
438
+ } | {
439
+ type: "nvr-analytics-server";
440
+ }));
441
+ timeFrom: number;
442
+ timeTo: number;
443
+ }>;
444
+ }, "strip", import("zod").ZodTypeAny, {
445
+ params: {
446
+ name: string;
447
+ requestId: string;
448
+ device: string | ({
449
+ name: string;
450
+ foreignRef: string;
451
+ provider: string;
452
+ providerMetadata: {} & {
453
+ [k: string]: unknown;
454
+ };
455
+ } & ({
456
+ type: "alarm";
457
+ } | {
458
+ type: "camera";
459
+ streams: {
460
+ id: string;
461
+ displayName: string;
462
+ externalPlayerUrl: string | null;
463
+ }[];
464
+ lensType: "flat" | "fisheye";
465
+ mountPoint: "wall" | "ceiling" | "floor";
466
+ ptzCapable: boolean;
467
+ ptzPanSpeed: number;
468
+ ptzTiltSpeed: number;
469
+ ptzZoomSpeed: number;
470
+ panMin: number;
471
+ panMax: number;
472
+ tiltMin: number;
473
+ tiltMax: number;
474
+ zoomMin: number;
475
+ zoomMax: number;
476
+ recordingCapable: boolean;
477
+ webrtcPlaybackSource: ({
478
+ kind: string;
479
+ } & Record<string, unknown>) | null;
480
+ defaultStreamId: string;
481
+ } | {
482
+ type: "door";
483
+ canReportOpenState: boolean;
484
+ canReportLockState: boolean;
485
+ canControlLock: boolean;
486
+ canRelease: boolean;
487
+ } | {
488
+ type: "io-board";
489
+ inputs: string[];
490
+ outputs: string[];
491
+ } | {
492
+ type: "camera-lift";
493
+ } | {
494
+ type: "motion-sensor";
495
+ } | {
496
+ type: "panic-button";
497
+ } | {
498
+ type: "intercom-terminal";
499
+ sipUri: string;
500
+ sipUser: string;
501
+ sipPassword: string;
502
+ sipRealm: string;
503
+ remoteExtension: string;
504
+ } | {
505
+ type: "pbx";
506
+ sipWsUrl: string;
507
+ } | {
508
+ type: "server";
509
+ } | {
510
+ type: "intercom-operator";
511
+ } | {
512
+ type: "device-gateway";
513
+ } | {
514
+ type: "presence-tracker";
515
+ } | {
516
+ type: "reader";
517
+ } | {
518
+ type: "display";
519
+ } | {
520
+ type: "nvr-recorder";
521
+ } | {
522
+ type: "nvr-exporter";
523
+ } | {
524
+ type: "nvr-analytics-server";
525
+ }));
526
+ timeFrom: number;
527
+ timeTo: number;
528
+ };
529
+ command: "nvr-exporter.start-export";
530
+ }, {
531
+ params: {
532
+ name: string;
533
+ requestId: string;
534
+ device: string | ({
535
+ name: string;
536
+ foreignRef: string;
537
+ provider: string;
538
+ providerMetadata: {} & {
539
+ [k: string]: unknown;
540
+ };
541
+ } & ({
542
+ type: "alarm";
543
+ } | {
544
+ type: "camera";
545
+ streams: {
546
+ id: string;
547
+ displayName: string;
548
+ externalPlayerUrl: string | null;
549
+ }[];
550
+ lensType: "flat" | "fisheye";
551
+ mountPoint: "wall" | "ceiling" | "floor";
552
+ ptzCapable: boolean;
553
+ ptzPanSpeed: number;
554
+ ptzTiltSpeed: number;
555
+ ptzZoomSpeed: number;
556
+ panMin: number;
557
+ panMax: number;
558
+ tiltMin: number;
559
+ tiltMax: number;
560
+ zoomMin: number;
561
+ zoomMax: number;
562
+ recordingCapable: boolean;
563
+ webrtcPlaybackSource: ({
564
+ kind: string;
565
+ } & Record<string, unknown>) | null;
566
+ defaultStreamId: string;
567
+ } | {
568
+ type: "door";
569
+ canReportOpenState: boolean;
570
+ canReportLockState: boolean;
571
+ canControlLock: boolean;
572
+ canRelease: boolean;
573
+ } | {
574
+ type: "io-board";
575
+ inputs: string[];
576
+ outputs: string[];
577
+ } | {
578
+ type: "camera-lift";
579
+ } | {
580
+ type: "motion-sensor";
581
+ } | {
582
+ type: "panic-button";
583
+ } | {
584
+ type: "intercom-terminal";
585
+ sipUri: string;
586
+ sipUser: string;
587
+ sipPassword: string;
588
+ sipRealm: string;
589
+ remoteExtension: string;
590
+ } | {
591
+ type: "pbx";
592
+ sipWsUrl: string;
593
+ } | {
594
+ type: "server";
595
+ } | {
596
+ type: "intercom-operator";
597
+ } | {
598
+ type: "device-gateway";
599
+ } | {
600
+ type: "presence-tracker";
601
+ } | {
602
+ type: "reader";
603
+ } | {
604
+ type: "display";
605
+ } | {
606
+ type: "nvr-recorder";
607
+ } | {
608
+ type: "nvr-exporter";
609
+ } | {
610
+ type: "nvr-analytics-server";
611
+ }));
612
+ timeFrom: number;
613
+ timeTo: number;
614
+ };
615
+ command: "nvr-exporter.start-export";
616
+ }>;
617
+ readonly 'nvr-exporter.delete-export': import("zod").ZodObject<{
618
+ command: import("zod").ZodLiteral<"nvr-exporter.delete-export">;
619
+ params: import("zod").ZodObject<{
620
+ exportId: import("zod").ZodString;
621
+ }, "strip", import("zod").ZodTypeAny, {
622
+ exportId: string;
623
+ }, {
624
+ exportId: string;
625
+ }>;
626
+ }, "strip", import("zod").ZodTypeAny, {
627
+ params: {
628
+ exportId: string;
629
+ };
630
+ command: "nvr-exporter.delete-export";
631
+ }, {
632
+ params: {
633
+ exportId: string;
634
+ };
635
+ command: "nvr-exporter.delete-export";
636
+ }>;
22
637
  readonly 'display.set-view': import("zod").ZodObject<{
23
638
  command: import("zod").ZodLiteral<"display.set-view">;
24
639
  params: import("zod").ZodObject<{
@@ -7,6 +7,7 @@ const camera_lift_1 = require("./device/camera-lift");
7
7
  const display_1 = require("./device/display");
8
8
  const door_1 = require("./device/door");
9
9
  const io_board_1 = require("./device/io-board");
10
+ const nvr_exporter_1 = require("./device/nvr-exporter");
10
11
  const pbx_1 = require("./device/pbx");
11
12
  const presence_tracker_1 = require("./device/presence-tracker");
12
13
  exports.commandSchemas = {
@@ -18,6 +19,7 @@ exports.commandSchemas = {
18
19
  ...pbx_1.pbxCommands,
19
20
  ...presence_tracker_1.presenceTrackerCommands,
20
21
  ...display_1.displayCommands,
22
+ ...nvr_exporter_1.nvrExporterCommandSchemas,
21
23
  };
22
24
  exports.commandDescriptions = {
23
25
  'camera.ptz-set': { description: 'PTZ Set', permission: 'camera:ptz' },
@@ -145,4 +147,12 @@ exports.commandDescriptions = {
145
147
  description: 'Display Set View',
146
148
  permission: 'display:read',
147
149
  },
150
+ 'nvr-exporter.start-export': {
151
+ description: 'NVR Exporter Start Export',
152
+ permission: 'camera:playback-export',
153
+ },
154
+ 'nvr-exporter.delete-export': {
155
+ description: 'NVR Exporter Delete Export',
156
+ permission: 'camera:playback-export',
157
+ },
148
158
  };
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@awarevue/api-types",
3
- "version": "2.0.4",
3
+ "version": "2.0.6",
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",