@uug-ai/models 1.7.67 → 1.7.69
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 +166 -2
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -30813,6 +30813,84 @@ export interface paths {
|
|
|
30813
30813
|
patch?: never;
|
|
30814
30814
|
trace?: never;
|
|
30815
30815
|
};
|
|
30816
|
+
"/internal/workflowclassifyinput": {
|
|
30817
|
+
parameters: {
|
|
30818
|
+
query?: never;
|
|
30819
|
+
header?: never;
|
|
30820
|
+
path?: never;
|
|
30821
|
+
cookie?: never;
|
|
30822
|
+
};
|
|
30823
|
+
/**
|
|
30824
|
+
* Get WorkflowClassifyInput (schema generation only)
|
|
30825
|
+
* @description Internal endpoint used only to ensure WorkflowClassifyInput 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.WorkflowClassifyInput"];
|
|
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/workflowclassifyinputdetail": {
|
|
30856
|
+
parameters: {
|
|
30857
|
+
query?: never;
|
|
30858
|
+
header?: never;
|
|
30859
|
+
path?: never;
|
|
30860
|
+
cookie?: never;
|
|
30861
|
+
};
|
|
30862
|
+
/**
|
|
30863
|
+
* Get WorkflowClassifyInputDetail (schema generation only)
|
|
30864
|
+
* @description Internal endpoint used only to ensure WorkflowClassifyInputDetail 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.WorkflowClassifyInputDetail"];
|
|
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
|
+
};
|
|
30816
30894
|
"/internal/workflowcondition": {
|
|
30817
30895
|
parameters: {
|
|
30818
30896
|
query?: never;
|
|
@@ -30852,6 +30930,45 @@ export interface paths {
|
|
|
30852
30930
|
patch?: never;
|
|
30853
30931
|
trace?: never;
|
|
30854
30932
|
};
|
|
30933
|
+
"/internal/workflowconditionpath": {
|
|
30934
|
+
parameters: {
|
|
30935
|
+
query?: never;
|
|
30936
|
+
header?: never;
|
|
30937
|
+
path?: never;
|
|
30938
|
+
cookie?: never;
|
|
30939
|
+
};
|
|
30940
|
+
/**
|
|
30941
|
+
* Get WorkflowConditionPath (schema generation only)
|
|
30942
|
+
* @description Internal endpoint used only to ensure WorkflowConditionPath schema is generated in OpenAPI spec
|
|
30943
|
+
*/
|
|
30944
|
+
get: {
|
|
30945
|
+
parameters: {
|
|
30946
|
+
query?: never;
|
|
30947
|
+
header?: never;
|
|
30948
|
+
path?: never;
|
|
30949
|
+
cookie?: never;
|
|
30950
|
+
};
|
|
30951
|
+
requestBody?: never;
|
|
30952
|
+
responses: {
|
|
30953
|
+
/** @description OK */
|
|
30954
|
+
200: {
|
|
30955
|
+
headers: {
|
|
30956
|
+
[name: string]: unknown;
|
|
30957
|
+
};
|
|
30958
|
+
content: {
|
|
30959
|
+
"application/json": components["schemas"]["models.WorkflowConditionPath"];
|
|
30960
|
+
};
|
|
30961
|
+
};
|
|
30962
|
+
};
|
|
30963
|
+
};
|
|
30964
|
+
put?: never;
|
|
30965
|
+
post?: never;
|
|
30966
|
+
delete?: never;
|
|
30967
|
+
options?: never;
|
|
30968
|
+
head?: never;
|
|
30969
|
+
patch?: never;
|
|
30970
|
+
trace?: never;
|
|
30971
|
+
};
|
|
30855
30972
|
"/internal/workflowconditionset": {
|
|
30856
30973
|
parameters: {
|
|
30857
30974
|
query?: never;
|
|
@@ -36543,7 +36660,7 @@ export interface components {
|
|
|
36543
36660
|
userId?: string;
|
|
36544
36661
|
};
|
|
36545
36662
|
/** @enum {string} */
|
|
36546
|
-
"models.AccessTokenScope": "
|
|
36663
|
+
"models.AccessTokenScope": "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" | "markers.read" | "markers.write" | "markers.all" | "workflows.read" | "workflows.create" | "workflows.update" | "workflows.delete" | "workflow-runs.create" | "workflow-runs.read" | "workflow-runs.update" | "application" | "days.read";
|
|
36547
36664
|
"models.Account": {
|
|
36548
36665
|
account?: components["schemas"]["models.AccountBody"];
|
|
36549
36666
|
};
|
|
@@ -38999,7 +39116,7 @@ export interface components {
|
|
|
38999
39116
|
videowall?: components["schemas"]["models.Videowall"];
|
|
39000
39117
|
};
|
|
39001
39118
|
/** @enum {string} */
|
|
39002
|
-
"models.Permission": "
|
|
39119
|
+
"models.Permission": "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" | "markers.read" | "markers.write" | "markers.all" | "workflows.read" | "workflows.create" | "workflows.update" | "workflows.delete" | "workflow-runs.create" | "workflow-runs.read" | "workflow-runs.update" | "application" | "days.read";
|
|
39003
39120
|
/** @enum {integer} */
|
|
39004
39121
|
"models.PermissionLevel": 1 | 2 | 3 | 4 | 2 | 3 | 4 | 5 | 2 | 3 | 2 | 2 | 3 | 2 | 3 | 4;
|
|
39005
39122
|
"models.Permissions": {
|
|
@@ -40226,6 +40343,41 @@ export interface components {
|
|
|
40226
40343
|
resultSchema?: string;
|
|
40227
40344
|
url?: string;
|
|
40228
40345
|
};
|
|
40346
|
+
"models.WorkflowClassifyInput": {
|
|
40347
|
+
/** @description one entry per tracked object */
|
|
40348
|
+
details?: components["schemas"]["models.WorkflowClassifyInputDetail"][];
|
|
40349
|
+
/** @description tracked objects that moved */
|
|
40350
|
+
objectCount?: number;
|
|
40351
|
+
/** @description classes of the objects that moved */
|
|
40352
|
+
properties?: string[];
|
|
40353
|
+
};
|
|
40354
|
+
"models.WorkflowClassifyInputDetail": {
|
|
40355
|
+
/** @description class name, e.g. car */
|
|
40356
|
+
classified?: string;
|
|
40357
|
+
/** @description primary colour names */
|
|
40358
|
+
colorStr?: string[];
|
|
40359
|
+
colorsBGR?: number[][][];
|
|
40360
|
+
colorsHLS?: number[][][];
|
|
40361
|
+
colorsStr?: string[][];
|
|
40362
|
+
distance?: number;
|
|
40363
|
+
/** @description first frame the object appeared in */
|
|
40364
|
+
frame?: number;
|
|
40365
|
+
frameHeight?: number;
|
|
40366
|
+
frameWidth?: number;
|
|
40367
|
+
frames?: number[];
|
|
40368
|
+
id?: string;
|
|
40369
|
+
isStatic?: boolean;
|
|
40370
|
+
/** @description frames the object was seen in */
|
|
40371
|
+
occurence?: number;
|
|
40372
|
+
staticDistance?: number;
|
|
40373
|
+
traject?: number[][];
|
|
40374
|
+
trajectCentroids?: number[][];
|
|
40375
|
+
valid?: boolean;
|
|
40376
|
+
/** @description unused by the classifier */
|
|
40377
|
+
w?: number;
|
|
40378
|
+
x?: number;
|
|
40379
|
+
y?: number;
|
|
40380
|
+
};
|
|
40229
40381
|
"models.WorkflowCondition": {
|
|
40230
40382
|
/** @description Conditions belongs only to logical all/any groups, which have no path,
|
|
40231
40383
|
* value or match. Children retain absolute paths; anyMatch stays relative. */
|
|
@@ -40238,6 +40390,15 @@ export interface components {
|
|
|
40238
40390
|
/** @description comparison operand (unused for ConditionOpExists) */
|
|
40239
40391
|
value?: unknown;
|
|
40240
40392
|
};
|
|
40393
|
+
"models.WorkflowConditionPath": {
|
|
40394
|
+
automaticOnly?: boolean;
|
|
40395
|
+
modes?: components["schemas"]["models.WorkflowConditionRootMode"][];
|
|
40396
|
+
open?: boolean;
|
|
40397
|
+
path?: string;
|
|
40398
|
+
type?: string;
|
|
40399
|
+
};
|
|
40400
|
+
/** @enum {string} */
|
|
40401
|
+
"models.WorkflowConditionRootMode": "trigger" | "run";
|
|
40241
40402
|
"models.WorkflowConditionSet": {
|
|
40242
40403
|
conditionMode?: components["schemas"]["models.ConditionMode"];
|
|
40243
40404
|
conditions?: components["schemas"]["models.WorkflowCondition"][];
|
|
@@ -41094,7 +41255,10 @@ export declare namespace models {
|
|
|
41094
41255
|
type WeeklySchedule = components['schemas']['models.WeeklySchedule'];
|
|
41095
41256
|
type Workflow = components['schemas']['models.Workflow'];
|
|
41096
41257
|
type WorkflowCallback = components['schemas']['models.WorkflowCallback'];
|
|
41258
|
+
type WorkflowClassifyInput = components['schemas']['models.WorkflowClassifyInput'];
|
|
41259
|
+
type WorkflowClassifyInputDetail = components['schemas']['models.WorkflowClassifyInputDetail'];
|
|
41097
41260
|
type WorkflowCondition = components['schemas']['models.WorkflowCondition'];
|
|
41261
|
+
type WorkflowConditionPath = components['schemas']['models.WorkflowConditionPath'];
|
|
41098
41262
|
type WorkflowConditionSet = components['schemas']['models.WorkflowConditionSet'];
|
|
41099
41263
|
type WorkflowDevice = components['schemas']['models.WorkflowDevice'];
|
|
41100
41264
|
type WorkflowDeviceReference = components['schemas']['models.WorkflowDeviceReference'];
|