@uug-ai/models 1.7.75 → 1.7.76
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 +21 -2
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -37401,7 +37401,7 @@ export interface components {
|
|
|
37401
37401
|
userId?: string;
|
|
37402
37402
|
};
|
|
37403
37403
|
/** @enum {string} */
|
|
37404
|
-
"models.AccessTokenScope": "media.read" | "media.update" | "media.export" | "media.share" | "media.redact" | "media.delete" | "
|
|
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";
|
|
37405
37405
|
"models.Account": {
|
|
37406
37406
|
account?: components["schemas"]["models.AccountBody"];
|
|
37407
37407
|
};
|
|
@@ -38484,6 +38484,13 @@ export interface components {
|
|
|
38484
38484
|
isActive?: boolean;
|
|
38485
38485
|
/** @description Device key reported by the agent, unique within its project */
|
|
38486
38486
|
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[];
|
|
38487
38494
|
latestMedia?: components["schemas"]["models.DeviceMediaRef"];
|
|
38488
38495
|
/** @description Latest media uploaded by the device, from any capability. Kept at the top
|
|
38489
38496
|
* level: device lists sort on LatestMediaTimestamp. LatestMedia is a value,
|
|
@@ -38644,6 +38651,8 @@ export interface components {
|
|
|
38644
38651
|
fieldOfView?: number;
|
|
38645
38652
|
hidden?: boolean;
|
|
38646
38653
|
installationDate?: string;
|
|
38654
|
+
/** @description Replaces all labels; normalized by ToSet, check with Validate */
|
|
38655
|
+
labels?: string[];
|
|
38647
38656
|
lastMaintenance?: string;
|
|
38648
38657
|
/** @description Replaces the whole location */
|
|
38649
38658
|
location?: components["schemas"]["models.Location"];
|
|
@@ -39893,7 +39902,7 @@ export interface components {
|
|
|
39893
39902
|
videowall?: components["schemas"]["models.Videowall"];
|
|
39894
39903
|
};
|
|
39895
39904
|
/** @enum {string} */
|
|
39896
|
-
"models.Permission": "media.read" | "media.update" | "media.export" | "media.share" | "media.redact" | "media.delete" | "
|
|
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";
|
|
39897
39906
|
/** @enum {integer} */
|
|
39898
39907
|
"models.PermissionLevel": 1 | 2 | 3 | 4 | 2 | 3 | 4 | 5 | 2 | 3 | 2 | 2 | 3 | 2 | 3 | 4;
|
|
39899
39908
|
"models.Permissions": {
|
|
@@ -41347,6 +41356,8 @@ export interface components {
|
|
|
41347
41356
|
deviceName?: string;
|
|
41348
41357
|
/** @description effective group memberships resolved by the caller, never an authorization grant */
|
|
41349
41358
|
groupIds?: string[];
|
|
41359
|
+
/** @description owner-set device labels (Device.Labels), loaded by the caller */
|
|
41360
|
+
labels?: string[];
|
|
41350
41361
|
/** @description media VideoProvider: where the media is served from */
|
|
41351
41362
|
provider?: string;
|
|
41352
41363
|
/** @description site ids the device is linked to (Device.SiteIds); a gate value, matchable with contains/in/exists/matches */
|
|
@@ -41382,6 +41393,7 @@ export interface components {
|
|
|
41382
41393
|
classifications?: string[];
|
|
41383
41394
|
devices?: components["schemas"]["models.DeviceKey"][];
|
|
41384
41395
|
groupIds?: string[];
|
|
41396
|
+
labels?: string[];
|
|
41385
41397
|
siteIds?: string[];
|
|
41386
41398
|
weeklySchedule?: components["schemas"]["models.WeeklySchedule"][];
|
|
41387
41399
|
};
|
|
@@ -41858,6 +41870,13 @@ export interface components {
|
|
|
41858
41870
|
* trigger. It is a projection, never an independently authored edge type. */
|
|
41859
41871
|
edgeId?: string;
|
|
41860
41872
|
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[];
|
|
41861
41880
|
/** @description SharedConditions preserves legacy Start-level gating independently of the
|
|
41862
41881
|
* edge's condition mode. Both groups must match; new editors author edges. */
|
|
41863
41882
|
sharedConditions?: components["schemas"]["models.WorkflowConditionSet"];
|