Class SeamHttpConnectedAccounts

Constructors

Properties

client: AxiosInstance
defaults: Required<SeamHttpRequestOptions>

Methods

  • Parameters

    • Optional body: {
          connected_account_id: string;
          sync?: boolean;
      }
      • connected_account_id: string
      • Optional sync?: boolean

    Returns Promise<void>

  • Parameters

    Returns Promise<{
        account_type?: string;
        account_type_display_name: string;
        automatically_manage_new_devices: boolean;
        connected_account_id?: string;
        created_at?: string;
        custom_metadata?: Record<string, null | string | boolean>;
        errors?: any;
        user_identifier?: {
            api_url?: string;
            email?: string;
            exclusive?: boolean;
            phone?: string;
            username?: string;
        };
        warnings?: any;
    }>

  • Parameters

    • Optional body: {
          custom_metadata_has?: Record<string, null | string | boolean>;
      }
      • Optional custom_metadata_has?: Record<string, null | string | boolean>

        Returns devices where the account's custom_metadata contains all of the provided key/value pairs.

    Returns Promise<{
        account_type?: string;
        account_type_display_name: string;
        automatically_manage_new_devices: boolean;
        connected_account_id?: string;
        created_at?: string;
        custom_metadata?: Record<string, null | string | boolean>;
        errors?: any;
        user_identifier?: {
            api_url?: string;
            email?: string;
            exclusive?: boolean;
            phone?: string;
            username?: string;
        };
        warnings?: any;
    }[]>

  • Parameters

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

    Returns Promise<{
        account_type?: string;
        account_type_display_name: string;
        automatically_manage_new_devices: boolean;
        connected_account_id?: string;
        created_at?: string;
        custom_metadata?: Record<string, null | string | boolean>;
        errors?: any;
        user_identifier?: {
            api_url?: string;
            email?: string;
            exclusive?: boolean;
            phone?: string;
            username?: string;
        };
        warnings?: any;
    }>

  • Parameters

    • clientSessionToken: string

    Returns Promise<void>

Generated using TypeDoc