Class SeamHttpConnectedAccounts
Hierarchy
- SeamHttpConnectedAccounts
Constructors
constructor
- new SeamHttpConnectedAccounts(apiKeyOrOptions?): SeamHttpConnectedAccounts
Properties
client
client: AxiosInstance
Readonly
defaults
Methods
delete
- delete(body?): Promise<void>
Parameters
Optional
body: {
connected_account_id: string;
sync?: boolean;
}
connected_account_id: string
Optional
sync?: boolean
Returns Promise<void>
get
- get(body?): Promise<{
account_type?: string;
account_type_display_name: string;
connected_account_id?: string;
created_at?: string;
custom_metadata?: Record<string, null | string | number | boolean>;
errors?: any;
user_identifier?: {
api_url?: string;
email?: string;
exclusive?: boolean;
phone?: string;
username?: string;
};
warnings?: any;
}> Returns Promise<{
account_type?: string;
account_type_display_name: string;
connected_account_id?: string;
created_at?: string;
custom_metadata?: Record<string, null | string | number | boolean>;
errors?: any;
user_identifier?: {
api_url?: string;
email?: string;
exclusive?: boolean;
phone?: string;
username?: string;
};
warnings?: any;
}>
list
- list(params?): Promise<{
account_type?: string;
account_type_display_name: string;
connected_account_id?: string;
created_at?: string;
custom_metadata?: Record<string, null | string | number | boolean>;
errors?: any;
user_identifier?: {
api_url?: string;
email?: string;
exclusive?: boolean;
phone?: string;
username?: string;
};
warnings?: any;
}[]> Returns Promise<{
account_type?: string;
account_type_display_name: string;
connected_account_id?: string;
created_at?: string;
custom_metadata?: Record<string, null | string | number | boolean>;
errors?: any;
user_identifier?: {
api_url?: string;
email?: string;
exclusive?: boolean;
phone?: string;
username?: string;
};
warnings?: any;
}[]>
Static
fromClientSessionToken
- fromClientSessionToken(clientSessionToken, options?): SeamHttpConnectedAccounts
Parameters
clientSessionToken: string
Static
fromConsoleSessionToken
- fromConsoleSessionToken(consoleSessionToken, workspaceId, options?): SeamHttpConnectedAccounts
Parameters
consoleSessionToken: string
workspaceId: string
Static
fromPersonalAccessToken
- fromPersonalAccessToken(personalAccessToken, workspaceId, options?): SeamHttpConnectedAccounts
Parameters
personalAccessToken: string
workspaceId: string
Static
fromPublishableKey
- fromPublishableKey(publishableKey, userIdentifierKey, options?): Promise<SeamHttpConnectedAccounts>
Parameters
publishableKey: string
userIdentifierKey: string