@awarevue/api-types 2.0.53 → 2.0.54

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 (67) hide show
  1. package/dist/api/agent-protocol/protocol.d.ts +853 -840
  2. package/dist/api/agent-protocol/protocol.js +14 -1
  3. package/dist/api/commands/all.d.ts +224 -224
  4. package/dist/api/commands/camera.d.ts +16 -16
  5. package/dist/api/commands/display.d.ts +48 -48
  6. package/dist/api/commands/nvr-exporter.d.ts +194 -194
  7. package/dist/api/commands/server.d.ts +202 -202
  8. package/dist/api/events/all.d.ts +30 -30
  9. package/dist/api/events/camera.d.ts +42 -42
  10. package/dist/api/events/door.d.ts +4 -4
  11. package/dist/api/events/intercom-terminal.d.ts +8 -8
  12. package/dist/api/events/io-board.d.ts +4 -4
  13. package/dist/api/queries/all.d.ts +225 -225
  14. package/dist/api/queries/camera.d.ts +8 -8
  15. package/dist/api/queries/nvr-analytics-server.d.ts +36 -36
  16. package/dist/api/queries/nvr-exporter.d.ts +18 -18
  17. package/dist/api/queries/nvr-recorder.d.ts +398 -398
  18. package/dist/api/rest/agreement.d.ts +5 -5
  19. package/dist/api/rest/automation.d.ts +46 -46
  20. package/dist/api/rest/bookmarks.d.ts +12 -12
  21. package/dist/api/rest/custom-field.d.ts +5 -5
  22. package/dist/api/rest/device.d.ts +6 -6
  23. package/dist/api/rest/io-device.d.ts +14 -14
  24. package/dist/api/rest/layout.d.ts +16 -16
  25. package/dist/api/rest/macros.d.ts +13 -13
  26. package/dist/api/rest/media.d.ts +16 -16
  27. package/dist/api/rest/person.d.ts +12 -12
  28. package/dist/api/rest/query.d.ts +2 -2
  29. package/dist/api/rest/schedule.d.ts +24 -24
  30. package/dist/api/rest/security-level.d.ts +10 -10
  31. package/dist/api/rest/template.d.ts +4 -4
  32. package/dist/api/rest/token-conversion.d.ts +5 -5
  33. package/dist/api/rest/user.d.ts +17 -17
  34. package/dist/api/rest/view.d.ts +44 -44
  35. package/dist/api/ws/device-communication.d.ts +6 -6
  36. package/dist/api/ws/notifications.d.ts +4 -4
  37. package/dist/api/ws/progress.d.ts +15 -15
  38. package/dist/api/ws/web-rtc-signaling.d.ts +2 -2
  39. package/dist/objects/access-rule.d.ts +2 -2
  40. package/dist/objects/agent-metadata.d.ts +16 -16
  41. package/dist/objects/agreement.d.ts +2 -2
  42. package/dist/objects/api-key.d.ts +2 -2
  43. package/dist/objects/automation-rule.d.ts +34 -34
  44. package/dist/objects/bookmark.d.ts +8 -8
  45. package/dist/objects/credential.d.ts +2 -2
  46. package/dist/objects/custom-field.d.ts +2 -2
  47. package/dist/objects/device/any-device.d.ts +205 -205
  48. package/dist/objects/device/camera.d.ts +26 -26
  49. package/dist/objects/device/device-import.d.ts +277 -277
  50. package/dist/objects/device/door.d.ts +2 -2
  51. package/dist/objects/device/intercom-terminal.d.ts +2 -2
  52. package/dist/objects/layout.d.ts +16 -16
  53. package/dist/objects/macro.d.ts +14 -14
  54. package/dist/objects/notification.d.ts +4 -4
  55. package/dist/objects/person-presence.d.ts +12 -12
  56. package/dist/objects/person.d.ts +14 -14
  57. package/dist/objects/role.d.ts +2 -2
  58. package/dist/objects/schedule.d.ts +36 -36
  59. package/dist/objects/security-level.d.ts +6 -6
  60. package/dist/objects/template.d.ts +2 -2
  61. package/dist/objects/token-conversion.d.ts +2 -2
  62. package/dist/objects/user.d.ts +4 -4
  63. package/dist/objects/view.d.ts +58 -58
  64. package/dist/objects/zone.d.ts +2 -2
  65. package/dist/package.json +1 -1
  66. package/dist/primitives.d.ts +60 -60
  67. package/package.json +1 -1
@@ -11,13 +11,13 @@ export declare const sDoorSpecs: z.ZodObject<{
11
11
  canReportLockState: boolean;
12
12
  canControlLock: boolean;
13
13
  canRelease: boolean;
14
- style?: "window" | "single" | "double" | "sliding" | "hatch" | "roller" | undefined;
14
+ style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
15
15
  }, {
16
16
  canReportOpenState: boolean;
17
17
  canReportLockState: boolean;
18
18
  canControlLock: boolean;
19
19
  canRelease: boolean;
20
- style?: "window" | "single" | "double" | "sliding" | "hatch" | "roller" | undefined;
20
+ style?: "single" | "double" | "sliding" | "hatch" | "roller" | "window" | undefined;
21
21
  }>;
22
22
  export type DoorSpecs = z.infer<typeof sDoorSpecs>;
23
23
  export interface DoorStateDto {
@@ -71,12 +71,12 @@ export declare const sIntercomTerminalState: z.ZodObject<{
71
71
  peer: z.ZodNullable<z.ZodString>;
72
72
  }, "strip", z.ZodTypeAny, {
73
73
  connected: boolean;
74
- callState: "connected" | "connecting" | "ringing" | "terminated" | null;
74
+ callState: "connecting" | "connected" | "ringing" | "terminated" | null;
75
75
  callId: string | null;
76
76
  peer: string | null;
77
77
  }, {
78
78
  connected: boolean;
79
- callState: "connected" | "connecting" | "ringing" | "terminated" | null;
79
+ callState: "connecting" | "connected" | "ringing" | "terminated" | null;
80
80
  callId: string | null;
81
81
  peer: string | null;
82
82
  }>;
@@ -8,18 +8,18 @@ export declare const sLayoutDeviceDto: z.ZodObject<{
8
8
  fov: z.ZodNumber;
9
9
  far: z.ZodNumber;
10
10
  }, "strip", z.ZodTypeAny, {
11
- scale: number;
11
+ deviceId: string;
12
12
  x: number;
13
13
  y: number;
14
- deviceId: string;
14
+ scale: number;
15
15
  rotation: number;
16
16
  fov: number;
17
17
  far: number;
18
18
  }, {
19
- scale: number;
19
+ deviceId: string;
20
20
  x: number;
21
21
  y: number;
22
- deviceId: string;
22
+ scale: number;
23
23
  rotation: number;
24
24
  fov: number;
25
25
  far: number;
@@ -41,18 +41,18 @@ export declare const sLayoutDto: z.ZodObject<{
41
41
  fov: z.ZodNumber;
42
42
  far: z.ZodNumber;
43
43
  }, "strip", z.ZodTypeAny, {
44
- scale: number;
44
+ deviceId: string;
45
45
  x: number;
46
46
  y: number;
47
- deviceId: string;
47
+ scale: number;
48
48
  rotation: number;
49
49
  fov: number;
50
50
  far: number;
51
51
  }, {
52
- scale: number;
52
+ deviceId: string;
53
53
  x: number;
54
54
  y: number;
55
- deviceId: string;
55
+ scale: number;
56
56
  rotation: number;
57
57
  fov: number;
58
58
  far: number;
@@ -63,19 +63,19 @@ export declare const sLayoutDto: z.ZodObject<{
63
63
  lastModifiedOn: z.ZodString;
64
64
  }, "strip", z.ZodTypeAny, {
65
65
  map: boolean;
66
- name: string;
67
66
  id: string;
68
- order: number;
67
+ name: string;
69
68
  createdOn: string;
70
69
  lastModifiedOn: string;
71
70
  thumbnailUrl: string;
72
71
  imageUrl: string;
72
+ order: number;
73
73
  isDefault: boolean;
74
74
  devices: {
75
- scale: number;
75
+ deviceId: string;
76
76
  x: number;
77
77
  y: number;
78
- deviceId: string;
78
+ scale: number;
79
79
  rotation: number;
80
80
  fov: number;
81
81
  far: number;
@@ -83,19 +83,19 @@ export declare const sLayoutDto: z.ZodObject<{
83
83
  colorize: boolean;
84
84
  }, {
85
85
  map: boolean;
86
- name: string;
87
86
  id: string;
88
- order: number;
87
+ name: string;
89
88
  createdOn: string;
90
89
  lastModifiedOn: string;
91
90
  thumbnailUrl: string;
92
91
  imageUrl: string;
92
+ order: number;
93
93
  isDefault: boolean;
94
94
  devices: {
95
- scale: number;
95
+ deviceId: string;
96
96
  x: number;
97
97
  y: number;
98
- deviceId: string;
98
+ scale: number;
99
99
  rotation: number;
100
100
  fov: number;
101
101
  far: number;
@@ -6,14 +6,14 @@ export declare const sMacroItemDto: z.ZodObject<{
6
6
  command: z.ZodString;
7
7
  params: z.ZodRecord<z.ZodString, z.ZodUnknown>;
8
8
  }, "strip", z.ZodTypeAny, {
9
- id: string | null;
10
9
  params: Record<string, unknown>;
10
+ id: string | null;
11
11
  deviceId: string;
12
12
  command: string;
13
13
  stepId: string;
14
14
  }, {
15
- id: string | null;
16
15
  params: Record<string, unknown>;
16
+ id: string | null;
17
17
  deviceId: string;
18
18
  command: string;
19
19
  stepId: string;
@@ -34,14 +34,14 @@ export declare const sMacroDto: z.ZodObject<{
34
34
  command: z.ZodString;
35
35
  params: z.ZodRecord<z.ZodString, z.ZodUnknown>;
36
36
  }, "strip", z.ZodTypeAny, {
37
- id: string | null;
38
37
  params: Record<string, unknown>;
38
+ id: string | null;
39
39
  deviceId: string;
40
40
  command: string;
41
41
  stepId: string;
42
42
  }, {
43
- id: string | null;
44
43
  params: Record<string, unknown>;
44
+ id: string | null;
45
45
  deviceId: string;
46
46
  command: string;
47
47
  stepId: string;
@@ -49,35 +49,35 @@ export declare const sMacroDto: z.ZodObject<{
49
49
  }, "strip", z.ZodTypeAny, {
50
50
  code: string | null;
51
51
  id: string;
52
+ displayName: string;
53
+ createdOn: string;
54
+ lastModifiedOn: string;
52
55
  module: string | null;
53
56
  metadata: Record<string, unknown>;
57
+ createdBy: string | null;
54
58
  items: {
55
- id: string | null;
56
59
  params: Record<string, unknown>;
60
+ id: string | null;
57
61
  deviceId: string;
58
62
  command: string;
59
63
  stepId: string;
60
64
  }[];
61
- displayName: string;
62
- createdOn: string;
63
- lastModifiedOn: string;
64
- createdBy: string | null;
65
65
  }, {
66
66
  code: string | null;
67
67
  id: string;
68
+ displayName: string;
69
+ createdOn: string;
70
+ lastModifiedOn: string;
68
71
  module: string | null;
69
72
  metadata: Record<string, unknown>;
73
+ createdBy: string | null;
70
74
  items: {
71
- id: string | null;
72
75
  params: Record<string, unknown>;
76
+ id: string | null;
73
77
  deviceId: string;
74
78
  command: string;
75
79
  stepId: string;
76
80
  }[];
77
- displayName: string;
78
- createdOn: string;
79
- lastModifiedOn: string;
80
- createdBy: string | null;
81
81
  }>;
82
82
  export type MacroItemDto = z.infer<typeof sMacroItemDto>;
83
83
  export type MacroDto = z.infer<typeof sMacroDto>;
@@ -13,9 +13,9 @@ export declare const sNotificationDto: z.ZodObject<{
13
13
  }, "strip", z.ZodTypeAny, {
14
14
  message: string;
15
15
  id: string;
16
- source: string;
17
- metadata: Record<string, unknown>;
18
16
  createdOn: number;
17
+ metadata: Record<string, unknown>;
18
+ source: string;
19
19
  severity: "info" | "warning" | "critical";
20
20
  notificationRef: string | null;
21
21
  recipientId: string | null;
@@ -24,9 +24,9 @@ export declare const sNotificationDto: z.ZodObject<{
24
24
  }, {
25
25
  message: string;
26
26
  id: string;
27
- source: string;
28
- metadata: Record<string, unknown>;
29
27
  createdOn: number;
28
+ metadata: Record<string, unknown>;
29
+ source: string;
30
30
  severity: "info" | "warning" | "critical";
31
31
  notificationRef: string | null;
32
32
  recipientId: string | null;
@@ -10,18 +10,18 @@ export declare const sPresencePersonDto: z.ZodObject<{
10
10
  }, "strip", z.ZodTypeAny, {
11
11
  type: string;
12
12
  id: string;
13
- position: string | null;
14
13
  firstName: string;
15
14
  lastName: string;
16
15
  avatarId: string | null;
16
+ position: string | null;
17
17
  archived: boolean;
18
18
  }, {
19
19
  type: string;
20
20
  id: string;
21
- position: string | null;
22
21
  firstName: string;
23
22
  lastName: string;
24
23
  avatarId: string | null;
24
+ position: string | null;
25
25
  archived: boolean;
26
26
  }>;
27
27
  export type PresencePersonDto = z.infer<typeof sPresencePersonDto>;
@@ -52,18 +52,18 @@ export declare const sPersonPresenceDto: z.ZodObject<{
52
52
  }, "strip", z.ZodTypeAny, {
53
53
  type: string;
54
54
  id: string;
55
- position: string | null;
56
55
  firstName: string;
57
56
  lastName: string;
58
57
  avatarId: string | null;
58
+ position: string | null;
59
59
  archived: boolean;
60
60
  }, {
61
61
  type: string;
62
62
  id: string;
63
- position: string | null;
64
63
  firstName: string;
65
64
  lastName: string;
66
65
  avatarId: string | null;
66
+ position: string | null;
67
67
  archived: boolean;
68
68
  }>;
69
69
  zone: z.ZodUnion<[z.ZodObject<{
@@ -86,14 +86,13 @@ export declare const sPersonPresenceDto: z.ZodObject<{
86
86
  securityChecked: z.ZodBoolean;
87
87
  }, "strip", z.ZodTypeAny, {
88
88
  id: string;
89
- online: boolean | null;
90
89
  person: {
91
90
  type: string;
92
91
  id: string;
93
- position: string | null;
94
92
  firstName: string;
95
93
  lastName: string;
96
94
  avatarId: string | null;
95
+ position: string | null;
97
96
  archived: boolean;
98
97
  };
99
98
  zone: string | {
@@ -101,20 +100,20 @@ export declare const sPersonPresenceDto: z.ZodObject<{
101
100
  displayName: string;
102
101
  isGlobal: boolean;
103
102
  };
103
+ online: boolean | null;
104
104
  onLeave: boolean;
105
105
  lastCheckInOn: number | null;
106
106
  lastCheckOutOn: number | null;
107
107
  securityChecked: boolean;
108
108
  }, {
109
109
  id: string;
110
- online: boolean | null;
111
110
  person: {
112
111
  type: string;
113
112
  id: string;
114
- position: string | null;
115
113
  firstName: string;
116
114
  lastName: string;
117
115
  avatarId: string | null;
116
+ position: string | null;
118
117
  archived: boolean;
119
118
  };
120
119
  zone: string | {
@@ -122,6 +121,7 @@ export declare const sPersonPresenceDto: z.ZodObject<{
122
121
  displayName: string;
123
122
  isGlobal: boolean;
124
123
  };
124
+ online: boolean | null;
125
125
  onLeave: boolean;
126
126
  lastCheckInOn: number | null;
127
127
  lastCheckOutOn: number | null;
@@ -141,18 +141,18 @@ export declare const sPersonPresenceActionDto: z.ZodObject<{
141
141
  }, "strip", z.ZodTypeAny, {
142
142
  type: string;
143
143
  id: string;
144
- position: string | null;
145
144
  firstName: string;
146
145
  lastName: string;
147
146
  avatarId: string | null;
147
+ position: string | null;
148
148
  archived: boolean;
149
149
  }, {
150
150
  type: string;
151
151
  id: string;
152
- position: string | null;
153
152
  firstName: string;
154
153
  lastName: string;
155
154
  avatarId: string | null;
155
+ position: string | null;
156
156
  archived: boolean;
157
157
  }>, z.ZodString]>;
158
158
  zone: z.ZodUnion<[z.ZodObject<{
@@ -178,10 +178,10 @@ export declare const sPersonPresenceActionDto: z.ZodObject<{
178
178
  person: string | {
179
179
  type: string;
180
180
  id: string;
181
- position: string | null;
182
181
  firstName: string;
183
182
  lastName: string;
184
183
  avatarId: string | null;
184
+ position: string | null;
185
185
  archived: boolean;
186
186
  };
187
187
  zone: string | {
@@ -198,10 +198,10 @@ export declare const sPersonPresenceActionDto: z.ZodObject<{
198
198
  person: string | {
199
199
  type: string;
200
200
  id: string;
201
- position: string | null;
202
201
  firstName: string;
203
202
  lastName: string;
204
203
  avatarId: string | null;
204
+ position: string | null;
205
205
  archived: boolean;
206
206
  };
207
207
  zone: string | {
@@ -23,12 +23,12 @@ export declare const sPersonProps: z.ZodObject<{
23
23
  value: z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
24
24
  note: z.ZodNullable<z.ZodString>;
25
25
  }, "strip", z.ZodTypeAny, {
26
- type: "card" | "pin" | "fingerprint";
27
26
  value: string | Record<string, unknown>;
27
+ type: "card" | "pin" | "fingerprint";
28
28
  note: string | null;
29
29
  }, {
30
- type: "card" | "pin" | "fingerprint";
31
30
  value: string | Record<string, unknown>;
31
+ type: "card" | "pin" | "fingerprint";
32
32
  note: string | null;
33
33
  }>, "many">;
34
34
  accessRules: z.ZodArray<z.ZodString, "many">;
@@ -36,34 +36,34 @@ export declare const sPersonProps: z.ZodObject<{
36
36
  type: z.ZodString;
37
37
  }, "strip", z.ZodTypeAny, {
38
38
  type: string;
39
- position: string | null;
40
39
  firstName: string;
41
40
  lastName: string;
42
41
  avatarId: string | null;
42
+ position: string | null;
43
43
  accessSuspended: boolean;
44
44
  staffMember: boolean;
45
45
  validFrom: string | null;
46
46
  validTo: string | null;
47
47
  credentials: {
48
- type: "card" | "pin" | "fingerprint";
49
48
  value: string | Record<string, unknown>;
49
+ type: "card" | "pin" | "fingerprint";
50
50
  note: string | null;
51
51
  }[];
52
52
  accessRules: string[];
53
53
  customFields: Record<string, string> | null;
54
54
  }, {
55
55
  type: string;
56
- position: string | null;
57
56
  firstName: string;
58
57
  lastName: string;
59
58
  avatarId: string | null;
59
+ position: string | null;
60
60
  accessSuspended: boolean;
61
61
  staffMember: boolean;
62
62
  validFrom: string | null;
63
63
  validTo: string | null;
64
64
  credentials: {
65
- type: "card" | "pin" | "fingerprint";
66
65
  value: string | Record<string, unknown>;
66
+ type: "card" | "pin" | "fingerprint";
67
67
  note: string | null;
68
68
  }[];
69
69
  accessRules: string[];
@@ -87,12 +87,12 @@ export declare const sPersonDto: z.ZodObject<{
87
87
  value: z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
88
88
  note: z.ZodNullable<z.ZodString>;
89
89
  }, "strip", z.ZodTypeAny, {
90
- type: "card" | "pin" | "fingerprint";
91
90
  value: string | Record<string, unknown>;
91
+ type: "card" | "pin" | "fingerprint";
92
92
  note: string | null;
93
93
  }, {
94
- type: "card" | "pin" | "fingerprint";
95
94
  value: string | Record<string, unknown>;
95
+ type: "card" | "pin" | "fingerprint";
96
96
  note: string | null;
97
97
  }>, "many">;
98
98
  accessRules: z.ZodArray<z.ZodObject<{
@@ -131,21 +131,21 @@ export declare const sPersonDto: z.ZodObject<{
131
131
  }, "strip", z.ZodTypeAny, {
132
132
  type: string;
133
133
  id: string;
134
- position: string | null;
135
- version: number;
136
134
  firstName: string;
137
135
  lastName: string;
138
136
  avatarId: string | null;
139
137
  createdOn: string;
140
138
  lastModifiedOn: string;
141
139
  refs: Record<string, string | string[]>;
140
+ version: number;
141
+ position: string | null;
142
142
  accessSuspended: boolean;
143
143
  staffMember: boolean;
144
144
  validFrom: string | null;
145
145
  validTo: string | null;
146
146
  credentials: {
147
- type: "card" | "pin" | "fingerprint";
148
147
  value: string | Record<string, unknown>;
148
+ type: "card" | "pin" | "fingerprint";
149
149
  note: string | null;
150
150
  }[];
151
151
  accessRules: {
@@ -164,21 +164,21 @@ export declare const sPersonDto: z.ZodObject<{
164
164
  }, {
165
165
  type: string;
166
166
  id: string;
167
- position: string | null;
168
- version: number;
169
167
  firstName: string;
170
168
  lastName: string;
171
169
  avatarId: string | null;
172
170
  createdOn: string;
173
171
  lastModifiedOn: string;
174
172
  refs: Record<string, string | string[]>;
173
+ version: number;
174
+ position: string | null;
175
175
  accessSuspended: boolean;
176
176
  staffMember: boolean;
177
177
  validFrom: string | null;
178
178
  validTo: string | null;
179
179
  credentials: {
180
- type: "card" | "pin" | "fingerprint";
181
180
  value: string | Record<string, unknown>;
181
+ type: "card" | "pin" | "fingerprint";
182
182
  note: string | null;
183
183
  }[];
184
184
  accessRules: {
@@ -7,15 +7,15 @@ export declare const sRoleDto: z.ZodObject<{
7
7
  permissions: z.ZodArray<z.ZodUnion<[z.ZodLiteral<"layout:read">, z.ZodLiteral<"layout:update">, z.ZodLiteral<"layout:delete">, z.ZodLiteral<"layout:create">, z.ZodLiteral<"camera:live">, z.ZodLiteral<"camera:playback">, z.ZodLiteral<"camera:playback-export">, z.ZodLiteral<"camera:ptz">, z.ZodLiteral<"camera:privacy-mode">, z.ZodLiteral<"camera:assign">, z.ZodLiteral<"camera:detection">, z.ZodLiteral<"preset:read">, z.ZodLiteral<"preset:update">, z.ZodLiteral<"preset:delete">, z.ZodLiteral<"preset:create">, z.ZodLiteral<"door:release">, z.ZodLiteral<"door:lock">, z.ZodLiteral<"camera-lift:activate">, z.ZodLiteral<"io-board:activate">, z.ZodLiteral<"public-view:read">, z.ZodLiteral<"public-view:update">, z.ZodLiteral<"public-view:delete">, z.ZodLiteral<"public-view:create">, z.ZodLiteral<"private-view:read">, z.ZodLiteral<"person:read">, z.ZodLiteral<"person:update">, z.ZodLiteral<"person:delete">, z.ZodLiteral<"person:create">, z.ZodLiteral<"person:assign">, z.ZodLiteral<"person:print">, z.ZodLiteral<"person:face">, z.ZodLiteral<"zone:update">, z.ZodLiteral<"zone:delete">, z.ZodLiteral<"zone:create">, z.ZodLiteral<"access-rule:read">, z.ZodLiteral<"access-rule:update">, z.ZodLiteral<"access-rule:delete">, z.ZodLiteral<"access-rule:create">, z.ZodLiteral<"schedule:update">, z.ZodLiteral<"schedule:delete">, z.ZodLiteral<"schedule:create">, z.ZodLiteral<"presence:read">, z.ZodLiteral<"presence:update">, z.ZodLiteral<"presence:update-reader">, z.ZodLiteral<"factory:read">, z.ZodLiteral<"factory:update">, z.ZodLiteral<"factory:delete">, z.ZodLiteral<"factory:create">, z.ZodLiteral<"event:read">, z.ZodLiteral<"event:purge">, z.ZodLiteral<"alarm:read">, z.ZodLiteral<"alarm:acknowlede">, z.ZodLiteral<"alarm:arm">, z.ZodLiteral<"alarm:trigger">, z.ZodLiteral<"alarm:bypass">, z.ZodLiteral<"user:read">, z.ZodLiteral<"user:change-password">, z.ZodLiteral<"user:change-username">, z.ZodLiteral<"user:change-name">, z.ZodLiteral<"user:change-email">, z.ZodLiteral<"user:activate">, z.ZodLiteral<"user:delete">, z.ZodLiteral<"user:change-roles">, z.ZodLiteral<"user:create">, z.ZodLiteral<"role:create">, z.ZodLiteral<"role:delete">, z.ZodLiteral<"role:update">, z.ZodLiteral<"module:read">, z.ZodLiteral<"module:update">, z.ZodLiteral<"module:enable">, z.ZodLiteral<"device:discover">, z.ZodLiteral<"device:import">, z.ZodLiteral<"device:override-specs">, z.ZodLiteral<"device:notes">, z.ZodLiteral<"device:rename">, z.ZodLiteral<"device:alarms">, z.ZodLiteral<"automation:read">, z.ZodLiteral<"automation:update">, z.ZodLiteral<"automation:delete">, z.ZodLiteral<"automation:create">, z.ZodLiteral<"device-group:read">, z.ZodLiteral<"device-group:update">, z.ZodLiteral<"device-group:delete">, z.ZodLiteral<"device-group:create">, z.ZodLiteral<"macro:read">, z.ZodLiteral<"macro:update">, z.ZodLiteral<"macro:delete">, z.ZodLiteral<"macro:create">, z.ZodLiteral<"macro:run">, z.ZodLiteral<"notification:read">, z.ZodLiteral<"notification:create">, z.ZodLiteral<"notification:acknowledge">, z.ZodLiteral<"template:update">, z.ZodLiteral<"template:delete">, z.ZodLiteral<"template:create">, z.ZodLiteral<"custom-field:update">, z.ZodLiteral<"custom-field:delete">, z.ZodLiteral<"custom-field:create">, z.ZodLiteral<"display:read">, z.ZodLiteral<"security-level:update">, z.ZodLiteral<"security-level:delete">, z.ZodLiteral<"security-level:create">, z.ZodLiteral<"citadel-mode:toggle">, z.ZodLiteral<"token-conversion:update">, z.ZodLiteral<"token-conversion:delete">, z.ZodLiteral<"token-conversion:create">, z.ZodLiteral<"bookmark:read">, z.ZodLiteral<"bookmark:create">, z.ZodLiteral<"bookmark:update">, z.ZodLiteral<"bookmark:delete">, z.ZodLiteral<"access-path:read">, z.ZodLiteral<"access-path:create">, z.ZodLiteral<"access-path:update">, z.ZodLiteral<"access-path:delete">, z.ZodLiteral<"person-type:create">, z.ZodLiteral<"person-type:update">, z.ZodLiteral<"person-type:delete">, z.ZodLiteral<"agreement:create">, z.ZodLiteral<"agreement:update">, z.ZodLiteral<"agreement:delete">, z.ZodLiteral<"api-key:create">, z.ZodLiteral<"api-key:revoke">, z.ZodLiteral<"access-authority:read">, z.ZodLiteral<"access-authority:sync">, z.ZodLiteral<"access-authority:delete">]>, "many">;
8
8
  }, "strip", z.ZodTypeAny, {
9
9
  id: string;
10
- description: string;
11
10
  displayName: string;
12
11
  permissions: ("layout:read" | "layout:update" | "layout:delete" | "layout:create" | "camera:live" | "camera:playback" | "camera:playback-export" | "camera:ptz" | "camera:privacy-mode" | "camera:assign" | "camera:detection" | "preset:read" | "preset:update" | "preset:delete" | "preset:create" | "door:release" | "door:lock" | "camera-lift:activate" | "io-board:activate" | "public-view:read" | "public-view:update" | "public-view:delete" | "public-view:create" | "private-view:read" | "person:read" | "person:update" | "person:delete" | "person:create" | "person:assign" | "person:print" | "person:face" | "zone:update" | "zone:delete" | "zone:create" | "access-rule:read" | "access-rule:update" | "access-rule:delete" | "access-rule:create" | "schedule:update" | "schedule:delete" | "schedule:create" | "presence:read" | "presence:update" | "presence:update-reader" | "factory:read" | "factory:update" | "factory:delete" | "factory:create" | "event:read" | "event:purge" | "alarm:read" | "alarm:acknowlede" | "alarm:arm" | "alarm:trigger" | "alarm:bypass" | "user:read" | "user:change-password" | "user:change-username" | "user:change-name" | "user:change-email" | "user:activate" | "user:delete" | "user:change-roles" | "user:create" | "role:create" | "role:delete" | "role:update" | "module:read" | "module:update" | "module:enable" | "device:discover" | "device:import" | "device:override-specs" | "device:notes" | "device:rename" | "device:alarms" | "automation:read" | "automation:update" | "automation:delete" | "automation:create" | "device-group:read" | "device-group:update" | "device-group:delete" | "device-group:create" | "macro:read" | "macro:update" | "macro:delete" | "macro:create" | "macro:run" | "notification:read" | "notification:create" | "notification:acknowledge" | "template:update" | "template:delete" | "template:create" | "custom-field:update" | "custom-field:delete" | "custom-field:create" | "display:read" | "security-level:update" | "security-level:delete" | "security-level:create" | "citadel-mode:toggle" | "token-conversion:update" | "token-conversion:delete" | "token-conversion:create" | "bookmark:read" | "bookmark:create" | "bookmark:update" | "bookmark:delete" | "access-path:read" | "access-path:create" | "access-path:update" | "access-path:delete" | "person-type:create" | "person-type:update" | "person-type:delete" | "agreement:create" | "agreement:update" | "agreement:delete" | "api-key:create" | "api-key:revoke" | "access-authority:read" | "access-authority:sync" | "access-authority:delete")[];
12
+ description: string;
13
13
  systemName: string;
14
14
  }, {
15
15
  id: string;
16
- description: string;
17
16
  displayName: string;
18
17
  permissions: ("layout:read" | "layout:update" | "layout:delete" | "layout:create" | "camera:live" | "camera:playback" | "camera:playback-export" | "camera:ptz" | "camera:privacy-mode" | "camera:assign" | "camera:detection" | "preset:read" | "preset:update" | "preset:delete" | "preset:create" | "door:release" | "door:lock" | "camera-lift:activate" | "io-board:activate" | "public-view:read" | "public-view:update" | "public-view:delete" | "public-view:create" | "private-view:read" | "person:read" | "person:update" | "person:delete" | "person:create" | "person:assign" | "person:print" | "person:face" | "zone:update" | "zone:delete" | "zone:create" | "access-rule:read" | "access-rule:update" | "access-rule:delete" | "access-rule:create" | "schedule:update" | "schedule:delete" | "schedule:create" | "presence:read" | "presence:update" | "presence:update-reader" | "factory:read" | "factory:update" | "factory:delete" | "factory:create" | "event:read" | "event:purge" | "alarm:read" | "alarm:acknowlede" | "alarm:arm" | "alarm:trigger" | "alarm:bypass" | "user:read" | "user:change-password" | "user:change-username" | "user:change-name" | "user:change-email" | "user:activate" | "user:delete" | "user:change-roles" | "user:create" | "role:create" | "role:delete" | "role:update" | "module:read" | "module:update" | "module:enable" | "device:discover" | "device:import" | "device:override-specs" | "device:notes" | "device:rename" | "device:alarms" | "automation:read" | "automation:update" | "automation:delete" | "automation:create" | "device-group:read" | "device-group:update" | "device-group:delete" | "device-group:create" | "macro:read" | "macro:update" | "macro:delete" | "macro:create" | "macro:run" | "notification:read" | "notification:create" | "notification:acknowledge" | "template:update" | "template:delete" | "template:create" | "custom-field:update" | "custom-field:delete" | "custom-field:create" | "display:read" | "security-level:update" | "security-level:delete" | "security-level:create" | "citadel-mode:toggle" | "token-conversion:update" | "token-conversion:delete" | "token-conversion:create" | "bookmark:read" | "bookmark:create" | "bookmark:update" | "bookmark:delete" | "access-path:read" | "access-path:create" | "access-path:update" | "access-path:delete" | "person-type:create" | "person-type:update" | "person-type:delete" | "agreement:create" | "agreement:update" | "agreement:delete" | "api-key:create" | "api-key:revoke" | "access-authority:read" | "access-authority:sync" | "access-authority:delete")[];
18
+ description: string;
19
19
  systemName: string;
20
20
  }>;
21
21
  export type RoleDto = z.infer<typeof sRoleDto>;