@uug-ai/models 1.7.76 → 1.7.78

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 +72 -21
  2. package/package.json +1 -1
package/dist/types.d.ts CHANGED
@@ -7959,6 +7959,45 @@ export interface paths {
7959
7959
  patch?: never;
7960
7960
  trace?: never;
7961
7961
  };
7962
+ "/internal/devicetags": {
7963
+ parameters: {
7964
+ query?: never;
7965
+ header?: never;
7966
+ path?: never;
7967
+ cookie?: never;
7968
+ };
7969
+ /**
7970
+ * Get DeviceTags (schema generation only)
7971
+ * @description Internal endpoint used only to ensure DeviceTags schema is generated in OpenAPI spec
7972
+ */
7973
+ get: {
7974
+ parameters: {
7975
+ query?: never;
7976
+ header?: never;
7977
+ path?: never;
7978
+ cookie?: never;
7979
+ };
7980
+ requestBody?: never;
7981
+ responses: {
7982
+ /** @description OK */
7983
+ 200: {
7984
+ headers: {
7985
+ [name: string]: unknown;
7986
+ };
7987
+ content: {
7988
+ "application/json": components["schemas"]["models.DeviceTags"];
7989
+ };
7990
+ };
7991
+ };
7992
+ };
7993
+ put?: never;
7994
+ post?: never;
7995
+ delete?: never;
7996
+ options?: never;
7997
+ head?: never;
7998
+ patch?: never;
7999
+ trace?: never;
8000
+ };
7962
8001
  "/internal/devicethresholds": {
7963
8002
  parameters: {
7964
8003
  query?: never;
@@ -37401,7 +37440,7 @@ export interface components {
37401
37440
  userId?: string;
37402
37441
  };
37403
37442
  /** @enum {string} */
37404
- "models.AccessTokenScope": "media.read" | "media.update" | "media.export" | "media.share" | "media.redact" | "media.delete" | "workflows.read" | "workflows.create" | "workflows.update" | "workflows.delete" | "cases.read" | "cases.create" | "cases.update" | "cases.share" | "cases.export" | "cases.runWorkflow" | "cases.delete" | "application" | "days.read" | "workflow-runs.create" | "workflow-runs.read" | "workflow-runs.update" | "markers.read" | "markers.write" | "markers.all";
37443
+ "models.AccessTokenScope": "days.read" | "markers.read" | "markers.write" | "markers.all" | "application" | "cases.read" | "cases.create" | "cases.update" | "cases.share" | "cases.export" | "cases.runWorkflow" | "cases.delete" | "workflow-runs.create" | "workflow-runs.read" | "workflow-runs.update" | "workflows.read" | "workflows.create" | "workflows.update" | "workflows.delete" | "media.read" | "media.update" | "media.export" | "media.share" | "media.redact" | "media.delete";
37405
37444
  "models.Account": {
37406
37445
  account?: components["schemas"]["models.AccountBody"];
37407
37446
  };
@@ -38321,6 +38360,9 @@ export interface components {
38321
38360
  cameratype?: string;
38322
38361
  cloudpublicKey?: string;
38323
38362
  clouduser?: string;
38363
+ /** @description ContinuousRecording is "true" or "false"; empty when the agent does not
38364
+ * report it (older agents), unlike CameraMetadata.ContinuousRecording. */
38365
+ continuousRecording?: string;
38324
38366
  cpuid?: string;
38325
38367
  docker?: boolean;
38326
38368
  e2e_encryption?: string;
@@ -38484,13 +38526,6 @@ export interface components {
38484
38526
  isActive?: boolean;
38485
38527
  /** @description Device key reported by the agent, unique within its project */
38486
38528
  key?: string;
38487
- /** @description Labels are free-form tags owners set on a device (DevicePatch), stored in
38488
- * NormalizeDeviceLabels form. Workflow triggers can select devices by label
38489
- * (WorkflowTrigger.Labels), which lets a deployment-global workflow run on
38490
- * specific devices across organisations. Only owners may edit them, so a
38491
- * deployment that defines label-triggered global workflows must trust its
38492
- * owners (self-hosted deployments, not multi-tenant SaaS). */
38493
- labels?: string[];
38494
38529
  latestMedia?: components["schemas"]["models.DeviceMediaRef"];
38495
38530
  /** @description Latest media uploaded by the device, from any capability. Kept at the top
38496
38531
  * level: device lists sort on LatestMediaTimestamp. LatestMedia is a value,
@@ -38515,6 +38550,8 @@ export interface components {
38515
38550
  projectId?: string;
38516
38551
  schemaVersion?: number;
38517
38552
  siteIds?: string[];
38553
+ /** @description Tags are short identifiers on a device, grouped by type (DeviceTags). */
38554
+ tags?: components["schemas"]["models.DeviceTags"];
38518
38555
  type?: components["schemas"]["models.DeviceType"];
38519
38556
  /** @description @LEGACY - removed once all readers use the fields above. */
38520
38557
  user_id?: string;
@@ -38651,14 +38688,14 @@ export interface components {
38651
38688
  fieldOfView?: number;
38652
38689
  hidden?: boolean;
38653
38690
  installationDate?: string;
38654
- /** @description Replaces all labels; normalized by ToSet, check with Validate */
38655
- labels?: string[];
38656
38691
  lastMaintenance?: string;
38657
38692
  /** @description Replaces the whole location */
38658
38693
  location?: components["schemas"]["models.Location"];
38659
38694
  model?: string;
38660
38695
  name?: string;
38661
38696
  onFloorPlans?: string[];
38697
+ /** @description Replaces all system tags; normalized by ToSet, check with Validate */
38698
+ systemTags?: string[];
38662
38699
  };
38663
38700
  "models.DevicePlacement": {
38664
38701
  /** @description Audit information */
@@ -38690,6 +38727,15 @@ export interface components {
38690
38727
  /** @description Absolute Y coordinate */
38691
38728
  y?: number;
38692
38729
  };
38730
+ "models.DeviceTags": {
38731
+ /** @description System tags come from the deployment's catalog (Helm) and are set by
38732
+ * owners (DevicePatch.SystemTags). Workflow triggers select devices by
38733
+ * system tag (WorkflowTrigger.SystemTags), which lets a deployment-global
38734
+ * workflow run on specific devices across organisations; a deployment that
38735
+ * defines such workflows must trust its owners (self-hosted, not
38736
+ * multi-tenant SaaS). */
38737
+ system?: string[];
38738
+ };
38693
38739
  "models.DeviceThresholds": {
38694
38740
  disconnected?: number;
38695
38741
  idle?: number;
@@ -39902,7 +39948,7 @@ export interface components {
39902
39948
  videowall?: components["schemas"]["models.Videowall"];
39903
39949
  };
39904
39950
  /** @enum {string} */
39905
- "models.Permission": "media.read" | "media.update" | "media.export" | "media.share" | "media.redact" | "media.delete" | "workflows.read" | "workflows.create" | "workflows.update" | "workflows.delete" | "cases.read" | "cases.create" | "cases.update" | "cases.share" | "cases.export" | "cases.runWorkflow" | "cases.delete" | "application" | "days.read" | "workflow-runs.create" | "workflow-runs.read" | "workflow-runs.update" | "markers.read" | "markers.write" | "markers.all";
39951
+ "models.Permission": "days.read" | "markers.read" | "markers.write" | "markers.all" | "application" | "cases.read" | "cases.create" | "cases.update" | "cases.share" | "cases.export" | "cases.runWorkflow" | "cases.delete" | "workflow-runs.create" | "workflow-runs.read" | "workflow-runs.update" | "workflows.read" | "workflows.create" | "workflows.update" | "workflows.delete" | "media.read" | "media.update" | "media.export" | "media.share" | "media.redact" | "media.delete";
39906
39952
  /** @enum {integer} */
39907
39953
  "models.PermissionLevel": 1 | 2 | 3 | 4 | 2 | 3 | 4 | 5 | 2 | 3 | 2 | 2 | 3 | 2 | 3 | 4;
39908
39954
  "models.Permissions": {
@@ -41124,6 +41170,10 @@ export interface components {
41124
41170
  weeklySchedule?: components["schemas"]["models.WeeklySchedule"][];
41125
41171
  };
41126
41172
  "models.VideowallLayout": {
41173
+ /** @description AspectRatio is the shape of a single grid cell as "W:H" (one of
41174
+ * VideowallLayoutAspectRatios). Empty means 16:9, so layouts saved before
41175
+ * this field existed keep rendering unchanged. */
41176
+ aspectRatio?: string;
41127
41177
  /** @description Columns is the grid column count the layout was authored against (1-5). */
41128
41178
  columns?: number;
41129
41179
  /** @description Tiles lists each placed camera in display order with its span. */
@@ -41356,14 +41406,14 @@ export interface components {
41356
41406
  deviceName?: string;
41357
41407
  /** @description effective group memberships resolved by the caller, never an authorization grant */
41358
41408
  groupIds?: string[];
41359
- /** @description owner-set device labels (Device.Labels), loaded by the caller */
41360
- labels?: string[];
41361
41409
  /** @description media VideoProvider: where the media is served from */
41362
41410
  provider?: string;
41363
41411
  /** @description site ids the device is linked to (Device.SiteIds); a gate value, matchable with contains/in/exists/matches */
41364
41412
  siteIds?: string[];
41365
41413
  /** @description media StorageSolution: where the media is stored */
41366
41414
  storageSolution?: string;
41415
+ /** @description owner-set system tags (Device.Tags.System), loaded by the caller */
41416
+ systemTags?: string[];
41367
41417
  };
41368
41418
  "models.WorkflowDeviceReference": {
41369
41419
  key?: string;
@@ -41393,8 +41443,8 @@ export interface components {
41393
41443
  classifications?: string[];
41394
41444
  devices?: components["schemas"]["models.DeviceKey"][];
41395
41445
  groupIds?: string[];
41396
- labels?: string[];
41397
41446
  siteIds?: string[];
41447
+ systemTags?: string[];
41398
41448
  weeklySchedule?: components["schemas"]["models.WeeklySchedule"][];
41399
41449
  };
41400
41450
  "models.WorkflowInvocation": {
@@ -41870,13 +41920,6 @@ export interface components {
41870
41920
  * trigger. It is a projection, never an independently authored edge type. */
41871
41921
  edgeId?: string;
41872
41922
  groupIds?: string[];
41873
- /** @description Labels selects devices carrying at least one of the listed device labels
41874
- * (Device.Labels), in NormalizeDeviceLabels form. Unlike site and group ids,
41875
- * labels are not tenant-scoped, so a deployment-global workflow can select
41876
- * specific devices across organisations with them. Owners set labels, so
41877
- * label-triggered global workflows assume trusted owners (see
41878
- * Workflow.UsesDeviceLabels). */
41879
- labels?: string[];
41880
41923
  /** @description SharedConditions preserves legacy Start-level gating independently of the
41881
41924
  * edge's condition mode. Both groups must match; new editors author edges. */
41882
41925
  sharedConditions?: components["schemas"]["models.WorkflowConditionSet"];
@@ -41887,6 +41930,13 @@ export interface components {
41887
41930
  /** @description Surfaces lists the UI surfaces a manual trigger can be launched from
41888
41931
  * (manual). Ignored for automatic triggers. */
41889
41932
  surfaces?: components["schemas"]["models.WorkflowTriggerSurface"][];
41933
+ /** @description SystemTags selects devices carrying at least one of the listed system
41934
+ * tags (Device.Tags.System), in NormalizeDeviceTags form. Unlike site and
41935
+ * group ids, tags are not tenant-scoped, so a deployment-global workflow can
41936
+ * select specific devices across organisations with them. Owners set system
41937
+ * tags, so such global workflows assume trusted owners (see
41938
+ * Workflow.UsesSystemTags). */
41939
+ systemTags?: string[];
41890
41940
  /** @description Type is the activation mode. An empty Type is treated as
41891
41941
  * WorkflowTriggerAutomatic for backwards compatibility with triggers authored
41892
41942
  * before manual triggers existed. */
@@ -42017,6 +42067,7 @@ export declare namespace models {
42017
42067
  type DeviceOption = components['schemas']['models.DeviceOption'];
42018
42068
  type DevicePatch = components['schemas']['models.DevicePatch'];
42019
42069
  type DevicePlacement = components['schemas']['models.DevicePlacement'];
42070
+ type DeviceTags = components['schemas']['models.DeviceTags'];
42020
42071
  type DeviceThresholds = components['schemas']['models.DeviceThresholds'];
42021
42072
  type DeviceVLMMetadata = components['schemas']['models.DeviceVLMMetadata'];
42022
42073
  type Devices = components['schemas']['models.Devices'];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uug-ai/models",
3
- "version": "1.7.76",
3
+ "version": "1.7.78",
4
4
  "description": "TypeScript type definitions for Go models",
5
5
  "main": "dist/types.js",
6
6
  "types": "dist/types.d.ts",