@awarevue/api-types 2.0.144 → 2.0.146
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 +68 -0
- package/dist/api/agent-protocol/protocol.js +1 -0
- package/dist/api/commands/all.d.ts +170 -1
- package/dist/api/commands/all.js +22 -0
- package/dist/api/commands/index.d.ts +1 -0
- package/dist/api/commands/index.js +1 -0
- package/dist/api/commands/nvr-analytics-server.d.ts +4 -0
- package/dist/api/commands/nvr-exporter.d.ts +4 -0
- package/dist/api/commands/nvr-recorder.d.ts +16 -0
- package/dist/api/commands/playback-server.d.ts +440 -0
- package/dist/api/commands/playback-server.js +64 -0
- package/dist/api/commands/server.d.ts +4 -0
- package/dist/api/events/all.d.ts +16 -1
- package/dist/api/events/all.js +6 -0
- package/dist/api/events/index.d.ts +1 -0
- package/dist/api/events/index.js +1 -0
- package/dist/api/events/playback-server.d.ts +35 -0
- package/dist/api/events/playback-server.js +28 -0
- package/dist/api/queries/all.d.ts +31 -2
- package/dist/api/queries/all.js +3 -0
- package/dist/api/queries/index.d.ts +1 -0
- package/dist/api/queries/index.js +1 -0
- package/dist/api/queries/nvr-recorder.d.ts +16 -0
- package/dist/api/queries/playback-server.d.ts +72 -0
- package/dist/api/queries/playback-server.js +47 -0
- package/dist/api/rest/device.d.ts +4 -0
- package/dist/objects/device/any-device.d.ts +120 -1
- package/dist/objects/device/any-device.js +11 -1
- package/dist/objects/device/device-import.d.ts +8 -0
- package/dist/objects/device/index.d.ts +1 -0
- package/dist/objects/device/index.js +1 -0
- package/dist/objects/device/playback-server.d.ts +9 -0
- package/dist/objects/device/playback-server.js +10 -0
- package/dist/package.json +1 -1
- package/dist/primitives.d.ts +4 -0
- package/package.json +1 -1
|
@@ -235,6 +235,8 @@ export declare const sRunCommandRq: z.ZodObject<{
|
|
|
235
235
|
type: z.ZodLiteral<"nvr-recorder">;
|
|
236
236
|
}, z.core.$strip>, z.ZodObject<{
|
|
237
237
|
type: z.ZodLiteral<"nvr-exporter">;
|
|
238
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
239
|
+
type: z.ZodLiteral<"playback-server">;
|
|
238
240
|
}, z.core.$strip>, z.ZodObject<{
|
|
239
241
|
capabilities: z.ZodArray<z.ZodEnum<{
|
|
240
242
|
motionDetection: "motionDetection";
|
|
@@ -362,6 +364,8 @@ export declare const sQueryRq: z.ZodObject<{
|
|
|
362
364
|
type: z.ZodLiteral<"nvr-recorder">;
|
|
363
365
|
}, z.core.$strip>, z.ZodObject<{
|
|
364
366
|
type: z.ZodLiteral<"nvr-exporter">;
|
|
367
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
368
|
+
type: z.ZodLiteral<"playback-server">;
|
|
365
369
|
}, z.core.$strip>, z.ZodObject<{
|
|
366
370
|
capabilities: z.ZodArray<z.ZodEnum<{
|
|
367
371
|
motionDetection: "motionDetection";
|
|
@@ -493,6 +497,8 @@ export declare const sPushFile: z.ZodObject<{
|
|
|
493
497
|
type: z.ZodLiteral<"nvr-recorder">;
|
|
494
498
|
}, z.core.$strip>, z.ZodObject<{
|
|
495
499
|
type: z.ZodLiteral<"nvr-exporter">;
|
|
500
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
501
|
+
type: z.ZodLiteral<"playback-server">;
|
|
496
502
|
}, z.core.$strip>, z.ZodObject<{
|
|
497
503
|
capabilities: z.ZodArray<z.ZodEnum<{
|
|
498
504
|
motionDetection: "motionDetection";
|
|
@@ -665,6 +671,8 @@ export declare const sGetAvailableDevicesRs: z.ZodObject<{
|
|
|
665
671
|
type: z.ZodLiteral<"nvr-recorder">;
|
|
666
672
|
}, z.core.$strip>, z.ZodObject<{
|
|
667
673
|
type: z.ZodLiteral<"nvr-exporter">;
|
|
674
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
675
|
+
type: z.ZodLiteral<"playback-server">;
|
|
668
676
|
}, z.core.$strip>, z.ZodObject<{
|
|
669
677
|
capabilities: z.ZodArray<z.ZodEnum<{
|
|
670
678
|
motionDetection: "motionDetection";
|
|
@@ -751,6 +759,10 @@ export declare const sExternalScheduleProps: z.ZodObject<{
|
|
|
751
759
|
yearly: "yearly";
|
|
752
760
|
}>>;
|
|
753
761
|
}, z.core.$strip>;
|
|
762
|
+
flag: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
763
|
+
never: "never";
|
|
764
|
+
always: "always";
|
|
765
|
+
}>>>;
|
|
754
766
|
}, z.core.$strip>;
|
|
755
767
|
export declare const sExternalAccessRuleProps: z.ZodObject<{
|
|
756
768
|
displayName: z.ZodString;
|
|
@@ -811,6 +823,10 @@ export declare const sExternalObjectProps: z.ZodObject<{
|
|
|
811
823
|
yearly: "yearly";
|
|
812
824
|
}>>;
|
|
813
825
|
}, z.core.$strip>;
|
|
826
|
+
flag: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
827
|
+
never: "never";
|
|
828
|
+
always: "always";
|
|
829
|
+
}>>>;
|
|
814
830
|
}, z.core.$strip>;
|
|
815
831
|
accessRule: z.ZodObject<{
|
|
816
832
|
displayName: z.ZodString;
|
|
@@ -886,6 +902,10 @@ export declare const sObjectMerge: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
886
902
|
yearly: "yearly";
|
|
887
903
|
}>>;
|
|
888
904
|
}, z.core.$strip>;
|
|
905
|
+
flag: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
906
|
+
never: "never";
|
|
907
|
+
always: "always";
|
|
908
|
+
}>>>;
|
|
889
909
|
}, z.core.$strip>;
|
|
890
910
|
props: z.ZodObject<{
|
|
891
911
|
displayName: z.ZodOptional<z.ZodString>;
|
|
@@ -912,6 +932,10 @@ export declare const sObjectMerge: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
912
932
|
yearly: "yearly";
|
|
913
933
|
}>>;
|
|
914
934
|
}, z.core.$strip>>;
|
|
935
|
+
flag: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
936
|
+
never: "never";
|
|
937
|
+
always: "always";
|
|
938
|
+
}>>>>;
|
|
915
939
|
}, z.core.$strip>;
|
|
916
940
|
}, z.core.$strip>, z.ZodObject<{
|
|
917
941
|
kind: z.ZodLiteral<"merge">;
|
|
@@ -1009,6 +1033,10 @@ export declare const sObjectDelete: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
1009
1033
|
yearly: "yearly";
|
|
1010
1034
|
}>>;
|
|
1011
1035
|
}, z.core.$strip>;
|
|
1036
|
+
flag: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1037
|
+
never: "never";
|
|
1038
|
+
always: "always";
|
|
1039
|
+
}>>>;
|
|
1012
1040
|
}, z.core.$strip>;
|
|
1013
1041
|
}, z.core.$strip>, z.ZodObject<{
|
|
1014
1042
|
kind: z.ZodLiteral<"delete">;
|
|
@@ -1097,6 +1125,10 @@ export declare const sAccessMutation: z.ZodUnion<readonly [z.ZodUnion<readonly [
|
|
|
1097
1125
|
yearly: "yearly";
|
|
1098
1126
|
}>>;
|
|
1099
1127
|
}, z.core.$strip>;
|
|
1128
|
+
flag: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1129
|
+
never: "never";
|
|
1130
|
+
always: "always";
|
|
1131
|
+
}>>>;
|
|
1100
1132
|
}, z.core.$strip>;
|
|
1101
1133
|
props: z.ZodObject<{
|
|
1102
1134
|
displayName: z.ZodOptional<z.ZodString>;
|
|
@@ -1123,6 +1155,10 @@ export declare const sAccessMutation: z.ZodUnion<readonly [z.ZodUnion<readonly [
|
|
|
1123
1155
|
yearly: "yearly";
|
|
1124
1156
|
}>>;
|
|
1125
1157
|
}, z.core.$strip>>;
|
|
1158
|
+
flag: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1159
|
+
never: "never";
|
|
1160
|
+
always: "always";
|
|
1161
|
+
}>>>>;
|
|
1126
1162
|
}, z.core.$strip>;
|
|
1127
1163
|
}, z.core.$strip>, z.ZodObject<{
|
|
1128
1164
|
kind: z.ZodLiteral<"merge">;
|
|
@@ -1219,6 +1255,10 @@ export declare const sAccessMutation: z.ZodUnion<readonly [z.ZodUnion<readonly [
|
|
|
1219
1255
|
yearly: "yearly";
|
|
1220
1256
|
}>>;
|
|
1221
1257
|
}, z.core.$strip>;
|
|
1258
|
+
flag: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1259
|
+
never: "never";
|
|
1260
|
+
always: "always";
|
|
1261
|
+
}>>>;
|
|
1222
1262
|
}, z.core.$strip>;
|
|
1223
1263
|
}, z.core.$strip>, z.ZodObject<{
|
|
1224
1264
|
kind: z.ZodLiteral<"delete">;
|
|
@@ -1326,6 +1366,10 @@ export declare const sValidateChangeRq: z.ZodObject<{
|
|
|
1326
1366
|
yearly: "yearly";
|
|
1327
1367
|
}>>;
|
|
1328
1368
|
}, z.core.$strip>;
|
|
1369
|
+
flag: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1370
|
+
never: "never";
|
|
1371
|
+
always: "always";
|
|
1372
|
+
}>>>;
|
|
1329
1373
|
}, z.core.$strip>;
|
|
1330
1374
|
props: z.ZodObject<{
|
|
1331
1375
|
displayName: z.ZodOptional<z.ZodString>;
|
|
@@ -1352,6 +1396,10 @@ export declare const sValidateChangeRq: z.ZodObject<{
|
|
|
1352
1396
|
yearly: "yearly";
|
|
1353
1397
|
}>>;
|
|
1354
1398
|
}, z.core.$strip>>;
|
|
1399
|
+
flag: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1400
|
+
never: "never";
|
|
1401
|
+
always: "always";
|
|
1402
|
+
}>>>>;
|
|
1355
1403
|
}, z.core.$strip>;
|
|
1356
1404
|
}, z.core.$strip>, z.ZodObject<{
|
|
1357
1405
|
kind: z.ZodLiteral<"merge">;
|
|
@@ -1448,6 +1496,10 @@ export declare const sValidateChangeRq: z.ZodObject<{
|
|
|
1448
1496
|
yearly: "yearly";
|
|
1449
1497
|
}>>;
|
|
1450
1498
|
}, z.core.$strip>;
|
|
1499
|
+
flag: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1500
|
+
never: "never";
|
|
1501
|
+
always: "always";
|
|
1502
|
+
}>>>;
|
|
1451
1503
|
}, z.core.$strip>;
|
|
1452
1504
|
}, z.core.$strip>, z.ZodObject<{
|
|
1453
1505
|
kind: z.ZodLiteral<"delete">;
|
|
@@ -1599,6 +1651,10 @@ export declare const sApplyChange: z.ZodObject<{
|
|
|
1599
1651
|
yearly: "yearly";
|
|
1600
1652
|
}>>;
|
|
1601
1653
|
}, z.core.$strip>;
|
|
1654
|
+
flag: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1655
|
+
never: "never";
|
|
1656
|
+
always: "always";
|
|
1657
|
+
}>>>;
|
|
1602
1658
|
}, z.core.$strip>;
|
|
1603
1659
|
props: z.ZodObject<{
|
|
1604
1660
|
displayName: z.ZodOptional<z.ZodString>;
|
|
@@ -1625,6 +1681,10 @@ export declare const sApplyChange: z.ZodObject<{
|
|
|
1625
1681
|
yearly: "yearly";
|
|
1626
1682
|
}>>;
|
|
1627
1683
|
}, z.core.$strip>>;
|
|
1684
|
+
flag: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1685
|
+
never: "never";
|
|
1686
|
+
always: "always";
|
|
1687
|
+
}>>>>;
|
|
1628
1688
|
}, z.core.$strip>;
|
|
1629
1689
|
}, z.core.$strip>, z.ZodObject<{
|
|
1630
1690
|
kind: z.ZodLiteral<"merge">;
|
|
@@ -1721,6 +1781,10 @@ export declare const sApplyChange: z.ZodObject<{
|
|
|
1721
1781
|
yearly: "yearly";
|
|
1722
1782
|
}>>;
|
|
1723
1783
|
}, z.core.$strip>;
|
|
1784
|
+
flag: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1785
|
+
never: "never";
|
|
1786
|
+
always: "always";
|
|
1787
|
+
}>>>;
|
|
1724
1788
|
}, z.core.$strip>;
|
|
1725
1789
|
}, z.core.$strip>, z.ZodObject<{
|
|
1726
1790
|
kind: z.ZodLiteral<"delete">;
|
|
@@ -1832,6 +1896,10 @@ export declare const sDescribeObjectRs: z.ZodObject<{
|
|
|
1832
1896
|
yearly: "yearly";
|
|
1833
1897
|
}>>;
|
|
1834
1898
|
}, z.core.$strip>;
|
|
1899
|
+
flag: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1900
|
+
never: "never";
|
|
1901
|
+
always: "always";
|
|
1902
|
+
}>>>;
|
|
1835
1903
|
}, z.core.$strip>;
|
|
1836
1904
|
}, z.core.$strip>, z.ZodObject<{
|
|
1837
1905
|
objectKind: z.ZodLiteral<"person">;
|
|
@@ -192,6 +192,7 @@ exports.sExternalPersonProps = zod_1.z.object({
|
|
|
192
192
|
exports.sExternalScheduleProps = zod_1.z.object({
|
|
193
193
|
displayName: zod_1.z.string().nonempty(),
|
|
194
194
|
include: objects_1.sScheduleDetailsRequest,
|
|
195
|
+
flag: objects_1.sFlagType.nullable().optional(),
|
|
195
196
|
});
|
|
196
197
|
exports.sExternalAccessRuleProps = zod_1.z.object({
|
|
197
198
|
displayName: zod_1.z.string().nonempty(),
|
|
@@ -6,12 +6,13 @@ import { DoorCommand } from './door';
|
|
|
6
6
|
import { IoBoardCommand } from './io-board';
|
|
7
7
|
import { NvrExporterCommand } from './nvr-exporter';
|
|
8
8
|
import { PbxCommand } from './pbx';
|
|
9
|
+
import { PlaybackServerCommand } from './playback-server';
|
|
9
10
|
import { PresenceTrackerCommand } from './presence-tracker';
|
|
10
11
|
import { ServerCommand } from './server';
|
|
11
12
|
import { PermissionId } from '../../permissions';
|
|
12
13
|
import { NvrRecorderCommand } from './nvr-recorder';
|
|
13
14
|
import { NvrAnalyticsServerCommand } from './nvr-analytics-server';
|
|
14
|
-
export type AnyDeviceCommand = ServerCommand | CameraCommand | DoorCommand | IoBoardCommand | CameraLiftCommand | AlarmCommand | PbxCommand | PresenceTrackerCommand | DisplayCommand | NvrRecorderCommand | NvrExporterCommand | NvrAnalyticsServerCommand;
|
|
15
|
+
export type AnyDeviceCommand = ServerCommand | CameraCommand | DoorCommand | IoBoardCommand | CameraLiftCommand | AlarmCommand | PbxCommand | PresenceTrackerCommand | DisplayCommand | NvrRecorderCommand | NvrExporterCommand | PlaybackServerCommand | NvrAnalyticsServerCommand;
|
|
15
16
|
export type CommandRun<TCommand extends AnyDeviceCommand = AnyDeviceCommand> = {
|
|
16
17
|
timestamp: number;
|
|
17
18
|
requestId: string;
|
|
@@ -131,6 +132,8 @@ export declare const commandSchemas: {
|
|
|
131
132
|
type: import("zod").ZodLiteral<"nvr-recorder">;
|
|
132
133
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
133
134
|
type: import("zod").ZodLiteral<"nvr-exporter">;
|
|
135
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
136
|
+
type: import("zod").ZodLiteral<"playback-server">;
|
|
134
137
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
135
138
|
capabilities: import("zod").ZodArray<import("zod").ZodEnum<{
|
|
136
139
|
motionDetection: "motionDetection";
|
|
@@ -261,6 +264,8 @@ export declare const commandSchemas: {
|
|
|
261
264
|
type: import("zod").ZodLiteral<"nvr-recorder">;
|
|
262
265
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
263
266
|
type: import("zod").ZodLiteral<"nvr-exporter">;
|
|
267
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
268
|
+
type: import("zod").ZodLiteral<"playback-server">;
|
|
264
269
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
265
270
|
capabilities: import("zod").ZodArray<import("zod").ZodEnum<{
|
|
266
271
|
motionDetection: "motionDetection";
|
|
@@ -299,6 +304,160 @@ export declare const commandSchemas: {
|
|
|
299
304
|
}, import("zod/v4/core").$strip>>;
|
|
300
305
|
}, import("zod/v4/core").$strip>;
|
|
301
306
|
}, import("zod/v4/core").$strip>;
|
|
307
|
+
readonly 'playback-server.open-session': import("zod").ZodObject<{
|
|
308
|
+
command: import("zod").ZodLiteral<"playback-server.open-session">;
|
|
309
|
+
params: import("zod").ZodObject<{
|
|
310
|
+
sessionId: import("zod").ZodString;
|
|
311
|
+
cameras: import("zod").ZodArray<import("zod").ZodObject<{
|
|
312
|
+
camera: import("zod").ZodUnion<[import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodIntersection<import("zod").ZodObject<{
|
|
313
|
+
name: import("zod").ZodString;
|
|
314
|
+
foreignRef: import("zod").ZodString;
|
|
315
|
+
provider: import("zod").ZodString;
|
|
316
|
+
providerMetadata: import("zod").ZodObject<{}, import("zod/v4/core").$catchall<import("zod").ZodUnknown>>;
|
|
317
|
+
presets: import("zod").ZodArray<import("zod").ZodObject<{
|
|
318
|
+
id: import("zod").ZodString;
|
|
319
|
+
name: import("zod").ZodString;
|
|
320
|
+
params: import("zod").ZodUnknown;
|
|
321
|
+
isDefault: import("zod").ZodBoolean;
|
|
322
|
+
assignedRef: import("zod").ZodNullable<import("zod").ZodString>;
|
|
323
|
+
createdOn: import("zod").ZodString;
|
|
324
|
+
lastModifiedOn: import("zod").ZodString;
|
|
325
|
+
}, import("zod/v4/core").$strip>>;
|
|
326
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
327
|
+
type: import("zod").ZodLiteral<"alarm">;
|
|
328
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
329
|
+
ptzCapable: import("zod").ZodBoolean;
|
|
330
|
+
ptzPanSpeed: import("zod").ZodNumber;
|
|
331
|
+
ptzTiltSpeed: import("zod").ZodNumber;
|
|
332
|
+
ptzZoomSpeed: import("zod").ZodNumber;
|
|
333
|
+
panMin: import("zod").ZodNumber;
|
|
334
|
+
panMax: import("zod").ZodNumber;
|
|
335
|
+
tiltMin: import("zod").ZodNumber;
|
|
336
|
+
tiltMax: import("zod").ZodNumber;
|
|
337
|
+
zoomMin: import("zod").ZodNumber;
|
|
338
|
+
zoomMax: import("zod").ZodNumber;
|
|
339
|
+
streams: import("zod").ZodArray<import("zod").ZodObject<{
|
|
340
|
+
id: import("zod").ZodString;
|
|
341
|
+
displayName: import("zod").ZodString;
|
|
342
|
+
externalPlayerUrl: import("zod").ZodNullable<import("zod").ZodString>;
|
|
343
|
+
rtspUrl: import("zod").ZodNullable<import("zod").ZodString>;
|
|
344
|
+
width: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
345
|
+
height: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
346
|
+
lensType: import("zod").ZodEnum<{
|
|
347
|
+
flat: "flat";
|
|
348
|
+
fisheye: "fisheye";
|
|
349
|
+
}>;
|
|
350
|
+
mountPoint: import("zod").ZodEnum<{
|
|
351
|
+
wall: "wall";
|
|
352
|
+
ceiling: "ceiling";
|
|
353
|
+
floor: "floor";
|
|
354
|
+
}>;
|
|
355
|
+
}, import("zod/v4/core").$strip>>;
|
|
356
|
+
defaultStreamId: import("zod").ZodString;
|
|
357
|
+
autoSwitchStreams: import("zod").ZodBoolean;
|
|
358
|
+
streamNaming: import("zod").ZodEnum<{
|
|
359
|
+
cameraStreamNo: "cameraStreamNo";
|
|
360
|
+
cameraStream: "cameraStream";
|
|
361
|
+
stream: "stream";
|
|
362
|
+
}>;
|
|
363
|
+
type: import("zod").ZodLiteral<"camera">;
|
|
364
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
365
|
+
canReportOpenState: import("zod").ZodBoolean;
|
|
366
|
+
canReportLockState: import("zod").ZodBoolean;
|
|
367
|
+
canControlLock: import("zod").ZodBoolean;
|
|
368
|
+
canRelease: import("zod").ZodBoolean;
|
|
369
|
+
type: import("zod").ZodLiteral<"door">;
|
|
370
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
371
|
+
inputs: import("zod").ZodArray<import("zod").ZodString>;
|
|
372
|
+
outputs: import("zod").ZodArray<import("zod").ZodString>;
|
|
373
|
+
type: import("zod").ZodLiteral<"io-board">;
|
|
374
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
375
|
+
type: import("zod").ZodLiteral<"camera-lift">;
|
|
376
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
377
|
+
type: import("zod").ZodLiteral<"motion-sensor">;
|
|
378
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
379
|
+
type: import("zod").ZodLiteral<"generic-sensor">;
|
|
380
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
381
|
+
type: import("zod").ZodLiteral<"panic-button">;
|
|
382
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
383
|
+
sipUri: import("zod").ZodString;
|
|
384
|
+
sipUser: import("zod").ZodString;
|
|
385
|
+
sipPassword: import("zod").ZodString;
|
|
386
|
+
sipRealm: import("zod").ZodString;
|
|
387
|
+
remoteExtension: import("zod").ZodString;
|
|
388
|
+
type: import("zod").ZodLiteral<"intercom-terminal">;
|
|
389
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
390
|
+
sipWsUrl: import("zod").ZodString;
|
|
391
|
+
type: import("zod").ZodLiteral<"pbx">;
|
|
392
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
393
|
+
type: import("zod").ZodLiteral<"server">;
|
|
394
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
395
|
+
type: import("zod").ZodLiteral<"intercom-operator">;
|
|
396
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
397
|
+
type: import("zod").ZodLiteral<"device-gateway">;
|
|
398
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
399
|
+
type: import("zod").ZodLiteral<"presence-tracker">;
|
|
400
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
401
|
+
credentialTypes: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodEnum<{
|
|
402
|
+
card: "card";
|
|
403
|
+
pin: "pin";
|
|
404
|
+
fingerprint: "fingerprint";
|
|
405
|
+
face: "face";
|
|
406
|
+
retina: "retina";
|
|
407
|
+
}>>>;
|
|
408
|
+
type: import("zod").ZodLiteral<"reader">;
|
|
409
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
410
|
+
type: import("zod").ZodLiteral<"display">;
|
|
411
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
412
|
+
type: import("zod").ZodLiteral<"nvr-recorder">;
|
|
413
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
414
|
+
type: import("zod").ZodLiteral<"nvr-exporter">;
|
|
415
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
416
|
+
type: import("zod").ZodLiteral<"playback-server">;
|
|
417
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
418
|
+
capabilities: import("zod").ZodArray<import("zod").ZodEnum<{
|
|
419
|
+
motionDetection: "motionDetection";
|
|
420
|
+
labelDetection: "labelDetection";
|
|
421
|
+
faceRecognition: "faceRecognition";
|
|
422
|
+
semanticSearch: "semanticSearch";
|
|
423
|
+
}>>;
|
|
424
|
+
type: import("zod").ZodLiteral<"nvr-analytics-server">;
|
|
425
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
426
|
+
type: import("zod").ZodLiteral<"system">;
|
|
427
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
428
|
+
type: import("zod").ZodLiteral<"position-tracker">;
|
|
429
|
+
}, import("zod/v4/core").$strip>], "type">>]>, import("zod").ZodTuple<[import("zod").ZodString, import("zod").ZodString], null>]>;
|
|
430
|
+
streamId: import("zod").ZodString;
|
|
431
|
+
}, import("zod/v4/core").$strip>>;
|
|
432
|
+
time: import("zod").ZodNumber;
|
|
433
|
+
}, import("zod/v4/core").$strip>;
|
|
434
|
+
}, import("zod/v4/core").$strip>;
|
|
435
|
+
readonly 'playback-server.close-session': import("zod").ZodObject<{
|
|
436
|
+
command: import("zod").ZodLiteral<"playback-server.close-session">;
|
|
437
|
+
params: import("zod").ZodObject<{
|
|
438
|
+
sessionId: import("zod").ZodString;
|
|
439
|
+
}, import("zod/v4/core").$strip>;
|
|
440
|
+
}, import("zod/v4/core").$strip>;
|
|
441
|
+
readonly 'playback-server.play': import("zod").ZodObject<{
|
|
442
|
+
command: import("zod").ZodLiteral<"playback-server.play">;
|
|
443
|
+
params: import("zod").ZodObject<{
|
|
444
|
+
sessionId: import("zod").ZodString;
|
|
445
|
+
rate: import("zod").ZodUnion<readonly [import("zod").ZodLiteral<1>, import("zod").ZodLiteral<2>]>;
|
|
446
|
+
}, import("zod/v4/core").$strip>;
|
|
447
|
+
}, import("zod/v4/core").$strip>;
|
|
448
|
+
readonly 'playback-server.pause': import("zod").ZodObject<{
|
|
449
|
+
command: import("zod").ZodLiteral<"playback-server.pause">;
|
|
450
|
+
params: import("zod").ZodObject<{
|
|
451
|
+
sessionId: import("zod").ZodString;
|
|
452
|
+
}, import("zod/v4/core").$strip>;
|
|
453
|
+
}, import("zod/v4/core").$strip>;
|
|
454
|
+
readonly 'playback-server.seek': import("zod").ZodObject<{
|
|
455
|
+
command: import("zod").ZodLiteral<"playback-server.seek">;
|
|
456
|
+
params: import("zod").ZodObject<{
|
|
457
|
+
sessionId: import("zod").ZodString;
|
|
458
|
+
time: import("zod").ZodNumber;
|
|
459
|
+
}, import("zod/v4/core").$strip>;
|
|
460
|
+
}, import("zod/v4/core").$strip>;
|
|
302
461
|
readonly 'nvr-exporter.start-export': import("zod").ZodObject<{
|
|
303
462
|
command: import("zod").ZodLiteral<"nvr-exporter.start-export">;
|
|
304
463
|
params: import("zod").ZodObject<{
|
|
@@ -406,6 +565,8 @@ export declare const commandSchemas: {
|
|
|
406
565
|
type: import("zod").ZodLiteral<"nvr-recorder">;
|
|
407
566
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
408
567
|
type: import("zod").ZodLiteral<"nvr-exporter">;
|
|
568
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
569
|
+
type: import("zod").ZodLiteral<"playback-server">;
|
|
409
570
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
410
571
|
capabilities: import("zod").ZodArray<import("zod").ZodEnum<{
|
|
411
572
|
motionDetection: "motionDetection";
|
|
@@ -537,6 +698,8 @@ export declare const commandSchemas: {
|
|
|
537
698
|
type: import("zod").ZodLiteral<"nvr-recorder">;
|
|
538
699
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
539
700
|
type: import("zod").ZodLiteral<"nvr-exporter">;
|
|
701
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
702
|
+
type: import("zod").ZodLiteral<"playback-server">;
|
|
540
703
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
541
704
|
capabilities: import("zod").ZodArray<import("zod").ZodEnum<{
|
|
542
705
|
motionDetection: "motionDetection";
|
|
@@ -659,6 +822,8 @@ export declare const commandSchemas: {
|
|
|
659
822
|
type: import("zod").ZodLiteral<"nvr-recorder">;
|
|
660
823
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
661
824
|
type: import("zod").ZodLiteral<"nvr-exporter">;
|
|
825
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
826
|
+
type: import("zod").ZodLiteral<"playback-server">;
|
|
662
827
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
663
828
|
capabilities: import("zod").ZodArray<import("zod").ZodEnum<{
|
|
664
829
|
motionDetection: "motionDetection";
|
|
@@ -781,6 +946,8 @@ export declare const commandSchemas: {
|
|
|
781
946
|
type: import("zod").ZodLiteral<"nvr-recorder">;
|
|
782
947
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
783
948
|
type: import("zod").ZodLiteral<"nvr-exporter">;
|
|
949
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
950
|
+
type: import("zod").ZodLiteral<"playback-server">;
|
|
784
951
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
785
952
|
capabilities: import("zod").ZodArray<import("zod").ZodEnum<{
|
|
786
953
|
motionDetection: "motionDetection";
|
|
@@ -907,6 +1074,8 @@ export declare const commandSchemas: {
|
|
|
907
1074
|
type: import("zod").ZodLiteral<"nvr-recorder">;
|
|
908
1075
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
909
1076
|
type: import("zod").ZodLiteral<"nvr-exporter">;
|
|
1077
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
1078
|
+
type: import("zod").ZodLiteral<"playback-server">;
|
|
910
1079
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
911
1080
|
capabilities: import("zod").ZodArray<import("zod").ZodEnum<{
|
|
912
1081
|
motionDetection: "motionDetection";
|
package/dist/api/commands/all.js
CHANGED
|
@@ -9,6 +9,7 @@ const door_1 = require("./door");
|
|
|
9
9
|
const io_board_1 = require("./io-board");
|
|
10
10
|
const nvr_exporter_1 = require("./nvr-exporter");
|
|
11
11
|
const pbx_1 = require("./pbx");
|
|
12
|
+
const playback_server_1 = require("./playback-server");
|
|
12
13
|
const presence_tracker_1 = require("./presence-tracker");
|
|
13
14
|
const server_1 = require("./server");
|
|
14
15
|
const nvr_recorder_1 = require("./nvr-recorder");
|
|
@@ -24,6 +25,7 @@ exports.commandSchemas = {
|
|
|
24
25
|
...display_1.displayCommands,
|
|
25
26
|
...nvr_recorder_1.nvrRecorderCommandSchemas,
|
|
26
27
|
...nvr_exporter_1.nvrExporterCommandSchemas,
|
|
28
|
+
...playback_server_1.playbackServerCommandSchemas,
|
|
27
29
|
...nvr_analytics_server_1.nvrAnalyticsServerCommandSchemas,
|
|
28
30
|
...server_1.serverCommands,
|
|
29
31
|
};
|
|
@@ -141,6 +143,26 @@ exports.commandDescriptions = {
|
|
|
141
143
|
description: 'NVR Exporter Delete Export',
|
|
142
144
|
permission: 'camera:playback-export',
|
|
143
145
|
},
|
|
146
|
+
'playback-server.open-session': {
|
|
147
|
+
description: 'Playback Server Open Session',
|
|
148
|
+
permission: 'camera:playback',
|
|
149
|
+
},
|
|
150
|
+
'playback-server.close-session': {
|
|
151
|
+
description: 'Playback Server Close Session',
|
|
152
|
+
permission: 'camera:playback',
|
|
153
|
+
},
|
|
154
|
+
'playback-server.play': {
|
|
155
|
+
description: 'Playback Server Play',
|
|
156
|
+
permission: 'camera:playback',
|
|
157
|
+
},
|
|
158
|
+
'playback-server.pause': {
|
|
159
|
+
description: 'Playback Server Pause',
|
|
160
|
+
permission: 'camera:playback',
|
|
161
|
+
},
|
|
162
|
+
'playback-server.seek': {
|
|
163
|
+
description: 'Playback Server Seek',
|
|
164
|
+
permission: 'camera:playback',
|
|
165
|
+
},
|
|
144
166
|
'nvr-recorder.start-recording': {
|
|
145
167
|
description: 'NVR Recorder Start Recording',
|
|
146
168
|
permission: 'camera:record',
|
|
@@ -23,6 +23,7 @@ __exportStar(require("./alarm"), exports);
|
|
|
23
23
|
__exportStar(require("./presence-tracker"), exports);
|
|
24
24
|
__exportStar(require("./display"), exports);
|
|
25
25
|
__exportStar(require("./nvr-exporter"), exports);
|
|
26
|
+
__exportStar(require("./playback-server"), exports);
|
|
26
27
|
__exportStar(require("./nvr-recorder"), exports);
|
|
27
28
|
__exportStar(require("./camera-lift"), exports);
|
|
28
29
|
__exportStar(require("./pbx"), exports);
|
|
@@ -105,6 +105,8 @@ export declare const sSetStreamAnalyticsCommand: z.ZodObject<{
|
|
|
105
105
|
type: z.ZodLiteral<"nvr-recorder">;
|
|
106
106
|
}, z.core.$strip>, z.ZodObject<{
|
|
107
107
|
type: z.ZodLiteral<"nvr-exporter">;
|
|
108
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
109
|
+
type: z.ZodLiteral<"playback-server">;
|
|
108
110
|
}, z.core.$strip>, z.ZodObject<{
|
|
109
111
|
capabilities: z.ZodArray<z.ZodEnum<{
|
|
110
112
|
motionDetection: "motionDetection";
|
|
@@ -252,6 +254,8 @@ export declare const nvrAnalyticsServerCommandSchemas: {
|
|
|
252
254
|
type: z.ZodLiteral<"nvr-recorder">;
|
|
253
255
|
}, z.core.$strip>, z.ZodObject<{
|
|
254
256
|
type: z.ZodLiteral<"nvr-exporter">;
|
|
257
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
258
|
+
type: z.ZodLiteral<"playback-server">;
|
|
255
259
|
}, z.core.$strip>, z.ZodObject<{
|
|
256
260
|
capabilities: z.ZodArray<z.ZodEnum<{
|
|
257
261
|
motionDetection: "motionDetection";
|
|
@@ -106,6 +106,8 @@ export declare const sStartExportCommand: z.ZodObject<{
|
|
|
106
106
|
type: z.ZodLiteral<"nvr-recorder">;
|
|
107
107
|
}, z.core.$strip>, z.ZodObject<{
|
|
108
108
|
type: z.ZodLiteral<"nvr-exporter">;
|
|
109
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
110
|
+
type: z.ZodLiteral<"playback-server">;
|
|
109
111
|
}, z.core.$strip>, z.ZodObject<{
|
|
110
112
|
capabilities: z.ZodArray<z.ZodEnum<{
|
|
111
113
|
motionDetection: "motionDetection";
|
|
@@ -242,6 +244,8 @@ export declare const nvrExporterCommandSchemas: {
|
|
|
242
244
|
type: z.ZodLiteral<"nvr-recorder">;
|
|
243
245
|
}, z.core.$strip>, z.ZodObject<{
|
|
244
246
|
type: z.ZodLiteral<"nvr-exporter">;
|
|
247
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
248
|
+
type: z.ZodLiteral<"playback-server">;
|
|
245
249
|
}, z.core.$strip>, z.ZodObject<{
|
|
246
250
|
capabilities: z.ZodArray<z.ZodEnum<{
|
|
247
251
|
motionDetection: "motionDetection";
|
|
@@ -105,6 +105,8 @@ export declare const sMountStreamCommand: z.ZodObject<{
|
|
|
105
105
|
type: z.ZodLiteral<"nvr-recorder">;
|
|
106
106
|
}, z.core.$strip>, z.ZodObject<{
|
|
107
107
|
type: z.ZodLiteral<"nvr-exporter">;
|
|
108
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
109
|
+
type: z.ZodLiteral<"playback-server">;
|
|
108
110
|
}, z.core.$strip>, z.ZodObject<{
|
|
109
111
|
capabilities: z.ZodArray<z.ZodEnum<{
|
|
110
112
|
motionDetection: "motionDetection";
|
|
@@ -232,6 +234,8 @@ export declare const sUnmountStreamCommand: z.ZodObject<{
|
|
|
232
234
|
type: z.ZodLiteral<"nvr-recorder">;
|
|
233
235
|
}, z.core.$strip>, z.ZodObject<{
|
|
234
236
|
type: z.ZodLiteral<"nvr-exporter">;
|
|
237
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
238
|
+
type: z.ZodLiteral<"playback-server">;
|
|
235
239
|
}, z.core.$strip>, z.ZodObject<{
|
|
236
240
|
capabilities: z.ZodArray<z.ZodEnum<{
|
|
237
241
|
motionDetection: "motionDetection";
|
|
@@ -355,6 +359,8 @@ export declare const sStartRecordingCommand: z.ZodObject<{
|
|
|
355
359
|
type: z.ZodLiteral<"nvr-recorder">;
|
|
356
360
|
}, z.core.$strip>, z.ZodObject<{
|
|
357
361
|
type: z.ZodLiteral<"nvr-exporter">;
|
|
362
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
363
|
+
type: z.ZodLiteral<"playback-server">;
|
|
358
364
|
}, z.core.$strip>, z.ZodObject<{
|
|
359
365
|
capabilities: z.ZodArray<z.ZodEnum<{
|
|
360
366
|
motionDetection: "motionDetection";
|
|
@@ -478,6 +484,8 @@ export declare const sStopRecordingCommand: z.ZodObject<{
|
|
|
478
484
|
type: z.ZodLiteral<"nvr-recorder">;
|
|
479
485
|
}, z.core.$strip>, z.ZodObject<{
|
|
480
486
|
type: z.ZodLiteral<"nvr-exporter">;
|
|
487
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
488
|
+
type: z.ZodLiteral<"playback-server">;
|
|
481
489
|
}, z.core.$strip>, z.ZodObject<{
|
|
482
490
|
capabilities: z.ZodArray<z.ZodEnum<{
|
|
483
491
|
motionDetection: "motionDetection";
|
|
@@ -603,6 +611,8 @@ export declare const nvrRecorderCommandSchemas: {
|
|
|
603
611
|
type: z.ZodLiteral<"nvr-recorder">;
|
|
604
612
|
}, z.core.$strip>, z.ZodObject<{
|
|
605
613
|
type: z.ZodLiteral<"nvr-exporter">;
|
|
614
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
615
|
+
type: z.ZodLiteral<"playback-server">;
|
|
606
616
|
}, z.core.$strip>, z.ZodObject<{
|
|
607
617
|
capabilities: z.ZodArray<z.ZodEnum<{
|
|
608
618
|
motionDetection: "motionDetection";
|
|
@@ -725,6 +735,8 @@ export declare const nvrRecorderCommandSchemas: {
|
|
|
725
735
|
type: z.ZodLiteral<"nvr-recorder">;
|
|
726
736
|
}, z.core.$strip>, z.ZodObject<{
|
|
727
737
|
type: z.ZodLiteral<"nvr-exporter">;
|
|
738
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
739
|
+
type: z.ZodLiteral<"playback-server">;
|
|
728
740
|
}, z.core.$strip>, z.ZodObject<{
|
|
729
741
|
capabilities: z.ZodArray<z.ZodEnum<{
|
|
730
742
|
motionDetection: "motionDetection";
|
|
@@ -847,6 +859,8 @@ export declare const nvrRecorderCommandSchemas: {
|
|
|
847
859
|
type: z.ZodLiteral<"nvr-recorder">;
|
|
848
860
|
}, z.core.$strip>, z.ZodObject<{
|
|
849
861
|
type: z.ZodLiteral<"nvr-exporter">;
|
|
862
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
863
|
+
type: z.ZodLiteral<"playback-server">;
|
|
850
864
|
}, z.core.$strip>, z.ZodObject<{
|
|
851
865
|
capabilities: z.ZodArray<z.ZodEnum<{
|
|
852
866
|
motionDetection: "motionDetection";
|
|
@@ -973,6 +987,8 @@ export declare const nvrRecorderCommandSchemas: {
|
|
|
973
987
|
type: z.ZodLiteral<"nvr-recorder">;
|
|
974
988
|
}, z.core.$strip>, z.ZodObject<{
|
|
975
989
|
type: z.ZodLiteral<"nvr-exporter">;
|
|
990
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
991
|
+
type: z.ZodLiteral<"playback-server">;
|
|
976
992
|
}, z.core.$strip>, z.ZodObject<{
|
|
977
993
|
capabilities: z.ZodArray<z.ZodEnum<{
|
|
978
994
|
motionDetection: "motionDetection";
|