Skip to main content

ProviderApiClient

Accessed via client.providers().

Methods​

configure​

configure(channelType: string, providerName: string, config: Record<string, string>): Promise<Record<string, string>>

channelType and providerName are upper-cased automatically.

update​

update(channelType: string, providerName: string, config: Record<string, string>): Promise<Record<string, any>>

delete​

delete(channelType: string): Promise<void>

testConnection​

testConnection(channelType: string, config: Record<string, string>): Promise<Record<string, any>>

list​

list(): Promise<Record<string, any>[]>