@arcasdk/core 0.3.6 → 1.3.1
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 +6 -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 +0 -4
- package/lib/infrastructure/constants/default-config.constants.js +0 -4
- package/lib/infrastructure/constants/default-config.constants.js.map +1 -1
- package/lib/infrastructure/constants/index.d.ts +2 -4
- package/lib/infrastructure/constants/index.js +2 -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 +20 -13
- 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 +21 -7
- 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 +5 -8
- package/lib/infrastructure/outbound/adapters/soap/soap-client.js +38 -33
- 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/{outbound/ports/auth → types}/auth-repository.types.d.ts +3 -7
- 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 +11 -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 +15 -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 -97
- 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 -55
- package/lib/infrastructure/outbound/adapters/soap/soap-client-facade.js.map +0 -1
- 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,152 @@
|
|
|
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.WsfexService = void 0;
|
|
13
|
+
const authorize_use_case_1 = require("../use-cases/wsfex/authorize.use-case");
|
|
14
|
+
const get_cmp_use_case_1 = require("../use-cases/wsfex/get-cmp.use-case");
|
|
15
|
+
const get_last_cmp_use_case_1 = require("../use-cases/wsfex/get-last-cmp.use-case");
|
|
16
|
+
const get_last_id_use_case_1 = require("../use-cases/wsfex/get-last-id.use-case");
|
|
17
|
+
const check_permiso_use_case_1 = require("../use-cases/wsfex/check-permiso.use-case");
|
|
18
|
+
const get_param_cbte_tipo_use_case_1 = require("../use-cases/wsfex/get-param-cbte-tipo.use-case");
|
|
19
|
+
const get_param_tipo_expo_use_case_1 = require("../use-cases/wsfex/get-param-tipo-expo.use-case");
|
|
20
|
+
const get_param_incoterms_use_case_1 = require("../use-cases/wsfex/get-param-incoterms.use-case");
|
|
21
|
+
const get_param_idiomas_use_case_1 = require("../use-cases/wsfex/get-param-idiomas.use-case");
|
|
22
|
+
const get_param_umed_use_case_1 = require("../use-cases/wsfex/get-param-umed.use-case");
|
|
23
|
+
const get_param_dst_pais_use_case_1 = require("../use-cases/wsfex/get-param-dst-pais.use-case");
|
|
24
|
+
const get_param_dst_cuit_use_case_1 = require("../use-cases/wsfex/get-param-dst-cuit.use-case");
|
|
25
|
+
const get_param_mon_use_case_1 = require("../use-cases/wsfex/get-param-mon.use-case");
|
|
26
|
+
const get_param_mon_con_cotizacion_use_case_1 = require("../use-cases/wsfex/get-param-mon-con-cotizacion.use-case");
|
|
27
|
+
const get_param_ctz_use_case_1 = require("../use-cases/wsfex/get-param-ctz.use-case");
|
|
28
|
+
const get_param_pto_venta_use_case_1 = require("../use-cases/wsfex/get-param-pto-venta.use-case");
|
|
29
|
+
const get_param_opcionales_use_case_1 = require("../use-cases/wsfex/get-param-opcionales.use-case");
|
|
30
|
+
const get_param_actividades_use_case_1 = require("../use-cases/wsfex/get-param-actividades.use-case");
|
|
31
|
+
const dummy_use_case_1 = require("../use-cases/wsfex/dummy.use-case");
|
|
32
|
+
class WsfexService {
|
|
33
|
+
constructor(repository) {
|
|
34
|
+
this.repository = repository;
|
|
35
|
+
this.authorizeUseCase = new authorize_use_case_1.AuthorizeUseCase(this.repository);
|
|
36
|
+
this.getCmpUseCase = new get_cmp_use_case_1.GetCmpUseCase(this.repository);
|
|
37
|
+
this.getLastCmpUseCase = new get_last_cmp_use_case_1.GetLastCmpUseCase(this.repository);
|
|
38
|
+
this.getLastIdUseCase = new get_last_id_use_case_1.GetLastIdUseCase(this.repository);
|
|
39
|
+
this.checkPermisoUseCase = new check_permiso_use_case_1.CheckPermisoUseCase(this.repository);
|
|
40
|
+
this.getParamCbteTipoUseCase = new get_param_cbte_tipo_use_case_1.GetParamCbteTipoUseCase(this.repository);
|
|
41
|
+
this.getParamTipoExpoUseCase = new get_param_tipo_expo_use_case_1.GetParamTipoExpoUseCase(this.repository);
|
|
42
|
+
this.getParamIncotermsUseCase = new get_param_incoterms_use_case_1.GetParamIncotermsUseCase(this.repository);
|
|
43
|
+
this.getParamIdiomasUseCase = new get_param_idiomas_use_case_1.GetParamIdiomasUseCase(this.repository);
|
|
44
|
+
this.getParamUMedUseCase = new get_param_umed_use_case_1.GetParamUMedUseCase(this.repository);
|
|
45
|
+
this.getParamDstPaisUseCase = new get_param_dst_pais_use_case_1.GetParamDstPaisUseCase(this.repository);
|
|
46
|
+
this.getParamDstCuitUseCase = new get_param_dst_cuit_use_case_1.GetParamDstCuitUseCase(this.repository);
|
|
47
|
+
this.getParamMonUseCase = new get_param_mon_use_case_1.GetParamMonUseCase(this.repository);
|
|
48
|
+
this.getParamMonConCotizacionUseCase = new get_param_mon_con_cotizacion_use_case_1.GetParamMonConCotizacionUseCase(this.repository);
|
|
49
|
+
this.getParamCtzUseCase = new get_param_ctz_use_case_1.GetParamCtzUseCase(this.repository);
|
|
50
|
+
this.getParamPtoVentaUseCase = new get_param_pto_venta_use_case_1.GetParamPtoVentaUseCase(this.repository);
|
|
51
|
+
this.getParamOpcionalesUseCase = new get_param_opcionales_use_case_1.GetParamOpcionalesUseCase(this.repository);
|
|
52
|
+
this.getParamActividadesUseCase = new get_param_actividades_use_case_1.GetParamActividadesUseCase(this.repository);
|
|
53
|
+
this.dummyUseCase = new dummy_use_case_1.FexDummyUseCase(this.repository);
|
|
54
|
+
}
|
|
55
|
+
authorize(input) {
|
|
56
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
57
|
+
return this.authorizeUseCase.execute(input);
|
|
58
|
+
});
|
|
59
|
+
}
|
|
60
|
+
getCmp(input) {
|
|
61
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
62
|
+
return this.getCmpUseCase.execute(input);
|
|
63
|
+
});
|
|
64
|
+
}
|
|
65
|
+
getLastCmp(input) {
|
|
66
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
67
|
+
return this.getLastCmpUseCase.execute(input);
|
|
68
|
+
});
|
|
69
|
+
}
|
|
70
|
+
getLastId(input) {
|
|
71
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
72
|
+
return this.getLastIdUseCase.execute(input);
|
|
73
|
+
});
|
|
74
|
+
}
|
|
75
|
+
checkPermiso(input) {
|
|
76
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
77
|
+
return this.checkPermisoUseCase.execute(input);
|
|
78
|
+
});
|
|
79
|
+
}
|
|
80
|
+
getParamCbteTipo(input) {
|
|
81
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
82
|
+
return this.getParamCbteTipoUseCase.execute(input);
|
|
83
|
+
});
|
|
84
|
+
}
|
|
85
|
+
getParamTipoExpo(input) {
|
|
86
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
87
|
+
return this.getParamTipoExpoUseCase.execute(input);
|
|
88
|
+
});
|
|
89
|
+
}
|
|
90
|
+
getParamIncoterms(input) {
|
|
91
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
92
|
+
return this.getParamIncotermsUseCase.execute(input);
|
|
93
|
+
});
|
|
94
|
+
}
|
|
95
|
+
getParamIdiomas(input) {
|
|
96
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
97
|
+
return this.getParamIdiomasUseCase.execute(input);
|
|
98
|
+
});
|
|
99
|
+
}
|
|
100
|
+
getParamUMed(input) {
|
|
101
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
102
|
+
return this.getParamUMedUseCase.execute(input);
|
|
103
|
+
});
|
|
104
|
+
}
|
|
105
|
+
getParamDstPais(input) {
|
|
106
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
107
|
+
return this.getParamDstPaisUseCase.execute(input);
|
|
108
|
+
});
|
|
109
|
+
}
|
|
110
|
+
getParamDstCuit(input) {
|
|
111
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
112
|
+
return this.getParamDstCuitUseCase.execute(input);
|
|
113
|
+
});
|
|
114
|
+
}
|
|
115
|
+
getParamMon(input) {
|
|
116
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
117
|
+
return this.getParamMonUseCase.execute(input);
|
|
118
|
+
});
|
|
119
|
+
}
|
|
120
|
+
getParamMonConCotizacion(input) {
|
|
121
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
122
|
+
return this.getParamMonConCotizacionUseCase.execute(input);
|
|
123
|
+
});
|
|
124
|
+
}
|
|
125
|
+
getParamCtz(input) {
|
|
126
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
127
|
+
return this.getParamCtzUseCase.execute(input);
|
|
128
|
+
});
|
|
129
|
+
}
|
|
130
|
+
getParamPtoVenta(input) {
|
|
131
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
132
|
+
return this.getParamPtoVentaUseCase.execute(input);
|
|
133
|
+
});
|
|
134
|
+
}
|
|
135
|
+
getParamOpcionales(input) {
|
|
136
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
137
|
+
return this.getParamOpcionalesUseCase.execute(input);
|
|
138
|
+
});
|
|
139
|
+
}
|
|
140
|
+
getParamActividades(input) {
|
|
141
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
142
|
+
return this.getParamActividadesUseCase.execute(input);
|
|
143
|
+
});
|
|
144
|
+
}
|
|
145
|
+
dummy() {
|
|
146
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
147
|
+
return this.dummyUseCase.execute();
|
|
148
|
+
});
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
exports.WsfexService = WsfexService;
|
|
152
|
+
//# sourceMappingURL=wsfex.service.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"wsfex.service.js","sourceRoot":"","sources":["../../../src/application/services/wsfex.service.ts"],"names":[],"mappings":"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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auth.types.js","sourceRoot":"","sources":["../../../src/application/types/auth.types.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"auth.types.js","sourceRoot":"","sources":["../../../src/application/types/auth.types.ts"],"names":[],"mappings":""}
|
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Application Types - Context
|
|
3
|
-
* Configuration types for the application
|
|
4
|
-
*/
|
|
5
1
|
import { ILoginCredentials } from "../../domain/entities/access-ticket.entity";
|
|
2
|
+
import { ITicketStoragePort } from "../../infrastructure/outbound/ports/storage/ticket-storage.port";
|
|
6
3
|
export interface Context {
|
|
7
4
|
/**
|
|
8
5
|
* Flag for production or testing environment
|
|
@@ -24,6 +21,11 @@ export interface Context {
|
|
|
24
21
|
* Tokens object if you have one created before
|
|
25
22
|
*/
|
|
26
23
|
credentials?: ILoginCredentials;
|
|
24
|
+
/**
|
|
25
|
+
* Custom ticket storage implementation.
|
|
26
|
+
* If provided, it will be used instead of the default FileSystemTicketStorage.
|
|
27
|
+
*/
|
|
28
|
+
ticketStorage?: ITicketStoragePort;
|
|
27
29
|
/**
|
|
28
30
|
* Flag that if is true, the access tickets data is handled by the developer, otherwise is saved locally.
|
|
29
31
|
*/
|
|
@@ -32,12 +34,6 @@ export interface Context {
|
|
|
32
34
|
* The path of the auth obj if the package is auto managed
|
|
33
35
|
*/
|
|
34
36
|
ticketPath?: string;
|
|
35
|
-
/**
|
|
36
|
-
* Enable console logging
|
|
37
|
-
*
|
|
38
|
-
* @default false
|
|
39
|
-
*/
|
|
40
|
-
enableLogging?: boolean;
|
|
41
37
|
/**
|
|
42
38
|
* Use SOAP 1.2 instead of SOAP 1.1 for Electronic Billing service
|
|
43
39
|
* @default true (uses SOAP 1.2 by default)
|
|
@@ -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
|
-
* Application Types
|
|
19
|
-
* Exports all application-related types
|
|
20
|
-
*/
|
|
21
17
|
__exportStar(require("./context.types"), exports);
|
|
22
18
|
__exportStar(require("./result.types"), exports);
|
|
23
19
|
__exportStar(require("./auth.types"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/application/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/application/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kDAAgC;AAChC,iDAA+B;AAC/B,+CAA6B;AAC7B,0DAAwC"}
|
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Application Types - Results
|
|
3
|
-
* Types for application service results
|
|
4
|
-
*/
|
|
5
1
|
import { ServiceSoap12Types } from "../../infrastructure/outbound/ports/soap/interfaces/Service/ServiceSoap12";
|
|
6
2
|
export interface ICreateVoucherResult {
|
|
7
3
|
response: ServiceSoap12Types.IFECAESolicitarResult;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-case-inputs.types.js","sourceRoot":"","sources":["../../../src/application/types/use-case-inputs.types.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"use-case-inputs.types.js","sourceRoot":"","sources":["../../../src/application/types/use-case-inputs.types.ts"],"names":[],"mappings":""}
|
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Get Auth Params Use Case
|
|
3
|
-
* Gets authentication parameters formatted for SOAP requests
|
|
4
|
-
*/
|
|
5
1
|
import { IAuthenticationRepositoryPort } from "../../ports/authentication/authentication-repository.port";
|
|
6
2
|
import { WSAuthParam, GetAuthParamsInput } from "../../types";
|
|
7
3
|
export declare class GetAuthParamsUseCase {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-auth-params.use-case.js","sourceRoot":"","sources":["../../../../src/application/use-cases/authentication/get-auth-params.use-case.ts"],"names":[],"mappings":";;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"get-auth-params.use-case.js","sourceRoot":"","sources":["../../../../src/application/use-cases/authentication/get-auth-params.use-case.ts"],"names":[],"mappings":";;;;;;;;;;;;AAGA,MAAa,oBAAoB;IAC/B,YACmB,wBAAuD;QAAvD,6BAAwB,GAAxB,wBAAwB,CAA+B;IACvE,CAAC;IAEJ;;;;OAIG;IACG,OAAO,CAAC,KAAyB;;YACrC,OAAO,IAAI,CAAC,wBAAwB,CAAC,aAAa,CAChD,KAAK,CAAC,MAAM,EACZ,KAAK,CAAC,IAAI,CACX,CAAC;QACJ,CAAC;KAAA;CACF;AAhBD,oDAgBC"}
|
|
@@ -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
|
-
* Authentication Use Cases
|
|
19
|
-
* Exports all authentication-related use cases
|
|
20
|
-
*/
|
|
21
17
|
__exportStar(require("./login.use-case"), exports);
|
|
22
18
|
__exportStar(require("./request-login.use-case"), exports);
|
|
23
19
|
__exportStar(require("./get-auth-params.use-case"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/application/use-cases/authentication/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/application/use-cases/authentication/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mDAAiC;AACjC,2DAAyC;AACzC,6DAA2C"}
|
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Login Use Case
|
|
3
|
-
* Authenticates and obtains an access ticket for a service
|
|
4
|
-
* Handles automatic ticket management (checking existing, requesting new if needed)
|
|
5
|
-
*/
|
|
6
1
|
import { IAuthenticationRepositoryPort } from "../../ports/authentication/authentication-repository.port";
|
|
7
2
|
import { AccessTicket } from "../../../domain/entities/access-ticket.entity";
|
|
8
3
|
export declare class LoginUseCase {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"login.use-case.js","sourceRoot":"","sources":["../../../../src/application/use-cases/authentication/login.use-case.ts"],"names":[],"mappings":";;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"login.use-case.js","sourceRoot":"","sources":["../../../../src/application/use-cases/authentication/login.use-case.ts"],"names":[],"mappings":";;;;;;;;;;;;AAGA,MAAa,YAAY;IACvB,YACmB,wBAAuD;QAAvD,6BAAwB,GAAxB,wBAAwB,CAA+B;IACvE,CAAC;IAEJ;;;;OAIG;IACG,OAAO,CAAC,WAAmB;;YAC/B,OAAO,IAAI,CAAC,wBAAwB,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC;QAC1D,CAAC;KAAA;CACF;AAbD,oCAaC"}
|
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Request Login Use Case
|
|
3
|
-
* Forces a new login request (ignores existing tickets)
|
|
4
|
-
*/
|
|
5
1
|
import { IAuthenticationRepositoryPort } from "../../ports/authentication/authentication-repository.port";
|
|
6
2
|
import { AccessTicket } from "../../../domain/entities/access-ticket.entity";
|
|
7
3
|
export declare class RequestLoginUseCase {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"request-login.use-case.js","sourceRoot":"","sources":["../../../../src/application/use-cases/authentication/request-login.use-case.ts"],"names":[],"mappings":";;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"request-login.use-case.js","sourceRoot":"","sources":["../../../../src/application/use-cases/authentication/request-login.use-case.ts"],"names":[],"mappings":";;;;;;;;;;;;AAGA,MAAa,mBAAmB;IAC9B,YACmB,wBAAuD;QAAvD,6BAAwB,GAAxB,wBAAwB,CAA+B;IACvE,CAAC;IAEJ;;;;OAIG;IACG,OAAO,CAAC,WAAmB;;YAC/B,OAAO,IAAI,CAAC,wBAAwB,CAAC,YAAY,CAAC,WAAW,CAAC,CAAC;QACjE,CAAC;KAAA;CACF;AAbD,kDAaC"}
|
|
@@ -22,15 +22,11 @@ class CreateNextVoucherUseCase {
|
|
|
22
22
|
*/
|
|
23
23
|
execute(nextVoucherData) {
|
|
24
24
|
return __awaiter(this, void 0, void 0, function* () {
|
|
25
|
-
// Get last voucher number
|
|
26
25
|
const lastVoucher = yield this.electronicBillingRepository.getLastVoucher(nextVoucherData.PtoVta, nextVoucherData.CbteTipo);
|
|
27
26
|
const lastVoucherNumber = lastVoucher.cbteNro || 0;
|
|
28
27
|
const nextVoucherNumber = lastVoucherNumber + 1;
|
|
29
|
-
// Build complete voucher data
|
|
30
28
|
const voucherData = Object.assign(Object.assign({}, nextVoucherData), { CbteDesde: nextVoucherNumber, CbteHasta: nextVoucherNumber });
|
|
31
|
-
// Create domain entity
|
|
32
29
|
const voucher = voucher_entity_1.Voucher.create(voucherData);
|
|
33
|
-
// Use repository to create voucher
|
|
34
30
|
return this.electronicBillingRepository.createVoucher(voucher);
|
|
35
31
|
});
|
|
36
32
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-next-voucher.use-case.js","sourceRoot":"","sources":["../../../../src/application/use-cases/electronic-billing/create-next-voucher.use-case.ts"],"names":[],"mappings":";;;;;;;;;;;;AAKA,oEAA0D;AAI1D,MAAa,wBAAwB;IACnC,YACmB,2BAA6D;QAA7D,gCAA2B,GAA3B,2BAA2B,CAAkC;IAC7E,CAAC;IAEJ;;;;OAIG;IACG,OAAO,CAAC,eAA6B;;YACzC,
|
|
1
|
+
{"version":3,"file":"create-next-voucher.use-case.js","sourceRoot":"","sources":["../../../../src/application/use-cases/electronic-billing/create-next-voucher.use-case.ts"],"names":[],"mappings":";;;;;;;;;;;;AAKA,oEAA0D;AAI1D,MAAa,wBAAwB;IACnC,YACmB,2BAA6D;QAA7D,gCAA2B,GAA3B,2BAA2B,CAAkC;IAC7E,CAAC;IAEJ;;;;OAIG;IACG,OAAO,CAAC,eAA6B;;YACzC,MAAM,WAAW,GAAG,MAAM,IAAI,CAAC,2BAA2B,CAAC,cAAc,CACvE,eAAe,CAAC,MAAO,EACvB,eAAe,CAAC,QAAQ,CACzB,CAAC;YAEF,MAAM,iBAAiB,GAAG,WAAW,CAAC,OAAO,IAAI,CAAC,CAAC;YACnD,MAAM,iBAAiB,GAAG,iBAAiB,GAAG,CAAC,CAAC;YAEhD,MAAM,WAAW,mCACZ,eAAe,KAClB,SAAS,EAAE,iBAAiB,EAC5B,SAAS,EAAE,iBAAiB,GAC7B,CAAC;YAEF,MAAM,OAAO,GAAG,wBAAO,CAAC,MAAM,CAAC,WAAkB,CAAC,CAAC;YAEnD,OAAO,IAAI,CAAC,2BAA2B,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;QACjE,CAAC;KAAA;CACF;AA7BD,4DA6BC"}
|
|
@@ -22,9 +22,7 @@ class CreateVoucherUseCase {
|
|
|
22
22
|
*/
|
|
23
23
|
execute(voucherData) {
|
|
24
24
|
return __awaiter(this, void 0, void 0, function* () {
|
|
25
|
-
// Create domain entity from data
|
|
26
25
|
const voucher = voucher_entity_1.Voucher.create(voucherData);
|
|
27
|
-
// Use repository to create voucher
|
|
28
26
|
return this.electronicBillingRepository.createVoucher(voucher);
|
|
29
27
|
});
|
|
30
28
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-voucher.use-case.js","sourceRoot":"","sources":["../../../../src/application/use-cases/electronic-billing/create-voucher.use-case.ts"],"names":[],"mappings":";;;;;;;;;;;;AAKA,oEAA0D;AAI1D,MAAa,oBAAoB;IAC/B,YACmB,2BAA6D;QAA7D,gCAA2B,GAA3B,2BAA2B,CAAkC;IAC7E,CAAC;IAEJ;;;;OAIG;IACG,OAAO,CAAC,WAAqB;;YACjC,
|
|
1
|
+
{"version":3,"file":"create-voucher.use-case.js","sourceRoot":"","sources":["../../../../src/application/use-cases/electronic-billing/create-voucher.use-case.ts"],"names":[],"mappings":";;;;;;;;;;;;AAKA,oEAA0D;AAI1D,MAAa,oBAAoB;IAC/B,YACmB,2BAA6D;QAA7D,gCAA2B,GAA3B,2BAA2B,CAAkC;IAC7E,CAAC;IAEJ;;;;OAIG;IACG,OAAO,CAAC,WAAqB;;YACjC,MAAM,OAAO,GAAG,wBAAO,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC;YAC5C,OAAO,IAAI,CAAC,2BAA2B,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;QACjE,CAAC;KAAA;CACF;AAdD,oDAcC"}
|
|
@@ -21,4 +21,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
21
21
|
__exportStar(require("./authentication"), exports);
|
|
22
22
|
__exportStar(require("./electronic-billing"), exports);
|
|
23
23
|
__exportStar(require("./register"), exports);
|
|
24
|
+
__exportStar(require("./wsfex"), exports);
|
|
25
|
+
__exportStar(require("./wsfecred"), exports);
|
|
24
26
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/application/use-cases/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA;;;GAGG;AACH,mDAAiC;AACjC,uDAAqC;AACrC,6CAA2B"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/application/use-cases/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA;;;GAGG;AACH,mDAAiC;AACjC,uDAAqC;AACrC,6CAA2B;AAC3B,0CAAwB;AACxB,6CAA2B"}
|
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Get Register Server Status Use Case
|
|
3
|
-
* Retrieves the status of the register servers
|
|
4
|
-
*/
|
|
5
1
|
import { IRegisterBaseRepositoryPort } from "../../ports/register/register-repository.ports";
|
|
6
2
|
import { RegisterServerStatusDto } from "../../dto/register.dto";
|
|
7
3
|
export declare class GetRegisterServerStatusUseCase {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-register-server-status.use-case.js","sourceRoot":"","sources":["../../../../src/application/use-cases/register/get-register-server-status.use-case.ts"],"names":[],"mappings":";;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"get-register-server-status.use-case.js","sourceRoot":"","sources":["../../../../src/application/use-cases/register/get-register-server-status.use-case.ts"],"names":[],"mappings":";;;;;;;;;;;;AAGA,MAAa,8BAA8B;IACzC,YAA6B,UAAuC;QAAvC,eAAU,GAAV,UAAU,CAA6B;IAAG,CAAC;IAExE;;;OAGG;IACG,OAAO;;YACX,OAAO,IAAI,CAAC,UAAU,CAAC,eAAe,EAAE,CAAC;QAC3C,CAAC;KAAA;CACF;AAVD,wEAUC"}
|
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Get Tax ID By Document Use Case
|
|
3
|
-
* Retrieves Tax ID (CUIT) by document number (Scope 13)
|
|
4
|
-
*/
|
|
5
1
|
import { IRegisterScopeThirteenRepositoryPort } from "../../ports/register/register-repository.ports";
|
|
6
2
|
import { TaxIDByDocumentResultDto } from "../../dto/register.dto";
|
|
7
3
|
export declare class GetTaxIDByDocumentUseCase {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-tax-id-by-document.use-case.js","sourceRoot":"","sources":["../../../../src/application/use-cases/register/get-tax-id-by-document.use-case.ts"],"names":[],"mappings":";;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"get-tax-id-by-document.use-case.js","sourceRoot":"","sources":["../../../../src/application/use-cases/register/get-tax-id-by-document.use-case.ts"],"names":[],"mappings":";;;;;;;;;;;;AAGA,MAAa,yBAAyB;IACpC,YACmB,UAAgD;QAAhD,eAAU,GAAV,UAAU,CAAsC;IAChE,CAAC;IAEJ;;;;OAIG;IACG,OAAO,CAAC,cAAsB;;YAClC,OAAO,IAAI,CAAC,UAAU,CAAC,kBAAkB,CAAC,cAAc,CAAC,CAAC;QAC5D,CAAC;KAAA;CACF;AAbD,8DAaC"}
|
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Get Taxpayer Details Use Case
|
|
3
|
-
* Retrieves details for a specific taxpayer
|
|
4
|
-
*/
|
|
5
1
|
import { IRegisterBaseRepositoryPort } from "../../ports/register/register-repository.ports";
|
|
6
2
|
import { TaxpayerDetailsDto } from "../../dto/register.dto";
|
|
7
3
|
export declare class GetTaxpayerDetailsUseCase {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-taxpayer-details.use-case.js","sourceRoot":"","sources":["../../../../src/application/use-cases/register/get-taxpayer-details.use-case.ts"],"names":[],"mappings":";;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"get-taxpayer-details.use-case.js","sourceRoot":"","sources":["../../../../src/application/use-cases/register/get-taxpayer-details.use-case.ts"],"names":[],"mappings":";;;;;;;;;;;;AAGA,MAAa,yBAAyB;IACpC,YAA6B,UAAuC;QAAvC,eAAU,GAAV,UAAU,CAA6B;IAAG,CAAC;IAExE;;;;OAIG;IACG,OAAO,CAAC,UAAkB;;YAC9B,OAAO,IAAI,CAAC,UAAU,CAAC,kBAAkB,CAAC,UAAU,CAAC,CAAC;QACxD,CAAC;KAAA;CACF;AAXD,8DAWC"}
|
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Get Taxpayers Details Use Case
|
|
3
|
-
* Retrieves details for multiple taxpayers
|
|
4
|
-
*/
|
|
5
1
|
import { IRegisterBatchRepositoryPort } from "../../ports/register/register-repository.ports";
|
|
6
2
|
import { TaxpayersDetailsDto } from "../../dto/register.dto";
|
|
7
3
|
export declare class GetTaxpayersDetailsUseCase {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-taxpayers-details.use-case.js","sourceRoot":"","sources":["../../../../src/application/use-cases/register/get-taxpayers-details.use-case.ts"],"names":[],"mappings":";;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"get-taxpayers-details.use-case.js","sourceRoot":"","sources":["../../../../src/application/use-cases/register/get-taxpayers-details.use-case.ts"],"names":[],"mappings":";;;;;;;;;;;;AAGA,MAAa,0BAA0B;IACrC,YAA6B,UAAwC;QAAxC,eAAU,GAAV,UAAU,CAA8B;IAAG,CAAC;IAEzE;;;;OAIG;IACG,OAAO,CAAC,WAAqB;;YACjC,OAAO,IAAI,CAAC,UAAU,CAAC,mBAAmB,CAAC,WAAW,CAAC,CAAC;QAC1D,CAAC;KAAA;CACF;AAXD,gEAWC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { IFecredRepositoryPort } from "../../ports/fecred/fecred-repository.port";
|
|
2
|
+
import { IaceptarFECredInput, IaceptarFECredOutput } from "../../../infrastructure/outbound/ports/soap/interfaces/FECredService/ServiceSoap";
|
|
3
|
+
export declare class AceptarFECredUseCase {
|
|
4
|
+
private readonly repository;
|
|
5
|
+
constructor(repository: IFecredRepositoryPort);
|
|
6
|
+
execute(input: IaceptarFECredInput): Promise<IaceptarFECredOutput>;
|
|
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.AceptarFECredUseCase = void 0;
|
|
13
|
+
class AceptarFECredUseCase {
|
|
14
|
+
constructor(repository) {
|
|
15
|
+
this.repository = repository;
|
|
16
|
+
}
|
|
17
|
+
execute(input) {
|
|
18
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
19
|
+
return this.repository.aceptarFECred(input);
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
exports.AceptarFECredUseCase = AceptarFECredUseCase;
|
|
24
|
+
//# sourceMappingURL=aceptar-fecred.use-case.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"aceptar-fecred.use-case.js","sourceRoot":"","sources":["../../../../src/application/use-cases/wsfecred/aceptar-fecred.use-case.ts"],"names":[],"mappings":";;;;;;;;;;;;AAMA,MAAa,oBAAoB;IAC/B,YAA6B,UAAiC;QAAjC,eAAU,GAAV,UAAU,CAAuB;IAAG,CAAC;IAE5D,OAAO,CAAC,KAA0B;;YACtC,OAAO,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC;QAC9C,CAAC;KAAA;CACF;AAND,oDAMC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { IFecredRepositoryPort } from "../../ports/fecred/fecred-repository.port";
|
|
2
|
+
import { IconsultarComprobantesInput, IconsultarComprobantesOutput } from "../../../infrastructure/outbound/ports/soap/interfaces/FECredService/ServiceSoap";
|
|
3
|
+
export declare class ConsultarComprobantesUseCase {
|
|
4
|
+
private readonly repository;
|
|
5
|
+
constructor(repository: IFecredRepositoryPort);
|
|
6
|
+
execute(input: IconsultarComprobantesInput): Promise<IconsultarComprobantesOutput>;
|
|
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.ConsultarComprobantesUseCase = void 0;
|
|
13
|
+
class ConsultarComprobantesUseCase {
|
|
14
|
+
constructor(repository) {
|
|
15
|
+
this.repository = repository;
|
|
16
|
+
}
|
|
17
|
+
execute(input) {
|
|
18
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
19
|
+
return this.repository.consultarComprobantes(input);
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
exports.ConsultarComprobantesUseCase = ConsultarComprobantesUseCase;
|
|
24
|
+
//# sourceMappingURL=consultar-comprobantes.use-case.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"consultar-comprobantes.use-case.js","sourceRoot":"","sources":["../../../../src/application/use-cases/wsfecred/consultar-comprobantes.use-case.ts"],"names":[],"mappings":";;;;;;;;;;;;AAMA,MAAa,4BAA4B;IACvC,YAA6B,UAAiC;QAAjC,eAAU,GAAV,UAAU,CAAuB;IAAG,CAAC;IAE5D,OAAO,CACX,KAAkC;;YAElC,OAAO,IAAI,CAAC,UAAU,CAAC,qBAAqB,CAAC,KAAK,CAAC,CAAC;QACtD,CAAC;KAAA;CACF;AARD,oEAQC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { IFecredRepositoryPort } from "../../ports/fecred/fecred-repository.port";
|
|
2
|
+
import { IconsultarCtaCteInput, IconsultarCtaCteOutput } from "../../../infrastructure/outbound/ports/soap/interfaces/FECredService/ServiceSoap";
|
|
3
|
+
export declare class ConsultarCtaCteUseCase {
|
|
4
|
+
private readonly repository;
|
|
5
|
+
constructor(repository: IFecredRepositoryPort);
|
|
6
|
+
execute(input: IconsultarCtaCteInput): Promise<IconsultarCtaCteOutput>;
|
|
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.ConsultarCtaCteUseCase = void 0;
|
|
13
|
+
class ConsultarCtaCteUseCase {
|
|
14
|
+
constructor(repository) {
|
|
15
|
+
this.repository = repository;
|
|
16
|
+
}
|
|
17
|
+
execute(input) {
|
|
18
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
19
|
+
return this.repository.consultarCtaCte(input);
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
exports.ConsultarCtaCteUseCase = ConsultarCtaCteUseCase;
|
|
24
|
+
//# sourceMappingURL=consultar-cta-cte.use-case.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"consultar-cta-cte.use-case.js","sourceRoot":"","sources":["../../../../src/application/use-cases/wsfecred/consultar-cta-cte.use-case.ts"],"names":[],"mappings":";;;;;;;;;;;;AAMA,MAAa,sBAAsB;IACjC,YAA6B,UAAiC;QAAjC,eAAU,GAAV,UAAU,CAAuB;IAAG,CAAC;IAE5D,OAAO,CAAC,KAA4B;;YACxC,OAAO,IAAI,CAAC,UAAU,CAAC,eAAe,CAAC,KAAK,CAAC,CAAC;QAChD,CAAC;KAAA;CACF;AAND,wDAMC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { IFecredRepositoryPort } from "../../ports/fecred/fecred-repository.port";
|
|
2
|
+
import { IconsultarCtasCtesInput, IconsultarCtasCtesOutput } from "../../../infrastructure/outbound/ports/soap/interfaces/FECredService/ServiceSoap";
|
|
3
|
+
export declare class ConsultarCtasCtesUseCase {
|
|
4
|
+
private readonly repository;
|
|
5
|
+
constructor(repository: IFecredRepositoryPort);
|
|
6
|
+
execute(input: IconsultarCtasCtesInput): Promise<IconsultarCtasCtesOutput>;
|
|
7
|
+
}
|