import { Twilio } from "twilio";
type Twilio = {
accountSid: string;
token: string;
};
export async function main(twilio: Twilio, friendlyName: string) {
const client = new Twilio(twilio.accountSid, twilio.token);
const verification = client.verify.v2.services.create({ friendlyName });
return verification;
}
Submitted by hugo697 468 days ago