notifme/notifme-sdk

View on GitHub
src/models/provider-voice.js

Summary

Maintainability
A
1 hr
Test Coverage
/* @flow */
import type { VoiceRequestType } from './notification-request'

// TODO?: other Voice providers
export type VoiceProviderType = {
  type: 'logger'
} | {
  type: 'custom',
  id: string,
  send: (VoiceRequestType) => Promise<string>
} | {
  type: 'twilio',
  accountSid: string,
  authToken: string
}