@uug-ai/models 1.7.9 → 1.7.11

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 +88 -11
  2. package/package.json +1 -1
package/dist/types.d.ts CHANGED
@@ -6243,6 +6243,45 @@ export interface paths {
6243
6243
  patch?: never;
6244
6244
  trace?: never;
6245
6245
  };
6246
+ "/internal/detectionref": {
6247
+ parameters: {
6248
+ query?: never;
6249
+ header?: never;
6250
+ path?: never;
6251
+ cookie?: never;
6252
+ };
6253
+ /**
6254
+ * Get DetectionRef (schema generation only)
6255
+ * @description Internal endpoint used only to ensure DetectionRef schema is generated in OpenAPI spec
6256
+ */
6257
+ get: {
6258
+ parameters: {
6259
+ query?: never;
6260
+ header?: never;
6261
+ path?: never;
6262
+ cookie?: never;
6263
+ };
6264
+ requestBody?: never;
6265
+ responses: {
6266
+ /** @description OK */
6267
+ 200: {
6268
+ headers: {
6269
+ [name: string]: unknown;
6270
+ };
6271
+ content: {
6272
+ "application/json": components["schemas"]["models.DetectionRef"];
6273
+ };
6274
+ };
6275
+ };
6276
+ };
6277
+ put?: never;
6278
+ post?: never;
6279
+ delete?: never;
6280
+ options?: never;
6281
+ head?: never;
6282
+ patch?: never;
6283
+ trace?: never;
6284
+ };
6246
6285
  "/internal/detectionrejection": {
6247
6286
  parameters: {
6248
6287
  query?: never;
@@ -32715,11 +32754,11 @@ export interface components {
32715
32754
  "models.DeleteVideowallOutput": Record<string, never>;
32716
32755
  "models.DeleteWorkflowInput": {
32717
32756
  user?: components["schemas"]["models.User"];
32718
- workflow_id?: string;
32757
+ workflowId?: string;
32719
32758
  };
32720
32759
  "models.DeleteWorkflowOutput": Record<string, never>;
32721
32760
  "models.DeleteWorkflowStageInput": {
32722
- stage_id?: string;
32761
+ stageId?: string;
32723
32762
  user?: components["schemas"]["models.User"];
32724
32763
  };
32725
32764
  "models.DeleteWorkflowStageOutput": Record<string, never>;
@@ -32789,6 +32828,18 @@ export interface components {
32789
32828
  rotation?: number;
32790
32829
  width?: number;
32791
32830
  };
32831
+ "models.DetectionRef": {
32832
+ /**
32833
+ * @description DetectionRun.Source.RunId
32834
+ * @example 01J8Z9Q2A7K3
32835
+ */
32836
+ runId?: string;
32837
+ /**
32838
+ * @description FaceRedactionTrack.Id within the run
32839
+ * @example track-3
32840
+ */
32841
+ trackId?: string;
32842
+ };
32792
32843
  "models.DetectionRun": {
32793
32844
  categories?: components["schemas"]["models.DetectionCategory"][];
32794
32845
  /** @description CreatedAt is set by the server when the run is first stored (epoch millis). */
@@ -33264,13 +33315,13 @@ export interface components {
33264
33315
  };
33265
33316
  "models.GetWorkflowInput": {
33266
33317
  user?: components["schemas"]["models.User"];
33267
- workflow_id?: string;
33318
+ workflowId?: string;
33268
33319
  };
33269
33320
  "models.GetWorkflowOutput": {
33270
33321
  workflow?: components["schemas"]["models.Workflow"];
33271
33322
  };
33272
33323
  "models.GetWorkflowStageInput": {
33273
- stage_id?: string;
33324
+ stageId?: string;
33274
33325
  user?: components["schemas"]["models.User"];
33275
33326
  };
33276
33327
  "models.GetWorkflowStageOutput": {
@@ -33484,6 +33535,13 @@ export interface components {
33484
33535
  * @example Person forcably opened a door
33485
33536
  */
33486
33537
  description?: string;
33538
+ /**
33539
+ * @description Detections links this marker to the detection track(s) it was derived from,
33540
+ * enabling on-demand bounding-box overlays on the recording. Each entry points
33541
+ * at a stored detection track (see DetectionRef). A marker usually links to a
33542
+ * single track but may reference several; empty when no detection link is known.
33543
+ */
33544
+ detections?: components["schemas"]["models.DetectionRef"][];
33487
33545
  /**
33488
33546
  * @description RBAC information
33489
33547
  * @example 686a906345c1df594939f9j25f4
@@ -33756,6 +33814,12 @@ export interface components {
33756
33814
  };
33757
33815
  "models.MarkerSummary": {
33758
33816
  categoryNames?: string[];
33817
+ /**
33818
+ * @description Detections mirrors the source marker's Detections so the frontend can map a
33819
+ * summarised marker to its detection track(s) — and toggle their bounding-box
33820
+ * overlay — without a second query. Empty when the marker has no detection link.
33821
+ */
33822
+ detections?: components["schemas"]["models.DetectionRef"][];
33759
33823
  endTimestamp?: number;
33760
33824
  eventNames?: string[];
33761
33825
  name?: string;
@@ -35035,14 +35099,14 @@ export interface components {
35035
35099
  "models.UpdateWorkflowInput": {
35036
35100
  user?: components["schemas"]["models.User"];
35037
35101
  workflow?: components["schemas"]["models.Workflow"];
35038
- workflow_id?: string;
35102
+ workflowId?: string;
35039
35103
  };
35040
35104
  "models.UpdateWorkflowOutput": {
35041
35105
  workflow?: components["schemas"]["models.Workflow"];
35042
35106
  };
35043
35107
  "models.UpdateWorkflowStageInput": {
35044
35108
  stage?: components["schemas"]["models.WorkflowStage"];
35045
- stage_id?: string;
35109
+ stageId?: string;
35046
35110
  user?: components["schemas"]["models.User"];
35047
35111
  };
35048
35112
  "models.UpdateWorkflowStageOutput": {
@@ -35330,18 +35394,30 @@ export interface components {
35330
35394
  timezone?: string;
35331
35395
  };
35332
35396
  "models.Workflow": {
35333
- created_at?: number;
35397
+ /**
35398
+ * @description Audit carries bounded actor/timestamp metadata for database-backed user
35399
+ * workflows. It is omitted from Helm-defined global workflows unless set.
35400
+ */
35401
+ audit?: components["schemas"]["models.Audit"];
35402
+ createdAt?: number;
35334
35403
  description?: string;
35335
35404
  edges?: components["schemas"]["models.WorkflowEdge"][];
35336
35405
  enabled?: boolean;
35337
35406
  id?: string;
35338
35407
  name?: string;
35339
35408
  nodes?: components["schemas"]["models.WorkflowNode"][];
35340
- organisation_id?: string;
35409
+ /**
35410
+ * @description OrganisationId is the canonical tenant key. It is persisted as the
35411
+ * camelCase `organisationId` field to match the platform-wide convention for
35412
+ * organisation-owned domain resources. Database-backed workflows are not yet
35413
+ * materially used in deployments, so new documents start with this canonical
35414
+ * contract while readers may retain a legacy `organisation_id` fallback.
35415
+ */
35416
+ organisationId?: string;
35341
35417
  /**
35342
35418
  * @description Source is the workflow's provenance and availability (see WorkflowSource).
35343
35419
  * Empty means WorkflowSourceUser: an ordinary user workflow scoped to its
35344
- * OrganisationId. WorkflowSourceConfig marks a helm-seeded, deployment-global,
35420
+ * OrganisationId. WorkflowSourceConfig marks a Helm-defined, deployment-global,
35345
35421
  * read-only workflow. Every workflow persisted before this field existed
35346
35422
  * decodes as user.
35347
35423
  */
@@ -35375,8 +35451,8 @@ export interface components {
35375
35451
  * matching recordings and can also be launched on demand from a surface.
35376
35452
  */
35377
35453
  triggers?: components["schemas"]["models.WorkflowTrigger"][];
35378
- updated_at?: number;
35379
- user_id?: string;
35454
+ updatedAt?: number;
35455
+ userId?: string;
35380
35456
  username?: string;
35381
35457
  };
35382
35458
  "models.WorkflowDevice": {
@@ -35859,6 +35935,7 @@ export declare namespace models {
35859
35935
  type DeprecatedPreset = components['schemas']['models.DeprecatedPreset'];
35860
35936
  type DetectionCategory = components['schemas']['models.DetectionCategory'];
35861
35937
  type DetectionMedia = components['schemas']['models.DetectionMedia'];
35938
+ type DetectionRef = components['schemas']['models.DetectionRef'];
35862
35939
  type DetectionRun = components['schemas']['models.DetectionRun'];
35863
35940
  type DetectionSource = components['schemas']['models.DetectionSource'];
35864
35941
  type Detections = components['schemas']['models.Detections'];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uug-ai/models",
3
- "version": "1.7.9",
3
+ "version": "1.7.11",
4
4
  "description": "TypeScript type definitions for Go models",
5
5
  "main": "dist/types.js",
6
6
  "types": "dist/types.d.ts",