Class SeamHttpSeamMobileSdkV1PhoneSessions

Constructors

Properties

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

Methods

  • Parameters

    • Optionalbody: {
          custom_sdk_installation_id: string;
          phone_device_metadata?: {
              manufacturer?: string;
              model?: string;
              os_version?: string;
          };
          phone_os: "android" | "ios";
      }
      • custom_sdk_installation_id: string

        ID of the custom SDK installation that you want to use for the new session.

      • Optionalphone_device_metadata?: {
            manufacturer?: string;
            model?: string;
            os_version?: string;
        }

        Phone device metadata that you want to use for the new session.

        • Optionalmanufacturer?: string
        • Optionalmodel?: string
        • Optionalos_version?: string
      • phone_os: "android" | "ios"

        Phone operating system that you want to use for the new session.

    Returns SeamHttpRequest<SetNonNullable<Required<{
        phone_session: {
            provider_sessions: {
                acs_credentials: {
                    access_method: "code" | "card" | "mobile_key";
                    acs_credential_id: null | string;
                    acs_credential_pool_id?: string;
                    acs_entrances: {
                        acs_entrance_id: ...;
                        acs_system_id: ...;
                        assa_abloy_vostio_metadata?: ...;
                        connected_account_id: ...;
                        created_at: ...;
                        display_name: ...;
                        dormakaba_community_metadata?: ...;
                        errors: ...;
                        latch_metadata?: ...;
                        salto_ks_metadata?: ...;
                        salto_space_metadata?: ...;
                        visionline_metadata?: ...;
                    }[];
                    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;
                }[];
                phone_registration: {
                    is_being_activated: boolean;
                    phone_registration_id: string;
                    provider_name: null | string;
                    provider_state?: any;
                };
            }[];
        };
    }>, "phone_session">, "phone_session">

  • Parameters

    • clientSessionToken: string

    Returns Promise<void>