@uug-ai/models 1.7.60 → 1.7.62
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 +361 -36
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -42,6 +42,45 @@ export interface paths {
|
|
|
42
42
|
patch?: never;
|
|
43
43
|
trace?: never;
|
|
44
44
|
};
|
|
45
|
+
"/internal/accesstokenscope": {
|
|
46
|
+
parameters: {
|
|
47
|
+
query?: never;
|
|
48
|
+
header?: never;
|
|
49
|
+
path?: never;
|
|
50
|
+
cookie?: never;
|
|
51
|
+
};
|
|
52
|
+
/**
|
|
53
|
+
* Get AccessTokenScope (schema generation only)
|
|
54
|
+
* @description Internal endpoint used only to ensure AccessTokenScope schema is generated in OpenAPI spec
|
|
55
|
+
*/
|
|
56
|
+
get: {
|
|
57
|
+
parameters: {
|
|
58
|
+
query?: never;
|
|
59
|
+
header?: never;
|
|
60
|
+
path?: never;
|
|
61
|
+
cookie?: never;
|
|
62
|
+
};
|
|
63
|
+
requestBody?: never;
|
|
64
|
+
responses: {
|
|
65
|
+
/** @description OK */
|
|
66
|
+
200: {
|
|
67
|
+
headers: {
|
|
68
|
+
[name: string]: unknown;
|
|
69
|
+
};
|
|
70
|
+
content: {
|
|
71
|
+
"application/json": components["schemas"]["models.AccessTokenScope"];
|
|
72
|
+
};
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
};
|
|
76
|
+
put?: never;
|
|
77
|
+
post?: never;
|
|
78
|
+
delete?: never;
|
|
79
|
+
options?: never;
|
|
80
|
+
head?: never;
|
|
81
|
+
patch?: never;
|
|
82
|
+
trace?: never;
|
|
83
|
+
};
|
|
45
84
|
"/internal/account": {
|
|
46
85
|
parameters: {
|
|
47
86
|
query?: never;
|
|
@@ -30774,6 +30813,84 @@ export interface paths {
|
|
|
30774
30813
|
patch?: never;
|
|
30775
30814
|
trace?: never;
|
|
30776
30815
|
};
|
|
30816
|
+
"/internal/workflowcondition": {
|
|
30817
|
+
parameters: {
|
|
30818
|
+
query?: never;
|
|
30819
|
+
header?: never;
|
|
30820
|
+
path?: never;
|
|
30821
|
+
cookie?: never;
|
|
30822
|
+
};
|
|
30823
|
+
/**
|
|
30824
|
+
* Get WorkflowCondition (schema generation only)
|
|
30825
|
+
* @description Internal endpoint used only to ensure WorkflowCondition schema is generated in OpenAPI spec
|
|
30826
|
+
*/
|
|
30827
|
+
get: {
|
|
30828
|
+
parameters: {
|
|
30829
|
+
query?: never;
|
|
30830
|
+
header?: never;
|
|
30831
|
+
path?: never;
|
|
30832
|
+
cookie?: never;
|
|
30833
|
+
};
|
|
30834
|
+
requestBody?: never;
|
|
30835
|
+
responses: {
|
|
30836
|
+
/** @description OK */
|
|
30837
|
+
200: {
|
|
30838
|
+
headers: {
|
|
30839
|
+
[name: string]: unknown;
|
|
30840
|
+
};
|
|
30841
|
+
content: {
|
|
30842
|
+
"application/json": components["schemas"]["models.WorkflowCondition"];
|
|
30843
|
+
};
|
|
30844
|
+
};
|
|
30845
|
+
};
|
|
30846
|
+
};
|
|
30847
|
+
put?: never;
|
|
30848
|
+
post?: never;
|
|
30849
|
+
delete?: never;
|
|
30850
|
+
options?: never;
|
|
30851
|
+
head?: never;
|
|
30852
|
+
patch?: never;
|
|
30853
|
+
trace?: never;
|
|
30854
|
+
};
|
|
30855
|
+
"/internal/workflowconditionset": {
|
|
30856
|
+
parameters: {
|
|
30857
|
+
query?: never;
|
|
30858
|
+
header?: never;
|
|
30859
|
+
path?: never;
|
|
30860
|
+
cookie?: never;
|
|
30861
|
+
};
|
|
30862
|
+
/**
|
|
30863
|
+
* Get WorkflowConditionSet (schema generation only)
|
|
30864
|
+
* @description Internal endpoint used only to ensure WorkflowConditionSet schema is generated in OpenAPI spec
|
|
30865
|
+
*/
|
|
30866
|
+
get: {
|
|
30867
|
+
parameters: {
|
|
30868
|
+
query?: never;
|
|
30869
|
+
header?: never;
|
|
30870
|
+
path?: never;
|
|
30871
|
+
cookie?: never;
|
|
30872
|
+
};
|
|
30873
|
+
requestBody?: never;
|
|
30874
|
+
responses: {
|
|
30875
|
+
/** @description OK */
|
|
30876
|
+
200: {
|
|
30877
|
+
headers: {
|
|
30878
|
+
[name: string]: unknown;
|
|
30879
|
+
};
|
|
30880
|
+
content: {
|
|
30881
|
+
"application/json": components["schemas"]["models.WorkflowConditionSet"];
|
|
30882
|
+
};
|
|
30883
|
+
};
|
|
30884
|
+
};
|
|
30885
|
+
};
|
|
30886
|
+
put?: never;
|
|
30887
|
+
post?: never;
|
|
30888
|
+
delete?: never;
|
|
30889
|
+
options?: never;
|
|
30890
|
+
head?: never;
|
|
30891
|
+
patch?: never;
|
|
30892
|
+
trace?: never;
|
|
30893
|
+
};
|
|
30777
30894
|
"/internal/workflowdevice": {
|
|
30778
30895
|
parameters: {
|
|
30779
30896
|
query?: never;
|
|
@@ -31086,6 +31203,84 @@ export interface paths {
|
|
|
31086
31203
|
patch?: never;
|
|
31087
31204
|
trace?: never;
|
|
31088
31205
|
};
|
|
31206
|
+
"/internal/workflowpredicate": {
|
|
31207
|
+
parameters: {
|
|
31208
|
+
query?: never;
|
|
31209
|
+
header?: never;
|
|
31210
|
+
path?: never;
|
|
31211
|
+
cookie?: never;
|
|
31212
|
+
};
|
|
31213
|
+
/**
|
|
31214
|
+
* Get WorkflowPredicate (schema generation only)
|
|
31215
|
+
* @description Internal endpoint used only to ensure WorkflowPredicate schema is generated in OpenAPI spec
|
|
31216
|
+
*/
|
|
31217
|
+
get: {
|
|
31218
|
+
parameters: {
|
|
31219
|
+
query?: never;
|
|
31220
|
+
header?: never;
|
|
31221
|
+
path?: never;
|
|
31222
|
+
cookie?: never;
|
|
31223
|
+
};
|
|
31224
|
+
requestBody?: never;
|
|
31225
|
+
responses: {
|
|
31226
|
+
/** @description OK */
|
|
31227
|
+
200: {
|
|
31228
|
+
headers: {
|
|
31229
|
+
[name: string]: unknown;
|
|
31230
|
+
};
|
|
31231
|
+
content: {
|
|
31232
|
+
"application/json": components["schemas"]["models.WorkflowPredicate"];
|
|
31233
|
+
};
|
|
31234
|
+
};
|
|
31235
|
+
};
|
|
31236
|
+
};
|
|
31237
|
+
put?: never;
|
|
31238
|
+
post?: never;
|
|
31239
|
+
delete?: never;
|
|
31240
|
+
options?: never;
|
|
31241
|
+
head?: never;
|
|
31242
|
+
patch?: never;
|
|
31243
|
+
trace?: never;
|
|
31244
|
+
};
|
|
31245
|
+
"/internal/workflowpredicateset": {
|
|
31246
|
+
parameters: {
|
|
31247
|
+
query?: never;
|
|
31248
|
+
header?: never;
|
|
31249
|
+
path?: never;
|
|
31250
|
+
cookie?: never;
|
|
31251
|
+
};
|
|
31252
|
+
/**
|
|
31253
|
+
* Get WorkflowPredicateSet (schema generation only)
|
|
31254
|
+
* @description Internal endpoint used only to ensure WorkflowPredicateSet schema is generated in OpenAPI spec
|
|
31255
|
+
*/
|
|
31256
|
+
get: {
|
|
31257
|
+
parameters: {
|
|
31258
|
+
query?: never;
|
|
31259
|
+
header?: never;
|
|
31260
|
+
path?: never;
|
|
31261
|
+
cookie?: never;
|
|
31262
|
+
};
|
|
31263
|
+
requestBody?: never;
|
|
31264
|
+
responses: {
|
|
31265
|
+
/** @description OK */
|
|
31266
|
+
200: {
|
|
31267
|
+
headers: {
|
|
31268
|
+
[name: string]: unknown;
|
|
31269
|
+
};
|
|
31270
|
+
content: {
|
|
31271
|
+
"application/json": components["schemas"]["models.WorkflowPredicateSet"];
|
|
31272
|
+
};
|
|
31273
|
+
};
|
|
31274
|
+
};
|
|
31275
|
+
};
|
|
31276
|
+
put?: never;
|
|
31277
|
+
post?: never;
|
|
31278
|
+
delete?: never;
|
|
31279
|
+
options?: never;
|
|
31280
|
+
head?: never;
|
|
31281
|
+
patch?: never;
|
|
31282
|
+
trace?: never;
|
|
31283
|
+
};
|
|
31089
31284
|
"/internal/workflowresult": {
|
|
31090
31285
|
parameters: {
|
|
31091
31286
|
query?: never;
|
|
@@ -31242,6 +31437,45 @@ export interface paths {
|
|
|
31242
31437
|
patch?: never;
|
|
31243
31438
|
trace?: never;
|
|
31244
31439
|
};
|
|
31440
|
+
"/internal/workflowrunstage": {
|
|
31441
|
+
parameters: {
|
|
31442
|
+
query?: never;
|
|
31443
|
+
header?: never;
|
|
31444
|
+
path?: never;
|
|
31445
|
+
cookie?: never;
|
|
31446
|
+
};
|
|
31447
|
+
/**
|
|
31448
|
+
* Get WorkflowRunStage (schema generation only)
|
|
31449
|
+
* @description Internal endpoint used only to ensure WorkflowRunStage 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"]["models.WorkflowRunStage"];
|
|
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
|
+
};
|
|
31245
31479
|
"/internal/workflowrunstageexecution": {
|
|
31246
31480
|
parameters: {
|
|
31247
31481
|
query?: never;
|
|
@@ -31281,6 +31515,45 @@ export interface paths {
|
|
|
31281
31515
|
patch?: never;
|
|
31282
31516
|
trace?: never;
|
|
31283
31517
|
};
|
|
31518
|
+
"/internal/workflowrunstageexecutiondetails": {
|
|
31519
|
+
parameters: {
|
|
31520
|
+
query?: never;
|
|
31521
|
+
header?: never;
|
|
31522
|
+
path?: never;
|
|
31523
|
+
cookie?: never;
|
|
31524
|
+
};
|
|
31525
|
+
/**
|
|
31526
|
+
* Get WorkflowRunStageExecutionDetails (schema generation only)
|
|
31527
|
+
* @description Internal endpoint used only to ensure WorkflowRunStageExecutionDetails 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.WorkflowRunStageExecutionDetails"];
|
|
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
|
+
};
|
|
31284
31557
|
"/internal/workflowrunstatussummary": {
|
|
31285
31558
|
parameters: {
|
|
31286
31559
|
query?: never;
|
|
@@ -36037,7 +36310,7 @@ export interface components {
|
|
|
36037
36310
|
userId?: string;
|
|
36038
36311
|
};
|
|
36039
36312
|
/** @enum {string} */
|
|
36040
|
-
"models.AccessTokenScope": "
|
|
36313
|
+
"models.AccessTokenScope": "media.read" | "media.update" | "media.export" | "media.share" | "media.redact" | "media.delete" | "application" | "workflow-runs.create" | "workflow-runs.read" | "workflow-runs.update" | "cases.read" | "cases.create" | "cases.update" | "cases.share" | "cases.export" | "cases.runWorkflow" | "cases.delete" | "days.read" | "markers.read" | "markers.write" | "markers.all" | "workflows.read" | "workflows.create" | "workflows.update" | "workflows.delete";
|
|
36041
36314
|
"models.Account": {
|
|
36042
36315
|
account?: components["schemas"]["models.AccountBody"];
|
|
36043
36316
|
};
|
|
@@ -36763,7 +37036,9 @@ export interface components {
|
|
|
36763
37036
|
website?: string;
|
|
36764
37037
|
};
|
|
36765
37038
|
/** @enum {string} */
|
|
36766
|
-
"models.
|
|
37039
|
+
"models.ConditionMode": "all" | "any";
|
|
37040
|
+
/** @enum {string} */
|
|
37041
|
+
"models.ConditionOp": "eq" | "ne" | "contains" | "in" | "exists" | "matches" | "gt" | "gte" | "lt" | "lte" | "anyMatch";
|
|
36767
37042
|
"models.Contact": {
|
|
36768
37043
|
email?: string;
|
|
36769
37044
|
name?: string;
|
|
@@ -38487,7 +38762,7 @@ export interface components {
|
|
|
38487
38762
|
videowall?: components["schemas"]["models.Videowall"];
|
|
38488
38763
|
};
|
|
38489
38764
|
/** @enum {string} */
|
|
38490
|
-
"models.Permission": "
|
|
38765
|
+
"models.Permission": "media.read" | "media.update" | "media.export" | "media.share" | "media.redact" | "media.delete" | "application" | "workflow-runs.create" | "workflow-runs.read" | "workflow-runs.update" | "cases.read" | "cases.create" | "cases.update" | "cases.share" | "cases.export" | "cases.runWorkflow" | "cases.delete" | "days.read" | "markers.read" | "markers.write" | "markers.all" | "workflows.read" | "workflows.create" | "workflows.update" | "workflows.delete";
|
|
38491
38766
|
/** @enum {integer} */
|
|
38492
38767
|
"models.PermissionLevel": 1 | 2 | 3 | 4 | 2 | 3 | 4 | 5 | 2 | 3 | 2 | 2 | 3 | 2 | 3 | 4;
|
|
38493
38768
|
"models.Permissions": {
|
|
@@ -38814,6 +39089,7 @@ export interface components {
|
|
|
38814
39089
|
width?: number;
|
|
38815
39090
|
};
|
|
38816
39091
|
"models.StageCondition": {
|
|
39092
|
+
match?: components["schemas"]["models.WorkflowPredicateSet"];
|
|
38817
39093
|
/** @description see the ConditionOp consts */
|
|
38818
39094
|
op?: components["schemas"]["models.ConditionOp"];
|
|
38819
39095
|
/** @description absolute dot-path into the run root (see type doc) */
|
|
@@ -38823,8 +39099,13 @@ export interface components {
|
|
|
38823
39099
|
};
|
|
38824
39100
|
"models.StageDependency": {
|
|
38825
39101
|
/** @description Condition is the predicate evaluated against the run root. Nil means the
|
|
38826
|
-
* need matches as soon as its gate (if any) is satisfied
|
|
39102
|
+
* need matches as soon as its gate (if any) is satisfied, unless plural
|
|
39103
|
+
* Conditions are supplied. The two representations must not be combined. */
|
|
38827
39104
|
condition?: components["schemas"]["models.StageCondition"];
|
|
39105
|
+
/** @description ConditionMode combines this dependency's predicates, not its readiness
|
|
39106
|
+
* gate or the stage's other dependencies. Empty defaults to all. */
|
|
39107
|
+
conditionMode?: components["schemas"]["models.ConditionMode"];
|
|
39108
|
+
conditions?: components["schemas"]["models.WorkflowCondition"][];
|
|
38828
39109
|
/** @description Operation is the id of the operation whose presence gates this need: it must
|
|
38829
39110
|
* be available on the run — present in Inputs or Results — before the need's
|
|
38830
39111
|
* Condition is evaluated. It is an operation id, not necessarily a deployed
|
|
@@ -39700,9 +39981,24 @@ export interface components {
|
|
|
39700
39981
|
resultSchema?: string;
|
|
39701
39982
|
url?: string;
|
|
39702
39983
|
};
|
|
39984
|
+
"models.WorkflowCondition": {
|
|
39985
|
+
match?: components["schemas"]["models.WorkflowPredicateSet"];
|
|
39986
|
+
/** @description see the ConditionOp consts */
|
|
39987
|
+
op?: components["schemas"]["models.ConditionOp"];
|
|
39988
|
+
/** @description absolute dot-path into the run root (see type doc) */
|
|
39989
|
+
path?: string;
|
|
39990
|
+
/** @description comparison operand (unused for ConditionOpExists) */
|
|
39991
|
+
value?: unknown;
|
|
39992
|
+
};
|
|
39993
|
+
"models.WorkflowConditionSet": {
|
|
39994
|
+
conditionMode?: components["schemas"]["models.ConditionMode"];
|
|
39995
|
+
conditions?: components["schemas"]["models.WorkflowCondition"][];
|
|
39996
|
+
};
|
|
39703
39997
|
"models.WorkflowDevice": {
|
|
39704
39998
|
deviceKey?: string;
|
|
39705
39999
|
deviceName?: string;
|
|
40000
|
+
/** @description effective group memberships resolved by the caller, never an authorization grant */
|
|
40001
|
+
groupIds?: string[];
|
|
39706
40002
|
/** @description media VideoProvider: where the media is served from */
|
|
39707
40003
|
provider?: string;
|
|
39708
40004
|
/** @description site ids the device is linked to (Device.SiteIds); a gate value, matchable with contains/in/exists/matches */
|
|
@@ -39716,17 +40012,14 @@ export interface components {
|
|
|
39716
40012
|
siteIds?: string[];
|
|
39717
40013
|
};
|
|
39718
40014
|
"models.WorkflowEdge": {
|
|
39719
|
-
/** @description Condition is the
|
|
39720
|
-
*
|
|
39721
|
-
* authoring source of truth for routing: this Condition is what compiles into
|
|
39722
|
-
* the target stage's Needs[].Condition (see WorkflowStage.Needs), which is the
|
|
39723
|
-
* derived runtime projection. */
|
|
40015
|
+
/** @description Condition is the legacy single-predicate form. Do not combine it with
|
|
40016
|
+
* Conditions; ConditionSet reads it as a one-item all group. */
|
|
39724
40017
|
condition?: components["schemas"]["models.StageCondition"];
|
|
40018
|
+
conditionMode?: components["schemas"]["models.ConditionMode"];
|
|
40019
|
+
conditions?: components["schemas"]["models.WorkflowCondition"][];
|
|
39725
40020
|
id?: string;
|
|
39726
40021
|
source?: string;
|
|
39727
|
-
/** @description SourcePort
|
|
39728
|
-
* (see WorkflowStage.Outputs) this edge reads; Condition is evaluated against
|
|
39729
|
-
* that output's result. Empty means the stage's single implicit default port. */
|
|
40022
|
+
/** @description SourcePort names a source port for the editor. It does not rebase paths. */
|
|
39730
40023
|
sourcePort?: string;
|
|
39731
40024
|
target?: string;
|
|
39732
40025
|
/** @description TargetPort optionally selects which of the target stage's declared Inputs
|
|
@@ -39783,6 +40076,15 @@ export interface components {
|
|
|
39783
40076
|
};
|
|
39784
40077
|
/** @enum {string} */
|
|
39785
40078
|
"models.WorkflowNodeType": "stage" | "device";
|
|
40079
|
+
"models.WorkflowPredicate": {
|
|
40080
|
+
op?: components["schemas"]["models.ConditionOp"];
|
|
40081
|
+
path?: string;
|
|
40082
|
+
value?: unknown;
|
|
40083
|
+
};
|
|
40084
|
+
"models.WorkflowPredicateSet": {
|
|
40085
|
+
conditionMode?: components["schemas"]["models.ConditionMode"];
|
|
40086
|
+
conditions?: components["schemas"]["models.WorkflowPredicate"][];
|
|
40087
|
+
};
|
|
39786
40088
|
"models.WorkflowResult": {
|
|
39787
40089
|
payload?: number[];
|
|
39788
40090
|
result?: {
|
|
@@ -39928,23 +40230,17 @@ export interface components {
|
|
|
39928
40230
|
* the run. Empty for automatic runs. It generalises to any run-grouping handle
|
|
39929
40231
|
* (a case id today; a temporal device-series id is a forward-looking twin). */
|
|
39930
40232
|
sourceRef?: string;
|
|
39931
|
-
/** @description StageExecutions
|
|
39932
|
-
*
|
|
39933
|
-
*
|
|
39934
|
-
*
|
|
40233
|
+
/** @description StageExecutions reads the legacy split timeline. NormalizeStages moves
|
|
40234
|
+
* matched summaries into Stages, retaining unmatched history without
|
|
40235
|
+
* reconstructing missing routing. Serialization does not normalize implicitly.
|
|
40236
|
+
* Deprecated: new writers use Stages[i].Execution. */
|
|
39935
40237
|
stageExecutions?: components["schemas"]["models.WorkflowRunStageExecution"][];
|
|
39936
|
-
/** @description Stages
|
|
39937
|
-
*
|
|
39938
|
-
*
|
|
39939
|
-
*
|
|
39940
|
-
*
|
|
39941
|
-
|
|
39942
|
-
* these into the same validated registry a config workflow gets. Empty is the
|
|
39943
|
-
* legacy/config path: the engine falls back to the config registry keyed by
|
|
39944
|
-
* WorkflowId, so config workflows and older hand-offs are unchanged. It is
|
|
39945
|
-
* persisted so the return path — a stage result reopening the run on any
|
|
39946
|
-
* replica — resolves the same routing without re-fetching the definition. */
|
|
39947
|
-
stages?: components["schemas"]["models.WorkflowStage"][];
|
|
40238
|
+
/** @description Stages captures the run's compiled rules and per-stage execution facts.
|
|
40239
|
+
* New writers use NewWorkflowRunStages after resolving queues and defaults.
|
|
40240
|
+
* Legacy routing-only elements decode unchanged; NormalizeStages joins any
|
|
40241
|
+
* split lifecycle summaries. Nil means no captured routing (legacy fallback);
|
|
40242
|
+
* an explicit empty slice is an authoritative zero-stage plan. */
|
|
40243
|
+
stages?: components["schemas"]["models.WorkflowRunStage"][];
|
|
39948
40244
|
/** @description Start and End stamp the run's lifecycle (unix seconds). They remain for
|
|
39949
40245
|
* compatibility with existing runs and list indexes. */
|
|
39950
40246
|
start?: number;
|
|
@@ -39990,6 +40286,17 @@ export interface components {
|
|
|
39990
40286
|
};
|
|
39991
40287
|
/** @enum {string} */
|
|
39992
40288
|
"models.WorkflowRunOrigin": "automatic" | "manual";
|
|
40289
|
+
"models.WorkflowRunStage": {
|
|
40290
|
+
dispatch?: components["schemas"]["models.Dispatch"];
|
|
40291
|
+
/** @description A non-nil execution, including {}, takes precedence over the entire legacy
|
|
40292
|
+
* summary. Missing execution means lifecycle facts may still live there. */
|
|
40293
|
+
execution?: components["schemas"]["models.WorkflowRunStageExecutionDetails"];
|
|
40294
|
+
name?: string;
|
|
40295
|
+
needs?: components["schemas"]["models.StageDependency"][];
|
|
40296
|
+
needsMode?: components["schemas"]["models.NeedsMode"];
|
|
40297
|
+
operation?: string;
|
|
40298
|
+
queue?: string;
|
|
40299
|
+
};
|
|
39993
40300
|
"models.WorkflowRunStageExecution": {
|
|
39994
40301
|
dependencies?: string[];
|
|
39995
40302
|
dispatchAttempts?: number;
|
|
@@ -40003,6 +40310,16 @@ export interface components {
|
|
|
40003
40310
|
resolvedAtMs?: number;
|
|
40004
40311
|
state?: components["schemas"]["models.WorkflowRunStageState"];
|
|
40005
40312
|
};
|
|
40313
|
+
"models.WorkflowRunStageExecutionDetails": {
|
|
40314
|
+
dispatchAttempts?: number;
|
|
40315
|
+
dispatchedAtMs?: number;
|
|
40316
|
+
durationMs?: number;
|
|
40317
|
+
firstDispatchAttemptAtMs?: number;
|
|
40318
|
+
lastDispatchAttemptAtMs?: number;
|
|
40319
|
+
lastDispatchErrorCode?: string;
|
|
40320
|
+
resolvedAtMs?: number;
|
|
40321
|
+
state?: components["schemas"]["models.WorkflowRunStageState"];
|
|
40322
|
+
};
|
|
40006
40323
|
/** @enum {string} */
|
|
40007
40324
|
"models.WorkflowRunStageState": "waiting" | "retrying" | "dispatched" | "resolved" | "dispatchFailed" | "timedOut" | "skipped";
|
|
40008
40325
|
/** @enum {string} */
|
|
@@ -40102,14 +40419,11 @@ export interface components {
|
|
|
40102
40419
|
projectId?: string;
|
|
40103
40420
|
};
|
|
40104
40421
|
"models.WorkflowTrigger": {
|
|
40105
|
-
/** @description Conditions
|
|
40106
|
-
*
|
|
40107
|
-
*
|
|
40108
|
-
|
|
40109
|
-
|
|
40110
|
-
* way they do to stages. An empty list adds no constraint. See
|
|
40111
|
-
* CompiledConditions and StageCondition. */
|
|
40112
|
-
conditions?: components["schemas"]["models.StageCondition"][];
|
|
40422
|
+
/** @description Conditions read the pre-run envelope, including already available,
|
|
40423
|
+
* sanitized inputs, never future results. Scope and schedule remain mandatory
|
|
40424
|
+
* even when this group's ConditionMode is any. */
|
|
40425
|
+
conditionMode?: components["schemas"]["models.ConditionMode"];
|
|
40426
|
+
conditions?: components["schemas"]["models.WorkflowCondition"][];
|
|
40113
40427
|
/** @description Devices restricts the automatic trigger to recordings from the listed
|
|
40114
40428
|
* devices, matched by DeviceKey.Key. An empty list means every device is
|
|
40115
40429
|
* eligible. Mirrors the alert device selection (see CustomAlert.DevicesList).
|
|
@@ -40120,6 +40434,11 @@ export interface components {
|
|
|
40120
40434
|
* device scoping and stage matching stay consistent. Author richer scoping
|
|
40121
40435
|
* (a device-name pattern, an organisation check, …) with Conditions. */
|
|
40122
40436
|
devices?: components["schemas"]["models.DeviceKey"][];
|
|
40437
|
+
groupIds?: string[];
|
|
40438
|
+
/** @description SiteIds and GroupIds are stable membership IDs resolved by the caller, not
|
|
40439
|
+
* names or authorization grants. Selectors are OR within each category and
|
|
40440
|
+
* AND between populated categories. */
|
|
40441
|
+
siteIds?: string[];
|
|
40123
40442
|
/** @description Surfaces lists the UI surfaces a manual trigger can be launched from
|
|
40124
40443
|
* (manual). Ignored for automatic triggers. */
|
|
40125
40444
|
surfaces?: components["schemas"]["models.WorkflowTriggerSurface"][];
|
|
@@ -40454,6 +40773,8 @@ export declare namespace models {
|
|
|
40454
40773
|
type WeeklySchedule = components['schemas']['models.WeeklySchedule'];
|
|
40455
40774
|
type Workflow = components['schemas']['models.Workflow'];
|
|
40456
40775
|
type WorkflowCallback = components['schemas']['models.WorkflowCallback'];
|
|
40776
|
+
type WorkflowCondition = components['schemas']['models.WorkflowCondition'];
|
|
40777
|
+
type WorkflowConditionSet = components['schemas']['models.WorkflowConditionSet'];
|
|
40457
40778
|
type WorkflowDevice = components['schemas']['models.WorkflowDevice'];
|
|
40458
40779
|
type WorkflowDeviceReference = components['schemas']['models.WorkflowDeviceReference'];
|
|
40459
40780
|
type WorkflowEdge = components['schemas']['models.WorkflowEdge'];
|
|
@@ -40461,10 +40782,14 @@ export declare namespace models {
|
|
|
40461
40782
|
type WorkflowInvocationWorkflow = components['schemas']['models.WorkflowInvocationWorkflow'];
|
|
40462
40783
|
type WorkflowMediaReference = components['schemas']['models.WorkflowMediaReference'];
|
|
40463
40784
|
type WorkflowNode = components['schemas']['models.WorkflowNode'];
|
|
40785
|
+
type WorkflowPredicate = components['schemas']['models.WorkflowPredicate'];
|
|
40786
|
+
type WorkflowPredicateSet = components['schemas']['models.WorkflowPredicateSet'];
|
|
40464
40787
|
type WorkflowResult = components['schemas']['models.WorkflowResult'];
|
|
40465
40788
|
type WorkflowRun = components['schemas']['models.WorkflowRun'];
|
|
40466
40789
|
type WorkflowRunOperationStatus = components['schemas']['models.WorkflowRunOperationStatus'];
|
|
40790
|
+
type WorkflowRunStage = components['schemas']['models.WorkflowRunStage'];
|
|
40467
40791
|
type WorkflowRunStageExecution = components['schemas']['models.WorkflowRunStageExecution'];
|
|
40792
|
+
type WorkflowRunStageExecutionDetails = components['schemas']['models.WorkflowRunStageExecutionDetails'];
|
|
40468
40793
|
type WorkflowStage = components['schemas']['models.WorkflowStage'];
|
|
40469
40794
|
type WorkflowStageReference = components['schemas']['models.WorkflowStageReference'];
|
|
40470
40795
|
type WorkflowStorage = components['schemas']['models.WorkflowStorage'];
|