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

16 lines
348 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).
*
*/
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
>;