@camstack/types 1.2.276 → 1.2.277
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 +1 -1
- package/dist/addon.mjs +1 -1
- package/dist/capabilities/notification-rules.cap.d.ts +4 -4
- package/dist/capabilities/pipeline-analytics.cap.d.ts +135 -0
- package/dist/capabilities/pipeline-orchestrator.cap.d.ts +5 -5
- package/dist/capabilities/recording-archive.cap.d.ts +6 -6
- package/dist/capabilities/recording-onboard.cap.d.ts +10 -10
- package/dist/generated/addon-api.d.ts +28 -0
- package/dist/generated/method-access-map.d.ts +1 -1
- package/dist/generated/method-device-selectors.d.ts +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +172 -1
- package/dist/index.mjs +157 -2
- package/dist/interfaces/recording-config.d.ts +2 -2
- package/dist/interfaces/track-relations.d.ts +187 -0
- package/dist/{sleep-WOeeZ4FU.js → sleep-DCbD8sdg.js} +4 -0
- package/dist/{sleep-C-v96WpE.mjs → sleep-gU6hqv4_.mjs} +4 -0
- package/package.json +1 -1
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-DCbD8sdg.js");
|
|
3
3
|
const require_event_category = require("./event-category-MbnB-6AN.js");
|
|
4
4
|
const require_err_msg = require("./err-msg-Dx2Kor0g.js");
|
|
5
5
|
//#region src/generated/cap-input-defaults.ts
|
package/dist/addon.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { At as normalizeAddonInitResult, B as nodePin, Ct as PEER_BYTES_STALL_MS, D as adminUiCapability, Et as DATAPLANE_SECRET_HEADER, N as expandCapMethods, Ot as DisposerChain, Pt as emitReadiness, S as DEVICE_CHILDREN_BATCH_MAX, St as PEER_BYTES_MAX_OUTSTANDING, T as describeCustomActions, U as ReadinessRegistry, V as readNodePin, W as ReadinessTimeoutError, a as asJsonObject, b as deviceOpsCapability, d as BOOT_RECOVERY_BACKOFF_MS, f as DEVICE_SCOPED_CAPS, h as createEventBusSliceSource, kt as BaseAddon, m as createDeviceProxy, p as isDeviceScopedCap, q as scopeKey, s as asString, t as sleep, u as parseJsonUnknown, wt as PEER_BYTES_TICKET_TTL_MS, x as viewerUiCapability, xt as PEER_BYTES_CHUNK_BYTES } from "./sleep-
|
|
1
|
+
import { At as normalizeAddonInitResult, B as nodePin, Ct as PEER_BYTES_STALL_MS, D as adminUiCapability, Et as DATAPLANE_SECRET_HEADER, N as expandCapMethods, Ot as DisposerChain, Pt as emitReadiness, S as DEVICE_CHILDREN_BATCH_MAX, St as PEER_BYTES_MAX_OUTSTANDING, T as describeCustomActions, U as ReadinessRegistry, V as readNodePin, W as ReadinessTimeoutError, a as asJsonObject, b as deviceOpsCapability, d as BOOT_RECOVERY_BACKOFF_MS, f as DEVICE_SCOPED_CAPS, h as createEventBusSliceSource, kt as BaseAddon, m as createDeviceProxy, p as isDeviceScopedCap, q as scopeKey, s as asString, t as sleep, u as parseJsonUnknown, wt as PEER_BYTES_TICKET_TTL_MS, x as viewerUiCapability, xt as PEER_BYTES_CHUNK_BYTES } from "./sleep-gU6hqv4_.mjs";
|
|
2
2
|
import { t as EventCategory } from "./event-category-C5xZWqz6.mjs";
|
|
3
3
|
import { a as DeviceType, t as errMsg } from "./err-msg-DX6i_MY4.mjs";
|
|
4
4
|
//#region src/generated/cap-input-defaults.ts
|
|
@@ -2251,13 +2251,13 @@ export type NcTestResult = z.infer<typeof NcTestResultSchema>;
|
|
|
2251
2251
|
* (a stored system rule whose kinds span families, D637) and never authored. */
|
|
2252
2252
|
export declare const NcRuleKindSchema: z.ZodEnum<{
|
|
2253
2253
|
sensor: "sensor";
|
|
2254
|
+
mixed: "mixed";
|
|
2254
2255
|
detection: "detection";
|
|
2255
2256
|
system: "system";
|
|
2256
2257
|
occupancy: "occupancy";
|
|
2257
2258
|
sound: "sound";
|
|
2258
2259
|
alarm: "alarm";
|
|
2259
2260
|
"device-events": "device-events";
|
|
2260
|
-
mixed: "mixed";
|
|
2261
2261
|
}>;
|
|
2262
2262
|
/**
|
|
2263
2263
|
* The kinds a SERVED template-variable descriptor may name: the five that
|
|
@@ -2420,13 +2420,13 @@ export declare const NcTemplateVarContextSchema: z.ZodObject<{
|
|
|
2420
2420
|
}>;
|
|
2421
2421
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
2422
2422
|
sensor: "sensor";
|
|
2423
|
+
mixed: "mixed";
|
|
2423
2424
|
detection: "detection";
|
|
2424
2425
|
system: "system";
|
|
2425
2426
|
occupancy: "occupancy";
|
|
2426
2427
|
sound: "sound";
|
|
2427
2428
|
alarm: "alarm";
|
|
2428
2429
|
"device-events": "device-events";
|
|
2429
|
-
mixed: "mixed";
|
|
2430
2430
|
}>>;
|
|
2431
2431
|
delivery: z.ZodOptional<z.ZodEnum<{
|
|
2432
2432
|
"device-event": "device-event";
|
|
@@ -2497,13 +2497,13 @@ export declare const NcTemplatePreviewInputSchema: z.ZodObject<{
|
|
|
2497
2497
|
}>;
|
|
2498
2498
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
2499
2499
|
sensor: "sensor";
|
|
2500
|
+
mixed: "mixed";
|
|
2500
2501
|
detection: "detection";
|
|
2501
2502
|
system: "system";
|
|
2502
2503
|
occupancy: "occupancy";
|
|
2503
2504
|
sound: "sound";
|
|
2504
2505
|
alarm: "alarm";
|
|
2505
2506
|
"device-events": "device-events";
|
|
2506
|
-
mixed: "mixed";
|
|
2507
2507
|
}>>;
|
|
2508
2508
|
delivery: z.ZodOptional<z.ZodEnum<{
|
|
2509
2509
|
"device-event": "device-event";
|
|
@@ -6007,13 +6007,13 @@ export declare const notificationRulesCapability: {
|
|
|
6007
6007
|
}>;
|
|
6008
6008
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
6009
6009
|
sensor: "sensor";
|
|
6010
|
+
mixed: "mixed";
|
|
6010
6011
|
detection: "detection";
|
|
6011
6012
|
system: "system";
|
|
6012
6013
|
occupancy: "occupancy";
|
|
6013
6014
|
sound: "sound";
|
|
6014
6015
|
alarm: "alarm";
|
|
6015
6016
|
"device-events": "device-events";
|
|
6016
|
-
mixed: "mixed";
|
|
6017
6017
|
}>>;
|
|
6018
6018
|
delivery: z.ZodOptional<z.ZodEnum<{
|
|
6019
6019
|
"device-event": "device-event";
|
|
@@ -3002,6 +3002,141 @@ export declare const pipelineAnalyticsCapability: {
|
|
|
3002
3002
|
trackClass: z.ZodNullable<z.ZodString>;
|
|
3003
3003
|
trackLabel: z.ZodNullable<z.ZodString>;
|
|
3004
3004
|
}, z.core.$strip>>>, "query">;
|
|
3005
|
+
/**
|
|
3006
|
+
* Tracking-bench ground truth (D681): "this track and that one are the
|
|
3007
|
+
* same subject" / "different subjects". One row per unordered pair —
|
|
3008
|
+
* re-marking replaces it — and a mark that contradicts an existing chain
|
|
3009
|
+
* is REFUSED with the chain named. Writing a mark also sets `debug` on
|
|
3010
|
+
* both tracks. `protected`, matching `setTrackFlags`: marking is done from
|
|
3011
|
+
* the viewer's track detail by an authenticated non-admin session.
|
|
3012
|
+
*/
|
|
3013
|
+
readonly setTrackRelation: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
3014
|
+
deviceId: z.ZodNumber;
|
|
3015
|
+
trackId: z.ZodString;
|
|
3016
|
+
otherTrackId: z.ZodString;
|
|
3017
|
+
relation: z.ZodEnum<{
|
|
3018
|
+
"same-subject": "same-subject";
|
|
3019
|
+
"different-subjects": "different-subjects";
|
|
3020
|
+
}>;
|
|
3021
|
+
presence: z.ZodOptional<z.ZodLiteral<"continuous">>;
|
|
3022
|
+
trackSide: z.ZodOptional<z.ZodEnum<{
|
|
3023
|
+
before: "before";
|
|
3024
|
+
after: "after";
|
|
3025
|
+
}>>;
|
|
3026
|
+
otherSide: z.ZodOptional<z.ZodEnum<{
|
|
3027
|
+
before: "before";
|
|
3028
|
+
after: "after";
|
|
3029
|
+
}>>;
|
|
3030
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3031
|
+
id: z.ZodString;
|
|
3032
|
+
deviceId: z.ZodNumber;
|
|
3033
|
+
leftTrackId: z.ZodString;
|
|
3034
|
+
rightTrackId: z.ZodString;
|
|
3035
|
+
leftSide: z.ZodNullable<z.ZodEnum<{
|
|
3036
|
+
before: "before";
|
|
3037
|
+
after: "after";
|
|
3038
|
+
}>>;
|
|
3039
|
+
rightSide: z.ZodNullable<z.ZodEnum<{
|
|
3040
|
+
before: "before";
|
|
3041
|
+
after: "after";
|
|
3042
|
+
}>>;
|
|
3043
|
+
relation: z.ZodEnum<{
|
|
3044
|
+
"same-subject": "same-subject";
|
|
3045
|
+
"different-subjects": "different-subjects";
|
|
3046
|
+
}>;
|
|
3047
|
+
presence: z.ZodNullable<z.ZodLiteral<"continuous">>;
|
|
3048
|
+
leftStartedAt: z.ZodNullable<z.ZodNumber>;
|
|
3049
|
+
rightStartedAt: z.ZodNullable<z.ZodNumber>;
|
|
3050
|
+
createdAt: z.ZodNumber;
|
|
3051
|
+
updatedAt: z.ZodNumber;
|
|
3052
|
+
author: z.ZodNullable<z.ZodString>;
|
|
3053
|
+
}, z.core.$strip>, "mutation">;
|
|
3054
|
+
/** Remove the mark between two tracks. */
|
|
3055
|
+
readonly clearTrackRelation: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
3056
|
+
deviceId: z.ZodNumber;
|
|
3057
|
+
trackId: z.ZodString;
|
|
3058
|
+
otherTrackId: z.ZodString;
|
|
3059
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3060
|
+
cleared: z.ZodBoolean;
|
|
3061
|
+
}, z.core.$strip>, "mutation">;
|
|
3062
|
+
/**
|
|
3063
|
+
* A track that is not ONE subject: `mixed` (two subjects, optionally
|
|
3064
|
+
* switching at `switchAtMs`) or `not-a-subject`. `pure` clears the mark
|
|
3065
|
+
* and answers `{ purity: null }` (D681).
|
|
3066
|
+
*/
|
|
3067
|
+
readonly setTrackPurity: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
3068
|
+
deviceId: z.ZodNumber;
|
|
3069
|
+
trackId: z.ZodString;
|
|
3070
|
+
purity: z.ZodEnum<{
|
|
3071
|
+
mixed: "mixed";
|
|
3072
|
+
"not-a-subject": "not-a-subject";
|
|
3073
|
+
pure: "pure";
|
|
3074
|
+
}>;
|
|
3075
|
+
switchAtMs: z.ZodOptional<z.ZodNumber>;
|
|
3076
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3077
|
+
purity: z.ZodNullable<z.ZodObject<{
|
|
3078
|
+
id: z.ZodString;
|
|
3079
|
+
deviceId: z.ZodNumber;
|
|
3080
|
+
sourceTrackId: z.ZodString;
|
|
3081
|
+
purity: z.ZodEnum<{
|
|
3082
|
+
mixed: "mixed";
|
|
3083
|
+
"not-a-subject": "not-a-subject";
|
|
3084
|
+
}>;
|
|
3085
|
+
switchAtMs: z.ZodNullable<z.ZodNumber>;
|
|
3086
|
+
startedAt: z.ZodNullable<z.ZodNumber>;
|
|
3087
|
+
createdAt: z.ZodNumber;
|
|
3088
|
+
updatedAt: z.ZodNumber;
|
|
3089
|
+
author: z.ZodNullable<z.ZodString>;
|
|
3090
|
+
}, z.core.$strip>>;
|
|
3091
|
+
}, z.core.$strip>, "mutation">;
|
|
3092
|
+
/** A camera's marks, optionally one track's, windowed by track start. */
|
|
3093
|
+
readonly listTrackRelations: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
3094
|
+
deviceId: z.ZodNumber;
|
|
3095
|
+
trackId: z.ZodOptional<z.ZodString>;
|
|
3096
|
+
since: z.ZodOptional<z.ZodNumber>;
|
|
3097
|
+
until: z.ZodOptional<z.ZodNumber>;
|
|
3098
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
3099
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3100
|
+
relations: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
3101
|
+
id: z.ZodString;
|
|
3102
|
+
deviceId: z.ZodNumber;
|
|
3103
|
+
leftTrackId: z.ZodString;
|
|
3104
|
+
rightTrackId: z.ZodString;
|
|
3105
|
+
leftSide: z.ZodNullable<z.ZodEnum<{
|
|
3106
|
+
before: "before";
|
|
3107
|
+
after: "after";
|
|
3108
|
+
}>>;
|
|
3109
|
+
rightSide: z.ZodNullable<z.ZodEnum<{
|
|
3110
|
+
before: "before";
|
|
3111
|
+
after: "after";
|
|
3112
|
+
}>>;
|
|
3113
|
+
relation: z.ZodEnum<{
|
|
3114
|
+
"same-subject": "same-subject";
|
|
3115
|
+
"different-subjects": "different-subjects";
|
|
3116
|
+
}>;
|
|
3117
|
+
presence: z.ZodNullable<z.ZodLiteral<"continuous">>;
|
|
3118
|
+
leftStartedAt: z.ZodNullable<z.ZodNumber>;
|
|
3119
|
+
rightStartedAt: z.ZodNullable<z.ZodNumber>;
|
|
3120
|
+
createdAt: z.ZodNumber;
|
|
3121
|
+
updatedAt: z.ZodNumber;
|
|
3122
|
+
author: z.ZodNullable<z.ZodString>;
|
|
3123
|
+
}, z.core.$strip>>>;
|
|
3124
|
+
purities: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
3125
|
+
id: z.ZodString;
|
|
3126
|
+
deviceId: z.ZodNumber;
|
|
3127
|
+
sourceTrackId: z.ZodString;
|
|
3128
|
+
purity: z.ZodEnum<{
|
|
3129
|
+
mixed: "mixed";
|
|
3130
|
+
"not-a-subject": "not-a-subject";
|
|
3131
|
+
}>;
|
|
3132
|
+
switchAtMs: z.ZodNullable<z.ZodNumber>;
|
|
3133
|
+
startedAt: z.ZodNullable<z.ZodNumber>;
|
|
3134
|
+
createdAt: z.ZodNumber;
|
|
3135
|
+
updatedAt: z.ZodNumber;
|
|
3136
|
+
author: z.ZodNullable<z.ZodString>;
|
|
3137
|
+
}, z.core.$strip>>>;
|
|
3138
|
+
truncated: z.ZodBoolean;
|
|
3139
|
+
}, z.core.$strip>, "query">;
|
|
3005
3140
|
/**
|
|
3006
3141
|
* Birth decisions — one row per resolved confirmation-gate verdict (D409).
|
|
3007
3142
|
*
|
|
@@ -314,16 +314,16 @@ declare const CameraAudioStatusSchema: z.ZodObject<{
|
|
|
314
314
|
* and not this status block. */
|
|
315
315
|
declare const CameraRecordingModeSchema: z.ZodEnum<{
|
|
316
316
|
events: "events";
|
|
317
|
-
off: "off";
|
|
318
317
|
continuous: "continuous";
|
|
318
|
+
off: "off";
|
|
319
319
|
"on-device-decision": "on-device-decision";
|
|
320
320
|
}>;
|
|
321
321
|
/** Recording block — null when no recording cap is active for this device. */
|
|
322
322
|
declare const CameraRecordingStatusSchema: z.ZodObject<{
|
|
323
323
|
mode: z.ZodEnum<{
|
|
324
324
|
events: "events";
|
|
325
|
-
off: "off";
|
|
326
325
|
continuous: "continuous";
|
|
326
|
+
off: "off";
|
|
327
327
|
"on-device-decision": "on-device-decision";
|
|
328
328
|
}>;
|
|
329
329
|
active: z.ZodBoolean;
|
|
@@ -492,8 +492,8 @@ declare const CameraStatusSchema: z.ZodObject<{
|
|
|
492
492
|
recording: z.ZodNullable<z.ZodObject<{
|
|
493
493
|
mode: z.ZodEnum<{
|
|
494
494
|
events: "events";
|
|
495
|
-
off: "off";
|
|
496
495
|
continuous: "continuous";
|
|
496
|
+
off: "off";
|
|
497
497
|
"on-device-decision": "on-device-decision";
|
|
498
498
|
}>;
|
|
499
499
|
active: z.ZodBoolean;
|
|
@@ -1590,8 +1590,8 @@ export declare const pipelineOrchestratorCapability: {
|
|
|
1590
1590
|
recording: z.ZodNullable<z.ZodObject<{
|
|
1591
1591
|
mode: z.ZodEnum<{
|
|
1592
1592
|
events: "events";
|
|
1593
|
-
off: "off";
|
|
1594
1593
|
continuous: "continuous";
|
|
1594
|
+
off: "off";
|
|
1595
1595
|
"on-device-decision": "on-device-decision";
|
|
1596
1596
|
}>;
|
|
1597
1597
|
active: z.ZodBoolean;
|
|
@@ -1777,8 +1777,8 @@ export declare const pipelineOrchestratorCapability: {
|
|
|
1777
1777
|
recording: z.ZodNullable<z.ZodObject<{
|
|
1778
1778
|
mode: z.ZodEnum<{
|
|
1779
1779
|
events: "events";
|
|
1780
|
-
off: "off";
|
|
1781
1780
|
continuous: "continuous";
|
|
1781
|
+
off: "off";
|
|
1782
1782
|
"on-device-decision": "on-device-decision";
|
|
1783
1783
|
}>;
|
|
1784
1784
|
active: z.ZodBoolean;
|
|
@@ -53,8 +53,8 @@ export declare const RecordingStatusSchema: z.ZodObject<{
|
|
|
53
53
|
enabled: z.ZodBoolean;
|
|
54
54
|
activeMode: z.ZodEnum<{
|
|
55
55
|
events: "events";
|
|
56
|
-
off: "off";
|
|
57
56
|
continuous: "continuous";
|
|
57
|
+
off: "off";
|
|
58
58
|
"on-device-decision": "on-device-decision";
|
|
59
59
|
}>;
|
|
60
60
|
nodeId: z.ZodString;
|
|
@@ -380,8 +380,8 @@ export declare const recordingArchiveCapability: {
|
|
|
380
380
|
enabled: z.ZodBoolean;
|
|
381
381
|
activeMode: z.ZodEnum<{
|
|
382
382
|
events: "events";
|
|
383
|
-
off: "off";
|
|
384
383
|
continuous: "continuous";
|
|
384
|
+
off: "off";
|
|
385
385
|
"on-device-decision": "on-device-decision";
|
|
386
386
|
}>;
|
|
387
387
|
nodeId: z.ZodString;
|
|
@@ -506,8 +506,8 @@ export declare const recordingArchiveCapability: {
|
|
|
506
506
|
enabled: z.ZodBoolean;
|
|
507
507
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
508
508
|
events: "events";
|
|
509
|
-
off: "off";
|
|
510
509
|
continuous: "continuous";
|
|
510
|
+
off: "off";
|
|
511
511
|
"on-device-decision": "on-device-decision";
|
|
512
512
|
}>>;
|
|
513
513
|
profiles: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
@@ -619,8 +619,8 @@ export declare const recordingArchiveCapability: {
|
|
|
619
619
|
enabled: z.ZodBoolean;
|
|
620
620
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
621
621
|
events: "events";
|
|
622
|
-
off: "off";
|
|
623
622
|
continuous: "continuous";
|
|
623
|
+
off: "off";
|
|
624
624
|
"on-device-decision": "on-device-decision";
|
|
625
625
|
}>>;
|
|
626
626
|
profiles: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
@@ -664,8 +664,8 @@ export declare const recordingArchiveCapability: {
|
|
|
664
664
|
enabled: z.ZodBoolean;
|
|
665
665
|
mode: z.ZodOptional<z.ZodEnum<{
|
|
666
666
|
events: "events";
|
|
667
|
-
off: "off";
|
|
668
667
|
continuous: "continuous";
|
|
668
|
+
off: "off";
|
|
669
669
|
"on-device-decision": "on-device-decision";
|
|
670
670
|
}>>;
|
|
671
671
|
profiles: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
@@ -714,8 +714,8 @@ export declare const recordingArchiveCapability: {
|
|
|
714
714
|
enabled: z.ZodBoolean;
|
|
715
715
|
activeMode: z.ZodEnum<{
|
|
716
716
|
events: "events";
|
|
717
|
-
off: "off";
|
|
718
717
|
continuous: "continuous";
|
|
718
|
+
off: "off";
|
|
719
719
|
"on-device-decision": "on-device-decision";
|
|
720
720
|
}>;
|
|
721
721
|
nodeId: z.ZodString;
|
|
@@ -71,8 +71,8 @@ export declare const RecordTriggerSchema: z.ZodEnum<{
|
|
|
71
71
|
vehicle: "vehicle";
|
|
72
72
|
animal: "animal";
|
|
73
73
|
motion: "motion";
|
|
74
|
-
loitering: "loitering";
|
|
75
74
|
continuous: "continuous";
|
|
75
|
+
loitering: "loitering";
|
|
76
76
|
lineCrossing: "lineCrossing";
|
|
77
77
|
intrusion: "intrusion";
|
|
78
78
|
alarmInput: "alarmInput";
|
|
@@ -93,8 +93,8 @@ export declare const RecordWindowSchema: z.ZodObject<{
|
|
|
93
93
|
vehicle: "vehicle";
|
|
94
94
|
animal: "animal";
|
|
95
95
|
motion: "motion";
|
|
96
|
-
loitering: "loitering";
|
|
97
96
|
continuous: "continuous";
|
|
97
|
+
loitering: "loitering";
|
|
98
98
|
lineCrossing: "lineCrossing";
|
|
99
99
|
intrusion: "intrusion";
|
|
100
100
|
alarmInput: "alarmInput";
|
|
@@ -221,8 +221,8 @@ export declare const RecordingOnboardStatusSchema: z.ZodObject<{
|
|
|
221
221
|
vehicle: "vehicle";
|
|
222
222
|
animal: "animal";
|
|
223
223
|
motion: "motion";
|
|
224
|
-
loitering: "loitering";
|
|
225
224
|
continuous: "continuous";
|
|
225
|
+
loitering: "loitering";
|
|
226
226
|
lineCrossing: "lineCrossing";
|
|
227
227
|
intrusion: "intrusion";
|
|
228
228
|
alarmInput: "alarmInput";
|
|
@@ -292,8 +292,8 @@ export declare const OnboardScheduleSupportSchema: z.ZodObject<{
|
|
|
292
292
|
vehicle: "vehicle";
|
|
293
293
|
animal: "animal";
|
|
294
294
|
motion: "motion";
|
|
295
|
-
loitering: "loitering";
|
|
296
295
|
continuous: "continuous";
|
|
296
|
+
loitering: "loitering";
|
|
297
297
|
lineCrossing: "lineCrossing";
|
|
298
298
|
intrusion: "intrusion";
|
|
299
299
|
alarmInput: "alarmInput";
|
|
@@ -383,8 +383,8 @@ export declare const RecordingOnboardOptionsSchema: z.ZodObject<{
|
|
|
383
383
|
vehicle: "vehicle";
|
|
384
384
|
animal: "animal";
|
|
385
385
|
motion: "motion";
|
|
386
|
-
loitering: "loitering";
|
|
387
386
|
continuous: "continuous";
|
|
387
|
+
loitering: "loitering";
|
|
388
388
|
lineCrossing: "lineCrossing";
|
|
389
389
|
intrusion: "intrusion";
|
|
390
390
|
alarmInput: "alarmInput";
|
|
@@ -413,8 +413,8 @@ export declare const RecordingOnboardPatchSchema: z.ZodObject<{
|
|
|
413
413
|
vehicle: "vehicle";
|
|
414
414
|
animal: "animal";
|
|
415
415
|
motion: "motion";
|
|
416
|
-
loitering: "loitering";
|
|
417
416
|
continuous: "continuous";
|
|
417
|
+
loitering: "loitering";
|
|
418
418
|
lineCrossing: "lineCrossing";
|
|
419
419
|
intrusion: "intrusion";
|
|
420
420
|
alarmInput: "alarmInput";
|
|
@@ -533,8 +533,8 @@ export declare const recordingOnboardCapability: {
|
|
|
533
533
|
vehicle: "vehicle";
|
|
534
534
|
animal: "animal";
|
|
535
535
|
motion: "motion";
|
|
536
|
-
loitering: "loitering";
|
|
537
536
|
continuous: "continuous";
|
|
537
|
+
loitering: "loitering";
|
|
538
538
|
lineCrossing: "lineCrossing";
|
|
539
539
|
intrusion: "intrusion";
|
|
540
540
|
alarmInput: "alarmInput";
|
|
@@ -556,8 +556,8 @@ export declare const recordingOnboardCapability: {
|
|
|
556
556
|
vehicle: "vehicle";
|
|
557
557
|
animal: "animal";
|
|
558
558
|
motion: "motion";
|
|
559
|
-
loitering: "loitering";
|
|
560
559
|
continuous: "continuous";
|
|
560
|
+
loitering: "loitering";
|
|
561
561
|
lineCrossing: "lineCrossing";
|
|
562
562
|
intrusion: "intrusion";
|
|
563
563
|
alarmInput: "alarmInput";
|
|
@@ -614,8 +614,8 @@ export declare const recordingOnboardCapability: {
|
|
|
614
614
|
vehicle: "vehicle";
|
|
615
615
|
animal: "animal";
|
|
616
616
|
motion: "motion";
|
|
617
|
-
loitering: "loitering";
|
|
618
617
|
continuous: "continuous";
|
|
618
|
+
loitering: "loitering";
|
|
619
619
|
lineCrossing: "lineCrossing";
|
|
620
620
|
intrusion: "intrusion";
|
|
621
621
|
alarmInput: "alarmInput";
|
|
@@ -674,8 +674,8 @@ export declare const recordingOnboardCapability: {
|
|
|
674
674
|
vehicle: "vehicle";
|
|
675
675
|
animal: "animal";
|
|
676
676
|
motion: "motion";
|
|
677
|
-
loitering: "loitering";
|
|
678
677
|
continuous: "continuous";
|
|
678
|
+
loitering: "loitering";
|
|
679
679
|
lineCrossing: "lineCrossing";
|
|
680
680
|
intrusion: "intrusion";
|
|
681
681
|
alarmInput: "alarmInput";
|
|
@@ -5515,6 +5515,34 @@ export type AppRouter = TrpcCoreRouter<{
|
|
|
5515
5515
|
output: z.infer<typeof pipelineAnalyticsCapability.methods.listArchivedDebugNotes.output>;
|
|
5516
5516
|
meta: object;
|
|
5517
5517
|
}>;
|
|
5518
|
+
setTrackRelation: TRPCMutationProcedure<{
|
|
5519
|
+
input: {
|
|
5520
|
+
[x: string]: unknown;
|
|
5521
|
+
} & z.input<typeof pipelineAnalyticsCapability.methods.setTrackRelation.input>;
|
|
5522
|
+
output: z.infer<typeof pipelineAnalyticsCapability.methods.setTrackRelation.output>;
|
|
5523
|
+
meta: object;
|
|
5524
|
+
}>;
|
|
5525
|
+
clearTrackRelation: TRPCMutationProcedure<{
|
|
5526
|
+
input: {
|
|
5527
|
+
[x: string]: unknown;
|
|
5528
|
+
} & z.input<typeof pipelineAnalyticsCapability.methods.clearTrackRelation.input>;
|
|
5529
|
+
output: z.infer<typeof pipelineAnalyticsCapability.methods.clearTrackRelation.output>;
|
|
5530
|
+
meta: object;
|
|
5531
|
+
}>;
|
|
5532
|
+
setTrackPurity: TRPCMutationProcedure<{
|
|
5533
|
+
input: {
|
|
5534
|
+
[x: string]: unknown;
|
|
5535
|
+
} & z.input<typeof pipelineAnalyticsCapability.methods.setTrackPurity.input>;
|
|
5536
|
+
output: z.infer<typeof pipelineAnalyticsCapability.methods.setTrackPurity.output>;
|
|
5537
|
+
meta: object;
|
|
5538
|
+
}>;
|
|
5539
|
+
listTrackRelations: TRPCQueryProcedure<{
|
|
5540
|
+
input: {
|
|
5541
|
+
[x: string]: unknown;
|
|
5542
|
+
} & z.input<typeof pipelineAnalyticsCapability.methods.listTrackRelations.input>;
|
|
5543
|
+
output: z.infer<typeof pipelineAnalyticsCapability.methods.listTrackRelations.output>;
|
|
5544
|
+
meta: object;
|
|
5545
|
+
}>;
|
|
5518
5546
|
listBirthDecisions: TRPCQueryProcedure<{
|
|
5519
5547
|
input: {
|
|
5520
5548
|
[x: string]: unknown;
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* scope+access check inside `protectedProcedure` (see
|
|
7
7
|
* `server/backend/src/api/trpc/trpc.middleware.ts`).
|
|
8
8
|
*
|
|
9
|
-
* Coverage:
|
|
9
|
+
* Coverage: 1195 method paths across 162 capabilities.
|
|
10
10
|
*/
|
|
11
11
|
import type { CapabilityMethodAccess } from '../capabilities/capability-definition.js';
|
|
12
12
|
export interface MethodAccessRecord {
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* system-scope cap that takes a deviceId was previously never device-filtered
|
|
7
7
|
* — see the generator header).
|
|
8
8
|
*
|
|
9
|
-
* Coverage:
|
|
9
|
+
* Coverage: 407 methods carry a device reference, of which
|
|
10
10
|
* 144 are on SYSTEM-scope caps.
|
|
11
11
|
*
|
|
12
12
|
* Top-level fields, number arrays, and one-level arrays of objects carrying
|
package/dist/index.d.ts
CHANGED
|
@@ -52,6 +52,7 @@ export { collectSecretConfigKeys, isSecretConfigField, REDACTED_SECRET, schemaDe
|
|
|
52
52
|
export type * from './interfaces/context.js';
|
|
53
53
|
export * from './interfaces/birth-decision-ledger.js';
|
|
54
54
|
export * from './interfaces/debug-note-archive.js';
|
|
55
|
+
export * from './interfaces/track-relations.js';
|
|
55
56
|
export type * from './interfaces/decoder.js';
|
|
56
57
|
export type * from './interfaces/detection-addon.js';
|
|
57
58
|
export type { DeviceEvent, DeviceMetadata, DeviceState } from './interfaces/device.js';
|