@uug-ai/models 1.6.13 → 1.7.0
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 +171 -141
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -1719,7 +1719,7 @@ export interface paths {
|
|
|
1719
1719
|
patch?: never;
|
|
1720
1720
|
trace?: never;
|
|
1721
1721
|
};
|
|
1722
|
-
"/internal/
|
|
1722
|
+
"/internal/auditevent": {
|
|
1723
1723
|
parameters: {
|
|
1724
1724
|
query?: never;
|
|
1725
1725
|
header?: never;
|
|
@@ -1727,8 +1727,8 @@ export interface paths {
|
|
|
1727
1727
|
cookie?: never;
|
|
1728
1728
|
};
|
|
1729
1729
|
/**
|
|
1730
|
-
* Get
|
|
1731
|
-
* @description Internal endpoint used only to ensure
|
|
1730
|
+
* Get AuditEvent (schema generation only)
|
|
1731
|
+
* @description Internal endpoint used only to ensure AuditEvent schema is generated in OpenAPI spec
|
|
1732
1732
|
*/
|
|
1733
1733
|
get: {
|
|
1734
1734
|
parameters: {
|
|
@@ -1745,7 +1745,7 @@ export interface paths {
|
|
|
1745
1745
|
[name: string]: unknown;
|
|
1746
1746
|
};
|
|
1747
1747
|
content: {
|
|
1748
|
-
"application/json": components["schemas"]["models.
|
|
1748
|
+
"application/json": components["schemas"]["models.AuditEvent"];
|
|
1749
1749
|
};
|
|
1750
1750
|
};
|
|
1751
1751
|
};
|
|
@@ -1758,7 +1758,7 @@ export interface paths {
|
|
|
1758
1758
|
patch?: never;
|
|
1759
1759
|
trace?: never;
|
|
1760
1760
|
};
|
|
1761
|
-
"/internal/
|
|
1761
|
+
"/internal/auditfieldchange": {
|
|
1762
1762
|
parameters: {
|
|
1763
1763
|
query?: never;
|
|
1764
1764
|
header?: never;
|
|
@@ -1766,8 +1766,8 @@ export interface paths {
|
|
|
1766
1766
|
cookie?: never;
|
|
1767
1767
|
};
|
|
1768
1768
|
/**
|
|
1769
|
-
* Get
|
|
1770
|
-
* @description Internal endpoint used only to ensure
|
|
1769
|
+
* Get AuditFieldChange (schema generation only)
|
|
1770
|
+
* @description Internal endpoint used only to ensure AuditFieldChange schema is generated in OpenAPI spec
|
|
1771
1771
|
*/
|
|
1772
1772
|
get: {
|
|
1773
1773
|
parameters: {
|
|
@@ -1784,7 +1784,7 @@ export interface paths {
|
|
|
1784
1784
|
[name: string]: unknown;
|
|
1785
1785
|
};
|
|
1786
1786
|
content: {
|
|
1787
|
-
"application/json": components["schemas"]["models.
|
|
1787
|
+
"application/json": components["schemas"]["models.AuditFieldChange"];
|
|
1788
1788
|
};
|
|
1789
1789
|
};
|
|
1790
1790
|
};
|
|
@@ -20088,7 +20088,7 @@ export interface paths {
|
|
|
20088
20088
|
patch?: never;
|
|
20089
20089
|
trace?: never;
|
|
20090
20090
|
};
|
|
20091
|
-
"/internal/
|
|
20091
|
+
"/internal/roleassignmentscope": {
|
|
20092
20092
|
parameters: {
|
|
20093
20093
|
query?: never;
|
|
20094
20094
|
header?: never;
|
|
@@ -20096,8 +20096,8 @@ export interface paths {
|
|
|
20096
20096
|
cookie?: never;
|
|
20097
20097
|
};
|
|
20098
20098
|
/**
|
|
20099
|
-
* Get
|
|
20100
|
-
* @description Internal endpoint used only to ensure
|
|
20099
|
+
* Get RoleAssignmentScope (schema generation only)
|
|
20100
|
+
* @description Internal endpoint used only to ensure RoleAssignmentScope schema is generated in OpenAPI spec
|
|
20101
20101
|
*/
|
|
20102
20102
|
get: {
|
|
20103
20103
|
parameters: {
|
|
@@ -20114,7 +20114,7 @@ export interface paths {
|
|
|
20114
20114
|
[name: string]: unknown;
|
|
20115
20115
|
};
|
|
20116
20116
|
content: {
|
|
20117
|
-
"application/json": components["schemas"]["models.
|
|
20117
|
+
"application/json": components["schemas"]["models.RoleAssignmentScope"];
|
|
20118
20118
|
};
|
|
20119
20119
|
};
|
|
20120
20120
|
};
|
|
@@ -25080,45 +25080,6 @@ export interface paths {
|
|
|
25080
25080
|
patch?: never;
|
|
25081
25081
|
trace?: never;
|
|
25082
25082
|
};
|
|
25083
|
-
"/internal/userorgpermissions": {
|
|
25084
|
-
parameters: {
|
|
25085
|
-
query?: never;
|
|
25086
|
-
header?: never;
|
|
25087
|
-
path?: never;
|
|
25088
|
-
cookie?: never;
|
|
25089
|
-
};
|
|
25090
|
-
/**
|
|
25091
|
-
* Get UserOrgPermissions (schema generation only)
|
|
25092
|
-
* @description Internal endpoint used only to ensure UserOrgPermissions schema is generated in OpenAPI spec
|
|
25093
|
-
*/
|
|
25094
|
-
get: {
|
|
25095
|
-
parameters: {
|
|
25096
|
-
query?: never;
|
|
25097
|
-
header?: never;
|
|
25098
|
-
path?: never;
|
|
25099
|
-
cookie?: never;
|
|
25100
|
-
};
|
|
25101
|
-
requestBody?: never;
|
|
25102
|
-
responses: {
|
|
25103
|
-
/** @description OK */
|
|
25104
|
-
200: {
|
|
25105
|
-
headers: {
|
|
25106
|
-
[name: string]: unknown;
|
|
25107
|
-
};
|
|
25108
|
-
content: {
|
|
25109
|
-
"application/json": components["schemas"]["models.UserOrgPermissions"];
|
|
25110
|
-
};
|
|
25111
|
-
};
|
|
25112
|
-
};
|
|
25113
|
-
};
|
|
25114
|
-
put?: never;
|
|
25115
|
-
post?: never;
|
|
25116
|
-
delete?: never;
|
|
25117
|
-
options?: never;
|
|
25118
|
-
head?: never;
|
|
25119
|
-
patch?: never;
|
|
25120
|
-
trace?: never;
|
|
25121
|
-
};
|
|
25122
25083
|
"/internal/userprofile": {
|
|
25123
25084
|
parameters: {
|
|
25124
25085
|
query?: never;
|
|
@@ -30058,14 +30019,14 @@ export interface components {
|
|
|
30058
30019
|
/** @description ISO country code */
|
|
30059
30020
|
country?: string;
|
|
30060
30021
|
/** @description Full country name */
|
|
30061
|
-
|
|
30062
|
-
|
|
30022
|
+
countryName?: string;
|
|
30023
|
+
postalCode?: string;
|
|
30063
30024
|
/** @description State/Province/Region */
|
|
30064
30025
|
region?: string;
|
|
30065
30026
|
street?: string;
|
|
30066
|
-
street_number?: string;
|
|
30067
30027
|
/** @description Additional address line */
|
|
30068
30028
|
street2?: string;
|
|
30029
|
+
streetNumber?: string;
|
|
30069
30030
|
};
|
|
30070
30031
|
"models.AlertFeatures": {
|
|
30071
30032
|
createMarker?: boolean;
|
|
@@ -30232,18 +30193,56 @@ export interface components {
|
|
|
30232
30193
|
totalRegions?: number;
|
|
30233
30194
|
};
|
|
30234
30195
|
"models.Audit": {
|
|
30235
|
-
|
|
30236
|
-
/** @description UpdateHistory is a chronological list of updates, ordered by UpdatedAt. */
|
|
30237
|
-
updateHistory?: components["schemas"]["models.AuditUpdate"][];
|
|
30238
|
-
};
|
|
30239
|
-
"models.AuditCreate": {
|
|
30240
|
-
createdAt?: number;
|
|
30196
|
+
createdAt?: string;
|
|
30241
30197
|
createdBy?: string;
|
|
30242
|
-
|
|
30243
|
-
|
|
30244
|
-
|
|
30198
|
+
/**
|
|
30199
|
+
* @description LastAction is a short semantic label describing the most recent change
|
|
30200
|
+
* (e.g. "role.assigned", "member.suspended", "device.renamed"). For the
|
|
30201
|
+
* complete history, query AuditEvent by TargetType/TargetId.
|
|
30202
|
+
*/
|
|
30203
|
+
lastAction?: string;
|
|
30204
|
+
updatedAt?: string;
|
|
30245
30205
|
updatedBy?: string;
|
|
30246
30206
|
};
|
|
30207
|
+
"models.AuditEvent": {
|
|
30208
|
+
/**
|
|
30209
|
+
* @description Action is a short semantic label, e.g. "case.commented", "device.renamed",
|
|
30210
|
+
* "member.suspended".
|
|
30211
|
+
*/
|
|
30212
|
+
action?: string;
|
|
30213
|
+
/**
|
|
30214
|
+
* @description ActorId is the user who performed the action; ActorName is denormalised so
|
|
30215
|
+
* history can be rendered without a lookup.
|
|
30216
|
+
*/
|
|
30217
|
+
actorId?: string;
|
|
30218
|
+
actorName?: string;
|
|
30219
|
+
/** @description Changes optionally captures the field-level diff for this event. */
|
|
30220
|
+
changes?: components["schemas"]["models.AuditFieldChange"][];
|
|
30221
|
+
id?: string;
|
|
30222
|
+
/** @description Metadata holds contextual key/value pairs (ip, userAgent, requestId, ...). */
|
|
30223
|
+
metadata?: {
|
|
30224
|
+
[key: string]: string;
|
|
30225
|
+
};
|
|
30226
|
+
/** @description OrganisationId scopes the event to a tenant for org-wide audit queries. */
|
|
30227
|
+
organisationId?: string;
|
|
30228
|
+
targetId?: string;
|
|
30229
|
+
/**
|
|
30230
|
+
* @description TargetType and TargetId identify the entity the action was performed on
|
|
30231
|
+
* (e.g. TargetType "case" with the case id). Query these to render an
|
|
30232
|
+
* entity's audit history. TargetId is a string so it can hold either an
|
|
30233
|
+
* ObjectID hex or a non-ObjectID key (such as a media key).
|
|
30234
|
+
*/
|
|
30235
|
+
targetType?: string;
|
|
30236
|
+
/** @description Timestamp is when the action occurred. */
|
|
30237
|
+
timestamp?: string;
|
|
30238
|
+
};
|
|
30239
|
+
"models.AuditFieldChange": {
|
|
30240
|
+
field?: string;
|
|
30241
|
+
newValue?: string;
|
|
30242
|
+
oldValue?: string;
|
|
30243
|
+
};
|
|
30244
|
+
/** @enum {string} */
|
|
30245
|
+
"models.BaseRole": "guest" | "editor" | "admin" | "owner" | "application";
|
|
30247
30246
|
"models.CameraMetadata": {
|
|
30248
30247
|
/** @description Bitrate in kbps */
|
|
30249
30248
|
bitrate?: number;
|
|
@@ -30685,19 +30684,19 @@ export interface components {
|
|
|
30685
30684
|
/** @description Industry/sector */
|
|
30686
30685
|
industry?: string;
|
|
30687
30686
|
/** @description Official registered company name */
|
|
30688
|
-
|
|
30687
|
+
legalName?: string;
|
|
30689
30688
|
/** @description Company logo URL */
|
|
30690
30689
|
logo?: string;
|
|
30691
30690
|
/** @description Main company phone */
|
|
30692
30691
|
phone?: string;
|
|
30693
30692
|
/** @description Company registration number */
|
|
30694
|
-
|
|
30693
|
+
registrationNumber?: string;
|
|
30695
30694
|
/** @description Alternative tax identifier */
|
|
30696
|
-
|
|
30695
|
+
taxId?: string;
|
|
30697
30696
|
/** @description Trading/DBA name if different */
|
|
30698
|
-
|
|
30697
|
+
tradingName?: string;
|
|
30699
30698
|
/** @description VAT/Tax ID number */
|
|
30700
|
-
|
|
30699
|
+
vatNumber?: string;
|
|
30701
30700
|
/** @description Company website */
|
|
30702
30701
|
website?: string;
|
|
30703
30702
|
};
|
|
@@ -31283,7 +31282,7 @@ export interface components {
|
|
|
31283
31282
|
/** @description 0=none, 1=read, 2=write, 3=admin */
|
|
31284
31283
|
devices?: components["schemas"]["models.AccessLevel"];
|
|
31285
31284
|
/** @description 0=none, 1=read, 2=write, 3=admin */
|
|
31286
|
-
|
|
31285
|
+
downloadRecordings?: components["schemas"]["models.AccessLevel"];
|
|
31287
31286
|
/** @description 0=none, 1=read, 2=write, 3=admin */
|
|
31288
31287
|
export?: components["schemas"]["models.AccessLevel"];
|
|
31289
31288
|
/** @description 0=none, 1=read, 2=write, 3=admin */
|
|
@@ -31301,7 +31300,7 @@ export interface components {
|
|
|
31301
31300
|
/** @description 0=none, 1=read, 2=write, 3=admin */
|
|
31302
31301
|
ptz?: components["schemas"]["models.AccessLevel"];
|
|
31303
31302
|
/** @description 0=none, 1=read, 2=write, 3=admin */
|
|
31304
|
-
|
|
31303
|
+
remoteConfig?: components["schemas"]["models.AccessLevel"];
|
|
31305
31304
|
/** @description 0=none, 1=read, 2=write, 3=admin */
|
|
31306
31305
|
roles?: components["schemas"]["models.AccessLevel"];
|
|
31307
31306
|
/** @description 0=none, 1=read, 2=write, 3=admin */
|
|
@@ -31528,6 +31527,8 @@ export interface components {
|
|
|
31528
31527
|
token?: string;
|
|
31529
31528
|
valid?: boolean;
|
|
31530
31529
|
};
|
|
31530
|
+
/** @enum {string} */
|
|
31531
|
+
"models.InvitationStatus": "pending" | "accepted" | "expired" | "revoked";
|
|
31531
31532
|
"models.KeyPair": {
|
|
31532
31533
|
amazon_access_key_id?: string;
|
|
31533
31534
|
amazon_secret_access_key?: string;
|
|
@@ -32028,6 +32029,8 @@ export interface components {
|
|
|
32028
32029
|
type?: string;
|
|
32029
32030
|
vault?: boolean;
|
|
32030
32031
|
};
|
|
32032
|
+
/** @enum {string} */
|
|
32033
|
+
"models.MembershipStatus": "pending" | "active" | "suspended" | "revoked";
|
|
32031
32034
|
"models.Message": {
|
|
32032
32035
|
alert_id?: string;
|
|
32033
32036
|
alert_master_user?: string;
|
|
@@ -32133,80 +32136,103 @@ export interface components {
|
|
|
32133
32136
|
};
|
|
32134
32137
|
"models.Organisation": {
|
|
32135
32138
|
audit?: components["schemas"]["models.Audit"];
|
|
32136
|
-
|
|
32139
|
+
billingAddress?: components["schemas"]["models.Address"];
|
|
32137
32140
|
/** @description Company Details */
|
|
32138
32141
|
company?: components["schemas"]["models.CompanyDetails"];
|
|
32139
32142
|
description?: string;
|
|
32140
32143
|
domain?: string;
|
|
32141
32144
|
id?: string;
|
|
32142
|
-
|
|
32145
|
+
isActive?: boolean;
|
|
32143
32146
|
name?: string;
|
|
32144
32147
|
/** @description The user who owns this organisation */
|
|
32145
|
-
|
|
32148
|
+
ownerId?: string;
|
|
32146
32149
|
settings?: components["schemas"]["models.OrganisationSettings"];
|
|
32150
|
+
/**
|
|
32151
|
+
* @description Slug is a stable, URL-friendly handle for the organisation (e.g. "acme-corp").
|
|
32152
|
+
* It is unique and decoupled from the display Name so it can be used in URLs
|
|
32153
|
+
* and references without breaking when the name changes.
|
|
32154
|
+
*/
|
|
32155
|
+
slug?: string;
|
|
32147
32156
|
/** @description Billing & Subscription */
|
|
32148
32157
|
subscription?: components["schemas"]["models.Subscription"];
|
|
32149
32158
|
};
|
|
32150
32159
|
"models.OrganisationInvitation": {
|
|
32151
32160
|
audit?: components["schemas"]["models.Audit"];
|
|
32152
32161
|
email?: string;
|
|
32153
|
-
|
|
32162
|
+
expiresAt?: string;
|
|
32154
32163
|
id?: string;
|
|
32155
|
-
|
|
32156
|
-
|
|
32164
|
+
invitedBy?: string;
|
|
32165
|
+
organisationId?: string;
|
|
32157
32166
|
/** @description Roles to assign upon acceptance */
|
|
32158
|
-
|
|
32159
|
-
/**
|
|
32160
|
-
|
|
32167
|
+
roleIds?: string[];
|
|
32168
|
+
/**
|
|
32169
|
+
* @description Scope is the granular scope applied to every role in RoleIds when the
|
|
32170
|
+
* invitation is accepted, i.e. it seeds the Scope of each resulting
|
|
32171
|
+
* RoleAssignment. Following the RoleAssignmentScope convention, a zero value
|
|
32172
|
+
* grants the roles organisation-wide; populate a dimension to restrict the
|
|
32173
|
+
* resulting assignments to specific resources (see RoleAssignmentScope).
|
|
32174
|
+
*/
|
|
32175
|
+
scope?: components["schemas"]["models.RoleAssignmentScope"];
|
|
32176
|
+
status?: components["schemas"]["models.InvitationStatus"];
|
|
32161
32177
|
token?: string;
|
|
32162
32178
|
};
|
|
32163
32179
|
"models.OrganisationMember": {
|
|
32164
32180
|
membership?: components["schemas"]["models.OrganisationUser"];
|
|
32165
|
-
|
|
32181
|
+
organisationId?: string;
|
|
32166
32182
|
/** @description Member's role assignments */
|
|
32167
|
-
|
|
32183
|
+
roleAssignments?: components["schemas"]["models.RoleAssignment"][];
|
|
32168
32184
|
/** @description Populated role details */
|
|
32169
32185
|
roles?: components["schemas"]["models.Role"][];
|
|
32170
32186
|
user?: components["schemas"]["models.User"];
|
|
32171
32187
|
};
|
|
32172
32188
|
"models.OrganisationSettings": {
|
|
32173
|
-
|
|
32189
|
+
allowInvitations?: boolean;
|
|
32174
32190
|
/** @description Email domains allowed for membership */
|
|
32175
|
-
|
|
32191
|
+
allowedDomains?: string[];
|
|
32192
|
+
/** @description ISO 4217 currency code, e.g. "EUR" */
|
|
32193
|
+
currency?: string;
|
|
32176
32194
|
/** @description Default role for new members */
|
|
32177
|
-
|
|
32195
|
+
defaultRoleId?: string;
|
|
32178
32196
|
/** @description Contacts for different purposes */
|
|
32179
|
-
|
|
32180
|
-
|
|
32181
|
-
|
|
32197
|
+
financialContact?: components["schemas"]["models.Contact"];
|
|
32198
|
+
forceMFA?: boolean;
|
|
32199
|
+
/** @description BCP-47 locale tag, e.g. "en-US" */
|
|
32200
|
+
locale?: string;
|
|
32201
|
+
maxMembers?: number;
|
|
32182
32202
|
/** @description Main point of contact */
|
|
32183
|
-
|
|
32203
|
+
primaryContact?: components["schemas"]["models.Contact"];
|
|
32184
32204
|
/** @description Technical/support contact */
|
|
32185
|
-
|
|
32205
|
+
technicalContact?: components["schemas"]["models.Contact"];
|
|
32206
|
+
/**
|
|
32207
|
+
* @description Regional defaults applied across the organisation for display, scheduling
|
|
32208
|
+
* and billing.
|
|
32209
|
+
*/
|
|
32210
|
+
timezone?: string;
|
|
32186
32211
|
};
|
|
32187
32212
|
"models.OrganisationUser": {
|
|
32188
32213
|
audit?: components["schemas"]["models.Audit"];
|
|
32189
|
-
/**
|
|
32190
|
-
|
|
32214
|
+
/**
|
|
32215
|
+
* @description ExpiresAt optionally bounds the membership in time. It is an overlay on
|
|
32216
|
+
* Status: a membership is only effectively active when Status is
|
|
32217
|
+
* MembershipStatusActive AND ExpiresAt is unset or in the future.
|
|
32218
|
+
*/
|
|
32219
|
+
expiresAt?: string;
|
|
32191
32220
|
id?: string;
|
|
32192
|
-
|
|
32193
|
-
|
|
32194
|
-
|
|
32195
|
-
|
|
32196
|
-
|
|
32197
|
-
|
|
32198
|
-
/** @description "pending", "active", "suspended", "revoked" */
|
|
32199
|
-
status?: string;
|
|
32200
|
-
user_id?: string;
|
|
32221
|
+
invitedAt?: string;
|
|
32222
|
+
invitedBy?: string;
|
|
32223
|
+
joinedAt?: string;
|
|
32224
|
+
organisationId?: string;
|
|
32225
|
+
status?: components["schemas"]["models.MembershipStatus"];
|
|
32226
|
+
userId?: string;
|
|
32201
32227
|
};
|
|
32202
32228
|
"models.OrganisationUserDetails": {
|
|
32203
32229
|
membership?: components["schemas"]["models.OrganisationUser"];
|
|
32204
32230
|
organisation?: components["schemas"]["models.Organisation"];
|
|
32205
32231
|
/** @description User's role assignments in this organisation */
|
|
32206
|
-
|
|
32232
|
+
roleAssignments?: components["schemas"]["models.RoleAssignment"][];
|
|
32207
32233
|
/** @description Populated role details */
|
|
32208
32234
|
roles?: components["schemas"]["models.Role"][];
|
|
32209
|
-
|
|
32235
|
+
userId?: string;
|
|
32210
32236
|
};
|
|
32211
32237
|
"models.PatchVideowallInput": {
|
|
32212
32238
|
updates?: {
|
|
@@ -32350,38 +32376,56 @@ export interface components {
|
|
|
32350
32376
|
description?: string;
|
|
32351
32377
|
featurePermissions?: components["schemas"]["models.FeaturePermissions"];
|
|
32352
32378
|
id?: string;
|
|
32353
|
-
isActive?:
|
|
32379
|
+
isActive?: boolean;
|
|
32354
32380
|
/** @description Organisation this role belongs to */
|
|
32355
|
-
|
|
32381
|
+
organisationId?: string;
|
|
32382
|
+
/**
|
|
32383
|
+
* @description Pages and FeaturePermissions are two orthogonal authorization axes:
|
|
32384
|
+
* - Pages controls which UI/nav pages are visible (coarse allow-list).
|
|
32385
|
+
* - FeaturePermissions controls the CRUD AccessLevel per feature.
|
|
32386
|
+
* Some names appear in both (e.g. sites/groups/roles/settings); that overlap
|
|
32387
|
+
* is intentional - visibility and capability are decided independently, and
|
|
32388
|
+
* the consuming service resolves them together (page hidden => not shown;
|
|
32389
|
+
* feature level => what may be done once on the page).
|
|
32390
|
+
*/
|
|
32356
32391
|
pages?: string[];
|
|
32357
|
-
|
|
32392
|
+
/**
|
|
32393
|
+
* @description ParentRole is the built-in BaseRole tier this custom role extends. It is a
|
|
32394
|
+
* live tier identifier (NOT an ObjectID reference to another Role document):
|
|
32395
|
+
* it sets the effective tier/RoleLevel for coarse gating and bounds which
|
|
32396
|
+
* pages the role may grant. See BaseRole.
|
|
32397
|
+
*/
|
|
32398
|
+
role?: components["schemas"]["models.BaseRole"];
|
|
32358
32399
|
roleName?: string;
|
|
32359
32400
|
timeWindow?: components["schemas"]["models.TimeWindow"];
|
|
32360
|
-
timeWindowActive?:
|
|
32401
|
+
timeWindowActive?: boolean;
|
|
32361
32402
|
};
|
|
32362
32403
|
"models.RoleAssignment": {
|
|
32363
32404
|
audit?: components["schemas"]["models.Audit"];
|
|
32364
|
-
/**
|
|
32365
|
-
|
|
32405
|
+
/**
|
|
32406
|
+
* @description ExpiresAt optionally bounds the assignment in time. It is an overlay on
|
|
32407
|
+
* IsActive: an assignment is only effectively active when IsActive is true
|
|
32408
|
+
* AND ExpiresAt is unset or in the future. Use IsEffectivelyActive().
|
|
32409
|
+
*/
|
|
32410
|
+
expiresAt?: string;
|
|
32366
32411
|
id?: string;
|
|
32367
|
-
|
|
32412
|
+
/** @description Administrative enable/disable switch (independent of expiry) */
|
|
32413
|
+
isActive?: boolean;
|
|
32368
32414
|
/** @description Organisation context for this assignment */
|
|
32369
|
-
|
|
32415
|
+
organisationId?: string;
|
|
32370
32416
|
/** @description Reference to the organisation-specific Role */
|
|
32371
|
-
|
|
32417
|
+
roleId?: string;
|
|
32372
32418
|
/** @description Optional granular scope within organisation */
|
|
32373
|
-
scope?: components["schemas"]["models.
|
|
32374
|
-
|
|
32419
|
+
scope?: components["schemas"]["models.RoleAssignmentScope"];
|
|
32420
|
+
userId?: string;
|
|
32375
32421
|
};
|
|
32376
|
-
"models.
|
|
32377
|
-
/** @description
|
|
32378
|
-
|
|
32379
|
-
/** @description
|
|
32380
|
-
|
|
32381
|
-
/** @description
|
|
32382
|
-
|
|
32383
|
-
/** @description e.g., "global", "site", "group", "device" */
|
|
32384
|
-
type?: string;
|
|
32422
|
+
"models.RoleAssignmentScope": {
|
|
32423
|
+
/** @description Restrict to these devices (empty = all devices) */
|
|
32424
|
+
deviceIds?: string[];
|
|
32425
|
+
/** @description Restrict to these groups (empty = all groups) */
|
|
32426
|
+
groupIds?: string[];
|
|
32427
|
+
/** @description Restrict to these sites (empty = all sites) */
|
|
32428
|
+
siteIds?: string[];
|
|
32385
32429
|
};
|
|
32386
32430
|
"models.RuntimeConfig": {
|
|
32387
32431
|
mqttPassword?: string;
|
|
@@ -32991,7 +33035,7 @@ export interface components {
|
|
|
32991
33035
|
amazon_access_key_id?: string;
|
|
32992
33036
|
amazon_secret_access_key?: string;
|
|
32993
33037
|
archive_storage?: components["schemas"]["models.Storage"];
|
|
32994
|
-
audit?: components["schemas"]["models.Audit"]
|
|
33038
|
+
audit?: components["schemas"]["models.Audit"];
|
|
32995
33039
|
bucket?: string;
|
|
32996
33040
|
camera_brands?: components["schemas"]["models.Settings"];
|
|
32997
33041
|
cameras?: string[];
|
|
@@ -33074,19 +33118,6 @@ export interface components {
|
|
|
33074
33118
|
user_id?: string;
|
|
33075
33119
|
username?: string;
|
|
33076
33120
|
};
|
|
33077
|
-
"models.UserOrgPermissions": {
|
|
33078
|
-
can_invite_users?: boolean;
|
|
33079
|
-
can_manage_devices?: boolean;
|
|
33080
|
-
can_manage_groups?: boolean;
|
|
33081
|
-
can_manage_roles?: boolean;
|
|
33082
|
-
can_manage_sites?: boolean;
|
|
33083
|
-
/** @description Specific devices user has access to */
|
|
33084
|
-
device_ids?: string[];
|
|
33085
|
-
/** @description Specific groups user has access to */
|
|
33086
|
-
group_ids?: string[];
|
|
33087
|
-
/** @description Specific sites user has access to */
|
|
33088
|
-
site_ids?: string[];
|
|
33089
|
-
};
|
|
33090
33121
|
"models.UserProfile": {
|
|
33091
33122
|
card?: components["schemas"]["models.Card"];
|
|
33092
33123
|
user?: components["schemas"]["models.User"];
|
|
@@ -33118,7 +33149,7 @@ export interface components {
|
|
|
33118
33149
|
assignments?: components["schemas"]["models.RoleAssignment"][];
|
|
33119
33150
|
/** @description Populated role details */
|
|
33120
33151
|
roles?: components["schemas"]["models.Role"][];
|
|
33121
|
-
|
|
33152
|
+
userId?: string;
|
|
33122
33153
|
};
|
|
33123
33154
|
"models.UserSettings": {
|
|
33124
33155
|
hls_callback_url?: string;
|
|
@@ -33727,8 +33758,8 @@ export declare namespace models {
|
|
|
33727
33758
|
type AnalyticsLists = components['schemas']['models.AnalyticsLists'];
|
|
33728
33759
|
type AnalyticsSummary = components['schemas']['models.AnalyticsSummary'];
|
|
33729
33760
|
type Audit = components['schemas']['models.Audit'];
|
|
33730
|
-
type
|
|
33731
|
-
type
|
|
33761
|
+
type AuditEvent = components['schemas']['models.AuditEvent'];
|
|
33762
|
+
type AuditFieldChange = components['schemas']['models.AuditFieldChange'];
|
|
33732
33763
|
type CameraMetadata = components['schemas']['models.CameraMetadata'];
|
|
33733
33764
|
type CameraPreset = components['schemas']['models.CameraPreset'];
|
|
33734
33765
|
type CameraTour = components['schemas']['models.CameraTour'];
|
|
@@ -33891,7 +33922,7 @@ export declare namespace models {
|
|
|
33891
33922
|
type RemoveAlertInput = components['schemas']['models.RemoveAlertInput'];
|
|
33892
33923
|
type Role = components['schemas']['models.Role'];
|
|
33893
33924
|
type RoleAssignment = components['schemas']['models.RoleAssignment'];
|
|
33894
|
-
type
|
|
33925
|
+
type RoleAssignmentScope = components['schemas']['models.RoleAssignmentScope'];
|
|
33895
33926
|
type RuntimeConfig = components['schemas']['models.RuntimeConfig'];
|
|
33896
33927
|
type Sequence = components['schemas']['models.Sequence'];
|
|
33897
33928
|
type SequenceStage = components['schemas']['models.SequenceStage'];
|
|
@@ -33938,7 +33969,6 @@ export declare namespace models {
|
|
|
33938
33969
|
type UpdateWorkflowStageInput = components['schemas']['models.UpdateWorkflowStageInput'];
|
|
33939
33970
|
type UpdateWorkflowStageOutput = components['schemas']['models.UpdateWorkflowStageOutput'];
|
|
33940
33971
|
type User = components['schemas']['models.User'];
|
|
33941
|
-
type UserOrgPermissions = components['schemas']['models.UserOrgPermissions'];
|
|
33942
33972
|
type UserProfile = components['schemas']['models.UserProfile'];
|
|
33943
33973
|
type UserProfileSettings = components['schemas']['models.UserProfileSettings'];
|
|
33944
33974
|
type UserRoleAssignments = components['schemas']['models.UserRoleAssignments'];
|