@uug-ai/models 1.7.76 → 1.7.77
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 +65 -21
- 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": "
|
|
37443
|
+
"models.AccessTokenScope": "markers.read" | "markers.write" | "markers.all" | "workflow-runs.create" | "workflow-runs.read" | "workflow-runs.update" | "media.read" | "media.update" | "media.export" | "media.share" | "media.redact" | "media.delete" | "days.read" | "application" | "cases.read" | "cases.create" | "cases.update" | "cases.share" | "cases.export" | "cases.runWorkflow" | "cases.delete" | "workflows.read" | "workflows.create" | "workflows.update" | "workflows.delete";
|
|
37405
37444
|
"models.Account": {
|
|
37406
37445
|
account?: components["schemas"]["models.AccountBody"];
|
|
37407
37446
|
};
|
|
@@ -38484,13 +38523,6 @@ export interface components {
|
|
|
38484
38523
|
isActive?: boolean;
|
|
38485
38524
|
/** @description Device key reported by the agent, unique within its project */
|
|
38486
38525
|
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
38526
|
latestMedia?: components["schemas"]["models.DeviceMediaRef"];
|
|
38495
38527
|
/** @description Latest media uploaded by the device, from any capability. Kept at the top
|
|
38496
38528
|
* level: device lists sort on LatestMediaTimestamp. LatestMedia is a value,
|
|
@@ -38515,6 +38547,8 @@ export interface components {
|
|
|
38515
38547
|
projectId?: string;
|
|
38516
38548
|
schemaVersion?: number;
|
|
38517
38549
|
siteIds?: string[];
|
|
38550
|
+
/** @description Tags are short identifiers on a device, grouped by type (DeviceTags). */
|
|
38551
|
+
tags?: components["schemas"]["models.DeviceTags"];
|
|
38518
38552
|
type?: components["schemas"]["models.DeviceType"];
|
|
38519
38553
|
/** @description @LEGACY - removed once all readers use the fields above. */
|
|
38520
38554
|
user_id?: string;
|
|
@@ -38651,14 +38685,14 @@ export interface components {
|
|
|
38651
38685
|
fieldOfView?: number;
|
|
38652
38686
|
hidden?: boolean;
|
|
38653
38687
|
installationDate?: string;
|
|
38654
|
-
/** @description Replaces all labels; normalized by ToSet, check with Validate */
|
|
38655
|
-
labels?: string[];
|
|
38656
38688
|
lastMaintenance?: string;
|
|
38657
38689
|
/** @description Replaces the whole location */
|
|
38658
38690
|
location?: components["schemas"]["models.Location"];
|
|
38659
38691
|
model?: string;
|
|
38660
38692
|
name?: string;
|
|
38661
38693
|
onFloorPlans?: string[];
|
|
38694
|
+
/** @description Replaces all system tags; normalized by ToSet, check with Validate */
|
|
38695
|
+
systemTags?: string[];
|
|
38662
38696
|
};
|
|
38663
38697
|
"models.DevicePlacement": {
|
|
38664
38698
|
/** @description Audit information */
|
|
@@ -38690,6 +38724,15 @@ export interface components {
|
|
|
38690
38724
|
/** @description Absolute Y coordinate */
|
|
38691
38725
|
y?: number;
|
|
38692
38726
|
};
|
|
38727
|
+
"models.DeviceTags": {
|
|
38728
|
+
/** @description System tags come from the deployment's catalog (Helm) and are set by
|
|
38729
|
+
* owners (DevicePatch.SystemTags). Workflow triggers select devices by
|
|
38730
|
+
* system tag (WorkflowTrigger.SystemTags), which lets a deployment-global
|
|
38731
|
+
* workflow run on specific devices across organisations; a deployment that
|
|
38732
|
+
* defines such workflows must trust its owners (self-hosted, not
|
|
38733
|
+
* multi-tenant SaaS). */
|
|
38734
|
+
system?: string[];
|
|
38735
|
+
};
|
|
38693
38736
|
"models.DeviceThresholds": {
|
|
38694
38737
|
disconnected?: number;
|
|
38695
38738
|
idle?: number;
|
|
@@ -39902,7 +39945,7 @@ export interface components {
|
|
|
39902
39945
|
videowall?: components["schemas"]["models.Videowall"];
|
|
39903
39946
|
};
|
|
39904
39947
|
/** @enum {string} */
|
|
39905
|
-
"models.Permission": "
|
|
39948
|
+
"models.Permission": "markers.read" | "markers.write" | "markers.all" | "workflow-runs.create" | "workflow-runs.read" | "workflow-runs.update" | "media.read" | "media.update" | "media.export" | "media.share" | "media.redact" | "media.delete" | "days.read" | "application" | "cases.read" | "cases.create" | "cases.update" | "cases.share" | "cases.export" | "cases.runWorkflow" | "cases.delete" | "workflows.read" | "workflows.create" | "workflows.update" | "workflows.delete";
|
|
39906
39949
|
/** @enum {integer} */
|
|
39907
39950
|
"models.PermissionLevel": 1 | 2 | 3 | 4 | 2 | 3 | 4 | 5 | 2 | 3 | 2 | 2 | 3 | 2 | 3 | 4;
|
|
39908
39951
|
"models.Permissions": {
|
|
@@ -41356,14 +41399,14 @@ export interface components {
|
|
|
41356
41399
|
deviceName?: string;
|
|
41357
41400
|
/** @description effective group memberships resolved by the caller, never an authorization grant */
|
|
41358
41401
|
groupIds?: string[];
|
|
41359
|
-
/** @description owner-set device labels (Device.Labels), loaded by the caller */
|
|
41360
|
-
labels?: string[];
|
|
41361
41402
|
/** @description media VideoProvider: where the media is served from */
|
|
41362
41403
|
provider?: string;
|
|
41363
41404
|
/** @description site ids the device is linked to (Device.SiteIds); a gate value, matchable with contains/in/exists/matches */
|
|
41364
41405
|
siteIds?: string[];
|
|
41365
41406
|
/** @description media StorageSolution: where the media is stored */
|
|
41366
41407
|
storageSolution?: string;
|
|
41408
|
+
/** @description owner-set system tags (Device.Tags.System), loaded by the caller */
|
|
41409
|
+
systemTags?: string[];
|
|
41367
41410
|
};
|
|
41368
41411
|
"models.WorkflowDeviceReference": {
|
|
41369
41412
|
key?: string;
|
|
@@ -41393,8 +41436,8 @@ export interface components {
|
|
|
41393
41436
|
classifications?: string[];
|
|
41394
41437
|
devices?: components["schemas"]["models.DeviceKey"][];
|
|
41395
41438
|
groupIds?: string[];
|
|
41396
|
-
labels?: string[];
|
|
41397
41439
|
siteIds?: string[];
|
|
41440
|
+
systemTags?: string[];
|
|
41398
41441
|
weeklySchedule?: components["schemas"]["models.WeeklySchedule"][];
|
|
41399
41442
|
};
|
|
41400
41443
|
"models.WorkflowInvocation": {
|
|
@@ -41870,13 +41913,6 @@ export interface components {
|
|
|
41870
41913
|
* trigger. It is a projection, never an independently authored edge type. */
|
|
41871
41914
|
edgeId?: string;
|
|
41872
41915
|
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
41916
|
/** @description SharedConditions preserves legacy Start-level gating independently of the
|
|
41881
41917
|
* edge's condition mode. Both groups must match; new editors author edges. */
|
|
41882
41918
|
sharedConditions?: components["schemas"]["models.WorkflowConditionSet"];
|
|
@@ -41887,6 +41923,13 @@ export interface components {
|
|
|
41887
41923
|
/** @description Surfaces lists the UI surfaces a manual trigger can be launched from
|
|
41888
41924
|
* (manual). Ignored for automatic triggers. */
|
|
41889
41925
|
surfaces?: components["schemas"]["models.WorkflowTriggerSurface"][];
|
|
41926
|
+
/** @description SystemTags selects devices carrying at least one of the listed system
|
|
41927
|
+
* tags (Device.Tags.System), in NormalizeDeviceTags form. Unlike site and
|
|
41928
|
+
* group ids, tags are not tenant-scoped, so a deployment-global workflow can
|
|
41929
|
+
* select specific devices across organisations with them. Owners set system
|
|
41930
|
+
* tags, so such global workflows assume trusted owners (see
|
|
41931
|
+
* Workflow.UsesSystemTags). */
|
|
41932
|
+
systemTags?: string[];
|
|
41890
41933
|
/** @description Type is the activation mode. An empty Type is treated as
|
|
41891
41934
|
* WorkflowTriggerAutomatic for backwards compatibility with triggers authored
|
|
41892
41935
|
* before manual triggers existed. */
|
|
@@ -42017,6 +42060,7 @@ export declare namespace models {
|
|
|
42017
42060
|
type DeviceOption = components['schemas']['models.DeviceOption'];
|
|
42018
42061
|
type DevicePatch = components['schemas']['models.DevicePatch'];
|
|
42019
42062
|
type DevicePlacement = components['schemas']['models.DevicePlacement'];
|
|
42063
|
+
type DeviceTags = components['schemas']['models.DeviceTags'];
|
|
42020
42064
|
type DeviceThresholds = components['schemas']['models.DeviceThresholds'];
|
|
42021
42065
|
type DeviceVLMMetadata = components['schemas']['models.DeviceVLMMetadata'];
|
|
42022
42066
|
type Devices = components['schemas']['models.Devices'];
|