Constructors
constructor
- new SeamHttpWebhooks(apiKeyOrOptions?): SeamHttpWebhooks
Properties
client
client: AxiosInstance
Readonly
defaults
Methods
create
- create(body?): Promise<{
event_types?: string[];
secret?: string;
url: string;
webhook_id: string;
}> Parameters
Optional
body: {
event_types?: string[];
url: string;
}Optional
event_types?: string[]
url: string
Returns Promise<{
event_types?: string[];
secret?: string;
url: string;
webhook_id: string;
}>
delete
- delete(body?): Promise<void>
Parameters
Optional
body: {
webhook_id: string;
}
Returns Promise<void>
get
- get(body?): Promise<{
event_types?: string[];
secret?: string;
url: string;
webhook_id: string;
}> Parameters
Optional
body: {
webhook_id: string;
}
Returns Promise<{
event_types?: string[];
secret?: string;
url: string;
webhook_id: string;
}>
list
- list(body?): Promise<{
event_types?: string[];
secret?: string;
url: string;
webhook_id: string;
}[]> Returns Promise<{
event_types?: string[];
secret?: string;
url: string;
webhook_id: string;
}[]>
update
- update(body?): Promise<void>
Parameters
Optional
body: {
event_types: string[];
webhook_id: string;
}event_types: string[]
webhook_id: string
Returns Promise<void>
updateClientSessionToken
- updateClientSessionToken(clientSessionToken): Promise<void>
Parameters
- clientSessionToken: string
Returns Promise<void>
Static
fromApiKey
- fromApiKey(apiKey, options?): SeamHttpWebhooks
Static
fromClient
- fromClient(client, options?): SeamHttpWebhooks
Static
fromClientSessionToken
- fromClientSessionToken(clientSessionToken, options?): SeamHttpWebhooks
Static
fromConsoleSessionToken
- fromConsoleSessionToken(consoleSessionToken, workspaceId, options?): SeamHttpWebhooks
Static
fromPersonalAccessToken
- fromPersonalAccessToken(personalAccessToken, workspaceId, options?): SeamHttpWebhooks
Static
fromPublishableKey
- fromPublishableKey(publishableKey, userIdentifierKey, options?): Promise<SeamHttpWebhooks>