@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
@@ -4,94 +4,42 @@ export declare const sDuplicateMeta: z.ZodObject<{
4
4
  field: z.ZodString;
5
5
  value: z.ZodOptional<z.ZodString>;
6
6
  existingId: z.ZodOptional<z.ZodString>;
7
- }, "strip", z.ZodTypeAny, {
8
- field: string;
9
- subject: string;
10
- value?: string | undefined;
11
- existingId?: string | undefined;
12
- }, {
13
- field: string;
14
- subject: string;
15
- value?: string | undefined;
16
- existingId?: string | undefined;
17
- }>;
7
+ }, z.core.$strip>;
18
8
  export declare const sNotFoundMeta: z.ZodObject<{
19
9
  subject: z.ZodString;
20
10
  field: z.ZodString;
21
11
  value: z.ZodString;
22
- }, "strip", z.ZodTypeAny, {
23
- value: string;
24
- field: string;
25
- subject: string;
26
- }, {
27
- value: string;
28
- field: string;
29
- subject: string;
30
- }>;
12
+ }, z.core.$strip>;
31
13
  export declare const sInvalidMeta: z.ZodObject<{
32
14
  subject: z.ZodString;
33
15
  fieldErrors: z.ZodRecord<z.ZodString, z.ZodString>;
34
- }, "strip", z.ZodTypeAny, {
35
- subject: string;
36
- fieldErrors: Record<string, string>;
37
- }, {
38
- subject: string;
39
- fieldErrors: Record<string, string>;
40
- }>;
16
+ }, z.core.$strip>;
41
17
  export declare const sConflictMeta: z.ZodObject<{
42
18
  subject: z.ZodString;
43
19
  blockingSubject: z.ZodOptional<z.ZodString>;
44
20
  blockingId: z.ZodOptional<z.ZodString>;
45
21
  value: z.ZodOptional<z.ZodString>;
46
- }, "strip", z.ZodTypeAny, {
47
- subject: string;
48
- value?: string | undefined;
49
- blockingSubject?: string | undefined;
50
- blockingId?: string | undefined;
51
- }, {
52
- subject: string;
53
- value?: string | undefined;
54
- blockingSubject?: string | undefined;
55
- blockingId?: string | undefined;
56
- }>;
57
- export declare const sVoidMeta: z.ZodObject<{}, "strict", z.ZodTypeAny, {}, {}>;
22
+ }, z.core.$strip>;
23
+ export declare const sVoidMeta: z.ZodObject<{}, z.core.$strict>;
58
24
  export declare const sAccessRuleConflictMeta: z.ZodObject<{
59
- deviceSchedules: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>;
60
- }, "strip", z.ZodTypeAny, {
61
- deviceSchedules: Record<string, string[]>;
62
- }, {
63
- deviceSchedules: Record<string, string[]>;
64
- }>;
25
+ deviceSchedules: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>;
26
+ }, z.core.$strip>;
65
27
  export declare const sZoneAccessRuleConflictMeta: z.ZodObject<{
66
28
  zoneId: z.ZodString;
67
- accessRuleIds: z.ZodArray<z.ZodString, "many">;
68
- }, "strip", z.ZodTypeAny, {
69
- zoneId: string;
70
- accessRuleIds: string[];
71
- }, {
72
- zoneId: string;
73
- accessRuleIds: string[];
74
- }>;
29
+ accessRuleIds: z.ZodArray<z.ZodString>;
30
+ }, z.core.$strip>;
75
31
  export declare const sTokenInvalidFormatMeta: z.ZodObject<{
76
32
  token: z.ZodString;
77
33
  expectedFormat: z.ZodString;
78
- }, "strip", z.ZodTypeAny, {
79
- token: string;
80
- expectedFormat: string;
81
- }, {
82
- token: string;
83
- expectedFormat: string;
84
- }>;
34
+ }, z.core.$strip>;
85
35
  export declare const sTokenLimitExceededMeta: z.ZodObject<{
86
36
  limit: z.ZodNumber;
87
- type: z.ZodEnum<["card", "pin", "fingerprint"]>;
88
- }, "strip", z.ZodTypeAny, {
89
- type: "card" | "pin" | "fingerprint";
90
- limit: number;
91
- }, {
92
- type: "card" | "pin" | "fingerprint";
93
- limit: number;
94
- }>;
37
+ type: z.ZodEnum<{
38
+ card: "card";
39
+ pin: "pin";
40
+ fingerprint: "fingerprint";
41
+ }>;
42
+ }, z.core.$strip>;
95
43
  export type VoidMeta = z.infer<typeof sVoidMeta>;
96
44
  export type DuplicateMeta = z.infer<typeof sDuplicateMeta>;
97
45
  export type NotFoundMeta = z.infer<typeof sNotFoundMeta>;
@@ -160,532 +108,218 @@ export declare const errorMetadataSchemas: {
160
108
  field: z.ZodString;
161
109
  value: z.ZodOptional<z.ZodString>;
162
110
  existingId: z.ZodOptional<z.ZodString>;
163
- }, "strip", z.ZodTypeAny, {
164
- field: string;
165
- subject: string;
166
- value?: string | undefined;
167
- existingId?: string | undefined;
168
- }, {
169
- field: string;
170
- subject: string;
171
- value?: string | undefined;
172
- existingId?: string | undefined;
173
- }>;
111
+ }, z.core.$strip>;
174
112
  readonly RESOURCE_NOT_FOUND: z.ZodObject<{
175
113
  subject: z.ZodString;
176
114
  field: z.ZodString;
177
115
  value: z.ZodString;
178
- }, "strip", z.ZodTypeAny, {
179
- value: string;
180
- field: string;
181
- subject: string;
182
- }, {
183
- value: string;
184
- field: string;
185
- subject: string;
186
- }>;
116
+ }, z.core.$strip>;
187
117
  readonly RESOURCE_INVALID: z.ZodObject<{
188
118
  subject: z.ZodString;
189
119
  fieldErrors: z.ZodRecord<z.ZodString, z.ZodString>;
190
- }, "strip", z.ZodTypeAny, {
191
- subject: string;
192
- fieldErrors: Record<string, string>;
193
- }, {
194
- subject: string;
195
- fieldErrors: Record<string, string>;
196
- }>;
120
+ }, z.core.$strip>;
197
121
  readonly RESOURCE_IN_USE: z.ZodObject<{
198
122
  subject: z.ZodString;
199
123
  blockingSubject: z.ZodOptional<z.ZodString>;
200
124
  blockingId: z.ZodOptional<z.ZodString>;
201
125
  value: z.ZodOptional<z.ZodString>;
202
- }, "strip", z.ZodTypeAny, {
203
- subject: string;
204
- value?: string | undefined;
205
- blockingSubject?: string | undefined;
206
- blockingId?: string | undefined;
207
- }, {
208
- subject: string;
209
- value?: string | undefined;
210
- blockingSubject?: string | undefined;
211
- blockingId?: string | undefined;
212
- }>;
213
- readonly RESOURCE_NOT_SUPPORTED: z.ZodObject<{}, "strict", z.ZodTypeAny, {}, {}>;
214
- readonly RESOURCE_FORBIDDEN: z.ZodObject<{}, "strict", z.ZodTypeAny, {}, {}>;
215
- readonly BAD_REFERENCE: z.ZodObject<{}, "strict", z.ZodTypeAny, {}, {}>;
126
+ }, z.core.$strip>;
127
+ readonly RESOURCE_NOT_SUPPORTED: z.ZodObject<{}, z.core.$strict>;
128
+ readonly RESOURCE_FORBIDDEN: z.ZodObject<{}, z.core.$strict>;
129
+ readonly BAD_REFERENCE: z.ZodObject<{}, z.core.$strict>;
216
130
  readonly ACCESS_RULE_NOT_FOUND: z.ZodObject<{
217
131
  subject: z.ZodString;
218
132
  field: z.ZodString;
219
133
  value: z.ZodString;
220
- }, "strip", z.ZodTypeAny, {
221
- value: string;
222
- field: string;
223
- subject: string;
224
- }, {
225
- value: string;
226
- field: string;
227
- subject: string;
228
- }>;
134
+ }, z.core.$strip>;
229
135
  readonly ACCESS_RULE_PERMISSION_CONFLICT: z.ZodObject<{
230
- deviceSchedules: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>;
231
- }, "strip", z.ZodTypeAny, {
232
- deviceSchedules: Record<string, string[]>;
233
- }, {
234
- deviceSchedules: Record<string, string[]>;
235
- }>;
136
+ deviceSchedules: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>;
137
+ }, z.core.$strip>;
236
138
  readonly ALARM_NOT_FOUND: z.ZodObject<{
237
139
  subject: z.ZodString;
238
140
  field: z.ZodString;
239
141
  value: z.ZodString;
240
- }, "strip", z.ZodTypeAny, {
241
- value: string;
242
- field: string;
243
- subject: string;
244
- }, {
245
- value: string;
246
- field: string;
247
- subject: string;
248
- }>;
249
- readonly AUTH_INVALID_CREDENTIALS: z.ZodObject<{}, "strict", z.ZodTypeAny, {}, {}>;
250
- readonly AUTH_CITADEL_MODE_ENABLED: z.ZodObject<{}, "strict", z.ZodTypeAny, {}, {}>;
142
+ }, z.core.$strip>;
143
+ readonly AUTH_INVALID_CREDENTIALS: z.ZodObject<{}, z.core.$strict>;
144
+ readonly AUTH_CITADEL_MODE_ENABLED: z.ZodObject<{}, z.core.$strict>;
251
145
  readonly USER_NOT_FOUND: z.ZodObject<{
252
146
  subject: z.ZodString;
253
147
  field: z.ZodString;
254
148
  value: z.ZodString;
255
- }, "strip", z.ZodTypeAny, {
256
- value: string;
257
- field: string;
258
- subject: string;
259
- }, {
260
- value: string;
261
- field: string;
262
- subject: string;
263
- }>;
149
+ }, z.core.$strip>;
264
150
  readonly USERNAME_ALREADY_EXISTS: z.ZodObject<{
265
151
  subject: z.ZodString;
266
152
  field: z.ZodString;
267
153
  value: z.ZodOptional<z.ZodString>;
268
154
  existingId: z.ZodOptional<z.ZodString>;
269
- }, "strip", z.ZodTypeAny, {
270
- field: string;
271
- subject: string;
272
- value?: string | undefined;
273
- existingId?: string | undefined;
274
- }, {
275
- field: string;
276
- subject: string;
277
- value?: string | undefined;
278
- existingId?: string | undefined;
279
- }>;
155
+ }, z.core.$strip>;
280
156
  readonly EMAIL_ALREADY_EXISTS: z.ZodObject<{
281
157
  subject: z.ZodString;
282
158
  field: z.ZodString;
283
159
  value: z.ZodOptional<z.ZodString>;
284
160
  existingId: z.ZodOptional<z.ZodString>;
285
- }, "strip", z.ZodTypeAny, {
286
- field: string;
287
- subject: string;
288
- value?: string | undefined;
289
- existingId?: string | undefined;
290
- }, {
291
- field: string;
292
- subject: string;
293
- value?: string | undefined;
294
- existingId?: string | undefined;
295
- }>;
296
- readonly CANNOT_DELETE_ROOT_USER: z.ZodObject<{}, "strict", z.ZodTypeAny, {}, {}>;
161
+ }, z.core.$strip>;
162
+ readonly CANNOT_DELETE_ROOT_USER: z.ZodObject<{}, z.core.$strict>;
297
163
  readonly PERSON_NOT_FOUND: z.ZodObject<{
298
164
  subject: z.ZodString;
299
165
  field: z.ZodString;
300
166
  value: z.ZodString;
301
- }, "strip", z.ZodTypeAny, {
302
- value: string;
303
- field: string;
304
- subject: string;
305
- }, {
306
- value: string;
307
- field: string;
308
- subject: string;
309
- }>;
167
+ }, z.core.$strip>;
310
168
  readonly PERSON_INVALID_ID: z.ZodObject<{
311
169
  subject: z.ZodString;
312
170
  fieldErrors: z.ZodRecord<z.ZodString, z.ZodString>;
313
- }, "strip", z.ZodTypeAny, {
314
- subject: string;
315
- fieldErrors: Record<string, string>;
316
- }, {
317
- subject: string;
318
- fieldErrors: Record<string, string>;
319
- }>;
320
- readonly TOKEN_NOT_SUPPORTED: z.ZodObject<{}, "strict", z.ZodTypeAny, {}, {}>;
171
+ }, z.core.$strip>;
172
+ readonly TOKEN_NOT_SUPPORTED: z.ZodObject<{}, z.core.$strict>;
321
173
  readonly TOKEN_INVALID_FORMAT: z.ZodObject<{
322
174
  token: z.ZodString;
323
175
  expectedFormat: z.ZodString;
324
- }, "strip", z.ZodTypeAny, {
325
- token: string;
326
- expectedFormat: string;
327
- }, {
328
- token: string;
329
- expectedFormat: string;
330
- }>;
176
+ }, z.core.$strip>;
331
177
  readonly TOKEN_LIMIT_EXCEEDED: z.ZodObject<{
332
178
  limit: z.ZodNumber;
333
- type: z.ZodEnum<["card", "pin", "fingerprint"]>;
334
- }, "strip", z.ZodTypeAny, {
335
- type: "card" | "pin" | "fingerprint";
336
- limit: number;
337
- }, {
338
- type: "card" | "pin" | "fingerprint";
339
- limit: number;
340
- }>;
179
+ type: z.ZodEnum<{
180
+ card: "card";
181
+ pin: "pin";
182
+ fingerprint: "fingerprint";
183
+ }>;
184
+ }, z.core.$strip>;
341
185
  readonly TOKEN_IN_USE: z.ZodObject<{
342
186
  subject: z.ZodString;
343
187
  blockingSubject: z.ZodOptional<z.ZodString>;
344
188
  blockingId: z.ZodOptional<z.ZodString>;
345
189
  value: z.ZodOptional<z.ZodString>;
346
- }, "strip", z.ZodTypeAny, {
347
- subject: string;
348
- value?: string | undefined;
349
- blockingSubject?: string | undefined;
350
- blockingId?: string | undefined;
351
- }, {
352
- subject: string;
353
- value?: string | undefined;
354
- blockingSubject?: string | undefined;
355
- blockingId?: string | undefined;
356
- }>;
190
+ }, z.core.$strip>;
357
191
  readonly DEVICE_NOT_FOUND: z.ZodObject<{
358
192
  subject: z.ZodString;
359
193
  field: z.ZodString;
360
194
  value: z.ZodString;
361
- }, "strip", z.ZodTypeAny, {
362
- value: string;
363
- field: string;
364
- subject: string;
365
- }, {
366
- value: string;
367
- field: string;
368
- subject: string;
369
- }>;
195
+ }, z.core.$strip>;
370
196
  readonly DEVICE_ALREADY_EXISTS: z.ZodObject<{
371
197
  subject: z.ZodString;
372
198
  field: z.ZodString;
373
199
  value: z.ZodOptional<z.ZodString>;
374
200
  existingId: z.ZodOptional<z.ZodString>;
375
- }, "strip", z.ZodTypeAny, {
376
- field: string;
377
- subject: string;
378
- value?: string | undefined;
379
- existingId?: string | undefined;
380
- }, {
381
- field: string;
382
- subject: string;
383
- value?: string | undefined;
384
- existingId?: string | undefined;
385
- }>;
201
+ }, z.core.$strip>;
386
202
  readonly DEVICE_INVALID_ID: z.ZodObject<{
387
203
  subject: z.ZodString;
388
204
  fieldErrors: z.ZodRecord<z.ZodString, z.ZodString>;
389
- }, "strip", z.ZodTypeAny, {
390
- subject: string;
391
- fieldErrors: Record<string, string>;
392
- }, {
393
- subject: string;
394
- fieldErrors: Record<string, string>;
395
- }>;
205
+ }, z.core.$strip>;
396
206
  readonly DEVICE_INVALID_TYPE: z.ZodObject<{
397
207
  subject: z.ZodString;
398
208
  fieldErrors: z.ZodRecord<z.ZodString, z.ZodString>;
399
- }, "strip", z.ZodTypeAny, {
400
- subject: string;
401
- fieldErrors: Record<string, string>;
402
- }, {
403
- subject: string;
404
- fieldErrors: Record<string, string>;
405
- }>;
209
+ }, z.core.$strip>;
406
210
  readonly DEVICE_INVALID_RELATION_TYPE: z.ZodObject<{
407
211
  subject: z.ZodString;
408
212
  fieldErrors: z.ZodRecord<z.ZodString, z.ZodString>;
409
- }, "strip", z.ZodTypeAny, {
410
- subject: string;
411
- fieldErrors: Record<string, string>;
412
- }, {
413
- subject: string;
414
- fieldErrors: Record<string, string>;
415
- }>;
213
+ }, z.core.$strip>;
416
214
  readonly DEVICE_INVALID_TEMPLATE: z.ZodObject<{
417
215
  subject: z.ZodString;
418
216
  fieldErrors: z.ZodRecord<z.ZodString, z.ZodString>;
419
- }, "strip", z.ZodTypeAny, {
420
- subject: string;
421
- fieldErrors: Record<string, string>;
422
- }, {
423
- subject: string;
424
- fieldErrors: Record<string, string>;
425
- }>;
217
+ }, z.core.$strip>;
426
218
  readonly DEVICE_INVALID_PROVIDER_METADATA: z.ZodObject<{
427
219
  subject: z.ZodString;
428
220
  fieldErrors: z.ZodRecord<z.ZodString, z.ZodString>;
429
- }, "strip", z.ZodTypeAny, {
430
- subject: string;
431
- fieldErrors: Record<string, string>;
432
- }, {
433
- subject: string;
434
- fieldErrors: Record<string, string>;
435
- }>;
221
+ }, z.core.$strip>;
436
222
  readonly DEVICE_PRESET_ALREADY_EXISTS: z.ZodObject<{
437
223
  subject: z.ZodString;
438
224
  field: z.ZodString;
439
225
  value: z.ZodOptional<z.ZodString>;
440
226
  existingId: z.ZodOptional<z.ZodString>;
441
- }, "strip", z.ZodTypeAny, {
442
- field: string;
443
- subject: string;
444
- value?: string | undefined;
445
- existingId?: string | undefined;
446
- }, {
447
- field: string;
448
- subject: string;
449
- value?: string | undefined;
450
- existingId?: string | undefined;
451
- }>;
452
- readonly DEVICE_NOT_SUPPORTED: z.ZodObject<{}, "strict", z.ZodTypeAny, {}, {}>;
227
+ }, z.core.$strip>;
228
+ readonly DEVICE_NOT_SUPPORTED: z.ZodObject<{}, z.core.$strict>;
453
229
  readonly GROUP_NOT_FOUND: z.ZodObject<{
454
230
  subject: z.ZodString;
455
231
  field: z.ZodString;
456
232
  value: z.ZodString;
457
- }, "strip", z.ZodTypeAny, {
458
- value: string;
459
- field: string;
460
- subject: string;
461
- }, {
462
- value: string;
463
- field: string;
464
- subject: string;
465
- }>;
233
+ }, z.core.$strip>;
466
234
  readonly GROUP_ALREADY_EXISTS: z.ZodObject<{
467
235
  subject: z.ZodString;
468
236
  field: z.ZodString;
469
237
  value: z.ZodOptional<z.ZodString>;
470
238
  existingId: z.ZodOptional<z.ZodString>;
471
- }, "strip", z.ZodTypeAny, {
472
- field: string;
473
- subject: string;
474
- value?: string | undefined;
475
- existingId?: string | undefined;
476
- }, {
477
- field: string;
478
- subject: string;
479
- value?: string | undefined;
480
- existingId?: string | undefined;
481
- }>;
239
+ }, z.core.$strip>;
482
240
  readonly ZONE_NOT_FOUND: z.ZodObject<{
483
241
  subject: z.ZodString;
484
242
  field: z.ZodString;
485
243
  value: z.ZodString;
486
- }, "strip", z.ZodTypeAny, {
487
- value: string;
488
- field: string;
489
- subject: string;
490
- }, {
491
- value: string;
492
- field: string;
493
- subject: string;
494
- }>;
244
+ }, z.core.$strip>;
495
245
  readonly ZONE_ALREADY_EXISTS: z.ZodObject<{
496
246
  subject: z.ZodString;
497
247
  field: z.ZodString;
498
248
  value: z.ZodOptional<z.ZodString>;
499
249
  existingId: z.ZodOptional<z.ZodString>;
500
- }, "strip", z.ZodTypeAny, {
501
- field: string;
502
- subject: string;
503
- value?: string | undefined;
504
- existingId?: string | undefined;
505
- }, {
506
- field: string;
507
- subject: string;
508
- value?: string | undefined;
509
- existingId?: string | undefined;
510
- }>;
250
+ }, z.core.$strip>;
511
251
  readonly ZONE_IN_USE: z.ZodObject<{
512
252
  subject: z.ZodString;
513
253
  blockingSubject: z.ZodOptional<z.ZodString>;
514
254
  blockingId: z.ZodOptional<z.ZodString>;
515
255
  value: z.ZodOptional<z.ZodString>;
516
- }, "strip", z.ZodTypeAny, {
517
- subject: string;
518
- value?: string | undefined;
519
- blockingSubject?: string | undefined;
520
- blockingId?: string | undefined;
521
- }, {
522
- subject: string;
523
- value?: string | undefined;
524
- blockingSubject?: string | undefined;
525
- blockingId?: string | undefined;
526
- }>;
256
+ }, z.core.$strip>;
527
257
  readonly ZONE_ACCESS_RULE_CONFLICT: z.ZodObject<{
528
258
  zoneId: z.ZodString;
529
- accessRuleIds: z.ZodArray<z.ZodString, "many">;
530
- }, "strip", z.ZodTypeAny, {
531
- zoneId: string;
532
- accessRuleIds: string[];
533
- }, {
534
- zoneId: string;
535
- accessRuleIds: string[];
536
- }>;
259
+ accessRuleIds: z.ZodArray<z.ZodString>;
260
+ }, z.core.$strip>;
537
261
  readonly SCHEDULE_NOT_FOUND: z.ZodObject<{
538
262
  subject: z.ZodString;
539
263
  field: z.ZodString;
540
264
  value: z.ZodString;
541
- }, "strip", z.ZodTypeAny, {
542
- value: string;
543
- field: string;
544
- subject: string;
545
- }, {
546
- value: string;
547
- field: string;
548
- subject: string;
549
- }>;
265
+ }, z.core.$strip>;
550
266
  readonly SCHEDULE_ALREADY_EXISTS: z.ZodObject<{
551
267
  subject: z.ZodString;
552
268
  field: z.ZodString;
553
269
  value: z.ZodOptional<z.ZodString>;
554
270
  existingId: z.ZodOptional<z.ZodString>;
555
- }, "strip", z.ZodTypeAny, {
556
- field: string;
557
- subject: string;
558
- value?: string | undefined;
559
- existingId?: string | undefined;
560
- }, {
561
- field: string;
562
- subject: string;
563
- value?: string | undefined;
564
- existingId?: string | undefined;
565
- }>;
271
+ }, z.core.$strip>;
566
272
  readonly SCHEDULE_IN_USE: z.ZodObject<{
567
273
  subject: z.ZodString;
568
274
  blockingSubject: z.ZodOptional<z.ZodString>;
569
275
  blockingId: z.ZodOptional<z.ZodString>;
570
276
  value: z.ZodOptional<z.ZodString>;
571
- }, "strip", z.ZodTypeAny, {
572
- subject: string;
573
- value?: string | undefined;
574
- blockingSubject?: string | undefined;
575
- blockingId?: string | undefined;
576
- }, {
577
- subject: string;
578
- value?: string | undefined;
579
- blockingSubject?: string | undefined;
580
- blockingId?: string | undefined;
581
- }>;
277
+ }, z.core.$strip>;
582
278
  readonly PERMISSION_ALREADY_EXISTS: z.ZodObject<{
583
279
  subject: z.ZodString;
584
280
  field: z.ZodString;
585
281
  value: z.ZodOptional<z.ZodString>;
586
282
  existingId: z.ZodOptional<z.ZodString>;
587
- }, "strip", z.ZodTypeAny, {
588
- field: string;
589
- subject: string;
590
- value?: string | undefined;
591
- existingId?: string | undefined;
592
- }, {
593
- field: string;
594
- subject: string;
595
- value?: string | undefined;
596
- existingId?: string | undefined;
597
- }>;
283
+ }, z.core.$strip>;
598
284
  readonly ROLE_ALREADY_EXISTS: z.ZodObject<{
599
285
  subject: z.ZodString;
600
286
  field: z.ZodString;
601
287
  value: z.ZodOptional<z.ZodString>;
602
288
  existingId: z.ZodOptional<z.ZodString>;
603
- }, "strip", z.ZodTypeAny, {
604
- field: string;
605
- subject: string;
606
- value?: string | undefined;
607
- existingId?: string | undefined;
608
- }, {
609
- field: string;
610
- subject: string;
611
- value?: string | undefined;
612
- existingId?: string | undefined;
613
- }>;
614
- readonly ADMIN_ROLE_CANNOT_UPDATE: z.ZodObject<{}, "strict", z.ZodTypeAny, {}, {}>;
615
- readonly ADMIN_ROLE_CANNOT_DELETE: z.ZodObject<{}, "strict", z.ZodTypeAny, {}, {}>;
289
+ }, z.core.$strip>;
290
+ readonly ADMIN_ROLE_CANNOT_UPDATE: z.ZodObject<{}, z.core.$strict>;
291
+ readonly ADMIN_ROLE_CANNOT_DELETE: z.ZodObject<{}, z.core.$strict>;
616
292
  readonly RULE_ALREADY_EXISTS: z.ZodObject<{
617
293
  subject: z.ZodString;
618
294
  field: z.ZodString;
619
295
  value: z.ZodOptional<z.ZodString>;
620
296
  existingId: z.ZodOptional<z.ZodString>;
621
- }, "strip", z.ZodTypeAny, {
622
- field: string;
623
- subject: string;
624
- value?: string | undefined;
625
- existingId?: string | undefined;
626
- }, {
627
- field: string;
628
- subject: string;
629
- value?: string | undefined;
630
- existingId?: string | undefined;
631
- }>;
297
+ }, z.core.$strip>;
632
298
  readonly RULE_INVALID_BODY: z.ZodObject<{
633
299
  subject: z.ZodString;
634
300
  fieldErrors: z.ZodRecord<z.ZodString, z.ZodString>;
635
- }, "strip", z.ZodTypeAny, {
636
- subject: string;
637
- fieldErrors: Record<string, string>;
638
- }, {
639
- subject: string;
640
- fieldErrors: Record<string, string>;
641
- }>;
642
- readonly RULE_MISSING_CODE: z.ZodObject<{}, "strict", z.ZodTypeAny, {}, {}>;
301
+ }, z.core.$strip>;
302
+ readonly RULE_MISSING_CODE: z.ZodObject<{}, z.core.$strict>;
643
303
  readonly LAYOUT_ALREADY_EXISTS: z.ZodObject<{
644
304
  subject: z.ZodString;
645
305
  field: z.ZodString;
646
306
  value: z.ZodOptional<z.ZodString>;
647
307
  existingId: z.ZodOptional<z.ZodString>;
648
- }, "strip", z.ZodTypeAny, {
649
- field: string;
650
- subject: string;
651
- value?: string | undefined;
652
- existingId?: string | undefined;
653
- }, {
654
- field: string;
655
- subject: string;
656
- value?: string | undefined;
657
- existingId?: string | undefined;
658
- }>;
308
+ }, z.core.$strip>;
659
309
  readonly VIEW_ALREADY_EXISTS: z.ZodObject<{
660
310
  subject: z.ZodString;
661
311
  field: z.ZodString;
662
312
  value: z.ZodOptional<z.ZodString>;
663
313
  existingId: z.ZodOptional<z.ZodString>;
664
- }, "strip", z.ZodTypeAny, {
665
- field: string;
666
- subject: string;
667
- value?: string | undefined;
668
- existingId?: string | undefined;
669
- }, {
670
- field: string;
671
- subject: string;
672
- value?: string | undefined;
673
- existingId?: string | undefined;
674
- }>;
314
+ }, z.core.$strip>;
675
315
  readonly CONFIG_INVALID: z.ZodObject<{
676
316
  subject: z.ZodString;
677
317
  fieldErrors: z.ZodRecord<z.ZodString, z.ZodString>;
678
- }, "strip", z.ZodTypeAny, {
679
- subject: string;
680
- fieldErrors: Record<string, string>;
681
- }, {
682
- subject: string;
683
- fieldErrors: Record<string, string>;
684
- }>;
685
- readonly UNKNOWN: z.ZodObject<{}, "strict", z.ZodTypeAny, {}, {}>;
686
- readonly SERVER_INTERNAL_ERROR: z.ZodObject<{}, "strict", z.ZodTypeAny, {}, {}>;
687
- readonly UNAUTHORIZED: z.ZodObject<{}, "strict", z.ZodTypeAny, {}, {}>;
688
- readonly BAD_REQUEST: z.ZodObject<{}, "strict", z.ZodTypeAny, {}, {}>;
318
+ }, z.core.$strip>;
319
+ readonly UNKNOWN: z.ZodObject<{}, z.core.$strict>;
320
+ readonly SERVER_INTERNAL_ERROR: z.ZodObject<{}, z.core.$strict>;
321
+ readonly UNAUTHORIZED: z.ZodObject<{}, z.core.$strict>;
322
+ readonly BAD_REQUEST: z.ZodObject<{}, z.core.$strict>;
689
323
  };
690
324
  type AppErrorMetadataSchemaMap = typeof errorMetadataSchemas;
691
325
  export type AppErrorMetadataMap = {