Class SeamHttpConnectedAccounts

Constructors

Properties

client: AxiosInstance
defaults: Required<SeamHttpRequestOptions>

Methods

  • Parameters

    • Optionalbody: {
          connected_account_id: string;
          sync?: boolean;
      }
      • connected_account_id: string
      • Optionalsync?: 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: {
                error_code: string;
                is_connected_account_error: true;
                message: string;
            }[];
            user_identifier?: {
                api_url?: string;
                email?: string;
                exclusive?: boolean;
                phone?: string;
                username?: string;
            };
            warnings: {
                message: string;
                warning_code: string;
            }[];
        };
    }>, "connected_account">, "connected_account">

  • Parameters

    • Optionalbody: {
          custom_metadata_has?: Record<string, string | boolean>;
          user_identifier_key?: string;
      }
      • Optionalcustom_metadata_has?: Record<string, string | boolean>

        Returns accounts whose custom_metadata contains all of the provided key/value pairs.

      • Optionaluser_identifier_key?: string

        Returns accounts that can be accessed by the provided user_identifier_key.

    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: {
                error_code: string;
                is_connected_account_error: true;
                message: string;
            }[];
            user_identifier?: {
                api_url?: string;
                email?: string;
                exclusive?: boolean;
                phone?: string;
                username?: string;
            };
            warnings: {
                message: string;
                warning_code: string;
            }[];
        }[];
    }>, "connected_accounts">, "connected_accounts">

  • Parameters

    • Optionalbody: {
          automatically_manage_new_devices?: boolean;
          connected_account_id: string;
          custom_metadata?: Record<string, null | string | boolean>;
      }
      • Optionalautomatically_manage_new_devices?: boolean
      • connected_account_id: string
      • Optionalcustom_metadata?: Record<string, null | string | boolean>

    Returns SeamHttpRequest<void, undefined>

  • Parameters

    • clientSessionToken: string

    Returns Promise<void>