/** * File type enum */ export declare enum FileType { Image = 0, Video = 1, PDF = 2, OfficePDF = 3, Custom = 4 } /** * Document review status */ export declare enum DocumentReviewStatus { Pending = 0, Approved = 1, Rejected = 2, RequiresRevision = 3 } /** * Upload document file DTO */ export interface UploadDocumentFileDto { id: number; name: string; displayName: string; subtitle?: string; fileType: FileType; maxEachFileSizeByte: number; allowedTypes?: string; multipleFile: boolean; isRequired: boolean; order: number; pageNumber: number; /** Display names from the latest submission for this slot (server), shown when the user returns to this step. */ existingUploadedFileNames?: string[]; } /** * Upload document output DTO */ export interface UploadDocumentOutputDto { id: number; name: string; displayName: string; subtitle: string; description: string; uploadDocumentFiles: UploadDocumentFileDto[]; } /** * Upload document file result * * Either the file travels inline as base64 (`fileData`) or — preferred — it is uploaded up front with * `stageUploadDocumentFile` and referenced here by `stagedFileId`, which keeps the submit body small. */ export interface UploadDocumentFileResult { fileName: string; /** base64. Omitted when `stagedFileId` is set. */ fileData?: string; /** Id returned by `stageUploadDocumentFile` for a file already uploaded to storage. */ stagedFileId?: number; } /** * Result of uploading a single document file ahead of the step submit. */ export interface StageUploadDocumentFileResult { stagedFileId: number; fileName: string; fileSize: number; } /** * Upload document result */ export interface UploadDocumentResult { uploadDocumentFileId: number; valueList: UploadDocumentFileResult[]; } /** * Fill upload document input */ export interface FillUploadDocumentInput { applicantId: number; uploadDocumentId: number; uploadDocumentResults: UploadDocumentResult[]; } /** * Review upload document DTO */ export interface ReviewUploadDocumentDto { applicantId: number; uploadDocumentResultId: number; status: DocumentReviewStatus; reviewNotes?: string; } //# sourceMappingURL=upload-document.d.ts.map