File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7171 "google-auth-library" : " ^10.3.0" ,
7272 "jose" : " ^6.0.11" ,
7373 "multer" : " ^2.0.2" ,
74+ "next" : " ^15.5.9" ,
7475 "openai" : " ^6.2.0" ,
7576 "prisma" : " 6.16.0" ,
7677 "typescript" : " ^5.3.3" ,
Original file line number Diff line number Diff line change @@ -117,6 +117,10 @@ export type CreateStripePaymentLinkBody = {
117117 successUrl ?: string | undefined ;
118118} ;
119119
120+ export type GetUserReferralResponse = { success : boolean ; message : string } ;
121+
122+ export type GetUserReferralQuery = { echoAppId : string } ;
123+
120124export type CreateUserReferralResponse = { success : boolean ; message : string } ;
121125
122126export type CreateUserReferralBody = { echoAppId : string ; code : string } ;
@@ -210,6 +214,10 @@ export type ApiRoutes = {
210214 response : CreateStripePaymentLinkResponse ;
211215 body : CreateStripePaymentLinkBody ;
212216 } ;
217+ 'GET /user/referral' : {
218+ response : GetUserReferralResponse ;
219+ query : GetUserReferralQuery ;
220+ } ;
213221 'POST /user/referral' : {
214222 response : CreateUserReferralResponse ;
215223 body : CreateUserReferralBody ;
You can’t perform that action at this time.
0 commit comments