@uug-ai/models 1.7.62 → 1.7.63
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 +71 -10
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -31593,6 +31593,45 @@ export interface paths {
|
|
|
31593
31593
|
patch?: never;
|
|
31594
31594
|
trace?: never;
|
|
31595
31595
|
};
|
|
31596
|
+
"/internal/workflowruntriggermatch": {
|
|
31597
|
+
parameters: {
|
|
31598
|
+
query?: never;
|
|
31599
|
+
header?: never;
|
|
31600
|
+
path?: never;
|
|
31601
|
+
cookie?: never;
|
|
31602
|
+
};
|
|
31603
|
+
/**
|
|
31604
|
+
* Get WorkflowRunTriggerMatch (schema generation only)
|
|
31605
|
+
* @description Internal endpoint used only to ensure WorkflowRunTriggerMatch schema is generated in OpenAPI spec
|
|
31606
|
+
*/
|
|
31607
|
+
get: {
|
|
31608
|
+
parameters: {
|
|
31609
|
+
query?: never;
|
|
31610
|
+
header?: never;
|
|
31611
|
+
path?: never;
|
|
31612
|
+
cookie?: never;
|
|
31613
|
+
};
|
|
31614
|
+
requestBody?: never;
|
|
31615
|
+
responses: {
|
|
31616
|
+
/** @description OK */
|
|
31617
|
+
200: {
|
|
31618
|
+
headers: {
|
|
31619
|
+
[name: string]: unknown;
|
|
31620
|
+
};
|
|
31621
|
+
content: {
|
|
31622
|
+
"application/json": components["schemas"]["models.WorkflowRunTriggerMatch"];
|
|
31623
|
+
};
|
|
31624
|
+
};
|
|
31625
|
+
};
|
|
31626
|
+
};
|
|
31627
|
+
put?: never;
|
|
31628
|
+
post?: never;
|
|
31629
|
+
delete?: never;
|
|
31630
|
+
options?: never;
|
|
31631
|
+
head?: never;
|
|
31632
|
+
patch?: never;
|
|
31633
|
+
trace?: never;
|
|
31634
|
+
};
|
|
31596
31635
|
"/internal/workflowstage": {
|
|
31597
31636
|
parameters: {
|
|
31598
31637
|
query?: never;
|
|
@@ -36310,7 +36349,7 @@ export interface components {
|
|
|
36310
36349
|
userId?: string;
|
|
36311
36350
|
};
|
|
36312
36351
|
/** @enum {string} */
|
|
36313
|
-
"models.AccessTokenScope": "media.read" | "media.update" | "media.export" | "media.share" | "media.redact" | "media.delete" | "
|
|
36352
|
+
"models.AccessTokenScope": "media.read" | "media.update" | "media.export" | "media.share" | "media.redact" | "media.delete" | "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" | "days.read" | "application" | "markers.read" | "markers.write" | "markers.all";
|
|
36314
36353
|
"models.Account": {
|
|
36315
36354
|
account?: components["schemas"]["models.AccountBody"];
|
|
36316
36355
|
};
|
|
@@ -38762,7 +38801,7 @@ export interface components {
|
|
|
38762
38801
|
videowall?: components["schemas"]["models.Videowall"];
|
|
38763
38802
|
};
|
|
38764
38803
|
/** @enum {string} */
|
|
38765
|
-
"models.Permission": "media.read" | "media.update" | "media.export" | "media.share" | "media.redact" | "media.delete" | "
|
|
38804
|
+
"models.Permission": "media.read" | "media.update" | "media.export" | "media.share" | "media.redact" | "media.delete" | "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" | "days.read" | "application" | "markers.read" | "markers.write" | "markers.all";
|
|
38766
38805
|
/** @enum {integer} */
|
|
38767
38806
|
"models.PermissionLevel": 1 | 2 | 3 | 4 | 2 | 3 | 4 | 5 | 2 | 3 | 2 | 2 | 3 | 2 | 3 | 4;
|
|
38768
38807
|
"models.Permissions": {
|
|
@@ -39118,6 +39157,7 @@ export interface components {
|
|
|
39118
39157
|
"models.StageParam": {
|
|
39119
39158
|
/** @description Default is applied when a node supplies no value for this parameter. */
|
|
39120
39159
|
default?: unknown;
|
|
39160
|
+
description?: string;
|
|
39121
39161
|
label?: string;
|
|
39122
39162
|
name?: string;
|
|
39123
39163
|
/** @description Options enumerates the permitted values when Type is StageParamSelect. */
|
|
@@ -39126,7 +39166,7 @@ export interface components {
|
|
|
39126
39166
|
type?: components["schemas"]["models.StageParamType"];
|
|
39127
39167
|
};
|
|
39128
39168
|
/** @enum {string} */
|
|
39129
|
-
"models.StageParamType": "string" | "number" | "boolean" | "select";
|
|
39169
|
+
"models.StageParamType": "string" | "number" | "boolean" | "select" | "secret";
|
|
39130
39170
|
"models.StagePort": {
|
|
39131
39171
|
label?: string;
|
|
39132
39172
|
name?: string;
|
|
@@ -40111,7 +40151,6 @@ export interface components {
|
|
|
40111
40151
|
dispatchedOperations?: string[];
|
|
40112
40152
|
durationMs?: number;
|
|
40113
40153
|
end?: number;
|
|
40114
|
-
endedAtMs?: number;
|
|
40115
40154
|
hasResults?: boolean;
|
|
40116
40155
|
/** @description Inputs is the immutable start context the run opens with, keyed by the
|
|
40117
40156
|
* upstream operation that produced it (e.g. "classify" → the classification
|
|
@@ -40146,6 +40185,17 @@ export interface components {
|
|
|
40146
40185
|
* be filtered by how they started. Empty is treated as automatic for runs
|
|
40147
40186
|
* opened before origins existed. */
|
|
40148
40187
|
origin?: components["schemas"]["models.WorkflowRunOrigin"];
|
|
40188
|
+
/** @description Params carries the per-placement parameter values the workflow editor
|
|
40189
|
+
* stored for the dispatched stage (WorkflowNode.Data, declared by the
|
|
40190
|
+
* stage's WorkflowStage.Params). The engine resolves them from the workflow
|
|
40191
|
+
* definition on every engine→worker dispatch, so a worker such as the
|
|
40192
|
+
* forwarder can let a tenant override deployment defaults. Values may include
|
|
40193
|
+
* StageParamSecret credentials, so `bson:"-"` is load-bearing — like Storage,
|
|
40194
|
+
* they never persist in run state — and a worker must never echo them back
|
|
40195
|
+
* or copy them into anything it forwards. */
|
|
40196
|
+
params?: {
|
|
40197
|
+
[key: string]: unknown;
|
|
40198
|
+
};
|
|
40149
40199
|
/** @description Payload is the self-describing block envelope a delegated-ingest worker
|
|
40150
40200
|
* hands back for the platform to persist: one or more typed blocks (e.g. a
|
|
40151
40201
|
* "detection" block carrying a PostDetectionsRequest, optionally followed by
|
|
@@ -40241,13 +40291,9 @@ export interface components {
|
|
|
40241
40291
|
* split lifecycle summaries. Nil means no captured routing (legacy fallback);
|
|
40242
40292
|
* an explicit empty slice is an authoritative zero-stage plan. */
|
|
40243
40293
|
stages?: components["schemas"]["models.WorkflowRunStage"][];
|
|
40244
|
-
/** @description Start and End stamp the run's lifecycle
|
|
40245
|
-
*
|
|
40294
|
+
/** @description Start and End stamp the run's lifecycle in Unix milliseconds. Readers
|
|
40295
|
+
* normalize legacy runs whose values were persisted in Unix seconds. */
|
|
40246
40296
|
start?: number;
|
|
40247
|
-
/** @description StartedAtMs and EndedAtMs are the millisecond-precision counterparts of the
|
|
40248
|
-
* legacy Start and End fields. New writers populate both pairs; readers fall
|
|
40249
|
-
* back to Start/End for runs created before these fields existed. */
|
|
40250
|
-
startedAtMs?: number;
|
|
40251
40297
|
/** @description The fields below are API read projections. They are derived or joined by
|
|
40252
40298
|
* the service after loading a run and never persist back into workflow state. */
|
|
40253
40299
|
state?: components["schemas"]["models.WorkflowRunState"];
|
|
@@ -40261,6 +40307,11 @@ export interface components {
|
|
|
40261
40307
|
/** @description TraceId continues the distributed trace across the workflow tail and lets
|
|
40262
40308
|
* authorized detail surfaces correlate the durable run with telemetry. */
|
|
40263
40309
|
traceId?: string;
|
|
40310
|
+
/** @description TriggerMatch records the first automatic trigger that selected this run.
|
|
40311
|
+
* It is immutable engine-owned provenance, not stage execution state. Nil
|
|
40312
|
+
* means no captured match (legacy or a launch that bypassed automatic matching).
|
|
40313
|
+
* Readers must not reconstruct it from Origin or today's workflow definition. */
|
|
40314
|
+
triggerMatch?: components["schemas"]["models.WorkflowRunTriggerMatch"];
|
|
40264
40315
|
/** @description User is the curated, secret-free account context a run needs: the
|
|
40265
40316
|
* organisation that owns the recording (for logging/scoping) and the account
|
|
40266
40317
|
* Storage block used to resolve a per-recording vault override. Copied (and
|
|
@@ -40324,6 +40375,15 @@ export interface components {
|
|
|
40324
40375
|
"models.WorkflowRunStageState": "waiting" | "retrying" | "dispatched" | "resolved" | "dispatchFailed" | "timedOut" | "skipped";
|
|
40325
40376
|
/** @enum {string} */
|
|
40326
40377
|
"models.WorkflowRunState": "running" | "completed" | "noResult";
|
|
40378
|
+
"models.WorkflowRunTriggerMatch": {
|
|
40379
|
+
/** @description EvaluatedAtMs is the Unix-millisecond instant used for schedule matching
|
|
40380
|
+
* (usually recording time), not when the engine processed or opened the run. */
|
|
40381
|
+
evaluatedAtMs?: number;
|
|
40382
|
+
/** @description Index is zero-based in the normalized trigger list at selection time.
|
|
40383
|
+
* It is historical context, not a stable ID into an edited definition. */
|
|
40384
|
+
index?: number;
|
|
40385
|
+
trigger?: components["schemas"]["models.WorkflowTrigger"];
|
|
40386
|
+
};
|
|
40327
40387
|
/** @enum {string} */
|
|
40328
40388
|
"models.WorkflowSource": "user" | "config";
|
|
40329
40389
|
"models.WorkflowStage": {
|
|
@@ -40790,6 +40850,7 @@ export declare namespace models {
|
|
|
40790
40850
|
type WorkflowRunStage = components['schemas']['models.WorkflowRunStage'];
|
|
40791
40851
|
type WorkflowRunStageExecution = components['schemas']['models.WorkflowRunStageExecution'];
|
|
40792
40852
|
type WorkflowRunStageExecutionDetails = components['schemas']['models.WorkflowRunStageExecutionDetails'];
|
|
40853
|
+
type WorkflowRunTriggerMatch = components['schemas']['models.WorkflowRunTriggerMatch'];
|
|
40793
40854
|
type WorkflowStage = components['schemas']['models.WorkflowStage'];
|
|
40794
40855
|
type WorkflowStageReference = components['schemas']['models.WorkflowStageReference'];
|
|
40795
40856
|
type WorkflowStorage = components['schemas']['models.WorkflowStorage'];
|