import { initClient } from 'messagebird'; const mbClient = initClient(''); mbClient.callflows.create({ steps: [ { action: 'say', options: { payload: 'This is a journey into sound. Good bye!', voice: 'male', language: 'en-us', } } ], record: false }, ( // $ExpectType Error | null err, // $ExpectType CallFlow | null callflows ) => {} ); mbClient.callflows.read('', ( // $ExpectType Error | null err, // $ExpectType CallFlow | null callflows ) => {} ); mbClient.callflows.list(( // $ExpectType Error | null err, // $ExpectType CallFlow[] | null callflows ) => {} ); mbClient.callflows.delete('', ( // $ExpectType Error | null err, // $ExpectType unknown callflows ) => {} );