@uug-ai/models 1.7.8 → 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.
- package/dist/types.d.ts +90 -11
- 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;
|
|
@@ -31074,7 +31113,9 @@ export interface components {
|
|
|
31074
31113
|
organisationId?: string;
|
|
31075
31114
|
};
|
|
31076
31115
|
"api.SetCurrentOrganisationResponse": {
|
|
31116
|
+
expire?: string;
|
|
31077
31117
|
organisation?: components["schemas"]["models.Organisation"];
|
|
31118
|
+
token?: string;
|
|
31078
31119
|
};
|
|
31079
31120
|
"api.SetCurrentOrganisationSuccessResponse": {
|
|
31080
31121
|
/** @description Application-specific status code */
|
|
@@ -32713,11 +32754,11 @@ export interface components {
|
|
|
32713
32754
|
"models.DeleteVideowallOutput": Record<string, never>;
|
|
32714
32755
|
"models.DeleteWorkflowInput": {
|
|
32715
32756
|
user?: components["schemas"]["models.User"];
|
|
32716
|
-
|
|
32757
|
+
workflowId?: string;
|
|
32717
32758
|
};
|
|
32718
32759
|
"models.DeleteWorkflowOutput": Record<string, never>;
|
|
32719
32760
|
"models.DeleteWorkflowStageInput": {
|
|
32720
|
-
|
|
32761
|
+
stageId?: string;
|
|
32721
32762
|
user?: components["schemas"]["models.User"];
|
|
32722
32763
|
};
|
|
32723
32764
|
"models.DeleteWorkflowStageOutput": Record<string, never>;
|
|
@@ -32787,6 +32828,18 @@ export interface components {
|
|
|
32787
32828
|
rotation?: number;
|
|
32788
32829
|
width?: number;
|
|
32789
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
|
+
};
|
|
32790
32843
|
"models.DetectionRun": {
|
|
32791
32844
|
categories?: components["schemas"]["models.DetectionCategory"][];
|
|
32792
32845
|
/** @description CreatedAt is set by the server when the run is first stored (epoch millis). */
|
|
@@ -33262,13 +33315,13 @@ export interface components {
|
|
|
33262
33315
|
};
|
|
33263
33316
|
"models.GetWorkflowInput": {
|
|
33264
33317
|
user?: components["schemas"]["models.User"];
|
|
33265
|
-
|
|
33318
|
+
workflowId?: string;
|
|
33266
33319
|
};
|
|
33267
33320
|
"models.GetWorkflowOutput": {
|
|
33268
33321
|
workflow?: components["schemas"]["models.Workflow"];
|
|
33269
33322
|
};
|
|
33270
33323
|
"models.GetWorkflowStageInput": {
|
|
33271
|
-
|
|
33324
|
+
stageId?: string;
|
|
33272
33325
|
user?: components["schemas"]["models.User"];
|
|
33273
33326
|
};
|
|
33274
33327
|
"models.GetWorkflowStageOutput": {
|
|
@@ -33482,6 +33535,13 @@ export interface components {
|
|
|
33482
33535
|
* @example Person forcably opened a door
|
|
33483
33536
|
*/
|
|
33484
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"][];
|
|
33485
33545
|
/**
|
|
33486
33546
|
* @description RBAC information
|
|
33487
33547
|
* @example 686a906345c1df594939f9j25f4
|
|
@@ -33754,6 +33814,12 @@ export interface components {
|
|
|
33754
33814
|
};
|
|
33755
33815
|
"models.MarkerSummary": {
|
|
33756
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"][];
|
|
33757
33823
|
endTimestamp?: number;
|
|
33758
33824
|
eventNames?: string[];
|
|
33759
33825
|
name?: string;
|
|
@@ -35033,14 +35099,14 @@ export interface components {
|
|
|
35033
35099
|
"models.UpdateWorkflowInput": {
|
|
35034
35100
|
user?: components["schemas"]["models.User"];
|
|
35035
35101
|
workflow?: components["schemas"]["models.Workflow"];
|
|
35036
|
-
|
|
35102
|
+
workflowId?: string;
|
|
35037
35103
|
};
|
|
35038
35104
|
"models.UpdateWorkflowOutput": {
|
|
35039
35105
|
workflow?: components["schemas"]["models.Workflow"];
|
|
35040
35106
|
};
|
|
35041
35107
|
"models.UpdateWorkflowStageInput": {
|
|
35042
35108
|
stage?: components["schemas"]["models.WorkflowStage"];
|
|
35043
|
-
|
|
35109
|
+
stageId?: string;
|
|
35044
35110
|
user?: components["schemas"]["models.User"];
|
|
35045
35111
|
};
|
|
35046
35112
|
"models.UpdateWorkflowStageOutput": {
|
|
@@ -35328,18 +35394,30 @@ export interface components {
|
|
|
35328
35394
|
timezone?: string;
|
|
35329
35395
|
};
|
|
35330
35396
|
"models.Workflow": {
|
|
35331
|
-
|
|
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;
|
|
35332
35403
|
description?: string;
|
|
35333
35404
|
edges?: components["schemas"]["models.WorkflowEdge"][];
|
|
35334
35405
|
enabled?: boolean;
|
|
35335
35406
|
id?: string;
|
|
35336
35407
|
name?: string;
|
|
35337
35408
|
nodes?: components["schemas"]["models.WorkflowNode"][];
|
|
35338
|
-
|
|
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;
|
|
35339
35417
|
/**
|
|
35340
35418
|
* @description Source is the workflow's provenance and availability (see WorkflowSource).
|
|
35341
35419
|
* Empty means WorkflowSourceUser: an ordinary user workflow scoped to its
|
|
35342
|
-
* OrganisationId. WorkflowSourceConfig marks a
|
|
35420
|
+
* OrganisationId. WorkflowSourceConfig marks a Helm-defined, deployment-global,
|
|
35343
35421
|
* read-only workflow. Every workflow persisted before this field existed
|
|
35344
35422
|
* decodes as user.
|
|
35345
35423
|
*/
|
|
@@ -35373,8 +35451,8 @@ export interface components {
|
|
|
35373
35451
|
* matching recordings and can also be launched on demand from a surface.
|
|
35374
35452
|
*/
|
|
35375
35453
|
triggers?: components["schemas"]["models.WorkflowTrigger"][];
|
|
35376
|
-
|
|
35377
|
-
|
|
35454
|
+
updatedAt?: number;
|
|
35455
|
+
userId?: string;
|
|
35378
35456
|
username?: string;
|
|
35379
35457
|
};
|
|
35380
35458
|
"models.WorkflowDevice": {
|
|
@@ -35857,6 +35935,7 @@ export declare namespace models {
|
|
|
35857
35935
|
type DeprecatedPreset = components['schemas']['models.DeprecatedPreset'];
|
|
35858
35936
|
type DetectionCategory = components['schemas']['models.DetectionCategory'];
|
|
35859
35937
|
type DetectionMedia = components['schemas']['models.DetectionMedia'];
|
|
35938
|
+
type DetectionRef = components['schemas']['models.DetectionRef'];
|
|
35860
35939
|
type DetectionRun = components['schemas']['models.DetectionRun'];
|
|
35861
35940
|
type DetectionSource = components['schemas']['models.DetectionSource'];
|
|
35862
35941
|
type Detections = components['schemas']['models.Detections'];
|