Class SeamHttpPhonesSimulate

Constructors

Properties

client: AxiosInstance
defaults: Required<SeamHttpRequestOptions>

Methods

  • Parameters

    • Optionalbody: {
          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;
        }
        • Optionalapplication_version?: string
        • Optionalble_capability?: boolean
        • Optionalhce_capability?: boolean
        • Optionalnfc_capability?: boolean
        • Optionalseos_applet_version?: string
        • Optionalseos_tsm_endpoint_id?: number
      • Optionalcustom_sdk_installation_id?: string
      • Optionalphone_metadata?: {
            device_manufacturer?: string;
            device_model?: string;
            operating_system?: "android" | "ios";
            os_version?: string;
        }
        • Optionaldevice_manufacturer?: string
        • Optionaldevice_model?: string
        • Optionaloperating_system?: "android" | "ios"
        • Optionalos_version?: string
      • user_identity_id: string

    Returns SeamHttpRequest<SetNonNullable<Required<{
        phone: {
            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"
                | "phone"
                | "lock"
                | "noise_detection"
                | "thermostat"
                | "battery")[];
            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;
                is_device_error: true;
                message: string;
            } | {
                error_code: string;
                is_connected_account_error: true;
                message: string;
            })[];
            is_managed: true;
            location: null | {
                location_name?: string;
                timezone?: string;
            };
            nickname?: string;
            properties: {
                assa_abloy_credential_service_metadata?: {
                    endpoints: {
                        endpoint_id: string;
                        is_active: boolean;
                    }[];
                    has_active_endpoint: boolean;
                };
            };
            warnings: {
                message: string;
                warning_code: string;
            }[];
            workspace_id: string;
        };
    }>, "phone">, "phone">

  • Parameters

    • clientSessionToken: string

    Returns Promise<void>