import { DocumentFileReference, UserEntity, GroupEntity, OrganizationEntity, FormEntity, RequestOriginMeta, LabelEntity } from '../../..'; import { FormSubmissionBaseDto } from './base.dto'; /** * Submit a new form * */ export declare class SubmitFormSubmissionDto extends FormSubmissionBaseDto { } export declare class CreateFormSubmissionBaseDto extends FormSubmissionBaseDto { } /** * Create a new Form * Use SubmitNewDocumentDto for posts */ export declare class CreateFormSubmissionDto extends CreateFormSubmissionBaseDto { content: object; files?: DocumentFileReference[]; email?: string; phone?: string; /** * @deprecated remove as soon as database column has been removed */ originIp: string; requestOriginMeta: RequestOriginMeta; isSpam: boolean; spamScore: number; form: FormEntity; organization: OrganizationEntity; groups: GroupEntity[]; createdByUser?: UserEntity; labels?: LabelEntity[]; } export declare class UpdateFormSubmissionDto { groups?: GroupEntity[]; labels?: LabelEntity[]; }