From 96f1a97fd6acd64d21bbdd388de04a47ef39c1a5 Mon Sep 17 00:00:00 2001 From: MaheshtheDev <38828053+MaheshtheDev@users.noreply.github.com> Date: Wed, 10 Sep 2025 03:33:45 +0000 Subject: feat: pro subscriber email config (#417) --- packages/lib/api.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'packages') diff --git a/packages/lib/api.ts b/packages/lib/api.ts index ba609b16..e6ca8555 100644 --- a/packages/lib/api.ts +++ b/packages/lib/api.ts @@ -191,6 +191,16 @@ export const apiSchema = createSchema({ "@get/waitlist/status": { output: WaitlistStatusResponseSchema, }, + + "@post/emails/welcome/pro": { + input: z.object({ + email: z.string(), + firstName: z.string(), + }), + output: z.object({ + message: z.string(), + }), + } }) export const $fetch = createFetch({ -- cgit v1.2.3