Class SeamHttpConnectedAccounts Defined in src/lib/seam/connect/routes/connected-accounts.ts:39 Constructorsconstructor new Seam Http Connected Accounts ( apiKeyOrOptions ? ) : SeamHttpConnectedAccounts Defined in src/lib/seam/connect/routes/connected-accounts.ts:43 Propertiesclient client : AxiosInstance
Defined in src/lib/seam/connect/routes/connected-accounts.ts:40 Readonly
defaults Defined in src/lib/seam/connect/routes/connected-accounts.ts:41 Methodsdelete delete ( body ? ) : SeamHttpRequest < void , undefined > Parameters Optional
body : { connected_account_id : string ; sync ?: boolean ; } connected_ account_ id : string Optional
sync ?: boolean Defined in src/lib/seam/connect/routes/connected-accounts.ts:164 get get ( body ? ) : 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 : ( | { created_at : string ; error_code : "account_disconnected" ; is_bridge_error ?: boolean ; is_connected_account_error ?: boolean ; message : string ; } | { created_at : string ; error_code : "invalid_credentials" ; is_bridge_error ?: boolean ; is_connected_account_error ?: boolean ; message : string ; } | { created_at : string ; error_code : "bridge_disconnected" ; is_bridge_error ?: boolean ; is_connected_account_error ?: boolean ; message : string ; } | { created_at : string ; error_code : "salto_ks_subscription_limit_exceeded" ; is_bridge_error ?: boolean ; is_connected_account_error ?: boolean ; message : string ; salto_ks_metadata : { sites : { site_id : ...; site_name : ...; site_user_subscription_limit : ...; subscribed_site_user_count : ...; } [] ; } ; } ) [] ; user_identifier ?: { api_url ?: string ; email ?: string ; exclusive ?: boolean ; phone ?: string ; username ?: string ; } ; warnings : ( { created_at : string ; message : string ; warning_code : "scheduled_maintenance_window" ; } | { created_at : string ; message : string ; warning_code : "unknown_issue_with_connected_account" ; } | { created_at : string ; message : string ; salto_ks_metadata : { sites : { site_id : ...; site_name : ...; site_user_subscription_limit : ...; subscribed_site_user_count : ...; } [] ; } ; warning_code : "salto_ks_subscription_limit_almost_reached" ; } ) [] ; } ; } > , "connected_account" > , "connected_account" > 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 : ( | { created_at : string ; error_code : "account_disconnected" ; is_bridge_error ?: boolean ; is_connected_account_error ?: boolean ; message : string ; } | { created_at : string ; error_code : "invalid_credentials" ; is_bridge_error ?: boolean ; is_connected_account_error ?: boolean ; message : string ; } | { created_at : string ; error_code : "bridge_disconnected" ; is_bridge_error ?: boolean ; is_connected_account_error ?: boolean ; message : string ; } | { created_at : string ; error_code : "salto_ks_subscription_limit_exceeded" ; is_bridge_error ?: boolean ; is_connected_account_error ?: boolean ; message : string ; salto_ks_metadata : { sites : { site_id : ...; site_name : ...; site_user_subscription_limit : ...; subscribed_site_user_count : ...; } [] ; } ; } ) [] ; user_identifier ?: { api_url ?: string ; email ?: string ; exclusive ?: boolean ; phone ?: string ; username ?: string ; } ; warnings : ( { created_at : string ; message : string ; warning_code : "scheduled_maintenance_window" ; } | { created_at : string ; message : string ; warning_code : "unknown_issue_with_connected_account" ; } | { created_at : string ; message : string ; salto_ks_metadata : { sites : { site_id : ...; site_name : ...; site_user_subscription_limit : ...; subscribed_site_user_count : ...; } [] ; } ; warning_code : "salto_ks_subscription_limit_almost_reached" ; } ) [] ; } ; } > , "connected_account" > , "connected_account" > Defined in src/lib/seam/connect/routes/connected-accounts.ts:175 list list ( body ? ) : 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 : ( | { created_at : string ; error_code : "account_disconnected" ; is_bridge_error ?: boolean ; is_connected_account_error ?: boolean ; message : string ; } | { created_at : string ; error_code : "invalid_credentials" ; is_bridge_error ?: boolean ; is_connected_account_error ?: boolean ; message : string ; } | { created_at : string ; error_code : "bridge_disconnected" ; is_bridge_error ?: boolean ; is_connected_account_error ?: boolean ; message : string ; } | { created_at : string ; error_code : "salto_ks_subscription_limit_exceeded" ; is_bridge_error ?: boolean ; is_connected_account_error ?: boolean ; message : string ; salto_ks_metadata : { sites : ( ...) [] ; } ; } ) [] ; user_identifier ?: { api_url ?: string ; email ?: string ; exclusive ?: boolean ; phone ?: string ; username ?: string ; } ; warnings : ( { created_at : string ; message : string ; warning_code : "scheduled_maintenance_window" ; } | { created_at : string ; message : string ; warning_code : "unknown_issue_with_connected_account" ; } | { created_at : string ; message : string ; salto_ks_metadata : { sites : ( ...) [] ; } ; warning_code : "salto_ks_subscription_limit_almost_reached" ; } ) [] ; } [] ; pagination : { has_next_page : boolean ; next_page_cursor : null | string ; next_page_url : null | string ; } ; } > , "pagination" | "connected_accounts" > , "connected_accounts" > Parameters Optional
body : { custom_metadata_has ?: Record < string , string | boolean > ; customer_ids ?: string [] ; limit ?: number ; page_cursor ?: null | string ; user_identifier_key ?: string ; } Optional
custom_ metadata_ has ?: Record < string , string | boolean > Optional
customer_ ids ?: string [] Optional
limit ?: number Optional
page_ cursor ?: null | string Optional
user_ identifier_ key ?: string 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 : ( | { created_at : string ; error_code : "account_disconnected" ; is_bridge_error ?: boolean ; is_connected_account_error ?: boolean ; message : string ; } | { created_at : string ; error_code : "invalid_credentials" ; is_bridge_error ?: boolean ; is_connected_account_error ?: boolean ; message : string ; } | { created_at : string ; error_code : "bridge_disconnected" ; is_bridge_error ?: boolean ; is_connected_account_error ?: boolean ; message : string ; } | { created_at : string ; error_code : "salto_ks_subscription_limit_exceeded" ; is_bridge_error ?: boolean ; is_connected_account_error ?: boolean ; message : string ; salto_ks_metadata : { sites : ( ...) [] ; } ; } ) [] ; user_identifier ?: { api_url ?: string ; email ?: string ; exclusive ?: boolean ; phone ?: string ; username ?: string ; } ; warnings : ( { created_at : string ; message : string ; warning_code : "scheduled_maintenance_window" ; } | { created_at : string ; message : string ; warning_code : "unknown_issue_with_connected_account" ; } | { created_at : string ; message : string ; salto_ks_metadata : { sites : ( ...) [] ; } ; warning_code : "salto_ks_subscription_limit_almost_reached" ; } ) [] ; } [] ; pagination : { has_next_page : boolean ; next_page_cursor : null | string ; next_page_url : null | string ; } ; } > , "pagination" | "connected_accounts" > , "connected_accounts" > Defined in src/lib/seam/connect/routes/connected-accounts.ts:186 sync sync ( body ? ) : SeamHttpRequest < void , undefined > Parameters Optional
body : { connected_account_id : string ; } connected_ account_ id : string Defined in src/lib/seam/connect/routes/connected-accounts.ts:197 update update ( body ? ) : SeamHttpRequest < void , undefined > 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 > Defined in src/lib/seam/connect/routes/connected-accounts.ts:206 update Client Session Token update Client Session Token ( clientSessionToken ) : Promise < void > Parameters clientSessionToken : string Returns Promise < void > Defined in src/lib/seam/connect/routes/connected-accounts.ts:145 Static
from Client Session Token from Client Session Token ( clientSessionToken , options ? ) : SeamHttpConnectedAccounts Defined in src/lib/seam/connect/routes/connected-accounts.ts:71 Static
from Console Session Token from Console Session Token ( consoleSessionToken , workspaceId , options ? ) : SeamHttpConnectedAccounts Defined in src/lib/seam/connect/routes/connected-accounts.ts:105 Static
from Personal Access Token from Personal Access Token ( personalAccessToken , workspaceId , options ? ) : SeamHttpConnectedAccounts Defined in src/lib/seam/connect/routes/connected-accounts.ts:122 Static
from Publishable Key from Publishable Key ( publishableKey , userIdentifierKey , options ? ) : Promise < SeamHttpConnectedAccounts > Defined in src/lib/seam/connect/routes/connected-accounts.ts:85
ID of the connected account that you want to delete.