import { AbstractCall, BaseRequestPayload, BaseResponsePayload } from "../../src/AbstractCall"; import { Service } from "../../src/Service"; import { Timeslot } from "../database/ObjectInterfaces"; export declare class SavePollCall extends AbstractCall { getRequestName(): string; getService(): Service; } export declare module SavePollCall { const NAME = "SAVE_POLL_CALL"; interface RequestModel extends BaseRequestPayload { poll_id: any; poll: { title?: string; start_date_poll?: Date; end_date_poll?: Date; displayed_dates?: Date[]; exposing?: boolean; location?: string; timeslot_min_duration?: number; password?: string; cal_start?: Date; cal_end?: Date; cal_timesteps?: number; theme?: string; color_nav?: string; color_content?: string; color_buttons?: string; logo?: string; timeslots?: Timeslot[]; }; } interface ResponseModel extends BaseResponsePayload { poll_id: any; } }