Constructors
constructor
- new SeamHttpWorkspaces(apiKeyOrOptions?): SeamHttpWorkspaces
Properties
client
client: AxiosInstance
Readonly
defaults
Methods
create
- create(body?): Promise<{
connect_partner_name: null | string;
is_sandbox: boolean;
name: string;
workspace_id: string;
}> Parameters
Optional
body: {
connect_partner_name: string;
is_sandbox?: boolean;
name: string;
webview_logo_shape?: "square" | "circle";
webview_primary_button_color?: string;
}connect_partner_name: string
Optional
is_sandbox?: boolean
name: string
Optional
webview_logo_shape?: "square" | "circle"
Optional
webview_primary_button_color?: string
Returns Promise<{
connect_partner_name: null | string;
is_sandbox: boolean;
name: string;
workspace_id: string;
}>
get
- get(body?): Promise<{
connect_partner_name: null | string;
is_sandbox: boolean;
name: string;
workspace_id: string;
}> Returns Promise<{
connect_partner_name: null | string;
is_sandbox: boolean;
name: string;
workspace_id: string;
}>
list
- list(body?): Promise<{
connect_partner_name: null | string;
is_sandbox: boolean;
name: string;
workspace_id: string;
}[]> Returns Promise<{
connect_partner_name: null | string;
is_sandbox: boolean;
name: string;
workspace_id: string;
}[]>
resetSandbox
- resetSandbox(body?): Promise<void>
Returns Promise<void>
updateClientSessionToken
- updateClientSessionToken(clientSessionToken): Promise<void>
Parameters
- clientSessionToken: string
Returns Promise<void>
Static
fromApiKey
- fromApiKey(apiKey, options?): SeamHttpWorkspaces
Static
fromClient
- fromClient(client, options?): SeamHttpWorkspaces
Static
fromClientSessionToken
- fromClientSessionToken(clientSessionToken, options?): SeamHttpWorkspaces
Static
fromConsoleSessionToken
- fromConsoleSessionToken(consoleSessionToken, workspaceId, options?): SeamHttpWorkspaces
Static
fromPersonalAccessToken
- fromPersonalAccessToken(personalAccessToken, workspaceId, options?): SeamHttpWorkspaces
Static
fromPublishableKey
- fromPublishableKey(publishableKey, userIdentifierKey, options?): Promise<SeamHttpWorkspaces>
The name shown inside the connect webview