External module "src/rest/email"
Functions
Const addEmailToUserForUser
- addEmailToUserForUser(tokenUserId: string, userId: string, email: string, locals: Locals): Promise<void>
-
Parameters
-
tokenUserId: string
-
userId: string
-
email: string
-
Returns Promise<void>
Const deleteEmailFromUserForUser
- deleteEmailFromUserForUser(tokenUserId: string, userId: string, emailId: string, locals: Locals): Promise<void>
-
Parameters
-
tokenUserId: string
-
userId: string
-
emailId: string
-
Returns Promise<void>
Const getAllEmailsForUser
- getAllEmailsForUser(tokenUserId: string, userId: string, query: KeyValue): Promise<object>
-
Parameters
-
tokenUserId: string
-
userId: string
-
Returns Promise<object>
Const getEmailForUser
- getEmailForUser(tokenUserId: string, userId: string, emailId: string): Promise<Email>
-
Parameters
-
tokenUserId: string
-
userId: string
-
emailId: string
Returns Promise<Email>
Const resendEmailVerificationForUser
- resendEmailVerificationForUser(tokenUserId: string, userId: string, emailId: string): Promise<void>
-
Parameters
-
tokenUserId: string
-
userId: string
-
emailId: string
Returns Promise<void>