@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
@@ -37,7 +37,6 @@ export declare const sScheduleDetailsDto: z.ZodObject<{
37
37
  }>, "many">;
38
38
  repeat: z.ZodNullable<z.ZodEnum<["daily", "weekly", "monthly", "yearly"]>>;
39
39
  }, "strip", z.ZodTypeAny, {
40
- repeat: "daily" | "weekly" | "monthly" | "yearly" | null;
41
40
  startDate: string | null;
42
41
  endDate: string | null;
43
42
  timeIntervals: {
@@ -45,8 +44,8 @@ export declare const sScheduleDetailsDto: z.ZodObject<{
45
44
  from: number;
46
45
  to: number;
47
46
  }[];
48
- }, {
49
47
  repeat: "daily" | "weekly" | "monthly" | "yearly" | null;
48
+ }, {
50
49
  startDate: string | null;
51
50
  endDate: string | null;
52
51
  timeIntervals: {
@@ -54,6 +53,7 @@ export declare const sScheduleDetailsDto: z.ZodObject<{
54
53
  from: number;
55
54
  to: number;
56
55
  }[];
56
+ repeat: "daily" | "weekly" | "monthly" | "yearly" | null;
57
57
  }>;
58
58
  export type ScheduleDetailsDto = z.infer<typeof sScheduleDetailsDto>;
59
59
  export declare const sScheduleDto: z.ZodObject<{
@@ -77,7 +77,6 @@ export declare const sScheduleDto: z.ZodObject<{
77
77
  }>, "many">;
78
78
  repeat: z.ZodNullable<z.ZodEnum<["daily", "weekly", "monthly", "yearly"]>>;
79
79
  }, "strip", z.ZodTypeAny, {
80
- repeat: "daily" | "weekly" | "monthly" | "yearly" | null;
81
80
  startDate: string | null;
82
81
  endDate: string | null;
83
82
  timeIntervals: {
@@ -85,8 +84,8 @@ export declare const sScheduleDto: z.ZodObject<{
85
84
  from: number;
86
85
  to: number;
87
86
  }[];
88
- }, {
89
87
  repeat: "daily" | "weekly" | "monthly" | "yearly" | null;
88
+ }, {
90
89
  startDate: string | null;
91
90
  endDate: string | null;
92
91
  timeIntervals: {
@@ -94,6 +93,7 @@ export declare const sScheduleDto: z.ZodObject<{
94
93
  from: number;
95
94
  to: number;
96
95
  }[];
96
+ repeat: "daily" | "weekly" | "monthly" | "yearly" | null;
97
97
  }>>;
98
98
  exclude: z.ZodNullable<z.ZodObject<{
99
99
  startDate: z.ZodNullable<z.ZodString>;
@@ -113,7 +113,6 @@ export declare const sScheduleDto: z.ZodObject<{
113
113
  }>, "many">;
114
114
  repeat: z.ZodNullable<z.ZodEnum<["daily", "weekly", "monthly", "yearly"]>>;
115
115
  }, "strip", z.ZodTypeAny, {
116
- repeat: "daily" | "weekly" | "monthly" | "yearly" | null;
117
116
  startDate: string | null;
118
117
  endDate: string | null;
119
118
  timeIntervals: {
@@ -121,8 +120,8 @@ export declare const sScheduleDto: z.ZodObject<{
121
120
  from: number;
122
121
  to: number;
123
122
  }[];
124
- }, {
125
123
  repeat: "daily" | "weekly" | "monthly" | "yearly" | null;
124
+ }, {
126
125
  startDate: string | null;
127
126
  endDate: string | null;
128
127
  timeIntervals: {
@@ -130,6 +129,7 @@ export declare const sScheduleDto: z.ZodObject<{
130
129
  from: number;
131
130
  to: number;
132
131
  }[];
132
+ repeat: "daily" | "weekly" | "monthly" | "yearly" | null;
133
133
  }>>;
134
134
  editable: z.ZodBoolean;
135
135
  deletable: z.ZodBoolean;
@@ -140,8 +140,12 @@ export declare const sScheduleDto: z.ZodObject<{
140
140
  flag: z.ZodNullable<z.ZodEnum<["always", "never"]>>;
141
141
  }, "strip", z.ZodTypeAny, {
142
142
  id: string;
143
+ displayName: string;
144
+ createdOn: string;
145
+ lastModifiedOn: string;
146
+ refs: Record<string, string | string[]>;
147
+ version: number;
143
148
  include: {
144
- repeat: "daily" | "weekly" | "monthly" | "yearly" | null;
145
149
  startDate: string | null;
146
150
  endDate: string | null;
147
151
  timeIntervals: {
@@ -149,10 +153,9 @@ export declare const sScheduleDto: z.ZodObject<{
149
153
  from: number;
150
154
  to: number;
151
155
  }[];
156
+ repeat: "daily" | "weekly" | "monthly" | "yearly" | null;
152
157
  } | null;
153
- version: number;
154
158
  exclude: {
155
- repeat: "daily" | "weekly" | "monthly" | "yearly" | null;
156
159
  startDate: string | null;
157
160
  endDate: string | null;
158
161
  timeIntervals: {
@@ -160,18 +163,19 @@ export declare const sScheduleDto: z.ZodObject<{
160
163
  from: number;
161
164
  to: number;
162
165
  }[];
166
+ repeat: "daily" | "weekly" | "monthly" | "yearly" | null;
163
167
  } | null;
164
- displayName: string;
165
- createdOn: string;
166
- lastModifiedOn: string;
167
- refs: Record<string, string | string[]>;
168
168
  editable: boolean;
169
169
  deletable: boolean;
170
- flag: "always" | "never" | null;
170
+ flag: "never" | "always" | null;
171
171
  }, {
172
172
  id: string;
173
+ displayName: string;
174
+ createdOn: string;
175
+ lastModifiedOn: string;
176
+ refs: Record<string, string | string[]>;
177
+ version: number;
173
178
  include: {
174
- repeat: "daily" | "weekly" | "monthly" | "yearly" | null;
175
179
  startDate: string | null;
176
180
  endDate: string | null;
177
181
  timeIntervals: {
@@ -179,10 +183,9 @@ export declare const sScheduleDto: z.ZodObject<{
179
183
  from: number;
180
184
  to: number;
181
185
  }[];
186
+ repeat: "daily" | "weekly" | "monthly" | "yearly" | null;
182
187
  } | null;
183
- version: number;
184
188
  exclude: {
185
- repeat: "daily" | "weekly" | "monthly" | "yearly" | null;
186
189
  startDate: string | null;
187
190
  endDate: string | null;
188
191
  timeIntervals: {
@@ -190,14 +193,11 @@ export declare const sScheduleDto: z.ZodObject<{
190
193
  from: number;
191
194
  to: number;
192
195
  }[];
196
+ repeat: "daily" | "weekly" | "monthly" | "yearly" | null;
193
197
  } | null;
194
- displayName: string;
195
- createdOn: string;
196
- lastModifiedOn: string;
197
- refs: Record<string, string | string[]>;
198
198
  editable: boolean;
199
199
  deletable: boolean;
200
- flag: "always" | "never" | null;
200
+ flag: "never" | "always" | null;
201
201
  }>;
202
202
  export type ScheduleDto = z.infer<typeof sScheduleDto>;
203
203
  export declare const sTimeInterval: z.ZodObject<{
@@ -231,7 +231,6 @@ export declare const sScheduleDetailsRequest: z.ZodObject<{
231
231
  }>, "many">;
232
232
  repeat: z.ZodNullable<z.ZodEnum<["daily", "weekly", "monthly", "yearly"]>>;
233
233
  }, "strip", z.ZodTypeAny, {
234
- repeat: "daily" | "weekly" | "monthly" | "yearly" | null;
235
234
  startDate: string | null;
236
235
  endDate: string | null;
237
236
  timeIntervals: {
@@ -239,8 +238,8 @@ export declare const sScheduleDetailsRequest: z.ZodObject<{
239
238
  from: number;
240
239
  to: number;
241
240
  }[];
242
- }, {
243
241
  repeat: "daily" | "weekly" | "monthly" | "yearly" | null;
242
+ }, {
244
243
  startDate: string | null;
245
244
  endDate: string | null;
246
245
  timeIntervals: {
@@ -248,6 +247,7 @@ export declare const sScheduleDetailsRequest: z.ZodObject<{
248
247
  from: number;
249
248
  to: number;
250
249
  }[];
250
+ repeat: "daily" | "weekly" | "monthly" | "yearly" | null;
251
251
  }>;
252
252
  export type ScheduleDetailsRequest = z.infer<typeof sScheduleDetailsRequest>;
253
253
  export declare const sScheduleProps: z.ZodObject<{
@@ -271,7 +271,6 @@ export declare const sScheduleProps: z.ZodObject<{
271
271
  }>, "many">;
272
272
  repeat: z.ZodNullable<z.ZodEnum<["daily", "weekly", "monthly", "yearly"]>>;
273
273
  }, "strip", z.ZodTypeAny, {
274
- repeat: "daily" | "weekly" | "monthly" | "yearly" | null;
275
274
  startDate: string | null;
276
275
  endDate: string | null;
277
276
  timeIntervals: {
@@ -279,8 +278,8 @@ export declare const sScheduleProps: z.ZodObject<{
279
278
  from: number;
280
279
  to: number;
281
280
  }[];
282
- }, {
283
281
  repeat: "daily" | "weekly" | "monthly" | "yearly" | null;
282
+ }, {
284
283
  startDate: string | null;
285
284
  endDate: string | null;
286
285
  timeIntervals: {
@@ -288,6 +287,7 @@ export declare const sScheduleProps: z.ZodObject<{
288
287
  from: number;
289
288
  to: number;
290
289
  }[];
290
+ repeat: "daily" | "weekly" | "monthly" | "yearly" | null;
291
291
  }>>;
292
292
  exclude: z.ZodNullable<z.ZodObject<{
293
293
  startDate: z.ZodNullable<z.ZodString>;
@@ -307,7 +307,6 @@ export declare const sScheduleProps: z.ZodObject<{
307
307
  }>, "many">;
308
308
  repeat: z.ZodNullable<z.ZodEnum<["daily", "weekly", "monthly", "yearly"]>>;
309
309
  }, "strip", z.ZodTypeAny, {
310
- repeat: "daily" | "weekly" | "monthly" | "yearly" | null;
311
310
  startDate: string | null;
312
311
  endDate: string | null;
313
312
  timeIntervals: {
@@ -315,8 +314,8 @@ export declare const sScheduleProps: z.ZodObject<{
315
314
  from: number;
316
315
  to: number;
317
316
  }[];
318
- }, {
319
317
  repeat: "daily" | "weekly" | "monthly" | "yearly" | null;
318
+ }, {
320
319
  startDate: string | null;
321
320
  endDate: string | null;
322
321
  timeIntervals: {
@@ -324,10 +323,11 @@ export declare const sScheduleProps: z.ZodObject<{
324
323
  from: number;
325
324
  to: number;
326
325
  }[];
326
+ repeat: "daily" | "weekly" | "monthly" | "yearly" | null;
327
327
  }>>;
328
328
  }, "strip", z.ZodTypeAny, {
329
+ displayName: string;
329
330
  include: {
330
- repeat: "daily" | "weekly" | "monthly" | "yearly" | null;
331
331
  startDate: string | null;
332
332
  endDate: string | null;
333
333
  timeIntervals: {
@@ -335,9 +335,9 @@ export declare const sScheduleProps: z.ZodObject<{
335
335
  from: number;
336
336
  to: number;
337
337
  }[];
338
+ repeat: "daily" | "weekly" | "monthly" | "yearly" | null;
338
339
  } | null;
339
340
  exclude: {
340
- repeat: "daily" | "weekly" | "monthly" | "yearly" | null;
341
341
  startDate: string | null;
342
342
  endDate: string | null;
343
343
  timeIntervals: {
@@ -345,12 +345,12 @@ export declare const sScheduleProps: z.ZodObject<{
345
345
  from: number;
346
346
  to: number;
347
347
  }[];
348
+ repeat: "daily" | "weekly" | "monthly" | "yearly" | null;
348
349
  } | null;
349
- displayName: string;
350
- flag: "always" | "never" | null;
350
+ flag: "never" | "always" | null;
351
351
  }, {
352
+ displayName: string;
352
353
  include: {
353
- repeat: "daily" | "weekly" | "monthly" | "yearly" | null;
354
354
  startDate: string | null;
355
355
  endDate: string | null;
356
356
  timeIntervals: {
@@ -358,9 +358,9 @@ export declare const sScheduleProps: z.ZodObject<{
358
358
  from: number;
359
359
  to: number;
360
360
  }[];
361
+ repeat: "daily" | "weekly" | "monthly" | "yearly" | null;
361
362
  } | null;
362
363
  exclude: {
363
- repeat: "daily" | "weekly" | "monthly" | "yearly" | null;
364
364
  startDate: string | null;
365
365
  endDate: string | null;
366
366
  timeIntervals: {
@@ -368,8 +368,8 @@ export declare const sScheduleProps: z.ZodObject<{
368
368
  from: number;
369
369
  to: number;
370
370
  }[];
371
+ repeat: "daily" | "weekly" | "monthly" | "yearly" | null;
371
372
  } | null;
372
- displayName: string;
373
- flag: "always" | "never" | null;
373
+ flag: "never" | "always" | null;
374
374
  }>;
375
375
  export type ScheduleProps = z.infer<typeof sScheduleProps>;
@@ -10,24 +10,24 @@ export declare const sSecurityLevelDto: z.ZodObject<{
10
10
  alwaysShowCheck: z.ZodBoolean;
11
11
  default: z.ZodBoolean;
12
12
  }, "strip", z.ZodTypeAny, {
13
- name: string;
14
- default: boolean;
15
13
  id: string;
14
+ name: string;
15
+ order: number;
16
16
  active: boolean;
17
17
  color: string;
18
- order: number;
19
18
  checkFrequency: number;
20
19
  checkOnExit: boolean;
21
20
  alwaysShowCheck: boolean;
22
- }, {
23
- name: string;
24
21
  default: boolean;
22
+ }, {
25
23
  id: string;
24
+ name: string;
25
+ order: number;
26
26
  active: boolean;
27
27
  color: string;
28
- order: number;
29
28
  checkFrequency: number;
30
29
  checkOnExit: boolean;
31
30
  alwaysShowCheck: boolean;
31
+ default: boolean;
32
32
  }>;
33
33
  export type SecurityLevelDto = z.infer<typeof sSecurityLevelDto>;
@@ -7,14 +7,14 @@ export declare const sTemplateDto: z.ZodObject<{
7
7
  type: z.ZodEnum<["id", "report"]>;
8
8
  templateHtmlId: z.ZodString;
9
9
  }, "strip", z.ZodTypeAny, {
10
- name: string;
11
10
  type: "id" | "report";
12
11
  id: string;
12
+ name: string;
13
13
  templateHtmlId: string;
14
14
  }, {
15
- name: string;
16
15
  type: "id" | "report";
17
16
  id: string;
17
+ name: string;
18
18
  templateHtmlId: string;
19
19
  }>;
20
20
  export type TemplateDto = z.infer<typeof sTemplateDto>;
@@ -6,16 +6,16 @@ export declare const sTokenConversionDto: z.ZodObject<{
6
6
  type: z.ZodEnum<["hex-to-decimal"]>;
7
7
  jsonData: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
8
8
  }, "strip", z.ZodTypeAny, {
9
- name: string;
10
9
  type: "hex-to-decimal";
11
10
  id: string;
11
+ name: string;
12
12
  jsonData: {} & {
13
13
  [k: string]: unknown;
14
14
  };
15
15
  }, {
16
- name: string;
17
16
  type: "hex-to-decimal";
18
17
  id: string;
18
+ name: string;
19
19
  jsonData: {} & {
20
20
  [k: string]: unknown;
21
21
  };
@@ -11,19 +11,19 @@ export declare const sUserDto: z.ZodObject<{
11
11
  roles: z.ZodArray<z.ZodString, "many">;
12
12
  }, "strip", z.ZodTypeAny, {
13
13
  id: string;
14
- username: string;
15
- email: string | null;
16
14
  firstName: string;
17
15
  lastName: string;
16
+ email: string | null;
17
+ username: string;
18
18
  isActive: boolean;
19
19
  isRoot: boolean;
20
20
  roles: string[];
21
21
  }, {
22
22
  id: string;
23
- username: string;
24
- email: string | null;
25
23
  firstName: string;
26
24
  lastName: string;
25
+ email: string | null;
26
+ username: string;
27
27
  isActive: boolean;
28
28
  isRoot: boolean;
29
29
  roles: string[];