@awarevue/api-types 2.0.106 → 2.0.108
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.
|
@@ -17,7 +17,7 @@ import { NVR_RECORDER } from './nvr-recorder';
|
|
|
17
17
|
import { NVR_EXPORTER } from './nvr-exporter';
|
|
18
18
|
import { NVR_ANALYTICS_SERVER } from './nvr-analytics-server';
|
|
19
19
|
import { SYSTEM } from './system';
|
|
20
|
-
import { GENERIC_SENSOR } from '
|
|
20
|
+
import { GENERIC_SENSOR } from './generic-sensor';
|
|
21
21
|
export declare const DEVICE_TYPES: readonly ["alarm", "server", "camera", "door", "reader", "io-board", "camera-lift", "motion-sensor", "generic-sensor", "panic-button", "intercom-operator", "intercom-terminal", "pbx", "device-gateway", "presence-tracker", "display", "nvr-recorder", "nvr-exporter", "nvr-analytics-server", "system"];
|
|
22
22
|
export declare const sDeviceType: z.ZodEnum<{
|
|
23
23
|
camera: "camera";
|
|
@@ -22,7 +22,7 @@ const nvr_exporter_1 = require("./nvr-exporter");
|
|
|
22
22
|
const nvr_analytics_server_1 = require("./nvr-analytics-server");
|
|
23
23
|
const system_1 = require("./system");
|
|
24
24
|
const reader_1 = require("./reader");
|
|
25
|
-
const
|
|
25
|
+
const generic_sensor_1 = require("./generic-sensor");
|
|
26
26
|
exports.DEVICE_TYPES = [
|
|
27
27
|
alarm_1.ALARM,
|
|
28
28
|
server_1.SERVER,
|
|
@@ -32,7 +32,7 @@ exports.DEVICE_TYPES = [
|
|
|
32
32
|
io_board_1.IO_BOARD,
|
|
33
33
|
camera_lift_1.CAMERA_LIFT,
|
|
34
34
|
motion_sensor_1.MOTION_SENSOR,
|
|
35
|
-
|
|
35
|
+
generic_sensor_1.GENERIC_SENSOR,
|
|
36
36
|
panic_button_1.PANIC_BUTTON,
|
|
37
37
|
intercom_operator_1.INTERCOM_OPERATOR,
|
|
38
38
|
intercom_terminal_1.INTERCOM_TERMINAL,
|
|
@@ -58,8 +58,8 @@ const sCameraLiftSpecsWithType = camera_lift_1.sCameraLiftSpecs.extend({
|
|
|
58
58
|
const sMotionSensorSpecsWithType = motion_sensor_1.sMotionSensorSpecs.extend({
|
|
59
59
|
type: zod_1.z.literal(motion_sensor_1.MOTION_SENSOR),
|
|
60
60
|
});
|
|
61
|
-
const sGenericSensorSpecsWithType =
|
|
62
|
-
type: zod_1.z.literal(
|
|
61
|
+
const sGenericSensorSpecsWithType = generic_sensor_1.sGenericSensorSpecs.extend({
|
|
62
|
+
type: zod_1.z.literal(generic_sensor_1.GENERIC_SENSOR),
|
|
63
63
|
});
|
|
64
64
|
const sPanicButtonSpecsWithType = panic_button_1.sPanicButtonSpecs.extend({
|
|
65
65
|
type: zod_1.z.literal(panic_button_1.PANIC_BUTTON),
|
|
@@ -228,7 +228,7 @@ exports.deviceDtoSchemaMap = {
|
|
|
228
228
|
[io_board_1.IO_BOARD]: exports.sIoBoardDto,
|
|
229
229
|
[camera_lift_1.CAMERA_LIFT]: exports.sCameraLiftDto,
|
|
230
230
|
[motion_sensor_1.MOTION_SENSOR]: exports.sMotionSensorDto,
|
|
231
|
-
[
|
|
231
|
+
[generic_sensor_1.GENERIC_SENSOR]: exports.sGenericSensorDto,
|
|
232
232
|
[panic_button_1.PANIC_BUTTON]: exports.sPanicButtonDto,
|
|
233
233
|
[intercom_operator_1.INTERCOM_OPERATOR]: exports.sIntercomOperatorDto,
|
|
234
234
|
[intercom_terminal_1.INTERCOM_TERMINAL]: exports.sIntercomTerminalDto,
|
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.108",
|
|
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/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.108",
|
|
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",
|