FactuGES_ERP/modules/customer-invoices/src/common/dto/request/delete-customer-invoice-by-id.command.dto.ts

16 lines
342 B
TypeScript
Raw Normal View History

2025-06-26 18:25:38 +00:00
import * as z from "zod/v4";
/**
* Este DTO es utilizado por el endpoint:
* `DELETE /customer-invoices/:id` (eliminar una factura por ID).
*
*/
export const DeleteCustomerInvoiceByIdQuerySchema = z.object({
id: z.string(),
});
export type DeleteCustomerInvoiceByIdQueryDTO = z.infer<
typeof DeleteCustomerInvoiceByIdQuerySchema
>;