@uug-ai/models 1.7.60 → 1.7.61
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 +250 -20
- 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;
|
|
@@ -36037,7 +36232,7 @@ export interface components {
|
|
|
36037
36232
|
userId?: string;
|
|
36038
36233
|
};
|
|
36039
36234
|
/** @enum {string} */
|
|
36040
|
-
"models.AccessTokenScope": "
|
|
36235
|
+
"models.AccessTokenScope": "days.read" | "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" | "markers.read" | "markers.write" | "markers.all" | "application" | "workflows.read" | "workflows.create" | "workflows.update" | "workflows.delete";
|
|
36041
36236
|
"models.Account": {
|
|
36042
36237
|
account?: components["schemas"]["models.AccountBody"];
|
|
36043
36238
|
};
|
|
@@ -36763,7 +36958,9 @@ export interface components {
|
|
|
36763
36958
|
website?: string;
|
|
36764
36959
|
};
|
|
36765
36960
|
/** @enum {string} */
|
|
36766
|
-
"models.
|
|
36961
|
+
"models.ConditionMode": "all" | "any";
|
|
36962
|
+
/** @enum {string} */
|
|
36963
|
+
"models.ConditionOp": "eq" | "ne" | "contains" | "in" | "exists" | "matches" | "gt" | "gte" | "lt" | "lte" | "anyMatch";
|
|
36767
36964
|
"models.Contact": {
|
|
36768
36965
|
email?: string;
|
|
36769
36966
|
name?: string;
|
|
@@ -38487,7 +38684,7 @@ export interface components {
|
|
|
38487
38684
|
videowall?: components["schemas"]["models.Videowall"];
|
|
38488
38685
|
};
|
|
38489
38686
|
/** @enum {string} */
|
|
38490
|
-
"models.Permission": "
|
|
38687
|
+
"models.Permission": "days.read" | "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" | "markers.read" | "markers.write" | "markers.all" | "application" | "workflows.read" | "workflows.create" | "workflows.update" | "workflows.delete";
|
|
38491
38688
|
/** @enum {integer} */
|
|
38492
38689
|
"models.PermissionLevel": 1 | 2 | 3 | 4 | 2 | 3 | 4 | 5 | 2 | 3 | 2 | 2 | 3 | 2 | 3 | 4;
|
|
38493
38690
|
"models.Permissions": {
|
|
@@ -38814,6 +39011,7 @@ export interface components {
|
|
|
38814
39011
|
width?: number;
|
|
38815
39012
|
};
|
|
38816
39013
|
"models.StageCondition": {
|
|
39014
|
+
match?: components["schemas"]["models.WorkflowPredicateSet"];
|
|
38817
39015
|
/** @description see the ConditionOp consts */
|
|
38818
39016
|
op?: components["schemas"]["models.ConditionOp"];
|
|
38819
39017
|
/** @description absolute dot-path into the run root (see type doc) */
|
|
@@ -38823,8 +39021,13 @@ export interface components {
|
|
|
38823
39021
|
};
|
|
38824
39022
|
"models.StageDependency": {
|
|
38825
39023
|
/** @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
|
|
39024
|
+
* need matches as soon as its gate (if any) is satisfied, unless plural
|
|
39025
|
+
* Conditions are supplied. The two representations must not be combined. */
|
|
38827
39026
|
condition?: components["schemas"]["models.StageCondition"];
|
|
39027
|
+
/** @description ConditionMode combines this dependency's predicates, not its readiness
|
|
39028
|
+
* gate or the stage's other dependencies. Empty defaults to all. */
|
|
39029
|
+
conditionMode?: components["schemas"]["models.ConditionMode"];
|
|
39030
|
+
conditions?: components["schemas"]["models.WorkflowCondition"][];
|
|
38828
39031
|
/** @description Operation is the id of the operation whose presence gates this need: it must
|
|
38829
39032
|
* be available on the run — present in Inputs or Results — before the need's
|
|
38830
39033
|
* Condition is evaluated. It is an operation id, not necessarily a deployed
|
|
@@ -39700,9 +39903,24 @@ export interface components {
|
|
|
39700
39903
|
resultSchema?: string;
|
|
39701
39904
|
url?: string;
|
|
39702
39905
|
};
|
|
39906
|
+
"models.WorkflowCondition": {
|
|
39907
|
+
match?: components["schemas"]["models.WorkflowPredicateSet"];
|
|
39908
|
+
/** @description see the ConditionOp consts */
|
|
39909
|
+
op?: components["schemas"]["models.ConditionOp"];
|
|
39910
|
+
/** @description absolute dot-path into the run root (see type doc) */
|
|
39911
|
+
path?: string;
|
|
39912
|
+
/** @description comparison operand (unused for ConditionOpExists) */
|
|
39913
|
+
value?: unknown;
|
|
39914
|
+
};
|
|
39915
|
+
"models.WorkflowConditionSet": {
|
|
39916
|
+
conditionMode?: components["schemas"]["models.ConditionMode"];
|
|
39917
|
+
conditions?: components["schemas"]["models.WorkflowCondition"][];
|
|
39918
|
+
};
|
|
39703
39919
|
"models.WorkflowDevice": {
|
|
39704
39920
|
deviceKey?: string;
|
|
39705
39921
|
deviceName?: string;
|
|
39922
|
+
/** @description effective group memberships resolved by the caller, never an authorization grant */
|
|
39923
|
+
groupIds?: string[];
|
|
39706
39924
|
/** @description media VideoProvider: where the media is served from */
|
|
39707
39925
|
provider?: string;
|
|
39708
39926
|
/** @description site ids the device is linked to (Device.SiteIds); a gate value, matchable with contains/in/exists/matches */
|
|
@@ -39716,17 +39934,14 @@ export interface components {
|
|
|
39716
39934
|
siteIds?: string[];
|
|
39717
39935
|
};
|
|
39718
39936
|
"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. */
|
|
39937
|
+
/** @description Condition is the legacy single-predicate form. Do not combine it with
|
|
39938
|
+
* Conditions; ConditionSet reads it as a one-item all group. */
|
|
39724
39939
|
condition?: components["schemas"]["models.StageCondition"];
|
|
39940
|
+
conditionMode?: components["schemas"]["models.ConditionMode"];
|
|
39941
|
+
conditions?: components["schemas"]["models.WorkflowCondition"][];
|
|
39725
39942
|
id?: string;
|
|
39726
39943
|
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. */
|
|
39944
|
+
/** @description SourcePort names a source port for the editor. It does not rebase paths. */
|
|
39730
39945
|
sourcePort?: string;
|
|
39731
39946
|
target?: string;
|
|
39732
39947
|
/** @description TargetPort optionally selects which of the target stage's declared Inputs
|
|
@@ -39783,6 +39998,15 @@ export interface components {
|
|
|
39783
39998
|
};
|
|
39784
39999
|
/** @enum {string} */
|
|
39785
40000
|
"models.WorkflowNodeType": "stage" | "device";
|
|
40001
|
+
"models.WorkflowPredicate": {
|
|
40002
|
+
op?: components["schemas"]["models.ConditionOp"];
|
|
40003
|
+
path?: string;
|
|
40004
|
+
value?: unknown;
|
|
40005
|
+
};
|
|
40006
|
+
"models.WorkflowPredicateSet": {
|
|
40007
|
+
conditionMode?: components["schemas"]["models.ConditionMode"];
|
|
40008
|
+
conditions?: components["schemas"]["models.WorkflowPredicate"][];
|
|
40009
|
+
};
|
|
39786
40010
|
"models.WorkflowResult": {
|
|
39787
40011
|
payload?: number[];
|
|
39788
40012
|
result?: {
|
|
@@ -40102,14 +40326,11 @@ export interface components {
|
|
|
40102
40326
|
projectId?: string;
|
|
40103
40327
|
};
|
|
40104
40328
|
"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"][];
|
|
40329
|
+
/** @description Conditions read the pre-run envelope, including already available,
|
|
40330
|
+
* sanitized inputs, never future results. Scope and schedule remain mandatory
|
|
40331
|
+
* even when this group's ConditionMode is any. */
|
|
40332
|
+
conditionMode?: components["schemas"]["models.ConditionMode"];
|
|
40333
|
+
conditions?: components["schemas"]["models.WorkflowCondition"][];
|
|
40113
40334
|
/** @description Devices restricts the automatic trigger to recordings from the listed
|
|
40114
40335
|
* devices, matched by DeviceKey.Key. An empty list means every device is
|
|
40115
40336
|
* eligible. Mirrors the alert device selection (see CustomAlert.DevicesList).
|
|
@@ -40120,6 +40341,11 @@ export interface components {
|
|
|
40120
40341
|
* device scoping and stage matching stay consistent. Author richer scoping
|
|
40121
40342
|
* (a device-name pattern, an organisation check, …) with Conditions. */
|
|
40122
40343
|
devices?: components["schemas"]["models.DeviceKey"][];
|
|
40344
|
+
groupIds?: string[];
|
|
40345
|
+
/** @description SiteIds and GroupIds are stable membership IDs resolved by the caller, not
|
|
40346
|
+
* names or authorization grants. Selectors are OR within each category and
|
|
40347
|
+
* AND between populated categories. */
|
|
40348
|
+
siteIds?: string[];
|
|
40123
40349
|
/** @description Surfaces lists the UI surfaces a manual trigger can be launched from
|
|
40124
40350
|
* (manual). Ignored for automatic triggers. */
|
|
40125
40351
|
surfaces?: components["schemas"]["models.WorkflowTriggerSurface"][];
|
|
@@ -40454,6 +40680,8 @@ export declare namespace models {
|
|
|
40454
40680
|
type WeeklySchedule = components['schemas']['models.WeeklySchedule'];
|
|
40455
40681
|
type Workflow = components['schemas']['models.Workflow'];
|
|
40456
40682
|
type WorkflowCallback = components['schemas']['models.WorkflowCallback'];
|
|
40683
|
+
type WorkflowCondition = components['schemas']['models.WorkflowCondition'];
|
|
40684
|
+
type WorkflowConditionSet = components['schemas']['models.WorkflowConditionSet'];
|
|
40457
40685
|
type WorkflowDevice = components['schemas']['models.WorkflowDevice'];
|
|
40458
40686
|
type WorkflowDeviceReference = components['schemas']['models.WorkflowDeviceReference'];
|
|
40459
40687
|
type WorkflowEdge = components['schemas']['models.WorkflowEdge'];
|
|
@@ -40461,6 +40689,8 @@ export declare namespace models {
|
|
|
40461
40689
|
type WorkflowInvocationWorkflow = components['schemas']['models.WorkflowInvocationWorkflow'];
|
|
40462
40690
|
type WorkflowMediaReference = components['schemas']['models.WorkflowMediaReference'];
|
|
40463
40691
|
type WorkflowNode = components['schemas']['models.WorkflowNode'];
|
|
40692
|
+
type WorkflowPredicate = components['schemas']['models.WorkflowPredicate'];
|
|
40693
|
+
type WorkflowPredicateSet = components['schemas']['models.WorkflowPredicateSet'];
|
|
40464
40694
|
type WorkflowResult = components['schemas']['models.WorkflowResult'];
|
|
40465
40695
|
type WorkflowRun = components['schemas']['models.WorkflowRun'];
|
|
40466
40696
|
type WorkflowRunOperationStatus = components['schemas']['models.WorkflowRunOperationStatus'];
|