@uug-ai/models 1.7.87 → 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.
Files changed (2) hide show
  1. package/dist/types.d.ts +238 -68
  2. 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;
@@ -24027,6 +24066,45 @@ export interface paths {
24027
24066
  patch?: never;
24028
24067
  trace?: never;
24029
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
+ };
24030
24108
  "/internal/processingartifactmetadata": {
24031
24109
  parameters: {
24032
24110
  query?: never;
@@ -25392,6 +25470,45 @@ export interface paths {
25392
25470
  patch?: never;
25393
25471
  trace?: never;
25394
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
+ };
25395
25512
  "/internal/rotateaccesstokenerrorresponse": {
25396
25513
  parameters: {
25397
25514
  query?: never;
@@ -28473,6 +28590,45 @@ export interface paths {
28473
28590
  patch?: never;
28474
28591
  trace?: never;
28475
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
+ };
28476
28632
  "/internal/traceresponse": {
28477
28633
  parameters: {
28478
28634
  query?: never;
@@ -39224,7 +39380,7 @@ export interface components {
39224
39380
  userId?: string;
39225
39381
  };
39226
39382
  /** @enum {string} */
39227
- "models.AccessTokenScope": "media.read" | "media.update" | "media.export" | "media.share" | "media.redact" | "media.delete" | "media.forward" | "storage.read" | "storage.update" | "notifications.read" | "notifications.update" | "detections.read" | "detections.create" | "detections.delete" | "sites.read" | "sites.create" | "sites.update" | "sites.delete" | "days.read" | "application" | "videowalls.read" | "videowalls.create" | "videowalls.update" | "videowalls.delete" | "videowalls.assign" | "workflow-runs.create" | "workflow-runs.read" | "workflow-runs.update" | "workflows.read" | "workflows.create" | "workflows.update" | "workflows.delete" | "roles.read" | "roles.create" | "roles.update" | "roles.delete" | "devices.read" | "devices.update" | "devices.delete" | "devices.config" | "devices.managePermissions" | "live.preview" | "live.stream" | "ptz.zoom" | "ptz.panTilt" | "ptz.control" | "ptz.presets" | "devices.manageSystemTags" | "alerts.read" | "alerts.create" | "alerts.update" | "alerts.delete" | "alerts.managePrivacy" | "floorPlans.read" | "floorPlans.create" | "floorPlans.update" | "floorPlans.delete" | "project.update" | "project.manageCredentials" | "project.manageAccess" | "projects.create" | "projects.delete" | "projects.manageAccess" | "organisation.read" | "organisation.update" | "members.read" | "members.invite" | "members.update" | "members.remove" | "labels.read" | "labels.create" | "labels.update" | "labels.delete" | "groups.read" | "groups.create" | "groups.update" | "groups.delete" | "channels.read" | "channels.create" | "channels.update" | "channels.delete" | "analytics.read" | "io.read" | "io.create" | "io.delete" | "io.trigger" | "cases.read" | "cases.create" | "cases.update" | "cases.share" | "cases.export" | "cases.runWorkflow" | "cases.delete" | "cases.manageMembership" | "cases.moderateComments" | "billing.read" | "billing.manage" | "markers.read" | "markers.write" | "markers.all" | "audit.read";
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";
39228
39384
  "models.Account": {
39229
39385
  account?: components["schemas"]["models.AccountBody"];
39230
39386
  };
@@ -39456,6 +39612,8 @@ export interface components {
39456
39612
  totalRegionDurationSeconds?: number;
39457
39613
  totalRegions?: number;
39458
39614
  };
39615
+ /** @enum {string} */
39616
+ "models.AssignmentSource": "manual" | "invitation" | "migration";
39459
39617
  "models.Audit": {
39460
39618
  createdAt?: string;
39461
39619
  createdBy?: string;
@@ -39541,7 +39699,7 @@ export interface components {
39541
39699
  userAgent?: string;
39542
39700
  };
39543
39701
  /** @enum {string} */
39544
- "models.BaseRole": "guest" | "editor" | "admin" | "owner" | "application";
39702
+ "models.BaseRole": "guest" | "editor" | "admin" | "owner";
39545
39703
  "models.CameraMetadata": {
39546
39704
  /** @description kbps */
39547
39705
  bitrate?: number;
@@ -41025,6 +41183,12 @@ export interface components {
41025
41183
  token?: string;
41026
41184
  valid?: boolean;
41027
41185
  };
41186
+ "models.InvitationAssignment": {
41187
+ expiresAt?: string;
41188
+ roleId?: string;
41189
+ scope?: components["schemas"]["models.RoleAssignmentScope"];
41190
+ timeWindow?: components["schemas"]["models.TimeWindow"];
41191
+ };
41028
41192
  /** @enum {string} */
41029
41193
  "models.InvitationStatus": "pending" | "accepted" | "expired" | "revoked";
41030
41194
  "models.KeyPair": {
@@ -41731,7 +41895,10 @@ export interface components {
41731
41895
  id?: string;
41732
41896
  isActive?: boolean;
41733
41897
  name?: string;
41734
- /** @description The user who owns this organisation */
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. */
41735
41902
  ownerId?: string;
41736
41903
  settings?: components["schemas"]["models.OrganisationSettings"];
41737
41904
  /** @description Slug is a stable, URL-friendly handle for the organisation (e.g. "acme-corp").
@@ -41748,21 +41915,21 @@ export interface components {
41748
41915
  organisationId?: string;
41749
41916
  };
41750
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"][];
41751
41924
  audit?: components["schemas"]["models.Audit"];
41752
41925
  email?: string;
41753
41926
  expiresAt?: string;
41754
41927
  id?: string;
41755
41928
  invitedBy?: string;
41756
41929
  organisationId?: string;
41757
- /** @description Roles to assign upon acceptance */
41758
- roleIds?: string[];
41759
- /** @description Scope is the granular scope applied to every role in RoleIds when the
41760
- * invitation is accepted, i.e. it seeds the Scope of each resulting
41761
- * RoleAssignment. Following the RoleAssignmentScope convention, a zero value
41762
- * grants the roles organisation-wide; populate a dimension to restrict the
41763
- * resulting assignments to specific resources (see RoleAssignmentScope). */
41764
- scope?: components["schemas"]["models.RoleAssignmentScope"];
41765
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. */
41766
41933
  token?: string;
41767
41934
  };
41768
41935
  "models.OrganisationMember": {
@@ -41780,8 +41947,6 @@ export interface components {
41780
41947
  allowedDomains?: string[];
41781
41948
  /** @description ISO 4217 currency code, e.g. "EUR" */
41782
41949
  currency?: string;
41783
- /** @description Default role for new members */
41784
- defaultRoleId?: string;
41785
41950
  /** @description Contacts for different purposes */
41786
41951
  financialContact?: components["schemas"]["models.Contact"];
41787
41952
  forceMFA?: boolean;
@@ -41841,7 +42006,7 @@ export interface components {
41841
42006
  videowall?: components["schemas"]["models.Videowall"];
41842
42007
  };
41843
42008
  /** @enum {string} */
41844
- "models.Permission": "media.read" | "media.update" | "media.export" | "media.share" | "media.redact" | "media.delete" | "media.forward" | "storage.read" | "storage.update" | "notifications.read" | "notifications.update" | "detections.read" | "detections.create" | "detections.delete" | "sites.read" | "sites.create" | "sites.update" | "sites.delete" | "days.read" | "application" | "videowalls.read" | "videowalls.create" | "videowalls.update" | "videowalls.delete" | "videowalls.assign" | "workflow-runs.create" | "workflow-runs.read" | "workflow-runs.update" | "workflows.read" | "workflows.create" | "workflows.update" | "workflows.delete" | "roles.read" | "roles.create" | "roles.update" | "roles.delete" | "devices.read" | "devices.update" | "devices.delete" | "devices.config" | "devices.managePermissions" | "live.preview" | "live.stream" | "ptz.zoom" | "ptz.panTilt" | "ptz.control" | "ptz.presets" | "devices.manageSystemTags" | "alerts.read" | "alerts.create" | "alerts.update" | "alerts.delete" | "alerts.managePrivacy" | "floorPlans.read" | "floorPlans.create" | "floorPlans.update" | "floorPlans.delete" | "project.update" | "project.manageCredentials" | "project.manageAccess" | "projects.create" | "projects.delete" | "projects.manageAccess" | "organisation.read" | "organisation.update" | "members.read" | "members.invite" | "members.update" | "members.remove" | "labels.read" | "labels.create" | "labels.update" | "labels.delete" | "groups.read" | "groups.create" | "groups.update" | "groups.delete" | "channels.read" | "channels.create" | "channels.update" | "channels.delete" | "analytics.read" | "io.read" | "io.create" | "io.delete" | "io.trigger" | "cases.read" | "cases.create" | "cases.update" | "cases.share" | "cases.export" | "cases.runWorkflow" | "cases.delete" | "cases.manageMembership" | "cases.moderateComments" | "billing.read" | "billing.manage" | "markers.read" | "markers.write" | "markers.all" | "audit.read";
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";
41845
42010
  "models.PermissionDefinition": {
41846
42011
  /** @description Implies lists the permissions that holding this one also grants, e.g. a
41847
42012
  * graded capability implies its lower grades. Implied permissions always
@@ -41961,6 +42126,12 @@ export interface components {
41961
42126
  x?: number;
41962
42127
  y?: number;
41963
42128
  };
42129
+ "models.Principal": {
42130
+ id?: string;
42131
+ type?: components["schemas"]["models.PrincipalType"];
42132
+ };
42133
+ /** @enum {string} */
42134
+ "models.PrincipalType": "user";
41964
42135
  "models.ProcessingArtifactMetadata": {
41965
42136
  columns?: number;
41966
42137
  count?: number;
@@ -42068,32 +42239,22 @@ export interface components {
42068
42239
  };
42069
42240
  "models.RemoveAlertOutput": Record<string, never>;
42070
42241
  "models.Role": {
42242
+ assignableAt?: components["schemas"]["models.PermissionScope"];
42071
42243
  audit?: components["schemas"]["models.Audit"];
42072
42244
  description?: string;
42073
- featurePermissions?: components["schemas"]["models.FeaturePermissions"];
42074
42245
  id?: string;
42075
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;
42076
42251
  /** @description Organisation this role belongs to */
42077
42252
  organisationId?: string;
42078
- /** @description Pages and FeaturePermissions are two orthogonal authorization axes:
42079
- * - Pages controls which UI/nav pages are visible (coarse allow-list).
42080
- * - FeaturePermissions controls the CRUD AccessLevel per feature.
42081
- * Some names appear in both (e.g. sites/groups/roles/settings); that overlap
42082
- * is intentional - visibility and capability are decided independently, and
42083
- * the consuming service resolves them together (page hidden => not shown;
42084
- * feature level => what may be done once on the page). */
42085
- pages?: string[];
42086
- /** @description Permissions is the canonical set of domain.action grants carried by this
42087
- * 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. */
42088
42257
  permissions?: components["schemas"]["models.Permission"][];
42089
- /** @description ParentRole is the built-in BaseRole tier this custom role extends. It is a
42090
- * live tier identifier (NOT an ObjectID reference to another Role document):
42091
- * it sets the effective tier/RoleLevel for coarse gating and bounds which
42092
- * pages the role may grant. See BaseRole. */
42093
- role?: components["schemas"]["models.BaseRole"];
42094
- roleName?: string;
42095
- timeWindow?: components["schemas"]["models.TimeWindow"];
42096
- timeWindowActive?: boolean;
42097
42258
  };
42098
42259
  "models.RoleAssignment": {
42099
42260
  audit?: components["schemas"]["models.Audit"];
@@ -42106,28 +42267,48 @@ export interface components {
42106
42267
  isActive?: boolean;
42107
42268
  /** @description Organisation context for this assignment */
42108
42269
  organisationId?: string;
42109
- /** @description Reference to the organisation-specific Role */
42270
+ principal?: components["schemas"]["models.Principal"];
42271
+ /** @description Reference to the organisation's Role */
42110
42272
  roleId?: string;
42111
- /** @description Optional granular scope within organisation */
42112
42273
  scope?: components["schemas"]["models.RoleAssignmentScope"];
42113
- userId?: string;
42274
+ source?: components["schemas"]["models.AssignmentSource"];
42275
+ /** @description TimeWindow optionally limits when the assignment is in force. */
42276
+ timeWindow?: components["schemas"]["models.TimeWindow"];
42114
42277
  };
42115
42278
  "models.RoleAssignmentScope": {
42116
- /** @description Restrict to these devices (empty = all devices) */
42279
+ /** @description Resources=selected only */
42117
42280
  deviceIds?: string[];
42118
- /** @description Restrict to these groups (empty = all groups) */
42281
+ /** @description Resources=selected only */
42119
42282
  groupIds?: string[];
42120
- /** @description Restrict to these projects (empty = all projects and organisation-wide resources) */
42283
+ level?: components["schemas"]["models.PermissionScope"];
42284
+ /** @description Level=project only. */
42285
+ projectId?: string;
42286
+ /** @description Projects=selected only; at least one */
42121
42287
  projectIds?: string[];
42122
- /** @description Restrict to these sites (empty = all sites) */
42288
+ /** @description Level=organisation only. */
42289
+ projects?: components["schemas"]["models.ScopeSelection"];
42290
+ resources?: components["schemas"]["models.ScopeSelection"];
42291
+ /** @description Resources=selected only */
42123
42292
  siteIds?: string[];
42124
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
+ };
42125
42304
  "models.RuntimeConfig": {
42126
42305
  mqttPassword?: string;
42127
42306
  mqttUsername?: string;
42128
42307
  turnPassword?: string;
42129
42308
  turnUsername?: string;
42130
42309
  };
42310
+ /** @enum {string} */
42311
+ "models.ScopeSelection": "all" | "selected";
42131
42312
  "models.Sequence": {
42132
42313
  analysis?: {
42133
42314
  [key: string]: unknown;
@@ -42676,34 +42857,17 @@ export interface components {
42676
42857
  value?: number;
42677
42858
  };
42678
42859
  "models.TimeWindow": {
42679
- timeRange1MaxFriday?: number;
42680
- timeRange1MaxMonday?: number;
42681
- timeRange1MaxSaturday?: number;
42682
- timeRange1MaxSunday?: number;
42683
- timeRange1MaxThursday?: number;
42684
- timeRange1MaxTuesday?: number;
42685
- timeRange1MaxWednesday?: number;
42686
- timeRange1MinFriday?: number;
42687
- timeRange1MinMonday?: number;
42688
- timeRange1MinSaturday?: number;
42689
- timeRange1MinSunday?: number;
42690
- timeRange1MinThursday?: number;
42691
- timeRange1MinTuesday?: number;
42692
- timeRange1MinWednesday?: number;
42693
- timeRange2MaxFriday?: number;
42694
- timeRange2MaxMonday?: number;
42695
- timeRange2MaxSaturday?: number;
42696
- timeRange2MaxSunday?: number;
42697
- timeRange2MaxThursday?: number;
42698
- timeRange2MaxTuesday?: number;
42699
- timeRange2MaxWednesday?: number;
42700
- timeRange2MinFriday?: number;
42701
- timeRange2MinMonday?: number;
42702
- timeRange2MinSaturday?: number;
42703
- timeRange2MinSunday?: number;
42704
- timeRange2MinThursday?: number;
42705
- timeRange2MinTuesday?: number;
42706
- 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;
42707
42871
  };
42708
42872
  "models.Timeline": {
42709
42873
  device?: components["schemas"]["models.Device"];
@@ -43096,6 +43260,8 @@ export interface components {
43096
43260
  url?: string;
43097
43261
  valid?: boolean;
43098
43262
  };
43263
+ /** @enum {string} */
43264
+ "models.Weekday": "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday";
43099
43265
  "models.WeeklySchedule": {
43100
43266
  day?: number;
43101
43267
  enabled?: boolean;
@@ -44051,6 +44217,7 @@ export declare namespace models {
44051
44217
  type HumiditySensorMetadata = components['schemas']['models.HumiditySensorMetadata'];
44052
44218
  type IO = components['schemas']['models.IO'];
44053
44219
  type Ifttt = components['schemas']['models.Ifttt'];
44220
+ type InvitationAssignment = components['schemas']['models.InvitationAssignment'];
44054
44221
  type KeyPair = components['schemas']['models.KeyPair'];
44055
44222
  type Label = components['schemas']['models.Label'];
44056
44223
  type LabelWrapper = components['schemas']['models.LabelWrapper'];
@@ -44111,6 +44278,7 @@ export declare namespace models {
44111
44278
  type PipelineSourceDevice = components['schemas']['models.PipelineSourceDevice'];
44112
44279
  type Plan = components['schemas']['models.Plan'];
44113
44280
  type Point = components['schemas']['models.Point'];
44281
+ type Principal = components['schemas']['models.Principal'];
44114
44282
  type ProcessingArtifactMetadata = components['schemas']['models.ProcessingArtifactMetadata'];
44115
44283
  type ProcessingCompletion = components['schemas']['models.ProcessingCompletion'];
44116
44284
  type ProcessingCompletionTarget = components['schemas']['models.ProcessingCompletionTarget'];
@@ -44129,6 +44297,7 @@ export declare namespace models {
44129
44297
  type Role = components['schemas']['models.Role'];
44130
44298
  type RoleAssignment = components['schemas']['models.RoleAssignment'];
44131
44299
  type RoleAssignmentScope = components['schemas']['models.RoleAssignmentScope'];
44300
+ type RoleOrigin = components['schemas']['models.RoleOrigin'];
44132
44301
  type RuntimeConfig = components['schemas']['models.RuntimeConfig'];
44133
44302
  type Sequence = components['schemas']['models.Sequence'];
44134
44303
  type SequenceStage = components['schemas']['models.SequenceStage'];
@@ -44167,6 +44336,7 @@ export declare namespace models {
44167
44336
  type TimeSeriesChart = components['schemas']['models.TimeSeriesChart'];
44168
44337
  type TimeSeriesDataPoint = components['schemas']['models.TimeSeriesDataPoint'];
44169
44338
  type TimeWindow = components['schemas']['models.TimeWindow'];
44339
+ type TimeWindowRange = components['schemas']['models.TimeWindowRange'];
44170
44340
  type Timeline = components['schemas']['models.Timeline'];
44171
44341
  type TrackBox = components['schemas']['models.TrackBox'];
44172
44342
  type UpdateAlertInput = components['schemas']['models.UpdateAlertInput'];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uug-ai/models",
3
- "version": "1.7.87",
3
+ "version": "1.7.88",
4
4
  "description": "TypeScript type definitions for Go models",
5
5
  "main": "dist/types.js",
6
6
  "types": "dist/types.d.ts",