import { IApiRequest } from "../../../models" ; import { Requests } from "../../Requests" ; import { IEmailDomain } from "../../../entities/emaildomains" ; export enum CreateAccountResponseTypes { INVALIDINPUT , SUCCESS , ALREADYEXISTS } export class CreateAccountCallBack { constructor ( public response ) { } } export class CreateAccount implements IApiRequest < CreateAccountCallBack > { public static getURL : string = Requests . CREATEACCOUNT ; public URL : string = CreateAccount . getURL ; constructor ( public email , public password , public firstname , public lastname , public domain ) { } }