@awarevue/api-types 1.0.67 → 1.0.69
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.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.responseSchemasByType = exports.requestSchemasByType = exports.sObjectThumbnailResponse = exports.sObjectSnapshotResponse = exports.sScenePreviewClipResponse = exports.sCameraLatestFrameResponse = exports.sPreviewImageResponse = exports.sRtspDataResponse = exports.sMediaSearchResponse = exports.sMediaSearchMatch = exports.sRecordingsResponse = exports.sObjectThumbnailArgs = exports.sObjectSnapshotArgs = exports.sScenePreviewClipArgs = exports.sCameraLatestFrameArgs = exports.sPreviewImageArgs = exports.sRtspDataArgs = exports.sMediaSearchArgs = exports.sRecordingsByTimeRangeArgs = exports.QUERY_OBJECT_THUMBNAIL = exports.QUERY_OBJECT_SNAPSHOT = exports.QUERY_SCENE_PREVIEW_CLIP = exports.QUERY_CAMERA_LATEST_FRAME = exports.QUERY_PREVIEW_IMAGE = exports.QUERY_RTSP_DATA = exports.QUERY_MEDIA_SEARCH = exports.QUERY_RECORDINGS_BY_TIME_RANGE = void 0;
|
|
4
|
-
const api_1 = require("
|
|
4
|
+
const api_1 = require("../api");
|
|
5
5
|
const zod_1 = require("zod");
|
|
6
6
|
// Query constants
|
|
7
7
|
exports.QUERY_RECORDINGS_BY_TIME_RANGE = 'cctv:recordings-by-time-range';
|
package/dist/automation.d.ts
CHANGED
|
@@ -86,6 +86,7 @@ export declare const sAutomationRuleProps: z.ZodObject<{
|
|
|
86
86
|
exclusivityGroup: z.ZodNullable<z.ZodString>;
|
|
87
87
|
score: z.ZodNullable<z.ZodNumber>;
|
|
88
88
|
module: z.ZodNullable<z.ZodString>;
|
|
89
|
+
metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
89
90
|
}, "strip", z.ZodTypeAny, {
|
|
90
91
|
code: string | null;
|
|
91
92
|
module: string | null;
|
|
@@ -98,6 +99,7 @@ export declare const sAutomationRuleProps: z.ZodObject<{
|
|
|
98
99
|
}[];
|
|
99
100
|
runIf?: string | undefined;
|
|
100
101
|
};
|
|
102
|
+
metadata: Record<string, unknown>;
|
|
101
103
|
displayName: string;
|
|
102
104
|
enabled: boolean;
|
|
103
105
|
exclusivityGroup: string | null;
|
|
@@ -115,6 +117,7 @@ export declare const sAutomationRuleProps: z.ZodObject<{
|
|
|
115
117
|
}[];
|
|
116
118
|
runIf?: string | undefined;
|
|
117
119
|
};
|
|
120
|
+
metadata: Record<string, unknown>;
|
|
118
121
|
displayName: string;
|
|
119
122
|
enabled: boolean;
|
|
120
123
|
exclusivityGroup: string | null;
|
|
@@ -162,6 +165,7 @@ export declare const sAddAutomationRuleRequest: z.ZodObject<{
|
|
|
162
165
|
exclusivityGroup: z.ZodNullable<z.ZodString>;
|
|
163
166
|
score: z.ZodNullable<z.ZodNumber>;
|
|
164
167
|
module: z.ZodNullable<z.ZodString>;
|
|
168
|
+
metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
165
169
|
}, "strip", z.ZodTypeAny, {
|
|
166
170
|
code: string | null;
|
|
167
171
|
module: string | null;
|
|
@@ -174,6 +178,7 @@ export declare const sAddAutomationRuleRequest: z.ZodObject<{
|
|
|
174
178
|
}[];
|
|
175
179
|
runIf?: string | undefined;
|
|
176
180
|
};
|
|
181
|
+
metadata: Record<string, unknown>;
|
|
177
182
|
displayName: string;
|
|
178
183
|
enabled: boolean;
|
|
179
184
|
exclusivityGroup: string | null;
|
|
@@ -191,6 +196,7 @@ export declare const sAddAutomationRuleRequest: z.ZodObject<{
|
|
|
191
196
|
}[];
|
|
192
197
|
runIf?: string | undefined;
|
|
193
198
|
};
|
|
199
|
+
metadata: Record<string, unknown>;
|
|
194
200
|
displayName: string;
|
|
195
201
|
enabled: boolean;
|
|
196
202
|
exclusivityGroup: string | null;
|
|
@@ -238,6 +244,7 @@ export declare const sUpdateAutomationRule: z.ZodObject<{
|
|
|
238
244
|
exclusivityGroup: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
239
245
|
score: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
240
246
|
module: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
247
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
241
248
|
} & {
|
|
242
249
|
id: z.ZodString;
|
|
243
250
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -253,6 +260,7 @@ export declare const sUpdateAutomationRule: z.ZodObject<{
|
|
|
253
260
|
}[];
|
|
254
261
|
runIf?: string | undefined;
|
|
255
262
|
} | undefined;
|
|
263
|
+
metadata?: Record<string, unknown> | undefined;
|
|
256
264
|
description?: string | undefined;
|
|
257
265
|
displayName?: string | undefined;
|
|
258
266
|
enabled?: boolean | undefined;
|
|
@@ -271,6 +279,7 @@ export declare const sUpdateAutomationRule: z.ZodObject<{
|
|
|
271
279
|
}[];
|
|
272
280
|
runIf?: string | undefined;
|
|
273
281
|
} | undefined;
|
|
282
|
+
metadata?: Record<string, unknown> | undefined;
|
|
274
283
|
description?: string | undefined;
|
|
275
284
|
displayName?: string | undefined;
|
|
276
285
|
enabled?: boolean | undefined;
|
|
@@ -318,6 +327,7 @@ export declare const sAutomationRuleDto: z.ZodObject<{
|
|
|
318
327
|
exclusivityGroup: z.ZodNullable<z.ZodString>;
|
|
319
328
|
score: z.ZodNullable<z.ZodNumber>;
|
|
320
329
|
module: z.ZodNullable<z.ZodString>;
|
|
330
|
+
metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
321
331
|
} & {
|
|
322
332
|
id: z.ZodString;
|
|
323
333
|
createdOn: z.ZodString;
|
|
@@ -335,6 +345,7 @@ export declare const sAutomationRuleDto: z.ZodObject<{
|
|
|
335
345
|
}[];
|
|
336
346
|
runIf?: string | undefined;
|
|
337
347
|
};
|
|
348
|
+
metadata: Record<string, unknown>;
|
|
338
349
|
displayName: string;
|
|
339
350
|
enabled: boolean;
|
|
340
351
|
exclusivityGroup: string | null;
|
|
@@ -355,6 +366,7 @@ export declare const sAutomationRuleDto: z.ZodObject<{
|
|
|
355
366
|
}[];
|
|
356
367
|
runIf?: string | undefined;
|
|
357
368
|
};
|
|
369
|
+
metadata: Record<string, unknown>;
|
|
358
370
|
displayName: string;
|
|
359
371
|
enabled: boolean;
|
|
360
372
|
exclusivityGroup: string | null;
|
package/dist/automation.js
CHANGED
|
@@ -43,6 +43,7 @@ exports.sAutomationRuleProps = zod_1.z.object({
|
|
|
43
43
|
.string()
|
|
44
44
|
.nullable()
|
|
45
45
|
.describe('The module the automation rule belongs to'),
|
|
46
|
+
metadata: zod_1.z.record(zod_1.z.unknown()),
|
|
46
47
|
});
|
|
47
48
|
exports.sAddAutomationRuleRequest = exports.sAutomationRuleProps;
|
|
48
49
|
exports.sUpdateAutomationRule = exports.sAutomationRuleProps.partial().merge(zod_1.z.object({
|
package/dist/package.json
CHANGED