Class SeamHttpConnectedAccounts
Constructors
constructor
- new SeamHttpConnectedAccounts(apiKeyOrOptions?): SeamHttpConnectedAccounts
Properties
client
client: AxiosInstance
Readonlydefaults
Methods
delete
- delete(body?): SeamHttpRequest<void, undefined>
Parameters
Optionalbody: {
connected_account_id: string;
sync?: boolean;
}connected_account_id: string
Optionalsync?: boolean
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: {
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"> 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">
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: {
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: {
custom_metadata_has?: Record<string, string | boolean>;
user_identifier_key?: string;
}Optionalcustom_metadata_has?: Record<string, string | boolean>
Optionaluser_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: {
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">
update
- update(body?): SeamHttpRequest<void, undefined>
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>
updateClientSessionToken
- updateClientSessionToken(clientSessionToken): Promise<void>
Parameters
- clientSessionToken: string
Returns Promise<void>
StaticfromClientSessionToken
- fromClientSessionToken(clientSessionToken, options?): SeamHttpConnectedAccounts
StaticfromConsoleSessionToken
- fromConsoleSessionToken(consoleSessionToken, workspaceId, options?): SeamHttpConnectedAccounts
StaticfromPersonalAccessToken
- fromPersonalAccessToken(personalAccessToken, workspaceId, options?): SeamHttpConnectedAccounts
StaticfromPublishableKey
- fromPublishableKey(publishableKey, userIdentifierKey, options?): Promise<SeamHttpConnectedAccounts>
Returns accounts whose custom_metadata contains all of the provided key/value pairs.