notifme/notifme-sdk

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

Summary

Maintainability
A
0 mins
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
}