import { z } from 'zod'; import { PresentationSchema } from '../../models/presentation'; import { PRESENTATION_TARGET_AUDIENCE } from '../../constants/presentation'; export namespace CreatePresentationCommand { export const RequestSchema = z.object({ prompt: z.string().min(1).max(10000), slideCount: z.number().min(1).max(20), templateId: z.string().uuid(), languageId: z.string().uuid(), targetAudience: z.nativeEnum(PRESENTATION_TARGET_AUDIENCE).optional(), accentColor: z.string(), }); export type Request = z.infer; export const ResponseSchema = z.object({ data: PresentationSchema, }); export type Response = z.infer; }