access_code_id
access_code_id: string
code
code: string | null
common_code_key
common_code_key: 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;
}
)[]
Optionalis_backup
is_backup?: boolean
is_backup_access_code_available
is_backup_access_code_available: boolean
is_external_modification_allowed
is_external_modification_allowed: boolean
is_managed
is_managed: boolean
is_offline_access_code
is_offline_access_code: boolean
is_one_time_use
is_one_time_use: boolean
Optionalis_scheduled_on_device
is_scheduled_on_device?: boolean
Optionalis_waiting_for_code_assignment
is_waiting_for_code_assignment?: boolean
name
name: string | null
pending_mutations
pending_mutations: (
| { created_at: string; message: string; mutation_code: "creating" }
| {
created_at: string;
message: string;
mutation_code: "deferring_creation";
scheduled_at: string;
}
| { created_at: string; message: string; mutation_code: "deleting" }
| {
created_at: string;
from: { code: string | null };
message: string;
mutation_code: "updating_code";
to: { code: string | null };
}
| {
created_at: string;
from: { name: string
| null };
message: string;
mutation_code: "updating_name";
to: { name: string | null };
}
| {
created_at: string;
from: { ends_at: string
| null; starts_at: string | null };
message: string;
mutation_code: "updating_time_frame";
to: { ends_at: string | null; starts_at: string | null };
}
)[]
Optionalpulled_backup_access_code_id
pulled_backup_access_code_id?: string | null
Optionalstarts_at
starts_at?: string | null
status
status: "setting" | "set" | "unset" | "removing" | "unknown"
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