@awarevue/api-types 2.0.113 → 2.0.114

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.
@@ -281,19 +281,23 @@ export declare const commandSchemas: {
281
281
  motionDetection: import("zod").ZodOptional<import("zod").ZodObject<{
282
282
  threshold: import("zod").ZodOptional<import("zod").ZodNumber>;
283
283
  fps: import("zod").ZodOptional<import("zod").ZodNumber>;
284
+ enabled: import("zod").ZodBoolean;
284
285
  }, import("zod/v4/core").$strip>>;
285
286
  labelDetection: import("zod").ZodOptional<import("zod").ZodObject<{
286
287
  labels: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
287
288
  threshold: import("zod").ZodOptional<import("zod").ZodNumber>;
289
+ enabled: import("zod").ZodBoolean;
288
290
  }, import("zod/v4/core").$strip>>;
289
291
  fps: import("zod").ZodOptional<import("zod").ZodNumber>;
290
292
  }, import("zod/v4/core").$strip>>;
291
293
  faceRecognition: import("zod").ZodOptional<import("zod").ZodObject<{
292
294
  threshold: import("zod").ZodOptional<import("zod").ZodNumber>;
293
295
  fps: import("zod").ZodOptional<import("zod").ZodNumber>;
296
+ enabled: import("zod").ZodBoolean;
294
297
  }, import("zod/v4/core").$strip>>;
295
298
  semanticSearch: import("zod").ZodOptional<import("zod").ZodObject<{
296
299
  fps: import("zod").ZodOptional<import("zod").ZodNumber>;
300
+ enabled: import("zod").ZodBoolean;
297
301
  }, import("zod/v4/core").$strip>>;
298
302
  }, import("zod/v4/core").$strip>;
299
303
  }, import("zod/v4/core").$strip>;
@@ -124,19 +124,23 @@ export declare const sSetStreamAnalyticsCommand: z.ZodObject<{
124
124
  motionDetection: z.ZodOptional<z.ZodObject<{
125
125
  threshold: z.ZodOptional<z.ZodNumber>;
126
126
  fps: z.ZodOptional<z.ZodNumber>;
127
+ enabled: z.ZodBoolean;
127
128
  }, z.core.$strip>>;
128
129
  labelDetection: z.ZodOptional<z.ZodObject<{
129
130
  labels: z.ZodRecord<z.ZodString, z.ZodObject<{
130
131
  threshold: z.ZodOptional<z.ZodNumber>;
132
+ enabled: z.ZodBoolean;
131
133
  }, z.core.$strip>>;
132
134
  fps: z.ZodOptional<z.ZodNumber>;
133
135
  }, z.core.$strip>>;
134
136
  faceRecognition: z.ZodOptional<z.ZodObject<{
135
137
  threshold: z.ZodOptional<z.ZodNumber>;
136
138
  fps: z.ZodOptional<z.ZodNumber>;
139
+ enabled: z.ZodBoolean;
137
140
  }, z.core.$strip>>;
138
141
  semanticSearch: z.ZodOptional<z.ZodObject<{
139
142
  fps: z.ZodOptional<z.ZodNumber>;
143
+ enabled: z.ZodBoolean;
140
144
  }, z.core.$strip>>;
141
145
  }, z.core.$strip>;
142
146
  }, z.core.$strip>;
@@ -268,19 +272,23 @@ export declare const nvrAnalyticsServerCommandSchemas: {
268
272
  motionDetection: z.ZodOptional<z.ZodObject<{
269
273
  threshold: z.ZodOptional<z.ZodNumber>;
270
274
  fps: z.ZodOptional<z.ZodNumber>;
275
+ enabled: z.ZodBoolean;
271
276
  }, z.core.$strip>>;
272
277
  labelDetection: z.ZodOptional<z.ZodObject<{
273
278
  labels: z.ZodRecord<z.ZodString, z.ZodObject<{
274
279
  threshold: z.ZodOptional<z.ZodNumber>;
280
+ enabled: z.ZodBoolean;
275
281
  }, z.core.$strip>>;
276
282
  fps: z.ZodOptional<z.ZodNumber>;
277
283
  }, z.core.$strip>>;
278
284
  faceRecognition: z.ZodOptional<z.ZodObject<{
279
285
  threshold: z.ZodOptional<z.ZodNumber>;
280
286
  fps: z.ZodOptional<z.ZodNumber>;
287
+ enabled: z.ZodBoolean;
281
288
  }, z.core.$strip>>;
282
289
  semanticSearch: z.ZodOptional<z.ZodObject<{
283
290
  fps: z.ZodOptional<z.ZodNumber>;
291
+ enabled: z.ZodBoolean;
284
292
  }, z.core.$strip>>;
285
293
  }, z.core.$strip>;
286
294
  }, z.core.$strip>;
@@ -47,19 +47,23 @@ export declare const sBindStreamAnalyticsRq: z.ZodObject<{
47
47
  motionDetection: z.ZodOptional<z.ZodObject<{
48
48
  threshold: z.ZodOptional<z.ZodNumber>;
49
49
  fps: z.ZodOptional<z.ZodNumber>;
50
+ enabled: z.ZodBoolean;
50
51
  }, z.core.$strip>>;
51
52
  labelDetection: z.ZodOptional<z.ZodObject<{
52
53
  labels: z.ZodRecord<z.ZodString, z.ZodObject<{
53
54
  threshold: z.ZodOptional<z.ZodNumber>;
55
+ enabled: z.ZodBoolean;
54
56
  }, z.core.$strip>>;
55
57
  fps: z.ZodOptional<z.ZodNumber>;
56
58
  }, z.core.$strip>>;
57
59
  faceRecognition: z.ZodOptional<z.ZodObject<{
58
60
  threshold: z.ZodOptional<z.ZodNumber>;
59
61
  fps: z.ZodOptional<z.ZodNumber>;
62
+ enabled: z.ZodBoolean;
60
63
  }, z.core.$strip>>;
61
64
  semanticSearch: z.ZodOptional<z.ZodObject<{
62
65
  fps: z.ZodOptional<z.ZodNumber>;
66
+ enabled: z.ZodBoolean;
63
67
  }, z.core.$strip>>;
64
68
  }, z.core.$strip>;
65
69
  export declare const sBindStreamAnalyticsRs: z.ZodObject<{}, z.core.$strip>;
@@ -67,15 +67,18 @@ export type CameraSpecs = z.infer<typeof sCameraSpecs>;
67
67
  export declare const sMotionDetectionConfiguration: z.ZodObject<{
68
68
  threshold: z.ZodOptional<z.ZodNumber>;
69
69
  fps: z.ZodOptional<z.ZodNumber>;
70
+ enabled: z.ZodBoolean;
70
71
  }, z.core.$strip>;
71
72
  export type MotionDetectionConfiguration = z.infer<typeof sMotionDetectionConfiguration>;
72
73
  export declare const sAiLabelConfiguration: z.ZodObject<{
73
74
  threshold: z.ZodOptional<z.ZodNumber>;
75
+ enabled: z.ZodBoolean;
74
76
  }, z.core.$strip>;
75
77
  export type AiLabelConfiguration = z.infer<typeof sAiLabelConfiguration>;
76
78
  export declare const sAiDetectionConfiguration: z.ZodObject<{
77
79
  labels: z.ZodRecord<z.ZodString, z.ZodObject<{
78
80
  threshold: z.ZodOptional<z.ZodNumber>;
81
+ enabled: z.ZodBoolean;
79
82
  }, z.core.$strip>>;
80
83
  fps: z.ZodOptional<z.ZodNumber>;
81
84
  }, z.core.$strip>;
@@ -83,29 +86,35 @@ export type AiDetectionConfiguration = z.infer<typeof sAiDetectionConfiguration>
83
86
  export declare const sAiFaceRecognitionConfiguration: z.ZodObject<{
84
87
  threshold: z.ZodOptional<z.ZodNumber>;
85
88
  fps: z.ZodOptional<z.ZodNumber>;
89
+ enabled: z.ZodBoolean;
86
90
  }, z.core.$strip>;
87
91
  export type AiFaceRecognitionConfiguration = z.infer<typeof sAiFaceRecognitionConfiguration>;
88
92
  export declare const sAiSemanticSearchConfiguration: z.ZodObject<{
89
93
  fps: z.ZodOptional<z.ZodNumber>;
94
+ enabled: z.ZodBoolean;
90
95
  }, z.core.$strip>;
91
96
  export type AiSemanticSearchConfiguration = z.infer<typeof sAiSemanticSearchConfiguration>;
92
97
  export declare const sAiStreamConfiguration: z.ZodObject<{
93
98
  motionDetection: z.ZodOptional<z.ZodObject<{
94
99
  threshold: z.ZodOptional<z.ZodNumber>;
95
100
  fps: z.ZodOptional<z.ZodNumber>;
101
+ enabled: z.ZodBoolean;
96
102
  }, z.core.$strip>>;
97
103
  labelDetection: z.ZodOptional<z.ZodObject<{
98
104
  labels: z.ZodRecord<z.ZodString, z.ZodObject<{
99
105
  threshold: z.ZodOptional<z.ZodNumber>;
106
+ enabled: z.ZodBoolean;
100
107
  }, z.core.$strip>>;
101
108
  fps: z.ZodOptional<z.ZodNumber>;
102
109
  }, z.core.$strip>>;
103
110
  faceRecognition: z.ZodOptional<z.ZodObject<{
104
111
  threshold: z.ZodOptional<z.ZodNumber>;
105
112
  fps: z.ZodOptional<z.ZodNumber>;
113
+ enabled: z.ZodBoolean;
106
114
  }, z.core.$strip>>;
107
115
  semanticSearch: z.ZodOptional<z.ZodObject<{
108
116
  fps: z.ZodOptional<z.ZodNumber>;
117
+ enabled: z.ZodBoolean;
109
118
  }, z.core.$strip>>;
110
119
  }, z.core.$strip>;
111
120
  export declare const sAiCapability: z.ZodEnum<{
@@ -121,19 +130,23 @@ export declare const sAnalyticsConfigData: z.ZodObject<{
121
130
  motionDetection: z.ZodOptional<z.ZodObject<{
122
131
  threshold: z.ZodOptional<z.ZodNumber>;
123
132
  fps: z.ZodOptional<z.ZodNumber>;
133
+ enabled: z.ZodBoolean;
124
134
  }, z.core.$strip>>;
125
135
  labelDetection: z.ZodOptional<z.ZodObject<{
126
136
  labels: z.ZodRecord<z.ZodString, z.ZodObject<{
127
137
  threshold: z.ZodOptional<z.ZodNumber>;
138
+ enabled: z.ZodBoolean;
128
139
  }, z.core.$strip>>;
129
140
  fps: z.ZodOptional<z.ZodNumber>;
130
141
  }, z.core.$strip>>;
131
142
  faceRecognition: z.ZodOptional<z.ZodObject<{
132
143
  threshold: z.ZodOptional<z.ZodNumber>;
133
144
  fps: z.ZodOptional<z.ZodNumber>;
145
+ enabled: z.ZodBoolean;
134
146
  }, z.core.$strip>>;
135
147
  semanticSearch: z.ZodOptional<z.ZodObject<{
136
148
  fps: z.ZodOptional<z.ZodNumber>;
149
+ enabled: z.ZodBoolean;
137
150
  }, z.core.$strip>>;
138
151
  }, z.core.$strip>>;
139
152
  }, z.core.$strip>;
@@ -148,19 +161,23 @@ export declare const sCameraState: z.ZodObject<{
148
161
  motionDetection: z.ZodOptional<z.ZodObject<{
149
162
  threshold: z.ZodOptional<z.ZodNumber>;
150
163
  fps: z.ZodOptional<z.ZodNumber>;
164
+ enabled: z.ZodBoolean;
151
165
  }, z.core.$strip>>;
152
166
  labelDetection: z.ZodOptional<z.ZodObject<{
153
167
  labels: z.ZodRecord<z.ZodString, z.ZodObject<{
154
168
  threshold: z.ZodOptional<z.ZodNumber>;
169
+ enabled: z.ZodBoolean;
155
170
  }, z.core.$strip>>;
156
171
  fps: z.ZodOptional<z.ZodNumber>;
157
172
  }, z.core.$strip>>;
158
173
  faceRecognition: z.ZodOptional<z.ZodObject<{
159
174
  threshold: z.ZodOptional<z.ZodNumber>;
160
175
  fps: z.ZodOptional<z.ZodNumber>;
176
+ enabled: z.ZodBoolean;
161
177
  }, z.core.$strip>>;
162
178
  semanticSearch: z.ZodOptional<z.ZodObject<{
163
179
  fps: z.ZodOptional<z.ZodNumber>;
180
+ enabled: z.ZodBoolean;
164
181
  }, z.core.$strip>>;
165
182
  }, z.core.$strip>>;
166
183
  }, z.core.$strip>;
@@ -40,10 +40,12 @@ exports.sCameraSpecs = zod_1.z.object({
40
40
  exports.sMotionDetectionConfiguration = zod_1.z.object({
41
41
  threshold: zod_1.z.number().min(0).max(1).optional(),
42
42
  fps: zod_1.z.number().int().positive().optional(),
43
+ enabled: zod_1.z.boolean(),
43
44
  });
44
45
  // --- label detection module ---
45
46
  exports.sAiLabelConfiguration = zod_1.z.object({
46
47
  threshold: zod_1.z.number().min(0).max(1).optional(),
48
+ enabled: zod_1.z.boolean(),
47
49
  });
48
50
  exports.sAiDetectionConfiguration = zod_1.z.object({
49
51
  labels: zod_1.z.record(zod_1.z.string(), exports.sAiLabelConfiguration),
@@ -53,10 +55,12 @@ exports.sAiDetectionConfiguration = zod_1.z.object({
53
55
  exports.sAiFaceRecognitionConfiguration = zod_1.z.object({
54
56
  threshold: zod_1.z.number().min(0).max(1).optional(),
55
57
  fps: zod_1.z.number().int().positive().optional(),
58
+ enabled: zod_1.z.boolean(),
56
59
  });
57
60
  // --- semantic search module ---
58
61
  exports.sAiSemanticSearchConfiguration = zod_1.z.object({
59
62
  fps: zod_1.z.number().int().positive().optional(),
63
+ enabled: zod_1.z.boolean(),
60
64
  });
61
65
  // --- stream configuration ---
62
66
  exports.sAiStreamConfiguration = zod_1.z.object({
package/dist/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "type": "git",
5
5
  "url": "git+https://github.com/Linc-Security-Systems/aware-essentials.git"
6
6
  },
7
- "version": "2.0.113",
7
+ "version": "2.0.114",
8
8
  "description": "Common types between backend, agent(s) and frontend(s)",
9
9
  "main": "dist/index.js",
10
10
  "types": "dist/index.d.ts",
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "type": "git",
5
5
  "url": "git+https://github.com/Linc-Security-Systems/aware-essentials.git"
6
6
  },
7
- "version": "2.0.113",
7
+ "version": "2.0.114",
8
8
  "description": "Common types between backend, agent(s) and frontend(s)",
9
9
  "main": "dist/index.js",
10
10
  "types": "dist/index.d.ts",