import { z } from 'zod'; import { PromocodeSchema } from '../../models'; export namespace UpdatePromocodeCommand { export const RequestSchema = PromocodeSchema.omit({ createdAt: true, updatedAt: true, uuid: true, }).partial(); export type Request = z.infer; export const RequestParamSchema = z.object({ uuid: z.string().uuid(), }); export type RequestParam = z.infer; export const ResponseSchema = z.object({ data: PromocodeSchema, }); export type Response = z.infer; }