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).
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
|
2025-08-12 15:12:44 +00:00
|
|
|
export const DeleteCustomerInvoiceByIdRequestSchema = z.object({
|
2025-06-26 18:25:38 +00:00
|
|
|
id: z.string(),
|
|
|
|
|
});
|
|
|
|
|
|
2025-08-12 15:12:44 +00:00
|
|
|
export type DeleteCustomerInvoiceByIdRequestDTO = z.infer<
|
|
|
|
|
typeof DeleteCustomerInvoiceByIdRequestSchema
|
|
|
|
|
>;
|