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 SeamHttpRequest<void, undefined>

  • 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>;
            errors?: any;
            user_identifier?: {
                api_url?: string;
                email?: string;
                exclusive?: boolean;
                phone?: string;
                username?: string;
            };
            warnings?: any;
        };
    }>, "connected_account">, "connected_account">

  • Parameters

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

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

    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>;
            errors?: any;
            user_identifier?: {
                api_url?: string;
                email?: string;
                exclusive?: boolean;
                phone?: string;
                username?: string;
            };
            warnings?: any;
        }[];
    }>, "connected_accounts">, "connected_accounts">

  • 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 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>;
            errors?: any;
            user_identifier?: {
                api_url?: string;
                email?: string;
                exclusive?: boolean;
                phone?: string;
                username?: string;
            };
            warnings?: any;
        };
    }>, "connected_account">, "connected_account">

  • Parameters

    • clientSessionToken: string

    Returns Promise<void>