Class SeamHttpConnectedAccounts

Constructors

Properties

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

Methods

  • Parameters

    • Optionalparameters: {
          custom_metadata_has?: Record<string, string | boolean>;
          customer_ids?: string[];
          limit?: number;
          page_cursor?: null | string;
          user_identifier_key?: string;
      }
      • Optionalcustom_metadata_has?: Record<string, string | boolean>

        Custom metadata pairs by which you want to filter connected accounts. Returns connected accounts with custom_metadata that contains all of the provided key:value pairs.

      • Optionalcustomer_ids?: string[]
      • Optionallimit?: number

        Maximum number of records to return per page.

      • Optionalpage_cursor?: null | string

        Identifies the specific page of results to return, obtained from the previous page's next_page_cursor.

      • Optionaluser_identifier_key?: string

        Your user ID for the user by which you want to filter connected accounts.

    • options: ConnectedAccountsListOptions = {}

    Returns ConnectedAccountsListRequest

  • Parameters

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

        Indicates whether newly-added devices should appear as managed devices.

      • connected_account_id: string

        ID of the connected account that you want to update.

      • Optionalcustom_metadata?: Record<string, null | string | boolean>

        Custom metadata that you want to associate with the connected account. Supports up to 50 JSON key:value pairs. Adding custom metadata to a connected account enables you to store custom information, like customer details or internal IDs from your application. Then, you can filter connected accounts by the desired metadata.

    • options: ConnectedAccountsUpdateOptions = {}

    Returns ConnectedAccountsUpdateRequest

  • Parameters

    • clientSessionToken: string

    Returns Promise<void>