import { client } from "../client"; import type { Message } from "../client"; export type PostMessageBody = { recipient_id: string; subject: string; body?: string | null; label?: string | null; }; export function postMessage(body: PostMessageBody): Promise { return client("/messages", { method: "POST", body }); }