@awarevue/api-types 2.0.22 → 2.0.23
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/_legacy/index.d.ts +2 -0
- package/dist/_legacy/index.js +2 -0
- package/dist/_legacy/milestone.js +1 -0
- package/dist/_legacy/orchid.js +1 -0
- package/dist/alarm-automation.d.ts +3 -3
- package/dist/alarm-automation.js +26 -37
- package/dist/api/agent-protocol/index.d.ts +1 -0
- package/dist/api/agent-protocol/index.js +1 -0
- package/dist/{agent-communication → api/agent-protocol}/protocol.d.ts +407 -598
- package/dist/api/agent-protocol/protocol.js +382 -0
- package/dist/api/commands/alarm.js +59 -0
- package/dist/{commands → api/commands}/all.d.ts +83 -83
- package/dist/{commands → api/commands}/all.js +22 -25
- package/dist/api/commands/camera-lift.js +14 -0
- package/dist/api/commands/camera.js +93 -0
- package/dist/api/commands/display.js +34 -0
- package/dist/api/commands/door.js +24 -0
- package/dist/api/commands/index.js +12 -0
- package/dist/api/commands/intercom-terminal.js +2 -0
- package/dist/api/commands/io-board.js +12 -0
- package/dist/api/commands/nvr-exporter.js +23 -0
- package/dist/api/commands/pbx.js +14 -0
- package/dist/api/commands/presence-tracker.js +30 -0
- package/dist/api/commands/server.js +24 -0
- package/dist/api/error.js +181 -0
- package/dist/api/events/alarm.js +52 -0
- package/dist/{events → api/events}/all.d.ts +8 -8
- package/dist/api/events/all.js +124 -0
- package/dist/api/events/camera.js +84 -0
- package/dist/api/events/display.js +6 -0
- package/dist/api/events/door.js +59 -0
- package/dist/api/events/index.js +12 -0
- package/dist/api/events/intercom-terminal.js +16 -0
- package/dist/api/events/io-board.js +10 -0
- package/dist/api/events/nvr-exporter.js +18 -0
- package/dist/api/events/panic-button.js +8 -0
- package/dist/api/events/presence-tracker.js +30 -0
- package/dist/api/events/reader.js +10 -0
- package/dist/{events → api/events}/server.d.ts +5 -5
- package/dist/api/events/server.js +12 -0
- package/dist/api/index.d.ts +9 -4
- package/dist/api/index.js +9 -20
- package/dist/api/mqtt/index.d.ts +1 -0
- package/dist/api/mqtt/index.js +1 -0
- package/dist/api/mqtt/payloads.js +18 -0
- package/dist/api/queries/all.js +25 -0
- package/dist/api/queries/camera.js +24 -0
- package/dist/api/queries/index.js +5 -0
- package/dist/api/queries/nvr-analytics-server.js +73 -0
- package/dist/api/queries/nvr-exporter.js +33 -0
- package/dist/api/queries/nvr-recorder.js +39 -0
- package/dist/api/rest/access-rule.d.ts +117 -0
- package/dist/api/rest/access-rule.js +10 -0
- package/dist/{access-control → api/rest}/agreement.d.ts +0 -20
- package/dist/api/rest/agreement.js +7 -0
- package/dist/api/rest/alarm.js +1 -0
- package/dist/{api-keys.d.ts → api/rest/api-keys.d.ts} +0 -20
- package/dist/api/rest/api-keys.js +11 -0
- package/dist/api/rest/app.js +9 -0
- package/dist/api/rest/auth.js +16 -0
- package/dist/{automation.d.ts → api/rest/automation.d.ts} +0 -217
- package/dist/api/rest/automation.js +14 -0
- package/dist/api/rest/aware-config.js +1 -0
- package/dist/{bookmarks.d.ts → api/rest/bookmarks.d.ts} +0 -49
- package/dist/api/rest/bookmarks.js +18 -0
- package/dist/api/rest/cast.js +7 -0
- package/dist/{custom-field.d.ts → api/rest/custom-field.d.ts} +1 -19
- package/dist/api/rest/custom-field.js +3 -0
- package/dist/{device-event.d.ts → api/rest/device-event.d.ts} +1 -1
- package/dist/api/rest/device-event.js +1 -0
- package/dist/{device-group.d.ts → api/rest/device-group.d.ts} +0 -23
- package/dist/api/rest/device-group.js +17 -0
- package/dist/api/rest/file.js +1 -0
- package/dist/api/rest/index.d.ts +34 -0
- package/dist/api/rest/index.js +34 -0
- package/dist/{device-factory.d.ts → api/rest/io-device.d.ts} +1 -1
- package/dist/api/rest/io-device.js +19 -0
- package/dist/{layout.d.ts → api/rest/layout.d.ts} +6 -107
- package/dist/api/rest/layout.js +19 -0
- package/dist/{macros.d.ts → api/rest/macros.d.ts} +0 -82
- package/dist/api/rest/macros.js +8 -0
- package/dist/api/rest/media.js +65 -0
- package/dist/api/rest/module-config.d.ts +19 -0
- package/dist/api/rest/module-config.js +1 -0
- package/dist/api/rest/notifications.d.ts +21 -0
- package/dist/api/rest/notifications.js +9 -0
- package/dist/api/rest/person-agreement.d.ts +15 -0
- package/dist/api/rest/person-agreement.js +6 -0
- package/dist/api/rest/person-presence.d.ts +72 -0
- package/dist/api/rest/person-presence.js +29 -0
- package/dist/{access-control → api/rest}/person-type.d.ts +1 -33
- package/dist/api/rest/person-type.js +8 -0
- package/dist/api/rest/person.d.ts +128 -0
- package/dist/api/rest/person.js +8 -0
- package/dist/api/{query.js → rest/query.js} +8 -13
- package/dist/api/rest/schedule.d.ts +249 -0
- package/dist/api/rest/schedule.js +9 -0
- package/dist/{security-level.d.ts → api/rest/security-level.d.ts} +0 -29
- package/dist/api/rest/security-level.js +5 -0
- package/dist/{template.d.ts → api/rest/template.d.ts} +1 -18
- package/dist/api/rest/template.js +12 -0
- package/dist/{token-conversion.d.ts → api/rest/token-conversion.d.ts} +0 -22
- package/dist/api/rest/token-conversion.js +5 -0
- package/dist/{user.d.ts → api/rest/user.d.ts} +10 -60
- package/dist/api/rest/user.js +32 -0
- package/dist/api/rest/view.d.ts +397 -0
- package/dist/api/rest/view.js +16 -0
- package/dist/api/rest/webrtc-playback.js +8 -0
- package/dist/{access-control → api/rest}/zone.d.ts +0 -29
- package/dist/api/rest/zone.js +10 -0
- package/dist/api/state/index.d.ts +10 -0
- package/dist/api/state/index.js +1 -0
- package/dist/api/ws/device-communication.js +55 -0
- package/dist/api/ws/index.js +5 -0
- package/dist/api/ws/notifications.js +20 -0
- package/dist/api/ws/progress.js +44 -0
- package/dist/api/ws/web-rtc-signaling.js +92 -0
- package/dist/api/ws/web-socket.js +2 -0
- package/dist/index.d.ts +1 -36
- package/dist/index.js +6 -57
- package/dist/{access-control → objects}/access-rule.d.ts +9 -78
- package/dist/objects/access-rule.js +36 -0
- package/dist/objects/agent-metadata.d.ts +192 -0
- package/dist/objects/agent-metadata.js +49 -0
- package/dist/objects/agreement.d.ts +21 -0
- package/dist/objects/agreement.js +8 -0
- package/dist/{objects.d.ts → objects/all.d.ts} +18 -11
- package/dist/{objects.js → objects/all.js} +4 -7
- package/dist/objects/api-key.d.ts +21 -0
- package/dist/objects/api-key.js +8 -0
- package/dist/objects/automation-rule.d.ts +218 -0
- package/dist/objects/automation-rule.js +51 -0
- package/dist/objects/bookmark.d.ts +50 -0
- package/dist/objects/bookmark.js +13 -0
- package/dist/objects/credential.js +11 -0
- package/dist/objects/custom-field.d.ts +20 -0
- package/dist/objects/custom-field.js +14 -0
- package/dist/{device → objects/device}/alarm.js +3 -6
- package/dist/{device → objects/device}/any-device.d.ts +510 -510
- package/dist/objects/device/any-device.js +239 -0
- package/dist/objects/device/camera-lift.js +4 -0
- package/dist/objects/device/camera.js +32 -0
- package/dist/objects/device/device-gateway.js +2 -0
- package/dist/{device-import.d.ts → objects/device/device-import.d.ts} +44 -44
- package/dist/objects/device/device-import.js +30 -0
- package/dist/{device-relation.js → objects/device/device-relation.js} +13 -16
- package/dist/objects/device/display.js +4 -0
- package/dist/objects/device/door.js +9 -0
- package/dist/{device → objects/device}/index.d.ts +2 -0
- package/dist/objects/device/index.js +22 -0
- package/dist/objects/device/intercom-operator.js +1 -0
- package/dist/objects/device/intercom-terminal.js +23 -0
- package/dist/objects/device/io-board.js +7 -0
- package/dist/objects/device/motion-sensor.js +4 -0
- package/dist/objects/device/nvr-analytics-server.js +6 -0
- package/dist/objects/device/nvr-exporter.js +7 -0
- package/dist/objects/device/nvr-recorder.js +6 -0
- package/dist/objects/device/panic-button.js +4 -0
- package/dist/objects/device/pbx.js +6 -0
- package/dist/objects/device/presence-tracker.js +1 -0
- package/dist/objects/device/reader.js +1 -0
- package/dist/{device → objects/device}/server.d.ts +1 -1
- package/dist/objects/device/server.js +1 -0
- package/dist/objects/device/system.js +6 -0
- package/dist/objects/device-group.d.ts +24 -0
- package/dist/objects/device-group.js +9 -0
- package/dist/objects/index.d.ts +27 -0
- package/dist/objects/index.js +27 -0
- package/dist/objects/layout.d.ts +102 -0
- package/dist/objects/layout.js +22 -0
- package/dist/objects/macro.d.ts +83 -0
- package/dist/objects/macro.js +22 -0
- package/dist/{module-config.d.ts → objects/module-config.d.ts} +1 -18
- package/dist/objects/module-config.js +1 -0
- package/dist/{notifications.d.ts → objects/notification.d.ts} +0 -20
- package/dist/objects/notification.js +13 -0
- package/dist/{access-control → objects}/person-agreement.d.ts +1 -15
- package/dist/objects/person-agreement.js +8 -0
- package/dist/{access-control → objects}/person-presence.d.ts +2 -73
- package/dist/objects/person-presence.js +35 -0
- package/dist/objects/person-type.d.ts +33 -0
- package/dist/objects/person-type.js +16 -0
- package/dist/{access-control → objects}/person.d.ts +74 -140
- package/dist/objects/person.js +42 -0
- package/dist/objects/role.d.ts +21 -0
- package/dist/objects/role.js +15 -0
- package/dist/{access-control → objects}/schedule.d.ts +4 -129
- package/dist/objects/schedule.js +53 -0
- package/dist/objects/security-level.d.ts +30 -0
- package/dist/objects/security-level.js +11 -0
- package/dist/objects/template.d.ts +20 -0
- package/dist/objects/template.js +8 -0
- package/dist/objects/token-conversion.d.ts +23 -0
- package/dist/objects/token-conversion.js +8 -0
- package/dist/objects/user.d.ts +31 -0
- package/dist/objects/user.js +12 -0
- package/dist/{view.d.ts → objects/view.d.ts} +3 -399
- package/dist/objects/view.js +64 -0
- package/dist/{world-objects.js → objects/world-object.js} +5 -8
- package/dist/objects/zone.d.ts +41 -0
- package/dist/objects/zone.js +15 -0
- package/dist/package.json +1 -1
- package/dist/permissions.js +146 -149
- package/dist/primitives.d.ts +30 -30
- package/dist/primitives.js +27 -30
- package/package.json +1 -1
- package/dist/access-control/access-rule.js +0 -49
- package/dist/access-control/agreement.js +0 -20
- package/dist/access-control/credential.js +0 -17
- package/dist/access-control/index.d.ts +0 -9
- package/dist/access-control/index.js +0 -25
- package/dist/access-control/person-agreement.js +0 -19
- package/dist/access-control/person-presence.js +0 -66
- package/dist/access-control/person-type.js +0 -29
- package/dist/access-control/person.js +0 -53
- package/dist/access-control/schedule.js +0 -65
- package/dist/access-control/zone.js +0 -28
- package/dist/agent-communication/index.d.ts +0 -2
- package/dist/agent-communication/index.js +0 -18
- package/dist/agent-communication/mqtt-payloads.js +0 -21
- package/dist/agent-communication/protocol.js +0 -436
- package/dist/api/alarm.js +0 -2
- package/dist/api/auth.js +0 -19
- package/dist/api/media.js +0 -68
- package/dist/api-keys.js +0 -21
- package/dist/app.js +0 -12
- package/dist/automation.js +0 -66
- package/dist/aware-config.js +0 -2
- package/dist/bookmarks.js +0 -32
- package/dist/cast.js +0 -13
- package/dist/commands/alarm.js +0 -62
- package/dist/commands/camera-lift.js +0 -17
- package/dist/commands/camera.js +0 -97
- package/dist/commands/display.js +0 -37
- package/dist/commands/door.js +0 -27
- package/dist/commands/index.js +0 -28
- package/dist/commands/intercom-terminal.js +0 -3
- package/dist/commands/io-board.js +0 -15
- package/dist/commands/nvr-exporter.js +0 -26
- package/dist/commands/pbx.js +0 -17
- package/dist/commands/presence-tracker.js +0 -33
- package/dist/commands/server.js +0 -27
- package/dist/custom-field.js +0 -19
- package/dist/device/any-device.js +0 -242
- package/dist/device/camera-lift.js +0 -7
- package/dist/device/camera.js +0 -35
- package/dist/device/device-gateway.js +0 -5
- package/dist/device/display.js +0 -7
- package/dist/device/door.js +0 -12
- package/dist/device/index.js +0 -36
- package/dist/device/intercom-operator.js +0 -4
- package/dist/device/intercom-terminal.js +0 -26
- package/dist/device/io-board.js +0 -10
- package/dist/device/motion-sensor.js +0 -7
- package/dist/device/nvr-analytics-server.js +0 -9
- package/dist/device/nvr-exporter.js +0 -10
- package/dist/device/nvr-recorder.js +0 -9
- package/dist/device/panic-button.js +0 -7
- package/dist/device/pbx.js +0 -9
- package/dist/device/presence-tracker.js +0 -4
- package/dist/device/reader.js +0 -4
- package/dist/device/server.js +0 -4
- package/dist/device/system.js +0 -9
- package/dist/device-event.js +0 -2
- package/dist/device-factory.js +0 -26
- package/dist/device-group.js +0 -31
- package/dist/device-import.js +0 -33
- package/dist/device-state.d.ts +0 -10
- package/dist/device-state.js +0 -2
- package/dist/error.js +0 -185
- package/dist/events/alarm.js +0 -55
- package/dist/events/all.js +0 -128
- package/dist/events/camera.js +0 -87
- package/dist/events/display.js +0 -9
- package/dist/events/door.js +0 -62
- package/dist/events/index.js +0 -28
- package/dist/events/intercom-terminal.js +0 -19
- package/dist/events/io-board.js +0 -13
- package/dist/events/nvr-exporter.js +0 -21
- package/dist/events/panic-button.js +0 -11
- package/dist/events/presence-tracker.js +0 -33
- package/dist/events/reader.js +0 -13
- package/dist/events/server.js +0 -15
- package/dist/file.js +0 -2
- package/dist/layout.js +0 -45
- package/dist/macros.js +0 -32
- package/dist/messages/device-communication.js +0 -63
- package/dist/messages/index.js +0 -21
- package/dist/messages/notifications.js +0 -27
- package/dist/messages/progress.js +0 -51
- package/dist/messages/web-rtc-signaling.js +0 -99
- package/dist/messages/web-socket.js +0 -5
- package/dist/milestone.js +0 -2
- package/dist/module-config.js +0 -2
- package/dist/notifications.js +0 -23
- package/dist/orchid.js +0 -2
- package/dist/queries/all.js +0 -28
- package/dist/queries/camera.js +0 -27
- package/dist/queries/index.js +0 -21
- package/dist/queries/nvr-analytics-server.js +0 -76
- package/dist/queries/nvr-exporter.js +0 -36
- package/dist/queries/nvr-recorder.js +0 -42
- package/dist/security-level.js +0 -18
- package/dist/template.js +0 -21
- package/dist/token-conversion.js +0 -15
- package/dist/user.js +0 -57
- package/dist/view.js +0 -84
- package/dist/webrtc-playback.js +0 -14
- package/dist/{milestone.d.ts → _legacy/milestone.d.ts} +0 -0
- package/dist/{orchid.d.ts → _legacy/orchid.d.ts} +0 -0
- package/dist/{commands → api/commands}/alarm.d.ts +0 -0
- package/dist/{commands → api/commands}/camera-lift.d.ts +0 -0
- package/dist/{commands → api/commands}/camera.d.ts +0 -0
- package/dist/{commands → api/commands}/display.d.ts +0 -0
- package/dist/{commands → api/commands}/door.d.ts +0 -0
- package/dist/{commands → api/commands}/index.d.ts +0 -0
- package/dist/{commands → api/commands}/intercom-terminal.d.ts +0 -0
- package/dist/{commands → api/commands}/io-board.d.ts +0 -0
- package/dist/{commands → api/commands}/nvr-exporter.d.ts +86 -86
- package/dist/{commands → api/commands}/pbx.d.ts +0 -0
- package/dist/{commands → api/commands}/presence-tracker.d.ts +0 -0
- package/dist/{commands → api/commands}/server.d.ts +78 -78
- package/dist/{error.d.ts → api/error.d.ts} +0 -0
- package/dist/{events → api/events}/alarm.d.ts +0 -0
- package/dist/{events → api/events}/camera.d.ts +0 -0
- package/dist/{events → api/events}/display.d.ts +0 -0
- package/dist/{events → api/events}/door.d.ts +0 -0
- package/dist/{events → api/events}/index.d.ts +0 -0
- package/dist/{events → api/events}/intercom-terminal.d.ts +0 -0
- package/dist/{events → api/events}/io-board.d.ts +0 -0
- package/dist/{events → api/events}/nvr-exporter.d.ts +4 -4
- package/dist/{events → api/events}/panic-button.d.ts +0 -0
- package/dist/{events → api/events}/presence-tracker.d.ts +8 -8
- package/dist/{events → api/events}/reader.d.ts +0 -0
- package/dist/{agent-communication/mqtt-payloads.d.ts → api/mqtt/payloads.d.ts} +0 -0
- package/dist/{queries → api/queries}/all.d.ts +83 -83
- package/dist/{queries → api/queries}/camera.d.ts +0 -0
- package/dist/{queries → api/queries}/index.d.ts +0 -0
- package/dist/{queries → api/queries}/nvr-analytics-server.d.ts +4 -4
- package/dist/{queries → api/queries}/nvr-exporter.d.ts +0 -0
- package/dist/{queries → api/queries}/nvr-recorder.d.ts +162 -162
- package/dist/api/{alarm.d.ts → rest/alarm.d.ts} +0 -0
- package/dist/{app.d.ts → api/rest/app.d.ts} +0 -0
- package/dist/api/{auth.d.ts → rest/auth.d.ts} +0 -0
- package/dist/{aware-config.d.ts → api/rest/aware-config.d.ts} +0 -0
- package/dist/{cast.d.ts → api/rest/cast.d.ts} +0 -0
- package/dist/{file.d.ts → api/rest/file.d.ts} +0 -0
- package/dist/api/{media.d.ts → rest/media.d.ts} +2 -2
- /package/dist/api/{query.d.ts → rest/query.d.ts} +0 -0
- /package/dist/{webrtc-playback.d.ts → api/rest/webrtc-playback.d.ts} +0 -0
- /package/dist/{messages → api/ws}/device-communication.d.ts +0 -0
- /package/dist/{messages → api/ws}/index.d.ts +0 -0
- /package/dist/{messages → api/ws}/notifications.d.ts +0 -0
- /package/dist/{messages → api/ws}/progress.d.ts +0 -0
- /package/dist/{messages → api/ws}/web-rtc-signaling.d.ts +0 -0
- /package/dist/{messages → api/ws}/web-socket.d.ts +0 -0
- /package/dist/{access-control → objects}/credential.d.ts +0 -0
- /package/dist/{device → objects/device}/alarm.d.ts +0 -0
- /package/dist/{device → objects/device}/camera-lift.d.ts +0 -0
- /package/dist/{device → objects/device}/camera.d.ts +0 -0
- /package/dist/{device → objects/device}/device-gateway.d.ts +0 -0
- /package/dist/{device-relation.d.ts → objects/device/device-relation.d.ts} +0 -0
- /package/dist/{device → objects/device}/display.d.ts +0 -0
- /package/dist/{device → objects/device}/door.d.ts +0 -0
- /package/dist/{device → objects/device}/intercom-operator.d.ts +0 -0
- /package/dist/{device → objects/device}/intercom-terminal.d.ts +0 -0
- /package/dist/{device → objects/device}/io-board.d.ts +0 -0
- /package/dist/{device → objects/device}/motion-sensor.d.ts +0 -0
- /package/dist/{device → objects/device}/nvr-analytics-server.d.ts +0 -0
- /package/dist/{device → objects/device}/nvr-exporter.d.ts +0 -0
- /package/dist/{device → objects/device}/nvr-recorder.d.ts +0 -0
- /package/dist/{device → objects/device}/panic-button.d.ts +0 -0
- /package/dist/{device → objects/device}/pbx.d.ts +0 -0
- /package/dist/{device → objects/device}/presence-tracker.d.ts +0 -0
- /package/dist/{device → objects/device}/reader.d.ts +0 -0
- /package/dist/{device → objects/device}/system.d.ts +0 -0
- /package/dist/{world-objects.d.ts → objects/world-object.d.ts} +0 -0
package/dist/security-level.js
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.sUpdateSecurityLevelRequest = exports.sAddSecurityLevelRequest = exports.sSecurityLevelDto = void 0;
|
|
4
|
-
const zod_1 = require("zod");
|
|
5
|
-
exports.sSecurityLevelDto = zod_1.z.object({
|
|
6
|
-
id: zod_1.z.string().uuid(),
|
|
7
|
-
order: zod_1.z.number().int().min(0),
|
|
8
|
-
name: zod_1.z.string().max(64),
|
|
9
|
-
active: zod_1.z.boolean(),
|
|
10
|
-
color: zod_1.z.string().length(6),
|
|
11
|
-
checkFrequency: zod_1.z.number().int().min(0).max(100),
|
|
12
|
-
checkOnExit: zod_1.z.boolean(),
|
|
13
|
-
default: zod_1.z.boolean(),
|
|
14
|
-
});
|
|
15
|
-
exports.sAddSecurityLevelRequest = exports.sSecurityLevelDto.omit({
|
|
16
|
-
id: true,
|
|
17
|
-
});
|
|
18
|
-
exports.sUpdateSecurityLevelRequest = exports.sAddSecurityLevelRequest.partial();
|
package/dist/template.js
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.sTemplateDto = exports.sUpdateTemplateRequest = exports.sNewTemplateRequest = exports.TemplateTypeEnum = void 0;
|
|
4
|
-
const zod_1 = require("zod");
|
|
5
|
-
exports.TemplateTypeEnum = zod_1.z.enum(['id', 'report']);
|
|
6
|
-
exports.sNewTemplateRequest = zod_1.z.object({
|
|
7
|
-
name: zod_1.z.string().min(1).max(64),
|
|
8
|
-
type: exports.TemplateTypeEnum,
|
|
9
|
-
templateHtmlId: zod_1.z.string().uuid(),
|
|
10
|
-
});
|
|
11
|
-
exports.sUpdateTemplateRequest = zod_1.z.object({
|
|
12
|
-
name: zod_1.z.string().min(1).max(64).optional(),
|
|
13
|
-
type: exports.TemplateTypeEnum.optional(),
|
|
14
|
-
templateHtmlId: zod_1.z.string().uuid().optional(),
|
|
15
|
-
});
|
|
16
|
-
exports.sTemplateDto = zod_1.z.object({
|
|
17
|
-
id: zod_1.z.string().uuid(),
|
|
18
|
-
name: zod_1.z.string(),
|
|
19
|
-
type: exports.TemplateTypeEnum,
|
|
20
|
-
templateHtmlId: zod_1.z.string().uuid(),
|
|
21
|
-
});
|
package/dist/token-conversion.js
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.sUpdateTokenConversionRequest = exports.sAddTokenConversionRequest = exports.sTokenConversionDto = exports.ConversionTypeEnum = void 0;
|
|
4
|
-
const zod_1 = require("zod");
|
|
5
|
-
exports.ConversionTypeEnum = zod_1.z.enum(['hex-to-decimal']);
|
|
6
|
-
exports.sTokenConversionDto = zod_1.z.object({
|
|
7
|
-
id: zod_1.z.string().uuid(),
|
|
8
|
-
name: zod_1.z.string().min(1).max(64),
|
|
9
|
-
type: exports.ConversionTypeEnum,
|
|
10
|
-
jsonData: zod_1.z.object({}).passthrough(), // Allows any JSON object structure
|
|
11
|
-
});
|
|
12
|
-
exports.sAddTokenConversionRequest = exports.sTokenConversionDto.omit({
|
|
13
|
-
id: true,
|
|
14
|
-
});
|
|
15
|
-
exports.sUpdateTokenConversionRequest = exports.sAddTokenConversionRequest.partial();
|
package/dist/user.js
DELETED
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.sUpdateRoleRequest = exports.sAddRoleRequest = exports.sRoleDto = exports.sMeResponse = exports.sUserDto = exports.sChangeSelfPasswordRequest = exports.sUpdateUserRequest = exports.sNewUserRequest = exports.sUserPassword = void 0;
|
|
4
|
-
const zod_1 = require("zod");
|
|
5
|
-
const permissions_1 = require("./permissions");
|
|
6
|
-
exports.sUserPassword = zod_1.z.string().min(4).max(64);
|
|
7
|
-
exports.sNewUserRequest = zod_1.z.object({
|
|
8
|
-
firstName: zod_1.z.string().min(1).max(64).nonempty(),
|
|
9
|
-
lastName: zod_1.z.string().min(1).max(64).nonempty(),
|
|
10
|
-
email: zod_1.z.string().email().nullable(),
|
|
11
|
-
username: zod_1.z.string().min(1).max(64).nonempty(),
|
|
12
|
-
password: exports.sUserPassword.nonempty(),
|
|
13
|
-
roles: zod_1.z.array(zod_1.z.string()).min(1),
|
|
14
|
-
isActive: zod_1.z.boolean(),
|
|
15
|
-
});
|
|
16
|
-
exports.sUpdateUserRequest = zod_1.z.object({
|
|
17
|
-
id: zod_1.z.string(),
|
|
18
|
-
firstName: zod_1.z.string().min(1).max(64).optional(),
|
|
19
|
-
lastName: zod_1.z.string().min(1).max(64).optional(),
|
|
20
|
-
email: zod_1.z.string().email().nullable().optional(),
|
|
21
|
-
username: zod_1.z.string().min(3).max(64).optional(),
|
|
22
|
-
password: exports.sUserPassword.optional(),
|
|
23
|
-
isActive: zod_1.z.boolean().optional(),
|
|
24
|
-
roles: zod_1.z.array(zod_1.z.string()).min(1).optional(),
|
|
25
|
-
});
|
|
26
|
-
exports.sChangeSelfPasswordRequest = zod_1.z.object({
|
|
27
|
-
oldPassword: exports.sUserPassword.nonempty(),
|
|
28
|
-
newPassword: exports.sUserPassword.nonempty(),
|
|
29
|
-
});
|
|
30
|
-
exports.sUserDto = zod_1.z.object({
|
|
31
|
-
id: zod_1.z.string(),
|
|
32
|
-
firstName: zod_1.z.string(),
|
|
33
|
-
lastName: zod_1.z.string(),
|
|
34
|
-
email: zod_1.z.string().nullable(),
|
|
35
|
-
username: zod_1.z.string(),
|
|
36
|
-
isActive: zod_1.z.boolean(),
|
|
37
|
-
isRoot: zod_1.z.boolean(),
|
|
38
|
-
roles: zod_1.z.array(zod_1.z.string()),
|
|
39
|
-
});
|
|
40
|
-
exports.sMeResponse = exports.sUserDto.merge(zod_1.z.object({
|
|
41
|
-
permissions: zod_1.z.array(permissions_1.sPermissionId),
|
|
42
|
-
}));
|
|
43
|
-
exports.sRoleDto = zod_1.z.object({
|
|
44
|
-
id: zod_1.z.string().uuid(),
|
|
45
|
-
displayName: zod_1.z.string().nonempty().max(100),
|
|
46
|
-
systemName: zod_1.z
|
|
47
|
-
.string()
|
|
48
|
-
.nonempty()
|
|
49
|
-
.max(64)
|
|
50
|
-
.refine((value) => !/\s/.test(value), {
|
|
51
|
-
message: 'System name must not contain spaces',
|
|
52
|
-
}),
|
|
53
|
-
description: zod_1.z.string().nonempty(),
|
|
54
|
-
permissions: zod_1.z.array(permissions_1.sPermissionId),
|
|
55
|
-
});
|
|
56
|
-
exports.sAddRoleRequest = exports.sRoleDto.omit({ id: true });
|
|
57
|
-
exports.sUpdateRoleRequest = exports.sAddRoleRequest.partial();
|
package/dist/view.js
DELETED
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.sViewDto = exports.sViewInfo = exports.sUpdateViewRequest = exports.sAddViewRequest = exports.sViewConfig = exports.sViewAreaContents = exports.sPlaybackTrackArea = exports.sDeviceCarouselArea = exports.sDeviceArea = exports.sLayoutSelectorArea = exports.sLayoutArea = void 0;
|
|
7
|
-
const zod_1 = __importDefault(require("zod"));
|
|
8
|
-
exports.sLayoutArea = zod_1.default.object({
|
|
9
|
-
area: zod_1.default.string().nonempty(),
|
|
10
|
-
type: zod_1.default.literal('layout'),
|
|
11
|
-
layoutId: zod_1.default.string().nonempty(),
|
|
12
|
-
});
|
|
13
|
-
exports.sLayoutSelectorArea = zod_1.default.object({
|
|
14
|
-
area: zod_1.default.string().nonempty(),
|
|
15
|
-
type: zod_1.default.literal('layoutSelector'),
|
|
16
|
-
});
|
|
17
|
-
exports.sDeviceArea = zod_1.default.object({
|
|
18
|
-
area: zod_1.default.string().nonempty(),
|
|
19
|
-
type: zod_1.default.literal('device'),
|
|
20
|
-
deviceId: zod_1.default.string().nonempty(),
|
|
21
|
-
});
|
|
22
|
-
exports.sDeviceCarouselArea = zod_1.default.object({
|
|
23
|
-
area: zod_1.default.string().nonempty(),
|
|
24
|
-
type: zod_1.default.literal('deviceCarousel'),
|
|
25
|
-
deviceIds: zod_1.default.array(zod_1.default.string().nonempty()),
|
|
26
|
-
timeIntervalMs: zod_1.default.number().nonnegative(),
|
|
27
|
-
});
|
|
28
|
-
exports.sPlaybackTrackArea = zod_1.default.object({
|
|
29
|
-
area: zod_1.default.string().nonempty(),
|
|
30
|
-
type: zod_1.default.literal('playbackTrack'),
|
|
31
|
-
controllerId: zod_1.default.string().nonempty(),
|
|
32
|
-
source: zod_1.default
|
|
33
|
-
.string()
|
|
34
|
-
.nonempty()
|
|
35
|
-
.describe('The track within the controller. It is the device ID for the camera in the track.'),
|
|
36
|
-
});
|
|
37
|
-
exports.sViewAreaContents = zod_1.default.union([
|
|
38
|
-
exports.sLayoutArea,
|
|
39
|
-
exports.sLayoutSelectorArea,
|
|
40
|
-
exports.sDeviceArea,
|
|
41
|
-
exports.sDeviceCarouselArea,
|
|
42
|
-
exports.sPlaybackTrackArea,
|
|
43
|
-
]);
|
|
44
|
-
exports.sViewConfig = zod_1.default.object({
|
|
45
|
-
rows: zod_1.default.number(),
|
|
46
|
-
columns: zod_1.default.number(),
|
|
47
|
-
areas: zod_1.default.array(zod_1.default.array(zod_1.default.string().nonempty())),
|
|
48
|
-
hotspotArea: zod_1.default.string().optional(),
|
|
49
|
-
contents: zod_1.default.array(exports.sViewAreaContents),
|
|
50
|
-
});
|
|
51
|
-
exports.sAddViewRequest = zod_1.default.object({
|
|
52
|
-
name: zod_1.default.string().nonempty(),
|
|
53
|
-
order: zod_1.default.number().optional(),
|
|
54
|
-
isPublic: zod_1.default.boolean(),
|
|
55
|
-
isDefault: zod_1.default.boolean().optional(),
|
|
56
|
-
config: exports.sViewConfig,
|
|
57
|
-
});
|
|
58
|
-
exports.sUpdateViewRequest = zod_1.default.object({
|
|
59
|
-
name: zod_1.default.string().optional(),
|
|
60
|
-
order: zod_1.default.number().optional(),
|
|
61
|
-
isPublic: zod_1.default.boolean().optional(),
|
|
62
|
-
isDefault: zod_1.default.boolean().optional(),
|
|
63
|
-
config: exports.sViewConfig.optional(),
|
|
64
|
-
});
|
|
65
|
-
exports.sViewInfo = zod_1.default
|
|
66
|
-
.object({
|
|
67
|
-
name: zod_1.default.string(),
|
|
68
|
-
order: zod_1.default.number(),
|
|
69
|
-
isPublic: zod_1.default.boolean(),
|
|
70
|
-
isDefault: zod_1.default.boolean(),
|
|
71
|
-
})
|
|
72
|
-
.and(exports.sViewConfig);
|
|
73
|
-
exports.sViewDto = zod_1.default
|
|
74
|
-
.object({
|
|
75
|
-
id: zod_1.default.string(),
|
|
76
|
-
name: zod_1.default.string(),
|
|
77
|
-
order: zod_1.default.number(),
|
|
78
|
-
isPublic: zod_1.default.boolean(),
|
|
79
|
-
isDefault: zod_1.default.boolean(),
|
|
80
|
-
createdBy: zod_1.default.string(),
|
|
81
|
-
createdOn: zod_1.default.string(),
|
|
82
|
-
lastModifiedOn: zod_1.default.string(),
|
|
83
|
-
})
|
|
84
|
-
.and(exports.sViewConfig);
|
package/dist/webrtc-playback.js
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.sCreatePlaybackControllerResponse = exports.sCreatePlaybackControllerRequest = void 0;
|
|
7
|
-
const zod_1 = __importDefault(require("zod"));
|
|
8
|
-
exports.sCreatePlaybackControllerRequest = zod_1.default.object({
|
|
9
|
-
sources: zod_1.default.array(zod_1.default.string().nonempty()),
|
|
10
|
-
initTime: zod_1.default.number().nonnegative(),
|
|
11
|
-
});
|
|
12
|
-
exports.sCreatePlaybackControllerResponse = zod_1.default.object({
|
|
13
|
-
id: zod_1.default.string().nonempty(),
|
|
14
|
-
});
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -20,52 +20,52 @@ export declare const sStartExportCommand: z.ZodObject<{
|
|
|
20
20
|
}, "strip", z.ZodTypeAny, {
|
|
21
21
|
name: string;
|
|
22
22
|
id: string;
|
|
23
|
-
isDefault: boolean;
|
|
24
|
-
assignedRef: string | null;
|
|
25
23
|
createdOn: string;
|
|
26
24
|
lastModifiedOn: string;
|
|
25
|
+
isDefault: boolean;
|
|
26
|
+
assignedRef: string | null;
|
|
27
27
|
params?: unknown;
|
|
28
28
|
}, {
|
|
29
29
|
name: string;
|
|
30
30
|
id: string;
|
|
31
|
-
isDefault: boolean;
|
|
32
|
-
assignedRef: string | null;
|
|
33
31
|
createdOn: string;
|
|
34
32
|
lastModifiedOn: string;
|
|
33
|
+
isDefault: boolean;
|
|
34
|
+
assignedRef: string | null;
|
|
35
35
|
params?: unknown;
|
|
36
36
|
}>, "many">;
|
|
37
37
|
}, "strip", z.ZodTypeAny, {
|
|
38
38
|
name: string;
|
|
39
39
|
foreignRef: string;
|
|
40
|
-
provider: string;
|
|
41
|
-
providerMetadata: {} & {
|
|
42
|
-
[k: string]: unknown;
|
|
43
|
-
};
|
|
44
40
|
presets: {
|
|
45
41
|
name: string;
|
|
46
42
|
id: string;
|
|
47
|
-
isDefault: boolean;
|
|
48
|
-
assignedRef: string | null;
|
|
49
43
|
createdOn: string;
|
|
50
44
|
lastModifiedOn: string;
|
|
45
|
+
isDefault: boolean;
|
|
46
|
+
assignedRef: string | null;
|
|
51
47
|
params?: unknown;
|
|
52
48
|
}[];
|
|
53
|
-
}, {
|
|
54
|
-
name: string;
|
|
55
|
-
foreignRef: string;
|
|
56
49
|
provider: string;
|
|
57
50
|
providerMetadata: {} & {
|
|
58
51
|
[k: string]: unknown;
|
|
59
52
|
};
|
|
53
|
+
}, {
|
|
54
|
+
name: string;
|
|
55
|
+
foreignRef: string;
|
|
60
56
|
presets: {
|
|
61
57
|
name: string;
|
|
62
58
|
id: string;
|
|
63
|
-
isDefault: boolean;
|
|
64
|
-
assignedRef: string | null;
|
|
65
59
|
createdOn: string;
|
|
66
60
|
lastModifiedOn: string;
|
|
61
|
+
isDefault: boolean;
|
|
62
|
+
assignedRef: string | null;
|
|
67
63
|
params?: unknown;
|
|
68
64
|
}[];
|
|
65
|
+
provider: string;
|
|
66
|
+
providerMetadata: {} & {
|
|
67
|
+
[k: string]: unknown;
|
|
68
|
+
};
|
|
69
69
|
}>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
70
70
|
type: z.ZodLiteral<"alarm">;
|
|
71
71
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -310,23 +310,22 @@ export declare const sStartExportCommand: z.ZodObject<{
|
|
|
310
310
|
name: z.ZodString;
|
|
311
311
|
}, "strip", z.ZodTypeAny, {
|
|
312
312
|
name: string;
|
|
313
|
-
requestId: string;
|
|
314
313
|
device: string | [string, string] | ({
|
|
315
314
|
name: string;
|
|
316
315
|
foreignRef: string;
|
|
317
|
-
provider: string;
|
|
318
|
-
providerMetadata: {} & {
|
|
319
|
-
[k: string]: unknown;
|
|
320
|
-
};
|
|
321
316
|
presets: {
|
|
322
317
|
name: string;
|
|
323
318
|
id: string;
|
|
324
|
-
isDefault: boolean;
|
|
325
|
-
assignedRef: string | null;
|
|
326
319
|
createdOn: string;
|
|
327
320
|
lastModifiedOn: string;
|
|
321
|
+
isDefault: boolean;
|
|
322
|
+
assignedRef: string | null;
|
|
328
323
|
params?: unknown;
|
|
329
324
|
}[];
|
|
325
|
+
provider: string;
|
|
326
|
+
providerMetadata: {} & {
|
|
327
|
+
[k: string]: unknown;
|
|
328
|
+
};
|
|
330
329
|
} & ({
|
|
331
330
|
type: "alarm";
|
|
332
331
|
} | {
|
|
@@ -401,27 +400,27 @@ export declare const sStartExportCommand: z.ZodObject<{
|
|
|
401
400
|
} | {
|
|
402
401
|
type: "system";
|
|
403
402
|
}));
|
|
403
|
+
requestId: string;
|
|
404
404
|
timeFrom: number;
|
|
405
405
|
timeTo: number;
|
|
406
406
|
}, {
|
|
407
407
|
name: string;
|
|
408
|
-
requestId: string;
|
|
409
408
|
device: string | [string, string] | ({
|
|
410
409
|
name: string;
|
|
411
410
|
foreignRef: string;
|
|
412
|
-
provider: string;
|
|
413
|
-
providerMetadata: {} & {
|
|
414
|
-
[k: string]: unknown;
|
|
415
|
-
};
|
|
416
411
|
presets: {
|
|
417
412
|
name: string;
|
|
418
413
|
id: string;
|
|
419
|
-
isDefault: boolean;
|
|
420
|
-
assignedRef: string | null;
|
|
421
414
|
createdOn: string;
|
|
422
415
|
lastModifiedOn: string;
|
|
416
|
+
isDefault: boolean;
|
|
417
|
+
assignedRef: string | null;
|
|
423
418
|
params?: unknown;
|
|
424
419
|
}[];
|
|
420
|
+
provider: string;
|
|
421
|
+
providerMetadata: {} & {
|
|
422
|
+
[k: string]: unknown;
|
|
423
|
+
};
|
|
425
424
|
} & ({
|
|
426
425
|
type: "alarm";
|
|
427
426
|
} | {
|
|
@@ -496,29 +495,29 @@ export declare const sStartExportCommand: z.ZodObject<{
|
|
|
496
495
|
} | {
|
|
497
496
|
type: "system";
|
|
498
497
|
}));
|
|
498
|
+
requestId: string;
|
|
499
499
|
timeFrom: number;
|
|
500
500
|
timeTo: number;
|
|
501
501
|
}>;
|
|
502
502
|
}, "strip", z.ZodTypeAny, {
|
|
503
503
|
params: {
|
|
504
504
|
name: string;
|
|
505
|
-
requestId: string;
|
|
506
505
|
device: string | [string, string] | ({
|
|
507
506
|
name: string;
|
|
508
507
|
foreignRef: string;
|
|
509
|
-
provider: string;
|
|
510
|
-
providerMetadata: {} & {
|
|
511
|
-
[k: string]: unknown;
|
|
512
|
-
};
|
|
513
508
|
presets: {
|
|
514
509
|
name: string;
|
|
515
510
|
id: string;
|
|
516
|
-
isDefault: boolean;
|
|
517
|
-
assignedRef: string | null;
|
|
518
511
|
createdOn: string;
|
|
519
512
|
lastModifiedOn: string;
|
|
513
|
+
isDefault: boolean;
|
|
514
|
+
assignedRef: string | null;
|
|
520
515
|
params?: unknown;
|
|
521
516
|
}[];
|
|
517
|
+
provider: string;
|
|
518
|
+
providerMetadata: {} & {
|
|
519
|
+
[k: string]: unknown;
|
|
520
|
+
};
|
|
522
521
|
} & ({
|
|
523
522
|
type: "alarm";
|
|
524
523
|
} | {
|
|
@@ -593,6 +592,7 @@ export declare const sStartExportCommand: z.ZodObject<{
|
|
|
593
592
|
} | {
|
|
594
593
|
type: "system";
|
|
595
594
|
}));
|
|
595
|
+
requestId: string;
|
|
596
596
|
timeFrom: number;
|
|
597
597
|
timeTo: number;
|
|
598
598
|
};
|
|
@@ -600,23 +600,22 @@ export declare const sStartExportCommand: z.ZodObject<{
|
|
|
600
600
|
}, {
|
|
601
601
|
params: {
|
|
602
602
|
name: string;
|
|
603
|
-
requestId: string;
|
|
604
603
|
device: string | [string, string] | ({
|
|
605
604
|
name: string;
|
|
606
605
|
foreignRef: string;
|
|
607
|
-
provider: string;
|
|
608
|
-
providerMetadata: {} & {
|
|
609
|
-
[k: string]: unknown;
|
|
610
|
-
};
|
|
611
606
|
presets: {
|
|
612
607
|
name: string;
|
|
613
608
|
id: string;
|
|
614
|
-
isDefault: boolean;
|
|
615
|
-
assignedRef: string | null;
|
|
616
609
|
createdOn: string;
|
|
617
610
|
lastModifiedOn: string;
|
|
611
|
+
isDefault: boolean;
|
|
612
|
+
assignedRef: string | null;
|
|
618
613
|
params?: unknown;
|
|
619
614
|
}[];
|
|
615
|
+
provider: string;
|
|
616
|
+
providerMetadata: {} & {
|
|
617
|
+
[k: string]: unknown;
|
|
618
|
+
};
|
|
620
619
|
} & ({
|
|
621
620
|
type: "alarm";
|
|
622
621
|
} | {
|
|
@@ -691,6 +690,7 @@ export declare const sStartExportCommand: z.ZodObject<{
|
|
|
691
690
|
} | {
|
|
692
691
|
type: "system";
|
|
693
692
|
}));
|
|
693
|
+
requestId: string;
|
|
694
694
|
timeFrom: number;
|
|
695
695
|
timeTo: number;
|
|
696
696
|
};
|
|
@@ -741,52 +741,52 @@ export declare const nvrExporterCommandSchemas: {
|
|
|
741
741
|
}, "strip", z.ZodTypeAny, {
|
|
742
742
|
name: string;
|
|
743
743
|
id: string;
|
|
744
|
-
isDefault: boolean;
|
|
745
|
-
assignedRef: string | null;
|
|
746
744
|
createdOn: string;
|
|
747
745
|
lastModifiedOn: string;
|
|
746
|
+
isDefault: boolean;
|
|
747
|
+
assignedRef: string | null;
|
|
748
748
|
params?: unknown;
|
|
749
749
|
}, {
|
|
750
750
|
name: string;
|
|
751
751
|
id: string;
|
|
752
|
-
isDefault: boolean;
|
|
753
|
-
assignedRef: string | null;
|
|
754
752
|
createdOn: string;
|
|
755
753
|
lastModifiedOn: string;
|
|
754
|
+
isDefault: boolean;
|
|
755
|
+
assignedRef: string | null;
|
|
756
756
|
params?: unknown;
|
|
757
757
|
}>, "many">;
|
|
758
758
|
}, "strip", z.ZodTypeAny, {
|
|
759
759
|
name: string;
|
|
760
760
|
foreignRef: string;
|
|
761
|
-
provider: string;
|
|
762
|
-
providerMetadata: {} & {
|
|
763
|
-
[k: string]: unknown;
|
|
764
|
-
};
|
|
765
761
|
presets: {
|
|
766
762
|
name: string;
|
|
767
763
|
id: string;
|
|
768
|
-
isDefault: boolean;
|
|
769
|
-
assignedRef: string | null;
|
|
770
764
|
createdOn: string;
|
|
771
765
|
lastModifiedOn: string;
|
|
766
|
+
isDefault: boolean;
|
|
767
|
+
assignedRef: string | null;
|
|
772
768
|
params?: unknown;
|
|
773
769
|
}[];
|
|
774
|
-
}, {
|
|
775
|
-
name: string;
|
|
776
|
-
foreignRef: string;
|
|
777
770
|
provider: string;
|
|
778
771
|
providerMetadata: {} & {
|
|
779
772
|
[k: string]: unknown;
|
|
780
773
|
};
|
|
774
|
+
}, {
|
|
775
|
+
name: string;
|
|
776
|
+
foreignRef: string;
|
|
781
777
|
presets: {
|
|
782
778
|
name: string;
|
|
783
779
|
id: string;
|
|
784
|
-
isDefault: boolean;
|
|
785
|
-
assignedRef: string | null;
|
|
786
780
|
createdOn: string;
|
|
787
781
|
lastModifiedOn: string;
|
|
782
|
+
isDefault: boolean;
|
|
783
|
+
assignedRef: string | null;
|
|
788
784
|
params?: unknown;
|
|
789
785
|
}[];
|
|
786
|
+
provider: string;
|
|
787
|
+
providerMetadata: {} & {
|
|
788
|
+
[k: string]: unknown;
|
|
789
|
+
};
|
|
790
790
|
}>, z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
791
791
|
type: z.ZodLiteral<"alarm">;
|
|
792
792
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1031,23 +1031,22 @@ export declare const nvrExporterCommandSchemas: {
|
|
|
1031
1031
|
name: z.ZodString;
|
|
1032
1032
|
}, "strip", z.ZodTypeAny, {
|
|
1033
1033
|
name: string;
|
|
1034
|
-
requestId: string;
|
|
1035
1034
|
device: string | [string, string] | ({
|
|
1036
1035
|
name: string;
|
|
1037
1036
|
foreignRef: string;
|
|
1038
|
-
provider: string;
|
|
1039
|
-
providerMetadata: {} & {
|
|
1040
|
-
[k: string]: unknown;
|
|
1041
|
-
};
|
|
1042
1037
|
presets: {
|
|
1043
1038
|
name: string;
|
|
1044
1039
|
id: string;
|
|
1045
|
-
isDefault: boolean;
|
|
1046
|
-
assignedRef: string | null;
|
|
1047
1040
|
createdOn: string;
|
|
1048
1041
|
lastModifiedOn: string;
|
|
1042
|
+
isDefault: boolean;
|
|
1043
|
+
assignedRef: string | null;
|
|
1049
1044
|
params?: unknown;
|
|
1050
1045
|
}[];
|
|
1046
|
+
provider: string;
|
|
1047
|
+
providerMetadata: {} & {
|
|
1048
|
+
[k: string]: unknown;
|
|
1049
|
+
};
|
|
1051
1050
|
} & ({
|
|
1052
1051
|
type: "alarm";
|
|
1053
1052
|
} | {
|
|
@@ -1122,27 +1121,27 @@ export declare const nvrExporterCommandSchemas: {
|
|
|
1122
1121
|
} | {
|
|
1123
1122
|
type: "system";
|
|
1124
1123
|
}));
|
|
1124
|
+
requestId: string;
|
|
1125
1125
|
timeFrom: number;
|
|
1126
1126
|
timeTo: number;
|
|
1127
1127
|
}, {
|
|
1128
1128
|
name: string;
|
|
1129
|
-
requestId: string;
|
|
1130
1129
|
device: string | [string, string] | ({
|
|
1131
1130
|
name: string;
|
|
1132
1131
|
foreignRef: string;
|
|
1133
|
-
provider: string;
|
|
1134
|
-
providerMetadata: {} & {
|
|
1135
|
-
[k: string]: unknown;
|
|
1136
|
-
};
|
|
1137
1132
|
presets: {
|
|
1138
1133
|
name: string;
|
|
1139
1134
|
id: string;
|
|
1140
|
-
isDefault: boolean;
|
|
1141
|
-
assignedRef: string | null;
|
|
1142
1135
|
createdOn: string;
|
|
1143
1136
|
lastModifiedOn: string;
|
|
1137
|
+
isDefault: boolean;
|
|
1138
|
+
assignedRef: string | null;
|
|
1144
1139
|
params?: unknown;
|
|
1145
1140
|
}[];
|
|
1141
|
+
provider: string;
|
|
1142
|
+
providerMetadata: {} & {
|
|
1143
|
+
[k: string]: unknown;
|
|
1144
|
+
};
|
|
1146
1145
|
} & ({
|
|
1147
1146
|
type: "alarm";
|
|
1148
1147
|
} | {
|
|
@@ -1217,29 +1216,29 @@ export declare const nvrExporterCommandSchemas: {
|
|
|
1217
1216
|
} | {
|
|
1218
1217
|
type: "system";
|
|
1219
1218
|
}));
|
|
1219
|
+
requestId: string;
|
|
1220
1220
|
timeFrom: number;
|
|
1221
1221
|
timeTo: number;
|
|
1222
1222
|
}>;
|
|
1223
1223
|
}, "strip", z.ZodTypeAny, {
|
|
1224
1224
|
params: {
|
|
1225
1225
|
name: string;
|
|
1226
|
-
requestId: string;
|
|
1227
1226
|
device: string | [string, string] | ({
|
|
1228
1227
|
name: string;
|
|
1229
1228
|
foreignRef: string;
|
|
1230
|
-
provider: string;
|
|
1231
|
-
providerMetadata: {} & {
|
|
1232
|
-
[k: string]: unknown;
|
|
1233
|
-
};
|
|
1234
1229
|
presets: {
|
|
1235
1230
|
name: string;
|
|
1236
1231
|
id: string;
|
|
1237
|
-
isDefault: boolean;
|
|
1238
|
-
assignedRef: string | null;
|
|
1239
1232
|
createdOn: string;
|
|
1240
1233
|
lastModifiedOn: string;
|
|
1234
|
+
isDefault: boolean;
|
|
1235
|
+
assignedRef: string | null;
|
|
1241
1236
|
params?: unknown;
|
|
1242
1237
|
}[];
|
|
1238
|
+
provider: string;
|
|
1239
|
+
providerMetadata: {} & {
|
|
1240
|
+
[k: string]: unknown;
|
|
1241
|
+
};
|
|
1243
1242
|
} & ({
|
|
1244
1243
|
type: "alarm";
|
|
1245
1244
|
} | {
|
|
@@ -1314,6 +1313,7 @@ export declare const nvrExporterCommandSchemas: {
|
|
|
1314
1313
|
} | {
|
|
1315
1314
|
type: "system";
|
|
1316
1315
|
}));
|
|
1316
|
+
requestId: string;
|
|
1317
1317
|
timeFrom: number;
|
|
1318
1318
|
timeTo: number;
|
|
1319
1319
|
};
|
|
@@ -1321,23 +1321,22 @@ export declare const nvrExporterCommandSchemas: {
|
|
|
1321
1321
|
}, {
|
|
1322
1322
|
params: {
|
|
1323
1323
|
name: string;
|
|
1324
|
-
requestId: string;
|
|
1325
1324
|
device: string | [string, string] | ({
|
|
1326
1325
|
name: string;
|
|
1327
1326
|
foreignRef: string;
|
|
1328
|
-
provider: string;
|
|
1329
|
-
providerMetadata: {} & {
|
|
1330
|
-
[k: string]: unknown;
|
|
1331
|
-
};
|
|
1332
1327
|
presets: {
|
|
1333
1328
|
name: string;
|
|
1334
1329
|
id: string;
|
|
1335
|
-
isDefault: boolean;
|
|
1336
|
-
assignedRef: string | null;
|
|
1337
1330
|
createdOn: string;
|
|
1338
1331
|
lastModifiedOn: string;
|
|
1332
|
+
isDefault: boolean;
|
|
1333
|
+
assignedRef: string | null;
|
|
1339
1334
|
params?: unknown;
|
|
1340
1335
|
}[];
|
|
1336
|
+
provider: string;
|
|
1337
|
+
providerMetadata: {} & {
|
|
1338
|
+
[k: string]: unknown;
|
|
1339
|
+
};
|
|
1341
1340
|
} & ({
|
|
1342
1341
|
type: "alarm";
|
|
1343
1342
|
} | {
|
|
@@ -1412,6 +1411,7 @@ export declare const nvrExporterCommandSchemas: {
|
|
|
1412
1411
|
} | {
|
|
1413
1412
|
type: "system";
|
|
1414
1413
|
}));
|
|
1414
|
+
requestId: string;
|
|
1415
1415
|
timeFrom: number;
|
|
1416
1416
|
timeTo: number;
|
|
1417
1417
|
};
|
|
File without changes
|
|
File without changes
|