@uug-ai/models 1.7.68 → 1.7.70

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.
Files changed (2) hide show
  1. package/dist/types.d.ts +137 -3
  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;
@@ -36582,7 +36660,7 @@ export interface components {
36582
36660
  userId?: string;
36583
36661
  };
36584
36662
  /** @enum {string} */
36585
- "models.AccessTokenScope": "media.read" | "media.update" | "media.export" | "media.share" | "media.redact" | "media.delete" | "workflow-runs.create" | "workflow-runs.read" | "workflow-runs.update" | "workflows.read" | "workflows.create" | "workflows.update" | "workflows.delete" | "days.read" | "cases.read" | "cases.create" | "cases.update" | "cases.share" | "cases.export" | "cases.runWorkflow" | "cases.delete" | "application" | "markers.read" | "markers.write" | "markers.all";
36663
+ "models.AccessTokenScope": "workflows.read" | "workflows.create" | "workflows.update" | "workflows.delete" | "cases.read" | "cases.create" | "cases.update" | "cases.share" | "cases.export" | "cases.runWorkflow" | "cases.delete" | "workflow-runs.create" | "workflow-runs.read" | "workflow-runs.update" | "days.read" | "application" | "media.read" | "media.update" | "media.export" | "media.share" | "media.redact" | "media.delete" | "markers.read" | "markers.write" | "markers.all";
36586
36664
  "models.Account": {
36587
36665
  account?: components["schemas"]["models.AccountBody"];
36588
36666
  };
@@ -39038,7 +39116,7 @@ export interface components {
39038
39116
  videowall?: components["schemas"]["models.Videowall"];
39039
39117
  };
39040
39118
  /** @enum {string} */
39041
- "models.Permission": "media.read" | "media.update" | "media.export" | "media.share" | "media.redact" | "media.delete" | "workflow-runs.create" | "workflow-runs.read" | "workflow-runs.update" | "workflows.read" | "workflows.create" | "workflows.update" | "workflows.delete" | "days.read" | "cases.read" | "cases.create" | "cases.update" | "cases.share" | "cases.export" | "cases.runWorkflow" | "cases.delete" | "application" | "markers.read" | "markers.write" | "markers.all";
39119
+ "models.Permission": "workflows.read" | "workflows.create" | "workflows.update" | "workflows.delete" | "cases.read" | "cases.create" | "cases.update" | "cases.share" | "cases.export" | "cases.runWorkflow" | "cases.delete" | "workflow-runs.create" | "workflow-runs.read" | "workflow-runs.update" | "days.read" | "application" | "media.read" | "media.update" | "media.export" | "media.share" | "media.redact" | "media.delete" | "markers.read" | "markers.write" | "markers.all";
39042
39120
  /** @enum {integer} */
39043
39121
  "models.PermissionLevel": 1 | 2 | 3 | 4 | 2 | 3 | 4 | 5 | 2 | 3 | 2 | 2 | 3 | 2 | 3 | 4;
39044
39122
  "models.Permissions": {
@@ -39368,6 +39446,13 @@ export interface components {
39368
39446
  /** @description Conditions belongs only to logical all/any groups, which have no path,
39369
39447
  * value or match. Children retain absolute paths; anyMatch stays relative. */
39370
39448
  conditions?: components["schemas"]["models.WorkflowCondition"][];
39449
+ /** @description Field is the contract field ID a scalar condition was authored with (for
39450
+ * example a Start or stage contract field), so editors can show the value
39451
+ * in that field's section and widget again. It is metadata only: evaluation
39452
+ * uses Path, Op and Value, and conditions without Field remain valid.
39453
+ * Logical groups and anyMatch conditions carry no Field; anyMatch
39454
+ * predicates carry their own. */
39455
+ field?: string;
39371
39456
  match?: components["schemas"]["models.WorkflowPredicateSet"];
39372
39457
  /** @description see the ConditionOp consts */
39373
39458
  op?: components["schemas"]["models.ConditionOp"];
@@ -40265,10 +40350,52 @@ export interface components {
40265
40350
  resultSchema?: string;
40266
40351
  url?: string;
40267
40352
  };
40353
+ "models.WorkflowClassifyInput": {
40354
+ /** @description one entry per tracked object */
40355
+ details?: components["schemas"]["models.WorkflowClassifyInputDetail"][];
40356
+ /** @description tracked objects that moved */
40357
+ objectCount?: number;
40358
+ /** @description classes of the objects that moved */
40359
+ properties?: string[];
40360
+ };
40361
+ "models.WorkflowClassifyInputDetail": {
40362
+ /** @description class name, e.g. car */
40363
+ classified?: string;
40364
+ /** @description primary colour names */
40365
+ colorStr?: string[];
40366
+ colorsBGR?: number[][][];
40367
+ colorsHLS?: number[][][];
40368
+ colorsStr?: string[][];
40369
+ distance?: number;
40370
+ /** @description first frame the object appeared in */
40371
+ frame?: number;
40372
+ frameHeight?: number;
40373
+ frameWidth?: number;
40374
+ frames?: number[];
40375
+ id?: string;
40376
+ isStatic?: boolean;
40377
+ /** @description frames the object was seen in */
40378
+ occurence?: number;
40379
+ staticDistance?: number;
40380
+ traject?: number[][];
40381
+ trajectCentroids?: number[][];
40382
+ valid?: boolean;
40383
+ /** @description unused by the classifier */
40384
+ w?: number;
40385
+ x?: number;
40386
+ y?: number;
40387
+ };
40268
40388
  "models.WorkflowCondition": {
40269
40389
  /** @description Conditions belongs only to logical all/any groups, which have no path,
40270
40390
  * value or match. Children retain absolute paths; anyMatch stays relative. */
40271
40391
  conditions?: components["schemas"]["models.WorkflowCondition"][];
40392
+ /** @description Field is the contract field ID a scalar condition was authored with (for
40393
+ * example a Start or stage contract field), so editors can show the value
40394
+ * in that field's section and widget again. It is metadata only: evaluation
40395
+ * uses Path, Op and Value, and conditions without Field remain valid.
40396
+ * Logical groups and anyMatch conditions carry no Field; anyMatch
40397
+ * predicates carry their own. */
40398
+ field?: string;
40272
40399
  match?: components["schemas"]["models.WorkflowPredicateSet"];
40273
40400
  /** @description see the ConditionOp consts */
40274
40401
  op?: components["schemas"]["models.ConditionOp"];
@@ -40278,10 +40405,10 @@ export interface components {
40278
40405
  value?: unknown;
40279
40406
  };
40280
40407
  "models.WorkflowConditionPath": {
40408
+ automaticOnly?: boolean;
40281
40409
  modes?: components["schemas"]["models.WorkflowConditionRootMode"][];
40282
40410
  open?: boolean;
40283
40411
  path?: string;
40284
- /** @description string, or object for an open namespace */
40285
40412
  type?: string;
40286
40413
  };
40287
40414
  /** @enum {string} */
@@ -40388,6 +40515,11 @@ export interface components {
40388
40515
  /** @enum {string} */
40389
40516
  "models.WorkflowNodeType": "stage" | "device" | "start";
40390
40517
  "models.WorkflowPredicate": {
40518
+ /** @description Field is the contract field ID the condition was authored with (for
40519
+ * example a Start or stage contract field), so editors can show the value
40520
+ * in that field's section and widget again. It is metadata only: evaluation
40521
+ * uses Path, Op and Value, and conditions without Field remain valid. */
40522
+ field?: string;
40391
40523
  op?: components["schemas"]["models.ConditionOp"];
40392
40524
  path?: string;
40393
40525
  value?: unknown;
@@ -41142,6 +41274,8 @@ export declare namespace models {
41142
41274
  type WeeklySchedule = components['schemas']['models.WeeklySchedule'];
41143
41275
  type Workflow = components['schemas']['models.Workflow'];
41144
41276
  type WorkflowCallback = components['schemas']['models.WorkflowCallback'];
41277
+ type WorkflowClassifyInput = components['schemas']['models.WorkflowClassifyInput'];
41278
+ type WorkflowClassifyInputDetail = components['schemas']['models.WorkflowClassifyInputDetail'];
41145
41279
  type WorkflowCondition = components['schemas']['models.WorkflowCondition'];
41146
41280
  type WorkflowConditionPath = components['schemas']['models.WorkflowConditionPath'];
41147
41281
  type WorkflowConditionSet = components['schemas']['models.WorkflowConditionSet'];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uug-ai/models",
3
- "version": "1.7.68",
3
+ "version": "1.7.70",
4
4
  "description": "TypeScript type definitions for Go models",
5
5
  "main": "dist/types.js",
6
6
  "types": "dist/types.d.ts",