@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
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.sPlaybackServerStateDto = exports.sPlaybackServerSpecs = exports.PLAYBACK_SERVER = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
exports.PLAYBACK_SERVER = 'playback-server';
|
|
6
|
+
exports.sPlaybackServerSpecs = zod_1.z.object({});
|
|
7
|
+
exports.sPlaybackServerStateDto = zod_1.z.object({
|
|
8
|
+
connected: zod_1.z.boolean(),
|
|
9
|
+
activeSessions: zod_1.z.array(zod_1.z.string().nonempty()),
|
|
10
|
+
});
|
package/dist/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"type": "git",
|
|
5
5
|
"url": "git+https://github.com/Linc-Security-Systems/aware-essentials.git"
|
|
6
6
|
},
|
|
7
|
-
"version": "2.0.
|
|
7
|
+
"version": "2.0.146",
|
|
8
8
|
"description": "Common types between backend, agent(s) and frontend(s)",
|
|
9
9
|
"main": "dist/index.js",
|
|
10
10
|
"types": "dist/index.d.ts",
|
package/dist/primitives.d.ts
CHANGED
|
@@ -128,6 +128,8 @@ export declare const sAgentDeviceInfo: z.ZodIntersection<z.ZodObject<{
|
|
|
128
128
|
type: z.ZodLiteral<"nvr-recorder">;
|
|
129
129
|
}, z.core.$strip>, z.ZodObject<{
|
|
130
130
|
type: z.ZodLiteral<"nvr-exporter">;
|
|
131
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
132
|
+
type: z.ZodLiteral<"playback-server">;
|
|
131
133
|
}, z.core.$strip>, z.ZodObject<{
|
|
132
134
|
capabilities: z.ZodArray<z.ZodEnum<{
|
|
133
135
|
motionDetection: "motionDetection";
|
|
@@ -246,6 +248,8 @@ export declare const sDeviceParam: z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodInt
|
|
|
246
248
|
type: z.ZodLiteral<"nvr-recorder">;
|
|
247
249
|
}, z.core.$strip>, z.ZodObject<{
|
|
248
250
|
type: z.ZodLiteral<"nvr-exporter">;
|
|
251
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
252
|
+
type: z.ZodLiteral<"playback-server">;
|
|
249
253
|
}, z.core.$strip>, z.ZodObject<{
|
|
250
254
|
capabilities: z.ZodArray<z.ZodEnum<{
|
|
251
255
|
motionDetection: "motionDetection";
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"type": "git",
|
|
5
5
|
"url": "git+https://github.com/Linc-Security-Systems/aware-essentials.git"
|
|
6
6
|
},
|
|
7
|
-
"version": "2.0.
|
|
7
|
+
"version": "2.0.146",
|
|
8
8
|
"description": "Common types between backend, agent(s) and frontend(s)",
|
|
9
9
|
"main": "dist/index.js",
|
|
10
10
|
"types": "dist/index.d.ts",
|