@arcasdk/core 0.3.6 → 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 +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
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Electronic Billing DTOs
|
|
3
|
-
* Data Transfer Objects for electronic billing operations
|
|
4
|
-
* These DTOs use domain types and are independent of infrastructure concerns
|
|
5
|
-
*/
|
|
6
1
|
import { SalesPoint, ServerStatus, LastVoucher, VoucherInfo, VoucherType, ConceptType, DocumentType, AliquotType, CurrencyType, OptionalType, TaxType, IvaReceptorType, CaeaResponse, CaeaUsageResponse, CaeaNoMovement, PaisType, ActividadType, CotizacionType, ErrorInfo } from "../../domain/types/electronic-billing.types";
|
|
7
2
|
/**
|
|
8
3
|
* Server Status DTO (uses domain type)
|
|
@@ -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
|
-
* Data Transfer Objects (DTOs)
|
|
19
|
-
* Exports all DTOs for use case inputs and outputs
|
|
20
|
-
*/
|
|
21
17
|
__exportStar(require("./electronic-billing.dto"), exports);
|
|
22
18
|
__exportStar(require("./register.dto"), exports);
|
|
23
19
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/application/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/application/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2DAAyC;AACzC,iDAA+B"}
|
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Register DTOs
|
|
3
|
-
* Data Transfer Objects for register/padron operations
|
|
4
|
-
* These DTOs are independent of infrastructure concerns
|
|
5
|
-
*/
|
|
6
1
|
/**
|
|
7
2
|
* Server Status DTO (for Register services)
|
|
8
3
|
*/
|
|
@@ -59,58 +54,3 @@ export interface TaxIDByDocumentResultDto {
|
|
|
59
54
|
};
|
|
60
55
|
[key: string]: any;
|
|
61
56
|
}
|
|
62
|
-
/**
|
|
63
|
-
* Register Service Result DTOs
|
|
64
|
-
* These DTOs represent the return types for register services
|
|
65
|
-
* They maintain compatibility with legacy API while being independent of SOAP types
|
|
66
|
-
*/
|
|
67
|
-
/**
|
|
68
|
-
* Register Server Status Result DTO
|
|
69
|
-
*/
|
|
70
|
-
export interface RegisterServerStatusResultDto {
|
|
71
|
-
appserver: string;
|
|
72
|
-
dbserver: string;
|
|
73
|
-
authserver: string;
|
|
74
|
-
}
|
|
75
|
-
/**
|
|
76
|
-
* Register Taxpayer Details Result DTO
|
|
77
|
-
* Wraps TaxpayerDetailsDto with metadata for compatibility
|
|
78
|
-
*/
|
|
79
|
-
export interface RegisterTaxpayerDetailsResultDto {
|
|
80
|
-
metadata?: {
|
|
81
|
-
fechaHora?: string;
|
|
82
|
-
servidor?: string;
|
|
83
|
-
};
|
|
84
|
-
persona?: TaxpayerDetailsDto;
|
|
85
|
-
datosGenerales?: TaxpayerDetailsDto["datosGenerales"];
|
|
86
|
-
datosMonotributo?: TaxpayerDetailsDto["datosMonotributo"];
|
|
87
|
-
datosRegimenGeneral?: TaxpayerDetailsDto["datosRegimenGeneral"];
|
|
88
|
-
errorConstancia?: TaxpayerDetailsDto["errorConstancia"];
|
|
89
|
-
errorMonotributo?: any;
|
|
90
|
-
errorRegimenGeneral?: any;
|
|
91
|
-
}
|
|
92
|
-
/**
|
|
93
|
-
* Register Taxpayers List Result DTO
|
|
94
|
-
*/
|
|
95
|
-
export interface RegisterTaxpayersListResultDto {
|
|
96
|
-
metadata?: {
|
|
97
|
-
fechaHora?: string;
|
|
98
|
-
servidor?: string;
|
|
99
|
-
};
|
|
100
|
-
persona?: TaxpayerDetailsDto[];
|
|
101
|
-
cantidadRegistros?: number;
|
|
102
|
-
errorConstancia?: {
|
|
103
|
-
error?: string;
|
|
104
|
-
codigo?: number;
|
|
105
|
-
};
|
|
106
|
-
}
|
|
107
|
-
/**
|
|
108
|
-
* Register Tax ID by Document Result DTO
|
|
109
|
-
*/
|
|
110
|
-
export interface RegisterTaxIDByDocumentResultDto {
|
|
111
|
-
idPersona?: number;
|
|
112
|
-
metadata?: {
|
|
113
|
-
fechaHora?: string;
|
|
114
|
-
servidor?: string;
|
|
115
|
-
};
|
|
116
|
-
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"register.dto.js","sourceRoot":"","sources":["../../../src/application/dto/register.dto.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"register.dto.js","sourceRoot":"","sources":["../../../src/application/dto/register.dto.ts"],"names":[],"mappings":""}
|
package/lib/application/index.js
CHANGED
|
@@ -19,7 +19,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
19
19
|
* Exports all application layer components
|
|
20
20
|
*/
|
|
21
21
|
__exportStar(require("./types"), exports);
|
|
22
|
-
__exportStar(require("./config"), exports);
|
|
23
22
|
__exportStar(require("./ports"), exports);
|
|
24
23
|
__exportStar(require("./dto"), exports);
|
|
25
24
|
__exportStar(require("./services"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/application/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA;;;GAGG;AACH,0CAAwB;AACxB,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/application/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA;;;GAGG;AACH,0CAAwB;AACxB,0CAAwB;AACxB,wCAAsB;AACtB,6CAA2B;AAC3B,8CAA4B"}
|
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Authentication Repository Port
|
|
3
|
-
* Port defined by the application layer for authentication operations
|
|
4
|
-
* Infrastructure layer must implement this port
|
|
5
|
-
*/
|
|
6
1
|
import { AccessTicket } from "../../../domain/entities/access-ticket.entity";
|
|
7
2
|
import { WSAuthParam } from "../../types";
|
|
8
3
|
export interface IAuthenticationRepositoryPort {
|
|
@@ -14,9 +14,5 @@ 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 Ports
|
|
19
|
-
* Exports all authentication ports
|
|
20
|
-
*/
|
|
21
17
|
__exportStar(require("./authentication-repository.port"), exports);
|
|
22
18
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/application/ports/authentication/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/application/ports/authentication/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mEAAiD"}
|
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Electronic Billing Repository Port
|
|
3
|
-
* Port defined by the application layer
|
|
4
|
-
* Infrastructure layer must implement this port
|
|
5
|
-
* Uses DTOs to maintain independence from infrastructure
|
|
6
|
-
*/
|
|
7
1
|
import { Voucher } from "../../../domain/entities/voucher.entity";
|
|
8
2
|
import { ICreateVoucherResult } from "../../types/result.types";
|
|
9
3
|
import { ServerStatusDto, SalesPointsResultDto, LastVoucherResultDto, VoucherInfoResultDto, VoucherTypesResultDto, ConceptTypesResultDto, DocumentTypesResultDto, AliquotTypesResultDto, CurrencyTypesResultDto, OptionalTypesResultDto, TaxTypesResultDto, IvaReceptorTypesResultDto, CaeaResultDto, CaeaUsageResultDto, CaeaNoMovementResultDto, CountriesResultDto, ActivitiesResultDto, QuotationResultDto, MaxRecordsResultDto } from "../../dto/electronic-billing.dto";
|
|
@@ -14,9 +14,5 @@ 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
|
-
* Electronic Billing Ports
|
|
19
|
-
* Exports all electronic billing ports
|
|
20
|
-
*/
|
|
21
17
|
__exportStar(require("./electronic-billing-repository.port"), exports);
|
|
22
18
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/application/ports/electronic-billing/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/application/ports/electronic-billing/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uEAAqD"}
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
import { IaceptarFECredInput, IaceptarFECredOutput, IrechazarFECredInput, IrechazarFECredOutput, IconsultarComprobantesInput, IconsultarComprobantesOutput, IconsultarCtasCtesInput, IconsultarCtasCtesOutput, IconsultarCtaCteInput, IconsultarCtaCteOutput, IinformarCancelacionTotalFECredInput, IinformarCancelacionTotalFECredOutput, IrechazarNotaDCInput, IrechazarNotaDCOutput, IinformarFacturaAgtDptoCltvInput, IinformarFacturaAgtDptoCltvOutput, IconsultarFacturasAgtDptoCltvInput, IconsultarFacturasAgtDptoCltvOutput, IconsultarCuentasEnAgtDptoCltvOutput, IconsultarObligadoRecepcionInput, IconsultarObligadoRecepcionOutput, IconsultarTiposRetencionesOutput, IconsultarTiposMotivosRechazoOutput, IconsultarTiposFormasCancelacionOutput, IobtenerRemitosInput, IobtenerRemitosOutput, IconsultarHistorialEstadosComprobanteInput, IconsultarHistorialEstadosComprobanteOutput, IconsultarHistorialEstadosCtaCteInput, IconsultarHistorialEstadosCtaCteOutput, IconsultarTiposAjustesOperacionOutput, IconsultarMontoObligadoRecepcionInput, IconsultarMontoObligadoRecepcionOutput, ImodificarOpcionTransferenciaInput, ImodificarOpcionTransferenciaOutput } from "../../../infrastructure/outbound/ports/soap/interfaces/FECredService/ServiceSoap";
|
|
2
|
+
export interface IFecredRepositoryPort {
|
|
3
|
+
/**
|
|
4
|
+
* Accept an electronic credit invoice (Cuenta Corriente)
|
|
5
|
+
* @param input Acceptance data including account ID and cancellation details
|
|
6
|
+
* @returns Operation result
|
|
7
|
+
*/
|
|
8
|
+
aceptarFECred(input: IaceptarFECredInput): Promise<IaceptarFECredOutput>;
|
|
9
|
+
/**
|
|
10
|
+
* Reject an electronic credit invoice
|
|
11
|
+
* @param input Rejection data including account ID and rejection reasons
|
|
12
|
+
* @returns Operation result
|
|
13
|
+
*/
|
|
14
|
+
rechazarFECred(input: IrechazarFECredInput): Promise<IrechazarFECredOutput>;
|
|
15
|
+
/**
|
|
16
|
+
* Query invoices
|
|
17
|
+
* @param input Query filters (role, counterpart, type, status, dates)
|
|
18
|
+
* @returns Matching invoices list
|
|
19
|
+
*/
|
|
20
|
+
consultarComprobantes(input: IconsultarComprobantesInput): Promise<IconsultarComprobantesOutput>;
|
|
21
|
+
/**
|
|
22
|
+
* Query current accounts (Cuentas Corrientes)
|
|
23
|
+
* @param input Query filters (role, counterpart, dates, status)
|
|
24
|
+
* @returns Matching current accounts list
|
|
25
|
+
*/
|
|
26
|
+
consultarCtasCtes(input: IconsultarCtasCtesInput): Promise<IconsultarCtasCtesOutput>;
|
|
27
|
+
/**
|
|
28
|
+
* Query a specific current account
|
|
29
|
+
* @param input Current account ID
|
|
30
|
+
* @returns Current account details
|
|
31
|
+
*/
|
|
32
|
+
consultarCtaCte(input: IconsultarCtaCteInput): Promise<IconsultarCtaCteOutput>;
|
|
33
|
+
/**
|
|
34
|
+
* Report total cancellation of an electronic credit invoice
|
|
35
|
+
* @param input Account ID, cancellation forms and amount
|
|
36
|
+
* @returns Operation result
|
|
37
|
+
*/
|
|
38
|
+
informarCancelacionTotalFECred(input: IinformarCancelacionTotalFECredInput): Promise<IinformarCancelacionTotalFECredOutput>;
|
|
39
|
+
/**
|
|
40
|
+
* Reject a debit/credit note
|
|
41
|
+
* @param input Invoice ID and rejection reasons
|
|
42
|
+
* @returns Operation result
|
|
43
|
+
*/
|
|
44
|
+
rechazarNotaDC(input: IrechazarNotaDCInput): Promise<IrechazarNotaDCOutput>;
|
|
45
|
+
/**
|
|
46
|
+
* Report invoice to collection agent (Agente de Depósito Colectivo)
|
|
47
|
+
* @param input Account ID and agent account data
|
|
48
|
+
* @returns Operation result
|
|
49
|
+
*/
|
|
50
|
+
informarFacturaAgtDptoCltv(input: IinformarFacturaAgtDptoCltvInput): Promise<IinformarFacturaAgtDptoCltvOutput>;
|
|
51
|
+
/**
|
|
52
|
+
* Query invoices in collection agent
|
|
53
|
+
* @param input Account ID and date filter
|
|
54
|
+
* @returns Invoices in collection agent
|
|
55
|
+
*/
|
|
56
|
+
consultarFacturasAgtDptoCltv(input: IconsultarFacturasAgtDptoCltvInput): Promise<IconsultarFacturasAgtDptoCltvOutput>;
|
|
57
|
+
/**
|
|
58
|
+
* Query accounts in collection agent
|
|
59
|
+
* @returns Accounts in collection agent
|
|
60
|
+
*/
|
|
61
|
+
consultarCuentasEnAgtDptoCltv(): Promise<IconsultarCuentasEnAgtDptoCltvOutput>;
|
|
62
|
+
/**
|
|
63
|
+
* Check if a taxpayer is required to receive electronic credit invoices
|
|
64
|
+
* @param input CUIT to query
|
|
65
|
+
* @returns Obligation status
|
|
66
|
+
*/
|
|
67
|
+
consultarObligadoRecepcion(input: IconsultarObligadoRecepcionInput): Promise<IconsultarObligadoRecepcionOutput>;
|
|
68
|
+
/**
|
|
69
|
+
* Get available retention types
|
|
70
|
+
* @returns Retention types list
|
|
71
|
+
*/
|
|
72
|
+
consultarTiposRetenciones(): Promise<IconsultarTiposRetencionesOutput>;
|
|
73
|
+
/**
|
|
74
|
+
* Get available rejection reason types
|
|
75
|
+
* @returns Rejection reason types list
|
|
76
|
+
*/
|
|
77
|
+
consultarTiposMotivosRechazo(): Promise<IconsultarTiposMotivosRechazoOutput>;
|
|
78
|
+
/**
|
|
79
|
+
* Get available cancellation form types
|
|
80
|
+
* @returns Cancellation form types list
|
|
81
|
+
*/
|
|
82
|
+
consultarTiposFormasCancelacion(): Promise<IconsultarTiposFormasCancelacionOutput>;
|
|
83
|
+
/**
|
|
84
|
+
* Get remitos (delivery notes) for an invoice
|
|
85
|
+
* @param input Invoice ID
|
|
86
|
+
* @returns Remitos list
|
|
87
|
+
*/
|
|
88
|
+
obtenerRemitos(input: IobtenerRemitosInput): Promise<IobtenerRemitosOutput>;
|
|
89
|
+
/**
|
|
90
|
+
* Get status history for an invoice
|
|
91
|
+
* @param input Invoice ID
|
|
92
|
+
* @returns Status history
|
|
93
|
+
*/
|
|
94
|
+
consultarHistorialEstadosComprobante(input: IconsultarHistorialEstadosComprobanteInput): Promise<IconsultarHistorialEstadosComprobanteOutput>;
|
|
95
|
+
/**
|
|
96
|
+
* Get status history for a current account
|
|
97
|
+
* @param input Current account ID
|
|
98
|
+
* @returns Status history
|
|
99
|
+
*/
|
|
100
|
+
consultarHistorialEstadosCtaCte(input: IconsultarHistorialEstadosCtaCteInput): Promise<IconsultarHistorialEstadosCtaCteOutput>;
|
|
101
|
+
/**
|
|
102
|
+
* Get available operation adjustment types
|
|
103
|
+
* @returns Adjustment types list
|
|
104
|
+
*/
|
|
105
|
+
consultarTiposAjustesOperacion(): Promise<IconsultarTiposAjustesOperacionOutput>;
|
|
106
|
+
/**
|
|
107
|
+
* Check the mandatory reception amount for a taxpayer
|
|
108
|
+
* @param input CUIT and emission date
|
|
109
|
+
* @returns Mandatory reception amount
|
|
110
|
+
*/
|
|
111
|
+
consultarMontoObligadoRecepcion(input: IconsultarMontoObligadoRecepcionInput): Promise<IconsultarMontoObligadoRecepcionOutput>;
|
|
112
|
+
/**
|
|
113
|
+
* Modify transfer option for a current account
|
|
114
|
+
* @param input Current account ID and transfer option (SCA/ADC)
|
|
115
|
+
* @returns Operation result
|
|
116
|
+
*/
|
|
117
|
+
modificarOpcionTransferencia(input: ImodificarOpcionTransferenciaInput): Promise<ImodificarOpcionTransferenciaOutput>;
|
|
118
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fecred-repository.port.js","sourceRoot":"","sources":["../../../../src/application/ports/fecred/fecred-repository.port.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./fecred-repository.port";
|
|
@@ -0,0 +1,18 @@
|
|
|
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("./fecred-repository.port"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/application/ports/fecred/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2DAAyC"}
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
import { IFEXAuthorizeInput, IFEXAuthorizeOutput, IFEXGetCMPInput, IFEXGetCMPOutput, IFEXGetLast_CMPInput, IFEXGetLast_CMPOutput, IFEXGetLast_IDInput, IFEXGetLast_IDOutput, IFEXCheck_PermisoInput, IFEXCheck_PermisoOutput, IFEXGetPARAM_Cbte_TipoInput, IFEXGetPARAM_Cbte_TipoOutput, IFEXGetPARAM_Tipo_ExpoInput, IFEXGetPARAM_Tipo_ExpoOutput, IFEXGetPARAM_IncotermsInput, IFEXGetPARAM_IncotermsOutput, IFEXGetPARAM_IdiomasInput, IFEXGetPARAM_IdiomasOutput, IFEXGetPARAM_UMedInput, IFEXGetPARAM_UMedOutput, IFEXGetPARAM_DST_paisInput, IFEXGetPARAM_DST_paisOutput, IFEXGetPARAM_DST_CUITInput, IFEXGetPARAM_DST_CUITOutput, IFEXGetPARAM_MONInput, IFEXGetPARAM_MONOutput, IFEXGetPARAM_MON_CON_COTIZACIONInput, IFEXGetPARAM_MON_CON_COTIZACIONOutput, IFEXGetPARAM_CtzInput, IFEXGetPARAM_CtzOutput, IFEXGetPARAM_PtoVentaInput, IFEXGetPARAM_PtoVentaOutput, IFEXGetPARAM_OpcionalesInput, IFEXGetPARAM_OpcionalesOutput, IFEXGetPARAM_ActividadesInput, IFEXGetPARAM_ActividadesOutput, IFEXDummyOutput } from "../../../infrastructure/outbound/ports/soap/interfaces/FEXService/ServiceSoap";
|
|
2
|
+
export interface IFexRepositoryPort {
|
|
3
|
+
/**
|
|
4
|
+
* Authorize an export invoice
|
|
5
|
+
* @param input Authorization request data
|
|
6
|
+
* @returns Authorization result with CAE
|
|
7
|
+
*/
|
|
8
|
+
authorize(input: IFEXAuthorizeInput): Promise<IFEXAuthorizeOutput>;
|
|
9
|
+
/**
|
|
10
|
+
* Get an existing export invoice
|
|
11
|
+
* @param input Invoice query parameters
|
|
12
|
+
* @returns Invoice details
|
|
13
|
+
*/
|
|
14
|
+
getCmp(input: IFEXGetCMPInput): Promise<IFEXGetCMPOutput>;
|
|
15
|
+
/**
|
|
16
|
+
* Get last authorized export invoice number
|
|
17
|
+
* @param input Point of sale and invoice type
|
|
18
|
+
* @returns Last invoice number
|
|
19
|
+
*/
|
|
20
|
+
getLastCmp(input: IFEXGetLast_CMPInput): Promise<IFEXGetLast_CMPOutput>;
|
|
21
|
+
/**
|
|
22
|
+
* Get last used request ID
|
|
23
|
+
* @param input Authentication data
|
|
24
|
+
* @returns Last request ID
|
|
25
|
+
*/
|
|
26
|
+
getLastId(input: IFEXGetLast_IDInput): Promise<IFEXGetLast_IDOutput>;
|
|
27
|
+
/**
|
|
28
|
+
* Check export permit validity
|
|
29
|
+
* @param input Permit ID and destination
|
|
30
|
+
* @returns Permit check result
|
|
31
|
+
*/
|
|
32
|
+
checkPermiso(input: IFEXCheck_PermisoInput): Promise<IFEXCheck_PermisoOutput>;
|
|
33
|
+
/**
|
|
34
|
+
* Get available invoice types
|
|
35
|
+
* @param input Authentication data
|
|
36
|
+
* @returns Invoice types list
|
|
37
|
+
*/
|
|
38
|
+
getParamCbteTipo(input: IFEXGetPARAM_Cbte_TipoInput): Promise<IFEXGetPARAM_Cbte_TipoOutput>;
|
|
39
|
+
/**
|
|
40
|
+
* Get available export types
|
|
41
|
+
* @param input Authentication data
|
|
42
|
+
* @returns Export types list
|
|
43
|
+
*/
|
|
44
|
+
getParamTipoExpo(input: IFEXGetPARAM_Tipo_ExpoInput): Promise<IFEXGetPARAM_Tipo_ExpoOutput>;
|
|
45
|
+
/**
|
|
46
|
+
* Get available Incoterms
|
|
47
|
+
* @param input Authentication data
|
|
48
|
+
* @returns Incoterms list
|
|
49
|
+
*/
|
|
50
|
+
getParamIncoterms(input: IFEXGetPARAM_IncotermsInput): Promise<IFEXGetPARAM_IncotermsOutput>;
|
|
51
|
+
/**
|
|
52
|
+
* Get available languages
|
|
53
|
+
* @param input Authentication data
|
|
54
|
+
* @returns Languages list
|
|
55
|
+
*/
|
|
56
|
+
getParamIdiomas(input: IFEXGetPARAM_IdiomasInput): Promise<IFEXGetPARAM_IdiomasOutput>;
|
|
57
|
+
/**
|
|
58
|
+
* Get available units of measurement
|
|
59
|
+
* @param input Authentication data
|
|
60
|
+
* @returns Units of measurement list
|
|
61
|
+
*/
|
|
62
|
+
getParamUMed(input: IFEXGetPARAM_UMedInput): Promise<IFEXGetPARAM_UMedOutput>;
|
|
63
|
+
/**
|
|
64
|
+
* Get available destination countries
|
|
65
|
+
* @param input Authentication data
|
|
66
|
+
* @returns Countries list
|
|
67
|
+
*/
|
|
68
|
+
getParamDstPais(input: IFEXGetPARAM_DST_paisInput): Promise<IFEXGetPARAM_DST_paisOutput>;
|
|
69
|
+
/**
|
|
70
|
+
* Get available destination CUITs
|
|
71
|
+
* @param input Authentication data
|
|
72
|
+
* @returns Destination CUITs list
|
|
73
|
+
*/
|
|
74
|
+
getParamDstCuit(input: IFEXGetPARAM_DST_CUITInput): Promise<IFEXGetPARAM_DST_CUITOutput>;
|
|
75
|
+
/**
|
|
76
|
+
* Get available currencies
|
|
77
|
+
* @param input Authentication data
|
|
78
|
+
* @returns Currencies list
|
|
79
|
+
*/
|
|
80
|
+
getParamMon(input: IFEXGetPARAM_MONInput): Promise<IFEXGetPARAM_MONOutput>;
|
|
81
|
+
/**
|
|
82
|
+
* Get currencies with current exchange rates
|
|
83
|
+
* @param input Authentication data and date
|
|
84
|
+
* @returns Currencies with exchange rates
|
|
85
|
+
*/
|
|
86
|
+
getParamMonConCotizacion(input: IFEXGetPARAM_MON_CON_COTIZACIONInput): Promise<IFEXGetPARAM_MON_CON_COTIZACIONOutput>;
|
|
87
|
+
/**
|
|
88
|
+
* Get exchange rate for a specific currency
|
|
89
|
+
* @param input Currency ID and date
|
|
90
|
+
* @returns Exchange rate
|
|
91
|
+
*/
|
|
92
|
+
getParamCtz(input: IFEXGetPARAM_CtzInput): Promise<IFEXGetPARAM_CtzOutput>;
|
|
93
|
+
/**
|
|
94
|
+
* Get available sales points
|
|
95
|
+
* @param input Authentication data
|
|
96
|
+
* @returns Sales points list
|
|
97
|
+
*/
|
|
98
|
+
getParamPtoVenta(input: IFEXGetPARAM_PtoVentaInput): Promise<IFEXGetPARAM_PtoVentaOutput>;
|
|
99
|
+
/**
|
|
100
|
+
* Get available optional fields
|
|
101
|
+
* @param input Authentication data
|
|
102
|
+
* @returns Optional fields list
|
|
103
|
+
*/
|
|
104
|
+
getParamOpcionales(input: IFEXGetPARAM_OpcionalesInput): Promise<IFEXGetPARAM_OpcionalesOutput>;
|
|
105
|
+
/**
|
|
106
|
+
* Get available economic activities
|
|
107
|
+
* @param input Authentication data
|
|
108
|
+
* @returns Activities list
|
|
109
|
+
*/
|
|
110
|
+
getParamActividades(input: IFEXGetPARAM_ActividadesInput): Promise<IFEXGetPARAM_ActividadesOutput>;
|
|
111
|
+
/**
|
|
112
|
+
* Check server status
|
|
113
|
+
* @returns Server status information
|
|
114
|
+
*/
|
|
115
|
+
dummy(): Promise<IFEXDummyOutput>;
|
|
116
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fex-repository.port.js","sourceRoot":"","sources":["../../../../src/application/ports/fex/fex-repository.port.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./fex-repository.port";
|
|
@@ -0,0 +1,18 @@
|
|
|
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("./fex-repository.port"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/application/ports/fex/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wDAAsC"}
|
|
@@ -1,16 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
* Generic Repository Port
|
|
3
|
-
* Port defined by the application layer for generic service operations
|
|
4
|
-
*/
|
|
1
|
+
import { ServiceNamesEnum } from "../../../infrastructure/constants/service-names.enum";
|
|
5
2
|
export interface IGenericRepositoryPort {
|
|
6
3
|
/**
|
|
7
4
|
* Call a SOAP method on a service
|
|
8
|
-
* @param serviceName
|
|
5
|
+
* @param serviceName AFIP/ARCA SOAP service (WSDL key)
|
|
9
6
|
* @param methodName Method name to call (e.g., 'FECompUltimoAutorizado')
|
|
10
7
|
* @param params Parameters for the method
|
|
11
8
|
* @returns Promise with the result
|
|
12
9
|
*/
|
|
13
|
-
call(serviceName:
|
|
10
|
+
call(serviceName: ServiceNamesEnum, methodName: string, params: any, options?: {
|
|
14
11
|
wsdlContent?: string;
|
|
15
12
|
}): Promise<any>;
|
|
16
13
|
}
|
|
@@ -14,11 +14,9 @@ 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 Ports
|
|
19
|
-
* Exports all application ports (interfaces that application needs)
|
|
20
|
-
*/
|
|
21
17
|
__exportStar(require("./authentication"), exports);
|
|
22
18
|
__exportStar(require("./electronic-billing"), exports);
|
|
23
19
|
__exportStar(require("./register"), exports);
|
|
20
|
+
__exportStar(require("./fecred"), exports);
|
|
21
|
+
__exportStar(require("./fex"), exports);
|
|
24
22
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/application/ports/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/application/ports/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mDAAiC;AACjC,uDAAqC;AACrC,6CAA2B;AAC3B,2CAAyB;AACzB,wCAAsB"}
|
|
@@ -14,9 +14,5 @@ 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
|
-
* Register Ports
|
|
19
|
-
* Exports all register ports
|
|
20
|
-
*/
|
|
21
17
|
__exportStar(require("./register-repository.ports"), exports);
|
|
22
18
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/application/ports/register/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/application/ports/register/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8DAA4C"}
|
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Register Repository Ports
|
|
3
|
-
* Specific ports for each register scope
|
|
4
|
-
*/
|
|
5
1
|
import { RegisterServerStatusDto, TaxpayerDetailsDto, TaxpayersDetailsDto, TaxIDByDocumentResultDto } from "../../dto/register.dto";
|
|
6
2
|
export interface IRegisterBaseRepositoryPort {
|
|
7
3
|
getServerStatus(): Promise<RegisterServerStatusDto>;
|
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Electronic Billing Service
|
|
3
|
-
* Application service that orchestrates electronic billing use cases
|
|
4
|
-
* Maintains compatibility with legacy API
|
|
5
|
-
*/
|
|
6
1
|
import { IElectronicBillingRepositoryPort } from "../ports/electronic-billing/electronic-billing-repository.port";
|
|
7
2
|
import { IVoucher, INextVoucher } from "../../domain/types/voucher.types";
|
|
8
3
|
import { ICreateVoucherResult } from "../types/result.types";
|
|
@@ -10,7 +10,6 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.ElectronicBillingService = void 0;
|
|
13
|
-
// Use cases
|
|
14
13
|
const get_server_status_use_case_1 = require("../use-cases/electronic-billing/get-server-status.use-case");
|
|
15
14
|
const get_sales_points_use_case_1 = require("../use-cases/electronic-billing/get-sales-points.use-case");
|
|
16
15
|
const get_last_voucher_use_case_1 = require("../use-cases/electronic-billing/get-last-voucher.use-case");
|
|
@@ -37,7 +36,6 @@ const get_max_records_use_case_1 = require("../use-cases/electronic-billing/get-
|
|
|
37
36
|
class ElectronicBillingService {
|
|
38
37
|
constructor(electronicBillingRepository) {
|
|
39
38
|
this.electronicBillingRepository = electronicBillingRepository;
|
|
40
|
-
// Initialize all use cases
|
|
41
39
|
this.getServerStatusUseCase = new get_server_status_use_case_1.GetServerStatusUseCase(this.electronicBillingRepository);
|
|
42
40
|
this.getSalesPointsUseCase = new get_sales_points_use_case_1.GetSalesPointsUseCase(this.electronicBillingRepository);
|
|
43
41
|
this.getLastVoucherUseCase = new get_last_voucher_use_case_1.GetLastVoucherUseCase(this.electronicBillingRepository);
|