import {AbstractCall, BaseRequestPayload, BaseResponsePayload} from "../../src/AbstractCall"; import {Service} from "../../src/Service"; import {Participant, Timeslot} from "../database/ObjectInterfaces"; export class FindTimeslotsTestCall extends AbstractCall{ getRequestName(): string { return FindTimeslotsTestCall.NAME; } getService(): Service { return Service.POLL; } } export module FindTimeslotsTestCall { export const NAME = "FIND_TIMESLOTS_TEST_CALL"; export interface RequestModel extends BaseRequestPayload{ user_id: any title: string start_date_poll: Date end_date_poll: Date displayed_dates: Date[] exposing: boolean location: string timeslot_min_duration: number password: string cal_timesteps: number theme: string color_nav: string color_content: string color_buttons: string logo: string timeslots: Timeslot[] participants: Participant[] } export interface ResponseModel extends BaseResponsePayload{ timeslots: any; } }