import { IApiRequest } from "../../models" ; import { Requests } from "../Requests" ; import { IEmailDomain } from "../../entities/emaildomains" ; export class GetEmailDomainsCallback { constructor ( public domains ) { } } export class GetEmailDomains implements IApiRequest < GetEmailDomainsCallback > { public static getURL : string = Requests . EMAILDOMAINS ; public URL : string = GetEmailDomains . getURL ; see IApiRequest . response response ? : GetEmailDomainsCallback ; } export class PutEmailDomains implements IApiRequest < void > { public static getURL : string = Requests . EMAILDOMAINS ; public URL : string = PutEmailDomains . getURL ; constructor ( public domain ) { } } export class PostEmailDomainsCallback { constructor ( public domain ) { } } export class PostEmailDomains implements IApiRequest < PostEmailDomainsCallback > { public static getURL : string = Requests . EMAILDOMAINS ; public URL : string = PostEmailDomains . getURL ; constructor ( public domain ) { } see IApiRequest . response response ? : PostEmailDomainsCallback ; } export class DeleteEmailDomains implements IApiRequest < void > { public static getURL : string = Requests . EMAILDOMAINS ; public URL : string = PostEmailDomains . getURL ; constructor ( public domainid ) { } }