@arcasdk/core 0.3.5 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/application/dto/electronic-billing.dto.d.ts +0 -5
- package/lib/application/dto/index.d.ts +0 -4
- package/lib/application/dto/index.js +0 -4
- package/lib/application/dto/index.js.map +1 -1
- package/lib/application/dto/register.dto.d.ts +0 -60
- package/lib/application/dto/register.dto.js +0 -5
- package/lib/application/dto/register.dto.js.map +1 -1
- package/lib/application/index.d.ts +0 -1
- package/lib/application/index.js +0 -1
- package/lib/application/index.js.map +1 -1
- package/lib/application/ports/authentication/authentication-repository.port.d.ts +0 -5
- package/lib/application/ports/authentication/index.d.ts +0 -4
- package/lib/application/ports/authentication/index.js +0 -4
- package/lib/application/ports/authentication/index.js.map +1 -1
- package/lib/application/ports/electronic-billing/electronic-billing-repository.port.d.ts +0 -6
- package/lib/application/ports/electronic-billing/index.d.ts +0 -4
- package/lib/application/ports/electronic-billing/index.js +0 -4
- package/lib/application/ports/electronic-billing/index.js.map +1 -1
- package/lib/application/ports/fecred/fecred-repository.port.d.ts +118 -0
- package/lib/application/ports/fecred/fecred-repository.port.js +3 -0
- package/lib/application/ports/fecred/fecred-repository.port.js.map +1 -0
- package/lib/application/ports/fecred/index.d.ts +1 -0
- package/lib/application/ports/fecred/index.js +18 -0
- package/lib/application/ports/fecred/index.js.map +1 -0
- package/lib/application/ports/fex/fex-repository.port.d.ts +116 -0
- package/lib/application/ports/fex/fex-repository.port.js +3 -0
- package/lib/application/ports/fex/fex-repository.port.js.map +1 -0
- package/lib/application/ports/fex/index.d.ts +1 -0
- package/lib/application/ports/fex/index.js +18 -0
- package/lib/application/ports/fex/index.js.map +1 -0
- package/lib/application/ports/generic/generic-repository.port.d.ts +3 -6
- package/lib/application/ports/index.d.ts +2 -4
- package/lib/application/ports/index.js +2 -4
- package/lib/application/ports/index.js.map +1 -1
- package/lib/application/ports/register/index.d.ts +0 -4
- package/lib/application/ports/register/index.js +0 -4
- package/lib/application/ports/register/index.js.map +1 -1
- package/lib/application/ports/register/register-repository.ports.d.ts +0 -4
- package/lib/application/services/electronic-billing.service.d.ts +0 -5
- package/lib/application/services/electronic-billing.service.js +0 -2
- package/lib/application/services/electronic-billing.service.js.map +1 -1
- package/lib/application/services/generic.service.d.ts +3 -6
- package/lib/application/services/generic.service.js +1 -1
- package/lib/application/services/generic.service.js.map +1 -1
- package/lib/application/services/index.d.ts +2 -4
- package/lib/application/services/index.js +2 -4
- package/lib/application/services/index.js.map +1 -1
- package/lib/application/services/register-inscription-proof.service.d.ts +0 -5
- package/lib/application/services/register-inscription-proof.service.js.map +1 -1
- package/lib/application/services/register-scope-five.service.d.ts +0 -5
- package/lib/application/services/register-scope-five.service.js.map +1 -1
- package/lib/application/services/register-scope-four.service.d.ts +0 -5
- package/lib/application/services/register-scope-four.service.js +0 -5
- package/lib/application/services/register-scope-four.service.js.map +1 -1
- package/lib/application/services/register-scope-ten.service.d.ts +0 -5
- package/lib/application/services/register-scope-ten.service.js.map +1 -1
- package/lib/application/services/register-scope-thirteen.service.d.ts +0 -5
- package/lib/application/services/register-scope-thirteen.service.js.map +1 -1
- package/lib/application/services/wsfecred.service.d.ts +46 -0
- package/lib/application/services/wsfecred.service.js +173 -0
- package/lib/application/services/wsfecred.service.js.map +1 -0
- package/lib/application/services/wsfex.service.d.ts +44 -0
- package/lib/application/services/wsfex.service.js +152 -0
- package/lib/application/services/wsfex.service.js.map +1 -0
- package/lib/application/types/auth.types.d.ts +0 -4
- package/lib/application/types/auth.types.js +0 -4
- package/lib/application/types/auth.types.js.map +1 -1
- package/lib/application/types/context.types.d.ts +13 -10
- package/lib/application/types/index.d.ts +0 -4
- package/lib/application/types/index.js +0 -4
- package/lib/application/types/index.js.map +1 -1
- package/lib/application/types/result.types.d.ts +0 -4
- package/lib/application/types/use-case-inputs.types.d.ts +0 -4
- package/lib/application/types/use-case-inputs.types.js +0 -4
- package/lib/application/types/use-case-inputs.types.js.map +1 -1
- package/lib/application/use-cases/authentication/get-auth-params.use-case.d.ts +0 -4
- package/lib/application/use-cases/authentication/get-auth-params.use-case.js.map +1 -1
- package/lib/application/use-cases/authentication/index.d.ts +0 -4
- package/lib/application/use-cases/authentication/index.js +0 -4
- package/lib/application/use-cases/authentication/index.js.map +1 -1
- package/lib/application/use-cases/authentication/login.use-case.d.ts +0 -5
- package/lib/application/use-cases/authentication/login.use-case.js.map +1 -1
- package/lib/application/use-cases/authentication/request-login.use-case.d.ts +0 -4
- package/lib/application/use-cases/authentication/request-login.use-case.js.map +1 -1
- package/lib/application/use-cases/electronic-billing/create-next-voucher.use-case.js +0 -4
- package/lib/application/use-cases/electronic-billing/create-next-voucher.use-case.js.map +1 -1
- package/lib/application/use-cases/electronic-billing/create-voucher.use-case.js +0 -2
- package/lib/application/use-cases/electronic-billing/create-voucher.use-case.js.map +1 -1
- package/lib/application/use-cases/index.d.ts +2 -0
- package/lib/application/use-cases/index.js +2 -0
- package/lib/application/use-cases/index.js.map +1 -1
- package/lib/application/use-cases/register/get-register-server-status.use-case.d.ts +0 -4
- package/lib/application/use-cases/register/get-register-server-status.use-case.js.map +1 -1
- package/lib/application/use-cases/register/get-tax-id-by-document.use-case.d.ts +0 -4
- package/lib/application/use-cases/register/get-tax-id-by-document.use-case.js.map +1 -1
- package/lib/application/use-cases/register/get-taxpayer-details.use-case.d.ts +0 -4
- package/lib/application/use-cases/register/get-taxpayer-details.use-case.js.map +1 -1
- package/lib/application/use-cases/register/get-taxpayers-details.use-case.d.ts +0 -4
- package/lib/application/use-cases/register/get-taxpayers-details.use-case.js.map +1 -1
- package/lib/application/use-cases/wsfecred/aceptar-fecred.use-case.d.ts +7 -0
- package/lib/application/use-cases/wsfecred/aceptar-fecred.use-case.js +24 -0
- package/lib/application/use-cases/wsfecred/aceptar-fecred.use-case.js.map +1 -0
- package/lib/application/use-cases/wsfecred/consultar-comprobantes.use-case.d.ts +7 -0
- package/lib/application/use-cases/wsfecred/consultar-comprobantes.use-case.js +24 -0
- package/lib/application/use-cases/wsfecred/consultar-comprobantes.use-case.js.map +1 -0
- package/lib/application/use-cases/wsfecred/consultar-cta-cte.use-case.d.ts +7 -0
- package/lib/application/use-cases/wsfecred/consultar-cta-cte.use-case.js +24 -0
- package/lib/application/use-cases/wsfecred/consultar-cta-cte.use-case.js.map +1 -0
- package/lib/application/use-cases/wsfecred/consultar-ctas-ctes.use-case.d.ts +7 -0
- package/lib/application/use-cases/wsfecred/consultar-ctas-ctes.use-case.js +24 -0
- package/lib/application/use-cases/wsfecred/consultar-ctas-ctes.use-case.js.map +1 -0
- package/lib/application/use-cases/wsfecred/consultar-cuentas-en-agt-dpto-cltv.use-case.d.ts +7 -0
- package/lib/application/use-cases/wsfecred/consultar-cuentas-en-agt-dpto-cltv.use-case.js +24 -0
- package/lib/application/use-cases/wsfecred/consultar-cuentas-en-agt-dpto-cltv.use-case.js.map +1 -0
- package/lib/application/use-cases/wsfecred/consultar-facturas-agt-dpto-cltv.use-case.d.ts +7 -0
- package/lib/application/use-cases/wsfecred/consultar-facturas-agt-dpto-cltv.use-case.js +24 -0
- package/lib/application/use-cases/wsfecred/consultar-facturas-agt-dpto-cltv.use-case.js.map +1 -0
- package/lib/application/use-cases/wsfecred/consultar-historial-estados-comprobante.use-case.d.ts +7 -0
- package/lib/application/use-cases/wsfecred/consultar-historial-estados-comprobante.use-case.js +24 -0
- package/lib/application/use-cases/wsfecred/consultar-historial-estados-comprobante.use-case.js.map +1 -0
- package/lib/application/use-cases/wsfecred/consultar-historial-estados-cta-cte.use-case.d.ts +7 -0
- package/lib/application/use-cases/wsfecred/consultar-historial-estados-cta-cte.use-case.js +24 -0
- package/lib/application/use-cases/wsfecred/consultar-historial-estados-cta-cte.use-case.js.map +1 -0
- package/lib/application/use-cases/wsfecred/consultar-monto-obligado-recepcion.use-case.d.ts +7 -0
- package/lib/application/use-cases/wsfecred/consultar-monto-obligado-recepcion.use-case.js +24 -0
- package/lib/application/use-cases/wsfecred/consultar-monto-obligado-recepcion.use-case.js.map +1 -0
- package/lib/application/use-cases/wsfecred/consultar-obligado-recepcion.use-case.d.ts +7 -0
- package/lib/application/use-cases/wsfecred/consultar-obligado-recepcion.use-case.js +24 -0
- package/lib/application/use-cases/wsfecred/consultar-obligado-recepcion.use-case.js.map +1 -0
- package/lib/application/use-cases/wsfecred/consultar-tipos-ajustes-operacion.use-case.d.ts +7 -0
- package/lib/application/use-cases/wsfecred/consultar-tipos-ajustes-operacion.use-case.js +24 -0
- package/lib/application/use-cases/wsfecred/consultar-tipos-ajustes-operacion.use-case.js.map +1 -0
- package/lib/application/use-cases/wsfecred/consultar-tipos-formas-cancelacion.use-case.d.ts +7 -0
- package/lib/application/use-cases/wsfecred/consultar-tipos-formas-cancelacion.use-case.js +24 -0
- package/lib/application/use-cases/wsfecred/consultar-tipos-formas-cancelacion.use-case.js.map +1 -0
- package/lib/application/use-cases/wsfecred/consultar-tipos-motivos-rechazo.use-case.d.ts +7 -0
- package/lib/application/use-cases/wsfecred/consultar-tipos-motivos-rechazo.use-case.js +24 -0
- package/lib/application/use-cases/wsfecred/consultar-tipos-motivos-rechazo.use-case.js.map +1 -0
- package/lib/application/use-cases/wsfecred/consultar-tipos-retenciones.use-case.d.ts +7 -0
- package/lib/application/use-cases/wsfecred/consultar-tipos-retenciones.use-case.js +24 -0
- package/lib/application/use-cases/wsfecred/consultar-tipos-retenciones.use-case.js.map +1 -0
- package/lib/application/use-cases/wsfecred/index.d.ts +20 -0
- package/lib/application/use-cases/wsfecred/index.js +37 -0
- package/lib/application/use-cases/wsfecred/index.js.map +1 -0
- package/lib/application/use-cases/wsfecred/informar-cancelacion-total-fecred.use-case.d.ts +7 -0
- package/lib/application/use-cases/wsfecred/informar-cancelacion-total-fecred.use-case.js +24 -0
- package/lib/application/use-cases/wsfecred/informar-cancelacion-total-fecred.use-case.js.map +1 -0
- package/lib/application/use-cases/wsfecred/informar-factura-agt-dpto-cltv.use-case.d.ts +7 -0
- package/lib/application/use-cases/wsfecred/informar-factura-agt-dpto-cltv.use-case.js +24 -0
- package/lib/application/use-cases/wsfecred/informar-factura-agt-dpto-cltv.use-case.js.map +1 -0
- package/lib/application/use-cases/wsfecred/modificar-opcion-transferencia.use-case.d.ts +7 -0
- package/lib/application/use-cases/wsfecred/modificar-opcion-transferencia.use-case.js +24 -0
- package/lib/application/use-cases/wsfecred/modificar-opcion-transferencia.use-case.js.map +1 -0
- package/lib/application/use-cases/wsfecred/obtener-remitos.use-case.d.ts +7 -0
- package/lib/application/use-cases/wsfecred/obtener-remitos.use-case.js +24 -0
- package/lib/application/use-cases/wsfecred/obtener-remitos.use-case.js.map +1 -0
- package/lib/application/use-cases/wsfecred/rechazar-fecred.use-case.d.ts +7 -0
- package/lib/application/use-cases/wsfecred/rechazar-fecred.use-case.js +24 -0
- package/lib/application/use-cases/wsfecred/rechazar-fecred.use-case.js.map +1 -0
- package/lib/application/use-cases/wsfecred/rechazar-nota-dc.use-case.d.ts +7 -0
- package/lib/application/use-cases/wsfecred/rechazar-nota-dc.use-case.js +24 -0
- package/lib/application/use-cases/wsfecred/rechazar-nota-dc.use-case.js.map +1 -0
- package/lib/application/use-cases/wsfex/authorize.use-case.d.ts +7 -0
- package/lib/application/use-cases/wsfex/authorize.use-case.js +24 -0
- package/lib/application/use-cases/wsfex/authorize.use-case.js.map +1 -0
- package/lib/application/use-cases/wsfex/check-permiso.use-case.d.ts +7 -0
- package/lib/application/use-cases/wsfex/check-permiso.use-case.js +24 -0
- package/lib/application/use-cases/wsfex/check-permiso.use-case.js.map +1 -0
- package/lib/application/use-cases/wsfex/dummy.use-case.d.ts +7 -0
- package/lib/application/use-cases/wsfex/dummy.use-case.js +24 -0
- package/lib/application/use-cases/wsfex/dummy.use-case.js.map +1 -0
- package/lib/application/use-cases/wsfex/get-cmp.use-case.d.ts +7 -0
- package/lib/application/use-cases/wsfex/get-cmp.use-case.js +24 -0
- package/lib/application/use-cases/wsfex/get-cmp.use-case.js.map +1 -0
- package/lib/application/use-cases/wsfex/get-last-cmp.use-case.d.ts +7 -0
- package/lib/application/use-cases/wsfex/get-last-cmp.use-case.js +24 -0
- package/lib/application/use-cases/wsfex/get-last-cmp.use-case.js.map +1 -0
- package/lib/application/use-cases/wsfex/get-last-id.use-case.d.ts +7 -0
- package/lib/application/use-cases/wsfex/get-last-id.use-case.js +24 -0
- package/lib/application/use-cases/wsfex/get-last-id.use-case.js.map +1 -0
- package/lib/application/use-cases/wsfex/get-param-actividades.use-case.d.ts +7 -0
- package/lib/application/use-cases/wsfex/get-param-actividades.use-case.js +24 -0
- package/lib/application/use-cases/wsfex/get-param-actividades.use-case.js.map +1 -0
- package/lib/application/use-cases/wsfex/get-param-cbte-tipo.use-case.d.ts +7 -0
- package/lib/application/use-cases/wsfex/get-param-cbte-tipo.use-case.js +24 -0
- package/lib/application/use-cases/wsfex/get-param-cbte-tipo.use-case.js.map +1 -0
- package/lib/application/use-cases/wsfex/get-param-ctz.use-case.d.ts +7 -0
- package/lib/application/use-cases/wsfex/get-param-ctz.use-case.js +24 -0
- package/lib/application/use-cases/wsfex/get-param-ctz.use-case.js.map +1 -0
- package/lib/application/use-cases/wsfex/get-param-dst-cuit.use-case.d.ts +7 -0
- package/lib/application/use-cases/wsfex/get-param-dst-cuit.use-case.js +24 -0
- package/lib/application/use-cases/wsfex/get-param-dst-cuit.use-case.js.map +1 -0
- package/lib/application/use-cases/wsfex/get-param-dst-pais.use-case.d.ts +7 -0
- package/lib/application/use-cases/wsfex/get-param-dst-pais.use-case.js +24 -0
- package/lib/application/use-cases/wsfex/get-param-dst-pais.use-case.js.map +1 -0
- package/lib/application/use-cases/wsfex/get-param-idiomas.use-case.d.ts +7 -0
- package/lib/application/use-cases/wsfex/get-param-idiomas.use-case.js +24 -0
- package/lib/application/use-cases/wsfex/get-param-idiomas.use-case.js.map +1 -0
- package/lib/application/use-cases/wsfex/get-param-incoterms.use-case.d.ts +7 -0
- package/lib/application/use-cases/wsfex/get-param-incoterms.use-case.js +24 -0
- package/lib/application/use-cases/wsfex/get-param-incoterms.use-case.js.map +1 -0
- package/lib/application/use-cases/wsfex/get-param-mon-con-cotizacion.use-case.d.ts +7 -0
- package/lib/application/use-cases/wsfex/get-param-mon-con-cotizacion.use-case.js +24 -0
- package/lib/application/use-cases/wsfex/get-param-mon-con-cotizacion.use-case.js.map +1 -0
- package/lib/application/use-cases/wsfex/get-param-mon.use-case.d.ts +7 -0
- package/lib/application/use-cases/wsfex/get-param-mon.use-case.js +24 -0
- package/lib/application/use-cases/wsfex/get-param-mon.use-case.js.map +1 -0
- package/lib/application/use-cases/wsfex/get-param-opcionales.use-case.d.ts +7 -0
- package/lib/application/use-cases/wsfex/get-param-opcionales.use-case.js +24 -0
- package/lib/application/use-cases/wsfex/get-param-opcionales.use-case.js.map +1 -0
- package/lib/application/use-cases/wsfex/get-param-pto-venta.use-case.d.ts +7 -0
- package/lib/application/use-cases/wsfex/get-param-pto-venta.use-case.js +24 -0
- package/lib/application/use-cases/wsfex/get-param-pto-venta.use-case.js.map +1 -0
- package/lib/application/use-cases/wsfex/get-param-tipo-expo.use-case.d.ts +7 -0
- package/lib/application/use-cases/wsfex/get-param-tipo-expo.use-case.js +24 -0
- package/lib/application/use-cases/wsfex/get-param-tipo-expo.use-case.js.map +1 -0
- package/lib/application/use-cases/wsfex/get-param-umed.use-case.d.ts +7 -0
- package/lib/application/use-cases/wsfex/get-param-umed.use-case.js +24 -0
- package/lib/application/use-cases/wsfex/get-param-umed.use-case.js.map +1 -0
- package/lib/application/use-cases/wsfex/index.d.ts +19 -0
- package/lib/application/use-cases/wsfex/index.js +36 -0
- package/lib/application/use-cases/wsfex/index.js.map +1 -0
- package/lib/domain/entities/access-ticket.entity.js +6 -10
- package/lib/domain/entities/access-ticket.entity.js.map +1 -1
- package/lib/domain/entities/index.d.ts +0 -4
- package/lib/domain/entities/index.js +0 -4
- package/lib/domain/entities/index.js.map +1 -1
- package/lib/domain/entities/voucher.entity.d.ts +23 -10
- package/lib/domain/entities/voucher.entity.js +52 -14
- package/lib/domain/entities/voucher.entity.js.map +1 -1
- package/lib/domain/index.d.ts +0 -4
- package/lib/domain/index.js +0 -4
- package/lib/domain/index.js.map +1 -1
- package/lib/domain/types/electronic-billing.types.d.ts +0 -5
- package/lib/domain/types/electronic-billing.types.js +0 -5
- package/lib/domain/types/electronic-billing.types.js.map +1 -1
- package/lib/domain/types/index.d.ts +0 -4
- package/lib/domain/types/index.js +0 -4
- package/lib/domain/types/index.js.map +1 -1
- package/lib/domain/types/voucher.types.d.ts +0 -4
- package/lib/domain/value-objects/cae.vo.d.ts +0 -5
- package/lib/domain/value-objects/cae.vo.js +0 -5
- package/lib/domain/value-objects/cae.vo.js.map +1 -1
- package/lib/domain/value-objects/cuit.vo.d.ts +0 -5
- package/lib/domain/value-objects/cuit.vo.js +0 -5
- package/lib/domain/value-objects/cuit.vo.js.map +1 -1
- package/lib/domain/value-objects/index.d.ts +0 -4
- package/lib/domain/value-objects/index.js +0 -4
- package/lib/domain/value-objects/index.js.map +1 -1
- package/lib/domain/value-objects/voucher-number.vo.d.ts +0 -5
- package/lib/domain/value-objects/voucher-number.vo.js +0 -5
- package/lib/domain/value-objects/voucher-number.vo.js.map +1 -1
- package/lib/index.d.ts +6 -6
- package/lib/index.js +13 -7
- package/lib/index.js.map +1 -1
- package/lib/infrastructure/composition/arca.d.ts +32 -0
- package/lib/infrastructure/composition/arca.js +107 -0
- package/lib/infrastructure/composition/arca.js.map +1 -0
- package/lib/infrastructure/constants/default-config.constants.d.ts +13 -0
- package/lib/infrastructure/constants/default-config.constants.js +17 -0
- package/lib/infrastructure/constants/default-config.constants.js.map +1 -0
- package/lib/infrastructure/constants/index.d.ts +3 -4
- package/lib/infrastructure/constants/index.js +3 -4
- package/lib/infrastructure/constants/index.js.map +1 -1
- package/lib/infrastructure/{outbound/ports/soap/enums → constants}/service-names.enum.d.ts +3 -1
- package/lib/infrastructure/{outbound/ports/soap/enums → constants}/service-names.enum.js +2 -0
- package/lib/infrastructure/constants/service-names.enum.js.map +1 -0
- package/lib/infrastructure/constants/ssl.constants.d.ts +0 -4
- package/lib/infrastructure/constants/ssl.constants.js +0 -4
- package/lib/infrastructure/constants/ssl.constants.js.map +1 -1
- package/lib/infrastructure/constants/time.constants.d.ts +7 -0
- package/lib/infrastructure/constants/time.constants.js +11 -0
- package/lib/infrastructure/constants/time.constants.js.map +1 -0
- package/lib/infrastructure/index.d.ts +0 -4
- package/lib/infrastructure/index.js +0 -4
- package/lib/infrastructure/index.js.map +1 -1
- package/lib/infrastructure/mappers/index.d.ts +1 -0
- package/lib/infrastructure/mappers/index.js +18 -0
- package/lib/infrastructure/mappers/index.js.map +1 -0
- package/lib/infrastructure/{utils → mappers}/soap-to-dto.mapper.d.ts +0 -6
- package/lib/infrastructure/mappers/soap-to-dto.mapper.js.map +1 -0
- package/lib/infrastructure/outbound/adapters/index.d.ts +3 -8
- package/lib/infrastructure/outbound/adapters/index.js +3 -8
- package/lib/infrastructure/outbound/adapters/index.js.map +1 -1
- package/lib/infrastructure/outbound/adapters/{auth → repositories/auth}/auth.repository.d.ts +5 -8
- package/lib/infrastructure/outbound/adapters/{auth → repositories/auth}/auth.repository.js +25 -16
- package/lib/infrastructure/outbound/adapters/repositories/auth/auth.repository.js.map +1 -0
- package/lib/infrastructure/outbound/adapters/repositories/auth/index.d.ts +1 -0
- package/lib/infrastructure/outbound/adapters/repositories/auth/index.js +18 -0
- package/lib/infrastructure/outbound/adapters/repositories/auth/index.js.map +1 -0
- package/lib/infrastructure/outbound/adapters/{electronic-billing → repositories/electronic-billing}/electronic-billing-repository.d.ts +21 -12
- package/lib/infrastructure/outbound/adapters/{electronic-billing → repositories/electronic-billing}/electronic-billing-repository.js +107 -176
- package/lib/infrastructure/outbound/adapters/repositories/electronic-billing/electronic-billing-repository.js.map +1 -0
- package/lib/infrastructure/outbound/adapters/repositories/electronic-billing/index.d.ts +1 -0
- package/lib/infrastructure/outbound/adapters/{electronic-billing → repositories/electronic-billing}/index.js +0 -4
- package/lib/infrastructure/outbound/adapters/repositories/electronic-billing/index.js.map +1 -0
- package/lib/infrastructure/outbound/adapters/repositories/fecred/fecred.repository.d.ts +29 -0
- package/lib/infrastructure/outbound/adapters/repositories/fecred/fecred.repository.js +192 -0
- package/lib/infrastructure/outbound/adapters/repositories/fecred/fecred.repository.js.map +1 -0
- package/lib/infrastructure/outbound/adapters/repositories/fex/fex.repository.d.ts +28 -0
- package/lib/infrastructure/outbound/adapters/repositories/fex/fex.repository.js +177 -0
- package/lib/infrastructure/outbound/adapters/repositories/fex/fex.repository.js.map +1 -0
- package/lib/infrastructure/outbound/adapters/repositories/generic/generic-repository.d.ts +10 -0
- package/lib/infrastructure/outbound/adapters/{generic → repositories/generic}/generic-repository.js +7 -20
- package/lib/infrastructure/outbound/adapters/repositories/generic/generic-repository.js.map +1 -0
- package/lib/infrastructure/outbound/adapters/repositories/generic/index.d.ts +1 -0
- package/lib/infrastructure/outbound/adapters/repositories/generic/index.js +18 -0
- package/lib/infrastructure/outbound/adapters/repositories/generic/index.js.map +1 -0
- package/lib/infrastructure/outbound/adapters/repositories/register/base-batch-register-repository.d.ts +11 -0
- package/lib/infrastructure/outbound/adapters/repositories/register/base-batch-register-repository.js +51 -0
- package/lib/infrastructure/outbound/adapters/repositories/register/base-batch-register-repository.js.map +1 -0
- package/lib/infrastructure/outbound/adapters/repositories/register/base-register-repository.d.ts +24 -0
- package/lib/infrastructure/outbound/adapters/{register/register-scope-ten.repository.js → repositories/register/base-register-repository.js} +37 -35
- package/lib/infrastructure/outbound/adapters/repositories/register/base-register-repository.js.map +1 -0
- package/lib/infrastructure/outbound/adapters/{register → repositories/register}/index.d.ts +0 -4
- package/lib/infrastructure/outbound/adapters/{register → repositories/register}/index.js +0 -4
- package/lib/infrastructure/outbound/adapters/repositories/register/index.js.map +1 -0
- package/lib/infrastructure/outbound/adapters/repositories/register/register-inscription-proof.repository.d.ts +15 -0
- package/lib/infrastructure/outbound/adapters/repositories/register/register-inscription-proof.repository.js +21 -0
- package/lib/infrastructure/outbound/adapters/repositories/register/register-inscription-proof.repository.js.map +1 -0
- package/lib/infrastructure/outbound/adapters/repositories/register/register-scope-five.repository.d.ts +15 -0
- package/lib/infrastructure/outbound/adapters/repositories/register/register-scope-five.repository.js +21 -0
- package/lib/infrastructure/outbound/adapters/repositories/register/register-scope-five.repository.js.map +1 -0
- package/lib/infrastructure/outbound/adapters/repositories/register/register-scope-four.repository.d.ts +14 -0
- package/lib/infrastructure/outbound/adapters/repositories/register/register-scope-four.repository.js +20 -0
- package/lib/infrastructure/outbound/adapters/repositories/register/register-scope-four.repository.js.map +1 -0
- package/lib/infrastructure/outbound/adapters/repositories/register/register-scope-ten.repository.d.ts +14 -0
- package/lib/infrastructure/outbound/adapters/repositories/register/register-scope-ten.repository.js +20 -0
- package/lib/infrastructure/outbound/adapters/repositories/register/register-scope-ten.repository.js.map +1 -0
- package/lib/infrastructure/outbound/adapters/repositories/register/register-scope-thirteen.repository.d.ts +16 -0
- package/lib/infrastructure/outbound/adapters/repositories/register/register-scope-thirteen.repository.js +59 -0
- package/lib/infrastructure/outbound/adapters/repositories/register/register-scope-thirteen.repository.js.map +1 -0
- package/lib/infrastructure/outbound/adapters/soap/base-soap-repository.d.ts +9 -11
- package/lib/infrastructure/outbound/adapters/soap/base-soap-repository.js +27 -11
- package/lib/infrastructure/outbound/adapters/soap/base-soap-repository.js.map +1 -1
- package/lib/infrastructure/outbound/adapters/soap/engines/index.d.ts +3 -0
- package/lib/infrastructure/outbound/adapters/soap/engines/index.js +8 -0
- package/lib/infrastructure/outbound/adapters/soap/engines/index.js.map +1 -0
- package/lib/infrastructure/outbound/adapters/soap/engines/node-security.engine.d.ts +1 -0
- package/lib/infrastructure/outbound/adapters/soap/engines/node-security.engine.js +69 -0
- package/lib/infrastructure/outbound/adapters/soap/engines/node-security.engine.js.map +1 -0
- package/lib/infrastructure/outbound/adapters/soap/engines/soap-engine.factory.d.ts +3 -0
- package/lib/infrastructure/outbound/adapters/soap/engines/soap-engine.factory.js +67 -0
- package/lib/infrastructure/outbound/adapters/soap/engines/soap-engine.factory.js.map +1 -0
- package/lib/infrastructure/outbound/adapters/soap/engines/universal-transport.engine.d.ts +5 -0
- package/lib/infrastructure/outbound/adapters/soap/engines/universal-transport.engine.js +43 -0
- package/lib/infrastructure/outbound/adapters/soap/engines/universal-transport.engine.js.map +1 -0
- package/lib/infrastructure/outbound/adapters/soap/soap-client.d.ts +6 -7
- package/lib/infrastructure/outbound/adapters/soap/soap-client.js +44 -25
- package/lib/infrastructure/outbound/adapters/soap/soap-client.js.map +1 -1
- package/lib/infrastructure/outbound/adapters/soap/wsdl-strings.js +6264 -0
- package/lib/infrastructure/outbound/adapters/soap/wsdl-strings.js.map +1 -1
- package/lib/infrastructure/outbound/adapters/storage/file-system-ticket-storage.d.ts +1 -5
- package/lib/infrastructure/outbound/adapters/storage/file-system-ticket-storage.js.map +1 -1
- package/lib/infrastructure/outbound/adapters/storage/memory-ticket-storage.d.ts +15 -0
- package/lib/infrastructure/outbound/adapters/storage/memory-ticket-storage.js +57 -0
- package/lib/infrastructure/outbound/adapters/storage/memory-ticket-storage.js.map +1 -0
- package/lib/infrastructure/outbound/index.d.ts +1 -6
- package/lib/infrastructure/outbound/index.js +1 -6
- package/lib/infrastructure/outbound/index.js.map +1 -1
- package/lib/infrastructure/outbound/ports/index.d.ts +3 -9
- package/lib/infrastructure/outbound/ports/index.js +3 -9
- package/lib/infrastructure/outbound/ports/index.js.map +1 -1
- package/lib/infrastructure/outbound/ports/soap/enums/endpoints.enum.d.ts +11 -1
- package/lib/infrastructure/outbound/ports/soap/enums/endpoints.enum.js +10 -0
- package/lib/infrastructure/outbound/ports/soap/enums/endpoints.enum.js.map +1 -1
- package/lib/infrastructure/outbound/ports/soap/enums/index.d.ts +0 -5
- package/lib/infrastructure/outbound/ports/soap/enums/index.js +0 -5
- package/lib/infrastructure/outbound/ports/soap/enums/index.js.map +1 -1
- package/lib/infrastructure/outbound/ports/soap/enums/wsdl-path.enum.d.ts +5 -1
- package/lib/infrastructure/outbound/ports/soap/enums/wsdl-path.enum.js +4 -0
- package/lib/infrastructure/outbound/ports/soap/enums/wsdl-path.enum.js.map +1 -1
- package/lib/infrastructure/outbound/ports/soap/index.d.ts +0 -4
- package/lib/infrastructure/outbound/ports/soap/index.js +0 -4
- package/lib/infrastructure/outbound/ports/soap/index.js.map +1 -1
- package/lib/infrastructure/outbound/ports/soap/interfaces/FECredService/ServiceSoap.d.ts +932 -0
- package/lib/infrastructure/outbound/ports/{logger/logger.port.js → soap/interfaces/FECredService/ServiceSoap.js} +1 -1
- package/lib/infrastructure/outbound/ports/soap/interfaces/FECredService/ServiceSoap.js.map +1 -0
- package/lib/infrastructure/outbound/ports/soap/interfaces/FEXService/ServiceSoap.d.ts +687 -0
- package/lib/infrastructure/outbound/ports/{logger/logger.types.js → soap/interfaces/FEXService/ServiceSoap.js} +1 -1
- package/lib/infrastructure/outbound/ports/soap/interfaces/FEXService/ServiceSoap.js.map +1 -0
- package/lib/infrastructure/outbound/ports/soap/interfaces/FEXService/ServiceSoap12.d.ts +687 -0
- package/lib/infrastructure/outbound/ports/soap/interfaces/FEXService/ServiceSoap12.js +3 -0
- package/lib/infrastructure/outbound/ports/soap/interfaces/FEXService/ServiceSoap12.js.map +1 -0
- package/lib/infrastructure/outbound/ports/soap/interfaces/Service/ServiceSoap.d.ts +16 -8
- package/lib/infrastructure/outbound/ports/soap/interfaces/Service/ServiceSoap12.d.ts +16 -8
- package/lib/infrastructure/outbound/ports/soap/interfaces/index.d.ts +3 -0
- package/lib/infrastructure/outbound/ports/soap/interfaces/index.js +4 -1
- package/lib/infrastructure/outbound/ports/soap/interfaces/index.js.map +1 -1
- package/lib/infrastructure/outbound/ports/soap/soap-client.port.d.ts +4 -9
- package/lib/infrastructure/outbound/ports/storage/ticket-storage.port.d.ts +0 -4
- package/lib/infrastructure/types/auth-repository.types.d.ts +19 -0
- package/lib/infrastructure/types/auth-repository.types.js.map +1 -0
- package/lib/infrastructure/types/index.d.ts +5 -4
- package/lib/infrastructure/types/index.js +5 -4
- package/lib/infrastructure/types/index.js.map +1 -1
- package/lib/infrastructure/types/soap-client.types.d.ts +21 -0
- package/lib/infrastructure/types/soap-client.types.js +3 -0
- package/lib/infrastructure/types/soap-client.types.js.map +1 -0
- package/lib/infrastructure/types/soap-engine.types.d.ts +19 -0
- package/lib/infrastructure/types/soap-engine.types.js +3 -0
- package/lib/infrastructure/types/soap-engine.types.js.map +1 -0
- package/lib/infrastructure/{outbound/ports/soap → types}/soap-repository.types.d.ts +17 -11
- package/lib/infrastructure/types/soap-repository.types.js.map +1 -0
- package/lib/infrastructure/types/soap.types.d.ts +9 -27
- package/lib/infrastructure/{outbound/ports/storage → types}/ticket-storage.types.d.ts +0 -4
- package/lib/infrastructure/types/ticket-storage.types.js.map +1 -0
- package/lib/infrastructure/utils/afip-errors.d.ts +1 -0
- package/lib/infrastructure/utils/afip-errors.js +11 -0
- package/lib/infrastructure/utils/afip-errors.js.map +1 -0
- package/lib/infrastructure/utils/crypt-data.js +1 -1
- package/lib/infrastructure/utils/crypt-data.js.map +1 -1
- package/lib/infrastructure/utils/datetime-ref.d.ts +20 -0
- package/lib/infrastructure/utils/datetime-ref.js +41 -0
- package/lib/infrastructure/utils/datetime-ref.js.map +1 -0
- package/lib/infrastructure/utils/index.d.ts +2 -6
- package/lib/infrastructure/utils/index.js +2 -6
- package/lib/infrastructure/utils/index.js.map +1 -1
- package/lib/infrastructure/utils/soap-runtime.d.ts +9 -0
- package/lib/infrastructure/utils/soap-runtime.js +17 -0
- package/lib/infrastructure/utils/soap-runtime.js.map +1 -0
- package/package.json +16 -17
- package/lib/application/config/env.d.ts +0 -6
- package/lib/application/config/env.js +0 -14
- package/lib/application/config/env.js.map +0 -1
- package/lib/application/config/index.d.ts +0 -6
- package/lib/application/config/index.js +0 -15
- package/lib/application/config/index.js.map +0 -1
- package/lib/infrastructure/inbound/adapters/arca.d.ts +0 -26
- package/lib/infrastructure/inbound/adapters/arca.js +0 -123
- package/lib/infrastructure/inbound/adapters/arca.js.map +0 -1
- package/lib/infrastructure/outbound/adapters/auth/afip-auth.repository.d.ts +0 -68
- package/lib/infrastructure/outbound/adapters/auth/afip-auth.repository.js +0 -128
- package/lib/infrastructure/outbound/adapters/auth/afip-auth.repository.js.map +0 -1
- package/lib/infrastructure/outbound/adapters/auth/auth.repository.js.map +0 -1
- package/lib/infrastructure/outbound/adapters/electronic-billing/electronic-billing-repository.js.map +0 -1
- package/lib/infrastructure/outbound/adapters/electronic-billing/index.d.ts +0 -5
- package/lib/infrastructure/outbound/adapters/electronic-billing/index.js.map +0 -1
- package/lib/infrastructure/outbound/adapters/enums.d.ts +0 -43
- package/lib/infrastructure/outbound/adapters/enums.js +0 -49
- package/lib/infrastructure/outbound/adapters/enums.js.map +0 -1
- package/lib/infrastructure/outbound/adapters/generic/generic-repository.d.ts +0 -13
- package/lib/infrastructure/outbound/adapters/generic/generic-repository.js.map +0 -1
- package/lib/infrastructure/outbound/adapters/logger/winston-logger.d.ts +0 -14
- package/lib/infrastructure/outbound/adapters/logger/winston-logger.js +0 -24
- package/lib/infrastructure/outbound/adapters/logger/winston-logger.js.map +0 -1
- package/lib/infrastructure/outbound/adapters/register/index.js.map +0 -1
- package/lib/infrastructure/outbound/adapters/register/register-inscription-proof.repository.d.ts +0 -18
- package/lib/infrastructure/outbound/adapters/register/register-inscription-proof.repository.js +0 -143
- package/lib/infrastructure/outbound/adapters/register/register-inscription-proof.repository.js.map +0 -1
- package/lib/infrastructure/outbound/adapters/register/register-scope-five.repository.d.ts +0 -14
- package/lib/infrastructure/outbound/adapters/register/register-scope-five.repository.js +0 -136
- package/lib/infrastructure/outbound/adapters/register/register-scope-five.repository.js.map +0 -1
- package/lib/infrastructure/outbound/adapters/register/register-scope-four.repository.d.ts +0 -12
- package/lib/infrastructure/outbound/adapters/register/register-scope-four.repository.js +0 -103
- package/lib/infrastructure/outbound/adapters/register/register-scope-four.repository.js.map +0 -1
- package/lib/infrastructure/outbound/adapters/register/register-scope-ten.repository.d.ts +0 -12
- package/lib/infrastructure/outbound/adapters/register/register-scope-ten.repository.js.map +0 -1
- package/lib/infrastructure/outbound/adapters/register/register-scope-thirteen.repository.d.ts +0 -13
- package/lib/infrastructure/outbound/adapters/register/register-scope-thirteen.repository.js +0 -133
- package/lib/infrastructure/outbound/adapters/register/register-scope-thirteen.repository.js.map +0 -1
- package/lib/infrastructure/outbound/adapters/soap/soap-client-facade.d.ts +0 -20
- package/lib/infrastructure/outbound/adapters/soap/soap-client-facade.js +0 -54
- package/lib/infrastructure/outbound/adapters/soap/soap-client-facade.js.map +0 -1
- package/lib/infrastructure/outbound/ports/auth/auth-repository.types.d.ts +0 -17
- package/lib/infrastructure/outbound/ports/auth/auth-repository.types.js.map +0 -1
- package/lib/infrastructure/outbound/ports/logger/logger.port.d.ts +0 -31
- package/lib/infrastructure/outbound/ports/logger/logger.port.js.map +0 -1
- package/lib/infrastructure/outbound/ports/logger/logger.types.d.ts +0 -7
- package/lib/infrastructure/outbound/ports/logger/logger.types.js.map +0 -1
- package/lib/infrastructure/outbound/ports/soap/enums/service-names.enum.js.map +0 -1
- package/lib/infrastructure/outbound/ports/soap/soap-repository.types.js.map +0 -1
- package/lib/infrastructure/outbound/ports/storage/ticket-storage.types.js.map +0 -1
- package/lib/infrastructure/utils/env.d.ts +0 -10
- package/lib/infrastructure/utils/env.js +0 -32
- package/lib/infrastructure/utils/env.js.map +0 -1
- package/lib/infrastructure/utils/logger.d.ts +0 -4
- package/lib/infrastructure/utils/logger.js +0 -21
- package/lib/infrastructure/utils/logger.js.map +0 -1
- package/lib/infrastructure/utils/soap-to-dto.mapper.js.map +0 -1
- /package/lib/infrastructure/{utils → mappers}/soap-to-dto.mapper.js +0 -0
- /package/lib/infrastructure/{outbound/ports/auth → types}/auth-repository.types.js +0 -0
- /package/lib/infrastructure/{outbound/ports/soap → types}/soap-repository.types.js +0 -0
- /package/lib/infrastructure/{outbound/ports/storage → types}/ticket-storage.types.js +0 -0
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.GetParamMonConCotizacionUseCase = void 0;
|
|
13
|
+
class GetParamMonConCotizacionUseCase {
|
|
14
|
+
constructor(repository) {
|
|
15
|
+
this.repository = repository;
|
|
16
|
+
}
|
|
17
|
+
execute(input) {
|
|
18
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
19
|
+
return this.repository.getParamMonConCotizacion(input);
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
exports.GetParamMonConCotizacionUseCase = GetParamMonConCotizacionUseCase;
|
|
24
|
+
//# sourceMappingURL=get-param-mon-con-cotizacion.use-case.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-param-mon-con-cotizacion.use-case.js","sourceRoot":"","sources":["../../../../src/application/use-cases/wsfex/get-param-mon-con-cotizacion.use-case.ts"],"names":[],"mappings":";;;;;;;;;;;;AAMA,MAAa,+BAA+B;IAC1C,YAA6B,UAA8B;QAA9B,eAAU,GAAV,UAAU,CAAoB;IAAG,CAAC;IAEzD,OAAO,CACX,KAA2C;;YAE3C,OAAO,IAAI,CAAC,UAAU,CAAC,wBAAwB,CAAC,KAAK,CAAC,CAAC;QACzD,CAAC;KAAA;CACF;AARD,0EAQC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { IFexRepositoryPort } from "../../ports/fex/fex-repository.port";
|
|
2
|
+
import { IFEXGetPARAM_MONInput, IFEXGetPARAM_MONOutput } from "../../../infrastructure/outbound/ports/soap/interfaces/FEXService/ServiceSoap";
|
|
3
|
+
export declare class GetParamMonUseCase {
|
|
4
|
+
private readonly repository;
|
|
5
|
+
constructor(repository: IFexRepositoryPort);
|
|
6
|
+
execute(input: IFEXGetPARAM_MONInput): Promise<IFEXGetPARAM_MONOutput>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.GetParamMonUseCase = void 0;
|
|
13
|
+
class GetParamMonUseCase {
|
|
14
|
+
constructor(repository) {
|
|
15
|
+
this.repository = repository;
|
|
16
|
+
}
|
|
17
|
+
execute(input) {
|
|
18
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
19
|
+
return this.repository.getParamMon(input);
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
exports.GetParamMonUseCase = GetParamMonUseCase;
|
|
24
|
+
//# sourceMappingURL=get-param-mon.use-case.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-param-mon.use-case.js","sourceRoot":"","sources":["../../../../src/application/use-cases/wsfex/get-param-mon.use-case.ts"],"names":[],"mappings":";;;;;;;;;;;;AAMA,MAAa,kBAAkB;IAC7B,YAA6B,UAA8B;QAA9B,eAAU,GAAV,UAAU,CAAoB;IAAG,CAAC;IAEzD,OAAO,CAAC,KAA4B;;YACxC,OAAO,IAAI,CAAC,UAAU,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;QAC5C,CAAC;KAAA;CACF;AAND,gDAMC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { IFexRepositoryPort } from "../../ports/fex/fex-repository.port";
|
|
2
|
+
import { IFEXGetPARAM_OpcionalesInput, IFEXGetPARAM_OpcionalesOutput } from "../../../infrastructure/outbound/ports/soap/interfaces/FEXService/ServiceSoap";
|
|
3
|
+
export declare class GetParamOpcionalesUseCase {
|
|
4
|
+
private readonly repository;
|
|
5
|
+
constructor(repository: IFexRepositoryPort);
|
|
6
|
+
execute(input: IFEXGetPARAM_OpcionalesInput): Promise<IFEXGetPARAM_OpcionalesOutput>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.GetParamOpcionalesUseCase = void 0;
|
|
13
|
+
class GetParamOpcionalesUseCase {
|
|
14
|
+
constructor(repository) {
|
|
15
|
+
this.repository = repository;
|
|
16
|
+
}
|
|
17
|
+
execute(input) {
|
|
18
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
19
|
+
return this.repository.getParamOpcionales(input);
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
exports.GetParamOpcionalesUseCase = GetParamOpcionalesUseCase;
|
|
24
|
+
//# sourceMappingURL=get-param-opcionales.use-case.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-param-opcionales.use-case.js","sourceRoot":"","sources":["../../../../src/application/use-cases/wsfex/get-param-opcionales.use-case.ts"],"names":[],"mappings":";;;;;;;;;;;;AAMA,MAAa,yBAAyB;IACpC,YAA6B,UAA8B;QAA9B,eAAU,GAAV,UAAU,CAAoB;IAAG,CAAC;IAEzD,OAAO,CACX,KAAmC;;YAEnC,OAAO,IAAI,CAAC,UAAU,CAAC,kBAAkB,CAAC,KAAK,CAAC,CAAC;QACnD,CAAC;KAAA;CACF;AARD,8DAQC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { IFexRepositoryPort } from "../../ports/fex/fex-repository.port";
|
|
2
|
+
import { IFEXGetPARAM_PtoVentaInput, IFEXGetPARAM_PtoVentaOutput } from "../../../infrastructure/outbound/ports/soap/interfaces/FEXService/ServiceSoap";
|
|
3
|
+
export declare class GetParamPtoVentaUseCase {
|
|
4
|
+
private readonly repository;
|
|
5
|
+
constructor(repository: IFexRepositoryPort);
|
|
6
|
+
execute(input: IFEXGetPARAM_PtoVentaInput): Promise<IFEXGetPARAM_PtoVentaOutput>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.GetParamPtoVentaUseCase = void 0;
|
|
13
|
+
class GetParamPtoVentaUseCase {
|
|
14
|
+
constructor(repository) {
|
|
15
|
+
this.repository = repository;
|
|
16
|
+
}
|
|
17
|
+
execute(input) {
|
|
18
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
19
|
+
return this.repository.getParamPtoVenta(input);
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
exports.GetParamPtoVentaUseCase = GetParamPtoVentaUseCase;
|
|
24
|
+
//# sourceMappingURL=get-param-pto-venta.use-case.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-param-pto-venta.use-case.js","sourceRoot":"","sources":["../../../../src/application/use-cases/wsfex/get-param-pto-venta.use-case.ts"],"names":[],"mappings":";;;;;;;;;;;;AAMA,MAAa,uBAAuB;IAClC,YAA6B,UAA8B;QAA9B,eAAU,GAAV,UAAU,CAAoB;IAAG,CAAC;IAEzD,OAAO,CACX,KAAiC;;YAEjC,OAAO,IAAI,CAAC,UAAU,CAAC,gBAAgB,CAAC,KAAK,CAAC,CAAC;QACjD,CAAC;KAAA;CACF;AARD,0DAQC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { IFexRepositoryPort } from "../../ports/fex/fex-repository.port";
|
|
2
|
+
import { IFEXGetPARAM_Tipo_ExpoInput, IFEXGetPARAM_Tipo_ExpoOutput } from "../../../infrastructure/outbound/ports/soap/interfaces/FEXService/ServiceSoap";
|
|
3
|
+
export declare class GetParamTipoExpoUseCase {
|
|
4
|
+
private readonly repository;
|
|
5
|
+
constructor(repository: IFexRepositoryPort);
|
|
6
|
+
execute(input: IFEXGetPARAM_Tipo_ExpoInput): Promise<IFEXGetPARAM_Tipo_ExpoOutput>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.GetParamTipoExpoUseCase = void 0;
|
|
13
|
+
class GetParamTipoExpoUseCase {
|
|
14
|
+
constructor(repository) {
|
|
15
|
+
this.repository = repository;
|
|
16
|
+
}
|
|
17
|
+
execute(input) {
|
|
18
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
19
|
+
return this.repository.getParamTipoExpo(input);
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
exports.GetParamTipoExpoUseCase = GetParamTipoExpoUseCase;
|
|
24
|
+
//# sourceMappingURL=get-param-tipo-expo.use-case.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-param-tipo-expo.use-case.js","sourceRoot":"","sources":["../../../../src/application/use-cases/wsfex/get-param-tipo-expo.use-case.ts"],"names":[],"mappings":";;;;;;;;;;;;AAMA,MAAa,uBAAuB;IAClC,YAA6B,UAA8B;QAA9B,eAAU,GAAV,UAAU,CAAoB;IAAG,CAAC;IAEzD,OAAO,CACX,KAAkC;;YAElC,OAAO,IAAI,CAAC,UAAU,CAAC,gBAAgB,CAAC,KAAK,CAAC,CAAC;QACjD,CAAC;KAAA;CACF;AARD,0DAQC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { IFexRepositoryPort } from "../../ports/fex/fex-repository.port";
|
|
2
|
+
import { IFEXGetPARAM_UMedInput, IFEXGetPARAM_UMedOutput } from "../../../infrastructure/outbound/ports/soap/interfaces/FEXService/ServiceSoap";
|
|
3
|
+
export declare class GetParamUMedUseCase {
|
|
4
|
+
private readonly repository;
|
|
5
|
+
constructor(repository: IFexRepositoryPort);
|
|
6
|
+
execute(input: IFEXGetPARAM_UMedInput): Promise<IFEXGetPARAM_UMedOutput>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.GetParamUMedUseCase = void 0;
|
|
13
|
+
class GetParamUMedUseCase {
|
|
14
|
+
constructor(repository) {
|
|
15
|
+
this.repository = repository;
|
|
16
|
+
}
|
|
17
|
+
execute(input) {
|
|
18
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
19
|
+
return this.repository.getParamUMed(input);
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
exports.GetParamUMedUseCase = GetParamUMedUseCase;
|
|
24
|
+
//# sourceMappingURL=get-param-umed.use-case.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-param-umed.use-case.js","sourceRoot":"","sources":["../../../../src/application/use-cases/wsfex/get-param-umed.use-case.ts"],"names":[],"mappings":";;;;;;;;;;;;AAMA,MAAa,mBAAmB;IAC9B,YAA6B,UAA8B;QAA9B,eAAU,GAAV,UAAU,CAAoB;IAAG,CAAC;IAEzD,OAAO,CACX,KAA6B;;YAE7B,OAAO,IAAI,CAAC,UAAU,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC;QAC7C,CAAC;KAAA;CACF;AARD,kDAQC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export * from "./authorize.use-case";
|
|
2
|
+
export * from "./get-cmp.use-case";
|
|
3
|
+
export * from "./get-last-cmp.use-case";
|
|
4
|
+
export * from "./get-last-id.use-case";
|
|
5
|
+
export * from "./check-permiso.use-case";
|
|
6
|
+
export * from "./get-param-cbte-tipo.use-case";
|
|
7
|
+
export * from "./get-param-tipo-expo.use-case";
|
|
8
|
+
export * from "./get-param-incoterms.use-case";
|
|
9
|
+
export * from "./get-param-idiomas.use-case";
|
|
10
|
+
export * from "./get-param-umed.use-case";
|
|
11
|
+
export * from "./get-param-dst-pais.use-case";
|
|
12
|
+
export * from "./get-param-dst-cuit.use-case";
|
|
13
|
+
export * from "./get-param-mon.use-case";
|
|
14
|
+
export * from "./get-param-mon-con-cotizacion.use-case";
|
|
15
|
+
export * from "./get-param-ctz.use-case";
|
|
16
|
+
export * from "./get-param-pto-venta.use-case";
|
|
17
|
+
export * from "./get-param-opcionales.use-case";
|
|
18
|
+
export * from "./get-param-actividades.use-case";
|
|
19
|
+
export * from "./dummy.use-case";
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./authorize.use-case"), exports);
|
|
18
|
+
__exportStar(require("./get-cmp.use-case"), exports);
|
|
19
|
+
__exportStar(require("./get-last-cmp.use-case"), exports);
|
|
20
|
+
__exportStar(require("./get-last-id.use-case"), exports);
|
|
21
|
+
__exportStar(require("./check-permiso.use-case"), exports);
|
|
22
|
+
__exportStar(require("./get-param-cbte-tipo.use-case"), exports);
|
|
23
|
+
__exportStar(require("./get-param-tipo-expo.use-case"), exports);
|
|
24
|
+
__exportStar(require("./get-param-incoterms.use-case"), exports);
|
|
25
|
+
__exportStar(require("./get-param-idiomas.use-case"), exports);
|
|
26
|
+
__exportStar(require("./get-param-umed.use-case"), exports);
|
|
27
|
+
__exportStar(require("./get-param-dst-pais.use-case"), exports);
|
|
28
|
+
__exportStar(require("./get-param-dst-cuit.use-case"), exports);
|
|
29
|
+
__exportStar(require("./get-param-mon.use-case"), exports);
|
|
30
|
+
__exportStar(require("./get-param-mon-con-cotizacion.use-case"), exports);
|
|
31
|
+
__exportStar(require("./get-param-ctz.use-case"), exports);
|
|
32
|
+
__exportStar(require("./get-param-pto-venta.use-case"), exports);
|
|
33
|
+
__exportStar(require("./get-param-opcionales.use-case"), exports);
|
|
34
|
+
__exportStar(require("./get-param-actividades.use-case"), exports);
|
|
35
|
+
__exportStar(require("./dummy.use-case"), exports);
|
|
36
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/application/use-cases/wsfex/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAqC;AACrC,qDAAmC;AACnC,0DAAwC;AACxC,yDAAuC;AACvC,2DAAyC;AACzC,iEAA+C;AAC/C,iEAA+C;AAC/C,iEAA+C;AAC/C,+DAA6C;AAC7C,4DAA0C;AAC1C,gEAA8C;AAC9C,gEAA8C;AAC9C,2DAAyC;AACzC,0EAAwD;AACxD,2DAAyC;AACzC,iEAA+C;AAC/C,kEAAgD;AAChD,mEAAiD;AACjD,mDAAiC"}
|
|
@@ -1,14 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
3
|
exports.AccessTicket = void 0;
|
|
7
|
-
/**
|
|
8
|
-
* AccessTicket Entity
|
|
9
|
-
* Domain entity representing an authentication ticket from AFIP/ARCA
|
|
10
|
-
*/
|
|
11
|
-
const moment_1 = __importDefault(require("moment"));
|
|
12
4
|
/**
|
|
13
5
|
* AccessTicket Entity
|
|
14
6
|
* Represents an authentication ticket with business logic
|
|
@@ -66,7 +58,11 @@ class AccessTicket {
|
|
|
66
58
|
if (!expirationTime) {
|
|
67
59
|
throw new Error("Expiration time is missing");
|
|
68
60
|
}
|
|
69
|
-
|
|
61
|
+
const d = new Date(expirationTime);
|
|
62
|
+
if (Number.isNaN(d.getTime())) {
|
|
63
|
+
throw new Error("Invalid ticket expiration time");
|
|
64
|
+
}
|
|
65
|
+
return d;
|
|
70
66
|
}
|
|
71
67
|
/**
|
|
72
68
|
* Gets the headers
|
|
@@ -114,7 +110,7 @@ class AccessTicket {
|
|
|
114
110
|
isExpired() {
|
|
115
111
|
try {
|
|
116
112
|
const expiration = this.getExpiration();
|
|
117
|
-
return
|
|
113
|
+
return expiration.getTime() < Date.now();
|
|
118
114
|
}
|
|
119
115
|
catch (error) {
|
|
120
116
|
return true; // If we can't determine expiration, consider it expired
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"access-ticket.entity.js","sourceRoot":"","sources":["../../../src/domain/entities/access-ticket.entity.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"access-ticket.entity.js","sourceRoot":"","sources":["../../../src/domain/entities/access-ticket.entity.ts"],"names":[],"mappings":";;;AAaA;;;GAGG;AACH,MAAa,YAAY;IACvB,YACmB,MAA8B,EAC9B,WAAuC;QADvC,WAAM,GAAN,MAAM,CAAwB;QAC9B,gBAAW,GAAX,WAAW,CAA4B;QAExD,IAAI,CAAC,QAAQ,EAAE,CAAC;IAClB,CAAC;IAED;;;;OAIG;IACH,MAAM,CAAC,MAAM,CAAC,IAAuB;QACnC,OAAO,IAAI,YAAY,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC;IACzD,CAAC;IAED;;;OAGG;IACK,QAAQ;;QACd,IAAI,CAAC,IAAI,CAAC,MAAM,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC;YAChD,MAAM,IAAI,KAAK,CAAC,iCAAiC,CAAC,CAAC;QACrD,CAAC;QAED,IACE,CAAC,IAAI,CAAC,WAAW;YACjB,CAAC,IAAI,CAAC,WAAW,CAAC,IAAI;YACtB,CAAC,IAA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IAAI,IAAI,IAAI,CAAC,EAAE,CAAC;YACvB,MAAM,IAAI,KAAK,CAAC,uBAAuB,CAAC,CAAC;QAC3C,CAAC;QAED,OAAO;YACL,IAAI,EAAE;gBACJ,KAAK,EAAE,IAAI,CAAC,QAAQ,EAAE;gBACtB,IAAI,EAAE,IAAI,CAAC,OAAO,EAAE;gBACpB,IAAI,EAAE,IAAI;aACX;SACF,CAAC;IACJ,CAAC;IAED;;;OAGG;IACH,SAAS;QACP,IAAI,CAAC;YACH,MAAM,UAAU,GAAG,IAAI,CAAC,aAAa,EAAE,CAAC;YACxC,OAAO,UAAU,CAAC,OAAO,EAAE,GAAG,IAAI,CAAC,GAAG,EAAE,CAAC;QAC3C,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,OAAO,IAAI,CAAC,CAAC,wDAAwD;QACvE,CAAC;IACH,CAAC;IAED;;;OAGG;IACH,OAAO;QACL,OAAO,CAAC,IAAI,CAAC,SAAS,EAAE,CAAC;IAC3B,CAAC;IAED;;;OAGG;IACH,sBAAsB;QACpB,IAAI,IAAI,CAAC,SAAS,EAAE,EAAE,CAAC;YACrB,OAAO,CAAC,CAAC;QACX,CAAC;QAED,MAAM,UAAU,GAAG,IAAI,CAAC,aAAa,EAAE,CAAC;QACxC,MAAM,GAAG,GAAG,IAAI,IAAI,EAAE,CAAC;QACvB,OAAO,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,UAAU,CAAC,OAAO,EAAE,GAAG,GAAG,CAAC,OAAO,EAAE,CAAC,CAAC;IAC3D,CAAC;CACF;AAnJD,oCAmJC"}
|
|
@@ -14,10 +14,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
/**
|
|
18
|
-
* Domain Entities
|
|
19
|
-
* Exports all domain entities
|
|
20
|
-
*/
|
|
21
17
|
__exportStar(require("./access-ticket.entity"), exports);
|
|
22
18
|
__exportStar(require("./voucher.entity"), exports);
|
|
23
19
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/domain/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/domain/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yDAAuC;AACvC,mDAAiC"}
|
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Voucher Entity
|
|
3
|
-
* Domain entity representing an electronic voucher/comprobante
|
|
4
|
-
*/
|
|
5
1
|
import { IVoucher as IVoucherData, ICbtesAsoc, ITributo, IIva } from "../types/voucher.types";
|
|
6
2
|
/**
|
|
7
3
|
* Voucher Entity
|
|
@@ -21,6 +17,23 @@ export declare class Voucher {
|
|
|
21
17
|
* @throws Error if validation fails
|
|
22
18
|
*/
|
|
23
19
|
private validate;
|
|
20
|
+
/**
|
|
21
|
+
* Validates Factura C (Type C) specific rules
|
|
22
|
+
* Type C vouchers are for exempt operations and must not include IVA
|
|
23
|
+
* @throws Error if Type C rules are violated
|
|
24
|
+
*/
|
|
25
|
+
private validateFacturaC;
|
|
26
|
+
/**
|
|
27
|
+
* Validates Factura A/B specific rules
|
|
28
|
+
* Type A/B vouchers must include IVA information when ImpIVA > 0
|
|
29
|
+
* @throws Error if Type A/B rules are violated
|
|
30
|
+
*/
|
|
31
|
+
private validateFacturaWithIVA;
|
|
32
|
+
/**
|
|
33
|
+
* Validates that the IVA array totals match the ImpIVA field
|
|
34
|
+
* @throws Error if IVA array totals don't match ImpIVA
|
|
35
|
+
*/
|
|
36
|
+
private validateIVAConsistency;
|
|
24
37
|
/**
|
|
25
38
|
* Gets the Punto de Venta
|
|
26
39
|
*/
|
|
@@ -54,17 +67,17 @@ export declare class Voucher {
|
|
|
54
67
|
*/
|
|
55
68
|
getImpTrib(): number;
|
|
56
69
|
/**
|
|
57
|
-
* Checks if this is a Factura C
|
|
70
|
+
* Checks if this is a Type C voucher (Factura C - type 11)
|
|
58
71
|
*/
|
|
59
|
-
|
|
72
|
+
isTypeC(): boolean;
|
|
60
73
|
/**
|
|
61
|
-
* Checks if this is a Factura A
|
|
74
|
+
* Checks if this is a Type A voucher (Factura A - type 1)
|
|
62
75
|
*/
|
|
63
|
-
|
|
76
|
+
isTypeA(): boolean;
|
|
64
77
|
/**
|
|
65
|
-
* Checks if this is a Factura B
|
|
78
|
+
* Checks if this is a Type B voucher (Factura B - type 6)
|
|
66
79
|
*/
|
|
67
|
-
|
|
80
|
+
isTypeB(): boolean;
|
|
68
81
|
/**
|
|
69
82
|
* Gets the voucher date
|
|
70
83
|
*/
|
|
@@ -46,15 +46,15 @@ class Voucher {
|
|
|
46
46
|
if (this.data.CantReg !== expectedCantReg) {
|
|
47
47
|
throw new Error(`CantReg (${this.data.CantReg}) debe ser igual a la cantidad de comprobantes (${expectedCantReg})`);
|
|
48
48
|
}
|
|
49
|
-
// Validate
|
|
50
|
-
if (this.
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
throw new Error("Para comprobantes tipo C el objeto IVA no debe informarse.");
|
|
56
|
-
}
|
|
49
|
+
// Validate type-specific rules
|
|
50
|
+
if (this.isTypeC()) {
|
|
51
|
+
this.validateFacturaC();
|
|
52
|
+
}
|
|
53
|
+
if (this.isTypeA() || this.isTypeB()) {
|
|
54
|
+
this.validateFacturaWithIVA();
|
|
57
55
|
}
|
|
56
|
+
// Validate IVA consistency
|
|
57
|
+
this.validateIVAConsistency();
|
|
58
58
|
// Validate Total Calculation
|
|
59
59
|
const calculatedTotal = this.data.ImpNeto + this.data.ImpTrib + this.data.ImpIVA;
|
|
60
60
|
if (Math.abs(this.data.ImpTotal - calculatedTotal) > 0.01) {
|
|
@@ -78,6 +78,44 @@ class Voucher {
|
|
|
78
78
|
throw new Error("Cotización de moneda (MonCotiz) debe ser mayor a cero.");
|
|
79
79
|
}
|
|
80
80
|
}
|
|
81
|
+
/**
|
|
82
|
+
* Validates Factura C (Type C) specific rules
|
|
83
|
+
* Type C vouchers are for exempt operations and must not include IVA
|
|
84
|
+
* @throws Error if Type C rules are violated
|
|
85
|
+
*/
|
|
86
|
+
validateFacturaC() {
|
|
87
|
+
if (this.data.ImpIVA !== 0) {
|
|
88
|
+
throw new Error("El campo ImpIVA (Importe de IVA) para comprobantes tipo C debe ser igual a cero (0).");
|
|
89
|
+
}
|
|
90
|
+
if (this.data.Iva && this.data.Iva.length > 0) {
|
|
91
|
+
throw new Error("Para comprobantes tipo C el array Iva no debe informarse.");
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
/**
|
|
95
|
+
* Validates Factura A/B specific rules
|
|
96
|
+
* Type A/B vouchers must include IVA information when ImpIVA > 0
|
|
97
|
+
* @throws Error if Type A/B rules are violated
|
|
98
|
+
*/
|
|
99
|
+
validateFacturaWithIVA() {
|
|
100
|
+
// If ImpIVA > 0, must have Iva array
|
|
101
|
+
if (this.data.ImpIVA > 0 &&
|
|
102
|
+
(!this.data.Iva || this.data.Iva.length === 0)) {
|
|
103
|
+
const type = this.data.CbteTipo === 1 ? "A" : "B";
|
|
104
|
+
throw new Error(`Para comprobantes tipo ${type}, si ImpIVA es mayor a 0, debe informarse el array Iva con el detalle de alícuotas.`);
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
/**
|
|
108
|
+
* Validates that the IVA array totals match the ImpIVA field
|
|
109
|
+
* @throws Error if IVA array totals don't match ImpIVA
|
|
110
|
+
*/
|
|
111
|
+
validateIVAConsistency() {
|
|
112
|
+
if (this.data.Iva && this.data.Iva.length > 0) {
|
|
113
|
+
const totalIVA = this.data.Iva.reduce((sum, iva) => sum + iva.Importe, 0);
|
|
114
|
+
if (Math.abs(this.data.ImpIVA - totalIVA) > 0.01) {
|
|
115
|
+
throw new Error(`El campo ImpIVA (${this.data.ImpIVA}) debe ser igual a la suma de los importes del array Iva (${totalIVA}).`);
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
}
|
|
81
119
|
/**
|
|
82
120
|
* Gets the Punto de Venta
|
|
83
121
|
*/
|
|
@@ -127,21 +165,21 @@ class Voucher {
|
|
|
127
165
|
return this.data.ImpTrib;
|
|
128
166
|
}
|
|
129
167
|
/**
|
|
130
|
-
* Checks if this is a Factura C
|
|
168
|
+
* Checks if this is a Type C voucher (Factura C - type 11)
|
|
131
169
|
*/
|
|
132
|
-
|
|
170
|
+
isTypeC() {
|
|
133
171
|
return this.data.CbteTipo === 11;
|
|
134
172
|
}
|
|
135
173
|
/**
|
|
136
|
-
* Checks if this is a Factura A
|
|
174
|
+
* Checks if this is a Type A voucher (Factura A - type 1)
|
|
137
175
|
*/
|
|
138
|
-
|
|
176
|
+
isTypeA() {
|
|
139
177
|
return this.data.CbteTipo === 1;
|
|
140
178
|
}
|
|
141
179
|
/**
|
|
142
|
-
* Checks if this is a Factura B
|
|
180
|
+
* Checks if this is a Type B voucher (Factura B - type 6)
|
|
143
181
|
*/
|
|
144
|
-
|
|
182
|
+
isTypeB() {
|
|
145
183
|
return this.data.CbteTipo === 6;
|
|
146
184
|
}
|
|
147
185
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"voucher.entity.js","sourceRoot":"","sources":["../../../src/domain/entities/voucher.entity.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"voucher.entity.js","sourceRoot":"","sources":["../../../src/domain/entities/voucher.entity.ts"],"names":[],"mappings":";;;AAOA;;;GAGG;AACH,MAAa,OAAO;IAClB,YAAqC,IAAkB;QAAlB,SAAI,GAAJ,IAAI,CAAc;QACrD,IAAI,CAAC,QAAQ,EAAE,CAAC;IAClB,CAAC;IAED;;;;OAIG;IACH,MAAM,CAAC,MAAM,CAAC,IAA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CAAC;IACnC,CAAC;IAED;;OAEG;IACH,OAAO;QACL,OAAO,IAAI,CAAC,IAAI,CAAC,QAAQ,KAAK,CAAC,CAAC;IAClC,CAAC;IAED;;OAEG;IACH,OAAO;QACL,OAAO,IAAI,CAAC,IAAI,CAAC,QAAQ,KAAK,CAAC,CAAC;IAClC,CAAC;IAED;;OAEG;IACH,UAAU;QACR,OAAO,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC;IAC3B,CAAC;IAED;;OAEG;IACH,WAAW;QACT,OAAO,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC;IAC5B,CAAC;IAED;;OAEG;IACH,UAAU;QACR,OAAO,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC;IAC3B,CAAC;IAED;;OAEG;IACH,SAAS;QACP,OAAO,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC;IAC1B,CAAC;IAED;;OAEG;IACH,QAAQ;QACN,OAAO,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC;IACzB,CAAC;IAED;;OAEG;IACH,WAAW;QACT,OAAO,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC;IAC5B,CAAC;IAED;;OAEG;IACH,MAAM;QACJ,OAAO,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC;IACvB,CAAC;IAED;;OAEG;IACH,WAAW;QACT,OAAO,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC;IAC5B,CAAC;IAED;;OAEG;IACH,YAAY;QACV,OAAO,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC;IAC7B,CAAC;IAED;;;OAGG;IACH,KAAK;QACH,yBAAY,IAAI,CAAC,IAAI,EAAG;IAC1B,CAAC;IAED;;OAEG;IACH,UAAU;QACR,OAAO,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC;IAC3B,CAAC;CACF;AAlTD,0BAkTC"}
|
package/lib/domain/index.d.ts
CHANGED
package/lib/domain/index.js
CHANGED
|
@@ -14,10 +14,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
/**
|
|
18
|
-
* Domain Layer
|
|
19
|
-
* Exports all domain entities and value objects
|
|
20
|
-
*/
|
|
21
17
|
__exportStar(require("./entities"), exports);
|
|
22
18
|
__exportStar(require("./value-objects"), exports);
|
|
23
19
|
//# sourceMappingURL=index.js.map
|
package/lib/domain/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/domain/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/domain/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA2B;AAC3B,kDAAgC"}
|
|
@@ -1,8 +1,3 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* Domain Types - Electronic Billing
|
|
4
|
-
* Types representing electronic billing domain concepts
|
|
5
|
-
* These are business concepts, independent of infrastructure (SOAP, REST, etc.)
|
|
6
|
-
*/
|
|
7
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
3
|
//# sourceMappingURL=electronic-billing.types.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"electronic-billing.types.js","sourceRoot":"","sources":["../../../src/domain/types/electronic-billing.types.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"electronic-billing.types.js","sourceRoot":"","sources":["../../../src/domain/types/electronic-billing.types.ts"],"names":[],"mappings":""}
|
|
@@ -14,10 +14,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
/**
|
|
18
|
-
* Domain Types
|
|
19
|
-
* Exports all domain-related types
|
|
20
|
-
*/
|
|
21
17
|
__exportStar(require("./voucher.types"), exports);
|
|
22
18
|
__exportStar(require("./electronic-billing.types"), exports);
|
|
23
19
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/domain/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/domain/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kDAAgC;AAChC,6DAA2C"}
|