Properties
Private owner_id
owner_id: string
Private token
token: string
Methods
addSendingDomain
- addSendingDomain(domain: string): Promise<void>
Parameters
Returns Promise<void>
addSmtpUser
Parameters
hourly_limit: number
total_limit: number
addTrackingDomain
- addTrackingDomain(domain: string): Promise<void>
Parameters
Returns Promise<void>
addWebhook
- addWebhook(url: string, events?: ValidEvents, description?: string, store_log?: string): Promise<void>
Parameters
url: string
Optional description: string
Optional store_log: string
Returns Promise<void>
composeMail
Parameters
Returns Promise<void>
deleteSendingDomain
- deleteSendingDomain(domain: string): Promise<void>
Parameters
Returns Promise<void>
deleteTrackingDomain
- deleteTrackingDomain(domain: string): Promise<void>
Parameters
Returns Promise<void>
deleteWebhook
- deleteWebhook(webhook_id: string): Promise<void>
Parameters
Returns Promise<void>
editWebhook
- editWebhook(webhook_id: string, url: string, events?: ValidEvents, description?: string, store_log?: string): Promise<void>
Parameters
webhook_id: string
url: string
Optional description: string
Optional store_log: string
Returns Promise<void>
getWebhookInfo
- getWebhookInfo(webhook_id: string): Promise<WebhookInfo>
keyResetWebhook
- keyResetWebhook(webhook_id: string): Promise<string>
Parameters
Returns Promise<string>
resetSmtpPassword
- resetSmtpPassword(smtp_user_name: string): Promise<string>
Parameters
Returns Promise<string>
sendTemplate
Parameters
Returns Promise<void>
updateSmtpUser
Parameters
Returns Promise<void>
verifySendingDomain
- verifySendingDomain(domain: string): Promise<void>
Parameters
Returns Promise<void>
Create a new SendClean Client