aboutsummaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorMaheshtheDev <[email protected]>2025-09-10 03:33:45 +0000
committerMaheshtheDev <[email protected]>2025-09-10 03:33:45 +0000
commit96f1a97fd6acd64d21bbdd388de04a47ef39c1a5 (patch)
tree2fd46b56686358f5101ae72c0c722859519d6001 /packages
parentmerged (diff)
downloadsupermemory-96f1a97fd6acd64d21bbdd388de04a47ef39c1a5.tar.xz
supermemory-96f1a97fd6acd64d21bbdd388de04a47ef39c1a5.zip
feat: pro subscriber email config (#417)
Diffstat (limited to 'packages')
-rw-r--r--packages/lib/api.ts10
1 files changed, 10 insertions, 0 deletions
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({