Constructors

Properties

Accessors

/access_codes/create /access_codes/create_multiple /access_codes/delete /access_codes/generate_code /access_codes/get /access_codes/list /access_codes/pull_backup_access_code /access_codes/report_device_constraints /access_codes/simulate/create_unmanaged_access_code /access_codes/unmanaged/convert_to_managed /access_codes/unmanaged/delete /access_codes/unmanaged/get /access_codes/unmanaged/list /access_codes/unmanaged/update /access_codes/update /access_codes/update_multiple /access_grants/create /access_grants/delete /access_grants/get /access_grants/list /access_grants/update /access_methods/delete /access_methods/get /access_methods/list /acs/access_groups/add_user /acs/access_groups/get /acs/access_groups/list /acs/access_groups/list_accessible_entrances /acs/access_groups/list_users /acs/access_groups/remove_user /acs/credentials/assign /acs/credentials/create /acs/credentials/delete /acs/credentials/get /acs/credentials/list /acs/credentials/list_accessible_entrances /acs/credentials/unassign /acs/credentials/update /acs/encoders/encode_access_method /acs/encoders/encode_credential /acs/encoders/get /acs/encoders/list /acs/encoders/scan_credential /acs/encoders/simulate/next_credential_encode_will_fail /acs/encoders/simulate/next_credential_encode_will_succeed /acs/encoders/simulate/next_credential_scan_will_fail /acs/encoders/simulate/next_credential_scan_will_succeed /acs/entrances/get /acs/entrances/grant_access /acs/entrances/list /acs/entrances/list_credentials_with_access /acs/systems/get /acs/systems/list /acs/systems/list_compatible_credential_manager_acs_systems /acs/users/add_to_access_group /acs/users/create /acs/users/delete /acs/users/get /acs/users/list /acs/users/list_accessible_entrances /acs/users/remove_from_access_group /acs/users/revoke_access_to_all_entrances /acs/users/suspend /acs/users/unsuspend /acs/users/update /action_attempts/get /action_attempts/list /client_sessions/create /client_sessions/delete /client_sessions/get /client_sessions/get_or_create /client_sessions/grant_access /client_sessions/list /client_sessions/revoke /connect_webviews/create /connect_webviews/delete /connect_webviews/get /connect_webviews/list /connected_accounts/delete /connected_accounts/get /connected_accounts/list /connected_accounts/sync /connected_accounts/update /devices/get /devices/list /devices/list_device_providers /devices/simulate/connect /devices/simulate/disconnect /devices/simulate/remove /devices/unmanaged/get /devices/unmanaged/list /devices/unmanaged/update /devices/update /events/get /events/list /locks/get /locks/list /locks/lock_door /locks/unlock_door /noise_sensors/list /noise_sensors/noise_thresholds/create /noise_sensors/noise_thresholds/delete /noise_sensors/noise_thresholds/get /noise_sensors/noise_thresholds/list /noise_sensors/noise_thresholds/update /noise_sensors/simulate/trigger_noise_threshold /phones/deactivate /phones/get /phones/list /phones/simulate/create_sandbox_phone /spaces/add_acs_entrances /spaces/add_devices /spaces/create /spaces/delete /spaces/get /spaces/list /spaces/remove_acs_entrances /spaces/remove_devices /spaces/update /thermostats/activate_climate_preset /thermostats/cool /thermostats/create_climate_preset /thermostats/daily_programs/create /thermostats/daily_programs/delete /thermostats/daily_programs/update /thermostats/delete_climate_preset /thermostats/heat /thermostats/heat_cool /thermostats/list /thermostats/off /thermostats/schedules/create /thermostats/schedules/delete /thermostats/schedules/get /thermostats/schedules/list /thermostats/schedules/update /thermostats/set_fallback_climate_preset /thermostats/set_fan_mode /thermostats/set_hvac_mode /thermostats/set_temperature_threshold /thermostats/simulate/hvac_mode_adjusted /thermostats/simulate/temperature_reached /thermostats/update_climate_preset /thermostats/update_weekly_program /user_identities/add_acs_user /user_identities/create /user_identities/delete /user_identities/enrollment_automations/delete /user_identities/enrollment_automations/get /user_identities/enrollment_automations/launch /user_identities/enrollment_automations/list /user_identities/generate_instant_key /user_identities/get /user_identities/grant_access_to_device /user_identities/list /user_identities/list_accessible_devices /user_identities/list_acs_systems /user_identities/list_acs_users /user_identities/remove_acs_user /user_identities/revoke_access_to_device /user_identities/update /webhooks/create /webhooks/delete /webhooks/get /webhooks/list /webhooks/update /workspaces/create /workspaces/get /workspaces/list /workspaces/reset_sandbox /workspaces/update

Methods

Constructors

Properties

client: AxiosInstance
defaults: Required<SeamHttpRequestOptions>
ltsVersion: "1.0.0" = seamApiLtsVersion
ltsVersion: string = seamApiLtsVersion

Accessors

  • get /access_codes/create(): ((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;
    }) => 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: "no_space_for_access_code_on_device";
                    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: "lockly_missing_wifi_bridge";
                    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"
                | "setting"
                | "unset"
                | "removing"
                | "unknown";
            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: (...) | (...);
                        created_at: (...) | (...);
                        ends_at: (...) | (...);
                        is_issued: (...) | (...) | (...);
                        starts_at: (...) | (...);
                        visionline_metadata?: (...) | (...);
                    };
                    acs_credential_on_seam: null | {
                        access_method: (...) | (...) | (...);
                        acs_credential_id: string;
                        acs_credential_pool_id?: (...) | (...);
                        acs_system_id: string;
                        acs_user_id?: (...) | (...);
                        assa_abloy_vostio_metadata?: (...) | (...);
                        card_number?: (...) | (...) | (...);
                        code?: (...) | (...) | (...);
                        created_at: string;
                        display_name: string;
                        ends_at?: (...) | (...);
                        errors: (...)[];
                        external_type?:
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                        external_type_display_name?: (...) | (...);
                        is_issued?: (...) | (...) | (...);
                        is_latest_desired_state_synced_with_provider?:
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                        is_managed: true;
                        is_multi_phone_sync_credential?: (...) | (...) | (...);
                        is_one_time_use?: (...) | (...) | (...);
                        issued_at?: (...) | (...) | (...);
                        latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                        parent_acs_credential_id?: (...) | (...);
                        starts_at?: (...) | (...);
                        visionline_metadata?: (...) | (...);
                        warnings: (...)[];
                        workspace_id: string;
                    } | {
                        access_method: (...) | (...) | (...);
                        acs_credential_id: string;
                        acs_credential_pool_id?: (...) | (...);
                        acs_system_id: string;
                        acs_user_id?: (...) | (...);
                        assa_abloy_vostio_metadata?: (...) | (...);
                        card_number?: (...) | (...) | (...);
                        code?: (...) | (...) | (...);
                        created_at: string;
                        display_name: string;
                        ends_at?: (...) | (...);
                        errors: (...)[];
                        external_type?:
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                        external_type_display_name?: (...) | (...);
                        is_issued?: (...) | (...) | (...);
                        is_latest_desired_state_synced_with_provider?:
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                        is_managed: false;
                        is_multi_phone_sync_credential?: (...) | (...) | (...);
                        is_one_time_use?: (...) | (...) | (...);
                        issued_at?: (...) | (...) | (...);
                        latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                        parent_acs_credential_id?: (...) | (...);
                        starts_at?: (...) | (...);
                        visionline_metadata?: (...) | (...);
                        warnings: (...)[];
                        workspace_id: string;
                    };
                    warnings: {
                        warning_code: (...) | (...);
                        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_ACCESS_METHOD";
                error: null;
                result: null;
                status: "pending";
            }
            | {
                action_attempt_id: string;
                action_type: "ENCODE_ACCESS_METHOD";
                error: null;
                result: {
                    access_method_id: string;
                    created_at: string;
                    display_name: string;
                    instant_key_url?: string;
                    is_card_encoding_required?: boolean;
                    issued_at?: string;
                    mode: "code" | "card" | "mobile_key";
                    workspace_id: string;
                };
                status: "success";
            }
            | {
                action_attempt_id: string;
                action_type: "ENCODE_ACCESS_METHOD";
                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: "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?: {
                        auto_join?: ...;
                        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"
                        | "latch_access";
                    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?: {
                        auto_join?: ...;
                        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"
                        | "latch_access";
                    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;
                };
                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: "SIMULATE_KEYPAD_CODE_ENTRY";
                error: null;
                result: null;
                status: "pending";
            }
            | {
                action_attempt_id: string;
                action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                error: null;
                result: {};
                status: "success";
            }
            | {
                action_attempt_id: string;
                action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                error: {
                    message: string;
                    type: string;
                };
                result: null;
                status: "error";
            }
            | {
                action_attempt_id: string;
                action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                error: null;
                result: null;
                status: "pending";
            }
            | {
                action_attempt_id: string;
                action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                error: null;
                result: {};
                status: "success";
            }
            | {
                action_attempt_id: string;
                action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                error: {
                    message: string;
                    type: string;
                };
                result: null;
                status: "error";
            }
            | {
                action_attempt_id: string;
                action_type: "PUSH_THERMOSTAT_PROGRAMS";
                error: null;
                result: null;
                status: "pending";
            }
            | {
                action_attempt_id: string;
                action_type: "PUSH_THERMOSTAT_PROGRAMS";
                error: null;
                result: {};
                status: "success";
            }
            | {
                action_attempt_id: string;
                action_type: "PUSH_THERMOSTAT_PROGRAMS";
                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";
            };
    }>, "action_attempt" | "access_code">, "access_code">)
  • Returns ((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;
    }) => 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: "no_space_for_access_code_on_device";
                    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: "lockly_missing_wifi_bridge";
                    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"
                | "setting"
                | "unset"
                | "removing"
                | "unknown";
            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: (...) | (...);
                        created_at: (...) | (...);
                        ends_at: (...) | (...);
                        is_issued: (...) | (...) | (...);
                        starts_at: (...) | (...);
                        visionline_metadata?: (...) | (...);
                    };
                    acs_credential_on_seam: null | {
                        access_method: (...) | (...) | (...);
                        acs_credential_id: string;
                        acs_credential_pool_id?: (...) | (...);
                        acs_system_id: string;
                        acs_user_id?: (...) | (...);
                        assa_abloy_vostio_metadata?: (...) | (...);
                        card_number?: (...) | (...) | (...);
                        code?: (...) | (...) | (...);
                        created_at: string;
                        display_name: string;
                        ends_at?: (...) | (...);
                        errors: (...)[];
                        external_type?:
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                        external_type_display_name?: (...) | (...);
                        is_issued?: (...) | (...) | (...);
                        is_latest_desired_state_synced_with_provider?:
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                        is_managed: true;
                        is_multi_phone_sync_credential?: (...) | (...) | (...);
                        is_one_time_use?: (...) | (...) | (...);
                        issued_at?: (...) | (...) | (...);
                        latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                        parent_acs_credential_id?: (...) | (...);
                        starts_at?: (...) | (...);
                        visionline_metadata?: (...) | (...);
                        warnings: (...)[];
                        workspace_id: string;
                    } | {
                        access_method: (...) | (...) | (...);
                        acs_credential_id: string;
                        acs_credential_pool_id?: (...) | (...);
                        acs_system_id: string;
                        acs_user_id?: (...) | (...);
                        assa_abloy_vostio_metadata?: (...) | (...);
                        card_number?: (...) | (...) | (...);
                        code?: (...) | (...) | (...);
                        created_at: string;
                        display_name: string;
                        ends_at?: (...) | (...);
                        errors: (...)[];
                        external_type?:
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                        external_type_display_name?: (...) | (...);
                        is_issued?: (...) | (...) | (...);
                        is_latest_desired_state_synced_with_provider?:
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                        is_managed: false;
                        is_multi_phone_sync_credential?: (...) | (...) | (...);
                        is_one_time_use?: (...) | (...) | (...);
                        issued_at?: (...) | (...) | (...);
                        latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                        parent_acs_credential_id?: (...) | (...);
                        starts_at?: (...) | (...);
                        visionline_metadata?: (...) | (...);
                        warnings: (...)[];
                        workspace_id: string;
                    };
                    warnings: {
                        warning_code: (...) | (...);
                        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_ACCESS_METHOD";
                error: null;
                result: null;
                status: "pending";
            }
            | {
                action_attempt_id: string;
                action_type: "ENCODE_ACCESS_METHOD";
                error: null;
                result: {
                    access_method_id: string;
                    created_at: string;
                    display_name: string;
                    instant_key_url?: string;
                    is_card_encoding_required?: boolean;
                    issued_at?: string;
                    mode: "code" | "card" | "mobile_key";
                    workspace_id: string;
                };
                status: "success";
            }
            | {
                action_attempt_id: string;
                action_type: "ENCODE_ACCESS_METHOD";
                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: "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?: {
                        auto_join?: ...;
                        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"
                        | "latch_access";
                    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?: {
                        auto_join?: ...;
                        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"
                        | "latch_access";
                    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;
                };
                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: "SIMULATE_KEYPAD_CODE_ENTRY";
                error: null;
                result: null;
                status: "pending";
            }
            | {
                action_attempt_id: string;
                action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                error: null;
                result: {};
                status: "success";
            }
            | {
                action_attempt_id: string;
                action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                error: {
                    message: string;
                    type: string;
                };
                result: null;
                status: "error";
            }
            | {
                action_attempt_id: string;
                action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                error: null;
                result: null;
                status: "pending";
            }
            | {
                action_attempt_id: string;
                action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                error: null;
                result: {};
                status: "success";
            }
            | {
                action_attempt_id: string;
                action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                error: {
                    message: string;
                    type: string;
                };
                result: null;
                status: "error";
            }
            | {
                action_attempt_id: string;
                action_type: "PUSH_THERMOSTAT_PROGRAMS";
                error: null;
                result: null;
                status: "pending";
            }
            | {
                action_attempt_id: string;
                action_type: "PUSH_THERMOSTAT_PROGRAMS";
                error: null;
                result: {};
                status: "success";
            }
            | {
                action_attempt_id: string;
                action_type: "PUSH_THERMOSTAT_PROGRAMS";
                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";
            };
    }>, "action_attempt" | "access_code">, "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: "no_space_for_access_code_on_device";
                        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: "lockly_missing_wifi_bridge";
                        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"
                    | "setting"
                    | "unset"
                    | "removing"
                    | "unknown";
                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: (...) | (...);
                            created_at: (...) | (...);
                            ends_at: (...) | (...);
                            is_issued: (...) | (...) | (...);
                            starts_at: (...) | (...);
                            visionline_metadata?: (...) | (...);
                        };
                        acs_credential_on_seam: null | {
                            access_method: (...) | (...) | (...);
                            acs_credential_id: string;
                            acs_credential_pool_id?: (...) | (...);
                            acs_system_id: string;
                            acs_user_id?: (...) | (...);
                            assa_abloy_vostio_metadata?: (...) | (...);
                            card_number?: (...) | (...) | (...);
                            code?: (...) | (...) | (...);
                            created_at: string;
                            display_name: string;
                            ends_at?: (...) | (...);
                            errors: (...)[];
                            external_type?:
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...);
                            external_type_display_name?: (...) | (...);
                            is_issued?: (...) | (...) | (...);
                            is_latest_desired_state_synced_with_provider?:
                                | (...)
                                | (...)
                                | (...)
                                | (...);
                            is_managed: true;
                            is_multi_phone_sync_credential?: (...) | (...) | (...);
                            is_one_time_use?: (...) | (...) | (...);
                            issued_at?: (...) | (...) | (...);
                            latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                            parent_acs_credential_id?: (...) | (...);
                            starts_at?: (...) | (...);
                            visionline_metadata?: (...) | (...);
                            warnings: (...)[];
                            workspace_id: string;
                        } | {
                            access_method: (...) | (...) | (...);
                            acs_credential_id: string;
                            acs_credential_pool_id?: (...) | (...);
                            acs_system_id: string;
                            acs_user_id?: (...) | (...);
                            assa_abloy_vostio_metadata?: (...) | (...);
                            card_number?: (...) | (...) | (...);
                            code?: (...) | (...) | (...);
                            created_at: string;
                            display_name: string;
                            ends_at?: (...) | (...);
                            errors: (...)[];
                            external_type?:
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...);
                            external_type_display_name?: (...) | (...);
                            is_issued?: (...) | (...) | (...);
                            is_latest_desired_state_synced_with_provider?:
                                | (...)
                                | (...)
                                | (...)
                                | (...);
                            is_managed: false;
                            is_multi_phone_sync_credential?: (...) | (...) | (...);
                            is_one_time_use?: (...) | (...) | (...);
                            issued_at?: (...) | (...) | (...);
                            latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                            parent_acs_credential_id?: (...) | (...);
                            starts_at?: (...) | (...);
                            visionline_metadata?: (...) | (...);
                            warnings: (...)[];
                            workspace_id: string;
                        };
                        warnings: {
                            warning_code: (...) | (...);
                            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_ACCESS_METHOD";
                    error: null;
                    result: null;
                    status: "pending";
                }
                | {
                    action_attempt_id: string;
                    action_type: "ENCODE_ACCESS_METHOD";
                    error: null;
                    result: {
                        access_method_id: string;
                        created_at: string;
                        display_name: string;
                        instant_key_url?: string;
                        is_card_encoding_required?: boolean;
                        issued_at?: string;
                        mode: "code" | "card" | "mobile_key";
                        workspace_id: string;
                    };
                    status: "success";
                }
                | {
                    action_attempt_id: string;
                    action_type: "ENCODE_ACCESS_METHOD";
                    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: "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?: {
                            auto_join?: ...;
                            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"
                            | "latch_access";
                        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?: {
                            auto_join?: ...;
                            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"
                            | "latch_access";
                        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;
                    };
                    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: "SIMULATE_KEYPAD_CODE_ENTRY";
                    error: null;
                    result: null;
                    status: "pending";
                }
                | {
                    action_attempt_id: string;
                    action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                    error: null;
                    result: {};
                    status: "success";
                }
                | {
                    action_attempt_id: string;
                    action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                    error: {
                        message: string;
                        type: string;
                    };
                    result: null;
                    status: "error";
                }
                | {
                    action_attempt_id: string;
                    action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                    error: null;
                    result: null;
                    status: "pending";
                }
                | {
                    action_attempt_id: string;
                    action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                    error: null;
                    result: {};
                    status: "success";
                }
                | {
                    action_attempt_id: string;
                    action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                    error: {
                        message: string;
                        type: string;
                    };
                    result: null;
                    status: "error";
                }
                | {
                    action_attempt_id: string;
                    action_type: "PUSH_THERMOSTAT_PROGRAMS";
                    error: null;
                    result: null;
                    status: "pending";
                }
                | {
                    action_attempt_id: string;
                    action_type: "PUSH_THERMOSTAT_PROGRAMS";
                    error: null;
                    result: {};
                    status: "success";
                }
                | {
                    action_attempt_id: string;
                    action_type: "PUSH_THERMOSTAT_PROGRAMS";
                    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";
                };
        }>, "action_attempt" | "access_code">, "access_code">
      • Parameters

        • Optionalbody: {
              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;
          }
          • Optionalallow_external_modification?: boolean

            Indicates whether external modification of the code is allowed. Default: false.

          • Optionalattempt_for_offline_device?: boolean
          • Optionalcode?: string

            Code to be used for access.

          • Optionalcommon_code_key?: string

            Key to identify access codes that should have the same code. Any two access codes with the same common_code_key are guaranteed to have the same code. See also Creating and Updating Multiple Linked Access Codes.

          • device_id: string

            ID of the device for which you want to create the new access code.

          • Optionalends_at?: string

            Date and time at which the validity of the new access code ends, in ISO 8601 format. Must be a time in the future and after starts_at.

          • Optionalis_external_modification_allowed?: boolean

            Indicates whether external modification of the code is allowed. Default: false.

          • Optionalis_offline_access_code?: boolean

            Indicates whether the access code is an offline access code.

          • Optionalis_one_time_use?: boolean

            Indicates whether the offline access code is a single-use access code.

          • Optionalmax_time_rounding?:
                | "1hour"
                | "1day"
                | "1h"
                | "1d"

            Maximum rounding adjustment. To create a daily-bound offline access code for devices that support this feature, set this parameter to 1d.

          • Optionalname?: string

            Name of the new access code. Enables administrators and users to identify the access code easily, especially when there are numerous access codes. Note that the name provided on Seam is used to identify the code on Seam and is not necessarily the name that will appear in the lock provider's app or on the device. This is because lock providers may have constraints on names, such as length, uniqueness, or characters that can be used. In addition, some lock providers may break down names into components such as first_name and last_name. To provide a consistent experience, Seam identifies the code on Seam by its name but may modify the name that appears on the lock provider's app or on the device. For example, Seam may add additional characters or truncate the name to meet provider constraints. To help your users identify codes set by Seam, Seam provides the name exactly as it appears on the lock provider's app or on the device as a separate property called appearance. This is an object with a name property and, optionally, first_name and last_name properties (for providers that break down a name into components).

          • Optionalprefer_native_scheduling?: boolean

            Indicates whether native scheduling should be used for time-bound codes when supported by the provider. Default: true.

          • Optionalpreferred_code_length?: number

            Preferred code length. Only applicable if you do not specify a code. If the affected device does not support the preferred code length, Seam reverts to using the shortest supported code length.

          • Optionalstarts_at?: string

            Date and time at which the validity of the new access code starts, in ISO 8601 format.

          • Optionalsync?: boolean
          • Optionaluse_backup_access_code_pool?: boolean

            Indicates whether to use a backup access code pool provided by Seam. If true, you can use /access_codes/pull_backup_access_code.

          • Optionaluse_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: "no_space_for_access_code_on_device";
                        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: "lockly_missing_wifi_bridge";
                        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"
                    | "setting"
                    | "unset"
                    | "removing"
                    | "unknown";
                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: (...) | (...);
                            created_at: (...) | (...);
                            ends_at: (...) | (...);
                            is_issued: (...) | (...) | (...);
                            starts_at: (...) | (...);
                            visionline_metadata?: (...) | (...);
                        };
                        acs_credential_on_seam: null | {
                            access_method: (...) | (...) | (...);
                            acs_credential_id: string;
                            acs_credential_pool_id?: (...) | (...);
                            acs_system_id: string;
                            acs_user_id?: (...) | (...);
                            assa_abloy_vostio_metadata?: (...) | (...);
                            card_number?: (...) | (...) | (...);
                            code?: (...) | (...) | (...);
                            created_at: string;
                            display_name: string;
                            ends_at?: (...) | (...);
                            errors: (...)[];
                            external_type?:
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...);
                            external_type_display_name?: (...) | (...);
                            is_issued?: (...) | (...) | (...);
                            is_latest_desired_state_synced_with_provider?:
                                | (...)
                                | (...)
                                | (...)
                                | (...);
                            is_managed: true;
                            is_multi_phone_sync_credential?: (...) | (...) | (...);
                            is_one_time_use?: (...) | (...) | (...);
                            issued_at?: (...) | (...) | (...);
                            latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                            parent_acs_credential_id?: (...) | (...);
                            starts_at?: (...) | (...);
                            visionline_metadata?: (...) | (...);
                            warnings: (...)[];
                            workspace_id: string;
                        } | {
                            access_method: (...) | (...) | (...);
                            acs_credential_id: string;
                            acs_credential_pool_id?: (...) | (...);
                            acs_system_id: string;
                            acs_user_id?: (...) | (...);
                            assa_abloy_vostio_metadata?: (...) | (...);
                            card_number?: (...) | (...) | (...);
                            code?: (...) | (...) | (...);
                            created_at: string;
                            display_name: string;
                            ends_at?: (...) | (...);
                            errors: (...)[];
                            external_type?:
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...);
                            external_type_display_name?: (...) | (...);
                            is_issued?: (...) | (...) | (...);
                            is_latest_desired_state_synced_with_provider?:
                                | (...)
                                | (...)
                                | (...)
                                | (...);
                            is_managed: false;
                            is_multi_phone_sync_credential?: (...) | (...) | (...);
                            is_one_time_use?: (...) | (...) | (...);
                            issued_at?: (...) | (...) | (...);
                            latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                            parent_acs_credential_id?: (...) | (...);
                            starts_at?: (...) | (...);
                            visionline_metadata?: (...) | (...);
                            warnings: (...)[];
                            workspace_id: string;
                        };
                        warnings: {
                            warning_code: (...) | (...);
                            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_ACCESS_METHOD";
                    error: null;
                    result: null;
                    status: "pending";
                }
                | {
                    action_attempt_id: string;
                    action_type: "ENCODE_ACCESS_METHOD";
                    error: null;
                    result: {
                        access_method_id: string;
                        created_at: string;
                        display_name: string;
                        instant_key_url?: string;
                        is_card_encoding_required?: boolean;
                        issued_at?: string;
                        mode: "code" | "card" | "mobile_key";
                        workspace_id: string;
                    };
                    status: "success";
                }
                | {
                    action_attempt_id: string;
                    action_type: "ENCODE_ACCESS_METHOD";
                    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: "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?: {
                            auto_join?: ...;
                            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"
                            | "latch_access";
                        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?: {
                            auto_join?: ...;
                            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"
                            | "latch_access";
                        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;
                    };
                    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: "SIMULATE_KEYPAD_CODE_ENTRY";
                    error: null;
                    result: null;
                    status: "pending";
                }
                | {
                    action_attempt_id: string;
                    action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                    error: null;
                    result: {};
                    status: "success";
                }
                | {
                    action_attempt_id: string;
                    action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                    error: {
                        message: string;
                        type: string;
                    };
                    result: null;
                    status: "error";
                }
                | {
                    action_attempt_id: string;
                    action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                    error: null;
                    result: null;
                    status: "pending";
                }
                | {
                    action_attempt_id: string;
                    action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                    error: null;
                    result: {};
                    status: "success";
                }
                | {
                    action_attempt_id: string;
                    action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                    error: {
                        message: string;
                        type: string;
                    };
                    result: null;
                    status: "error";
                }
                | {
                    action_attempt_id: string;
                    action_type: "PUSH_THERMOSTAT_PROGRAMS";
                    error: null;
                    result: null;
                    status: "pending";
                }
                | {
                    action_attempt_id: string;
                    action_type: "PUSH_THERMOSTAT_PROGRAMS";
                    error: null;
                    result: {};
                    status: "success";
                }
                | {
                    action_attempt_id: string;
                    action_type: "PUSH_THERMOSTAT_PROGRAMS";
                    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";
                };
        }>, "action_attempt" | "access_code">, "access_code">

  • get /access_codes/create_multiple(): ((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;
    }) => 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?: (...) | (...);
                    error_code: "smartthings_failed_to_set_access_code";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "smartthings_failed_to_set_after_multiple_retries";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "smartthings_no_free_slots_available";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "failed_to_set_on_device";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "failed_to_remove_from_device";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "duplicate_code_on_device";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "duplicate_code_attempt_prevented";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "no_space_for_access_code_on_device";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "igloohome_bridge_too_many_pending_jobs";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "igloohome_bridge_offline";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "igloohome_offline_access_code_no_variance_available";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "kwikset_unable_to_confirm_code";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "kwikset_unable_to_confirm_deletion";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "code_modified_external_to_seam";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "august_lock_invalid_code_length";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "august_device_programming_delay";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "august_device_slots_full";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "august_lock_missing_keypad";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "august_lock_temporarily_offline";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "salto_ks_user_not_subscribed";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "hubitat_device_programming_delay";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "hubitat_no_free_positions_available";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "wyze_duplicate_code_name";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "wyze_potential_duplicate_code";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    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: "lockly_missing_wifi_bridge";
                    is_device_error: true;
                    message: string;
                }
                | {
                    created_at: string;
                    error_code: "invalid_credentials";
                    is_bridge_error?: (...) | (...) | (...);
                    is_connected_account_error?: (...) | (...) | (...);
                    message: string;
                }
                | {
                    created_at: string;
                    error_code: "bridge_disconnected";
                    is_bridge_error?: (...) | (...) | (...);
                    is_connected_account_error?: (...) | (...) | (...);
                    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"
                | "setting"
                | "unset"
                | "removing"
                | "unknown";
            type: "time_bound" | "ongoing";
            warnings: (
                | {
                    created_at?: (...) | (...);
                    message: string;
                    warning_code: "smartthings_failed_to_set_access_code";
                }
                | {
                    created_at?: (...) | (...);
                    message: string;
                    warning_code: "schlage_detected_duplicate";
                }
                | {
                    created_at?: (...) | (...);
                    message: string;
                    warning_code: "schlage_creation_outage";
                }
                | {
                    created_at?: (...) | (...);
                    message: string;
                    warning_code: "code_modified_external_to_seam";
                }
                | {
                    created_at?: (...) | (...);
                    message: string;
                    warning_code: "delay_in_setting_on_device";
                }
                | {
                    created_at?: (...) | (...);
                    message: string;
                    warning_code: "delay_in_removing_from_device";
                }
                | {
                    created_at?: (...) | (...);
                    message: string;
                    warning_code: "third_party_integration_detected";
                }
                | {
                    created_at?: (...) | (...);
                    message: string;
                    warning_code: "august_device_programming_delay";
                }
                | {
                    created_at?: (...) | (...);
                    message: string;
                    warning_code: "august_lock_temporarily_offline";
                }
                | {
                    created_at?: (...) | (...);
                    message: string;
                    warning_code: "igloo_algopin_must_be_used_within_24_hours";
                }
                | {
                    created_at?: (...) | (...);
                    message: string;
                    warning_code: "management_transferred";
                }
                | {
                    created_at?: (...) | (...);
                    message: string;
                    warning_code: "kwikset_unable_to_confirm_code";
                })[];
        }[];
    }>, "access_codes">, "access_codes">)
  • Returns ((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;
    }) => 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?: (...) | (...);
                    error_code: "smartthings_failed_to_set_access_code";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "smartthings_failed_to_set_after_multiple_retries";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "smartthings_no_free_slots_available";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "failed_to_set_on_device";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "failed_to_remove_from_device";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "duplicate_code_on_device";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "duplicate_code_attempt_prevented";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "no_space_for_access_code_on_device";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "igloohome_bridge_too_many_pending_jobs";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "igloohome_bridge_offline";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "igloohome_offline_access_code_no_variance_available";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "kwikset_unable_to_confirm_code";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "kwikset_unable_to_confirm_deletion";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "code_modified_external_to_seam";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "august_lock_invalid_code_length";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "august_device_programming_delay";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "august_device_slots_full";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "august_lock_missing_keypad";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "august_lock_temporarily_offline";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "salto_ks_user_not_subscribed";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "hubitat_device_programming_delay";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "hubitat_no_free_positions_available";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "wyze_duplicate_code_name";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "wyze_potential_duplicate_code";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    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: "lockly_missing_wifi_bridge";
                    is_device_error: true;
                    message: string;
                }
                | {
                    created_at: string;
                    error_code: "invalid_credentials";
                    is_bridge_error?: (...) | (...) | (...);
                    is_connected_account_error?: (...) | (...) | (...);
                    message: string;
                }
                | {
                    created_at: string;
                    error_code: "bridge_disconnected";
                    is_bridge_error?: (...) | (...) | (...);
                    is_connected_account_error?: (...) | (...) | (...);
                    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"
                | "setting"
                | "unset"
                | "removing"
                | "unknown";
            type: "time_bound" | "ongoing";
            warnings: (
                | {
                    created_at?: (...) | (...);
                    message: string;
                    warning_code: "smartthings_failed_to_set_access_code";
                }
                | {
                    created_at?: (...) | (...);
                    message: string;
                    warning_code: "schlage_detected_duplicate";
                }
                | {
                    created_at?: (...) | (...);
                    message: string;
                    warning_code: "schlage_creation_outage";
                }
                | {
                    created_at?: (...) | (...);
                    message: string;
                    warning_code: "code_modified_external_to_seam";
                }
                | {
                    created_at?: (...) | (...);
                    message: string;
                    warning_code: "delay_in_setting_on_device";
                }
                | {
                    created_at?: (...) | (...);
                    message: string;
                    warning_code: "delay_in_removing_from_device";
                }
                | {
                    created_at?: (...) | (...);
                    message: string;
                    warning_code: "third_party_integration_detected";
                }
                | {
                    created_at?: (...) | (...);
                    message: string;
                    warning_code: "august_device_programming_delay";
                }
                | {
                    created_at?: (...) | (...);
                    message: string;
                    warning_code: "august_lock_temporarily_offline";
                }
                | {
                    created_at?: (...) | (...);
                    message: string;
                    warning_code: "igloo_algopin_must_be_used_within_24_hours";
                }
                | {
                    created_at?: (...) | (...);
                    message: string;
                    warning_code: "management_transferred";
                }
                | {
                    created_at?: (...) | (...);
                    message: string;
                    warning_code: "kwikset_unable_to_confirm_code";
                })[];
        }[];
    }>, "access_codes">, "access_codes">)

      • (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?: (...) | (...);
                        error_code: "smartthings_failed_to_set_access_code";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "smartthings_failed_to_set_after_multiple_retries";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "smartthings_no_free_slots_available";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "failed_to_set_on_device";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "failed_to_remove_from_device";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "duplicate_code_on_device";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "duplicate_code_attempt_prevented";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "no_space_for_access_code_on_device";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "igloohome_bridge_too_many_pending_jobs";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "igloohome_bridge_offline";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "igloohome_offline_access_code_no_variance_available";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "kwikset_unable_to_confirm_code";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "kwikset_unable_to_confirm_deletion";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "code_modified_external_to_seam";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "august_lock_invalid_code_length";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "august_device_programming_delay";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "august_device_slots_full";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "august_lock_missing_keypad";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "august_lock_temporarily_offline";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "salto_ks_user_not_subscribed";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "hubitat_device_programming_delay";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "hubitat_no_free_positions_available";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "wyze_duplicate_code_name";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "wyze_potential_duplicate_code";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        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: "lockly_missing_wifi_bridge";
                        is_device_error: true;
                        message: string;
                    }
                    | {
                        created_at: string;
                        error_code: "invalid_credentials";
                        is_bridge_error?: (...) | (...) | (...);
                        is_connected_account_error?: (...) | (...) | (...);
                        message: string;
                    }
                    | {
                        created_at: string;
                        error_code: "bridge_disconnected";
                        is_bridge_error?: (...) | (...) | (...);
                        is_connected_account_error?: (...) | (...) | (...);
                        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"
                    | "setting"
                    | "unset"
                    | "removing"
                    | "unknown";
                type: "time_bound" | "ongoing";
                warnings: (
                    | {
                        created_at?: (...) | (...);
                        message: string;
                        warning_code: "smartthings_failed_to_set_access_code";
                    }
                    | {
                        created_at?: (...) | (...);
                        message: string;
                        warning_code: "schlage_detected_duplicate";
                    }
                    | {
                        created_at?: (...) | (...);
                        message: string;
                        warning_code: "schlage_creation_outage";
                    }
                    | {
                        created_at?: (...) | (...);
                        message: string;
                        warning_code: "code_modified_external_to_seam";
                    }
                    | {
                        created_at?: (...) | (...);
                        message: string;
                        warning_code: "delay_in_setting_on_device";
                    }
                    | {
                        created_at?: (...) | (...);
                        message: string;
                        warning_code: "delay_in_removing_from_device";
                    }
                    | {
                        created_at?: (...) | (...);
                        message: string;
                        warning_code: "third_party_integration_detected";
                    }
                    | {
                        created_at?: (...) | (...);
                        message: string;
                        warning_code: "august_device_programming_delay";
                    }
                    | {
                        created_at?: (...) | (...);
                        message: string;
                        warning_code: "august_lock_temporarily_offline";
                    }
                    | {
                        created_at?: (...) | (...);
                        message: string;
                        warning_code: "igloo_algopin_must_be_used_within_24_hours";
                    }
                    | {
                        created_at?: (...) | (...);
                        message: string;
                        warning_code: "management_transferred";
                    }
                    | {
                        created_at?: (...) | (...);
                        message: string;
                        warning_code: "kwikset_unable_to_confirm_code";
                    })[];
            }[];
        }>, "access_codes">, "access_codes">
      • Parameters

        • Optionalbody: {
              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;
          }
          • Optionalallow_external_modification?: boolean

            Indicates whether external modification of the code is allowed. Default: false.

          • Optionalattempt_for_offline_device?: boolean
          • Optionalbehavior_when_code_cannot_be_shared?: "throw" | "create_random_code"

            Desired behavior if any device cannot share a code. If throw (default), no access codes will be created if any device cannot share a code. If create_random_code, a random code will be created on devices that cannot share a code.

          • Optionalcode?: string

            Code to be used for access.

          • device_ids: string[]

            IDs of the devices for which you want to create the new access codes.

          • Optionalends_at?: string

            Date and time at which the validity of the new access code ends, in ISO 8601 format. Must be a time in the future and after starts_at.

          • Optionalis_external_modification_allowed?: boolean

            Indicates whether external modification of the code is allowed. Default: false.

          • Optionalis_offline_access_code?: boolean

            Indicates whether the access code is an offline access code.

          • Optionalis_one_time_use?: boolean

            Indicates whether the offline access code is a single-use access code.

          • Optionalmax_time_rounding?:
                | "1hour"
                | "1day"
                | "1h"
                | "1d"

            Maximum rounding adjustment. To create a daily-bound offline access code for devices that support this feature, set this parameter to 1d.

          • Optionalname?: string

            Name of the new access code. Enables administrators and users to identify the access code easily, especially when there are numerous access codes. Note that the name provided on Seam is used to identify the code on Seam and is not necessarily the name that will appear in the lock provider's app or on the device. This is because lock providers may have constraints on names, such as length, uniqueness, or characters that can be used. In addition, some lock providers may break down names into components such as first_name and last_name. To provide a consistent experience, Seam identifies the code on Seam by its name but may modify the name that appears on the lock provider's app or on the device. For example, Seam may add additional characters or truncate the name to meet provider constraints. To help your users identify codes set by Seam, Seam provides the name exactly as it appears on the lock provider's app or on the device as a separate property called appearance. This is an object with a name property and, optionally, first_name and last_name properties (for providers that break down a name into components).

          • Optionalprefer_native_scheduling?: boolean

            Indicates whether native scheduling should be used for time-bound codes when supported by the provider. Default: true.

          • Optionalpreferred_code_length?: number

            Preferred code length. Only applicable if you do not specify a code. If the affected device does not support the preferred code length, Seam reverts to using the shortest supported code length.

          • Optionalstarts_at?: string

            Date and time at which the validity of the new access code starts, in ISO 8601 format.

          • Optionaluse_backup_access_code_pool?: boolean

            Indicates whether to use a backup access code pool provided by Seam. If true, you can use /access_codes/pull_backup_access_code.

          • Optionaluse_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?: (...) | (...);
                        error_code: "smartthings_failed_to_set_access_code";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "smartthings_failed_to_set_after_multiple_retries";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "smartthings_no_free_slots_available";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "failed_to_set_on_device";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "failed_to_remove_from_device";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "duplicate_code_on_device";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "duplicate_code_attempt_prevented";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "no_space_for_access_code_on_device";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "igloohome_bridge_too_many_pending_jobs";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "igloohome_bridge_offline";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "igloohome_offline_access_code_no_variance_available";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "kwikset_unable_to_confirm_code";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "kwikset_unable_to_confirm_deletion";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "code_modified_external_to_seam";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "august_lock_invalid_code_length";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "august_device_programming_delay";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "august_device_slots_full";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "august_lock_missing_keypad";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "august_lock_temporarily_offline";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "salto_ks_user_not_subscribed";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "hubitat_device_programming_delay";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "hubitat_no_free_positions_available";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "wyze_duplicate_code_name";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "wyze_potential_duplicate_code";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        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: "lockly_missing_wifi_bridge";
                        is_device_error: true;
                        message: string;
                    }
                    | {
                        created_at: string;
                        error_code: "invalid_credentials";
                        is_bridge_error?: (...) | (...) | (...);
                        is_connected_account_error?: (...) | (...) | (...);
                        message: string;
                    }
                    | {
                        created_at: string;
                        error_code: "bridge_disconnected";
                        is_bridge_error?: (...) | (...) | (...);
                        is_connected_account_error?: (...) | (...) | (...);
                        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"
                    | "setting"
                    | "unset"
                    | "removing"
                    | "unknown";
                type: "time_bound" | "ongoing";
                warnings: (
                    | {
                        created_at?: (...) | (...);
                        message: string;
                        warning_code: "smartthings_failed_to_set_access_code";
                    }
                    | {
                        created_at?: (...) | (...);
                        message: string;
                        warning_code: "schlage_detected_duplicate";
                    }
                    | {
                        created_at?: (...) | (...);
                        message: string;
                        warning_code: "schlage_creation_outage";
                    }
                    | {
                        created_at?: (...) | (...);
                        message: string;
                        warning_code: "code_modified_external_to_seam";
                    }
                    | {
                        created_at?: (...) | (...);
                        message: string;
                        warning_code: "delay_in_setting_on_device";
                    }
                    | {
                        created_at?: (...) | (...);
                        message: string;
                        warning_code: "delay_in_removing_from_device";
                    }
                    | {
                        created_at?: (...) | (...);
                        message: string;
                        warning_code: "third_party_integration_detected";
                    }
                    | {
                        created_at?: (...) | (...);
                        message: string;
                        warning_code: "august_device_programming_delay";
                    }
                    | {
                        created_at?: (...) | (...);
                        message: string;
                        warning_code: "august_lock_temporarily_offline";
                    }
                    | {
                        created_at?: (...) | (...);
                        message: string;
                        warning_code: "igloo_algopin_must_be_used_within_24_hours";
                    }
                    | {
                        created_at?: (...) | (...);
                        message: string;
                        warning_code: "management_transferred";
                    }
                    | {
                        created_at?: (...) | (...);
                        message: string;
                        warning_code: "kwikset_unable_to_confirm_code";
                    })[];
            }[];
        }>, "access_codes">, "access_codes">

  • get /access_codes/delete(): ((params?: {
        access_code_id: string;
        device_id?: string;
        sync?: boolean;
    }) => SeamHttpRequest<void, undefined>)
  • Returns ((params?: {
        access_code_id: string;
        device_id?: string;
        sync?: boolean;
    }) => SeamHttpRequest<void, undefined>)

      • (params?): SeamHttpRequest<void, undefined>
      • Parameters

        • Optionalparams: {
              access_code_id: string;
              device_id?: string;
              sync?: boolean;
          }
          • access_code_id: string

            ID of the access code that you want to delete.

          • Optionaldevice_id?: string

            ID of the device for which you want to delete the access code.

          • Optionalsync?: boolean

        Returns SeamHttpRequest<void, undefined>

  • get /access_codes/generate_code(): ((params?: {
        device_id: string;
    }) => SeamHttpRequest<SetNonNullable<Required<{
        generated_code: {
            code: string;
            device_id: string;
        };
    }>, "generated_code">, "generated_code">)
  • Returns ((params?: {
        device_id: string;
    }) => SeamHttpRequest<SetNonNullable<Required<{
        generated_code: {
            code: string;
            device_id: string;
        };
    }>, "generated_code">, "generated_code">)

      • (params?): SeamHttpRequest<SetNonNullable<Required<{
            generated_code: {
                code: string;
                device_id: string;
            };
        }>, "generated_code">, "generated_code">
      • Parameters

        • Optionalparams: {
              device_id: string;
          }
          • device_id: string

            ID of the device for which you want to generate a code.

        Returns SeamHttpRequest<SetNonNullable<Required<{
            generated_code: {
                code: string;
                device_id: string;
            };
        }>, "generated_code">, "generated_code">

  • get /access_codes/get(): ((params?: {
        access_code_id?: string;
        code?: string;
        device_id?: string;
    }) => 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: "no_space_for_access_code_on_device";
                    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: "lockly_missing_wifi_bridge";
                    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"
                | "setting"
                | "unset"
                | "removing"
                | "unknown";
            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">)
  • Returns ((params?: {
        access_code_id?: string;
        code?: string;
        device_id?: string;
    }) => 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: "no_space_for_access_code_on_device";
                    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: "lockly_missing_wifi_bridge";
                    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"
                | "setting"
                | "unset"
                | "removing"
                | "unknown";
            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">)

      • (params?): 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: "no_space_for_access_code_on_device";
                        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: "lockly_missing_wifi_bridge";
                        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"
                    | "setting"
                    | "unset"
                    | "removing"
                    | "unknown";
                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

        • Optionalparams: {
              access_code_id?: string;
              code?: string;
              device_id?: string;
          }
          • Optionalaccess_code_id?: string

            ID of the access code that you want to get. You must specify either access_code_id or both device_id and code.

          • Optionalcode?: string

            Code of the access code that you want to get. You must specify either access_code_id or both device_id and code.

          • Optionaldevice_id?: string

            ID of the device containing the access code that you want to get. You must specify either access_code_id or both device_id and code.

        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: "no_space_for_access_code_on_device";
                        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: "lockly_missing_wifi_bridge";
                        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"
                    | "setting"
                    | "unset"
                    | "removing"
                    | "unknown";
                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">

  • get /access_codes/list(): ((params?: {
        access_code_ids?: string[];
        customer_ids?: string[];
        device_id?: string;
        limit?: number;
        page_cursor?: null | string;
        user_identifier_key?: string;
    }) => 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?: (...) | (...);
                    error_code: "smartthings_failed_to_set_access_code";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "smartthings_failed_to_set_after_multiple_retries";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "smartthings_no_free_slots_available";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "failed_to_set_on_device";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "failed_to_remove_from_device";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "duplicate_code_on_device";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "duplicate_code_attempt_prevented";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "no_space_for_access_code_on_device";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "igloohome_bridge_too_many_pending_jobs";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "igloohome_bridge_offline";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "igloohome_offline_access_code_no_variance_available";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "kwikset_unable_to_confirm_code";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "kwikset_unable_to_confirm_deletion";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "code_modified_external_to_seam";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "august_lock_invalid_code_length";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "august_device_programming_delay";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "august_device_slots_full";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "august_lock_missing_keypad";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "august_lock_temporarily_offline";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "salto_ks_user_not_subscribed";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "hubitat_device_programming_delay";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "hubitat_no_free_positions_available";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "wyze_duplicate_code_name";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "wyze_potential_duplicate_code";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    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: "lockly_missing_wifi_bridge";
                    is_device_error: true;
                    message: string;
                }
                | {
                    created_at: string;
                    error_code: "invalid_credentials";
                    is_bridge_error?: (...) | (...) | (...);
                    is_connected_account_error?: (...) | (...) | (...);
                    message: string;
                }
                | {
                    created_at: string;
                    error_code: "bridge_disconnected";
                    is_bridge_error?: (...) | (...) | (...);
                    is_connected_account_error?: (...) | (...) | (...);
                    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"
                | "setting"
                | "unset"
                | "removing"
                | "unknown";
            type: "time_bound" | "ongoing";
            warnings: (
                | {
                    created_at?: (...) | (...);
                    message: string;
                    warning_code: "smartthings_failed_to_set_access_code";
                }
                | {
                    created_at?: (...) | (...);
                    message: string;
                    warning_code: "schlage_detected_duplicate";
                }
                | {
                    created_at?: (...) | (...);
                    message: string;
                    warning_code: "schlage_creation_outage";
                }
                | {
                    created_at?: (...) | (...);
                    message: string;
                    warning_code: "code_modified_external_to_seam";
                }
                | {
                    created_at?: (...) | (...);
                    message: string;
                    warning_code: "delay_in_setting_on_device";
                }
                | {
                    created_at?: (...) | (...);
                    message: string;
                    warning_code: "delay_in_removing_from_device";
                }
                | {
                    created_at?: (...) | (...);
                    message: string;
                    warning_code: "third_party_integration_detected";
                }
                | {
                    created_at?: (...) | (...);
                    message: string;
                    warning_code: "august_device_programming_delay";
                }
                | {
                    created_at?: (...) | (...);
                    message: string;
                    warning_code: "august_lock_temporarily_offline";
                }
                | {
                    created_at?: (...) | (...);
                    message: string;
                    warning_code: "igloo_algopin_must_be_used_within_24_hours";
                }
                | {
                    created_at?: (...) | (...);
                    message: string;
                    warning_code: "management_transferred";
                }
                | {
                    created_at?: (...) | (...);
                    message: string;
                    warning_code: "kwikset_unable_to_confirm_code";
                })[];
        }[];
        pagination: {
            has_next_page: boolean;
            next_page_cursor: null | string;
            next_page_url: null | string;
        };
    }>, "pagination" | "access_codes">, "access_codes">)
  • Returns ((params?: {
        access_code_ids?: string[];
        customer_ids?: string[];
        device_id?: string;
        limit?: number;
        page_cursor?: null | string;
        user_identifier_key?: string;
    }) => 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?: (...) | (...);
                    error_code: "smartthings_failed_to_set_access_code";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "smartthings_failed_to_set_after_multiple_retries";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "smartthings_no_free_slots_available";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "failed_to_set_on_device";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "failed_to_remove_from_device";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "duplicate_code_on_device";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "duplicate_code_attempt_prevented";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "no_space_for_access_code_on_device";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "igloohome_bridge_too_many_pending_jobs";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "igloohome_bridge_offline";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "igloohome_offline_access_code_no_variance_available";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "kwikset_unable_to_confirm_code";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "kwikset_unable_to_confirm_deletion";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "code_modified_external_to_seam";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "august_lock_invalid_code_length";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "august_device_programming_delay";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "august_device_slots_full";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "august_lock_missing_keypad";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "august_lock_temporarily_offline";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "salto_ks_user_not_subscribed";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "hubitat_device_programming_delay";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "hubitat_no_free_positions_available";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "wyze_duplicate_code_name";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "wyze_potential_duplicate_code";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    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: "lockly_missing_wifi_bridge";
                    is_device_error: true;
                    message: string;
                }
                | {
                    created_at: string;
                    error_code: "invalid_credentials";
                    is_bridge_error?: (...) | (...) | (...);
                    is_connected_account_error?: (...) | (...) | (...);
                    message: string;
                }
                | {
                    created_at: string;
                    error_code: "bridge_disconnected";
                    is_bridge_error?: (...) | (...) | (...);
                    is_connected_account_error?: (...) | (...) | (...);
                    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"
                | "setting"
                | "unset"
                | "removing"
                | "unknown";
            type: "time_bound" | "ongoing";
            warnings: (
                | {
                    created_at?: (...) | (...);
                    message: string;
                    warning_code: "smartthings_failed_to_set_access_code";
                }
                | {
                    created_at?: (...) | (...);
                    message: string;
                    warning_code: "schlage_detected_duplicate";
                }
                | {
                    created_at?: (...) | (...);
                    message: string;
                    warning_code: "schlage_creation_outage";
                }
                | {
                    created_at?: (...) | (...);
                    message: string;
                    warning_code: "code_modified_external_to_seam";
                }
                | {
                    created_at?: (...) | (...);
                    message: string;
                    warning_code: "delay_in_setting_on_device";
                }
                | {
                    created_at?: (...) | (...);
                    message: string;
                    warning_code: "delay_in_removing_from_device";
                }
                | {
                    created_at?: (...) | (...);
                    message: string;
                    warning_code: "third_party_integration_detected";
                }
                | {
                    created_at?: (...) | (...);
                    message: string;
                    warning_code: "august_device_programming_delay";
                }
                | {
                    created_at?: (...) | (...);
                    message: string;
                    warning_code: "august_lock_temporarily_offline";
                }
                | {
                    created_at?: (...) | (...);
                    message: string;
                    warning_code: "igloo_algopin_must_be_used_within_24_hours";
                }
                | {
                    created_at?: (...) | (...);
                    message: string;
                    warning_code: "management_transferred";
                }
                | {
                    created_at?: (...) | (...);
                    message: string;
                    warning_code: "kwikset_unable_to_confirm_code";
                })[];
        }[];
        pagination: {
            has_next_page: boolean;
            next_page_cursor: null | string;
            next_page_url: null | string;
        };
    }>, "pagination" | "access_codes">, "access_codes">)

      • (params?): 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?: (...) | (...);
                        error_code: "smartthings_failed_to_set_access_code";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "smartthings_failed_to_set_after_multiple_retries";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "smartthings_no_free_slots_available";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "failed_to_set_on_device";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "failed_to_remove_from_device";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "duplicate_code_on_device";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "duplicate_code_attempt_prevented";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "no_space_for_access_code_on_device";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "igloohome_bridge_too_many_pending_jobs";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "igloohome_bridge_offline";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "igloohome_offline_access_code_no_variance_available";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "kwikset_unable_to_confirm_code";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "kwikset_unable_to_confirm_deletion";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "code_modified_external_to_seam";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "august_lock_invalid_code_length";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "august_device_programming_delay";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "august_device_slots_full";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "august_lock_missing_keypad";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "august_lock_temporarily_offline";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "salto_ks_user_not_subscribed";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "hubitat_device_programming_delay";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "hubitat_no_free_positions_available";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "wyze_duplicate_code_name";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "wyze_potential_duplicate_code";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        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: "lockly_missing_wifi_bridge";
                        is_device_error: true;
                        message: string;
                    }
                    | {
                        created_at: string;
                        error_code: "invalid_credentials";
                        is_bridge_error?: (...) | (...) | (...);
                        is_connected_account_error?: (...) | (...) | (...);
                        message: string;
                    }
                    | {
                        created_at: string;
                        error_code: "bridge_disconnected";
                        is_bridge_error?: (...) | (...) | (...);
                        is_connected_account_error?: (...) | (...) | (...);
                        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"
                    | "setting"
                    | "unset"
                    | "removing"
                    | "unknown";
                type: "time_bound" | "ongoing";
                warnings: (
                    | {
                        created_at?: (...) | (...);
                        message: string;
                        warning_code: "smartthings_failed_to_set_access_code";
                    }
                    | {
                        created_at?: (...) | (...);
                        message: string;
                        warning_code: "schlage_detected_duplicate";
                    }
                    | {
                        created_at?: (...) | (...);
                        message: string;
                        warning_code: "schlage_creation_outage";
                    }
                    | {
                        created_at?: (...) | (...);
                        message: string;
                        warning_code: "code_modified_external_to_seam";
                    }
                    | {
                        created_at?: (...) | (...);
                        message: string;
                        warning_code: "delay_in_setting_on_device";
                    }
                    | {
                        created_at?: (...) | (...);
                        message: string;
                        warning_code: "delay_in_removing_from_device";
                    }
                    | {
                        created_at?: (...) | (...);
                        message: string;
                        warning_code: "third_party_integration_detected";
                    }
                    | {
                        created_at?: (...) | (...);
                        message: string;
                        warning_code: "august_device_programming_delay";
                    }
                    | {
                        created_at?: (...) | (...);
                        message: string;
                        warning_code: "august_lock_temporarily_offline";
                    }
                    | {
                        created_at?: (...) | (...);
                        message: string;
                        warning_code: "igloo_algopin_must_be_used_within_24_hours";
                    }
                    | {
                        created_at?: (...) | (...);
                        message: string;
                        warning_code: "management_transferred";
                    }
                    | {
                        created_at?: (...) | (...);
                        message: string;
                        warning_code: "kwikset_unable_to_confirm_code";
                    })[];
            }[];
            pagination: {
                has_next_page: boolean;
                next_page_cursor: null | string;
                next_page_url: null | string;
            };
        }>, "pagination" | "access_codes">, "access_codes">
      • Parameters

        • Optionalparams: {
              access_code_ids?: string[];
              customer_ids?: string[];
              device_id?: string;
              limit?: number;
              page_cursor?: null | string;
              user_identifier_key?: string;
          }
          • Optionalaccess_code_ids?: string[]

            IDs of the access codes that you want to retrieve. Specify either device_id or access_code_ids.

          • Optionalcustomer_ids?: string[]
          • Optionaldevice_id?: string

            ID of the device for which you want to list access codes. Specify either device_id or access_code_ids.

          • Optionallimit?: number

            Numerical limit on the number of access codes to return.

          • Optionalpage_cursor?: null | string

            Identifies the specific page of results to return, obtained from the previous page's next_page_cursor.

          • Optionaluser_identifier_key?: string

            Your user ID for the user by which to filter access codes.

        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?: (...) | (...);
                        error_code: "smartthings_failed_to_set_access_code";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "smartthings_failed_to_set_after_multiple_retries";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "smartthings_no_free_slots_available";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "failed_to_set_on_device";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "failed_to_remove_from_device";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "duplicate_code_on_device";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "duplicate_code_attempt_prevented";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "no_space_for_access_code_on_device";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "igloohome_bridge_too_many_pending_jobs";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "igloohome_bridge_offline";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "igloohome_offline_access_code_no_variance_available";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "kwikset_unable_to_confirm_code";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "kwikset_unable_to_confirm_deletion";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "code_modified_external_to_seam";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "august_lock_invalid_code_length";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "august_device_programming_delay";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "august_device_slots_full";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "august_lock_missing_keypad";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "august_lock_temporarily_offline";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "salto_ks_user_not_subscribed";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "hubitat_device_programming_delay";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "hubitat_no_free_positions_available";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "wyze_duplicate_code_name";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "wyze_potential_duplicate_code";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        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: "lockly_missing_wifi_bridge";
                        is_device_error: true;
                        message: string;
                    }
                    | {
                        created_at: string;
                        error_code: "invalid_credentials";
                        is_bridge_error?: (...) | (...) | (...);
                        is_connected_account_error?: (...) | (...) | (...);
                        message: string;
                    }
                    | {
                        created_at: string;
                        error_code: "bridge_disconnected";
                        is_bridge_error?: (...) | (...) | (...);
                        is_connected_account_error?: (...) | (...) | (...);
                        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"
                    | "setting"
                    | "unset"
                    | "removing"
                    | "unknown";
                type: "time_bound" | "ongoing";
                warnings: (
                    | {
                        created_at?: (...) | (...);
                        message: string;
                        warning_code: "smartthings_failed_to_set_access_code";
                    }
                    | {
                        created_at?: (...) | (...);
                        message: string;
                        warning_code: "schlage_detected_duplicate";
                    }
                    | {
                        created_at?: (...) | (...);
                        message: string;
                        warning_code: "schlage_creation_outage";
                    }
                    | {
                        created_at?: (...) | (...);
                        message: string;
                        warning_code: "code_modified_external_to_seam";
                    }
                    | {
                        created_at?: (...) | (...);
                        message: string;
                        warning_code: "delay_in_setting_on_device";
                    }
                    | {
                        created_at?: (...) | (...);
                        message: string;
                        warning_code: "delay_in_removing_from_device";
                    }
                    | {
                        created_at?: (...) | (...);
                        message: string;
                        warning_code: "third_party_integration_detected";
                    }
                    | {
                        created_at?: (...) | (...);
                        message: string;
                        warning_code: "august_device_programming_delay";
                    }
                    | {
                        created_at?: (...) | (...);
                        message: string;
                        warning_code: "august_lock_temporarily_offline";
                    }
                    | {
                        created_at?: (...) | (...);
                        message: string;
                        warning_code: "igloo_algopin_must_be_used_within_24_hours";
                    }
                    | {
                        created_at?: (...) | (...);
                        message: string;
                        warning_code: "management_transferred";
                    }
                    | {
                        created_at?: (...) | (...);
                        message: string;
                        warning_code: "kwikset_unable_to_confirm_code";
                    })[];
            }[];
            pagination: {
                has_next_page: boolean;
                next_page_cursor: null | string;
                next_page_url: null | string;
            };
        }>, "pagination" | "access_codes">, "access_codes">

  • get /access_codes/pull_backup_access_code(): ((body?: {
        access_code_id: string;
    }) => 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: "no_space_for_access_code_on_device";
                    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: "lockly_missing_wifi_bridge";
                    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"
                | "setting"
                | "unset"
                | "removing"
                | "unknown";
            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: "no_space_for_access_code_on_device";
                    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: "lockly_missing_wifi_bridge";
                    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"
                | "setting"
                | "unset"
                | "removing"
                | "unknown";
            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">)
  • Returns ((body?: {
        access_code_id: string;
    }) => 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: "no_space_for_access_code_on_device";
                    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: "lockly_missing_wifi_bridge";
                    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"
                | "setting"
                | "unset"
                | "removing"
                | "unknown";
            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: "no_space_for_access_code_on_device";
                    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: "lockly_missing_wifi_bridge";
                    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"
                | "setting"
                | "unset"
                | "removing"
                | "unknown";
            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">)

      • (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: "no_space_for_access_code_on_device";
                        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: "lockly_missing_wifi_bridge";
                        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"
                    | "setting"
                    | "unset"
                    | "removing"
                    | "unknown";
                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: "no_space_for_access_code_on_device";
                        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: "lockly_missing_wifi_bridge";
                        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"
                    | "setting"
                    | "unset"
                    | "removing"
                    | "unknown";
                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

        • Optionalbody: {
              access_code_id: string;
          }
          • access_code_id: string

            ID of the access code for which you want to pull a backup access code.

        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: "no_space_for_access_code_on_device";
                        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: "lockly_missing_wifi_bridge";
                        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"
                    | "setting"
                    | "unset"
                    | "removing"
                    | "unknown";
                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: "no_space_for_access_code_on_device";
                        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: "lockly_missing_wifi_bridge";
                        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"
                    | "setting"
                    | "unset"
                    | "removing"
                    | "unknown";
                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">

  • get /access_codes/report_device_constraints(): ((body?: {
        device_id: string;
        max_code_length?: number;
        min_code_length?: number;
        supported_code_lengths?: number[];
    }) => SeamHttpRequest<void, undefined>)
  • Returns ((body?: {
        device_id: string;
        max_code_length?: number;
        min_code_length?: number;
        supported_code_lengths?: number[];
    }) => SeamHttpRequest<void, undefined>)

      • (body?): SeamHttpRequest<void, undefined>
      • Parameters

        • Optionalbody: {
              device_id: string;
              max_code_length?: number;
              min_code_length?: number;
              supported_code_lengths?: number[];
          }
          • device_id: string

            ID of the device for which you want to report constraints.

          • Optionalmax_code_length?: number

            Maximum supported code length as an integer between 4 and 20, inclusive. You can specify either min_code_length/max_code_length or supported_code_lengths.

          • Optionalmin_code_length?: number

            Minimum supported code length as an integer between 4 and 20, inclusive. You can specify either min_code_length/max_code_length or supported_code_lengths.

          • Optionalsupported_code_lengths?: number[]

            Array of supported code lengths as integers between 4 and 20, inclusive. You can specify either supported_code_lengths or min_code_length/max_code_length.

        Returns SeamHttpRequest<void, undefined>

  • get /access_codes/simulate/create_unmanaged_access_code(): ((body?: {
        code: string;
        device_id: string;
        name: string;
    }) => SeamHttpRequest<SetNonNullable<Required<{
        access_code: {
            access_code_id: string;
            code: 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: "no_space_for_access_code_on_device";
                    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: "lockly_missing_wifi_bridge";
                    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_managed: false;
            name: null | string;
            starts_at?: null | string;
            status: "set";
            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">)
  • Returns ((body?: {
        code: string;
        device_id: string;
        name: string;
    }) => SeamHttpRequest<SetNonNullable<Required<{
        access_code: {
            access_code_id: string;
            code: 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: "no_space_for_access_code_on_device";
                    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: "lockly_missing_wifi_bridge";
                    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_managed: false;
            name: null | string;
            starts_at?: null | string;
            status: "set";
            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">)

      • (body?): SeamHttpRequest<SetNonNullable<Required<{
            access_code: {
                access_code_id: string;
                code: 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: "no_space_for_access_code_on_device";
                        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: "lockly_missing_wifi_bridge";
                        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_managed: false;
                name: null | string;
                starts_at?: null | string;
                status: "set";
                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

        • Optionalbody: {
              code: string;
              device_id: string;
              name: string;
          }
          • code: string

            Code of the simulated unmanaged access code.

          • device_id: string

            ID of the device for which you want to simulate the creation of an unmanaged access code.

          • name: string

            Name of the simulated unmanaged access code.

        Returns SeamHttpRequest<SetNonNullable<Required<{
            access_code: {
                access_code_id: string;
                code: 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: "no_space_for_access_code_on_device";
                        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: "lockly_missing_wifi_bridge";
                        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_managed: false;
                name: null | string;
                starts_at?: null | string;
                status: "set";
                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">

  • get /access_codes/unmanaged/convert_to_managed(): ((body?: {
        access_code_id: string;
        allow_external_modification?: boolean;
        force?: boolean;
        is_external_modification_allowed?: boolean;
        sync?: boolean;
    }) => SeamHttpRequest<void, undefined>)
  • Returns ((body?: {
        access_code_id: string;
        allow_external_modification?: boolean;
        force?: boolean;
        is_external_modification_allowed?: boolean;
        sync?: boolean;
    }) => SeamHttpRequest<void, undefined>)

      • (body?): SeamHttpRequest<void, undefined>
      • Parameters

        • Optionalbody: {
              access_code_id: string;
              allow_external_modification?: boolean;
              force?: boolean;
              is_external_modification_allowed?: boolean;
              sync?: boolean;
          }
          • access_code_id: string

            ID of the unmanaged access code that you want to convert to a managed access code.

          • Optionalallow_external_modification?: boolean

            Indicates whether external modification of the access code is allowed.

          • Optionalforce?: boolean

            Indicates whether to force the access code conversion. To switch management of an access code from one Seam workspace to another, set force to true.

          • Optionalis_external_modification_allowed?: boolean

            Indicates whether external modification of the access code is allowed.

          • Optionalsync?: boolean

        Returns SeamHttpRequest<void, undefined>

  • get /access_codes/unmanaged/delete(): ((params?: {
        access_code_id: string;
        sync?: boolean;
    }) => SeamHttpRequest<void, undefined>)
  • Returns ((params?: {
        access_code_id: string;
        sync?: boolean;
    }) => SeamHttpRequest<void, undefined>)

      • (params?): SeamHttpRequest<void, undefined>
      • Parameters

        • Optionalparams: {
              access_code_id: string;
              sync?: boolean;
          }
          • access_code_id: string

            ID of the unmanaged access code that you want to delete.

          • Optionalsync?: boolean

        Returns SeamHttpRequest<void, undefined>

  • get /access_codes/unmanaged/get(): ((params?: {
        access_code_id?: string;
        code?: string;
        device_id?: string;
    }) => SeamHttpRequest<SetNonNullable<Required<{
        access_code: {
            access_code_id: string;
            code: 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: "no_space_for_access_code_on_device";
                    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: "lockly_missing_wifi_bridge";
                    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_managed: false;
            name: null | string;
            starts_at?: null | string;
            status: "set";
            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">)
  • Returns ((params?: {
        access_code_id?: string;
        code?: string;
        device_id?: string;
    }) => SeamHttpRequest<SetNonNullable<Required<{
        access_code: {
            access_code_id: string;
            code: 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: "no_space_for_access_code_on_device";
                    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: "lockly_missing_wifi_bridge";
                    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_managed: false;
            name: null | string;
            starts_at?: null | string;
            status: "set";
            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">)

      • (params?): SeamHttpRequest<SetNonNullable<Required<{
            access_code: {
                access_code_id: string;
                code: 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: "no_space_for_access_code_on_device";
                        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: "lockly_missing_wifi_bridge";
                        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_managed: false;
                name: null | string;
                starts_at?: null | string;
                status: "set";
                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

        • Optionalparams: {
              access_code_id?: string;
              code?: string;
              device_id?: string;
          }
          • Optionalaccess_code_id?: string

            ID of the unmanaged access code that you want to get. You must specify either access_code_id or both device_id and code.

          • Optionalcode?: string

            Code of the unmanaged access code that you want to get. You must specify either access_code_id or both device_id and code.

          • Optionaldevice_id?: string

            ID of the device containing the unmanaged access code that you want to get. You must specify either access_code_id or both device_id and code.

        Returns SeamHttpRequest<SetNonNullable<Required<{
            access_code: {
                access_code_id: string;
                code: 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: "no_space_for_access_code_on_device";
                        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: "lockly_missing_wifi_bridge";
                        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_managed: false;
                name: null | string;
                starts_at?: null | string;
                status: "set";
                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">

  • get /access_codes/unmanaged/list(): ((params?: {
        device_id: string;
        user_identifier_key?: string;
    }) => SeamHttpRequest<SetNonNullable<Required<{
        access_codes: {
            access_code_id: string;
            code: null | string;
            created_at: string;
            device_id: string;
            ends_at?: null | string;
            errors: (
                | {
                    created_at?: (...) | (...);
                    error_code: "smartthings_failed_to_set_access_code";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "smartthings_failed_to_set_after_multiple_retries";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "smartthings_no_free_slots_available";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "failed_to_set_on_device";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "failed_to_remove_from_device";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "duplicate_code_on_device";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "duplicate_code_attempt_prevented";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "no_space_for_access_code_on_device";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "igloohome_bridge_too_many_pending_jobs";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "igloohome_bridge_offline";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "igloohome_offline_access_code_no_variance_available";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "kwikset_unable_to_confirm_code";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "kwikset_unable_to_confirm_deletion";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "code_modified_external_to_seam";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "august_lock_invalid_code_length";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "august_device_programming_delay";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "august_device_slots_full";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "august_lock_missing_keypad";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "august_lock_temporarily_offline";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "salto_ks_user_not_subscribed";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "hubitat_device_programming_delay";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "hubitat_no_free_positions_available";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "wyze_duplicate_code_name";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "wyze_potential_duplicate_code";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    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: "lockly_missing_wifi_bridge";
                    is_device_error: true;
                    message: string;
                }
                | {
                    created_at: string;
                    error_code: "invalid_credentials";
                    is_bridge_error?: (...) | (...) | (...);
                    is_connected_account_error?: (...) | (...) | (...);
                    message: string;
                }
                | {
                    created_at: string;
                    error_code: "bridge_disconnected";
                    is_bridge_error?: (...) | (...) | (...);
                    is_connected_account_error?: (...) | (...) | (...);
                    message: string;
                })[];
            is_managed: false;
            name: null | string;
            starts_at?: null | string;
            status: "set";
            type: "time_bound" | "ongoing";
            warnings: (
                | {
                    created_at?: (...) | (...);
                    message: string;
                    warning_code: "smartthings_failed_to_set_access_code";
                }
                | {
                    created_at?: (...) | (...);
                    message: string;
                    warning_code: "schlage_detected_duplicate";
                }
                | {
                    created_at?: (...) | (...);
                    message: string;
                    warning_code: "schlage_creation_outage";
                }
                | {
                    created_at?: (...) | (...);
                    message: string;
                    warning_code: "code_modified_external_to_seam";
                }
                | {
                    created_at?: (...) | (...);
                    message: string;
                    warning_code: "delay_in_setting_on_device";
                }
                | {
                    created_at?: (...) | (...);
                    message: string;
                    warning_code: "delay_in_removing_from_device";
                }
                | {
                    created_at?: (...) | (...);
                    message: string;
                    warning_code: "third_party_integration_detected";
                }
                | {
                    created_at?: (...) | (...);
                    message: string;
                    warning_code: "august_device_programming_delay";
                }
                | {
                    created_at?: (...) | (...);
                    message: string;
                    warning_code: "august_lock_temporarily_offline";
                }
                | {
                    created_at?: (...) | (...);
                    message: string;
                    warning_code: "igloo_algopin_must_be_used_within_24_hours";
                }
                | {
                    created_at?: (...) | (...);
                    message: string;
                    warning_code: "management_transferred";
                }
                | {
                    created_at?: (...) | (...);
                    message: string;
                    warning_code: "kwikset_unable_to_confirm_code";
                })[];
        }[];
    }>, "access_codes">, "access_codes">)
  • Returns ((params?: {
        device_id: string;
        user_identifier_key?: string;
    }) => SeamHttpRequest<SetNonNullable<Required<{
        access_codes: {
            access_code_id: string;
            code: null | string;
            created_at: string;
            device_id: string;
            ends_at?: null | string;
            errors: (
                | {
                    created_at?: (...) | (...);
                    error_code: "smartthings_failed_to_set_access_code";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "smartthings_failed_to_set_after_multiple_retries";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "smartthings_no_free_slots_available";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "failed_to_set_on_device";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "failed_to_remove_from_device";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "duplicate_code_on_device";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "duplicate_code_attempt_prevented";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "no_space_for_access_code_on_device";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "igloohome_bridge_too_many_pending_jobs";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "igloohome_bridge_offline";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "igloohome_offline_access_code_no_variance_available";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "kwikset_unable_to_confirm_code";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "kwikset_unable_to_confirm_deletion";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "code_modified_external_to_seam";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "august_lock_invalid_code_length";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "august_device_programming_delay";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "august_device_slots_full";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "august_lock_missing_keypad";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "august_lock_temporarily_offline";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "salto_ks_user_not_subscribed";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "hubitat_device_programming_delay";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "hubitat_no_free_positions_available";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "wyze_duplicate_code_name";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    error_code: "wyze_potential_duplicate_code";
                    is_access_code_error: true;
                    message: string;
                }
                | {
                    created_at?: (...) | (...);
                    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: "lockly_missing_wifi_bridge";
                    is_device_error: true;
                    message: string;
                }
                | {
                    created_at: string;
                    error_code: "invalid_credentials";
                    is_bridge_error?: (...) | (...) | (...);
                    is_connected_account_error?: (...) | (...) | (...);
                    message: string;
                }
                | {
                    created_at: string;
                    error_code: "bridge_disconnected";
                    is_bridge_error?: (...) | (...) | (...);
                    is_connected_account_error?: (...) | (...) | (...);
                    message: string;
                })[];
            is_managed: false;
            name: null | string;
            starts_at?: null | string;
            status: "set";
            type: "time_bound" | "ongoing";
            warnings: (
                | {
                    created_at?: (...) | (...);
                    message: string;
                    warning_code: "smartthings_failed_to_set_access_code";
                }
                | {
                    created_at?: (...) | (...);
                    message: string;
                    warning_code: "schlage_detected_duplicate";
                }
                | {
                    created_at?: (...) | (...);
                    message: string;
                    warning_code: "schlage_creation_outage";
                }
                | {
                    created_at?: (...) | (...);
                    message: string;
                    warning_code: "code_modified_external_to_seam";
                }
                | {
                    created_at?: (...) | (...);
                    message: string;
                    warning_code: "delay_in_setting_on_device";
                }
                | {
                    created_at?: (...) | (...);
                    message: string;
                    warning_code: "delay_in_removing_from_device";
                }
                | {
                    created_at?: (...) | (...);
                    message: string;
                    warning_code: "third_party_integration_detected";
                }
                | {
                    created_at?: (...) | (...);
                    message: string;
                    warning_code: "august_device_programming_delay";
                }
                | {
                    created_at?: (...) | (...);
                    message: string;
                    warning_code: "august_lock_temporarily_offline";
                }
                | {
                    created_at?: (...) | (...);
                    message: string;
                    warning_code: "igloo_algopin_must_be_used_within_24_hours";
                }
                | {
                    created_at?: (...) | (...);
                    message: string;
                    warning_code: "management_transferred";
                }
                | {
                    created_at?: (...) | (...);
                    message: string;
                    warning_code: "kwikset_unable_to_confirm_code";
                })[];
        }[];
    }>, "access_codes">, "access_codes">)

      • (params?): SeamHttpRequest<SetNonNullable<Required<{
            access_codes: {
                access_code_id: string;
                code: null | string;
                created_at: string;
                device_id: string;
                ends_at?: null | string;
                errors: (
                    | {
                        created_at?: (...) | (...);
                        error_code: "smartthings_failed_to_set_access_code";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "smartthings_failed_to_set_after_multiple_retries";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "smartthings_no_free_slots_available";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "failed_to_set_on_device";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "failed_to_remove_from_device";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "duplicate_code_on_device";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "duplicate_code_attempt_prevented";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "no_space_for_access_code_on_device";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "igloohome_bridge_too_many_pending_jobs";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "igloohome_bridge_offline";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "igloohome_offline_access_code_no_variance_available";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "kwikset_unable_to_confirm_code";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "kwikset_unable_to_confirm_deletion";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "code_modified_external_to_seam";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "august_lock_invalid_code_length";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "august_device_programming_delay";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "august_device_slots_full";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "august_lock_missing_keypad";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "august_lock_temporarily_offline";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "salto_ks_user_not_subscribed";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "hubitat_device_programming_delay";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "hubitat_no_free_positions_available";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "wyze_duplicate_code_name";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "wyze_potential_duplicate_code";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        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: "lockly_missing_wifi_bridge";
                        is_device_error: true;
                        message: string;
                    }
                    | {
                        created_at: string;
                        error_code: "invalid_credentials";
                        is_bridge_error?: (...) | (...) | (...);
                        is_connected_account_error?: (...) | (...) | (...);
                        message: string;
                    }
                    | {
                        created_at: string;
                        error_code: "bridge_disconnected";
                        is_bridge_error?: (...) | (...) | (...);
                        is_connected_account_error?: (...) | (...) | (...);
                        message: string;
                    })[];
                is_managed: false;
                name: null | string;
                starts_at?: null | string;
                status: "set";
                type: "time_bound" | "ongoing";
                warnings: (
                    | {
                        created_at?: (...) | (...);
                        message: string;
                        warning_code: "smartthings_failed_to_set_access_code";
                    }
                    | {
                        created_at?: (...) | (...);
                        message: string;
                        warning_code: "schlage_detected_duplicate";
                    }
                    | {
                        created_at?: (...) | (...);
                        message: string;
                        warning_code: "schlage_creation_outage";
                    }
                    | {
                        created_at?: (...) | (...);
                        message: string;
                        warning_code: "code_modified_external_to_seam";
                    }
                    | {
                        created_at?: (...) | (...);
                        message: string;
                        warning_code: "delay_in_setting_on_device";
                    }
                    | {
                        created_at?: (...) | (...);
                        message: string;
                        warning_code: "delay_in_removing_from_device";
                    }
                    | {
                        created_at?: (...) | (...);
                        message: string;
                        warning_code: "third_party_integration_detected";
                    }
                    | {
                        created_at?: (...) | (...);
                        message: string;
                        warning_code: "august_device_programming_delay";
                    }
                    | {
                        created_at?: (...) | (...);
                        message: string;
                        warning_code: "august_lock_temporarily_offline";
                    }
                    | {
                        created_at?: (...) | (...);
                        message: string;
                        warning_code: "igloo_algopin_must_be_used_within_24_hours";
                    }
                    | {
                        created_at?: (...) | (...);
                        message: string;
                        warning_code: "management_transferred";
                    }
                    | {
                        created_at?: (...) | (...);
                        message: string;
                        warning_code: "kwikset_unable_to_confirm_code";
                    })[];
            }[];
        }>, "access_codes">, "access_codes">
      • Parameters

        • Optionalparams: {
              device_id: string;
              user_identifier_key?: string;
          }
          • device_id: string

            ID of the device for which you want to list unmanaged access codes.

          • Optionaluser_identifier_key?: string

            Your user ID for the user by which to filter unmanaged access codes.

        Returns SeamHttpRequest<SetNonNullable<Required<{
            access_codes: {
                access_code_id: string;
                code: null | string;
                created_at: string;
                device_id: string;
                ends_at?: null | string;
                errors: (
                    | {
                        created_at?: (...) | (...);
                        error_code: "smartthings_failed_to_set_access_code";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "smartthings_failed_to_set_after_multiple_retries";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "smartthings_no_free_slots_available";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "failed_to_set_on_device";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "failed_to_remove_from_device";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "duplicate_code_on_device";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "duplicate_code_attempt_prevented";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "no_space_for_access_code_on_device";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "igloohome_bridge_too_many_pending_jobs";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "igloohome_bridge_offline";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "igloohome_offline_access_code_no_variance_available";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "kwikset_unable_to_confirm_code";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "kwikset_unable_to_confirm_deletion";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "code_modified_external_to_seam";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "august_lock_invalid_code_length";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "august_device_programming_delay";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "august_device_slots_full";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "august_lock_missing_keypad";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "august_lock_temporarily_offline";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "salto_ks_user_not_subscribed";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "hubitat_device_programming_delay";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "hubitat_no_free_positions_available";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "wyze_duplicate_code_name";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        error_code: "wyze_potential_duplicate_code";
                        is_access_code_error: true;
                        message: string;
                    }
                    | {
                        created_at?: (...) | (...);
                        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: "lockly_missing_wifi_bridge";
                        is_device_error: true;
                        message: string;
                    }
                    | {
                        created_at: string;
                        error_code: "invalid_credentials";
                        is_bridge_error?: (...) | (...) | (...);
                        is_connected_account_error?: (...) | (...) | (...);
                        message: string;
                    }
                    | {
                        created_at: string;
                        error_code: "bridge_disconnected";
                        is_bridge_error?: (...) | (...) | (...);
                        is_connected_account_error?: (...) | (...) | (...);
                        message: string;
                    })[];
                is_managed: false;
                name: null | string;
                starts_at?: null | string;
                status: "set";
                type: "time_bound" | "ongoing";
                warnings: (
                    | {
                        created_at?: (...) | (...);
                        message: string;
                        warning_code: "smartthings_failed_to_set_access_code";
                    }
                    | {
                        created_at?: (...) | (...);
                        message: string;
                        warning_code: "schlage_detected_duplicate";
                    }
                    | {
                        created_at?: (...) | (...);
                        message: string;
                        warning_code: "schlage_creation_outage";
                    }
                    | {
                        created_at?: (...) | (...);
                        message: string;
                        warning_code: "code_modified_external_to_seam";
                    }
                    | {
                        created_at?: (...) | (...);
                        message: string;
                        warning_code: "delay_in_setting_on_device";
                    }
                    | {
                        created_at?: (...) | (...);
                        message: string;
                        warning_code: "delay_in_removing_from_device";
                    }
                    | {
                        created_at?: (...) | (...);
                        message: string;
                        warning_code: "third_party_integration_detected";
                    }
                    | {
                        created_at?: (...) | (...);
                        message: string;
                        warning_code: "august_device_programming_delay";
                    }
                    | {
                        created_at?: (...) | (...);
                        message: string;
                        warning_code: "august_lock_temporarily_offline";
                    }
                    | {
                        created_at?: (...) | (...);
                        message: string;
                        warning_code: "igloo_algopin_must_be_used_within_24_hours";
                    }
                    | {
                        created_at?: (...) | (...);
                        message: string;
                        warning_code: "management_transferred";
                    }
                    | {
                        created_at?: (...) | (...);
                        message: string;
                        warning_code: "kwikset_unable_to_confirm_code";
                    })[];
            }[];
        }>, "access_codes">, "access_codes">

  • get /access_codes/unmanaged/update(): ((body?: {
        access_code_id: string;
        allow_external_modification?: boolean;
        force?: boolean;
        is_external_modification_allowed?: boolean;
        is_managed: boolean;
    }) => SeamHttpRequest<void, undefined>)
  • Returns ((body?: {
        access_code_id: string;
        allow_external_modification?: boolean;
        force?: boolean;
        is_external_modification_allowed?: boolean;
        is_managed: boolean;
    }) => SeamHttpRequest<void, undefined>)

      • (body?): SeamHttpRequest<void, undefined>
      • Parameters

        • Optionalbody: {
              access_code_id: string;
              allow_external_modification?: boolean;
              force?: boolean;
              is_external_modification_allowed?: boolean;
              is_managed: boolean;
          }
          • access_code_id: string

            ID of the unmanaged access code that you want to update.

          • Optionalallow_external_modification?: boolean

            Indicates whether external modification of the code is allowed.

          • Optionalforce?: boolean

            Indicates whether to force the unmanaged access code update.

          • Optionalis_external_modification_allowed?: boolean

            Indicates whether external modification of the code is allowed.

          • is_managed: boolean

        Returns SeamHttpRequest<void, undefined>

  • get /access_codes/update(): ((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;
    }) => SeamHttpRequest<void, undefined>)
  • Returns ((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;
    }) => SeamHttpRequest<void, undefined>)

      • (body?): SeamHttpRequest<void, undefined>
      • Parameters

        • Optionalbody: {
              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

            ID of the access code that you want to update.

          • Optionalallow_external_modification?: boolean

            Indicates whether external modification of the code is allowed. Default: false.

          • Optionalattempt_for_offline_device?: boolean
          • Optionalcode?: string

            Code to be used for access.

          • Optionaldevice_id?: string

            ID of the device containing the access code that you want to update.

          • Optionalends_at?: string

            Date and time at which the validity of the new access code ends, in ISO 8601 format. Must be a time in the future and after starts_at.

          • Optionalis_external_modification_allowed?: boolean

            Indicates whether external modification of the code is allowed. Default: false.

          • Optionalis_managed?: boolean

            Indicates whether the access code is managed through Seam. Note that to convert an unmanaged access code into a managed access code, use /access_codes/unmanaged/convert_to_managed.

          • Optionalis_offline_access_code?: boolean

            Indicates whether the access code is an offline access code.

          • Optionalis_one_time_use?: boolean

            Indicates whether the offline access code is a single-use access code.

          • Optionalmax_time_rounding?:
                | "1hour"
                | "1day"
                | "1h"
                | "1d"

            Maximum rounding adjustment. To create a daily-bound offline access code for devices that support this feature, set this parameter to 1d.

          • Optionalname?: string

            Name of the new access code. Enables administrators and users to identify the access code easily, especially when there are numerous access codes. Note that the name provided on Seam is used to identify the code on Seam and is not necessarily the name that will appear in the lock provider's app or on the device. This is because lock providers may have constraints on names, such as length, uniqueness, or characters that can be used. In addition, some lock providers may break down names into components such as first_name and last_name. To provide a consistent experience, Seam identifies the code on Seam by its name but may modify the name that appears on the lock provider's app or on the device. For example, Seam may add additional characters or truncate the name to meet provider constraints. To help your users identify codes set by Seam, Seam provides the name exactly as it appears on the lock provider's app or on the device as a separate property called appearance. This is an object with a name property and, optionally, first_name and last_name properties (for providers that break down a name into components).

          • Optionalprefer_native_scheduling?: boolean

            Indicates whether native scheduling should be used for time-bound codes when supported by the provider. Default: true.

          • Optionalpreferred_code_length?: number

            Preferred code length. Only applicable if you do not specify a code. If the affected device does not support the preferred code length, Seam reverts to using the shortest supported code length.

          • Optionalstarts_at?: string

            Date and time at which the validity of the new access code starts, in ISO 8601 format.

          • Optionalsync?: boolean
          • Optionaltype?: "time_bound" | "ongoing"

            Type to which you want to convert the access code. To convert a time-bound access code to an ongoing access code, set type to ongoing. See also Changing a time-bound access code to permanent access.

          • Optionaluse_backup_access_code_pool?: boolean

            Indicates whether to use a backup access code pool provided by Seam. If true, you can use /access_codes/pull_backup_access_code.

          • Optionaluse_offline_access_code?: boolean

        Returns SeamHttpRequest<void, undefined>

  • get /access_codes/update_multiple(): ((body?: {
        common_code_key: string;
        ends_at?: string;
        name?: string;
        starts_at?: string;
    }) => SeamHttpRequest<void, undefined>)
  • Returns ((body?: {
        common_code_key: string;
        ends_at?: string;
        name?: string;
        starts_at?: string;
    }) => SeamHttpRequest<void, undefined>)

      • (body?): SeamHttpRequest<void, undefined>
      • Parameters

        • Optionalbody: {
              common_code_key: string;
              ends_at?: string;
              name?: string;
              starts_at?: string;
          }
          • common_code_key: string

            Key that links the group of access codes, assigned on creation by /access_codes/create_multiple.

          • Optionalends_at?: string

            Date and time at which the validity of the new access code ends, in ISO 8601 format. Must be a time in the future and after starts_at.

          • Optionalname?: string

            Name of the new access code. Enables administrators and users to identify the access code easily, especially when there are numerous access codes. Note that the name provided on Seam is used to identify the code on Seam and is not necessarily the name that will appear in the lock provider's app or on the device. This is because lock providers may have constraints on names, such as length, uniqueness, or characters that can be used. In addition, some lock providers may break down names into components such as first_name and last_name. To provide a consistent experience, Seam identifies the code on Seam by its name but may modify the name that appears on the lock provider's app or on the device. For example, Seam may add additional characters or truncate the name to meet provider constraints. To help your users identify codes set by Seam, Seam provides the name exactly as it appears on the lock provider's app or on the device as a separate property called appearance. This is an object with a name property and, optionally, first_name and last_name properties (for providers that break down a name into components).

          • Optionalstarts_at?: string

            Date and time at which the validity of the new access code starts, in ISO 8601 format.

        Returns SeamHttpRequest<void, undefined>

  • get /access_grants/create(): ((body?: AccessGrantsCreateBody) => SeamHttpRequest<SetNonNullable<Required<{
        access_grant: {
            access_grant_id: string;
            access_method_ids: string[];
            created_at: string;
            display_name: string;
            ends_at?: string;
            location_ids: string[];
            requested_access_methods: {
                created_access_method_ids: string[];
                created_at: string;
                display_name: string;
                mode: "code" | "card" | "mobile_key";
            }[];
            space_ids: string[];
            starts_at?: string;
            user_identity_id: string;
            workspace_id: string;
        };
    }>, "access_grant">, "access_grant">)
  • Returns ((body?: AccessGrantsCreateBody) => SeamHttpRequest<SetNonNullable<Required<{
        access_grant: {
            access_grant_id: string;
            access_method_ids: string[];
            created_at: string;
            display_name: string;
            ends_at?: string;
            location_ids: string[];
            requested_access_methods: {
                created_access_method_ids: string[];
                created_at: string;
                display_name: string;
                mode: "code" | "card" | "mobile_key";
            }[];
            space_ids: string[];
            starts_at?: string;
            user_identity_id: string;
            workspace_id: string;
        };
    }>, "access_grant">, "access_grant">)

      • (body?): SeamHttpRequest<SetNonNullable<Required<{
            access_grant: {
                access_grant_id: string;
                access_method_ids: string[];
                created_at: string;
                display_name: string;
                ends_at?: string;
                location_ids: string[];
                requested_access_methods: {
                    created_access_method_ids: string[];
                    created_at: string;
                    display_name: string;
                    mode: "code" | "card" | "mobile_key";
                }[];
                space_ids: string[];
                starts_at?: string;
                user_identity_id: string;
                workspace_id: string;
            };
        }>, "access_grant">, "access_grant">
      • Parameters

        Returns SeamHttpRequest<SetNonNullable<Required<{
            access_grant: {
                access_grant_id: string;
                access_method_ids: string[];
                created_at: string;
                display_name: string;
                ends_at?: string;
                location_ids: string[];
                requested_access_methods: {
                    created_access_method_ids: string[];
                    created_at: string;
                    display_name: string;
                    mode: "code" | "card" | "mobile_key";
                }[];
                space_ids: string[];
                starts_at?: string;
                user_identity_id: string;
                workspace_id: string;
            };
        }>, "access_grant">, "access_grant">

  • get /access_grants/delete(): ((params?: {
        access_grant_id: string;
    }) => SeamHttpRequest<void, undefined>)
  • Returns ((params?: {
        access_grant_id: string;
    }) => SeamHttpRequest<void, undefined>)

      • (params?): SeamHttpRequest<void, undefined>
      • Parameters

        • Optionalparams: {
              access_grant_id: string;
          }
          • access_grant_id: string

            ID of access grant to delete.

        Returns SeamHttpRequest<void, undefined>

  • get /access_grants/get(): ((params?: {
        access_grant_id: string;
    }) => SeamHttpRequest<SetNonNullable<Required<{
        access_grant: {
            access_grant_id: string;
            access_method_ids: string[];
            created_at: string;
            display_name: string;
            ends_at?: string;
            location_ids: string[];
            requested_access_methods: {
                created_access_method_ids: string[];
                created_at: string;
                display_name: string;
                mode: "code" | "card" | "mobile_key";
            }[];
            space_ids: string[];
            starts_at?: string;
            user_identity_id: string;
            workspace_id: string;
        };
    }>, "access_grant">, "access_grant">)
  • Returns ((params?: {
        access_grant_id: string;
    }) => SeamHttpRequest<SetNonNullable<Required<{
        access_grant: {
            access_grant_id: string;
            access_method_ids: string[];
            created_at: string;
            display_name: string;
            ends_at?: string;
            location_ids: string[];
            requested_access_methods: {
                created_access_method_ids: string[];
                created_at: string;
                display_name: string;
                mode: "code" | "card" | "mobile_key";
            }[];
            space_ids: string[];
            starts_at?: string;
            user_identity_id: string;
            workspace_id: string;
        };
    }>, "access_grant">, "access_grant">)

      • (params?): SeamHttpRequest<SetNonNullable<Required<{
            access_grant: {
                access_grant_id: string;
                access_method_ids: string[];
                created_at: string;
                display_name: string;
                ends_at?: string;
                location_ids: string[];
                requested_access_methods: {
                    created_access_method_ids: string[];
                    created_at: string;
                    display_name: string;
                    mode: "code" | "card" | "mobile_key";
                }[];
                space_ids: string[];
                starts_at?: string;
                user_identity_id: string;
                workspace_id: string;
            };
        }>, "access_grant">, "access_grant">
      • Parameters

        • Optionalparams: {
              access_grant_id: string;
          }
          • access_grant_id: string

            ID of access grant to get.

        Returns SeamHttpRequest<SetNonNullable<Required<{
            access_grant: {
                access_grant_id: string;
                access_method_ids: string[];
                created_at: string;
                display_name: string;
                ends_at?: string;
                location_ids: string[];
                requested_access_methods: {
                    created_access_method_ids: string[];
                    created_at: string;
                    display_name: string;
                    mode: "code" | "card" | "mobile_key";
                }[];
                space_ids: string[];
                starts_at?: string;
                user_identity_id: string;
                workspace_id: string;
            };
        }>, "access_grant">, "access_grant">

  • get /access_grants/list(): ((params?: {
        acs_entrance_id?: string;
        acs_system_id?: string;
        location_id?: string;
        space_id?: string;
        user_identity_id?: string;
    }) => SeamHttpRequest<SetNonNullable<Required<{
        access_grants: {
            access_grant_id: string;
            access_method_ids: string[];
            created_at: string;
            display_name: string;
            ends_at?: string;
            location_ids: string[];
            requested_access_methods: {
                created_access_method_ids: string[];
                created_at: string;
                display_name: string;
                mode: "code" | "card" | "mobile_key";
            }[];
            space_ids: string[];
            starts_at?: string;
            user_identity_id: string;
            workspace_id: string;
        }[];
    }>, "access_grants">, "access_grants">)
  • Returns ((params?: {
        acs_entrance_id?: string;
        acs_system_id?: string;
        location_id?: string;
        space_id?: string;
        user_identity_id?: string;
    }) => SeamHttpRequest<SetNonNullable<Required<{
        access_grants: {
            access_grant_id: string;
            access_method_ids: string[];
            created_at: string;
            display_name: string;
            ends_at?: string;
            location_ids: string[];
            requested_access_methods: {
                created_access_method_ids: string[];
                created_at: string;
                display_name: string;
                mode: "code" | "card" | "mobile_key";
            }[];
            space_ids: string[];
            starts_at?: string;
            user_identity_id: string;
            workspace_id: string;
        }[];
    }>, "access_grants">, "access_grants">)

      • (params?): SeamHttpRequest<SetNonNullable<Required<{
            access_grants: {
                access_grant_id: string;
                access_method_ids: string[];
                created_at: string;
                display_name: string;
                ends_at?: string;
                location_ids: string[];
                requested_access_methods: {
                    created_access_method_ids: string[];
                    created_at: string;
                    display_name: string;
                    mode: "code" | "card" | "mobile_key";
                }[];
                space_ids: string[];
                starts_at?: string;
                user_identity_id: string;
                workspace_id: string;
            }[];
        }>, "access_grants">, "access_grants">
      • Parameters

        • Optionalparams: {
              acs_entrance_id?: string;
              acs_system_id?: string;
              location_id?: string;
              space_id?: string;
              user_identity_id?: string;
          }
          • Optionalacs_entrance_id?: string

            ID of entrance to filter list of access grants by.

          • Optionalacs_system_id?: string

            ID of system to filter list of access grants by.

          • Optionallocation_id?: string

            Use space_id.

          • Optionalspace_id?: string

            ID of space to filter list of access grants by.

          • Optionaluser_identity_id?: string

            ID of user identity to filter list of access grants by.

        Returns SeamHttpRequest<SetNonNullable<Required<{
            access_grants: {
                access_grant_id: string;
                access_method_ids: string[];
                created_at: string;
                display_name: string;
                ends_at?: string;
                location_ids: string[];
                requested_access_methods: {
                    created_access_method_ids: string[];
                    created_at: string;
                    display_name: string;
                    mode: "code" | "card" | "mobile_key";
                }[];
                space_ids: string[];
                starts_at?: string;
                user_identity_id: string;
                workspace_id: string;
            }[];
        }>, "access_grants">, "access_grants">

  • get /access_grants/update(): ((body?: {
        access_grant_id: string;
        ends_at?: null | string;
        starts_at?: null | string;
    }) => SeamHttpRequest<void, undefined>)
  • Returns ((body?: {
        access_grant_id: string;
        ends_at?: null | string;
        starts_at?: null | string;
    }) => SeamHttpRequest<void, undefined>)

      • (body?): SeamHttpRequest<void, undefined>
      • Parameters

        • Optionalbody: {
              access_grant_id: string;
              ends_at?: null | string;
              starts_at?: null | string;
          }
          • access_grant_id: string

            ID of the access grant to update.

          • Optionalends_at?: null | string

            Date and time at which the validity of the grant ends, in ISO 8601 format. Must be a time in the future and after starts_at.

          • Optionalstarts_at?: null | string

            Date and time at which the validity of the grant starts, in ISO 8601 format.

        Returns SeamHttpRequest<void, undefined>

  • get /access_methods/delete(): ((params?: {
        access_method_id: string;
    }) => SeamHttpRequest<void, undefined>)
  • Returns ((params?: {
        access_method_id: string;
    }) => SeamHttpRequest<void, undefined>)

      • (params?): SeamHttpRequest<void, undefined>
      • Parameters

        • Optionalparams: {
              access_method_id: string;
          }
          • access_method_id: string

            ID of access method to get.

        Returns SeamHttpRequest<void, undefined>

  • get /access_methods/get(): ((params?: {
        access_method_id: string;
    }) => SeamHttpRequest<SetNonNullable<Required<{
        access_method: {
            access_method_id: string;
            created_at: string;
            display_name: string;
            instant_key_url?: string;
            is_card_encoding_required?: boolean;
            issued_at?: string;
            mode: "code" | "card" | "mobile_key";
            workspace_id: string;
        };
    }>, "access_method">, "access_method">)
  • Returns ((params?: {
        access_method_id: string;
    }) => SeamHttpRequest<SetNonNullable<Required<{
        access_method: {
            access_method_id: string;
            created_at: string;
            display_name: string;
            instant_key_url?: string;
            is_card_encoding_required?: boolean;
            issued_at?: string;
            mode: "code" | "card" | "mobile_key";
            workspace_id: string;
        };
    }>, "access_method">, "access_method">)

      • (params?): SeamHttpRequest<SetNonNullable<Required<{
            access_method: {
                access_method_id: string;
                created_at: string;
                display_name: string;
                instant_key_url?: string;
                is_card_encoding_required?: boolean;
                issued_at?: string;
                mode: "code" | "card" | "mobile_key";
                workspace_id: string;
            };
        }>, "access_method">, "access_method">
      • Parameters

        • Optionalparams: {
              access_method_id: string;
          }
          • access_method_id: string

            ID of access method to get.

        Returns SeamHttpRequest<SetNonNullable<Required<{
            access_method: {
                access_method_id: string;
                created_at: string;
                display_name: string;
                instant_key_url?: string;
                is_card_encoding_required?: boolean;
                issued_at?: string;
                mode: "code" | "card" | "mobile_key";
                workspace_id: string;
            };
        }>, "access_method">, "access_method">

  • get /access_methods/list(): ((params?: {
        access_grant_id: string;
    }) => SeamHttpRequest<SetNonNullable<Required<{
        access_methods: {
            access_method_id: string;
            created_at: string;
            display_name: string;
            instant_key_url?: string;
            is_card_encoding_required?: boolean;
            issued_at?: string;
            mode: "code" | "card" | "mobile_key";
            workspace_id: string;
        }[];
    }>, "access_methods">, "access_methods">)
  • Returns ((params?: {
        access_grant_id: string;
    }) => SeamHttpRequest<SetNonNullable<Required<{
        access_methods: {
            access_method_id: string;
            created_at: string;
            display_name: string;
            instant_key_url?: string;
            is_card_encoding_required?: boolean;
            issued_at?: string;
            mode: "code" | "card" | "mobile_key";
            workspace_id: string;
        }[];
    }>, "access_methods">, "access_methods">)

      • (params?): SeamHttpRequest<SetNonNullable<Required<{
            access_methods: {
                access_method_id: string;
                created_at: string;
                display_name: string;
                instant_key_url?: string;
                is_card_encoding_required?: boolean;
                issued_at?: string;
                mode: "code" | "card" | "mobile_key";
                workspace_id: string;
            }[];
        }>, "access_methods">, "access_methods">
      • Parameters

        • Optionalparams: {
              access_grant_id: string;
          }
          • access_grant_id: string

            ID of access grant to list access methods for.

        Returns SeamHttpRequest<SetNonNullable<Required<{
            access_methods: {
                access_method_id: string;
                created_at: string;
                display_name: string;
                instant_key_url?: string;
                is_card_encoding_required?: boolean;
                issued_at?: string;
                mode: "code" | "card" | "mobile_key";
                workspace_id: string;
            }[];
        }>, "access_methods">, "access_methods">

  • get /acs/access_groups/add_user(): ((body?: {
        acs_access_group_id: string;
        acs_user_id?: string;
        user_identity_id?: string;
    }) => SeamHttpRequest<void, undefined>)
  • Returns ((body?: {
        acs_access_group_id: string;
        acs_user_id?: string;
        user_identity_id?: string;
    }) => SeamHttpRequest<void, undefined>)

      • (body?): SeamHttpRequest<void, undefined>
      • Parameters

        • Optionalbody: {
              acs_access_group_id: string;
              acs_user_id?: string;
              user_identity_id?: string;
          }
          • acs_access_group_id: string

            ID of the access group to which you want to add an access system user.

          • Optionalacs_user_id?: string

            ID of the access system user that you want to add to an access group. You can only provide one of acs_user_id or user_identity_id.

          • Optionaluser_identity_id?: string

            ID of the desired user identity that you want to add to an access group. You can only provide one of acs_user_id or user_identity_id. If the ACS system contains an ACS user with the same email_address or phone_number as the user identity that you specify, they are linked, and the access group membership belongs to the ACS user. If the ACS system does not have a corresponding ACS user, one is created.

        Returns SeamHttpRequest<void, undefined>

  • get /acs/access_groups/get(): ((params?: {
        acs_access_group_id: string;
    }) => SeamHttpRequest<SetNonNullable<Required<{
        acs_access_group: {
            access_group_type:
                | "pti_unit"
                | "pti_access_level"
                | "salto_ks_access_group"
                | "brivo_group"
                | "salto_space_group"
                | "dormakaba_community_access_group";
            access_group_type_display_name: string;
            acs_access_group_id: string;
            acs_system_id: string;
            connected_account_id: string;
            created_at: string;
            display_name: string;
            external_type:
                | "pti_unit"
                | "pti_access_level"
                | "salto_ks_access_group"
                | "brivo_group"
                | "salto_space_group"
                | "dormakaba_community_access_group";
            external_type_display_name: string;
            is_managed: true;
            name: string;
            warnings: {
                created_at: string;
                message: string;
                warning_code: "unknown_issue_with_acs_access_group";
            }[];
            workspace_id: string;
        };
    }>, "acs_access_group">, "acs_access_group">)
  • Returns ((params?: {
        acs_access_group_id: string;
    }) => SeamHttpRequest<SetNonNullable<Required<{
        acs_access_group: {
            access_group_type:
                | "pti_unit"
                | "pti_access_level"
                | "salto_ks_access_group"
                | "brivo_group"
                | "salto_space_group"
                | "dormakaba_community_access_group";
            access_group_type_display_name: string;
            acs_access_group_id: string;
            acs_system_id: string;
            connected_account_id: string;
            created_at: string;
            display_name: string;
            external_type:
                | "pti_unit"
                | "pti_access_level"
                | "salto_ks_access_group"
                | "brivo_group"
                | "salto_space_group"
                | "dormakaba_community_access_group";
            external_type_display_name: string;
            is_managed: true;
            name: string;
            warnings: {
                created_at: string;
                message: string;
                warning_code: "unknown_issue_with_acs_access_group";
            }[];
            workspace_id: string;
        };
    }>, "acs_access_group">, "acs_access_group">)

      • (params?): SeamHttpRequest<SetNonNullable<Required<{
            acs_access_group: {
                access_group_type:
                    | "pti_unit"
                    | "pti_access_level"
                    | "salto_ks_access_group"
                    | "brivo_group"
                    | "salto_space_group"
                    | "dormakaba_community_access_group";
                access_group_type_display_name: string;
                acs_access_group_id: string;
                acs_system_id: string;
                connected_account_id: string;
                created_at: string;
                display_name: string;
                external_type:
                    | "pti_unit"
                    | "pti_access_level"
                    | "salto_ks_access_group"
                    | "brivo_group"
                    | "salto_space_group"
                    | "dormakaba_community_access_group";
                external_type_display_name: string;
                is_managed: true;
                name: string;
                warnings: {
                    created_at: string;
                    message: string;
                    warning_code: "unknown_issue_with_acs_access_group";
                }[];
                workspace_id: string;
            };
        }>, "acs_access_group">, "acs_access_group">
      • Parameters

        • Optionalparams: {
              acs_access_group_id: string;
          }
          • acs_access_group_id: string

            ID of the access group that you want to get.

        Returns SeamHttpRequest<SetNonNullable<Required<{
            acs_access_group: {
                access_group_type:
                    | "pti_unit"
                    | "pti_access_level"
                    | "salto_ks_access_group"
                    | "brivo_group"
                    | "salto_space_group"
                    | "dormakaba_community_access_group";
                access_group_type_display_name: string;
                acs_access_group_id: string;
                acs_system_id: string;
                connected_account_id: string;
                created_at: string;
                display_name: string;
                external_type:
                    | "pti_unit"
                    | "pti_access_level"
                    | "salto_ks_access_group"
                    | "brivo_group"
                    | "salto_space_group"
                    | "dormakaba_community_access_group";
                external_type_display_name: string;
                is_managed: true;
                name: string;
                warnings: {
                    created_at: string;
                    message: string;
                    warning_code: "unknown_issue_with_acs_access_group";
                }[];
                workspace_id: string;
            };
        }>, "acs_access_group">, "acs_access_group">

  • get /acs/access_groups/list(): ((params?: {
        acs_system_id?: string;
        acs_user_id?: string;
        user_identity_id?: string;
    }) => SeamHttpRequest<SetNonNullable<Required<{
        acs_access_groups: {
            access_group_type:
                | "pti_unit"
                | "pti_access_level"
                | "salto_ks_access_group"
                | "brivo_group"
                | "salto_space_group"
                | "dormakaba_community_access_group";
            access_group_type_display_name: string;
            acs_access_group_id: string;
            acs_system_id: string;
            connected_account_id: string;
            created_at: string;
            display_name: string;
            external_type:
                | "pti_unit"
                | "pti_access_level"
                | "salto_ks_access_group"
                | "brivo_group"
                | "salto_space_group"
                | "dormakaba_community_access_group";
            external_type_display_name: string;
            is_managed: true;
            name: string;
            warnings: {
                created_at: string;
                message: string;
                warning_code: "unknown_issue_with_acs_access_group";
            }[];
            workspace_id: string;
        }[];
    }>, "acs_access_groups">, "acs_access_groups">)
  • Returns ((params?: {
        acs_system_id?: string;
        acs_user_id?: string;
        user_identity_id?: string;
    }) => SeamHttpRequest<SetNonNullable<Required<{
        acs_access_groups: {
            access_group_type:
                | "pti_unit"
                | "pti_access_level"
                | "salto_ks_access_group"
                | "brivo_group"
                | "salto_space_group"
                | "dormakaba_community_access_group";
            access_group_type_display_name: string;
            acs_access_group_id: string;
            acs_system_id: string;
            connected_account_id: string;
            created_at: string;
            display_name: string;
            external_type:
                | "pti_unit"
                | "pti_access_level"
                | "salto_ks_access_group"
                | "brivo_group"
                | "salto_space_group"
                | "dormakaba_community_access_group";
            external_type_display_name: string;
            is_managed: true;
            name: string;
            warnings: {
                created_at: string;
                message: string;
                warning_code: "unknown_issue_with_acs_access_group";
            }[];
            workspace_id: string;
        }[];
    }>, "acs_access_groups">, "acs_access_groups">)

      • (params?): SeamHttpRequest<SetNonNullable<Required<{
            acs_access_groups: {
                access_group_type:
                    | "pti_unit"
                    | "pti_access_level"
                    | "salto_ks_access_group"
                    | "brivo_group"
                    | "salto_space_group"
                    | "dormakaba_community_access_group";
                access_group_type_display_name: string;
                acs_access_group_id: string;
                acs_system_id: string;
                connected_account_id: string;
                created_at: string;
                display_name: string;
                external_type:
                    | "pti_unit"
                    | "pti_access_level"
                    | "salto_ks_access_group"
                    | "brivo_group"
                    | "salto_space_group"
                    | "dormakaba_community_access_group";
                external_type_display_name: string;
                is_managed: true;
                name: string;
                warnings: {
                    created_at: string;
                    message: string;
                    warning_code: "unknown_issue_with_acs_access_group";
                }[];
                workspace_id: string;
            }[];
        }>, "acs_access_groups">, "acs_access_groups">
      • Parameters

        • Optionalparams: {
              acs_system_id?: string;
              acs_user_id?: string;
              user_identity_id?: string;
          }
          • Optionalacs_system_id?: string

            ID of the access system for which you want to retrieve all access groups.

          • Optionalacs_user_id?: string

            ID of the access system user for which you want to retrieve all access groups.

          • Optionaluser_identity_id?: string

            ID of the user identity for which you want to retrieve all access groups.

        Returns SeamHttpRequest<SetNonNullable<Required<{
            acs_access_groups: {
                access_group_type:
                    | "pti_unit"
                    | "pti_access_level"
                    | "salto_ks_access_group"
                    | "brivo_group"
                    | "salto_space_group"
                    | "dormakaba_community_access_group";
                access_group_type_display_name: string;
                acs_access_group_id: string;
                acs_system_id: string;
                connected_account_id: string;
                created_at: string;
                display_name: string;
                external_type:
                    | "pti_unit"
                    | "pti_access_level"
                    | "salto_ks_access_group"
                    | "brivo_group"
                    | "salto_space_group"
                    | "dormakaba_community_access_group";
                external_type_display_name: string;
                is_managed: true;
                name: string;
                warnings: {
                    created_at: string;
                    message: string;
                    warning_code: "unknown_issue_with_acs_access_group";
                }[];
                workspace_id: string;
            }[];
        }>, "acs_access_groups">, "acs_access_groups">

  • get /acs/access_groups/list_accessible_entrances(): ((params?: {
        acs_access_group_id: string;
    }) => SeamHttpRequest<SetNonNullable<Required<{
        acs_entrances: {
            acs_entrance_id: string;
            acs_system_id: string;
            assa_abloy_vostio_metadata?: {
                door_name: string;
                door_number?: number;
                door_type:
                    | "CommonDoor"
                    | "EntranceDoor"
                    | "GuestDoor"
                    | "Elevator";
                pms_id?: string;
                stand_open?: boolean;
            };
            connected_account_id: string;
            created_at: string;
            display_name: string;
            dormakaba_community_metadata?: {
                access_point_name: string;
            };
            errors: {
                error_code: string;
                message: string;
            }[];
            latch_metadata?: {
                accessibility_type: string;
                door_name: string;
                door_type: string;
                is_connected: boolean;
            };
            salto_ks_metadata?: {
                battery_level: string;
                door_name: string;
                intrusion_alarm?: boolean;
                left_open_alarm?: boolean;
                lock_type: string;
                locked_state: string;
                online?: boolean;
                privacy_mode?: boolean;
            };
            salto_space_metadata?: {
                door_description?: string;
                door_name: string;
                ext_door_id: string;
            };
            visionline_metadata?: {
                door_category:
                    | "common"
                    | "guest"
                    | "entrance"
                    | "elevator reader"
                    | "common (PMS)";
                door_name: string;
                profiles?: (...)[];
            };
        }[];
    }>, "acs_entrances">, "acs_entrances">)
  • Returns ((params?: {
        acs_access_group_id: string;
    }) => SeamHttpRequest<SetNonNullable<Required<{
        acs_entrances: {
            acs_entrance_id: string;
            acs_system_id: string;
            assa_abloy_vostio_metadata?: {
                door_name: string;
                door_number?: number;
                door_type:
                    | "CommonDoor"
                    | "EntranceDoor"
                    | "GuestDoor"
                    | "Elevator";
                pms_id?: string;
                stand_open?: boolean;
            };
            connected_account_id: string;
            created_at: string;
            display_name: string;
            dormakaba_community_metadata?: {
                access_point_name: string;
            };
            errors: {
                error_code: string;
                message: string;
            }[];
            latch_metadata?: {
                accessibility_type: string;
                door_name: string;
                door_type: string;
                is_connected: boolean;
            };
            salto_ks_metadata?: {
                battery_level: string;
                door_name: string;
                intrusion_alarm?: boolean;
                left_open_alarm?: boolean;
                lock_type: string;
                locked_state: string;
                online?: boolean;
                privacy_mode?: boolean;
            };
            salto_space_metadata?: {
                door_description?: string;
                door_name: string;
                ext_door_id: string;
            };
            visionline_metadata?: {
                door_category:
                    | "common"
                    | "guest"
                    | "entrance"
                    | "elevator reader"
                    | "common (PMS)";
                door_name: string;
                profiles?: (...)[];
            };
        }[];
    }>, "acs_entrances">, "acs_entrances">)

      • (params?): SeamHttpRequest<SetNonNullable<Required<{
            acs_entrances: {
                acs_entrance_id: string;
                acs_system_id: string;
                assa_abloy_vostio_metadata?: {
                    door_name: string;
                    door_number?: number;
                    door_type:
                        | "CommonDoor"
                        | "EntranceDoor"
                        | "GuestDoor"
                        | "Elevator";
                    pms_id?: string;
                    stand_open?: boolean;
                };
                connected_account_id: string;
                created_at: string;
                display_name: string;
                dormakaba_community_metadata?: {
                    access_point_name: string;
                };
                errors: {
                    error_code: string;
                    message: string;
                }[];
                latch_metadata?: {
                    accessibility_type: string;
                    door_name: string;
                    door_type: string;
                    is_connected: boolean;
                };
                salto_ks_metadata?: {
                    battery_level: string;
                    door_name: string;
                    intrusion_alarm?: boolean;
                    left_open_alarm?: boolean;
                    lock_type: string;
                    locked_state: string;
                    online?: boolean;
                    privacy_mode?: boolean;
                };
                salto_space_metadata?: {
                    door_description?: string;
                    door_name: string;
                    ext_door_id: string;
                };
                visionline_metadata?: {
                    door_category:
                        | "common"
                        | "guest"
                        | "entrance"
                        | "elevator reader"
                        | "common (PMS)";
                    door_name: string;
                    profiles?: (...)[];
                };
            }[];
        }>, "acs_entrances">, "acs_entrances">
      • Parameters

        • Optionalparams: {
              acs_access_group_id: string;
          }
          • acs_access_group_id: string

            ID of the access group for which you want to retrieve all accessible entrances.

        Returns SeamHttpRequest<SetNonNullable<Required<{
            acs_entrances: {
                acs_entrance_id: string;
                acs_system_id: string;
                assa_abloy_vostio_metadata?: {
                    door_name: string;
                    door_number?: number;
                    door_type:
                        | "CommonDoor"
                        | "EntranceDoor"
                        | "GuestDoor"
                        | "Elevator";
                    pms_id?: string;
                    stand_open?: boolean;
                };
                connected_account_id: string;
                created_at: string;
                display_name: string;
                dormakaba_community_metadata?: {
                    access_point_name: string;
                };
                errors: {
                    error_code: string;
                    message: string;
                }[];
                latch_metadata?: {
                    accessibility_type: string;
                    door_name: string;
                    door_type: string;
                    is_connected: boolean;
                };
                salto_ks_metadata?: {
                    battery_level: string;
                    door_name: string;
                    intrusion_alarm?: boolean;
                    left_open_alarm?: boolean;
                    lock_type: string;
                    locked_state: string;
                    online?: boolean;
                    privacy_mode?: boolean;
                };
                salto_space_metadata?: {
                    door_description?: string;
                    door_name: string;
                    ext_door_id: string;
                };
                visionline_metadata?: {
                    door_category:
                        | "common"
                        | "guest"
                        | "entrance"
                        | "elevator reader"
                        | "common (PMS)";
                    door_name: string;
                    profiles?: (...)[];
                };
            }[];
        }>, "acs_entrances">, "acs_entrances">

  • get /acs/access_groups/list_users(): ((params?: {
        acs_access_group_id: string;
    }) => SeamHttpRequest<SetNonNullable<Required<{
        acs_users: {
            access_schedule?: {
                ends_at: null | string;
                starts_at: string;
            };
            acs_system_id: string;
            acs_user_id: string;
            connected_account_id: string;
            created_at: string;
            display_name: string;
            email?: string;
            email_address?: string;
            errors: (
                | {
                    created_at: string;
                    error_code: "deleted_externally";
                    message: string;
                }
                | {
                    created_at: string;
                    error_code: "salto_ks_subscription_limit_exceeded";
                    message: string;
                }
                | {
                    created_at: string;
                    error_code: "failed_to_create_on_acs_system";
                    message: string;
                }
                | {
                    created_at: string;
                    error_code: "failed_to_update_on_acs_system";
                    message: string;
                }
                | {
                    created_at: string;
                    error_code: "failed_to_delete_on_acs_system";
                    message: string;
                }
                | {
                    created_at: string;
                    error_code: "latch_conflict_with_resident_user";
                    message: string;
                })[];
            external_type?:
                | "pti_user"
                | "brivo_user"
                | "hid_credential_manager_user"
                | "salto_site_user"
                | "latch_user"
                | "dormakaba_community_user"
                | "salto_space_user";
            external_type_display_name?: string;
            full_name?: string;
            hid_acs_system_id?: string;
            is_managed: true;
            is_suspended?: boolean;
            last_successful_sync_at: null | string;
            pending_mutations?: (
                | {
                    created_at: ...;
                    message: ...;
                    mutation_code: ...;
                }
                | {
                    created_at: ...;
                    message: ...;
                    mutation_code: ...;
                }
                | {
                    created_at: ...;
                    from: ...;
                    message: ...;
                    mutation_code: ...;
                    to: ...;
                }
                | {
                    created_at: ...;
                    from: ...;
                    message: ...;
                    mutation_code: ...;
                    to: ...;
                }
                | {
                    created_at: ...;
                    from: ...;
                    message: ...;
                    mutation_code: ...;
                    to: ...;
                }
                | {
                    created_at: ...;
                    from: ...;
                    message: ...;
                    mutation_code: ...;
                    to: ...;
                })[];
            phone_number?: string;
            user_identity_email_address?: null | string;
            user_identity_full_name?: null | string;
            user_identity_id?: string;
            user_identity_phone_number?: null | string;
            warnings: (
                | {
                    created_at: string;
                    message: string;
                    warning_code: "being_deleted";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "salto_ks_user_not_subscribed";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "unknown_issue_with_acs_user";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "latch_resident_user";
                })[];
            workspace_id: string;
        }[];
    }>, "acs_users">, "acs_users">)
  • Returns ((params?: {
        acs_access_group_id: string;
    }) => SeamHttpRequest<SetNonNullable<Required<{
        acs_users: {
            access_schedule?: {
                ends_at: null | string;
                starts_at: string;
            };
            acs_system_id: string;
            acs_user_id: string;
            connected_account_id: string;
            created_at: string;
            display_name: string;
            email?: string;
            email_address?: string;
            errors: (
                | {
                    created_at: string;
                    error_code: "deleted_externally";
                    message: string;
                }
                | {
                    created_at: string;
                    error_code: "salto_ks_subscription_limit_exceeded";
                    message: string;
                }
                | {
                    created_at: string;
                    error_code: "failed_to_create_on_acs_system";
                    message: string;
                }
                | {
                    created_at: string;
                    error_code: "failed_to_update_on_acs_system";
                    message: string;
                }
                | {
                    created_at: string;
                    error_code: "failed_to_delete_on_acs_system";
                    message: string;
                }
                | {
                    created_at: string;
                    error_code: "latch_conflict_with_resident_user";
                    message: string;
                })[];
            external_type?:
                | "pti_user"
                | "brivo_user"
                | "hid_credential_manager_user"
                | "salto_site_user"
                | "latch_user"
                | "dormakaba_community_user"
                | "salto_space_user";
            external_type_display_name?: string;
            full_name?: string;
            hid_acs_system_id?: string;
            is_managed: true;
            is_suspended?: boolean;
            last_successful_sync_at: null | string;
            pending_mutations?: (
                | {
                    created_at: ...;
                    message: ...;
                    mutation_code: ...;
                }
                | {
                    created_at: ...;
                    message: ...;
                    mutation_code: ...;
                }
                | {
                    created_at: ...;
                    from: ...;
                    message: ...;
                    mutation_code: ...;
                    to: ...;
                }
                | {
                    created_at: ...;
                    from: ...;
                    message: ...;
                    mutation_code: ...;
                    to: ...;
                }
                | {
                    created_at: ...;
                    from: ...;
                    message: ...;
                    mutation_code: ...;
                    to: ...;
                }
                | {
                    created_at: ...;
                    from: ...;
                    message: ...;
                    mutation_code: ...;
                    to: ...;
                })[];
            phone_number?: string;
            user_identity_email_address?: null | string;
            user_identity_full_name?: null | string;
            user_identity_id?: string;
            user_identity_phone_number?: null | string;
            warnings: (
                | {
                    created_at: string;
                    message: string;
                    warning_code: "being_deleted";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "salto_ks_user_not_subscribed";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "unknown_issue_with_acs_user";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "latch_resident_user";
                })[];
            workspace_id: string;
        }[];
    }>, "acs_users">, "acs_users">)

      • (params?): SeamHttpRequest<SetNonNullable<Required<{
            acs_users: {
                access_schedule?: {
                    ends_at: null | string;
                    starts_at: string;
                };
                acs_system_id: string;
                acs_user_id: string;
                connected_account_id: string;
                created_at: string;
                display_name: string;
                email?: string;
                email_address?: string;
                errors: (
                    | {
                        created_at: string;
                        error_code: "deleted_externally";
                        message: string;
                    }
                    | {
                        created_at: string;
                        error_code: "salto_ks_subscription_limit_exceeded";
                        message: string;
                    }
                    | {
                        created_at: string;
                        error_code: "failed_to_create_on_acs_system";
                        message: string;
                    }
                    | {
                        created_at: string;
                        error_code: "failed_to_update_on_acs_system";
                        message: string;
                    }
                    | {
                        created_at: string;
                        error_code: "failed_to_delete_on_acs_system";
                        message: string;
                    }
                    | {
                        created_at: string;
                        error_code: "latch_conflict_with_resident_user";
                        message: string;
                    })[];
                external_type?:
                    | "pti_user"
                    | "brivo_user"
                    | "hid_credential_manager_user"
                    | "salto_site_user"
                    | "latch_user"
                    | "dormakaba_community_user"
                    | "salto_space_user";
                external_type_display_name?: string;
                full_name?: string;
                hid_acs_system_id?: string;
                is_managed: true;
                is_suspended?: boolean;
                last_successful_sync_at: null | string;
                pending_mutations?: (
                    | {
                        created_at: ...;
                        message: ...;
                        mutation_code: ...;
                    }
                    | {
                        created_at: ...;
                        message: ...;
                        mutation_code: ...;
                    }
                    | {
                        created_at: ...;
                        from: ...;
                        message: ...;
                        mutation_code: ...;
                        to: ...;
                    }
                    | {
                        created_at: ...;
                        from: ...;
                        message: ...;
                        mutation_code: ...;
                        to: ...;
                    }
                    | {
                        created_at: ...;
                        from: ...;
                        message: ...;
                        mutation_code: ...;
                        to: ...;
                    }
                    | {
                        created_at: ...;
                        from: ...;
                        message: ...;
                        mutation_code: ...;
                        to: ...;
                    })[];
                phone_number?: string;
                user_identity_email_address?: null | string;
                user_identity_full_name?: null | string;
                user_identity_id?: string;
                user_identity_phone_number?: null | string;
                warnings: (
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "being_deleted";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "salto_ks_user_not_subscribed";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "unknown_issue_with_acs_user";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "latch_resident_user";
                    })[];
                workspace_id: string;
            }[];
        }>, "acs_users">, "acs_users">
      • Parameters

        • Optionalparams: {
              acs_access_group_id: string;
          }
          • acs_access_group_id: string

            ID of the access group for which you want to retrieve all access system users.

        Returns SeamHttpRequest<SetNonNullable<Required<{
            acs_users: {
                access_schedule?: {
                    ends_at: null | string;
                    starts_at: string;
                };
                acs_system_id: string;
                acs_user_id: string;
                connected_account_id: string;
                created_at: string;
                display_name: string;
                email?: string;
                email_address?: string;
                errors: (
                    | {
                        created_at: string;
                        error_code: "deleted_externally";
                        message: string;
                    }
                    | {
                        created_at: string;
                        error_code: "salto_ks_subscription_limit_exceeded";
                        message: string;
                    }
                    | {
                        created_at: string;
                        error_code: "failed_to_create_on_acs_system";
                        message: string;
                    }
                    | {
                        created_at: string;
                        error_code: "failed_to_update_on_acs_system";
                        message: string;
                    }
                    | {
                        created_at: string;
                        error_code: "failed_to_delete_on_acs_system";
                        message: string;
                    }
                    | {
                        created_at: string;
                        error_code: "latch_conflict_with_resident_user";
                        message: string;
                    })[];
                external_type?:
                    | "pti_user"
                    | "brivo_user"
                    | "hid_credential_manager_user"
                    | "salto_site_user"
                    | "latch_user"
                    | "dormakaba_community_user"
                    | "salto_space_user";
                external_type_display_name?: string;
                full_name?: string;
                hid_acs_system_id?: string;
                is_managed: true;
                is_suspended?: boolean;
                last_successful_sync_at: null | string;
                pending_mutations?: (
                    | {
                        created_at: ...;
                        message: ...;
                        mutation_code: ...;
                    }
                    | {
                        created_at: ...;
                        message: ...;
                        mutation_code: ...;
                    }
                    | {
                        created_at: ...;
                        from: ...;
                        message: ...;
                        mutation_code: ...;
                        to: ...;
                    }
                    | {
                        created_at: ...;
                        from: ...;
                        message: ...;
                        mutation_code: ...;
                        to: ...;
                    }
                    | {
                        created_at: ...;
                        from: ...;
                        message: ...;
                        mutation_code: ...;
                        to: ...;
                    }
                    | {
                        created_at: ...;
                        from: ...;
                        message: ...;
                        mutation_code: ...;
                        to: ...;
                    })[];
                phone_number?: string;
                user_identity_email_address?: null | string;
                user_identity_full_name?: null | string;
                user_identity_id?: string;
                user_identity_phone_number?: null | string;
                warnings: (
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "being_deleted";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "salto_ks_user_not_subscribed";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "unknown_issue_with_acs_user";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "latch_resident_user";
                    })[];
                workspace_id: string;
            }[];
        }>, "acs_users">, "acs_users">

  • get /acs/access_groups/remove_user(): ((params?: {
        acs_access_group_id: string;
        acs_user_id?: string;
        user_identity_id?: string;
    }) => SeamHttpRequest<void, undefined>)
  • Returns ((params?: {
        acs_access_group_id: string;
        acs_user_id?: string;
        user_identity_id?: string;
    }) => SeamHttpRequest<void, undefined>)

      • (params?): SeamHttpRequest<void, undefined>
      • Parameters

        • Optionalparams: {
              acs_access_group_id: string;
              acs_user_id?: string;
              user_identity_id?: string;
          }
          • acs_access_group_id: string

            ID of the access group from which you want to remove an access system user.

          • Optionalacs_user_id?: string

            ID of the access system user that you want to remove from an access group.

          • Optionaluser_identity_id?: string

            ID of the user identity associated with the user that you want to remove from an access group.

        Returns SeamHttpRequest<void, undefined>

  • get /acs/credentials/assign(): ((body?: {
        acs_credential_id: string;
        acs_user_id?: string;
        user_identity_id?: string;
    }) => SeamHttpRequest<void, undefined>)
  • Returns ((body?: {
        acs_credential_id: string;
        acs_user_id?: string;
        user_identity_id?: string;
    }) => SeamHttpRequest<void, undefined>)

      • (body?): SeamHttpRequest<void, undefined>
      • Parameters

        • Optionalbody: {
              acs_credential_id: string;
              acs_user_id?: string;
              user_identity_id?: string;
          }
          • acs_credential_id: string

            ID of the credential that you want to assign to an access system user.

          • Optionalacs_user_id?: string

            ID of the access system user to whom you want to assign a credential. You can only provide one of acs_user_id or user_identity_id.

          • Optionaluser_identity_id?: string

            ID of the user identity to whom you want to assign a credential. You can only provide one of acs_user_id or user_identity_id. If the ACS system contains an ACS user with the same email_address or phone_number as the user identity that you specify, they are linked, and the credential belongs to the ACS user. If the ACS system does not have a corresponding ACS user, one is created.

        Returns SeamHttpRequest<void, undefined>

  • get /acs/credentials/create(): ((body?: {
        access_method: "code" | "card" | "mobile_key";
        acs_system_id?: string;
        acs_user_id?: string;
        allowed_acs_entrance_ids?: string[];
        assa_abloy_vostio_metadata?: {
            auto_join?: boolean;
            join_all_guest_acs_entrances?: boolean;
            override_all_guest_acs_entrances?: boolean;
            override_guest_acs_entrance_ids?: string[];
        };
        code?: string;
        credential_manager_acs_system_id?: string;
        ends_at?: string;
        is_multi_phone_sync_credential?: boolean;
        salto_space_metadata?: {
            assign_new_key?: boolean;
            update_current_key?: boolean;
        };
        starts_at?: string;
        user_identity_id?: string;
        visionline_metadata?: {
            assa_abloy_credential_service_mobile_endpoint_id?: string;
            auto_join?: boolean;
            card_format?: "TLCode" | "rfid48";
            card_function_type?: "guest" | "staff";
            is_override_key?: boolean;
            joiner_acs_credential_ids?: string[];
            override?: boolean;
        };
    }) => SeamHttpRequest<SetNonNullable<Required<{
        acs_credential: {
            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?: {
                auto_join?: boolean;
                door_names?: string[];
                endpoint_id?: string;
                key_id?: string;
                key_issuing_request_id?: string;
                override_guest_acs_entrance_ids?: string[];
            };
            card_number?: 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"
                | "latch_access";
            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?: boolean;
                card_function_type: "guest" | "staff";
                card_id?: string;
                common_acs_entrance_ids?: string[];
                credential_id?: string;
                guest_acs_entrance_ids?: string[];
                is_valid?: boolean;
                joiner_acs_credential_ids?: string[];
            };
            warnings: (
                | {
                    created_at: string;
                    message: string;
                    warning_code: "waiting_to_be_issued";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "schedule_externally_modified";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "schedule_modified";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "being_deleted";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "unknown_issue_with_acs_credential";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "needs_to_be_reissued";
                })[];
            workspace_id: string;
        };
    }>, "acs_credential">, "acs_credential">)
  • Returns ((body?: {
        access_method: "code" | "card" | "mobile_key";
        acs_system_id?: string;
        acs_user_id?: string;
        allowed_acs_entrance_ids?: string[];
        assa_abloy_vostio_metadata?: {
            auto_join?: boolean;
            join_all_guest_acs_entrances?: boolean;
            override_all_guest_acs_entrances?: boolean;
            override_guest_acs_entrance_ids?: string[];
        };
        code?: string;
        credential_manager_acs_system_id?: string;
        ends_at?: string;
        is_multi_phone_sync_credential?: boolean;
        salto_space_metadata?: {
            assign_new_key?: boolean;
            update_current_key?: boolean;
        };
        starts_at?: string;
        user_identity_id?: string;
        visionline_metadata?: {
            assa_abloy_credential_service_mobile_endpoint_id?: string;
            auto_join?: boolean;
            card_format?: "TLCode" | "rfid48";
            card_function_type?: "guest" | "staff";
            is_override_key?: boolean;
            joiner_acs_credential_ids?: string[];
            override?: boolean;
        };
    }) => SeamHttpRequest<SetNonNullable<Required<{
        acs_credential: {
            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?: {
                auto_join?: boolean;
                door_names?: string[];
                endpoint_id?: string;
                key_id?: string;
                key_issuing_request_id?: string;
                override_guest_acs_entrance_ids?: string[];
            };
            card_number?: 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"
                | "latch_access";
            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?: boolean;
                card_function_type: "guest" | "staff";
                card_id?: string;
                common_acs_entrance_ids?: string[];
                credential_id?: string;
                guest_acs_entrance_ids?: string[];
                is_valid?: boolean;
                joiner_acs_credential_ids?: string[];
            };
            warnings: (
                | {
                    created_at: string;
                    message: string;
                    warning_code: "waiting_to_be_issued";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "schedule_externally_modified";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "schedule_modified";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "being_deleted";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "unknown_issue_with_acs_credential";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "needs_to_be_reissued";
                })[];
            workspace_id: string;
        };
    }>, "acs_credential">, "acs_credential">)

      • (body?): SeamHttpRequest<SetNonNullable<Required<{
            acs_credential: {
                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?: {
                    auto_join?: boolean;
                    door_names?: string[];
                    endpoint_id?: string;
                    key_id?: string;
                    key_issuing_request_id?: string;
                    override_guest_acs_entrance_ids?: string[];
                };
                card_number?: 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"
                    | "latch_access";
                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?: boolean;
                    card_function_type: "guest" | "staff";
                    card_id?: string;
                    common_acs_entrance_ids?: string[];
                    credential_id?: string;
                    guest_acs_entrance_ids?: string[];
                    is_valid?: boolean;
                    joiner_acs_credential_ids?: string[];
                };
                warnings: (
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "waiting_to_be_issued";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "schedule_externally_modified";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "schedule_modified";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "being_deleted";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "unknown_issue_with_acs_credential";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "needs_to_be_reissued";
                    })[];
                workspace_id: string;
            };
        }>, "acs_credential">, "acs_credential">
      • Parameters

        • Optionalbody: {
              access_method: "code" | "card" | "mobile_key";
              acs_system_id?: string;
              acs_user_id?: string;
              allowed_acs_entrance_ids?: string[];
              assa_abloy_vostio_metadata?: {
                  auto_join?: boolean;
                  join_all_guest_acs_entrances?: boolean;
                  override_all_guest_acs_entrances?: boolean;
                  override_guest_acs_entrance_ids?: string[];
              };
              code?: string;
              credential_manager_acs_system_id?: string;
              ends_at?: string;
              is_multi_phone_sync_credential?: boolean;
              salto_space_metadata?: {
                  assign_new_key?: boolean;
                  update_current_key?: boolean;
              };
              starts_at?: string;
              user_identity_id?: string;
              visionline_metadata?: {
                  assa_abloy_credential_service_mobile_endpoint_id?: string;
                  auto_join?: boolean;
                  card_format?: "TLCode" | "rfid48";
                  card_function_type?: "guest" | "staff";
                  is_override_key?: boolean;
                  joiner_acs_credential_ids?: string[];
                  override?: boolean;
              };
          }
          • access_method: "code" | "card" | "mobile_key"

            Access method for the new credential. Supported values: code, card, mobile_key.

          • Optionalacs_system_id?: string

            ID of the access system to which the new credential belongs. You must provide either acs_user_id or the combination of user_identity_id and acs_system_id.

          • Optionalacs_user_id?: string

            ID of the access system user to whom the new credential belongs. You must provide either acs_user_id or the combination of user_identity_id and acs_system_id.

          • Optionalallowed_acs_entrance_ids?: string[]

            Set of IDs of the entrances for which the new credential grants access.

          • Optionalassa_abloy_vostio_metadata?: {
                auto_join?: boolean;
                join_all_guest_acs_entrances?: boolean;
                override_all_guest_acs_entrances?: boolean;
                override_guest_acs_entrance_ids?: string[];
            }

            Vostio-specific metadata for the new credential.

            • Optionalauto_join?: boolean
            • Optionaljoin_all_guest_acs_entrances?: boolean
            • Optionaloverride_all_guest_acs_entrances?: boolean
            • Optionaloverride_guest_acs_entrance_ids?: string[]
          • Optionalcode?: string

            Access (PIN) code for the new credential. There may be manufacturer-specific code restrictions. For details, see the applicable device or system integration guide.

          • Optionalcredential_manager_acs_system_id?: string

            ACS system ID of the credential manager for the new credential.

          • Optionalends_at?: string

            Date and time at which the validity of the new credential ends, in ISO 8601 format. Must be a time in the future and after starts_at.

          • Optionalis_multi_phone_sync_credential?: boolean

            Indicates whether the new credential is a multi-phone sync credential.

          • Optionalsalto_space_metadata?: {
                assign_new_key?: boolean;
                update_current_key?: boolean;
            }

            Salto Space-specific metadata for the new credential.

          • Optionalstarts_at?: string

            Date and time at which the validity of the new credential starts, in ISO 8601 format.

          • Optionaluser_identity_id?: string

            ID of the user identity to whom the new credential belongs. You must provide either acs_user_id or the combination of user_identity_id and acs_system_id. If the access system contains a user with the same email_address or phone_number as the user identity that you specify, they are linked, and the credential belongs to the access system user. If the access system does not have a corresponding user, one is created.

          • Optionalvisionline_metadata?: {
                assa_abloy_credential_service_mobile_endpoint_id?: string;
                auto_join?: boolean;
                card_format?: "TLCode" | "rfid48";
                card_function_type?: "guest" | "staff";
                is_override_key?: boolean;
                joiner_acs_credential_ids?: string[];
                override?: boolean;
            }

            Visionline-specific metadata for the new credential.

            • Optionalassa_abloy_credential_service_mobile_endpoint_id?: string

              Read-only endpoint references moved to endpoint.

            • Optionalauto_join?: boolean
            • Optionalcard_format?: "TLCode" | "rfid48"
            • Optionalcard_function_type?: "guest" | "staff"
            • Optionalis_override_key?: boolean

              Use override instead.

            • Optionaljoiner_acs_credential_ids?: string[]
            • Optionaloverride?: boolean

        Returns SeamHttpRequest<SetNonNullable<Required<{
            acs_credential: {
                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?: {
                    auto_join?: boolean;
                    door_names?: string[];
                    endpoint_id?: string;
                    key_id?: string;
                    key_issuing_request_id?: string;
                    override_guest_acs_entrance_ids?: string[];
                };
                card_number?: 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"
                    | "latch_access";
                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?: boolean;
                    card_function_type: "guest" | "staff";
                    card_id?: string;
                    common_acs_entrance_ids?: string[];
                    credential_id?: string;
                    guest_acs_entrance_ids?: string[];
                    is_valid?: boolean;
                    joiner_acs_credential_ids?: string[];
                };
                warnings: (
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "waiting_to_be_issued";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "schedule_externally_modified";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "schedule_modified";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "being_deleted";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "unknown_issue_with_acs_credential";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "needs_to_be_reissued";
                    })[];
                workspace_id: string;
            };
        }>, "acs_credential">, "acs_credential">

  • get /acs/credentials/delete(): ((params?: {
        acs_credential_id: string;
    }) => SeamHttpRequest<void, undefined>)
  • Returns ((params?: {
        acs_credential_id: string;
    }) => SeamHttpRequest<void, undefined>)

      • (params?): SeamHttpRequest<void, undefined>
      • Parameters

        • Optionalparams: {
              acs_credential_id: string;
          }
          • acs_credential_id: string

            ID of the credential that you want to delete.

        Returns SeamHttpRequest<void, undefined>

  • get /acs/credentials/get(): ((params?: {
        acs_credential_id: string;
    }) => SeamHttpRequest<SetNonNullable<Required<{
        acs_credential: {
            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?: {
                auto_join?: boolean;
                door_names?: string[];
                endpoint_id?: string;
                key_id?: string;
                key_issuing_request_id?: string;
                override_guest_acs_entrance_ids?: string[];
            };
            card_number?: 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"
                | "latch_access";
            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?: boolean;
                card_function_type: "guest" | "staff";
                card_id?: string;
                common_acs_entrance_ids?: string[];
                credential_id?: string;
                guest_acs_entrance_ids?: string[];
                is_valid?: boolean;
                joiner_acs_credential_ids?: string[];
            };
            warnings: (
                | {
                    created_at: string;
                    message: string;
                    warning_code: "waiting_to_be_issued";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "schedule_externally_modified";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "schedule_modified";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "being_deleted";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "unknown_issue_with_acs_credential";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "needs_to_be_reissued";
                })[];
            workspace_id: string;
        };
    }>, "acs_credential">, "acs_credential">)
  • Returns ((params?: {
        acs_credential_id: string;
    }) => SeamHttpRequest<SetNonNullable<Required<{
        acs_credential: {
            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?: {
                auto_join?: boolean;
                door_names?: string[];
                endpoint_id?: string;
                key_id?: string;
                key_issuing_request_id?: string;
                override_guest_acs_entrance_ids?: string[];
            };
            card_number?: 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"
                | "latch_access";
            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?: boolean;
                card_function_type: "guest" | "staff";
                card_id?: string;
                common_acs_entrance_ids?: string[];
                credential_id?: string;
                guest_acs_entrance_ids?: string[];
                is_valid?: boolean;
                joiner_acs_credential_ids?: string[];
            };
            warnings: (
                | {
                    created_at: string;
                    message: string;
                    warning_code: "waiting_to_be_issued";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "schedule_externally_modified";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "schedule_modified";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "being_deleted";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "unknown_issue_with_acs_credential";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "needs_to_be_reissued";
                })[];
            workspace_id: string;
        };
    }>, "acs_credential">, "acs_credential">)

      • (params?): SeamHttpRequest<SetNonNullable<Required<{
            acs_credential: {
                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?: {
                    auto_join?: boolean;
                    door_names?: string[];
                    endpoint_id?: string;
                    key_id?: string;
                    key_issuing_request_id?: string;
                    override_guest_acs_entrance_ids?: string[];
                };
                card_number?: 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"
                    | "latch_access";
                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?: boolean;
                    card_function_type: "guest" | "staff";
                    card_id?: string;
                    common_acs_entrance_ids?: string[];
                    credential_id?: string;
                    guest_acs_entrance_ids?: string[];
                    is_valid?: boolean;
                    joiner_acs_credential_ids?: string[];
                };
                warnings: (
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "waiting_to_be_issued";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "schedule_externally_modified";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "schedule_modified";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "being_deleted";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "unknown_issue_with_acs_credential";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "needs_to_be_reissued";
                    })[];
                workspace_id: string;
            };
        }>, "acs_credential">, "acs_credential">
      • Parameters

        • Optionalparams: {
              acs_credential_id: string;
          }
          • acs_credential_id: string

            ID of the credential that you want to get.

        Returns SeamHttpRequest<SetNonNullable<Required<{
            acs_credential: {
                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?: {
                    auto_join?: boolean;
                    door_names?: string[];
                    endpoint_id?: string;
                    key_id?: string;
                    key_issuing_request_id?: string;
                    override_guest_acs_entrance_ids?: string[];
                };
                card_number?: 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"
                    | "latch_access";
                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?: boolean;
                    card_function_type: "guest" | "staff";
                    card_id?: string;
                    common_acs_entrance_ids?: string[];
                    credential_id?: string;
                    guest_acs_entrance_ids?: string[];
                    is_valid?: boolean;
                    joiner_acs_credential_ids?: string[];
                };
                warnings: (
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "waiting_to_be_issued";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "schedule_externally_modified";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "schedule_modified";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "being_deleted";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "unknown_issue_with_acs_credential";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "needs_to_be_reissued";
                    })[];
                workspace_id: string;
            };
        }>, "acs_credential">, "acs_credential">

  • get /acs/credentials/list(): ((params?: AcsCredentialsListParams) => SeamHttpRequest<SetNonNullable<Required<{
        acs_credentials: {
            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?: {
                auto_join?: boolean;
                door_names?: (...)[];
                endpoint_id?: string;
                key_id?: string;
                key_issuing_request_id?: string;
                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"
                | "latch_access";
            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?: boolean;
                card_function_type: "guest" | "staff";
                card_id?: string;
                common_acs_entrance_ids?: (...)[];
                credential_id?: string;
                guest_acs_entrance_ids?: (...)[];
                is_valid?: boolean;
                joiner_acs_credential_ids?: (...)[];
            };
            warnings: (
                | {
                    created_at: string;
                    message: string;
                    warning_code: "waiting_to_be_issued";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "schedule_externally_modified";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "schedule_modified";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "being_deleted";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "unknown_issue_with_acs_credential";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "needs_to_be_reissued";
                })[];
            workspace_id: string;
        }[];
    }>, "acs_credentials">, "acs_credentials">)
  • Returns ((params?: AcsCredentialsListParams) => SeamHttpRequest<SetNonNullable<Required<{
        acs_credentials: {
            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?: {
                auto_join?: boolean;
                door_names?: (...)[];
                endpoint_id?: string;
                key_id?: string;
                key_issuing_request_id?: string;
                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"
                | "latch_access";
            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?: boolean;
                card_function_type: "guest" | "staff";
                card_id?: string;
                common_acs_entrance_ids?: (...)[];
                credential_id?: string;
                guest_acs_entrance_ids?: (...)[];
                is_valid?: boolean;
                joiner_acs_credential_ids?: (...)[];
            };
            warnings: (
                | {
                    created_at: string;
                    message: string;
                    warning_code: "waiting_to_be_issued";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "schedule_externally_modified";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "schedule_modified";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "being_deleted";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "unknown_issue_with_acs_credential";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "needs_to_be_reissued";
                })[];
            workspace_id: string;
        }[];
    }>, "acs_credentials">, "acs_credentials">)

      • (params?): SeamHttpRequest<SetNonNullable<Required<{
            acs_credentials: {
                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?: {
                    auto_join?: boolean;
                    door_names?: (...)[];
                    endpoint_id?: string;
                    key_id?: string;
                    key_issuing_request_id?: string;
                    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"
                    | "latch_access";
                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?: boolean;
                    card_function_type: "guest" | "staff";
                    card_id?: string;
                    common_acs_entrance_ids?: (...)[];
                    credential_id?: string;
                    guest_acs_entrance_ids?: (...)[];
                    is_valid?: boolean;
                    joiner_acs_credential_ids?: (...)[];
                };
                warnings: (
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "waiting_to_be_issued";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "schedule_externally_modified";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "schedule_modified";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "being_deleted";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "unknown_issue_with_acs_credential";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "needs_to_be_reissued";
                    })[];
                workspace_id: string;
            }[];
        }>, "acs_credentials">, "acs_credentials">
      • Parameters

        Returns SeamHttpRequest<SetNonNullable<Required<{
            acs_credentials: {
                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?: {
                    auto_join?: boolean;
                    door_names?: (...)[];
                    endpoint_id?: string;
                    key_id?: string;
                    key_issuing_request_id?: string;
                    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"
                    | "latch_access";
                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?: boolean;
                    card_function_type: "guest" | "staff";
                    card_id?: string;
                    common_acs_entrance_ids?: (...)[];
                    credential_id?: string;
                    guest_acs_entrance_ids?: (...)[];
                    is_valid?: boolean;
                    joiner_acs_credential_ids?: (...)[];
                };
                warnings: (
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "waiting_to_be_issued";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "schedule_externally_modified";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "schedule_modified";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "being_deleted";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "unknown_issue_with_acs_credential";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "needs_to_be_reissued";
                    })[];
                workspace_id: string;
            }[];
        }>, "acs_credentials">, "acs_credentials">

  • get /acs/credentials/list_accessible_entrances(): ((params?: {
        acs_credential_id: string;
    }) => SeamHttpRequest<SetNonNullable<Required<{
        acs_entrances: {
            acs_entrance_id: string;
            acs_system_id: string;
            assa_abloy_vostio_metadata?: {
                door_name: string;
                door_number?: number;
                door_type:
                    | "CommonDoor"
                    | "EntranceDoor"
                    | "GuestDoor"
                    | "Elevator";
                pms_id?: string;
                stand_open?: boolean;
            };
            connected_account_id: string;
            created_at: string;
            display_name: string;
            dormakaba_community_metadata?: {
                access_point_name: string;
            };
            errors: {
                error_code: string;
                message: string;
            }[];
            latch_metadata?: {
                accessibility_type: string;
                door_name: string;
                door_type: string;
                is_connected: boolean;
            };
            salto_ks_metadata?: {
                battery_level: string;
                door_name: string;
                intrusion_alarm?: boolean;
                left_open_alarm?: boolean;
                lock_type: string;
                locked_state: string;
                online?: boolean;
                privacy_mode?: boolean;
            };
            salto_space_metadata?: {
                door_description?: string;
                door_name: string;
                ext_door_id: string;
            };
            visionline_metadata?: {
                door_category:
                    | "common"
                    | "guest"
                    | "entrance"
                    | "elevator reader"
                    | "common (PMS)";
                door_name: string;
                profiles?: (...)[];
            };
        }[];
    }>, "acs_entrances">, "acs_entrances">)
  • Returns ((params?: {
        acs_credential_id: string;
    }) => SeamHttpRequest<SetNonNullable<Required<{
        acs_entrances: {
            acs_entrance_id: string;
            acs_system_id: string;
            assa_abloy_vostio_metadata?: {
                door_name: string;
                door_number?: number;
                door_type:
                    | "CommonDoor"
                    | "EntranceDoor"
                    | "GuestDoor"
                    | "Elevator";
                pms_id?: string;
                stand_open?: boolean;
            };
            connected_account_id: string;
            created_at: string;
            display_name: string;
            dormakaba_community_metadata?: {
                access_point_name: string;
            };
            errors: {
                error_code: string;
                message: string;
            }[];
            latch_metadata?: {
                accessibility_type: string;
                door_name: string;
                door_type: string;
                is_connected: boolean;
            };
            salto_ks_metadata?: {
                battery_level: string;
                door_name: string;
                intrusion_alarm?: boolean;
                left_open_alarm?: boolean;
                lock_type: string;
                locked_state: string;
                online?: boolean;
                privacy_mode?: boolean;
            };
            salto_space_metadata?: {
                door_description?: string;
                door_name: string;
                ext_door_id: string;
            };
            visionline_metadata?: {
                door_category:
                    | "common"
                    | "guest"
                    | "entrance"
                    | "elevator reader"
                    | "common (PMS)";
                door_name: string;
                profiles?: (...)[];
            };
        }[];
    }>, "acs_entrances">, "acs_entrances">)

      • (params?): SeamHttpRequest<SetNonNullable<Required<{
            acs_entrances: {
                acs_entrance_id: string;
                acs_system_id: string;
                assa_abloy_vostio_metadata?: {
                    door_name: string;
                    door_number?: number;
                    door_type:
                        | "CommonDoor"
                        | "EntranceDoor"
                        | "GuestDoor"
                        | "Elevator";
                    pms_id?: string;
                    stand_open?: boolean;
                };
                connected_account_id: string;
                created_at: string;
                display_name: string;
                dormakaba_community_metadata?: {
                    access_point_name: string;
                };
                errors: {
                    error_code: string;
                    message: string;
                }[];
                latch_metadata?: {
                    accessibility_type: string;
                    door_name: string;
                    door_type: string;
                    is_connected: boolean;
                };
                salto_ks_metadata?: {
                    battery_level: string;
                    door_name: string;
                    intrusion_alarm?: boolean;
                    left_open_alarm?: boolean;
                    lock_type: string;
                    locked_state: string;
                    online?: boolean;
                    privacy_mode?: boolean;
                };
                salto_space_metadata?: {
                    door_description?: string;
                    door_name: string;
                    ext_door_id: string;
                };
                visionline_metadata?: {
                    door_category:
                        | "common"
                        | "guest"
                        | "entrance"
                        | "elevator reader"
                        | "common (PMS)";
                    door_name: string;
                    profiles?: (...)[];
                };
            }[];
        }>, "acs_entrances">, "acs_entrances">
      • Parameters

        • Optionalparams: {
              acs_credential_id: string;
          }
          • acs_credential_id: string

            ID of the credential for which you want to retrieve all entrances to which the credential grants access.

        Returns SeamHttpRequest<SetNonNullable<Required<{
            acs_entrances: {
                acs_entrance_id: string;
                acs_system_id: string;
                assa_abloy_vostio_metadata?: {
                    door_name: string;
                    door_number?: number;
                    door_type:
                        | "CommonDoor"
                        | "EntranceDoor"
                        | "GuestDoor"
                        | "Elevator";
                    pms_id?: string;
                    stand_open?: boolean;
                };
                connected_account_id: string;
                created_at: string;
                display_name: string;
                dormakaba_community_metadata?: {
                    access_point_name: string;
                };
                errors: {
                    error_code: string;
                    message: string;
                }[];
                latch_metadata?: {
                    accessibility_type: string;
                    door_name: string;
                    door_type: string;
                    is_connected: boolean;
                };
                salto_ks_metadata?: {
                    battery_level: string;
                    door_name: string;
                    intrusion_alarm?: boolean;
                    left_open_alarm?: boolean;
                    lock_type: string;
                    locked_state: string;
                    online?: boolean;
                    privacy_mode?: boolean;
                };
                salto_space_metadata?: {
                    door_description?: string;
                    door_name: string;
                    ext_door_id: string;
                };
                visionline_metadata?: {
                    door_category:
                        | "common"
                        | "guest"
                        | "entrance"
                        | "elevator reader"
                        | "common (PMS)";
                    door_name: string;
                    profiles?: (...)[];
                };
            }[];
        }>, "acs_entrances">, "acs_entrances">

  • get /acs/credentials/unassign(): ((body?: {
        acs_credential_id: string;
        acs_user_id?: string;
        user_identity_id?: string;
    }) => SeamHttpRequest<void, undefined>)
  • Returns ((body?: {
        acs_credential_id: string;
        acs_user_id?: string;
        user_identity_id?: string;
    }) => SeamHttpRequest<void, undefined>)

      • (body?): SeamHttpRequest<void, undefined>
      • Parameters

        • Optionalbody: {
              acs_credential_id: string;
              acs_user_id?: string;
              user_identity_id?: string;
          }
          • acs_credential_id: string

            ID of the credential that you want to unassign from an access system user.

          • Optionalacs_user_id?: string

            ID of the access system user from which you want to unassign a credential. You can only provide one of acs_user_id or user_identity_id.

          • Optionaluser_identity_id?: string

            ID of the user identity from which you want to unassign a credential. You can only provide one of acs_user_id or user_identity_id.

        Returns SeamHttpRequest<void, undefined>

  • get /acs/credentials/update(): ((body?: {
        acs_credential_id: string;
        code?: string;
        ends_at?: string;
    }) => SeamHttpRequest<void, undefined>)
  • Returns ((body?: {
        acs_credential_id: string;
        code?: string;
        ends_at?: string;
    }) => SeamHttpRequest<void, undefined>)

      • (body?): SeamHttpRequest<void, undefined>
      • Parameters

        • Optionalbody: {
              acs_credential_id: string;
              code?: string;
              ends_at?: string;
          }
          • acs_credential_id: string

            ID of the credential that you want to update.

          • Optionalcode?: string

            Replacement access (PIN) code for the credential that you want to update.

          • Optionalends_at?: string

            Replacement date and time at which the validity of the credential ends, in ISO 8601 format. Must be a time in the future and after the starts_at value that you set when creating the credential.

        Returns SeamHttpRequest<void, undefined>

  • get /acs/encoders/encode_access_method(): ((body?: {
        access_method_id: string;
        acs_encoder_id: string;
    }, options?: AcsEncodersEncodeAccessMethodOptions) => SeamHttpRequest<SetNonNullable<Required<{
        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: (...) | (...);
                        created_at: (...) | (...);
                        ends_at: (...) | (...);
                        is_issued: (...) | (...) | (...);
                        starts_at: (...) | (...);
                        visionline_metadata?: (...) | (...);
                    };
                    acs_credential_on_seam: null | {
                        access_method: (...) | (...) | (...);
                        acs_credential_id: string;
                        acs_credential_pool_id?: (...) | (...);
                        acs_system_id: string;
                        acs_user_id?: (...) | (...);
                        assa_abloy_vostio_metadata?: (...) | (...);
                        card_number?: (...) | (...) | (...);
                        code?: (...) | (...) | (...);
                        created_at: string;
                        display_name: string;
                        ends_at?: (...) | (...);
                        errors: (...)[];
                        external_type?:
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                        external_type_display_name?: (...) | (...);
                        is_issued?: (...) | (...) | (...);
                        is_latest_desired_state_synced_with_provider?:
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                        is_managed: true;
                        is_multi_phone_sync_credential?: (...) | (...) | (...);
                        is_one_time_use?: (...) | (...) | (...);
                        issued_at?: (...) | (...) | (...);
                        latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                        parent_acs_credential_id?: (...) | (...);
                        starts_at?: (...) | (...);
                        visionline_metadata?: (...) | (...);
                        warnings: (...)[];
                        workspace_id: string;
                    } | {
                        access_method: (...) | (...) | (...);
                        acs_credential_id: string;
                        acs_credential_pool_id?: (...) | (...);
                        acs_system_id: string;
                        acs_user_id?: (...) | (...);
                        assa_abloy_vostio_metadata?: (...) | (...);
                        card_number?: (...) | (...) | (...);
                        code?: (...) | (...) | (...);
                        created_at: string;
                        display_name: string;
                        ends_at?: (...) | (...);
                        errors: (...)[];
                        external_type?:
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                        external_type_display_name?: (...) | (...);
                        is_issued?: (...) | (...) | (...);
                        is_latest_desired_state_synced_with_provider?:
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                        is_managed: false;
                        is_multi_phone_sync_credential?: (...) | (...) | (...);
                        is_one_time_use?: (...) | (...) | (...);
                        issued_at?: (...) | (...) | (...);
                        latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                        parent_acs_credential_id?: (...) | (...);
                        starts_at?: (...) | (...);
                        visionline_metadata?: (...) | (...);
                        warnings: (...)[];
                        workspace_id: string;
                    };
                    warnings: {
                        warning_code: (...) | (...);
                        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_ACCESS_METHOD";
                error: null;
                result: null;
                status: "pending";
            }
            | {
                action_attempt_id: string;
                action_type: "ENCODE_ACCESS_METHOD";
                error: null;
                result: {
                    access_method_id: string;
                    created_at: string;
                    display_name: string;
                    instant_key_url?: string;
                    is_card_encoding_required?: boolean;
                    issued_at?: string;
                    mode: "code" | "card" | "mobile_key";
                    workspace_id: string;
                };
                status: "success";
            }
            | {
                action_attempt_id: string;
                action_type: "ENCODE_ACCESS_METHOD";
                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: "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?: {
                        auto_join?: ...;
                        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"
                        | "latch_access";
                    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?: {
                        auto_join?: ...;
                        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"
                        | "latch_access";
                    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;
                };
                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: "SIMULATE_KEYPAD_CODE_ENTRY";
                error: null;
                result: null;
                status: "pending";
            }
            | {
                action_attempt_id: string;
                action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                error: null;
                result: {};
                status: "success";
            }
            | {
                action_attempt_id: string;
                action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                error: {
                    message: string;
                    type: string;
                };
                result: null;
                status: "error";
            }
            | {
                action_attempt_id: string;
                action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                error: null;
                result: null;
                status: "pending";
            }
            | {
                action_attempt_id: string;
                action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                error: null;
                result: {};
                status: "success";
            }
            | {
                action_attempt_id: string;
                action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                error: {
                    message: string;
                    type: string;
                };
                result: null;
                status: "error";
            }
            | {
                action_attempt_id: string;
                action_type: "PUSH_THERMOSTAT_PROGRAMS";
                error: null;
                result: null;
                status: "pending";
            }
            | {
                action_attempt_id: string;
                action_type: "PUSH_THERMOSTAT_PROGRAMS";
                error: null;
                result: {};
                status: "success";
            }
            | {
                action_attempt_id: string;
                action_type: "PUSH_THERMOSTAT_PROGRAMS";
                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";
            };
    }>, "action_attempt">, "action_attempt">)
  • Returns ((body?: {
        access_method_id: string;
        acs_encoder_id: string;
    }, options?: AcsEncodersEncodeAccessMethodOptions) => SeamHttpRequest<SetNonNullable<Required<{
        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: (...) | (...);
                        created_at: (...) | (...);
                        ends_at: (...) | (...);
                        is_issued: (...) | (...) | (...);
                        starts_at: (...) | (...);
                        visionline_metadata?: (...) | (...);
                    };
                    acs_credential_on_seam: null | {
                        access_method: (...) | (...) | (...);
                        acs_credential_id: string;
                        acs_credential_pool_id?: (...) | (...);
                        acs_system_id: string;
                        acs_user_id?: (...) | (...);
                        assa_abloy_vostio_metadata?: (...) | (...);
                        card_number?: (...) | (...) | (...);
                        code?: (...) | (...) | (...);
                        created_at: string;
                        display_name: string;
                        ends_at?: (...) | (...);
                        errors: (...)[];
                        external_type?:
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                        external_type_display_name?: (...) | (...);
                        is_issued?: (...) | (...) | (...);
                        is_latest_desired_state_synced_with_provider?:
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                        is_managed: true;
                        is_multi_phone_sync_credential?: (...) | (...) | (...);
                        is_one_time_use?: (...) | (...) | (...);
                        issued_at?: (...) | (...) | (...);
                        latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                        parent_acs_credential_id?: (...) | (...);
                        starts_at?: (...) | (...);
                        visionline_metadata?: (...) | (...);
                        warnings: (...)[];
                        workspace_id: string;
                    } | {
                        access_method: (...) | (...) | (...);
                        acs_credential_id: string;
                        acs_credential_pool_id?: (...) | (...);
                        acs_system_id: string;
                        acs_user_id?: (...) | (...);
                        assa_abloy_vostio_metadata?: (...) | (...);
                        card_number?: (...) | (...) | (...);
                        code?: (...) | (...) | (...);
                        created_at: string;
                        display_name: string;
                        ends_at?: (...) | (...);
                        errors: (...)[];
                        external_type?:
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                        external_type_display_name?: (...) | (...);
                        is_issued?: (...) | (...) | (...);
                        is_latest_desired_state_synced_with_provider?:
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                        is_managed: false;
                        is_multi_phone_sync_credential?: (...) | (...) | (...);
                        is_one_time_use?: (...) | (...) | (...);
                        issued_at?: (...) | (...) | (...);
                        latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                        parent_acs_credential_id?: (...) | (...);
                        starts_at?: (...) | (...);
                        visionline_metadata?: (...) | (...);
                        warnings: (...)[];
                        workspace_id: string;
                    };
                    warnings: {
                        warning_code: (...) | (...);
                        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_ACCESS_METHOD";
                error: null;
                result: null;
                status: "pending";
            }
            | {
                action_attempt_id: string;
                action_type: "ENCODE_ACCESS_METHOD";
                error: null;
                result: {
                    access_method_id: string;
                    created_at: string;
                    display_name: string;
                    instant_key_url?: string;
                    is_card_encoding_required?: boolean;
                    issued_at?: string;
                    mode: "code" | "card" | "mobile_key";
                    workspace_id: string;
                };
                status: "success";
            }
            | {
                action_attempt_id: string;
                action_type: "ENCODE_ACCESS_METHOD";
                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: "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?: {
                        auto_join?: ...;
                        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"
                        | "latch_access";
                    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?: {
                        auto_join?: ...;
                        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"
                        | "latch_access";
                    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;
                };
                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: "SIMULATE_KEYPAD_CODE_ENTRY";
                error: null;
                result: null;
                status: "pending";
            }
            | {
                action_attempt_id: string;
                action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                error: null;
                result: {};
                status: "success";
            }
            | {
                action_attempt_id: string;
                action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                error: {
                    message: string;
                    type: string;
                };
                result: null;
                status: "error";
            }
            | {
                action_attempt_id: string;
                action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                error: null;
                result: null;
                status: "pending";
            }
            | {
                action_attempt_id: string;
                action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                error: null;
                result: {};
                status: "success";
            }
            | {
                action_attempt_id: string;
                action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                error: {
                    message: string;
                    type: string;
                };
                result: null;
                status: "error";
            }
            | {
                action_attempt_id: string;
                action_type: "PUSH_THERMOSTAT_PROGRAMS";
                error: null;
                result: null;
                status: "pending";
            }
            | {
                action_attempt_id: string;
                action_type: "PUSH_THERMOSTAT_PROGRAMS";
                error: null;
                result: {};
                status: "success";
            }
            | {
                action_attempt_id: string;
                action_type: "PUSH_THERMOSTAT_PROGRAMS";
                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";
            };
    }>, "action_attempt">, "action_attempt">)

      • (body?, options?): SeamHttpRequest<SetNonNullable<Required<{
            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: (...) | (...);
                            created_at: (...) | (...);
                            ends_at: (...) | (...);
                            is_issued: (...) | (...) | (...);
                            starts_at: (...) | (...);
                            visionline_metadata?: (...) | (...);
                        };
                        acs_credential_on_seam: null | {
                            access_method: (...) | (...) | (...);
                            acs_credential_id: string;
                            acs_credential_pool_id?: (...) | (...);
                            acs_system_id: string;
                            acs_user_id?: (...) | (...);
                            assa_abloy_vostio_metadata?: (...) | (...);
                            card_number?: (...) | (...) | (...);
                            code?: (...) | (...) | (...);
                            created_at: string;
                            display_name: string;
                            ends_at?: (...) | (...);
                            errors: (...)[];
                            external_type?:
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...);
                            external_type_display_name?: (...) | (...);
                            is_issued?: (...) | (...) | (...);
                            is_latest_desired_state_synced_with_provider?:
                                | (...)
                                | (...)
                                | (...)
                                | (...);
                            is_managed: true;
                            is_multi_phone_sync_credential?: (...) | (...) | (...);
                            is_one_time_use?: (...) | (...) | (...);
                            issued_at?: (...) | (...) | (...);
                            latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                            parent_acs_credential_id?: (...) | (...);
                            starts_at?: (...) | (...);
                            visionline_metadata?: (...) | (...);
                            warnings: (...)[];
                            workspace_id: string;
                        } | {
                            access_method: (...) | (...) | (...);
                            acs_credential_id: string;
                            acs_credential_pool_id?: (...) | (...);
                            acs_system_id: string;
                            acs_user_id?: (...) | (...);
                            assa_abloy_vostio_metadata?: (...) | (...);
                            card_number?: (...) | (...) | (...);
                            code?: (...) | (...) | (...);
                            created_at: string;
                            display_name: string;
                            ends_at?: (...) | (...);
                            errors: (...)[];
                            external_type?:
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...);
                            external_type_display_name?: (...) | (...);
                            is_issued?: (...) | (...) | (...);
                            is_latest_desired_state_synced_with_provider?:
                                | (...)
                                | (...)
                                | (...)
                                | (...);
                            is_managed: false;
                            is_multi_phone_sync_credential?: (...) | (...) | (...);
                            is_one_time_use?: (...) | (...) | (...);
                            issued_at?: (...) | (...) | (...);
                            latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                            parent_acs_credential_id?: (...) | (...);
                            starts_at?: (...) | (...);
                            visionline_metadata?: (...) | (...);
                            warnings: (...)[];
                            workspace_id: string;
                        };
                        warnings: {
                            warning_code: (...) | (...);
                            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_ACCESS_METHOD";
                    error: null;
                    result: null;
                    status: "pending";
                }
                | {
                    action_attempt_id: string;
                    action_type: "ENCODE_ACCESS_METHOD";
                    error: null;
                    result: {
                        access_method_id: string;
                        created_at: string;
                        display_name: string;
                        instant_key_url?: string;
                        is_card_encoding_required?: boolean;
                        issued_at?: string;
                        mode: "code" | "card" | "mobile_key";
                        workspace_id: string;
                    };
                    status: "success";
                }
                | {
                    action_attempt_id: string;
                    action_type: "ENCODE_ACCESS_METHOD";
                    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: "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?: {
                            auto_join?: ...;
                            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"
                            | "latch_access";
                        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?: {
                            auto_join?: ...;
                            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"
                            | "latch_access";
                        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;
                    };
                    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: "SIMULATE_KEYPAD_CODE_ENTRY";
                    error: null;
                    result: null;
                    status: "pending";
                }
                | {
                    action_attempt_id: string;
                    action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                    error: null;
                    result: {};
                    status: "success";
                }
                | {
                    action_attempt_id: string;
                    action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                    error: {
                        message: string;
                        type: string;
                    };
                    result: null;
                    status: "error";
                }
                | {
                    action_attempt_id: string;
                    action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                    error: null;
                    result: null;
                    status: "pending";
                }
                | {
                    action_attempt_id: string;
                    action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                    error: null;
                    result: {};
                    status: "success";
                }
                | {
                    action_attempt_id: string;
                    action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                    error: {
                        message: string;
                        type: string;
                    };
                    result: null;
                    status: "error";
                }
                | {
                    action_attempt_id: string;
                    action_type: "PUSH_THERMOSTAT_PROGRAMS";
                    error: null;
                    result: null;
                    status: "pending";
                }
                | {
                    action_attempt_id: string;
                    action_type: "PUSH_THERMOSTAT_PROGRAMS";
                    error: null;
                    result: {};
                    status: "success";
                }
                | {
                    action_attempt_id: string;
                    action_type: "PUSH_THERMOSTAT_PROGRAMS";
                    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";
                };
        }>, "action_attempt">, "action_attempt">
      • Parameters

        • Optionalbody: {
              access_method_id: string;
              acs_encoder_id: string;
          }
          • access_method_id: string

            ID of the access_method to encode onto a card.

          • acs_encoder_id: string

            ID of the acs_encoder to use to encode the access_method.

        • options: AcsEncodersEncodeAccessMethodOptions = {}

        Returns SeamHttpRequest<SetNonNullable<Required<{
            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: (...) | (...);
                            created_at: (...) | (...);
                            ends_at: (...) | (...);
                            is_issued: (...) | (...) | (...);
                            starts_at: (...) | (...);
                            visionline_metadata?: (...) | (...);
                        };
                        acs_credential_on_seam: null | {
                            access_method: (...) | (...) | (...);
                            acs_credential_id: string;
                            acs_credential_pool_id?: (...) | (...);
                            acs_system_id: string;
                            acs_user_id?: (...) | (...);
                            assa_abloy_vostio_metadata?: (...) | (...);
                            card_number?: (...) | (...) | (...);
                            code?: (...) | (...) | (...);
                            created_at: string;
                            display_name: string;
                            ends_at?: (...) | (...);
                            errors: (...)[];
                            external_type?:
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...);
                            external_type_display_name?: (...) | (...);
                            is_issued?: (...) | (...) | (...);
                            is_latest_desired_state_synced_with_provider?:
                                | (...)
                                | (...)
                                | (...)
                                | (...);
                            is_managed: true;
                            is_multi_phone_sync_credential?: (...) | (...) | (...);
                            is_one_time_use?: (...) | (...) | (...);
                            issued_at?: (...) | (...) | (...);
                            latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                            parent_acs_credential_id?: (...) | (...);
                            starts_at?: (...) | (...);
                            visionline_metadata?: (...) | (...);
                            warnings: (...)[];
                            workspace_id: string;
                        } | {
                            access_method: (...) | (...) | (...);
                            acs_credential_id: string;
                            acs_credential_pool_id?: (...) | (...);
                            acs_system_id: string;
                            acs_user_id?: (...) | (...);
                            assa_abloy_vostio_metadata?: (...) | (...);
                            card_number?: (...) | (...) | (...);
                            code?: (...) | (...) | (...);
                            created_at: string;
                            display_name: string;
                            ends_at?: (...) | (...);
                            errors: (...)[];
                            external_type?:
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...);
                            external_type_display_name?: (...) | (...);
                            is_issued?: (...) | (...) | (...);
                            is_latest_desired_state_synced_with_provider?:
                                | (...)
                                | (...)
                                | (...)
                                | (...);
                            is_managed: false;
                            is_multi_phone_sync_credential?: (...) | (...) | (...);
                            is_one_time_use?: (...) | (...) | (...);
                            issued_at?: (...) | (...) | (...);
                            latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                            parent_acs_credential_id?: (...) | (...);
                            starts_at?: (...) | (...);
                            visionline_metadata?: (...) | (...);
                            warnings: (...)[];
                            workspace_id: string;
                        };
                        warnings: {
                            warning_code: (...) | (...);
                            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_ACCESS_METHOD";
                    error: null;
                    result: null;
                    status: "pending";
                }
                | {
                    action_attempt_id: string;
                    action_type: "ENCODE_ACCESS_METHOD";
                    error: null;
                    result: {
                        access_method_id: string;
                        created_at: string;
                        display_name: string;
                        instant_key_url?: string;
                        is_card_encoding_required?: boolean;
                        issued_at?: string;
                        mode: "code" | "card" | "mobile_key";
                        workspace_id: string;
                    };
                    status: "success";
                }
                | {
                    action_attempt_id: string;
                    action_type: "ENCODE_ACCESS_METHOD";
                    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: "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?: {
                            auto_join?: ...;
                            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"
                            | "latch_access";
                        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?: {
                            auto_join?: ...;
                            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"
                            | "latch_access";
                        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;
                    };
                    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: "SIMULATE_KEYPAD_CODE_ENTRY";
                    error: null;
                    result: null;
                    status: "pending";
                }
                | {
                    action_attempt_id: string;
                    action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                    error: null;
                    result: {};
                    status: "success";
                }
                | {
                    action_attempt_id: string;
                    action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                    error: {
                        message: string;
                        type: string;
                    };
                    result: null;
                    status: "error";
                }
                | {
                    action_attempt_id: string;
                    action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                    error: null;
                    result: null;
                    status: "pending";
                }
                | {
                    action_attempt_id: string;
                    action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                    error: null;
                    result: {};
                    status: "success";
                }
                | {
                    action_attempt_id: string;
                    action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                    error: {
                        message: string;
                        type: string;
                    };
                    result: null;
                    status: "error";
                }
                | {
                    action_attempt_id: string;
                    action_type: "PUSH_THERMOSTAT_PROGRAMS";
                    error: null;
                    result: null;
                    status: "pending";
                }
                | {
                    action_attempt_id: string;
                    action_type: "PUSH_THERMOSTAT_PROGRAMS";
                    error: null;
                    result: {};
                    status: "success";
                }
                | {
                    action_attempt_id: string;
                    action_type: "PUSH_THERMOSTAT_PROGRAMS";
                    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";
                };
        }>, "action_attempt">, "action_attempt">

  • get /acs/encoders/encode_credential(): ((body?: {
        acs_credential_id: string;
        acs_encoder_id: string;
    }, options?: AcsEncodersEncodeCredentialOptions) => SeamHttpRequest<SetNonNullable<Required<{
        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: (...) | (...);
                        created_at: (...) | (...);
                        ends_at: (...) | (...);
                        is_issued: (...) | (...) | (...);
                        starts_at: (...) | (...);
                        visionline_metadata?: (...) | (...);
                    };
                    acs_credential_on_seam: null | {
                        access_method: (...) | (...) | (...);
                        acs_credential_id: string;
                        acs_credential_pool_id?: (...) | (...);
                        acs_system_id: string;
                        acs_user_id?: (...) | (...);
                        assa_abloy_vostio_metadata?: (...) | (...);
                        card_number?: (...) | (...) | (...);
                        code?: (...) | (...) | (...);
                        created_at: string;
                        display_name: string;
                        ends_at?: (...) | (...);
                        errors: (...)[];
                        external_type?:
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                        external_type_display_name?: (...) | (...);
                        is_issued?: (...) | (...) | (...);
                        is_latest_desired_state_synced_with_provider?:
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                        is_managed: true;
                        is_multi_phone_sync_credential?: (...) | (...) | (...);
                        is_one_time_use?: (...) | (...) | (...);
                        issued_at?: (...) | (...) | (...);
                        latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                        parent_acs_credential_id?: (...) | (...);
                        starts_at?: (...) | (...);
                        visionline_metadata?: (...) | (...);
                        warnings: (...)[];
                        workspace_id: string;
                    } | {
                        access_method: (...) | (...) | (...);
                        acs_credential_id: string;
                        acs_credential_pool_id?: (...) | (...);
                        acs_system_id: string;
                        acs_user_id?: (...) | (...);
                        assa_abloy_vostio_metadata?: (...) | (...);
                        card_number?: (...) | (...) | (...);
                        code?: (...) | (...) | (...);
                        created_at: string;
                        display_name: string;
                        ends_at?: (...) | (...);
                        errors: (...)[];
                        external_type?:
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                        external_type_display_name?: (...) | (...);
                        is_issued?: (...) | (...) | (...);
                        is_latest_desired_state_synced_with_provider?:
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                        is_managed: false;
                        is_multi_phone_sync_credential?: (...) | (...) | (...);
                        is_one_time_use?: (...) | (...) | (...);
                        issued_at?: (...) | (...) | (...);
                        latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                        parent_acs_credential_id?: (...) | (...);
                        starts_at?: (...) | (...);
                        visionline_metadata?: (...) | (...);
                        warnings: (...)[];
                        workspace_id: string;
                    };
                    warnings: {
                        warning_code: (...) | (...);
                        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_ACCESS_METHOD";
                error: null;
                result: null;
                status: "pending";
            }
            | {
                action_attempt_id: string;
                action_type: "ENCODE_ACCESS_METHOD";
                error: null;
                result: {
                    access_method_id: string;
                    created_at: string;
                    display_name: string;
                    instant_key_url?: string;
                    is_card_encoding_required?: boolean;
                    issued_at?: string;
                    mode: "code" | "card" | "mobile_key";
                    workspace_id: string;
                };
                status: "success";
            }
            | {
                action_attempt_id: string;
                action_type: "ENCODE_ACCESS_METHOD";
                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: "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?: {
                        auto_join?: ...;
                        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"
                        | "latch_access";
                    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?: {
                        auto_join?: ...;
                        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"
                        | "latch_access";
                    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;
                };
                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: "SIMULATE_KEYPAD_CODE_ENTRY";
                error: null;
                result: null;
                status: "pending";
            }
            | {
                action_attempt_id: string;
                action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                error: null;
                result: {};
                status: "success";
            }
            | {
                action_attempt_id: string;
                action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                error: {
                    message: string;
                    type: string;
                };
                result: null;
                status: "error";
            }
            | {
                action_attempt_id: string;
                action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                error: null;
                result: null;
                status: "pending";
            }
            | {
                action_attempt_id: string;
                action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                error: null;
                result: {};
                status: "success";
            }
            | {
                action_attempt_id: string;
                action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                error: {
                    message: string;
                    type: string;
                };
                result: null;
                status: "error";
            }
            | {
                action_attempt_id: string;
                action_type: "PUSH_THERMOSTAT_PROGRAMS";
                error: null;
                result: null;
                status: "pending";
            }
            | {
                action_attempt_id: string;
                action_type: "PUSH_THERMOSTAT_PROGRAMS";
                error: null;
                result: {};
                status: "success";
            }
            | {
                action_attempt_id: string;
                action_type: "PUSH_THERMOSTAT_PROGRAMS";
                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";
            };
    }>, "action_attempt">, "action_attempt">)
  • Returns ((body?: {
        acs_credential_id: string;
        acs_encoder_id: string;
    }, options?: AcsEncodersEncodeCredentialOptions) => SeamHttpRequest<SetNonNullable<Required<{
        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: (...) | (...);
                        created_at: (...) | (...);
                        ends_at: (...) | (...);
                        is_issued: (...) | (...) | (...);
                        starts_at: (...) | (...);
                        visionline_metadata?: (...) | (...);
                    };
                    acs_credential_on_seam: null | {
                        access_method: (...) | (...) | (...);
                        acs_credential_id: string;
                        acs_credential_pool_id?: (...) | (...);
                        acs_system_id: string;
                        acs_user_id?: (...) | (...);
                        assa_abloy_vostio_metadata?: (...) | (...);
                        card_number?: (...) | (...) | (...);
                        code?: (...) | (...) | (...);
                        created_at: string;
                        display_name: string;
                        ends_at?: (...) | (...);
                        errors: (...)[];
                        external_type?:
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                        external_type_display_name?: (...) | (...);
                        is_issued?: (...) | (...) | (...);
                        is_latest_desired_state_synced_with_provider?:
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                        is_managed: true;
                        is_multi_phone_sync_credential?: (...) | (...) | (...);
                        is_one_time_use?: (...) | (...) | (...);
                        issued_at?: (...) | (...) | (...);
                        latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                        parent_acs_credential_id?: (...) | (...);
                        starts_at?: (...) | (...);
                        visionline_metadata?: (...) | (...);
                        warnings: (...)[];
                        workspace_id: string;
                    } | {
                        access_method: (...) | (...) | (...);
                        acs_credential_id: string;
                        acs_credential_pool_id?: (...) | (...);
                        acs_system_id: string;
                        acs_user_id?: (...) | (...);
                        assa_abloy_vostio_metadata?: (...) | (...);
                        card_number?: (...) | (...) | (...);
                        code?: (...) | (...) | (...);
                        created_at: string;
                        display_name: string;
                        ends_at?: (...) | (...);
                        errors: (...)[];
                        external_type?:
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                        external_type_display_name?: (...) | (...);
                        is_issued?: (...) | (...) | (...);
                        is_latest_desired_state_synced_with_provider?:
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                        is_managed: false;
                        is_multi_phone_sync_credential?: (...) | (...) | (...);
                        is_one_time_use?: (...) | (...) | (...);
                        issued_at?: (...) | (...) | (...);
                        latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                        parent_acs_credential_id?: (...) | (...);
                        starts_at?: (...) | (...);
                        visionline_metadata?: (...) | (...);
                        warnings: (...)[];
                        workspace_id: string;
                    };
                    warnings: {
                        warning_code: (...) | (...);
                        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_ACCESS_METHOD";
                error: null;
                result: null;
                status: "pending";
            }
            | {
                action_attempt_id: string;
                action_type: "ENCODE_ACCESS_METHOD";
                error: null;
                result: {
                    access_method_id: string;
                    created_at: string;
                    display_name: string;
                    instant_key_url?: string;
                    is_card_encoding_required?: boolean;
                    issued_at?: string;
                    mode: "code" | "card" | "mobile_key";
                    workspace_id: string;
                };
                status: "success";
            }
            | {
                action_attempt_id: string;
                action_type: "ENCODE_ACCESS_METHOD";
                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: "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?: {
                        auto_join?: ...;
                        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"
                        | "latch_access";
                    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?: {
                        auto_join?: ...;
                        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"
                        | "latch_access";
                    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;
                };
                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: "SIMULATE_KEYPAD_CODE_ENTRY";
                error: null;
                result: null;
                status: "pending";
            }
            | {
                action_attempt_id: string;
                action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                error: null;
                result: {};
                status: "success";
            }
            | {
                action_attempt_id: string;
                action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                error: {
                    message: string;
                    type: string;
                };
                result: null;
                status: "error";
            }
            | {
                action_attempt_id: string;
                action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                error: null;
                result: null;
                status: "pending";
            }
            | {
                action_attempt_id: string;
                action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                error: null;
                result: {};
                status: "success";
            }
            | {
                action_attempt_id: string;
                action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                error: {
                    message: string;
                    type: string;
                };
                result: null;
                status: "error";
            }
            | {
                action_attempt_id: string;
                action_type: "PUSH_THERMOSTAT_PROGRAMS";
                error: null;
                result: null;
                status: "pending";
            }
            | {
                action_attempt_id: string;
                action_type: "PUSH_THERMOSTAT_PROGRAMS";
                error: null;
                result: {};
                status: "success";
            }
            | {
                action_attempt_id: string;
                action_type: "PUSH_THERMOSTAT_PROGRAMS";
                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";
            };
    }>, "action_attempt">, "action_attempt">)

      • (body?, options?): SeamHttpRequest<SetNonNullable<Required<{
            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: (...) | (...);
                            created_at: (...) | (...);
                            ends_at: (...) | (...);
                            is_issued: (...) | (...) | (...);
                            starts_at: (...) | (...);
                            visionline_metadata?: (...) | (...);
                        };
                        acs_credential_on_seam: null | {
                            access_method: (...) | (...) | (...);
                            acs_credential_id: string;
                            acs_credential_pool_id?: (...) | (...);
                            acs_system_id: string;
                            acs_user_id?: (...) | (...);
                            assa_abloy_vostio_metadata?: (...) | (...);
                            card_number?: (...) | (...) | (...);
                            code?: (...) | (...) | (...);
                            created_at: string;
                            display_name: string;
                            ends_at?: (...) | (...);
                            errors: (...)[];
                            external_type?:
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...);
                            external_type_display_name?: (...) | (...);
                            is_issued?: (...) | (...) | (...);
                            is_latest_desired_state_synced_with_provider?:
                                | (...)
                                | (...)
                                | (...)
                                | (...);
                            is_managed: true;
                            is_multi_phone_sync_credential?: (...) | (...) | (...);
                            is_one_time_use?: (...) | (...) | (...);
                            issued_at?: (...) | (...) | (...);
                            latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                            parent_acs_credential_id?: (...) | (...);
                            starts_at?: (...) | (...);
                            visionline_metadata?: (...) | (...);
                            warnings: (...)[];
                            workspace_id: string;
                        } | {
                            access_method: (...) | (...) | (...);
                            acs_credential_id: string;
                            acs_credential_pool_id?: (...) | (...);
                            acs_system_id: string;
                            acs_user_id?: (...) | (...);
                            assa_abloy_vostio_metadata?: (...) | (...);
                            card_number?: (...) | (...) | (...);
                            code?: (...) | (...) | (...);
                            created_at: string;
                            display_name: string;
                            ends_at?: (...) | (...);
                            errors: (...)[];
                            external_type?:
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...);
                            external_type_display_name?: (...) | (...);
                            is_issued?: (...) | (...) | (...);
                            is_latest_desired_state_synced_with_provider?:
                                | (...)
                                | (...)
                                | (...)
                                | (...);
                            is_managed: false;
                            is_multi_phone_sync_credential?: (...) | (...) | (...);
                            is_one_time_use?: (...) | (...) | (...);
                            issued_at?: (...) | (...) | (...);
                            latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                            parent_acs_credential_id?: (...) | (...);
                            starts_at?: (...) | (...);
                            visionline_metadata?: (...) | (...);
                            warnings: (...)[];
                            workspace_id: string;
                        };
                        warnings: {
                            warning_code: (...) | (...);
                            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_ACCESS_METHOD";
                    error: null;
                    result: null;
                    status: "pending";
                }
                | {
                    action_attempt_id: string;
                    action_type: "ENCODE_ACCESS_METHOD";
                    error: null;
                    result: {
                        access_method_id: string;
                        created_at: string;
                        display_name: string;
                        instant_key_url?: string;
                        is_card_encoding_required?: boolean;
                        issued_at?: string;
                        mode: "code" | "card" | "mobile_key";
                        workspace_id: string;
                    };
                    status: "success";
                }
                | {
                    action_attempt_id: string;
                    action_type: "ENCODE_ACCESS_METHOD";
                    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: "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?: {
                            auto_join?: ...;
                            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"
                            | "latch_access";
                        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?: {
                            auto_join?: ...;
                            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"
                            | "latch_access";
                        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;
                    };
                    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: "SIMULATE_KEYPAD_CODE_ENTRY";
                    error: null;
                    result: null;
                    status: "pending";
                }
                | {
                    action_attempt_id: string;
                    action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                    error: null;
                    result: {};
                    status: "success";
                }
                | {
                    action_attempt_id: string;
                    action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                    error: {
                        message: string;
                        type: string;
                    };
                    result: null;
                    status: "error";
                }
                | {
                    action_attempt_id: string;
                    action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                    error: null;
                    result: null;
                    status: "pending";
                }
                | {
                    action_attempt_id: string;
                    action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                    error: null;
                    result: {};
                    status: "success";
                }
                | {
                    action_attempt_id: string;
                    action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                    error: {
                        message: string;
                        type: string;
                    };
                    result: null;
                    status: "error";
                }
                | {
                    action_attempt_id: string;
                    action_type: "PUSH_THERMOSTAT_PROGRAMS";
                    error: null;
                    result: null;
                    status: "pending";
                }
                | {
                    action_attempt_id: string;
                    action_type: "PUSH_THERMOSTAT_PROGRAMS";
                    error: null;
                    result: {};
                    status: "success";
                }
                | {
                    action_attempt_id: string;
                    action_type: "PUSH_THERMOSTAT_PROGRAMS";
                    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";
                };
        }>, "action_attempt">, "action_attempt">
      • Parameters

        • Optionalbody: {
              acs_credential_id: string;
              acs_encoder_id: string;
          }
          • acs_credential_id: string

            ID of the acs_credential to encode onto a card.

          • acs_encoder_id: string

            ID of the acs_encoder to use to encode the acs_credential.

        • options: AcsEncodersEncodeCredentialOptions = {}

        Returns SeamHttpRequest<SetNonNullable<Required<{
            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: (...) | (...);
                            created_at: (...) | (...);
                            ends_at: (...) | (...);
                            is_issued: (...) | (...) | (...);
                            starts_at: (...) | (...);
                            visionline_metadata?: (...) | (...);
                        };
                        acs_credential_on_seam: null | {
                            access_method: (...) | (...) | (...);
                            acs_credential_id: string;
                            acs_credential_pool_id?: (...) | (...);
                            acs_system_id: string;
                            acs_user_id?: (...) | (...);
                            assa_abloy_vostio_metadata?: (...) | (...);
                            card_number?: (...) | (...) | (...);
                            code?: (...) | (...) | (...);
                            created_at: string;
                            display_name: string;
                            ends_at?: (...) | (...);
                            errors: (...)[];
                            external_type?:
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...);
                            external_type_display_name?: (...) | (...);
                            is_issued?: (...) | (...) | (...);
                            is_latest_desired_state_synced_with_provider?:
                                | (...)
                                | (...)
                                | (...)
                                | (...);
                            is_managed: true;
                            is_multi_phone_sync_credential?: (...) | (...) | (...);
                            is_one_time_use?: (...) | (...) | (...);
                            issued_at?: (...) | (...) | (...);
                            latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                            parent_acs_credential_id?: (...) | (...);
                            starts_at?: (...) | (...);
                            visionline_metadata?: (...) | (...);
                            warnings: (...)[];
                            workspace_id: string;
                        } | {
                            access_method: (...) | (...) | (...);
                            acs_credential_id: string;
                            acs_credential_pool_id?: (...) | (...);
                            acs_system_id: string;
                            acs_user_id?: (...) | (...);
                            assa_abloy_vostio_metadata?: (...) | (...);
                            card_number?: (...) | (...) | (...);
                            code?: (...) | (...) | (...);
                            created_at: string;
                            display_name: string;
                            ends_at?: (...) | (...);
                            errors: (...)[];
                            external_type?:
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...);
                            external_type_display_name?: (...) | (...);
                            is_issued?: (...) | (...) | (...);
                            is_latest_desired_state_synced_with_provider?:
                                | (...)
                                | (...)
                                | (...)
                                | (...);
                            is_managed: false;
                            is_multi_phone_sync_credential?: (...) | (...) | (...);
                            is_one_time_use?: (...) | (...) | (...);
                            issued_at?: (...) | (...) | (...);
                            latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                            parent_acs_credential_id?: (...) | (...);
                            starts_at?: (...) | (...);
                            visionline_metadata?: (...) | (...);
                            warnings: (...)[];
                            workspace_id: string;
                        };
                        warnings: {
                            warning_code: (...) | (...);
                            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_ACCESS_METHOD";
                    error: null;
                    result: null;
                    status: "pending";
                }
                | {
                    action_attempt_id: string;
                    action_type: "ENCODE_ACCESS_METHOD";
                    error: null;
                    result: {
                        access_method_id: string;
                        created_at: string;
                        display_name: string;
                        instant_key_url?: string;
                        is_card_encoding_required?: boolean;
                        issued_at?: string;
                        mode: "code" | "card" | "mobile_key";
                        workspace_id: string;
                    };
                    status: "success";
                }
                | {
                    action_attempt_id: string;
                    action_type: "ENCODE_ACCESS_METHOD";
                    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: "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?: {
                            auto_join?: ...;
                            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"
                            | "latch_access";
                        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?: {
                            auto_join?: ...;
                            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"
                            | "latch_access";
                        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;
                    };
                    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: "SIMULATE_KEYPAD_CODE_ENTRY";
                    error: null;
                    result: null;
                    status: "pending";
                }
                | {
                    action_attempt_id: string;
                    action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                    error: null;
                    result: {};
                    status: "success";
                }
                | {
                    action_attempt_id: string;
                    action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                    error: {
                        message: string;
                        type: string;
                    };
                    result: null;
                    status: "error";
                }
                | {
                    action_attempt_id: string;
                    action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                    error: null;
                    result: null;
                    status: "pending";
                }
                | {
                    action_attempt_id: string;
                    action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                    error: null;
                    result: {};
                    status: "success";
                }
                | {
                    action_attempt_id: string;
                    action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                    error: {
                        message: string;
                        type: string;
                    };
                    result: null;
                    status: "error";
                }
                | {
                    action_attempt_id: string;
                    action_type: "PUSH_THERMOSTAT_PROGRAMS";
                    error: null;
                    result: null;
                    status: "pending";
                }
                | {
                    action_attempt_id: string;
                    action_type: "PUSH_THERMOSTAT_PROGRAMS";
                    error: null;
                    result: {};
                    status: "success";
                }
                | {
                    action_attempt_id: string;
                    action_type: "PUSH_THERMOSTAT_PROGRAMS";
                    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";
                };
        }>, "action_attempt">, "action_attempt">

  • get /acs/encoders/get(): ((params?: {
        acs_encoder_id: string;
    }) => SeamHttpRequest<SetNonNullable<Required<{
        acs_encoder: {
            acs_encoder_id: string;
            acs_system_id: string;
            connected_account_id: string;
            created_at: string;
            display_name: string;
            errors: {
                created_at: string;
                error_code: "acs_encoder_removed";
                message: string;
            }[];
            workspace_id: string;
        };
    }>, "acs_encoder">, "acs_encoder">)
  • Returns ((params?: {
        acs_encoder_id: string;
    }) => SeamHttpRequest<SetNonNullable<Required<{
        acs_encoder: {
            acs_encoder_id: string;
            acs_system_id: string;
            connected_account_id: string;
            created_at: string;
            display_name: string;
            errors: {
                created_at: string;
                error_code: "acs_encoder_removed";
                message: string;
            }[];
            workspace_id: string;
        };
    }>, "acs_encoder">, "acs_encoder">)

      • (params?): SeamHttpRequest<SetNonNullable<Required<{
            acs_encoder: {
                acs_encoder_id: string;
                acs_system_id: string;
                connected_account_id: string;
                created_at: string;
                display_name: string;
                errors: {
                    created_at: string;
                    error_code: "acs_encoder_removed";
                    message: string;
                }[];
                workspace_id: string;
            };
        }>, "acs_encoder">, "acs_encoder">
      • Parameters

        • Optionalparams: {
              acs_encoder_id: string;
          }
          • acs_encoder_id: string

            ID of the encoder that you want to get.

        Returns SeamHttpRequest<SetNonNullable<Required<{
            acs_encoder: {
                acs_encoder_id: string;
                acs_system_id: string;
                connected_account_id: string;
                created_at: string;
                display_name: string;
                errors: {
                    created_at: string;
                    error_code: "acs_encoder_removed";
                    message: string;
                }[];
                workspace_id: string;
            };
        }>, "acs_encoder">, "acs_encoder">

  • get /acs/encoders/list(): ((params?: AcsEncodersListParams) => SeamHttpRequest<SetNonNullable<Required<{
        acs_encoders: {
            acs_encoder_id: string;
            acs_system_id: string;
            connected_account_id: string;
            created_at: string;
            display_name: string;
            errors: {
                created_at: string;
                error_code: "acs_encoder_removed";
                message: string;
            }[];
            workspace_id: string;
        }[];
    }>, "acs_encoders">, "acs_encoders">)
  • Returns ((params?: AcsEncodersListParams) => SeamHttpRequest<SetNonNullable<Required<{
        acs_encoders: {
            acs_encoder_id: string;
            acs_system_id: string;
            connected_account_id: string;
            created_at: string;
            display_name: string;
            errors: {
                created_at: string;
                error_code: "acs_encoder_removed";
                message: string;
            }[];
            workspace_id: string;
        }[];
    }>, "acs_encoders">, "acs_encoders">)

      • (params?): SeamHttpRequest<SetNonNullable<Required<{
            acs_encoders: {
                acs_encoder_id: string;
                acs_system_id: string;
                connected_account_id: string;
                created_at: string;
                display_name: string;
                errors: {
                    created_at: string;
                    error_code: "acs_encoder_removed";
                    message: string;
                }[];
                workspace_id: string;
            }[];
        }>, "acs_encoders">, "acs_encoders">
      • Parameters

        Returns SeamHttpRequest<SetNonNullable<Required<{
            acs_encoders: {
                acs_encoder_id: string;
                acs_system_id: string;
                connected_account_id: string;
                created_at: string;
                display_name: string;
                errors: {
                    created_at: string;
                    error_code: "acs_encoder_removed";
                    message: string;
                }[];
                workspace_id: string;
            }[];
        }>, "acs_encoders">, "acs_encoders">

  • get /acs/encoders/scan_credential(): ((body?: {
        acs_encoder_id: string;
    }, options?: AcsEncodersScanCredentialOptions) => SeamHttpRequest<SetNonNullable<Required<{
        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: (...) | (...);
                        created_at: (...) | (...);
                        ends_at: (...) | (...);
                        is_issued: (...) | (...) | (...);
                        starts_at: (...) | (...);
                        visionline_metadata?: (...) | (...);
                    };
                    acs_credential_on_seam: null | {
                        access_method: (...) | (...) | (...);
                        acs_credential_id: string;
                        acs_credential_pool_id?: (...) | (...);
                        acs_system_id: string;
                        acs_user_id?: (...) | (...);
                        assa_abloy_vostio_metadata?: (...) | (...);
                        card_number?: (...) | (...) | (...);
                        code?: (...) | (...) | (...);
                        created_at: string;
                        display_name: string;
                        ends_at?: (...) | (...);
                        errors: (...)[];
                        external_type?:
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                        external_type_display_name?: (...) | (...);
                        is_issued?: (...) | (...) | (...);
                        is_latest_desired_state_synced_with_provider?:
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                        is_managed: true;
                        is_multi_phone_sync_credential?: (...) | (...) | (...);
                        is_one_time_use?: (...) | (...) | (...);
                        issued_at?: (...) | (...) | (...);
                        latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                        parent_acs_credential_id?: (...) | (...);
                        starts_at?: (...) | (...);
                        visionline_metadata?: (...) | (...);
                        warnings: (...)[];
                        workspace_id: string;
                    } | {
                        access_method: (...) | (...) | (...);
                        acs_credential_id: string;
                        acs_credential_pool_id?: (...) | (...);
                        acs_system_id: string;
                        acs_user_id?: (...) | (...);
                        assa_abloy_vostio_metadata?: (...) | (...);
                        card_number?: (...) | (...) | (...);
                        code?: (...) | (...) | (...);
                        created_at: string;
                        display_name: string;
                        ends_at?: (...) | (...);
                        errors: (...)[];
                        external_type?:
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                        external_type_display_name?: (...) | (...);
                        is_issued?: (...) | (...) | (...);
                        is_latest_desired_state_synced_with_provider?:
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                        is_managed: false;
                        is_multi_phone_sync_credential?: (...) | (...) | (...);
                        is_one_time_use?: (...) | (...) | (...);
                        issued_at?: (...) | (...) | (...);
                        latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                        parent_acs_credential_id?: (...) | (...);
                        starts_at?: (...) | (...);
                        visionline_metadata?: (...) | (...);
                        warnings: (...)[];
                        workspace_id: string;
                    };
                    warnings: {
                        warning_code: (...) | (...);
                        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_ACCESS_METHOD";
                error: null;
                result: null;
                status: "pending";
            }
            | {
                action_attempt_id: string;
                action_type: "ENCODE_ACCESS_METHOD";
                error: null;
                result: {
                    access_method_id: string;
                    created_at: string;
                    display_name: string;
                    instant_key_url?: string;
                    is_card_encoding_required?: boolean;
                    issued_at?: string;
                    mode: "code" | "card" | "mobile_key";
                    workspace_id: string;
                };
                status: "success";
            }
            | {
                action_attempt_id: string;
                action_type: "ENCODE_ACCESS_METHOD";
                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: "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?: {
                        auto_join?: ...;
                        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"
                        | "latch_access";
                    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?: {
                        auto_join?: ...;
                        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"
                        | "latch_access";
                    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;
                };
                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: "SIMULATE_KEYPAD_CODE_ENTRY";
                error: null;
                result: null;
                status: "pending";
            }
            | {
                action_attempt_id: string;
                action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                error: null;
                result: {};
                status: "success";
            }
            | {
                action_attempt_id: string;
                action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                error: {
                    message: string;
                    type: string;
                };
                result: null;
                status: "error";
            }
            | {
                action_attempt_id: string;
                action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                error: null;
                result: null;
                status: "pending";
            }
            | {
                action_attempt_id: string;
                action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                error: null;
                result: {};
                status: "success";
            }
            | {
                action_attempt_id: string;
                action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                error: {
                    message: string;
                    type: string;
                };
                result: null;
                status: "error";
            }
            | {
                action_attempt_id: string;
                action_type: "PUSH_THERMOSTAT_PROGRAMS";
                error: null;
                result: null;
                status: "pending";
            }
            | {
                action_attempt_id: string;
                action_type: "PUSH_THERMOSTAT_PROGRAMS";
                error: null;
                result: {};
                status: "success";
            }
            | {
                action_attempt_id: string;
                action_type: "PUSH_THERMOSTAT_PROGRAMS";
                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";
            };
    }>, "action_attempt">, "action_attempt">)
  • Returns ((body?: {
        acs_encoder_id: string;
    }, options?: AcsEncodersScanCredentialOptions) => SeamHttpRequest<SetNonNullable<Required<{
        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: (...) | (...);
                        created_at: (...) | (...);
                        ends_at: (...) | (...);
                        is_issued: (...) | (...) | (...);
                        starts_at: (...) | (...);
                        visionline_metadata?: (...) | (...);
                    };
                    acs_credential_on_seam: null | {
                        access_method: (...) | (...) | (...);
                        acs_credential_id: string;
                        acs_credential_pool_id?: (...) | (...);
                        acs_system_id: string;
                        acs_user_id?: (...) | (...);
                        assa_abloy_vostio_metadata?: (...) | (...);
                        card_number?: (...) | (...) | (...);
                        code?: (...) | (...) | (...);
                        created_at: string;
                        display_name: string;
                        ends_at?: (...) | (...);
                        errors: (...)[];
                        external_type?:
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                        external_type_display_name?: (...) | (...);
                        is_issued?: (...) | (...) | (...);
                        is_latest_desired_state_synced_with_provider?:
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                        is_managed: true;
                        is_multi_phone_sync_credential?: (...) | (...) | (...);
                        is_one_time_use?: (...) | (...) | (...);
                        issued_at?: (...) | (...) | (...);
                        latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                        parent_acs_credential_id?: (...) | (...);
                        starts_at?: (...) | (...);
                        visionline_metadata?: (...) | (...);
                        warnings: (...)[];
                        workspace_id: string;
                    } | {
                        access_method: (...) | (...) | (...);
                        acs_credential_id: string;
                        acs_credential_pool_id?: (...) | (...);
                        acs_system_id: string;
                        acs_user_id?: (...) | (...);
                        assa_abloy_vostio_metadata?: (...) | (...);
                        card_number?: (...) | (...) | (...);
                        code?: (...) | (...) | (...);
                        created_at: string;
                        display_name: string;
                        ends_at?: (...) | (...);
                        errors: (...)[];
                        external_type?:
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                        external_type_display_name?: (...) | (...);
                        is_issued?: (...) | (...) | (...);
                        is_latest_desired_state_synced_with_provider?:
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                        is_managed: false;
                        is_multi_phone_sync_credential?: (...) | (...) | (...);
                        is_one_time_use?: (...) | (...) | (...);
                        issued_at?: (...) | (...) | (...);
                        latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                        parent_acs_credential_id?: (...) | (...);
                        starts_at?: (...) | (...);
                        visionline_metadata?: (...) | (...);
                        warnings: (...)[];
                        workspace_id: string;
                    };
                    warnings: {
                        warning_code: (...) | (...);
                        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_ACCESS_METHOD";
                error: null;
                result: null;
                status: "pending";
            }
            | {
                action_attempt_id: string;
                action_type: "ENCODE_ACCESS_METHOD";
                error: null;
                result: {
                    access_method_id: string;
                    created_at: string;
                    display_name: string;
                    instant_key_url?: string;
                    is_card_encoding_required?: boolean;
                    issued_at?: string;
                    mode: "code" | "card" | "mobile_key";
                    workspace_id: string;
                };
                status: "success";
            }
            | {
                action_attempt_id: string;
                action_type: "ENCODE_ACCESS_METHOD";
                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: "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?: {
                        auto_join?: ...;
                        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"
                        | "latch_access";
                    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?: {
                        auto_join?: ...;
                        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"
                        | "latch_access";
                    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;
                };
                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: "SIMULATE_KEYPAD_CODE_ENTRY";
                error: null;
                result: null;
                status: "pending";
            }
            | {
                action_attempt_id: string;
                action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                error: null;
                result: {};
                status: "success";
            }
            | {
                action_attempt_id: string;
                action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                error: {
                    message: string;
                    type: string;
                };
                result: null;
                status: "error";
            }
            | {
                action_attempt_id: string;
                action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                error: null;
                result: null;
                status: "pending";
            }
            | {
                action_attempt_id: string;
                action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                error: null;
                result: {};
                status: "success";
            }
            | {
                action_attempt_id: string;
                action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                error: {
                    message: string;
                    type: string;
                };
                result: null;
                status: "error";
            }
            | {
                action_attempt_id: string;
                action_type: "PUSH_THERMOSTAT_PROGRAMS";
                error: null;
                result: null;
                status: "pending";
            }
            | {
                action_attempt_id: string;
                action_type: "PUSH_THERMOSTAT_PROGRAMS";
                error: null;
                result: {};
                status: "success";
            }
            | {
                action_attempt_id: string;
                action_type: "PUSH_THERMOSTAT_PROGRAMS";
                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";
            };
    }>, "action_attempt">, "action_attempt">)

      • (body?, options?): SeamHttpRequest<SetNonNullable<Required<{
            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: (...) | (...);
                            created_at: (...) | (...);
                            ends_at: (...) | (...);
                            is_issued: (...) | (...) | (...);
                            starts_at: (...) | (...);
                            visionline_metadata?: (...) | (...);
                        };
                        acs_credential_on_seam: null | {
                            access_method: (...) | (...) | (...);
                            acs_credential_id: string;
                            acs_credential_pool_id?: (...) | (...);
                            acs_system_id: string;
                            acs_user_id?: (...) | (...);
                            assa_abloy_vostio_metadata?: (...) | (...);
                            card_number?: (...) | (...) | (...);
                            code?: (...) | (...) | (...);
                            created_at: string;
                            display_name: string;
                            ends_at?: (...) | (...);
                            errors: (...)[];
                            external_type?:
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...);
                            external_type_display_name?: (...) | (...);
                            is_issued?: (...) | (...) | (...);
                            is_latest_desired_state_synced_with_provider?:
                                | (...)
                                | (...)
                                | (...)
                                | (...);
                            is_managed: true;
                            is_multi_phone_sync_credential?: (...) | (...) | (...);
                            is_one_time_use?: (...) | (...) | (...);
                            issued_at?: (...) | (...) | (...);
                            latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                            parent_acs_credential_id?: (...) | (...);
                            starts_at?: (...) | (...);
                            visionline_metadata?: (...) | (...);
                            warnings: (...)[];
                            workspace_id: string;
                        } | {
                            access_method: (...) | (...) | (...);
                            acs_credential_id: string;
                            acs_credential_pool_id?: (...) | (...);
                            acs_system_id: string;
                            acs_user_id?: (...) | (...);
                            assa_abloy_vostio_metadata?: (...) | (...);
                            card_number?: (...) | (...) | (...);
                            code?: (...) | (...) | (...);
                            created_at: string;
                            display_name: string;
                            ends_at?: (...) | (...);
                            errors: (...)[];
                            external_type?:
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...);
                            external_type_display_name?: (...) | (...);
                            is_issued?: (...) | (...) | (...);
                            is_latest_desired_state_synced_with_provider?:
                                | (...)
                                | (...)
                                | (...)
                                | (...);
                            is_managed: false;
                            is_multi_phone_sync_credential?: (...) | (...) | (...);
                            is_one_time_use?: (...) | (...) | (...);
                            issued_at?: (...) | (...) | (...);
                            latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                            parent_acs_credential_id?: (...) | (...);
                            starts_at?: (...) | (...);
                            visionline_metadata?: (...) | (...);
                            warnings: (...)[];
                            workspace_id: string;
                        };
                        warnings: {
                            warning_code: (...) | (...);
                            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_ACCESS_METHOD";
                    error: null;
                    result: null;
                    status: "pending";
                }
                | {
                    action_attempt_id: string;
                    action_type: "ENCODE_ACCESS_METHOD";
                    error: null;
                    result: {
                        access_method_id: string;
                        created_at: string;
                        display_name: string;
                        instant_key_url?: string;
                        is_card_encoding_required?: boolean;
                        issued_at?: string;
                        mode: "code" | "card" | "mobile_key";
                        workspace_id: string;
                    };
                    status: "success";
                }
                | {
                    action_attempt_id: string;
                    action_type: "ENCODE_ACCESS_METHOD";
                    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: "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?: {
                            auto_join?: ...;
                            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"
                            | "latch_access";
                        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?: {
                            auto_join?: ...;
                            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"
                            | "latch_access";
                        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;
                    };
                    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: "SIMULATE_KEYPAD_CODE_ENTRY";
                    error: null;
                    result: null;
                    status: "pending";
                }
                | {
                    action_attempt_id: string;
                    action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                    error: null;
                    result: {};
                    status: "success";
                }
                | {
                    action_attempt_id: string;
                    action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                    error: {
                        message: string;
                        type: string;
                    };
                    result: null;
                    status: "error";
                }
                | {
                    action_attempt_id: string;
                    action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                    error: null;
                    result: null;
                    status: "pending";
                }
                | {
                    action_attempt_id: string;
                    action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                    error: null;
                    result: {};
                    status: "success";
                }
                | {
                    action_attempt_id: string;
                    action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                    error: {
                        message: string;
                        type: string;
                    };
                    result: null;
                    status: "error";
                }
                | {
                    action_attempt_id: string;
                    action_type: "PUSH_THERMOSTAT_PROGRAMS";
                    error: null;
                    result: null;
                    status: "pending";
                }
                | {
                    action_attempt_id: string;
                    action_type: "PUSH_THERMOSTAT_PROGRAMS";
                    error: null;
                    result: {};
                    status: "success";
                }
                | {
                    action_attempt_id: string;
                    action_type: "PUSH_THERMOSTAT_PROGRAMS";
                    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";
                };
        }>, "action_attempt">, "action_attempt">
      • Parameters

        Returns SeamHttpRequest<SetNonNullable<Required<{
            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: (...) | (...);
                            created_at: (...) | (...);
                            ends_at: (...) | (...);
                            is_issued: (...) | (...) | (...);
                            starts_at: (...) | (...);
                            visionline_metadata?: (...) | (...);
                        };
                        acs_credential_on_seam: null | {
                            access_method: (...) | (...) | (...);
                            acs_credential_id: string;
                            acs_credential_pool_id?: (...) | (...);
                            acs_system_id: string;
                            acs_user_id?: (...) | (...);
                            assa_abloy_vostio_metadata?: (...) | (...);
                            card_number?: (...) | (...) | (...);
                            code?: (...) | (...) | (...);
                            created_at: string;
                            display_name: string;
                            ends_at?: (...) | (...);
                            errors: (...)[];
                            external_type?:
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...);
                            external_type_display_name?: (...) | (...);
                            is_issued?: (...) | (...) | (...);
                            is_latest_desired_state_synced_with_provider?:
                                | (...)
                                | (...)
                                | (...)
                                | (...);
                            is_managed: true;
                            is_multi_phone_sync_credential?: (...) | (...) | (...);
                            is_one_time_use?: (...) | (...) | (...);
                            issued_at?: (...) | (...) | (...);
                            latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                            parent_acs_credential_id?: (...) | (...);
                            starts_at?: (...) | (...);
                            visionline_metadata?: (...) | (...);
                            warnings: (...)[];
                            workspace_id: string;
                        } | {
                            access_method: (...) | (...) | (...);
                            acs_credential_id: string;
                            acs_credential_pool_id?: (...) | (...);
                            acs_system_id: string;
                            acs_user_id?: (...) | (...);
                            assa_abloy_vostio_metadata?: (...) | (...);
                            card_number?: (...) | (...) | (...);
                            code?: (...) | (...) | (...);
                            created_at: string;
                            display_name: string;
                            ends_at?: (...) | (...);
                            errors: (...)[];
                            external_type?:
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...);
                            external_type_display_name?: (...) | (...);
                            is_issued?: (...) | (...) | (...);
                            is_latest_desired_state_synced_with_provider?:
                                | (...)
                                | (...)
                                | (...)
                                | (...);
                            is_managed: false;
                            is_multi_phone_sync_credential?: (...) | (...) | (...);
                            is_one_time_use?: (...) | (...) | (...);
                            issued_at?: (...) | (...) | (...);
                            latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                            parent_acs_credential_id?: (...) | (...);
                            starts_at?: (...) | (...);
                            visionline_metadata?: (...) | (...);
                            warnings: (...)[];
                            workspace_id: string;
                        };
                        warnings: {
                            warning_code: (...) | (...);
                            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_ACCESS_METHOD";
                    error: null;
                    result: null;
                    status: "pending";
                }
                | {
                    action_attempt_id: string;
                    action_type: "ENCODE_ACCESS_METHOD";
                    error: null;
                    result: {
                        access_method_id: string;
                        created_at: string;
                        display_name: string;
                        instant_key_url?: string;
                        is_card_encoding_required?: boolean;
                        issued_at?: string;
                        mode: "code" | "card" | "mobile_key";
                        workspace_id: string;
                    };
                    status: "success";
                }
                | {
                    action_attempt_id: string;
                    action_type: "ENCODE_ACCESS_METHOD";
                    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: "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?: {
                            auto_join?: ...;
                            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"
                            | "latch_access";
                        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?: {
                            auto_join?: ...;
                            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"
                            | "latch_access";
                        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;
                    };
                    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: "SIMULATE_KEYPAD_CODE_ENTRY";
                    error: null;
                    result: null;
                    status: "pending";
                }
                | {
                    action_attempt_id: string;
                    action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                    error: null;
                    result: {};
                    status: "success";
                }
                | {
                    action_attempt_id: string;
                    action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                    error: {
                        message: string;
                        type: string;
                    };
                    result: null;
                    status: "error";
                }
                | {
                    action_attempt_id: string;
                    action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                    error: null;
                    result: null;
                    status: "pending";
                }
                | {
                    action_attempt_id: string;
                    action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                    error: null;
                    result: {};
                    status: "success";
                }
                | {
                    action_attempt_id: string;
                    action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                    error: {
                        message: string;
                        type: string;
                    };
                    result: null;
                    status: "error";
                }
                | {
                    action_attempt_id: string;
                    action_type: "PUSH_THERMOSTAT_PROGRAMS";
                    error: null;
                    result: null;
                    status: "pending";
                }
                | {
                    action_attempt_id: string;
                    action_type: "PUSH_THERMOSTAT_PROGRAMS";
                    error: null;
                    result: {};
                    status: "success";
                }
                | {
                    action_attempt_id: string;
                    action_type: "PUSH_THERMOSTAT_PROGRAMS";
                    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";
                };
        }>, "action_attempt">, "action_attempt">

  • get /acs/encoders/simulate/next_credential_encode_will_succeed(): ((body?: {
        acs_encoder_id: string;
        scenario?: "credential_is_issued";
    }) => SeamHttpRequest<void, undefined>)
  • Returns ((body?: {
        acs_encoder_id: string;
        scenario?: "credential_is_issued";
    }) => SeamHttpRequest<void, undefined>)

      • (body?): SeamHttpRequest<void, undefined>
      • Parameters

        • Optionalbody: {
              acs_encoder_id: string;
              scenario?: "credential_is_issued";
          }
          • acs_encoder_id: string

            ID of the acs_encoder that will be used in the next request to encode the acs_credential.

          • Optionalscenario?: "credential_is_issued"

            Scenario to simulate.

        Returns SeamHttpRequest<void, undefined>

  • get /acs/entrances/get(): ((params?: {
        acs_entrance_id: string;
    }) => SeamHttpRequest<SetNonNullable<Required<{
        acs_entrance: {
            acs_entrance_id: string;
            acs_system_id: string;
            assa_abloy_vostio_metadata?: {
                door_name: string;
                door_number?: number;
                door_type:
                    | "CommonDoor"
                    | "EntranceDoor"
                    | "GuestDoor"
                    | "Elevator";
                pms_id?: string;
                stand_open?: boolean;
            };
            connected_account_id: string;
            created_at: string;
            display_name: string;
            dormakaba_community_metadata?: {
                access_point_name: string;
            };
            errors: {
                error_code: string;
                message: string;
            }[];
            latch_metadata?: {
                accessibility_type: string;
                door_name: string;
                door_type: string;
                is_connected: boolean;
            };
            salto_ks_metadata?: {
                battery_level: string;
                door_name: string;
                intrusion_alarm?: boolean;
                left_open_alarm?: boolean;
                lock_type: string;
                locked_state: string;
                online?: boolean;
                privacy_mode?: boolean;
            };
            salto_space_metadata?: {
                door_description?: string;
                door_name: string;
                ext_door_id: string;
            };
            visionline_metadata?: {
                door_category:
                    | "common"
                    | "guest"
                    | "entrance"
                    | "elevator reader"
                    | "common (PMS)";
                door_name: string;
                profiles?: {
                    visionline_door_profile_id: ...;
                    visionline_door_profile_type: ...;
                }[];
            };
        };
    }>, "acs_entrance">, "acs_entrance">)
  • Returns ((params?: {
        acs_entrance_id: string;
    }) => SeamHttpRequest<SetNonNullable<Required<{
        acs_entrance: {
            acs_entrance_id: string;
            acs_system_id: string;
            assa_abloy_vostio_metadata?: {
                door_name: string;
                door_number?: number;
                door_type:
                    | "CommonDoor"
                    | "EntranceDoor"
                    | "GuestDoor"
                    | "Elevator";
                pms_id?: string;
                stand_open?: boolean;
            };
            connected_account_id: string;
            created_at: string;
            display_name: string;
            dormakaba_community_metadata?: {
                access_point_name: string;
            };
            errors: {
                error_code: string;
                message: string;
            }[];
            latch_metadata?: {
                accessibility_type: string;
                door_name: string;
                door_type: string;
                is_connected: boolean;
            };
            salto_ks_metadata?: {
                battery_level: string;
                door_name: string;
                intrusion_alarm?: boolean;
                left_open_alarm?: boolean;
                lock_type: string;
                locked_state: string;
                online?: boolean;
                privacy_mode?: boolean;
            };
            salto_space_metadata?: {
                door_description?: string;
                door_name: string;
                ext_door_id: string;
            };
            visionline_metadata?: {
                door_category:
                    | "common"
                    | "guest"
                    | "entrance"
                    | "elevator reader"
                    | "common (PMS)";
                door_name: string;
                profiles?: {
                    visionline_door_profile_id: ...;
                    visionline_door_profile_type: ...;
                }[];
            };
        };
    }>, "acs_entrance">, "acs_entrance">)

      • (params?): SeamHttpRequest<SetNonNullable<Required<{
            acs_entrance: {
                acs_entrance_id: string;
                acs_system_id: string;
                assa_abloy_vostio_metadata?: {
                    door_name: string;
                    door_number?: number;
                    door_type:
                        | "CommonDoor"
                        | "EntranceDoor"
                        | "GuestDoor"
                        | "Elevator";
                    pms_id?: string;
                    stand_open?: boolean;
                };
                connected_account_id: string;
                created_at: string;
                display_name: string;
                dormakaba_community_metadata?: {
                    access_point_name: string;
                };
                errors: {
                    error_code: string;
                    message: string;
                }[];
                latch_metadata?: {
                    accessibility_type: string;
                    door_name: string;
                    door_type: string;
                    is_connected: boolean;
                };
                salto_ks_metadata?: {
                    battery_level: string;
                    door_name: string;
                    intrusion_alarm?: boolean;
                    left_open_alarm?: boolean;
                    lock_type: string;
                    locked_state: string;
                    online?: boolean;
                    privacy_mode?: boolean;
                };
                salto_space_metadata?: {
                    door_description?: string;
                    door_name: string;
                    ext_door_id: string;
                };
                visionline_metadata?: {
                    door_category:
                        | "common"
                        | "guest"
                        | "entrance"
                        | "elevator reader"
                        | "common (PMS)";
                    door_name: string;
                    profiles?: {
                        visionline_door_profile_id: ...;
                        visionline_door_profile_type: ...;
                    }[];
                };
            };
        }>, "acs_entrance">, "acs_entrance">
      • Parameters

        • Optionalparams: {
              acs_entrance_id: string;
          }
          • acs_entrance_id: string

            ID of the entrance that you want to get.

        Returns SeamHttpRequest<SetNonNullable<Required<{
            acs_entrance: {
                acs_entrance_id: string;
                acs_system_id: string;
                assa_abloy_vostio_metadata?: {
                    door_name: string;
                    door_number?: number;
                    door_type:
                        | "CommonDoor"
                        | "EntranceDoor"
                        | "GuestDoor"
                        | "Elevator";
                    pms_id?: string;
                    stand_open?: boolean;
                };
                connected_account_id: string;
                created_at: string;
                display_name: string;
                dormakaba_community_metadata?: {
                    access_point_name: string;
                };
                errors: {
                    error_code: string;
                    message: string;
                }[];
                latch_metadata?: {
                    accessibility_type: string;
                    door_name: string;
                    door_type: string;
                    is_connected: boolean;
                };
                salto_ks_metadata?: {
                    battery_level: string;
                    door_name: string;
                    intrusion_alarm?: boolean;
                    left_open_alarm?: boolean;
                    lock_type: string;
                    locked_state: string;
                    online?: boolean;
                    privacy_mode?: boolean;
                };
                salto_space_metadata?: {
                    door_description?: string;
                    door_name: string;
                    ext_door_id: string;
                };
                visionline_metadata?: {
                    door_category:
                        | "common"
                        | "guest"
                        | "entrance"
                        | "elevator reader"
                        | "common (PMS)";
                    door_name: string;
                    profiles?: {
                        visionline_door_profile_id: ...;
                        visionline_door_profile_type: ...;
                    }[];
                };
            };
        }>, "acs_entrance">, "acs_entrance">

  • get /acs/entrances/grant_access(): ((body?: {
        acs_entrance_id: string;
        acs_user_id?: string;
        user_identity_id?: string;
    }) => SeamHttpRequest<void, undefined>)
  • Returns ((body?: {
        acs_entrance_id: string;
        acs_user_id?: string;
        user_identity_id?: string;
    }) => SeamHttpRequest<void, undefined>)

      • (body?): SeamHttpRequest<void, undefined>
      • Parameters

        • Optionalbody: {
              acs_entrance_id: string;
              acs_user_id?: string;
              user_identity_id?: string;
          }
          • acs_entrance_id: string

            ID of the entrance to which you want to grant an access system user access.

          • Optionalacs_user_id?: string

            ID of the access system user to whom you want to grant access to an entrance. You can only provide one of acs_user_id or user_identity_id.

          • Optionaluser_identity_id?: string

            ID of the user identity to whom you want to grant access to an entrance. You can only provide one of acs_user_id or user_identity_id. If the ACS system contains an ACS user with the same email_address or phone_number as the user identity that you specify, they are linked, and the access group membership belongs to the ACS user. If the ACS system does not have a corresponding ACS user, one is created.

        Returns SeamHttpRequest<void, undefined>

  • get /acs/entrances/list(): ((params?: {
        access_grant_id?: string;
        access_method_id?: string;
        acs_credential_id?: string;
        acs_system_id?: string;
        location_id?: null | string;
        space_id?: string;
    }) => SeamHttpRequest<SetNonNullable<Required<{
        acs_entrances: {
            acs_entrance_id: string;
            acs_system_id: string;
            assa_abloy_vostio_metadata?: {
                door_name: string;
                door_number?: number;
                door_type:
                    | "CommonDoor"
                    | "EntranceDoor"
                    | "GuestDoor"
                    | "Elevator";
                pms_id?: string;
                stand_open?: boolean;
            };
            connected_account_id: string;
            created_at: string;
            display_name: string;
            dormakaba_community_metadata?: {
                access_point_name: string;
            };
            errors: {
                error_code: string;
                message: string;
            }[];
            latch_metadata?: {
                accessibility_type: string;
                door_name: string;
                door_type: string;
                is_connected: boolean;
            };
            salto_ks_metadata?: {
                battery_level: string;
                door_name: string;
                intrusion_alarm?: boolean;
                left_open_alarm?: boolean;
                lock_type: string;
                locked_state: string;
                online?: boolean;
                privacy_mode?: boolean;
            };
            salto_space_metadata?: {
                door_description?: string;
                door_name: string;
                ext_door_id: string;
            };
            visionline_metadata?: {
                door_category:
                    | "common"
                    | "guest"
                    | "entrance"
                    | "elevator reader"
                    | "common (PMS)";
                door_name: string;
                profiles?: (...)[];
            };
        }[];
    }>, "acs_entrances">, "acs_entrances">)
  • Returns ((params?: {
        access_grant_id?: string;
        access_method_id?: string;
        acs_credential_id?: string;
        acs_system_id?: string;
        location_id?: null | string;
        space_id?: string;
    }) => SeamHttpRequest<SetNonNullable<Required<{
        acs_entrances: {
            acs_entrance_id: string;
            acs_system_id: string;
            assa_abloy_vostio_metadata?: {
                door_name: string;
                door_number?: number;
                door_type:
                    | "CommonDoor"
                    | "EntranceDoor"
                    | "GuestDoor"
                    | "Elevator";
                pms_id?: string;
                stand_open?: boolean;
            };
            connected_account_id: string;
            created_at: string;
            display_name: string;
            dormakaba_community_metadata?: {
                access_point_name: string;
            };
            errors: {
                error_code: string;
                message: string;
            }[];
            latch_metadata?: {
                accessibility_type: string;
                door_name: string;
                door_type: string;
                is_connected: boolean;
            };
            salto_ks_metadata?: {
                battery_level: string;
                door_name: string;
                intrusion_alarm?: boolean;
                left_open_alarm?: boolean;
                lock_type: string;
                locked_state: string;
                online?: boolean;
                privacy_mode?: boolean;
            };
            salto_space_metadata?: {
                door_description?: string;
                door_name: string;
                ext_door_id: string;
            };
            visionline_metadata?: {
                door_category:
                    | "common"
                    | "guest"
                    | "entrance"
                    | "elevator reader"
                    | "common (PMS)";
                door_name: string;
                profiles?: (...)[];
            };
        }[];
    }>, "acs_entrances">, "acs_entrances">)

      • (params?): SeamHttpRequest<SetNonNullable<Required<{
            acs_entrances: {
                acs_entrance_id: string;
                acs_system_id: string;
                assa_abloy_vostio_metadata?: {
                    door_name: string;
                    door_number?: number;
                    door_type:
                        | "CommonDoor"
                        | "EntranceDoor"
                        | "GuestDoor"
                        | "Elevator";
                    pms_id?: string;
                    stand_open?: boolean;
                };
                connected_account_id: string;
                created_at: string;
                display_name: string;
                dormakaba_community_metadata?: {
                    access_point_name: string;
                };
                errors: {
                    error_code: string;
                    message: string;
                }[];
                latch_metadata?: {
                    accessibility_type: string;
                    door_name: string;
                    door_type: string;
                    is_connected: boolean;
                };
                salto_ks_metadata?: {
                    battery_level: string;
                    door_name: string;
                    intrusion_alarm?: boolean;
                    left_open_alarm?: boolean;
                    lock_type: string;
                    locked_state: string;
                    online?: boolean;
                    privacy_mode?: boolean;
                };
                salto_space_metadata?: {
                    door_description?: string;
                    door_name: string;
                    ext_door_id: string;
                };
                visionline_metadata?: {
                    door_category:
                        | "common"
                        | "guest"
                        | "entrance"
                        | "elevator reader"
                        | "common (PMS)";
                    door_name: string;
                    profiles?: (...)[];
                };
            }[];
        }>, "acs_entrances">, "acs_entrances">
      • Parameters

        • Optionalparams: {
              access_grant_id?: string;
              access_method_id?: string;
              acs_credential_id?: string;
              acs_system_id?: string;
              location_id?: null | string;
              space_id?: string;
          }
          • Optionalaccess_grant_id?: string

            ID of the access grant for which you want to retrieve all entrances.

          • Optionalaccess_method_id?: string

            ID of the access method for which you want to retrieve all entrances.

          • Optionalacs_credential_id?: string

            ID of the credential for which you want to retrieve all entrances.

          • Optionalacs_system_id?: string

            ID of the access system for which you want to retrieve all entrances.

          • Optionallocation_id?: null | string

            Use space_id.

          • Optionalspace_id?: string

            ID of the space for which you want to list entrances.

        Returns SeamHttpRequest<SetNonNullable<Required<{
            acs_entrances: {
                acs_entrance_id: string;
                acs_system_id: string;
                assa_abloy_vostio_metadata?: {
                    door_name: string;
                    door_number?: number;
                    door_type:
                        | "CommonDoor"
                        | "EntranceDoor"
                        | "GuestDoor"
                        | "Elevator";
                    pms_id?: string;
                    stand_open?: boolean;
                };
                connected_account_id: string;
                created_at: string;
                display_name: string;
                dormakaba_community_metadata?: {
                    access_point_name: string;
                };
                errors: {
                    error_code: string;
                    message: string;
                }[];
                latch_metadata?: {
                    accessibility_type: string;
                    door_name: string;
                    door_type: string;
                    is_connected: boolean;
                };
                salto_ks_metadata?: {
                    battery_level: string;
                    door_name: string;
                    intrusion_alarm?: boolean;
                    left_open_alarm?: boolean;
                    lock_type: string;
                    locked_state: string;
                    online?: boolean;
                    privacy_mode?: boolean;
                };
                salto_space_metadata?: {
                    door_description?: string;
                    door_name: string;
                    ext_door_id: string;
                };
                visionline_metadata?: {
                    door_category:
                        | "common"
                        | "guest"
                        | "entrance"
                        | "elevator reader"
                        | "common (PMS)";
                    door_name: string;
                    profiles?: (...)[];
                };
            }[];
        }>, "acs_entrances">, "acs_entrances">

  • get /acs/entrances/list_credentials_with_access(): ((params?: {
        acs_entrance_id: string;
        include_if?: "visionline_metadata.is_valid"[];
    }) => SeamHttpRequest<SetNonNullable<Required<{
        acs_credentials: {
            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?: {
                auto_join?: boolean;
                door_names?: (...)[];
                endpoint_id?: string;
                key_id?: string;
                key_issuing_request_id?: string;
                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"
                | "latch_access";
            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?: boolean;
                card_function_type: "guest" | "staff";
                card_id?: string;
                common_acs_entrance_ids?: (...)[];
                credential_id?: string;
                guest_acs_entrance_ids?: (...)[];
                is_valid?: boolean;
                joiner_acs_credential_ids?: (...)[];
            };
            warnings: (
                | {
                    created_at: string;
                    message: string;
                    warning_code: "waiting_to_be_issued";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "schedule_externally_modified";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "schedule_modified";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "being_deleted";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "unknown_issue_with_acs_credential";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "needs_to_be_reissued";
                })[];
            workspace_id: string;
        }[];
    }>, "acs_credentials">, "acs_credentials">)
  • Returns ((params?: {
        acs_entrance_id: string;
        include_if?: "visionline_metadata.is_valid"[];
    }) => SeamHttpRequest<SetNonNullable<Required<{
        acs_credentials: {
            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?: {
                auto_join?: boolean;
                door_names?: (...)[];
                endpoint_id?: string;
                key_id?: string;
                key_issuing_request_id?: string;
                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"
                | "latch_access";
            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?: boolean;
                card_function_type: "guest" | "staff";
                card_id?: string;
                common_acs_entrance_ids?: (...)[];
                credential_id?: string;
                guest_acs_entrance_ids?: (...)[];
                is_valid?: boolean;
                joiner_acs_credential_ids?: (...)[];
            };
            warnings: (
                | {
                    created_at: string;
                    message: string;
                    warning_code: "waiting_to_be_issued";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "schedule_externally_modified";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "schedule_modified";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "being_deleted";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "unknown_issue_with_acs_credential";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "needs_to_be_reissued";
                })[];
            workspace_id: string;
        }[];
    }>, "acs_credentials">, "acs_credentials">)

      • (params?): SeamHttpRequest<SetNonNullable<Required<{
            acs_credentials: {
                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?: {
                    auto_join?: boolean;
                    door_names?: (...)[];
                    endpoint_id?: string;
                    key_id?: string;
                    key_issuing_request_id?: string;
                    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"
                    | "latch_access";
                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?: boolean;
                    card_function_type: "guest" | "staff";
                    card_id?: string;
                    common_acs_entrance_ids?: (...)[];
                    credential_id?: string;
                    guest_acs_entrance_ids?: (...)[];
                    is_valid?: boolean;
                    joiner_acs_credential_ids?: (...)[];
                };
                warnings: (
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "waiting_to_be_issued";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "schedule_externally_modified";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "schedule_modified";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "being_deleted";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "unknown_issue_with_acs_credential";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "needs_to_be_reissued";
                    })[];
                workspace_id: string;
            }[];
        }>, "acs_credentials">, "acs_credentials">
      • Parameters

        • Optionalparams: {
              acs_entrance_id: string;
              include_if?: "visionline_metadata.is_valid"[];
          }
          • acs_entrance_id: string

            ID of the entrance for which you want to list all credentials that grant access.

          • Optionalinclude_if?: "visionline_metadata.is_valid"[]

            Conditions that credentials must meet to be included in the returned list.

        Returns SeamHttpRequest<SetNonNullable<Required<{
            acs_credentials: {
                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?: {
                    auto_join?: boolean;
                    door_names?: (...)[];
                    endpoint_id?: string;
                    key_id?: string;
                    key_issuing_request_id?: string;
                    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"
                    | "latch_access";
                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?: boolean;
                    card_function_type: "guest" | "staff";
                    card_id?: string;
                    common_acs_entrance_ids?: (...)[];
                    credential_id?: string;
                    guest_acs_entrance_ids?: (...)[];
                    is_valid?: boolean;
                    joiner_acs_credential_ids?: (...)[];
                };
                warnings: (
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "waiting_to_be_issued";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "schedule_externally_modified";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "schedule_modified";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "being_deleted";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "unknown_issue_with_acs_credential";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "needs_to_be_reissued";
                    })[];
                workspace_id: string;
            }[];
        }>, "acs_credentials">, "acs_credentials">

  • get /acs/systems/get(): ((params?: {
        acs_system_id: string;
    }) => SeamHttpRequest<SetNonNullable<Required<{
        acs_system: {
            acs_access_group_count?: number;
            acs_system_id: string;
            acs_user_count?: number;
            connected_account_id: string;
            connected_account_ids: string[];
            created_at: string;
            default_credential_manager_acs_system_id?: null | string;
            errors: (
                | {
                    created_at: string;
                    error_code: "seam_bridge_disconnected";
                    message: string;
                }
                | {
                    created_at: string;
                    error_code: "bridge_disconnected";
                    is_bridge_error?: boolean;
                    message: string;
                }
                | {
                    created_at: string;
                    error_code: "visionline_instance_unreachable";
                    message: string;
                }
                | {
                    created_at: string;
                    error_code: "salto_ks_subscription_limit_exceeded";
                    message: string;
                }
                | {
                    created_at: string;
                    error_code: "acs_system_disconnected";
                    message: string;
                }
                | {
                    created_at: string;
                    error_code: "account_disconnected";
                    message: string;
                }
                | {
                    created_at: string;
                    error_code: "salto_ks_certification_expired";
                    message: string;
                })[];
            external_type?:
                | "pti_site"
                | "alta_org"
                | "salto_ks_site"
                | "salto_space_system"
                | "brivo_account"
                | "hid_credential_manager_organization"
                | "visionline_system"
                | "assa_abloy_credential_service"
                | "latch_building"
                | "dormakaba_community_site"
                | "legic_connect_credential_service"
                | "assa_abloy_vostio"
                | "assa_abloy_vostio_credential_service";
            external_type_display_name?: string;
            image_alt_text: string;
            image_url: string;
            is_credential_manager: boolean;
            location: {
                time_zone: null | string;
            };
            name: string;
            system_type?:
                | "pti_site"
                | "alta_org"
                | "salto_ks_site"
                | "salto_space_system"
                | "brivo_account"
                | "hid_credential_manager_organization"
                | "visionline_system"
                | "assa_abloy_credential_service"
                | "latch_building"
                | "dormakaba_community_site"
                | "legic_connect_credential_service"
                | "assa_abloy_vostio"
                | "assa_abloy_vostio_credential_service";
            system_type_display_name?: string;
            visionline_metadata?: {
                lan_address: string;
                mobile_access_uuid: string;
                system_id: string;
            };
            warnings: ({
                created_at: string;
                message: string;
                warning_code: "salto_ks_subscription_limit_almost_reached";
            } | {
                created_at: string;
                message: string;
                misconfigured_acs_entrance_ids?: (...)[];
                warning_code: "time_zone_does_not_match_location";
            })[];
            workspace_id: string;
        };
    }>, "acs_system">, "acs_system">)
  • Returns ((params?: {
        acs_system_id: string;
    }) => SeamHttpRequest<SetNonNullable<Required<{
        acs_system: {
            acs_access_group_count?: number;
            acs_system_id: string;
            acs_user_count?: number;
            connected_account_id: string;
            connected_account_ids: string[];
            created_at: string;
            default_credential_manager_acs_system_id?: null | string;
            errors: (
                | {
                    created_at: string;
                    error_code: "seam_bridge_disconnected";
                    message: string;
                }
                | {
                    created_at: string;
                    error_code: "bridge_disconnected";
                    is_bridge_error?: boolean;
                    message: string;
                }
                | {
                    created_at: string;
                    error_code: "visionline_instance_unreachable";
                    message: string;
                }
                | {
                    created_at: string;
                    error_code: "salto_ks_subscription_limit_exceeded";
                    message: string;
                }
                | {
                    created_at: string;
                    error_code: "acs_system_disconnected";
                    message: string;
                }
                | {
                    created_at: string;
                    error_code: "account_disconnected";
                    message: string;
                }
                | {
                    created_at: string;
                    error_code: "salto_ks_certification_expired";
                    message: string;
                })[];
            external_type?:
                | "pti_site"
                | "alta_org"
                | "salto_ks_site"
                | "salto_space_system"
                | "brivo_account"
                | "hid_credential_manager_organization"
                | "visionline_system"
                | "assa_abloy_credential_service"
                | "latch_building"
                | "dormakaba_community_site"
                | "legic_connect_credential_service"
                | "assa_abloy_vostio"
                | "assa_abloy_vostio_credential_service";
            external_type_display_name?: string;
            image_alt_text: string;
            image_url: string;
            is_credential_manager: boolean;
            location: {
                time_zone: null | string;
            };
            name: string;
            system_type?:
                | "pti_site"
                | "alta_org"
                | "salto_ks_site"
                | "salto_space_system"
                | "brivo_account"
                | "hid_credential_manager_organization"
                | "visionline_system"
                | "assa_abloy_credential_service"
                | "latch_building"
                | "dormakaba_community_site"
                | "legic_connect_credential_service"
                | "assa_abloy_vostio"
                | "assa_abloy_vostio_credential_service";
            system_type_display_name?: string;
            visionline_metadata?: {
                lan_address: string;
                mobile_access_uuid: string;
                system_id: string;
            };
            warnings: ({
                created_at: string;
                message: string;
                warning_code: "salto_ks_subscription_limit_almost_reached";
            } | {
                created_at: string;
                message: string;
                misconfigured_acs_entrance_ids?: (...)[];
                warning_code: "time_zone_does_not_match_location";
            })[];
            workspace_id: string;
        };
    }>, "acs_system">, "acs_system">)

      • (params?): SeamHttpRequest<SetNonNullable<Required<{
            acs_system: {
                acs_access_group_count?: number;
                acs_system_id: string;
                acs_user_count?: number;
                connected_account_id: string;
                connected_account_ids: string[];
                created_at: string;
                default_credential_manager_acs_system_id?: null | string;
                errors: (
                    | {
                        created_at: string;
                        error_code: "seam_bridge_disconnected";
                        message: string;
                    }
                    | {
                        created_at: string;
                        error_code: "bridge_disconnected";
                        is_bridge_error?: boolean;
                        message: string;
                    }
                    | {
                        created_at: string;
                        error_code: "visionline_instance_unreachable";
                        message: string;
                    }
                    | {
                        created_at: string;
                        error_code: "salto_ks_subscription_limit_exceeded";
                        message: string;
                    }
                    | {
                        created_at: string;
                        error_code: "acs_system_disconnected";
                        message: string;
                    }
                    | {
                        created_at: string;
                        error_code: "account_disconnected";
                        message: string;
                    }
                    | {
                        created_at: string;
                        error_code: "salto_ks_certification_expired";
                        message: string;
                    })[];
                external_type?:
                    | "pti_site"
                    | "alta_org"
                    | "salto_ks_site"
                    | "salto_space_system"
                    | "brivo_account"
                    | "hid_credential_manager_organization"
                    | "visionline_system"
                    | "assa_abloy_credential_service"
                    | "latch_building"
                    | "dormakaba_community_site"
                    | "legic_connect_credential_service"
                    | "assa_abloy_vostio"
                    | "assa_abloy_vostio_credential_service";
                external_type_display_name?: string;
                image_alt_text: string;
                image_url: string;
                is_credential_manager: boolean;
                location: {
                    time_zone: null | string;
                };
                name: string;
                system_type?:
                    | "pti_site"
                    | "alta_org"
                    | "salto_ks_site"
                    | "salto_space_system"
                    | "brivo_account"
                    | "hid_credential_manager_organization"
                    | "visionline_system"
                    | "assa_abloy_credential_service"
                    | "latch_building"
                    | "dormakaba_community_site"
                    | "legic_connect_credential_service"
                    | "assa_abloy_vostio"
                    | "assa_abloy_vostio_credential_service";
                system_type_display_name?: string;
                visionline_metadata?: {
                    lan_address: string;
                    mobile_access_uuid: string;
                    system_id: string;
                };
                warnings: ({
                    created_at: string;
                    message: string;
                    warning_code: "salto_ks_subscription_limit_almost_reached";
                } | {
                    created_at: string;
                    message: string;
                    misconfigured_acs_entrance_ids?: (...)[];
                    warning_code: "time_zone_does_not_match_location";
                })[];
                workspace_id: string;
            };
        }>, "acs_system">, "acs_system">
      • Parameters

        • Optionalparams: {
              acs_system_id: string;
          }
          • acs_system_id: string

            ID of the access system that you want to get.

        Returns SeamHttpRequest<SetNonNullable<Required<{
            acs_system: {
                acs_access_group_count?: number;
                acs_system_id: string;
                acs_user_count?: number;
                connected_account_id: string;
                connected_account_ids: string[];
                created_at: string;
                default_credential_manager_acs_system_id?: null | string;
                errors: (
                    | {
                        created_at: string;
                        error_code: "seam_bridge_disconnected";
                        message: string;
                    }
                    | {
                        created_at: string;
                        error_code: "bridge_disconnected";
                        is_bridge_error?: boolean;
                        message: string;
                    }
                    | {
                        created_at: string;
                        error_code: "visionline_instance_unreachable";
                        message: string;
                    }
                    | {
                        created_at: string;
                        error_code: "salto_ks_subscription_limit_exceeded";
                        message: string;
                    }
                    | {
                        created_at: string;
                        error_code: "acs_system_disconnected";
                        message: string;
                    }
                    | {
                        created_at: string;
                        error_code: "account_disconnected";
                        message: string;
                    }
                    | {
                        created_at: string;
                        error_code: "salto_ks_certification_expired";
                        message: string;
                    })[];
                external_type?:
                    | "pti_site"
                    | "alta_org"
                    | "salto_ks_site"
                    | "salto_space_system"
                    | "brivo_account"
                    | "hid_credential_manager_organization"
                    | "visionline_system"
                    | "assa_abloy_credential_service"
                    | "latch_building"
                    | "dormakaba_community_site"
                    | "legic_connect_credential_service"
                    | "assa_abloy_vostio"
                    | "assa_abloy_vostio_credential_service";
                external_type_display_name?: string;
                image_alt_text: string;
                image_url: string;
                is_credential_manager: boolean;
                location: {
                    time_zone: null | string;
                };
                name: string;
                system_type?:
                    | "pti_site"
                    | "alta_org"
                    | "salto_ks_site"
                    | "salto_space_system"
                    | "brivo_account"
                    | "hid_credential_manager_organization"
                    | "visionline_system"
                    | "assa_abloy_credential_service"
                    | "latch_building"
                    | "dormakaba_community_site"
                    | "legic_connect_credential_service"
                    | "assa_abloy_vostio"
                    | "assa_abloy_vostio_credential_service";
                system_type_display_name?: string;
                visionline_metadata?: {
                    lan_address: string;
                    mobile_access_uuid: string;
                    system_id: string;
                };
                warnings: ({
                    created_at: string;
                    message: string;
                    warning_code: "salto_ks_subscription_limit_almost_reached";
                } | {
                    created_at: string;
                    message: string;
                    misconfigured_acs_entrance_ids?: (...)[];
                    warning_code: "time_zone_does_not_match_location";
                })[];
                workspace_id: string;
            };
        }>, "acs_system">, "acs_system">

  • get /acs/systems/list(): ((params?: {
        connected_account_id?: string;
    }) => SeamHttpRequest<SetNonNullable<Required<{
        acs_systems: {
            acs_access_group_count?: number;
            acs_system_id: string;
            acs_user_count?: number;
            connected_account_id: string;
            connected_account_ids: string[];
            created_at: string;
            default_credential_manager_acs_system_id?: null | string;
            errors: (
                | {
                    created_at: string;
                    error_code: "seam_bridge_disconnected";
                    message: string;
                }
                | {
                    created_at: string;
                    error_code: "bridge_disconnected";
                    is_bridge_error?: (...) | (...) | (...);
                    message: string;
                }
                | {
                    created_at: string;
                    error_code: "visionline_instance_unreachable";
                    message: string;
                }
                | {
                    created_at: string;
                    error_code: "salto_ks_subscription_limit_exceeded";
                    message: string;
                }
                | {
                    created_at: string;
                    error_code: "acs_system_disconnected";
                    message: string;
                }
                | {
                    created_at: string;
                    error_code: "account_disconnected";
                    message: string;
                }
                | {
                    created_at: string;
                    error_code: "salto_ks_certification_expired";
                    message: string;
                })[];
            external_type?:
                | "pti_site"
                | "alta_org"
                | "salto_ks_site"
                | "salto_space_system"
                | "brivo_account"
                | "hid_credential_manager_organization"
                | "visionline_system"
                | "assa_abloy_credential_service"
                | "latch_building"
                | "dormakaba_community_site"
                | "legic_connect_credential_service"
                | "assa_abloy_vostio"
                | "assa_abloy_vostio_credential_service";
            external_type_display_name?: string;
            image_alt_text: string;
            image_url: string;
            is_credential_manager: boolean;
            location: {
                time_zone: null | string;
            };
            name: string;
            system_type?:
                | "pti_site"
                | "alta_org"
                | "salto_ks_site"
                | "salto_space_system"
                | "brivo_account"
                | "hid_credential_manager_organization"
                | "visionline_system"
                | "assa_abloy_credential_service"
                | "latch_building"
                | "dormakaba_community_site"
                | "legic_connect_credential_service"
                | "assa_abloy_vostio"
                | "assa_abloy_vostio_credential_service";
            system_type_display_name?: string;
            visionline_metadata?: {
                lan_address: string;
                mobile_access_uuid: string;
                system_id: string;
            };
            warnings: ({
                created_at: string;
                message: string;
                warning_code: "salto_ks_subscription_limit_almost_reached";
            } | {
                created_at: string;
                message: string;
                misconfigured_acs_entrance_ids?: (...) | (...);
                warning_code: "time_zone_does_not_match_location";
            })[];
            workspace_id: string;
        }[];
    }>, "acs_systems">, "acs_systems">)
  • Returns ((params?: {
        connected_account_id?: string;
    }) => SeamHttpRequest<SetNonNullable<Required<{
        acs_systems: {
            acs_access_group_count?: number;
            acs_system_id: string;
            acs_user_count?: number;
            connected_account_id: string;
            connected_account_ids: string[];
            created_at: string;
            default_credential_manager_acs_system_id?: null | string;
            errors: (
                | {
                    created_at: string;
                    error_code: "seam_bridge_disconnected";
                    message: string;
                }
                | {
                    created_at: string;
                    error_code: "bridge_disconnected";
                    is_bridge_error?: (...) | (...) | (...);
                    message: string;
                }
                | {
                    created_at: string;
                    error_code: "visionline_instance_unreachable";
                    message: string;
                }
                | {
                    created_at: string;
                    error_code: "salto_ks_subscription_limit_exceeded";
                    message: string;
                }
                | {
                    created_at: string;
                    error_code: "acs_system_disconnected";
                    message: string;
                }
                | {
                    created_at: string;
                    error_code: "account_disconnected";
                    message: string;
                }
                | {
                    created_at: string;
                    error_code: "salto_ks_certification_expired";
                    message: string;
                })[];
            external_type?:
                | "pti_site"
                | "alta_org"
                | "salto_ks_site"
                | "salto_space_system"
                | "brivo_account"
                | "hid_credential_manager_organization"
                | "visionline_system"
                | "assa_abloy_credential_service"
                | "latch_building"
                | "dormakaba_community_site"
                | "legic_connect_credential_service"
                | "assa_abloy_vostio"
                | "assa_abloy_vostio_credential_service";
            external_type_display_name?: string;
            image_alt_text: string;
            image_url: string;
            is_credential_manager: boolean;
            location: {
                time_zone: null | string;
            };
            name: string;
            system_type?:
                | "pti_site"
                | "alta_org"
                | "salto_ks_site"
                | "salto_space_system"
                | "brivo_account"
                | "hid_credential_manager_organization"
                | "visionline_system"
                | "assa_abloy_credential_service"
                | "latch_building"
                | "dormakaba_community_site"
                | "legic_connect_credential_service"
                | "assa_abloy_vostio"
                | "assa_abloy_vostio_credential_service";
            system_type_display_name?: string;
            visionline_metadata?: {
                lan_address: string;
                mobile_access_uuid: string;
                system_id: string;
            };
            warnings: ({
                created_at: string;
                message: string;
                warning_code: "salto_ks_subscription_limit_almost_reached";
            } | {
                created_at: string;
                message: string;
                misconfigured_acs_entrance_ids?: (...) | (...);
                warning_code: "time_zone_does_not_match_location";
            })[];
            workspace_id: string;
        }[];
    }>, "acs_systems">, "acs_systems">)

      • (params?): SeamHttpRequest<SetNonNullable<Required<{
            acs_systems: {
                acs_access_group_count?: number;
                acs_system_id: string;
                acs_user_count?: number;
                connected_account_id: string;
                connected_account_ids: string[];
                created_at: string;
                default_credential_manager_acs_system_id?: null | string;
                errors: (
                    | {
                        created_at: string;
                        error_code: "seam_bridge_disconnected";
                        message: string;
                    }
                    | {
                        created_at: string;
                        error_code: "bridge_disconnected";
                        is_bridge_error?: (...) | (...) | (...);
                        message: string;
                    }
                    | {
                        created_at: string;
                        error_code: "visionline_instance_unreachable";
                        message: string;
                    }
                    | {
                        created_at: string;
                        error_code: "salto_ks_subscription_limit_exceeded";
                        message: string;
                    }
                    | {
                        created_at: string;
                        error_code: "acs_system_disconnected";
                        message: string;
                    }
                    | {
                        created_at: string;
                        error_code: "account_disconnected";
                        message: string;
                    }
                    | {
                        created_at: string;
                        error_code: "salto_ks_certification_expired";
                        message: string;
                    })[];
                external_type?:
                    | "pti_site"
                    | "alta_org"
                    | "salto_ks_site"
                    | "salto_space_system"
                    | "brivo_account"
                    | "hid_credential_manager_organization"
                    | "visionline_system"
                    | "assa_abloy_credential_service"
                    | "latch_building"
                    | "dormakaba_community_site"
                    | "legic_connect_credential_service"
                    | "assa_abloy_vostio"
                    | "assa_abloy_vostio_credential_service";
                external_type_display_name?: string;
                image_alt_text: string;
                image_url: string;
                is_credential_manager: boolean;
                location: {
                    time_zone: null | string;
                };
                name: string;
                system_type?:
                    | "pti_site"
                    | "alta_org"
                    | "salto_ks_site"
                    | "salto_space_system"
                    | "brivo_account"
                    | "hid_credential_manager_organization"
                    | "visionline_system"
                    | "assa_abloy_credential_service"
                    | "latch_building"
                    | "dormakaba_community_site"
                    | "legic_connect_credential_service"
                    | "assa_abloy_vostio"
                    | "assa_abloy_vostio_credential_service";
                system_type_display_name?: string;
                visionline_metadata?: {
                    lan_address: string;
                    mobile_access_uuid: string;
                    system_id: string;
                };
                warnings: ({
                    created_at: string;
                    message: string;
                    warning_code: "salto_ks_subscription_limit_almost_reached";
                } | {
                    created_at: string;
                    message: string;
                    misconfigured_acs_entrance_ids?: (...) | (...);
                    warning_code: "time_zone_does_not_match_location";
                })[];
                workspace_id: string;
            }[];
        }>, "acs_systems">, "acs_systems">
      • Parameters

        • Optionalparams: {
              connected_account_id?: string;
          }
          • Optionalconnected_account_id?: string

            ID of the connected account by which you want to filter the list of access systems.

        Returns SeamHttpRequest<SetNonNullable<Required<{
            acs_systems: {
                acs_access_group_count?: number;
                acs_system_id: string;
                acs_user_count?: number;
                connected_account_id: string;
                connected_account_ids: string[];
                created_at: string;
                default_credential_manager_acs_system_id?: null | string;
                errors: (
                    | {
                        created_at: string;
                        error_code: "seam_bridge_disconnected";
                        message: string;
                    }
                    | {
                        created_at: string;
                        error_code: "bridge_disconnected";
                        is_bridge_error?: (...) | (...) | (...);
                        message: string;
                    }
                    | {
                        created_at: string;
                        error_code: "visionline_instance_unreachable";
                        message: string;
                    }
                    | {
                        created_at: string;
                        error_code: "salto_ks_subscription_limit_exceeded";
                        message: string;
                    }
                    | {
                        created_at: string;
                        error_code: "acs_system_disconnected";
                        message: string;
                    }
                    | {
                        created_at: string;
                        error_code: "account_disconnected";
                        message: string;
                    }
                    | {
                        created_at: string;
                        error_code: "salto_ks_certification_expired";
                        message: string;
                    })[];
                external_type?:
                    | "pti_site"
                    | "alta_org"
                    | "salto_ks_site"
                    | "salto_space_system"
                    | "brivo_account"
                    | "hid_credential_manager_organization"
                    | "visionline_system"
                    | "assa_abloy_credential_service"
                    | "latch_building"
                    | "dormakaba_community_site"
                    | "legic_connect_credential_service"
                    | "assa_abloy_vostio"
                    | "assa_abloy_vostio_credential_service";
                external_type_display_name?: string;
                image_alt_text: string;
                image_url: string;
                is_credential_manager: boolean;
                location: {
                    time_zone: null | string;
                };
                name: string;
                system_type?:
                    | "pti_site"
                    | "alta_org"
                    | "salto_ks_site"
                    | "salto_space_system"
                    | "brivo_account"
                    | "hid_credential_manager_organization"
                    | "visionline_system"
                    | "assa_abloy_credential_service"
                    | "latch_building"
                    | "dormakaba_community_site"
                    | "legic_connect_credential_service"
                    | "assa_abloy_vostio"
                    | "assa_abloy_vostio_credential_service";
                system_type_display_name?: string;
                visionline_metadata?: {
                    lan_address: string;
                    mobile_access_uuid: string;
                    system_id: string;
                };
                warnings: ({
                    created_at: string;
                    message: string;
                    warning_code: "salto_ks_subscription_limit_almost_reached";
                } | {
                    created_at: string;
                    message: string;
                    misconfigured_acs_entrance_ids?: (...) | (...);
                    warning_code: "time_zone_does_not_match_location";
                })[];
                workspace_id: string;
            }[];
        }>, "acs_systems">, "acs_systems">

  • get /acs/systems/list_compatible_credential_manager_acs_systems(): ((params?: {
        acs_system_id: string;
    }) => SeamHttpRequest<SetNonNullable<Required<{
        acs_systems: {
            acs_access_group_count?: number;
            acs_system_id: string;
            acs_user_count?: number;
            connected_account_id: string;
            connected_account_ids: string[];
            created_at: string;
            default_credential_manager_acs_system_id?: null | string;
            errors: (
                | {
                    created_at: string;
                    error_code: "seam_bridge_disconnected";
                    message: string;
                }
                | {
                    created_at: string;
                    error_code: "bridge_disconnected";
                    is_bridge_error?: (...) | (...) | (...);
                    message: string;
                }
                | {
                    created_at: string;
                    error_code: "visionline_instance_unreachable";
                    message: string;
                }
                | {
                    created_at: string;
                    error_code: "salto_ks_subscription_limit_exceeded";
                    message: string;
                }
                | {
                    created_at: string;
                    error_code: "acs_system_disconnected";
                    message: string;
                }
                | {
                    created_at: string;
                    error_code: "account_disconnected";
                    message: string;
                }
                | {
                    created_at: string;
                    error_code: "salto_ks_certification_expired";
                    message: string;
                })[];
            external_type?:
                | "pti_site"
                | "alta_org"
                | "salto_ks_site"
                | "salto_space_system"
                | "brivo_account"
                | "hid_credential_manager_organization"
                | "visionline_system"
                | "assa_abloy_credential_service"
                | "latch_building"
                | "dormakaba_community_site"
                | "legic_connect_credential_service"
                | "assa_abloy_vostio"
                | "assa_abloy_vostio_credential_service";
            external_type_display_name?: string;
            image_alt_text: string;
            image_url: string;
            is_credential_manager: boolean;
            location: {
                time_zone: null | string;
            };
            name: string;
            system_type?:
                | "pti_site"
                | "alta_org"
                | "salto_ks_site"
                | "salto_space_system"
                | "brivo_account"
                | "hid_credential_manager_organization"
                | "visionline_system"
                | "assa_abloy_credential_service"
                | "latch_building"
                | "dormakaba_community_site"
                | "legic_connect_credential_service"
                | "assa_abloy_vostio"
                | "assa_abloy_vostio_credential_service";
            system_type_display_name?: string;
            visionline_metadata?: {
                lan_address: string;
                mobile_access_uuid: string;
                system_id: string;
            };
            warnings: ({
                created_at: string;
                message: string;
                warning_code: "salto_ks_subscription_limit_almost_reached";
            } | {
                created_at: string;
                message: string;
                misconfigured_acs_entrance_ids?: (...) | (...);
                warning_code: "time_zone_does_not_match_location";
            })[];
            workspace_id: string;
        }[];
    }>, "acs_systems">, "acs_systems">)
  • Returns ((params?: {
        acs_system_id: string;
    }) => SeamHttpRequest<SetNonNullable<Required<{
        acs_systems: {
            acs_access_group_count?: number;
            acs_system_id: string;
            acs_user_count?: number;
            connected_account_id: string;
            connected_account_ids: string[];
            created_at: string;
            default_credential_manager_acs_system_id?: null | string;
            errors: (
                | {
                    created_at: string;
                    error_code: "seam_bridge_disconnected";
                    message: string;
                }
                | {
                    created_at: string;
                    error_code: "bridge_disconnected";
                    is_bridge_error?: (...) | (...) | (...);
                    message: string;
                }
                | {
                    created_at: string;
                    error_code: "visionline_instance_unreachable";
                    message: string;
                }
                | {
                    created_at: string;
                    error_code: "salto_ks_subscription_limit_exceeded";
                    message: string;
                }
                | {
                    created_at: string;
                    error_code: "acs_system_disconnected";
                    message: string;
                }
                | {
                    created_at: string;
                    error_code: "account_disconnected";
                    message: string;
                }
                | {
                    created_at: string;
                    error_code: "salto_ks_certification_expired";
                    message: string;
                })[];
            external_type?:
                | "pti_site"
                | "alta_org"
                | "salto_ks_site"
                | "salto_space_system"
                | "brivo_account"
                | "hid_credential_manager_organization"
                | "visionline_system"
                | "assa_abloy_credential_service"
                | "latch_building"
                | "dormakaba_community_site"
                | "legic_connect_credential_service"
                | "assa_abloy_vostio"
                | "assa_abloy_vostio_credential_service";
            external_type_display_name?: string;
            image_alt_text: string;
            image_url: string;
            is_credential_manager: boolean;
            location: {
                time_zone: null | string;
            };
            name: string;
            system_type?:
                | "pti_site"
                | "alta_org"
                | "salto_ks_site"
                | "salto_space_system"
                | "brivo_account"
                | "hid_credential_manager_organization"
                | "visionline_system"
                | "assa_abloy_credential_service"
                | "latch_building"
                | "dormakaba_community_site"
                | "legic_connect_credential_service"
                | "assa_abloy_vostio"
                | "assa_abloy_vostio_credential_service";
            system_type_display_name?: string;
            visionline_metadata?: {
                lan_address: string;
                mobile_access_uuid: string;
                system_id: string;
            };
            warnings: ({
                created_at: string;
                message: string;
                warning_code: "salto_ks_subscription_limit_almost_reached";
            } | {
                created_at: string;
                message: string;
                misconfigured_acs_entrance_ids?: (...) | (...);
                warning_code: "time_zone_does_not_match_location";
            })[];
            workspace_id: string;
        }[];
    }>, "acs_systems">, "acs_systems">)

      • (params?): SeamHttpRequest<SetNonNullable<Required<{
            acs_systems: {
                acs_access_group_count?: number;
                acs_system_id: string;
                acs_user_count?: number;
                connected_account_id: string;
                connected_account_ids: string[];
                created_at: string;
                default_credential_manager_acs_system_id?: null | string;
                errors: (
                    | {
                        created_at: string;
                        error_code: "seam_bridge_disconnected";
                        message: string;
                    }
                    | {
                        created_at: string;
                        error_code: "bridge_disconnected";
                        is_bridge_error?: (...) | (...) | (...);
                        message: string;
                    }
                    | {
                        created_at: string;
                        error_code: "visionline_instance_unreachable";
                        message: string;
                    }
                    | {
                        created_at: string;
                        error_code: "salto_ks_subscription_limit_exceeded";
                        message: string;
                    }
                    | {
                        created_at: string;
                        error_code: "acs_system_disconnected";
                        message: string;
                    }
                    | {
                        created_at: string;
                        error_code: "account_disconnected";
                        message: string;
                    }
                    | {
                        created_at: string;
                        error_code: "salto_ks_certification_expired";
                        message: string;
                    })[];
                external_type?:
                    | "pti_site"
                    | "alta_org"
                    | "salto_ks_site"
                    | "salto_space_system"
                    | "brivo_account"
                    | "hid_credential_manager_organization"
                    | "visionline_system"
                    | "assa_abloy_credential_service"
                    | "latch_building"
                    | "dormakaba_community_site"
                    | "legic_connect_credential_service"
                    | "assa_abloy_vostio"
                    | "assa_abloy_vostio_credential_service";
                external_type_display_name?: string;
                image_alt_text: string;
                image_url: string;
                is_credential_manager: boolean;
                location: {
                    time_zone: null | string;
                };
                name: string;
                system_type?:
                    | "pti_site"
                    | "alta_org"
                    | "salto_ks_site"
                    | "salto_space_system"
                    | "brivo_account"
                    | "hid_credential_manager_organization"
                    | "visionline_system"
                    | "assa_abloy_credential_service"
                    | "latch_building"
                    | "dormakaba_community_site"
                    | "legic_connect_credential_service"
                    | "assa_abloy_vostio"
                    | "assa_abloy_vostio_credential_service";
                system_type_display_name?: string;
                visionline_metadata?: {
                    lan_address: string;
                    mobile_access_uuid: string;
                    system_id: string;
                };
                warnings: ({
                    created_at: string;
                    message: string;
                    warning_code: "salto_ks_subscription_limit_almost_reached";
                } | {
                    created_at: string;
                    message: string;
                    misconfigured_acs_entrance_ids?: (...) | (...);
                    warning_code: "time_zone_does_not_match_location";
                })[];
                workspace_id: string;
            }[];
        }>, "acs_systems">, "acs_systems">
      • Parameters

        • Optionalparams: {
              acs_system_id: string;
          }
          • acs_system_id: string

            ID of the access system for which you want to retrieve all compatible credential manager systems.

        Returns SeamHttpRequest<SetNonNullable<Required<{
            acs_systems: {
                acs_access_group_count?: number;
                acs_system_id: string;
                acs_user_count?: number;
                connected_account_id: string;
                connected_account_ids: string[];
                created_at: string;
                default_credential_manager_acs_system_id?: null | string;
                errors: (
                    | {
                        created_at: string;
                        error_code: "seam_bridge_disconnected";
                        message: string;
                    }
                    | {
                        created_at: string;
                        error_code: "bridge_disconnected";
                        is_bridge_error?: (...) | (...) | (...);
                        message: string;
                    }
                    | {
                        created_at: string;
                        error_code: "visionline_instance_unreachable";
                        message: string;
                    }
                    | {
                        created_at: string;
                        error_code: "salto_ks_subscription_limit_exceeded";
                        message: string;
                    }
                    | {
                        created_at: string;
                        error_code: "acs_system_disconnected";
                        message: string;
                    }
                    | {
                        created_at: string;
                        error_code: "account_disconnected";
                        message: string;
                    }
                    | {
                        created_at: string;
                        error_code: "salto_ks_certification_expired";
                        message: string;
                    })[];
                external_type?:
                    | "pti_site"
                    | "alta_org"
                    | "salto_ks_site"
                    | "salto_space_system"
                    | "brivo_account"
                    | "hid_credential_manager_organization"
                    | "visionline_system"
                    | "assa_abloy_credential_service"
                    | "latch_building"
                    | "dormakaba_community_site"
                    | "legic_connect_credential_service"
                    | "assa_abloy_vostio"
                    | "assa_abloy_vostio_credential_service";
                external_type_display_name?: string;
                image_alt_text: string;
                image_url: string;
                is_credential_manager: boolean;
                location: {
                    time_zone: null | string;
                };
                name: string;
                system_type?:
                    | "pti_site"
                    | "alta_org"
                    | "salto_ks_site"
                    | "salto_space_system"
                    | "brivo_account"
                    | "hid_credential_manager_organization"
                    | "visionline_system"
                    | "assa_abloy_credential_service"
                    | "latch_building"
                    | "dormakaba_community_site"
                    | "legic_connect_credential_service"
                    | "assa_abloy_vostio"
                    | "assa_abloy_vostio_credential_service";
                system_type_display_name?: string;
                visionline_metadata?: {
                    lan_address: string;
                    mobile_access_uuid: string;
                    system_id: string;
                };
                warnings: ({
                    created_at: string;
                    message: string;
                    warning_code: "salto_ks_subscription_limit_almost_reached";
                } | {
                    created_at: string;
                    message: string;
                    misconfigured_acs_entrance_ids?: (...) | (...);
                    warning_code: "time_zone_does_not_match_location";
                })[];
                workspace_id: string;
            }[];
        }>, "acs_systems">, "acs_systems">

  • get /acs/users/add_to_access_group(): ((body?: {
        acs_access_group_id: string;
        acs_user_id: string;
    }) => SeamHttpRequest<void, undefined>)
  • Returns ((body?: {
        acs_access_group_id: string;
        acs_user_id: string;
    }) => SeamHttpRequest<void, undefined>)

      • (body?): SeamHttpRequest<void, undefined>
      • Parameters

        • Optionalbody: {
              acs_access_group_id: string;
              acs_user_id: string;
          }
          • acs_access_group_id: string

            ID of the access group to which you want to add an access system user.

          • acs_user_id: string

            ID of the access system user that you want to add to an access group.

        Returns SeamHttpRequest<void, undefined>

  • get /acs/users/create(): ((body?: {
        access_schedule?: {
            ends_at?: null | string;
            starts_at?: string;
        };
        acs_access_group_ids?: string[];
        acs_system_id: string;
        email?: string;
        email_address?: string;
        full_name: string;
        phone_number?: string;
        user_identity_id?: string;
    }) => SeamHttpRequest<SetNonNullable<Required<{
        acs_user: {
            access_schedule?: {
                ends_at: null | string;
                starts_at: string;
            };
            acs_system_id: string;
            acs_user_id: string;
            connected_account_id: string;
            created_at: string;
            display_name: string;
            email?: string;
            email_address?: string;
            errors: (
                | {
                    created_at: string;
                    error_code: "deleted_externally";
                    message: string;
                }
                | {
                    created_at: string;
                    error_code: "salto_ks_subscription_limit_exceeded";
                    message: string;
                }
                | {
                    created_at: string;
                    error_code: "failed_to_create_on_acs_system";
                    message: string;
                }
                | {
                    created_at: string;
                    error_code: "failed_to_update_on_acs_system";
                    message: string;
                }
                | {
                    created_at: string;
                    error_code: "failed_to_delete_on_acs_system";
                    message: string;
                }
                | {
                    created_at: string;
                    error_code: "latch_conflict_with_resident_user";
                    message: string;
                })[];
            external_type?:
                | "pti_user"
                | "brivo_user"
                | "hid_credential_manager_user"
                | "salto_site_user"
                | "latch_user"
                | "dormakaba_community_user"
                | "salto_space_user";
            external_type_display_name?: string;
            full_name?: string;
            hid_acs_system_id?: string;
            is_managed: true;
            is_suspended?: boolean;
            last_successful_sync_at: null | string;
            pending_mutations?: (
                | {
                    created_at: string;
                    message: string;
                    mutation_code: "creating";
                }
                | {
                    created_at: string;
                    message: string;
                    mutation_code: "deleting";
                }
                | {
                    created_at: string;
                    from: {
                        email_address?: ...;
                        full_name?: ...;
                        phone_number?: ...;
                    };
                    message: string;
                    mutation_code: "updating_user_information";
                    to: {
                        email_address?: ...;
                        full_name?: ...;
                        phone_number?: ...;
                    };
                }
                | {
                    created_at: string;
                    from: {
                        ends_at: ...;
                        starts_at: ...;
                    };
                    message: string;
                    mutation_code: "updating_access_schedule";
                    to: {
                        ends_at: ...;
                        starts_at: ...;
                    };
                }
                | {
                    created_at: string;
                    from: {
                        is_suspended: ...;
                    };
                    message: string;
                    mutation_code: "updating_suspension_state";
                    to: {
                        is_suspended: ...;
                    };
                }
                | {
                    created_at: string;
                    from: {
                        acs_access_group_id: ...;
                    };
                    message: string;
                    mutation_code: "updating_group_membership";
                    to: {
                        acs_access_group_id: ...;
                    };
                })[];
            phone_number?: string;
            user_identity_email_address?: null | string;
            user_identity_full_name?: null | string;
            user_identity_id?: string;
            user_identity_phone_number?: null | string;
            warnings: (
                | {
                    created_at: string;
                    message: string;
                    warning_code: "being_deleted";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "salto_ks_user_not_subscribed";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "unknown_issue_with_acs_user";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "latch_resident_user";
                })[];
            workspace_id: string;
        };
    }>, "acs_user">, "acs_user">)
  • Returns ((body?: {
        access_schedule?: {
            ends_at?: null | string;
            starts_at?: string;
        };
        acs_access_group_ids?: string[];
        acs_system_id: string;
        email?: string;
        email_address?: string;
        full_name: string;
        phone_number?: string;
        user_identity_id?: string;
    }) => SeamHttpRequest<SetNonNullable<Required<{
        acs_user: {
            access_schedule?: {
                ends_at: null | string;
                starts_at: string;
            };
            acs_system_id: string;
            acs_user_id: string;
            connected_account_id: string;
            created_at: string;
            display_name: string;
            email?: string;
            email_address?: string;
            errors: (
                | {
                    created_at: string;
                    error_code: "deleted_externally";
                    message: string;
                }
                | {
                    created_at: string;
                    error_code: "salto_ks_subscription_limit_exceeded";
                    message: string;
                }
                | {
                    created_at: string;
                    error_code: "failed_to_create_on_acs_system";
                    message: string;
                }
                | {
                    created_at: string;
                    error_code: "failed_to_update_on_acs_system";
                    message: string;
                }
                | {
                    created_at: string;
                    error_code: "failed_to_delete_on_acs_system";
                    message: string;
                }
                | {
                    created_at: string;
                    error_code: "latch_conflict_with_resident_user";
                    message: string;
                })[];
            external_type?:
                | "pti_user"
                | "brivo_user"
                | "hid_credential_manager_user"
                | "salto_site_user"
                | "latch_user"
                | "dormakaba_community_user"
                | "salto_space_user";
            external_type_display_name?: string;
            full_name?: string;
            hid_acs_system_id?: string;
            is_managed: true;
            is_suspended?: boolean;
            last_successful_sync_at: null | string;
            pending_mutations?: (
                | {
                    created_at: string;
                    message: string;
                    mutation_code: "creating";
                }
                | {
                    created_at: string;
                    message: string;
                    mutation_code: "deleting";
                }
                | {
                    created_at: string;
                    from: {
                        email_address?: ...;
                        full_name?: ...;
                        phone_number?: ...;
                    };
                    message: string;
                    mutation_code: "updating_user_information";
                    to: {
                        email_address?: ...;
                        full_name?: ...;
                        phone_number?: ...;
                    };
                }
                | {
                    created_at: string;
                    from: {
                        ends_at: ...;
                        starts_at: ...;
                    };
                    message: string;
                    mutation_code: "updating_access_schedule";
                    to: {
                        ends_at: ...;
                        starts_at: ...;
                    };
                }
                | {
                    created_at: string;
                    from: {
                        is_suspended: ...;
                    };
                    message: string;
                    mutation_code: "updating_suspension_state";
                    to: {
                        is_suspended: ...;
                    };
                }
                | {
                    created_at: string;
                    from: {
                        acs_access_group_id: ...;
                    };
                    message: string;
                    mutation_code: "updating_group_membership";
                    to: {
                        acs_access_group_id: ...;
                    };
                })[];
            phone_number?: string;
            user_identity_email_address?: null | string;
            user_identity_full_name?: null | string;
            user_identity_id?: string;
            user_identity_phone_number?: null | string;
            warnings: (
                | {
                    created_at: string;
                    message: string;
                    warning_code: "being_deleted";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "salto_ks_user_not_subscribed";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "unknown_issue_with_acs_user";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "latch_resident_user";
                })[];
            workspace_id: string;
        };
    }>, "acs_user">, "acs_user">)

      • (body?): SeamHttpRequest<SetNonNullable<Required<{
            acs_user: {
                access_schedule?: {
                    ends_at: null | string;
                    starts_at: string;
                };
                acs_system_id: string;
                acs_user_id: string;
                connected_account_id: string;
                created_at: string;
                display_name: string;
                email?: string;
                email_address?: string;
                errors: (
                    | {
                        created_at: string;
                        error_code: "deleted_externally";
                        message: string;
                    }
                    | {
                        created_at: string;
                        error_code: "salto_ks_subscription_limit_exceeded";
                        message: string;
                    }
                    | {
                        created_at: string;
                        error_code: "failed_to_create_on_acs_system";
                        message: string;
                    }
                    | {
                        created_at: string;
                        error_code: "failed_to_update_on_acs_system";
                        message: string;
                    }
                    | {
                        created_at: string;
                        error_code: "failed_to_delete_on_acs_system";
                        message: string;
                    }
                    | {
                        created_at: string;
                        error_code: "latch_conflict_with_resident_user";
                        message: string;
                    })[];
                external_type?:
                    | "pti_user"
                    | "brivo_user"
                    | "hid_credential_manager_user"
                    | "salto_site_user"
                    | "latch_user"
                    | "dormakaba_community_user"
                    | "salto_space_user";
                external_type_display_name?: string;
                full_name?: string;
                hid_acs_system_id?: string;
                is_managed: true;
                is_suspended?: boolean;
                last_successful_sync_at: null | string;
                pending_mutations?: (
                    | {
                        created_at: string;
                        message: string;
                        mutation_code: "creating";
                    }
                    | {
                        created_at: string;
                        message: string;
                        mutation_code: "deleting";
                    }
                    | {
                        created_at: string;
                        from: {
                            email_address?: ...;
                            full_name?: ...;
                            phone_number?: ...;
                        };
                        message: string;
                        mutation_code: "updating_user_information";
                        to: {
                            email_address?: ...;
                            full_name?: ...;
                            phone_number?: ...;
                        };
                    }
                    | {
                        created_at: string;
                        from: {
                            ends_at: ...;
                            starts_at: ...;
                        };
                        message: string;
                        mutation_code: "updating_access_schedule";
                        to: {
                            ends_at: ...;
                            starts_at: ...;
                        };
                    }
                    | {
                        created_at: string;
                        from: {
                            is_suspended: ...;
                        };
                        message: string;
                        mutation_code: "updating_suspension_state";
                        to: {
                            is_suspended: ...;
                        };
                    }
                    | {
                        created_at: string;
                        from: {
                            acs_access_group_id: ...;
                        };
                        message: string;
                        mutation_code: "updating_group_membership";
                        to: {
                            acs_access_group_id: ...;
                        };
                    })[];
                phone_number?: string;
                user_identity_email_address?: null | string;
                user_identity_full_name?: null | string;
                user_identity_id?: string;
                user_identity_phone_number?: null | string;
                warnings: (
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "being_deleted";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "salto_ks_user_not_subscribed";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "unknown_issue_with_acs_user";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "latch_resident_user";
                    })[];
                workspace_id: string;
            };
        }>, "acs_user">, "acs_user">
      • Parameters

        • Optionalbody: {
              access_schedule?: {
                  ends_at?: null | string;
                  starts_at?: string;
              };
              acs_access_group_ids?: string[];
              acs_system_id: string;
              email?: string;
              email_address?: string;
              full_name: string;
              phone_number?: string;
              user_identity_id?: string;
          }
          • Optionalaccess_schedule?: {
                ends_at?: null | string;
                starts_at?: string;
            }

            starts_at and ends_at timestamps for the new access system user's access. If you specify an access_schedule, you may include both starts_at and ends_at. If you omit starts_at, it defaults to the current time. ends_at is optional and must be a time in the future and after starts_at.

            • Optionalends_at?: null | string

              Ending timestamp for the new access system user's access.

            • Optionalstarts_at?: string

              Starting timestamp for the new access system user's access.

          • Optionalacs_access_group_ids?: string[]

            Array of access group IDs to indicate the access groups to which you want to add the new access system user.

          • acs_system_id: string

            ID of the access system to which you want to add the new access system user.

          • Optionalemail?: string

            use email_address.

          • Optionalemail_address?: string

            Email address of the access system user.

          • full_name: string

            Full name of the new access system user.

          • Optionalphone_number?: string

            Phone number of the access system user in E.164 format (for example, +15555550100).

          • Optionaluser_identity_id?: string

            ID of the user identity with which you want to associate the new access system user.

        Returns SeamHttpRequest<SetNonNullable<Required<{
            acs_user: {
                access_schedule?: {
                    ends_at: null | string;
                    starts_at: string;
                };
                acs_system_id: string;
                acs_user_id: string;
                connected_account_id: string;
                created_at: string;
                display_name: string;
                email?: string;
                email_address?: string;
                errors: (
                    | {
                        created_at: string;
                        error_code: "deleted_externally";
                        message: string;
                    }
                    | {
                        created_at: string;
                        error_code: "salto_ks_subscription_limit_exceeded";
                        message: string;
                    }
                    | {
                        created_at: string;
                        error_code: "failed_to_create_on_acs_system";
                        message: string;
                    }
                    | {
                        created_at: string;
                        error_code: "failed_to_update_on_acs_system";
                        message: string;
                    }
                    | {
                        created_at: string;
                        error_code: "failed_to_delete_on_acs_system";
                        message: string;
                    }
                    | {
                        created_at: string;
                        error_code: "latch_conflict_with_resident_user";
                        message: string;
                    })[];
                external_type?:
                    | "pti_user"
                    | "brivo_user"
                    | "hid_credential_manager_user"
                    | "salto_site_user"
                    | "latch_user"
                    | "dormakaba_community_user"
                    | "salto_space_user";
                external_type_display_name?: string;
                full_name?: string;
                hid_acs_system_id?: string;
                is_managed: true;
                is_suspended?: boolean;
                last_successful_sync_at: null | string;
                pending_mutations?: (
                    | {
                        created_at: string;
                        message: string;
                        mutation_code: "creating";
                    }
                    | {
                        created_at: string;
                        message: string;
                        mutation_code: "deleting";
                    }
                    | {
                        created_at: string;
                        from: {
                            email_address?: ...;
                            full_name?: ...;
                            phone_number?: ...;
                        };
                        message: string;
                        mutation_code: "updating_user_information";
                        to: {
                            email_address?: ...;
                            full_name?: ...;
                            phone_number?: ...;
                        };
                    }
                    | {
                        created_at: string;
                        from: {
                            ends_at: ...;
                            starts_at: ...;
                        };
                        message: string;
                        mutation_code: "updating_access_schedule";
                        to: {
                            ends_at: ...;
                            starts_at: ...;
                        };
                    }
                    | {
                        created_at: string;
                        from: {
                            is_suspended: ...;
                        };
                        message: string;
                        mutation_code: "updating_suspension_state";
                        to: {
                            is_suspended: ...;
                        };
                    }
                    | {
                        created_at: string;
                        from: {
                            acs_access_group_id: ...;
                        };
                        message: string;
                        mutation_code: "updating_group_membership";
                        to: {
                            acs_access_group_id: ...;
                        };
                    })[];
                phone_number?: string;
                user_identity_email_address?: null | string;
                user_identity_full_name?: null | string;
                user_identity_id?: string;
                user_identity_phone_number?: null | string;
                warnings: (
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "being_deleted";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "salto_ks_user_not_subscribed";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "unknown_issue_with_acs_user";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "latch_resident_user";
                    })[];
                workspace_id: string;
            };
        }>, "acs_user">, "acs_user">

  • get /acs/users/delete(): ((params?: {
        acs_system_id?: string;
        acs_user_id?: string;
        user_identity_id?: string;
    }) => SeamHttpRequest<void, undefined>)
  • Returns ((params?: {
        acs_system_id?: string;
        acs_user_id?: string;
        user_identity_id?: string;
    }) => SeamHttpRequest<void, undefined>)

      • (params?): SeamHttpRequest<void, undefined>
      • Parameters

        • Optionalparams: {
              acs_system_id?: string;
              acs_user_id?: string;
              user_identity_id?: string;
          }
          • Optionalacs_system_id?: string

            ID of the access system that you want to delete. You must provide acs_system_id with user_identity_id.

          • Optionalacs_user_id?: string

            ID of the access system user that you want to delete. You must provide either acs_user_id or user_identity_id

          • Optionaluser_identity_id?: string

            ID of the user identity that you want to delete. You must provide either acs_user_id or user_identity_id. If you provide user_identity_id, you must also provide acs_system_id.

        Returns SeamHttpRequest<void, undefined>

  • get /acs/users/get(): ((params?: {
        acs_system_id?: string;
        acs_user_id?: string;
        user_identity_id?: string;
    }) => SeamHttpRequest<SetNonNullable<Required<{
        acs_user: {
            access_schedule?: {
                ends_at: null | string;
                starts_at: string;
            };
            acs_system_id: string;
            acs_user_id: string;
            connected_account_id: string;
            created_at: string;
            display_name: string;
            email?: string;
            email_address?: string;
            errors: (
                | {
                    created_at: string;
                    error_code: "deleted_externally";
                    message: string;
                }
                | {
                    created_at: string;
                    error_code: "salto_ks_subscription_limit_exceeded";
                    message: string;
                }
                | {
                    created_at: string;
                    error_code: "failed_to_create_on_acs_system";
                    message: string;
                }
                | {
                    created_at: string;
                    error_code: "failed_to_update_on_acs_system";
                    message: string;
                }
                | {
                    created_at: string;
                    error_code: "failed_to_delete_on_acs_system";
                    message: string;
                }
                | {
                    created_at: string;
                    error_code: "latch_conflict_with_resident_user";
                    message: string;
                })[];
            external_type?:
                | "pti_user"
                | "brivo_user"
                | "hid_credential_manager_user"
                | "salto_site_user"
                | "latch_user"
                | "dormakaba_community_user"
                | "salto_space_user";
            external_type_display_name?: string;
            full_name?: string;
            hid_acs_system_id?: string;
            is_managed: true;
            is_suspended?: boolean;
            last_successful_sync_at: null | string;
            pending_mutations?: (
                | {
                    created_at: string;
                    message: string;
                    mutation_code: "creating";
                }
                | {
                    created_at: string;
                    message: string;
                    mutation_code: "deleting";
                }
                | {
                    created_at: string;
                    from: {
                        email_address?: ...;
                        full_name?: ...;
                        phone_number?: ...;
                    };
                    message: string;
                    mutation_code: "updating_user_information";
                    to: {
                        email_address?: ...;
                        full_name?: ...;
                        phone_number?: ...;
                    };
                }
                | {
                    created_at: string;
                    from: {
                        ends_at: ...;
                        starts_at: ...;
                    };
                    message: string;
                    mutation_code: "updating_access_schedule";
                    to: {
                        ends_at: ...;
                        starts_at: ...;
                    };
                }
                | {
                    created_at: string;
                    from: {
                        is_suspended: ...;
                    };
                    message: string;
                    mutation_code: "updating_suspension_state";
                    to: {
                        is_suspended: ...;
                    };
                }
                | {
                    created_at: string;
                    from: {
                        acs_access_group_id: ...;
                    };
                    message: string;
                    mutation_code: "updating_group_membership";
                    to: {
                        acs_access_group_id: ...;
                    };
                })[];
            phone_number?: string;
            user_identity_email_address?: null | string;
            user_identity_full_name?: null | string;
            user_identity_id?: string;
            user_identity_phone_number?: null | string;
            warnings: (
                | {
                    created_at: string;
                    message: string;
                    warning_code: "being_deleted";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "salto_ks_user_not_subscribed";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "unknown_issue_with_acs_user";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "latch_resident_user";
                })[];
            workspace_id: string;
        };
    }>, "acs_user">, "acs_user">)
  • Returns ((params?: {
        acs_system_id?: string;
        acs_user_id?: string;
        user_identity_id?: string;
    }) => SeamHttpRequest<SetNonNullable<Required<{
        acs_user: {
            access_schedule?: {
                ends_at: null | string;
                starts_at: string;
            };
            acs_system_id: string;
            acs_user_id: string;
            connected_account_id: string;
            created_at: string;
            display_name: string;
            email?: string;
            email_address?: string;
            errors: (
                | {
                    created_at: string;
                    error_code: "deleted_externally";
                    message: string;
                }
                | {
                    created_at: string;
                    error_code: "salto_ks_subscription_limit_exceeded";
                    message: string;
                }
                | {
                    created_at: string;
                    error_code: "failed_to_create_on_acs_system";
                    message: string;
                }
                | {
                    created_at: string;
                    error_code: "failed_to_update_on_acs_system";
                    message: string;
                }
                | {
                    created_at: string;
                    error_code: "failed_to_delete_on_acs_system";
                    message: string;
                }
                | {
                    created_at: string;
                    error_code: "latch_conflict_with_resident_user";
                    message: string;
                })[];
            external_type?:
                | "pti_user"
                | "brivo_user"
                | "hid_credential_manager_user"
                | "salto_site_user"
                | "latch_user"
                | "dormakaba_community_user"
                | "salto_space_user";
            external_type_display_name?: string;
            full_name?: string;
            hid_acs_system_id?: string;
            is_managed: true;
            is_suspended?: boolean;
            last_successful_sync_at: null | string;
            pending_mutations?: (
                | {
                    created_at: string;
                    message: string;
                    mutation_code: "creating";
                }
                | {
                    created_at: string;
                    message: string;
                    mutation_code: "deleting";
                }
                | {
                    created_at: string;
                    from: {
                        email_address?: ...;
                        full_name?: ...;
                        phone_number?: ...;
                    };
                    message: string;
                    mutation_code: "updating_user_information";
                    to: {
                        email_address?: ...;
                        full_name?: ...;
                        phone_number?: ...;
                    };
                }
                | {
                    created_at: string;
                    from: {
                        ends_at: ...;
                        starts_at: ...;
                    };
                    message: string;
                    mutation_code: "updating_access_schedule";
                    to: {
                        ends_at: ...;
                        starts_at: ...;
                    };
                }
                | {
                    created_at: string;
                    from: {
                        is_suspended: ...;
                    };
                    message: string;
                    mutation_code: "updating_suspension_state";
                    to: {
                        is_suspended: ...;
                    };
                }
                | {
                    created_at: string;
                    from: {
                        acs_access_group_id: ...;
                    };
                    message: string;
                    mutation_code: "updating_group_membership";
                    to: {
                        acs_access_group_id: ...;
                    };
                })[];
            phone_number?: string;
            user_identity_email_address?: null | string;
            user_identity_full_name?: null | string;
            user_identity_id?: string;
            user_identity_phone_number?: null | string;
            warnings: (
                | {
                    created_at: string;
                    message: string;
                    warning_code: "being_deleted";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "salto_ks_user_not_subscribed";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "unknown_issue_with_acs_user";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "latch_resident_user";
                })[];
            workspace_id: string;
        };
    }>, "acs_user">, "acs_user">)

      • (params?): SeamHttpRequest<SetNonNullable<Required<{
            acs_user: {
                access_schedule?: {
                    ends_at: null | string;
                    starts_at: string;
                };
                acs_system_id: string;
                acs_user_id: string;
                connected_account_id: string;
                created_at: string;
                display_name: string;
                email?: string;
                email_address?: string;
                errors: (
                    | {
                        created_at: string;
                        error_code: "deleted_externally";
                        message: string;
                    }
                    | {
                        created_at: string;
                        error_code: "salto_ks_subscription_limit_exceeded";
                        message: string;
                    }
                    | {
                        created_at: string;
                        error_code: "failed_to_create_on_acs_system";
                        message: string;
                    }
                    | {
                        created_at: string;
                        error_code: "failed_to_update_on_acs_system";
                        message: string;
                    }
                    | {
                        created_at: string;
                        error_code: "failed_to_delete_on_acs_system";
                        message: string;
                    }
                    | {
                        created_at: string;
                        error_code: "latch_conflict_with_resident_user";
                        message: string;
                    })[];
                external_type?:
                    | "pti_user"
                    | "brivo_user"
                    | "hid_credential_manager_user"
                    | "salto_site_user"
                    | "latch_user"
                    | "dormakaba_community_user"
                    | "salto_space_user";
                external_type_display_name?: string;
                full_name?: string;
                hid_acs_system_id?: string;
                is_managed: true;
                is_suspended?: boolean;
                last_successful_sync_at: null | string;
                pending_mutations?: (
                    | {
                        created_at: string;
                        message: string;
                        mutation_code: "creating";
                    }
                    | {
                        created_at: string;
                        message: string;
                        mutation_code: "deleting";
                    }
                    | {
                        created_at: string;
                        from: {
                            email_address?: ...;
                            full_name?: ...;
                            phone_number?: ...;
                        };
                        message: string;
                        mutation_code: "updating_user_information";
                        to: {
                            email_address?: ...;
                            full_name?: ...;
                            phone_number?: ...;
                        };
                    }
                    | {
                        created_at: string;
                        from: {
                            ends_at: ...;
                            starts_at: ...;
                        };
                        message: string;
                        mutation_code: "updating_access_schedule";
                        to: {
                            ends_at: ...;
                            starts_at: ...;
                        };
                    }
                    | {
                        created_at: string;
                        from: {
                            is_suspended: ...;
                        };
                        message: string;
                        mutation_code: "updating_suspension_state";
                        to: {
                            is_suspended: ...;
                        };
                    }
                    | {
                        created_at: string;
                        from: {
                            acs_access_group_id: ...;
                        };
                        message: string;
                        mutation_code: "updating_group_membership";
                        to: {
                            acs_access_group_id: ...;
                        };
                    })[];
                phone_number?: string;
                user_identity_email_address?: null | string;
                user_identity_full_name?: null | string;
                user_identity_id?: string;
                user_identity_phone_number?: null | string;
                warnings: (
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "being_deleted";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "salto_ks_user_not_subscribed";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "unknown_issue_with_acs_user";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "latch_resident_user";
                    })[];
                workspace_id: string;
            };
        }>, "acs_user">, "acs_user">
      • Parameters

        • Optionalparams: {
              acs_system_id?: string;
              acs_user_id?: string;
              user_identity_id?: string;
          }
          • Optionalacs_system_id?: string

            ID of the access system that you want to get. You can only provide acs_user_id or user_identity_id.

          • Optionalacs_user_id?: string

            ID of the access system user that you want to get. You can only provide acs_user_id or user_identity_id.

          • Optionaluser_identity_id?: string

            ID of the user identity that you want to get. You can only provide acs_user_id or user_identity_id.

        Returns SeamHttpRequest<SetNonNullable<Required<{
            acs_user: {
                access_schedule?: {
                    ends_at: null | string;
                    starts_at: string;
                };
                acs_system_id: string;
                acs_user_id: string;
                connected_account_id: string;
                created_at: string;
                display_name: string;
                email?: string;
                email_address?: string;
                errors: (
                    | {
                        created_at: string;
                        error_code: "deleted_externally";
                        message: string;
                    }
                    | {
                        created_at: string;
                        error_code: "salto_ks_subscription_limit_exceeded";
                        message: string;
                    }
                    | {
                        created_at: string;
                        error_code: "failed_to_create_on_acs_system";
                        message: string;
                    }
                    | {
                        created_at: string;
                        error_code: "failed_to_update_on_acs_system";
                        message: string;
                    }
                    | {
                        created_at: string;
                        error_code: "failed_to_delete_on_acs_system";
                        message: string;
                    }
                    | {
                        created_at: string;
                        error_code: "latch_conflict_with_resident_user";
                        message: string;
                    })[];
                external_type?:
                    | "pti_user"
                    | "brivo_user"
                    | "hid_credential_manager_user"
                    | "salto_site_user"
                    | "latch_user"
                    | "dormakaba_community_user"
                    | "salto_space_user";
                external_type_display_name?: string;
                full_name?: string;
                hid_acs_system_id?: string;
                is_managed: true;
                is_suspended?: boolean;
                last_successful_sync_at: null | string;
                pending_mutations?: (
                    | {
                        created_at: string;
                        message: string;
                        mutation_code: "creating";
                    }
                    | {
                        created_at: string;
                        message: string;
                        mutation_code: "deleting";
                    }
                    | {
                        created_at: string;
                        from: {
                            email_address?: ...;
                            full_name?: ...;
                            phone_number?: ...;
                        };
                        message: string;
                        mutation_code: "updating_user_information";
                        to: {
                            email_address?: ...;
                            full_name?: ...;
                            phone_number?: ...;
                        };
                    }
                    | {
                        created_at: string;
                        from: {
                            ends_at: ...;
                            starts_at: ...;
                        };
                        message: string;
                        mutation_code: "updating_access_schedule";
                        to: {
                            ends_at: ...;
                            starts_at: ...;
                        };
                    }
                    | {
                        created_at: string;
                        from: {
                            is_suspended: ...;
                        };
                        message: string;
                        mutation_code: "updating_suspension_state";
                        to: {
                            is_suspended: ...;
                        };
                    }
                    | {
                        created_at: string;
                        from: {
                            acs_access_group_id: ...;
                        };
                        message: string;
                        mutation_code: "updating_group_membership";
                        to: {
                            acs_access_group_id: ...;
                        };
                    })[];
                phone_number?: string;
                user_identity_email_address?: null | string;
                user_identity_full_name?: null | string;
                user_identity_id?: string;
                user_identity_phone_number?: null | string;
                warnings: (
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "being_deleted";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "salto_ks_user_not_subscribed";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "unknown_issue_with_acs_user";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "latch_resident_user";
                    })[];
                workspace_id: string;
            };
        }>, "acs_user">, "acs_user">

  • get /acs/users/list(): ((params?: {
        acs_system_id?: string;
        created_before?: Date;
        limit?: number;
        page_cursor?: null | string;
        search?: string;
        user_identity_email_address?: string;
        user_identity_id?: string;
        user_identity_phone_number?: string;
    }) => SeamHttpRequest<SetNonNullable<Required<{
        acs_users: {
            access_schedule?: {
                ends_at: null | string;
                starts_at: string;
            };
            acs_system_id: string;
            acs_user_id: string;
            connected_account_id: string;
            created_at: string;
            display_name: string;
            email?: string;
            email_address?: string;
            errors: (
                | {
                    created_at: string;
                    error_code: "deleted_externally";
                    message: string;
                }
                | {
                    created_at: string;
                    error_code: "salto_ks_subscription_limit_exceeded";
                    message: string;
                }
                | {
                    created_at: string;
                    error_code: "failed_to_create_on_acs_system";
                    message: string;
                }
                | {
                    created_at: string;
                    error_code: "failed_to_update_on_acs_system";
                    message: string;
                }
                | {
                    created_at: string;
                    error_code: "failed_to_delete_on_acs_system";
                    message: string;
                }
                | {
                    created_at: string;
                    error_code: "latch_conflict_with_resident_user";
                    message: string;
                })[];
            external_type?:
                | "pti_user"
                | "brivo_user"
                | "hid_credential_manager_user"
                | "salto_site_user"
                | "latch_user"
                | "dormakaba_community_user"
                | "salto_space_user";
            external_type_display_name?: string;
            full_name?: string;
            hid_acs_system_id?: string;
            is_managed: true;
            is_suspended?: boolean;
            last_successful_sync_at: null | string;
            pending_mutations?: (
                | {
                    created_at: ...;
                    message: ...;
                    mutation_code: ...;
                }
                | {
                    created_at: ...;
                    message: ...;
                    mutation_code: ...;
                }
                | {
                    created_at: ...;
                    from: ...;
                    message: ...;
                    mutation_code: ...;
                    to: ...;
                }
                | {
                    created_at: ...;
                    from: ...;
                    message: ...;
                    mutation_code: ...;
                    to: ...;
                }
                | {
                    created_at: ...;
                    from: ...;
                    message: ...;
                    mutation_code: ...;
                    to: ...;
                }
                | {
                    created_at: ...;
                    from: ...;
                    message: ...;
                    mutation_code: ...;
                    to: ...;
                })[];
            phone_number?: string;
            user_identity_email_address?: null | string;
            user_identity_full_name?: null | string;
            user_identity_id?: string;
            user_identity_phone_number?: null | string;
            warnings: (
                | {
                    created_at: string;
                    message: string;
                    warning_code: "being_deleted";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "salto_ks_user_not_subscribed";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "unknown_issue_with_acs_user";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "latch_resident_user";
                })[];
            workspace_id: string;
        }[];
        pagination: {
            has_next_page: boolean;
            next_page_cursor: null | string;
            next_page_url: null | string;
        };
    }>, "pagination" | "acs_users">, "acs_users">)
  • Returns ((params?: {
        acs_system_id?: string;
        created_before?: Date;
        limit?: number;
        page_cursor?: null | string;
        search?: string;
        user_identity_email_address?: string;
        user_identity_id?: string;
        user_identity_phone_number?: string;
    }) => SeamHttpRequest<SetNonNullable<Required<{
        acs_users: {
            access_schedule?: {
                ends_at: null | string;
                starts_at: string;
            };
            acs_system_id: string;
            acs_user_id: string;
            connected_account_id: string;
            created_at: string;
            display_name: string;
            email?: string;
            email_address?: string;
            errors: (
                | {
                    created_at: string;
                    error_code: "deleted_externally";
                    message: string;
                }
                | {
                    created_at: string;
                    error_code: "salto_ks_subscription_limit_exceeded";
                    message: string;
                }
                | {
                    created_at: string;
                    error_code: "failed_to_create_on_acs_system";
                    message: string;
                }
                | {
                    created_at: string;
                    error_code: "failed_to_update_on_acs_system";
                    message: string;
                }
                | {
                    created_at: string;
                    error_code: "failed_to_delete_on_acs_system";
                    message: string;
                }
                | {
                    created_at: string;
                    error_code: "latch_conflict_with_resident_user";
                    message: string;
                })[];
            external_type?:
                | "pti_user"
                | "brivo_user"
                | "hid_credential_manager_user"
                | "salto_site_user"
                | "latch_user"
                | "dormakaba_community_user"
                | "salto_space_user";
            external_type_display_name?: string;
            full_name?: string;
            hid_acs_system_id?: string;
            is_managed: true;
            is_suspended?: boolean;
            last_successful_sync_at: null | string;
            pending_mutations?: (
                | {
                    created_at: ...;
                    message: ...;
                    mutation_code: ...;
                }
                | {
                    created_at: ...;
                    message: ...;
                    mutation_code: ...;
                }
                | {
                    created_at: ...;
                    from: ...;
                    message: ...;
                    mutation_code: ...;
                    to: ...;
                }
                | {
                    created_at: ...;
                    from: ...;
                    message: ...;
                    mutation_code: ...;
                    to: ...;
                }
                | {
                    created_at: ...;
                    from: ...;
                    message: ...;
                    mutation_code: ...;
                    to: ...;
                }
                | {
                    created_at: ...;
                    from: ...;
                    message: ...;
                    mutation_code: ...;
                    to: ...;
                })[];
            phone_number?: string;
            user_identity_email_address?: null | string;
            user_identity_full_name?: null | string;
            user_identity_id?: string;
            user_identity_phone_number?: null | string;
            warnings: (
                | {
                    created_at: string;
                    message: string;
                    warning_code: "being_deleted";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "salto_ks_user_not_subscribed";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "unknown_issue_with_acs_user";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "latch_resident_user";
                })[];
            workspace_id: string;
        }[];
        pagination: {
            has_next_page: boolean;
            next_page_cursor: null | string;
            next_page_url: null | string;
        };
    }>, "pagination" | "acs_users">, "acs_users">)

      • (params?): SeamHttpRequest<SetNonNullable<Required<{
            acs_users: {
                access_schedule?: {
                    ends_at: null | string;
                    starts_at: string;
                };
                acs_system_id: string;
                acs_user_id: string;
                connected_account_id: string;
                created_at: string;
                display_name: string;
                email?: string;
                email_address?: string;
                errors: (
                    | {
                        created_at: string;
                        error_code: "deleted_externally";
                        message: string;
                    }
                    | {
                        created_at: string;
                        error_code: "salto_ks_subscription_limit_exceeded";
                        message: string;
                    }
                    | {
                        created_at: string;
                        error_code: "failed_to_create_on_acs_system";
                        message: string;
                    }
                    | {
                        created_at: string;
                        error_code: "failed_to_update_on_acs_system";
                        message: string;
                    }
                    | {
                        created_at: string;
                        error_code: "failed_to_delete_on_acs_system";
                        message: string;
                    }
                    | {
                        created_at: string;
                        error_code: "latch_conflict_with_resident_user";
                        message: string;
                    })[];
                external_type?:
                    | "pti_user"
                    | "brivo_user"
                    | "hid_credential_manager_user"
                    | "salto_site_user"
                    | "latch_user"
                    | "dormakaba_community_user"
                    | "salto_space_user";
                external_type_display_name?: string;
                full_name?: string;
                hid_acs_system_id?: string;
                is_managed: true;
                is_suspended?: boolean;
                last_successful_sync_at: null | string;
                pending_mutations?: (
                    | {
                        created_at: ...;
                        message: ...;
                        mutation_code: ...;
                    }
                    | {
                        created_at: ...;
                        message: ...;
                        mutation_code: ...;
                    }
                    | {
                        created_at: ...;
                        from: ...;
                        message: ...;
                        mutation_code: ...;
                        to: ...;
                    }
                    | {
                        created_at: ...;
                        from: ...;
                        message: ...;
                        mutation_code: ...;
                        to: ...;
                    }
                    | {
                        created_at: ...;
                        from: ...;
                        message: ...;
                        mutation_code: ...;
                        to: ...;
                    }
                    | {
                        created_at: ...;
                        from: ...;
                        message: ...;
                        mutation_code: ...;
                        to: ...;
                    })[];
                phone_number?: string;
                user_identity_email_address?: null | string;
                user_identity_full_name?: null | string;
                user_identity_id?: string;
                user_identity_phone_number?: null | string;
                warnings: (
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "being_deleted";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "salto_ks_user_not_subscribed";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "unknown_issue_with_acs_user";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "latch_resident_user";
                    })[];
                workspace_id: string;
            }[];
            pagination: {
                has_next_page: boolean;
                next_page_cursor: null | string;
                next_page_url: null | string;
            };
        }>, "pagination" | "acs_users">, "acs_users">
      • Parameters

        • Optionalparams: {
              acs_system_id?: string;
              created_before?: Date;
              limit?: number;
              page_cursor?: null | string;
              search?: string;
              user_identity_email_address?: string;
              user_identity_id?: string;
              user_identity_phone_number?: string;
          }
          • Optionalacs_system_id?: string

            ID of the acs_system for which you want to retrieve all access system users.

          • Optionalcreated_before?: Date

            Timestamp by which to limit returned access system users. Returns users created before this timestamp.

          • Optionallimit?: number

            Maximum number of records to return per page.

          • Optionalpage_cursor?: null | string

            Identifies the specific page of results to return, obtained from the previous page's next_page_cursor.

          • Optionalsearch?: string

            String for which to search. Filters returned access system users to include all records that satisfy a partial match using full_name, phone_number, email_address, acs_user_id, user_identity_id, user_identity_full_name or user_identity_phone_number.

          • Optionaluser_identity_email_address?: string

            Email address of the user identity for which you want to retrieve all access system users.

          • Optionaluser_identity_id?: string

            ID of the user identity for which you want to retrieve all access system users.

          • Optionaluser_identity_phone_number?: string

            Phone number of the user identity for which you want to retrieve all access system users, in E.164 format (for example, +15555550100).

        Returns SeamHttpRequest<SetNonNullable<Required<{
            acs_users: {
                access_schedule?: {
                    ends_at: null | string;
                    starts_at: string;
                };
                acs_system_id: string;
                acs_user_id: string;
                connected_account_id: string;
                created_at: string;
                display_name: string;
                email?: string;
                email_address?: string;
                errors: (
                    | {
                        created_at: string;
                        error_code: "deleted_externally";
                        message: string;
                    }
                    | {
                        created_at: string;
                        error_code: "salto_ks_subscription_limit_exceeded";
                        message: string;
                    }
                    | {
                        created_at: string;
                        error_code: "failed_to_create_on_acs_system";
                        message: string;
                    }
                    | {
                        created_at: string;
                        error_code: "failed_to_update_on_acs_system";
                        message: string;
                    }
                    | {
                        created_at: string;
                        error_code: "failed_to_delete_on_acs_system";
                        message: string;
                    }
                    | {
                        created_at: string;
                        error_code: "latch_conflict_with_resident_user";
                        message: string;
                    })[];
                external_type?:
                    | "pti_user"
                    | "brivo_user"
                    | "hid_credential_manager_user"
                    | "salto_site_user"
                    | "latch_user"
                    | "dormakaba_community_user"
                    | "salto_space_user";
                external_type_display_name?: string;
                full_name?: string;
                hid_acs_system_id?: string;
                is_managed: true;
                is_suspended?: boolean;
                last_successful_sync_at: null | string;
                pending_mutations?: (
                    | {
                        created_at: ...;
                        message: ...;
                        mutation_code: ...;
                    }
                    | {
                        created_at: ...;
                        message: ...;
                        mutation_code: ...;
                    }
                    | {
                        created_at: ...;
                        from: ...;
                        message: ...;
                        mutation_code: ...;
                        to: ...;
                    }
                    | {
                        created_at: ...;
                        from: ...;
                        message: ...;
                        mutation_code: ...;
                        to: ...;
                    }
                    | {
                        created_at: ...;
                        from: ...;
                        message: ...;
                        mutation_code: ...;
                        to: ...;
                    }
                    | {
                        created_at: ...;
                        from: ...;
                        message: ...;
                        mutation_code: ...;
                        to: ...;
                    })[];
                phone_number?: string;
                user_identity_email_address?: null | string;
                user_identity_full_name?: null | string;
                user_identity_id?: string;
                user_identity_phone_number?: null | string;
                warnings: (
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "being_deleted";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "salto_ks_user_not_subscribed";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "unknown_issue_with_acs_user";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "latch_resident_user";
                    })[];
                workspace_id: string;
            }[];
            pagination: {
                has_next_page: boolean;
                next_page_cursor: null | string;
                next_page_url: null | string;
            };
        }>, "pagination" | "acs_users">, "acs_users">

  • get /acs/users/list_accessible_entrances(): ((params?: {
        acs_system_id?: string;
        acs_user_id?: string;
        user_identity_id?: string;
    }) => SeamHttpRequest<SetNonNullable<Required<{
        acs_entrances: {
            acs_entrance_id: string;
            acs_system_id: string;
            assa_abloy_vostio_metadata?: {
                door_name: string;
                door_number?: number;
                door_type:
                    | "CommonDoor"
                    | "EntranceDoor"
                    | "GuestDoor"
                    | "Elevator";
                pms_id?: string;
                stand_open?: boolean;
            };
            connected_account_id: string;
            created_at: string;
            display_name: string;
            dormakaba_community_metadata?: {
                access_point_name: string;
            };
            errors: {
                error_code: string;
                message: string;
            }[];
            latch_metadata?: {
                accessibility_type: string;
                door_name: string;
                door_type: string;
                is_connected: boolean;
            };
            salto_ks_metadata?: {
                battery_level: string;
                door_name: string;
                intrusion_alarm?: boolean;
                left_open_alarm?: boolean;
                lock_type: string;
                locked_state: string;
                online?: boolean;
                privacy_mode?: boolean;
            };
            salto_space_metadata?: {
                door_description?: string;
                door_name: string;
                ext_door_id: string;
            };
            visionline_metadata?: {
                door_category:
                    | "common"
                    | "guest"
                    | "entrance"
                    | "elevator reader"
                    | "common (PMS)";
                door_name: string;
                profiles?: (...)[];
            };
        }[];
    }>, "acs_entrances">, "acs_entrances">)
  • Returns ((params?: {
        acs_system_id?: string;
        acs_user_id?: string;
        user_identity_id?: string;
    }) => SeamHttpRequest<SetNonNullable<Required<{
        acs_entrances: {
            acs_entrance_id: string;
            acs_system_id: string;
            assa_abloy_vostio_metadata?: {
                door_name: string;
                door_number?: number;
                door_type:
                    | "CommonDoor"
                    | "EntranceDoor"
                    | "GuestDoor"
                    | "Elevator";
                pms_id?: string;
                stand_open?: boolean;
            };
            connected_account_id: string;
            created_at: string;
            display_name: string;
            dormakaba_community_metadata?: {
                access_point_name: string;
            };
            errors: {
                error_code: string;
                message: string;
            }[];
            latch_metadata?: {
                accessibility_type: string;
                door_name: string;
                door_type: string;
                is_connected: boolean;
            };
            salto_ks_metadata?: {
                battery_level: string;
                door_name: string;
                intrusion_alarm?: boolean;
                left_open_alarm?: boolean;
                lock_type: string;
                locked_state: string;
                online?: boolean;
                privacy_mode?: boolean;
            };
            salto_space_metadata?: {
                door_description?: string;
                door_name: string;
                ext_door_id: string;
            };
            visionline_metadata?: {
                door_category:
                    | "common"
                    | "guest"
                    | "entrance"
                    | "elevator reader"
                    | "common (PMS)";
                door_name: string;
                profiles?: (...)[];
            };
        }[];
    }>, "acs_entrances">, "acs_entrances">)

      • (params?): SeamHttpRequest<SetNonNullable<Required<{
            acs_entrances: {
                acs_entrance_id: string;
                acs_system_id: string;
                assa_abloy_vostio_metadata?: {
                    door_name: string;
                    door_number?: number;
                    door_type:
                        | "CommonDoor"
                        | "EntranceDoor"
                        | "GuestDoor"
                        | "Elevator";
                    pms_id?: string;
                    stand_open?: boolean;
                };
                connected_account_id: string;
                created_at: string;
                display_name: string;
                dormakaba_community_metadata?: {
                    access_point_name: string;
                };
                errors: {
                    error_code: string;
                    message: string;
                }[];
                latch_metadata?: {
                    accessibility_type: string;
                    door_name: string;
                    door_type: string;
                    is_connected: boolean;
                };
                salto_ks_metadata?: {
                    battery_level: string;
                    door_name: string;
                    intrusion_alarm?: boolean;
                    left_open_alarm?: boolean;
                    lock_type: string;
                    locked_state: string;
                    online?: boolean;
                    privacy_mode?: boolean;
                };
                salto_space_metadata?: {
                    door_description?: string;
                    door_name: string;
                    ext_door_id: string;
                };
                visionline_metadata?: {
                    door_category:
                        | "common"
                        | "guest"
                        | "entrance"
                        | "elevator reader"
                        | "common (PMS)";
                    door_name: string;
                    profiles?: (...)[];
                };
            }[];
        }>, "acs_entrances">, "acs_entrances">
      • Parameters

        • Optionalparams: {
              acs_system_id?: string;
              acs_user_id?: string;
              user_identity_id?: string;
          }
          • Optionalacs_system_id?: string

            ID of the access system for which you want to list accessible entrances. You can only provide acs_system_id with user_identity_id.

          • Optionalacs_user_id?: string

            ID of the access system user for whom you want to list accessible entrances. You can only provide acs_user_id or user_identity_id.

          • Optionaluser_identity_id?: string

            ID of the user identity for whom you want to list accessible entrances. You can only provide acs_user_id or user_identity_id.

        Returns SeamHttpRequest<SetNonNullable<Required<{
            acs_entrances: {
                acs_entrance_id: string;
                acs_system_id: string;
                assa_abloy_vostio_metadata?: {
                    door_name: string;
                    door_number?: number;
                    door_type:
                        | "CommonDoor"
                        | "EntranceDoor"
                        | "GuestDoor"
                        | "Elevator";
                    pms_id?: string;
                    stand_open?: boolean;
                };
                connected_account_id: string;
                created_at: string;
                display_name: string;
                dormakaba_community_metadata?: {
                    access_point_name: string;
                };
                errors: {
                    error_code: string;
                    message: string;
                }[];
                latch_metadata?: {
                    accessibility_type: string;
                    door_name: string;
                    door_type: string;
                    is_connected: boolean;
                };
                salto_ks_metadata?: {
                    battery_level: string;
                    door_name: string;
                    intrusion_alarm?: boolean;
                    left_open_alarm?: boolean;
                    lock_type: string;
                    locked_state: string;
                    online?: boolean;
                    privacy_mode?: boolean;
                };
                salto_space_metadata?: {
                    door_description?: string;
                    door_name: string;
                    ext_door_id: string;
                };
                visionline_metadata?: {
                    door_category:
                        | "common"
                        | "guest"
                        | "entrance"
                        | "elevator reader"
                        | "common (PMS)";
                    door_name: string;
                    profiles?: (...)[];
                };
            }[];
        }>, "acs_entrances">, "acs_entrances">

  • get /acs/users/remove_from_access_group(): ((params?: {
        acs_access_group_id: string;
        acs_user_id?: string;
        user_identity_id?: string;
    }) => SeamHttpRequest<void, undefined>)
  • Returns ((params?: {
        acs_access_group_id: string;
        acs_user_id?: string;
        user_identity_id?: string;
    }) => SeamHttpRequest<void, undefined>)

      • (params?): SeamHttpRequest<void, undefined>
      • Parameters

        • Optionalparams: {
              acs_access_group_id: string;
              acs_user_id?: string;
              user_identity_id?: string;
          }
          • acs_access_group_id: string

            ID of the access group from which you want to remove an access system user.

          • Optionalacs_user_id?: string

            ID of the access system user that you want to remove from an access group. You can only provide acs_user_id or user_identity_id.

          • Optionaluser_identity_id?: string

            ID of the user identity that you want to remove from an access group. You can only provide acs_user_id or user_identity_id.

        Returns SeamHttpRequest<void, undefined>

  • get /acs/users/revoke_access_to_all_entrances(): ((body?: {
        acs_system_id?: string;
        acs_user_id?: string;
        user_identity_id?: string;
    }) => SeamHttpRequest<void, undefined>)
  • Returns ((body?: {
        acs_system_id?: string;
        acs_user_id?: string;
        user_identity_id?: string;
    }) => SeamHttpRequest<void, undefined>)

      • (body?): SeamHttpRequest<void, undefined>
      • Parameters

        • Optionalbody: {
              acs_system_id?: string;
              acs_user_id?: string;
              user_identity_id?: string;
          }
          • Optionalacs_system_id?: string

            ID of the access system for which you want to revoke access. You can only provide acs_system_id with user_identity_id.

          • Optionalacs_user_id?: string

            ID of the access system user for whom you want to revoke access. You can only provide acs_user_id or user_identity_id.

          • Optionaluser_identity_id?: string

            ID of the user identity for whom you want to revoke access. You can only provide acs_user_id or user_identity_id.

        Returns SeamHttpRequest<void, undefined>

  • get /acs/users/suspend(): ((body?: {
        acs_system_id?: string;
        acs_user_id?: string;
        user_identity_id?: string;
    }) => SeamHttpRequest<void, undefined>)
  • Returns ((body?: {
        acs_system_id?: string;
        acs_user_id?: string;
        user_identity_id?: string;
    }) => SeamHttpRequest<void, undefined>)

      • (body?): SeamHttpRequest<void, undefined>
      • Parameters

        • Optionalbody: {
              acs_system_id?: string;
              acs_user_id?: string;
              user_identity_id?: string;
          }
          • Optionalacs_system_id?: string

            ID of the access system that you want to suspend. You can only provide acs_user_id or the combination of acs_system_id and user_identity_id.

          • Optionalacs_user_id?: string

            ID of the access system user that you want to suspend. You can only provide acs_user_id or the combination of acs_system_id and user_identity_id.

          • Optionaluser_identity_id?: string

            ID of the user identity that you want to suspend. You can only provide acs_user_id or the combination of acs_system_id and user_identity_id.

        Returns SeamHttpRequest<void, undefined>

  • get /acs/users/unsuspend(): ((body?: {
        acs_system_id?: string;
        acs_user_id?: string;
        user_identity_id?: string;
    }) => SeamHttpRequest<void, undefined>)
  • Returns ((body?: {
        acs_system_id?: string;
        acs_user_id?: string;
        user_identity_id?: string;
    }) => SeamHttpRequest<void, undefined>)

      • (body?): SeamHttpRequest<void, undefined>
      • Parameters

        • Optionalbody: {
              acs_system_id?: string;
              acs_user_id?: string;
              user_identity_id?: string;
          }
          • Optionalacs_system_id?: string

            ID of the access system of the user that you want to unsuspend. You can only provide acs_system_id with user_identity_id.

          • Optionalacs_user_id?: string

            ID of the access system user that you want to unsuspend. You can only provide acs_user_id or the combination of acs_system_id and user_identity_id.

          • Optionaluser_identity_id?: string

            ID of the user identity that you want to unsuspend. You can only provide acs_user_id or the combination of acs_system_id and user_identity_id.

        Returns SeamHttpRequest<void, undefined>

  • get /acs/users/update(): ((body?: {
        access_schedule?: null | {
            ends_at: string;
            starts_at: string;
        };
        acs_system_id?: string;
        acs_user_id?: string;
        email?: string;
        email_address?: string;
        full_name?: string;
        hid_acs_system_id?: string;
        phone_number?: string;
        user_identity_id?: string;
    }) => SeamHttpRequest<void, undefined>)
  • Returns ((body?: {
        access_schedule?: null | {
            ends_at: string;
            starts_at: string;
        };
        acs_system_id?: string;
        acs_user_id?: string;
        email?: string;
        email_address?: string;
        full_name?: string;
        hid_acs_system_id?: string;
        phone_number?: string;
        user_identity_id?: string;
    }) => SeamHttpRequest<void, undefined>)

      • (body?): SeamHttpRequest<void, undefined>
      • Parameters

        • Optionalbody: {
              access_schedule?: null | {
                  ends_at: string;
                  starts_at: string;
              };
              acs_system_id?: string;
              acs_user_id?: string;
              email?: string;
              email_address?: string;
              full_name?: string;
              hid_acs_system_id?: string;
              phone_number?: string;
              user_identity_id?: string;
          }
          • Optionalaccess_schedule?: null | {
                ends_at: string;
                starts_at: string;
            }

            starts_at and ends_at timestamps for the access system user's access. If you specify an access_schedule, you may include both starts_at and ends_at. If you omit starts_at, it defaults to the current time. ends_at is optional and must be a time in the future and after starts_at.

          • Optionalacs_system_id?: string

            ID of the access system that you want to update. You can only provide acs_system_id with user_identity_id.

          • Optionalacs_user_id?: string

            ID of the access system user that you want to update. You can only provide acs_user_id or user_identity_id.

          • Optionalemail?: string

            use email_address.

          • Optionalemail_address?: string

            Email address of the access system user.

          • Optionalfull_name?: string

            Full name of the access system user.

          • Optionalhid_acs_system_id?: string
          • Optionalphone_number?: string

            Phone number of the access system user in E.164 format (for example, +15555550100).

          • Optionaluser_identity_id?: string

            ID of the user identity that you want to update. You can only provide acs_user_id or user_identity_id. If you provide user_identity_id, you must also provide acs_system_id.

        Returns SeamHttpRequest<void, undefined>

  • get /action_attempts/get(): ((params?: {
        action_attempt_id: string;
    }, options?: ActionAttemptsGetOptions) => SeamHttpRequest<SetNonNullable<Required<{
        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: (...) | (...);
                        created_at: (...) | (...);
                        ends_at: (...) | (...);
                        is_issued: (...) | (...) | (...);
                        starts_at: (...) | (...);
                        visionline_metadata?: (...) | (...);
                    };
                    acs_credential_on_seam: null | {
                        access_method: (...) | (...) | (...);
                        acs_credential_id: string;
                        acs_credential_pool_id?: (...) | (...);
                        acs_system_id: string;
                        acs_user_id?: (...) | (...);
                        assa_abloy_vostio_metadata?: (...) | (...);
                        card_number?: (...) | (...) | (...);
                        code?: (...) | (...) | (...);
                        created_at: string;
                        display_name: string;
                        ends_at?: (...) | (...);
                        errors: (...)[];
                        external_type?:
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                        external_type_display_name?: (...) | (...);
                        is_issued?: (...) | (...) | (...);
                        is_latest_desired_state_synced_with_provider?:
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                        is_managed: true;
                        is_multi_phone_sync_credential?: (...) | (...) | (...);
                        is_one_time_use?: (...) | (...) | (...);
                        issued_at?: (...) | (...) | (...);
                        latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                        parent_acs_credential_id?: (...) | (...);
                        starts_at?: (...) | (...);
                        visionline_metadata?: (...) | (...);
                        warnings: (...)[];
                        workspace_id: string;
                    } | {
                        access_method: (...) | (...) | (...);
                        acs_credential_id: string;
                        acs_credential_pool_id?: (...) | (...);
                        acs_system_id: string;
                        acs_user_id?: (...) | (...);
                        assa_abloy_vostio_metadata?: (...) | (...);
                        card_number?: (...) | (...) | (...);
                        code?: (...) | (...) | (...);
                        created_at: string;
                        display_name: string;
                        ends_at?: (...) | (...);
                        errors: (...)[];
                        external_type?:
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                        external_type_display_name?: (...) | (...);
                        is_issued?: (...) | (...) | (...);
                        is_latest_desired_state_synced_with_provider?:
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                        is_managed: false;
                        is_multi_phone_sync_credential?: (...) | (...) | (...);
                        is_one_time_use?: (...) | (...) | (...);
                        issued_at?: (...) | (...) | (...);
                        latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                        parent_acs_credential_id?: (...) | (...);
                        starts_at?: (...) | (...);
                        visionline_metadata?: (...) | (...);
                        warnings: (...)[];
                        workspace_id: string;
                    };
                    warnings: {
                        warning_code: (...) | (...);
                        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_ACCESS_METHOD";
                error: null;
                result: null;
                status: "pending";
            }
            | {
                action_attempt_id: string;
                action_type: "ENCODE_ACCESS_METHOD";
                error: null;
                result: {
                    access_method_id: string;
                    created_at: string;
                    display_name: string;
                    instant_key_url?: string;
                    is_card_encoding_required?: boolean;
                    issued_at?: string;
                    mode: "code" | "card" | "mobile_key";
                    workspace_id: string;
                };
                status: "success";
            }
            | {
                action_attempt_id: string;
                action_type: "ENCODE_ACCESS_METHOD";
                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: "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?: {
                        auto_join?: ...;
                        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"
                        | "latch_access";
                    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?: {
                        auto_join?: ...;
                        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"
                        | "latch_access";
                    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;
                };
                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: "SIMULATE_KEYPAD_CODE_ENTRY";
                error: null;
                result: null;
                status: "pending";
            }
            | {
                action_attempt_id: string;
                action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                error: null;
                result: {};
                status: "success";
            }
            | {
                action_attempt_id: string;
                action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                error: {
                    message: string;
                    type: string;
                };
                result: null;
                status: "error";
            }
            | {
                action_attempt_id: string;
                action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                error: null;
                result: null;
                status: "pending";
            }
            | {
                action_attempt_id: string;
                action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                error: null;
                result: {};
                status: "success";
            }
            | {
                action_attempt_id: string;
                action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                error: {
                    message: string;
                    type: string;
                };
                result: null;
                status: "error";
            }
            | {
                action_attempt_id: string;
                action_type: "PUSH_THERMOSTAT_PROGRAMS";
                error: null;
                result: null;
                status: "pending";
            }
            | {
                action_attempt_id: string;
                action_type: "PUSH_THERMOSTAT_PROGRAMS";
                error: null;
                result: {};
                status: "success";
            }
            | {
                action_attempt_id: string;
                action_type: "PUSH_THERMOSTAT_PROGRAMS";
                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";
            };
    }>, "action_attempt">, "action_attempt">)
  • Returns ((params?: {
        action_attempt_id: string;
    }, options?: ActionAttemptsGetOptions) => SeamHttpRequest<SetNonNullable<Required<{
        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: (...) | (...);
                        created_at: (...) | (...);
                        ends_at: (...) | (...);
                        is_issued: (...) | (...) | (...);
                        starts_at: (...) | (...);
                        visionline_metadata?: (...) | (...);
                    };
                    acs_credential_on_seam: null | {
                        access_method: (...) | (...) | (...);
                        acs_credential_id: string;
                        acs_credential_pool_id?: (...) | (...);
                        acs_system_id: string;
                        acs_user_id?: (...) | (...);
                        assa_abloy_vostio_metadata?: (...) | (...);
                        card_number?: (...) | (...) | (...);
                        code?: (...) | (...) | (...);
                        created_at: string;
                        display_name: string;
                        ends_at?: (...) | (...);
                        errors: (...)[];
                        external_type?:
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                        external_type_display_name?: (...) | (...);
                        is_issued?: (...) | (...) | (...);
                        is_latest_desired_state_synced_with_provider?:
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                        is_managed: true;
                        is_multi_phone_sync_credential?: (...) | (...) | (...);
                        is_one_time_use?: (...) | (...) | (...);
                        issued_at?: (...) | (...) | (...);
                        latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                        parent_acs_credential_id?: (...) | (...);
                        starts_at?: (...) | (...);
                        visionline_metadata?: (...) | (...);
                        warnings: (...)[];
                        workspace_id: string;
                    } | {
                        access_method: (...) | (...) | (...);
                        acs_credential_id: string;
                        acs_credential_pool_id?: (...) | (...);
                        acs_system_id: string;
                        acs_user_id?: (...) | (...);
                        assa_abloy_vostio_metadata?: (...) | (...);
                        card_number?: (...) | (...) | (...);
                        code?: (...) | (...) | (...);
                        created_at: string;
                        display_name: string;
                        ends_at?: (...) | (...);
                        errors: (...)[];
                        external_type?:
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                        external_type_display_name?: (...) | (...);
                        is_issued?: (...) | (...) | (...);
                        is_latest_desired_state_synced_with_provider?:
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                        is_managed: false;
                        is_multi_phone_sync_credential?: (...) | (...) | (...);
                        is_one_time_use?: (...) | (...) | (...);
                        issued_at?: (...) | (...) | (...);
                        latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                        parent_acs_credential_id?: (...) | (...);
                        starts_at?: (...) | (...);
                        visionline_metadata?: (...) | (...);
                        warnings: (...)[];
                        workspace_id: string;
                    };
                    warnings: {
                        warning_code: (...) | (...);
                        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_ACCESS_METHOD";
                error: null;
                result: null;
                status: "pending";
            }
            | {
                action_attempt_id: string;
                action_type: "ENCODE_ACCESS_METHOD";
                error: null;
                result: {
                    access_method_id: string;
                    created_at: string;
                    display_name: string;
                    instant_key_url?: string;
                    is_card_encoding_required?: boolean;
                    issued_at?: string;
                    mode: "code" | "card" | "mobile_key";
                    workspace_id: string;
                };
                status: "success";
            }
            | {
                action_attempt_id: string;
                action_type: "ENCODE_ACCESS_METHOD";
                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: "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?: {
                        auto_join?: ...;
                        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"
                        | "latch_access";
                    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?: {
                        auto_join?: ...;
                        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"
                        | "latch_access";
                    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;
                };
                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: "SIMULATE_KEYPAD_CODE_ENTRY";
                error: null;
                result: null;
                status: "pending";
            }
            | {
                action_attempt_id: string;
                action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                error: null;
                result: {};
                status: "success";
            }
            | {
                action_attempt_id: string;
                action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                error: {
                    message: string;
                    type: string;
                };
                result: null;
                status: "error";
            }
            | {
                action_attempt_id: string;
                action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                error: null;
                result: null;
                status: "pending";
            }
            | {
                action_attempt_id: string;
                action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                error: null;
                result: {};
                status: "success";
            }
            | {
                action_attempt_id: string;
                action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                error: {
                    message: string;
                    type: string;
                };
                result: null;
                status: "error";
            }
            | {
                action_attempt_id: string;
                action_type: "PUSH_THERMOSTAT_PROGRAMS";
                error: null;
                result: null;
                status: "pending";
            }
            | {
                action_attempt_id: string;
                action_type: "PUSH_THERMOSTAT_PROGRAMS";
                error: null;
                result: {};
                status: "success";
            }
            | {
                action_attempt_id: string;
                action_type: "PUSH_THERMOSTAT_PROGRAMS";
                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";
            };
    }>, "action_attempt">, "action_attempt">)

      • (params?, options?): SeamHttpRequest<SetNonNullable<Required<{
            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: (...) | (...);
                            created_at: (...) | (...);
                            ends_at: (...) | (...);
                            is_issued: (...) | (...) | (...);
                            starts_at: (...) | (...);
                            visionline_metadata?: (...) | (...);
                        };
                        acs_credential_on_seam: null | {
                            access_method: (...) | (...) | (...);
                            acs_credential_id: string;
                            acs_credential_pool_id?: (...) | (...);
                            acs_system_id: string;
                            acs_user_id?: (...) | (...);
                            assa_abloy_vostio_metadata?: (...) | (...);
                            card_number?: (...) | (...) | (...);
                            code?: (...) | (...) | (...);
                            created_at: string;
                            display_name: string;
                            ends_at?: (...) | (...);
                            errors: (...)[];
                            external_type?:
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...);
                            external_type_display_name?: (...) | (...);
                            is_issued?: (...) | (...) | (...);
                            is_latest_desired_state_synced_with_provider?:
                                | (...)
                                | (...)
                                | (...)
                                | (...);
                            is_managed: true;
                            is_multi_phone_sync_credential?: (...) | (...) | (...);
                            is_one_time_use?: (...) | (...) | (...);
                            issued_at?: (...) | (...) | (...);
                            latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                            parent_acs_credential_id?: (...) | (...);
                            starts_at?: (...) | (...);
                            visionline_metadata?: (...) | (...);
                            warnings: (...)[];
                            workspace_id: string;
                        } | {
                            access_method: (...) | (...) | (...);
                            acs_credential_id: string;
                            acs_credential_pool_id?: (...) | (...);
                            acs_system_id: string;
                            acs_user_id?: (...) | (...);
                            assa_abloy_vostio_metadata?: (...) | (...);
                            card_number?: (...) | (...) | (...);
                            code?: (...) | (...) | (...);
                            created_at: string;
                            display_name: string;
                            ends_at?: (...) | (...);
                            errors: (...)[];
                            external_type?:
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...);
                            external_type_display_name?: (...) | (...);
                            is_issued?: (...) | (...) | (...);
                            is_latest_desired_state_synced_with_provider?:
                                | (...)
                                | (...)
                                | (...)
                                | (...);
                            is_managed: false;
                            is_multi_phone_sync_credential?: (...) | (...) | (...);
                            is_one_time_use?: (...) | (...) | (...);
                            issued_at?: (...) | (...) | (...);
                            latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                            parent_acs_credential_id?: (...) | (...);
                            starts_at?: (...) | (...);
                            visionline_metadata?: (...) | (...);
                            warnings: (...)[];
                            workspace_id: string;
                        };
                        warnings: {
                            warning_code: (...) | (...);
                            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_ACCESS_METHOD";
                    error: null;
                    result: null;
                    status: "pending";
                }
                | {
                    action_attempt_id: string;
                    action_type: "ENCODE_ACCESS_METHOD";
                    error: null;
                    result: {
                        access_method_id: string;
                        created_at: string;
                        display_name: string;
                        instant_key_url?: string;
                        is_card_encoding_required?: boolean;
                        issued_at?: string;
                        mode: "code" | "card" | "mobile_key";
                        workspace_id: string;
                    };
                    status: "success";
                }
                | {
                    action_attempt_id: string;
                    action_type: "ENCODE_ACCESS_METHOD";
                    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: "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?: {
                            auto_join?: ...;
                            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"
                            | "latch_access";
                        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?: {
                            auto_join?: ...;
                            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"
                            | "latch_access";
                        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;
                    };
                    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: "SIMULATE_KEYPAD_CODE_ENTRY";
                    error: null;
                    result: null;
                    status: "pending";
                }
                | {
                    action_attempt_id: string;
                    action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                    error: null;
                    result: {};
                    status: "success";
                }
                | {
                    action_attempt_id: string;
                    action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                    error: {
                        message: string;
                        type: string;
                    };
                    result: null;
                    status: "error";
                }
                | {
                    action_attempt_id: string;
                    action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                    error: null;
                    result: null;
                    status: "pending";
                }
                | {
                    action_attempt_id: string;
                    action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                    error: null;
                    result: {};
                    status: "success";
                }
                | {
                    action_attempt_id: string;
                    action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                    error: {
                        message: string;
                        type: string;
                    };
                    result: null;
                    status: "error";
                }
                | {
                    action_attempt_id: string;
                    action_type: "PUSH_THERMOSTAT_PROGRAMS";
                    error: null;
                    result: null;
                    status: "pending";
                }
                | {
                    action_attempt_id: string;
                    action_type: "PUSH_THERMOSTAT_PROGRAMS";
                    error: null;
                    result: {};
                    status: "success";
                }
                | {
                    action_attempt_id: string;
                    action_type: "PUSH_THERMOSTAT_PROGRAMS";
                    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";
                };
        }>, "action_attempt">, "action_attempt">
      • Parameters

        • Optionalparams: {
              action_attempt_id: string;
          }
          • action_attempt_id: string

            ID of the action attempt that you want to get.

        • options: ActionAttemptsGetOptions = {}

        Returns SeamHttpRequest<SetNonNullable<Required<{
            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: (...) | (...);
                            created_at: (...) | (...);
                            ends_at: (...) | (...);
                            is_issued: (...) | (...) | (...);
                            starts_at: (...) | (...);
                            visionline_metadata?: (...) | (...);
                        };
                        acs_credential_on_seam: null | {
                            access_method: (...) | (...) | (...);
                            acs_credential_id: string;
                            acs_credential_pool_id?: (...) | (...);
                            acs_system_id: string;
                            acs_user_id?: (...) | (...);
                            assa_abloy_vostio_metadata?: (...) | (...);
                            card_number?: (...) | (...) | (...);
                            code?: (...) | (...) | (...);
                            created_at: string;
                            display_name: string;
                            ends_at?: (...) | (...);
                            errors: (...)[];
                            external_type?:
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...);
                            external_type_display_name?: (...) | (...);
                            is_issued?: (...) | (...) | (...);
                            is_latest_desired_state_synced_with_provider?:
                                | (...)
                                | (...)
                                | (...)
                                | (...);
                            is_managed: true;
                            is_multi_phone_sync_credential?: (...) | (...) | (...);
                            is_one_time_use?: (...) | (...) | (...);
                            issued_at?: (...) | (...) | (...);
                            latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                            parent_acs_credential_id?: (...) | (...);
                            starts_at?: (...) | (...);
                            visionline_metadata?: (...) | (...);
                            warnings: (...)[];
                            workspace_id: string;
                        } | {
                            access_method: (...) | (...) | (...);
                            acs_credential_id: string;
                            acs_credential_pool_id?: (...) | (...);
                            acs_system_id: string;
                            acs_user_id?: (...) | (...);
                            assa_abloy_vostio_metadata?: (...) | (...);
                            card_number?: (...) | (...) | (...);
                            code?: (...) | (...) | (...);
                            created_at: string;
                            display_name: string;
                            ends_at?: (...) | (...);
                            errors: (...)[];
                            external_type?:
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...);
                            external_type_display_name?: (...) | (...);
                            is_issued?: (...) | (...) | (...);
                            is_latest_desired_state_synced_with_provider?:
                                | (...)
                                | (...)
                                | (...)
                                | (...);
                            is_managed: false;
                            is_multi_phone_sync_credential?: (...) | (...) | (...);
                            is_one_time_use?: (...) | (...) | (...);
                            issued_at?: (...) | (...) | (...);
                            latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                            parent_acs_credential_id?: (...) | (...);
                            starts_at?: (...) | (...);
                            visionline_metadata?: (...) | (...);
                            warnings: (...)[];
                            workspace_id: string;
                        };
                        warnings: {
                            warning_code: (...) | (...);
                            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_ACCESS_METHOD";
                    error: null;
                    result: null;
                    status: "pending";
                }
                | {
                    action_attempt_id: string;
                    action_type: "ENCODE_ACCESS_METHOD";
                    error: null;
                    result: {
                        access_method_id: string;
                        created_at: string;
                        display_name: string;
                        instant_key_url?: string;
                        is_card_encoding_required?: boolean;
                        issued_at?: string;
                        mode: "code" | "card" | "mobile_key";
                        workspace_id: string;
                    };
                    status: "success";
                }
                | {
                    action_attempt_id: string;
                    action_type: "ENCODE_ACCESS_METHOD";
                    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: "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?: {
                            auto_join?: ...;
                            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"
                            | "latch_access";
                        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?: {
                            auto_join?: ...;
                            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"
                            | "latch_access";
                        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;
                    };
                    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: "SIMULATE_KEYPAD_CODE_ENTRY";
                    error: null;
                    result: null;
                    status: "pending";
                }
                | {
                    action_attempt_id: string;
                    action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                    error: null;
                    result: {};
                    status: "success";
                }
                | {
                    action_attempt_id: string;
                    action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                    error: {
                        message: string;
                        type: string;
                    };
                    result: null;
                    status: "error";
                }
                | {
                    action_attempt_id: string;
                    action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                    error: null;
                    result: null;
                    status: "pending";
                }
                | {
                    action_attempt_id: string;
                    action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                    error: null;
                    result: {};
                    status: "success";
                }
                | {
                    action_attempt_id: string;
                    action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                    error: {
                        message: string;
                        type: string;
                    };
                    result: null;
                    status: "error";
                }
                | {
                    action_attempt_id: string;
                    action_type: "PUSH_THERMOSTAT_PROGRAMS";
                    error: null;
                    result: null;
                    status: "pending";
                }
                | {
                    action_attempt_id: string;
                    action_type: "PUSH_THERMOSTAT_PROGRAMS";
                    error: null;
                    result: {};
                    status: "success";
                }
                | {
                    action_attempt_id: string;
                    action_type: "PUSH_THERMOSTAT_PROGRAMS";
                    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";
                };
        }>, "action_attempt">, "action_attempt">

  • get /action_attempts/list(): ((params?: {
        action_attempt_ids: string[];
    }) => SeamHttpRequest<SetNonNullable<Required<{
        action_attempts: (
            | {
                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: ...;
                        created_at: ...;
                        ends_at: ...;
                        is_issued: ...;
                        starts_at: ...;
                        visionline_metadata?: ...;
                    };
                    acs_credential_on_seam: null | {
                        access_method: ...;
                        acs_credential_id: ...;
                        acs_credential_pool_id?: ...;
                        acs_system_id: ...;
                        acs_user_id?: ...;
                        assa_abloy_vostio_metadata?: ...;
                        card_number?: ...;
                        code?: ...;
                        created_at: ...;
                        display_name: ...;
                        ends_at?: ...;
                        errors: ...;
                        external_type?: ...;
                        external_type_display_name?: ...;
                        is_issued?: ...;
                        is_latest_desired_state_synced_with_provider?: ...;
                        is_managed: ...;
                        is_multi_phone_sync_credential?: ...;
                        is_one_time_use?: ...;
                        issued_at?: ...;
                        latest_desired_state_synced_with_provider_at?: ...;
                        parent_acs_credential_id?: ...;
                        starts_at?: ...;
                        visionline_metadata?: ...;
                        warnings: ...;
                        workspace_id: ...;
                    } | {
                        access_method: ...;
                        acs_credential_id: ...;
                        acs_credential_pool_id?: ...;
                        acs_system_id: ...;
                        acs_user_id?: ...;
                        assa_abloy_vostio_metadata?: ...;
                        card_number?: ...;
                        code?: ...;
                        created_at: ...;
                        display_name: ...;
                        ends_at?: ...;
                        errors: ...;
                        external_type?: ...;
                        external_type_display_name?: ...;
                        is_issued?: ...;
                        is_latest_desired_state_synced_with_provider?: ...;
                        is_managed: ...;
                        is_multi_phone_sync_credential?: ...;
                        is_one_time_use?: ...;
                        issued_at?: ...;
                        latest_desired_state_synced_with_provider_at?: ...;
                        parent_acs_credential_id?: ...;
                        starts_at?: ...;
                        visionline_metadata?: ...;
                        warnings: ...;
                        workspace_id: ...;
                    };
                    warnings: {
                        warning_code: ...;
                        warning_message: ...;
                    }[];
                };
                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_ACCESS_METHOD";
                error: null;
                result: null;
                status: "pending";
            }
            | {
                action_attempt_id: string;
                action_type: "ENCODE_ACCESS_METHOD";
                error: null;
                result: {
                    access_method_id: string;
                    created_at: string;
                    display_name: string;
                    instant_key_url?: string;
                    is_card_encoding_required?: boolean;
                    issued_at?: string;
                    mode: "code" | "card" | "mobile_key";
                    workspace_id: string;
                };
                status: "success";
            }
            | {
                action_attempt_id: string;
                action_type: "ENCODE_ACCESS_METHOD";
                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: "ENCODE_CREDENTIAL";
                error: null;
                result: null;
                status: "pending";
            }
            | {
                action_attempt_id: string;
                action_type: "ENCODE_CREDENTIAL";
                error: null;
                result: {
                    access_method: (...) | (...) | (...);
                    acs_credential_id: string;
                    acs_credential_pool_id?: (...) | (...);
                    acs_system_id: string;
                    acs_user_id?: (...) | (...);
                    assa_abloy_vostio_metadata?: (...) | (...);
                    card_number?: (...) | (...) | (...);
                    code?: (...) | (...) | (...);
                    created_at: string;
                    display_name: string;
                    ends_at?: (...) | (...);
                    errors: (...)[];
                    external_type?:
                        | (...)
                        | (...)
                        | (...)
                        | (...)
                        | (...)
                        | (...)
                        | (...)
                        | (...)
                        | (...);
                    external_type_display_name?: (...) | (...);
                    is_issued?: (...) | (...) | (...);
                    is_latest_desired_state_synced_with_provider?:
                        | (...)
                        | (...)
                        | (...)
                        | (...);
                    is_managed: true;
                    is_multi_phone_sync_credential?: (...) | (...) | (...);
                    is_one_time_use?: (...) | (...) | (...);
                    issued_at?: (...) | (...) | (...);
                    latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                    parent_acs_credential_id?: (...) | (...);
                    starts_at?: (...) | (...);
                    visionline_metadata?: (...) | (...);
                    warnings: (...)[];
                    workspace_id: string;
                } | {
                    access_method: (...) | (...) | (...);
                    acs_credential_id: string;
                    acs_credential_pool_id?: (...) | (...);
                    acs_system_id: string;
                    acs_user_id?: (...) | (...);
                    assa_abloy_vostio_metadata?: (...) | (...);
                    card_number?: (...) | (...) | (...);
                    code?: (...) | (...) | (...);
                    created_at: string;
                    display_name: string;
                    ends_at?: (...) | (...);
                    errors: (...)[];
                    external_type?:
                        | (...)
                        | (...)
                        | (...)
                        | (...)
                        | (...)
                        | (...)
                        | (...)
                        | (...)
                        | (...);
                    external_type_display_name?: (...) | (...);
                    is_issued?: (...) | (...) | (...);
                    is_latest_desired_state_synced_with_provider?:
                        | (...)
                        | (...)
                        | (...)
                        | (...);
                    is_managed: false;
                    is_multi_phone_sync_credential?: (...) | (...) | (...);
                    is_one_time_use?: (...) | (...) | (...);
                    issued_at?: (...) | (...) | (...);
                    latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                    parent_acs_credential_id?: (...) | (...);
                    starts_at?: (...) | (...);
                    visionline_metadata?: (...) | (...);
                    warnings: (...)[];
                    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: "SIMULATE_KEYPAD_CODE_ENTRY";
                error: null;
                result: null;
                status: "pending";
            }
            | {
                action_attempt_id: string;
                action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                error: null;
                result: {};
                status: "success";
            }
            | {
                action_attempt_id: string;
                action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                error: {
                    message: string;
                    type: string;
                };
                result: null;
                status: "error";
            }
            | {
                action_attempt_id: string;
                action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                error: null;
                result: null;
                status: "pending";
            }
            | {
                action_attempt_id: string;
                action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                error: null;
                result: {};
                status: "success";
            }
            | {
                action_attempt_id: string;
                action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                error: {
                    message: string;
                    type: string;
                };
                result: null;
                status: "error";
            }
            | {
                action_attempt_id: string;
                action_type: "PUSH_THERMOSTAT_PROGRAMS";
                error: null;
                result: null;
                status: "pending";
            }
            | {
                action_attempt_id: string;
                action_type: "PUSH_THERMOSTAT_PROGRAMS";
                error: null;
                result: {};
                status: "success";
            }
            | {
                action_attempt_id: string;
                action_type: "PUSH_THERMOSTAT_PROGRAMS";
                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";
            })[];
    }>, "action_attempts">, "action_attempts">)
  • Returns ((params?: {
        action_attempt_ids: string[];
    }) => SeamHttpRequest<SetNonNullable<Required<{
        action_attempts: (
            | {
                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: ...;
                        created_at: ...;
                        ends_at: ...;
                        is_issued: ...;
                        starts_at: ...;
                        visionline_metadata?: ...;
                    };
                    acs_credential_on_seam: null | {
                        access_method: ...;
                        acs_credential_id: ...;
                        acs_credential_pool_id?: ...;
                        acs_system_id: ...;
                        acs_user_id?: ...;
                        assa_abloy_vostio_metadata?: ...;
                        card_number?: ...;
                        code?: ...;
                        created_at: ...;
                        display_name: ...;
                        ends_at?: ...;
                        errors: ...;
                        external_type?: ...;
                        external_type_display_name?: ...;
                        is_issued?: ...;
                        is_latest_desired_state_synced_with_provider?: ...;
                        is_managed: ...;
                        is_multi_phone_sync_credential?: ...;
                        is_one_time_use?: ...;
                        issued_at?: ...;
                        latest_desired_state_synced_with_provider_at?: ...;
                        parent_acs_credential_id?: ...;
                        starts_at?: ...;
                        visionline_metadata?: ...;
                        warnings: ...;
                        workspace_id: ...;
                    } | {
                        access_method: ...;
                        acs_credential_id: ...;
                        acs_credential_pool_id?: ...;
                        acs_system_id: ...;
                        acs_user_id?: ...;
                        assa_abloy_vostio_metadata?: ...;
                        card_number?: ...;
                        code?: ...;
                        created_at: ...;
                        display_name: ...;
                        ends_at?: ...;
                        errors: ...;
                        external_type?: ...;
                        external_type_display_name?: ...;
                        is_issued?: ...;
                        is_latest_desired_state_synced_with_provider?: ...;
                        is_managed: ...;
                        is_multi_phone_sync_credential?: ...;
                        is_one_time_use?: ...;
                        issued_at?: ...;
                        latest_desired_state_synced_with_provider_at?: ...;
                        parent_acs_credential_id?: ...;
                        starts_at?: ...;
                        visionline_metadata?: ...;
                        warnings: ...;
                        workspace_id: ...;
                    };
                    warnings: {
                        warning_code: ...;
                        warning_message: ...;
                    }[];
                };
                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_ACCESS_METHOD";
                error: null;
                result: null;
                status: "pending";
            }
            | {
                action_attempt_id: string;
                action_type: "ENCODE_ACCESS_METHOD";
                error: null;
                result: {
                    access_method_id: string;
                    created_at: string;
                    display_name: string;
                    instant_key_url?: string;
                    is_card_encoding_required?: boolean;
                    issued_at?: string;
                    mode: "code" | "card" | "mobile_key";
                    workspace_id: string;
                };
                status: "success";
            }
            | {
                action_attempt_id: string;
                action_type: "ENCODE_ACCESS_METHOD";
                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: "ENCODE_CREDENTIAL";
                error: null;
                result: null;
                status: "pending";
            }
            | {
                action_attempt_id: string;
                action_type: "ENCODE_CREDENTIAL";
                error: null;
                result: {
                    access_method: (...) | (...) | (...);
                    acs_credential_id: string;
                    acs_credential_pool_id?: (...) | (...);
                    acs_system_id: string;
                    acs_user_id?: (...) | (...);
                    assa_abloy_vostio_metadata?: (...) | (...);
                    card_number?: (...) | (...) | (...);
                    code?: (...) | (...) | (...);
                    created_at: string;
                    display_name: string;
                    ends_at?: (...) | (...);
                    errors: (...)[];
                    external_type?:
                        | (...)
                        | (...)
                        | (...)
                        | (...)
                        | (...)
                        | (...)
                        | (...)
                        | (...)
                        | (...);
                    external_type_display_name?: (...) | (...);
                    is_issued?: (...) | (...) | (...);
                    is_latest_desired_state_synced_with_provider?:
                        | (...)
                        | (...)
                        | (...)
                        | (...);
                    is_managed: true;
                    is_multi_phone_sync_credential?: (...) | (...) | (...);
                    is_one_time_use?: (...) | (...) | (...);
                    issued_at?: (...) | (...) | (...);
                    latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                    parent_acs_credential_id?: (...) | (...);
                    starts_at?: (...) | (...);
                    visionline_metadata?: (...) | (...);
                    warnings: (...)[];
                    workspace_id: string;
                } | {
                    access_method: (...) | (...) | (...);
                    acs_credential_id: string;
                    acs_credential_pool_id?: (...) | (...);
                    acs_system_id: string;
                    acs_user_id?: (...) | (...);
                    assa_abloy_vostio_metadata?: (...) | (...);
                    card_number?: (...) | (...) | (...);
                    code?: (...) | (...) | (...);
                    created_at: string;
                    display_name: string;
                    ends_at?: (...) | (...);
                    errors: (...)[];
                    external_type?:
                        | (...)
                        | (...)
                        | (...)
                        | (...)
                        | (...)
                        | (...)
                        | (...)
                        | (...)
                        | (...);
                    external_type_display_name?: (...) | (...);
                    is_issued?: (...) | (...) | (...);
                    is_latest_desired_state_synced_with_provider?:
                        | (...)
                        | (...)
                        | (...)
                        | (...);
                    is_managed: false;
                    is_multi_phone_sync_credential?: (...) | (...) | (...);
                    is_one_time_use?: (...) | (...) | (...);
                    issued_at?: (...) | (...) | (...);
                    latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                    parent_acs_credential_id?: (...) | (...);
                    starts_at?: (...) | (...);
                    visionline_metadata?: (...) | (...);
                    warnings: (...)[];
                    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: "SIMULATE_KEYPAD_CODE_ENTRY";
                error: null;
                result: null;
                status: "pending";
            }
            | {
                action_attempt_id: string;
                action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                error: null;
                result: {};
                status: "success";
            }
            | {
                action_attempt_id: string;
                action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                error: {
                    message: string;
                    type: string;
                };
                result: null;
                status: "error";
            }
            | {
                action_attempt_id: string;
                action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                error: null;
                result: null;
                status: "pending";
            }
            | {
                action_attempt_id: string;
                action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                error: null;
                result: {};
                status: "success";
            }
            | {
                action_attempt_id: string;
                action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                error: {
                    message: string;
                    type: string;
                };
                result: null;
                status: "error";
            }
            | {
                action_attempt_id: string;
                action_type: "PUSH_THERMOSTAT_PROGRAMS";
                error: null;
                result: null;
                status: "pending";
            }
            | {
                action_attempt_id: string;
                action_type: "PUSH_THERMOSTAT_PROGRAMS";
                error: null;
                result: {};
                status: "success";
            }
            | {
                action_attempt_id: string;
                action_type: "PUSH_THERMOSTAT_PROGRAMS";
                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";
            })[];
    }>, "action_attempts">, "action_attempts">)

      • (params?): SeamHttpRequest<SetNonNullable<Required<{
            action_attempts: (
                | {
                    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: ...;
                            created_at: ...;
                            ends_at: ...;
                            is_issued: ...;
                            starts_at: ...;
                            visionline_metadata?: ...;
                        };
                        acs_credential_on_seam: null | {
                            access_method: ...;
                            acs_credential_id: ...;
                            acs_credential_pool_id?: ...;
                            acs_system_id: ...;
                            acs_user_id?: ...;
                            assa_abloy_vostio_metadata?: ...;
                            card_number?: ...;
                            code?: ...;
                            created_at: ...;
                            display_name: ...;
                            ends_at?: ...;
                            errors: ...;
                            external_type?: ...;
                            external_type_display_name?: ...;
                            is_issued?: ...;
                            is_latest_desired_state_synced_with_provider?: ...;
                            is_managed: ...;
                            is_multi_phone_sync_credential?: ...;
                            is_one_time_use?: ...;
                            issued_at?: ...;
                            latest_desired_state_synced_with_provider_at?: ...;
                            parent_acs_credential_id?: ...;
                            starts_at?: ...;
                            visionline_metadata?: ...;
                            warnings: ...;
                            workspace_id: ...;
                        } | {
                            access_method: ...;
                            acs_credential_id: ...;
                            acs_credential_pool_id?: ...;
                            acs_system_id: ...;
                            acs_user_id?: ...;
                            assa_abloy_vostio_metadata?: ...;
                            card_number?: ...;
                            code?: ...;
                            created_at: ...;
                            display_name: ...;
                            ends_at?: ...;
                            errors: ...;
                            external_type?: ...;
                            external_type_display_name?: ...;
                            is_issued?: ...;
                            is_latest_desired_state_synced_with_provider?: ...;
                            is_managed: ...;
                            is_multi_phone_sync_credential?: ...;
                            is_one_time_use?: ...;
                            issued_at?: ...;
                            latest_desired_state_synced_with_provider_at?: ...;
                            parent_acs_credential_id?: ...;
                            starts_at?: ...;
                            visionline_metadata?: ...;
                            warnings: ...;
                            workspace_id: ...;
                        };
                        warnings: {
                            warning_code: ...;
                            warning_message: ...;
                        }[];
                    };
                    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_ACCESS_METHOD";
                    error: null;
                    result: null;
                    status: "pending";
                }
                | {
                    action_attempt_id: string;
                    action_type: "ENCODE_ACCESS_METHOD";
                    error: null;
                    result: {
                        access_method_id: string;
                        created_at: string;
                        display_name: string;
                        instant_key_url?: string;
                        is_card_encoding_required?: boolean;
                        issued_at?: string;
                        mode: "code" | "card" | "mobile_key";
                        workspace_id: string;
                    };
                    status: "success";
                }
                | {
                    action_attempt_id: string;
                    action_type: "ENCODE_ACCESS_METHOD";
                    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: "ENCODE_CREDENTIAL";
                    error: null;
                    result: null;
                    status: "pending";
                }
                | {
                    action_attempt_id: string;
                    action_type: "ENCODE_CREDENTIAL";
                    error: null;
                    result: {
                        access_method: (...) | (...) | (...);
                        acs_credential_id: string;
                        acs_credential_pool_id?: (...) | (...);
                        acs_system_id: string;
                        acs_user_id?: (...) | (...);
                        assa_abloy_vostio_metadata?: (...) | (...);
                        card_number?: (...) | (...) | (...);
                        code?: (...) | (...) | (...);
                        created_at: string;
                        display_name: string;
                        ends_at?: (...) | (...);
                        errors: (...)[];
                        external_type?:
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                        external_type_display_name?: (...) | (...);
                        is_issued?: (...) | (...) | (...);
                        is_latest_desired_state_synced_with_provider?:
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                        is_managed: true;
                        is_multi_phone_sync_credential?: (...) | (...) | (...);
                        is_one_time_use?: (...) | (...) | (...);
                        issued_at?: (...) | (...) | (...);
                        latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                        parent_acs_credential_id?: (...) | (...);
                        starts_at?: (...) | (...);
                        visionline_metadata?: (...) | (...);
                        warnings: (...)[];
                        workspace_id: string;
                    } | {
                        access_method: (...) | (...) | (...);
                        acs_credential_id: string;
                        acs_credential_pool_id?: (...) | (...);
                        acs_system_id: string;
                        acs_user_id?: (...) | (...);
                        assa_abloy_vostio_metadata?: (...) | (...);
                        card_number?: (...) | (...) | (...);
                        code?: (...) | (...) | (...);
                        created_at: string;
                        display_name: string;
                        ends_at?: (...) | (...);
                        errors: (...)[];
                        external_type?:
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                        external_type_display_name?: (...) | (...);
                        is_issued?: (...) | (...) | (...);
                        is_latest_desired_state_synced_with_provider?:
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                        is_managed: false;
                        is_multi_phone_sync_credential?: (...) | (...) | (...);
                        is_one_time_use?: (...) | (...) | (...);
                        issued_at?: (...) | (...) | (...);
                        latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                        parent_acs_credential_id?: (...) | (...);
                        starts_at?: (...) | (...);
                        visionline_metadata?: (...) | (...);
                        warnings: (...)[];
                        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: "SIMULATE_KEYPAD_CODE_ENTRY";
                    error: null;
                    result: null;
                    status: "pending";
                }
                | {
                    action_attempt_id: string;
                    action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                    error: null;
                    result: {};
                    status: "success";
                }
                | {
                    action_attempt_id: string;
                    action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                    error: {
                        message: string;
                        type: string;
                    };
                    result: null;
                    status: "error";
                }
                | {
                    action_attempt_id: string;
                    action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                    error: null;
                    result: null;
                    status: "pending";
                }
                | {
                    action_attempt_id: string;
                    action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                    error: null;
                    result: {};
                    status: "success";
                }
                | {
                    action_attempt_id: string;
                    action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                    error: {
                        message: string;
                        type: string;
                    };
                    result: null;
                    status: "error";
                }
                | {
                    action_attempt_id: string;
                    action_type: "PUSH_THERMOSTAT_PROGRAMS";
                    error: null;
                    result: null;
                    status: "pending";
                }
                | {
                    action_attempt_id: string;
                    action_type: "PUSH_THERMOSTAT_PROGRAMS";
                    error: null;
                    result: {};
                    status: "success";
                }
                | {
                    action_attempt_id: string;
                    action_type: "PUSH_THERMOSTAT_PROGRAMS";
                    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";
                })[];
        }>, "action_attempts">, "action_attempts">
      • Parameters

        • Optionalparams: {
              action_attempt_ids: string[];
          }
          • action_attempt_ids: string[]

            IDs of the action attempts that you want to retrieve.

        Returns SeamHttpRequest<SetNonNullable<Required<{
            action_attempts: (
                | {
                    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: ...;
                            created_at: ...;
                            ends_at: ...;
                            is_issued: ...;
                            starts_at: ...;
                            visionline_metadata?: ...;
                        };
                        acs_credential_on_seam: null | {
                            access_method: ...;
                            acs_credential_id: ...;
                            acs_credential_pool_id?: ...;
                            acs_system_id: ...;
                            acs_user_id?: ...;
                            assa_abloy_vostio_metadata?: ...;
                            card_number?: ...;
                            code?: ...;
                            created_at: ...;
                            display_name: ...;
                            ends_at?: ...;
                            errors: ...;
                            external_type?: ...;
                            external_type_display_name?: ...;
                            is_issued?: ...;
                            is_latest_desired_state_synced_with_provider?: ...;
                            is_managed: ...;
                            is_multi_phone_sync_credential?: ...;
                            is_one_time_use?: ...;
                            issued_at?: ...;
                            latest_desired_state_synced_with_provider_at?: ...;
                            parent_acs_credential_id?: ...;
                            starts_at?: ...;
                            visionline_metadata?: ...;
                            warnings: ...;
                            workspace_id: ...;
                        } | {
                            access_method: ...;
                            acs_credential_id: ...;
                            acs_credential_pool_id?: ...;
                            acs_system_id: ...;
                            acs_user_id?: ...;
                            assa_abloy_vostio_metadata?: ...;
                            card_number?: ...;
                            code?: ...;
                            created_at: ...;
                            display_name: ...;
                            ends_at?: ...;
                            errors: ...;
                            external_type?: ...;
                            external_type_display_name?: ...;
                            is_issued?: ...;
                            is_latest_desired_state_synced_with_provider?: ...;
                            is_managed: ...;
                            is_multi_phone_sync_credential?: ...;
                            is_one_time_use?: ...;
                            issued_at?: ...;
                            latest_desired_state_synced_with_provider_at?: ...;
                            parent_acs_credential_id?: ...;
                            starts_at?: ...;
                            visionline_metadata?: ...;
                            warnings: ...;
                            workspace_id: ...;
                        };
                        warnings: {
                            warning_code: ...;
                            warning_message: ...;
                        }[];
                    };
                    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_ACCESS_METHOD";
                    error: null;
                    result: null;
                    status: "pending";
                }
                | {
                    action_attempt_id: string;
                    action_type: "ENCODE_ACCESS_METHOD";
                    error: null;
                    result: {
                        access_method_id: string;
                        created_at: string;
                        display_name: string;
                        instant_key_url?: string;
                        is_card_encoding_required?: boolean;
                        issued_at?: string;
                        mode: "code" | "card" | "mobile_key";
                        workspace_id: string;
                    };
                    status: "success";
                }
                | {
                    action_attempt_id: string;
                    action_type: "ENCODE_ACCESS_METHOD";
                    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: "ENCODE_CREDENTIAL";
                    error: null;
                    result: null;
                    status: "pending";
                }
                | {
                    action_attempt_id: string;
                    action_type: "ENCODE_CREDENTIAL";
                    error: null;
                    result: {
                        access_method: (...) | (...) | (...);
                        acs_credential_id: string;
                        acs_credential_pool_id?: (...) | (...);
                        acs_system_id: string;
                        acs_user_id?: (...) | (...);
                        assa_abloy_vostio_metadata?: (...) | (...);
                        card_number?: (...) | (...) | (...);
                        code?: (...) | (...) | (...);
                        created_at: string;
                        display_name: string;
                        ends_at?: (...) | (...);
                        errors: (...)[];
                        external_type?:
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                        external_type_display_name?: (...) | (...);
                        is_issued?: (...) | (...) | (...);
                        is_latest_desired_state_synced_with_provider?:
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                        is_managed: true;
                        is_multi_phone_sync_credential?: (...) | (...) | (...);
                        is_one_time_use?: (...) | (...) | (...);
                        issued_at?: (...) | (...) | (...);
                        latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                        parent_acs_credential_id?: (...) | (...);
                        starts_at?: (...) | (...);
                        visionline_metadata?: (...) | (...);
                        warnings: (...)[];
                        workspace_id: string;
                    } | {
                        access_method: (...) | (...) | (...);
                        acs_credential_id: string;
                        acs_credential_pool_id?: (...) | (...);
                        acs_system_id: string;
                        acs_user_id?: (...) | (...);
                        assa_abloy_vostio_metadata?: (...) | (...);
                        card_number?: (...) | (...) | (...);
                        code?: (...) | (...) | (...);
                        created_at: string;
                        display_name: string;
                        ends_at?: (...) | (...);
                        errors: (...)[];
                        external_type?:
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                        external_type_display_name?: (...) | (...);
                        is_issued?: (...) | (...) | (...);
                        is_latest_desired_state_synced_with_provider?:
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                        is_managed: false;
                        is_multi_phone_sync_credential?: (...) | (...) | (...);
                        is_one_time_use?: (...) | (...) | (...);
                        issued_at?: (...) | (...) | (...);
                        latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                        parent_acs_credential_id?: (...) | (...);
                        starts_at?: (...) | (...);
                        visionline_metadata?: (...) | (...);
                        warnings: (...)[];
                        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: "SIMULATE_KEYPAD_CODE_ENTRY";
                    error: null;
                    result: null;
                    status: "pending";
                }
                | {
                    action_attempt_id: string;
                    action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                    error: null;
                    result: {};
                    status: "success";
                }
                | {
                    action_attempt_id: string;
                    action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                    error: {
                        message: string;
                        type: string;
                    };
                    result: null;
                    status: "error";
                }
                | {
                    action_attempt_id: string;
                    action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                    error: null;
                    result: null;
                    status: "pending";
                }
                | {
                    action_attempt_id: string;
                    action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                    error: null;
                    result: {};
                    status: "success";
                }
                | {
                    action_attempt_id: string;
                    action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                    error: {
                        message: string;
                        type: string;
                    };
                    result: null;
                    status: "error";
                }
                | {
                    action_attempt_id: string;
                    action_type: "PUSH_THERMOSTAT_PROGRAMS";
                    error: null;
                    result: null;
                    status: "pending";
                }
                | {
                    action_attempt_id: string;
                    action_type: "PUSH_THERMOSTAT_PROGRAMS";
                    error: null;
                    result: {};
                    status: "success";
                }
                | {
                    action_attempt_id: string;
                    action_type: "PUSH_THERMOSTAT_PROGRAMS";
                    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";
                })[];
        }>, "action_attempts">, "action_attempts">

  • get /client_sessions/create(): ((body?: {
        connect_webview_ids?: string[];
        connected_account_ids?: string[];
        customer_id?: string;
        customer_key?: string;
        expires_at?: Date;
        user_identifier_key?: string;
        user_identity_id?: string;
        user_identity_ids?: string[];
    }) => SeamHttpRequest<SetNonNullable<Required<{
        client_session: {
            client_session_id: string;
            connect_webview_ids: string[];
            connected_account_ids: string[];
            created_at: string;
            customer_id?: string;
            device_count: number;
            expires_at: string;
            token: string;
            user_identifier_key: null | string;
            user_identity_id?: string;
            user_identity_ids: string[];
            workspace_id: string;
        };
    }>, "client_session">, "client_session">)
  • Returns ((body?: {
        connect_webview_ids?: string[];
        connected_account_ids?: string[];
        customer_id?: string;
        customer_key?: string;
        expires_at?: Date;
        user_identifier_key?: string;
        user_identity_id?: string;
        user_identity_ids?: string[];
    }) => SeamHttpRequest<SetNonNullable<Required<{
        client_session: {
            client_session_id: string;
            connect_webview_ids: string[];
            connected_account_ids: string[];
            created_at: string;
            customer_id?: string;
            device_count: number;
            expires_at: string;
            token: string;
            user_identifier_key: null | string;
            user_identity_id?: string;
            user_identity_ids: string[];
            workspace_id: string;
        };
    }>, "client_session">, "client_session">)

      • (body?): SeamHttpRequest<SetNonNullable<Required<{
            client_session: {
                client_session_id: string;
                connect_webview_ids: string[];
                connected_account_ids: string[];
                created_at: string;
                customer_id?: string;
                device_count: number;
                expires_at: string;
                token: string;
                user_identifier_key: null | string;
                user_identity_id?: string;
                user_identity_ids: string[];
                workspace_id: string;
            };
        }>, "client_session">, "client_session">
      • Parameters

        • Optionalbody: {
              connect_webview_ids?: string[];
              connected_account_ids?: string[];
              customer_id?: string;
              customer_key?: string;
              expires_at?: Date;
              user_identifier_key?: string;
              user_identity_id?: string;
              user_identity_ids?: string[];
          }
          • Optionalconnect_webview_ids?: string[]

            IDs of the Connect Webviews for which you want to create a client session.

          • Optionalconnected_account_ids?: string[]

            IDs of the connected accounts for which you want to create a client session.

          • Optionalcustomer_id?: string

            Customer ID that you want to associate with the new client session.

          • Optionalcustomer_key?: string

            Customer key that you want to associate with the new client session.

          • Optionalexpires_at?: Date

            Date and time at which the client session should expire, in ISO 8601 format.

          • Optionaluser_identifier_key?: string

            Your user ID for the user for whom you want to create a client session.

          • Optionaluser_identity_id?: string

            ID of the user identity for which you want to create a client session.

          • Optionaluser_identity_ids?: string[]

            IDs of the user identities that you want to associate with the client session.

            Use user_identity_id instead.

        Returns SeamHttpRequest<SetNonNullable<Required<{
            client_session: {
                client_session_id: string;
                connect_webview_ids: string[];
                connected_account_ids: string[];
                created_at: string;
                customer_id?: string;
                device_count: number;
                expires_at: string;
                token: string;
                user_identifier_key: null | string;
                user_identity_id?: string;
                user_identity_ids: string[];
                workspace_id: string;
            };
        }>, "client_session">, "client_session">

  • get /client_sessions/delete(): ((params?: {
        client_session_id: string;
    }) => SeamHttpRequest<void, undefined>)
  • Returns ((params?: {
        client_session_id: string;
    }) => SeamHttpRequest<void, undefined>)

      • (params?): SeamHttpRequest<void, undefined>
      • Parameters

        • Optionalparams: {
              client_session_id: string;
          }
          • client_session_id: string

            ID of the client session that you want to delete.

        Returns SeamHttpRequest<void, undefined>

  • get /client_sessions/get(): ((params?: {
        client_session_id?: string;
        user_identifier_key?: string;
    }) => SeamHttpRequest<SetNonNullable<Required<{
        client_session: {
            client_session_id: string;
            connect_webview_ids: string[];
            connected_account_ids: string[];
            created_at: string;
            customer_id?: string;
            device_count: number;
            expires_at: string;
            token: string;
            user_identifier_key: null | string;
            user_identity_id?: string;
            user_identity_ids: string[];
            workspace_id: string;
        };
    }>, "client_session">, "client_session">)
  • Returns ((params?: {
        client_session_id?: string;
        user_identifier_key?: string;
    }) => SeamHttpRequest<SetNonNullable<Required<{
        client_session: {
            client_session_id: string;
            connect_webview_ids: string[];
            connected_account_ids: string[];
            created_at: string;
            customer_id?: string;
            device_count: number;
            expires_at: string;
            token: string;
            user_identifier_key: null | string;
            user_identity_id?: string;
            user_identity_ids: string[];
            workspace_id: string;
        };
    }>, "client_session">, "client_session">)

      • (params?): SeamHttpRequest<SetNonNullable<Required<{
            client_session: {
                client_session_id: string;
                connect_webview_ids: string[];
                connected_account_ids: string[];
                created_at: string;
                customer_id?: string;
                device_count: number;
                expires_at: string;
                token: string;
                user_identifier_key: null | string;
                user_identity_id?: string;
                user_identity_ids: string[];
                workspace_id: string;
            };
        }>, "client_session">, "client_session">
      • Parameters

        • Optionalparams: {
              client_session_id?: string;
              user_identifier_key?: string;
          }
          • Optionalclient_session_id?: string

            ID of the client session that you want to get.

          • Optionaluser_identifier_key?: string

            User identifier key associated with the client session that you want to get.

        Returns SeamHttpRequest<SetNonNullable<Required<{
            client_session: {
                client_session_id: string;
                connect_webview_ids: string[];
                connected_account_ids: string[];
                created_at: string;
                customer_id?: string;
                device_count: number;
                expires_at: string;
                token: string;
                user_identifier_key: null | string;
                user_identity_id?: string;
                user_identity_ids: string[];
                workspace_id: string;
            };
        }>, "client_session">, "client_session">

  • get /client_sessions/get_or_create(): ((body?: {
        connect_webview_ids?: string[];
        connected_account_ids?: string[];
        expires_at?: Date;
        user_identifier_key?: string;
        user_identity_id?: string;
        user_identity_ids?: string[];
    }) => SeamHttpRequest<SetNonNullable<Required<{
        client_session: {
            client_session_id: string;
            connect_webview_ids: string[];
            connected_account_ids: string[];
            created_at: string;
            customer_id?: string;
            device_count: number;
            expires_at: string;
            token: string;
            user_identifier_key: null | string;
            user_identity_id?: string;
            user_identity_ids: string[];
            workspace_id: string;
        };
    }>, "client_session">, "client_session">)
  • Returns ((body?: {
        connect_webview_ids?: string[];
        connected_account_ids?: string[];
        expires_at?: Date;
        user_identifier_key?: string;
        user_identity_id?: string;
        user_identity_ids?: string[];
    }) => SeamHttpRequest<SetNonNullable<Required<{
        client_session: {
            client_session_id: string;
            connect_webview_ids: string[];
            connected_account_ids: string[];
            created_at: string;
            customer_id?: string;
            device_count: number;
            expires_at: string;
            token: string;
            user_identifier_key: null | string;
            user_identity_id?: string;
            user_identity_ids: string[];
            workspace_id: string;
        };
    }>, "client_session">, "client_session">)

      • (body?): SeamHttpRequest<SetNonNullable<Required<{
            client_session: {
                client_session_id: string;
                connect_webview_ids: string[];
                connected_account_ids: string[];
                created_at: string;
                customer_id?: string;
                device_count: number;
                expires_at: string;
                token: string;
                user_identifier_key: null | string;
                user_identity_id?: string;
                user_identity_ids: string[];
                workspace_id: string;
            };
        }>, "client_session">, "client_session">
      • Parameters

        • Optionalbody: {
              connect_webview_ids?: string[];
              connected_account_ids?: string[];
              expires_at?: Date;
              user_identifier_key?: string;
              user_identity_id?: string;
              user_identity_ids?: string[];
          }
          • Optionalconnect_webview_ids?: string[]

            IDs of the Connect Webviews that you want to associate with the client session (or that are already associated with the existing client session).

          • Optionalconnected_account_ids?: string[]

            IDs of the connected accounts that you want to associate with the client session (or that are already associated with the existing client session).

          • Optionalexpires_at?: Date

            Date and time at which the client session should expire (or at which the existing client session expires), in ISO 8601 format.

          • Optionaluser_identifier_key?: string

            Your user ID for the user that you want to associate with the client session (or that is already associated with the existing client session).

          • Optionaluser_identity_id?: string

            ID of the user identity that you want to associate with the client session (or that are already associated with the existing client session).

          • Optionaluser_identity_ids?: string[]

            IDs of the user identities that you want to associate with the client session.

            Use user_identity_id.

        Returns SeamHttpRequest<SetNonNullable<Required<{
            client_session: {
                client_session_id: string;
                connect_webview_ids: string[];
                connected_account_ids: string[];
                created_at: string;
                customer_id?: string;
                device_count: number;
                expires_at: string;
                token: string;
                user_identifier_key: null | string;
                user_identity_id?: string;
                user_identity_ids: string[];
                workspace_id: string;
            };
        }>, "client_session">, "client_session">

  • get /client_sessions/grant_access(): ((body?: {
        client_session_id?: string;
        connect_webview_ids?: string[];
        connected_account_ids?: string[];
        user_identifier_key?: string;
        user_identity_id?: string;
        user_identity_ids?: string[];
    }) => SeamHttpRequest<void, undefined>)
  • Returns ((body?: {
        client_session_id?: string;
        connect_webview_ids?: string[];
        connected_account_ids?: string[];
        user_identifier_key?: string;
        user_identity_id?: string;
        user_identity_ids?: string[];
    }) => SeamHttpRequest<void, undefined>)

      • (body?): SeamHttpRequest<void, undefined>
      • Parameters

        • Optionalbody: {
              client_session_id?: string;
              connect_webview_ids?: string[];
              connected_account_ids?: string[];
              user_identifier_key?: string;
              user_identity_id?: string;
              user_identity_ids?: string[];
          }
          • Optionalclient_session_id?: string

            ID of the client session to which you want to grant access to resources.

          • Optionalconnect_webview_ids?: string[]

            IDs of the Connect Webviews that you want to associate with the client session.

          • Optionalconnected_account_ids?: string[]

            IDs of the connected accounts that you want to associate with the client session.

          • Optionaluser_identifier_key?: string

            Your user ID for the user that you want to associate with the client session.

          • Optionaluser_identity_id?: string

            ID of the user identity that you want to associate with the client session.

          • Optionaluser_identity_ids?: string[]

            IDs of the user identities that you want to associate with the client session.

            Use user_identity_id.

        Returns SeamHttpRequest<void, undefined>

  • get /client_sessions/list(): ((params?: {
        client_session_id?: string;
        connect_webview_id?: string;
        user_identifier_key?: string;
        user_identity_id?: string;
        without_user_identifier_key?: boolean;
    }) => SeamHttpRequest<SetNonNullable<Required<{
        client_sessions: {
            client_session_id: string;
            connect_webview_ids: string[];
            connected_account_ids: string[];
            created_at: string;
            customer_id?: string;
            device_count: number;
            expires_at: string;
            token: string;
            user_identifier_key: null | string;
            user_identity_id?: string;
            user_identity_ids: string[];
            workspace_id: string;
        }[];
    }>, "client_sessions">, "client_sessions">)
  • Returns ((params?: {
        client_session_id?: string;
        connect_webview_id?: string;
        user_identifier_key?: string;
        user_identity_id?: string;
        without_user_identifier_key?: boolean;
    }) => SeamHttpRequest<SetNonNullable<Required<{
        client_sessions: {
            client_session_id: string;
            connect_webview_ids: string[];
            connected_account_ids: string[];
            created_at: string;
            customer_id?: string;
            device_count: number;
            expires_at: string;
            token: string;
            user_identifier_key: null | string;
            user_identity_id?: string;
            user_identity_ids: string[];
            workspace_id: string;
        }[];
    }>, "client_sessions">, "client_sessions">)

      • (params?): SeamHttpRequest<SetNonNullable<Required<{
            client_sessions: {
                client_session_id: string;
                connect_webview_ids: string[];
                connected_account_ids: string[];
                created_at: string;
                customer_id?: string;
                device_count: number;
                expires_at: string;
                token: string;
                user_identifier_key: null | string;
                user_identity_id?: string;
                user_identity_ids: string[];
                workspace_id: string;
            }[];
        }>, "client_sessions">, "client_sessions">
      • Parameters

        • Optionalparams: {
              client_session_id?: string;
              connect_webview_id?: string;
              user_identifier_key?: string;
              user_identity_id?: string;
              without_user_identifier_key?: boolean;
          }
          • Optionalclient_session_id?: string

            ID of the client session that you want to retrieve.

          • Optionalconnect_webview_id?: string

            ID of the Connect Webview for which you want to retrieve client sessions.

          • Optionaluser_identifier_key?: string

            Your user ID for the user by which you want to filter client sessions.

          • Optionaluser_identity_id?: string

            ID of the user identity for which you want to retrieve client sessions.

          • Optionalwithout_user_identifier_key?: boolean

            Indicates whether to retrieve only client sessions without associated user identifier keys.

        Returns SeamHttpRequest<SetNonNullable<Required<{
            client_sessions: {
                client_session_id: string;
                connect_webview_ids: string[];
                connected_account_ids: string[];
                created_at: string;
                customer_id?: string;
                device_count: number;
                expires_at: string;
                token: string;
                user_identifier_key: null | string;
                user_identity_id?: string;
                user_identity_ids: string[];
                workspace_id: string;
            }[];
        }>, "client_sessions">, "client_sessions">

  • get /client_sessions/revoke(): ((body?: {
        client_session_id: string;
    }) => SeamHttpRequest<void, undefined>)
  • Returns ((body?: {
        client_session_id: string;
    }) => SeamHttpRequest<void, undefined>)

      • (body?): SeamHttpRequest<void, undefined>
      • Parameters

        • Optionalbody: {
              client_session_id: string;
          }
          • client_session_id: string

            ID of the client session that you want to revoke.

        Returns SeamHttpRequest<void, undefined>

  • get /connect_webviews/create(): ((body?: {
        accepted_capabilities?: (
            | "lock"
            | "thermostat"
            | "noise_sensor"
            | "access_control")[];
        accepted_providers?: (
            | "assa_abloy_credential_service"
            | "assa_abloy_vostio"
            | "assa_abloy_vostio_credential_service"
            | "dormakaba_community"
            | "legic_connect"
            | "akuvox"
            | "august"
            | "avigilon_alta"
            | "brivo"
            | "butterflymx"
            | "schlage"
            | "smartthings"
            | "yale"
            | "genie"
            | "doorking"
            | "salto"
            | "salto_ks"
            | "lockly"
            | "ttlock"
            | "linear"
            | "noiseaware"
            | "nuki"
            | "seam_relay_admin"
            | "igloo"
            | "kwikset"
            | "minut"
            | "my_2n"
            | "controlbyweb"
            | "nest"
            | "igloohome"
            | "ecobee"
            | "hubitat"
            | "four_suites"
            | "dormakaba_oracode"
            | "pti"
            | "wyze"
            | "seam_passport"
            | "visionline"
            | "seam_bridge"
            | "tedee"
            | "honeywell_resideo"
            | "latch"
            | "akiles"
            | "tado"
            | "salto_space"
            | "sensi"
            | "kwikset2"
            | "yale_access"
            | "hid_cm"
            | "google_nest")[];
        automatically_manage_new_devices?: boolean;
        custom_metadata?: Record<string, null | string | boolean>;
        custom_redirect_failure_url?: string;
        custom_redirect_url?: string;
        customer_id?: string;
        device_selection_mode?: "none" | "single" | "multiple";
        provider_category?:
            | "noise_sensors"
            | "thermostats"
            | "stable"
            | "consumer_smartlocks"
            | "access_control_systems"
            | "internal_beta";
        wait_for_device_creation?: boolean;
    }) => SeamHttpRequest<SetNonNullable<Required<{
        connect_webview: {
            accepted_capabilities: (
                | "lock"
                | "thermostat"
                | "noise_sensor"
                | "access_control")[];
            accepted_devices: string[];
            accepted_providers: string[];
            any_device_allowed: boolean;
            any_provider_allowed: boolean;
            authorized_at: null | string;
            automatically_manage_new_devices: boolean;
            connect_webview_id: string;
            connected_account_id: null | string;
            created_at: string;
            custom_metadata: Record<string, string | boolean>;
            custom_redirect_failure_url: null | string;
            custom_redirect_url: null | string;
            device_selection_mode: "none" | "single" | "multiple";
            login_successful: boolean;
            selected_provider: null | string;
            status: "pending" | "failed" | "authorized";
            url: string;
            wait_for_device_creation: boolean;
            workspace_id: string;
        };
    }>, "connect_webview">, "connect_webview">)
  • Returns ((body?: {
        accepted_capabilities?: (
            | "lock"
            | "thermostat"
            | "noise_sensor"
            | "access_control")[];
        accepted_providers?: (
            | "assa_abloy_credential_service"
            | "assa_abloy_vostio"
            | "assa_abloy_vostio_credential_service"
            | "dormakaba_community"
            | "legic_connect"
            | "akuvox"
            | "august"
            | "avigilon_alta"
            | "brivo"
            | "butterflymx"
            | "schlage"
            | "smartthings"
            | "yale"
            | "genie"
            | "doorking"
            | "salto"
            | "salto_ks"
            | "lockly"
            | "ttlock"
            | "linear"
            | "noiseaware"
            | "nuki"
            | "seam_relay_admin"
            | "igloo"
            | "kwikset"
            | "minut"
            | "my_2n"
            | "controlbyweb"
            | "nest"
            | "igloohome"
            | "ecobee"
            | "hubitat"
            | "four_suites"
            | "dormakaba_oracode"
            | "pti"
            | "wyze"
            | "seam_passport"
            | "visionline"
            | "seam_bridge"
            | "tedee"
            | "honeywell_resideo"
            | "latch"
            | "akiles"
            | "tado"
            | "salto_space"
            | "sensi"
            | "kwikset2"
            | "yale_access"
            | "hid_cm"
            | "google_nest")[];
        automatically_manage_new_devices?: boolean;
        custom_metadata?: Record<string, null | string | boolean>;
        custom_redirect_failure_url?: string;
        custom_redirect_url?: string;
        customer_id?: string;
        device_selection_mode?: "none" | "single" | "multiple";
        provider_category?:
            | "noise_sensors"
            | "thermostats"
            | "stable"
            | "consumer_smartlocks"
            | "access_control_systems"
            | "internal_beta";
        wait_for_device_creation?: boolean;
    }) => SeamHttpRequest<SetNonNullable<Required<{
        connect_webview: {
            accepted_capabilities: (
                | "lock"
                | "thermostat"
                | "noise_sensor"
                | "access_control")[];
            accepted_devices: string[];
            accepted_providers: string[];
            any_device_allowed: boolean;
            any_provider_allowed: boolean;
            authorized_at: null | string;
            automatically_manage_new_devices: boolean;
            connect_webview_id: string;
            connected_account_id: null | string;
            created_at: string;
            custom_metadata: Record<string, string | boolean>;
            custom_redirect_failure_url: null | string;
            custom_redirect_url: null | string;
            device_selection_mode: "none" | "single" | "multiple";
            login_successful: boolean;
            selected_provider: null | string;
            status: "pending" | "failed" | "authorized";
            url: string;
            wait_for_device_creation: boolean;
            workspace_id: string;
        };
    }>, "connect_webview">, "connect_webview">)

      • (body?): SeamHttpRequest<SetNonNullable<Required<{
            connect_webview: {
                accepted_capabilities: (
                    | "lock"
                    | "thermostat"
                    | "noise_sensor"
                    | "access_control")[];
                accepted_devices: string[];
                accepted_providers: string[];
                any_device_allowed: boolean;
                any_provider_allowed: boolean;
                authorized_at: null | string;
                automatically_manage_new_devices: boolean;
                connect_webview_id: string;
                connected_account_id: null | string;
                created_at: string;
                custom_metadata: Record<string, string | boolean>;
                custom_redirect_failure_url: null | string;
                custom_redirect_url: null | string;
                device_selection_mode: "none" | "single" | "multiple";
                login_successful: boolean;
                selected_provider: null | string;
                status: "pending" | "failed" | "authorized";
                url: string;
                wait_for_device_creation: boolean;
                workspace_id: string;
            };
        }>, "connect_webview">, "connect_webview">
      • Parameters

        • Optionalbody: {
              accepted_capabilities?: (
                  | "lock"
                  | "thermostat"
                  | "noise_sensor"
                  | "access_control")[];
              accepted_providers?: (
                  | "assa_abloy_credential_service"
                  | "assa_abloy_vostio"
                  | "assa_abloy_vostio_credential_service"
                  | "dormakaba_community"
                  | "legic_connect"
                  | "akuvox"
                  | "august"
                  | "avigilon_alta"
                  | "brivo"
                  | "butterflymx"
                  | "schlage"
                  | "smartthings"
                  | "yale"
                  | "genie"
                  | "doorking"
                  | "salto"
                  | "salto_ks"
                  | "lockly"
                  | "ttlock"
                  | "linear"
                  | "noiseaware"
                  | "nuki"
                  | "seam_relay_admin"
                  | "igloo"
                  | "kwikset"
                  | "minut"
                  | "my_2n"
                  | "controlbyweb"
                  | "nest"
                  | "igloohome"
                  | "ecobee"
                  | "hubitat"
                  | "four_suites"
                  | "dormakaba_oracode"
                  | "pti"
                  | "wyze"
                  | "seam_passport"
                  | "visionline"
                  | "seam_bridge"
                  | "tedee"
                  | "honeywell_resideo"
                  | "latch"
                  | "akiles"
                  | "tado"
                  | "salto_space"
                  | "sensi"
                  | "kwikset2"
                  | "yale_access"
                  | "hid_cm"
                  | "google_nest")[];
              automatically_manage_new_devices?: boolean;
              custom_metadata?: Record<string, null | string | boolean>;
              custom_redirect_failure_url?: string;
              custom_redirect_url?: string;
              customer_id?: string;
              device_selection_mode?: "none" | "single" | "multiple";
              provider_category?:
                  | "noise_sensors"
                  | "thermostats"
                  | "stable"
                  | "consumer_smartlocks"
                  | "access_control_systems"
                  | "internal_beta";
              wait_for_device_creation?: boolean;
          }
          • Optionalaccepted_capabilities?: (
                | "lock"
                | "thermostat"
                | "noise_sensor"
                | "access_control")[]

            List of accepted device capabilities that restrict the types of devices that can be connected through the Connect Webview. If not provided, defaults will be determined based on the accepted providers.

          • Optionalaccepted_providers?: (
                | "assa_abloy_credential_service"
                | "assa_abloy_vostio"
                | "assa_abloy_vostio_credential_service"
                | "dormakaba_community"
                | "legic_connect"
                | "akuvox"
                | "august"
                | "avigilon_alta"
                | "brivo"
                | "butterflymx"
                | "schlage"
                | "smartthings"
                | "yale"
                | "genie"
                | "doorking"
                | "salto"
                | "salto_ks"
                | "lockly"
                | "ttlock"
                | "linear"
                | "noiseaware"
                | "nuki"
                | "seam_relay_admin"
                | "igloo"
                | "kwikset"
                | "minut"
                | "my_2n"
                | "controlbyweb"
                | "nest"
                | "igloohome"
                | "ecobee"
                | "hubitat"
                | "four_suites"
                | "dormakaba_oracode"
                | "pti"
                | "wyze"
                | "seam_passport"
                | "visionline"
                | "seam_bridge"
                | "tedee"
                | "honeywell_resideo"
                | "latch"
                | "akiles"
                | "tado"
                | "salto_space"
                | "sensi"
                | "kwikset2"
                | "yale_access"
                | "hid_cm"
                | "google_nest")[]

            Accepted device provider keys as an alternative to provider_category. Use this parameter to specify accepted providers explicitly. See Customize the Brands to Display in Your Connect Webviews. To list all provider keys, use /devices/list_device_providers with no filters.

          • Optionalautomatically_manage_new_devices?: boolean

            Indicates whether newly-added devices should appear as managed devices. See also: Customize the Behavior Settings of Your Connect Webviews.

          • Optionalcustom_metadata?: Record<string, null | string | boolean>

            Custom metadata that you want to associate with the Connect Webview. Supports up to 50 JSON key:value pairs. Adding custom metadata to a Connect Webview enables you to store custom information, like customer details or internal IDs from your application. The custom metadata is then transferred to any connected accounts that were connected using the Connect Webview, making it easy to find and filter these resources in your workspace. You can also filter Connect Webviews by custom metadata.

          • Optionalcustom_redirect_failure_url?: string

            Alternative URL that you want to redirect the user to on an error. If you do not set this parameter, the Connect Webview falls back to the custom_redirect_url.

          • Optionalcustom_redirect_url?: string

            URL that you want to redirect the user to after the provider login is complete.

          • Optionalcustomer_id?: string
          • Optionaldevice_selection_mode?: "none" | "single" | "multiple"
          • Optionalprovider_category?:
                | "noise_sensors"
                | "thermostats"
                | "stable"
                | "consumer_smartlocks"
                | "access_control_systems"
                | "internal_beta"

            Specifies the category of providers that you want to include. To list all providers within a category, use /devices/list_device_providers with the desired provider_category filter.

          • Optionalwait_for_device_creation?: boolean

            Indicates whether Seam should finish syncing all devices in a newly-connected account before completing the associated Connect Webview. See also: Customize the Behavior Settings of Your Connect Webviews.

        Returns SeamHttpRequest<SetNonNullable<Required<{
            connect_webview: {
                accepted_capabilities: (
                    | "lock"
                    | "thermostat"
                    | "noise_sensor"
                    | "access_control")[];
                accepted_devices: string[];
                accepted_providers: string[];
                any_device_allowed: boolean;
                any_provider_allowed: boolean;
                authorized_at: null | string;
                automatically_manage_new_devices: boolean;
                connect_webview_id: string;
                connected_account_id: null | string;
                created_at: string;
                custom_metadata: Record<string, string | boolean>;
                custom_redirect_failure_url: null | string;
                custom_redirect_url: null | string;
                device_selection_mode: "none" | "single" | "multiple";
                login_successful: boolean;
                selected_provider: null | string;
                status: "pending" | "failed" | "authorized";
                url: string;
                wait_for_device_creation: boolean;
                workspace_id: string;
            };
        }>, "connect_webview">, "connect_webview">

  • get /connect_webviews/delete(): ((params?: {
        connect_webview_id: string;
    }) => SeamHttpRequest<void, undefined>)
  • Returns ((params?: {
        connect_webview_id: string;
    }) => SeamHttpRequest<void, undefined>)

      • (params?): SeamHttpRequest<void, undefined>
      • Parameters

        • Optionalparams: {
              connect_webview_id: string;
          }
          • connect_webview_id: string

            ID of the Connect Webview that you want to delete.

        Returns SeamHttpRequest<void, undefined>

  • get /connect_webviews/get(): ((params?: {
        connect_webview_id: string;
    }) => SeamHttpRequest<SetNonNullable<Required<{
        connect_webview: {
            accepted_capabilities: (
                | "lock"
                | "thermostat"
                | "noise_sensor"
                | "access_control")[];
            accepted_devices: string[];
            accepted_providers: string[];
            any_device_allowed: boolean;
            any_provider_allowed: boolean;
            authorized_at: null | string;
            automatically_manage_new_devices: boolean;
            connect_webview_id: string;
            connected_account_id: null | string;
            created_at: string;
            custom_metadata: Record<string, string | boolean>;
            custom_redirect_failure_url: null | string;
            custom_redirect_url: null | string;
            device_selection_mode: "none" | "single" | "multiple";
            login_successful: boolean;
            selected_provider: null | string;
            status: "pending" | "failed" | "authorized";
            url: string;
            wait_for_device_creation: boolean;
            workspace_id: string;
        };
    }>, "connect_webview">, "connect_webview">)
  • Returns ((params?: {
        connect_webview_id: string;
    }) => SeamHttpRequest<SetNonNullable<Required<{
        connect_webview: {
            accepted_capabilities: (
                | "lock"
                | "thermostat"
                | "noise_sensor"
                | "access_control")[];
            accepted_devices: string[];
            accepted_providers: string[];
            any_device_allowed: boolean;
            any_provider_allowed: boolean;
            authorized_at: null | string;
            automatically_manage_new_devices: boolean;
            connect_webview_id: string;
            connected_account_id: null | string;
            created_at: string;
            custom_metadata: Record<string, string | boolean>;
            custom_redirect_failure_url: null | string;
            custom_redirect_url: null | string;
            device_selection_mode: "none" | "single" | "multiple";
            login_successful: boolean;
            selected_provider: null | string;
            status: "pending" | "failed" | "authorized";
            url: string;
            wait_for_device_creation: boolean;
            workspace_id: string;
        };
    }>, "connect_webview">, "connect_webview">)

      • (params?): SeamHttpRequest<SetNonNullable<Required<{
            connect_webview: {
                accepted_capabilities: (
                    | "lock"
                    | "thermostat"
                    | "noise_sensor"
                    | "access_control")[];
                accepted_devices: string[];
                accepted_providers: string[];
                any_device_allowed: boolean;
                any_provider_allowed: boolean;
                authorized_at: null | string;
                automatically_manage_new_devices: boolean;
                connect_webview_id: string;
                connected_account_id: null | string;
                created_at: string;
                custom_metadata: Record<string, string | boolean>;
                custom_redirect_failure_url: null | string;
                custom_redirect_url: null | string;
                device_selection_mode: "none" | "single" | "multiple";
                login_successful: boolean;
                selected_provider: null | string;
                status: "pending" | "failed" | "authorized";
                url: string;
                wait_for_device_creation: boolean;
                workspace_id: string;
            };
        }>, "connect_webview">, "connect_webview">
      • Parameters

        • Optionalparams: {
              connect_webview_id: string;
          }
          • connect_webview_id: string

            ID of the Connect Webview that you want to get.

        Returns SeamHttpRequest<SetNonNullable<Required<{
            connect_webview: {
                accepted_capabilities: (
                    | "lock"
                    | "thermostat"
                    | "noise_sensor"
                    | "access_control")[];
                accepted_devices: string[];
                accepted_providers: string[];
                any_device_allowed: boolean;
                any_provider_allowed: boolean;
                authorized_at: null | string;
                automatically_manage_new_devices: boolean;
                connect_webview_id: string;
                connected_account_id: null | string;
                created_at: string;
                custom_metadata: Record<string, string | boolean>;
                custom_redirect_failure_url: null | string;
                custom_redirect_url: null | string;
                device_selection_mode: "none" | "single" | "multiple";
                login_successful: boolean;
                selected_provider: null | string;
                status: "pending" | "failed" | "authorized";
                url: string;
                wait_for_device_creation: boolean;
                workspace_id: string;
            };
        }>, "connect_webview">, "connect_webview">

  • get /connect_webviews/list(): ((params?: {
        custom_metadata_has?: Record<string, string | boolean>;
        customer_ids?: string[];
        limit?: number;
        page_cursor?: null | string;
        user_identifier_key?: string;
    }) => SeamHttpRequest<SetNonNullable<Required<{
        connect_webviews: {
            accepted_capabilities: (
                | "lock"
                | "thermostat"
                | "noise_sensor"
                | "access_control")[];
            accepted_devices: string[];
            accepted_providers: string[];
            any_device_allowed: boolean;
            any_provider_allowed: boolean;
            authorized_at: null | string;
            automatically_manage_new_devices: boolean;
            connect_webview_id: string;
            connected_account_id: null | string;
            created_at: string;
            custom_metadata: Record<string, string | boolean>;
            custom_redirect_failure_url: null | string;
            custom_redirect_url: null | string;
            device_selection_mode: "none" | "single" | "multiple";
            login_successful: boolean;
            selected_provider: null | string;
            status: "pending" | "failed" | "authorized";
            url: string;
            wait_for_device_creation: boolean;
            workspace_id: string;
        }[];
        pagination: {
            has_next_page: boolean;
            next_page_cursor: null | string;
            next_page_url: null | string;
        };
    }>, "pagination" | "connect_webviews">, "connect_webviews">)
  • Returns ((params?: {
        custom_metadata_has?: Record<string, string | boolean>;
        customer_ids?: string[];
        limit?: number;
        page_cursor?: null | string;
        user_identifier_key?: string;
    }) => SeamHttpRequest<SetNonNullable<Required<{
        connect_webviews: {
            accepted_capabilities: (
                | "lock"
                | "thermostat"
                | "noise_sensor"
                | "access_control")[];
            accepted_devices: string[];
            accepted_providers: string[];
            any_device_allowed: boolean;
            any_provider_allowed: boolean;
            authorized_at: null | string;
            automatically_manage_new_devices: boolean;
            connect_webview_id: string;
            connected_account_id: null | string;
            created_at: string;
            custom_metadata: Record<string, string | boolean>;
            custom_redirect_failure_url: null | string;
            custom_redirect_url: null | string;
            device_selection_mode: "none" | "single" | "multiple";
            login_successful: boolean;
            selected_provider: null | string;
            status: "pending" | "failed" | "authorized";
            url: string;
            wait_for_device_creation: boolean;
            workspace_id: string;
        }[];
        pagination: {
            has_next_page: boolean;
            next_page_cursor: null | string;
            next_page_url: null | string;
        };
    }>, "pagination" | "connect_webviews">, "connect_webviews">)

      • (params?): SeamHttpRequest<SetNonNullable<Required<{
            connect_webviews: {
                accepted_capabilities: (
                    | "lock"
                    | "thermostat"
                    | "noise_sensor"
                    | "access_control")[];
                accepted_devices: string[];
                accepted_providers: string[];
                any_device_allowed: boolean;
                any_provider_allowed: boolean;
                authorized_at: null | string;
                automatically_manage_new_devices: boolean;
                connect_webview_id: string;
                connected_account_id: null | string;
                created_at: string;
                custom_metadata: Record<string, string | boolean>;
                custom_redirect_failure_url: null | string;
                custom_redirect_url: null | string;
                device_selection_mode: "none" | "single" | "multiple";
                login_successful: boolean;
                selected_provider: null | string;
                status: "pending" | "failed" | "authorized";
                url: string;
                wait_for_device_creation: boolean;
                workspace_id: string;
            }[];
            pagination: {
                has_next_page: boolean;
                next_page_cursor: null | string;
                next_page_url: null | string;
            };
        }>, "pagination" | "connect_webviews">, "connect_webviews">
      • Parameters

        • Optionalparams: {
              custom_metadata_has?: Record<string, string | boolean>;
              customer_ids?: string[];
              limit?: number;
              page_cursor?: null | string;
              user_identifier_key?: string;
          }
          • Optionalcustom_metadata_has?: Record<string, string | boolean>

            Custom metadata pairs by which you want to filter Connect Webviews. Returns Connect Webviews with custom_metadata that contains all of the provided key:value pairs.

          • Optionalcustomer_ids?: string[]
          • Optionallimit?: number

            Maximum number of records to return per page.

          • Optionalpage_cursor?: null | string

            Identifies the specific page of results to return, obtained from the previous page's next_page_cursor.

          • Optionaluser_identifier_key?: string

            Your user ID for the user by which you want to filter Connect Webviews.

        Returns SeamHttpRequest<SetNonNullable<Required<{
            connect_webviews: {
                accepted_capabilities: (
                    | "lock"
                    | "thermostat"
                    | "noise_sensor"
                    | "access_control")[];
                accepted_devices: string[];
                accepted_providers: string[];
                any_device_allowed: boolean;
                any_provider_allowed: boolean;
                authorized_at: null | string;
                automatically_manage_new_devices: boolean;
                connect_webview_id: string;
                connected_account_id: null | string;
                created_at: string;
                custom_metadata: Record<string, string | boolean>;
                custom_redirect_failure_url: null | string;
                custom_redirect_url: null | string;
                device_selection_mode: "none" | "single" | "multiple";
                login_successful: boolean;
                selected_provider: null | string;
                status: "pending" | "failed" | "authorized";
                url: string;
                wait_for_device_creation: boolean;
                workspace_id: string;
            }[];
            pagination: {
                has_next_page: boolean;
                next_page_cursor: null | string;
                next_page_url: null | string;
            };
        }>, "pagination" | "connect_webviews">, "connect_webviews">

  • get /connected_accounts/delete(): ((params?: {
        connected_account_id: string;
        sync?: boolean;
    }) => SeamHttpRequest<void, undefined>)
  • Returns ((params?: {
        connected_account_id: string;
        sync?: boolean;
    }) => SeamHttpRequest<void, undefined>)

      • (params?): SeamHttpRequest<void, undefined>
      • Parameters

        • Optionalparams: {
              connected_account_id: string;
              sync?: boolean;
          }
          • connected_account_id: string

            ID of the connected account that you want to delete.

          • Optionalsync?: boolean

        Returns SeamHttpRequest<void, undefined>

  • get /connected_accounts/get(): ((params?: ConnectedAccountsGetParams) => SeamHttpRequest<SetNonNullable<Required<{
        connected_account: {
            account_type?: string;
            account_type_display_name: string;
            automatically_manage_new_devices: boolean;
            connected_account_id?: string;
            created_at?: string;
            custom_metadata: Record<string, string | boolean>;
            customer_key?: string;
            errors: (
                | {
                    created_at: string;
                    error_code: "account_disconnected";
                    is_bridge_error?: boolean;
                    is_connected_account_error?: boolean;
                    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;
                }
                | {
                    created_at: string;
                    error_code: "salto_ks_subscription_limit_exceeded";
                    is_bridge_error?: boolean;
                    is_connected_account_error?: boolean;
                    message: string;
                    salto_ks_metadata: {
                        sites: (...)[];
                    };
                })[];
            user_identifier?: {
                api_url?: string;
                email?: string;
                exclusive?: boolean;
                phone?: string;
                username?: string;
            };
            warnings: ({
                created_at: string;
                message: string;
                warning_code: "scheduled_maintenance_window";
            } | {
                created_at: string;
                message: string;
                warning_code: "unknown_issue_with_connected_account";
            } | {
                created_at: string;
                message: string;
                salto_ks_metadata: {
                    sites: (...)[];
                };
                warning_code: "salto_ks_subscription_limit_almost_reached";
            })[];
        };
    }>, "connected_account">, "connected_account">)
  • Returns ((params?: ConnectedAccountsGetParams) => SeamHttpRequest<SetNonNullable<Required<{
        connected_account: {
            account_type?: string;
            account_type_display_name: string;
            automatically_manage_new_devices: boolean;
            connected_account_id?: string;
            created_at?: string;
            custom_metadata: Record<string, string | boolean>;
            customer_key?: string;
            errors: (
                | {
                    created_at: string;
                    error_code: "account_disconnected";
                    is_bridge_error?: boolean;
                    is_connected_account_error?: boolean;
                    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;
                }
                | {
                    created_at: string;
                    error_code: "salto_ks_subscription_limit_exceeded";
                    is_bridge_error?: boolean;
                    is_connected_account_error?: boolean;
                    message: string;
                    salto_ks_metadata: {
                        sites: (...)[];
                    };
                })[];
            user_identifier?: {
                api_url?: string;
                email?: string;
                exclusive?: boolean;
                phone?: string;
                username?: string;
            };
            warnings: ({
                created_at: string;
                message: string;
                warning_code: "scheduled_maintenance_window";
            } | {
                created_at: string;
                message: string;
                warning_code: "unknown_issue_with_connected_account";
            } | {
                created_at: string;
                message: string;
                salto_ks_metadata: {
                    sites: (...)[];
                };
                warning_code: "salto_ks_subscription_limit_almost_reached";
            })[];
        };
    }>, "connected_account">, "connected_account">)

      • (params?): SeamHttpRequest<SetNonNullable<Required<{
            connected_account: {
                account_type?: string;
                account_type_display_name: string;
                automatically_manage_new_devices: boolean;
                connected_account_id?: string;
                created_at?: string;
                custom_metadata: Record<string, string | boolean>;
                customer_key?: string;
                errors: (
                    | {
                        created_at: string;
                        error_code: "account_disconnected";
                        is_bridge_error?: boolean;
                        is_connected_account_error?: boolean;
                        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;
                    }
                    | {
                        created_at: string;
                        error_code: "salto_ks_subscription_limit_exceeded";
                        is_bridge_error?: boolean;
                        is_connected_account_error?: boolean;
                        message: string;
                        salto_ks_metadata: {
                            sites: (...)[];
                        };
                    })[];
                user_identifier?: {
                    api_url?: string;
                    email?: string;
                    exclusive?: boolean;
                    phone?: string;
                    username?: string;
                };
                warnings: ({
                    created_at: string;
                    message: string;
                    warning_code: "scheduled_maintenance_window";
                } | {
                    created_at: string;
                    message: string;
                    warning_code: "unknown_issue_with_connected_account";
                } | {
                    created_at: string;
                    message: string;
                    salto_ks_metadata: {
                        sites: (...)[];
                    };
                    warning_code: "salto_ks_subscription_limit_almost_reached";
                })[];
            };
        }>, "connected_account">, "connected_account">
      • Parameters

        Returns SeamHttpRequest<SetNonNullable<Required<{
            connected_account: {
                account_type?: string;
                account_type_display_name: string;
                automatically_manage_new_devices: boolean;
                connected_account_id?: string;
                created_at?: string;
                custom_metadata: Record<string, string | boolean>;
                customer_key?: string;
                errors: (
                    | {
                        created_at: string;
                        error_code: "account_disconnected";
                        is_bridge_error?: boolean;
                        is_connected_account_error?: boolean;
                        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;
                    }
                    | {
                        created_at: string;
                        error_code: "salto_ks_subscription_limit_exceeded";
                        is_bridge_error?: boolean;
                        is_connected_account_error?: boolean;
                        message: string;
                        salto_ks_metadata: {
                            sites: (...)[];
                        };
                    })[];
                user_identifier?: {
                    api_url?: string;
                    email?: string;
                    exclusive?: boolean;
                    phone?: string;
                    username?: string;
                };
                warnings: ({
                    created_at: string;
                    message: string;
                    warning_code: "scheduled_maintenance_window";
                } | {
                    created_at: string;
                    message: string;
                    warning_code: "unknown_issue_with_connected_account";
                } | {
                    created_at: string;
                    message: string;
                    salto_ks_metadata: {
                        sites: (...)[];
                    };
                    warning_code: "salto_ks_subscription_limit_almost_reached";
                })[];
            };
        }>, "connected_account">, "connected_account">

  • get /connected_accounts/list(): ((params?: {
        custom_metadata_has?: Record<string, string | boolean>;
        customer_ids?: string[];
        limit?: number;
        page_cursor?: null | string;
        user_identifier_key?: string;
    }) => SeamHttpRequest<SetNonNullable<Required<{
        connected_accounts: {
            account_type?: string;
            account_type_display_name: string;
            automatically_manage_new_devices: boolean;
            connected_account_id?: string;
            created_at?: string;
            custom_metadata: Record<string, string | boolean>;
            customer_key?: string;
            errors: (
                | {
                    created_at: string;
                    error_code: "account_disconnected";
                    is_bridge_error?: (...) | (...) | (...);
                    is_connected_account_error?: (...) | (...) | (...);
                    message: string;
                }
                | {
                    created_at: string;
                    error_code: "invalid_credentials";
                    is_bridge_error?: (...) | (...) | (...);
                    is_connected_account_error?: (...) | (...) | (...);
                    message: string;
                }
                | {
                    created_at: string;
                    error_code: "bridge_disconnected";
                    is_bridge_error?: (...) | (...) | (...);
                    is_connected_account_error?: (...) | (...) | (...);
                    message: string;
                }
                | {
                    created_at: string;
                    error_code: "salto_ks_subscription_limit_exceeded";
                    is_bridge_error?: (...) | (...) | (...);
                    is_connected_account_error?: (...) | (...) | (...);
                    message: string;
                    salto_ks_metadata: {
                        sites: ...;
                    };
                })[];
            user_identifier?: {
                api_url?: string;
                email?: string;
                exclusive?: boolean;
                phone?: string;
                username?: string;
            };
            warnings: ({
                created_at: string;
                message: string;
                warning_code: "scheduled_maintenance_window";
            } | {
                created_at: string;
                message: string;
                warning_code: "unknown_issue_with_connected_account";
            } | {
                created_at: string;
                message: string;
                salto_ks_metadata: {
                    sites: ...;
                };
                warning_code: "salto_ks_subscription_limit_almost_reached";
            })[];
        }[];
        pagination: {
            has_next_page: boolean;
            next_page_cursor: null | string;
            next_page_url: null | string;
        };
    }>, "pagination" | "connected_accounts">, "connected_accounts">)
  • Returns ((params?: {
        custom_metadata_has?: Record<string, string | boolean>;
        customer_ids?: string[];
        limit?: number;
        page_cursor?: null | string;
        user_identifier_key?: string;
    }) => SeamHttpRequest<SetNonNullable<Required<{
        connected_accounts: {
            account_type?: string;
            account_type_display_name: string;
            automatically_manage_new_devices: boolean;
            connected_account_id?: string;
            created_at?: string;
            custom_metadata: Record<string, string | boolean>;
            customer_key?: string;
            errors: (
                | {
                    created_at: string;
                    error_code: "account_disconnected";
                    is_bridge_error?: (...) | (...) | (...);
                    is_connected_account_error?: (...) | (...) | (...);
                    message: string;
                }
                | {
                    created_at: string;
                    error_code: "invalid_credentials";
                    is_bridge_error?: (...) | (...) | (...);
                    is_connected_account_error?: (...) | (...) | (...);
                    message: string;
                }
                | {
                    created_at: string;
                    error_code: "bridge_disconnected";
                    is_bridge_error?: (...) | (...) | (...);
                    is_connected_account_error?: (...) | (...) | (...);
                    message: string;
                }
                | {
                    created_at: string;
                    error_code: "salto_ks_subscription_limit_exceeded";
                    is_bridge_error?: (...) | (...) | (...);
                    is_connected_account_error?: (...) | (...) | (...);
                    message: string;
                    salto_ks_metadata: {
                        sites: ...;
                    };
                })[];
            user_identifier?: {
                api_url?: string;
                email?: string;
                exclusive?: boolean;
                phone?: string;
                username?: string;
            };
            warnings: ({
                created_at: string;
                message: string;
                warning_code: "scheduled_maintenance_window";
            } | {
                created_at: string;
                message: string;
                warning_code: "unknown_issue_with_connected_account";
            } | {
                created_at: string;
                message: string;
                salto_ks_metadata: {
                    sites: ...;
                };
                warning_code: "salto_ks_subscription_limit_almost_reached";
            })[];
        }[];
        pagination: {
            has_next_page: boolean;
            next_page_cursor: null | string;
            next_page_url: null | string;
        };
    }>, "pagination" | "connected_accounts">, "connected_accounts">)

      • (params?): SeamHttpRequest<SetNonNullable<Required<{
            connected_accounts: {
                account_type?: string;
                account_type_display_name: string;
                automatically_manage_new_devices: boolean;
                connected_account_id?: string;
                created_at?: string;
                custom_metadata: Record<string, string | boolean>;
                customer_key?: string;
                errors: (
                    | {
                        created_at: string;
                        error_code: "account_disconnected";
                        is_bridge_error?: (...) | (...) | (...);
                        is_connected_account_error?: (...) | (...) | (...);
                        message: string;
                    }
                    | {
                        created_at: string;
                        error_code: "invalid_credentials";
                        is_bridge_error?: (...) | (...) | (...);
                        is_connected_account_error?: (...) | (...) | (...);
                        message: string;
                    }
                    | {
                        created_at: string;
                        error_code: "bridge_disconnected";
                        is_bridge_error?: (...) | (...) | (...);
                        is_connected_account_error?: (...) | (...) | (...);
                        message: string;
                    }
                    | {
                        created_at: string;
                        error_code: "salto_ks_subscription_limit_exceeded";
                        is_bridge_error?: (...) | (...) | (...);
                        is_connected_account_error?: (...) | (...) | (...);
                        message: string;
                        salto_ks_metadata: {
                            sites: ...;
                        };
                    })[];
                user_identifier?: {
                    api_url?: string;
                    email?: string;
                    exclusive?: boolean;
                    phone?: string;
                    username?: string;
                };
                warnings: ({
                    created_at: string;
                    message: string;
                    warning_code: "scheduled_maintenance_window";
                } | {
                    created_at: string;
                    message: string;
                    warning_code: "unknown_issue_with_connected_account";
                } | {
                    created_at: string;
                    message: string;
                    salto_ks_metadata: {
                        sites: ...;
                    };
                    warning_code: "salto_ks_subscription_limit_almost_reached";
                })[];
            }[];
            pagination: {
                has_next_page: boolean;
                next_page_cursor: null | string;
                next_page_url: null | string;
            };
        }>, "pagination" | "connected_accounts">, "connected_accounts">
      • Parameters

        • Optionalparams: {
              custom_metadata_has?: Record<string, string | boolean>;
              customer_ids?: string[];
              limit?: number;
              page_cursor?: null | string;
              user_identifier_key?: string;
          }
          • Optionalcustom_metadata_has?: Record<string, string | boolean>

            Custom metadata pairs by which you want to filter connected accounts. Returns connected accounts with custom_metadata that contains all of the provided key:value pairs.

          • Optionalcustomer_ids?: string[]
          • Optionallimit?: number

            Maximum number of records to return per page.

          • Optionalpage_cursor?: null | string

            Identifies the specific page of results to return, obtained from the previous page's next_page_cursor.

          • Optionaluser_identifier_key?: string

            Your user ID for the user by which you want to filter connected accounts.

        Returns SeamHttpRequest<SetNonNullable<Required<{
            connected_accounts: {
                account_type?: string;
                account_type_display_name: string;
                automatically_manage_new_devices: boolean;
                connected_account_id?: string;
                created_at?: string;
                custom_metadata: Record<string, string | boolean>;
                customer_key?: string;
                errors: (
                    | {
                        created_at: string;
                        error_code: "account_disconnected";
                        is_bridge_error?: (...) | (...) | (...);
                        is_connected_account_error?: (...) | (...) | (...);
                        message: string;
                    }
                    | {
                        created_at: string;
                        error_code: "invalid_credentials";
                        is_bridge_error?: (...) | (...) | (...);
                        is_connected_account_error?: (...) | (...) | (...);
                        message: string;
                    }
                    | {
                        created_at: string;
                        error_code: "bridge_disconnected";
                        is_bridge_error?: (...) | (...) | (...);
                        is_connected_account_error?: (...) | (...) | (...);
                        message: string;
                    }
                    | {
                        created_at: string;
                        error_code: "salto_ks_subscription_limit_exceeded";
                        is_bridge_error?: (...) | (...) | (...);
                        is_connected_account_error?: (...) | (...) | (...);
                        message: string;
                        salto_ks_metadata: {
                            sites: ...;
                        };
                    })[];
                user_identifier?: {
                    api_url?: string;
                    email?: string;
                    exclusive?: boolean;
                    phone?: string;
                    username?: string;
                };
                warnings: ({
                    created_at: string;
                    message: string;
                    warning_code: "scheduled_maintenance_window";
                } | {
                    created_at: string;
                    message: string;
                    warning_code: "unknown_issue_with_connected_account";
                } | {
                    created_at: string;
                    message: string;
                    salto_ks_metadata: {
                        sites: ...;
                    };
                    warning_code: "salto_ks_subscription_limit_almost_reached";
                })[];
            }[];
            pagination: {
                has_next_page: boolean;
                next_page_cursor: null | string;
                next_page_url: null | string;
            };
        }>, "pagination" | "connected_accounts">, "connected_accounts">

  • get /connected_accounts/sync(): ((body?: {
        connected_account_id: string;
    }) => SeamHttpRequest<void, undefined>)
  • Returns ((body?: {
        connected_account_id: string;
    }) => SeamHttpRequest<void, undefined>)

      • (body?): SeamHttpRequest<void, undefined>
      • Parameters

        • Optionalbody: {
              connected_account_id: string;
          }
          • connected_account_id: string

            ID of the connected account that you want to sync.

        Returns SeamHttpRequest<void, undefined>

  • get /connected_accounts/update(): ((body?: {
        automatically_manage_new_devices?: boolean;
        connected_account_id: string;
        custom_metadata?: Record<string, null | string | boolean>;
    }) => SeamHttpRequest<void, undefined>)
  • Returns ((body?: {
        automatically_manage_new_devices?: boolean;
        connected_account_id: string;
        custom_metadata?: Record<string, null | string | boolean>;
    }) => SeamHttpRequest<void, undefined>)

      • (body?): SeamHttpRequest<void, undefined>
      • Parameters

        • Optionalbody: {
              automatically_manage_new_devices?: boolean;
              connected_account_id: string;
              custom_metadata?: Record<string, null | string | boolean>;
          }
          • Optionalautomatically_manage_new_devices?: boolean

            Indicates whether newly-added devices should appear as managed devices.

          • connected_account_id: string

            ID of the connected account that you want to update.

          • Optionalcustom_metadata?: Record<string, null | string | boolean>

            Custom metadata that you want to associate with the connected account. Supports up to 50 JSON key:value pairs. Adding custom metadata to a connected account enables you to store custom information, like customer details or internal IDs from your application. Then, you can filter connected accounts by the desired metadata.

        Returns SeamHttpRequest<void, undefined>

  • get /devices/get(): ((params?: {
        device_id?: string;
        name?: string;
    }) => SeamHttpRequest<SetNonNullable<Required<{
        device: {
            can_hvac_cool?: boolean;
            can_hvac_heat?: boolean;
            can_hvac_heat_cool?: boolean;
            can_program_offline_access_codes?: boolean;
            can_program_online_access_codes?: boolean;
            can_remotely_lock?: boolean;
            can_remotely_unlock?: boolean;
            can_simulate_connection?: boolean;
            can_simulate_disconnection?: boolean;
            can_simulate_removal?: boolean;
            can_turn_off_hvac?: boolean;
            capabilities_supported: (
                | "access_code"
                | "lock"
                | "phone"
                | "thermostat"
                | "noise_detection"
                | "battery")[];
            connected_account_id: string;
            created_at: string;
            custom_metadata: Record<string, string | boolean>;
            device_id: string;
            device_type:
                | "akuvox_lock"
                | "august_lock"
                | "brivo_access_point"
                | "butterflymx_panel"
                | "avigilon_alta_entry"
                | "doorking_lock"
                | "genie_door"
                | "igloo_lock"
                | "linear_lock"
                | "lockly_lock"
                | "kwikset_lock"
                | "nuki_lock"
                | "salto_lock"
                | "schlage_lock"
                | "seam_relay"
                | "smartthings_lock"
                | "wyze_lock"
                | "yale_lock"
                | "two_n_intercom"
                | "controlbyweb_device"
                | "ttlock_lock"
                | "igloohome_lock"
                | "hubitat_lock"
                | "four_suites_door"
                | "dormakaba_oracode_door"
                | "tedee_lock"
                | "akiles_lock"
                | "noiseaware_activity_zone"
                | "minut_sensor"
                | "ecobee_thermostat"
                | "nest_thermostat"
                | "honeywell_resideo_thermostat"
                | "tado_thermostat"
                | "sensi_thermostat"
                | "smartthings_thermostat"
                | "ios_phone"
                | "android_phone";
            display_name: string;
            errors: (
                | {
                    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: "lockly_missing_wifi_bridge";
                    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_managed: true;
            location: null | {
                location_name?: string;
                timezone?: string;
            };
            nickname?: string;
            properties: {
                accessory_keypad?: {
                    battery?: (...) | (...);
                    is_connected: boolean;
                };
                appearance: {
                    name: string;
                };
                battery?: {
                    level: number;
                    status:
                        | (...)
                        | (...)
                        | (...)
                        | (...);
                };
                battery_level?: number;
                currently_triggering_noise_threshold_ids?: string[];
                has_direct_power?: boolean;
                image_alt_text?: string;
                image_url?: string;
                manufacturer?: string;
                model: {
                    accessory_keypad_supported?: boolean;
                    can_connect_accessory_keypad?: boolean;
                    display_name: string;
                    has_built_in_keypad?: boolean;
                    manufacturer_display_name: string;
                    offline_access_codes_supported?: boolean;
                    online_access_codes_supported?: boolean;
                };
                name: string;
                noise_level_decibels?: number;
                offline_access_codes_enabled?: boolean;
                online: boolean;
                online_access_codes_enabled?: boolean;
                serial_number?: string;
                supports_accessory_keypad?: boolean;
                supports_offline_access_codes?: boolean;
            } & {
                assa_abloy_credential_service_metadata?: {
                    endpoints: (...)[];
                    has_active_endpoint: boolean;
                };
                salto_space_credential_service_metadata?: {
                    has_active_phone: boolean;
                };
            } & {
                akiles_metadata?: {
                    _member_group_id?: (...) | (...);
                    gadget_id: string;
                    gadget_name: string;
                    product_name: string;
                };
                assa_abloy_vostio_metadata?: {
                    encoder_name: string;
                };
                august_metadata?: {
                    has_keypad: boolean;
                    house_id?: (...) | (...);
                    house_name: string;
                    keypad_battery_level?: (...) | (...);
                    lock_id: string;
                    lock_name: string;
                    model?: (...) | (...);
                };
                avigilon_alta_metadata?: {
                    entry_name: string;
                    entry_relays_total_count: number;
                    org_name: string;
                    site_id: number;
                    site_name: string;
                    zone_id: number;
                    zone_name: string;
                };
                brivo_metadata?: {
                    device_name: string;
                };
                controlbyweb_metadata?: {
                    device_id: string;
                    device_name: string;
                    relay_name: (...) | (...);
                };
                dormakaba_oracode_metadata?: {
                    device_id?: (...) | (...) | (...);
                    door_id?: (...) | (...);
                    door_is_wireless: boolean;
                    door_name: string;
                    iana_timezone?: (...) | (...);
                    predefined_time_slots?: (...) | (...);
                    site_id: (...) | (...);
                    site_name: string;
                };
                ecobee_metadata?: {
                    device_name: string;
                    ecobee_device_id: string;
                };
                four_suites_metadata?: {
                    device_id: number;
                    device_name: string;
                    reclose_delay_in_seconds: number;
                };
                genie_metadata?: {
                    device_name: string;
                    door_name: string;
                };
                honeywell_resideo_metadata?: {
                    device_name: string;
                    honeywell_resideo_device_id: string;
                };
                hubitat_metadata?: {
                    device_id: string;
                    device_label: string;
                    device_name: string;
                };
                igloo_metadata?: {
                    bridge_id: string;
                    device_id: string;
                    model?: (...) | (...);
                };
                igloohome_metadata?: {
                    bridge_id?: (...) | (...);
                    bridge_name?: (...) | (...);
                    device_id: string;
                    device_name: string;
                    keypad_id?: (...) | (...);
                };
                kwikset_metadata?: {
                    device_id: string;
                    device_name: string;
                    model_number: string;
                };
                lockly_metadata?: {
                    device_id: string;
                    device_name: string;
                    model?: (...) | (...);
                };
                minut_metadata?: {
                    device_id: string;
                    device_name: string;
                    latest_sensor_values: {
                        accelerometer_z: ...;
                        humidity: ...;
                        pressure: ...;
                        sound: ...;
                        temperature: ...;
                    };
                };
                nest_metadata?: {
                    device_custom_name: string;
                    device_name: string;
                    display_name?: (...) | (...);
                    nest_device_id: string;
                };
                noiseaware_metadata?: {
                    device_id: string;
                    device_model: (...) | (...);
                    device_name: string;
                    noise_level_decibel: number;
                    noise_level_nrs: number;
                };
                nuki_metadata?: {
                    device_id: string;
                    device_name: string;
                    keypad_2_paired?: (...) | (...) | (...);
                    keypad_battery_critical?: (...) | (...) | (...);
                    keypad_paired?: (...) | (...) | (...);
                };
                salto_ks_metadata?: {
                    battery_level: string;
                    customer_reference: string;
                    lock_id: string;
                    lock_type: string;
                    locked_state: string;
                    model?: (...) | (...);
                };
                salto_metadata?: {
                    battery_level: string;
                    customer_reference: string;
                    lock_id: string;
                    lock_type: string;
                    locked_state: string;
                    model?: (...) | (...);
                };
                schlage_metadata?: {
                    device_id: string;
                    device_name: string;
                    model?: (...) | (...);
                };
                seam_bridge_metadata?: {
                    device_num: number;
                    name: string;
                    unlock_method?: (...) | (...) | (...);
                };
                sensi_metadata?: {
                    device_id: string;
                    device_name: string;
                    product_type: string;
                };
                smartthings_metadata?: {
                    device_id: string;
                    device_name: string;
                    location_id?: (...) | (...);
                    model?: (...) | (...);
                };
                tado_metadata?: {
                    device_type: string;
                    serial_no: string;
                };
                tedee_metadata?: {
                    bridge_id: number;
                    bridge_name: string;
                    device_id: number;
                    device_model: string;
                    device_name: string;
                    keypad_id?: (...) | (...);
                    serial_number: string;
                };
                ttlock_metadata?: {
                    feature_value: string;
                    features: {
                        incomplete_keyboard_passcode: ...;
                        lock_command: ...;
                        passcode: ...;
                        passcode_management: ...;
                        unlock_via_gateway: ...;
                        wifi: ...;
                    };
                    has_gateway?: (...) | (...) | (...);
                    lock_alias: string;
                    lock_id: number;
                    wireless_keypads?: (...) | (...);
                };
                two_n_metadata?: {
                    device_id: number;
                    device_name: string;
                };
                visionline_metadata?: {
                    encoder_id: string;
                };
                wyze_metadata?: {
                    device_id: string;
                    device_info_model: string;
                    device_name: string;
                    keypad_uuid?: (...) | (...);
                    locker_status_hardlock?: (...) | (...);
                    product_model: string;
                    product_name: string;
                    product_type: string;
                };
            } & {
                _experimental_supported_code_from_access_codes_lengths?: number[];
                code_constraints?: ((...) | (...))[];
                door_open?: boolean;
                has_native_entry_events?: boolean;
                keypad_battery?: {
                    level: number;
                };
                locked?: boolean;
                max_active_codes_supported?: number;
                supported_code_lengths?: number[];
                supports_backup_access_code_pool?: boolean;
            } & {
                active_thermostat_schedule?: null | {
                    climate_preset_key: string;
                    created_at: string;
                    device_id: string;
                    ends_at: string;
                    errors: (...)[];
                    is_override_allowed?: (...) | (...) | (...);
                    max_override_period_minutes?: (...) | (...) | (...);
                    name: (...) | (...);
                    starts_at: string;
                    thermostat_schedule_id: string;
                    workspace_id: string;
                };
                available_climate_presets?: {
                    can_delete: ...;
                    can_edit: ...;
                    can_program: ...;
                    climate_preset_key: ...;
                    cooling_set_point_celsius?: ...;
                    cooling_set_point_fahrenheit?: ...;
                    display_name: ...;
                    fan_mode_setting?: ...;
                    heating_set_point_celsius?: ...;
                    heating_set_point_fahrenheit?: ...;
                    hvac_mode_setting?: ...;
                    manual_override_allowed: ...;
                    name?: ...;
                }[];
                available_fan_mode_settings?: ((...) | (...) | (...))[];
                available_hvac_mode_settings?: (
                    | (...)
                    | (...)
                    | (...)
                    | (...))[];
                current_climate_setting?: {
                    can_delete?: (...) | (...) | (...);
                    can_edit?: (...) | (...) | (...);
                    can_program?: (...) | (...) | (...);
                    climate_preset_key?: (...) | (...);
                    cooling_set_point_celsius?: (...) | (...);
                    cooling_set_point_fahrenheit?: (...) | (...);
                    display_name?: (...) | (...);
                    fan_mode_setting?:
                        | (...)
                        | (...)
                        | (...)
                        | (...);
                    heating_set_point_celsius?: (...) | (...);
                    heating_set_point_fahrenheit?: (...) | (...);
                    hvac_mode_setting?:
                        | (...)
                        | (...)
                        | (...)
                        | (...)
                        | (...);
                    manual_override_allowed?: (...) | (...) | (...);
                    name?: (...) | (...) | (...);
                };
                default_climate_setting?: {
                    can_delete?: (...) | (...) | (...);
                    can_edit?: (...) | (...) | (...);
                    can_program?: (...) | (...) | (...);
                    climate_preset_key?: (...) | (...);
                    cooling_set_point_celsius?: (...) | (...);
                    cooling_set_point_fahrenheit?: (...) | (...);
                    display_name?: (...) | (...);
                    fan_mode_setting?:
                        | (...)
                        | (...)
                        | (...)
                        | (...);
                    heating_set_point_celsius?: (...) | (...);
                    heating_set_point_fahrenheit?: (...) | (...);
                    hvac_mode_setting?:
                        | (...)
                        | (...)
                        | (...)
                        | (...)
                        | (...);
                    manual_override_allowed?: (...) | (...) | (...);
                    name?: (...) | (...) | (...);
                };
                fallback_climate_preset_key?: null | string;
                fan_mode_setting?: "auto" | "on" | "circulate";
                is_cooling?: boolean;
                is_fan_running?: boolean;
                is_heating?: boolean;
                is_temporary_manual_override_active?: boolean;
                max_cooling_set_point_celsius?: number;
                max_cooling_set_point_fahrenheit?: number;
                max_heating_set_point_celsius?: number;
                max_heating_set_point_fahrenheit?: number;
                min_cooling_set_point_celsius?: number;
                min_cooling_set_point_fahrenheit?: number;
                min_heating_cooling_delta_celsius?: number;
                min_heating_cooling_delta_fahrenheit?: number;
                min_heating_set_point_celsius?: number;
                min_heating_set_point_fahrenheit?: number;
                relative_humidity?: number;
                temperature_celsius?: number;
                temperature_fahrenheit?: number;
                temperature_threshold?: {
                    lower_limit_celsius: (...) | (...);
                    lower_limit_fahrenheit: (...) | (...);
                    upper_limit_celsius: (...) | (...);
                    upper_limit_fahrenheit: (...) | (...);
                };
                thermostat_daily_programs?: {
                    created_at: ...;
                    device_id: ...;
                    name: ...;
                    periods: ...;
                    thermostat_daily_program_id: ...;
                    workspace_id: ...;
                }[];
                thermostat_weekly_program?: null | {
                    created_at: string;
                    friday_program_id: (...) | (...);
                    monday_program_id: (...) | (...);
                    saturday_program_id: (...) | (...);
                    sunday_program_id: (...) | (...);
                    thursday_program_id: (...) | (...);
                    tuesday_program_id: (...) | (...);
                    wednesday_program_id: (...) | (...);
                };
            };
            warnings: (
                | {
                    created_at: string;
                    message: string;
                    warning_code: "partial_backup_access_code_pool";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "many_active_backup_codes";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "wyze_device_missing_gateway";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "functional_offline_device";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "third_party_integration_detected";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "nest_thermostat_in_manual_eco_mode";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "ttlock_lock_gateway_unlocking_not_enabled";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "ttlock_weak_gateway_signal";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "power_saving_mode";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "temperature_threshold_exceeded";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "device_communication_degraded";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "scheduled_maintenance_window";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "device_has_flaky_connection";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "salto_ks_office_mode";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "salto_ks_privacy_mode";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "salto_ks_subscription_limit_almost_reached";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "unknown_issue_with_phone";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "lockly_time_zone_not_configured";
                })[];
            workspace_id: string;
        };
    }>, "device">, "device">)
  • Returns ((params?: {
        device_id?: string;
        name?: string;
    }) => SeamHttpRequest<SetNonNullable<Required<{
        device: {
            can_hvac_cool?: boolean;
            can_hvac_heat?: boolean;
            can_hvac_heat_cool?: boolean;
            can_program_offline_access_codes?: boolean;
            can_program_online_access_codes?: boolean;
            can_remotely_lock?: boolean;
            can_remotely_unlock?: boolean;
            can_simulate_connection?: boolean;
            can_simulate_disconnection?: boolean;
            can_simulate_removal?: boolean;
            can_turn_off_hvac?: boolean;
            capabilities_supported: (
                | "access_code"
                | "lock"
                | "phone"
                | "thermostat"
                | "noise_detection"
                | "battery")[];
            connected_account_id: string;
            created_at: string;
            custom_metadata: Record<string, string | boolean>;
            device_id: string;
            device_type:
                | "akuvox_lock"
                | "august_lock"
                | "brivo_access_point"
                | "butterflymx_panel"
                | "avigilon_alta_entry"
                | "doorking_lock"
                | "genie_door"
                | "igloo_lock"
                | "linear_lock"
                | "lockly_lock"
                | "kwikset_lock"
                | "nuki_lock"
                | "salto_lock"
                | "schlage_lock"
                | "seam_relay"
                | "smartthings_lock"
                | "wyze_lock"
                | "yale_lock"
                | "two_n_intercom"
                | "controlbyweb_device"
                | "ttlock_lock"
                | "igloohome_lock"
                | "hubitat_lock"
                | "four_suites_door"
                | "dormakaba_oracode_door"
                | "tedee_lock"
                | "akiles_lock"
                | "noiseaware_activity_zone"
                | "minut_sensor"
                | "ecobee_thermostat"
                | "nest_thermostat"
                | "honeywell_resideo_thermostat"
                | "tado_thermostat"
                | "sensi_thermostat"
                | "smartthings_thermostat"
                | "ios_phone"
                | "android_phone";
            display_name: string;
            errors: (
                | {
                    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: "lockly_missing_wifi_bridge";
                    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_managed: true;
            location: null | {
                location_name?: string;
                timezone?: string;
            };
            nickname?: string;
            properties: {
                accessory_keypad?: {
                    battery?: (...) | (...);
                    is_connected: boolean;
                };
                appearance: {
                    name: string;
                };
                battery?: {
                    level: number;
                    status:
                        | (...)
                        | (...)
                        | (...)
                        | (...);
                };
                battery_level?: number;
                currently_triggering_noise_threshold_ids?: string[];
                has_direct_power?: boolean;
                image_alt_text?: string;
                image_url?: string;
                manufacturer?: string;
                model: {
                    accessory_keypad_supported?: boolean;
                    can_connect_accessory_keypad?: boolean;
                    display_name: string;
                    has_built_in_keypad?: boolean;
                    manufacturer_display_name: string;
                    offline_access_codes_supported?: boolean;
                    online_access_codes_supported?: boolean;
                };
                name: string;
                noise_level_decibels?: number;
                offline_access_codes_enabled?: boolean;
                online: boolean;
                online_access_codes_enabled?: boolean;
                serial_number?: string;
                supports_accessory_keypad?: boolean;
                supports_offline_access_codes?: boolean;
            } & {
                assa_abloy_credential_service_metadata?: {
                    endpoints: (...)[];
                    has_active_endpoint: boolean;
                };
                salto_space_credential_service_metadata?: {
                    has_active_phone: boolean;
                };
            } & {
                akiles_metadata?: {
                    _member_group_id?: (...) | (...);
                    gadget_id: string;
                    gadget_name: string;
                    product_name: string;
                };
                assa_abloy_vostio_metadata?: {
                    encoder_name: string;
                };
                august_metadata?: {
                    has_keypad: boolean;
                    house_id?: (...) | (...);
                    house_name: string;
                    keypad_battery_level?: (...) | (...);
                    lock_id: string;
                    lock_name: string;
                    model?: (...) | (...);
                };
                avigilon_alta_metadata?: {
                    entry_name: string;
                    entry_relays_total_count: number;
                    org_name: string;
                    site_id: number;
                    site_name: string;
                    zone_id: number;
                    zone_name: string;
                };
                brivo_metadata?: {
                    device_name: string;
                };
                controlbyweb_metadata?: {
                    device_id: string;
                    device_name: string;
                    relay_name: (...) | (...);
                };
                dormakaba_oracode_metadata?: {
                    device_id?: (...) | (...) | (...);
                    door_id?: (...) | (...);
                    door_is_wireless: boolean;
                    door_name: string;
                    iana_timezone?: (...) | (...);
                    predefined_time_slots?: (...) | (...);
                    site_id: (...) | (...);
                    site_name: string;
                };
                ecobee_metadata?: {
                    device_name: string;
                    ecobee_device_id: string;
                };
                four_suites_metadata?: {
                    device_id: number;
                    device_name: string;
                    reclose_delay_in_seconds: number;
                };
                genie_metadata?: {
                    device_name: string;
                    door_name: string;
                };
                honeywell_resideo_metadata?: {
                    device_name: string;
                    honeywell_resideo_device_id: string;
                };
                hubitat_metadata?: {
                    device_id: string;
                    device_label: string;
                    device_name: string;
                };
                igloo_metadata?: {
                    bridge_id: string;
                    device_id: string;
                    model?: (...) | (...);
                };
                igloohome_metadata?: {
                    bridge_id?: (...) | (...);
                    bridge_name?: (...) | (...);
                    device_id: string;
                    device_name: string;
                    keypad_id?: (...) | (...);
                };
                kwikset_metadata?: {
                    device_id: string;
                    device_name: string;
                    model_number: string;
                };
                lockly_metadata?: {
                    device_id: string;
                    device_name: string;
                    model?: (...) | (...);
                };
                minut_metadata?: {
                    device_id: string;
                    device_name: string;
                    latest_sensor_values: {
                        accelerometer_z: ...;
                        humidity: ...;
                        pressure: ...;
                        sound: ...;
                        temperature: ...;
                    };
                };
                nest_metadata?: {
                    device_custom_name: string;
                    device_name: string;
                    display_name?: (...) | (...);
                    nest_device_id: string;
                };
                noiseaware_metadata?: {
                    device_id: string;
                    device_model: (...) | (...);
                    device_name: string;
                    noise_level_decibel: number;
                    noise_level_nrs: number;
                };
                nuki_metadata?: {
                    device_id: string;
                    device_name: string;
                    keypad_2_paired?: (...) | (...) | (...);
                    keypad_battery_critical?: (...) | (...) | (...);
                    keypad_paired?: (...) | (...) | (...);
                };
                salto_ks_metadata?: {
                    battery_level: string;
                    customer_reference: string;
                    lock_id: string;
                    lock_type: string;
                    locked_state: string;
                    model?: (...) | (...);
                };
                salto_metadata?: {
                    battery_level: string;
                    customer_reference: string;
                    lock_id: string;
                    lock_type: string;
                    locked_state: string;
                    model?: (...) | (...);
                };
                schlage_metadata?: {
                    device_id: string;
                    device_name: string;
                    model?: (...) | (...);
                };
                seam_bridge_metadata?: {
                    device_num: number;
                    name: string;
                    unlock_method?: (...) | (...) | (...);
                };
                sensi_metadata?: {
                    device_id: string;
                    device_name: string;
                    product_type: string;
                };
                smartthings_metadata?: {
                    device_id: string;
                    device_name: string;
                    location_id?: (...) | (...);
                    model?: (...) | (...);
                };
                tado_metadata?: {
                    device_type: string;
                    serial_no: string;
                };
                tedee_metadata?: {
                    bridge_id: number;
                    bridge_name: string;
                    device_id: number;
                    device_model: string;
                    device_name: string;
                    keypad_id?: (...) | (...);
                    serial_number: string;
                };
                ttlock_metadata?: {
                    feature_value: string;
                    features: {
                        incomplete_keyboard_passcode: ...;
                        lock_command: ...;
                        passcode: ...;
                        passcode_management: ...;
                        unlock_via_gateway: ...;
                        wifi: ...;
                    };
                    has_gateway?: (...) | (...) | (...);
                    lock_alias: string;
                    lock_id: number;
                    wireless_keypads?: (...) | (...);
                };
                two_n_metadata?: {
                    device_id: number;
                    device_name: string;
                };
                visionline_metadata?: {
                    encoder_id: string;
                };
                wyze_metadata?: {
                    device_id: string;
                    device_info_model: string;
                    device_name: string;
                    keypad_uuid?: (...) | (...);
                    locker_status_hardlock?: (...) | (...);
                    product_model: string;
                    product_name: string;
                    product_type: string;
                };
            } & {
                _experimental_supported_code_from_access_codes_lengths?: number[];
                code_constraints?: ((...) | (...))[];
                door_open?: boolean;
                has_native_entry_events?: boolean;
                keypad_battery?: {
                    level: number;
                };
                locked?: boolean;
                max_active_codes_supported?: number;
                supported_code_lengths?: number[];
                supports_backup_access_code_pool?: boolean;
            } & {
                active_thermostat_schedule?: null | {
                    climate_preset_key: string;
                    created_at: string;
                    device_id: string;
                    ends_at: string;
                    errors: (...)[];
                    is_override_allowed?: (...) | (...) | (...);
                    max_override_period_minutes?: (...) | (...) | (...);
                    name: (...) | (...);
                    starts_at: string;
                    thermostat_schedule_id: string;
                    workspace_id: string;
                };
                available_climate_presets?: {
                    can_delete: ...;
                    can_edit: ...;
                    can_program: ...;
                    climate_preset_key: ...;
                    cooling_set_point_celsius?: ...;
                    cooling_set_point_fahrenheit?: ...;
                    display_name: ...;
                    fan_mode_setting?: ...;
                    heating_set_point_celsius?: ...;
                    heating_set_point_fahrenheit?: ...;
                    hvac_mode_setting?: ...;
                    manual_override_allowed: ...;
                    name?: ...;
                }[];
                available_fan_mode_settings?: ((...) | (...) | (...))[];
                available_hvac_mode_settings?: (
                    | (...)
                    | (...)
                    | (...)
                    | (...))[];
                current_climate_setting?: {
                    can_delete?: (...) | (...) | (...);
                    can_edit?: (...) | (...) | (...);
                    can_program?: (...) | (...) | (...);
                    climate_preset_key?: (...) | (...);
                    cooling_set_point_celsius?: (...) | (...);
                    cooling_set_point_fahrenheit?: (...) | (...);
                    display_name?: (...) | (...);
                    fan_mode_setting?:
                        | (...)
                        | (...)
                        | (...)
                        | (...);
                    heating_set_point_celsius?: (...) | (...);
                    heating_set_point_fahrenheit?: (...) | (...);
                    hvac_mode_setting?:
                        | (...)
                        | (...)
                        | (...)
                        | (...)
                        | (...);
                    manual_override_allowed?: (...) | (...) | (...);
                    name?: (...) | (...) | (...);
                };
                default_climate_setting?: {
                    can_delete?: (...) | (...) | (...);
                    can_edit?: (...) | (...) | (...);
                    can_program?: (...) | (...) | (...);
                    climate_preset_key?: (...) | (...);
                    cooling_set_point_celsius?: (...) | (...);
                    cooling_set_point_fahrenheit?: (...) | (...);
                    display_name?: (...) | (...);
                    fan_mode_setting?:
                        | (...)
                        | (...)
                        | (...)
                        | (...);
                    heating_set_point_celsius?: (...) | (...);
                    heating_set_point_fahrenheit?: (...) | (...);
                    hvac_mode_setting?:
                        | (...)
                        | (...)
                        | (...)
                        | (...)
                        | (...);
                    manual_override_allowed?: (...) | (...) | (...);
                    name?: (...) | (...) | (...);
                };
                fallback_climate_preset_key?: null | string;
                fan_mode_setting?: "auto" | "on" | "circulate";
                is_cooling?: boolean;
                is_fan_running?: boolean;
                is_heating?: boolean;
                is_temporary_manual_override_active?: boolean;
                max_cooling_set_point_celsius?: number;
                max_cooling_set_point_fahrenheit?: number;
                max_heating_set_point_celsius?: number;
                max_heating_set_point_fahrenheit?: number;
                min_cooling_set_point_celsius?: number;
                min_cooling_set_point_fahrenheit?: number;
                min_heating_cooling_delta_celsius?: number;
                min_heating_cooling_delta_fahrenheit?: number;
                min_heating_set_point_celsius?: number;
                min_heating_set_point_fahrenheit?: number;
                relative_humidity?: number;
                temperature_celsius?: number;
                temperature_fahrenheit?: number;
                temperature_threshold?: {
                    lower_limit_celsius: (...) | (...);
                    lower_limit_fahrenheit: (...) | (...);
                    upper_limit_celsius: (...) | (...);
                    upper_limit_fahrenheit: (...) | (...);
                };
                thermostat_daily_programs?: {
                    created_at: ...;
                    device_id: ...;
                    name: ...;
                    periods: ...;
                    thermostat_daily_program_id: ...;
                    workspace_id: ...;
                }[];
                thermostat_weekly_program?: null | {
                    created_at: string;
                    friday_program_id: (...) | (...);
                    monday_program_id: (...) | (...);
                    saturday_program_id: (...) | (...);
                    sunday_program_id: (...) | (...);
                    thursday_program_id: (...) | (...);
                    tuesday_program_id: (...) | (...);
                    wednesday_program_id: (...) | (...);
                };
            };
            warnings: (
                | {
                    created_at: string;
                    message: string;
                    warning_code: "partial_backup_access_code_pool";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "many_active_backup_codes";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "wyze_device_missing_gateway";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "functional_offline_device";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "third_party_integration_detected";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "nest_thermostat_in_manual_eco_mode";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "ttlock_lock_gateway_unlocking_not_enabled";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "ttlock_weak_gateway_signal";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "power_saving_mode";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "temperature_threshold_exceeded";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "device_communication_degraded";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "scheduled_maintenance_window";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "device_has_flaky_connection";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "salto_ks_office_mode";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "salto_ks_privacy_mode";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "salto_ks_subscription_limit_almost_reached";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "unknown_issue_with_phone";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "lockly_time_zone_not_configured";
                })[];
            workspace_id: string;
        };
    }>, "device">, "device">)

      • (params?): SeamHttpRequest<SetNonNullable<Required<{
            device: {
                can_hvac_cool?: boolean;
                can_hvac_heat?: boolean;
                can_hvac_heat_cool?: boolean;
                can_program_offline_access_codes?: boolean;
                can_program_online_access_codes?: boolean;
                can_remotely_lock?: boolean;
                can_remotely_unlock?: boolean;
                can_simulate_connection?: boolean;
                can_simulate_disconnection?: boolean;
                can_simulate_removal?: boolean;
                can_turn_off_hvac?: boolean;
                capabilities_supported: (
                    | "access_code"
                    | "lock"
                    | "phone"
                    | "thermostat"
                    | "noise_detection"
                    | "battery")[];
                connected_account_id: string;
                created_at: string;
                custom_metadata: Record<string, string | boolean>;
                device_id: string;
                device_type:
                    | "akuvox_lock"
                    | "august_lock"
                    | "brivo_access_point"
                    | "butterflymx_panel"
                    | "avigilon_alta_entry"
                    | "doorking_lock"
                    | "genie_door"
                    | "igloo_lock"
                    | "linear_lock"
                    | "lockly_lock"
                    | "kwikset_lock"
                    | "nuki_lock"
                    | "salto_lock"
                    | "schlage_lock"
                    | "seam_relay"
                    | "smartthings_lock"
                    | "wyze_lock"
                    | "yale_lock"
                    | "two_n_intercom"
                    | "controlbyweb_device"
                    | "ttlock_lock"
                    | "igloohome_lock"
                    | "hubitat_lock"
                    | "four_suites_door"
                    | "dormakaba_oracode_door"
                    | "tedee_lock"
                    | "akiles_lock"
                    | "noiseaware_activity_zone"
                    | "minut_sensor"
                    | "ecobee_thermostat"
                    | "nest_thermostat"
                    | "honeywell_resideo_thermostat"
                    | "tado_thermostat"
                    | "sensi_thermostat"
                    | "smartthings_thermostat"
                    | "ios_phone"
                    | "android_phone";
                display_name: string;
                errors: (
                    | {
                        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: "lockly_missing_wifi_bridge";
                        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_managed: true;
                location: null | {
                    location_name?: string;
                    timezone?: string;
                };
                nickname?: string;
                properties: {
                    accessory_keypad?: {
                        battery?: (...) | (...);
                        is_connected: boolean;
                    };
                    appearance: {
                        name: string;
                    };
                    battery?: {
                        level: number;
                        status:
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                    };
                    battery_level?: number;
                    currently_triggering_noise_threshold_ids?: string[];
                    has_direct_power?: boolean;
                    image_alt_text?: string;
                    image_url?: string;
                    manufacturer?: string;
                    model: {
                        accessory_keypad_supported?: boolean;
                        can_connect_accessory_keypad?: boolean;
                        display_name: string;
                        has_built_in_keypad?: boolean;
                        manufacturer_display_name: string;
                        offline_access_codes_supported?: boolean;
                        online_access_codes_supported?: boolean;
                    };
                    name: string;
                    noise_level_decibels?: number;
                    offline_access_codes_enabled?: boolean;
                    online: boolean;
                    online_access_codes_enabled?: boolean;
                    serial_number?: string;
                    supports_accessory_keypad?: boolean;
                    supports_offline_access_codes?: boolean;
                } & {
                    assa_abloy_credential_service_metadata?: {
                        endpoints: (...)[];
                        has_active_endpoint: boolean;
                    };
                    salto_space_credential_service_metadata?: {
                        has_active_phone: boolean;
                    };
                } & {
                    akiles_metadata?: {
                        _member_group_id?: (...) | (...);
                        gadget_id: string;
                        gadget_name: string;
                        product_name: string;
                    };
                    assa_abloy_vostio_metadata?: {
                        encoder_name: string;
                    };
                    august_metadata?: {
                        has_keypad: boolean;
                        house_id?: (...) | (...);
                        house_name: string;
                        keypad_battery_level?: (...) | (...);
                        lock_id: string;
                        lock_name: string;
                        model?: (...) | (...);
                    };
                    avigilon_alta_metadata?: {
                        entry_name: string;
                        entry_relays_total_count: number;
                        org_name: string;
                        site_id: number;
                        site_name: string;
                        zone_id: number;
                        zone_name: string;
                    };
                    brivo_metadata?: {
                        device_name: string;
                    };
                    controlbyweb_metadata?: {
                        device_id: string;
                        device_name: string;
                        relay_name: (...) | (...);
                    };
                    dormakaba_oracode_metadata?: {
                        device_id?: (...) | (...) | (...);
                        door_id?: (...) | (...);
                        door_is_wireless: boolean;
                        door_name: string;
                        iana_timezone?: (...) | (...);
                        predefined_time_slots?: (...) | (...);
                        site_id: (...) | (...);
                        site_name: string;
                    };
                    ecobee_metadata?: {
                        device_name: string;
                        ecobee_device_id: string;
                    };
                    four_suites_metadata?: {
                        device_id: number;
                        device_name: string;
                        reclose_delay_in_seconds: number;
                    };
                    genie_metadata?: {
                        device_name: string;
                        door_name: string;
                    };
                    honeywell_resideo_metadata?: {
                        device_name: string;
                        honeywell_resideo_device_id: string;
                    };
                    hubitat_metadata?: {
                        device_id: string;
                        device_label: string;
                        device_name: string;
                    };
                    igloo_metadata?: {
                        bridge_id: string;
                        device_id: string;
                        model?: (...) | (...);
                    };
                    igloohome_metadata?: {
                        bridge_id?: (...) | (...);
                        bridge_name?: (...) | (...);
                        device_id: string;
                        device_name: string;
                        keypad_id?: (...) | (...);
                    };
                    kwikset_metadata?: {
                        device_id: string;
                        device_name: string;
                        model_number: string;
                    };
                    lockly_metadata?: {
                        device_id: string;
                        device_name: string;
                        model?: (...) | (...);
                    };
                    minut_metadata?: {
                        device_id: string;
                        device_name: string;
                        latest_sensor_values: {
                            accelerometer_z: ...;
                            humidity: ...;
                            pressure: ...;
                            sound: ...;
                            temperature: ...;
                        };
                    };
                    nest_metadata?: {
                        device_custom_name: string;
                        device_name: string;
                        display_name?: (...) | (...);
                        nest_device_id: string;
                    };
                    noiseaware_metadata?: {
                        device_id: string;
                        device_model: (...) | (...);
                        device_name: string;
                        noise_level_decibel: number;
                        noise_level_nrs: number;
                    };
                    nuki_metadata?: {
                        device_id: string;
                        device_name: string;
                        keypad_2_paired?: (...) | (...) | (...);
                        keypad_battery_critical?: (...) | (...) | (...);
                        keypad_paired?: (...) | (...) | (...);
                    };
                    salto_ks_metadata?: {
                        battery_level: string;
                        customer_reference: string;
                        lock_id: string;
                        lock_type: string;
                        locked_state: string;
                        model?: (...) | (...);
                    };
                    salto_metadata?: {
                        battery_level: string;
                        customer_reference: string;
                        lock_id: string;
                        lock_type: string;
                        locked_state: string;
                        model?: (...) | (...);
                    };
                    schlage_metadata?: {
                        device_id: string;
                        device_name: string;
                        model?: (...) | (...);
                    };
                    seam_bridge_metadata?: {
                        device_num: number;
                        name: string;
                        unlock_method?: (...) | (...) | (...);
                    };
                    sensi_metadata?: {
                        device_id: string;
                        device_name: string;
                        product_type: string;
                    };
                    smartthings_metadata?: {
                        device_id: string;
                        device_name: string;
                        location_id?: (...) | (...);
                        model?: (...) | (...);
                    };
                    tado_metadata?: {
                        device_type: string;
                        serial_no: string;
                    };
                    tedee_metadata?: {
                        bridge_id: number;
                        bridge_name: string;
                        device_id: number;
                        device_model: string;
                        device_name: string;
                        keypad_id?: (...) | (...);
                        serial_number: string;
                    };
                    ttlock_metadata?: {
                        feature_value: string;
                        features: {
                            incomplete_keyboard_passcode: ...;
                            lock_command: ...;
                            passcode: ...;
                            passcode_management: ...;
                            unlock_via_gateway: ...;
                            wifi: ...;
                        };
                        has_gateway?: (...) | (...) | (...);
                        lock_alias: string;
                        lock_id: number;
                        wireless_keypads?: (...) | (...);
                    };
                    two_n_metadata?: {
                        device_id: number;
                        device_name: string;
                    };
                    visionline_metadata?: {
                        encoder_id: string;
                    };
                    wyze_metadata?: {
                        device_id: string;
                        device_info_model: string;
                        device_name: string;
                        keypad_uuid?: (...) | (...);
                        locker_status_hardlock?: (...) | (...);
                        product_model: string;
                        product_name: string;
                        product_type: string;
                    };
                } & {
                    _experimental_supported_code_from_access_codes_lengths?: number[];
                    code_constraints?: ((...) | (...))[];
                    door_open?: boolean;
                    has_native_entry_events?: boolean;
                    keypad_battery?: {
                        level: number;
                    };
                    locked?: boolean;
                    max_active_codes_supported?: number;
                    supported_code_lengths?: number[];
                    supports_backup_access_code_pool?: boolean;
                } & {
                    active_thermostat_schedule?: null | {
                        climate_preset_key: string;
                        created_at: string;
                        device_id: string;
                        ends_at: string;
                        errors: (...)[];
                        is_override_allowed?: (...) | (...) | (...);
                        max_override_period_minutes?: (...) | (...) | (...);
                        name: (...) | (...);
                        starts_at: string;
                        thermostat_schedule_id: string;
                        workspace_id: string;
                    };
                    available_climate_presets?: {
                        can_delete: ...;
                        can_edit: ...;
                        can_program: ...;
                        climate_preset_key: ...;
                        cooling_set_point_celsius?: ...;
                        cooling_set_point_fahrenheit?: ...;
                        display_name: ...;
                        fan_mode_setting?: ...;
                        heating_set_point_celsius?: ...;
                        heating_set_point_fahrenheit?: ...;
                        hvac_mode_setting?: ...;
                        manual_override_allowed: ...;
                        name?: ...;
                    }[];
                    available_fan_mode_settings?: ((...) | (...) | (...))[];
                    available_hvac_mode_settings?: (
                        | (...)
                        | (...)
                        | (...)
                        | (...))[];
                    current_climate_setting?: {
                        can_delete?: (...) | (...) | (...);
                        can_edit?: (...) | (...) | (...);
                        can_program?: (...) | (...) | (...);
                        climate_preset_key?: (...) | (...);
                        cooling_set_point_celsius?: (...) | (...);
                        cooling_set_point_fahrenheit?: (...) | (...);
                        display_name?: (...) | (...);
                        fan_mode_setting?:
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                        heating_set_point_celsius?: (...) | (...);
                        heating_set_point_fahrenheit?: (...) | (...);
                        hvac_mode_setting?:
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                        manual_override_allowed?: (...) | (...) | (...);
                        name?: (...) | (...) | (...);
                    };
                    default_climate_setting?: {
                        can_delete?: (...) | (...) | (...);
                        can_edit?: (...) | (...) | (...);
                        can_program?: (...) | (...) | (...);
                        climate_preset_key?: (...) | (...);
                        cooling_set_point_celsius?: (...) | (...);
                        cooling_set_point_fahrenheit?: (...) | (...);
                        display_name?: (...) | (...);
                        fan_mode_setting?:
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                        heating_set_point_celsius?: (...) | (...);
                        heating_set_point_fahrenheit?: (...) | (...);
                        hvac_mode_setting?:
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                        manual_override_allowed?: (...) | (...) | (...);
                        name?: (...) | (...) | (...);
                    };
                    fallback_climate_preset_key?: null | string;
                    fan_mode_setting?: "auto" | "on" | "circulate";
                    is_cooling?: boolean;
                    is_fan_running?: boolean;
                    is_heating?: boolean;
                    is_temporary_manual_override_active?: boolean;
                    max_cooling_set_point_celsius?: number;
                    max_cooling_set_point_fahrenheit?: number;
                    max_heating_set_point_celsius?: number;
                    max_heating_set_point_fahrenheit?: number;
                    min_cooling_set_point_celsius?: number;
                    min_cooling_set_point_fahrenheit?: number;
                    min_heating_cooling_delta_celsius?: number;
                    min_heating_cooling_delta_fahrenheit?: number;
                    min_heating_set_point_celsius?: number;
                    min_heating_set_point_fahrenheit?: number;
                    relative_humidity?: number;
                    temperature_celsius?: number;
                    temperature_fahrenheit?: number;
                    temperature_threshold?: {
                        lower_limit_celsius: (...) | (...);
                        lower_limit_fahrenheit: (...) | (...);
                        upper_limit_celsius: (...) | (...);
                        upper_limit_fahrenheit: (...) | (...);
                    };
                    thermostat_daily_programs?: {
                        created_at: ...;
                        device_id: ...;
                        name: ...;
                        periods: ...;
                        thermostat_daily_program_id: ...;
                        workspace_id: ...;
                    }[];
                    thermostat_weekly_program?: null | {
                        created_at: string;
                        friday_program_id: (...) | (...);
                        monday_program_id: (...) | (...);
                        saturday_program_id: (...) | (...);
                        sunday_program_id: (...) | (...);
                        thursday_program_id: (...) | (...);
                        tuesday_program_id: (...) | (...);
                        wednesday_program_id: (...) | (...);
                    };
                };
                warnings: (
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "partial_backup_access_code_pool";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "many_active_backup_codes";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "wyze_device_missing_gateway";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "functional_offline_device";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "third_party_integration_detected";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "nest_thermostat_in_manual_eco_mode";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "ttlock_lock_gateway_unlocking_not_enabled";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "ttlock_weak_gateway_signal";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "power_saving_mode";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "temperature_threshold_exceeded";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "device_communication_degraded";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "scheduled_maintenance_window";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "device_has_flaky_connection";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "salto_ks_office_mode";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "salto_ks_privacy_mode";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "salto_ks_subscription_limit_almost_reached";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "unknown_issue_with_phone";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "lockly_time_zone_not_configured";
                    })[];
                workspace_id: string;
            };
        }>, "device">, "device">
      • Parameters

        • Optionalparams: {
              device_id?: string;
              name?: string;
          }
          • Optionaldevice_id?: string

            ID of the device that you want to get.

          • Optionalname?: string

            Name of the device that you want to get.

        Returns SeamHttpRequest<SetNonNullable<Required<{
            device: {
                can_hvac_cool?: boolean;
                can_hvac_heat?: boolean;
                can_hvac_heat_cool?: boolean;
                can_program_offline_access_codes?: boolean;
                can_program_online_access_codes?: boolean;
                can_remotely_lock?: boolean;
                can_remotely_unlock?: boolean;
                can_simulate_connection?: boolean;
                can_simulate_disconnection?: boolean;
                can_simulate_removal?: boolean;
                can_turn_off_hvac?: boolean;
                capabilities_supported: (
                    | "access_code"
                    | "lock"
                    | "phone"
                    | "thermostat"
                    | "noise_detection"
                    | "battery")[];
                connected_account_id: string;
                created_at: string;
                custom_metadata: Record<string, string | boolean>;
                device_id: string;
                device_type:
                    | "akuvox_lock"
                    | "august_lock"
                    | "brivo_access_point"
                    | "butterflymx_panel"
                    | "avigilon_alta_entry"
                    | "doorking_lock"
                    | "genie_door"
                    | "igloo_lock"
                    | "linear_lock"
                    | "lockly_lock"
                    | "kwikset_lock"
                    | "nuki_lock"
                    | "salto_lock"
                    | "schlage_lock"
                    | "seam_relay"
                    | "smartthings_lock"
                    | "wyze_lock"
                    | "yale_lock"
                    | "two_n_intercom"
                    | "controlbyweb_device"
                    | "ttlock_lock"
                    | "igloohome_lock"
                    | "hubitat_lock"
                    | "four_suites_door"
                    | "dormakaba_oracode_door"
                    | "tedee_lock"
                    | "akiles_lock"
                    | "noiseaware_activity_zone"
                    | "minut_sensor"
                    | "ecobee_thermostat"
                    | "nest_thermostat"
                    | "honeywell_resideo_thermostat"
                    | "tado_thermostat"
                    | "sensi_thermostat"
                    | "smartthings_thermostat"
                    | "ios_phone"
                    | "android_phone";
                display_name: string;
                errors: (
                    | {
                        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: "lockly_missing_wifi_bridge";
                        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_managed: true;
                location: null | {
                    location_name?: string;
                    timezone?: string;
                };
                nickname?: string;
                properties: {
                    accessory_keypad?: {
                        battery?: (...) | (...);
                        is_connected: boolean;
                    };
                    appearance: {
                        name: string;
                    };
                    battery?: {
                        level: number;
                        status:
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                    };
                    battery_level?: number;
                    currently_triggering_noise_threshold_ids?: string[];
                    has_direct_power?: boolean;
                    image_alt_text?: string;
                    image_url?: string;
                    manufacturer?: string;
                    model: {
                        accessory_keypad_supported?: boolean;
                        can_connect_accessory_keypad?: boolean;
                        display_name: string;
                        has_built_in_keypad?: boolean;
                        manufacturer_display_name: string;
                        offline_access_codes_supported?: boolean;
                        online_access_codes_supported?: boolean;
                    };
                    name: string;
                    noise_level_decibels?: number;
                    offline_access_codes_enabled?: boolean;
                    online: boolean;
                    online_access_codes_enabled?: boolean;
                    serial_number?: string;
                    supports_accessory_keypad?: boolean;
                    supports_offline_access_codes?: boolean;
                } & {
                    assa_abloy_credential_service_metadata?: {
                        endpoints: (...)[];
                        has_active_endpoint: boolean;
                    };
                    salto_space_credential_service_metadata?: {
                        has_active_phone: boolean;
                    };
                } & {
                    akiles_metadata?: {
                        _member_group_id?: (...) | (...);
                        gadget_id: string;
                        gadget_name: string;
                        product_name: string;
                    };
                    assa_abloy_vostio_metadata?: {
                        encoder_name: string;
                    };
                    august_metadata?: {
                        has_keypad: boolean;
                        house_id?: (...) | (...);
                        house_name: string;
                        keypad_battery_level?: (...) | (...);
                        lock_id: string;
                        lock_name: string;
                        model?: (...) | (...);
                    };
                    avigilon_alta_metadata?: {
                        entry_name: string;
                        entry_relays_total_count: number;
                        org_name: string;
                        site_id: number;
                        site_name: string;
                        zone_id: number;
                        zone_name: string;
                    };
                    brivo_metadata?: {
                        device_name: string;
                    };
                    controlbyweb_metadata?: {
                        device_id: string;
                        device_name: string;
                        relay_name: (...) | (...);
                    };
                    dormakaba_oracode_metadata?: {
                        device_id?: (...) | (...) | (...);
                        door_id?: (...) | (...);
                        door_is_wireless: boolean;
                        door_name: string;
                        iana_timezone?: (...) | (...);
                        predefined_time_slots?: (...) | (...);
                        site_id: (...) | (...);
                        site_name: string;
                    };
                    ecobee_metadata?: {
                        device_name: string;
                        ecobee_device_id: string;
                    };
                    four_suites_metadata?: {
                        device_id: number;
                        device_name: string;
                        reclose_delay_in_seconds: number;
                    };
                    genie_metadata?: {
                        device_name: string;
                        door_name: string;
                    };
                    honeywell_resideo_metadata?: {
                        device_name: string;
                        honeywell_resideo_device_id: string;
                    };
                    hubitat_metadata?: {
                        device_id: string;
                        device_label: string;
                        device_name: string;
                    };
                    igloo_metadata?: {
                        bridge_id: string;
                        device_id: string;
                        model?: (...) | (...);
                    };
                    igloohome_metadata?: {
                        bridge_id?: (...) | (...);
                        bridge_name?: (...) | (...);
                        device_id: string;
                        device_name: string;
                        keypad_id?: (...) | (...);
                    };
                    kwikset_metadata?: {
                        device_id: string;
                        device_name: string;
                        model_number: string;
                    };
                    lockly_metadata?: {
                        device_id: string;
                        device_name: string;
                        model?: (...) | (...);
                    };
                    minut_metadata?: {
                        device_id: string;
                        device_name: string;
                        latest_sensor_values: {
                            accelerometer_z: ...;
                            humidity: ...;
                            pressure: ...;
                            sound: ...;
                            temperature: ...;
                        };
                    };
                    nest_metadata?: {
                        device_custom_name: string;
                        device_name: string;
                        display_name?: (...) | (...);
                        nest_device_id: string;
                    };
                    noiseaware_metadata?: {
                        device_id: string;
                        device_model: (...) | (...);
                        device_name: string;
                        noise_level_decibel: number;
                        noise_level_nrs: number;
                    };
                    nuki_metadata?: {
                        device_id: string;
                        device_name: string;
                        keypad_2_paired?: (...) | (...) | (...);
                        keypad_battery_critical?: (...) | (...) | (...);
                        keypad_paired?: (...) | (...) | (...);
                    };
                    salto_ks_metadata?: {
                        battery_level: string;
                        customer_reference: string;
                        lock_id: string;
                        lock_type: string;
                        locked_state: string;
                        model?: (...) | (...);
                    };
                    salto_metadata?: {
                        battery_level: string;
                        customer_reference: string;
                        lock_id: string;
                        lock_type: string;
                        locked_state: string;
                        model?: (...) | (...);
                    };
                    schlage_metadata?: {
                        device_id: string;
                        device_name: string;
                        model?: (...) | (...);
                    };
                    seam_bridge_metadata?: {
                        device_num: number;
                        name: string;
                        unlock_method?: (...) | (...) | (...);
                    };
                    sensi_metadata?: {
                        device_id: string;
                        device_name: string;
                        product_type: string;
                    };
                    smartthings_metadata?: {
                        device_id: string;
                        device_name: string;
                        location_id?: (...) | (...);
                        model?: (...) | (...);
                    };
                    tado_metadata?: {
                        device_type: string;
                        serial_no: string;
                    };
                    tedee_metadata?: {
                        bridge_id: number;
                        bridge_name: string;
                        device_id: number;
                        device_model: string;
                        device_name: string;
                        keypad_id?: (...) | (...);
                        serial_number: string;
                    };
                    ttlock_metadata?: {
                        feature_value: string;
                        features: {
                            incomplete_keyboard_passcode: ...;
                            lock_command: ...;
                            passcode: ...;
                            passcode_management: ...;
                            unlock_via_gateway: ...;
                            wifi: ...;
                        };
                        has_gateway?: (...) | (...) | (...);
                        lock_alias: string;
                        lock_id: number;
                        wireless_keypads?: (...) | (...);
                    };
                    two_n_metadata?: {
                        device_id: number;
                        device_name: string;
                    };
                    visionline_metadata?: {
                        encoder_id: string;
                    };
                    wyze_metadata?: {
                        device_id: string;
                        device_info_model: string;
                        device_name: string;
                        keypad_uuid?: (...) | (...);
                        locker_status_hardlock?: (...) | (...);
                        product_model: string;
                        product_name: string;
                        product_type: string;
                    };
                } & {
                    _experimental_supported_code_from_access_codes_lengths?: number[];
                    code_constraints?: ((...) | (...))[];
                    door_open?: boolean;
                    has_native_entry_events?: boolean;
                    keypad_battery?: {
                        level: number;
                    };
                    locked?: boolean;
                    max_active_codes_supported?: number;
                    supported_code_lengths?: number[];
                    supports_backup_access_code_pool?: boolean;
                } & {
                    active_thermostat_schedule?: null | {
                        climate_preset_key: string;
                        created_at: string;
                        device_id: string;
                        ends_at: string;
                        errors: (...)[];
                        is_override_allowed?: (...) | (...) | (...);
                        max_override_period_minutes?: (...) | (...) | (...);
                        name: (...) | (...);
                        starts_at: string;
                        thermostat_schedule_id: string;
                        workspace_id: string;
                    };
                    available_climate_presets?: {
                        can_delete: ...;
                        can_edit: ...;
                        can_program: ...;
                        climate_preset_key: ...;
                        cooling_set_point_celsius?: ...;
                        cooling_set_point_fahrenheit?: ...;
                        display_name: ...;
                        fan_mode_setting?: ...;
                        heating_set_point_celsius?: ...;
                        heating_set_point_fahrenheit?: ...;
                        hvac_mode_setting?: ...;
                        manual_override_allowed: ...;
                        name?: ...;
                    }[];
                    available_fan_mode_settings?: ((...) | (...) | (...))[];
                    available_hvac_mode_settings?: (
                        | (...)
                        | (...)
                        | (...)
                        | (...))[];
                    current_climate_setting?: {
                        can_delete?: (...) | (...) | (...);
                        can_edit?: (...) | (...) | (...);
                        can_program?: (...) | (...) | (...);
                        climate_preset_key?: (...) | (...);
                        cooling_set_point_celsius?: (...) | (...);
                        cooling_set_point_fahrenheit?: (...) | (...);
                        display_name?: (...) | (...);
                        fan_mode_setting?:
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                        heating_set_point_celsius?: (...) | (...);
                        heating_set_point_fahrenheit?: (...) | (...);
                        hvac_mode_setting?:
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                        manual_override_allowed?: (...) | (...) | (...);
                        name?: (...) | (...) | (...);
                    };
                    default_climate_setting?: {
                        can_delete?: (...) | (...) | (...);
                        can_edit?: (...) | (...) | (...);
                        can_program?: (...) | (...) | (...);
                        climate_preset_key?: (...) | (...);
                        cooling_set_point_celsius?: (...) | (...);
                        cooling_set_point_fahrenheit?: (...) | (...);
                        display_name?: (...) | (...);
                        fan_mode_setting?:
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                        heating_set_point_celsius?: (...) | (...);
                        heating_set_point_fahrenheit?: (...) | (...);
                        hvac_mode_setting?:
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                        manual_override_allowed?: (...) | (...) | (...);
                        name?: (...) | (...) | (...);
                    };
                    fallback_climate_preset_key?: null | string;
                    fan_mode_setting?: "auto" | "on" | "circulate";
                    is_cooling?: boolean;
                    is_fan_running?: boolean;
                    is_heating?: boolean;
                    is_temporary_manual_override_active?: boolean;
                    max_cooling_set_point_celsius?: number;
                    max_cooling_set_point_fahrenheit?: number;
                    max_heating_set_point_celsius?: number;
                    max_heating_set_point_fahrenheit?: number;
                    min_cooling_set_point_celsius?: number;
                    min_cooling_set_point_fahrenheit?: number;
                    min_heating_cooling_delta_celsius?: number;
                    min_heating_cooling_delta_fahrenheit?: number;
                    min_heating_set_point_celsius?: number;
                    min_heating_set_point_fahrenheit?: number;
                    relative_humidity?: number;
                    temperature_celsius?: number;
                    temperature_fahrenheit?: number;
                    temperature_threshold?: {
                        lower_limit_celsius: (...) | (...);
                        lower_limit_fahrenheit: (...) | (...);
                        upper_limit_celsius: (...) | (...);
                        upper_limit_fahrenheit: (...) | (...);
                    };
                    thermostat_daily_programs?: {
                        created_at: ...;
                        device_id: ...;
                        name: ...;
                        periods: ...;
                        thermostat_daily_program_id: ...;
                        workspace_id: ...;
                    }[];
                    thermostat_weekly_program?: null | {
                        created_at: string;
                        friday_program_id: (...) | (...);
                        monday_program_id: (...) | (...);
                        saturday_program_id: (...) | (...);
                        sunday_program_id: (...) | (...);
                        thursday_program_id: (...) | (...);
                        tuesday_program_id: (...) | (...);
                        wednesday_program_id: (...) | (...);
                    };
                };
                warnings: (
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "partial_backup_access_code_pool";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "many_active_backup_codes";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "wyze_device_missing_gateway";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "functional_offline_device";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "third_party_integration_detected";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "nest_thermostat_in_manual_eco_mode";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "ttlock_lock_gateway_unlocking_not_enabled";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "ttlock_weak_gateway_signal";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "power_saving_mode";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "temperature_threshold_exceeded";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "device_communication_degraded";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "scheduled_maintenance_window";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "device_has_flaky_connection";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "salto_ks_office_mode";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "salto_ks_privacy_mode";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "salto_ks_subscription_limit_almost_reached";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "unknown_issue_with_phone";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "lockly_time_zone_not_configured";
                    })[];
                workspace_id: string;
            };
        }>, "device">, "device">

  • get /devices/list(): ((params?: {
        connect_webview_id?: string;
        connected_account_id?: string;
        connected_account_ids?: string[];
        created_before?: Date;
        custom_metadata_has?: Record<string, string | boolean>;
        customer_ids?: string[];
        device_ids?: string[];
        device_type?:
            | "akuvox_lock"
            | "august_lock"
            | "brivo_access_point"
            | "butterflymx_panel"
            | "avigilon_alta_entry"
            | "doorking_lock"
            | "genie_door"
            | "igloo_lock"
            | "linear_lock"
            | "lockly_lock"
            | "kwikset_lock"
            | "nuki_lock"
            | "salto_lock"
            | "schlage_lock"
            | "seam_relay"
            | "smartthings_lock"
            | "wyze_lock"
            | "yale_lock"
            | "two_n_intercom"
            | "controlbyweb_device"
            | "ttlock_lock"
            | "igloohome_lock"
            | "hubitat_lock"
            | "four_suites_door"
            | "dormakaba_oracode_door"
            | "tedee_lock"
            | "akiles_lock"
            | "noiseaware_activity_zone"
            | "minut_sensor"
            | "ecobee_thermostat"
            | "nest_thermostat"
            | "honeywell_resideo_thermostat"
            | "tado_thermostat"
            | "sensi_thermostat"
            | "smartthings_thermostat"
            | "ios_phone"
            | "android_phone";
        device_types?: (
            | "akuvox_lock"
            | "august_lock"
            | "brivo_access_point"
            | "butterflymx_panel"
            | "avigilon_alta_entry"
            | "doorking_lock"
            | "genie_door"
            | "igloo_lock"
            | "linear_lock"
            | "lockly_lock"
            | "kwikset_lock"
            | "nuki_lock"
            | "salto_lock"
            | "schlage_lock"
            | "seam_relay"
            | "smartthings_lock"
            | "wyze_lock"
            | "yale_lock"
            | "two_n_intercom"
            | "controlbyweb_device"
            | "ttlock_lock"
            | "igloohome_lock"
            | "hubitat_lock"
            | "four_suites_door"
            | "dormakaba_oracode_door"
            | "tedee_lock"
            | "akiles_lock"
            | "noiseaware_activity_zone"
            | "minut_sensor"
            | "ecobee_thermostat"
            | "nest_thermostat"
            | "honeywell_resideo_thermostat"
            | "tado_thermostat"
            | "sensi_thermostat"
            | "smartthings_thermostat"
            | "ios_phone"
            | "android_phone")[];
        exclude_if?: (
            | "can_remotely_unlock"
            | "can_remotely_lock"
            | "can_program_offline_access_codes"
            | "can_program_online_access_codes"
            | "can_hvac_heat"
            | "can_hvac_cool"
            | "can_hvac_heat_cool"
            | "can_turn_off_hvac"
            | "can_simulate_removal"
            | "can_simulate_connection"
            | "can_simulate_disconnection")[];
        include_if?: (
            | "can_remotely_unlock"
            | "can_remotely_lock"
            | "can_program_offline_access_codes"
            | "can_program_online_access_codes"
            | "can_hvac_heat"
            | "can_hvac_cool"
            | "can_hvac_heat_cool"
            | "can_turn_off_hvac"
            | "can_simulate_removal"
            | "can_simulate_connection"
            | "can_simulate_disconnection")[];
        limit?: number;
        manufacturer?:
            | "unknown"
            | "akuvox"
            | "august"
            | "avigilon_alta"
            | "brivo"
            | "butterflymx"
            | "schlage"
            | "smartthings"
            | "yale"
            | "genie"
            | "doorking"
            | "salto"
            | "lockly"
            | "ttlock"
            | "linear"
            | "noiseaware"
            | "nuki"
            | "igloo"
            | "kwikset"
            | "minut"
            | "controlbyweb"
            | "nest"
            | "igloohome"
            | "ecobee"
            | "hubitat"
            | "four_suites"
            | "dormakaba_oracode"
            | "wyze"
            | "tedee"
            | "honeywell_resideo"
            | "akiles"
            | "tado"
            | "sensi"
            | "kwikset2"
            | "keywe"
            | "philia"
            | "samsung"
            | "seam"
            | "two_n";
        page_cursor?: null | string;
        space_id?: string;
        unstable_location_id?: null | string;
        user_identifier_key?: string;
    }) => SeamHttpRequest<SetNonNullable<Required<{
        devices: {
            can_hvac_cool?: boolean;
            can_hvac_heat?: boolean;
            can_hvac_heat_cool?: boolean;
            can_program_offline_access_codes?: boolean;
            can_program_online_access_codes?: boolean;
            can_remotely_lock?: boolean;
            can_remotely_unlock?: boolean;
            can_simulate_connection?: boolean;
            can_simulate_disconnection?: boolean;
            can_simulate_removal?: boolean;
            can_turn_off_hvac?: boolean;
            capabilities_supported: (
                | "access_code"
                | "lock"
                | "phone"
                | "thermostat"
                | "noise_detection"
                | "battery")[];
            connected_account_id: string;
            created_at: string;
            custom_metadata: Record<string, string | boolean>;
            device_id: string;
            device_type:
                | "akuvox_lock"
                | "august_lock"
                | "brivo_access_point"
                | "butterflymx_panel"
                | "avigilon_alta_entry"
                | "doorking_lock"
                | "genie_door"
                | "igloo_lock"
                | "linear_lock"
                | "lockly_lock"
                | "kwikset_lock"
                | "nuki_lock"
                | "salto_lock"
                | "schlage_lock"
                | "seam_relay"
                | "smartthings_lock"
                | "wyze_lock"
                | "yale_lock"
                | "two_n_intercom"
                | "controlbyweb_device"
                | "ttlock_lock"
                | "igloohome_lock"
                | "hubitat_lock"
                | "four_suites_door"
                | "dormakaba_oracode_door"
                | "tedee_lock"
                | "akiles_lock"
                | "noiseaware_activity_zone"
                | "minut_sensor"
                | "ecobee_thermostat"
                | "nest_thermostat"
                | "honeywell_resideo_thermostat"
                | "tado_thermostat"
                | "sensi_thermostat"
                | "smartthings_thermostat"
                | "ios_phone"
                | "android_phone";
            display_name: string;
            errors: (
                | {
                    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: "lockly_missing_wifi_bridge";
                    is_device_error: true;
                    message: string;
                }
                | {
                    created_at: string;
                    error_code: "invalid_credentials";
                    is_bridge_error?: (...) | (...) | (...);
                    is_connected_account_error?: (...) | (...) | (...);
                    message: string;
                }
                | {
                    created_at: string;
                    error_code: "bridge_disconnected";
                    is_bridge_error?: (...) | (...) | (...);
                    is_connected_account_error?: (...) | (...) | (...);
                    message: string;
                })[];
            is_managed: true;
            location: null | {
                location_name?: string;
                timezone?: string;
            };
            nickname?: string;
            properties: {
                accessory_keypad?: {
                    battery?: ...;
                    is_connected: ...;
                };
                appearance: {
                    name: string;
                };
                battery?: {
                    level: ...;
                    status: ...;
                };
                battery_level?: number;
                currently_triggering_noise_threshold_ids?: (...)[];
                has_direct_power?: boolean;
                image_alt_text?: string;
                image_url?: string;
                manufacturer?: string;
                model: {
                    accessory_keypad_supported?: (...) | (...) | (...);
                    can_connect_accessory_keypad?: (...) | (...) | (...);
                    display_name: string;
                    has_built_in_keypad?: (...) | (...) | (...);
                    manufacturer_display_name: string;
                    offline_access_codes_supported?: (...) | (...) | (...);
                    online_access_codes_supported?: (...) | (...) | (...);
                };
                name: string;
                noise_level_decibels?: number;
                offline_access_codes_enabled?: boolean;
                online: boolean;
                online_access_codes_enabled?: boolean;
                serial_number?: string;
                supports_accessory_keypad?: boolean;
                supports_offline_access_codes?: boolean;
            } & {
                assa_abloy_credential_service_metadata?: {
                    endpoints: ...;
                    has_active_endpoint: ...;
                };
                salto_space_credential_service_metadata?: {
                    has_active_phone: ...;
                };
            } & {
                akiles_metadata?: {
                    _member_group_id?: ...;
                    gadget_id: ...;
                    gadget_name: ...;
                    product_name: ...;
                };
                assa_abloy_vostio_metadata?: {
                    encoder_name: ...;
                };
                august_metadata?: {
                    has_keypad: ...;
                    house_id?: ...;
                    house_name: ...;
                    keypad_battery_level?: ...;
                    lock_id: ...;
                    lock_name: ...;
                    model?: ...;
                };
                avigilon_alta_metadata?: {
                    entry_name: ...;
                    entry_relays_total_count: ...;
                    org_name: ...;
                    site_id: ...;
                    site_name: ...;
                    zone_id: ...;
                    zone_name: ...;
                };
                brivo_metadata?: {
                    device_name: ...;
                };
                controlbyweb_metadata?: {
                    device_id: ...;
                    device_name: ...;
                    relay_name: ...;
                };
                dormakaba_oracode_metadata?: {
                    device_id?: ...;
                    door_id?: ...;
                    door_is_wireless: ...;
                    door_name: ...;
                    iana_timezone?: ...;
                    predefined_time_slots?: ...;
                    site_id: ...;
                    site_name: ...;
                };
                ecobee_metadata?: {
                    device_name: ...;
                    ecobee_device_id: ...;
                };
                four_suites_metadata?: {
                    device_id: ...;
                    device_name: ...;
                    reclose_delay_in_seconds: ...;
                };
                genie_metadata?: {
                    device_name: ...;
                    door_name: ...;
                };
                honeywell_resideo_metadata?: {
                    device_name: ...;
                    honeywell_resideo_device_id: ...;
                };
                hubitat_metadata?: {
                    device_id: ...;
                    device_label: ...;
                    device_name: ...;
                };
                igloo_metadata?: {
                    bridge_id: ...;
                    device_id: ...;
                    model?: ...;
                };
                igloohome_metadata?: {
                    bridge_id?: ...;
                    bridge_name?: ...;
                    device_id: ...;
                    device_name: ...;
                    keypad_id?: ...;
                };
                kwikset_metadata?: {
                    device_id: ...;
                    device_name: ...;
                    model_number: ...;
                };
                lockly_metadata?: {
                    device_id: ...;
                    device_name: ...;
                    model?: ...;
                };
                minut_metadata?: {
                    device_id: ...;
                    device_name: ...;
                    latest_sensor_values: ...;
                };
                nest_metadata?: {
                    device_custom_name: ...;
                    device_name: ...;
                    display_name?: ...;
                    nest_device_id: ...;
                };
                noiseaware_metadata?: {
                    device_id: ...;
                    device_model: ...;
                    device_name: ...;
                    noise_level_decibel: ...;
                    noise_level_nrs: ...;
                };
                nuki_metadata?: {
                    device_id: ...;
                    device_name: ...;
                    keypad_2_paired?: ...;
                    keypad_battery_critical?: ...;
                    keypad_paired?: ...;
                };
                salto_ks_metadata?: {
                    battery_level: ...;
                    customer_reference: ...;
                    lock_id: ...;
                    lock_type: ...;
                    locked_state: ...;
                    model?: ...;
                };
                salto_metadata?: {
                    battery_level: ...;
                    customer_reference: ...;
                    lock_id: ...;
                    lock_type: ...;
                    locked_state: ...;
                    model?: ...;
                };
                schlage_metadata?: {
                    device_id: ...;
                    device_name: ...;
                    model?: ...;
                };
                seam_bridge_metadata?: {
                    device_num: ...;
                    name: ...;
                    unlock_method?: ...;
                };
                sensi_metadata?: {
                    device_id: ...;
                    device_name: ...;
                    product_type: ...;
                };
                smartthings_metadata?: {
                    device_id: ...;
                    device_name: ...;
                    location_id?: ...;
                    model?: ...;
                };
                tado_metadata?: {
                    device_type: ...;
                    serial_no: ...;
                };
                tedee_metadata?: {
                    bridge_id: ...;
                    bridge_name: ...;
                    device_id: ...;
                    device_model: ...;
                    device_name: ...;
                    keypad_id?: ...;
                    serial_number: ...;
                };
                ttlock_metadata?: {
                    feature_value: ...;
                    features: ...;
                    has_gateway?: ...;
                    lock_alias: ...;
                    lock_id: ...;
                    wireless_keypads?: ...;
                };
                two_n_metadata?: {
                    device_id: ...;
                    device_name: ...;
                };
                visionline_metadata?: {
                    encoder_id: ...;
                };
                wyze_metadata?: {
                    device_id: ...;
                    device_info_model: ...;
                    device_name: ...;
                    keypad_uuid?: ...;
                    locker_status_hardlock?: ...;
                    product_model: ...;
                    product_name: ...;
                    product_type: ...;
                };
            } & {
                _experimental_supported_code_from_access_codes_lengths?: (...)[];
                code_constraints?: (...)[];
                door_open?: boolean;
                has_native_entry_events?: boolean;
                keypad_battery?: {
                    level: ...;
                };
                locked?: boolean;
                max_active_codes_supported?: number;
                supported_code_lengths?: (...)[];
                supports_backup_access_code_pool?: boolean;
            } & {
                active_thermostat_schedule?: null | {
                    climate_preset_key: ...;
                    created_at: ...;
                    device_id: ...;
                    ends_at: ...;
                    errors: ...;
                    is_override_allowed?: ...;
                    max_override_period_minutes?: ...;
                    name: ...;
                    starts_at: ...;
                    thermostat_schedule_id: ...;
                    workspace_id: ...;
                };
                available_climate_presets?: (...)[];
                available_fan_mode_settings?: (...)[];
                available_hvac_mode_settings?: (...)[];
                current_climate_setting?: {
                    can_delete?: ...;
                    can_edit?: ...;
                    can_program?: ...;
                    climate_preset_key?: ...;
                    cooling_set_point_celsius?: ...;
                    cooling_set_point_fahrenheit?: ...;
                    display_name?: ...;
                    fan_mode_setting?: ...;
                    heating_set_point_celsius?: ...;
                    heating_set_point_fahrenheit?: ...;
                    hvac_mode_setting?: ...;
                    manual_override_allowed?: ...;
                    name?: ...;
                };
                default_climate_setting?: {
                    can_delete?: ...;
                    can_edit?: ...;
                    can_program?: ...;
                    climate_preset_key?: ...;
                    cooling_set_point_celsius?: ...;
                    cooling_set_point_fahrenheit?: ...;
                    display_name?: ...;
                    fan_mode_setting?: ...;
                    heating_set_point_celsius?: ...;
                    heating_set_point_fahrenheit?: ...;
                    hvac_mode_setting?: ...;
                    manual_override_allowed?: ...;
                    name?: ...;
                };
                fallback_climate_preset_key?: null | string;
                fan_mode_setting?: "auto" | "on" | "circulate";
                is_cooling?: boolean;
                is_fan_running?: boolean;
                is_heating?: boolean;
                is_temporary_manual_override_active?: boolean;
                max_cooling_set_point_celsius?: number;
                max_cooling_set_point_fahrenheit?: number;
                max_heating_set_point_celsius?: number;
                max_heating_set_point_fahrenheit?: number;
                min_cooling_set_point_celsius?: number;
                min_cooling_set_point_fahrenheit?: number;
                min_heating_cooling_delta_celsius?: number;
                min_heating_cooling_delta_fahrenheit?: number;
                min_heating_set_point_celsius?: number;
                min_heating_set_point_fahrenheit?: number;
                relative_humidity?: number;
                temperature_celsius?: number;
                temperature_fahrenheit?: number;
                temperature_threshold?: {
                    lower_limit_celsius: ...;
                    lower_limit_fahrenheit: ...;
                    upper_limit_celsius: ...;
                    upper_limit_fahrenheit: ...;
                };
                thermostat_daily_programs?: (...)[];
                thermostat_weekly_program?: null | {
                    created_at: ...;
                    friday_program_id: ...;
                    monday_program_id: ...;
                    saturday_program_id: ...;
                    sunday_program_id: ...;
                    thursday_program_id: ...;
                    tuesday_program_id: ...;
                    wednesday_program_id: ...;
                };
            };
            warnings: (
                | {
                    created_at: string;
                    message: string;
                    warning_code: "partial_backup_access_code_pool";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "many_active_backup_codes";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "wyze_device_missing_gateway";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "functional_offline_device";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "third_party_integration_detected";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "nest_thermostat_in_manual_eco_mode";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "ttlock_lock_gateway_unlocking_not_enabled";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "ttlock_weak_gateway_signal";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "power_saving_mode";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "temperature_threshold_exceeded";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "device_communication_degraded";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "scheduled_maintenance_window";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "device_has_flaky_connection";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "salto_ks_office_mode";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "salto_ks_privacy_mode";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "salto_ks_subscription_limit_almost_reached";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "unknown_issue_with_phone";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "lockly_time_zone_not_configured";
                })[];
            workspace_id: string;
        }[];
        pagination: {
            has_next_page: boolean;
            next_page_cursor: null | string;
            next_page_url: null | string;
        };
    }>, "pagination" | "devices">, "devices">)
  • Returns ((params?: {
        connect_webview_id?: string;
        connected_account_id?: string;
        connected_account_ids?: string[];
        created_before?: Date;
        custom_metadata_has?: Record<string, string | boolean>;
        customer_ids?: string[];
        device_ids?: string[];
        device_type?:
            | "akuvox_lock"
            | "august_lock"
            | "brivo_access_point"
            | "butterflymx_panel"
            | "avigilon_alta_entry"
            | "doorking_lock"
            | "genie_door"
            | "igloo_lock"
            | "linear_lock"
            | "lockly_lock"
            | "kwikset_lock"
            | "nuki_lock"
            | "salto_lock"
            | "schlage_lock"
            | "seam_relay"
            | "smartthings_lock"
            | "wyze_lock"
            | "yale_lock"
            | "two_n_intercom"
            | "controlbyweb_device"
            | "ttlock_lock"
            | "igloohome_lock"
            | "hubitat_lock"
            | "four_suites_door"
            | "dormakaba_oracode_door"
            | "tedee_lock"
            | "akiles_lock"
            | "noiseaware_activity_zone"
            | "minut_sensor"
            | "ecobee_thermostat"
            | "nest_thermostat"
            | "honeywell_resideo_thermostat"
            | "tado_thermostat"
            | "sensi_thermostat"
            | "smartthings_thermostat"
            | "ios_phone"
            | "android_phone";
        device_types?: (
            | "akuvox_lock"
            | "august_lock"
            | "brivo_access_point"
            | "butterflymx_panel"
            | "avigilon_alta_entry"
            | "doorking_lock"
            | "genie_door"
            | "igloo_lock"
            | "linear_lock"
            | "lockly_lock"
            | "kwikset_lock"
            | "nuki_lock"
            | "salto_lock"
            | "schlage_lock"
            | "seam_relay"
            | "smartthings_lock"
            | "wyze_lock"
            | "yale_lock"
            | "two_n_intercom"
            | "controlbyweb_device"
            | "ttlock_lock"
            | "igloohome_lock"
            | "hubitat_lock"
            | "four_suites_door"
            | "dormakaba_oracode_door"
            | "tedee_lock"
            | "akiles_lock"
            | "noiseaware_activity_zone"
            | "minut_sensor"
            | "ecobee_thermostat"
            | "nest_thermostat"
            | "honeywell_resideo_thermostat"
            | "tado_thermostat"
            | "sensi_thermostat"
            | "smartthings_thermostat"
            | "ios_phone"
            | "android_phone")[];
        exclude_if?: (
            | "can_remotely_unlock"
            | "can_remotely_lock"
            | "can_program_offline_access_codes"
            | "can_program_online_access_codes"
            | "can_hvac_heat"
            | "can_hvac_cool"
            | "can_hvac_heat_cool"
            | "can_turn_off_hvac"
            | "can_simulate_removal"
            | "can_simulate_connection"
            | "can_simulate_disconnection")[];
        include_if?: (
            | "can_remotely_unlock"
            | "can_remotely_lock"
            | "can_program_offline_access_codes"
            | "can_program_online_access_codes"
            | "can_hvac_heat"
            | "can_hvac_cool"
            | "can_hvac_heat_cool"
            | "can_turn_off_hvac"
            | "can_simulate_removal"
            | "can_simulate_connection"
            | "can_simulate_disconnection")[];
        limit?: number;
        manufacturer?:
            | "unknown"
            | "akuvox"
            | "august"
            | "avigilon_alta"
            | "brivo"
            | "butterflymx"
            | "schlage"
            | "smartthings"
            | "yale"
            | "genie"
            | "doorking"
            | "salto"
            | "lockly"
            | "ttlock"
            | "linear"
            | "noiseaware"
            | "nuki"
            | "igloo"
            | "kwikset"
            | "minut"
            | "controlbyweb"
            | "nest"
            | "igloohome"
            | "ecobee"
            | "hubitat"
            | "four_suites"
            | "dormakaba_oracode"
            | "wyze"
            | "tedee"
            | "honeywell_resideo"
            | "akiles"
            | "tado"
            | "sensi"
            | "kwikset2"
            | "keywe"
            | "philia"
            | "samsung"
            | "seam"
            | "two_n";
        page_cursor?: null | string;
        space_id?: string;
        unstable_location_id?: null | string;
        user_identifier_key?: string;
    }) => SeamHttpRequest<SetNonNullable<Required<{
        devices: {
            can_hvac_cool?: boolean;
            can_hvac_heat?: boolean;
            can_hvac_heat_cool?: boolean;
            can_program_offline_access_codes?: boolean;
            can_program_online_access_codes?: boolean;
            can_remotely_lock?: boolean;
            can_remotely_unlock?: boolean;
            can_simulate_connection?: boolean;
            can_simulate_disconnection?: boolean;
            can_simulate_removal?: boolean;
            can_turn_off_hvac?: boolean;
            capabilities_supported: (
                | "access_code"
                | "lock"
                | "phone"
                | "thermostat"
                | "noise_detection"
                | "battery")[];
            connected_account_id: string;
            created_at: string;
            custom_metadata: Record<string, string | boolean>;
            device_id: string;
            device_type:
                | "akuvox_lock"
                | "august_lock"
                | "brivo_access_point"
                | "butterflymx_panel"
                | "avigilon_alta_entry"
                | "doorking_lock"
                | "genie_door"
                | "igloo_lock"
                | "linear_lock"
                | "lockly_lock"
                | "kwikset_lock"
                | "nuki_lock"
                | "salto_lock"
                | "schlage_lock"
                | "seam_relay"
                | "smartthings_lock"
                | "wyze_lock"
                | "yale_lock"
                | "two_n_intercom"
                | "controlbyweb_device"
                | "ttlock_lock"
                | "igloohome_lock"
                | "hubitat_lock"
                | "four_suites_door"
                | "dormakaba_oracode_door"
                | "tedee_lock"
                | "akiles_lock"
                | "noiseaware_activity_zone"
                | "minut_sensor"
                | "ecobee_thermostat"
                | "nest_thermostat"
                | "honeywell_resideo_thermostat"
                | "tado_thermostat"
                | "sensi_thermostat"
                | "smartthings_thermostat"
                | "ios_phone"
                | "android_phone";
            display_name: string;
            errors: (
                | {
                    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: "lockly_missing_wifi_bridge";
                    is_device_error: true;
                    message: string;
                }
                | {
                    created_at: string;
                    error_code: "invalid_credentials";
                    is_bridge_error?: (...) | (...) | (...);
                    is_connected_account_error?: (...) | (...) | (...);
                    message: string;
                }
                | {
                    created_at: string;
                    error_code: "bridge_disconnected";
                    is_bridge_error?: (...) | (...) | (...);
                    is_connected_account_error?: (...) | (...) | (...);
                    message: string;
                })[];
            is_managed: true;
            location: null | {
                location_name?: string;
                timezone?: string;
            };
            nickname?: string;
            properties: {
                accessory_keypad?: {
                    battery?: ...;
                    is_connected: ...;
                };
                appearance: {
                    name: string;
                };
                battery?: {
                    level: ...;
                    status: ...;
                };
                battery_level?: number;
                currently_triggering_noise_threshold_ids?: (...)[];
                has_direct_power?: boolean;
                image_alt_text?: string;
                image_url?: string;
                manufacturer?: string;
                model: {
                    accessory_keypad_supported?: (...) | (...) | (...);
                    can_connect_accessory_keypad?: (...) | (...) | (...);
                    display_name: string;
                    has_built_in_keypad?: (...) | (...) | (...);
                    manufacturer_display_name: string;
                    offline_access_codes_supported?: (...) | (...) | (...);
                    online_access_codes_supported?: (...) | (...) | (...);
                };
                name: string;
                noise_level_decibels?: number;
                offline_access_codes_enabled?: boolean;
                online: boolean;
                online_access_codes_enabled?: boolean;
                serial_number?: string;
                supports_accessory_keypad?: boolean;
                supports_offline_access_codes?: boolean;
            } & {
                assa_abloy_credential_service_metadata?: {
                    endpoints: ...;
                    has_active_endpoint: ...;
                };
                salto_space_credential_service_metadata?: {
                    has_active_phone: ...;
                };
            } & {
                akiles_metadata?: {
                    _member_group_id?: ...;
                    gadget_id: ...;
                    gadget_name: ...;
                    product_name: ...;
                };
                assa_abloy_vostio_metadata?: {
                    encoder_name: ...;
                };
                august_metadata?: {
                    has_keypad: ...;
                    house_id?: ...;
                    house_name: ...;
                    keypad_battery_level?: ...;
                    lock_id: ...;
                    lock_name: ...;
                    model?: ...;
                };
                avigilon_alta_metadata?: {
                    entry_name: ...;
                    entry_relays_total_count: ...;
                    org_name: ...;
                    site_id: ...;
                    site_name: ...;
                    zone_id: ...;
                    zone_name: ...;
                };
                brivo_metadata?: {
                    device_name: ...;
                };
                controlbyweb_metadata?: {
                    device_id: ...;
                    device_name: ...;
                    relay_name: ...;
                };
                dormakaba_oracode_metadata?: {
                    device_id?: ...;
                    door_id?: ...;
                    door_is_wireless: ...;
                    door_name: ...;
                    iana_timezone?: ...;
                    predefined_time_slots?: ...;
                    site_id: ...;
                    site_name: ...;
                };
                ecobee_metadata?: {
                    device_name: ...;
                    ecobee_device_id: ...;
                };
                four_suites_metadata?: {
                    device_id: ...;
                    device_name: ...;
                    reclose_delay_in_seconds: ...;
                };
                genie_metadata?: {
                    device_name: ...;
                    door_name: ...;
                };
                honeywell_resideo_metadata?: {
                    device_name: ...;
                    honeywell_resideo_device_id: ...;
                };
                hubitat_metadata?: {
                    device_id: ...;
                    device_label: ...;
                    device_name: ...;
                };
                igloo_metadata?: {
                    bridge_id: ...;
                    device_id: ...;
                    model?: ...;
                };
                igloohome_metadata?: {
                    bridge_id?: ...;
                    bridge_name?: ...;
                    device_id: ...;
                    device_name: ...;
                    keypad_id?: ...;
                };
                kwikset_metadata?: {
                    device_id: ...;
                    device_name: ...;
                    model_number: ...;
                };
                lockly_metadata?: {
                    device_id: ...;
                    device_name: ...;
                    model?: ...;
                };
                minut_metadata?: {
                    device_id: ...;
                    device_name: ...;
                    latest_sensor_values: ...;
                };
                nest_metadata?: {
                    device_custom_name: ...;
                    device_name: ...;
                    display_name?: ...;
                    nest_device_id: ...;
                };
                noiseaware_metadata?: {
                    device_id: ...;
                    device_model: ...;
                    device_name: ...;
                    noise_level_decibel: ...;
                    noise_level_nrs: ...;
                };
                nuki_metadata?: {
                    device_id: ...;
                    device_name: ...;
                    keypad_2_paired?: ...;
                    keypad_battery_critical?: ...;
                    keypad_paired?: ...;
                };
                salto_ks_metadata?: {
                    battery_level: ...;
                    customer_reference: ...;
                    lock_id: ...;
                    lock_type: ...;
                    locked_state: ...;
                    model?: ...;
                };
                salto_metadata?: {
                    battery_level: ...;
                    customer_reference: ...;
                    lock_id: ...;
                    lock_type: ...;
                    locked_state: ...;
                    model?: ...;
                };
                schlage_metadata?: {
                    device_id: ...;
                    device_name: ...;
                    model?: ...;
                };
                seam_bridge_metadata?: {
                    device_num: ...;
                    name: ...;
                    unlock_method?: ...;
                };
                sensi_metadata?: {
                    device_id: ...;
                    device_name: ...;
                    product_type: ...;
                };
                smartthings_metadata?: {
                    device_id: ...;
                    device_name: ...;
                    location_id?: ...;
                    model?: ...;
                };
                tado_metadata?: {
                    device_type: ...;
                    serial_no: ...;
                };
                tedee_metadata?: {
                    bridge_id: ...;
                    bridge_name: ...;
                    device_id: ...;
                    device_model: ...;
                    device_name: ...;
                    keypad_id?: ...;
                    serial_number: ...;
                };
                ttlock_metadata?: {
                    feature_value: ...;
                    features: ...;
                    has_gateway?: ...;
                    lock_alias: ...;
                    lock_id: ...;
                    wireless_keypads?: ...;
                };
                two_n_metadata?: {
                    device_id: ...;
                    device_name: ...;
                };
                visionline_metadata?: {
                    encoder_id: ...;
                };
                wyze_metadata?: {
                    device_id: ...;
                    device_info_model: ...;
                    device_name: ...;
                    keypad_uuid?: ...;
                    locker_status_hardlock?: ...;
                    product_model: ...;
                    product_name: ...;
                    product_type: ...;
                };
            } & {
                _experimental_supported_code_from_access_codes_lengths?: (...)[];
                code_constraints?: (...)[];
                door_open?: boolean;
                has_native_entry_events?: boolean;
                keypad_battery?: {
                    level: ...;
                };
                locked?: boolean;
                max_active_codes_supported?: number;
                supported_code_lengths?: (...)[];
                supports_backup_access_code_pool?: boolean;
            } & {
                active_thermostat_schedule?: null | {
                    climate_preset_key: ...;
                    created_at: ...;
                    device_id: ...;
                    ends_at: ...;
                    errors: ...;
                    is_override_allowed?: ...;
                    max_override_period_minutes?: ...;
                    name: ...;
                    starts_at: ...;
                    thermostat_schedule_id: ...;
                    workspace_id: ...;
                };
                available_climate_presets?: (...)[];
                available_fan_mode_settings?: (...)[];
                available_hvac_mode_settings?: (...)[];
                current_climate_setting?: {
                    can_delete?: ...;
                    can_edit?: ...;
                    can_program?: ...;
                    climate_preset_key?: ...;
                    cooling_set_point_celsius?: ...;
                    cooling_set_point_fahrenheit?: ...;
                    display_name?: ...;
                    fan_mode_setting?: ...;
                    heating_set_point_celsius?: ...;
                    heating_set_point_fahrenheit?: ...;
                    hvac_mode_setting?: ...;
                    manual_override_allowed?: ...;
                    name?: ...;
                };
                default_climate_setting?: {
                    can_delete?: ...;
                    can_edit?: ...;
                    can_program?: ...;
                    climate_preset_key?: ...;
                    cooling_set_point_celsius?: ...;
                    cooling_set_point_fahrenheit?: ...;
                    display_name?: ...;
                    fan_mode_setting?: ...;
                    heating_set_point_celsius?: ...;
                    heating_set_point_fahrenheit?: ...;
                    hvac_mode_setting?: ...;
                    manual_override_allowed?: ...;
                    name?: ...;
                };
                fallback_climate_preset_key?: null | string;
                fan_mode_setting?: "auto" | "on" | "circulate";
                is_cooling?: boolean;
                is_fan_running?: boolean;
                is_heating?: boolean;
                is_temporary_manual_override_active?: boolean;
                max_cooling_set_point_celsius?: number;
                max_cooling_set_point_fahrenheit?: number;
                max_heating_set_point_celsius?: number;
                max_heating_set_point_fahrenheit?: number;
                min_cooling_set_point_celsius?: number;
                min_cooling_set_point_fahrenheit?: number;
                min_heating_cooling_delta_celsius?: number;
                min_heating_cooling_delta_fahrenheit?: number;
                min_heating_set_point_celsius?: number;
                min_heating_set_point_fahrenheit?: number;
                relative_humidity?: number;
                temperature_celsius?: number;
                temperature_fahrenheit?: number;
                temperature_threshold?: {
                    lower_limit_celsius: ...;
                    lower_limit_fahrenheit: ...;
                    upper_limit_celsius: ...;
                    upper_limit_fahrenheit: ...;
                };
                thermostat_daily_programs?: (...)[];
                thermostat_weekly_program?: null | {
                    created_at: ...;
                    friday_program_id: ...;
                    monday_program_id: ...;
                    saturday_program_id: ...;
                    sunday_program_id: ...;
                    thursday_program_id: ...;
                    tuesday_program_id: ...;
                    wednesday_program_id: ...;
                };
            };
            warnings: (
                | {
                    created_at: string;
                    message: string;
                    warning_code: "partial_backup_access_code_pool";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "many_active_backup_codes";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "wyze_device_missing_gateway";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "functional_offline_device";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "third_party_integration_detected";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "nest_thermostat_in_manual_eco_mode";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "ttlock_lock_gateway_unlocking_not_enabled";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "ttlock_weak_gateway_signal";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "power_saving_mode";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "temperature_threshold_exceeded";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "device_communication_degraded";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "scheduled_maintenance_window";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "device_has_flaky_connection";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "salto_ks_office_mode";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "salto_ks_privacy_mode";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "salto_ks_subscription_limit_almost_reached";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "unknown_issue_with_phone";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "lockly_time_zone_not_configured";
                })[];
            workspace_id: string;
        }[];
        pagination: {
            has_next_page: boolean;
            next_page_cursor: null | string;
            next_page_url: null | string;
        };
    }>, "pagination" | "devices">, "devices">)

      • (params?): SeamHttpRequest<SetNonNullable<Required<{
            devices: {
                can_hvac_cool?: boolean;
                can_hvac_heat?: boolean;
                can_hvac_heat_cool?: boolean;
                can_program_offline_access_codes?: boolean;
                can_program_online_access_codes?: boolean;
                can_remotely_lock?: boolean;
                can_remotely_unlock?: boolean;
                can_simulate_connection?: boolean;
                can_simulate_disconnection?: boolean;
                can_simulate_removal?: boolean;
                can_turn_off_hvac?: boolean;
                capabilities_supported: (
                    | "access_code"
                    | "lock"
                    | "phone"
                    | "thermostat"
                    | "noise_detection"
                    | "battery")[];
                connected_account_id: string;
                created_at: string;
                custom_metadata: Record<string, string | boolean>;
                device_id: string;
                device_type:
                    | "akuvox_lock"
                    | "august_lock"
                    | "brivo_access_point"
                    | "butterflymx_panel"
                    | "avigilon_alta_entry"
                    | "doorking_lock"
                    | "genie_door"
                    | "igloo_lock"
                    | "linear_lock"
                    | "lockly_lock"
                    | "kwikset_lock"
                    | "nuki_lock"
                    | "salto_lock"
                    | "schlage_lock"
                    | "seam_relay"
                    | "smartthings_lock"
                    | "wyze_lock"
                    | "yale_lock"
                    | "two_n_intercom"
                    | "controlbyweb_device"
                    | "ttlock_lock"
                    | "igloohome_lock"
                    | "hubitat_lock"
                    | "four_suites_door"
                    | "dormakaba_oracode_door"
                    | "tedee_lock"
                    | "akiles_lock"
                    | "noiseaware_activity_zone"
                    | "minut_sensor"
                    | "ecobee_thermostat"
                    | "nest_thermostat"
                    | "honeywell_resideo_thermostat"
                    | "tado_thermostat"
                    | "sensi_thermostat"
                    | "smartthings_thermostat"
                    | "ios_phone"
                    | "android_phone";
                display_name: string;
                errors: (
                    | {
                        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: "lockly_missing_wifi_bridge";
                        is_device_error: true;
                        message: string;
                    }
                    | {
                        created_at: string;
                        error_code: "invalid_credentials";
                        is_bridge_error?: (...) | (...) | (...);
                        is_connected_account_error?: (...) | (...) | (...);
                        message: string;
                    }
                    | {
                        created_at: string;
                        error_code: "bridge_disconnected";
                        is_bridge_error?: (...) | (...) | (...);
                        is_connected_account_error?: (...) | (...) | (...);
                        message: string;
                    })[];
                is_managed: true;
                location: null | {
                    location_name?: string;
                    timezone?: string;
                };
                nickname?: string;
                properties: {
                    accessory_keypad?: {
                        battery?: ...;
                        is_connected: ...;
                    };
                    appearance: {
                        name: string;
                    };
                    battery?: {
                        level: ...;
                        status: ...;
                    };
                    battery_level?: number;
                    currently_triggering_noise_threshold_ids?: (...)[];
                    has_direct_power?: boolean;
                    image_alt_text?: string;
                    image_url?: string;
                    manufacturer?: string;
                    model: {
                        accessory_keypad_supported?: (...) | (...) | (...);
                        can_connect_accessory_keypad?: (...) | (...) | (...);
                        display_name: string;
                        has_built_in_keypad?: (...) | (...) | (...);
                        manufacturer_display_name: string;
                        offline_access_codes_supported?: (...) | (...) | (...);
                        online_access_codes_supported?: (...) | (...) | (...);
                    };
                    name: string;
                    noise_level_decibels?: number;
                    offline_access_codes_enabled?: boolean;
                    online: boolean;
                    online_access_codes_enabled?: boolean;
                    serial_number?: string;
                    supports_accessory_keypad?: boolean;
                    supports_offline_access_codes?: boolean;
                } & {
                    assa_abloy_credential_service_metadata?: {
                        endpoints: ...;
                        has_active_endpoint: ...;
                    };
                    salto_space_credential_service_metadata?: {
                        has_active_phone: ...;
                    };
                } & {
                    akiles_metadata?: {
                        _member_group_id?: ...;
                        gadget_id: ...;
                        gadget_name: ...;
                        product_name: ...;
                    };
                    assa_abloy_vostio_metadata?: {
                        encoder_name: ...;
                    };
                    august_metadata?: {
                        has_keypad: ...;
                        house_id?: ...;
                        house_name: ...;
                        keypad_battery_level?: ...;
                        lock_id: ...;
                        lock_name: ...;
                        model?: ...;
                    };
                    avigilon_alta_metadata?: {
                        entry_name: ...;
                        entry_relays_total_count: ...;
                        org_name: ...;
                        site_id: ...;
                        site_name: ...;
                        zone_id: ...;
                        zone_name: ...;
                    };
                    brivo_metadata?: {
                        device_name: ...;
                    };
                    controlbyweb_metadata?: {
                        device_id: ...;
                        device_name: ...;
                        relay_name: ...;
                    };
                    dormakaba_oracode_metadata?: {
                        device_id?: ...;
                        door_id?: ...;
                        door_is_wireless: ...;
                        door_name: ...;
                        iana_timezone?: ...;
                        predefined_time_slots?: ...;
                        site_id: ...;
                        site_name: ...;
                    };
                    ecobee_metadata?: {
                        device_name: ...;
                        ecobee_device_id: ...;
                    };
                    four_suites_metadata?: {
                        device_id: ...;
                        device_name: ...;
                        reclose_delay_in_seconds: ...;
                    };
                    genie_metadata?: {
                        device_name: ...;
                        door_name: ...;
                    };
                    honeywell_resideo_metadata?: {
                        device_name: ...;
                        honeywell_resideo_device_id: ...;
                    };
                    hubitat_metadata?: {
                        device_id: ...;
                        device_label: ...;
                        device_name: ...;
                    };
                    igloo_metadata?: {
                        bridge_id: ...;
                        device_id: ...;
                        model?: ...;
                    };
                    igloohome_metadata?: {
                        bridge_id?: ...;
                        bridge_name?: ...;
                        device_id: ...;
                        device_name: ...;
                        keypad_id?: ...;
                    };
                    kwikset_metadata?: {
                        device_id: ...;
                        device_name: ...;
                        model_number: ...;
                    };
                    lockly_metadata?: {
                        device_id: ...;
                        device_name: ...;
                        model?: ...;
                    };
                    minut_metadata?: {
                        device_id: ...;
                        device_name: ...;
                        latest_sensor_values: ...;
                    };
                    nest_metadata?: {
                        device_custom_name: ...;
                        device_name: ...;
                        display_name?: ...;
                        nest_device_id: ...;
                    };
                    noiseaware_metadata?: {
                        device_id: ...;
                        device_model: ...;
                        device_name: ...;
                        noise_level_decibel: ...;
                        noise_level_nrs: ...;
                    };
                    nuki_metadata?: {
                        device_id: ...;
                        device_name: ...;
                        keypad_2_paired?: ...;
                        keypad_battery_critical?: ...;
                        keypad_paired?: ...;
                    };
                    salto_ks_metadata?: {
                        battery_level: ...;
                        customer_reference: ...;
                        lock_id: ...;
                        lock_type: ...;
                        locked_state: ...;
                        model?: ...;
                    };
                    salto_metadata?: {
                        battery_level: ...;
                        customer_reference: ...;
                        lock_id: ...;
                        lock_type: ...;
                        locked_state: ...;
                        model?: ...;
                    };
                    schlage_metadata?: {
                        device_id: ...;
                        device_name: ...;
                        model?: ...;
                    };
                    seam_bridge_metadata?: {
                        device_num: ...;
                        name: ...;
                        unlock_method?: ...;
                    };
                    sensi_metadata?: {
                        device_id: ...;
                        device_name: ...;
                        product_type: ...;
                    };
                    smartthings_metadata?: {
                        device_id: ...;
                        device_name: ...;
                        location_id?: ...;
                        model?: ...;
                    };
                    tado_metadata?: {
                        device_type: ...;
                        serial_no: ...;
                    };
                    tedee_metadata?: {
                        bridge_id: ...;
                        bridge_name: ...;
                        device_id: ...;
                        device_model: ...;
                        device_name: ...;
                        keypad_id?: ...;
                        serial_number: ...;
                    };
                    ttlock_metadata?: {
                        feature_value: ...;
                        features: ...;
                        has_gateway?: ...;
                        lock_alias: ...;
                        lock_id: ...;
                        wireless_keypads?: ...;
                    };
                    two_n_metadata?: {
                        device_id: ...;
                        device_name: ...;
                    };
                    visionline_metadata?: {
                        encoder_id: ...;
                    };
                    wyze_metadata?: {
                        device_id: ...;
                        device_info_model: ...;
                        device_name: ...;
                        keypad_uuid?: ...;
                        locker_status_hardlock?: ...;
                        product_model: ...;
                        product_name: ...;
                        product_type: ...;
                    };
                } & {
                    _experimental_supported_code_from_access_codes_lengths?: (...)[];
                    code_constraints?: (...)[];
                    door_open?: boolean;
                    has_native_entry_events?: boolean;
                    keypad_battery?: {
                        level: ...;
                    };
                    locked?: boolean;
                    max_active_codes_supported?: number;
                    supported_code_lengths?: (...)[];
                    supports_backup_access_code_pool?: boolean;
                } & {
                    active_thermostat_schedule?: null | {
                        climate_preset_key: ...;
                        created_at: ...;
                        device_id: ...;
                        ends_at: ...;
                        errors: ...;
                        is_override_allowed?: ...;
                        max_override_period_minutes?: ...;
                        name: ...;
                        starts_at: ...;
                        thermostat_schedule_id: ...;
                        workspace_id: ...;
                    };
                    available_climate_presets?: (...)[];
                    available_fan_mode_settings?: (...)[];
                    available_hvac_mode_settings?: (...)[];
                    current_climate_setting?: {
                        can_delete?: ...;
                        can_edit?: ...;
                        can_program?: ...;
                        climate_preset_key?: ...;
                        cooling_set_point_celsius?: ...;
                        cooling_set_point_fahrenheit?: ...;
                        display_name?: ...;
                        fan_mode_setting?: ...;
                        heating_set_point_celsius?: ...;
                        heating_set_point_fahrenheit?: ...;
                        hvac_mode_setting?: ...;
                        manual_override_allowed?: ...;
                        name?: ...;
                    };
                    default_climate_setting?: {
                        can_delete?: ...;
                        can_edit?: ...;
                        can_program?: ...;
                        climate_preset_key?: ...;
                        cooling_set_point_celsius?: ...;
                        cooling_set_point_fahrenheit?: ...;
                        display_name?: ...;
                        fan_mode_setting?: ...;
                        heating_set_point_celsius?: ...;
                        heating_set_point_fahrenheit?: ...;
                        hvac_mode_setting?: ...;
                        manual_override_allowed?: ...;
                        name?: ...;
                    };
                    fallback_climate_preset_key?: null | string;
                    fan_mode_setting?: "auto" | "on" | "circulate";
                    is_cooling?: boolean;
                    is_fan_running?: boolean;
                    is_heating?: boolean;
                    is_temporary_manual_override_active?: boolean;
                    max_cooling_set_point_celsius?: number;
                    max_cooling_set_point_fahrenheit?: number;
                    max_heating_set_point_celsius?: number;
                    max_heating_set_point_fahrenheit?: number;
                    min_cooling_set_point_celsius?: number;
                    min_cooling_set_point_fahrenheit?: number;
                    min_heating_cooling_delta_celsius?: number;
                    min_heating_cooling_delta_fahrenheit?: number;
                    min_heating_set_point_celsius?: number;
                    min_heating_set_point_fahrenheit?: number;
                    relative_humidity?: number;
                    temperature_celsius?: number;
                    temperature_fahrenheit?: number;
                    temperature_threshold?: {
                        lower_limit_celsius: ...;
                        lower_limit_fahrenheit: ...;
                        upper_limit_celsius: ...;
                        upper_limit_fahrenheit: ...;
                    };
                    thermostat_daily_programs?: (...)[];
                    thermostat_weekly_program?: null | {
                        created_at: ...;
                        friday_program_id: ...;
                        monday_program_id: ...;
                        saturday_program_id: ...;
                        sunday_program_id: ...;
                        thursday_program_id: ...;
                        tuesday_program_id: ...;
                        wednesday_program_id: ...;
                    };
                };
                warnings: (
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "partial_backup_access_code_pool";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "many_active_backup_codes";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "wyze_device_missing_gateway";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "functional_offline_device";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "third_party_integration_detected";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "nest_thermostat_in_manual_eco_mode";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "ttlock_lock_gateway_unlocking_not_enabled";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "ttlock_weak_gateway_signal";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "power_saving_mode";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "temperature_threshold_exceeded";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "device_communication_degraded";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "scheduled_maintenance_window";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "device_has_flaky_connection";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "salto_ks_office_mode";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "salto_ks_privacy_mode";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "salto_ks_subscription_limit_almost_reached";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "unknown_issue_with_phone";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "lockly_time_zone_not_configured";
                    })[];
                workspace_id: string;
            }[];
            pagination: {
                has_next_page: boolean;
                next_page_cursor: null | string;
                next_page_url: null | string;
            };
        }>, "pagination" | "devices">, "devices">
      • Parameters

        • Optionalparams: {
              connect_webview_id?: string;
              connected_account_id?: string;
              connected_account_ids?: string[];
              created_before?: Date;
              custom_metadata_has?: Record<string, string | boolean>;
              customer_ids?: string[];
              device_ids?: string[];
              device_type?:
                  | "akuvox_lock"
                  | "august_lock"
                  | "brivo_access_point"
                  | "butterflymx_panel"
                  | "avigilon_alta_entry"
                  | "doorking_lock"
                  | "genie_door"
                  | "igloo_lock"
                  | "linear_lock"
                  | "lockly_lock"
                  | "kwikset_lock"
                  | "nuki_lock"
                  | "salto_lock"
                  | "schlage_lock"
                  | "seam_relay"
                  | "smartthings_lock"
                  | "wyze_lock"
                  | "yale_lock"
                  | "two_n_intercom"
                  | "controlbyweb_device"
                  | "ttlock_lock"
                  | "igloohome_lock"
                  | "hubitat_lock"
                  | "four_suites_door"
                  | "dormakaba_oracode_door"
                  | "tedee_lock"
                  | "akiles_lock"
                  | "noiseaware_activity_zone"
                  | "minut_sensor"
                  | "ecobee_thermostat"
                  | "nest_thermostat"
                  | "honeywell_resideo_thermostat"
                  | "tado_thermostat"
                  | "sensi_thermostat"
                  | "smartthings_thermostat"
                  | "ios_phone"
                  | "android_phone";
              device_types?: (
                  | "akuvox_lock"
                  | "august_lock"
                  | "brivo_access_point"
                  | "butterflymx_panel"
                  | "avigilon_alta_entry"
                  | "doorking_lock"
                  | "genie_door"
                  | "igloo_lock"
                  | "linear_lock"
                  | "lockly_lock"
                  | "kwikset_lock"
                  | "nuki_lock"
                  | "salto_lock"
                  | "schlage_lock"
                  | "seam_relay"
                  | "smartthings_lock"
                  | "wyze_lock"
                  | "yale_lock"
                  | "two_n_intercom"
                  | "controlbyweb_device"
                  | "ttlock_lock"
                  | "igloohome_lock"
                  | "hubitat_lock"
                  | "four_suites_door"
                  | "dormakaba_oracode_door"
                  | "tedee_lock"
                  | "akiles_lock"
                  | "noiseaware_activity_zone"
                  | "minut_sensor"
                  | "ecobee_thermostat"
                  | "nest_thermostat"
                  | "honeywell_resideo_thermostat"
                  | "tado_thermostat"
                  | "sensi_thermostat"
                  | "smartthings_thermostat"
                  | "ios_phone"
                  | "android_phone")[];
              exclude_if?: (
                  | "can_remotely_unlock"
                  | "can_remotely_lock"
                  | "can_program_offline_access_codes"
                  | "can_program_online_access_codes"
                  | "can_hvac_heat"
                  | "can_hvac_cool"
                  | "can_hvac_heat_cool"
                  | "can_turn_off_hvac"
                  | "can_simulate_removal"
                  | "can_simulate_connection"
                  | "can_simulate_disconnection")[];
              include_if?: (
                  | "can_remotely_unlock"
                  | "can_remotely_lock"
                  | "can_program_offline_access_codes"
                  | "can_program_online_access_codes"
                  | "can_hvac_heat"
                  | "can_hvac_cool"
                  | "can_hvac_heat_cool"
                  | "can_turn_off_hvac"
                  | "can_simulate_removal"
                  | "can_simulate_connection"
                  | "can_simulate_disconnection")[];
              limit?: number;
              manufacturer?:
                  | "unknown"
                  | "akuvox"
                  | "august"
                  | "avigilon_alta"
                  | "brivo"
                  | "butterflymx"
                  | "schlage"
                  | "smartthings"
                  | "yale"
                  | "genie"
                  | "doorking"
                  | "salto"
                  | "lockly"
                  | "ttlock"
                  | "linear"
                  | "noiseaware"
                  | "nuki"
                  | "igloo"
                  | "kwikset"
                  | "minut"
                  | "controlbyweb"
                  | "nest"
                  | "igloohome"
                  | "ecobee"
                  | "hubitat"
                  | "four_suites"
                  | "dormakaba_oracode"
                  | "wyze"
                  | "tedee"
                  | "honeywell_resideo"
                  | "akiles"
                  | "tado"
                  | "sensi"
                  | "kwikset2"
                  | "keywe"
                  | "philia"
                  | "samsung"
                  | "seam"
                  | "two_n";
              page_cursor?: null | string;
              space_id?: string;
              unstable_location_id?: null | string;
              user_identifier_key?: string;
          }
          • Optionalconnect_webview_id?: string

            ID of the Connect Webview for which you want to list devices.

          • Optionalconnected_account_id?: string

            ID of the connected account for which you want to list devices.

          • Optionalconnected_account_ids?: string[]

            Array of IDs of the connected accounts for which you want to list devices.

          • Optionalcreated_before?: Date

            Timestamp by which to limit returned devices. Returns devices created before this timestamp.

          • Optionalcustom_metadata_has?: Record<string, string | boolean>

            Set of key:value custom metadata pairs for which you want to list devices.

          • Optionalcustomer_ids?: string[]
          • Optionaldevice_ids?: string[]

            Array of device IDs for which you want to list devices.

          • Optionaldevice_type?:
                | "akuvox_lock"
                | "august_lock"
                | "brivo_access_point"
                | "butterflymx_panel"
                | "avigilon_alta_entry"
                | "doorking_lock"
                | "genie_door"
                | "igloo_lock"
                | "linear_lock"
                | "lockly_lock"
                | "kwikset_lock"
                | "nuki_lock"
                | "salto_lock"
                | "schlage_lock"
                | "seam_relay"
                | "smartthings_lock"
                | "wyze_lock"
                | "yale_lock"
                | "two_n_intercom"
                | "controlbyweb_device"
                | "ttlock_lock"
                | "igloohome_lock"
                | "hubitat_lock"
                | "four_suites_door"
                | "dormakaba_oracode_door"
                | "tedee_lock"
                | "akiles_lock"
                | "noiseaware_activity_zone"
                | "minut_sensor"
                | "ecobee_thermostat"
                | "nest_thermostat"
                | "honeywell_resideo_thermostat"
                | "tado_thermostat"
                | "sensi_thermostat"
                | "smartthings_thermostat"
                | "ios_phone"
                | "android_phone"

            Device type for which you want to list devices.

          • Optionaldevice_types?: (
                | "akuvox_lock"
                | "august_lock"
                | "brivo_access_point"
                | "butterflymx_panel"
                | "avigilon_alta_entry"
                | "doorking_lock"
                | "genie_door"
                | "igloo_lock"
                | "linear_lock"
                | "lockly_lock"
                | "kwikset_lock"
                | "nuki_lock"
                | "salto_lock"
                | "schlage_lock"
                | "seam_relay"
                | "smartthings_lock"
                | "wyze_lock"
                | "yale_lock"
                | "two_n_intercom"
                | "controlbyweb_device"
                | "ttlock_lock"
                | "igloohome_lock"
                | "hubitat_lock"
                | "four_suites_door"
                | "dormakaba_oracode_door"
                | "tedee_lock"
                | "akiles_lock"
                | "noiseaware_activity_zone"
                | "minut_sensor"
                | "ecobee_thermostat"
                | "nest_thermostat"
                | "honeywell_resideo_thermostat"
                | "tado_thermostat"
                | "sensi_thermostat"
                | "smartthings_thermostat"
                | "ios_phone"
                | "android_phone")[]

            Array of device types for which you want to list devices.

          • Optionalexclude_if?: (
                | "can_remotely_unlock"
                | "can_remotely_lock"
                | "can_program_offline_access_codes"
                | "can_program_online_access_codes"
                | "can_hvac_heat"
                | "can_hvac_cool"
                | "can_hvac_heat_cool"
                | "can_turn_off_hvac"
                | "can_simulate_removal"
                | "can_simulate_connection"
                | "can_simulate_disconnection")[]
          • Optionalinclude_if?: (
                | "can_remotely_unlock"
                | "can_remotely_lock"
                | "can_program_offline_access_codes"
                | "can_program_online_access_codes"
                | "can_hvac_heat"
                | "can_hvac_cool"
                | "can_hvac_heat_cool"
                | "can_turn_off_hvac"
                | "can_simulate_removal"
                | "can_simulate_connection"
                | "can_simulate_disconnection")[]
          • Optionallimit?: number

            Numerical limit on the number of devices to return.

          • Optionalmanufacturer?:
                | "unknown"
                | "akuvox"
                | "august"
                | "avigilon_alta"
                | "brivo"
                | "butterflymx"
                | "schlage"
                | "smartthings"
                | "yale"
                | "genie"
                | "doorking"
                | "salto"
                | "lockly"
                | "ttlock"
                | "linear"
                | "noiseaware"
                | "nuki"
                | "igloo"
                | "kwikset"
                | "minut"
                | "controlbyweb"
                | "nest"
                | "igloohome"
                | "ecobee"
                | "hubitat"
                | "four_suites"
                | "dormakaba_oracode"
                | "wyze"
                | "tedee"
                | "honeywell_resideo"
                | "akiles"
                | "tado"
                | "sensi"
                | "kwikset2"
                | "keywe"
                | "philia"
                | "samsung"
                | "seam"
                | "two_n"

            Manufacturer for which you want to list devices.

          • Optionalpage_cursor?: null | string

            Identifies the specific page of results to return, obtained from the previous page's next_page_cursor.

          • Optionalspace_id?: string

            ID of the space for which you want to list devices.

          • Optionalunstable_location_id?: null | string

            Use space_id.

          • Optionaluser_identifier_key?: string

            Your own internal user ID for the user for which you want to list devices.

        Returns SeamHttpRequest<SetNonNullable<Required<{
            devices: {
                can_hvac_cool?: boolean;
                can_hvac_heat?: boolean;
                can_hvac_heat_cool?: boolean;
                can_program_offline_access_codes?: boolean;
                can_program_online_access_codes?: boolean;
                can_remotely_lock?: boolean;
                can_remotely_unlock?: boolean;
                can_simulate_connection?: boolean;
                can_simulate_disconnection?: boolean;
                can_simulate_removal?: boolean;
                can_turn_off_hvac?: boolean;
                capabilities_supported: (
                    | "access_code"
                    | "lock"
                    | "phone"
                    | "thermostat"
                    | "noise_detection"
                    | "battery")[];
                connected_account_id: string;
                created_at: string;
                custom_metadata: Record<string, string | boolean>;
                device_id: string;
                device_type:
                    | "akuvox_lock"
                    | "august_lock"
                    | "brivo_access_point"
                    | "butterflymx_panel"
                    | "avigilon_alta_entry"
                    | "doorking_lock"
                    | "genie_door"
                    | "igloo_lock"
                    | "linear_lock"
                    | "lockly_lock"
                    | "kwikset_lock"
                    | "nuki_lock"
                    | "salto_lock"
                    | "schlage_lock"
                    | "seam_relay"
                    | "smartthings_lock"
                    | "wyze_lock"
                    | "yale_lock"
                    | "two_n_intercom"
                    | "controlbyweb_device"
                    | "ttlock_lock"
                    | "igloohome_lock"
                    | "hubitat_lock"
                    | "four_suites_door"
                    | "dormakaba_oracode_door"
                    | "tedee_lock"
                    | "akiles_lock"
                    | "noiseaware_activity_zone"
                    | "minut_sensor"
                    | "ecobee_thermostat"
                    | "nest_thermostat"
                    | "honeywell_resideo_thermostat"
                    | "tado_thermostat"
                    | "sensi_thermostat"
                    | "smartthings_thermostat"
                    | "ios_phone"
                    | "android_phone";
                display_name: string;
                errors: (
                    | {
                        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: "lockly_missing_wifi_bridge";
                        is_device_error: true;
                        message: string;
                    }
                    | {
                        created_at: string;
                        error_code: "invalid_credentials";
                        is_bridge_error?: (...) | (...) | (...);
                        is_connected_account_error?: (...) | (...) | (...);
                        message: string;
                    }
                    | {
                        created_at: string;
                        error_code: "bridge_disconnected";
                        is_bridge_error?: (...) | (...) | (...);
                        is_connected_account_error?: (...) | (...) | (...);
                        message: string;
                    })[];
                is_managed: true;
                location: null | {
                    location_name?: string;
                    timezone?: string;
                };
                nickname?: string;
                properties: {
                    accessory_keypad?: {
                        battery?: ...;
                        is_connected: ...;
                    };
                    appearance: {
                        name: string;
                    };
                    battery?: {
                        level: ...;
                        status: ...;
                    };
                    battery_level?: number;
                    currently_triggering_noise_threshold_ids?: (...)[];
                    has_direct_power?: boolean;
                    image_alt_text?: string;
                    image_url?: string;
                    manufacturer?: string;
                    model: {
                        accessory_keypad_supported?: (...) | (...) | (...);
                        can_connect_accessory_keypad?: (...) | (...) | (...);
                        display_name: string;
                        has_built_in_keypad?: (...) | (...) | (...);
                        manufacturer_display_name: string;
                        offline_access_codes_supported?: (...) | (...) | (...);
                        online_access_codes_supported?: (...) | (...) | (...);
                    };
                    name: string;
                    noise_level_decibels?: number;
                    offline_access_codes_enabled?: boolean;
                    online: boolean;
                    online_access_codes_enabled?: boolean;
                    serial_number?: string;
                    supports_accessory_keypad?: boolean;
                    supports_offline_access_codes?: boolean;
                } & {
                    assa_abloy_credential_service_metadata?: {
                        endpoints: ...;
                        has_active_endpoint: ...;
                    };
                    salto_space_credential_service_metadata?: {
                        has_active_phone: ...;
                    };
                } & {
                    akiles_metadata?: {
                        _member_group_id?: ...;
                        gadget_id: ...;
                        gadget_name: ...;
                        product_name: ...;
                    };
                    assa_abloy_vostio_metadata?: {
                        encoder_name: ...;
                    };
                    august_metadata?: {
                        has_keypad: ...;
                        house_id?: ...;
                        house_name: ...;
                        keypad_battery_level?: ...;
                        lock_id: ...;
                        lock_name: ...;
                        model?: ...;
                    };
                    avigilon_alta_metadata?: {
                        entry_name: ...;
                        entry_relays_total_count: ...;
                        org_name: ...;
                        site_id: ...;
                        site_name: ...;
                        zone_id: ...;
                        zone_name: ...;
                    };
                    brivo_metadata?: {
                        device_name: ...;
                    };
                    controlbyweb_metadata?: {
                        device_id: ...;
                        device_name: ...;
                        relay_name: ...;
                    };
                    dormakaba_oracode_metadata?: {
                        device_id?: ...;
                        door_id?: ...;
                        door_is_wireless: ...;
                        door_name: ...;
                        iana_timezone?: ...;
                        predefined_time_slots?: ...;
                        site_id: ...;
                        site_name: ...;
                    };
                    ecobee_metadata?: {
                        device_name: ...;
                        ecobee_device_id: ...;
                    };
                    four_suites_metadata?: {
                        device_id: ...;
                        device_name: ...;
                        reclose_delay_in_seconds: ...;
                    };
                    genie_metadata?: {
                        device_name: ...;
                        door_name: ...;
                    };
                    honeywell_resideo_metadata?: {
                        device_name: ...;
                        honeywell_resideo_device_id: ...;
                    };
                    hubitat_metadata?: {
                        device_id: ...;
                        device_label: ...;
                        device_name: ...;
                    };
                    igloo_metadata?: {
                        bridge_id: ...;
                        device_id: ...;
                        model?: ...;
                    };
                    igloohome_metadata?: {
                        bridge_id?: ...;
                        bridge_name?: ...;
                        device_id: ...;
                        device_name: ...;
                        keypad_id?: ...;
                    };
                    kwikset_metadata?: {
                        device_id: ...;
                        device_name: ...;
                        model_number: ...;
                    };
                    lockly_metadata?: {
                        device_id: ...;
                        device_name: ...;
                        model?: ...;
                    };
                    minut_metadata?: {
                        device_id: ...;
                        device_name: ...;
                        latest_sensor_values: ...;
                    };
                    nest_metadata?: {
                        device_custom_name: ...;
                        device_name: ...;
                        display_name?: ...;
                        nest_device_id: ...;
                    };
                    noiseaware_metadata?: {
                        device_id: ...;
                        device_model: ...;
                        device_name: ...;
                        noise_level_decibel: ...;
                        noise_level_nrs: ...;
                    };
                    nuki_metadata?: {
                        device_id: ...;
                        device_name: ...;
                        keypad_2_paired?: ...;
                        keypad_battery_critical?: ...;
                        keypad_paired?: ...;
                    };
                    salto_ks_metadata?: {
                        battery_level: ...;
                        customer_reference: ...;
                        lock_id: ...;
                        lock_type: ...;
                        locked_state: ...;
                        model?: ...;
                    };
                    salto_metadata?: {
                        battery_level: ...;
                        customer_reference: ...;
                        lock_id: ...;
                        lock_type: ...;
                        locked_state: ...;
                        model?: ...;
                    };
                    schlage_metadata?: {
                        device_id: ...;
                        device_name: ...;
                        model?: ...;
                    };
                    seam_bridge_metadata?: {
                        device_num: ...;
                        name: ...;
                        unlock_method?: ...;
                    };
                    sensi_metadata?: {
                        device_id: ...;
                        device_name: ...;
                        product_type: ...;
                    };
                    smartthings_metadata?: {
                        device_id: ...;
                        device_name: ...;
                        location_id?: ...;
                        model?: ...;
                    };
                    tado_metadata?: {
                        device_type: ...;
                        serial_no: ...;
                    };
                    tedee_metadata?: {
                        bridge_id: ...;
                        bridge_name: ...;
                        device_id: ...;
                        device_model: ...;
                        device_name: ...;
                        keypad_id?: ...;
                        serial_number: ...;
                    };
                    ttlock_metadata?: {
                        feature_value: ...;
                        features: ...;
                        has_gateway?: ...;
                        lock_alias: ...;
                        lock_id: ...;
                        wireless_keypads?: ...;
                    };
                    two_n_metadata?: {
                        device_id: ...;
                        device_name: ...;
                    };
                    visionline_metadata?: {
                        encoder_id: ...;
                    };
                    wyze_metadata?: {
                        device_id: ...;
                        device_info_model: ...;
                        device_name: ...;
                        keypad_uuid?: ...;
                        locker_status_hardlock?: ...;
                        product_model: ...;
                        product_name: ...;
                        product_type: ...;
                    };
                } & {
                    _experimental_supported_code_from_access_codes_lengths?: (...)[];
                    code_constraints?: (...)[];
                    door_open?: boolean;
                    has_native_entry_events?: boolean;
                    keypad_battery?: {
                        level: ...;
                    };
                    locked?: boolean;
                    max_active_codes_supported?: number;
                    supported_code_lengths?: (...)[];
                    supports_backup_access_code_pool?: boolean;
                } & {
                    active_thermostat_schedule?: null | {
                        climate_preset_key: ...;
                        created_at: ...;
                        device_id: ...;
                        ends_at: ...;
                        errors: ...;
                        is_override_allowed?: ...;
                        max_override_period_minutes?: ...;
                        name: ...;
                        starts_at: ...;
                        thermostat_schedule_id: ...;
                        workspace_id: ...;
                    };
                    available_climate_presets?: (...)[];
                    available_fan_mode_settings?: (...)[];
                    available_hvac_mode_settings?: (...)[];
                    current_climate_setting?: {
                        can_delete?: ...;
                        can_edit?: ...;
                        can_program?: ...;
                        climate_preset_key?: ...;
                        cooling_set_point_celsius?: ...;
                        cooling_set_point_fahrenheit?: ...;
                        display_name?: ...;
                        fan_mode_setting?: ...;
                        heating_set_point_celsius?: ...;
                        heating_set_point_fahrenheit?: ...;
                        hvac_mode_setting?: ...;
                        manual_override_allowed?: ...;
                        name?: ...;
                    };
                    default_climate_setting?: {
                        can_delete?: ...;
                        can_edit?: ...;
                        can_program?: ...;
                        climate_preset_key?: ...;
                        cooling_set_point_celsius?: ...;
                        cooling_set_point_fahrenheit?: ...;
                        display_name?: ...;
                        fan_mode_setting?: ...;
                        heating_set_point_celsius?: ...;
                        heating_set_point_fahrenheit?: ...;
                        hvac_mode_setting?: ...;
                        manual_override_allowed?: ...;
                        name?: ...;
                    };
                    fallback_climate_preset_key?: null | string;
                    fan_mode_setting?: "auto" | "on" | "circulate";
                    is_cooling?: boolean;
                    is_fan_running?: boolean;
                    is_heating?: boolean;
                    is_temporary_manual_override_active?: boolean;
                    max_cooling_set_point_celsius?: number;
                    max_cooling_set_point_fahrenheit?: number;
                    max_heating_set_point_celsius?: number;
                    max_heating_set_point_fahrenheit?: number;
                    min_cooling_set_point_celsius?: number;
                    min_cooling_set_point_fahrenheit?: number;
                    min_heating_cooling_delta_celsius?: number;
                    min_heating_cooling_delta_fahrenheit?: number;
                    min_heating_set_point_celsius?: number;
                    min_heating_set_point_fahrenheit?: number;
                    relative_humidity?: number;
                    temperature_celsius?: number;
                    temperature_fahrenheit?: number;
                    temperature_threshold?: {
                        lower_limit_celsius: ...;
                        lower_limit_fahrenheit: ...;
                        upper_limit_celsius: ...;
                        upper_limit_fahrenheit: ...;
                    };
                    thermostat_daily_programs?: (...)[];
                    thermostat_weekly_program?: null | {
                        created_at: ...;
                        friday_program_id: ...;
                        monday_program_id: ...;
                        saturday_program_id: ...;
                        sunday_program_id: ...;
                        thursday_program_id: ...;
                        tuesday_program_id: ...;
                        wednesday_program_id: ...;
                    };
                };
                warnings: (
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "partial_backup_access_code_pool";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "many_active_backup_codes";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "wyze_device_missing_gateway";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "functional_offline_device";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "third_party_integration_detected";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "nest_thermostat_in_manual_eco_mode";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "ttlock_lock_gateway_unlocking_not_enabled";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "ttlock_weak_gateway_signal";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "power_saving_mode";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "temperature_threshold_exceeded";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "device_communication_degraded";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "scheduled_maintenance_window";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "device_has_flaky_connection";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "salto_ks_office_mode";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "salto_ks_privacy_mode";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "salto_ks_subscription_limit_almost_reached";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "unknown_issue_with_phone";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "lockly_time_zone_not_configured";
                    })[];
                workspace_id: string;
            }[];
            pagination: {
                has_next_page: boolean;
                next_page_cursor: null | string;
                next_page_url: null | string;
            };
        }>, "pagination" | "devices">, "devices">

  • get /devices/list_device_providers(): ((params?: {
        provider_category?:
            | "noise_sensors"
            | "thermostats"
            | "stable"
            | "consumer_smartlocks"
            | "access_control_systems";
    }) => SeamHttpRequest<SetNonNullable<Required<{
        device_providers: {
            can_hvac_cool?: boolean;
            can_hvac_heat?: boolean;
            can_hvac_heat_cool?: boolean;
            can_program_offline_access_codes?: boolean;
            can_program_online_access_codes?: boolean;
            can_remotely_lock?: boolean;
            can_remotely_unlock?: boolean;
            can_simulate_connection?: boolean;
            can_simulate_disconnection?: boolean;
            can_simulate_removal?: boolean;
            can_turn_off_hvac?: boolean;
            device_provider_name:
                | "assa_abloy_credential_service"
                | "assa_abloy_vostio"
                | "assa_abloy_vostio_credential_service"
                | "dormakaba_community"
                | "legic_connect"
                | "akuvox"
                | "august"
                | "avigilon_alta"
                | "brivo"
                | "butterflymx"
                | "schlage"
                | "smartthings"
                | "yale"
                | "genie"
                | "doorking"
                | "salto"
                | "salto_ks"
                | "lockly"
                | "ttlock"
                | "linear"
                | "noiseaware"
                | "nuki"
                | "seam_relay_admin"
                | "igloo"
                | "kwikset"
                | "minut"
                | "my_2n"
                | "controlbyweb"
                | "nest"
                | "igloohome"
                | "ecobee"
                | "hubitat"
                | "four_suites"
                | "dormakaba_oracode"
                | "pti"
                | "wyze"
                | "seam_passport"
                | "visionline"
                | "seam_bridge"
                | "tedee"
                | "honeywell_resideo"
                | "latch"
                | "akiles"
                | "tado"
                | "salto_space"
                | "sensi"
                | "kwikset2";
            display_name: string;
            image_url: string;
            provider_categories: (
                | "noise_sensors"
                | "thermostats"
                | "stable"
                | "consumer_smartlocks"
                | "access_control_systems")[];
        }[];
    }>, "device_providers">, "device_providers">)
  • Returns ((params?: {
        provider_category?:
            | "noise_sensors"
            | "thermostats"
            | "stable"
            | "consumer_smartlocks"
            | "access_control_systems";
    }) => SeamHttpRequest<SetNonNullable<Required<{
        device_providers: {
            can_hvac_cool?: boolean;
            can_hvac_heat?: boolean;
            can_hvac_heat_cool?: boolean;
            can_program_offline_access_codes?: boolean;
            can_program_online_access_codes?: boolean;
            can_remotely_lock?: boolean;
            can_remotely_unlock?: boolean;
            can_simulate_connection?: boolean;
            can_simulate_disconnection?: boolean;
            can_simulate_removal?: boolean;
            can_turn_off_hvac?: boolean;
            device_provider_name:
                | "assa_abloy_credential_service"
                | "assa_abloy_vostio"
                | "assa_abloy_vostio_credential_service"
                | "dormakaba_community"
                | "legic_connect"
                | "akuvox"
                | "august"
                | "avigilon_alta"
                | "brivo"
                | "butterflymx"
                | "schlage"
                | "smartthings"
                | "yale"
                | "genie"
                | "doorking"
                | "salto"
                | "salto_ks"
                | "lockly"
                | "ttlock"
                | "linear"
                | "noiseaware"
                | "nuki"
                | "seam_relay_admin"
                | "igloo"
                | "kwikset"
                | "minut"
                | "my_2n"
                | "controlbyweb"
                | "nest"
                | "igloohome"
                | "ecobee"
                | "hubitat"
                | "four_suites"
                | "dormakaba_oracode"
                | "pti"
                | "wyze"
                | "seam_passport"
                | "visionline"
                | "seam_bridge"
                | "tedee"
                | "honeywell_resideo"
                | "latch"
                | "akiles"
                | "tado"
                | "salto_space"
                | "sensi"
                | "kwikset2";
            display_name: string;
            image_url: string;
            provider_categories: (
                | "noise_sensors"
                | "thermostats"
                | "stable"
                | "consumer_smartlocks"
                | "access_control_systems")[];
        }[];
    }>, "device_providers">, "device_providers">)

      • (params?): SeamHttpRequest<SetNonNullable<Required<{
            device_providers: {
                can_hvac_cool?: boolean;
                can_hvac_heat?: boolean;
                can_hvac_heat_cool?: boolean;
                can_program_offline_access_codes?: boolean;
                can_program_online_access_codes?: boolean;
                can_remotely_lock?: boolean;
                can_remotely_unlock?: boolean;
                can_simulate_connection?: boolean;
                can_simulate_disconnection?: boolean;
                can_simulate_removal?: boolean;
                can_turn_off_hvac?: boolean;
                device_provider_name:
                    | "assa_abloy_credential_service"
                    | "assa_abloy_vostio"
                    | "assa_abloy_vostio_credential_service"
                    | "dormakaba_community"
                    | "legic_connect"
                    | "akuvox"
                    | "august"
                    | "avigilon_alta"
                    | "brivo"
                    | "butterflymx"
                    | "schlage"
                    | "smartthings"
                    | "yale"
                    | "genie"
                    | "doorking"
                    | "salto"
                    | "salto_ks"
                    | "lockly"
                    | "ttlock"
                    | "linear"
                    | "noiseaware"
                    | "nuki"
                    | "seam_relay_admin"
                    | "igloo"
                    | "kwikset"
                    | "minut"
                    | "my_2n"
                    | "controlbyweb"
                    | "nest"
                    | "igloohome"
                    | "ecobee"
                    | "hubitat"
                    | "four_suites"
                    | "dormakaba_oracode"
                    | "pti"
                    | "wyze"
                    | "seam_passport"
                    | "visionline"
                    | "seam_bridge"
                    | "tedee"
                    | "honeywell_resideo"
                    | "latch"
                    | "akiles"
                    | "tado"
                    | "salto_space"
                    | "sensi"
                    | "kwikset2";
                display_name: string;
                image_url: string;
                provider_categories: (
                    | "noise_sensors"
                    | "thermostats"
                    | "stable"
                    | "consumer_smartlocks"
                    | "access_control_systems")[];
            }[];
        }>, "device_providers">, "device_providers">
      • Parameters

        • Optionalparams: {
              provider_category?:
                  | "noise_sensors"
                  | "thermostats"
                  | "stable"
                  | "consumer_smartlocks"
                  | "access_control_systems";
          }
          • Optionalprovider_category?:
                | "noise_sensors"
                | "thermostats"
                | "stable"
                | "consumer_smartlocks"
                | "access_control_systems"

            Category for which you want to list providers.

        Returns SeamHttpRequest<SetNonNullable<Required<{
            device_providers: {
                can_hvac_cool?: boolean;
                can_hvac_heat?: boolean;
                can_hvac_heat_cool?: boolean;
                can_program_offline_access_codes?: boolean;
                can_program_online_access_codes?: boolean;
                can_remotely_lock?: boolean;
                can_remotely_unlock?: boolean;
                can_simulate_connection?: boolean;
                can_simulate_disconnection?: boolean;
                can_simulate_removal?: boolean;
                can_turn_off_hvac?: boolean;
                device_provider_name:
                    | "assa_abloy_credential_service"
                    | "assa_abloy_vostio"
                    | "assa_abloy_vostio_credential_service"
                    | "dormakaba_community"
                    | "legic_connect"
                    | "akuvox"
                    | "august"
                    | "avigilon_alta"
                    | "brivo"
                    | "butterflymx"
                    | "schlage"
                    | "smartthings"
                    | "yale"
                    | "genie"
                    | "doorking"
                    | "salto"
                    | "salto_ks"
                    | "lockly"
                    | "ttlock"
                    | "linear"
                    | "noiseaware"
                    | "nuki"
                    | "seam_relay_admin"
                    | "igloo"
                    | "kwikset"
                    | "minut"
                    | "my_2n"
                    | "controlbyweb"
                    | "nest"
                    | "igloohome"
                    | "ecobee"
                    | "hubitat"
                    | "four_suites"
                    | "dormakaba_oracode"
                    | "pti"
                    | "wyze"
                    | "seam_passport"
                    | "visionline"
                    | "seam_bridge"
                    | "tedee"
                    | "honeywell_resideo"
                    | "latch"
                    | "akiles"
                    | "tado"
                    | "salto_space"
                    | "sensi"
                    | "kwikset2";
                display_name: string;
                image_url: string;
                provider_categories: (
                    | "noise_sensors"
                    | "thermostats"
                    | "stable"
                    | "consumer_smartlocks"
                    | "access_control_systems")[];
            }[];
        }>, "device_providers">, "device_providers">

  • get /devices/simulate/connect(): ((body?: {
        device_id: string;
    }) => SeamHttpRequest<void, undefined>)
  • Returns ((body?: {
        device_id: string;
    }) => SeamHttpRequest<void, undefined>)

      • (body?): SeamHttpRequest<void, undefined>
      • Parameters

        • Optionalbody: {
              device_id: string;
          }
          • device_id: string

            ID of the device that you want to simulate connecting to Seam.

        Returns SeamHttpRequest<void, undefined>

  • get /devices/simulate/disconnect(): ((body?: {
        device_id: string;
    }) => SeamHttpRequest<void, undefined>)
  • Returns ((body?: {
        device_id: string;
    }) => SeamHttpRequest<void, undefined>)

      • (body?): SeamHttpRequest<void, undefined>
      • Parameters

        • Optionalbody: {
              device_id: string;
          }
          • device_id: string

            ID of the device that you want to simulate disconnecting from Seam.

        Returns SeamHttpRequest<void, undefined>

  • get /devices/simulate/remove(): ((params?: {
        device_id: string;
    }) => SeamHttpRequest<void, undefined>)
  • Returns ((params?: {
        device_id: string;
    }) => SeamHttpRequest<void, undefined>)

      • (params?): SeamHttpRequest<void, undefined>
      • Parameters

        • Optionalparams: {
              device_id: string;
          }
          • device_id: string

            ID of the device that you want to simulate removing from Seam.

        Returns SeamHttpRequest<void, undefined>

  • get /devices/unmanaged/get(): ((params?: {
        device_id?: string;
        name?: string;
    }) => SeamHttpRequest<SetNonNullable<Required<{
        device: {
            can_hvac_cool?: boolean;
            can_hvac_heat?: boolean;
            can_hvac_heat_cool?: boolean;
            can_program_offline_access_codes?: boolean;
            can_program_online_access_codes?: boolean;
            can_remotely_lock?: boolean;
            can_remotely_unlock?: boolean;
            can_simulate_connection?: boolean;
            can_simulate_disconnection?: boolean;
            can_simulate_removal?: boolean;
            can_turn_off_hvac?: boolean;
            capabilities_supported: (
                | "access_code"
                | "lock"
                | "phone"
                | "thermostat"
                | "noise_detection"
                | "battery")[];
            connected_account_id: string;
            created_at: string;
            device_id: string;
            device_type:
                | "akuvox_lock"
                | "august_lock"
                | "brivo_access_point"
                | "butterflymx_panel"
                | "avigilon_alta_entry"
                | "doorking_lock"
                | "genie_door"
                | "igloo_lock"
                | "linear_lock"
                | "lockly_lock"
                | "kwikset_lock"
                | "nuki_lock"
                | "salto_lock"
                | "schlage_lock"
                | "seam_relay"
                | "smartthings_lock"
                | "wyze_lock"
                | "yale_lock"
                | "two_n_intercom"
                | "controlbyweb_device"
                | "ttlock_lock"
                | "igloohome_lock"
                | "hubitat_lock"
                | "four_suites_door"
                | "dormakaba_oracode_door"
                | "tedee_lock"
                | "akiles_lock"
                | "noiseaware_activity_zone"
                | "minut_sensor"
                | "ecobee_thermostat"
                | "nest_thermostat"
                | "honeywell_resideo_thermostat"
                | "tado_thermostat"
                | "sensi_thermostat"
                | "smartthings_thermostat"
                | "ios_phone"
                | "android_phone";
            errors: (
                | {
                    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: "lockly_missing_wifi_bridge";
                    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_managed: false;
            location: null | {
                location_name?: string;
                timezone?: string;
            };
            properties: {
                accessory_keypad?: {
                    battery?: {
                        level: ...;
                    };
                    is_connected: boolean;
                };
                battery?: {
                    level: number;
                    status:
                        | "critical"
                        | "low"
                        | "good"
                        | "full";
                };
                battery_level?: number;
                image_alt_text?: string;
                image_url?: string;
                manufacturer?: string;
                model: {
                    accessory_keypad_supported?: boolean;
                    can_connect_accessory_keypad?: boolean;
                    display_name: string;
                    has_built_in_keypad?: boolean;
                    manufacturer_display_name: string;
                    offline_access_codes_supported?: boolean;
                    online_access_codes_supported?: boolean;
                };
                name: string;
                offline_access_codes_enabled?: boolean;
                online: boolean;
                online_access_codes_enabled?: boolean;
            };
            warnings: (
                | {
                    created_at: string;
                    message: string;
                    warning_code: "partial_backup_access_code_pool";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "many_active_backup_codes";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "wyze_device_missing_gateway";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "functional_offline_device";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "third_party_integration_detected";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "nest_thermostat_in_manual_eco_mode";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "ttlock_lock_gateway_unlocking_not_enabled";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "ttlock_weak_gateway_signal";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "power_saving_mode";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "temperature_threshold_exceeded";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "device_communication_degraded";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "scheduled_maintenance_window";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "device_has_flaky_connection";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "salto_ks_office_mode";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "salto_ks_privacy_mode";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "salto_ks_subscription_limit_almost_reached";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "unknown_issue_with_phone";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "lockly_time_zone_not_configured";
                })[];
            workspace_id: string;
        };
    }>, "device">, "device">)
  • Returns ((params?: {
        device_id?: string;
        name?: string;
    }) => SeamHttpRequest<SetNonNullable<Required<{
        device: {
            can_hvac_cool?: boolean;
            can_hvac_heat?: boolean;
            can_hvac_heat_cool?: boolean;
            can_program_offline_access_codes?: boolean;
            can_program_online_access_codes?: boolean;
            can_remotely_lock?: boolean;
            can_remotely_unlock?: boolean;
            can_simulate_connection?: boolean;
            can_simulate_disconnection?: boolean;
            can_simulate_removal?: boolean;
            can_turn_off_hvac?: boolean;
            capabilities_supported: (
                | "access_code"
                | "lock"
                | "phone"
                | "thermostat"
                | "noise_detection"
                | "battery")[];
            connected_account_id: string;
            created_at: string;
            device_id: string;
            device_type:
                | "akuvox_lock"
                | "august_lock"
                | "brivo_access_point"
                | "butterflymx_panel"
                | "avigilon_alta_entry"
                | "doorking_lock"
                | "genie_door"
                | "igloo_lock"
                | "linear_lock"
                | "lockly_lock"
                | "kwikset_lock"
                | "nuki_lock"
                | "salto_lock"
                | "schlage_lock"
                | "seam_relay"
                | "smartthings_lock"
                | "wyze_lock"
                | "yale_lock"
                | "two_n_intercom"
                | "controlbyweb_device"
                | "ttlock_lock"
                | "igloohome_lock"
                | "hubitat_lock"
                | "four_suites_door"
                | "dormakaba_oracode_door"
                | "tedee_lock"
                | "akiles_lock"
                | "noiseaware_activity_zone"
                | "minut_sensor"
                | "ecobee_thermostat"
                | "nest_thermostat"
                | "honeywell_resideo_thermostat"
                | "tado_thermostat"
                | "sensi_thermostat"
                | "smartthings_thermostat"
                | "ios_phone"
                | "android_phone";
            errors: (
                | {
                    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: "lockly_missing_wifi_bridge";
                    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_managed: false;
            location: null | {
                location_name?: string;
                timezone?: string;
            };
            properties: {
                accessory_keypad?: {
                    battery?: {
                        level: ...;
                    };
                    is_connected: boolean;
                };
                battery?: {
                    level: number;
                    status:
                        | "critical"
                        | "low"
                        | "good"
                        | "full";
                };
                battery_level?: number;
                image_alt_text?: string;
                image_url?: string;
                manufacturer?: string;
                model: {
                    accessory_keypad_supported?: boolean;
                    can_connect_accessory_keypad?: boolean;
                    display_name: string;
                    has_built_in_keypad?: boolean;
                    manufacturer_display_name: string;
                    offline_access_codes_supported?: boolean;
                    online_access_codes_supported?: boolean;
                };
                name: string;
                offline_access_codes_enabled?: boolean;
                online: boolean;
                online_access_codes_enabled?: boolean;
            };
            warnings: (
                | {
                    created_at: string;
                    message: string;
                    warning_code: "partial_backup_access_code_pool";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "many_active_backup_codes";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "wyze_device_missing_gateway";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "functional_offline_device";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "third_party_integration_detected";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "nest_thermostat_in_manual_eco_mode";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "ttlock_lock_gateway_unlocking_not_enabled";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "ttlock_weak_gateway_signal";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "power_saving_mode";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "temperature_threshold_exceeded";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "device_communication_degraded";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "scheduled_maintenance_window";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "device_has_flaky_connection";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "salto_ks_office_mode";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "salto_ks_privacy_mode";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "salto_ks_subscription_limit_almost_reached";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "unknown_issue_with_phone";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "lockly_time_zone_not_configured";
                })[];
            workspace_id: string;
        };
    }>, "device">, "device">)

      • (params?): SeamHttpRequest<SetNonNullable<Required<{
            device: {
                can_hvac_cool?: boolean;
                can_hvac_heat?: boolean;
                can_hvac_heat_cool?: boolean;
                can_program_offline_access_codes?: boolean;
                can_program_online_access_codes?: boolean;
                can_remotely_lock?: boolean;
                can_remotely_unlock?: boolean;
                can_simulate_connection?: boolean;
                can_simulate_disconnection?: boolean;
                can_simulate_removal?: boolean;
                can_turn_off_hvac?: boolean;
                capabilities_supported: (
                    | "access_code"
                    | "lock"
                    | "phone"
                    | "thermostat"
                    | "noise_detection"
                    | "battery")[];
                connected_account_id: string;
                created_at: string;
                device_id: string;
                device_type:
                    | "akuvox_lock"
                    | "august_lock"
                    | "brivo_access_point"
                    | "butterflymx_panel"
                    | "avigilon_alta_entry"
                    | "doorking_lock"
                    | "genie_door"
                    | "igloo_lock"
                    | "linear_lock"
                    | "lockly_lock"
                    | "kwikset_lock"
                    | "nuki_lock"
                    | "salto_lock"
                    | "schlage_lock"
                    | "seam_relay"
                    | "smartthings_lock"
                    | "wyze_lock"
                    | "yale_lock"
                    | "two_n_intercom"
                    | "controlbyweb_device"
                    | "ttlock_lock"
                    | "igloohome_lock"
                    | "hubitat_lock"
                    | "four_suites_door"
                    | "dormakaba_oracode_door"
                    | "tedee_lock"
                    | "akiles_lock"
                    | "noiseaware_activity_zone"
                    | "minut_sensor"
                    | "ecobee_thermostat"
                    | "nest_thermostat"
                    | "honeywell_resideo_thermostat"
                    | "tado_thermostat"
                    | "sensi_thermostat"
                    | "smartthings_thermostat"
                    | "ios_phone"
                    | "android_phone";
                errors: (
                    | {
                        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: "lockly_missing_wifi_bridge";
                        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_managed: false;
                location: null | {
                    location_name?: string;
                    timezone?: string;
                };
                properties: {
                    accessory_keypad?: {
                        battery?: {
                            level: ...;
                        };
                        is_connected: boolean;
                    };
                    battery?: {
                        level: number;
                        status:
                            | "critical"
                            | "low"
                            | "good"
                            | "full";
                    };
                    battery_level?: number;
                    image_alt_text?: string;
                    image_url?: string;
                    manufacturer?: string;
                    model: {
                        accessory_keypad_supported?: boolean;
                        can_connect_accessory_keypad?: boolean;
                        display_name: string;
                        has_built_in_keypad?: boolean;
                        manufacturer_display_name: string;
                        offline_access_codes_supported?: boolean;
                        online_access_codes_supported?: boolean;
                    };
                    name: string;
                    offline_access_codes_enabled?: boolean;
                    online: boolean;
                    online_access_codes_enabled?: boolean;
                };
                warnings: (
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "partial_backup_access_code_pool";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "many_active_backup_codes";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "wyze_device_missing_gateway";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "functional_offline_device";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "third_party_integration_detected";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "nest_thermostat_in_manual_eco_mode";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "ttlock_lock_gateway_unlocking_not_enabled";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "ttlock_weak_gateway_signal";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "power_saving_mode";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "temperature_threshold_exceeded";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "device_communication_degraded";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "scheduled_maintenance_window";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "device_has_flaky_connection";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "salto_ks_office_mode";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "salto_ks_privacy_mode";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "salto_ks_subscription_limit_almost_reached";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "unknown_issue_with_phone";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "lockly_time_zone_not_configured";
                    })[];
                workspace_id: string;
            };
        }>, "device">, "device">
      • Parameters

        • Optionalparams: {
              device_id?: string;
              name?: string;
          }
          • Optionaldevice_id?: string

            ID of the unmanaged device that you want to get.

          • Optionalname?: string

            Name of the unmanaged device that you want to get.

        Returns SeamHttpRequest<SetNonNullable<Required<{
            device: {
                can_hvac_cool?: boolean;
                can_hvac_heat?: boolean;
                can_hvac_heat_cool?: boolean;
                can_program_offline_access_codes?: boolean;
                can_program_online_access_codes?: boolean;
                can_remotely_lock?: boolean;
                can_remotely_unlock?: boolean;
                can_simulate_connection?: boolean;
                can_simulate_disconnection?: boolean;
                can_simulate_removal?: boolean;
                can_turn_off_hvac?: boolean;
                capabilities_supported: (
                    | "access_code"
                    | "lock"
                    | "phone"
                    | "thermostat"
                    | "noise_detection"
                    | "battery")[];
                connected_account_id: string;
                created_at: string;
                device_id: string;
                device_type:
                    | "akuvox_lock"
                    | "august_lock"
                    | "brivo_access_point"
                    | "butterflymx_panel"
                    | "avigilon_alta_entry"
                    | "doorking_lock"
                    | "genie_door"
                    | "igloo_lock"
                    | "linear_lock"
                    | "lockly_lock"
                    | "kwikset_lock"
                    | "nuki_lock"
                    | "salto_lock"
                    | "schlage_lock"
                    | "seam_relay"
                    | "smartthings_lock"
                    | "wyze_lock"
                    | "yale_lock"
                    | "two_n_intercom"
                    | "controlbyweb_device"
                    | "ttlock_lock"
                    | "igloohome_lock"
                    | "hubitat_lock"
                    | "four_suites_door"
                    | "dormakaba_oracode_door"
                    | "tedee_lock"
                    | "akiles_lock"
                    | "noiseaware_activity_zone"
                    | "minut_sensor"
                    | "ecobee_thermostat"
                    | "nest_thermostat"
                    | "honeywell_resideo_thermostat"
                    | "tado_thermostat"
                    | "sensi_thermostat"
                    | "smartthings_thermostat"
                    | "ios_phone"
                    | "android_phone";
                errors: (
                    | {
                        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: "lockly_missing_wifi_bridge";
                        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_managed: false;
                location: null | {
                    location_name?: string;
                    timezone?: string;
                };
                properties: {
                    accessory_keypad?: {
                        battery?: {
                            level: ...;
                        };
                        is_connected: boolean;
                    };
                    battery?: {
                        level: number;
                        status:
                            | "critical"
                            | "low"
                            | "good"
                            | "full";
                    };
                    battery_level?: number;
                    image_alt_text?: string;
                    image_url?: string;
                    manufacturer?: string;
                    model: {
                        accessory_keypad_supported?: boolean;
                        can_connect_accessory_keypad?: boolean;
                        display_name: string;
                        has_built_in_keypad?: boolean;
                        manufacturer_display_name: string;
                        offline_access_codes_supported?: boolean;
                        online_access_codes_supported?: boolean;
                    };
                    name: string;
                    offline_access_codes_enabled?: boolean;
                    online: boolean;
                    online_access_codes_enabled?: boolean;
                };
                warnings: (
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "partial_backup_access_code_pool";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "many_active_backup_codes";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "wyze_device_missing_gateway";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "functional_offline_device";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "third_party_integration_detected";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "nest_thermostat_in_manual_eco_mode";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "ttlock_lock_gateway_unlocking_not_enabled";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "ttlock_weak_gateway_signal";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "power_saving_mode";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "temperature_threshold_exceeded";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "device_communication_degraded";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "scheduled_maintenance_window";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "device_has_flaky_connection";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "salto_ks_office_mode";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "salto_ks_privacy_mode";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "salto_ks_subscription_limit_almost_reached";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "unknown_issue_with_phone";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "lockly_time_zone_not_configured";
                    })[];
                workspace_id: string;
            };
        }>, "device">, "device">

  • get /devices/unmanaged/list(): ((params?: {
        connect_webview_id?: string;
        connected_account_id?: string;
        connected_account_ids?: string[];
        created_before?: Date;
        custom_metadata_has?: Record<string, string | boolean>;
        customer_ids?: string[];
        device_ids?: string[];
        device_type?:
            | "akuvox_lock"
            | "august_lock"
            | "brivo_access_point"
            | "butterflymx_panel"
            | "avigilon_alta_entry"
            | "doorking_lock"
            | "genie_door"
            | "igloo_lock"
            | "linear_lock"
            | "lockly_lock"
            | "kwikset_lock"
            | "nuki_lock"
            | "salto_lock"
            | "schlage_lock"
            | "seam_relay"
            | "smartthings_lock"
            | "wyze_lock"
            | "yale_lock"
            | "two_n_intercom"
            | "controlbyweb_device"
            | "ttlock_lock"
            | "igloohome_lock"
            | "hubitat_lock"
            | "four_suites_door"
            | "dormakaba_oracode_door"
            | "tedee_lock"
            | "akiles_lock"
            | "noiseaware_activity_zone"
            | "minut_sensor"
            | "ecobee_thermostat"
            | "nest_thermostat"
            | "honeywell_resideo_thermostat"
            | "tado_thermostat"
            | "sensi_thermostat"
            | "smartthings_thermostat"
            | "ios_phone"
            | "android_phone";
        device_types?: (
            | "akuvox_lock"
            | "august_lock"
            | "brivo_access_point"
            | "butterflymx_panel"
            | "avigilon_alta_entry"
            | "doorking_lock"
            | "genie_door"
            | "igloo_lock"
            | "linear_lock"
            | "lockly_lock"
            | "kwikset_lock"
            | "nuki_lock"
            | "salto_lock"
            | "schlage_lock"
            | "seam_relay"
            | "smartthings_lock"
            | "wyze_lock"
            | "yale_lock"
            | "two_n_intercom"
            | "controlbyweb_device"
            | "ttlock_lock"
            | "igloohome_lock"
            | "hubitat_lock"
            | "four_suites_door"
            | "dormakaba_oracode_door"
            | "tedee_lock"
            | "akiles_lock"
            | "noiseaware_activity_zone"
            | "minut_sensor"
            | "ecobee_thermostat"
            | "nest_thermostat"
            | "honeywell_resideo_thermostat"
            | "tado_thermostat"
            | "sensi_thermostat"
            | "smartthings_thermostat"
            | "ios_phone"
            | "android_phone")[];
        exclude_if?: (
            | "can_remotely_unlock"
            | "can_remotely_lock"
            | "can_program_offline_access_codes"
            | "can_program_online_access_codes"
            | "can_hvac_heat"
            | "can_hvac_cool"
            | "can_hvac_heat_cool"
            | "can_turn_off_hvac"
            | "can_simulate_removal"
            | "can_simulate_connection"
            | "can_simulate_disconnection")[];
        include_if?: (
            | "can_remotely_unlock"
            | "can_remotely_lock"
            | "can_program_offline_access_codes"
            | "can_program_online_access_codes"
            | "can_hvac_heat"
            | "can_hvac_cool"
            | "can_hvac_heat_cool"
            | "can_turn_off_hvac"
            | "can_simulate_removal"
            | "can_simulate_connection"
            | "can_simulate_disconnection")[];
        limit?: number;
        manufacturer?:
            | "unknown"
            | "akuvox"
            | "august"
            | "avigilon_alta"
            | "brivo"
            | "butterflymx"
            | "schlage"
            | "smartthings"
            | "yale"
            | "genie"
            | "doorking"
            | "salto"
            | "lockly"
            | "ttlock"
            | "linear"
            | "noiseaware"
            | "nuki"
            | "igloo"
            | "kwikset"
            | "minut"
            | "controlbyweb"
            | "nest"
            | "igloohome"
            | "ecobee"
            | "hubitat"
            | "four_suites"
            | "dormakaba_oracode"
            | "wyze"
            | "tedee"
            | "honeywell_resideo"
            | "akiles"
            | "tado"
            | "sensi"
            | "kwikset2"
            | "keywe"
            | "philia"
            | "samsung"
            | "seam"
            | "two_n";
        page_cursor?: null | string;
        space_id?: string;
        unstable_location_id?: null | string;
        user_identifier_key?: string;
    }) => SeamHttpRequest<SetNonNullable<Required<{
        devices: {
            can_hvac_cool?: boolean;
            can_hvac_heat?: boolean;
            can_hvac_heat_cool?: boolean;
            can_program_offline_access_codes?: boolean;
            can_program_online_access_codes?: boolean;
            can_remotely_lock?: boolean;
            can_remotely_unlock?: boolean;
            can_simulate_connection?: boolean;
            can_simulate_disconnection?: boolean;
            can_simulate_removal?: boolean;
            can_turn_off_hvac?: boolean;
            capabilities_supported: (
                | "access_code"
                | "lock"
                | "phone"
                | "thermostat"
                | "noise_detection"
                | "battery")[];
            connected_account_id: string;
            created_at: string;
            device_id: string;
            device_type:
                | "akuvox_lock"
                | "august_lock"
                | "brivo_access_point"
                | "butterflymx_panel"
                | "avigilon_alta_entry"
                | "doorking_lock"
                | "genie_door"
                | "igloo_lock"
                | "linear_lock"
                | "lockly_lock"
                | "kwikset_lock"
                | "nuki_lock"
                | "salto_lock"
                | "schlage_lock"
                | "seam_relay"
                | "smartthings_lock"
                | "wyze_lock"
                | "yale_lock"
                | "two_n_intercom"
                | "controlbyweb_device"
                | "ttlock_lock"
                | "igloohome_lock"
                | "hubitat_lock"
                | "four_suites_door"
                | "dormakaba_oracode_door"
                | "tedee_lock"
                | "akiles_lock"
                | "noiseaware_activity_zone"
                | "minut_sensor"
                | "ecobee_thermostat"
                | "nest_thermostat"
                | "honeywell_resideo_thermostat"
                | "tado_thermostat"
                | "sensi_thermostat"
                | "smartthings_thermostat"
                | "ios_phone"
                | "android_phone";
            errors: (
                | {
                    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: "lockly_missing_wifi_bridge";
                    is_device_error: true;
                    message: string;
                }
                | {
                    created_at: string;
                    error_code: "invalid_credentials";
                    is_bridge_error?: (...) | (...) | (...);
                    is_connected_account_error?: (...) | (...) | (...);
                    message: string;
                }
                | {
                    created_at: string;
                    error_code: "bridge_disconnected";
                    is_bridge_error?: (...) | (...) | (...);
                    is_connected_account_error?: (...) | (...) | (...);
                    message: string;
                })[];
            is_managed: false;
            location: null | {
                location_name?: string;
                timezone?: string;
            };
            properties: {
                accessory_keypad?: {
                    battery?: (...) | (...);
                    is_connected: boolean;
                };
                battery?: {
                    level: number;
                    status:
                        | (...)
                        | (...)
                        | (...)
                        | (...);
                };
                battery_level?: number;
                image_alt_text?: string;
                image_url?: string;
                manufacturer?: string;
                model: {
                    accessory_keypad_supported?: boolean;
                    can_connect_accessory_keypad?: boolean;
                    display_name: string;
                    has_built_in_keypad?: boolean;
                    manufacturer_display_name: string;
                    offline_access_codes_supported?: boolean;
                    online_access_codes_supported?: boolean;
                };
                name: string;
                offline_access_codes_enabled?: boolean;
                online: boolean;
                online_access_codes_enabled?: boolean;
            };
            warnings: (
                | {
                    created_at: string;
                    message: string;
                    warning_code: "partial_backup_access_code_pool";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "many_active_backup_codes";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "wyze_device_missing_gateway";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "functional_offline_device";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "third_party_integration_detected";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "nest_thermostat_in_manual_eco_mode";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "ttlock_lock_gateway_unlocking_not_enabled";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "ttlock_weak_gateway_signal";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "power_saving_mode";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "temperature_threshold_exceeded";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "device_communication_degraded";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "scheduled_maintenance_window";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "device_has_flaky_connection";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "salto_ks_office_mode";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "salto_ks_privacy_mode";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "salto_ks_subscription_limit_almost_reached";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "unknown_issue_with_phone";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "lockly_time_zone_not_configured";
                })[];
            workspace_id: string;
        }[];
    }>, "devices">, "devices">)
  • Returns ((params?: {
        connect_webview_id?: string;
        connected_account_id?: string;
        connected_account_ids?: string[];
        created_before?: Date;
        custom_metadata_has?: Record<string, string | boolean>;
        customer_ids?: string[];
        device_ids?: string[];
        device_type?:
            | "akuvox_lock"
            | "august_lock"
            | "brivo_access_point"
            | "butterflymx_panel"
            | "avigilon_alta_entry"
            | "doorking_lock"
            | "genie_door"
            | "igloo_lock"
            | "linear_lock"
            | "lockly_lock"
            | "kwikset_lock"
            | "nuki_lock"
            | "salto_lock"
            | "schlage_lock"
            | "seam_relay"
            | "smartthings_lock"
            | "wyze_lock"
            | "yale_lock"
            | "two_n_intercom"
            | "controlbyweb_device"
            | "ttlock_lock"
            | "igloohome_lock"
            | "hubitat_lock"
            | "four_suites_door"
            | "dormakaba_oracode_door"
            | "tedee_lock"
            | "akiles_lock"
            | "noiseaware_activity_zone"
            | "minut_sensor"
            | "ecobee_thermostat"
            | "nest_thermostat"
            | "honeywell_resideo_thermostat"
            | "tado_thermostat"
            | "sensi_thermostat"
            | "smartthings_thermostat"
            | "ios_phone"
            | "android_phone";
        device_types?: (
            | "akuvox_lock"
            | "august_lock"
            | "brivo_access_point"
            | "butterflymx_panel"
            | "avigilon_alta_entry"
            | "doorking_lock"
            | "genie_door"
            | "igloo_lock"
            | "linear_lock"
            | "lockly_lock"
            | "kwikset_lock"
            | "nuki_lock"
            | "salto_lock"
            | "schlage_lock"
            | "seam_relay"
            | "smartthings_lock"
            | "wyze_lock"
            | "yale_lock"
            | "two_n_intercom"
            | "controlbyweb_device"
            | "ttlock_lock"
            | "igloohome_lock"
            | "hubitat_lock"
            | "four_suites_door"
            | "dormakaba_oracode_door"
            | "tedee_lock"
            | "akiles_lock"
            | "noiseaware_activity_zone"
            | "minut_sensor"
            | "ecobee_thermostat"
            | "nest_thermostat"
            | "honeywell_resideo_thermostat"
            | "tado_thermostat"
            | "sensi_thermostat"
            | "smartthings_thermostat"
            | "ios_phone"
            | "android_phone")[];
        exclude_if?: (
            | "can_remotely_unlock"
            | "can_remotely_lock"
            | "can_program_offline_access_codes"
            | "can_program_online_access_codes"
            | "can_hvac_heat"
            | "can_hvac_cool"
            | "can_hvac_heat_cool"
            | "can_turn_off_hvac"
            | "can_simulate_removal"
            | "can_simulate_connection"
            | "can_simulate_disconnection")[];
        include_if?: (
            | "can_remotely_unlock"
            | "can_remotely_lock"
            | "can_program_offline_access_codes"
            | "can_program_online_access_codes"
            | "can_hvac_heat"
            | "can_hvac_cool"
            | "can_hvac_heat_cool"
            | "can_turn_off_hvac"
            | "can_simulate_removal"
            | "can_simulate_connection"
            | "can_simulate_disconnection")[];
        limit?: number;
        manufacturer?:
            | "unknown"
            | "akuvox"
            | "august"
            | "avigilon_alta"
            | "brivo"
            | "butterflymx"
            | "schlage"
            | "smartthings"
            | "yale"
            | "genie"
            | "doorking"
            | "salto"
            | "lockly"
            | "ttlock"
            | "linear"
            | "noiseaware"
            | "nuki"
            | "igloo"
            | "kwikset"
            | "minut"
            | "controlbyweb"
            | "nest"
            | "igloohome"
            | "ecobee"
            | "hubitat"
            | "four_suites"
            | "dormakaba_oracode"
            | "wyze"
            | "tedee"
            | "honeywell_resideo"
            | "akiles"
            | "tado"
            | "sensi"
            | "kwikset2"
            | "keywe"
            | "philia"
            | "samsung"
            | "seam"
            | "two_n";
        page_cursor?: null | string;
        space_id?: string;
        unstable_location_id?: null | string;
        user_identifier_key?: string;
    }) => SeamHttpRequest<SetNonNullable<Required<{
        devices: {
            can_hvac_cool?: boolean;
            can_hvac_heat?: boolean;
            can_hvac_heat_cool?: boolean;
            can_program_offline_access_codes?: boolean;
            can_program_online_access_codes?: boolean;
            can_remotely_lock?: boolean;
            can_remotely_unlock?: boolean;
            can_simulate_connection?: boolean;
            can_simulate_disconnection?: boolean;
            can_simulate_removal?: boolean;
            can_turn_off_hvac?: boolean;
            capabilities_supported: (
                | "access_code"
                | "lock"
                | "phone"
                | "thermostat"
                | "noise_detection"
                | "battery")[];
            connected_account_id: string;
            created_at: string;
            device_id: string;
            device_type:
                | "akuvox_lock"
                | "august_lock"
                | "brivo_access_point"
                | "butterflymx_panel"
                | "avigilon_alta_entry"
                | "doorking_lock"
                | "genie_door"
                | "igloo_lock"
                | "linear_lock"
                | "lockly_lock"
                | "kwikset_lock"
                | "nuki_lock"
                | "salto_lock"
                | "schlage_lock"
                | "seam_relay"
                | "smartthings_lock"
                | "wyze_lock"
                | "yale_lock"
                | "two_n_intercom"
                | "controlbyweb_device"
                | "ttlock_lock"
                | "igloohome_lock"
                | "hubitat_lock"
                | "four_suites_door"
                | "dormakaba_oracode_door"
                | "tedee_lock"
                | "akiles_lock"
                | "noiseaware_activity_zone"
                | "minut_sensor"
                | "ecobee_thermostat"
                | "nest_thermostat"
                | "honeywell_resideo_thermostat"
                | "tado_thermostat"
                | "sensi_thermostat"
                | "smartthings_thermostat"
                | "ios_phone"
                | "android_phone";
            errors: (
                | {
                    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: "lockly_missing_wifi_bridge";
                    is_device_error: true;
                    message: string;
                }
                | {
                    created_at: string;
                    error_code: "invalid_credentials";
                    is_bridge_error?: (...) | (...) | (...);
                    is_connected_account_error?: (...) | (...) | (...);
                    message: string;
                }
                | {
                    created_at: string;
                    error_code: "bridge_disconnected";
                    is_bridge_error?: (...) | (...) | (...);
                    is_connected_account_error?: (...) | (...) | (...);
                    message: string;
                })[];
            is_managed: false;
            location: null | {
                location_name?: string;
                timezone?: string;
            };
            properties: {
                accessory_keypad?: {
                    battery?: (...) | (...);
                    is_connected: boolean;
                };
                battery?: {
                    level: number;
                    status:
                        | (...)
                        | (...)
                        | (...)
                        | (...);
                };
                battery_level?: number;
                image_alt_text?: string;
                image_url?: string;
                manufacturer?: string;
                model: {
                    accessory_keypad_supported?: boolean;
                    can_connect_accessory_keypad?: boolean;
                    display_name: string;
                    has_built_in_keypad?: boolean;
                    manufacturer_display_name: string;
                    offline_access_codes_supported?: boolean;
                    online_access_codes_supported?: boolean;
                };
                name: string;
                offline_access_codes_enabled?: boolean;
                online: boolean;
                online_access_codes_enabled?: boolean;
            };
            warnings: (
                | {
                    created_at: string;
                    message: string;
                    warning_code: "partial_backup_access_code_pool";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "many_active_backup_codes";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "wyze_device_missing_gateway";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "functional_offline_device";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "third_party_integration_detected";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "nest_thermostat_in_manual_eco_mode";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "ttlock_lock_gateway_unlocking_not_enabled";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "ttlock_weak_gateway_signal";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "power_saving_mode";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "temperature_threshold_exceeded";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "device_communication_degraded";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "scheduled_maintenance_window";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "device_has_flaky_connection";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "salto_ks_office_mode";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "salto_ks_privacy_mode";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "salto_ks_subscription_limit_almost_reached";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "unknown_issue_with_phone";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "lockly_time_zone_not_configured";
                })[];
            workspace_id: string;
        }[];
    }>, "devices">, "devices">)

      • (params?): SeamHttpRequest<SetNonNullable<Required<{
            devices: {
                can_hvac_cool?: boolean;
                can_hvac_heat?: boolean;
                can_hvac_heat_cool?: boolean;
                can_program_offline_access_codes?: boolean;
                can_program_online_access_codes?: boolean;
                can_remotely_lock?: boolean;
                can_remotely_unlock?: boolean;
                can_simulate_connection?: boolean;
                can_simulate_disconnection?: boolean;
                can_simulate_removal?: boolean;
                can_turn_off_hvac?: boolean;
                capabilities_supported: (
                    | "access_code"
                    | "lock"
                    | "phone"
                    | "thermostat"
                    | "noise_detection"
                    | "battery")[];
                connected_account_id: string;
                created_at: string;
                device_id: string;
                device_type:
                    | "akuvox_lock"
                    | "august_lock"
                    | "brivo_access_point"
                    | "butterflymx_panel"
                    | "avigilon_alta_entry"
                    | "doorking_lock"
                    | "genie_door"
                    | "igloo_lock"
                    | "linear_lock"
                    | "lockly_lock"
                    | "kwikset_lock"
                    | "nuki_lock"
                    | "salto_lock"
                    | "schlage_lock"
                    | "seam_relay"
                    | "smartthings_lock"
                    | "wyze_lock"
                    | "yale_lock"
                    | "two_n_intercom"
                    | "controlbyweb_device"
                    | "ttlock_lock"
                    | "igloohome_lock"
                    | "hubitat_lock"
                    | "four_suites_door"
                    | "dormakaba_oracode_door"
                    | "tedee_lock"
                    | "akiles_lock"
                    | "noiseaware_activity_zone"
                    | "minut_sensor"
                    | "ecobee_thermostat"
                    | "nest_thermostat"
                    | "honeywell_resideo_thermostat"
                    | "tado_thermostat"
                    | "sensi_thermostat"
                    | "smartthings_thermostat"
                    | "ios_phone"
                    | "android_phone";
                errors: (
                    | {
                        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: "lockly_missing_wifi_bridge";
                        is_device_error: true;
                        message: string;
                    }
                    | {
                        created_at: string;
                        error_code: "invalid_credentials";
                        is_bridge_error?: (...) | (...) | (...);
                        is_connected_account_error?: (...) | (...) | (...);
                        message: string;
                    }
                    | {
                        created_at: string;
                        error_code: "bridge_disconnected";
                        is_bridge_error?: (...) | (...) | (...);
                        is_connected_account_error?: (...) | (...) | (...);
                        message: string;
                    })[];
                is_managed: false;
                location: null | {
                    location_name?: string;
                    timezone?: string;
                };
                properties: {
                    accessory_keypad?: {
                        battery?: (...) | (...);
                        is_connected: boolean;
                    };
                    battery?: {
                        level: number;
                        status:
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                    };
                    battery_level?: number;
                    image_alt_text?: string;
                    image_url?: string;
                    manufacturer?: string;
                    model: {
                        accessory_keypad_supported?: boolean;
                        can_connect_accessory_keypad?: boolean;
                        display_name: string;
                        has_built_in_keypad?: boolean;
                        manufacturer_display_name: string;
                        offline_access_codes_supported?: boolean;
                        online_access_codes_supported?: boolean;
                    };
                    name: string;
                    offline_access_codes_enabled?: boolean;
                    online: boolean;
                    online_access_codes_enabled?: boolean;
                };
                warnings: (
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "partial_backup_access_code_pool";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "many_active_backup_codes";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "wyze_device_missing_gateway";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "functional_offline_device";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "third_party_integration_detected";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "nest_thermostat_in_manual_eco_mode";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "ttlock_lock_gateway_unlocking_not_enabled";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "ttlock_weak_gateway_signal";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "power_saving_mode";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "temperature_threshold_exceeded";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "device_communication_degraded";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "scheduled_maintenance_window";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "device_has_flaky_connection";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "salto_ks_office_mode";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "salto_ks_privacy_mode";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "salto_ks_subscription_limit_almost_reached";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "unknown_issue_with_phone";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "lockly_time_zone_not_configured";
                    })[];
                workspace_id: string;
            }[];
        }>, "devices">, "devices">
      • Parameters

        • Optionalparams: {
              connect_webview_id?: string;
              connected_account_id?: string;
              connected_account_ids?: string[];
              created_before?: Date;
              custom_metadata_has?: Record<string, string | boolean>;
              customer_ids?: string[];
              device_ids?: string[];
              device_type?:
                  | "akuvox_lock"
                  | "august_lock"
                  | "brivo_access_point"
                  | "butterflymx_panel"
                  | "avigilon_alta_entry"
                  | "doorking_lock"
                  | "genie_door"
                  | "igloo_lock"
                  | "linear_lock"
                  | "lockly_lock"
                  | "kwikset_lock"
                  | "nuki_lock"
                  | "salto_lock"
                  | "schlage_lock"
                  | "seam_relay"
                  | "smartthings_lock"
                  | "wyze_lock"
                  | "yale_lock"
                  | "two_n_intercom"
                  | "controlbyweb_device"
                  | "ttlock_lock"
                  | "igloohome_lock"
                  | "hubitat_lock"
                  | "four_suites_door"
                  | "dormakaba_oracode_door"
                  | "tedee_lock"
                  | "akiles_lock"
                  | "noiseaware_activity_zone"
                  | "minut_sensor"
                  | "ecobee_thermostat"
                  | "nest_thermostat"
                  | "honeywell_resideo_thermostat"
                  | "tado_thermostat"
                  | "sensi_thermostat"
                  | "smartthings_thermostat"
                  | "ios_phone"
                  | "android_phone";
              device_types?: (
                  | "akuvox_lock"
                  | "august_lock"
                  | "brivo_access_point"
                  | "butterflymx_panel"
                  | "avigilon_alta_entry"
                  | "doorking_lock"
                  | "genie_door"
                  | "igloo_lock"
                  | "linear_lock"
                  | "lockly_lock"
                  | "kwikset_lock"
                  | "nuki_lock"
                  | "salto_lock"
                  | "schlage_lock"
                  | "seam_relay"
                  | "smartthings_lock"
                  | "wyze_lock"
                  | "yale_lock"
                  | "two_n_intercom"
                  | "controlbyweb_device"
                  | "ttlock_lock"
                  | "igloohome_lock"
                  | "hubitat_lock"
                  | "four_suites_door"
                  | "dormakaba_oracode_door"
                  | "tedee_lock"
                  | "akiles_lock"
                  | "noiseaware_activity_zone"
                  | "minut_sensor"
                  | "ecobee_thermostat"
                  | "nest_thermostat"
                  | "honeywell_resideo_thermostat"
                  | "tado_thermostat"
                  | "sensi_thermostat"
                  | "smartthings_thermostat"
                  | "ios_phone"
                  | "android_phone")[];
              exclude_if?: (
                  | "can_remotely_unlock"
                  | "can_remotely_lock"
                  | "can_program_offline_access_codes"
                  | "can_program_online_access_codes"
                  | "can_hvac_heat"
                  | "can_hvac_cool"
                  | "can_hvac_heat_cool"
                  | "can_turn_off_hvac"
                  | "can_simulate_removal"
                  | "can_simulate_connection"
                  | "can_simulate_disconnection")[];
              include_if?: (
                  | "can_remotely_unlock"
                  | "can_remotely_lock"
                  | "can_program_offline_access_codes"
                  | "can_program_online_access_codes"
                  | "can_hvac_heat"
                  | "can_hvac_cool"
                  | "can_hvac_heat_cool"
                  | "can_turn_off_hvac"
                  | "can_simulate_removal"
                  | "can_simulate_connection"
                  | "can_simulate_disconnection")[];
              limit?: number;
              manufacturer?:
                  | "unknown"
                  | "akuvox"
                  | "august"
                  | "avigilon_alta"
                  | "brivo"
                  | "butterflymx"
                  | "schlage"
                  | "smartthings"
                  | "yale"
                  | "genie"
                  | "doorking"
                  | "salto"
                  | "lockly"
                  | "ttlock"
                  | "linear"
                  | "noiseaware"
                  | "nuki"
                  | "igloo"
                  | "kwikset"
                  | "minut"
                  | "controlbyweb"
                  | "nest"
                  | "igloohome"
                  | "ecobee"
                  | "hubitat"
                  | "four_suites"
                  | "dormakaba_oracode"
                  | "wyze"
                  | "tedee"
                  | "honeywell_resideo"
                  | "akiles"
                  | "tado"
                  | "sensi"
                  | "kwikset2"
                  | "keywe"
                  | "philia"
                  | "samsung"
                  | "seam"
                  | "two_n";
              page_cursor?: null | string;
              space_id?: string;
              unstable_location_id?: null | string;
              user_identifier_key?: string;
          }
          • Optionalconnect_webview_id?: string

            ID of the Connect Webview for which you want to list devices.

          • Optionalconnected_account_id?: string

            ID of the connected account for which you want to list devices.

          • Optionalconnected_account_ids?: string[]

            Array of IDs of the connected accounts for which you want to list devices.

          • Optionalcreated_before?: Date

            Timestamp by which to limit returned devices. Returns devices created before this timestamp.

          • Optionalcustom_metadata_has?: Record<string, string | boolean>

            Set of key:value custom metadata pairs for which you want to list devices.

          • Optionalcustomer_ids?: string[]
          • Optionaldevice_ids?: string[]

            Array of device IDs for which you want to list devices.

          • Optionaldevice_type?:
                | "akuvox_lock"
                | "august_lock"
                | "brivo_access_point"
                | "butterflymx_panel"
                | "avigilon_alta_entry"
                | "doorking_lock"
                | "genie_door"
                | "igloo_lock"
                | "linear_lock"
                | "lockly_lock"
                | "kwikset_lock"
                | "nuki_lock"
                | "salto_lock"
                | "schlage_lock"
                | "seam_relay"
                | "smartthings_lock"
                | "wyze_lock"
                | "yale_lock"
                | "two_n_intercom"
                | "controlbyweb_device"
                | "ttlock_lock"
                | "igloohome_lock"
                | "hubitat_lock"
                | "four_suites_door"
                | "dormakaba_oracode_door"
                | "tedee_lock"
                | "akiles_lock"
                | "noiseaware_activity_zone"
                | "minut_sensor"
                | "ecobee_thermostat"
                | "nest_thermostat"
                | "honeywell_resideo_thermostat"
                | "tado_thermostat"
                | "sensi_thermostat"
                | "smartthings_thermostat"
                | "ios_phone"
                | "android_phone"

            Device type for which you want to list devices.

          • Optionaldevice_types?: (
                | "akuvox_lock"
                | "august_lock"
                | "brivo_access_point"
                | "butterflymx_panel"
                | "avigilon_alta_entry"
                | "doorking_lock"
                | "genie_door"
                | "igloo_lock"
                | "linear_lock"
                | "lockly_lock"
                | "kwikset_lock"
                | "nuki_lock"
                | "salto_lock"
                | "schlage_lock"
                | "seam_relay"
                | "smartthings_lock"
                | "wyze_lock"
                | "yale_lock"
                | "two_n_intercom"
                | "controlbyweb_device"
                | "ttlock_lock"
                | "igloohome_lock"
                | "hubitat_lock"
                | "four_suites_door"
                | "dormakaba_oracode_door"
                | "tedee_lock"
                | "akiles_lock"
                | "noiseaware_activity_zone"
                | "minut_sensor"
                | "ecobee_thermostat"
                | "nest_thermostat"
                | "honeywell_resideo_thermostat"
                | "tado_thermostat"
                | "sensi_thermostat"
                | "smartthings_thermostat"
                | "ios_phone"
                | "android_phone")[]

            Array of device types for which you want to list devices.

          • Optionalexclude_if?: (
                | "can_remotely_unlock"
                | "can_remotely_lock"
                | "can_program_offline_access_codes"
                | "can_program_online_access_codes"
                | "can_hvac_heat"
                | "can_hvac_cool"
                | "can_hvac_heat_cool"
                | "can_turn_off_hvac"
                | "can_simulate_removal"
                | "can_simulate_connection"
                | "can_simulate_disconnection")[]
          • Optionalinclude_if?: (
                | "can_remotely_unlock"
                | "can_remotely_lock"
                | "can_program_offline_access_codes"
                | "can_program_online_access_codes"
                | "can_hvac_heat"
                | "can_hvac_cool"
                | "can_hvac_heat_cool"
                | "can_turn_off_hvac"
                | "can_simulate_removal"
                | "can_simulate_connection"
                | "can_simulate_disconnection")[]
          • Optionallimit?: number

            Numerical limit on the number of devices to return.

          • Optionalmanufacturer?:
                | "unknown"
                | "akuvox"
                | "august"
                | "avigilon_alta"
                | "brivo"
                | "butterflymx"
                | "schlage"
                | "smartthings"
                | "yale"
                | "genie"
                | "doorking"
                | "salto"
                | "lockly"
                | "ttlock"
                | "linear"
                | "noiseaware"
                | "nuki"
                | "igloo"
                | "kwikset"
                | "minut"
                | "controlbyweb"
                | "nest"
                | "igloohome"
                | "ecobee"
                | "hubitat"
                | "four_suites"
                | "dormakaba_oracode"
                | "wyze"
                | "tedee"
                | "honeywell_resideo"
                | "akiles"
                | "tado"
                | "sensi"
                | "kwikset2"
                | "keywe"
                | "philia"
                | "samsung"
                | "seam"
                | "two_n"

            Manufacturer for which you want to list devices.

          • Optionalpage_cursor?: null | string

            Identifies the specific page of results to return, obtained from the previous page's next_page_cursor.

          • Optionalspace_id?: string

            ID of the space for which you want to list devices.

          • Optionalunstable_location_id?: null | string

            Use space_id.

          • Optionaluser_identifier_key?: string

            Your own internal user ID for the user for which you want to list devices.

        Returns SeamHttpRequest<SetNonNullable<Required<{
            devices: {
                can_hvac_cool?: boolean;
                can_hvac_heat?: boolean;
                can_hvac_heat_cool?: boolean;
                can_program_offline_access_codes?: boolean;
                can_program_online_access_codes?: boolean;
                can_remotely_lock?: boolean;
                can_remotely_unlock?: boolean;
                can_simulate_connection?: boolean;
                can_simulate_disconnection?: boolean;
                can_simulate_removal?: boolean;
                can_turn_off_hvac?: boolean;
                capabilities_supported: (
                    | "access_code"
                    | "lock"
                    | "phone"
                    | "thermostat"
                    | "noise_detection"
                    | "battery")[];
                connected_account_id: string;
                created_at: string;
                device_id: string;
                device_type:
                    | "akuvox_lock"
                    | "august_lock"
                    | "brivo_access_point"
                    | "butterflymx_panel"
                    | "avigilon_alta_entry"
                    | "doorking_lock"
                    | "genie_door"
                    | "igloo_lock"
                    | "linear_lock"
                    | "lockly_lock"
                    | "kwikset_lock"
                    | "nuki_lock"
                    | "salto_lock"
                    | "schlage_lock"
                    | "seam_relay"
                    | "smartthings_lock"
                    | "wyze_lock"
                    | "yale_lock"
                    | "two_n_intercom"
                    | "controlbyweb_device"
                    | "ttlock_lock"
                    | "igloohome_lock"
                    | "hubitat_lock"
                    | "four_suites_door"
                    | "dormakaba_oracode_door"
                    | "tedee_lock"
                    | "akiles_lock"
                    | "noiseaware_activity_zone"
                    | "minut_sensor"
                    | "ecobee_thermostat"
                    | "nest_thermostat"
                    | "honeywell_resideo_thermostat"
                    | "tado_thermostat"
                    | "sensi_thermostat"
                    | "smartthings_thermostat"
                    | "ios_phone"
                    | "android_phone";
                errors: (
                    | {
                        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: "lockly_missing_wifi_bridge";
                        is_device_error: true;
                        message: string;
                    }
                    | {
                        created_at: string;
                        error_code: "invalid_credentials";
                        is_bridge_error?: (...) | (...) | (...);
                        is_connected_account_error?: (...) | (...) | (...);
                        message: string;
                    }
                    | {
                        created_at: string;
                        error_code: "bridge_disconnected";
                        is_bridge_error?: (...) | (...) | (...);
                        is_connected_account_error?: (...) | (...) | (...);
                        message: string;
                    })[];
                is_managed: false;
                location: null | {
                    location_name?: string;
                    timezone?: string;
                };
                properties: {
                    accessory_keypad?: {
                        battery?: (...) | (...);
                        is_connected: boolean;
                    };
                    battery?: {
                        level: number;
                        status:
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                    };
                    battery_level?: number;
                    image_alt_text?: string;
                    image_url?: string;
                    manufacturer?: string;
                    model: {
                        accessory_keypad_supported?: boolean;
                        can_connect_accessory_keypad?: boolean;
                        display_name: string;
                        has_built_in_keypad?: boolean;
                        manufacturer_display_name: string;
                        offline_access_codes_supported?: boolean;
                        online_access_codes_supported?: boolean;
                    };
                    name: string;
                    offline_access_codes_enabled?: boolean;
                    online: boolean;
                    online_access_codes_enabled?: boolean;
                };
                warnings: (
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "partial_backup_access_code_pool";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "many_active_backup_codes";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "wyze_device_missing_gateway";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "functional_offline_device";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "third_party_integration_detected";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "nest_thermostat_in_manual_eco_mode";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "ttlock_lock_gateway_unlocking_not_enabled";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "ttlock_weak_gateway_signal";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "power_saving_mode";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "temperature_threshold_exceeded";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "device_communication_degraded";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "scheduled_maintenance_window";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "device_has_flaky_connection";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "salto_ks_office_mode";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "salto_ks_privacy_mode";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "salto_ks_subscription_limit_almost_reached";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "unknown_issue_with_phone";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "lockly_time_zone_not_configured";
                    })[];
                workspace_id: string;
            }[];
        }>, "devices">, "devices">

  • get /devices/unmanaged/update(): ((body?: {
        device_id: string;
        is_managed: true;
    }) => SeamHttpRequest<void, undefined>)
  • Returns ((body?: {
        device_id: string;
        is_managed: true;
    }) => SeamHttpRequest<void, undefined>)

      • (body?): SeamHttpRequest<void, undefined>
      • Parameters

        • Optionalbody: {
              device_id: string;
              is_managed: true;
          }
          • device_id: string

            ID of the unmanaged device that you want to update.

          • is_managed: true

            Indicates whether the device is managed. Set this parameter to true to convert an unmanaged device to managed.

        Returns SeamHttpRequest<void, undefined>

  • get /devices/update(): ((body?: {
        custom_metadata?: Record<string, null | string | boolean>;
        device_id: string;
        is_managed?: boolean;
        name?: null | string;
        properties?: {
            name?: null | string;
        };
    }) => SeamHttpRequest<void, undefined>)
  • Returns ((body?: {
        custom_metadata?: Record<string, null | string | boolean>;
        device_id: string;
        is_managed?: boolean;
        name?: null | string;
        properties?: {
            name?: null | string;
        };
    }) => SeamHttpRequest<void, undefined>)

      • (body?): SeamHttpRequest<void, undefined>
      • Parameters

        • Optionalbody: {
              custom_metadata?: Record<string, null | string | boolean>;
              device_id: string;
              is_managed?: boolean;
              name?: null | string;
              properties?: {
                  name?: null | string;
              };
          }
          • Optionalcustom_metadata?: Record<string, null | string | boolean>

            Custom metadata that you want to associate with the device. Supports up to 50 JSON key:value pairs. Adding custom metadata to a device enables you to store custom information, like customer details or internal IDs from your application. Then, you can filter devices by the desired metadata.

          • device_id: string

            ID of the device that you want to update.

          • Optionalis_managed?: boolean

            Indicates whether the device is managed. To unmanage a device, set is_managed to false.

          • Optionalname?: null | string

            Name for the device.

          • Optionalproperties?: {
                name?: null | string;
            }
            • Optionalname?: null | string

              Name for the device.

        Returns SeamHttpRequest<void, undefined>

  • get /events/get(): ((params?: {
        device_id?: string;
        event_id?: string;
        event_type?: string;
    }) => SeamHttpRequest<SetNonNullable<Required<{
        event?:
            | {
                access_code_id: string;
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "access_code.created";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                access_code_id: string;
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "access_code.changed";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                access_code_id: string;
                code: string;
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "access_code.scheduled_on_device";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                access_code_id: string;
                code: string;
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "access_code.set_on_device";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                access_code_id: string;
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "access_code.removed_from_device";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                access_code_id: string;
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "access_code.delay_in_setting_on_device";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                access_code_id: string;
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "access_code.failed_to_set_on_device";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                access_code_id: string;
                code: null | string;
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "access_code.deleted";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                access_code_id: string;
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "access_code.delay_in_removing_from_device";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                access_code_id: string;
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "access_code.failed_to_remove_from_device";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                access_code_id: string;
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "access_code.modified_external_to_seam";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                access_code_id: string;
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "access_code.deleted_external_to_seam";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                access_code_id: string;
                backup_access_code_id: string;
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "access_code.backup_access_code_pulled";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                access_code_id: string;
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "access_code.unmanaged.converted_to_managed";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                access_code_id: string;
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "access_code.unmanaged.failed_to_convert_to_managed";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                access_code_id: string;
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "access_code.unmanaged.created";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                access_code_id: string;
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "access_code.unmanaged.removed";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                access_grant_id: string;
                created_at: string;
                event_id: string;
                event_type: "access_grant.created";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                access_grant_id: string;
                created_at: string;
                event_id: string;
                event_type: "access_grant.deleted";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                access_grant_id: string;
                created_at: string;
                event_id: string;
                event_type: "access_grant.access_granted_to_all_doors";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                access_grant_id: string;
                acs_entrance_id: string;
                created_at: string;
                event_id: string;
                event_type: "access_grant.access_granted_to_door";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                access_grant_id: string;
                acs_entrance_id: string;
                created_at: string;
                event_id: string;
                event_type: "access_grant.access_to_door_lost";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                access_method_id: string;
                created_at: string;
                event_id: string;
                event_type: "access_method.issued";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                access_method_id: string;
                created_at: string;
                event_id: string;
                event_type: "access_method.revoked";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                access_method_id: string;
                created_at: string;
                event_id: string;
                event_type: "access_method.card_encoding_required";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                access_method_id: string;
                created_at: string;
                event_id: string;
                event_type: "access_method.deleted";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                access_method_id: string;
                created_at: string;
                event_id: string;
                event_type: "access_method.reissued";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                acs_system_id: string;
                connected_account_id?: string;
                created_at: string;
                event_id: string;
                event_type: "acs_system.connected";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                acs_system_id: string;
                connected_account_id?: string;
                created_at: string;
                event_id: string;
                event_type: "acs_system.added";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                acs_system_id: string;
                connected_account_id?: string;
                created_at: string;
                event_id: string;
                event_type: "acs_system.disconnected";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                acs_credential_id: string;
                acs_system_id: string;
                connected_account_id?: string;
                created_at: string;
                event_id: string;
                event_type: "acs_credential.deleted";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                acs_credential_id: string;
                acs_system_id: string;
                connected_account_id?: string;
                created_at: string;
                event_id: string;
                event_type: "acs_credential.issued";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                acs_credential_id: string;
                acs_system_id: string;
                connected_account_id?: string;
                created_at: string;
                event_id: string;
                event_type: "acs_credential.reissued";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                acs_credential_id: string;
                acs_system_id: string;
                connected_account_id?: string;
                created_at: string;
                event_id: string;
                event_type: "acs_credential.invalidated";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                acs_system_id: string;
                acs_user_id: string;
                connected_account_id?: string;
                created_at: string;
                event_id: string;
                event_type: "acs_user.created";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                acs_system_id: string;
                acs_user_id: string;
                connected_account_id?: string;
                created_at: string;
                event_id: string;
                event_type: "acs_user.deleted";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                acs_encoder_id: string;
                acs_system_id: string;
                connected_account_id?: string;
                created_at: string;
                event_id: string;
                event_type: "acs_encoder.added";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                acs_encoder_id: string;
                acs_system_id: string;
                connected_account_id?: string;
                created_at: string;
                event_id: string;
                event_type: "acs_encoder.removed";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                acs_access_group_id: string;
                acs_system_id: string;
                connected_account_id?: string;
                created_at: string;
                event_id: string;
                event_type: "acs_access_group.deleted";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                acs_entrance_id: string;
                acs_system_id: string;
                connected_account_id?: string;
                created_at: string;
                event_id: string;
                event_type: "acs_entrance.added";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                acs_entrance_id: string;
                acs_system_id: string;
                connected_account_id?: string;
                created_at: string;
                event_id: string;
                event_type: "acs_entrance.removed";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                client_session_id: string;
                created_at: string;
                event_id: string;
                event_type: "client_session.deleted";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                connect_webview_id: string;
                connected_account_id: string;
                created_at: string;
                event_id: string;
                event_type: "connected_account.connected";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                connect_webview_id: string;
                connected_account_id: string;
                created_at: string;
                event_id: string;
                event_type: "connected_account.created";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                connect_webview_id: string;
                connected_account_id: string;
                created_at: string;
                event_id: string;
                event_type: "connected_account.successful_login";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                connected_account_id: string;
                created_at: string;
                event_id: string;
                event_type: "connected_account.disconnected";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                connected_account_id: string;
                created_at: string;
                event_id: string;
                event_type: "connected_account.completed_first_sync";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                connected_account_id: string;
                created_at: string;
                event_id: string;
                event_type: "connected_account.deleted";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                connected_account_id: string;
                created_at: string;
                event_id: string;
                event_type: "connected_account.completed_first_sync_after_reconnection";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                action_attempt_id: string;
                action_type: string;
                created_at: string;
                event_id: string;
                event_type: "action_attempt.lock_door.succeeded";
                occurred_at: string;
                status: string;
                workspace_id: string;
            }
            | {
                action_attempt_id: string;
                action_type: string;
                created_at: string;
                event_id: string;
                event_type: "action_attempt.lock_door.failed";
                occurred_at: string;
                status: string;
                workspace_id: string;
            }
            | {
                action_attempt_id: string;
                action_type: string;
                created_at: string;
                event_id: string;
                event_type: "action_attempt.unlock_door.succeeded";
                occurred_at: string;
                status: string;
                workspace_id: string;
            }
            | {
                action_attempt_id: string;
                action_type: string;
                created_at: string;
                event_id: string;
                event_type: "action_attempt.unlock_door.failed";
                occurred_at: string;
                status: string;
                workspace_id: string;
            }
            | {
                connect_webview_id: string;
                connected_account_id: string;
                created_at: string;
                event_id: string;
                event_type: "connect_webview.login_succeeded";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                connect_webview_id: string;
                created_at: string;
                event_id: string;
                event_type: "connect_webview.login_failed";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "device.connected";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "device.added";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "device.converted_to_unmanaged";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "device.unmanaged.converted_to_managed";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "device.unmanaged.connected";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                connected_account_id: string;
                created_at: string;
                device_id: string;
                error_code: "account_disconnected" | "hub_disconnected" | "device_disconnected";
                event_id: string;
                event_type: "device.disconnected";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                connected_account_id: string;
                created_at: string;
                device_id: string;
                error_code: "account_disconnected" | "hub_disconnected" | "device_disconnected";
                event_id: string;
                event_type: "device.unmanaged.disconnected";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "device.tampered";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                battery_level: number;
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "device.low_battery";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                battery_level: number;
                battery_status:
                    | "critical"
                    | "low"
                    | "good"
                    | "full";
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "device.battery_status_changed";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "device.removed";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "device.deleted";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "device.third_party_integration_detected";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "device.third_party_integration_no_longer_detected";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "device.salto.privacy_mode_activated";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "device.salto.privacy_mode_deactivated";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "device.connection_became_flaky";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "device.connection_stabilized";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "device.error.subscription_required";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "device.error.subscription_required.resolved";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "device.accessory_keypad_connected";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "device.accessory_keypad_disconnected";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "noise_sensor.noise_threshold_triggered";
                minut_metadata?: Record<string, unknown>;
                noise_level_decibels?: number;
                noise_level_nrs?: number;
                noise_threshold_id?: string;
                noise_threshold_name?: string;
                noiseaware_metadata?: Record<string, unknown>;
                occurred_at: string;
                workspace_id: string;
            }
            | {
                access_code_id?: string;
                action_attempt_id?: string;
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "lock.locked";
                method:
                    | "unknown"
                    | "keycode"
                    | "manual"
                    | "automatic"
                    | "seamapi";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                access_code_id?: string;
                action_attempt_id?: string;
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "lock.unlocked";
                method:
                    | "unknown"
                    | "keycode"
                    | "manual"
                    | "automatic"
                    | "seamapi";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                access_code_id?: string;
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "lock.access_denied";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                climate_preset_key: string;
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "thermostat.climate_preset_activated";
                is_fallback_climate_preset: boolean;
                occurred_at: string;
                thermostat_schedule_id: null | string;
                workspace_id: string;
            }
            | {
                connected_account_id: string;
                cooling_set_point_celsius?: number;
                cooling_set_point_fahrenheit?: number;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "thermostat.manually_adjusted";
                fan_mode_setting?: "auto" | "on" | "circulate";
                heating_set_point_celsius?: number;
                heating_set_point_fahrenheit?: number;
                hvac_mode_setting?:
                    | "cool"
                    | "heat"
                    | "off"
                    | "heat_cool";
                method: "seam" | "external";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "thermostat.temperature_threshold_exceeded";
                lower_limit_celsius: null | number;
                lower_limit_fahrenheit: null | number;
                occurred_at: string;
                temperature_celsius: number;
                temperature_fahrenheit: number;
                upper_limit_celsius: null | number;
                upper_limit_fahrenheit: null | number;
                workspace_id: string;
            }
            | {
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "thermostat.temperature_threshold_no_longer_exceeded";
                lower_limit_celsius: null | number;
                lower_limit_fahrenheit: null | number;
                occurred_at: string;
                temperature_celsius: number;
                temperature_fahrenheit: number;
                upper_limit_celsius: null | number;
                upper_limit_fahrenheit: null | number;
                workspace_id: string;
            }
            | {
                connected_account_id: string;
                created_at: string;
                desired_temperature_celsius?: number;
                desired_temperature_fahrenheit?: number;
                device_id: string;
                event_id: string;
                event_type: "thermostat.temperature_reached_set_point";
                occurred_at: string;
                temperature_celsius: number;
                temperature_fahrenheit: number;
                workspace_id: string;
            }
            | {
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "thermostat.temperature_changed";
                occurred_at: string;
                temperature_celsius: number;
                temperature_fahrenheit: number;
                workspace_id: string;
            }
            | {
                connected_account_id: string;
                created_at: string;
                device_id: string;
                device_name: string;
                event_id: string;
                event_type: "device.name_changed";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                created_at: string;
                enrollment_automation_id: string;
                event_id: string;
                event_type: "enrollment_automation.deleted";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "phone.deactivated";
                occurred_at: string;
                workspace_id: string;
            };
        message?: string;
    }>, "message" | "event">, "event">)
  • Returns ((params?: {
        device_id?: string;
        event_id?: string;
        event_type?: string;
    }) => SeamHttpRequest<SetNonNullable<Required<{
        event?:
            | {
                access_code_id: string;
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "access_code.created";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                access_code_id: string;
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "access_code.changed";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                access_code_id: string;
                code: string;
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "access_code.scheduled_on_device";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                access_code_id: string;
                code: string;
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "access_code.set_on_device";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                access_code_id: string;
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "access_code.removed_from_device";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                access_code_id: string;
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "access_code.delay_in_setting_on_device";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                access_code_id: string;
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "access_code.failed_to_set_on_device";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                access_code_id: string;
                code: null | string;
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "access_code.deleted";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                access_code_id: string;
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "access_code.delay_in_removing_from_device";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                access_code_id: string;
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "access_code.failed_to_remove_from_device";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                access_code_id: string;
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "access_code.modified_external_to_seam";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                access_code_id: string;
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "access_code.deleted_external_to_seam";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                access_code_id: string;
                backup_access_code_id: string;
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "access_code.backup_access_code_pulled";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                access_code_id: string;
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "access_code.unmanaged.converted_to_managed";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                access_code_id: string;
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "access_code.unmanaged.failed_to_convert_to_managed";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                access_code_id: string;
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "access_code.unmanaged.created";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                access_code_id: string;
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "access_code.unmanaged.removed";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                access_grant_id: string;
                created_at: string;
                event_id: string;
                event_type: "access_grant.created";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                access_grant_id: string;
                created_at: string;
                event_id: string;
                event_type: "access_grant.deleted";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                access_grant_id: string;
                created_at: string;
                event_id: string;
                event_type: "access_grant.access_granted_to_all_doors";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                access_grant_id: string;
                acs_entrance_id: string;
                created_at: string;
                event_id: string;
                event_type: "access_grant.access_granted_to_door";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                access_grant_id: string;
                acs_entrance_id: string;
                created_at: string;
                event_id: string;
                event_type: "access_grant.access_to_door_lost";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                access_method_id: string;
                created_at: string;
                event_id: string;
                event_type: "access_method.issued";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                access_method_id: string;
                created_at: string;
                event_id: string;
                event_type: "access_method.revoked";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                access_method_id: string;
                created_at: string;
                event_id: string;
                event_type: "access_method.card_encoding_required";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                access_method_id: string;
                created_at: string;
                event_id: string;
                event_type: "access_method.deleted";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                access_method_id: string;
                created_at: string;
                event_id: string;
                event_type: "access_method.reissued";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                acs_system_id: string;
                connected_account_id?: string;
                created_at: string;
                event_id: string;
                event_type: "acs_system.connected";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                acs_system_id: string;
                connected_account_id?: string;
                created_at: string;
                event_id: string;
                event_type: "acs_system.added";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                acs_system_id: string;
                connected_account_id?: string;
                created_at: string;
                event_id: string;
                event_type: "acs_system.disconnected";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                acs_credential_id: string;
                acs_system_id: string;
                connected_account_id?: string;
                created_at: string;
                event_id: string;
                event_type: "acs_credential.deleted";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                acs_credential_id: string;
                acs_system_id: string;
                connected_account_id?: string;
                created_at: string;
                event_id: string;
                event_type: "acs_credential.issued";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                acs_credential_id: string;
                acs_system_id: string;
                connected_account_id?: string;
                created_at: string;
                event_id: string;
                event_type: "acs_credential.reissued";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                acs_credential_id: string;
                acs_system_id: string;
                connected_account_id?: string;
                created_at: string;
                event_id: string;
                event_type: "acs_credential.invalidated";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                acs_system_id: string;
                acs_user_id: string;
                connected_account_id?: string;
                created_at: string;
                event_id: string;
                event_type: "acs_user.created";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                acs_system_id: string;
                acs_user_id: string;
                connected_account_id?: string;
                created_at: string;
                event_id: string;
                event_type: "acs_user.deleted";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                acs_encoder_id: string;
                acs_system_id: string;
                connected_account_id?: string;
                created_at: string;
                event_id: string;
                event_type: "acs_encoder.added";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                acs_encoder_id: string;
                acs_system_id: string;
                connected_account_id?: string;
                created_at: string;
                event_id: string;
                event_type: "acs_encoder.removed";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                acs_access_group_id: string;
                acs_system_id: string;
                connected_account_id?: string;
                created_at: string;
                event_id: string;
                event_type: "acs_access_group.deleted";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                acs_entrance_id: string;
                acs_system_id: string;
                connected_account_id?: string;
                created_at: string;
                event_id: string;
                event_type: "acs_entrance.added";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                acs_entrance_id: string;
                acs_system_id: string;
                connected_account_id?: string;
                created_at: string;
                event_id: string;
                event_type: "acs_entrance.removed";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                client_session_id: string;
                created_at: string;
                event_id: string;
                event_type: "client_session.deleted";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                connect_webview_id: string;
                connected_account_id: string;
                created_at: string;
                event_id: string;
                event_type: "connected_account.connected";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                connect_webview_id: string;
                connected_account_id: string;
                created_at: string;
                event_id: string;
                event_type: "connected_account.created";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                connect_webview_id: string;
                connected_account_id: string;
                created_at: string;
                event_id: string;
                event_type: "connected_account.successful_login";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                connected_account_id: string;
                created_at: string;
                event_id: string;
                event_type: "connected_account.disconnected";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                connected_account_id: string;
                created_at: string;
                event_id: string;
                event_type: "connected_account.completed_first_sync";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                connected_account_id: string;
                created_at: string;
                event_id: string;
                event_type: "connected_account.deleted";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                connected_account_id: string;
                created_at: string;
                event_id: string;
                event_type: "connected_account.completed_first_sync_after_reconnection";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                action_attempt_id: string;
                action_type: string;
                created_at: string;
                event_id: string;
                event_type: "action_attempt.lock_door.succeeded";
                occurred_at: string;
                status: string;
                workspace_id: string;
            }
            | {
                action_attempt_id: string;
                action_type: string;
                created_at: string;
                event_id: string;
                event_type: "action_attempt.lock_door.failed";
                occurred_at: string;
                status: string;
                workspace_id: string;
            }
            | {
                action_attempt_id: string;
                action_type: string;
                created_at: string;
                event_id: string;
                event_type: "action_attempt.unlock_door.succeeded";
                occurred_at: string;
                status: string;
                workspace_id: string;
            }
            | {
                action_attempt_id: string;
                action_type: string;
                created_at: string;
                event_id: string;
                event_type: "action_attempt.unlock_door.failed";
                occurred_at: string;
                status: string;
                workspace_id: string;
            }
            | {
                connect_webview_id: string;
                connected_account_id: string;
                created_at: string;
                event_id: string;
                event_type: "connect_webview.login_succeeded";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                connect_webview_id: string;
                created_at: string;
                event_id: string;
                event_type: "connect_webview.login_failed";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "device.connected";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "device.added";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "device.converted_to_unmanaged";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "device.unmanaged.converted_to_managed";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "device.unmanaged.connected";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                connected_account_id: string;
                created_at: string;
                device_id: string;
                error_code: "account_disconnected" | "hub_disconnected" | "device_disconnected";
                event_id: string;
                event_type: "device.disconnected";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                connected_account_id: string;
                created_at: string;
                device_id: string;
                error_code: "account_disconnected" | "hub_disconnected" | "device_disconnected";
                event_id: string;
                event_type: "device.unmanaged.disconnected";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "device.tampered";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                battery_level: number;
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "device.low_battery";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                battery_level: number;
                battery_status:
                    | "critical"
                    | "low"
                    | "good"
                    | "full";
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "device.battery_status_changed";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "device.removed";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "device.deleted";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "device.third_party_integration_detected";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "device.third_party_integration_no_longer_detected";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "device.salto.privacy_mode_activated";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "device.salto.privacy_mode_deactivated";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "device.connection_became_flaky";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "device.connection_stabilized";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "device.error.subscription_required";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "device.error.subscription_required.resolved";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "device.accessory_keypad_connected";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "device.accessory_keypad_disconnected";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "noise_sensor.noise_threshold_triggered";
                minut_metadata?: Record<string, unknown>;
                noise_level_decibels?: number;
                noise_level_nrs?: number;
                noise_threshold_id?: string;
                noise_threshold_name?: string;
                noiseaware_metadata?: Record<string, unknown>;
                occurred_at: string;
                workspace_id: string;
            }
            | {
                access_code_id?: string;
                action_attempt_id?: string;
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "lock.locked";
                method:
                    | "unknown"
                    | "keycode"
                    | "manual"
                    | "automatic"
                    | "seamapi";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                access_code_id?: string;
                action_attempt_id?: string;
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "lock.unlocked";
                method:
                    | "unknown"
                    | "keycode"
                    | "manual"
                    | "automatic"
                    | "seamapi";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                access_code_id?: string;
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "lock.access_denied";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                climate_preset_key: string;
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "thermostat.climate_preset_activated";
                is_fallback_climate_preset: boolean;
                occurred_at: string;
                thermostat_schedule_id: null | string;
                workspace_id: string;
            }
            | {
                connected_account_id: string;
                cooling_set_point_celsius?: number;
                cooling_set_point_fahrenheit?: number;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "thermostat.manually_adjusted";
                fan_mode_setting?: "auto" | "on" | "circulate";
                heating_set_point_celsius?: number;
                heating_set_point_fahrenheit?: number;
                hvac_mode_setting?:
                    | "cool"
                    | "heat"
                    | "off"
                    | "heat_cool";
                method: "seam" | "external";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "thermostat.temperature_threshold_exceeded";
                lower_limit_celsius: null | number;
                lower_limit_fahrenheit: null | number;
                occurred_at: string;
                temperature_celsius: number;
                temperature_fahrenheit: number;
                upper_limit_celsius: null | number;
                upper_limit_fahrenheit: null | number;
                workspace_id: string;
            }
            | {
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "thermostat.temperature_threshold_no_longer_exceeded";
                lower_limit_celsius: null | number;
                lower_limit_fahrenheit: null | number;
                occurred_at: string;
                temperature_celsius: number;
                temperature_fahrenheit: number;
                upper_limit_celsius: null | number;
                upper_limit_fahrenheit: null | number;
                workspace_id: string;
            }
            | {
                connected_account_id: string;
                created_at: string;
                desired_temperature_celsius?: number;
                desired_temperature_fahrenheit?: number;
                device_id: string;
                event_id: string;
                event_type: "thermostat.temperature_reached_set_point";
                occurred_at: string;
                temperature_celsius: number;
                temperature_fahrenheit: number;
                workspace_id: string;
            }
            | {
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "thermostat.temperature_changed";
                occurred_at: string;
                temperature_celsius: number;
                temperature_fahrenheit: number;
                workspace_id: string;
            }
            | {
                connected_account_id: string;
                created_at: string;
                device_id: string;
                device_name: string;
                event_id: string;
                event_type: "device.name_changed";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                created_at: string;
                enrollment_automation_id: string;
                event_id: string;
                event_type: "enrollment_automation.deleted";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "phone.deactivated";
                occurred_at: string;
                workspace_id: string;
            };
        message?: string;
    }>, "message" | "event">, "event">)

      • (params?): SeamHttpRequest<SetNonNullable<Required<{
            event?:
                | {
                    access_code_id: string;
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "access_code.created";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    access_code_id: string;
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "access_code.changed";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    access_code_id: string;
                    code: string;
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "access_code.scheduled_on_device";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    access_code_id: string;
                    code: string;
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "access_code.set_on_device";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    access_code_id: string;
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "access_code.removed_from_device";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    access_code_id: string;
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "access_code.delay_in_setting_on_device";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    access_code_id: string;
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "access_code.failed_to_set_on_device";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    access_code_id: string;
                    code: null | string;
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "access_code.deleted";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    access_code_id: string;
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "access_code.delay_in_removing_from_device";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    access_code_id: string;
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "access_code.failed_to_remove_from_device";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    access_code_id: string;
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "access_code.modified_external_to_seam";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    access_code_id: string;
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "access_code.deleted_external_to_seam";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    access_code_id: string;
                    backup_access_code_id: string;
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "access_code.backup_access_code_pulled";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    access_code_id: string;
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "access_code.unmanaged.converted_to_managed";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    access_code_id: string;
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "access_code.unmanaged.failed_to_convert_to_managed";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    access_code_id: string;
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "access_code.unmanaged.created";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    access_code_id: string;
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "access_code.unmanaged.removed";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    access_grant_id: string;
                    created_at: string;
                    event_id: string;
                    event_type: "access_grant.created";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    access_grant_id: string;
                    created_at: string;
                    event_id: string;
                    event_type: "access_grant.deleted";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    access_grant_id: string;
                    created_at: string;
                    event_id: string;
                    event_type: "access_grant.access_granted_to_all_doors";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    access_grant_id: string;
                    acs_entrance_id: string;
                    created_at: string;
                    event_id: string;
                    event_type: "access_grant.access_granted_to_door";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    access_grant_id: string;
                    acs_entrance_id: string;
                    created_at: string;
                    event_id: string;
                    event_type: "access_grant.access_to_door_lost";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    access_method_id: string;
                    created_at: string;
                    event_id: string;
                    event_type: "access_method.issued";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    access_method_id: string;
                    created_at: string;
                    event_id: string;
                    event_type: "access_method.revoked";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    access_method_id: string;
                    created_at: string;
                    event_id: string;
                    event_type: "access_method.card_encoding_required";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    access_method_id: string;
                    created_at: string;
                    event_id: string;
                    event_type: "access_method.deleted";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    access_method_id: string;
                    created_at: string;
                    event_id: string;
                    event_type: "access_method.reissued";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    acs_system_id: string;
                    connected_account_id?: string;
                    created_at: string;
                    event_id: string;
                    event_type: "acs_system.connected";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    acs_system_id: string;
                    connected_account_id?: string;
                    created_at: string;
                    event_id: string;
                    event_type: "acs_system.added";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    acs_system_id: string;
                    connected_account_id?: string;
                    created_at: string;
                    event_id: string;
                    event_type: "acs_system.disconnected";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    acs_credential_id: string;
                    acs_system_id: string;
                    connected_account_id?: string;
                    created_at: string;
                    event_id: string;
                    event_type: "acs_credential.deleted";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    acs_credential_id: string;
                    acs_system_id: string;
                    connected_account_id?: string;
                    created_at: string;
                    event_id: string;
                    event_type: "acs_credential.issued";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    acs_credential_id: string;
                    acs_system_id: string;
                    connected_account_id?: string;
                    created_at: string;
                    event_id: string;
                    event_type: "acs_credential.reissued";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    acs_credential_id: string;
                    acs_system_id: string;
                    connected_account_id?: string;
                    created_at: string;
                    event_id: string;
                    event_type: "acs_credential.invalidated";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    acs_system_id: string;
                    acs_user_id: string;
                    connected_account_id?: string;
                    created_at: string;
                    event_id: string;
                    event_type: "acs_user.created";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    acs_system_id: string;
                    acs_user_id: string;
                    connected_account_id?: string;
                    created_at: string;
                    event_id: string;
                    event_type: "acs_user.deleted";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    acs_encoder_id: string;
                    acs_system_id: string;
                    connected_account_id?: string;
                    created_at: string;
                    event_id: string;
                    event_type: "acs_encoder.added";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    acs_encoder_id: string;
                    acs_system_id: string;
                    connected_account_id?: string;
                    created_at: string;
                    event_id: string;
                    event_type: "acs_encoder.removed";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    acs_access_group_id: string;
                    acs_system_id: string;
                    connected_account_id?: string;
                    created_at: string;
                    event_id: string;
                    event_type: "acs_access_group.deleted";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    acs_entrance_id: string;
                    acs_system_id: string;
                    connected_account_id?: string;
                    created_at: string;
                    event_id: string;
                    event_type: "acs_entrance.added";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    acs_entrance_id: string;
                    acs_system_id: string;
                    connected_account_id?: string;
                    created_at: string;
                    event_id: string;
                    event_type: "acs_entrance.removed";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    client_session_id: string;
                    created_at: string;
                    event_id: string;
                    event_type: "client_session.deleted";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    connect_webview_id: string;
                    connected_account_id: string;
                    created_at: string;
                    event_id: string;
                    event_type: "connected_account.connected";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    connect_webview_id: string;
                    connected_account_id: string;
                    created_at: string;
                    event_id: string;
                    event_type: "connected_account.created";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    connect_webview_id: string;
                    connected_account_id: string;
                    created_at: string;
                    event_id: string;
                    event_type: "connected_account.successful_login";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    connected_account_id: string;
                    created_at: string;
                    event_id: string;
                    event_type: "connected_account.disconnected";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    connected_account_id: string;
                    created_at: string;
                    event_id: string;
                    event_type: "connected_account.completed_first_sync";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    connected_account_id: string;
                    created_at: string;
                    event_id: string;
                    event_type: "connected_account.deleted";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    connected_account_id: string;
                    created_at: string;
                    event_id: string;
                    event_type: "connected_account.completed_first_sync_after_reconnection";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    action_attempt_id: string;
                    action_type: string;
                    created_at: string;
                    event_id: string;
                    event_type: "action_attempt.lock_door.succeeded";
                    occurred_at: string;
                    status: string;
                    workspace_id: string;
                }
                | {
                    action_attempt_id: string;
                    action_type: string;
                    created_at: string;
                    event_id: string;
                    event_type: "action_attempt.lock_door.failed";
                    occurred_at: string;
                    status: string;
                    workspace_id: string;
                }
                | {
                    action_attempt_id: string;
                    action_type: string;
                    created_at: string;
                    event_id: string;
                    event_type: "action_attempt.unlock_door.succeeded";
                    occurred_at: string;
                    status: string;
                    workspace_id: string;
                }
                | {
                    action_attempt_id: string;
                    action_type: string;
                    created_at: string;
                    event_id: string;
                    event_type: "action_attempt.unlock_door.failed";
                    occurred_at: string;
                    status: string;
                    workspace_id: string;
                }
                | {
                    connect_webview_id: string;
                    connected_account_id: string;
                    created_at: string;
                    event_id: string;
                    event_type: "connect_webview.login_succeeded";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    connect_webview_id: string;
                    created_at: string;
                    event_id: string;
                    event_type: "connect_webview.login_failed";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "device.connected";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "device.added";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "device.converted_to_unmanaged";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "device.unmanaged.converted_to_managed";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "device.unmanaged.connected";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    error_code: "account_disconnected" | "hub_disconnected" | "device_disconnected";
                    event_id: string;
                    event_type: "device.disconnected";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    error_code: "account_disconnected" | "hub_disconnected" | "device_disconnected";
                    event_id: string;
                    event_type: "device.unmanaged.disconnected";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "device.tampered";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    battery_level: number;
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "device.low_battery";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    battery_level: number;
                    battery_status:
                        | "critical"
                        | "low"
                        | "good"
                        | "full";
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "device.battery_status_changed";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "device.removed";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "device.deleted";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "device.third_party_integration_detected";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "device.third_party_integration_no_longer_detected";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "device.salto.privacy_mode_activated";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "device.salto.privacy_mode_deactivated";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "device.connection_became_flaky";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "device.connection_stabilized";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "device.error.subscription_required";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "device.error.subscription_required.resolved";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "device.accessory_keypad_connected";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "device.accessory_keypad_disconnected";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "noise_sensor.noise_threshold_triggered";
                    minut_metadata?: Record<string, unknown>;
                    noise_level_decibels?: number;
                    noise_level_nrs?: number;
                    noise_threshold_id?: string;
                    noise_threshold_name?: string;
                    noiseaware_metadata?: Record<string, unknown>;
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    access_code_id?: string;
                    action_attempt_id?: string;
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "lock.locked";
                    method:
                        | "unknown"
                        | "keycode"
                        | "manual"
                        | "automatic"
                        | "seamapi";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    access_code_id?: string;
                    action_attempt_id?: string;
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "lock.unlocked";
                    method:
                        | "unknown"
                        | "keycode"
                        | "manual"
                        | "automatic"
                        | "seamapi";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    access_code_id?: string;
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "lock.access_denied";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    climate_preset_key: string;
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "thermostat.climate_preset_activated";
                    is_fallback_climate_preset: boolean;
                    occurred_at: string;
                    thermostat_schedule_id: null | string;
                    workspace_id: string;
                }
                | {
                    connected_account_id: string;
                    cooling_set_point_celsius?: number;
                    cooling_set_point_fahrenheit?: number;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "thermostat.manually_adjusted";
                    fan_mode_setting?: "auto" | "on" | "circulate";
                    heating_set_point_celsius?: number;
                    heating_set_point_fahrenheit?: number;
                    hvac_mode_setting?:
                        | "cool"
                        | "heat"
                        | "off"
                        | "heat_cool";
                    method: "seam" | "external";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "thermostat.temperature_threshold_exceeded";
                    lower_limit_celsius: null | number;
                    lower_limit_fahrenheit: null | number;
                    occurred_at: string;
                    temperature_celsius: number;
                    temperature_fahrenheit: number;
                    upper_limit_celsius: null | number;
                    upper_limit_fahrenheit: null | number;
                    workspace_id: string;
                }
                | {
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "thermostat.temperature_threshold_no_longer_exceeded";
                    lower_limit_celsius: null | number;
                    lower_limit_fahrenheit: null | number;
                    occurred_at: string;
                    temperature_celsius: number;
                    temperature_fahrenheit: number;
                    upper_limit_celsius: null | number;
                    upper_limit_fahrenheit: null | number;
                    workspace_id: string;
                }
                | {
                    connected_account_id: string;
                    created_at: string;
                    desired_temperature_celsius?: number;
                    desired_temperature_fahrenheit?: number;
                    device_id: string;
                    event_id: string;
                    event_type: "thermostat.temperature_reached_set_point";
                    occurred_at: string;
                    temperature_celsius: number;
                    temperature_fahrenheit: number;
                    workspace_id: string;
                }
                | {
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "thermostat.temperature_changed";
                    occurred_at: string;
                    temperature_celsius: number;
                    temperature_fahrenheit: number;
                    workspace_id: string;
                }
                | {
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    device_name: string;
                    event_id: string;
                    event_type: "device.name_changed";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    created_at: string;
                    enrollment_automation_id: string;
                    event_id: string;
                    event_type: "enrollment_automation.deleted";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "phone.deactivated";
                    occurred_at: string;
                    workspace_id: string;
                };
            message?: string;
        }>, "message" | "event">, "event">
      • Parameters

        • Optionalparams: {
              device_id?: string;
              event_id?: string;
              event_type?: string;
          }
          • Optionaldevice_id?: string

            Unique identifier for the device that triggered the event that you want to get.

          • Optionalevent_id?: string

            Unique identifier for the event that you want to get.

          • Optionalevent_type?: string

            Type of the event that you want to get.

        Returns SeamHttpRequest<SetNonNullable<Required<{
            event?:
                | {
                    access_code_id: string;
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "access_code.created";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    access_code_id: string;
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "access_code.changed";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    access_code_id: string;
                    code: string;
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "access_code.scheduled_on_device";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    access_code_id: string;
                    code: string;
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "access_code.set_on_device";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    access_code_id: string;
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "access_code.removed_from_device";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    access_code_id: string;
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "access_code.delay_in_setting_on_device";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    access_code_id: string;
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "access_code.failed_to_set_on_device";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    access_code_id: string;
                    code: null | string;
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "access_code.deleted";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    access_code_id: string;
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "access_code.delay_in_removing_from_device";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    access_code_id: string;
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "access_code.failed_to_remove_from_device";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    access_code_id: string;
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "access_code.modified_external_to_seam";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    access_code_id: string;
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "access_code.deleted_external_to_seam";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    access_code_id: string;
                    backup_access_code_id: string;
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "access_code.backup_access_code_pulled";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    access_code_id: string;
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "access_code.unmanaged.converted_to_managed";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    access_code_id: string;
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "access_code.unmanaged.failed_to_convert_to_managed";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    access_code_id: string;
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "access_code.unmanaged.created";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    access_code_id: string;
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "access_code.unmanaged.removed";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    access_grant_id: string;
                    created_at: string;
                    event_id: string;
                    event_type: "access_grant.created";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    access_grant_id: string;
                    created_at: string;
                    event_id: string;
                    event_type: "access_grant.deleted";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    access_grant_id: string;
                    created_at: string;
                    event_id: string;
                    event_type: "access_grant.access_granted_to_all_doors";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    access_grant_id: string;
                    acs_entrance_id: string;
                    created_at: string;
                    event_id: string;
                    event_type: "access_grant.access_granted_to_door";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    access_grant_id: string;
                    acs_entrance_id: string;
                    created_at: string;
                    event_id: string;
                    event_type: "access_grant.access_to_door_lost";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    access_method_id: string;
                    created_at: string;
                    event_id: string;
                    event_type: "access_method.issued";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    access_method_id: string;
                    created_at: string;
                    event_id: string;
                    event_type: "access_method.revoked";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    access_method_id: string;
                    created_at: string;
                    event_id: string;
                    event_type: "access_method.card_encoding_required";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    access_method_id: string;
                    created_at: string;
                    event_id: string;
                    event_type: "access_method.deleted";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    access_method_id: string;
                    created_at: string;
                    event_id: string;
                    event_type: "access_method.reissued";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    acs_system_id: string;
                    connected_account_id?: string;
                    created_at: string;
                    event_id: string;
                    event_type: "acs_system.connected";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    acs_system_id: string;
                    connected_account_id?: string;
                    created_at: string;
                    event_id: string;
                    event_type: "acs_system.added";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    acs_system_id: string;
                    connected_account_id?: string;
                    created_at: string;
                    event_id: string;
                    event_type: "acs_system.disconnected";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    acs_credential_id: string;
                    acs_system_id: string;
                    connected_account_id?: string;
                    created_at: string;
                    event_id: string;
                    event_type: "acs_credential.deleted";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    acs_credential_id: string;
                    acs_system_id: string;
                    connected_account_id?: string;
                    created_at: string;
                    event_id: string;
                    event_type: "acs_credential.issued";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    acs_credential_id: string;
                    acs_system_id: string;
                    connected_account_id?: string;
                    created_at: string;
                    event_id: string;
                    event_type: "acs_credential.reissued";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    acs_credential_id: string;
                    acs_system_id: string;
                    connected_account_id?: string;
                    created_at: string;
                    event_id: string;
                    event_type: "acs_credential.invalidated";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    acs_system_id: string;
                    acs_user_id: string;
                    connected_account_id?: string;
                    created_at: string;
                    event_id: string;
                    event_type: "acs_user.created";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    acs_system_id: string;
                    acs_user_id: string;
                    connected_account_id?: string;
                    created_at: string;
                    event_id: string;
                    event_type: "acs_user.deleted";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    acs_encoder_id: string;
                    acs_system_id: string;
                    connected_account_id?: string;
                    created_at: string;
                    event_id: string;
                    event_type: "acs_encoder.added";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    acs_encoder_id: string;
                    acs_system_id: string;
                    connected_account_id?: string;
                    created_at: string;
                    event_id: string;
                    event_type: "acs_encoder.removed";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    acs_access_group_id: string;
                    acs_system_id: string;
                    connected_account_id?: string;
                    created_at: string;
                    event_id: string;
                    event_type: "acs_access_group.deleted";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    acs_entrance_id: string;
                    acs_system_id: string;
                    connected_account_id?: string;
                    created_at: string;
                    event_id: string;
                    event_type: "acs_entrance.added";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    acs_entrance_id: string;
                    acs_system_id: string;
                    connected_account_id?: string;
                    created_at: string;
                    event_id: string;
                    event_type: "acs_entrance.removed";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    client_session_id: string;
                    created_at: string;
                    event_id: string;
                    event_type: "client_session.deleted";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    connect_webview_id: string;
                    connected_account_id: string;
                    created_at: string;
                    event_id: string;
                    event_type: "connected_account.connected";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    connect_webview_id: string;
                    connected_account_id: string;
                    created_at: string;
                    event_id: string;
                    event_type: "connected_account.created";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    connect_webview_id: string;
                    connected_account_id: string;
                    created_at: string;
                    event_id: string;
                    event_type: "connected_account.successful_login";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    connected_account_id: string;
                    created_at: string;
                    event_id: string;
                    event_type: "connected_account.disconnected";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    connected_account_id: string;
                    created_at: string;
                    event_id: string;
                    event_type: "connected_account.completed_first_sync";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    connected_account_id: string;
                    created_at: string;
                    event_id: string;
                    event_type: "connected_account.deleted";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    connected_account_id: string;
                    created_at: string;
                    event_id: string;
                    event_type: "connected_account.completed_first_sync_after_reconnection";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    action_attempt_id: string;
                    action_type: string;
                    created_at: string;
                    event_id: string;
                    event_type: "action_attempt.lock_door.succeeded";
                    occurred_at: string;
                    status: string;
                    workspace_id: string;
                }
                | {
                    action_attempt_id: string;
                    action_type: string;
                    created_at: string;
                    event_id: string;
                    event_type: "action_attempt.lock_door.failed";
                    occurred_at: string;
                    status: string;
                    workspace_id: string;
                }
                | {
                    action_attempt_id: string;
                    action_type: string;
                    created_at: string;
                    event_id: string;
                    event_type: "action_attempt.unlock_door.succeeded";
                    occurred_at: string;
                    status: string;
                    workspace_id: string;
                }
                | {
                    action_attempt_id: string;
                    action_type: string;
                    created_at: string;
                    event_id: string;
                    event_type: "action_attempt.unlock_door.failed";
                    occurred_at: string;
                    status: string;
                    workspace_id: string;
                }
                | {
                    connect_webview_id: string;
                    connected_account_id: string;
                    created_at: string;
                    event_id: string;
                    event_type: "connect_webview.login_succeeded";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    connect_webview_id: string;
                    created_at: string;
                    event_id: string;
                    event_type: "connect_webview.login_failed";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "device.connected";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "device.added";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "device.converted_to_unmanaged";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "device.unmanaged.converted_to_managed";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "device.unmanaged.connected";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    error_code: "account_disconnected" | "hub_disconnected" | "device_disconnected";
                    event_id: string;
                    event_type: "device.disconnected";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    error_code: "account_disconnected" | "hub_disconnected" | "device_disconnected";
                    event_id: string;
                    event_type: "device.unmanaged.disconnected";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "device.tampered";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    battery_level: number;
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "device.low_battery";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    battery_level: number;
                    battery_status:
                        | "critical"
                        | "low"
                        | "good"
                        | "full";
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "device.battery_status_changed";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "device.removed";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "device.deleted";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "device.third_party_integration_detected";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "device.third_party_integration_no_longer_detected";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "device.salto.privacy_mode_activated";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "device.salto.privacy_mode_deactivated";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "device.connection_became_flaky";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "device.connection_stabilized";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "device.error.subscription_required";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "device.error.subscription_required.resolved";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "device.accessory_keypad_connected";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "device.accessory_keypad_disconnected";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "noise_sensor.noise_threshold_triggered";
                    minut_metadata?: Record<string, unknown>;
                    noise_level_decibels?: number;
                    noise_level_nrs?: number;
                    noise_threshold_id?: string;
                    noise_threshold_name?: string;
                    noiseaware_metadata?: Record<string, unknown>;
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    access_code_id?: string;
                    action_attempt_id?: string;
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "lock.locked";
                    method:
                        | "unknown"
                        | "keycode"
                        | "manual"
                        | "automatic"
                        | "seamapi";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    access_code_id?: string;
                    action_attempt_id?: string;
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "lock.unlocked";
                    method:
                        | "unknown"
                        | "keycode"
                        | "manual"
                        | "automatic"
                        | "seamapi";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    access_code_id?: string;
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "lock.access_denied";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    climate_preset_key: string;
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "thermostat.climate_preset_activated";
                    is_fallback_climate_preset: boolean;
                    occurred_at: string;
                    thermostat_schedule_id: null | string;
                    workspace_id: string;
                }
                | {
                    connected_account_id: string;
                    cooling_set_point_celsius?: number;
                    cooling_set_point_fahrenheit?: number;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "thermostat.manually_adjusted";
                    fan_mode_setting?: "auto" | "on" | "circulate";
                    heating_set_point_celsius?: number;
                    heating_set_point_fahrenheit?: number;
                    hvac_mode_setting?:
                        | "cool"
                        | "heat"
                        | "off"
                        | "heat_cool";
                    method: "seam" | "external";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "thermostat.temperature_threshold_exceeded";
                    lower_limit_celsius: null | number;
                    lower_limit_fahrenheit: null | number;
                    occurred_at: string;
                    temperature_celsius: number;
                    temperature_fahrenheit: number;
                    upper_limit_celsius: null | number;
                    upper_limit_fahrenheit: null | number;
                    workspace_id: string;
                }
                | {
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "thermostat.temperature_threshold_no_longer_exceeded";
                    lower_limit_celsius: null | number;
                    lower_limit_fahrenheit: null | number;
                    occurred_at: string;
                    temperature_celsius: number;
                    temperature_fahrenheit: number;
                    upper_limit_celsius: null | number;
                    upper_limit_fahrenheit: null | number;
                    workspace_id: string;
                }
                | {
                    connected_account_id: string;
                    created_at: string;
                    desired_temperature_celsius?: number;
                    desired_temperature_fahrenheit?: number;
                    device_id: string;
                    event_id: string;
                    event_type: "thermostat.temperature_reached_set_point";
                    occurred_at: string;
                    temperature_celsius: number;
                    temperature_fahrenheit: number;
                    workspace_id: string;
                }
                | {
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "thermostat.temperature_changed";
                    occurred_at: string;
                    temperature_celsius: number;
                    temperature_fahrenheit: number;
                    workspace_id: string;
                }
                | {
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    device_name: string;
                    event_id: string;
                    event_type: "device.name_changed";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    created_at: string;
                    enrollment_automation_id: string;
                    event_id: string;
                    event_type: "enrollment_automation.deleted";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "phone.deactivated";
                    occurred_at: string;
                    workspace_id: string;
                };
            message?: string;
        }>, "message" | "event">, "event">

  • get /events/list(): ((params?: {
        access_code_id?: string;
        access_code_ids?: string[];
        acs_system_id?: string;
        acs_system_ids?: string[];
        between?: (string | Date)[];
        connect_webview_id?: string;
        connected_account_id?: string;
        customer_ids?: string[];
        device_id?: string;
        device_ids?: string[];
        event_ids?: string[];
        event_type?:
            | "access_code.created"
            | "access_code.changed"
            | "access_code.scheduled_on_device"
            | "access_code.set_on_device"
            | "access_code.removed_from_device"
            | "access_code.delay_in_setting_on_device"
            | "access_code.failed_to_set_on_device"
            | "access_code.deleted"
            | "access_code.delay_in_removing_from_device"
            | "access_code.failed_to_remove_from_device"
            | "access_code.modified_external_to_seam"
            | "access_code.deleted_external_to_seam"
            | "access_code.backup_access_code_pulled"
            | "access_code.unmanaged.converted_to_managed"
            | "access_code.unmanaged.failed_to_convert_to_managed"
            | "access_code.unmanaged.created"
            | "access_code.unmanaged.removed"
            | "access_grant.created"
            | "access_grant.deleted"
            | "access_grant.access_granted_to_all_doors"
            | "access_grant.access_granted_to_door"
            | "access_grant.access_to_door_lost"
            | "access_method.issued"
            | "access_method.revoked"
            | "access_method.card_encoding_required"
            | "access_method.deleted"
            | "access_method.reissued"
            | "acs_system.connected"
            | "acs_system.added"
            | "acs_system.disconnected"
            | "acs_credential.deleted"
            | "acs_credential.issued"
            | "acs_credential.reissued"
            | "acs_credential.invalidated"
            | "acs_user.created"
            | "acs_user.deleted"
            | "acs_encoder.added"
            | "acs_encoder.removed"
            | "acs_access_group.deleted"
            | "acs_entrance.added"
            | "acs_entrance.removed"
            | "client_session.deleted"
            | "connected_account.connected"
            | "connected_account.created"
            | "connected_account.successful_login"
            | "connected_account.disconnected"
            | "connected_account.completed_first_sync"
            | "connected_account.deleted"
            | "connected_account.completed_first_sync_after_reconnection"
            | "action_attempt.lock_door.succeeded"
            | "action_attempt.lock_door.failed"
            | "action_attempt.unlock_door.succeeded"
            | "action_attempt.unlock_door.failed"
            | "connect_webview.login_succeeded"
            | "connect_webview.login_failed"
            | "device.connected"
            | "device.added"
            | "device.converted_to_unmanaged"
            | "device.unmanaged.converted_to_managed"
            | "device.unmanaged.connected"
            | "device.disconnected"
            | "device.unmanaged.disconnected"
            | "device.tampered"
            | "device.low_battery"
            | "device.battery_status_changed"
            | "device.removed"
            | "device.deleted"
            | "device.third_party_integration_detected"
            | "device.third_party_integration_no_longer_detected"
            | "device.salto.privacy_mode_activated"
            | "device.salto.privacy_mode_deactivated"
            | "device.connection_became_flaky"
            | "device.connection_stabilized"
            | "device.error.subscription_required"
            | "device.error.subscription_required.resolved"
            | "device.accessory_keypad_connected"
            | "device.accessory_keypad_disconnected"
            | "noise_sensor.noise_threshold_triggered"
            | "lock.locked"
            | "lock.unlocked"
            | "lock.access_denied"
            | "thermostat.climate_preset_activated"
            | "thermostat.manually_adjusted"
            | "thermostat.temperature_threshold_exceeded"
            | "thermostat.temperature_threshold_no_longer_exceeded"
            | "thermostat.temperature_reached_set_point"
            | "thermostat.temperature_changed"
            | "device.name_changed"
            | "enrollment_automation.deleted"
            | "phone.deactivated";
        event_types?: (
            | "access_code.created"
            | "access_code.changed"
            | "access_code.scheduled_on_device"
            | "access_code.set_on_device"
            | "access_code.removed_from_device"
            | "access_code.delay_in_setting_on_device"
            | "access_code.failed_to_set_on_device"
            | "access_code.deleted"
            | "access_code.delay_in_removing_from_device"
            | "access_code.failed_to_remove_from_device"
            | "access_code.modified_external_to_seam"
            | "access_code.deleted_external_to_seam"
            | "access_code.backup_access_code_pulled"
            | "access_code.unmanaged.converted_to_managed"
            | "access_code.unmanaged.failed_to_convert_to_managed"
            | "access_code.unmanaged.created"
            | "access_code.unmanaged.removed"
            | "access_grant.created"
            | "access_grant.deleted"
            | "access_grant.access_granted_to_all_doors"
            | "access_grant.access_granted_to_door"
            | "access_grant.access_to_door_lost"
            | "access_method.issued"
            | "access_method.revoked"
            | "access_method.card_encoding_required"
            | "access_method.deleted"
            | "access_method.reissued"
            | "acs_system.connected"
            | "acs_system.added"
            | "acs_system.disconnected"
            | "acs_credential.deleted"
            | "acs_credential.issued"
            | "acs_credential.reissued"
            | "acs_credential.invalidated"
            | "acs_user.created"
            | "acs_user.deleted"
            | "acs_encoder.added"
            | "acs_encoder.removed"
            | "acs_access_group.deleted"
            | "acs_entrance.added"
            | "acs_entrance.removed"
            | "client_session.deleted"
            | "connected_account.connected"
            | "connected_account.created"
            | "connected_account.successful_login"
            | "connected_account.disconnected"
            | "connected_account.completed_first_sync"
            | "connected_account.deleted"
            | "connected_account.completed_first_sync_after_reconnection"
            | "action_attempt.lock_door.succeeded"
            | "action_attempt.lock_door.failed"
            | "action_attempt.unlock_door.succeeded"
            | "action_attempt.unlock_door.failed"
            | "connect_webview.login_succeeded"
            | "connect_webview.login_failed"
            | "device.connected"
            | "device.added"
            | "device.converted_to_unmanaged"
            | "device.unmanaged.converted_to_managed"
            | "device.unmanaged.connected"
            | "device.disconnected"
            | "device.unmanaged.disconnected"
            | "device.tampered"
            | "device.low_battery"
            | "device.battery_status_changed"
            | "device.removed"
            | "device.deleted"
            | "device.third_party_integration_detected"
            | "device.third_party_integration_no_longer_detected"
            | "device.salto.privacy_mode_activated"
            | "device.salto.privacy_mode_deactivated"
            | "device.connection_became_flaky"
            | "device.connection_stabilized"
            | "device.error.subscription_required"
            | "device.error.subscription_required.resolved"
            | "device.accessory_keypad_connected"
            | "device.accessory_keypad_disconnected"
            | "noise_sensor.noise_threshold_triggered"
            | "lock.locked"
            | "lock.unlocked"
            | "lock.access_denied"
            | "thermostat.climate_preset_activated"
            | "thermostat.manually_adjusted"
            | "thermostat.temperature_threshold_exceeded"
            | "thermostat.temperature_threshold_no_longer_exceeded"
            | "thermostat.temperature_reached_set_point"
            | "thermostat.temperature_changed"
            | "device.name_changed"
            | "enrollment_automation.deleted"
            | "phone.deactivated")[];
        limit?: number;
        since?: string;
        unstable_offset?: number;
    }) => SeamHttpRequest<SetNonNullable<Required<{
        events: (
            | {
                access_code_id: string;
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "access_code.created";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                access_code_id: string;
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "access_code.changed";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                access_code_id: string;
                code: string;
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "access_code.scheduled_on_device";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                access_code_id: string;
                code: string;
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "access_code.set_on_device";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                access_code_id: string;
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "access_code.removed_from_device";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                access_code_id: string;
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "access_code.delay_in_setting_on_device";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                access_code_id: string;
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "access_code.failed_to_set_on_device";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                access_code_id: string;
                code: null | string;
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "access_code.deleted";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                access_code_id: string;
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "access_code.delay_in_removing_from_device";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                access_code_id: string;
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "access_code.failed_to_remove_from_device";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                access_code_id: string;
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "access_code.modified_external_to_seam";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                access_code_id: string;
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "access_code.deleted_external_to_seam";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                access_code_id: string;
                backup_access_code_id: string;
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "access_code.backup_access_code_pulled";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                access_code_id: string;
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "access_code.unmanaged.converted_to_managed";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                access_code_id: string;
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "access_code.unmanaged.failed_to_convert_to_managed";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                access_code_id: string;
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "access_code.unmanaged.created";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                access_code_id: string;
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "access_code.unmanaged.removed";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                access_grant_id: string;
                created_at: string;
                event_id: string;
                event_type: "access_grant.created";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                access_grant_id: string;
                created_at: string;
                event_id: string;
                event_type: "access_grant.deleted";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                access_grant_id: string;
                created_at: string;
                event_id: string;
                event_type: "access_grant.access_granted_to_all_doors";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                access_grant_id: string;
                acs_entrance_id: string;
                created_at: string;
                event_id: string;
                event_type: "access_grant.access_granted_to_door";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                access_grant_id: string;
                acs_entrance_id: string;
                created_at: string;
                event_id: string;
                event_type: "access_grant.access_to_door_lost";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                access_method_id: string;
                created_at: string;
                event_id: string;
                event_type: "access_method.issued";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                access_method_id: string;
                created_at: string;
                event_id: string;
                event_type: "access_method.revoked";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                access_method_id: string;
                created_at: string;
                event_id: string;
                event_type: "access_method.card_encoding_required";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                access_method_id: string;
                created_at: string;
                event_id: string;
                event_type: "access_method.deleted";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                access_method_id: string;
                created_at: string;
                event_id: string;
                event_type: "access_method.reissued";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                acs_system_id: string;
                connected_account_id?: string;
                created_at: string;
                event_id: string;
                event_type: "acs_system.connected";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                acs_system_id: string;
                connected_account_id?: string;
                created_at: string;
                event_id: string;
                event_type: "acs_system.added";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                acs_system_id: string;
                connected_account_id?: string;
                created_at: string;
                event_id: string;
                event_type: "acs_system.disconnected";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                acs_credential_id: string;
                acs_system_id: string;
                connected_account_id?: string;
                created_at: string;
                event_id: string;
                event_type: "acs_credential.deleted";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                acs_credential_id: string;
                acs_system_id: string;
                connected_account_id?: string;
                created_at: string;
                event_id: string;
                event_type: "acs_credential.issued";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                acs_credential_id: string;
                acs_system_id: string;
                connected_account_id?: string;
                created_at: string;
                event_id: string;
                event_type: "acs_credential.reissued";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                acs_credential_id: string;
                acs_system_id: string;
                connected_account_id?: string;
                created_at: string;
                event_id: string;
                event_type: "acs_credential.invalidated";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                acs_system_id: string;
                acs_user_id: string;
                connected_account_id?: string;
                created_at: string;
                event_id: string;
                event_type: "acs_user.created";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                acs_system_id: string;
                acs_user_id: string;
                connected_account_id?: string;
                created_at: string;
                event_id: string;
                event_type: "acs_user.deleted";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                acs_encoder_id: string;
                acs_system_id: string;
                connected_account_id?: string;
                created_at: string;
                event_id: string;
                event_type: "acs_encoder.added";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                acs_encoder_id: string;
                acs_system_id: string;
                connected_account_id?: string;
                created_at: string;
                event_id: string;
                event_type: "acs_encoder.removed";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                acs_access_group_id: string;
                acs_system_id: string;
                connected_account_id?: string;
                created_at: string;
                event_id: string;
                event_type: "acs_access_group.deleted";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                acs_entrance_id: string;
                acs_system_id: string;
                connected_account_id?: string;
                created_at: string;
                event_id: string;
                event_type: "acs_entrance.added";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                acs_entrance_id: string;
                acs_system_id: string;
                connected_account_id?: string;
                created_at: string;
                event_id: string;
                event_type: "acs_entrance.removed";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                client_session_id: string;
                created_at: string;
                event_id: string;
                event_type: "client_session.deleted";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                connect_webview_id: string;
                connected_account_id: string;
                created_at: string;
                event_id: string;
                event_type: "connected_account.connected";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                connect_webview_id: string;
                connected_account_id: string;
                created_at: string;
                event_id: string;
                event_type: "connected_account.created";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                connect_webview_id: string;
                connected_account_id: string;
                created_at: string;
                event_id: string;
                event_type: "connected_account.successful_login";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                connected_account_id: string;
                created_at: string;
                event_id: string;
                event_type: "connected_account.disconnected";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                connected_account_id: string;
                created_at: string;
                event_id: string;
                event_type: "connected_account.completed_first_sync";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                connected_account_id: string;
                created_at: string;
                event_id: string;
                event_type: "connected_account.deleted";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                connected_account_id: string;
                created_at: string;
                event_id: string;
                event_type: "connected_account.completed_first_sync_after_reconnection";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                action_attempt_id: string;
                action_type: string;
                created_at: string;
                event_id: string;
                event_type: "action_attempt.lock_door.succeeded";
                occurred_at: string;
                status: string;
                workspace_id: string;
            }
            | {
                action_attempt_id: string;
                action_type: string;
                created_at: string;
                event_id: string;
                event_type: "action_attempt.lock_door.failed";
                occurred_at: string;
                status: string;
                workspace_id: string;
            }
            | {
                action_attempt_id: string;
                action_type: string;
                created_at: string;
                event_id: string;
                event_type: "action_attempt.unlock_door.succeeded";
                occurred_at: string;
                status: string;
                workspace_id: string;
            }
            | {
                action_attempt_id: string;
                action_type: string;
                created_at: string;
                event_id: string;
                event_type: "action_attempt.unlock_door.failed";
                occurred_at: string;
                status: string;
                workspace_id: string;
            }
            | {
                connect_webview_id: string;
                connected_account_id: string;
                created_at: string;
                event_id: string;
                event_type: "connect_webview.login_succeeded";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                connect_webview_id: string;
                created_at: string;
                event_id: string;
                event_type: "connect_webview.login_failed";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "device.connected";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "device.added";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "device.converted_to_unmanaged";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "device.unmanaged.converted_to_managed";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "device.unmanaged.connected";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                connected_account_id: string;
                created_at: string;
                device_id: string;
                error_code: "account_disconnected" | "hub_disconnected" | "device_disconnected";
                event_id: string;
                event_type: "device.disconnected";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                connected_account_id: string;
                created_at: string;
                device_id: string;
                error_code: "account_disconnected" | "hub_disconnected" | "device_disconnected";
                event_id: string;
                event_type: "device.unmanaged.disconnected";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "device.tampered";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                battery_level: number;
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "device.low_battery";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                battery_level: number;
                battery_status:
                    | "critical"
                    | "low"
                    | "good"
                    | "full";
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "device.battery_status_changed";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "device.removed";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "device.deleted";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "device.third_party_integration_detected";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "device.third_party_integration_no_longer_detected";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "device.salto.privacy_mode_activated";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "device.salto.privacy_mode_deactivated";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "device.connection_became_flaky";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "device.connection_stabilized";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "device.error.subscription_required";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "device.error.subscription_required.resolved";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "device.accessory_keypad_connected";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "device.accessory_keypad_disconnected";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "noise_sensor.noise_threshold_triggered";
                minut_metadata?: Record<string, unknown>;
                noise_level_decibels?: number;
                noise_level_nrs?: number;
                noise_threshold_id?: string;
                noise_threshold_name?: string;
                noiseaware_metadata?: Record<string, unknown>;
                occurred_at: string;
                workspace_id: string;
            }
            | {
                access_code_id?: string;
                action_attempt_id?: string;
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "lock.locked";
                method:
                    | "unknown"
                    | "keycode"
                    | "manual"
                    | "automatic"
                    | "seamapi";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                access_code_id?: string;
                action_attempt_id?: string;
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "lock.unlocked";
                method:
                    | "unknown"
                    | "keycode"
                    | "manual"
                    | "automatic"
                    | "seamapi";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                access_code_id?: string;
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "lock.access_denied";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                climate_preset_key: string;
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "thermostat.climate_preset_activated";
                is_fallback_climate_preset: boolean;
                occurred_at: string;
                thermostat_schedule_id: null | string;
                workspace_id: string;
            }
            | {
                connected_account_id: string;
                cooling_set_point_celsius?: number;
                cooling_set_point_fahrenheit?: number;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "thermostat.manually_adjusted";
                fan_mode_setting?: "auto" | "on" | "circulate";
                heating_set_point_celsius?: number;
                heating_set_point_fahrenheit?: number;
                hvac_mode_setting?:
                    | "cool"
                    | "heat"
                    | "off"
                    | "heat_cool";
                method: "seam" | "external";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "thermostat.temperature_threshold_exceeded";
                lower_limit_celsius: null | number;
                lower_limit_fahrenheit: null | number;
                occurred_at: string;
                temperature_celsius: number;
                temperature_fahrenheit: number;
                upper_limit_celsius: null | number;
                upper_limit_fahrenheit: null | number;
                workspace_id: string;
            }
            | {
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "thermostat.temperature_threshold_no_longer_exceeded";
                lower_limit_celsius: null | number;
                lower_limit_fahrenheit: null | number;
                occurred_at: string;
                temperature_celsius: number;
                temperature_fahrenheit: number;
                upper_limit_celsius: null | number;
                upper_limit_fahrenheit: null | number;
                workspace_id: string;
            }
            | {
                connected_account_id: string;
                created_at: string;
                desired_temperature_celsius?: number;
                desired_temperature_fahrenheit?: number;
                device_id: string;
                event_id: string;
                event_type: "thermostat.temperature_reached_set_point";
                occurred_at: string;
                temperature_celsius: number;
                temperature_fahrenheit: number;
                workspace_id: string;
            }
            | {
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "thermostat.temperature_changed";
                occurred_at: string;
                temperature_celsius: number;
                temperature_fahrenheit: number;
                workspace_id: string;
            }
            | {
                connected_account_id: string;
                created_at: string;
                device_id: string;
                device_name: string;
                event_id: string;
                event_type: "device.name_changed";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                created_at: string;
                enrollment_automation_id: string;
                event_id: string;
                event_type: "enrollment_automation.deleted";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "phone.deactivated";
                occurred_at: string;
                workspace_id: string;
            })[];
    }>, "events">, "events">)
  • Returns ((params?: {
        access_code_id?: string;
        access_code_ids?: string[];
        acs_system_id?: string;
        acs_system_ids?: string[];
        between?: (string | Date)[];
        connect_webview_id?: string;
        connected_account_id?: string;
        customer_ids?: string[];
        device_id?: string;
        device_ids?: string[];
        event_ids?: string[];
        event_type?:
            | "access_code.created"
            | "access_code.changed"
            | "access_code.scheduled_on_device"
            | "access_code.set_on_device"
            | "access_code.removed_from_device"
            | "access_code.delay_in_setting_on_device"
            | "access_code.failed_to_set_on_device"
            | "access_code.deleted"
            | "access_code.delay_in_removing_from_device"
            | "access_code.failed_to_remove_from_device"
            | "access_code.modified_external_to_seam"
            | "access_code.deleted_external_to_seam"
            | "access_code.backup_access_code_pulled"
            | "access_code.unmanaged.converted_to_managed"
            | "access_code.unmanaged.failed_to_convert_to_managed"
            | "access_code.unmanaged.created"
            | "access_code.unmanaged.removed"
            | "access_grant.created"
            | "access_grant.deleted"
            | "access_grant.access_granted_to_all_doors"
            | "access_grant.access_granted_to_door"
            | "access_grant.access_to_door_lost"
            | "access_method.issued"
            | "access_method.revoked"
            | "access_method.card_encoding_required"
            | "access_method.deleted"
            | "access_method.reissued"
            | "acs_system.connected"
            | "acs_system.added"
            | "acs_system.disconnected"
            | "acs_credential.deleted"
            | "acs_credential.issued"
            | "acs_credential.reissued"
            | "acs_credential.invalidated"
            | "acs_user.created"
            | "acs_user.deleted"
            | "acs_encoder.added"
            | "acs_encoder.removed"
            | "acs_access_group.deleted"
            | "acs_entrance.added"
            | "acs_entrance.removed"
            | "client_session.deleted"
            | "connected_account.connected"
            | "connected_account.created"
            | "connected_account.successful_login"
            | "connected_account.disconnected"
            | "connected_account.completed_first_sync"
            | "connected_account.deleted"
            | "connected_account.completed_first_sync_after_reconnection"
            | "action_attempt.lock_door.succeeded"
            | "action_attempt.lock_door.failed"
            | "action_attempt.unlock_door.succeeded"
            | "action_attempt.unlock_door.failed"
            | "connect_webview.login_succeeded"
            | "connect_webview.login_failed"
            | "device.connected"
            | "device.added"
            | "device.converted_to_unmanaged"
            | "device.unmanaged.converted_to_managed"
            | "device.unmanaged.connected"
            | "device.disconnected"
            | "device.unmanaged.disconnected"
            | "device.tampered"
            | "device.low_battery"
            | "device.battery_status_changed"
            | "device.removed"
            | "device.deleted"
            | "device.third_party_integration_detected"
            | "device.third_party_integration_no_longer_detected"
            | "device.salto.privacy_mode_activated"
            | "device.salto.privacy_mode_deactivated"
            | "device.connection_became_flaky"
            | "device.connection_stabilized"
            | "device.error.subscription_required"
            | "device.error.subscription_required.resolved"
            | "device.accessory_keypad_connected"
            | "device.accessory_keypad_disconnected"
            | "noise_sensor.noise_threshold_triggered"
            | "lock.locked"
            | "lock.unlocked"
            | "lock.access_denied"
            | "thermostat.climate_preset_activated"
            | "thermostat.manually_adjusted"
            | "thermostat.temperature_threshold_exceeded"
            | "thermostat.temperature_threshold_no_longer_exceeded"
            | "thermostat.temperature_reached_set_point"
            | "thermostat.temperature_changed"
            | "device.name_changed"
            | "enrollment_automation.deleted"
            | "phone.deactivated";
        event_types?: (
            | "access_code.created"
            | "access_code.changed"
            | "access_code.scheduled_on_device"
            | "access_code.set_on_device"
            | "access_code.removed_from_device"
            | "access_code.delay_in_setting_on_device"
            | "access_code.failed_to_set_on_device"
            | "access_code.deleted"
            | "access_code.delay_in_removing_from_device"
            | "access_code.failed_to_remove_from_device"
            | "access_code.modified_external_to_seam"
            | "access_code.deleted_external_to_seam"
            | "access_code.backup_access_code_pulled"
            | "access_code.unmanaged.converted_to_managed"
            | "access_code.unmanaged.failed_to_convert_to_managed"
            | "access_code.unmanaged.created"
            | "access_code.unmanaged.removed"
            | "access_grant.created"
            | "access_grant.deleted"
            | "access_grant.access_granted_to_all_doors"
            | "access_grant.access_granted_to_door"
            | "access_grant.access_to_door_lost"
            | "access_method.issued"
            | "access_method.revoked"
            | "access_method.card_encoding_required"
            | "access_method.deleted"
            | "access_method.reissued"
            | "acs_system.connected"
            | "acs_system.added"
            | "acs_system.disconnected"
            | "acs_credential.deleted"
            | "acs_credential.issued"
            | "acs_credential.reissued"
            | "acs_credential.invalidated"
            | "acs_user.created"
            | "acs_user.deleted"
            | "acs_encoder.added"
            | "acs_encoder.removed"
            | "acs_access_group.deleted"
            | "acs_entrance.added"
            | "acs_entrance.removed"
            | "client_session.deleted"
            | "connected_account.connected"
            | "connected_account.created"
            | "connected_account.successful_login"
            | "connected_account.disconnected"
            | "connected_account.completed_first_sync"
            | "connected_account.deleted"
            | "connected_account.completed_first_sync_after_reconnection"
            | "action_attempt.lock_door.succeeded"
            | "action_attempt.lock_door.failed"
            | "action_attempt.unlock_door.succeeded"
            | "action_attempt.unlock_door.failed"
            | "connect_webview.login_succeeded"
            | "connect_webview.login_failed"
            | "device.connected"
            | "device.added"
            | "device.converted_to_unmanaged"
            | "device.unmanaged.converted_to_managed"
            | "device.unmanaged.connected"
            | "device.disconnected"
            | "device.unmanaged.disconnected"
            | "device.tampered"
            | "device.low_battery"
            | "device.battery_status_changed"
            | "device.removed"
            | "device.deleted"
            | "device.third_party_integration_detected"
            | "device.third_party_integration_no_longer_detected"
            | "device.salto.privacy_mode_activated"
            | "device.salto.privacy_mode_deactivated"
            | "device.connection_became_flaky"
            | "device.connection_stabilized"
            | "device.error.subscription_required"
            | "device.error.subscription_required.resolved"
            | "device.accessory_keypad_connected"
            | "device.accessory_keypad_disconnected"
            | "noise_sensor.noise_threshold_triggered"
            | "lock.locked"
            | "lock.unlocked"
            | "lock.access_denied"
            | "thermostat.climate_preset_activated"
            | "thermostat.manually_adjusted"
            | "thermostat.temperature_threshold_exceeded"
            | "thermostat.temperature_threshold_no_longer_exceeded"
            | "thermostat.temperature_reached_set_point"
            | "thermostat.temperature_changed"
            | "device.name_changed"
            | "enrollment_automation.deleted"
            | "phone.deactivated")[];
        limit?: number;
        since?: string;
        unstable_offset?: number;
    }) => SeamHttpRequest<SetNonNullable<Required<{
        events: (
            | {
                access_code_id: string;
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "access_code.created";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                access_code_id: string;
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "access_code.changed";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                access_code_id: string;
                code: string;
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "access_code.scheduled_on_device";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                access_code_id: string;
                code: string;
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "access_code.set_on_device";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                access_code_id: string;
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "access_code.removed_from_device";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                access_code_id: string;
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "access_code.delay_in_setting_on_device";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                access_code_id: string;
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "access_code.failed_to_set_on_device";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                access_code_id: string;
                code: null | string;
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "access_code.deleted";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                access_code_id: string;
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "access_code.delay_in_removing_from_device";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                access_code_id: string;
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "access_code.failed_to_remove_from_device";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                access_code_id: string;
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "access_code.modified_external_to_seam";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                access_code_id: string;
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "access_code.deleted_external_to_seam";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                access_code_id: string;
                backup_access_code_id: string;
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "access_code.backup_access_code_pulled";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                access_code_id: string;
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "access_code.unmanaged.converted_to_managed";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                access_code_id: string;
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "access_code.unmanaged.failed_to_convert_to_managed";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                access_code_id: string;
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "access_code.unmanaged.created";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                access_code_id: string;
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "access_code.unmanaged.removed";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                access_grant_id: string;
                created_at: string;
                event_id: string;
                event_type: "access_grant.created";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                access_grant_id: string;
                created_at: string;
                event_id: string;
                event_type: "access_grant.deleted";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                access_grant_id: string;
                created_at: string;
                event_id: string;
                event_type: "access_grant.access_granted_to_all_doors";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                access_grant_id: string;
                acs_entrance_id: string;
                created_at: string;
                event_id: string;
                event_type: "access_grant.access_granted_to_door";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                access_grant_id: string;
                acs_entrance_id: string;
                created_at: string;
                event_id: string;
                event_type: "access_grant.access_to_door_lost";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                access_method_id: string;
                created_at: string;
                event_id: string;
                event_type: "access_method.issued";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                access_method_id: string;
                created_at: string;
                event_id: string;
                event_type: "access_method.revoked";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                access_method_id: string;
                created_at: string;
                event_id: string;
                event_type: "access_method.card_encoding_required";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                access_method_id: string;
                created_at: string;
                event_id: string;
                event_type: "access_method.deleted";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                access_method_id: string;
                created_at: string;
                event_id: string;
                event_type: "access_method.reissued";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                acs_system_id: string;
                connected_account_id?: string;
                created_at: string;
                event_id: string;
                event_type: "acs_system.connected";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                acs_system_id: string;
                connected_account_id?: string;
                created_at: string;
                event_id: string;
                event_type: "acs_system.added";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                acs_system_id: string;
                connected_account_id?: string;
                created_at: string;
                event_id: string;
                event_type: "acs_system.disconnected";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                acs_credential_id: string;
                acs_system_id: string;
                connected_account_id?: string;
                created_at: string;
                event_id: string;
                event_type: "acs_credential.deleted";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                acs_credential_id: string;
                acs_system_id: string;
                connected_account_id?: string;
                created_at: string;
                event_id: string;
                event_type: "acs_credential.issued";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                acs_credential_id: string;
                acs_system_id: string;
                connected_account_id?: string;
                created_at: string;
                event_id: string;
                event_type: "acs_credential.reissued";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                acs_credential_id: string;
                acs_system_id: string;
                connected_account_id?: string;
                created_at: string;
                event_id: string;
                event_type: "acs_credential.invalidated";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                acs_system_id: string;
                acs_user_id: string;
                connected_account_id?: string;
                created_at: string;
                event_id: string;
                event_type: "acs_user.created";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                acs_system_id: string;
                acs_user_id: string;
                connected_account_id?: string;
                created_at: string;
                event_id: string;
                event_type: "acs_user.deleted";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                acs_encoder_id: string;
                acs_system_id: string;
                connected_account_id?: string;
                created_at: string;
                event_id: string;
                event_type: "acs_encoder.added";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                acs_encoder_id: string;
                acs_system_id: string;
                connected_account_id?: string;
                created_at: string;
                event_id: string;
                event_type: "acs_encoder.removed";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                acs_access_group_id: string;
                acs_system_id: string;
                connected_account_id?: string;
                created_at: string;
                event_id: string;
                event_type: "acs_access_group.deleted";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                acs_entrance_id: string;
                acs_system_id: string;
                connected_account_id?: string;
                created_at: string;
                event_id: string;
                event_type: "acs_entrance.added";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                acs_entrance_id: string;
                acs_system_id: string;
                connected_account_id?: string;
                created_at: string;
                event_id: string;
                event_type: "acs_entrance.removed";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                client_session_id: string;
                created_at: string;
                event_id: string;
                event_type: "client_session.deleted";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                connect_webview_id: string;
                connected_account_id: string;
                created_at: string;
                event_id: string;
                event_type: "connected_account.connected";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                connect_webview_id: string;
                connected_account_id: string;
                created_at: string;
                event_id: string;
                event_type: "connected_account.created";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                connect_webview_id: string;
                connected_account_id: string;
                created_at: string;
                event_id: string;
                event_type: "connected_account.successful_login";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                connected_account_id: string;
                created_at: string;
                event_id: string;
                event_type: "connected_account.disconnected";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                connected_account_id: string;
                created_at: string;
                event_id: string;
                event_type: "connected_account.completed_first_sync";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                connected_account_id: string;
                created_at: string;
                event_id: string;
                event_type: "connected_account.deleted";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                connected_account_id: string;
                created_at: string;
                event_id: string;
                event_type: "connected_account.completed_first_sync_after_reconnection";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                action_attempt_id: string;
                action_type: string;
                created_at: string;
                event_id: string;
                event_type: "action_attempt.lock_door.succeeded";
                occurred_at: string;
                status: string;
                workspace_id: string;
            }
            | {
                action_attempt_id: string;
                action_type: string;
                created_at: string;
                event_id: string;
                event_type: "action_attempt.lock_door.failed";
                occurred_at: string;
                status: string;
                workspace_id: string;
            }
            | {
                action_attempt_id: string;
                action_type: string;
                created_at: string;
                event_id: string;
                event_type: "action_attempt.unlock_door.succeeded";
                occurred_at: string;
                status: string;
                workspace_id: string;
            }
            | {
                action_attempt_id: string;
                action_type: string;
                created_at: string;
                event_id: string;
                event_type: "action_attempt.unlock_door.failed";
                occurred_at: string;
                status: string;
                workspace_id: string;
            }
            | {
                connect_webview_id: string;
                connected_account_id: string;
                created_at: string;
                event_id: string;
                event_type: "connect_webview.login_succeeded";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                connect_webview_id: string;
                created_at: string;
                event_id: string;
                event_type: "connect_webview.login_failed";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "device.connected";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "device.added";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "device.converted_to_unmanaged";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "device.unmanaged.converted_to_managed";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "device.unmanaged.connected";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                connected_account_id: string;
                created_at: string;
                device_id: string;
                error_code: "account_disconnected" | "hub_disconnected" | "device_disconnected";
                event_id: string;
                event_type: "device.disconnected";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                connected_account_id: string;
                created_at: string;
                device_id: string;
                error_code: "account_disconnected" | "hub_disconnected" | "device_disconnected";
                event_id: string;
                event_type: "device.unmanaged.disconnected";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "device.tampered";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                battery_level: number;
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "device.low_battery";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                battery_level: number;
                battery_status:
                    | "critical"
                    | "low"
                    | "good"
                    | "full";
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "device.battery_status_changed";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "device.removed";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "device.deleted";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "device.third_party_integration_detected";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "device.third_party_integration_no_longer_detected";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "device.salto.privacy_mode_activated";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "device.salto.privacy_mode_deactivated";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "device.connection_became_flaky";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "device.connection_stabilized";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "device.error.subscription_required";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "device.error.subscription_required.resolved";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "device.accessory_keypad_connected";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "device.accessory_keypad_disconnected";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "noise_sensor.noise_threshold_triggered";
                minut_metadata?: Record<string, unknown>;
                noise_level_decibels?: number;
                noise_level_nrs?: number;
                noise_threshold_id?: string;
                noise_threshold_name?: string;
                noiseaware_metadata?: Record<string, unknown>;
                occurred_at: string;
                workspace_id: string;
            }
            | {
                access_code_id?: string;
                action_attempt_id?: string;
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "lock.locked";
                method:
                    | "unknown"
                    | "keycode"
                    | "manual"
                    | "automatic"
                    | "seamapi";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                access_code_id?: string;
                action_attempt_id?: string;
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "lock.unlocked";
                method:
                    | "unknown"
                    | "keycode"
                    | "manual"
                    | "automatic"
                    | "seamapi";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                access_code_id?: string;
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "lock.access_denied";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                climate_preset_key: string;
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "thermostat.climate_preset_activated";
                is_fallback_climate_preset: boolean;
                occurred_at: string;
                thermostat_schedule_id: null | string;
                workspace_id: string;
            }
            | {
                connected_account_id: string;
                cooling_set_point_celsius?: number;
                cooling_set_point_fahrenheit?: number;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "thermostat.manually_adjusted";
                fan_mode_setting?: "auto" | "on" | "circulate";
                heating_set_point_celsius?: number;
                heating_set_point_fahrenheit?: number;
                hvac_mode_setting?:
                    | "cool"
                    | "heat"
                    | "off"
                    | "heat_cool";
                method: "seam" | "external";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "thermostat.temperature_threshold_exceeded";
                lower_limit_celsius: null | number;
                lower_limit_fahrenheit: null | number;
                occurred_at: string;
                temperature_celsius: number;
                temperature_fahrenheit: number;
                upper_limit_celsius: null | number;
                upper_limit_fahrenheit: null | number;
                workspace_id: string;
            }
            | {
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "thermostat.temperature_threshold_no_longer_exceeded";
                lower_limit_celsius: null | number;
                lower_limit_fahrenheit: null | number;
                occurred_at: string;
                temperature_celsius: number;
                temperature_fahrenheit: number;
                upper_limit_celsius: null | number;
                upper_limit_fahrenheit: null | number;
                workspace_id: string;
            }
            | {
                connected_account_id: string;
                created_at: string;
                desired_temperature_celsius?: number;
                desired_temperature_fahrenheit?: number;
                device_id: string;
                event_id: string;
                event_type: "thermostat.temperature_reached_set_point";
                occurred_at: string;
                temperature_celsius: number;
                temperature_fahrenheit: number;
                workspace_id: string;
            }
            | {
                connected_account_id: string;
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "thermostat.temperature_changed";
                occurred_at: string;
                temperature_celsius: number;
                temperature_fahrenheit: number;
                workspace_id: string;
            }
            | {
                connected_account_id: string;
                created_at: string;
                device_id: string;
                device_name: string;
                event_id: string;
                event_type: "device.name_changed";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                created_at: string;
                enrollment_automation_id: string;
                event_id: string;
                event_type: "enrollment_automation.deleted";
                occurred_at: string;
                workspace_id: string;
            }
            | {
                created_at: string;
                device_id: string;
                event_id: string;
                event_type: "phone.deactivated";
                occurred_at: string;
                workspace_id: string;
            })[];
    }>, "events">, "events">)

      • (params?): SeamHttpRequest<SetNonNullable<Required<{
            events: (
                | {
                    access_code_id: string;
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "access_code.created";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    access_code_id: string;
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "access_code.changed";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    access_code_id: string;
                    code: string;
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "access_code.scheduled_on_device";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    access_code_id: string;
                    code: string;
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "access_code.set_on_device";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    access_code_id: string;
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "access_code.removed_from_device";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    access_code_id: string;
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "access_code.delay_in_setting_on_device";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    access_code_id: string;
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "access_code.failed_to_set_on_device";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    access_code_id: string;
                    code: null | string;
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "access_code.deleted";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    access_code_id: string;
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "access_code.delay_in_removing_from_device";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    access_code_id: string;
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "access_code.failed_to_remove_from_device";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    access_code_id: string;
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "access_code.modified_external_to_seam";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    access_code_id: string;
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "access_code.deleted_external_to_seam";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    access_code_id: string;
                    backup_access_code_id: string;
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "access_code.backup_access_code_pulled";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    access_code_id: string;
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "access_code.unmanaged.converted_to_managed";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    access_code_id: string;
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "access_code.unmanaged.failed_to_convert_to_managed";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    access_code_id: string;
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "access_code.unmanaged.created";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    access_code_id: string;
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "access_code.unmanaged.removed";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    access_grant_id: string;
                    created_at: string;
                    event_id: string;
                    event_type: "access_grant.created";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    access_grant_id: string;
                    created_at: string;
                    event_id: string;
                    event_type: "access_grant.deleted";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    access_grant_id: string;
                    created_at: string;
                    event_id: string;
                    event_type: "access_grant.access_granted_to_all_doors";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    access_grant_id: string;
                    acs_entrance_id: string;
                    created_at: string;
                    event_id: string;
                    event_type: "access_grant.access_granted_to_door";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    access_grant_id: string;
                    acs_entrance_id: string;
                    created_at: string;
                    event_id: string;
                    event_type: "access_grant.access_to_door_lost";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    access_method_id: string;
                    created_at: string;
                    event_id: string;
                    event_type: "access_method.issued";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    access_method_id: string;
                    created_at: string;
                    event_id: string;
                    event_type: "access_method.revoked";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    access_method_id: string;
                    created_at: string;
                    event_id: string;
                    event_type: "access_method.card_encoding_required";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    access_method_id: string;
                    created_at: string;
                    event_id: string;
                    event_type: "access_method.deleted";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    access_method_id: string;
                    created_at: string;
                    event_id: string;
                    event_type: "access_method.reissued";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    acs_system_id: string;
                    connected_account_id?: string;
                    created_at: string;
                    event_id: string;
                    event_type: "acs_system.connected";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    acs_system_id: string;
                    connected_account_id?: string;
                    created_at: string;
                    event_id: string;
                    event_type: "acs_system.added";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    acs_system_id: string;
                    connected_account_id?: string;
                    created_at: string;
                    event_id: string;
                    event_type: "acs_system.disconnected";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    acs_credential_id: string;
                    acs_system_id: string;
                    connected_account_id?: string;
                    created_at: string;
                    event_id: string;
                    event_type: "acs_credential.deleted";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    acs_credential_id: string;
                    acs_system_id: string;
                    connected_account_id?: string;
                    created_at: string;
                    event_id: string;
                    event_type: "acs_credential.issued";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    acs_credential_id: string;
                    acs_system_id: string;
                    connected_account_id?: string;
                    created_at: string;
                    event_id: string;
                    event_type: "acs_credential.reissued";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    acs_credential_id: string;
                    acs_system_id: string;
                    connected_account_id?: string;
                    created_at: string;
                    event_id: string;
                    event_type: "acs_credential.invalidated";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    acs_system_id: string;
                    acs_user_id: string;
                    connected_account_id?: string;
                    created_at: string;
                    event_id: string;
                    event_type: "acs_user.created";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    acs_system_id: string;
                    acs_user_id: string;
                    connected_account_id?: string;
                    created_at: string;
                    event_id: string;
                    event_type: "acs_user.deleted";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    acs_encoder_id: string;
                    acs_system_id: string;
                    connected_account_id?: string;
                    created_at: string;
                    event_id: string;
                    event_type: "acs_encoder.added";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    acs_encoder_id: string;
                    acs_system_id: string;
                    connected_account_id?: string;
                    created_at: string;
                    event_id: string;
                    event_type: "acs_encoder.removed";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    acs_access_group_id: string;
                    acs_system_id: string;
                    connected_account_id?: string;
                    created_at: string;
                    event_id: string;
                    event_type: "acs_access_group.deleted";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    acs_entrance_id: string;
                    acs_system_id: string;
                    connected_account_id?: string;
                    created_at: string;
                    event_id: string;
                    event_type: "acs_entrance.added";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    acs_entrance_id: string;
                    acs_system_id: string;
                    connected_account_id?: string;
                    created_at: string;
                    event_id: string;
                    event_type: "acs_entrance.removed";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    client_session_id: string;
                    created_at: string;
                    event_id: string;
                    event_type: "client_session.deleted";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    connect_webview_id: string;
                    connected_account_id: string;
                    created_at: string;
                    event_id: string;
                    event_type: "connected_account.connected";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    connect_webview_id: string;
                    connected_account_id: string;
                    created_at: string;
                    event_id: string;
                    event_type: "connected_account.created";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    connect_webview_id: string;
                    connected_account_id: string;
                    created_at: string;
                    event_id: string;
                    event_type: "connected_account.successful_login";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    connected_account_id: string;
                    created_at: string;
                    event_id: string;
                    event_type: "connected_account.disconnected";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    connected_account_id: string;
                    created_at: string;
                    event_id: string;
                    event_type: "connected_account.completed_first_sync";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    connected_account_id: string;
                    created_at: string;
                    event_id: string;
                    event_type: "connected_account.deleted";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    connected_account_id: string;
                    created_at: string;
                    event_id: string;
                    event_type: "connected_account.completed_first_sync_after_reconnection";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    action_attempt_id: string;
                    action_type: string;
                    created_at: string;
                    event_id: string;
                    event_type: "action_attempt.lock_door.succeeded";
                    occurred_at: string;
                    status: string;
                    workspace_id: string;
                }
                | {
                    action_attempt_id: string;
                    action_type: string;
                    created_at: string;
                    event_id: string;
                    event_type: "action_attempt.lock_door.failed";
                    occurred_at: string;
                    status: string;
                    workspace_id: string;
                }
                | {
                    action_attempt_id: string;
                    action_type: string;
                    created_at: string;
                    event_id: string;
                    event_type: "action_attempt.unlock_door.succeeded";
                    occurred_at: string;
                    status: string;
                    workspace_id: string;
                }
                | {
                    action_attempt_id: string;
                    action_type: string;
                    created_at: string;
                    event_id: string;
                    event_type: "action_attempt.unlock_door.failed";
                    occurred_at: string;
                    status: string;
                    workspace_id: string;
                }
                | {
                    connect_webview_id: string;
                    connected_account_id: string;
                    created_at: string;
                    event_id: string;
                    event_type: "connect_webview.login_succeeded";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    connect_webview_id: string;
                    created_at: string;
                    event_id: string;
                    event_type: "connect_webview.login_failed";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "device.connected";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "device.added";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "device.converted_to_unmanaged";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "device.unmanaged.converted_to_managed";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "device.unmanaged.connected";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    error_code: "account_disconnected" | "hub_disconnected" | "device_disconnected";
                    event_id: string;
                    event_type: "device.disconnected";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    error_code: "account_disconnected" | "hub_disconnected" | "device_disconnected";
                    event_id: string;
                    event_type: "device.unmanaged.disconnected";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "device.tampered";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    battery_level: number;
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "device.low_battery";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    battery_level: number;
                    battery_status:
                        | "critical"
                        | "low"
                        | "good"
                        | "full";
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "device.battery_status_changed";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "device.removed";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "device.deleted";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "device.third_party_integration_detected";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "device.third_party_integration_no_longer_detected";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "device.salto.privacy_mode_activated";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "device.salto.privacy_mode_deactivated";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "device.connection_became_flaky";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "device.connection_stabilized";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "device.error.subscription_required";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "device.error.subscription_required.resolved";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "device.accessory_keypad_connected";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "device.accessory_keypad_disconnected";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "noise_sensor.noise_threshold_triggered";
                    minut_metadata?: Record<string, unknown>;
                    noise_level_decibels?: number;
                    noise_level_nrs?: number;
                    noise_threshold_id?: string;
                    noise_threshold_name?: string;
                    noiseaware_metadata?: Record<string, unknown>;
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    access_code_id?: string;
                    action_attempt_id?: string;
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "lock.locked";
                    method:
                        | "unknown"
                        | "keycode"
                        | "manual"
                        | "automatic"
                        | "seamapi";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    access_code_id?: string;
                    action_attempt_id?: string;
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "lock.unlocked";
                    method:
                        | "unknown"
                        | "keycode"
                        | "manual"
                        | "automatic"
                        | "seamapi";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    access_code_id?: string;
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "lock.access_denied";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    climate_preset_key: string;
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "thermostat.climate_preset_activated";
                    is_fallback_climate_preset: boolean;
                    occurred_at: string;
                    thermostat_schedule_id: null | string;
                    workspace_id: string;
                }
                | {
                    connected_account_id: string;
                    cooling_set_point_celsius?: number;
                    cooling_set_point_fahrenheit?: number;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "thermostat.manually_adjusted";
                    fan_mode_setting?: "auto" | "on" | "circulate";
                    heating_set_point_celsius?: number;
                    heating_set_point_fahrenheit?: number;
                    hvac_mode_setting?:
                        | "cool"
                        | "heat"
                        | "off"
                        | "heat_cool";
                    method: "seam" | "external";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "thermostat.temperature_threshold_exceeded";
                    lower_limit_celsius: null | number;
                    lower_limit_fahrenheit: null | number;
                    occurred_at: string;
                    temperature_celsius: number;
                    temperature_fahrenheit: number;
                    upper_limit_celsius: null | number;
                    upper_limit_fahrenheit: null | number;
                    workspace_id: string;
                }
                | {
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "thermostat.temperature_threshold_no_longer_exceeded";
                    lower_limit_celsius: null | number;
                    lower_limit_fahrenheit: null | number;
                    occurred_at: string;
                    temperature_celsius: number;
                    temperature_fahrenheit: number;
                    upper_limit_celsius: null | number;
                    upper_limit_fahrenheit: null | number;
                    workspace_id: string;
                }
                | {
                    connected_account_id: string;
                    created_at: string;
                    desired_temperature_celsius?: number;
                    desired_temperature_fahrenheit?: number;
                    device_id: string;
                    event_id: string;
                    event_type: "thermostat.temperature_reached_set_point";
                    occurred_at: string;
                    temperature_celsius: number;
                    temperature_fahrenheit: number;
                    workspace_id: string;
                }
                | {
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "thermostat.temperature_changed";
                    occurred_at: string;
                    temperature_celsius: number;
                    temperature_fahrenheit: number;
                    workspace_id: string;
                }
                | {
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    device_name: string;
                    event_id: string;
                    event_type: "device.name_changed";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    created_at: string;
                    enrollment_automation_id: string;
                    event_id: string;
                    event_type: "enrollment_automation.deleted";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "phone.deactivated";
                    occurred_at: string;
                    workspace_id: string;
                })[];
        }>, "events">, "events">
      • Parameters

        • Optionalparams: {
              access_code_id?: string;
              access_code_ids?: string[];
              acs_system_id?: string;
              acs_system_ids?: string[];
              between?: (string | Date)[];
              connect_webview_id?: string;
              connected_account_id?: string;
              customer_ids?: string[];
              device_id?: string;
              device_ids?: string[];
              event_ids?: string[];
              event_type?:
                  | "access_code.created"
                  | "access_code.changed"
                  | "access_code.scheduled_on_device"
                  | "access_code.set_on_device"
                  | "access_code.removed_from_device"
                  | "access_code.delay_in_setting_on_device"
                  | "access_code.failed_to_set_on_device"
                  | "access_code.deleted"
                  | "access_code.delay_in_removing_from_device"
                  | "access_code.failed_to_remove_from_device"
                  | "access_code.modified_external_to_seam"
                  | "access_code.deleted_external_to_seam"
                  | "access_code.backup_access_code_pulled"
                  | "access_code.unmanaged.converted_to_managed"
                  | "access_code.unmanaged.failed_to_convert_to_managed"
                  | "access_code.unmanaged.created"
                  | "access_code.unmanaged.removed"
                  | "access_grant.created"
                  | "access_grant.deleted"
                  | "access_grant.access_granted_to_all_doors"
                  | "access_grant.access_granted_to_door"
                  | "access_grant.access_to_door_lost"
                  | "access_method.issued"
                  | "access_method.revoked"
                  | "access_method.card_encoding_required"
                  | "access_method.deleted"
                  | "access_method.reissued"
                  | "acs_system.connected"
                  | "acs_system.added"
                  | "acs_system.disconnected"
                  | "acs_credential.deleted"
                  | "acs_credential.issued"
                  | "acs_credential.reissued"
                  | "acs_credential.invalidated"
                  | "acs_user.created"
                  | "acs_user.deleted"
                  | "acs_encoder.added"
                  | "acs_encoder.removed"
                  | "acs_access_group.deleted"
                  | "acs_entrance.added"
                  | "acs_entrance.removed"
                  | "client_session.deleted"
                  | "connected_account.connected"
                  | "connected_account.created"
                  | "connected_account.successful_login"
                  | "connected_account.disconnected"
                  | "connected_account.completed_first_sync"
                  | "connected_account.deleted"
                  | "connected_account.completed_first_sync_after_reconnection"
                  | "action_attempt.lock_door.succeeded"
                  | "action_attempt.lock_door.failed"
                  | "action_attempt.unlock_door.succeeded"
                  | "action_attempt.unlock_door.failed"
                  | "connect_webview.login_succeeded"
                  | "connect_webview.login_failed"
                  | "device.connected"
                  | "device.added"
                  | "device.converted_to_unmanaged"
                  | "device.unmanaged.converted_to_managed"
                  | "device.unmanaged.connected"
                  | "device.disconnected"
                  | "device.unmanaged.disconnected"
                  | "device.tampered"
                  | "device.low_battery"
                  | "device.battery_status_changed"
                  | "device.removed"
                  | "device.deleted"
                  | "device.third_party_integration_detected"
                  | "device.third_party_integration_no_longer_detected"
                  | "device.salto.privacy_mode_activated"
                  | "device.salto.privacy_mode_deactivated"
                  | "device.connection_became_flaky"
                  | "device.connection_stabilized"
                  | "device.error.subscription_required"
                  | "device.error.subscription_required.resolved"
                  | "device.accessory_keypad_connected"
                  | "device.accessory_keypad_disconnected"
                  | "noise_sensor.noise_threshold_triggered"
                  | "lock.locked"
                  | "lock.unlocked"
                  | "lock.access_denied"
                  | "thermostat.climate_preset_activated"
                  | "thermostat.manually_adjusted"
                  | "thermostat.temperature_threshold_exceeded"
                  | "thermostat.temperature_threshold_no_longer_exceeded"
                  | "thermostat.temperature_reached_set_point"
                  | "thermostat.temperature_changed"
                  | "device.name_changed"
                  | "enrollment_automation.deleted"
                  | "phone.deactivated";
              event_types?: (
                  | "access_code.created"
                  | "access_code.changed"
                  | "access_code.scheduled_on_device"
                  | "access_code.set_on_device"
                  | "access_code.removed_from_device"
                  | "access_code.delay_in_setting_on_device"
                  | "access_code.failed_to_set_on_device"
                  | "access_code.deleted"
                  | "access_code.delay_in_removing_from_device"
                  | "access_code.failed_to_remove_from_device"
                  | "access_code.modified_external_to_seam"
                  | "access_code.deleted_external_to_seam"
                  | "access_code.backup_access_code_pulled"
                  | "access_code.unmanaged.converted_to_managed"
                  | "access_code.unmanaged.failed_to_convert_to_managed"
                  | "access_code.unmanaged.created"
                  | "access_code.unmanaged.removed"
                  | "access_grant.created"
                  | "access_grant.deleted"
                  | "access_grant.access_granted_to_all_doors"
                  | "access_grant.access_granted_to_door"
                  | "access_grant.access_to_door_lost"
                  | "access_method.issued"
                  | "access_method.revoked"
                  | "access_method.card_encoding_required"
                  | "access_method.deleted"
                  | "access_method.reissued"
                  | "acs_system.connected"
                  | "acs_system.added"
                  | "acs_system.disconnected"
                  | "acs_credential.deleted"
                  | "acs_credential.issued"
                  | "acs_credential.reissued"
                  | "acs_credential.invalidated"
                  | "acs_user.created"
                  | "acs_user.deleted"
                  | "acs_encoder.added"
                  | "acs_encoder.removed"
                  | "acs_access_group.deleted"
                  | "acs_entrance.added"
                  | "acs_entrance.removed"
                  | "client_session.deleted"
                  | "connected_account.connected"
                  | "connected_account.created"
                  | "connected_account.successful_login"
                  | "connected_account.disconnected"
                  | "connected_account.completed_first_sync"
                  | "connected_account.deleted"
                  | "connected_account.completed_first_sync_after_reconnection"
                  | "action_attempt.lock_door.succeeded"
                  | "action_attempt.lock_door.failed"
                  | "action_attempt.unlock_door.succeeded"
                  | "action_attempt.unlock_door.failed"
                  | "connect_webview.login_succeeded"
                  | "connect_webview.login_failed"
                  | "device.connected"
                  | "device.added"
                  | "device.converted_to_unmanaged"
                  | "device.unmanaged.converted_to_managed"
                  | "device.unmanaged.connected"
                  | "device.disconnected"
                  | "device.unmanaged.disconnected"
                  | "device.tampered"
                  | "device.low_battery"
                  | "device.battery_status_changed"
                  | "device.removed"
                  | "device.deleted"
                  | "device.third_party_integration_detected"
                  | "device.third_party_integration_no_longer_detected"
                  | "device.salto.privacy_mode_activated"
                  | "device.salto.privacy_mode_deactivated"
                  | "device.connection_became_flaky"
                  | "device.connection_stabilized"
                  | "device.error.subscription_required"
                  | "device.error.subscription_required.resolved"
                  | "device.accessory_keypad_connected"
                  | "device.accessory_keypad_disconnected"
                  | "noise_sensor.noise_threshold_triggered"
                  | "lock.locked"
                  | "lock.unlocked"
                  | "lock.access_denied"
                  | "thermostat.climate_preset_activated"
                  | "thermostat.manually_adjusted"
                  | "thermostat.temperature_threshold_exceeded"
                  | "thermostat.temperature_threshold_no_longer_exceeded"
                  | "thermostat.temperature_reached_set_point"
                  | "thermostat.temperature_changed"
                  | "device.name_changed"
                  | "enrollment_automation.deleted"
                  | "phone.deactivated")[];
              limit?: number;
              since?: string;
              unstable_offset?: number;
          }
          • Optionalaccess_code_id?: string

            ID of the access code for which you want to list events.

          • Optionalaccess_code_ids?: string[]

            IDs of the access codes for which you want to list events.

          • Optionalacs_system_id?: string

            ID of the access system for which you want to list events.

          • Optionalacs_system_ids?: string[]

            IDs of the access systems for which you want to list events.

          • Optionalbetween?: (string | Date)[]

            Lower and upper timestamps to define an exclusive interval containing the events that you want to list. You must include since or between.

          • Optionalconnect_webview_id?: string

            IDs of the connected accounts for which you want to list events.

          • Optionalconnected_account_id?: string

            ID of the connected account for which you want to list events.

          • Optionalcustomer_ids?: string[]

            IDs of the customers for which you want to list events.

          • Optionaldevice_id?: string

            ID of the device for which you want to list events.

          • Optionaldevice_ids?: string[]

            IDs of the devices for which you want to list events.

          • Optionalevent_ids?: string[]

            IDs of the events that you want to list.

          • Optionalevent_type?:
                | "access_code.created"
                | "access_code.changed"
                | "access_code.scheduled_on_device"
                | "access_code.set_on_device"
                | "access_code.removed_from_device"
                | "access_code.delay_in_setting_on_device"
                | "access_code.failed_to_set_on_device"
                | "access_code.deleted"
                | "access_code.delay_in_removing_from_device"
                | "access_code.failed_to_remove_from_device"
                | "access_code.modified_external_to_seam"
                | "access_code.deleted_external_to_seam"
                | "access_code.backup_access_code_pulled"
                | "access_code.unmanaged.converted_to_managed"
                | "access_code.unmanaged.failed_to_convert_to_managed"
                | "access_code.unmanaged.created"
                | "access_code.unmanaged.removed"
                | "access_grant.created"
                | "access_grant.deleted"
                | "access_grant.access_granted_to_all_doors"
                | "access_grant.access_granted_to_door"
                | "access_grant.access_to_door_lost"
                | "access_method.issued"
                | "access_method.revoked"
                | "access_method.card_encoding_required"
                | "access_method.deleted"
                | "access_method.reissued"
                | "acs_system.connected"
                | "acs_system.added"
                | "acs_system.disconnected"
                | "acs_credential.deleted"
                | "acs_credential.issued"
                | "acs_credential.reissued"
                | "acs_credential.invalidated"
                | "acs_user.created"
                | "acs_user.deleted"
                | "acs_encoder.added"
                | "acs_encoder.removed"
                | "acs_access_group.deleted"
                | "acs_entrance.added"
                | "acs_entrance.removed"
                | "client_session.deleted"
                | "connected_account.connected"
                | "connected_account.created"
                | "connected_account.successful_login"
                | "connected_account.disconnected"
                | "connected_account.completed_first_sync"
                | "connected_account.deleted"
                | "connected_account.completed_first_sync_after_reconnection"
                | "action_attempt.lock_door.succeeded"
                | "action_attempt.lock_door.failed"
                | "action_attempt.unlock_door.succeeded"
                | "action_attempt.unlock_door.failed"
                | "connect_webview.login_succeeded"
                | "connect_webview.login_failed"
                | "device.connected"
                | "device.added"
                | "device.converted_to_unmanaged"
                | "device.unmanaged.converted_to_managed"
                | "device.unmanaged.connected"
                | "device.disconnected"
                | "device.unmanaged.disconnected"
                | "device.tampered"
                | "device.low_battery"
                | "device.battery_status_changed"
                | "device.removed"
                | "device.deleted"
                | "device.third_party_integration_detected"
                | "device.third_party_integration_no_longer_detected"
                | "device.salto.privacy_mode_activated"
                | "device.salto.privacy_mode_deactivated"
                | "device.connection_became_flaky"
                | "device.connection_stabilized"
                | "device.error.subscription_required"
                | "device.error.subscription_required.resolved"
                | "device.accessory_keypad_connected"
                | "device.accessory_keypad_disconnected"
                | "noise_sensor.noise_threshold_triggered"
                | "lock.locked"
                | "lock.unlocked"
                | "lock.access_denied"
                | "thermostat.climate_preset_activated"
                | "thermostat.manually_adjusted"
                | "thermostat.temperature_threshold_exceeded"
                | "thermostat.temperature_threshold_no_longer_exceeded"
                | "thermostat.temperature_reached_set_point"
                | "thermostat.temperature_changed"
                | "device.name_changed"
                | "enrollment_automation.deleted"
                | "phone.deactivated"

            Type of the events that you want to list.

          • Optionalevent_types?: (
                | "access_code.created"
                | "access_code.changed"
                | "access_code.scheduled_on_device"
                | "access_code.set_on_device"
                | "access_code.removed_from_device"
                | "access_code.delay_in_setting_on_device"
                | "access_code.failed_to_set_on_device"
                | "access_code.deleted"
                | "access_code.delay_in_removing_from_device"
                | "access_code.failed_to_remove_from_device"
                | "access_code.modified_external_to_seam"
                | "access_code.deleted_external_to_seam"
                | "access_code.backup_access_code_pulled"
                | "access_code.unmanaged.converted_to_managed"
                | "access_code.unmanaged.failed_to_convert_to_managed"
                | "access_code.unmanaged.created"
                | "access_code.unmanaged.removed"
                | "access_grant.created"
                | "access_grant.deleted"
                | "access_grant.access_granted_to_all_doors"
                | "access_grant.access_granted_to_door"
                | "access_grant.access_to_door_lost"
                | "access_method.issued"
                | "access_method.revoked"
                | "access_method.card_encoding_required"
                | "access_method.deleted"
                | "access_method.reissued"
                | "acs_system.connected"
                | "acs_system.added"
                | "acs_system.disconnected"
                | "acs_credential.deleted"
                | "acs_credential.issued"
                | "acs_credential.reissued"
                | "acs_credential.invalidated"
                | "acs_user.created"
                | "acs_user.deleted"
                | "acs_encoder.added"
                | "acs_encoder.removed"
                | "acs_access_group.deleted"
                | "acs_entrance.added"
                | "acs_entrance.removed"
                | "client_session.deleted"
                | "connected_account.connected"
                | "connected_account.created"
                | "connected_account.successful_login"
                | "connected_account.disconnected"
                | "connected_account.completed_first_sync"
                | "connected_account.deleted"
                | "connected_account.completed_first_sync_after_reconnection"
                | "action_attempt.lock_door.succeeded"
                | "action_attempt.lock_door.failed"
                | "action_attempt.unlock_door.succeeded"
                | "action_attempt.unlock_door.failed"
                | "connect_webview.login_succeeded"
                | "connect_webview.login_failed"
                | "device.connected"
                | "device.added"
                | "device.converted_to_unmanaged"
                | "device.unmanaged.converted_to_managed"
                | "device.unmanaged.connected"
                | "device.disconnected"
                | "device.unmanaged.disconnected"
                | "device.tampered"
                | "device.low_battery"
                | "device.battery_status_changed"
                | "device.removed"
                | "device.deleted"
                | "device.third_party_integration_detected"
                | "device.third_party_integration_no_longer_detected"
                | "device.salto.privacy_mode_activated"
                | "device.salto.privacy_mode_deactivated"
                | "device.connection_became_flaky"
                | "device.connection_stabilized"
                | "device.error.subscription_required"
                | "device.error.subscription_required.resolved"
                | "device.accessory_keypad_connected"
                | "device.accessory_keypad_disconnected"
                | "noise_sensor.noise_threshold_triggered"
                | "lock.locked"
                | "lock.unlocked"
                | "lock.access_denied"
                | "thermostat.climate_preset_activated"
                | "thermostat.manually_adjusted"
                | "thermostat.temperature_threshold_exceeded"
                | "thermostat.temperature_threshold_no_longer_exceeded"
                | "thermostat.temperature_reached_set_point"
                | "thermostat.temperature_changed"
                | "device.name_changed"
                | "enrollment_automation.deleted"
                | "phone.deactivated")[]

            Types of the events that you want to list.

          • Optionallimit?: number

            Numerical limit on the number of events to return.

          • Optionalsince?: string

            Timestamp to indicate the beginning generation time for the events that you want to list. You must include since or between.

          • Optionalunstable_offset?: number

            Offset for the events that you want to list.

        Returns SeamHttpRequest<SetNonNullable<Required<{
            events: (
                | {
                    access_code_id: string;
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "access_code.created";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    access_code_id: string;
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "access_code.changed";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    access_code_id: string;
                    code: string;
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "access_code.scheduled_on_device";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    access_code_id: string;
                    code: string;
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "access_code.set_on_device";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    access_code_id: string;
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "access_code.removed_from_device";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    access_code_id: string;
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "access_code.delay_in_setting_on_device";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    access_code_id: string;
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "access_code.failed_to_set_on_device";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    access_code_id: string;
                    code: null | string;
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "access_code.deleted";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    access_code_id: string;
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "access_code.delay_in_removing_from_device";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    access_code_id: string;
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "access_code.failed_to_remove_from_device";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    access_code_id: string;
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "access_code.modified_external_to_seam";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    access_code_id: string;
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "access_code.deleted_external_to_seam";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    access_code_id: string;
                    backup_access_code_id: string;
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "access_code.backup_access_code_pulled";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    access_code_id: string;
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "access_code.unmanaged.converted_to_managed";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    access_code_id: string;
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "access_code.unmanaged.failed_to_convert_to_managed";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    access_code_id: string;
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "access_code.unmanaged.created";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    access_code_id: string;
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "access_code.unmanaged.removed";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    access_grant_id: string;
                    created_at: string;
                    event_id: string;
                    event_type: "access_grant.created";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    access_grant_id: string;
                    created_at: string;
                    event_id: string;
                    event_type: "access_grant.deleted";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    access_grant_id: string;
                    created_at: string;
                    event_id: string;
                    event_type: "access_grant.access_granted_to_all_doors";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    access_grant_id: string;
                    acs_entrance_id: string;
                    created_at: string;
                    event_id: string;
                    event_type: "access_grant.access_granted_to_door";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    access_grant_id: string;
                    acs_entrance_id: string;
                    created_at: string;
                    event_id: string;
                    event_type: "access_grant.access_to_door_lost";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    access_method_id: string;
                    created_at: string;
                    event_id: string;
                    event_type: "access_method.issued";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    access_method_id: string;
                    created_at: string;
                    event_id: string;
                    event_type: "access_method.revoked";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    access_method_id: string;
                    created_at: string;
                    event_id: string;
                    event_type: "access_method.card_encoding_required";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    access_method_id: string;
                    created_at: string;
                    event_id: string;
                    event_type: "access_method.deleted";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    access_method_id: string;
                    created_at: string;
                    event_id: string;
                    event_type: "access_method.reissued";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    acs_system_id: string;
                    connected_account_id?: string;
                    created_at: string;
                    event_id: string;
                    event_type: "acs_system.connected";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    acs_system_id: string;
                    connected_account_id?: string;
                    created_at: string;
                    event_id: string;
                    event_type: "acs_system.added";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    acs_system_id: string;
                    connected_account_id?: string;
                    created_at: string;
                    event_id: string;
                    event_type: "acs_system.disconnected";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    acs_credential_id: string;
                    acs_system_id: string;
                    connected_account_id?: string;
                    created_at: string;
                    event_id: string;
                    event_type: "acs_credential.deleted";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    acs_credential_id: string;
                    acs_system_id: string;
                    connected_account_id?: string;
                    created_at: string;
                    event_id: string;
                    event_type: "acs_credential.issued";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    acs_credential_id: string;
                    acs_system_id: string;
                    connected_account_id?: string;
                    created_at: string;
                    event_id: string;
                    event_type: "acs_credential.reissued";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    acs_credential_id: string;
                    acs_system_id: string;
                    connected_account_id?: string;
                    created_at: string;
                    event_id: string;
                    event_type: "acs_credential.invalidated";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    acs_system_id: string;
                    acs_user_id: string;
                    connected_account_id?: string;
                    created_at: string;
                    event_id: string;
                    event_type: "acs_user.created";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    acs_system_id: string;
                    acs_user_id: string;
                    connected_account_id?: string;
                    created_at: string;
                    event_id: string;
                    event_type: "acs_user.deleted";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    acs_encoder_id: string;
                    acs_system_id: string;
                    connected_account_id?: string;
                    created_at: string;
                    event_id: string;
                    event_type: "acs_encoder.added";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    acs_encoder_id: string;
                    acs_system_id: string;
                    connected_account_id?: string;
                    created_at: string;
                    event_id: string;
                    event_type: "acs_encoder.removed";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    acs_access_group_id: string;
                    acs_system_id: string;
                    connected_account_id?: string;
                    created_at: string;
                    event_id: string;
                    event_type: "acs_access_group.deleted";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    acs_entrance_id: string;
                    acs_system_id: string;
                    connected_account_id?: string;
                    created_at: string;
                    event_id: string;
                    event_type: "acs_entrance.added";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    acs_entrance_id: string;
                    acs_system_id: string;
                    connected_account_id?: string;
                    created_at: string;
                    event_id: string;
                    event_type: "acs_entrance.removed";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    client_session_id: string;
                    created_at: string;
                    event_id: string;
                    event_type: "client_session.deleted";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    connect_webview_id: string;
                    connected_account_id: string;
                    created_at: string;
                    event_id: string;
                    event_type: "connected_account.connected";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    connect_webview_id: string;
                    connected_account_id: string;
                    created_at: string;
                    event_id: string;
                    event_type: "connected_account.created";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    connect_webview_id: string;
                    connected_account_id: string;
                    created_at: string;
                    event_id: string;
                    event_type: "connected_account.successful_login";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    connected_account_id: string;
                    created_at: string;
                    event_id: string;
                    event_type: "connected_account.disconnected";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    connected_account_id: string;
                    created_at: string;
                    event_id: string;
                    event_type: "connected_account.completed_first_sync";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    connected_account_id: string;
                    created_at: string;
                    event_id: string;
                    event_type: "connected_account.deleted";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    connected_account_id: string;
                    created_at: string;
                    event_id: string;
                    event_type: "connected_account.completed_first_sync_after_reconnection";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    action_attempt_id: string;
                    action_type: string;
                    created_at: string;
                    event_id: string;
                    event_type: "action_attempt.lock_door.succeeded";
                    occurred_at: string;
                    status: string;
                    workspace_id: string;
                }
                | {
                    action_attempt_id: string;
                    action_type: string;
                    created_at: string;
                    event_id: string;
                    event_type: "action_attempt.lock_door.failed";
                    occurred_at: string;
                    status: string;
                    workspace_id: string;
                }
                | {
                    action_attempt_id: string;
                    action_type: string;
                    created_at: string;
                    event_id: string;
                    event_type: "action_attempt.unlock_door.succeeded";
                    occurred_at: string;
                    status: string;
                    workspace_id: string;
                }
                | {
                    action_attempt_id: string;
                    action_type: string;
                    created_at: string;
                    event_id: string;
                    event_type: "action_attempt.unlock_door.failed";
                    occurred_at: string;
                    status: string;
                    workspace_id: string;
                }
                | {
                    connect_webview_id: string;
                    connected_account_id: string;
                    created_at: string;
                    event_id: string;
                    event_type: "connect_webview.login_succeeded";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    connect_webview_id: string;
                    created_at: string;
                    event_id: string;
                    event_type: "connect_webview.login_failed";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "device.connected";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "device.added";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "device.converted_to_unmanaged";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "device.unmanaged.converted_to_managed";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "device.unmanaged.connected";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    error_code: "account_disconnected" | "hub_disconnected" | "device_disconnected";
                    event_id: string;
                    event_type: "device.disconnected";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    error_code: "account_disconnected" | "hub_disconnected" | "device_disconnected";
                    event_id: string;
                    event_type: "device.unmanaged.disconnected";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "device.tampered";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    battery_level: number;
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "device.low_battery";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    battery_level: number;
                    battery_status:
                        | "critical"
                        | "low"
                        | "good"
                        | "full";
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "device.battery_status_changed";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "device.removed";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "device.deleted";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "device.third_party_integration_detected";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "device.third_party_integration_no_longer_detected";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "device.salto.privacy_mode_activated";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "device.salto.privacy_mode_deactivated";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "device.connection_became_flaky";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "device.connection_stabilized";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "device.error.subscription_required";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "device.error.subscription_required.resolved";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "device.accessory_keypad_connected";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "device.accessory_keypad_disconnected";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "noise_sensor.noise_threshold_triggered";
                    minut_metadata?: Record<string, unknown>;
                    noise_level_decibels?: number;
                    noise_level_nrs?: number;
                    noise_threshold_id?: string;
                    noise_threshold_name?: string;
                    noiseaware_metadata?: Record<string, unknown>;
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    access_code_id?: string;
                    action_attempt_id?: string;
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "lock.locked";
                    method:
                        | "unknown"
                        | "keycode"
                        | "manual"
                        | "automatic"
                        | "seamapi";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    access_code_id?: string;
                    action_attempt_id?: string;
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "lock.unlocked";
                    method:
                        | "unknown"
                        | "keycode"
                        | "manual"
                        | "automatic"
                        | "seamapi";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    access_code_id?: string;
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "lock.access_denied";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    climate_preset_key: string;
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "thermostat.climate_preset_activated";
                    is_fallback_climate_preset: boolean;
                    occurred_at: string;
                    thermostat_schedule_id: null | string;
                    workspace_id: string;
                }
                | {
                    connected_account_id: string;
                    cooling_set_point_celsius?: number;
                    cooling_set_point_fahrenheit?: number;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "thermostat.manually_adjusted";
                    fan_mode_setting?: "auto" | "on" | "circulate";
                    heating_set_point_celsius?: number;
                    heating_set_point_fahrenheit?: number;
                    hvac_mode_setting?:
                        | "cool"
                        | "heat"
                        | "off"
                        | "heat_cool";
                    method: "seam" | "external";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "thermostat.temperature_threshold_exceeded";
                    lower_limit_celsius: null | number;
                    lower_limit_fahrenheit: null | number;
                    occurred_at: string;
                    temperature_celsius: number;
                    temperature_fahrenheit: number;
                    upper_limit_celsius: null | number;
                    upper_limit_fahrenheit: null | number;
                    workspace_id: string;
                }
                | {
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "thermostat.temperature_threshold_no_longer_exceeded";
                    lower_limit_celsius: null | number;
                    lower_limit_fahrenheit: null | number;
                    occurred_at: string;
                    temperature_celsius: number;
                    temperature_fahrenheit: number;
                    upper_limit_celsius: null | number;
                    upper_limit_fahrenheit: null | number;
                    workspace_id: string;
                }
                | {
                    connected_account_id: string;
                    created_at: string;
                    desired_temperature_celsius?: number;
                    desired_temperature_fahrenheit?: number;
                    device_id: string;
                    event_id: string;
                    event_type: "thermostat.temperature_reached_set_point";
                    occurred_at: string;
                    temperature_celsius: number;
                    temperature_fahrenheit: number;
                    workspace_id: string;
                }
                | {
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "thermostat.temperature_changed";
                    occurred_at: string;
                    temperature_celsius: number;
                    temperature_fahrenheit: number;
                    workspace_id: string;
                }
                | {
                    connected_account_id: string;
                    created_at: string;
                    device_id: string;
                    device_name: string;
                    event_id: string;
                    event_type: "device.name_changed";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    created_at: string;
                    enrollment_automation_id: string;
                    event_id: string;
                    event_type: "enrollment_automation.deleted";
                    occurred_at: string;
                    workspace_id: string;
                }
                | {
                    created_at: string;
                    device_id: string;
                    event_id: string;
                    event_type: "phone.deactivated";
                    occurred_at: string;
                    workspace_id: string;
                })[];
        }>, "events">, "events">

  • get /locks/get(): ((params?: {
        device_id?: string;
        name?: string;
    }) => SeamHttpRequest<SetNonNullable<Required<{
        device: {
            can_hvac_cool?: boolean;
            can_hvac_heat?: boolean;
            can_hvac_heat_cool?: boolean;
            can_program_offline_access_codes?: boolean;
            can_program_online_access_codes?: boolean;
            can_remotely_lock?: boolean;
            can_remotely_unlock?: boolean;
            can_simulate_connection?: boolean;
            can_simulate_disconnection?: boolean;
            can_simulate_removal?: boolean;
            can_turn_off_hvac?: boolean;
            capabilities_supported: (
                | "access_code"
                | "lock"
                | "phone"
                | "thermostat"
                | "noise_detection"
                | "battery")[];
            connected_account_id: string;
            created_at: string;
            custom_metadata: Record<string, string | boolean>;
            device_id: string;
            device_type:
                | "akuvox_lock"
                | "august_lock"
                | "brivo_access_point"
                | "butterflymx_panel"
                | "avigilon_alta_entry"
                | "doorking_lock"
                | "genie_door"
                | "igloo_lock"
                | "linear_lock"
                | "lockly_lock"
                | "kwikset_lock"
                | "nuki_lock"
                | "salto_lock"
                | "schlage_lock"
                | "seam_relay"
                | "smartthings_lock"
                | "wyze_lock"
                | "yale_lock"
                | "two_n_intercom"
                | "controlbyweb_device"
                | "ttlock_lock"
                | "igloohome_lock"
                | "hubitat_lock"
                | "four_suites_door"
                | "dormakaba_oracode_door"
                | "tedee_lock"
                | "akiles_lock"
                | "noiseaware_activity_zone"
                | "minut_sensor"
                | "ecobee_thermostat"
                | "nest_thermostat"
                | "honeywell_resideo_thermostat"
                | "tado_thermostat"
                | "sensi_thermostat"
                | "smartthings_thermostat"
                | "ios_phone"
                | "android_phone";
            display_name: string;
            errors: (
                | {
                    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: "lockly_missing_wifi_bridge";
                    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_managed: true;
            location: null | {
                location_name?: string;
                timezone?: string;
            };
            nickname?: string;
            properties: {
                accessory_keypad?: {
                    battery?: (...) | (...);
                    is_connected: boolean;
                };
                appearance: {
                    name: string;
                };
                battery?: {
                    level: number;
                    status:
                        | (...)
                        | (...)
                        | (...)
                        | (...);
                };
                battery_level?: number;
                currently_triggering_noise_threshold_ids?: string[];
                has_direct_power?: boolean;
                image_alt_text?: string;
                image_url?: string;
                manufacturer?: string;
                model: {
                    accessory_keypad_supported?: boolean;
                    can_connect_accessory_keypad?: boolean;
                    display_name: string;
                    has_built_in_keypad?: boolean;
                    manufacturer_display_name: string;
                    offline_access_codes_supported?: boolean;
                    online_access_codes_supported?: boolean;
                };
                name: string;
                noise_level_decibels?: number;
                offline_access_codes_enabled?: boolean;
                online: boolean;
                online_access_codes_enabled?: boolean;
                serial_number?: string;
                supports_accessory_keypad?: boolean;
                supports_offline_access_codes?: boolean;
            } & {
                assa_abloy_credential_service_metadata?: {
                    endpoints: (...)[];
                    has_active_endpoint: boolean;
                };
                salto_space_credential_service_metadata?: {
                    has_active_phone: boolean;
                };
            } & {
                akiles_metadata?: {
                    _member_group_id?: (...) | (...);
                    gadget_id: string;
                    gadget_name: string;
                    product_name: string;
                };
                assa_abloy_vostio_metadata?: {
                    encoder_name: string;
                };
                august_metadata?: {
                    has_keypad: boolean;
                    house_id?: (...) | (...);
                    house_name: string;
                    keypad_battery_level?: (...) | (...);
                    lock_id: string;
                    lock_name: string;
                    model?: (...) | (...);
                };
                avigilon_alta_metadata?: {
                    entry_name: string;
                    entry_relays_total_count: number;
                    org_name: string;
                    site_id: number;
                    site_name: string;
                    zone_id: number;
                    zone_name: string;
                };
                brivo_metadata?: {
                    device_name: string;
                };
                controlbyweb_metadata?: {
                    device_id: string;
                    device_name: string;
                    relay_name: (...) | (...);
                };
                dormakaba_oracode_metadata?: {
                    device_id?: (...) | (...) | (...);
                    door_id?: (...) | (...);
                    door_is_wireless: boolean;
                    door_name: string;
                    iana_timezone?: (...) | (...);
                    predefined_time_slots?: (...) | (...);
                    site_id: (...) | (...);
                    site_name: string;
                };
                ecobee_metadata?: {
                    device_name: string;
                    ecobee_device_id: string;
                };
                four_suites_metadata?: {
                    device_id: number;
                    device_name: string;
                    reclose_delay_in_seconds: number;
                };
                genie_metadata?: {
                    device_name: string;
                    door_name: string;
                };
                honeywell_resideo_metadata?: {
                    device_name: string;
                    honeywell_resideo_device_id: string;
                };
                hubitat_metadata?: {
                    device_id: string;
                    device_label: string;
                    device_name: string;
                };
                igloo_metadata?: {
                    bridge_id: string;
                    device_id: string;
                    model?: (...) | (...);
                };
                igloohome_metadata?: {
                    bridge_id?: (...) | (...);
                    bridge_name?: (...) | (...);
                    device_id: string;
                    device_name: string;
                    keypad_id?: (...) | (...);
                };
                kwikset_metadata?: {
                    device_id: string;
                    device_name: string;
                    model_number: string;
                };
                lockly_metadata?: {
                    device_id: string;
                    device_name: string;
                    model?: (...) | (...);
                };
                minut_metadata?: {
                    device_id: string;
                    device_name: string;
                    latest_sensor_values: {
                        accelerometer_z: ...;
                        humidity: ...;
                        pressure: ...;
                        sound: ...;
                        temperature: ...;
                    };
                };
                nest_metadata?: {
                    device_custom_name: string;
                    device_name: string;
                    display_name?: (...) | (...);
                    nest_device_id: string;
                };
                noiseaware_metadata?: {
                    device_id: string;
                    device_model: (...) | (...);
                    device_name: string;
                    noise_level_decibel: number;
                    noise_level_nrs: number;
                };
                nuki_metadata?: {
                    device_id: string;
                    device_name: string;
                    keypad_2_paired?: (...) | (...) | (...);
                    keypad_battery_critical?: (...) | (...) | (...);
                    keypad_paired?: (...) | (...) | (...);
                };
                salto_ks_metadata?: {
                    battery_level: string;
                    customer_reference: string;
                    lock_id: string;
                    lock_type: string;
                    locked_state: string;
                    model?: (...) | (...);
                };
                salto_metadata?: {
                    battery_level: string;
                    customer_reference: string;
                    lock_id: string;
                    lock_type: string;
                    locked_state: string;
                    model?: (...) | (...);
                };
                schlage_metadata?: {
                    device_id: string;
                    device_name: string;
                    model?: (...) | (...);
                };
                seam_bridge_metadata?: {
                    device_num: number;
                    name: string;
                    unlock_method?: (...) | (...) | (...);
                };
                sensi_metadata?: {
                    device_id: string;
                    device_name: string;
                    product_type: string;
                };
                smartthings_metadata?: {
                    device_id: string;
                    device_name: string;
                    location_id?: (...) | (...);
                    model?: (...) | (...);
                };
                tado_metadata?: {
                    device_type: string;
                    serial_no: string;
                };
                tedee_metadata?: {
                    bridge_id: number;
                    bridge_name: string;
                    device_id: number;
                    device_model: string;
                    device_name: string;
                    keypad_id?: (...) | (...);
                    serial_number: string;
                };
                ttlock_metadata?: {
                    feature_value: string;
                    features: {
                        incomplete_keyboard_passcode: ...;
                        lock_command: ...;
                        passcode: ...;
                        passcode_management: ...;
                        unlock_via_gateway: ...;
                        wifi: ...;
                    };
                    has_gateway?: (...) | (...) | (...);
                    lock_alias: string;
                    lock_id: number;
                    wireless_keypads?: (...) | (...);
                };
                two_n_metadata?: {
                    device_id: number;
                    device_name: string;
                };
                visionline_metadata?: {
                    encoder_id: string;
                };
                wyze_metadata?: {
                    device_id: string;
                    device_info_model: string;
                    device_name: string;
                    keypad_uuid?: (...) | (...);
                    locker_status_hardlock?: (...) | (...);
                    product_model: string;
                    product_name: string;
                    product_type: string;
                };
            } & {
                _experimental_supported_code_from_access_codes_lengths?: number[];
                code_constraints?: ((...) | (...))[];
                door_open?: boolean;
                has_native_entry_events?: boolean;
                keypad_battery?: {
                    level: number;
                };
                locked?: boolean;
                max_active_codes_supported?: number;
                supported_code_lengths?: number[];
                supports_backup_access_code_pool?: boolean;
            } & {
                active_thermostat_schedule?: null | {
                    climate_preset_key: string;
                    created_at: string;
                    device_id: string;
                    ends_at: string;
                    errors: (...)[];
                    is_override_allowed?: (...) | (...) | (...);
                    max_override_period_minutes?: (...) | (...) | (...);
                    name: (...) | (...);
                    starts_at: string;
                    thermostat_schedule_id: string;
                    workspace_id: string;
                };
                available_climate_presets?: {
                    can_delete: ...;
                    can_edit: ...;
                    can_program: ...;
                    climate_preset_key: ...;
                    cooling_set_point_celsius?: ...;
                    cooling_set_point_fahrenheit?: ...;
                    display_name: ...;
                    fan_mode_setting?: ...;
                    heating_set_point_celsius?: ...;
                    heating_set_point_fahrenheit?: ...;
                    hvac_mode_setting?: ...;
                    manual_override_allowed: ...;
                    name?: ...;
                }[];
                available_fan_mode_settings?: ((...) | (...) | (...))[];
                available_hvac_mode_settings?: (
                    | (...)
                    | (...)
                    | (...)
                    | (...))[];
                current_climate_setting?: {
                    can_delete?: (...) | (...) | (...);
                    can_edit?: (...) | (...) | (...);
                    can_program?: (...) | (...) | (...);
                    climate_preset_key?: (...) | (...);
                    cooling_set_point_celsius?: (...) | (...);
                    cooling_set_point_fahrenheit?: (...) | (...);
                    display_name?: (...) | (...);
                    fan_mode_setting?:
                        | (...)
                        | (...)
                        | (...)
                        | (...);
                    heating_set_point_celsius?: (...) | (...);
                    heating_set_point_fahrenheit?: (...) | (...);
                    hvac_mode_setting?:
                        | (...)
                        | (...)
                        | (...)
                        | (...)
                        | (...);
                    manual_override_allowed?: (...) | (...) | (...);
                    name?: (...) | (...) | (...);
                };
                default_climate_setting?: {
                    can_delete?: (...) | (...) | (...);
                    can_edit?: (...) | (...) | (...);
                    can_program?: (...) | (...) | (...);
                    climate_preset_key?: (...) | (...);
                    cooling_set_point_celsius?: (...) | (...);
                    cooling_set_point_fahrenheit?: (...) | (...);
                    display_name?: (...) | (...);
                    fan_mode_setting?:
                        | (...)
                        | (...)
                        | (...)
                        | (...);
                    heating_set_point_celsius?: (...) | (...);
                    heating_set_point_fahrenheit?: (...) | (...);
                    hvac_mode_setting?:
                        | (...)
                        | (...)
                        | (...)
                        | (...)
                        | (...);
                    manual_override_allowed?: (...) | (...) | (...);
                    name?: (...) | (...) | (...);
                };
                fallback_climate_preset_key?: null | string;
                fan_mode_setting?: "auto" | "on" | "circulate";
                is_cooling?: boolean;
                is_fan_running?: boolean;
                is_heating?: boolean;
                is_temporary_manual_override_active?: boolean;
                max_cooling_set_point_celsius?: number;
                max_cooling_set_point_fahrenheit?: number;
                max_heating_set_point_celsius?: number;
                max_heating_set_point_fahrenheit?: number;
                min_cooling_set_point_celsius?: number;
                min_cooling_set_point_fahrenheit?: number;
                min_heating_cooling_delta_celsius?: number;
                min_heating_cooling_delta_fahrenheit?: number;
                min_heating_set_point_celsius?: number;
                min_heating_set_point_fahrenheit?: number;
                relative_humidity?: number;
                temperature_celsius?: number;
                temperature_fahrenheit?: number;
                temperature_threshold?: {
                    lower_limit_celsius: (...) | (...);
                    lower_limit_fahrenheit: (...) | (...);
                    upper_limit_celsius: (...) | (...);
                    upper_limit_fahrenheit: (...) | (...);
                };
                thermostat_daily_programs?: {
                    created_at: ...;
                    device_id: ...;
                    name: ...;
                    periods: ...;
                    thermostat_daily_program_id: ...;
                    workspace_id: ...;
                }[];
                thermostat_weekly_program?: null | {
                    created_at: string;
                    friday_program_id: (...) | (...);
                    monday_program_id: (...) | (...);
                    saturday_program_id: (...) | (...);
                    sunday_program_id: (...) | (...);
                    thursday_program_id: (...) | (...);
                    tuesday_program_id: (...) | (...);
                    wednesday_program_id: (...) | (...);
                };
            };
            warnings: (
                | {
                    created_at: string;
                    message: string;
                    warning_code: "partial_backup_access_code_pool";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "many_active_backup_codes";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "wyze_device_missing_gateway";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "functional_offline_device";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "third_party_integration_detected";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "nest_thermostat_in_manual_eco_mode";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "ttlock_lock_gateway_unlocking_not_enabled";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "ttlock_weak_gateway_signal";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "power_saving_mode";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "temperature_threshold_exceeded";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "device_communication_degraded";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "scheduled_maintenance_window";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "device_has_flaky_connection";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "salto_ks_office_mode";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "salto_ks_privacy_mode";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "salto_ks_subscription_limit_almost_reached";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "unknown_issue_with_phone";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "lockly_time_zone_not_configured";
                })[];
            workspace_id: string;
        };
        lock: {
            can_hvac_cool?: boolean;
            can_hvac_heat?: boolean;
            can_hvac_heat_cool?: boolean;
            can_program_offline_access_codes?: boolean;
            can_program_online_access_codes?: boolean;
            can_remotely_lock?: boolean;
            can_remotely_unlock?: boolean;
            can_simulate_connection?: boolean;
            can_simulate_disconnection?: boolean;
            can_simulate_removal?: boolean;
            can_turn_off_hvac?: boolean;
            capabilities_supported: (
                | "access_code"
                | "lock"
                | "phone"
                | "thermostat"
                | "noise_detection"
                | "battery")[];
            connected_account_id: string;
            created_at: string;
            custom_metadata: Record<string, string | boolean>;
            device_id: string;
            device_type:
                | "akuvox_lock"
                | "august_lock"
                | "brivo_access_point"
                | "butterflymx_panel"
                | "avigilon_alta_entry"
                | "doorking_lock"
                | "genie_door"
                | "igloo_lock"
                | "linear_lock"
                | "lockly_lock"
                | "kwikset_lock"
                | "nuki_lock"
                | "salto_lock"
                | "schlage_lock"
                | "seam_relay"
                | "smartthings_lock"
                | "wyze_lock"
                | "yale_lock"
                | "two_n_intercom"
                | "controlbyweb_device"
                | "ttlock_lock"
                | "igloohome_lock"
                | "hubitat_lock"
                | "four_suites_door"
                | "dormakaba_oracode_door"
                | "tedee_lock"
                | "akiles_lock"
                | "noiseaware_activity_zone"
                | "minut_sensor"
                | "ecobee_thermostat"
                | "nest_thermostat"
                | "honeywell_resideo_thermostat"
                | "tado_thermostat"
                | "sensi_thermostat"
                | "smartthings_thermostat"
                | "ios_phone"
                | "android_phone";
            display_name: string;
            errors: (
                | {
                    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: "lockly_missing_wifi_bridge";
                    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_managed: true;
            location: null | {
                location_name?: string;
                timezone?: string;
            };
            nickname?: string;
            properties: {
                accessory_keypad?: {
                    battery?: (...) | (...);
                    is_connected: boolean;
                };
                appearance: {
                    name: string;
                };
                battery?: {
                    level: number;
                    status:
                        | (...)
                        | (...)
                        | (...)
                        | (...);
                };
                battery_level?: number;
                currently_triggering_noise_threshold_ids?: string[];
                has_direct_power?: boolean;
                image_alt_text?: string;
                image_url?: string;
                manufacturer?: string;
                model: {
                    accessory_keypad_supported?: boolean;
                    can_connect_accessory_keypad?: boolean;
                    display_name: string;
                    has_built_in_keypad?: boolean;
                    manufacturer_display_name: string;
                    offline_access_codes_supported?: boolean;
                    online_access_codes_supported?: boolean;
                };
                name: string;
                noise_level_decibels?: number;
                offline_access_codes_enabled?: boolean;
                online: boolean;
                online_access_codes_enabled?: boolean;
                serial_number?: string;
                supports_accessory_keypad?: boolean;
                supports_offline_access_codes?: boolean;
            } & {
                assa_abloy_credential_service_metadata?: {
                    endpoints: (...)[];
                    has_active_endpoint: boolean;
                };
                salto_space_credential_service_metadata?: {
                    has_active_phone: boolean;
                };
            } & {
                akiles_metadata?: {
                    _member_group_id?: (...) | (...);
                    gadget_id: string;
                    gadget_name: string;
                    product_name: string;
                };
                assa_abloy_vostio_metadata?: {
                    encoder_name: string;
                };
                august_metadata?: {
                    has_keypad: boolean;
                    house_id?: (...) | (...);
                    house_name: string;
                    keypad_battery_level?: (...) | (...);
                    lock_id: string;
                    lock_name: string;
                    model?: (...) | (...);
                };
                avigilon_alta_metadata?: {
                    entry_name: string;
                    entry_relays_total_count: number;
                    org_name: string;
                    site_id: number;
                    site_name: string;
                    zone_id: number;
                    zone_name: string;
                };
                brivo_metadata?: {
                    device_name: string;
                };
                controlbyweb_metadata?: {
                    device_id: string;
                    device_name: string;
                    relay_name: (...) | (...);
                };
                dormakaba_oracode_metadata?: {
                    device_id?: (...) | (...) | (...);
                    door_id?: (...) | (...);
                    door_is_wireless: boolean;
                    door_name: string;
                    iana_timezone?: (...) | (...);
                    predefined_time_slots?: (...) | (...);
                    site_id: (...) | (...);
                    site_name: string;
                };
                ecobee_metadata?: {
                    device_name: string;
                    ecobee_device_id: string;
                };
                four_suites_metadata?: {
                    device_id: number;
                    device_name: string;
                    reclose_delay_in_seconds: number;
                };
                genie_metadata?: {
                    device_name: string;
                    door_name: string;
                };
                honeywell_resideo_metadata?: {
                    device_name: string;
                    honeywell_resideo_device_id: string;
                };
                hubitat_metadata?: {
                    device_id: string;
                    device_label: string;
                    device_name: string;
                };
                igloo_metadata?: {
                    bridge_id: string;
                    device_id: string;
                    model?: (...) | (...);
                };
                igloohome_metadata?: {
                    bridge_id?: (...) | (...);
                    bridge_name?: (...) | (...);
                    device_id: string;
                    device_name: string;
                    keypad_id?: (...) | (...);
                };
                kwikset_metadata?: {
                    device_id: string;
                    device_name: string;
                    model_number: string;
                };
                lockly_metadata?: {
                    device_id: string;
                    device_name: string;
                    model?: (...) | (...);
                };
                minut_metadata?: {
                    device_id: string;
                    device_name: string;
                    latest_sensor_values: {
                        accelerometer_z: ...;
                        humidity: ...;
                        pressure: ...;
                        sound: ...;
                        temperature: ...;
                    };
                };
                nest_metadata?: {
                    device_custom_name: string;
                    device_name: string;
                    display_name?: (...) | (...);
                    nest_device_id: string;
                };
                noiseaware_metadata?: {
                    device_id: string;
                    device_model: (...) | (...);
                    device_name: string;
                    noise_level_decibel: number;
                    noise_level_nrs: number;
                };
                nuki_metadata?: {
                    device_id: string;
                    device_name: string;
                    keypad_2_paired?: (...) | (...) | (...);
                    keypad_battery_critical?: (...) | (...) | (...);
                    keypad_paired?: (...) | (...) | (...);
                };
                salto_ks_metadata?: {
                    battery_level: string;
                    customer_reference: string;
                    lock_id: string;
                    lock_type: string;
                    locked_state: string;
                    model?: (...) | (...);
                };
                salto_metadata?: {
                    battery_level: string;
                    customer_reference: string;
                    lock_id: string;
                    lock_type: string;
                    locked_state: string;
                    model?: (...) | (...);
                };
                schlage_metadata?: {
                    device_id: string;
                    device_name: string;
                    model?: (...) | (...);
                };
                seam_bridge_metadata?: {
                    device_num: number;
                    name: string;
                    unlock_method?: (...) | (...) | (...);
                };
                sensi_metadata?: {
                    device_id: string;
                    device_name: string;
                    product_type: string;
                };
                smartthings_metadata?: {
                    device_id: string;
                    device_name: string;
                    location_id?: (...) | (...);
                    model?: (...) | (...);
                };
                tado_metadata?: {
                    device_type: string;
                    serial_no: string;
                };
                tedee_metadata?: {
                    bridge_id: number;
                    bridge_name: string;
                    device_id: number;
                    device_model: string;
                    device_name: string;
                    keypad_id?: (...) | (...);
                    serial_number: string;
                };
                ttlock_metadata?: {
                    feature_value: string;
                    features: {
                        incomplete_keyboard_passcode: ...;
                        lock_command: ...;
                        passcode: ...;
                        passcode_management: ...;
                        unlock_via_gateway: ...;
                        wifi: ...;
                    };
                    has_gateway?: (...) | (...) | (...);
                    lock_alias: string;
                    lock_id: number;
                    wireless_keypads?: (...) | (...);
                };
                two_n_metadata?: {
                    device_id: number;
                    device_name: string;
                };
                visionline_metadata?: {
                    encoder_id: string;
                };
                wyze_metadata?: {
                    device_id: string;
                    device_info_model: string;
                    device_name: string;
                    keypad_uuid?: (...) | (...);
                    locker_status_hardlock?: (...) | (...);
                    product_model: string;
                    product_name: string;
                    product_type: string;
                };
            } & {
                _experimental_supported_code_from_access_codes_lengths?: number[];
                code_constraints?: ((...) | (...))[];
                door_open?: boolean;
                has_native_entry_events?: boolean;
                keypad_battery?: {
                    level: number;
                };
                locked?: boolean;
                max_active_codes_supported?: number;
                supported_code_lengths?: number[];
                supports_backup_access_code_pool?: boolean;
            } & {
                active_thermostat_schedule?: null | {
                    climate_preset_key: string;
                    created_at: string;
                    device_id: string;
                    ends_at: string;
                    errors: (...)[];
                    is_override_allowed?: (...) | (...) | (...);
                    max_override_period_minutes?: (...) | (...) | (...);
                    name: (...) | (...);
                    starts_at: string;
                    thermostat_schedule_id: string;
                    workspace_id: string;
                };
                available_climate_presets?: {
                    can_delete: ...;
                    can_edit: ...;
                    can_program: ...;
                    climate_preset_key: ...;
                    cooling_set_point_celsius?: ...;
                    cooling_set_point_fahrenheit?: ...;
                    display_name: ...;
                    fan_mode_setting?: ...;
                    heating_set_point_celsius?: ...;
                    heating_set_point_fahrenheit?: ...;
                    hvac_mode_setting?: ...;
                    manual_override_allowed: ...;
                    name?: ...;
                }[];
                available_fan_mode_settings?: ((...) | (...) | (...))[];
                available_hvac_mode_settings?: (
                    | (...)
                    | (...)
                    | (...)
                    | (...))[];
                current_climate_setting?: {
                    can_delete?: (...) | (...) | (...);
                    can_edit?: (...) | (...) | (...);
                    can_program?: (...) | (...) | (...);
                    climate_preset_key?: (...) | (...);
                    cooling_set_point_celsius?: (...) | (...);
                    cooling_set_point_fahrenheit?: (...) | (...);
                    display_name?: (...) | (...);
                    fan_mode_setting?:
                        | (...)
                        | (...)
                        | (...)
                        | (...);
                    heating_set_point_celsius?: (...) | (...);
                    heating_set_point_fahrenheit?: (...) | (...);
                    hvac_mode_setting?:
                        | (...)
                        | (...)
                        | (...)
                        | (...)
                        | (...);
                    manual_override_allowed?: (...) | (...) | (...);
                    name?: (...) | (...) | (...);
                };
                default_climate_setting?: {
                    can_delete?: (...) | (...) | (...);
                    can_edit?: (...) | (...) | (...);
                    can_program?: (...) | (...) | (...);
                    climate_preset_key?: (...) | (...);
                    cooling_set_point_celsius?: (...) | (...);
                    cooling_set_point_fahrenheit?: (...) | (...);
                    display_name?: (...) | (...);
                    fan_mode_setting?:
                        | (...)
                        | (...)
                        | (...)
                        | (...);
                    heating_set_point_celsius?: (...) | (...);
                    heating_set_point_fahrenheit?: (...) | (...);
                    hvac_mode_setting?:
                        | (...)
                        | (...)
                        | (...)
                        | (...)
                        | (...);
                    manual_override_allowed?: (...) | (...) | (...);
                    name?: (...) | (...) | (...);
                };
                fallback_climate_preset_key?: null | string;
                fan_mode_setting?: "auto" | "on" | "circulate";
                is_cooling?: boolean;
                is_fan_running?: boolean;
                is_heating?: boolean;
                is_temporary_manual_override_active?: boolean;
                max_cooling_set_point_celsius?: number;
                max_cooling_set_point_fahrenheit?: number;
                max_heating_set_point_celsius?: number;
                max_heating_set_point_fahrenheit?: number;
                min_cooling_set_point_celsius?: number;
                min_cooling_set_point_fahrenheit?: number;
                min_heating_cooling_delta_celsius?: number;
                min_heating_cooling_delta_fahrenheit?: number;
                min_heating_set_point_celsius?: number;
                min_heating_set_point_fahrenheit?: number;
                relative_humidity?: number;
                temperature_celsius?: number;
                temperature_fahrenheit?: number;
                temperature_threshold?: {
                    lower_limit_celsius: (...) | (...);
                    lower_limit_fahrenheit: (...) | (...);
                    upper_limit_celsius: (...) | (...);
                    upper_limit_fahrenheit: (...) | (...);
                };
                thermostat_daily_programs?: {
                    created_at: ...;
                    device_id: ...;
                    name: ...;
                    periods: ...;
                    thermostat_daily_program_id: ...;
                    workspace_id: ...;
                }[];
                thermostat_weekly_program?: null | {
                    created_at: string;
                    friday_program_id: (...) | (...);
                    monday_program_id: (...) | (...);
                    saturday_program_id: (...) | (...);
                    sunday_program_id: (...) | (...);
                    thursday_program_id: (...) | (...);
                    tuesday_program_id: (...) | (...);
                    wednesday_program_id: (...) | (...);
                };
            };
            warnings: (
                | {
                    created_at: string;
                    message: string;
                    warning_code: "partial_backup_access_code_pool";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "many_active_backup_codes";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "wyze_device_missing_gateway";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "functional_offline_device";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "third_party_integration_detected";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "nest_thermostat_in_manual_eco_mode";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "ttlock_lock_gateway_unlocking_not_enabled";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "ttlock_weak_gateway_signal";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "power_saving_mode";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "temperature_threshold_exceeded";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "device_communication_degraded";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "scheduled_maintenance_window";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "device_has_flaky_connection";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "salto_ks_office_mode";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "salto_ks_privacy_mode";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "salto_ks_subscription_limit_almost_reached";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "unknown_issue_with_phone";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "lockly_time_zone_not_configured";
                })[];
            workspace_id: string;
        };
    }>, "device" | "lock">, "device">)
  • Returns ((params?: {
        device_id?: string;
        name?: string;
    }) => SeamHttpRequest<SetNonNullable<Required<{
        device: {
            can_hvac_cool?: boolean;
            can_hvac_heat?: boolean;
            can_hvac_heat_cool?: boolean;
            can_program_offline_access_codes?: boolean;
            can_program_online_access_codes?: boolean;
            can_remotely_lock?: boolean;
            can_remotely_unlock?: boolean;
            can_simulate_connection?: boolean;
            can_simulate_disconnection?: boolean;
            can_simulate_removal?: boolean;
            can_turn_off_hvac?: boolean;
            capabilities_supported: (
                | "access_code"
                | "lock"
                | "phone"
                | "thermostat"
                | "noise_detection"
                | "battery")[];
            connected_account_id: string;
            created_at: string;
            custom_metadata: Record<string, string | boolean>;
            device_id: string;
            device_type:
                | "akuvox_lock"
                | "august_lock"
                | "brivo_access_point"
                | "butterflymx_panel"
                | "avigilon_alta_entry"
                | "doorking_lock"
                | "genie_door"
                | "igloo_lock"
                | "linear_lock"
                | "lockly_lock"
                | "kwikset_lock"
                | "nuki_lock"
                | "salto_lock"
                | "schlage_lock"
                | "seam_relay"
                | "smartthings_lock"
                | "wyze_lock"
                | "yale_lock"
                | "two_n_intercom"
                | "controlbyweb_device"
                | "ttlock_lock"
                | "igloohome_lock"
                | "hubitat_lock"
                | "four_suites_door"
                | "dormakaba_oracode_door"
                | "tedee_lock"
                | "akiles_lock"
                | "noiseaware_activity_zone"
                | "minut_sensor"
                | "ecobee_thermostat"
                | "nest_thermostat"
                | "honeywell_resideo_thermostat"
                | "tado_thermostat"
                | "sensi_thermostat"
                | "smartthings_thermostat"
                | "ios_phone"
                | "android_phone";
            display_name: string;
            errors: (
                | {
                    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: "lockly_missing_wifi_bridge";
                    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_managed: true;
            location: null | {
                location_name?: string;
                timezone?: string;
            };
            nickname?: string;
            properties: {
                accessory_keypad?: {
                    battery?: (...) | (...);
                    is_connected: boolean;
                };
                appearance: {
                    name: string;
                };
                battery?: {
                    level: number;
                    status:
                        | (...)
                        | (...)
                        | (...)
                        | (...);
                };
                battery_level?: number;
                currently_triggering_noise_threshold_ids?: string[];
                has_direct_power?: boolean;
                image_alt_text?: string;
                image_url?: string;
                manufacturer?: string;
                model: {
                    accessory_keypad_supported?: boolean;
                    can_connect_accessory_keypad?: boolean;
                    display_name: string;
                    has_built_in_keypad?: boolean;
                    manufacturer_display_name: string;
                    offline_access_codes_supported?: boolean;
                    online_access_codes_supported?: boolean;
                };
                name: string;
                noise_level_decibels?: number;
                offline_access_codes_enabled?: boolean;
                online: boolean;
                online_access_codes_enabled?: boolean;
                serial_number?: string;
                supports_accessory_keypad?: boolean;
                supports_offline_access_codes?: boolean;
            } & {
                assa_abloy_credential_service_metadata?: {
                    endpoints: (...)[];
                    has_active_endpoint: boolean;
                };
                salto_space_credential_service_metadata?: {
                    has_active_phone: boolean;
                };
            } & {
                akiles_metadata?: {
                    _member_group_id?: (...) | (...);
                    gadget_id: string;
                    gadget_name: string;
                    product_name: string;
                };
                assa_abloy_vostio_metadata?: {
                    encoder_name: string;
                };
                august_metadata?: {
                    has_keypad: boolean;
                    house_id?: (...) | (...);
                    house_name: string;
                    keypad_battery_level?: (...) | (...);
                    lock_id: string;
                    lock_name: string;
                    model?: (...) | (...);
                };
                avigilon_alta_metadata?: {
                    entry_name: string;
                    entry_relays_total_count: number;
                    org_name: string;
                    site_id: number;
                    site_name: string;
                    zone_id: number;
                    zone_name: string;
                };
                brivo_metadata?: {
                    device_name: string;
                };
                controlbyweb_metadata?: {
                    device_id: string;
                    device_name: string;
                    relay_name: (...) | (...);
                };
                dormakaba_oracode_metadata?: {
                    device_id?: (...) | (...) | (...);
                    door_id?: (...) | (...);
                    door_is_wireless: boolean;
                    door_name: string;
                    iana_timezone?: (...) | (...);
                    predefined_time_slots?: (...) | (...);
                    site_id: (...) | (...);
                    site_name: string;
                };
                ecobee_metadata?: {
                    device_name: string;
                    ecobee_device_id: string;
                };
                four_suites_metadata?: {
                    device_id: number;
                    device_name: string;
                    reclose_delay_in_seconds: number;
                };
                genie_metadata?: {
                    device_name: string;
                    door_name: string;
                };
                honeywell_resideo_metadata?: {
                    device_name: string;
                    honeywell_resideo_device_id: string;
                };
                hubitat_metadata?: {
                    device_id: string;
                    device_label: string;
                    device_name: string;
                };
                igloo_metadata?: {
                    bridge_id: string;
                    device_id: string;
                    model?: (...) | (...);
                };
                igloohome_metadata?: {
                    bridge_id?: (...) | (...);
                    bridge_name?: (...) | (...);
                    device_id: string;
                    device_name: string;
                    keypad_id?: (...) | (...);
                };
                kwikset_metadata?: {
                    device_id: string;
                    device_name: string;
                    model_number: string;
                };
                lockly_metadata?: {
                    device_id: string;
                    device_name: string;
                    model?: (...) | (...);
                };
                minut_metadata?: {
                    device_id: string;
                    device_name: string;
                    latest_sensor_values: {
                        accelerometer_z: ...;
                        humidity: ...;
                        pressure: ...;
                        sound: ...;
                        temperature: ...;
                    };
                };
                nest_metadata?: {
                    device_custom_name: string;
                    device_name: string;
                    display_name?: (...) | (...);
                    nest_device_id: string;
                };
                noiseaware_metadata?: {
                    device_id: string;
                    device_model: (...) | (...);
                    device_name: string;
                    noise_level_decibel: number;
                    noise_level_nrs: number;
                };
                nuki_metadata?: {
                    device_id: string;
                    device_name: string;
                    keypad_2_paired?: (...) | (...) | (...);
                    keypad_battery_critical?: (...) | (...) | (...);
                    keypad_paired?: (...) | (...) | (...);
                };
                salto_ks_metadata?: {
                    battery_level: string;
                    customer_reference: string;
                    lock_id: string;
                    lock_type: string;
                    locked_state: string;
                    model?: (...) | (...);
                };
                salto_metadata?: {
                    battery_level: string;
                    customer_reference: string;
                    lock_id: string;
                    lock_type: string;
                    locked_state: string;
                    model?: (...) | (...);
                };
                schlage_metadata?: {
                    device_id: string;
                    device_name: string;
                    model?: (...) | (...);
                };
                seam_bridge_metadata?: {
                    device_num: number;
                    name: string;
                    unlock_method?: (...) | (...) | (...);
                };
                sensi_metadata?: {
                    device_id: string;
                    device_name: string;
                    product_type: string;
                };
                smartthings_metadata?: {
                    device_id: string;
                    device_name: string;
                    location_id?: (...) | (...);
                    model?: (...) | (...);
                };
                tado_metadata?: {
                    device_type: string;
                    serial_no: string;
                };
                tedee_metadata?: {
                    bridge_id: number;
                    bridge_name: string;
                    device_id: number;
                    device_model: string;
                    device_name: string;
                    keypad_id?: (...) | (...);
                    serial_number: string;
                };
                ttlock_metadata?: {
                    feature_value: string;
                    features: {
                        incomplete_keyboard_passcode: ...;
                        lock_command: ...;
                        passcode: ...;
                        passcode_management: ...;
                        unlock_via_gateway: ...;
                        wifi: ...;
                    };
                    has_gateway?: (...) | (...) | (...);
                    lock_alias: string;
                    lock_id: number;
                    wireless_keypads?: (...) | (...);
                };
                two_n_metadata?: {
                    device_id: number;
                    device_name: string;
                };
                visionline_metadata?: {
                    encoder_id: string;
                };
                wyze_metadata?: {
                    device_id: string;
                    device_info_model: string;
                    device_name: string;
                    keypad_uuid?: (...) | (...);
                    locker_status_hardlock?: (...) | (...);
                    product_model: string;
                    product_name: string;
                    product_type: string;
                };
            } & {
                _experimental_supported_code_from_access_codes_lengths?: number[];
                code_constraints?: ((...) | (...))[];
                door_open?: boolean;
                has_native_entry_events?: boolean;
                keypad_battery?: {
                    level: number;
                };
                locked?: boolean;
                max_active_codes_supported?: number;
                supported_code_lengths?: number[];
                supports_backup_access_code_pool?: boolean;
            } & {
                active_thermostat_schedule?: null | {
                    climate_preset_key: string;
                    created_at: string;
                    device_id: string;
                    ends_at: string;
                    errors: (...)[];
                    is_override_allowed?: (...) | (...) | (...);
                    max_override_period_minutes?: (...) | (...) | (...);
                    name: (...) | (...);
                    starts_at: string;
                    thermostat_schedule_id: string;
                    workspace_id: string;
                };
                available_climate_presets?: {
                    can_delete: ...;
                    can_edit: ...;
                    can_program: ...;
                    climate_preset_key: ...;
                    cooling_set_point_celsius?: ...;
                    cooling_set_point_fahrenheit?: ...;
                    display_name: ...;
                    fan_mode_setting?: ...;
                    heating_set_point_celsius?: ...;
                    heating_set_point_fahrenheit?: ...;
                    hvac_mode_setting?: ...;
                    manual_override_allowed: ...;
                    name?: ...;
                }[];
                available_fan_mode_settings?: ((...) | (...) | (...))[];
                available_hvac_mode_settings?: (
                    | (...)
                    | (...)
                    | (...)
                    | (...))[];
                current_climate_setting?: {
                    can_delete?: (...) | (...) | (...);
                    can_edit?: (...) | (...) | (...);
                    can_program?: (...) | (...) | (...);
                    climate_preset_key?: (...) | (...);
                    cooling_set_point_celsius?: (...) | (...);
                    cooling_set_point_fahrenheit?: (...) | (...);
                    display_name?: (...) | (...);
                    fan_mode_setting?:
                        | (...)
                        | (...)
                        | (...)
                        | (...);
                    heating_set_point_celsius?: (...) | (...);
                    heating_set_point_fahrenheit?: (...) | (...);
                    hvac_mode_setting?:
                        | (...)
                        | (...)
                        | (...)
                        | (...)
                        | (...);
                    manual_override_allowed?: (...) | (...) | (...);
                    name?: (...) | (...) | (...);
                };
                default_climate_setting?: {
                    can_delete?: (...) | (...) | (...);
                    can_edit?: (...) | (...) | (...);
                    can_program?: (...) | (...) | (...);
                    climate_preset_key?: (...) | (...);
                    cooling_set_point_celsius?: (...) | (...);
                    cooling_set_point_fahrenheit?: (...) | (...);
                    display_name?: (...) | (...);
                    fan_mode_setting?:
                        | (...)
                        | (...)
                        | (...)
                        | (...);
                    heating_set_point_celsius?: (...) | (...);
                    heating_set_point_fahrenheit?: (...) | (...);
                    hvac_mode_setting?:
                        | (...)
                        | (...)
                        | (...)
                        | (...)
                        | (...);
                    manual_override_allowed?: (...) | (...) | (...);
                    name?: (...) | (...) | (...);
                };
                fallback_climate_preset_key?: null | string;
                fan_mode_setting?: "auto" | "on" | "circulate";
                is_cooling?: boolean;
                is_fan_running?: boolean;
                is_heating?: boolean;
                is_temporary_manual_override_active?: boolean;
                max_cooling_set_point_celsius?: number;
                max_cooling_set_point_fahrenheit?: number;
                max_heating_set_point_celsius?: number;
                max_heating_set_point_fahrenheit?: number;
                min_cooling_set_point_celsius?: number;
                min_cooling_set_point_fahrenheit?: number;
                min_heating_cooling_delta_celsius?: number;
                min_heating_cooling_delta_fahrenheit?: number;
                min_heating_set_point_celsius?: number;
                min_heating_set_point_fahrenheit?: number;
                relative_humidity?: number;
                temperature_celsius?: number;
                temperature_fahrenheit?: number;
                temperature_threshold?: {
                    lower_limit_celsius: (...) | (...);
                    lower_limit_fahrenheit: (...) | (...);
                    upper_limit_celsius: (...) | (...);
                    upper_limit_fahrenheit: (...) | (...);
                };
                thermostat_daily_programs?: {
                    created_at: ...;
                    device_id: ...;
                    name: ...;
                    periods: ...;
                    thermostat_daily_program_id: ...;
                    workspace_id: ...;
                }[];
                thermostat_weekly_program?: null | {
                    created_at: string;
                    friday_program_id: (...) | (...);
                    monday_program_id: (...) | (...);
                    saturday_program_id: (...) | (...);
                    sunday_program_id: (...) | (...);
                    thursday_program_id: (...) | (...);
                    tuesday_program_id: (...) | (...);
                    wednesday_program_id: (...) | (...);
                };
            };
            warnings: (
                | {
                    created_at: string;
                    message: string;
                    warning_code: "partial_backup_access_code_pool";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "many_active_backup_codes";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "wyze_device_missing_gateway";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "functional_offline_device";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "third_party_integration_detected";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "nest_thermostat_in_manual_eco_mode";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "ttlock_lock_gateway_unlocking_not_enabled";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "ttlock_weak_gateway_signal";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "power_saving_mode";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "temperature_threshold_exceeded";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "device_communication_degraded";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "scheduled_maintenance_window";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "device_has_flaky_connection";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "salto_ks_office_mode";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "salto_ks_privacy_mode";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "salto_ks_subscription_limit_almost_reached";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "unknown_issue_with_phone";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "lockly_time_zone_not_configured";
                })[];
            workspace_id: string;
        };
        lock: {
            can_hvac_cool?: boolean;
            can_hvac_heat?: boolean;
            can_hvac_heat_cool?: boolean;
            can_program_offline_access_codes?: boolean;
            can_program_online_access_codes?: boolean;
            can_remotely_lock?: boolean;
            can_remotely_unlock?: boolean;
            can_simulate_connection?: boolean;
            can_simulate_disconnection?: boolean;
            can_simulate_removal?: boolean;
            can_turn_off_hvac?: boolean;
            capabilities_supported: (
                | "access_code"
                | "lock"
                | "phone"
                | "thermostat"
                | "noise_detection"
                | "battery")[];
            connected_account_id: string;
            created_at: string;
            custom_metadata: Record<string, string | boolean>;
            device_id: string;
            device_type:
                | "akuvox_lock"
                | "august_lock"
                | "brivo_access_point"
                | "butterflymx_panel"
                | "avigilon_alta_entry"
                | "doorking_lock"
                | "genie_door"
                | "igloo_lock"
                | "linear_lock"
                | "lockly_lock"
                | "kwikset_lock"
                | "nuki_lock"
                | "salto_lock"
                | "schlage_lock"
                | "seam_relay"
                | "smartthings_lock"
                | "wyze_lock"
                | "yale_lock"
                | "two_n_intercom"
                | "controlbyweb_device"
                | "ttlock_lock"
                | "igloohome_lock"
                | "hubitat_lock"
                | "four_suites_door"
                | "dormakaba_oracode_door"
                | "tedee_lock"
                | "akiles_lock"
                | "noiseaware_activity_zone"
                | "minut_sensor"
                | "ecobee_thermostat"
                | "nest_thermostat"
                | "honeywell_resideo_thermostat"
                | "tado_thermostat"
                | "sensi_thermostat"
                | "smartthings_thermostat"
                | "ios_phone"
                | "android_phone";
            display_name: string;
            errors: (
                | {
                    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: "lockly_missing_wifi_bridge";
                    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_managed: true;
            location: null | {
                location_name?: string;
                timezone?: string;
            };
            nickname?: string;
            properties: {
                accessory_keypad?: {
                    battery?: (...) | (...);
                    is_connected: boolean;
                };
                appearance: {
                    name: string;
                };
                battery?: {
                    level: number;
                    status:
                        | (...)
                        | (...)
                        | (...)
                        | (...);
                };
                battery_level?: number;
                currently_triggering_noise_threshold_ids?: string[];
                has_direct_power?: boolean;
                image_alt_text?: string;
                image_url?: string;
                manufacturer?: string;
                model: {
                    accessory_keypad_supported?: boolean;
                    can_connect_accessory_keypad?: boolean;
                    display_name: string;
                    has_built_in_keypad?: boolean;
                    manufacturer_display_name: string;
                    offline_access_codes_supported?: boolean;
                    online_access_codes_supported?: boolean;
                };
                name: string;
                noise_level_decibels?: number;
                offline_access_codes_enabled?: boolean;
                online: boolean;
                online_access_codes_enabled?: boolean;
                serial_number?: string;
                supports_accessory_keypad?: boolean;
                supports_offline_access_codes?: boolean;
            } & {
                assa_abloy_credential_service_metadata?: {
                    endpoints: (...)[];
                    has_active_endpoint: boolean;
                };
                salto_space_credential_service_metadata?: {
                    has_active_phone: boolean;
                };
            } & {
                akiles_metadata?: {
                    _member_group_id?: (...) | (...);
                    gadget_id: string;
                    gadget_name: string;
                    product_name: string;
                };
                assa_abloy_vostio_metadata?: {
                    encoder_name: string;
                };
                august_metadata?: {
                    has_keypad: boolean;
                    house_id?: (...) | (...);
                    house_name: string;
                    keypad_battery_level?: (...) | (...);
                    lock_id: string;
                    lock_name: string;
                    model?: (...) | (...);
                };
                avigilon_alta_metadata?: {
                    entry_name: string;
                    entry_relays_total_count: number;
                    org_name: string;
                    site_id: number;
                    site_name: string;
                    zone_id: number;
                    zone_name: string;
                };
                brivo_metadata?: {
                    device_name: string;
                };
                controlbyweb_metadata?: {
                    device_id: string;
                    device_name: string;
                    relay_name: (...) | (...);
                };
                dormakaba_oracode_metadata?: {
                    device_id?: (...) | (...) | (...);
                    door_id?: (...) | (...);
                    door_is_wireless: boolean;
                    door_name: string;
                    iana_timezone?: (...) | (...);
                    predefined_time_slots?: (...) | (...);
                    site_id: (...) | (...);
                    site_name: string;
                };
                ecobee_metadata?: {
                    device_name: string;
                    ecobee_device_id: string;
                };
                four_suites_metadata?: {
                    device_id: number;
                    device_name: string;
                    reclose_delay_in_seconds: number;
                };
                genie_metadata?: {
                    device_name: string;
                    door_name: string;
                };
                honeywell_resideo_metadata?: {
                    device_name: string;
                    honeywell_resideo_device_id: string;
                };
                hubitat_metadata?: {
                    device_id: string;
                    device_label: string;
                    device_name: string;
                };
                igloo_metadata?: {
                    bridge_id: string;
                    device_id: string;
                    model?: (...) | (...);
                };
                igloohome_metadata?: {
                    bridge_id?: (...) | (...);
                    bridge_name?: (...) | (...);
                    device_id: string;
                    device_name: string;
                    keypad_id?: (...) | (...);
                };
                kwikset_metadata?: {
                    device_id: string;
                    device_name: string;
                    model_number: string;
                };
                lockly_metadata?: {
                    device_id: string;
                    device_name: string;
                    model?: (...) | (...);
                };
                minut_metadata?: {
                    device_id: string;
                    device_name: string;
                    latest_sensor_values: {
                        accelerometer_z: ...;
                        humidity: ...;
                        pressure: ...;
                        sound: ...;
                        temperature: ...;
                    };
                };
                nest_metadata?: {
                    device_custom_name: string;
                    device_name: string;
                    display_name?: (...) | (...);
                    nest_device_id: string;
                };
                noiseaware_metadata?: {
                    device_id: string;
                    device_model: (...) | (...);
                    device_name: string;
                    noise_level_decibel: number;
                    noise_level_nrs: number;
                };
                nuki_metadata?: {
                    device_id: string;
                    device_name: string;
                    keypad_2_paired?: (...) | (...) | (...);
                    keypad_battery_critical?: (...) | (...) | (...);
                    keypad_paired?: (...) | (...) | (...);
                };
                salto_ks_metadata?: {
                    battery_level: string;
                    customer_reference: string;
                    lock_id: string;
                    lock_type: string;
                    locked_state: string;
                    model?: (...) | (...);
                };
                salto_metadata?: {
                    battery_level: string;
                    customer_reference: string;
                    lock_id: string;
                    lock_type: string;
                    locked_state: string;
                    model?: (...) | (...);
                };
                schlage_metadata?: {
                    device_id: string;
                    device_name: string;
                    model?: (...) | (...);
                };
                seam_bridge_metadata?: {
                    device_num: number;
                    name: string;
                    unlock_method?: (...) | (...) | (...);
                };
                sensi_metadata?: {
                    device_id: string;
                    device_name: string;
                    product_type: string;
                };
                smartthings_metadata?: {
                    device_id: string;
                    device_name: string;
                    location_id?: (...) | (...);
                    model?: (...) | (...);
                };
                tado_metadata?: {
                    device_type: string;
                    serial_no: string;
                };
                tedee_metadata?: {
                    bridge_id: number;
                    bridge_name: string;
                    device_id: number;
                    device_model: string;
                    device_name: string;
                    keypad_id?: (...) | (...);
                    serial_number: string;
                };
                ttlock_metadata?: {
                    feature_value: string;
                    features: {
                        incomplete_keyboard_passcode: ...;
                        lock_command: ...;
                        passcode: ...;
                        passcode_management: ...;
                        unlock_via_gateway: ...;
                        wifi: ...;
                    };
                    has_gateway?: (...) | (...) | (...);
                    lock_alias: string;
                    lock_id: number;
                    wireless_keypads?: (...) | (...);
                };
                two_n_metadata?: {
                    device_id: number;
                    device_name: string;
                };
                visionline_metadata?: {
                    encoder_id: string;
                };
                wyze_metadata?: {
                    device_id: string;
                    device_info_model: string;
                    device_name: string;
                    keypad_uuid?: (...) | (...);
                    locker_status_hardlock?: (...) | (...);
                    product_model: string;
                    product_name: string;
                    product_type: string;
                };
            } & {
                _experimental_supported_code_from_access_codes_lengths?: number[];
                code_constraints?: ((...) | (...))[];
                door_open?: boolean;
                has_native_entry_events?: boolean;
                keypad_battery?: {
                    level: number;
                };
                locked?: boolean;
                max_active_codes_supported?: number;
                supported_code_lengths?: number[];
                supports_backup_access_code_pool?: boolean;
            } & {
                active_thermostat_schedule?: null | {
                    climate_preset_key: string;
                    created_at: string;
                    device_id: string;
                    ends_at: string;
                    errors: (...)[];
                    is_override_allowed?: (...) | (...) | (...);
                    max_override_period_minutes?: (...) | (...) | (...);
                    name: (...) | (...);
                    starts_at: string;
                    thermostat_schedule_id: string;
                    workspace_id: string;
                };
                available_climate_presets?: {
                    can_delete: ...;
                    can_edit: ...;
                    can_program: ...;
                    climate_preset_key: ...;
                    cooling_set_point_celsius?: ...;
                    cooling_set_point_fahrenheit?: ...;
                    display_name: ...;
                    fan_mode_setting?: ...;
                    heating_set_point_celsius?: ...;
                    heating_set_point_fahrenheit?: ...;
                    hvac_mode_setting?: ...;
                    manual_override_allowed: ...;
                    name?: ...;
                }[];
                available_fan_mode_settings?: ((...) | (...) | (...))[];
                available_hvac_mode_settings?: (
                    | (...)
                    | (...)
                    | (...)
                    | (...))[];
                current_climate_setting?: {
                    can_delete?: (...) | (...) | (...);
                    can_edit?: (...) | (...) | (...);
                    can_program?: (...) | (...) | (...);
                    climate_preset_key?: (...) | (...);
                    cooling_set_point_celsius?: (...) | (...);
                    cooling_set_point_fahrenheit?: (...) | (...);
                    display_name?: (...) | (...);
                    fan_mode_setting?:
                        | (...)
                        | (...)
                        | (...)
                        | (...);
                    heating_set_point_celsius?: (...) | (...);
                    heating_set_point_fahrenheit?: (...) | (...);
                    hvac_mode_setting?:
                        | (...)
                        | (...)
                        | (...)
                        | (...)
                        | (...);
                    manual_override_allowed?: (...) | (...) | (...);
                    name?: (...) | (...) | (...);
                };
                default_climate_setting?: {
                    can_delete?: (...) | (...) | (...);
                    can_edit?: (...) | (...) | (...);
                    can_program?: (...) | (...) | (...);
                    climate_preset_key?: (...) | (...);
                    cooling_set_point_celsius?: (...) | (...);
                    cooling_set_point_fahrenheit?: (...) | (...);
                    display_name?: (...) | (...);
                    fan_mode_setting?:
                        | (...)
                        | (...)
                        | (...)
                        | (...);
                    heating_set_point_celsius?: (...) | (...);
                    heating_set_point_fahrenheit?: (...) | (...);
                    hvac_mode_setting?:
                        | (...)
                        | (...)
                        | (...)
                        | (...)
                        | (...);
                    manual_override_allowed?: (...) | (...) | (...);
                    name?: (...) | (...) | (...);
                };
                fallback_climate_preset_key?: null | string;
                fan_mode_setting?: "auto" | "on" | "circulate";
                is_cooling?: boolean;
                is_fan_running?: boolean;
                is_heating?: boolean;
                is_temporary_manual_override_active?: boolean;
                max_cooling_set_point_celsius?: number;
                max_cooling_set_point_fahrenheit?: number;
                max_heating_set_point_celsius?: number;
                max_heating_set_point_fahrenheit?: number;
                min_cooling_set_point_celsius?: number;
                min_cooling_set_point_fahrenheit?: number;
                min_heating_cooling_delta_celsius?: number;
                min_heating_cooling_delta_fahrenheit?: number;
                min_heating_set_point_celsius?: number;
                min_heating_set_point_fahrenheit?: number;
                relative_humidity?: number;
                temperature_celsius?: number;
                temperature_fahrenheit?: number;
                temperature_threshold?: {
                    lower_limit_celsius: (...) | (...);
                    lower_limit_fahrenheit: (...) | (...);
                    upper_limit_celsius: (...) | (...);
                    upper_limit_fahrenheit: (...) | (...);
                };
                thermostat_daily_programs?: {
                    created_at: ...;
                    device_id: ...;
                    name: ...;
                    periods: ...;
                    thermostat_daily_program_id: ...;
                    workspace_id: ...;
                }[];
                thermostat_weekly_program?: null | {
                    created_at: string;
                    friday_program_id: (...) | (...);
                    monday_program_id: (...) | (...);
                    saturday_program_id: (...) | (...);
                    sunday_program_id: (...) | (...);
                    thursday_program_id: (...) | (...);
                    tuesday_program_id: (...) | (...);
                    wednesday_program_id: (...) | (...);
                };
            };
            warnings: (
                | {
                    created_at: string;
                    message: string;
                    warning_code: "partial_backup_access_code_pool";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "many_active_backup_codes";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "wyze_device_missing_gateway";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "functional_offline_device";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "third_party_integration_detected";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "nest_thermostat_in_manual_eco_mode";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "ttlock_lock_gateway_unlocking_not_enabled";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "ttlock_weak_gateway_signal";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "power_saving_mode";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "temperature_threshold_exceeded";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "device_communication_degraded";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "scheduled_maintenance_window";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "device_has_flaky_connection";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "salto_ks_office_mode";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "salto_ks_privacy_mode";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "salto_ks_subscription_limit_almost_reached";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "unknown_issue_with_phone";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "lockly_time_zone_not_configured";
                })[];
            workspace_id: string;
        };
    }>, "device" | "lock">, "device">)

      • (params?): SeamHttpRequest<SetNonNullable<Required<{
            device: {
                can_hvac_cool?: boolean;
                can_hvac_heat?: boolean;
                can_hvac_heat_cool?: boolean;
                can_program_offline_access_codes?: boolean;
                can_program_online_access_codes?: boolean;
                can_remotely_lock?: boolean;
                can_remotely_unlock?: boolean;
                can_simulate_connection?: boolean;
                can_simulate_disconnection?: boolean;
                can_simulate_removal?: boolean;
                can_turn_off_hvac?: boolean;
                capabilities_supported: (
                    | "access_code"
                    | "lock"
                    | "phone"
                    | "thermostat"
                    | "noise_detection"
                    | "battery")[];
                connected_account_id: string;
                created_at: string;
                custom_metadata: Record<string, string | boolean>;
                device_id: string;
                device_type:
                    | "akuvox_lock"
                    | "august_lock"
                    | "brivo_access_point"
                    | "butterflymx_panel"
                    | "avigilon_alta_entry"
                    | "doorking_lock"
                    | "genie_door"
                    | "igloo_lock"
                    | "linear_lock"
                    | "lockly_lock"
                    | "kwikset_lock"
                    | "nuki_lock"
                    | "salto_lock"
                    | "schlage_lock"
                    | "seam_relay"
                    | "smartthings_lock"
                    | "wyze_lock"
                    | "yale_lock"
                    | "two_n_intercom"
                    | "controlbyweb_device"
                    | "ttlock_lock"
                    | "igloohome_lock"
                    | "hubitat_lock"
                    | "four_suites_door"
                    | "dormakaba_oracode_door"
                    | "tedee_lock"
                    | "akiles_lock"
                    | "noiseaware_activity_zone"
                    | "minut_sensor"
                    | "ecobee_thermostat"
                    | "nest_thermostat"
                    | "honeywell_resideo_thermostat"
                    | "tado_thermostat"
                    | "sensi_thermostat"
                    | "smartthings_thermostat"
                    | "ios_phone"
                    | "android_phone";
                display_name: string;
                errors: (
                    | {
                        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: "lockly_missing_wifi_bridge";
                        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_managed: true;
                location: null | {
                    location_name?: string;
                    timezone?: string;
                };
                nickname?: string;
                properties: {
                    accessory_keypad?: {
                        battery?: (...) | (...);
                        is_connected: boolean;
                    };
                    appearance: {
                        name: string;
                    };
                    battery?: {
                        level: number;
                        status:
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                    };
                    battery_level?: number;
                    currently_triggering_noise_threshold_ids?: string[];
                    has_direct_power?: boolean;
                    image_alt_text?: string;
                    image_url?: string;
                    manufacturer?: string;
                    model: {
                        accessory_keypad_supported?: boolean;
                        can_connect_accessory_keypad?: boolean;
                        display_name: string;
                        has_built_in_keypad?: boolean;
                        manufacturer_display_name: string;
                        offline_access_codes_supported?: boolean;
                        online_access_codes_supported?: boolean;
                    };
                    name: string;
                    noise_level_decibels?: number;
                    offline_access_codes_enabled?: boolean;
                    online: boolean;
                    online_access_codes_enabled?: boolean;
                    serial_number?: string;
                    supports_accessory_keypad?: boolean;
                    supports_offline_access_codes?: boolean;
                } & {
                    assa_abloy_credential_service_metadata?: {
                        endpoints: (...)[];
                        has_active_endpoint: boolean;
                    };
                    salto_space_credential_service_metadata?: {
                        has_active_phone: boolean;
                    };
                } & {
                    akiles_metadata?: {
                        _member_group_id?: (...) | (...);
                        gadget_id: string;
                        gadget_name: string;
                        product_name: string;
                    };
                    assa_abloy_vostio_metadata?: {
                        encoder_name: string;
                    };
                    august_metadata?: {
                        has_keypad: boolean;
                        house_id?: (...) | (...);
                        house_name: string;
                        keypad_battery_level?: (...) | (...);
                        lock_id: string;
                        lock_name: string;
                        model?: (...) | (...);
                    };
                    avigilon_alta_metadata?: {
                        entry_name: string;
                        entry_relays_total_count: number;
                        org_name: string;
                        site_id: number;
                        site_name: string;
                        zone_id: number;
                        zone_name: string;
                    };
                    brivo_metadata?: {
                        device_name: string;
                    };
                    controlbyweb_metadata?: {
                        device_id: string;
                        device_name: string;
                        relay_name: (...) | (...);
                    };
                    dormakaba_oracode_metadata?: {
                        device_id?: (...) | (...) | (...);
                        door_id?: (...) | (...);
                        door_is_wireless: boolean;
                        door_name: string;
                        iana_timezone?: (...) | (...);
                        predefined_time_slots?: (...) | (...);
                        site_id: (...) | (...);
                        site_name: string;
                    };
                    ecobee_metadata?: {
                        device_name: string;
                        ecobee_device_id: string;
                    };
                    four_suites_metadata?: {
                        device_id: number;
                        device_name: string;
                        reclose_delay_in_seconds: number;
                    };
                    genie_metadata?: {
                        device_name: string;
                        door_name: string;
                    };
                    honeywell_resideo_metadata?: {
                        device_name: string;
                        honeywell_resideo_device_id: string;
                    };
                    hubitat_metadata?: {
                        device_id: string;
                        device_label: string;
                        device_name: string;
                    };
                    igloo_metadata?: {
                        bridge_id: string;
                        device_id: string;
                        model?: (...) | (...);
                    };
                    igloohome_metadata?: {
                        bridge_id?: (...) | (...);
                        bridge_name?: (...) | (...);
                        device_id: string;
                        device_name: string;
                        keypad_id?: (...) | (...);
                    };
                    kwikset_metadata?: {
                        device_id: string;
                        device_name: string;
                        model_number: string;
                    };
                    lockly_metadata?: {
                        device_id: string;
                        device_name: string;
                        model?: (...) | (...);
                    };
                    minut_metadata?: {
                        device_id: string;
                        device_name: string;
                        latest_sensor_values: {
                            accelerometer_z: ...;
                            humidity: ...;
                            pressure: ...;
                            sound: ...;
                            temperature: ...;
                        };
                    };
                    nest_metadata?: {
                        device_custom_name: string;
                        device_name: string;
                        display_name?: (...) | (...);
                        nest_device_id: string;
                    };
                    noiseaware_metadata?: {
                        device_id: string;
                        device_model: (...) | (...);
                        device_name: string;
                        noise_level_decibel: number;
                        noise_level_nrs: number;
                    };
                    nuki_metadata?: {
                        device_id: string;
                        device_name: string;
                        keypad_2_paired?: (...) | (...) | (...);
                        keypad_battery_critical?: (...) | (...) | (...);
                        keypad_paired?: (...) | (...) | (...);
                    };
                    salto_ks_metadata?: {
                        battery_level: string;
                        customer_reference: string;
                        lock_id: string;
                        lock_type: string;
                        locked_state: string;
                        model?: (...) | (...);
                    };
                    salto_metadata?: {
                        battery_level: string;
                        customer_reference: string;
                        lock_id: string;
                        lock_type: string;
                        locked_state: string;
                        model?: (...) | (...);
                    };
                    schlage_metadata?: {
                        device_id: string;
                        device_name: string;
                        model?: (...) | (...);
                    };
                    seam_bridge_metadata?: {
                        device_num: number;
                        name: string;
                        unlock_method?: (...) | (...) | (...);
                    };
                    sensi_metadata?: {
                        device_id: string;
                        device_name: string;
                        product_type: string;
                    };
                    smartthings_metadata?: {
                        device_id: string;
                        device_name: string;
                        location_id?: (...) | (...);
                        model?: (...) | (...);
                    };
                    tado_metadata?: {
                        device_type: string;
                        serial_no: string;
                    };
                    tedee_metadata?: {
                        bridge_id: number;
                        bridge_name: string;
                        device_id: number;
                        device_model: string;
                        device_name: string;
                        keypad_id?: (...) | (...);
                        serial_number: string;
                    };
                    ttlock_metadata?: {
                        feature_value: string;
                        features: {
                            incomplete_keyboard_passcode: ...;
                            lock_command: ...;
                            passcode: ...;
                            passcode_management: ...;
                            unlock_via_gateway: ...;
                            wifi: ...;
                        };
                        has_gateway?: (...) | (...) | (...);
                        lock_alias: string;
                        lock_id: number;
                        wireless_keypads?: (...) | (...);
                    };
                    two_n_metadata?: {
                        device_id: number;
                        device_name: string;
                    };
                    visionline_metadata?: {
                        encoder_id: string;
                    };
                    wyze_metadata?: {
                        device_id: string;
                        device_info_model: string;
                        device_name: string;
                        keypad_uuid?: (...) | (...);
                        locker_status_hardlock?: (...) | (...);
                        product_model: string;
                        product_name: string;
                        product_type: string;
                    };
                } & {
                    _experimental_supported_code_from_access_codes_lengths?: number[];
                    code_constraints?: ((...) | (...))[];
                    door_open?: boolean;
                    has_native_entry_events?: boolean;
                    keypad_battery?: {
                        level: number;
                    };
                    locked?: boolean;
                    max_active_codes_supported?: number;
                    supported_code_lengths?: number[];
                    supports_backup_access_code_pool?: boolean;
                } & {
                    active_thermostat_schedule?: null | {
                        climate_preset_key: string;
                        created_at: string;
                        device_id: string;
                        ends_at: string;
                        errors: (...)[];
                        is_override_allowed?: (...) | (...) | (...);
                        max_override_period_minutes?: (...) | (...) | (...);
                        name: (...) | (...);
                        starts_at: string;
                        thermostat_schedule_id: string;
                        workspace_id: string;
                    };
                    available_climate_presets?: {
                        can_delete: ...;
                        can_edit: ...;
                        can_program: ...;
                        climate_preset_key: ...;
                        cooling_set_point_celsius?: ...;
                        cooling_set_point_fahrenheit?: ...;
                        display_name: ...;
                        fan_mode_setting?: ...;
                        heating_set_point_celsius?: ...;
                        heating_set_point_fahrenheit?: ...;
                        hvac_mode_setting?: ...;
                        manual_override_allowed: ...;
                        name?: ...;
                    }[];
                    available_fan_mode_settings?: ((...) | (...) | (...))[];
                    available_hvac_mode_settings?: (
                        | (...)
                        | (...)
                        | (...)
                        | (...))[];
                    current_climate_setting?: {
                        can_delete?: (...) | (...) | (...);
                        can_edit?: (...) | (...) | (...);
                        can_program?: (...) | (...) | (...);
                        climate_preset_key?: (...) | (...);
                        cooling_set_point_celsius?: (...) | (...);
                        cooling_set_point_fahrenheit?: (...) | (...);
                        display_name?: (...) | (...);
                        fan_mode_setting?:
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                        heating_set_point_celsius?: (...) | (...);
                        heating_set_point_fahrenheit?: (...) | (...);
                        hvac_mode_setting?:
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                        manual_override_allowed?: (...) | (...) | (...);
                        name?: (...) | (...) | (...);
                    };
                    default_climate_setting?: {
                        can_delete?: (...) | (...) | (...);
                        can_edit?: (...) | (...) | (...);
                        can_program?: (...) | (...) | (...);
                        climate_preset_key?: (...) | (...);
                        cooling_set_point_celsius?: (...) | (...);
                        cooling_set_point_fahrenheit?: (...) | (...);
                        display_name?: (...) | (...);
                        fan_mode_setting?:
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                        heating_set_point_celsius?: (...) | (...);
                        heating_set_point_fahrenheit?: (...) | (...);
                        hvac_mode_setting?:
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                        manual_override_allowed?: (...) | (...) | (...);
                        name?: (...) | (...) | (...);
                    };
                    fallback_climate_preset_key?: null | string;
                    fan_mode_setting?: "auto" | "on" | "circulate";
                    is_cooling?: boolean;
                    is_fan_running?: boolean;
                    is_heating?: boolean;
                    is_temporary_manual_override_active?: boolean;
                    max_cooling_set_point_celsius?: number;
                    max_cooling_set_point_fahrenheit?: number;
                    max_heating_set_point_celsius?: number;
                    max_heating_set_point_fahrenheit?: number;
                    min_cooling_set_point_celsius?: number;
                    min_cooling_set_point_fahrenheit?: number;
                    min_heating_cooling_delta_celsius?: number;
                    min_heating_cooling_delta_fahrenheit?: number;
                    min_heating_set_point_celsius?: number;
                    min_heating_set_point_fahrenheit?: number;
                    relative_humidity?: number;
                    temperature_celsius?: number;
                    temperature_fahrenheit?: number;
                    temperature_threshold?: {
                        lower_limit_celsius: (...) | (...);
                        lower_limit_fahrenheit: (...) | (...);
                        upper_limit_celsius: (...) | (...);
                        upper_limit_fahrenheit: (...) | (...);
                    };
                    thermostat_daily_programs?: {
                        created_at: ...;
                        device_id: ...;
                        name: ...;
                        periods: ...;
                        thermostat_daily_program_id: ...;
                        workspace_id: ...;
                    }[];
                    thermostat_weekly_program?: null | {
                        created_at: string;
                        friday_program_id: (...) | (...);
                        monday_program_id: (...) | (...);
                        saturday_program_id: (...) | (...);
                        sunday_program_id: (...) | (...);
                        thursday_program_id: (...) | (...);
                        tuesday_program_id: (...) | (...);
                        wednesday_program_id: (...) | (...);
                    };
                };
                warnings: (
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "partial_backup_access_code_pool";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "many_active_backup_codes";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "wyze_device_missing_gateway";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "functional_offline_device";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "third_party_integration_detected";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "nest_thermostat_in_manual_eco_mode";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "ttlock_lock_gateway_unlocking_not_enabled";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "ttlock_weak_gateway_signal";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "power_saving_mode";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "temperature_threshold_exceeded";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "device_communication_degraded";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "scheduled_maintenance_window";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "device_has_flaky_connection";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "salto_ks_office_mode";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "salto_ks_privacy_mode";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "salto_ks_subscription_limit_almost_reached";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "unknown_issue_with_phone";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "lockly_time_zone_not_configured";
                    })[];
                workspace_id: string;
            };
            lock: {
                can_hvac_cool?: boolean;
                can_hvac_heat?: boolean;
                can_hvac_heat_cool?: boolean;
                can_program_offline_access_codes?: boolean;
                can_program_online_access_codes?: boolean;
                can_remotely_lock?: boolean;
                can_remotely_unlock?: boolean;
                can_simulate_connection?: boolean;
                can_simulate_disconnection?: boolean;
                can_simulate_removal?: boolean;
                can_turn_off_hvac?: boolean;
                capabilities_supported: (
                    | "access_code"
                    | "lock"
                    | "phone"
                    | "thermostat"
                    | "noise_detection"
                    | "battery")[];
                connected_account_id: string;
                created_at: string;
                custom_metadata: Record<string, string | boolean>;
                device_id: string;
                device_type:
                    | "akuvox_lock"
                    | "august_lock"
                    | "brivo_access_point"
                    | "butterflymx_panel"
                    | "avigilon_alta_entry"
                    | "doorking_lock"
                    | "genie_door"
                    | "igloo_lock"
                    | "linear_lock"
                    | "lockly_lock"
                    | "kwikset_lock"
                    | "nuki_lock"
                    | "salto_lock"
                    | "schlage_lock"
                    | "seam_relay"
                    | "smartthings_lock"
                    | "wyze_lock"
                    | "yale_lock"
                    | "two_n_intercom"
                    | "controlbyweb_device"
                    | "ttlock_lock"
                    | "igloohome_lock"
                    | "hubitat_lock"
                    | "four_suites_door"
                    | "dormakaba_oracode_door"
                    | "tedee_lock"
                    | "akiles_lock"
                    | "noiseaware_activity_zone"
                    | "minut_sensor"
                    | "ecobee_thermostat"
                    | "nest_thermostat"
                    | "honeywell_resideo_thermostat"
                    | "tado_thermostat"
                    | "sensi_thermostat"
                    | "smartthings_thermostat"
                    | "ios_phone"
                    | "android_phone";
                display_name: string;
                errors: (
                    | {
                        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: "lockly_missing_wifi_bridge";
                        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_managed: true;
                location: null | {
                    location_name?: string;
                    timezone?: string;
                };
                nickname?: string;
                properties: {
                    accessory_keypad?: {
                        battery?: (...) | (...);
                        is_connected: boolean;
                    };
                    appearance: {
                        name: string;
                    };
                    battery?: {
                        level: number;
                        status:
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                    };
                    battery_level?: number;
                    currently_triggering_noise_threshold_ids?: string[];
                    has_direct_power?: boolean;
                    image_alt_text?: string;
                    image_url?: string;
                    manufacturer?: string;
                    model: {
                        accessory_keypad_supported?: boolean;
                        can_connect_accessory_keypad?: boolean;
                        display_name: string;
                        has_built_in_keypad?: boolean;
                        manufacturer_display_name: string;
                        offline_access_codes_supported?: boolean;
                        online_access_codes_supported?: boolean;
                    };
                    name: string;
                    noise_level_decibels?: number;
                    offline_access_codes_enabled?: boolean;
                    online: boolean;
                    online_access_codes_enabled?: boolean;
                    serial_number?: string;
                    supports_accessory_keypad?: boolean;
                    supports_offline_access_codes?: boolean;
                } & {
                    assa_abloy_credential_service_metadata?: {
                        endpoints: (...)[];
                        has_active_endpoint: boolean;
                    };
                    salto_space_credential_service_metadata?: {
                        has_active_phone: boolean;
                    };
                } & {
                    akiles_metadata?: {
                        _member_group_id?: (...) | (...);
                        gadget_id: string;
                        gadget_name: string;
                        product_name: string;
                    };
                    assa_abloy_vostio_metadata?: {
                        encoder_name: string;
                    };
                    august_metadata?: {
                        has_keypad: boolean;
                        house_id?: (...) | (...);
                        house_name: string;
                        keypad_battery_level?: (...) | (...);
                        lock_id: string;
                        lock_name: string;
                        model?: (...) | (...);
                    };
                    avigilon_alta_metadata?: {
                        entry_name: string;
                        entry_relays_total_count: number;
                        org_name: string;
                        site_id: number;
                        site_name: string;
                        zone_id: number;
                        zone_name: string;
                    };
                    brivo_metadata?: {
                        device_name: string;
                    };
                    controlbyweb_metadata?: {
                        device_id: string;
                        device_name: string;
                        relay_name: (...) | (...);
                    };
                    dormakaba_oracode_metadata?: {
                        device_id?: (...) | (...) | (...);
                        door_id?: (...) | (...);
                        door_is_wireless: boolean;
                        door_name: string;
                        iana_timezone?: (...) | (...);
                        predefined_time_slots?: (...) | (...);
                        site_id: (...) | (...);
                        site_name: string;
                    };
                    ecobee_metadata?: {
                        device_name: string;
                        ecobee_device_id: string;
                    };
                    four_suites_metadata?: {
                        device_id: number;
                        device_name: string;
                        reclose_delay_in_seconds: number;
                    };
                    genie_metadata?: {
                        device_name: string;
                        door_name: string;
                    };
                    honeywell_resideo_metadata?: {
                        device_name: string;
                        honeywell_resideo_device_id: string;
                    };
                    hubitat_metadata?: {
                        device_id: string;
                        device_label: string;
                        device_name: string;
                    };
                    igloo_metadata?: {
                        bridge_id: string;
                        device_id: string;
                        model?: (...) | (...);
                    };
                    igloohome_metadata?: {
                        bridge_id?: (...) | (...);
                        bridge_name?: (...) | (...);
                        device_id: string;
                        device_name: string;
                        keypad_id?: (...) | (...);
                    };
                    kwikset_metadata?: {
                        device_id: string;
                        device_name: string;
                        model_number: string;
                    };
                    lockly_metadata?: {
                        device_id: string;
                        device_name: string;
                        model?: (...) | (...);
                    };
                    minut_metadata?: {
                        device_id: string;
                        device_name: string;
                        latest_sensor_values: {
                            accelerometer_z: ...;
                            humidity: ...;
                            pressure: ...;
                            sound: ...;
                            temperature: ...;
                        };
                    };
                    nest_metadata?: {
                        device_custom_name: string;
                        device_name: string;
                        display_name?: (...) | (...);
                        nest_device_id: string;
                    };
                    noiseaware_metadata?: {
                        device_id: string;
                        device_model: (...) | (...);
                        device_name: string;
                        noise_level_decibel: number;
                        noise_level_nrs: number;
                    };
                    nuki_metadata?: {
                        device_id: string;
                        device_name: string;
                        keypad_2_paired?: (...) | (...) | (...);
                        keypad_battery_critical?: (...) | (...) | (...);
                        keypad_paired?: (...) | (...) | (...);
                    };
                    salto_ks_metadata?: {
                        battery_level: string;
                        customer_reference: string;
                        lock_id: string;
                        lock_type: string;
                        locked_state: string;
                        model?: (...) | (...);
                    };
                    salto_metadata?: {
                        battery_level: string;
                        customer_reference: string;
                        lock_id: string;
                        lock_type: string;
                        locked_state: string;
                        model?: (...) | (...);
                    };
                    schlage_metadata?: {
                        device_id: string;
                        device_name: string;
                        model?: (...) | (...);
                    };
                    seam_bridge_metadata?: {
                        device_num: number;
                        name: string;
                        unlock_method?: (...) | (...) | (...);
                    };
                    sensi_metadata?: {
                        device_id: string;
                        device_name: string;
                        product_type: string;
                    };
                    smartthings_metadata?: {
                        device_id: string;
                        device_name: string;
                        location_id?: (...) | (...);
                        model?: (...) | (...);
                    };
                    tado_metadata?: {
                        device_type: string;
                        serial_no: string;
                    };
                    tedee_metadata?: {
                        bridge_id: number;
                        bridge_name: string;
                        device_id: number;
                        device_model: string;
                        device_name: string;
                        keypad_id?: (...) | (...);
                        serial_number: string;
                    };
                    ttlock_metadata?: {
                        feature_value: string;
                        features: {
                            incomplete_keyboard_passcode: ...;
                            lock_command: ...;
                            passcode: ...;
                            passcode_management: ...;
                            unlock_via_gateway: ...;
                            wifi: ...;
                        };
                        has_gateway?: (...) | (...) | (...);
                        lock_alias: string;
                        lock_id: number;
                        wireless_keypads?: (...) | (...);
                    };
                    two_n_metadata?: {
                        device_id: number;
                        device_name: string;
                    };
                    visionline_metadata?: {
                        encoder_id: string;
                    };
                    wyze_metadata?: {
                        device_id: string;
                        device_info_model: string;
                        device_name: string;
                        keypad_uuid?: (...) | (...);
                        locker_status_hardlock?: (...) | (...);
                        product_model: string;
                        product_name: string;
                        product_type: string;
                    };
                } & {
                    _experimental_supported_code_from_access_codes_lengths?: number[];
                    code_constraints?: ((...) | (...))[];
                    door_open?: boolean;
                    has_native_entry_events?: boolean;
                    keypad_battery?: {
                        level: number;
                    };
                    locked?: boolean;
                    max_active_codes_supported?: number;
                    supported_code_lengths?: number[];
                    supports_backup_access_code_pool?: boolean;
                } & {
                    active_thermostat_schedule?: null | {
                        climate_preset_key: string;
                        created_at: string;
                        device_id: string;
                        ends_at: string;
                        errors: (...)[];
                        is_override_allowed?: (...) | (...) | (...);
                        max_override_period_minutes?: (...) | (...) | (...);
                        name: (...) | (...);
                        starts_at: string;
                        thermostat_schedule_id: string;
                        workspace_id: string;
                    };
                    available_climate_presets?: {
                        can_delete: ...;
                        can_edit: ...;
                        can_program: ...;
                        climate_preset_key: ...;
                        cooling_set_point_celsius?: ...;
                        cooling_set_point_fahrenheit?: ...;
                        display_name: ...;
                        fan_mode_setting?: ...;
                        heating_set_point_celsius?: ...;
                        heating_set_point_fahrenheit?: ...;
                        hvac_mode_setting?: ...;
                        manual_override_allowed: ...;
                        name?: ...;
                    }[];
                    available_fan_mode_settings?: ((...) | (...) | (...))[];
                    available_hvac_mode_settings?: (
                        | (...)
                        | (...)
                        | (...)
                        | (...))[];
                    current_climate_setting?: {
                        can_delete?: (...) | (...) | (...);
                        can_edit?: (...) | (...) | (...);
                        can_program?: (...) | (...) | (...);
                        climate_preset_key?: (...) | (...);
                        cooling_set_point_celsius?: (...) | (...);
                        cooling_set_point_fahrenheit?: (...) | (...);
                        display_name?: (...) | (...);
                        fan_mode_setting?:
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                        heating_set_point_celsius?: (...) | (...);
                        heating_set_point_fahrenheit?: (...) | (...);
                        hvac_mode_setting?:
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                        manual_override_allowed?: (...) | (...) | (...);
                        name?: (...) | (...) | (...);
                    };
                    default_climate_setting?: {
                        can_delete?: (...) | (...) | (...);
                        can_edit?: (...) | (...) | (...);
                        can_program?: (...) | (...) | (...);
                        climate_preset_key?: (...) | (...);
                        cooling_set_point_celsius?: (...) | (...);
                        cooling_set_point_fahrenheit?: (...) | (...);
                        display_name?: (...) | (...);
                        fan_mode_setting?:
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                        heating_set_point_celsius?: (...) | (...);
                        heating_set_point_fahrenheit?: (...) | (...);
                        hvac_mode_setting?:
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                        manual_override_allowed?: (...) | (...) | (...);
                        name?: (...) | (...) | (...);
                    };
                    fallback_climate_preset_key?: null | string;
                    fan_mode_setting?: "auto" | "on" | "circulate";
                    is_cooling?: boolean;
                    is_fan_running?: boolean;
                    is_heating?: boolean;
                    is_temporary_manual_override_active?: boolean;
                    max_cooling_set_point_celsius?: number;
                    max_cooling_set_point_fahrenheit?: number;
                    max_heating_set_point_celsius?: number;
                    max_heating_set_point_fahrenheit?: number;
                    min_cooling_set_point_celsius?: number;
                    min_cooling_set_point_fahrenheit?: number;
                    min_heating_cooling_delta_celsius?: number;
                    min_heating_cooling_delta_fahrenheit?: number;
                    min_heating_set_point_celsius?: number;
                    min_heating_set_point_fahrenheit?: number;
                    relative_humidity?: number;
                    temperature_celsius?: number;
                    temperature_fahrenheit?: number;
                    temperature_threshold?: {
                        lower_limit_celsius: (...) | (...);
                        lower_limit_fahrenheit: (...) | (...);
                        upper_limit_celsius: (...) | (...);
                        upper_limit_fahrenheit: (...) | (...);
                    };
                    thermostat_daily_programs?: {
                        created_at: ...;
                        device_id: ...;
                        name: ...;
                        periods: ...;
                        thermostat_daily_program_id: ...;
                        workspace_id: ...;
                    }[];
                    thermostat_weekly_program?: null | {
                        created_at: string;
                        friday_program_id: (...) | (...);
                        monday_program_id: (...) | (...);
                        saturday_program_id: (...) | (...);
                        sunday_program_id: (...) | (...);
                        thursday_program_id: (...) | (...);
                        tuesday_program_id: (...) | (...);
                        wednesday_program_id: (...) | (...);
                    };
                };
                warnings: (
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "partial_backup_access_code_pool";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "many_active_backup_codes";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "wyze_device_missing_gateway";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "functional_offline_device";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "third_party_integration_detected";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "nest_thermostat_in_manual_eco_mode";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "ttlock_lock_gateway_unlocking_not_enabled";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "ttlock_weak_gateway_signal";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "power_saving_mode";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "temperature_threshold_exceeded";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "device_communication_degraded";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "scheduled_maintenance_window";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "device_has_flaky_connection";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "salto_ks_office_mode";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "salto_ks_privacy_mode";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "salto_ks_subscription_limit_almost_reached";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "unknown_issue_with_phone";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "lockly_time_zone_not_configured";
                    })[];
                workspace_id: string;
            };
        }>, "device" | "lock">, "device">
      • Parameters

        • Optionalparams: {
              device_id?: string;
              name?: string;
          }
          • Optionaldevice_id?: string

            ID of the lock that you want to get.

          • Optionalname?: string

            Name of the lock that you want to get.

        Returns SeamHttpRequest<SetNonNullable<Required<{
            device: {
                can_hvac_cool?: boolean;
                can_hvac_heat?: boolean;
                can_hvac_heat_cool?: boolean;
                can_program_offline_access_codes?: boolean;
                can_program_online_access_codes?: boolean;
                can_remotely_lock?: boolean;
                can_remotely_unlock?: boolean;
                can_simulate_connection?: boolean;
                can_simulate_disconnection?: boolean;
                can_simulate_removal?: boolean;
                can_turn_off_hvac?: boolean;
                capabilities_supported: (
                    | "access_code"
                    | "lock"
                    | "phone"
                    | "thermostat"
                    | "noise_detection"
                    | "battery")[];
                connected_account_id: string;
                created_at: string;
                custom_metadata: Record<string, string | boolean>;
                device_id: string;
                device_type:
                    | "akuvox_lock"
                    | "august_lock"
                    | "brivo_access_point"
                    | "butterflymx_panel"
                    | "avigilon_alta_entry"
                    | "doorking_lock"
                    | "genie_door"
                    | "igloo_lock"
                    | "linear_lock"
                    | "lockly_lock"
                    | "kwikset_lock"
                    | "nuki_lock"
                    | "salto_lock"
                    | "schlage_lock"
                    | "seam_relay"
                    | "smartthings_lock"
                    | "wyze_lock"
                    | "yale_lock"
                    | "two_n_intercom"
                    | "controlbyweb_device"
                    | "ttlock_lock"
                    | "igloohome_lock"
                    | "hubitat_lock"
                    | "four_suites_door"
                    | "dormakaba_oracode_door"
                    | "tedee_lock"
                    | "akiles_lock"
                    | "noiseaware_activity_zone"
                    | "minut_sensor"
                    | "ecobee_thermostat"
                    | "nest_thermostat"
                    | "honeywell_resideo_thermostat"
                    | "tado_thermostat"
                    | "sensi_thermostat"
                    | "smartthings_thermostat"
                    | "ios_phone"
                    | "android_phone";
                display_name: string;
                errors: (
                    | {
                        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: "lockly_missing_wifi_bridge";
                        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_managed: true;
                location: null | {
                    location_name?: string;
                    timezone?: string;
                };
                nickname?: string;
                properties: {
                    accessory_keypad?: {
                        battery?: (...) | (...);
                        is_connected: boolean;
                    };
                    appearance: {
                        name: string;
                    };
                    battery?: {
                        level: number;
                        status:
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                    };
                    battery_level?: number;
                    currently_triggering_noise_threshold_ids?: string[];
                    has_direct_power?: boolean;
                    image_alt_text?: string;
                    image_url?: string;
                    manufacturer?: string;
                    model: {
                        accessory_keypad_supported?: boolean;
                        can_connect_accessory_keypad?: boolean;
                        display_name: string;
                        has_built_in_keypad?: boolean;
                        manufacturer_display_name: string;
                        offline_access_codes_supported?: boolean;
                        online_access_codes_supported?: boolean;
                    };
                    name: string;
                    noise_level_decibels?: number;
                    offline_access_codes_enabled?: boolean;
                    online: boolean;
                    online_access_codes_enabled?: boolean;
                    serial_number?: string;
                    supports_accessory_keypad?: boolean;
                    supports_offline_access_codes?: boolean;
                } & {
                    assa_abloy_credential_service_metadata?: {
                        endpoints: (...)[];
                        has_active_endpoint: boolean;
                    };
                    salto_space_credential_service_metadata?: {
                        has_active_phone: boolean;
                    };
                } & {
                    akiles_metadata?: {
                        _member_group_id?: (...) | (...);
                        gadget_id: string;
                        gadget_name: string;
                        product_name: string;
                    };
                    assa_abloy_vostio_metadata?: {
                        encoder_name: string;
                    };
                    august_metadata?: {
                        has_keypad: boolean;
                        house_id?: (...) | (...);
                        house_name: string;
                        keypad_battery_level?: (...) | (...);
                        lock_id: string;
                        lock_name: string;
                        model?: (...) | (...);
                    };
                    avigilon_alta_metadata?: {
                        entry_name: string;
                        entry_relays_total_count: number;
                        org_name: string;
                        site_id: number;
                        site_name: string;
                        zone_id: number;
                        zone_name: string;
                    };
                    brivo_metadata?: {
                        device_name: string;
                    };
                    controlbyweb_metadata?: {
                        device_id: string;
                        device_name: string;
                        relay_name: (...) | (...);
                    };
                    dormakaba_oracode_metadata?: {
                        device_id?: (...) | (...) | (...);
                        door_id?: (...) | (...);
                        door_is_wireless: boolean;
                        door_name: string;
                        iana_timezone?: (...) | (...);
                        predefined_time_slots?: (...) | (...);
                        site_id: (...) | (...);
                        site_name: string;
                    };
                    ecobee_metadata?: {
                        device_name: string;
                        ecobee_device_id: string;
                    };
                    four_suites_metadata?: {
                        device_id: number;
                        device_name: string;
                        reclose_delay_in_seconds: number;
                    };
                    genie_metadata?: {
                        device_name: string;
                        door_name: string;
                    };
                    honeywell_resideo_metadata?: {
                        device_name: string;
                        honeywell_resideo_device_id: string;
                    };
                    hubitat_metadata?: {
                        device_id: string;
                        device_label: string;
                        device_name: string;
                    };
                    igloo_metadata?: {
                        bridge_id: string;
                        device_id: string;
                        model?: (...) | (...);
                    };
                    igloohome_metadata?: {
                        bridge_id?: (...) | (...);
                        bridge_name?: (...) | (...);
                        device_id: string;
                        device_name: string;
                        keypad_id?: (...) | (...);
                    };
                    kwikset_metadata?: {
                        device_id: string;
                        device_name: string;
                        model_number: string;
                    };
                    lockly_metadata?: {
                        device_id: string;
                        device_name: string;
                        model?: (...) | (...);
                    };
                    minut_metadata?: {
                        device_id: string;
                        device_name: string;
                        latest_sensor_values: {
                            accelerometer_z: ...;
                            humidity: ...;
                            pressure: ...;
                            sound: ...;
                            temperature: ...;
                        };
                    };
                    nest_metadata?: {
                        device_custom_name: string;
                        device_name: string;
                        display_name?: (...) | (...);
                        nest_device_id: string;
                    };
                    noiseaware_metadata?: {
                        device_id: string;
                        device_model: (...) | (...);
                        device_name: string;
                        noise_level_decibel: number;
                        noise_level_nrs: number;
                    };
                    nuki_metadata?: {
                        device_id: string;
                        device_name: string;
                        keypad_2_paired?: (...) | (...) | (...);
                        keypad_battery_critical?: (...) | (...) | (...);
                        keypad_paired?: (...) | (...) | (...);
                    };
                    salto_ks_metadata?: {
                        battery_level: string;
                        customer_reference: string;
                        lock_id: string;
                        lock_type: string;
                        locked_state: string;
                        model?: (...) | (...);
                    };
                    salto_metadata?: {
                        battery_level: string;
                        customer_reference: string;
                        lock_id: string;
                        lock_type: string;
                        locked_state: string;
                        model?: (...) | (...);
                    };
                    schlage_metadata?: {
                        device_id: string;
                        device_name: string;
                        model?: (...) | (...);
                    };
                    seam_bridge_metadata?: {
                        device_num: number;
                        name: string;
                        unlock_method?: (...) | (...) | (...);
                    };
                    sensi_metadata?: {
                        device_id: string;
                        device_name: string;
                        product_type: string;
                    };
                    smartthings_metadata?: {
                        device_id: string;
                        device_name: string;
                        location_id?: (...) | (...);
                        model?: (...) | (...);
                    };
                    tado_metadata?: {
                        device_type: string;
                        serial_no: string;
                    };
                    tedee_metadata?: {
                        bridge_id: number;
                        bridge_name: string;
                        device_id: number;
                        device_model: string;
                        device_name: string;
                        keypad_id?: (...) | (...);
                        serial_number: string;
                    };
                    ttlock_metadata?: {
                        feature_value: string;
                        features: {
                            incomplete_keyboard_passcode: ...;
                            lock_command: ...;
                            passcode: ...;
                            passcode_management: ...;
                            unlock_via_gateway: ...;
                            wifi: ...;
                        };
                        has_gateway?: (...) | (...) | (...);
                        lock_alias: string;
                        lock_id: number;
                        wireless_keypads?: (...) | (...);
                    };
                    two_n_metadata?: {
                        device_id: number;
                        device_name: string;
                    };
                    visionline_metadata?: {
                        encoder_id: string;
                    };
                    wyze_metadata?: {
                        device_id: string;
                        device_info_model: string;
                        device_name: string;
                        keypad_uuid?: (...) | (...);
                        locker_status_hardlock?: (...) | (...);
                        product_model: string;
                        product_name: string;
                        product_type: string;
                    };
                } & {
                    _experimental_supported_code_from_access_codes_lengths?: number[];
                    code_constraints?: ((...) | (...))[];
                    door_open?: boolean;
                    has_native_entry_events?: boolean;
                    keypad_battery?: {
                        level: number;
                    };
                    locked?: boolean;
                    max_active_codes_supported?: number;
                    supported_code_lengths?: number[];
                    supports_backup_access_code_pool?: boolean;
                } & {
                    active_thermostat_schedule?: null | {
                        climate_preset_key: string;
                        created_at: string;
                        device_id: string;
                        ends_at: string;
                        errors: (...)[];
                        is_override_allowed?: (...) | (...) | (...);
                        max_override_period_minutes?: (...) | (...) | (...);
                        name: (...) | (...);
                        starts_at: string;
                        thermostat_schedule_id: string;
                        workspace_id: string;
                    };
                    available_climate_presets?: {
                        can_delete: ...;
                        can_edit: ...;
                        can_program: ...;
                        climate_preset_key: ...;
                        cooling_set_point_celsius?: ...;
                        cooling_set_point_fahrenheit?: ...;
                        display_name: ...;
                        fan_mode_setting?: ...;
                        heating_set_point_celsius?: ...;
                        heating_set_point_fahrenheit?: ...;
                        hvac_mode_setting?: ...;
                        manual_override_allowed: ...;
                        name?: ...;
                    }[];
                    available_fan_mode_settings?: ((...) | (...) | (...))[];
                    available_hvac_mode_settings?: (
                        | (...)
                        | (...)
                        | (...)
                        | (...))[];
                    current_climate_setting?: {
                        can_delete?: (...) | (...) | (...);
                        can_edit?: (...) | (...) | (...);
                        can_program?: (...) | (...) | (...);
                        climate_preset_key?: (...) | (...);
                        cooling_set_point_celsius?: (...) | (...);
                        cooling_set_point_fahrenheit?: (...) | (...);
                        display_name?: (...) | (...);
                        fan_mode_setting?:
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                        heating_set_point_celsius?: (...) | (...);
                        heating_set_point_fahrenheit?: (...) | (...);
                        hvac_mode_setting?:
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                        manual_override_allowed?: (...) | (...) | (...);
                        name?: (...) | (...) | (...);
                    };
                    default_climate_setting?: {
                        can_delete?: (...) | (...) | (...);
                        can_edit?: (...) | (...) | (...);
                        can_program?: (...) | (...) | (...);
                        climate_preset_key?: (...) | (...);
                        cooling_set_point_celsius?: (...) | (...);
                        cooling_set_point_fahrenheit?: (...) | (...);
                        display_name?: (...) | (...);
                        fan_mode_setting?:
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                        heating_set_point_celsius?: (...) | (...);
                        heating_set_point_fahrenheit?: (...) | (...);
                        hvac_mode_setting?:
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                        manual_override_allowed?: (...) | (...) | (...);
                        name?: (...) | (...) | (...);
                    };
                    fallback_climate_preset_key?: null | string;
                    fan_mode_setting?: "auto" | "on" | "circulate";
                    is_cooling?: boolean;
                    is_fan_running?: boolean;
                    is_heating?: boolean;
                    is_temporary_manual_override_active?: boolean;
                    max_cooling_set_point_celsius?: number;
                    max_cooling_set_point_fahrenheit?: number;
                    max_heating_set_point_celsius?: number;
                    max_heating_set_point_fahrenheit?: number;
                    min_cooling_set_point_celsius?: number;
                    min_cooling_set_point_fahrenheit?: number;
                    min_heating_cooling_delta_celsius?: number;
                    min_heating_cooling_delta_fahrenheit?: number;
                    min_heating_set_point_celsius?: number;
                    min_heating_set_point_fahrenheit?: number;
                    relative_humidity?: number;
                    temperature_celsius?: number;
                    temperature_fahrenheit?: number;
                    temperature_threshold?: {
                        lower_limit_celsius: (...) | (...);
                        lower_limit_fahrenheit: (...) | (...);
                        upper_limit_celsius: (...) | (...);
                        upper_limit_fahrenheit: (...) | (...);
                    };
                    thermostat_daily_programs?: {
                        created_at: ...;
                        device_id: ...;
                        name: ...;
                        periods: ...;
                        thermostat_daily_program_id: ...;
                        workspace_id: ...;
                    }[];
                    thermostat_weekly_program?: null | {
                        created_at: string;
                        friday_program_id: (...) | (...);
                        monday_program_id: (...) | (...);
                        saturday_program_id: (...) | (...);
                        sunday_program_id: (...) | (...);
                        thursday_program_id: (...) | (...);
                        tuesday_program_id: (...) | (...);
                        wednesday_program_id: (...) | (...);
                    };
                };
                warnings: (
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "partial_backup_access_code_pool";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "many_active_backup_codes";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "wyze_device_missing_gateway";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "functional_offline_device";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "third_party_integration_detected";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "nest_thermostat_in_manual_eco_mode";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "ttlock_lock_gateway_unlocking_not_enabled";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "ttlock_weak_gateway_signal";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "power_saving_mode";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "temperature_threshold_exceeded";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "device_communication_degraded";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "scheduled_maintenance_window";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "device_has_flaky_connection";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "salto_ks_office_mode";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "salto_ks_privacy_mode";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "salto_ks_subscription_limit_almost_reached";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "unknown_issue_with_phone";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "lockly_time_zone_not_configured";
                    })[];
                workspace_id: string;
            };
            lock: {
                can_hvac_cool?: boolean;
                can_hvac_heat?: boolean;
                can_hvac_heat_cool?: boolean;
                can_program_offline_access_codes?: boolean;
                can_program_online_access_codes?: boolean;
                can_remotely_lock?: boolean;
                can_remotely_unlock?: boolean;
                can_simulate_connection?: boolean;
                can_simulate_disconnection?: boolean;
                can_simulate_removal?: boolean;
                can_turn_off_hvac?: boolean;
                capabilities_supported: (
                    | "access_code"
                    | "lock"
                    | "phone"
                    | "thermostat"
                    | "noise_detection"
                    | "battery")[];
                connected_account_id: string;
                created_at: string;
                custom_metadata: Record<string, string | boolean>;
                device_id: string;
                device_type:
                    | "akuvox_lock"
                    | "august_lock"
                    | "brivo_access_point"
                    | "butterflymx_panel"
                    | "avigilon_alta_entry"
                    | "doorking_lock"
                    | "genie_door"
                    | "igloo_lock"
                    | "linear_lock"
                    | "lockly_lock"
                    | "kwikset_lock"
                    | "nuki_lock"
                    | "salto_lock"
                    | "schlage_lock"
                    | "seam_relay"
                    | "smartthings_lock"
                    | "wyze_lock"
                    | "yale_lock"
                    | "two_n_intercom"
                    | "controlbyweb_device"
                    | "ttlock_lock"
                    | "igloohome_lock"
                    | "hubitat_lock"
                    | "four_suites_door"
                    | "dormakaba_oracode_door"
                    | "tedee_lock"
                    | "akiles_lock"
                    | "noiseaware_activity_zone"
                    | "minut_sensor"
                    | "ecobee_thermostat"
                    | "nest_thermostat"
                    | "honeywell_resideo_thermostat"
                    | "tado_thermostat"
                    | "sensi_thermostat"
                    | "smartthings_thermostat"
                    | "ios_phone"
                    | "android_phone";
                display_name: string;
                errors: (
                    | {
                        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: "lockly_missing_wifi_bridge";
                        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_managed: true;
                location: null | {
                    location_name?: string;
                    timezone?: string;
                };
                nickname?: string;
                properties: {
                    accessory_keypad?: {
                        battery?: (...) | (...);
                        is_connected: boolean;
                    };
                    appearance: {
                        name: string;
                    };
                    battery?: {
                        level: number;
                        status:
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                    };
                    battery_level?: number;
                    currently_triggering_noise_threshold_ids?: string[];
                    has_direct_power?: boolean;
                    image_alt_text?: string;
                    image_url?: string;
                    manufacturer?: string;
                    model: {
                        accessory_keypad_supported?: boolean;
                        can_connect_accessory_keypad?: boolean;
                        display_name: string;
                        has_built_in_keypad?: boolean;
                        manufacturer_display_name: string;
                        offline_access_codes_supported?: boolean;
                        online_access_codes_supported?: boolean;
                    };
                    name: string;
                    noise_level_decibels?: number;
                    offline_access_codes_enabled?: boolean;
                    online: boolean;
                    online_access_codes_enabled?: boolean;
                    serial_number?: string;
                    supports_accessory_keypad?: boolean;
                    supports_offline_access_codes?: boolean;
                } & {
                    assa_abloy_credential_service_metadata?: {
                        endpoints: (...)[];
                        has_active_endpoint: boolean;
                    };
                    salto_space_credential_service_metadata?: {
                        has_active_phone: boolean;
                    };
                } & {
                    akiles_metadata?: {
                        _member_group_id?: (...) | (...);
                        gadget_id: string;
                        gadget_name: string;
                        product_name: string;
                    };
                    assa_abloy_vostio_metadata?: {
                        encoder_name: string;
                    };
                    august_metadata?: {
                        has_keypad: boolean;
                        house_id?: (...) | (...);
                        house_name: string;
                        keypad_battery_level?: (...) | (...);
                        lock_id: string;
                        lock_name: string;
                        model?: (...) | (...);
                    };
                    avigilon_alta_metadata?: {
                        entry_name: string;
                        entry_relays_total_count: number;
                        org_name: string;
                        site_id: number;
                        site_name: string;
                        zone_id: number;
                        zone_name: string;
                    };
                    brivo_metadata?: {
                        device_name: string;
                    };
                    controlbyweb_metadata?: {
                        device_id: string;
                        device_name: string;
                        relay_name: (...) | (...);
                    };
                    dormakaba_oracode_metadata?: {
                        device_id?: (...) | (...) | (...);
                        door_id?: (...) | (...);
                        door_is_wireless: boolean;
                        door_name: string;
                        iana_timezone?: (...) | (...);
                        predefined_time_slots?: (...) | (...);
                        site_id: (...) | (...);
                        site_name: string;
                    };
                    ecobee_metadata?: {
                        device_name: string;
                        ecobee_device_id: string;
                    };
                    four_suites_metadata?: {
                        device_id: number;
                        device_name: string;
                        reclose_delay_in_seconds: number;
                    };
                    genie_metadata?: {
                        device_name: string;
                        door_name: string;
                    };
                    honeywell_resideo_metadata?: {
                        device_name: string;
                        honeywell_resideo_device_id: string;
                    };
                    hubitat_metadata?: {
                        device_id: string;
                        device_label: string;
                        device_name: string;
                    };
                    igloo_metadata?: {
                        bridge_id: string;
                        device_id: string;
                        model?: (...) | (...);
                    };
                    igloohome_metadata?: {
                        bridge_id?: (...) | (...);
                        bridge_name?: (...) | (...);
                        device_id: string;
                        device_name: string;
                        keypad_id?: (...) | (...);
                    };
                    kwikset_metadata?: {
                        device_id: string;
                        device_name: string;
                        model_number: string;
                    };
                    lockly_metadata?: {
                        device_id: string;
                        device_name: string;
                        model?: (...) | (...);
                    };
                    minut_metadata?: {
                        device_id: string;
                        device_name: string;
                        latest_sensor_values: {
                            accelerometer_z: ...;
                            humidity: ...;
                            pressure: ...;
                            sound: ...;
                            temperature: ...;
                        };
                    };
                    nest_metadata?: {
                        device_custom_name: string;
                        device_name: string;
                        display_name?: (...) | (...);
                        nest_device_id: string;
                    };
                    noiseaware_metadata?: {
                        device_id: string;
                        device_model: (...) | (...);
                        device_name: string;
                        noise_level_decibel: number;
                        noise_level_nrs: number;
                    };
                    nuki_metadata?: {
                        device_id: string;
                        device_name: string;
                        keypad_2_paired?: (...) | (...) | (...);
                        keypad_battery_critical?: (...) | (...) | (...);
                        keypad_paired?: (...) | (...) | (...);
                    };
                    salto_ks_metadata?: {
                        battery_level: string;
                        customer_reference: string;
                        lock_id: string;
                        lock_type: string;
                        locked_state: string;
                        model?: (...) | (...);
                    };
                    salto_metadata?: {
                        battery_level: string;
                        customer_reference: string;
                        lock_id: string;
                        lock_type: string;
                        locked_state: string;
                        model?: (...) | (...);
                    };
                    schlage_metadata?: {
                        device_id: string;
                        device_name: string;
                        model?: (...) | (...);
                    };
                    seam_bridge_metadata?: {
                        device_num: number;
                        name: string;
                        unlock_method?: (...) | (...) | (...);
                    };
                    sensi_metadata?: {
                        device_id: string;
                        device_name: string;
                        product_type: string;
                    };
                    smartthings_metadata?: {
                        device_id: string;
                        device_name: string;
                        location_id?: (...) | (...);
                        model?: (...) | (...);
                    };
                    tado_metadata?: {
                        device_type: string;
                        serial_no: string;
                    };
                    tedee_metadata?: {
                        bridge_id: number;
                        bridge_name: string;
                        device_id: number;
                        device_model: string;
                        device_name: string;
                        keypad_id?: (...) | (...);
                        serial_number: string;
                    };
                    ttlock_metadata?: {
                        feature_value: string;
                        features: {
                            incomplete_keyboard_passcode: ...;
                            lock_command: ...;
                            passcode: ...;
                            passcode_management: ...;
                            unlock_via_gateway: ...;
                            wifi: ...;
                        };
                        has_gateway?: (...) | (...) | (...);
                        lock_alias: string;
                        lock_id: number;
                        wireless_keypads?: (...) | (...);
                    };
                    two_n_metadata?: {
                        device_id: number;
                        device_name: string;
                    };
                    visionline_metadata?: {
                        encoder_id: string;
                    };
                    wyze_metadata?: {
                        device_id: string;
                        device_info_model: string;
                        device_name: string;
                        keypad_uuid?: (...) | (...);
                        locker_status_hardlock?: (...) | (...);
                        product_model: string;
                        product_name: string;
                        product_type: string;
                    };
                } & {
                    _experimental_supported_code_from_access_codes_lengths?: number[];
                    code_constraints?: ((...) | (...))[];
                    door_open?: boolean;
                    has_native_entry_events?: boolean;
                    keypad_battery?: {
                        level: number;
                    };
                    locked?: boolean;
                    max_active_codes_supported?: number;
                    supported_code_lengths?: number[];
                    supports_backup_access_code_pool?: boolean;
                } & {
                    active_thermostat_schedule?: null | {
                        climate_preset_key: string;
                        created_at: string;
                        device_id: string;
                        ends_at: string;
                        errors: (...)[];
                        is_override_allowed?: (...) | (...) | (...);
                        max_override_period_minutes?: (...) | (...) | (...);
                        name: (...) | (...);
                        starts_at: string;
                        thermostat_schedule_id: string;
                        workspace_id: string;
                    };
                    available_climate_presets?: {
                        can_delete: ...;
                        can_edit: ...;
                        can_program: ...;
                        climate_preset_key: ...;
                        cooling_set_point_celsius?: ...;
                        cooling_set_point_fahrenheit?: ...;
                        display_name: ...;
                        fan_mode_setting?: ...;
                        heating_set_point_celsius?: ...;
                        heating_set_point_fahrenheit?: ...;
                        hvac_mode_setting?: ...;
                        manual_override_allowed: ...;
                        name?: ...;
                    }[];
                    available_fan_mode_settings?: ((...) | (...) | (...))[];
                    available_hvac_mode_settings?: (
                        | (...)
                        | (...)
                        | (...)
                        | (...))[];
                    current_climate_setting?: {
                        can_delete?: (...) | (...) | (...);
                        can_edit?: (...) | (...) | (...);
                        can_program?: (...) | (...) | (...);
                        climate_preset_key?: (...) | (...);
                        cooling_set_point_celsius?: (...) | (...);
                        cooling_set_point_fahrenheit?: (...) | (...);
                        display_name?: (...) | (...);
                        fan_mode_setting?:
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                        heating_set_point_celsius?: (...) | (...);
                        heating_set_point_fahrenheit?: (...) | (...);
                        hvac_mode_setting?:
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                        manual_override_allowed?: (...) | (...) | (...);
                        name?: (...) | (...) | (...);
                    };
                    default_climate_setting?: {
                        can_delete?: (...) | (...) | (...);
                        can_edit?: (...) | (...) | (...);
                        can_program?: (...) | (...) | (...);
                        climate_preset_key?: (...) | (...);
                        cooling_set_point_celsius?: (...) | (...);
                        cooling_set_point_fahrenheit?: (...) | (...);
                        display_name?: (...) | (...);
                        fan_mode_setting?:
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                        heating_set_point_celsius?: (...) | (...);
                        heating_set_point_fahrenheit?: (...) | (...);
                        hvac_mode_setting?:
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                        manual_override_allowed?: (...) | (...) | (...);
                        name?: (...) | (...) | (...);
                    };
                    fallback_climate_preset_key?: null | string;
                    fan_mode_setting?: "auto" | "on" | "circulate";
                    is_cooling?: boolean;
                    is_fan_running?: boolean;
                    is_heating?: boolean;
                    is_temporary_manual_override_active?: boolean;
                    max_cooling_set_point_celsius?: number;
                    max_cooling_set_point_fahrenheit?: number;
                    max_heating_set_point_celsius?: number;
                    max_heating_set_point_fahrenheit?: number;
                    min_cooling_set_point_celsius?: number;
                    min_cooling_set_point_fahrenheit?: number;
                    min_heating_cooling_delta_celsius?: number;
                    min_heating_cooling_delta_fahrenheit?: number;
                    min_heating_set_point_celsius?: number;
                    min_heating_set_point_fahrenheit?: number;
                    relative_humidity?: number;
                    temperature_celsius?: number;
                    temperature_fahrenheit?: number;
                    temperature_threshold?: {
                        lower_limit_celsius: (...) | (...);
                        lower_limit_fahrenheit: (...) | (...);
                        upper_limit_celsius: (...) | (...);
                        upper_limit_fahrenheit: (...) | (...);
                    };
                    thermostat_daily_programs?: {
                        created_at: ...;
                        device_id: ...;
                        name: ...;
                        periods: ...;
                        thermostat_daily_program_id: ...;
                        workspace_id: ...;
                    }[];
                    thermostat_weekly_program?: null | {
                        created_at: string;
                        friday_program_id: (...) | (...);
                        monday_program_id: (...) | (...);
                        saturday_program_id: (...) | (...);
                        sunday_program_id: (...) | (...);
                        thursday_program_id: (...) | (...);
                        tuesday_program_id: (...) | (...);
                        wednesday_program_id: (...) | (...);
                    };
                };
                warnings: (
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "partial_backup_access_code_pool";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "many_active_backup_codes";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "wyze_device_missing_gateway";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "functional_offline_device";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "third_party_integration_detected";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "nest_thermostat_in_manual_eco_mode";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "ttlock_lock_gateway_unlocking_not_enabled";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "ttlock_weak_gateway_signal";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "power_saving_mode";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "temperature_threshold_exceeded";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "device_communication_degraded";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "scheduled_maintenance_window";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "device_has_flaky_connection";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "salto_ks_office_mode";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "salto_ks_privacy_mode";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "salto_ks_subscription_limit_almost_reached";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "unknown_issue_with_phone";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "lockly_time_zone_not_configured";
                    })[];
                workspace_id: string;
            };
        }>, "device" | "lock">, "device">

  • get /locks/list(): ((params?: {
        connect_webview_id?: string;
        connected_account_id?: string;
        connected_account_ids?: string[];
        created_before?: Date;
        custom_metadata_has?: Record<string, string | boolean>;
        customer_ids?: string[];
        device_ids?: string[];
        device_type?:
            | "akuvox_lock"
            | "august_lock"
            | "brivo_access_point"
            | "butterflymx_panel"
            | "avigilon_alta_entry"
            | "doorking_lock"
            | "genie_door"
            | "igloo_lock"
            | "linear_lock"
            | "lockly_lock"
            | "kwikset_lock"
            | "nuki_lock"
            | "salto_lock"
            | "schlage_lock"
            | "seam_relay"
            | "smartthings_lock"
            | "wyze_lock"
            | "yale_lock"
            | "two_n_intercom"
            | "controlbyweb_device"
            | "ttlock_lock"
            | "igloohome_lock"
            | "hubitat_lock"
            | "four_suites_door"
            | "dormakaba_oracode_door"
            | "tedee_lock"
            | "akiles_lock";
        device_types?: (
            | "akuvox_lock"
            | "august_lock"
            | "brivo_access_point"
            | "butterflymx_panel"
            | "avigilon_alta_entry"
            | "doorking_lock"
            | "genie_door"
            | "igloo_lock"
            | "linear_lock"
            | "lockly_lock"
            | "kwikset_lock"
            | "nuki_lock"
            | "salto_lock"
            | "schlage_lock"
            | "seam_relay"
            | "smartthings_lock"
            | "wyze_lock"
            | "yale_lock"
            | "two_n_intercom"
            | "controlbyweb_device"
            | "ttlock_lock"
            | "igloohome_lock"
            | "hubitat_lock"
            | "four_suites_door"
            | "dormakaba_oracode_door"
            | "tedee_lock"
            | "akiles_lock")[];
        exclude_if?: (
            | "can_remotely_unlock"
            | "can_remotely_lock"
            | "can_program_offline_access_codes"
            | "can_program_online_access_codes"
            | "can_hvac_heat"
            | "can_hvac_cool"
            | "can_hvac_heat_cool"
            | "can_turn_off_hvac"
            | "can_simulate_removal"
            | "can_simulate_connection"
            | "can_simulate_disconnection")[];
        include_if?: (
            | "can_remotely_unlock"
            | "can_remotely_lock"
            | "can_program_offline_access_codes"
            | "can_program_online_access_codes"
            | "can_hvac_heat"
            | "can_hvac_cool"
            | "can_hvac_heat_cool"
            | "can_turn_off_hvac"
            | "can_simulate_removal"
            | "can_simulate_connection"
            | "can_simulate_disconnection")[];
        limit?: number;
        manufacturer?:
            | "akuvox"
            | "august"
            | "avigilon_alta"
            | "brivo"
            | "butterflymx"
            | "schlage"
            | "smartthings"
            | "yale"
            | "genie"
            | "doorking"
            | "salto"
            | "lockly"
            | "ttlock"
            | "linear"
            | "nuki"
            | "igloo"
            | "kwikset"
            | "controlbyweb"
            | "igloohome"
            | "hubitat"
            | "four_suites"
            | "dormakaba_oracode"
            | "wyze"
            | "tedee"
            | "akiles"
            | "kwikset2"
            | "seam"
            | "two_n";
        page_cursor?: null | string;
        space_id?: string;
        unstable_location_id?: null | string;
        user_identifier_key?: string;
    }) => SeamHttpRequest<SetNonNullable<Required<{
        devices: {
            can_hvac_cool?: boolean;
            can_hvac_heat?: boolean;
            can_hvac_heat_cool?: boolean;
            can_program_offline_access_codes?: boolean;
            can_program_online_access_codes?: boolean;
            can_remotely_lock?: boolean;
            can_remotely_unlock?: boolean;
            can_simulate_connection?: boolean;
            can_simulate_disconnection?: boolean;
            can_simulate_removal?: boolean;
            can_turn_off_hvac?: boolean;
            capabilities_supported: (
                | "access_code"
                | "lock"
                | "phone"
                | "thermostat"
                | "noise_detection"
                | "battery")[];
            connected_account_id: string;
            created_at: string;
            custom_metadata: Record<string, string | boolean>;
            device_id: string;
            device_type:
                | "akuvox_lock"
                | "august_lock"
                | "brivo_access_point"
                | "butterflymx_panel"
                | "avigilon_alta_entry"
                | "doorking_lock"
                | "genie_door"
                | "igloo_lock"
                | "linear_lock"
                | "lockly_lock"
                | "kwikset_lock"
                | "nuki_lock"
                | "salto_lock"
                | "schlage_lock"
                | "seam_relay"
                | "smartthings_lock"
                | "wyze_lock"
                | "yale_lock"
                | "two_n_intercom"
                | "controlbyweb_device"
                | "ttlock_lock"
                | "igloohome_lock"
                | "hubitat_lock"
                | "four_suites_door"
                | "dormakaba_oracode_door"
                | "tedee_lock"
                | "akiles_lock"
                | "noiseaware_activity_zone"
                | "minut_sensor"
                | "ecobee_thermostat"
                | "nest_thermostat"
                | "honeywell_resideo_thermostat"
                | "tado_thermostat"
                | "sensi_thermostat"
                | "smartthings_thermostat"
                | "ios_phone"
                | "android_phone";
            display_name: string;
            errors: (
                | {
                    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: "lockly_missing_wifi_bridge";
                    is_device_error: true;
                    message: string;
                }
                | {
                    created_at: string;
                    error_code: "invalid_credentials";
                    is_bridge_error?: (...) | (...) | (...);
                    is_connected_account_error?: (...) | (...) | (...);
                    message: string;
                }
                | {
                    created_at: string;
                    error_code: "bridge_disconnected";
                    is_bridge_error?: (...) | (...) | (...);
                    is_connected_account_error?: (...) | (...) | (...);
                    message: string;
                })[];
            is_managed: true;
            location: null | {
                location_name?: string;
                timezone?: string;
            };
            nickname?: string;
            properties: {
                accessory_keypad?: {
                    battery?: ...;
                    is_connected: ...;
                };
                appearance: {
                    name: string;
                };
                battery?: {
                    level: ...;
                    status: ...;
                };
                battery_level?: number;
                currently_triggering_noise_threshold_ids?: (...)[];
                has_direct_power?: boolean;
                image_alt_text?: string;
                image_url?: string;
                manufacturer?: string;
                model: {
                    accessory_keypad_supported?: (...) | (...) | (...);
                    can_connect_accessory_keypad?: (...) | (...) | (...);
                    display_name: string;
                    has_built_in_keypad?: (...) | (...) | (...);
                    manufacturer_display_name: string;
                    offline_access_codes_supported?: (...) | (...) | (...);
                    online_access_codes_supported?: (...) | (...) | (...);
                };
                name: string;
                noise_level_decibels?: number;
                offline_access_codes_enabled?: boolean;
                online: boolean;
                online_access_codes_enabled?: boolean;
                serial_number?: string;
                supports_accessory_keypad?: boolean;
                supports_offline_access_codes?: boolean;
            } & {
                assa_abloy_credential_service_metadata?: {
                    endpoints: ...;
                    has_active_endpoint: ...;
                };
                salto_space_credential_service_metadata?: {
                    has_active_phone: ...;
                };
            } & {
                akiles_metadata?: {
                    _member_group_id?: ...;
                    gadget_id: ...;
                    gadget_name: ...;
                    product_name: ...;
                };
                assa_abloy_vostio_metadata?: {
                    encoder_name: ...;
                };
                august_metadata?: {
                    has_keypad: ...;
                    house_id?: ...;
                    house_name: ...;
                    keypad_battery_level?: ...;
                    lock_id: ...;
                    lock_name: ...;
                    model?: ...;
                };
                avigilon_alta_metadata?: {
                    entry_name: ...;
                    entry_relays_total_count: ...;
                    org_name: ...;
                    site_id: ...;
                    site_name: ...;
                    zone_id: ...;
                    zone_name: ...;
                };
                brivo_metadata?: {
                    device_name: ...;
                };
                controlbyweb_metadata?: {
                    device_id: ...;
                    device_name: ...;
                    relay_name: ...;
                };
                dormakaba_oracode_metadata?: {
                    device_id?: ...;
                    door_id?: ...;
                    door_is_wireless: ...;
                    door_name: ...;
                    iana_timezone?: ...;
                    predefined_time_slots?: ...;
                    site_id: ...;
                    site_name: ...;
                };
                ecobee_metadata?: {
                    device_name: ...;
                    ecobee_device_id: ...;
                };
                four_suites_metadata?: {
                    device_id: ...;
                    device_name: ...;
                    reclose_delay_in_seconds: ...;
                };
                genie_metadata?: {
                    device_name: ...;
                    door_name: ...;
                };
                honeywell_resideo_metadata?: {
                    device_name: ...;
                    honeywell_resideo_device_id: ...;
                };
                hubitat_metadata?: {
                    device_id: ...;
                    device_label: ...;
                    device_name: ...;
                };
                igloo_metadata?: {
                    bridge_id: ...;
                    device_id: ...;
                    model?: ...;
                };
                igloohome_metadata?: {
                    bridge_id?: ...;
                    bridge_name?: ...;
                    device_id: ...;
                    device_name: ...;
                    keypad_id?: ...;
                };
                kwikset_metadata?: {
                    device_id: ...;
                    device_name: ...;
                    model_number: ...;
                };
                lockly_metadata?: {
                    device_id: ...;
                    device_name: ...;
                    model?: ...;
                };
                minut_metadata?: {
                    device_id: ...;
                    device_name: ...;
                    latest_sensor_values: ...;
                };
                nest_metadata?: {
                    device_custom_name: ...;
                    device_name: ...;
                    display_name?: ...;
                    nest_device_id: ...;
                };
                noiseaware_metadata?: {
                    device_id: ...;
                    device_model: ...;
                    device_name: ...;
                    noise_level_decibel: ...;
                    noise_level_nrs: ...;
                };
                nuki_metadata?: {
                    device_id: ...;
                    device_name: ...;
                    keypad_2_paired?: ...;
                    keypad_battery_critical?: ...;
                    keypad_paired?: ...;
                };
                salto_ks_metadata?: {
                    battery_level: ...;
                    customer_reference: ...;
                    lock_id: ...;
                    lock_type: ...;
                    locked_state: ...;
                    model?: ...;
                };
                salto_metadata?: {
                    battery_level: ...;
                    customer_reference: ...;
                    lock_id: ...;
                    lock_type: ...;
                    locked_state: ...;
                    model?: ...;
                };
                schlage_metadata?: {
                    device_id: ...;
                    device_name: ...;
                    model?: ...;
                };
                seam_bridge_metadata?: {
                    device_num: ...;
                    name: ...;
                    unlock_method?: ...;
                };
                sensi_metadata?: {
                    device_id: ...;
                    device_name: ...;
                    product_type: ...;
                };
                smartthings_metadata?: {
                    device_id: ...;
                    device_name: ...;
                    location_id?: ...;
                    model?: ...;
                };
                tado_metadata?: {
                    device_type: ...;
                    serial_no: ...;
                };
                tedee_metadata?: {
                    bridge_id: ...;
                    bridge_name: ...;
                    device_id: ...;
                    device_model: ...;
                    device_name: ...;
                    keypad_id?: ...;
                    serial_number: ...;
                };
                ttlock_metadata?: {
                    feature_value: ...;
                    features: ...;
                    has_gateway?: ...;
                    lock_alias: ...;
                    lock_id: ...;
                    wireless_keypads?: ...;
                };
                two_n_metadata?: {
                    device_id: ...;
                    device_name: ...;
                };
                visionline_metadata?: {
                    encoder_id: ...;
                };
                wyze_metadata?: {
                    device_id: ...;
                    device_info_model: ...;
                    device_name: ...;
                    keypad_uuid?: ...;
                    locker_status_hardlock?: ...;
                    product_model: ...;
                    product_name: ...;
                    product_type: ...;
                };
            } & {
                _experimental_supported_code_from_access_codes_lengths?: (...)[];
                code_constraints?: (...)[];
                door_open?: boolean;
                has_native_entry_events?: boolean;
                keypad_battery?: {
                    level: ...;
                };
                locked?: boolean;
                max_active_codes_supported?: number;
                supported_code_lengths?: (...)[];
                supports_backup_access_code_pool?: boolean;
            } & {
                active_thermostat_schedule?: null | {
                    climate_preset_key: ...;
                    created_at: ...;
                    device_id: ...;
                    ends_at: ...;
                    errors: ...;
                    is_override_allowed?: ...;
                    max_override_period_minutes?: ...;
                    name: ...;
                    starts_at: ...;
                    thermostat_schedule_id: ...;
                    workspace_id: ...;
                };
                available_climate_presets?: (...)[];
                available_fan_mode_settings?: (...)[];
                available_hvac_mode_settings?: (...)[];
                current_climate_setting?: {
                    can_delete?: ...;
                    can_edit?: ...;
                    can_program?: ...;
                    climate_preset_key?: ...;
                    cooling_set_point_celsius?: ...;
                    cooling_set_point_fahrenheit?: ...;
                    display_name?: ...;
                    fan_mode_setting?: ...;
                    heating_set_point_celsius?: ...;
                    heating_set_point_fahrenheit?: ...;
                    hvac_mode_setting?: ...;
                    manual_override_allowed?: ...;
                    name?: ...;
                };
                default_climate_setting?: {
                    can_delete?: ...;
                    can_edit?: ...;
                    can_program?: ...;
                    climate_preset_key?: ...;
                    cooling_set_point_celsius?: ...;
                    cooling_set_point_fahrenheit?: ...;
                    display_name?: ...;
                    fan_mode_setting?: ...;
                    heating_set_point_celsius?: ...;
                    heating_set_point_fahrenheit?: ...;
                    hvac_mode_setting?: ...;
                    manual_override_allowed?: ...;
                    name?: ...;
                };
                fallback_climate_preset_key?: null | string;
                fan_mode_setting?: "auto" | "on" | "circulate";
                is_cooling?: boolean;
                is_fan_running?: boolean;
                is_heating?: boolean;
                is_temporary_manual_override_active?: boolean;
                max_cooling_set_point_celsius?: number;
                max_cooling_set_point_fahrenheit?: number;
                max_heating_set_point_celsius?: number;
                max_heating_set_point_fahrenheit?: number;
                min_cooling_set_point_celsius?: number;
                min_cooling_set_point_fahrenheit?: number;
                min_heating_cooling_delta_celsius?: number;
                min_heating_cooling_delta_fahrenheit?: number;
                min_heating_set_point_celsius?: number;
                min_heating_set_point_fahrenheit?: number;
                relative_humidity?: number;
                temperature_celsius?: number;
                temperature_fahrenheit?: number;
                temperature_threshold?: {
                    lower_limit_celsius: ...;
                    lower_limit_fahrenheit: ...;
                    upper_limit_celsius: ...;
                    upper_limit_fahrenheit: ...;
                };
                thermostat_daily_programs?: (...)[];
                thermostat_weekly_program?: null | {
                    created_at: ...;
                    friday_program_id: ...;
                    monday_program_id: ...;
                    saturday_program_id: ...;
                    sunday_program_id: ...;
                    thursday_program_id: ...;
                    tuesday_program_id: ...;
                    wednesday_program_id: ...;
                };
            };
            warnings: (
                | {
                    created_at: string;
                    message: string;
                    warning_code: "partial_backup_access_code_pool";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "many_active_backup_codes";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "wyze_device_missing_gateway";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "functional_offline_device";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "third_party_integration_detected";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "nest_thermostat_in_manual_eco_mode";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "ttlock_lock_gateway_unlocking_not_enabled";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "ttlock_weak_gateway_signal";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "power_saving_mode";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "temperature_threshold_exceeded";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "device_communication_degraded";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "scheduled_maintenance_window";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "device_has_flaky_connection";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "salto_ks_office_mode";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "salto_ks_privacy_mode";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "salto_ks_subscription_limit_almost_reached";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "unknown_issue_with_phone";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "lockly_time_zone_not_configured";
                })[];
            workspace_id: string;
        }[];
        locks: {
            can_hvac_cool?: boolean;
            can_hvac_heat?: boolean;
            can_hvac_heat_cool?: boolean;
            can_program_offline_access_codes?: boolean;
            can_program_online_access_codes?: boolean;
            can_remotely_lock?: boolean;
            can_remotely_unlock?: boolean;
            can_simulate_connection?: boolean;
            can_simulate_disconnection?: boolean;
            can_simulate_removal?: boolean;
            can_turn_off_hvac?: boolean;
            capabilities_supported: (
                | "access_code"
                | "lock"
                | "phone"
                | "thermostat"
                | "noise_detection"
                | "battery")[];
            connected_account_id: string;
            created_at: string;
            custom_metadata: Record<string, string | boolean>;
            device_id: string;
            device_type:
                | "akuvox_lock"
                | "august_lock"
                | "brivo_access_point"
                | "butterflymx_panel"
                | "avigilon_alta_entry"
                | "doorking_lock"
                | "genie_door"
                | "igloo_lock"
                | "linear_lock"
                | "lockly_lock"
                | "kwikset_lock"
                | "nuki_lock"
                | "salto_lock"
                | "schlage_lock"
                | "seam_relay"
                | "smartthings_lock"
                | "wyze_lock"
                | "yale_lock"
                | "two_n_intercom"
                | "controlbyweb_device"
                | "ttlock_lock"
                | "igloohome_lock"
                | "hubitat_lock"
                | "four_suites_door"
                | "dormakaba_oracode_door"
                | "tedee_lock"
                | "akiles_lock"
                | "noiseaware_activity_zone"
                | "minut_sensor"
                | "ecobee_thermostat"
                | "nest_thermostat"
                | "honeywell_resideo_thermostat"
                | "tado_thermostat"
                | "sensi_thermostat"
                | "smartthings_thermostat"
                | "ios_phone"
                | "android_phone";
            display_name: string;
            errors: (
                | {
                    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: "lockly_missing_wifi_bridge";
                    is_device_error: true;
                    message: string;
                }
                | {
                    created_at: string;
                    error_code: "invalid_credentials";
                    is_bridge_error?: (...) | (...) | (...);
                    is_connected_account_error?: (...) | (...) | (...);
                    message: string;
                }
                | {
                    created_at: string;
                    error_code: "bridge_disconnected";
                    is_bridge_error?: (...) | (...) | (...);
                    is_connected_account_error?: (...) | (...) | (...);
                    message: string;
                })[];
            is_managed: true;
            location: null | {
                location_name?: string;
                timezone?: string;
            };
            nickname?: string;
            properties: {
                accessory_keypad?: {
                    battery?: ...;
                    is_connected: ...;
                };
                appearance: {
                    name: string;
                };
                battery?: {
                    level: ...;
                    status: ...;
                };
                battery_level?: number;
                currently_triggering_noise_threshold_ids?: (...)[];
                has_direct_power?: boolean;
                image_alt_text?: string;
                image_url?: string;
                manufacturer?: string;
                model: {
                    accessory_keypad_supported?: (...) | (...) | (...);
                    can_connect_accessory_keypad?: (...) | (...) | (...);
                    display_name: string;
                    has_built_in_keypad?: (...) | (...) | (...);
                    manufacturer_display_name: string;
                    offline_access_codes_supported?: (...) | (...) | (...);
                    online_access_codes_supported?: (...) | (...) | (...);
                };
                name: string;
                noise_level_decibels?: number;
                offline_access_codes_enabled?: boolean;
                online: boolean;
                online_access_codes_enabled?: boolean;
                serial_number?: string;
                supports_accessory_keypad?: boolean;
                supports_offline_access_codes?: boolean;
            } & {
                assa_abloy_credential_service_metadata?: {
                    endpoints: ...;
                    has_active_endpoint: ...;
                };
                salto_space_credential_service_metadata?: {
                    has_active_phone: ...;
                };
            } & {
                akiles_metadata?: {
                    _member_group_id?: ...;
                    gadget_id: ...;
                    gadget_name: ...;
                    product_name: ...;
                };
                assa_abloy_vostio_metadata?: {
                    encoder_name: ...;
                };
                august_metadata?: {
                    has_keypad: ...;
                    house_id?: ...;
                    house_name: ...;
                    keypad_battery_level?: ...;
                    lock_id: ...;
                    lock_name: ...;
                    model?: ...;
                };
                avigilon_alta_metadata?: {
                    entry_name: ...;
                    entry_relays_total_count: ...;
                    org_name: ...;
                    site_id: ...;
                    site_name: ...;
                    zone_id: ...;
                    zone_name: ...;
                };
                brivo_metadata?: {
                    device_name: ...;
                };
                controlbyweb_metadata?: {
                    device_id: ...;
                    device_name: ...;
                    relay_name: ...;
                };
                dormakaba_oracode_metadata?: {
                    device_id?: ...;
                    door_id?: ...;
                    door_is_wireless: ...;
                    door_name: ...;
                    iana_timezone?: ...;
                    predefined_time_slots?: ...;
                    site_id: ...;
                    site_name: ...;
                };
                ecobee_metadata?: {
                    device_name: ...;
                    ecobee_device_id: ...;
                };
                four_suites_metadata?: {
                    device_id: ...;
                    device_name: ...;
                    reclose_delay_in_seconds: ...;
                };
                genie_metadata?: {
                    device_name: ...;
                    door_name: ...;
                };
                honeywell_resideo_metadata?: {
                    device_name: ...;
                    honeywell_resideo_device_id: ...;
                };
                hubitat_metadata?: {
                    device_id: ...;
                    device_label: ...;
                    device_name: ...;
                };
                igloo_metadata?: {
                    bridge_id: ...;
                    device_id: ...;
                    model?: ...;
                };
                igloohome_metadata?: {
                    bridge_id?: ...;
                    bridge_name?: ...;
                    device_id: ...;
                    device_name: ...;
                    keypad_id?: ...;
                };
                kwikset_metadata?: {
                    device_id: ...;
                    device_name: ...;
                    model_number: ...;
                };
                lockly_metadata?: {
                    device_id: ...;
                    device_name: ...;
                    model?: ...;
                };
                minut_metadata?: {
                    device_id: ...;
                    device_name: ...;
                    latest_sensor_values: ...;
                };
                nest_metadata?: {
                    device_custom_name: ...;
                    device_name: ...;
                    display_name?: ...;
                    nest_device_id: ...;
                };
                noiseaware_metadata?: {
                    device_id: ...;
                    device_model: ...;
                    device_name: ...;
                    noise_level_decibel: ...;
                    noise_level_nrs: ...;
                };
                nuki_metadata?: {
                    device_id: ...;
                    device_name: ...;
                    keypad_2_paired?: ...;
                    keypad_battery_critical?: ...;
                    keypad_paired?: ...;
                };
                salto_ks_metadata?: {
                    battery_level: ...;
                    customer_reference: ...;
                    lock_id: ...;
                    lock_type: ...;
                    locked_state: ...;
                    model?: ...;
                };
                salto_metadata?: {
                    battery_level: ...;
                    customer_reference: ...;
                    lock_id: ...;
                    lock_type: ...;
                    locked_state: ...;
                    model?: ...;
                };
                schlage_metadata?: {
                    device_id: ...;
                    device_name: ...;
                    model?: ...;
                };
                seam_bridge_metadata?: {
                    device_num: ...;
                    name: ...;
                    unlock_method?: ...;
                };
                sensi_metadata?: {
                    device_id: ...;
                    device_name: ...;
                    product_type: ...;
                };
                smartthings_metadata?: {
                    device_id: ...;
                    device_name: ...;
                    location_id?: ...;
                    model?: ...;
                };
                tado_metadata?: {
                    device_type: ...;
                    serial_no: ...;
                };
                tedee_metadata?: {
                    bridge_id: ...;
                    bridge_name: ...;
                    device_id: ...;
                    device_model: ...;
                    device_name: ...;
                    keypad_id?: ...;
                    serial_number: ...;
                };
                ttlock_metadata?: {
                    feature_value: ...;
                    features: ...;
                    has_gateway?: ...;
                    lock_alias: ...;
                    lock_id: ...;
                    wireless_keypads?: ...;
                };
                two_n_metadata?: {
                    device_id: ...;
                    device_name: ...;
                };
                visionline_metadata?: {
                    encoder_id: ...;
                };
                wyze_metadata?: {
                    device_id: ...;
                    device_info_model: ...;
                    device_name: ...;
                    keypad_uuid?: ...;
                    locker_status_hardlock?: ...;
                    product_model: ...;
                    product_name: ...;
                    product_type: ...;
                };
            } & {
                _experimental_supported_code_from_access_codes_lengths?: (...)[];
                code_constraints?: (...)[];
                door_open?: boolean;
                has_native_entry_events?: boolean;
                keypad_battery?: {
                    level: ...;
                };
                locked?: boolean;
                max_active_codes_supported?: number;
                supported_code_lengths?: (...)[];
                supports_backup_access_code_pool?: boolean;
            } & {
                active_thermostat_schedule?: null | {
                    climate_preset_key: ...;
                    created_at: ...;
                    device_id: ...;
                    ends_at: ...;
                    errors: ...;
                    is_override_allowed?: ...;
                    max_override_period_minutes?: ...;
                    name: ...;
                    starts_at: ...;
                    thermostat_schedule_id: ...;
                    workspace_id: ...;
                };
                available_climate_presets?: (...)[];
                available_fan_mode_settings?: (...)[];
                available_hvac_mode_settings?: (...)[];
                current_climate_setting?: {
                    can_delete?: ...;
                    can_edit?: ...;
                    can_program?: ...;
                    climate_preset_key?: ...;
                    cooling_set_point_celsius?: ...;
                    cooling_set_point_fahrenheit?: ...;
                    display_name?: ...;
                    fan_mode_setting?: ...;
                    heating_set_point_celsius?: ...;
                    heating_set_point_fahrenheit?: ...;
                    hvac_mode_setting?: ...;
                    manual_override_allowed?: ...;
                    name?: ...;
                };
                default_climate_setting?: {
                    can_delete?: ...;
                    can_edit?: ...;
                    can_program?: ...;
                    climate_preset_key?: ...;
                    cooling_set_point_celsius?: ...;
                    cooling_set_point_fahrenheit?: ...;
                    display_name?: ...;
                    fan_mode_setting?: ...;
                    heating_set_point_celsius?: ...;
                    heating_set_point_fahrenheit?: ...;
                    hvac_mode_setting?: ...;
                    manual_override_allowed?: ...;
                    name?: ...;
                };
                fallback_climate_preset_key?: null | string;
                fan_mode_setting?: "auto" | "on" | "circulate";
                is_cooling?: boolean;
                is_fan_running?: boolean;
                is_heating?: boolean;
                is_temporary_manual_override_active?: boolean;
                max_cooling_set_point_celsius?: number;
                max_cooling_set_point_fahrenheit?: number;
                max_heating_set_point_celsius?: number;
                max_heating_set_point_fahrenheit?: number;
                min_cooling_set_point_celsius?: number;
                min_cooling_set_point_fahrenheit?: number;
                min_heating_cooling_delta_celsius?: number;
                min_heating_cooling_delta_fahrenheit?: number;
                min_heating_set_point_celsius?: number;
                min_heating_set_point_fahrenheit?: number;
                relative_humidity?: number;
                temperature_celsius?: number;
                temperature_fahrenheit?: number;
                temperature_threshold?: {
                    lower_limit_celsius: ...;
                    lower_limit_fahrenheit: ...;
                    upper_limit_celsius: ...;
                    upper_limit_fahrenheit: ...;
                };
                thermostat_daily_programs?: (...)[];
                thermostat_weekly_program?: null | {
                    created_at: ...;
                    friday_program_id: ...;
                    monday_program_id: ...;
                    saturday_program_id: ...;
                    sunday_program_id: ...;
                    thursday_program_id: ...;
                    tuesday_program_id: ...;
                    wednesday_program_id: ...;
                };
            };
            warnings: (
                | {
                    created_at: string;
                    message: string;
                    warning_code: "partial_backup_access_code_pool";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "many_active_backup_codes";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "wyze_device_missing_gateway";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "functional_offline_device";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "third_party_integration_detected";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "nest_thermostat_in_manual_eco_mode";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "ttlock_lock_gateway_unlocking_not_enabled";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "ttlock_weak_gateway_signal";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "power_saving_mode";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "temperature_threshold_exceeded";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "device_communication_degraded";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "scheduled_maintenance_window";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "device_has_flaky_connection";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "salto_ks_office_mode";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "salto_ks_privacy_mode";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "salto_ks_subscription_limit_almost_reached";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "unknown_issue_with_phone";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "lockly_time_zone_not_configured";
                })[];
            workspace_id: string;
        }[];
    }>, "devices" | "locks">, "devices">)
  • Returns ((params?: {
        connect_webview_id?: string;
        connected_account_id?: string;
        connected_account_ids?: string[];
        created_before?: Date;
        custom_metadata_has?: Record<string, string | boolean>;
        customer_ids?: string[];
        device_ids?: string[];
        device_type?:
            | "akuvox_lock"
            | "august_lock"
            | "brivo_access_point"
            | "butterflymx_panel"
            | "avigilon_alta_entry"
            | "doorking_lock"
            | "genie_door"
            | "igloo_lock"
            | "linear_lock"
            | "lockly_lock"
            | "kwikset_lock"
            | "nuki_lock"
            | "salto_lock"
            | "schlage_lock"
            | "seam_relay"
            | "smartthings_lock"
            | "wyze_lock"
            | "yale_lock"
            | "two_n_intercom"
            | "controlbyweb_device"
            | "ttlock_lock"
            | "igloohome_lock"
            | "hubitat_lock"
            | "four_suites_door"
            | "dormakaba_oracode_door"
            | "tedee_lock"
            | "akiles_lock";
        device_types?: (
            | "akuvox_lock"
            | "august_lock"
            | "brivo_access_point"
            | "butterflymx_panel"
            | "avigilon_alta_entry"
            | "doorking_lock"
            | "genie_door"
            | "igloo_lock"
            | "linear_lock"
            | "lockly_lock"
            | "kwikset_lock"
            | "nuki_lock"
            | "salto_lock"
            | "schlage_lock"
            | "seam_relay"
            | "smartthings_lock"
            | "wyze_lock"
            | "yale_lock"
            | "two_n_intercom"
            | "controlbyweb_device"
            | "ttlock_lock"
            | "igloohome_lock"
            | "hubitat_lock"
            | "four_suites_door"
            | "dormakaba_oracode_door"
            | "tedee_lock"
            | "akiles_lock")[];
        exclude_if?: (
            | "can_remotely_unlock"
            | "can_remotely_lock"
            | "can_program_offline_access_codes"
            | "can_program_online_access_codes"
            | "can_hvac_heat"
            | "can_hvac_cool"
            | "can_hvac_heat_cool"
            | "can_turn_off_hvac"
            | "can_simulate_removal"
            | "can_simulate_connection"
            | "can_simulate_disconnection")[];
        include_if?: (
            | "can_remotely_unlock"
            | "can_remotely_lock"
            | "can_program_offline_access_codes"
            | "can_program_online_access_codes"
            | "can_hvac_heat"
            | "can_hvac_cool"
            | "can_hvac_heat_cool"
            | "can_turn_off_hvac"
            | "can_simulate_removal"
            | "can_simulate_connection"
            | "can_simulate_disconnection")[];
        limit?: number;
        manufacturer?:
            | "akuvox"
            | "august"
            | "avigilon_alta"
            | "brivo"
            | "butterflymx"
            | "schlage"
            | "smartthings"
            | "yale"
            | "genie"
            | "doorking"
            | "salto"
            | "lockly"
            | "ttlock"
            | "linear"
            | "nuki"
            | "igloo"
            | "kwikset"
            | "controlbyweb"
            | "igloohome"
            | "hubitat"
            | "four_suites"
            | "dormakaba_oracode"
            | "wyze"
            | "tedee"
            | "akiles"
            | "kwikset2"
            | "seam"
            | "two_n";
        page_cursor?: null | string;
        space_id?: string;
        unstable_location_id?: null | string;
        user_identifier_key?: string;
    }) => SeamHttpRequest<SetNonNullable<Required<{
        devices: {
            can_hvac_cool?: boolean;
            can_hvac_heat?: boolean;
            can_hvac_heat_cool?: boolean;
            can_program_offline_access_codes?: boolean;
            can_program_online_access_codes?: boolean;
            can_remotely_lock?: boolean;
            can_remotely_unlock?: boolean;
            can_simulate_connection?: boolean;
            can_simulate_disconnection?: boolean;
            can_simulate_removal?: boolean;
            can_turn_off_hvac?: boolean;
            capabilities_supported: (
                | "access_code"
                | "lock"
                | "phone"
                | "thermostat"
                | "noise_detection"
                | "battery")[];
            connected_account_id: string;
            created_at: string;
            custom_metadata: Record<string, string | boolean>;
            device_id: string;
            device_type:
                | "akuvox_lock"
                | "august_lock"
                | "brivo_access_point"
                | "butterflymx_panel"
                | "avigilon_alta_entry"
                | "doorking_lock"
                | "genie_door"
                | "igloo_lock"
                | "linear_lock"
                | "lockly_lock"
                | "kwikset_lock"
                | "nuki_lock"
                | "salto_lock"
                | "schlage_lock"
                | "seam_relay"
                | "smartthings_lock"
                | "wyze_lock"
                | "yale_lock"
                | "two_n_intercom"
                | "controlbyweb_device"
                | "ttlock_lock"
                | "igloohome_lock"
                | "hubitat_lock"
                | "four_suites_door"
                | "dormakaba_oracode_door"
                | "tedee_lock"
                | "akiles_lock"
                | "noiseaware_activity_zone"
                | "minut_sensor"
                | "ecobee_thermostat"
                | "nest_thermostat"
                | "honeywell_resideo_thermostat"
                | "tado_thermostat"
                | "sensi_thermostat"
                | "smartthings_thermostat"
                | "ios_phone"
                | "android_phone";
            display_name: string;
            errors: (
                | {
                    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: "lockly_missing_wifi_bridge";
                    is_device_error: true;
                    message: string;
                }
                | {
                    created_at: string;
                    error_code: "invalid_credentials";
                    is_bridge_error?: (...) | (...) | (...);
                    is_connected_account_error?: (...) | (...) | (...);
                    message: string;
                }
                | {
                    created_at: string;
                    error_code: "bridge_disconnected";
                    is_bridge_error?: (...) | (...) | (...);
                    is_connected_account_error?: (...) | (...) | (...);
                    message: string;
                })[];
            is_managed: true;
            location: null | {
                location_name?: string;
                timezone?: string;
            };
            nickname?: string;
            properties: {
                accessory_keypad?: {
                    battery?: ...;
                    is_connected: ...;
                };
                appearance: {
                    name: string;
                };
                battery?: {
                    level: ...;
                    status: ...;
                };
                battery_level?: number;
                currently_triggering_noise_threshold_ids?: (...)[];
                has_direct_power?: boolean;
                image_alt_text?: string;
                image_url?: string;
                manufacturer?: string;
                model: {
                    accessory_keypad_supported?: (...) | (...) | (...);
                    can_connect_accessory_keypad?: (...) | (...) | (...);
                    display_name: string;
                    has_built_in_keypad?: (...) | (...) | (...);
                    manufacturer_display_name: string;
                    offline_access_codes_supported?: (...) | (...) | (...);
                    online_access_codes_supported?: (...) | (...) | (...);
                };
                name: string;
                noise_level_decibels?: number;
                offline_access_codes_enabled?: boolean;
                online: boolean;
                online_access_codes_enabled?: boolean;
                serial_number?: string;
                supports_accessory_keypad?: boolean;
                supports_offline_access_codes?: boolean;
            } & {
                assa_abloy_credential_service_metadata?: {
                    endpoints: ...;
                    has_active_endpoint: ...;
                };
                salto_space_credential_service_metadata?: {
                    has_active_phone: ...;
                };
            } & {
                akiles_metadata?: {
                    _member_group_id?: ...;
                    gadget_id: ...;
                    gadget_name: ...;
                    product_name: ...;
                };
                assa_abloy_vostio_metadata?: {
                    encoder_name: ...;
                };
                august_metadata?: {
                    has_keypad: ...;
                    house_id?: ...;
                    house_name: ...;
                    keypad_battery_level?: ...;
                    lock_id: ...;
                    lock_name: ...;
                    model?: ...;
                };
                avigilon_alta_metadata?: {
                    entry_name: ...;
                    entry_relays_total_count: ...;
                    org_name: ...;
                    site_id: ...;
                    site_name: ...;
                    zone_id: ...;
                    zone_name: ...;
                };
                brivo_metadata?: {
                    device_name: ...;
                };
                controlbyweb_metadata?: {
                    device_id: ...;
                    device_name: ...;
                    relay_name: ...;
                };
                dormakaba_oracode_metadata?: {
                    device_id?: ...;
                    door_id?: ...;
                    door_is_wireless: ...;
                    door_name: ...;
                    iana_timezone?: ...;
                    predefined_time_slots?: ...;
                    site_id: ...;
                    site_name: ...;
                };
                ecobee_metadata?: {
                    device_name: ...;
                    ecobee_device_id: ...;
                };
                four_suites_metadata?: {
                    device_id: ...;
                    device_name: ...;
                    reclose_delay_in_seconds: ...;
                };
                genie_metadata?: {
                    device_name: ...;
                    door_name: ...;
                };
                honeywell_resideo_metadata?: {
                    device_name: ...;
                    honeywell_resideo_device_id: ...;
                };
                hubitat_metadata?: {
                    device_id: ...;
                    device_label: ...;
                    device_name: ...;
                };
                igloo_metadata?: {
                    bridge_id: ...;
                    device_id: ...;
                    model?: ...;
                };
                igloohome_metadata?: {
                    bridge_id?: ...;
                    bridge_name?: ...;
                    device_id: ...;
                    device_name: ...;
                    keypad_id?: ...;
                };
                kwikset_metadata?: {
                    device_id: ...;
                    device_name: ...;
                    model_number: ...;
                };
                lockly_metadata?: {
                    device_id: ...;
                    device_name: ...;
                    model?: ...;
                };
                minut_metadata?: {
                    device_id: ...;
                    device_name: ...;
                    latest_sensor_values: ...;
                };
                nest_metadata?: {
                    device_custom_name: ...;
                    device_name: ...;
                    display_name?: ...;
                    nest_device_id: ...;
                };
                noiseaware_metadata?: {
                    device_id: ...;
                    device_model: ...;
                    device_name: ...;
                    noise_level_decibel: ...;
                    noise_level_nrs: ...;
                };
                nuki_metadata?: {
                    device_id: ...;
                    device_name: ...;
                    keypad_2_paired?: ...;
                    keypad_battery_critical?: ...;
                    keypad_paired?: ...;
                };
                salto_ks_metadata?: {
                    battery_level: ...;
                    customer_reference: ...;
                    lock_id: ...;
                    lock_type: ...;
                    locked_state: ...;
                    model?: ...;
                };
                salto_metadata?: {
                    battery_level: ...;
                    customer_reference: ...;
                    lock_id: ...;
                    lock_type: ...;
                    locked_state: ...;
                    model?: ...;
                };
                schlage_metadata?: {
                    device_id: ...;
                    device_name: ...;
                    model?: ...;
                };
                seam_bridge_metadata?: {
                    device_num: ...;
                    name: ...;
                    unlock_method?: ...;
                };
                sensi_metadata?: {
                    device_id: ...;
                    device_name: ...;
                    product_type: ...;
                };
                smartthings_metadata?: {
                    device_id: ...;
                    device_name: ...;
                    location_id?: ...;
                    model?: ...;
                };
                tado_metadata?: {
                    device_type: ...;
                    serial_no: ...;
                };
                tedee_metadata?: {
                    bridge_id: ...;
                    bridge_name: ...;
                    device_id: ...;
                    device_model: ...;
                    device_name: ...;
                    keypad_id?: ...;
                    serial_number: ...;
                };
                ttlock_metadata?: {
                    feature_value: ...;
                    features: ...;
                    has_gateway?: ...;
                    lock_alias: ...;
                    lock_id: ...;
                    wireless_keypads?: ...;
                };
                two_n_metadata?: {
                    device_id: ...;
                    device_name: ...;
                };
                visionline_metadata?: {
                    encoder_id: ...;
                };
                wyze_metadata?: {
                    device_id: ...;
                    device_info_model: ...;
                    device_name: ...;
                    keypad_uuid?: ...;
                    locker_status_hardlock?: ...;
                    product_model: ...;
                    product_name: ...;
                    product_type: ...;
                };
            } & {
                _experimental_supported_code_from_access_codes_lengths?: (...)[];
                code_constraints?: (...)[];
                door_open?: boolean;
                has_native_entry_events?: boolean;
                keypad_battery?: {
                    level: ...;
                };
                locked?: boolean;
                max_active_codes_supported?: number;
                supported_code_lengths?: (...)[];
                supports_backup_access_code_pool?: boolean;
            } & {
                active_thermostat_schedule?: null | {
                    climate_preset_key: ...;
                    created_at: ...;
                    device_id: ...;
                    ends_at: ...;
                    errors: ...;
                    is_override_allowed?: ...;
                    max_override_period_minutes?: ...;
                    name: ...;
                    starts_at: ...;
                    thermostat_schedule_id: ...;
                    workspace_id: ...;
                };
                available_climate_presets?: (...)[];
                available_fan_mode_settings?: (...)[];
                available_hvac_mode_settings?: (...)[];
                current_climate_setting?: {
                    can_delete?: ...;
                    can_edit?: ...;
                    can_program?: ...;
                    climate_preset_key?: ...;
                    cooling_set_point_celsius?: ...;
                    cooling_set_point_fahrenheit?: ...;
                    display_name?: ...;
                    fan_mode_setting?: ...;
                    heating_set_point_celsius?: ...;
                    heating_set_point_fahrenheit?: ...;
                    hvac_mode_setting?: ...;
                    manual_override_allowed?: ...;
                    name?: ...;
                };
                default_climate_setting?: {
                    can_delete?: ...;
                    can_edit?: ...;
                    can_program?: ...;
                    climate_preset_key?: ...;
                    cooling_set_point_celsius?: ...;
                    cooling_set_point_fahrenheit?: ...;
                    display_name?: ...;
                    fan_mode_setting?: ...;
                    heating_set_point_celsius?: ...;
                    heating_set_point_fahrenheit?: ...;
                    hvac_mode_setting?: ...;
                    manual_override_allowed?: ...;
                    name?: ...;
                };
                fallback_climate_preset_key?: null | string;
                fan_mode_setting?: "auto" | "on" | "circulate";
                is_cooling?: boolean;
                is_fan_running?: boolean;
                is_heating?: boolean;
                is_temporary_manual_override_active?: boolean;
                max_cooling_set_point_celsius?: number;
                max_cooling_set_point_fahrenheit?: number;
                max_heating_set_point_celsius?: number;
                max_heating_set_point_fahrenheit?: number;
                min_cooling_set_point_celsius?: number;
                min_cooling_set_point_fahrenheit?: number;
                min_heating_cooling_delta_celsius?: number;
                min_heating_cooling_delta_fahrenheit?: number;
                min_heating_set_point_celsius?: number;
                min_heating_set_point_fahrenheit?: number;
                relative_humidity?: number;
                temperature_celsius?: number;
                temperature_fahrenheit?: number;
                temperature_threshold?: {
                    lower_limit_celsius: ...;
                    lower_limit_fahrenheit: ...;
                    upper_limit_celsius: ...;
                    upper_limit_fahrenheit: ...;
                };
                thermostat_daily_programs?: (...)[];
                thermostat_weekly_program?: null | {
                    created_at: ...;
                    friday_program_id: ...;
                    monday_program_id: ...;
                    saturday_program_id: ...;
                    sunday_program_id: ...;
                    thursday_program_id: ...;
                    tuesday_program_id: ...;
                    wednesday_program_id: ...;
                };
            };
            warnings: (
                | {
                    created_at: string;
                    message: string;
                    warning_code: "partial_backup_access_code_pool";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "many_active_backup_codes";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "wyze_device_missing_gateway";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "functional_offline_device";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "third_party_integration_detected";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "nest_thermostat_in_manual_eco_mode";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "ttlock_lock_gateway_unlocking_not_enabled";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "ttlock_weak_gateway_signal";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "power_saving_mode";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "temperature_threshold_exceeded";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "device_communication_degraded";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "scheduled_maintenance_window";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "device_has_flaky_connection";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "salto_ks_office_mode";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "salto_ks_privacy_mode";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "salto_ks_subscription_limit_almost_reached";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "unknown_issue_with_phone";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "lockly_time_zone_not_configured";
                })[];
            workspace_id: string;
        }[];
        locks: {
            can_hvac_cool?: boolean;
            can_hvac_heat?: boolean;
            can_hvac_heat_cool?: boolean;
            can_program_offline_access_codes?: boolean;
            can_program_online_access_codes?: boolean;
            can_remotely_lock?: boolean;
            can_remotely_unlock?: boolean;
            can_simulate_connection?: boolean;
            can_simulate_disconnection?: boolean;
            can_simulate_removal?: boolean;
            can_turn_off_hvac?: boolean;
            capabilities_supported: (
                | "access_code"
                | "lock"
                | "phone"
                | "thermostat"
                | "noise_detection"
                | "battery")[];
            connected_account_id: string;
            created_at: string;
            custom_metadata: Record<string, string | boolean>;
            device_id: string;
            device_type:
                | "akuvox_lock"
                | "august_lock"
                | "brivo_access_point"
                | "butterflymx_panel"
                | "avigilon_alta_entry"
                | "doorking_lock"
                | "genie_door"
                | "igloo_lock"
                | "linear_lock"
                | "lockly_lock"
                | "kwikset_lock"
                | "nuki_lock"
                | "salto_lock"
                | "schlage_lock"
                | "seam_relay"
                | "smartthings_lock"
                | "wyze_lock"
                | "yale_lock"
                | "two_n_intercom"
                | "controlbyweb_device"
                | "ttlock_lock"
                | "igloohome_lock"
                | "hubitat_lock"
                | "four_suites_door"
                | "dormakaba_oracode_door"
                | "tedee_lock"
                | "akiles_lock"
                | "noiseaware_activity_zone"
                | "minut_sensor"
                | "ecobee_thermostat"
                | "nest_thermostat"
                | "honeywell_resideo_thermostat"
                | "tado_thermostat"
                | "sensi_thermostat"
                | "smartthings_thermostat"
                | "ios_phone"
                | "android_phone";
            display_name: string;
            errors: (
                | {
                    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: "lockly_missing_wifi_bridge";
                    is_device_error: true;
                    message: string;
                }
                | {
                    created_at: string;
                    error_code: "invalid_credentials";
                    is_bridge_error?: (...) | (...) | (...);
                    is_connected_account_error?: (...) | (...) | (...);
                    message: string;
                }
                | {
                    created_at: string;
                    error_code: "bridge_disconnected";
                    is_bridge_error?: (...) | (...) | (...);
                    is_connected_account_error?: (...) | (...) | (...);
                    message: string;
                })[];
            is_managed: true;
            location: null | {
                location_name?: string;
                timezone?: string;
            };
            nickname?: string;
            properties: {
                accessory_keypad?: {
                    battery?: ...;
                    is_connected: ...;
                };
                appearance: {
                    name: string;
                };
                battery?: {
                    level: ...;
                    status: ...;
                };
                battery_level?: number;
                currently_triggering_noise_threshold_ids?: (...)[];
                has_direct_power?: boolean;
                image_alt_text?: string;
                image_url?: string;
                manufacturer?: string;
                model: {
                    accessory_keypad_supported?: (...) | (...) | (...);
                    can_connect_accessory_keypad?: (...) | (...) | (...);
                    display_name: string;
                    has_built_in_keypad?: (...) | (...) | (...);
                    manufacturer_display_name: string;
                    offline_access_codes_supported?: (...) | (...) | (...);
                    online_access_codes_supported?: (...) | (...) | (...);
                };
                name: string;
                noise_level_decibels?: number;
                offline_access_codes_enabled?: boolean;
                online: boolean;
                online_access_codes_enabled?: boolean;
                serial_number?: string;
                supports_accessory_keypad?: boolean;
                supports_offline_access_codes?: boolean;
            } & {
                assa_abloy_credential_service_metadata?: {
                    endpoints: ...;
                    has_active_endpoint: ...;
                };
                salto_space_credential_service_metadata?: {
                    has_active_phone: ...;
                };
            } & {
                akiles_metadata?: {
                    _member_group_id?: ...;
                    gadget_id: ...;
                    gadget_name: ...;
                    product_name: ...;
                };
                assa_abloy_vostio_metadata?: {
                    encoder_name: ...;
                };
                august_metadata?: {
                    has_keypad: ...;
                    house_id?: ...;
                    house_name: ...;
                    keypad_battery_level?: ...;
                    lock_id: ...;
                    lock_name: ...;
                    model?: ...;
                };
                avigilon_alta_metadata?: {
                    entry_name: ...;
                    entry_relays_total_count: ...;
                    org_name: ...;
                    site_id: ...;
                    site_name: ...;
                    zone_id: ...;
                    zone_name: ...;
                };
                brivo_metadata?: {
                    device_name: ...;
                };
                controlbyweb_metadata?: {
                    device_id: ...;
                    device_name: ...;
                    relay_name: ...;
                };
                dormakaba_oracode_metadata?: {
                    device_id?: ...;
                    door_id?: ...;
                    door_is_wireless: ...;
                    door_name: ...;
                    iana_timezone?: ...;
                    predefined_time_slots?: ...;
                    site_id: ...;
                    site_name: ...;
                };
                ecobee_metadata?: {
                    device_name: ...;
                    ecobee_device_id: ...;
                };
                four_suites_metadata?: {
                    device_id: ...;
                    device_name: ...;
                    reclose_delay_in_seconds: ...;
                };
                genie_metadata?: {
                    device_name: ...;
                    door_name: ...;
                };
                honeywell_resideo_metadata?: {
                    device_name: ...;
                    honeywell_resideo_device_id: ...;
                };
                hubitat_metadata?: {
                    device_id: ...;
                    device_label: ...;
                    device_name: ...;
                };
                igloo_metadata?: {
                    bridge_id: ...;
                    device_id: ...;
                    model?: ...;
                };
                igloohome_metadata?: {
                    bridge_id?: ...;
                    bridge_name?: ...;
                    device_id: ...;
                    device_name: ...;
                    keypad_id?: ...;
                };
                kwikset_metadata?: {
                    device_id: ...;
                    device_name: ...;
                    model_number: ...;
                };
                lockly_metadata?: {
                    device_id: ...;
                    device_name: ...;
                    model?: ...;
                };
                minut_metadata?: {
                    device_id: ...;
                    device_name: ...;
                    latest_sensor_values: ...;
                };
                nest_metadata?: {
                    device_custom_name: ...;
                    device_name: ...;
                    display_name?: ...;
                    nest_device_id: ...;
                };
                noiseaware_metadata?: {
                    device_id: ...;
                    device_model: ...;
                    device_name: ...;
                    noise_level_decibel: ...;
                    noise_level_nrs: ...;
                };
                nuki_metadata?: {
                    device_id: ...;
                    device_name: ...;
                    keypad_2_paired?: ...;
                    keypad_battery_critical?: ...;
                    keypad_paired?: ...;
                };
                salto_ks_metadata?: {
                    battery_level: ...;
                    customer_reference: ...;
                    lock_id: ...;
                    lock_type: ...;
                    locked_state: ...;
                    model?: ...;
                };
                salto_metadata?: {
                    battery_level: ...;
                    customer_reference: ...;
                    lock_id: ...;
                    lock_type: ...;
                    locked_state: ...;
                    model?: ...;
                };
                schlage_metadata?: {
                    device_id: ...;
                    device_name: ...;
                    model?: ...;
                };
                seam_bridge_metadata?: {
                    device_num: ...;
                    name: ...;
                    unlock_method?: ...;
                };
                sensi_metadata?: {
                    device_id: ...;
                    device_name: ...;
                    product_type: ...;
                };
                smartthings_metadata?: {
                    device_id: ...;
                    device_name: ...;
                    location_id?: ...;
                    model?: ...;
                };
                tado_metadata?: {
                    device_type: ...;
                    serial_no: ...;
                };
                tedee_metadata?: {
                    bridge_id: ...;
                    bridge_name: ...;
                    device_id: ...;
                    device_model: ...;
                    device_name: ...;
                    keypad_id?: ...;
                    serial_number: ...;
                };
                ttlock_metadata?: {
                    feature_value: ...;
                    features: ...;
                    has_gateway?: ...;
                    lock_alias: ...;
                    lock_id: ...;
                    wireless_keypads?: ...;
                };
                two_n_metadata?: {
                    device_id: ...;
                    device_name: ...;
                };
                visionline_metadata?: {
                    encoder_id: ...;
                };
                wyze_metadata?: {
                    device_id: ...;
                    device_info_model: ...;
                    device_name: ...;
                    keypad_uuid?: ...;
                    locker_status_hardlock?: ...;
                    product_model: ...;
                    product_name: ...;
                    product_type: ...;
                };
            } & {
                _experimental_supported_code_from_access_codes_lengths?: (...)[];
                code_constraints?: (...)[];
                door_open?: boolean;
                has_native_entry_events?: boolean;
                keypad_battery?: {
                    level: ...;
                };
                locked?: boolean;
                max_active_codes_supported?: number;
                supported_code_lengths?: (...)[];
                supports_backup_access_code_pool?: boolean;
            } & {
                active_thermostat_schedule?: null | {
                    climate_preset_key: ...;
                    created_at: ...;
                    device_id: ...;
                    ends_at: ...;
                    errors: ...;
                    is_override_allowed?: ...;
                    max_override_period_minutes?: ...;
                    name: ...;
                    starts_at: ...;
                    thermostat_schedule_id: ...;
                    workspace_id: ...;
                };
                available_climate_presets?: (...)[];
                available_fan_mode_settings?: (...)[];
                available_hvac_mode_settings?: (...)[];
                current_climate_setting?: {
                    can_delete?: ...;
                    can_edit?: ...;
                    can_program?: ...;
                    climate_preset_key?: ...;
                    cooling_set_point_celsius?: ...;
                    cooling_set_point_fahrenheit?: ...;
                    display_name?: ...;
                    fan_mode_setting?: ...;
                    heating_set_point_celsius?: ...;
                    heating_set_point_fahrenheit?: ...;
                    hvac_mode_setting?: ...;
                    manual_override_allowed?: ...;
                    name?: ...;
                };
                default_climate_setting?: {
                    can_delete?: ...;
                    can_edit?: ...;
                    can_program?: ...;
                    climate_preset_key?: ...;
                    cooling_set_point_celsius?: ...;
                    cooling_set_point_fahrenheit?: ...;
                    display_name?: ...;
                    fan_mode_setting?: ...;
                    heating_set_point_celsius?: ...;
                    heating_set_point_fahrenheit?: ...;
                    hvac_mode_setting?: ...;
                    manual_override_allowed?: ...;
                    name?: ...;
                };
                fallback_climate_preset_key?: null | string;
                fan_mode_setting?: "auto" | "on" | "circulate";
                is_cooling?: boolean;
                is_fan_running?: boolean;
                is_heating?: boolean;
                is_temporary_manual_override_active?: boolean;
                max_cooling_set_point_celsius?: number;
                max_cooling_set_point_fahrenheit?: number;
                max_heating_set_point_celsius?: number;
                max_heating_set_point_fahrenheit?: number;
                min_cooling_set_point_celsius?: number;
                min_cooling_set_point_fahrenheit?: number;
                min_heating_cooling_delta_celsius?: number;
                min_heating_cooling_delta_fahrenheit?: number;
                min_heating_set_point_celsius?: number;
                min_heating_set_point_fahrenheit?: number;
                relative_humidity?: number;
                temperature_celsius?: number;
                temperature_fahrenheit?: number;
                temperature_threshold?: {
                    lower_limit_celsius: ...;
                    lower_limit_fahrenheit: ...;
                    upper_limit_celsius: ...;
                    upper_limit_fahrenheit: ...;
                };
                thermostat_daily_programs?: (...)[];
                thermostat_weekly_program?: null | {
                    created_at: ...;
                    friday_program_id: ...;
                    monday_program_id: ...;
                    saturday_program_id: ...;
                    sunday_program_id: ...;
                    thursday_program_id: ...;
                    tuesday_program_id: ...;
                    wednesday_program_id: ...;
                };
            };
            warnings: (
                | {
                    created_at: string;
                    message: string;
                    warning_code: "partial_backup_access_code_pool";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "many_active_backup_codes";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "wyze_device_missing_gateway";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "functional_offline_device";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "third_party_integration_detected";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "nest_thermostat_in_manual_eco_mode";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "ttlock_lock_gateway_unlocking_not_enabled";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "ttlock_weak_gateway_signal";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "power_saving_mode";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "temperature_threshold_exceeded";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "device_communication_degraded";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "scheduled_maintenance_window";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "device_has_flaky_connection";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "salto_ks_office_mode";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "salto_ks_privacy_mode";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "salto_ks_subscription_limit_almost_reached";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "unknown_issue_with_phone";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "lockly_time_zone_not_configured";
                })[];
            workspace_id: string;
        }[];
    }>, "devices" | "locks">, "devices">)

      • (params?): SeamHttpRequest<SetNonNullable<Required<{
            devices: {
                can_hvac_cool?: boolean;
                can_hvac_heat?: boolean;
                can_hvac_heat_cool?: boolean;
                can_program_offline_access_codes?: boolean;
                can_program_online_access_codes?: boolean;
                can_remotely_lock?: boolean;
                can_remotely_unlock?: boolean;
                can_simulate_connection?: boolean;
                can_simulate_disconnection?: boolean;
                can_simulate_removal?: boolean;
                can_turn_off_hvac?: boolean;
                capabilities_supported: (
                    | "access_code"
                    | "lock"
                    | "phone"
                    | "thermostat"
                    | "noise_detection"
                    | "battery")[];
                connected_account_id: string;
                created_at: string;
                custom_metadata: Record<string, string | boolean>;
                device_id: string;
                device_type:
                    | "akuvox_lock"
                    | "august_lock"
                    | "brivo_access_point"
                    | "butterflymx_panel"
                    | "avigilon_alta_entry"
                    | "doorking_lock"
                    | "genie_door"
                    | "igloo_lock"
                    | "linear_lock"
                    | "lockly_lock"
                    | "kwikset_lock"
                    | "nuki_lock"
                    | "salto_lock"
                    | "schlage_lock"
                    | "seam_relay"
                    | "smartthings_lock"
                    | "wyze_lock"
                    | "yale_lock"
                    | "two_n_intercom"
                    | "controlbyweb_device"
                    | "ttlock_lock"
                    | "igloohome_lock"
                    | "hubitat_lock"
                    | "four_suites_door"
                    | "dormakaba_oracode_door"
                    | "tedee_lock"
                    | "akiles_lock"
                    | "noiseaware_activity_zone"
                    | "minut_sensor"
                    | "ecobee_thermostat"
                    | "nest_thermostat"
                    | "honeywell_resideo_thermostat"
                    | "tado_thermostat"
                    | "sensi_thermostat"
                    | "smartthings_thermostat"
                    | "ios_phone"
                    | "android_phone";
                display_name: string;
                errors: (
                    | {
                        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: "lockly_missing_wifi_bridge";
                        is_device_error: true;
                        message: string;
                    }
                    | {
                        created_at: string;
                        error_code: "invalid_credentials";
                        is_bridge_error?: (...) | (...) | (...);
                        is_connected_account_error?: (...) | (...) | (...);
                        message: string;
                    }
                    | {
                        created_at: string;
                        error_code: "bridge_disconnected";
                        is_bridge_error?: (...) | (...) | (...);
                        is_connected_account_error?: (...) | (...) | (...);
                        message: string;
                    })[];
                is_managed: true;
                location: null | {
                    location_name?: string;
                    timezone?: string;
                };
                nickname?: string;
                properties: {
                    accessory_keypad?: {
                        battery?: ...;
                        is_connected: ...;
                    };
                    appearance: {
                        name: string;
                    };
                    battery?: {
                        level: ...;
                        status: ...;
                    };
                    battery_level?: number;
                    currently_triggering_noise_threshold_ids?: (...)[];
                    has_direct_power?: boolean;
                    image_alt_text?: string;
                    image_url?: string;
                    manufacturer?: string;
                    model: {
                        accessory_keypad_supported?: (...) | (...) | (...);
                        can_connect_accessory_keypad?: (...) | (...) | (...);
                        display_name: string;
                        has_built_in_keypad?: (...) | (...) | (...);
                        manufacturer_display_name: string;
                        offline_access_codes_supported?: (...) | (...) | (...);
                        online_access_codes_supported?: (...) | (...) | (...);
                    };
                    name: string;
                    noise_level_decibels?: number;
                    offline_access_codes_enabled?: boolean;
                    online: boolean;
                    online_access_codes_enabled?: boolean;
                    serial_number?: string;
                    supports_accessory_keypad?: boolean;
                    supports_offline_access_codes?: boolean;
                } & {
                    assa_abloy_credential_service_metadata?: {
                        endpoints: ...;
                        has_active_endpoint: ...;
                    };
                    salto_space_credential_service_metadata?: {
                        has_active_phone: ...;
                    };
                } & {
                    akiles_metadata?: {
                        _member_group_id?: ...;
                        gadget_id: ...;
                        gadget_name: ...;
                        product_name: ...;
                    };
                    assa_abloy_vostio_metadata?: {
                        encoder_name: ...;
                    };
                    august_metadata?: {
                        has_keypad: ...;
                        house_id?: ...;
                        house_name: ...;
                        keypad_battery_level?: ...;
                        lock_id: ...;
                        lock_name: ...;
                        model?: ...;
                    };
                    avigilon_alta_metadata?: {
                        entry_name: ...;
                        entry_relays_total_count: ...;
                        org_name: ...;
                        site_id: ...;
                        site_name: ...;
                        zone_id: ...;
                        zone_name: ...;
                    };
                    brivo_metadata?: {
                        device_name: ...;
                    };
                    controlbyweb_metadata?: {
                        device_id: ...;
                        device_name: ...;
                        relay_name: ...;
                    };
                    dormakaba_oracode_metadata?: {
                        device_id?: ...;
                        door_id?: ...;
                        door_is_wireless: ...;
                        door_name: ...;
                        iana_timezone?: ...;
                        predefined_time_slots?: ...;
                        site_id: ...;
                        site_name: ...;
                    };
                    ecobee_metadata?: {
                        device_name: ...;
                        ecobee_device_id: ...;
                    };
                    four_suites_metadata?: {
                        device_id: ...;
                        device_name: ...;
                        reclose_delay_in_seconds: ...;
                    };
                    genie_metadata?: {
                        device_name: ...;
                        door_name: ...;
                    };
                    honeywell_resideo_metadata?: {
                        device_name: ...;
                        honeywell_resideo_device_id: ...;
                    };
                    hubitat_metadata?: {
                        device_id: ...;
                        device_label: ...;
                        device_name: ...;
                    };
                    igloo_metadata?: {
                        bridge_id: ...;
                        device_id: ...;
                        model?: ...;
                    };
                    igloohome_metadata?: {
                        bridge_id?: ...;
                        bridge_name?: ...;
                        device_id: ...;
                        device_name: ...;
                        keypad_id?: ...;
                    };
                    kwikset_metadata?: {
                        device_id: ...;
                        device_name: ...;
                        model_number: ...;
                    };
                    lockly_metadata?: {
                        device_id: ...;
                        device_name: ...;
                        model?: ...;
                    };
                    minut_metadata?: {
                        device_id: ...;
                        device_name: ...;
                        latest_sensor_values: ...;
                    };
                    nest_metadata?: {
                        device_custom_name: ...;
                        device_name: ...;
                        display_name?: ...;
                        nest_device_id: ...;
                    };
                    noiseaware_metadata?: {
                        device_id: ...;
                        device_model: ...;
                        device_name: ...;
                        noise_level_decibel: ...;
                        noise_level_nrs: ...;
                    };
                    nuki_metadata?: {
                        device_id: ...;
                        device_name: ...;
                        keypad_2_paired?: ...;
                        keypad_battery_critical?: ...;
                        keypad_paired?: ...;
                    };
                    salto_ks_metadata?: {
                        battery_level: ...;
                        customer_reference: ...;
                        lock_id: ...;
                        lock_type: ...;
                        locked_state: ...;
                        model?: ...;
                    };
                    salto_metadata?: {
                        battery_level: ...;
                        customer_reference: ...;
                        lock_id: ...;
                        lock_type: ...;
                        locked_state: ...;
                        model?: ...;
                    };
                    schlage_metadata?: {
                        device_id: ...;
                        device_name: ...;
                        model?: ...;
                    };
                    seam_bridge_metadata?: {
                        device_num: ...;
                        name: ...;
                        unlock_method?: ...;
                    };
                    sensi_metadata?: {
                        device_id: ...;
                        device_name: ...;
                        product_type: ...;
                    };
                    smartthings_metadata?: {
                        device_id: ...;
                        device_name: ...;
                        location_id?: ...;
                        model?: ...;
                    };
                    tado_metadata?: {
                        device_type: ...;
                        serial_no: ...;
                    };
                    tedee_metadata?: {
                        bridge_id: ...;
                        bridge_name: ...;
                        device_id: ...;
                        device_model: ...;
                        device_name: ...;
                        keypad_id?: ...;
                        serial_number: ...;
                    };
                    ttlock_metadata?: {
                        feature_value: ...;
                        features: ...;
                        has_gateway?: ...;
                        lock_alias: ...;
                        lock_id: ...;
                        wireless_keypads?: ...;
                    };
                    two_n_metadata?: {
                        device_id: ...;
                        device_name: ...;
                    };
                    visionline_metadata?: {
                        encoder_id: ...;
                    };
                    wyze_metadata?: {
                        device_id: ...;
                        device_info_model: ...;
                        device_name: ...;
                        keypad_uuid?: ...;
                        locker_status_hardlock?: ...;
                        product_model: ...;
                        product_name: ...;
                        product_type: ...;
                    };
                } & {
                    _experimental_supported_code_from_access_codes_lengths?: (...)[];
                    code_constraints?: (...)[];
                    door_open?: boolean;
                    has_native_entry_events?: boolean;
                    keypad_battery?: {
                        level: ...;
                    };
                    locked?: boolean;
                    max_active_codes_supported?: number;
                    supported_code_lengths?: (...)[];
                    supports_backup_access_code_pool?: boolean;
                } & {
                    active_thermostat_schedule?: null | {
                        climate_preset_key: ...;
                        created_at: ...;
                        device_id: ...;
                        ends_at: ...;
                        errors: ...;
                        is_override_allowed?: ...;
                        max_override_period_minutes?: ...;
                        name: ...;
                        starts_at: ...;
                        thermostat_schedule_id: ...;
                        workspace_id: ...;
                    };
                    available_climate_presets?: (...)[];
                    available_fan_mode_settings?: (...)[];
                    available_hvac_mode_settings?: (...)[];
                    current_climate_setting?: {
                        can_delete?: ...;
                        can_edit?: ...;
                        can_program?: ...;
                        climate_preset_key?: ...;
                        cooling_set_point_celsius?: ...;
                        cooling_set_point_fahrenheit?: ...;
                        display_name?: ...;
                        fan_mode_setting?: ...;
                        heating_set_point_celsius?: ...;
                        heating_set_point_fahrenheit?: ...;
                        hvac_mode_setting?: ...;
                        manual_override_allowed?: ...;
                        name?: ...;
                    };
                    default_climate_setting?: {
                        can_delete?: ...;
                        can_edit?: ...;
                        can_program?: ...;
                        climate_preset_key?: ...;
                        cooling_set_point_celsius?: ...;
                        cooling_set_point_fahrenheit?: ...;
                        display_name?: ...;
                        fan_mode_setting?: ...;
                        heating_set_point_celsius?: ...;
                        heating_set_point_fahrenheit?: ...;
                        hvac_mode_setting?: ...;
                        manual_override_allowed?: ...;
                        name?: ...;
                    };
                    fallback_climate_preset_key?: null | string;
                    fan_mode_setting?: "auto" | "on" | "circulate";
                    is_cooling?: boolean;
                    is_fan_running?: boolean;
                    is_heating?: boolean;
                    is_temporary_manual_override_active?: boolean;
                    max_cooling_set_point_celsius?: number;
                    max_cooling_set_point_fahrenheit?: number;
                    max_heating_set_point_celsius?: number;
                    max_heating_set_point_fahrenheit?: number;
                    min_cooling_set_point_celsius?: number;
                    min_cooling_set_point_fahrenheit?: number;
                    min_heating_cooling_delta_celsius?: number;
                    min_heating_cooling_delta_fahrenheit?: number;
                    min_heating_set_point_celsius?: number;
                    min_heating_set_point_fahrenheit?: number;
                    relative_humidity?: number;
                    temperature_celsius?: number;
                    temperature_fahrenheit?: number;
                    temperature_threshold?: {
                        lower_limit_celsius: ...;
                        lower_limit_fahrenheit: ...;
                        upper_limit_celsius: ...;
                        upper_limit_fahrenheit: ...;
                    };
                    thermostat_daily_programs?: (...)[];
                    thermostat_weekly_program?: null | {
                        created_at: ...;
                        friday_program_id: ...;
                        monday_program_id: ...;
                        saturday_program_id: ...;
                        sunday_program_id: ...;
                        thursday_program_id: ...;
                        tuesday_program_id: ...;
                        wednesday_program_id: ...;
                    };
                };
                warnings: (
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "partial_backup_access_code_pool";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "many_active_backup_codes";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "wyze_device_missing_gateway";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "functional_offline_device";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "third_party_integration_detected";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "nest_thermostat_in_manual_eco_mode";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "ttlock_lock_gateway_unlocking_not_enabled";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "ttlock_weak_gateway_signal";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "power_saving_mode";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "temperature_threshold_exceeded";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "device_communication_degraded";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "scheduled_maintenance_window";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "device_has_flaky_connection";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "salto_ks_office_mode";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "salto_ks_privacy_mode";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "salto_ks_subscription_limit_almost_reached";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "unknown_issue_with_phone";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "lockly_time_zone_not_configured";
                    })[];
                workspace_id: string;
            }[];
            locks: {
                can_hvac_cool?: boolean;
                can_hvac_heat?: boolean;
                can_hvac_heat_cool?: boolean;
                can_program_offline_access_codes?: boolean;
                can_program_online_access_codes?: boolean;
                can_remotely_lock?: boolean;
                can_remotely_unlock?: boolean;
                can_simulate_connection?: boolean;
                can_simulate_disconnection?: boolean;
                can_simulate_removal?: boolean;
                can_turn_off_hvac?: boolean;
                capabilities_supported: (
                    | "access_code"
                    | "lock"
                    | "phone"
                    | "thermostat"
                    | "noise_detection"
                    | "battery")[];
                connected_account_id: string;
                created_at: string;
                custom_metadata: Record<string, string | boolean>;
                device_id: string;
                device_type:
                    | "akuvox_lock"
                    | "august_lock"
                    | "brivo_access_point"
                    | "butterflymx_panel"
                    | "avigilon_alta_entry"
                    | "doorking_lock"
                    | "genie_door"
                    | "igloo_lock"
                    | "linear_lock"
                    | "lockly_lock"
                    | "kwikset_lock"
                    | "nuki_lock"
                    | "salto_lock"
                    | "schlage_lock"
                    | "seam_relay"
                    | "smartthings_lock"
                    | "wyze_lock"
                    | "yale_lock"
                    | "two_n_intercom"
                    | "controlbyweb_device"
                    | "ttlock_lock"
                    | "igloohome_lock"
                    | "hubitat_lock"
                    | "four_suites_door"
                    | "dormakaba_oracode_door"
                    | "tedee_lock"
                    | "akiles_lock"
                    | "noiseaware_activity_zone"
                    | "minut_sensor"
                    | "ecobee_thermostat"
                    | "nest_thermostat"
                    | "honeywell_resideo_thermostat"
                    | "tado_thermostat"
                    | "sensi_thermostat"
                    | "smartthings_thermostat"
                    | "ios_phone"
                    | "android_phone";
                display_name: string;
                errors: (
                    | {
                        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: "lockly_missing_wifi_bridge";
                        is_device_error: true;
                        message: string;
                    }
                    | {
                        created_at: string;
                        error_code: "invalid_credentials";
                        is_bridge_error?: (...) | (...) | (...);
                        is_connected_account_error?: (...) | (...) | (...);
                        message: string;
                    }
                    | {
                        created_at: string;
                        error_code: "bridge_disconnected";
                        is_bridge_error?: (...) | (...) | (...);
                        is_connected_account_error?: (...) | (...) | (...);
                        message: string;
                    })[];
                is_managed: true;
                location: null | {
                    location_name?: string;
                    timezone?: string;
                };
                nickname?: string;
                properties: {
                    accessory_keypad?: {
                        battery?: ...;
                        is_connected: ...;
                    };
                    appearance: {
                        name: string;
                    };
                    battery?: {
                        level: ...;
                        status: ...;
                    };
                    battery_level?: number;
                    currently_triggering_noise_threshold_ids?: (...)[];
                    has_direct_power?: boolean;
                    image_alt_text?: string;
                    image_url?: string;
                    manufacturer?: string;
                    model: {
                        accessory_keypad_supported?: (...) | (...) | (...);
                        can_connect_accessory_keypad?: (...) | (...) | (...);
                        display_name: string;
                        has_built_in_keypad?: (...) | (...) | (...);
                        manufacturer_display_name: string;
                        offline_access_codes_supported?: (...) | (...) | (...);
                        online_access_codes_supported?: (...) | (...) | (...);
                    };
                    name: string;
                    noise_level_decibels?: number;
                    offline_access_codes_enabled?: boolean;
                    online: boolean;
                    online_access_codes_enabled?: boolean;
                    serial_number?: string;
                    supports_accessory_keypad?: boolean;
                    supports_offline_access_codes?: boolean;
                } & {
                    assa_abloy_credential_service_metadata?: {
                        endpoints: ...;
                        has_active_endpoint: ...;
                    };
                    salto_space_credential_service_metadata?: {
                        has_active_phone: ...;
                    };
                } & {
                    akiles_metadata?: {
                        _member_group_id?: ...;
                        gadget_id: ...;
                        gadget_name: ...;
                        product_name: ...;
                    };
                    assa_abloy_vostio_metadata?: {
                        encoder_name: ...;
                    };
                    august_metadata?: {
                        has_keypad: ...;
                        house_id?: ...;
                        house_name: ...;
                        keypad_battery_level?: ...;
                        lock_id: ...;
                        lock_name: ...;
                        model?: ...;
                    };
                    avigilon_alta_metadata?: {
                        entry_name: ...;
                        entry_relays_total_count: ...;
                        org_name: ...;
                        site_id: ...;
                        site_name: ...;
                        zone_id: ...;
                        zone_name: ...;
                    };
                    brivo_metadata?: {
                        device_name: ...;
                    };
                    controlbyweb_metadata?: {
                        device_id: ...;
                        device_name: ...;
                        relay_name: ...;
                    };
                    dormakaba_oracode_metadata?: {
                        device_id?: ...;
                        door_id?: ...;
                        door_is_wireless: ...;
                        door_name: ...;
                        iana_timezone?: ...;
                        predefined_time_slots?: ...;
                        site_id: ...;
                        site_name: ...;
                    };
                    ecobee_metadata?: {
                        device_name: ...;
                        ecobee_device_id: ...;
                    };
                    four_suites_metadata?: {
                        device_id: ...;
                        device_name: ...;
                        reclose_delay_in_seconds: ...;
                    };
                    genie_metadata?: {
                        device_name: ...;
                        door_name: ...;
                    };
                    honeywell_resideo_metadata?: {
                        device_name: ...;
                        honeywell_resideo_device_id: ...;
                    };
                    hubitat_metadata?: {
                        device_id: ...;
                        device_label: ...;
                        device_name: ...;
                    };
                    igloo_metadata?: {
                        bridge_id: ...;
                        device_id: ...;
                        model?: ...;
                    };
                    igloohome_metadata?: {
                        bridge_id?: ...;
                        bridge_name?: ...;
                        device_id: ...;
                        device_name: ...;
                        keypad_id?: ...;
                    };
                    kwikset_metadata?: {
                        device_id: ...;
                        device_name: ...;
                        model_number: ...;
                    };
                    lockly_metadata?: {
                        device_id: ...;
                        device_name: ...;
                        model?: ...;
                    };
                    minut_metadata?: {
                        device_id: ...;
                        device_name: ...;
                        latest_sensor_values: ...;
                    };
                    nest_metadata?: {
                        device_custom_name: ...;
                        device_name: ...;
                        display_name?: ...;
                        nest_device_id: ...;
                    };
                    noiseaware_metadata?: {
                        device_id: ...;
                        device_model: ...;
                        device_name: ...;
                        noise_level_decibel: ...;
                        noise_level_nrs: ...;
                    };
                    nuki_metadata?: {
                        device_id: ...;
                        device_name: ...;
                        keypad_2_paired?: ...;
                        keypad_battery_critical?: ...;
                        keypad_paired?: ...;
                    };
                    salto_ks_metadata?: {
                        battery_level: ...;
                        customer_reference: ...;
                        lock_id: ...;
                        lock_type: ...;
                        locked_state: ...;
                        model?: ...;
                    };
                    salto_metadata?: {
                        battery_level: ...;
                        customer_reference: ...;
                        lock_id: ...;
                        lock_type: ...;
                        locked_state: ...;
                        model?: ...;
                    };
                    schlage_metadata?: {
                        device_id: ...;
                        device_name: ...;
                        model?: ...;
                    };
                    seam_bridge_metadata?: {
                        device_num: ...;
                        name: ...;
                        unlock_method?: ...;
                    };
                    sensi_metadata?: {
                        device_id: ...;
                        device_name: ...;
                        product_type: ...;
                    };
                    smartthings_metadata?: {
                        device_id: ...;
                        device_name: ...;
                        location_id?: ...;
                        model?: ...;
                    };
                    tado_metadata?: {
                        device_type: ...;
                        serial_no: ...;
                    };
                    tedee_metadata?: {
                        bridge_id: ...;
                        bridge_name: ...;
                        device_id: ...;
                        device_model: ...;
                        device_name: ...;
                        keypad_id?: ...;
                        serial_number: ...;
                    };
                    ttlock_metadata?: {
                        feature_value: ...;
                        features: ...;
                        has_gateway?: ...;
                        lock_alias: ...;
                        lock_id: ...;
                        wireless_keypads?: ...;
                    };
                    two_n_metadata?: {
                        device_id: ...;
                        device_name: ...;
                    };
                    visionline_metadata?: {
                        encoder_id: ...;
                    };
                    wyze_metadata?: {
                        device_id: ...;
                        device_info_model: ...;
                        device_name: ...;
                        keypad_uuid?: ...;
                        locker_status_hardlock?: ...;
                        product_model: ...;
                        product_name: ...;
                        product_type: ...;
                    };
                } & {
                    _experimental_supported_code_from_access_codes_lengths?: (...)[];
                    code_constraints?: (...)[];
                    door_open?: boolean;
                    has_native_entry_events?: boolean;
                    keypad_battery?: {
                        level: ...;
                    };
                    locked?: boolean;
                    max_active_codes_supported?: number;
                    supported_code_lengths?: (...)[];
                    supports_backup_access_code_pool?: boolean;
                } & {
                    active_thermostat_schedule?: null | {
                        climate_preset_key: ...;
                        created_at: ...;
                        device_id: ...;
                        ends_at: ...;
                        errors: ...;
                        is_override_allowed?: ...;
                        max_override_period_minutes?: ...;
                        name: ...;
                        starts_at: ...;
                        thermostat_schedule_id: ...;
                        workspace_id: ...;
                    };
                    available_climate_presets?: (...)[];
                    available_fan_mode_settings?: (...)[];
                    available_hvac_mode_settings?: (...)[];
                    current_climate_setting?: {
                        can_delete?: ...;
                        can_edit?: ...;
                        can_program?: ...;
                        climate_preset_key?: ...;
                        cooling_set_point_celsius?: ...;
                        cooling_set_point_fahrenheit?: ...;
                        display_name?: ...;
                        fan_mode_setting?: ...;
                        heating_set_point_celsius?: ...;
                        heating_set_point_fahrenheit?: ...;
                        hvac_mode_setting?: ...;
                        manual_override_allowed?: ...;
                        name?: ...;
                    };
                    default_climate_setting?: {
                        can_delete?: ...;
                        can_edit?: ...;
                        can_program?: ...;
                        climate_preset_key?: ...;
                        cooling_set_point_celsius?: ...;
                        cooling_set_point_fahrenheit?: ...;
                        display_name?: ...;
                        fan_mode_setting?: ...;
                        heating_set_point_celsius?: ...;
                        heating_set_point_fahrenheit?: ...;
                        hvac_mode_setting?: ...;
                        manual_override_allowed?: ...;
                        name?: ...;
                    };
                    fallback_climate_preset_key?: null | string;
                    fan_mode_setting?: "auto" | "on" | "circulate";
                    is_cooling?: boolean;
                    is_fan_running?: boolean;
                    is_heating?: boolean;
                    is_temporary_manual_override_active?: boolean;
                    max_cooling_set_point_celsius?: number;
                    max_cooling_set_point_fahrenheit?: number;
                    max_heating_set_point_celsius?: number;
                    max_heating_set_point_fahrenheit?: number;
                    min_cooling_set_point_celsius?: number;
                    min_cooling_set_point_fahrenheit?: number;
                    min_heating_cooling_delta_celsius?: number;
                    min_heating_cooling_delta_fahrenheit?: number;
                    min_heating_set_point_celsius?: number;
                    min_heating_set_point_fahrenheit?: number;
                    relative_humidity?: number;
                    temperature_celsius?: number;
                    temperature_fahrenheit?: number;
                    temperature_threshold?: {
                        lower_limit_celsius: ...;
                        lower_limit_fahrenheit: ...;
                        upper_limit_celsius: ...;
                        upper_limit_fahrenheit: ...;
                    };
                    thermostat_daily_programs?: (...)[];
                    thermostat_weekly_program?: null | {
                        created_at: ...;
                        friday_program_id: ...;
                        monday_program_id: ...;
                        saturday_program_id: ...;
                        sunday_program_id: ...;
                        thursday_program_id: ...;
                        tuesday_program_id: ...;
                        wednesday_program_id: ...;
                    };
                };
                warnings: (
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "partial_backup_access_code_pool";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "many_active_backup_codes";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "wyze_device_missing_gateway";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "functional_offline_device";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "third_party_integration_detected";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "nest_thermostat_in_manual_eco_mode";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "ttlock_lock_gateway_unlocking_not_enabled";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "ttlock_weak_gateway_signal";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "power_saving_mode";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "temperature_threshold_exceeded";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "device_communication_degraded";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "scheduled_maintenance_window";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "device_has_flaky_connection";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "salto_ks_office_mode";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "salto_ks_privacy_mode";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "salto_ks_subscription_limit_almost_reached";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "unknown_issue_with_phone";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "lockly_time_zone_not_configured";
                    })[];
                workspace_id: string;
            }[];
        }>, "devices" | "locks">, "devices">
      • Parameters

        • Optionalparams: {
              connect_webview_id?: string;
              connected_account_id?: string;
              connected_account_ids?: string[];
              created_before?: Date;
              custom_metadata_has?: Record<string, string | boolean>;
              customer_ids?: string[];
              device_ids?: string[];
              device_type?:
                  | "akuvox_lock"
                  | "august_lock"
                  | "brivo_access_point"
                  | "butterflymx_panel"
                  | "avigilon_alta_entry"
                  | "doorking_lock"
                  | "genie_door"
                  | "igloo_lock"
                  | "linear_lock"
                  | "lockly_lock"
                  | "kwikset_lock"
                  | "nuki_lock"
                  | "salto_lock"
                  | "schlage_lock"
                  | "seam_relay"
                  | "smartthings_lock"
                  | "wyze_lock"
                  | "yale_lock"
                  | "two_n_intercom"
                  | "controlbyweb_device"
                  | "ttlock_lock"
                  | "igloohome_lock"
                  | "hubitat_lock"
                  | "four_suites_door"
                  | "dormakaba_oracode_door"
                  | "tedee_lock"
                  | "akiles_lock";
              device_types?: (
                  | "akuvox_lock"
                  | "august_lock"
                  | "brivo_access_point"
                  | "butterflymx_panel"
                  | "avigilon_alta_entry"
                  | "doorking_lock"
                  | "genie_door"
                  | "igloo_lock"
                  | "linear_lock"
                  | "lockly_lock"
                  | "kwikset_lock"
                  | "nuki_lock"
                  | "salto_lock"
                  | "schlage_lock"
                  | "seam_relay"
                  | "smartthings_lock"
                  | "wyze_lock"
                  | "yale_lock"
                  | "two_n_intercom"
                  | "controlbyweb_device"
                  | "ttlock_lock"
                  | "igloohome_lock"
                  | "hubitat_lock"
                  | "four_suites_door"
                  | "dormakaba_oracode_door"
                  | "tedee_lock"
                  | "akiles_lock")[];
              exclude_if?: (
                  | "can_remotely_unlock"
                  | "can_remotely_lock"
                  | "can_program_offline_access_codes"
                  | "can_program_online_access_codes"
                  | "can_hvac_heat"
                  | "can_hvac_cool"
                  | "can_hvac_heat_cool"
                  | "can_turn_off_hvac"
                  | "can_simulate_removal"
                  | "can_simulate_connection"
                  | "can_simulate_disconnection")[];
              include_if?: (
                  | "can_remotely_unlock"
                  | "can_remotely_lock"
                  | "can_program_offline_access_codes"
                  | "can_program_online_access_codes"
                  | "can_hvac_heat"
                  | "can_hvac_cool"
                  | "can_hvac_heat_cool"
                  | "can_turn_off_hvac"
                  | "can_simulate_removal"
                  | "can_simulate_connection"
                  | "can_simulate_disconnection")[];
              limit?: number;
              manufacturer?:
                  | "akuvox"
                  | "august"
                  | "avigilon_alta"
                  | "brivo"
                  | "butterflymx"
                  | "schlage"
                  | "smartthings"
                  | "yale"
                  | "genie"
                  | "doorking"
                  | "salto"
                  | "lockly"
                  | "ttlock"
                  | "linear"
                  | "nuki"
                  | "igloo"
                  | "kwikset"
                  | "controlbyweb"
                  | "igloohome"
                  | "hubitat"
                  | "four_suites"
                  | "dormakaba_oracode"
                  | "wyze"
                  | "tedee"
                  | "akiles"
                  | "kwikset2"
                  | "seam"
                  | "two_n";
              page_cursor?: null | string;
              space_id?: string;
              unstable_location_id?: null | string;
              user_identifier_key?: string;
          }
          • Optionalconnect_webview_id?: string

            ID of the Connect Webview for which you want to list devices.

          • Optionalconnected_account_id?: string

            ID of the connected account for which you want to list devices.

          • Optionalconnected_account_ids?: string[]

            Array of IDs of the connected accounts for which you want to list devices.

          • Optionalcreated_before?: Date

            Timestamp by which to limit returned devices. Returns devices created before this timestamp.

          • Optionalcustom_metadata_has?: Record<string, string | boolean>

            Set of key:value custom metadata pairs for which you want to list devices.

          • Optionalcustomer_ids?: string[]
          • Optionaldevice_ids?: string[]

            Array of device IDs for which you want to list devices.

          • Optionaldevice_type?:
                | "akuvox_lock"
                | "august_lock"
                | "brivo_access_point"
                | "butterflymx_panel"
                | "avigilon_alta_entry"
                | "doorking_lock"
                | "genie_door"
                | "igloo_lock"
                | "linear_lock"
                | "lockly_lock"
                | "kwikset_lock"
                | "nuki_lock"
                | "salto_lock"
                | "schlage_lock"
                | "seam_relay"
                | "smartthings_lock"
                | "wyze_lock"
                | "yale_lock"
                | "two_n_intercom"
                | "controlbyweb_device"
                | "ttlock_lock"
                | "igloohome_lock"
                | "hubitat_lock"
                | "four_suites_door"
                | "dormakaba_oracode_door"
                | "tedee_lock"
                | "akiles_lock"

            Device type of the locks that you want to list.

          • Optionaldevice_types?: (
                | "akuvox_lock"
                | "august_lock"
                | "brivo_access_point"
                | "butterflymx_panel"
                | "avigilon_alta_entry"
                | "doorking_lock"
                | "genie_door"
                | "igloo_lock"
                | "linear_lock"
                | "lockly_lock"
                | "kwikset_lock"
                | "nuki_lock"
                | "salto_lock"
                | "schlage_lock"
                | "seam_relay"
                | "smartthings_lock"
                | "wyze_lock"
                | "yale_lock"
                | "two_n_intercom"
                | "controlbyweb_device"
                | "ttlock_lock"
                | "igloohome_lock"
                | "hubitat_lock"
                | "four_suites_door"
                | "dormakaba_oracode_door"
                | "tedee_lock"
                | "akiles_lock")[]

            Device types of the locks that you want to list.

          • Optionalexclude_if?: (
                | "can_remotely_unlock"
                | "can_remotely_lock"
                | "can_program_offline_access_codes"
                | "can_program_online_access_codes"
                | "can_hvac_heat"
                | "can_hvac_cool"
                | "can_hvac_heat_cool"
                | "can_turn_off_hvac"
                | "can_simulate_removal"
                | "can_simulate_connection"
                | "can_simulate_disconnection")[]
          • Optionalinclude_if?: (
                | "can_remotely_unlock"
                | "can_remotely_lock"
                | "can_program_offline_access_codes"
                | "can_program_online_access_codes"
                | "can_hvac_heat"
                | "can_hvac_cool"
                | "can_hvac_heat_cool"
                | "can_turn_off_hvac"
                | "can_simulate_removal"
                | "can_simulate_connection"
                | "can_simulate_disconnection")[]
          • Optionallimit?: number

            Numerical limit on the number of devices to return.

          • Optionalmanufacturer?:
                | "akuvox"
                | "august"
                | "avigilon_alta"
                | "brivo"
                | "butterflymx"
                | "schlage"
                | "smartthings"
                | "yale"
                | "genie"
                | "doorking"
                | "salto"
                | "lockly"
                | "ttlock"
                | "linear"
                | "nuki"
                | "igloo"
                | "kwikset"
                | "controlbyweb"
                | "igloohome"
                | "hubitat"
                | "four_suites"
                | "dormakaba_oracode"
                | "wyze"
                | "tedee"
                | "akiles"
                | "kwikset2"
                | "seam"
                | "two_n"

            Manufacturer of the locks that you want to list.

          • Optionalpage_cursor?: null | string

            Identifies the specific page of results to return, obtained from the previous page's next_page_cursor.

          • Optionalspace_id?: string

            ID of the space for which you want to list devices.

          • Optionalunstable_location_id?: null | string

            Use space_id.

          • Optionaluser_identifier_key?: string

            Your own internal user ID for the user for which you want to list devices.

        Returns SeamHttpRequest<SetNonNullable<Required<{
            devices: {
                can_hvac_cool?: boolean;
                can_hvac_heat?: boolean;
                can_hvac_heat_cool?: boolean;
                can_program_offline_access_codes?: boolean;
                can_program_online_access_codes?: boolean;
                can_remotely_lock?: boolean;
                can_remotely_unlock?: boolean;
                can_simulate_connection?: boolean;
                can_simulate_disconnection?: boolean;
                can_simulate_removal?: boolean;
                can_turn_off_hvac?: boolean;
                capabilities_supported: (
                    | "access_code"
                    | "lock"
                    | "phone"
                    | "thermostat"
                    | "noise_detection"
                    | "battery")[];
                connected_account_id: string;
                created_at: string;
                custom_metadata: Record<string, string | boolean>;
                device_id: string;
                device_type:
                    | "akuvox_lock"
                    | "august_lock"
                    | "brivo_access_point"
                    | "butterflymx_panel"
                    | "avigilon_alta_entry"
                    | "doorking_lock"
                    | "genie_door"
                    | "igloo_lock"
                    | "linear_lock"
                    | "lockly_lock"
                    | "kwikset_lock"
                    | "nuki_lock"
                    | "salto_lock"
                    | "schlage_lock"
                    | "seam_relay"
                    | "smartthings_lock"
                    | "wyze_lock"
                    | "yale_lock"
                    | "two_n_intercom"
                    | "controlbyweb_device"
                    | "ttlock_lock"
                    | "igloohome_lock"
                    | "hubitat_lock"
                    | "four_suites_door"
                    | "dormakaba_oracode_door"
                    | "tedee_lock"
                    | "akiles_lock"
                    | "noiseaware_activity_zone"
                    | "minut_sensor"
                    | "ecobee_thermostat"
                    | "nest_thermostat"
                    | "honeywell_resideo_thermostat"
                    | "tado_thermostat"
                    | "sensi_thermostat"
                    | "smartthings_thermostat"
                    | "ios_phone"
                    | "android_phone";
                display_name: string;
                errors: (
                    | {
                        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: "lockly_missing_wifi_bridge";
                        is_device_error: true;
                        message: string;
                    }
                    | {
                        created_at: string;
                        error_code: "invalid_credentials";
                        is_bridge_error?: (...) | (...) | (...);
                        is_connected_account_error?: (...) | (...) | (...);
                        message: string;
                    }
                    | {
                        created_at: string;
                        error_code: "bridge_disconnected";
                        is_bridge_error?: (...) | (...) | (...);
                        is_connected_account_error?: (...) | (...) | (...);
                        message: string;
                    })[];
                is_managed: true;
                location: null | {
                    location_name?: string;
                    timezone?: string;
                };
                nickname?: string;
                properties: {
                    accessory_keypad?: {
                        battery?: ...;
                        is_connected: ...;
                    };
                    appearance: {
                        name: string;
                    };
                    battery?: {
                        level: ...;
                        status: ...;
                    };
                    battery_level?: number;
                    currently_triggering_noise_threshold_ids?: (...)[];
                    has_direct_power?: boolean;
                    image_alt_text?: string;
                    image_url?: string;
                    manufacturer?: string;
                    model: {
                        accessory_keypad_supported?: (...) | (...) | (...);
                        can_connect_accessory_keypad?: (...) | (...) | (...);
                        display_name: string;
                        has_built_in_keypad?: (...) | (...) | (...);
                        manufacturer_display_name: string;
                        offline_access_codes_supported?: (...) | (...) | (...);
                        online_access_codes_supported?: (...) | (...) | (...);
                    };
                    name: string;
                    noise_level_decibels?: number;
                    offline_access_codes_enabled?: boolean;
                    online: boolean;
                    online_access_codes_enabled?: boolean;
                    serial_number?: string;
                    supports_accessory_keypad?: boolean;
                    supports_offline_access_codes?: boolean;
                } & {
                    assa_abloy_credential_service_metadata?: {
                        endpoints: ...;
                        has_active_endpoint: ...;
                    };
                    salto_space_credential_service_metadata?: {
                        has_active_phone: ...;
                    };
                } & {
                    akiles_metadata?: {
                        _member_group_id?: ...;
                        gadget_id: ...;
                        gadget_name: ...;
                        product_name: ...;
                    };
                    assa_abloy_vostio_metadata?: {
                        encoder_name: ...;
                    };
                    august_metadata?: {
                        has_keypad: ...;
                        house_id?: ...;
                        house_name: ...;
                        keypad_battery_level?: ...;
                        lock_id: ...;
                        lock_name: ...;
                        model?: ...;
                    };
                    avigilon_alta_metadata?: {
                        entry_name: ...;
                        entry_relays_total_count: ...;
                        org_name: ...;
                        site_id: ...;
                        site_name: ...;
                        zone_id: ...;
                        zone_name: ...;
                    };
                    brivo_metadata?: {
                        device_name: ...;
                    };
                    controlbyweb_metadata?: {
                        device_id: ...;
                        device_name: ...;
                        relay_name: ...;
                    };
                    dormakaba_oracode_metadata?: {
                        device_id?: ...;
                        door_id?: ...;
                        door_is_wireless: ...;
                        door_name: ...;
                        iana_timezone?: ...;
                        predefined_time_slots?: ...;
                        site_id: ...;
                        site_name: ...;
                    };
                    ecobee_metadata?: {
                        device_name: ...;
                        ecobee_device_id: ...;
                    };
                    four_suites_metadata?: {
                        device_id: ...;
                        device_name: ...;
                        reclose_delay_in_seconds: ...;
                    };
                    genie_metadata?: {
                        device_name: ...;
                        door_name: ...;
                    };
                    honeywell_resideo_metadata?: {
                        device_name: ...;
                        honeywell_resideo_device_id: ...;
                    };
                    hubitat_metadata?: {
                        device_id: ...;
                        device_label: ...;
                        device_name: ...;
                    };
                    igloo_metadata?: {
                        bridge_id: ...;
                        device_id: ...;
                        model?: ...;
                    };
                    igloohome_metadata?: {
                        bridge_id?: ...;
                        bridge_name?: ...;
                        device_id: ...;
                        device_name: ...;
                        keypad_id?: ...;
                    };
                    kwikset_metadata?: {
                        device_id: ...;
                        device_name: ...;
                        model_number: ...;
                    };
                    lockly_metadata?: {
                        device_id: ...;
                        device_name: ...;
                        model?: ...;
                    };
                    minut_metadata?: {
                        device_id: ...;
                        device_name: ...;
                        latest_sensor_values: ...;
                    };
                    nest_metadata?: {
                        device_custom_name: ...;
                        device_name: ...;
                        display_name?: ...;
                        nest_device_id: ...;
                    };
                    noiseaware_metadata?: {
                        device_id: ...;
                        device_model: ...;
                        device_name: ...;
                        noise_level_decibel: ...;
                        noise_level_nrs: ...;
                    };
                    nuki_metadata?: {
                        device_id: ...;
                        device_name: ...;
                        keypad_2_paired?: ...;
                        keypad_battery_critical?: ...;
                        keypad_paired?: ...;
                    };
                    salto_ks_metadata?: {
                        battery_level: ...;
                        customer_reference: ...;
                        lock_id: ...;
                        lock_type: ...;
                        locked_state: ...;
                        model?: ...;
                    };
                    salto_metadata?: {
                        battery_level: ...;
                        customer_reference: ...;
                        lock_id: ...;
                        lock_type: ...;
                        locked_state: ...;
                        model?: ...;
                    };
                    schlage_metadata?: {
                        device_id: ...;
                        device_name: ...;
                        model?: ...;
                    };
                    seam_bridge_metadata?: {
                        device_num: ...;
                        name: ...;
                        unlock_method?: ...;
                    };
                    sensi_metadata?: {
                        device_id: ...;
                        device_name: ...;
                        product_type: ...;
                    };
                    smartthings_metadata?: {
                        device_id: ...;
                        device_name: ...;
                        location_id?: ...;
                        model?: ...;
                    };
                    tado_metadata?: {
                        device_type: ...;
                        serial_no: ...;
                    };
                    tedee_metadata?: {
                        bridge_id: ...;
                        bridge_name: ...;
                        device_id: ...;
                        device_model: ...;
                        device_name: ...;
                        keypad_id?: ...;
                        serial_number: ...;
                    };
                    ttlock_metadata?: {
                        feature_value: ...;
                        features: ...;
                        has_gateway?: ...;
                        lock_alias: ...;
                        lock_id: ...;
                        wireless_keypads?: ...;
                    };
                    two_n_metadata?: {
                        device_id: ...;
                        device_name: ...;
                    };
                    visionline_metadata?: {
                        encoder_id: ...;
                    };
                    wyze_metadata?: {
                        device_id: ...;
                        device_info_model: ...;
                        device_name: ...;
                        keypad_uuid?: ...;
                        locker_status_hardlock?: ...;
                        product_model: ...;
                        product_name: ...;
                        product_type: ...;
                    };
                } & {
                    _experimental_supported_code_from_access_codes_lengths?: (...)[];
                    code_constraints?: (...)[];
                    door_open?: boolean;
                    has_native_entry_events?: boolean;
                    keypad_battery?: {
                        level: ...;
                    };
                    locked?: boolean;
                    max_active_codes_supported?: number;
                    supported_code_lengths?: (...)[];
                    supports_backup_access_code_pool?: boolean;
                } & {
                    active_thermostat_schedule?: null | {
                        climate_preset_key: ...;
                        created_at: ...;
                        device_id: ...;
                        ends_at: ...;
                        errors: ...;
                        is_override_allowed?: ...;
                        max_override_period_minutes?: ...;
                        name: ...;
                        starts_at: ...;
                        thermostat_schedule_id: ...;
                        workspace_id: ...;
                    };
                    available_climate_presets?: (...)[];
                    available_fan_mode_settings?: (...)[];
                    available_hvac_mode_settings?: (...)[];
                    current_climate_setting?: {
                        can_delete?: ...;
                        can_edit?: ...;
                        can_program?: ...;
                        climate_preset_key?: ...;
                        cooling_set_point_celsius?: ...;
                        cooling_set_point_fahrenheit?: ...;
                        display_name?: ...;
                        fan_mode_setting?: ...;
                        heating_set_point_celsius?: ...;
                        heating_set_point_fahrenheit?: ...;
                        hvac_mode_setting?: ...;
                        manual_override_allowed?: ...;
                        name?: ...;
                    };
                    default_climate_setting?: {
                        can_delete?: ...;
                        can_edit?: ...;
                        can_program?: ...;
                        climate_preset_key?: ...;
                        cooling_set_point_celsius?: ...;
                        cooling_set_point_fahrenheit?: ...;
                        display_name?: ...;
                        fan_mode_setting?: ...;
                        heating_set_point_celsius?: ...;
                        heating_set_point_fahrenheit?: ...;
                        hvac_mode_setting?: ...;
                        manual_override_allowed?: ...;
                        name?: ...;
                    };
                    fallback_climate_preset_key?: null | string;
                    fan_mode_setting?: "auto" | "on" | "circulate";
                    is_cooling?: boolean;
                    is_fan_running?: boolean;
                    is_heating?: boolean;
                    is_temporary_manual_override_active?: boolean;
                    max_cooling_set_point_celsius?: number;
                    max_cooling_set_point_fahrenheit?: number;
                    max_heating_set_point_celsius?: number;
                    max_heating_set_point_fahrenheit?: number;
                    min_cooling_set_point_celsius?: number;
                    min_cooling_set_point_fahrenheit?: number;
                    min_heating_cooling_delta_celsius?: number;
                    min_heating_cooling_delta_fahrenheit?: number;
                    min_heating_set_point_celsius?: number;
                    min_heating_set_point_fahrenheit?: number;
                    relative_humidity?: number;
                    temperature_celsius?: number;
                    temperature_fahrenheit?: number;
                    temperature_threshold?: {
                        lower_limit_celsius: ...;
                        lower_limit_fahrenheit: ...;
                        upper_limit_celsius: ...;
                        upper_limit_fahrenheit: ...;
                    };
                    thermostat_daily_programs?: (...)[];
                    thermostat_weekly_program?: null | {
                        created_at: ...;
                        friday_program_id: ...;
                        monday_program_id: ...;
                        saturday_program_id: ...;
                        sunday_program_id: ...;
                        thursday_program_id: ...;
                        tuesday_program_id: ...;
                        wednesday_program_id: ...;
                    };
                };
                warnings: (
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "partial_backup_access_code_pool";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "many_active_backup_codes";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "wyze_device_missing_gateway";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "functional_offline_device";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "third_party_integration_detected";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "nest_thermostat_in_manual_eco_mode";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "ttlock_lock_gateway_unlocking_not_enabled";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "ttlock_weak_gateway_signal";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "power_saving_mode";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "temperature_threshold_exceeded";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "device_communication_degraded";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "scheduled_maintenance_window";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "device_has_flaky_connection";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "salto_ks_office_mode";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "salto_ks_privacy_mode";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "salto_ks_subscription_limit_almost_reached";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "unknown_issue_with_phone";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "lockly_time_zone_not_configured";
                    })[];
                workspace_id: string;
            }[];
            locks: {
                can_hvac_cool?: boolean;
                can_hvac_heat?: boolean;
                can_hvac_heat_cool?: boolean;
                can_program_offline_access_codes?: boolean;
                can_program_online_access_codes?: boolean;
                can_remotely_lock?: boolean;
                can_remotely_unlock?: boolean;
                can_simulate_connection?: boolean;
                can_simulate_disconnection?: boolean;
                can_simulate_removal?: boolean;
                can_turn_off_hvac?: boolean;
                capabilities_supported: (
                    | "access_code"
                    | "lock"
                    | "phone"
                    | "thermostat"
                    | "noise_detection"
                    | "battery")[];
                connected_account_id: string;
                created_at: string;
                custom_metadata: Record<string, string | boolean>;
                device_id: string;
                device_type:
                    | "akuvox_lock"
                    | "august_lock"
                    | "brivo_access_point"
                    | "butterflymx_panel"
                    | "avigilon_alta_entry"
                    | "doorking_lock"
                    | "genie_door"
                    | "igloo_lock"
                    | "linear_lock"
                    | "lockly_lock"
                    | "kwikset_lock"
                    | "nuki_lock"
                    | "salto_lock"
                    | "schlage_lock"
                    | "seam_relay"
                    | "smartthings_lock"
                    | "wyze_lock"
                    | "yale_lock"
                    | "two_n_intercom"
                    | "controlbyweb_device"
                    | "ttlock_lock"
                    | "igloohome_lock"
                    | "hubitat_lock"
                    | "four_suites_door"
                    | "dormakaba_oracode_door"
                    | "tedee_lock"
                    | "akiles_lock"
                    | "noiseaware_activity_zone"
                    | "minut_sensor"
                    | "ecobee_thermostat"
                    | "nest_thermostat"
                    | "honeywell_resideo_thermostat"
                    | "tado_thermostat"
                    | "sensi_thermostat"
                    | "smartthings_thermostat"
                    | "ios_phone"
                    | "android_phone";
                display_name: string;
                errors: (
                    | {
                        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: "lockly_missing_wifi_bridge";
                        is_device_error: true;
                        message: string;
                    }
                    | {
                        created_at: string;
                        error_code: "invalid_credentials";
                        is_bridge_error?: (...) | (...) | (...);
                        is_connected_account_error?: (...) | (...) | (...);
                        message: string;
                    }
                    | {
                        created_at: string;
                        error_code: "bridge_disconnected";
                        is_bridge_error?: (...) | (...) | (...);
                        is_connected_account_error?: (...) | (...) | (...);
                        message: string;
                    })[];
                is_managed: true;
                location: null | {
                    location_name?: string;
                    timezone?: string;
                };
                nickname?: string;
                properties: {
                    accessory_keypad?: {
                        battery?: ...;
                        is_connected: ...;
                    };
                    appearance: {
                        name: string;
                    };
                    battery?: {
                        level: ...;
                        status: ...;
                    };
                    battery_level?: number;
                    currently_triggering_noise_threshold_ids?: (...)[];
                    has_direct_power?: boolean;
                    image_alt_text?: string;
                    image_url?: string;
                    manufacturer?: string;
                    model: {
                        accessory_keypad_supported?: (...) | (...) | (...);
                        can_connect_accessory_keypad?: (...) | (...) | (...);
                        display_name: string;
                        has_built_in_keypad?: (...) | (...) | (...);
                        manufacturer_display_name: string;
                        offline_access_codes_supported?: (...) | (...) | (...);
                        online_access_codes_supported?: (...) | (...) | (...);
                    };
                    name: string;
                    noise_level_decibels?: number;
                    offline_access_codes_enabled?: boolean;
                    online: boolean;
                    online_access_codes_enabled?: boolean;
                    serial_number?: string;
                    supports_accessory_keypad?: boolean;
                    supports_offline_access_codes?: boolean;
                } & {
                    assa_abloy_credential_service_metadata?: {
                        endpoints: ...;
                        has_active_endpoint: ...;
                    };
                    salto_space_credential_service_metadata?: {
                        has_active_phone: ...;
                    };
                } & {
                    akiles_metadata?: {
                        _member_group_id?: ...;
                        gadget_id: ...;
                        gadget_name: ...;
                        product_name: ...;
                    };
                    assa_abloy_vostio_metadata?: {
                        encoder_name: ...;
                    };
                    august_metadata?: {
                        has_keypad: ...;
                        house_id?: ...;
                        house_name: ...;
                        keypad_battery_level?: ...;
                        lock_id: ...;
                        lock_name: ...;
                        model?: ...;
                    };
                    avigilon_alta_metadata?: {
                        entry_name: ...;
                        entry_relays_total_count: ...;
                        org_name: ...;
                        site_id: ...;
                        site_name: ...;
                        zone_id: ...;
                        zone_name: ...;
                    };
                    brivo_metadata?: {
                        device_name: ...;
                    };
                    controlbyweb_metadata?: {
                        device_id: ...;
                        device_name: ...;
                        relay_name: ...;
                    };
                    dormakaba_oracode_metadata?: {
                        device_id?: ...;
                        door_id?: ...;
                        door_is_wireless: ...;
                        door_name: ...;
                        iana_timezone?: ...;
                        predefined_time_slots?: ...;
                        site_id: ...;
                        site_name: ...;
                    };
                    ecobee_metadata?: {
                        device_name: ...;
                        ecobee_device_id: ...;
                    };
                    four_suites_metadata?: {
                        device_id: ...;
                        device_name: ...;
                        reclose_delay_in_seconds: ...;
                    };
                    genie_metadata?: {
                        device_name: ...;
                        door_name: ...;
                    };
                    honeywell_resideo_metadata?: {
                        device_name: ...;
                        honeywell_resideo_device_id: ...;
                    };
                    hubitat_metadata?: {
                        device_id: ...;
                        device_label: ...;
                        device_name: ...;
                    };
                    igloo_metadata?: {
                        bridge_id: ...;
                        device_id: ...;
                        model?: ...;
                    };
                    igloohome_metadata?: {
                        bridge_id?: ...;
                        bridge_name?: ...;
                        device_id: ...;
                        device_name: ...;
                        keypad_id?: ...;
                    };
                    kwikset_metadata?: {
                        device_id: ...;
                        device_name: ...;
                        model_number: ...;
                    };
                    lockly_metadata?: {
                        device_id: ...;
                        device_name: ...;
                        model?: ...;
                    };
                    minut_metadata?: {
                        device_id: ...;
                        device_name: ...;
                        latest_sensor_values: ...;
                    };
                    nest_metadata?: {
                        device_custom_name: ...;
                        device_name: ...;
                        display_name?: ...;
                        nest_device_id: ...;
                    };
                    noiseaware_metadata?: {
                        device_id: ...;
                        device_model: ...;
                        device_name: ...;
                        noise_level_decibel: ...;
                        noise_level_nrs: ...;
                    };
                    nuki_metadata?: {
                        device_id: ...;
                        device_name: ...;
                        keypad_2_paired?: ...;
                        keypad_battery_critical?: ...;
                        keypad_paired?: ...;
                    };
                    salto_ks_metadata?: {
                        battery_level: ...;
                        customer_reference: ...;
                        lock_id: ...;
                        lock_type: ...;
                        locked_state: ...;
                        model?: ...;
                    };
                    salto_metadata?: {
                        battery_level: ...;
                        customer_reference: ...;
                        lock_id: ...;
                        lock_type: ...;
                        locked_state: ...;
                        model?: ...;
                    };
                    schlage_metadata?: {
                        device_id: ...;
                        device_name: ...;
                        model?: ...;
                    };
                    seam_bridge_metadata?: {
                        device_num: ...;
                        name: ...;
                        unlock_method?: ...;
                    };
                    sensi_metadata?: {
                        device_id: ...;
                        device_name: ...;
                        product_type: ...;
                    };
                    smartthings_metadata?: {
                        device_id: ...;
                        device_name: ...;
                        location_id?: ...;
                        model?: ...;
                    };
                    tado_metadata?: {
                        device_type: ...;
                        serial_no: ...;
                    };
                    tedee_metadata?: {
                        bridge_id: ...;
                        bridge_name: ...;
                        device_id: ...;
                        device_model: ...;
                        device_name: ...;
                        keypad_id?: ...;
                        serial_number: ...;
                    };
                    ttlock_metadata?: {
                        feature_value: ...;
                        features: ...;
                        has_gateway?: ...;
                        lock_alias: ...;
                        lock_id: ...;
                        wireless_keypads?: ...;
                    };
                    two_n_metadata?: {
                        device_id: ...;
                        device_name: ...;
                    };
                    visionline_metadata?: {
                        encoder_id: ...;
                    };
                    wyze_metadata?: {
                        device_id: ...;
                        device_info_model: ...;
                        device_name: ...;
                        keypad_uuid?: ...;
                        locker_status_hardlock?: ...;
                        product_model: ...;
                        product_name: ...;
                        product_type: ...;
                    };
                } & {
                    _experimental_supported_code_from_access_codes_lengths?: (...)[];
                    code_constraints?: (...)[];
                    door_open?: boolean;
                    has_native_entry_events?: boolean;
                    keypad_battery?: {
                        level: ...;
                    };
                    locked?: boolean;
                    max_active_codes_supported?: number;
                    supported_code_lengths?: (...)[];
                    supports_backup_access_code_pool?: boolean;
                } & {
                    active_thermostat_schedule?: null | {
                        climate_preset_key: ...;
                        created_at: ...;
                        device_id: ...;
                        ends_at: ...;
                        errors: ...;
                        is_override_allowed?: ...;
                        max_override_period_minutes?: ...;
                        name: ...;
                        starts_at: ...;
                        thermostat_schedule_id: ...;
                        workspace_id: ...;
                    };
                    available_climate_presets?: (...)[];
                    available_fan_mode_settings?: (...)[];
                    available_hvac_mode_settings?: (...)[];
                    current_climate_setting?: {
                        can_delete?: ...;
                        can_edit?: ...;
                        can_program?: ...;
                        climate_preset_key?: ...;
                        cooling_set_point_celsius?: ...;
                        cooling_set_point_fahrenheit?: ...;
                        display_name?: ...;
                        fan_mode_setting?: ...;
                        heating_set_point_celsius?: ...;
                        heating_set_point_fahrenheit?: ...;
                        hvac_mode_setting?: ...;
                        manual_override_allowed?: ...;
                        name?: ...;
                    };
                    default_climate_setting?: {
                        can_delete?: ...;
                        can_edit?: ...;
                        can_program?: ...;
                        climate_preset_key?: ...;
                        cooling_set_point_celsius?: ...;
                        cooling_set_point_fahrenheit?: ...;
                        display_name?: ...;
                        fan_mode_setting?: ...;
                        heating_set_point_celsius?: ...;
                        heating_set_point_fahrenheit?: ...;
                        hvac_mode_setting?: ...;
                        manual_override_allowed?: ...;
                        name?: ...;
                    };
                    fallback_climate_preset_key?: null | string;
                    fan_mode_setting?: "auto" | "on" | "circulate";
                    is_cooling?: boolean;
                    is_fan_running?: boolean;
                    is_heating?: boolean;
                    is_temporary_manual_override_active?: boolean;
                    max_cooling_set_point_celsius?: number;
                    max_cooling_set_point_fahrenheit?: number;
                    max_heating_set_point_celsius?: number;
                    max_heating_set_point_fahrenheit?: number;
                    min_cooling_set_point_celsius?: number;
                    min_cooling_set_point_fahrenheit?: number;
                    min_heating_cooling_delta_celsius?: number;
                    min_heating_cooling_delta_fahrenheit?: number;
                    min_heating_set_point_celsius?: number;
                    min_heating_set_point_fahrenheit?: number;
                    relative_humidity?: number;
                    temperature_celsius?: number;
                    temperature_fahrenheit?: number;
                    temperature_threshold?: {
                        lower_limit_celsius: ...;
                        lower_limit_fahrenheit: ...;
                        upper_limit_celsius: ...;
                        upper_limit_fahrenheit: ...;
                    };
                    thermostat_daily_programs?: (...)[];
                    thermostat_weekly_program?: null | {
                        created_at: ...;
                        friday_program_id: ...;
                        monday_program_id: ...;
                        saturday_program_id: ...;
                        sunday_program_id: ...;
                        thursday_program_id: ...;
                        tuesday_program_id: ...;
                        wednesday_program_id: ...;
                    };
                };
                warnings: (
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "partial_backup_access_code_pool";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "many_active_backup_codes";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "wyze_device_missing_gateway";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "functional_offline_device";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "third_party_integration_detected";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "nest_thermostat_in_manual_eco_mode";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "ttlock_lock_gateway_unlocking_not_enabled";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "ttlock_weak_gateway_signal";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "power_saving_mode";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "temperature_threshold_exceeded";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "device_communication_degraded";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "scheduled_maintenance_window";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "device_has_flaky_connection";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "salto_ks_office_mode";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "salto_ks_privacy_mode";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "salto_ks_subscription_limit_almost_reached";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "unknown_issue_with_phone";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "lockly_time_zone_not_configured";
                    })[];
                workspace_id: string;
            }[];
        }>, "devices" | "locks">, "devices">

  • get /locks/lock_door(): ((body?: {
        device_id: string;
        sync?: boolean;
    }, options?: LocksLockDoorOptions) => SeamHttpRequest<SetNonNullable<Required<{
        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: (...) | (...);
                        created_at: (...) | (...);
                        ends_at: (...) | (...);
                        is_issued: (...) | (...) | (...);
                        starts_at: (...) | (...);
                        visionline_metadata?: (...) | (...);
                    };
                    acs_credential_on_seam: null | {
                        access_method: (...) | (...) | (...);
                        acs_credential_id: string;
                        acs_credential_pool_id?: (...) | (...);
                        acs_system_id: string;
                        acs_user_id?: (...) | (...);
                        assa_abloy_vostio_metadata?: (...) | (...);
                        card_number?: (...) | (...) | (...);
                        code?: (...) | (...) | (...);
                        created_at: string;
                        display_name: string;
                        ends_at?: (...) | (...);
                        errors: (...)[];
                        external_type?:
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                        external_type_display_name?: (...) | (...);
                        is_issued?: (...) | (...) | (...);
                        is_latest_desired_state_synced_with_provider?:
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                        is_managed: true;
                        is_multi_phone_sync_credential?: (...) | (...) | (...);
                        is_one_time_use?: (...) | (...) | (...);
                        issued_at?: (...) | (...) | (...);
                        latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                        parent_acs_credential_id?: (...) | (...);
                        starts_at?: (...) | (...);
                        visionline_metadata?: (...) | (...);
                        warnings: (...)[];
                        workspace_id: string;
                    } | {
                        access_method: (...) | (...) | (...);
                        acs_credential_id: string;
                        acs_credential_pool_id?: (...) | (...);
                        acs_system_id: string;
                        acs_user_id?: (...) | (...);
                        assa_abloy_vostio_metadata?: (...) | (...);
                        card_number?: (...) | (...) | (...);
                        code?: (...) | (...) | (...);
                        created_at: string;
                        display_name: string;
                        ends_at?: (...) | (...);
                        errors: (...)[];
                        external_type?:
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                        external_type_display_name?: (...) | (...);
                        is_issued?: (...) | (...) | (...);
                        is_latest_desired_state_synced_with_provider?:
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                        is_managed: false;
                        is_multi_phone_sync_credential?: (...) | (...) | (...);
                        is_one_time_use?: (...) | (...) | (...);
                        issued_at?: (...) | (...) | (...);
                        latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                        parent_acs_credential_id?: (...) | (...);
                        starts_at?: (...) | (...);
                        visionline_metadata?: (...) | (...);
                        warnings: (...)[];
                        workspace_id: string;
                    };
                    warnings: {
                        warning_code: (...) | (...);
                        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_ACCESS_METHOD";
                error: null;
                result: null;
                status: "pending";
            }
            | {
                action_attempt_id: string;
                action_type: "ENCODE_ACCESS_METHOD";
                error: null;
                result: {
                    access_method_id: string;
                    created_at: string;
                    display_name: string;
                    instant_key_url?: string;
                    is_card_encoding_required?: boolean;
                    issued_at?: string;
                    mode: "code" | "card" | "mobile_key";
                    workspace_id: string;
                };
                status: "success";
            }
            | {
                action_attempt_id: string;
                action_type: "ENCODE_ACCESS_METHOD";
                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: "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?: {
                        auto_join?: ...;
                        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"
                        | "latch_access";
                    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?: {
                        auto_join?: ...;
                        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"
                        | "latch_access";
                    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;
                };
                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: "SIMULATE_KEYPAD_CODE_ENTRY";
                error: null;
                result: null;
                status: "pending";
            }
            | {
                action_attempt_id: string;
                action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                error: null;
                result: {};
                status: "success";
            }
            | {
                action_attempt_id: string;
                action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                error: {
                    message: string;
                    type: string;
                };
                result: null;
                status: "error";
            }
            | {
                action_attempt_id: string;
                action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                error: null;
                result: null;
                status: "pending";
            }
            | {
                action_attempt_id: string;
                action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                error: null;
                result: {};
                status: "success";
            }
            | {
                action_attempt_id: string;
                action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                error: {
                    message: string;
                    type: string;
                };
                result: null;
                status: "error";
            }
            | {
                action_attempt_id: string;
                action_type: "PUSH_THERMOSTAT_PROGRAMS";
                error: null;
                result: null;
                status: "pending";
            }
            | {
                action_attempt_id: string;
                action_type: "PUSH_THERMOSTAT_PROGRAMS";
                error: null;
                result: {};
                status: "success";
            }
            | {
                action_attempt_id: string;
                action_type: "PUSH_THERMOSTAT_PROGRAMS";
                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";
            };
    }>, "action_attempt">, "action_attempt">)
  • Returns ((body?: {
        device_id: string;
        sync?: boolean;
    }, options?: LocksLockDoorOptions) => SeamHttpRequest<SetNonNullable<Required<{
        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: (...) | (...);
                        created_at: (...) | (...);
                        ends_at: (...) | (...);
                        is_issued: (...) | (...) | (...);
                        starts_at: (...) | (...);
                        visionline_metadata?: (...) | (...);
                    };
                    acs_credential_on_seam: null | {
                        access_method: (...) | (...) | (...);
                        acs_credential_id: string;
                        acs_credential_pool_id?: (...) | (...);
                        acs_system_id: string;
                        acs_user_id?: (...) | (...);
                        assa_abloy_vostio_metadata?: (...) | (...);
                        card_number?: (...) | (...) | (...);
                        code?: (...) | (...) | (...);
                        created_at: string;
                        display_name: string;
                        ends_at?: (...) | (...);
                        errors: (...)[];
                        external_type?:
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                        external_type_display_name?: (...) | (...);
                        is_issued?: (...) | (...) | (...);
                        is_latest_desired_state_synced_with_provider?:
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                        is_managed: true;
                        is_multi_phone_sync_credential?: (...) | (...) | (...);
                        is_one_time_use?: (...) | (...) | (...);
                        issued_at?: (...) | (...) | (...);
                        latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                        parent_acs_credential_id?: (...) | (...);
                        starts_at?: (...) | (...);
                        visionline_metadata?: (...) | (...);
                        warnings: (...)[];
                        workspace_id: string;
                    } | {
                        access_method: (...) | (...) | (...);
                        acs_credential_id: string;
                        acs_credential_pool_id?: (...) | (...);
                        acs_system_id: string;
                        acs_user_id?: (...) | (...);
                        assa_abloy_vostio_metadata?: (...) | (...);
                        card_number?: (...) | (...) | (...);
                        code?: (...) | (...) | (...);
                        created_at: string;
                        display_name: string;
                        ends_at?: (...) | (...);
                        errors: (...)[];
                        external_type?:
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                        external_type_display_name?: (...) | (...);
                        is_issued?: (...) | (...) | (...);
                        is_latest_desired_state_synced_with_provider?:
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                        is_managed: false;
                        is_multi_phone_sync_credential?: (...) | (...) | (...);
                        is_one_time_use?: (...) | (...) | (...);
                        issued_at?: (...) | (...) | (...);
                        latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                        parent_acs_credential_id?: (...) | (...);
                        starts_at?: (...) | (...);
                        visionline_metadata?: (...) | (...);
                        warnings: (...)[];
                        workspace_id: string;
                    };
                    warnings: {
                        warning_code: (...) | (...);
                        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_ACCESS_METHOD";
                error: null;
                result: null;
                status: "pending";
            }
            | {
                action_attempt_id: string;
                action_type: "ENCODE_ACCESS_METHOD";
                error: null;
                result: {
                    access_method_id: string;
                    created_at: string;
                    display_name: string;
                    instant_key_url?: string;
                    is_card_encoding_required?: boolean;
                    issued_at?: string;
                    mode: "code" | "card" | "mobile_key";
                    workspace_id: string;
                };
                status: "success";
            }
            | {
                action_attempt_id: string;
                action_type: "ENCODE_ACCESS_METHOD";
                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: "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?: {
                        auto_join?: ...;
                        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"
                        | "latch_access";
                    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?: {
                        auto_join?: ...;
                        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"
                        | "latch_access";
                    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;
                };
                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: "SIMULATE_KEYPAD_CODE_ENTRY";
                error: null;
                result: null;
                status: "pending";
            }
            | {
                action_attempt_id: string;
                action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                error: null;
                result: {};
                status: "success";
            }
            | {
                action_attempt_id: string;
                action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                error: {
                    message: string;
                    type: string;
                };
                result: null;
                status: "error";
            }
            | {
                action_attempt_id: string;
                action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                error: null;
                result: null;
                status: "pending";
            }
            | {
                action_attempt_id: string;
                action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                error: null;
                result: {};
                status: "success";
            }
            | {
                action_attempt_id: string;
                action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                error: {
                    message: string;
                    type: string;
                };
                result: null;
                status: "error";
            }
            | {
                action_attempt_id: string;
                action_type: "PUSH_THERMOSTAT_PROGRAMS";
                error: null;
                result: null;
                status: "pending";
            }
            | {
                action_attempt_id: string;
                action_type: "PUSH_THERMOSTAT_PROGRAMS";
                error: null;
                result: {};
                status: "success";
            }
            | {
                action_attempt_id: string;
                action_type: "PUSH_THERMOSTAT_PROGRAMS";
                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";
            };
    }>, "action_attempt">, "action_attempt">)

      • (body?, options?): SeamHttpRequest<SetNonNullable<Required<{
            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: (...) | (...);
                            created_at: (...) | (...);
                            ends_at: (...) | (...);
                            is_issued: (...) | (...) | (...);
                            starts_at: (...) | (...);
                            visionline_metadata?: (...) | (...);
                        };
                        acs_credential_on_seam: null | {
                            access_method: (...) | (...) | (...);
                            acs_credential_id: string;
                            acs_credential_pool_id?: (...) | (...);
                            acs_system_id: string;
                            acs_user_id?: (...) | (...);
                            assa_abloy_vostio_metadata?: (...) | (...);
                            card_number?: (...) | (...) | (...);
                            code?: (...) | (...) | (...);
                            created_at: string;
                            display_name: string;
                            ends_at?: (...) | (...);
                            errors: (...)[];
                            external_type?:
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...);
                            external_type_display_name?: (...) | (...);
                            is_issued?: (...) | (...) | (...);
                            is_latest_desired_state_synced_with_provider?:
                                | (...)
                                | (...)
                                | (...)
                                | (...);
                            is_managed: true;
                            is_multi_phone_sync_credential?: (...) | (...) | (...);
                            is_one_time_use?: (...) | (...) | (...);
                            issued_at?: (...) | (...) | (...);
                            latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                            parent_acs_credential_id?: (...) | (...);
                            starts_at?: (...) | (...);
                            visionline_metadata?: (...) | (...);
                            warnings: (...)[];
                            workspace_id: string;
                        } | {
                            access_method: (...) | (...) | (...);
                            acs_credential_id: string;
                            acs_credential_pool_id?: (...) | (...);
                            acs_system_id: string;
                            acs_user_id?: (...) | (...);
                            assa_abloy_vostio_metadata?: (...) | (...);
                            card_number?: (...) | (...) | (...);
                            code?: (...) | (...) | (...);
                            created_at: string;
                            display_name: string;
                            ends_at?: (...) | (...);
                            errors: (...)[];
                            external_type?:
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...);
                            external_type_display_name?: (...) | (...);
                            is_issued?: (...) | (...) | (...);
                            is_latest_desired_state_synced_with_provider?:
                                | (...)
                                | (...)
                                | (...)
                                | (...);
                            is_managed: false;
                            is_multi_phone_sync_credential?: (...) | (...) | (...);
                            is_one_time_use?: (...) | (...) | (...);
                            issued_at?: (...) | (...) | (...);
                            latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                            parent_acs_credential_id?: (...) | (...);
                            starts_at?: (...) | (...);
                            visionline_metadata?: (...) | (...);
                            warnings: (...)[];
                            workspace_id: string;
                        };
                        warnings: {
                            warning_code: (...) | (...);
                            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_ACCESS_METHOD";
                    error: null;
                    result: null;
                    status: "pending";
                }
                | {
                    action_attempt_id: string;
                    action_type: "ENCODE_ACCESS_METHOD";
                    error: null;
                    result: {
                        access_method_id: string;
                        created_at: string;
                        display_name: string;
                        instant_key_url?: string;
                        is_card_encoding_required?: boolean;
                        issued_at?: string;
                        mode: "code" | "card" | "mobile_key";
                        workspace_id: string;
                    };
                    status: "success";
                }
                | {
                    action_attempt_id: string;
                    action_type: "ENCODE_ACCESS_METHOD";
                    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: "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?: {
                            auto_join?: ...;
                            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"
                            | "latch_access";
                        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?: {
                            auto_join?: ...;
                            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"
                            | "latch_access";
                        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;
                    };
                    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: "SIMULATE_KEYPAD_CODE_ENTRY";
                    error: null;
                    result: null;
                    status: "pending";
                }
                | {
                    action_attempt_id: string;
                    action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                    error: null;
                    result: {};
                    status: "success";
                }
                | {
                    action_attempt_id: string;
                    action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                    error: {
                        message: string;
                        type: string;
                    };
                    result: null;
                    status: "error";
                }
                | {
                    action_attempt_id: string;
                    action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                    error: null;
                    result: null;
                    status: "pending";
                }
                | {
                    action_attempt_id: string;
                    action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                    error: null;
                    result: {};
                    status: "success";
                }
                | {
                    action_attempt_id: string;
                    action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                    error: {
                        message: string;
                        type: string;
                    };
                    result: null;
                    status: "error";
                }
                | {
                    action_attempt_id: string;
                    action_type: "PUSH_THERMOSTAT_PROGRAMS";
                    error: null;
                    result: null;
                    status: "pending";
                }
                | {
                    action_attempt_id: string;
                    action_type: "PUSH_THERMOSTAT_PROGRAMS";
                    error: null;
                    result: {};
                    status: "success";
                }
                | {
                    action_attempt_id: string;
                    action_type: "PUSH_THERMOSTAT_PROGRAMS";
                    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";
                };
        }>, "action_attempt">, "action_attempt">
      • Parameters

        • Optionalbody: {
              device_id: string;
              sync?: boolean;
          }
          • device_id: string

            ID of the lock that you want to lock.

          • Optionalsync?: boolean
        • options: LocksLockDoorOptions = {}

        Returns SeamHttpRequest<SetNonNullable<Required<{
            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: (...) | (...);
                            created_at: (...) | (...);
                            ends_at: (...) | (...);
                            is_issued: (...) | (...) | (...);
                            starts_at: (...) | (...);
                            visionline_metadata?: (...) | (...);
                        };
                        acs_credential_on_seam: null | {
                            access_method: (...) | (...) | (...);
                            acs_credential_id: string;
                            acs_credential_pool_id?: (...) | (...);
                            acs_system_id: string;
                            acs_user_id?: (...) | (...);
                            assa_abloy_vostio_metadata?: (...) | (...);
                            card_number?: (...) | (...) | (...);
                            code?: (...) | (...) | (...);
                            created_at: string;
                            display_name: string;
                            ends_at?: (...) | (...);
                            errors: (...)[];
                            external_type?:
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...);
                            external_type_display_name?: (...) | (...);
                            is_issued?: (...) | (...) | (...);
                            is_latest_desired_state_synced_with_provider?:
                                | (...)
                                | (...)
                                | (...)
                                | (...);
                            is_managed: true;
                            is_multi_phone_sync_credential?: (...) | (...) | (...);
                            is_one_time_use?: (...) | (...) | (...);
                            issued_at?: (...) | (...) | (...);
                            latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                            parent_acs_credential_id?: (...) | (...);
                            starts_at?: (...) | (...);
                            visionline_metadata?: (...) | (...);
                            warnings: (...)[];
                            workspace_id: string;
                        } | {
                            access_method: (...) | (...) | (...);
                            acs_credential_id: string;
                            acs_credential_pool_id?: (...) | (...);
                            acs_system_id: string;
                            acs_user_id?: (...) | (...);
                            assa_abloy_vostio_metadata?: (...) | (...);
                            card_number?: (...) | (...) | (...);
                            code?: (...) | (...) | (...);
                            created_at: string;
                            display_name: string;
                            ends_at?: (...) | (...);
                            errors: (...)[];
                            external_type?:
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...);
                            external_type_display_name?: (...) | (...);
                            is_issued?: (...) | (...) | (...);
                            is_latest_desired_state_synced_with_provider?:
                                | (...)
                                | (...)
                                | (...)
                                | (...);
                            is_managed: false;
                            is_multi_phone_sync_credential?: (...) | (...) | (...);
                            is_one_time_use?: (...) | (...) | (...);
                            issued_at?: (...) | (...) | (...);
                            latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                            parent_acs_credential_id?: (...) | (...);
                            starts_at?: (...) | (...);
                            visionline_metadata?: (...) | (...);
                            warnings: (...)[];
                            workspace_id: string;
                        };
                        warnings: {
                            warning_code: (...) | (...);
                            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_ACCESS_METHOD";
                    error: null;
                    result: null;
                    status: "pending";
                }
                | {
                    action_attempt_id: string;
                    action_type: "ENCODE_ACCESS_METHOD";
                    error: null;
                    result: {
                        access_method_id: string;
                        created_at: string;
                        display_name: string;
                        instant_key_url?: string;
                        is_card_encoding_required?: boolean;
                        issued_at?: string;
                        mode: "code" | "card" | "mobile_key";
                        workspace_id: string;
                    };
                    status: "success";
                }
                | {
                    action_attempt_id: string;
                    action_type: "ENCODE_ACCESS_METHOD";
                    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: "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?: {
                            auto_join?: ...;
                            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"
                            | "latch_access";
                        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?: {
                            auto_join?: ...;
                            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"
                            | "latch_access";
                        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;
                    };
                    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: "SIMULATE_KEYPAD_CODE_ENTRY";
                    error: null;
                    result: null;
                    status: "pending";
                }
                | {
                    action_attempt_id: string;
                    action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                    error: null;
                    result: {};
                    status: "success";
                }
                | {
                    action_attempt_id: string;
                    action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                    error: {
                        message: string;
                        type: string;
                    };
                    result: null;
                    status: "error";
                }
                | {
                    action_attempt_id: string;
                    action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                    error: null;
                    result: null;
                    status: "pending";
                }
                | {
                    action_attempt_id: string;
                    action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                    error: null;
                    result: {};
                    status: "success";
                }
                | {
                    action_attempt_id: string;
                    action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                    error: {
                        message: string;
                        type: string;
                    };
                    result: null;
                    status: "error";
                }
                | {
                    action_attempt_id: string;
                    action_type: "PUSH_THERMOSTAT_PROGRAMS";
                    error: null;
                    result: null;
                    status: "pending";
                }
                | {
                    action_attempt_id: string;
                    action_type: "PUSH_THERMOSTAT_PROGRAMS";
                    error: null;
                    result: {};
                    status: "success";
                }
                | {
                    action_attempt_id: string;
                    action_type: "PUSH_THERMOSTAT_PROGRAMS";
                    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";
                };
        }>, "action_attempt">, "action_attempt">

  • get /locks/unlock_door(): ((body?: {
        device_id: string;
        sync?: boolean;
    }, options?: LocksUnlockDoorOptions) => SeamHttpRequest<SetNonNullable<Required<{
        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: (...) | (...);
                        created_at: (...) | (...);
                        ends_at: (...) | (...);
                        is_issued: (...) | (...) | (...);
                        starts_at: (...) | (...);
                        visionline_metadata?: (...) | (...);
                    };
                    acs_credential_on_seam: null | {
                        access_method: (...) | (...) | (...);
                        acs_credential_id: string;
                        acs_credential_pool_id?: (...) | (...);
                        acs_system_id: string;
                        acs_user_id?: (...) | (...);
                        assa_abloy_vostio_metadata?: (...) | (...);
                        card_number?: (...) | (...) | (...);
                        code?: (...) | (...) | (...);
                        created_at: string;
                        display_name: string;
                        ends_at?: (...) | (...);
                        errors: (...)[];
                        external_type?:
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                        external_type_display_name?: (...) | (...);
                        is_issued?: (...) | (...) | (...);
                        is_latest_desired_state_synced_with_provider?:
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                        is_managed: true;
                        is_multi_phone_sync_credential?: (...) | (...) | (...);
                        is_one_time_use?: (...) | (...) | (...);
                        issued_at?: (...) | (...) | (...);
                        latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                        parent_acs_credential_id?: (...) | (...);
                        starts_at?: (...) | (...);
                        visionline_metadata?: (...) | (...);
                        warnings: (...)[];
                        workspace_id: string;
                    } | {
                        access_method: (...) | (...) | (...);
                        acs_credential_id: string;
                        acs_credential_pool_id?: (...) | (...);
                        acs_system_id: string;
                        acs_user_id?: (...) | (...);
                        assa_abloy_vostio_metadata?: (...) | (...);
                        card_number?: (...) | (...) | (...);
                        code?: (...) | (...) | (...);
                        created_at: string;
                        display_name: string;
                        ends_at?: (...) | (...);
                        errors: (...)[];
                        external_type?:
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                        external_type_display_name?: (...) | (...);
                        is_issued?: (...) | (...) | (...);
                        is_latest_desired_state_synced_with_provider?:
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                        is_managed: false;
                        is_multi_phone_sync_credential?: (...) | (...) | (...);
                        is_one_time_use?: (...) | (...) | (...);
                        issued_at?: (...) | (...) | (...);
                        latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                        parent_acs_credential_id?: (...) | (...);
                        starts_at?: (...) | (...);
                        visionline_metadata?: (...) | (...);
                        warnings: (...)[];
                        workspace_id: string;
                    };
                    warnings: {
                        warning_code: (...) | (...);
                        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_ACCESS_METHOD";
                error: null;
                result: null;
                status: "pending";
            }
            | {
                action_attempt_id: string;
                action_type: "ENCODE_ACCESS_METHOD";
                error: null;
                result: {
                    access_method_id: string;
                    created_at: string;
                    display_name: string;
                    instant_key_url?: string;
                    is_card_encoding_required?: boolean;
                    issued_at?: string;
                    mode: "code" | "card" | "mobile_key";
                    workspace_id: string;
                };
                status: "success";
            }
            | {
                action_attempt_id: string;
                action_type: "ENCODE_ACCESS_METHOD";
                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: "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?: {
                        auto_join?: ...;
                        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"
                        | "latch_access";
                    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?: {
                        auto_join?: ...;
                        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"
                        | "latch_access";
                    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;
                };
                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: "SIMULATE_KEYPAD_CODE_ENTRY";
                error: null;
                result: null;
                status: "pending";
            }
            | {
                action_attempt_id: string;
                action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                error: null;
                result: {};
                status: "success";
            }
            | {
                action_attempt_id: string;
                action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                error: {
                    message: string;
                    type: string;
                };
                result: null;
                status: "error";
            }
            | {
                action_attempt_id: string;
                action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                error: null;
                result: null;
                status: "pending";
            }
            | {
                action_attempt_id: string;
                action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                error: null;
                result: {};
                status: "success";
            }
            | {
                action_attempt_id: string;
                action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                error: {
                    message: string;
                    type: string;
                };
                result: null;
                status: "error";
            }
            | {
                action_attempt_id: string;
                action_type: "PUSH_THERMOSTAT_PROGRAMS";
                error: null;
                result: null;
                status: "pending";
            }
            | {
                action_attempt_id: string;
                action_type: "PUSH_THERMOSTAT_PROGRAMS";
                error: null;
                result: {};
                status: "success";
            }
            | {
                action_attempt_id: string;
                action_type: "PUSH_THERMOSTAT_PROGRAMS";
                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";
            };
    }>, "action_attempt">, "action_attempt">)
  • Returns ((body?: {
        device_id: string;
        sync?: boolean;
    }, options?: LocksUnlockDoorOptions) => SeamHttpRequest<SetNonNullable<Required<{
        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: (...) | (...);
                        created_at: (...) | (...);
                        ends_at: (...) | (...);
                        is_issued: (...) | (...) | (...);
                        starts_at: (...) | (...);
                        visionline_metadata?: (...) | (...);
                    };
                    acs_credential_on_seam: null | {
                        access_method: (...) | (...) | (...);
                        acs_credential_id: string;
                        acs_credential_pool_id?: (...) | (...);
                        acs_system_id: string;
                        acs_user_id?: (...) | (...);
                        assa_abloy_vostio_metadata?: (...) | (...);
                        card_number?: (...) | (...) | (...);
                        code?: (...) | (...) | (...);
                        created_at: string;
                        display_name: string;
                        ends_at?: (...) | (...);
                        errors: (...)[];
                        external_type?:
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                        external_type_display_name?: (...) | (...);
                        is_issued?: (...) | (...) | (...);
                        is_latest_desired_state_synced_with_provider?:
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                        is_managed: true;
                        is_multi_phone_sync_credential?: (...) | (...) | (...);
                        is_one_time_use?: (...) | (...) | (...);
                        issued_at?: (...) | (...) | (...);
                        latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                        parent_acs_credential_id?: (...) | (...);
                        starts_at?: (...) | (...);
                        visionline_metadata?: (...) | (...);
                        warnings: (...)[];
                        workspace_id: string;
                    } | {
                        access_method: (...) | (...) | (...);
                        acs_credential_id: string;
                        acs_credential_pool_id?: (...) | (...);
                        acs_system_id: string;
                        acs_user_id?: (...) | (...);
                        assa_abloy_vostio_metadata?: (...) | (...);
                        card_number?: (...) | (...) | (...);
                        code?: (...) | (...) | (...);
                        created_at: string;
                        display_name: string;
                        ends_at?: (...) | (...);
                        errors: (...)[];
                        external_type?:
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                        external_type_display_name?: (...) | (...);
                        is_issued?: (...) | (...) | (...);
                        is_latest_desired_state_synced_with_provider?:
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                        is_managed: false;
                        is_multi_phone_sync_credential?: (...) | (...) | (...);
                        is_one_time_use?: (...) | (...) | (...);
                        issued_at?: (...) | (...) | (...);
                        latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                        parent_acs_credential_id?: (...) | (...);
                        starts_at?: (...) | (...);
                        visionline_metadata?: (...) | (...);
                        warnings: (...)[];
                        workspace_id: string;
                    };
                    warnings: {
                        warning_code: (...) | (...);
                        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_ACCESS_METHOD";
                error: null;
                result: null;
                status: "pending";
            }
            | {
                action_attempt_id: string;
                action_type: "ENCODE_ACCESS_METHOD";
                error: null;
                result: {
                    access_method_id: string;
                    created_at: string;
                    display_name: string;
                    instant_key_url?: string;
                    is_card_encoding_required?: boolean;
                    issued_at?: string;
                    mode: "code" | "card" | "mobile_key";
                    workspace_id: string;
                };
                status: "success";
            }
            | {
                action_attempt_id: string;
                action_type: "ENCODE_ACCESS_METHOD";
                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: "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?: {
                        auto_join?: ...;
                        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"
                        | "latch_access";
                    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?: {
                        auto_join?: ...;
                        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"
                        | "latch_access";
                    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;
                };
                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: "SIMULATE_KEYPAD_CODE_ENTRY";
                error: null;
                result: null;
                status: "pending";
            }
            | {
                action_attempt_id: string;
                action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                error: null;
                result: {};
                status: "success";
            }
            | {
                action_attempt_id: string;
                action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                error: {
                    message: string;
                    type: string;
                };
                result: null;
                status: "error";
            }
            | {
                action_attempt_id: string;
                action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                error: null;
                result: null;
                status: "pending";
            }
            | {
                action_attempt_id: string;
                action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                error: null;
                result: {};
                status: "success";
            }
            | {
                action_attempt_id: string;
                action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                error: {
                    message: string;
                    type: string;
                };
                result: null;
                status: "error";
            }
            | {
                action_attempt_id: string;
                action_type: "PUSH_THERMOSTAT_PROGRAMS";
                error: null;
                result: null;
                status: "pending";
            }
            | {
                action_attempt_id: string;
                action_type: "PUSH_THERMOSTAT_PROGRAMS";
                error: null;
                result: {};
                status: "success";
            }
            | {
                action_attempt_id: string;
                action_type: "PUSH_THERMOSTAT_PROGRAMS";
                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";
            };
    }>, "action_attempt">, "action_attempt">)

      • (body?, options?): SeamHttpRequest<SetNonNullable<Required<{
            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: (...) | (...);
                            created_at: (...) | (...);
                            ends_at: (...) | (...);
                            is_issued: (...) | (...) | (...);
                            starts_at: (...) | (...);
                            visionline_metadata?: (...) | (...);
                        };
                        acs_credential_on_seam: null | {
                            access_method: (...) | (...) | (...);
                            acs_credential_id: string;
                            acs_credential_pool_id?: (...) | (...);
                            acs_system_id: string;
                            acs_user_id?: (...) | (...);
                            assa_abloy_vostio_metadata?: (...) | (...);
                            card_number?: (...) | (...) | (...);
                            code?: (...) | (...) | (...);
                            created_at: string;
                            display_name: string;
                            ends_at?: (...) | (...);
                            errors: (...)[];
                            external_type?:
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...);
                            external_type_display_name?: (...) | (...);
                            is_issued?: (...) | (...) | (...);
                            is_latest_desired_state_synced_with_provider?:
                                | (...)
                                | (...)
                                | (...)
                                | (...);
                            is_managed: true;
                            is_multi_phone_sync_credential?: (...) | (...) | (...);
                            is_one_time_use?: (...) | (...) | (...);
                            issued_at?: (...) | (...) | (...);
                            latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                            parent_acs_credential_id?: (...) | (...);
                            starts_at?: (...) | (...);
                            visionline_metadata?: (...) | (...);
                            warnings: (...)[];
                            workspace_id: string;
                        } | {
                            access_method: (...) | (...) | (...);
                            acs_credential_id: string;
                            acs_credential_pool_id?: (...) | (...);
                            acs_system_id: string;
                            acs_user_id?: (...) | (...);
                            assa_abloy_vostio_metadata?: (...) | (...);
                            card_number?: (...) | (...) | (...);
                            code?: (...) | (...) | (...);
                            created_at: string;
                            display_name: string;
                            ends_at?: (...) | (...);
                            errors: (...)[];
                            external_type?:
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...);
                            external_type_display_name?: (...) | (...);
                            is_issued?: (...) | (...) | (...);
                            is_latest_desired_state_synced_with_provider?:
                                | (...)
                                | (...)
                                | (...)
                                | (...);
                            is_managed: false;
                            is_multi_phone_sync_credential?: (...) | (...) | (...);
                            is_one_time_use?: (...) | (...) | (...);
                            issued_at?: (...) | (...) | (...);
                            latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                            parent_acs_credential_id?: (...) | (...);
                            starts_at?: (...) | (...);
                            visionline_metadata?: (...) | (...);
                            warnings: (...)[];
                            workspace_id: string;
                        };
                        warnings: {
                            warning_code: (...) | (...);
                            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_ACCESS_METHOD";
                    error: null;
                    result: null;
                    status: "pending";
                }
                | {
                    action_attempt_id: string;
                    action_type: "ENCODE_ACCESS_METHOD";
                    error: null;
                    result: {
                        access_method_id: string;
                        created_at: string;
                        display_name: string;
                        instant_key_url?: string;
                        is_card_encoding_required?: boolean;
                        issued_at?: string;
                        mode: "code" | "card" | "mobile_key";
                        workspace_id: string;
                    };
                    status: "success";
                }
                | {
                    action_attempt_id: string;
                    action_type: "ENCODE_ACCESS_METHOD";
                    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: "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?: {
                            auto_join?: ...;
                            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"
                            | "latch_access";
                        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?: {
                            auto_join?: ...;
                            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"
                            | "latch_access";
                        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;
                    };
                    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: "SIMULATE_KEYPAD_CODE_ENTRY";
                    error: null;
                    result: null;
                    status: "pending";
                }
                | {
                    action_attempt_id: string;
                    action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                    error: null;
                    result: {};
                    status: "success";
                }
                | {
                    action_attempt_id: string;
                    action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                    error: {
                        message: string;
                        type: string;
                    };
                    result: null;
                    status: "error";
                }
                | {
                    action_attempt_id: string;
                    action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                    error: null;
                    result: null;
                    status: "pending";
                }
                | {
                    action_attempt_id: string;
                    action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                    error: null;
                    result: {};
                    status: "success";
                }
                | {
                    action_attempt_id: string;
                    action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                    error: {
                        message: string;
                        type: string;
                    };
                    result: null;
                    status: "error";
                }
                | {
                    action_attempt_id: string;
                    action_type: "PUSH_THERMOSTAT_PROGRAMS";
                    error: null;
                    result: null;
                    status: "pending";
                }
                | {
                    action_attempt_id: string;
                    action_type: "PUSH_THERMOSTAT_PROGRAMS";
                    error: null;
                    result: {};
                    status: "success";
                }
                | {
                    action_attempt_id: string;
                    action_type: "PUSH_THERMOSTAT_PROGRAMS";
                    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";
                };
        }>, "action_attempt">, "action_attempt">
      • Parameters

        • Optionalbody: {
              device_id: string;
              sync?: boolean;
          }
          • device_id: string

            ID of the lock that you want to unlock.

          • Optionalsync?: boolean
        • options: LocksUnlockDoorOptions = {}

        Returns SeamHttpRequest<SetNonNullable<Required<{
            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: (...) | (...);
                            created_at: (...) | (...);
                            ends_at: (...) | (...);
                            is_issued: (...) | (...) | (...);
                            starts_at: (...) | (...);
                            visionline_metadata?: (...) | (...);
                        };
                        acs_credential_on_seam: null | {
                            access_method: (...) | (...) | (...);
                            acs_credential_id: string;
                            acs_credential_pool_id?: (...) | (...);
                            acs_system_id: string;
                            acs_user_id?: (...) | (...);
                            assa_abloy_vostio_metadata?: (...) | (...);
                            card_number?: (...) | (...) | (...);
                            code?: (...) | (...) | (...);
                            created_at: string;
                            display_name: string;
                            ends_at?: (...) | (...);
                            errors: (...)[];
                            external_type?:
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...);
                            external_type_display_name?: (...) | (...);
                            is_issued?: (...) | (...) | (...);
                            is_latest_desired_state_synced_with_provider?:
                                | (...)
                                | (...)
                                | (...)
                                | (...);
                            is_managed: true;
                            is_multi_phone_sync_credential?: (...) | (...) | (...);
                            is_one_time_use?: (...) | (...) | (...);
                            issued_at?: (...) | (...) | (...);
                            latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                            parent_acs_credential_id?: (...) | (...);
                            starts_at?: (...) | (...);
                            visionline_metadata?: (...) | (...);
                            warnings: (...)[];
                            workspace_id: string;
                        } | {
                            access_method: (...) | (...) | (...);
                            acs_credential_id: string;
                            acs_credential_pool_id?: (...) | (...);
                            acs_system_id: string;
                            acs_user_id?: (...) | (...);
                            assa_abloy_vostio_metadata?: (...) | (...);
                            card_number?: (...) | (...) | (...);
                            code?: (...) | (...) | (...);
                            created_at: string;
                            display_name: string;
                            ends_at?: (...) | (...);
                            errors: (...)[];
                            external_type?:
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...);
                            external_type_display_name?: (...) | (...);
                            is_issued?: (...) | (...) | (...);
                            is_latest_desired_state_synced_with_provider?:
                                | (...)
                                | (...)
                                | (...)
                                | (...);
                            is_managed: false;
                            is_multi_phone_sync_credential?: (...) | (...) | (...);
                            is_one_time_use?: (...) | (...) | (...);
                            issued_at?: (...) | (...) | (...);
                            latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                            parent_acs_credential_id?: (...) | (...);
                            starts_at?: (...) | (...);
                            visionline_metadata?: (...) | (...);
                            warnings: (...)[];
                            workspace_id: string;
                        };
                        warnings: {
                            warning_code: (...) | (...);
                            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_ACCESS_METHOD";
                    error: null;
                    result: null;
                    status: "pending";
                }
                | {
                    action_attempt_id: string;
                    action_type: "ENCODE_ACCESS_METHOD";
                    error: null;
                    result: {
                        access_method_id: string;
                        created_at: string;
                        display_name: string;
                        instant_key_url?: string;
                        is_card_encoding_required?: boolean;
                        issued_at?: string;
                        mode: "code" | "card" | "mobile_key";
                        workspace_id: string;
                    };
                    status: "success";
                }
                | {
                    action_attempt_id: string;
                    action_type: "ENCODE_ACCESS_METHOD";
                    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: "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?: {
                            auto_join?: ...;
                            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"
                            | "latch_access";
                        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?: {
                            auto_join?: ...;
                            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"
                            | "latch_access";
                        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;
                    };
                    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: "SIMULATE_KEYPAD_CODE_ENTRY";
                    error: null;
                    result: null;
                    status: "pending";
                }
                | {
                    action_attempt_id: string;
                    action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                    error: null;
                    result: {};
                    status: "success";
                }
                | {
                    action_attempt_id: string;
                    action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                    error: {
                        message: string;
                        type: string;
                    };
                    result: null;
                    status: "error";
                }
                | {
                    action_attempt_id: string;
                    action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                    error: null;
                    result: null;
                    status: "pending";
                }
                | {
                    action_attempt_id: string;
                    action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                    error: null;
                    result: {};
                    status: "success";
                }
                | {
                    action_attempt_id: string;
                    action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                    error: {
                        message: string;
                        type: string;
                    };
                    result: null;
                    status: "error";
                }
                | {
                    action_attempt_id: string;
                    action_type: "PUSH_THERMOSTAT_PROGRAMS";
                    error: null;
                    result: null;
                    status: "pending";
                }
                | {
                    action_attempt_id: string;
                    action_type: "PUSH_THERMOSTAT_PROGRAMS";
                    error: null;
                    result: {};
                    status: "success";
                }
                | {
                    action_attempt_id: string;
                    action_type: "PUSH_THERMOSTAT_PROGRAMS";
                    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";
                };
        }>, "action_attempt">, "action_attempt">

  • get /noise_sensors/list(): ((params?: {
        connect_webview_id?: string;
        connected_account_id?: string;
        connected_account_ids?: string[];
        created_before?: Date;
        custom_metadata_has?: Record<string, string | boolean>;
        customer_ids?: string[];
        device_ids?: string[];
        device_type?: "noiseaware_activity_zone" | "minut_sensor";
        device_types?: ("noiseaware_activity_zone" | "minut_sensor")[];
        exclude_if?: (
            | "can_remotely_unlock"
            | "can_remotely_lock"
            | "can_program_offline_access_codes"
            | "can_program_online_access_codes"
            | "can_hvac_heat"
            | "can_hvac_cool"
            | "can_hvac_heat_cool"
            | "can_turn_off_hvac"
            | "can_simulate_removal"
            | "can_simulate_connection"
            | "can_simulate_disconnection")[];
        include_if?: (
            | "can_remotely_unlock"
            | "can_remotely_lock"
            | "can_program_offline_access_codes"
            | "can_program_online_access_codes"
            | "can_hvac_heat"
            | "can_hvac_cool"
            | "can_hvac_heat_cool"
            | "can_turn_off_hvac"
            | "can_simulate_removal"
            | "can_simulate_connection"
            | "can_simulate_disconnection")[];
        limit?: number;
        manufacturer?: "noiseaware" | "minut";
        page_cursor?: null | string;
        space_id?: string;
        unstable_location_id?: null | string;
        user_identifier_key?: string;
    }) => SeamHttpRequest<SetNonNullable<Required<{
        devices: {
            can_hvac_cool?: boolean;
            can_hvac_heat?: boolean;
            can_hvac_heat_cool?: boolean;
            can_program_offline_access_codes?: boolean;
            can_program_online_access_codes?: boolean;
            can_remotely_lock?: boolean;
            can_remotely_unlock?: boolean;
            can_simulate_connection?: boolean;
            can_simulate_disconnection?: boolean;
            can_simulate_removal?: boolean;
            can_turn_off_hvac?: boolean;
            capabilities_supported: (
                | "access_code"
                | "lock"
                | "phone"
                | "thermostat"
                | "noise_detection"
                | "battery")[];
            connected_account_id: string;
            created_at: string;
            custom_metadata: Record<string, string | boolean>;
            device_id: string;
            device_type:
                | "akuvox_lock"
                | "august_lock"
                | "brivo_access_point"
                | "butterflymx_panel"
                | "avigilon_alta_entry"
                | "doorking_lock"
                | "genie_door"
                | "igloo_lock"
                | "linear_lock"
                | "lockly_lock"
                | "kwikset_lock"
                | "nuki_lock"
                | "salto_lock"
                | "schlage_lock"
                | "seam_relay"
                | "smartthings_lock"
                | "wyze_lock"
                | "yale_lock"
                | "two_n_intercom"
                | "controlbyweb_device"
                | "ttlock_lock"
                | "igloohome_lock"
                | "hubitat_lock"
                | "four_suites_door"
                | "dormakaba_oracode_door"
                | "tedee_lock"
                | "akiles_lock"
                | "noiseaware_activity_zone"
                | "minut_sensor"
                | "ecobee_thermostat"
                | "nest_thermostat"
                | "honeywell_resideo_thermostat"
                | "tado_thermostat"
                | "sensi_thermostat"
                | "smartthings_thermostat"
                | "ios_phone"
                | "android_phone";
            display_name: string;
            errors: (
                | {
                    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: "lockly_missing_wifi_bridge";
                    is_device_error: true;
                    message: string;
                }
                | {
                    created_at: string;
                    error_code: "invalid_credentials";
                    is_bridge_error?: (...) | (...) | (...);
                    is_connected_account_error?: (...) | (...) | (...);
                    message: string;
                }
                | {
                    created_at: string;
                    error_code: "bridge_disconnected";
                    is_bridge_error?: (...) | (...) | (...);
                    is_connected_account_error?: (...) | (...) | (...);
                    message: string;
                })[];
            is_managed: true;
            location: null | {
                location_name?: string;
                timezone?: string;
            };
            nickname?: string;
            properties: {
                accessory_keypad?: {
                    battery?: ...;
                    is_connected: ...;
                };
                appearance: {
                    name: string;
                };
                battery?: {
                    level: ...;
                    status: ...;
                };
                battery_level?: number;
                currently_triggering_noise_threshold_ids?: (...)[];
                has_direct_power?: boolean;
                image_alt_text?: string;
                image_url?: string;
                manufacturer?: string;
                model: {
                    accessory_keypad_supported?: (...) | (...) | (...);
                    can_connect_accessory_keypad?: (...) | (...) | (...);
                    display_name: string;
                    has_built_in_keypad?: (...) | (...) | (...);
                    manufacturer_display_name: string;
                    offline_access_codes_supported?: (...) | (...) | (...);
                    online_access_codes_supported?: (...) | (...) | (...);
                };
                name: string;
                noise_level_decibels?: number;
                offline_access_codes_enabled?: boolean;
                online: boolean;
                online_access_codes_enabled?: boolean;
                serial_number?: string;
                supports_accessory_keypad?: boolean;
                supports_offline_access_codes?: boolean;
            } & {
                assa_abloy_credential_service_metadata?: {
                    endpoints: ...;
                    has_active_endpoint: ...;
                };
                salto_space_credential_service_metadata?: {
                    has_active_phone: ...;
                };
            } & {
                akiles_metadata?: {
                    _member_group_id?: ...;
                    gadget_id: ...;
                    gadget_name: ...;
                    product_name: ...;
                };
                assa_abloy_vostio_metadata?: {
                    encoder_name: ...;
                };
                august_metadata?: {
                    has_keypad: ...;
                    house_id?: ...;
                    house_name: ...;
                    keypad_battery_level?: ...;
                    lock_id: ...;
                    lock_name: ...;
                    model?: ...;
                };
                avigilon_alta_metadata?: {
                    entry_name: ...;
                    entry_relays_total_count: ...;
                    org_name: ...;
                    site_id: ...;
                    site_name: ...;
                    zone_id: ...;
                    zone_name: ...;
                };
                brivo_metadata?: {
                    device_name: ...;
                };
                controlbyweb_metadata?: {
                    device_id: ...;
                    device_name: ...;
                    relay_name: ...;
                };
                dormakaba_oracode_metadata?: {
                    device_id?: ...;
                    door_id?: ...;
                    door_is_wireless: ...;
                    door_name: ...;
                    iana_timezone?: ...;
                    predefined_time_slots?: ...;
                    site_id: ...;
                    site_name: ...;
                };
                ecobee_metadata?: {
                    device_name: ...;
                    ecobee_device_id: ...;
                };
                four_suites_metadata?: {
                    device_id: ...;
                    device_name: ...;
                    reclose_delay_in_seconds: ...;
                };
                genie_metadata?: {
                    device_name: ...;
                    door_name: ...;
                };
                honeywell_resideo_metadata?: {
                    device_name: ...;
                    honeywell_resideo_device_id: ...;
                };
                hubitat_metadata?: {
                    device_id: ...;
                    device_label: ...;
                    device_name: ...;
                };
                igloo_metadata?: {
                    bridge_id: ...;
                    device_id: ...;
                    model?: ...;
                };
                igloohome_metadata?: {
                    bridge_id?: ...;
                    bridge_name?: ...;
                    device_id: ...;
                    device_name: ...;
                    keypad_id?: ...;
                };
                kwikset_metadata?: {
                    device_id: ...;
                    device_name: ...;
                    model_number: ...;
                };
                lockly_metadata?: {
                    device_id: ...;
                    device_name: ...;
                    model?: ...;
                };
                minut_metadata?: {
                    device_id: ...;
                    device_name: ...;
                    latest_sensor_values: ...;
                };
                nest_metadata?: {
                    device_custom_name: ...;
                    device_name: ...;
                    display_name?: ...;
                    nest_device_id: ...;
                };
                noiseaware_metadata?: {
                    device_id: ...;
                    device_model: ...;
                    device_name: ...;
                    noise_level_decibel: ...;
                    noise_level_nrs: ...;
                };
                nuki_metadata?: {
                    device_id: ...;
                    device_name: ...;
                    keypad_2_paired?: ...;
                    keypad_battery_critical?: ...;
                    keypad_paired?: ...;
                };
                salto_ks_metadata?: {
                    battery_level: ...;
                    customer_reference: ...;
                    lock_id: ...;
                    lock_type: ...;
                    locked_state: ...;
                    model?: ...;
                };
                salto_metadata?: {
                    battery_level: ...;
                    customer_reference: ...;
                    lock_id: ...;
                    lock_type: ...;
                    locked_state: ...;
                    model?: ...;
                };
                schlage_metadata?: {
                    device_id: ...;
                    device_name: ...;
                    model?: ...;
                };
                seam_bridge_metadata?: {
                    device_num: ...;
                    name: ...;
                    unlock_method?: ...;
                };
                sensi_metadata?: {
                    device_id: ...;
                    device_name: ...;
                    product_type: ...;
                };
                smartthings_metadata?: {
                    device_id: ...;
                    device_name: ...;
                    location_id?: ...;
                    model?: ...;
                };
                tado_metadata?: {
                    device_type: ...;
                    serial_no: ...;
                };
                tedee_metadata?: {
                    bridge_id: ...;
                    bridge_name: ...;
                    device_id: ...;
                    device_model: ...;
                    device_name: ...;
                    keypad_id?: ...;
                    serial_number: ...;
                };
                ttlock_metadata?: {
                    feature_value: ...;
                    features: ...;
                    has_gateway?: ...;
                    lock_alias: ...;
                    lock_id: ...;
                    wireless_keypads?: ...;
                };
                two_n_metadata?: {
                    device_id: ...;
                    device_name: ...;
                };
                visionline_metadata?: {
                    encoder_id: ...;
                };
                wyze_metadata?: {
                    device_id: ...;
                    device_info_model: ...;
                    device_name: ...;
                    keypad_uuid?: ...;
                    locker_status_hardlock?: ...;
                    product_model: ...;
                    product_name: ...;
                    product_type: ...;
                };
            } & {
                _experimental_supported_code_from_access_codes_lengths?: (...)[];
                code_constraints?: (...)[];
                door_open?: boolean;
                has_native_entry_events?: boolean;
                keypad_battery?: {
                    level: ...;
                };
                locked?: boolean;
                max_active_codes_supported?: number;
                supported_code_lengths?: (...)[];
                supports_backup_access_code_pool?: boolean;
            } & {
                active_thermostat_schedule?: null | {
                    climate_preset_key: ...;
                    created_at: ...;
                    device_id: ...;
                    ends_at: ...;
                    errors: ...;
                    is_override_allowed?: ...;
                    max_override_period_minutes?: ...;
                    name: ...;
                    starts_at: ...;
                    thermostat_schedule_id: ...;
                    workspace_id: ...;
                };
                available_climate_presets?: (...)[];
                available_fan_mode_settings?: (...)[];
                available_hvac_mode_settings?: (...)[];
                current_climate_setting?: {
                    can_delete?: ...;
                    can_edit?: ...;
                    can_program?: ...;
                    climate_preset_key?: ...;
                    cooling_set_point_celsius?: ...;
                    cooling_set_point_fahrenheit?: ...;
                    display_name?: ...;
                    fan_mode_setting?: ...;
                    heating_set_point_celsius?: ...;
                    heating_set_point_fahrenheit?: ...;
                    hvac_mode_setting?: ...;
                    manual_override_allowed?: ...;
                    name?: ...;
                };
                default_climate_setting?: {
                    can_delete?: ...;
                    can_edit?: ...;
                    can_program?: ...;
                    climate_preset_key?: ...;
                    cooling_set_point_celsius?: ...;
                    cooling_set_point_fahrenheit?: ...;
                    display_name?: ...;
                    fan_mode_setting?: ...;
                    heating_set_point_celsius?: ...;
                    heating_set_point_fahrenheit?: ...;
                    hvac_mode_setting?: ...;
                    manual_override_allowed?: ...;
                    name?: ...;
                };
                fallback_climate_preset_key?: null | string;
                fan_mode_setting?: "auto" | "on" | "circulate";
                is_cooling?: boolean;
                is_fan_running?: boolean;
                is_heating?: boolean;
                is_temporary_manual_override_active?: boolean;
                max_cooling_set_point_celsius?: number;
                max_cooling_set_point_fahrenheit?: number;
                max_heating_set_point_celsius?: number;
                max_heating_set_point_fahrenheit?: number;
                min_cooling_set_point_celsius?: number;
                min_cooling_set_point_fahrenheit?: number;
                min_heating_cooling_delta_celsius?: number;
                min_heating_cooling_delta_fahrenheit?: number;
                min_heating_set_point_celsius?: number;
                min_heating_set_point_fahrenheit?: number;
                relative_humidity?: number;
                temperature_celsius?: number;
                temperature_fahrenheit?: number;
                temperature_threshold?: {
                    lower_limit_celsius: ...;
                    lower_limit_fahrenheit: ...;
                    upper_limit_celsius: ...;
                    upper_limit_fahrenheit: ...;
                };
                thermostat_daily_programs?: (...)[];
                thermostat_weekly_program?: null | {
                    created_at: ...;
                    friday_program_id: ...;
                    monday_program_id: ...;
                    saturday_program_id: ...;
                    sunday_program_id: ...;
                    thursday_program_id: ...;
                    tuesday_program_id: ...;
                    wednesday_program_id: ...;
                };
            };
            warnings: (
                | {
                    created_at: string;
                    message: string;
                    warning_code: "partial_backup_access_code_pool";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "many_active_backup_codes";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "wyze_device_missing_gateway";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "functional_offline_device";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "third_party_integration_detected";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "nest_thermostat_in_manual_eco_mode";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "ttlock_lock_gateway_unlocking_not_enabled";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "ttlock_weak_gateway_signal";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "power_saving_mode";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "temperature_threshold_exceeded";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "device_communication_degraded";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "scheduled_maintenance_window";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "device_has_flaky_connection";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "salto_ks_office_mode";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "salto_ks_privacy_mode";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "salto_ks_subscription_limit_almost_reached";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "unknown_issue_with_phone";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "lockly_time_zone_not_configured";
                })[];
            workspace_id: string;
        }[];
        noise_sensors: {
            can_hvac_cool?: boolean;
            can_hvac_heat?: boolean;
            can_hvac_heat_cool?: boolean;
            can_program_offline_access_codes?: boolean;
            can_program_online_access_codes?: boolean;
            can_remotely_lock?: boolean;
            can_remotely_unlock?: boolean;
            can_simulate_connection?: boolean;
            can_simulate_disconnection?: boolean;
            can_simulate_removal?: boolean;
            can_turn_off_hvac?: boolean;
            capabilities_supported: (
                | "access_code"
                | "lock"
                | "phone"
                | "thermostat"
                | "noise_detection"
                | "battery")[];
            connected_account_id: string;
            created_at: string;
            custom_metadata: Record<string, string | boolean>;
            device_id: string;
            device_type:
                | "akuvox_lock"
                | "august_lock"
                | "brivo_access_point"
                | "butterflymx_panel"
                | "avigilon_alta_entry"
                | "doorking_lock"
                | "genie_door"
                | "igloo_lock"
                | "linear_lock"
                | "lockly_lock"
                | "kwikset_lock"
                | "nuki_lock"
                | "salto_lock"
                | "schlage_lock"
                | "seam_relay"
                | "smartthings_lock"
                | "wyze_lock"
                | "yale_lock"
                | "two_n_intercom"
                | "controlbyweb_device"
                | "ttlock_lock"
                | "igloohome_lock"
                | "hubitat_lock"
                | "four_suites_door"
                | "dormakaba_oracode_door"
                | "tedee_lock"
                | "akiles_lock"
                | "noiseaware_activity_zone"
                | "minut_sensor"
                | "ecobee_thermostat"
                | "nest_thermostat"
                | "honeywell_resideo_thermostat"
                | "tado_thermostat"
                | "sensi_thermostat"
                | "smartthings_thermostat"
                | "ios_phone"
                | "android_phone";
            display_name: string;
            errors: (
                | {
                    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: "lockly_missing_wifi_bridge";
                    is_device_error: true;
                    message: string;
                }
                | {
                    created_at: string;
                    error_code: "invalid_credentials";
                    is_bridge_error?: (...) | (...) | (...);
                    is_connected_account_error?: (...) | (...) | (...);
                    message: string;
                }
                | {
                    created_at: string;
                    error_code: "bridge_disconnected";
                    is_bridge_error?: (...) | (...) | (...);
                    is_connected_account_error?: (...) | (...) | (...);
                    message: string;
                })[];
            is_managed: true;
            location: null | {
                location_name?: string;
                timezone?: string;
            };
            nickname?: string;
            properties: {
                accessory_keypad?: {
                    battery?: ...;
                    is_connected: ...;
                };
                appearance: {
                    name: string;
                };
                battery?: {
                    level: ...;
                    status: ...;
                };
                battery_level?: number;
                currently_triggering_noise_threshold_ids?: (...)[];
                has_direct_power?: boolean;
                image_alt_text?: string;
                image_url?: string;
                manufacturer?: string;
                model: {
                    accessory_keypad_supported?: (...) | (...) | (...);
                    can_connect_accessory_keypad?: (...) | (...) | (...);
                    display_name: string;
                    has_built_in_keypad?: (...) | (...) | (...);
                    manufacturer_display_name: string;
                    offline_access_codes_supported?: (...) | (...) | (...);
                    online_access_codes_supported?: (...) | (...) | (...);
                };
                name: string;
                noise_level_decibels?: number;
                offline_access_codes_enabled?: boolean;
                online: boolean;
                online_access_codes_enabled?: boolean;
                serial_number?: string;
                supports_accessory_keypad?: boolean;
                supports_offline_access_codes?: boolean;
            } & {
                assa_abloy_credential_service_metadata?: {
                    endpoints: ...;
                    has_active_endpoint: ...;
                };
                salto_space_credential_service_metadata?: {
                    has_active_phone: ...;
                };
            } & {
                akiles_metadata?: {
                    _member_group_id?: ...;
                    gadget_id: ...;
                    gadget_name: ...;
                    product_name: ...;
                };
                assa_abloy_vostio_metadata?: {
                    encoder_name: ...;
                };
                august_metadata?: {
                    has_keypad: ...;
                    house_id?: ...;
                    house_name: ...;
                    keypad_battery_level?: ...;
                    lock_id: ...;
                    lock_name: ...;
                    model?: ...;
                };
                avigilon_alta_metadata?: {
                    entry_name: ...;
                    entry_relays_total_count: ...;
                    org_name: ...;
                    site_id: ...;
                    site_name: ...;
                    zone_id: ...;
                    zone_name: ...;
                };
                brivo_metadata?: {
                    device_name: ...;
                };
                controlbyweb_metadata?: {
                    device_id: ...;
                    device_name: ...;
                    relay_name: ...;
                };
                dormakaba_oracode_metadata?: {
                    device_id?: ...;
                    door_id?: ...;
                    door_is_wireless: ...;
                    door_name: ...;
                    iana_timezone?: ...;
                    predefined_time_slots?: ...;
                    site_id: ...;
                    site_name: ...;
                };
                ecobee_metadata?: {
                    device_name: ...;
                    ecobee_device_id: ...;
                };
                four_suites_metadata?: {
                    device_id: ...;
                    device_name: ...;
                    reclose_delay_in_seconds: ...;
                };
                genie_metadata?: {
                    device_name: ...;
                    door_name: ...;
                };
                honeywell_resideo_metadata?: {
                    device_name: ...;
                    honeywell_resideo_device_id: ...;
                };
                hubitat_metadata?: {
                    device_id: ...;
                    device_label: ...;
                    device_name: ...;
                };
                igloo_metadata?: {
                    bridge_id: ...;
                    device_id: ...;
                    model?: ...;
                };
                igloohome_metadata?: {
                    bridge_id?: ...;
                    bridge_name?: ...;
                    device_id: ...;
                    device_name: ...;
                    keypad_id?: ...;
                };
                kwikset_metadata?: {
                    device_id: ...;
                    device_name: ...;
                    model_number: ...;
                };
                lockly_metadata?: {
                    device_id: ...;
                    device_name: ...;
                    model?: ...;
                };
                minut_metadata?: {
                    device_id: ...;
                    device_name: ...;
                    latest_sensor_values: ...;
                };
                nest_metadata?: {
                    device_custom_name: ...;
                    device_name: ...;
                    display_name?: ...;
                    nest_device_id: ...;
                };
                noiseaware_metadata?: {
                    device_id: ...;
                    device_model: ...;
                    device_name: ...;
                    noise_level_decibel: ...;
                    noise_level_nrs: ...;
                };
                nuki_metadata?: {
                    device_id: ...;
                    device_name: ...;
                    keypad_2_paired?: ...;
                    keypad_battery_critical?: ...;
                    keypad_paired?: ...;
                };
                salto_ks_metadata?: {
                    battery_level: ...;
                    customer_reference: ...;
                    lock_id: ...;
                    lock_type: ...;
                    locked_state: ...;
                    model?: ...;
                };
                salto_metadata?: {
                    battery_level: ...;
                    customer_reference: ...;
                    lock_id: ...;
                    lock_type: ...;
                    locked_state: ...;
                    model?: ...;
                };
                schlage_metadata?: {
                    device_id: ...;
                    device_name: ...;
                    model?: ...;
                };
                seam_bridge_metadata?: {
                    device_num: ...;
                    name: ...;
                    unlock_method?: ...;
                };
                sensi_metadata?: {
                    device_id: ...;
                    device_name: ...;
                    product_type: ...;
                };
                smartthings_metadata?: {
                    device_id: ...;
                    device_name: ...;
                    location_id?: ...;
                    model?: ...;
                };
                tado_metadata?: {
                    device_type: ...;
                    serial_no: ...;
                };
                tedee_metadata?: {
                    bridge_id: ...;
                    bridge_name: ...;
                    device_id: ...;
                    device_model: ...;
                    device_name: ...;
                    keypad_id?: ...;
                    serial_number: ...;
                };
                ttlock_metadata?: {
                    feature_value: ...;
                    features: ...;
                    has_gateway?: ...;
                    lock_alias: ...;
                    lock_id: ...;
                    wireless_keypads?: ...;
                };
                two_n_metadata?: {
                    device_id: ...;
                    device_name: ...;
                };
                visionline_metadata?: {
                    encoder_id: ...;
                };
                wyze_metadata?: {
                    device_id: ...;
                    device_info_model: ...;
                    device_name: ...;
                    keypad_uuid?: ...;
                    locker_status_hardlock?: ...;
                    product_model: ...;
                    product_name: ...;
                    product_type: ...;
                };
            } & {
                _experimental_supported_code_from_access_codes_lengths?: (...)[];
                code_constraints?: (...)[];
                door_open?: boolean;
                has_native_entry_events?: boolean;
                keypad_battery?: {
                    level: ...;
                };
                locked?: boolean;
                max_active_codes_supported?: number;
                supported_code_lengths?: (...)[];
                supports_backup_access_code_pool?: boolean;
            } & {
                active_thermostat_schedule?: null | {
                    climate_preset_key: ...;
                    created_at: ...;
                    device_id: ...;
                    ends_at: ...;
                    errors: ...;
                    is_override_allowed?: ...;
                    max_override_period_minutes?: ...;
                    name: ...;
                    starts_at: ...;
                    thermostat_schedule_id: ...;
                    workspace_id: ...;
                };
                available_climate_presets?: (...)[];
                available_fan_mode_settings?: (...)[];
                available_hvac_mode_settings?: (...)[];
                current_climate_setting?: {
                    can_delete?: ...;
                    can_edit?: ...;
                    can_program?: ...;
                    climate_preset_key?: ...;
                    cooling_set_point_celsius?: ...;
                    cooling_set_point_fahrenheit?: ...;
                    display_name?: ...;
                    fan_mode_setting?: ...;
                    heating_set_point_celsius?: ...;
                    heating_set_point_fahrenheit?: ...;
                    hvac_mode_setting?: ...;
                    manual_override_allowed?: ...;
                    name?: ...;
                };
                default_climate_setting?: {
                    can_delete?: ...;
                    can_edit?: ...;
                    can_program?: ...;
                    climate_preset_key?: ...;
                    cooling_set_point_celsius?: ...;
                    cooling_set_point_fahrenheit?: ...;
                    display_name?: ...;
                    fan_mode_setting?: ...;
                    heating_set_point_celsius?: ...;
                    heating_set_point_fahrenheit?: ...;
                    hvac_mode_setting?: ...;
                    manual_override_allowed?: ...;
                    name?: ...;
                };
                fallback_climate_preset_key?: null | string;
                fan_mode_setting?: "auto" | "on" | "circulate";
                is_cooling?: boolean;
                is_fan_running?: boolean;
                is_heating?: boolean;
                is_temporary_manual_override_active?: boolean;
                max_cooling_set_point_celsius?: number;
                max_cooling_set_point_fahrenheit?: number;
                max_heating_set_point_celsius?: number;
                max_heating_set_point_fahrenheit?: number;
                min_cooling_set_point_celsius?: number;
                min_cooling_set_point_fahrenheit?: number;
                min_heating_cooling_delta_celsius?: number;
                min_heating_cooling_delta_fahrenheit?: number;
                min_heating_set_point_celsius?: number;
                min_heating_set_point_fahrenheit?: number;
                relative_humidity?: number;
                temperature_celsius?: number;
                temperature_fahrenheit?: number;
                temperature_threshold?: {
                    lower_limit_celsius: ...;
                    lower_limit_fahrenheit: ...;
                    upper_limit_celsius: ...;
                    upper_limit_fahrenheit: ...;
                };
                thermostat_daily_programs?: (...)[];
                thermostat_weekly_program?: null | {
                    created_at: ...;
                    friday_program_id: ...;
                    monday_program_id: ...;
                    saturday_program_id: ...;
                    sunday_program_id: ...;
                    thursday_program_id: ...;
                    tuesday_program_id: ...;
                    wednesday_program_id: ...;
                };
            };
            warnings: (
                | {
                    created_at: string;
                    message: string;
                    warning_code: "partial_backup_access_code_pool";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "many_active_backup_codes";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "wyze_device_missing_gateway";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "functional_offline_device";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "third_party_integration_detected";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "nest_thermostat_in_manual_eco_mode";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "ttlock_lock_gateway_unlocking_not_enabled";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "ttlock_weak_gateway_signal";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "power_saving_mode";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "temperature_threshold_exceeded";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "device_communication_degraded";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "scheduled_maintenance_window";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "device_has_flaky_connection";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "salto_ks_office_mode";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "salto_ks_privacy_mode";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "salto_ks_subscription_limit_almost_reached";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "unknown_issue_with_phone";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "lockly_time_zone_not_configured";
                })[];
            workspace_id: string;
        }[];
    }>, "devices" | "noise_sensors">, "devices">)
  • Returns ((params?: {
        connect_webview_id?: string;
        connected_account_id?: string;
        connected_account_ids?: string[];
        created_before?: Date;
        custom_metadata_has?: Record<string, string | boolean>;
        customer_ids?: string[];
        device_ids?: string[];
        device_type?: "noiseaware_activity_zone" | "minut_sensor";
        device_types?: ("noiseaware_activity_zone" | "minut_sensor")[];
        exclude_if?: (
            | "can_remotely_unlock"
            | "can_remotely_lock"
            | "can_program_offline_access_codes"
            | "can_program_online_access_codes"
            | "can_hvac_heat"
            | "can_hvac_cool"
            | "can_hvac_heat_cool"
            | "can_turn_off_hvac"
            | "can_simulate_removal"
            | "can_simulate_connection"
            | "can_simulate_disconnection")[];
        include_if?: (
            | "can_remotely_unlock"
            | "can_remotely_lock"
            | "can_program_offline_access_codes"
            | "can_program_online_access_codes"
            | "can_hvac_heat"
            | "can_hvac_cool"
            | "can_hvac_heat_cool"
            | "can_turn_off_hvac"
            | "can_simulate_removal"
            | "can_simulate_connection"
            | "can_simulate_disconnection")[];
        limit?: number;
        manufacturer?: "noiseaware" | "minut";
        page_cursor?: null | string;
        space_id?: string;
        unstable_location_id?: null | string;
        user_identifier_key?: string;
    }) => SeamHttpRequest<SetNonNullable<Required<{
        devices: {
            can_hvac_cool?: boolean;
            can_hvac_heat?: boolean;
            can_hvac_heat_cool?: boolean;
            can_program_offline_access_codes?: boolean;
            can_program_online_access_codes?: boolean;
            can_remotely_lock?: boolean;
            can_remotely_unlock?: boolean;
            can_simulate_connection?: boolean;
            can_simulate_disconnection?: boolean;
            can_simulate_removal?: boolean;
            can_turn_off_hvac?: boolean;
            capabilities_supported: (
                | "access_code"
                | "lock"
                | "phone"
                | "thermostat"
                | "noise_detection"
                | "battery")[];
            connected_account_id: string;
            created_at: string;
            custom_metadata: Record<string, string | boolean>;
            device_id: string;
            device_type:
                | "akuvox_lock"
                | "august_lock"
                | "brivo_access_point"
                | "butterflymx_panel"
                | "avigilon_alta_entry"
                | "doorking_lock"
                | "genie_door"
                | "igloo_lock"
                | "linear_lock"
                | "lockly_lock"
                | "kwikset_lock"
                | "nuki_lock"
                | "salto_lock"
                | "schlage_lock"
                | "seam_relay"
                | "smartthings_lock"
                | "wyze_lock"
                | "yale_lock"
                | "two_n_intercom"
                | "controlbyweb_device"
                | "ttlock_lock"
                | "igloohome_lock"
                | "hubitat_lock"
                | "four_suites_door"
                | "dormakaba_oracode_door"
                | "tedee_lock"
                | "akiles_lock"
                | "noiseaware_activity_zone"
                | "minut_sensor"
                | "ecobee_thermostat"
                | "nest_thermostat"
                | "honeywell_resideo_thermostat"
                | "tado_thermostat"
                | "sensi_thermostat"
                | "smartthings_thermostat"
                | "ios_phone"
                | "android_phone";
            display_name: string;
            errors: (
                | {
                    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: "lockly_missing_wifi_bridge";
                    is_device_error: true;
                    message: string;
                }
                | {
                    created_at: string;
                    error_code: "invalid_credentials";
                    is_bridge_error?: (...) | (...) | (...);
                    is_connected_account_error?: (...) | (...) | (...);
                    message: string;
                }
                | {
                    created_at: string;
                    error_code: "bridge_disconnected";
                    is_bridge_error?: (...) | (...) | (...);
                    is_connected_account_error?: (...) | (...) | (...);
                    message: string;
                })[];
            is_managed: true;
            location: null | {
                location_name?: string;
                timezone?: string;
            };
            nickname?: string;
            properties: {
                accessory_keypad?: {
                    battery?: ...;
                    is_connected: ...;
                };
                appearance: {
                    name: string;
                };
                battery?: {
                    level: ...;
                    status: ...;
                };
                battery_level?: number;
                currently_triggering_noise_threshold_ids?: (...)[];
                has_direct_power?: boolean;
                image_alt_text?: string;
                image_url?: string;
                manufacturer?: string;
                model: {
                    accessory_keypad_supported?: (...) | (...) | (...);
                    can_connect_accessory_keypad?: (...) | (...) | (...);
                    display_name: string;
                    has_built_in_keypad?: (...) | (...) | (...);
                    manufacturer_display_name: string;
                    offline_access_codes_supported?: (...) | (...) | (...);
                    online_access_codes_supported?: (...) | (...) | (...);
                };
                name: string;
                noise_level_decibels?: number;
                offline_access_codes_enabled?: boolean;
                online: boolean;
                online_access_codes_enabled?: boolean;
                serial_number?: string;
                supports_accessory_keypad?: boolean;
                supports_offline_access_codes?: boolean;
            } & {
                assa_abloy_credential_service_metadata?: {
                    endpoints: ...;
                    has_active_endpoint: ...;
                };
                salto_space_credential_service_metadata?: {
                    has_active_phone: ...;
                };
            } & {
                akiles_metadata?: {
                    _member_group_id?: ...;
                    gadget_id: ...;
                    gadget_name: ...;
                    product_name: ...;
                };
                assa_abloy_vostio_metadata?: {
                    encoder_name: ...;
                };
                august_metadata?: {
                    has_keypad: ...;
                    house_id?: ...;
                    house_name: ...;
                    keypad_battery_level?: ...;
                    lock_id: ...;
                    lock_name: ...;
                    model?: ...;
                };
                avigilon_alta_metadata?: {
                    entry_name: ...;
                    entry_relays_total_count: ...;
                    org_name: ...;
                    site_id: ...;
                    site_name: ...;
                    zone_id: ...;
                    zone_name: ...;
                };
                brivo_metadata?: {
                    device_name: ...;
                };
                controlbyweb_metadata?: {
                    device_id: ...;
                    device_name: ...;
                    relay_name: ...;
                };
                dormakaba_oracode_metadata?: {
                    device_id?: ...;
                    door_id?: ...;
                    door_is_wireless: ...;
                    door_name: ...;
                    iana_timezone?: ...;
                    predefined_time_slots?: ...;
                    site_id: ...;
                    site_name: ...;
                };
                ecobee_metadata?: {
                    device_name: ...;
                    ecobee_device_id: ...;
                };
                four_suites_metadata?: {
                    device_id: ...;
                    device_name: ...;
                    reclose_delay_in_seconds: ...;
                };
                genie_metadata?: {
                    device_name: ...;
                    door_name: ...;
                };
                honeywell_resideo_metadata?: {
                    device_name: ...;
                    honeywell_resideo_device_id: ...;
                };
                hubitat_metadata?: {
                    device_id: ...;
                    device_label: ...;
                    device_name: ...;
                };
                igloo_metadata?: {
                    bridge_id: ...;
                    device_id: ...;
                    model?: ...;
                };
                igloohome_metadata?: {
                    bridge_id?: ...;
                    bridge_name?: ...;
                    device_id: ...;
                    device_name: ...;
                    keypad_id?: ...;
                };
                kwikset_metadata?: {
                    device_id: ...;
                    device_name: ...;
                    model_number: ...;
                };
                lockly_metadata?: {
                    device_id: ...;
                    device_name: ...;
                    model?: ...;
                };
                minut_metadata?: {
                    device_id: ...;
                    device_name: ...;
                    latest_sensor_values: ...;
                };
                nest_metadata?: {
                    device_custom_name: ...;
                    device_name: ...;
                    display_name?: ...;
                    nest_device_id: ...;
                };
                noiseaware_metadata?: {
                    device_id: ...;
                    device_model: ...;
                    device_name: ...;
                    noise_level_decibel: ...;
                    noise_level_nrs: ...;
                };
                nuki_metadata?: {
                    device_id: ...;
                    device_name: ...;
                    keypad_2_paired?: ...;
                    keypad_battery_critical?: ...;
                    keypad_paired?: ...;
                };
                salto_ks_metadata?: {
                    battery_level: ...;
                    customer_reference: ...;
                    lock_id: ...;
                    lock_type: ...;
                    locked_state: ...;
                    model?: ...;
                };
                salto_metadata?: {
                    battery_level: ...;
                    customer_reference: ...;
                    lock_id: ...;
                    lock_type: ...;
                    locked_state: ...;
                    model?: ...;
                };
                schlage_metadata?: {
                    device_id: ...;
                    device_name: ...;
                    model?: ...;
                };
                seam_bridge_metadata?: {
                    device_num: ...;
                    name: ...;
                    unlock_method?: ...;
                };
                sensi_metadata?: {
                    device_id: ...;
                    device_name: ...;
                    product_type: ...;
                };
                smartthings_metadata?: {
                    device_id: ...;
                    device_name: ...;
                    location_id?: ...;
                    model?: ...;
                };
                tado_metadata?: {
                    device_type: ...;
                    serial_no: ...;
                };
                tedee_metadata?: {
                    bridge_id: ...;
                    bridge_name: ...;
                    device_id: ...;
                    device_model: ...;
                    device_name: ...;
                    keypad_id?: ...;
                    serial_number: ...;
                };
                ttlock_metadata?: {
                    feature_value: ...;
                    features: ...;
                    has_gateway?: ...;
                    lock_alias: ...;
                    lock_id: ...;
                    wireless_keypads?: ...;
                };
                two_n_metadata?: {
                    device_id: ...;
                    device_name: ...;
                };
                visionline_metadata?: {
                    encoder_id: ...;
                };
                wyze_metadata?: {
                    device_id: ...;
                    device_info_model: ...;
                    device_name: ...;
                    keypad_uuid?: ...;
                    locker_status_hardlock?: ...;
                    product_model: ...;
                    product_name: ...;
                    product_type: ...;
                };
            } & {
                _experimental_supported_code_from_access_codes_lengths?: (...)[];
                code_constraints?: (...)[];
                door_open?: boolean;
                has_native_entry_events?: boolean;
                keypad_battery?: {
                    level: ...;
                };
                locked?: boolean;
                max_active_codes_supported?: number;
                supported_code_lengths?: (...)[];
                supports_backup_access_code_pool?: boolean;
            } & {
                active_thermostat_schedule?: null | {
                    climate_preset_key: ...;
                    created_at: ...;
                    device_id: ...;
                    ends_at: ...;
                    errors: ...;
                    is_override_allowed?: ...;
                    max_override_period_minutes?: ...;
                    name: ...;
                    starts_at: ...;
                    thermostat_schedule_id: ...;
                    workspace_id: ...;
                };
                available_climate_presets?: (...)[];
                available_fan_mode_settings?: (...)[];
                available_hvac_mode_settings?: (...)[];
                current_climate_setting?: {
                    can_delete?: ...;
                    can_edit?: ...;
                    can_program?: ...;
                    climate_preset_key?: ...;
                    cooling_set_point_celsius?: ...;
                    cooling_set_point_fahrenheit?: ...;
                    display_name?: ...;
                    fan_mode_setting?: ...;
                    heating_set_point_celsius?: ...;
                    heating_set_point_fahrenheit?: ...;
                    hvac_mode_setting?: ...;
                    manual_override_allowed?: ...;
                    name?: ...;
                };
                default_climate_setting?: {
                    can_delete?: ...;
                    can_edit?: ...;
                    can_program?: ...;
                    climate_preset_key?: ...;
                    cooling_set_point_celsius?: ...;
                    cooling_set_point_fahrenheit?: ...;
                    display_name?: ...;
                    fan_mode_setting?: ...;
                    heating_set_point_celsius?: ...;
                    heating_set_point_fahrenheit?: ...;
                    hvac_mode_setting?: ...;
                    manual_override_allowed?: ...;
                    name?: ...;
                };
                fallback_climate_preset_key?: null | string;
                fan_mode_setting?: "auto" | "on" | "circulate";
                is_cooling?: boolean;
                is_fan_running?: boolean;
                is_heating?: boolean;
                is_temporary_manual_override_active?: boolean;
                max_cooling_set_point_celsius?: number;
                max_cooling_set_point_fahrenheit?: number;
                max_heating_set_point_celsius?: number;
                max_heating_set_point_fahrenheit?: number;
                min_cooling_set_point_celsius?: number;
                min_cooling_set_point_fahrenheit?: number;
                min_heating_cooling_delta_celsius?: number;
                min_heating_cooling_delta_fahrenheit?: number;
                min_heating_set_point_celsius?: number;
                min_heating_set_point_fahrenheit?: number;
                relative_humidity?: number;
                temperature_celsius?: number;
                temperature_fahrenheit?: number;
                temperature_threshold?: {
                    lower_limit_celsius: ...;
                    lower_limit_fahrenheit: ...;
                    upper_limit_celsius: ...;
                    upper_limit_fahrenheit: ...;
                };
                thermostat_daily_programs?: (...)[];
                thermostat_weekly_program?: null | {
                    created_at: ...;
                    friday_program_id: ...;
                    monday_program_id: ...;
                    saturday_program_id: ...;
                    sunday_program_id: ...;
                    thursday_program_id: ...;
                    tuesday_program_id: ...;
                    wednesday_program_id: ...;
                };
            };
            warnings: (
                | {
                    created_at: string;
                    message: string;
                    warning_code: "partial_backup_access_code_pool";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "many_active_backup_codes";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "wyze_device_missing_gateway";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "functional_offline_device";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "third_party_integration_detected";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "nest_thermostat_in_manual_eco_mode";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "ttlock_lock_gateway_unlocking_not_enabled";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "ttlock_weak_gateway_signal";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "power_saving_mode";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "temperature_threshold_exceeded";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "device_communication_degraded";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "scheduled_maintenance_window";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "device_has_flaky_connection";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "salto_ks_office_mode";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "salto_ks_privacy_mode";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "salto_ks_subscription_limit_almost_reached";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "unknown_issue_with_phone";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "lockly_time_zone_not_configured";
                })[];
            workspace_id: string;
        }[];
        noise_sensors: {
            can_hvac_cool?: boolean;
            can_hvac_heat?: boolean;
            can_hvac_heat_cool?: boolean;
            can_program_offline_access_codes?: boolean;
            can_program_online_access_codes?: boolean;
            can_remotely_lock?: boolean;
            can_remotely_unlock?: boolean;
            can_simulate_connection?: boolean;
            can_simulate_disconnection?: boolean;
            can_simulate_removal?: boolean;
            can_turn_off_hvac?: boolean;
            capabilities_supported: (
                | "access_code"
                | "lock"
                | "phone"
                | "thermostat"
                | "noise_detection"
                | "battery")[];
            connected_account_id: string;
            created_at: string;
            custom_metadata: Record<string, string | boolean>;
            device_id: string;
            device_type:
                | "akuvox_lock"
                | "august_lock"
                | "brivo_access_point"
                | "butterflymx_panel"
                | "avigilon_alta_entry"
                | "doorking_lock"
                | "genie_door"
                | "igloo_lock"
                | "linear_lock"
                | "lockly_lock"
                | "kwikset_lock"
                | "nuki_lock"
                | "salto_lock"
                | "schlage_lock"
                | "seam_relay"
                | "smartthings_lock"
                | "wyze_lock"
                | "yale_lock"
                | "two_n_intercom"
                | "controlbyweb_device"
                | "ttlock_lock"
                | "igloohome_lock"
                | "hubitat_lock"
                | "four_suites_door"
                | "dormakaba_oracode_door"
                | "tedee_lock"
                | "akiles_lock"
                | "noiseaware_activity_zone"
                | "minut_sensor"
                | "ecobee_thermostat"
                | "nest_thermostat"
                | "honeywell_resideo_thermostat"
                | "tado_thermostat"
                | "sensi_thermostat"
                | "smartthings_thermostat"
                | "ios_phone"
                | "android_phone";
            display_name: string;
            errors: (
                | {
                    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: "lockly_missing_wifi_bridge";
                    is_device_error: true;
                    message: string;
                }
                | {
                    created_at: string;
                    error_code: "invalid_credentials";
                    is_bridge_error?: (...) | (...) | (...);
                    is_connected_account_error?: (...) | (...) | (...);
                    message: string;
                }
                | {
                    created_at: string;
                    error_code: "bridge_disconnected";
                    is_bridge_error?: (...) | (...) | (...);
                    is_connected_account_error?: (...) | (...) | (...);
                    message: string;
                })[];
            is_managed: true;
            location: null | {
                location_name?: string;
                timezone?: string;
            };
            nickname?: string;
            properties: {
                accessory_keypad?: {
                    battery?: ...;
                    is_connected: ...;
                };
                appearance: {
                    name: string;
                };
                battery?: {
                    level: ...;
                    status: ...;
                };
                battery_level?: number;
                currently_triggering_noise_threshold_ids?: (...)[];
                has_direct_power?: boolean;
                image_alt_text?: string;
                image_url?: string;
                manufacturer?: string;
                model: {
                    accessory_keypad_supported?: (...) | (...) | (...);
                    can_connect_accessory_keypad?: (...) | (...) | (...);
                    display_name: string;
                    has_built_in_keypad?: (...) | (...) | (...);
                    manufacturer_display_name: string;
                    offline_access_codes_supported?: (...) | (...) | (...);
                    online_access_codes_supported?: (...) | (...) | (...);
                };
                name: string;
                noise_level_decibels?: number;
                offline_access_codes_enabled?: boolean;
                online: boolean;
                online_access_codes_enabled?: boolean;
                serial_number?: string;
                supports_accessory_keypad?: boolean;
                supports_offline_access_codes?: boolean;
            } & {
                assa_abloy_credential_service_metadata?: {
                    endpoints: ...;
                    has_active_endpoint: ...;
                };
                salto_space_credential_service_metadata?: {
                    has_active_phone: ...;
                };
            } & {
                akiles_metadata?: {
                    _member_group_id?: ...;
                    gadget_id: ...;
                    gadget_name: ...;
                    product_name: ...;
                };
                assa_abloy_vostio_metadata?: {
                    encoder_name: ...;
                };
                august_metadata?: {
                    has_keypad: ...;
                    house_id?: ...;
                    house_name: ...;
                    keypad_battery_level?: ...;
                    lock_id: ...;
                    lock_name: ...;
                    model?: ...;
                };
                avigilon_alta_metadata?: {
                    entry_name: ...;
                    entry_relays_total_count: ...;
                    org_name: ...;
                    site_id: ...;
                    site_name: ...;
                    zone_id: ...;
                    zone_name: ...;
                };
                brivo_metadata?: {
                    device_name: ...;
                };
                controlbyweb_metadata?: {
                    device_id: ...;
                    device_name: ...;
                    relay_name: ...;
                };
                dormakaba_oracode_metadata?: {
                    device_id?: ...;
                    door_id?: ...;
                    door_is_wireless: ...;
                    door_name: ...;
                    iana_timezone?: ...;
                    predefined_time_slots?: ...;
                    site_id: ...;
                    site_name: ...;
                };
                ecobee_metadata?: {
                    device_name: ...;
                    ecobee_device_id: ...;
                };
                four_suites_metadata?: {
                    device_id: ...;
                    device_name: ...;
                    reclose_delay_in_seconds: ...;
                };
                genie_metadata?: {
                    device_name: ...;
                    door_name: ...;
                };
                honeywell_resideo_metadata?: {
                    device_name: ...;
                    honeywell_resideo_device_id: ...;
                };
                hubitat_metadata?: {
                    device_id: ...;
                    device_label: ...;
                    device_name: ...;
                };
                igloo_metadata?: {
                    bridge_id: ...;
                    device_id: ...;
                    model?: ...;
                };
                igloohome_metadata?: {
                    bridge_id?: ...;
                    bridge_name?: ...;
                    device_id: ...;
                    device_name: ...;
                    keypad_id?: ...;
                };
                kwikset_metadata?: {
                    device_id: ...;
                    device_name: ...;
                    model_number: ...;
                };
                lockly_metadata?: {
                    device_id: ...;
                    device_name: ...;
                    model?: ...;
                };
                minut_metadata?: {
                    device_id: ...;
                    device_name: ...;
                    latest_sensor_values: ...;
                };
                nest_metadata?: {
                    device_custom_name: ...;
                    device_name: ...;
                    display_name?: ...;
                    nest_device_id: ...;
                };
                noiseaware_metadata?: {
                    device_id: ...;
                    device_model: ...;
                    device_name: ...;
                    noise_level_decibel: ...;
                    noise_level_nrs: ...;
                };
                nuki_metadata?: {
                    device_id: ...;
                    device_name: ...;
                    keypad_2_paired?: ...;
                    keypad_battery_critical?: ...;
                    keypad_paired?: ...;
                };
                salto_ks_metadata?: {
                    battery_level: ...;
                    customer_reference: ...;
                    lock_id: ...;
                    lock_type: ...;
                    locked_state: ...;
                    model?: ...;
                };
                salto_metadata?: {
                    battery_level: ...;
                    customer_reference: ...;
                    lock_id: ...;
                    lock_type: ...;
                    locked_state: ...;
                    model?: ...;
                };
                schlage_metadata?: {
                    device_id: ...;
                    device_name: ...;
                    model?: ...;
                };
                seam_bridge_metadata?: {
                    device_num: ...;
                    name: ...;
                    unlock_method?: ...;
                };
                sensi_metadata?: {
                    device_id: ...;
                    device_name: ...;
                    product_type: ...;
                };
                smartthings_metadata?: {
                    device_id: ...;
                    device_name: ...;
                    location_id?: ...;
                    model?: ...;
                };
                tado_metadata?: {
                    device_type: ...;
                    serial_no: ...;
                };
                tedee_metadata?: {
                    bridge_id: ...;
                    bridge_name: ...;
                    device_id: ...;
                    device_model: ...;
                    device_name: ...;
                    keypad_id?: ...;
                    serial_number: ...;
                };
                ttlock_metadata?: {
                    feature_value: ...;
                    features: ...;
                    has_gateway?: ...;
                    lock_alias: ...;
                    lock_id: ...;
                    wireless_keypads?: ...;
                };
                two_n_metadata?: {
                    device_id: ...;
                    device_name: ...;
                };
                visionline_metadata?: {
                    encoder_id: ...;
                };
                wyze_metadata?: {
                    device_id: ...;
                    device_info_model: ...;
                    device_name: ...;
                    keypad_uuid?: ...;
                    locker_status_hardlock?: ...;
                    product_model: ...;
                    product_name: ...;
                    product_type: ...;
                };
            } & {
                _experimental_supported_code_from_access_codes_lengths?: (...)[];
                code_constraints?: (...)[];
                door_open?: boolean;
                has_native_entry_events?: boolean;
                keypad_battery?: {
                    level: ...;
                };
                locked?: boolean;
                max_active_codes_supported?: number;
                supported_code_lengths?: (...)[];
                supports_backup_access_code_pool?: boolean;
            } & {
                active_thermostat_schedule?: null | {
                    climate_preset_key: ...;
                    created_at: ...;
                    device_id: ...;
                    ends_at: ...;
                    errors: ...;
                    is_override_allowed?: ...;
                    max_override_period_minutes?: ...;
                    name: ...;
                    starts_at: ...;
                    thermostat_schedule_id: ...;
                    workspace_id: ...;
                };
                available_climate_presets?: (...)[];
                available_fan_mode_settings?: (...)[];
                available_hvac_mode_settings?: (...)[];
                current_climate_setting?: {
                    can_delete?: ...;
                    can_edit?: ...;
                    can_program?: ...;
                    climate_preset_key?: ...;
                    cooling_set_point_celsius?: ...;
                    cooling_set_point_fahrenheit?: ...;
                    display_name?: ...;
                    fan_mode_setting?: ...;
                    heating_set_point_celsius?: ...;
                    heating_set_point_fahrenheit?: ...;
                    hvac_mode_setting?: ...;
                    manual_override_allowed?: ...;
                    name?: ...;
                };
                default_climate_setting?: {
                    can_delete?: ...;
                    can_edit?: ...;
                    can_program?: ...;
                    climate_preset_key?: ...;
                    cooling_set_point_celsius?: ...;
                    cooling_set_point_fahrenheit?: ...;
                    display_name?: ...;
                    fan_mode_setting?: ...;
                    heating_set_point_celsius?: ...;
                    heating_set_point_fahrenheit?: ...;
                    hvac_mode_setting?: ...;
                    manual_override_allowed?: ...;
                    name?: ...;
                };
                fallback_climate_preset_key?: null | string;
                fan_mode_setting?: "auto" | "on" | "circulate";
                is_cooling?: boolean;
                is_fan_running?: boolean;
                is_heating?: boolean;
                is_temporary_manual_override_active?: boolean;
                max_cooling_set_point_celsius?: number;
                max_cooling_set_point_fahrenheit?: number;
                max_heating_set_point_celsius?: number;
                max_heating_set_point_fahrenheit?: number;
                min_cooling_set_point_celsius?: number;
                min_cooling_set_point_fahrenheit?: number;
                min_heating_cooling_delta_celsius?: number;
                min_heating_cooling_delta_fahrenheit?: number;
                min_heating_set_point_celsius?: number;
                min_heating_set_point_fahrenheit?: number;
                relative_humidity?: number;
                temperature_celsius?: number;
                temperature_fahrenheit?: number;
                temperature_threshold?: {
                    lower_limit_celsius: ...;
                    lower_limit_fahrenheit: ...;
                    upper_limit_celsius: ...;
                    upper_limit_fahrenheit: ...;
                };
                thermostat_daily_programs?: (...)[];
                thermostat_weekly_program?: null | {
                    created_at: ...;
                    friday_program_id: ...;
                    monday_program_id: ...;
                    saturday_program_id: ...;
                    sunday_program_id: ...;
                    thursday_program_id: ...;
                    tuesday_program_id: ...;
                    wednesday_program_id: ...;
                };
            };
            warnings: (
                | {
                    created_at: string;
                    message: string;
                    warning_code: "partial_backup_access_code_pool";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "many_active_backup_codes";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "wyze_device_missing_gateway";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "functional_offline_device";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "third_party_integration_detected";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "nest_thermostat_in_manual_eco_mode";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "ttlock_lock_gateway_unlocking_not_enabled";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "ttlock_weak_gateway_signal";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "power_saving_mode";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "temperature_threshold_exceeded";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "device_communication_degraded";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "scheduled_maintenance_window";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "device_has_flaky_connection";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "salto_ks_office_mode";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "salto_ks_privacy_mode";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "salto_ks_subscription_limit_almost_reached";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "unknown_issue_with_phone";
                }
                | {
                    created_at: string;
                    message: string;
                    warning_code: "lockly_time_zone_not_configured";
                })[];
            workspace_id: string;
        }[];
    }>, "devices" | "noise_sensors">, "devices">)

      • (params?): SeamHttpRequest<SetNonNullable<Required<{
            devices: {
                can_hvac_cool?: boolean;
                can_hvac_heat?: boolean;
                can_hvac_heat_cool?: boolean;
                can_program_offline_access_codes?: boolean;
                can_program_online_access_codes?: boolean;
                can_remotely_lock?: boolean;
                can_remotely_unlock?: boolean;
                can_simulate_connection?: boolean;
                can_simulate_disconnection?: boolean;
                can_simulate_removal?: boolean;
                can_turn_off_hvac?: boolean;
                capabilities_supported: (
                    | "access_code"
                    | "lock"
                    | "phone"
                    | "thermostat"
                    | "noise_detection"
                    | "battery")[];
                connected_account_id: string;
                created_at: string;
                custom_metadata: Record<string, string | boolean>;
                device_id: string;
                device_type:
                    | "akuvox_lock"
                    | "august_lock"
                    | "brivo_access_point"
                    | "butterflymx_panel"
                    | "avigilon_alta_entry"
                    | "doorking_lock"
                    | "genie_door"
                    | "igloo_lock"
                    | "linear_lock"
                    | "lockly_lock"
                    | "kwikset_lock"
                    | "nuki_lock"
                    | "salto_lock"
                    | "schlage_lock"
                    | "seam_relay"
                    | "smartthings_lock"
                    | "wyze_lock"
                    | "yale_lock"
                    | "two_n_intercom"
                    | "controlbyweb_device"
                    | "ttlock_lock"
                    | "igloohome_lock"
                    | "hubitat_lock"
                    | "four_suites_door"
                    | "dormakaba_oracode_door"
                    | "tedee_lock"
                    | "akiles_lock"
                    | "noiseaware_activity_zone"
                    | "minut_sensor"
                    | "ecobee_thermostat"
                    | "nest_thermostat"
                    | "honeywell_resideo_thermostat"
                    | "tado_thermostat"
                    | "sensi_thermostat"
                    | "smartthings_thermostat"
                    | "ios_phone"
                    | "android_phone";
                display_name: string;
                errors: (
                    | {
                        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: "lockly_missing_wifi_bridge";
                        is_device_error: true;
                        message: string;
                    }
                    | {
                        created_at: string;
                        error_code: "invalid_credentials";
                        is_bridge_error?: (...) | (...) | (...);
                        is_connected_account_error?: (...) | (...) | (...);
                        message: string;
                    }
                    | {
                        created_at: string;
                        error_code: "bridge_disconnected";
                        is_bridge_error?: (...) | (...) | (...);
                        is_connected_account_error?: (...) | (...) | (...);
                        message: string;
                    })[];
                is_managed: true;
                location: null | {
                    location_name?: string;
                    timezone?: string;
                };
                nickname?: string;
                properties: {
                    accessory_keypad?: {
                        battery?: ...;
                        is_connected: ...;
                    };
                    appearance: {
                        name: string;
                    };
                    battery?: {
                        level: ...;
                        status: ...;
                    };
                    battery_level?: number;
                    currently_triggering_noise_threshold_ids?: (...)[];
                    has_direct_power?: boolean;
                    image_alt_text?: string;
                    image_url?: string;
                    manufacturer?: string;
                    model: {
                        accessory_keypad_supported?: (...) | (...) | (...);
                        can_connect_accessory_keypad?: (...) | (...) | (...);
                        display_name: string;
                        has_built_in_keypad?: (...) | (...) | (...);
                        manufacturer_display_name: string;
                        offline_access_codes_supported?: (...) | (...) | (...);
                        online_access_codes_supported?: (...) | (...) | (...);
                    };
                    name: string;
                    noise_level_decibels?: number;
                    offline_access_codes_enabled?: boolean;
                    online: boolean;
                    online_access_codes_enabled?: boolean;
                    serial_number?: string;
                    supports_accessory_keypad?: boolean;
                    supports_offline_access_codes?: boolean;
                } & {
                    assa_abloy_credential_service_metadata?: {
                        endpoints: ...;
                        has_active_endpoint: ...;
                    };
                    salto_space_credential_service_metadata?: {
                        has_active_phone: ...;
                    };
                } & {
                    akiles_metadata?: {
                        _member_group_id?: ...;
                        gadget_id: ...;
                        gadget_name: ...;
                        product_name: ...;
                    };
                    assa_abloy_vostio_metadata?: {
                        encoder_name: ...;
                    };
                    august_metadata?: {
                        has_keypad: ...;
                        house_id?: ...;
                        house_name: ...;
                        keypad_battery_level?: ...;
                        lock_id: ...;
                        lock_name: ...;
                        model?: ...;
                    };
                    avigilon_alta_metadata?: {
                        entry_name: ...;
                        entry_relays_total_count: ...;
                        org_name: ...;
                        site_id: ...;
                        site_name: ...;
                        zone_id: ...;
                        zone_name: ...;
                    };
                    brivo_metadata?: {
                        device_name: ...;
                    };
                    controlbyweb_metadata?: {
                        device_id: ...;
                        device_name: ...;
                        relay_name: ...;
                    };
                    dormakaba_oracode_metadata?: {
                        device_id?: ...;
                        door_id?: ...;
                        door_is_wireless: ...;
                        door_name: ...;
                        iana_timezone?: ...;
                        predefined_time_slots?: ...;
                        site_id: ...;
                        site_name: ...;
                    };
                    ecobee_metadata?: {
                        device_name: ...;
                        ecobee_device_id: ...;
                    };
                    four_suites_metadata?: {
                        device_id: ...;
                        device_name: ...;
                        reclose_delay_in_seconds: ...;
                    };
                    genie_metadata?: {
                        device_name: ...;
                        door_name: ...;
                    };
                    honeywell_resideo_metadata?: {
                        device_name: ...;
                        honeywell_resideo_device_id: ...;
                    };
                    hubitat_metadata?: {
                        device_id: ...;
                        device_label: ...;
                        device_name: ...;
                    };
                    igloo_metadata?: {
                        bridge_id: ...;
                        device_id: ...;
                        model?: ...;
                    };
                    igloohome_metadata?: {
                        bridge_id?: ...;
                        bridge_name?: ...;
                        device_id: ...;
                        device_name: ...;
                        keypad_id?: ...;
                    };
                    kwikset_metadata?: {
                        device_id: ...;
                        device_name: ...;
                        model_number: ...;
                    };
                    lockly_metadata?: {
                        device_id: ...;
                        device_name: ...;
                        model?: ...;
                    };
                    minut_metadata?: {
                        device_id: ...;
                        device_name: ...;
                        latest_sensor_values: ...;
                    };
                    nest_metadata?: {
                        device_custom_name: ...;
                        device_name: ...;
                        display_name?: ...;
                        nest_device_id: ...;
                    };
                    noiseaware_metadata?: {
                        device_id: ...;
                        device_model: ...;
                        device_name: ...;
                        noise_level_decibel: ...;
                        noise_level_nrs: ...;
                    };
                    nuki_metadata?: {
                        device_id: ...;
                        device_name: ...;
                        keypad_2_paired?: ...;
                        keypad_battery_critical?: ...;
                        keypad_paired?: ...;
                    };
                    salto_ks_metadata?: {
                        battery_level: ...;
                        customer_reference: ...;
                        lock_id: ...;
                        lock_type: ...;
                        locked_state: ...;
                        model?: ...;
                    };
                    salto_metadata?: {
                        battery_level: ...;
                        customer_reference: ...;
                        lock_id: ...;
                        lock_type: ...;
                        locked_state: ...;
                        model?: ...;
                    };
                    schlage_metadata?: {
                        device_id: ...;
                        device_name: ...;
                        model?: ...;
                    };
                    seam_bridge_metadata?: {
                        device_num: ...;
                        name: ...;
                        unlock_method?: ...;
                    };
                    sensi_metadata?: {
                        device_id: ...;
                        device_name: ...;
                        product_type: ...;
                    };
                    smartthings_metadata?: {
                        device_id: ...;
                        device_name: ...;
                        location_id?: ...;
                        model?: ...;
                    };
                    tado_metadata?: {
                        device_type: ...;
                        serial_no: ...;
                    };
                    tedee_metadata?: {
                        bridge_id: ...;
                        bridge_name: ...;
                        device_id: ...;
                        device_model: ...;
                        device_name: ...;
                        keypad_id?: ...;
                        serial_number: ...;
                    };
                    ttlock_metadata?: {
                        feature_value: ...;
                        features: ...;
                        has_gateway?: ...;
                        lock_alias: ...;
                        lock_id: ...;
                        wireless_keypads?: ...;
                    };
                    two_n_metadata?: {
                        device_id: ...;
                        device_name: ...;
                    };
                    visionline_metadata?: {
                        encoder_id: ...;
                    };
                    wyze_metadata?: {
                        device_id: ...;
                        device_info_model: ...;
                        device_name: ...;
                        keypad_uuid?: ...;
                        locker_status_hardlock?: ...;
                        product_model: ...;
                        product_name: ...;
                        product_type: ...;
                    };
                } & {
                    _experimental_supported_code_from_access_codes_lengths?: (...)[];
                    code_constraints?: (...)[];
                    door_open?: boolean;
                    has_native_entry_events?: boolean;
                    keypad_battery?: {
                        level: ...;
                    };
                    locked?: boolean;
                    max_active_codes_supported?: number;
                    supported_code_lengths?: (...)[];
                    supports_backup_access_code_pool?: boolean;
                } & {
                    active_thermostat_schedule?: null | {
                        climate_preset_key: ...;
                        created_at: ...;
                        device_id: ...;
                        ends_at: ...;
                        errors: ...;
                        is_override_allowed?: ...;
                        max_override_period_minutes?: ...;
                        name: ...;
                        starts_at: ...;
                        thermostat_schedule_id: ...;
                        workspace_id: ...;
                    };
                    available_climate_presets?: (...)[];
                    available_fan_mode_settings?: (...)[];
                    available_hvac_mode_settings?: (...)[];
                    current_climate_setting?: {
                        can_delete?: ...;
                        can_edit?: ...;
                        can_program?: ...;
                        climate_preset_key?: ...;
                        cooling_set_point_celsius?: ...;
                        cooling_set_point_fahrenheit?: ...;
                        display_name?: ...;
                        fan_mode_setting?: ...;
                        heating_set_point_celsius?: ...;
                        heating_set_point_fahrenheit?: ...;
                        hvac_mode_setting?: ...;
                        manual_override_allowed?: ...;
                        name?: ...;
                    };
                    default_climate_setting?: {
                        can_delete?: ...;
                        can_edit?: ...;
                        can_program?: ...;
                        climate_preset_key?: ...;
                        cooling_set_point_celsius?: ...;
                        cooling_set_point_fahrenheit?: ...;
                        display_name?: ...;
                        fan_mode_setting?: ...;
                        heating_set_point_celsius?: ...;
                        heating_set_point_fahrenheit?: ...;
                        hvac_mode_setting?: ...;
                        manual_override_allowed?: ...;
                        name?: ...;
                    };
                    fallback_climate_preset_key?: null | string;
                    fan_mode_setting?: "auto" | "on" | "circulate";
                    is_cooling?: boolean;
                    is_fan_running?: boolean;
                    is_heating?: boolean;
                    is_temporary_manual_override_active?: boolean;
                    max_cooling_set_point_celsius?: number;
                    max_cooling_set_point_fahrenheit?: number;
                    max_heating_set_point_celsius?: number;
                    max_heating_set_point_fahrenheit?: number;
                    min_cooling_set_point_celsius?: number;
                    min_cooling_set_point_fahrenheit?: number;
                    min_heating_cooling_delta_celsius?: number;
                    min_heating_cooling_delta_fahrenheit?: number;
                    min_heating_set_point_celsius?: number;
                    min_heating_set_point_fahrenheit?: number;
                    relative_humidity?: number;
                    temperature_celsius?: number;
                    temperature_fahrenheit?: number;
                    temperature_threshold?: {
                        lower_limit_celsius: ...;
                        lower_limit_fahrenheit: ...;
                        upper_limit_celsius: ...;
                        upper_limit_fahrenheit: ...;
                    };
                    thermostat_daily_programs?: (...)[];
                    thermostat_weekly_program?: null | {
                        created_at: ...;
                        friday_program_id: ...;
                        monday_program_id: ...;
                        saturday_program_id: ...;
                        sunday_program_id: ...;
                        thursday_program_id: ...;
                        tuesday_program_id: ...;
                        wednesday_program_id: ...;
                    };
                };
                warnings: (
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "partial_backup_access_code_pool";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "many_active_backup_codes";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "wyze_device_missing_gateway";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "functional_offline_device";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "third_party_integration_detected";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "nest_thermostat_in_manual_eco_mode";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "ttlock_lock_gateway_unlocking_not_enabled";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "ttlock_weak_gateway_signal";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "power_saving_mode";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "temperature_threshold_exceeded";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "device_communication_degraded";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "scheduled_maintenance_window";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "device_has_flaky_connection";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "salto_ks_office_mode";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "salto_ks_privacy_mode";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "salto_ks_subscription_limit_almost_reached";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "unknown_issue_with_phone";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "lockly_time_zone_not_configured";
                    })[];
                workspace_id: string;
            }[];
            noise_sensors: {
                can_hvac_cool?: boolean;
                can_hvac_heat?: boolean;
                can_hvac_heat_cool?: boolean;
                can_program_offline_access_codes?: boolean;
                can_program_online_access_codes?: boolean;
                can_remotely_lock?: boolean;
                can_remotely_unlock?: boolean;
                can_simulate_connection?: boolean;
                can_simulate_disconnection?: boolean;
                can_simulate_removal?: boolean;
                can_turn_off_hvac?: boolean;
                capabilities_supported: (
                    | "access_code"
                    | "lock"
                    | "phone"
                    | "thermostat"
                    | "noise_detection"
                    | "battery")[];
                connected_account_id: string;
                created_at: string;
                custom_metadata: Record<string, string | boolean>;
                device_id: string;
                device_type:
                    | "akuvox_lock"
                    | "august_lock"
                    | "brivo_access_point"
                    | "butterflymx_panel"
                    | "avigilon_alta_entry"
                    | "doorking_lock"
                    | "genie_door"
                    | "igloo_lock"
                    | "linear_lock"
                    | "lockly_lock"
                    | "kwikset_lock"
                    | "nuki_lock"
                    | "salto_lock"
                    | "schlage_lock"
                    | "seam_relay"
                    | "smartthings_lock"
                    | "wyze_lock"
                    | "yale_lock"
                    | "two_n_intercom"
                    | "controlbyweb_device"
                    | "ttlock_lock"
                    | "igloohome_lock"
                    | "hubitat_lock"
                    | "four_suites_door"
                    | "dormakaba_oracode_door"
                    | "tedee_lock"
                    | "akiles_lock"
                    | "noiseaware_activity_zone"
                    | "minut_sensor"
                    | "ecobee_thermostat"
                    | "nest_thermostat"
                    | "honeywell_resideo_thermostat"
                    | "tado_thermostat"
                    | "sensi_thermostat"
                    | "smartthings_thermostat"
                    | "ios_phone"
                    | "android_phone";
                display_name: string;
                errors: (
                    | {
                        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: "lockly_missing_wifi_bridge";
                        is_device_error: true;
                        message: string;
                    }
                    | {
                        created_at: string;
                        error_code: "invalid_credentials";
                        is_bridge_error?: (...) | (...) | (...);
                        is_connected_account_error?: (...) | (...) | (...);
                        message: string;
                    }
                    | {
                        created_at: string;
                        error_code: "bridge_disconnected";
                        is_bridge_error?: (...) | (...) | (...);
                        is_connected_account_error?: (...) | (...) | (...);
                        message: string;
                    })[];
                is_managed: true;
                location: null | {
                    location_name?: string;
                    timezone?: string;
                };
                nickname?: string;
                properties: {
                    accessory_keypad?: {
                        battery?: ...;
                        is_connected: ...;
                    };
                    appearance: {
                        name: string;
                    };
                    battery?: {
                        level: ...;
                        status: ...;
                    };
                    battery_level?: number;
                    currently_triggering_noise_threshold_ids?: (...)[];
                    has_direct_power?: boolean;
                    image_alt_text?: string;
                    image_url?: string;
                    manufacturer?: string;
                    model: {
                        accessory_keypad_supported?: (...) | (...) | (...);
                        can_connect_accessory_keypad?: (...) | (...) | (...);
                        display_name: string;
                        has_built_in_keypad?: (...) | (...) | (...);
                        manufacturer_display_name: string;
                        offline_access_codes_supported?: (...) | (...) | (...);
                        online_access_codes_supported?: (...) | (...) | (...);
                    };
                    name: string;
                    noise_level_decibels?: number;
                    offline_access_codes_enabled?: boolean;
                    online: boolean;
                    online_access_codes_enabled?: boolean;
                    serial_number?: string;
                    supports_accessory_keypad?: boolean;
                    supports_offline_access_codes?: boolean;
                } & {
                    assa_abloy_credential_service_metadata?: {
                        endpoints: ...;
                        has_active_endpoint: ...;
                    };
                    salto_space_credential_service_metadata?: {
                        has_active_phone: ...;
                    };
                } & {
                    akiles_metadata?: {
                        _member_group_id?: ...;
                        gadget_id: ...;
                        gadget_name: ...;
                        product_name: ...;
                    };
                    assa_abloy_vostio_metadata?: {
                        encoder_name: ...;
                    };
                    august_metadata?: {
                        has_keypad: ...;
                        house_id?: ...;
                        house_name: ...;
                        keypad_battery_level?: ...;
                        lock_id: ...;
                        lock_name: ...;
                        model?: ...;
                    };
                    avigilon_alta_metadata?: {
                        entry_name: ...;
                        entry_relays_total_count: ...;
                        org_name: ...;
                        site_id: ...;
                        site_name: ...;
                        zone_id: ...;
                        zone_name: ...;
                    };
                    brivo_metadata?: {
                        device_name: ...;
                    };
                    controlbyweb_metadata?: {
                        device_id: ...;
                        device_name: ...;
                        relay_name: ...;
                    };
                    dormakaba_oracode_metadata?: {
                        device_id?: ...;
                        door_id?: ...;
                        door_is_wireless: ...;
                        door_name: ...;
                        iana_timezone?: ...;
                        predefined_time_slots?: ...;
                        site_id: ...;
                        site_name: ...;
                    };
                    ecobee_metadata?: {
                        device_name: ...;
                        ecobee_device_id: ...;
                    };
                    four_suites_metadata?: {
                        device_id: ...;
                        device_name: ...;
                        reclose_delay_in_seconds: ...;
                    };
                    genie_metadata?: {
                        device_name: ...;
                        door_name: ...;
                    };
                    honeywell_resideo_metadata?: {
                        device_name: ...;
                        honeywell_resideo_device_id: ...;
                    };
                    hubitat_metadata?: {
                        device_id: ...;
                        device_label: ...;
                        device_name: ...;
                    };
                    igloo_metadata?: {
                        bridge_id: ...;
                        device_id: ...;
                        model?: ...;
                    };
                    igloohome_metadata?: {
                        bridge_id?: ...;
                        bridge_name?: ...;
                        device_id: ...;
                        device_name: ...;
                        keypad_id?: ...;
                    };
                    kwikset_metadata?: {
                        device_id: ...;
                        device_name: ...;
                        model_number: ...;
                    };
                    lockly_metadata?: {
                        device_id: ...;
                        device_name: ...;
                        model?: ...;
                    };
                    minut_metadata?: {
                        device_id: ...;
                        device_name: ...;
                        latest_sensor_values: ...;
                    };
                    nest_metadata?: {
                        device_custom_name: ...;
                        device_name: ...;
                        display_name?: ...;
                        nest_device_id: ...;
                    };
                    noiseaware_metadata?: {
                        device_id: ...;
                        device_model: ...;
                        device_name: ...;
                        noise_level_decibel: ...;
                        noise_level_nrs: ...;
                    };
                    nuki_metadata?: {
                        device_id: ...;
                        device_name: ...;
                        keypad_2_paired?: ...;
                        keypad_battery_critical?: ...;
                        keypad_paired?: ...;
                    };
                    salto_ks_metadata?: {
                        battery_level: ...;
                        customer_reference: ...;
                        lock_id: ...;
                        lock_type: ...;
                        locked_state: ...;
                        model?: ...;
                    };
                    salto_metadata?: {
                        battery_level: ...;
                        customer_reference: ...;
                        lock_id: ...;
                        lock_type: ...;
                        locked_state: ...;
                        model?: ...;
                    };
                    schlage_metadata?: {
                        device_id: ...;
                        device_name: ...;
                        model?: ...;
                    };
                    seam_bridge_metadata?: {
                        device_num: ...;
                        name: ...;
                        unlock_method?: ...;
                    };
                    sensi_metadata?: {
                        device_id: ...;
                        device_name: ...;
                        product_type: ...;
                    };
                    smartthings_metadata?: {
                        device_id: ...;
                        device_name: ...;
                        location_id?: ...;
                        model?: ...;
                    };
                    tado_metadata?: {
                        device_type: ...;
                        serial_no: ...;
                    };
                    tedee_metadata?: {
                        bridge_id: ...;
                        bridge_name: ...;
                        device_id: ...;
                        device_model: ...;
                        device_name: ...;
                        keypad_id?: ...;
                        serial_number: ...;
                    };
                    ttlock_metadata?: {
                        feature_value: ...;
                        features: ...;
                        has_gateway?: ...;
                        lock_alias: ...;
                        lock_id: ...;
                        wireless_keypads?: ...;
                    };
                    two_n_metadata?: {
                        device_id: ...;
                        device_name: ...;
                    };
                    visionline_metadata?: {
                        encoder_id: ...;
                    };
                    wyze_metadata?: {
                        device_id: ...;
                        device_info_model: ...;
                        device_name: ...;
                        keypad_uuid?: ...;
                        locker_status_hardlock?: ...;
                        product_model: ...;
                        product_name: ...;
                        product_type: ...;
                    };
                } & {
                    _experimental_supported_code_from_access_codes_lengths?: (...)[];
                    code_constraints?: (...)[];
                    door_open?: boolean;
                    has_native_entry_events?: boolean;
                    keypad_battery?: {
                        level: ...;
                    };
                    locked?: boolean;
                    max_active_codes_supported?: number;
                    supported_code_lengths?: (...)[];
                    supports_backup_access_code_pool?: boolean;
                } & {
                    active_thermostat_schedule?: null | {
                        climate_preset_key: ...;
                        created_at: ...;
                        device_id: ...;
                        ends_at: ...;
                        errors: ...;
                        is_override_allowed?: ...;
                        max_override_period_minutes?: ...;
                        name: ...;
                        starts_at: ...;
                        thermostat_schedule_id: ...;
                        workspace_id: ...;
                    };
                    available_climate_presets?: (...)[];
                    available_fan_mode_settings?: (...)[];
                    available_hvac_mode_settings?: (...)[];
                    current_climate_setting?: {
                        can_delete?: ...;
                        can_edit?: ...;
                        can_program?: ...;
                        climate_preset_key?: ...;
                        cooling_set_point_celsius?: ...;
                        cooling_set_point_fahrenheit?: ...;
                        display_name?: ...;
                        fan_mode_setting?: ...;
                        heating_set_point_celsius?: ...;
                        heating_set_point_fahrenheit?: ...;
                        hvac_mode_setting?: ...;
                        manual_override_allowed?: ...;
                        name?: ...;
                    };
                    default_climate_setting?: {
                        can_delete?: ...;
                        can_edit?: ...;
                        can_program?: ...;
                        climate_preset_key?: ...;
                        cooling_set_point_celsius?: ...;
                        cooling_set_point_fahrenheit?: ...;
                        display_name?: ...;
                        fan_mode_setting?: ...;
                        heating_set_point_celsius?: ...;
                        heating_set_point_fahrenheit?: ...;
                        hvac_mode_setting?: ...;
                        manual_override_allowed?: ...;
                        name?: ...;
                    };
                    fallback_climate_preset_key?: null | string;
                    fan_mode_setting?: "auto" | "on" | "circulate";
                    is_cooling?: boolean;
                    is_fan_running?: boolean;
                    is_heating?: boolean;
                    is_temporary_manual_override_active?: boolean;
                    max_cooling_set_point_celsius?: number;
                    max_cooling_set_point_fahrenheit?: number;
                    max_heating_set_point_celsius?: number;
                    max_heating_set_point_fahrenheit?: number;
                    min_cooling_set_point_celsius?: number;
                    min_cooling_set_point_fahrenheit?: number;
                    min_heating_cooling_delta_celsius?: number;
                    min_heating_cooling_delta_fahrenheit?: number;
                    min_heating_set_point_celsius?: number;
                    min_heating_set_point_fahrenheit?: number;
                    relative_humidity?: number;
                    temperature_celsius?: number;
                    temperature_fahrenheit?: number;
                    temperature_threshold?: {
                        lower_limit_celsius: ...;
                        lower_limit_fahrenheit: ...;
                        upper_limit_celsius: ...;
                        upper_limit_fahrenheit: ...;
                    };
                    thermostat_daily_programs?: (...)[];
                    thermostat_weekly_program?: null | {
                        created_at: ...;
                        friday_program_id: ...;
                        monday_program_id: ...;
                        saturday_program_id: ...;
                        sunday_program_id: ...;
                        thursday_program_id: ...;
                        tuesday_program_id: ...;
                        wednesday_program_id: ...;
                    };
                };
                warnings: (
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "partial_backup_access_code_pool";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "many_active_backup_codes";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "wyze_device_missing_gateway";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "functional_offline_device";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "third_party_integration_detected";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "nest_thermostat_in_manual_eco_mode";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "ttlock_lock_gateway_unlocking_not_enabled";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "ttlock_weak_gateway_signal";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "power_saving_mode";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "temperature_threshold_exceeded";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "device_communication_degraded";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "scheduled_maintenance_window";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "device_has_flaky_connection";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "salto_ks_office_mode";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "salto_ks_privacy_mode";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "salto_ks_subscription_limit_almost_reached";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "unknown_issue_with_phone";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "lockly_time_zone_not_configured";
                    })[];
                workspace_id: string;
            }[];
        }>, "devices" | "noise_sensors">, "devices">
      • Parameters

        • Optionalparams: {
              connect_webview_id?: string;
              connected_account_id?: string;
              connected_account_ids?: string[];
              created_before?: Date;
              custom_metadata_has?: Record<string, string | boolean>;
              customer_ids?: string[];
              device_ids?: string[];
              device_type?: "noiseaware_activity_zone" | "minut_sensor";
              device_types?: ("noiseaware_activity_zone" | "minut_sensor")[];
              exclude_if?: (
                  | "can_remotely_unlock"
                  | "can_remotely_lock"
                  | "can_program_offline_access_codes"
                  | "can_program_online_access_codes"
                  | "can_hvac_heat"
                  | "can_hvac_cool"
                  | "can_hvac_heat_cool"
                  | "can_turn_off_hvac"
                  | "can_simulate_removal"
                  | "can_simulate_connection"
                  | "can_simulate_disconnection")[];
              include_if?: (
                  | "can_remotely_unlock"
                  | "can_remotely_lock"
                  | "can_program_offline_access_codes"
                  | "can_program_online_access_codes"
                  | "can_hvac_heat"
                  | "can_hvac_cool"
                  | "can_hvac_heat_cool"
                  | "can_turn_off_hvac"
                  | "can_simulate_removal"
                  | "can_simulate_connection"
                  | "can_simulate_disconnection")[];
              limit?: number;
              manufacturer?: "noiseaware" | "minut";
              page_cursor?: null | string;
              space_id?: string;
              unstable_location_id?: null | string;
              user_identifier_key?: string;
          }
          • Optionalconnect_webview_id?: string

            ID of the Connect Webview for which you want to list devices.

          • Optionalconnected_account_id?: string

            ID of the connected account for which you want to list devices.

          • Optionalconnected_account_ids?: string[]

            Array of IDs of the connected accounts for which you want to list devices.

          • Optionalcreated_before?: Date

            Timestamp by which to limit returned devices. Returns devices created before this timestamp.

          • Optionalcustom_metadata_has?: Record<string, string | boolean>

            Set of key:value custom metadata pairs for which you want to list devices.

          • Optionalcustomer_ids?: string[]
          • Optionaldevice_ids?: string[]

            Array of device IDs for which you want to list devices.

          • Optionaldevice_type?: "noiseaware_activity_zone" | "minut_sensor"

            Device type of the noise sensors that you want to list.

          • Optionaldevice_types?: ("noiseaware_activity_zone" | "minut_sensor")[]

            Device types of the noise sensors that you want to list.

          • Optionalexclude_if?: (
                | "can_remotely_unlock"
                | "can_remotely_lock"
                | "can_program_offline_access_codes"
                | "can_program_online_access_codes"
                | "can_hvac_heat"
                | "can_hvac_cool"
                | "can_hvac_heat_cool"
                | "can_turn_off_hvac"
                | "can_simulate_removal"
                | "can_simulate_connection"
                | "can_simulate_disconnection")[]
          • Optionalinclude_if?: (
                | "can_remotely_unlock"
                | "can_remotely_lock"
                | "can_program_offline_access_codes"
                | "can_program_online_access_codes"
                | "can_hvac_heat"
                | "can_hvac_cool"
                | "can_hvac_heat_cool"
                | "can_turn_off_hvac"
                | "can_simulate_removal"
                | "can_simulate_connection"
                | "can_simulate_disconnection")[]
          • Optionallimit?: number

            Numerical limit on the number of devices to return.

          • Optionalmanufacturer?: "noiseaware" | "minut"

            Manufacturers of the noise sensors that you want to list.

          • Optionalpage_cursor?: null | string

            Identifies the specific page of results to return, obtained from the previous page's next_page_cursor.

          • Optionalspace_id?: string

            ID of the space for which you want to list devices.

          • Optionalunstable_location_id?: null | string

            Use space_id.

          • Optionaluser_identifier_key?: string

            Your own internal user ID for the user for which you want to list devices.

        Returns SeamHttpRequest<SetNonNullable<Required<{
            devices: {
                can_hvac_cool?: boolean;
                can_hvac_heat?: boolean;
                can_hvac_heat_cool?: boolean;
                can_program_offline_access_codes?: boolean;
                can_program_online_access_codes?: boolean;
                can_remotely_lock?: boolean;
                can_remotely_unlock?: boolean;
                can_simulate_connection?: boolean;
                can_simulate_disconnection?: boolean;
                can_simulate_removal?: boolean;
                can_turn_off_hvac?: boolean;
                capabilities_supported: (
                    | "access_code"
                    | "lock"
                    | "phone"
                    | "thermostat"
                    | "noise_detection"
                    | "battery")[];
                connected_account_id: string;
                created_at: string;
                custom_metadata: Record<string, string | boolean>;
                device_id: string;
                device_type:
                    | "akuvox_lock"
                    | "august_lock"
                    | "brivo_access_point"
                    | "butterflymx_panel"
                    | "avigilon_alta_entry"
                    | "doorking_lock"
                    | "genie_door"
                    | "igloo_lock"
                    | "linear_lock"
                    | "lockly_lock"
                    | "kwikset_lock"
                    | "nuki_lock"
                    | "salto_lock"
                    | "schlage_lock"
                    | "seam_relay"
                    | "smartthings_lock"
                    | "wyze_lock"
                    | "yale_lock"
                    | "two_n_intercom"
                    | "controlbyweb_device"
                    | "ttlock_lock"
                    | "igloohome_lock"
                    | "hubitat_lock"
                    | "four_suites_door"
                    | "dormakaba_oracode_door"
                    | "tedee_lock"
                    | "akiles_lock"
                    | "noiseaware_activity_zone"
                    | "minut_sensor"
                    | "ecobee_thermostat"
                    | "nest_thermostat"
                    | "honeywell_resideo_thermostat"
                    | "tado_thermostat"
                    | "sensi_thermostat"
                    | "smartthings_thermostat"
                    | "ios_phone"
                    | "android_phone";
                display_name: string;
                errors: (
                    | {
                        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: "lockly_missing_wifi_bridge";
                        is_device_error: true;
                        message: string;
                    }
                    | {
                        created_at: string;
                        error_code: "invalid_credentials";
                        is_bridge_error?: (...) | (...) | (...);
                        is_connected_account_error?: (...) | (...) | (...);
                        message: string;
                    }
                    | {
                        created_at: string;
                        error_code: "bridge_disconnected";
                        is_bridge_error?: (...) | (...) | (...);
                        is_connected_account_error?: (...) | (...) | (...);
                        message: string;
                    })[];
                is_managed: true;
                location: null | {
                    location_name?: string;
                    timezone?: string;
                };
                nickname?: string;
                properties: {
                    accessory_keypad?: {
                        battery?: ...;
                        is_connected: ...;
                    };
                    appearance: {
                        name: string;
                    };
                    battery?: {
                        level: ...;
                        status: ...;
                    };
                    battery_level?: number;
                    currently_triggering_noise_threshold_ids?: (...)[];
                    has_direct_power?: boolean;
                    image_alt_text?: string;
                    image_url?: string;
                    manufacturer?: string;
                    model: {
                        accessory_keypad_supported?: (...) | (...) | (...);
                        can_connect_accessory_keypad?: (...) | (...) | (...);
                        display_name: string;
                        has_built_in_keypad?: (...) | (...) | (...);
                        manufacturer_display_name: string;
                        offline_access_codes_supported?: (...) | (...) | (...);
                        online_access_codes_supported?: (...) | (...) | (...);
                    };
                    name: string;
                    noise_level_decibels?: number;
                    offline_access_codes_enabled?: boolean;
                    online: boolean;
                    online_access_codes_enabled?: boolean;
                    serial_number?: string;
                    supports_accessory_keypad?: boolean;
                    supports_offline_access_codes?: boolean;
                } & {
                    assa_abloy_credential_service_metadata?: {
                        endpoints: ...;
                        has_active_endpoint: ...;
                    };
                    salto_space_credential_service_metadata?: {
                        has_active_phone: ...;
                    };
                } & {
                    akiles_metadata?: {
                        _member_group_id?: ...;
                        gadget_id: ...;
                        gadget_name: ...;
                        product_name: ...;
                    };
                    assa_abloy_vostio_metadata?: {
                        encoder_name: ...;
                    };
                    august_metadata?: {
                        has_keypad: ...;
                        house_id?: ...;
                        house_name: ...;
                        keypad_battery_level?: ...;
                        lock_id: ...;
                        lock_name: ...;
                        model?: ...;
                    };
                    avigilon_alta_metadata?: {
                        entry_name: ...;
                        entry_relays_total_count: ...;
                        org_name: ...;
                        site_id: ...;
                        site_name: ...;
                        zone_id: ...;
                        zone_name: ...;
                    };
                    brivo_metadata?: {
                        device_name: ...;
                    };
                    controlbyweb_metadata?: {
                        device_id: ...;
                        device_name: ...;
                        relay_name: ...;
                    };
                    dormakaba_oracode_metadata?: {
                        device_id?: ...;
                        door_id?: ...;
                        door_is_wireless: ...;
                        door_name: ...;
                        iana_timezone?: ...;
                        predefined_time_slots?: ...;
                        site_id: ...;
                        site_name: ...;
                    };
                    ecobee_metadata?: {
                        device_name: ...;
                        ecobee_device_id: ...;
                    };
                    four_suites_metadata?: {
                        device_id: ...;
                        device_name: ...;
                        reclose_delay_in_seconds: ...;
                    };
                    genie_metadata?: {
                        device_name: ...;
                        door_name: ...;
                    };
                    honeywell_resideo_metadata?: {
                        device_name: ...;
                        honeywell_resideo_device_id: ...;
                    };
                    hubitat_metadata?: {
                        device_id: ...;
                        device_label: ...;
                        device_name: ...;
                    };
                    igloo_metadata?: {
                        bridge_id: ...;
                        device_id: ...;
                        model?: ...;
                    };
                    igloohome_metadata?: {
                        bridge_id?: ...;
                        bridge_name?: ...;
                        device_id: ...;
                        device_name: ...;
                        keypad_id?: ...;
                    };
                    kwikset_metadata?: {
                        device_id: ...;
                        device_name: ...;
                        model_number: ...;
                    };
                    lockly_metadata?: {
                        device_id: ...;
                        device_name: ...;
                        model?: ...;
                    };
                    minut_metadata?: {
                        device_id: ...;
                        device_name: ...;
                        latest_sensor_values: ...;
                    };
                    nest_metadata?: {
                        device_custom_name: ...;
                        device_name: ...;
                        display_name?: ...;
                        nest_device_id: ...;
                    };
                    noiseaware_metadata?: {
                        device_id: ...;
                        device_model: ...;
                        device_name: ...;
                        noise_level_decibel: ...;
                        noise_level_nrs: ...;
                    };
                    nuki_metadata?: {
                        device_id: ...;
                        device_name: ...;
                        keypad_2_paired?: ...;
                        keypad_battery_critical?: ...;
                        keypad_paired?: ...;
                    };
                    salto_ks_metadata?: {
                        battery_level: ...;
                        customer_reference: ...;
                        lock_id: ...;
                        lock_type: ...;
                        locked_state: ...;
                        model?: ...;
                    };
                    salto_metadata?: {
                        battery_level: ...;
                        customer_reference: ...;
                        lock_id: ...;
                        lock_type: ...;
                        locked_state: ...;
                        model?: ...;
                    };
                    schlage_metadata?: {
                        device_id: ...;
                        device_name: ...;
                        model?: ...;
                    };
                    seam_bridge_metadata?: {
                        device_num: ...;
                        name: ...;
                        unlock_method?: ...;
                    };
                    sensi_metadata?: {
                        device_id: ...;
                        device_name: ...;
                        product_type: ...;
                    };
                    smartthings_metadata?: {
                        device_id: ...;
                        device_name: ...;
                        location_id?: ...;
                        model?: ...;
                    };
                    tado_metadata?: {
                        device_type: ...;
                        serial_no: ...;
                    };
                    tedee_metadata?: {
                        bridge_id: ...;
                        bridge_name: ...;
                        device_id: ...;
                        device_model: ...;
                        device_name: ...;
                        keypad_id?: ...;
                        serial_number: ...;
                    };
                    ttlock_metadata?: {
                        feature_value: ...;
                        features: ...;
                        has_gateway?: ...;
                        lock_alias: ...;
                        lock_id: ...;
                        wireless_keypads?: ...;
                    };
                    two_n_metadata?: {
                        device_id: ...;
                        device_name: ...;
                    };
                    visionline_metadata?: {
                        encoder_id: ...;
                    };
                    wyze_metadata?: {
                        device_id: ...;
                        device_info_model: ...;
                        device_name: ...;
                        keypad_uuid?: ...;
                        locker_status_hardlock?: ...;
                        product_model: ...;
                        product_name: ...;
                        product_type: ...;
                    };
                } & {
                    _experimental_supported_code_from_access_codes_lengths?: (...)[];
                    code_constraints?: (...)[];
                    door_open?: boolean;
                    has_native_entry_events?: boolean;
                    keypad_battery?: {
                        level: ...;
                    };
                    locked?: boolean;
                    max_active_codes_supported?: number;
                    supported_code_lengths?: (...)[];
                    supports_backup_access_code_pool?: boolean;
                } & {
                    active_thermostat_schedule?: null | {
                        climate_preset_key: ...;
                        created_at: ...;
                        device_id: ...;
                        ends_at: ...;
                        errors: ...;
                        is_override_allowed?: ...;
                        max_override_period_minutes?: ...;
                        name: ...;
                        starts_at: ...;
                        thermostat_schedule_id: ...;
                        workspace_id: ...;
                    };
                    available_climate_presets?: (...)[];
                    available_fan_mode_settings?: (...)[];
                    available_hvac_mode_settings?: (...)[];
                    current_climate_setting?: {
                        can_delete?: ...;
                        can_edit?: ...;
                        can_program?: ...;
                        climate_preset_key?: ...;
                        cooling_set_point_celsius?: ...;
                        cooling_set_point_fahrenheit?: ...;
                        display_name?: ...;
                        fan_mode_setting?: ...;
                        heating_set_point_celsius?: ...;
                        heating_set_point_fahrenheit?: ...;
                        hvac_mode_setting?: ...;
                        manual_override_allowed?: ...;
                        name?: ...;
                    };
                    default_climate_setting?: {
                        can_delete?: ...;
                        can_edit?: ...;
                        can_program?: ...;
                        climate_preset_key?: ...;
                        cooling_set_point_celsius?: ...;
                        cooling_set_point_fahrenheit?: ...;
                        display_name?: ...;
                        fan_mode_setting?: ...;
                        heating_set_point_celsius?: ...;
                        heating_set_point_fahrenheit?: ...;
                        hvac_mode_setting?: ...;
                        manual_override_allowed?: ...;
                        name?: ...;
                    };
                    fallback_climate_preset_key?: null | string;
                    fan_mode_setting?: "auto" | "on" | "circulate";
                    is_cooling?: boolean;
                    is_fan_running?: boolean;
                    is_heating?: boolean;
                    is_temporary_manual_override_active?: boolean;
                    max_cooling_set_point_celsius?: number;
                    max_cooling_set_point_fahrenheit?: number;
                    max_heating_set_point_celsius?: number;
                    max_heating_set_point_fahrenheit?: number;
                    min_cooling_set_point_celsius?: number;
                    min_cooling_set_point_fahrenheit?: number;
                    min_heating_cooling_delta_celsius?: number;
                    min_heating_cooling_delta_fahrenheit?: number;
                    min_heating_set_point_celsius?: number;
                    min_heating_set_point_fahrenheit?: number;
                    relative_humidity?: number;
                    temperature_celsius?: number;
                    temperature_fahrenheit?: number;
                    temperature_threshold?: {
                        lower_limit_celsius: ...;
                        lower_limit_fahrenheit: ...;
                        upper_limit_celsius: ...;
                        upper_limit_fahrenheit: ...;
                    };
                    thermostat_daily_programs?: (...)[];
                    thermostat_weekly_program?: null | {
                        created_at: ...;
                        friday_program_id: ...;
                        monday_program_id: ...;
                        saturday_program_id: ...;
                        sunday_program_id: ...;
                        thursday_program_id: ...;
                        tuesday_program_id: ...;
                        wednesday_program_id: ...;
                    };
                };
                warnings: (
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "partial_backup_access_code_pool";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "many_active_backup_codes";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "wyze_device_missing_gateway";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "functional_offline_device";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "third_party_integration_detected";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "nest_thermostat_in_manual_eco_mode";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "ttlock_lock_gateway_unlocking_not_enabled";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "ttlock_weak_gateway_signal";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "power_saving_mode";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "temperature_threshold_exceeded";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "device_communication_degraded";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "scheduled_maintenance_window";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "device_has_flaky_connection";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "salto_ks_office_mode";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "salto_ks_privacy_mode";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "salto_ks_subscription_limit_almost_reached";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "unknown_issue_with_phone";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "lockly_time_zone_not_configured";
                    })[];
                workspace_id: string;
            }[];
            noise_sensors: {
                can_hvac_cool?: boolean;
                can_hvac_heat?: boolean;
                can_hvac_heat_cool?: boolean;
                can_program_offline_access_codes?: boolean;
                can_program_online_access_codes?: boolean;
                can_remotely_lock?: boolean;
                can_remotely_unlock?: boolean;
                can_simulate_connection?: boolean;
                can_simulate_disconnection?: boolean;
                can_simulate_removal?: boolean;
                can_turn_off_hvac?: boolean;
                capabilities_supported: (
                    | "access_code"
                    | "lock"
                    | "phone"
                    | "thermostat"
                    | "noise_detection"
                    | "battery")[];
                connected_account_id: string;
                created_at: string;
                custom_metadata: Record<string, string | boolean>;
                device_id: string;
                device_type:
                    | "akuvox_lock"
                    | "august_lock"
                    | "brivo_access_point"
                    | "butterflymx_panel"
                    | "avigilon_alta_entry"
                    | "doorking_lock"
                    | "genie_door"
                    | "igloo_lock"
                    | "linear_lock"
                    | "lockly_lock"
                    | "kwikset_lock"
                    | "nuki_lock"
                    | "salto_lock"
                    | "schlage_lock"
                    | "seam_relay"
                    | "smartthings_lock"
                    | "wyze_lock"
                    | "yale_lock"
                    | "two_n_intercom"
                    | "controlbyweb_device"
                    | "ttlock_lock"
                    | "igloohome_lock"
                    | "hubitat_lock"
                    | "four_suites_door"
                    | "dormakaba_oracode_door"
                    | "tedee_lock"
                    | "akiles_lock"
                    | "noiseaware_activity_zone"
                    | "minut_sensor"
                    | "ecobee_thermostat"
                    | "nest_thermostat"
                    | "honeywell_resideo_thermostat"
                    | "tado_thermostat"
                    | "sensi_thermostat"
                    | "smartthings_thermostat"
                    | "ios_phone"
                    | "android_phone";
                display_name: string;
                errors: (
                    | {
                        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: "lockly_missing_wifi_bridge";
                        is_device_error: true;
                        message: string;
                    }
                    | {
                        created_at: string;
                        error_code: "invalid_credentials";
                        is_bridge_error?: (...) | (...) | (...);
                        is_connected_account_error?: (...) | (...) | (...);
                        message: string;
                    }
                    | {
                        created_at: string;
                        error_code: "bridge_disconnected";
                        is_bridge_error?: (...) | (...) | (...);
                        is_connected_account_error?: (...) | (...) | (...);
                        message: string;
                    })[];
                is_managed: true;
                location: null | {
                    location_name?: string;
                    timezone?: string;
                };
                nickname?: string;
                properties: {
                    accessory_keypad?: {
                        battery?: ...;
                        is_connected: ...;
                    };
                    appearance: {
                        name: string;
                    };
                    battery?: {
                        level: ...;
                        status: ...;
                    };
                    battery_level?: number;
                    currently_triggering_noise_threshold_ids?: (...)[];
                    has_direct_power?: boolean;
                    image_alt_text?: string;
                    image_url?: string;
                    manufacturer?: string;
                    model: {
                        accessory_keypad_supported?: (...) | (...) | (...);
                        can_connect_accessory_keypad?: (...) | (...) | (...);
                        display_name: string;
                        has_built_in_keypad?: (...) | (...) | (...);
                        manufacturer_display_name: string;
                        offline_access_codes_supported?: (...) | (...) | (...);
                        online_access_codes_supported?: (...) | (...) | (...);
                    };
                    name: string;
                    noise_level_decibels?: number;
                    offline_access_codes_enabled?: boolean;
                    online: boolean;
                    online_access_codes_enabled?: boolean;
                    serial_number?: string;
                    supports_accessory_keypad?: boolean;
                    supports_offline_access_codes?: boolean;
                } & {
                    assa_abloy_credential_service_metadata?: {
                        endpoints: ...;
                        has_active_endpoint: ...;
                    };
                    salto_space_credential_service_metadata?: {
                        has_active_phone: ...;
                    };
                } & {
                    akiles_metadata?: {
                        _member_group_id?: ...;
                        gadget_id: ...;
                        gadget_name: ...;
                        product_name: ...;
                    };
                    assa_abloy_vostio_metadata?: {
                        encoder_name: ...;
                    };
                    august_metadata?: {
                        has_keypad: ...;
                        house_id?: ...;
                        house_name: ...;
                        keypad_battery_level?: ...;
                        lock_id: ...;
                        lock_name: ...;
                        model?: ...;
                    };
                    avigilon_alta_metadata?: {
                        entry_name: ...;
                        entry_relays_total_count: ...;
                        org_name: ...;
                        site_id: ...;
                        site_name: ...;
                        zone_id: ...;
                        zone_name: ...;
                    };
                    brivo_metadata?: {
                        device_name: ...;
                    };
                    controlbyweb_metadata?: {
                        device_id: ...;
                        device_name: ...;
                        relay_name: ...;
                    };
                    dormakaba_oracode_metadata?: {
                        device_id?: ...;
                        door_id?: ...;
                        door_is_wireless: ...;
                        door_name: ...;
                        iana_timezone?: ...;
                        predefined_time_slots?: ...;
                        site_id: ...;
                        site_name: ...;
                    };
                    ecobee_metadata?: {
                        device_name: ...;
                        ecobee_device_id: ...;
                    };
                    four_suites_metadata?: {
                        device_id: ...;
                        device_name: ...;
                        reclose_delay_in_seconds: ...;
                    };
                    genie_metadata?: {
                        device_name: ...;
                        door_name: ...;
                    };
                    honeywell_resideo_metadata?: {
                        device_name: ...;
                        honeywell_resideo_device_id: ...;
                    };
                    hubitat_metadata?: {
                        device_id: ...;
                        device_label: ...;
                        device_name: ...;
                    };
                    igloo_metadata?: {
                        bridge_id: ...;
                        device_id: ...;
                        model?: ...;
                    };
                    igloohome_metadata?: {
                        bridge_id?: ...;
                        bridge_name?: ...;
                        device_id: ...;
                        device_name: ...;
                        keypad_id?: ...;
                    };
                    kwikset_metadata?: {
                        device_id: ...;
                        device_name: ...;
                        model_number: ...;
                    };
                    lockly_metadata?: {
                        device_id: ...;
                        device_name: ...;
                        model?: ...;
                    };
                    minut_metadata?: {
                        device_id: ...;
                        device_name: ...;
                        latest_sensor_values: ...;
                    };
                    nest_metadata?: {
                        device_custom_name: ...;
                        device_name: ...;
                        display_name?: ...;
                        nest_device_id: ...;
                    };
                    noiseaware_metadata?: {
                        device_id: ...;
                        device_model: ...;
                        device_name: ...;
                        noise_level_decibel: ...;
                        noise_level_nrs: ...;
                    };
                    nuki_metadata?: {
                        device_id: ...;
                        device_name: ...;
                        keypad_2_paired?: ...;
                        keypad_battery_critical?: ...;
                        keypad_paired?: ...;
                    };
                    salto_ks_metadata?: {
                        battery_level: ...;
                        customer_reference: ...;
                        lock_id: ...;
                        lock_type: ...;
                        locked_state: ...;
                        model?: ...;
                    };
                    salto_metadata?: {
                        battery_level: ...;
                        customer_reference: ...;
                        lock_id: ...;
                        lock_type: ...;
                        locked_state: ...;
                        model?: ...;
                    };
                    schlage_metadata?: {
                        device_id: ...;
                        device_name: ...;
                        model?: ...;
                    };
                    seam_bridge_metadata?: {
                        device_num: ...;
                        name: ...;
                        unlock_method?: ...;
                    };
                    sensi_metadata?: {
                        device_id: ...;
                        device_name: ...;
                        product_type: ...;
                    };
                    smartthings_metadata?: {
                        device_id: ...;
                        device_name: ...;
                        location_id?: ...;
                        model?: ...;
                    };
                    tado_metadata?: {
                        device_type: ...;
                        serial_no: ...;
                    };
                    tedee_metadata?: {
                        bridge_id: ...;
                        bridge_name: ...;
                        device_id: ...;
                        device_model: ...;
                        device_name: ...;
                        keypad_id?: ...;
                        serial_number: ...;
                    };
                    ttlock_metadata?: {
                        feature_value: ...;
                        features: ...;
                        has_gateway?: ...;
                        lock_alias: ...;
                        lock_id: ...;
                        wireless_keypads?: ...;
                    };
                    two_n_metadata?: {
                        device_id: ...;
                        device_name: ...;
                    };
                    visionline_metadata?: {
                        encoder_id: ...;
                    };
                    wyze_metadata?: {
                        device_id: ...;
                        device_info_model: ...;
                        device_name: ...;
                        keypad_uuid?: ...;
                        locker_status_hardlock?: ...;
                        product_model: ...;
                        product_name: ...;
                        product_type: ...;
                    };
                } & {
                    _experimental_supported_code_from_access_codes_lengths?: (...)[];
                    code_constraints?: (...)[];
                    door_open?: boolean;
                    has_native_entry_events?: boolean;
                    keypad_battery?: {
                        level: ...;
                    };
                    locked?: boolean;
                    max_active_codes_supported?: number;
                    supported_code_lengths?: (...)[];
                    supports_backup_access_code_pool?: boolean;
                } & {
                    active_thermostat_schedule?: null | {
                        climate_preset_key: ...;
                        created_at: ...;
                        device_id: ...;
                        ends_at: ...;
                        errors: ...;
                        is_override_allowed?: ...;
                        max_override_period_minutes?: ...;
                        name: ...;
                        starts_at: ...;
                        thermostat_schedule_id: ...;
                        workspace_id: ...;
                    };
                    available_climate_presets?: (...)[];
                    available_fan_mode_settings?: (...)[];
                    available_hvac_mode_settings?: (...)[];
                    current_climate_setting?: {
                        can_delete?: ...;
                        can_edit?: ...;
                        can_program?: ...;
                        climate_preset_key?: ...;
                        cooling_set_point_celsius?: ...;
                        cooling_set_point_fahrenheit?: ...;
                        display_name?: ...;
                        fan_mode_setting?: ...;
                        heating_set_point_celsius?: ...;
                        heating_set_point_fahrenheit?: ...;
                        hvac_mode_setting?: ...;
                        manual_override_allowed?: ...;
                        name?: ...;
                    };
                    default_climate_setting?: {
                        can_delete?: ...;
                        can_edit?: ...;
                        can_program?: ...;
                        climate_preset_key?: ...;
                        cooling_set_point_celsius?: ...;
                        cooling_set_point_fahrenheit?: ...;
                        display_name?: ...;
                        fan_mode_setting?: ...;
                        heating_set_point_celsius?: ...;
                        heating_set_point_fahrenheit?: ...;
                        hvac_mode_setting?: ...;
                        manual_override_allowed?: ...;
                        name?: ...;
                    };
                    fallback_climate_preset_key?: null | string;
                    fan_mode_setting?: "auto" | "on" | "circulate";
                    is_cooling?: boolean;
                    is_fan_running?: boolean;
                    is_heating?: boolean;
                    is_temporary_manual_override_active?: boolean;
                    max_cooling_set_point_celsius?: number;
                    max_cooling_set_point_fahrenheit?: number;
                    max_heating_set_point_celsius?: number;
                    max_heating_set_point_fahrenheit?: number;
                    min_cooling_set_point_celsius?: number;
                    min_cooling_set_point_fahrenheit?: number;
                    min_heating_cooling_delta_celsius?: number;
                    min_heating_cooling_delta_fahrenheit?: number;
                    min_heating_set_point_celsius?: number;
                    min_heating_set_point_fahrenheit?: number;
                    relative_humidity?: number;
                    temperature_celsius?: number;
                    temperature_fahrenheit?: number;
                    temperature_threshold?: {
                        lower_limit_celsius: ...;
                        lower_limit_fahrenheit: ...;
                        upper_limit_celsius: ...;
                        upper_limit_fahrenheit: ...;
                    };
                    thermostat_daily_programs?: (...)[];
                    thermostat_weekly_program?: null | {
                        created_at: ...;
                        friday_program_id: ...;
                        monday_program_id: ...;
                        saturday_program_id: ...;
                        sunday_program_id: ...;
                        thursday_program_id: ...;
                        tuesday_program_id: ...;
                        wednesday_program_id: ...;
                    };
                };
                warnings: (
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "partial_backup_access_code_pool";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "many_active_backup_codes";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "wyze_device_missing_gateway";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "functional_offline_device";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "third_party_integration_detected";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "nest_thermostat_in_manual_eco_mode";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "ttlock_lock_gateway_unlocking_not_enabled";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "ttlock_weak_gateway_signal";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "power_saving_mode";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "temperature_threshold_exceeded";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "device_communication_degraded";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "scheduled_maintenance_window";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "device_has_flaky_connection";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "salto_ks_office_mode";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "salto_ks_privacy_mode";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "salto_ks_subscription_limit_almost_reached";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "unknown_issue_with_phone";
                    }
                    | {
                        created_at: string;
                        message: string;
                        warning_code: "lockly_time_zone_not_configured";
                    })[];
                workspace_id: string;
            }[];
        }>, "devices" | "noise_sensors">, "devices">

  • get /noise_sensors/noise_thresholds/create(): ((body?: {
        device_id: string;
        ends_daily_at: string;
        name?: string;
        noise_threshold_decibels?: number;
        noise_threshold_nrs?: number;
        starts_daily_at: string;
        sync?: boolean;
    }) => SeamHttpRequest<SetNonNullable<Required<{
        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: (...) | (...);
                        created_at: (...) | (...);
                        ends_at: (...) | (...);
                        is_issued: (...) | (...) | (...);
                        starts_at: (...) | (...);
                        visionline_metadata?: (...) | (...);
                    };
                    acs_credential_on_seam: null | {
                        access_method: (...) | (...) | (...);
                        acs_credential_id: string;
                        acs_credential_pool_id?: (...) | (...);
                        acs_system_id: string;
                        acs_user_id?: (...) | (...);
                        assa_abloy_vostio_metadata?: (...) | (...);
                        card_number?: (...) | (...) | (...);
                        code?: (...) | (...) | (...);
                        created_at: string;
                        display_name: string;
                        ends_at?: (...) | (...);
                        errors: (...)[];
                        external_type?:
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                        external_type_display_name?: (...) | (...);
                        is_issued?: (...) | (...) | (...);
                        is_latest_desired_state_synced_with_provider?:
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                        is_managed: true;
                        is_multi_phone_sync_credential?: (...) | (...) | (...);
                        is_one_time_use?: (...) | (...) | (...);
                        issued_at?: (...) | (...) | (...);
                        latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                        parent_acs_credential_id?: (...) | (...);
                        starts_at?: (...) | (...);
                        visionline_metadata?: (...) | (...);
                        warnings: (...)[];
                        workspace_id: string;
                    } | {
                        access_method: (...) | (...) | (...);
                        acs_credential_id: string;
                        acs_credential_pool_id?: (...) | (...);
                        acs_system_id: string;
                        acs_user_id?: (...) | (...);
                        assa_abloy_vostio_metadata?: (...) | (...);
                        card_number?: (...) | (...) | (...);
                        code?: (...) | (...) | (...);
                        created_at: string;
                        display_name: string;
                        ends_at?: (...) | (...);
                        errors: (...)[];
                        external_type?:
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                        external_type_display_name?: (...) | (...);
                        is_issued?: (...) | (...) | (...);
                        is_latest_desired_state_synced_with_provider?:
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                        is_managed: false;
                        is_multi_phone_sync_credential?: (...) | (...) | (...);
                        is_one_time_use?: (...) | (...) | (...);
                        issued_at?: (...) | (...) | (...);
                        latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                        parent_acs_credential_id?: (...) | (...);
                        starts_at?: (...) | (...);
                        visionline_metadata?: (...) | (...);
                        warnings: (...)[];
                        workspace_id: string;
                    };
                    warnings: {
                        warning_code: (...) | (...);
                        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_ACCESS_METHOD";
                error: null;
                result: null;
                status: "pending";
            }
            | {
                action_attempt_id: string;
                action_type: "ENCODE_ACCESS_METHOD";
                error: null;
                result: {
                    access_method_id: string;
                    created_at: string;
                    display_name: string;
                    instant_key_url?: string;
                    is_card_encoding_required?: boolean;
                    issued_at?: string;
                    mode: "code" | "card" | "mobile_key";
                    workspace_id: string;
                };
                status: "success";
            }
            | {
                action_attempt_id: string;
                action_type: "ENCODE_ACCESS_METHOD";
                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: "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?: {
                        auto_join?: ...;
                        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"
                        | "latch_access";
                    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?: {
                        auto_join?: ...;
                        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"
                        | "latch_access";
                    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;
                };
                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: "SIMULATE_KEYPAD_CODE_ENTRY";
                error: null;
                result: null;
                status: "pending";
            }
            | {
                action_attempt_id: string;
                action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                error: null;
                result: {};
                status: "success";
            }
            | {
                action_attempt_id: string;
                action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                error: {
                    message: string;
                    type: string;
                };
                result: null;
                status: "error";
            }
            | {
                action_attempt_id: string;
                action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                error: null;
                result: null;
                status: "pending";
            }
            | {
                action_attempt_id: string;
                action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                error: null;
                result: {};
                status: "success";
            }
            | {
                action_attempt_id: string;
                action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                error: {
                    message: string;
                    type: string;
                };
                result: null;
                status: "error";
            }
            | {
                action_attempt_id: string;
                action_type: "PUSH_THERMOSTAT_PROGRAMS";
                error: null;
                result: null;
                status: "pending";
            }
            | {
                action_attempt_id: string;
                action_type: "PUSH_THERMOSTAT_PROGRAMS";
                error: null;
                result: {};
                status: "success";
            }
            | {
                action_attempt_id: string;
                action_type: "PUSH_THERMOSTAT_PROGRAMS";
                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";
            };
        noise_threshold: {
            device_id: string;
            ends_daily_at: string;
            name: string;
            noise_threshold_decibels: number;
            noise_threshold_id: string;
            noise_threshold_nrs?: number;
            starts_daily_at: string;
        };
    }>, "action_attempt" | "noise_threshold">, "noise_threshold">)
  • Returns ((body?: {
        device_id: string;
        ends_daily_at: string;
        name?: string;
        noise_threshold_decibels?: number;
        noise_threshold_nrs?: number;
        starts_daily_at: string;
        sync?: boolean;
    }) => SeamHttpRequest<SetNonNullable<Required<{
        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: (...) | (...);
                        created_at: (...) | (...);
                        ends_at: (...) | (...);
                        is_issued: (...) | (...) | (...);
                        starts_at: (...) | (...);
                        visionline_metadata?: (...) | (...);
                    };
                    acs_credential_on_seam: null | {
                        access_method: (...) | (...) | (...);
                        acs_credential_id: string;
                        acs_credential_pool_id?: (...) | (...);
                        acs_system_id: string;
                        acs_user_id?: (...) | (...);
                        assa_abloy_vostio_metadata?: (...) | (...);
                        card_number?: (...) | (...) | (...);
                        code?: (...) | (...) | (...);
                        created_at: string;
                        display_name: string;
                        ends_at?: (...) | (...);
                        errors: (...)[];
                        external_type?:
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                        external_type_display_name?: (...) | (...);
                        is_issued?: (...) | (...) | (...);
                        is_latest_desired_state_synced_with_provider?:
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                        is_managed: true;
                        is_multi_phone_sync_credential?: (...) | (...) | (...);
                        is_one_time_use?: (...) | (...) | (...);
                        issued_at?: (...) | (...) | (...);
                        latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                        parent_acs_credential_id?: (...) | (...);
                        starts_at?: (...) | (...);
                        visionline_metadata?: (...) | (...);
                        warnings: (...)[];
                        workspace_id: string;
                    } | {
                        access_method: (...) | (...) | (...);
                        acs_credential_id: string;
                        acs_credential_pool_id?: (...) | (...);
                        acs_system_id: string;
                        acs_user_id?: (...) | (...);
                        assa_abloy_vostio_metadata?: (...) | (...);
                        card_number?: (...) | (...) | (...);
                        code?: (...) | (...) | (...);
                        created_at: string;
                        display_name: string;
                        ends_at?: (...) | (...);
                        errors: (...)[];
                        external_type?:
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                        external_type_display_name?: (...) | (...);
                        is_issued?: (...) | (...) | (...);
                        is_latest_desired_state_synced_with_provider?:
                            | (...)
                            | (...)
                            | (...)
                            | (...);
                        is_managed: false;
                        is_multi_phone_sync_credential?: (...) | (...) | (...);
                        is_one_time_use?: (...) | (...) | (...);
                        issued_at?: (...) | (...) | (...);
                        latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                        parent_acs_credential_id?: (...) | (...);
                        starts_at?: (...) | (...);
                        visionline_metadata?: (...) | (...);
                        warnings: (...)[];
                        workspace_id: string;
                    };
                    warnings: {
                        warning_code: (...) | (...);
                        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_ACCESS_METHOD";
                error: null;
                result: null;
                status: "pending";
            }
            | {
                action_attempt_id: string;
                action_type: "ENCODE_ACCESS_METHOD";
                error: null;
                result: {
                    access_method_id: string;
                    created_at: string;
                    display_name: string;
                    instant_key_url?: string;
                    is_card_encoding_required?: boolean;
                    issued_at?: string;
                    mode: "code" | "card" | "mobile_key";
                    workspace_id: string;
                };
                status: "success";
            }
            | {
                action_attempt_id: string;
                action_type: "ENCODE_ACCESS_METHOD";
                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: "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?: {
                        auto_join?: ...;
                        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"
                        | "latch_access";
                    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?: {
                        auto_join?: ...;
                        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"
                        | "latch_access";
                    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;
                };
                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: "SIMULATE_KEYPAD_CODE_ENTRY";
                error: null;
                result: null;
                status: "pending";
            }
            | {
                action_attempt_id: string;
                action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                error: null;
                result: {};
                status: "success";
            }
            | {
                action_attempt_id: string;
                action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                error: {
                    message: string;
                    type: string;
                };
                result: null;
                status: "error";
            }
            | {
                action_attempt_id: string;
                action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                error: null;
                result: null;
                status: "pending";
            }
            | {
                action_attempt_id: string;
                action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                error: null;
                result: {};
                status: "success";
            }
            | {
                action_attempt_id: string;
                action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                error: {
                    message: string;
                    type: string;
                };
                result: null;
                status: "error";
            }
            | {
                action_attempt_id: string;
                action_type: "PUSH_THERMOSTAT_PROGRAMS";
                error: null;
                result: null;
                status: "pending";
            }
            | {
                action_attempt_id: string;
                action_type: "PUSH_THERMOSTAT_PROGRAMS";
                error: null;
                result: {};
                status: "success";
            }
            | {
                action_attempt_id: string;
                action_type: "PUSH_THERMOSTAT_PROGRAMS";
                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";
            };
        noise_threshold: {
            device_id: string;
            ends_daily_at: string;
            name: string;
            noise_threshold_decibels: number;
            noise_threshold_id: string;
            noise_threshold_nrs?: number;
            starts_daily_at: string;
        };
    }>, "action_attempt" | "noise_threshold">, "noise_threshold">)

      • (body?): SeamHttpRequest<SetNonNullable<Required<{
            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: (...) | (...);
                            created_at: (...) | (...);
                            ends_at: (...) | (...);
                            is_issued: (...) | (...) | (...);
                            starts_at: (...) | (...);
                            visionline_metadata?: (...) | (...);
                        };
                        acs_credential_on_seam: null | {
                            access_method: (...) | (...) | (...);
                            acs_credential_id: string;
                            acs_credential_pool_id?: (...) | (...);
                            acs_system_id: string;
                            acs_user_id?: (...) | (...);
                            assa_abloy_vostio_metadata?: (...) | (...);
                            card_number?: (...) | (...) | (...);
                            code?: (...) | (...) | (...);
                            created_at: string;
                            display_name: string;
                            ends_at?: (...) | (...);
                            errors: (...)[];
                            external_type?:
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...);
                            external_type_display_name?: (...) | (...);
                            is_issued?: (...) | (...) | (...);
                            is_latest_desired_state_synced_with_provider?:
                                | (...)
                                | (...)
                                | (...)
                                | (...);
                            is_managed: true;
                            is_multi_phone_sync_credential?: (...) | (...) | (...);
                            is_one_time_use?: (...) | (...) | (...);
                            issued_at?: (...) | (...) | (...);
                            latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                            parent_acs_credential_id?: (...) | (...);
                            starts_at?: (...) | (...);
                            visionline_metadata?: (...) | (...);
                            warnings: (...)[];
                            workspace_id: string;
                        } | {
                            access_method: (...) | (...) | (...);
                            acs_credential_id: string;
                            acs_credential_pool_id?: (...) | (...);
                            acs_system_id: string;
                            acs_user_id?: (...) | (...);
                            assa_abloy_vostio_metadata?: (...) | (...);
                            card_number?: (...) | (...) | (...);
                            code?: (...) | (...) | (...);
                            created_at: string;
                            display_name: string;
                            ends_at?: (...) | (...);
                            errors: (...)[];
                            external_type?:
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...);
                            external_type_display_name?: (...) | (...);
                            is_issued?: (...) | (...) | (...);
                            is_latest_desired_state_synced_with_provider?:
                                | (...)
                                | (...)
                                | (...)
                                | (...);
                            is_managed: false;
                            is_multi_phone_sync_credential?: (...) | (...) | (...);
                            is_one_time_use?: (...) | (...) | (...);
                            issued_at?: (...) | (...) | (...);
                            latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                            parent_acs_credential_id?: (...) | (...);
                            starts_at?: (...) | (...);
                            visionline_metadata?: (...) | (...);
                            warnings: (...)[];
                            workspace_id: string;
                        };
                        warnings: {
                            warning_code: (...) | (...);
                            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_ACCESS_METHOD";
                    error: null;
                    result: null;
                    status: "pending";
                }
                | {
                    action_attempt_id: string;
                    action_type: "ENCODE_ACCESS_METHOD";
                    error: null;
                    result: {
                        access_method_id: string;
                        created_at: string;
                        display_name: string;
                        instant_key_url?: string;
                        is_card_encoding_required?: boolean;
                        issued_at?: string;
                        mode: "code" | "card" | "mobile_key";
                        workspace_id: string;
                    };
                    status: "success";
                }
                | {
                    action_attempt_id: string;
                    action_type: "ENCODE_ACCESS_METHOD";
                    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: "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?: {
                            auto_join?: ...;
                            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"
                            | "latch_access";
                        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?: {
                            auto_join?: ...;
                            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"
                            | "latch_access";
                        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;
                    };
                    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: "SIMULATE_KEYPAD_CODE_ENTRY";
                    error: null;
                    result: null;
                    status: "pending";
                }
                | {
                    action_attempt_id: string;
                    action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                    error: null;
                    result: {};
                    status: "success";
                }
                | {
                    action_attempt_id: string;
                    action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                    error: {
                        message: string;
                        type: string;
                    };
                    result: null;
                    status: "error";
                }
                | {
                    action_attempt_id: string;
                    action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                    error: null;
                    result: null;
                    status: "pending";
                }
                | {
                    action_attempt_id: string;
                    action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                    error: null;
                    result: {};
                    status: "success";
                }
                | {
                    action_attempt_id: string;
                    action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                    error: {
                        message: string;
                        type: string;
                    };
                    result: null;
                    status: "error";
                }
                | {
                    action_attempt_id: string;
                    action_type: "PUSH_THERMOSTAT_PROGRAMS";
                    error: null;
                    result: null;
                    status: "pending";
                }
                | {
                    action_attempt_id: string;
                    action_type: "PUSH_THERMOSTAT_PROGRAMS";
                    error: null;
                    result: {};
                    status: "success";
                }
                | {
                    action_attempt_id: string;
                    action_type: "PUSH_THERMOSTAT_PROGRAMS";
                    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";
                };
            noise_threshold: {
                device_id: string;
                ends_daily_at: string;
                name: string;
                noise_threshold_decibels: number;
                noise_threshold_id: string;
                noise_threshold_nrs?: number;
                starts_daily_at: string;
            };
        }>, "action_attempt" | "noise_threshold">, "noise_threshold">
      • Parameters

        • Optionalbody: {
              device_id: string;
              ends_daily_at: string;
              name?: string;
              noise_threshold_decibels?: number;
              noise_threshold_nrs?: number;
              starts_daily_at: string;
              sync?: boolean;
          }
          • device_id: string

            ID of the device for which you want to create a noise threshold.

          • ends_daily_at: string

            Time at which the new noise threshold should become inactive daily.

          • Optionalname?: string

            Name of the new noise threshold.

          • Optionalnoise_threshold_decibels?: number

            Noise level in decibels for the new noise threshold.

          • Optionalnoise_threshold_nrs?: number

            Noise level in Noiseaware Noise Risk Score (NRS) for the new noise threshold. This parameter is only relevant for Noiseaware sensors.

          • starts_daily_at: string

            Time at which the new noise threshold should become active daily.

          • Optionalsync?: boolean

        Returns SeamHttpRequest<SetNonNullable<Required<{
            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: (...) | (...);
                            created_at: (...) | (...);
                            ends_at: (...) | (...);
                            is_issued: (...) | (...) | (...);
                            starts_at: (...) | (...);
                            visionline_metadata?: (...) | (...);
                        };
                        acs_credential_on_seam: null | {
                            access_method: (...) | (...) | (...);
                            acs_credential_id: string;
                            acs_credential_pool_id?: (...) | (...);
                            acs_system_id: string;
                            acs_user_id?: (...) | (...);
                            assa_abloy_vostio_metadata?: (...) | (...);
                            card_number?: (...) | (...) | (...);
                            code?: (...) | (...) | (...);
                            created_at: string;
                            display_name: string;
                            ends_at?: (...) | (...);
                            errors: (...)[];
                            external_type?:
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...);
                            external_type_display_name?: (...) | (...);
                            is_issued?: (...) | (...) | (...);
                            is_latest_desired_state_synced_with_provider?:
                                | (...)
                                | (...)
                                | (...)
                                | (...);
                            is_managed: true;
                            is_multi_phone_sync_credential?: (...) | (...) | (...);
                            is_one_time_use?: (...) | (...) | (...);
                            issued_at?: (...) | (...) | (...);
                            latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                            parent_acs_credential_id?: (...) | (...);
                            starts_at?: (...) | (...);
                            visionline_metadata?: (...) | (...);
                            warnings: (...)[];
                            workspace_id: string;
                        } | {
                            access_method: (...) | (...) | (...);
                            acs_credential_id: string;
                            acs_credential_pool_id?: (...) | (...);
                            acs_system_id: string;
                            acs_user_id?: (...) | (...);
                            assa_abloy_vostio_metadata?: (...) | (...);
                            card_number?: (...) | (...) | (...);
                            code?: (...) | (...) | (...);
                            created_at: string;
                            display_name: string;
                            ends_at?: (...) | (...);
                            errors: (...)[];
                            external_type?:
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...)
                                | (...);
                            external_type_display_name?: (...) | (...);
                            is_issued?: (...) | (...) | (...);
                            is_latest_desired_state_synced_with_provider?:
                                | (...)
                                | (...)
                                | (...)
                                | (...);
                            is_managed: false;
                            is_multi_phone_sync_credential?: (...) | (...) | (...);
                            is_one_time_use?: (...) | (...) | (...);
                            issued_at?: (...) | (...) | (...);
                            latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                            parent_acs_credential_id?: (...) | (...);
                            starts_at?: (...) | (...);
                            visionline_metadata?: (...) | (...);
                            warnings: (...)[];
                            workspace_id: string;
                        };
                        warnings: {
                            warning_code: (...) | (...);
                            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_ACCESS_METHOD";
                    error: null;
                    result: null;
                    status: "pending";
                }
                | {
                    action_attempt_id: string;
                    action_type: "ENCODE_ACCESS_METHOD";
                    error: null;
                    result: {
                        access_method_id: string;
                        created_at: string;
                        display_name: string;
                        instant_key_url?: string;
                        is_card_encoding_required?: boolean;
                        issued_at?: string;
                        mode: "code" | "card" | "mobile_key";
                        workspace_id: string;
                    };
                    status: "success";
                }
                | {
                    action_attempt_id: string;
                    action_type: "ENCODE_ACCESS_METHOD";
                    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: "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?: {
                            auto_join?: ...;
                            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"
                            | "latch_access";
                        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?: {
                            auto_join?: ...;
                            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"
                            | "latch_access";
                        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;
                    };
                    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: "SIMULATE_KEYPAD_CODE_ENTRY";
                    error: null;
                    result: null;
                    status: "pending";
                }
                | {
                    action_attempt_id: string;
                    action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                    error: null;
                    result: {};
                    status: "success";
                }
                | {
                    action_attempt_id: string;
                    action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                    error: {
                        message: string;
                        type: string;
                    };
                    result: null;
                    status: "error";
                }
                | {
                    action_attempt_id: string;
                    action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                    error: null;
                    result: null;
                    status: "pending";
                }
                | {
                    action_attempt_id: string;
                    action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                    error: null;
                    result: {};
                    status: "success";
                }
                | {
                    action_attempt_id: string;
                    action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                    error: {
                        message: string;
                        type: string;
                    };
                    result: null;
                    status: "error";
                }
                | {
                    action_attempt_id: string;
                    action_type: "PUSH_THERMOSTAT_PROGRAMS";
                    error: null;
                    result: null;
                    status: "pending";
                }
                | {
                    action_attempt_id: string;
                    action_type: "PUSH_THERMOSTAT_PROGRAMS";
                    error: null;
                    result: {};
                    status: "success";
                }
                | {
                    action_attempt_id: string;
                    action_type: "PUSH_THERMOSTAT_PROGRAMS";
                    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";
                };
            noise_threshold: {
                device_id: string;
                ends_daily_at: string;
                name: string;
                noise_threshold_decibels: number;
                noise_threshold_id: string;
                noise_threshold_nrs?: number;
                starts_daily_at: string;
            };
        }>, "action_attempt" | "noise_threshold">, "noise_threshold">

  • get /noise_sensors/noise_thresholds/delete(): ((params?: {
        device_id: string;
        noise_threshold_id: string;
        sync?: boolean;
    }) => SeamHttpRequest<void, undefined>)
  • Returns ((params?: {
        device_id: string;
        noise_threshold_id: string;
        sync?: boolean;
    }) => SeamHttpRequest<void, undefined>)

      • (params?): SeamHttpRequest<void, undefined>
      • Parameters

        • Optionalparams: {
              device_id: string;
              noise_threshold_id: string;
              sync?: boolean;
          }
          • device_id: string

            ID of the device that contains the noise threshold that you want to delete.

          • noise_threshold_id: string

            ID of the noise threshold that you want to delete.

          • Optionalsync?: boolean

        Returns SeamHttpRequest<void, undefined>

  • get /noise_sensors/noise_thresholds/get(): ((params?: {
        noise_threshold_id: string;
    }) => SeamHttpRequest<SetNonNullable<Required<{
        noise_threshold: {
            device_id: string;
            ends_daily_at: string;
            name: string;
            noise_threshold_decibels: number;
            noise_threshold_id: string;
            noise_threshold_nrs?: number;
            starts_daily_at: string;
        };
    }>, "noise_threshold">, "noise_threshold">)
  • Returns ((params?: {
        noise_threshold_id: string;
    }) => SeamHttpRequest<SetNonNullable<Required<{
        noise_threshold: {
            device_id: string;
            ends_daily_at: string;
            name: string;
            noise_threshold_decibels: number;
            noise_threshold_id: string;
            noise_threshold_nrs?: number;
            starts_daily_at: string;
        };
    }>, "noise_threshold">, "noise_threshold">)

      • (params?): SeamHttpRequest<SetNonNullable<Required<{
            noise_threshold: {
                device_id: string;
                ends_daily_at: string;
                name: string;
                noise_threshold_decibels: number;
                noise_threshold_id: string;
                noise_threshold_nrs?: number;
                starts_daily_at: string;
            };
        }>, "noise_threshold">, "noise_threshold">
      • Parameters

        • Optionalparams: {
              noise_threshold_id: string;
          }
          • noise_threshold_id: string

            ID of the noise threshold that you want to get.

        Returns SeamHttpRequest<SetNonNullable<Required<{
            noise_threshold: {
                device_id: string;
                ends_daily_at: string;
                name: string;
                noise_threshold_decibels: number;
                noise_threshold_id: string;
                noise_threshold_nrs?: number;
                starts_daily_at: string;
            };
        }>, "noise_threshold">, "noise_threshold">

  • get /noise_sensors/noise_thresholds/list(): ((params?: {
        device_id: string;
        is_programmed?: boolean;
    }) => SeamHttpRequest<SetNonNullable<Required<{
        noise_thresholds: {
            device_id: string;
            ends_daily_at: string;
            name: string;
            noise_threshold_decibels: number;
            noise_threshold_id: string;
            noise_threshold_nrs?: number;
            starts_daily_at: string;
        }[];
    }>, "noise_thresholds">, "noise_thresholds">)
  • Returns ((params?: {
        device_id: string;
        is_programmed?: boolean;
    }) => SeamHttpRequest<SetNonNullable<Required<{
        noise_thresholds: {
            device_id: string;
            ends_daily_at: string;
            name: string;
            noise_threshold_decibels: number;
            noise_threshold_id: string;
            noise_threshold_nrs?: number;
            starts_daily_at: string;
        }[];
    }>, "noise_thresholds">, "noise_thresholds">)

      • (params?): SeamHttpRequest<SetNonNullable<Required<{
            noise_thresholds: {
                device_id: string;
                ends_daily_at: string;
                name: string;
                noise_threshold_decibels: number;
                noise_threshold_id: string;
                noise_threshold_nrs?: number;
                starts_daily_at: string;
            }[];
        }>, "noise_thresholds">, "noise_thresholds">
      • Parameters

        • Optionalparams: {
              device_id: string;
              is_programmed?: boolean;
          }
          • device_id: string

            ID of the device for which you want to list noise thresholds.

          • Optionalis_programmed?: boolean

            Enables you to limit the returned noise thresholds by whether they are programmed on the noise sensor. To list only noise thresholds that are programmed on the noise sensor, set this parameter to true. To list only noise thresholds that are not programmed on the noise sensor, se this parameter to false.

        Returns SeamHttpRequest<SetNonNullable<Required<{
            noise_thresholds: {
                device_id: string;
                ends_daily_at: string;
                name: string;
                noise_threshold_decibels: number;
                noise_threshold_id: string;
                noise_threshold_nrs?: number;
                starts_daily_at: string;
            }[];
        }>, "noise_thresholds">, "noise_thresholds">

  • get /noise_sensors/noise_thresholds/update(): ((body?: {
        device_id: string;
        ends_daily_at?: string;
        name?: string;
        noise_threshold_decibels?: number;
        noise_threshold_id: string;
        noise_threshold_nrs?: number;
        starts_daily_at?: string;
        sync?: boolean;
    }) => SeamHttpRequest<void, undefined>)
  • Returns ((body?: {
        device_id: string;
        ends_daily_at?: string;
        name?: string;
        noise_threshold_decibels?: number;
        noise_threshold_id: string;
        noise_threshold_nrs?: number;
        starts_daily_at?: string;
        sync?: boolean;
    }) => SeamHttpRequest<void, undefined>)

      • (body?): SeamHttpRequest<void, undefined>
      • Parameters

        • Optionalbody: {
              device_id: string;
              ends_daily_at?: string;
              name?: string;
              noise_threshold_decibels?: number;
              noise_threshold_id: string;
              noise_threshold_nrs?: number;
              starts_daily_at?: string;
              sync?: boolean;
          }
          • device_id: string

            ID of the device that contains the noise threshold that you want to update.

          • Optionalends_daily_at?: string

            Time at which the noise threshold should become inactive daily.

          • Optionalname?: string

            Name of the noise threshold that you want to update.

          • Optionalnoise_threshold_decibels?: number

            Noise level in decibels for the noise threshold.

          • noise_threshold_id: string

            ID of the noise threshold that you want to update.

          • Optionalnoise_threshold_nrs?: number

            Noise level in Noiseaware Noise Risk Score (NRS) for the noise threshold. This parameter is only relevant for Noiseaware sensors.

          • Optionalstarts_daily_at?: string

            Time at which the noise threshold should become active daily.

          • Optionalsync?: boolean

        Returns SeamHttpRequest<void, undefined>

  • get /noise_sensors/simulate/trigger_noise_threshold(): ((body?: {
        device_id: string;
    }) => SeamHttpRequest<void, undefined>)
  • Returns ((body?: {
        device_id: string;
    }) => SeamHttpRequest<void, undefined>)

      • (body?): SeamHttpRequest<void, undefined>
      • Parameters

        • Optionalbody: {
              device_id: string;
          }
          • device_id: string

            ID of the device for which you want to simulate the triggering of a noise threshold.

        Returns SeamHttpRequest<void, undefined>

  • get /phones/deactivate(): ((params?: {
        device_id: string;
    }) => SeamHttpRequest<void, undefined>)
  • Returns ((params?: {
        device_id: string;
    }) => SeamHttpRequest<void, undefined>)

      • (params?): SeamHttpRequest<void, undefined>
      • Parameters

        • Optionalparams: {
              device_id: string;
          }
          • device_id: string

            Device ID of the phone that you want to deactivate.

        Returns SeamHttpRequest<void, undefined>

  • get /phones/get(): ((params?: {
        device_id: string;
    }) => SeamHttpRequest<SetNonNullable<Required<{
        phone: {
            created_at: string;
            custom_metadata: Record<string, string | boolean>;
            device_id: string;
            device_type: "ios_phone" | "android_phone";
            display_name: string;
            errors: {
                error_code: string;
                message: string;
            }[];
            nickname?: string;
            properties: {
                assa_abloy_credential_service_metadata?: {
                    endpoints: {
                        endpoint_id: ...;
                        is_active: ...;
                    }[];
                    has_active_endpoint: boolean;
                };
                salto_space_credential_service_metadata?: {
                    has_active_phone: boolean;
                };
            };
            warnings: {
                message: string;
                warning_code: string;
            }[];
            workspace_id: string;
        };
    }>, "phone">, "phone">)
  • Returns ((params?: {
        device_id: string;
    }) => SeamHttpRequest<SetNonNullable<Required<{
        phone: {
            created_at: string;
            custom_metadata: Record<string, string | boolean>;
            device_id: string;
            device_type: "ios_phone" | "android_phone";
            display_name: string;
            errors: {
                error_code: string;
                message: string;
            }[];
            nickname?: string;
            properties: {
                assa_abloy_credential_service_metadata?: {
                    endpoints: {
                        endpoint_id: ...;
                        is_active: ...;
                    }[];
                    has_active_endpoint: boolean;
                };
                salto_space_credential_service_metadata?: {
                    has_active_phone: boolean;
                };
            };
            warnings: {
                message: string;
                warning_code: string;
            }[];
            workspace_id: string;
        };
    }>, "phone">, "phone">)

      • (params?): SeamHttpRequest<SetNonNullable<Required<{
            phone: {
                created_at: string;
                custom_metadata: Record<string, string | boolean>;
                device_id: string;
                device_type: "ios_phone" | "android_phone";
                display_name: string;
                errors: {
                    error_code: string;
                    message: string;
                }[];
                nickname?: string;
                properties: {
                    assa_abloy_credential_service_metadata?: {
                        endpoints: {
                            endpoint_id: ...;
                            is_active: ...;
                        }[];
                        has_active_endpoint: boolean;
                    };
                    salto_space_credential_service_metadata?: {
                        has_active_phone: boolean;
                    };
                };
                warnings: {
                    message: string;
                    warning_code: string;
                }[];
                workspace_id: string;
            };
        }>, "phone">, "phone">
      • Parameters

        • Optionalparams: {
              device_id: string;
          }
          • device_id: string

            Device ID of the phone that you want to get.

        Returns SeamHttpRequest<SetNonNullable<Required<{
            phone: {
                created_at: string;
                custom_metadata: Record<string, string | boolean>;
                device_id: string;
                device_type: "ios_phone" | "android_phone";
                display_name: string;
                errors: {
                    error_code: string;
                    message: string;
                }[];
                nickname?: string;
                properties: {
                    assa_abloy_credential_service_metadata?: {
                        endpoints: {
                            endpoint_id: ...;
                            is_active: ...;
                        }[];
                        has_active_endpoint: boolean;
                    };
                    salto_space_credential_service_metadata?: {
                        has_active_phone: boolean;
                    };
                };
                warnings: {
                    message: string;
                    warning_code: string;
                }[];
                workspace_id: string;
            };
        }>, "phone">, "phone">

  • get /phones/list(): ((params?: {
        acs_credential_id?: string;
        owner_user_identity_id?: string;
    }) => SeamHttpRequest<SetNonNullable<Required<{
        phones: {
            created_at: string;
            custom_metadata: Record<string, string | boolean>;
            device_id: string;
            device_type: "ios_phone" | "android_phone";
            display_name: string;
            errors: {
                error_code: string;
                message: string;
            }[];
            nickname?: string;
            properties: {
                assa_abloy_credential_service_metadata?: {
                    endpoints: (...)[];
                    has_active_endpoint: boolean;
                };
                salto_space_credential_service_metadata?: {
                    has_active_phone: boolean;
                };
            };
            warnings: {
                message: string;
                warning_code: string;
            }[];
            workspace_id: string;
        }[];
    }>, "phones">, "phones">)
  • Returns ((params?: {
        acs_credential_id?: string;
        owner_user_identity_id?: string;
    }) => SeamHttpRequest<SetNonNullable<Required<{
        phones: {
            created_at: string;
            custom_metadata: Record<string, string | boolean>;
            device_id: string;
            device_type: "ios_phone" | "android_phone";
            display_name: string;
            errors: {
                error_code: string;
                message: string;
            }[];
            nickname?: string;
            properties: {
                assa_abloy_credential_service_metadata?: {
                    endpoints: (...)[];
                    has_active_endpoint: boolean;
                };
                salto_space_credential_service_metadata?: {
                    has_active_phone: boolean;
                };
            };
            warnings: {
                message: string;
                warning_code: string;
            }[];
            workspace_id: string;
        }[];
    }>, "phones">, "phones">)

      • (params?): SeamHttpRequest<SetNonNullable<Required<{
            phones: {
                created_at: string;
                custom_metadata: Record<string, string | boolean>;
                device_id: string;
                device_type: "ios_phone" | "android_phone";
                display_name: string;
                errors: {
                    error_code: string;
                    message: string;
                }[];
                nickname?: string;
                properties: {
                    assa_abloy_credential_service_metadata?: {
                        endpoints: (...)[];
                        has_active_endpoint: boolean;
                    };
                    salto_space_credential_service_metadata?: {
                        has_active_phone: boolean;
                    };
                };
                warnings: {
                    message: string;
                    warning_code: string;
                }[];
                workspace_id: string;
            }[];
        }>, "phones">, "phones">
      • Parameters

        • Optionalparams: {
              acs_credential_id?: string;
              owner_user_identity_id?: string;
          }
          • Optionalacs_credential_id?: string

            ID of the credential by which you want to filter the list of returned phones.

          • Optionalowner_user_identity_id?: string

            ID of the user identity that represents the owner by which you want to filter the list of returned phones.

        Returns SeamHttpRequest<SetNonNullable<Required<{
            phones: {
                created_at: string;
                custom_metadata: Record<string, string | boolean>;
                device_id: string;
                device_type: "ios_phone" | "android_phone";
                display_name: string;
                errors: {
                    error_code: string;
                    message: string;
                }[];
                nickname?: string;
                properties: {
                    assa_abloy_credential_service_metadata?: {
                        endpoints: (...)[];
                        has_active_endpoint: boolean;
                    };
                    salto_space_credential_service_metadata?: {
                        has_active_phone: boolean;
                    };
                };
                warnings: {
                    message: string;
                    warning_code: string;
                }[];
                workspace_id: string;
            }[];
        }>, "phones">, "phones">

  • get /phones/simulate/create_sandbox_phone(): ((params?: {
        assa_abloy_metadata?: {
            application_version?: string;
            ble_capability?: boolean;
            hce_capability?: boolean;
            nfc_capability?: boolean;
            seos_applet_version?: string;
            seos_tsm_endpoint_id?: number;
        };
        custom_sdk_installation_id?: string;
        phone_metadata?: {
            device_manufacturer?: string;
            device_model?: string;
            operating_system?: "android" | "ios";
            os_version?: string;
        };
        user_identity_id: string;
    }) => SeamHttpRequest<SetNonNullable<Required<{
        phone: {
            created_at: string;
            custom_metadata: Record<string, string | boolean>;
            device_id: string;
            device_type: "ios_phone" | "android_phone";
            display_name: string;
            errors: {
                error_code: string;
                message: string;
            }[];
            nickname?: string;
            properties: {
                assa_abloy_credential_service_metadata?: {
                    endpoints: {
                        endpoint_id: ...;
                        is_active: ...;
                    }[];
                    has_active_endpoint: boolean;
                };
                salto_space_credential_service_metadata?: {
                    has_active_phone: boolean;
                };
            };
            warnings: {
                message: string;
                warning_code: string;
            }[];
            workspace_id: string;
        };
    }>, "phone">, "phone">)
  • Returns ((params?: {
        assa_abloy_metadata?: {
            application_version?: string;
            ble_capability?: boolean;
            hce_capability?: boolean;
            nfc_capability?: boolean;
            seos_applet_version?: string;
            seos_tsm_endpoint_id?: number;
        };
        custom_sdk_installation_id?: string;
        phone_metadata?: {
            device_manufacturer?: string;
            device_model?: string;
            operating_system?: "android" | "ios";
            os_version?: string;
        };
        user_identity_id: string;
    }) => SeamHttpRequest<SetNonNullable<Required<{
        phone: {
            created_at: string;
            custom_metadata: Record<string, string | boolean>;
            device_id: string;
            device_type: "ios_phone" | "android_phone";
            display_name: string;
            errors: {
                error_code: string;
                message: string;
            }[];
            nickname?: string;
            properties: {
                assa_abloy_credential_service_metadata?: {
                    endpoints: {
                        endpoint_id: ...;
                        is_active: ...;
                    }[];
                    has_active_endpoint: boolean;
                };
                salto_space_credential_service_metadata?: {
                    has_active_phone: boolean;
                };
            };
            warnings: {
                message: string;
                warning_code: string;
            }[];
            workspace_id: string;
        };
    }>, "phone">, "phone">)

      • (params?): SeamHttpRequest<SetNonNullable<Required<{
            phone: {
                created_at: string;
                custom_metadata: Record<string, string | boolean>;
                device_id: string;
                device_type: "ios_phone" | "android_phone";
                display_name: string;
                errors: {
                    error_code: string;
                    message: string;
                }[];
                nickname?: string;
                properties: {
                    assa_abloy_credential_service_metadata?: {
                        endpoints: {
                            endpoint_id: ...;
                            is_active: ...;
                        }[];
                        has_active_endpoint: boolean;
                    };
                    salto_space_credential_service_metadata?: {
                        has_active_phone: boolean;
                    };
                };
                warnings: {
                    message: string;
                    warning_code: string;
                }[];
                workspace_id: string;
            };
        }>, "phone">, "phone">
      • Parameters

        • Optionalparams: {
              assa_abloy_metadata?: {
                  application_version?: string;
                  ble_capability?: boolean;
                  hce_capability?: boolean;
                  nfc_capability?: boolean;
                  seos_applet_version?: string;
                  seos_tsm_endpoint_id?: number;
              };
              custom_sdk_installation_id?: string;
              phone_metadata?: {
                  device_manufacturer?: string;
                  device_model?: string;
                  operating_system?: "android" | "ios";
                  os_version?: string;
              };
              user_identity_id: string;
          }
          • Optionalassa_abloy_metadata?: {
                application_version?: string;
                ble_capability?: boolean;
                hce_capability?: boolean;
                nfc_capability?: boolean;
                seos_applet_version?: string;
                seos_tsm_endpoint_id?: number;
            }

            ASSA ABLOY metadata that you want to associate with the simulated phone.

            • Optionalapplication_version?: string

              Application version that you want to use for the simulated phone.

            • Optionalble_capability?: boolean

              Indicates whether the simulated phone should have Bluetooth low energy (BLE) capability.

            • Optionalhce_capability?: boolean

              Indicates whether the simulated phone should have host card emulation (HCE) capability.

            • Optionalnfc_capability?: boolean

              Indicates whether the simulated phone should have near-field communication (NFC) capability.

            • Optionalseos_applet_version?: string

              SEOS applet version that you want to use for the simulated phone.

            • Optionalseos_tsm_endpoint_id?: number

              ID of the SEOS trusted service manager (TSM) endpoint that you want to use for the simulated phone.

          • Optionalcustom_sdk_installation_id?: string

            ID of the custom SDK installation that you want to use for the simulated phone.

          • Optionalphone_metadata?: {
                device_manufacturer?: string;
                device_model?: string;
                operating_system?: "android" | "ios";
                os_version?: string;
            }

            Metadata that you want to associate with the simulated phone.

            • Optionaldevice_manufacturer?: string

              Manufacturer that you want to use for the simulated phone.

            • Optionaldevice_model?: string

              Device model that you want to use for the simulated phone.

            • Optionaloperating_system?: "android" | "ios"

              Mobile operating system that you want to use for the simulated phone.

            • Optionalos_version?: string

              Mobile operating system version that you want to use for the simulated phone.

          • user_identity_id: string

            ID of the user identity that you want to associate with the simulated phone.

        Returns SeamHttpRequest<SetNonNullable<Required<{
            phone: {
                created_at: string;
                custom_metadata: Record<string, string | boolean>;
                device_id: string;
                device_type: "ios_phone" | "android_phone";
                display_name: string;
                errors: {
                    error_code: string;
                    message: string;
                }[];
                nickname?: string;
                properties: {
                    assa_abloy_credential_service_metadata?: {
                        endpoints: {
                            endpoint_id: ...;
                            is_active: ...;
                        }[];
                        has_active_endpoint: boolean;
                    };
                    salto_space_credential_service_metadata?: {
                        has_active_phone: boolean;
                    };
                };
                warnings: {
                    message: string;
                    warning_code: string;
                }[];
                workspace_id: string;
            };
        }>, "phone">, "phone">

  • get /spaces/add_acs_entrances(): ((body?: {
        acs_entrance_ids: string[];
        space_id: string;
    }) => SeamHttpRequest<void, undefined>)
  • Returns ((body?: {
        acs_entrance_ids: string[];
        space_id: string;
    }) => SeamHttpRequest<void, undefined>)

      • (body?): SeamHttpRequest<void, undefined>
      • Parameters

        • Optionalbody: {
              acs_entrance_ids: string[];
              space_id: string;
          }
          • acs_entrance_ids: string[]

            IDs of the entrances that you want to add to the space.

          • space_id: string

            ID of the space to which you want to add entrances.

        Returns SeamHttpRequest<void, undefined>

  • get /spaces/add_devices(): ((body?: {
        device_ids: string[];
        space_id: string;
    }) => SeamHttpRequest<void, undefined>)
  • Returns ((body?: {
        device_ids: string[];
        space_id: string;
    }) => SeamHttpRequest<void, undefined>)

      • (body?): SeamHttpRequest<void, undefined>
      • Parameters

        • Optionalbody: {
              device_ids: string[];
              space_id: string;
          }
          • device_ids: string[]

            IDs of the devices that you want to add to the space.

          • space_id: string

            ID of the space to which you want to add devices.

        Returns SeamHttpRequest<void, undefined>

  • get /spaces/create(): ((body?: {
        acs_entrance_ids?: string[];
        device_ids?: string[];
        name: string;
    }) => SeamHttpRequest<SetNonNullable<Required<{
        space: {
            created_at: string;
            display_name: string;
            name: string;
            space_id: string;
            workspace_id: string;
        };
    }>, "space">, "space">)
  • Returns ((body?: {
        acs_entrance_ids?: string[];
        device_ids?: string[];
        name: string;
    }) => SeamHttpRequest<SetNonNullable<Required<{
        space: {
            created_at: string;
            display_name: string;
            name: string;
            space_id: string;
            workspace_id: string;
        };
    }>, "space">, "space">)

      • (body?): SeamHttpRequest<SetNonNullable<Required<{
            space: {
                created_at: string;
                display_name: string;
                name: string;
                space_id: string;
                workspace_id: string;
            };
        }>, "space">, "space">
      • Parameters

        • Optionalbody: {
              acs_entrance_ids?: string[];
              device_ids?: string[];
              name: string;
          }
          • Optionalacs_entrance_ids?: string[]

            IDs of the entrances that you want to add to the new space.

          • Optionaldevice_ids?: string[]

            IDs of the devices that you want to add to the new space.

          • name: string

            Name of the space that you want to create.

        Returns SeamHttpRequest<SetNonNullable<Required<{
            space: {
                created_at: string;
                display_name: string;
                name: string;
                space_id: string;
                workspace_id: string;
            };
        }>, "space">, "space">

  • get /spaces/delete(): ((params?: {
        space_id: string;
    }) => SeamHttpRequest<void, undefined>)
  • Returns ((params?: {
        space_id: string;
    }) => SeamHttpRequest<void, undefined>)

      • (params?): SeamHttpRequest<void, undefined>
      • Parameters

        • Optionalparams: {
              space_id: string;
          }
          • space_id: string

            ID of the space that you want to delete.

        Returns SeamHttpRequest<void, undefined>

  • get /spaces/get(): ((params?: {
        space_id: string;
    }) => SeamHttpRequest<SetNonNullable<Required<{
        space: {
            created_at: string;
            display_name: string;
            name: string;
            space_id: string;
            workspace_id: string;
        };
    }>, "space">, "space">)
  • Returns ((params?: {
        space_id: string;
    }) => SeamHttpRequest<SetNonNullable<Required<{
        space: {
            created_at: string;
            display_name: string;
            name: string;
            space_id: string;
            workspace_id: string;
        };
    }>, "space">, "space">)

      • (params?): SeamHttpRequest<SetNonNullable<Required<{
            space: {
                created_at: string;
                display_name: string;
                name: string;
                space_id: string;
                workspace_id: string;
            };
        }>, "space">, "space">
      • Parameters

        • Optionalparams: {
              space_id: string;
          }
          • space_id: string

            ID of the space that you want to get.

        Returns SeamHttpRequest<SetNonNullable<Required<{
            space: {
                created_at: string;
                display_name: string;
                name: string;
                space_id: string;
                workspace_id: string;
            };
        }>, "space">, "space">

  • get /spaces/list(): ((params?: {}) => SeamHttpRequest<SetNonNullable<Required<{
        spaces: {
            created_at: string;
            display_name: string;
            name: string;
            space_id: string;
            workspace_id: string;
        }[];
    }>, "spaces">, "spaces">)
  • Returns ((params?: {}) => SeamHttpRequest<SetNonNullable<Required<{
        spaces: {
            created_at: string;
            display_name: string;
            name: string;
            space_id: string;
            workspace_id: string;
        }[];
    }>, "spaces">, "spaces">)

      • (params?): SeamHttpRequest<SetNonNullable<Required<{
            spaces: {
                created_at: string;
                display_name: string;
                name: string;
                space_id: string;
                workspace_id: string;
            }[];
        }>, "spaces">, "spaces">
      • Parameters

        • Optionalparams: {}

          Returns SeamHttpRequest<SetNonNullable<Required<{
              spaces: {
                  created_at: string;
                  display_name: string;
                  name: string;
                  space_id: string;
                  workspace_id: string;
              }[];
          }>, "spaces">, "spaces">

    • get /spaces/remove_acs_entrances(): ((params?: {
          acs_entrance_ids: string[];
          space_id: string;
      }) => SeamHttpRequest<void, undefined>)
    • Returns ((params?: {
          acs_entrance_ids: string[];
          space_id: string;
      }) => SeamHttpRequest<void, undefined>)

        • (params?): SeamHttpRequest<void, undefined>
        • Parameters

          • Optionalparams: {
                acs_entrance_ids: string[];
                space_id: string;
            }
            • acs_entrance_ids: string[]

              IDs of the entrances that you want to remove from the space.

            • space_id: string

              ID of the space from which you want to remove entrances.

          Returns SeamHttpRequest<void, undefined>

    • get /spaces/remove_devices(): ((params?: {
          device_ids: string[];
          space_id: string;
      }) => SeamHttpRequest<void, undefined>)
    • Returns ((params?: {
          device_ids: string[];
          space_id: string;
      }) => SeamHttpRequest<void, undefined>)

        • (params?): SeamHttpRequest<void, undefined>
        • Parameters

          • Optionalparams: {
                device_ids: string[];
                space_id: string;
            }
            • device_ids: string[]

              IDs of the devices that you want to remove from the space.

            • space_id: string

              ID of the space from which you want to remove devices.

          Returns SeamHttpRequest<void, undefined>

    • get /spaces/update(): ((body?: {
          name?: string;
          space_id: string;
      }) => SeamHttpRequest<SetNonNullable<Required<{
          space: {
              created_at: string;
              display_name: string;
              name: string;
              space_id: string;
              workspace_id: string;
          };
      }>, "space">, "space">)
    • Returns ((body?: {
          name?: string;
          space_id: string;
      }) => SeamHttpRequest<SetNonNullable<Required<{
          space: {
              created_at: string;
              display_name: string;
              name: string;
              space_id: string;
              workspace_id: string;
          };
      }>, "space">, "space">)

        • (body?): SeamHttpRequest<SetNonNullable<Required<{
              space: {
                  created_at: string;
                  display_name: string;
                  name: string;
                  space_id: string;
                  workspace_id: string;
              };
          }>, "space">, "space">
        • Parameters

          • Optionalbody: {
                name?: string;
                space_id: string;
            }
            • Optionalname?: string

              Name of the space.

            • space_id: string

              ID of the space that you want to update.

          Returns SeamHttpRequest<SetNonNullable<Required<{
              space: {
                  created_at: string;
                  display_name: string;
                  name: string;
                  space_id: string;
                  workspace_id: string;
              };
          }>, "space">, "space">

    • get /thermostats/activate_climate_preset(): ((body?: {
          climate_preset_key: string;
          device_id: string;
      }, options?: ThermostatsActivateClimatePresetOptions) => SeamHttpRequest<SetNonNullable<Required<{
          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: (...) | (...);
                          created_at: (...) | (...);
                          ends_at: (...) | (...);
                          is_issued: (...) | (...) | (...);
                          starts_at: (...) | (...);
                          visionline_metadata?: (...) | (...);
                      };
                      acs_credential_on_seam: null | {
                          access_method: (...) | (...) | (...);
                          acs_credential_id: string;
                          acs_credential_pool_id?: (...) | (...);
                          acs_system_id: string;
                          acs_user_id?: (...) | (...);
                          assa_abloy_vostio_metadata?: (...) | (...);
                          card_number?: (...) | (...) | (...);
                          code?: (...) | (...) | (...);
                          created_at: string;
                          display_name: string;
                          ends_at?: (...) | (...);
                          errors: (...)[];
                          external_type?:
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...);
                          external_type_display_name?: (...) | (...);
                          is_issued?: (...) | (...) | (...);
                          is_latest_desired_state_synced_with_provider?:
                              | (...)
                              | (...)
                              | (...)
                              | (...);
                          is_managed: true;
                          is_multi_phone_sync_credential?: (...) | (...) | (...);
                          is_one_time_use?: (...) | (...) | (...);
                          issued_at?: (...) | (...) | (...);
                          latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                          parent_acs_credential_id?: (...) | (...);
                          starts_at?: (...) | (...);
                          visionline_metadata?: (...) | (...);
                          warnings: (...)[];
                          workspace_id: string;
                      } | {
                          access_method: (...) | (...) | (...);
                          acs_credential_id: string;
                          acs_credential_pool_id?: (...) | (...);
                          acs_system_id: string;
                          acs_user_id?: (...) | (...);
                          assa_abloy_vostio_metadata?: (...) | (...);
                          card_number?: (...) | (...) | (...);
                          code?: (...) | (...) | (...);
                          created_at: string;
                          display_name: string;
                          ends_at?: (...) | (...);
                          errors: (...)[];
                          external_type?:
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...);
                          external_type_display_name?: (...) | (...);
                          is_issued?: (...) | (...) | (...);
                          is_latest_desired_state_synced_with_provider?:
                              | (...)
                              | (...)
                              | (...)
                              | (...);
                          is_managed: false;
                          is_multi_phone_sync_credential?: (...) | (...) | (...);
                          is_one_time_use?: (...) | (...) | (...);
                          issued_at?: (...) | (...) | (...);
                          latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                          parent_acs_credential_id?: (...) | (...);
                          starts_at?: (...) | (...);
                          visionline_metadata?: (...) | (...);
                          warnings: (...)[];
                          workspace_id: string;
                      };
                      warnings: {
                          warning_code: (...) | (...);
                          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_ACCESS_METHOD";
                  error: null;
                  result: null;
                  status: "pending";
              }
              | {
                  action_attempt_id: string;
                  action_type: "ENCODE_ACCESS_METHOD";
                  error: null;
                  result: {
                      access_method_id: string;
                      created_at: string;
                      display_name: string;
                      instant_key_url?: string;
                      is_card_encoding_required?: boolean;
                      issued_at?: string;
                      mode: "code" | "card" | "mobile_key";
                      workspace_id: string;
                  };
                  status: "success";
              }
              | {
                  action_attempt_id: string;
                  action_type: "ENCODE_ACCESS_METHOD";
                  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: "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?: {
                          auto_join?: ...;
                          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"
                          | "latch_access";
                      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?: {
                          auto_join?: ...;
                          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"
                          | "latch_access";
                      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;
                  };
                  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: "SIMULATE_KEYPAD_CODE_ENTRY";
                  error: null;
                  result: null;
                  status: "pending";
              }
              | {
                  action_attempt_id: string;
                  action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                  error: null;
                  result: {};
                  status: "success";
              }
              | {
                  action_attempt_id: string;
                  action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                  error: {
                      message: string;
                      type: string;
                  };
                  result: null;
                  status: "error";
              }
              | {
                  action_attempt_id: string;
                  action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                  error: null;
                  result: null;
                  status: "pending";
              }
              | {
                  action_attempt_id: string;
                  action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                  error: null;
                  result: {};
                  status: "success";
              }
              | {
                  action_attempt_id: string;
                  action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                  error: {
                      message: string;
                      type: string;
                  };
                  result: null;
                  status: "error";
              }
              | {
                  action_attempt_id: string;
                  action_type: "PUSH_THERMOSTAT_PROGRAMS";
                  error: null;
                  result: null;
                  status: "pending";
              }
              | {
                  action_attempt_id: string;
                  action_type: "PUSH_THERMOSTAT_PROGRAMS";
                  error: null;
                  result: {};
                  status: "success";
              }
              | {
                  action_attempt_id: string;
                  action_type: "PUSH_THERMOSTAT_PROGRAMS";
                  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";
              };
      }>, "action_attempt">, "action_attempt">)
    • Returns ((body?: {
          climate_preset_key: string;
          device_id: string;
      }, options?: ThermostatsActivateClimatePresetOptions) => SeamHttpRequest<SetNonNullable<Required<{
          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: (...) | (...);
                          created_at: (...) | (...);
                          ends_at: (...) | (...);
                          is_issued: (...) | (...) | (...);
                          starts_at: (...) | (...);
                          visionline_metadata?: (...) | (...);
                      };
                      acs_credential_on_seam: null | {
                          access_method: (...) | (...) | (...);
                          acs_credential_id: string;
                          acs_credential_pool_id?: (...) | (...);
                          acs_system_id: string;
                          acs_user_id?: (...) | (...);
                          assa_abloy_vostio_metadata?: (...) | (...);
                          card_number?: (...) | (...) | (...);
                          code?: (...) | (...) | (...);
                          created_at: string;
                          display_name: string;
                          ends_at?: (...) | (...);
                          errors: (...)[];
                          external_type?:
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...);
                          external_type_display_name?: (...) | (...);
                          is_issued?: (...) | (...) | (...);
                          is_latest_desired_state_synced_with_provider?:
                              | (...)
                              | (...)
                              | (...)
                              | (...);
                          is_managed: true;
                          is_multi_phone_sync_credential?: (...) | (...) | (...);
                          is_one_time_use?: (...) | (...) | (...);
                          issued_at?: (...) | (...) | (...);
                          latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                          parent_acs_credential_id?: (...) | (...);
                          starts_at?: (...) | (...);
                          visionline_metadata?: (...) | (...);
                          warnings: (...)[];
                          workspace_id: string;
                      } | {
                          access_method: (...) | (...) | (...);
                          acs_credential_id: string;
                          acs_credential_pool_id?: (...) | (...);
                          acs_system_id: string;
                          acs_user_id?: (...) | (...);
                          assa_abloy_vostio_metadata?: (...) | (...);
                          card_number?: (...) | (...) | (...);
                          code?: (...) | (...) | (...);
                          created_at: string;
                          display_name: string;
                          ends_at?: (...) | (...);
                          errors: (...)[];
                          external_type?:
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...);
                          external_type_display_name?: (...) | (...);
                          is_issued?: (...) | (...) | (...);
                          is_latest_desired_state_synced_with_provider?:
                              | (...)
                              | (...)
                              | (...)
                              | (...);
                          is_managed: false;
                          is_multi_phone_sync_credential?: (...) | (...) | (...);
                          is_one_time_use?: (...) | (...) | (...);
                          issued_at?: (...) | (...) | (...);
                          latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                          parent_acs_credential_id?: (...) | (...);
                          starts_at?: (...) | (...);
                          visionline_metadata?: (...) | (...);
                          warnings: (...)[];
                          workspace_id: string;
                      };
                      warnings: {
                          warning_code: (...) | (...);
                          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_ACCESS_METHOD";
                  error: null;
                  result: null;
                  status: "pending";
              }
              | {
                  action_attempt_id: string;
                  action_type: "ENCODE_ACCESS_METHOD";
                  error: null;
                  result: {
                      access_method_id: string;
                      created_at: string;
                      display_name: string;
                      instant_key_url?: string;
                      is_card_encoding_required?: boolean;
                      issued_at?: string;
                      mode: "code" | "card" | "mobile_key";
                      workspace_id: string;
                  };
                  status: "success";
              }
              | {
                  action_attempt_id: string;
                  action_type: "ENCODE_ACCESS_METHOD";
                  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: "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?: {
                          auto_join?: ...;
                          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"
                          | "latch_access";
                      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?: {
                          auto_join?: ...;
                          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"
                          | "latch_access";
                      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;
                  };
                  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: "SIMULATE_KEYPAD_CODE_ENTRY";
                  error: null;
                  result: null;
                  status: "pending";
              }
              | {
                  action_attempt_id: string;
                  action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                  error: null;
                  result: {};
                  status: "success";
              }
              | {
                  action_attempt_id: string;
                  action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                  error: {
                      message: string;
                      type: string;
                  };
                  result: null;
                  status: "error";
              }
              | {
                  action_attempt_id: string;
                  action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                  error: null;
                  result: null;
                  status: "pending";
              }
              | {
                  action_attempt_id: string;
                  action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                  error: null;
                  result: {};
                  status: "success";
              }
              | {
                  action_attempt_id: string;
                  action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                  error: {
                      message: string;
                      type: string;
                  };
                  result: null;
                  status: "error";
              }
              | {
                  action_attempt_id: string;
                  action_type: "PUSH_THERMOSTAT_PROGRAMS";
                  error: null;
                  result: null;
                  status: "pending";
              }
              | {
                  action_attempt_id: string;
                  action_type: "PUSH_THERMOSTAT_PROGRAMS";
                  error: null;
                  result: {};
                  status: "success";
              }
              | {
                  action_attempt_id: string;
                  action_type: "PUSH_THERMOSTAT_PROGRAMS";
                  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";
              };
      }>, "action_attempt">, "action_attempt">)

        • (body?, options?): SeamHttpRequest<SetNonNullable<Required<{
              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: (...) | (...);
                              created_at: (...) | (...);
                              ends_at: (...) | (...);
                              is_issued: (...) | (...) | (...);
                              starts_at: (...) | (...);
                              visionline_metadata?: (...) | (...);
                          };
                          acs_credential_on_seam: null | {
                              access_method: (...) | (...) | (...);
                              acs_credential_id: string;
                              acs_credential_pool_id?: (...) | (...);
                              acs_system_id: string;
                              acs_user_id?: (...) | (...);
                              assa_abloy_vostio_metadata?: (...) | (...);
                              card_number?: (...) | (...) | (...);
                              code?: (...) | (...) | (...);
                              created_at: string;
                              display_name: string;
                              ends_at?: (...) | (...);
                              errors: (...)[];
                              external_type?:
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...);
                              external_type_display_name?: (...) | (...);
                              is_issued?: (...) | (...) | (...);
                              is_latest_desired_state_synced_with_provider?:
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...);
                              is_managed: true;
                              is_multi_phone_sync_credential?: (...) | (...) | (...);
                              is_one_time_use?: (...) | (...) | (...);
                              issued_at?: (...) | (...) | (...);
                              latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                              parent_acs_credential_id?: (...) | (...);
                              starts_at?: (...) | (...);
                              visionline_metadata?: (...) | (...);
                              warnings: (...)[];
                              workspace_id: string;
                          } | {
                              access_method: (...) | (...) | (...);
                              acs_credential_id: string;
                              acs_credential_pool_id?: (...) | (...);
                              acs_system_id: string;
                              acs_user_id?: (...) | (...);
                              assa_abloy_vostio_metadata?: (...) | (...);
                              card_number?: (...) | (...) | (...);
                              code?: (...) | (...) | (...);
                              created_at: string;
                              display_name: string;
                              ends_at?: (...) | (...);
                              errors: (...)[];
                              external_type?:
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...);
                              external_type_display_name?: (...) | (...);
                              is_issued?: (...) | (...) | (...);
                              is_latest_desired_state_synced_with_provider?:
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...);
                              is_managed: false;
                              is_multi_phone_sync_credential?: (...) | (...) | (...);
                              is_one_time_use?: (...) | (...) | (...);
                              issued_at?: (...) | (...) | (...);
                              latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                              parent_acs_credential_id?: (...) | (...);
                              starts_at?: (...) | (...);
                              visionline_metadata?: (...) | (...);
                              warnings: (...)[];
                              workspace_id: string;
                          };
                          warnings: {
                              warning_code: (...) | (...);
                              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_ACCESS_METHOD";
                      error: null;
                      result: null;
                      status: "pending";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "ENCODE_ACCESS_METHOD";
                      error: null;
                      result: {
                          access_method_id: string;
                          created_at: string;
                          display_name: string;
                          instant_key_url?: string;
                          is_card_encoding_required?: boolean;
                          issued_at?: string;
                          mode: "code" | "card" | "mobile_key";
                          workspace_id: string;
                      };
                      status: "success";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "ENCODE_ACCESS_METHOD";
                      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: "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?: {
                              auto_join?: ...;
                              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"
                              | "latch_access";
                          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?: {
                              auto_join?: ...;
                              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"
                              | "latch_access";
                          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;
                      };
                      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: "SIMULATE_KEYPAD_CODE_ENTRY";
                      error: null;
                      result: null;
                      status: "pending";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                      error: null;
                      result: {};
                      status: "success";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                      error: {
                          message: string;
                          type: string;
                      };
                      result: null;
                      status: "error";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                      error: null;
                      result: null;
                      status: "pending";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                      error: null;
                      result: {};
                      status: "success";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                      error: {
                          message: string;
                          type: string;
                      };
                      result: null;
                      status: "error";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "PUSH_THERMOSTAT_PROGRAMS";
                      error: null;
                      result: null;
                      status: "pending";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "PUSH_THERMOSTAT_PROGRAMS";
                      error: null;
                      result: {};
                      status: "success";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "PUSH_THERMOSTAT_PROGRAMS";
                      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";
                  };
          }>, "action_attempt">, "action_attempt">
        • Parameters

          • Optionalbody: {
                climate_preset_key: string;
                device_id: string;
            }
            • climate_preset_key: string

              Climate preset key of the climate preset that you want to activate.

            • device_id: string

              ID of the thermostat device for which you want to activate a climate preset.

          • options: ThermostatsActivateClimatePresetOptions = {}

          Returns SeamHttpRequest<SetNonNullable<Required<{
              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: (...) | (...);
                              created_at: (...) | (...);
                              ends_at: (...) | (...);
                              is_issued: (...) | (...) | (...);
                              starts_at: (...) | (...);
                              visionline_metadata?: (...) | (...);
                          };
                          acs_credential_on_seam: null | {
                              access_method: (...) | (...) | (...);
                              acs_credential_id: string;
                              acs_credential_pool_id?: (...) | (...);
                              acs_system_id: string;
                              acs_user_id?: (...) | (...);
                              assa_abloy_vostio_metadata?: (...) | (...);
                              card_number?: (...) | (...) | (...);
                              code?: (...) | (...) | (...);
                              created_at: string;
                              display_name: string;
                              ends_at?: (...) | (...);
                              errors: (...)[];
                              external_type?:
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...);
                              external_type_display_name?: (...) | (...);
                              is_issued?: (...) | (...) | (...);
                              is_latest_desired_state_synced_with_provider?:
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...);
                              is_managed: true;
                              is_multi_phone_sync_credential?: (...) | (...) | (...);
                              is_one_time_use?: (...) | (...) | (...);
                              issued_at?: (...) | (...) | (...);
                              latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                              parent_acs_credential_id?: (...) | (...);
                              starts_at?: (...) | (...);
                              visionline_metadata?: (...) | (...);
                              warnings: (...)[];
                              workspace_id: string;
                          } | {
                              access_method: (...) | (...) | (...);
                              acs_credential_id: string;
                              acs_credential_pool_id?: (...) | (...);
                              acs_system_id: string;
                              acs_user_id?: (...) | (...);
                              assa_abloy_vostio_metadata?: (...) | (...);
                              card_number?: (...) | (...) | (...);
                              code?: (...) | (...) | (...);
                              created_at: string;
                              display_name: string;
                              ends_at?: (...) | (...);
                              errors: (...)[];
                              external_type?:
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...);
                              external_type_display_name?: (...) | (...);
                              is_issued?: (...) | (...) | (...);
                              is_latest_desired_state_synced_with_provider?:
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...);
                              is_managed: false;
                              is_multi_phone_sync_credential?: (...) | (...) | (...);
                              is_one_time_use?: (...) | (...) | (...);
                              issued_at?: (...) | (...) | (...);
                              latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                              parent_acs_credential_id?: (...) | (...);
                              starts_at?: (...) | (...);
                              visionline_metadata?: (...) | (...);
                              warnings: (...)[];
                              workspace_id: string;
                          };
                          warnings: {
                              warning_code: (...) | (...);
                              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_ACCESS_METHOD";
                      error: null;
                      result: null;
                      status: "pending";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "ENCODE_ACCESS_METHOD";
                      error: null;
                      result: {
                          access_method_id: string;
                          created_at: string;
                          display_name: string;
                          instant_key_url?: string;
                          is_card_encoding_required?: boolean;
                          issued_at?: string;
                          mode: "code" | "card" | "mobile_key";
                          workspace_id: string;
                      };
                      status: "success";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "ENCODE_ACCESS_METHOD";
                      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: "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?: {
                              auto_join?: ...;
                              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"
                              | "latch_access";
                          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?: {
                              auto_join?: ...;
                              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"
                              | "latch_access";
                          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;
                      };
                      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: "SIMULATE_KEYPAD_CODE_ENTRY";
                      error: null;
                      result: null;
                      status: "pending";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                      error: null;
                      result: {};
                      status: "success";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                      error: {
                          message: string;
                          type: string;
                      };
                      result: null;
                      status: "error";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                      error: null;
                      result: null;
                      status: "pending";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                      error: null;
                      result: {};
                      status: "success";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                      error: {
                          message: string;
                          type: string;
                      };
                      result: null;
                      status: "error";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "PUSH_THERMOSTAT_PROGRAMS";
                      error: null;
                      result: null;
                      status: "pending";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "PUSH_THERMOSTAT_PROGRAMS";
                      error: null;
                      result: {};
                      status: "success";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "PUSH_THERMOSTAT_PROGRAMS";
                      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";
                  };
          }>, "action_attempt">, "action_attempt">

    • get /thermostats/cool(): ((body?: {
          cooling_set_point_celsius?: number;
          cooling_set_point_fahrenheit?: number;
          device_id: string;
          sync?: boolean;
      }, options?: ThermostatsCoolOptions) => SeamHttpRequest<SetNonNullable<Required<{
          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: (...) | (...);
                          created_at: (...) | (...);
                          ends_at: (...) | (...);
                          is_issued: (...) | (...) | (...);
                          starts_at: (...) | (...);
                          visionline_metadata?: (...) | (...);
                      };
                      acs_credential_on_seam: null | {
                          access_method: (...) | (...) | (...);
                          acs_credential_id: string;
                          acs_credential_pool_id?: (...) | (...);
                          acs_system_id: string;
                          acs_user_id?: (...) | (...);
                          assa_abloy_vostio_metadata?: (...) | (...);
                          card_number?: (...) | (...) | (...);
                          code?: (...) | (...) | (...);
                          created_at: string;
                          display_name: string;
                          ends_at?: (...) | (...);
                          errors: (...)[];
                          external_type?:
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...);
                          external_type_display_name?: (...) | (...);
                          is_issued?: (...) | (...) | (...);
                          is_latest_desired_state_synced_with_provider?:
                              | (...)
                              | (...)
                              | (...)
                              | (...);
                          is_managed: true;
                          is_multi_phone_sync_credential?: (...) | (...) | (...);
                          is_one_time_use?: (...) | (...) | (...);
                          issued_at?: (...) | (...) | (...);
                          latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                          parent_acs_credential_id?: (...) | (...);
                          starts_at?: (...) | (...);
                          visionline_metadata?: (...) | (...);
                          warnings: (...)[];
                          workspace_id: string;
                      } | {
                          access_method: (...) | (...) | (...);
                          acs_credential_id: string;
                          acs_credential_pool_id?: (...) | (...);
                          acs_system_id: string;
                          acs_user_id?: (...) | (...);
                          assa_abloy_vostio_metadata?: (...) | (...);
                          card_number?: (...) | (...) | (...);
                          code?: (...) | (...) | (...);
                          created_at: string;
                          display_name: string;
                          ends_at?: (...) | (...);
                          errors: (...)[];
                          external_type?:
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...);
                          external_type_display_name?: (...) | (...);
                          is_issued?: (...) | (...) | (...);
                          is_latest_desired_state_synced_with_provider?:
                              | (...)
                              | (...)
                              | (...)
                              | (...);
                          is_managed: false;
                          is_multi_phone_sync_credential?: (...) | (...) | (...);
                          is_one_time_use?: (...) | (...) | (...);
                          issued_at?: (...) | (...) | (...);
                          latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                          parent_acs_credential_id?: (...) | (...);
                          starts_at?: (...) | (...);
                          visionline_metadata?: (...) | (...);
                          warnings: (...)[];
                          workspace_id: string;
                      };
                      warnings: {
                          warning_code: (...) | (...);
                          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_ACCESS_METHOD";
                  error: null;
                  result: null;
                  status: "pending";
              }
              | {
                  action_attempt_id: string;
                  action_type: "ENCODE_ACCESS_METHOD";
                  error: null;
                  result: {
                      access_method_id: string;
                      created_at: string;
                      display_name: string;
                      instant_key_url?: string;
                      is_card_encoding_required?: boolean;
                      issued_at?: string;
                      mode: "code" | "card" | "mobile_key";
                      workspace_id: string;
                  };
                  status: "success";
              }
              | {
                  action_attempt_id: string;
                  action_type: "ENCODE_ACCESS_METHOD";
                  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: "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?: {
                          auto_join?: ...;
                          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"
                          | "latch_access";
                      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?: {
                          auto_join?: ...;
                          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"
                          | "latch_access";
                      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;
                  };
                  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: "SIMULATE_KEYPAD_CODE_ENTRY";
                  error: null;
                  result: null;
                  status: "pending";
              }
              | {
                  action_attempt_id: string;
                  action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                  error: null;
                  result: {};
                  status: "success";
              }
              | {
                  action_attempt_id: string;
                  action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                  error: {
                      message: string;
                      type: string;
                  };
                  result: null;
                  status: "error";
              }
              | {
                  action_attempt_id: string;
                  action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                  error: null;
                  result: null;
                  status: "pending";
              }
              | {
                  action_attempt_id: string;
                  action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                  error: null;
                  result: {};
                  status: "success";
              }
              | {
                  action_attempt_id: string;
                  action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                  error: {
                      message: string;
                      type: string;
                  };
                  result: null;
                  status: "error";
              }
              | {
                  action_attempt_id: string;
                  action_type: "PUSH_THERMOSTAT_PROGRAMS";
                  error: null;
                  result: null;
                  status: "pending";
              }
              | {
                  action_attempt_id: string;
                  action_type: "PUSH_THERMOSTAT_PROGRAMS";
                  error: null;
                  result: {};
                  status: "success";
              }
              | {
                  action_attempt_id: string;
                  action_type: "PUSH_THERMOSTAT_PROGRAMS";
                  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";
              };
      }>, "action_attempt">, "action_attempt">)
    • Returns ((body?: {
          cooling_set_point_celsius?: number;
          cooling_set_point_fahrenheit?: number;
          device_id: string;
          sync?: boolean;
      }, options?: ThermostatsCoolOptions) => SeamHttpRequest<SetNonNullable<Required<{
          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: (...) | (...);
                          created_at: (...) | (...);
                          ends_at: (...) | (...);
                          is_issued: (...) | (...) | (...);
                          starts_at: (...) | (...);
                          visionline_metadata?: (...) | (...);
                      };
                      acs_credential_on_seam: null | {
                          access_method: (...) | (...) | (...);
                          acs_credential_id: string;
                          acs_credential_pool_id?: (...) | (...);
                          acs_system_id: string;
                          acs_user_id?: (...) | (...);
                          assa_abloy_vostio_metadata?: (...) | (...);
                          card_number?: (...) | (...) | (...);
                          code?: (...) | (...) | (...);
                          created_at: string;
                          display_name: string;
                          ends_at?: (...) | (...);
                          errors: (...)[];
                          external_type?:
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...);
                          external_type_display_name?: (...) | (...);
                          is_issued?: (...) | (...) | (...);
                          is_latest_desired_state_synced_with_provider?:
                              | (...)
                              | (...)
                              | (...)
                              | (...);
                          is_managed: true;
                          is_multi_phone_sync_credential?: (...) | (...) | (...);
                          is_one_time_use?: (...) | (...) | (...);
                          issued_at?: (...) | (...) | (...);
                          latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                          parent_acs_credential_id?: (...) | (...);
                          starts_at?: (...) | (...);
                          visionline_metadata?: (...) | (...);
                          warnings: (...)[];
                          workspace_id: string;
                      } | {
                          access_method: (...) | (...) | (...);
                          acs_credential_id: string;
                          acs_credential_pool_id?: (...) | (...);
                          acs_system_id: string;
                          acs_user_id?: (...) | (...);
                          assa_abloy_vostio_metadata?: (...) | (...);
                          card_number?: (...) | (...) | (...);
                          code?: (...) | (...) | (...);
                          created_at: string;
                          display_name: string;
                          ends_at?: (...) | (...);
                          errors: (...)[];
                          external_type?:
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...);
                          external_type_display_name?: (...) | (...);
                          is_issued?: (...) | (...) | (...);
                          is_latest_desired_state_synced_with_provider?:
                              | (...)
                              | (...)
                              | (...)
                              | (...);
                          is_managed: false;
                          is_multi_phone_sync_credential?: (...) | (...) | (...);
                          is_one_time_use?: (...) | (...) | (...);
                          issued_at?: (...) | (...) | (...);
                          latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                          parent_acs_credential_id?: (...) | (...);
                          starts_at?: (...) | (...);
                          visionline_metadata?: (...) | (...);
                          warnings: (...)[];
                          workspace_id: string;
                      };
                      warnings: {
                          warning_code: (...) | (...);
                          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_ACCESS_METHOD";
                  error: null;
                  result: null;
                  status: "pending";
              }
              | {
                  action_attempt_id: string;
                  action_type: "ENCODE_ACCESS_METHOD";
                  error: null;
                  result: {
                      access_method_id: string;
                      created_at: string;
                      display_name: string;
                      instant_key_url?: string;
                      is_card_encoding_required?: boolean;
                      issued_at?: string;
                      mode: "code" | "card" | "mobile_key";
                      workspace_id: string;
                  };
                  status: "success";
              }
              | {
                  action_attempt_id: string;
                  action_type: "ENCODE_ACCESS_METHOD";
                  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: "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?: {
                          auto_join?: ...;
                          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"
                          | "latch_access";
                      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?: {
                          auto_join?: ...;
                          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"
                          | "latch_access";
                      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;
                  };
                  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: "SIMULATE_KEYPAD_CODE_ENTRY";
                  error: null;
                  result: null;
                  status: "pending";
              }
              | {
                  action_attempt_id: string;
                  action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                  error: null;
                  result: {};
                  status: "success";
              }
              | {
                  action_attempt_id: string;
                  action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                  error: {
                      message: string;
                      type: string;
                  };
                  result: null;
                  status: "error";
              }
              | {
                  action_attempt_id: string;
                  action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                  error: null;
                  result: null;
                  status: "pending";
              }
              | {
                  action_attempt_id: string;
                  action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                  error: null;
                  result: {};
                  status: "success";
              }
              | {
                  action_attempt_id: string;
                  action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                  error: {
                      message: string;
                      type: string;
                  };
                  result: null;
                  status: "error";
              }
              | {
                  action_attempt_id: string;
                  action_type: "PUSH_THERMOSTAT_PROGRAMS";
                  error: null;
                  result: null;
                  status: "pending";
              }
              | {
                  action_attempt_id: string;
                  action_type: "PUSH_THERMOSTAT_PROGRAMS";
                  error: null;
                  result: {};
                  status: "success";
              }
              | {
                  action_attempt_id: string;
                  action_type: "PUSH_THERMOSTAT_PROGRAMS";
                  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";
              };
      }>, "action_attempt">, "action_attempt">)

        • (body?, options?): SeamHttpRequest<SetNonNullable<Required<{
              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: (...) | (...);
                              created_at: (...) | (...);
                              ends_at: (...) | (...);
                              is_issued: (...) | (...) | (...);
                              starts_at: (...) | (...);
                              visionline_metadata?: (...) | (...);
                          };
                          acs_credential_on_seam: null | {
                              access_method: (...) | (...) | (...);
                              acs_credential_id: string;
                              acs_credential_pool_id?: (...) | (...);
                              acs_system_id: string;
                              acs_user_id?: (...) | (...);
                              assa_abloy_vostio_metadata?: (...) | (...);
                              card_number?: (...) | (...) | (...);
                              code?: (...) | (...) | (...);
                              created_at: string;
                              display_name: string;
                              ends_at?: (...) | (...);
                              errors: (...)[];
                              external_type?:
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...);
                              external_type_display_name?: (...) | (...);
                              is_issued?: (...) | (...) | (...);
                              is_latest_desired_state_synced_with_provider?:
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...);
                              is_managed: true;
                              is_multi_phone_sync_credential?: (...) | (...) | (...);
                              is_one_time_use?: (...) | (...) | (...);
                              issued_at?: (...) | (...) | (...);
                              latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                              parent_acs_credential_id?: (...) | (...);
                              starts_at?: (...) | (...);
                              visionline_metadata?: (...) | (...);
                              warnings: (...)[];
                              workspace_id: string;
                          } | {
                              access_method: (...) | (...) | (...);
                              acs_credential_id: string;
                              acs_credential_pool_id?: (...) | (...);
                              acs_system_id: string;
                              acs_user_id?: (...) | (...);
                              assa_abloy_vostio_metadata?: (...) | (...);
                              card_number?: (...) | (...) | (...);
                              code?: (...) | (...) | (...);
                              created_at: string;
                              display_name: string;
                              ends_at?: (...) | (...);
                              errors: (...)[];
                              external_type?:
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...);
                              external_type_display_name?: (...) | (...);
                              is_issued?: (...) | (...) | (...);
                              is_latest_desired_state_synced_with_provider?:
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...);
                              is_managed: false;
                              is_multi_phone_sync_credential?: (...) | (...) | (...);
                              is_one_time_use?: (...) | (...) | (...);
                              issued_at?: (...) | (...) | (...);
                              latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                              parent_acs_credential_id?: (...) | (...);
                              starts_at?: (...) | (...);
                              visionline_metadata?: (...) | (...);
                              warnings: (...)[];
                              workspace_id: string;
                          };
                          warnings: {
                              warning_code: (...) | (...);
                              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_ACCESS_METHOD";
                      error: null;
                      result: null;
                      status: "pending";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "ENCODE_ACCESS_METHOD";
                      error: null;
                      result: {
                          access_method_id: string;
                          created_at: string;
                          display_name: string;
                          instant_key_url?: string;
                          is_card_encoding_required?: boolean;
                          issued_at?: string;
                          mode: "code" | "card" | "mobile_key";
                          workspace_id: string;
                      };
                      status: "success";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "ENCODE_ACCESS_METHOD";
                      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: "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?: {
                              auto_join?: ...;
                              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"
                              | "latch_access";
                          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?: {
                              auto_join?: ...;
                              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"
                              | "latch_access";
                          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;
                      };
                      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: "SIMULATE_KEYPAD_CODE_ENTRY";
                      error: null;
                      result: null;
                      status: "pending";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                      error: null;
                      result: {};
                      status: "success";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                      error: {
                          message: string;
                          type: string;
                      };
                      result: null;
                      status: "error";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                      error: null;
                      result: null;
                      status: "pending";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                      error: null;
                      result: {};
                      status: "success";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                      error: {
                          message: string;
                          type: string;
                      };
                      result: null;
                      status: "error";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "PUSH_THERMOSTAT_PROGRAMS";
                      error: null;
                      result: null;
                      status: "pending";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "PUSH_THERMOSTAT_PROGRAMS";
                      error: null;
                      result: {};
                      status: "success";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "PUSH_THERMOSTAT_PROGRAMS";
                      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";
                  };
          }>, "action_attempt">, "action_attempt">
        • Parameters

          • Optionalbody: {
                cooling_set_point_celsius?: number;
                cooling_set_point_fahrenheit?: number;
                device_id: string;
                sync?: boolean;
            }
            • Optionalcooling_set_point_celsius?: number

              Cooling set point in °C that you want to set for the thermostat. You must set one of the cooling_set_point parameters.

            • Optionalcooling_set_point_fahrenheit?: number

              Cooling set point in °F that you want to set for the thermostat. You must set one of the cooling_set_point parameters.

            • device_id: string

              ID of the thermostat device that you want to set to cool mode.

            • Optionalsync?: boolean
          • options: ThermostatsCoolOptions = {}

          Returns SeamHttpRequest<SetNonNullable<Required<{
              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: (...) | (...);
                              created_at: (...) | (...);
                              ends_at: (...) | (...);
                              is_issued: (...) | (...) | (...);
                              starts_at: (...) | (...);
                              visionline_metadata?: (...) | (...);
                          };
                          acs_credential_on_seam: null | {
                              access_method: (...) | (...) | (...);
                              acs_credential_id: string;
                              acs_credential_pool_id?: (...) | (...);
                              acs_system_id: string;
                              acs_user_id?: (...) | (...);
                              assa_abloy_vostio_metadata?: (...) | (...);
                              card_number?: (...) | (...) | (...);
                              code?: (...) | (...) | (...);
                              created_at: string;
                              display_name: string;
                              ends_at?: (...) | (...);
                              errors: (...)[];
                              external_type?:
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...);
                              external_type_display_name?: (...) | (...);
                              is_issued?: (...) | (...) | (...);
                              is_latest_desired_state_synced_with_provider?:
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...);
                              is_managed: true;
                              is_multi_phone_sync_credential?: (...) | (...) | (...);
                              is_one_time_use?: (...) | (...) | (...);
                              issued_at?: (...) | (...) | (...);
                              latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                              parent_acs_credential_id?: (...) | (...);
                              starts_at?: (...) | (...);
                              visionline_metadata?: (...) | (...);
                              warnings: (...)[];
                              workspace_id: string;
                          } | {
                              access_method: (...) | (...) | (...);
                              acs_credential_id: string;
                              acs_credential_pool_id?: (...) | (...);
                              acs_system_id: string;
                              acs_user_id?: (...) | (...);
                              assa_abloy_vostio_metadata?: (...) | (...);
                              card_number?: (...) | (...) | (...);
                              code?: (...) | (...) | (...);
                              created_at: string;
                              display_name: string;
                              ends_at?: (...) | (...);
                              errors: (...)[];
                              external_type?:
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...);
                              external_type_display_name?: (...) | (...);
                              is_issued?: (...) | (...) | (...);
                              is_latest_desired_state_synced_with_provider?:
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...);
                              is_managed: false;
                              is_multi_phone_sync_credential?: (...) | (...) | (...);
                              is_one_time_use?: (...) | (...) | (...);
                              issued_at?: (...) | (...) | (...);
                              latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                              parent_acs_credential_id?: (...) | (...);
                              starts_at?: (...) | (...);
                              visionline_metadata?: (...) | (...);
                              warnings: (...)[];
                              workspace_id: string;
                          };
                          warnings: {
                              warning_code: (...) | (...);
                              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_ACCESS_METHOD";
                      error: null;
                      result: null;
                      status: "pending";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "ENCODE_ACCESS_METHOD";
                      error: null;
                      result: {
                          access_method_id: string;
                          created_at: string;
                          display_name: string;
                          instant_key_url?: string;
                          is_card_encoding_required?: boolean;
                          issued_at?: string;
                          mode: "code" | "card" | "mobile_key";
                          workspace_id: string;
                      };
                      status: "success";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "ENCODE_ACCESS_METHOD";
                      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: "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?: {
                              auto_join?: ...;
                              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"
                              | "latch_access";
                          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?: {
                              auto_join?: ...;
                              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"
                              | "latch_access";
                          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;
                      };
                      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: "SIMULATE_KEYPAD_CODE_ENTRY";
                      error: null;
                      result: null;
                      status: "pending";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                      error: null;
                      result: {};
                      status: "success";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                      error: {
                          message: string;
                          type: string;
                      };
                      result: null;
                      status: "error";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                      error: null;
                      result: null;
                      status: "pending";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                      error: null;
                      result: {};
                      status: "success";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                      error: {
                          message: string;
                          type: string;
                      };
                      result: null;
                      status: "error";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "PUSH_THERMOSTAT_PROGRAMS";
                      error: null;
                      result: null;
                      status: "pending";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "PUSH_THERMOSTAT_PROGRAMS";
                      error: null;
                      result: {};
                      status: "success";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "PUSH_THERMOSTAT_PROGRAMS";
                      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";
                  };
          }>, "action_attempt">, "action_attempt">

    • get /thermostats/create_climate_preset(): ((body?: {
          climate_preset_key: string;
          cooling_set_point_celsius?: number;
          cooling_set_point_fahrenheit?: number;
          device_id: string;
          fan_mode_setting?: "auto" | "on" | "circulate";
          heating_set_point_celsius?: number;
          heating_set_point_fahrenheit?: number;
          hvac_mode_setting?:
              | "cool"
              | "heat"
              | "off"
              | "heat_cool";
          manual_override_allowed?: boolean;
          name?: null | string;
      }) => SeamHttpRequest<void, undefined>)
    • Returns ((body?: {
          climate_preset_key: string;
          cooling_set_point_celsius?: number;
          cooling_set_point_fahrenheit?: number;
          device_id: string;
          fan_mode_setting?: "auto" | "on" | "circulate";
          heating_set_point_celsius?: number;
          heating_set_point_fahrenheit?: number;
          hvac_mode_setting?:
              | "cool"
              | "heat"
              | "off"
              | "heat_cool";
          manual_override_allowed?: boolean;
          name?: null | string;
      }) => SeamHttpRequest<void, undefined>)

        • (body?): SeamHttpRequest<void, undefined>
        • Parameters

          • Optionalbody: {
                climate_preset_key: string;
                cooling_set_point_celsius?: number;
                cooling_set_point_fahrenheit?: number;
                device_id: string;
                fan_mode_setting?: "auto" | "on" | "circulate";
                heating_set_point_celsius?: number;
                heating_set_point_fahrenheit?: number;
                hvac_mode_setting?:
                    | "cool"
                    | "heat"
                    | "off"
                    | "heat_cool";
                manual_override_allowed?: boolean;
                name?: null | string;
            }
            • climate_preset_key: string

              Unique key to identify the climate preset.

            • Optionalcooling_set_point_celsius?: number

              Temperature to which the thermostat should cool (in °C). See also Set Points.

            • Optionalcooling_set_point_fahrenheit?: number

              Temperature to which the thermostat should cool (in °F). See also Set Points.

            • device_id: string

              ID of the thermostat device for which you want create a climate preset.

            • Optionalfan_mode_setting?: "auto" | "on" | "circulate"

              Desired fan mode setting, such as on, auto, or circulate.

            • Optionalheating_set_point_celsius?: number

              Temperature to which the thermostat should heat (in °C). See also Set Points.

            • Optionalheating_set_point_fahrenheit?: number

              Temperature to which the thermostat should heat (in °F). See also Set Points.

            • Optionalhvac_mode_setting?:
                  | "cool"
                  | "heat"
                  | "off"
                  | "heat_cool"

              Desired HVAC mode setting, such as heat, cool, heat_cool, or off.

            • Optionalmanual_override_allowed?: boolean

              Indicates whether a person at the thermostat or using the API can change the thermostat's settings.

              Use 'thermostat_schedule.is_override_allowed'

            • Optionalname?: null | string

              User-friendly name to identify the climate preset.

          Returns SeamHttpRequest<void, undefined>

    • get /thermostats/daily_programs/create(): ((body?: {
          device_id: string;
          name: string;
          periods: {
              climate_preset_key: string;
              starts_at_time: string;
          }[];
      }) => SeamHttpRequest<SetNonNullable<Required<{
          thermostat_daily_program: {
              created_at: string;
              device_id: string;
              name: null | string;
              periods: {
                  climate_preset_key: string;
                  starts_at_time: string;
              }[];
              thermostat_daily_program_id: string;
              workspace_id: string;
          };
      }>, "thermostat_daily_program">, "thermostat_daily_program">)
    • Returns ((body?: {
          device_id: string;
          name: string;
          periods: {
              climate_preset_key: string;
              starts_at_time: string;
          }[];
      }) => SeamHttpRequest<SetNonNullable<Required<{
          thermostat_daily_program: {
              created_at: string;
              device_id: string;
              name: null | string;
              periods: {
                  climate_preset_key: string;
                  starts_at_time: string;
              }[];
              thermostat_daily_program_id: string;
              workspace_id: string;
          };
      }>, "thermostat_daily_program">, "thermostat_daily_program">)

        • (body?): SeamHttpRequest<SetNonNullable<Required<{
              thermostat_daily_program: {
                  created_at: string;
                  device_id: string;
                  name: null | string;
                  periods: {
                      climate_preset_key: string;
                      starts_at_time: string;
                  }[];
                  thermostat_daily_program_id: string;
                  workspace_id: string;
              };
          }>, "thermostat_daily_program">, "thermostat_daily_program">
        • Parameters

          • Optionalbody: {
                device_id: string;
                name: string;
                periods: {
                    climate_preset_key: string;
                    starts_at_time: string;
                }[];
            }
            • device_id: string

              ID of the thermostat device for which you want to create a daily program.

            • name: string

              Name of the thermostat daily program.

            • periods: {
                  climate_preset_key: string;
                  starts_at_time: string;
              }[]

              Array of thermostat daily program periods.

          Returns SeamHttpRequest<SetNonNullable<Required<{
              thermostat_daily_program: {
                  created_at: string;
                  device_id: string;
                  name: null | string;
                  periods: {
                      climate_preset_key: string;
                      starts_at_time: string;
                  }[];
                  thermostat_daily_program_id: string;
                  workspace_id: string;
              };
          }>, "thermostat_daily_program">, "thermostat_daily_program">

    • get /thermostats/daily_programs/delete(): ((params?: {
          thermostat_daily_program_id: string;
      }) => SeamHttpRequest<void, undefined>)
    • Returns ((params?: {
          thermostat_daily_program_id: string;
      }) => SeamHttpRequest<void, undefined>)

        • (params?): SeamHttpRequest<void, undefined>
        • Parameters

          • Optionalparams: {
                thermostat_daily_program_id: string;
            }
            • thermostat_daily_program_id: string

              ID of the thermostat daily program that you want to delete.

          Returns SeamHttpRequest<void, undefined>

    • get /thermostats/daily_programs/update(): ((body?: {
          name: string;
          periods: {
              climate_preset_key: string;
              starts_at_time: string;
          }[];
          thermostat_daily_program_id: string;
      }, options?: ThermostatsDailyProgramsUpdateOptions) => SeamHttpRequest<SetNonNullable<Required<{
          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: (...) | (...);
                          created_at: (...) | (...);
                          ends_at: (...) | (...);
                          is_issued: (...) | (...) | (...);
                          starts_at: (...) | (...);
                          visionline_metadata?: (...) | (...);
                      };
                      acs_credential_on_seam: null | {
                          access_method: (...) | (...) | (...);
                          acs_credential_id: string;
                          acs_credential_pool_id?: (...) | (...);
                          acs_system_id: string;
                          acs_user_id?: (...) | (...);
                          assa_abloy_vostio_metadata?: (...) | (...);
                          card_number?: (...) | (...) | (...);
                          code?: (...) | (...) | (...);
                          created_at: string;
                          display_name: string;
                          ends_at?: (...) | (...);
                          errors: (...)[];
                          external_type?:
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...);
                          external_type_display_name?: (...) | (...);
                          is_issued?: (...) | (...) | (...);
                          is_latest_desired_state_synced_with_provider?:
                              | (...)
                              | (...)
                              | (...)
                              | (...);
                          is_managed: true;
                          is_multi_phone_sync_credential?: (...) | (...) | (...);
                          is_one_time_use?: (...) | (...) | (...);
                          issued_at?: (...) | (...) | (...);
                          latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                          parent_acs_credential_id?: (...) | (...);
                          starts_at?: (...) | (...);
                          visionline_metadata?: (...) | (...);
                          warnings: (...)[];
                          workspace_id: string;
                      } | {
                          access_method: (...) | (...) | (...);
                          acs_credential_id: string;
                          acs_credential_pool_id?: (...) | (...);
                          acs_system_id: string;
                          acs_user_id?: (...) | (...);
                          assa_abloy_vostio_metadata?: (...) | (...);
                          card_number?: (...) | (...) | (...);
                          code?: (...) | (...) | (...);
                          created_at: string;
                          display_name: string;
                          ends_at?: (...) | (...);
                          errors: (...)[];
                          external_type?:
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...);
                          external_type_display_name?: (...) | (...);
                          is_issued?: (...) | (...) | (...);
                          is_latest_desired_state_synced_with_provider?:
                              | (...)
                              | (...)
                              | (...)
                              | (...);
                          is_managed: false;
                          is_multi_phone_sync_credential?: (...) | (...) | (...);
                          is_one_time_use?: (...) | (...) | (...);
                          issued_at?: (...) | (...) | (...);
                          latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                          parent_acs_credential_id?: (...) | (...);
                          starts_at?: (...) | (...);
                          visionline_metadata?: (...) | (...);
                          warnings: (...)[];
                          workspace_id: string;
                      };
                      warnings: {
                          warning_code: (...) | (...);
                          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_ACCESS_METHOD";
                  error: null;
                  result: null;
                  status: "pending";
              }
              | {
                  action_attempt_id: string;
                  action_type: "ENCODE_ACCESS_METHOD";
                  error: null;
                  result: {
                      access_method_id: string;
                      created_at: string;
                      display_name: string;
                      instant_key_url?: string;
                      is_card_encoding_required?: boolean;
                      issued_at?: string;
                      mode: "code" | "card" | "mobile_key";
                      workspace_id: string;
                  };
                  status: "success";
              }
              | {
                  action_attempt_id: string;
                  action_type: "ENCODE_ACCESS_METHOD";
                  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: "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?: {
                          auto_join?: ...;
                          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"
                          | "latch_access";
                      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?: {
                          auto_join?: ...;
                          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"
                          | "latch_access";
                      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;
                  };
                  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: "SIMULATE_KEYPAD_CODE_ENTRY";
                  error: null;
                  result: null;
                  status: "pending";
              }
              | {
                  action_attempt_id: string;
                  action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                  error: null;
                  result: {};
                  status: "success";
              }
              | {
                  action_attempt_id: string;
                  action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                  error: {
                      message: string;
                      type: string;
                  };
                  result: null;
                  status: "error";
              }
              | {
                  action_attempt_id: string;
                  action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                  error: null;
                  result: null;
                  status: "pending";
              }
              | {
                  action_attempt_id: string;
                  action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                  error: null;
                  result: {};
                  status: "success";
              }
              | {
                  action_attempt_id: string;
                  action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                  error: {
                      message: string;
                      type: string;
                  };
                  result: null;
                  status: "error";
              }
              | {
                  action_attempt_id: string;
                  action_type: "PUSH_THERMOSTAT_PROGRAMS";
                  error: null;
                  result: null;
                  status: "pending";
              }
              | {
                  action_attempt_id: string;
                  action_type: "PUSH_THERMOSTAT_PROGRAMS";
                  error: null;
                  result: {};
                  status: "success";
              }
              | {
                  action_attempt_id: string;
                  action_type: "PUSH_THERMOSTAT_PROGRAMS";
                  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";
              };
      }>, "action_attempt">, "action_attempt">)
    • Returns ((body?: {
          name: string;
          periods: {
              climate_preset_key: string;
              starts_at_time: string;
          }[];
          thermostat_daily_program_id: string;
      }, options?: ThermostatsDailyProgramsUpdateOptions) => SeamHttpRequest<SetNonNullable<Required<{
          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: (...) | (...);
                          created_at: (...) | (...);
                          ends_at: (...) | (...);
                          is_issued: (...) | (...) | (...);
                          starts_at: (...) | (...);
                          visionline_metadata?: (...) | (...);
                      };
                      acs_credential_on_seam: null | {
                          access_method: (...) | (...) | (...);
                          acs_credential_id: string;
                          acs_credential_pool_id?: (...) | (...);
                          acs_system_id: string;
                          acs_user_id?: (...) | (...);
                          assa_abloy_vostio_metadata?: (...) | (...);
                          card_number?: (...) | (...) | (...);
                          code?: (...) | (...) | (...);
                          created_at: string;
                          display_name: string;
                          ends_at?: (...) | (...);
                          errors: (...)[];
                          external_type?:
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...);
                          external_type_display_name?: (...) | (...);
                          is_issued?: (...) | (...) | (...);
                          is_latest_desired_state_synced_with_provider?:
                              | (...)
                              | (...)
                              | (...)
                              | (...);
                          is_managed: true;
                          is_multi_phone_sync_credential?: (...) | (...) | (...);
                          is_one_time_use?: (...) | (...) | (...);
                          issued_at?: (...) | (...) | (...);
                          latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                          parent_acs_credential_id?: (...) | (...);
                          starts_at?: (...) | (...);
                          visionline_metadata?: (...) | (...);
                          warnings: (...)[];
                          workspace_id: string;
                      } | {
                          access_method: (...) | (...) | (...);
                          acs_credential_id: string;
                          acs_credential_pool_id?: (...) | (...);
                          acs_system_id: string;
                          acs_user_id?: (...) | (...);
                          assa_abloy_vostio_metadata?: (...) | (...);
                          card_number?: (...) | (...) | (...);
                          code?: (...) | (...) | (...);
                          created_at: string;
                          display_name: string;
                          ends_at?: (...) | (...);
                          errors: (...)[];
                          external_type?:
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...);
                          external_type_display_name?: (...) | (...);
                          is_issued?: (...) | (...) | (...);
                          is_latest_desired_state_synced_with_provider?:
                              | (...)
                              | (...)
                              | (...)
                              | (...);
                          is_managed: false;
                          is_multi_phone_sync_credential?: (...) | (...) | (...);
                          is_one_time_use?: (...) | (...) | (...);
                          issued_at?: (...) | (...) | (...);
                          latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                          parent_acs_credential_id?: (...) | (...);
                          starts_at?: (...) | (...);
                          visionline_metadata?: (...) | (...);
                          warnings: (...)[];
                          workspace_id: string;
                      };
                      warnings: {
                          warning_code: (...) | (...);
                          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_ACCESS_METHOD";
                  error: null;
                  result: null;
                  status: "pending";
              }
              | {
                  action_attempt_id: string;
                  action_type: "ENCODE_ACCESS_METHOD";
                  error: null;
                  result: {
                      access_method_id: string;
                      created_at: string;
                      display_name: string;
                      instant_key_url?: string;
                      is_card_encoding_required?: boolean;
                      issued_at?: string;
                      mode: "code" | "card" | "mobile_key";
                      workspace_id: string;
                  };
                  status: "success";
              }
              | {
                  action_attempt_id: string;
                  action_type: "ENCODE_ACCESS_METHOD";
                  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: "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?: {
                          auto_join?: ...;
                          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"
                          | "latch_access";
                      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?: {
                          auto_join?: ...;
                          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"
                          | "latch_access";
                      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;
                  };
                  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: "SIMULATE_KEYPAD_CODE_ENTRY";
                  error: null;
                  result: null;
                  status: "pending";
              }
              | {
                  action_attempt_id: string;
                  action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                  error: null;
                  result: {};
                  status: "success";
              }
              | {
                  action_attempt_id: string;
                  action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                  error: {
                      message: string;
                      type: string;
                  };
                  result: null;
                  status: "error";
              }
              | {
                  action_attempt_id: string;
                  action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                  error: null;
                  result: null;
                  status: "pending";
              }
              | {
                  action_attempt_id: string;
                  action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                  error: null;
                  result: {};
                  status: "success";
              }
              | {
                  action_attempt_id: string;
                  action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                  error: {
                      message: string;
                      type: string;
                  };
                  result: null;
                  status: "error";
              }
              | {
                  action_attempt_id: string;
                  action_type: "PUSH_THERMOSTAT_PROGRAMS";
                  error: null;
                  result: null;
                  status: "pending";
              }
              | {
                  action_attempt_id: string;
                  action_type: "PUSH_THERMOSTAT_PROGRAMS";
                  error: null;
                  result: {};
                  status: "success";
              }
              | {
                  action_attempt_id: string;
                  action_type: "PUSH_THERMOSTAT_PROGRAMS";
                  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";
              };
      }>, "action_attempt">, "action_attempt">)

        • (body?, options?): SeamHttpRequest<SetNonNullable<Required<{
              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: (...) | (...);
                              created_at: (...) | (...);
                              ends_at: (...) | (...);
                              is_issued: (...) | (...) | (...);
                              starts_at: (...) | (...);
                              visionline_metadata?: (...) | (...);
                          };
                          acs_credential_on_seam: null | {
                              access_method: (...) | (...) | (...);
                              acs_credential_id: string;
                              acs_credential_pool_id?: (...) | (...);
                              acs_system_id: string;
                              acs_user_id?: (...) | (...);
                              assa_abloy_vostio_metadata?: (...) | (...);
                              card_number?: (...) | (...) | (...);
                              code?: (...) | (...) | (...);
                              created_at: string;
                              display_name: string;
                              ends_at?: (...) | (...);
                              errors: (...)[];
                              external_type?:
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...);
                              external_type_display_name?: (...) | (...);
                              is_issued?: (...) | (...) | (...);
                              is_latest_desired_state_synced_with_provider?:
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...);
                              is_managed: true;
                              is_multi_phone_sync_credential?: (...) | (...) | (...);
                              is_one_time_use?: (...) | (...) | (...);
                              issued_at?: (...) | (...) | (...);
                              latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                              parent_acs_credential_id?: (...) | (...);
                              starts_at?: (...) | (...);
                              visionline_metadata?: (...) | (...);
                              warnings: (...)[];
                              workspace_id: string;
                          } | {
                              access_method: (...) | (...) | (...);
                              acs_credential_id: string;
                              acs_credential_pool_id?: (...) | (...);
                              acs_system_id: string;
                              acs_user_id?: (...) | (...);
                              assa_abloy_vostio_metadata?: (...) | (...);
                              card_number?: (...) | (...) | (...);
                              code?: (...) | (...) | (...);
                              created_at: string;
                              display_name: string;
                              ends_at?: (...) | (...);
                              errors: (...)[];
                              external_type?:
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...);
                              external_type_display_name?: (...) | (...);
                              is_issued?: (...) | (...) | (...);
                              is_latest_desired_state_synced_with_provider?:
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...);
                              is_managed: false;
                              is_multi_phone_sync_credential?: (...) | (...) | (...);
                              is_one_time_use?: (...) | (...) | (...);
                              issued_at?: (...) | (...) | (...);
                              latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                              parent_acs_credential_id?: (...) | (...);
                              starts_at?: (...) | (...);
                              visionline_metadata?: (...) | (...);
                              warnings: (...)[];
                              workspace_id: string;
                          };
                          warnings: {
                              warning_code: (...) | (...);
                              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_ACCESS_METHOD";
                      error: null;
                      result: null;
                      status: "pending";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "ENCODE_ACCESS_METHOD";
                      error: null;
                      result: {
                          access_method_id: string;
                          created_at: string;
                          display_name: string;
                          instant_key_url?: string;
                          is_card_encoding_required?: boolean;
                          issued_at?: string;
                          mode: "code" | "card" | "mobile_key";
                          workspace_id: string;
                      };
                      status: "success";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "ENCODE_ACCESS_METHOD";
                      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: "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?: {
                              auto_join?: ...;
                              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"
                              | "latch_access";
                          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?: {
                              auto_join?: ...;
                              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"
                              | "latch_access";
                          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;
                      };
                      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: "SIMULATE_KEYPAD_CODE_ENTRY";
                      error: null;
                      result: null;
                      status: "pending";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                      error: null;
                      result: {};
                      status: "success";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                      error: {
                          message: string;
                          type: string;
                      };
                      result: null;
                      status: "error";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                      error: null;
                      result: null;
                      status: "pending";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                      error: null;
                      result: {};
                      status: "success";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                      error: {
                          message: string;
                          type: string;
                      };
                      result: null;
                      status: "error";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "PUSH_THERMOSTAT_PROGRAMS";
                      error: null;
                      result: null;
                      status: "pending";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "PUSH_THERMOSTAT_PROGRAMS";
                      error: null;
                      result: {};
                      status: "success";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "PUSH_THERMOSTAT_PROGRAMS";
                      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";
                  };
          }>, "action_attempt">, "action_attempt">
        • Parameters

          • Optionalbody: {
                name: string;
                periods: {
                    climate_preset_key: string;
                    starts_at_time: string;
                }[];
                thermostat_daily_program_id: string;
            }
            • name: string

              Name of the thermostat daily program that you want to update.

            • periods: {
                  climate_preset_key: string;
                  starts_at_time: string;
              }[]

              Array of thermostat daily program periods. The periods that you specify overwrite any existing periods for the daily program.

            • thermostat_daily_program_id: string

              ID of the thermostat daily program that you want to update.

          • options: ThermostatsDailyProgramsUpdateOptions = {}

          Returns SeamHttpRequest<SetNonNullable<Required<{
              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: (...) | (...);
                              created_at: (...) | (...);
                              ends_at: (...) | (...);
                              is_issued: (...) | (...) | (...);
                              starts_at: (...) | (...);
                              visionline_metadata?: (...) | (...);
                          };
                          acs_credential_on_seam: null | {
                              access_method: (...) | (...) | (...);
                              acs_credential_id: string;
                              acs_credential_pool_id?: (...) | (...);
                              acs_system_id: string;
                              acs_user_id?: (...) | (...);
                              assa_abloy_vostio_metadata?: (...) | (...);
                              card_number?: (...) | (...) | (...);
                              code?: (...) | (...) | (...);
                              created_at: string;
                              display_name: string;
                              ends_at?: (...) | (...);
                              errors: (...)[];
                              external_type?:
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...);
                              external_type_display_name?: (...) | (...);
                              is_issued?: (...) | (...) | (...);
                              is_latest_desired_state_synced_with_provider?:
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...);
                              is_managed: true;
                              is_multi_phone_sync_credential?: (...) | (...) | (...);
                              is_one_time_use?: (...) | (...) | (...);
                              issued_at?: (...) | (...) | (...);
                              latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                              parent_acs_credential_id?: (...) | (...);
                              starts_at?: (...) | (...);
                              visionline_metadata?: (...) | (...);
                              warnings: (...)[];
                              workspace_id: string;
                          } | {
                              access_method: (...) | (...) | (...);
                              acs_credential_id: string;
                              acs_credential_pool_id?: (...) | (...);
                              acs_system_id: string;
                              acs_user_id?: (...) | (...);
                              assa_abloy_vostio_metadata?: (...) | (...);
                              card_number?: (...) | (...) | (...);
                              code?: (...) | (...) | (...);
                              created_at: string;
                              display_name: string;
                              ends_at?: (...) | (...);
                              errors: (...)[];
                              external_type?:
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...);
                              external_type_display_name?: (...) | (...);
                              is_issued?: (...) | (...) | (...);
                              is_latest_desired_state_synced_with_provider?:
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...);
                              is_managed: false;
                              is_multi_phone_sync_credential?: (...) | (...) | (...);
                              is_one_time_use?: (...) | (...) | (...);
                              issued_at?: (...) | (...) | (...);
                              latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                              parent_acs_credential_id?: (...) | (...);
                              starts_at?: (...) | (...);
                              visionline_metadata?: (...) | (...);
                              warnings: (...)[];
                              workspace_id: string;
                          };
                          warnings: {
                              warning_code: (...) | (...);
                              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_ACCESS_METHOD";
                      error: null;
                      result: null;
                      status: "pending";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "ENCODE_ACCESS_METHOD";
                      error: null;
                      result: {
                          access_method_id: string;
                          created_at: string;
                          display_name: string;
                          instant_key_url?: string;
                          is_card_encoding_required?: boolean;
                          issued_at?: string;
                          mode: "code" | "card" | "mobile_key";
                          workspace_id: string;
                      };
                      status: "success";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "ENCODE_ACCESS_METHOD";
                      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: "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?: {
                              auto_join?: ...;
                              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"
                              | "latch_access";
                          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?: {
                              auto_join?: ...;
                              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"
                              | "latch_access";
                          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;
                      };
                      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: "SIMULATE_KEYPAD_CODE_ENTRY";
                      error: null;
                      result: null;
                      status: "pending";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                      error: null;
                      result: {};
                      status: "success";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                      error: {
                          message: string;
                          type: string;
                      };
                      result: null;
                      status: "error";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                      error: null;
                      result: null;
                      status: "pending";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                      error: null;
                      result: {};
                      status: "success";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                      error: {
                          message: string;
                          type: string;
                      };
                      result: null;
                      status: "error";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "PUSH_THERMOSTAT_PROGRAMS";
                      error: null;
                      result: null;
                      status: "pending";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "PUSH_THERMOSTAT_PROGRAMS";
                      error: null;
                      result: {};
                      status: "success";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "PUSH_THERMOSTAT_PROGRAMS";
                      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";
                  };
          }>, "action_attempt">, "action_attempt">

    • get /thermostats/delete_climate_preset(): ((params?: {
          climate_preset_key: string;
          device_id: string;
      }) => SeamHttpRequest<void, undefined>)
    • Returns ((params?: {
          climate_preset_key: string;
          device_id: string;
      }) => SeamHttpRequest<void, undefined>)

        • (params?): SeamHttpRequest<void, undefined>
        • Parameters

          • Optionalparams: {
                climate_preset_key: string;
                device_id: string;
            }
            • climate_preset_key: string

              Climate preset key of the climate preset that you want to delete.

            • device_id: string

              ID of the thermostat device for which you want to delete a climate preset.

          Returns SeamHttpRequest<void, undefined>

    • get /thermostats/heat(): ((body?: {
          device_id: string;
          heating_set_point_celsius?: number;
          heating_set_point_fahrenheit?: number;
          sync?: boolean;
      }, options?: ThermostatsHeatOptions) => SeamHttpRequest<SetNonNullable<Required<{
          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: (...) | (...);
                          created_at: (...) | (...);
                          ends_at: (...) | (...);
                          is_issued: (...) | (...) | (...);
                          starts_at: (...) | (...);
                          visionline_metadata?: (...) | (...);
                      };
                      acs_credential_on_seam: null | {
                          access_method: (...) | (...) | (...);
                          acs_credential_id: string;
                          acs_credential_pool_id?: (...) | (...);
                          acs_system_id: string;
                          acs_user_id?: (...) | (...);
                          assa_abloy_vostio_metadata?: (...) | (...);
                          card_number?: (...) | (...) | (...);
                          code?: (...) | (...) | (...);
                          created_at: string;
                          display_name: string;
                          ends_at?: (...) | (...);
                          errors: (...)[];
                          external_type?:
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...);
                          external_type_display_name?: (...) | (...);
                          is_issued?: (...) | (...) | (...);
                          is_latest_desired_state_synced_with_provider?:
                              | (...)
                              | (...)
                              | (...)
                              | (...);
                          is_managed: true;
                          is_multi_phone_sync_credential?: (...) | (...) | (...);
                          is_one_time_use?: (...) | (...) | (...);
                          issued_at?: (...) | (...) | (...);
                          latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                          parent_acs_credential_id?: (...) | (...);
                          starts_at?: (...) | (...);
                          visionline_metadata?: (...) | (...);
                          warnings: (...)[];
                          workspace_id: string;
                      } | {
                          access_method: (...) | (...) | (...);
                          acs_credential_id: string;
                          acs_credential_pool_id?: (...) | (...);
                          acs_system_id: string;
                          acs_user_id?: (...) | (...);
                          assa_abloy_vostio_metadata?: (...) | (...);
                          card_number?: (...) | (...) | (...);
                          code?: (...) | (...) | (...);
                          created_at: string;
                          display_name: string;
                          ends_at?: (...) | (...);
                          errors: (...)[];
                          external_type?:
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...);
                          external_type_display_name?: (...) | (...);
                          is_issued?: (...) | (...) | (...);
                          is_latest_desired_state_synced_with_provider?:
                              | (...)
                              | (...)
                              | (...)
                              | (...);
                          is_managed: false;
                          is_multi_phone_sync_credential?: (...) | (...) | (...);
                          is_one_time_use?: (...) | (...) | (...);
                          issued_at?: (...) | (...) | (...);
                          latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                          parent_acs_credential_id?: (...) | (...);
                          starts_at?: (...) | (...);
                          visionline_metadata?: (...) | (...);
                          warnings: (...)[];
                          workspace_id: string;
                      };
                      warnings: {
                          warning_code: (...) | (...);
                          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_ACCESS_METHOD";
                  error: null;
                  result: null;
                  status: "pending";
              }
              | {
                  action_attempt_id: string;
                  action_type: "ENCODE_ACCESS_METHOD";
                  error: null;
                  result: {
                      access_method_id: string;
                      created_at: string;
                      display_name: string;
                      instant_key_url?: string;
                      is_card_encoding_required?: boolean;
                      issued_at?: string;
                      mode: "code" | "card" | "mobile_key";
                      workspace_id: string;
                  };
                  status: "success";
              }
              | {
                  action_attempt_id: string;
                  action_type: "ENCODE_ACCESS_METHOD";
                  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: "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?: {
                          auto_join?: ...;
                          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"
                          | "latch_access";
                      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?: {
                          auto_join?: ...;
                          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"
                          | "latch_access";
                      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;
                  };
                  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: "SIMULATE_KEYPAD_CODE_ENTRY";
                  error: null;
                  result: null;
                  status: "pending";
              }
              | {
                  action_attempt_id: string;
                  action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                  error: null;
                  result: {};
                  status: "success";
              }
              | {
                  action_attempt_id: string;
                  action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                  error: {
                      message: string;
                      type: string;
                  };
                  result: null;
                  status: "error";
              }
              | {
                  action_attempt_id: string;
                  action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                  error: null;
                  result: null;
                  status: "pending";
              }
              | {
                  action_attempt_id: string;
                  action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                  error: null;
                  result: {};
                  status: "success";
              }
              | {
                  action_attempt_id: string;
                  action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                  error: {
                      message: string;
                      type: string;
                  };
                  result: null;
                  status: "error";
              }
              | {
                  action_attempt_id: string;
                  action_type: "PUSH_THERMOSTAT_PROGRAMS";
                  error: null;
                  result: null;
                  status: "pending";
              }
              | {
                  action_attempt_id: string;
                  action_type: "PUSH_THERMOSTAT_PROGRAMS";
                  error: null;
                  result: {};
                  status: "success";
              }
              | {
                  action_attempt_id: string;
                  action_type: "PUSH_THERMOSTAT_PROGRAMS";
                  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";
              };
      }>, "action_attempt">, "action_attempt">)
    • Returns ((body?: {
          device_id: string;
          heating_set_point_celsius?: number;
          heating_set_point_fahrenheit?: number;
          sync?: boolean;
      }, options?: ThermostatsHeatOptions) => SeamHttpRequest<SetNonNullable<Required<{
          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: (...) | (...);
                          created_at: (...) | (...);
                          ends_at: (...) | (...);
                          is_issued: (...) | (...) | (...);
                          starts_at: (...) | (...);
                          visionline_metadata?: (...) | (...);
                      };
                      acs_credential_on_seam: null | {
                          access_method: (...) | (...) | (...);
                          acs_credential_id: string;
                          acs_credential_pool_id?: (...) | (...);
                          acs_system_id: string;
                          acs_user_id?: (...) | (...);
                          assa_abloy_vostio_metadata?: (...) | (...);
                          card_number?: (...) | (...) | (...);
                          code?: (...) | (...) | (...);
                          created_at: string;
                          display_name: string;
                          ends_at?: (...) | (...);
                          errors: (...)[];
                          external_type?:
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...);
                          external_type_display_name?: (...) | (...);
                          is_issued?: (...) | (...) | (...);
                          is_latest_desired_state_synced_with_provider?:
                              | (...)
                              | (...)
                              | (...)
                              | (...);
                          is_managed: true;
                          is_multi_phone_sync_credential?: (...) | (...) | (...);
                          is_one_time_use?: (...) | (...) | (...);
                          issued_at?: (...) | (...) | (...);
                          latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                          parent_acs_credential_id?: (...) | (...);
                          starts_at?: (...) | (...);
                          visionline_metadata?: (...) | (...);
                          warnings: (...)[];
                          workspace_id: string;
                      } | {
                          access_method: (...) | (...) | (...);
                          acs_credential_id: string;
                          acs_credential_pool_id?: (...) | (...);
                          acs_system_id: string;
                          acs_user_id?: (...) | (...);
                          assa_abloy_vostio_metadata?: (...) | (...);
                          card_number?: (...) | (...) | (...);
                          code?: (...) | (...) | (...);
                          created_at: string;
                          display_name: string;
                          ends_at?: (...) | (...);
                          errors: (...)[];
                          external_type?:
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...);
                          external_type_display_name?: (...) | (...);
                          is_issued?: (...) | (...) | (...);
                          is_latest_desired_state_synced_with_provider?:
                              | (...)
                              | (...)
                              | (...)
                              | (...);
                          is_managed: false;
                          is_multi_phone_sync_credential?: (...) | (...) | (...);
                          is_one_time_use?: (...) | (...) | (...);
                          issued_at?: (...) | (...) | (...);
                          latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                          parent_acs_credential_id?: (...) | (...);
                          starts_at?: (...) | (...);
                          visionline_metadata?: (...) | (...);
                          warnings: (...)[];
                          workspace_id: string;
                      };
                      warnings: {
                          warning_code: (...) | (...);
                          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_ACCESS_METHOD";
                  error: null;
                  result: null;
                  status: "pending";
              }
              | {
                  action_attempt_id: string;
                  action_type: "ENCODE_ACCESS_METHOD";
                  error: null;
                  result: {
                      access_method_id: string;
                      created_at: string;
                      display_name: string;
                      instant_key_url?: string;
                      is_card_encoding_required?: boolean;
                      issued_at?: string;
                      mode: "code" | "card" | "mobile_key";
                      workspace_id: string;
                  };
                  status: "success";
              }
              | {
                  action_attempt_id: string;
                  action_type: "ENCODE_ACCESS_METHOD";
                  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: "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?: {
                          auto_join?: ...;
                          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"
                          | "latch_access";
                      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?: {
                          auto_join?: ...;
                          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"
                          | "latch_access";
                      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;
                  };
                  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: "SIMULATE_KEYPAD_CODE_ENTRY";
                  error: null;
                  result: null;
                  status: "pending";
              }
              | {
                  action_attempt_id: string;
                  action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                  error: null;
                  result: {};
                  status: "success";
              }
              | {
                  action_attempt_id: string;
                  action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                  error: {
                      message: string;
                      type: string;
                  };
                  result: null;
                  status: "error";
              }
              | {
                  action_attempt_id: string;
                  action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                  error: null;
                  result: null;
                  status: "pending";
              }
              | {
                  action_attempt_id: string;
                  action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                  error: null;
                  result: {};
                  status: "success";
              }
              | {
                  action_attempt_id: string;
                  action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                  error: {
                      message: string;
                      type: string;
                  };
                  result: null;
                  status: "error";
              }
              | {
                  action_attempt_id: string;
                  action_type: "PUSH_THERMOSTAT_PROGRAMS";
                  error: null;
                  result: null;
                  status: "pending";
              }
              | {
                  action_attempt_id: string;
                  action_type: "PUSH_THERMOSTAT_PROGRAMS";
                  error: null;
                  result: {};
                  status: "success";
              }
              | {
                  action_attempt_id: string;
                  action_type: "PUSH_THERMOSTAT_PROGRAMS";
                  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";
              };
      }>, "action_attempt">, "action_attempt">)

        • (body?, options?): SeamHttpRequest<SetNonNullable<Required<{
              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: (...) | (...);
                              created_at: (...) | (...);
                              ends_at: (...) | (...);
                              is_issued: (...) | (...) | (...);
                              starts_at: (...) | (...);
                              visionline_metadata?: (...) | (...);
                          };
                          acs_credential_on_seam: null | {
                              access_method: (...) | (...) | (...);
                              acs_credential_id: string;
                              acs_credential_pool_id?: (...) | (...);
                              acs_system_id: string;
                              acs_user_id?: (...) | (...);
                              assa_abloy_vostio_metadata?: (...) | (...);
                              card_number?: (...) | (...) | (...);
                              code?: (...) | (...) | (...);
                              created_at: string;
                              display_name: string;
                              ends_at?: (...) | (...);
                              errors: (...)[];
                              external_type?:
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...);
                              external_type_display_name?: (...) | (...);
                              is_issued?: (...) | (...) | (...);
                              is_latest_desired_state_synced_with_provider?:
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...);
                              is_managed: true;
                              is_multi_phone_sync_credential?: (...) | (...) | (...);
                              is_one_time_use?: (...) | (...) | (...);
                              issued_at?: (...) | (...) | (...);
                              latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                              parent_acs_credential_id?: (...) | (...);
                              starts_at?: (...) | (...);
                              visionline_metadata?: (...) | (...);
                              warnings: (...)[];
                              workspace_id: string;
                          } | {
                              access_method: (...) | (...) | (...);
                              acs_credential_id: string;
                              acs_credential_pool_id?: (...) | (...);
                              acs_system_id: string;
                              acs_user_id?: (...) | (...);
                              assa_abloy_vostio_metadata?: (...) | (...);
                              card_number?: (...) | (...) | (...);
                              code?: (...) | (...) | (...);
                              created_at: string;
                              display_name: string;
                              ends_at?: (...) | (...);
                              errors: (...)[];
                              external_type?:
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...);
                              external_type_display_name?: (...) | (...);
                              is_issued?: (...) | (...) | (...);
                              is_latest_desired_state_synced_with_provider?:
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...);
                              is_managed: false;
                              is_multi_phone_sync_credential?: (...) | (...) | (...);
                              is_one_time_use?: (...) | (...) | (...);
                              issued_at?: (...) | (...) | (...);
                              latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                              parent_acs_credential_id?: (...) | (...);
                              starts_at?: (...) | (...);
                              visionline_metadata?: (...) | (...);
                              warnings: (...)[];
                              workspace_id: string;
                          };
                          warnings: {
                              warning_code: (...) | (...);
                              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_ACCESS_METHOD";
                      error: null;
                      result: null;
                      status: "pending";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "ENCODE_ACCESS_METHOD";
                      error: null;
                      result: {
                          access_method_id: string;
                          created_at: string;
                          display_name: string;
                          instant_key_url?: string;
                          is_card_encoding_required?: boolean;
                          issued_at?: string;
                          mode: "code" | "card" | "mobile_key";
                          workspace_id: string;
                      };
                      status: "success";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "ENCODE_ACCESS_METHOD";
                      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: "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?: {
                              auto_join?: ...;
                              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"
                              | "latch_access";
                          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?: {
                              auto_join?: ...;
                              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"
                              | "latch_access";
                          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;
                      };
                      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: "SIMULATE_KEYPAD_CODE_ENTRY";
                      error: null;
                      result: null;
                      status: "pending";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                      error: null;
                      result: {};
                      status: "success";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                      error: {
                          message: string;
                          type: string;
                      };
                      result: null;
                      status: "error";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                      error: null;
                      result: null;
                      status: "pending";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                      error: null;
                      result: {};
                      status: "success";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                      error: {
                          message: string;
                          type: string;
                      };
                      result: null;
                      status: "error";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "PUSH_THERMOSTAT_PROGRAMS";
                      error: null;
                      result: null;
                      status: "pending";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "PUSH_THERMOSTAT_PROGRAMS";
                      error: null;
                      result: {};
                      status: "success";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "PUSH_THERMOSTAT_PROGRAMS";
                      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";
                  };
          }>, "action_attempt">, "action_attempt">
        • Parameters

          • Optionalbody: {
                device_id: string;
                heating_set_point_celsius?: number;
                heating_set_point_fahrenheit?: number;
                sync?: boolean;
            }
            • device_id: string

              ID of the thermostat device that you want to set to heat mode.

            • Optionalheating_set_point_celsius?: number

              Heating set point in °C that you want to set for the thermostat. You must set one of the heating_set_point parameters.

            • Optionalheating_set_point_fahrenheit?: number

              Heating set point in °F that you want to set for the thermostat. You must set one of the heating_set_point parameters.

            • Optionalsync?: boolean
          • options: ThermostatsHeatOptions = {}

          Returns SeamHttpRequest<SetNonNullable<Required<{
              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: (...) | (...);
                              created_at: (...) | (...);
                              ends_at: (...) | (...);
                              is_issued: (...) | (...) | (...);
                              starts_at: (...) | (...);
                              visionline_metadata?: (...) | (...);
                          };
                          acs_credential_on_seam: null | {
                              access_method: (...) | (...) | (...);
                              acs_credential_id: string;
                              acs_credential_pool_id?: (...) | (...);
                              acs_system_id: string;
                              acs_user_id?: (...) | (...);
                              assa_abloy_vostio_metadata?: (...) | (...);
                              card_number?: (...) | (...) | (...);
                              code?: (...) | (...) | (...);
                              created_at: string;
                              display_name: string;
                              ends_at?: (...) | (...);
                              errors: (...)[];
                              external_type?:
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...);
                              external_type_display_name?: (...) | (...);
                              is_issued?: (...) | (...) | (...);
                              is_latest_desired_state_synced_with_provider?:
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...);
                              is_managed: true;
                              is_multi_phone_sync_credential?: (...) | (...) | (...);
                              is_one_time_use?: (...) | (...) | (...);
                              issued_at?: (...) | (...) | (...);
                              latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                              parent_acs_credential_id?: (...) | (...);
                              starts_at?: (...) | (...);
                              visionline_metadata?: (...) | (...);
                              warnings: (...)[];
                              workspace_id: string;
                          } | {
                              access_method: (...) | (...) | (...);
                              acs_credential_id: string;
                              acs_credential_pool_id?: (...) | (...);
                              acs_system_id: string;
                              acs_user_id?: (...) | (...);
                              assa_abloy_vostio_metadata?: (...) | (...);
                              card_number?: (...) | (...) | (...);
                              code?: (...) | (...) | (...);
                              created_at: string;
                              display_name: string;
                              ends_at?: (...) | (...);
                              errors: (...)[];
                              external_type?:
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...);
                              external_type_display_name?: (...) | (...);
                              is_issued?: (...) | (...) | (...);
                              is_latest_desired_state_synced_with_provider?:
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...);
                              is_managed: false;
                              is_multi_phone_sync_credential?: (...) | (...) | (...);
                              is_one_time_use?: (...) | (...) | (...);
                              issued_at?: (...) | (...) | (...);
                              latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                              parent_acs_credential_id?: (...) | (...);
                              starts_at?: (...) | (...);
                              visionline_metadata?: (...) | (...);
                              warnings: (...)[];
                              workspace_id: string;
                          };
                          warnings: {
                              warning_code: (...) | (...);
                              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_ACCESS_METHOD";
                      error: null;
                      result: null;
                      status: "pending";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "ENCODE_ACCESS_METHOD";
                      error: null;
                      result: {
                          access_method_id: string;
                          created_at: string;
                          display_name: string;
                          instant_key_url?: string;
                          is_card_encoding_required?: boolean;
                          issued_at?: string;
                          mode: "code" | "card" | "mobile_key";
                          workspace_id: string;
                      };
                      status: "success";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "ENCODE_ACCESS_METHOD";
                      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: "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?: {
                              auto_join?: ...;
                              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"
                              | "latch_access";
                          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?: {
                              auto_join?: ...;
                              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"
                              | "latch_access";
                          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;
                      };
                      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: "SIMULATE_KEYPAD_CODE_ENTRY";
                      error: null;
                      result: null;
                      status: "pending";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                      error: null;
                      result: {};
                      status: "success";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                      error: {
                          message: string;
                          type: string;
                      };
                      result: null;
                      status: "error";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                      error: null;
                      result: null;
                      status: "pending";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                      error: null;
                      result: {};
                      status: "success";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                      error: {
                          message: string;
                          type: string;
                      };
                      result: null;
                      status: "error";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "PUSH_THERMOSTAT_PROGRAMS";
                      error: null;
                      result: null;
                      status: "pending";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "PUSH_THERMOSTAT_PROGRAMS";
                      error: null;
                      result: {};
                      status: "success";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "PUSH_THERMOSTAT_PROGRAMS";
                      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";
                  };
          }>, "action_attempt">, "action_attempt">

    • get /thermostats/heat_cool(): ((body?: {
          cooling_set_point_celsius?: number;
          cooling_set_point_fahrenheit?: number;
          device_id: string;
          heating_set_point_celsius?: number;
          heating_set_point_fahrenheit?: number;
          sync?: boolean;
      }, options?: ThermostatsHeatCoolOptions) => SeamHttpRequest<SetNonNullable<Required<{
          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: (...) | (...);
                          created_at: (...) | (...);
                          ends_at: (...) | (...);
                          is_issued: (...) | (...) | (...);
                          starts_at: (...) | (...);
                          visionline_metadata?: (...) | (...);
                      };
                      acs_credential_on_seam: null | {
                          access_method: (...) | (...) | (...);
                          acs_credential_id: string;
                          acs_credential_pool_id?: (...) | (...);
                          acs_system_id: string;
                          acs_user_id?: (...) | (...);
                          assa_abloy_vostio_metadata?: (...) | (...);
                          card_number?: (...) | (...) | (...);
                          code?: (...) | (...) | (...);
                          created_at: string;
                          display_name: string;
                          ends_at?: (...) | (...);
                          errors: (...)[];
                          external_type?:
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...);
                          external_type_display_name?: (...) | (...);
                          is_issued?: (...) | (...) | (...);
                          is_latest_desired_state_synced_with_provider?:
                              | (...)
                              | (...)
                              | (...)
                              | (...);
                          is_managed: true;
                          is_multi_phone_sync_credential?: (...) | (...) | (...);
                          is_one_time_use?: (...) | (...) | (...);
                          issued_at?: (...) | (...) | (...);
                          latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                          parent_acs_credential_id?: (...) | (...);
                          starts_at?: (...) | (...);
                          visionline_metadata?: (...) | (...);
                          warnings: (...)[];
                          workspace_id: string;
                      } | {
                          access_method: (...) | (...) | (...);
                          acs_credential_id: string;
                          acs_credential_pool_id?: (...) | (...);
                          acs_system_id: string;
                          acs_user_id?: (...) | (...);
                          assa_abloy_vostio_metadata?: (...) | (...);
                          card_number?: (...) | (...) | (...);
                          code?: (...) | (...) | (...);
                          created_at: string;
                          display_name: string;
                          ends_at?: (...) | (...);
                          errors: (...)[];
                          external_type?:
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...);
                          external_type_display_name?: (...) | (...);
                          is_issued?: (...) | (...) | (...);
                          is_latest_desired_state_synced_with_provider?:
                              | (...)
                              | (...)
                              | (...)
                              | (...);
                          is_managed: false;
                          is_multi_phone_sync_credential?: (...) | (...) | (...);
                          is_one_time_use?: (...) | (...) | (...);
                          issued_at?: (...) | (...) | (...);
                          latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                          parent_acs_credential_id?: (...) | (...);
                          starts_at?: (...) | (...);
                          visionline_metadata?: (...) | (...);
                          warnings: (...)[];
                          workspace_id: string;
                      };
                      warnings: {
                          warning_code: (...) | (...);
                          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_ACCESS_METHOD";
                  error: null;
                  result: null;
                  status: "pending";
              }
              | {
                  action_attempt_id: string;
                  action_type: "ENCODE_ACCESS_METHOD";
                  error: null;
                  result: {
                      access_method_id: string;
                      created_at: string;
                      display_name: string;
                      instant_key_url?: string;
                      is_card_encoding_required?: boolean;
                      issued_at?: string;
                      mode: "code" | "card" | "mobile_key";
                      workspace_id: string;
                  };
                  status: "success";
              }
              | {
                  action_attempt_id: string;
                  action_type: "ENCODE_ACCESS_METHOD";
                  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: "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?: {
                          auto_join?: ...;
                          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"
                          | "latch_access";
                      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?: {
                          auto_join?: ...;
                          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"
                          | "latch_access";
                      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;
                  };
                  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: "SIMULATE_KEYPAD_CODE_ENTRY";
                  error: null;
                  result: null;
                  status: "pending";
              }
              | {
                  action_attempt_id: string;
                  action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                  error: null;
                  result: {};
                  status: "success";
              }
              | {
                  action_attempt_id: string;
                  action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                  error: {
                      message: string;
                      type: string;
                  };
                  result: null;
                  status: "error";
              }
              | {
                  action_attempt_id: string;
                  action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                  error: null;
                  result: null;
                  status: "pending";
              }
              | {
                  action_attempt_id: string;
                  action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                  error: null;
                  result: {};
                  status: "success";
              }
              | {
                  action_attempt_id: string;
                  action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                  error: {
                      message: string;
                      type: string;
                  };
                  result: null;
                  status: "error";
              }
              | {
                  action_attempt_id: string;
                  action_type: "PUSH_THERMOSTAT_PROGRAMS";
                  error: null;
                  result: null;
                  status: "pending";
              }
              | {
                  action_attempt_id: string;
                  action_type: "PUSH_THERMOSTAT_PROGRAMS";
                  error: null;
                  result: {};
                  status: "success";
              }
              | {
                  action_attempt_id: string;
                  action_type: "PUSH_THERMOSTAT_PROGRAMS";
                  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";
              };
      }>, "action_attempt">, "action_attempt">)
    • Returns ((body?: {
          cooling_set_point_celsius?: number;
          cooling_set_point_fahrenheit?: number;
          device_id: string;
          heating_set_point_celsius?: number;
          heating_set_point_fahrenheit?: number;
          sync?: boolean;
      }, options?: ThermostatsHeatCoolOptions) => SeamHttpRequest<SetNonNullable<Required<{
          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: (...) | (...);
                          created_at: (...) | (...);
                          ends_at: (...) | (...);
                          is_issued: (...) | (...) | (...);
                          starts_at: (...) | (...);
                          visionline_metadata?: (...) | (...);
                      };
                      acs_credential_on_seam: null | {
                          access_method: (...) | (...) | (...);
                          acs_credential_id: string;
                          acs_credential_pool_id?: (...) | (...);
                          acs_system_id: string;
                          acs_user_id?: (...) | (...);
                          assa_abloy_vostio_metadata?: (...) | (...);
                          card_number?: (...) | (...) | (...);
                          code?: (...) | (...) | (...);
                          created_at: string;
                          display_name: string;
                          ends_at?: (...) | (...);
                          errors: (...)[];
                          external_type?:
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...);
                          external_type_display_name?: (...) | (...);
                          is_issued?: (...) | (...) | (...);
                          is_latest_desired_state_synced_with_provider?:
                              | (...)
                              | (...)
                              | (...)
                              | (...);
                          is_managed: true;
                          is_multi_phone_sync_credential?: (...) | (...) | (...);
                          is_one_time_use?: (...) | (...) | (...);
                          issued_at?: (...) | (...) | (...);
                          latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                          parent_acs_credential_id?: (...) | (...);
                          starts_at?: (...) | (...);
                          visionline_metadata?: (...) | (...);
                          warnings: (...)[];
                          workspace_id: string;
                      } | {
                          access_method: (...) | (...) | (...);
                          acs_credential_id: string;
                          acs_credential_pool_id?: (...) | (...);
                          acs_system_id: string;
                          acs_user_id?: (...) | (...);
                          assa_abloy_vostio_metadata?: (...) | (...);
                          card_number?: (...) | (...) | (...);
                          code?: (...) | (...) | (...);
                          created_at: string;
                          display_name: string;
                          ends_at?: (...) | (...);
                          errors: (...)[];
                          external_type?:
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...);
                          external_type_display_name?: (...) | (...);
                          is_issued?: (...) | (...) | (...);
                          is_latest_desired_state_synced_with_provider?:
                              | (...)
                              | (...)
                              | (...)
                              | (...);
                          is_managed: false;
                          is_multi_phone_sync_credential?: (...) | (...) | (...);
                          is_one_time_use?: (...) | (...) | (...);
                          issued_at?: (...) | (...) | (...);
                          latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                          parent_acs_credential_id?: (...) | (...);
                          starts_at?: (...) | (...);
                          visionline_metadata?: (...) | (...);
                          warnings: (...)[];
                          workspace_id: string;
                      };
                      warnings: {
                          warning_code: (...) | (...);
                          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_ACCESS_METHOD";
                  error: null;
                  result: null;
                  status: "pending";
              }
              | {
                  action_attempt_id: string;
                  action_type: "ENCODE_ACCESS_METHOD";
                  error: null;
                  result: {
                      access_method_id: string;
                      created_at: string;
                      display_name: string;
                      instant_key_url?: string;
                      is_card_encoding_required?: boolean;
                      issued_at?: string;
                      mode: "code" | "card" | "mobile_key";
                      workspace_id: string;
                  };
                  status: "success";
              }
              | {
                  action_attempt_id: string;
                  action_type: "ENCODE_ACCESS_METHOD";
                  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: "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?: {
                          auto_join?: ...;
                          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"
                          | "latch_access";
                      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?: {
                          auto_join?: ...;
                          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"
                          | "latch_access";
                      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;
                  };
                  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: "SIMULATE_KEYPAD_CODE_ENTRY";
                  error: null;
                  result: null;
                  status: "pending";
              }
              | {
                  action_attempt_id: string;
                  action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                  error: null;
                  result: {};
                  status: "success";
              }
              | {
                  action_attempt_id: string;
                  action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                  error: {
                      message: string;
                      type: string;
                  };
                  result: null;
                  status: "error";
              }
              | {
                  action_attempt_id: string;
                  action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                  error: null;
                  result: null;
                  status: "pending";
              }
              | {
                  action_attempt_id: string;
                  action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                  error: null;
                  result: {};
                  status: "success";
              }
              | {
                  action_attempt_id: string;
                  action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                  error: {
                      message: string;
                      type: string;
                  };
                  result: null;
                  status: "error";
              }
              | {
                  action_attempt_id: string;
                  action_type: "PUSH_THERMOSTAT_PROGRAMS";
                  error: null;
                  result: null;
                  status: "pending";
              }
              | {
                  action_attempt_id: string;
                  action_type: "PUSH_THERMOSTAT_PROGRAMS";
                  error: null;
                  result: {};
                  status: "success";
              }
              | {
                  action_attempt_id: string;
                  action_type: "PUSH_THERMOSTAT_PROGRAMS";
                  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";
              };
      }>, "action_attempt">, "action_attempt">)

        • (body?, options?): SeamHttpRequest<SetNonNullable<Required<{
              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: (...) | (...);
                              created_at: (...) | (...);
                              ends_at: (...) | (...);
                              is_issued: (...) | (...) | (...);
                              starts_at: (...) | (...);
                              visionline_metadata?: (...) | (...);
                          };
                          acs_credential_on_seam: null | {
                              access_method: (...) | (...) | (...);
                              acs_credential_id: string;
                              acs_credential_pool_id?: (...) | (...);
                              acs_system_id: string;
                              acs_user_id?: (...) | (...);
                              assa_abloy_vostio_metadata?: (...) | (...);
                              card_number?: (...) | (...) | (...);
                              code?: (...) | (...) | (...);
                              created_at: string;
                              display_name: string;
                              ends_at?: (...) | (...);
                              errors: (...)[];
                              external_type?:
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...);
                              external_type_display_name?: (...) | (...);
                              is_issued?: (...) | (...) | (...);
                              is_latest_desired_state_synced_with_provider?:
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...);
                              is_managed: true;
                              is_multi_phone_sync_credential?: (...) | (...) | (...);
                              is_one_time_use?: (...) | (...) | (...);
                              issued_at?: (...) | (...) | (...);
                              latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                              parent_acs_credential_id?: (...) | (...);
                              starts_at?: (...) | (...);
                              visionline_metadata?: (...) | (...);
                              warnings: (...)[];
                              workspace_id: string;
                          } | {
                              access_method: (...) | (...) | (...);
                              acs_credential_id: string;
                              acs_credential_pool_id?: (...) | (...);
                              acs_system_id: string;
                              acs_user_id?: (...) | (...);
                              assa_abloy_vostio_metadata?: (...) | (...);
                              card_number?: (...) | (...) | (...);
                              code?: (...) | (...) | (...);
                              created_at: string;
                              display_name: string;
                              ends_at?: (...) | (...);
                              errors: (...)[];
                              external_type?:
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...);
                              external_type_display_name?: (...) | (...);
                              is_issued?: (...) | (...) | (...);
                              is_latest_desired_state_synced_with_provider?:
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...);
                              is_managed: false;
                              is_multi_phone_sync_credential?: (...) | (...) | (...);
                              is_one_time_use?: (...) | (...) | (...);
                              issued_at?: (...) | (...) | (...);
                              latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                              parent_acs_credential_id?: (...) | (...);
                              starts_at?: (...) | (...);
                              visionline_metadata?: (...) | (...);
                              warnings: (...)[];
                              workspace_id: string;
                          };
                          warnings: {
                              warning_code: (...) | (...);
                              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_ACCESS_METHOD";
                      error: null;
                      result: null;
                      status: "pending";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "ENCODE_ACCESS_METHOD";
                      error: null;
                      result: {
                          access_method_id: string;
                          created_at: string;
                          display_name: string;
                          instant_key_url?: string;
                          is_card_encoding_required?: boolean;
                          issued_at?: string;
                          mode: "code" | "card" | "mobile_key";
                          workspace_id: string;
                      };
                      status: "success";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "ENCODE_ACCESS_METHOD";
                      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: "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?: {
                              auto_join?: ...;
                              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"
                              | "latch_access";
                          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?: {
                              auto_join?: ...;
                              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"
                              | "latch_access";
                          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;
                      };
                      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: "SIMULATE_KEYPAD_CODE_ENTRY";
                      error: null;
                      result: null;
                      status: "pending";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                      error: null;
                      result: {};
                      status: "success";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                      error: {
                          message: string;
                          type: string;
                      };
                      result: null;
                      status: "error";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                      error: null;
                      result: null;
                      status: "pending";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                      error: null;
                      result: {};
                      status: "success";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                      error: {
                          message: string;
                          type: string;
                      };
                      result: null;
                      status: "error";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "PUSH_THERMOSTAT_PROGRAMS";
                      error: null;
                      result: null;
                      status: "pending";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "PUSH_THERMOSTAT_PROGRAMS";
                      error: null;
                      result: {};
                      status: "success";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "PUSH_THERMOSTAT_PROGRAMS";
                      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";
                  };
          }>, "action_attempt">, "action_attempt">
        • Parameters

          • Optionalbody: {
                cooling_set_point_celsius?: number;
                cooling_set_point_fahrenheit?: number;
                device_id: string;
                heating_set_point_celsius?: number;
                heating_set_point_fahrenheit?: number;
                sync?: boolean;
            }
            • Optionalcooling_set_point_celsius?: number

              Cooling set point in °C that you want to set for the thermostat. You must set one of the cooling_set_point parameters.

            • Optionalcooling_set_point_fahrenheit?: number

              Cooling set point in °F that you want to set for the thermostat. You must set one of the cooling_set_point parameters.

            • device_id: string

              ID of the thermostat device that you want to set to heat-cool mode.

            • Optionalheating_set_point_celsius?: number

              Heating set point in °C that you want to set for the thermostat. You must set one of the heating_set_point parameters.

            • Optionalheating_set_point_fahrenheit?: number

              Heating set point in °F that you want to set for the thermostat. You must set one of the heating_set_point parameters.

            • Optionalsync?: boolean
          • options: ThermostatsHeatCoolOptions = {}

          Returns SeamHttpRequest<SetNonNullable<Required<{
              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: (...) | (...);
                              created_at: (...) | (...);
                              ends_at: (...) | (...);
                              is_issued: (...) | (...) | (...);
                              starts_at: (...) | (...);
                              visionline_metadata?: (...) | (...);
                          };
                          acs_credential_on_seam: null | {
                              access_method: (...) | (...) | (...);
                              acs_credential_id: string;
                              acs_credential_pool_id?: (...) | (...);
                              acs_system_id: string;
                              acs_user_id?: (...) | (...);
                              assa_abloy_vostio_metadata?: (...) | (...);
                              card_number?: (...) | (...) | (...);
                              code?: (...) | (...) | (...);
                              created_at: string;
                              display_name: string;
                              ends_at?: (...) | (...);
                              errors: (...)[];
                              external_type?:
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...);
                              external_type_display_name?: (...) | (...);
                              is_issued?: (...) | (...) | (...);
                              is_latest_desired_state_synced_with_provider?:
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...);
                              is_managed: true;
                              is_multi_phone_sync_credential?: (...) | (...) | (...);
                              is_one_time_use?: (...) | (...) | (...);
                              issued_at?: (...) | (...) | (...);
                              latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                              parent_acs_credential_id?: (...) | (...);
                              starts_at?: (...) | (...);
                              visionline_metadata?: (...) | (...);
                              warnings: (...)[];
                              workspace_id: string;
                          } | {
                              access_method: (...) | (...) | (...);
                              acs_credential_id: string;
                              acs_credential_pool_id?: (...) | (...);
                              acs_system_id: string;
                              acs_user_id?: (...) | (...);
                              assa_abloy_vostio_metadata?: (...) | (...);
                              card_number?: (...) | (...) | (...);
                              code?: (...) | (...) | (...);
                              created_at: string;
                              display_name: string;
                              ends_at?: (...) | (...);
                              errors: (...)[];
                              external_type?:
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...);
                              external_type_display_name?: (...) | (...);
                              is_issued?: (...) | (...) | (...);
                              is_latest_desired_state_synced_with_provider?:
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...);
                              is_managed: false;
                              is_multi_phone_sync_credential?: (...) | (...) | (...);
                              is_one_time_use?: (...) | (...) | (...);
                              issued_at?: (...) | (...) | (...);
                              latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                              parent_acs_credential_id?: (...) | (...);
                              starts_at?: (...) | (...);
                              visionline_metadata?: (...) | (...);
                              warnings: (...)[];
                              workspace_id: string;
                          };
                          warnings: {
                              warning_code: (...) | (...);
                              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_ACCESS_METHOD";
                      error: null;
                      result: null;
                      status: "pending";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "ENCODE_ACCESS_METHOD";
                      error: null;
                      result: {
                          access_method_id: string;
                          created_at: string;
                          display_name: string;
                          instant_key_url?: string;
                          is_card_encoding_required?: boolean;
                          issued_at?: string;
                          mode: "code" | "card" | "mobile_key";
                          workspace_id: string;
                      };
                      status: "success";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "ENCODE_ACCESS_METHOD";
                      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: "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?: {
                              auto_join?: ...;
                              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"
                              | "latch_access";
                          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?: {
                              auto_join?: ...;
                              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"
                              | "latch_access";
                          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;
                      };
                      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: "SIMULATE_KEYPAD_CODE_ENTRY";
                      error: null;
                      result: null;
                      status: "pending";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                      error: null;
                      result: {};
                      status: "success";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                      error: {
                          message: string;
                          type: string;
                      };
                      result: null;
                      status: "error";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                      error: null;
                      result: null;
                      status: "pending";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                      error: null;
                      result: {};
                      status: "success";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                      error: {
                          message: string;
                          type: string;
                      };
                      result: null;
                      status: "error";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "PUSH_THERMOSTAT_PROGRAMS";
                      error: null;
                      result: null;
                      status: "pending";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "PUSH_THERMOSTAT_PROGRAMS";
                      error: null;
                      result: {};
                      status: "success";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "PUSH_THERMOSTAT_PROGRAMS";
                      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";
                  };
          }>, "action_attempt">, "action_attempt">

    • get /thermostats/list(): ((params?: {
          connect_webview_id?: string;
          connected_account_id?: string;
          connected_account_ids?: string[];
          created_before?: Date;
          custom_metadata_has?: Record<string, string | boolean>;
          customer_ids?: string[];
          device_ids?: string[];
          device_type?:
              | "ecobee_thermostat"
              | "nest_thermostat"
              | "honeywell_resideo_thermostat"
              | "tado_thermostat"
              | "sensi_thermostat"
              | "smartthings_thermostat";
          device_types?: (
              | "ecobee_thermostat"
              | "nest_thermostat"
              | "honeywell_resideo_thermostat"
              | "tado_thermostat"
              | "sensi_thermostat"
              | "smartthings_thermostat")[];
          exclude_if?: (
              | "can_remotely_unlock"
              | "can_remotely_lock"
              | "can_program_offline_access_codes"
              | "can_program_online_access_codes"
              | "can_hvac_heat"
              | "can_hvac_cool"
              | "can_hvac_heat_cool"
              | "can_turn_off_hvac"
              | "can_simulate_removal"
              | "can_simulate_connection"
              | "can_simulate_disconnection")[];
          include_if?: (
              | "can_remotely_unlock"
              | "can_remotely_lock"
              | "can_program_offline_access_codes"
              | "can_program_online_access_codes"
              | "can_hvac_heat"
              | "can_hvac_cool"
              | "can_hvac_heat_cool"
              | "can_turn_off_hvac"
              | "can_simulate_removal"
              | "can_simulate_connection"
              | "can_simulate_disconnection")[];
          limit?: number;
          manufacturer?:
              | "smartthings"
              | "nest"
              | "ecobee"
              | "honeywell_resideo"
              | "tado"
              | "sensi";
          page_cursor?: null | string;
          space_id?: string;
          unstable_location_id?: null | string;
          user_identifier_key?: string;
      }) => SeamHttpRequest<SetNonNullable<Required<{
          devices: {
              can_hvac_cool?: boolean;
              can_hvac_heat?: boolean;
              can_hvac_heat_cool?: boolean;
              can_program_offline_access_codes?: boolean;
              can_program_online_access_codes?: boolean;
              can_remotely_lock?: boolean;
              can_remotely_unlock?: boolean;
              can_simulate_connection?: boolean;
              can_simulate_disconnection?: boolean;
              can_simulate_removal?: boolean;
              can_turn_off_hvac?: boolean;
              capabilities_supported: (
                  | "access_code"
                  | "lock"
                  | "phone"
                  | "thermostat"
                  | "noise_detection"
                  | "battery")[];
              connected_account_id: string;
              created_at: string;
              custom_metadata: Record<string, string | boolean>;
              device_id: string;
              device_type:
                  | "akuvox_lock"
                  | "august_lock"
                  | "brivo_access_point"
                  | "butterflymx_panel"
                  | "avigilon_alta_entry"
                  | "doorking_lock"
                  | "genie_door"
                  | "igloo_lock"
                  | "linear_lock"
                  | "lockly_lock"
                  | "kwikset_lock"
                  | "nuki_lock"
                  | "salto_lock"
                  | "schlage_lock"
                  | "seam_relay"
                  | "smartthings_lock"
                  | "wyze_lock"
                  | "yale_lock"
                  | "two_n_intercom"
                  | "controlbyweb_device"
                  | "ttlock_lock"
                  | "igloohome_lock"
                  | "hubitat_lock"
                  | "four_suites_door"
                  | "dormakaba_oracode_door"
                  | "tedee_lock"
                  | "akiles_lock"
                  | "noiseaware_activity_zone"
                  | "minut_sensor"
                  | "ecobee_thermostat"
                  | "nest_thermostat"
                  | "honeywell_resideo_thermostat"
                  | "tado_thermostat"
                  | "sensi_thermostat"
                  | "smartthings_thermostat"
                  | "ios_phone"
                  | "android_phone";
              display_name: string;
              errors: (
                  | {
                      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: "lockly_missing_wifi_bridge";
                      is_device_error: true;
                      message: string;
                  }
                  | {
                      created_at: string;
                      error_code: "invalid_credentials";
                      is_bridge_error?: (...) | (...) | (...);
                      is_connected_account_error?: (...) | (...) | (...);
                      message: string;
                  }
                  | {
                      created_at: string;
                      error_code: "bridge_disconnected";
                      is_bridge_error?: (...) | (...) | (...);
                      is_connected_account_error?: (...) | (...) | (...);
                      message: string;
                  })[];
              is_managed: true;
              location: null | {
                  location_name?: string;
                  timezone?: string;
              };
              nickname?: string;
              properties: {
                  accessory_keypad?: {
                      battery?: ...;
                      is_connected: ...;
                  };
                  appearance: {
                      name: string;
                  };
                  battery?: {
                      level: ...;
                      status: ...;
                  };
                  battery_level?: number;
                  currently_triggering_noise_threshold_ids?: (...)[];
                  has_direct_power?: boolean;
                  image_alt_text?: string;
                  image_url?: string;
                  manufacturer?: string;
                  model: {
                      accessory_keypad_supported?: (...) | (...) | (...);
                      can_connect_accessory_keypad?: (...) | (...) | (...);
                      display_name: string;
                      has_built_in_keypad?: (...) | (...) | (...);
                      manufacturer_display_name: string;
                      offline_access_codes_supported?: (...) | (...) | (...);
                      online_access_codes_supported?: (...) | (...) | (...);
                  };
                  name: string;
                  noise_level_decibels?: number;
                  offline_access_codes_enabled?: boolean;
                  online: boolean;
                  online_access_codes_enabled?: boolean;
                  serial_number?: string;
                  supports_accessory_keypad?: boolean;
                  supports_offline_access_codes?: boolean;
              } & {
                  assa_abloy_credential_service_metadata?: {
                      endpoints: ...;
                      has_active_endpoint: ...;
                  };
                  salto_space_credential_service_metadata?: {
                      has_active_phone: ...;
                  };
              } & {
                  akiles_metadata?: {
                      _member_group_id?: ...;
                      gadget_id: ...;
                      gadget_name: ...;
                      product_name: ...;
                  };
                  assa_abloy_vostio_metadata?: {
                      encoder_name: ...;
                  };
                  august_metadata?: {
                      has_keypad: ...;
                      house_id?: ...;
                      house_name: ...;
                      keypad_battery_level?: ...;
                      lock_id: ...;
                      lock_name: ...;
                      model?: ...;
                  };
                  avigilon_alta_metadata?: {
                      entry_name: ...;
                      entry_relays_total_count: ...;
                      org_name: ...;
                      site_id: ...;
                      site_name: ...;
                      zone_id: ...;
                      zone_name: ...;
                  };
                  brivo_metadata?: {
                      device_name: ...;
                  };
                  controlbyweb_metadata?: {
                      device_id: ...;
                      device_name: ...;
                      relay_name: ...;
                  };
                  dormakaba_oracode_metadata?: {
                      device_id?: ...;
                      door_id?: ...;
                      door_is_wireless: ...;
                      door_name: ...;
                      iana_timezone?: ...;
                      predefined_time_slots?: ...;
                      site_id: ...;
                      site_name: ...;
                  };
                  ecobee_metadata?: {
                      device_name: ...;
                      ecobee_device_id: ...;
                  };
                  four_suites_metadata?: {
                      device_id: ...;
                      device_name: ...;
                      reclose_delay_in_seconds: ...;
                  };
                  genie_metadata?: {
                      device_name: ...;
                      door_name: ...;
                  };
                  honeywell_resideo_metadata?: {
                      device_name: ...;
                      honeywell_resideo_device_id: ...;
                  };
                  hubitat_metadata?: {
                      device_id: ...;
                      device_label: ...;
                      device_name: ...;
                  };
                  igloo_metadata?: {
                      bridge_id: ...;
                      device_id: ...;
                      model?: ...;
                  };
                  igloohome_metadata?: {
                      bridge_id?: ...;
                      bridge_name?: ...;
                      device_id: ...;
                      device_name: ...;
                      keypad_id?: ...;
                  };
                  kwikset_metadata?: {
                      device_id: ...;
                      device_name: ...;
                      model_number: ...;
                  };
                  lockly_metadata?: {
                      device_id: ...;
                      device_name: ...;
                      model?: ...;
                  };
                  minut_metadata?: {
                      device_id: ...;
                      device_name: ...;
                      latest_sensor_values: ...;
                  };
                  nest_metadata?: {
                      device_custom_name: ...;
                      device_name: ...;
                      display_name?: ...;
                      nest_device_id: ...;
                  };
                  noiseaware_metadata?: {
                      device_id: ...;
                      device_model: ...;
                      device_name: ...;
                      noise_level_decibel: ...;
                      noise_level_nrs: ...;
                  };
                  nuki_metadata?: {
                      device_id: ...;
                      device_name: ...;
                      keypad_2_paired?: ...;
                      keypad_battery_critical?: ...;
                      keypad_paired?: ...;
                  };
                  salto_ks_metadata?: {
                      battery_level: ...;
                      customer_reference: ...;
                      lock_id: ...;
                      lock_type: ...;
                      locked_state: ...;
                      model?: ...;
                  };
                  salto_metadata?: {
                      battery_level: ...;
                      customer_reference: ...;
                      lock_id: ...;
                      lock_type: ...;
                      locked_state: ...;
                      model?: ...;
                  };
                  schlage_metadata?: {
                      device_id: ...;
                      device_name: ...;
                      model?: ...;
                  };
                  seam_bridge_metadata?: {
                      device_num: ...;
                      name: ...;
                      unlock_method?: ...;
                  };
                  sensi_metadata?: {
                      device_id: ...;
                      device_name: ...;
                      product_type: ...;
                  };
                  smartthings_metadata?: {
                      device_id: ...;
                      device_name: ...;
                      location_id?: ...;
                      model?: ...;
                  };
                  tado_metadata?: {
                      device_type: ...;
                      serial_no: ...;
                  };
                  tedee_metadata?: {
                      bridge_id: ...;
                      bridge_name: ...;
                      device_id: ...;
                      device_model: ...;
                      device_name: ...;
                      keypad_id?: ...;
                      serial_number: ...;
                  };
                  ttlock_metadata?: {
                      feature_value: ...;
                      features: ...;
                      has_gateway?: ...;
                      lock_alias: ...;
                      lock_id: ...;
                      wireless_keypads?: ...;
                  };
                  two_n_metadata?: {
                      device_id: ...;
                      device_name: ...;
                  };
                  visionline_metadata?: {
                      encoder_id: ...;
                  };
                  wyze_metadata?: {
                      device_id: ...;
                      device_info_model: ...;
                      device_name: ...;
                      keypad_uuid?: ...;
                      locker_status_hardlock?: ...;
                      product_model: ...;
                      product_name: ...;
                      product_type: ...;
                  };
              } & {
                  _experimental_supported_code_from_access_codes_lengths?: (...)[];
                  code_constraints?: (...)[];
                  door_open?: boolean;
                  has_native_entry_events?: boolean;
                  keypad_battery?: {
                      level: ...;
                  };
                  locked?: boolean;
                  max_active_codes_supported?: number;
                  supported_code_lengths?: (...)[];
                  supports_backup_access_code_pool?: boolean;
              } & {
                  active_thermostat_schedule?: null | {
                      climate_preset_key: ...;
                      created_at: ...;
                      device_id: ...;
                      ends_at: ...;
                      errors: ...;
                      is_override_allowed?: ...;
                      max_override_period_minutes?: ...;
                      name: ...;
                      starts_at: ...;
                      thermostat_schedule_id: ...;
                      workspace_id: ...;
                  };
                  available_climate_presets?: (...)[];
                  available_fan_mode_settings?: (...)[];
                  available_hvac_mode_settings?: (...)[];
                  current_climate_setting?: {
                      can_delete?: ...;
                      can_edit?: ...;
                      can_program?: ...;
                      climate_preset_key?: ...;
                      cooling_set_point_celsius?: ...;
                      cooling_set_point_fahrenheit?: ...;
                      display_name?: ...;
                      fan_mode_setting?: ...;
                      heating_set_point_celsius?: ...;
                      heating_set_point_fahrenheit?: ...;
                      hvac_mode_setting?: ...;
                      manual_override_allowed?: ...;
                      name?: ...;
                  };
                  default_climate_setting?: {
                      can_delete?: ...;
                      can_edit?: ...;
                      can_program?: ...;
                      climate_preset_key?: ...;
                      cooling_set_point_celsius?: ...;
                      cooling_set_point_fahrenheit?: ...;
                      display_name?: ...;
                      fan_mode_setting?: ...;
                      heating_set_point_celsius?: ...;
                      heating_set_point_fahrenheit?: ...;
                      hvac_mode_setting?: ...;
                      manual_override_allowed?: ...;
                      name?: ...;
                  };
                  fallback_climate_preset_key?: null | string;
                  fan_mode_setting?: "auto" | "on" | "circulate";
                  is_cooling?: boolean;
                  is_fan_running?: boolean;
                  is_heating?: boolean;
                  is_temporary_manual_override_active?: boolean;
                  max_cooling_set_point_celsius?: number;
                  max_cooling_set_point_fahrenheit?: number;
                  max_heating_set_point_celsius?: number;
                  max_heating_set_point_fahrenheit?: number;
                  min_cooling_set_point_celsius?: number;
                  min_cooling_set_point_fahrenheit?: number;
                  min_heating_cooling_delta_celsius?: number;
                  min_heating_cooling_delta_fahrenheit?: number;
                  min_heating_set_point_celsius?: number;
                  min_heating_set_point_fahrenheit?: number;
                  relative_humidity?: number;
                  temperature_celsius?: number;
                  temperature_fahrenheit?: number;
                  temperature_threshold?: {
                      lower_limit_celsius: ...;
                      lower_limit_fahrenheit: ...;
                      upper_limit_celsius: ...;
                      upper_limit_fahrenheit: ...;
                  };
                  thermostat_daily_programs?: (...)[];
                  thermostat_weekly_program?: null | {
                      created_at: ...;
                      friday_program_id: ...;
                      monday_program_id: ...;
                      saturday_program_id: ...;
                      sunday_program_id: ...;
                      thursday_program_id: ...;
                      tuesday_program_id: ...;
                      wednesday_program_id: ...;
                  };
              };
              warnings: (
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "partial_backup_access_code_pool";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "many_active_backup_codes";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "wyze_device_missing_gateway";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "functional_offline_device";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "third_party_integration_detected";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "nest_thermostat_in_manual_eco_mode";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "ttlock_lock_gateway_unlocking_not_enabled";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "ttlock_weak_gateway_signal";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "power_saving_mode";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "temperature_threshold_exceeded";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "device_communication_degraded";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "scheduled_maintenance_window";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "device_has_flaky_connection";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "salto_ks_office_mode";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "salto_ks_privacy_mode";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "salto_ks_subscription_limit_almost_reached";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "unknown_issue_with_phone";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "lockly_time_zone_not_configured";
                  })[];
              workspace_id: string;
          }[];
          thermostats: {
              can_hvac_cool?: boolean;
              can_hvac_heat?: boolean;
              can_hvac_heat_cool?: boolean;
              can_program_offline_access_codes?: boolean;
              can_program_online_access_codes?: boolean;
              can_remotely_lock?: boolean;
              can_remotely_unlock?: boolean;
              can_simulate_connection?: boolean;
              can_simulate_disconnection?: boolean;
              can_simulate_removal?: boolean;
              can_turn_off_hvac?: boolean;
              capabilities_supported: (
                  | "access_code"
                  | "lock"
                  | "phone"
                  | "thermostat"
                  | "noise_detection"
                  | "battery")[];
              connected_account_id: string;
              created_at: string;
              custom_metadata: Record<string, string | boolean>;
              device_id: string;
              device_type:
                  | "akuvox_lock"
                  | "august_lock"
                  | "brivo_access_point"
                  | "butterflymx_panel"
                  | "avigilon_alta_entry"
                  | "doorking_lock"
                  | "genie_door"
                  | "igloo_lock"
                  | "linear_lock"
                  | "lockly_lock"
                  | "kwikset_lock"
                  | "nuki_lock"
                  | "salto_lock"
                  | "schlage_lock"
                  | "seam_relay"
                  | "smartthings_lock"
                  | "wyze_lock"
                  | "yale_lock"
                  | "two_n_intercom"
                  | "controlbyweb_device"
                  | "ttlock_lock"
                  | "igloohome_lock"
                  | "hubitat_lock"
                  | "four_suites_door"
                  | "dormakaba_oracode_door"
                  | "tedee_lock"
                  | "akiles_lock"
                  | "noiseaware_activity_zone"
                  | "minut_sensor"
                  | "ecobee_thermostat"
                  | "nest_thermostat"
                  | "honeywell_resideo_thermostat"
                  | "tado_thermostat"
                  | "sensi_thermostat"
                  | "smartthings_thermostat"
                  | "ios_phone"
                  | "android_phone";
              display_name: string;
              errors: (
                  | {
                      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: "lockly_missing_wifi_bridge";
                      is_device_error: true;
                      message: string;
                  }
                  | {
                      created_at: string;
                      error_code: "invalid_credentials";
                      is_bridge_error?: (...) | (...) | (...);
                      is_connected_account_error?: (...) | (...) | (...);
                      message: string;
                  }
                  | {
                      created_at: string;
                      error_code: "bridge_disconnected";
                      is_bridge_error?: (...) | (...) | (...);
                      is_connected_account_error?: (...) | (...) | (...);
                      message: string;
                  })[];
              is_managed: true;
              location: null | {
                  location_name?: string;
                  timezone?: string;
              };
              nickname?: string;
              properties: {
                  accessory_keypad?: {
                      battery?: ...;
                      is_connected: ...;
                  };
                  appearance: {
                      name: string;
                  };
                  battery?: {
                      level: ...;
                      status: ...;
                  };
                  battery_level?: number;
                  currently_triggering_noise_threshold_ids?: (...)[];
                  has_direct_power?: boolean;
                  image_alt_text?: string;
                  image_url?: string;
                  manufacturer?: string;
                  model: {
                      accessory_keypad_supported?: (...) | (...) | (...);
                      can_connect_accessory_keypad?: (...) | (...) | (...);
                      display_name: string;
                      has_built_in_keypad?: (...) | (...) | (...);
                      manufacturer_display_name: string;
                      offline_access_codes_supported?: (...) | (...) | (...);
                      online_access_codes_supported?: (...) | (...) | (...);
                  };
                  name: string;
                  noise_level_decibels?: number;
                  offline_access_codes_enabled?: boolean;
                  online: boolean;
                  online_access_codes_enabled?: boolean;
                  serial_number?: string;
                  supports_accessory_keypad?: boolean;
                  supports_offline_access_codes?: boolean;
              } & {
                  assa_abloy_credential_service_metadata?: {
                      endpoints: ...;
                      has_active_endpoint: ...;
                  };
                  salto_space_credential_service_metadata?: {
                      has_active_phone: ...;
                  };
              } & {
                  akiles_metadata?: {
                      _member_group_id?: ...;
                      gadget_id: ...;
                      gadget_name: ...;
                      product_name: ...;
                  };
                  assa_abloy_vostio_metadata?: {
                      encoder_name: ...;
                  };
                  august_metadata?: {
                      has_keypad: ...;
                      house_id?: ...;
                      house_name: ...;
                      keypad_battery_level?: ...;
                      lock_id: ...;
                      lock_name: ...;
                      model?: ...;
                  };
                  avigilon_alta_metadata?: {
                      entry_name: ...;
                      entry_relays_total_count: ...;
                      org_name: ...;
                      site_id: ...;
                      site_name: ...;
                      zone_id: ...;
                      zone_name: ...;
                  };
                  brivo_metadata?: {
                      device_name: ...;
                  };
                  controlbyweb_metadata?: {
                      device_id: ...;
                      device_name: ...;
                      relay_name: ...;
                  };
                  dormakaba_oracode_metadata?: {
                      device_id?: ...;
                      door_id?: ...;
                      door_is_wireless: ...;
                      door_name: ...;
                      iana_timezone?: ...;
                      predefined_time_slots?: ...;
                      site_id: ...;
                      site_name: ...;
                  };
                  ecobee_metadata?: {
                      device_name: ...;
                      ecobee_device_id: ...;
                  };
                  four_suites_metadata?: {
                      device_id: ...;
                      device_name: ...;
                      reclose_delay_in_seconds: ...;
                  };
                  genie_metadata?: {
                      device_name: ...;
                      door_name: ...;
                  };
                  honeywell_resideo_metadata?: {
                      device_name: ...;
                      honeywell_resideo_device_id: ...;
                  };
                  hubitat_metadata?: {
                      device_id: ...;
                      device_label: ...;
                      device_name: ...;
                  };
                  igloo_metadata?: {
                      bridge_id: ...;
                      device_id: ...;
                      model?: ...;
                  };
                  igloohome_metadata?: {
                      bridge_id?: ...;
                      bridge_name?: ...;
                      device_id: ...;
                      device_name: ...;
                      keypad_id?: ...;
                  };
                  kwikset_metadata?: {
                      device_id: ...;
                      device_name: ...;
                      model_number: ...;
                  };
                  lockly_metadata?: {
                      device_id: ...;
                      device_name: ...;
                      model?: ...;
                  };
                  minut_metadata?: {
                      device_id: ...;
                      device_name: ...;
                      latest_sensor_values: ...;
                  };
                  nest_metadata?: {
                      device_custom_name: ...;
                      device_name: ...;
                      display_name?: ...;
                      nest_device_id: ...;
                  };
                  noiseaware_metadata?: {
                      device_id: ...;
                      device_model: ...;
                      device_name: ...;
                      noise_level_decibel: ...;
                      noise_level_nrs: ...;
                  };
                  nuki_metadata?: {
                      device_id: ...;
                      device_name: ...;
                      keypad_2_paired?: ...;
                      keypad_battery_critical?: ...;
                      keypad_paired?: ...;
                  };
                  salto_ks_metadata?: {
                      battery_level: ...;
                      customer_reference: ...;
                      lock_id: ...;
                      lock_type: ...;
                      locked_state: ...;
                      model?: ...;
                  };
                  salto_metadata?: {
                      battery_level: ...;
                      customer_reference: ...;
                      lock_id: ...;
                      lock_type: ...;
                      locked_state: ...;
                      model?: ...;
                  };
                  schlage_metadata?: {
                      device_id: ...;
                      device_name: ...;
                      model?: ...;
                  };
                  seam_bridge_metadata?: {
                      device_num: ...;
                      name: ...;
                      unlock_method?: ...;
                  };
                  sensi_metadata?: {
                      device_id: ...;
                      device_name: ...;
                      product_type: ...;
                  };
                  smartthings_metadata?: {
                      device_id: ...;
                      device_name: ...;
                      location_id?: ...;
                      model?: ...;
                  };
                  tado_metadata?: {
                      device_type: ...;
                      serial_no: ...;
                  };
                  tedee_metadata?: {
                      bridge_id: ...;
                      bridge_name: ...;
                      device_id: ...;
                      device_model: ...;
                      device_name: ...;
                      keypad_id?: ...;
                      serial_number: ...;
                  };
                  ttlock_metadata?: {
                      feature_value: ...;
                      features: ...;
                      has_gateway?: ...;
                      lock_alias: ...;
                      lock_id: ...;
                      wireless_keypads?: ...;
                  };
                  two_n_metadata?: {
                      device_id: ...;
                      device_name: ...;
                  };
                  visionline_metadata?: {
                      encoder_id: ...;
                  };
                  wyze_metadata?: {
                      device_id: ...;
                      device_info_model: ...;
                      device_name: ...;
                      keypad_uuid?: ...;
                      locker_status_hardlock?: ...;
                      product_model: ...;
                      product_name: ...;
                      product_type: ...;
                  };
              } & {
                  _experimental_supported_code_from_access_codes_lengths?: (...)[];
                  code_constraints?: (...)[];
                  door_open?: boolean;
                  has_native_entry_events?: boolean;
                  keypad_battery?: {
                      level: ...;
                  };
                  locked?: boolean;
                  max_active_codes_supported?: number;
                  supported_code_lengths?: (...)[];
                  supports_backup_access_code_pool?: boolean;
              } & {
                  active_thermostat_schedule?: null | {
                      climate_preset_key: ...;
                      created_at: ...;
                      device_id: ...;
                      ends_at: ...;
                      errors: ...;
                      is_override_allowed?: ...;
                      max_override_period_minutes?: ...;
                      name: ...;
                      starts_at: ...;
                      thermostat_schedule_id: ...;
                      workspace_id: ...;
                  };
                  available_climate_presets?: (...)[];
                  available_fan_mode_settings?: (...)[];
                  available_hvac_mode_settings?: (...)[];
                  current_climate_setting?: {
                      can_delete?: ...;
                      can_edit?: ...;
                      can_program?: ...;
                      climate_preset_key?: ...;
                      cooling_set_point_celsius?: ...;
                      cooling_set_point_fahrenheit?: ...;
                      display_name?: ...;
                      fan_mode_setting?: ...;
                      heating_set_point_celsius?: ...;
                      heating_set_point_fahrenheit?: ...;
                      hvac_mode_setting?: ...;
                      manual_override_allowed?: ...;
                      name?: ...;
                  };
                  default_climate_setting?: {
                      can_delete?: ...;
                      can_edit?: ...;
                      can_program?: ...;
                      climate_preset_key?: ...;
                      cooling_set_point_celsius?: ...;
                      cooling_set_point_fahrenheit?: ...;
                      display_name?: ...;
                      fan_mode_setting?: ...;
                      heating_set_point_celsius?: ...;
                      heating_set_point_fahrenheit?: ...;
                      hvac_mode_setting?: ...;
                      manual_override_allowed?: ...;
                      name?: ...;
                  };
                  fallback_climate_preset_key?: null | string;
                  fan_mode_setting?: "auto" | "on" | "circulate";
                  is_cooling?: boolean;
                  is_fan_running?: boolean;
                  is_heating?: boolean;
                  is_temporary_manual_override_active?: boolean;
                  max_cooling_set_point_celsius?: number;
                  max_cooling_set_point_fahrenheit?: number;
                  max_heating_set_point_celsius?: number;
                  max_heating_set_point_fahrenheit?: number;
                  min_cooling_set_point_celsius?: number;
                  min_cooling_set_point_fahrenheit?: number;
                  min_heating_cooling_delta_celsius?: number;
                  min_heating_cooling_delta_fahrenheit?: number;
                  min_heating_set_point_celsius?: number;
                  min_heating_set_point_fahrenheit?: number;
                  relative_humidity?: number;
                  temperature_celsius?: number;
                  temperature_fahrenheit?: number;
                  temperature_threshold?: {
                      lower_limit_celsius: ...;
                      lower_limit_fahrenheit: ...;
                      upper_limit_celsius: ...;
                      upper_limit_fahrenheit: ...;
                  };
                  thermostat_daily_programs?: (...)[];
                  thermostat_weekly_program?: null | {
                      created_at: ...;
                      friday_program_id: ...;
                      monday_program_id: ...;
                      saturday_program_id: ...;
                      sunday_program_id: ...;
                      thursday_program_id: ...;
                      tuesday_program_id: ...;
                      wednesday_program_id: ...;
                  };
              };
              warnings: (
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "partial_backup_access_code_pool";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "many_active_backup_codes";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "wyze_device_missing_gateway";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "functional_offline_device";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "third_party_integration_detected";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "nest_thermostat_in_manual_eco_mode";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "ttlock_lock_gateway_unlocking_not_enabled";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "ttlock_weak_gateway_signal";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "power_saving_mode";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "temperature_threshold_exceeded";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "device_communication_degraded";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "scheduled_maintenance_window";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "device_has_flaky_connection";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "salto_ks_office_mode";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "salto_ks_privacy_mode";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "salto_ks_subscription_limit_almost_reached";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "unknown_issue_with_phone";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "lockly_time_zone_not_configured";
                  })[];
              workspace_id: string;
          }[];
      }>, "devices" | "thermostats">, "devices">)
    • Returns ((params?: {
          connect_webview_id?: string;
          connected_account_id?: string;
          connected_account_ids?: string[];
          created_before?: Date;
          custom_metadata_has?: Record<string, string | boolean>;
          customer_ids?: string[];
          device_ids?: string[];
          device_type?:
              | "ecobee_thermostat"
              | "nest_thermostat"
              | "honeywell_resideo_thermostat"
              | "tado_thermostat"
              | "sensi_thermostat"
              | "smartthings_thermostat";
          device_types?: (
              | "ecobee_thermostat"
              | "nest_thermostat"
              | "honeywell_resideo_thermostat"
              | "tado_thermostat"
              | "sensi_thermostat"
              | "smartthings_thermostat")[];
          exclude_if?: (
              | "can_remotely_unlock"
              | "can_remotely_lock"
              | "can_program_offline_access_codes"
              | "can_program_online_access_codes"
              | "can_hvac_heat"
              | "can_hvac_cool"
              | "can_hvac_heat_cool"
              | "can_turn_off_hvac"
              | "can_simulate_removal"
              | "can_simulate_connection"
              | "can_simulate_disconnection")[];
          include_if?: (
              | "can_remotely_unlock"
              | "can_remotely_lock"
              | "can_program_offline_access_codes"
              | "can_program_online_access_codes"
              | "can_hvac_heat"
              | "can_hvac_cool"
              | "can_hvac_heat_cool"
              | "can_turn_off_hvac"
              | "can_simulate_removal"
              | "can_simulate_connection"
              | "can_simulate_disconnection")[];
          limit?: number;
          manufacturer?:
              | "smartthings"
              | "nest"
              | "ecobee"
              | "honeywell_resideo"
              | "tado"
              | "sensi";
          page_cursor?: null | string;
          space_id?: string;
          unstable_location_id?: null | string;
          user_identifier_key?: string;
      }) => SeamHttpRequest<SetNonNullable<Required<{
          devices: {
              can_hvac_cool?: boolean;
              can_hvac_heat?: boolean;
              can_hvac_heat_cool?: boolean;
              can_program_offline_access_codes?: boolean;
              can_program_online_access_codes?: boolean;
              can_remotely_lock?: boolean;
              can_remotely_unlock?: boolean;
              can_simulate_connection?: boolean;
              can_simulate_disconnection?: boolean;
              can_simulate_removal?: boolean;
              can_turn_off_hvac?: boolean;
              capabilities_supported: (
                  | "access_code"
                  | "lock"
                  | "phone"
                  | "thermostat"
                  | "noise_detection"
                  | "battery")[];
              connected_account_id: string;
              created_at: string;
              custom_metadata: Record<string, string | boolean>;
              device_id: string;
              device_type:
                  | "akuvox_lock"
                  | "august_lock"
                  | "brivo_access_point"
                  | "butterflymx_panel"
                  | "avigilon_alta_entry"
                  | "doorking_lock"
                  | "genie_door"
                  | "igloo_lock"
                  | "linear_lock"
                  | "lockly_lock"
                  | "kwikset_lock"
                  | "nuki_lock"
                  | "salto_lock"
                  | "schlage_lock"
                  | "seam_relay"
                  | "smartthings_lock"
                  | "wyze_lock"
                  | "yale_lock"
                  | "two_n_intercom"
                  | "controlbyweb_device"
                  | "ttlock_lock"
                  | "igloohome_lock"
                  | "hubitat_lock"
                  | "four_suites_door"
                  | "dormakaba_oracode_door"
                  | "tedee_lock"
                  | "akiles_lock"
                  | "noiseaware_activity_zone"
                  | "minut_sensor"
                  | "ecobee_thermostat"
                  | "nest_thermostat"
                  | "honeywell_resideo_thermostat"
                  | "tado_thermostat"
                  | "sensi_thermostat"
                  | "smartthings_thermostat"
                  | "ios_phone"
                  | "android_phone";
              display_name: string;
              errors: (
                  | {
                      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: "lockly_missing_wifi_bridge";
                      is_device_error: true;
                      message: string;
                  }
                  | {
                      created_at: string;
                      error_code: "invalid_credentials";
                      is_bridge_error?: (...) | (...) | (...);
                      is_connected_account_error?: (...) | (...) | (...);
                      message: string;
                  }
                  | {
                      created_at: string;
                      error_code: "bridge_disconnected";
                      is_bridge_error?: (...) | (...) | (...);
                      is_connected_account_error?: (...) | (...) | (...);
                      message: string;
                  })[];
              is_managed: true;
              location: null | {
                  location_name?: string;
                  timezone?: string;
              };
              nickname?: string;
              properties: {
                  accessory_keypad?: {
                      battery?: ...;
                      is_connected: ...;
                  };
                  appearance: {
                      name: string;
                  };
                  battery?: {
                      level: ...;
                      status: ...;
                  };
                  battery_level?: number;
                  currently_triggering_noise_threshold_ids?: (...)[];
                  has_direct_power?: boolean;
                  image_alt_text?: string;
                  image_url?: string;
                  manufacturer?: string;
                  model: {
                      accessory_keypad_supported?: (...) | (...) | (...);
                      can_connect_accessory_keypad?: (...) | (...) | (...);
                      display_name: string;
                      has_built_in_keypad?: (...) | (...) | (...);
                      manufacturer_display_name: string;
                      offline_access_codes_supported?: (...) | (...) | (...);
                      online_access_codes_supported?: (...) | (...) | (...);
                  };
                  name: string;
                  noise_level_decibels?: number;
                  offline_access_codes_enabled?: boolean;
                  online: boolean;
                  online_access_codes_enabled?: boolean;
                  serial_number?: string;
                  supports_accessory_keypad?: boolean;
                  supports_offline_access_codes?: boolean;
              } & {
                  assa_abloy_credential_service_metadata?: {
                      endpoints: ...;
                      has_active_endpoint: ...;
                  };
                  salto_space_credential_service_metadata?: {
                      has_active_phone: ...;
                  };
              } & {
                  akiles_metadata?: {
                      _member_group_id?: ...;
                      gadget_id: ...;
                      gadget_name: ...;
                      product_name: ...;
                  };
                  assa_abloy_vostio_metadata?: {
                      encoder_name: ...;
                  };
                  august_metadata?: {
                      has_keypad: ...;
                      house_id?: ...;
                      house_name: ...;
                      keypad_battery_level?: ...;
                      lock_id: ...;
                      lock_name: ...;
                      model?: ...;
                  };
                  avigilon_alta_metadata?: {
                      entry_name: ...;
                      entry_relays_total_count: ...;
                      org_name: ...;
                      site_id: ...;
                      site_name: ...;
                      zone_id: ...;
                      zone_name: ...;
                  };
                  brivo_metadata?: {
                      device_name: ...;
                  };
                  controlbyweb_metadata?: {
                      device_id: ...;
                      device_name: ...;
                      relay_name: ...;
                  };
                  dormakaba_oracode_metadata?: {
                      device_id?: ...;
                      door_id?: ...;
                      door_is_wireless: ...;
                      door_name: ...;
                      iana_timezone?: ...;
                      predefined_time_slots?: ...;
                      site_id: ...;
                      site_name: ...;
                  };
                  ecobee_metadata?: {
                      device_name: ...;
                      ecobee_device_id: ...;
                  };
                  four_suites_metadata?: {
                      device_id: ...;
                      device_name: ...;
                      reclose_delay_in_seconds: ...;
                  };
                  genie_metadata?: {
                      device_name: ...;
                      door_name: ...;
                  };
                  honeywell_resideo_metadata?: {
                      device_name: ...;
                      honeywell_resideo_device_id: ...;
                  };
                  hubitat_metadata?: {
                      device_id: ...;
                      device_label: ...;
                      device_name: ...;
                  };
                  igloo_metadata?: {
                      bridge_id: ...;
                      device_id: ...;
                      model?: ...;
                  };
                  igloohome_metadata?: {
                      bridge_id?: ...;
                      bridge_name?: ...;
                      device_id: ...;
                      device_name: ...;
                      keypad_id?: ...;
                  };
                  kwikset_metadata?: {
                      device_id: ...;
                      device_name: ...;
                      model_number: ...;
                  };
                  lockly_metadata?: {
                      device_id: ...;
                      device_name: ...;
                      model?: ...;
                  };
                  minut_metadata?: {
                      device_id: ...;
                      device_name: ...;
                      latest_sensor_values: ...;
                  };
                  nest_metadata?: {
                      device_custom_name: ...;
                      device_name: ...;
                      display_name?: ...;
                      nest_device_id: ...;
                  };
                  noiseaware_metadata?: {
                      device_id: ...;
                      device_model: ...;
                      device_name: ...;
                      noise_level_decibel: ...;
                      noise_level_nrs: ...;
                  };
                  nuki_metadata?: {
                      device_id: ...;
                      device_name: ...;
                      keypad_2_paired?: ...;
                      keypad_battery_critical?: ...;
                      keypad_paired?: ...;
                  };
                  salto_ks_metadata?: {
                      battery_level: ...;
                      customer_reference: ...;
                      lock_id: ...;
                      lock_type: ...;
                      locked_state: ...;
                      model?: ...;
                  };
                  salto_metadata?: {
                      battery_level: ...;
                      customer_reference: ...;
                      lock_id: ...;
                      lock_type: ...;
                      locked_state: ...;
                      model?: ...;
                  };
                  schlage_metadata?: {
                      device_id: ...;
                      device_name: ...;
                      model?: ...;
                  };
                  seam_bridge_metadata?: {
                      device_num: ...;
                      name: ...;
                      unlock_method?: ...;
                  };
                  sensi_metadata?: {
                      device_id: ...;
                      device_name: ...;
                      product_type: ...;
                  };
                  smartthings_metadata?: {
                      device_id: ...;
                      device_name: ...;
                      location_id?: ...;
                      model?: ...;
                  };
                  tado_metadata?: {
                      device_type: ...;
                      serial_no: ...;
                  };
                  tedee_metadata?: {
                      bridge_id: ...;
                      bridge_name: ...;
                      device_id: ...;
                      device_model: ...;
                      device_name: ...;
                      keypad_id?: ...;
                      serial_number: ...;
                  };
                  ttlock_metadata?: {
                      feature_value: ...;
                      features: ...;
                      has_gateway?: ...;
                      lock_alias: ...;
                      lock_id: ...;
                      wireless_keypads?: ...;
                  };
                  two_n_metadata?: {
                      device_id: ...;
                      device_name: ...;
                  };
                  visionline_metadata?: {
                      encoder_id: ...;
                  };
                  wyze_metadata?: {
                      device_id: ...;
                      device_info_model: ...;
                      device_name: ...;
                      keypad_uuid?: ...;
                      locker_status_hardlock?: ...;
                      product_model: ...;
                      product_name: ...;
                      product_type: ...;
                  };
              } & {
                  _experimental_supported_code_from_access_codes_lengths?: (...)[];
                  code_constraints?: (...)[];
                  door_open?: boolean;
                  has_native_entry_events?: boolean;
                  keypad_battery?: {
                      level: ...;
                  };
                  locked?: boolean;
                  max_active_codes_supported?: number;
                  supported_code_lengths?: (...)[];
                  supports_backup_access_code_pool?: boolean;
              } & {
                  active_thermostat_schedule?: null | {
                      climate_preset_key: ...;
                      created_at: ...;
                      device_id: ...;
                      ends_at: ...;
                      errors: ...;
                      is_override_allowed?: ...;
                      max_override_period_minutes?: ...;
                      name: ...;
                      starts_at: ...;
                      thermostat_schedule_id: ...;
                      workspace_id: ...;
                  };
                  available_climate_presets?: (...)[];
                  available_fan_mode_settings?: (...)[];
                  available_hvac_mode_settings?: (...)[];
                  current_climate_setting?: {
                      can_delete?: ...;
                      can_edit?: ...;
                      can_program?: ...;
                      climate_preset_key?: ...;
                      cooling_set_point_celsius?: ...;
                      cooling_set_point_fahrenheit?: ...;
                      display_name?: ...;
                      fan_mode_setting?: ...;
                      heating_set_point_celsius?: ...;
                      heating_set_point_fahrenheit?: ...;
                      hvac_mode_setting?: ...;
                      manual_override_allowed?: ...;
                      name?: ...;
                  };
                  default_climate_setting?: {
                      can_delete?: ...;
                      can_edit?: ...;
                      can_program?: ...;
                      climate_preset_key?: ...;
                      cooling_set_point_celsius?: ...;
                      cooling_set_point_fahrenheit?: ...;
                      display_name?: ...;
                      fan_mode_setting?: ...;
                      heating_set_point_celsius?: ...;
                      heating_set_point_fahrenheit?: ...;
                      hvac_mode_setting?: ...;
                      manual_override_allowed?: ...;
                      name?: ...;
                  };
                  fallback_climate_preset_key?: null | string;
                  fan_mode_setting?: "auto" | "on" | "circulate";
                  is_cooling?: boolean;
                  is_fan_running?: boolean;
                  is_heating?: boolean;
                  is_temporary_manual_override_active?: boolean;
                  max_cooling_set_point_celsius?: number;
                  max_cooling_set_point_fahrenheit?: number;
                  max_heating_set_point_celsius?: number;
                  max_heating_set_point_fahrenheit?: number;
                  min_cooling_set_point_celsius?: number;
                  min_cooling_set_point_fahrenheit?: number;
                  min_heating_cooling_delta_celsius?: number;
                  min_heating_cooling_delta_fahrenheit?: number;
                  min_heating_set_point_celsius?: number;
                  min_heating_set_point_fahrenheit?: number;
                  relative_humidity?: number;
                  temperature_celsius?: number;
                  temperature_fahrenheit?: number;
                  temperature_threshold?: {
                      lower_limit_celsius: ...;
                      lower_limit_fahrenheit: ...;
                      upper_limit_celsius: ...;
                      upper_limit_fahrenheit: ...;
                  };
                  thermostat_daily_programs?: (...)[];
                  thermostat_weekly_program?: null | {
                      created_at: ...;
                      friday_program_id: ...;
                      monday_program_id: ...;
                      saturday_program_id: ...;
                      sunday_program_id: ...;
                      thursday_program_id: ...;
                      tuesday_program_id: ...;
                      wednesday_program_id: ...;
                  };
              };
              warnings: (
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "partial_backup_access_code_pool";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "many_active_backup_codes";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "wyze_device_missing_gateway";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "functional_offline_device";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "third_party_integration_detected";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "nest_thermostat_in_manual_eco_mode";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "ttlock_lock_gateway_unlocking_not_enabled";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "ttlock_weak_gateway_signal";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "power_saving_mode";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "temperature_threshold_exceeded";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "device_communication_degraded";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "scheduled_maintenance_window";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "device_has_flaky_connection";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "salto_ks_office_mode";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "salto_ks_privacy_mode";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "salto_ks_subscription_limit_almost_reached";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "unknown_issue_with_phone";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "lockly_time_zone_not_configured";
                  })[];
              workspace_id: string;
          }[];
          thermostats: {
              can_hvac_cool?: boolean;
              can_hvac_heat?: boolean;
              can_hvac_heat_cool?: boolean;
              can_program_offline_access_codes?: boolean;
              can_program_online_access_codes?: boolean;
              can_remotely_lock?: boolean;
              can_remotely_unlock?: boolean;
              can_simulate_connection?: boolean;
              can_simulate_disconnection?: boolean;
              can_simulate_removal?: boolean;
              can_turn_off_hvac?: boolean;
              capabilities_supported: (
                  | "access_code"
                  | "lock"
                  | "phone"
                  | "thermostat"
                  | "noise_detection"
                  | "battery")[];
              connected_account_id: string;
              created_at: string;
              custom_metadata: Record<string, string | boolean>;
              device_id: string;
              device_type:
                  | "akuvox_lock"
                  | "august_lock"
                  | "brivo_access_point"
                  | "butterflymx_panel"
                  | "avigilon_alta_entry"
                  | "doorking_lock"
                  | "genie_door"
                  | "igloo_lock"
                  | "linear_lock"
                  | "lockly_lock"
                  | "kwikset_lock"
                  | "nuki_lock"
                  | "salto_lock"
                  | "schlage_lock"
                  | "seam_relay"
                  | "smartthings_lock"
                  | "wyze_lock"
                  | "yale_lock"
                  | "two_n_intercom"
                  | "controlbyweb_device"
                  | "ttlock_lock"
                  | "igloohome_lock"
                  | "hubitat_lock"
                  | "four_suites_door"
                  | "dormakaba_oracode_door"
                  | "tedee_lock"
                  | "akiles_lock"
                  | "noiseaware_activity_zone"
                  | "minut_sensor"
                  | "ecobee_thermostat"
                  | "nest_thermostat"
                  | "honeywell_resideo_thermostat"
                  | "tado_thermostat"
                  | "sensi_thermostat"
                  | "smartthings_thermostat"
                  | "ios_phone"
                  | "android_phone";
              display_name: string;
              errors: (
                  | {
                      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: "lockly_missing_wifi_bridge";
                      is_device_error: true;
                      message: string;
                  }
                  | {
                      created_at: string;
                      error_code: "invalid_credentials";
                      is_bridge_error?: (...) | (...) | (...);
                      is_connected_account_error?: (...) | (...) | (...);
                      message: string;
                  }
                  | {
                      created_at: string;
                      error_code: "bridge_disconnected";
                      is_bridge_error?: (...) | (...) | (...);
                      is_connected_account_error?: (...) | (...) | (...);
                      message: string;
                  })[];
              is_managed: true;
              location: null | {
                  location_name?: string;
                  timezone?: string;
              };
              nickname?: string;
              properties: {
                  accessory_keypad?: {
                      battery?: ...;
                      is_connected: ...;
                  };
                  appearance: {
                      name: string;
                  };
                  battery?: {
                      level: ...;
                      status: ...;
                  };
                  battery_level?: number;
                  currently_triggering_noise_threshold_ids?: (...)[];
                  has_direct_power?: boolean;
                  image_alt_text?: string;
                  image_url?: string;
                  manufacturer?: string;
                  model: {
                      accessory_keypad_supported?: (...) | (...) | (...);
                      can_connect_accessory_keypad?: (...) | (...) | (...);
                      display_name: string;
                      has_built_in_keypad?: (...) | (...) | (...);
                      manufacturer_display_name: string;
                      offline_access_codes_supported?: (...) | (...) | (...);
                      online_access_codes_supported?: (...) | (...) | (...);
                  };
                  name: string;
                  noise_level_decibels?: number;
                  offline_access_codes_enabled?: boolean;
                  online: boolean;
                  online_access_codes_enabled?: boolean;
                  serial_number?: string;
                  supports_accessory_keypad?: boolean;
                  supports_offline_access_codes?: boolean;
              } & {
                  assa_abloy_credential_service_metadata?: {
                      endpoints: ...;
                      has_active_endpoint: ...;
                  };
                  salto_space_credential_service_metadata?: {
                      has_active_phone: ...;
                  };
              } & {
                  akiles_metadata?: {
                      _member_group_id?: ...;
                      gadget_id: ...;
                      gadget_name: ...;
                      product_name: ...;
                  };
                  assa_abloy_vostio_metadata?: {
                      encoder_name: ...;
                  };
                  august_metadata?: {
                      has_keypad: ...;
                      house_id?: ...;
                      house_name: ...;
                      keypad_battery_level?: ...;
                      lock_id: ...;
                      lock_name: ...;
                      model?: ...;
                  };
                  avigilon_alta_metadata?: {
                      entry_name: ...;
                      entry_relays_total_count: ...;
                      org_name: ...;
                      site_id: ...;
                      site_name: ...;
                      zone_id: ...;
                      zone_name: ...;
                  };
                  brivo_metadata?: {
                      device_name: ...;
                  };
                  controlbyweb_metadata?: {
                      device_id: ...;
                      device_name: ...;
                      relay_name: ...;
                  };
                  dormakaba_oracode_metadata?: {
                      device_id?: ...;
                      door_id?: ...;
                      door_is_wireless: ...;
                      door_name: ...;
                      iana_timezone?: ...;
                      predefined_time_slots?: ...;
                      site_id: ...;
                      site_name: ...;
                  };
                  ecobee_metadata?: {
                      device_name: ...;
                      ecobee_device_id: ...;
                  };
                  four_suites_metadata?: {
                      device_id: ...;
                      device_name: ...;
                      reclose_delay_in_seconds: ...;
                  };
                  genie_metadata?: {
                      device_name: ...;
                      door_name: ...;
                  };
                  honeywell_resideo_metadata?: {
                      device_name: ...;
                      honeywell_resideo_device_id: ...;
                  };
                  hubitat_metadata?: {
                      device_id: ...;
                      device_label: ...;
                      device_name: ...;
                  };
                  igloo_metadata?: {
                      bridge_id: ...;
                      device_id: ...;
                      model?: ...;
                  };
                  igloohome_metadata?: {
                      bridge_id?: ...;
                      bridge_name?: ...;
                      device_id: ...;
                      device_name: ...;
                      keypad_id?: ...;
                  };
                  kwikset_metadata?: {
                      device_id: ...;
                      device_name: ...;
                      model_number: ...;
                  };
                  lockly_metadata?: {
                      device_id: ...;
                      device_name: ...;
                      model?: ...;
                  };
                  minut_metadata?: {
                      device_id: ...;
                      device_name: ...;
                      latest_sensor_values: ...;
                  };
                  nest_metadata?: {
                      device_custom_name: ...;
                      device_name: ...;
                      display_name?: ...;
                      nest_device_id: ...;
                  };
                  noiseaware_metadata?: {
                      device_id: ...;
                      device_model: ...;
                      device_name: ...;
                      noise_level_decibel: ...;
                      noise_level_nrs: ...;
                  };
                  nuki_metadata?: {
                      device_id: ...;
                      device_name: ...;
                      keypad_2_paired?: ...;
                      keypad_battery_critical?: ...;
                      keypad_paired?: ...;
                  };
                  salto_ks_metadata?: {
                      battery_level: ...;
                      customer_reference: ...;
                      lock_id: ...;
                      lock_type: ...;
                      locked_state: ...;
                      model?: ...;
                  };
                  salto_metadata?: {
                      battery_level: ...;
                      customer_reference: ...;
                      lock_id: ...;
                      lock_type: ...;
                      locked_state: ...;
                      model?: ...;
                  };
                  schlage_metadata?: {
                      device_id: ...;
                      device_name: ...;
                      model?: ...;
                  };
                  seam_bridge_metadata?: {
                      device_num: ...;
                      name: ...;
                      unlock_method?: ...;
                  };
                  sensi_metadata?: {
                      device_id: ...;
                      device_name: ...;
                      product_type: ...;
                  };
                  smartthings_metadata?: {
                      device_id: ...;
                      device_name: ...;
                      location_id?: ...;
                      model?: ...;
                  };
                  tado_metadata?: {
                      device_type: ...;
                      serial_no: ...;
                  };
                  tedee_metadata?: {
                      bridge_id: ...;
                      bridge_name: ...;
                      device_id: ...;
                      device_model: ...;
                      device_name: ...;
                      keypad_id?: ...;
                      serial_number: ...;
                  };
                  ttlock_metadata?: {
                      feature_value: ...;
                      features: ...;
                      has_gateway?: ...;
                      lock_alias: ...;
                      lock_id: ...;
                      wireless_keypads?: ...;
                  };
                  two_n_metadata?: {
                      device_id: ...;
                      device_name: ...;
                  };
                  visionline_metadata?: {
                      encoder_id: ...;
                  };
                  wyze_metadata?: {
                      device_id: ...;
                      device_info_model: ...;
                      device_name: ...;
                      keypad_uuid?: ...;
                      locker_status_hardlock?: ...;
                      product_model: ...;
                      product_name: ...;
                      product_type: ...;
                  };
              } & {
                  _experimental_supported_code_from_access_codes_lengths?: (...)[];
                  code_constraints?: (...)[];
                  door_open?: boolean;
                  has_native_entry_events?: boolean;
                  keypad_battery?: {
                      level: ...;
                  };
                  locked?: boolean;
                  max_active_codes_supported?: number;
                  supported_code_lengths?: (...)[];
                  supports_backup_access_code_pool?: boolean;
              } & {
                  active_thermostat_schedule?: null | {
                      climate_preset_key: ...;
                      created_at: ...;
                      device_id: ...;
                      ends_at: ...;
                      errors: ...;
                      is_override_allowed?: ...;
                      max_override_period_minutes?: ...;
                      name: ...;
                      starts_at: ...;
                      thermostat_schedule_id: ...;
                      workspace_id: ...;
                  };
                  available_climate_presets?: (...)[];
                  available_fan_mode_settings?: (...)[];
                  available_hvac_mode_settings?: (...)[];
                  current_climate_setting?: {
                      can_delete?: ...;
                      can_edit?: ...;
                      can_program?: ...;
                      climate_preset_key?: ...;
                      cooling_set_point_celsius?: ...;
                      cooling_set_point_fahrenheit?: ...;
                      display_name?: ...;
                      fan_mode_setting?: ...;
                      heating_set_point_celsius?: ...;
                      heating_set_point_fahrenheit?: ...;
                      hvac_mode_setting?: ...;
                      manual_override_allowed?: ...;
                      name?: ...;
                  };
                  default_climate_setting?: {
                      can_delete?: ...;
                      can_edit?: ...;
                      can_program?: ...;
                      climate_preset_key?: ...;
                      cooling_set_point_celsius?: ...;
                      cooling_set_point_fahrenheit?: ...;
                      display_name?: ...;
                      fan_mode_setting?: ...;
                      heating_set_point_celsius?: ...;
                      heating_set_point_fahrenheit?: ...;
                      hvac_mode_setting?: ...;
                      manual_override_allowed?: ...;
                      name?: ...;
                  };
                  fallback_climate_preset_key?: null | string;
                  fan_mode_setting?: "auto" | "on" | "circulate";
                  is_cooling?: boolean;
                  is_fan_running?: boolean;
                  is_heating?: boolean;
                  is_temporary_manual_override_active?: boolean;
                  max_cooling_set_point_celsius?: number;
                  max_cooling_set_point_fahrenheit?: number;
                  max_heating_set_point_celsius?: number;
                  max_heating_set_point_fahrenheit?: number;
                  min_cooling_set_point_celsius?: number;
                  min_cooling_set_point_fahrenheit?: number;
                  min_heating_cooling_delta_celsius?: number;
                  min_heating_cooling_delta_fahrenheit?: number;
                  min_heating_set_point_celsius?: number;
                  min_heating_set_point_fahrenheit?: number;
                  relative_humidity?: number;
                  temperature_celsius?: number;
                  temperature_fahrenheit?: number;
                  temperature_threshold?: {
                      lower_limit_celsius: ...;
                      lower_limit_fahrenheit: ...;
                      upper_limit_celsius: ...;
                      upper_limit_fahrenheit: ...;
                  };
                  thermostat_daily_programs?: (...)[];
                  thermostat_weekly_program?: null | {
                      created_at: ...;
                      friday_program_id: ...;
                      monday_program_id: ...;
                      saturday_program_id: ...;
                      sunday_program_id: ...;
                      thursday_program_id: ...;
                      tuesday_program_id: ...;
                      wednesday_program_id: ...;
                  };
              };
              warnings: (
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "partial_backup_access_code_pool";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "many_active_backup_codes";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "wyze_device_missing_gateway";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "functional_offline_device";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "third_party_integration_detected";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "nest_thermostat_in_manual_eco_mode";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "ttlock_lock_gateway_unlocking_not_enabled";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "ttlock_weak_gateway_signal";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "power_saving_mode";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "temperature_threshold_exceeded";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "device_communication_degraded";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "scheduled_maintenance_window";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "device_has_flaky_connection";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "salto_ks_office_mode";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "salto_ks_privacy_mode";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "salto_ks_subscription_limit_almost_reached";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "unknown_issue_with_phone";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "lockly_time_zone_not_configured";
                  })[];
              workspace_id: string;
          }[];
      }>, "devices" | "thermostats">, "devices">)

        • (params?): SeamHttpRequest<SetNonNullable<Required<{
              devices: {
                  can_hvac_cool?: boolean;
                  can_hvac_heat?: boolean;
                  can_hvac_heat_cool?: boolean;
                  can_program_offline_access_codes?: boolean;
                  can_program_online_access_codes?: boolean;
                  can_remotely_lock?: boolean;
                  can_remotely_unlock?: boolean;
                  can_simulate_connection?: boolean;
                  can_simulate_disconnection?: boolean;
                  can_simulate_removal?: boolean;
                  can_turn_off_hvac?: boolean;
                  capabilities_supported: (
                      | "access_code"
                      | "lock"
                      | "phone"
                      | "thermostat"
                      | "noise_detection"
                      | "battery")[];
                  connected_account_id: string;
                  created_at: string;
                  custom_metadata: Record<string, string | boolean>;
                  device_id: string;
                  device_type:
                      | "akuvox_lock"
                      | "august_lock"
                      | "brivo_access_point"
                      | "butterflymx_panel"
                      | "avigilon_alta_entry"
                      | "doorking_lock"
                      | "genie_door"
                      | "igloo_lock"
                      | "linear_lock"
                      | "lockly_lock"
                      | "kwikset_lock"
                      | "nuki_lock"
                      | "salto_lock"
                      | "schlage_lock"
                      | "seam_relay"
                      | "smartthings_lock"
                      | "wyze_lock"
                      | "yale_lock"
                      | "two_n_intercom"
                      | "controlbyweb_device"
                      | "ttlock_lock"
                      | "igloohome_lock"
                      | "hubitat_lock"
                      | "four_suites_door"
                      | "dormakaba_oracode_door"
                      | "tedee_lock"
                      | "akiles_lock"
                      | "noiseaware_activity_zone"
                      | "minut_sensor"
                      | "ecobee_thermostat"
                      | "nest_thermostat"
                      | "honeywell_resideo_thermostat"
                      | "tado_thermostat"
                      | "sensi_thermostat"
                      | "smartthings_thermostat"
                      | "ios_phone"
                      | "android_phone";
                  display_name: string;
                  errors: (
                      | {
                          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: "lockly_missing_wifi_bridge";
                          is_device_error: true;
                          message: string;
                      }
                      | {
                          created_at: string;
                          error_code: "invalid_credentials";
                          is_bridge_error?: (...) | (...) | (...);
                          is_connected_account_error?: (...) | (...) | (...);
                          message: string;
                      }
                      | {
                          created_at: string;
                          error_code: "bridge_disconnected";
                          is_bridge_error?: (...) | (...) | (...);
                          is_connected_account_error?: (...) | (...) | (...);
                          message: string;
                      })[];
                  is_managed: true;
                  location: null | {
                      location_name?: string;
                      timezone?: string;
                  };
                  nickname?: string;
                  properties: {
                      accessory_keypad?: {
                          battery?: ...;
                          is_connected: ...;
                      };
                      appearance: {
                          name: string;
                      };
                      battery?: {
                          level: ...;
                          status: ...;
                      };
                      battery_level?: number;
                      currently_triggering_noise_threshold_ids?: (...)[];
                      has_direct_power?: boolean;
                      image_alt_text?: string;
                      image_url?: string;
                      manufacturer?: string;
                      model: {
                          accessory_keypad_supported?: (...) | (...) | (...);
                          can_connect_accessory_keypad?: (...) | (...) | (...);
                          display_name: string;
                          has_built_in_keypad?: (...) | (...) | (...);
                          manufacturer_display_name: string;
                          offline_access_codes_supported?: (...) | (...) | (...);
                          online_access_codes_supported?: (...) | (...) | (...);
                      };
                      name: string;
                      noise_level_decibels?: number;
                      offline_access_codes_enabled?: boolean;
                      online: boolean;
                      online_access_codes_enabled?: boolean;
                      serial_number?: string;
                      supports_accessory_keypad?: boolean;
                      supports_offline_access_codes?: boolean;
                  } & {
                      assa_abloy_credential_service_metadata?: {
                          endpoints: ...;
                          has_active_endpoint: ...;
                      };
                      salto_space_credential_service_metadata?: {
                          has_active_phone: ...;
                      };
                  } & {
                      akiles_metadata?: {
                          _member_group_id?: ...;
                          gadget_id: ...;
                          gadget_name: ...;
                          product_name: ...;
                      };
                      assa_abloy_vostio_metadata?: {
                          encoder_name: ...;
                      };
                      august_metadata?: {
                          has_keypad: ...;
                          house_id?: ...;
                          house_name: ...;
                          keypad_battery_level?: ...;
                          lock_id: ...;
                          lock_name: ...;
                          model?: ...;
                      };
                      avigilon_alta_metadata?: {
                          entry_name: ...;
                          entry_relays_total_count: ...;
                          org_name: ...;
                          site_id: ...;
                          site_name: ...;
                          zone_id: ...;
                          zone_name: ...;
                      };
                      brivo_metadata?: {
                          device_name: ...;
                      };
                      controlbyweb_metadata?: {
                          device_id: ...;
                          device_name: ...;
                          relay_name: ...;
                      };
                      dormakaba_oracode_metadata?: {
                          device_id?: ...;
                          door_id?: ...;
                          door_is_wireless: ...;
                          door_name: ...;
                          iana_timezone?: ...;
                          predefined_time_slots?: ...;
                          site_id: ...;
                          site_name: ...;
                      };
                      ecobee_metadata?: {
                          device_name: ...;
                          ecobee_device_id: ...;
                      };
                      four_suites_metadata?: {
                          device_id: ...;
                          device_name: ...;
                          reclose_delay_in_seconds: ...;
                      };
                      genie_metadata?: {
                          device_name: ...;
                          door_name: ...;
                      };
                      honeywell_resideo_metadata?: {
                          device_name: ...;
                          honeywell_resideo_device_id: ...;
                      };
                      hubitat_metadata?: {
                          device_id: ...;
                          device_label: ...;
                          device_name: ...;
                      };
                      igloo_metadata?: {
                          bridge_id: ...;
                          device_id: ...;
                          model?: ...;
                      };
                      igloohome_metadata?: {
                          bridge_id?: ...;
                          bridge_name?: ...;
                          device_id: ...;
                          device_name: ...;
                          keypad_id?: ...;
                      };
                      kwikset_metadata?: {
                          device_id: ...;
                          device_name: ...;
                          model_number: ...;
                      };
                      lockly_metadata?: {
                          device_id: ...;
                          device_name: ...;
                          model?: ...;
                      };
                      minut_metadata?: {
                          device_id: ...;
                          device_name: ...;
                          latest_sensor_values: ...;
                      };
                      nest_metadata?: {
                          device_custom_name: ...;
                          device_name: ...;
                          display_name?: ...;
                          nest_device_id: ...;
                      };
                      noiseaware_metadata?: {
                          device_id: ...;
                          device_model: ...;
                          device_name: ...;
                          noise_level_decibel: ...;
                          noise_level_nrs: ...;
                      };
                      nuki_metadata?: {
                          device_id: ...;
                          device_name: ...;
                          keypad_2_paired?: ...;
                          keypad_battery_critical?: ...;
                          keypad_paired?: ...;
                      };
                      salto_ks_metadata?: {
                          battery_level: ...;
                          customer_reference: ...;
                          lock_id: ...;
                          lock_type: ...;
                          locked_state: ...;
                          model?: ...;
                      };
                      salto_metadata?: {
                          battery_level: ...;
                          customer_reference: ...;
                          lock_id: ...;
                          lock_type: ...;
                          locked_state: ...;
                          model?: ...;
                      };
                      schlage_metadata?: {
                          device_id: ...;
                          device_name: ...;
                          model?: ...;
                      };
                      seam_bridge_metadata?: {
                          device_num: ...;
                          name: ...;
                          unlock_method?: ...;
                      };
                      sensi_metadata?: {
                          device_id: ...;
                          device_name: ...;
                          product_type: ...;
                      };
                      smartthings_metadata?: {
                          device_id: ...;
                          device_name: ...;
                          location_id?: ...;
                          model?: ...;
                      };
                      tado_metadata?: {
                          device_type: ...;
                          serial_no: ...;
                      };
                      tedee_metadata?: {
                          bridge_id: ...;
                          bridge_name: ...;
                          device_id: ...;
                          device_model: ...;
                          device_name: ...;
                          keypad_id?: ...;
                          serial_number: ...;
                      };
                      ttlock_metadata?: {
                          feature_value: ...;
                          features: ...;
                          has_gateway?: ...;
                          lock_alias: ...;
                          lock_id: ...;
                          wireless_keypads?: ...;
                      };
                      two_n_metadata?: {
                          device_id: ...;
                          device_name: ...;
                      };
                      visionline_metadata?: {
                          encoder_id: ...;
                      };
                      wyze_metadata?: {
                          device_id: ...;
                          device_info_model: ...;
                          device_name: ...;
                          keypad_uuid?: ...;
                          locker_status_hardlock?: ...;
                          product_model: ...;
                          product_name: ...;
                          product_type: ...;
                      };
                  } & {
                      _experimental_supported_code_from_access_codes_lengths?: (...)[];
                      code_constraints?: (...)[];
                      door_open?: boolean;
                      has_native_entry_events?: boolean;
                      keypad_battery?: {
                          level: ...;
                      };
                      locked?: boolean;
                      max_active_codes_supported?: number;
                      supported_code_lengths?: (...)[];
                      supports_backup_access_code_pool?: boolean;
                  } & {
                      active_thermostat_schedule?: null | {
                          climate_preset_key: ...;
                          created_at: ...;
                          device_id: ...;
                          ends_at: ...;
                          errors: ...;
                          is_override_allowed?: ...;
                          max_override_period_minutes?: ...;
                          name: ...;
                          starts_at: ...;
                          thermostat_schedule_id: ...;
                          workspace_id: ...;
                      };
                      available_climate_presets?: (...)[];
                      available_fan_mode_settings?: (...)[];
                      available_hvac_mode_settings?: (...)[];
                      current_climate_setting?: {
                          can_delete?: ...;
                          can_edit?: ...;
                          can_program?: ...;
                          climate_preset_key?: ...;
                          cooling_set_point_celsius?: ...;
                          cooling_set_point_fahrenheit?: ...;
                          display_name?: ...;
                          fan_mode_setting?: ...;
                          heating_set_point_celsius?: ...;
                          heating_set_point_fahrenheit?: ...;
                          hvac_mode_setting?: ...;
                          manual_override_allowed?: ...;
                          name?: ...;
                      };
                      default_climate_setting?: {
                          can_delete?: ...;
                          can_edit?: ...;
                          can_program?: ...;
                          climate_preset_key?: ...;
                          cooling_set_point_celsius?: ...;
                          cooling_set_point_fahrenheit?: ...;
                          display_name?: ...;
                          fan_mode_setting?: ...;
                          heating_set_point_celsius?: ...;
                          heating_set_point_fahrenheit?: ...;
                          hvac_mode_setting?: ...;
                          manual_override_allowed?: ...;
                          name?: ...;
                      };
                      fallback_climate_preset_key?: null | string;
                      fan_mode_setting?: "auto" | "on" | "circulate";
                      is_cooling?: boolean;
                      is_fan_running?: boolean;
                      is_heating?: boolean;
                      is_temporary_manual_override_active?: boolean;
                      max_cooling_set_point_celsius?: number;
                      max_cooling_set_point_fahrenheit?: number;
                      max_heating_set_point_celsius?: number;
                      max_heating_set_point_fahrenheit?: number;
                      min_cooling_set_point_celsius?: number;
                      min_cooling_set_point_fahrenheit?: number;
                      min_heating_cooling_delta_celsius?: number;
                      min_heating_cooling_delta_fahrenheit?: number;
                      min_heating_set_point_celsius?: number;
                      min_heating_set_point_fahrenheit?: number;
                      relative_humidity?: number;
                      temperature_celsius?: number;
                      temperature_fahrenheit?: number;
                      temperature_threshold?: {
                          lower_limit_celsius: ...;
                          lower_limit_fahrenheit: ...;
                          upper_limit_celsius: ...;
                          upper_limit_fahrenheit: ...;
                      };
                      thermostat_daily_programs?: (...)[];
                      thermostat_weekly_program?: null | {
                          created_at: ...;
                          friday_program_id: ...;
                          monday_program_id: ...;
                          saturday_program_id: ...;
                          sunday_program_id: ...;
                          thursday_program_id: ...;
                          tuesday_program_id: ...;
                          wednesday_program_id: ...;
                      };
                  };
                  warnings: (
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "partial_backup_access_code_pool";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "many_active_backup_codes";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "wyze_device_missing_gateway";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "functional_offline_device";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "third_party_integration_detected";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "nest_thermostat_in_manual_eco_mode";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "ttlock_lock_gateway_unlocking_not_enabled";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "ttlock_weak_gateway_signal";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "power_saving_mode";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "temperature_threshold_exceeded";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "device_communication_degraded";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "scheduled_maintenance_window";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "device_has_flaky_connection";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "salto_ks_office_mode";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "salto_ks_privacy_mode";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "salto_ks_subscription_limit_almost_reached";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "unknown_issue_with_phone";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "lockly_time_zone_not_configured";
                      })[];
                  workspace_id: string;
              }[];
              thermostats: {
                  can_hvac_cool?: boolean;
                  can_hvac_heat?: boolean;
                  can_hvac_heat_cool?: boolean;
                  can_program_offline_access_codes?: boolean;
                  can_program_online_access_codes?: boolean;
                  can_remotely_lock?: boolean;
                  can_remotely_unlock?: boolean;
                  can_simulate_connection?: boolean;
                  can_simulate_disconnection?: boolean;
                  can_simulate_removal?: boolean;
                  can_turn_off_hvac?: boolean;
                  capabilities_supported: (
                      | "access_code"
                      | "lock"
                      | "phone"
                      | "thermostat"
                      | "noise_detection"
                      | "battery")[];
                  connected_account_id: string;
                  created_at: string;
                  custom_metadata: Record<string, string | boolean>;
                  device_id: string;
                  device_type:
                      | "akuvox_lock"
                      | "august_lock"
                      | "brivo_access_point"
                      | "butterflymx_panel"
                      | "avigilon_alta_entry"
                      | "doorking_lock"
                      | "genie_door"
                      | "igloo_lock"
                      | "linear_lock"
                      | "lockly_lock"
                      | "kwikset_lock"
                      | "nuki_lock"
                      | "salto_lock"
                      | "schlage_lock"
                      | "seam_relay"
                      | "smartthings_lock"
                      | "wyze_lock"
                      | "yale_lock"
                      | "two_n_intercom"
                      | "controlbyweb_device"
                      | "ttlock_lock"
                      | "igloohome_lock"
                      | "hubitat_lock"
                      | "four_suites_door"
                      | "dormakaba_oracode_door"
                      | "tedee_lock"
                      | "akiles_lock"
                      | "noiseaware_activity_zone"
                      | "minut_sensor"
                      | "ecobee_thermostat"
                      | "nest_thermostat"
                      | "honeywell_resideo_thermostat"
                      | "tado_thermostat"
                      | "sensi_thermostat"
                      | "smartthings_thermostat"
                      | "ios_phone"
                      | "android_phone";
                  display_name: string;
                  errors: (
                      | {
                          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: "lockly_missing_wifi_bridge";
                          is_device_error: true;
                          message: string;
                      }
                      | {
                          created_at: string;
                          error_code: "invalid_credentials";
                          is_bridge_error?: (...) | (...) | (...);
                          is_connected_account_error?: (...) | (...) | (...);
                          message: string;
                      }
                      | {
                          created_at: string;
                          error_code: "bridge_disconnected";
                          is_bridge_error?: (...) | (...) | (...);
                          is_connected_account_error?: (...) | (...) | (...);
                          message: string;
                      })[];
                  is_managed: true;
                  location: null | {
                      location_name?: string;
                      timezone?: string;
                  };
                  nickname?: string;
                  properties: {
                      accessory_keypad?: {
                          battery?: ...;
                          is_connected: ...;
                      };
                      appearance: {
                          name: string;
                      };
                      battery?: {
                          level: ...;
                          status: ...;
                      };
                      battery_level?: number;
                      currently_triggering_noise_threshold_ids?: (...)[];
                      has_direct_power?: boolean;
                      image_alt_text?: string;
                      image_url?: string;
                      manufacturer?: string;
                      model: {
                          accessory_keypad_supported?: (...) | (...) | (...);
                          can_connect_accessory_keypad?: (...) | (...) | (...);
                          display_name: string;
                          has_built_in_keypad?: (...) | (...) | (...);
                          manufacturer_display_name: string;
                          offline_access_codes_supported?: (...) | (...) | (...);
                          online_access_codes_supported?: (...) | (...) | (...);
                      };
                      name: string;
                      noise_level_decibels?: number;
                      offline_access_codes_enabled?: boolean;
                      online: boolean;
                      online_access_codes_enabled?: boolean;
                      serial_number?: string;
                      supports_accessory_keypad?: boolean;
                      supports_offline_access_codes?: boolean;
                  } & {
                      assa_abloy_credential_service_metadata?: {
                          endpoints: ...;
                          has_active_endpoint: ...;
                      };
                      salto_space_credential_service_metadata?: {
                          has_active_phone: ...;
                      };
                  } & {
                      akiles_metadata?: {
                          _member_group_id?: ...;
                          gadget_id: ...;
                          gadget_name: ...;
                          product_name: ...;
                      };
                      assa_abloy_vostio_metadata?: {
                          encoder_name: ...;
                      };
                      august_metadata?: {
                          has_keypad: ...;
                          house_id?: ...;
                          house_name: ...;
                          keypad_battery_level?: ...;
                          lock_id: ...;
                          lock_name: ...;
                          model?: ...;
                      };
                      avigilon_alta_metadata?: {
                          entry_name: ...;
                          entry_relays_total_count: ...;
                          org_name: ...;
                          site_id: ...;
                          site_name: ...;
                          zone_id: ...;
                          zone_name: ...;
                      };
                      brivo_metadata?: {
                          device_name: ...;
                      };
                      controlbyweb_metadata?: {
                          device_id: ...;
                          device_name: ...;
                          relay_name: ...;
                      };
                      dormakaba_oracode_metadata?: {
                          device_id?: ...;
                          door_id?: ...;
                          door_is_wireless: ...;
                          door_name: ...;
                          iana_timezone?: ...;
                          predefined_time_slots?: ...;
                          site_id: ...;
                          site_name: ...;
                      };
                      ecobee_metadata?: {
                          device_name: ...;
                          ecobee_device_id: ...;
                      };
                      four_suites_metadata?: {
                          device_id: ...;
                          device_name: ...;
                          reclose_delay_in_seconds: ...;
                      };
                      genie_metadata?: {
                          device_name: ...;
                          door_name: ...;
                      };
                      honeywell_resideo_metadata?: {
                          device_name: ...;
                          honeywell_resideo_device_id: ...;
                      };
                      hubitat_metadata?: {
                          device_id: ...;
                          device_label: ...;
                          device_name: ...;
                      };
                      igloo_metadata?: {
                          bridge_id: ...;
                          device_id: ...;
                          model?: ...;
                      };
                      igloohome_metadata?: {
                          bridge_id?: ...;
                          bridge_name?: ...;
                          device_id: ...;
                          device_name: ...;
                          keypad_id?: ...;
                      };
                      kwikset_metadata?: {
                          device_id: ...;
                          device_name: ...;
                          model_number: ...;
                      };
                      lockly_metadata?: {
                          device_id: ...;
                          device_name: ...;
                          model?: ...;
                      };
                      minut_metadata?: {
                          device_id: ...;
                          device_name: ...;
                          latest_sensor_values: ...;
                      };
                      nest_metadata?: {
                          device_custom_name: ...;
                          device_name: ...;
                          display_name?: ...;
                          nest_device_id: ...;
                      };
                      noiseaware_metadata?: {
                          device_id: ...;
                          device_model: ...;
                          device_name: ...;
                          noise_level_decibel: ...;
                          noise_level_nrs: ...;
                      };
                      nuki_metadata?: {
                          device_id: ...;
                          device_name: ...;
                          keypad_2_paired?: ...;
                          keypad_battery_critical?: ...;
                          keypad_paired?: ...;
                      };
                      salto_ks_metadata?: {
                          battery_level: ...;
                          customer_reference: ...;
                          lock_id: ...;
                          lock_type: ...;
                          locked_state: ...;
                          model?: ...;
                      };
                      salto_metadata?: {
                          battery_level: ...;
                          customer_reference: ...;
                          lock_id: ...;
                          lock_type: ...;
                          locked_state: ...;
                          model?: ...;
                      };
                      schlage_metadata?: {
                          device_id: ...;
                          device_name: ...;
                          model?: ...;
                      };
                      seam_bridge_metadata?: {
                          device_num: ...;
                          name: ...;
                          unlock_method?: ...;
                      };
                      sensi_metadata?: {
                          device_id: ...;
                          device_name: ...;
                          product_type: ...;
                      };
                      smartthings_metadata?: {
                          device_id: ...;
                          device_name: ...;
                          location_id?: ...;
                          model?: ...;
                      };
                      tado_metadata?: {
                          device_type: ...;
                          serial_no: ...;
                      };
                      tedee_metadata?: {
                          bridge_id: ...;
                          bridge_name: ...;
                          device_id: ...;
                          device_model: ...;
                          device_name: ...;
                          keypad_id?: ...;
                          serial_number: ...;
                      };
                      ttlock_metadata?: {
                          feature_value: ...;
                          features: ...;
                          has_gateway?: ...;
                          lock_alias: ...;
                          lock_id: ...;
                          wireless_keypads?: ...;
                      };
                      two_n_metadata?: {
                          device_id: ...;
                          device_name: ...;
                      };
                      visionline_metadata?: {
                          encoder_id: ...;
                      };
                      wyze_metadata?: {
                          device_id: ...;
                          device_info_model: ...;
                          device_name: ...;
                          keypad_uuid?: ...;
                          locker_status_hardlock?: ...;
                          product_model: ...;
                          product_name: ...;
                          product_type: ...;
                      };
                  } & {
                      _experimental_supported_code_from_access_codes_lengths?: (...)[];
                      code_constraints?: (...)[];
                      door_open?: boolean;
                      has_native_entry_events?: boolean;
                      keypad_battery?: {
                          level: ...;
                      };
                      locked?: boolean;
                      max_active_codes_supported?: number;
                      supported_code_lengths?: (...)[];
                      supports_backup_access_code_pool?: boolean;
                  } & {
                      active_thermostat_schedule?: null | {
                          climate_preset_key: ...;
                          created_at: ...;
                          device_id: ...;
                          ends_at: ...;
                          errors: ...;
                          is_override_allowed?: ...;
                          max_override_period_minutes?: ...;
                          name: ...;
                          starts_at: ...;
                          thermostat_schedule_id: ...;
                          workspace_id: ...;
                      };
                      available_climate_presets?: (...)[];
                      available_fan_mode_settings?: (...)[];
                      available_hvac_mode_settings?: (...)[];
                      current_climate_setting?: {
                          can_delete?: ...;
                          can_edit?: ...;
                          can_program?: ...;
                          climate_preset_key?: ...;
                          cooling_set_point_celsius?: ...;
                          cooling_set_point_fahrenheit?: ...;
                          display_name?: ...;
                          fan_mode_setting?: ...;
                          heating_set_point_celsius?: ...;
                          heating_set_point_fahrenheit?: ...;
                          hvac_mode_setting?: ...;
                          manual_override_allowed?: ...;
                          name?: ...;
                      };
                      default_climate_setting?: {
                          can_delete?: ...;
                          can_edit?: ...;
                          can_program?: ...;
                          climate_preset_key?: ...;
                          cooling_set_point_celsius?: ...;
                          cooling_set_point_fahrenheit?: ...;
                          display_name?: ...;
                          fan_mode_setting?: ...;
                          heating_set_point_celsius?: ...;
                          heating_set_point_fahrenheit?: ...;
                          hvac_mode_setting?: ...;
                          manual_override_allowed?: ...;
                          name?: ...;
                      };
                      fallback_climate_preset_key?: null | string;
                      fan_mode_setting?: "auto" | "on" | "circulate";
                      is_cooling?: boolean;
                      is_fan_running?: boolean;
                      is_heating?: boolean;
                      is_temporary_manual_override_active?: boolean;
                      max_cooling_set_point_celsius?: number;
                      max_cooling_set_point_fahrenheit?: number;
                      max_heating_set_point_celsius?: number;
                      max_heating_set_point_fahrenheit?: number;
                      min_cooling_set_point_celsius?: number;
                      min_cooling_set_point_fahrenheit?: number;
                      min_heating_cooling_delta_celsius?: number;
                      min_heating_cooling_delta_fahrenheit?: number;
                      min_heating_set_point_celsius?: number;
                      min_heating_set_point_fahrenheit?: number;
                      relative_humidity?: number;
                      temperature_celsius?: number;
                      temperature_fahrenheit?: number;
                      temperature_threshold?: {
                          lower_limit_celsius: ...;
                          lower_limit_fahrenheit: ...;
                          upper_limit_celsius: ...;
                          upper_limit_fahrenheit: ...;
                      };
                      thermostat_daily_programs?: (...)[];
                      thermostat_weekly_program?: null | {
                          created_at: ...;
                          friday_program_id: ...;
                          monday_program_id: ...;
                          saturday_program_id: ...;
                          sunday_program_id: ...;
                          thursday_program_id: ...;
                          tuesday_program_id: ...;
                          wednesday_program_id: ...;
                      };
                  };
                  warnings: (
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "partial_backup_access_code_pool";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "many_active_backup_codes";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "wyze_device_missing_gateway";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "functional_offline_device";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "third_party_integration_detected";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "nest_thermostat_in_manual_eco_mode";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "ttlock_lock_gateway_unlocking_not_enabled";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "ttlock_weak_gateway_signal";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "power_saving_mode";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "temperature_threshold_exceeded";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "device_communication_degraded";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "scheduled_maintenance_window";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "device_has_flaky_connection";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "salto_ks_office_mode";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "salto_ks_privacy_mode";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "salto_ks_subscription_limit_almost_reached";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "unknown_issue_with_phone";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "lockly_time_zone_not_configured";
                      })[];
                  workspace_id: string;
              }[];
          }>, "devices" | "thermostats">, "devices">
        • Parameters

          • Optionalparams: {
                connect_webview_id?: string;
                connected_account_id?: string;
                connected_account_ids?: string[];
                created_before?: Date;
                custom_metadata_has?: Record<string, string | boolean>;
                customer_ids?: string[];
                device_ids?: string[];
                device_type?:
                    | "ecobee_thermostat"
                    | "nest_thermostat"
                    | "honeywell_resideo_thermostat"
                    | "tado_thermostat"
                    | "sensi_thermostat"
                    | "smartthings_thermostat";
                device_types?: (
                    | "ecobee_thermostat"
                    | "nest_thermostat"
                    | "honeywell_resideo_thermostat"
                    | "tado_thermostat"
                    | "sensi_thermostat"
                    | "smartthings_thermostat")[];
                exclude_if?: (
                    | "can_remotely_unlock"
                    | "can_remotely_lock"
                    | "can_program_offline_access_codes"
                    | "can_program_online_access_codes"
                    | "can_hvac_heat"
                    | "can_hvac_cool"
                    | "can_hvac_heat_cool"
                    | "can_turn_off_hvac"
                    | "can_simulate_removal"
                    | "can_simulate_connection"
                    | "can_simulate_disconnection")[];
                include_if?: (
                    | "can_remotely_unlock"
                    | "can_remotely_lock"
                    | "can_program_offline_access_codes"
                    | "can_program_online_access_codes"
                    | "can_hvac_heat"
                    | "can_hvac_cool"
                    | "can_hvac_heat_cool"
                    | "can_turn_off_hvac"
                    | "can_simulate_removal"
                    | "can_simulate_connection"
                    | "can_simulate_disconnection")[];
                limit?: number;
                manufacturer?:
                    | "smartthings"
                    | "nest"
                    | "ecobee"
                    | "honeywell_resideo"
                    | "tado"
                    | "sensi";
                page_cursor?: null | string;
                space_id?: string;
                unstable_location_id?: null | string;
                user_identifier_key?: string;
            }
            • Optionalconnect_webview_id?: string

              ID of the Connect Webview for which you want to list devices.

            • Optionalconnected_account_id?: string

              ID of the connected account for which you want to list devices.

            • Optionalconnected_account_ids?: string[]

              Array of IDs of the connected accounts for which you want to list devices.

            • Optionalcreated_before?: Date

              Timestamp by which to limit returned devices. Returns devices created before this timestamp.

            • Optionalcustom_metadata_has?: Record<string, string | boolean>

              Set of key:value custom metadata pairs for which you want to list devices.

            • Optionalcustomer_ids?: string[]
            • Optionaldevice_ids?: string[]

              Array of device IDs for which you want to list devices.

            • Optionaldevice_type?:
                  | "ecobee_thermostat"
                  | "nest_thermostat"
                  | "honeywell_resideo_thermostat"
                  | "tado_thermostat"
                  | "sensi_thermostat"
                  | "smartthings_thermostat"

              Device type by which you want to filter thermostat devices.

            • Optionaldevice_types?: (
                  | "ecobee_thermostat"
                  | "nest_thermostat"
                  | "honeywell_resideo_thermostat"
                  | "tado_thermostat"
                  | "sensi_thermostat"
                  | "smartthings_thermostat")[]

              Array of device types by which you want to filter thermostat devices.

            • Optionalexclude_if?: (
                  | "can_remotely_unlock"
                  | "can_remotely_lock"
                  | "can_program_offline_access_codes"
                  | "can_program_online_access_codes"
                  | "can_hvac_heat"
                  | "can_hvac_cool"
                  | "can_hvac_heat_cool"
                  | "can_turn_off_hvac"
                  | "can_simulate_removal"
                  | "can_simulate_connection"
                  | "can_simulate_disconnection")[]
            • Optionalinclude_if?: (
                  | "can_remotely_unlock"
                  | "can_remotely_lock"
                  | "can_program_offline_access_codes"
                  | "can_program_online_access_codes"
                  | "can_hvac_heat"
                  | "can_hvac_cool"
                  | "can_hvac_heat_cool"
                  | "can_turn_off_hvac"
                  | "can_simulate_removal"
                  | "can_simulate_connection"
                  | "can_simulate_disconnection")[]
            • Optionallimit?: number

              Numerical limit on the number of devices to return.

            • Optionalmanufacturer?:
                  | "smartthings"
                  | "nest"
                  | "ecobee"
                  | "honeywell_resideo"
                  | "tado"
                  | "sensi"

              Manufacturer by which you want to filter thermostat devices.

            • Optionalpage_cursor?: null | string

              Identifies the specific page of results to return, obtained from the previous page's next_page_cursor.

            • Optionalspace_id?: string

              ID of the space for which you want to list devices.

            • Optionalunstable_location_id?: null | string

              Use space_id.

            • Optionaluser_identifier_key?: string

              Your own internal user ID for the user for which you want to list devices.

          Returns SeamHttpRequest<SetNonNullable<Required<{
              devices: {
                  can_hvac_cool?: boolean;
                  can_hvac_heat?: boolean;
                  can_hvac_heat_cool?: boolean;
                  can_program_offline_access_codes?: boolean;
                  can_program_online_access_codes?: boolean;
                  can_remotely_lock?: boolean;
                  can_remotely_unlock?: boolean;
                  can_simulate_connection?: boolean;
                  can_simulate_disconnection?: boolean;
                  can_simulate_removal?: boolean;
                  can_turn_off_hvac?: boolean;
                  capabilities_supported: (
                      | "access_code"
                      | "lock"
                      | "phone"
                      | "thermostat"
                      | "noise_detection"
                      | "battery")[];
                  connected_account_id: string;
                  created_at: string;
                  custom_metadata: Record<string, string | boolean>;
                  device_id: string;
                  device_type:
                      | "akuvox_lock"
                      | "august_lock"
                      | "brivo_access_point"
                      | "butterflymx_panel"
                      | "avigilon_alta_entry"
                      | "doorking_lock"
                      | "genie_door"
                      | "igloo_lock"
                      | "linear_lock"
                      | "lockly_lock"
                      | "kwikset_lock"
                      | "nuki_lock"
                      | "salto_lock"
                      | "schlage_lock"
                      | "seam_relay"
                      | "smartthings_lock"
                      | "wyze_lock"
                      | "yale_lock"
                      | "two_n_intercom"
                      | "controlbyweb_device"
                      | "ttlock_lock"
                      | "igloohome_lock"
                      | "hubitat_lock"
                      | "four_suites_door"
                      | "dormakaba_oracode_door"
                      | "tedee_lock"
                      | "akiles_lock"
                      | "noiseaware_activity_zone"
                      | "minut_sensor"
                      | "ecobee_thermostat"
                      | "nest_thermostat"
                      | "honeywell_resideo_thermostat"
                      | "tado_thermostat"
                      | "sensi_thermostat"
                      | "smartthings_thermostat"
                      | "ios_phone"
                      | "android_phone";
                  display_name: string;
                  errors: (
                      | {
                          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: "lockly_missing_wifi_bridge";
                          is_device_error: true;
                          message: string;
                      }
                      | {
                          created_at: string;
                          error_code: "invalid_credentials";
                          is_bridge_error?: (...) | (...) | (...);
                          is_connected_account_error?: (...) | (...) | (...);
                          message: string;
                      }
                      | {
                          created_at: string;
                          error_code: "bridge_disconnected";
                          is_bridge_error?: (...) | (...) | (...);
                          is_connected_account_error?: (...) | (...) | (...);
                          message: string;
                      })[];
                  is_managed: true;
                  location: null | {
                      location_name?: string;
                      timezone?: string;
                  };
                  nickname?: string;
                  properties: {
                      accessory_keypad?: {
                          battery?: ...;
                          is_connected: ...;
                      };
                      appearance: {
                          name: string;
                      };
                      battery?: {
                          level: ...;
                          status: ...;
                      };
                      battery_level?: number;
                      currently_triggering_noise_threshold_ids?: (...)[];
                      has_direct_power?: boolean;
                      image_alt_text?: string;
                      image_url?: string;
                      manufacturer?: string;
                      model: {
                          accessory_keypad_supported?: (...) | (...) | (...);
                          can_connect_accessory_keypad?: (...) | (...) | (...);
                          display_name: string;
                          has_built_in_keypad?: (...) | (...) | (...);
                          manufacturer_display_name: string;
                          offline_access_codes_supported?: (...) | (...) | (...);
                          online_access_codes_supported?: (...) | (...) | (...);
                      };
                      name: string;
                      noise_level_decibels?: number;
                      offline_access_codes_enabled?: boolean;
                      online: boolean;
                      online_access_codes_enabled?: boolean;
                      serial_number?: string;
                      supports_accessory_keypad?: boolean;
                      supports_offline_access_codes?: boolean;
                  } & {
                      assa_abloy_credential_service_metadata?: {
                          endpoints: ...;
                          has_active_endpoint: ...;
                      };
                      salto_space_credential_service_metadata?: {
                          has_active_phone: ...;
                      };
                  } & {
                      akiles_metadata?: {
                          _member_group_id?: ...;
                          gadget_id: ...;
                          gadget_name: ...;
                          product_name: ...;
                      };
                      assa_abloy_vostio_metadata?: {
                          encoder_name: ...;
                      };
                      august_metadata?: {
                          has_keypad: ...;
                          house_id?: ...;
                          house_name: ...;
                          keypad_battery_level?: ...;
                          lock_id: ...;
                          lock_name: ...;
                          model?: ...;
                      };
                      avigilon_alta_metadata?: {
                          entry_name: ...;
                          entry_relays_total_count: ...;
                          org_name: ...;
                          site_id: ...;
                          site_name: ...;
                          zone_id: ...;
                          zone_name: ...;
                      };
                      brivo_metadata?: {
                          device_name: ...;
                      };
                      controlbyweb_metadata?: {
                          device_id: ...;
                          device_name: ...;
                          relay_name: ...;
                      };
                      dormakaba_oracode_metadata?: {
                          device_id?: ...;
                          door_id?: ...;
                          door_is_wireless: ...;
                          door_name: ...;
                          iana_timezone?: ...;
                          predefined_time_slots?: ...;
                          site_id: ...;
                          site_name: ...;
                      };
                      ecobee_metadata?: {
                          device_name: ...;
                          ecobee_device_id: ...;
                      };
                      four_suites_metadata?: {
                          device_id: ...;
                          device_name: ...;
                          reclose_delay_in_seconds: ...;
                      };
                      genie_metadata?: {
                          device_name: ...;
                          door_name: ...;
                      };
                      honeywell_resideo_metadata?: {
                          device_name: ...;
                          honeywell_resideo_device_id: ...;
                      };
                      hubitat_metadata?: {
                          device_id: ...;
                          device_label: ...;
                          device_name: ...;
                      };
                      igloo_metadata?: {
                          bridge_id: ...;
                          device_id: ...;
                          model?: ...;
                      };
                      igloohome_metadata?: {
                          bridge_id?: ...;
                          bridge_name?: ...;
                          device_id: ...;
                          device_name: ...;
                          keypad_id?: ...;
                      };
                      kwikset_metadata?: {
                          device_id: ...;
                          device_name: ...;
                          model_number: ...;
                      };
                      lockly_metadata?: {
                          device_id: ...;
                          device_name: ...;
                          model?: ...;
                      };
                      minut_metadata?: {
                          device_id: ...;
                          device_name: ...;
                          latest_sensor_values: ...;
                      };
                      nest_metadata?: {
                          device_custom_name: ...;
                          device_name: ...;
                          display_name?: ...;
                          nest_device_id: ...;
                      };
                      noiseaware_metadata?: {
                          device_id: ...;
                          device_model: ...;
                          device_name: ...;
                          noise_level_decibel: ...;
                          noise_level_nrs: ...;
                      };
                      nuki_metadata?: {
                          device_id: ...;
                          device_name: ...;
                          keypad_2_paired?: ...;
                          keypad_battery_critical?: ...;
                          keypad_paired?: ...;
                      };
                      salto_ks_metadata?: {
                          battery_level: ...;
                          customer_reference: ...;
                          lock_id: ...;
                          lock_type: ...;
                          locked_state: ...;
                          model?: ...;
                      };
                      salto_metadata?: {
                          battery_level: ...;
                          customer_reference: ...;
                          lock_id: ...;
                          lock_type: ...;
                          locked_state: ...;
                          model?: ...;
                      };
                      schlage_metadata?: {
                          device_id: ...;
                          device_name: ...;
                          model?: ...;
                      };
                      seam_bridge_metadata?: {
                          device_num: ...;
                          name: ...;
                          unlock_method?: ...;
                      };
                      sensi_metadata?: {
                          device_id: ...;
                          device_name: ...;
                          product_type: ...;
                      };
                      smartthings_metadata?: {
                          device_id: ...;
                          device_name: ...;
                          location_id?: ...;
                          model?: ...;
                      };
                      tado_metadata?: {
                          device_type: ...;
                          serial_no: ...;
                      };
                      tedee_metadata?: {
                          bridge_id: ...;
                          bridge_name: ...;
                          device_id: ...;
                          device_model: ...;
                          device_name: ...;
                          keypad_id?: ...;
                          serial_number: ...;
                      };
                      ttlock_metadata?: {
                          feature_value: ...;
                          features: ...;
                          has_gateway?: ...;
                          lock_alias: ...;
                          lock_id: ...;
                          wireless_keypads?: ...;
                      };
                      two_n_metadata?: {
                          device_id: ...;
                          device_name: ...;
                      };
                      visionline_metadata?: {
                          encoder_id: ...;
                      };
                      wyze_metadata?: {
                          device_id: ...;
                          device_info_model: ...;
                          device_name: ...;
                          keypad_uuid?: ...;
                          locker_status_hardlock?: ...;
                          product_model: ...;
                          product_name: ...;
                          product_type: ...;
                      };
                  } & {
                      _experimental_supported_code_from_access_codes_lengths?: (...)[];
                      code_constraints?: (...)[];
                      door_open?: boolean;
                      has_native_entry_events?: boolean;
                      keypad_battery?: {
                          level: ...;
                      };
                      locked?: boolean;
                      max_active_codes_supported?: number;
                      supported_code_lengths?: (...)[];
                      supports_backup_access_code_pool?: boolean;
                  } & {
                      active_thermostat_schedule?: null | {
                          climate_preset_key: ...;
                          created_at: ...;
                          device_id: ...;
                          ends_at: ...;
                          errors: ...;
                          is_override_allowed?: ...;
                          max_override_period_minutes?: ...;
                          name: ...;
                          starts_at: ...;
                          thermostat_schedule_id: ...;
                          workspace_id: ...;
                      };
                      available_climate_presets?: (...)[];
                      available_fan_mode_settings?: (...)[];
                      available_hvac_mode_settings?: (...)[];
                      current_climate_setting?: {
                          can_delete?: ...;
                          can_edit?: ...;
                          can_program?: ...;
                          climate_preset_key?: ...;
                          cooling_set_point_celsius?: ...;
                          cooling_set_point_fahrenheit?: ...;
                          display_name?: ...;
                          fan_mode_setting?: ...;
                          heating_set_point_celsius?: ...;
                          heating_set_point_fahrenheit?: ...;
                          hvac_mode_setting?: ...;
                          manual_override_allowed?: ...;
                          name?: ...;
                      };
                      default_climate_setting?: {
                          can_delete?: ...;
                          can_edit?: ...;
                          can_program?: ...;
                          climate_preset_key?: ...;
                          cooling_set_point_celsius?: ...;
                          cooling_set_point_fahrenheit?: ...;
                          display_name?: ...;
                          fan_mode_setting?: ...;
                          heating_set_point_celsius?: ...;
                          heating_set_point_fahrenheit?: ...;
                          hvac_mode_setting?: ...;
                          manual_override_allowed?: ...;
                          name?: ...;
                      };
                      fallback_climate_preset_key?: null | string;
                      fan_mode_setting?: "auto" | "on" | "circulate";
                      is_cooling?: boolean;
                      is_fan_running?: boolean;
                      is_heating?: boolean;
                      is_temporary_manual_override_active?: boolean;
                      max_cooling_set_point_celsius?: number;
                      max_cooling_set_point_fahrenheit?: number;
                      max_heating_set_point_celsius?: number;
                      max_heating_set_point_fahrenheit?: number;
                      min_cooling_set_point_celsius?: number;
                      min_cooling_set_point_fahrenheit?: number;
                      min_heating_cooling_delta_celsius?: number;
                      min_heating_cooling_delta_fahrenheit?: number;
                      min_heating_set_point_celsius?: number;
                      min_heating_set_point_fahrenheit?: number;
                      relative_humidity?: number;
                      temperature_celsius?: number;
                      temperature_fahrenheit?: number;
                      temperature_threshold?: {
                          lower_limit_celsius: ...;
                          lower_limit_fahrenheit: ...;
                          upper_limit_celsius: ...;
                          upper_limit_fahrenheit: ...;
                      };
                      thermostat_daily_programs?: (...)[];
                      thermostat_weekly_program?: null | {
                          created_at: ...;
                          friday_program_id: ...;
                          monday_program_id: ...;
                          saturday_program_id: ...;
                          sunday_program_id: ...;
                          thursday_program_id: ...;
                          tuesday_program_id: ...;
                          wednesday_program_id: ...;
                      };
                  };
                  warnings: (
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "partial_backup_access_code_pool";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "many_active_backup_codes";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "wyze_device_missing_gateway";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "functional_offline_device";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "third_party_integration_detected";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "nest_thermostat_in_manual_eco_mode";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "ttlock_lock_gateway_unlocking_not_enabled";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "ttlock_weak_gateway_signal";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "power_saving_mode";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "temperature_threshold_exceeded";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "device_communication_degraded";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "scheduled_maintenance_window";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "device_has_flaky_connection";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "salto_ks_office_mode";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "salto_ks_privacy_mode";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "salto_ks_subscription_limit_almost_reached";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "unknown_issue_with_phone";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "lockly_time_zone_not_configured";
                      })[];
                  workspace_id: string;
              }[];
              thermostats: {
                  can_hvac_cool?: boolean;
                  can_hvac_heat?: boolean;
                  can_hvac_heat_cool?: boolean;
                  can_program_offline_access_codes?: boolean;
                  can_program_online_access_codes?: boolean;
                  can_remotely_lock?: boolean;
                  can_remotely_unlock?: boolean;
                  can_simulate_connection?: boolean;
                  can_simulate_disconnection?: boolean;
                  can_simulate_removal?: boolean;
                  can_turn_off_hvac?: boolean;
                  capabilities_supported: (
                      | "access_code"
                      | "lock"
                      | "phone"
                      | "thermostat"
                      | "noise_detection"
                      | "battery")[];
                  connected_account_id: string;
                  created_at: string;
                  custom_metadata: Record<string, string | boolean>;
                  device_id: string;
                  device_type:
                      | "akuvox_lock"
                      | "august_lock"
                      | "brivo_access_point"
                      | "butterflymx_panel"
                      | "avigilon_alta_entry"
                      | "doorking_lock"
                      | "genie_door"
                      | "igloo_lock"
                      | "linear_lock"
                      | "lockly_lock"
                      | "kwikset_lock"
                      | "nuki_lock"
                      | "salto_lock"
                      | "schlage_lock"
                      | "seam_relay"
                      | "smartthings_lock"
                      | "wyze_lock"
                      | "yale_lock"
                      | "two_n_intercom"
                      | "controlbyweb_device"
                      | "ttlock_lock"
                      | "igloohome_lock"
                      | "hubitat_lock"
                      | "four_suites_door"
                      | "dormakaba_oracode_door"
                      | "tedee_lock"
                      | "akiles_lock"
                      | "noiseaware_activity_zone"
                      | "minut_sensor"
                      | "ecobee_thermostat"
                      | "nest_thermostat"
                      | "honeywell_resideo_thermostat"
                      | "tado_thermostat"
                      | "sensi_thermostat"
                      | "smartthings_thermostat"
                      | "ios_phone"
                      | "android_phone";
                  display_name: string;
                  errors: (
                      | {
                          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: "lockly_missing_wifi_bridge";
                          is_device_error: true;
                          message: string;
                      }
                      | {
                          created_at: string;
                          error_code: "invalid_credentials";
                          is_bridge_error?: (...) | (...) | (...);
                          is_connected_account_error?: (...) | (...) | (...);
                          message: string;
                      }
                      | {
                          created_at: string;
                          error_code: "bridge_disconnected";
                          is_bridge_error?: (...) | (...) | (...);
                          is_connected_account_error?: (...) | (...) | (...);
                          message: string;
                      })[];
                  is_managed: true;
                  location: null | {
                      location_name?: string;
                      timezone?: string;
                  };
                  nickname?: string;
                  properties: {
                      accessory_keypad?: {
                          battery?: ...;
                          is_connected: ...;
                      };
                      appearance: {
                          name: string;
                      };
                      battery?: {
                          level: ...;
                          status: ...;
                      };
                      battery_level?: number;
                      currently_triggering_noise_threshold_ids?: (...)[];
                      has_direct_power?: boolean;
                      image_alt_text?: string;
                      image_url?: string;
                      manufacturer?: string;
                      model: {
                          accessory_keypad_supported?: (...) | (...) | (...);
                          can_connect_accessory_keypad?: (...) | (...) | (...);
                          display_name: string;
                          has_built_in_keypad?: (...) | (...) | (...);
                          manufacturer_display_name: string;
                          offline_access_codes_supported?: (...) | (...) | (...);
                          online_access_codes_supported?: (...) | (...) | (...);
                      };
                      name: string;
                      noise_level_decibels?: number;
                      offline_access_codes_enabled?: boolean;
                      online: boolean;
                      online_access_codes_enabled?: boolean;
                      serial_number?: string;
                      supports_accessory_keypad?: boolean;
                      supports_offline_access_codes?: boolean;
                  } & {
                      assa_abloy_credential_service_metadata?: {
                          endpoints: ...;
                          has_active_endpoint: ...;
                      };
                      salto_space_credential_service_metadata?: {
                          has_active_phone: ...;
                      };
                  } & {
                      akiles_metadata?: {
                          _member_group_id?: ...;
                          gadget_id: ...;
                          gadget_name: ...;
                          product_name: ...;
                      };
                      assa_abloy_vostio_metadata?: {
                          encoder_name: ...;
                      };
                      august_metadata?: {
                          has_keypad: ...;
                          house_id?: ...;
                          house_name: ...;
                          keypad_battery_level?: ...;
                          lock_id: ...;
                          lock_name: ...;
                          model?: ...;
                      };
                      avigilon_alta_metadata?: {
                          entry_name: ...;
                          entry_relays_total_count: ...;
                          org_name: ...;
                          site_id: ...;
                          site_name: ...;
                          zone_id: ...;
                          zone_name: ...;
                      };
                      brivo_metadata?: {
                          device_name: ...;
                      };
                      controlbyweb_metadata?: {
                          device_id: ...;
                          device_name: ...;
                          relay_name: ...;
                      };
                      dormakaba_oracode_metadata?: {
                          device_id?: ...;
                          door_id?: ...;
                          door_is_wireless: ...;
                          door_name: ...;
                          iana_timezone?: ...;
                          predefined_time_slots?: ...;
                          site_id: ...;
                          site_name: ...;
                      };
                      ecobee_metadata?: {
                          device_name: ...;
                          ecobee_device_id: ...;
                      };
                      four_suites_metadata?: {
                          device_id: ...;
                          device_name: ...;
                          reclose_delay_in_seconds: ...;
                      };
                      genie_metadata?: {
                          device_name: ...;
                          door_name: ...;
                      };
                      honeywell_resideo_metadata?: {
                          device_name: ...;
                          honeywell_resideo_device_id: ...;
                      };
                      hubitat_metadata?: {
                          device_id: ...;
                          device_label: ...;
                          device_name: ...;
                      };
                      igloo_metadata?: {
                          bridge_id: ...;
                          device_id: ...;
                          model?: ...;
                      };
                      igloohome_metadata?: {
                          bridge_id?: ...;
                          bridge_name?: ...;
                          device_id: ...;
                          device_name: ...;
                          keypad_id?: ...;
                      };
                      kwikset_metadata?: {
                          device_id: ...;
                          device_name: ...;
                          model_number: ...;
                      };
                      lockly_metadata?: {
                          device_id: ...;
                          device_name: ...;
                          model?: ...;
                      };
                      minut_metadata?: {
                          device_id: ...;
                          device_name: ...;
                          latest_sensor_values: ...;
                      };
                      nest_metadata?: {
                          device_custom_name: ...;
                          device_name: ...;
                          display_name?: ...;
                          nest_device_id: ...;
                      };
                      noiseaware_metadata?: {
                          device_id: ...;
                          device_model: ...;
                          device_name: ...;
                          noise_level_decibel: ...;
                          noise_level_nrs: ...;
                      };
                      nuki_metadata?: {
                          device_id: ...;
                          device_name: ...;
                          keypad_2_paired?: ...;
                          keypad_battery_critical?: ...;
                          keypad_paired?: ...;
                      };
                      salto_ks_metadata?: {
                          battery_level: ...;
                          customer_reference: ...;
                          lock_id: ...;
                          lock_type: ...;
                          locked_state: ...;
                          model?: ...;
                      };
                      salto_metadata?: {
                          battery_level: ...;
                          customer_reference: ...;
                          lock_id: ...;
                          lock_type: ...;
                          locked_state: ...;
                          model?: ...;
                      };
                      schlage_metadata?: {
                          device_id: ...;
                          device_name: ...;
                          model?: ...;
                      };
                      seam_bridge_metadata?: {
                          device_num: ...;
                          name: ...;
                          unlock_method?: ...;
                      };
                      sensi_metadata?: {
                          device_id: ...;
                          device_name: ...;
                          product_type: ...;
                      };
                      smartthings_metadata?: {
                          device_id: ...;
                          device_name: ...;
                          location_id?: ...;
                          model?: ...;
                      };
                      tado_metadata?: {
                          device_type: ...;
                          serial_no: ...;
                      };
                      tedee_metadata?: {
                          bridge_id: ...;
                          bridge_name: ...;
                          device_id: ...;
                          device_model: ...;
                          device_name: ...;
                          keypad_id?: ...;
                          serial_number: ...;
                      };
                      ttlock_metadata?: {
                          feature_value: ...;
                          features: ...;
                          has_gateway?: ...;
                          lock_alias: ...;
                          lock_id: ...;
                          wireless_keypads?: ...;
                      };
                      two_n_metadata?: {
                          device_id: ...;
                          device_name: ...;
                      };
                      visionline_metadata?: {
                          encoder_id: ...;
                      };
                      wyze_metadata?: {
                          device_id: ...;
                          device_info_model: ...;
                          device_name: ...;
                          keypad_uuid?: ...;
                          locker_status_hardlock?: ...;
                          product_model: ...;
                          product_name: ...;
                          product_type: ...;
                      };
                  } & {
                      _experimental_supported_code_from_access_codes_lengths?: (...)[];
                      code_constraints?: (...)[];
                      door_open?: boolean;
                      has_native_entry_events?: boolean;
                      keypad_battery?: {
                          level: ...;
                      };
                      locked?: boolean;
                      max_active_codes_supported?: number;
                      supported_code_lengths?: (...)[];
                      supports_backup_access_code_pool?: boolean;
                  } & {
                      active_thermostat_schedule?: null | {
                          climate_preset_key: ...;
                          created_at: ...;
                          device_id: ...;
                          ends_at: ...;
                          errors: ...;
                          is_override_allowed?: ...;
                          max_override_period_minutes?: ...;
                          name: ...;
                          starts_at: ...;
                          thermostat_schedule_id: ...;
                          workspace_id: ...;
                      };
                      available_climate_presets?: (...)[];
                      available_fan_mode_settings?: (...)[];
                      available_hvac_mode_settings?: (...)[];
                      current_climate_setting?: {
                          can_delete?: ...;
                          can_edit?: ...;
                          can_program?: ...;
                          climate_preset_key?: ...;
                          cooling_set_point_celsius?: ...;
                          cooling_set_point_fahrenheit?: ...;
                          display_name?: ...;
                          fan_mode_setting?: ...;
                          heating_set_point_celsius?: ...;
                          heating_set_point_fahrenheit?: ...;
                          hvac_mode_setting?: ...;
                          manual_override_allowed?: ...;
                          name?: ...;
                      };
                      default_climate_setting?: {
                          can_delete?: ...;
                          can_edit?: ...;
                          can_program?: ...;
                          climate_preset_key?: ...;
                          cooling_set_point_celsius?: ...;
                          cooling_set_point_fahrenheit?: ...;
                          display_name?: ...;
                          fan_mode_setting?: ...;
                          heating_set_point_celsius?: ...;
                          heating_set_point_fahrenheit?: ...;
                          hvac_mode_setting?: ...;
                          manual_override_allowed?: ...;
                          name?: ...;
                      };
                      fallback_climate_preset_key?: null | string;
                      fan_mode_setting?: "auto" | "on" | "circulate";
                      is_cooling?: boolean;
                      is_fan_running?: boolean;
                      is_heating?: boolean;
                      is_temporary_manual_override_active?: boolean;
                      max_cooling_set_point_celsius?: number;
                      max_cooling_set_point_fahrenheit?: number;
                      max_heating_set_point_celsius?: number;
                      max_heating_set_point_fahrenheit?: number;
                      min_cooling_set_point_celsius?: number;
                      min_cooling_set_point_fahrenheit?: number;
                      min_heating_cooling_delta_celsius?: number;
                      min_heating_cooling_delta_fahrenheit?: number;
                      min_heating_set_point_celsius?: number;
                      min_heating_set_point_fahrenheit?: number;
                      relative_humidity?: number;
                      temperature_celsius?: number;
                      temperature_fahrenheit?: number;
                      temperature_threshold?: {
                          lower_limit_celsius: ...;
                          lower_limit_fahrenheit: ...;
                          upper_limit_celsius: ...;
                          upper_limit_fahrenheit: ...;
                      };
                      thermostat_daily_programs?: (...)[];
                      thermostat_weekly_program?: null | {
                          created_at: ...;
                          friday_program_id: ...;
                          monday_program_id: ...;
                          saturday_program_id: ...;
                          sunday_program_id: ...;
                          thursday_program_id: ...;
                          tuesday_program_id: ...;
                          wednesday_program_id: ...;
                      };
                  };
                  warnings: (
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "partial_backup_access_code_pool";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "many_active_backup_codes";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "wyze_device_missing_gateway";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "functional_offline_device";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "third_party_integration_detected";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "nest_thermostat_in_manual_eco_mode";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "ttlock_lock_gateway_unlocking_not_enabled";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "ttlock_weak_gateway_signal";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "power_saving_mode";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "temperature_threshold_exceeded";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "device_communication_degraded";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "scheduled_maintenance_window";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "device_has_flaky_connection";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "salto_ks_office_mode";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "salto_ks_privacy_mode";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "salto_ks_subscription_limit_almost_reached";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "unknown_issue_with_phone";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "lockly_time_zone_not_configured";
                      })[];
                  workspace_id: string;
              }[];
          }>, "devices" | "thermostats">, "devices">

    • get /thermostats/off(): ((body?: {
          device_id: string;
          sync?: boolean;
      }, options?: ThermostatsOffOptions) => SeamHttpRequest<SetNonNullable<Required<{
          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: (...) | (...);
                          created_at: (...) | (...);
                          ends_at: (...) | (...);
                          is_issued: (...) | (...) | (...);
                          starts_at: (...) | (...);
                          visionline_metadata?: (...) | (...);
                      };
                      acs_credential_on_seam: null | {
                          access_method: (...) | (...) | (...);
                          acs_credential_id: string;
                          acs_credential_pool_id?: (...) | (...);
                          acs_system_id: string;
                          acs_user_id?: (...) | (...);
                          assa_abloy_vostio_metadata?: (...) | (...);
                          card_number?: (...) | (...) | (...);
                          code?: (...) | (...) | (...);
                          created_at: string;
                          display_name: string;
                          ends_at?: (...) | (...);
                          errors: (...)[];
                          external_type?:
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...);
                          external_type_display_name?: (...) | (...);
                          is_issued?: (...) | (...) | (...);
                          is_latest_desired_state_synced_with_provider?:
                              | (...)
                              | (...)
                              | (...)
                              | (...);
                          is_managed: true;
                          is_multi_phone_sync_credential?: (...) | (...) | (...);
                          is_one_time_use?: (...) | (...) | (...);
                          issued_at?: (...) | (...) | (...);
                          latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                          parent_acs_credential_id?: (...) | (...);
                          starts_at?: (...) | (...);
                          visionline_metadata?: (...) | (...);
                          warnings: (...)[];
                          workspace_id: string;
                      } | {
                          access_method: (...) | (...) | (...);
                          acs_credential_id: string;
                          acs_credential_pool_id?: (...) | (...);
                          acs_system_id: string;
                          acs_user_id?: (...) | (...);
                          assa_abloy_vostio_metadata?: (...) | (...);
                          card_number?: (...) | (...) | (...);
                          code?: (...) | (...) | (...);
                          created_at: string;
                          display_name: string;
                          ends_at?: (...) | (...);
                          errors: (...)[];
                          external_type?:
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...);
                          external_type_display_name?: (...) | (...);
                          is_issued?: (...) | (...) | (...);
                          is_latest_desired_state_synced_with_provider?:
                              | (...)
                              | (...)
                              | (...)
                              | (...);
                          is_managed: false;
                          is_multi_phone_sync_credential?: (...) | (...) | (...);
                          is_one_time_use?: (...) | (...) | (...);
                          issued_at?: (...) | (...) | (...);
                          latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                          parent_acs_credential_id?: (...) | (...);
                          starts_at?: (...) | (...);
                          visionline_metadata?: (...) | (...);
                          warnings: (...)[];
                          workspace_id: string;
                      };
                      warnings: {
                          warning_code: (...) | (...);
                          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_ACCESS_METHOD";
                  error: null;
                  result: null;
                  status: "pending";
              }
              | {
                  action_attempt_id: string;
                  action_type: "ENCODE_ACCESS_METHOD";
                  error: null;
                  result: {
                      access_method_id: string;
                      created_at: string;
                      display_name: string;
                      instant_key_url?: string;
                      is_card_encoding_required?: boolean;
                      issued_at?: string;
                      mode: "code" | "card" | "mobile_key";
                      workspace_id: string;
                  };
                  status: "success";
              }
              | {
                  action_attempt_id: string;
                  action_type: "ENCODE_ACCESS_METHOD";
                  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: "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?: {
                          auto_join?: ...;
                          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"
                          | "latch_access";
                      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?: {
                          auto_join?: ...;
                          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"
                          | "latch_access";
                      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;
                  };
                  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: "SIMULATE_KEYPAD_CODE_ENTRY";
                  error: null;
                  result: null;
                  status: "pending";
              }
              | {
                  action_attempt_id: string;
                  action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                  error: null;
                  result: {};
                  status: "success";
              }
              | {
                  action_attempt_id: string;
                  action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                  error: {
                      message: string;
                      type: string;
                  };
                  result: null;
                  status: "error";
              }
              | {
                  action_attempt_id: string;
                  action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                  error: null;
                  result: null;
                  status: "pending";
              }
              | {
                  action_attempt_id: string;
                  action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                  error: null;
                  result: {};
                  status: "success";
              }
              | {
                  action_attempt_id: string;
                  action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                  error: {
                      message: string;
                      type: string;
                  };
                  result: null;
                  status: "error";
              }
              | {
                  action_attempt_id: string;
                  action_type: "PUSH_THERMOSTAT_PROGRAMS";
                  error: null;
                  result: null;
                  status: "pending";
              }
              | {
                  action_attempt_id: string;
                  action_type: "PUSH_THERMOSTAT_PROGRAMS";
                  error: null;
                  result: {};
                  status: "success";
              }
              | {
                  action_attempt_id: string;
                  action_type: "PUSH_THERMOSTAT_PROGRAMS";
                  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";
              };
      }>, "action_attempt">, "action_attempt">)
    • Returns ((body?: {
          device_id: string;
          sync?: boolean;
      }, options?: ThermostatsOffOptions) => SeamHttpRequest<SetNonNullable<Required<{
          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: (...) | (...);
                          created_at: (...) | (...);
                          ends_at: (...) | (...);
                          is_issued: (...) | (...) | (...);
                          starts_at: (...) | (...);
                          visionline_metadata?: (...) | (...);
                      };
                      acs_credential_on_seam: null | {
                          access_method: (...) | (...) | (...);
                          acs_credential_id: string;
                          acs_credential_pool_id?: (...) | (...);
                          acs_system_id: string;
                          acs_user_id?: (...) | (...);
                          assa_abloy_vostio_metadata?: (...) | (...);
                          card_number?: (...) | (...) | (...);
                          code?: (...) | (...) | (...);
                          created_at: string;
                          display_name: string;
                          ends_at?: (...) | (...);
                          errors: (...)[];
                          external_type?:
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...);
                          external_type_display_name?: (...) | (...);
                          is_issued?: (...) | (...) | (...);
                          is_latest_desired_state_synced_with_provider?:
                              | (...)
                              | (...)
                              | (...)
                              | (...);
                          is_managed: true;
                          is_multi_phone_sync_credential?: (...) | (...) | (...);
                          is_one_time_use?: (...) | (...) | (...);
                          issued_at?: (...) | (...) | (...);
                          latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                          parent_acs_credential_id?: (...) | (...);
                          starts_at?: (...) | (...);
                          visionline_metadata?: (...) | (...);
                          warnings: (...)[];
                          workspace_id: string;
                      } | {
                          access_method: (...) | (...) | (...);
                          acs_credential_id: string;
                          acs_credential_pool_id?: (...) | (...);
                          acs_system_id: string;
                          acs_user_id?: (...) | (...);
                          assa_abloy_vostio_metadata?: (...) | (...);
                          card_number?: (...) | (...) | (...);
                          code?: (...) | (...) | (...);
                          created_at: string;
                          display_name: string;
                          ends_at?: (...) | (...);
                          errors: (...)[];
                          external_type?:
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...);
                          external_type_display_name?: (...) | (...);
                          is_issued?: (...) | (...) | (...);
                          is_latest_desired_state_synced_with_provider?:
                              | (...)
                              | (...)
                              | (...)
                              | (...);
                          is_managed: false;
                          is_multi_phone_sync_credential?: (...) | (...) | (...);
                          is_one_time_use?: (...) | (...) | (...);
                          issued_at?: (...) | (...) | (...);
                          latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                          parent_acs_credential_id?: (...) | (...);
                          starts_at?: (...) | (...);
                          visionline_metadata?: (...) | (...);
                          warnings: (...)[];
                          workspace_id: string;
                      };
                      warnings: {
                          warning_code: (...) | (...);
                          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_ACCESS_METHOD";
                  error: null;
                  result: null;
                  status: "pending";
              }
              | {
                  action_attempt_id: string;
                  action_type: "ENCODE_ACCESS_METHOD";
                  error: null;
                  result: {
                      access_method_id: string;
                      created_at: string;
                      display_name: string;
                      instant_key_url?: string;
                      is_card_encoding_required?: boolean;
                      issued_at?: string;
                      mode: "code" | "card" | "mobile_key";
                      workspace_id: string;
                  };
                  status: "success";
              }
              | {
                  action_attempt_id: string;
                  action_type: "ENCODE_ACCESS_METHOD";
                  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: "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?: {
                          auto_join?: ...;
                          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"
                          | "latch_access";
                      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?: {
                          auto_join?: ...;
                          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"
                          | "latch_access";
                      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;
                  };
                  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: "SIMULATE_KEYPAD_CODE_ENTRY";
                  error: null;
                  result: null;
                  status: "pending";
              }
              | {
                  action_attempt_id: string;
                  action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                  error: null;
                  result: {};
                  status: "success";
              }
              | {
                  action_attempt_id: string;
                  action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                  error: {
                      message: string;
                      type: string;
                  };
                  result: null;
                  status: "error";
              }
              | {
                  action_attempt_id: string;
                  action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                  error: null;
                  result: null;
                  status: "pending";
              }
              | {
                  action_attempt_id: string;
                  action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                  error: null;
                  result: {};
                  status: "success";
              }
              | {
                  action_attempt_id: string;
                  action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                  error: {
                      message: string;
                      type: string;
                  };
                  result: null;
                  status: "error";
              }
              | {
                  action_attempt_id: string;
                  action_type: "PUSH_THERMOSTAT_PROGRAMS";
                  error: null;
                  result: null;
                  status: "pending";
              }
              | {
                  action_attempt_id: string;
                  action_type: "PUSH_THERMOSTAT_PROGRAMS";
                  error: null;
                  result: {};
                  status: "success";
              }
              | {
                  action_attempt_id: string;
                  action_type: "PUSH_THERMOSTAT_PROGRAMS";
                  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";
              };
      }>, "action_attempt">, "action_attempt">)

        • (body?, options?): SeamHttpRequest<SetNonNullable<Required<{
              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: (...) | (...);
                              created_at: (...) | (...);
                              ends_at: (...) | (...);
                              is_issued: (...) | (...) | (...);
                              starts_at: (...) | (...);
                              visionline_metadata?: (...) | (...);
                          };
                          acs_credential_on_seam: null | {
                              access_method: (...) | (...) | (...);
                              acs_credential_id: string;
                              acs_credential_pool_id?: (...) | (...);
                              acs_system_id: string;
                              acs_user_id?: (...) | (...);
                              assa_abloy_vostio_metadata?: (...) | (...);
                              card_number?: (...) | (...) | (...);
                              code?: (...) | (...) | (...);
                              created_at: string;
                              display_name: string;
                              ends_at?: (...) | (...);
                              errors: (...)[];
                              external_type?:
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...);
                              external_type_display_name?: (...) | (...);
                              is_issued?: (...) | (...) | (...);
                              is_latest_desired_state_synced_with_provider?:
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...);
                              is_managed: true;
                              is_multi_phone_sync_credential?: (...) | (...) | (...);
                              is_one_time_use?: (...) | (...) | (...);
                              issued_at?: (...) | (...) | (...);
                              latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                              parent_acs_credential_id?: (...) | (...);
                              starts_at?: (...) | (...);
                              visionline_metadata?: (...) | (...);
                              warnings: (...)[];
                              workspace_id: string;
                          } | {
                              access_method: (...) | (...) | (...);
                              acs_credential_id: string;
                              acs_credential_pool_id?: (...) | (...);
                              acs_system_id: string;
                              acs_user_id?: (...) | (...);
                              assa_abloy_vostio_metadata?: (...) | (...);
                              card_number?: (...) | (...) | (...);
                              code?: (...) | (...) | (...);
                              created_at: string;
                              display_name: string;
                              ends_at?: (...) | (...);
                              errors: (...)[];
                              external_type?:
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...);
                              external_type_display_name?: (...) | (...);
                              is_issued?: (...) | (...) | (...);
                              is_latest_desired_state_synced_with_provider?:
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...);
                              is_managed: false;
                              is_multi_phone_sync_credential?: (...) | (...) | (...);
                              is_one_time_use?: (...) | (...) | (...);
                              issued_at?: (...) | (...) | (...);
                              latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                              parent_acs_credential_id?: (...) | (...);
                              starts_at?: (...) | (...);
                              visionline_metadata?: (...) | (...);
                              warnings: (...)[];
                              workspace_id: string;
                          };
                          warnings: {
                              warning_code: (...) | (...);
                              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_ACCESS_METHOD";
                      error: null;
                      result: null;
                      status: "pending";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "ENCODE_ACCESS_METHOD";
                      error: null;
                      result: {
                          access_method_id: string;
                          created_at: string;
                          display_name: string;
                          instant_key_url?: string;
                          is_card_encoding_required?: boolean;
                          issued_at?: string;
                          mode: "code" | "card" | "mobile_key";
                          workspace_id: string;
                      };
                      status: "success";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "ENCODE_ACCESS_METHOD";
                      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: "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?: {
                              auto_join?: ...;
                              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"
                              | "latch_access";
                          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?: {
                              auto_join?: ...;
                              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"
                              | "latch_access";
                          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;
                      };
                      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: "SIMULATE_KEYPAD_CODE_ENTRY";
                      error: null;
                      result: null;
                      status: "pending";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                      error: null;
                      result: {};
                      status: "success";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                      error: {
                          message: string;
                          type: string;
                      };
                      result: null;
                      status: "error";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                      error: null;
                      result: null;
                      status: "pending";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                      error: null;
                      result: {};
                      status: "success";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                      error: {
                          message: string;
                          type: string;
                      };
                      result: null;
                      status: "error";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "PUSH_THERMOSTAT_PROGRAMS";
                      error: null;
                      result: null;
                      status: "pending";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "PUSH_THERMOSTAT_PROGRAMS";
                      error: null;
                      result: {};
                      status: "success";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "PUSH_THERMOSTAT_PROGRAMS";
                      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";
                  };
          }>, "action_attempt">, "action_attempt">
        • Parameters

          • Optionalbody: {
                device_id: string;
                sync?: boolean;
            }
            • device_id: string

              ID of the thermostat device that you want to set to off mode.

            • Optionalsync?: boolean
          • options: ThermostatsOffOptions = {}

          Returns SeamHttpRequest<SetNonNullable<Required<{
              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: (...) | (...);
                              created_at: (...) | (...);
                              ends_at: (...) | (...);
                              is_issued: (...) | (...) | (...);
                              starts_at: (...) | (...);
                              visionline_metadata?: (...) | (...);
                          };
                          acs_credential_on_seam: null | {
                              access_method: (...) | (...) | (...);
                              acs_credential_id: string;
                              acs_credential_pool_id?: (...) | (...);
                              acs_system_id: string;
                              acs_user_id?: (...) | (...);
                              assa_abloy_vostio_metadata?: (...) | (...);
                              card_number?: (...) | (...) | (...);
                              code?: (...) | (...) | (...);
                              created_at: string;
                              display_name: string;
                              ends_at?: (...) | (...);
                              errors: (...)[];
                              external_type?:
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...);
                              external_type_display_name?: (...) | (...);
                              is_issued?: (...) | (...) | (...);
                              is_latest_desired_state_synced_with_provider?:
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...);
                              is_managed: true;
                              is_multi_phone_sync_credential?: (...) | (...) | (...);
                              is_one_time_use?: (...) | (...) | (...);
                              issued_at?: (...) | (...) | (...);
                              latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                              parent_acs_credential_id?: (...) | (...);
                              starts_at?: (...) | (...);
                              visionline_metadata?: (...) | (...);
                              warnings: (...)[];
                              workspace_id: string;
                          } | {
                              access_method: (...) | (...) | (...);
                              acs_credential_id: string;
                              acs_credential_pool_id?: (...) | (...);
                              acs_system_id: string;
                              acs_user_id?: (...) | (...);
                              assa_abloy_vostio_metadata?: (...) | (...);
                              card_number?: (...) | (...) | (...);
                              code?: (...) | (...) | (...);
                              created_at: string;
                              display_name: string;
                              ends_at?: (...) | (...);
                              errors: (...)[];
                              external_type?:
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...);
                              external_type_display_name?: (...) | (...);
                              is_issued?: (...) | (...) | (...);
                              is_latest_desired_state_synced_with_provider?:
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...);
                              is_managed: false;
                              is_multi_phone_sync_credential?: (...) | (...) | (...);
                              is_one_time_use?: (...) | (...) | (...);
                              issued_at?: (...) | (...) | (...);
                              latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                              parent_acs_credential_id?: (...) | (...);
                              starts_at?: (...) | (...);
                              visionline_metadata?: (...) | (...);
                              warnings: (...)[];
                              workspace_id: string;
                          };
                          warnings: {
                              warning_code: (...) | (...);
                              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_ACCESS_METHOD";
                      error: null;
                      result: null;
                      status: "pending";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "ENCODE_ACCESS_METHOD";
                      error: null;
                      result: {
                          access_method_id: string;
                          created_at: string;
                          display_name: string;
                          instant_key_url?: string;
                          is_card_encoding_required?: boolean;
                          issued_at?: string;
                          mode: "code" | "card" | "mobile_key";
                          workspace_id: string;
                      };
                      status: "success";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "ENCODE_ACCESS_METHOD";
                      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: "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?: {
                              auto_join?: ...;
                              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"
                              | "latch_access";
                          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?: {
                              auto_join?: ...;
                              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"
                              | "latch_access";
                          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;
                      };
                      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: "SIMULATE_KEYPAD_CODE_ENTRY";
                      error: null;
                      result: null;
                      status: "pending";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                      error: null;
                      result: {};
                      status: "success";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                      error: {
                          message: string;
                          type: string;
                      };
                      result: null;
                      status: "error";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                      error: null;
                      result: null;
                      status: "pending";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                      error: null;
                      result: {};
                      status: "success";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                      error: {
                          message: string;
                          type: string;
                      };
                      result: null;
                      status: "error";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "PUSH_THERMOSTAT_PROGRAMS";
                      error: null;
                      result: null;
                      status: "pending";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "PUSH_THERMOSTAT_PROGRAMS";
                      error: null;
                      result: {};
                      status: "success";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "PUSH_THERMOSTAT_PROGRAMS";
                      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";
                  };
          }>, "action_attempt">, "action_attempt">

    • get /thermostats/schedules/create(): ((body?: {
          climate_preset_key: string;
          device_id: string;
          ends_at: string;
          is_override_allowed?: boolean;
          max_override_period_minutes?: null | number;
          name?: string;
          starts_at: string;
      }) => SeamHttpRequest<SetNonNullable<Required<{
          thermostat_schedule: {
              climate_preset_key: string;
              created_at: string;
              device_id: string;
              ends_at: string;
              errors: {
                  error_code: string;
                  message: string;
              }[];
              is_override_allowed?: boolean;
              max_override_period_minutes?: null | number;
              name: null | string;
              starts_at: string;
              thermostat_schedule_id: string;
              workspace_id: string;
          };
      }>, "thermostat_schedule">, "thermostat_schedule">)
    • Returns ((body?: {
          climate_preset_key: string;
          device_id: string;
          ends_at: string;
          is_override_allowed?: boolean;
          max_override_period_minutes?: null | number;
          name?: string;
          starts_at: string;
      }) => SeamHttpRequest<SetNonNullable<Required<{
          thermostat_schedule: {
              climate_preset_key: string;
              created_at: string;
              device_id: string;
              ends_at: string;
              errors: {
                  error_code: string;
                  message: string;
              }[];
              is_override_allowed?: boolean;
              max_override_period_minutes?: null | number;
              name: null | string;
              starts_at: string;
              thermostat_schedule_id: string;
              workspace_id: string;
          };
      }>, "thermostat_schedule">, "thermostat_schedule">)

        • (body?): SeamHttpRequest<SetNonNullable<Required<{
              thermostat_schedule: {
                  climate_preset_key: string;
                  created_at: string;
                  device_id: string;
                  ends_at: string;
                  errors: {
                      error_code: string;
                      message: string;
                  }[];
                  is_override_allowed?: boolean;
                  max_override_period_minutes?: null | number;
                  name: null | string;
                  starts_at: string;
                  thermostat_schedule_id: string;
                  workspace_id: string;
              };
          }>, "thermostat_schedule">, "thermostat_schedule">
        • Parameters

          • Optionalbody: {
                climate_preset_key: string;
                device_id: string;
                ends_at: string;
                is_override_allowed?: boolean;
                max_override_period_minutes?: null | number;
                name?: string;
                starts_at: string;
            }
            • climate_preset_key: string

              Key of the climate preset to use for the new thermostat schedule.

            • device_id: string

              ID of the thermostat device for which you want to create a schedule.

            • ends_at: string

              Date and time at which the new thermostat schedule ends, in ISO 8601 format.

            • Optionalis_override_allowed?: boolean

              Indicates whether a person at the thermostat or using the API can change the thermostat's settings while the new schedule is active. See also Specifying Manual Override Permissions.

            • Optionalmax_override_period_minutes?: null | number

              Number of minutes for which a person at the thermostat or using the API can change the thermostat's settings after the activation of the scheduled climate preset. See also Specifying Manual Override Permissions.

            • Optionalname?: string

              Name of the thermostat schedule.

            • starts_at: string

              Date and time at which the new thermostat schedule starts, in ISO 8601 format.

          Returns SeamHttpRequest<SetNonNullable<Required<{
              thermostat_schedule: {
                  climate_preset_key: string;
                  created_at: string;
                  device_id: string;
                  ends_at: string;
                  errors: {
                      error_code: string;
                      message: string;
                  }[];
                  is_override_allowed?: boolean;
                  max_override_period_minutes?: null | number;
                  name: null | string;
                  starts_at: string;
                  thermostat_schedule_id: string;
                  workspace_id: string;
              };
          }>, "thermostat_schedule">, "thermostat_schedule">

    • get /thermostats/schedules/delete(): ((params?: {
          thermostat_schedule_id: string;
      }) => SeamHttpRequest<void, undefined>)
    • Returns ((params?: {
          thermostat_schedule_id: string;
      }) => SeamHttpRequest<void, undefined>)

        • (params?): SeamHttpRequest<void, undefined>
        • Parameters

          • Optionalparams: {
                thermostat_schedule_id: string;
            }
            • thermostat_schedule_id: string

              ID of the thermostat schedule that you want to delete.

          Returns SeamHttpRequest<void, undefined>

    • get /thermostats/schedules/get(): ((params?: {
          thermostat_schedule_id: string;
      }) => SeamHttpRequest<SetNonNullable<Required<{
          thermostat_schedule: {
              climate_preset_key: string;
              created_at: string;
              device_id: string;
              ends_at: string;
              errors: {
                  error_code: string;
                  message: string;
              }[];
              is_override_allowed?: boolean;
              max_override_period_minutes?: null | number;
              name: null | string;
              starts_at: string;
              thermostat_schedule_id: string;
              workspace_id: string;
          };
      }>, "thermostat_schedule">, "thermostat_schedule">)
    • Returns ((params?: {
          thermostat_schedule_id: string;
      }) => SeamHttpRequest<SetNonNullable<Required<{
          thermostat_schedule: {
              climate_preset_key: string;
              created_at: string;
              device_id: string;
              ends_at: string;
              errors: {
                  error_code: string;
                  message: string;
              }[];
              is_override_allowed?: boolean;
              max_override_period_minutes?: null | number;
              name: null | string;
              starts_at: string;
              thermostat_schedule_id: string;
              workspace_id: string;
          };
      }>, "thermostat_schedule">, "thermostat_schedule">)

        • (params?): SeamHttpRequest<SetNonNullable<Required<{
              thermostat_schedule: {
                  climate_preset_key: string;
                  created_at: string;
                  device_id: string;
                  ends_at: string;
                  errors: {
                      error_code: string;
                      message: string;
                  }[];
                  is_override_allowed?: boolean;
                  max_override_period_minutes?: null | number;
                  name: null | string;
                  starts_at: string;
                  thermostat_schedule_id: string;
                  workspace_id: string;
              };
          }>, "thermostat_schedule">, "thermostat_schedule">
        • Parameters

          • Optionalparams: {
                thermostat_schedule_id: string;
            }
            • thermostat_schedule_id: string

              ID of the thermostat schedule that you want to get.

          Returns SeamHttpRequest<SetNonNullable<Required<{
              thermostat_schedule: {
                  climate_preset_key: string;
                  created_at: string;
                  device_id: string;
                  ends_at: string;
                  errors: {
                      error_code: string;
                      message: string;
                  }[];
                  is_override_allowed?: boolean;
                  max_override_period_minutes?: null | number;
                  name: null | string;
                  starts_at: string;
                  thermostat_schedule_id: string;
                  workspace_id: string;
              };
          }>, "thermostat_schedule">, "thermostat_schedule">

    • get /thermostats/schedules/list(): ((params?: {
          device_id: string;
          user_identifier_key?: string;
      }) => SeamHttpRequest<SetNonNullable<Required<{
          thermostat_schedules: {
              climate_preset_key: string;
              created_at: string;
              device_id: string;
              ends_at: string;
              errors: {
                  error_code: string;
                  message: string;
              }[];
              is_override_allowed?: boolean;
              max_override_period_minutes?: null | number;
              name: null | string;
              starts_at: string;
              thermostat_schedule_id: string;
              workspace_id: string;
          }[];
      }>, "thermostat_schedules">, "thermostat_schedules">)
    • Returns ((params?: {
          device_id: string;
          user_identifier_key?: string;
      }) => SeamHttpRequest<SetNonNullable<Required<{
          thermostat_schedules: {
              climate_preset_key: string;
              created_at: string;
              device_id: string;
              ends_at: string;
              errors: {
                  error_code: string;
                  message: string;
              }[];
              is_override_allowed?: boolean;
              max_override_period_minutes?: null | number;
              name: null | string;
              starts_at: string;
              thermostat_schedule_id: string;
              workspace_id: string;
          }[];
      }>, "thermostat_schedules">, "thermostat_schedules">)

        • (params?): SeamHttpRequest<SetNonNullable<Required<{
              thermostat_schedules: {
                  climate_preset_key: string;
                  created_at: string;
                  device_id: string;
                  ends_at: string;
                  errors: {
                      error_code: string;
                      message: string;
                  }[];
                  is_override_allowed?: boolean;
                  max_override_period_minutes?: null | number;
                  name: null | string;
                  starts_at: string;
                  thermostat_schedule_id: string;
                  workspace_id: string;
              }[];
          }>, "thermostat_schedules">, "thermostat_schedules">
        • Parameters

          • Optionalparams: {
                device_id: string;
                user_identifier_key?: string;
            }
            • device_id: string

              ID of the thermostat device for which you want to list schedules.

            • Optionaluser_identifier_key?: string

              User identifier key by which to filter the list of returned thermostat schedules.

          Returns SeamHttpRequest<SetNonNullable<Required<{
              thermostat_schedules: {
                  climate_preset_key: string;
                  created_at: string;
                  device_id: string;
                  ends_at: string;
                  errors: {
                      error_code: string;
                      message: string;
                  }[];
                  is_override_allowed?: boolean;
                  max_override_period_minutes?: null | number;
                  name: null | string;
                  starts_at: string;
                  thermostat_schedule_id: string;
                  workspace_id: string;
              }[];
          }>, "thermostat_schedules">, "thermostat_schedules">

    • get /thermostats/schedules/update(): ((body?: {
          climate_preset_key?: string;
          ends_at?: string;
          is_override_allowed?: boolean;
          max_override_period_minutes?: null | number;
          name?: string;
          starts_at?: string;
          thermostat_schedule_id: string;
      }) => SeamHttpRequest<void, undefined>)
    • Returns ((body?: {
          climate_preset_key?: string;
          ends_at?: string;
          is_override_allowed?: boolean;
          max_override_period_minutes?: null | number;
          name?: string;
          starts_at?: string;
          thermostat_schedule_id: string;
      }) => SeamHttpRequest<void, undefined>)

        • (body?): SeamHttpRequest<void, undefined>
        • Parameters

          • Optionalbody: {
                climate_preset_key?: string;
                ends_at?: string;
                is_override_allowed?: boolean;
                max_override_period_minutes?: null | number;
                name?: string;
                starts_at?: string;
                thermostat_schedule_id: string;
            }
            • Optionalclimate_preset_key?: string

              Key of the climate preset to use for the thermostat schedule.

            • Optionalends_at?: string

              Date and time at which the thermostat schedule ends, in ISO 8601 format.

            • Optionalis_override_allowed?: boolean

              Indicates whether a person at the thermostat or using the API can change the thermostat's settings while the schedule is active. See also Specifying Manual Override Permissions.

            • Optionalmax_override_period_minutes?: null | number

              Number of minutes for which a person at the thermostat or using the API can change the thermostat's settings after the activation of the scheduled climate preset. See also Specifying Manual Override Permissions.

            • Optionalname?: string

              Name of the thermostat schedule.

            • Optionalstarts_at?: string

              Date and time at which the thermostat schedule starts, in ISO 8601 format.

            • thermostat_schedule_id: string

              ID of the thermostat schedule that you want to update.

          Returns SeamHttpRequest<void, undefined>

    • get /thermostats/set_fallback_climate_preset(): ((body?: {
          climate_preset_key: string;
          device_id: string;
      }) => SeamHttpRequest<void, undefined>)
    • Returns ((body?: {
          climate_preset_key: string;
          device_id: string;
      }) => SeamHttpRequest<void, undefined>)

        • (body?): SeamHttpRequest<void, undefined>
        • Parameters

          • Optionalbody: {
                climate_preset_key: string;
                device_id: string;
            }
            • climate_preset_key: string

              Climate preset key of the climate preset that you want to set as the fallback climate preset.

            • device_id: string

              ID of the thermostat device for which you want to set the fallback climate preset.

          Returns SeamHttpRequest<void, undefined>

    • get /thermostats/set_fan_mode(): ((body?: {
          device_id: string;
          fan_mode?: "auto" | "on" | "circulate";
          fan_mode_setting?: "auto" | "on" | "circulate";
          sync?: boolean;
      }, options?: ThermostatsSetFanModeOptions) => SeamHttpRequest<SetNonNullable<Required<{
          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: (...) | (...);
                          created_at: (...) | (...);
                          ends_at: (...) | (...);
                          is_issued: (...) | (...) | (...);
                          starts_at: (...) | (...);
                          visionline_metadata?: (...) | (...);
                      };
                      acs_credential_on_seam: null | {
                          access_method: (...) | (...) | (...);
                          acs_credential_id: string;
                          acs_credential_pool_id?: (...) | (...);
                          acs_system_id: string;
                          acs_user_id?: (...) | (...);
                          assa_abloy_vostio_metadata?: (...) | (...);
                          card_number?: (...) | (...) | (...);
                          code?: (...) | (...) | (...);
                          created_at: string;
                          display_name: string;
                          ends_at?: (...) | (...);
                          errors: (...)[];
                          external_type?:
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...);
                          external_type_display_name?: (...) | (...);
                          is_issued?: (...) | (...) | (...);
                          is_latest_desired_state_synced_with_provider?:
                              | (...)
                              | (...)
                              | (...)
                              | (...);
                          is_managed: true;
                          is_multi_phone_sync_credential?: (...) | (...) | (...);
                          is_one_time_use?: (...) | (...) | (...);
                          issued_at?: (...) | (...) | (...);
                          latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                          parent_acs_credential_id?: (...) | (...);
                          starts_at?: (...) | (...);
                          visionline_metadata?: (...) | (...);
                          warnings: (...)[];
                          workspace_id: string;
                      } | {
                          access_method: (...) | (...) | (...);
                          acs_credential_id: string;
                          acs_credential_pool_id?: (...) | (...);
                          acs_system_id: string;
                          acs_user_id?: (...) | (...);
                          assa_abloy_vostio_metadata?: (...) | (...);
                          card_number?: (...) | (...) | (...);
                          code?: (...) | (...) | (...);
                          created_at: string;
                          display_name: string;
                          ends_at?: (...) | (...);
                          errors: (...)[];
                          external_type?:
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...);
                          external_type_display_name?: (...) | (...);
                          is_issued?: (...) | (...) | (...);
                          is_latest_desired_state_synced_with_provider?:
                              | (...)
                              | (...)
                              | (...)
                              | (...);
                          is_managed: false;
                          is_multi_phone_sync_credential?: (...) | (...) | (...);
                          is_one_time_use?: (...) | (...) | (...);
                          issued_at?: (...) | (...) | (...);
                          latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                          parent_acs_credential_id?: (...) | (...);
                          starts_at?: (...) | (...);
                          visionline_metadata?: (...) | (...);
                          warnings: (...)[];
                          workspace_id: string;
                      };
                      warnings: {
                          warning_code: (...) | (...);
                          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_ACCESS_METHOD";
                  error: null;
                  result: null;
                  status: "pending";
              }
              | {
                  action_attempt_id: string;
                  action_type: "ENCODE_ACCESS_METHOD";
                  error: null;
                  result: {
                      access_method_id: string;
                      created_at: string;
                      display_name: string;
                      instant_key_url?: string;
                      is_card_encoding_required?: boolean;
                      issued_at?: string;
                      mode: "code" | "card" | "mobile_key";
                      workspace_id: string;
                  };
                  status: "success";
              }
              | {
                  action_attempt_id: string;
                  action_type: "ENCODE_ACCESS_METHOD";
                  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: "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?: {
                          auto_join?: ...;
                          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"
                          | "latch_access";
                      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?: {
                          auto_join?: ...;
                          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"
                          | "latch_access";
                      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;
                  };
                  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: "SIMULATE_KEYPAD_CODE_ENTRY";
                  error: null;
                  result: null;
                  status: "pending";
              }
              | {
                  action_attempt_id: string;
                  action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                  error: null;
                  result: {};
                  status: "success";
              }
              | {
                  action_attempt_id: string;
                  action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                  error: {
                      message: string;
                      type: string;
                  };
                  result: null;
                  status: "error";
              }
              | {
                  action_attempt_id: string;
                  action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                  error: null;
                  result: null;
                  status: "pending";
              }
              | {
                  action_attempt_id: string;
                  action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                  error: null;
                  result: {};
                  status: "success";
              }
              | {
                  action_attempt_id: string;
                  action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                  error: {
                      message: string;
                      type: string;
                  };
                  result: null;
                  status: "error";
              }
              | {
                  action_attempt_id: string;
                  action_type: "PUSH_THERMOSTAT_PROGRAMS";
                  error: null;
                  result: null;
                  status: "pending";
              }
              | {
                  action_attempt_id: string;
                  action_type: "PUSH_THERMOSTAT_PROGRAMS";
                  error: null;
                  result: {};
                  status: "success";
              }
              | {
                  action_attempt_id: string;
                  action_type: "PUSH_THERMOSTAT_PROGRAMS";
                  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";
              };
      }>, "action_attempt">, "action_attempt">)
    • Returns ((body?: {
          device_id: string;
          fan_mode?: "auto" | "on" | "circulate";
          fan_mode_setting?: "auto" | "on" | "circulate";
          sync?: boolean;
      }, options?: ThermostatsSetFanModeOptions) => SeamHttpRequest<SetNonNullable<Required<{
          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: (...) | (...);
                          created_at: (...) | (...);
                          ends_at: (...) | (...);
                          is_issued: (...) | (...) | (...);
                          starts_at: (...) | (...);
                          visionline_metadata?: (...) | (...);
                      };
                      acs_credential_on_seam: null | {
                          access_method: (...) | (...) | (...);
                          acs_credential_id: string;
                          acs_credential_pool_id?: (...) | (...);
                          acs_system_id: string;
                          acs_user_id?: (...) | (...);
                          assa_abloy_vostio_metadata?: (...) | (...);
                          card_number?: (...) | (...) | (...);
                          code?: (...) | (...) | (...);
                          created_at: string;
                          display_name: string;
                          ends_at?: (...) | (...);
                          errors: (...)[];
                          external_type?:
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...);
                          external_type_display_name?: (...) | (...);
                          is_issued?: (...) | (...) | (...);
                          is_latest_desired_state_synced_with_provider?:
                              | (...)
                              | (...)
                              | (...)
                              | (...);
                          is_managed: true;
                          is_multi_phone_sync_credential?: (...) | (...) | (...);
                          is_one_time_use?: (...) | (...) | (...);
                          issued_at?: (...) | (...) | (...);
                          latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                          parent_acs_credential_id?: (...) | (...);
                          starts_at?: (...) | (...);
                          visionline_metadata?: (...) | (...);
                          warnings: (...)[];
                          workspace_id: string;
                      } | {
                          access_method: (...) | (...) | (...);
                          acs_credential_id: string;
                          acs_credential_pool_id?: (...) | (...);
                          acs_system_id: string;
                          acs_user_id?: (...) | (...);
                          assa_abloy_vostio_metadata?: (...) | (...);
                          card_number?: (...) | (...) | (...);
                          code?: (...) | (...) | (...);
                          created_at: string;
                          display_name: string;
                          ends_at?: (...) | (...);
                          errors: (...)[];
                          external_type?:
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...);
                          external_type_display_name?: (...) | (...);
                          is_issued?: (...) | (...) | (...);
                          is_latest_desired_state_synced_with_provider?:
                              | (...)
                              | (...)
                              | (...)
                              | (...);
                          is_managed: false;
                          is_multi_phone_sync_credential?: (...) | (...) | (...);
                          is_one_time_use?: (...) | (...) | (...);
                          issued_at?: (...) | (...) | (...);
                          latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                          parent_acs_credential_id?: (...) | (...);
                          starts_at?: (...) | (...);
                          visionline_metadata?: (...) | (...);
                          warnings: (...)[];
                          workspace_id: string;
                      };
                      warnings: {
                          warning_code: (...) | (...);
                          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_ACCESS_METHOD";
                  error: null;
                  result: null;
                  status: "pending";
              }
              | {
                  action_attempt_id: string;
                  action_type: "ENCODE_ACCESS_METHOD";
                  error: null;
                  result: {
                      access_method_id: string;
                      created_at: string;
                      display_name: string;
                      instant_key_url?: string;
                      is_card_encoding_required?: boolean;
                      issued_at?: string;
                      mode: "code" | "card" | "mobile_key";
                      workspace_id: string;
                  };
                  status: "success";
              }
              | {
                  action_attempt_id: string;
                  action_type: "ENCODE_ACCESS_METHOD";
                  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: "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?: {
                          auto_join?: ...;
                          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"
                          | "latch_access";
                      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?: {
                          auto_join?: ...;
                          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"
                          | "latch_access";
                      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;
                  };
                  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: "SIMULATE_KEYPAD_CODE_ENTRY";
                  error: null;
                  result: null;
                  status: "pending";
              }
              | {
                  action_attempt_id: string;
                  action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                  error: null;
                  result: {};
                  status: "success";
              }
              | {
                  action_attempt_id: string;
                  action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                  error: {
                      message: string;
                      type: string;
                  };
                  result: null;
                  status: "error";
              }
              | {
                  action_attempt_id: string;
                  action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                  error: null;
                  result: null;
                  status: "pending";
              }
              | {
                  action_attempt_id: string;
                  action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                  error: null;
                  result: {};
                  status: "success";
              }
              | {
                  action_attempt_id: string;
                  action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                  error: {
                      message: string;
                      type: string;
                  };
                  result: null;
                  status: "error";
              }
              | {
                  action_attempt_id: string;
                  action_type: "PUSH_THERMOSTAT_PROGRAMS";
                  error: null;
                  result: null;
                  status: "pending";
              }
              | {
                  action_attempt_id: string;
                  action_type: "PUSH_THERMOSTAT_PROGRAMS";
                  error: null;
                  result: {};
                  status: "success";
              }
              | {
                  action_attempt_id: string;
                  action_type: "PUSH_THERMOSTAT_PROGRAMS";
                  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";
              };
      }>, "action_attempt">, "action_attempt">)

        • (body?, options?): SeamHttpRequest<SetNonNullable<Required<{
              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: (...) | (...);
                              created_at: (...) | (...);
                              ends_at: (...) | (...);
                              is_issued: (...) | (...) | (...);
                              starts_at: (...) | (...);
                              visionline_metadata?: (...) | (...);
                          };
                          acs_credential_on_seam: null | {
                              access_method: (...) | (...) | (...);
                              acs_credential_id: string;
                              acs_credential_pool_id?: (...) | (...);
                              acs_system_id: string;
                              acs_user_id?: (...) | (...);
                              assa_abloy_vostio_metadata?: (...) | (...);
                              card_number?: (...) | (...) | (...);
                              code?: (...) | (...) | (...);
                              created_at: string;
                              display_name: string;
                              ends_at?: (...) | (...);
                              errors: (...)[];
                              external_type?:
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...);
                              external_type_display_name?: (...) | (...);
                              is_issued?: (...) | (...) | (...);
                              is_latest_desired_state_synced_with_provider?:
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...);
                              is_managed: true;
                              is_multi_phone_sync_credential?: (...) | (...) | (...);
                              is_one_time_use?: (...) | (...) | (...);
                              issued_at?: (...) | (...) | (...);
                              latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                              parent_acs_credential_id?: (...) | (...);
                              starts_at?: (...) | (...);
                              visionline_metadata?: (...) | (...);
                              warnings: (...)[];
                              workspace_id: string;
                          } | {
                              access_method: (...) | (...) | (...);
                              acs_credential_id: string;
                              acs_credential_pool_id?: (...) | (...);
                              acs_system_id: string;
                              acs_user_id?: (...) | (...);
                              assa_abloy_vostio_metadata?: (...) | (...);
                              card_number?: (...) | (...) | (...);
                              code?: (...) | (...) | (...);
                              created_at: string;
                              display_name: string;
                              ends_at?: (...) | (...);
                              errors: (...)[];
                              external_type?:
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...);
                              external_type_display_name?: (...) | (...);
                              is_issued?: (...) | (...) | (...);
                              is_latest_desired_state_synced_with_provider?:
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...);
                              is_managed: false;
                              is_multi_phone_sync_credential?: (...) | (...) | (...);
                              is_one_time_use?: (...) | (...) | (...);
                              issued_at?: (...) | (...) | (...);
                              latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                              parent_acs_credential_id?: (...) | (...);
                              starts_at?: (...) | (...);
                              visionline_metadata?: (...) | (...);
                              warnings: (...)[];
                              workspace_id: string;
                          };
                          warnings: {
                              warning_code: (...) | (...);
                              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_ACCESS_METHOD";
                      error: null;
                      result: null;
                      status: "pending";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "ENCODE_ACCESS_METHOD";
                      error: null;
                      result: {
                          access_method_id: string;
                          created_at: string;
                          display_name: string;
                          instant_key_url?: string;
                          is_card_encoding_required?: boolean;
                          issued_at?: string;
                          mode: "code" | "card" | "mobile_key";
                          workspace_id: string;
                      };
                      status: "success";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "ENCODE_ACCESS_METHOD";
                      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: "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?: {
                              auto_join?: ...;
                              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"
                              | "latch_access";
                          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?: {
                              auto_join?: ...;
                              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"
                              | "latch_access";
                          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;
                      };
                      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: "SIMULATE_KEYPAD_CODE_ENTRY";
                      error: null;
                      result: null;
                      status: "pending";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                      error: null;
                      result: {};
                      status: "success";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                      error: {
                          message: string;
                          type: string;
                      };
                      result: null;
                      status: "error";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                      error: null;
                      result: null;
                      status: "pending";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                      error: null;
                      result: {};
                      status: "success";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                      error: {
                          message: string;
                          type: string;
                      };
                      result: null;
                      status: "error";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "PUSH_THERMOSTAT_PROGRAMS";
                      error: null;
                      result: null;
                      status: "pending";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "PUSH_THERMOSTAT_PROGRAMS";
                      error: null;
                      result: {};
                      status: "success";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "PUSH_THERMOSTAT_PROGRAMS";
                      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";
                  };
          }>, "action_attempt">, "action_attempt">
        • Parameters

          • Optionalbody: {
                device_id: string;
                fan_mode?: "auto" | "on" | "circulate";
                fan_mode_setting?: "auto" | "on" | "circulate";
                sync?: boolean;
            }
            • device_id: string

              ID of the thermostat device for which you want to set the fan mode.

            • Optionalfan_mode?: "auto" | "on" | "circulate"

              Use fan_mode_setting instead.

            • Optionalfan_mode_setting?: "auto" | "on" | "circulate"

              Fan mode setting that you want to set for the thermostat.

            • Optionalsync?: boolean
          • options: ThermostatsSetFanModeOptions = {}

          Returns SeamHttpRequest<SetNonNullable<Required<{
              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: (...) | (...);
                              created_at: (...) | (...);
                              ends_at: (...) | (...);
                              is_issued: (...) | (...) | (...);
                              starts_at: (...) | (...);
                              visionline_metadata?: (...) | (...);
                          };
                          acs_credential_on_seam: null | {
                              access_method: (...) | (...) | (...);
                              acs_credential_id: string;
                              acs_credential_pool_id?: (...) | (...);
                              acs_system_id: string;
                              acs_user_id?: (...) | (...);
                              assa_abloy_vostio_metadata?: (...) | (...);
                              card_number?: (...) | (...) | (...);
                              code?: (...) | (...) | (...);
                              created_at: string;
                              display_name: string;
                              ends_at?: (...) | (...);
                              errors: (...)[];
                              external_type?:
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...);
                              external_type_display_name?: (...) | (...);
                              is_issued?: (...) | (...) | (...);
                              is_latest_desired_state_synced_with_provider?:
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...);
                              is_managed: true;
                              is_multi_phone_sync_credential?: (...) | (...) | (...);
                              is_one_time_use?: (...) | (...) | (...);
                              issued_at?: (...) | (...) | (...);
                              latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                              parent_acs_credential_id?: (...) | (...);
                              starts_at?: (...) | (...);
                              visionline_metadata?: (...) | (...);
                              warnings: (...)[];
                              workspace_id: string;
                          } | {
                              access_method: (...) | (...) | (...);
                              acs_credential_id: string;
                              acs_credential_pool_id?: (...) | (...);
                              acs_system_id: string;
                              acs_user_id?: (...) | (...);
                              assa_abloy_vostio_metadata?: (...) | (...);
                              card_number?: (...) | (...) | (...);
                              code?: (...) | (...) | (...);
                              created_at: string;
                              display_name: string;
                              ends_at?: (...) | (...);
                              errors: (...)[];
                              external_type?:
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...);
                              external_type_display_name?: (...) | (...);
                              is_issued?: (...) | (...) | (...);
                              is_latest_desired_state_synced_with_provider?:
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...);
                              is_managed: false;
                              is_multi_phone_sync_credential?: (...) | (...) | (...);
                              is_one_time_use?: (...) | (...) | (...);
                              issued_at?: (...) | (...) | (...);
                              latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                              parent_acs_credential_id?: (...) | (...);
                              starts_at?: (...) | (...);
                              visionline_metadata?: (...) | (...);
                              warnings: (...)[];
                              workspace_id: string;
                          };
                          warnings: {
                              warning_code: (...) | (...);
                              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_ACCESS_METHOD";
                      error: null;
                      result: null;
                      status: "pending";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "ENCODE_ACCESS_METHOD";
                      error: null;
                      result: {
                          access_method_id: string;
                          created_at: string;
                          display_name: string;
                          instant_key_url?: string;
                          is_card_encoding_required?: boolean;
                          issued_at?: string;
                          mode: "code" | "card" | "mobile_key";
                          workspace_id: string;
                      };
                      status: "success";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "ENCODE_ACCESS_METHOD";
                      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: "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?: {
                              auto_join?: ...;
                              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"
                              | "latch_access";
                          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?: {
                              auto_join?: ...;
                              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"
                              | "latch_access";
                          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;
                      };
                      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: "SIMULATE_KEYPAD_CODE_ENTRY";
                      error: null;
                      result: null;
                      status: "pending";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                      error: null;
                      result: {};
                      status: "success";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                      error: {
                          message: string;
                          type: string;
                      };
                      result: null;
                      status: "error";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                      error: null;
                      result: null;
                      status: "pending";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                      error: null;
                      result: {};
                      status: "success";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                      error: {
                          message: string;
                          type: string;
                      };
                      result: null;
                      status: "error";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "PUSH_THERMOSTAT_PROGRAMS";
                      error: null;
                      result: null;
                      status: "pending";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "PUSH_THERMOSTAT_PROGRAMS";
                      error: null;
                      result: {};
                      status: "success";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "PUSH_THERMOSTAT_PROGRAMS";
                      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";
                  };
          }>, "action_attempt">, "action_attempt">

    • get /thermostats/set_hvac_mode(): ((body?: ThermostatsSetHvacModeBody, options?: ThermostatsSetHvacModeOptions) => SeamHttpRequest<SetNonNullable<Required<{
          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: (...) | (...);
                          created_at: (...) | (...);
                          ends_at: (...) | (...);
                          is_issued: (...) | (...) | (...);
                          starts_at: (...) | (...);
                          visionline_metadata?: (...) | (...);
                      };
                      acs_credential_on_seam: null | {
                          access_method: (...) | (...) | (...);
                          acs_credential_id: string;
                          acs_credential_pool_id?: (...) | (...);
                          acs_system_id: string;
                          acs_user_id?: (...) | (...);
                          assa_abloy_vostio_metadata?: (...) | (...);
                          card_number?: (...) | (...) | (...);
                          code?: (...) | (...) | (...);
                          created_at: string;
                          display_name: string;
                          ends_at?: (...) | (...);
                          errors: (...)[];
                          external_type?:
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...);
                          external_type_display_name?: (...) | (...);
                          is_issued?: (...) | (...) | (...);
                          is_latest_desired_state_synced_with_provider?:
                              | (...)
                              | (...)
                              | (...)
                              | (...);
                          is_managed: true;
                          is_multi_phone_sync_credential?: (...) | (...) | (...);
                          is_one_time_use?: (...) | (...) | (...);
                          issued_at?: (...) | (...) | (...);
                          latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                          parent_acs_credential_id?: (...) | (...);
                          starts_at?: (...) | (...);
                          visionline_metadata?: (...) | (...);
                          warnings: (...)[];
                          workspace_id: string;
                      } | {
                          access_method: (...) | (...) | (...);
                          acs_credential_id: string;
                          acs_credential_pool_id?: (...) | (...);
                          acs_system_id: string;
                          acs_user_id?: (...) | (...);
                          assa_abloy_vostio_metadata?: (...) | (...);
                          card_number?: (...) | (...) | (...);
                          code?: (...) | (...) | (...);
                          created_at: string;
                          display_name: string;
                          ends_at?: (...) | (...);
                          errors: (...)[];
                          external_type?:
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...);
                          external_type_display_name?: (...) | (...);
                          is_issued?: (...) | (...) | (...);
                          is_latest_desired_state_synced_with_provider?:
                              | (...)
                              | (...)
                              | (...)
                              | (...);
                          is_managed: false;
                          is_multi_phone_sync_credential?: (...) | (...) | (...);
                          is_one_time_use?: (...) | (...) | (...);
                          issued_at?: (...) | (...) | (...);
                          latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                          parent_acs_credential_id?: (...) | (...);
                          starts_at?: (...) | (...);
                          visionline_metadata?: (...) | (...);
                          warnings: (...)[];
                          workspace_id: string;
                      };
                      warnings: {
                          warning_code: (...) | (...);
                          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_ACCESS_METHOD";
                  error: null;
                  result: null;
                  status: "pending";
              }
              | {
                  action_attempt_id: string;
                  action_type: "ENCODE_ACCESS_METHOD";
                  error: null;
                  result: {
                      access_method_id: string;
                      created_at: string;
                      display_name: string;
                      instant_key_url?: string;
                      is_card_encoding_required?: boolean;
                      issued_at?: string;
                      mode: "code" | "card" | "mobile_key";
                      workspace_id: string;
                  };
                  status: "success";
              }
              | {
                  action_attempt_id: string;
                  action_type: "ENCODE_ACCESS_METHOD";
                  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: "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?: {
                          auto_join?: ...;
                          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"
                          | "latch_access";
                      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?: {
                          auto_join?: ...;
                          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"
                          | "latch_access";
                      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;
                  };
                  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: "SIMULATE_KEYPAD_CODE_ENTRY";
                  error: null;
                  result: null;
                  status: "pending";
              }
              | {
                  action_attempt_id: string;
                  action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                  error: null;
                  result: {};
                  status: "success";
              }
              | {
                  action_attempt_id: string;
                  action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                  error: {
                      message: string;
                      type: string;
                  };
                  result: null;
                  status: "error";
              }
              | {
                  action_attempt_id: string;
                  action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                  error: null;
                  result: null;
                  status: "pending";
              }
              | {
                  action_attempt_id: string;
                  action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                  error: null;
                  result: {};
                  status: "success";
              }
              | {
                  action_attempt_id: string;
                  action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                  error: {
                      message: string;
                      type: string;
                  };
                  result: null;
                  status: "error";
              }
              | {
                  action_attempt_id: string;
                  action_type: "PUSH_THERMOSTAT_PROGRAMS";
                  error: null;
                  result: null;
                  status: "pending";
              }
              | {
                  action_attempt_id: string;
                  action_type: "PUSH_THERMOSTAT_PROGRAMS";
                  error: null;
                  result: {};
                  status: "success";
              }
              | {
                  action_attempt_id: string;
                  action_type: "PUSH_THERMOSTAT_PROGRAMS";
                  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";
              };
      }>, "action_attempt">, "action_attempt">)
    • Returns ((body?: ThermostatsSetHvacModeBody, options?: ThermostatsSetHvacModeOptions) => SeamHttpRequest<SetNonNullable<Required<{
          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: (...) | (...);
                          created_at: (...) | (...);
                          ends_at: (...) | (...);
                          is_issued: (...) | (...) | (...);
                          starts_at: (...) | (...);
                          visionline_metadata?: (...) | (...);
                      };
                      acs_credential_on_seam: null | {
                          access_method: (...) | (...) | (...);
                          acs_credential_id: string;
                          acs_credential_pool_id?: (...) | (...);
                          acs_system_id: string;
                          acs_user_id?: (...) | (...);
                          assa_abloy_vostio_metadata?: (...) | (...);
                          card_number?: (...) | (...) | (...);
                          code?: (...) | (...) | (...);
                          created_at: string;
                          display_name: string;
                          ends_at?: (...) | (...);
                          errors: (...)[];
                          external_type?:
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...);
                          external_type_display_name?: (...) | (...);
                          is_issued?: (...) | (...) | (...);
                          is_latest_desired_state_synced_with_provider?:
                              | (...)
                              | (...)
                              | (...)
                              | (...);
                          is_managed: true;
                          is_multi_phone_sync_credential?: (...) | (...) | (...);
                          is_one_time_use?: (...) | (...) | (...);
                          issued_at?: (...) | (...) | (...);
                          latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                          parent_acs_credential_id?: (...) | (...);
                          starts_at?: (...) | (...);
                          visionline_metadata?: (...) | (...);
                          warnings: (...)[];
                          workspace_id: string;
                      } | {
                          access_method: (...) | (...) | (...);
                          acs_credential_id: string;
                          acs_credential_pool_id?: (...) | (...);
                          acs_system_id: string;
                          acs_user_id?: (...) | (...);
                          assa_abloy_vostio_metadata?: (...) | (...);
                          card_number?: (...) | (...) | (...);
                          code?: (...) | (...) | (...);
                          created_at: string;
                          display_name: string;
                          ends_at?: (...) | (...);
                          errors: (...)[];
                          external_type?:
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...);
                          external_type_display_name?: (...) | (...);
                          is_issued?: (...) | (...) | (...);
                          is_latest_desired_state_synced_with_provider?:
                              | (...)
                              | (...)
                              | (...)
                              | (...);
                          is_managed: false;
                          is_multi_phone_sync_credential?: (...) | (...) | (...);
                          is_one_time_use?: (...) | (...) | (...);
                          issued_at?: (...) | (...) | (...);
                          latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                          parent_acs_credential_id?: (...) | (...);
                          starts_at?: (...) | (...);
                          visionline_metadata?: (...) | (...);
                          warnings: (...)[];
                          workspace_id: string;
                      };
                      warnings: {
                          warning_code: (...) | (...);
                          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_ACCESS_METHOD";
                  error: null;
                  result: null;
                  status: "pending";
              }
              | {
                  action_attempt_id: string;
                  action_type: "ENCODE_ACCESS_METHOD";
                  error: null;
                  result: {
                      access_method_id: string;
                      created_at: string;
                      display_name: string;
                      instant_key_url?: string;
                      is_card_encoding_required?: boolean;
                      issued_at?: string;
                      mode: "code" | "card" | "mobile_key";
                      workspace_id: string;
                  };
                  status: "success";
              }
              | {
                  action_attempt_id: string;
                  action_type: "ENCODE_ACCESS_METHOD";
                  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: "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?: {
                          auto_join?: ...;
                          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"
                          | "latch_access";
                      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?: {
                          auto_join?: ...;
                          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"
                          | "latch_access";
                      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;
                  };
                  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: "SIMULATE_KEYPAD_CODE_ENTRY";
                  error: null;
                  result: null;
                  status: "pending";
              }
              | {
                  action_attempt_id: string;
                  action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                  error: null;
                  result: {};
                  status: "success";
              }
              | {
                  action_attempt_id: string;
                  action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                  error: {
                      message: string;
                      type: string;
                  };
                  result: null;
                  status: "error";
              }
              | {
                  action_attempt_id: string;
                  action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                  error: null;
                  result: null;
                  status: "pending";
              }
              | {
                  action_attempt_id: string;
                  action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                  error: null;
                  result: {};
                  status: "success";
              }
              | {
                  action_attempt_id: string;
                  action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                  error: {
                      message: string;
                      type: string;
                  };
                  result: null;
                  status: "error";
              }
              | {
                  action_attempt_id: string;
                  action_type: "PUSH_THERMOSTAT_PROGRAMS";
                  error: null;
                  result: null;
                  status: "pending";
              }
              | {
                  action_attempt_id: string;
                  action_type: "PUSH_THERMOSTAT_PROGRAMS";
                  error: null;
                  result: {};
                  status: "success";
              }
              | {
                  action_attempt_id: string;
                  action_type: "PUSH_THERMOSTAT_PROGRAMS";
                  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";
              };
      }>, "action_attempt">, "action_attempt">)

        • (body?, options?): SeamHttpRequest<SetNonNullable<Required<{
              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: (...) | (...);
                              created_at: (...) | (...);
                              ends_at: (...) | (...);
                              is_issued: (...) | (...) | (...);
                              starts_at: (...) | (...);
                              visionline_metadata?: (...) | (...);
                          };
                          acs_credential_on_seam: null | {
                              access_method: (...) | (...) | (...);
                              acs_credential_id: string;
                              acs_credential_pool_id?: (...) | (...);
                              acs_system_id: string;
                              acs_user_id?: (...) | (...);
                              assa_abloy_vostio_metadata?: (...) | (...);
                              card_number?: (...) | (...) | (...);
                              code?: (...) | (...) | (...);
                              created_at: string;
                              display_name: string;
                              ends_at?: (...) | (...);
                              errors: (...)[];
                              external_type?:
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...);
                              external_type_display_name?: (...) | (...);
                              is_issued?: (...) | (...) | (...);
                              is_latest_desired_state_synced_with_provider?:
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...);
                              is_managed: true;
                              is_multi_phone_sync_credential?: (...) | (...) | (...);
                              is_one_time_use?: (...) | (...) | (...);
                              issued_at?: (...) | (...) | (...);
                              latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                              parent_acs_credential_id?: (...) | (...);
                              starts_at?: (...) | (...);
                              visionline_metadata?: (...) | (...);
                              warnings: (...)[];
                              workspace_id: string;
                          } | {
                              access_method: (...) | (...) | (...);
                              acs_credential_id: string;
                              acs_credential_pool_id?: (...) | (...);
                              acs_system_id: string;
                              acs_user_id?: (...) | (...);
                              assa_abloy_vostio_metadata?: (...) | (...);
                              card_number?: (...) | (...) | (...);
                              code?: (...) | (...) | (...);
                              created_at: string;
                              display_name: string;
                              ends_at?: (...) | (...);
                              errors: (...)[];
                              external_type?:
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...);
                              external_type_display_name?: (...) | (...);
                              is_issued?: (...) | (...) | (...);
                              is_latest_desired_state_synced_with_provider?:
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...);
                              is_managed: false;
                              is_multi_phone_sync_credential?: (...) | (...) | (...);
                              is_one_time_use?: (...) | (...) | (...);
                              issued_at?: (...) | (...) | (...);
                              latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                              parent_acs_credential_id?: (...) | (...);
                              starts_at?: (...) | (...);
                              visionline_metadata?: (...) | (...);
                              warnings: (...)[];
                              workspace_id: string;
                          };
                          warnings: {
                              warning_code: (...) | (...);
                              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_ACCESS_METHOD";
                      error: null;
                      result: null;
                      status: "pending";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "ENCODE_ACCESS_METHOD";
                      error: null;
                      result: {
                          access_method_id: string;
                          created_at: string;
                          display_name: string;
                          instant_key_url?: string;
                          is_card_encoding_required?: boolean;
                          issued_at?: string;
                          mode: "code" | "card" | "mobile_key";
                          workspace_id: string;
                      };
                      status: "success";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "ENCODE_ACCESS_METHOD";
                      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: "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?: {
                              auto_join?: ...;
                              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"
                              | "latch_access";
                          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?: {
                              auto_join?: ...;
                              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"
                              | "latch_access";
                          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;
                      };
                      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: "SIMULATE_KEYPAD_CODE_ENTRY";
                      error: null;
                      result: null;
                      status: "pending";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                      error: null;
                      result: {};
                      status: "success";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                      error: {
                          message: string;
                          type: string;
                      };
                      result: null;
                      status: "error";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                      error: null;
                      result: null;
                      status: "pending";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                      error: null;
                      result: {};
                      status: "success";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                      error: {
                          message: string;
                          type: string;
                      };
                      result: null;
                      status: "error";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "PUSH_THERMOSTAT_PROGRAMS";
                      error: null;
                      result: null;
                      status: "pending";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "PUSH_THERMOSTAT_PROGRAMS";
                      error: null;
                      result: {};
                      status: "success";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "PUSH_THERMOSTAT_PROGRAMS";
                      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";
                  };
          }>, "action_attempt">, "action_attempt">
        • Parameters

          Returns SeamHttpRequest<SetNonNullable<Required<{
              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: (...) | (...);
                              created_at: (...) | (...);
                              ends_at: (...) | (...);
                              is_issued: (...) | (...) | (...);
                              starts_at: (...) | (...);
                              visionline_metadata?: (...) | (...);
                          };
                          acs_credential_on_seam: null | {
                              access_method: (...) | (...) | (...);
                              acs_credential_id: string;
                              acs_credential_pool_id?: (...) | (...);
                              acs_system_id: string;
                              acs_user_id?: (...) | (...);
                              assa_abloy_vostio_metadata?: (...) | (...);
                              card_number?: (...) | (...) | (...);
                              code?: (...) | (...) | (...);
                              created_at: string;
                              display_name: string;
                              ends_at?: (...) | (...);
                              errors: (...)[];
                              external_type?:
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...);
                              external_type_display_name?: (...) | (...);
                              is_issued?: (...) | (...) | (...);
                              is_latest_desired_state_synced_with_provider?:
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...);
                              is_managed: true;
                              is_multi_phone_sync_credential?: (...) | (...) | (...);
                              is_one_time_use?: (...) | (...) | (...);
                              issued_at?: (...) | (...) | (...);
                              latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                              parent_acs_credential_id?: (...) | (...);
                              starts_at?: (...) | (...);
                              visionline_metadata?: (...) | (...);
                              warnings: (...)[];
                              workspace_id: string;
                          } | {
                              access_method: (...) | (...) | (...);
                              acs_credential_id: string;
                              acs_credential_pool_id?: (...) | (...);
                              acs_system_id: string;
                              acs_user_id?: (...) | (...);
                              assa_abloy_vostio_metadata?: (...) | (...);
                              card_number?: (...) | (...) | (...);
                              code?: (...) | (...) | (...);
                              created_at: string;
                              display_name: string;
                              ends_at?: (...) | (...);
                              errors: (...)[];
                              external_type?:
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...);
                              external_type_display_name?: (...) | (...);
                              is_issued?: (...) | (...) | (...);
                              is_latest_desired_state_synced_with_provider?:
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...);
                              is_managed: false;
                              is_multi_phone_sync_credential?: (...) | (...) | (...);
                              is_one_time_use?: (...) | (...) | (...);
                              issued_at?: (...) | (...) | (...);
                              latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                              parent_acs_credential_id?: (...) | (...);
                              starts_at?: (...) | (...);
                              visionline_metadata?: (...) | (...);
                              warnings: (...)[];
                              workspace_id: string;
                          };
                          warnings: {
                              warning_code: (...) | (...);
                              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_ACCESS_METHOD";
                      error: null;
                      result: null;
                      status: "pending";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "ENCODE_ACCESS_METHOD";
                      error: null;
                      result: {
                          access_method_id: string;
                          created_at: string;
                          display_name: string;
                          instant_key_url?: string;
                          is_card_encoding_required?: boolean;
                          issued_at?: string;
                          mode: "code" | "card" | "mobile_key";
                          workspace_id: string;
                      };
                      status: "success";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "ENCODE_ACCESS_METHOD";
                      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: "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?: {
                              auto_join?: ...;
                              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"
                              | "latch_access";
                          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?: {
                              auto_join?: ...;
                              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"
                              | "latch_access";
                          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;
                      };
                      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: "SIMULATE_KEYPAD_CODE_ENTRY";
                      error: null;
                      result: null;
                      status: "pending";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                      error: null;
                      result: {};
                      status: "success";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                      error: {
                          message: string;
                          type: string;
                      };
                      result: null;
                      status: "error";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                      error: null;
                      result: null;
                      status: "pending";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                      error: null;
                      result: {};
                      status: "success";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                      error: {
                          message: string;
                          type: string;
                      };
                      result: null;
                      status: "error";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "PUSH_THERMOSTAT_PROGRAMS";
                      error: null;
                      result: null;
                      status: "pending";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "PUSH_THERMOSTAT_PROGRAMS";
                      error: null;
                      result: {};
                      status: "success";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "PUSH_THERMOSTAT_PROGRAMS";
                      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";
                  };
          }>, "action_attempt">, "action_attempt">

    • get /thermostats/set_temperature_threshold(): ((body?: {
          device_id: string;
          lower_limit_celsius?: null | number;
          lower_limit_fahrenheit?: null | number;
          upper_limit_celsius?: null | number;
          upper_limit_fahrenheit?: null | number;
      }) => SeamHttpRequest<void, undefined>)
    • Returns ((body?: {
          device_id: string;
          lower_limit_celsius?: null | number;
          lower_limit_fahrenheit?: null | number;
          upper_limit_celsius?: null | number;
          upper_limit_fahrenheit?: null | number;
      }) => SeamHttpRequest<void, undefined>)

        • (body?): SeamHttpRequest<void, undefined>
        • Parameters

          • Optionalbody: {
                device_id: string;
                lower_limit_celsius?: null | number;
                lower_limit_fahrenheit?: null | number;
                upper_limit_celsius?: null | number;
                upper_limit_fahrenheit?: null | number;
            }
            • device_id: string

              ID of the thermostat device for which you want to set a temperature threshold.

            • Optionallower_limit_celsius?: null | number

              Lower temperature limit in in °C. Seam alerts you if the reported temperature is lower than this value. You can specify either lower_limit but not both.

            • Optionallower_limit_fahrenheit?: null | number

              Lower temperature limit in in °F. Seam alerts you if the reported temperature is lower than this value. You can specify either lower_limit but not both.

            • Optionalupper_limit_celsius?: null | number

              Upper temperature limit in in °C. Seam alerts you if the reported temperature is higher than this value. You can specify either upper_limit but not both.

            • Optionalupper_limit_fahrenheit?: null | number

              Upper temperature limit in in °C. Seam alerts you if the reported temperature is higher than this value. You can specify either upper_limit but not both.

          Returns SeamHttpRequest<void, undefined>

    • get /thermostats/simulate/temperature_reached(): ((body?: {
          device_id: string;
          temperature_celsius?: number;
          temperature_fahrenheit?: number;
      }) => SeamHttpRequest<void, undefined>)
    • Returns ((body?: {
          device_id: string;
          temperature_celsius?: number;
          temperature_fahrenheit?: number;
      }) => SeamHttpRequest<void, undefined>)

        • (body?): SeamHttpRequest<void, undefined>
        • Parameters

          • Optionalbody: {
                device_id: string;
                temperature_celsius?: number;
                temperature_fahrenheit?: number;
            }
            • device_id: string

              ID of the thermostat device that you want to simulate reaching a specified temperature.

            • Optionaltemperature_celsius?: number

              Temperature in °C that you want simulate the thermostat reaching. You must set temperature_celsius or temperature_fahrenheit.

            • Optionaltemperature_fahrenheit?: number

              Temperature in °F that you want simulate the thermostat reaching. You must set temperature_fahrenheit or temperature_celsius.

          Returns SeamHttpRequest<void, undefined>

    • get /thermostats/update_climate_preset(): ((body?: {
          climate_preset_key: string;
          cooling_set_point_celsius?: number;
          cooling_set_point_fahrenheit?: number;
          device_id: string;
          fan_mode_setting?: "auto" | "on" | "circulate";
          heating_set_point_celsius?: number;
          heating_set_point_fahrenheit?: number;
          hvac_mode_setting?:
              | "cool"
              | "heat"
              | "off"
              | "heat_cool";
          manual_override_allowed?: boolean;
          name?: null | string;
      }) => SeamHttpRequest<void, undefined>)
    • Returns ((body?: {
          climate_preset_key: string;
          cooling_set_point_celsius?: number;
          cooling_set_point_fahrenheit?: number;
          device_id: string;
          fan_mode_setting?: "auto" | "on" | "circulate";
          heating_set_point_celsius?: number;
          heating_set_point_fahrenheit?: number;
          hvac_mode_setting?:
              | "cool"
              | "heat"
              | "off"
              | "heat_cool";
          manual_override_allowed?: boolean;
          name?: null | string;
      }) => SeamHttpRequest<void, undefined>)

        • (body?): SeamHttpRequest<void, undefined>
        • Parameters

          • Optionalbody: {
                climate_preset_key: string;
                cooling_set_point_celsius?: number;
                cooling_set_point_fahrenheit?: number;
                device_id: string;
                fan_mode_setting?: "auto" | "on" | "circulate";
                heating_set_point_celsius?: number;
                heating_set_point_fahrenheit?: number;
                hvac_mode_setting?:
                    | "cool"
                    | "heat"
                    | "off"
                    | "heat_cool";
                manual_override_allowed?: boolean;
                name?: null | string;
            }
            • climate_preset_key: string

              Unique key to identify the climate preset.

            • Optionalcooling_set_point_celsius?: number

              Temperature to which the thermostat should cool (in °C). See also Set Points.

            • Optionalcooling_set_point_fahrenheit?: number

              Temperature to which the thermostat should cool (in °F). See also Set Points.

            • device_id: string

              ID of the thermostat device for which you want to update a climate preset.

            • Optionalfan_mode_setting?: "auto" | "on" | "circulate"

              Desired fan mode setting, such as on, auto, or circulate.

            • Optionalheating_set_point_celsius?: number

              Temperature to which the thermostat should heat (in °C). See also Set Points.

            • Optionalheating_set_point_fahrenheit?: number

              Temperature to which the thermostat should heat (in °F). See also Set Points.

            • Optionalhvac_mode_setting?:
                  | "cool"
                  | "heat"
                  | "off"
                  | "heat_cool"

              Desired HVAC mode setting, such as heat, cool, heat_cool, or off.

            • Optionalmanual_override_allowed?: boolean

              Indicates whether a person at the thermostat can change the thermostat's settings. See Specifying Manual Override Permissions.

              Use 'thermostat_schedule.is_override_allowed'

            • Optionalname?: null | string

              User-friendly name to identify the climate preset.

          Returns SeamHttpRequest<void, undefined>

    • get /thermostats/update_weekly_program(): ((body?: {
          device_id: string;
          friday_program_id?: null | string;
          monday_program_id?: null | string;
          saturday_program_id?: null | string;
          sunday_program_id?: null | string;
          thursday_program_id?: null | string;
          tuesday_program_id?: null | string;
          wednesday_program_id?: null | string;
      }, options?: ThermostatsUpdateWeeklyProgramOptions) => SeamHttpRequest<SetNonNullable<Required<{
          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: (...) | (...);
                          created_at: (...) | (...);
                          ends_at: (...) | (...);
                          is_issued: (...) | (...) | (...);
                          starts_at: (...) | (...);
                          visionline_metadata?: (...) | (...);
                      };
                      acs_credential_on_seam: null | {
                          access_method: (...) | (...) | (...);
                          acs_credential_id: string;
                          acs_credential_pool_id?: (...) | (...);
                          acs_system_id: string;
                          acs_user_id?: (...) | (...);
                          assa_abloy_vostio_metadata?: (...) | (...);
                          card_number?: (...) | (...) | (...);
                          code?: (...) | (...) | (...);
                          created_at: string;
                          display_name: string;
                          ends_at?: (...) | (...);
                          errors: (...)[];
                          external_type?:
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...);
                          external_type_display_name?: (...) | (...);
                          is_issued?: (...) | (...) | (...);
                          is_latest_desired_state_synced_with_provider?:
                              | (...)
                              | (...)
                              | (...)
                              | (...);
                          is_managed: true;
                          is_multi_phone_sync_credential?: (...) | (...) | (...);
                          is_one_time_use?: (...) | (...) | (...);
                          issued_at?: (...) | (...) | (...);
                          latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                          parent_acs_credential_id?: (...) | (...);
                          starts_at?: (...) | (...);
                          visionline_metadata?: (...) | (...);
                          warnings: (...)[];
                          workspace_id: string;
                      } | {
                          access_method: (...) | (...) | (...);
                          acs_credential_id: string;
                          acs_credential_pool_id?: (...) | (...);
                          acs_system_id: string;
                          acs_user_id?: (...) | (...);
                          assa_abloy_vostio_metadata?: (...) | (...);
                          card_number?: (...) | (...) | (...);
                          code?: (...) | (...) | (...);
                          created_at: string;
                          display_name: string;
                          ends_at?: (...) | (...);
                          errors: (...)[];
                          external_type?:
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...);
                          external_type_display_name?: (...) | (...);
                          is_issued?: (...) | (...) | (...);
                          is_latest_desired_state_synced_with_provider?:
                              | (...)
                              | (...)
                              | (...)
                              | (...);
                          is_managed: false;
                          is_multi_phone_sync_credential?: (...) | (...) | (...);
                          is_one_time_use?: (...) | (...) | (...);
                          issued_at?: (...) | (...) | (...);
                          latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                          parent_acs_credential_id?: (...) | (...);
                          starts_at?: (...) | (...);
                          visionline_metadata?: (...) | (...);
                          warnings: (...)[];
                          workspace_id: string;
                      };
                      warnings: {
                          warning_code: (...) | (...);
                          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_ACCESS_METHOD";
                  error: null;
                  result: null;
                  status: "pending";
              }
              | {
                  action_attempt_id: string;
                  action_type: "ENCODE_ACCESS_METHOD";
                  error: null;
                  result: {
                      access_method_id: string;
                      created_at: string;
                      display_name: string;
                      instant_key_url?: string;
                      is_card_encoding_required?: boolean;
                      issued_at?: string;
                      mode: "code" | "card" | "mobile_key";
                      workspace_id: string;
                  };
                  status: "success";
              }
              | {
                  action_attempt_id: string;
                  action_type: "ENCODE_ACCESS_METHOD";
                  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: "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?: {
                          auto_join?: ...;
                          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"
                          | "latch_access";
                      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?: {
                          auto_join?: ...;
                          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"
                          | "latch_access";
                      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;
                  };
                  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: "SIMULATE_KEYPAD_CODE_ENTRY";
                  error: null;
                  result: null;
                  status: "pending";
              }
              | {
                  action_attempt_id: string;
                  action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                  error: null;
                  result: {};
                  status: "success";
              }
              | {
                  action_attempt_id: string;
                  action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                  error: {
                      message: string;
                      type: string;
                  };
                  result: null;
                  status: "error";
              }
              | {
                  action_attempt_id: string;
                  action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                  error: null;
                  result: null;
                  status: "pending";
              }
              | {
                  action_attempt_id: string;
                  action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                  error: null;
                  result: {};
                  status: "success";
              }
              | {
                  action_attempt_id: string;
                  action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                  error: {
                      message: string;
                      type: string;
                  };
                  result: null;
                  status: "error";
              }
              | {
                  action_attempt_id: string;
                  action_type: "PUSH_THERMOSTAT_PROGRAMS";
                  error: null;
                  result: null;
                  status: "pending";
              }
              | {
                  action_attempt_id: string;
                  action_type: "PUSH_THERMOSTAT_PROGRAMS";
                  error: null;
                  result: {};
                  status: "success";
              }
              | {
                  action_attempt_id: string;
                  action_type: "PUSH_THERMOSTAT_PROGRAMS";
                  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";
              };
      }>, "action_attempt">, "action_attempt">)
    • Returns ((body?: {
          device_id: string;
          friday_program_id?: null | string;
          monday_program_id?: null | string;
          saturday_program_id?: null | string;
          sunday_program_id?: null | string;
          thursday_program_id?: null | string;
          tuesday_program_id?: null | string;
          wednesday_program_id?: null | string;
      }, options?: ThermostatsUpdateWeeklyProgramOptions) => SeamHttpRequest<SetNonNullable<Required<{
          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: (...) | (...);
                          created_at: (...) | (...);
                          ends_at: (...) | (...);
                          is_issued: (...) | (...) | (...);
                          starts_at: (...) | (...);
                          visionline_metadata?: (...) | (...);
                      };
                      acs_credential_on_seam: null | {
                          access_method: (...) | (...) | (...);
                          acs_credential_id: string;
                          acs_credential_pool_id?: (...) | (...);
                          acs_system_id: string;
                          acs_user_id?: (...) | (...);
                          assa_abloy_vostio_metadata?: (...) | (...);
                          card_number?: (...) | (...) | (...);
                          code?: (...) | (...) | (...);
                          created_at: string;
                          display_name: string;
                          ends_at?: (...) | (...);
                          errors: (...)[];
                          external_type?:
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...);
                          external_type_display_name?: (...) | (...);
                          is_issued?: (...) | (...) | (...);
                          is_latest_desired_state_synced_with_provider?:
                              | (...)
                              | (...)
                              | (...)
                              | (...);
                          is_managed: true;
                          is_multi_phone_sync_credential?: (...) | (...) | (...);
                          is_one_time_use?: (...) | (...) | (...);
                          issued_at?: (...) | (...) | (...);
                          latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                          parent_acs_credential_id?: (...) | (...);
                          starts_at?: (...) | (...);
                          visionline_metadata?: (...) | (...);
                          warnings: (...)[];
                          workspace_id: string;
                      } | {
                          access_method: (...) | (...) | (...);
                          acs_credential_id: string;
                          acs_credential_pool_id?: (...) | (...);
                          acs_system_id: string;
                          acs_user_id?: (...) | (...);
                          assa_abloy_vostio_metadata?: (...) | (...);
                          card_number?: (...) | (...) | (...);
                          code?: (...) | (...) | (...);
                          created_at: string;
                          display_name: string;
                          ends_at?: (...) | (...);
                          errors: (...)[];
                          external_type?:
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...)
                              | (...);
                          external_type_display_name?: (...) | (...);
                          is_issued?: (...) | (...) | (...);
                          is_latest_desired_state_synced_with_provider?:
                              | (...)
                              | (...)
                              | (...)
                              | (...);
                          is_managed: false;
                          is_multi_phone_sync_credential?: (...) | (...) | (...);
                          is_one_time_use?: (...) | (...) | (...);
                          issued_at?: (...) | (...) | (...);
                          latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                          parent_acs_credential_id?: (...) | (...);
                          starts_at?: (...) | (...);
                          visionline_metadata?: (...) | (...);
                          warnings: (...)[];
                          workspace_id: string;
                      };
                      warnings: {
                          warning_code: (...) | (...);
                          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_ACCESS_METHOD";
                  error: null;
                  result: null;
                  status: "pending";
              }
              | {
                  action_attempt_id: string;
                  action_type: "ENCODE_ACCESS_METHOD";
                  error: null;
                  result: {
                      access_method_id: string;
                      created_at: string;
                      display_name: string;
                      instant_key_url?: string;
                      is_card_encoding_required?: boolean;
                      issued_at?: string;
                      mode: "code" | "card" | "mobile_key";
                      workspace_id: string;
                  };
                  status: "success";
              }
              | {
                  action_attempt_id: string;
                  action_type: "ENCODE_ACCESS_METHOD";
                  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: "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?: {
                          auto_join?: ...;
                          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"
                          | "latch_access";
                      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?: {
                          auto_join?: ...;
                          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"
                          | "latch_access";
                      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;
                  };
                  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: "SIMULATE_KEYPAD_CODE_ENTRY";
                  error: null;
                  result: null;
                  status: "pending";
              }
              | {
                  action_attempt_id: string;
                  action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                  error: null;
                  result: {};
                  status: "success";
              }
              | {
                  action_attempt_id: string;
                  action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                  error: {
                      message: string;
                      type: string;
                  };
                  result: null;
                  status: "error";
              }
              | {
                  action_attempt_id: string;
                  action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                  error: null;
                  result: null;
                  status: "pending";
              }
              | {
                  action_attempt_id: string;
                  action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                  error: null;
                  result: {};
                  status: "success";
              }
              | {
                  action_attempt_id: string;
                  action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                  error: {
                      message: string;
                      type: string;
                  };
                  result: null;
                  status: "error";
              }
              | {
                  action_attempt_id: string;
                  action_type: "PUSH_THERMOSTAT_PROGRAMS";
                  error: null;
                  result: null;
                  status: "pending";
              }
              | {
                  action_attempt_id: string;
                  action_type: "PUSH_THERMOSTAT_PROGRAMS";
                  error: null;
                  result: {};
                  status: "success";
              }
              | {
                  action_attempt_id: string;
                  action_type: "PUSH_THERMOSTAT_PROGRAMS";
                  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";
              };
      }>, "action_attempt">, "action_attempt">)

        • (body?, options?): SeamHttpRequest<SetNonNullable<Required<{
              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: (...) | (...);
                              created_at: (...) | (...);
                              ends_at: (...) | (...);
                              is_issued: (...) | (...) | (...);
                              starts_at: (...) | (...);
                              visionline_metadata?: (...) | (...);
                          };
                          acs_credential_on_seam: null | {
                              access_method: (...) | (...) | (...);
                              acs_credential_id: string;
                              acs_credential_pool_id?: (...) | (...);
                              acs_system_id: string;
                              acs_user_id?: (...) | (...);
                              assa_abloy_vostio_metadata?: (...) | (...);
                              card_number?: (...) | (...) | (...);
                              code?: (...) | (...) | (...);
                              created_at: string;
                              display_name: string;
                              ends_at?: (...) | (...);
                              errors: (...)[];
                              external_type?:
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...);
                              external_type_display_name?: (...) | (...);
                              is_issued?: (...) | (...) | (...);
                              is_latest_desired_state_synced_with_provider?:
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...);
                              is_managed: true;
                              is_multi_phone_sync_credential?: (...) | (...) | (...);
                              is_one_time_use?: (...) | (...) | (...);
                              issued_at?: (...) | (...) | (...);
                              latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                              parent_acs_credential_id?: (...) | (...);
                              starts_at?: (...) | (...);
                              visionline_metadata?: (...) | (...);
                              warnings: (...)[];
                              workspace_id: string;
                          } | {
                              access_method: (...) | (...) | (...);
                              acs_credential_id: string;
                              acs_credential_pool_id?: (...) | (...);
                              acs_system_id: string;
                              acs_user_id?: (...) | (...);
                              assa_abloy_vostio_metadata?: (...) | (...);
                              card_number?: (...) | (...) | (...);
                              code?: (...) | (...) | (...);
                              created_at: string;
                              display_name: string;
                              ends_at?: (...) | (...);
                              errors: (...)[];
                              external_type?:
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...);
                              external_type_display_name?: (...) | (...);
                              is_issued?: (...) | (...) | (...);
                              is_latest_desired_state_synced_with_provider?:
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...);
                              is_managed: false;
                              is_multi_phone_sync_credential?: (...) | (...) | (...);
                              is_one_time_use?: (...) | (...) | (...);
                              issued_at?: (...) | (...) | (...);
                              latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                              parent_acs_credential_id?: (...) | (...);
                              starts_at?: (...) | (...);
                              visionline_metadata?: (...) | (...);
                              warnings: (...)[];
                              workspace_id: string;
                          };
                          warnings: {
                              warning_code: (...) | (...);
                              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_ACCESS_METHOD";
                      error: null;
                      result: null;
                      status: "pending";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "ENCODE_ACCESS_METHOD";
                      error: null;
                      result: {
                          access_method_id: string;
                          created_at: string;
                          display_name: string;
                          instant_key_url?: string;
                          is_card_encoding_required?: boolean;
                          issued_at?: string;
                          mode: "code" | "card" | "mobile_key";
                          workspace_id: string;
                      };
                      status: "success";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "ENCODE_ACCESS_METHOD";
                      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: "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?: {
                              auto_join?: ...;
                              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"
                              | "latch_access";
                          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?: {
                              auto_join?: ...;
                              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"
                              | "latch_access";
                          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;
                      };
                      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: "SIMULATE_KEYPAD_CODE_ENTRY";
                      error: null;
                      result: null;
                      status: "pending";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                      error: null;
                      result: {};
                      status: "success";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                      error: {
                          message: string;
                          type: string;
                      };
                      result: null;
                      status: "error";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                      error: null;
                      result: null;
                      status: "pending";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                      error: null;
                      result: {};
                      status: "success";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                      error: {
                          message: string;
                          type: string;
                      };
                      result: null;
                      status: "error";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "PUSH_THERMOSTAT_PROGRAMS";
                      error: null;
                      result: null;
                      status: "pending";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "PUSH_THERMOSTAT_PROGRAMS";
                      error: null;
                      result: {};
                      status: "success";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "PUSH_THERMOSTAT_PROGRAMS";
                      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";
                  };
          }>, "action_attempt">, "action_attempt">
        • Parameters

          • Optionalbody: {
                device_id: string;
                friday_program_id?: null | string;
                monday_program_id?: null | string;
                saturday_program_id?: null | string;
                sunday_program_id?: null | string;
                thursday_program_id?: null | string;
                tuesday_program_id?: null | string;
                wednesday_program_id?: null | string;
            }
            • device_id: string

              ID of the thermostat device for which you want to update the weekly program.

            • Optionalfriday_program_id?: null | string

              ID of the thermostat daily program to run on Fridays.

            • Optionalmonday_program_id?: null | string

              ID of the thermostat daily program to run on Mondays.

            • Optionalsaturday_program_id?: null | string

              ID of the thermostat daily program to run on Saturdays.

            • Optionalsunday_program_id?: null | string

              ID of the thermostat daily program to run on Sundays.

            • Optionalthursday_program_id?: null | string

              ID of the thermostat daily program to run on Thursdays.

            • Optionaltuesday_program_id?: null | string

              ID of the thermostat daily program to run on Tuesdays.

            • Optionalwednesday_program_id?: null | string

              ID of the thermostat daily program to run on Wednesdays.

          • options: ThermostatsUpdateWeeklyProgramOptions = {}

          Returns SeamHttpRequest<SetNonNullable<Required<{
              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: (...) | (...);
                              created_at: (...) | (...);
                              ends_at: (...) | (...);
                              is_issued: (...) | (...) | (...);
                              starts_at: (...) | (...);
                              visionline_metadata?: (...) | (...);
                          };
                          acs_credential_on_seam: null | {
                              access_method: (...) | (...) | (...);
                              acs_credential_id: string;
                              acs_credential_pool_id?: (...) | (...);
                              acs_system_id: string;
                              acs_user_id?: (...) | (...);
                              assa_abloy_vostio_metadata?: (...) | (...);
                              card_number?: (...) | (...) | (...);
                              code?: (...) | (...) | (...);
                              created_at: string;
                              display_name: string;
                              ends_at?: (...) | (...);
                              errors: (...)[];
                              external_type?:
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...);
                              external_type_display_name?: (...) | (...);
                              is_issued?: (...) | (...) | (...);
                              is_latest_desired_state_synced_with_provider?:
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...);
                              is_managed: true;
                              is_multi_phone_sync_credential?: (...) | (...) | (...);
                              is_one_time_use?: (...) | (...) | (...);
                              issued_at?: (...) | (...) | (...);
                              latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                              parent_acs_credential_id?: (...) | (...);
                              starts_at?: (...) | (...);
                              visionline_metadata?: (...) | (...);
                              warnings: (...)[];
                              workspace_id: string;
                          } | {
                              access_method: (...) | (...) | (...);
                              acs_credential_id: string;
                              acs_credential_pool_id?: (...) | (...);
                              acs_system_id: string;
                              acs_user_id?: (...) | (...);
                              assa_abloy_vostio_metadata?: (...) | (...);
                              card_number?: (...) | (...) | (...);
                              code?: (...) | (...) | (...);
                              created_at: string;
                              display_name: string;
                              ends_at?: (...) | (...);
                              errors: (...)[];
                              external_type?:
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...);
                              external_type_display_name?: (...) | (...);
                              is_issued?: (...) | (...) | (...);
                              is_latest_desired_state_synced_with_provider?:
                                  | (...)
                                  | (...)
                                  | (...)
                                  | (...);
                              is_managed: false;
                              is_multi_phone_sync_credential?: (...) | (...) | (...);
                              is_one_time_use?: (...) | (...) | (...);
                              issued_at?: (...) | (...) | (...);
                              latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                              parent_acs_credential_id?: (...) | (...);
                              starts_at?: (...) | (...);
                              visionline_metadata?: (...) | (...);
                              warnings: (...)[];
                              workspace_id: string;
                          };
                          warnings: {
                              warning_code: (...) | (...);
                              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_ACCESS_METHOD";
                      error: null;
                      result: null;
                      status: "pending";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "ENCODE_ACCESS_METHOD";
                      error: null;
                      result: {
                          access_method_id: string;
                          created_at: string;
                          display_name: string;
                          instant_key_url?: string;
                          is_card_encoding_required?: boolean;
                          issued_at?: string;
                          mode: "code" | "card" | "mobile_key";
                          workspace_id: string;
                      };
                      status: "success";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "ENCODE_ACCESS_METHOD";
                      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: "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?: {
                              auto_join?: ...;
                              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"
                              | "latch_access";
                          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?: {
                              auto_join?: ...;
                              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"
                              | "latch_access";
                          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;
                      };
                      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: "SIMULATE_KEYPAD_CODE_ENTRY";
                      error: null;
                      result: null;
                      status: "pending";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                      error: null;
                      result: {};
                      status: "success";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                      error: {
                          message: string;
                          type: string;
                      };
                      result: null;
                      status: "error";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                      error: null;
                      result: null;
                      status: "pending";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                      error: null;
                      result: {};
                      status: "success";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                      error: {
                          message: string;
                          type: string;
                      };
                      result: null;
                      status: "error";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "PUSH_THERMOSTAT_PROGRAMS";
                      error: null;
                      result: null;
                      status: "pending";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "PUSH_THERMOSTAT_PROGRAMS";
                      error: null;
                      result: {};
                      status: "success";
                  }
                  | {
                      action_attempt_id: string;
                      action_type: "PUSH_THERMOSTAT_PROGRAMS";
                      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";
                  };
          }>, "action_attempt">, "action_attempt">

    • get /user_identities/add_acs_user(): ((body?: {
          acs_user_id: string;
          user_identity_id: string;
      }) => SeamHttpRequest<void, undefined>)
    • Returns ((body?: {
          acs_user_id: string;
          user_identity_id: string;
      }) => SeamHttpRequest<void, undefined>)

        • (body?): SeamHttpRequest<void, undefined>
        • Parameters

          • Optionalbody: {
                acs_user_id: string;
                user_identity_id: string;
            }
            • acs_user_id: string

              ID of the access system user that you want to add to the user identity.

            • user_identity_id: string

              ID of the user identity to which you want to add an access system user.

          Returns SeamHttpRequest<void, undefined>

    • get /user_identities/create(): ((body?: {
          acs_system_ids?: string[];
          email_address?: null | string;
          full_name?: null | string;
          phone_number?: null | string;
          user_identity_key?: null | string;
      }) => SeamHttpRequest<SetNonNullable<Required<{
          user_identity: {
              created_at: string;
              display_name: string;
              email_address: null | string;
              errors: {
                  created_at: string;
                  message: string;
              }[];
              full_name: null | string;
              phone_number: null | string;
              user_identity_id: string;
              user_identity_key: null | string;
              warnings: {
                  created_at: string;
                  message: string;
                  warning_code: "being_deleted";
              }[];
              workspace_id: string;
          };
      }>, "user_identity">, "user_identity">)
    • Returns ((body?: {
          acs_system_ids?: string[];
          email_address?: null | string;
          full_name?: null | string;
          phone_number?: null | string;
          user_identity_key?: null | string;
      }) => SeamHttpRequest<SetNonNullable<Required<{
          user_identity: {
              created_at: string;
              display_name: string;
              email_address: null | string;
              errors: {
                  created_at: string;
                  message: string;
              }[];
              full_name: null | string;
              phone_number: null | string;
              user_identity_id: string;
              user_identity_key: null | string;
              warnings: {
                  created_at: string;
                  message: string;
                  warning_code: "being_deleted";
              }[];
              workspace_id: string;
          };
      }>, "user_identity">, "user_identity">)

        • (body?): SeamHttpRequest<SetNonNullable<Required<{
              user_identity: {
                  created_at: string;
                  display_name: string;
                  email_address: null | string;
                  errors: {
                      created_at: string;
                      message: string;
                  }[];
                  full_name: null | string;
                  phone_number: null | string;
                  user_identity_id: string;
                  user_identity_key: null | string;
                  warnings: {
                      created_at: string;
                      message: string;
                      warning_code: "being_deleted";
                  }[];
                  workspace_id: string;
              };
          }>, "user_identity">, "user_identity">
        • Parameters

          • Optionalbody: {
                acs_system_ids?: string[];
                email_address?: null | string;
                full_name?: null | string;
                phone_number?: null | string;
                user_identity_key?: null | string;
            }
            • Optionalacs_system_ids?: string[]

              List of access system IDs to associate with the new user identity through access system users. If there's no user with the same email address or phone number in the specified access systems, a new access system user is created. If there is an existing user with the same email or phone number in the specified access systems, the user is linked to the user identity.

            • Optionalemail_address?: null | string

              Unique email address for the new user identity.

            • Optionalfull_name?: null | string

              Full name of the user associated with the new user identity.

            • Optionalphone_number?: null | string

              Unique phone number for the new user identity in E.164 format (for example, +15555550100).

            • Optionaluser_identity_key?: null | string

              Unique key for the new user identity.

          Returns SeamHttpRequest<SetNonNullable<Required<{
              user_identity: {
                  created_at: string;
                  display_name: string;
                  email_address: null | string;
                  errors: {
                      created_at: string;
                      message: string;
                  }[];
                  full_name: null | string;
                  phone_number: null | string;
                  user_identity_id: string;
                  user_identity_key: null | string;
                  warnings: {
                      created_at: string;
                      message: string;
                      warning_code: "being_deleted";
                  }[];
                  workspace_id: string;
              };
          }>, "user_identity">, "user_identity">

    • get /user_identities/delete(): ((params?: {
          user_identity_id: string;
      }) => SeamHttpRequest<void, undefined>)
    • Returns ((params?: {
          user_identity_id: string;
      }) => SeamHttpRequest<void, undefined>)

        • (params?): SeamHttpRequest<void, undefined>
        • Parameters

          • Optionalparams: {
                user_identity_id: string;
            }
            • user_identity_id: string

              ID of the user identity that you want to delete.

          Returns SeamHttpRequest<void, undefined>

    • get /user_identities/enrollment_automations/delete(): ((params?: {
          enrollment_automation_id: string;
      }) => SeamHttpRequest<void, undefined>)
    • Returns ((params?: {
          enrollment_automation_id: string;
      }) => SeamHttpRequest<void, undefined>)

        • (params?): SeamHttpRequest<void, undefined>
        • Parameters

          • Optionalparams: {
                enrollment_automation_id: string;
            }
            • enrollment_automation_id: string

              ID of the enrollment automation that you want to delete.

          Returns SeamHttpRequest<void, undefined>

    • get /user_identities/enrollment_automations/get(): ((params?: {
          enrollment_automation_id: string;
      }) => SeamHttpRequest<SetNonNullable<Required<{
          enrollment_automation: {
              created_at: string;
              credential_manager_acs_system_id: string;
              enrollment_automation_id: string;
              user_identity_id: string;
              workspace_id: string;
          };
      }>, "enrollment_automation">, "enrollment_automation">)
    • Returns ((params?: {
          enrollment_automation_id: string;
      }) => SeamHttpRequest<SetNonNullable<Required<{
          enrollment_automation: {
              created_at: string;
              credential_manager_acs_system_id: string;
              enrollment_automation_id: string;
              user_identity_id: string;
              workspace_id: string;
          };
      }>, "enrollment_automation">, "enrollment_automation">)

        • (params?): SeamHttpRequest<SetNonNullable<Required<{
              enrollment_automation: {
                  created_at: string;
                  credential_manager_acs_system_id: string;
                  enrollment_automation_id: string;
                  user_identity_id: string;
                  workspace_id: string;
              };
          }>, "enrollment_automation">, "enrollment_automation">
        • Parameters

          • Optionalparams: {
                enrollment_automation_id: string;
            }
            • enrollment_automation_id: string

              ID of the enrollment automation that you want to get.

          Returns SeamHttpRequest<SetNonNullable<Required<{
              enrollment_automation: {
                  created_at: string;
                  credential_manager_acs_system_id: string;
                  enrollment_automation_id: string;
                  user_identity_id: string;
                  workspace_id: string;
              };
          }>, "enrollment_automation">, "enrollment_automation">

    • get /user_identities/enrollment_automations/launch(): ((body?: {
          acs_credential_pool_id?: string;
          create_credential_manager_user?: boolean;
          credential_manager_acs_system_id: string;
          credential_manager_acs_user_id?: string;
          user_identity_id: string;
      }) => SeamHttpRequest<SetNonNullable<Required<{
          enrollment_automation: {
              created_at: string;
              credential_manager_acs_system_id: string;
              enrollment_automation_id: string;
              user_identity_id: string;
              workspace_id: string;
          };
      }>, "enrollment_automation">, "enrollment_automation">)
    • Returns ((body?: {
          acs_credential_pool_id?: string;
          create_credential_manager_user?: boolean;
          credential_manager_acs_system_id: string;
          credential_manager_acs_user_id?: string;
          user_identity_id: string;
      }) => SeamHttpRequest<SetNonNullable<Required<{
          enrollment_automation: {
              created_at: string;
              credential_manager_acs_system_id: string;
              enrollment_automation_id: string;
              user_identity_id: string;
              workspace_id: string;
          };
      }>, "enrollment_automation">, "enrollment_automation">)

        • (body?): SeamHttpRequest<SetNonNullable<Required<{
              enrollment_automation: {
                  created_at: string;
                  credential_manager_acs_system_id: string;
                  enrollment_automation_id: string;
                  user_identity_id: string;
                  workspace_id: string;
              };
          }>, "enrollment_automation">, "enrollment_automation">
        • Parameters

          • Optionalbody: {
                acs_credential_pool_id?: string;
                create_credential_manager_user?: boolean;
                credential_manager_acs_system_id: string;
                credential_manager_acs_user_id?: string;
                user_identity_id: string;
            }
            • Optionalacs_credential_pool_id?: string

              ID of the credential pool from which to obtain credentials for the user identity.

            • Optionalcreate_credential_manager_user?: boolean

              Indicates whether to create an associated credential manager user. If you set create_credential_manager_user to true, you cannot specify a credential_manager_acs_user_id.

            • credential_manager_acs_system_id: string

              ID of the desired access system that serves as the credential manager for the enrollment automation.

            • Optionalcredential_manager_acs_user_id?: string

              ID of the associated access system user within the credential manager. If you specify a credential_manager_acs_user_id, you cannot set create_credential_manager_user to true.

            • user_identity_id: string

              ID of the user identity for which you want to launch an enrollment automation.

          Returns SeamHttpRequest<SetNonNullable<Required<{
              enrollment_automation: {
                  created_at: string;
                  credential_manager_acs_system_id: string;
                  enrollment_automation_id: string;
                  user_identity_id: string;
                  workspace_id: string;
              };
          }>, "enrollment_automation">, "enrollment_automation">

    • get /user_identities/enrollment_automations/list(): ((params?: {
          user_identity_id: string;
      }) => SeamHttpRequest<SetNonNullable<Required<{
          enrollment_automations: {
              created_at: string;
              credential_manager_acs_system_id: string;
              enrollment_automation_id: string;
              user_identity_id: string;
              workspace_id: string;
          }[];
      }>, "enrollment_automations">, "enrollment_automations">)
    • Returns ((params?: {
          user_identity_id: string;
      }) => SeamHttpRequest<SetNonNullable<Required<{
          enrollment_automations: {
              created_at: string;
              credential_manager_acs_system_id: string;
              enrollment_automation_id: string;
              user_identity_id: string;
              workspace_id: string;
          }[];
      }>, "enrollment_automations">, "enrollment_automations">)

        • (params?): SeamHttpRequest<SetNonNullable<Required<{
              enrollment_automations: {
                  created_at: string;
                  credential_manager_acs_system_id: string;
                  enrollment_automation_id: string;
                  user_identity_id: string;
                  workspace_id: string;
              }[];
          }>, "enrollment_automations">, "enrollment_automations">
        • Parameters

          • Optionalparams: {
                user_identity_id: string;
            }
            • user_identity_id: string

              ID of the user identity for which you want to retrieve enrollment automations.

          Returns SeamHttpRequest<SetNonNullable<Required<{
              enrollment_automations: {
                  created_at: string;
                  credential_manager_acs_system_id: string;
                  enrollment_automation_id: string;
                  user_identity_id: string;
                  workspace_id: string;
              }[];
          }>, "enrollment_automations">, "enrollment_automations">

    • get /user_identities/generate_instant_key(): ((body?: {
          max_use_count?: number;
          user_identity_id: string;
      }) => SeamHttpRequest<SetNonNullable<Required<{
          instant_key: {
              client_session_id: string;
              created_at: string;
              expires_at: string;
              instant_key_id: string;
              instant_key_url: string;
              user_identity_id: string;
              workspace_id: string;
          };
      }>, "instant_key">, "instant_key">)
    • Returns ((body?: {
          max_use_count?: number;
          user_identity_id: string;
      }) => SeamHttpRequest<SetNonNullable<Required<{
          instant_key: {
              client_session_id: string;
              created_at: string;
              expires_at: string;
              instant_key_id: string;
              instant_key_url: string;
              user_identity_id: string;
              workspace_id: string;
          };
      }>, "instant_key">, "instant_key">)

        • (body?): SeamHttpRequest<SetNonNullable<Required<{
              instant_key: {
                  client_session_id: string;
                  created_at: string;
                  expires_at: string;
                  instant_key_id: string;
                  instant_key_url: string;
                  user_identity_id: string;
                  workspace_id: string;
              };
          }>, "instant_key">, "instant_key">
        • Parameters

          • Optionalbody: {
                max_use_count?: number;
                user_identity_id: string;
            }
            • Optionalmax_use_count?: number

              Maximum number of times the instant key can be used. Default: 1.

            • user_identity_id: string

              ID of the user identity for which you want to generate an instant key.

          Returns SeamHttpRequest<SetNonNullable<Required<{
              instant_key: {
                  client_session_id: string;
                  created_at: string;
                  expires_at: string;
                  instant_key_id: string;
                  instant_key_url: string;
                  user_identity_id: string;
                  workspace_id: string;
              };
          }>, "instant_key">, "instant_key">

    • get /user_identities/get(): ((params?: UserIdentitiesGetParams) => SeamHttpRequest<SetNonNullable<Required<{
          user_identity: {
              created_at: string;
              display_name: string;
              email_address: null | string;
              errors: {
                  created_at: string;
                  message: string;
              }[];
              full_name: null | string;
              phone_number: null | string;
              user_identity_id: string;
              user_identity_key: null | string;
              warnings: {
                  created_at: string;
                  message: string;
                  warning_code: "being_deleted";
              }[];
              workspace_id: string;
          };
      }>, "user_identity">, "user_identity">)
    • Returns ((params?: UserIdentitiesGetParams) => SeamHttpRequest<SetNonNullable<Required<{
          user_identity: {
              created_at: string;
              display_name: string;
              email_address: null | string;
              errors: {
                  created_at: string;
                  message: string;
              }[];
              full_name: null | string;
              phone_number: null | string;
              user_identity_id: string;
              user_identity_key: null | string;
              warnings: {
                  created_at: string;
                  message: string;
                  warning_code: "being_deleted";
              }[];
              workspace_id: string;
          };
      }>, "user_identity">, "user_identity">)

        • (params?): SeamHttpRequest<SetNonNullable<Required<{
              user_identity: {
                  created_at: string;
                  display_name: string;
                  email_address: null | string;
                  errors: {
                      created_at: string;
                      message: string;
                  }[];
                  full_name: null | string;
                  phone_number: null | string;
                  user_identity_id: string;
                  user_identity_key: null | string;
                  warnings: {
                      created_at: string;
                      message: string;
                      warning_code: "being_deleted";
                  }[];
                  workspace_id: string;
              };
          }>, "user_identity">, "user_identity">
        • Parameters

          Returns SeamHttpRequest<SetNonNullable<Required<{
              user_identity: {
                  created_at: string;
                  display_name: string;
                  email_address: null | string;
                  errors: {
                      created_at: string;
                      message: string;
                  }[];
                  full_name: null | string;
                  phone_number: null | string;
                  user_identity_id: string;
                  user_identity_key: null | string;
                  warnings: {
                      created_at: string;
                      message: string;
                      warning_code: "being_deleted";
                  }[];
                  workspace_id: string;
              };
          }>, "user_identity">, "user_identity">

    • get /user_identities/grant_access_to_device(): ((body?: {
          device_id: string;
          user_identity_id: string;
      }) => SeamHttpRequest<void, undefined>)
    • Returns ((body?: {
          device_id: string;
          user_identity_id: string;
      }) => SeamHttpRequest<void, undefined>)

        • (body?): SeamHttpRequest<void, undefined>
        • Parameters

          • Optionalbody: {
                device_id: string;
                user_identity_id: string;
            }
            • device_id: string

              ID of the managed device to which you want to grant access to the user identity.

            • user_identity_id: string

              ID of the user identity that you want to grant access to a device.

          Returns SeamHttpRequest<void, undefined>

    • get /user_identities/list(): ((params?: {
          credential_manager_acs_system_id?: string;
      }) => SeamHttpRequest<SetNonNullable<Required<{
          user_identities: {
              created_at: string;
              display_name: string;
              email_address: null | string;
              errors: {
                  created_at: string;
                  message: string;
              }[];
              full_name: null | string;
              phone_number: null | string;
              user_identity_id: string;
              user_identity_key: null | string;
              warnings: {
                  created_at: string;
                  message: string;
                  warning_code: "being_deleted";
              }[];
              workspace_id: string;
          }[];
      }>, "user_identities">, "user_identities">)
    • Returns ((params?: {
          credential_manager_acs_system_id?: string;
      }) => SeamHttpRequest<SetNonNullable<Required<{
          user_identities: {
              created_at: string;
              display_name: string;
              email_address: null | string;
              errors: {
                  created_at: string;
                  message: string;
              }[];
              full_name: null | string;
              phone_number: null | string;
              user_identity_id: string;
              user_identity_key: null | string;
              warnings: {
                  created_at: string;
                  message: string;
                  warning_code: "being_deleted";
              }[];
              workspace_id: string;
          }[];
      }>, "user_identities">, "user_identities">)

        • (params?): SeamHttpRequest<SetNonNullable<Required<{
              user_identities: {
                  created_at: string;
                  display_name: string;
                  email_address: null | string;
                  errors: {
                      created_at: string;
                      message: string;
                  }[];
                  full_name: null | string;
                  phone_number: null | string;
                  user_identity_id: string;
                  user_identity_key: null | string;
                  warnings: {
                      created_at: string;
                      message: string;
                      warning_code: "being_deleted";
                  }[];
                  workspace_id: string;
              }[];
          }>, "user_identities">, "user_identities">
        • Parameters

          • Optionalparams: {
                credential_manager_acs_system_id?: string;
            }
            • Optionalcredential_manager_acs_system_id?: string

              acs_system_id of the credential manager by which you want to filter the list of user identities.

          Returns SeamHttpRequest<SetNonNullable<Required<{
              user_identities: {
                  created_at: string;
                  display_name: string;
                  email_address: null | string;
                  errors: {
                      created_at: string;
                      message: string;
                  }[];
                  full_name: null | string;
                  phone_number: null | string;
                  user_identity_id: string;
                  user_identity_key: null | string;
                  warnings: {
                      created_at: string;
                      message: string;
                      warning_code: "being_deleted";
                  }[];
                  workspace_id: string;
              }[];
          }>, "user_identities">, "user_identities">

    • get /user_identities/list_accessible_devices(): ((params?: {
          user_identity_id: string;
      }) => SeamHttpRequest<SetNonNullable<Required<{
          accessible_devices: {
              can_hvac_cool?: boolean;
              can_hvac_heat?: boolean;
              can_hvac_heat_cool?: boolean;
              can_program_offline_access_codes?: boolean;
              can_program_online_access_codes?: boolean;
              can_remotely_lock?: boolean;
              can_remotely_unlock?: boolean;
              can_simulate_connection?: boolean;
              can_simulate_disconnection?: boolean;
              can_simulate_removal?: boolean;
              can_turn_off_hvac?: boolean;
              capabilities_supported: (
                  | "access_code"
                  | "lock"
                  | "phone"
                  | "thermostat"
                  | "noise_detection"
                  | "battery")[];
              connected_account_id: string;
              created_at: string;
              custom_metadata: Record<string, string | boolean>;
              device_id: string;
              device_type:
                  | "akuvox_lock"
                  | "august_lock"
                  | "brivo_access_point"
                  | "butterflymx_panel"
                  | "avigilon_alta_entry"
                  | "doorking_lock"
                  | "genie_door"
                  | "igloo_lock"
                  | "linear_lock"
                  | "lockly_lock"
                  | "kwikset_lock"
                  | "nuki_lock"
                  | "salto_lock"
                  | "schlage_lock"
                  | "seam_relay"
                  | "smartthings_lock"
                  | "wyze_lock"
                  | "yale_lock"
                  | "two_n_intercom"
                  | "controlbyweb_device"
                  | "ttlock_lock"
                  | "igloohome_lock"
                  | "hubitat_lock"
                  | "four_suites_door"
                  | "dormakaba_oracode_door"
                  | "tedee_lock"
                  | "akiles_lock"
                  | "noiseaware_activity_zone"
                  | "minut_sensor"
                  | "ecobee_thermostat"
                  | "nest_thermostat"
                  | "honeywell_resideo_thermostat"
                  | "tado_thermostat"
                  | "sensi_thermostat"
                  | "smartthings_thermostat"
                  | "ios_phone"
                  | "android_phone";
              display_name: string;
              errors: (
                  | {
                      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: "lockly_missing_wifi_bridge";
                      is_device_error: true;
                      message: string;
                  }
                  | {
                      created_at: string;
                      error_code: "invalid_credentials";
                      is_bridge_error?: (...) | (...) | (...);
                      is_connected_account_error?: (...) | (...) | (...);
                      message: string;
                  }
                  | {
                      created_at: string;
                      error_code: "bridge_disconnected";
                      is_bridge_error?: (...) | (...) | (...);
                      is_connected_account_error?: (...) | (...) | (...);
                      message: string;
                  })[];
              is_managed: true;
              location: null | {
                  location_name?: string;
                  timezone?: string;
              };
              nickname?: string;
              properties: {
                  accessory_keypad?: {
                      battery?: ...;
                      is_connected: ...;
                  };
                  appearance: {
                      name: string;
                  };
                  battery?: {
                      level: ...;
                      status: ...;
                  };
                  battery_level?: number;
                  currently_triggering_noise_threshold_ids?: (...)[];
                  has_direct_power?: boolean;
                  image_alt_text?: string;
                  image_url?: string;
                  manufacturer?: string;
                  model: {
                      accessory_keypad_supported?: (...) | (...) | (...);
                      can_connect_accessory_keypad?: (...) | (...) | (...);
                      display_name: string;
                      has_built_in_keypad?: (...) | (...) | (...);
                      manufacturer_display_name: string;
                      offline_access_codes_supported?: (...) | (...) | (...);
                      online_access_codes_supported?: (...) | (...) | (...);
                  };
                  name: string;
                  noise_level_decibels?: number;
                  offline_access_codes_enabled?: boolean;
                  online: boolean;
                  online_access_codes_enabled?: boolean;
                  serial_number?: string;
                  supports_accessory_keypad?: boolean;
                  supports_offline_access_codes?: boolean;
              } & {
                  assa_abloy_credential_service_metadata?: {
                      endpoints: ...;
                      has_active_endpoint: ...;
                  };
                  salto_space_credential_service_metadata?: {
                      has_active_phone: ...;
                  };
              } & {
                  akiles_metadata?: {
                      _member_group_id?: ...;
                      gadget_id: ...;
                      gadget_name: ...;
                      product_name: ...;
                  };
                  assa_abloy_vostio_metadata?: {
                      encoder_name: ...;
                  };
                  august_metadata?: {
                      has_keypad: ...;
                      house_id?: ...;
                      house_name: ...;
                      keypad_battery_level?: ...;
                      lock_id: ...;
                      lock_name: ...;
                      model?: ...;
                  };
                  avigilon_alta_metadata?: {
                      entry_name: ...;
                      entry_relays_total_count: ...;
                      org_name: ...;
                      site_id: ...;
                      site_name: ...;
                      zone_id: ...;
                      zone_name: ...;
                  };
                  brivo_metadata?: {
                      device_name: ...;
                  };
                  controlbyweb_metadata?: {
                      device_id: ...;
                      device_name: ...;
                      relay_name: ...;
                  };
                  dormakaba_oracode_metadata?: {
                      device_id?: ...;
                      door_id?: ...;
                      door_is_wireless: ...;
                      door_name: ...;
                      iana_timezone?: ...;
                      predefined_time_slots?: ...;
                      site_id: ...;
                      site_name: ...;
                  };
                  ecobee_metadata?: {
                      device_name: ...;
                      ecobee_device_id: ...;
                  };
                  four_suites_metadata?: {
                      device_id: ...;
                      device_name: ...;
                      reclose_delay_in_seconds: ...;
                  };
                  genie_metadata?: {
                      device_name: ...;
                      door_name: ...;
                  };
                  honeywell_resideo_metadata?: {
                      device_name: ...;
                      honeywell_resideo_device_id: ...;
                  };
                  hubitat_metadata?: {
                      device_id: ...;
                      device_label: ...;
                      device_name: ...;
                  };
                  igloo_metadata?: {
                      bridge_id: ...;
                      device_id: ...;
                      model?: ...;
                  };
                  igloohome_metadata?: {
                      bridge_id?: ...;
                      bridge_name?: ...;
                      device_id: ...;
                      device_name: ...;
                      keypad_id?: ...;
                  };
                  kwikset_metadata?: {
                      device_id: ...;
                      device_name: ...;
                      model_number: ...;
                  };
                  lockly_metadata?: {
                      device_id: ...;
                      device_name: ...;
                      model?: ...;
                  };
                  minut_metadata?: {
                      device_id: ...;
                      device_name: ...;
                      latest_sensor_values: ...;
                  };
                  nest_metadata?: {
                      device_custom_name: ...;
                      device_name: ...;
                      display_name?: ...;
                      nest_device_id: ...;
                  };
                  noiseaware_metadata?: {
                      device_id: ...;
                      device_model: ...;
                      device_name: ...;
                      noise_level_decibel: ...;
                      noise_level_nrs: ...;
                  };
                  nuki_metadata?: {
                      device_id: ...;
                      device_name: ...;
                      keypad_2_paired?: ...;
                      keypad_battery_critical?: ...;
                      keypad_paired?: ...;
                  };
                  salto_ks_metadata?: {
                      battery_level: ...;
                      customer_reference: ...;
                      lock_id: ...;
                      lock_type: ...;
                      locked_state: ...;
                      model?: ...;
                  };
                  salto_metadata?: {
                      battery_level: ...;
                      customer_reference: ...;
                      lock_id: ...;
                      lock_type: ...;
                      locked_state: ...;
                      model?: ...;
                  };
                  schlage_metadata?: {
                      device_id: ...;
                      device_name: ...;
                      model?: ...;
                  };
                  seam_bridge_metadata?: {
                      device_num: ...;
                      name: ...;
                      unlock_method?: ...;
                  };
                  sensi_metadata?: {
                      device_id: ...;
                      device_name: ...;
                      product_type: ...;
                  };
                  smartthings_metadata?: {
                      device_id: ...;
                      device_name: ...;
                      location_id?: ...;
                      model?: ...;
                  };
                  tado_metadata?: {
                      device_type: ...;
                      serial_no: ...;
                  };
                  tedee_metadata?: {
                      bridge_id: ...;
                      bridge_name: ...;
                      device_id: ...;
                      device_model: ...;
                      device_name: ...;
                      keypad_id?: ...;
                      serial_number: ...;
                  };
                  ttlock_metadata?: {
                      feature_value: ...;
                      features: ...;
                      has_gateway?: ...;
                      lock_alias: ...;
                      lock_id: ...;
                      wireless_keypads?: ...;
                  };
                  two_n_metadata?: {
                      device_id: ...;
                      device_name: ...;
                  };
                  visionline_metadata?: {
                      encoder_id: ...;
                  };
                  wyze_metadata?: {
                      device_id: ...;
                      device_info_model: ...;
                      device_name: ...;
                      keypad_uuid?: ...;
                      locker_status_hardlock?: ...;
                      product_model: ...;
                      product_name: ...;
                      product_type: ...;
                  };
              } & {
                  _experimental_supported_code_from_access_codes_lengths?: (...)[];
                  code_constraints?: (...)[];
                  door_open?: boolean;
                  has_native_entry_events?: boolean;
                  keypad_battery?: {
                      level: ...;
                  };
                  locked?: boolean;
                  max_active_codes_supported?: number;
                  supported_code_lengths?: (...)[];
                  supports_backup_access_code_pool?: boolean;
              } & {
                  active_thermostat_schedule?: null | {
                      climate_preset_key: ...;
                      created_at: ...;
                      device_id: ...;
                      ends_at: ...;
                      errors: ...;
                      is_override_allowed?: ...;
                      max_override_period_minutes?: ...;
                      name: ...;
                      starts_at: ...;
                      thermostat_schedule_id: ...;
                      workspace_id: ...;
                  };
                  available_climate_presets?: (...)[];
                  available_fan_mode_settings?: (...)[];
                  available_hvac_mode_settings?: (...)[];
                  current_climate_setting?: {
                      can_delete?: ...;
                      can_edit?: ...;
                      can_program?: ...;
                      climate_preset_key?: ...;
                      cooling_set_point_celsius?: ...;
                      cooling_set_point_fahrenheit?: ...;
                      display_name?: ...;
                      fan_mode_setting?: ...;
                      heating_set_point_celsius?: ...;
                      heating_set_point_fahrenheit?: ...;
                      hvac_mode_setting?: ...;
                      manual_override_allowed?: ...;
                      name?: ...;
                  };
                  default_climate_setting?: {
                      can_delete?: ...;
                      can_edit?: ...;
                      can_program?: ...;
                      climate_preset_key?: ...;
                      cooling_set_point_celsius?: ...;
                      cooling_set_point_fahrenheit?: ...;
                      display_name?: ...;
                      fan_mode_setting?: ...;
                      heating_set_point_celsius?: ...;
                      heating_set_point_fahrenheit?: ...;
                      hvac_mode_setting?: ...;
                      manual_override_allowed?: ...;
                      name?: ...;
                  };
                  fallback_climate_preset_key?: null | string;
                  fan_mode_setting?: "auto" | "on" | "circulate";
                  is_cooling?: boolean;
                  is_fan_running?: boolean;
                  is_heating?: boolean;
                  is_temporary_manual_override_active?: boolean;
                  max_cooling_set_point_celsius?: number;
                  max_cooling_set_point_fahrenheit?: number;
                  max_heating_set_point_celsius?: number;
                  max_heating_set_point_fahrenheit?: number;
                  min_cooling_set_point_celsius?: number;
                  min_cooling_set_point_fahrenheit?: number;
                  min_heating_cooling_delta_celsius?: number;
                  min_heating_cooling_delta_fahrenheit?: number;
                  min_heating_set_point_celsius?: number;
                  min_heating_set_point_fahrenheit?: number;
                  relative_humidity?: number;
                  temperature_celsius?: number;
                  temperature_fahrenheit?: number;
                  temperature_threshold?: {
                      lower_limit_celsius: ...;
                      lower_limit_fahrenheit: ...;
                      upper_limit_celsius: ...;
                      upper_limit_fahrenheit: ...;
                  };
                  thermostat_daily_programs?: (...)[];
                  thermostat_weekly_program?: null | {
                      created_at: ...;
                      friday_program_id: ...;
                      monday_program_id: ...;
                      saturday_program_id: ...;
                      sunday_program_id: ...;
                      thursday_program_id: ...;
                      tuesday_program_id: ...;
                      wednesday_program_id: ...;
                  };
              };
              warnings: (
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "partial_backup_access_code_pool";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "many_active_backup_codes";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "wyze_device_missing_gateway";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "functional_offline_device";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "third_party_integration_detected";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "nest_thermostat_in_manual_eco_mode";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "ttlock_lock_gateway_unlocking_not_enabled";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "ttlock_weak_gateway_signal";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "power_saving_mode";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "temperature_threshold_exceeded";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "device_communication_degraded";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "scheduled_maintenance_window";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "device_has_flaky_connection";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "salto_ks_office_mode";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "salto_ks_privacy_mode";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "salto_ks_subscription_limit_almost_reached";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "unknown_issue_with_phone";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "lockly_time_zone_not_configured";
                  })[];
              workspace_id: string;
          }[];
          devices: {
              can_hvac_cool?: boolean;
              can_hvac_heat?: boolean;
              can_hvac_heat_cool?: boolean;
              can_program_offline_access_codes?: boolean;
              can_program_online_access_codes?: boolean;
              can_remotely_lock?: boolean;
              can_remotely_unlock?: boolean;
              can_simulate_connection?: boolean;
              can_simulate_disconnection?: boolean;
              can_simulate_removal?: boolean;
              can_turn_off_hvac?: boolean;
              capabilities_supported: (
                  | "access_code"
                  | "lock"
                  | "phone"
                  | "thermostat"
                  | "noise_detection"
                  | "battery")[];
              connected_account_id: string;
              created_at: string;
              custom_metadata: Record<string, string | boolean>;
              device_id: string;
              device_type:
                  | "akuvox_lock"
                  | "august_lock"
                  | "brivo_access_point"
                  | "butterflymx_panel"
                  | "avigilon_alta_entry"
                  | "doorking_lock"
                  | "genie_door"
                  | "igloo_lock"
                  | "linear_lock"
                  | "lockly_lock"
                  | "kwikset_lock"
                  | "nuki_lock"
                  | "salto_lock"
                  | "schlage_lock"
                  | "seam_relay"
                  | "smartthings_lock"
                  | "wyze_lock"
                  | "yale_lock"
                  | "two_n_intercom"
                  | "controlbyweb_device"
                  | "ttlock_lock"
                  | "igloohome_lock"
                  | "hubitat_lock"
                  | "four_suites_door"
                  | "dormakaba_oracode_door"
                  | "tedee_lock"
                  | "akiles_lock"
                  | "noiseaware_activity_zone"
                  | "minut_sensor"
                  | "ecobee_thermostat"
                  | "nest_thermostat"
                  | "honeywell_resideo_thermostat"
                  | "tado_thermostat"
                  | "sensi_thermostat"
                  | "smartthings_thermostat"
                  | "ios_phone"
                  | "android_phone";
              display_name: string;
              errors: (
                  | {
                      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: "lockly_missing_wifi_bridge";
                      is_device_error: true;
                      message: string;
                  }
                  | {
                      created_at: string;
                      error_code: "invalid_credentials";
                      is_bridge_error?: (...) | (...) | (...);
                      is_connected_account_error?: (...) | (...) | (...);
                      message: string;
                  }
                  | {
                      created_at: string;
                      error_code: "bridge_disconnected";
                      is_bridge_error?: (...) | (...) | (...);
                      is_connected_account_error?: (...) | (...) | (...);
                      message: string;
                  })[];
              is_managed: true;
              location: null | {
                  location_name?: string;
                  timezone?: string;
              };
              nickname?: string;
              properties: {
                  accessory_keypad?: {
                      battery?: ...;
                      is_connected: ...;
                  };
                  appearance: {
                      name: string;
                  };
                  battery?: {
                      level: ...;
                      status: ...;
                  };
                  battery_level?: number;
                  currently_triggering_noise_threshold_ids?: (...)[];
                  has_direct_power?: boolean;
                  image_alt_text?: string;
                  image_url?: string;
                  manufacturer?: string;
                  model: {
                      accessory_keypad_supported?: (...) | (...) | (...);
                      can_connect_accessory_keypad?: (...) | (...) | (...);
                      display_name: string;
                      has_built_in_keypad?: (...) | (...) | (...);
                      manufacturer_display_name: string;
                      offline_access_codes_supported?: (...) | (...) | (...);
                      online_access_codes_supported?: (...) | (...) | (...);
                  };
                  name: string;
                  noise_level_decibels?: number;
                  offline_access_codes_enabled?: boolean;
                  online: boolean;
                  online_access_codes_enabled?: boolean;
                  serial_number?: string;
                  supports_accessory_keypad?: boolean;
                  supports_offline_access_codes?: boolean;
              } & {
                  assa_abloy_credential_service_metadata?: {
                      endpoints: ...;
                      has_active_endpoint: ...;
                  };
                  salto_space_credential_service_metadata?: {
                      has_active_phone: ...;
                  };
              } & {
                  akiles_metadata?: {
                      _member_group_id?: ...;
                      gadget_id: ...;
                      gadget_name: ...;
                      product_name: ...;
                  };
                  assa_abloy_vostio_metadata?: {
                      encoder_name: ...;
                  };
                  august_metadata?: {
                      has_keypad: ...;
                      house_id?: ...;
                      house_name: ...;
                      keypad_battery_level?: ...;
                      lock_id: ...;
                      lock_name: ...;
                      model?: ...;
                  };
                  avigilon_alta_metadata?: {
                      entry_name: ...;
                      entry_relays_total_count: ...;
                      org_name: ...;
                      site_id: ...;
                      site_name: ...;
                      zone_id: ...;
                      zone_name: ...;
                  };
                  brivo_metadata?: {
                      device_name: ...;
                  };
                  controlbyweb_metadata?: {
                      device_id: ...;
                      device_name: ...;
                      relay_name: ...;
                  };
                  dormakaba_oracode_metadata?: {
                      device_id?: ...;
                      door_id?: ...;
                      door_is_wireless: ...;
                      door_name: ...;
                      iana_timezone?: ...;
                      predefined_time_slots?: ...;
                      site_id: ...;
                      site_name: ...;
                  };
                  ecobee_metadata?: {
                      device_name: ...;
                      ecobee_device_id: ...;
                  };
                  four_suites_metadata?: {
                      device_id: ...;
                      device_name: ...;
                      reclose_delay_in_seconds: ...;
                  };
                  genie_metadata?: {
                      device_name: ...;
                      door_name: ...;
                  };
                  honeywell_resideo_metadata?: {
                      device_name: ...;
                      honeywell_resideo_device_id: ...;
                  };
                  hubitat_metadata?: {
                      device_id: ...;
                      device_label: ...;
                      device_name: ...;
                  };
                  igloo_metadata?: {
                      bridge_id: ...;
                      device_id: ...;
                      model?: ...;
                  };
                  igloohome_metadata?: {
                      bridge_id?: ...;
                      bridge_name?: ...;
                      device_id: ...;
                      device_name: ...;
                      keypad_id?: ...;
                  };
                  kwikset_metadata?: {
                      device_id: ...;
                      device_name: ...;
                      model_number: ...;
                  };
                  lockly_metadata?: {
                      device_id: ...;
                      device_name: ...;
                      model?: ...;
                  };
                  minut_metadata?: {
                      device_id: ...;
                      device_name: ...;
                      latest_sensor_values: ...;
                  };
                  nest_metadata?: {
                      device_custom_name: ...;
                      device_name: ...;
                      display_name?: ...;
                      nest_device_id: ...;
                  };
                  noiseaware_metadata?: {
                      device_id: ...;
                      device_model: ...;
                      device_name: ...;
                      noise_level_decibel: ...;
                      noise_level_nrs: ...;
                  };
                  nuki_metadata?: {
                      device_id: ...;
                      device_name: ...;
                      keypad_2_paired?: ...;
                      keypad_battery_critical?: ...;
                      keypad_paired?: ...;
                  };
                  salto_ks_metadata?: {
                      battery_level: ...;
                      customer_reference: ...;
                      lock_id: ...;
                      lock_type: ...;
                      locked_state: ...;
                      model?: ...;
                  };
                  salto_metadata?: {
                      battery_level: ...;
                      customer_reference: ...;
                      lock_id: ...;
                      lock_type: ...;
                      locked_state: ...;
                      model?: ...;
                  };
                  schlage_metadata?: {
                      device_id: ...;
                      device_name: ...;
                      model?: ...;
                  };
                  seam_bridge_metadata?: {
                      device_num: ...;
                      name: ...;
                      unlock_method?: ...;
                  };
                  sensi_metadata?: {
                      device_id: ...;
                      device_name: ...;
                      product_type: ...;
                  };
                  smartthings_metadata?: {
                      device_id: ...;
                      device_name: ...;
                      location_id?: ...;
                      model?: ...;
                  };
                  tado_metadata?: {
                      device_type: ...;
                      serial_no: ...;
                  };
                  tedee_metadata?: {
                      bridge_id: ...;
                      bridge_name: ...;
                      device_id: ...;
                      device_model: ...;
                      device_name: ...;
                      keypad_id?: ...;
                      serial_number: ...;
                  };
                  ttlock_metadata?: {
                      feature_value: ...;
                      features: ...;
                      has_gateway?: ...;
                      lock_alias: ...;
                      lock_id: ...;
                      wireless_keypads?: ...;
                  };
                  two_n_metadata?: {
                      device_id: ...;
                      device_name: ...;
                  };
                  visionline_metadata?: {
                      encoder_id: ...;
                  };
                  wyze_metadata?: {
                      device_id: ...;
                      device_info_model: ...;
                      device_name: ...;
                      keypad_uuid?: ...;
                      locker_status_hardlock?: ...;
                      product_model: ...;
                      product_name: ...;
                      product_type: ...;
                  };
              } & {
                  _experimental_supported_code_from_access_codes_lengths?: (...)[];
                  code_constraints?: (...)[];
                  door_open?: boolean;
                  has_native_entry_events?: boolean;
                  keypad_battery?: {
                      level: ...;
                  };
                  locked?: boolean;
                  max_active_codes_supported?: number;
                  supported_code_lengths?: (...)[];
                  supports_backup_access_code_pool?: boolean;
              } & {
                  active_thermostat_schedule?: null | {
                      climate_preset_key: ...;
                      created_at: ...;
                      device_id: ...;
                      ends_at: ...;
                      errors: ...;
                      is_override_allowed?: ...;
                      max_override_period_minutes?: ...;
                      name: ...;
                      starts_at: ...;
                      thermostat_schedule_id: ...;
                      workspace_id: ...;
                  };
                  available_climate_presets?: (...)[];
                  available_fan_mode_settings?: (...)[];
                  available_hvac_mode_settings?: (...)[];
                  current_climate_setting?: {
                      can_delete?: ...;
                      can_edit?: ...;
                      can_program?: ...;
                      climate_preset_key?: ...;
                      cooling_set_point_celsius?: ...;
                      cooling_set_point_fahrenheit?: ...;
                      display_name?: ...;
                      fan_mode_setting?: ...;
                      heating_set_point_celsius?: ...;
                      heating_set_point_fahrenheit?: ...;
                      hvac_mode_setting?: ...;
                      manual_override_allowed?: ...;
                      name?: ...;
                  };
                  default_climate_setting?: {
                      can_delete?: ...;
                      can_edit?: ...;
                      can_program?: ...;
                      climate_preset_key?: ...;
                      cooling_set_point_celsius?: ...;
                      cooling_set_point_fahrenheit?: ...;
                      display_name?: ...;
                      fan_mode_setting?: ...;
                      heating_set_point_celsius?: ...;
                      heating_set_point_fahrenheit?: ...;
                      hvac_mode_setting?: ...;
                      manual_override_allowed?: ...;
                      name?: ...;
                  };
                  fallback_climate_preset_key?: null | string;
                  fan_mode_setting?: "auto" | "on" | "circulate";
                  is_cooling?: boolean;
                  is_fan_running?: boolean;
                  is_heating?: boolean;
                  is_temporary_manual_override_active?: boolean;
                  max_cooling_set_point_celsius?: number;
                  max_cooling_set_point_fahrenheit?: number;
                  max_heating_set_point_celsius?: number;
                  max_heating_set_point_fahrenheit?: number;
                  min_cooling_set_point_celsius?: number;
                  min_cooling_set_point_fahrenheit?: number;
                  min_heating_cooling_delta_celsius?: number;
                  min_heating_cooling_delta_fahrenheit?: number;
                  min_heating_set_point_celsius?: number;
                  min_heating_set_point_fahrenheit?: number;
                  relative_humidity?: number;
                  temperature_celsius?: number;
                  temperature_fahrenheit?: number;
                  temperature_threshold?: {
                      lower_limit_celsius: ...;
                      lower_limit_fahrenheit: ...;
                      upper_limit_celsius: ...;
                      upper_limit_fahrenheit: ...;
                  };
                  thermostat_daily_programs?: (...)[];
                  thermostat_weekly_program?: null | {
                      created_at: ...;
                      friday_program_id: ...;
                      monday_program_id: ...;
                      saturday_program_id: ...;
                      sunday_program_id: ...;
                      thursday_program_id: ...;
                      tuesday_program_id: ...;
                      wednesday_program_id: ...;
                  };
              };
              warnings: (
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "partial_backup_access_code_pool";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "many_active_backup_codes";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "wyze_device_missing_gateway";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "functional_offline_device";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "third_party_integration_detected";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "nest_thermostat_in_manual_eco_mode";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "ttlock_lock_gateway_unlocking_not_enabled";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "ttlock_weak_gateway_signal";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "power_saving_mode";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "temperature_threshold_exceeded";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "device_communication_degraded";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "scheduled_maintenance_window";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "device_has_flaky_connection";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "salto_ks_office_mode";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "salto_ks_privacy_mode";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "salto_ks_subscription_limit_almost_reached";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "unknown_issue_with_phone";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "lockly_time_zone_not_configured";
                  })[];
              workspace_id: string;
          }[];
      }>, "devices" | "accessible_devices">, "devices">)
    • Returns ((params?: {
          user_identity_id: string;
      }) => SeamHttpRequest<SetNonNullable<Required<{
          accessible_devices: {
              can_hvac_cool?: boolean;
              can_hvac_heat?: boolean;
              can_hvac_heat_cool?: boolean;
              can_program_offline_access_codes?: boolean;
              can_program_online_access_codes?: boolean;
              can_remotely_lock?: boolean;
              can_remotely_unlock?: boolean;
              can_simulate_connection?: boolean;
              can_simulate_disconnection?: boolean;
              can_simulate_removal?: boolean;
              can_turn_off_hvac?: boolean;
              capabilities_supported: (
                  | "access_code"
                  | "lock"
                  | "phone"
                  | "thermostat"
                  | "noise_detection"
                  | "battery")[];
              connected_account_id: string;
              created_at: string;
              custom_metadata: Record<string, string | boolean>;
              device_id: string;
              device_type:
                  | "akuvox_lock"
                  | "august_lock"
                  | "brivo_access_point"
                  | "butterflymx_panel"
                  | "avigilon_alta_entry"
                  | "doorking_lock"
                  | "genie_door"
                  | "igloo_lock"
                  | "linear_lock"
                  | "lockly_lock"
                  | "kwikset_lock"
                  | "nuki_lock"
                  | "salto_lock"
                  | "schlage_lock"
                  | "seam_relay"
                  | "smartthings_lock"
                  | "wyze_lock"
                  | "yale_lock"
                  | "two_n_intercom"
                  | "controlbyweb_device"
                  | "ttlock_lock"
                  | "igloohome_lock"
                  | "hubitat_lock"
                  | "four_suites_door"
                  | "dormakaba_oracode_door"
                  | "tedee_lock"
                  | "akiles_lock"
                  | "noiseaware_activity_zone"
                  | "minut_sensor"
                  | "ecobee_thermostat"
                  | "nest_thermostat"
                  | "honeywell_resideo_thermostat"
                  | "tado_thermostat"
                  | "sensi_thermostat"
                  | "smartthings_thermostat"
                  | "ios_phone"
                  | "android_phone";
              display_name: string;
              errors: (
                  | {
                      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: "lockly_missing_wifi_bridge";
                      is_device_error: true;
                      message: string;
                  }
                  | {
                      created_at: string;
                      error_code: "invalid_credentials";
                      is_bridge_error?: (...) | (...) | (...);
                      is_connected_account_error?: (...) | (...) | (...);
                      message: string;
                  }
                  | {
                      created_at: string;
                      error_code: "bridge_disconnected";
                      is_bridge_error?: (...) | (...) | (...);
                      is_connected_account_error?: (...) | (...) | (...);
                      message: string;
                  })[];
              is_managed: true;
              location: null | {
                  location_name?: string;
                  timezone?: string;
              };
              nickname?: string;
              properties: {
                  accessory_keypad?: {
                      battery?: ...;
                      is_connected: ...;
                  };
                  appearance: {
                      name: string;
                  };
                  battery?: {
                      level: ...;
                      status: ...;
                  };
                  battery_level?: number;
                  currently_triggering_noise_threshold_ids?: (...)[];
                  has_direct_power?: boolean;
                  image_alt_text?: string;
                  image_url?: string;
                  manufacturer?: string;
                  model: {
                      accessory_keypad_supported?: (...) | (...) | (...);
                      can_connect_accessory_keypad?: (...) | (...) | (...);
                      display_name: string;
                      has_built_in_keypad?: (...) | (...) | (...);
                      manufacturer_display_name: string;
                      offline_access_codes_supported?: (...) | (...) | (...);
                      online_access_codes_supported?: (...) | (...) | (...);
                  };
                  name: string;
                  noise_level_decibels?: number;
                  offline_access_codes_enabled?: boolean;
                  online: boolean;
                  online_access_codes_enabled?: boolean;
                  serial_number?: string;
                  supports_accessory_keypad?: boolean;
                  supports_offline_access_codes?: boolean;
              } & {
                  assa_abloy_credential_service_metadata?: {
                      endpoints: ...;
                      has_active_endpoint: ...;
                  };
                  salto_space_credential_service_metadata?: {
                      has_active_phone: ...;
                  };
              } & {
                  akiles_metadata?: {
                      _member_group_id?: ...;
                      gadget_id: ...;
                      gadget_name: ...;
                      product_name: ...;
                  };
                  assa_abloy_vostio_metadata?: {
                      encoder_name: ...;
                  };
                  august_metadata?: {
                      has_keypad: ...;
                      house_id?: ...;
                      house_name: ...;
                      keypad_battery_level?: ...;
                      lock_id: ...;
                      lock_name: ...;
                      model?: ...;
                  };
                  avigilon_alta_metadata?: {
                      entry_name: ...;
                      entry_relays_total_count: ...;
                      org_name: ...;
                      site_id: ...;
                      site_name: ...;
                      zone_id: ...;
                      zone_name: ...;
                  };
                  brivo_metadata?: {
                      device_name: ...;
                  };
                  controlbyweb_metadata?: {
                      device_id: ...;
                      device_name: ...;
                      relay_name: ...;
                  };
                  dormakaba_oracode_metadata?: {
                      device_id?: ...;
                      door_id?: ...;
                      door_is_wireless: ...;
                      door_name: ...;
                      iana_timezone?: ...;
                      predefined_time_slots?: ...;
                      site_id: ...;
                      site_name: ...;
                  };
                  ecobee_metadata?: {
                      device_name: ...;
                      ecobee_device_id: ...;
                  };
                  four_suites_metadata?: {
                      device_id: ...;
                      device_name: ...;
                      reclose_delay_in_seconds: ...;
                  };
                  genie_metadata?: {
                      device_name: ...;
                      door_name: ...;
                  };
                  honeywell_resideo_metadata?: {
                      device_name: ...;
                      honeywell_resideo_device_id: ...;
                  };
                  hubitat_metadata?: {
                      device_id: ...;
                      device_label: ...;
                      device_name: ...;
                  };
                  igloo_metadata?: {
                      bridge_id: ...;
                      device_id: ...;
                      model?: ...;
                  };
                  igloohome_metadata?: {
                      bridge_id?: ...;
                      bridge_name?: ...;
                      device_id: ...;
                      device_name: ...;
                      keypad_id?: ...;
                  };
                  kwikset_metadata?: {
                      device_id: ...;
                      device_name: ...;
                      model_number: ...;
                  };
                  lockly_metadata?: {
                      device_id: ...;
                      device_name: ...;
                      model?: ...;
                  };
                  minut_metadata?: {
                      device_id: ...;
                      device_name: ...;
                      latest_sensor_values: ...;
                  };
                  nest_metadata?: {
                      device_custom_name: ...;
                      device_name: ...;
                      display_name?: ...;
                      nest_device_id: ...;
                  };
                  noiseaware_metadata?: {
                      device_id: ...;
                      device_model: ...;
                      device_name: ...;
                      noise_level_decibel: ...;
                      noise_level_nrs: ...;
                  };
                  nuki_metadata?: {
                      device_id: ...;
                      device_name: ...;
                      keypad_2_paired?: ...;
                      keypad_battery_critical?: ...;
                      keypad_paired?: ...;
                  };
                  salto_ks_metadata?: {
                      battery_level: ...;
                      customer_reference: ...;
                      lock_id: ...;
                      lock_type: ...;
                      locked_state: ...;
                      model?: ...;
                  };
                  salto_metadata?: {
                      battery_level: ...;
                      customer_reference: ...;
                      lock_id: ...;
                      lock_type: ...;
                      locked_state: ...;
                      model?: ...;
                  };
                  schlage_metadata?: {
                      device_id: ...;
                      device_name: ...;
                      model?: ...;
                  };
                  seam_bridge_metadata?: {
                      device_num: ...;
                      name: ...;
                      unlock_method?: ...;
                  };
                  sensi_metadata?: {
                      device_id: ...;
                      device_name: ...;
                      product_type: ...;
                  };
                  smartthings_metadata?: {
                      device_id: ...;
                      device_name: ...;
                      location_id?: ...;
                      model?: ...;
                  };
                  tado_metadata?: {
                      device_type: ...;
                      serial_no: ...;
                  };
                  tedee_metadata?: {
                      bridge_id: ...;
                      bridge_name: ...;
                      device_id: ...;
                      device_model: ...;
                      device_name: ...;
                      keypad_id?: ...;
                      serial_number: ...;
                  };
                  ttlock_metadata?: {
                      feature_value: ...;
                      features: ...;
                      has_gateway?: ...;
                      lock_alias: ...;
                      lock_id: ...;
                      wireless_keypads?: ...;
                  };
                  two_n_metadata?: {
                      device_id: ...;
                      device_name: ...;
                  };
                  visionline_metadata?: {
                      encoder_id: ...;
                  };
                  wyze_metadata?: {
                      device_id: ...;
                      device_info_model: ...;
                      device_name: ...;
                      keypad_uuid?: ...;
                      locker_status_hardlock?: ...;
                      product_model: ...;
                      product_name: ...;
                      product_type: ...;
                  };
              } & {
                  _experimental_supported_code_from_access_codes_lengths?: (...)[];
                  code_constraints?: (...)[];
                  door_open?: boolean;
                  has_native_entry_events?: boolean;
                  keypad_battery?: {
                      level: ...;
                  };
                  locked?: boolean;
                  max_active_codes_supported?: number;
                  supported_code_lengths?: (...)[];
                  supports_backup_access_code_pool?: boolean;
              } & {
                  active_thermostat_schedule?: null | {
                      climate_preset_key: ...;
                      created_at: ...;
                      device_id: ...;
                      ends_at: ...;
                      errors: ...;
                      is_override_allowed?: ...;
                      max_override_period_minutes?: ...;
                      name: ...;
                      starts_at: ...;
                      thermostat_schedule_id: ...;
                      workspace_id: ...;
                  };
                  available_climate_presets?: (...)[];
                  available_fan_mode_settings?: (...)[];
                  available_hvac_mode_settings?: (...)[];
                  current_climate_setting?: {
                      can_delete?: ...;
                      can_edit?: ...;
                      can_program?: ...;
                      climate_preset_key?: ...;
                      cooling_set_point_celsius?: ...;
                      cooling_set_point_fahrenheit?: ...;
                      display_name?: ...;
                      fan_mode_setting?: ...;
                      heating_set_point_celsius?: ...;
                      heating_set_point_fahrenheit?: ...;
                      hvac_mode_setting?: ...;
                      manual_override_allowed?: ...;
                      name?: ...;
                  };
                  default_climate_setting?: {
                      can_delete?: ...;
                      can_edit?: ...;
                      can_program?: ...;
                      climate_preset_key?: ...;
                      cooling_set_point_celsius?: ...;
                      cooling_set_point_fahrenheit?: ...;
                      display_name?: ...;
                      fan_mode_setting?: ...;
                      heating_set_point_celsius?: ...;
                      heating_set_point_fahrenheit?: ...;
                      hvac_mode_setting?: ...;
                      manual_override_allowed?: ...;
                      name?: ...;
                  };
                  fallback_climate_preset_key?: null | string;
                  fan_mode_setting?: "auto" | "on" | "circulate";
                  is_cooling?: boolean;
                  is_fan_running?: boolean;
                  is_heating?: boolean;
                  is_temporary_manual_override_active?: boolean;
                  max_cooling_set_point_celsius?: number;
                  max_cooling_set_point_fahrenheit?: number;
                  max_heating_set_point_celsius?: number;
                  max_heating_set_point_fahrenheit?: number;
                  min_cooling_set_point_celsius?: number;
                  min_cooling_set_point_fahrenheit?: number;
                  min_heating_cooling_delta_celsius?: number;
                  min_heating_cooling_delta_fahrenheit?: number;
                  min_heating_set_point_celsius?: number;
                  min_heating_set_point_fahrenheit?: number;
                  relative_humidity?: number;
                  temperature_celsius?: number;
                  temperature_fahrenheit?: number;
                  temperature_threshold?: {
                      lower_limit_celsius: ...;
                      lower_limit_fahrenheit: ...;
                      upper_limit_celsius: ...;
                      upper_limit_fahrenheit: ...;
                  };
                  thermostat_daily_programs?: (...)[];
                  thermostat_weekly_program?: null | {
                      created_at: ...;
                      friday_program_id: ...;
                      monday_program_id: ...;
                      saturday_program_id: ...;
                      sunday_program_id: ...;
                      thursday_program_id: ...;
                      tuesday_program_id: ...;
                      wednesday_program_id: ...;
                  };
              };
              warnings: (
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "partial_backup_access_code_pool";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "many_active_backup_codes";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "wyze_device_missing_gateway";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "functional_offline_device";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "third_party_integration_detected";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "nest_thermostat_in_manual_eco_mode";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "ttlock_lock_gateway_unlocking_not_enabled";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "ttlock_weak_gateway_signal";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "power_saving_mode";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "temperature_threshold_exceeded";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "device_communication_degraded";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "scheduled_maintenance_window";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "device_has_flaky_connection";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "salto_ks_office_mode";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "salto_ks_privacy_mode";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "salto_ks_subscription_limit_almost_reached";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "unknown_issue_with_phone";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "lockly_time_zone_not_configured";
                  })[];
              workspace_id: string;
          }[];
          devices: {
              can_hvac_cool?: boolean;
              can_hvac_heat?: boolean;
              can_hvac_heat_cool?: boolean;
              can_program_offline_access_codes?: boolean;
              can_program_online_access_codes?: boolean;
              can_remotely_lock?: boolean;
              can_remotely_unlock?: boolean;
              can_simulate_connection?: boolean;
              can_simulate_disconnection?: boolean;
              can_simulate_removal?: boolean;
              can_turn_off_hvac?: boolean;
              capabilities_supported: (
                  | "access_code"
                  | "lock"
                  | "phone"
                  | "thermostat"
                  | "noise_detection"
                  | "battery")[];
              connected_account_id: string;
              created_at: string;
              custom_metadata: Record<string, string | boolean>;
              device_id: string;
              device_type:
                  | "akuvox_lock"
                  | "august_lock"
                  | "brivo_access_point"
                  | "butterflymx_panel"
                  | "avigilon_alta_entry"
                  | "doorking_lock"
                  | "genie_door"
                  | "igloo_lock"
                  | "linear_lock"
                  | "lockly_lock"
                  | "kwikset_lock"
                  | "nuki_lock"
                  | "salto_lock"
                  | "schlage_lock"
                  | "seam_relay"
                  | "smartthings_lock"
                  | "wyze_lock"
                  | "yale_lock"
                  | "two_n_intercom"
                  | "controlbyweb_device"
                  | "ttlock_lock"
                  | "igloohome_lock"
                  | "hubitat_lock"
                  | "four_suites_door"
                  | "dormakaba_oracode_door"
                  | "tedee_lock"
                  | "akiles_lock"
                  | "noiseaware_activity_zone"
                  | "minut_sensor"
                  | "ecobee_thermostat"
                  | "nest_thermostat"
                  | "honeywell_resideo_thermostat"
                  | "tado_thermostat"
                  | "sensi_thermostat"
                  | "smartthings_thermostat"
                  | "ios_phone"
                  | "android_phone";
              display_name: string;
              errors: (
                  | {
                      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: "lockly_missing_wifi_bridge";
                      is_device_error: true;
                      message: string;
                  }
                  | {
                      created_at: string;
                      error_code: "invalid_credentials";
                      is_bridge_error?: (...) | (...) | (...);
                      is_connected_account_error?: (...) | (...) | (...);
                      message: string;
                  }
                  | {
                      created_at: string;
                      error_code: "bridge_disconnected";
                      is_bridge_error?: (...) | (...) | (...);
                      is_connected_account_error?: (...) | (...) | (...);
                      message: string;
                  })[];
              is_managed: true;
              location: null | {
                  location_name?: string;
                  timezone?: string;
              };
              nickname?: string;
              properties: {
                  accessory_keypad?: {
                      battery?: ...;
                      is_connected: ...;
                  };
                  appearance: {
                      name: string;
                  };
                  battery?: {
                      level: ...;
                      status: ...;
                  };
                  battery_level?: number;
                  currently_triggering_noise_threshold_ids?: (...)[];
                  has_direct_power?: boolean;
                  image_alt_text?: string;
                  image_url?: string;
                  manufacturer?: string;
                  model: {
                      accessory_keypad_supported?: (...) | (...) | (...);
                      can_connect_accessory_keypad?: (...) | (...) | (...);
                      display_name: string;
                      has_built_in_keypad?: (...) | (...) | (...);
                      manufacturer_display_name: string;
                      offline_access_codes_supported?: (...) | (...) | (...);
                      online_access_codes_supported?: (...) | (...) | (...);
                  };
                  name: string;
                  noise_level_decibels?: number;
                  offline_access_codes_enabled?: boolean;
                  online: boolean;
                  online_access_codes_enabled?: boolean;
                  serial_number?: string;
                  supports_accessory_keypad?: boolean;
                  supports_offline_access_codes?: boolean;
              } & {
                  assa_abloy_credential_service_metadata?: {
                      endpoints: ...;
                      has_active_endpoint: ...;
                  };
                  salto_space_credential_service_metadata?: {
                      has_active_phone: ...;
                  };
              } & {
                  akiles_metadata?: {
                      _member_group_id?: ...;
                      gadget_id: ...;
                      gadget_name: ...;
                      product_name: ...;
                  };
                  assa_abloy_vostio_metadata?: {
                      encoder_name: ...;
                  };
                  august_metadata?: {
                      has_keypad: ...;
                      house_id?: ...;
                      house_name: ...;
                      keypad_battery_level?: ...;
                      lock_id: ...;
                      lock_name: ...;
                      model?: ...;
                  };
                  avigilon_alta_metadata?: {
                      entry_name: ...;
                      entry_relays_total_count: ...;
                      org_name: ...;
                      site_id: ...;
                      site_name: ...;
                      zone_id: ...;
                      zone_name: ...;
                  };
                  brivo_metadata?: {
                      device_name: ...;
                  };
                  controlbyweb_metadata?: {
                      device_id: ...;
                      device_name: ...;
                      relay_name: ...;
                  };
                  dormakaba_oracode_metadata?: {
                      device_id?: ...;
                      door_id?: ...;
                      door_is_wireless: ...;
                      door_name: ...;
                      iana_timezone?: ...;
                      predefined_time_slots?: ...;
                      site_id: ...;
                      site_name: ...;
                  };
                  ecobee_metadata?: {
                      device_name: ...;
                      ecobee_device_id: ...;
                  };
                  four_suites_metadata?: {
                      device_id: ...;
                      device_name: ...;
                      reclose_delay_in_seconds: ...;
                  };
                  genie_metadata?: {
                      device_name: ...;
                      door_name: ...;
                  };
                  honeywell_resideo_metadata?: {
                      device_name: ...;
                      honeywell_resideo_device_id: ...;
                  };
                  hubitat_metadata?: {
                      device_id: ...;
                      device_label: ...;
                      device_name: ...;
                  };
                  igloo_metadata?: {
                      bridge_id: ...;
                      device_id: ...;
                      model?: ...;
                  };
                  igloohome_metadata?: {
                      bridge_id?: ...;
                      bridge_name?: ...;
                      device_id: ...;
                      device_name: ...;
                      keypad_id?: ...;
                  };
                  kwikset_metadata?: {
                      device_id: ...;
                      device_name: ...;
                      model_number: ...;
                  };
                  lockly_metadata?: {
                      device_id: ...;
                      device_name: ...;
                      model?: ...;
                  };
                  minut_metadata?: {
                      device_id: ...;
                      device_name: ...;
                      latest_sensor_values: ...;
                  };
                  nest_metadata?: {
                      device_custom_name: ...;
                      device_name: ...;
                      display_name?: ...;
                      nest_device_id: ...;
                  };
                  noiseaware_metadata?: {
                      device_id: ...;
                      device_model: ...;
                      device_name: ...;
                      noise_level_decibel: ...;
                      noise_level_nrs: ...;
                  };
                  nuki_metadata?: {
                      device_id: ...;
                      device_name: ...;
                      keypad_2_paired?: ...;
                      keypad_battery_critical?: ...;
                      keypad_paired?: ...;
                  };
                  salto_ks_metadata?: {
                      battery_level: ...;
                      customer_reference: ...;
                      lock_id: ...;
                      lock_type: ...;
                      locked_state: ...;
                      model?: ...;
                  };
                  salto_metadata?: {
                      battery_level: ...;
                      customer_reference: ...;
                      lock_id: ...;
                      lock_type: ...;
                      locked_state: ...;
                      model?: ...;
                  };
                  schlage_metadata?: {
                      device_id: ...;
                      device_name: ...;
                      model?: ...;
                  };
                  seam_bridge_metadata?: {
                      device_num: ...;
                      name: ...;
                      unlock_method?: ...;
                  };
                  sensi_metadata?: {
                      device_id: ...;
                      device_name: ...;
                      product_type: ...;
                  };
                  smartthings_metadata?: {
                      device_id: ...;
                      device_name: ...;
                      location_id?: ...;
                      model?: ...;
                  };
                  tado_metadata?: {
                      device_type: ...;
                      serial_no: ...;
                  };
                  tedee_metadata?: {
                      bridge_id: ...;
                      bridge_name: ...;
                      device_id: ...;
                      device_model: ...;
                      device_name: ...;
                      keypad_id?: ...;
                      serial_number: ...;
                  };
                  ttlock_metadata?: {
                      feature_value: ...;
                      features: ...;
                      has_gateway?: ...;
                      lock_alias: ...;
                      lock_id: ...;
                      wireless_keypads?: ...;
                  };
                  two_n_metadata?: {
                      device_id: ...;
                      device_name: ...;
                  };
                  visionline_metadata?: {
                      encoder_id: ...;
                  };
                  wyze_metadata?: {
                      device_id: ...;
                      device_info_model: ...;
                      device_name: ...;
                      keypad_uuid?: ...;
                      locker_status_hardlock?: ...;
                      product_model: ...;
                      product_name: ...;
                      product_type: ...;
                  };
              } & {
                  _experimental_supported_code_from_access_codes_lengths?: (...)[];
                  code_constraints?: (...)[];
                  door_open?: boolean;
                  has_native_entry_events?: boolean;
                  keypad_battery?: {
                      level: ...;
                  };
                  locked?: boolean;
                  max_active_codes_supported?: number;
                  supported_code_lengths?: (...)[];
                  supports_backup_access_code_pool?: boolean;
              } & {
                  active_thermostat_schedule?: null | {
                      climate_preset_key: ...;
                      created_at: ...;
                      device_id: ...;
                      ends_at: ...;
                      errors: ...;
                      is_override_allowed?: ...;
                      max_override_period_minutes?: ...;
                      name: ...;
                      starts_at: ...;
                      thermostat_schedule_id: ...;
                      workspace_id: ...;
                  };
                  available_climate_presets?: (...)[];
                  available_fan_mode_settings?: (...)[];
                  available_hvac_mode_settings?: (...)[];
                  current_climate_setting?: {
                      can_delete?: ...;
                      can_edit?: ...;
                      can_program?: ...;
                      climate_preset_key?: ...;
                      cooling_set_point_celsius?: ...;
                      cooling_set_point_fahrenheit?: ...;
                      display_name?: ...;
                      fan_mode_setting?: ...;
                      heating_set_point_celsius?: ...;
                      heating_set_point_fahrenheit?: ...;
                      hvac_mode_setting?: ...;
                      manual_override_allowed?: ...;
                      name?: ...;
                  };
                  default_climate_setting?: {
                      can_delete?: ...;
                      can_edit?: ...;
                      can_program?: ...;
                      climate_preset_key?: ...;
                      cooling_set_point_celsius?: ...;
                      cooling_set_point_fahrenheit?: ...;
                      display_name?: ...;
                      fan_mode_setting?: ...;
                      heating_set_point_celsius?: ...;
                      heating_set_point_fahrenheit?: ...;
                      hvac_mode_setting?: ...;
                      manual_override_allowed?: ...;
                      name?: ...;
                  };
                  fallback_climate_preset_key?: null | string;
                  fan_mode_setting?: "auto" | "on" | "circulate";
                  is_cooling?: boolean;
                  is_fan_running?: boolean;
                  is_heating?: boolean;
                  is_temporary_manual_override_active?: boolean;
                  max_cooling_set_point_celsius?: number;
                  max_cooling_set_point_fahrenheit?: number;
                  max_heating_set_point_celsius?: number;
                  max_heating_set_point_fahrenheit?: number;
                  min_cooling_set_point_celsius?: number;
                  min_cooling_set_point_fahrenheit?: number;
                  min_heating_cooling_delta_celsius?: number;
                  min_heating_cooling_delta_fahrenheit?: number;
                  min_heating_set_point_celsius?: number;
                  min_heating_set_point_fahrenheit?: number;
                  relative_humidity?: number;
                  temperature_celsius?: number;
                  temperature_fahrenheit?: number;
                  temperature_threshold?: {
                      lower_limit_celsius: ...;
                      lower_limit_fahrenheit: ...;
                      upper_limit_celsius: ...;
                      upper_limit_fahrenheit: ...;
                  };
                  thermostat_daily_programs?: (...)[];
                  thermostat_weekly_program?: null | {
                      created_at: ...;
                      friday_program_id: ...;
                      monday_program_id: ...;
                      saturday_program_id: ...;
                      sunday_program_id: ...;
                      thursday_program_id: ...;
                      tuesday_program_id: ...;
                      wednesday_program_id: ...;
                  };
              };
              warnings: (
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "partial_backup_access_code_pool";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "many_active_backup_codes";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "wyze_device_missing_gateway";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "functional_offline_device";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "third_party_integration_detected";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "nest_thermostat_in_manual_eco_mode";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "ttlock_lock_gateway_unlocking_not_enabled";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "ttlock_weak_gateway_signal";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "power_saving_mode";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "temperature_threshold_exceeded";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "device_communication_degraded";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "scheduled_maintenance_window";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "device_has_flaky_connection";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "salto_ks_office_mode";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "salto_ks_privacy_mode";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "salto_ks_subscription_limit_almost_reached";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "unknown_issue_with_phone";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "lockly_time_zone_not_configured";
                  })[];
              workspace_id: string;
          }[];
      }>, "devices" | "accessible_devices">, "devices">)

        • (params?): SeamHttpRequest<SetNonNullable<Required<{
              accessible_devices: {
                  can_hvac_cool?: boolean;
                  can_hvac_heat?: boolean;
                  can_hvac_heat_cool?: boolean;
                  can_program_offline_access_codes?: boolean;
                  can_program_online_access_codes?: boolean;
                  can_remotely_lock?: boolean;
                  can_remotely_unlock?: boolean;
                  can_simulate_connection?: boolean;
                  can_simulate_disconnection?: boolean;
                  can_simulate_removal?: boolean;
                  can_turn_off_hvac?: boolean;
                  capabilities_supported: (
                      | "access_code"
                      | "lock"
                      | "phone"
                      | "thermostat"
                      | "noise_detection"
                      | "battery")[];
                  connected_account_id: string;
                  created_at: string;
                  custom_metadata: Record<string, string | boolean>;
                  device_id: string;
                  device_type:
                      | "akuvox_lock"
                      | "august_lock"
                      | "brivo_access_point"
                      | "butterflymx_panel"
                      | "avigilon_alta_entry"
                      | "doorking_lock"
                      | "genie_door"
                      | "igloo_lock"
                      | "linear_lock"
                      | "lockly_lock"
                      | "kwikset_lock"
                      | "nuki_lock"
                      | "salto_lock"
                      | "schlage_lock"
                      | "seam_relay"
                      | "smartthings_lock"
                      | "wyze_lock"
                      | "yale_lock"
                      | "two_n_intercom"
                      | "controlbyweb_device"
                      | "ttlock_lock"
                      | "igloohome_lock"
                      | "hubitat_lock"
                      | "four_suites_door"
                      | "dormakaba_oracode_door"
                      | "tedee_lock"
                      | "akiles_lock"
                      | "noiseaware_activity_zone"
                      | "minut_sensor"
                      | "ecobee_thermostat"
                      | "nest_thermostat"
                      | "honeywell_resideo_thermostat"
                      | "tado_thermostat"
                      | "sensi_thermostat"
                      | "smartthings_thermostat"
                      | "ios_phone"
                      | "android_phone";
                  display_name: string;
                  errors: (
                      | {
                          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: "lockly_missing_wifi_bridge";
                          is_device_error: true;
                          message: string;
                      }
                      | {
                          created_at: string;
                          error_code: "invalid_credentials";
                          is_bridge_error?: (...) | (...) | (...);
                          is_connected_account_error?: (...) | (...) | (...);
                          message: string;
                      }
                      | {
                          created_at: string;
                          error_code: "bridge_disconnected";
                          is_bridge_error?: (...) | (...) | (...);
                          is_connected_account_error?: (...) | (...) | (...);
                          message: string;
                      })[];
                  is_managed: true;
                  location: null | {
                      location_name?: string;
                      timezone?: string;
                  };
                  nickname?: string;
                  properties: {
                      accessory_keypad?: {
                          battery?: ...;
                          is_connected: ...;
                      };
                      appearance: {
                          name: string;
                      };
                      battery?: {
                          level: ...;
                          status: ...;
                      };
                      battery_level?: number;
                      currently_triggering_noise_threshold_ids?: (...)[];
                      has_direct_power?: boolean;
                      image_alt_text?: string;
                      image_url?: string;
                      manufacturer?: string;
                      model: {
                          accessory_keypad_supported?: (...) | (...) | (...);
                          can_connect_accessory_keypad?: (...) | (...) | (...);
                          display_name: string;
                          has_built_in_keypad?: (...) | (...) | (...);
                          manufacturer_display_name: string;
                          offline_access_codes_supported?: (...) | (...) | (...);
                          online_access_codes_supported?: (...) | (...) | (...);
                      };
                      name: string;
                      noise_level_decibels?: number;
                      offline_access_codes_enabled?: boolean;
                      online: boolean;
                      online_access_codes_enabled?: boolean;
                      serial_number?: string;
                      supports_accessory_keypad?: boolean;
                      supports_offline_access_codes?: boolean;
                  } & {
                      assa_abloy_credential_service_metadata?: {
                          endpoints: ...;
                          has_active_endpoint: ...;
                      };
                      salto_space_credential_service_metadata?: {
                          has_active_phone: ...;
                      };
                  } & {
                      akiles_metadata?: {
                          _member_group_id?: ...;
                          gadget_id: ...;
                          gadget_name: ...;
                          product_name: ...;
                      };
                      assa_abloy_vostio_metadata?: {
                          encoder_name: ...;
                      };
                      august_metadata?: {
                          has_keypad: ...;
                          house_id?: ...;
                          house_name: ...;
                          keypad_battery_level?: ...;
                          lock_id: ...;
                          lock_name: ...;
                          model?: ...;
                      };
                      avigilon_alta_metadata?: {
                          entry_name: ...;
                          entry_relays_total_count: ...;
                          org_name: ...;
                          site_id: ...;
                          site_name: ...;
                          zone_id: ...;
                          zone_name: ...;
                      };
                      brivo_metadata?: {
                          device_name: ...;
                      };
                      controlbyweb_metadata?: {
                          device_id: ...;
                          device_name: ...;
                          relay_name: ...;
                      };
                      dormakaba_oracode_metadata?: {
                          device_id?: ...;
                          door_id?: ...;
                          door_is_wireless: ...;
                          door_name: ...;
                          iana_timezone?: ...;
                          predefined_time_slots?: ...;
                          site_id: ...;
                          site_name: ...;
                      };
                      ecobee_metadata?: {
                          device_name: ...;
                          ecobee_device_id: ...;
                      };
                      four_suites_metadata?: {
                          device_id: ...;
                          device_name: ...;
                          reclose_delay_in_seconds: ...;
                      };
                      genie_metadata?: {
                          device_name: ...;
                          door_name: ...;
                      };
                      honeywell_resideo_metadata?: {
                          device_name: ...;
                          honeywell_resideo_device_id: ...;
                      };
                      hubitat_metadata?: {
                          device_id: ...;
                          device_label: ...;
                          device_name: ...;
                      };
                      igloo_metadata?: {
                          bridge_id: ...;
                          device_id: ...;
                          model?: ...;
                      };
                      igloohome_metadata?: {
                          bridge_id?: ...;
                          bridge_name?: ...;
                          device_id: ...;
                          device_name: ...;
                          keypad_id?: ...;
                      };
                      kwikset_metadata?: {
                          device_id: ...;
                          device_name: ...;
                          model_number: ...;
                      };
                      lockly_metadata?: {
                          device_id: ...;
                          device_name: ...;
                          model?: ...;
                      };
                      minut_metadata?: {
                          device_id: ...;
                          device_name: ...;
                          latest_sensor_values: ...;
                      };
                      nest_metadata?: {
                          device_custom_name: ...;
                          device_name: ...;
                          display_name?: ...;
                          nest_device_id: ...;
                      };
                      noiseaware_metadata?: {
                          device_id: ...;
                          device_model: ...;
                          device_name: ...;
                          noise_level_decibel: ...;
                          noise_level_nrs: ...;
                      };
                      nuki_metadata?: {
                          device_id: ...;
                          device_name: ...;
                          keypad_2_paired?: ...;
                          keypad_battery_critical?: ...;
                          keypad_paired?: ...;
                      };
                      salto_ks_metadata?: {
                          battery_level: ...;
                          customer_reference: ...;
                          lock_id: ...;
                          lock_type: ...;
                          locked_state: ...;
                          model?: ...;
                      };
                      salto_metadata?: {
                          battery_level: ...;
                          customer_reference: ...;
                          lock_id: ...;
                          lock_type: ...;
                          locked_state: ...;
                          model?: ...;
                      };
                      schlage_metadata?: {
                          device_id: ...;
                          device_name: ...;
                          model?: ...;
                      };
                      seam_bridge_metadata?: {
                          device_num: ...;
                          name: ...;
                          unlock_method?: ...;
                      };
                      sensi_metadata?: {
                          device_id: ...;
                          device_name: ...;
                          product_type: ...;
                      };
                      smartthings_metadata?: {
                          device_id: ...;
                          device_name: ...;
                          location_id?: ...;
                          model?: ...;
                      };
                      tado_metadata?: {
                          device_type: ...;
                          serial_no: ...;
                      };
                      tedee_metadata?: {
                          bridge_id: ...;
                          bridge_name: ...;
                          device_id: ...;
                          device_model: ...;
                          device_name: ...;
                          keypad_id?: ...;
                          serial_number: ...;
                      };
                      ttlock_metadata?: {
                          feature_value: ...;
                          features: ...;
                          has_gateway?: ...;
                          lock_alias: ...;
                          lock_id: ...;
                          wireless_keypads?: ...;
                      };
                      two_n_metadata?: {
                          device_id: ...;
                          device_name: ...;
                      };
                      visionline_metadata?: {
                          encoder_id: ...;
                      };
                      wyze_metadata?: {
                          device_id: ...;
                          device_info_model: ...;
                          device_name: ...;
                          keypad_uuid?: ...;
                          locker_status_hardlock?: ...;
                          product_model: ...;
                          product_name: ...;
                          product_type: ...;
                      };
                  } & {
                      _experimental_supported_code_from_access_codes_lengths?: (...)[];
                      code_constraints?: (...)[];
                      door_open?: boolean;
                      has_native_entry_events?: boolean;
                      keypad_battery?: {
                          level: ...;
                      };
                      locked?: boolean;
                      max_active_codes_supported?: number;
                      supported_code_lengths?: (...)[];
                      supports_backup_access_code_pool?: boolean;
                  } & {
                      active_thermostat_schedule?: null | {
                          climate_preset_key: ...;
                          created_at: ...;
                          device_id: ...;
                          ends_at: ...;
                          errors: ...;
                          is_override_allowed?: ...;
                          max_override_period_minutes?: ...;
                          name: ...;
                          starts_at: ...;
                          thermostat_schedule_id: ...;
                          workspace_id: ...;
                      };
                      available_climate_presets?: (...)[];
                      available_fan_mode_settings?: (...)[];
                      available_hvac_mode_settings?: (...)[];
                      current_climate_setting?: {
                          can_delete?: ...;
                          can_edit?: ...;
                          can_program?: ...;
                          climate_preset_key?: ...;
                          cooling_set_point_celsius?: ...;
                          cooling_set_point_fahrenheit?: ...;
                          display_name?: ...;
                          fan_mode_setting?: ...;
                          heating_set_point_celsius?: ...;
                          heating_set_point_fahrenheit?: ...;
                          hvac_mode_setting?: ...;
                          manual_override_allowed?: ...;
                          name?: ...;
                      };
                      default_climate_setting?: {
                          can_delete?: ...;
                          can_edit?: ...;
                          can_program?: ...;
                          climate_preset_key?: ...;
                          cooling_set_point_celsius?: ...;
                          cooling_set_point_fahrenheit?: ...;
                          display_name?: ...;
                          fan_mode_setting?: ...;
                          heating_set_point_celsius?: ...;
                          heating_set_point_fahrenheit?: ...;
                          hvac_mode_setting?: ...;
                          manual_override_allowed?: ...;
                          name?: ...;
                      };
                      fallback_climate_preset_key?: null | string;
                      fan_mode_setting?: "auto" | "on" | "circulate";
                      is_cooling?: boolean;
                      is_fan_running?: boolean;
                      is_heating?: boolean;
                      is_temporary_manual_override_active?: boolean;
                      max_cooling_set_point_celsius?: number;
                      max_cooling_set_point_fahrenheit?: number;
                      max_heating_set_point_celsius?: number;
                      max_heating_set_point_fahrenheit?: number;
                      min_cooling_set_point_celsius?: number;
                      min_cooling_set_point_fahrenheit?: number;
                      min_heating_cooling_delta_celsius?: number;
                      min_heating_cooling_delta_fahrenheit?: number;
                      min_heating_set_point_celsius?: number;
                      min_heating_set_point_fahrenheit?: number;
                      relative_humidity?: number;
                      temperature_celsius?: number;
                      temperature_fahrenheit?: number;
                      temperature_threshold?: {
                          lower_limit_celsius: ...;
                          lower_limit_fahrenheit: ...;
                          upper_limit_celsius: ...;
                          upper_limit_fahrenheit: ...;
                      };
                      thermostat_daily_programs?: (...)[];
                      thermostat_weekly_program?: null | {
                          created_at: ...;
                          friday_program_id: ...;
                          monday_program_id: ...;
                          saturday_program_id: ...;
                          sunday_program_id: ...;
                          thursday_program_id: ...;
                          tuesday_program_id: ...;
                          wednesday_program_id: ...;
                      };
                  };
                  warnings: (
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "partial_backup_access_code_pool";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "many_active_backup_codes";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "wyze_device_missing_gateway";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "functional_offline_device";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "third_party_integration_detected";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "nest_thermostat_in_manual_eco_mode";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "ttlock_lock_gateway_unlocking_not_enabled";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "ttlock_weak_gateway_signal";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "power_saving_mode";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "temperature_threshold_exceeded";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "device_communication_degraded";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "scheduled_maintenance_window";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "device_has_flaky_connection";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "salto_ks_office_mode";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "salto_ks_privacy_mode";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "salto_ks_subscription_limit_almost_reached";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "unknown_issue_with_phone";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "lockly_time_zone_not_configured";
                      })[];
                  workspace_id: string;
              }[];
              devices: {
                  can_hvac_cool?: boolean;
                  can_hvac_heat?: boolean;
                  can_hvac_heat_cool?: boolean;
                  can_program_offline_access_codes?: boolean;
                  can_program_online_access_codes?: boolean;
                  can_remotely_lock?: boolean;
                  can_remotely_unlock?: boolean;
                  can_simulate_connection?: boolean;
                  can_simulate_disconnection?: boolean;
                  can_simulate_removal?: boolean;
                  can_turn_off_hvac?: boolean;
                  capabilities_supported: (
                      | "access_code"
                      | "lock"
                      | "phone"
                      | "thermostat"
                      | "noise_detection"
                      | "battery")[];
                  connected_account_id: string;
                  created_at: string;
                  custom_metadata: Record<string, string | boolean>;
                  device_id: string;
                  device_type:
                      | "akuvox_lock"
                      | "august_lock"
                      | "brivo_access_point"
                      | "butterflymx_panel"
                      | "avigilon_alta_entry"
                      | "doorking_lock"
                      | "genie_door"
                      | "igloo_lock"
                      | "linear_lock"
                      | "lockly_lock"
                      | "kwikset_lock"
                      | "nuki_lock"
                      | "salto_lock"
                      | "schlage_lock"
                      | "seam_relay"
                      | "smartthings_lock"
                      | "wyze_lock"
                      | "yale_lock"
                      | "two_n_intercom"
                      | "controlbyweb_device"
                      | "ttlock_lock"
                      | "igloohome_lock"
                      | "hubitat_lock"
                      | "four_suites_door"
                      | "dormakaba_oracode_door"
                      | "tedee_lock"
                      | "akiles_lock"
                      | "noiseaware_activity_zone"
                      | "minut_sensor"
                      | "ecobee_thermostat"
                      | "nest_thermostat"
                      | "honeywell_resideo_thermostat"
                      | "tado_thermostat"
                      | "sensi_thermostat"
                      | "smartthings_thermostat"
                      | "ios_phone"
                      | "android_phone";
                  display_name: string;
                  errors: (
                      | {
                          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: "lockly_missing_wifi_bridge";
                          is_device_error: true;
                          message: string;
                      }
                      | {
                          created_at: string;
                          error_code: "invalid_credentials";
                          is_bridge_error?: (...) | (...) | (...);
                          is_connected_account_error?: (...) | (...) | (...);
                          message: string;
                      }
                      | {
                          created_at: string;
                          error_code: "bridge_disconnected";
                          is_bridge_error?: (...) | (...) | (...);
                          is_connected_account_error?: (...) | (...) | (...);
                          message: string;
                      })[];
                  is_managed: true;
                  location: null | {
                      location_name?: string;
                      timezone?: string;
                  };
                  nickname?: string;
                  properties: {
                      accessory_keypad?: {
                          battery?: ...;
                          is_connected: ...;
                      };
                      appearance: {
                          name: string;
                      };
                      battery?: {
                          level: ...;
                          status: ...;
                      };
                      battery_level?: number;
                      currently_triggering_noise_threshold_ids?: (...)[];
                      has_direct_power?: boolean;
                      image_alt_text?: string;
                      image_url?: string;
                      manufacturer?: string;
                      model: {
                          accessory_keypad_supported?: (...) | (...) | (...);
                          can_connect_accessory_keypad?: (...) | (...) | (...);
                          display_name: string;
                          has_built_in_keypad?: (...) | (...) | (...);
                          manufacturer_display_name: string;
                          offline_access_codes_supported?: (...) | (...) | (...);
                          online_access_codes_supported?: (...) | (...) | (...);
                      };
                      name: string;
                      noise_level_decibels?: number;
                      offline_access_codes_enabled?: boolean;
                      online: boolean;
                      online_access_codes_enabled?: boolean;
                      serial_number?: string;
                      supports_accessory_keypad?: boolean;
                      supports_offline_access_codes?: boolean;
                  } & {
                      assa_abloy_credential_service_metadata?: {
                          endpoints: ...;
                          has_active_endpoint: ...;
                      };
                      salto_space_credential_service_metadata?: {
                          has_active_phone: ...;
                      };
                  } & {
                      akiles_metadata?: {
                          _member_group_id?: ...;
                          gadget_id: ...;
                          gadget_name: ...;
                          product_name: ...;
                      };
                      assa_abloy_vostio_metadata?: {
                          encoder_name: ...;
                      };
                      august_metadata?: {
                          has_keypad: ...;
                          house_id?: ...;
                          house_name: ...;
                          keypad_battery_level?: ...;
                          lock_id: ...;
                          lock_name: ...;
                          model?: ...;
                      };
                      avigilon_alta_metadata?: {
                          entry_name: ...;
                          entry_relays_total_count: ...;
                          org_name: ...;
                          site_id: ...;
                          site_name: ...;
                          zone_id: ...;
                          zone_name: ...;
                      };
                      brivo_metadata?: {
                          device_name: ...;
                      };
                      controlbyweb_metadata?: {
                          device_id: ...;
                          device_name: ...;
                          relay_name: ...;
                      };
                      dormakaba_oracode_metadata?: {
                          device_id?: ...;
                          door_id?: ...;
                          door_is_wireless: ...;
                          door_name: ...;
                          iana_timezone?: ...;
                          predefined_time_slots?: ...;
                          site_id: ...;
                          site_name: ...;
                      };
                      ecobee_metadata?: {
                          device_name: ...;
                          ecobee_device_id: ...;
                      };
                      four_suites_metadata?: {
                          device_id: ...;
                          device_name: ...;
                          reclose_delay_in_seconds: ...;
                      };
                      genie_metadata?: {
                          device_name: ...;
                          door_name: ...;
                      };
                      honeywell_resideo_metadata?: {
                          device_name: ...;
                          honeywell_resideo_device_id: ...;
                      };
                      hubitat_metadata?: {
                          device_id: ...;
                          device_label: ...;
                          device_name: ...;
                      };
                      igloo_metadata?: {
                          bridge_id: ...;
                          device_id: ...;
                          model?: ...;
                      };
                      igloohome_metadata?: {
                          bridge_id?: ...;
                          bridge_name?: ...;
                          device_id: ...;
                          device_name: ...;
                          keypad_id?: ...;
                      };
                      kwikset_metadata?: {
                          device_id: ...;
                          device_name: ...;
                          model_number: ...;
                      };
                      lockly_metadata?: {
                          device_id: ...;
                          device_name: ...;
                          model?: ...;
                      };
                      minut_metadata?: {
                          device_id: ...;
                          device_name: ...;
                          latest_sensor_values: ...;
                      };
                      nest_metadata?: {
                          device_custom_name: ...;
                          device_name: ...;
                          display_name?: ...;
                          nest_device_id: ...;
                      };
                      noiseaware_metadata?: {
                          device_id: ...;
                          device_model: ...;
                          device_name: ...;
                          noise_level_decibel: ...;
                          noise_level_nrs: ...;
                      };
                      nuki_metadata?: {
                          device_id: ...;
                          device_name: ...;
                          keypad_2_paired?: ...;
                          keypad_battery_critical?: ...;
                          keypad_paired?: ...;
                      };
                      salto_ks_metadata?: {
                          battery_level: ...;
                          customer_reference: ...;
                          lock_id: ...;
                          lock_type: ...;
                          locked_state: ...;
                          model?: ...;
                      };
                      salto_metadata?: {
                          battery_level: ...;
                          customer_reference: ...;
                          lock_id: ...;
                          lock_type: ...;
                          locked_state: ...;
                          model?: ...;
                      };
                      schlage_metadata?: {
                          device_id: ...;
                          device_name: ...;
                          model?: ...;
                      };
                      seam_bridge_metadata?: {
                          device_num: ...;
                          name: ...;
                          unlock_method?: ...;
                      };
                      sensi_metadata?: {
                          device_id: ...;
                          device_name: ...;
                          product_type: ...;
                      };
                      smartthings_metadata?: {
                          device_id: ...;
                          device_name: ...;
                          location_id?: ...;
                          model?: ...;
                      };
                      tado_metadata?: {
                          device_type: ...;
                          serial_no: ...;
                      };
                      tedee_metadata?: {
                          bridge_id: ...;
                          bridge_name: ...;
                          device_id: ...;
                          device_model: ...;
                          device_name: ...;
                          keypad_id?: ...;
                          serial_number: ...;
                      };
                      ttlock_metadata?: {
                          feature_value: ...;
                          features: ...;
                          has_gateway?: ...;
                          lock_alias: ...;
                          lock_id: ...;
                          wireless_keypads?: ...;
                      };
                      two_n_metadata?: {
                          device_id: ...;
                          device_name: ...;
                      };
                      visionline_metadata?: {
                          encoder_id: ...;
                      };
                      wyze_metadata?: {
                          device_id: ...;
                          device_info_model: ...;
                          device_name: ...;
                          keypad_uuid?: ...;
                          locker_status_hardlock?: ...;
                          product_model: ...;
                          product_name: ...;
                          product_type: ...;
                      };
                  } & {
                      _experimental_supported_code_from_access_codes_lengths?: (...)[];
                      code_constraints?: (...)[];
                      door_open?: boolean;
                      has_native_entry_events?: boolean;
                      keypad_battery?: {
                          level: ...;
                      };
                      locked?: boolean;
                      max_active_codes_supported?: number;
                      supported_code_lengths?: (...)[];
                      supports_backup_access_code_pool?: boolean;
                  } & {
                      active_thermostat_schedule?: null | {
                          climate_preset_key: ...;
                          created_at: ...;
                          device_id: ...;
                          ends_at: ...;
                          errors: ...;
                          is_override_allowed?: ...;
                          max_override_period_minutes?: ...;
                          name: ...;
                          starts_at: ...;
                          thermostat_schedule_id: ...;
                          workspace_id: ...;
                      };
                      available_climate_presets?: (...)[];
                      available_fan_mode_settings?: (...)[];
                      available_hvac_mode_settings?: (...)[];
                      current_climate_setting?: {
                          can_delete?: ...;
                          can_edit?: ...;
                          can_program?: ...;
                          climate_preset_key?: ...;
                          cooling_set_point_celsius?: ...;
                          cooling_set_point_fahrenheit?: ...;
                          display_name?: ...;
                          fan_mode_setting?: ...;
                          heating_set_point_celsius?: ...;
                          heating_set_point_fahrenheit?: ...;
                          hvac_mode_setting?: ...;
                          manual_override_allowed?: ...;
                          name?: ...;
                      };
                      default_climate_setting?: {
                          can_delete?: ...;
                          can_edit?: ...;
                          can_program?: ...;
                          climate_preset_key?: ...;
                          cooling_set_point_celsius?: ...;
                          cooling_set_point_fahrenheit?: ...;
                          display_name?: ...;
                          fan_mode_setting?: ...;
                          heating_set_point_celsius?: ...;
                          heating_set_point_fahrenheit?: ...;
                          hvac_mode_setting?: ...;
                          manual_override_allowed?: ...;
                          name?: ...;
                      };
                      fallback_climate_preset_key?: null | string;
                      fan_mode_setting?: "auto" | "on" | "circulate";
                      is_cooling?: boolean;
                      is_fan_running?: boolean;
                      is_heating?: boolean;
                      is_temporary_manual_override_active?: boolean;
                      max_cooling_set_point_celsius?: number;
                      max_cooling_set_point_fahrenheit?: number;
                      max_heating_set_point_celsius?: number;
                      max_heating_set_point_fahrenheit?: number;
                      min_cooling_set_point_celsius?: number;
                      min_cooling_set_point_fahrenheit?: number;
                      min_heating_cooling_delta_celsius?: number;
                      min_heating_cooling_delta_fahrenheit?: number;
                      min_heating_set_point_celsius?: number;
                      min_heating_set_point_fahrenheit?: number;
                      relative_humidity?: number;
                      temperature_celsius?: number;
                      temperature_fahrenheit?: number;
                      temperature_threshold?: {
                          lower_limit_celsius: ...;
                          lower_limit_fahrenheit: ...;
                          upper_limit_celsius: ...;
                          upper_limit_fahrenheit: ...;
                      };
                      thermostat_daily_programs?: (...)[];
                      thermostat_weekly_program?: null | {
                          created_at: ...;
                          friday_program_id: ...;
                          monday_program_id: ...;
                          saturday_program_id: ...;
                          sunday_program_id: ...;
                          thursday_program_id: ...;
                          tuesday_program_id: ...;
                          wednesday_program_id: ...;
                      };
                  };
                  warnings: (
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "partial_backup_access_code_pool";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "many_active_backup_codes";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "wyze_device_missing_gateway";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "functional_offline_device";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "third_party_integration_detected";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "nest_thermostat_in_manual_eco_mode";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "ttlock_lock_gateway_unlocking_not_enabled";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "ttlock_weak_gateway_signal";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "power_saving_mode";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "temperature_threshold_exceeded";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "device_communication_degraded";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "scheduled_maintenance_window";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "device_has_flaky_connection";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "salto_ks_office_mode";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "salto_ks_privacy_mode";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "salto_ks_subscription_limit_almost_reached";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "unknown_issue_with_phone";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "lockly_time_zone_not_configured";
                      })[];
                  workspace_id: string;
              }[];
          }>, "devices" | "accessible_devices">, "devices">
        • Parameters

          • Optionalparams: {
                user_identity_id: string;
            }
            • user_identity_id: string

              ID of the user identity for which you want to retrieve all accessible devices.

          Returns SeamHttpRequest<SetNonNullable<Required<{
              accessible_devices: {
                  can_hvac_cool?: boolean;
                  can_hvac_heat?: boolean;
                  can_hvac_heat_cool?: boolean;
                  can_program_offline_access_codes?: boolean;
                  can_program_online_access_codes?: boolean;
                  can_remotely_lock?: boolean;
                  can_remotely_unlock?: boolean;
                  can_simulate_connection?: boolean;
                  can_simulate_disconnection?: boolean;
                  can_simulate_removal?: boolean;
                  can_turn_off_hvac?: boolean;
                  capabilities_supported: (
                      | "access_code"
                      | "lock"
                      | "phone"
                      | "thermostat"
                      | "noise_detection"
                      | "battery")[];
                  connected_account_id: string;
                  created_at: string;
                  custom_metadata: Record<string, string | boolean>;
                  device_id: string;
                  device_type:
                      | "akuvox_lock"
                      | "august_lock"
                      | "brivo_access_point"
                      | "butterflymx_panel"
                      | "avigilon_alta_entry"
                      | "doorking_lock"
                      | "genie_door"
                      | "igloo_lock"
                      | "linear_lock"
                      | "lockly_lock"
                      | "kwikset_lock"
                      | "nuki_lock"
                      | "salto_lock"
                      | "schlage_lock"
                      | "seam_relay"
                      | "smartthings_lock"
                      | "wyze_lock"
                      | "yale_lock"
                      | "two_n_intercom"
                      | "controlbyweb_device"
                      | "ttlock_lock"
                      | "igloohome_lock"
                      | "hubitat_lock"
                      | "four_suites_door"
                      | "dormakaba_oracode_door"
                      | "tedee_lock"
                      | "akiles_lock"
                      | "noiseaware_activity_zone"
                      | "minut_sensor"
                      | "ecobee_thermostat"
                      | "nest_thermostat"
                      | "honeywell_resideo_thermostat"
                      | "tado_thermostat"
                      | "sensi_thermostat"
                      | "smartthings_thermostat"
                      | "ios_phone"
                      | "android_phone";
                  display_name: string;
                  errors: (
                      | {
                          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: "lockly_missing_wifi_bridge";
                          is_device_error: true;
                          message: string;
                      }
                      | {
                          created_at: string;
                          error_code: "invalid_credentials";
                          is_bridge_error?: (...) | (...) | (...);
                          is_connected_account_error?: (...) | (...) | (...);
                          message: string;
                      }
                      | {
                          created_at: string;
                          error_code: "bridge_disconnected";
                          is_bridge_error?: (...) | (...) | (...);
                          is_connected_account_error?: (...) | (...) | (...);
                          message: string;
                      })[];
                  is_managed: true;
                  location: null | {
                      location_name?: string;
                      timezone?: string;
                  };
                  nickname?: string;
                  properties: {
                      accessory_keypad?: {
                          battery?: ...;
                          is_connected: ...;
                      };
                      appearance: {
                          name: string;
                      };
                      battery?: {
                          level: ...;
                          status: ...;
                      };
                      battery_level?: number;
                      currently_triggering_noise_threshold_ids?: (...)[];
                      has_direct_power?: boolean;
                      image_alt_text?: string;
                      image_url?: string;
                      manufacturer?: string;
                      model: {
                          accessory_keypad_supported?: (...) | (...) | (...);
                          can_connect_accessory_keypad?: (...) | (...) | (...);
                          display_name: string;
                          has_built_in_keypad?: (...) | (...) | (...);
                          manufacturer_display_name: string;
                          offline_access_codes_supported?: (...) | (...) | (...);
                          online_access_codes_supported?: (...) | (...) | (...);
                      };
                      name: string;
                      noise_level_decibels?: number;
                      offline_access_codes_enabled?: boolean;
                      online: boolean;
                      online_access_codes_enabled?: boolean;
                      serial_number?: string;
                      supports_accessory_keypad?: boolean;
                      supports_offline_access_codes?: boolean;
                  } & {
                      assa_abloy_credential_service_metadata?: {
                          endpoints: ...;
                          has_active_endpoint: ...;
                      };
                      salto_space_credential_service_metadata?: {
                          has_active_phone: ...;
                      };
                  } & {
                      akiles_metadata?: {
                          _member_group_id?: ...;
                          gadget_id: ...;
                          gadget_name: ...;
                          product_name: ...;
                      };
                      assa_abloy_vostio_metadata?: {
                          encoder_name: ...;
                      };
                      august_metadata?: {
                          has_keypad: ...;
                          house_id?: ...;
                          house_name: ...;
                          keypad_battery_level?: ...;
                          lock_id: ...;
                          lock_name: ...;
                          model?: ...;
                      };
                      avigilon_alta_metadata?: {
                          entry_name: ...;
                          entry_relays_total_count: ...;
                          org_name: ...;
                          site_id: ...;
                          site_name: ...;
                          zone_id: ...;
                          zone_name: ...;
                      };
                      brivo_metadata?: {
                          device_name: ...;
                      };
                      controlbyweb_metadata?: {
                          device_id: ...;
                          device_name: ...;
                          relay_name: ...;
                      };
                      dormakaba_oracode_metadata?: {
                          device_id?: ...;
                          door_id?: ...;
                          door_is_wireless: ...;
                          door_name: ...;
                          iana_timezone?: ...;
                          predefined_time_slots?: ...;
                          site_id: ...;
                          site_name: ...;
                      };
                      ecobee_metadata?: {
                          device_name: ...;
                          ecobee_device_id: ...;
                      };
                      four_suites_metadata?: {
                          device_id: ...;
                          device_name: ...;
                          reclose_delay_in_seconds: ...;
                      };
                      genie_metadata?: {
                          device_name: ...;
                          door_name: ...;
                      };
                      honeywell_resideo_metadata?: {
                          device_name: ...;
                          honeywell_resideo_device_id: ...;
                      };
                      hubitat_metadata?: {
                          device_id: ...;
                          device_label: ...;
                          device_name: ...;
                      };
                      igloo_metadata?: {
                          bridge_id: ...;
                          device_id: ...;
                          model?: ...;
                      };
                      igloohome_metadata?: {
                          bridge_id?: ...;
                          bridge_name?: ...;
                          device_id: ...;
                          device_name: ...;
                          keypad_id?: ...;
                      };
                      kwikset_metadata?: {
                          device_id: ...;
                          device_name: ...;
                          model_number: ...;
                      };
                      lockly_metadata?: {
                          device_id: ...;
                          device_name: ...;
                          model?: ...;
                      };
                      minut_metadata?: {
                          device_id: ...;
                          device_name: ...;
                          latest_sensor_values: ...;
                      };
                      nest_metadata?: {
                          device_custom_name: ...;
                          device_name: ...;
                          display_name?: ...;
                          nest_device_id: ...;
                      };
                      noiseaware_metadata?: {
                          device_id: ...;
                          device_model: ...;
                          device_name: ...;
                          noise_level_decibel: ...;
                          noise_level_nrs: ...;
                      };
                      nuki_metadata?: {
                          device_id: ...;
                          device_name: ...;
                          keypad_2_paired?: ...;
                          keypad_battery_critical?: ...;
                          keypad_paired?: ...;
                      };
                      salto_ks_metadata?: {
                          battery_level: ...;
                          customer_reference: ...;
                          lock_id: ...;
                          lock_type: ...;
                          locked_state: ...;
                          model?: ...;
                      };
                      salto_metadata?: {
                          battery_level: ...;
                          customer_reference: ...;
                          lock_id: ...;
                          lock_type: ...;
                          locked_state: ...;
                          model?: ...;
                      };
                      schlage_metadata?: {
                          device_id: ...;
                          device_name: ...;
                          model?: ...;
                      };
                      seam_bridge_metadata?: {
                          device_num: ...;
                          name: ...;
                          unlock_method?: ...;
                      };
                      sensi_metadata?: {
                          device_id: ...;
                          device_name: ...;
                          product_type: ...;
                      };
                      smartthings_metadata?: {
                          device_id: ...;
                          device_name: ...;
                          location_id?: ...;
                          model?: ...;
                      };
                      tado_metadata?: {
                          device_type: ...;
                          serial_no: ...;
                      };
                      tedee_metadata?: {
                          bridge_id: ...;
                          bridge_name: ...;
                          device_id: ...;
                          device_model: ...;
                          device_name: ...;
                          keypad_id?: ...;
                          serial_number: ...;
                      };
                      ttlock_metadata?: {
                          feature_value: ...;
                          features: ...;
                          has_gateway?: ...;
                          lock_alias: ...;
                          lock_id: ...;
                          wireless_keypads?: ...;
                      };
                      two_n_metadata?: {
                          device_id: ...;
                          device_name: ...;
                      };
                      visionline_metadata?: {
                          encoder_id: ...;
                      };
                      wyze_metadata?: {
                          device_id: ...;
                          device_info_model: ...;
                          device_name: ...;
                          keypad_uuid?: ...;
                          locker_status_hardlock?: ...;
                          product_model: ...;
                          product_name: ...;
                          product_type: ...;
                      };
                  } & {
                      _experimental_supported_code_from_access_codes_lengths?: (...)[];
                      code_constraints?: (...)[];
                      door_open?: boolean;
                      has_native_entry_events?: boolean;
                      keypad_battery?: {
                          level: ...;
                      };
                      locked?: boolean;
                      max_active_codes_supported?: number;
                      supported_code_lengths?: (...)[];
                      supports_backup_access_code_pool?: boolean;
                  } & {
                      active_thermostat_schedule?: null | {
                          climate_preset_key: ...;
                          created_at: ...;
                          device_id: ...;
                          ends_at: ...;
                          errors: ...;
                          is_override_allowed?: ...;
                          max_override_period_minutes?: ...;
                          name: ...;
                          starts_at: ...;
                          thermostat_schedule_id: ...;
                          workspace_id: ...;
                      };
                      available_climate_presets?: (...)[];
                      available_fan_mode_settings?: (...)[];
                      available_hvac_mode_settings?: (...)[];
                      current_climate_setting?: {
                          can_delete?: ...;
                          can_edit?: ...;
                          can_program?: ...;
                          climate_preset_key?: ...;
                          cooling_set_point_celsius?: ...;
                          cooling_set_point_fahrenheit?: ...;
                          display_name?: ...;
                          fan_mode_setting?: ...;
                          heating_set_point_celsius?: ...;
                          heating_set_point_fahrenheit?: ...;
                          hvac_mode_setting?: ...;
                          manual_override_allowed?: ...;
                          name?: ...;
                      };
                      default_climate_setting?: {
                          can_delete?: ...;
                          can_edit?: ...;
                          can_program?: ...;
                          climate_preset_key?: ...;
                          cooling_set_point_celsius?: ...;
                          cooling_set_point_fahrenheit?: ...;
                          display_name?: ...;
                          fan_mode_setting?: ...;
                          heating_set_point_celsius?: ...;
                          heating_set_point_fahrenheit?: ...;
                          hvac_mode_setting?: ...;
                          manual_override_allowed?: ...;
                          name?: ...;
                      };
                      fallback_climate_preset_key?: null | string;
                      fan_mode_setting?: "auto" | "on" | "circulate";
                      is_cooling?: boolean;
                      is_fan_running?: boolean;
                      is_heating?: boolean;
                      is_temporary_manual_override_active?: boolean;
                      max_cooling_set_point_celsius?: number;
                      max_cooling_set_point_fahrenheit?: number;
                      max_heating_set_point_celsius?: number;
                      max_heating_set_point_fahrenheit?: number;
                      min_cooling_set_point_celsius?: number;
                      min_cooling_set_point_fahrenheit?: number;
                      min_heating_cooling_delta_celsius?: number;
                      min_heating_cooling_delta_fahrenheit?: number;
                      min_heating_set_point_celsius?: number;
                      min_heating_set_point_fahrenheit?: number;
                      relative_humidity?: number;
                      temperature_celsius?: number;
                      temperature_fahrenheit?: number;
                      temperature_threshold?: {
                          lower_limit_celsius: ...;
                          lower_limit_fahrenheit: ...;
                          upper_limit_celsius: ...;
                          upper_limit_fahrenheit: ...;
                      };
                      thermostat_daily_programs?: (...)[];
                      thermostat_weekly_program?: null | {
                          created_at: ...;
                          friday_program_id: ...;
                          monday_program_id: ...;
                          saturday_program_id: ...;
                          sunday_program_id: ...;
                          thursday_program_id: ...;
                          tuesday_program_id: ...;
                          wednesday_program_id: ...;
                      };
                  };
                  warnings: (
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "partial_backup_access_code_pool";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "many_active_backup_codes";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "wyze_device_missing_gateway";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "functional_offline_device";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "third_party_integration_detected";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "nest_thermostat_in_manual_eco_mode";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "ttlock_lock_gateway_unlocking_not_enabled";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "ttlock_weak_gateway_signal";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "power_saving_mode";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "temperature_threshold_exceeded";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "device_communication_degraded";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "scheduled_maintenance_window";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "device_has_flaky_connection";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "salto_ks_office_mode";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "salto_ks_privacy_mode";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "salto_ks_subscription_limit_almost_reached";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "unknown_issue_with_phone";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "lockly_time_zone_not_configured";
                      })[];
                  workspace_id: string;
              }[];
              devices: {
                  can_hvac_cool?: boolean;
                  can_hvac_heat?: boolean;
                  can_hvac_heat_cool?: boolean;
                  can_program_offline_access_codes?: boolean;
                  can_program_online_access_codes?: boolean;
                  can_remotely_lock?: boolean;
                  can_remotely_unlock?: boolean;
                  can_simulate_connection?: boolean;
                  can_simulate_disconnection?: boolean;
                  can_simulate_removal?: boolean;
                  can_turn_off_hvac?: boolean;
                  capabilities_supported: (
                      | "access_code"
                      | "lock"
                      | "phone"
                      | "thermostat"
                      | "noise_detection"
                      | "battery")[];
                  connected_account_id: string;
                  created_at: string;
                  custom_metadata: Record<string, string | boolean>;
                  device_id: string;
                  device_type:
                      | "akuvox_lock"
                      | "august_lock"
                      | "brivo_access_point"
                      | "butterflymx_panel"
                      | "avigilon_alta_entry"
                      | "doorking_lock"
                      | "genie_door"
                      | "igloo_lock"
                      | "linear_lock"
                      | "lockly_lock"
                      | "kwikset_lock"
                      | "nuki_lock"
                      | "salto_lock"
                      | "schlage_lock"
                      | "seam_relay"
                      | "smartthings_lock"
                      | "wyze_lock"
                      | "yale_lock"
                      | "two_n_intercom"
                      | "controlbyweb_device"
                      | "ttlock_lock"
                      | "igloohome_lock"
                      | "hubitat_lock"
                      | "four_suites_door"
                      | "dormakaba_oracode_door"
                      | "tedee_lock"
                      | "akiles_lock"
                      | "noiseaware_activity_zone"
                      | "minut_sensor"
                      | "ecobee_thermostat"
                      | "nest_thermostat"
                      | "honeywell_resideo_thermostat"
                      | "tado_thermostat"
                      | "sensi_thermostat"
                      | "smartthings_thermostat"
                      | "ios_phone"
                      | "android_phone";
                  display_name: string;
                  errors: (
                      | {
                          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: "lockly_missing_wifi_bridge";
                          is_device_error: true;
                          message: string;
                      }
                      | {
                          created_at: string;
                          error_code: "invalid_credentials";
                          is_bridge_error?: (...) | (...) | (...);
                          is_connected_account_error?: (...) | (...) | (...);
                          message: string;
                      }
                      | {
                          created_at: string;
                          error_code: "bridge_disconnected";
                          is_bridge_error?: (...) | (...) | (...);
                          is_connected_account_error?: (...) | (...) | (...);
                          message: string;
                      })[];
                  is_managed: true;
                  location: null | {
                      location_name?: string;
                      timezone?: string;
                  };
                  nickname?: string;
                  properties: {
                      accessory_keypad?: {
                          battery?: ...;
                          is_connected: ...;
                      };
                      appearance: {
                          name: string;
                      };
                      battery?: {
                          level: ...;
                          status: ...;
                      };
                      battery_level?: number;
                      currently_triggering_noise_threshold_ids?: (...)[];
                      has_direct_power?: boolean;
                      image_alt_text?: string;
                      image_url?: string;
                      manufacturer?: string;
                      model: {
                          accessory_keypad_supported?: (...) | (...) | (...);
                          can_connect_accessory_keypad?: (...) | (...) | (...);
                          display_name: string;
                          has_built_in_keypad?: (...) | (...) | (...);
                          manufacturer_display_name: string;
                          offline_access_codes_supported?: (...) | (...) | (...);
                          online_access_codes_supported?: (...) | (...) | (...);
                      };
                      name: string;
                      noise_level_decibels?: number;
                      offline_access_codes_enabled?: boolean;
                      online: boolean;
                      online_access_codes_enabled?: boolean;
                      serial_number?: string;
                      supports_accessory_keypad?: boolean;
                      supports_offline_access_codes?: boolean;
                  } & {
                      assa_abloy_credential_service_metadata?: {
                          endpoints: ...;
                          has_active_endpoint: ...;
                      };
                      salto_space_credential_service_metadata?: {
                          has_active_phone: ...;
                      };
                  } & {
                      akiles_metadata?: {
                          _member_group_id?: ...;
                          gadget_id: ...;
                          gadget_name: ...;
                          product_name: ...;
                      };
                      assa_abloy_vostio_metadata?: {
                          encoder_name: ...;
                      };
                      august_metadata?: {
                          has_keypad: ...;
                          house_id?: ...;
                          house_name: ...;
                          keypad_battery_level?: ...;
                          lock_id: ...;
                          lock_name: ...;
                          model?: ...;
                      };
                      avigilon_alta_metadata?: {
                          entry_name: ...;
                          entry_relays_total_count: ...;
                          org_name: ...;
                          site_id: ...;
                          site_name: ...;
                          zone_id: ...;
                          zone_name: ...;
                      };
                      brivo_metadata?: {
                          device_name: ...;
                      };
                      controlbyweb_metadata?: {
                          device_id: ...;
                          device_name: ...;
                          relay_name: ...;
                      };
                      dormakaba_oracode_metadata?: {
                          device_id?: ...;
                          door_id?: ...;
                          door_is_wireless: ...;
                          door_name: ...;
                          iana_timezone?: ...;
                          predefined_time_slots?: ...;
                          site_id: ...;
                          site_name: ...;
                      };
                      ecobee_metadata?: {
                          device_name: ...;
                          ecobee_device_id: ...;
                      };
                      four_suites_metadata?: {
                          device_id: ...;
                          device_name: ...;
                          reclose_delay_in_seconds: ...;
                      };
                      genie_metadata?: {
                          device_name: ...;
                          door_name: ...;
                      };
                      honeywell_resideo_metadata?: {
                          device_name: ...;
                          honeywell_resideo_device_id: ...;
                      };
                      hubitat_metadata?: {
                          device_id: ...;
                          device_label: ...;
                          device_name: ...;
                      };
                      igloo_metadata?: {
                          bridge_id: ...;
                          device_id: ...;
                          model?: ...;
                      };
                      igloohome_metadata?: {
                          bridge_id?: ...;
                          bridge_name?: ...;
                          device_id: ...;
                          device_name: ...;
                          keypad_id?: ...;
                      };
                      kwikset_metadata?: {
                          device_id: ...;
                          device_name: ...;
                          model_number: ...;
                      };
                      lockly_metadata?: {
                          device_id: ...;
                          device_name: ...;
                          model?: ...;
                      };
                      minut_metadata?: {
                          device_id: ...;
                          device_name: ...;
                          latest_sensor_values: ...;
                      };
                      nest_metadata?: {
                          device_custom_name: ...;
                          device_name: ...;
                          display_name?: ...;
                          nest_device_id: ...;
                      };
                      noiseaware_metadata?: {
                          device_id: ...;
                          device_model: ...;
                          device_name: ...;
                          noise_level_decibel: ...;
                          noise_level_nrs: ...;
                      };
                      nuki_metadata?: {
                          device_id: ...;
                          device_name: ...;
                          keypad_2_paired?: ...;
                          keypad_battery_critical?: ...;
                          keypad_paired?: ...;
                      };
                      salto_ks_metadata?: {
                          battery_level: ...;
                          customer_reference: ...;
                          lock_id: ...;
                          lock_type: ...;
                          locked_state: ...;
                          model?: ...;
                      };
                      salto_metadata?: {
                          battery_level: ...;
                          customer_reference: ...;
                          lock_id: ...;
                          lock_type: ...;
                          locked_state: ...;
                          model?: ...;
                      };
                      schlage_metadata?: {
                          device_id: ...;
                          device_name: ...;
                          model?: ...;
                      };
                      seam_bridge_metadata?: {
                          device_num: ...;
                          name: ...;
                          unlock_method?: ...;
                      };
                      sensi_metadata?: {
                          device_id: ...;
                          device_name: ...;
                          product_type: ...;
                      };
                      smartthings_metadata?: {
                          device_id: ...;
                          device_name: ...;
                          location_id?: ...;
                          model?: ...;
                      };
                      tado_metadata?: {
                          device_type: ...;
                          serial_no: ...;
                      };
                      tedee_metadata?: {
                          bridge_id: ...;
                          bridge_name: ...;
                          device_id: ...;
                          device_model: ...;
                          device_name: ...;
                          keypad_id?: ...;
                          serial_number: ...;
                      };
                      ttlock_metadata?: {
                          feature_value: ...;
                          features: ...;
                          has_gateway?: ...;
                          lock_alias: ...;
                          lock_id: ...;
                          wireless_keypads?: ...;
                      };
                      two_n_metadata?: {
                          device_id: ...;
                          device_name: ...;
                      };
                      visionline_metadata?: {
                          encoder_id: ...;
                      };
                      wyze_metadata?: {
                          device_id: ...;
                          device_info_model: ...;
                          device_name: ...;
                          keypad_uuid?: ...;
                          locker_status_hardlock?: ...;
                          product_model: ...;
                          product_name: ...;
                          product_type: ...;
                      };
                  } & {
                      _experimental_supported_code_from_access_codes_lengths?: (...)[];
                      code_constraints?: (...)[];
                      door_open?: boolean;
                      has_native_entry_events?: boolean;
                      keypad_battery?: {
                          level: ...;
                      };
                      locked?: boolean;
                      max_active_codes_supported?: number;
                      supported_code_lengths?: (...)[];
                      supports_backup_access_code_pool?: boolean;
                  } & {
                      active_thermostat_schedule?: null | {
                          climate_preset_key: ...;
                          created_at: ...;
                          device_id: ...;
                          ends_at: ...;
                          errors: ...;
                          is_override_allowed?: ...;
                          max_override_period_minutes?: ...;
                          name: ...;
                          starts_at: ...;
                          thermostat_schedule_id: ...;
                          workspace_id: ...;
                      };
                      available_climate_presets?: (...)[];
                      available_fan_mode_settings?: (...)[];
                      available_hvac_mode_settings?: (...)[];
                      current_climate_setting?: {
                          can_delete?: ...;
                          can_edit?: ...;
                          can_program?: ...;
                          climate_preset_key?: ...;
                          cooling_set_point_celsius?: ...;
                          cooling_set_point_fahrenheit?: ...;
                          display_name?: ...;
                          fan_mode_setting?: ...;
                          heating_set_point_celsius?: ...;
                          heating_set_point_fahrenheit?: ...;
                          hvac_mode_setting?: ...;
                          manual_override_allowed?: ...;
                          name?: ...;
                      };
                      default_climate_setting?: {
                          can_delete?: ...;
                          can_edit?: ...;
                          can_program?: ...;
                          climate_preset_key?: ...;
                          cooling_set_point_celsius?: ...;
                          cooling_set_point_fahrenheit?: ...;
                          display_name?: ...;
                          fan_mode_setting?: ...;
                          heating_set_point_celsius?: ...;
                          heating_set_point_fahrenheit?: ...;
                          hvac_mode_setting?: ...;
                          manual_override_allowed?: ...;
                          name?: ...;
                      };
                      fallback_climate_preset_key?: null | string;
                      fan_mode_setting?: "auto" | "on" | "circulate";
                      is_cooling?: boolean;
                      is_fan_running?: boolean;
                      is_heating?: boolean;
                      is_temporary_manual_override_active?: boolean;
                      max_cooling_set_point_celsius?: number;
                      max_cooling_set_point_fahrenheit?: number;
                      max_heating_set_point_celsius?: number;
                      max_heating_set_point_fahrenheit?: number;
                      min_cooling_set_point_celsius?: number;
                      min_cooling_set_point_fahrenheit?: number;
                      min_heating_cooling_delta_celsius?: number;
                      min_heating_cooling_delta_fahrenheit?: number;
                      min_heating_set_point_celsius?: number;
                      min_heating_set_point_fahrenheit?: number;
                      relative_humidity?: number;
                      temperature_celsius?: number;
                      temperature_fahrenheit?: number;
                      temperature_threshold?: {
                          lower_limit_celsius: ...;
                          lower_limit_fahrenheit: ...;
                          upper_limit_celsius: ...;
                          upper_limit_fahrenheit: ...;
                      };
                      thermostat_daily_programs?: (...)[];
                      thermostat_weekly_program?: null | {
                          created_at: ...;
                          friday_program_id: ...;
                          monday_program_id: ...;
                          saturday_program_id: ...;
                          sunday_program_id: ...;
                          thursday_program_id: ...;
                          tuesday_program_id: ...;
                          wednesday_program_id: ...;
                      };
                  };
                  warnings: (
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "partial_backup_access_code_pool";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "many_active_backup_codes";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "wyze_device_missing_gateway";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "functional_offline_device";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "third_party_integration_detected";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "nest_thermostat_in_manual_eco_mode";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "ttlock_lock_gateway_unlocking_not_enabled";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "ttlock_weak_gateway_signal";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "power_saving_mode";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "temperature_threshold_exceeded";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "device_communication_degraded";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "scheduled_maintenance_window";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "device_has_flaky_connection";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "salto_ks_office_mode";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "salto_ks_privacy_mode";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "salto_ks_subscription_limit_almost_reached";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "unknown_issue_with_phone";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "lockly_time_zone_not_configured";
                      })[];
                  workspace_id: string;
              }[];
          }>, "devices" | "accessible_devices">, "devices">

    • get /user_identities/list_acs_systems(): ((params?: {
          user_identity_id: string;
      }) => SeamHttpRequest<SetNonNullable<Required<{
          acs_systems: {
              acs_access_group_count?: number;
              acs_system_id: string;
              acs_user_count?: number;
              connected_account_id: string;
              connected_account_ids: string[];
              created_at: string;
              default_credential_manager_acs_system_id?: null | string;
              errors: (
                  | {
                      created_at: string;
                      error_code: "seam_bridge_disconnected";
                      message: string;
                  }
                  | {
                      created_at: string;
                      error_code: "bridge_disconnected";
                      is_bridge_error?: (...) | (...) | (...);
                      message: string;
                  }
                  | {
                      created_at: string;
                      error_code: "visionline_instance_unreachable";
                      message: string;
                  }
                  | {
                      created_at: string;
                      error_code: "salto_ks_subscription_limit_exceeded";
                      message: string;
                  }
                  | {
                      created_at: string;
                      error_code: "acs_system_disconnected";
                      message: string;
                  }
                  | {
                      created_at: string;
                      error_code: "account_disconnected";
                      message: string;
                  }
                  | {
                      created_at: string;
                      error_code: "salto_ks_certification_expired";
                      message: string;
                  })[];
              external_type?:
                  | "pti_site"
                  | "alta_org"
                  | "salto_ks_site"
                  | "salto_space_system"
                  | "brivo_account"
                  | "hid_credential_manager_organization"
                  | "visionline_system"
                  | "assa_abloy_credential_service"
                  | "latch_building"
                  | "dormakaba_community_site"
                  | "legic_connect_credential_service"
                  | "assa_abloy_vostio"
                  | "assa_abloy_vostio_credential_service";
              external_type_display_name?: string;
              image_alt_text: string;
              image_url: string;
              is_credential_manager: boolean;
              location: {
                  time_zone: null | string;
              };
              name: string;
              system_type?:
                  | "pti_site"
                  | "alta_org"
                  | "salto_ks_site"
                  | "salto_space_system"
                  | "brivo_account"
                  | "hid_credential_manager_organization"
                  | "visionline_system"
                  | "assa_abloy_credential_service"
                  | "latch_building"
                  | "dormakaba_community_site"
                  | "legic_connect_credential_service"
                  | "assa_abloy_vostio"
                  | "assa_abloy_vostio_credential_service";
              system_type_display_name?: string;
              visionline_metadata?: {
                  lan_address: string;
                  mobile_access_uuid: string;
                  system_id: string;
              };
              warnings: ({
                  created_at: string;
                  message: string;
                  warning_code: "salto_ks_subscription_limit_almost_reached";
              } | {
                  created_at: string;
                  message: string;
                  misconfigured_acs_entrance_ids?: (...) | (...);
                  warning_code: "time_zone_does_not_match_location";
              })[];
              workspace_id: string;
          }[];
      }>, "acs_systems">, "acs_systems">)
    • Returns ((params?: {
          user_identity_id: string;
      }) => SeamHttpRequest<SetNonNullable<Required<{
          acs_systems: {
              acs_access_group_count?: number;
              acs_system_id: string;
              acs_user_count?: number;
              connected_account_id: string;
              connected_account_ids: string[];
              created_at: string;
              default_credential_manager_acs_system_id?: null | string;
              errors: (
                  | {
                      created_at: string;
                      error_code: "seam_bridge_disconnected";
                      message: string;
                  }
                  | {
                      created_at: string;
                      error_code: "bridge_disconnected";
                      is_bridge_error?: (...) | (...) | (...);
                      message: string;
                  }
                  | {
                      created_at: string;
                      error_code: "visionline_instance_unreachable";
                      message: string;
                  }
                  | {
                      created_at: string;
                      error_code: "salto_ks_subscription_limit_exceeded";
                      message: string;
                  }
                  | {
                      created_at: string;
                      error_code: "acs_system_disconnected";
                      message: string;
                  }
                  | {
                      created_at: string;
                      error_code: "account_disconnected";
                      message: string;
                  }
                  | {
                      created_at: string;
                      error_code: "salto_ks_certification_expired";
                      message: string;
                  })[];
              external_type?:
                  | "pti_site"
                  | "alta_org"
                  | "salto_ks_site"
                  | "salto_space_system"
                  | "brivo_account"
                  | "hid_credential_manager_organization"
                  | "visionline_system"
                  | "assa_abloy_credential_service"
                  | "latch_building"
                  | "dormakaba_community_site"
                  | "legic_connect_credential_service"
                  | "assa_abloy_vostio"
                  | "assa_abloy_vostio_credential_service";
              external_type_display_name?: string;
              image_alt_text: string;
              image_url: string;
              is_credential_manager: boolean;
              location: {
                  time_zone: null | string;
              };
              name: string;
              system_type?:
                  | "pti_site"
                  | "alta_org"
                  | "salto_ks_site"
                  | "salto_space_system"
                  | "brivo_account"
                  | "hid_credential_manager_organization"
                  | "visionline_system"
                  | "assa_abloy_credential_service"
                  | "latch_building"
                  | "dormakaba_community_site"
                  | "legic_connect_credential_service"
                  | "assa_abloy_vostio"
                  | "assa_abloy_vostio_credential_service";
              system_type_display_name?: string;
              visionline_metadata?: {
                  lan_address: string;
                  mobile_access_uuid: string;
                  system_id: string;
              };
              warnings: ({
                  created_at: string;
                  message: string;
                  warning_code: "salto_ks_subscription_limit_almost_reached";
              } | {
                  created_at: string;
                  message: string;
                  misconfigured_acs_entrance_ids?: (...) | (...);
                  warning_code: "time_zone_does_not_match_location";
              })[];
              workspace_id: string;
          }[];
      }>, "acs_systems">, "acs_systems">)

        • (params?): SeamHttpRequest<SetNonNullable<Required<{
              acs_systems: {
                  acs_access_group_count?: number;
                  acs_system_id: string;
                  acs_user_count?: number;
                  connected_account_id: string;
                  connected_account_ids: string[];
                  created_at: string;
                  default_credential_manager_acs_system_id?: null | string;
                  errors: (
                      | {
                          created_at: string;
                          error_code: "seam_bridge_disconnected";
                          message: string;
                      }
                      | {
                          created_at: string;
                          error_code: "bridge_disconnected";
                          is_bridge_error?: (...) | (...) | (...);
                          message: string;
                      }
                      | {
                          created_at: string;
                          error_code: "visionline_instance_unreachable";
                          message: string;
                      }
                      | {
                          created_at: string;
                          error_code: "salto_ks_subscription_limit_exceeded";
                          message: string;
                      }
                      | {
                          created_at: string;
                          error_code: "acs_system_disconnected";
                          message: string;
                      }
                      | {
                          created_at: string;
                          error_code: "account_disconnected";
                          message: string;
                      }
                      | {
                          created_at: string;
                          error_code: "salto_ks_certification_expired";
                          message: string;
                      })[];
                  external_type?:
                      | "pti_site"
                      | "alta_org"
                      | "salto_ks_site"
                      | "salto_space_system"
                      | "brivo_account"
                      | "hid_credential_manager_organization"
                      | "visionline_system"
                      | "assa_abloy_credential_service"
                      | "latch_building"
                      | "dormakaba_community_site"
                      | "legic_connect_credential_service"
                      | "assa_abloy_vostio"
                      | "assa_abloy_vostio_credential_service";
                  external_type_display_name?: string;
                  image_alt_text: string;
                  image_url: string;
                  is_credential_manager: boolean;
                  location: {
                      time_zone: null | string;
                  };
                  name: string;
                  system_type?:
                      | "pti_site"
                      | "alta_org"
                      | "salto_ks_site"
                      | "salto_space_system"
                      | "brivo_account"
                      | "hid_credential_manager_organization"
                      | "visionline_system"
                      | "assa_abloy_credential_service"
                      | "latch_building"
                      | "dormakaba_community_site"
                      | "legic_connect_credential_service"
                      | "assa_abloy_vostio"
                      | "assa_abloy_vostio_credential_service";
                  system_type_display_name?: string;
                  visionline_metadata?: {
                      lan_address: string;
                      mobile_access_uuid: string;
                      system_id: string;
                  };
                  warnings: ({
                      created_at: string;
                      message: string;
                      warning_code: "salto_ks_subscription_limit_almost_reached";
                  } | {
                      created_at: string;
                      message: string;
                      misconfigured_acs_entrance_ids?: (...) | (...);
                      warning_code: "time_zone_does_not_match_location";
                  })[];
                  workspace_id: string;
              }[];
          }>, "acs_systems">, "acs_systems">
        • Parameters

          • Optionalparams: {
                user_identity_id: string;
            }
            • user_identity_id: string

              ID of the user identity for which you want to retrieve all access systems.

          Returns SeamHttpRequest<SetNonNullable<Required<{
              acs_systems: {
                  acs_access_group_count?: number;
                  acs_system_id: string;
                  acs_user_count?: number;
                  connected_account_id: string;
                  connected_account_ids: string[];
                  created_at: string;
                  default_credential_manager_acs_system_id?: null | string;
                  errors: (
                      | {
                          created_at: string;
                          error_code: "seam_bridge_disconnected";
                          message: string;
                      }
                      | {
                          created_at: string;
                          error_code: "bridge_disconnected";
                          is_bridge_error?: (...) | (...) | (...);
                          message: string;
                      }
                      | {
                          created_at: string;
                          error_code: "visionline_instance_unreachable";
                          message: string;
                      }
                      | {
                          created_at: string;
                          error_code: "salto_ks_subscription_limit_exceeded";
                          message: string;
                      }
                      | {
                          created_at: string;
                          error_code: "acs_system_disconnected";
                          message: string;
                      }
                      | {
                          created_at: string;
                          error_code: "account_disconnected";
                          message: string;
                      }
                      | {
                          created_at: string;
                          error_code: "salto_ks_certification_expired";
                          message: string;
                      })[];
                  external_type?:
                      | "pti_site"
                      | "alta_org"
                      | "salto_ks_site"
                      | "salto_space_system"
                      | "brivo_account"
                      | "hid_credential_manager_organization"
                      | "visionline_system"
                      | "assa_abloy_credential_service"
                      | "latch_building"
                      | "dormakaba_community_site"
                      | "legic_connect_credential_service"
                      | "assa_abloy_vostio"
                      | "assa_abloy_vostio_credential_service";
                  external_type_display_name?: string;
                  image_alt_text: string;
                  image_url: string;
                  is_credential_manager: boolean;
                  location: {
                      time_zone: null | string;
                  };
                  name: string;
                  system_type?:
                      | "pti_site"
                      | "alta_org"
                      | "salto_ks_site"
                      | "salto_space_system"
                      | "brivo_account"
                      | "hid_credential_manager_organization"
                      | "visionline_system"
                      | "assa_abloy_credential_service"
                      | "latch_building"
                      | "dormakaba_community_site"
                      | "legic_connect_credential_service"
                      | "assa_abloy_vostio"
                      | "assa_abloy_vostio_credential_service";
                  system_type_display_name?: string;
                  visionline_metadata?: {
                      lan_address: string;
                      mobile_access_uuid: string;
                      system_id: string;
                  };
                  warnings: ({
                      created_at: string;
                      message: string;
                      warning_code: "salto_ks_subscription_limit_almost_reached";
                  } | {
                      created_at: string;
                      message: string;
                      misconfigured_acs_entrance_ids?: (...) | (...);
                      warning_code: "time_zone_does_not_match_location";
                  })[];
                  workspace_id: string;
              }[];
          }>, "acs_systems">, "acs_systems">

    • get /user_identities/list_acs_users(): ((params?: {
          user_identity_id: string;
      }) => SeamHttpRequest<SetNonNullable<Required<{
          acs_users: {
              access_schedule?: {
                  ends_at: null | string;
                  starts_at: string;
              };
              acs_system_id: string;
              acs_user_id: string;
              connected_account_id: string;
              created_at: string;
              display_name: string;
              email?: string;
              email_address?: string;
              errors: (
                  | {
                      created_at: string;
                      error_code: "deleted_externally";
                      message: string;
                  }
                  | {
                      created_at: string;
                      error_code: "salto_ks_subscription_limit_exceeded";
                      message: string;
                  }
                  | {
                      created_at: string;
                      error_code: "failed_to_create_on_acs_system";
                      message: string;
                  }
                  | {
                      created_at: string;
                      error_code: "failed_to_update_on_acs_system";
                      message: string;
                  }
                  | {
                      created_at: string;
                      error_code: "failed_to_delete_on_acs_system";
                      message: string;
                  }
                  | {
                      created_at: string;
                      error_code: "latch_conflict_with_resident_user";
                      message: string;
                  })[];
              external_type?:
                  | "pti_user"
                  | "brivo_user"
                  | "hid_credential_manager_user"
                  | "salto_site_user"
                  | "latch_user"
                  | "dormakaba_community_user"
                  | "salto_space_user";
              external_type_display_name?: string;
              full_name?: string;
              hid_acs_system_id?: string;
              is_managed: true;
              is_suspended?: boolean;
              last_successful_sync_at: null | string;
              pending_mutations?: (
                  | {
                      created_at: ...;
                      message: ...;
                      mutation_code: ...;
                  }
                  | {
                      created_at: ...;
                      message: ...;
                      mutation_code: ...;
                  }
                  | {
                      created_at: ...;
                      from: ...;
                      message: ...;
                      mutation_code: ...;
                      to: ...;
                  }
                  | {
                      created_at: ...;
                      from: ...;
                      message: ...;
                      mutation_code: ...;
                      to: ...;
                  }
                  | {
                      created_at: ...;
                      from: ...;
                      message: ...;
                      mutation_code: ...;
                      to: ...;
                  }
                  | {
                      created_at: ...;
                      from: ...;
                      message: ...;
                      mutation_code: ...;
                      to: ...;
                  })[];
              phone_number?: string;
              user_identity_email_address?: null | string;
              user_identity_full_name?: null | string;
              user_identity_id?: string;
              user_identity_phone_number?: null | string;
              warnings: (
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "being_deleted";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "salto_ks_user_not_subscribed";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "unknown_issue_with_acs_user";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "latch_resident_user";
                  })[];
              workspace_id: string;
          }[];
      }>, "acs_users">, "acs_users">)
    • Returns ((params?: {
          user_identity_id: string;
      }) => SeamHttpRequest<SetNonNullable<Required<{
          acs_users: {
              access_schedule?: {
                  ends_at: null | string;
                  starts_at: string;
              };
              acs_system_id: string;
              acs_user_id: string;
              connected_account_id: string;
              created_at: string;
              display_name: string;
              email?: string;
              email_address?: string;
              errors: (
                  | {
                      created_at: string;
                      error_code: "deleted_externally";
                      message: string;
                  }
                  | {
                      created_at: string;
                      error_code: "salto_ks_subscription_limit_exceeded";
                      message: string;
                  }
                  | {
                      created_at: string;
                      error_code: "failed_to_create_on_acs_system";
                      message: string;
                  }
                  | {
                      created_at: string;
                      error_code: "failed_to_update_on_acs_system";
                      message: string;
                  }
                  | {
                      created_at: string;
                      error_code: "failed_to_delete_on_acs_system";
                      message: string;
                  }
                  | {
                      created_at: string;
                      error_code: "latch_conflict_with_resident_user";
                      message: string;
                  })[];
              external_type?:
                  | "pti_user"
                  | "brivo_user"
                  | "hid_credential_manager_user"
                  | "salto_site_user"
                  | "latch_user"
                  | "dormakaba_community_user"
                  | "salto_space_user";
              external_type_display_name?: string;
              full_name?: string;
              hid_acs_system_id?: string;
              is_managed: true;
              is_suspended?: boolean;
              last_successful_sync_at: null | string;
              pending_mutations?: (
                  | {
                      created_at: ...;
                      message: ...;
                      mutation_code: ...;
                  }
                  | {
                      created_at: ...;
                      message: ...;
                      mutation_code: ...;
                  }
                  | {
                      created_at: ...;
                      from: ...;
                      message: ...;
                      mutation_code: ...;
                      to: ...;
                  }
                  | {
                      created_at: ...;
                      from: ...;
                      message: ...;
                      mutation_code: ...;
                      to: ...;
                  }
                  | {
                      created_at: ...;
                      from: ...;
                      message: ...;
                      mutation_code: ...;
                      to: ...;
                  }
                  | {
                      created_at: ...;
                      from: ...;
                      message: ...;
                      mutation_code: ...;
                      to: ...;
                  })[];
              phone_number?: string;
              user_identity_email_address?: null | string;
              user_identity_full_name?: null | string;
              user_identity_id?: string;
              user_identity_phone_number?: null | string;
              warnings: (
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "being_deleted";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "salto_ks_user_not_subscribed";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "unknown_issue_with_acs_user";
                  }
                  | {
                      created_at: string;
                      message: string;
                      warning_code: "latch_resident_user";
                  })[];
              workspace_id: string;
          }[];
      }>, "acs_users">, "acs_users">)

        • (params?): SeamHttpRequest<SetNonNullable<Required<{
              acs_users: {
                  access_schedule?: {
                      ends_at: null | string;
                      starts_at: string;
                  };
                  acs_system_id: string;
                  acs_user_id: string;
                  connected_account_id: string;
                  created_at: string;
                  display_name: string;
                  email?: string;
                  email_address?: string;
                  errors: (
                      | {
                          created_at: string;
                          error_code: "deleted_externally";
                          message: string;
                      }
                      | {
                          created_at: string;
                          error_code: "salto_ks_subscription_limit_exceeded";
                          message: string;
                      }
                      | {
                          created_at: string;
                          error_code: "failed_to_create_on_acs_system";
                          message: string;
                      }
                      | {
                          created_at: string;
                          error_code: "failed_to_update_on_acs_system";
                          message: string;
                      }
                      | {
                          created_at: string;
                          error_code: "failed_to_delete_on_acs_system";
                          message: string;
                      }
                      | {
                          created_at: string;
                          error_code: "latch_conflict_with_resident_user";
                          message: string;
                      })[];
                  external_type?:
                      | "pti_user"
                      | "brivo_user"
                      | "hid_credential_manager_user"
                      | "salto_site_user"
                      | "latch_user"
                      | "dormakaba_community_user"
                      | "salto_space_user";
                  external_type_display_name?: string;
                  full_name?: string;
                  hid_acs_system_id?: string;
                  is_managed: true;
                  is_suspended?: boolean;
                  last_successful_sync_at: null | string;
                  pending_mutations?: (
                      | {
                          created_at: ...;
                          message: ...;
                          mutation_code: ...;
                      }
                      | {
                          created_at: ...;
                          message: ...;
                          mutation_code: ...;
                      }
                      | {
                          created_at: ...;
                          from: ...;
                          message: ...;
                          mutation_code: ...;
                          to: ...;
                      }
                      | {
                          created_at: ...;
                          from: ...;
                          message: ...;
                          mutation_code: ...;
                          to: ...;
                      }
                      | {
                          created_at: ...;
                          from: ...;
                          message: ...;
                          mutation_code: ...;
                          to: ...;
                      }
                      | {
                          created_at: ...;
                          from: ...;
                          message: ...;
                          mutation_code: ...;
                          to: ...;
                      })[];
                  phone_number?: string;
                  user_identity_email_address?: null | string;
                  user_identity_full_name?: null | string;
                  user_identity_id?: string;
                  user_identity_phone_number?: null | string;
                  warnings: (
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "being_deleted";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "salto_ks_user_not_subscribed";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "unknown_issue_with_acs_user";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "latch_resident_user";
                      })[];
                  workspace_id: string;
              }[];
          }>, "acs_users">, "acs_users">
        • Parameters

          • Optionalparams: {
                user_identity_id: string;
            }
            • user_identity_id: string

              ID of the user identity for which you want to retrieve all access system users.

          Returns SeamHttpRequest<SetNonNullable<Required<{
              acs_users: {
                  access_schedule?: {
                      ends_at: null | string;
                      starts_at: string;
                  };
                  acs_system_id: string;
                  acs_user_id: string;
                  connected_account_id: string;
                  created_at: string;
                  display_name: string;
                  email?: string;
                  email_address?: string;
                  errors: (
                      | {
                          created_at: string;
                          error_code: "deleted_externally";
                          message: string;
                      }
                      | {
                          created_at: string;
                          error_code: "salto_ks_subscription_limit_exceeded";
                          message: string;
                      }
                      | {
                          created_at: string;
                          error_code: "failed_to_create_on_acs_system";
                          message: string;
                      }
                      | {
                          created_at: string;
                          error_code: "failed_to_update_on_acs_system";
                          message: string;
                      }
                      | {
                          created_at: string;
                          error_code: "failed_to_delete_on_acs_system";
                          message: string;
                      }
                      | {
                          created_at: string;
                          error_code: "latch_conflict_with_resident_user";
                          message: string;
                      })[];
                  external_type?:
                      | "pti_user"
                      | "brivo_user"
                      | "hid_credential_manager_user"
                      | "salto_site_user"
                      | "latch_user"
                      | "dormakaba_community_user"
                      | "salto_space_user";
                  external_type_display_name?: string;
                  full_name?: string;
                  hid_acs_system_id?: string;
                  is_managed: true;
                  is_suspended?: boolean;
                  last_successful_sync_at: null | string;
                  pending_mutations?: (
                      | {
                          created_at: ...;
                          message: ...;
                          mutation_code: ...;
                      }
                      | {
                          created_at: ...;
                          message: ...;
                          mutation_code: ...;
                      }
                      | {
                          created_at: ...;
                          from: ...;
                          message: ...;
                          mutation_code: ...;
                          to: ...;
                      }
                      | {
                          created_at: ...;
                          from: ...;
                          message: ...;
                          mutation_code: ...;
                          to: ...;
                      }
                      | {
                          created_at: ...;
                          from: ...;
                          message: ...;
                          mutation_code: ...;
                          to: ...;
                      }
                      | {
                          created_at: ...;
                          from: ...;
                          message: ...;
                          mutation_code: ...;
                          to: ...;
                      })[];
                  phone_number?: string;
                  user_identity_email_address?: null | string;
                  user_identity_full_name?: null | string;
                  user_identity_id?: string;
                  user_identity_phone_number?: null | string;
                  warnings: (
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "being_deleted";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "salto_ks_user_not_subscribed";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "unknown_issue_with_acs_user";
                      }
                      | {
                          created_at: string;
                          message: string;
                          warning_code: "latch_resident_user";
                      })[];
                  workspace_id: string;
              }[];
          }>, "acs_users">, "acs_users">

    • get /user_identities/remove_acs_user(): ((params?: {
          acs_user_id: string;
          user_identity_id: string;
      }) => SeamHttpRequest<void, undefined>)
    • Returns ((params?: {
          acs_user_id: string;
          user_identity_id: string;
      }) => SeamHttpRequest<void, undefined>)

        • (params?): SeamHttpRequest<void, undefined>
        • Parameters

          • Optionalparams: {
                acs_user_id: string;
                user_identity_id: string;
            }
            • acs_user_id: string

              ID of the access system user that you want to remove from the user identity..

            • user_identity_id: string

              ID of the user identity from which you want to remove an access system user.

          Returns SeamHttpRequest<void, undefined>

    • get /user_identities/revoke_access_to_device(): ((params?: {
          device_id: string;
          user_identity_id: string;
      }) => SeamHttpRequest<void, undefined>)
    • Returns ((params?: {
          device_id: string;
          user_identity_id: string;
      }) => SeamHttpRequest<void, undefined>)

        • (params?): SeamHttpRequest<void, undefined>
        • Parameters

          • Optionalparams: {
                device_id: string;
                user_identity_id: string;
            }
            • device_id: string

              ID of the managed device to which you want to revoke access from the user identity.

            • user_identity_id: string

              ID of the user identity from which you want to revoke access to a device.

          Returns SeamHttpRequest<void, undefined>

    • get /user_identities/update(): ((body?: {
          email_address?: null | string;
          full_name?: null | string;
          phone_number?: null | string;
          user_identity_id: string;
          user_identity_key?: null | string;
      }) => SeamHttpRequest<void, undefined>)
    • Returns ((body?: {
          email_address?: null | string;
          full_name?: null | string;
          phone_number?: null | string;
          user_identity_id: string;
          user_identity_key?: null | string;
      }) => SeamHttpRequest<void, undefined>)

        • (body?): SeamHttpRequest<void, undefined>
        • Parameters

          • Optionalbody: {
                email_address?: null | string;
                full_name?: null | string;
                phone_number?: null | string;
                user_identity_id: string;
                user_identity_key?: null | string;
            }
            • Optionalemail_address?: null | string

              Unique email address for the user identity.

            • Optionalfull_name?: null | string

              Full name of the user associated with the user identity.

            • Optionalphone_number?: null | string

              Unique phone number for the user identity.

            • user_identity_id: string

              ID of the user identity that you want to update.

            • Optionaluser_identity_key?: null | string

              Unique key for the user identity.

          Returns SeamHttpRequest<void, undefined>

    • get /webhooks/create(): ((body?: {
          event_types?: string[];
          url: string;
      }) => SeamHttpRequest<SetNonNullable<Required<{
          webhook: {
              event_types?: string[];
              secret?: string;
              url: string;
              webhook_id: string;
          };
      }>, "webhook">, "webhook">)
    • Returns ((body?: {
          event_types?: string[];
          url: string;
      }) => SeamHttpRequest<SetNonNullable<Required<{
          webhook: {
              event_types?: string[];
              secret?: string;
              url: string;
              webhook_id: string;
          };
      }>, "webhook">, "webhook">)

        • (body?): SeamHttpRequest<SetNonNullable<Required<{
              webhook: {
                  event_types?: string[];
                  secret?: string;
                  url: string;
                  webhook_id: string;
              };
          }>, "webhook">, "webhook">
        • Parameters

          • Optionalbody: {
                event_types?: string[];
                url: string;
            }
            • Optionalevent_types?: string[]

              Types of events that you want the new webhook to receive.

            • url: string

              URL for the new webhook.

          Returns SeamHttpRequest<SetNonNullable<Required<{
              webhook: {
                  event_types?: string[];
                  secret?: string;
                  url: string;
                  webhook_id: string;
              };
          }>, "webhook">, "webhook">

    • get /webhooks/delete(): ((params?: {
          webhook_id: string;
      }) => SeamHttpRequest<void, undefined>)
    • Returns ((params?: {
          webhook_id: string;
      }) => SeamHttpRequest<void, undefined>)

        • (params?): SeamHttpRequest<void, undefined>
        • Parameters

          • Optionalparams: {
                webhook_id: string;
            }
            • webhook_id: string

              ID of the webhook that you want to delete.

          Returns SeamHttpRequest<void, undefined>

    • get /webhooks/get(): ((params?: {
          webhook_id: string;
      }) => SeamHttpRequest<SetNonNullable<Required<{
          webhook: {
              event_types?: string[];
              secret?: string;
              url: string;
              webhook_id: string;
          };
      }>, "webhook">, "webhook">)
    • Returns ((params?: {
          webhook_id: string;
      }) => SeamHttpRequest<SetNonNullable<Required<{
          webhook: {
              event_types?: string[];
              secret?: string;
              url: string;
              webhook_id: string;
          };
      }>, "webhook">, "webhook">)

        • (params?): SeamHttpRequest<SetNonNullable<Required<{
              webhook: {
                  event_types?: string[];
                  secret?: string;
                  url: string;
                  webhook_id: string;
              };
          }>, "webhook">, "webhook">
        • Parameters

          • Optionalparams: {
                webhook_id: string;
            }
            • webhook_id: string

              ID of the webhook that you want to get.

          Returns SeamHttpRequest<SetNonNullable<Required<{
              webhook: {
                  event_types?: string[];
                  secret?: string;
                  url: string;
                  webhook_id: string;
              };
          }>, "webhook">, "webhook">

    • get /webhooks/list(): ((params?: {}) => SeamHttpRequest<SetNonNullable<Required<{
          webhooks: {
              event_types?: string[];
              secret?: string;
              url: string;
              webhook_id: string;
          }[];
      }>, "webhooks">, "webhooks">)
    • Returns ((params?: {}) => SeamHttpRequest<SetNonNullable<Required<{
          webhooks: {
              event_types?: string[];
              secret?: string;
              url: string;
              webhook_id: string;
          }[];
      }>, "webhooks">, "webhooks">)

        • (params?): SeamHttpRequest<SetNonNullable<Required<{
              webhooks: {
                  event_types?: string[];
                  secret?: string;
                  url: string;
                  webhook_id: string;
              }[];
          }>, "webhooks">, "webhooks">
        • Parameters

          • Optionalparams: {}

            Returns SeamHttpRequest<SetNonNullable<Required<{
                webhooks: {
                    event_types?: string[];
                    secret?: string;
                    url: string;
                    webhook_id: string;
                }[];
            }>, "webhooks">, "webhooks">

      • get /webhooks/update(): ((body?: {
            event_types: string[];
            webhook_id: string;
        }) => SeamHttpRequest<void, undefined>)
      • Returns ((body?: {
            event_types: string[];
            webhook_id: string;
        }) => SeamHttpRequest<void, undefined>)

          • (body?): SeamHttpRequest<void, undefined>
          • Parameters

            • Optionalbody: {
                  event_types: string[];
                  webhook_id: string;
              }
              • event_types: string[]

                Types of events that you want the webhook to receive.

              • webhook_id: string

                ID of the webhook that you want to update.

            Returns SeamHttpRequest<void, undefined>

      • get /workspaces/create(): ((body?: {
            company_name?: string;
            connect_partner_name?: null | string;
            connect_webview_customization?: {
                logo_shape?: null | "circle" | "square";
                primary_button_color?: null | string;
                primary_button_text_color?: null | string;
                success_message?: null | string;
            };
            is_sandbox?: boolean;
            name: string;
            webview_logo_shape?: "circle" | "square";
            webview_primary_button_color?: string;
            webview_primary_button_text_color?: string;
            webview_success_message?: string;
        }) => SeamHttpRequest<SetNonNullable<Required<{
            workspace: {
                company_name: string;
                connect_partner_name: null | string;
                connect_webview_customization: {
                    inviter_logo_url?: string;
                    logo_shape?: "circle" | "square";
                    primary_button_color?: string;
                    primary_button_text_color?: string;
                    success_message?: string;
                };
                is_sandbox: boolean;
                is_suspended: boolean;
                name: string;
                workspace_id: string;
            };
        }>, "workspace">, "workspace">)
      • Returns ((body?: {
            company_name?: string;
            connect_partner_name?: null | string;
            connect_webview_customization?: {
                logo_shape?: null | "circle" | "square";
                primary_button_color?: null | string;
                primary_button_text_color?: null | string;
                success_message?: null | string;
            };
            is_sandbox?: boolean;
            name: string;
            webview_logo_shape?: "circle" | "square";
            webview_primary_button_color?: string;
            webview_primary_button_text_color?: string;
            webview_success_message?: string;
        }) => SeamHttpRequest<SetNonNullable<Required<{
            workspace: {
                company_name: string;
                connect_partner_name: null | string;
                connect_webview_customization: {
                    inviter_logo_url?: string;
                    logo_shape?: "circle" | "square";
                    primary_button_color?: string;
                    primary_button_text_color?: string;
                    success_message?: string;
                };
                is_sandbox: boolean;
                is_suspended: boolean;
                name: string;
                workspace_id: string;
            };
        }>, "workspace">, "workspace">)

          • (body?): SeamHttpRequest<SetNonNullable<Required<{
                workspace: {
                    company_name: string;
                    connect_partner_name: null | string;
                    connect_webview_customization: {
                        inviter_logo_url?: string;
                        logo_shape?: "circle" | "square";
                        primary_button_color?: string;
                        primary_button_text_color?: string;
                        success_message?: string;
                    };
                    is_sandbox: boolean;
                    is_suspended: boolean;
                    name: string;
                    workspace_id: string;
                };
            }>, "workspace">, "workspace">
          • Parameters

            • Optionalbody: {
                  company_name?: string;
                  connect_partner_name?: null | string;
                  connect_webview_customization?: {
                      logo_shape?: null | "circle" | "square";
                      primary_button_color?: null | string;
                      primary_button_text_color?: null | string;
                      success_message?: null | string;
                  };
                  is_sandbox?: boolean;
                  name: string;
                  webview_logo_shape?: "circle" | "square";
                  webview_primary_button_color?: string;
                  webview_primary_button_text_color?: string;
                  webview_success_message?: string;
              }
              • Optionalcompany_name?: string

                Company name for the new workspace.

              • Optionalconnect_partner_name?: null | string

                Connect partner name for the new workspace.

              • Optionalconnect_webview_customization?: {
                    logo_shape?: null | "circle" | "square";
                    primary_button_color?: null | string;
                    primary_button_text_color?: null | string;
                    success_message?: null | string;
                }

                Connect Webview customizations for the new workspace. See also Customize the Look and Feel of Your Connect Webviews.

              • Optionalis_sandbox?: boolean

                Indicates whether the new workspace is a sandbox workspace.

              • name: string

                Name of the new workspace.

              • Optionalwebview_logo_shape?: "circle" | "square"

                Use connect_webview_customization.webview_logo_shape instead.

              • Optionalwebview_primary_button_color?: string

                Use connect_webview_customization.webview_primary_button_color instead.

              • Optionalwebview_primary_button_text_color?: string

                Use connect_webview_customization.webview_primary_button_text_color instead.

              • Optionalwebview_success_message?: string

                Use connect_webview_customization.webview_success_message instead.

            Returns SeamHttpRequest<SetNonNullable<Required<{
                workspace: {
                    company_name: string;
                    connect_partner_name: null | string;
                    connect_webview_customization: {
                        inviter_logo_url?: string;
                        logo_shape?: "circle" | "square";
                        primary_button_color?: string;
                        primary_button_text_color?: string;
                        success_message?: string;
                    };
                    is_sandbox: boolean;
                    is_suspended: boolean;
                    name: string;
                    workspace_id: string;
                };
            }>, "workspace">, "workspace">

      • get /workspaces/get(): ((params?: {}) => SeamHttpRequest<SetNonNullable<Required<{
            workspace: {
                company_name: string;
                connect_partner_name: null | string;
                connect_webview_customization: {
                    inviter_logo_url?: string;
                    logo_shape?: "circle" | "square";
                    primary_button_color?: string;
                    primary_button_text_color?: string;
                    success_message?: string;
                };
                is_sandbox: boolean;
                is_suspended: boolean;
                name: string;
                workspace_id: string;
            };
        }>, "workspace">, "workspace">)
      • Returns ((params?: {}) => SeamHttpRequest<SetNonNullable<Required<{
            workspace: {
                company_name: string;
                connect_partner_name: null | string;
                connect_webview_customization: {
                    inviter_logo_url?: string;
                    logo_shape?: "circle" | "square";
                    primary_button_color?: string;
                    primary_button_text_color?: string;
                    success_message?: string;
                };
                is_sandbox: boolean;
                is_suspended: boolean;
                name: string;
                workspace_id: string;
            };
        }>, "workspace">, "workspace">)

          • (params?): SeamHttpRequest<SetNonNullable<Required<{
                workspace: {
                    company_name: string;
                    connect_partner_name: null | string;
                    connect_webview_customization: {
                        inviter_logo_url?: string;
                        logo_shape?: "circle" | "square";
                        primary_button_color?: string;
                        primary_button_text_color?: string;
                        success_message?: string;
                    };
                    is_sandbox: boolean;
                    is_suspended: boolean;
                    name: string;
                    workspace_id: string;
                };
            }>, "workspace">, "workspace">
          • Parameters

            • Optionalparams: {}

              Returns SeamHttpRequest<SetNonNullable<Required<{
                  workspace: {
                      company_name: string;
                      connect_partner_name: null | string;
                      connect_webview_customization: {
                          inviter_logo_url?: string;
                          logo_shape?: "circle" | "square";
                          primary_button_color?: string;
                          primary_button_text_color?: string;
                          success_message?: string;
                      };
                      is_sandbox: boolean;
                      is_suspended: boolean;
                      name: string;
                      workspace_id: string;
                  };
              }>, "workspace">, "workspace">

        • get /workspaces/list(): ((params?: {}) => SeamHttpRequest<SetNonNullable<Required<{
              workspaces: {
                  company_name: string;
                  connect_partner_name: null | string;
                  connect_webview_customization: {
                      inviter_logo_url?: string;
                      logo_shape?: "circle" | "square";
                      primary_button_color?: string;
                      primary_button_text_color?: string;
                      success_message?: string;
                  };
                  is_sandbox: boolean;
                  is_suspended: boolean;
                  name: string;
                  workspace_id: string;
              }[];
          }>, "workspaces">, "workspaces">)
        • Returns ((params?: {}) => SeamHttpRequest<SetNonNullable<Required<{
              workspaces: {
                  company_name: string;
                  connect_partner_name: null | string;
                  connect_webview_customization: {
                      inviter_logo_url?: string;
                      logo_shape?: "circle" | "square";
                      primary_button_color?: string;
                      primary_button_text_color?: string;
                      success_message?: string;
                  };
                  is_sandbox: boolean;
                  is_suspended: boolean;
                  name: string;
                  workspace_id: string;
              }[];
          }>, "workspaces">, "workspaces">)

            • (params?): SeamHttpRequest<SetNonNullable<Required<{
                  workspaces: {
                      company_name: string;
                      connect_partner_name: null | string;
                      connect_webview_customization: {
                          inviter_logo_url?: string;
                          logo_shape?: "circle" | "square";
                          primary_button_color?: string;
                          primary_button_text_color?: string;
                          success_message?: string;
                      };
                      is_sandbox: boolean;
                      is_suspended: boolean;
                      name: string;
                      workspace_id: string;
                  }[];
              }>, "workspaces">, "workspaces">
            • Parameters

              • Optionalparams: {}

                Returns SeamHttpRequest<SetNonNullable<Required<{
                    workspaces: {
                        company_name: string;
                        connect_partner_name: null | string;
                        connect_webview_customization: {
                            inviter_logo_url?: string;
                            logo_shape?: "circle" | "square";
                            primary_button_color?: string;
                            primary_button_text_color?: string;
                            success_message?: string;
                        };
                        is_sandbox: boolean;
                        is_suspended: boolean;
                        name: string;
                        workspace_id: string;
                    }[];
                }>, "workspaces">, "workspaces">

          • get /workspaces/reset_sandbox(): ((body?: {}, options?: WorkspacesResetSandboxOptions) => SeamHttpRequest<SetNonNullable<Required<{
                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: (...) | (...);
                                created_at: (...) | (...);
                                ends_at: (...) | (...);
                                is_issued: (...) | (...) | (...);
                                starts_at: (...) | (...);
                                visionline_metadata?: (...) | (...);
                            };
                            acs_credential_on_seam: null | {
                                access_method: (...) | (...) | (...);
                                acs_credential_id: string;
                                acs_credential_pool_id?: (...) | (...);
                                acs_system_id: string;
                                acs_user_id?: (...) | (...);
                                assa_abloy_vostio_metadata?: (...) | (...);
                                card_number?: (...) | (...) | (...);
                                code?: (...) | (...) | (...);
                                created_at: string;
                                display_name: string;
                                ends_at?: (...) | (...);
                                errors: (...)[];
                                external_type?:
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...);
                                external_type_display_name?: (...) | (...);
                                is_issued?: (...) | (...) | (...);
                                is_latest_desired_state_synced_with_provider?:
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...);
                                is_managed: true;
                                is_multi_phone_sync_credential?: (...) | (...) | (...);
                                is_one_time_use?: (...) | (...) | (...);
                                issued_at?: (...) | (...) | (...);
                                latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                                parent_acs_credential_id?: (...) | (...);
                                starts_at?: (...) | (...);
                                visionline_metadata?: (...) | (...);
                                warnings: (...)[];
                                workspace_id: string;
                            } | {
                                access_method: (...) | (...) | (...);
                                acs_credential_id: string;
                                acs_credential_pool_id?: (...) | (...);
                                acs_system_id: string;
                                acs_user_id?: (...) | (...);
                                assa_abloy_vostio_metadata?: (...) | (...);
                                card_number?: (...) | (...) | (...);
                                code?: (...) | (...) | (...);
                                created_at: string;
                                display_name: string;
                                ends_at?: (...) | (...);
                                errors: (...)[];
                                external_type?:
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...);
                                external_type_display_name?: (...) | (...);
                                is_issued?: (...) | (...) | (...);
                                is_latest_desired_state_synced_with_provider?:
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...);
                                is_managed: false;
                                is_multi_phone_sync_credential?: (...) | (...) | (...);
                                is_one_time_use?: (...) | (...) | (...);
                                issued_at?: (...) | (...) | (...);
                                latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                                parent_acs_credential_id?: (...) | (...);
                                starts_at?: (...) | (...);
                                visionline_metadata?: (...) | (...);
                                warnings: (...)[];
                                workspace_id: string;
                            };
                            warnings: {
                                warning_code: (...) | (...);
                                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_ACCESS_METHOD";
                        error: null;
                        result: null;
                        status: "pending";
                    }
                    | {
                        action_attempt_id: string;
                        action_type: "ENCODE_ACCESS_METHOD";
                        error: null;
                        result: {
                            access_method_id: string;
                            created_at: string;
                            display_name: string;
                            instant_key_url?: string;
                            is_card_encoding_required?: boolean;
                            issued_at?: string;
                            mode: "code" | "card" | "mobile_key";
                            workspace_id: string;
                        };
                        status: "success";
                    }
                    | {
                        action_attempt_id: string;
                        action_type: "ENCODE_ACCESS_METHOD";
                        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: "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?: {
                                auto_join?: ...;
                                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"
                                | "latch_access";
                            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?: {
                                auto_join?: ...;
                                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"
                                | "latch_access";
                            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;
                        };
                        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: "SIMULATE_KEYPAD_CODE_ENTRY";
                        error: null;
                        result: null;
                        status: "pending";
                    }
                    | {
                        action_attempt_id: string;
                        action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                        error: null;
                        result: {};
                        status: "success";
                    }
                    | {
                        action_attempt_id: string;
                        action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                        error: {
                            message: string;
                            type: string;
                        };
                        result: null;
                        status: "error";
                    }
                    | {
                        action_attempt_id: string;
                        action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                        error: null;
                        result: null;
                        status: "pending";
                    }
                    | {
                        action_attempt_id: string;
                        action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                        error: null;
                        result: {};
                        status: "success";
                    }
                    | {
                        action_attempt_id: string;
                        action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                        error: {
                            message: string;
                            type: string;
                        };
                        result: null;
                        status: "error";
                    }
                    | {
                        action_attempt_id: string;
                        action_type: "PUSH_THERMOSTAT_PROGRAMS";
                        error: null;
                        result: null;
                        status: "pending";
                    }
                    | {
                        action_attempt_id: string;
                        action_type: "PUSH_THERMOSTAT_PROGRAMS";
                        error: null;
                        result: {};
                        status: "success";
                    }
                    | {
                        action_attempt_id: string;
                        action_type: "PUSH_THERMOSTAT_PROGRAMS";
                        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";
                    };
            }>, "action_attempt">, "action_attempt">)
          • Returns ((body?: {}, options?: WorkspacesResetSandboxOptions) => SeamHttpRequest<SetNonNullable<Required<{
                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: (...) | (...);
                                created_at: (...) | (...);
                                ends_at: (...) | (...);
                                is_issued: (...) | (...) | (...);
                                starts_at: (...) | (...);
                                visionline_metadata?: (...) | (...);
                            };
                            acs_credential_on_seam: null | {
                                access_method: (...) | (...) | (...);
                                acs_credential_id: string;
                                acs_credential_pool_id?: (...) | (...);
                                acs_system_id: string;
                                acs_user_id?: (...) | (...);
                                assa_abloy_vostio_metadata?: (...) | (...);
                                card_number?: (...) | (...) | (...);
                                code?: (...) | (...) | (...);
                                created_at: string;
                                display_name: string;
                                ends_at?: (...) | (...);
                                errors: (...)[];
                                external_type?:
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...);
                                external_type_display_name?: (...) | (...);
                                is_issued?: (...) | (...) | (...);
                                is_latest_desired_state_synced_with_provider?:
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...);
                                is_managed: true;
                                is_multi_phone_sync_credential?: (...) | (...) | (...);
                                is_one_time_use?: (...) | (...) | (...);
                                issued_at?: (...) | (...) | (...);
                                latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                                parent_acs_credential_id?: (...) | (...);
                                starts_at?: (...) | (...);
                                visionline_metadata?: (...) | (...);
                                warnings: (...)[];
                                workspace_id: string;
                            } | {
                                access_method: (...) | (...) | (...);
                                acs_credential_id: string;
                                acs_credential_pool_id?: (...) | (...);
                                acs_system_id: string;
                                acs_user_id?: (...) | (...);
                                assa_abloy_vostio_metadata?: (...) | (...);
                                card_number?: (...) | (...) | (...);
                                code?: (...) | (...) | (...);
                                created_at: string;
                                display_name: string;
                                ends_at?: (...) | (...);
                                errors: (...)[];
                                external_type?:
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...);
                                external_type_display_name?: (...) | (...);
                                is_issued?: (...) | (...) | (...);
                                is_latest_desired_state_synced_with_provider?:
                                    | (...)
                                    | (...)
                                    | (...)
                                    | (...);
                                is_managed: false;
                                is_multi_phone_sync_credential?: (...) | (...) | (...);
                                is_one_time_use?: (...) | (...) | (...);
                                issued_at?: (...) | (...) | (...);
                                latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                                parent_acs_credential_id?: (...) | (...);
                                starts_at?: (...) | (...);
                                visionline_metadata?: (...) | (...);
                                warnings: (...)[];
                                workspace_id: string;
                            };
                            warnings: {
                                warning_code: (...) | (...);
                                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_ACCESS_METHOD";
                        error: null;
                        result: null;
                        status: "pending";
                    }
                    | {
                        action_attempt_id: string;
                        action_type: "ENCODE_ACCESS_METHOD";
                        error: null;
                        result: {
                            access_method_id: string;
                            created_at: string;
                            display_name: string;
                            instant_key_url?: string;
                            is_card_encoding_required?: boolean;
                            issued_at?: string;
                            mode: "code" | "card" | "mobile_key";
                            workspace_id: string;
                        };
                        status: "success";
                    }
                    | {
                        action_attempt_id: string;
                        action_type: "ENCODE_ACCESS_METHOD";
                        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: "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?: {
                                auto_join?: ...;
                                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"
                                | "latch_access";
                            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?: {
                                auto_join?: ...;
                                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"
                                | "latch_access";
                            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;
                        };
                        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: "SIMULATE_KEYPAD_CODE_ENTRY";
                        error: null;
                        result: null;
                        status: "pending";
                    }
                    | {
                        action_attempt_id: string;
                        action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                        error: null;
                        result: {};
                        status: "success";
                    }
                    | {
                        action_attempt_id: string;
                        action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                        error: {
                            message: string;
                            type: string;
                        };
                        result: null;
                        status: "error";
                    }
                    | {
                        action_attempt_id: string;
                        action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                        error: null;
                        result: null;
                        status: "pending";
                    }
                    | {
                        action_attempt_id: string;
                        action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                        error: null;
                        result: {};
                        status: "success";
                    }
                    | {
                        action_attempt_id: string;
                        action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                        error: {
                            message: string;
                            type: string;
                        };
                        result: null;
                        status: "error";
                    }
                    | {
                        action_attempt_id: string;
                        action_type: "PUSH_THERMOSTAT_PROGRAMS";
                        error: null;
                        result: null;
                        status: "pending";
                    }
                    | {
                        action_attempt_id: string;
                        action_type: "PUSH_THERMOSTAT_PROGRAMS";
                        error: null;
                        result: {};
                        status: "success";
                    }
                    | {
                        action_attempt_id: string;
                        action_type: "PUSH_THERMOSTAT_PROGRAMS";
                        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";
                    };
            }>, "action_attempt">, "action_attempt">)

              • (body?, options?): SeamHttpRequest<SetNonNullable<Required<{
                    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: (...) | (...);
                                    created_at: (...) | (...);
                                    ends_at: (...) | (...);
                                    is_issued: (...) | (...) | (...);
                                    starts_at: (...) | (...);
                                    visionline_metadata?: (...) | (...);
                                };
                                acs_credential_on_seam: null | {
                                    access_method: (...) | (...) | (...);
                                    acs_credential_id: string;
                                    acs_credential_pool_id?: (...) | (...);
                                    acs_system_id: string;
                                    acs_user_id?: (...) | (...);
                                    assa_abloy_vostio_metadata?: (...) | (...);
                                    card_number?: (...) | (...) | (...);
                                    code?: (...) | (...) | (...);
                                    created_at: string;
                                    display_name: string;
                                    ends_at?: (...) | (...);
                                    errors: (...)[];
                                    external_type?:
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...);
                                    external_type_display_name?: (...) | (...);
                                    is_issued?: (...) | (...) | (...);
                                    is_latest_desired_state_synced_with_provider?:
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...);
                                    is_managed: true;
                                    is_multi_phone_sync_credential?: (...) | (...) | (...);
                                    is_one_time_use?: (...) | (...) | (...);
                                    issued_at?: (...) | (...) | (...);
                                    latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                                    parent_acs_credential_id?: (...) | (...);
                                    starts_at?: (...) | (...);
                                    visionline_metadata?: (...) | (...);
                                    warnings: (...)[];
                                    workspace_id: string;
                                } | {
                                    access_method: (...) | (...) | (...);
                                    acs_credential_id: string;
                                    acs_credential_pool_id?: (...) | (...);
                                    acs_system_id: string;
                                    acs_user_id?: (...) | (...);
                                    assa_abloy_vostio_metadata?: (...) | (...);
                                    card_number?: (...) | (...) | (...);
                                    code?: (...) | (...) | (...);
                                    created_at: string;
                                    display_name: string;
                                    ends_at?: (...) | (...);
                                    errors: (...)[];
                                    external_type?:
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...);
                                    external_type_display_name?: (...) | (...);
                                    is_issued?: (...) | (...) | (...);
                                    is_latest_desired_state_synced_with_provider?:
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...);
                                    is_managed: false;
                                    is_multi_phone_sync_credential?: (...) | (...) | (...);
                                    is_one_time_use?: (...) | (...) | (...);
                                    issued_at?: (...) | (...) | (...);
                                    latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                                    parent_acs_credential_id?: (...) | (...);
                                    starts_at?: (...) | (...);
                                    visionline_metadata?: (...) | (...);
                                    warnings: (...)[];
                                    workspace_id: string;
                                };
                                warnings: {
                                    warning_code: (...) | (...);
                                    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_ACCESS_METHOD";
                            error: null;
                            result: null;
                            status: "pending";
                        }
                        | {
                            action_attempt_id: string;
                            action_type: "ENCODE_ACCESS_METHOD";
                            error: null;
                            result: {
                                access_method_id: string;
                                created_at: string;
                                display_name: string;
                                instant_key_url?: string;
                                is_card_encoding_required?: boolean;
                                issued_at?: string;
                                mode: "code" | "card" | "mobile_key";
                                workspace_id: string;
                            };
                            status: "success";
                        }
                        | {
                            action_attempt_id: string;
                            action_type: "ENCODE_ACCESS_METHOD";
                            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: "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?: {
                                    auto_join?: ...;
                                    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"
                                    | "latch_access";
                                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?: {
                                    auto_join?: ...;
                                    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"
                                    | "latch_access";
                                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;
                            };
                            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: "SIMULATE_KEYPAD_CODE_ENTRY";
                            error: null;
                            result: null;
                            status: "pending";
                        }
                        | {
                            action_attempt_id: string;
                            action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                            error: null;
                            result: {};
                            status: "success";
                        }
                        | {
                            action_attempt_id: string;
                            action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                            error: {
                                message: string;
                                type: string;
                            };
                            result: null;
                            status: "error";
                        }
                        | {
                            action_attempt_id: string;
                            action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                            error: null;
                            result: null;
                            status: "pending";
                        }
                        | {
                            action_attempt_id: string;
                            action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                            error: null;
                            result: {};
                            status: "success";
                        }
                        | {
                            action_attempt_id: string;
                            action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                            error: {
                                message: string;
                                type: string;
                            };
                            result: null;
                            status: "error";
                        }
                        | {
                            action_attempt_id: string;
                            action_type: "PUSH_THERMOSTAT_PROGRAMS";
                            error: null;
                            result: null;
                            status: "pending";
                        }
                        | {
                            action_attempt_id: string;
                            action_type: "PUSH_THERMOSTAT_PROGRAMS";
                            error: null;
                            result: {};
                            status: "success";
                        }
                        | {
                            action_attempt_id: string;
                            action_type: "PUSH_THERMOSTAT_PROGRAMS";
                            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";
                        };
                }>, "action_attempt">, "action_attempt">
              • Parameters

                Returns SeamHttpRequest<SetNonNullable<Required<{
                    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: (...) | (...);
                                    created_at: (...) | (...);
                                    ends_at: (...) | (...);
                                    is_issued: (...) | (...) | (...);
                                    starts_at: (...) | (...);
                                    visionline_metadata?: (...) | (...);
                                };
                                acs_credential_on_seam: null | {
                                    access_method: (...) | (...) | (...);
                                    acs_credential_id: string;
                                    acs_credential_pool_id?: (...) | (...);
                                    acs_system_id: string;
                                    acs_user_id?: (...) | (...);
                                    assa_abloy_vostio_metadata?: (...) | (...);
                                    card_number?: (...) | (...) | (...);
                                    code?: (...) | (...) | (...);
                                    created_at: string;
                                    display_name: string;
                                    ends_at?: (...) | (...);
                                    errors: (...)[];
                                    external_type?:
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...);
                                    external_type_display_name?: (...) | (...);
                                    is_issued?: (...) | (...) | (...);
                                    is_latest_desired_state_synced_with_provider?:
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...);
                                    is_managed: true;
                                    is_multi_phone_sync_credential?: (...) | (...) | (...);
                                    is_one_time_use?: (...) | (...) | (...);
                                    issued_at?: (...) | (...) | (...);
                                    latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                                    parent_acs_credential_id?: (...) | (...);
                                    starts_at?: (...) | (...);
                                    visionline_metadata?: (...) | (...);
                                    warnings: (...)[];
                                    workspace_id: string;
                                } | {
                                    access_method: (...) | (...) | (...);
                                    acs_credential_id: string;
                                    acs_credential_pool_id?: (...) | (...);
                                    acs_system_id: string;
                                    acs_user_id?: (...) | (...);
                                    assa_abloy_vostio_metadata?: (...) | (...);
                                    card_number?: (...) | (...) | (...);
                                    code?: (...) | (...) | (...);
                                    created_at: string;
                                    display_name: string;
                                    ends_at?: (...) | (...);
                                    errors: (...)[];
                                    external_type?:
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...);
                                    external_type_display_name?: (...) | (...);
                                    is_issued?: (...) | (...) | (...);
                                    is_latest_desired_state_synced_with_provider?:
                                        | (...)
                                        | (...)
                                        | (...)
                                        | (...);
                                    is_managed: false;
                                    is_multi_phone_sync_credential?: (...) | (...) | (...);
                                    is_one_time_use?: (...) | (...) | (...);
                                    issued_at?: (...) | (...) | (...);
                                    latest_desired_state_synced_with_provider_at?: (...) | (...) | (...);
                                    parent_acs_credential_id?: (...) | (...);
                                    starts_at?: (...) | (...);
                                    visionline_metadata?: (...) | (...);
                                    warnings: (...)[];
                                    workspace_id: string;
                                };
                                warnings: {
                                    warning_code: (...) | (...);
                                    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_ACCESS_METHOD";
                            error: null;
                            result: null;
                            status: "pending";
                        }
                        | {
                            action_attempt_id: string;
                            action_type: "ENCODE_ACCESS_METHOD";
                            error: null;
                            result: {
                                access_method_id: string;
                                created_at: string;
                                display_name: string;
                                instant_key_url?: string;
                                is_card_encoding_required?: boolean;
                                issued_at?: string;
                                mode: "code" | "card" | "mobile_key";
                                workspace_id: string;
                            };
                            status: "success";
                        }
                        | {
                            action_attempt_id: string;
                            action_type: "ENCODE_ACCESS_METHOD";
                            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: "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?: {
                                    auto_join?: ...;
                                    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"
                                    | "latch_access";
                                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?: {
                                    auto_join?: ...;
                                    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"
                                    | "latch_access";
                                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;
                            };
                            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: "SIMULATE_KEYPAD_CODE_ENTRY";
                            error: null;
                            result: null;
                            status: "pending";
                        }
                        | {
                            action_attempt_id: string;
                            action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                            error: null;
                            result: {};
                            status: "success";
                        }
                        | {
                            action_attempt_id: string;
                            action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
                            error: {
                                message: string;
                                type: string;
                            };
                            result: null;
                            status: "error";
                        }
                        | {
                            action_attempt_id: string;
                            action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                            error: null;
                            result: null;
                            status: "pending";
                        }
                        | {
                            action_attempt_id: string;
                            action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                            error: null;
                            result: {};
                            status: "success";
                        }
                        | {
                            action_attempt_id: string;
                            action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
                            error: {
                                message: string;
                                type: string;
                            };
                            result: null;
                            status: "error";
                        }
                        | {
                            action_attempt_id: string;
                            action_type: "PUSH_THERMOSTAT_PROGRAMS";
                            error: null;
                            result: null;
                            status: "pending";
                        }
                        | {
                            action_attempt_id: string;
                            action_type: "PUSH_THERMOSTAT_PROGRAMS";
                            error: null;
                            result: {};
                            status: "success";
                        }
                        | {
                            action_attempt_id: string;
                            action_type: "PUSH_THERMOSTAT_PROGRAMS";
                            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";
                        };
                }>, "action_attempt">, "action_attempt">

          • get /workspaces/update(): ((body?: {
                connect_partner_name?: string;
                connect_webview_customization?: {
                    logo_shape?: null | "circle" | "square";
                    primary_button_color?: null | string;
                    primary_button_text_color?: null | string;
                    success_message?: null | string;
                };
                is_suspended?: boolean;
                name?: string;
            }) => SeamHttpRequest<void, undefined>)
          • Returns ((body?: {
                connect_partner_name?: string;
                connect_webview_customization?: {
                    logo_shape?: null | "circle" | "square";
                    primary_button_color?: null | string;
                    primary_button_text_color?: null | string;
                    success_message?: null | string;
                };
                is_suspended?: boolean;
                name?: string;
            }) => SeamHttpRequest<void, undefined>)

          Methods

          • Parameters

            • clientSessionToken: string

            Returns Promise<void>