Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

Merge branch 'main' into referrals-tokens

Kiran K05b6798c55ff
diff --cc apps/web/lib/dots/schemas.ts
index f56c16d74a,3f423d197b..824393afa4
--- a/apps/web/lib/dots/schemas.ts
+++ b/apps/web/lib/dots/schemas.ts
@@@ -113,15 -113,12 +113,16 @@@ export const dotsUserSchema = z.object(
}),
status: z.enum(["verified", "unverified", "disabled", "in_review"]),
verified: z.boolean(),
- wallet: z.object({
- withdrawable_amount: z.number(),
- pending_amount: z.number(),
- }),
- default_payout_method: dotsPayoutPlatforms.nullable(),
- payout_methods: z.array(payoutMethodSchema),
+ wallet: z
+ .object({
+ withdrawable_amount: z.number(),
+ pending_amount: z.number(),
+ })
+ .nullish(),
+ default_payout_method: dotsPayoutPlatforms.nullish(),
compliance: z.any(),
});
+
+export const requestPartnerInviteSchema = z.object({
+ email: z.string().email(),
+});