export async function intake(call: IncomingCall) {
const transcript = await transcribe(call.audio);
const job = extractJobDetails(transcript);
await smsOwner({ to: owner.phone, body: formatJob(job) });
return { status: "texted", jobId: job.id };
}
async function missedCallFollowUp(voicemail: Voicemail) {
const summary = await summarize(voicemail);
await scheduleCallback(summary.preferredWindow);
}