Constructors
constructor
- new SeamHttpWebhooks(apiKeyOrOptions?): SeamHttpWebhooks
 
Properties
client
client: AxiosInstance
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(params?): Promise<{ 
    event_types?: string[]; 
    secret?: string; 
    url: string; 
    webhook_id: string; 
}[]> Returns Promise<{ 
    event_types?: string[]; 
    secret?: string; 
    url: string; 
    webhook_id: string; 
}[]>
Static fromApiKey
- fromApiKey(apiKey, options?): SeamHttpWebhooks
 
Static fromClient
- fromClient(client, options?): SeamHttpWebhooks
 
Static fromClientSessionToken
- fromClientSessionToken(clientSessionToken, options?): SeamHttpWebhooks
 Parameters
clientSessionToken: string
Static fromConsoleSessionToken
- fromConsoleSessionToken(consoleSessionToken, workspaceId, options?): SeamHttpWebhooks
 Parameters
consoleSessionToken: string
workspaceId: string
Static fromPersonalAccessToken
- fromPersonalAccessToken(personalAccessToken, workspaceId, options?): SeamHttpWebhooks
 Parameters
personalAccessToken: string
workspaceId: string
Static fromPublishableKey
- fromPublishableKey(publishableKey, userIdentifierKey, options?): Promise<SeamHttpWebhooks>
 Parameters
publishableKey: string
userIdentifierKey: string