@camstack/types 1.0.5 → 1.0.6
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 +34 -0
- package/dist/addon.js +22 -0
- package/dist/addon.mjs +3 -0
- package/dist/capabilities/addons.cap.d.ts +3 -3
- package/dist/capabilities/advanced-notifier.cap.d.ts +4 -4
- package/dist/capabilities/alerts.cap.d.ts +5 -5
- package/dist/capabilities/audio-codec.cap.d.ts +2 -2
- package/dist/capabilities/camera-streams.cap.d.ts +10 -10
- package/dist/capabilities/consumables.cap.d.ts +4 -4
- package/dist/capabilities/cover.cap.d.ts +4 -4
- package/dist/capabilities/decoder.cap.d.ts +1 -1
- package/dist/capabilities/local-network.cap.d.ts +6 -6
- package/dist/capabilities/log-destination.cap.d.ts +5 -5
- package/dist/capabilities/media-player.cap.d.ts +4 -4
- package/dist/capabilities/mesh-network.cap.d.ts +3 -3
- package/dist/capabilities/metrics-provider.cap.d.ts +33 -3
- package/dist/capabilities/network-access.cap.d.ts +7 -7
- package/dist/capabilities/oauth-integration.cap.d.ts +2 -2
- package/dist/capabilities/pipeline-orchestrator.cap.d.ts +3 -3
- package/dist/capabilities/platform-probe.cap.d.ts +1 -1
- package/dist/capabilities/restreamer.cap.d.ts +2 -2
- package/dist/capabilities/schemas/streaming-shared.d.ts +7 -7
- package/dist/capabilities/sso-bridge.cap.d.ts +3 -3
- package/dist/capabilities/storage.cap.d.ts +1 -1
- package/dist/capabilities/stream-broker.cap.d.ts +27 -27
- package/dist/capabilities/stream-params.cap.d.ts +14 -14
- package/dist/capabilities/user-management.cap.d.ts +20 -20
- package/dist/capabilities/vacuum-control.cap.d.ts +13 -13
- package/dist/capabilities/valve.cap.d.ts +4 -4
- package/dist/capabilities/webrtc-session.cap.d.ts +12 -12
- package/dist/deps/binary-downloader.d.ts +1 -1
- package/dist/deps/ffmpeg-downloader.d.ts +1 -1
- package/dist/deps/python-downloader.d.ts +1 -1
- package/dist/device/base-device-provider.d.ts +4 -1
- package/dist/encode-profile.d.ts +2 -2
- package/dist/err-msg-COpsHMw2.js +18 -0
- package/dist/err-msg-IQTHeDzc.mjs +13 -0
- package/dist/generated/addon-api.d.ts +22 -12
- package/dist/generated/method-access-map.d.ts +1 -1
- package/dist/generated/system-proxy.d.ts +1 -1
- package/dist/health/wiring-health.d.ts +16 -16
- package/dist/index.js +1098 -4572
- package/dist/index.mjs +156 -3629
- package/dist/interfaces/metrics-provider.d.ts +3 -1
- package/dist/node.js +3 -3
- package/dist/node.mjs +1 -1
- package/dist/schemas/auth-records.d.ts +4 -4
- package/dist/sleep-D7JeS58T.mjs +3507 -0
- package/dist/sleep-DnS0eJh_.js +3920 -0
- package/dist/storage/filesystem-storage-provider.d.ts +2 -1
- package/package.json +6 -1
|
@@ -157,6 +157,8 @@ declare const PidResourceStatsSchema: z.ZodObject<{
|
|
|
157
157
|
pid: z.ZodNumber;
|
|
158
158
|
cpu: z.ZodNumber;
|
|
159
159
|
memory: z.ZodNumber;
|
|
160
|
+
privateBytes: z.ZodOptional<z.ZodNumber>;
|
|
161
|
+
sharedBytes: z.ZodOptional<z.ZodNumber>;
|
|
160
162
|
}, z.core.$strip>;
|
|
161
163
|
declare const AddonInstanceSchema: z.ZodObject<{
|
|
162
164
|
addonId: z.ZodString;
|
|
@@ -168,8 +170,8 @@ declare const AddonInstanceSchema: z.ZodObject<{
|
|
|
168
170
|
pid: z.ZodNumber;
|
|
169
171
|
state: z.ZodEnum<{
|
|
170
172
|
running: "running";
|
|
171
|
-
stopped: "stopped";
|
|
172
173
|
starting: "starting";
|
|
174
|
+
stopped: "stopped";
|
|
173
175
|
stopping: "stopping";
|
|
174
176
|
crashed: "crashed";
|
|
175
177
|
}>;
|
|
@@ -205,6 +207,15 @@ declare const KillProcessResultSchema: z.ZodObject<{
|
|
|
205
207
|
SIGKILL: "SIGKILL";
|
|
206
208
|
}>>;
|
|
207
209
|
}, z.core.$strip>;
|
|
210
|
+
declare const DumpHeapSnapshotInputSchema: z.ZodObject<{
|
|
211
|
+
addonId: z.ZodString;
|
|
212
|
+
}, z.core.$strip>;
|
|
213
|
+
declare const DumpHeapSnapshotResultSchema: z.ZodObject<{
|
|
214
|
+
success: z.ZodBoolean;
|
|
215
|
+
path: z.ZodOptional<z.ZodString>;
|
|
216
|
+
pid: z.ZodOptional<z.ZodNumber>;
|
|
217
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
218
|
+
}, z.core.$strip>;
|
|
208
219
|
declare const SystemMetricsSchema: z.ZodObject<{
|
|
209
220
|
cpuPercent: z.ZodNumber;
|
|
210
221
|
memoryPercent: z.ZodNumber;
|
|
@@ -436,6 +447,8 @@ export declare const metricsProviderCapability: {
|
|
|
436
447
|
pid: z.ZodNumber;
|
|
437
448
|
cpu: z.ZodNumber;
|
|
438
449
|
memory: z.ZodNumber;
|
|
450
|
+
privateBytes: z.ZodOptional<z.ZodNumber>;
|
|
451
|
+
sharedBytes: z.ZodOptional<z.ZodNumber>;
|
|
439
452
|
}, z.core.$strip>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
440
453
|
/**
|
|
441
454
|
* List addon instances known to this node — one entry per forked worker
|
|
@@ -453,8 +466,8 @@ export declare const metricsProviderCapability: {
|
|
|
453
466
|
pid: z.ZodNumber;
|
|
454
467
|
state: z.ZodEnum<{
|
|
455
468
|
running: "running";
|
|
456
|
-
stopped: "stopped";
|
|
457
469
|
starting: "starting";
|
|
470
|
+
stopped: "stopped";
|
|
458
471
|
stopping: "stopping";
|
|
459
472
|
crashed: "crashed";
|
|
460
473
|
}>;
|
|
@@ -472,6 +485,8 @@ export declare const metricsProviderCapability: {
|
|
|
472
485
|
pid: z.ZodNumber;
|
|
473
486
|
cpu: z.ZodNumber;
|
|
474
487
|
memory: z.ZodNumber;
|
|
488
|
+
privateBytes: z.ZodOptional<z.ZodNumber>;
|
|
489
|
+
sharedBytes: z.ZodOptional<z.ZodNumber>;
|
|
475
490
|
}, z.core.$strip>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
476
491
|
/**
|
|
477
492
|
* Snapshot of every camstack-related process on this node with a
|
|
@@ -515,7 +530,22 @@ export declare const metricsProviderCapability: {
|
|
|
515
530
|
SIGKILL: "SIGKILL";
|
|
516
531
|
}>>;
|
|
517
532
|
}, z.core.$strip>, "mutation">;
|
|
533
|
+
/**
|
|
534
|
+
* Tell the addon's forked runner to write a V8 heap snapshot to disk (via
|
|
535
|
+
* SIGUSR2 — the runner's diagnostic handler). Also logs its
|
|
536
|
+
* `process.memoryUsage()` + heap-space breakdown. Refuses pids not in the
|
|
537
|
+
* live `listNodeProcesses()` snapshot. Use for deep per-addon memory
|
|
538
|
+
* attribution; copy the returned path off the node to analyze.
|
|
539
|
+
*/
|
|
540
|
+
readonly dumpHeapSnapshot: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
541
|
+
addonId: z.ZodString;
|
|
542
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
543
|
+
success: z.ZodBoolean;
|
|
544
|
+
path: z.ZodOptional<z.ZodString>;
|
|
545
|
+
pid: z.ZodOptional<z.ZodNumber>;
|
|
546
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
547
|
+
}, z.core.$strip>, "mutation">;
|
|
518
548
|
};
|
|
519
549
|
};
|
|
520
550
|
export type IMetricsProvider = InferProvider<typeof metricsProviderCapability>;
|
|
521
|
-
export { SystemMetricsSchema, SystemResourceSnapshotSchema, DiskSpaceInfoSchema, MetricsGpuInfoSchema, PidResourceStatsSchema, AddonInstanceSchema, NodeProcessSchema, KillProcessInputSchema, KillProcessResultSchema, CpuBreakdownSchema, MemoryInfoSchema, DiskIoSnapshotSchema, NetworkIoSnapshotSchema, ProcessResourceInfoSchema, PressureInfoSchema, };
|
|
551
|
+
export { SystemMetricsSchema, SystemResourceSnapshotSchema, DiskSpaceInfoSchema, MetricsGpuInfoSchema, PidResourceStatsSchema, AddonInstanceSchema, NodeProcessSchema, KillProcessInputSchema, KillProcessResultSchema, DumpHeapSnapshotInputSchema, DumpHeapSnapshotResultSchema, CpuBreakdownSchema, MemoryInfoSchema, DiskIoSnapshotSchema, NetworkIoSnapshotSchema, ProcessResourceInfoSchema, PressureInfoSchema, };
|
|
@@ -5,8 +5,8 @@ declare const NetworkEndpointSchema: z.ZodObject<{
|
|
|
5
5
|
hostname: z.ZodString;
|
|
6
6
|
port: z.ZodNumber;
|
|
7
7
|
protocol: z.ZodEnum<{
|
|
8
|
-
https: "https";
|
|
9
8
|
http: "http";
|
|
9
|
+
https: "https";
|
|
10
10
|
}>;
|
|
11
11
|
}, z.core.$strip>;
|
|
12
12
|
declare const NetworkAccessStatusSchema: z.ZodObject<{
|
|
@@ -16,8 +16,8 @@ declare const NetworkAccessStatusSchema: z.ZodObject<{
|
|
|
16
16
|
hostname: z.ZodString;
|
|
17
17
|
port: z.ZodNumber;
|
|
18
18
|
protocol: z.ZodEnum<{
|
|
19
|
-
https: "https";
|
|
20
19
|
http: "http";
|
|
20
|
+
https: "https";
|
|
21
21
|
}>;
|
|
22
22
|
}, z.core.$strip>>;
|
|
23
23
|
error: z.ZodOptional<z.ZodString>;
|
|
@@ -37,8 +37,8 @@ declare const NetworkEndpointEntrySchema: z.ZodObject<{
|
|
|
37
37
|
hostname: z.ZodString;
|
|
38
38
|
port: z.ZodNumber;
|
|
39
39
|
protocol: z.ZodEnum<{
|
|
40
|
-
https: "https";
|
|
41
40
|
http: "http";
|
|
41
|
+
https: "https";
|
|
42
42
|
}>;
|
|
43
43
|
id: z.ZodString;
|
|
44
44
|
label: z.ZodString;
|
|
@@ -56,8 +56,8 @@ export declare const networkAccessCapability: {
|
|
|
56
56
|
hostname: z.ZodString;
|
|
57
57
|
port: z.ZodNumber;
|
|
58
58
|
protocol: z.ZodEnum<{
|
|
59
|
-
https: "https";
|
|
60
59
|
http: "http";
|
|
60
|
+
https: "https";
|
|
61
61
|
}>;
|
|
62
62
|
}, z.core.$strip>, "mutation">;
|
|
63
63
|
readonly stop: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodVoid, "mutation">;
|
|
@@ -66,8 +66,8 @@ export declare const networkAccessCapability: {
|
|
|
66
66
|
hostname: z.ZodString;
|
|
67
67
|
port: z.ZodNumber;
|
|
68
68
|
protocol: z.ZodEnum<{
|
|
69
|
-
https: "https";
|
|
70
69
|
http: "http";
|
|
70
|
+
https: "https";
|
|
71
71
|
}>;
|
|
72
72
|
}, z.core.$strip>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
73
73
|
readonly getStatus: import("./capability-definition.js").CapabilityMethodSchema<z.ZodVoid, z.ZodObject<{
|
|
@@ -77,8 +77,8 @@ export declare const networkAccessCapability: {
|
|
|
77
77
|
hostname: z.ZodString;
|
|
78
78
|
port: z.ZodNumber;
|
|
79
79
|
protocol: z.ZodEnum<{
|
|
80
|
-
https: "https";
|
|
81
80
|
http: "http";
|
|
81
|
+
https: "https";
|
|
82
82
|
}>;
|
|
83
83
|
}, z.core.$strip>>;
|
|
84
84
|
error: z.ZodOptional<z.ZodString>;
|
|
@@ -93,8 +93,8 @@ export declare const networkAccessCapability: {
|
|
|
93
93
|
hostname: z.ZodString;
|
|
94
94
|
port: z.ZodNumber;
|
|
95
95
|
protocol: z.ZodEnum<{
|
|
96
|
-
https: "https";
|
|
97
96
|
http: "http";
|
|
97
|
+
https: "https";
|
|
98
98
|
}>;
|
|
99
99
|
id: z.ZodString;
|
|
100
100
|
label: z.ZodString;
|
|
@@ -13,8 +13,8 @@ declare const OauthIntegrationDescriptorSchema: z.ZodObject<{
|
|
|
13
13
|
requestedScopes: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
14
14
|
type: z.ZodLiteral<"category">;
|
|
15
15
|
target: z.ZodEnum<{
|
|
16
|
-
device: "device";
|
|
17
16
|
system: "system";
|
|
17
|
+
device: "device";
|
|
18
18
|
}>;
|
|
19
19
|
access: z.ZodArray<z.ZodEnum<{
|
|
20
20
|
view: "view";
|
|
@@ -61,8 +61,8 @@ export declare const oauthIntegrationCapability: {
|
|
|
61
61
|
requestedScopes: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
62
62
|
type: z.ZodLiteral<"category">;
|
|
63
63
|
target: z.ZodEnum<{
|
|
64
|
-
device: "device";
|
|
65
64
|
system: "system";
|
|
65
|
+
device: "device";
|
|
66
66
|
}>;
|
|
67
67
|
access: z.ZodArray<z.ZodEnum<{
|
|
68
68
|
view: "view";
|
|
@@ -103,11 +103,11 @@ declare const PipelineAssignmentSchema: z.ZodObject<{
|
|
|
103
103
|
agentNodeId: z.ZodString;
|
|
104
104
|
pinned: z.ZodBoolean;
|
|
105
105
|
reason: z.ZodEnum<{
|
|
106
|
-
rebalance: "rebalance";
|
|
107
106
|
manual: "manual";
|
|
108
107
|
capacity: "capacity";
|
|
109
108
|
"hardware-affinity": "hardware-affinity";
|
|
110
109
|
failover: "failover";
|
|
110
|
+
rebalance: "rebalance";
|
|
111
111
|
}>;
|
|
112
112
|
assignedAt: z.ZodNumber;
|
|
113
113
|
}, z.core.$strip>;
|
|
@@ -496,11 +496,11 @@ export declare const pipelineOrchestratorCapability: {
|
|
|
496
496
|
agentNodeId: z.ZodString;
|
|
497
497
|
pinned: z.ZodBoolean;
|
|
498
498
|
reason: z.ZodEnum<{
|
|
499
|
-
rebalance: "rebalance";
|
|
500
499
|
manual: "manual";
|
|
501
500
|
capacity: "capacity";
|
|
502
501
|
"hardware-affinity": "hardware-affinity";
|
|
503
502
|
failover: "failover";
|
|
503
|
+
rebalance: "rebalance";
|
|
504
504
|
}>;
|
|
505
505
|
assignedAt: z.ZodNumber;
|
|
506
506
|
}, z.core.$strip>>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
@@ -512,11 +512,11 @@ export declare const pipelineOrchestratorCapability: {
|
|
|
512
512
|
agentNodeId: z.ZodString;
|
|
513
513
|
pinned: z.ZodBoolean;
|
|
514
514
|
reason: z.ZodEnum<{
|
|
515
|
-
rebalance: "rebalance";
|
|
516
515
|
manual: "manual";
|
|
517
516
|
capacity: "capacity";
|
|
518
517
|
"hardware-affinity": "hardware-affinity";
|
|
519
518
|
failover: "failover";
|
|
519
|
+
rebalance: "rebalance";
|
|
520
520
|
}>;
|
|
521
521
|
assignedAt: z.ZodNumber;
|
|
522
522
|
}, z.core.$strip>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
@@ -249,8 +249,8 @@ export declare const platformProbeCapability: {
|
|
|
249
249
|
prefer: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
250
250
|
coreml: "coreml";
|
|
251
251
|
openvino: "openvino";
|
|
252
|
-
tensorrt: "tensorrt";
|
|
253
252
|
none: "none";
|
|
253
|
+
tensorrt: "tensorrt";
|
|
254
254
|
videotoolbox: "videotoolbox";
|
|
255
255
|
cuda: "cuda";
|
|
256
256
|
nvdec: "nvdec";
|
|
@@ -5,8 +5,8 @@ declare const RegisteredStreamSchema: z.ZodObject<{
|
|
|
5
5
|
label: z.ZodOptional<z.ZodString>;
|
|
6
6
|
codec: z.ZodString;
|
|
7
7
|
type: z.ZodEnum<{
|
|
8
|
-
video: "video";
|
|
9
8
|
audio: "audio";
|
|
9
|
+
video: "video";
|
|
10
10
|
}>;
|
|
11
11
|
sourceUrl: z.ZodString;
|
|
12
12
|
}, z.core.$strip>;
|
|
@@ -28,8 +28,8 @@ export declare const restreamerCapability: {
|
|
|
28
28
|
label: z.ZodOptional<z.ZodString>;
|
|
29
29
|
codec: z.ZodString;
|
|
30
30
|
type: z.ZodEnum<{
|
|
31
|
-
video: "video";
|
|
32
31
|
audio: "audio";
|
|
32
|
+
video: "video";
|
|
33
33
|
}>;
|
|
34
34
|
sourceUrl: z.ZodString;
|
|
35
35
|
}, z.core.$strip>>>;
|
|
@@ -47,10 +47,10 @@ export declare const CameraStreamSchema: z.ZodObject<{
|
|
|
47
47
|
export type CameraStream = z.infer<typeof CameraStreamSchema>;
|
|
48
48
|
export declare const ProfileSlotStatusSchema: z.ZodEnum<{
|
|
49
49
|
error: "error";
|
|
50
|
-
streaming: "streaming";
|
|
51
50
|
idle: "idle";
|
|
52
51
|
unassigned: "unassigned";
|
|
53
52
|
connecting: "connecting";
|
|
53
|
+
streaming: "streaming";
|
|
54
54
|
}>;
|
|
55
55
|
export type ProfileSlotStatus = z.infer<typeof ProfileSlotStatusSchema>;
|
|
56
56
|
export declare const ProfileSlotSchema: z.ZodObject<{
|
|
@@ -64,10 +64,10 @@ export declare const ProfileSlotSchema: z.ZodObject<{
|
|
|
64
64
|
sourceCamStreamId: z.ZodNullable<z.ZodString>;
|
|
65
65
|
status: z.ZodEnum<{
|
|
66
66
|
error: "error";
|
|
67
|
-
streaming: "streaming";
|
|
68
67
|
idle: "idle";
|
|
69
68
|
unassigned: "unassigned";
|
|
70
69
|
connecting: "connecting";
|
|
70
|
+
streaming: "streaming";
|
|
71
71
|
}>;
|
|
72
72
|
resolution: z.ZodOptional<z.ZodObject<{
|
|
73
73
|
width: z.ZodNumber;
|
|
@@ -149,8 +149,8 @@ export declare const StreamSourceSchema: z.ZodObject<{
|
|
|
149
149
|
}, z.core.$strip>;
|
|
150
150
|
export declare const EncodedPacketSchema: z.ZodObject<{
|
|
151
151
|
type: z.ZodEnum<{
|
|
152
|
-
video: "video";
|
|
153
152
|
audio: "audio";
|
|
153
|
+
video: "video";
|
|
154
154
|
}>;
|
|
155
155
|
data: z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>;
|
|
156
156
|
pts: z.ZodNumber;
|
|
@@ -280,18 +280,18 @@ export declare const SubscribeAudioChunksResultSchema: z.ZodObject<{
|
|
|
280
280
|
export type SubscribeAudioChunksResult = z.infer<typeof SubscribeAudioChunksResultSchema>;
|
|
281
281
|
export declare const BrokerStatusSchema: z.ZodEnum<{
|
|
282
282
|
error: "error";
|
|
283
|
-
streaming: "streaming";
|
|
284
283
|
idle: "idle";
|
|
285
|
-
stopped: "stopped";
|
|
286
284
|
connecting: "connecting";
|
|
285
|
+
streaming: "streaming";
|
|
286
|
+
stopped: "stopped";
|
|
287
287
|
}>;
|
|
288
288
|
export declare const BrokerStatsSchema: z.ZodObject<{
|
|
289
289
|
status: z.ZodEnum<{
|
|
290
290
|
error: "error";
|
|
291
|
-
streaming: "streaming";
|
|
292
291
|
idle: "idle";
|
|
293
|
-
stopped: "stopped";
|
|
294
292
|
connecting: "connecting";
|
|
293
|
+
streaming: "streaming";
|
|
294
|
+
stopped: "stopped";
|
|
295
295
|
}>;
|
|
296
296
|
inputFps: z.ZodNumber;
|
|
297
297
|
decodeFps: z.ZodNumber;
|
|
@@ -25,8 +25,8 @@ declare const SsoBridgeClaimsSchema: z.ZodObject<{
|
|
|
25
25
|
scopes: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
26
26
|
type: z.ZodLiteral<"category">;
|
|
27
27
|
target: z.ZodEnum<{
|
|
28
|
-
device: "device";
|
|
29
28
|
system: "system";
|
|
29
|
+
device: "device";
|
|
30
30
|
}>;
|
|
31
31
|
access: z.ZodArray<z.ZodEnum<{
|
|
32
32
|
view: "view";
|
|
@@ -81,8 +81,8 @@ export declare const ssoBridgeCapability: {
|
|
|
81
81
|
scopes: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
82
82
|
type: z.ZodLiteral<"category">;
|
|
83
83
|
target: z.ZodEnum<{
|
|
84
|
-
device: "device";
|
|
85
84
|
system: "system";
|
|
85
|
+
device: "device";
|
|
86
86
|
}>;
|
|
87
87
|
access: z.ZodArray<z.ZodEnum<{
|
|
88
88
|
view: "view";
|
|
@@ -136,8 +136,8 @@ export declare const ssoBridgeCapability: {
|
|
|
136
136
|
scopes: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
137
137
|
type: z.ZodLiteral<"category">;
|
|
138
138
|
target: z.ZodEnum<{
|
|
139
|
-
device: "device";
|
|
140
139
|
system: "system";
|
|
140
|
+
device: "device";
|
|
141
141
|
}>;
|
|
142
142
|
access: z.ZodArray<z.ZodEnum<{
|
|
143
143
|
view: "view";
|
|
@@ -125,11 +125,11 @@ export declare const storageCapability: {
|
|
|
125
125
|
}, z.core.$strip>>>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
126
126
|
readonly upsertLocation: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
127
127
|
type: z.ZodString;
|
|
128
|
-
nodeId: z.ZodOptional<z.ZodString>;
|
|
129
128
|
id: z.ZodString;
|
|
130
129
|
displayName: z.ZodString;
|
|
131
130
|
providerId: z.ZodString;
|
|
132
131
|
config: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
132
|
+
nodeId: z.ZodOptional<z.ZodString>;
|
|
133
133
|
isDefault: z.ZodDefault<z.ZodBoolean>;
|
|
134
134
|
isSystem: z.ZodDefault<z.ZodBoolean>;
|
|
135
135
|
}, z.core.$strip>, z.ZodObject<{
|
|
@@ -41,9 +41,6 @@ export declare const BrokerAudioClientSchema: z.ZodObject<{
|
|
|
41
41
|
*/
|
|
42
42
|
export declare const BrokerConsumerKindSchema: z.ZodEnum<{
|
|
43
43
|
unknown: "unknown";
|
|
44
|
-
recording: "recording";
|
|
45
|
-
snapshot: "snapshot";
|
|
46
|
-
pipeline: "pipeline";
|
|
47
44
|
alexa: "alexa";
|
|
48
45
|
homekit: "homekit";
|
|
49
46
|
"webrtc-browser": "webrtc-browser";
|
|
@@ -51,15 +48,15 @@ export declare const BrokerConsumerKindSchema: z.ZodEnum<{
|
|
|
51
48
|
"webrtc-whep": "webrtc-whep";
|
|
52
49
|
"rtsp-listen": "rtsp-listen";
|
|
53
50
|
"derived-broker": "derived-broker";
|
|
51
|
+
recording: "recording";
|
|
52
|
+
pipeline: "pipeline";
|
|
53
|
+
snapshot: "snapshot";
|
|
54
54
|
warmup: "warmup";
|
|
55
55
|
}>;
|
|
56
56
|
export type BrokerConsumerKind = z.infer<typeof BrokerConsumerKindSchema>;
|
|
57
57
|
export declare const BrokerConsumerAttributionSchema: z.ZodReadonly<z.ZodObject<{
|
|
58
58
|
kind: z.ZodEnum<{
|
|
59
59
|
unknown: "unknown";
|
|
60
|
-
recording: "recording";
|
|
61
|
-
snapshot: "snapshot";
|
|
62
|
-
pipeline: "pipeline";
|
|
63
60
|
alexa: "alexa";
|
|
64
61
|
homekit: "homekit";
|
|
65
62
|
"webrtc-browser": "webrtc-browser";
|
|
@@ -67,13 +64,16 @@ export declare const BrokerConsumerAttributionSchema: z.ZodReadonly<z.ZodObject<
|
|
|
67
64
|
"webrtc-whep": "webrtc-whep";
|
|
68
65
|
"rtsp-listen": "rtsp-listen";
|
|
69
66
|
"derived-broker": "derived-broker";
|
|
67
|
+
recording: "recording";
|
|
68
|
+
pipeline: "pipeline";
|
|
69
|
+
snapshot: "snapshot";
|
|
70
70
|
warmup: "warmup";
|
|
71
71
|
}>;
|
|
72
72
|
label: z.ZodOptional<z.ZodString>;
|
|
73
73
|
media: z.ZodOptional<z.ZodEnum<{
|
|
74
|
-
video: "video";
|
|
75
74
|
audio: "audio";
|
|
76
75
|
both: "both";
|
|
76
|
+
video: "video";
|
|
77
77
|
}>>;
|
|
78
78
|
targetCodec: z.ZodOptional<z.ZodString>;
|
|
79
79
|
transport: z.ZodOptional<z.ZodEnum<{
|
|
@@ -97,9 +97,6 @@ export declare const BrokerEncodedClientSchema: z.ZodObject<{
|
|
|
97
97
|
attribution: z.ZodReadonly<z.ZodObject<{
|
|
98
98
|
kind: z.ZodEnum<{
|
|
99
99
|
unknown: "unknown";
|
|
100
|
-
recording: "recording";
|
|
101
|
-
snapshot: "snapshot";
|
|
102
|
-
pipeline: "pipeline";
|
|
103
100
|
alexa: "alexa";
|
|
104
101
|
homekit: "homekit";
|
|
105
102
|
"webrtc-browser": "webrtc-browser";
|
|
@@ -107,13 +104,16 @@ export declare const BrokerEncodedClientSchema: z.ZodObject<{
|
|
|
107
104
|
"webrtc-whep": "webrtc-whep";
|
|
108
105
|
"rtsp-listen": "rtsp-listen";
|
|
109
106
|
"derived-broker": "derived-broker";
|
|
107
|
+
recording: "recording";
|
|
108
|
+
pipeline: "pipeline";
|
|
109
|
+
snapshot: "snapshot";
|
|
110
110
|
warmup: "warmup";
|
|
111
111
|
}>;
|
|
112
112
|
label: z.ZodOptional<z.ZodString>;
|
|
113
113
|
media: z.ZodOptional<z.ZodEnum<{
|
|
114
|
-
video: "video";
|
|
115
114
|
audio: "audio";
|
|
116
115
|
both: "both";
|
|
116
|
+
video: "video";
|
|
117
117
|
}>>;
|
|
118
118
|
targetCodec: z.ZodOptional<z.ZodString>;
|
|
119
119
|
transport: z.ZodOptional<z.ZodEnum<{
|
|
@@ -162,9 +162,6 @@ export declare const BrokerClientsSchema: z.ZodObject<{
|
|
|
162
162
|
attribution: z.ZodReadonly<z.ZodObject<{
|
|
163
163
|
kind: z.ZodEnum<{
|
|
164
164
|
unknown: "unknown";
|
|
165
|
-
recording: "recording";
|
|
166
|
-
snapshot: "snapshot";
|
|
167
|
-
pipeline: "pipeline";
|
|
168
165
|
alexa: "alexa";
|
|
169
166
|
homekit: "homekit";
|
|
170
167
|
"webrtc-browser": "webrtc-browser";
|
|
@@ -172,13 +169,16 @@ export declare const BrokerClientsSchema: z.ZodObject<{
|
|
|
172
169
|
"webrtc-whep": "webrtc-whep";
|
|
173
170
|
"rtsp-listen": "rtsp-listen";
|
|
174
171
|
"derived-broker": "derived-broker";
|
|
172
|
+
recording: "recording";
|
|
173
|
+
pipeline: "pipeline";
|
|
174
|
+
snapshot: "snapshot";
|
|
175
175
|
warmup: "warmup";
|
|
176
176
|
}>;
|
|
177
177
|
label: z.ZodOptional<z.ZodString>;
|
|
178
178
|
media: z.ZodOptional<z.ZodEnum<{
|
|
179
|
-
video: "video";
|
|
180
179
|
audio: "audio";
|
|
181
180
|
both: "both";
|
|
181
|
+
video: "video";
|
|
182
182
|
}>>;
|
|
183
183
|
targetCodec: z.ZodOptional<z.ZodString>;
|
|
184
184
|
transport: z.ZodOptional<z.ZodEnum<{
|
|
@@ -203,10 +203,10 @@ export type BrokerDecodedClient = z.infer<typeof BrokerDecodedClientSchema>;
|
|
|
203
203
|
export type BrokerAudioClient = z.infer<typeof BrokerAudioClientSchema>;
|
|
204
204
|
export type BrokerClients = z.infer<typeof BrokerClientsSchema>;
|
|
205
205
|
export declare const PlaceholderReasonSchema: z.ZodEnum<{
|
|
206
|
-
disabled: "disabled";
|
|
207
206
|
reconnecting: "reconnecting";
|
|
208
207
|
sleeping: "sleeping";
|
|
209
208
|
offline: "offline";
|
|
209
|
+
disabled: "disabled";
|
|
210
210
|
waking: "waking";
|
|
211
211
|
}>;
|
|
212
212
|
export type PlaceholderReason = z.infer<typeof PlaceholderReasonSchema>;
|
|
@@ -217,11 +217,11 @@ declare const VideoCodecTargetSchema: z.ZodEnum<{
|
|
|
217
217
|
}>;
|
|
218
218
|
export type VideoCodecTarget = z.infer<typeof VideoCodecTargetSchema>;
|
|
219
219
|
declare const AudioCodecTargetSchema: z.ZodEnum<{
|
|
220
|
+
none: "none";
|
|
220
221
|
copy: "copy";
|
|
221
222
|
opus: "opus";
|
|
222
223
|
aac: "aac";
|
|
223
224
|
pcmu: "pcmu";
|
|
224
|
-
none: "none";
|
|
225
225
|
}>;
|
|
226
226
|
export type AudioCodecTarget = z.infer<typeof AudioCodecTargetSchema>;
|
|
227
227
|
export declare const GetStreamWithCodecInputSchema: z.ZodObject<{
|
|
@@ -232,11 +232,11 @@ export declare const GetStreamWithCodecInputSchema: z.ZodObject<{
|
|
|
232
232
|
copy: "copy";
|
|
233
233
|
}>;
|
|
234
234
|
audio: z.ZodOptional<z.ZodEnum<{
|
|
235
|
+
none: "none";
|
|
235
236
|
copy: "copy";
|
|
236
237
|
opus: "opus";
|
|
237
238
|
aac: "aac";
|
|
238
239
|
pcmu: "pcmu";
|
|
239
|
-
none: "none";
|
|
240
240
|
}>>;
|
|
241
241
|
profile: z.ZodOptional<z.ZodEnum<{
|
|
242
242
|
high: "high";
|
|
@@ -306,9 +306,9 @@ export declare const streamBrokerCapability: {
|
|
|
306
306
|
copy: "copy";
|
|
307
307
|
}>;
|
|
308
308
|
profile: z.ZodOptional<z.ZodEnum<{
|
|
309
|
+
high: "high";
|
|
309
310
|
baseline: "baseline";
|
|
310
311
|
main: "main";
|
|
311
|
-
high: "high";
|
|
312
312
|
}>>;
|
|
313
313
|
width: z.ZodOptional<z.ZodNumber>;
|
|
314
314
|
height: z.ZodOptional<z.ZodNumber>;
|
|
@@ -409,10 +409,10 @@ export declare const streamBrokerCapability: {
|
|
|
409
409
|
sourceCamStreamId: z.ZodNullable<z.ZodString>;
|
|
410
410
|
status: z.ZodEnum<{
|
|
411
411
|
error: "error";
|
|
412
|
-
streaming: "streaming";
|
|
413
412
|
idle: "idle";
|
|
414
413
|
unassigned: "unassigned";
|
|
415
414
|
connecting: "connecting";
|
|
415
|
+
streaming: "streaming";
|
|
416
416
|
}>;
|
|
417
417
|
resolution: z.ZodOptional<z.ZodObject<{
|
|
418
418
|
width: z.ZodNumber;
|
|
@@ -427,10 +427,10 @@ export declare const streamBrokerCapability: {
|
|
|
427
427
|
}, z.core.$strip>, z.ZodObject<{
|
|
428
428
|
status: z.ZodEnum<{
|
|
429
429
|
error: "error";
|
|
430
|
-
streaming: "streaming";
|
|
431
430
|
idle: "idle";
|
|
432
|
-
stopped: "stopped";
|
|
433
431
|
connecting: "connecting";
|
|
432
|
+
streaming: "streaming";
|
|
433
|
+
stopped: "stopped";
|
|
434
434
|
}>;
|
|
435
435
|
inputFps: z.ZodNumber;
|
|
436
436
|
decodeFps: z.ZodNumber;
|
|
@@ -502,9 +502,6 @@ export declare const streamBrokerCapability: {
|
|
|
502
502
|
attribution: z.ZodReadonly<z.ZodObject<{
|
|
503
503
|
kind: z.ZodEnum<{
|
|
504
504
|
unknown: "unknown";
|
|
505
|
-
recording: "recording";
|
|
506
|
-
snapshot: "snapshot";
|
|
507
|
-
pipeline: "pipeline";
|
|
508
505
|
alexa: "alexa";
|
|
509
506
|
homekit: "homekit";
|
|
510
507
|
"webrtc-browser": "webrtc-browser";
|
|
@@ -512,13 +509,16 @@ export declare const streamBrokerCapability: {
|
|
|
512
509
|
"webrtc-whep": "webrtc-whep";
|
|
513
510
|
"rtsp-listen": "rtsp-listen";
|
|
514
511
|
"derived-broker": "derived-broker";
|
|
512
|
+
recording: "recording";
|
|
513
|
+
pipeline: "pipeline";
|
|
514
|
+
snapshot: "snapshot";
|
|
515
515
|
warmup: "warmup";
|
|
516
516
|
}>;
|
|
517
517
|
label: z.ZodOptional<z.ZodString>;
|
|
518
518
|
media: z.ZodOptional<z.ZodEnum<{
|
|
519
|
-
video: "video";
|
|
520
519
|
audio: "audio";
|
|
521
520
|
both: "both";
|
|
521
|
+
video: "video";
|
|
522
522
|
}>>;
|
|
523
523
|
targetCodec: z.ZodOptional<z.ZodString>;
|
|
524
524
|
transport: z.ZodOptional<z.ZodEnum<{
|
|
@@ -591,11 +591,11 @@ export declare const streamBrokerCapability: {
|
|
|
591
591
|
copy: "copy";
|
|
592
592
|
}>;
|
|
593
593
|
audio: z.ZodOptional<z.ZodEnum<{
|
|
594
|
+
none: "none";
|
|
594
595
|
copy: "copy";
|
|
595
596
|
opus: "opus";
|
|
596
597
|
aac: "aac";
|
|
597
598
|
pcmu: "pcmu";
|
|
598
|
-
none: "none";
|
|
599
599
|
}>>;
|
|
600
600
|
profile: z.ZodOptional<z.ZodEnum<{
|
|
601
601
|
high: "high";
|