@uug-ai/models 1.7.88 → 1.7.90
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 +23 -16
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -39380,7 +39380,7 @@ export interface components {
|
|
|
39380
39380
|
userId?: string;
|
|
39381
39381
|
};
|
|
39382
39382
|
/** @enum {string} */
|
|
39383
|
-
"models.AccessTokenScope": "
|
|
39383
|
+
"models.AccessTokenScope": "alerts.read" | "alerts.create" | "alerts.update" | "alerts.delete" | "alerts.managePrivacy" | "channels.read" | "channels.create" | "channels.update" | "channels.delete" | "devices.read" | "devices.update" | "devices.delete" | "devices.configure" | "devices.managePermissions" | "live.preview" | "live.stream" | "ptz.zoom" | "ptz.panTilt" | "ptz.control" | "ptz.presets" | "devices.manageSystemTags" | "labels.read" | "labels.create" | "labels.update" | "labels.delete" | "billing.read" | "billing.manage" | "cases.read" | "cases.create" | "cases.update" | "cases.share" | "cases.export" | "cases.runWorkflow" | "cases.delete" | "cases.manageMembership" | "cases.moderateComments" | "project.update" | "project.manageCredentials" | "project.manageAccess" | "projects.create" | "projects.delete" | "projects.manageAccess" | "storage.read" | "storage.update" | "roles.read" | "roles.create" | "roles.update" | "roles.delete" | "io.read" | "io.create" | "io.delete" | "io.trigger" | "audit.read" | "floor-plans.read" | "floor-plans.create" | "floor-plans.update" | "floor-plans.delete" | "groups.read" | "groups.create" | "groups.update" | "groups.delete" | "detections.read" | "detections.create" | "detections.delete" | "days.read" | "sites.read" | "sites.create" | "sites.update" | "sites.delete" | "analytics.read" | "application" | "workflows.read" | "workflows.create" | "workflows.update" | "workflows.delete" | "notifications.read" | "notifications.update" | "organisation.read" | "organisation.update" | "members.read" | "members.invite" | "members.update" | "members.remove" | "media.read" | "media.update" | "media.export" | "media.share" | "media.redact" | "media.delete" | "media.forward" | "markers.read" | "markers.write" | "markers.all" | "workflow-runs.create" | "workflow-runs.read" | "workflow-runs.update" | "videowalls.read" | "videowalls.create" | "videowalls.update" | "videowalls.delete" | "videowalls.assign";
|
|
39384
39384
|
"models.Account": {
|
|
39385
39385
|
account?: components["schemas"]["models.AccountBody"];
|
|
39386
39386
|
};
|
|
@@ -40052,8 +40052,8 @@ export interface components {
|
|
|
40052
40052
|
"models.ChannelSlackConfig": {
|
|
40053
40053
|
apiKey?: string;
|
|
40054
40054
|
channel?: string;
|
|
40055
|
-
/** @
|
|
40056
|
-
|
|
40055
|
+
/** @enum {string} */
|
|
40056
|
+
deliveryMode?: "webhook" | "bot";
|
|
40057
40057
|
hook?: string;
|
|
40058
40058
|
username?: string;
|
|
40059
40059
|
};
|
|
@@ -41214,6 +41214,8 @@ export interface components {
|
|
|
41214
41214
|
"models.LabelWrapper": {
|
|
41215
41215
|
label?: components["schemas"]["models.Label"];
|
|
41216
41216
|
};
|
|
41217
|
+
/** @enum {string} */
|
|
41218
|
+
"models.Level": "organisation" | "project";
|
|
41217
41219
|
"models.LightSensorMetadata": {
|
|
41218
41220
|
maxLux?: number;
|
|
41219
41221
|
/** @description Measurable range */
|
|
@@ -42006,14 +42008,14 @@ export interface components {
|
|
|
42006
42008
|
videowall?: components["schemas"]["models.Videowall"];
|
|
42007
42009
|
};
|
|
42008
42010
|
/** @enum {string} */
|
|
42009
|
-
"models.Permission": "
|
|
42011
|
+
"models.Permission": "alerts.read" | "alerts.create" | "alerts.update" | "alerts.delete" | "alerts.managePrivacy" | "channels.read" | "channels.create" | "channels.update" | "channels.delete" | "devices.read" | "devices.update" | "devices.delete" | "devices.configure" | "devices.managePermissions" | "live.preview" | "live.stream" | "ptz.zoom" | "ptz.panTilt" | "ptz.control" | "ptz.presets" | "devices.manageSystemTags" | "labels.read" | "labels.create" | "labels.update" | "labels.delete" | "billing.read" | "billing.manage" | "cases.read" | "cases.create" | "cases.update" | "cases.share" | "cases.export" | "cases.runWorkflow" | "cases.delete" | "cases.manageMembership" | "cases.moderateComments" | "project.update" | "project.manageCredentials" | "project.manageAccess" | "projects.create" | "projects.delete" | "projects.manageAccess" | "storage.read" | "storage.update" | "roles.read" | "roles.create" | "roles.update" | "roles.delete" | "io.read" | "io.create" | "io.delete" | "io.trigger" | "audit.read" | "floor-plans.read" | "floor-plans.create" | "floor-plans.update" | "floor-plans.delete" | "groups.read" | "groups.create" | "groups.update" | "groups.delete" | "detections.read" | "detections.create" | "detections.delete" | "days.read" | "sites.read" | "sites.create" | "sites.update" | "sites.delete" | "analytics.read" | "application" | "workflows.read" | "workflows.create" | "workflows.update" | "workflows.delete" | "notifications.read" | "notifications.update" | "organisation.read" | "organisation.update" | "members.read" | "members.invite" | "members.update" | "members.remove" | "media.read" | "media.update" | "media.export" | "media.share" | "media.redact" | "media.delete" | "media.forward" | "markers.read" | "markers.write" | "markers.all" | "workflow-runs.create" | "workflow-runs.read" | "workflow-runs.update" | "videowalls.read" | "videowalls.create" | "videowalls.update" | "videowalls.delete" | "videowalls.assign";
|
|
42010
42012
|
"models.PermissionDefinition": {
|
|
42011
42013
|
/** @description Implies lists the permissions that holding this one also grants, e.g. a
|
|
42012
42014
|
* graded capability implies its lower grades. Implied permissions always
|
|
42013
|
-
* share the same
|
|
42015
|
+
* share the same level. */
|
|
42014
42016
|
implies?: components["schemas"]["models.Permission"][];
|
|
42017
|
+
level?: components["schemas"]["models.Level"];
|
|
42015
42018
|
permission?: components["schemas"]["models.Permission"];
|
|
42016
|
-
scope?: components["schemas"]["models.PermissionScope"];
|
|
42017
42019
|
/** @description TenantWide marks an organisation permission that affects the whole
|
|
42018
42020
|
* organisation (billing, the role catalog, removing members). A role holding
|
|
42019
42021
|
* one can only be assigned to cover all projects; see RoleAssignmentScope. */
|
|
@@ -42021,8 +42023,6 @@ export interface components {
|
|
|
42021
42023
|
};
|
|
42022
42024
|
/** @enum {integer} */
|
|
42023
42025
|
"models.PermissionLevel": 1 | 2 | 3 | 4 | 2 | 3 | 4 | 5 | 2 | 3 | 2 | 2 | 3 | 2 | 3 | 4;
|
|
42024
|
-
/** @enum {string} */
|
|
42025
|
-
"models.PermissionScope": "organisation" | "project";
|
|
42026
42026
|
"models.Permissions": {
|
|
42027
42027
|
featurePermissions?: components["schemas"]["models.FeaturePermissions"];
|
|
42028
42028
|
pages?: string[];
|
|
@@ -42239,9 +42239,14 @@ export interface components {
|
|
|
42239
42239
|
};
|
|
42240
42240
|
"models.RemoveAlertOutput": Record<string, never>;
|
|
42241
42241
|
"models.Role": {
|
|
42242
|
-
assignableAt?: components["schemas"]["models.
|
|
42242
|
+
assignableAt?: components["schemas"]["models.Level"];
|
|
42243
42243
|
audit?: components["schemas"]["models.Audit"];
|
|
42244
42244
|
description?: string;
|
|
42245
|
+
/** @description Grants says whether the role grants every permission (all; the Owner
|
|
42246
|
+
* role only, with no Permissions) or exactly the listed Permissions
|
|
42247
|
+
* (selected; an empty list grants nothing). It is required: the zero value
|
|
42248
|
+
* is invalid, so an empty list never means "everything". */
|
|
42249
|
+
grants?: components["schemas"]["models.Selection"];
|
|
42245
42250
|
id?: string;
|
|
42246
42251
|
isActive?: boolean;
|
|
42247
42252
|
/** @description System and legacy roles only; unique per organisation */
|
|
@@ -42251,9 +42256,9 @@ export interface components {
|
|
|
42251
42256
|
/** @description Organisation this role belongs to */
|
|
42252
42257
|
organisationId?: string;
|
|
42253
42258
|
origin?: components["schemas"]["models.RoleOrigin"];
|
|
42254
|
-
/** @description Permissions is the canonical set of grants carried by
|
|
42255
|
-
* the AssignableAt level. Implied permissions (see
|
|
42256
|
-
* not stored. */
|
|
42259
|
+
/** @description Permissions is the canonical set of grants carried by a Grants=selected
|
|
42260
|
+
* role, all of the AssignableAt level. Implied permissions (see
|
|
42261
|
+
* ExpandPermissions) are not stored. */
|
|
42257
42262
|
permissions?: components["schemas"]["models.Permission"][];
|
|
42258
42263
|
};
|
|
42259
42264
|
"models.RoleAssignment": {
|
|
@@ -42280,14 +42285,14 @@ export interface components {
|
|
|
42280
42285
|
deviceIds?: string[];
|
|
42281
42286
|
/** @description Resources=selected only */
|
|
42282
42287
|
groupIds?: string[];
|
|
42283
|
-
level?: components["schemas"]["models.
|
|
42288
|
+
level?: components["schemas"]["models.Level"];
|
|
42284
42289
|
/** @description Level=project only. */
|
|
42285
42290
|
projectId?: string;
|
|
42286
42291
|
/** @description Projects=selected only; at least one */
|
|
42287
42292
|
projectIds?: string[];
|
|
42288
42293
|
/** @description Level=organisation only. */
|
|
42289
|
-
projects?: components["schemas"]["models.
|
|
42290
|
-
resources?: components["schemas"]["models.
|
|
42294
|
+
projects?: components["schemas"]["models.Selection"];
|
|
42295
|
+
resources?: components["schemas"]["models.Selection"];
|
|
42291
42296
|
/** @description Resources=selected only */
|
|
42292
42297
|
siteIds?: string[];
|
|
42293
42298
|
};
|
|
@@ -42308,7 +42313,7 @@ export interface components {
|
|
|
42308
42313
|
turnUsername?: string;
|
|
42309
42314
|
};
|
|
42310
42315
|
/** @enum {string} */
|
|
42311
|
-
"models.
|
|
42316
|
+
"models.Selection": "all" | "selected";
|
|
42312
42317
|
"models.Sequence": {
|
|
42313
42318
|
analysis?: {
|
|
42314
42319
|
[key: string]: unknown;
|
|
@@ -42401,6 +42406,8 @@ export interface components {
|
|
|
42401
42406
|
"models.Slack": {
|
|
42402
42407
|
apikey?: string;
|
|
42403
42408
|
channel?: string;
|
|
42409
|
+
/** @enum {string} */
|
|
42410
|
+
deliveryMode?: "webhook" | "bot";
|
|
42404
42411
|
enabled?: boolean;
|
|
42405
42412
|
hook?: string;
|
|
42406
42413
|
username?: string;
|