@arcasdk/core 0.1.0 → 0.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/README.md +20 -0
- package/package.json +2 -2
- 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/application/dto/electronic-billing.dto.d.ts +0 -114
- package/lib/application/dto/electronic-billing.dto.js +0 -3
- package/lib/application/dto/electronic-billing.dto.js.map +0 -1
- package/lib/application/dto/index.d.ts +0 -6
- package/lib/application/dto/index.js +0 -23
- package/lib/application/dto/index.js.map +0 -1
- package/lib/application/dto/register.dto.d.ts +0 -116
- package/lib/application/dto/register.dto.js +0 -8
- package/lib/application/dto/register.dto.js.map +0 -1
- package/lib/application/index.d.ts +0 -10
- package/lib/application/index.js +0 -27
- package/lib/application/index.js.map +0 -1
- package/lib/application/ports/authentication/authentication-repository.port.d.ts +0 -29
- package/lib/application/ports/authentication/authentication-repository.port.js +0 -3
- package/lib/application/ports/authentication/authentication-repository.port.js.map +0 -1
- package/lib/application/ports/authentication/index.d.ts +0 -5
- package/lib/application/ports/authentication/index.js +0 -22
- package/lib/application/ports/authentication/index.js.map +0 -1
- package/lib/application/ports/electronic-billing/electronic-billing-repository.port.d.ts +0 -77
- package/lib/application/ports/electronic-billing/electronic-billing-repository.port.js +0 -3
- package/lib/application/ports/electronic-billing/electronic-billing-repository.port.js.map +0 -1
- package/lib/application/ports/electronic-billing/index.d.ts +0 -5
- package/lib/application/ports/electronic-billing/index.js +0 -22
- package/lib/application/ports/electronic-billing/index.js.map +0 -1
- package/lib/application/ports/index.d.ts +0 -7
- package/lib/application/ports/index.js +0 -24
- package/lib/application/ports/index.js.map +0 -1
- package/lib/application/ports/register/index.d.ts +0 -5
- package/lib/application/ports/register/index.js +0 -22
- package/lib/application/ports/register/index.js.map +0 -1
- package/lib/application/ports/register/register-repository.port.d.ts +0 -42
- package/lib/application/ports/register/register-repository.port.js +0 -12
- package/lib/application/ports/register/register-repository.port.js.map +0 -1
- package/lib/application/services/electronic-billing.service.d.ts +0 -129
- package/lib/application/services/electronic-billing.service.js +0 -217
- package/lib/application/services/electronic-billing.service.js.map +0 -1
- package/lib/application/services/index.d.ts +0 -10
- package/lib/application/services/index.js +0 -27
- package/lib/application/services/index.js.map +0 -1
- package/lib/application/services/register-inscription-proof.service.d.ts +0 -35
- package/lib/application/services/register-inscription-proof.service.js +0 -101
- package/lib/application/services/register-inscription-proof.service.js.map +0 -1
- package/lib/application/services/register-scope-five.service.d.ts +0 -35
- package/lib/application/services/register-scope-five.service.js +0 -101
- package/lib/application/services/register-scope-five.service.js.map +0 -1
- package/lib/application/services/register-scope-four.service.d.ts +0 -28
- package/lib/application/services/register-scope-four.service.js +0 -72
- package/lib/application/services/register-scope-four.service.js.map +0 -1
- package/lib/application/services/register-scope-ten.service.d.ts +0 -28
- package/lib/application/services/register-scope-ten.service.js +0 -72
- package/lib/application/services/register-scope-ten.service.js.map +0 -1
- package/lib/application/services/register-scope-thirteen.service.d.ts +0 -36
- package/lib/application/services/register-scope-thirteen.service.js +0 -96
- package/lib/application/services/register-scope-thirteen.service.js.map +0 -1
- package/lib/application/types/auth.types.d.ts +0 -19
- package/lib/application/types/auth.types.js +0 -7
- package/lib/application/types/auth.types.js.map +0 -1
- package/lib/application/types/context.types.d.ts +0 -46
- package/lib/application/types/context.types.js +0 -3
- package/lib/application/types/context.types.js.map +0 -1
- package/lib/application/types/index.d.ts +0 -8
- package/lib/application/types/index.js +0 -25
- package/lib/application/types/index.js.map +0 -1
- package/lib/application/types/result.types.d.ts +0 -10
- package/lib/application/types/result.types.js +0 -3
- package/lib/application/types/result.types.js.map +0 -1
- package/lib/application/types/use-case-inputs.types.d.ts +0 -42
- package/lib/application/types/use-case-inputs.types.js +0 -3
- package/lib/application/types/use-case-inputs.types.js.map +0 -1
- package/lib/application/use-cases/authentication/get-auth-params.use-case.d.ts +0 -16
- package/lib/application/use-cases/authentication/get-auth-params.use-case.js +0 -29
- package/lib/application/use-cases/authentication/get-auth-params.use-case.js.map +0 -1
- package/lib/application/use-cases/authentication/index.d.ts +0 -7
- package/lib/application/use-cases/authentication/index.js +0 -24
- package/lib/application/use-cases/authentication/index.js.map +0 -1
- package/lib/application/use-cases/authentication/login.use-case.d.ts +0 -17
- package/lib/application/use-cases/authentication/login.use-case.js +0 -29
- package/lib/application/use-cases/authentication/login.use-case.js.map +0 -1
- package/lib/application/use-cases/authentication/request-login.use-case.d.ts +0 -16
- package/lib/application/use-cases/authentication/request-login.use-case.js +0 -29
- package/lib/application/use-cases/authentication/request-login.use-case.js.map +0 -1
- package/lib/application/use-cases/electronic-billing/create-next-voucher.use-case.d.ts +0 -17
- package/lib/application/use-cases/electronic-billing/create-next-voucher.use-case.js +0 -39
- package/lib/application/use-cases/electronic-billing/create-next-voucher.use-case.js.map +0 -1
- package/lib/application/use-cases/electronic-billing/create-voucher.use-case.d.ts +0 -17
- package/lib/application/use-cases/electronic-billing/create-voucher.use-case.js +0 -33
- package/lib/application/use-cases/electronic-billing/create-voucher.use-case.js.map +0 -1
- package/lib/application/use-cases/electronic-billing/get-aliquot-types.use-case.d.ts +0 -15
- package/lib/application/use-cases/electronic-billing/get-aliquot-types.use-case.js +0 -28
- package/lib/application/use-cases/electronic-billing/get-aliquot-types.use-case.js.map +0 -1
- package/lib/application/use-cases/electronic-billing/get-concept-types.use-case.d.ts +0 -15
- package/lib/application/use-cases/electronic-billing/get-concept-types.use-case.js +0 -28
- package/lib/application/use-cases/electronic-billing/get-concept-types.use-case.js.map +0 -1
- package/lib/application/use-cases/electronic-billing/get-currency-types.use-case.d.ts +0 -15
- package/lib/application/use-cases/electronic-billing/get-currency-types.use-case.js +0 -28
- package/lib/application/use-cases/electronic-billing/get-currency-types.use-case.js.map +0 -1
- package/lib/application/use-cases/electronic-billing/get-document-types.use-case.d.ts +0 -15
- package/lib/application/use-cases/electronic-billing/get-document-types.use-case.js +0 -28
- package/lib/application/use-cases/electronic-billing/get-document-types.use-case.js.map +0 -1
- package/lib/application/use-cases/electronic-billing/get-last-voucher.use-case.d.ts +0 -17
- package/lib/application/use-cases/electronic-billing/get-last-voucher.use-case.js +0 -29
- package/lib/application/use-cases/electronic-billing/get-last-voucher.use-case.js.map +0 -1
- package/lib/application/use-cases/electronic-billing/get-optional-types.use-case.d.ts +0 -15
- package/lib/application/use-cases/electronic-billing/get-optional-types.use-case.js +0 -28
- package/lib/application/use-cases/electronic-billing/get-optional-types.use-case.js.map +0 -1
- package/lib/application/use-cases/electronic-billing/get-parameter-types.use-case.d.ts +0 -40
- package/lib/application/use-cases/electronic-billing/get-parameter-types.use-case.js +0 -73
- package/lib/application/use-cases/electronic-billing/get-parameter-types.use-case.js.map +0 -1
- package/lib/application/use-cases/electronic-billing/get-sales-points.use-case.d.ts +0 -15
- package/lib/application/use-cases/electronic-billing/get-sales-points.use-case.js +0 -28
- package/lib/application/use-cases/electronic-billing/get-sales-points.use-case.js.map +0 -1
- package/lib/application/use-cases/electronic-billing/get-server-status.use-case.d.ts +0 -15
- package/lib/application/use-cases/electronic-billing/get-server-status.use-case.js +0 -28
- package/lib/application/use-cases/electronic-billing/get-server-status.use-case.js.map +0 -1
- package/lib/application/use-cases/electronic-billing/get-tax-types.use-case.d.ts +0 -15
- package/lib/application/use-cases/electronic-billing/get-tax-types.use-case.js +0 -28
- package/lib/application/use-cases/electronic-billing/get-tax-types.use-case.js.map +0 -1
- package/lib/application/use-cases/electronic-billing/get-voucher-info.use-case.d.ts +0 -17
- package/lib/application/use-cases/electronic-billing/get-voucher-info.use-case.js +0 -29
- package/lib/application/use-cases/electronic-billing/get-voucher-info.use-case.js.map +0 -1
- package/lib/application/use-cases/electronic-billing/get-voucher-types.use-case.d.ts +0 -15
- package/lib/application/use-cases/electronic-billing/get-voucher-types.use-case.js +0 -28
- package/lib/application/use-cases/electronic-billing/get-voucher-types.use-case.js.map +0 -1
- package/lib/application/use-cases/electronic-billing/index.d.ts +0 -18
- package/lib/application/use-cases/electronic-billing/index.js +0 -36
- package/lib/application/use-cases/electronic-billing/index.js.map +0 -1
- package/lib/application/use-cases/index.d.ts +0 -7
- package/lib/application/use-cases/index.js +0 -24
- package/lib/application/use-cases/index.js.map +0 -1
- package/lib/application/use-cases/register/get-server-status.use-case.d.ts +0 -17
- package/lib/application/use-cases/register/get-server-status.use-case.js +0 -29
- package/lib/application/use-cases/register/get-server-status.use-case.js.map +0 -1
- package/lib/application/use-cases/register/get-tax-id-by-document.use-case.d.ts +0 -18
- package/lib/application/use-cases/register/get-tax-id-by-document.use-case.js +0 -29
- package/lib/application/use-cases/register/get-tax-id-by-document.use-case.js.map +0 -1
- package/lib/application/use-cases/register/get-taxpayer-details.use-case.d.ts +0 -17
- package/lib/application/use-cases/register/get-taxpayer-details.use-case.js +0 -29
- package/lib/application/use-cases/register/get-taxpayer-details.use-case.js.map +0 -1
- package/lib/application/use-cases/register/get-taxpayers-details.use-case.d.ts +0 -18
- package/lib/application/use-cases/register/get-taxpayers-details.use-case.js +0 -29
- package/lib/application/use-cases/register/get-taxpayers-details.use-case.js.map +0 -1
- package/lib/application/use-cases/register/index.d.ts +0 -8
- package/lib/application/use-cases/register/index.js +0 -25
- package/lib/application/use-cases/register/index.js.map +0 -1
- package/lib/arca.d.ts +0 -23
- package/lib/arca.js +0 -83
- package/lib/arca.js.map +0 -1
- package/lib/domain/entities/access-ticket.entity.d.ts +0 -73
- package/lib/domain/entities/access-ticket.entity.js +0 -144
- package/lib/domain/entities/access-ticket.entity.js.map +0 -1
- package/lib/domain/entities/index.d.ts +0 -6
- package/lib/domain/entities/index.js +0 -23
- package/lib/domain/entities/index.js.map +0 -1
- package/lib/domain/entities/voucher.entity.d.ts +0 -113
- package/lib/domain/entities/voucher.entity.js +0 -216
- package/lib/domain/entities/voucher.entity.js.map +0 -1
- package/lib/domain/index.d.ts +0 -6
- package/lib/domain/index.js +0 -23
- package/lib/domain/index.js.map +0 -1
- package/lib/domain/types/electronic-billing.types.d.ts +0 -120
- package/lib/domain/types/electronic-billing.types.js +0 -8
- package/lib/domain/types/electronic-billing.types.js.map +0 -1
- package/lib/domain/types/index.d.ts +0 -6
- package/lib/domain/types/index.js +0 -23
- package/lib/domain/types/index.js.map +0 -1
- package/lib/domain/types/voucher.types.d.ts +0 -65
- package/lib/domain/types/voucher.types.js +0 -3
- package/lib/domain/types/voucher.types.js.map +0 -1
- package/lib/domain/value-objects/cae.vo.d.ts +0 -47
- package/lib/domain/value-objects/cae.vo.js +0 -80
- package/lib/domain/value-objects/cae.vo.js.map +0 -1
- package/lib/domain/value-objects/cuit.vo.d.ts +0 -49
- package/lib/domain/value-objects/cuit.vo.js +0 -98
- package/lib/domain/value-objects/cuit.vo.js.map +0 -1
- package/lib/domain/value-objects/index.d.ts +0 -7
- package/lib/domain/value-objects/index.js +0 -24
- package/lib/domain/value-objects/index.js.map +0 -1
- package/lib/domain/value-objects/voucher-number.vo.d.ts +0 -66
- package/lib/domain/value-objects/voucher-number.vo.js +0 -106
- package/lib/domain/value-objects/voucher-number.vo.js.map +0 -1
- package/lib/index.d.ts +0 -8
- package/lib/index.js +0 -27
- package/lib/index.js.map +0 -1
- package/lib/infrastructure/constants/index.d.ts +0 -5
- package/lib/infrastructure/constants/index.js +0 -22
- package/lib/infrastructure/constants/index.js.map +0 -1
- package/lib/infrastructure/constants/ssl.constants.d.ts +0 -16
- package/lib/infrastructure/constants/ssl.constants.js +0 -20
- package/lib/infrastructure/constants/ssl.constants.js.map +0 -1
- package/lib/infrastructure/index.d.ts +0 -5
- package/lib/infrastructure/index.js +0 -22
- package/lib/infrastructure/index.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.d.ts +0 -59
- package/lib/infrastructure/outbound/adapters/auth/auth.repository.js +0 -134
- package/lib/infrastructure/outbound/adapters/auth/auth.repository.js.map +0 -1
- package/lib/infrastructure/outbound/adapters/electronic-billing/electronic-billing-repository.d.ts +0 -31
- package/lib/infrastructure/outbound/adapters/electronic-billing/electronic-billing-repository.js +0 -299
- 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 +0 -22
- 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/index.d.ts +0 -10
- package/lib/infrastructure/outbound/adapters/index.js +0 -27
- package/lib/infrastructure/outbound/adapters/index.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.d.ts +0 -5
- package/lib/infrastructure/outbound/adapters/register/index.js +0 -22
- package/lib/infrastructure/outbound/adapters/register/index.js.map +0 -1
- package/lib/infrastructure/outbound/adapters/register/register-repository.d.ts +0 -32
- package/lib/infrastructure/outbound/adapters/register/register-repository.js +0 -288
- package/lib/infrastructure/outbound/adapters/register/register-repository.js.map +0 -1
- package/lib/infrastructure/outbound/adapters/soap/base-soap-repository.d.ts +0 -30
- package/lib/infrastructure/outbound/adapters/soap/base-soap-repository.js +0 -63
- package/lib/infrastructure/outbound/adapters/soap/base-soap-repository.js.map +0 -1
- package/lib/infrastructure/outbound/adapters/soap/soap-client-facade.d.ts +0 -20
- package/lib/infrastructure/outbound/adapters/soap/soap-client-facade.js +0 -54
- package/lib/infrastructure/outbound/adapters/soap/soap-client-facade.js.map +0 -1
- package/lib/infrastructure/outbound/adapters/soap/soap-client.d.ts +0 -11
- package/lib/infrastructure/outbound/adapters/soap/soap-client.js +0 -89
- package/lib/infrastructure/outbound/adapters/soap/soap-client.js.map +0 -1
- package/lib/infrastructure/outbound/adapters/soap/wsdl-strings.d.ts +0 -10
- package/lib/infrastructure/outbound/adapters/soap/wsdl-strings.js +0 -5804
- package/lib/infrastructure/outbound/adapters/soap/wsdl-strings.js.map +0 -1
- package/lib/infrastructure/outbound/adapters/storage/file-system-ticket-storage.d.ts +0 -24
- package/lib/infrastructure/outbound/adapters/storage/file-system-ticket-storage.js +0 -98
- package/lib/infrastructure/outbound/adapters/storage/file-system-ticket-storage.js.map +0 -1
- package/lib/infrastructure/outbound/index.d.ts +0 -9
- package/lib/infrastructure/outbound/index.js +0 -26
- package/lib/infrastructure/outbound/index.js.map +0 -1
- package/lib/infrastructure/outbound/ports/auth/auth-repository.types.d.ts +0 -17
- package/lib/infrastructure/outbound/ports/auth/auth-repository.types.js +0 -3
- package/lib/infrastructure/outbound/ports/auth/auth-repository.types.js.map +0 -1
- package/lib/infrastructure/outbound/ports/index.d.ts +0 -11
- package/lib/infrastructure/outbound/ports/index.js +0 -28
- package/lib/infrastructure/outbound/ports/index.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 +0 -3
- 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 +0 -3
- package/lib/infrastructure/outbound/ports/logger/logger.types.js.map +0 -1
- package/lib/infrastructure/outbound/ports/soap/enums/endpoints.enum.d.ts +0 -51
- package/lib/infrastructure/outbound/ports/soap/enums/endpoints.enum.js +0 -57
- package/lib/infrastructure/outbound/ports/soap/enums/endpoints.enum.js.map +0 -1
- package/lib/infrastructure/outbound/ports/soap/enums/index.d.ts +0 -7
- package/lib/infrastructure/outbound/ports/soap/enums/index.js +0 -24
- package/lib/infrastructure/outbound/ports/soap/enums/index.js.map +0 -1
- package/lib/infrastructure/outbound/ports/soap/enums/service-names.enum.d.ts +0 -9
- package/lib/infrastructure/outbound/ports/soap/enums/service-names.enum.js +0 -14
- package/lib/infrastructure/outbound/ports/soap/enums/service-names.enum.js.map +0 -1
- package/lib/infrastructure/outbound/ports/soap/enums/wsdl-path.enum.d.ts +0 -15
- package/lib/infrastructure/outbound/ports/soap/enums/wsdl-path.enum.js +0 -20
- package/lib/infrastructure/outbound/ports/soap/enums/wsdl-path.enum.js.map +0 -1
- package/lib/infrastructure/outbound/ports/soap/index.d.ts +0 -7
- package/lib/infrastructure/outbound/ports/soap/index.js +0 -24
- package/lib/infrastructure/outbound/ports/soap/index.js.map +0 -1
- package/lib/infrastructure/outbound/ports/soap/interfaces/LoginCMSService/LoginCms.d.ts +0 -42
- package/lib/infrastructure/outbound/ports/soap/interfaces/LoginCMSService/LoginCms.js +0 -3
- package/lib/infrastructure/outbound/ports/soap/interfaces/LoginCMSService/LoginCms.js.map +0 -1
- package/lib/infrastructure/outbound/ports/soap/interfaces/PersonaServiceA10/PersonaServiceA10Port.d.ts +0 -102
- package/lib/infrastructure/outbound/ports/soap/interfaces/PersonaServiceA10/PersonaServiceA10Port.js +0 -3
- package/lib/infrastructure/outbound/ports/soap/interfaces/PersonaServiceA10/PersonaServiceA10Port.js.map +0 -1
- package/lib/infrastructure/outbound/ports/soap/interfaces/PersonaServiceA13/PersonaServiceA13Port.d.ts +0 -145
- package/lib/infrastructure/outbound/ports/soap/interfaces/PersonaServiceA13/PersonaServiceA13Port.js +0 -3
- package/lib/infrastructure/outbound/ports/soap/interfaces/PersonaServiceA13/PersonaServiceA13Port.js.map +0 -1
- package/lib/infrastructure/outbound/ports/soap/interfaces/PersonaServiceA4/PersonaServiceA4Port.d.ts +0 -227
- package/lib/infrastructure/outbound/ports/soap/interfaces/PersonaServiceA4/PersonaServiceA4Port.js +0 -3
- package/lib/infrastructure/outbound/ports/soap/interfaces/PersonaServiceA4/PersonaServiceA4Port.js.map +0 -1
- package/lib/infrastructure/outbound/ports/soap/interfaces/PersonaServiceA5/PersonaServiceA5Port.d.ts +0 -300
- package/lib/infrastructure/outbound/ports/soap/interfaces/PersonaServiceA5/PersonaServiceA5Port.js +0 -3
- package/lib/infrastructure/outbound/ports/soap/interfaces/PersonaServiceA5/PersonaServiceA5Port.js.map +0 -1
- package/lib/infrastructure/outbound/ports/soap/interfaces/PersonaServiceInscriptionProof/PersonaServiceInscriptionProofPort.d.ts +0 -301
- package/lib/infrastructure/outbound/ports/soap/interfaces/PersonaServiceInscriptionProof/PersonaServiceInscriptionProofPort.js +0 -3
- package/lib/infrastructure/outbound/ports/soap/interfaces/PersonaServiceInscriptionProof/PersonaServiceInscriptionProofPort.js.map +0 -1
- package/lib/infrastructure/outbound/ports/soap/interfaces/Service/ServiceSoap.d.ts +0 -835
- package/lib/infrastructure/outbound/ports/soap/interfaces/Service/ServiceSoap.js +0 -3
- package/lib/infrastructure/outbound/ports/soap/interfaces/Service/ServiceSoap.js.map +0 -1
- package/lib/infrastructure/outbound/ports/soap/interfaces/Service/ServiceSoap12.d.ts +0 -876
- package/lib/infrastructure/outbound/ports/soap/interfaces/Service/ServiceSoap12.js +0 -3
- package/lib/infrastructure/outbound/ports/soap/interfaces/Service/ServiceSoap12.js.map +0 -1
- package/lib/infrastructure/outbound/ports/soap/interfaces/index.d.ts +0 -15
- package/lib/infrastructure/outbound/ports/soap/interfaces/index.js +0 -53
- package/lib/infrastructure/outbound/ports/soap/interfaces/index.js.map +0 -1
- package/lib/infrastructure/outbound/ports/soap/soap-client.port.d.ts +0 -28
- package/lib/infrastructure/outbound/ports/soap/soap-client.port.js +0 -3
- package/lib/infrastructure/outbound/ports/soap/soap-client.port.js.map +0 -1
- package/lib/infrastructure/outbound/ports/soap/soap-repository.types.d.ts +0 -37
- package/lib/infrastructure/outbound/ports/soap/soap-repository.types.js +0 -3
- package/lib/infrastructure/outbound/ports/soap/soap-repository.types.js.map +0 -1
- package/lib/infrastructure/outbound/ports/storage/ticket-storage.port.d.ts +0 -24
- package/lib/infrastructure/outbound/ports/storage/ticket-storage.port.js +0 -3
- package/lib/infrastructure/outbound/ports/storage/ticket-storage.port.js.map +0 -1
- package/lib/infrastructure/outbound/ports/storage/ticket-storage.types.d.ts +0 -9
- package/lib/infrastructure/outbound/ports/storage/ticket-storage.types.js +0 -3
- package/lib/infrastructure/outbound/ports/storage/ticket-storage.types.js.map +0 -1
- package/lib/infrastructure/types/index.d.ts +0 -5
- package/lib/infrastructure/types/index.js +0 -22
- package/lib/infrastructure/types/index.js.map +0 -1
- package/lib/infrastructure/types/soap.types.d.ts +0 -29
- package/lib/infrastructure/types/soap.types.js +0 -3
- package/lib/infrastructure/types/soap.types.js.map +0 -1
- package/lib/infrastructure/utils/crypt-data.d.ts +0 -6
- package/lib/infrastructure/utils/crypt-data.js +0 -46
- package/lib/infrastructure/utils/crypt-data.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/index.d.ts +0 -8
- package/lib/infrastructure/utils/index.js +0 -25
- package/lib/infrastructure/utils/index.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/parser.d.ts +0 -14
- package/lib/infrastructure/utils/parser.js +0 -36
- package/lib/infrastructure/utils/parser.js.map +0 -1
- package/lib/infrastructure/utils/soap-to-dto.mapper.d.ts +0 -104
- package/lib/infrastructure/utils/soap-to-dto.mapper.js +0 -111
- package/lib/infrastructure/utils/soap-to-dto.mapper.js.map +0 -1
|
@@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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oBAk7CK;CACnB,CAAC;AAEF,SAAgB,aAAa,CAAC,QAAgB;IAC5C,OAAO,oBAAY,CAAC,QAAQ,CAAC,CAAC;AAChC,CAAC"}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* File System Ticket Storage
|
|
3
|
-
* Implements ITicketStoragePort using the file system
|
|
4
|
-
*/
|
|
5
|
-
import { ITicketStoragePort } from "@infrastructure/outbound/ports/storage/ticket-storage.port";
|
|
6
|
-
import { AccessTicket } from "@domain/entities/access-ticket.entity";
|
|
7
|
-
import { FileSystemTicketStorageConfig } from "@infrastructure/outbound/ports/storage/ticket-storage.types";
|
|
8
|
-
export declare class FileSystemTicketStorage implements ITicketStoragePort {
|
|
9
|
-
private ticketPath;
|
|
10
|
-
private cuit;
|
|
11
|
-
private production;
|
|
12
|
-
constructor(config: FileSystemTicketStorageConfig);
|
|
13
|
-
/**
|
|
14
|
-
* Create file name for ticket
|
|
15
|
-
*/
|
|
16
|
-
private createFileName;
|
|
17
|
-
/**
|
|
18
|
-
* Get path to ticket file
|
|
19
|
-
*/
|
|
20
|
-
private getTicketFilePath;
|
|
21
|
-
save(ticket: AccessTicket, serviceName: string): Promise<void>;
|
|
22
|
-
get(serviceName: string): Promise<AccessTicket | null>;
|
|
23
|
-
delete(serviceName: string): Promise<void>;
|
|
24
|
-
}
|
|
@@ -1,98 +0,0 @@
|
|
|
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.FileSystemTicketStorage = void 0;
|
|
13
|
-
const access_ticket_entity_1 = require("@domain/entities/access-ticket.entity");
|
|
14
|
-
const fs_1 = require("fs");
|
|
15
|
-
const path_1 = require("path");
|
|
16
|
-
class FileSystemTicketStorage {
|
|
17
|
-
constructor(config) {
|
|
18
|
-
var _a;
|
|
19
|
-
this.ticketPath = config.ticketPath;
|
|
20
|
-
this.cuit = config.cuit;
|
|
21
|
-
this.production = (_a = config.production) !== null && _a !== void 0 ? _a : false;
|
|
22
|
-
}
|
|
23
|
-
/**
|
|
24
|
-
* Create file name for ticket
|
|
25
|
-
*/
|
|
26
|
-
createFileName(serviceName) {
|
|
27
|
-
return `TA-${this.cuit.toString()}-${serviceName}${this.production ? "-production" : ""}.json`;
|
|
28
|
-
}
|
|
29
|
-
/**
|
|
30
|
-
* Get path to ticket file
|
|
31
|
-
*/
|
|
32
|
-
getTicketFilePath(serviceName) {
|
|
33
|
-
return (0, path_1.resolve)(this.ticketPath, this.createFileName(serviceName));
|
|
34
|
-
}
|
|
35
|
-
save(ticket, serviceName) {
|
|
36
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
37
|
-
try {
|
|
38
|
-
yield fs_1.promises.mkdir(this.ticketPath, { recursive: true });
|
|
39
|
-
}
|
|
40
|
-
catch (error) {
|
|
41
|
-
throw new Error(`Failed to create tickets directory: ${error.message}`);
|
|
42
|
-
}
|
|
43
|
-
const filePath = this.getTicketFilePath(serviceName);
|
|
44
|
-
const ticketData = {
|
|
45
|
-
header: ticket.getHeaders(),
|
|
46
|
-
credentials: ticket.getCredentials(),
|
|
47
|
-
};
|
|
48
|
-
yield fs_1.promises.writeFile(filePath, JSON.stringify(ticketData, null, 2), "utf8");
|
|
49
|
-
});
|
|
50
|
-
}
|
|
51
|
-
get(serviceName) {
|
|
52
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
53
|
-
const filePath = this.getTicketFilePath(serviceName);
|
|
54
|
-
try {
|
|
55
|
-
yield fs_1.promises.access(filePath, fs_1.promises.constants.F_OK);
|
|
56
|
-
}
|
|
57
|
-
catch (_a) {
|
|
58
|
-
return null; // File doesn't exist
|
|
59
|
-
}
|
|
60
|
-
try {
|
|
61
|
-
yield fs_1.promises.access(filePath, fs_1.promises.constants.R_OK);
|
|
62
|
-
}
|
|
63
|
-
catch (error) {
|
|
64
|
-
throw new Error(`Access denied to ticket file: ${filePath}`);
|
|
65
|
-
}
|
|
66
|
-
let fileData;
|
|
67
|
-
try {
|
|
68
|
-
fileData = yield fs_1.promises.readFile(filePath, "utf8");
|
|
69
|
-
}
|
|
70
|
-
catch (_b) {
|
|
71
|
-
return null; // Can't read file
|
|
72
|
-
}
|
|
73
|
-
try {
|
|
74
|
-
const ticketData = JSON.parse(fileData);
|
|
75
|
-
return access_ticket_entity_1.AccessTicket.create(ticketData);
|
|
76
|
-
}
|
|
77
|
-
catch (error) {
|
|
78
|
-
throw new Error(`Invalid access ticket format: ${error.message}`);
|
|
79
|
-
}
|
|
80
|
-
});
|
|
81
|
-
}
|
|
82
|
-
delete(serviceName) {
|
|
83
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
84
|
-
const filePath = this.getTicketFilePath(serviceName);
|
|
85
|
-
try {
|
|
86
|
-
yield fs_1.promises.unlink(filePath);
|
|
87
|
-
}
|
|
88
|
-
catch (error) {
|
|
89
|
-
if (error.code !== "ENOENT") {
|
|
90
|
-
throw new Error(`Failed to delete ticket file: ${error.message}`);
|
|
91
|
-
}
|
|
92
|
-
// File doesn't exist, that's okay
|
|
93
|
-
}
|
|
94
|
-
});
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
exports.FileSystemTicketStorage = FileSystemTicketStorage;
|
|
98
|
-
//# sourceMappingURL=file-system-ticket-storage.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"file-system-ticket-storage.js","sourceRoot":"","sources":["../../../../../src/infrastructure/outbound/adapters/storage/file-system-ticket-storage.ts"],"names":[],"mappings":";;;;;;;;;;;;AAKA,gFAAqE;AACrE,2BAAoC;AACpC,+BAA+B;AAG/B,MAAa,uBAAuB;IAKlC,YAAY,MAAqC;;QAC/C,IAAI,CAAC,UAAU,GAAG,MAAM,CAAC,UAAU,CAAC;QACpC,IAAI,CAAC,IAAI,GAAG,MAAM,CAAC,IAAI,CAAC;QACxB,IAAI,CAAC,UAAU,GAAG,MAAA,MAAM,CAAC,UAAU,mCAAI,KAAK,CAAC;IAC/C,CAAC;IAED;;OAEG;IACK,cAAc,CAAC,WAAmB;QACxC,OAAO,MAAM,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,IAAI,WAAW,GAC9C,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,EACpC,OAAO,CAAC;IACV,CAAC;IAED;;OAEG;IACK,iBAAiB,CAAC,WAAmB;QAC3C,OAAO,IAAA,cAAO,EAAC,IAAI,CAAC,UAAU,EAAE,IAAI,CAAC,cAAc,CAAC,WAAW,CAAC,CAAC,CAAC;IACpE,CAAC;IAEK,IAAI,CAAC,MAAoB,EAAE,WAAmB;;YAClD,IAAI,CAAC;gBACH,MAAM,aAAE,CAAC,KAAK,CAAC,IAAI,CAAC,UAAU,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC;YACvD,CAAC;YAAC,OAAO,KAAU,EAAE,CAAC;gBACpB,MAAM,IAAI,KAAK,CAAC,uCAAuC,KAAK,CAAC,OAAO,EAAE,CAAC,CAAC;YAC1E,CAAC;YAED,MAAM,QAAQ,GAAG,IAAI,CAAC,iBAAiB,CAAC,WAAW,CAAC,CAAC;YACrD,MAAM,UAAU,GAAG;gBAC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ACpE,CAAC;QACH,CAAC;KAAA;IAEK,MAAM,CAAC,WAAmB;;YAC9B,MAAM,QAAQ,GAAG,IAAI,CAAC,iBAAiB,CAAC,WAAW,CAAC,CAAC;YAErD,IAAI,CAAC;gBACH,MAAM,aAAE,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;YAC5B,CAAC;YAAC,OAAO,KAAU,EAAE,CAAC;gBACpB,IAAI,KAAK,CAAC,IAAI,KAAK,QAAQ,EAAE,CAAC;oBAC5B,MAAM,IAAI,KAAK,CAAC,iCAAiC,KAAK,CAAC,OAAO,EAAE,CAAC,CAAC;gBACpE,CAAC;gBACD,kCAAkC;YACpC,CAAC;QACH,CAAC;KAAA;CACF;AArFD,0DAqFC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Infrastructure Outbound Layer
|
|
3
|
-
* Exports all ports and adapters
|
|
4
|
-
*/
|
|
5
|
-
export * from "./ports";
|
|
6
|
-
export * from "./adapters/soap/soap-client";
|
|
7
|
-
export * from "./adapters/auth/auth.repository";
|
|
8
|
-
export * from "./adapters/storage/file-system-ticket-storage";
|
|
9
|
-
export * from "./adapters/logger/winston-logger";
|
|
@@ -1,26 +0,0 @@
|
|
|
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
|
-
/**
|
|
18
|
-
* Infrastructure Outbound Layer
|
|
19
|
-
* Exports all ports and adapters
|
|
20
|
-
*/
|
|
21
|
-
__exportStar(require("./ports"), exports);
|
|
22
|
-
__exportStar(require("./adapters/soap/soap-client"), exports);
|
|
23
|
-
__exportStar(require("./adapters/auth/auth.repository"), exports);
|
|
24
|
-
__exportStar(require("./adapters/storage/file-system-ticket-storage"), exports);
|
|
25
|
-
__exportStar(require("./adapters/logger/winston-logger"), exports);
|
|
26
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/infrastructure/outbound/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA;;;GAGG;AACH,0CAAwB;AACxB,8DAA4C;AAC5C,kEAAgD;AAChD,gFAA8D;AAC9D,mEAAiD"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Auth Repository Types
|
|
3
|
-
* Configuration types for authentication repositories
|
|
4
|
-
*/
|
|
5
|
-
import { ISoapClientPort } from "../soap/soap-client.port";
|
|
6
|
-
import { ITicketStoragePort } from "../storage/ticket-storage.port";
|
|
7
|
-
import { ILoginCredentials } from "@domain/entities/access-ticket.entity";
|
|
8
|
-
export interface AuthRepositoryConfig {
|
|
9
|
-
soapClient?: ISoapClientPort;
|
|
10
|
-
cert: string;
|
|
11
|
-
key: string;
|
|
12
|
-
cuit: number;
|
|
13
|
-
production?: boolean;
|
|
14
|
-
handleTicket?: boolean;
|
|
15
|
-
ticketStorage?: ITicketStoragePort;
|
|
16
|
-
credentials?: ILoginCredentials;
|
|
17
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"auth-repository.types.js","sourceRoot":"","sources":["../../../../../src/infrastructure/outbound/ports/auth/auth-repository.types.ts"],"names":[],"mappings":""}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Outbound Ports
|
|
3
|
-
* Exports all outbound ports (interfaces that infrastructure implements)
|
|
4
|
-
*/
|
|
5
|
-
export * from "./auth/auth-repository.types";
|
|
6
|
-
export * from "./soap/soap-client.port";
|
|
7
|
-
export * from "./soap/soap-repository.types";
|
|
8
|
-
export * from "./storage/ticket-storage.port";
|
|
9
|
-
export * from "./storage/ticket-storage.types";
|
|
10
|
-
export * from "./logger/logger.port";
|
|
11
|
-
export * from "./logger/logger.types";
|
|
@@ -1,28 +0,0 @@
|
|
|
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
|
-
/**
|
|
18
|
-
* Outbound Ports
|
|
19
|
-
* Exports all outbound ports (interfaces that infrastructure implements)
|
|
20
|
-
*/
|
|
21
|
-
__exportStar(require("./auth/auth-repository.types"), exports);
|
|
22
|
-
__exportStar(require("./soap/soap-client.port"), exports);
|
|
23
|
-
__exportStar(require("./soap/soap-repository.types"), exports);
|
|
24
|
-
__exportStar(require("./storage/ticket-storage.port"), exports);
|
|
25
|
-
__exportStar(require("./storage/ticket-storage.types"), exports);
|
|
26
|
-
__exportStar(require("./logger/logger.port"), exports);
|
|
27
|
-
__exportStar(require("./logger/logger.types"), exports);
|
|
28
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/infrastructure/outbound/ports/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA;;;GAGG;AACH,+DAA6C;AAC7C,0DAAwC;AACxC,+DAA6C;AAC7C,gEAA8C;AAC9C,iEAA+C;AAC/C,uDAAqC;AACrC,wDAAsC"}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Logger Port
|
|
3
|
-
* Outbound port for logging operations
|
|
4
|
-
*/
|
|
5
|
-
export interface ILoggerPort {
|
|
6
|
-
/**
|
|
7
|
-
* Log an info message
|
|
8
|
-
* @param message Log message
|
|
9
|
-
* @param meta Additional metadata
|
|
10
|
-
*/
|
|
11
|
-
info(message: string, meta?: any): void;
|
|
12
|
-
/**
|
|
13
|
-
* Log an error message
|
|
14
|
-
* @param message Log message
|
|
15
|
-
* @param error Error object (optional)
|
|
16
|
-
* @param meta Additional metadata
|
|
17
|
-
*/
|
|
18
|
-
error(message: string, error?: Error, meta?: any): void;
|
|
19
|
-
/**
|
|
20
|
-
* Log a warning message
|
|
21
|
-
* @param message Log message
|
|
22
|
-
* @param meta Additional metadata
|
|
23
|
-
*/
|
|
24
|
-
warn(message: string, meta?: any): void;
|
|
25
|
-
/**
|
|
26
|
-
* Log a debug message
|
|
27
|
-
* @param message Log message
|
|
28
|
-
* @param meta Additional metadata
|
|
29
|
-
*/
|
|
30
|
-
debug(message: string, meta?: any): void;
|
|
31
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"logger.port.js","sourceRoot":"","sources":["../../../../../src/infrastructure/outbound/ports/logger/logger.port.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"logger.types.js","sourceRoot":"","sources":["../../../../../src/infrastructure/outbound/ports/logger/logger.types.ts"],"names":[],"mappings":""}
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Endpoints Enum
|
|
3
|
-
* URLs for AFIP/ARCA web service endpoints
|
|
4
|
-
*/
|
|
5
|
-
export declare enum EndpointsEnum {
|
|
6
|
-
/**
|
|
7
|
-
* WS Autoservicio de Acceso a APIs
|
|
8
|
-
**/
|
|
9
|
-
WSAA = "https://wsaa.afip.gov.ar/ws/services/LoginCms",
|
|
10
|
-
WSAA_TEST = "https://wsaahomo.afip.gov.ar/ws/services/LoginCms",
|
|
11
|
-
/**
|
|
12
|
-
* WS Facturacion Electronica
|
|
13
|
-
**/
|
|
14
|
-
WSFEV1 = "https://servicios1.afip.gov.ar/wsfev1/service.asmx",
|
|
15
|
-
WSFEV1_TEST = "https://wswhomo.afip.gov.ar/wsfev1/service.asmx",
|
|
16
|
-
/**
|
|
17
|
-
* WS Constancia inscripción
|
|
18
|
-
**/
|
|
19
|
-
WSSR_INSCRIPTION_PROOF = "https://aws.afip.gov.ar/sr-padron/webservices/personaServiceA5",
|
|
20
|
-
WSSR_INSCRIPTION_PROOF_TEST = "https://awshomo.afip.gov.ar/sr-padron/webservices/personaServiceA5",
|
|
21
|
-
/**
|
|
22
|
-
* WS Padron 4
|
|
23
|
-
**/
|
|
24
|
-
WSSR_PADRON_FOUR = "https://aws.afip.gov.ar/sr-padron/webservices/personaServiceA4",
|
|
25
|
-
WSSR_PADRON_FOUR_TEST = "https://awshomo.afip.gov.ar/sr-padron/webservices/personaServiceA4",
|
|
26
|
-
/**
|
|
27
|
-
* WS Padron 5
|
|
28
|
-
**/
|
|
29
|
-
WSSR_PADRON_FIVE = "https://aws.afip.gov.ar/sr-padron/webservices/personaServiceA5",
|
|
30
|
-
WSSR_PADRON_FIVE_TEST = "https://awshomo.afip.gov.ar/sr-padron/webservices/personaServiceA5",
|
|
31
|
-
/**
|
|
32
|
-
* WS Padron 10
|
|
33
|
-
**/
|
|
34
|
-
WSSR_PADRON_TEN = "https://aws.afip.gov.ar/sr-padron/webservices/personaServiceA10",
|
|
35
|
-
WSSR_PADRON_TEN_TEST = "https://awshomo.afip.gov.ar/sr-padron/webservices/personaServiceA10",
|
|
36
|
-
/**
|
|
37
|
-
* WS Padron 13
|
|
38
|
-
**/
|
|
39
|
-
WSSR_PADRON_THIRTEEN = "https://aws.afip.gov.ar/sr-padron/webservices/personaServiceA13",
|
|
40
|
-
WSSR_PADRON_THIRTEEN_TEST = "https://awshomo.afip.gov.ar/sr-padron/webservices/personaServiceA13"
|
|
41
|
-
}
|
|
42
|
-
/**
|
|
43
|
-
* SOAP Service Version Enum
|
|
44
|
-
* Versions of SOAP services
|
|
45
|
-
*/
|
|
46
|
-
export declare enum SoapServiceVersion {
|
|
47
|
-
/** Version 1.2 */
|
|
48
|
-
ServiceSoap12 = "ServiceSoap12",
|
|
49
|
-
/** Common version */
|
|
50
|
-
ServiceSoap = "ServiceSoap"
|
|
51
|
-
}
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SoapServiceVersion = exports.EndpointsEnum = void 0;
|
|
4
|
-
/**
|
|
5
|
-
* Endpoints Enum
|
|
6
|
-
* URLs for AFIP/ARCA web service endpoints
|
|
7
|
-
*/
|
|
8
|
-
var EndpointsEnum;
|
|
9
|
-
(function (EndpointsEnum) {
|
|
10
|
-
/**
|
|
11
|
-
* WS Autoservicio de Acceso a APIs
|
|
12
|
-
**/
|
|
13
|
-
EndpointsEnum["WSAA"] = "https://wsaa.afip.gov.ar/ws/services/LoginCms";
|
|
14
|
-
EndpointsEnum["WSAA_TEST"] = "https://wsaahomo.afip.gov.ar/ws/services/LoginCms";
|
|
15
|
-
/**
|
|
16
|
-
* WS Facturacion Electronica
|
|
17
|
-
**/
|
|
18
|
-
EndpointsEnum["WSFEV1"] = "https://servicios1.afip.gov.ar/wsfev1/service.asmx";
|
|
19
|
-
EndpointsEnum["WSFEV1_TEST"] = "https://wswhomo.afip.gov.ar/wsfev1/service.asmx";
|
|
20
|
-
/**
|
|
21
|
-
* WS Constancia inscripción
|
|
22
|
-
**/
|
|
23
|
-
EndpointsEnum["WSSR_INSCRIPTION_PROOF"] = "https://aws.afip.gov.ar/sr-padron/webservices/personaServiceA5";
|
|
24
|
-
EndpointsEnum["WSSR_INSCRIPTION_PROOF_TEST"] = "https://awshomo.afip.gov.ar/sr-padron/webservices/personaServiceA5";
|
|
25
|
-
/**
|
|
26
|
-
* WS Padron 4
|
|
27
|
-
**/
|
|
28
|
-
EndpointsEnum["WSSR_PADRON_FOUR"] = "https://aws.afip.gov.ar/sr-padron/webservices/personaServiceA4";
|
|
29
|
-
EndpointsEnum["WSSR_PADRON_FOUR_TEST"] = "https://awshomo.afip.gov.ar/sr-padron/webservices/personaServiceA4";
|
|
30
|
-
/**
|
|
31
|
-
* WS Padron 5
|
|
32
|
-
**/
|
|
33
|
-
EndpointsEnum["WSSR_PADRON_FIVE"] = "https://aws.afip.gov.ar/sr-padron/webservices/personaServiceA5";
|
|
34
|
-
EndpointsEnum["WSSR_PADRON_FIVE_TEST"] = "https://awshomo.afip.gov.ar/sr-padron/webservices/personaServiceA5";
|
|
35
|
-
/**
|
|
36
|
-
* WS Padron 10
|
|
37
|
-
**/
|
|
38
|
-
EndpointsEnum["WSSR_PADRON_TEN"] = "https://aws.afip.gov.ar/sr-padron/webservices/personaServiceA10";
|
|
39
|
-
EndpointsEnum["WSSR_PADRON_TEN_TEST"] = "https://awshomo.afip.gov.ar/sr-padron/webservices/personaServiceA10";
|
|
40
|
-
/**
|
|
41
|
-
* WS Padron 13
|
|
42
|
-
**/
|
|
43
|
-
EndpointsEnum["WSSR_PADRON_THIRTEEN"] = "https://aws.afip.gov.ar/sr-padron/webservices/personaServiceA13";
|
|
44
|
-
EndpointsEnum["WSSR_PADRON_THIRTEEN_TEST"] = "https://awshomo.afip.gov.ar/sr-padron/webservices/personaServiceA13";
|
|
45
|
-
})(EndpointsEnum || (exports.EndpointsEnum = EndpointsEnum = {}));
|
|
46
|
-
/**
|
|
47
|
-
* SOAP Service Version Enum
|
|
48
|
-
* Versions of SOAP services
|
|
49
|
-
*/
|
|
50
|
-
var SoapServiceVersion;
|
|
51
|
-
(function (SoapServiceVersion) {
|
|
52
|
-
/** Version 1.2 */
|
|
53
|
-
SoapServiceVersion["ServiceSoap12"] = "ServiceSoap12";
|
|
54
|
-
/** Common version */
|
|
55
|
-
SoapServiceVersion["ServiceSoap"] = "ServiceSoap";
|
|
56
|
-
})(SoapServiceVersion || (exports.SoapServiceVersion = SoapServiceVersion = {}));
|
|
57
|
-
//# sourceMappingURL=endpoints.enum.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"endpoints.enum.js","sourceRoot":"","sources":["../../../../../../src/infrastructure/outbound/ports/soap/enums/endpoints.enum.ts"],"names":[],"mappings":";;;AAAA;;;GAGG;AACH,IAAY,aA0CX;AA1CD,WAAY,aAAa;IACvB;;QAEI;IACJ,uEAAsD,CAAA;IACtD,gFAA+D,CAAA;IAE/D;;QAEI;IACJ,8EAA6D,CAAA;IAC7D,gFAA+D,CAAA;IAE/D;;QAEI;IACJ,0GAAyF,CAAA;IACzF,mHAAkG,CAAA;IAElG;;QAEI;IACJ,oGAAmF,CAAA;IACnF,6GAA4F,CAAA;IAE5F;;QAEI;IACJ,oGAAmF,CAAA;IACnF,6GAA4F,CAAA;IAE5F;;QAEI;IACJ,oGAAmF,CAAA;IACnF,6GAA4F,CAAA;IAE5F;;QAEI;IACJ,yGAAwF,CAAA;IACxF,kHAAiG,CAAA;AACnG,CAAC,EA1CW,aAAa,6BAAb,aAAa,QA0CxB;AAED;;;GAGG;AACH,IAAY,kBAKX;AALD,WAAY,kBAAkB;IAC5B,kBAAkB;IAClB,qDAA+B,CAAA;IAC/B,qBAAqB;IACrB,iDAA2B,CAAA;AAC7B,CAAC,EALW,kBAAkB,kCAAlB,kBAAkB,QAK7B"}
|
|
@@ -1,24 +0,0 @@
|
|
|
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
|
-
/**
|
|
18
|
-
* SOAP Enums
|
|
19
|
-
* Exports all SOAP-related enums
|
|
20
|
-
*/
|
|
21
|
-
__exportStar(require("./service-names.enum"), exports);
|
|
22
|
-
__exportStar(require("./wsdl-path.enum"), exports);
|
|
23
|
-
__exportStar(require("./endpoints.enum"), exports);
|
|
24
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/infrastructure/outbound/ports/soap/enums/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA;;;GAGG;AACH,uDAAqC;AACrC,mDAAiC;AACjC,mDAAiC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export declare enum ServiceNamesEnum {
|
|
2
|
-
FE_DUMMY = "FEDummy",
|
|
3
|
-
WSFE = "wsfe",
|
|
4
|
-
WSSR_INSCRIPTION_PROOF = "ws_sr_constancia_inscripcion",
|
|
5
|
-
WSSR_PADRON_FOUR = "ws_sr_padron_a4",
|
|
6
|
-
WSSR_PADRON_FIVE = "ws_sr_padron_a5",
|
|
7
|
-
WSSR_PADRON_TEN = "ws_sr_padron_a10",
|
|
8
|
-
WSSR_PADRON_THIRTEEN = "ws_sr_padron_a13"
|
|
9
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ServiceNamesEnum = void 0;
|
|
4
|
-
var ServiceNamesEnum;
|
|
5
|
-
(function (ServiceNamesEnum) {
|
|
6
|
-
ServiceNamesEnum["FE_DUMMY"] = "FEDummy";
|
|
7
|
-
ServiceNamesEnum["WSFE"] = "wsfe";
|
|
8
|
-
ServiceNamesEnum["WSSR_INSCRIPTION_PROOF"] = "ws_sr_constancia_inscripcion";
|
|
9
|
-
ServiceNamesEnum["WSSR_PADRON_FOUR"] = "ws_sr_padron_a4";
|
|
10
|
-
ServiceNamesEnum["WSSR_PADRON_FIVE"] = "ws_sr_padron_a5";
|
|
11
|
-
ServiceNamesEnum["WSSR_PADRON_TEN"] = "ws_sr_padron_a10";
|
|
12
|
-
ServiceNamesEnum["WSSR_PADRON_THIRTEEN"] = "ws_sr_padron_a13";
|
|
13
|
-
})(ServiceNamesEnum || (exports.ServiceNamesEnum = ServiceNamesEnum = {}));
|
|
14
|
-
//# sourceMappingURL=service-names.enum.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"service-names.enum.js","sourceRoot":"","sources":["../../../../../../src/infrastructure/outbound/ports/soap/enums/service-names.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,gBAQX;AARD,WAAY,gBAAgB;IAC1B,wCAAoB,CAAA;IACpB,iCAAa,CAAA;IACb,2EAAuD,CAAA;IACvD,wDAAoC,CAAA;IACpC,wDAAoC,CAAA;IACpC,wDAAoC,CAAA;IACpC,6DAAyC,CAAA;AAC3C,CAAC,EARW,gBAAgB,gCAAhB,gBAAgB,QAQ3B"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export declare enum WsdlPathEnum {
|
|
2
|
-
WSAA = "wsaa.wsdl",
|
|
3
|
-
WSFE = "wsfe-production.wsdl",
|
|
4
|
-
WSFE_TEST = "wsfe.wsdl",
|
|
5
|
-
WSSR_INSCRIPTION_PROOF = "ws_sr_inscription_proof-production.wsdl",
|
|
6
|
-
WSSR_INSCRIPTION_PROOF_TEST = "ws_sr_inscription_proof.wsdl",
|
|
7
|
-
WSSR_PADRON_FOUR = "ws_sr_padron_a4-production.wsdl",
|
|
8
|
-
WSSR_PADRON_FOUR_TEST = "ws_sr_padron_a4.wsdl",
|
|
9
|
-
WSSR_PADRON_FIVE = "ws_sr_padron_a5-production.wsdl",
|
|
10
|
-
WSSR_PADRON_FIVE_TEST = "ws_sr_padron_a5.wsdl",
|
|
11
|
-
WSSR_PADRON_TEN = "ws_sr_padron_a10-production.wsdl",
|
|
12
|
-
WSSR_PADRON_TEN_TEST = "ws_sr_padron_a10.wsdl",
|
|
13
|
-
WSSR_PADRON_THIRTEEN = "ws_sr_padron_a13-production.wsdl",
|
|
14
|
-
WSSR_PADRON_THIRTEEN_TEST = "ws_sr_padron_a13.wsdl"
|
|
15
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.WsdlPathEnum = void 0;
|
|
4
|
-
var WsdlPathEnum;
|
|
5
|
-
(function (WsdlPathEnum) {
|
|
6
|
-
WsdlPathEnum["WSAA"] = "wsaa.wsdl";
|
|
7
|
-
WsdlPathEnum["WSFE"] = "wsfe-production.wsdl";
|
|
8
|
-
WsdlPathEnum["WSFE_TEST"] = "wsfe.wsdl";
|
|
9
|
-
WsdlPathEnum["WSSR_INSCRIPTION_PROOF"] = "ws_sr_inscription_proof-production.wsdl";
|
|
10
|
-
WsdlPathEnum["WSSR_INSCRIPTION_PROOF_TEST"] = "ws_sr_inscription_proof.wsdl";
|
|
11
|
-
WsdlPathEnum["WSSR_PADRON_FOUR"] = "ws_sr_padron_a4-production.wsdl";
|
|
12
|
-
WsdlPathEnum["WSSR_PADRON_FOUR_TEST"] = "ws_sr_padron_a4.wsdl";
|
|
13
|
-
WsdlPathEnum["WSSR_PADRON_FIVE"] = "ws_sr_padron_a5-production.wsdl";
|
|
14
|
-
WsdlPathEnum["WSSR_PADRON_FIVE_TEST"] = "ws_sr_padron_a5.wsdl";
|
|
15
|
-
WsdlPathEnum["WSSR_PADRON_TEN"] = "ws_sr_padron_a10-production.wsdl";
|
|
16
|
-
WsdlPathEnum["WSSR_PADRON_TEN_TEST"] = "ws_sr_padron_a10.wsdl";
|
|
17
|
-
WsdlPathEnum["WSSR_PADRON_THIRTEEN"] = "ws_sr_padron_a13-production.wsdl";
|
|
18
|
-
WsdlPathEnum["WSSR_PADRON_THIRTEEN_TEST"] = "ws_sr_padron_a13.wsdl";
|
|
19
|
-
})(WsdlPathEnum || (exports.WsdlPathEnum = WsdlPathEnum = {}));
|
|
20
|
-
//# sourceMappingURL=wsdl-path.enum.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"wsdl-path.enum.js","sourceRoot":"","sources":["../../../../../../src/infrastructure/outbound/ports/soap/enums/wsdl-path.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,YAoBX;AApBD,WAAY,YAAY;IACtB,kCAAkB,CAAA;IAElB,6CAA6B,CAAA;IAC7B,uCAAuB,CAAA;IAEvB,kFAAkE,CAAA;IAClE,4EAA4D,CAAA;IAE5D,oEAAoD,CAAA;IACpD,8DAA8C,CAAA;IAE9C,oEAAoD,CAAA;IACpD,8DAA8C,CAAA;IAE9C,oEAAoD,CAAA;IACpD,8DAA8C,CAAA;IAE9C,yEAAyD,CAAA;IACzD,mEAAmD,CAAA;AACrD,CAAC,EApBW,YAAY,4BAAZ,YAAY,QAoBvB"}
|
|
@@ -1,24 +0,0 @@
|
|
|
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
|
-
/**
|
|
18
|
-
* SOAP Ports
|
|
19
|
-
* Exports all SOAP-related ports, interfaces, and enums
|
|
20
|
-
*/
|
|
21
|
-
__exportStar(require("./soap-client.port"), exports);
|
|
22
|
-
__exportStar(require("./interfaces"), exports);
|
|
23
|
-
__exportStar(require("./enums"), exports);
|
|
24
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/infrastructure/outbound/ports/soap/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA;;;GAGG;AACH,qDAAmC;AACnC,+CAA6B;AAC7B,0CAAwB"}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { Client } from "soap";
|
|
2
|
-
export interface IloginCmsInput {
|
|
3
|
-
/** xsd:string(undefined) */
|
|
4
|
-
in0: string;
|
|
5
|
-
}
|
|
6
|
-
export interface IloginCmsOutput {
|
|
7
|
-
/** xsd:string(undefined) */
|
|
8
|
-
loginCmsReturn: string;
|
|
9
|
-
}
|
|
10
|
-
export interface LoginTicketResponse {
|
|
11
|
-
loginticketresponse: ILoginCmsReturn;
|
|
12
|
-
}
|
|
13
|
-
export interface ILoginCmsReturn {
|
|
14
|
-
header: ILoginCmsReturnHeaders;
|
|
15
|
-
credentials: ILoginCmsReturnCredentials;
|
|
16
|
-
}
|
|
17
|
-
export interface ILoginCmsReturnHeaderVersion {
|
|
18
|
-
version: string;
|
|
19
|
-
}
|
|
20
|
-
export interface ILoginCmsReturnHeaderData {
|
|
21
|
-
source: string;
|
|
22
|
-
destination: string;
|
|
23
|
-
uniqueid: string;
|
|
24
|
-
generationtime: string;
|
|
25
|
-
expirationtime: string;
|
|
26
|
-
}
|
|
27
|
-
export interface ILoginCmsReturnHeaders {
|
|
28
|
-
[0]: ILoginCmsReturnHeaderVersion;
|
|
29
|
-
[1]: ILoginCmsReturnHeaderData;
|
|
30
|
-
}
|
|
31
|
-
export interface ILoginCmsReturnCredentials {
|
|
32
|
-
token: string;
|
|
33
|
-
sign: string;
|
|
34
|
-
}
|
|
35
|
-
export interface ILoginCmsSoap extends Client {
|
|
36
|
-
loginCms: (input: IloginCmsInput, cb: (err: any | null, result: IloginCmsOutput, raw: string, soapHeader: {
|
|
37
|
-
[k: string]: any;
|
|
38
|
-
}) => any, options?: any, extraHeaders?: any) => void;
|
|
39
|
-
loginCmsAsync: (input: IloginCmsInput, options?: any, extraHeaders?: any) => Promise<[IloginCmsOutput, string, {
|
|
40
|
-
[k: string]: any;
|
|
41
|
-
}, string]>;
|
|
42
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"LoginCms.js","sourceRoot":"","sources":["../../../../../../../src/infrastructure/outbound/ports/soap/interfaces/LoginCMSService/LoginCms.ts"],"names":[],"mappings":""}
|