@uug-ai/models 1.7.86 → 1.7.88
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 +292 -68
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -20634,6 +20634,45 @@ export interface paths {
|
|
|
20634
20634
|
patch?: never;
|
|
20635
20635
|
trace?: never;
|
|
20636
20636
|
};
|
|
20637
|
+
"/internal/invitationassignment": {
|
|
20638
|
+
parameters: {
|
|
20639
|
+
query?: never;
|
|
20640
|
+
header?: never;
|
|
20641
|
+
path?: never;
|
|
20642
|
+
cookie?: never;
|
|
20643
|
+
};
|
|
20644
|
+
/**
|
|
20645
|
+
* Get InvitationAssignment (schema generation only)
|
|
20646
|
+
* @description Internal endpoint used only to ensure InvitationAssignment schema is generated in OpenAPI spec
|
|
20647
|
+
*/
|
|
20648
|
+
get: {
|
|
20649
|
+
parameters: {
|
|
20650
|
+
query?: never;
|
|
20651
|
+
header?: never;
|
|
20652
|
+
path?: never;
|
|
20653
|
+
cookie?: never;
|
|
20654
|
+
};
|
|
20655
|
+
requestBody?: never;
|
|
20656
|
+
responses: {
|
|
20657
|
+
/** @description OK */
|
|
20658
|
+
200: {
|
|
20659
|
+
headers: {
|
|
20660
|
+
[name: string]: unknown;
|
|
20661
|
+
};
|
|
20662
|
+
content: {
|
|
20663
|
+
"application/json": components["schemas"]["models.InvitationAssignment"];
|
|
20664
|
+
};
|
|
20665
|
+
};
|
|
20666
|
+
};
|
|
20667
|
+
};
|
|
20668
|
+
put?: never;
|
|
20669
|
+
post?: never;
|
|
20670
|
+
delete?: never;
|
|
20671
|
+
options?: never;
|
|
20672
|
+
head?: never;
|
|
20673
|
+
patch?: never;
|
|
20674
|
+
trace?: never;
|
|
20675
|
+
};
|
|
20637
20676
|
"/internal/io": {
|
|
20638
20677
|
parameters: {
|
|
20639
20678
|
query?: never;
|
|
@@ -23520,6 +23559,45 @@ export interface paths {
|
|
|
23520
23559
|
patch?: never;
|
|
23521
23560
|
trace?: never;
|
|
23522
23561
|
};
|
|
23562
|
+
"/internal/permissiondefinition": {
|
|
23563
|
+
parameters: {
|
|
23564
|
+
query?: never;
|
|
23565
|
+
header?: never;
|
|
23566
|
+
path?: never;
|
|
23567
|
+
cookie?: never;
|
|
23568
|
+
};
|
|
23569
|
+
/**
|
|
23570
|
+
* Get PermissionDefinition (schema generation only)
|
|
23571
|
+
* @description Internal endpoint used only to ensure PermissionDefinition schema is generated in OpenAPI spec
|
|
23572
|
+
*/
|
|
23573
|
+
get: {
|
|
23574
|
+
parameters: {
|
|
23575
|
+
query?: never;
|
|
23576
|
+
header?: never;
|
|
23577
|
+
path?: never;
|
|
23578
|
+
cookie?: never;
|
|
23579
|
+
};
|
|
23580
|
+
requestBody?: never;
|
|
23581
|
+
responses: {
|
|
23582
|
+
/** @description OK */
|
|
23583
|
+
200: {
|
|
23584
|
+
headers: {
|
|
23585
|
+
[name: string]: unknown;
|
|
23586
|
+
};
|
|
23587
|
+
content: {
|
|
23588
|
+
"application/json": components["schemas"]["models.PermissionDefinition"];
|
|
23589
|
+
};
|
|
23590
|
+
};
|
|
23591
|
+
};
|
|
23592
|
+
};
|
|
23593
|
+
put?: never;
|
|
23594
|
+
post?: never;
|
|
23595
|
+
delete?: never;
|
|
23596
|
+
options?: never;
|
|
23597
|
+
head?: never;
|
|
23598
|
+
patch?: never;
|
|
23599
|
+
trace?: never;
|
|
23600
|
+
};
|
|
23523
23601
|
"/internal/permissions": {
|
|
23524
23602
|
parameters: {
|
|
23525
23603
|
query?: never;
|
|
@@ -23988,6 +24066,45 @@ export interface paths {
|
|
|
23988
24066
|
patch?: never;
|
|
23989
24067
|
trace?: never;
|
|
23990
24068
|
};
|
|
24069
|
+
"/internal/principal": {
|
|
24070
|
+
parameters: {
|
|
24071
|
+
query?: never;
|
|
24072
|
+
header?: never;
|
|
24073
|
+
path?: never;
|
|
24074
|
+
cookie?: never;
|
|
24075
|
+
};
|
|
24076
|
+
/**
|
|
24077
|
+
* Get Principal (schema generation only)
|
|
24078
|
+
* @description Internal endpoint used only to ensure Principal schema is generated in OpenAPI spec
|
|
24079
|
+
*/
|
|
24080
|
+
get: {
|
|
24081
|
+
parameters: {
|
|
24082
|
+
query?: never;
|
|
24083
|
+
header?: never;
|
|
24084
|
+
path?: never;
|
|
24085
|
+
cookie?: never;
|
|
24086
|
+
};
|
|
24087
|
+
requestBody?: never;
|
|
24088
|
+
responses: {
|
|
24089
|
+
/** @description OK */
|
|
24090
|
+
200: {
|
|
24091
|
+
headers: {
|
|
24092
|
+
[name: string]: unknown;
|
|
24093
|
+
};
|
|
24094
|
+
content: {
|
|
24095
|
+
"application/json": components["schemas"]["models.Principal"];
|
|
24096
|
+
};
|
|
24097
|
+
};
|
|
24098
|
+
};
|
|
24099
|
+
};
|
|
24100
|
+
put?: never;
|
|
24101
|
+
post?: never;
|
|
24102
|
+
delete?: never;
|
|
24103
|
+
options?: never;
|
|
24104
|
+
head?: never;
|
|
24105
|
+
patch?: never;
|
|
24106
|
+
trace?: never;
|
|
24107
|
+
};
|
|
23991
24108
|
"/internal/processingartifactmetadata": {
|
|
23992
24109
|
parameters: {
|
|
23993
24110
|
query?: never;
|
|
@@ -25353,6 +25470,45 @@ export interface paths {
|
|
|
25353
25470
|
patch?: never;
|
|
25354
25471
|
trace?: never;
|
|
25355
25472
|
};
|
|
25473
|
+
"/internal/roleorigin": {
|
|
25474
|
+
parameters: {
|
|
25475
|
+
query?: never;
|
|
25476
|
+
header?: never;
|
|
25477
|
+
path?: never;
|
|
25478
|
+
cookie?: never;
|
|
25479
|
+
};
|
|
25480
|
+
/**
|
|
25481
|
+
* Get RoleOrigin (schema generation only)
|
|
25482
|
+
* @description Internal endpoint used only to ensure RoleOrigin schema is generated in OpenAPI spec
|
|
25483
|
+
*/
|
|
25484
|
+
get: {
|
|
25485
|
+
parameters: {
|
|
25486
|
+
query?: never;
|
|
25487
|
+
header?: never;
|
|
25488
|
+
path?: never;
|
|
25489
|
+
cookie?: never;
|
|
25490
|
+
};
|
|
25491
|
+
requestBody?: never;
|
|
25492
|
+
responses: {
|
|
25493
|
+
/** @description OK */
|
|
25494
|
+
200: {
|
|
25495
|
+
headers: {
|
|
25496
|
+
[name: string]: unknown;
|
|
25497
|
+
};
|
|
25498
|
+
content: {
|
|
25499
|
+
"application/json": components["schemas"]["models.RoleOrigin"];
|
|
25500
|
+
};
|
|
25501
|
+
};
|
|
25502
|
+
};
|
|
25503
|
+
};
|
|
25504
|
+
put?: never;
|
|
25505
|
+
post?: never;
|
|
25506
|
+
delete?: never;
|
|
25507
|
+
options?: never;
|
|
25508
|
+
head?: never;
|
|
25509
|
+
patch?: never;
|
|
25510
|
+
trace?: never;
|
|
25511
|
+
};
|
|
25356
25512
|
"/internal/rotateaccesstokenerrorresponse": {
|
|
25357
25513
|
parameters: {
|
|
25358
25514
|
query?: never;
|
|
@@ -28434,6 +28590,45 @@ export interface paths {
|
|
|
28434
28590
|
patch?: never;
|
|
28435
28591
|
trace?: never;
|
|
28436
28592
|
};
|
|
28593
|
+
"/internal/timewindowrange": {
|
|
28594
|
+
parameters: {
|
|
28595
|
+
query?: never;
|
|
28596
|
+
header?: never;
|
|
28597
|
+
path?: never;
|
|
28598
|
+
cookie?: never;
|
|
28599
|
+
};
|
|
28600
|
+
/**
|
|
28601
|
+
* Get TimeWindowRange (schema generation only)
|
|
28602
|
+
* @description Internal endpoint used only to ensure TimeWindowRange schema is generated in OpenAPI spec
|
|
28603
|
+
*/
|
|
28604
|
+
get: {
|
|
28605
|
+
parameters: {
|
|
28606
|
+
query?: never;
|
|
28607
|
+
header?: never;
|
|
28608
|
+
path?: never;
|
|
28609
|
+
cookie?: never;
|
|
28610
|
+
};
|
|
28611
|
+
requestBody?: never;
|
|
28612
|
+
responses: {
|
|
28613
|
+
/** @description OK */
|
|
28614
|
+
200: {
|
|
28615
|
+
headers: {
|
|
28616
|
+
[name: string]: unknown;
|
|
28617
|
+
};
|
|
28618
|
+
content: {
|
|
28619
|
+
"application/json": components["schemas"]["models.TimeWindowRange"];
|
|
28620
|
+
};
|
|
28621
|
+
};
|
|
28622
|
+
};
|
|
28623
|
+
};
|
|
28624
|
+
put?: never;
|
|
28625
|
+
post?: never;
|
|
28626
|
+
delete?: never;
|
|
28627
|
+
options?: never;
|
|
28628
|
+
head?: never;
|
|
28629
|
+
patch?: never;
|
|
28630
|
+
trace?: never;
|
|
28631
|
+
};
|
|
28437
28632
|
"/internal/traceresponse": {
|
|
28438
28633
|
parameters: {
|
|
28439
28634
|
query?: never;
|
|
@@ -39185,7 +39380,7 @@ export interface components {
|
|
|
39185
39380
|
userId?: string;
|
|
39186
39381
|
};
|
|
39187
39382
|
/** @enum {string} */
|
|
39188
|
-
"models.AccessTokenScope": "media.read" | "media.update" | "media.export" | "media.share" | "media.redact" | "media.delete" | "channels.read" | "channels.create" | "channels.update" | "channels.delete" | "
|
|
39383
|
+
"models.AccessTokenScope": "application" | "media.read" | "media.update" | "media.export" | "media.share" | "media.redact" | "media.delete" | "media.forward" | "sites.read" | "sites.create" | "sites.update" | "sites.delete" | "analytics.read" | "devices.read" | "devices.update" | "devices.delete" | "devices.config" | "devices.managePermissions" | "live.preview" | "live.stream" | "ptz.zoom" | "ptz.panTilt" | "ptz.control" | "ptz.presets" | "devices.manageSystemTags" | "project.update" | "project.manageCredentials" | "project.manageAccess" | "projects.create" | "projects.delete" | "projects.manageAccess" | "roles.read" | "roles.create" | "roles.update" | "roles.delete" | "notifications.read" | "notifications.update" | "groups.read" | "groups.create" | "groups.update" | "groups.delete" | "billing.read" | "billing.manage" | "channels.read" | "channels.create" | "channels.update" | "channels.delete" | "audit.read" | "labels.read" | "labels.create" | "labels.update" | "labels.delete" | "storage.read" | "storage.update" | "detections.read" | "detections.create" | "detections.delete" | "workflows.read" | "workflows.create" | "workflows.update" | "workflows.delete" | "floorPlans.read" | "floorPlans.create" | "floorPlans.update" | "floorPlans.delete" | "workflow-runs.create" | "workflow-runs.read" | "workflow-runs.update" | "days.read" | "organisation.read" | "organisation.update" | "members.read" | "members.invite" | "members.update" | "members.remove" | "alerts.read" | "alerts.create" | "alerts.update" | "alerts.delete" | "alerts.managePrivacy" | "videowalls.read" | "videowalls.create" | "videowalls.update" | "videowalls.delete" | "videowalls.assign" | "cases.read" | "cases.create" | "cases.update" | "cases.share" | "cases.export" | "cases.runWorkflow" | "cases.delete" | "cases.manageMembership" | "cases.moderateComments" | "markers.read" | "markers.write" | "markers.all" | "io.read" | "io.create" | "io.delete" | "io.trigger";
|
|
39189
39384
|
"models.Account": {
|
|
39190
39385
|
account?: components["schemas"]["models.AccountBody"];
|
|
39191
39386
|
};
|
|
@@ -39417,6 +39612,8 @@ export interface components {
|
|
|
39417
39612
|
totalRegionDurationSeconds?: number;
|
|
39418
39613
|
totalRegions?: number;
|
|
39419
39614
|
};
|
|
39615
|
+
/** @enum {string} */
|
|
39616
|
+
"models.AssignmentSource": "manual" | "invitation" | "migration";
|
|
39420
39617
|
"models.Audit": {
|
|
39421
39618
|
createdAt?: string;
|
|
39422
39619
|
createdBy?: string;
|
|
@@ -39502,7 +39699,7 @@ export interface components {
|
|
|
39502
39699
|
userAgent?: string;
|
|
39503
39700
|
};
|
|
39504
39701
|
/** @enum {string} */
|
|
39505
|
-
"models.BaseRole": "guest" | "editor" | "admin" | "owner"
|
|
39702
|
+
"models.BaseRole": "guest" | "editor" | "admin" | "owner";
|
|
39506
39703
|
"models.CameraMetadata": {
|
|
39507
39704
|
/** @description kbps */
|
|
39508
39705
|
bitrate?: number;
|
|
@@ -40986,6 +41183,12 @@ export interface components {
|
|
|
40986
41183
|
token?: string;
|
|
40987
41184
|
valid?: boolean;
|
|
40988
41185
|
};
|
|
41186
|
+
"models.InvitationAssignment": {
|
|
41187
|
+
expiresAt?: string;
|
|
41188
|
+
roleId?: string;
|
|
41189
|
+
scope?: components["schemas"]["models.RoleAssignmentScope"];
|
|
41190
|
+
timeWindow?: components["schemas"]["models.TimeWindow"];
|
|
41191
|
+
};
|
|
40989
41192
|
/** @enum {string} */
|
|
40990
41193
|
"models.InvitationStatus": "pending" | "accepted" | "expired" | "revoked";
|
|
40991
41194
|
"models.KeyPair": {
|
|
@@ -41692,7 +41895,10 @@ export interface components {
|
|
|
41692
41895
|
id?: string;
|
|
41693
41896
|
isActive?: boolean;
|
|
41694
41897
|
name?: string;
|
|
41695
|
-
/** @description
|
|
41898
|
+
/** @description OwnerId is the primary owner: the accountable contact for billing and
|
|
41899
|
+
* the contract. Ownership itself is the Owner role (RoleKeyOwner), which
|
|
41900
|
+
* several members can hold; the primary owner must always hold it.
|
|
41901
|
+
* Changing the primary owner moves this field to another current owner. */
|
|
41696
41902
|
ownerId?: string;
|
|
41697
41903
|
settings?: components["schemas"]["models.OrganisationSettings"];
|
|
41698
41904
|
/** @description Slug is a stable, URL-friendly handle for the organisation (e.g. "acme-corp").
|
|
@@ -41709,21 +41915,21 @@ export interface components {
|
|
|
41709
41915
|
organisationId?: string;
|
|
41710
41916
|
};
|
|
41711
41917
|
"models.OrganisationInvitation": {
|
|
41918
|
+
/** @description Assignments are created together with the membership when the
|
|
41919
|
+
* invitation is accepted, each as a RoleAssignment for the invitee with
|
|
41920
|
+
* source invitation. They are checked against the inviter's own access
|
|
41921
|
+
* when the invitation is created. An invitation without assignments only
|
|
41922
|
+
* creates the membership. */
|
|
41923
|
+
assignments?: components["schemas"]["models.InvitationAssignment"][];
|
|
41712
41924
|
audit?: components["schemas"]["models.Audit"];
|
|
41713
41925
|
email?: string;
|
|
41714
41926
|
expiresAt?: string;
|
|
41715
41927
|
id?: string;
|
|
41716
41928
|
invitedBy?: string;
|
|
41717
41929
|
organisationId?: string;
|
|
41718
|
-
/** @description Roles to assign upon acceptance */
|
|
41719
|
-
roleIds?: string[];
|
|
41720
|
-
/** @description Scope is the granular scope applied to every role in RoleIds when the
|
|
41721
|
-
* invitation is accepted, i.e. it seeds the Scope of each resulting
|
|
41722
|
-
* RoleAssignment. Following the RoleAssignmentScope convention, a zero value
|
|
41723
|
-
* grants the roles organisation-wide; populate a dimension to restrict the
|
|
41724
|
-
* resulting assignments to specific resources (see RoleAssignmentScope). */
|
|
41725
|
-
scope?: components["schemas"]["models.RoleAssignmentScope"];
|
|
41726
41930
|
status?: components["schemas"]["models.InvitationStatus"];
|
|
41931
|
+
/** @description Token is returned once when the invitation is created and never stored;
|
|
41932
|
+
* TokenHash (see HashInvitationToken) is what lookups match on. */
|
|
41727
41933
|
token?: string;
|
|
41728
41934
|
};
|
|
41729
41935
|
"models.OrganisationMember": {
|
|
@@ -41741,8 +41947,6 @@ export interface components {
|
|
|
41741
41947
|
allowedDomains?: string[];
|
|
41742
41948
|
/** @description ISO 4217 currency code, e.g. "EUR" */
|
|
41743
41949
|
currency?: string;
|
|
41744
|
-
/** @description Default role for new members */
|
|
41745
|
-
defaultRoleId?: string;
|
|
41746
41950
|
/** @description Contacts for different purposes */
|
|
41747
41951
|
financialContact?: components["schemas"]["models.Contact"];
|
|
41748
41952
|
forceMFA?: boolean;
|
|
@@ -41802,9 +42006,23 @@ export interface components {
|
|
|
41802
42006
|
videowall?: components["schemas"]["models.Videowall"];
|
|
41803
42007
|
};
|
|
41804
42008
|
/** @enum {string} */
|
|
41805
|
-
"models.Permission": "media.read" | "media.update" | "media.export" | "media.share" | "media.redact" | "media.delete" | "channels.read" | "channels.create" | "channels.update" | "channels.delete" | "
|
|
42009
|
+
"models.Permission": "application" | "media.read" | "media.update" | "media.export" | "media.share" | "media.redact" | "media.delete" | "media.forward" | "sites.read" | "sites.create" | "sites.update" | "sites.delete" | "analytics.read" | "devices.read" | "devices.update" | "devices.delete" | "devices.config" | "devices.managePermissions" | "live.preview" | "live.stream" | "ptz.zoom" | "ptz.panTilt" | "ptz.control" | "ptz.presets" | "devices.manageSystemTags" | "project.update" | "project.manageCredentials" | "project.manageAccess" | "projects.create" | "projects.delete" | "projects.manageAccess" | "roles.read" | "roles.create" | "roles.update" | "roles.delete" | "notifications.read" | "notifications.update" | "groups.read" | "groups.create" | "groups.update" | "groups.delete" | "billing.read" | "billing.manage" | "channels.read" | "channels.create" | "channels.update" | "channels.delete" | "audit.read" | "labels.read" | "labels.create" | "labels.update" | "labels.delete" | "storage.read" | "storage.update" | "detections.read" | "detections.create" | "detections.delete" | "workflows.read" | "workflows.create" | "workflows.update" | "workflows.delete" | "floorPlans.read" | "floorPlans.create" | "floorPlans.update" | "floorPlans.delete" | "workflow-runs.create" | "workflow-runs.read" | "workflow-runs.update" | "days.read" | "organisation.read" | "organisation.update" | "members.read" | "members.invite" | "members.update" | "members.remove" | "alerts.read" | "alerts.create" | "alerts.update" | "alerts.delete" | "alerts.managePrivacy" | "videowalls.read" | "videowalls.create" | "videowalls.update" | "videowalls.delete" | "videowalls.assign" | "cases.read" | "cases.create" | "cases.update" | "cases.share" | "cases.export" | "cases.runWorkflow" | "cases.delete" | "cases.manageMembership" | "cases.moderateComments" | "markers.read" | "markers.write" | "markers.all" | "io.read" | "io.create" | "io.delete" | "io.trigger";
|
|
42010
|
+
"models.PermissionDefinition": {
|
|
42011
|
+
/** @description Implies lists the permissions that holding this one also grants, e.g. a
|
|
42012
|
+
* graded capability implies its lower grades. Implied permissions always
|
|
42013
|
+
* share the same scope. */
|
|
42014
|
+
implies?: components["schemas"]["models.Permission"][];
|
|
42015
|
+
permission?: components["schemas"]["models.Permission"];
|
|
42016
|
+
scope?: components["schemas"]["models.PermissionScope"];
|
|
42017
|
+
/** @description TenantWide marks an organisation permission that affects the whole
|
|
42018
|
+
* organisation (billing, the role catalog, removing members). A role holding
|
|
42019
|
+
* one can only be assigned to cover all projects; see RoleAssignmentScope. */
|
|
42020
|
+
tenantWide?: boolean;
|
|
42021
|
+
};
|
|
41806
42022
|
/** @enum {integer} */
|
|
41807
42023
|
"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";
|
|
41808
42026
|
"models.Permissions": {
|
|
41809
42027
|
featurePermissions?: components["schemas"]["models.FeaturePermissions"];
|
|
41810
42028
|
pages?: string[];
|
|
@@ -41908,6 +42126,12 @@ export interface components {
|
|
|
41908
42126
|
x?: number;
|
|
41909
42127
|
y?: number;
|
|
41910
42128
|
};
|
|
42129
|
+
"models.Principal": {
|
|
42130
|
+
id?: string;
|
|
42131
|
+
type?: components["schemas"]["models.PrincipalType"];
|
|
42132
|
+
};
|
|
42133
|
+
/** @enum {string} */
|
|
42134
|
+
"models.PrincipalType": "user";
|
|
41911
42135
|
"models.ProcessingArtifactMetadata": {
|
|
41912
42136
|
columns?: number;
|
|
41913
42137
|
count?: number;
|
|
@@ -42015,32 +42239,22 @@ export interface components {
|
|
|
42015
42239
|
};
|
|
42016
42240
|
"models.RemoveAlertOutput": Record<string, never>;
|
|
42017
42241
|
"models.Role": {
|
|
42242
|
+
assignableAt?: components["schemas"]["models.PermissionScope"];
|
|
42018
42243
|
audit?: components["schemas"]["models.Audit"];
|
|
42019
42244
|
description?: string;
|
|
42020
|
-
featurePermissions?: components["schemas"]["models.FeaturePermissions"];
|
|
42021
42245
|
id?: string;
|
|
42022
42246
|
isActive?: boolean;
|
|
42247
|
+
/** @description System and legacy roles only; unique per organisation */
|
|
42248
|
+
key?: components["schemas"]["models.RoleKey"];
|
|
42249
|
+
kind?: components["schemas"]["models.RoleKind"];
|
|
42250
|
+
name?: string;
|
|
42023
42251
|
/** @description Organisation this role belongs to */
|
|
42024
42252
|
organisationId?: string;
|
|
42025
|
-
|
|
42026
|
-
|
|
42027
|
-
*
|
|
42028
|
-
*
|
|
42029
|
-
* is intentional - visibility and capability are decided independently, and
|
|
42030
|
-
* the consuming service resolves them together (page hidden => not shown;
|
|
42031
|
-
* feature level => what may be done once on the page). */
|
|
42032
|
-
pages?: string[];
|
|
42033
|
-
/** @description Permissions is the canonical set of domain.action grants carried by this
|
|
42034
|
-
* role. FeaturePermissions remains available during legacy migration. */
|
|
42253
|
+
origin?: components["schemas"]["models.RoleOrigin"];
|
|
42254
|
+
/** @description Permissions is the canonical set of grants carried by this role, all of
|
|
42255
|
+
* the AssignableAt level. Implied permissions (see ExpandPermissions) are
|
|
42256
|
+
* not stored. */
|
|
42035
42257
|
permissions?: components["schemas"]["models.Permission"][];
|
|
42036
|
-
/** @description ParentRole is the built-in BaseRole tier this custom role extends. It is a
|
|
42037
|
-
* live tier identifier (NOT an ObjectID reference to another Role document):
|
|
42038
|
-
* it sets the effective tier/RoleLevel for coarse gating and bounds which
|
|
42039
|
-
* pages the role may grant. See BaseRole. */
|
|
42040
|
-
role?: components["schemas"]["models.BaseRole"];
|
|
42041
|
-
roleName?: string;
|
|
42042
|
-
timeWindow?: components["schemas"]["models.TimeWindow"];
|
|
42043
|
-
timeWindowActive?: boolean;
|
|
42044
42258
|
};
|
|
42045
42259
|
"models.RoleAssignment": {
|
|
42046
42260
|
audit?: components["schemas"]["models.Audit"];
|
|
@@ -42053,28 +42267,48 @@ export interface components {
|
|
|
42053
42267
|
isActive?: boolean;
|
|
42054
42268
|
/** @description Organisation context for this assignment */
|
|
42055
42269
|
organisationId?: string;
|
|
42056
|
-
|
|
42270
|
+
principal?: components["schemas"]["models.Principal"];
|
|
42271
|
+
/** @description Reference to the organisation's Role */
|
|
42057
42272
|
roleId?: string;
|
|
42058
|
-
/** @description Optional granular scope within organisation */
|
|
42059
42273
|
scope?: components["schemas"]["models.RoleAssignmentScope"];
|
|
42060
|
-
|
|
42274
|
+
source?: components["schemas"]["models.AssignmentSource"];
|
|
42275
|
+
/** @description TimeWindow optionally limits when the assignment is in force. */
|
|
42276
|
+
timeWindow?: components["schemas"]["models.TimeWindow"];
|
|
42061
42277
|
};
|
|
42062
42278
|
"models.RoleAssignmentScope": {
|
|
42063
|
-
/** @description
|
|
42279
|
+
/** @description Resources=selected only */
|
|
42064
42280
|
deviceIds?: string[];
|
|
42065
|
-
/** @description
|
|
42281
|
+
/** @description Resources=selected only */
|
|
42066
42282
|
groupIds?: string[];
|
|
42067
|
-
|
|
42283
|
+
level?: components["schemas"]["models.PermissionScope"];
|
|
42284
|
+
/** @description Level=project only. */
|
|
42285
|
+
projectId?: string;
|
|
42286
|
+
/** @description Projects=selected only; at least one */
|
|
42068
42287
|
projectIds?: string[];
|
|
42069
|
-
/** @description
|
|
42288
|
+
/** @description Level=organisation only. */
|
|
42289
|
+
projects?: components["schemas"]["models.ScopeSelection"];
|
|
42290
|
+
resources?: components["schemas"]["models.ScopeSelection"];
|
|
42291
|
+
/** @description Resources=selected only */
|
|
42070
42292
|
siteIds?: string[];
|
|
42071
42293
|
};
|
|
42294
|
+
/** @enum {string} */
|
|
42295
|
+
"models.RoleKey": "owner" | "organisation-manager" | "billing-admin" | "project-admin" | "editor" | "viewer" | "legacy-guest" | "legacy-editor" | "legacy-admin" | "legacy-admin-organisation";
|
|
42296
|
+
/** @enum {string} */
|
|
42297
|
+
"models.RoleKind": "system" | "legacy" | "custom";
|
|
42298
|
+
"models.RoleOrigin": {
|
|
42299
|
+
/** @description Legacy tier the role reproduces or extended */
|
|
42300
|
+
baseRole?: components["schemas"]["models.BaseRole"];
|
|
42301
|
+
/** @description Legacy custom role it was copied from */
|
|
42302
|
+
legacyRoleId?: string;
|
|
42303
|
+
};
|
|
42072
42304
|
"models.RuntimeConfig": {
|
|
42073
42305
|
mqttPassword?: string;
|
|
42074
42306
|
mqttUsername?: string;
|
|
42075
42307
|
turnPassword?: string;
|
|
42076
42308
|
turnUsername?: string;
|
|
42077
42309
|
};
|
|
42310
|
+
/** @enum {string} */
|
|
42311
|
+
"models.ScopeSelection": "all" | "selected";
|
|
42078
42312
|
"models.Sequence": {
|
|
42079
42313
|
analysis?: {
|
|
42080
42314
|
[key: string]: unknown;
|
|
@@ -42623,34 +42857,17 @@ export interface components {
|
|
|
42623
42857
|
value?: number;
|
|
42624
42858
|
};
|
|
42625
42859
|
"models.TimeWindow": {
|
|
42626
|
-
|
|
42627
|
-
|
|
42628
|
-
|
|
42629
|
-
|
|
42630
|
-
|
|
42631
|
-
|
|
42632
|
-
|
|
42633
|
-
|
|
42634
|
-
|
|
42635
|
-
|
|
42636
|
-
|
|
42637
|
-
timeRange1MinThursday?: number;
|
|
42638
|
-
timeRange1MinTuesday?: number;
|
|
42639
|
-
timeRange1MinWednesday?: number;
|
|
42640
|
-
timeRange2MaxFriday?: number;
|
|
42641
|
-
timeRange2MaxMonday?: number;
|
|
42642
|
-
timeRange2MaxSaturday?: number;
|
|
42643
|
-
timeRange2MaxSunday?: number;
|
|
42644
|
-
timeRange2MaxThursday?: number;
|
|
42645
|
-
timeRange2MaxTuesday?: number;
|
|
42646
|
-
timeRange2MaxWednesday?: number;
|
|
42647
|
-
timeRange2MinFriday?: number;
|
|
42648
|
-
timeRange2MinMonday?: number;
|
|
42649
|
-
timeRange2MinSaturday?: number;
|
|
42650
|
-
timeRange2MinSunday?: number;
|
|
42651
|
-
timeRange2MinThursday?: number;
|
|
42652
|
-
timeRange2MinTuesday?: number;
|
|
42653
|
-
timeRange2MinWednesday?: number;
|
|
42860
|
+
/** @description In force when any range matches */
|
|
42861
|
+
ranges?: components["schemas"]["models.TimeWindowRange"][];
|
|
42862
|
+
/** @description IANA timezone, e.g. "Europe/Brussels" */
|
|
42863
|
+
timezone?: string;
|
|
42864
|
+
};
|
|
42865
|
+
"models.TimeWindowRange": {
|
|
42866
|
+
days?: components["schemas"]["models.Weekday"][];
|
|
42867
|
+
/** @description 1-1440 */
|
|
42868
|
+
endMinute?: number;
|
|
42869
|
+
/** @description 0-1439 */
|
|
42870
|
+
startMinute?: number;
|
|
42654
42871
|
};
|
|
42655
42872
|
"models.Timeline": {
|
|
42656
42873
|
device?: components["schemas"]["models.Device"];
|
|
@@ -43043,6 +43260,8 @@ export interface components {
|
|
|
43043
43260
|
url?: string;
|
|
43044
43261
|
valid?: boolean;
|
|
43045
43262
|
};
|
|
43263
|
+
/** @enum {string} */
|
|
43264
|
+
"models.Weekday": "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
|
|
43046
43265
|
"models.WeeklySchedule": {
|
|
43047
43266
|
day?: number;
|
|
43048
43267
|
enabled?: boolean;
|
|
@@ -43998,6 +44217,7 @@ export declare namespace models {
|
|
|
43998
44217
|
type HumiditySensorMetadata = components['schemas']['models.HumiditySensorMetadata'];
|
|
43999
44218
|
type IO = components['schemas']['models.IO'];
|
|
44000
44219
|
type Ifttt = components['schemas']['models.Ifttt'];
|
|
44220
|
+
type InvitationAssignment = components['schemas']['models.InvitationAssignment'];
|
|
44001
44221
|
type KeyPair = components['schemas']['models.KeyPair'];
|
|
44002
44222
|
type Label = components['schemas']['models.Label'];
|
|
44003
44223
|
type LabelWrapper = components['schemas']['models.LabelWrapper'];
|
|
@@ -44049,6 +44269,7 @@ export declare namespace models {
|
|
|
44049
44269
|
type OrganisationUserDetails = components['schemas']['models.OrganisationUserDetails'];
|
|
44050
44270
|
type PatchVideowallInput = components['schemas']['models.PatchVideowallInput'];
|
|
44051
44271
|
type PatchVideowallOutput = components['schemas']['models.PatchVideowallOutput'];
|
|
44272
|
+
type PermissionDefinition = components['schemas']['models.PermissionDefinition'];
|
|
44052
44273
|
type Permissions = components['schemas']['models.Permissions'];
|
|
44053
44274
|
type PipelineEvent = components['schemas']['models.PipelineEvent'];
|
|
44054
44275
|
type PipelineMetadata = components['schemas']['models.PipelineMetadata'];
|
|
@@ -44057,6 +44278,7 @@ export declare namespace models {
|
|
|
44057
44278
|
type PipelineSourceDevice = components['schemas']['models.PipelineSourceDevice'];
|
|
44058
44279
|
type Plan = components['schemas']['models.Plan'];
|
|
44059
44280
|
type Point = components['schemas']['models.Point'];
|
|
44281
|
+
type Principal = components['schemas']['models.Principal'];
|
|
44060
44282
|
type ProcessingArtifactMetadata = components['schemas']['models.ProcessingArtifactMetadata'];
|
|
44061
44283
|
type ProcessingCompletion = components['schemas']['models.ProcessingCompletion'];
|
|
44062
44284
|
type ProcessingCompletionTarget = components['schemas']['models.ProcessingCompletionTarget'];
|
|
@@ -44075,6 +44297,7 @@ export declare namespace models {
|
|
|
44075
44297
|
type Role = components['schemas']['models.Role'];
|
|
44076
44298
|
type RoleAssignment = components['schemas']['models.RoleAssignment'];
|
|
44077
44299
|
type RoleAssignmentScope = components['schemas']['models.RoleAssignmentScope'];
|
|
44300
|
+
type RoleOrigin = components['schemas']['models.RoleOrigin'];
|
|
44078
44301
|
type RuntimeConfig = components['schemas']['models.RuntimeConfig'];
|
|
44079
44302
|
type Sequence = components['schemas']['models.Sequence'];
|
|
44080
44303
|
type SequenceStage = components['schemas']['models.SequenceStage'];
|
|
@@ -44113,6 +44336,7 @@ export declare namespace models {
|
|
|
44113
44336
|
type TimeSeriesChart = components['schemas']['models.TimeSeriesChart'];
|
|
44114
44337
|
type TimeSeriesDataPoint = components['schemas']['models.TimeSeriesDataPoint'];
|
|
44115
44338
|
type TimeWindow = components['schemas']['models.TimeWindow'];
|
|
44339
|
+
type TimeWindowRange = components['schemas']['models.TimeWindowRange'];
|
|
44116
44340
|
type Timeline = components['schemas']['models.Timeline'];
|
|
44117
44341
|
type TrackBox = components['schemas']['models.TrackBox'];
|
|
44118
44342
|
type UpdateAlertInput = components['schemas']['models.UpdateAlertInput'];
|