@awarevue/api-types 2.0.81 → 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,36 +1,16 @@
1
1
  import { z } from 'zod';
2
2
  export declare const QUERY_MEDIA_SEARCH = "cctv:media-search";
3
3
  export declare const sMediaSearchArgs: z.ZodObject<{
4
- devices: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodAny, "many">>>;
4
+ devices: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodAny>>>;
5
5
  limit: z.ZodOptional<z.ZodNumber>;
6
6
  q: z.ZodOptional<z.ZodString>;
7
7
  similarTo: z.ZodOptional<z.ZodOptional<z.ZodString>>;
8
- label: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
9
- subLabel: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
8
+ label: z.ZodOptional<z.ZodArray<z.ZodString>>;
9
+ subLabel: z.ZodOptional<z.ZodArray<z.ZodString>>;
10
10
  timeFrom: z.ZodOptional<z.ZodNumber>;
11
11
  timeTo: z.ZodOptional<z.ZodNumber>;
12
- sortBy: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"time_asc">, z.ZodLiteral<"time_desc">, z.ZodLiteral<"relevance">]>>;
13
- }, "strip", z.ZodTypeAny, {
14
- devices?: any[] | undefined;
15
- label?: string[] | undefined;
16
- limit?: number | undefined;
17
- q?: string | undefined;
18
- timeFrom?: number | undefined;
19
- timeTo?: number | undefined;
20
- similarTo?: string | undefined;
21
- subLabel?: string[] | undefined;
22
- sortBy?: "time_asc" | "time_desc" | "relevance" | undefined;
23
- }, {
24
- devices?: any[] | undefined;
25
- label?: string[] | undefined;
26
- limit?: number | undefined;
27
- q?: string | undefined;
28
- timeFrom?: number | undefined;
29
- timeTo?: number | undefined;
30
- similarTo?: string | undefined;
31
- subLabel?: string[] | undefined;
32
- sortBy?: "time_asc" | "time_desc" | "relevance" | undefined;
33
- }>;
12
+ sortBy: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"time_asc">, z.ZodLiteral<"time_desc">, z.ZodLiteral<"relevance">]>>;
13
+ }, z.core.$strip>;
34
14
  export declare const sMediaSearchMatch: z.ZodObject<{
35
15
  relevance: z.ZodNumber;
36
16
  providerAssignedRef: z.ZodString;
@@ -41,27 +21,7 @@ export declare const sMediaSearchMatch: z.ZodObject<{
41
21
  subLabel: z.ZodString;
42
22
  startTime: z.ZodNumber;
43
23
  endTime: z.ZodNullable<z.ZodNumber>;
44
- }, "strip", z.ZodTypeAny, {
45
- foreignRef: string;
46
- provider: string;
47
- objectKind: string;
48
- probability: number;
49
- startTime: number;
50
- endTime: number | null;
51
- providerAssignedRef: string;
52
- relevance: number;
53
- subLabel: string;
54
- }, {
55
- foreignRef: string;
56
- provider: string;
57
- objectKind: string;
58
- probability: number;
59
- startTime: number;
60
- endTime: number | null;
61
- providerAssignedRef: string;
62
- relevance: number;
63
- subLabel: string;
64
- }>;
24
+ }, z.core.$strip>;
65
25
  export declare const sMediaSearchResponse: z.ZodArray<z.ZodObject<{
66
26
  relevance: z.ZodNumber;
67
27
  providerAssignedRef: z.ZodString;
@@ -72,48 +32,18 @@ export declare const sMediaSearchResponse: z.ZodArray<z.ZodObject<{
72
32
  subLabel: z.ZodString;
73
33
  startTime: z.ZodNumber;
74
34
  endTime: z.ZodNullable<z.ZodNumber>;
75
- }, "strip", z.ZodTypeAny, {
76
- foreignRef: string;
77
- provider: string;
78
- objectKind: string;
79
- probability: number;
80
- startTime: number;
81
- endTime: number | null;
82
- providerAssignedRef: string;
83
- relevance: number;
84
- subLabel: string;
85
- }, {
86
- foreignRef: string;
87
- provider: string;
88
- objectKind: string;
89
- probability: number;
90
- startTime: number;
91
- endTime: number | null;
92
- providerAssignedRef: string;
93
- relevance: number;
94
- subLabel: string;
95
- }>, "many">;
35
+ }, z.core.$strip>>;
96
36
  export type MediaSearchArgs = z.infer<typeof sMediaSearchArgs>;
97
37
  export type MediaSearchMatch = z.infer<typeof sMediaSearchMatch>;
98
38
  export type MediaSearchResponse = z.infer<typeof sMediaSearchResponse>;
99
39
  export declare const QUERY_SCENE_PREVIEW_CLIP = "cctv:scene-preview-clip";
100
40
  export declare const sScenePreviewClipArgs: z.ZodObject<{
101
41
  providerAssignedRef: z.ZodString;
102
- }, "strip", z.ZodTypeAny, {
103
- providerAssignedRef: string;
104
- }, {
105
- providerAssignedRef: string;
106
- }>;
42
+ }, z.core.$strip>;
107
43
  export declare const sScenePreviewClipResponse: z.ZodNullable<z.ZodObject<{
108
44
  mimeType: z.ZodString;
109
45
  data: z.ZodString;
110
- }, "strip", z.ZodTypeAny, {
111
- mimeType: string;
112
- data: string;
113
- }, {
114
- mimeType: string;
115
- data: string;
116
- }>>;
46
+ }, z.core.$strip>>;
117
47
  export type ScenePreviewClipArgs = z.infer<typeof sScenePreviewClipArgs>;
118
48
  export type ScenePreviewClipResponse = z.infer<typeof sScenePreviewClipResponse>;
119
49
  export declare const QUERY_OBJECT_SNAPSHOT = "cctv:object-snapshot";
@@ -123,320 +53,152 @@ export declare const sObjectSnapshotArgs: z.ZodObject<{
123
53
  quality: z.ZodOptional<z.ZodNumber>;
124
54
  crop: z.ZodBoolean;
125
55
  boxes: z.ZodBoolean;
126
- }, "strip", z.ZodTypeAny, {
127
- providerAssignedRef: string;
128
- crop: boolean;
129
- boxes: boolean;
130
- height?: number | undefined;
131
- quality?: number | undefined;
132
- }, {
133
- providerAssignedRef: string;
134
- crop: boolean;
135
- boxes: boolean;
136
- height?: number | undefined;
137
- quality?: number | undefined;
138
- }>;
56
+ }, z.core.$strip>;
139
57
  export declare const sObjectSnapshotResponse: z.ZodNullable<z.ZodObject<{
140
58
  mimeType: z.ZodString;
141
59
  data: z.ZodString;
142
- }, "strip", z.ZodTypeAny, {
143
- mimeType: string;
144
- data: string;
145
- }, {
146
- mimeType: string;
147
- data: string;
148
- }>>;
60
+ }, z.core.$strip>>;
149
61
  export type ObjectSnapshotArgs = z.infer<typeof sObjectSnapshotArgs>;
150
62
  export type ObjectSnapshotResponse = z.infer<typeof sObjectSnapshotResponse>;
151
63
  export declare const QUERY_OBJECT_THUMBNAIL = "cctv:object-thumbnail";
152
64
  export declare const sObjectThumbnailArgs: z.ZodObject<{
153
65
  providerAssignedRef: z.ZodString;
154
- }, "strip", z.ZodTypeAny, {
155
- providerAssignedRef: string;
156
- }, {
157
- providerAssignedRef: string;
158
- }>;
66
+ }, z.core.$strip>;
159
67
  export declare const sObjectThumbnailResponse: z.ZodNullable<z.ZodObject<{
160
68
  mimeType: z.ZodString;
161
69
  data: z.ZodString;
162
- }, "strip", z.ZodTypeAny, {
163
- mimeType: string;
164
- data: string;
165
- }, {
166
- mimeType: string;
167
- data: string;
168
- }>>;
70
+ }, z.core.$strip>>;
169
71
  export type ObjectThumbnailArgs = z.infer<typeof sObjectThumbnailArgs>;
170
72
  export type ObjectThumbnailResponse = z.infer<typeof sObjectThumbnailResponse>;
171
73
  export declare const QUERY_OBJECT_LABELS = "cctv:object-labels";
172
- export declare const sObjectLabelsArgs: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
74
+ export declare const sObjectLabelsArgs: z.ZodObject<{}, z.core.$strip>;
173
75
  export type ObjectLabelsArgs = z.infer<typeof sObjectLabelsArgs>;
174
- export declare const sObjectLabelResponse: z.ZodArray<z.ZodString, "many">;
76
+ export declare const sObjectLabelResponse: z.ZodArray<z.ZodString>;
175
77
  export type ObjectLabelsResponse = z.infer<typeof sObjectLabelResponse>;
176
78
  export declare const QUERY_MEDIA_FACES = "cctv:media-faces";
177
- export declare const sMediaFacesArgs: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
79
+ export declare const sMediaFacesArgs: z.ZodObject<{}, z.core.$strip>;
178
80
  export type MediaFacesArgs = z.infer<typeof sMediaFacesArgs>;
179
- export declare const sMediaFacesResponse: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>;
81
+ export declare const sMediaFacesResponse: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>;
180
82
  export type MediaFacesResponse = z.infer<typeof sMediaFacesResponse>;
181
83
  export declare const QUERY_MEDIA_FACE_PEOPLE = "cctv:media-face-people";
182
- export declare const sMediaFacePeopleArgs: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
84
+ export declare const sMediaFacePeopleArgs: z.ZodObject<{}, z.core.$strip>;
183
85
  export type MediaFacePeopleArgs = z.infer<typeof sMediaFacePeopleArgs>;
184
- export declare const sMediaFacePeopleResponse: z.ZodArray<z.ZodString, "many">;
86
+ export declare const sMediaFacePeopleResponse: z.ZodArray<z.ZodString>;
185
87
  export type MediaFacePeopleResponse = z.infer<typeof sMediaFacePeopleResponse>;
186
88
  export declare const QUERY_MEDIA_FACE_PERSON_CREATE = "cctv:media-face-person-create";
187
89
  export declare const sMediaFacePersonCreateArgs: z.ZodObject<{
188
90
  id: z.ZodString;
189
- }, "strip", z.ZodTypeAny, {
190
- id: string;
191
- }, {
192
- id: string;
193
- }>;
91
+ }, z.core.$strip>;
194
92
  export type MediaFacePersonCreateArgs = z.infer<typeof sMediaFacePersonCreateArgs>;
195
93
  export declare const sMediaFacePersonCreateResponse: z.ZodObject<{
196
94
  success: z.ZodBoolean;
197
95
  message: z.ZodString;
198
- }, "strip", z.ZodTypeAny, {
199
- message: string;
200
- success: boolean;
201
- }, {
202
- message: string;
203
- success: boolean;
204
- }>;
96
+ }, z.core.$strip>;
205
97
  export type MediaFacePersonCreateResponse = z.infer<typeof sMediaFacePersonCreateResponse>;
206
98
  export declare const QUERY_MEDIA_FACE_PERSON_DELETE = "cctv:media-face-person-delete";
207
99
  export declare const sMediaFacePersonDeleteArgs: z.ZodObject<{
208
100
  id: z.ZodString;
209
- }, "strip", z.ZodTypeAny, {
210
- id: string;
211
- }, {
212
- id: string;
213
- }>;
101
+ }, z.core.$strip>;
214
102
  export type MediaFacePersonDeleteArgs = z.infer<typeof sMediaFacePersonDeleteArgs>;
215
103
  export declare const sMediaFacePersonDeleteResponse: z.ZodObject<{
216
104
  success: z.ZodBoolean;
217
105
  message: z.ZodString;
218
- }, "strip", z.ZodTypeAny, {
219
- message: string;
220
- success: boolean;
221
- }, {
222
- message: string;
223
- success: boolean;
224
- }>;
106
+ }, z.core.$strip>;
225
107
  export type MediaFacePersonDeleteResponse = z.infer<typeof sMediaFacePersonDeleteResponse>;
226
108
  export declare const QUERY_MEDIA_FACE_PERSON_ADD = "cctv:media-face-person-add";
227
109
  export declare const sMediaFacePersonAddArgs: z.ZodObject<{
228
110
  id: z.ZodString;
229
111
  image: z.ZodString;
230
- }, "strip", z.ZodTypeAny, {
231
- id: string;
232
- image: string;
233
- }, {
234
- id: string;
235
- image: string;
236
- }>;
112
+ }, z.core.$strip>;
237
113
  export type MediaFacePersonAddArgs = z.infer<typeof sMediaFacePersonAddArgs>;
238
114
  export declare const sMediaFacePersonAddResponse: z.ZodObject<{
239
115
  success: z.ZodBoolean;
240
116
  message: z.ZodString;
241
- }, "strip", z.ZodTypeAny, {
242
- message: string;
243
- success: boolean;
244
- }, {
245
- message: string;
246
- success: boolean;
247
- }>;
117
+ }, z.core.$strip>;
248
118
  export type MediaFacePersonAddResponse = z.infer<typeof sMediaFacePersonAddResponse>;
249
119
  export declare const QUERY_MEDIA_FACE_PERSON_REMOVE = "cctv:media-face-person-remove";
250
120
  export declare const sMediaFacePersonRemoveArgs: z.ZodObject<{
251
121
  id: z.ZodString;
252
122
  image: z.ZodString;
253
- }, "strip", z.ZodTypeAny, {
254
- id: string;
255
- image: string;
256
- }, {
257
- id: string;
258
- image: string;
259
- }>;
123
+ }, z.core.$strip>;
260
124
  export type MediaFacePersonRemoveArgs = z.infer<typeof sMediaFacePersonRemoveArgs>;
261
125
  export declare const sMediaFacePersonRemoveResponse: z.ZodObject<{
262
126
  success: z.ZodBoolean;
263
127
  message: z.ZodString;
264
- }, "strip", z.ZodTypeAny, {
265
- message: string;
266
- success: boolean;
267
- }, {
268
- message: string;
269
- success: boolean;
270
- }>;
128
+ }, z.core.$strip>;
271
129
  export type MediaFacePersonRemoveResponse = z.infer<typeof sMediaFacePersonRemoveResponse>;
272
130
  export declare const QUERY_MEDIA_FACE_IMAGE = "cctv:media-face-image";
273
131
  export declare const sMediaFaceImageArgs: z.ZodObject<{
274
132
  id: z.ZodString;
275
133
  imageId: z.ZodString;
276
- }, "strip", z.ZodTypeAny, {
277
- id: string;
278
- imageId: string;
279
- }, {
280
- id: string;
281
- imageId: string;
282
- }>;
134
+ }, z.core.$strip>;
283
135
  export type MediaFaceImageArgs = z.infer<typeof sMediaFaceImageArgs>;
284
136
  export declare const sMediaFaceImageResponse: z.ZodNullable<z.ZodObject<{
285
137
  mimeType: z.ZodString;
286
138
  data: z.ZodString;
287
- }, "strip", z.ZodTypeAny, {
288
- mimeType: string;
289
- data: string;
290
- }, {
291
- mimeType: string;
292
- data: string;
293
- }>>;
139
+ }, z.core.$strip>>;
294
140
  export type MediaFaceImageResponse = z.infer<typeof sMediaFaceImageResponse>;
295
141
  export declare const QUERY_MEDIA_FACE_TRAIN = "cctv:media-face-train";
296
142
  export declare const sMediaFaceTrainArgs: z.ZodObject<{
297
143
  id: z.ZodString;
298
144
  imageId: z.ZodString;
299
- }, "strip", z.ZodTypeAny, {
300
- id: string;
301
- imageId: string;
302
- }, {
303
- id: string;
304
- imageId: string;
305
- }>;
145
+ }, z.core.$strip>;
306
146
  export type MediaFaceTrainArgs = z.infer<typeof sMediaFaceTrainArgs>;
307
147
  export declare const sMediaFaceTrainResponse: z.ZodObject<{
308
148
  success: z.ZodBoolean;
309
149
  message: z.ZodString;
310
- }, "strip", z.ZodTypeAny, {
311
- message: string;
312
- success: boolean;
313
- }, {
314
- message: string;
315
- success: boolean;
316
- }>;
150
+ }, z.core.$strip>;
317
151
  export type MediaFaceTrainResponse = z.infer<typeof sMediaFaceTrainResponse>;
318
152
  export declare const nvrAnalyticsRequestSchemas: {
319
153
  readonly "cctv:media-search": z.ZodObject<{
320
- devices: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodAny, "many">>>;
154
+ devices: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodAny>>>;
321
155
  limit: z.ZodOptional<z.ZodNumber>;
322
156
  q: z.ZodOptional<z.ZodString>;
323
157
  similarTo: z.ZodOptional<z.ZodOptional<z.ZodString>>;
324
- label: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
325
- subLabel: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
158
+ label: z.ZodOptional<z.ZodArray<z.ZodString>>;
159
+ subLabel: z.ZodOptional<z.ZodArray<z.ZodString>>;
326
160
  timeFrom: z.ZodOptional<z.ZodNumber>;
327
161
  timeTo: z.ZodOptional<z.ZodNumber>;
328
- sortBy: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"time_asc">, z.ZodLiteral<"time_desc">, z.ZodLiteral<"relevance">]>>;
329
- }, "strip", z.ZodTypeAny, {
330
- devices?: any[] | undefined;
331
- label?: string[] | undefined;
332
- limit?: number | undefined;
333
- q?: string | undefined;
334
- timeFrom?: number | undefined;
335
- timeTo?: number | undefined;
336
- similarTo?: string | undefined;
337
- subLabel?: string[] | undefined;
338
- sortBy?: "time_asc" | "time_desc" | "relevance" | undefined;
339
- }, {
340
- devices?: any[] | undefined;
341
- label?: string[] | undefined;
342
- limit?: number | undefined;
343
- q?: string | undefined;
344
- timeFrom?: number | undefined;
345
- timeTo?: number | undefined;
346
- similarTo?: string | undefined;
347
- subLabel?: string[] | undefined;
348
- sortBy?: "time_asc" | "time_desc" | "relevance" | undefined;
349
- }>;
162
+ sortBy: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"time_asc">, z.ZodLiteral<"time_desc">, z.ZodLiteral<"relevance">]>>;
163
+ }, z.core.$strip>;
350
164
  readonly "cctv:scene-preview-clip": z.ZodObject<{
351
165
  providerAssignedRef: z.ZodString;
352
- }, "strip", z.ZodTypeAny, {
353
- providerAssignedRef: string;
354
- }, {
355
- providerAssignedRef: string;
356
- }>;
166
+ }, z.core.$strip>;
357
167
  readonly "cctv:object-snapshot": z.ZodObject<{
358
168
  providerAssignedRef: z.ZodString;
359
169
  height: z.ZodOptional<z.ZodNumber>;
360
170
  quality: z.ZodOptional<z.ZodNumber>;
361
171
  crop: z.ZodBoolean;
362
172
  boxes: z.ZodBoolean;
363
- }, "strip", z.ZodTypeAny, {
364
- providerAssignedRef: string;
365
- crop: boolean;
366
- boxes: boolean;
367
- height?: number | undefined;
368
- quality?: number | undefined;
369
- }, {
370
- providerAssignedRef: string;
371
- crop: boolean;
372
- boxes: boolean;
373
- height?: number | undefined;
374
- quality?: number | undefined;
375
- }>;
173
+ }, z.core.$strip>;
376
174
  readonly "cctv:object-thumbnail": z.ZodObject<{
377
175
  providerAssignedRef: z.ZodString;
378
- }, "strip", z.ZodTypeAny, {
379
- providerAssignedRef: string;
380
- }, {
381
- providerAssignedRef: string;
382
- }>;
383
- readonly "cctv:object-labels": z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
384
- readonly "cctv:media-faces": z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
385
- readonly "cctv:media-face-people": z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
176
+ }, z.core.$strip>;
177
+ readonly "cctv:object-labels": z.ZodObject<{}, z.core.$strip>;
178
+ readonly "cctv:media-faces": z.ZodObject<{}, z.core.$strip>;
179
+ readonly "cctv:media-face-people": z.ZodObject<{}, z.core.$strip>;
386
180
  readonly "cctv:media-face-person-create": z.ZodObject<{
387
181
  id: z.ZodString;
388
- }, "strip", z.ZodTypeAny, {
389
- id: string;
390
- }, {
391
- id: string;
392
- }>;
182
+ }, z.core.$strip>;
393
183
  readonly "cctv:media-face-person-delete": z.ZodObject<{
394
184
  id: z.ZodString;
395
- }, "strip", z.ZodTypeAny, {
396
- id: string;
397
- }, {
398
- id: string;
399
- }>;
185
+ }, z.core.$strip>;
400
186
  readonly "cctv:media-face-person-add": z.ZodObject<{
401
187
  id: z.ZodString;
402
188
  image: z.ZodString;
403
- }, "strip", z.ZodTypeAny, {
404
- id: string;
405
- image: string;
406
- }, {
407
- id: string;
408
- image: string;
409
- }>;
189
+ }, z.core.$strip>;
410
190
  readonly "cctv:media-face-person-remove": z.ZodObject<{
411
191
  id: z.ZodString;
412
192
  image: z.ZodString;
413
- }, "strip", z.ZodTypeAny, {
414
- id: string;
415
- image: string;
416
- }, {
417
- id: string;
418
- image: string;
419
- }>;
193
+ }, z.core.$strip>;
420
194
  readonly "cctv:media-face-image": z.ZodObject<{
421
195
  id: z.ZodString;
422
196
  imageId: z.ZodString;
423
- }, "strip", z.ZodTypeAny, {
424
- id: string;
425
- imageId: string;
426
- }, {
427
- id: string;
428
- imageId: string;
429
- }>;
197
+ }, z.core.$strip>;
430
198
  readonly "cctv:media-face-train": z.ZodObject<{
431
199
  id: z.ZodString;
432
200
  imageId: z.ZodString;
433
- }, "strip", z.ZodTypeAny, {
434
- id: string;
435
- imageId: string;
436
- }, {
437
- id: string;
438
- imageId: string;
439
- }>;
201
+ }, z.core.$strip>;
440
202
  };
441
203
  export declare const nvrAnalyticsResponseSchemas: {
442
204
  readonly "cctv:media-search": z.ZodArray<z.ZodObject<{
@@ -449,120 +211,46 @@ export declare const nvrAnalyticsResponseSchemas: {
449
211
  subLabel: z.ZodString;
450
212
  startTime: z.ZodNumber;
451
213
  endTime: z.ZodNullable<z.ZodNumber>;
452
- }, "strip", z.ZodTypeAny, {
453
- foreignRef: string;
454
- provider: string;
455
- objectKind: string;
456
- probability: number;
457
- startTime: number;
458
- endTime: number | null;
459
- providerAssignedRef: string;
460
- relevance: number;
461
- subLabel: string;
462
- }, {
463
- foreignRef: string;
464
- provider: string;
465
- objectKind: string;
466
- probability: number;
467
- startTime: number;
468
- endTime: number | null;
469
- providerAssignedRef: string;
470
- relevance: number;
471
- subLabel: string;
472
- }>, "many">;
214
+ }, z.core.$strip>>;
473
215
  readonly "cctv:scene-preview-clip": z.ZodNullable<z.ZodObject<{
474
216
  mimeType: z.ZodString;
475
217
  data: z.ZodString;
476
- }, "strip", z.ZodTypeAny, {
477
- mimeType: string;
478
- data: string;
479
- }, {
480
- mimeType: string;
481
- data: string;
482
- }>>;
218
+ }, z.core.$strip>>;
483
219
  readonly "cctv:object-snapshot": z.ZodNullable<z.ZodObject<{
484
220
  mimeType: z.ZodString;
485
221
  data: z.ZodString;
486
- }, "strip", z.ZodTypeAny, {
487
- mimeType: string;
488
- data: string;
489
- }, {
490
- mimeType: string;
491
- data: string;
492
- }>>;
222
+ }, z.core.$strip>>;
493
223
  readonly "cctv:object-thumbnail": z.ZodNullable<z.ZodObject<{
494
224
  mimeType: z.ZodString;
495
225
  data: z.ZodString;
496
- }, "strip", z.ZodTypeAny, {
497
- mimeType: string;
498
- data: string;
499
- }, {
500
- mimeType: string;
501
- data: string;
502
- }>>;
503
- readonly "cctv:object-labels": z.ZodArray<z.ZodString, "many">;
504
- readonly "cctv:media-faces": z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>;
505
- readonly "cctv:media-face-people": z.ZodArray<z.ZodString, "many">;
226
+ }, z.core.$strip>>;
227
+ readonly "cctv:object-labels": z.ZodArray<z.ZodString>;
228
+ readonly "cctv:media-faces": z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>;
229
+ readonly "cctv:media-face-people": z.ZodArray<z.ZodString>;
506
230
  readonly "cctv:media-face-person-create": z.ZodObject<{
507
231
  success: z.ZodBoolean;
508
232
  message: z.ZodString;
509
- }, "strip", z.ZodTypeAny, {
510
- message: string;
511
- success: boolean;
512
- }, {
513
- message: string;
514
- success: boolean;
515
- }>;
233
+ }, z.core.$strip>;
516
234
  readonly "cctv:media-face-person-delete": z.ZodObject<{
517
235
  success: z.ZodBoolean;
518
236
  message: z.ZodString;
519
- }, "strip", z.ZodTypeAny, {
520
- message: string;
521
- success: boolean;
522
- }, {
523
- message: string;
524
- success: boolean;
525
- }>;
237
+ }, z.core.$strip>;
526
238
  readonly "cctv:media-face-person-add": z.ZodObject<{
527
239
  success: z.ZodBoolean;
528
240
  message: z.ZodString;
529
- }, "strip", z.ZodTypeAny, {
530
- message: string;
531
- success: boolean;
532
- }, {
533
- message: string;
534
- success: boolean;
535
- }>;
241
+ }, z.core.$strip>;
536
242
  readonly "cctv:media-face-person-remove": z.ZodObject<{
537
243
  success: z.ZodBoolean;
538
244
  message: z.ZodString;
539
- }, "strip", z.ZodTypeAny, {
540
- message: string;
541
- success: boolean;
542
- }, {
543
- message: string;
544
- success: boolean;
545
- }>;
245
+ }, z.core.$strip>;
546
246
  readonly "cctv:media-face-image": z.ZodNullable<z.ZodObject<{
547
247
  mimeType: z.ZodString;
548
248
  data: z.ZodString;
549
- }, "strip", z.ZodTypeAny, {
550
- mimeType: string;
551
- data: string;
552
- }, {
553
- mimeType: string;
554
- data: string;
555
- }>>;
249
+ }, z.core.$strip>>;
556
250
  readonly "cctv:media-face-train": z.ZodObject<{
557
251
  success: z.ZodBoolean;
558
252
  message: z.ZodString;
559
- }, "strip", z.ZodTypeAny, {
560
- message: string;
561
- success: boolean;
562
- }, {
563
- message: string;
564
- success: boolean;
565
- }>;
253
+ }, z.core.$strip>;
566
254
  };
567
255
  export type NvrAnalyticsQueryRequestMap = {
568
256
  [QUERY_MEDIA_SEARCH]: MediaSearchArgs;