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

14 lines
323 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 11:23:50 +00:00
export const DeleteCustomerByIdRequestSchema = z.object({
2025-06-26 18:25:38 +00:00
id: z.string(),
});
2025-08-12 11:23:50 +00:00
export type DeleteCustomerByIdRequestDTO = z.infer<typeof DeleteCustomerByIdRequestSchema>;