@awarevue/api-types 2.0.145 → 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.
Files changed (35) hide show
  1. package/dist/api/agent-protocol/protocol.d.ts +8 -0
  2. package/dist/api/commands/all.d.ts +170 -1
  3. package/dist/api/commands/all.js +22 -0
  4. package/dist/api/commands/index.d.ts +1 -0
  5. package/dist/api/commands/index.js +1 -0
  6. package/dist/api/commands/nvr-analytics-server.d.ts +4 -0
  7. package/dist/api/commands/nvr-exporter.d.ts +4 -0
  8. package/dist/api/commands/nvr-recorder.d.ts +16 -0
  9. package/dist/api/commands/playback-server.d.ts +440 -0
  10. package/dist/api/commands/playback-server.js +64 -0
  11. package/dist/api/commands/server.d.ts +4 -0
  12. package/dist/api/events/all.d.ts +16 -1
  13. package/dist/api/events/all.js +6 -0
  14. package/dist/api/events/index.d.ts +1 -0
  15. package/dist/api/events/index.js +1 -0
  16. package/dist/api/events/playback-server.d.ts +35 -0
  17. package/dist/api/events/playback-server.js +28 -0
  18. package/dist/api/queries/all.d.ts +31 -2
  19. package/dist/api/queries/all.js +3 -0
  20. package/dist/api/queries/index.d.ts +1 -0
  21. package/dist/api/queries/index.js +1 -0
  22. package/dist/api/queries/nvr-recorder.d.ts +16 -0
  23. package/dist/api/queries/playback-server.d.ts +72 -0
  24. package/dist/api/queries/playback-server.js +47 -0
  25. package/dist/api/rest/device.d.ts +4 -0
  26. package/dist/objects/device/any-device.d.ts +120 -1
  27. package/dist/objects/device/any-device.js +11 -1
  28. package/dist/objects/device/device-import.d.ts +8 -0
  29. package/dist/objects/device/index.d.ts +1 -0
  30. package/dist/objects/device/index.js +1 -0
  31. package/dist/objects/device/playback-server.d.ts +9 -0
  32. package/dist/objects/device/playback-server.js +10 -0
  33. package/dist/package.json +1 -1
  34. package/dist/primitives.d.ts +4 -0
  35. 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.145",
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",
@@ -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.145",
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",