@camstack/types 1.2.302 → 1.2.304
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 -2
- package/dist/addon.mjs +1 -2
- package/dist/automation/recipe.d.ts +2 -2
- package/dist/capabilities/core-blocks.cap.d.ts +17 -17
- package/dist/capabilities/custom-model-registry.cap.d.ts +2 -2
- package/dist/capabilities/device-admin-link-url.d.ts +2 -2
- package/dist/capabilities/device-admin-link.cap.d.ts +1 -1
- package/dist/capabilities/index.d.ts +1 -1
- package/dist/capabilities/local-network.cap.d.ts +1 -1
- package/dist/capabilities/model-convert.cap.d.ts +1 -1
- package/dist/capabilities/model-distributor.cap.d.ts +10 -4
- package/dist/capabilities/notification-rules.cap.d.ts +230 -0
- package/dist/capabilities/osd-manager.cap.d.ts +5 -18
- package/dist/capabilities/osd.cap.d.ts +4 -0
- package/dist/capabilities/pipeline-executor.cap.d.ts +5 -5
- package/dist/capabilities/stream-broker.cap.d.ts +4 -4
- package/dist/device/device-do-actions.d.ts +57 -0
- package/dist/encode-profile.d.ts +2 -2
- package/dist/index.d.ts +3 -3
- package/dist/index.js +520 -76
- package/dist/index.mjs +510 -77
- package/dist/notification/alarm-membership.d.ts +9 -0
- package/dist/notification/alarm-profiles.d.ts +5 -4
- package/dist/notification/alarm-settings.d.ts +9 -3
- package/dist/types/model-variant-groups.d.ts +2 -2
- package/dist/types/models.d.ts +7 -6
- package/dist/types/pipeline-step.d.ts +1 -1
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -137,8 +137,7 @@ var CAP_INPUT_DEFAULTS = Object.freeze({
|
|
|
137
137
|
"setSlotBinding": { "binding": { "__nested__": {
|
|
138
138
|
"enabled": true,
|
|
139
139
|
"template": "${value}",
|
|
140
|
-
"maxDecimals": 1
|
|
141
|
-
"fallbackText": ""
|
|
140
|
+
"maxDecimals": 1
|
|
142
141
|
} } },
|
|
143
142
|
"upsertTemplate": { "template": { "__nested__": {
|
|
144
143
|
"bindings": [],
|
package/dist/addon.mjs
CHANGED
|
@@ -136,8 +136,7 @@ var CAP_INPUT_DEFAULTS = Object.freeze({
|
|
|
136
136
|
"setSlotBinding": { "binding": { "__nested__": {
|
|
137
137
|
"enabled": true,
|
|
138
138
|
"template": "${value}",
|
|
139
|
-
"maxDecimals": 1
|
|
140
|
-
"fallbackText": ""
|
|
139
|
+
"maxDecimals": 1
|
|
141
140
|
} } },
|
|
142
141
|
"upsertTemplate": { "template": { "__nested__": {
|
|
143
142
|
"bindings": [],
|
|
@@ -133,7 +133,7 @@ export declare const AutomationActionSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
133
133
|
seconds: z.ZodNumber;
|
|
134
134
|
}, z.core.$strip>, z.ZodObject<{
|
|
135
135
|
kind: z.ZodLiteral<"cap">;
|
|
136
|
-
deviceId: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
136
|
+
deviceId: z.ZodUnion<readonly [z.ZodNumber, z.ZodArray<z.ZodNumber>, z.ZodObject<{
|
|
137
137
|
$var: z.ZodString;
|
|
138
138
|
}, z.core.$strip>]>;
|
|
139
139
|
cap: z.ZodString;
|
|
@@ -170,7 +170,7 @@ export declare const AutomationRecipeSchema: z.ZodObject<{
|
|
|
170
170
|
seconds: z.ZodNumber;
|
|
171
171
|
}, z.core.$strip>, z.ZodObject<{
|
|
172
172
|
kind: z.ZodLiteral<"cap">;
|
|
173
|
-
deviceId: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
173
|
+
deviceId: z.ZodUnion<readonly [z.ZodNumber, z.ZodArray<z.ZodNumber>, z.ZodObject<{
|
|
174
174
|
$var: z.ZodString;
|
|
175
175
|
}, z.core.$strip>]>;
|
|
176
176
|
cap: z.ZodString;
|
|
@@ -163,7 +163,7 @@ export declare const CoreBlockSourceSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
163
163
|
seconds: z.ZodNumber;
|
|
164
164
|
}, z.core.$strip>, z.ZodObject<{
|
|
165
165
|
kind: z.ZodLiteral<"cap">;
|
|
166
|
-
deviceId: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
166
|
+
deviceId: z.ZodUnion<readonly [z.ZodNumber, z.ZodArray<z.ZodNumber>, z.ZodObject<{
|
|
167
167
|
$var: z.ZodString;
|
|
168
168
|
}, z.core.$strip>]>;
|
|
169
169
|
cap: z.ZodString;
|
|
@@ -436,7 +436,7 @@ export declare const CoreBlockSchema: z.ZodObject<{
|
|
|
436
436
|
seconds: z.ZodNumber;
|
|
437
437
|
}, z.core.$strip>, z.ZodObject<{
|
|
438
438
|
kind: z.ZodLiteral<"cap">;
|
|
439
|
-
deviceId: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
439
|
+
deviceId: z.ZodUnion<readonly [z.ZodNumber, z.ZodArray<z.ZodNumber>, z.ZodObject<{
|
|
440
440
|
$var: z.ZodString;
|
|
441
441
|
}, z.core.$strip>]>;
|
|
442
442
|
cap: z.ZodString;
|
|
@@ -639,7 +639,7 @@ export declare const CompositionViewSchema: z.ZodObject<{
|
|
|
639
639
|
seconds: z.ZodNumber;
|
|
640
640
|
}, z.core.$strip>, z.ZodObject<{
|
|
641
641
|
kind: z.ZodLiteral<"cap">;
|
|
642
|
-
deviceId: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
642
|
+
deviceId: z.ZodUnion<readonly [z.ZodNumber, z.ZodArray<z.ZodNumber>, z.ZodObject<{
|
|
643
643
|
$var: z.ZodString;
|
|
644
644
|
}, z.core.$strip>]>;
|
|
645
645
|
cap: z.ZodString;
|
|
@@ -840,7 +840,7 @@ export declare const CompositionListReadSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
840
840
|
seconds: z.ZodNumber;
|
|
841
841
|
}, z.core.$strip>, z.ZodObject<{
|
|
842
842
|
kind: z.ZodLiteral<"cap">;
|
|
843
|
-
deviceId: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
843
|
+
deviceId: z.ZodUnion<readonly [z.ZodNumber, z.ZodArray<z.ZodNumber>, z.ZodObject<{
|
|
844
844
|
$var: z.ZodString;
|
|
845
845
|
}, z.core.$strip>]>;
|
|
846
846
|
cap: z.ZodString;
|
|
@@ -1045,7 +1045,7 @@ export declare const CompositionGetReadSchema: z.ZodDiscriminatedUnion<[z.ZodObj
|
|
|
1045
1045
|
seconds: z.ZodNumber;
|
|
1046
1046
|
}, z.core.$strip>, z.ZodObject<{
|
|
1047
1047
|
kind: z.ZodLiteral<"cap">;
|
|
1048
|
-
deviceId: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
1048
|
+
deviceId: z.ZodUnion<readonly [z.ZodNumber, z.ZodArray<z.ZodNumber>, z.ZodObject<{
|
|
1049
1049
|
$var: z.ZodString;
|
|
1050
1050
|
}, z.core.$strip>]>;
|
|
1051
1051
|
cap: z.ZodString;
|
|
@@ -1251,7 +1251,7 @@ export declare const CompositionCustomizationReadSchema: z.ZodDiscriminatedUnion
|
|
|
1251
1251
|
seconds: z.ZodNumber;
|
|
1252
1252
|
}, z.core.$strip>, z.ZodObject<{
|
|
1253
1253
|
kind: z.ZodLiteral<"cap">;
|
|
1254
|
-
deviceId: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
1254
|
+
deviceId: z.ZodUnion<readonly [z.ZodNumber, z.ZodArray<z.ZodNumber>, z.ZodObject<{
|
|
1255
1255
|
$var: z.ZodString;
|
|
1256
1256
|
}, z.core.$strip>]>;
|
|
1257
1257
|
cap: z.ZodString;
|
|
@@ -1477,7 +1477,7 @@ export declare const coreBlocksCapability: {
|
|
|
1477
1477
|
seconds: z.ZodNumber;
|
|
1478
1478
|
}, z.core.$strip>, z.ZodObject<{
|
|
1479
1479
|
kind: z.ZodLiteral<"cap">;
|
|
1480
|
-
deviceId: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
1480
|
+
deviceId: z.ZodUnion<readonly [z.ZodNumber, z.ZodArray<z.ZodNumber>, z.ZodObject<{
|
|
1481
1481
|
$var: z.ZodString;
|
|
1482
1482
|
}, z.core.$strip>]>;
|
|
1483
1483
|
cap: z.ZodString;
|
|
@@ -1643,7 +1643,7 @@ export declare const coreBlocksCapability: {
|
|
|
1643
1643
|
seconds: z.ZodNumber;
|
|
1644
1644
|
}, z.core.$strip>, z.ZodObject<{
|
|
1645
1645
|
kind: z.ZodLiteral<"cap">;
|
|
1646
|
-
deviceId: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
1646
|
+
deviceId: z.ZodUnion<readonly [z.ZodNumber, z.ZodArray<z.ZodNumber>, z.ZodObject<{
|
|
1647
1647
|
$var: z.ZodString;
|
|
1648
1648
|
}, z.core.$strip>]>;
|
|
1649
1649
|
cap: z.ZodString;
|
|
@@ -1823,7 +1823,7 @@ export declare const coreBlocksCapability: {
|
|
|
1823
1823
|
seconds: z.ZodNumber;
|
|
1824
1824
|
}, z.core.$strip>, z.ZodObject<{
|
|
1825
1825
|
kind: z.ZodLiteral<"cap">;
|
|
1826
|
-
deviceId: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
1826
|
+
deviceId: z.ZodUnion<readonly [z.ZodNumber, z.ZodArray<z.ZodNumber>, z.ZodObject<{
|
|
1827
1827
|
$var: z.ZodString;
|
|
1828
1828
|
}, z.core.$strip>]>;
|
|
1829
1829
|
cap: z.ZodString;
|
|
@@ -2001,7 +2001,7 @@ export declare const coreBlocksCapability: {
|
|
|
2001
2001
|
seconds: z.ZodNumber;
|
|
2002
2002
|
}, z.core.$strip>, z.ZodObject<{
|
|
2003
2003
|
kind: z.ZodLiteral<"cap">;
|
|
2004
|
-
deviceId: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
2004
|
+
deviceId: z.ZodUnion<readonly [z.ZodNumber, z.ZodArray<z.ZodNumber>, z.ZodObject<{
|
|
2005
2005
|
$var: z.ZodString;
|
|
2006
2006
|
}, z.core.$strip>]>;
|
|
2007
2007
|
cap: z.ZodString;
|
|
@@ -2175,7 +2175,7 @@ export declare const coreBlocksCapability: {
|
|
|
2175
2175
|
seconds: z.ZodNumber;
|
|
2176
2176
|
}, z.core.$strip>, z.ZodObject<{
|
|
2177
2177
|
kind: z.ZodLiteral<"cap">;
|
|
2178
|
-
deviceId: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
2178
|
+
deviceId: z.ZodUnion<readonly [z.ZodNumber, z.ZodArray<z.ZodNumber>, z.ZodObject<{
|
|
2179
2179
|
$var: z.ZodString;
|
|
2180
2180
|
}, z.core.$strip>]>;
|
|
2181
2181
|
cap: z.ZodString;
|
|
@@ -2354,7 +2354,7 @@ export declare const coreBlocksCapability: {
|
|
|
2354
2354
|
seconds: z.ZodNumber;
|
|
2355
2355
|
}, z.core.$strip>, z.ZodObject<{
|
|
2356
2356
|
kind: z.ZodLiteral<"cap">;
|
|
2357
|
-
deviceId: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
2357
|
+
deviceId: z.ZodUnion<readonly [z.ZodNumber, z.ZodArray<z.ZodNumber>, z.ZodObject<{
|
|
2358
2358
|
$var: z.ZodString;
|
|
2359
2359
|
}, z.core.$strip>]>;
|
|
2360
2360
|
cap: z.ZodString;
|
|
@@ -2698,7 +2698,7 @@ export declare const coreBlocksCapability: {
|
|
|
2698
2698
|
seconds: z.ZodNumber;
|
|
2699
2699
|
}, z.core.$strip>, z.ZodObject<{
|
|
2700
2700
|
kind: z.ZodLiteral<"cap">;
|
|
2701
|
-
deviceId: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
2701
|
+
deviceId: z.ZodUnion<readonly [z.ZodNumber, z.ZodArray<z.ZodNumber>, z.ZodObject<{
|
|
2702
2702
|
$var: z.ZodString;
|
|
2703
2703
|
}, z.core.$strip>]>;
|
|
2704
2704
|
cap: z.ZodString;
|
|
@@ -2971,7 +2971,7 @@ export declare const coreBlocksCapability: {
|
|
|
2971
2971
|
seconds: z.ZodNumber;
|
|
2972
2972
|
}, z.core.$strip>, z.ZodObject<{
|
|
2973
2973
|
kind: z.ZodLiteral<"cap">;
|
|
2974
|
-
deviceId: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
2974
|
+
deviceId: z.ZodUnion<readonly [z.ZodNumber, z.ZodArray<z.ZodNumber>, z.ZodObject<{
|
|
2975
2975
|
$var: z.ZodString;
|
|
2976
2976
|
}, z.core.$strip>]>;
|
|
2977
2977
|
cap: z.ZodString;
|
|
@@ -3142,7 +3142,7 @@ export declare const coreBlocksCapability: {
|
|
|
3142
3142
|
seconds: z.ZodNumber;
|
|
3143
3143
|
}, z.core.$strip>, z.ZodObject<{
|
|
3144
3144
|
kind: z.ZodLiteral<"cap">;
|
|
3145
|
-
deviceId: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
3145
|
+
deviceId: z.ZodUnion<readonly [z.ZodNumber, z.ZodArray<z.ZodNumber>, z.ZodObject<{
|
|
3146
3146
|
$var: z.ZodString;
|
|
3147
3147
|
}, z.core.$strip>]>;
|
|
3148
3148
|
cap: z.ZodString;
|
|
@@ -3346,7 +3346,7 @@ export declare const coreBlocksCapability: {
|
|
|
3346
3346
|
seconds: z.ZodNumber;
|
|
3347
3347
|
}, z.core.$strip>, z.ZodObject<{
|
|
3348
3348
|
kind: z.ZodLiteral<"cap">;
|
|
3349
|
-
deviceId: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
3349
|
+
deviceId: z.ZodUnion<readonly [z.ZodNumber, z.ZodArray<z.ZodNumber>, z.ZodObject<{
|
|
3350
3350
|
$var: z.ZodString;
|
|
3351
3351
|
}, z.core.$strip>]>;
|
|
3352
3352
|
cap: z.ZodString;
|
|
@@ -3557,7 +3557,7 @@ export declare const coreBlocksCapability: {
|
|
|
3557
3557
|
seconds: z.ZodNumber;
|
|
3558
3558
|
}, z.core.$strip>, z.ZodObject<{
|
|
3559
3559
|
kind: z.ZodLiteral<"cap">;
|
|
3560
|
-
deviceId: z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
3560
|
+
deviceId: z.ZodUnion<readonly [z.ZodNumber, z.ZodArray<z.ZodNumber>, z.ZodObject<{
|
|
3561
3561
|
$var: z.ZodString;
|
|
3562
3562
|
}, z.core.$strip>]>;
|
|
3563
3563
|
cap: z.ZodString;
|
|
@@ -150,7 +150,7 @@ export declare const CustomModelDescriptorSchema: z.ZodObject<{
|
|
|
150
150
|
}>>;
|
|
151
151
|
optimization: z.ZodOptional<z.ZodEnum<{
|
|
152
152
|
standard: "standard";
|
|
153
|
-
|
|
153
|
+
test: "test";
|
|
154
154
|
}>>;
|
|
155
155
|
resolution: z.ZodOptional<z.ZodNumber>;
|
|
156
156
|
}, z.core.$strip>>;
|
|
@@ -329,7 +329,7 @@ export declare const customModelRegistryCapability: {
|
|
|
329
329
|
}>>;
|
|
330
330
|
optimization: z.ZodOptional<z.ZodEnum<{
|
|
331
331
|
standard: "standard";
|
|
332
|
-
|
|
332
|
+
test: "test";
|
|
333
333
|
}>>;
|
|
334
334
|
resolution: z.ZodOptional<z.ZodNumber>;
|
|
335
335
|
}, z.core.$strip>>;
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* they sit next to each other in the same device config (`{ host, port,
|
|
13
13
|
* username, password }` on Hikvision, Reolink, Amcrest, ONVIF alike). A
|
|
14
14
|
* convenience that "pre-fills the login" is one template literal away, and
|
|
15
|
-
* `http://admin:hunter2@192.168.
|
|
15
|
+
* `http://admin:hunter2@192.168.x.x/` is a working URL that browsers accept,
|
|
16
16
|
* that lands in the DOM, in a right-click → copy, in a screenshot, and in any
|
|
17
17
|
* log line that prints what was opened. `scripts/check-no-credential-urls-in-
|
|
18
18
|
* fixtures.ts` already exists because this repo shipped exactly that leak on
|
|
@@ -35,7 +35,7 @@ export interface DeviceAdminUrlParts {
|
|
|
35
35
|
*
|
|
36
36
|
* Not the vendor's control port. Reolink's device config carries `port: 9000`
|
|
37
37
|
* — the Baichuan media port — and `http://<reolink>:9000/` answers nothing
|
|
38
|
-
* (verified against 192.168.
|
|
38
|
+
* (verified against 192.168.x.x on 2026-09-22: `:9000` refuses the
|
|
39
39
|
* connection, `:80` returns 200 text/html). A provider that reads a port
|
|
40
40
|
* field without knowing what that port IS produces a button that opens a
|
|
41
41
|
* browser error.
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
* This matters here more than anywhere else in the repo, because every provider
|
|
50
50
|
* that knows a device's host knows its PASSWORD too: `{ host, port, username,
|
|
51
51
|
* password }` sit in one object on Hikvision, Amcrest, Reolink and ONVIF alike,
|
|
52
|
-
* and `http://admin:hunter2@192.168.
|
|
52
|
+
* and `http://admin:hunter2@192.168.x.x/` is a URL a browser accepts. The
|
|
53
53
|
* camera's own page will ask for its own login. That is correct, and pre-
|
|
54
54
|
* filling it is the operator's business, not ours.
|
|
55
55
|
*
|
|
@@ -86,7 +86,7 @@ export { AddBrokerInputSchema, BrokerConnectionDetailsSchema, BrokerInfoSchema a
|
|
|
86
86
|
export type { NetworkAccessStatus, NetworkEndpoint } from './network-access.cap.js';
|
|
87
87
|
export { NetworkAccessStatusSchema, NetworkEndpointSchema, networkAccessCapability, } from './network-access.cap.js';
|
|
88
88
|
export { type Attachment, type AttachmentMediaType, AttachmentMediaTypeSchema, AttachmentSchema, type DiscoveredTarget, DiscoveredTargetSchema, type INotificationOutputProvider, type NotificationAction, type NotificationActionIcon, NotificationActionIconSchema, NotificationActionSchema, type NotificationFormat, NotificationFormatSchema, NotificationSchema, notificationOutputCapability, type RenderedAs, RenderedAsSchema, type ProbeTargetConfigResult, ProbeTargetConfigResultSchema, type SendResult, SendResultSchema, type Target, type TargetKind, type TargetKindCaps, TargetKindCapsSchema, type TargetKindLevel, TargetKindLevelSchema, TargetKindSchema, TargetSchema, type TestResult, TestResultSchema, } from './notification-output.cap.js';
|
|
89
|
-
export { consumableLowPercentOf, type INotificationRulesProvider, isRetiredClearKey, NC_ALARM_DELAY_MAX_SEC, NC_ALARM_NONBLOCKING_MAX, NC_ALARM_SENSORS_MAX, NC_ALARM_SYSTEM_EVENT_KINDS, NC_ALARM_TRIGGERED_MAX_SEC, NC_AUDIO_DBFS_FLOOR, NC_AUTHORABLE_SYSTEM_EVENT_KINDS, NC_BATTERY_CONSUMABLE_SYSTEM_EVENT_KINDS, NC_CLIP_POST_ROLL_DEFAULT_SEC, NC_CLIP_PRE_ROLL_DEFAULT_SEC, NC_CLIP_RETENTION_MAX_SEC, NC_CONDITION_CATALOG, NC_CONFIRM_DEFAULT_MAX_IMAGE_PX, NC_CONFIRM_DEFAULT_TIMEOUT_MS, NC_CONFIRM_MAX_TIMEOUT_MS, NC_CONFIRM_MIN_TIMEOUT_MS, NC_CONSUMABLE_LOW_PERCENT_DEFAULT, NC_CONSUMABLE_LOW_PERCENT_MAX, NC_CONSUMABLE_SYSTEM_EVENT_KINDS, NC_DEFAULT_SNOOZE_MINUTES, NC_GROUPING_DEFAULT_SEC, NC_GROUPING_MAX_SEC, NC_GROUPING_MIN_SEC, NC_HISTORY_LIMIT_DEFAULT, NC_HISTORY_LIMIT_MAX, NC_MAX_PER_TRACK_IMMEDIATE, NC_RULE_CLEARABLE_KEYS, NC_RULE_RETIRED_CLEAR_KEYS, NC_SNOOZE_MAX_MINUTES, NC_TANK_SYSTEM_EVENT_KINDS, type NcAlarmConfig, NcAlarmConfigSchema, type NcAlarmCreateProfileInput, NcAlarmCreateProfileInputSchema, type NcAlarmModeCoverage, NcAlarmModeCoverageSchema, type NcAlarmModeDelays, type NcAlarmModeDelaysEdit, NcAlarmModeDelaysEditSchema, NcAlarmModeDelaysSchema, type NcAlarmBlocking, type NcAlarmBlockingEdit, NcAlarmBlockingEditSchema, NcAlarmBlockingSchema, type NcAlarmModeDeviceList, NcAlarmModeDeviceListSchema, type NcAlarmNonBlocking, type NcAlarmNonBlockingEdit, NcAlarmNonBlockingEditSchema, NcAlarmNonBlockingSchema, type NcAlarmProfileIdInput, NcAlarmProfileIdInputSchema, type NcAlarmProfileMeta, NcAlarmProfileMetaSchema, type NcAlarmProfilesView, NcAlarmProfilesViewSchema, type NcAlarmRenameProfileInput, NcAlarmRenameProfileInputSchema, type NcAlarmSecureOnArmEdit, NcAlarmSecureOnArmEditSchema, type NcAlarmSecureOnArmOff, NcAlarmSecureOnArmOffSchema, type NcAlarmSensorReading, NcAlarmSensorReadingSchema, type NcAlarmSensorState, NcAlarmSensorStateSchema, type NcAlarmSensors, type NcAlarmSensorsInput, NcAlarmSensorsInputSchema, NcAlarmSensorsSchema, type NcAlarmSettings, type NcAlarmSettingsPatch, NcAlarmSettingsPatchSchema, NcAlarmSettingsSchema, type NcAlarmSkippedDevice, NcAlarmSkippedDeviceSchema, type NcAlarmSkipReason, NcAlarmSkipReasonSchema, type NcAudioCondition, NcAudioConditionSchema, type NcClipRetentionAsk, NcClipRetentionAskSchema, type NcClipRetentionPlan, NcClipRetentionPlanSchema, type NcConditionDescriptor, NcConditionDescriptorSchema, type NcConditions, NcConditionsSchema, type NcConfirm, type NcConfirmExpect, NcConfirmExpectSchema, NcConfirmSchema, type NcCrossing, NcCrossingSchema, type NcDelivery, NcDeliverySchema, type NcDeviceStateCondition, NcDeviceStateConditionSchema, type NcHistoryEntry, NcHistoryEntrySchema, type NcHistoryFilter, NcHistoryFilterSchema, type NcHistoryRecordKind, NcHistoryRecordKindSchema, type NcHistoryStatus, NcHistoryStatusSchema, type NcHistorySubject, NcHistorySubjectSchema, type NcLinkedCameraMode, NcLinkedCameraModeSchema, type NcMediaFrame, NcMediaFrameSchema, type NcMediaPolicy, NcMediaPolicySchema, type NcOccupancyCondition, NcOccupancyConditionSchema, type NcPlateMatcher, NcPlateMatcherSchema, type NcRule, type NcActionBinding, NcActionBindingSchema, type NcHookBindings, NcHookBindingsSchema, type NcRuleAction, NcRuleActionSchema, type NcLegacyRuleActionSequence, NcLegacyRuleActionSequenceSchema, type NcRuleActionSequence, NcRuleActionSequenceSchema, type NcRuleActions, NcRuleActionsSchema, type NcSharedSequence, NcSharedSequenceInputSchema, type NcSharedSequenceInput, NcSharedSequenceSchema, type NcRuleClearableKey, NcRuleClearableKeySchema, type NcRuleInput, NcRuleInputSchema, NcRuleKindSchema, type NcRuleLastRun, NcRuleLastRunSchema, type NcRuleLastRuns, NcRuleLastRunsSchema, type NcRuleNotificationButton, NcRuleNotificationButtonSchema, type NcRulePatch, NcRulePatchSchema, NcRuleSchema, type NcRuleTarget, NcRuleTargetSchema, type NcRuleUpdateInput, NcRuleUpdateInputSchema, type NcSceneCondition, NcSceneConditionSchema, type NcSchedule, NcScheduleSchema, type NcScheduleWindow, NcScheduleWindowSchema, type NcSensorTransition, NcSensorTransitionSchema, type NcSnooze, type NcSnoozeInput, NcSnoozeInputSchema, NcSnoozeSchema, type NcSnoozeScope, NcSnoozeScopeSchema, type NcSnoozeSuppressed, NcSnoozeSuppressedSchema, type NcStateSummaryPreview, type NcStateSummaryPreviewRow, NcStateSummaryPreviewRowSchema, NcStateSummaryPreviewSchema, type NcStateSummaryPreviewSection, NcStateSummaryPreviewSectionSchema, type NcStateSummarySectionId, NcStateSummarySectionIdSchema, type NcStateSummarySplit, NcStateSummarySplitSchema, type NcSystemEventCondition, NcSystemEventConditionSchema, type NcSystemEventDelivery, type NcSystemEventDeliveryMode, NcSystemEventDeliveryModeSchema, NcSystemEventDeliverySchema, type NcSystemEventKind, NcSystemEventKindSchema, type NcTemplateFamily, NcTemplateFamilySchema, type NcTemplateField, NcTemplateFieldSchema, type NcTemplatePreview, type NcTemplatePreviewInput, NcTemplatePreviewInputSchema, NcTemplatePreviewSchema, type NcTemplateVarContext, NcTemplateVarContextSchema, type NcTemplateVarDescriptor, NcTemplateVarDescriptorSchema, type NcTemplateVarGroup, NcTemplateVarGroupSchema, type NcTemplateVarKind, NcTemplateVarKindSchema, type NcTestResult, NcTestResultSchema, type NcThrottle, type NcThrottleGranularity, NcThrottleGranularitySchema, NcThrottleSchema, type NcZoneCondition, NcZoneConditionSchema, notificationRulesCapability, } from './notification-rules.cap.js';
|
|
89
|
+
export { consumableLowPercentOf, type INotificationRulesProvider, isRetiredClearKey, NC_ALARM_DELAY_MAX_SEC, NC_ALARM_NONBLOCKING_MAX, NC_ALARM_SENSORS_MAX, NC_ALARM_SYSTEM_EVENT_KINDS, NC_ALARM_TRIGGERED_MAX_SEC, NC_AUDIO_DBFS_FLOOR, NC_AUTHORABLE_SYSTEM_EVENT_KINDS, NC_BATTERY_CONSUMABLE_SYSTEM_EVENT_KINDS, NC_CLIP_POST_ROLL_DEFAULT_SEC, NC_CLIP_PRE_ROLL_DEFAULT_SEC, NC_CLIP_RETENTION_MAX_SEC, NC_CONDITION_CATALOG, NC_CONFIRM_DEFAULT_MAX_IMAGE_PX, NC_CONFIRM_DEFAULT_TIMEOUT_MS, NC_CONFIRM_MAX_TIMEOUT_MS, NC_CONFIRM_MIN_TIMEOUT_MS, NC_CONSUMABLE_LOW_PERCENT_DEFAULT, NC_CONSUMABLE_LOW_PERCENT_MAX, NC_CONSUMABLE_SYSTEM_EVENT_KINDS, NC_DEFAULT_SNOOZE_MINUTES, NC_GROUPING_DEFAULT_SEC, NC_GROUPING_MAX_SEC, NC_GROUPING_MIN_SEC, NC_HISTORY_LIMIT_DEFAULT, NC_HISTORY_LIMIT_MAX, NC_MAX_PER_TRACK_IMMEDIATE, NC_RULE_CLEARABLE_KEYS, NC_RULE_RETIRED_CLEAR_KEYS, NC_SNOOZE_MAX_MINUTES, NC_TANK_SYSTEM_EVENT_KINDS, type NcAlarmConfig, NcAlarmConfigSchema, type NcAlarmCreateProfileInput, NcAlarmCreateProfileInputSchema, type NcAlarmModeCoverage, NcAlarmModeCoverageSchema, type NcAlarmModeDelays, type NcAlarmModeDelaysEdit, NcAlarmModeDelaysEditSchema, NcAlarmModeDelaysSchema, type NcAlarmPostTriggeredAction, NcAlarmPostTriggeredActionSchema, type NcAlarmBlocking, type NcAlarmBlockingEdit, NcAlarmBlockingEditSchema, NcAlarmBlockingSchema, type NcAlarmModeDeviceList, NcAlarmModeDeviceListSchema, type NcAlarmNonBlocking, type NcAlarmNonBlockingEdit, NcAlarmNonBlockingEditSchema, NcAlarmNonBlockingSchema, type NcAlarmProfileIdInput, NcAlarmProfileIdInputSchema, type NcAlarmProfileMeta, NcAlarmProfileMetaSchema, type NcAlarmProfilesView, NcAlarmProfilesViewSchema, type NcAlarmRenameProfileInput, NcAlarmRenameProfileInputSchema, type NcAlarmSecureOnArmEdit, NcAlarmSecureOnArmEditSchema, type NcAlarmSecureOnArmOff, NcAlarmSecureOnArmOffSchema, type NcAlarmSensorReading, NcAlarmSensorReadingSchema, type NcAlarmSensorState, NcAlarmSensorStateSchema, type NcAlarmSensors, type NcAlarmSensorsInput, NcAlarmSensorsInputSchema, NcAlarmSensorsSchema, type NcAlarmSettings, type NcAlarmSettingsPatch, NcAlarmSettingsPatchSchema, NcAlarmSettingsSchema, type NcAlarmSkippedDevice, NcAlarmSkippedDeviceSchema, type NcAlarmSkipReason, NcAlarmSkipReasonSchema, type NcAudioCondition, NcAudioConditionSchema, type NcClipRetentionAsk, NcClipRetentionAskSchema, type NcClipRetentionPlan, NcClipRetentionPlanSchema, type NcConditionDescriptor, NcConditionDescriptorSchema, type NcConditions, NcConditionsSchema, type NcConfirm, type NcConfirmExpect, NcConfirmExpectSchema, NcConfirmSchema, type NcCrossing, NcCrossingSchema, type NcDelivery, NcDeliverySchema, type NcDeviceStateCondition, NcDeviceStateConditionSchema, type NcHistoryEntry, NcHistoryEntrySchema, type NcHistoryFilter, NcHistoryFilterSchema, type NcHistoryRecordKind, NcHistoryRecordKindSchema, type NcHistoryStatus, NcHistoryStatusSchema, type NcHistorySubject, NcHistorySubjectSchema, type NcLinkedCameraMode, NcLinkedCameraModeSchema, type NcMediaFrame, NcMediaFrameSchema, type NcMediaPolicy, NcMediaPolicySchema, type NcOccupancyCondition, NcOccupancyConditionSchema, type NcPlateMatcher, NcPlateMatcherSchema, type NcRule, type NcActionBinding, NcActionBindingSchema, type NcHookBindings, NcHookBindingsSchema, type NcRuleAction, NcRuleActionSchema, type NcLegacyRuleActionSequence, NcLegacyRuleActionSequenceSchema, type NcRuleActionSequence, NcRuleActionSequenceSchema, type NcRuleActions, NcRuleActionsSchema, type NcSharedSequence, NcSharedSequenceInputSchema, type NcSharedSequenceInput, NcSharedSequenceSchema, type NcRuleClearableKey, NcRuleClearableKeySchema, type NcRuleInput, NcRuleInputSchema, NcRuleKindSchema, type NcRuleLastRun, NcRuleLastRunSchema, type NcRuleLastRuns, NcRuleLastRunsSchema, type NcRuleNotificationButton, NcRuleNotificationButtonSchema, type NcRulePatch, NcRulePatchSchema, NcRuleSchema, type NcRuleTarget, NcRuleTargetSchema, type NcRuleUpdateInput, NcRuleUpdateInputSchema, type NcSceneCondition, NcSceneConditionSchema, type NcSchedule, NcScheduleSchema, type NcScheduleWindow, NcScheduleWindowSchema, type NcSensorTransition, NcSensorTransitionSchema, type NcSnooze, type NcSnoozeInput, NcSnoozeInputSchema, NcSnoozeSchema, type NcSnoozeScope, NcSnoozeScopeSchema, type NcSnoozeSuppressed, NcSnoozeSuppressedSchema, type NcStateSummaryPreview, type NcStateSummaryPreviewRow, NcStateSummaryPreviewRowSchema, NcStateSummaryPreviewSchema, type NcStateSummaryPreviewSection, NcStateSummaryPreviewSectionSchema, type NcStateSummarySectionId, NcStateSummarySectionIdSchema, type NcStateSummarySplit, NcStateSummarySplitSchema, type NcSystemEventCondition, NcSystemEventConditionSchema, type NcSystemEventDelivery, type NcSystemEventDeliveryMode, NcSystemEventDeliveryModeSchema, NcSystemEventDeliverySchema, type NcSystemEventKind, NcSystemEventKindSchema, type NcTemplateFamily, NcTemplateFamilySchema, type NcTemplateField, NcTemplateFieldSchema, type NcTemplatePreview, type NcTemplatePreviewInput, NcTemplatePreviewInputSchema, NcTemplatePreviewSchema, type NcTemplateVarContext, NcTemplateVarContextSchema, type NcTemplateVarDescriptor, NcTemplateVarDescriptorSchema, type NcTemplateVarGroup, NcTemplateVarGroupSchema, type NcTemplateVarKind, NcTemplateVarKindSchema, type NcTestResult, NcTestResultSchema, type NcThrottle, type NcThrottleGranularity, NcThrottleGranularitySchema, NcThrottleSchema, type NcZoneCondition, NcZoneConditionSchema, notificationRulesCapability, } from './notification-rules.cap.js';
|
|
90
90
|
export { type IOauthIntegrationProvider, type OauthIntegrationDescriptor, OauthIntegrationDescriptorSchema, oauthIntegrationCapability, } from './oauth-integration.cap.js';
|
|
91
91
|
export { AnalyticsLtsSeriesSchema, type AudioEvent, type AudioEventDraft, AudioEventSchema, type DetectionSource, DetectionSourceSchema, EVENT_DENSITY_BATCH_MAX, type EventDensityBucket, EventDensityBucketSchema, type EventDensityForDevice, EventDensityForDeviceSchema, type EventKind, type EventKindCategory, EventKindCategorySchema, type EventKindDescriptor, EventKindDescriptorSchema, type EventKindIcon, EventKindIconSchema, EventKindSchema, type EventKindsForDevice, EventKindsForDeviceSchema, type EventMediaKindBreakdown, type EventMediaKindFootprint, type EventPruneCounts, type EventStoreDeviceFootprint, type EventStoreFootprint, type IPipelineAnalyticsProvider, type KeyEvent, KeyEventSchema, type KeyEventsForDevice, type LabelAttribution, LabelAttributionSchema, type LabelTier, LabelTierSchema, LTS_SCOPE_CLASS_SEPARATOR, type LtsBucket, LtsBucketSchema, MAX_TRACK_DEBUG_NOTE_LEN, type MediaFile, type MediaFileBytes, type MediaFileInfo, MediaFileInfoSchema, type MediaFileKind, MediaFileKindEnum, type MediaFileRef, MediaFileRefSchema, MediaFileSchema, type MotionEvent, type MotionEventDraft, MotionEventSchema, type ObjectEvent, type ObjectEventDraft, ObjectEventSchema, occupancyScope, parseOccupancyScope, pipelineAnalyticsCapability, type RebuildObjectEmbeddingsRefusal, RebuildObjectEmbeddingsRefusalSchema, type RecentTracksPage, RecentTracksPageSchema, type RecentTracksQuery, RecentTracksQueryInput, type RetrainAnnotation, type RetrainAnnotationDraft, RetrainAnnotationDraftSchema, RetrainAnnotationKindSchema, RetrainAnnotationSchema, RetrainAnnotationSourceSchema, type RetrainAssistResult, RetrainAssistResultSchema, RetrainAssistSubjectSchema, RetrainCopyRefusalSchema, type RetrainFrame, type RetrainFrameCandidate, RetrainFrameCandidateSchema, type RetrainFrameList, RetrainFrameListSchema, RetrainFrameSchema, type RetrainFrameSelection, RetrainFrameSelectionSchema, type RetrainMacroClass, RetrainMacroClassSchema, type RetrainStatus, RetrainStatusSchema, type RetrainTrack, RetrainTrackSchema, type RetrainTransitionResult, RetrainTransitionResultSchema, type ScoredObjectEvent, ScoredObjectEventSchema, type SensorEvent, SensorEventSchema, type Track, type TrackCascadeCounts, TrackCascadeCountsSchema, type TrackEnvelope, TrackEnvelopeSchema, TrackedDetectionSchema, type TrackFlags, type TrackFlagsPatch, TrackFlagsPatchSchema, TrackFlagsSchema, type TrackProjection, TrackProjectionSchema, TrackSchema, type TrackSource, TrackSourceSchema, type TrackState, TrackStateSchema, type TrackZoneFilter, TrackZoneFilterSchema, type TrainingExportDeviceTotals, TrainingExportDeviceTotalsSchema, type TrainingExportSummary, TrainingExportSummarySchema, type ZoneCrossing, type ZoneCrossingDirection, ZoneCrossingDirectionSchema, ZoneCrossingSchema, } from './pipeline-analytics.cap.js';
|
|
92
92
|
export type { EffectiveTuning, EffectiveTuningInput, NativeCropRef, PipelineStepInputOutput, PipelineValidationIssue, PipelineValidationResult, } from './pipeline-executor.cap.js';
|
|
@@ -185,7 +185,7 @@ export declare const localNetworkCapability: {
|
|
|
185
185
|
* every client a second authority on a socket only the hub binds. A viewer
|
|
186
186
|
* configured with a port-less public URL (`https://camstack.example.top`)
|
|
187
187
|
* infers 443 from the scheme, asks with 443, and was handed
|
|
188
|
-
* `https://192.168.
|
|
188
|
+
* `https://192.168.x.x:443` for a hub listening on 4443. That candidate
|
|
189
189
|
* cannot ever answer, and losing its race reads in the log exactly like
|
|
190
190
|
* "the LAN was tried and it was slower" — so an operator sitting on his own
|
|
191
191
|
* WiFi stayed on the public tunnel for weeks, with the LAN candidate born
|
|
@@ -9,9 +9,15 @@ import { type InferProvider } from './capability-definition.js';
|
|
|
9
9
|
* needs the Moleculer broker + the deploy-stage registry, which a forked addon
|
|
10
10
|
* can't reach. `addon-model-studio` drives it via `ctx.api` and owns the
|
|
11
11
|
* per-node availability map.
|
|
12
|
+
*
|
|
13
|
+
* The destination is `targetNodeId`, NOT `nodeId`. Cap routers and the
|
|
14
|
+
* Moleculer tRPC link strip an input field named `nodeId` and use it as a
|
|
15
|
+
* route pin (resolve the provider ON that node). Naming the destination
|
|
16
|
+
* `nodeId` routed the call to the agent — which does not host this
|
|
17
|
+
* singleton — and handed the provider an input with the destination missing.
|
|
12
18
|
*/
|
|
13
19
|
export declare const ModelDistributeInputSchema: z.ZodObject<{
|
|
14
|
-
|
|
20
|
+
targetNodeId: z.ZodString;
|
|
15
21
|
modelId: z.ZodString;
|
|
16
22
|
format: z.ZodEnum<{
|
|
17
23
|
onnx: "onnx";
|
|
@@ -152,7 +158,7 @@ export declare const ModelDistributeInputSchema: z.ZodObject<{
|
|
|
152
158
|
}>>;
|
|
153
159
|
optimization: z.ZodOptional<z.ZodEnum<{
|
|
154
160
|
standard: "standard";
|
|
155
|
-
|
|
161
|
+
test: "test";
|
|
156
162
|
}>>;
|
|
157
163
|
resolution: z.ZodOptional<z.ZodNumber>;
|
|
158
164
|
}, z.core.$strip>>;
|
|
@@ -195,7 +201,7 @@ export declare const modelDistributorCapability: {
|
|
|
195
201
|
readonly internal: true;
|
|
196
202
|
readonly methods: {
|
|
197
203
|
readonly distributeModel: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
198
|
-
|
|
204
|
+
targetNodeId: z.ZodString;
|
|
199
205
|
modelId: z.ZodString;
|
|
200
206
|
format: z.ZodEnum<{
|
|
201
207
|
onnx: "onnx";
|
|
@@ -336,7 +342,7 @@ export declare const modelDistributorCapability: {
|
|
|
336
342
|
}>>;
|
|
337
343
|
optimization: z.ZodOptional<z.ZodEnum<{
|
|
338
344
|
standard: "standard";
|
|
339
|
-
|
|
345
|
+
test: "test";
|
|
340
346
|
}>>;
|
|
341
347
|
resolution: z.ZodOptional<z.ZodNumber>;
|
|
342
348
|
}, z.core.$strip>>;
|