@uug-ai/models 1.7.63 → 1.7.65
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 +189 -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": {
|
|
@@ -35132,6 +35249,10 @@ export interface components {
|
|
|
35132
35249
|
excludedDevices?: string[];
|
|
35133
35250
|
excludedMedia?: string[];
|
|
35134
35251
|
groups?: string[];
|
|
35252
|
+
/** @description HasAnalysis keeps only media with analysis results (markers, description,
|
|
35253
|
+
* detections, classification/counting summaries or VLM output) when true,
|
|
35254
|
+
* and only media without any when false. */
|
|
35255
|
+
hasAnalysis?: boolean;
|
|
35135
35256
|
markers?: string[];
|
|
35136
35257
|
mediaIds?: string[];
|
|
35137
35258
|
regions?: components["schemas"]["models.Region"][];
|
|
@@ -35455,6 +35576,9 @@ export interface components {
|
|
|
35455
35576
|
"api.RunWorkflowRequest": {
|
|
35456
35577
|
attachmentIds?: string[];
|
|
35457
35578
|
mediaIds?: string[];
|
|
35579
|
+
/** @description Surface is case (the default) or redaction. The workflow must expose a
|
|
35580
|
+
* manual trigger on this surface; all case/media access checks still apply. */
|
|
35581
|
+
surface?: components["schemas"]["models.WorkflowTriggerSurface"];
|
|
35458
35582
|
workflowId?: string;
|
|
35459
35583
|
};
|
|
35460
35584
|
"api.RunWorkflowResponse": {
|
|
@@ -36321,6 +36445,33 @@ export interface components {
|
|
|
36321
36445
|
to?: number;
|
|
36322
36446
|
workflowIds?: string[];
|
|
36323
36447
|
};
|
|
36448
|
+
"api.WorkflowRunOverview": {
|
|
36449
|
+
caseMediaId?: string;
|
|
36450
|
+
deviceKey?: string;
|
|
36451
|
+
deviceName?: string;
|
|
36452
|
+
dispatched?: number;
|
|
36453
|
+
durationMs?: number;
|
|
36454
|
+
end?: number;
|
|
36455
|
+
hasResults?: boolean;
|
|
36456
|
+
key?: string;
|
|
36457
|
+
mediaId?: string;
|
|
36458
|
+
operations?: components["schemas"]["models.WorkflowRunOperationStatus"][];
|
|
36459
|
+
origin?: components["schemas"]["models.WorkflowRunOrigin"];
|
|
36460
|
+
recordingTimestamp?: number;
|
|
36461
|
+
resolved?: number;
|
|
36462
|
+
runId?: string;
|
|
36463
|
+
/** @enum {string} */
|
|
36464
|
+
sourceAccess?: "available" | "restricted" | "unavailable";
|
|
36465
|
+
sourceLabel?: string;
|
|
36466
|
+
sourceRef?: string;
|
|
36467
|
+
/** @enum {string} */
|
|
36468
|
+
sourceType?: "media" | "case";
|
|
36469
|
+
stageExecutions?: components["schemas"]["models.WorkflowRunStageExecution"][];
|
|
36470
|
+
start?: number;
|
|
36471
|
+
state?: components["schemas"]["models.WorkflowRunState"];
|
|
36472
|
+
workflowId?: string;
|
|
36473
|
+
workflowName?: string;
|
|
36474
|
+
};
|
|
36324
36475
|
"api.WorkflowRunStatusSummary": {
|
|
36325
36476
|
completed?: number;
|
|
36326
36477
|
noResult?: number;
|
|
@@ -36349,7 +36500,7 @@ export interface components {
|
|
|
36349
36500
|
userId?: string;
|
|
36350
36501
|
};
|
|
36351
36502
|
/** @enum {string} */
|
|
36352
|
-
"models.AccessTokenScope": "
|
|
36503
|
+
"models.AccessTokenScope": "days.read" | "markers.read" | "markers.write" | "markers.all" | "workflows.read" | "workflows.create" | "workflows.update" | "workflows.delete" | "application" | "media.read" | "media.update" | "media.export" | "media.share" | "media.redact" | "media.delete" | "workflow-runs.create" | "workflow-runs.read" | "workflow-runs.update" | "cases.read" | "cases.create" | "cases.update" | "cases.share" | "cases.export" | "cases.runWorkflow" | "cases.delete";
|
|
36353
36504
|
"models.Account": {
|
|
36354
36505
|
account?: components["schemas"]["models.AccountBody"];
|
|
36355
36506
|
};
|
|
@@ -36417,6 +36568,7 @@ export interface components {
|
|
|
36417
36568
|
inputsAND?: boolean;
|
|
36418
36569
|
motionRegions?: components["schemas"]["models.Region"][];
|
|
36419
36570
|
outputList?: string[];
|
|
36571
|
+
private?: boolean;
|
|
36420
36572
|
pushbullet_apikey?: string;
|
|
36421
36573
|
pushover_apikey?: string;
|
|
36422
36574
|
pushover_sendto?: string;
|
|
@@ -37195,6 +37347,9 @@ export interface components {
|
|
|
37195
37347
|
motionRegions?: components["schemas"]["models.Region"][];
|
|
37196
37348
|
organisationId?: string;
|
|
37197
37349
|
outputList?: string[];
|
|
37350
|
+
/** @description Private restricts configuration access to UserId, not notification delivery.
|
|
37351
|
+
* Missing or false preserves the existing shared visibility. */
|
|
37352
|
+
private?: boolean;
|
|
37198
37353
|
/** @description ProjectId optionally places the alert in a project within its organisation.
|
|
37199
37354
|
* A nil value keeps the alert organisation-wide. */
|
|
37200
37355
|
projectId?: string;
|
|
@@ -38801,7 +38956,7 @@ export interface components {
|
|
|
38801
38956
|
videowall?: components["schemas"]["models.Videowall"];
|
|
38802
38957
|
};
|
|
38803
38958
|
/** @enum {string} */
|
|
38804
|
-
"models.Permission": "
|
|
38959
|
+
"models.Permission": "days.read" | "markers.read" | "markers.write" | "markers.all" | "workflows.read" | "workflows.create" | "workflows.update" | "workflows.delete" | "application" | "media.read" | "media.update" | "media.export" | "media.share" | "media.redact" | "media.delete" | "workflow-runs.create" | "workflow-runs.read" | "workflow-runs.update" | "cases.read" | "cases.create" | "cases.update" | "cases.share" | "cases.export" | "cases.runWorkflow" | "cases.delete";
|
|
38805
38960
|
/** @enum {integer} */
|
|
38806
38961
|
"models.PermissionLevel": 1 | 2 | 3 | 4 | 2 | 3 | 4 | 5 | 2 | 3 | 2 | 2 | 3 | 2 | 3 | 4;
|
|
38807
38962
|
"models.Permissions": {
|
|
@@ -40097,7 +40252,7 @@ export interface components {
|
|
|
40097
40252
|
data?: {
|
|
40098
40253
|
[key: string]: unknown;
|
|
40099
40254
|
};
|
|
40100
|
-
/** @description Devices scopes
|
|
40255
|
+
/** @description Devices scopes an automatic root to recordings from these devices. Empty means
|
|
40101
40256
|
* every device the workflow's owner can see. Ignored on stage nodes. */
|
|
40102
40257
|
devices?: components["schemas"]["models.DeviceKey"][];
|
|
40103
40258
|
/** @description Id is this instance's identity within the workflow. It is the stable
|
|
@@ -40107,15 +40262,19 @@ export interface components {
|
|
|
40107
40262
|
label?: string;
|
|
40108
40263
|
/** @description StageRef is the referenced stage's Operation key (the catalog key shared
|
|
40109
40264
|
* by platform- and user-defined stages), not its Mongo Id. Set on every
|
|
40110
|
-
* stage node and resolved at compile time; empty on a
|
|
40265
|
+
* stage node and resolved at compile time; empty on a root node. */
|
|
40111
40266
|
stageRef?: string;
|
|
40267
|
+
/** @description Trigger is required on Start nodes. Automatic settings and inactive manual
|
|
40268
|
+
* surface selections are retained here; NormalizeTriggers derives runtime
|
|
40269
|
+
* triggers without exposing inactive settings. */
|
|
40270
|
+
trigger?: components["schemas"]["models.WorkflowTrigger"];
|
|
40112
40271
|
/** @description Type is what the node represents; empty means WorkflowNodeStage. */
|
|
40113
40272
|
type?: components["schemas"]["models.WorkflowNodeType"];
|
|
40114
40273
|
x?: number;
|
|
40115
40274
|
y?: number;
|
|
40116
40275
|
};
|
|
40117
40276
|
/** @enum {string} */
|
|
40118
|
-
"models.WorkflowNodeType": "stage" | "device";
|
|
40277
|
+
"models.WorkflowNodeType": "stage" | "device" | "start";
|
|
40119
40278
|
"models.WorkflowPredicate": {
|
|
40120
40279
|
op?: components["schemas"]["models.ConditionOp"];
|
|
40121
40280
|
path?: string;
|
|
@@ -40134,6 +40293,7 @@ export interface components {
|
|
|
40134
40293
|
stage?: components["schemas"]["models.WorkflowStageReference"];
|
|
40135
40294
|
};
|
|
40136
40295
|
"models.WorkflowRun": {
|
|
40296
|
+
caseMediaId?: string;
|
|
40137
40297
|
/** @description Device identifies the recording the run derives from, with the few fields
|
|
40138
40298
|
* vault-override resolution and logging need (device key/name and where the
|
|
40139
40299
|
* media is stored/served from). Copied from the recording at hand-off time.
|
|
@@ -40274,12 +40434,17 @@ export interface components {
|
|
|
40274
40434
|
* and short-lived, so — like Storage — it is wire-only and never lands in the
|
|
40275
40435
|
* run's persisted state; a stage dispatched after a reload fetches via Storage. */
|
|
40276
40436
|
signedUrl?: string;
|
|
40437
|
+
sourceAccess?: string;
|
|
40438
|
+
sourceLabel?: string;
|
|
40277
40439
|
/** @description SourceRef ties a manual run back to the thing it was launched from — e.g.
|
|
40278
40440
|
* the case id when launched from a case surface — so sibling runs fanned out
|
|
40279
40441
|
* from one user action (one seed per selected media key) can be grouped above
|
|
40280
40442
|
* the run. Empty for automatic runs. It generalises to any run-grouping handle
|
|
40281
40443
|
* (a case id today; a temporal device-series id is a forward-looking twin). */
|
|
40282
40444
|
sourceRef?: string;
|
|
40445
|
+
/** @description SourceType disambiguates case launches from media launch-group references.
|
|
40446
|
+
* Legacy readers infer case ownership from SourceRef and case input metadata. */
|
|
40447
|
+
sourceType?: string;
|
|
40283
40448
|
/** @description StageExecutions reads the legacy split timeline. NormalizeStages moves
|
|
40284
40449
|
* matched summaries into Stages, retaining unmatched history without
|
|
40285
40450
|
* reconstructing missing routing. Serialization does not normalize implicitly.
|
|
@@ -40330,6 +40495,8 @@ export interface components {
|
|
|
40330
40495
|
workflowName?: string;
|
|
40331
40496
|
};
|
|
40332
40497
|
/** @enum {string} */
|
|
40498
|
+
"models.WorkflowRunDecisionOutcome": "passed" | "failed" | "waiting" | "notEvaluated";
|
|
40499
|
+
/** @enum {string} */
|
|
40333
40500
|
"models.WorkflowRunOperationState": "dispatched" | "resolved";
|
|
40334
40501
|
"models.WorkflowRunOperationStatus": {
|
|
40335
40502
|
operation?: string;
|
|
@@ -40348,6 +40515,11 @@ export interface components {
|
|
|
40348
40515
|
operation?: string;
|
|
40349
40516
|
queue?: string;
|
|
40350
40517
|
};
|
|
40518
|
+
"models.WorkflowRunStageDecision": {
|
|
40519
|
+
eligible?: boolean;
|
|
40520
|
+
evaluatedAtMs?: number;
|
|
40521
|
+
needs?: components["schemas"]["models.WorkflowRunStageNeedDecision"][];
|
|
40522
|
+
};
|
|
40351
40523
|
"models.WorkflowRunStageExecution": {
|
|
40352
40524
|
dependencies?: string[];
|
|
40353
40525
|
dispatchAttempts?: number;
|
|
@@ -40362,6 +40534,10 @@ export interface components {
|
|
|
40362
40534
|
state?: components["schemas"]["models.WorkflowRunStageState"];
|
|
40363
40535
|
};
|
|
40364
40536
|
"models.WorkflowRunStageExecutionDetails": {
|
|
40537
|
+
/** @description Decision is the latest captured routing evaluation while waiting, then the
|
|
40538
|
+
* decision associated with dispatch. Nil means no decision was captured.
|
|
40539
|
+
* Writers preserve the dispatch decision; readers never infer it from state. */
|
|
40540
|
+
decision?: components["schemas"]["models.WorkflowRunStageDecision"];
|
|
40365
40541
|
dispatchAttempts?: number;
|
|
40366
40542
|
dispatchedAtMs?: number;
|
|
40367
40543
|
durationMs?: number;
|
|
@@ -40371,6 +40547,10 @@ export interface components {
|
|
|
40371
40547
|
resolvedAtMs?: number;
|
|
40372
40548
|
state?: components["schemas"]["models.WorkflowRunStageState"];
|
|
40373
40549
|
};
|
|
40550
|
+
"models.WorkflowRunStageNeedDecision": {
|
|
40551
|
+
index?: number;
|
|
40552
|
+
outcome?: components["schemas"]["models.WorkflowRunDecisionOutcome"];
|
|
40553
|
+
};
|
|
40374
40554
|
/** @enum {string} */
|
|
40375
40555
|
"models.WorkflowRunStageState": "waiting" | "retrying" | "dispatched" | "resolved" | "dispatchFailed" | "timedOut" | "skipped";
|
|
40376
40556
|
/** @enum {string} */
|
|
@@ -40848,8 +41028,10 @@ export declare namespace models {
|
|
|
40848
41028
|
type WorkflowRun = components['schemas']['models.WorkflowRun'];
|
|
40849
41029
|
type WorkflowRunOperationStatus = components['schemas']['models.WorkflowRunOperationStatus'];
|
|
40850
41030
|
type WorkflowRunStage = components['schemas']['models.WorkflowRunStage'];
|
|
41031
|
+
type WorkflowRunStageDecision = components['schemas']['models.WorkflowRunStageDecision'];
|
|
40851
41032
|
type WorkflowRunStageExecution = components['schemas']['models.WorkflowRunStageExecution'];
|
|
40852
41033
|
type WorkflowRunStageExecutionDetails = components['schemas']['models.WorkflowRunStageExecutionDetails'];
|
|
41034
|
+
type WorkflowRunStageNeedDecision = components['schemas']['models.WorkflowRunStageNeedDecision'];
|
|
40853
41035
|
type WorkflowRunTriggerMatch = components['schemas']['models.WorkflowRunTriggerMatch'];
|
|
40854
41036
|
type WorkflowStage = components['schemas']['models.WorkflowStage'];
|
|
40855
41037
|
type WorkflowStageReference = components['schemas']['models.WorkflowStageReference'];
|
|
@@ -41321,5 +41503,6 @@ export declare namespace api {
|
|
|
41321
41503
|
type WarningResponse = components['schemas']['api.WarningResponse'];
|
|
41322
41504
|
type WorkflowFilter = components['schemas']['api.WorkflowFilter'];
|
|
41323
41505
|
type WorkflowRunFilter = components['schemas']['api.WorkflowRunFilter'];
|
|
41506
|
+
type WorkflowRunOverview = components['schemas']['api.WorkflowRunOverview'];
|
|
41324
41507
|
type WorkflowRunStatusSummary = components['schemas']['api.WorkflowRunStatusSummary'];
|
|
41325
41508
|
}
|