//#region src/modules/reports/types.d.ts interface ReportFiles { /** File containing details about the generation of report */ detail: string; /** File containing the report */ report?: string; } interface ReportPeriod { /** Start of the period */ start: Date; /** End of the period */ end: Date; } interface ReportStats { /** Number of page in the report */ pageCount: number; /** Size of the report */ size: number; } interface ReportError { /** Where the error occurred */ type: string; /** Name of the error */ name: string; /** Message of the error */ message: string; /** Where error happened */ cause?: { layout?: number; figure?: number; }; } interface ReportDetails { /** Creation date of the report */ createdAt: Date; /** Date when the report will be destroyed */ destroyAt: Date; /** Time taken to generate the report */ took: number; /** Task ID used to generate the report */ taskId: string; /** Email addresses the report was sent */ sendingTo?: string[]; /** Period used to generate report */ period?: ReportPeriod; files: ReportFiles; /** Auth used to generate the report */ auth: { elastic: { /** Elastic username used to fetch data */ username: string; }; }; /** Stats about the report */ stats?: ReportStats; /** Error details */ error?: ReportError; /** Meta data */ meta?: unknown; } interface ReportResult { /** Whether the report was successfully generated */ success: boolean; /** Details */ detail: ReportDetails; } //#endregion export { ReportResult as a, ReportPeriod as i, ReportError as n, ReportStats as o, ReportFiles as r, ReportDetails as t }; //# sourceMappingURL=types-EvlWp0P4.d.mts.map