import type { ICatalogs } from "@erp/core/api"; import { CreateCustomerInputMapper, type ICreateCustomerInputMapper } from "../mappers"; export interface ICustomerInputMappers { createInputMapper: ICreateCustomerInputMapper; } export const buildCustomerInputMappers = (catalogs: ICatalogs): ICustomerInputMappers => { const { taxCatalog } = catalogs; // Mappers el DTO a las props validadas (CustomerProps) y luego construir agregado const createInputMapper = new CreateCustomerInputMapper({ taxCatalog }); //const updateCustomerInputMapper = new UpdateCustomerInputMapper(); return { createInputMapper, }; };