access_code_id
access_code_id: string
Optionalcannot_be_managed
cannot_be_managed?: boolean
Optionalcannot_delete_unmanaged_access_code
cannot_delete_unmanaged_access_code?: boolean
code
code: string | null
created_at
created_at: string
device_id
device_id: string
dormakaba_oracode_metadata?:
| {
is_cancellable?: boolean;
is_early_checkin_able?: boolean;
is_extendable?: boolean;
is_overridable?: boolean;
site_name?: string;
stay_id?: number;
user_level_id?: string;
user_level_name?: string
| null;
}
| null
Optionalends_at
ends_at?: string | null
errors
errors: (
| {
created_at?: string;
error_code: "provider_issue";
is_access_code_error: boolean;
message: string;
}
| {
created_at?: string;
error_code: "failed_to_set_on_device";
is_access_code_error: boolean;
message: string;
}
| {
created_at?: string;
error_code: "failed_to_remove_from_device";
is_access_code_error: boolean;
message: string;
}
| {
created_at?: string;
error_code: "duplicate_code_on_device";
is_access_code_error: boolean;
managed_access_code_id?: string;
message: string;
unmanaged_access_code_id?: string;
}
| {
created_at?: string;
error_code: "no_space_for_access_code_on_device";
is_access_code_error: boolean;
message: string;
}
| {
change_type?: "modified"
| "removed";
created_at?: string;
error_code: "conflicting_external_modification";
is_access_code_error: boolean;
message: string;
modified_fields?: {
field: string;
from: string | null;
to: string | null;
}[];
}
| {
created_at?: string;
error_code: "access_code_inactive";
is_access_code_error: boolean;
message: string;
}
| {
created_at?: string;
error_code: "insufficient_permissions";
is_access_code_error: boolean;
message: string;
}
| {
created_at: string;
error_code: "account_disconnected";
is_connected_account_error: boolean;
is_device_error: boolean;
message: string;
}
| {
created_at: string;
error_code: "salto_ks_subscription_limit_exceeded";
is_connected_account_error: boolean;
is_device_error: boolean;
message: string;
}
| {
created_at: string;
error_code: "dormakaba_sites_disconnected";
is_connected_account_error: boolean;
is_device_error: boolean;
message: string;
}
| {
created_at: string;
error_code: "device_offline";
is_device_error: boolean;
message: string;
}
| {
created_at: string;
error_code: "device_removed";
is_device_error: boolean;
message: string;
}
| {
created_at: string;
error_code: "hub_disconnected";
is_device_error: boolean;
message: string;
}
| {
created_at: string;
error_code: "device_disconnected";
is_device_error: boolean;
message: string;
}
| {
created_at: string;
error_code: "empty_backup_access_code_pool";
is_device_error: boolean;
message: string;
}
| {
created_at: string;
error_code: "august_lock_not_authorized";
is_device_error: boolean;
message: string;
}
| {
created_at: string;
error_code: "missing_device_credentials";
is_device_error: boolean;
message: string;
}
| {
created_at: string;
error_code: "auxiliary_heat_running";
is_device_error: boolean;
message: string;
}
| {
created_at: string;
error_code: "subscription_required";
is_device_error: boolean;
message: string;
}
| {
created_at: string;
error_code: "bridge_disconnected";
is_bridge_error?: boolean;
is_connected_account_error?: boolean;
message: string;
}
)[]
is_managed
is_managed: boolean
name
name: string | null
Optionalstarts_at
starts_at?: string | null
status
status: "set" | "unset"
type
type: "time_bound" | "ongoing"
warnings
warnings: (
| {
created_at?: string;
message: string;
warning_code: "code_rotates_periodically";
}
| {
created_at?: string;
message: string;
warning_code: "time_frame_adjusted_for_unknown_time_zone";
}
| {
change_type?: "modified"
| "removed";
created_at?: string;
message: string;
modified_fields?: {
field: string;
from: string | null;
to: string | null;
}[];
warning_code: "external_modification_in_effect";
}
| {
created_at?: string;
message: string;
warning_code: "delay_in_setting_on_device";
}
| {
created_at?: string;
message: string;
warning_code: "delay_in_removing_from_device";
}
| {
created_at?: string;
message: string;
warning_code: "third_party_integration_detected";
}
| {
created_at?: string;
message: string;
warning_code: "igloo_algopin_must_be_used_within_24_hours";
}
| {
created_at?: string;
message: string;
warning_code: "management_transferred";
}
| {
created_at?: string;
message: string;
warning_code: "using_backup_access_code";
}
| { created_at?: string; message: string; warning_code: "being_deleted" }
| {
created_at?: string;
message: string;
warning_code: "unknown_issue_with_access_code";
}
)[]
workspace_id
workspace_id: string