import {AbstractCall, BaseRequestPayload, BaseResponsePayload} from "../../src/AbstractCall"; import {Service} from "../../src/Service"; import {ParticipantSkeleton} from "../database/ObjectSkeletons"; import {Participant} from "../database/ObjectInterfaces"; export class UpdateParticipantCall extends AbstractCall{ getRequestName(): string { return UpdateParticipantCall.NAME; } getService(): Service { return Service.POLL; } } export module UpdateParticipantCall { export const NAME = "UPDATE_PARTICIPANT_CALL"; export interface RequestModel extends BaseRequestPayload{ participant_id : any participant : ParticipantSkeleton } export interface ResponseModel extends BaseResponsePayload{ updated_participant: Participant } }