Skip to main content

Module types

Module types 

Source
Expand description

Types used as operation parameters and responses.

Modules§

error
Error types.

Structs§

AcceptEulaRequest
Request to accept EULA and provision user
AcceptEulaResponse
Response after accepting EULA
AccessInviteGrantedPortal
AccessInviteGrantedPortal
AccessInviteListItem
AccessInviteListItem
AccessPortalListItem
AccessPortalListItem
AddBuildingUserPayload
AddBuildingUserPayload
AddRolesRequest
Request type for adding/deleting roles (org_id -> list of role names).
ApartmentFloorListResponse
Distinct apartment floors for a directory device (efficient SQL).
ApartmentFloorSummary
One distinct floor row for a directory device (apartment entities).
ApiErrorResponse
A minimal, user-facing error body for public API responses.
ApiKeyListItem
Response for API key list item (no token).
BackendStatus
BackendStatus
BillingEvent
Provider-emitted event after webhook validation. Handlers translate this into internal state (e.g. billing_subscriptions rows, tier_id changes on the org).
BillingPlanResponse
BillingPlanResponse
BillingWebhookPayload
BillingWebhookPayload
BillingWebhookResponse
BillingWebhookResponse
BuildingUserResponse
BuildingUserResponse
CheckoutRequest
CheckoutRequest
CreateAccessInviteRequest
CreateAccessInviteRequest
CreateAccessInviteResponse
CreateAccessInviteResponse
CreateAccessPortalRequest
CreateAccessPortalRequest
CreateAccessPortalResponse
CreateAccessPortalResponse
CreateApiKeyRequest
CreateApiKeyRequest
CreateApiKeyResponse
Response for API key creation (token shown once).
CreateDeviceRequest
CreateDeviceRequest
CreateEntityRequest
CreateEntityRequest
CreateIntegrationRequest
CreateIntegrationRequest
CreateOrganizationRequest
CreateOrganizationRequest
CreateUserRequest
CreateUserRequest
CreateZoneRequest
CreateZoneRequest
DeleteRolesRequest
Request type for deleting roles (org_id -> list of role names).
Device
A physical or virtual device belonging to an org and integration.
DeviceEntityMetadataDefinitionQuery
DeviceEntityMetadataDefinitionQuery
DeviceMetadataDefinitionResponse
Device metadata definition response (schema + current data) for schema-driven edit UI.
DeviceResponse
DeviceResponse
DoorRestrictionsResponse
DoorRestrictionsResponse
EffectiveLimit
Resolved limit for (subject, key, period), with provenance so the dashboard can explain to admins which line of policy is in effect.
Entity
The actual controllable “button” or “sensor”.
EntityMetadataDefinitionResponse
EntityMetadataDefinitionResponse
EntityResponse
EntityResponse
EulaResponse
EULA content response
ExecuteScriptingRequest
ExecuteScriptingRequest
ExecuteScriptingResponse
ExecuteScriptingResponse
GetAccessPortalResponse
Response for get access portal by ID (includes integration_id for navigation).
HashMap
HashMap
Integration
Credential/Auth for a specific cloud instance.
IntegrationDeviceMetadataSchemaResponse
JSON Schema for devices.device_metadata for an integration’s provider (no device instance required).
IntegrationResponse
IntegrationResponse
InviteScheduleCombined
InviteScheduleCombined
InviteScheduleEntryInput
InviteScheduleEntryInput
InviteScheduleEntrySnapshot
InviteScheduleEntrySnapshot
InviteScheduleSnapshot
InviteScheduleSnapshot
InviteWindow
InviteWindow
LanAgentBootstrapTokenRequest
LanAgentBootstrapTokenRequest
LanAgentBootstrapTokenResponse
LanAgentBootstrapTokenResponse
LanAgentCliTokenResponse
LanAgentCliTokenResponse
LanAgentMetaResponse
LanAgentMetaResponse
LanAgentTaskSpecRequest
LanAgentTaskSpecRequest
LanAgentTaskSpecResponse
LanAgentTaskSpecResponse
LightsAutoOffDuration
Map of light entity ULID to auto-off duration in seconds. Serializes as JSON object with string keys.
ListDevicesQuery
ListDevicesQuery
ListEntitiesQuery
List entities for the organization context (X-Org).
ListIntegrationAccessInvitesResponse
ListIntegrationAccessInvitesResponse
ListIntegrationAccessPortalsResponse
ListIntegrationAccessPortalsResponse
ListIntegrationsQuery
ListIntegrationsQuery
ListOrgUsersQuery
ListOrgUsersQuery
ListOrgsQuery
ListOrgsQuery
LocalizedString
Localized string dictionary.
MeApartmentAsset
MeApartmentAsset
MeApartmentsResponse
MeApartmentsResponse
MeInvitationAsset
MeInvitationAsset
MeInvitationsResponse
MeInvitationsResponse
MePushSubscriptionStatusResponse
MePushSubscriptionStatusResponse
MePushVapidPublicKeyResponse
MePushVapidPublicKeyResponse
MultiResourceOutputOptions
Options for list and other multi-resource operations. Contains single-resource options in a flat manner plus only_deleted and pagination.
MultiResourceOutputOptionsQuery
MultiResourceOutputOptionsQuery
NotifyPortalMessageBody
NotifyPortalMessageBody
OrgPermissionsResponse
Permissions the current user has in this org (for UI: gray out / tooltips). Returns a list of permission keys (e.g. “users:create”, “users:list”) that the user is granted.
Organization
An organization (tenant) with optional parent for hierarchy.
OrganizationResponse
OrganizationResponse
PaginatedResponse
Paginated response body for list endpoints.
PaginatedResponseEntityResponse
Paginated response body for list endpoints.
PaginatedResponseEntityResponseItemsItem
PaginatedResponseEntityResponseItemsItem
PaginationQuery
Pagination query parameters. Flatten into list-endpoint query structs. When not provided, defaults to first page (limit from config, offset=0).
PatchEntityRequest
Shallow-merge into existing entity_metadata (PATCH). Does not replace the whole map.
PeerJsConfig
PeerJsConfig
PlanQuotaResponse
PlanQuotaResponse
PlanResponse
PlanResponse
PlansResponse
PlansResponse
PortalRequest
PortalRequest
PortalResponse
PortalResponse
PostMePushSubscriptionPayload
PostMePushSubscriptionPayload
PublicInviteExecuteRequest
PublicInviteExecuteRequest
PublicInviteExecuteResponse
PublicInviteExecuteResponse
PublicInviteResponse
PublicInviteResponse
PublicPortalCreateSessionRequest
PublicPortalCreateSessionRequest
PublicPortalCreateSessionResponse
PublicPortalCreateSessionResponse
PublicPortalLight
PublicPortalLight
PublicPortalOpenRateLimit
PublicPortalOpenRateLimit
PublicPortalReachableResponse
PublicPortalReachableResponse
PublicPortalResponse
PublicPortalResponse
PublicPortalTarget
PublicPortalTarget
PublicPortalTargetsResponse
PublicPortalTargetsResponse
PublicSessionResponse
PublicSessionResponse
PublicSessionStreamsResponse
PublicSessionStreamsResponse
QuotaOverrideRequest
QuotaOverrideRequest
QuotaReport
Full quota report for an org; powers /dashboard/billing.
QuotaUsage
Single (key, period) entry in a usage report.
Role
A role name (e.g. admin, users:read) assigned to a user in an org.
SearchUsersQuery
SearchUsersQuery
SetDoorRestrictionsPayload
SetDoorRestrictionsPayload
SingleResourceOutputOptions
Options for single-resource operations (get/create/update/delete/restore). Used when listing/filtering by only_deleted is not applicable.
SingleResourceOutputOptionsQuery
Query parameters for single-resource operations (get/create/update/delete/restore). Omits only_deleted since it only applies to list endpoints.
StorageFeatures
StorageFeatures
SubscriptionRef
External subscription reference.
UpdateAccessInviteRequest
UpdateAccessInviteRequest
UpdateAccessPortalRequest
UpdateAccessPortalRequest
UpdateApiKeyRequest
UpdateApiKeyRequest
UpdateDeviceRequest
UpdateDeviceRequest
UpdateEntityRequest
UpdateEntityRequest
UpdateIntegrationRequest
UpdateIntegrationRequest
UpdateOrganizationRequest
UpdateOrganizationRequest
UpdateUserRequest
UpdateUserRequest
UpdateZoneRequest
UpdateZoneRequest
User
A provisioned user (identity) in the system.
UserResponse
UserResponse
Zone
A logical or physical space (recursive for hierarchy).
ZoneResponse
ZoneResponse

Enums§

BillingEventKind
BillingEventKind
EntityType
Entity type (apartment, switch, light, sensor…).
IntegrationHealth
Integration status (active, disabled, error).
InviteRecurrenceSeriesEnd
How the recurring series ends (from invite_recurrence), for admin/public display.
InviteScheduleKind
InviteScheduleKind
LimitSource
LimitSource
ProviderType
Integration provider type (e.g. homeassistant, knx, mqtt).
PublicInviteGrant
PublicInviteGrant
PublicInviteState
PublicInviteState
PublicPortalMode
PublicPortalMode
PublicSessionRole
PublicSessionRole
QuotaKey
A metered resource. Lifetime keys count current rows in their source-of-truth table; temporal keys accumulate via usage_events + quota_counters.
QuotaPeriod
Window kind for a quota. Lifetime is “ever / right now”; Day/Week/Month reset on calendar boundaries (UTC); PerSession resets per opaque session id.