diff --git a/src/ts/@overflow/email/api/service/EmailAuthService.ts b/src/ts/@overflow/email/api/service/EmailAuthService.ts index 75e908f..84731c5 100644 --- a/src/ts/@overflow/email/api/service/EmailAuthService.ts +++ b/src/ts/@overflow/email/api/service/EmailAuthService.ts @@ -7,11 +7,28 @@ class EmailAuthService extends Service { super('EmailAuthService'); } - public sendEmail(to: string, sub: string, message: string): void { + public sendEmailByMember(id: number, email: string): Promise { - return null; + return new Promise((resolve) => { + const json = this.send('sendEmailByMember', [id, email]); + }); } + public read(id: number): Promise { + return null; + } + + public readByAuthKey(authKey: string): Promise { + return null; + } + + public readByMember(memberId: number): Promise { + return null; + } + + public modify(auth:EmailAuth): Promise { + return null; + } }