import {AbstractCall, BaseRequestPayload, BaseResponsePayload} from "../../../src/AbstractCall"; import {Service} from "../../../src/Service"; /** * The call to delete a user and all his referenced polls and participants with their timeslots and comments. */ export class DBDeleteUserCall extends AbstractCall { getRequestName(): string { return DBDeleteUserCall.NAME; } getService(): Service { return Service.DATABASE; } } /** * Defines the structure of a {@DBDeleteUserCall}. */ export module DBDeleteUserCall { export const NAME = "DB_DELETE_USER_CALL"; export interface RequestModel extends BaseRequestPayload{ user_id : any } export interface ResponseModel extends BaseResponsePayload{ } }