@camstack/types 1.2.194 → 1.2.196
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.d.ts +1 -0
- package/dist/addon.js +2 -1
- package/dist/addon.mjs +2 -2
- package/dist/capabilities/addons.cap.d.ts +23 -23
- package/dist/capabilities/backup.cap.d.ts +6 -6
- package/dist/capabilities/core-blocks.cap.d.ts +16 -16
- package/dist/capabilities/custom-model-registry.cap.d.ts +2 -2
- package/dist/capabilities/decoder.cap.d.ts +13 -13
- package/dist/capabilities/device-manager.cap.d.ts +6 -6
- package/dist/capabilities/image-settings.cap.d.ts +16 -16
- package/dist/capabilities/llm-runtime.cap.d.ts +3 -3
- package/dist/capabilities/llm.cap.d.ts +4 -4
- package/dist/capabilities/load-contribution.cap.d.ts +4 -4
- package/dist/capabilities/mask-shape.d.ts +2 -2
- package/dist/capabilities/media-player.cap.d.ts +4 -4
- package/dist/capabilities/metrics-provider.cap.d.ts +2 -2
- package/dist/capabilities/model-convert.cap.d.ts +5 -5
- package/dist/capabilities/model-distributor.cap.d.ts +2 -2
- package/dist/capabilities/motion-detection.cap.d.ts +4 -4
- package/dist/capabilities/motion-zones.cap.d.ts +4 -4
- package/dist/capabilities/navigation.cap.d.ts +7 -7
- package/dist/capabilities/notification-output.cap.d.ts +13 -13
- package/dist/capabilities/notification-rules.cap.d.ts +17 -17
- package/dist/capabilities/notifier.cap.d.ts +3 -3
- package/dist/capabilities/osd-manager.cap.d.ts +14 -14
- package/dist/capabilities/pipeline-analytics.cap.d.ts +73 -73
- package/dist/capabilities/pipeline-executor.cap.d.ts +16 -16
- package/dist/capabilities/pipeline-orchestrator.cap.d.ts +39 -39
- package/dist/capabilities/pipeline-runner.cap.d.ts +6 -6
- package/dist/capabilities/privacy-mask.cap.d.ts +4 -4
- package/dist/capabilities/recording-export.cap.d.ts +14 -14
- package/dist/capabilities/recording.cap.d.ts +12 -12
- package/dist/capabilities/schemas/detection-shared.d.ts +4 -4
- package/dist/capabilities/schemas/streaming-shared.d.ts +7 -7
- package/dist/capabilities/storage-migration.cap.d.ts +13 -13
- package/dist/capabilities/storage.cap.d.ts +6 -6
- package/dist/capabilities/stream-broker.cap.d.ts +59 -59
- package/dist/capabilities/stream-signals.cap.d.ts +15 -0
- package/dist/capabilities/system.cap.d.ts +4 -4
- package/dist/capabilities/videoclips.cap.d.ts +2 -2
- package/dist/capabilities/webrtc-session.cap.d.ts +8 -8
- package/dist/index.js +20 -52
- package/dist/index.mjs +16 -48
- package/dist/interfaces/adoption-job.d.ts +2 -2
- package/dist/interfaces/camera-switches.d.ts +3 -3
- package/dist/interfaces/event-bus.d.ts +21 -0
- package/dist/interfaces/ops-log.d.ts +2 -2
- package/dist/interfaces/recording-config.d.ts +2 -2
- package/dist/interfaces/relocate.d.ts +18 -18
- package/dist/interfaces/storage-location-declaration.d.ts +1 -1
- package/dist/interfaces/stream-broker.d.ts +2 -2
- package/dist/lifecycle/job.d.ts +24 -24
- package/dist/{sleep-B8nfmQ8a.js → sleep-9Ix5MtX4.js} +71 -0
- package/dist/{sleep-BEyvfshj.mjs → sleep-B9qx0cEV.mjs} +48 -1
- package/dist/types/detection.d.ts +24 -3
- package/dist/types/models.d.ts +4 -4
- package/package.json +1 -1
package/dist/addon.d.ts
CHANGED
|
@@ -21,6 +21,7 @@ export { nodePin, readNodePin } from './cap-call-context.js';
|
|
|
21
21
|
export type { IAdminUiProvider } from './capabilities/admin-ui.cap.js';
|
|
22
22
|
export { adminUiCapability } from './capabilities/admin-ui.cap.js';
|
|
23
23
|
export { expandCapMethods } from './capabilities/capability-definition.js';
|
|
24
|
+
export { describeCustomActions } from './capabilities/custom-actions.js';
|
|
24
25
|
export { deviceOpsCapability } from './capabilities/device-ops.cap.js';
|
|
25
26
|
export type { IViewerUiProvider } from './capabilities/viewer-ui.cap.js';
|
|
26
27
|
export { viewerUiCapability } from './capabilities/viewer-ui.cap.js';
|
package/dist/addon.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_sleep = require("./sleep-
|
|
2
|
+
const require_sleep = require("./sleep-9Ix5MtX4.js");
|
|
3
3
|
const require_event_category = require("./event-category-BVfsrBYA.js");
|
|
4
4
|
const require_err_msg = require("./err-msg-COpsHMw2.js");
|
|
5
5
|
//#region src/generated/cap-input-defaults.ts
|
|
@@ -362,6 +362,7 @@ exports.asJsonObject = require_sleep.asJsonObject;
|
|
|
362
362
|
exports.asString = require_sleep.asString;
|
|
363
363
|
exports.createDeviceProxy = require_sleep.createDeviceProxy;
|
|
364
364
|
exports.createEventBusSliceSource = require_sleep.createEventBusSliceSource;
|
|
365
|
+
exports.describeCustomActions = require_sleep.describeCustomActions;
|
|
365
366
|
exports.deviceOpsCapability = require_sleep.deviceOpsCapability;
|
|
366
367
|
exports.emitReadiness = require_sleep.emitReadiness;
|
|
367
368
|
exports.errMsg = require_err_msg.errMsg;
|
package/dist/addon.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { A as DeviceType, Et as normalizeAddonInitResult, G as ReadinessRegistry, H as nodePin, I as expandCapMethods, K as ReadinessTimeoutError, S as DEVICE_CHILDREN_BATCH_MAX, St as DATAPLANE_SECRET_HEADER, T as describeCustomActions, Tt as BaseAddon, U as readNodePin, Y as scopeKey, a as asJsonObject, b as deviceOpsCapability, d as BOOT_RECOVERY_BACKOFF_MS, f as DEVICE_SCOPED_CAPS, h as createEventBusSliceSource, j as adminUiCapability, kt as emitReadiness, m as createDeviceProxy, p as isDeviceScopedCap, s as asString, t as sleep, u as parseJsonUnknown, wt as DisposerChain, x as viewerUiCapability } from "./sleep-B9qx0cEV.mjs";
|
|
2
2
|
import { t as EventCategory } from "./event-category-BVDXG4tB.mjs";
|
|
3
3
|
import { t as errMsg } from "./err-msg-IQTHeDzc.mjs";
|
|
4
4
|
//#region src/generated/cap-input-defaults.ts
|
|
@@ -344,4 +344,4 @@ function isCollectionArrayMethodName(capName, method) {
|
|
|
344
344
|
return methods !== void 0 && methods.includes(method);
|
|
345
345
|
}
|
|
346
346
|
//#endregion
|
|
347
|
-
export { BOOT_RECOVERY_BACKOFF_MS, BaseAddon, CAP_INPUT_DEFAULTS, COLLECTION_ARRAY_METHODS, DATAPLANE_SECRET_HEADER, DEVICE_CHILDREN_BATCH_MAX, DEVICE_SCOPED_CAPS, DeviceType, DisposerChain, EventCategory, ReadinessRegistry, ReadinessTimeoutError, adminUiCapability, asJsonObject, asString, createDeviceProxy, createEventBusSliceSource, deviceOpsCapability, emitReadiness, errMsg, expandCapMethods, isCollectionArrayMethodName, isDeviceScopedCap, nodePin, normalizeAddonInitResult, parseJsonUnknown, readNodePin, scopeKey, sleep, viewerUiCapability, withCapInputDefaults };
|
|
347
|
+
export { BOOT_RECOVERY_BACKOFF_MS, BaseAddon, CAP_INPUT_DEFAULTS, COLLECTION_ARRAY_METHODS, DATAPLANE_SECRET_HEADER, DEVICE_CHILDREN_BATCH_MAX, DEVICE_SCOPED_CAPS, DeviceType, DisposerChain, EventCategory, ReadinessRegistry, ReadinessTimeoutError, adminUiCapability, asJsonObject, asString, createDeviceProxy, createEventBusSliceSource, describeCustomActions, deviceOpsCapability, emitReadiness, errMsg, expandCapMethods, isCollectionArrayMethodName, isDeviceScopedCap, nodePin, normalizeAddonInitResult, parseJsonUnknown, readNodePin, scopeKey, sleep, viewerUiCapability, withCapInputDefaults };
|
|
@@ -129,9 +129,9 @@ declare const AddonAutoUpdateSchema: z.ZodEnum<{
|
|
|
129
129
|
inherit: "inherit";
|
|
130
130
|
}>;
|
|
131
131
|
declare const BulkUpdateItemStatusSchema: z.ZodEnum<{
|
|
132
|
-
failed: "failed";
|
|
133
132
|
queued: "queued";
|
|
134
133
|
done: "done";
|
|
134
|
+
failed: "failed";
|
|
135
135
|
updating: "updating";
|
|
136
136
|
"done-pending-restart": "done-pending-restart";
|
|
137
137
|
}>;
|
|
@@ -141,9 +141,9 @@ declare const BulkUpdateItemSchema: z.ZodObject<{
|
|
|
141
141
|
fromVersion: z.ZodString;
|
|
142
142
|
toVersion: z.ZodString;
|
|
143
143
|
status: z.ZodEnum<{
|
|
144
|
-
failed: "failed";
|
|
145
144
|
queued: "queued";
|
|
146
145
|
done: "done";
|
|
146
|
+
failed: "failed";
|
|
147
147
|
updating: "updating";
|
|
148
148
|
"done-pending-restart": "done-pending-restart";
|
|
149
149
|
}>;
|
|
@@ -179,9 +179,9 @@ declare const BulkUpdateStateSchema: z.ZodObject<{
|
|
|
179
179
|
fromVersion: z.ZodString;
|
|
180
180
|
toVersion: z.ZodString;
|
|
181
181
|
status: z.ZodEnum<{
|
|
182
|
-
failed: "failed";
|
|
183
182
|
queued: "queued";
|
|
184
183
|
done: "done";
|
|
184
|
+
failed: "failed";
|
|
185
185
|
updating: "updating";
|
|
186
186
|
"done-pending-restart": "done-pending-restart";
|
|
187
187
|
}>;
|
|
@@ -395,9 +395,9 @@ export declare const addonsCapability: {
|
|
|
395
395
|
*/
|
|
396
396
|
readonly getLastRestart: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodNullable<z.ZodObject<{
|
|
397
397
|
kind: z.ZodEnum<{
|
|
398
|
+
manual: "manual";
|
|
398
399
|
system: "system";
|
|
399
400
|
"framework-update": "framework-update";
|
|
400
|
-
manual: "manual";
|
|
401
401
|
"framework-bulk-update": "framework-bulk-update";
|
|
402
402
|
}>;
|
|
403
403
|
packageName: z.ZodOptional<z.ZodString>;
|
|
@@ -557,9 +557,9 @@ export declare const addonsCapability: {
|
|
|
557
557
|
readonly startJob: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
558
558
|
kind: z.ZodEnum<{
|
|
559
559
|
update: "update";
|
|
560
|
+
restart: "restart";
|
|
560
561
|
install: "install";
|
|
561
562
|
uninstall: "uninstall";
|
|
562
|
-
restart: "restart";
|
|
563
563
|
}>;
|
|
564
564
|
targets: z.ZodArray<z.ZodObject<{
|
|
565
565
|
name: z.ZodString;
|
|
@@ -579,9 +579,9 @@ export declare const addonsCapability: {
|
|
|
579
579
|
jobId: z.ZodString;
|
|
580
580
|
kind: z.ZodEnum<{
|
|
581
581
|
update: "update";
|
|
582
|
+
restart: "restart";
|
|
582
583
|
install: "install";
|
|
583
584
|
uninstall: "uninstall";
|
|
584
|
-
restart: "restart";
|
|
585
585
|
}>;
|
|
586
586
|
createdAtMs: z.ZodNumber;
|
|
587
587
|
createdBy: z.ZodString;
|
|
@@ -601,15 +601,15 @@ export declare const addonsCapability: {
|
|
|
601
601
|
addon: "addon";
|
|
602
602
|
}>;
|
|
603
603
|
phase: z.ZodEnum<{
|
|
604
|
-
failed: "failed";
|
|
605
604
|
queued: "queued";
|
|
605
|
+
done: "done";
|
|
606
|
+
failed: "failed";
|
|
607
|
+
applied: "applied";
|
|
606
608
|
fetching: "fetching";
|
|
607
609
|
staged: "staged";
|
|
608
610
|
validating: "validating";
|
|
609
611
|
applying: "applying";
|
|
610
612
|
restarting: "restarting";
|
|
611
|
-
applied: "applied";
|
|
612
|
-
done: "done";
|
|
613
613
|
skipped: "skipped";
|
|
614
614
|
}>;
|
|
615
615
|
stagedPath: z.ZodNullable<z.ZodString>;
|
|
@@ -619,15 +619,15 @@ export declare const addonsCapability: {
|
|
|
619
619
|
nodeId: z.ZodString;
|
|
620
620
|
packageName: z.ZodString;
|
|
621
621
|
phase: z.ZodEnum<{
|
|
622
|
-
failed: "failed";
|
|
623
622
|
queued: "queued";
|
|
623
|
+
done: "done";
|
|
624
|
+
failed: "failed";
|
|
625
|
+
applied: "applied";
|
|
624
626
|
fetching: "fetching";
|
|
625
627
|
staged: "staged";
|
|
626
628
|
validating: "validating";
|
|
627
629
|
applying: "applying";
|
|
628
630
|
restarting: "restarting";
|
|
629
|
-
applied: "applied";
|
|
630
|
-
done: "done";
|
|
631
631
|
skipped: "skipped";
|
|
632
632
|
}>;
|
|
633
633
|
message: z.ZodString;
|
|
@@ -637,11 +637,11 @@ export declare const addonsCapability: {
|
|
|
637
637
|
finishedAtMs: z.ZodNullable<z.ZodNumber>;
|
|
638
638
|
}, z.core.$strip>>;
|
|
639
639
|
state: z.ZodEnum<{
|
|
640
|
-
failed: "failed";
|
|
641
640
|
running: "running";
|
|
641
|
+
failed: "failed";
|
|
642
|
+
cancelled: "cancelled";
|
|
642
643
|
completed: "completed";
|
|
643
644
|
"partially-failed": "partially-failed";
|
|
644
|
-
cancelled: "cancelled";
|
|
645
645
|
}>;
|
|
646
646
|
schemaVersion: z.ZodLiteral<1>;
|
|
647
647
|
}, z.core.$strip>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
@@ -655,9 +655,9 @@ export declare const addonsCapability: {
|
|
|
655
655
|
jobId: z.ZodString;
|
|
656
656
|
kind: z.ZodEnum<{
|
|
657
657
|
update: "update";
|
|
658
|
+
restart: "restart";
|
|
658
659
|
install: "install";
|
|
659
660
|
uninstall: "uninstall";
|
|
660
|
-
restart: "restart";
|
|
661
661
|
}>;
|
|
662
662
|
createdAtMs: z.ZodNumber;
|
|
663
663
|
createdBy: z.ZodString;
|
|
@@ -677,15 +677,15 @@ export declare const addonsCapability: {
|
|
|
677
677
|
addon: "addon";
|
|
678
678
|
}>;
|
|
679
679
|
phase: z.ZodEnum<{
|
|
680
|
-
failed: "failed";
|
|
681
680
|
queued: "queued";
|
|
681
|
+
done: "done";
|
|
682
|
+
failed: "failed";
|
|
683
|
+
applied: "applied";
|
|
682
684
|
fetching: "fetching";
|
|
683
685
|
staged: "staged";
|
|
684
686
|
validating: "validating";
|
|
685
687
|
applying: "applying";
|
|
686
688
|
restarting: "restarting";
|
|
687
|
-
applied: "applied";
|
|
688
|
-
done: "done";
|
|
689
689
|
skipped: "skipped";
|
|
690
690
|
}>;
|
|
691
691
|
stagedPath: z.ZodNullable<z.ZodString>;
|
|
@@ -695,15 +695,15 @@ export declare const addonsCapability: {
|
|
|
695
695
|
nodeId: z.ZodString;
|
|
696
696
|
packageName: z.ZodString;
|
|
697
697
|
phase: z.ZodEnum<{
|
|
698
|
-
failed: "failed";
|
|
699
698
|
queued: "queued";
|
|
699
|
+
done: "done";
|
|
700
|
+
failed: "failed";
|
|
701
|
+
applied: "applied";
|
|
700
702
|
fetching: "fetching";
|
|
701
703
|
staged: "staged";
|
|
702
704
|
validating: "validating";
|
|
703
705
|
applying: "applying";
|
|
704
706
|
restarting: "restarting";
|
|
705
|
-
applied: "applied";
|
|
706
|
-
done: "done";
|
|
707
707
|
skipped: "skipped";
|
|
708
708
|
}>;
|
|
709
709
|
message: z.ZodString;
|
|
@@ -713,11 +713,11 @@ export declare const addonsCapability: {
|
|
|
713
713
|
finishedAtMs: z.ZodNullable<z.ZodNumber>;
|
|
714
714
|
}, z.core.$strip>>;
|
|
715
715
|
state: z.ZodEnum<{
|
|
716
|
-
failed: "failed";
|
|
717
716
|
running: "running";
|
|
717
|
+
failed: "failed";
|
|
718
|
+
cancelled: "cancelled";
|
|
718
719
|
completed: "completed";
|
|
719
720
|
"partially-failed": "partially-failed";
|
|
720
|
-
cancelled: "cancelled";
|
|
721
721
|
}>;
|
|
722
722
|
schemaVersion: z.ZodLiteral<1>;
|
|
723
723
|
}, z.core.$strip>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
@@ -114,9 +114,9 @@ declare const LocationStatSchema: z.ZodObject<{
|
|
|
114
114
|
}, z.core.$strip>;
|
|
115
115
|
/** Lifecycle of a backup run. Terminal states: succeeded / failed / cancelled. */
|
|
116
116
|
declare const BackupRunStateSchema: z.ZodEnum<{
|
|
117
|
-
failed: "failed";
|
|
118
|
-
running: "running";
|
|
119
117
|
queued: "queued";
|
|
118
|
+
running: "running";
|
|
119
|
+
failed: "failed";
|
|
120
120
|
cancelled: "cancelled";
|
|
121
121
|
succeeded: "succeeded";
|
|
122
122
|
}>;
|
|
@@ -142,9 +142,9 @@ declare const BackupRunPhaseSchema: z.ZodEnum<{
|
|
|
142
142
|
declare const BackupRunSchema: z.ZodObject<{
|
|
143
143
|
id: z.ZodString;
|
|
144
144
|
state: z.ZodEnum<{
|
|
145
|
-
failed: "failed";
|
|
146
|
-
running: "running";
|
|
147
145
|
queued: "queued";
|
|
146
|
+
running: "running";
|
|
147
|
+
failed: "failed";
|
|
148
148
|
cancelled: "cancelled";
|
|
149
149
|
succeeded: "succeeded";
|
|
150
150
|
}>;
|
|
@@ -293,9 +293,9 @@ export declare const backupCapability: {
|
|
|
293
293
|
readonly listRuns: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
294
294
|
id: z.ZodString;
|
|
295
295
|
state: z.ZodEnum<{
|
|
296
|
-
failed: "failed";
|
|
297
|
-
running: "running";
|
|
298
296
|
queued: "queued";
|
|
297
|
+
running: "running";
|
|
298
|
+
failed: "failed";
|
|
299
299
|
cancelled: "cancelled";
|
|
300
300
|
succeeded: "succeeded";
|
|
301
301
|
}>;
|
|
@@ -59,9 +59,9 @@ export type CoreBlockPlacement = z.infer<typeof CoreBlockPlacementSchema>;
|
|
|
59
59
|
/** What a block's process is doing. Mirrors the addon runner's own lifecycle so
|
|
60
60
|
* a failing block reads the same way a failing addon does. */
|
|
61
61
|
export declare const CoreBlockStatusSchema: z.ZodEnum<{
|
|
62
|
-
stopped: "stopped";
|
|
63
|
-
failed: "failed";
|
|
64
62
|
running: "running";
|
|
63
|
+
failed: "failed";
|
|
64
|
+
stopped: "stopped";
|
|
65
65
|
starting: "starting";
|
|
66
66
|
}>;
|
|
67
67
|
export type CoreBlockStatus = z.infer<typeof CoreBlockStatusSchema>;
|
|
@@ -86,9 +86,9 @@ export declare const CoreBlockSchema: z.ZodObject<{
|
|
|
86
86
|
updatedAt: z.ZodNumber;
|
|
87
87
|
createdBy: z.ZodString;
|
|
88
88
|
status: z.ZodEnum<{
|
|
89
|
-
stopped: "stopped";
|
|
90
|
-
failed: "failed";
|
|
91
89
|
running: "running";
|
|
90
|
+
failed: "failed";
|
|
91
|
+
stopped: "stopped";
|
|
92
92
|
starting: "starting";
|
|
93
93
|
}>;
|
|
94
94
|
lastError: z.ZodOptional<z.ZodString>;
|
|
@@ -120,9 +120,9 @@ export declare const coreBlocksCapability: {
|
|
|
120
120
|
updatedAt: z.ZodNumber;
|
|
121
121
|
createdBy: z.ZodString;
|
|
122
122
|
status: z.ZodEnum<{
|
|
123
|
-
stopped: "stopped";
|
|
124
|
-
failed: "failed";
|
|
125
123
|
running: "running";
|
|
124
|
+
failed: "failed";
|
|
125
|
+
stopped: "stopped";
|
|
126
126
|
starting: "starting";
|
|
127
127
|
}>;
|
|
128
128
|
lastError: z.ZodOptional<z.ZodString>;
|
|
@@ -143,9 +143,9 @@ export declare const coreBlocksCapability: {
|
|
|
143
143
|
updatedAt: z.ZodNumber;
|
|
144
144
|
createdBy: z.ZodString;
|
|
145
145
|
status: z.ZodEnum<{
|
|
146
|
-
stopped: "stopped";
|
|
147
|
-
failed: "failed";
|
|
148
146
|
running: "running";
|
|
147
|
+
failed: "failed";
|
|
148
|
+
stopped: "stopped";
|
|
149
149
|
starting: "starting";
|
|
150
150
|
}>;
|
|
151
151
|
lastError: z.ZodOptional<z.ZodString>;
|
|
@@ -177,9 +177,9 @@ export declare const coreBlocksCapability: {
|
|
|
177
177
|
updatedAt: z.ZodNumber;
|
|
178
178
|
createdBy: z.ZodString;
|
|
179
179
|
status: z.ZodEnum<{
|
|
180
|
-
stopped: "stopped";
|
|
181
|
-
failed: "failed";
|
|
182
180
|
running: "running";
|
|
181
|
+
failed: "failed";
|
|
182
|
+
stopped: "stopped";
|
|
183
183
|
starting: "starting";
|
|
184
184
|
}>;
|
|
185
185
|
lastError: z.ZodOptional<z.ZodString>;
|
|
@@ -209,9 +209,9 @@ export declare const coreBlocksCapability: {
|
|
|
209
209
|
updatedAt: z.ZodNumber;
|
|
210
210
|
createdBy: z.ZodString;
|
|
211
211
|
status: z.ZodEnum<{
|
|
212
|
-
stopped: "stopped";
|
|
213
|
-
failed: "failed";
|
|
214
212
|
running: "running";
|
|
213
|
+
failed: "failed";
|
|
214
|
+
stopped: "stopped";
|
|
215
215
|
starting: "starting";
|
|
216
216
|
}>;
|
|
217
217
|
lastError: z.ZodOptional<z.ZodString>;
|
|
@@ -240,9 +240,9 @@ export declare const coreBlocksCapability: {
|
|
|
240
240
|
updatedAt: z.ZodNumber;
|
|
241
241
|
createdBy: z.ZodString;
|
|
242
242
|
status: z.ZodEnum<{
|
|
243
|
-
stopped: "stopped";
|
|
244
|
-
failed: "failed";
|
|
245
243
|
running: "running";
|
|
244
|
+
failed: "failed";
|
|
245
|
+
stopped: "stopped";
|
|
246
246
|
starting: "starting";
|
|
247
247
|
}>;
|
|
248
248
|
lastError: z.ZodOptional<z.ZodString>;
|
|
@@ -276,9 +276,9 @@ export declare const coreBlocksCapability: {
|
|
|
276
276
|
updatedAt: z.ZodNumber;
|
|
277
277
|
createdBy: z.ZodString;
|
|
278
278
|
status: z.ZodEnum<{
|
|
279
|
-
stopped: "stopped";
|
|
280
|
-
failed: "failed";
|
|
281
279
|
running: "running";
|
|
280
|
+
failed: "failed";
|
|
281
|
+
stopped: "stopped";
|
|
282
282
|
starting: "starting";
|
|
283
283
|
}>;
|
|
284
284
|
lastError: z.ZodOptional<z.ZodString>;
|
|
@@ -102,9 +102,9 @@ export declare const CustomModelDescriptorSchema: z.ZodObject<{
|
|
|
102
102
|
nhwc: "nhwc";
|
|
103
103
|
}>>;
|
|
104
104
|
inputNormalization: z.ZodOptional<z.ZodEnum<{
|
|
105
|
+
none: "none";
|
|
105
106
|
"zero-one": "zero-one";
|
|
106
107
|
imagenet: "imagenet";
|
|
107
|
-
none: "none";
|
|
108
108
|
}>>;
|
|
109
109
|
outputProbabilities: z.ZodOptional<z.ZodBoolean>;
|
|
110
110
|
preprocessMode: z.ZodOptional<z.ZodEnum<{
|
|
@@ -255,9 +255,9 @@ export declare const customModelRegistryCapability: {
|
|
|
255
255
|
nhwc: "nhwc";
|
|
256
256
|
}>>;
|
|
257
257
|
inputNormalization: z.ZodOptional<z.ZodEnum<{
|
|
258
|
+
none: "none";
|
|
258
259
|
"zero-one": "zero-one";
|
|
259
260
|
imagenet: "imagenet";
|
|
260
|
-
none: "none";
|
|
261
261
|
}>>;
|
|
262
262
|
outputProbabilities: z.ZodOptional<z.ZodBoolean>;
|
|
263
263
|
preprocessMode: z.ZodOptional<z.ZodEnum<{
|
|
@@ -68,11 +68,11 @@ export declare const decoderCapability: {
|
|
|
68
68
|
codec: z.ZodString;
|
|
69
69
|
maxFps: z.ZodDefault<z.ZodNumber>;
|
|
70
70
|
outputFormat: z.ZodDefault<z.ZodEnum<{
|
|
71
|
-
jpeg: "jpeg";
|
|
72
71
|
rgb: "rgb";
|
|
72
|
+
gray: "gray";
|
|
73
|
+
jpeg: "jpeg";
|
|
73
74
|
bgr: "bgr";
|
|
74
75
|
yuv420: "yuv420";
|
|
75
|
-
gray: "gray";
|
|
76
76
|
}>>;
|
|
77
77
|
scale: z.ZodDefault<z.ZodNumber>;
|
|
78
78
|
width: z.ZodOptional<z.ZodNumber>;
|
|
@@ -95,8 +95,8 @@ export declare const decoderCapability: {
|
|
|
95
95
|
sessionId: z.ZodString;
|
|
96
96
|
packet: z.ZodObject<{
|
|
97
97
|
type: z.ZodEnum<{
|
|
98
|
-
video: "video";
|
|
99
98
|
audio: "audio";
|
|
99
|
+
video: "video";
|
|
100
100
|
}>;
|
|
101
101
|
data: z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>;
|
|
102
102
|
pts: z.ZodNumber;
|
|
@@ -118,11 +118,11 @@ export declare const decoderCapability: {
|
|
|
118
118
|
width: z.ZodNumber;
|
|
119
119
|
height: z.ZodNumber;
|
|
120
120
|
format: z.ZodEnum<{
|
|
121
|
-
jpeg: "jpeg";
|
|
122
121
|
rgb: "rgb";
|
|
122
|
+
gray: "gray";
|
|
123
|
+
jpeg: "jpeg";
|
|
123
124
|
bgr: "bgr";
|
|
124
125
|
yuv420: "yuv420";
|
|
125
|
-
gray: "gray";
|
|
126
126
|
}>;
|
|
127
127
|
timestamp: z.ZodNumber;
|
|
128
128
|
}, z.core.$strip>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
@@ -137,11 +137,11 @@ export declare const decoderCapability: {
|
|
|
137
137
|
width: z.ZodNumber;
|
|
138
138
|
height: z.ZodNumber;
|
|
139
139
|
format: z.ZodEnum<{
|
|
140
|
-
jpeg: "jpeg";
|
|
141
140
|
rgb: "rgb";
|
|
141
|
+
gray: "gray";
|
|
142
|
+
jpeg: "jpeg";
|
|
142
143
|
bgr: "bgr";
|
|
143
144
|
yuv420: "yuv420";
|
|
144
|
-
gray: "gray";
|
|
145
145
|
}>;
|
|
146
146
|
pts: z.ZodNumber;
|
|
147
147
|
byteLength: z.ZodNumber;
|
|
@@ -156,11 +156,11 @@ export declare const decoderCapability: {
|
|
|
156
156
|
width: z.ZodNumber;
|
|
157
157
|
height: z.ZodNumber;
|
|
158
158
|
format: z.ZodEnum<{
|
|
159
|
-
jpeg: "jpeg";
|
|
160
159
|
rgb: "rgb";
|
|
160
|
+
gray: "gray";
|
|
161
|
+
jpeg: "jpeg";
|
|
161
162
|
bgr: "bgr";
|
|
162
163
|
yuv420: "yuv420";
|
|
163
|
-
gray: "gray";
|
|
164
164
|
}>;
|
|
165
165
|
pts: z.ZodNumber;
|
|
166
166
|
byteLength: z.ZodNumber;
|
|
@@ -172,11 +172,11 @@ export declare const decoderCapability: {
|
|
|
172
172
|
width: z.ZodNumber;
|
|
173
173
|
height: z.ZodNumber;
|
|
174
174
|
format: z.ZodEnum<{
|
|
175
|
-
jpeg: "jpeg";
|
|
176
175
|
rgb: "rgb";
|
|
176
|
+
gray: "gray";
|
|
177
|
+
jpeg: "jpeg";
|
|
177
178
|
bgr: "bgr";
|
|
178
179
|
yuv420: "yuv420";
|
|
179
|
-
gray: "gray";
|
|
180
180
|
}>;
|
|
181
181
|
timestamp: z.ZodNumber;
|
|
182
182
|
}, z.core.$strip>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
@@ -198,11 +198,11 @@ export declare const decoderCapability: {
|
|
|
198
198
|
codec: z.ZodOptional<z.ZodString>;
|
|
199
199
|
maxFps: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
200
200
|
outputFormat: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
201
|
-
jpeg: "jpeg";
|
|
202
201
|
rgb: "rgb";
|
|
202
|
+
gray: "gray";
|
|
203
|
+
jpeg: "jpeg";
|
|
203
204
|
bgr: "bgr";
|
|
204
205
|
yuv420: "yuv420";
|
|
205
|
-
gray: "gray";
|
|
206
206
|
}>>>;
|
|
207
207
|
scale: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
208
208
|
width: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
@@ -245,8 +245,8 @@ export declare const MigrateSwitchReportSchema: z.ZodObject<{
|
|
|
245
245
|
deviceId: z.ZodNumber;
|
|
246
246
|
switchId: z.ZodEnum<{
|
|
247
247
|
"privacy-mask": "privacy-mask";
|
|
248
|
-
"audio-analysis": "audio-analysis";
|
|
249
248
|
recording: "recording";
|
|
249
|
+
"audio-analysis": "audio-analysis";
|
|
250
250
|
"stream-broker": "stream-broker";
|
|
251
251
|
notifications: "notifications";
|
|
252
252
|
"object-detection": "object-detection";
|
|
@@ -268,8 +268,8 @@ export declare const MigrateDeviceResultSchema: z.ZodObject<{
|
|
|
268
268
|
deviceId: z.ZodNumber;
|
|
269
269
|
switchId: z.ZodEnum<{
|
|
270
270
|
"privacy-mask": "privacy-mask";
|
|
271
|
-
"audio-analysis": "audio-analysis";
|
|
272
271
|
recording: "recording";
|
|
272
|
+
"audio-analysis": "audio-analysis";
|
|
273
273
|
"stream-broker": "stream-broker";
|
|
274
274
|
notifications: "notifications";
|
|
275
275
|
"object-detection": "object-detection";
|
|
@@ -286,8 +286,8 @@ export declare const MigrateDeviceResultSchema: z.ZodObject<{
|
|
|
286
286
|
}, z.core.$strip>>>;
|
|
287
287
|
sourceStillLive: z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
288
288
|
"privacy-mask": "privacy-mask";
|
|
289
|
-
"audio-analysis": "audio-analysis";
|
|
290
289
|
recording: "recording";
|
|
290
|
+
"audio-analysis": "audio-analysis";
|
|
291
291
|
"stream-broker": "stream-broker";
|
|
292
292
|
notifications: "notifications";
|
|
293
293
|
"object-detection": "object-detection";
|
|
@@ -355,8 +355,8 @@ export declare const deviceManagerCapability: {
|
|
|
355
355
|
deviceId: z.ZodNumber;
|
|
356
356
|
switchId: z.ZodEnum<{
|
|
357
357
|
"privacy-mask": "privacy-mask";
|
|
358
|
-
"audio-analysis": "audio-analysis";
|
|
359
358
|
recording: "recording";
|
|
359
|
+
"audio-analysis": "audio-analysis";
|
|
360
360
|
"stream-broker": "stream-broker";
|
|
361
361
|
notifications: "notifications";
|
|
362
362
|
"object-detection": "object-detection";
|
|
@@ -373,8 +373,8 @@ export declare const deviceManagerCapability: {
|
|
|
373
373
|
}, z.core.$strip>>>;
|
|
374
374
|
sourceStillLive: z.ZodReadonly<z.ZodArray<z.ZodEnum<{
|
|
375
375
|
"privacy-mask": "privacy-mask";
|
|
376
|
-
"audio-analysis": "audio-analysis";
|
|
377
376
|
recording: "recording";
|
|
377
|
+
"audio-analysis": "audio-analysis";
|
|
378
378
|
"stream-broker": "stream-broker";
|
|
379
379
|
notifications: "notifications";
|
|
380
380
|
"object-detection": "object-detection";
|
|
@@ -1543,9 +1543,9 @@ export declare const deviceManagerCapability: {
|
|
|
1543
1543
|
addonId: z.ZodString;
|
|
1544
1544
|
integrationId: z.ZodString;
|
|
1545
1545
|
state: z.ZodEnum<{
|
|
1546
|
-
failed: "failed";
|
|
1547
1546
|
running: "running";
|
|
1548
1547
|
done: "done";
|
|
1548
|
+
failed: "failed";
|
|
1549
1549
|
cancelled: "cancelled";
|
|
1550
1550
|
}>;
|
|
1551
1551
|
total: z.ZodNumber;
|
|
@@ -30,13 +30,13 @@ export declare const ImageRotateSchema: z.ZodEnum<{
|
|
|
30
30
|
}>;
|
|
31
31
|
/** White-balance mode. `manual` unlocks the normalized `warmth` knob. */
|
|
32
32
|
export declare const WhiteBalanceModeSchema: z.ZodEnum<{
|
|
33
|
-
auto: "auto";
|
|
34
33
|
manual: "manual";
|
|
34
|
+
auto: "auto";
|
|
35
35
|
}>;
|
|
36
36
|
/** Exposure mode. */
|
|
37
37
|
export declare const ExposureModeSchema: z.ZodEnum<{
|
|
38
|
-
auto: "auto";
|
|
39
38
|
manual: "manual";
|
|
39
|
+
auto: "auto";
|
|
40
40
|
}>;
|
|
41
41
|
/**
|
|
42
42
|
* Backlight-compensation mode:
|
|
@@ -70,13 +70,13 @@ export declare const ImageSettingsStatusSchema: z.ZodObject<{
|
|
|
70
70
|
270: "270";
|
|
71
71
|
}>>;
|
|
72
72
|
whiteBalance: z.ZodOptional<z.ZodEnum<{
|
|
73
|
-
auto: "auto";
|
|
74
73
|
manual: "manual";
|
|
74
|
+
auto: "auto";
|
|
75
75
|
}>>;
|
|
76
76
|
warmth: z.ZodOptional<z.ZodNumber>;
|
|
77
77
|
exposureMode: z.ZodOptional<z.ZodEnum<{
|
|
78
|
-
auto: "auto";
|
|
79
78
|
manual: "manual";
|
|
79
|
+
auto: "auto";
|
|
80
80
|
}>>;
|
|
81
81
|
backlightMode: z.ZodOptional<z.ZodEnum<{
|
|
82
82
|
off: "off";
|
|
@@ -127,8 +127,8 @@ export declare const ImageSettingsOptionsSchema: z.ZodObject<{
|
|
|
127
127
|
270: "270";
|
|
128
128
|
}>>;
|
|
129
129
|
whiteBalanceModes: z.ZodArray<z.ZodEnum<{
|
|
130
|
-
auto: "auto";
|
|
131
130
|
manual: "manual";
|
|
131
|
+
auto: "auto";
|
|
132
132
|
}>>;
|
|
133
133
|
supportsWarmth: z.ZodBoolean;
|
|
134
134
|
warmth: z.ZodOptional<z.ZodObject<{
|
|
@@ -137,8 +137,8 @@ export declare const ImageSettingsOptionsSchema: z.ZodObject<{
|
|
|
137
137
|
step: z.ZodNumber;
|
|
138
138
|
}, z.core.$strip>>;
|
|
139
139
|
exposureModes: z.ZodArray<z.ZodEnum<{
|
|
140
|
-
auto: "auto";
|
|
141
140
|
manual: "manual";
|
|
141
|
+
auto: "auto";
|
|
142
142
|
}>>;
|
|
143
143
|
backlightModes: z.ZodArray<z.ZodEnum<{
|
|
144
144
|
off: "off";
|
|
@@ -165,13 +165,13 @@ export declare const ImageSettingsPatchSchema: z.ZodObject<{
|
|
|
165
165
|
270: "270";
|
|
166
166
|
}>>;
|
|
167
167
|
whiteBalance: z.ZodOptional<z.ZodEnum<{
|
|
168
|
-
auto: "auto";
|
|
169
168
|
manual: "manual";
|
|
169
|
+
auto: "auto";
|
|
170
170
|
}>>;
|
|
171
171
|
warmth: z.ZodOptional<z.ZodNumber>;
|
|
172
172
|
exposureMode: z.ZodOptional<z.ZodEnum<{
|
|
173
|
-
auto: "auto";
|
|
174
173
|
manual: "manual";
|
|
174
|
+
auto: "auto";
|
|
175
175
|
}>>;
|
|
176
176
|
backlightMode: z.ZodOptional<z.ZodEnum<{
|
|
177
177
|
off: "off";
|
|
@@ -237,8 +237,8 @@ export declare const imageSettingsCapability: {
|
|
|
237
237
|
270: "270";
|
|
238
238
|
}>>;
|
|
239
239
|
whiteBalanceModes: z.ZodArray<z.ZodEnum<{
|
|
240
|
-
auto: "auto";
|
|
241
240
|
manual: "manual";
|
|
241
|
+
auto: "auto";
|
|
242
242
|
}>>;
|
|
243
243
|
supportsWarmth: z.ZodBoolean;
|
|
244
244
|
warmth: z.ZodOptional<z.ZodObject<{
|
|
@@ -247,8 +247,8 @@ export declare const imageSettingsCapability: {
|
|
|
247
247
|
step: z.ZodNumber;
|
|
248
248
|
}, z.core.$strip>>;
|
|
249
249
|
exposureModes: z.ZodArray<z.ZodEnum<{
|
|
250
|
-
auto: "auto";
|
|
251
250
|
manual: "manual";
|
|
251
|
+
auto: "auto";
|
|
252
252
|
}>>;
|
|
253
253
|
backlightModes: z.ZodArray<z.ZodEnum<{
|
|
254
254
|
off: "off";
|
|
@@ -273,13 +273,13 @@ export declare const imageSettingsCapability: {
|
|
|
273
273
|
270: "270";
|
|
274
274
|
}>>;
|
|
275
275
|
whiteBalance: z.ZodOptional<z.ZodEnum<{
|
|
276
|
-
auto: "auto";
|
|
277
276
|
manual: "manual";
|
|
277
|
+
auto: "auto";
|
|
278
278
|
}>>;
|
|
279
279
|
warmth: z.ZodOptional<z.ZodNumber>;
|
|
280
280
|
exposureMode: z.ZodOptional<z.ZodEnum<{
|
|
281
|
-
auto: "auto";
|
|
282
281
|
manual: "manual";
|
|
282
|
+
auto: "auto";
|
|
283
283
|
}>>;
|
|
284
284
|
backlightMode: z.ZodOptional<z.ZodEnum<{
|
|
285
285
|
off: "off";
|
|
@@ -305,13 +305,13 @@ export declare const imageSettingsCapability: {
|
|
|
305
305
|
270: "270";
|
|
306
306
|
}>>;
|
|
307
307
|
whiteBalance: z.ZodOptional<z.ZodEnum<{
|
|
308
|
-
auto: "auto";
|
|
309
308
|
manual: "manual";
|
|
309
|
+
auto: "auto";
|
|
310
310
|
}>>;
|
|
311
311
|
warmth: z.ZodOptional<z.ZodNumber>;
|
|
312
312
|
exposureMode: z.ZodOptional<z.ZodEnum<{
|
|
313
|
-
auto: "auto";
|
|
314
313
|
manual: "manual";
|
|
314
|
+
auto: "auto";
|
|
315
315
|
}>>;
|
|
316
316
|
backlightMode: z.ZodOptional<z.ZodEnum<{
|
|
317
317
|
off: "off";
|
|
@@ -337,13 +337,13 @@ export declare const imageSettingsCapability: {
|
|
|
337
337
|
270: "270";
|
|
338
338
|
}>>;
|
|
339
339
|
whiteBalance: z.ZodOptional<z.ZodEnum<{
|
|
340
|
-
auto: "auto";
|
|
341
340
|
manual: "manual";
|
|
341
|
+
auto: "auto";
|
|
342
342
|
}>>;
|
|
343
343
|
warmth: z.ZodOptional<z.ZodNumber>;
|
|
344
344
|
exposureMode: z.ZodOptional<z.ZodEnum<{
|
|
345
|
-
auto: "auto";
|
|
346
345
|
manual: "manual";
|
|
346
|
+
auto: "auto";
|
|
347
347
|
}>>;
|
|
348
348
|
backlightMode: z.ZodOptional<z.ZodEnum<{
|
|
349
349
|
off: "off";
|