import { Twilio } from "twilio";
type Twilio = {
accountSid: string;
token: string;
};
export async function main(twilio: Twilio): Promise<void> {
const client = new Twilio(twilio.accountSid, twilio.token);
const calls = await client.calls.list();
console.log(calls);
}
Submitted by hugo697 468 days ago