Class SeamHttpClientSessions

Constructors

Properties

client: AxiosInstance
defaults: Required<SeamHttpRequestOptions>

Methods

  • Parameters

    • Optionalbody: {
          connect_webview_ids?: string[];
          connected_account_ids?: string[];
          expires_at?: Date;
          user_identifier_key?: string;
          user_identity_ids?: string[];
      }
      • Optionalconnect_webview_ids?: string[]
      • Optionalconnected_account_ids?: string[]
      • Optionalexpires_at?: Date
      • Optionaluser_identifier_key?: string
      • Optionaluser_identity_ids?: string[]

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

  • Parameters

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

    Returns SeamHttpRequest<void, undefined>

  • Parameters

    • Optionalbody: {
          client_session_id?: string;
          user_identifier_key?: string;
      }
      • Optionalclient_session_id?: string
      • Optionaluser_identifier_key?: string

    Returns SeamHttpRequest<SetNonNullable<Required<{
        client_session: {
            client_session_id: string;
            connect_webview_ids: string[];
            connected_account_ids: string[];
            created_at: string;
            device_count: number;
            token: string;
            user_identifier_key: null | 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_ids?: string[];
      }
      • Optionalconnect_webview_ids?: string[]
      • Optionalconnected_account_ids?: string[]
      • Optionalexpires_at?: Date
      • Optionaluser_identifier_key?: string
      • Optionaluser_identity_ids?: string[]

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

  • Parameters

    • Optionalbody: {
          client_session_id?: string;
          connect_webview_ids?: string[];
          connected_account_ids?: string[];
          user_identifier_key?: string;
          user_identity_ids?: string[];
      }
      • Optionalclient_session_id?: string
      • Optionalconnect_webview_ids?: string[]
      • Optionalconnected_account_ids?: string[]
      • Optionaluser_identifier_key?: string
      • Optionaluser_identity_ids?: string[]

    Returns SeamHttpRequest<void, undefined>

  • Parameters

    • Optionalbody: {
          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
      • Optionalconnect_webview_id?: string
      • Optionaluser_identifier_key?: string
      • Optionaluser_identity_id?: string
      • Optionalwithout_user_identifier_key?: boolean

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

  • Parameters

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

    Returns SeamHttpRequest<void, undefined>

  • Parameters

    • clientSessionToken: string

    Returns Promise<void>