@uug-ai/models 1.7.63 → 1.7.64
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 +181 -6
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -31437,6 +31437,45 @@ export interface paths {
|
|
|
31437
31437
|
patch?: never;
|
|
31438
31438
|
trace?: never;
|
|
31439
31439
|
};
|
|
31440
|
+
"/internal/workflowrunoverview": {
|
|
31441
|
+
parameters: {
|
|
31442
|
+
query?: never;
|
|
31443
|
+
header?: never;
|
|
31444
|
+
path?: never;
|
|
31445
|
+
cookie?: never;
|
|
31446
|
+
};
|
|
31447
|
+
/**
|
|
31448
|
+
* Get WorkflowRunOverview (schema generation only)
|
|
31449
|
+
* @description Internal endpoint used only to ensure WorkflowRunOverview schema is generated in OpenAPI spec
|
|
31450
|
+
*/
|
|
31451
|
+
get: {
|
|
31452
|
+
parameters: {
|
|
31453
|
+
query?: never;
|
|
31454
|
+
header?: never;
|
|
31455
|
+
path?: never;
|
|
31456
|
+
cookie?: never;
|
|
31457
|
+
};
|
|
31458
|
+
requestBody?: never;
|
|
31459
|
+
responses: {
|
|
31460
|
+
/** @description OK */
|
|
31461
|
+
200: {
|
|
31462
|
+
headers: {
|
|
31463
|
+
[name: string]: unknown;
|
|
31464
|
+
};
|
|
31465
|
+
content: {
|
|
31466
|
+
"application/json": components["schemas"]["api.WorkflowRunOverview"];
|
|
31467
|
+
};
|
|
31468
|
+
};
|
|
31469
|
+
};
|
|
31470
|
+
};
|
|
31471
|
+
put?: never;
|
|
31472
|
+
post?: never;
|
|
31473
|
+
delete?: never;
|
|
31474
|
+
options?: never;
|
|
31475
|
+
head?: never;
|
|
31476
|
+
patch?: never;
|
|
31477
|
+
trace?: never;
|
|
31478
|
+
};
|
|
31440
31479
|
"/internal/workflowrunstage": {
|
|
31441
31480
|
parameters: {
|
|
31442
31481
|
query?: never;
|
|
@@ -31476,6 +31515,45 @@ export interface paths {
|
|
|
31476
31515
|
patch?: never;
|
|
31477
31516
|
trace?: never;
|
|
31478
31517
|
};
|
|
31518
|
+
"/internal/workflowrunstagedecision": {
|
|
31519
|
+
parameters: {
|
|
31520
|
+
query?: never;
|
|
31521
|
+
header?: never;
|
|
31522
|
+
path?: never;
|
|
31523
|
+
cookie?: never;
|
|
31524
|
+
};
|
|
31525
|
+
/**
|
|
31526
|
+
* Get WorkflowRunStageDecision (schema generation only)
|
|
31527
|
+
* @description Internal endpoint used only to ensure WorkflowRunStageDecision schema is generated in OpenAPI spec
|
|
31528
|
+
*/
|
|
31529
|
+
get: {
|
|
31530
|
+
parameters: {
|
|
31531
|
+
query?: never;
|
|
31532
|
+
header?: never;
|
|
31533
|
+
path?: never;
|
|
31534
|
+
cookie?: never;
|
|
31535
|
+
};
|
|
31536
|
+
requestBody?: never;
|
|
31537
|
+
responses: {
|
|
31538
|
+
/** @description OK */
|
|
31539
|
+
200: {
|
|
31540
|
+
headers: {
|
|
31541
|
+
[name: string]: unknown;
|
|
31542
|
+
};
|
|
31543
|
+
content: {
|
|
31544
|
+
"application/json": components["schemas"]["models.WorkflowRunStageDecision"];
|
|
31545
|
+
};
|
|
31546
|
+
};
|
|
31547
|
+
};
|
|
31548
|
+
};
|
|
31549
|
+
put?: never;
|
|
31550
|
+
post?: never;
|
|
31551
|
+
delete?: never;
|
|
31552
|
+
options?: never;
|
|
31553
|
+
head?: never;
|
|
31554
|
+
patch?: never;
|
|
31555
|
+
trace?: never;
|
|
31556
|
+
};
|
|
31479
31557
|
"/internal/workflowrunstageexecution": {
|
|
31480
31558
|
parameters: {
|
|
31481
31559
|
query?: never;
|
|
@@ -31554,6 +31632,45 @@ export interface paths {
|
|
|
31554
31632
|
patch?: never;
|
|
31555
31633
|
trace?: never;
|
|
31556
31634
|
};
|
|
31635
|
+
"/internal/workflowrunstageneeddecision": {
|
|
31636
|
+
parameters: {
|
|
31637
|
+
query?: never;
|
|
31638
|
+
header?: never;
|
|
31639
|
+
path?: never;
|
|
31640
|
+
cookie?: never;
|
|
31641
|
+
};
|
|
31642
|
+
/**
|
|
31643
|
+
* Get WorkflowRunStageNeedDecision (schema generation only)
|
|
31644
|
+
* @description Internal endpoint used only to ensure WorkflowRunStageNeedDecision schema is generated in OpenAPI spec
|
|
31645
|
+
*/
|
|
31646
|
+
get: {
|
|
31647
|
+
parameters: {
|
|
31648
|
+
query?: never;
|
|
31649
|
+
header?: never;
|
|
31650
|
+
path?: never;
|
|
31651
|
+
cookie?: never;
|
|
31652
|
+
};
|
|
31653
|
+
requestBody?: never;
|
|
31654
|
+
responses: {
|
|
31655
|
+
/** @description OK */
|
|
31656
|
+
200: {
|
|
31657
|
+
headers: {
|
|
31658
|
+
[name: string]: unknown;
|
|
31659
|
+
};
|
|
31660
|
+
content: {
|
|
31661
|
+
"application/json": components["schemas"]["models.WorkflowRunStageNeedDecision"];
|
|
31662
|
+
};
|
|
31663
|
+
};
|
|
31664
|
+
};
|
|
31665
|
+
};
|
|
31666
|
+
put?: never;
|
|
31667
|
+
post?: never;
|
|
31668
|
+
delete?: never;
|
|
31669
|
+
options?: never;
|
|
31670
|
+
head?: never;
|
|
31671
|
+
patch?: never;
|
|
31672
|
+
trace?: never;
|
|
31673
|
+
};
|
|
31557
31674
|
"/internal/workflowrunstatussummary": {
|
|
31558
31675
|
parameters: {
|
|
31559
31676
|
query?: never;
|
|
@@ -35076,7 +35193,7 @@ export interface components {
|
|
|
35076
35193
|
};
|
|
35077
35194
|
"api.ListWorkflowRunsResponse": {
|
|
35078
35195
|
pagination?: components["schemas"]["api.CursorPagination"];
|
|
35079
|
-
runs?: components["schemas"]["
|
|
35196
|
+
runs?: components["schemas"]["api.WorkflowRunOverview"][];
|
|
35080
35197
|
summary?: components["schemas"]["api.WorkflowRunStatusSummary"];
|
|
35081
35198
|
};
|
|
35082
35199
|
"api.ListWorkflowRunsSuccessResponse": {
|
|
@@ -35455,6 +35572,9 @@ export interface components {
|
|
|
35455
35572
|
"api.RunWorkflowRequest": {
|
|
35456
35573
|
attachmentIds?: string[];
|
|
35457
35574
|
mediaIds?: string[];
|
|
35575
|
+
/** @description Surface is case (the default) or redaction. The workflow must expose a
|
|
35576
|
+
* manual trigger on this surface; all case/media access checks still apply. */
|
|
35577
|
+
surface?: components["schemas"]["models.WorkflowTriggerSurface"];
|
|
35458
35578
|
workflowId?: string;
|
|
35459
35579
|
};
|
|
35460
35580
|
"api.RunWorkflowResponse": {
|
|
@@ -36321,6 +36441,33 @@ export interface components {
|
|
|
36321
36441
|
to?: number;
|
|
36322
36442
|
workflowIds?: string[];
|
|
36323
36443
|
};
|
|
36444
|
+
"api.WorkflowRunOverview": {
|
|
36445
|
+
caseMediaId?: string;
|
|
36446
|
+
deviceKey?: string;
|
|
36447
|
+
deviceName?: string;
|
|
36448
|
+
dispatched?: number;
|
|
36449
|
+
durationMs?: number;
|
|
36450
|
+
end?: number;
|
|
36451
|
+
hasResults?: boolean;
|
|
36452
|
+
key?: string;
|
|
36453
|
+
mediaId?: string;
|
|
36454
|
+
operations?: components["schemas"]["models.WorkflowRunOperationStatus"][];
|
|
36455
|
+
origin?: components["schemas"]["models.WorkflowRunOrigin"];
|
|
36456
|
+
recordingTimestamp?: number;
|
|
36457
|
+
resolved?: number;
|
|
36458
|
+
runId?: string;
|
|
36459
|
+
/** @enum {string} */
|
|
36460
|
+
sourceAccess?: "available" | "restricted" | "unavailable";
|
|
36461
|
+
sourceLabel?: string;
|
|
36462
|
+
sourceRef?: string;
|
|
36463
|
+
/** @enum {string} */
|
|
36464
|
+
sourceType?: "media" | "case";
|
|
36465
|
+
stageExecutions?: components["schemas"]["models.WorkflowRunStageExecution"][];
|
|
36466
|
+
start?: number;
|
|
36467
|
+
state?: components["schemas"]["models.WorkflowRunState"];
|
|
36468
|
+
workflowId?: string;
|
|
36469
|
+
workflowName?: string;
|
|
36470
|
+
};
|
|
36324
36471
|
"api.WorkflowRunStatusSummary": {
|
|
36325
36472
|
completed?: number;
|
|
36326
36473
|
noResult?: number;
|
|
@@ -36349,7 +36496,7 @@ export interface components {
|
|
|
36349
36496
|
userId?: string;
|
|
36350
36497
|
};
|
|
36351
36498
|
/** @enum {string} */
|
|
36352
|
-
"models.AccessTokenScope": "
|
|
36499
|
+
"models.AccessTokenScope": "days.read" | "markers.read" | "markers.write" | "markers.all" | "cases.read" | "cases.create" | "cases.update" | "cases.share" | "cases.export" | "cases.runWorkflow" | "cases.delete" | "media.read" | "media.update" | "media.export" | "media.share" | "media.redact" | "media.delete" | "workflows.read" | "workflows.create" | "workflows.update" | "workflows.delete" | "application" | "workflow-runs.create" | "workflow-runs.read" | "workflow-runs.update";
|
|
36353
36500
|
"models.Account": {
|
|
36354
36501
|
account?: components["schemas"]["models.AccountBody"];
|
|
36355
36502
|
};
|
|
@@ -38801,7 +38948,7 @@ export interface components {
|
|
|
38801
38948
|
videowall?: components["schemas"]["models.Videowall"];
|
|
38802
38949
|
};
|
|
38803
38950
|
/** @enum {string} */
|
|
38804
|
-
"models.Permission": "
|
|
38951
|
+
"models.Permission": "days.read" | "markers.read" | "markers.write" | "markers.all" | "cases.read" | "cases.create" | "cases.update" | "cases.share" | "cases.export" | "cases.runWorkflow" | "cases.delete" | "media.read" | "media.update" | "media.export" | "media.share" | "media.redact" | "media.delete" | "workflows.read" | "workflows.create" | "workflows.update" | "workflows.delete" | "application" | "workflow-runs.create" | "workflow-runs.read" | "workflow-runs.update";
|
|
38805
38952
|
/** @enum {integer} */
|
|
38806
38953
|
"models.PermissionLevel": 1 | 2 | 3 | 4 | 2 | 3 | 4 | 5 | 2 | 3 | 2 | 2 | 3 | 2 | 3 | 4;
|
|
38807
38954
|
"models.Permissions": {
|
|
@@ -40097,7 +40244,7 @@ export interface components {
|
|
|
40097
40244
|
data?: {
|
|
40098
40245
|
[key: string]: unknown;
|
|
40099
40246
|
};
|
|
40100
|
-
/** @description Devices scopes
|
|
40247
|
+
/** @description Devices scopes an automatic root to recordings from these devices. Empty means
|
|
40101
40248
|
* every device the workflow's owner can see. Ignored on stage nodes. */
|
|
40102
40249
|
devices?: components["schemas"]["models.DeviceKey"][];
|
|
40103
40250
|
/** @description Id is this instance's identity within the workflow. It is the stable
|
|
@@ -40107,15 +40254,19 @@ export interface components {
|
|
|
40107
40254
|
label?: string;
|
|
40108
40255
|
/** @description StageRef is the referenced stage's Operation key (the catalog key shared
|
|
40109
40256
|
* by platform- and user-defined stages), not its Mongo Id. Set on every
|
|
40110
|
-
* stage node and resolved at compile time; empty on a
|
|
40257
|
+
* stage node and resolved at compile time; empty on a root node. */
|
|
40111
40258
|
stageRef?: string;
|
|
40259
|
+
/** @description Trigger is required on Start nodes. Automatic settings and inactive manual
|
|
40260
|
+
* surface selections are retained here; NormalizeTriggers derives runtime
|
|
40261
|
+
* triggers without exposing inactive settings. */
|
|
40262
|
+
trigger?: components["schemas"]["models.WorkflowTrigger"];
|
|
40112
40263
|
/** @description Type is what the node represents; empty means WorkflowNodeStage. */
|
|
40113
40264
|
type?: components["schemas"]["models.WorkflowNodeType"];
|
|
40114
40265
|
x?: number;
|
|
40115
40266
|
y?: number;
|
|
40116
40267
|
};
|
|
40117
40268
|
/** @enum {string} */
|
|
40118
|
-
"models.WorkflowNodeType": "stage" | "device";
|
|
40269
|
+
"models.WorkflowNodeType": "stage" | "device" | "start";
|
|
40119
40270
|
"models.WorkflowPredicate": {
|
|
40120
40271
|
op?: components["schemas"]["models.ConditionOp"];
|
|
40121
40272
|
path?: string;
|
|
@@ -40134,6 +40285,7 @@ export interface components {
|
|
|
40134
40285
|
stage?: components["schemas"]["models.WorkflowStageReference"];
|
|
40135
40286
|
};
|
|
40136
40287
|
"models.WorkflowRun": {
|
|
40288
|
+
caseMediaId?: string;
|
|
40137
40289
|
/** @description Device identifies the recording the run derives from, with the few fields
|
|
40138
40290
|
* vault-override resolution and logging need (device key/name and where the
|
|
40139
40291
|
* media is stored/served from). Copied from the recording at hand-off time.
|
|
@@ -40274,12 +40426,17 @@ export interface components {
|
|
|
40274
40426
|
* and short-lived, so — like Storage — it is wire-only and never lands in the
|
|
40275
40427
|
* run's persisted state; a stage dispatched after a reload fetches via Storage. */
|
|
40276
40428
|
signedUrl?: string;
|
|
40429
|
+
sourceAccess?: string;
|
|
40430
|
+
sourceLabel?: string;
|
|
40277
40431
|
/** @description SourceRef ties a manual run back to the thing it was launched from — e.g.
|
|
40278
40432
|
* the case id when launched from a case surface — so sibling runs fanned out
|
|
40279
40433
|
* from one user action (one seed per selected media key) can be grouped above
|
|
40280
40434
|
* the run. Empty for automatic runs. It generalises to any run-grouping handle
|
|
40281
40435
|
* (a case id today; a temporal device-series id is a forward-looking twin). */
|
|
40282
40436
|
sourceRef?: string;
|
|
40437
|
+
/** @description SourceType disambiguates case launches from media launch-group references.
|
|
40438
|
+
* Legacy readers infer case ownership from SourceRef and case input metadata. */
|
|
40439
|
+
sourceType?: string;
|
|
40283
40440
|
/** @description StageExecutions reads the legacy split timeline. NormalizeStages moves
|
|
40284
40441
|
* matched summaries into Stages, retaining unmatched history without
|
|
40285
40442
|
* reconstructing missing routing. Serialization does not normalize implicitly.
|
|
@@ -40330,6 +40487,8 @@ export interface components {
|
|
|
40330
40487
|
workflowName?: string;
|
|
40331
40488
|
};
|
|
40332
40489
|
/** @enum {string} */
|
|
40490
|
+
"models.WorkflowRunDecisionOutcome": "passed" | "failed" | "waiting" | "notEvaluated";
|
|
40491
|
+
/** @enum {string} */
|
|
40333
40492
|
"models.WorkflowRunOperationState": "dispatched" | "resolved";
|
|
40334
40493
|
"models.WorkflowRunOperationStatus": {
|
|
40335
40494
|
operation?: string;
|
|
@@ -40348,6 +40507,11 @@ export interface components {
|
|
|
40348
40507
|
operation?: string;
|
|
40349
40508
|
queue?: string;
|
|
40350
40509
|
};
|
|
40510
|
+
"models.WorkflowRunStageDecision": {
|
|
40511
|
+
eligible?: boolean;
|
|
40512
|
+
evaluatedAtMs?: number;
|
|
40513
|
+
needs?: components["schemas"]["models.WorkflowRunStageNeedDecision"][];
|
|
40514
|
+
};
|
|
40351
40515
|
"models.WorkflowRunStageExecution": {
|
|
40352
40516
|
dependencies?: string[];
|
|
40353
40517
|
dispatchAttempts?: number;
|
|
@@ -40362,6 +40526,10 @@ export interface components {
|
|
|
40362
40526
|
state?: components["schemas"]["models.WorkflowRunStageState"];
|
|
40363
40527
|
};
|
|
40364
40528
|
"models.WorkflowRunStageExecutionDetails": {
|
|
40529
|
+
/** @description Decision is the latest captured routing evaluation while waiting, then the
|
|
40530
|
+
* decision associated with dispatch. Nil means no decision was captured.
|
|
40531
|
+
* Writers preserve the dispatch decision; readers never infer it from state. */
|
|
40532
|
+
decision?: components["schemas"]["models.WorkflowRunStageDecision"];
|
|
40365
40533
|
dispatchAttempts?: number;
|
|
40366
40534
|
dispatchedAtMs?: number;
|
|
40367
40535
|
durationMs?: number;
|
|
@@ -40371,6 +40539,10 @@ export interface components {
|
|
|
40371
40539
|
resolvedAtMs?: number;
|
|
40372
40540
|
state?: components["schemas"]["models.WorkflowRunStageState"];
|
|
40373
40541
|
};
|
|
40542
|
+
"models.WorkflowRunStageNeedDecision": {
|
|
40543
|
+
index?: number;
|
|
40544
|
+
outcome?: components["schemas"]["models.WorkflowRunDecisionOutcome"];
|
|
40545
|
+
};
|
|
40374
40546
|
/** @enum {string} */
|
|
40375
40547
|
"models.WorkflowRunStageState": "waiting" | "retrying" | "dispatched" | "resolved" | "dispatchFailed" | "timedOut" | "skipped";
|
|
40376
40548
|
/** @enum {string} */
|
|
@@ -40848,8 +41020,10 @@ export declare namespace models {
|
|
|
40848
41020
|
type WorkflowRun = components['schemas']['models.WorkflowRun'];
|
|
40849
41021
|
type WorkflowRunOperationStatus = components['schemas']['models.WorkflowRunOperationStatus'];
|
|
40850
41022
|
type WorkflowRunStage = components['schemas']['models.WorkflowRunStage'];
|
|
41023
|
+
type WorkflowRunStageDecision = components['schemas']['models.WorkflowRunStageDecision'];
|
|
40851
41024
|
type WorkflowRunStageExecution = components['schemas']['models.WorkflowRunStageExecution'];
|
|
40852
41025
|
type WorkflowRunStageExecutionDetails = components['schemas']['models.WorkflowRunStageExecutionDetails'];
|
|
41026
|
+
type WorkflowRunStageNeedDecision = components['schemas']['models.WorkflowRunStageNeedDecision'];
|
|
40853
41027
|
type WorkflowRunTriggerMatch = components['schemas']['models.WorkflowRunTriggerMatch'];
|
|
40854
41028
|
type WorkflowStage = components['schemas']['models.WorkflowStage'];
|
|
40855
41029
|
type WorkflowStageReference = components['schemas']['models.WorkflowStageReference'];
|
|
@@ -41321,5 +41495,6 @@ export declare namespace api {
|
|
|
41321
41495
|
type WarningResponse = components['schemas']['api.WarningResponse'];
|
|
41322
41496
|
type WorkflowFilter = components['schemas']['api.WorkflowFilter'];
|
|
41323
41497
|
type WorkflowRunFilter = components['schemas']['api.WorkflowRunFilter'];
|
|
41498
|
+
type WorkflowRunOverview = components['schemas']['api.WorkflowRunOverview'];
|
|
41324
41499
|
type WorkflowRunStatusSummary = components['schemas']['api.WorkflowRunStatusSummary'];
|
|
41325
41500
|
}
|