@uug-ai/models 1.7.64 → 1.7.66
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/types.d.ts +101 -14
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -31008,6 +31008,45 @@ export interface paths {
|
|
|
31008
31008
|
patch?: never;
|
|
31009
31009
|
trace?: never;
|
|
31010
31010
|
};
|
|
31011
|
+
"/internal/workflowedgetrigger": {
|
|
31012
|
+
parameters: {
|
|
31013
|
+
query?: never;
|
|
31014
|
+
header?: never;
|
|
31015
|
+
path?: never;
|
|
31016
|
+
cookie?: never;
|
|
31017
|
+
};
|
|
31018
|
+
/**
|
|
31019
|
+
* Get WorkflowEdgeTrigger (schema generation only)
|
|
31020
|
+
* @description Internal endpoint used only to ensure WorkflowEdgeTrigger schema is generated in OpenAPI spec
|
|
31021
|
+
*/
|
|
31022
|
+
get: {
|
|
31023
|
+
parameters: {
|
|
31024
|
+
query?: never;
|
|
31025
|
+
header?: never;
|
|
31026
|
+
path?: never;
|
|
31027
|
+
cookie?: never;
|
|
31028
|
+
};
|
|
31029
|
+
requestBody?: never;
|
|
31030
|
+
responses: {
|
|
31031
|
+
/** @description OK */
|
|
31032
|
+
200: {
|
|
31033
|
+
headers: {
|
|
31034
|
+
[name: string]: unknown;
|
|
31035
|
+
};
|
|
31036
|
+
content: {
|
|
31037
|
+
"application/json": components["schemas"]["models.WorkflowEdgeTrigger"];
|
|
31038
|
+
};
|
|
31039
|
+
};
|
|
31040
|
+
};
|
|
31041
|
+
};
|
|
31042
|
+
put?: never;
|
|
31043
|
+
post?: never;
|
|
31044
|
+
delete?: never;
|
|
31045
|
+
options?: never;
|
|
31046
|
+
head?: never;
|
|
31047
|
+
patch?: never;
|
|
31048
|
+
trace?: never;
|
|
31049
|
+
};
|
|
31011
31050
|
"/internal/workflowfilter": {
|
|
31012
31051
|
parameters: {
|
|
31013
31052
|
query?: never;
|
|
@@ -35249,6 +35288,10 @@ export interface components {
|
|
|
35249
35288
|
excludedDevices?: string[];
|
|
35250
35289
|
excludedMedia?: string[];
|
|
35251
35290
|
groups?: string[];
|
|
35291
|
+
/** @description HasAnalysis keeps only media with analysis results (markers, description,
|
|
35292
|
+
* detections, classification/counting summaries or VLM output) when true,
|
|
35293
|
+
* and only media without any when false. */
|
|
35294
|
+
hasAnalysis?: boolean;
|
|
35252
35295
|
markers?: string[];
|
|
35253
35296
|
mediaIds?: string[];
|
|
35254
35297
|
regions?: components["schemas"]["models.Region"][];
|
|
@@ -36450,6 +36493,7 @@ export interface components {
|
|
|
36450
36493
|
end?: number;
|
|
36451
36494
|
hasResults?: boolean;
|
|
36452
36495
|
key?: string;
|
|
36496
|
+
matchedStartEdgeIds?: string[];
|
|
36453
36497
|
mediaId?: string;
|
|
36454
36498
|
operations?: components["schemas"]["models.WorkflowRunOperationStatus"][];
|
|
36455
36499
|
origin?: components["schemas"]["models.WorkflowRunOrigin"];
|
|
@@ -36496,7 +36540,7 @@ export interface components {
|
|
|
36496
36540
|
userId?: string;
|
|
36497
36541
|
};
|
|
36498
36542
|
/** @enum {string} */
|
|
36499
|
-
"models.AccessTokenScope": "days.read" | "
|
|
36543
|
+
"models.AccessTokenScope": "days.read" | "cases.read" | "cases.create" | "cases.update" | "cases.share" | "cases.export" | "cases.runWorkflow" | "cases.delete" | "workflow-runs.create" | "workflow-runs.read" | "workflow-runs.update" | "workflows.read" | "workflows.create" | "workflows.update" | "workflows.delete" | "application" | "media.read" | "media.update" | "media.export" | "media.share" | "media.redact" | "media.delete" | "markers.read" | "markers.write" | "markers.all";
|
|
36500
36544
|
"models.Account": {
|
|
36501
36545
|
account?: components["schemas"]["models.AccountBody"];
|
|
36502
36546
|
};
|
|
@@ -36564,6 +36608,7 @@ export interface components {
|
|
|
36564
36608
|
inputsAND?: boolean;
|
|
36565
36609
|
motionRegions?: components["schemas"]["models.Region"][];
|
|
36566
36610
|
outputList?: string[];
|
|
36611
|
+
private?: boolean;
|
|
36567
36612
|
pushbullet_apikey?: string;
|
|
36568
36613
|
pushover_apikey?: string;
|
|
36569
36614
|
pushover_sendto?: string;
|
|
@@ -37224,7 +37269,7 @@ export interface components {
|
|
|
37224
37269
|
/** @enum {string} */
|
|
37225
37270
|
"models.ConditionMode": "all" | "any";
|
|
37226
37271
|
/** @enum {string} */
|
|
37227
|
-
"models.ConditionOp": "eq" | "ne" | "contains" | "in" | "exists" | "matches" | "gt" | "gte" | "lt" | "lte" | "anyMatch";
|
|
37272
|
+
"models.ConditionOp": "eq" | "ne" | "contains" | "in" | "exists" | "matches" | "gt" | "gte" | "lt" | "lte" | "anyMatch" | "all" | "any";
|
|
37228
37273
|
"models.Contact": {
|
|
37229
37274
|
email?: string;
|
|
37230
37275
|
name?: string;
|
|
@@ -37342,6 +37387,9 @@ export interface components {
|
|
|
37342
37387
|
motionRegions?: components["schemas"]["models.Region"][];
|
|
37343
37388
|
organisationId?: string;
|
|
37344
37389
|
outputList?: string[];
|
|
37390
|
+
/** @description Private restricts configuration access to UserId, not notification delivery.
|
|
37391
|
+
* Missing or false preserves the existing shared visibility. */
|
|
37392
|
+
private?: boolean;
|
|
37345
37393
|
/** @description ProjectId optionally places the alert in a project within its organisation.
|
|
37346
37394
|
* A nil value keeps the alert organisation-wide. */
|
|
37347
37395
|
projectId?: string;
|
|
@@ -38948,7 +38996,7 @@ export interface components {
|
|
|
38948
38996
|
videowall?: components["schemas"]["models.Videowall"];
|
|
38949
38997
|
};
|
|
38950
38998
|
/** @enum {string} */
|
|
38951
|
-
"models.Permission": "days.read" | "
|
|
38999
|
+
"models.Permission": "days.read" | "cases.read" | "cases.create" | "cases.update" | "cases.share" | "cases.export" | "cases.runWorkflow" | "cases.delete" | "workflow-runs.create" | "workflow-runs.read" | "workflow-runs.update" | "workflows.read" | "workflows.create" | "workflows.update" | "workflows.delete" | "application" | "media.read" | "media.update" | "media.export" | "media.share" | "media.redact" | "media.delete" | "markers.read" | "markers.write" | "markers.all";
|
|
38952
39000
|
/** @enum {integer} */
|
|
38953
39001
|
"models.PermissionLevel": 1 | 2 | 3 | 4 | 2 | 3 | 4 | 5 | 2 | 3 | 2 | 2 | 3 | 2 | 3 | 4;
|
|
38954
39002
|
"models.Permissions": {
|
|
@@ -39275,6 +39323,9 @@ export interface components {
|
|
|
39275
39323
|
width?: number;
|
|
39276
39324
|
};
|
|
39277
39325
|
"models.StageCondition": {
|
|
39326
|
+
/** @description Conditions belongs only to logical all/any groups, which have no path,
|
|
39327
|
+
* value or match. Children retain absolute paths; anyMatch stays relative. */
|
|
39328
|
+
conditions?: components["schemas"]["models.WorkflowCondition"][];
|
|
39278
39329
|
match?: components["schemas"]["models.WorkflowPredicateSet"];
|
|
39279
39330
|
/** @description see the ConditionOp consts */
|
|
39280
39331
|
op?: components["schemas"]["models.ConditionOp"];
|
|
@@ -39300,6 +39351,11 @@ export interface components {
|
|
|
39300
39351
|
* the run root itself (device/user/identity, or an input present from open),
|
|
39301
39352
|
* evaluated as soon as the run opens with nothing to wait for. */
|
|
39302
39353
|
operation?: string;
|
|
39354
|
+
/** @description StartEdgeId marks an automatic entry alternative. StartMatched is frozen
|
|
39355
|
+
* at activation, so later worker output cannot activate a rejected branch.
|
|
39356
|
+
* Entry alternatives combine with OR, independently of ordinary joins. */
|
|
39357
|
+
startEdgeId?: string;
|
|
39358
|
+
startMatched?: boolean;
|
|
39303
39359
|
};
|
|
39304
39360
|
"models.StageParam": {
|
|
39305
39361
|
/** @description Default is applied when a node supplies no value for this parameter. */
|
|
@@ -40136,11 +40192,10 @@ export interface components {
|
|
|
40136
40192
|
* read-only workflow. Every workflow persisted before this field existed
|
|
40137
40193
|
* decodes as user. */
|
|
40138
40194
|
source?: components["schemas"]["models.WorkflowSource"];
|
|
40139
|
-
/** @description Stages is the
|
|
40140
|
-
*
|
|
40141
|
-
*
|
|
40142
|
-
*
|
|
40143
|
-
* workflows author the graph and CompileStages projects it). Read it through
|
|
40195
|
+
/** @description Stages is the executable stage set for stage-only/config definitions.
|
|
40196
|
+
* An explicit Start graph always wins over this cached projection; otherwise
|
|
40197
|
+
* populated stages are used as-is, or derived from Nodes+Edges on demand.
|
|
40198
|
+
* Read it through
|
|
40144
40199
|
* CompileStages, never directly, so both authoring styles resolve uniformly.
|
|
40145
40200
|
*
|
|
40146
40201
|
* Only the routing fields (Operation, Dispatch, Needs, NeedsMode) are
|
|
@@ -40169,6 +40224,9 @@ export interface components {
|
|
|
40169
40224
|
url?: string;
|
|
40170
40225
|
};
|
|
40171
40226
|
"models.WorkflowCondition": {
|
|
40227
|
+
/** @description Conditions belongs only to logical all/any groups, which have no path,
|
|
40228
|
+
* value or match. Children retain absolute paths; anyMatch stays relative. */
|
|
40229
|
+
conditions?: components["schemas"]["models.WorkflowCondition"][];
|
|
40172
40230
|
match?: components["schemas"]["models.WorkflowPredicateSet"];
|
|
40173
40231
|
/** @description see the ConditionOp consts */
|
|
40174
40232
|
op?: components["schemas"]["models.ConditionOp"];
|
|
@@ -40212,6 +40270,17 @@ export interface components {
|
|
|
40212
40270
|
/** @description TargetPort optionally selects which of the target stage's declared Inputs
|
|
40213
40271
|
* (see WorkflowStage.Inputs) this edge feeds. Empty means the default port. */
|
|
40214
40272
|
targetPort?: string;
|
|
40273
|
+
/** @description Trigger is the complete source/classification/schedule scope of an outgoing Start edge.
|
|
40274
|
+
* Nil reads the legacy node scope; a present empty object means unrestricted.
|
|
40275
|
+
* Manual Start retains this configuration without activating it. */
|
|
40276
|
+
trigger?: components["schemas"]["models.WorkflowEdgeTrigger"];
|
|
40277
|
+
};
|
|
40278
|
+
"models.WorkflowEdgeTrigger": {
|
|
40279
|
+
classifications?: string[];
|
|
40280
|
+
devices?: components["schemas"]["models.DeviceKey"][];
|
|
40281
|
+
groupIds?: string[];
|
|
40282
|
+
siteIds?: string[];
|
|
40283
|
+
weeklySchedule?: components["schemas"]["models.WeeklySchedule"][];
|
|
40215
40284
|
};
|
|
40216
40285
|
"models.WorkflowInvocation": {
|
|
40217
40286
|
callback?: components["schemas"]["models.WorkflowCallback"];
|
|
@@ -40244,8 +40313,8 @@ export interface components {
|
|
|
40244
40313
|
data?: {
|
|
40245
40314
|
[key: string]: unknown;
|
|
40246
40315
|
};
|
|
40247
|
-
/** @description Devices scopes
|
|
40248
|
-
*
|
|
40316
|
+
/** @description Devices scopes legacy automatic roots. Start edges inherit it only when
|
|
40317
|
+
* their Trigger is nil. Empty means every eligible device; ignored on stages. */
|
|
40249
40318
|
devices?: components["schemas"]["models.DeviceKey"][];
|
|
40250
40319
|
/** @description Id is this instance's identity within the workflow. It is the stable
|
|
40251
40320
|
* handle that edges connect to, and the per-instance runtime key when the
|
|
@@ -40256,9 +40325,9 @@ export interface components {
|
|
|
40256
40325
|
* by platform- and user-defined stages), not its Mongo Id. Set on every
|
|
40257
40326
|
* stage node and resolved at compile time; empty on a root node. */
|
|
40258
40327
|
stageRef?: string;
|
|
40259
|
-
/** @description Trigger is required on Start nodes
|
|
40260
|
-
*
|
|
40261
|
-
* triggers without exposing inactive settings. */
|
|
40328
|
+
/** @description Trigger is required on Start nodes for Type and manual Surfaces. Legacy
|
|
40329
|
+
* automatic settings remain readable; new scopes are authored on edges.
|
|
40330
|
+
* NormalizeTriggers derives runtime triggers without exposing inactive settings. */
|
|
40262
40331
|
trigger?: components["schemas"]["models.WorkflowTrigger"];
|
|
40263
40332
|
/** @description Type is what the node represents; empty means WorkflowNodeStage. */
|
|
40264
40333
|
type?: components["schemas"]["models.WorkflowNodeType"];
|
|
@@ -40317,6 +40386,9 @@ export interface components {
|
|
|
40317
40386
|
* run state is correlated by Id/RunId because several workflows and manual
|
|
40318
40387
|
* re-runs may execute over the same key. */
|
|
40319
40388
|
key?: string;
|
|
40389
|
+
/** @description MatchedStartEdgeIds is the safe activation provenance projection for run lists.
|
|
40390
|
+
* It contains no trigger definitions or predicate values. */
|
|
40391
|
+
matchedStartEdgeIds?: string[];
|
|
40320
40392
|
mediaId?: string;
|
|
40321
40393
|
/** @description Operation marks the message's role on the workflows queue (wire-only):
|
|
40322
40394
|
* - "event": a fresh run hand-off from analysis. It opens the run and
|
|
@@ -40464,7 +40536,8 @@ export interface components {
|
|
|
40464
40536
|
/** @description TraceId continues the distributed trace across the workflow tail and lets
|
|
40465
40537
|
* authorized detail surfaces correlate the durable run with telemetry. */
|
|
40466
40538
|
traceId?: string;
|
|
40467
|
-
/** @description TriggerMatch records the first automatic trigger
|
|
40539
|
+
/** @description TriggerMatch records the first selecting automatic trigger and all matching
|
|
40540
|
+
* Start edge IDs. It is immutable activation provenance, not routing state.
|
|
40468
40541
|
* It is immutable engine-owned provenance, not stage execution state. Nil
|
|
40469
40542
|
* means no captured match (legacy or a launch that bypassed automatic matching).
|
|
40470
40543
|
* Readers must not reconstruct it from Origin or today's workflow definition. */
|
|
@@ -40554,6 +40627,9 @@ export interface components {
|
|
|
40554
40627
|
/** @description Index is zero-based in the normalized trigger list at selection time.
|
|
40555
40628
|
* It is historical context, not a stable ID into an edited definition. */
|
|
40556
40629
|
index?: number;
|
|
40630
|
+
/** @description MatchedEdgeIds captures all matching automatic Start edges in graph order.
|
|
40631
|
+
* Legacy trigger lists omit it; Index/Trigger still describe the first match. */
|
|
40632
|
+
matchedEdgeIds?: string[];
|
|
40557
40633
|
trigger?: components["schemas"]["models.WorkflowTrigger"];
|
|
40558
40634
|
};
|
|
40559
40635
|
/** @enum {string} */
|
|
@@ -40651,6 +40727,10 @@ export interface components {
|
|
|
40651
40727
|
projectId?: string;
|
|
40652
40728
|
};
|
|
40653
40729
|
"models.WorkflowTrigger": {
|
|
40730
|
+
/** @description Classifications requires at least one selected label in the initial
|
|
40731
|
+
* inputs.classify.details.*.classified values, independently of ConditionMode.
|
|
40732
|
+
* Empty means unrestricted; future worker results never satisfy this scope. */
|
|
40733
|
+
classifications?: string[];
|
|
40654
40734
|
/** @description Conditions read the pre-run envelope, including already available,
|
|
40655
40735
|
* sanitized inputs, never future results. Scope and schedule remain mandatory
|
|
40656
40736
|
* even when this group's ConditionMode is any. */
|
|
@@ -40666,7 +40746,13 @@ export interface components {
|
|
|
40666
40746
|
* device scoping and stage matching stay consistent. Author richer scoping
|
|
40667
40747
|
* (a device-name pattern, an organisation check, …) with Conditions. */
|
|
40668
40748
|
devices?: components["schemas"]["models.DeviceKey"][];
|
|
40749
|
+
/** @description EdgeId identifies the outgoing automatic Start edge that derived this
|
|
40750
|
+
* trigger. It is a projection, never an independently authored edge type. */
|
|
40751
|
+
edgeId?: string;
|
|
40669
40752
|
groupIds?: string[];
|
|
40753
|
+
/** @description SharedConditions preserves legacy Start-level gating independently of the
|
|
40754
|
+
* edge's condition mode. Both groups must match; new editors author edges. */
|
|
40755
|
+
sharedConditions?: components["schemas"]["models.WorkflowConditionSet"];
|
|
40670
40756
|
/** @description SiteIds and GroupIds are stable membership IDs resolved by the caller, not
|
|
40671
40757
|
* names or authorization grants. Selectors are OR within each category and
|
|
40672
40758
|
* AND between populated categories. */
|
|
@@ -41010,6 +41096,7 @@ export declare namespace models {
|
|
|
41010
41096
|
type WorkflowDevice = components['schemas']['models.WorkflowDevice'];
|
|
41011
41097
|
type WorkflowDeviceReference = components['schemas']['models.WorkflowDeviceReference'];
|
|
41012
41098
|
type WorkflowEdge = components['schemas']['models.WorkflowEdge'];
|
|
41099
|
+
type WorkflowEdgeTrigger = components['schemas']['models.WorkflowEdgeTrigger'];
|
|
41013
41100
|
type WorkflowInvocation = components['schemas']['models.WorkflowInvocation'];
|
|
41014
41101
|
type WorkflowInvocationWorkflow = components['schemas']['models.WorkflowInvocationWorkflow'];
|
|
41015
41102
|
type WorkflowMediaReference = components['schemas']['models.WorkflowMediaReference'];
|