ActionAttempt : | { action_attempt_id : string ; action_type : "LOCK_DOOR" ; error : { message : string ; type : string } ; result : { was_confirmed_by_device ?: boolean } ; status : "success" | "pending" | "error" ; } | { action_attempt_id : string ; action_type : "UNLOCK_DOOR" ; error : { message : string ; type : string } ; result : { was_confirmed_by_device ?: boolean } ; status : "success" | "pending" | "error" ; } | { action_attempt_id : string ; action_type : "SCAN_CREDENTIAL" ; error : { message : string ; type : | "uncategorized_error" | "action_attempt_expired" | "no_credential_on_encoder" | "encoder_not_online" | "encoder_communication_timeout" | "bridge_disconnected" ; } ; result : { acs_credential_on_encoder : | { card_number : string | null ; created_at : string | null ; ends_at : string | null ; is_issued : boolean | null ; starts_at : string | null ; visionline_metadata ?: { cancelled ?: boolean ; card_format ?: "TLCode" | "rfid48" ; card_holder ?: string ; card_id ?: string ; common_acs_entrance_ids ?: string [] ; discarded ?: boolean ; expired ?: boolean ; guest_acs_entrance_ids ?: string [] ; number_of_issued_cards ?: number ; overridden ?: boolean ; overwritten ?: boolean ; pending_auto_update ?: boolean ; } ; } | null ; acs_credential_on_seam : | { access_method : "code" | "card" | "mobile_key" | "cloud_key" ; acs_credential_id : string ; acs_credential_pool_id ?: string ; acs_system_id : string ; acs_user_id ?: string ; akiles_metadata ?: { member_pin_id ?: string } ; assa_abloy_vostio_metadata ?: { auto_join ?: boolean ; door_names ?: string [] ; endpoint_id ?: string ; key_id ?: string ; key_issuing_request_id ?: string ; override_guest_acs_entrance_ids ?: string [] ; } ; card_number ?: string | null ; code ?: string | null ; connected_account_id : string ; created_at : string ; display_name : string ; ends_at ?: string ; errors : { created_at : string ; error_code : string ; message : string } [] ; external_type ?: | "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | "dormakaba_ambiance_credential" | "hotek_card" | "salto_ks_tag" | "avigilon_alta_credential" | "kisi_credential" | "akiles_credential" ; external_type_display_name ?: string ; is_issued ?: boolean ; is_latest_desired_state_synced_with_provider ?: boolean | null ; is_managed : boolean ; is_multi_phone_sync_credential ?: boolean ; is_one_time_use ?: boolean ; issued_at ?: string | null ; latest_desired_state_synced_with_provider_at ?: string | null ; parent_acs_credential_id ?: string ; starts_at ?: string ; user_identity_id ?: string ; visionline_metadata ?: { auto_join ?: boolean ; card_function_type ?: "guest" | "staff" ; card_id ?: string ; common_acs_entrance_ids ?: string [] ; credential_id ?: string ; guest_acs_entrance_ids ?: string [] ; is_valid ?: boolean ; joiner_acs_credential_ids ?: string [] ; } ; warnings : { created_at : string ; message : string ; new_code ?: string ; original_code ?: string ; warning_code : | "waiting_to_be_issued" | "schedule_externally_modified" | "schedule_modified" | "being_deleted" | "unknown_issue_with_acs_credential" | "needs_to_be_reissued" | "requested_code_unavailable" ; } [] ; workspace_id : string ; } | null ; warnings : { warning_code : | "acs_credential_on_encoder_out_of_sync" | "acs_credential_on_seam_not_found" ; warning_message : string ; } [] ; } ; status : "success" | "pending" | "error" ; } | { action_attempt_id : string ; action_type : "ENCODE_CREDENTIAL" ; error : { message : string ; type : | "uncategorized_error" | "action_attempt_expired" | "no_credential_on_encoder" | "incompatible_card_format" | "credential_cannot_be_reissued" | "encoder_not_online" | "encoder_communication_timeout" | "bridge_disconnected" | "encoding_interrupted" | "credential_deleted" ; } ; result : { access_method : "code" | "card" | "mobile_key" | "cloud_key" ; acs_credential_id : string ; acs_credential_pool_id ?: string ; acs_system_id : string ; acs_user_id ?: string ; akiles_metadata ?: { member_pin_id ?: string } ; assa_abloy_vostio_metadata ?: { auto_join ?: boolean ; door_names ?: string [] ; endpoint_id ?: string ; key_id ?: string ; key_issuing_request_id ?: string ; override_guest_acs_entrance_ids ?: string [] ; } ; card_number ?: string | null ; code ?: string | null ; connected_account_id : string ; created_at : string ; display_name : string ; ends_at ?: string ; errors : { created_at : string ; error_code : string ; message : string } [] ; external_type ?: | "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | "dormakaba_ambiance_credential" | "hotek_card" | "salto_ks_tag" | "avigilon_alta_credential" | "kisi_credential" | "akiles_credential" ; external_type_display_name ?: string ; is_issued ?: boolean ; is_latest_desired_state_synced_with_provider ?: boolean | null ; is_managed : boolean ; is_multi_phone_sync_credential ?: boolean ; is_one_time_use ?: boolean ; issued_at ?: string | null ; latest_desired_state_synced_with_provider_at ?: string | null ; parent_acs_credential_id ?: string ; starts_at ?: string ; user_identity_id ?: string ; visionline_metadata ?: { auto_join ?: boolean ; card_function_type ?: "guest" | "staff" ; card_id ?: string ; common_acs_entrance_ids ?: string [] ; credential_id ?: string ; guest_acs_entrance_ids ?: string [] ; is_valid ?: boolean ; joiner_acs_credential_ids ?: string [] ; } ; warnings : { created_at : string ; message : string ; new_code ?: string ; original_code ?: string ; warning_code : | "waiting_to_be_issued" | "schedule_externally_modified" | "schedule_modified" | "being_deleted" | "unknown_issue_with_acs_credential" | "needs_to_be_reissued" | "requested_code_unavailable" ; } [] ; workspace_id : string ; } ; status : "success" | "pending" | "error" ; } | { action_attempt_id : string ; action_type : "SCAN_TO_ASSIGN_CREDENTIAL" ; error : { message : string ; type : | "uncategorized_error" | "action_attempt_expired" | "no_credential_on_encoder" ; } ; result : { access_method : "code" | "card" | "mobile_key" | "cloud_key" ; acs_credential_id : string ; acs_credential_pool_id ?: string ; acs_system_id : string ; acs_user_id ?: string ; akiles_metadata ?: { member_pin_id ?: string } ; assa_abloy_vostio_metadata ?: { auto_join ?: boolean ; door_names ?: string [] ; endpoint_id ?: string ; key_id ?: string ; key_issuing_request_id ?: string ; override_guest_acs_entrance_ids ?: string [] ; } ; card_number ?: string | null ; code ?: string | null ; connected_account_id : string ; created_at : string ; display_name : string ; ends_at ?: string ; errors : { created_at : string ; error_code : string ; message : string } [] ; external_type ?: | "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | "dormakaba_ambiance_credential" | "hotek_card" | "salto_ks_tag" | "avigilon_alta_credential" | "kisi_credential" | "akiles_credential" ; external_type_display_name ?: string ; is_issued ?: boolean ; is_latest_desired_state_synced_with_provider ?: boolean | null ; is_managed : boolean ; is_multi_phone_sync_credential ?: boolean ; is_one_time_use ?: boolean ; issued_at ?: string | null ; latest_desired_state_synced_with_provider_at ?: string | null ; parent_acs_credential_id ?: string ; starts_at ?: string ; user_identity_id ?: string ; visionline_metadata ?: { auto_join ?: boolean ; card_function_type ?: "guest" | "staff" ; card_id ?: string ; common_acs_entrance_ids ?: string [] ; credential_id ?: string ; guest_acs_entrance_ids ?: string [] ; is_valid ?: boolean ; joiner_acs_credential_ids ?: string [] ; } ; warnings : { created_at : string ; message : string ; new_code ?: string ; original_code ?: string ; warning_code : | "waiting_to_be_issued" | "schedule_externally_modified" | "schedule_modified" | "being_deleted" | "unknown_issue_with_acs_credential" | "needs_to_be_reissued" | "requested_code_unavailable" ; } [] ; workspace_id : string ; } ; status : "success" | "pending" | "error" ; } | { action_attempt_id : string ; action_type : "ASSIGN_CREDENTIAL" ; error : { message : string ; type : | "uncategorized_error" | "action_attempt_expired" | "credential_not_found" ; } ; result : { access_method_id : string ; client_session_token ?: string ; code ?: string | null ; created_at : string ; customization_profile_id ?: string ; display_name : string ; errors : { created_at : string ; error_code : "failed_to_issue" ; message : string ; } [] ; instant_key_url ?: string ; is_assignment_required ?: boolean ; is_encoding_required ?: boolean ; is_issued : boolean ; is_ready_for_assignment ?: boolean ; is_ready_for_encoding ?: boolean ; issued_at : string | null ; mode : "code" | "card" | "mobile_key" | "cloud_key" ; pending_mutations : { created_at : string ; from : { ends_at : string | null ; starts_at : string | null } ; message : string ; mutation_code : | "provisioning_access" | "revoking_access" | "updating_access_times" ; to : { ends_at : string | null ; starts_at : string | null } ; } [] ; warnings : { created_at : string ; message : string ; original_access_method_id ?: string ; warning_code : | "being_deleted" | "updating_access_times" | "pulled_backup_access_code" | "delay_in_issuing" ; } [] ; workspace_id : string ; } ; status : "success" | "pending" | "error" ; } | { action_attempt_id : string ; action_type : "RESET_SANDBOX_WORKSPACE" ; error : { message : string ; type : string } ; result : {} ; status : "success" | "pending" | "error" ; } | { action_attempt_id : string ; action_type : "SET_FAN_MODE" ; error : { message : string ; type : string } ; result : {} ; status : "success" | "pending" | "error" ; } | { action_attempt_id : string ; action_type : "SET_HVAC_MODE" ; error : { message : string ; type : string } ; result : {} ; status : "success" | "pending" | "error" ; } | { action_attempt_id : string ; action_type : "ACTIVATE_CLIMATE_PRESET" ; error : { message : string ; type : string } ; result : {} ; status : "success" | "pending" | "error" ; } | { action_attempt_id : string ; action_type : "SIMULATE_KEYPAD_CODE_ENTRY" ; error : { message : string ; type : string } ; result : {} ; status : "success" | "pending" | "error" ; } | { action_attempt_id : string ; action_type : "SIMULATE_MANUAL_LOCK_VIA_KEYPAD" ; error : { message : string ; type : string } ; result : {} ; status : "success" | "pending" | "error" ; } | { action_attempt_id : string ; action_type : "PUSH_THERMOSTAT_PROGRAMS" ; error : { message : string ; type : string } ; result : {} ; status : "success" | "pending" | "error" ; } | { action_attempt_id : string ; action_type : "CONFIGURE_AUTO_LOCK" ; error : { message : string ; type : string } ; result : {} ; status : "success" | "pending" | "error" ; } | { action_attempt_id : string ; action_type : "SYNC_ACCESS_CODES" ; error : { message : string ; type : string } ; result : {} ; status : "success" | "pending" | "error" ; } | { action_attempt_id : string ; action_type : "CREATE_ACCESS_CODE" ; error : { message : string ; type : string } ; result : { access_code : Record < string , unknown > } ; status : "success" | "pending" | "error" ; } | { action_attempt_id : string ; action_type : "DELETE_ACCESS_CODE" ; error : { message : string ; type : string } ; result : {} ; status : "success" | "pending" | "error" ; } | { action_attempt_id : string ; action_type : "UPDATE_ACCESS_CODE" ; error : { message : string ; type : string } ; result : { access_code ?: Record < string , unknown > } ; status : "success" | "pending" | "error" ; } | { action_attempt_id : string ; action_type : "CREATE_NOISE_THRESHOLD" ; error : { message : string ; type : string } ; result : { noise_threshold : Record < string , unknown > } ; status : "success" | "pending" | "error" ; } | { action_attempt_id : string ; action_type : "DELETE_NOISE_THRESHOLD" ; error : { message : string ; type : string } ; result : {} ; status : "success" | "pending" | "error" ; } | { action_attempt_id : string ; action_type : "UPDATE_NOISE_THRESHOLD" ; error : { message : string ; type : string } ; result : { noise_threshold : Record < string , unknown > } ; status : "success" | "pending" | "error" ; }
Type Declaration
{ action_attempt_id : string ; action_type : "LOCK_DOOR" ; error : { message : string ; type : string } ; result : { was_confirmed_by_device ?: boolean } ; status : "success" | "pending" | "error" ; }
action_attempt_id : string
action_type : "LOCK_DOOR"
error : { message : string ; type : string }
message : string
type : string
result : { was_confirmed_by_device ?: boolean }
Optionalwas_confirmed_by_device ?: boolean
status : "success" | "pending" | "error"
{ action_attempt_id : string ; action_type : "UNLOCK_DOOR" ; error : { message : string ; type : string } ; result : { was_confirmed_by_device ?: boolean } ; status : "success" | "pending" | "error" ; }
action_attempt_id : string
action_type : "UNLOCK_DOOR"
error : { message : string ; type : string }
message : string
type : string
result : { was_confirmed_by_device ?: boolean }
Optionalwas_confirmed_by_device ?: boolean
status : "success" | "pending" | "error"
{ action_attempt_id : string ; action_type : "SCAN_CREDENTIAL" ; error : { message : string ; type : | "uncategorized_error" | "action_attempt_expired" | "no_credential_on_encoder" | "encoder_not_online" | "encoder_communication_timeout" | "bridge_disconnected" ; } ; result : { acs_credential_on_encoder : | { card_number : string | null ; created_at : string | null ; ends_at : string | null ; is_issued : boolean | null ; starts_at : string | null ; visionline_metadata ?: { cancelled ?: boolean ; card_format ?: "TLCode" | "rfid48" ; card_holder ?: string ; card_id ?: string ; common_acs_entrance_ids ?: string [] ; discarded ?: boolean ; expired ?: boolean ; guest_acs_entrance_ids ?: string [] ; number_of_issued_cards ?: number ; overridden ?: boolean ; overwritten ?: boolean ; pending_auto_update ?: boolean ; } ; } | null ; acs_credential_on_seam : | { access_method : "code" | "card" | "mobile_key" | "cloud_key" ; acs_credential_id : string ; acs_credential_pool_id ?: string ; acs_system_id : string ; acs_user_id ?: string ; akiles_metadata ?: { member_pin_id ?: string } ; assa_abloy_vostio_metadata ?: { auto_join ?: boolean ; door_names ?: string [] ; endpoint_id ?: string ; key_id ?: string ; key_issuing_request_id ?: string ; override_guest_acs_entrance_ids ?: string [] ; } ; card_number ?: string | null ; code ?: string | null ; connected_account_id : string ; created_at : string ; display_name : string ; ends_at ?: string ; errors : { created_at : string ; error_code : string ; message : string } [] ; external_type ?: | "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | "dormakaba_ambiance_credential" | "hotek_card" | "salto_ks_tag" | "avigilon_alta_credential" | "kisi_credential" | "akiles_credential" ; external_type_display_name ?: string ; is_issued ?: boolean ; is_latest_desired_state_synced_with_provider ?: boolean | null ; is_managed : boolean ; is_multi_phone_sync_credential ?: boolean ; is_one_time_use ?: boolean ; issued_at ?: string | null ; latest_desired_state_synced_with_provider_at ?: string | null ; parent_acs_credential_id ?: string ; starts_at ?: string ; user_identity_id ?: string ; visionline_metadata ?: { auto_join ?: boolean ; card_function_type ?: "guest" | "staff" ; card_id ?: string ; common_acs_entrance_ids ?: string [] ; credential_id ?: string ; guest_acs_entrance_ids ?: string [] ; is_valid ?: boolean ; joiner_acs_credential_ids ?: string [] ; } ; warnings : { created_at : string ; message : string ; new_code ?: string ; original_code ?: string ; warning_code : | "waiting_to_be_issued" | "schedule_externally_modified" | "schedule_modified" | "being_deleted" | "unknown_issue_with_acs_credential" | "needs_to_be_reissued" | "requested_code_unavailable" ; } [] ; workspace_id : string ; } | null ; warnings : { warning_code : | "acs_credential_on_encoder_out_of_sync" | "acs_credential_on_seam_not_found" ; warning_message : string ; } [] ; } ; status : "success" | "pending" | "error" ; }
action_attempt_id : string
action_type : "SCAN_CREDENTIAL"
error : { message : string ; type : | "uncategorized_error" | "action_attempt_expired" | "no_credential_on_encoder" | "encoder_not_online" | "encoder_communication_timeout" | "bridge_disconnected" ; }
message : string
type : | "uncategorized_error" | "action_attempt_expired" | "no_credential_on_encoder" | "encoder_not_online" | "encoder_communication_timeout" | "bridge_disconnected"
result : { acs_credential_on_encoder : | { card_number : string | null ; created_at : string | null ; ends_at : string | null ; is_issued : boolean | null ; starts_at : string | null ; visionline_metadata ?: { cancelled ?: boolean ; card_format ?: "TLCode" | "rfid48" ; card_holder ?: string ; card_id ?: string ; common_acs_entrance_ids ?: string [] ; discarded ?: boolean ; expired ?: boolean ; guest_acs_entrance_ids ?: string [] ; number_of_issued_cards ?: number ; overridden ?: boolean ; overwritten ?: boolean ; pending_auto_update ?: boolean ; } ; } | null ; acs_credential_on_seam : | { access_method : "code" | "card" | "mobile_key" | "cloud_key" ; acs_credential_id : string ; acs_credential_pool_id ?: string ; acs_system_id : string ; acs_user_id ?: string ; akiles_metadata ?: { member_pin_id ?: string } ; assa_abloy_vostio_metadata ?: { auto_join ?: boolean ; door_names ?: string [] ; endpoint_id ?: string ; key_id ?: string ; key_issuing_request_id ?: string ; override_guest_acs_entrance_ids ?: string [] ; } ; card_number ?: string | null ; code ?: string | null ; connected_account_id : string ; created_at : string ; display_name : string ; ends_at ?: string ; errors : { created_at : string ; error_code : string ; message : string } [] ; external_type ?: | "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | "dormakaba_ambiance_credential" | "hotek_card" | "salto_ks_tag" | "avigilon_alta_credential" | "kisi_credential" | "akiles_credential" ; external_type_display_name ?: string ; is_issued ?: boolean ; is_latest_desired_state_synced_with_provider ?: boolean | null ; is_managed : boolean ; is_multi_phone_sync_credential ?: boolean ; is_one_time_use ?: boolean ; issued_at ?: string | null ; latest_desired_state_synced_with_provider_at ?: string | null ; parent_acs_credential_id ?: string ; starts_at ?: string ; user_identity_id ?: string ; visionline_metadata ?: { auto_join ?: boolean ; card_function_type ?: "guest" | "staff" ; card_id ?: string ; common_acs_entrance_ids ?: string [] ; credential_id ?: string ; guest_acs_entrance_ids ?: string [] ; is_valid ?: boolean ; joiner_acs_credential_ids ?: string [] ; } ; warnings : { created_at : string ; message : string ; new_code ?: string ; original_code ?: string ; warning_code : | "waiting_to_be_issued" | "schedule_externally_modified" | "schedule_modified" | "being_deleted" | "unknown_issue_with_acs_credential" | "needs_to_be_reissued" | "requested_code_unavailable" ; } [] ; workspace_id : string ; } | null ; warnings : { warning_code : | "acs_credential_on_encoder_out_of_sync" | "acs_credential_on_seam_not_found" ; warning_message : string ; } [] ; }
acs_credential_on_encoder : | { card_number : string | null ; created_at : string | null ; ends_at : string | null ; is_issued : boolean | null ; starts_at : string | null ; visionline_metadata ?: { cancelled ?: boolean ; card_format ?: "TLCode" | "rfid48" ; card_holder ?: string ; card_id ?: string ; common_acs_entrance_ids ?: string [] ; discarded ?: boolean ; expired ?: boolean ; guest_acs_entrance_ids ?: string [] ; number_of_issued_cards ?: number ; overridden ?: boolean ; overwritten ?: boolean ; pending_auto_update ?: boolean ; } ; } | null
acs_credential_on_seam : | { access_method : "code" | "card" | "mobile_key" | "cloud_key" ; acs_credential_id : string ; acs_credential_pool_id ?: string ; acs_system_id : string ; acs_user_id ?: string ; akiles_metadata ?: { member_pin_id ?: string } ; assa_abloy_vostio_metadata ?: { auto_join ?: boolean ; door_names ?: string [] ; endpoint_id ?: string ; key_id ?: string ; key_issuing_request_id ?: string ; override_guest_acs_entrance_ids ?: string [] ; } ; card_number ?: string | null ; code ?: string | null ; connected_account_id : string ; created_at : string ; display_name : string ; ends_at ?: string ; errors : { created_at : string ; error_code : string ; message : string } [] ; external_type ?: | "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | "dormakaba_ambiance_credential" | "hotek_card" | "salto_ks_tag" | "avigilon_alta_credential" | "kisi_credential" | "akiles_credential" ; external_type_display_name ?: string ; is_issued ?: boolean ; is_latest_desired_state_synced_with_provider ?: boolean | null ; is_managed : boolean ; is_multi_phone_sync_credential ?: boolean ; is_one_time_use ?: boolean ; issued_at ?: string | null ; latest_desired_state_synced_with_provider_at ?: string | null ; parent_acs_credential_id ?: string ; starts_at ?: string ; user_identity_id ?: string ; visionline_metadata ?: { auto_join ?: boolean ; card_function_type ?: "guest" | "staff" ; card_id ?: string ; common_acs_entrance_ids ?: string [] ; credential_id ?: string ; guest_acs_entrance_ids ?: string [] ; is_valid ?: boolean ; joiner_acs_credential_ids ?: string [] ; } ; warnings : { created_at : string ; message : string ; new_code ?: string ; original_code ?: string ; warning_code : | "waiting_to_be_issued" | "schedule_externally_modified" | "schedule_modified" | "being_deleted" | "unknown_issue_with_acs_credential" | "needs_to_be_reissued" | "requested_code_unavailable" ; } [] ; workspace_id : string ; } | null
warnings : { warning_code : | "acs_credential_on_encoder_out_of_sync" | "acs_credential_on_seam_not_found" ; warning_message : string ; } []
status : "success" | "pending" | "error"
{ action_attempt_id : string ; action_type : "ENCODE_CREDENTIAL" ; error : { message : string ; type : | "uncategorized_error" | "action_attempt_expired" | "no_credential_on_encoder" | "incompatible_card_format" | "credential_cannot_be_reissued" | "encoder_not_online" | "encoder_communication_timeout" | "bridge_disconnected" | "encoding_interrupted" | "credential_deleted" ; } ; result : { access_method : "code" | "card" | "mobile_key" | "cloud_key" ; acs_credential_id : string ; acs_credential_pool_id ?: string ; acs_system_id : string ; acs_user_id ?: string ; akiles_metadata ?: { member_pin_id ?: string } ; assa_abloy_vostio_metadata ?: { auto_join ?: boolean ; door_names ?: string [] ; endpoint_id ?: string ; key_id ?: string ; key_issuing_request_id ?: string ; override_guest_acs_entrance_ids ?: string [] ; } ; card_number ?: string | null ; code ?: string | null ; connected_account_id : string ; created_at : string ; display_name : string ; ends_at ?: string ; errors : { created_at : string ; error_code : string ; message : string } [] ; external_type ?: | "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | "dormakaba_ambiance_credential" | "hotek_card" | "salto_ks_tag" | "avigilon_alta_credential" | "kisi_credential" | "akiles_credential" ; external_type_display_name ?: string ; is_issued ?: boolean ; is_latest_desired_state_synced_with_provider ?: boolean | null ; is_managed : boolean ; is_multi_phone_sync_credential ?: boolean ; is_one_time_use ?: boolean ; issued_at ?: string | null ; latest_desired_state_synced_with_provider_at ?: string | null ; parent_acs_credential_id ?: string ; starts_at ?: string ; user_identity_id ?: string ; visionline_metadata ?: { auto_join ?: boolean ; card_function_type ?: "guest" | "staff" ; card_id ?: string ; common_acs_entrance_ids ?: string [] ; credential_id ?: string ; guest_acs_entrance_ids ?: string [] ; is_valid ?: boolean ; joiner_acs_credential_ids ?: string [] ; } ; warnings : { created_at : string ; message : string ; new_code ?: string ; original_code ?: string ; warning_code : | "waiting_to_be_issued" | "schedule_externally_modified" | "schedule_modified" | "being_deleted" | "unknown_issue_with_acs_credential" | "needs_to_be_reissued" | "requested_code_unavailable" ; } [] ; workspace_id : string ; } ; status : "success" | "pending" | "error" ; }
action_attempt_id : string
action_type : "ENCODE_CREDENTIAL"
error : { message : string ; type : | "uncategorized_error" | "action_attempt_expired" | "no_credential_on_encoder" | "incompatible_card_format" | "credential_cannot_be_reissued" | "encoder_not_online" | "encoder_communication_timeout" | "bridge_disconnected" | "encoding_interrupted" | "credential_deleted" ; }
message : string
type : | "uncategorized_error" | "action_attempt_expired" | "no_credential_on_encoder" | "incompatible_card_format" | "credential_cannot_be_reissued" | "encoder_not_online" | "encoder_communication_timeout" | "bridge_disconnected" | "encoding_interrupted" | "credential_deleted"
result : { access_method : "code" | "card" | "mobile_key" | "cloud_key" ; acs_credential_id : string ; acs_credential_pool_id ?: string ; acs_system_id : string ; acs_user_id ?: string ; akiles_metadata ?: { member_pin_id ?: string } ; assa_abloy_vostio_metadata ?: { auto_join ?: boolean ; door_names ?: string [] ; endpoint_id ?: string ; key_id ?: string ; key_issuing_request_id ?: string ; override_guest_acs_entrance_ids ?: string [] ; } ; card_number ?: string | null ; code ?: string | null ; connected_account_id : string ; created_at : string ; display_name : string ; ends_at ?: string ; errors : { created_at : string ; error_code : string ; message : string } [] ; external_type ?: | "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | "dormakaba_ambiance_credential" | "hotek_card" | "salto_ks_tag" | "avigilon_alta_credential" | "kisi_credential" | "akiles_credential" ; external_type_display_name ?: string ; is_issued ?: boolean ; is_latest_desired_state_synced_with_provider ?: boolean | null ; is_managed : boolean ; is_multi_phone_sync_credential ?: boolean ; is_one_time_use ?: boolean ; issued_at ?: string | null ; latest_desired_state_synced_with_provider_at ?: string | null ; parent_acs_credential_id ?: string ; starts_at ?: string ; user_identity_id ?: string ; visionline_metadata ?: { auto_join ?: boolean ; card_function_type ?: "guest" | "staff" ; card_id ?: string ; common_acs_entrance_ids ?: string [] ; credential_id ?: string ; guest_acs_entrance_ids ?: string [] ; is_valid ?: boolean ; joiner_acs_credential_ids ?: string [] ; } ; warnings : { created_at : string ; message : string ; new_code ?: string ; original_code ?: string ; warning_code : | "waiting_to_be_issued" | "schedule_externally_modified" | "schedule_modified" | "being_deleted" | "unknown_issue_with_acs_credential" | "needs_to_be_reissued" | "requested_code_unavailable" ; } [] ; workspace_id : string ; }
access_method : "code" | "card" | "mobile_key" | "cloud_key"
acs_credential_id : string
Optionalacs_credential_pool_id ?: string
acs_system_id : string
Optionalacs_user_id ?: string
Optionalakiles_metadata ?: { member_pin_id ?: string }
Optionalmember_pin_id ?: string
Optionalassa_abloy_vostio_metadata ?: { auto_join ?: boolean ; door_names ?: string [] ; endpoint_id ?: string ; key_id ?: string ; key_issuing_request_id ?: string ; override_guest_acs_entrance_ids ?: string [] ; }
Optionalauto_join ?: boolean
Optionaldoor_names ?: string []
Optionalendpoint_id ?: string
Optionalkey_id ?: string
Optionalkey_issuing_request_id ?: string
Optionaloverride_guest_acs_entrance_ids ?: string []
Optionalcard_number ?: string | null
Optionalcode ?: string | null
connected_account_id : string
created_at : string
display_name : string
Optionalends_at ?: string
errors : { created_at : string ; error_code : string ; message : string } []
Optionalexternal_type ?: | "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | "dormakaba_ambiance_credential" | "hotek_card" | "salto_ks_tag" | "avigilon_alta_credential" | "kisi_credential" | "akiles_credential"
Optionalexternal_type_display_name ?: string
Optionalis_issued ?: boolean
Optionalis_latest_desired_state_synced_with_provider ?: boolean | null
is_managed : boolean
Optionalis_multi_phone_sync_credential ?: boolean
Optionalis_one_time_use ?: boolean
Optionalissued_at ?: string | null
Optionallatest_desired_state_synced_with_provider_at ?: string | null
Optionalparent_acs_credential_id ?: string
Optionalstarts_at ?: string
Optionaluser_identity_id ?: string
Optionalvisionline_metadata ?: { auto_join ?: boolean ; card_function_type ?: "guest" | "staff" ; card_id ?: string ; common_acs_entrance_ids ?: string [] ; credential_id ?: string ; guest_acs_entrance_ids ?: string [] ; is_valid ?: boolean ; joiner_acs_credential_ids ?: string [] ; }
Optionalauto_join ?: boolean
Optionalcard_function_type ?: "guest" | "staff"
Optionalcard_id ?: string
Optionalcommon_acs_entrance_ids ?: string []
Optionalcredential_id ?: string
Optionalguest_acs_entrance_ids ?: string []
Optionalis_valid ?: boolean
Optionaljoiner_acs_credential_ids ?: string []
warnings : { created_at : string ; message : string ; new_code ?: string ; original_code ?: string ; warning_code : | "waiting_to_be_issued" | "schedule_externally_modified" | "schedule_modified" | "being_deleted" | "unknown_issue_with_acs_credential" | "needs_to_be_reissued" | "requested_code_unavailable" ; } []
workspace_id : string
status : "success" | "pending" | "error"
{ action_attempt_id : string ; action_type : "SCAN_TO_ASSIGN_CREDENTIAL" ; error : { message : string ; type : | "uncategorized_error" | "action_attempt_expired" | "no_credential_on_encoder" ; } ; result : { access_method : "code" | "card" | "mobile_key" | "cloud_key" ; acs_credential_id : string ; acs_credential_pool_id ?: string ; acs_system_id : string ; acs_user_id ?: string ; akiles_metadata ?: { member_pin_id ?: string } ; assa_abloy_vostio_metadata ?: { auto_join ?: boolean ; door_names ?: string [] ; endpoint_id ?: string ; key_id ?: string ; key_issuing_request_id ?: string ; override_guest_acs_entrance_ids ?: string [] ; } ; card_number ?: string | null ; code ?: string | null ; connected_account_id : string ; created_at : string ; display_name : string ; ends_at ?: string ; errors : { created_at : string ; error_code : string ; message : string } [] ; external_type ?: | "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | "dormakaba_ambiance_credential" | "hotek_card" | "salto_ks_tag" | "avigilon_alta_credential" | "kisi_credential" | "akiles_credential" ; external_type_display_name ?: string ; is_issued ?: boolean ; is_latest_desired_state_synced_with_provider ?: boolean | null ; is_managed : boolean ; is_multi_phone_sync_credential ?: boolean ; is_one_time_use ?: boolean ; issued_at ?: string | null ; latest_desired_state_synced_with_provider_at ?: string | null ; parent_acs_credential_id ?: string ; starts_at ?: string ; user_identity_id ?: string ; visionline_metadata ?: { auto_join ?: boolean ; card_function_type ?: "guest" | "staff" ; card_id ?: string ; common_acs_entrance_ids ?: string [] ; credential_id ?: string ; guest_acs_entrance_ids ?: string [] ; is_valid ?: boolean ; joiner_acs_credential_ids ?: string [] ; } ; warnings : { created_at : string ; message : string ; new_code ?: string ; original_code ?: string ; warning_code : | "waiting_to_be_issued" | "schedule_externally_modified" | "schedule_modified" | "being_deleted" | "unknown_issue_with_acs_credential" | "needs_to_be_reissued" | "requested_code_unavailable" ; } [] ; workspace_id : string ; } ; status : "success" | "pending" | "error" ; }
action_attempt_id : string
action_type : "SCAN_TO_ASSIGN_CREDENTIAL"
error : { message : string ; type : | "uncategorized_error" | "action_attempt_expired" | "no_credential_on_encoder" ; }
message : string
type : "uncategorized_error" | "action_attempt_expired" | "no_credential_on_encoder"
result : { access_method : "code" | "card" | "mobile_key" | "cloud_key" ; acs_credential_id : string ; acs_credential_pool_id ?: string ; acs_system_id : string ; acs_user_id ?: string ; akiles_metadata ?: { member_pin_id ?: string } ; assa_abloy_vostio_metadata ?: { auto_join ?: boolean ; door_names ?: string [] ; endpoint_id ?: string ; key_id ?: string ; key_issuing_request_id ?: string ; override_guest_acs_entrance_ids ?: string [] ; } ; card_number ?: string | null ; code ?: string | null ; connected_account_id : string ; created_at : string ; display_name : string ; ends_at ?: string ; errors : { created_at : string ; error_code : string ; message : string } [] ; external_type ?: | "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | "dormakaba_ambiance_credential" | "hotek_card" | "salto_ks_tag" | "avigilon_alta_credential" | "kisi_credential" | "akiles_credential" ; external_type_display_name ?: string ; is_issued ?: boolean ; is_latest_desired_state_synced_with_provider ?: boolean | null ; is_managed : boolean ; is_multi_phone_sync_credential ?: boolean ; is_one_time_use ?: boolean ; issued_at ?: string | null ; latest_desired_state_synced_with_provider_at ?: string | null ; parent_acs_credential_id ?: string ; starts_at ?: string ; user_identity_id ?: string ; visionline_metadata ?: { auto_join ?: boolean ; card_function_type ?: "guest" | "staff" ; card_id ?: string ; common_acs_entrance_ids ?: string [] ; credential_id ?: string ; guest_acs_entrance_ids ?: string [] ; is_valid ?: boolean ; joiner_acs_credential_ids ?: string [] ; } ; warnings : { created_at : string ; message : string ; new_code ?: string ; original_code ?: string ; warning_code : | "waiting_to_be_issued" | "schedule_externally_modified" | "schedule_modified" | "being_deleted" | "unknown_issue_with_acs_credential" | "needs_to_be_reissued" | "requested_code_unavailable" ; } [] ; workspace_id : string ; }
access_method : "code" | "card" | "mobile_key" | "cloud_key"
acs_credential_id : string
Optionalacs_credential_pool_id ?: string
acs_system_id : string
Optionalacs_user_id ?: string
Optionalakiles_metadata ?: { member_pin_id ?: string }
Optionalmember_pin_id ?: string
Optionalassa_abloy_vostio_metadata ?: { auto_join ?: boolean ; door_names ?: string [] ; endpoint_id ?: string ; key_id ?: string ; key_issuing_request_id ?: string ; override_guest_acs_entrance_ids ?: string [] ; }
Optionalauto_join ?: boolean
Optionaldoor_names ?: string []
Optionalendpoint_id ?: string
Optionalkey_id ?: string
Optionalkey_issuing_request_id ?: string
Optionaloverride_guest_acs_entrance_ids ?: string []
Optionalcard_number ?: string | null
Optionalcode ?: string | null
connected_account_id : string
created_at : string
display_name : string
Optionalends_at ?: string
errors : { created_at : string ; error_code : string ; message : string } []
Optionalexternal_type ?: | "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" | "latch_access" | "dormakaba_ambiance_credential" | "hotek_card" | "salto_ks_tag" | "avigilon_alta_credential" | "kisi_credential" | "akiles_credential"
Optionalexternal_type_display_name ?: string
Optionalis_issued ?: boolean
Optionalis_latest_desired_state_synced_with_provider ?: boolean | null
is_managed : boolean
Optionalis_multi_phone_sync_credential ?: boolean
Optionalis_one_time_use ?: boolean
Optionalissued_at ?: string | null
Optionallatest_desired_state_synced_with_provider_at ?: string | null
Optionalparent_acs_credential_id ?: string
Optionalstarts_at ?: string
Optionaluser_identity_id ?: string
Optionalvisionline_metadata ?: { auto_join ?: boolean ; card_function_type ?: "guest" | "staff" ; card_id ?: string ; common_acs_entrance_ids ?: string [] ; credential_id ?: string ; guest_acs_entrance_ids ?: string [] ; is_valid ?: boolean ; joiner_acs_credential_ids ?: string [] ; }
Optionalauto_join ?: boolean
Optionalcard_function_type ?: "guest" | "staff"
Optionalcard_id ?: string
Optionalcommon_acs_entrance_ids ?: string []
Optionalcredential_id ?: string
Optionalguest_acs_entrance_ids ?: string []
Optionalis_valid ?: boolean
Optionaljoiner_acs_credential_ids ?: string []
warnings : { created_at : string ; message : string ; new_code ?: string ; original_code ?: string ; warning_code : | "waiting_to_be_issued" | "schedule_externally_modified" | "schedule_modified" | "being_deleted" | "unknown_issue_with_acs_credential" | "needs_to_be_reissued" | "requested_code_unavailable" ; } []
workspace_id : string
status : "success" | "pending" | "error"
{ action_attempt_id : string ; action_type : "ASSIGN_CREDENTIAL" ; error : { message : string ; type : | "uncategorized_error" | "action_attempt_expired" | "credential_not_found" ; } ; result : { access_method_id : string ; client_session_token ?: string ; code ?: string | null ; created_at : string ; customization_profile_id ?: string ; display_name : string ; errors : { created_at : string ; error_code : "failed_to_issue" ; message : string ; } [] ; instant_key_url ?: string ; is_assignment_required ?: boolean ; is_encoding_required ?: boolean ; is_issued : boolean ; is_ready_for_assignment ?: boolean ; is_ready_for_encoding ?: boolean ; issued_at : string | null ; mode : "code" | "card" | "mobile_key" | "cloud_key" ; pending_mutations : { created_at : string ; from : { ends_at : string | null ; starts_at : string | null } ; message : string ; mutation_code : | "provisioning_access" | "revoking_access" | "updating_access_times" ; to : { ends_at : string | null ; starts_at : string | null } ; } [] ; warnings : { created_at : string ; message : string ; original_access_method_id ?: string ; warning_code : | "being_deleted" | "updating_access_times" | "pulled_backup_access_code" | "delay_in_issuing" ; } [] ; workspace_id : string ; } ; status : "success" | "pending" | "error" ; }
action_attempt_id : string
action_type : "ASSIGN_CREDENTIAL"
error : { message : string ; type : | "uncategorized_error" | "action_attempt_expired" | "credential_not_found" ; }
message : string
type : "uncategorized_error" | "action_attempt_expired" | "credential_not_found"
result : { access_method_id : string ; client_session_token ?: string ; code ?: string | null ; created_at : string ; customization_profile_id ?: string ; display_name : string ; errors : { created_at : string ; error_code : "failed_to_issue" ; message : string ; } [] ; instant_key_url ?: string ; is_assignment_required ?: boolean ; is_encoding_required ?: boolean ; is_issued : boolean ; is_ready_for_assignment ?: boolean ; is_ready_for_encoding ?: boolean ; issued_at : string | null ; mode : "code" | "card" | "mobile_key" | "cloud_key" ; pending_mutations : { created_at : string ; from : { ends_at : string | null ; starts_at : string | null } ; message : string ; mutation_code : | "provisioning_access" | "revoking_access" | "updating_access_times" ; to : { ends_at : string | null ; starts_at : string | null } ; } [] ; warnings : { created_at : string ; message : string ; original_access_method_id ?: string ; warning_code : | "being_deleted" | "updating_access_times" | "pulled_backup_access_code" | "delay_in_issuing" ; } [] ; workspace_id : string ; }
access_method_id : string
Optionalclient_session_token ?: string
Optionalcode ?: string | null
created_at : string
Optionalcustomization_profile_id ?: string
display_name : string
errors : { created_at : string ; error_code : "failed_to_issue" ; message : string } []
Optionalinstant_key_url ?: string
Optionalis_assignment_required ?: boolean
Optionalis_encoding_required ?: boolean
is_issued : boolean
Optionalis_ready_for_assignment ?: boolean
Optionalis_ready_for_encoding ?: boolean
issued_at : string | null
mode : "code" | "card" | "mobile_key" | "cloud_key"
pending_mutations : { created_at : string ; from : { ends_at : string | null ; starts_at : string | null } ; message : string ; mutation_code : | "provisioning_access" | "revoking_access" | "updating_access_times" ; to : { ends_at : string | null ; starts_at : string | null } ; } []
warnings : { created_at : string ; message : string ; original_access_method_id ?: string ; warning_code : | "being_deleted" | "updating_access_times" | "pulled_backup_access_code" | "delay_in_issuing" ; } []
workspace_id : string
status : "success" | "pending" | "error"
{ action_attempt_id : string ; action_type : "RESET_SANDBOX_WORKSPACE" ; error : { message : string ; type : string } ; result : {} ; status : "success" | "pending" | "error" ; }
action_attempt_id : string
action_type : "RESET_SANDBOX_WORKSPACE"
error : { message : string ; type : string }
message : string
type : string
result : {}
status : "success" | "pending" | "error"
{ action_attempt_id : string ; action_type : "SET_FAN_MODE" ; error : { message : string ; type : string } ; result : {} ; status : "success" | "pending" | "error" ; }
action_attempt_id : string
action_type : "SET_FAN_MODE"
error : { message : string ; type : string }
message : string
type : string
result : {}
status : "success" | "pending" | "error"
{ action_attempt_id : string ; action_type : "SET_HVAC_MODE" ; error : { message : string ; type : string } ; result : {} ; status : "success" | "pending" | "error" ; }
action_attempt_id : string
action_type : "SET_HVAC_MODE"
error : { message : string ; type : string }
message : string
type : string
result : {}
status : "success" | "pending" | "error"
{ action_attempt_id : string ; action_type : "ACTIVATE_CLIMATE_PRESET" ; error : { message : string ; type : string } ; result : {} ; status : "success" | "pending" | "error" ; }
action_attempt_id : string
action_type : "ACTIVATE_CLIMATE_PRESET"
error : { message : string ; type : string }
message : string
type : string
result : {}
status : "success" | "pending" | "error"
{ action_attempt_id : string ; action_type : "SIMULATE_KEYPAD_CODE_ENTRY" ; error : { message : string ; type : string } ; result : {} ; status : "success" | "pending" | "error" ; }
action_attempt_id : string
action_type : "SIMULATE_KEYPAD_CODE_ENTRY"
error : { message : string ; type : string }
message : string
type : string
result : {}
status : "success" | "pending" | "error"
{ action_attempt_id : string ; action_type : "SIMULATE_MANUAL_LOCK_VIA_KEYPAD" ; error : { message : string ; type : string } ; result : {} ; status : "success" | "pending" | "error" ; }
action_attempt_id : string
action_type : "SIMULATE_MANUAL_LOCK_VIA_KEYPAD"
error : { message : string ; type : string }
message : string
type : string
result : {}
status : "success" | "pending" | "error"
{ action_attempt_id : string ; action_type : "PUSH_THERMOSTAT_PROGRAMS" ; error : { message : string ; type : string } ; result : {} ; status : "success" | "pending" | "error" ; }
action_attempt_id : string
action_type : "PUSH_THERMOSTAT_PROGRAMS"
error : { message : string ; type : string }
message : string
type : string
result : {}
status : "success" | "pending" | "error"
{ action_attempt_id : string ; action_type : "CONFIGURE_AUTO_LOCK" ; error : { message : string ; type : string } ; result : {} ; status : "success" | "pending" | "error" ; }
action_attempt_id : string
action_type : "CONFIGURE_AUTO_LOCK"
error : { message : string ; type : string }
message : string
type : string
result : {}
status : "success" | "pending" | "error"
{ action_attempt_id : string ; action_type : "SYNC_ACCESS_CODES" ; error : { message : string ; type : string } ; result : {} ; status : "success" | "pending" | "error" ; }
action_attempt_id : string
action_type : "SYNC_ACCESS_CODES"
error : { message : string ; type : string }
message : string
type : string
result : {}
status : "success" | "pending" | "error"
{ action_attempt_id : string ; action_type : "CREATE_ACCESS_CODE" ; error : { message : string ; type : string } ; result : { access_code : Record < string , unknown > } ; status : "success" | "pending" | "error" ; }
action_attempt_id : string
action_type : "CREATE_ACCESS_CODE"
error : { message : string ; type : string }
message : string
type : string
result : { access_code : Record < string , unknown > }
access_code : Record < string , unknown >
status : "success" | "pending" | "error"
{ action_attempt_id : string ; action_type : "DELETE_ACCESS_CODE" ; error : { message : string ; type : string } ; result : {} ; status : "success" | "pending" | "error" ; }
action_attempt_id : string
action_type : "DELETE_ACCESS_CODE"
error : { message : string ; type : string }
message : string
type : string
result : {}
status : "success" | "pending" | "error"
{ action_attempt_id : string ; action_type : "UPDATE_ACCESS_CODE" ; error : { message : string ; type : string } ; result : { access_code ?: Record < string , unknown > } ; status : "success" | "pending" | "error" ; }
action_attempt_id : string
action_type : "UPDATE_ACCESS_CODE"
error : { message : string ; type : string }
message : string
type : string
result : { access_code ?: Record < string , unknown > }
Optionalaccess_code ?: Record < string , unknown >
status : "success" | "pending" | "error"
{ action_attempt_id : string ; action_type : "CREATE_NOISE_THRESHOLD" ; error : { message : string ; type : string } ; result : { noise_threshold : Record < string , unknown > } ; status : "success" | "pending" | "error" ; }
action_attempt_id : string
action_type : "CREATE_NOISE_THRESHOLD"
error : { message : string ; type : string }
message : string
type : string
result : { noise_threshold : Record < string , unknown > }
noise_threshold : Record < string , unknown >
status : "success" | "pending" | "error"
{ action_attempt_id : string ; action_type : "DELETE_NOISE_THRESHOLD" ; error : { message : string ; type : string } ; result : {} ; status : "success" | "pending" | "error" ; }
action_attempt_id : string
action_type : "DELETE_NOISE_THRESHOLD"
error : { message : string ; type : string }
message : string
type : string
result : {}
status : "success" | "pending" | "error"
{ action_attempt_id : string ; action_type : "UPDATE_NOISE_THRESHOLD" ; error : { message : string ; type : string } ; result : { noise_threshold : Record < string , unknown > } ; status : "success" | "pending" | "error" ; }
action_attempt_id : string
action_type : "UPDATE_NOISE_THRESHOLD"
error : { message : string ; type : string }
message : string
type : string
result : { noise_threshold : Record < string , unknown > }
noise_threshold : Record < string , unknown >
status : "success" | "pending" | "error"
Defined in src/lib/resources/action-attempt.ts:9
Locking a door is pending.