@camstack/types 1.2.7 → 1.2.9
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.
- package/dist/addon.js +2 -2
- package/dist/addon.mjs +2 -2
- package/dist/capabilities/capability-definition.d.ts +74 -3
- package/dist/capabilities/custom-actions.d.ts +19 -0
- package/dist/capabilities/day-night.cap.d.ts +8 -8
- package/dist/capabilities/face-gallery.cap.d.ts +12 -0
- package/dist/capabilities/index.d.ts +29 -30
- package/dist/capabilities/notification-rules.cap.d.ts +1601 -0
- package/dist/capabilities/notifier.cap.d.ts +3 -3
- package/dist/capabilities/pipeline-analytics.cap.d.ts +8 -8
- package/dist/capabilities/recording.cap.d.ts +2 -2
- package/dist/capabilities/toast.cap.d.ts +2 -2
- package/dist/catalogs/nc-taxonomy.d.ts +53 -0
- package/dist/enums/event-category.d.ts +0 -3
- package/dist/enums.js +1 -1
- package/dist/enums.mjs +1 -1
- package/dist/{event-category-D4HJq7Mw.mjs → event-category-BLcNejAE.mjs} +0 -3
- package/dist/{event-category-CGj9fI4L.js → event-category-Cdyife4p.js} +0 -3
- package/dist/generated/addon-api.d.ts +1437 -367
- package/dist/generated/capability-router-map.d.ts +4 -4
- package/dist/generated/method-access-map.d.ts +1 -1
- package/dist/generated/system-proxy.d.ts +2 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2154 -1343
- package/dist/index.mjs +2125 -1341
- package/dist/interfaces/addon.d.ts +2 -2
- package/dist/interfaces/capability.d.ts +0 -1
- package/dist/interfaces/event-bus.d.ts +0 -16
- package/dist/interfaces/ops-log.d.ts +2 -2
- package/dist/{sleep-eVjOy4ev.js → sleep-BG8hQTA8.js} +2 -2
- package/dist/{sleep-BQ60XlE9.mjs → sleep-DiOnzenz.mjs} +2 -2
- package/package.json +1 -1
- package/dist/capabilities/advanced-notifier.cap.d.ts +0 -256
- package/dist/interfaces/advanced-notifier.d.ts +0 -73
package/dist/addon.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_sleep = require("./sleep-
|
|
3
|
-
const require_event_category = require("./event-category-
|
|
2
|
+
const require_sleep = require("./sleep-BG8hQTA8.js");
|
|
3
|
+
const require_event_category = require("./event-category-Cdyife4p.js");
|
|
4
4
|
const require_err_msg = require("./err-msg-COpsHMw2.js");
|
|
5
5
|
exports.BaseAddon = require_sleep.BaseAddon;
|
|
6
6
|
exports.DATAPLANE_SECRET_HEADER = require_sleep.DATAPLANE_SECRET_HEADER;
|
package/dist/addon.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as parseJsonUnknown, D as asString, I as scopeKey, M as ReadinessRegistry, N as ReadinessTimeoutError, S as DeviceType, T as asJsonObject, a as viewerUiCapability, bt as DisposerChain, ct as BaseAddon, ft as emitReadiness, i as deviceOpsCapability, j as DATAPLANE_SECRET_HEADER, lt as normalizeAddonInitResult, m as expandCapMethods, o as adminUiCapability, s as createDeviceProxy, t as sleep } from "./sleep-
|
|
2
|
-
import { t as EventCategory } from "./event-category-
|
|
1
|
+
import { A as parseJsonUnknown, D as asString, I as scopeKey, M as ReadinessRegistry, N as ReadinessTimeoutError, S as DeviceType, T as asJsonObject, a as viewerUiCapability, bt as DisposerChain, ct as BaseAddon, ft as emitReadiness, i as deviceOpsCapability, j as DATAPLANE_SECRET_HEADER, lt as normalizeAddonInitResult, m as expandCapMethods, o as adminUiCapability, s as createDeviceProxy, t as sleep } from "./sleep-DiOnzenz.mjs";
|
|
2
|
+
import { t as EventCategory } from "./event-category-BLcNejAE.mjs";
|
|
3
3
|
import { t as errMsg } from "./err-msg-IQTHeDzc.mjs";
|
|
4
4
|
export { BaseAddon, DATAPLANE_SECRET_HEADER, DeviceType, DisposerChain, EventCategory, ReadinessRegistry, ReadinessTimeoutError, adminUiCapability, asJsonObject, asString, createDeviceProxy, deviceOpsCapability, emitReadiness, errMsg, expandCapMethods, normalizeAddonInitResult, parseJsonUnknown, scopeKey, sleep, viewerUiCapability };
|
|
@@ -27,6 +27,31 @@ export type CapabilityMethodKind = 'query' | 'mutation' | 'subscription';
|
|
|
27
27
|
* (the unscoped role) which the middleware lets through unconditionally.
|
|
28
28
|
*/
|
|
29
29
|
export type CapabilityMethodAuth = 'public' | 'protected' | 'admin';
|
|
30
|
+
/**
|
|
31
|
+
* Server-injected caller identity for methods declared with
|
|
32
|
+
* `caller: 'required'` (D-1, notification-center P0).
|
|
33
|
+
*
|
|
34
|
+
* The hub cap-router builder derives this from the AUTHENTICATED tRPC
|
|
35
|
+
* session (`ctx.user`) and injects it into the input object handed to
|
|
36
|
+
* the provider — it is NOT part of the wire Zod schema, and any
|
|
37
|
+
* client-supplied `caller` field is discarded before injection, so the
|
|
38
|
+
* value is spoof-proof by construction. `isAdmin` is the single source
|
|
39
|
+
* of authority for caps (the v2 role collapse).
|
|
40
|
+
*/
|
|
41
|
+
export interface CapCaller {
|
|
42
|
+
readonly userId: string;
|
|
43
|
+
readonly isAdmin: boolean;
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Caller-identity requirement for a capability method.
|
|
47
|
+
* `'required'` — the router injects {@link CapCaller} from the
|
|
48
|
+
* authenticated session and FAILS the call (UNAUTHORIZED) when no
|
|
49
|
+
* authenticated user is on the context. Only valid on query/mutation
|
|
50
|
+
* methods with an OBJECT input schema (the injected field needs an
|
|
51
|
+
* object to live on); the runtime builder rejects other shapes at
|
|
52
|
+
* router-build time.
|
|
53
|
+
*/
|
|
54
|
+
export type CapabilityMethodCaller = 'required';
|
|
30
55
|
/**
|
|
31
56
|
* Optional semantic role used by the admin UI's unified "Integrations"
|
|
32
57
|
* page to group caps by what kind of external system they integrate
|
|
@@ -69,6 +94,19 @@ export interface CapabilityMethodSchema<TInput extends z.ZodType = z.ZodType, TO
|
|
|
69
94
|
* rationale as the status-Partial on native providers.
|
|
70
95
|
*/
|
|
71
96
|
readonly systemOnly?: boolean;
|
|
97
|
+
/**
|
|
98
|
+
* Opt-in caller-identity injection (D-1). When `'required'`, the hub
|
|
99
|
+
* cap-router injects a server-derived {@link CapCaller} into the input
|
|
100
|
+
* object handed to the provider (never trusted from the client) and
|
|
101
|
+
* fails the call with UNAUTHORIZED when the context carries no
|
|
102
|
+
* authenticated user. `InferProvider` / `InferNativeProvider` type the
|
|
103
|
+
* provider's input as `Input & { caller: CapCaller }` for such methods.
|
|
104
|
+
* Declare via `method(in, out, { caller: 'required', ... })` so the
|
|
105
|
+
* static type carries the literal (a plain optional field on a
|
|
106
|
+
* `method()` call without the option would inject at runtime but leave
|
|
107
|
+
* the provider input untyped).
|
|
108
|
+
*/
|
|
109
|
+
readonly caller?: CapabilityMethodCaller;
|
|
72
110
|
}
|
|
73
111
|
/** Schema for a capability event (emitted to EventBus) */
|
|
74
112
|
export interface CapabilityEventSchema<TData extends z.ZodType = z.ZodType> {
|
|
@@ -649,8 +687,21 @@ export interface DeviceStatusContribution<TStatus> {
|
|
|
649
687
|
readonly deviceId: number;
|
|
650
688
|
}) => Promise<TStatus | null>;
|
|
651
689
|
}
|
|
690
|
+
/**
|
|
691
|
+
* Provider-side input for a method: the wire input, plus the
|
|
692
|
+
* server-injected {@link CapCaller} when the method declares
|
|
693
|
+
* `caller: 'required'`. The `caller` field is NOT part of the wire Zod
|
|
694
|
+
* schema — the hub router injects it after validation, so only the
|
|
695
|
+
* PROVIDER type carries it (clients never send it; if they do, the
|
|
696
|
+
* router discards it).
|
|
697
|
+
*/
|
|
698
|
+
type ProviderMethodInput<M, TIn extends z.ZodType> = M extends {
|
|
699
|
+
readonly caller: 'required';
|
|
700
|
+
} ? z.infer<TIn> & {
|
|
701
|
+
readonly caller: CapCaller;
|
|
702
|
+
} : z.infer<TIn>;
|
|
652
703
|
export type InferProvider<T extends CapabilityDefinition> = {
|
|
653
|
-
readonly [K in keyof T['methods']]: T['methods'][K] extends CapabilityMethodSchema<infer TIn, infer TOut> ? T['methods'][K]['kind'] extends 'subscription' ? (input: z.infer<TIn>, push: (value: z.infer<TOut>) => void) => (() => void) | void : (input:
|
|
704
|
+
readonly [K in keyof T['methods']]: T['methods'][K] extends CapabilityMethodSchema<infer TIn, infer TOut> ? T['methods'][K]['kind'] extends 'subscription' ? (input: z.infer<TIn>, push: (value: z.infer<TOut>) => void) => (() => void) | void : (input: ProviderMethodInput<T['methods'][K], TIn>) => Promise<z.infer<TOut>> : never;
|
|
654
705
|
} & (T['exposesDeviceSettings'] extends true ? DeviceSettingsContribution : Record<never, never>) & (T extends {
|
|
655
706
|
status: CapabilityStatusSchema;
|
|
656
707
|
} ? DeviceStatusContribution<InferStatus<T>> : Record<never, never>);
|
|
@@ -667,7 +718,7 @@ export type InferProvider<T extends CapabilityDefinition> = {
|
|
|
667
718
|
* separate stops every device class (RtspCamera, OnvifCamera, …) from
|
|
668
719
|
* having to stub out three unused methods.
|
|
669
720
|
*/
|
|
670
|
-
type NativeMethodFn<M> = M extends CapabilityMethodSchema<infer TIn, infer TOut> ? M['kind'] extends 'subscription' ? (input: z.infer<TIn>, push: (value: z.infer<TOut>) => void) => (() => void) | void : (input:
|
|
721
|
+
type NativeMethodFn<M> = M extends CapabilityMethodSchema<infer TIn, infer TOut> ? M['kind'] extends 'subscription' ? (input: z.infer<TIn>, push: (value: z.infer<TOut>) => void) => (() => void) | void : (input: ProviderMethodInput<M, TIn>) => Promise<z.infer<TOut>> : never;
|
|
671
722
|
export type InferNativeProvider<T extends CapabilityDefinition> = {
|
|
672
723
|
readonly [K in keyof T['methods'] as T['methods'][K] extends {
|
|
673
724
|
systemOnly: true;
|
|
@@ -748,8 +799,28 @@ export interface CapabilityMethodOptions<TKind extends CapabilityMethodKind = Ca
|
|
|
748
799
|
readonly access?: CapabilityMethodAccess;
|
|
749
800
|
/** Moleculer action timeout override (ms). Overrides broker global requestTimeout for this action only. */
|
|
750
801
|
readonly timeoutMs?: number;
|
|
802
|
+
/**
|
|
803
|
+
* Opt-in caller-identity injection (D-1). `'required'` ⇒ the router
|
|
804
|
+
* injects a server-derived {@link CapCaller} into the provider input
|
|
805
|
+
* and rejects unauthenticated calls. See
|
|
806
|
+
* {@link CapabilityMethodSchema.caller}.
|
|
807
|
+
*/
|
|
808
|
+
readonly caller?: CapabilityMethodCaller;
|
|
751
809
|
}
|
|
752
|
-
/**
|
|
810
|
+
/**
|
|
811
|
+
* Shorthand to define a method schema.
|
|
812
|
+
*
|
|
813
|
+
* Overloaded so `{ caller: 'required' }` in the options is carried into
|
|
814
|
+
* the RETURN TYPE as a literal (`& { readonly caller: 'required' }`) —
|
|
815
|
+
* that literal is what `InferProvider` / `InferNativeProvider` key on to
|
|
816
|
+
* add the injected `caller: CapCaller` field to the provider's input
|
|
817
|
+
* type. Same pattern as `systemMethod()`'s `systemOnly: true` literal.
|
|
818
|
+
*/
|
|
819
|
+
export declare function method<TIn extends z.ZodType, TOut extends z.ZodType, TKind extends CapabilityMethodKind = 'query'>(input: TIn, output: TOut, options: CapabilityMethodOptions<TKind> & {
|
|
820
|
+
readonly caller: 'required';
|
|
821
|
+
}): CapabilityMethodSchema<TIn, TOut, TKind> & {
|
|
822
|
+
readonly caller: 'required';
|
|
823
|
+
};
|
|
753
824
|
export declare function method<TIn extends z.ZodType, TOut extends z.ZodType, TKind extends CapabilityMethodKind = 'query'>(input: TIn, output: TOut, options?: CapabilityMethodOptions<TKind>): CapabilityMethodSchema<TIn, TOut, TKind>;
|
|
754
825
|
/**
|
|
755
826
|
* A wrapper/system-only method: served exclusively by the cap's system-level
|
|
@@ -18,12 +18,29 @@ export type CustomActionScope = {
|
|
|
18
18
|
readonly kind: 'device';
|
|
19
19
|
readonly deviceTypes?: readonly DeviceType[];
|
|
20
20
|
};
|
|
21
|
+
/**
|
|
22
|
+
* Authenticated caller forwarded to a `caller:'required'` custom action.
|
|
23
|
+
*
|
|
24
|
+
* The dispatcher derives this server-side from the request principal — an
|
|
25
|
+
* action NEVER reads the caller's identity from its own input. `userId` is
|
|
26
|
+
* the stable user id (`ctx.user.id`); `isAdmin` mirrors the auth flag.
|
|
27
|
+
*/
|
|
28
|
+
export interface CustomActionCaller {
|
|
29
|
+
readonly userId: string;
|
|
30
|
+
readonly isAdmin: boolean;
|
|
31
|
+
}
|
|
21
32
|
export interface CustomActionSpec<TIn extends z.ZodType = z.ZodType, TOut extends z.ZodType = z.ZodType, TKind extends 'query' | 'mutation' | 'subscription' = 'query' | 'mutation' | 'subscription', TAuth extends CapabilityMethodAuth = CapabilityMethodAuth, TScope extends CustomActionScope = CustomActionScope> {
|
|
22
33
|
readonly input: TIn;
|
|
23
34
|
readonly output: TOut;
|
|
24
35
|
readonly kind: TKind;
|
|
25
36
|
readonly auth: TAuth;
|
|
26
37
|
readonly scope: TScope;
|
|
38
|
+
/**
|
|
39
|
+
* When `'required'`, the dispatcher forwards the authenticated caller
|
|
40
|
+
* (server-derived) as the handler's optional second argument. Absent =
|
|
41
|
+
* the handler is invoked with input only (legacy behavior).
|
|
42
|
+
*/
|
|
43
|
+
readonly caller?: 'required';
|
|
27
44
|
}
|
|
28
45
|
export type CustomActionsSpec = Record<string, CustomActionSpec>;
|
|
29
46
|
/**
|
|
@@ -40,6 +57,8 @@ export interface CustomActionOptions<TKind extends 'query' | 'mutation' | 'subsc
|
|
|
40
57
|
readonly kind?: TKind;
|
|
41
58
|
readonly auth?: TAuth;
|
|
42
59
|
readonly scope?: CustomActionScope;
|
|
60
|
+
/** When `'required'`, the dispatcher forwards the authenticated caller. */
|
|
61
|
+
readonly caller?: 'required';
|
|
43
62
|
}
|
|
44
63
|
export declare function customAction<TIn extends z.ZodType, TOut extends z.ZodType, TKind extends 'query' | 'mutation' | 'subscription' = 'query', TAuth extends CapabilityMethodAuth = 'protected'>(input: TIn, output: TOut, options?: CustomActionOptions<TKind, TAuth>): CustomActionSpec<TIn, TOut, TKind, TAuth, {
|
|
45
64
|
readonly kind: 'system';
|
|
@@ -19,9 +19,9 @@ import { DeviceType } from '../device/device-type.js';
|
|
|
19
19
|
/** IR-cut switching mode. `schedule` = time-of-day table configured on the camera. */
|
|
20
20
|
export declare const DayNightModeSchema: z.ZodEnum<{
|
|
21
21
|
auto: "auto";
|
|
22
|
-
schedule: "schedule";
|
|
23
22
|
night: "night";
|
|
24
23
|
day: "day";
|
|
24
|
+
schedule: "schedule";
|
|
25
25
|
}>;
|
|
26
26
|
/**
|
|
27
27
|
* Current day/night state. Optional fields are absent when the camera
|
|
@@ -31,9 +31,9 @@ export declare const DayNightModeSchema: z.ZodEnum<{
|
|
|
31
31
|
export declare const DayNightStatusSchema: z.ZodObject<{
|
|
32
32
|
mode: z.ZodEnum<{
|
|
33
33
|
auto: "auto";
|
|
34
|
-
schedule: "schedule";
|
|
35
34
|
night: "night";
|
|
36
35
|
day: "day";
|
|
36
|
+
schedule: "schedule";
|
|
37
37
|
}>;
|
|
38
38
|
sensitivity: z.ZodOptional<z.ZodNumber>;
|
|
39
39
|
switchDelaySec: z.ZodOptional<z.ZodNumber>;
|
|
@@ -48,9 +48,9 @@ export declare const DayNightStatusSchema: z.ZodObject<{
|
|
|
48
48
|
export declare const DayNightOptionsSchema: z.ZodObject<{
|
|
49
49
|
modes: z.ZodArray<z.ZodEnum<{
|
|
50
50
|
auto: "auto";
|
|
51
|
-
schedule: "schedule";
|
|
52
51
|
night: "night";
|
|
53
52
|
day: "day";
|
|
53
|
+
schedule: "schedule";
|
|
54
54
|
}>>;
|
|
55
55
|
supportsSensitivity: z.ZodBoolean;
|
|
56
56
|
sensitivity: z.ZodOptional<z.ZodObject<{
|
|
@@ -72,9 +72,9 @@ export declare const DayNightOptionsSchema: z.ZodObject<{
|
|
|
72
72
|
export declare const DayNightSettingsPatchSchema: z.ZodObject<{
|
|
73
73
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
74
74
|
auto: "auto";
|
|
75
|
-
schedule: "schedule";
|
|
76
75
|
night: "night";
|
|
77
76
|
day: "day";
|
|
77
|
+
schedule: "schedule";
|
|
78
78
|
}>>;
|
|
79
79
|
sensitivity: z.ZodOptional<z.ZodNumber>;
|
|
80
80
|
switchDelaySec: z.ZodOptional<z.ZodNumber>;
|
|
@@ -102,9 +102,9 @@ export declare const dayNightCapability: {
|
|
|
102
102
|
}, z.core.$strip>, z.ZodObject<{
|
|
103
103
|
modes: z.ZodArray<z.ZodEnum<{
|
|
104
104
|
auto: "auto";
|
|
105
|
-
schedule: "schedule";
|
|
106
105
|
night: "night";
|
|
107
106
|
day: "day";
|
|
107
|
+
schedule: "schedule";
|
|
108
108
|
}>>;
|
|
109
109
|
supportsSensitivity: z.ZodBoolean;
|
|
110
110
|
sensitivity: z.ZodOptional<z.ZodObject<{
|
|
@@ -124,9 +124,9 @@ export declare const dayNightCapability: {
|
|
|
124
124
|
settings: z.ZodObject<{
|
|
125
125
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
126
126
|
auto: "auto";
|
|
127
|
-
schedule: "schedule";
|
|
128
127
|
night: "night";
|
|
129
128
|
day: "day";
|
|
129
|
+
schedule: "schedule";
|
|
130
130
|
}>>;
|
|
131
131
|
sensitivity: z.ZodOptional<z.ZodNumber>;
|
|
132
132
|
switchDelaySec: z.ZodOptional<z.ZodNumber>;
|
|
@@ -137,9 +137,9 @@ export declare const dayNightCapability: {
|
|
|
137
137
|
readonly schema: z.ZodObject<{
|
|
138
138
|
mode: z.ZodEnum<{
|
|
139
139
|
auto: "auto";
|
|
140
|
-
schedule: "schedule";
|
|
141
140
|
night: "night";
|
|
142
141
|
day: "day";
|
|
142
|
+
schedule: "schedule";
|
|
143
143
|
}>;
|
|
144
144
|
sensitivity: z.ZodOptional<z.ZodNumber>;
|
|
145
145
|
switchDelaySec: z.ZodOptional<z.ZodNumber>;
|
|
@@ -150,9 +150,9 @@ export declare const dayNightCapability: {
|
|
|
150
150
|
readonly runtimeState: z.ZodObject<{
|
|
151
151
|
mode: z.ZodEnum<{
|
|
152
152
|
auto: "auto";
|
|
153
|
-
schedule: "schedule";
|
|
154
153
|
night: "night";
|
|
155
154
|
day: "day";
|
|
155
|
+
schedule: "schedule";
|
|
156
156
|
}>;
|
|
157
157
|
sensitivity: z.ZodOptional<z.ZodNumber>;
|
|
158
158
|
switchDelaySec: z.ZodOptional<z.ZodNumber>;
|
|
@@ -35,6 +35,10 @@ declare const FaceInfoSchema: z.ZodObject<{
|
|
|
35
35
|
h: z.ZodNumber;
|
|
36
36
|
}, z.core.$strip>>;
|
|
37
37
|
keyFrameMediaKey: z.ZodOptional<z.ZodString>;
|
|
38
|
+
bestMatchScore: z.ZodOptional<z.ZodNumber>;
|
|
39
|
+
nativeFaceShortSidePx: z.ZodOptional<z.ZodNumber>;
|
|
40
|
+
suggestedIdentityId: z.ZodOptional<z.ZodString>;
|
|
41
|
+
suggestedMatchScore: z.ZodOptional<z.ZodNumber>;
|
|
38
42
|
}, z.core.$strip>;
|
|
39
43
|
export type FaceInfo = z.infer<typeof FaceInfoSchema>;
|
|
40
44
|
export declare const faceGalleryCapability: {
|
|
@@ -104,6 +108,10 @@ export declare const faceGalleryCapability: {
|
|
|
104
108
|
h: z.ZodNumber;
|
|
105
109
|
}, z.core.$strip>>;
|
|
106
110
|
keyFrameMediaKey: z.ZodOptional<z.ZodString>;
|
|
111
|
+
bestMatchScore: z.ZodOptional<z.ZodNumber>;
|
|
112
|
+
nativeFaceShortSidePx: z.ZodOptional<z.ZodNumber>;
|
|
113
|
+
suggestedIdentityId: z.ZodOptional<z.ZodString>;
|
|
114
|
+
suggestedMatchScore: z.ZodOptional<z.ZodNumber>;
|
|
107
115
|
}, z.core.$strip>>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
108
116
|
readonly getFaceByTrack: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
109
117
|
deviceId: z.ZodNumber;
|
|
@@ -124,6 +132,10 @@ export declare const faceGalleryCapability: {
|
|
|
124
132
|
h: z.ZodNumber;
|
|
125
133
|
}, z.core.$strip>>;
|
|
126
134
|
keyFrameMediaKey: z.ZodOptional<z.ZodString>;
|
|
135
|
+
bestMatchScore: z.ZodOptional<z.ZodNumber>;
|
|
136
|
+
nativeFaceShortSidePx: z.ZodOptional<z.ZodNumber>;
|
|
137
|
+
suggestedIdentityId: z.ZodOptional<z.ZodString>;
|
|
138
|
+
suggestedMatchScore: z.ZodOptional<z.ZodNumber>;
|
|
127
139
|
}, z.core.$strip>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
128
140
|
readonly getFaceMedia: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
129
141
|
faceId: z.ZodString;
|
|
@@ -24,10 +24,6 @@ export type { IAddonWidgetsSourceProvider, WidgetMetadata } from './addon-widget
|
|
|
24
24
|
export { addonWidgetsSourceCapability, WidgetHostEnum, WidgetMetadataSchema, WidgetRemoteSchema, WidgetSizeEnum, } from './addon-widgets-source.cap.js';
|
|
25
25
|
export type { IAdminUiProvider } from './admin-ui.cap.js';
|
|
26
26
|
export { adminUiCapability } from './admin-ui.cap.js';
|
|
27
|
-
export type { IViewerUiProvider } from './viewer-ui.cap.js';
|
|
28
|
-
export { viewerUiCapability } from './viewer-ui.cap.js';
|
|
29
|
-
export type { IAdvancedNotifierProvider } from './advanced-notifier.cap.js';
|
|
30
|
-
export { advancedNotifierCapability, NotificationHistoryEntrySchema, NotificationRuleSchema, } from './advanced-notifier.cap.js';
|
|
31
27
|
export type { Alert, AlertSeverity, AlertStatus } from './alerts.cap.js';
|
|
32
28
|
export { AlertSchema, AlertSeveritySchema, AlertSourceSchema, AlertStatusSchema, alertsCapability, } from './alerts.cap.js';
|
|
33
29
|
export { audioAnalysisCapability, type IAudioAnalysisProvider } from './audio-analysis.cap.js';
|
|
@@ -35,15 +31,13 @@ export type { AudioAnalyzerGlobalConfig, AudioBackendChoice, IAudioAnalyzerProvi
|
|
|
35
31
|
export { AUDIO_BACKEND_CHOICES, AudioAnalysisResultSchema, AudioAnalysisSettingsSchema, AudioClassificationResultSchema, audioAnalyzerCapability, DEFAULT_AUDIO_ANALYZER_CONFIG, } from './audio-analyzer.cap.js';
|
|
36
32
|
export { AudioCodecInfoSchema, AudioDecodeSessionConfigSchema, AudioEncodedChunkSchema, AudioEncodeSessionConfigSchema, AudioPcmChunkSchema, audioCodecCapability, type IAudioCodecCapProvider, PcmSampleFormatSchema, } from './audio-codec.cap.js';
|
|
37
33
|
export { AuthResultSchema, authProviderCapability } from './auth-provider.cap.js';
|
|
38
|
-
export { loginMethodCapability, LoginStageEnum, RedirectLoginMethodSchema, WidgetLoginMethodSchema, PasskeyLoginMethodSchema, LoginMethodContributionSchema, } from './login-method.cap.js';
|
|
39
|
-
export type { ILoginMethodProvider, LoginMethodContribution, RedirectLoginMethod, WidgetLoginMethod, PasskeyLoginMethod, LoginStage, } from './login-method.cap.js';
|
|
40
34
|
export { ArchiveEntrySchema, ArchiveManifestSchema, BackupDestinationInfoSchema, BackupEntrySchema, backupCapability, type IBackupProvider, LocationStatSchema, } from './backup.cap.js';
|
|
41
35
|
export { BrokerAddInputSchema, BrokerGetStateInputSchema, type BrokerInfo as UnifiedBrokerInfo, BrokerInfoSchema as UnifiedBrokerInfoSchema, type BrokerProviderInfo, BrokerProviderInfoSchema, BrokerPublishInputSchema, BrokerRegistryStatusSchema, type BrokerStatus as UnifiedBrokerStatus, BrokerStatusEnum, BrokerSubscribeInputSchema, BrokerSubscribeResultSchema, BrokerTestConnectionResultSchema, BrokerUnsubscribeInputSchema, brokerCapability, type IBrokerProvider, } from './broker.cap.js';
|
|
42
36
|
export { cameraPipelineConfigCapability, type ICameraPipelineConfigProvider, } from './camera-pipeline-config.cap.js';
|
|
43
37
|
export { cameraStreamsCapability, type ICameraStreamsProvider, type PickedCamStream, PickedCamStreamSchema, PickStreamPreferencesSchema, PickStreamRequirementsSchema, type StreamCodec, StreamCodecSchema, } from './camera-streams.cap.js';
|
|
44
|
-
export type { CapabilityDefinition, CapabilityEventSchema, CapabilityMethodAuth, CapabilityMethodKind, CapabilityMethodOptions, CapabilityMethodSchema, CapabilityMountHint, CapabilityMountKind, CapabilityStatusItemArray, CapabilityStatusKind, CapabilityStatusSchema, DeviceConfigDerivedFormUi, DeviceConfigSpec, DeviceConfigUiSpec, DeviceConfigWidgetUi, DeviceSettingsContribution, InferDeviceProxyCap, InferEvents, InferName, InferNativeProvider, InferProvider, InferRuntimeState, ProviderKind, UiContribution, UiContributionKind, UiContributionRemote, } from './capability-definition.js';
|
|
45
|
-
export { DEVICE_SETTINGS_CONTRIBUTION_METHODS, DEVICE_STATUS_METHOD, event, expandCapMethods, isDeviceConfigCap, method, resolveCapMount, } from './capability-definition.js';
|
|
46
38
|
export { extractNestedAddonId, isArrayOutputSchema, isCollectionArrayMethod, isObjectInput, isVoidInput, kebabToCamel, looseSchema, objectInputDeclaresAddonId, procedureAuthKey, } from './cap-router-predicates.js';
|
|
39
|
+
export type { CapabilityDefinition, CapabilityEventSchema, CapabilityMethodAuth, CapabilityMethodCaller, CapabilityMethodKind, CapabilityMethodOptions, CapabilityMethodSchema, CapabilityMountHint, CapabilityMountKind, CapabilityStatusItemArray, CapabilityStatusKind, CapabilityStatusSchema, CapCaller, DeviceConfigDerivedFormUi, DeviceConfigSpec, DeviceConfigUiSpec, DeviceConfigWidgetUi, DeviceSettingsContribution, InferDeviceProxyCap, InferEvents, InferName, InferNativeProvider, InferProvider, InferRuntimeState, ProviderKind, UiContribution, UiContributionKind, UiContributionRemote, } from './capability-definition.js';
|
|
40
|
+
export { DEVICE_SETTINGS_CONTRIBUTION_METHODS, DEVICE_STATUS_METHOD, event, expandCapMethods, isDeviceConfigCap, method, resolveCapMount, } from './capability-definition.js';
|
|
47
41
|
export * from './custom-actions.js';
|
|
48
42
|
export type { CustomModelDescriptor, ICustomModelRegistryProvider, } from './custom-model-registry.cap.js';
|
|
49
43
|
export { CustomModelDescriptorSchema, customModelRegistryCapability, } from './custom-model-registry.cap.js';
|
|
@@ -60,7 +54,12 @@ export { deviceStateCapability } from './device-state.cap.js';
|
|
|
60
54
|
export type { IEmbeddingEncoderProvider } from './embedding-encoder.cap.js';
|
|
61
55
|
export { EmbeddingInfoSchema, EmbeddingResultSchema, embeddingEncoderCapability, } from './embedding-encoder.cap.js';
|
|
62
56
|
export { filesystemBrowseCapability, type IFilesystemBrowseProvider, } from './filesystem-browse.cap.js';
|
|
57
|
+
export { type ILlmProvider, type LlmDefault, LlmDefaultSchema, type LlmDefaultSelector, LlmDefaultSelectorSchema, type LlmProfile, type LlmProfileKind, type LlmProfileKindDescriptor, LlmProfileKindDescriptorSchema, LlmProfileKindSchema, LlmProfileSchema, type LlmRuntimeNode, LlmRuntimeNodeSchema, type LlmUsageRollup, LlmUsageRollupSchema, llmCapability, type ManagedModelCatalogEntry, ManagedModelCatalogEntrySchema, } from './llm.cap.js';
|
|
58
|
+
export { type ILlmRuntimeProvider, type LlmNodeModel, LlmNodeModelSchema, type LlmRuntimeCompleteInput, LlmRuntimeCompleteInputSchema, type LlmRuntimeDiskUsage, LlmRuntimeDiskUsageSchema, type LlmRuntimeStatus, LlmRuntimeStatusSchema, llmRuntimeCapability, type ManagedModelRef, ManagedModelRefSchema, type ManagedRuntimeConfig, ManagedRuntimeConfigSchema, } from './llm-runtime.cap.js';
|
|
59
|
+
export { type LlmErrorCode, LlmErrorCodeSchema, type LlmGenerateBaseInput, LlmGenerateBaseInputSchema, type LlmGenerateErr, LlmGenerateErrSchema, type LlmGenerateOk, LlmGenerateOkSchema, type LlmGenerateResult, LlmGenerateResultSchema, type LlmImage, LlmImageSchema, type LlmUsage, LlmUsageSchema, } from './llm-shared.js';
|
|
63
60
|
export { LogEntrySchema, LogLevelSchema, logDestinationCapability } from './log-destination.cap.js';
|
|
61
|
+
export type { ILoginMethodProvider, LoginMethodContribution, LoginStage, PasskeyLoginMethod, RedirectLoginMethod, WidgetLoginMethod, } from './login-method.cap.js';
|
|
62
|
+
export { LoginMethodContributionSchema, LoginStageEnum, loginMethodCapability, PasskeyLoginMethodSchema, RedirectLoginMethodSchema, WidgetLoginMethodSchema, } from './login-method.cap.js';
|
|
64
63
|
export { type IMetricsProvider, metricsProviderCapability, SystemMetricsSchema, } from './metrics-provider.cap.js';
|
|
65
64
|
export type { IModelConvertProvider, ModelConvertInput, } from './model-convert.cap.js';
|
|
66
65
|
export { ModelConvertInputSchema, modelConvertCapability, } from './model-convert.cap.js';
|
|
@@ -72,13 +71,10 @@ export type { BrokerConnectionDetails, BrokerInfo, BrokerStatus as MqttBrokerLiv
|
|
|
72
71
|
export { AddBrokerInputSchema, BrokerConnectionDetailsSchema, BrokerInfoSchema, MqttBrokerStatusSchema, mqttBrokerCapability, StartEmbeddedInputSchema, } from './mqtt-broker.cap.js';
|
|
73
72
|
export type { NetworkAccessStatus, NetworkEndpoint } from './network-access.cap.js';
|
|
74
73
|
export { NetworkAccessStatusSchema, NetworkEndpointSchema, networkAccessCapability, } from './network-access.cap.js';
|
|
75
|
-
export { type Attachment,
|
|
76
|
-
export { type
|
|
77
|
-
export { type ILlmRuntimeProvider, llmRuntimeCapability, type LlmNodeModel, LlmNodeModelSchema, type LlmRuntimeCompleteInput, LlmRuntimeCompleteInputSchema, type LlmRuntimeDiskUsage, LlmRuntimeDiskUsageSchema, type LlmRuntimeStatus, LlmRuntimeStatusSchema, type ManagedModelRef, ManagedModelRefSchema, type ManagedRuntimeConfig, ManagedRuntimeConfigSchema, } from './llm-runtime.cap.js';
|
|
78
|
-
export { type LlmErrorCode, LlmErrorCodeSchema, type LlmGenerateBaseInput, LlmGenerateBaseInputSchema, type LlmGenerateErr, LlmGenerateErrSchema, type LlmGenerateOk, LlmGenerateOkSchema, type LlmGenerateResult, LlmGenerateResultSchema, type LlmImage, LlmImageSchema, type LlmUsage, LlmUsageSchema, } from './llm-shared.js';
|
|
74
|
+
export { type Attachment, type AttachmentMediaType, AttachmentMediaTypeSchema, AttachmentSchema, type DiscoveredTarget, DiscoveredTargetSchema, type INotificationOutputProvider, type NotificationAction, NotificationActionSchema, type NotificationFormat, NotificationFormatSchema, NotificationSchema, notificationOutputCapability, type RenderedAs, RenderedAsSchema, type SendResult, SendResultSchema, type Target, type TargetKind, type TargetKindCaps, TargetKindCapsSchema, type TargetKindLevel, TargetKindLevelSchema, TargetKindSchema, TargetSchema, type TestResult, TestResultSchema, } from './notification-output.cap.js';
|
|
75
|
+
export { type INotificationRulesProvider, NC_CONDITION_CATALOG, NC_HISTORY_LIMIT_DEFAULT, NC_HISTORY_LIMIT_MAX, NC_MAX_PER_TRACK_IMMEDIATE, type NcConditionDescriptor, NcConditionDescriptorSchema, type NcConditions, NcConditionsSchema, type NcDelivery, NcDeliverySchema, type NcHistoryEntry, NcHistoryEntrySchema, type NcHistoryFilter, NcHistoryFilterSchema, type NcHistoryRecordKind, NcHistoryRecordKindSchema, type NcHistoryStatus, NcHistoryStatusSchema, type NcHistorySubject, NcHistorySubjectSchema, type NcMediaPolicy, NcMediaPolicySchema, type NcOccupancyCondition, NcOccupancyConditionSchema, type NcPlateMatcher, NcPlateMatcherSchema, type NcRule, type NcRuleInput, NcRuleInputSchema, type NcRulePatch, NcRulePatchSchema, NcRuleSchema, type NcRuleTarget, NcRuleTargetSchema, type NcSchedule, NcScheduleSchema, type NcScheduleWindow, NcScheduleWindowSchema, type NcTestResult, NcTestResultSchema, type NcThrottle, NcThrottleSchema, type NcZoneCondition, NcZoneConditionSchema, notificationRulesCapability, } from './notification-rules.cap.js';
|
|
79
76
|
export { type IOauthIntegrationProvider, type OauthIntegrationDescriptor, OauthIntegrationDescriptorSchema, oauthIntegrationCapability, } from './oauth-integration.cap.js';
|
|
80
|
-
export { type AudioEvent, AudioEventSchema, type DetectionSource, DetectionSourceSchema, type EventKind, type EventKindCategory, EventKindCategorySchema, type EventKindDescriptor, EventKindDescriptorSchema, type EventKindIcon, EventKindIconSchema, EventKindSchema, type EventPruneCounts, type EventStoreDeviceFootprint, type EventStoreFootprint, type IPipelineAnalyticsProvider, type KeyEvent, KeyEventSchema, type MediaFile, type MediaFileKind, MediaFileSchema, type MotionEvent, MotionEventSchema, type ObjectEvent, ObjectEventSchema, pipelineAnalyticsCapability, type RecentTracksPage, RecentTracksPageSchema, type RecentTracksQuery, RecentTracksQueryInput, type ScoredObjectEvent, ScoredObjectEventSchema, type SensorEvent, SensorEventSchema, type Track, type TrackCascadeCounts, TrackCascadeCountsSchema,
|
|
81
|
-
export { EVENT_KIND_BY_CAP, EVENTFUL_CAP_NAMES, buildEventKindDescriptor, type SensorEventKindDescriptor, } from './sensor-event-kinds.js';
|
|
77
|
+
export { type AudioEvent, AudioEventSchema, type DetectionSource, DetectionSourceSchema, type EventKind, type EventKindCategory, EventKindCategorySchema, type EventKindDescriptor, EventKindDescriptorSchema, type EventKindIcon, EventKindIconSchema, EventKindSchema, type EventPruneCounts, type EventStoreDeviceFootprint, type EventStoreFootprint, type IPipelineAnalyticsProvider, type KeyEvent, KeyEventSchema, type MediaFile, type MediaFileKind, MediaFileSchema, type MotionEvent, MotionEventSchema, type ObjectEvent, ObjectEventSchema, pipelineAnalyticsCapability, type RecentTracksPage, RecentTracksPageSchema, type RecentTracksQuery, RecentTracksQueryInput, type ScoredObjectEvent, ScoredObjectEventSchema, type SensorEvent, SensorEventSchema, type Track, type TrackCascadeCounts, TrackCascadeCountsSchema, type TrackEnvelope, TrackEnvelopeSchema, TrackedDetectionSchema, type TrackProjection, TrackProjectionSchema, TrackSchema, type TrackState, TrackStateSchema, type TrackZoneFilter, TrackZoneFilterSchema, } from './pipeline-analytics.cap.js';
|
|
82
78
|
export type { NativeCropRef, PipelineStepInputOutput, PipelineValidationIssue, PipelineValidationResult, } from './pipeline-executor.cap.js';
|
|
83
79
|
export { ModelSubstitutionSchema, NativeCropRefSchema, PipelineDefaultStepSchema, PipelineEngineChoiceSchema, PipelineRunResultBridge, PipelineStepInputSchema, PipelineValidationIssueSchema, PipelineValidationResultSchema, pipelineExecutorCapability, } from './pipeline-executor.cap.js';
|
|
84
80
|
export type { CameraAssignmentStatus, CameraAudioStatus, CameraBrokerProfile, CameraBrokerStatus, CameraDecoderShm, CameraDecoderStatus, CameraDetectionPhase, CameraDetectionProvisioning, CameraDetectionProvisioningState, CameraDetectionStatus, CameraMotionStatus, CameraRecordingMode, CameraRecordingStatus, CameraSourceStatus, CameraSourceStream, CameraStatus, IngestOwner, NodeInferenceDevice, NodeInferenceDevices, } from './pipeline-orchestrator.cap.js';
|
|
@@ -89,7 +85,8 @@ export { AudioChunkInputSchema, AudioClassificationLabelSchema, AudioLevelSchema
|
|
|
89
85
|
export { CameraMetricsSchema, CameraMetricsWithDeviceIdSchema, OrchestratorMetricsSchema, } from './schemas/orchestrator-metrics.js';
|
|
90
86
|
export type { CameraStream, CamProfile, CamStreamKind, DecodedAudioChunkWire, FrameHandleFormat, ProfileRtspEntry, ProfileSlot, ProfileSlotStatus, SubscribeAudioChunksInput, SubscribeAudioChunksResult, SubscribeFramesInput, SubscribeFramesResult, } from './schemas/streaming-shared.js';
|
|
91
87
|
export { BrokerStatsSchema, BrokerStatusSchema, CAM_PROFILE_ORDER, CameraStreamSchema, CamProfileSchema, CamStreamKindSchema, CamStreamResolutionSchema, DecodedAudioChunkSchema, DecodedFrameSchema, EncodedPacketSchema, FrameHandleFormatSchema, FrameHandleSchema, makeProfileBrokerId, makeSourceBrokerId, ProfileRtspEntrySchema, ProfileSlotSchema, ProfileSlotStatusSchema, parseProfileBrokerId, StreamSourceEntrySchema, StreamSourceSchema, SubscribeAudioChunksInputSchema, SubscribeAudioChunksResultSchema, SubscribeFramesInputSchema, SubscribeFramesResultSchema, selectAssignedProfileSlots, } from './schemas/streaming-shared.js';
|
|
92
|
-
export {
|
|
88
|
+
export { buildEventKindDescriptor, EVENT_KIND_BY_CAP, EVENTFUL_CAP_NAMES, type SensorEventKindDescriptor, } from './sensor-event-kinds.js';
|
|
89
|
+
export { type IServerManagementProvider, type ServerBootMode, ServerBootModeSchema, type ServerPackageStatus, ServerPackageStatusSchema, type ServerRollbackInfo, ServerRollbackInfoSchema, type ServerUpdateActionResult, ServerUpdateActionResultSchema, type ServerUpdateCheckResult, ServerUpdateCheckResultSchema, type ServerUpdateState, ServerUpdateStateSchema, serverManagementCapability, } from './server-management.cap.js';
|
|
93
90
|
export { type CollectionColumn, CollectionColumnSchema, type CollectionIndex, CollectionIndexSchema, type ISettingsStoreProvider, QueryFilterSchema, SettingsRecordSchema, type SettingsStoreClient, settingsStoreCapability, } from './settings-store.cap.js';
|
|
94
91
|
export type { ISmtpProvider } from './smtp-provider.cap.js';
|
|
95
92
|
export { SendEmailInputSchema, SendEmailResultSchema, SmtpStatusSchema, smtpProviderCapability, } from './smtp-provider.cap.js';
|
|
@@ -107,7 +104,9 @@ export type { IUserPasskeysProvider, PasskeySummary } from './user-passkeys.cap.
|
|
|
107
104
|
export { PasskeySummarySchema, userPasskeysCapability } from './user-passkeys.cap.js';
|
|
108
105
|
export type { Clip, ClipPlayback, IVideoclipsProvider } from './videoclips.cap.js';
|
|
109
106
|
export { ClipPlaybackSchema, ClipSchema, videoclipsCapability } from './videoclips.cap.js';
|
|
110
|
-
export
|
|
107
|
+
export type { IViewerUiProvider } from './viewer-ui.cap.js';
|
|
108
|
+
export { viewerUiCapability } from './viewer-ui.cap.js';
|
|
109
|
+
export { type IWebrtcSessionProvider, type WebrtcClientHints, type WebrtcStreamChoice, WebrtcStreamChoiceSchema, type WebrtcStreamTarget, WebrtcStreamTargetSchema, webrtcClientHintsSchema, webrtcSessionCapability, } from './webrtc-session.cap.js';
|
|
111
110
|
export { type AccessoriesStatus, AccessoriesStatusSchema, accessoriesCapability, type IAccessoriesProvider, } from './accessories.cap.js';
|
|
112
111
|
export { AddonAutoUpdateSchema, AddonListItemSchema, AutoUpdateSettingsSchema, addonsCapability, type BulkUpdateItem, type BulkUpdateItemStatus, type BulkUpdatePhase, type BulkUpdateState, CustomActionInputSchema, type IAddonsProvider, InstalledPackageSchema, LogStreamEntrySchema, PackageUpdateSchema, PackageVersionInfoSchema, SearchResultSchema, } from './addons.cap.js';
|
|
113
112
|
export { type AirQualitySensorStatus, AirQualitySensorStatusSchema, airQualitySensorCapability, type IAirQualitySensorProvider, } from './air-quality-sensor.cap.js';
|
|
@@ -156,24 +155,25 @@ export { type IMeshNetworkProvider, type MeshEndpoint, type MeshPeer, MeshPeerSc
|
|
|
156
155
|
export { type IMotionProvider, type MotionOnMotionChangedData, MotionOnMotionChangedDataSchema, type MotionStatus, MotionStatusSchema, motionCapability, } from './motion.cap.js';
|
|
157
156
|
export { type IMotionTriggerProvider, type MotionTriggerRuntimeState, MotionTriggerRuntimeStateSchema, type MotionTriggerStatus, MotionTriggerStatusSchema, motionTriggerCapability, } from './motion-trigger.cap.js';
|
|
158
157
|
export { type IMotionZonesProvider, type MotionZoneOptions, MotionZoneOptionsSchema, type MotionZonePatch, MotionZonePatchSchema, type MotionZoneRegion, MotionZoneRegionSchema, type MotionZoneStatus, MotionZoneStatusSchema, motionZonesCapability, } from './motion-zones.cap.js';
|
|
159
|
-
export { type ISceneMonitorProvider, type SceneCheck, SceneCheckSchema, type SceneCondition, SceneConditionSchema, type SceneMonitor, SceneMonitorSchema, type SceneMonitorState, SceneMonitorStateSchema, type SceneMonitorStatus, SceneMonitorStatusSchema, type SceneReference, SceneReferenceSchema, sceneMonitorCapability, } from './scene-monitor.cap.js';
|
|
160
158
|
export { type INativeObjectDetectionProvider, type NativeDetection, NativeDetectionSchema, type NativeObjectClass, NativeObjectClassEnum, type NativeObjectDetectionRuntimeState, NativeObjectDetectionRuntimeStateSchema, type NativeObjectDetectionStatus, NativeObjectDetectionStatusSchema, nativeObjectDetectionCapability, } from './native-object-detection.cap.js';
|
|
161
159
|
export { ClientNetworkStatsSchema, DeviceNetworkStatsSchema, type INetworkQualityProvider, networkQualityCapability, StreamNetworkStatsSchema, } from './network-quality.cap.js';
|
|
162
160
|
export { ClusterAddonNodeDeploymentSchema, ClusterAddonStatusEntrySchema, type INodesProvider, nodesCapability, TopologyNodeSchema, TopologyProcessSchema, TopologyServiceSchema, } from './nodes.cap.js';
|
|
163
161
|
export { type INotifierProvider, type NotifierAction, type NotifierPriority, type NotifierSendInput, type NotifierSendResult, type NotifierStatus, NotifierStatusSchema, type NotifierSupports, notifierCapability, } from './notifier.cap.js';
|
|
164
162
|
export { type INumericSensorProvider, type NumericSensorStatus, NumericSensorStatusSchema, numericSensorCapability, } from './numeric-sensor.cap.js';
|
|
165
163
|
export { type IOsdProvider, type OsdOverlay, type OsdOverlayKind, OsdOverlayKindEnum, OsdOverlayPatchSchema, OsdOverlaySchema, type OsdPosition, OsdPositionEnum, type OsdStatus, OsdStatusSchema, osdCapability, } from './osd.cap.js';
|
|
166
|
-
export { type
|
|
164
|
+
export { type IPetFeederProvider, PET_FEEDER_MANUAL_FEED_MAX, PET_FEEDER_MANUAL_FEED_MIN, type PetFeederStatus, PetFeederStatusSchema, petFeederCapability, } from './pet-feeder.cap.js';
|
|
165
|
+
export { type IPlateGalleryProvider, type PlateInfo, plateGalleryCapability, type Vehicle, type VehicleSampleInfo, } from './plate-gallery.cap.js';
|
|
167
166
|
export { type HardwareDecodeAccels, type HardwareEncoderId, type HardwareEncoderProbe, type HardwareEncoders, type IPlatformProbeProvider, platformProbeCapability, } from './platform-probe.cap.js';
|
|
168
167
|
export { type IPowerMeterProvider, type PowerMeterStatus, PowerMeterStatusSchema, powerMeterCapability, } from './power-meter.cap.js';
|
|
169
168
|
export { type GpsLocation, type IPresenceProvider, type PresenceStatus, PresenceStatusSchema, presenceCapability, } from './presence.cap.js';
|
|
170
169
|
export { type IPressureSensorProvider, type PressureSensorStatus, PressureSensorStatusSchema, pressureSensorCapability, } from './pressure-sensor.cap.js';
|
|
171
170
|
export { type IPrivacyMaskProvider, type PrivacyMaskOptions, PrivacyMaskOptionsSchema, type PrivacyMaskPatch, PrivacyMaskPatchSchema, type PrivacyMaskRegion, PrivacyMaskRegionSchema, type PrivacyMaskShape, PrivacyMaskShapeSchema, type PrivacyMaskStatus, PrivacyMaskStatusSchema, privacyMaskCapability, } from './privacy-mask.cap.js';
|
|
172
|
-
export { type IPtzProvider, PtzMoveCommandSchema, type PtzOptions, PtzPositionSchema, PtzPresetSchema, type PtzStatus, PtzStatusSchema, ptzCapability, } from './ptz.cap.js';
|
|
171
|
+
export { type IPtzProvider, PtzMoveCommandSchema, type PtzOptions, PtzOptionsSchema, PtzPositionSchema, PtzPresetSchema, type PtzStatus, PtzStatusSchema, ptzCapability, } from './ptz.cap.js';
|
|
173
172
|
export { type IPtzAutotrackProvider, type PtzAutotrackRuntimeState, PtzAutotrackRuntimeStateSchema, type PtzAutotrackSettings, PtzAutotrackSettingsSchema, type PtzAutotrackStatus, PtzAutotrackStatusSchema, type PtzAutotrackTargetOption, PtzAutotrackTargetOptionSchema, ptzAutotrackCapability, } from './ptz-autotrack.cap.js';
|
|
174
173
|
export { type IRebootProvider, rebootCapability } from './reboot.cap.js';
|
|
175
174
|
export { type IRecordingProvider, type LocateSegmentResult, LocateSegmentResultSchema, type ReadSegmentBytesResult, ReadSegmentBytesResultSchema, type RecordingAvailability, RecordingAvailabilitySchema, type RecordingDays, RecordingDaysSchema, type RecordingDeviceUsage, RecordingDeviceUsageSchema, type RecordingLocationUsage, RecordingLocationUsageSchema, type RecordingManifest, RecordingManifestSchema, RecordingRangeSchema, type RecordingStatus, RecordingStatusSchema, type RecordingStorageUsage, RecordingStorageUsageSchema, recordingCapability, } from './recording.cap.js';
|
|
176
|
-
export { type ExportDownload, ExportDownloadSchema, type ExportOptions, ExportOptionsSchema, type ExportRecord, ExportRecordSchema, type ExportState, ExportStateSchema,
|
|
175
|
+
export { type ExportDownload, ExportDownloadSchema, type ExportOptions, ExportOptionsSchema, type ExportRecord, ExportRecordSchema, ExportSpeedSchema, type ExportState, ExportStateSchema, ExportTimelapseSchema, type IRecordingExportProvider, recordingExportCapability, } from './recording-export.cap.js';
|
|
176
|
+
export { type ISceneMonitorProvider, type SceneCheck, SceneCheckSchema, type SceneCondition, SceneConditionSchema, type SceneMonitor, SceneMonitorSchema, type SceneMonitorState, SceneMonitorStateSchema, type SceneMonitorStatus, SceneMonitorStatusSchema, type SceneReference, SceneReferenceSchema, sceneMonitorCapability, } from './scene-monitor.cap.js';
|
|
177
177
|
export { type ZoneRule, type ZoneRuleMode, ZoneRuleModeEnum, ZoneRuleSchema, type ZoneRules, ZoneRulesArraySchema, } from './schemas/zone-rule.js';
|
|
178
178
|
export { type IScriptRunnerProvider, type ScriptRunnerStatus, ScriptRunnerStatusSchema, scriptRunnerCapability, } from './script-runner.cap.js';
|
|
179
179
|
export { type ISmokeProvider, type SmokeStatus, SmokeStatusSchema, smokeCapability, } from './smoke.cap.js';
|
|
@@ -187,13 +187,12 @@ export { type ITemperatureSensorProvider, type TemperatureSensorStatus, Temperat
|
|
|
187
187
|
export { type IToastProvider, ToastSchema, toastCapability } from './toast.cap.js';
|
|
188
188
|
export { type IUpdateProvider, type UpdateStatus, UpdateStatusSchema, updateCapability, } from './update.cap.js';
|
|
189
189
|
export { ApiKeySummarySchema, CreateApiKeyInputSchema, CreateApiKeyResultSchema, CreateScopedTokenInputSchema, CreateScopedTokenResultSchema, CreateUserInputSchema, type IUserManagementProvider, ScopedTokenSummarySchema, UpdateUserInputSchema, UserSummarySchema, userManagementCapability, } from './user-management.cap.js';
|
|
190
|
-
export { type IPetFeederProvider, PET_FEEDER_MANUAL_FEED_MAX, PET_FEEDER_MANUAL_FEED_MIN, type PetFeederStatus, PetFeederStatusSchema, petFeederCapability, } from './pet-feeder.cap.js';
|
|
191
190
|
export { type IVacuumControlProvider, type TankStatus, TankStatusSchema, type VacuumControlStatus, VacuumControlStatusSchema, type VacuumState, VacuumStateSchema, vacuumControlCapability, } from './vacuum-control.cap.js';
|
|
192
191
|
export { type IValveProvider, type ValveState, ValveStateSchema, type ValveStatus, ValveStatusSchema, valveCapability, } from './valve.cap.js';
|
|
193
192
|
export { type IVibrationProvider, type VibrationStatus, VibrationStatusSchema, vibrationCapability, } from './vibration.cap.js';
|
|
194
193
|
export { type IWaterHeaterProvider, type WaterHeaterStatus, WaterHeaterStatusSchema, waterHeaterCapability, } from './water-heater.cap.js';
|
|
195
194
|
export { type IWeatherProvider, type WeatherStatus, WeatherStatusSchema, weatherCapability, } from './weather.cap.js';
|
|
196
|
-
export { type CameraOccupancySnapshot, type
|
|
195
|
+
export { type CameraOccupancySnapshot, type HistoryPoint, HistoryPointSchema, type HistoryResolution, HistoryResolutionEnum, type IZoneAnalyticsProvider, type PerScopeBreakdown, PerScopeBreakdownSchema, type StationaryObject, StationaryObjectSchema, type ZoneScopeBreakdown, ZoneScopeBreakdownSchema, zoneAnalyticsCapability, } from './zone-analytics.cap.js';
|
|
197
196
|
export { type IZoneRulesProvider, type ZoneRuleStage, ZoneRuleStageEnum, zoneRulesCapability, } from './zone-rules.cap.js';
|
|
198
197
|
export { type IZonesProvider, type PolygonPoint, PolygonPointSchema, type Zone, type ZoneKind, ZoneKindEnum, ZoneSchema, zonesCapability, } from './zones.cap.js';
|
|
199
198
|
import type { IReadinessRegistry } from '../interfaces/readiness.js';
|
|
@@ -205,8 +204,6 @@ import type { addonWidgetsCapability } from './addon-widgets.cap.js';
|
|
|
205
204
|
import type { addonWidgetsSourceCapability } from './addon-widgets-source.cap.js';
|
|
206
205
|
import type { addonsCapability } from './addons.cap.js';
|
|
207
206
|
import type { adminUiCapability } from './admin-ui.cap.js';
|
|
208
|
-
import type { viewerUiCapability } from './viewer-ui.cap.js';
|
|
209
|
-
import type { advancedNotifierCapability } from './advanced-notifier.cap.js';
|
|
210
207
|
import type { airQualitySensorCapability } from './air-quality-sensor.cap.js';
|
|
211
208
|
import type { alarmPanelCapability } from './alarm-panel.cap.js';
|
|
212
209
|
import type { alertsCapability } from './alerts.cap.js';
|
|
@@ -216,7 +213,6 @@ import type { audioAnalyzerCapability } from './audio-analyzer.cap.js';
|
|
|
216
213
|
import type { audioCodecCapability } from './audio-codec.cap.js';
|
|
217
214
|
import type { audioMetricsCapability } from './audio-metrics.cap.js';
|
|
218
215
|
import type { authProviderCapability } from './auth-provider.cap.js';
|
|
219
|
-
import type { loginMethodCapability } from './login-method.cap.js';
|
|
220
216
|
import type { automationControlCapability } from './automation-control.cap.js';
|
|
221
217
|
import type { backupCapability } from './backup.cap.js';
|
|
222
218
|
import type { binaryCapability } from './binary.cap.js';
|
|
@@ -226,7 +222,6 @@ import type { cameraPipelineConfigCapability } from './camera-pipeline-config.ca
|
|
|
226
222
|
import type { cameraStreamsCapability } from './camera-streams.cap.js';
|
|
227
223
|
import type { carbonMonoxideCapability } from './carbon-monoxide.cap.js';
|
|
228
224
|
import type { climateControlCapability } from './climate-control.cap.js';
|
|
229
|
-
import type { petFeederCapability } from './pet-feeder.cap.js';
|
|
230
225
|
import type { colorCapability } from './color.cap.js';
|
|
231
226
|
import type { connectivityCapability } from './connectivity.cap.js';
|
|
232
227
|
import type { consumablesCapability } from './consumables.cap.js';
|
|
@@ -257,9 +252,12 @@ import type { imageCapability } from './image.cap.js';
|
|
|
257
252
|
import type { imageSettingsCapability } from './image-settings.cap.js';
|
|
258
253
|
import type { integrationsCapability } from './integrations.cap.js';
|
|
259
254
|
import type { lawnMowerControlCapability } from './lawn-mower-control.cap.js';
|
|
255
|
+
import type { llmCapability } from './llm.cap.js';
|
|
256
|
+
import type { llmRuntimeCapability } from './llm-runtime.cap.js';
|
|
260
257
|
import type { localNetworkCapability } from './local-network.cap.js';
|
|
261
258
|
import type { lockControlCapability } from './lock-control.cap.js';
|
|
262
259
|
import type { logDestinationCapability } from './log-destination.cap.js';
|
|
260
|
+
import type { loginMethodCapability } from './login-method.cap.js';
|
|
263
261
|
import type { mediaPlayerCapability } from './media-player.cap.js';
|
|
264
262
|
import type { meshNetworkCapability } from './mesh-network.cap.js';
|
|
265
263
|
import type { metricsProviderCapability } from './metrics-provider.cap.js';
|
|
@@ -269,17 +267,16 @@ import type { motionCapability } from './motion.cap.js';
|
|
|
269
267
|
import type { motionDetectionCapability } from './motion-detection.cap.js';
|
|
270
268
|
import type { motionTriggerCapability } from './motion-trigger.cap.js';
|
|
271
269
|
import type { motionZonesCapability } from './motion-zones.cap.js';
|
|
272
|
-
import type { sceneMonitorCapability } from './scene-monitor.cap.js';
|
|
273
270
|
import type { mqttBrokerCapability } from './mqtt-broker.cap.js';
|
|
274
271
|
import type { networkAccessCapability } from './network-access.cap.js';
|
|
275
272
|
import type { networkQualityCapability } from './network-quality.cap.js';
|
|
276
273
|
import type { nodesCapability } from './nodes.cap.js';
|
|
277
|
-
import type { llmCapability } from './llm.cap.js';
|
|
278
|
-
import type { llmRuntimeCapability } from './llm-runtime.cap.js';
|
|
279
274
|
import type { notificationOutputCapability } from './notification-output.cap.js';
|
|
275
|
+
import type { notificationRulesCapability } from './notification-rules.cap.js';
|
|
280
276
|
import type { notifierCapability } from './notifier.cap.js';
|
|
281
277
|
import type { numericSensorCapability } from './numeric-sensor.cap.js';
|
|
282
278
|
import type { oauthIntegrationCapability } from './oauth-integration.cap.js';
|
|
279
|
+
import type { petFeederCapability } from './pet-feeder.cap.js';
|
|
283
280
|
import type { pipelineAnalyticsCapability } from './pipeline-analytics.cap.js';
|
|
284
281
|
import type { pipelineExecutorCapability } from './pipeline-executor.cap.js';
|
|
285
282
|
import type { pipelineOrchestratorCapability } from './pipeline-orchestrator.cap.js';
|
|
@@ -294,6 +291,7 @@ import type { ptzAutotrackCapability } from './ptz-autotrack.cap.js';
|
|
|
294
291
|
import type { rebootCapability } from './reboot.cap.js';
|
|
295
292
|
import type { recordingCapability } from './recording.cap.js';
|
|
296
293
|
import type { recordingExportCapability } from './recording-export.cap.js';
|
|
294
|
+
import type { sceneMonitorCapability } from './scene-monitor.cap.js';
|
|
297
295
|
import type { scriptRunnerCapability } from './script-runner.cap.js';
|
|
298
296
|
import type { serverManagementCapability } from './server-management.cap.js';
|
|
299
297
|
import type { settingsStoreCapability } from './settings-store.cap.js';
|
|
@@ -317,12 +315,13 @@ import type { userPasskeysCapability } from './user-passkeys.cap.js';
|
|
|
317
315
|
import type { vacuumControlCapability } from './vacuum-control.cap.js';
|
|
318
316
|
import type { valveCapability } from './valve.cap.js';
|
|
319
317
|
import type { vibrationCapability } from './vibration.cap.js';
|
|
318
|
+
import type { viewerUiCapability } from './viewer-ui.cap.js';
|
|
320
319
|
import type { waterHeaterCapability } from './water-heater.cap.js';
|
|
321
320
|
import type { weatherCapability } from './weather.cap.js';
|
|
322
321
|
import type { webrtcSessionCapability } from './webrtc-session.cap.js';
|
|
323
322
|
import type { zoneAnalyticsCapability } from './zone-analytics.cap.js';
|
|
324
323
|
import type { zoneRulesCapability } from './zone-rules.cap.js';
|
|
325
324
|
import type { zonesCapability } from './zones.cap.js';
|
|
326
|
-
type AnyCapability = typeof addonSettingsCapability | typeof alertsCapability | typeof storageCapability | typeof storageProviderCapability | typeof storageEvictableCapability | typeof filesystemBrowseCapability | typeof backupCapability | typeof settingsStoreCapability | typeof logDestinationCapability | typeof adminUiCapability | typeof viewerUiCapability | typeof ssoBridgeCapability | typeof userPasskeysCapability | typeof smtpProviderCapability | typeof mqttBrokerCapability | typeof brokerCapability | typeof deviceAdoptionCapability | typeof deviceExportCapability | typeof addonPagesCapability | typeof addonPagesSourceCapability | typeof addonWidgetsCapability | typeof addonWidgetsSourceCapability | typeof customModelRegistryCapability | typeof modelDistributorCapability | typeof modelConvertCapability | typeof addonRoutesCapability | typeof streamBrokerCapability | typeof decoderCapability | typeof webrtcSessionCapability | typeof cameraStreamsCapability | typeof motionDetectionCapability | typeof pipelineExecutorCapability | typeof detectionPipelineCapability | typeof cameraPipelineConfigCapability | typeof pipelineRunnerCapability | typeof pipelineOrchestratorCapability | typeof audioAnalyzerCapability | typeof audioAnalysisCapability | typeof audioCodecCapability | typeof embeddingEncoderCapability | typeof deviceProviderCapability | typeof deviceManagerCapability | typeof deviceStateCapability | typeof authProviderCapability | typeof loginMethodCapability | typeof networkAccessCapability | typeof turnProviderCapability | typeof snapshotCapability | typeof llmCapability | typeof llmRuntimeCapability | typeof notificationOutputCapability | typeof
|
|
325
|
+
type AnyCapability = typeof addonSettingsCapability | typeof alertsCapability | typeof storageCapability | typeof storageProviderCapability | typeof storageEvictableCapability | typeof filesystemBrowseCapability | typeof backupCapability | typeof settingsStoreCapability | typeof logDestinationCapability | typeof adminUiCapability | typeof viewerUiCapability | typeof ssoBridgeCapability | typeof userPasskeysCapability | typeof smtpProviderCapability | typeof mqttBrokerCapability | typeof brokerCapability | typeof deviceAdoptionCapability | typeof deviceExportCapability | typeof addonPagesCapability | typeof addonPagesSourceCapability | typeof addonWidgetsCapability | typeof addonWidgetsSourceCapability | typeof customModelRegistryCapability | typeof modelDistributorCapability | typeof modelConvertCapability | typeof addonRoutesCapability | typeof streamBrokerCapability | typeof decoderCapability | typeof webrtcSessionCapability | typeof cameraStreamsCapability | typeof motionDetectionCapability | typeof pipelineExecutorCapability | typeof detectionPipelineCapability | typeof cameraPipelineConfigCapability | typeof pipelineRunnerCapability | typeof pipelineOrchestratorCapability | typeof audioAnalyzerCapability | typeof audioAnalysisCapability | typeof audioCodecCapability | typeof embeddingEncoderCapability | typeof deviceProviderCapability | typeof deviceManagerCapability | typeof deviceStateCapability | typeof authProviderCapability | typeof loginMethodCapability | typeof networkAccessCapability | typeof turnProviderCapability | typeof snapshotCapability | typeof llmCapability | typeof llmRuntimeCapability | typeof notificationOutputCapability | typeof notificationRulesCapability | typeof pipelineAnalyticsCapability | typeof metricsProviderCapability | typeof ptzCapability | typeof ptzAutotrackCapability | typeof consumablesCapability | typeof rebootCapability | typeof deviceDiscoveryCapability | typeof brightnessCapability | typeof colorCapability | typeof climateControlCapability | typeof coverCapability | typeof valveCapability | typeof humidifierCapability | typeof waterHeaterCapability | typeof weatherCapability | typeof imageCapability | typeof lockControlCapability | typeof vacuumControlCapability | typeof petFeederCapability | typeof lawnMowerControlCapability | typeof fanControlCapability | typeof controlCapability | typeof notifierCapability | typeof mediaPlayerCapability | typeof alarmPanelCapability | typeof presenceCapability | typeof scriptRunnerCapability | typeof automationControlCapability | typeof motionTriggerCapability | typeof eventsCapability | typeof zonesCapability | typeof zoneRulesCapability | typeof zoneAnalyticsCapability | typeof audioMetricsCapability | typeof motionCapability | typeof contactCapability | typeof floodCapability | typeof smokeCapability | typeof carbonMonoxideCapability | typeof gasCapability | typeof tamperCapability | typeof vibrationCapability | typeof connectivityCapability | typeof binaryCapability | typeof temperatureSensorCapability | typeof humiditySensorCapability | typeof ambientLightSensorCapability | typeof pressureSensorCapability | typeof powerMeterCapability | typeof airQualitySensorCapability | typeof numericSensorCapability | typeof enumSensorCapability | typeof recordingCapability | typeof recordingExportCapability | typeof deviceOpsCapability | typeof platformProbeCapability | typeof localNetworkCapability | typeof meshNetworkCapability | typeof userManagementCapability | typeof systemCapability | typeof networkQualityCapability | typeof toastCapability | typeof nodesCapability | typeof serverManagementCapability | typeof integrationsCapability | typeof addonsCapability | typeof oauthIntegrationCapability | typeof streamParamsCapability | typeof streamCatalogCapability | typeof motionZonesCapability | typeof sceneMonitorCapability | typeof privacyMaskCapability | typeof dayNightCapability | typeof imageSettingsCapability;
|
|
327
326
|
export type CapabilityName = AnyCapability['name'];
|
|
328
327
|
export type ITypedReadinessRegistry = IReadinessRegistry<CapabilityName>;
|