@awarevue/api-types 2.0.82 → 2.0.83

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 (131) hide show
  1. package/dist/alarm-automation.d.ts +21 -37
  2. package/dist/api/agent-protocol/protocol.d.ts +1473 -10468
  3. package/dist/api/agent-protocol/protocol.js +16 -12
  4. package/dist/api/commands/alarm.d.ts +40 -248
  5. package/dist/api/commands/all.d.ts +393 -4642
  6. package/dist/api/commands/camera-lift.d.ts +8 -32
  7. package/dist/api/commands/camera.d.ts +82 -373
  8. package/dist/api/commands/display.d.ts +21 -373
  9. package/dist/api/commands/door.d.ts +16 -64
  10. package/dist/api/commands/io-board.d.ts +4 -40
  11. package/dist/api/commands/nvr-exporter.d.ts +104 -1380
  12. package/dist/api/commands/nvr-recorder.d.ts +400 -5288
  13. package/dist/api/commands/pbx.d.ts +4 -56
  14. package/dist/api/commands/presence-tracker.d.ts +12 -128
  15. package/dist/api/commands/server.d.ts +114 -1382
  16. package/dist/api/commands/server.js +1 -1
  17. package/dist/api/error.d.ts +77 -443
  18. package/dist/api/error.js +1 -1
  19. package/dist/api/events/alarm.d.ts +20 -148
  20. package/dist/api/events/all.d.ts +74 -526
  21. package/dist/api/events/all.js +1 -1
  22. package/dist/api/events/camera.d.ts +46 -470
  23. package/dist/api/events/display.d.ts +1 -5
  24. package/dist/api/events/door.d.ts +34 -146
  25. package/dist/api/events/intercom-terminal.d.ts +22 -42
  26. package/dist/api/events/io-board.d.ts +2 -18
  27. package/dist/api/events/nvr-exporter.d.ts +4 -32
  28. package/dist/api/events/panic-button.d.ts +2 -10
  29. package/dist/api/events/presence-tracker.d.ts +4 -88
  30. package/dist/api/events/reader.d.ts +2 -22
  31. package/dist/api/events/server.d.ts +6 -34
  32. package/dist/api/mqtt/payloads.d.ts +4 -26
  33. package/dist/api/queries/all.d.ts +188 -1622
  34. package/dist/api/queries/nvr-analytics-server.d.ts +61 -373
  35. package/dist/api/queries/nvr-exporter.d.ts +9 -73
  36. package/dist/api/queries/nvr-recorder.d.ts +300 -2828
  37. package/dist/api/rest/access-rule.d.ts +10 -86
  38. package/dist/api/rest/agreement.d.ts +3 -18
  39. package/dist/api/rest/api-keys.d.ts +3 -17
  40. package/dist/api/rest/app.d.ts +3 -51
  41. package/dist/api/rest/auth.d.ts +3 -19
  42. package/dist/api/rest/automation.d.ts +11 -236
  43. package/dist/api/rest/bookmarks.d.ts +8 -56
  44. package/dist/api/rest/camera.d.ts +12 -70
  45. package/dist/api/rest/cast.d.ts +1 -7
  46. package/dist/api/rest/custom-field.d.ts +21 -24
  47. package/dist/api/rest/device-group.d.ts +8 -32
  48. package/dist/api/rest/device.d.ts +104 -176
  49. package/dist/api/rest/io-device.d.ts +7 -75
  50. package/dist/api/rest/io-device.js +2 -2
  51. package/dist/api/rest/layout.d.ts +4 -102
  52. package/dist/api/rest/macros.d.ts +6 -82
  53. package/dist/api/rest/media.d.ts +17 -141
  54. package/dist/api/rest/notifications.d.ts +7 -15
  55. package/dist/api/rest/person-agreement.d.ts +1 -9
  56. package/dist/api/rest/person-presence.d.ts +8 -50
  57. package/dist/api/rest/person-type.d.ts +6 -39
  58. package/dist/api/rest/person.d.ts +18 -96
  59. package/dist/api/rest/query.d.ts +5 -15
  60. package/dist/api/rest/schedule.d.ts +78 -216
  61. package/dist/api/rest/security-level.d.ts +6 -43
  62. package/dist/api/rest/template.d.ts +10 -20
  63. package/dist/api/rest/token-conversion.d.ts +11 -28
  64. package/dist/api/rest/user.d.ts +15 -97
  65. package/dist/api/rest/view.d.ts +24 -496
  66. package/dist/api/rest/webrtc-playback.d.ts +3 -25
  67. package/dist/api/rest/zone.d.ts +5 -21
  68. package/dist/api/ws/device-communication.d.ts +10 -62
  69. package/dist/api/ws/notifications.d.ts +7 -33
  70. package/dist/api/ws/progress.d.ts +10 -72
  71. package/dist/api/ws/web-rtc-signaling.d.ts +33 -279
  72. package/dist/objects/access-rule.d.ts +12 -132
  73. package/dist/objects/access-rule.js +1 -1
  74. package/dist/objects/agent-metadata.d.ts +38 -146
  75. package/dist/objects/agent-metadata.js +1 -1
  76. package/dist/objects/agreement.d.ts +1 -13
  77. package/dist/objects/all.d.ts +20 -1
  78. package/dist/objects/api-key.d.ts +1 -13
  79. package/dist/objects/automation-rule.d.ts +9 -168
  80. package/dist/objects/automation-rule.js +2 -2
  81. package/dist/objects/bookmark.d.ts +3 -33
  82. package/dist/objects/bookmark.js +1 -1
  83. package/dist/objects/credential.d.ts +13 -13
  84. package/dist/objects/credential.js +1 -1
  85. package/dist/objects/custom-field.d.ts +19 -15
  86. package/dist/objects/device/alarm.d.ts +1 -1
  87. package/dist/objects/device/any-device.d.ts +1333 -4451
  88. package/dist/objects/device/camera-lift.d.ts +1 -1
  89. package/dist/objects/device/camera.d.ts +29 -125
  90. package/dist/objects/device/camera.js +1 -1
  91. package/dist/objects/device/device-import.d.ts +307 -1735
  92. package/dist/objects/device/device-relation.d.ts +70 -58
  93. package/dist/objects/device/display.d.ts +1 -1
  94. package/dist/objects/device/door.d.ts +9 -14
  95. package/dist/objects/device/intercom-terminal.d.ts +10 -59
  96. package/dist/objects/device/io-board.d.ts +3 -9
  97. package/dist/objects/device/motion-sensor.d.ts +1 -1
  98. package/dist/objects/device/nvr-analytics-server.d.ts +2 -6
  99. package/dist/objects/device/nvr-exporter.d.ts +3 -9
  100. package/dist/objects/device/nvr-recorder.d.ts +16 -68
  101. package/dist/objects/device/panic-button.d.ts +1 -1
  102. package/dist/objects/device/pbx.d.ts +1 -5
  103. package/dist/objects/device/system.d.ts +1 -1
  104. package/dist/objects/device/system.js +1 -1
  105. package/dist/objects/device-group.d.ts +2 -16
  106. package/dist/objects/layout.d.ts +3 -75
  107. package/dist/objects/macro.d.ts +3 -59
  108. package/dist/objects/macro.js +2 -2
  109. package/dist/objects/notification.d.ts +6 -24
  110. package/dist/objects/notification.js +1 -1
  111. package/dist/objects/person-agreement.d.ts +1 -13
  112. package/dist/objects/person-presence.d.ts +11 -165
  113. package/dist/objects/person-type.d.ts +2 -22
  114. package/dist/objects/person.d.ts +21 -153
  115. package/dist/objects/person.js +3 -3
  116. package/dist/objects/role.d.ts +3 -15
  117. package/dist/objects/schedule.d.ts +152 -314
  118. package/dist/objects/schedule.js +1 -1
  119. package/dist/objects/security-level.d.ts +1 -21
  120. package/dist/objects/template.d.ts +9 -13
  121. package/dist/objects/token-conversion.d.ts +8 -18
  122. package/dist/objects/user.d.ts +2 -20
  123. package/dist/objects/view.d.ts +52 -682
  124. package/dist/objects/world-object.d.ts +1 -7
  125. package/dist/objects/zone.d.ts +5 -29
  126. package/dist/objects/zone.js +1 -1
  127. package/dist/package.json +3 -3
  128. package/dist/permissions.d.ts +1 -1
  129. package/dist/primitives.d.ts +113 -551
  130. package/dist/primitives.js +1 -1
  131. package/package.json +3 -3
@@ -1,28 +1,74 @@
1
1
  import { z } from 'zod';
2
- export declare const sDeviceRelationKind: z.ZodEnum<["attachedTo", "parent", "child", "holds", "isHeldBy", "observes", "isObservedBy", "sendsInputTo", "receivesInputFrom", "sendsOutputTo", "receivesOutputFrom", "unlocks", "isUnlockedBy", "controls", "isControlledBy", "records", "isRecordedBy", "reads", "isReadBy"]>;
2
+ export declare const sDeviceRelationKind: z.ZodEnum<{
3
+ attachedTo: "attachedTo";
4
+ parent: "parent";
5
+ child: "child";
6
+ holds: "holds";
7
+ isHeldBy: "isHeldBy";
8
+ observes: "observes";
9
+ isObservedBy: "isObservedBy";
10
+ sendsInputTo: "sendsInputTo";
11
+ receivesInputFrom: "receivesInputFrom";
12
+ sendsOutputTo: "sendsOutputTo";
13
+ receivesOutputFrom: "receivesOutputFrom";
14
+ unlocks: "unlocks";
15
+ isUnlockedBy: "isUnlockedBy";
16
+ controls: "controls";
17
+ isControlledBy: "isControlledBy";
18
+ records: "records";
19
+ isRecordedBy: "isRecordedBy";
20
+ reads: "reads";
21
+ isReadBy: "isReadBy";
22
+ }>;
3
23
  export declare const sDeviceRelationDto: z.ZodObject<{
4
24
  leftId: z.ZodString;
5
25
  rightId: z.ZodString;
6
- kind: z.ZodEnum<["attachedTo", "parent", "child", "holds", "isHeldBy", "observes", "isObservedBy", "sendsInputTo", "receivesInputFrom", "sendsOutputTo", "receivesOutputFrom", "unlocks", "isUnlockedBy", "controls", "isControlledBy", "records", "isRecordedBy", "reads", "isReadBy"]>;
7
- }, "strip", z.ZodUnknown, z.objectOutputType<{
8
- leftId: z.ZodString;
9
- rightId: z.ZodString;
10
- kind: z.ZodEnum<["attachedTo", "parent", "child", "holds", "isHeldBy", "observes", "isObservedBy", "sendsInputTo", "receivesInputFrom", "sendsOutputTo", "receivesOutputFrom", "unlocks", "isUnlockedBy", "controls", "isControlledBy", "records", "isRecordedBy", "reads", "isReadBy"]>;
11
- }, z.ZodUnknown, "strip">, z.objectInputType<{
12
- leftId: z.ZodString;
13
- rightId: z.ZodString;
14
- kind: z.ZodEnum<["attachedTo", "parent", "child", "holds", "isHeldBy", "observes", "isObservedBy", "sendsInputTo", "receivesInputFrom", "sendsOutputTo", "receivesOutputFrom", "unlocks", "isUnlockedBy", "controls", "isControlledBy", "records", "isRecordedBy", "reads", "isReadBy"]>;
15
- }, z.ZodUnknown, "strip">>;
26
+ kind: z.ZodEnum<{
27
+ attachedTo: "attachedTo";
28
+ parent: "parent";
29
+ child: "child";
30
+ holds: "holds";
31
+ isHeldBy: "isHeldBy";
32
+ observes: "observes";
33
+ isObservedBy: "isObservedBy";
34
+ sendsInputTo: "sendsInputTo";
35
+ receivesInputFrom: "receivesInputFrom";
36
+ sendsOutputTo: "sendsOutputTo";
37
+ receivesOutputFrom: "receivesOutputFrom";
38
+ unlocks: "unlocks";
39
+ isUnlockedBy: "isUnlockedBy";
40
+ controls: "controls";
41
+ isControlledBy: "isControlledBy";
42
+ records: "records";
43
+ isRecordedBy: "isRecordedBy";
44
+ reads: "reads";
45
+ isReadBy: "isReadBy";
46
+ }>;
47
+ }, z.core.$catchall<z.ZodUnknown>>;
16
48
  export declare const sDeviceRelationSide: z.ZodObject<{
17
49
  id: z.ZodString;
18
- kind: z.ZodEnum<["attachedTo", "parent", "child", "holds", "isHeldBy", "observes", "isObservedBy", "sendsInputTo", "receivesInputFrom", "sendsOutputTo", "receivesOutputFrom", "unlocks", "isUnlockedBy", "controls", "isControlledBy", "records", "isRecordedBy", "reads", "isReadBy"]>;
19
- }, "strip", z.ZodUnknown, z.objectOutputType<{
20
- id: z.ZodString;
21
- kind: z.ZodEnum<["attachedTo", "parent", "child", "holds", "isHeldBy", "observes", "isObservedBy", "sendsInputTo", "receivesInputFrom", "sendsOutputTo", "receivesOutputFrom", "unlocks", "isUnlockedBy", "controls", "isControlledBy", "records", "isRecordedBy", "reads", "isReadBy"]>;
22
- }, z.ZodUnknown, "strip">, z.objectInputType<{
23
- id: z.ZodString;
24
- kind: z.ZodEnum<["attachedTo", "parent", "child", "holds", "isHeldBy", "observes", "isObservedBy", "sendsInputTo", "receivesInputFrom", "sendsOutputTo", "receivesOutputFrom", "unlocks", "isUnlockedBy", "controls", "isControlledBy", "records", "isRecordedBy", "reads", "isReadBy"]>;
25
- }, z.ZodUnknown, "strip">>;
50
+ kind: z.ZodEnum<{
51
+ attachedTo: "attachedTo";
52
+ parent: "parent";
53
+ child: "child";
54
+ holds: "holds";
55
+ isHeldBy: "isHeldBy";
56
+ observes: "observes";
57
+ isObservedBy: "isObservedBy";
58
+ sendsInputTo: "sendsInputTo";
59
+ receivesInputFrom: "receivesInputFrom";
60
+ sendsOutputTo: "sendsOutputTo";
61
+ receivesOutputFrom: "receivesOutputFrom";
62
+ unlocks: "unlocks";
63
+ isUnlockedBy: "isUnlockedBy";
64
+ controls: "controls";
65
+ isControlledBy: "isControlledBy";
66
+ records: "records";
67
+ isRecordedBy: "isRecordedBy";
68
+ reads: "reads";
69
+ isReadBy: "isReadBy";
70
+ }>;
71
+ }, z.core.$catchall<z.ZodUnknown>>;
26
72
  export type DeviceRelationKind = z.infer<typeof sDeviceRelationKind>;
27
73
  export declare const relationKinds: Record<DeviceRelationKind, DeviceRelationKind>;
28
74
  export declare const inverseRelationKinds: Record<DeviceRelationKind, DeviceRelationKind>;
@@ -32,54 +78,20 @@ export declare const sStreamRecorderSettings: z.ZodObject<{
32
78
  streamId: z.ZodString;
33
79
  retentionHours: z.ZodOptional<z.ZodNumber>;
34
80
  prebufferSeconds: z.ZodOptional<z.ZodNumber>;
35
- }, "strip", z.ZodTypeAny, {
36
- streamId: string;
37
- retentionHours?: number | undefined;
38
- prebufferSeconds?: number | undefined;
39
- }, {
40
- streamId: string;
41
- retentionHours?: number | undefined;
42
- prebufferSeconds?: number | undefined;
43
- }>;
81
+ }, z.core.$strip>;
44
82
  export declare const sRecordingRelationData: z.ZodObject<{
45
83
  streams: z.ZodRecord<z.ZodString, z.ZodObject<{
46
84
  streamId: z.ZodString;
47
85
  retentionHours: z.ZodOptional<z.ZodNumber>;
48
86
  prebufferSeconds: z.ZodOptional<z.ZodNumber>;
49
- }, "strip", z.ZodTypeAny, {
50
- streamId: string;
51
- retentionHours?: number | undefined;
52
- prebufferSeconds?: number | undefined;
53
- }, {
54
- streamId: string;
55
- retentionHours?: number | undefined;
56
- prebufferSeconds?: number | undefined;
57
- }>>;
58
- }, "strip", z.ZodTypeAny, {
59
- streams: Record<string, {
60
- streamId: string;
61
- retentionHours?: number | undefined;
62
- prebufferSeconds?: number | undefined;
63
- }>;
64
- }, {
65
- streams: Record<string, {
66
- streamId: string;
67
- retentionHours?: number | undefined;
68
- prebufferSeconds?: number | undefined;
69
- }>;
70
- }>;
87
+ }, z.core.$strip>>;
88
+ }, z.core.$strip>;
71
89
  export type StreamRecorderSettings = z.infer<typeof sStreamRecorderSettings>;
72
90
  export type RecordingRelationData = z.infer<typeof sRecordingRelationData>;
73
91
  export declare const sIoBoardRelationData: z.ZodObject<{
74
92
  slots: z.ZodRecord<z.ZodString, z.ZodString>;
75
- invertedSlots: z.ZodArray<z.ZodString, "many">;
76
- }, "strip", z.ZodTypeAny, {
77
- slots: Record<string, string>;
78
- invertedSlots: string[];
79
- }, {
80
- slots: Record<string, string>;
81
- invertedSlots: string[];
82
- }>;
93
+ invertedSlots: z.ZodArray<z.ZodString>;
94
+ }, z.core.$strip>;
83
95
  export type IoBoardRelationData = z.infer<typeof sIoBoardRelationData>;
84
96
  /** Compile-time map: relation kind → data type. */
85
97
  export interface DeviceRelationDataMap {
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
2
  export declare const DISPLAY: "display";
3
- export declare const sDisplaySpecs: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
3
+ export declare const sDisplaySpecs: z.ZodObject<{}, z.core.$strip>;
4
4
  export type DisplaySpecs = z.infer<typeof sDisplaySpecs>;
5
5
  export interface DisplayStateDto {
6
6
  connected: Record<string, boolean>;
@@ -5,20 +5,15 @@ export declare const sDoorSpecs: z.ZodObject<{
5
5
  canReportLockState: z.ZodBoolean;
6
6
  canControlLock: z.ZodBoolean;
7
7
  canRelease: z.ZodBoolean;
8
- style: z.ZodOptional<z.ZodEnum<["single", "double", "sliding", "hatch", "roller", "window"]>>;
9
- }, "strip", z.ZodTypeAny, {
10
- canReportOpenState: boolean;
11
- canReportLockState: boolean;
12
- canControlLock: boolean;
13
- canRelease: boolean;
14
- style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
15
- }, {
16
- canReportOpenState: boolean;
17
- canReportLockState: boolean;
18
- canControlLock: boolean;
19
- canRelease: boolean;
20
- style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
21
- }>;
8
+ style: z.ZodOptional<z.ZodEnum<{
9
+ single: "single";
10
+ double: "double";
11
+ sliding: "sliding";
12
+ hatch: "hatch";
13
+ roller: "roller";
14
+ window: "window";
15
+ }>>;
16
+ }, z.core.$strip>;
22
17
  export type DoorSpecs = z.infer<typeof sDoorSpecs>;
23
18
  export interface DoorStateDto {
24
19
  locked: boolean;
@@ -6,19 +6,7 @@ export declare const sIntercomTerminalSpecs: z.ZodObject<{
6
6
  sipPassword: z.ZodString;
7
7
  sipRealm: z.ZodString;
8
8
  remoteExtension: z.ZodString;
9
- }, "strip", z.ZodTypeAny, {
10
- sipUri: string;
11
- sipUser: string;
12
- sipPassword: string;
13
- sipRealm: string;
14
- remoteExtension: string;
15
- }, {
16
- sipUri: string;
17
- sipUser: string;
18
- sipPassword: string;
19
- sipRealm: string;
20
- remoteExtension: string;
21
- }>;
9
+ }, z.core.$strip>;
22
10
  export declare const sAddIntercomTerminal: z.ZodObject<{
23
11
  name: z.ZodString;
24
12
  foreignRef: z.ZodString;
@@ -28,56 +16,19 @@ export declare const sAddIntercomTerminal: z.ZodObject<{
28
16
  sipPassword: z.ZodString;
29
17
  sipRealm: z.ZodString;
30
18
  remoteExtension: z.ZodString;
31
- }, "strip", z.ZodTypeAny, {
32
- sipUri: string;
33
- sipUser: string;
34
- sipPassword: string;
35
- sipRealm: string;
36
- remoteExtension: string;
37
- }, {
38
- sipUri: string;
39
- sipUser: string;
40
- sipPassword: string;
41
- sipRealm: string;
42
- remoteExtension: string;
43
- }>;
44
- }, "strip", z.ZodTypeAny, {
45
- name: string;
46
- foreignRef: string;
47
- specs: {
48
- sipUri: string;
49
- sipUser: string;
50
- sipPassword: string;
51
- sipRealm: string;
52
- remoteExtension: string;
53
- };
54
- }, {
55
- name: string;
56
- foreignRef: string;
57
- specs: {
58
- sipUri: string;
59
- sipUser: string;
60
- sipPassword: string;
61
- sipRealm: string;
62
- remoteExtension: string;
63
- };
64
- }>;
19
+ }, z.core.$strip>;
20
+ }, z.core.$strip>;
65
21
  export type IntercomTerminalSpecs = z.infer<typeof sIntercomTerminalSpecs>;
66
22
  export type AddIntercomTerminalRequest = z.infer<typeof sAddIntercomTerminal>;
67
23
  export declare const sIntercomTerminalState: z.ZodObject<{
68
- callState: z.ZodNullable<z.ZodEnum<["connecting", "connected", "ringing", "terminated"]>>;
24
+ callState: z.ZodNullable<z.ZodEnum<{
25
+ connecting: "connecting";
26
+ connected: "connected";
27
+ ringing: "ringing";
28
+ terminated: "terminated";
29
+ }>>;
69
30
  connected: z.ZodBoolean;
70
31
  callId: z.ZodNullable<z.ZodString>;
71
32
  peer: z.ZodNullable<z.ZodString>;
72
- }, "strip", z.ZodTypeAny, {
73
- connected: boolean;
74
- callState: "connecting" | "connected" | "ringing" | "terminated" | null;
75
- callId: string | null;
76
- peer: string | null;
77
- }, {
78
- connected: boolean;
79
- callState: "connecting" | "connected" | "ringing" | "terminated" | null;
80
- callId: string | null;
81
- peer: string | null;
82
- }>;
33
+ }, z.core.$strip>;
83
34
  export type IntercomTerminalStateDto = z.infer<typeof sIntercomTerminalState>;
@@ -1,15 +1,9 @@
1
1
  import { z } from 'zod';
2
2
  export declare const IO_BOARD: "io-board";
3
3
  export declare const sIoBoardSpecs: z.ZodObject<{
4
- inputs: z.ZodArray<z.ZodString, "many">;
5
- outputs: z.ZodArray<z.ZodString, "many">;
6
- }, "strip", z.ZodTypeAny, {
7
- inputs: string[];
8
- outputs: string[];
9
- }, {
10
- inputs: string[];
11
- outputs: string[];
12
- }>;
4
+ inputs: z.ZodArray<z.ZodString>;
5
+ outputs: z.ZodArray<z.ZodString>;
6
+ }, z.core.$strip>;
13
7
  export type IoBoardSpecs = z.infer<typeof sIoBoardSpecs>;
14
8
  export interface IoBoardStateDto {
15
9
  connected: boolean;
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
2
  export declare const MOTION_SENSOR: "motion-sensor";
3
- export declare const sMotionSensorSpecs: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
3
+ export declare const sMotionSensorSpecs: z.ZodObject<{}, z.core.$strip>;
4
4
  export type MotionSensorSpecs = z.infer<typeof sMotionSensorSpecs>;
5
5
  export interface MotionSensorStateDto {
6
6
  isMotionDetected: boolean;
@@ -1,12 +1,8 @@
1
1
  import { z } from 'zod';
2
2
  export declare const NVR_ANALYTICS_SERVER = "nvr-analytics-server";
3
- export declare const sAnalyticsServerSpecs: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
3
+ export declare const sAnalyticsServerSpecs: z.ZodObject<{}, z.core.$strip>;
4
4
  export type AnalyticsServerSpecs = z.infer<typeof sAnalyticsServerSpecs>;
5
5
  export declare const sAnalyticsServerStateDto: z.ZodObject<{
6
6
  connected: z.ZodBoolean;
7
- }, "strip", z.ZodTypeAny, {
8
- connected: boolean;
9
- }, {
10
- connected: boolean;
11
- }>;
7
+ }, z.core.$strip>;
12
8
  export type AnalyticsServerStateDto = z.infer<typeof sAnalyticsServerStateDto>;
@@ -1,15 +1,9 @@
1
1
  import { z } from 'zod';
2
2
  export declare const NVR_EXPORTER = "nvr-exporter";
3
- export declare const sExporterSpecs: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
3
+ export declare const sExporterSpecs: z.ZodObject<{}, z.core.$strip>;
4
4
  export type ExporterSpecs = z.infer<typeof sExporterSpecs>;
5
5
  export declare const sExporterStateDto: z.ZodObject<{
6
6
  connected: z.ZodBoolean;
7
- exportsInProgress: z.ZodArray<z.ZodString, "many">;
8
- }, "strip", z.ZodTypeAny, {
9
- connected: boolean;
10
- exportsInProgress: string[];
11
- }, {
12
- connected: boolean;
13
- exportsInProgress: string[];
14
- }>;
7
+ exportsInProgress: z.ZodArray<z.ZodString>;
8
+ }, z.core.$strip>;
15
9
  export type ExporterStateDto = z.infer<typeof sExporterStateDto>;
@@ -1,32 +1,21 @@
1
1
  import { z } from 'zod';
2
2
  export declare const NVR_RECORDER = "nvr-recorder";
3
- export declare const sRecorderSpecs: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
3
+ export declare const sRecorderSpecs: z.ZodObject<{}, z.core.$strip>;
4
4
  export type RecorderSpecs = z.infer<typeof sRecorderSpecs>;
5
5
  export declare const sRecorderStreamStateDto: z.ZodObject<{
6
- upstreamState: z.ZodEnum<["connecting", "connected", "disconnected", "error"]>;
6
+ upstreamState: z.ZodEnum<{
7
+ error: "error";
8
+ connecting: "connecting";
9
+ connected: "connected";
10
+ disconnected: "disconnected";
11
+ }>;
7
12
  upstreamError: z.ZodNullable<z.ZodString>;
8
13
  isRecording: z.ZodBoolean;
9
14
  head: z.ZodNullable<z.ZodNumber>;
10
15
  tail: z.ZodNullable<z.ZodNumber>;
11
16
  totalSize: z.ZodNullable<z.ZodNumber>;
12
17
  totalLengthMs: z.ZodNullable<z.ZodNumber>;
13
- }, "strip", z.ZodTypeAny, {
14
- upstreamState: "connecting" | "connected" | "disconnected" | "error";
15
- upstreamError: string | null;
16
- isRecording: boolean;
17
- head: number | null;
18
- tail: number | null;
19
- totalSize: number | null;
20
- totalLengthMs: number | null;
21
- }, {
22
- upstreamState: "connecting" | "connected" | "disconnected" | "error";
23
- upstreamError: string | null;
24
- isRecording: boolean;
25
- head: number | null;
26
- tail: number | null;
27
- totalSize: number | null;
28
- totalLengthMs: number | null;
29
- }>;
18
+ }, z.core.$strip>;
30
19
  export type RecorderStreamStateDto = z.infer<typeof sRecorderStreamStateDto>;
31
20
  export declare const sRecorderStateDto: z.ZodObject<{
32
21
  connected: z.ZodBoolean;
@@ -35,59 +24,18 @@ export declare const sRecorderStateDto: z.ZodObject<{
35
24
  highWatermark: z.ZodNullable<z.ZodNumber>;
36
25
  lowWatermark: z.ZodNullable<z.ZodNumber>;
37
26
  cameras: z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodObject<{
38
- upstreamState: z.ZodEnum<["connecting", "connected", "disconnected", "error"]>;
27
+ upstreamState: z.ZodEnum<{
28
+ error: "error";
29
+ connecting: "connecting";
30
+ connected: "connected";
31
+ disconnected: "disconnected";
32
+ }>;
39
33
  upstreamError: z.ZodNullable<z.ZodString>;
40
34
  isRecording: z.ZodBoolean;
41
35
  head: z.ZodNullable<z.ZodNumber>;
42
36
  tail: z.ZodNullable<z.ZodNumber>;
43
37
  totalSize: z.ZodNullable<z.ZodNumber>;
44
38
  totalLengthMs: z.ZodNullable<z.ZodNumber>;
45
- }, "strip", z.ZodTypeAny, {
46
- upstreamState: "connecting" | "connected" | "disconnected" | "error";
47
- upstreamError: string | null;
48
- isRecording: boolean;
49
- head: number | null;
50
- tail: number | null;
51
- totalSize: number | null;
52
- totalLengthMs: number | null;
53
- }, {
54
- upstreamState: "connecting" | "connected" | "disconnected" | "error";
55
- upstreamError: string | null;
56
- isRecording: boolean;
57
- head: number | null;
58
- tail: number | null;
59
- totalSize: number | null;
60
- totalLengthMs: number | null;
61
- }>>>;
62
- }, "strip", z.ZodTypeAny, {
63
- connected: boolean;
64
- availableDiskSpace: number | null;
65
- totalDiskSpace: number | null;
66
- highWatermark: number | null;
67
- lowWatermark: number | null;
68
- cameras: Record<string, Record<string, {
69
- upstreamState: "connecting" | "connected" | "disconnected" | "error";
70
- upstreamError: string | null;
71
- isRecording: boolean;
72
- head: number | null;
73
- tail: number | null;
74
- totalSize: number | null;
75
- totalLengthMs: number | null;
76
- }>>;
77
- }, {
78
- connected: boolean;
79
- availableDiskSpace: number | null;
80
- totalDiskSpace: number | null;
81
- highWatermark: number | null;
82
- lowWatermark: number | null;
83
- cameras: Record<string, Record<string, {
84
- upstreamState: "connecting" | "connected" | "disconnected" | "error";
85
- upstreamError: string | null;
86
- isRecording: boolean;
87
- head: number | null;
88
- tail: number | null;
89
- totalSize: number | null;
90
- totalLengthMs: number | null;
91
- }>>;
92
- }>;
39
+ }, z.core.$strip>>>;
40
+ }, z.core.$strip>;
93
41
  export type RecorderStateDto = z.infer<typeof sRecorderStateDto>;
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
2
  export declare const PANIC_BUTTON: "panic-button";
3
- export declare const sPanicButtonSpecs: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
3
+ export declare const sPanicButtonSpecs: z.ZodObject<{}, z.core.$strip>;
4
4
  export type PanicButtonSpecs = z.infer<typeof sPanicButtonSpecs>;
5
5
  export interface PanicButtonStateDto {
6
6
  isPressed: boolean;
@@ -2,9 +2,5 @@ import { z } from 'zod';
2
2
  export declare const PBX: "pbx";
3
3
  export declare const sPbxSpecs: z.ZodObject<{
4
4
  sipWsUrl: z.ZodString;
5
- }, "strip", z.ZodTypeAny, {
6
- sipWsUrl: string;
7
- }, {
8
- sipWsUrl: string;
9
- }>;
5
+ }, z.core.$strip>;
10
6
  export type PbxSpecs = z.infer<typeof sPbxSpecs>;
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
2
  export declare const SYSTEM: "system";
3
- export declare const sSystemDeviceSpecs: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
3
+ export declare const sSystemDeviceSpecs: z.ZodObject<{}, z.core.$strip>;
4
4
  export type SystemDeviceSpecs = z.infer<typeof sSystemDeviceSpecs>;
5
5
  export declare const sSystemDeviceStateDto: z.ZodRecord<z.ZodString, z.ZodUnknown>;
6
6
  export type SystemDeviceStateDto = z.infer<typeof sSystemDeviceStateDto>;
@@ -6,4 +6,4 @@ exports.SYSTEM = 'system';
6
6
  // SPECS
7
7
  exports.sSystemDeviceSpecs = zod_1.z.object({});
8
8
  // STATE
9
- exports.sSystemDeviceStateDto = zod_1.z.record(zod_1.z.unknown());
9
+ exports.sSystemDeviceStateDto = zod_1.z.record(zod_1.z.string(), zod_1.z.unknown());
@@ -5,20 +5,6 @@ export declare const sDeviceGroup: z.ZodObject<{
5
5
  displayName: z.ZodString;
6
6
  createdOn: z.ZodString;
7
7
  lastModifiedOn: z.ZodString;
8
- devices: z.ZodArray<z.ZodString, "many">;
9
- }, "strip", z.ZodTypeAny, {
10
- code: string | null;
11
- id: string;
12
- displayName: string;
13
- createdOn: string;
14
- lastModifiedOn: string;
15
- devices: string[];
16
- }, {
17
- code: string | null;
18
- id: string;
19
- displayName: string;
20
- createdOn: string;
21
- lastModifiedOn: string;
22
- devices: string[];
23
- }>;
8
+ devices: z.ZodArray<z.ZodString>;
9
+ }, z.core.$strip>;
24
10
  export type DeviceGroupDto = z.infer<typeof sDeviceGroup>;
@@ -7,23 +7,7 @@ export declare const sLayoutDeviceDto: z.ZodObject<{
7
7
  rotation: z.ZodNumber;
8
8
  fov: z.ZodNumber;
9
9
  far: z.ZodNumber;
10
- }, "strip", z.ZodTypeAny, {
11
- deviceId: string;
12
- x: number;
13
- y: number;
14
- scale: number;
15
- rotation: number;
16
- fov: number;
17
- far: number;
18
- }, {
19
- deviceId: string;
20
- x: number;
21
- y: number;
22
- scale: number;
23
- rotation: number;
24
- fov: number;
25
- far: number;
26
- }>;
10
+ }, z.core.$strip>;
27
11
  export type LayoutDeviceDto = z.infer<typeof sLayoutDeviceDto>;
28
12
  export declare const sLayoutDto: z.ZodObject<{
29
13
  id: z.ZodString;
@@ -40,66 +24,10 @@ export declare const sLayoutDto: z.ZodObject<{
40
24
  rotation: z.ZodNumber;
41
25
  fov: z.ZodNumber;
42
26
  far: z.ZodNumber;
43
- }, "strip", z.ZodTypeAny, {
44
- deviceId: string;
45
- x: number;
46
- y: number;
47
- scale: number;
48
- rotation: number;
49
- fov: number;
50
- far: number;
51
- }, {
52
- deviceId: string;
53
- x: number;
54
- y: number;
55
- scale: number;
56
- rotation: number;
57
- fov: number;
58
- far: number;
59
- }>, "many">;
27
+ }, z.core.$strip>>;
60
28
  colorize: z.ZodBoolean;
61
29
  map: z.ZodBoolean;
62
30
  createdOn: z.ZodString;
63
31
  lastModifiedOn: z.ZodString;
64
- }, "strip", z.ZodTypeAny, {
65
- map: boolean;
66
- id: string;
67
- name: string;
68
- createdOn: string;
69
- lastModifiedOn: string;
70
- thumbnailUrl: string;
71
- imageUrl: string;
72
- order: number;
73
- isDefault: boolean;
74
- devices: {
75
- deviceId: string;
76
- x: number;
77
- y: number;
78
- scale: number;
79
- rotation: number;
80
- fov: number;
81
- far: number;
82
- }[];
83
- colorize: boolean;
84
- }, {
85
- map: boolean;
86
- id: string;
87
- name: string;
88
- createdOn: string;
89
- lastModifiedOn: string;
90
- thumbnailUrl: string;
91
- imageUrl: string;
92
- order: number;
93
- isDefault: boolean;
94
- devices: {
95
- deviceId: string;
96
- x: number;
97
- y: number;
98
- scale: number;
99
- rotation: number;
100
- fov: number;
101
- far: number;
102
- }[];
103
- colorize: boolean;
104
- }>;
32
+ }, z.core.$strip>;
105
33
  export type LayoutDto = z.infer<typeof sLayoutDto>;