Class SeamHttpAccessCodes Defined in src/lib/seam/connect/routes/access-codes.ts:41 Constructorsconstructor new Seam Http Access Codes ( apiKeyOrOptions ? ) : SeamHttpAccessCodes Defined in src/lib/seam/connect/routes/access-codes.ts:45 Propertiesclient client : AxiosInstance
Defined in src/lib/seam/connect/routes/access-codes.ts:42 Readonly
defaults Defined in src/lib/seam/connect/routes/access-codes.ts:43 Accessors Methodscreate create ( body ? ) : SeamHttpRequest < SetNonNullable < Required < { access_code : { access_code_id : string ; code : null | string ; common_code_key : null | string ; created_at : string ; device_id : string ; ends_at ?: null | string ; errors : ( | { created_at ?: string ; error_code : "smartthings_failed_to_set_access_code" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "smartthings_failed_to_set_after_multiple_retries" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "smartthings_no_free_slots_available" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "failed_to_set_on_device" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "failed_to_remove_from_device" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "duplicate_code_on_device" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "duplicate_code_attempt_prevented" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "igloohome_bridge_too_many_pending_jobs" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "igloohome_bridge_offline" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "igloohome_offline_access_code_no_variance_available" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "kwikset_unable_to_confirm_code" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "kwikset_unable_to_confirm_deletion" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "code_modified_external_to_seam" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "august_lock_invalid_code_length" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "august_device_programming_delay" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "august_device_slots_full" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "august_lock_missing_keypad" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "august_lock_temporarily_offline" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "salto_ks_user_not_subscribed" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "hubitat_device_programming_delay" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "hubitat_no_free_positions_available" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "wyze_duplicate_code_name" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "wyze_potential_duplicate_code" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "dormakaba_oracode_no_valid_user_level" ; is_access_code_error : true ; message : string ; } | { created_at : string ; error_code : "account_disconnected" ; is_connected_account_error : true ; is_device_error : false ; message : string ; } | { created_at : string ; error_code : "salto_ks_subscription_limit_exceeded" ; is_connected_account_error : true ; is_device_error : false ; message : string ; } | { created_at : string ; error_code : "device_offline" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "device_removed" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "hub_disconnected" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "device_disconnected" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "empty_backup_access_code_pool" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "august_lock_not_authorized" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "august_lock_missing_bridge" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "ttlock_lock_not_paired_to_gateway" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "missing_device_credentials" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "auxiliary_heat_running" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "subscription_required" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "invalid_credentials" ; is_bridge_error ?: boolean ; is_connected_account_error ?: boolean ; message : string ; } | { created_at : string ; error_code : "bridge_disconnected" ; is_bridge_error ?: boolean ; is_connected_account_error ?: boolean ; message : string ; } ) [] ; is_backup ?: boolean ; is_backup_access_code_available : boolean ; is_external_modification_allowed : boolean ; is_managed : true ; is_offline_access_code : boolean ; is_one_time_use : boolean ; is_scheduled_on_device ?: boolean ; is_waiting_for_code_assignment ?: boolean ; name : null | string ; pulled_backup_access_code_id ?: null | string ; starts_at ?: null | string ; status : | "set" | "unknown" | "setting" | "unset" | "removing" ; type : "time_bound" | "ongoing" ; warnings : ( | { created_at ?: string ; message : string ; warning_code : "smartthings_failed_to_set_access_code" ; } | { created_at ?: string ; message : string ; warning_code : "schlage_detected_duplicate" ; } | { created_at ?: string ; message : string ; warning_code : "schlage_creation_outage" ; } | { created_at ?: string ; message : string ; warning_code : "code_modified_external_to_seam" ; } | { 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 : "august_device_programming_delay" ; } | { created_at ?: string ; message : string ; warning_code : "august_lock_temporarily_offline" ; } | { 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 : "kwikset_unable_to_confirm_code" ; } ) [] ; } ; action_attempt : | { action_attempt_id : string ; action_type : "LOCK_DOOR" ; error : null ; result : null ; status : "pending" ; } | { action_attempt_id : string ; action_type : "LOCK_DOOR" ; error : null ; result : {} ; status : "success" ; } | { action_attempt_id : string ; action_type : "LOCK_DOOR" ; error : { message : string ; type : string ; } ; result : null ; status : "error" ; } | { action_attempt_id : string ; action_type : "UNLOCK_DOOR" ; error : null ; result : null ; status : "pending" ; } | { action_attempt_id : string ; action_type : "UNLOCK_DOOR" ; error : null ; result : {} ; status : "success" ; } | { action_attempt_id : string ; action_type : "UNLOCK_DOOR" ; error : { message : string ; type : string ; } ; result : null ; status : "error" ; } | { action_attempt_id : string ; action_type : "SCAN_CREDENTIAL" ; error : null ; result : null ; status : "pending" ; } | { action_attempt_id : string ; action_type : "SCAN_CREDENTIAL" ; error : null ; result : { acs_credential_on_encoder : null | { card_number : null | string ; created_at : null | string ; ends_at : null | string ; is_issued : null | boolean ; starts_at : null | string ; visionline_metadata ?: { cancelled : ...; card_format : ...; card_holder ?: ...; card_id : ...; common_acs_entrance_ids ?: ...; discarded : ...; expired : ...; guest_acs_entrance_ids ?: ...; number_of_issued_cards : ...; overridden ?: ...; overwritten : ...; pending_auto_update : ...; } ; } ; acs_credential_on_seam : null | { access_method : "code" | "card" | "mobile_key" ; acs_credential_id : string ; acs_credential_pool_id ?: string ; acs_system_id : string ; acs_user_id ?: string ; assa_abloy_vostio_metadata ?: { door_names ?: ...; endpoint_id ?: ...; key_id ?: ...; key_issuing_request_id ?: ...; override_guest_acs_entrance_ids ?: ...; } ; card_number ?: null | string ; code ?: null | string ; created_at : string ; display_name : string ; ends_at ?: string ; errors : { error_code : ...; message : ...; } [] ; external_type ?: | "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" ; external_type_display_name ?: string ; is_issued ?: boolean ; is_latest_desired_state_synced_with_provider ?: null | boolean ; is_managed : true ; is_multi_phone_sync_credential ?: boolean ; is_one_time_use ?: boolean ; issued_at ?: null | string ; latest_desired_state_synced_with_provider_at ?: null | string ; parent_acs_credential_id ?: string ; starts_at ?: string ; visionline_metadata ?: { auto_join ?: ...; card_function_type : ...; card_id ?: ...; common_acs_entrance_ids ?: ...; credential_id ?: ...; guest_acs_entrance_ids ?: ...; is_valid ?: ...; joiner_acs_credential_ids ?: ...; } ; warnings : ( | ( ...) | ( ...) | ( ...) | ( ...) | ( ...) | ( ...) ) [] ; workspace_id : string ; } | { access_method : "code" | "card" | "mobile_key" ; acs_credential_id : string ; acs_credential_pool_id ?: string ; acs_system_id : string ; acs_user_id ?: string ; assa_abloy_vostio_metadata ?: { door_names ?: ...; endpoint_id ?: ...; key_id ?: ...; key_issuing_request_id ?: ...; override_guest_acs_entrance_ids ?: ...; } ; card_number ?: null | string ; code ?: null | string ; created_at : string ; display_name : string ; ends_at ?: string ; errors : { error_code : ...; message : ...; } [] ; external_type ?: | "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" ; external_type_display_name ?: string ; is_issued ?: boolean ; is_latest_desired_state_synced_with_provider ?: null | boolean ; is_managed : false ; is_multi_phone_sync_credential ?: boolean ; is_one_time_use ?: boolean ; issued_at ?: null | string ; latest_desired_state_synced_with_provider_at ?: null | string ; parent_acs_credential_id ?: string ; starts_at ?: string ; visionline_metadata ?: { auto_join ?: ...; card_function_type : ...; card_id ?: ...; common_acs_entrance_ids ?: ...; credential_id ?: ...; guest_acs_entrance_ids ?: ...; is_valid ?: ...; joiner_acs_credential_ids ?: ...; } ; warnings : ( | ( ...) | ( ...) | ( ...) | ( ...) | ( ...) | ( ...) ) [] ; workspace_id : string ; } ; warnings : { warning_code : "acs_credential_on_encoder_out_of_sync" | "acs_credential_on_seam_not_found" ; warning_message : string ; } [] ; } ; status : "success" ; } | { action_attempt_id : string ; action_type : "SCAN_CREDENTIAL" ; error : { message : string ; type : "uncategorized_error" ; } | { message : string ; type : "action_attempt_expired" ; } | { message : string ; type : "no_credential_on_encoder" ; } ; result : null ; status : "error" ; } | { action_attempt_id : string ; action_type : "ENCODE_CREDENTIAL" ; error : null ; result : null ; status : "pending" ; } | { action_attempt_id : string ; action_type : "ENCODE_CREDENTIAL" ; error : null ; result : { access_method : "code" | "card" | "mobile_key" ; acs_credential_id : string ; acs_credential_pool_id ?: string ; acs_system_id : string ; acs_user_id ?: string ; assa_abloy_vostio_metadata ?: { door_names ?: ( ...) | ( ...) ; endpoint_id ?: ( ...) | ( ...) ; key_id ?: ( ...) | ( ...) ; key_issuing_request_id ?: ( ...) | ( ...) ; override_guest_acs_entrance_ids ?: ( ...) | ( ...) ; } ; card_number ?: null | string ; code ?: null | string ; created_at : string ; display_name : string ; ends_at ?: string ; errors : { 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" ; external_type_display_name ?: string ; is_issued ?: boolean ; is_latest_desired_state_synced_with_provider ?: null | boolean ; is_managed : true ; is_multi_phone_sync_credential ?: boolean ; is_one_time_use ?: boolean ; issued_at ?: null | string ; latest_desired_state_synced_with_provider_at ?: null | string ; parent_acs_credential_id ?: string ; starts_at ?: string ; visionline_metadata ?: { auto_join ?: ( ...) | ( ...) | ( ...) ; card_function_type : ( ...) | ( ...) ; card_id ?: ( ...) | ( ...) ; common_acs_entrance_ids ?: ( ...) | ( ...) ; credential_id ?: ( ...) | ( ...) ; guest_acs_entrance_ids ?: ( ...) | ( ...) ; is_valid ?: ( ...) | ( ...) | ( ...) ; joiner_acs_credential_ids ?: ( ...) | ( ...) ; } ; warnings : ( | { created_at : ...; message : ...; warning_code : ...; } | { created_at : ...; message : ...; warning_code : ...; } | { created_at : ...; message : ...; warning_code : ...; } | { created_at : ...; message : ...; warning_code : ...; } | { created_at : ...; message : ...; warning_code : ...; } | { created_at : ...; message : ...; warning_code : ...; } ) [] ; workspace_id : string ; } | { access_method : "code" | "card" | "mobile_key" ; acs_credential_id : string ; acs_credential_pool_id ?: string ; acs_system_id : string ; acs_user_id ?: string ; assa_abloy_vostio_metadata ?: { door_names ?: ( ...) | ( ...) ; endpoint_id ?: ( ...) | ( ...) ; key_id ?: ( ...) | ( ...) ; key_issuing_request_id ?: ( ...) | ( ...) ; override_guest_acs_entrance_ids ?: ( ...) | ( ...) ; } ; card_number ?: null | string ; code ?: null | string ; created_at : string ; display_name : string ; ends_at ?: string ; errors : { 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" ; external_type_display_name ?: string ; is_issued ?: boolean ; is_latest_desired_state_synced_with_provider ?: null | boolean ; is_managed : false ; is_multi_phone_sync_credential ?: boolean ; is_one_time_use ?: boolean ; issued_at ?: null | string ; latest_desired_state_synced_with_provider_at ?: null | string ; parent_acs_credential_id ?: string ; starts_at ?: string ; visionline_metadata ?: { auto_join ?: ( ...) | ( ...) | ( ...) ; card_function_type : ( ...) | ( ...) ; card_id ?: ( ...) | ( ...) ; common_acs_entrance_ids ?: ( ...) | ( ...) ; credential_id ?: ( ...) | ( ...) ; guest_acs_entrance_ids ?: ( ...) | ( ...) ; is_valid ?: ( ...) | ( ...) | ( ...) ; joiner_acs_credential_ids ?: ( ...) | ( ...) ; } ; warnings : ( | { created_at : ...; message : ...; warning_code : ...; } | { created_at : ...; message : ...; warning_code : ...; } | { created_at : ...; message : ...; warning_code : ...; } | { created_at : ...; message : ...; warning_code : ...; } | { created_at : ...; message : ...; warning_code : ...; } | { created_at : ...; message : ...; warning_code : ...; } ) [] ; workspace_id : string ; } ; status : "success" ; } | { action_attempt_id : string ; action_type : "ENCODE_CREDENTIAL" ; error : | { message : string ; type : "uncategorized_error" ; } | { message : string ; type : "action_attempt_expired" ; } | { message : string ; type : "no_credential_on_encoder" ; } | { message : string ; type : "incompatible_card_format" ; } | { message : string ; type : "credential_cannot_be_reissued" ; } ; result : null ; status : "error" ; } | { action_attempt_id : string ; action_type : "RESET_SANDBOX_WORKSPACE" ; error : null ; result : null ; status : "pending" ; } | { action_attempt_id : string ; action_type : "RESET_SANDBOX_WORKSPACE" ; error : null ; result : {} ; status : "success" ; } | { action_attempt_id : string ; action_type : "RESET_SANDBOX_WORKSPACE" ; error : { message : string ; type : string ; } ; result : null ; status : "error" ; } | { action_attempt_id : string ; action_type : "SET_FAN_MODE" ; error : null ; result : null ; status : "pending" ; } | { action_attempt_id : string ; action_type : "SET_FAN_MODE" ; error : null ; result : {} ; status : "success" ; } | { action_attempt_id : string ; action_type : "SET_FAN_MODE" ; error : { message : string ; type : string ; } ; result : null ; status : "error" ; } | { action_attempt_id : string ; action_type : "SET_HVAC_MODE" ; error : null ; result : null ; status : "pending" ; } | { action_attempt_id : string ; action_type : "SET_HVAC_MODE" ; error : null ; result : {} ; status : "success" ; } | { action_attempt_id : string ; action_type : "SET_HVAC_MODE" ; error : { message : string ; type : string ; } ; result : null ; status : "error" ; } | { action_attempt_id : string ; action_type : "ACTIVATE_CLIMATE_PRESET" ; error : null ; result : null ; status : "pending" ; } | { action_attempt_id : string ; action_type : "ACTIVATE_CLIMATE_PRESET" ; error : null ; result : {} ; status : "success" ; } | { action_attempt_id : string ; action_type : "ACTIVATE_CLIMATE_PRESET" ; error : { message : string ; type : string ; } ; result : null ; status : "error" ; } | { action_attempt_id : string ; action_type : "SYNC_ACCESS_CODES" ; error : null ; result : null ; status : "pending" ; } | { action_attempt_id : string ; action_type : "SYNC_ACCESS_CODES" ; error : null ; result : {} ; status : "success" ; } | { action_attempt_id : string ; action_type : "SYNC_ACCESS_CODES" ; error : { message : string ; type : string ; } ; result : null ; status : "error" ; } | { action_attempt_id : string ; action_type : "CREATE_ACCESS_CODE" ; error : null ; result : null ; status : "pending" ; } | { action_attempt_id : string ; action_type : "CREATE_ACCESS_CODE" ; error : null ; result : { access_code ?: any ; } ; status : "success" ; } | { action_attempt_id : string ; action_type : "CREATE_ACCESS_CODE" ; error : { message : string ; type : string ; } ; result : null ; status : "error" ; } | { action_attempt_id : string ; action_type : "DELETE_ACCESS_CODE" ; error : null ; result : null ; status : "pending" ; } | { action_attempt_id : string ; action_type : "DELETE_ACCESS_CODE" ; error : null ; result : {} ; status : "success" ; } | { action_attempt_id : string ; action_type : "DELETE_ACCESS_CODE" ; error : { message : string ; type : string ; } ; result : null ; status : "error" ; } | { action_attempt_id : string ; action_type : "UPDATE_ACCESS_CODE" ; error : null ; result : null ; status : "pending" ; } | { action_attempt_id : string ; action_type : "UPDATE_ACCESS_CODE" ; error : null ; result : { access_code ?: any ; } ; status : "success" ; } | { action_attempt_id : string ; action_type : "UPDATE_ACCESS_CODE" ; error : { message : string ; type : string ; } ; result : null ; status : "error" ; } | { action_attempt_id : string ; action_type : "CREATE_NOISE_THRESHOLD" ; error : null ; result : null ; status : "pending" ; } | { action_attempt_id : string ; action_type : "CREATE_NOISE_THRESHOLD" ; error : null ; result : { noise_threshold ?: any ; } ; status : "success" ; } | { action_attempt_id : string ; action_type : "CREATE_NOISE_THRESHOLD" ; error : { message : string ; type : string ; } ; result : null ; status : "error" ; } | { action_attempt_id : string ; action_type : "DELETE_NOISE_THRESHOLD" ; error : null ; result : null ; status : "pending" ; } | { action_attempt_id : string ; action_type : "DELETE_NOISE_THRESHOLD" ; error : null ; result : {} ; status : "success" ; } | { action_attempt_id : string ; action_type : "DELETE_NOISE_THRESHOLD" ; error : { message : string ; type : string ; } ; result : null ; status : "error" ; } | { action_attempt_id : string ; action_type : "UPDATE_NOISE_THRESHOLD" ; error : null ; result : null ; status : "pending" ; } | { action_attempt_id : string ; action_type : "UPDATE_NOISE_THRESHOLD" ; error : null ; result : { noise_threshold ?: any ; } ; status : "success" ; } | { action_attempt_id : string ; action_type : "UPDATE_NOISE_THRESHOLD" ; error : { message : string ; type : string ; } ; result : null ; status : "error" ; } ; } > , "access_code" | "action_attempt" > , "access_code" > Parameters Optional
body : { allow_external_modification ?: boolean ; attempt_for_offline_device ?: boolean ; code ?: string ; common_code_key ?: string ; device_id : string ; ends_at ?: string ; is_external_modification_allowed ?: boolean ; is_offline_access_code ?: boolean ; is_one_time_use ?: boolean ; max_time_rounding ?: | "1hour" | "1day" | "1h" | "1d" ; name ?: string ; prefer_native_scheduling ?: boolean ; preferred_code_length ?: number ; starts_at ?: string ; sync ?: boolean ; use_backup_access_code_pool ?: boolean ; use_offline_access_code ?: boolean ; } Optional
allow_ external_ modification ?: boolean Optional
attempt_ for_ offline_ device ?: boolean Optional
code ?: string Optional
common_ code_ key ?: string device_ id : string Optional
ends_ at ?: string Optional
is_ external_ modification_ allowed ?: boolean Optional
is_ offline_ access_ code ?: boolean Optional
is_ one_ time_ use ?: boolean Optional
max_ time_ rounding ?: | "1hour" | "1day" | "1h" | "1d" Optional
name ?: string Optional
prefer_ native_ scheduling ?: boolean Optional
preferred_ code_ length ?: number Optional
starts_ at ?: string Optional
sync ?: boolean Optional
use_ backup_ access_ code_ pool ?: boolean Optional
use_ offline_ access_ code ?: boolean Returns SeamHttpRequest < SetNonNullable < Required < { access_code : { access_code_id : string ; code : null | string ; common_code_key : null | string ; created_at : string ; device_id : string ; ends_at ?: null | string ; errors : ( | { created_at ?: string ; error_code : "smartthings_failed_to_set_access_code" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "smartthings_failed_to_set_after_multiple_retries" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "smartthings_no_free_slots_available" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "failed_to_set_on_device" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "failed_to_remove_from_device" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "duplicate_code_on_device" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "duplicate_code_attempt_prevented" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "igloohome_bridge_too_many_pending_jobs" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "igloohome_bridge_offline" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "igloohome_offline_access_code_no_variance_available" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "kwikset_unable_to_confirm_code" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "kwikset_unable_to_confirm_deletion" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "code_modified_external_to_seam" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "august_lock_invalid_code_length" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "august_device_programming_delay" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "august_device_slots_full" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "august_lock_missing_keypad" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "august_lock_temporarily_offline" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "salto_ks_user_not_subscribed" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "hubitat_device_programming_delay" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "hubitat_no_free_positions_available" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "wyze_duplicate_code_name" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "wyze_potential_duplicate_code" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "dormakaba_oracode_no_valid_user_level" ; is_access_code_error : true ; message : string ; } | { created_at : string ; error_code : "account_disconnected" ; is_connected_account_error : true ; is_device_error : false ; message : string ; } | { created_at : string ; error_code : "salto_ks_subscription_limit_exceeded" ; is_connected_account_error : true ; is_device_error : false ; message : string ; } | { created_at : string ; error_code : "device_offline" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "device_removed" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "hub_disconnected" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "device_disconnected" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "empty_backup_access_code_pool" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "august_lock_not_authorized" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "august_lock_missing_bridge" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "ttlock_lock_not_paired_to_gateway" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "missing_device_credentials" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "auxiliary_heat_running" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "subscription_required" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "invalid_credentials" ; is_bridge_error ?: boolean ; is_connected_account_error ?: boolean ; message : string ; } | { created_at : string ; error_code : "bridge_disconnected" ; is_bridge_error ?: boolean ; is_connected_account_error ?: boolean ; message : string ; } ) [] ; is_backup ?: boolean ; is_backup_access_code_available : boolean ; is_external_modification_allowed : boolean ; is_managed : true ; is_offline_access_code : boolean ; is_one_time_use : boolean ; is_scheduled_on_device ?: boolean ; is_waiting_for_code_assignment ?: boolean ; name : null | string ; pulled_backup_access_code_id ?: null | string ; starts_at ?: null | string ; status : | "set" | "unknown" | "setting" | "unset" | "removing" ; type : "time_bound" | "ongoing" ; warnings : ( | { created_at ?: string ; message : string ; warning_code : "smartthings_failed_to_set_access_code" ; } | { created_at ?: string ; message : string ; warning_code : "schlage_detected_duplicate" ; } | { created_at ?: string ; message : string ; warning_code : "schlage_creation_outage" ; } | { created_at ?: string ; message : string ; warning_code : "code_modified_external_to_seam" ; } | { 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 : "august_device_programming_delay" ; } | { created_at ?: string ; message : string ; warning_code : "august_lock_temporarily_offline" ; } | { 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 : "kwikset_unable_to_confirm_code" ; } ) [] ; } ; action_attempt : | { action_attempt_id : string ; action_type : "LOCK_DOOR" ; error : null ; result : null ; status : "pending" ; } | { action_attempt_id : string ; action_type : "LOCK_DOOR" ; error : null ; result : {} ; status : "success" ; } | { action_attempt_id : string ; action_type : "LOCK_DOOR" ; error : { message : string ; type : string ; } ; result : null ; status : "error" ; } | { action_attempt_id : string ; action_type : "UNLOCK_DOOR" ; error : null ; result : null ; status : "pending" ; } | { action_attempt_id : string ; action_type : "UNLOCK_DOOR" ; error : null ; result : {} ; status : "success" ; } | { action_attempt_id : string ; action_type : "UNLOCK_DOOR" ; error : { message : string ; type : string ; } ; result : null ; status : "error" ; } | { action_attempt_id : string ; action_type : "SCAN_CREDENTIAL" ; error : null ; result : null ; status : "pending" ; } | { action_attempt_id : string ; action_type : "SCAN_CREDENTIAL" ; error : null ; result : { acs_credential_on_encoder : null | { card_number : null | string ; created_at : null | string ; ends_at : null | string ; is_issued : null | boolean ; starts_at : null | string ; visionline_metadata ?: { cancelled : ...; card_format : ...; card_holder ?: ...; card_id : ...; common_acs_entrance_ids ?: ...; discarded : ...; expired : ...; guest_acs_entrance_ids ?: ...; number_of_issued_cards : ...; overridden ?: ...; overwritten : ...; pending_auto_update : ...; } ; } ; acs_credential_on_seam : null | { access_method : "code" | "card" | "mobile_key" ; acs_credential_id : string ; acs_credential_pool_id ?: string ; acs_system_id : string ; acs_user_id ?: string ; assa_abloy_vostio_metadata ?: { door_names ?: ...; endpoint_id ?: ...; key_id ?: ...; key_issuing_request_id ?: ...; override_guest_acs_entrance_ids ?: ...; } ; card_number ?: null | string ; code ?: null | string ; created_at : string ; display_name : string ; ends_at ?: string ; errors : { error_code : ...; message : ...; } [] ; external_type ?: | "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" ; external_type_display_name ?: string ; is_issued ?: boolean ; is_latest_desired_state_synced_with_provider ?: null | boolean ; is_managed : true ; is_multi_phone_sync_credential ?: boolean ; is_one_time_use ?: boolean ; issued_at ?: null | string ; latest_desired_state_synced_with_provider_at ?: null | string ; parent_acs_credential_id ?: string ; starts_at ?: string ; visionline_metadata ?: { auto_join ?: ...; card_function_type : ...; card_id ?: ...; common_acs_entrance_ids ?: ...; credential_id ?: ...; guest_acs_entrance_ids ?: ...; is_valid ?: ...; joiner_acs_credential_ids ?: ...; } ; warnings : ( | ( ...) | ( ...) | ( ...) | ( ...) | ( ...) | ( ...) ) [] ; workspace_id : string ; } | { access_method : "code" | "card" | "mobile_key" ; acs_credential_id : string ; acs_credential_pool_id ?: string ; acs_system_id : string ; acs_user_id ?: string ; assa_abloy_vostio_metadata ?: { door_names ?: ...; endpoint_id ?: ...; key_id ?: ...; key_issuing_request_id ?: ...; override_guest_acs_entrance_ids ?: ...; } ; card_number ?: null | string ; code ?: null | string ; created_at : string ; display_name : string ; ends_at ?: string ; errors : { error_code : ...; message : ...; } [] ; external_type ?: | "pti_card" | "brivo_credential" | "hid_credential" | "visionline_card" | "salto_ks_credential" | "assa_abloy_vostio_key" | "salto_space_key" ; external_type_display_name ?: string ; is_issued ?: boolean ; is_latest_desired_state_synced_with_provider ?: null | boolean ; is_managed : false ; is_multi_phone_sync_credential ?: boolean ; is_one_time_use ?: boolean ; issued_at ?: null | string ; latest_desired_state_synced_with_provider_at ?: null | string ; parent_acs_credential_id ?: string ; starts_at ?: string ; visionline_metadata ?: { auto_join ?: ...; card_function_type : ...; card_id ?: ...; common_acs_entrance_ids ?: ...; credential_id ?: ...; guest_acs_entrance_ids ?: ...; is_valid ?: ...; joiner_acs_credential_ids ?: ...; } ; warnings : ( | ( ...) | ( ...) | ( ...) | ( ...) | ( ...) | ( ...) ) [] ; workspace_id : string ; } ; warnings : { warning_code : "acs_credential_on_encoder_out_of_sync" | "acs_credential_on_seam_not_found" ; warning_message : string ; } [] ; } ; status : "success" ; } | { action_attempt_id : string ; action_type : "SCAN_CREDENTIAL" ; error : { message : string ; type : "uncategorized_error" ; } | { message : string ; type : "action_attempt_expired" ; } | { message : string ; type : "no_credential_on_encoder" ; } ; result : null ; status : "error" ; } | { action_attempt_id : string ; action_type : "ENCODE_CREDENTIAL" ; error : null ; result : null ; status : "pending" ; } | { action_attempt_id : string ; action_type : "ENCODE_CREDENTIAL" ; error : null ; result : { access_method : "code" | "card" | "mobile_key" ; acs_credential_id : string ; acs_credential_pool_id ?: string ; acs_system_id : string ; acs_user_id ?: string ; assa_abloy_vostio_metadata ?: { door_names ?: ( ...) | ( ...) ; endpoint_id ?: ( ...) | ( ...) ; key_id ?: ( ...) | ( ...) ; key_issuing_request_id ?: ( ...) | ( ...) ; override_guest_acs_entrance_ids ?: ( ...) | ( ...) ; } ; card_number ?: null | string ; code ?: null | string ; created_at : string ; display_name : string ; ends_at ?: string ; errors : { 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" ; external_type_display_name ?: string ; is_issued ?: boolean ; is_latest_desired_state_synced_with_provider ?: null | boolean ; is_managed : true ; is_multi_phone_sync_credential ?: boolean ; is_one_time_use ?: boolean ; issued_at ?: null | string ; latest_desired_state_synced_with_provider_at ?: null | string ; parent_acs_credential_id ?: string ; starts_at ?: string ; visionline_metadata ?: { auto_join ?: ( ...) | ( ...) | ( ...) ; card_function_type : ( ...) | ( ...) ; card_id ?: ( ...) | ( ...) ; common_acs_entrance_ids ?: ( ...) | ( ...) ; credential_id ?: ( ...) | ( ...) ; guest_acs_entrance_ids ?: ( ...) | ( ...) ; is_valid ?: ( ...) | ( ...) | ( ...) ; joiner_acs_credential_ids ?: ( ...) | ( ...) ; } ; warnings : ( | { created_at : ...; message : ...; warning_code : ...; } | { created_at : ...; message : ...; warning_code : ...; } | { created_at : ...; message : ...; warning_code : ...; } | { created_at : ...; message : ...; warning_code : ...; } | { created_at : ...; message : ...; warning_code : ...; } | { created_at : ...; message : ...; warning_code : ...; } ) [] ; workspace_id : string ; } | { access_method : "code" | "card" | "mobile_key" ; acs_credential_id : string ; acs_credential_pool_id ?: string ; acs_system_id : string ; acs_user_id ?: string ; assa_abloy_vostio_metadata ?: { door_names ?: ( ...) | ( ...) ; endpoint_id ?: ( ...) | ( ...) ; key_id ?: ( ...) | ( ...) ; key_issuing_request_id ?: ( ...) | ( ...) ; override_guest_acs_entrance_ids ?: ( ...) | ( ...) ; } ; card_number ?: null | string ; code ?: null | string ; created_at : string ; display_name : string ; ends_at ?: string ; errors : { 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" ; external_type_display_name ?: string ; is_issued ?: boolean ; is_latest_desired_state_synced_with_provider ?: null | boolean ; is_managed : false ; is_multi_phone_sync_credential ?: boolean ; is_one_time_use ?: boolean ; issued_at ?: null | string ; latest_desired_state_synced_with_provider_at ?: null | string ; parent_acs_credential_id ?: string ; starts_at ?: string ; visionline_metadata ?: { auto_join ?: ( ...) | ( ...) | ( ...) ; card_function_type : ( ...) | ( ...) ; card_id ?: ( ...) | ( ...) ; common_acs_entrance_ids ?: ( ...) | ( ...) ; credential_id ?: ( ...) | ( ...) ; guest_acs_entrance_ids ?: ( ...) | ( ...) ; is_valid ?: ( ...) | ( ...) | ( ...) ; joiner_acs_credential_ids ?: ( ...) | ( ...) ; } ; warnings : ( | { created_at : ...; message : ...; warning_code : ...; } | { created_at : ...; message : ...; warning_code : ...; } | { created_at : ...; message : ...; warning_code : ...; } | { created_at : ...; message : ...; warning_code : ...; } | { created_at : ...; message : ...; warning_code : ...; } | { created_at : ...; message : ...; warning_code : ...; } ) [] ; workspace_id : string ; } ; status : "success" ; } | { action_attempt_id : string ; action_type : "ENCODE_CREDENTIAL" ; error : | { message : string ; type : "uncategorized_error" ; } | { message : string ; type : "action_attempt_expired" ; } | { message : string ; type : "no_credential_on_encoder" ; } | { message : string ; type : "incompatible_card_format" ; } | { message : string ; type : "credential_cannot_be_reissued" ; } ; result : null ; status : "error" ; } | { action_attempt_id : string ; action_type : "RESET_SANDBOX_WORKSPACE" ; error : null ; result : null ; status : "pending" ; } | { action_attempt_id : string ; action_type : "RESET_SANDBOX_WORKSPACE" ; error : null ; result : {} ; status : "success" ; } | { action_attempt_id : string ; action_type : "RESET_SANDBOX_WORKSPACE" ; error : { message : string ; type : string ; } ; result : null ; status : "error" ; } | { action_attempt_id : string ; action_type : "SET_FAN_MODE" ; error : null ; result : null ; status : "pending" ; } | { action_attempt_id : string ; action_type : "SET_FAN_MODE" ; error : null ; result : {} ; status : "success" ; } | { action_attempt_id : string ; action_type : "SET_FAN_MODE" ; error : { message : string ; type : string ; } ; result : null ; status : "error" ; } | { action_attempt_id : string ; action_type : "SET_HVAC_MODE" ; error : null ; result : null ; status : "pending" ; } | { action_attempt_id : string ; action_type : "SET_HVAC_MODE" ; error : null ; result : {} ; status : "success" ; } | { action_attempt_id : string ; action_type : "SET_HVAC_MODE" ; error : { message : string ; type : string ; } ; result : null ; status : "error" ; } | { action_attempt_id : string ; action_type : "ACTIVATE_CLIMATE_PRESET" ; error : null ; result : null ; status : "pending" ; } | { action_attempt_id : string ; action_type : "ACTIVATE_CLIMATE_PRESET" ; error : null ; result : {} ; status : "success" ; } | { action_attempt_id : string ; action_type : "ACTIVATE_CLIMATE_PRESET" ; error : { message : string ; type : string ; } ; result : null ; status : "error" ; } | { action_attempt_id : string ; action_type : "SYNC_ACCESS_CODES" ; error : null ; result : null ; status : "pending" ; } | { action_attempt_id : string ; action_type : "SYNC_ACCESS_CODES" ; error : null ; result : {} ; status : "success" ; } | { action_attempt_id : string ; action_type : "SYNC_ACCESS_CODES" ; error : { message : string ; type : string ; } ; result : null ; status : "error" ; } | { action_attempt_id : string ; action_type : "CREATE_ACCESS_CODE" ; error : null ; result : null ; status : "pending" ; } | { action_attempt_id : string ; action_type : "CREATE_ACCESS_CODE" ; error : null ; result : { access_code ?: any ; } ; status : "success" ; } | { action_attempt_id : string ; action_type : "CREATE_ACCESS_CODE" ; error : { message : string ; type : string ; } ; result : null ; status : "error" ; } | { action_attempt_id : string ; action_type : "DELETE_ACCESS_CODE" ; error : null ; result : null ; status : "pending" ; } | { action_attempt_id : string ; action_type : "DELETE_ACCESS_CODE" ; error : null ; result : {} ; status : "success" ; } | { action_attempt_id : string ; action_type : "DELETE_ACCESS_CODE" ; error : { message : string ; type : string ; } ; result : null ; status : "error" ; } | { action_attempt_id : string ; action_type : "UPDATE_ACCESS_CODE" ; error : null ; result : null ; status : "pending" ; } | { action_attempt_id : string ; action_type : "UPDATE_ACCESS_CODE" ; error : null ; result : { access_code ?: any ; } ; status : "success" ; } | { action_attempt_id : string ; action_type : "UPDATE_ACCESS_CODE" ; error : { message : string ; type : string ; } ; result : null ; status : "error" ; } | { action_attempt_id : string ; action_type : "CREATE_NOISE_THRESHOLD" ; error : null ; result : null ; status : "pending" ; } | { action_attempt_id : string ; action_type : "CREATE_NOISE_THRESHOLD" ; error : null ; result : { noise_threshold ?: any ; } ; status : "success" ; } | { action_attempt_id : string ; action_type : "CREATE_NOISE_THRESHOLD" ; error : { message : string ; type : string ; } ; result : null ; status : "error" ; } | { action_attempt_id : string ; action_type : "DELETE_NOISE_THRESHOLD" ; error : null ; result : null ; status : "pending" ; } | { action_attempt_id : string ; action_type : "DELETE_NOISE_THRESHOLD" ; error : null ; result : {} ; status : "success" ; } | { action_attempt_id : string ; action_type : "DELETE_NOISE_THRESHOLD" ; error : { message : string ; type : string ; } ; result : null ; status : "error" ; } | { action_attempt_id : string ; action_type : "UPDATE_NOISE_THRESHOLD" ; error : null ; result : null ; status : "pending" ; } | { action_attempt_id : string ; action_type : "UPDATE_NOISE_THRESHOLD" ; error : null ; result : { noise_threshold ?: any ; } ; status : "success" ; } | { action_attempt_id : string ; action_type : "UPDATE_NOISE_THRESHOLD" ; error : { message : string ; type : string ; } ; result : null ; status : "error" ; } ; } > , "access_code" | "action_attempt" > , "access_code" > Defined in src/lib/seam/connect/routes/access-codes.ts:174 create Multiple create Multiple ( body ? ) : SeamHttpRequest < SetNonNullable < Required < { access_codes : { access_code_id : string ; code : null | string ; common_code_key : null | string ; created_at : string ; device_id : string ; ends_at ?: null | string ; errors : ( | { created_at ?: string ; error_code : "smartthings_failed_to_set_access_code" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "smartthings_failed_to_set_after_multiple_retries" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "smartthings_no_free_slots_available" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "failed_to_set_on_device" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "failed_to_remove_from_device" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "duplicate_code_on_device" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "duplicate_code_attempt_prevented" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "igloohome_bridge_too_many_pending_jobs" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "igloohome_bridge_offline" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "igloohome_offline_access_code_no_variance_available" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "kwikset_unable_to_confirm_code" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "kwikset_unable_to_confirm_deletion" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "code_modified_external_to_seam" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "august_lock_invalid_code_length" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "august_device_programming_delay" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "august_device_slots_full" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "august_lock_missing_keypad" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "august_lock_temporarily_offline" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "salto_ks_user_not_subscribed" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "hubitat_device_programming_delay" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "hubitat_no_free_positions_available" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "wyze_duplicate_code_name" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "wyze_potential_duplicate_code" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "dormakaba_oracode_no_valid_user_level" ; is_access_code_error : true ; message : string ; } | { created_at : string ; error_code : "account_disconnected" ; is_connected_account_error : true ; is_device_error : false ; message : string ; } | { created_at : string ; error_code : "salto_ks_subscription_limit_exceeded" ; is_connected_account_error : true ; is_device_error : false ; message : string ; } | { created_at : string ; error_code : "device_offline" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "device_removed" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "hub_disconnected" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "device_disconnected" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "empty_backup_access_code_pool" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "august_lock_not_authorized" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "august_lock_missing_bridge" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "ttlock_lock_not_paired_to_gateway" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "missing_device_credentials" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "auxiliary_heat_running" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "subscription_required" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "invalid_credentials" ; is_bridge_error ?: boolean ; is_connected_account_error ?: boolean ; message : string ; } | { created_at : string ; error_code : "bridge_disconnected" ; is_bridge_error ?: boolean ; is_connected_account_error ?: boolean ; message : string ; } ) [] ; is_backup ?: boolean ; is_backup_access_code_available : boolean ; is_external_modification_allowed : boolean ; is_managed : true ; is_offline_access_code : boolean ; is_one_time_use : boolean ; is_scheduled_on_device ?: boolean ; is_waiting_for_code_assignment ?: boolean ; name : null | string ; pulled_backup_access_code_id ?: null | string ; starts_at ?: null | string ; status : | "set" | "unknown" | "setting" | "unset" | "removing" ; type : "time_bound" | "ongoing" ; warnings : ( | { created_at ?: string ; message : string ; warning_code : "smartthings_failed_to_set_access_code" ; } | { created_at ?: string ; message : string ; warning_code : "schlage_detected_duplicate" ; } | { created_at ?: string ; message : string ; warning_code : "schlage_creation_outage" ; } | { created_at ?: string ; message : string ; warning_code : "code_modified_external_to_seam" ; } | { 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 : "august_device_programming_delay" ; } | { created_at ?: string ; message : string ; warning_code : "august_lock_temporarily_offline" ; } | { 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 : "kwikset_unable_to_confirm_code" ; } ) [] ; } [] ; } > , "access_codes" > , "access_codes" > Parameters Optional
body : { allow_external_modification ?: boolean ; attempt_for_offline_device ?: boolean ; behavior_when_code_cannot_be_shared ?: "throw" | "create_random_code" ; code ?: string ; device_ids : string [] ; ends_at ?: string ; is_external_modification_allowed ?: boolean ; is_offline_access_code ?: boolean ; is_one_time_use ?: boolean ; max_time_rounding ?: | "1hour" | "1day" | "1h" | "1d" ; name ?: string ; prefer_native_scheduling ?: boolean ; preferred_code_length ?: number ; starts_at ?: string ; use_backup_access_code_pool ?: boolean ; use_offline_access_code ?: boolean ; } Optional
allow_ external_ modification ?: boolean Optional
attempt_ for_ offline_ device ?: boolean Optional
behavior_ when_ code_ cannot_ be_ shared ?: "throw" | "create_random_code" Optional
code ?: string device_ ids : string [] Optional
ends_ at ?: string Optional
is_ external_ modification_ allowed ?: boolean Optional
is_ offline_ access_ code ?: boolean Optional
is_ one_ time_ use ?: boolean Optional
max_ time_ rounding ?: | "1hour" | "1day" | "1h" | "1d" Optional
name ?: string Optional
prefer_ native_ scheduling ?: boolean Optional
preferred_ code_ length ?: number Optional
starts_ at ?: string Optional
use_ backup_ access_ code_ pool ?: boolean Optional
use_ offline_ access_ code ?: boolean Returns SeamHttpRequest < SetNonNullable < Required < { access_codes : { access_code_id : string ; code : null | string ; common_code_key : null | string ; created_at : string ; device_id : string ; ends_at ?: null | string ; errors : ( | { created_at ?: string ; error_code : "smartthings_failed_to_set_access_code" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "smartthings_failed_to_set_after_multiple_retries" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "smartthings_no_free_slots_available" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "failed_to_set_on_device" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "failed_to_remove_from_device" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "duplicate_code_on_device" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "duplicate_code_attempt_prevented" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "igloohome_bridge_too_many_pending_jobs" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "igloohome_bridge_offline" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "igloohome_offline_access_code_no_variance_available" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "kwikset_unable_to_confirm_code" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "kwikset_unable_to_confirm_deletion" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "code_modified_external_to_seam" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "august_lock_invalid_code_length" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "august_device_programming_delay" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "august_device_slots_full" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "august_lock_missing_keypad" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "august_lock_temporarily_offline" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "salto_ks_user_not_subscribed" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "hubitat_device_programming_delay" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "hubitat_no_free_positions_available" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "wyze_duplicate_code_name" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "wyze_potential_duplicate_code" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "dormakaba_oracode_no_valid_user_level" ; is_access_code_error : true ; message : string ; } | { created_at : string ; error_code : "account_disconnected" ; is_connected_account_error : true ; is_device_error : false ; message : string ; } | { created_at : string ; error_code : "salto_ks_subscription_limit_exceeded" ; is_connected_account_error : true ; is_device_error : false ; message : string ; } | { created_at : string ; error_code : "device_offline" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "device_removed" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "hub_disconnected" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "device_disconnected" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "empty_backup_access_code_pool" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "august_lock_not_authorized" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "august_lock_missing_bridge" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "ttlock_lock_not_paired_to_gateway" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "missing_device_credentials" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "auxiliary_heat_running" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "subscription_required" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "invalid_credentials" ; is_bridge_error ?: boolean ; is_connected_account_error ?: boolean ; message : string ; } | { created_at : string ; error_code : "bridge_disconnected" ; is_bridge_error ?: boolean ; is_connected_account_error ?: boolean ; message : string ; } ) [] ; is_backup ?: boolean ; is_backup_access_code_available : boolean ; is_external_modification_allowed : boolean ; is_managed : true ; is_offline_access_code : boolean ; is_one_time_use : boolean ; is_scheduled_on_device ?: boolean ; is_waiting_for_code_assignment ?: boolean ; name : null | string ; pulled_backup_access_code_id ?: null | string ; starts_at ?: null | string ; status : | "set" | "unknown" | "setting" | "unset" | "removing" ; type : "time_bound" | "ongoing" ; warnings : ( | { created_at ?: string ; message : string ; warning_code : "smartthings_failed_to_set_access_code" ; } | { created_at ?: string ; message : string ; warning_code : "schlage_detected_duplicate" ; } | { created_at ?: string ; message : string ; warning_code : "schlage_creation_outage" ; } | { created_at ?: string ; message : string ; warning_code : "code_modified_external_to_seam" ; } | { 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 : "august_device_programming_delay" ; } | { created_at ?: string ; message : string ; warning_code : "august_lock_temporarily_offline" ; } | { 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 : "kwikset_unable_to_confirm_code" ; } ) [] ; } [] ; } > , "access_codes" > , "access_codes" > Defined in src/lib/seam/connect/routes/access-codes.ts:185 delete delete ( body ? ) : SeamHttpRequest < void , undefined > Parameters Optional
body : { access_code_id : string ; device_id ?: string ; sync ?: boolean ; } access_ code_ id : string Optional
device_ id ?: string Optional
sync ?: boolean Defined in src/lib/seam/connect/routes/access-codes.ts:196 generate Code generate Code ( body ? ) : SeamHttpRequest < SetNonNullable < Required < { generated_code : { code : string ; device_id : string ; } ; } > , "generated_code" > , "generated_code" > Parameters Optional
body : { device_id : string ; } Returns SeamHttpRequest < SetNonNullable < Required < { generated_code : { code : string ; device_id : string ; } ; } > , "generated_code" > , "generated_code" > Defined in src/lib/seam/connect/routes/access-codes.ts:205 get get ( body ? ) : SeamHttpRequest < SetNonNullable < Required < { access_code : { access_code_id : string ; code : null | string ; common_code_key : null | string ; created_at : string ; device_id : string ; ends_at ?: null | string ; errors : ( | { created_at ?: string ; error_code : "smartthings_failed_to_set_access_code" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "smartthings_failed_to_set_after_multiple_retries" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "smartthings_no_free_slots_available" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "failed_to_set_on_device" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "failed_to_remove_from_device" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "duplicate_code_on_device" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "duplicate_code_attempt_prevented" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "igloohome_bridge_too_many_pending_jobs" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "igloohome_bridge_offline" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "igloohome_offline_access_code_no_variance_available" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "kwikset_unable_to_confirm_code" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "kwikset_unable_to_confirm_deletion" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "code_modified_external_to_seam" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "august_lock_invalid_code_length" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "august_device_programming_delay" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "august_device_slots_full" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "august_lock_missing_keypad" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "august_lock_temporarily_offline" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "salto_ks_user_not_subscribed" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "hubitat_device_programming_delay" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "hubitat_no_free_positions_available" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "wyze_duplicate_code_name" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "wyze_potential_duplicate_code" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "dormakaba_oracode_no_valid_user_level" ; is_access_code_error : true ; message : string ; } | { created_at : string ; error_code : "account_disconnected" ; is_connected_account_error : true ; is_device_error : false ; message : string ; } | { created_at : string ; error_code : "salto_ks_subscription_limit_exceeded" ; is_connected_account_error : true ; is_device_error : false ; message : string ; } | { created_at : string ; error_code : "device_offline" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "device_removed" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "hub_disconnected" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "device_disconnected" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "empty_backup_access_code_pool" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "august_lock_not_authorized" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "august_lock_missing_bridge" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "ttlock_lock_not_paired_to_gateway" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "missing_device_credentials" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "auxiliary_heat_running" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "subscription_required" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "invalid_credentials" ; is_bridge_error ?: boolean ; is_connected_account_error ?: boolean ; message : string ; } | { created_at : string ; error_code : "bridge_disconnected" ; is_bridge_error ?: boolean ; is_connected_account_error ?: boolean ; message : string ; } ) [] ; is_backup ?: boolean ; is_backup_access_code_available : boolean ; is_external_modification_allowed : boolean ; is_managed : true ; is_offline_access_code : boolean ; is_one_time_use : boolean ; is_scheduled_on_device ?: boolean ; is_waiting_for_code_assignment ?: boolean ; name : null | string ; pulled_backup_access_code_id ?: null | string ; starts_at ?: null | string ; status : | "set" | "unknown" | "setting" | "unset" | "removing" ; type : "time_bound" | "ongoing" ; warnings : ( | { created_at ?: string ; message : string ; warning_code : "smartthings_failed_to_set_access_code" ; } | { created_at ?: string ; message : string ; warning_code : "schlage_detected_duplicate" ; } | { created_at ?: string ; message : string ; warning_code : "schlage_creation_outage" ; } | { created_at ?: string ; message : string ; warning_code : "code_modified_external_to_seam" ; } | { 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 : "august_device_programming_delay" ; } | { created_at ?: string ; message : string ; warning_code : "august_lock_temporarily_offline" ; } | { 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 : "kwikset_unable_to_confirm_code" ; } ) [] ; } ; } > , "access_code" > , "access_code" > Parameters Optional
body : { access_code_id ?: string ; code ?: string ; device_id ?: string ; } Optional
access_ code_ id ?: string Optional
code ?: string Optional
device_ id ?: string Returns SeamHttpRequest < SetNonNullable < Required < { access_code : { access_code_id : string ; code : null | string ; common_code_key : null | string ; created_at : string ; device_id : string ; ends_at ?: null | string ; errors : ( | { created_at ?: string ; error_code : "smartthings_failed_to_set_access_code" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "smartthings_failed_to_set_after_multiple_retries" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "smartthings_no_free_slots_available" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "failed_to_set_on_device" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "failed_to_remove_from_device" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "duplicate_code_on_device" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "duplicate_code_attempt_prevented" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "igloohome_bridge_too_many_pending_jobs" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "igloohome_bridge_offline" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "igloohome_offline_access_code_no_variance_available" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "kwikset_unable_to_confirm_code" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "kwikset_unable_to_confirm_deletion" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "code_modified_external_to_seam" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "august_lock_invalid_code_length" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "august_device_programming_delay" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "august_device_slots_full" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "august_lock_missing_keypad" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "august_lock_temporarily_offline" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "salto_ks_user_not_subscribed" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "hubitat_device_programming_delay" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "hubitat_no_free_positions_available" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "wyze_duplicate_code_name" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "wyze_potential_duplicate_code" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "dormakaba_oracode_no_valid_user_level" ; is_access_code_error : true ; message : string ; } | { created_at : string ; error_code : "account_disconnected" ; is_connected_account_error : true ; is_device_error : false ; message : string ; } | { created_at : string ; error_code : "salto_ks_subscription_limit_exceeded" ; is_connected_account_error : true ; is_device_error : false ; message : string ; } | { created_at : string ; error_code : "device_offline" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "device_removed" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "hub_disconnected" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "device_disconnected" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "empty_backup_access_code_pool" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "august_lock_not_authorized" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "august_lock_missing_bridge" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "ttlock_lock_not_paired_to_gateway" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "missing_device_credentials" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "auxiliary_heat_running" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "subscription_required" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "invalid_credentials" ; is_bridge_error ?: boolean ; is_connected_account_error ?: boolean ; message : string ; } | { created_at : string ; error_code : "bridge_disconnected" ; is_bridge_error ?: boolean ; is_connected_account_error ?: boolean ; message : string ; } ) [] ; is_backup ?: boolean ; is_backup_access_code_available : boolean ; is_external_modification_allowed : boolean ; is_managed : true ; is_offline_access_code : boolean ; is_one_time_use : boolean ; is_scheduled_on_device ?: boolean ; is_waiting_for_code_assignment ?: boolean ; name : null | string ; pulled_backup_access_code_id ?: null | string ; starts_at ?: null | string ; status : | "set" | "unknown" | "setting" | "unset" | "removing" ; type : "time_bound" | "ongoing" ; warnings : ( | { created_at ?: string ; message : string ; warning_code : "smartthings_failed_to_set_access_code" ; } | { created_at ?: string ; message : string ; warning_code : "schlage_detected_duplicate" ; } | { created_at ?: string ; message : string ; warning_code : "schlage_creation_outage" ; } | { created_at ?: string ; message : string ; warning_code : "code_modified_external_to_seam" ; } | { 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 : "august_device_programming_delay" ; } | { created_at ?: string ; message : string ; warning_code : "august_lock_temporarily_offline" ; } | { 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 : "kwikset_unable_to_confirm_code" ; } ) [] ; } ; } > , "access_code" > , "access_code" > Defined in src/lib/seam/connect/routes/access-codes.ts:216 list list ( body ? ) : SeamHttpRequest < SetNonNullable < Required < { access_codes : { access_code_id : string ; code : null | string ; common_code_key : null | string ; created_at : string ; device_id : string ; ends_at ?: null | string ; errors : ( | { created_at ?: string ; error_code : "smartthings_failed_to_set_access_code" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "smartthings_failed_to_set_after_multiple_retries" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "smartthings_no_free_slots_available" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "failed_to_set_on_device" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "failed_to_remove_from_device" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "duplicate_code_on_device" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "duplicate_code_attempt_prevented" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "igloohome_bridge_too_many_pending_jobs" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "igloohome_bridge_offline" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "igloohome_offline_access_code_no_variance_available" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "kwikset_unable_to_confirm_code" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "kwikset_unable_to_confirm_deletion" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "code_modified_external_to_seam" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "august_lock_invalid_code_length" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "august_device_programming_delay" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "august_device_slots_full" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "august_lock_missing_keypad" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "august_lock_temporarily_offline" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "salto_ks_user_not_subscribed" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "hubitat_device_programming_delay" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "hubitat_no_free_positions_available" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "wyze_duplicate_code_name" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "wyze_potential_duplicate_code" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "dormakaba_oracode_no_valid_user_level" ; is_access_code_error : true ; message : string ; } | { created_at : string ; error_code : "account_disconnected" ; is_connected_account_error : true ; is_device_error : false ; message : string ; } | { created_at : string ; error_code : "salto_ks_subscription_limit_exceeded" ; is_connected_account_error : true ; is_device_error : false ; message : string ; } | { created_at : string ; error_code : "device_offline" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "device_removed" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "hub_disconnected" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "device_disconnected" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "empty_backup_access_code_pool" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "august_lock_not_authorized" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "august_lock_missing_bridge" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "ttlock_lock_not_paired_to_gateway" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "missing_device_credentials" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "auxiliary_heat_running" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "subscription_required" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "invalid_credentials" ; is_bridge_error ?: boolean ; is_connected_account_error ?: boolean ; message : string ; } | { created_at : string ; error_code : "bridge_disconnected" ; is_bridge_error ?: boolean ; is_connected_account_error ?: boolean ; message : string ; } ) [] ; is_backup ?: boolean ; is_backup_access_code_available : boolean ; is_external_modification_allowed : boolean ; is_managed : true ; is_offline_access_code : boolean ; is_one_time_use : boolean ; is_scheduled_on_device ?: boolean ; is_waiting_for_code_assignment ?: boolean ; name : null | string ; pulled_backup_access_code_id ?: null | string ; starts_at ?: null | string ; status : | "set" | "unknown" | "setting" | "unset" | "removing" ; type : "time_bound" | "ongoing" ; warnings : ( | { created_at ?: string ; message : string ; warning_code : "smartthings_failed_to_set_access_code" ; } | { created_at ?: string ; message : string ; warning_code : "schlage_detected_duplicate" ; } | { created_at ?: string ; message : string ; warning_code : "schlage_creation_outage" ; } | { created_at ?: string ; message : string ; warning_code : "code_modified_external_to_seam" ; } | { 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 : "august_device_programming_delay" ; } | { created_at ?: string ; message : string ; warning_code : "august_lock_temporarily_offline" ; } | { 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 : "kwikset_unable_to_confirm_code" ; } ) [] ; } [] ; } > , "access_codes" > , "access_codes" > Parameters Optional
body : { access_code_ids ?: string [] ; device_id ?: string ; user_identifier_key ?: string ; } Optional
access_ code_ ids ?: string [] Optional
device_ id ?: string Optional
user_ identifier_ key ?: string Returns SeamHttpRequest < SetNonNullable < Required < { access_codes : { access_code_id : string ; code : null | string ; common_code_key : null | string ; created_at : string ; device_id : string ; ends_at ?: null | string ; errors : ( | { created_at ?: string ; error_code : "smartthings_failed_to_set_access_code" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "smartthings_failed_to_set_after_multiple_retries" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "smartthings_no_free_slots_available" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "failed_to_set_on_device" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "failed_to_remove_from_device" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "duplicate_code_on_device" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "duplicate_code_attempt_prevented" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "igloohome_bridge_too_many_pending_jobs" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "igloohome_bridge_offline" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "igloohome_offline_access_code_no_variance_available" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "kwikset_unable_to_confirm_code" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "kwikset_unable_to_confirm_deletion" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "code_modified_external_to_seam" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "august_lock_invalid_code_length" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "august_device_programming_delay" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "august_device_slots_full" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "august_lock_missing_keypad" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "august_lock_temporarily_offline" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "salto_ks_user_not_subscribed" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "hubitat_device_programming_delay" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "hubitat_no_free_positions_available" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "wyze_duplicate_code_name" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "wyze_potential_duplicate_code" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "dormakaba_oracode_no_valid_user_level" ; is_access_code_error : true ; message : string ; } | { created_at : string ; error_code : "account_disconnected" ; is_connected_account_error : true ; is_device_error : false ; message : string ; } | { created_at : string ; error_code : "salto_ks_subscription_limit_exceeded" ; is_connected_account_error : true ; is_device_error : false ; message : string ; } | { created_at : string ; error_code : "device_offline" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "device_removed" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "hub_disconnected" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "device_disconnected" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "empty_backup_access_code_pool" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "august_lock_not_authorized" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "august_lock_missing_bridge" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "ttlock_lock_not_paired_to_gateway" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "missing_device_credentials" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "auxiliary_heat_running" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "subscription_required" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "invalid_credentials" ; is_bridge_error ?: boolean ; is_connected_account_error ?: boolean ; message : string ; } | { created_at : string ; error_code : "bridge_disconnected" ; is_bridge_error ?: boolean ; is_connected_account_error ?: boolean ; message : string ; } ) [] ; is_backup ?: boolean ; is_backup_access_code_available : boolean ; is_external_modification_allowed : boolean ; is_managed : true ; is_offline_access_code : boolean ; is_one_time_use : boolean ; is_scheduled_on_device ?: boolean ; is_waiting_for_code_assignment ?: boolean ; name : null | string ; pulled_backup_access_code_id ?: null | string ; starts_at ?: null | string ; status : | "set" | "unknown" | "setting" | "unset" | "removing" ; type : "time_bound" | "ongoing" ; warnings : ( | { created_at ?: string ; message : string ; warning_code : "smartthings_failed_to_set_access_code" ; } | { created_at ?: string ; message : string ; warning_code : "schlage_detected_duplicate" ; } | { created_at ?: string ; message : string ; warning_code : "schlage_creation_outage" ; } | { created_at ?: string ; message : string ; warning_code : "code_modified_external_to_seam" ; } | { 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 : "august_device_programming_delay" ; } | { created_at ?: string ; message : string ; warning_code : "august_lock_temporarily_offline" ; } | { 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 : "kwikset_unable_to_confirm_code" ; } ) [] ; } [] ; } > , "access_codes" > , "access_codes" > Defined in src/lib/seam/connect/routes/access-codes.ts:227 pull Backup Access Code pull Backup Access Code ( body ? ) : SeamHttpRequest < SetNonNullable < Required < { access_code : { access_code_id : string ; code : null | string ; common_code_key : null | string ; created_at : string ; device_id : string ; ends_at ?: null | string ; errors : ( | { created_at ?: string ; error_code : "smartthings_failed_to_set_access_code" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "smartthings_failed_to_set_after_multiple_retries" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "smartthings_no_free_slots_available" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "failed_to_set_on_device" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "failed_to_remove_from_device" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "duplicate_code_on_device" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "duplicate_code_attempt_prevented" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "igloohome_bridge_too_many_pending_jobs" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "igloohome_bridge_offline" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "igloohome_offline_access_code_no_variance_available" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "kwikset_unable_to_confirm_code" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "kwikset_unable_to_confirm_deletion" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "code_modified_external_to_seam" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "august_lock_invalid_code_length" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "august_device_programming_delay" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "august_device_slots_full" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "august_lock_missing_keypad" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "august_lock_temporarily_offline" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "salto_ks_user_not_subscribed" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "hubitat_device_programming_delay" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "hubitat_no_free_positions_available" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "wyze_duplicate_code_name" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "wyze_potential_duplicate_code" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "dormakaba_oracode_no_valid_user_level" ; is_access_code_error : true ; message : string ; } | { created_at : string ; error_code : "account_disconnected" ; is_connected_account_error : true ; is_device_error : false ; message : string ; } | { created_at : string ; error_code : "salto_ks_subscription_limit_exceeded" ; is_connected_account_error : true ; is_device_error : false ; message : string ; } | { created_at : string ; error_code : "device_offline" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "device_removed" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "hub_disconnected" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "device_disconnected" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "empty_backup_access_code_pool" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "august_lock_not_authorized" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "august_lock_missing_bridge" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "ttlock_lock_not_paired_to_gateway" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "missing_device_credentials" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "auxiliary_heat_running" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "subscription_required" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "invalid_credentials" ; is_bridge_error ?: boolean ; is_connected_account_error ?: boolean ; message : string ; } | { created_at : string ; error_code : "bridge_disconnected" ; is_bridge_error ?: boolean ; is_connected_account_error ?: boolean ; message : string ; } ) [] ; is_backup ?: boolean ; is_backup_access_code_available : boolean ; is_external_modification_allowed : boolean ; is_managed : true ; is_offline_access_code : boolean ; is_one_time_use : boolean ; is_scheduled_on_device ?: boolean ; is_waiting_for_code_assignment ?: boolean ; name : null | string ; pulled_backup_access_code_id ?: null | string ; starts_at ?: null | string ; status : | "set" | "unknown" | "setting" | "unset" | "removing" ; type : "time_bound" | "ongoing" ; warnings : ( | { created_at ?: string ; message : string ; warning_code : "smartthings_failed_to_set_access_code" ; } | { created_at ?: string ; message : string ; warning_code : "schlage_detected_duplicate" ; } | { created_at ?: string ; message : string ; warning_code : "schlage_creation_outage" ; } | { created_at ?: string ; message : string ; warning_code : "code_modified_external_to_seam" ; } | { 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 : "august_device_programming_delay" ; } | { created_at ?: string ; message : string ; warning_code : "august_lock_temporarily_offline" ; } | { 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 : "kwikset_unable_to_confirm_code" ; } ) [] ; } ; backup_access_code : { access_code_id : string ; code : null | string ; common_code_key : null | string ; created_at : string ; device_id : string ; ends_at ?: null | string ; errors : ( | { created_at ?: string ; error_code : "smartthings_failed_to_set_access_code" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "smartthings_failed_to_set_after_multiple_retries" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "smartthings_no_free_slots_available" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "failed_to_set_on_device" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "failed_to_remove_from_device" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "duplicate_code_on_device" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "duplicate_code_attempt_prevented" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "igloohome_bridge_too_many_pending_jobs" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "igloohome_bridge_offline" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "igloohome_offline_access_code_no_variance_available" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "kwikset_unable_to_confirm_code" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "kwikset_unable_to_confirm_deletion" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "code_modified_external_to_seam" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "august_lock_invalid_code_length" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "august_device_programming_delay" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "august_device_slots_full" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "august_lock_missing_keypad" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "august_lock_temporarily_offline" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "salto_ks_user_not_subscribed" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "hubitat_device_programming_delay" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "hubitat_no_free_positions_available" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "wyze_duplicate_code_name" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "wyze_potential_duplicate_code" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "dormakaba_oracode_no_valid_user_level" ; is_access_code_error : true ; message : string ; } | { created_at : string ; error_code : "account_disconnected" ; is_connected_account_error : true ; is_device_error : false ; message : string ; } | { created_at : string ; error_code : "salto_ks_subscription_limit_exceeded" ; is_connected_account_error : true ; is_device_error : false ; message : string ; } | { created_at : string ; error_code : "device_offline" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "device_removed" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "hub_disconnected" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "device_disconnected" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "empty_backup_access_code_pool" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "august_lock_not_authorized" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "august_lock_missing_bridge" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "ttlock_lock_not_paired_to_gateway" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "missing_device_credentials" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "auxiliary_heat_running" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "subscription_required" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "invalid_credentials" ; is_bridge_error ?: boolean ; is_connected_account_error ?: boolean ; message : string ; } | { created_at : string ; error_code : "bridge_disconnected" ; is_bridge_error ?: boolean ; is_connected_account_error ?: boolean ; message : string ; } ) [] ; is_backup ?: boolean ; is_backup_access_code_available : boolean ; is_external_modification_allowed : boolean ; is_managed : true ; is_offline_access_code : boolean ; is_one_time_use : boolean ; is_scheduled_on_device ?: boolean ; is_waiting_for_code_assignment ?: boolean ; name : null | string ; pulled_backup_access_code_id ?: null | string ; starts_at ?: null | string ; status : | "set" | "unknown" | "setting" | "unset" | "removing" ; type : "time_bound" | "ongoing" ; warnings : ( | { created_at ?: string ; message : string ; warning_code : "smartthings_failed_to_set_access_code" ; } | { created_at ?: string ; message : string ; warning_code : "schlage_detected_duplicate" ; } | { created_at ?: string ; message : string ; warning_code : "schlage_creation_outage" ; } | { created_at ?: string ; message : string ; warning_code : "code_modified_external_to_seam" ; } | { 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 : "august_device_programming_delay" ; } | { created_at ?: string ; message : string ; warning_code : "august_lock_temporarily_offline" ; } | { 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 : "kwikset_unable_to_confirm_code" ; } ) [] ; } ; } > , "access_code" | "backup_access_code" > , "access_code" > Parameters Optional
body : { access_code_id : string ; } Returns SeamHttpRequest < SetNonNullable < Required < { access_code : { access_code_id : string ; code : null | string ; common_code_key : null | string ; created_at : string ; device_id : string ; ends_at ?: null | string ; errors : ( | { created_at ?: string ; error_code : "smartthings_failed_to_set_access_code" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "smartthings_failed_to_set_after_multiple_retries" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "smartthings_no_free_slots_available" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "failed_to_set_on_device" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "failed_to_remove_from_device" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "duplicate_code_on_device" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "duplicate_code_attempt_prevented" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "igloohome_bridge_too_many_pending_jobs" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "igloohome_bridge_offline" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "igloohome_offline_access_code_no_variance_available" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "kwikset_unable_to_confirm_code" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "kwikset_unable_to_confirm_deletion" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "code_modified_external_to_seam" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "august_lock_invalid_code_length" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "august_device_programming_delay" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "august_device_slots_full" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "august_lock_missing_keypad" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "august_lock_temporarily_offline" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "salto_ks_user_not_subscribed" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "hubitat_device_programming_delay" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "hubitat_no_free_positions_available" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "wyze_duplicate_code_name" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "wyze_potential_duplicate_code" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "dormakaba_oracode_no_valid_user_level" ; is_access_code_error : true ; message : string ; } | { created_at : string ; error_code : "account_disconnected" ; is_connected_account_error : true ; is_device_error : false ; message : string ; } | { created_at : string ; error_code : "salto_ks_subscription_limit_exceeded" ; is_connected_account_error : true ; is_device_error : false ; message : string ; } | { created_at : string ; error_code : "device_offline" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "device_removed" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "hub_disconnected" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "device_disconnected" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "empty_backup_access_code_pool" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "august_lock_not_authorized" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "august_lock_missing_bridge" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "ttlock_lock_not_paired_to_gateway" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "missing_device_credentials" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "auxiliary_heat_running" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "subscription_required" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "invalid_credentials" ; is_bridge_error ?: boolean ; is_connected_account_error ?: boolean ; message : string ; } | { created_at : string ; error_code : "bridge_disconnected" ; is_bridge_error ?: boolean ; is_connected_account_error ?: boolean ; message : string ; } ) [] ; is_backup ?: boolean ; is_backup_access_code_available : boolean ; is_external_modification_allowed : boolean ; is_managed : true ; is_offline_access_code : boolean ; is_one_time_use : boolean ; is_scheduled_on_device ?: boolean ; is_waiting_for_code_assignment ?: boolean ; name : null | string ; pulled_backup_access_code_id ?: null | string ; starts_at ?: null | string ; status : | "set" | "unknown" | "setting" | "unset" | "removing" ; type : "time_bound" | "ongoing" ; warnings : ( | { created_at ?: string ; message : string ; warning_code : "smartthings_failed_to_set_access_code" ; } | { created_at ?: string ; message : string ; warning_code : "schlage_detected_duplicate" ; } | { created_at ?: string ; message : string ; warning_code : "schlage_creation_outage" ; } | { created_at ?: string ; message : string ; warning_code : "code_modified_external_to_seam" ; } | { 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 : "august_device_programming_delay" ; } | { created_at ?: string ; message : string ; warning_code : "august_lock_temporarily_offline" ; } | { 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 : "kwikset_unable_to_confirm_code" ; } ) [] ; } ; backup_access_code : { access_code_id : string ; code : null | string ; common_code_key : null | string ; created_at : string ; device_id : string ; ends_at ?: null | string ; errors : ( | { created_at ?: string ; error_code : "smartthings_failed_to_set_access_code" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "smartthings_failed_to_set_after_multiple_retries" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "smartthings_no_free_slots_available" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "failed_to_set_on_device" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "failed_to_remove_from_device" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "duplicate_code_on_device" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "duplicate_code_attempt_prevented" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "igloohome_bridge_too_many_pending_jobs" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "igloohome_bridge_offline" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "igloohome_offline_access_code_no_variance_available" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "kwikset_unable_to_confirm_code" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "kwikset_unable_to_confirm_deletion" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "code_modified_external_to_seam" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "august_lock_invalid_code_length" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "august_device_programming_delay" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "august_device_slots_full" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "august_lock_missing_keypad" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "august_lock_temporarily_offline" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "salto_ks_user_not_subscribed" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "hubitat_device_programming_delay" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "hubitat_no_free_positions_available" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "wyze_duplicate_code_name" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "wyze_potential_duplicate_code" ; is_access_code_error : true ; message : string ; } | { created_at ?: string ; error_code : "dormakaba_oracode_no_valid_user_level" ; is_access_code_error : true ; message : string ; } | { created_at : string ; error_code : "account_disconnected" ; is_connected_account_error : true ; is_device_error : false ; message : string ; } | { created_at : string ; error_code : "salto_ks_subscription_limit_exceeded" ; is_connected_account_error : true ; is_device_error : false ; message : string ; } | { created_at : string ; error_code : "device_offline" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "device_removed" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "hub_disconnected" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "device_disconnected" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "empty_backup_access_code_pool" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "august_lock_not_authorized" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "august_lock_missing_bridge" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "ttlock_lock_not_paired_to_gateway" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "missing_device_credentials" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "auxiliary_heat_running" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "subscription_required" ; is_device_error : true ; message : string ; } | { created_at : string ; error_code : "invalid_credentials" ; is_bridge_error ?: boolean ; is_connected_account_error ?: boolean ; message : string ; } | { created_at : string ; error_code : "bridge_disconnected" ; is_bridge_error ?: boolean ; is_connected_account_error ?: boolean ; message : string ; } ) [] ; is_backup ?: boolean ; is_backup_access_code_available : boolean ; is_external_modification_allowed : boolean ; is_managed : true ; is_offline_access_code : boolean ; is_one_time_use : boolean ; is_scheduled_on_device ?: boolean ; is_waiting_for_code_assignment ?: boolean ; name : null | string ; pulled_backup_access_code_id ?: null | string ; starts_at ?: null | string ; status : | "set" | "unknown" | "setting" | "unset" | "removing" ; type : "time_bound" | "ongoing" ; warnings : ( | { created_at ?: string ; message : string ; warning_code : "smartthings_failed_to_set_access_code" ; } | { created_at ?: string ; message : string ; warning_code : "schlage_detected_duplicate" ; } | { created_at ?: string ; message : string ; warning_code : "schlage_creation_outage" ; } | { created_at ?: string ; message : string ; warning_code : "code_modified_external_to_seam" ; } | { 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 : "august_device_programming_delay" ; } | { created_at ?: string ; message : string ; warning_code : "august_lock_temporarily_offline" ; } | { 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 : "kwikset_unable_to_confirm_code" ; } ) [] ; } ; } > , "access_code" | "backup_access_code" > , "access_code" > Defined in src/lib/seam/connect/routes/access-codes.ts:238 update update ( body ? ) : SeamHttpRequest < void , undefined > Parameters Optional
body : { access_code_id : string ; allow_external_modification ?: boolean ; attempt_for_offline_device ?: boolean ; code ?: string ; device_id ?: string ; ends_at ?: string ; is_external_modification_allowed ?: boolean ; is_managed ?: boolean ; is_offline_access_code ?: boolean ; is_one_time_use ?: boolean ; max_time_rounding ?: | "1hour" | "1day" | "1h" | "1d" ; name ?: string ; prefer_native_scheduling ?: boolean ; preferred_code_length ?: number ; starts_at ?: string ; sync ?: boolean ; type ?: "time_bound" | "ongoing" ; use_backup_access_code_pool ?: boolean ; use_offline_access_code ?: boolean ; } access_ code_ id : string Optional
allow_ external_ modification ?: boolean Optional
attempt_ for_ offline_ device ?: boolean Optional
code ?: string Optional
device_ id ?: string Optional
ends_ at ?: string Optional
is_ external_ modification_ allowed ?: boolean Optional
is_ managed ?: boolean Optional
is_ offline_ access_ code ?: boolean Optional
is_ one_ time_ use ?: boolean Optional
max_ time_ rounding ?: | "1hour" | "1day" | "1h" | "1d" Optional
name ?: string Optional
prefer_ native_ scheduling ?: boolean Optional
preferred_ code_ length ?: number Optional
starts_ at ?: string Optional
sync ?: boolean Optional
type ?: "time_bound" | "ongoing" Optional
use_ backup_ access_ code_ pool ?: boolean Optional
use_ offline_ access_ code ?: boolean Defined in src/lib/seam/connect/routes/access-codes.ts:249 update Client Session Token update Client Session Token ( clientSessionToken ) : Promise < void > Parameters clientSessionToken : string Returns Promise < void > Defined in src/lib/seam/connect/routes/access-codes.ts:147 update Multiple update Multiple ( body ? ) : SeamHttpRequest < void , undefined > Parameters Optional
body : { common_code_key : string ; ends_at ?: string ; name ?: string ; starts_at ?: string ; } common_ code_ key : string Optional
ends_ at ?: string Optional
name ?: string Optional
starts_ at ?: string Defined in src/lib/seam/connect/routes/access-codes.ts:258 Static
from Api Key from Api Key ( apiKey , options ? ) : SeamHttpAccessCodes Defined in src/lib/seam/connect/routes/access-codes.ts:62 Static
from Client from Client ( client , options ? ) : SeamHttpAccessCodes Defined in src/lib/seam/connect/routes/access-codes.ts:51 Static
from Client Session Token from Client Session Token ( clientSessionToken , options ? ) : SeamHttpAccessCodes Defined in src/lib/seam/connect/routes/access-codes.ts:73 Static
from Console Session Token from Console Session Token ( consoleSessionToken , workspaceId , options ? ) : SeamHttpAccessCodes Defined in src/lib/seam/connect/routes/access-codes.ts:107 Static
from Personal Access Token from Personal Access Token ( personalAccessToken , workspaceId , options ? ) : SeamHttpAccessCodes Defined in src/lib/seam/connect/routes/access-codes.ts:124 Static
from Publishable Key from Publishable Key ( publishableKey , userIdentifierKey , options ? ) : Promise < SeamHttpAccessCodes > Defined in src/lib/seam/connect/routes/access-codes.ts:87
Indicates whether external modification of the code is allowed. Default:
false
.