@arcasdk/core 0.3.3 → 0.3.5

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.
Files changed (102) hide show
  1. package/lib/application/dto/electronic-billing.dto.d.ts +1 -1
  2. package/lib/application/ports/authentication/authentication-repository.port.d.ts +2 -2
  3. package/lib/application/ports/electronic-billing/electronic-billing-repository.port.d.ts +3 -3
  4. package/lib/application/ports/register/register-repository.ports.d.ts +1 -1
  5. package/lib/application/services/electronic-billing.service.d.ts +4 -4
  6. package/lib/application/services/electronic-billing.service.js +23 -23
  7. package/lib/application/services/generic.service.d.ts +1 -1
  8. package/lib/application/services/register-inscription-proof.service.d.ts +2 -2
  9. package/lib/application/services/register-inscription-proof.service.js +3 -3
  10. package/lib/application/services/register-scope-five.service.d.ts +2 -2
  11. package/lib/application/services/register-scope-five.service.js +3 -3
  12. package/lib/application/services/register-scope-four.service.d.ts +2 -2
  13. package/lib/application/services/register-scope-four.service.js +2 -2
  14. package/lib/application/services/register-scope-ten.service.d.ts +2 -2
  15. package/lib/application/services/register-scope-ten.service.js +2 -2
  16. package/lib/application/services/register-scope-thirteen.service.d.ts +2 -2
  17. package/lib/application/services/register-scope-thirteen.service.js +3 -3
  18. package/lib/application/types/context.types.d.ts +1 -1
  19. package/lib/application/types/result.types.d.ts +1 -1
  20. package/lib/application/types/use-case-inputs.types.d.ts +1 -1
  21. package/lib/application/use-cases/authentication/get-auth-params.use-case.d.ts +2 -2
  22. package/lib/application/use-cases/authentication/login.use-case.d.ts +2 -2
  23. package/lib/application/use-cases/authentication/request-login.use-case.d.ts +2 -2
  24. package/lib/application/use-cases/electronic-billing/consult-caea-no-movement.use-case.d.ts +2 -2
  25. package/lib/application/use-cases/electronic-billing/consult-caea.use-case.d.ts +2 -2
  26. package/lib/application/use-cases/electronic-billing/create-next-voucher.use-case.d.ts +3 -3
  27. package/lib/application/use-cases/electronic-billing/create-next-voucher.use-case.js +1 -1
  28. package/lib/application/use-cases/electronic-billing/create-voucher.use-case.d.ts +3 -3
  29. package/lib/application/use-cases/electronic-billing/create-voucher.use-case.js +1 -1
  30. package/lib/application/use-cases/electronic-billing/get-activities.use-case.d.ts +2 -2
  31. package/lib/application/use-cases/electronic-billing/get-aliquot-types.use-case.d.ts +2 -2
  32. package/lib/application/use-cases/electronic-billing/get-caea.use-case.d.ts +2 -2
  33. package/lib/application/use-cases/electronic-billing/get-concept-types.use-case.d.ts +2 -2
  34. package/lib/application/use-cases/electronic-billing/get-countries.use-case.d.ts +2 -2
  35. package/lib/application/use-cases/electronic-billing/get-currency-types.use-case.d.ts +2 -2
  36. package/lib/application/use-cases/electronic-billing/get-document-types.use-case.d.ts +2 -2
  37. package/lib/application/use-cases/electronic-billing/get-iva-receptor-types.use-case.d.ts +2 -2
  38. package/lib/application/use-cases/electronic-billing/get-last-voucher.use-case.d.ts +3 -3
  39. package/lib/application/use-cases/electronic-billing/get-max-records.use-case.d.ts +2 -2
  40. package/lib/application/use-cases/electronic-billing/get-optional-types.use-case.d.ts +2 -2
  41. package/lib/application/use-cases/electronic-billing/get-parameter-types.use-case.d.ts +2 -2
  42. package/lib/application/use-cases/electronic-billing/get-quotation.use-case.d.ts +2 -2
  43. package/lib/application/use-cases/electronic-billing/get-sales-points.use-case.d.ts +2 -2
  44. package/lib/application/use-cases/electronic-billing/get-server-status.use-case.d.ts +2 -2
  45. package/lib/application/use-cases/electronic-billing/get-tax-types.use-case.d.ts +2 -2
  46. package/lib/application/use-cases/electronic-billing/get-voucher-info.use-case.d.ts +3 -3
  47. package/lib/application/use-cases/electronic-billing/get-voucher-types.use-case.d.ts +2 -2
  48. package/lib/application/use-cases/electronic-billing/inform-caea-no-movement.use-case.d.ts +2 -2
  49. package/lib/application/use-cases/electronic-billing/inform-caea-usage.use-case.d.ts +3 -3
  50. package/lib/application/use-cases/electronic-billing/inform-caea-usage.use-case.js +1 -1
  51. package/lib/application/use-cases/register/get-register-server-status.use-case.d.ts +2 -2
  52. package/lib/application/use-cases/register/get-tax-id-by-document.use-case.d.ts +2 -2
  53. package/lib/application/use-cases/register/get-taxpayer-details.use-case.d.ts +2 -2
  54. package/lib/application/use-cases/register/get-taxpayers-details.use-case.d.ts +2 -2
  55. package/lib/domain/entities/access-ticket.entity.d.ts +2 -2
  56. package/lib/index.d.ts +4 -1
  57. package/lib/index.js +7 -3
  58. package/lib/index.js.map +1 -1
  59. package/lib/{arca.d.ts → infrastructure/inbound/adapters/arca.d.ts} +8 -8
  60. package/lib/{arca.js → infrastructure/inbound/adapters/arca.js} +18 -19
  61. package/lib/infrastructure/inbound/adapters/arca.js.map +1 -0
  62. package/lib/infrastructure/outbound/adapters/auth/afip-auth.repository.d.ts +6 -6
  63. package/lib/infrastructure/outbound/adapters/auth/afip-auth.repository.js +5 -5
  64. package/lib/infrastructure/outbound/adapters/auth/auth.repository.d.ts +4 -4
  65. package/lib/infrastructure/outbound/adapters/auth/auth.repository.js +5 -5
  66. package/lib/infrastructure/outbound/adapters/electronic-billing/electronic-billing-repository.d.ts +5 -5
  67. package/lib/infrastructure/outbound/adapters/electronic-billing/electronic-billing-repository.js +4 -4
  68. package/lib/infrastructure/outbound/adapters/generic/generic-repository.d.ts +2 -2
  69. package/lib/infrastructure/outbound/adapters/generic/generic-repository.js +1 -1
  70. package/lib/infrastructure/outbound/adapters/logger/winston-logger.d.ts +2 -2
  71. package/lib/infrastructure/outbound/adapters/logger/winston-logger.js +1 -1
  72. package/lib/infrastructure/outbound/adapters/register/register-inscription-proof.repository.d.ts +3 -3
  73. package/lib/infrastructure/outbound/adapters/register/register-inscription-proof.repository.js +3 -3
  74. package/lib/infrastructure/outbound/adapters/register/register-scope-five.repository.d.ts +3 -3
  75. package/lib/infrastructure/outbound/adapters/register/register-scope-five.repository.js +3 -3
  76. package/lib/infrastructure/outbound/adapters/register/register-scope-four.repository.d.ts +3 -3
  77. package/lib/infrastructure/outbound/adapters/register/register-scope-four.repository.js +3 -3
  78. package/lib/infrastructure/outbound/adapters/register/register-scope-ten.repository.d.ts +3 -3
  79. package/lib/infrastructure/outbound/adapters/register/register-scope-ten.repository.js +3 -3
  80. package/lib/infrastructure/outbound/adapters/register/register-scope-thirteen.repository.d.ts +3 -3
  81. package/lib/infrastructure/outbound/adapters/register/register-scope-thirteen.repository.js +3 -3
  82. package/lib/infrastructure/outbound/adapters/soap/base-soap-repository.d.ts +4 -4
  83. package/lib/infrastructure/outbound/adapters/soap/base-soap-repository.js +1 -1
  84. package/lib/infrastructure/outbound/adapters/soap/soap-client.d.ts +1 -1
  85. package/lib/infrastructure/outbound/adapters/soap/soap-client.js +1 -1
  86. package/lib/infrastructure/outbound/adapters/storage/file-system-ticket-storage.d.ts +3 -3
  87. package/lib/infrastructure/outbound/adapters/storage/file-system-ticket-storage.js +1 -1
  88. package/lib/infrastructure/outbound/ports/auth/auth-repository.types.d.ts +1 -1
  89. package/lib/infrastructure/outbound/ports/soap/interfaces/PersonaServiceA10/PersonaServiceA10Port.d.ts +1 -1
  90. package/lib/infrastructure/outbound/ports/soap/interfaces/PersonaServiceA13/PersonaServiceA13Port.d.ts +1 -1
  91. package/lib/infrastructure/outbound/ports/soap/interfaces/PersonaServiceA4/PersonaServiceA4Port.d.ts +1 -1
  92. package/lib/infrastructure/outbound/ports/soap/interfaces/PersonaServiceA5/PersonaServiceA5Port.d.ts +1 -1
  93. package/lib/infrastructure/outbound/ports/soap/interfaces/PersonaServiceInscriptionProof/PersonaServiceInscriptionProofPort.d.ts +1 -1
  94. package/lib/infrastructure/outbound/ports/soap/interfaces/Service/ServiceSoap12.d.ts +1 -1
  95. package/lib/infrastructure/outbound/ports/soap/interfaces/index.d.ts +1 -1
  96. package/lib/infrastructure/outbound/ports/soap/interfaces/index.js +1 -1
  97. package/lib/infrastructure/outbound/ports/soap/soap-repository.types.d.ts +1 -1
  98. package/lib/infrastructure/outbound/ports/storage/ticket-storage.port.d.ts +1 -1
  99. package/lib/infrastructure/types/soap.types.d.ts +3 -3
  100. package/lib/infrastructure/utils/soap-to-dto.mapper.d.ts +1 -1
  101. package/package.json +3 -2
  102. package/lib/arca.js.map +0 -1
@@ -2,8 +2,8 @@
2
2
  * Get Tax Types Use Case
3
3
  * Retrieves available tax types from AFIP/ARCA
4
4
  */
5
- import { IElectronicBillingRepositoryPort } from "@application/ports/electronic-billing/electronic-billing-repository.port";
6
- import { TaxTypesResultDto } from "@application/dto/electronic-billing.dto";
5
+ import { IElectronicBillingRepositoryPort } from "../../ports/electronic-billing/electronic-billing-repository.port";
6
+ import { TaxTypesResultDto } from "../../dto/electronic-billing.dto";
7
7
  export declare class GetTaxTypesUseCase {
8
8
  private readonly electronicBillingRepository;
9
9
  constructor(electronicBillingRepository: IElectronicBillingRepositoryPort);
@@ -2,9 +2,9 @@
2
2
  * Get Voucher Info Use Case
3
3
  * Retrieves information about a specific voucher
4
4
  */
5
- import { IElectronicBillingRepositoryPort } from "@application/ports/electronic-billing/electronic-billing-repository.port";
6
- import { VoucherInfoResultDto } from "@application/dto/electronic-billing.dto";
7
- import { GetVoucherInfoInput } from "@application/types";
5
+ import { IElectronicBillingRepositoryPort } from "../../ports/electronic-billing/electronic-billing-repository.port";
6
+ import { VoucherInfoResultDto } from "../../dto/electronic-billing.dto";
7
+ import { GetVoucherInfoInput } from "../../types";
8
8
  export declare class GetVoucherInfoUseCase {
9
9
  private readonly electronicBillingRepository;
10
10
  constructor(electronicBillingRepository: IElectronicBillingRepositoryPort);
@@ -2,8 +2,8 @@
2
2
  * Get Voucher Types Use Case
3
3
  * Retrieves available voucher types from AFIP/ARCA
4
4
  */
5
- import { IElectronicBillingRepositoryPort } from "@application/ports/electronic-billing/electronic-billing-repository.port";
6
- import { VoucherTypesResultDto } from "@application/dto/electronic-billing.dto";
5
+ import { IElectronicBillingRepositoryPort } from "../../ports/electronic-billing/electronic-billing-repository.port";
6
+ import { VoucherTypesResultDto } from "../../dto/electronic-billing.dto";
7
7
  export declare class GetVoucherTypesUseCase {
8
8
  private readonly electronicBillingRepository;
9
9
  constructor(electronicBillingRepository: IElectronicBillingRepositoryPort);
@@ -2,8 +2,8 @@
2
2
  * Inform CAEA No Movement Use Case
3
3
  * Informs that a CAEA had no movements
4
4
  */
5
- import { IElectronicBillingRepositoryPort } from "@application/ports/electronic-billing/electronic-billing-repository.port";
6
- import { CaeaNoMovementResultDto } from "@application/dto/electronic-billing.dto";
5
+ import { IElectronicBillingRepositoryPort } from "../../ports/electronic-billing/electronic-billing-repository.port";
6
+ import { CaeaNoMovementResultDto } from "../../dto/electronic-billing.dto";
7
7
  export declare class InformCaeaNoMovementUseCase {
8
8
  private readonly electronicBillingRepository;
9
9
  constructor(electronicBillingRepository: IElectronicBillingRepositoryPort);
@@ -1,6 +1,6 @@
1
- import { IVoucher } from "@domain/types/voucher.types";
2
- import { IElectronicBillingRepositoryPort } from "@application/ports/electronic-billing/electronic-billing-repository.port";
3
- import { CaeaUsageResultDto } from "@application/dto/electronic-billing.dto";
1
+ import { IVoucher } from "../../../domain/types/voucher.types";
2
+ import { IElectronicBillingRepositoryPort } from "../../ports/electronic-billing/electronic-billing-repository.port";
3
+ import { CaeaUsageResultDto } from "../../dto/electronic-billing.dto";
4
4
  export declare class InformCaeaUsageUseCase {
5
5
  private readonly electronicBillingRepository;
6
6
  constructor(electronicBillingRepository: IElectronicBillingRepositoryPort);
@@ -10,7 +10,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.InformCaeaUsageUseCase = void 0;
13
- const voucher_entity_1 = require("@domain/entities/voucher.entity");
13
+ const voucher_entity_1 = require("../../../domain/entities/voucher.entity");
14
14
  class InformCaeaUsageUseCase {
15
15
  constructor(electronicBillingRepository) {
16
16
  this.electronicBillingRepository = electronicBillingRepository;
@@ -2,8 +2,8 @@
2
2
  * Get Register Server Status Use Case
3
3
  * Retrieves the status of the register servers
4
4
  */
5
- import { IRegisterBaseRepositoryPort } from "@application/ports/register/register-repository.ports";
6
- import { RegisterServerStatusDto } from "@application/dto/register.dto";
5
+ import { IRegisterBaseRepositoryPort } from "../../ports/register/register-repository.ports";
6
+ import { RegisterServerStatusDto } from "../../dto/register.dto";
7
7
  export declare class GetRegisterServerStatusUseCase {
8
8
  private readonly repository;
9
9
  constructor(repository: IRegisterBaseRepositoryPort);
@@ -2,8 +2,8 @@
2
2
  * Get Tax ID By Document Use Case
3
3
  * Retrieves Tax ID (CUIT) by document number (Scope 13)
4
4
  */
5
- import { IRegisterScopeThirteenRepositoryPort } from "@application/ports/register/register-repository.ports";
6
- import { TaxIDByDocumentResultDto } from "@application/dto/register.dto";
5
+ import { IRegisterScopeThirteenRepositoryPort } from "../../ports/register/register-repository.ports";
6
+ import { TaxIDByDocumentResultDto } from "../../dto/register.dto";
7
7
  export declare class GetTaxIDByDocumentUseCase {
8
8
  private readonly repository;
9
9
  constructor(repository: IRegisterScopeThirteenRepositoryPort);
@@ -2,8 +2,8 @@
2
2
  * Get Taxpayer Details Use Case
3
3
  * Retrieves details for a specific taxpayer
4
4
  */
5
- import { IRegisterBaseRepositoryPort } from "@application/ports/register/register-repository.ports";
6
- import { TaxpayerDetailsDto } from "@application/dto/register.dto";
5
+ import { IRegisterBaseRepositoryPort } from "../../ports/register/register-repository.ports";
6
+ import { TaxpayerDetailsDto } from "../../dto/register.dto";
7
7
  export declare class GetTaxpayerDetailsUseCase {
8
8
  private readonly repository;
9
9
  constructor(repository: IRegisterBaseRepositoryPort);
@@ -2,8 +2,8 @@
2
2
  * Get Taxpayers Details Use Case
3
3
  * Retrieves details for multiple taxpayers
4
4
  */
5
- import { IRegisterBatchRepositoryPort } from "@application/ports/register/register-repository.ports";
6
- import { TaxpayersDetailsDto } from "@application/dto/register.dto";
5
+ import { IRegisterBatchRepositoryPort } from "../../ports/register/register-repository.ports";
6
+ import { TaxpayersDetailsDto } from "../../dto/register.dto";
7
7
  export declare class GetTaxpayersDetailsUseCase {
8
8
  private readonly repository;
9
9
  constructor(repository: IRegisterBatchRepositoryPort);
@@ -1,5 +1,5 @@
1
- import { ILoginCmsReturnHeaders, ILoginCmsReturnCredentials } from "@infrastructure/outbound/ports/soap/interfaces/LoginCMSService/LoginCms";
2
- import { WSAuthParam } from "@application/types";
1
+ import { ILoginCmsReturnHeaders, ILoginCmsReturnCredentials } from "../../infrastructure/outbound/ports/soap/interfaces/LoginCMSService/LoginCms";
2
+ import { WSAuthParam } from "../../application/types";
3
3
  export type { WSAuthParam };
4
4
  export interface ILoginCredentials {
5
5
  header: ILoginCmsReturnHeaders;
package/lib/index.d.ts CHANGED
@@ -2,7 +2,10 @@
2
2
  * ARCA SDK - Main Entry Point
3
3
  * Exports the main facade class and public types
4
4
  */
5
- export { Arca } from "./arca";
6
5
  export * from "./application";
7
6
  export * from "./domain";
8
7
  export * from "./infrastructure";
8
+ export { Arca } from "./infrastructure/inbound/adapters/arca";
9
+ export { FileSystemTicketStorage } from "./infrastructure/outbound/adapters/storage/file-system-ticket-storage";
10
+ export { AuthRepository } from "./infrastructure/outbound/adapters/auth/auth.repository";
11
+ export { Context } from "./application/types";
package/lib/index.js CHANGED
@@ -14,14 +14,18 @@ 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
- exports.Arca = void 0;
17
+ exports.AuthRepository = exports.FileSystemTicketStorage = exports.Arca = void 0;
18
18
  /**
19
19
  * ARCA SDK - Main Entry Point
20
20
  * Exports the main facade class and public types
21
21
  */
22
- var arca_1 = require("./arca");
23
- Object.defineProperty(exports, "Arca", { enumerable: true, get: function () { return arca_1.Arca; } });
24
22
  __exportStar(require("./application"), exports);
25
23
  __exportStar(require("./domain"), exports);
26
24
  __exportStar(require("./infrastructure"), exports);
25
+ var arca_1 = require("./infrastructure/inbound/adapters/arca");
26
+ Object.defineProperty(exports, "Arca", { enumerable: true, get: function () { return arca_1.Arca; } });
27
+ var file_system_ticket_storage_1 = require("./infrastructure/outbound/adapters/storage/file-system-ticket-storage");
28
+ Object.defineProperty(exports, "FileSystemTicketStorage", { enumerable: true, get: function () { return file_system_ticket_storage_1.FileSystemTicketStorage; } });
29
+ var auth_repository_1 = require("./infrastructure/outbound/adapters/auth/auth.repository");
30
+ Object.defineProperty(exports, "AuthRepository", { enumerable: true, get: function () { return auth_repository_1.AuthRepository; } });
27
31
  //# sourceMappingURL=index.js.map
package/lib/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA;;;GAGG;AACH,+BAA8B;AAArB,4FAAA,IAAI,OAAA;AACb,gDAA8B;AAC9B,2CAAyB;AACzB,mDAAiC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA;;;GAGG;AACH,gDAA8B;AAC9B,2CAAyB;AACzB,mDAAiC;AAEjC,+DAA8D;AAArD,4FAAA,IAAI,OAAA;AACb,oHAAgH;AAAvG,qIAAA,uBAAuB,OAAA;AAChC,2FAAyF;AAAhF,iHAAA,cAAc,OAAA"}
@@ -1,11 +1,11 @@
1
- import { Context } from "@application/types";
2
- import { ElectronicBillingService } from "@application/services/electronic-billing.service";
3
- import { RegisterScopeFourService } from "@application/services/register-scope-four.service";
4
- import { RegisterScopeFiveService } from "@application/services/register-scope-five.service";
5
- import { RegisterScopeTenService } from "@application/services/register-scope-ten.service";
6
- import { RegisterScopeThirteenService } from "@application/services/register-scope-thirteen.service";
7
- import { RegisterInscriptionProofService } from "@application/services/register-inscription-proof.service";
8
- import { GenericService } from "@application/services/generic.service";
1
+ import { Context } from "../../../application/types";
2
+ import { ElectronicBillingService } from "../../../application/services/electronic-billing.service";
3
+ import { RegisterScopeFourService } from "../../../application/services/register-scope-four.service";
4
+ import { RegisterScopeFiveService } from "../../../application/services/register-scope-five.service";
5
+ import { RegisterScopeTenService } from "../../../application/services/register-scope-ten.service";
6
+ import { RegisterScopeThirteenService } from "../../../application/services/register-scope-thirteen.service";
7
+ import { RegisterInscriptionProofService } from "../../../application/services/register-inscription-proof.service";
8
+ import { GenericService } from "../../../application/services/generic.service";
9
9
  export declare class Arca {
10
10
  private readonly _electronicBillingService;
11
11
  private readonly _registerInscriptionProofService;
@@ -7,28 +7,27 @@ exports.Arca = void 0;
7
7
  * Orchestrates all services and adapters using hexagonal architecture
8
8
  */
9
9
  const path_1 = require("path");
10
- const file_system_ticket_storage_1 = require("@infrastructure/outbound/adapters/storage/file-system-ticket-storage");
11
- const auth_repository_1 = require("@infrastructure/outbound/adapters/auth/auth.repository");
12
- const winston_logger_1 = require("@infrastructure/outbound/adapters/logger/winston-logger");
13
- const electronic_billing_service_1 = require("@application/services/electronic-billing.service");
14
- const register_scope_four_service_1 = require("@application/services/register-scope-four.service");
15
- const register_scope_five_service_1 = require("@application/services/register-scope-five.service");
16
- const register_scope_ten_service_1 = require("@application/services/register-scope-ten.service");
17
- const register_scope_thirteen_service_1 = require("@application/services/register-scope-thirteen.service");
18
- const register_inscription_proof_service_1 = require("@application/services/register-inscription-proof.service");
19
- const electronic_billing_repository_1 = require("@infrastructure/outbound/adapters/electronic-billing/electronic-billing-repository");
20
- const register_scope_four_repository_1 = require("@infrastructure/outbound/adapters/register/register-scope-four.repository");
21
- const register_scope_five_repository_1 = require("@infrastructure/outbound/adapters/register/register-scope-five.repository");
22
- const register_scope_ten_repository_1 = require("@infrastructure/outbound/adapters/register/register-scope-ten.repository");
23
- const register_scope_thirteen_repository_1 = require("@infrastructure/outbound/adapters/register/register-scope-thirteen.repository");
24
- const register_inscription_proof_repository_1 = require("@infrastructure/outbound/adapters/register/register-inscription-proof.repository");
25
- const generic_service_1 = require("@application/services/generic.service");
26
- const generic_repository_1 = require("@infrastructure/outbound/adapters/generic/generic-repository");
10
+ const file_system_ticket_storage_1 = require("../../outbound/adapters/storage/file-system-ticket-storage");
11
+ const auth_repository_1 = require("../../outbound/adapters/auth/auth.repository");
12
+ const winston_logger_1 = require("../../outbound/adapters/logger/winston-logger");
13
+ const electronic_billing_service_1 = require("../../../application/services/electronic-billing.service");
14
+ const register_scope_four_service_1 = require("../../../application/services/register-scope-four.service");
15
+ const register_scope_five_service_1 = require("../../../application/services/register-scope-five.service");
16
+ const register_scope_ten_service_1 = require("../../../application/services/register-scope-ten.service");
17
+ const register_scope_thirteen_service_1 = require("../../../application/services/register-scope-thirteen.service");
18
+ const register_inscription_proof_service_1 = require("../../../application/services/register-inscription-proof.service");
19
+ const electronic_billing_repository_1 = require("../../outbound/adapters/electronic-billing/electronic-billing-repository");
20
+ const register_scope_four_repository_1 = require("../../outbound/adapters/register/register-scope-four.repository");
21
+ const register_scope_five_repository_1 = require("../../outbound/adapters/register/register-scope-five.repository");
22
+ const register_scope_ten_repository_1 = require("../../outbound/adapters/register/register-scope-ten.repository");
23
+ const register_scope_thirteen_repository_1 = require("../../outbound/adapters/register/register-scope-thirteen.repository");
24
+ const register_inscription_proof_repository_1 = require("../../outbound/adapters/register/register-inscription-proof.repository");
25
+ const generic_service_1 = require("../../../application/services/generic.service");
26
+ const generic_repository_1 = require("../../outbound/adapters/generic/generic-repository");
27
27
  class Arca {
28
28
  constructor(context) {
29
29
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p;
30
- // Normalize context
31
- this.context = Object.assign(Object.assign({}, context), { ticketPath: (_a = context.ticketPath) !== null && _a !== void 0 ? _a : (0, path_1.resolve)(__dirname, "infrastructure", "storage", "auth", "tickets") });
30
+ this.context = Object.assign(Object.assign({}, context), { ticketPath: (_a = context.ticketPath) !== null && _a !== void 0 ? _a : (0, path_1.resolve)(__dirname, "..", "..", "storage", "auth", "tickets") });
32
31
  const ticketStorage = new file_system_ticket_storage_1.FileSystemTicketStorage({
33
32
  ticketPath: this.context.ticketPath,
34
33
  cuit: this.context.cuit,
@@ -0,0 +1 @@
1
+ {"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AC1B,OAAO,IAAI,CAAC,yBAAyB,CAAC;IACxC,CAAC;IAED,IAAI,wBAAwB;QAC1B,OAAO,IAAI,CAAC,yBAAyB,CAAC;IACxC,CAAC;IAED,IAAI,uBAAuB;QACzB,OAAO,IAAI,CAAC,wBAAwB,CAAC;IACvC,CAAC;IAED,IAAI,4BAA4B;QAC9B,OAAO,IAAI,CAAC,6BAA6B,CAAC;IAC5C,CAAC;IAED,IAAI,cAAc;QAChB,OAAO,IAAI,CAAC,eAAe,CAAC;IAC9B,CAAC;CACF;AA3ID,oBA2IC"}
@@ -2,11 +2,11 @@
2
2
  * Authentication Repository
3
3
  * Implements IAuthenticationRepositoryPort for WSAA authentication
4
4
  */
5
- import { IAuthenticationRepositoryPort } from "@application/ports/authentication/authentication-repository.port";
6
- import { ISoapClientPort } from "@infrastructure/outbound/ports/soap/soap-client.port";
7
- import { ITicketStoragePort } from "@infrastructure/outbound/ports/storage/ticket-storage.port";
8
- import { AccessTicket } from "@domain/entities/access-ticket.entity";
9
- import { WSAuthParam } from "@application/types";
5
+ import { IAuthenticationRepositoryPort } from "../../../../application/ports/authentication/authentication-repository.port";
6
+ import { ISoapClientPort } from "../../../outbound/ports/soap/soap-client.port";
7
+ import { ITicketStoragePort } from "../../../outbound/ports/storage/ticket-storage.port";
8
+ import { AccessTicket } from "../../../../domain/entities/access-ticket.entity";
9
+ import { WSAuthParam } from "../../../../application/types";
10
10
  export interface AuthRepositoryConfig {
11
11
  cert: string;
12
12
  key: string;
@@ -14,7 +14,7 @@ export interface AuthRepositoryConfig {
14
14
  production?: boolean;
15
15
  handleTicket?: boolean;
16
16
  ticketStorage?: ITicketStoragePort;
17
- credentials?: import("@domain/entities/access-ticket.entity").ILoginCredentials;
17
+ credentials?: import("../../../../domain/entities/access-ticket.entity").ILoginCredentials;
18
18
  }
19
19
  export declare class AuthRepository implements IAuthenticationRepositoryPort {
20
20
  private readonly soapClient;
@@ -10,11 +10,11 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.AuthRepository = void 0;
13
- const access_ticket_entity_1 = require("@domain/entities/access-ticket.entity");
14
- const parser_1 = require("@infrastructure/utils/parser");
15
- const crypt_data_1 = require("@infrastructure/utils/crypt-data");
16
- const wsdl_path_enum_1 = require("@infrastructure/outbound/ports/soap/enums/wsdl-path.enum");
17
- const endpoints_enum_1 = require("@infrastructure/outbound/ports/soap/enums/endpoints.enum");
13
+ const access_ticket_entity_1 = require("../../../../domain/entities/access-ticket.entity");
14
+ const parser_1 = require("../../../utils/parser");
15
+ const crypt_data_1 = require("../../../utils/crypt-data");
16
+ const wsdl_path_enum_1 = require("../../../outbound/ports/soap/enums/wsdl-path.enum");
17
+ const endpoints_enum_1 = require("../../../outbound/ports/soap/enums/endpoints.enum");
18
18
  class AuthRepository {
19
19
  constructor(soapClient, config) {
20
20
  var _a, _b;
@@ -2,10 +2,10 @@
2
2
  * Authentication Repository
3
3
  * Implements IAuthenticationRepositoryPort for WSAA authentication
4
4
  */
5
- import { IAuthenticationRepositoryPort } from "@application/ports/authentication/authentication-repository.port";
6
- import { AccessTicket } from "@domain/entities/access-ticket.entity";
7
- import { WSAuthParam } from "@application/types";
8
- import { AuthRepositoryConfig } from "@infrastructure/outbound/ports/auth/auth-repository.types";
5
+ import { IAuthenticationRepositoryPort } from "../../../../application/ports/authentication/authentication-repository.port";
6
+ import { AccessTicket } from "../../../../domain/entities/access-ticket.entity";
7
+ import { WSAuthParam } from "../../../../application/types";
8
+ import { AuthRepositoryConfig } from "../../../outbound/ports/auth/auth-repository.types";
9
9
  export declare class AuthRepository implements IAuthenticationRepositoryPort {
10
10
  private cert;
11
11
  private key;
@@ -10,11 +10,11 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.AuthRepository = void 0;
13
- const access_ticket_entity_1 = require("@domain/entities/access-ticket.entity");
14
- const parser_1 = require("@infrastructure/utils/parser");
15
- const crypt_data_1 = require("@infrastructure/utils/crypt-data");
16
- const wsdl_path_enum_1 = require("@infrastructure/outbound/ports/soap/enums/wsdl-path.enum");
17
- const endpoints_enum_1 = require("@infrastructure/outbound/ports/soap/enums/endpoints.enum");
13
+ const access_ticket_entity_1 = require("../../../../domain/entities/access-ticket.entity");
14
+ const parser_1 = require("../../../utils/parser");
15
+ const crypt_data_1 = require("../../../utils/crypt-data");
16
+ const wsdl_path_enum_1 = require("../../../outbound/ports/soap/enums/wsdl-path.enum");
17
+ const endpoints_enum_1 = require("../../../outbound/ports/soap/enums/endpoints.enum");
18
18
  const soap_client_1 = require("../soap/soap-client");
19
19
  class AuthRepository {
20
20
  constructor(config) {
@@ -2,12 +2,12 @@
2
2
  * Electronic Billing Repository
3
3
  * Implements IElectronicBillingRepositoryPort for AFIP/ARCA Electronic Billing
4
4
  */
5
- import { IElectronicBillingRepositoryPort } from "@application/ports/electronic-billing/electronic-billing-repository.port";
5
+ import { IElectronicBillingRepositoryPort } from "../../../../application/ports/electronic-billing/electronic-billing-repository.port";
6
6
  import { BaseSoapRepository } from "../soap/base-soap-repository";
7
- import { BaseSoapRepositoryConstructorConfig } from "@infrastructure/outbound/ports/soap/soap-repository.types";
8
- import { Voucher } from "@domain/entities/voucher.entity";
9
- import { ICreateVoucherResult } from "@application/types/result.types";
10
- import { ServerStatusDto, SalesPointsResultDto, LastVoucherResultDto, VoucherInfoResultDto, VoucherTypesResultDto, ConceptTypesResultDto, DocumentTypesResultDto, AliquotTypesResultDto, CurrencyTypesResultDto, OptionalTypesResultDto, TaxTypesResultDto, IvaReceptorTypesResultDto, CaeaResultDto, CaeaUsageResultDto, CaeaNoMovementResultDto, CountriesResultDto, ActivitiesResultDto, QuotationResultDto, MaxRecordsResultDto } from "@application/dto/electronic-billing.dto";
7
+ import { BaseSoapRepositoryConstructorConfig } from "../../../outbound/ports/soap/soap-repository.types";
8
+ import { Voucher } from "../../../../domain/entities/voucher.entity";
9
+ import { ICreateVoucherResult } from "../../../../application/types/result.types";
10
+ import { ServerStatusDto, SalesPointsResultDto, LastVoucherResultDto, VoucherInfoResultDto, VoucherTypesResultDto, ConceptTypesResultDto, DocumentTypesResultDto, AliquotTypesResultDto, CurrencyTypesResultDto, OptionalTypesResultDto, TaxTypesResultDto, IvaReceptorTypesResultDto, CaeaResultDto, CaeaUsageResultDto, CaeaNoMovementResultDto, CountriesResultDto, ActivitiesResultDto, QuotationResultDto, MaxRecordsResultDto } from "../../../../application/dto/electronic-billing.dto";
11
11
  export declare class ElectronicBillingRepository extends BaseSoapRepository implements IElectronicBillingRepositoryPort {
12
12
  private serviceClient?;
13
13
  constructor(config: BaseSoapRepositoryConstructorConfig);
@@ -11,10 +11,10 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.ElectronicBillingRepository = void 0;
13
13
  const base_soap_repository_1 = require("../soap/base-soap-repository");
14
- const service_names_enum_1 = require("@infrastructure/outbound/ports/soap/enums/service-names.enum");
15
- const wsdl_path_enum_1 = require("@infrastructure/outbound/ports/soap/enums/wsdl-path.enum");
16
- const endpoints_enum_1 = require("@infrastructure/outbound/ports/soap/enums/endpoints.enum");
17
- const soap_to_dto_mapper_1 = require("@infrastructure/utils/soap-to-dto.mapper");
14
+ const service_names_enum_1 = require("../../../outbound/ports/soap/enums/service-names.enum");
15
+ const wsdl_path_enum_1 = require("../../../outbound/ports/soap/enums/wsdl-path.enum");
16
+ const endpoints_enum_1 = require("../../../outbound/ports/soap/enums/endpoints.enum");
17
+ const soap_to_dto_mapper_1 = require("../../../utils/soap-to-dto.mapper");
18
18
  class ElectronicBillingRepository extends base_soap_repository_1.BaseSoapRepository {
19
19
  constructor(config) {
20
20
  super(config);
@@ -2,9 +2,9 @@
2
2
  * Generic Repository
3
3
  * Implements IGenericRepositoryPort for generic AFIP/ARCA requests
4
4
  */
5
- import { IGenericRepositoryPort } from "@application/ports/generic/generic-repository.port";
5
+ import { IGenericRepositoryPort } from "../../../../application/ports/generic/generic-repository.port";
6
6
  import { BaseSoapRepository } from "../soap/base-soap-repository";
7
- import { BaseSoapRepositoryConstructorConfig } from "@infrastructure/outbound/ports/soap/soap-repository.types";
7
+ import { BaseSoapRepositoryConstructorConfig } from "../../../outbound/ports/soap/soap-repository.types";
8
8
  export declare class GenericRepository extends BaseSoapRepository implements IGenericRepositoryPort {
9
9
  constructor(config: BaseSoapRepositoryConstructorConfig);
10
10
  call(serviceName: string, methodName: string, params: any, options?: {
@@ -11,7 +11,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.GenericRepository = void 0;
13
13
  const base_soap_repository_1 = require("../soap/base-soap-repository");
14
- const endpoints_enum_1 = require("@infrastructure/outbound/ports/soap/enums/endpoints.enum");
14
+ const endpoints_enum_1 = require("../../../outbound/ports/soap/enums/endpoints.enum");
15
15
  class GenericRepository extends base_soap_repository_1.BaseSoapRepository {
16
16
  constructor(config) {
17
17
  super(config);
@@ -2,8 +2,8 @@
2
2
  * Winston Logger
3
3
  * Implements ILoggerPort using Winston
4
4
  */
5
- import { ILoggerPort } from "@infrastructure/outbound/ports/logger/logger.port";
6
- import { WinstonLoggerConfig } from "@infrastructure/outbound/ports/logger/logger.types";
5
+ import { ILoggerPort } from "../../../outbound/ports/logger/logger.port";
6
+ import { WinstonLoggerConfig } from "../../../outbound/ports/logger/logger.types";
7
7
  export declare class WinstonLogger implements ILoggerPort {
8
8
  private logger;
9
9
  constructor(config?: WinstonLoggerConfig);
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.WinstonLogger = void 0;
4
- const logger_1 = require("@infrastructure/utils/logger");
4
+ const logger_1 = require("../../../utils/logger");
5
5
  class WinstonLogger {
6
6
  constructor(config = {}) {
7
7
  var _a;
@@ -2,10 +2,10 @@
2
2
  * Register Inscription Proof Repository
3
3
  * Implements IRegisterInscriptionProofRepositoryPort
4
4
  */
5
- import { IRegisterInscriptionProofRepositoryPort } from "@application/ports/register/register-repository.ports";
5
+ import { IRegisterInscriptionProofRepositoryPort } from "../../../../application/ports/register/register-repository.ports";
6
6
  import { BaseSoapRepository } from "../soap/base-soap-repository";
7
- import { BaseSoapRepositoryConstructorConfig } from "@infrastructure/outbound/ports/soap/soap-repository.types";
8
- import { RegisterServerStatusDto, TaxpayerDetailsDto, TaxpayersDetailsDto } from "@application/dto/register.dto";
7
+ import { BaseSoapRepositoryConstructorConfig } from "../../../outbound/ports/soap/soap-repository.types";
8
+ import { RegisterServerStatusDto, TaxpayerDetailsDto, TaxpayersDetailsDto } from "../../../../application/dto/register.dto";
9
9
  export declare class RegisterInscriptionProofRepository extends BaseSoapRepository implements IRegisterInscriptionProofRepositoryPort {
10
10
  private client?;
11
11
  constructor(config: BaseSoapRepositoryConstructorConfig);
@@ -11,9 +11,9 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.RegisterInscriptionProofRepository = void 0;
13
13
  const base_soap_repository_1 = require("../soap/base-soap-repository");
14
- const service_names_enum_1 = require("@infrastructure/outbound/ports/soap/enums/service-names.enum");
15
- const wsdl_path_enum_1 = require("@infrastructure/outbound/ports/soap/enums/wsdl-path.enum");
16
- const endpoints_enum_1 = require("@infrastructure/outbound/ports/soap/enums/endpoints.enum");
14
+ const service_names_enum_1 = require("../../../outbound/ports/soap/enums/service-names.enum");
15
+ const wsdl_path_enum_1 = require("../../../outbound/ports/soap/enums/wsdl-path.enum");
16
+ const endpoints_enum_1 = require("../../../outbound/ports/soap/enums/endpoints.enum");
17
17
  class RegisterInscriptionProofRepository extends base_soap_repository_1.BaseSoapRepository {
18
18
  constructor(config) {
19
19
  super(config);
@@ -1,7 +1,7 @@
1
- import { IRegisterScopeFiveRepositoryPort } from "@application/ports/register/register-repository.ports";
1
+ import { IRegisterScopeFiveRepositoryPort } from "../../../../application/ports/register/register-repository.ports";
2
2
  import { BaseSoapRepository } from "../soap/base-soap-repository";
3
- import { BaseSoapRepositoryConstructorConfig } from "@infrastructure/outbound/ports/soap/soap-repository.types";
4
- import { RegisterServerStatusDto, TaxpayerDetailsDto, TaxpayersDetailsDto } from "@application/dto/register.dto";
3
+ import { BaseSoapRepositoryConstructorConfig } from "../../../outbound/ports/soap/soap-repository.types";
4
+ import { RegisterServerStatusDto, TaxpayerDetailsDto, TaxpayersDetailsDto } from "../../../../application/dto/register.dto";
5
5
  export declare class RegisterScopeFiveRepository extends BaseSoapRepository implements IRegisterScopeFiveRepositoryPort {
6
6
  private client?;
7
7
  constructor(config: BaseSoapRepositoryConstructorConfig);
@@ -11,9 +11,9 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.RegisterScopeFiveRepository = void 0;
13
13
  const base_soap_repository_1 = require("../soap/base-soap-repository");
14
- const service_names_enum_1 = require("@infrastructure/outbound/ports/soap/enums/service-names.enum");
15
- const wsdl_path_enum_1 = require("@infrastructure/outbound/ports/soap/enums/wsdl-path.enum");
16
- const endpoints_enum_1 = require("@infrastructure/outbound/ports/soap/enums/endpoints.enum");
14
+ const service_names_enum_1 = require("../../../outbound/ports/soap/enums/service-names.enum");
15
+ const wsdl_path_enum_1 = require("../../../outbound/ports/soap/enums/wsdl-path.enum");
16
+ const endpoints_enum_1 = require("../../../outbound/ports/soap/enums/endpoints.enum");
17
17
  class RegisterScopeFiveRepository extends base_soap_repository_1.BaseSoapRepository {
18
18
  constructor(config) {
19
19
  super(config);
@@ -1,7 +1,7 @@
1
- import { IRegisterScopeFourRepositoryPort } from "@application/ports/register/register-repository.ports";
1
+ import { IRegisterScopeFourRepositoryPort } from "../../../../application/ports/register/register-repository.ports";
2
2
  import { BaseSoapRepository } from "../soap/base-soap-repository";
3
- import { BaseSoapRepositoryConstructorConfig } from "@infrastructure/outbound/ports/soap/soap-repository.types";
4
- import { RegisterServerStatusDto, TaxpayerDetailsDto } from "@application/dto/register.dto";
3
+ import { BaseSoapRepositoryConstructorConfig } from "../../../outbound/ports/soap/soap-repository.types";
4
+ import { RegisterServerStatusDto, TaxpayerDetailsDto } from "../../../../application/dto/register.dto";
5
5
  export declare class RegisterScopeFourRepository extends BaseSoapRepository implements IRegisterScopeFourRepositoryPort {
6
6
  private client?;
7
7
  constructor(config: BaseSoapRepositoryConstructorConfig);
@@ -11,9 +11,9 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.RegisterScopeFourRepository = void 0;
13
13
  const base_soap_repository_1 = require("../soap/base-soap-repository");
14
- const service_names_enum_1 = require("@infrastructure/outbound/ports/soap/enums/service-names.enum");
15
- const wsdl_path_enum_1 = require("@infrastructure/outbound/ports/soap/enums/wsdl-path.enum");
16
- const endpoints_enum_1 = require("@infrastructure/outbound/ports/soap/enums/endpoints.enum");
14
+ const service_names_enum_1 = require("../../../outbound/ports/soap/enums/service-names.enum");
15
+ const wsdl_path_enum_1 = require("../../../outbound/ports/soap/enums/wsdl-path.enum");
16
+ const endpoints_enum_1 = require("../../../outbound/ports/soap/enums/endpoints.enum");
17
17
  class RegisterScopeFourRepository extends base_soap_repository_1.BaseSoapRepository {
18
18
  constructor(config) {
19
19
  super(config);
@@ -1,7 +1,7 @@
1
- import { IRegisterScopeTenRepositoryPort } from "@application/ports/register/register-repository.ports";
1
+ import { IRegisterScopeTenRepositoryPort } from "../../../../application/ports/register/register-repository.ports";
2
2
  import { BaseSoapRepository } from "../soap/base-soap-repository";
3
- import { BaseSoapRepositoryConstructorConfig } from "@infrastructure/outbound/ports/soap/soap-repository.types";
4
- import { RegisterServerStatusDto, TaxpayerDetailsDto } from "@application/dto/register.dto";
3
+ import { BaseSoapRepositoryConstructorConfig } from "../../../outbound/ports/soap/soap-repository.types";
4
+ import { RegisterServerStatusDto, TaxpayerDetailsDto } from "../../../../application/dto/register.dto";
5
5
  export declare class RegisterScopeTenRepository extends BaseSoapRepository implements IRegisterScopeTenRepositoryPort {
6
6
  private client?;
7
7
  constructor(config: BaseSoapRepositoryConstructorConfig);
@@ -11,9 +11,9 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.RegisterScopeTenRepository = void 0;
13
13
  const base_soap_repository_1 = require("../soap/base-soap-repository");
14
- const service_names_enum_1 = require("@infrastructure/outbound/ports/soap/enums/service-names.enum");
15
- const wsdl_path_enum_1 = require("@infrastructure/outbound/ports/soap/enums/wsdl-path.enum");
16
- const endpoints_enum_1 = require("@infrastructure/outbound/ports/soap/enums/endpoints.enum");
14
+ const service_names_enum_1 = require("../../../outbound/ports/soap/enums/service-names.enum");
15
+ const wsdl_path_enum_1 = require("../../../outbound/ports/soap/enums/wsdl-path.enum");
16
+ const endpoints_enum_1 = require("../../../outbound/ports/soap/enums/endpoints.enum");
17
17
  class RegisterScopeTenRepository extends base_soap_repository_1.BaseSoapRepository {
18
18
  constructor(config) {
19
19
  super(config);
@@ -1,7 +1,7 @@
1
- import { IRegisterScopeThirteenRepositoryPort } from "@application/ports/register/register-repository.ports";
1
+ import { IRegisterScopeThirteenRepositoryPort } from "../../../../application/ports/register/register-repository.ports";
2
2
  import { BaseSoapRepository } from "../soap/base-soap-repository";
3
- import { BaseSoapRepositoryConstructorConfig } from "@infrastructure/outbound/ports/soap/soap-repository.types";
4
- import { RegisterServerStatusDto, TaxpayerDetailsDto, TaxIDByDocumentResultDto } from "@application/dto/register.dto";
3
+ import { BaseSoapRepositoryConstructorConfig } from "../../../outbound/ports/soap/soap-repository.types";
4
+ import { RegisterServerStatusDto, TaxpayerDetailsDto, TaxIDByDocumentResultDto } from "../../../../application/dto/register.dto";
5
5
  export declare class RegisterScopeThirteenRepository extends BaseSoapRepository implements IRegisterScopeThirteenRepositoryPort {
6
6
  private client?;
7
7
  constructor(config: BaseSoapRepositoryConstructorConfig);
@@ -11,9 +11,9 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.RegisterScopeThirteenRepository = void 0;
13
13
  const base_soap_repository_1 = require("../soap/base-soap-repository");
14
- const service_names_enum_1 = require("@infrastructure/outbound/ports/soap/enums/service-names.enum");
15
- const wsdl_path_enum_1 = require("@infrastructure/outbound/ports/soap/enums/wsdl-path.enum");
16
- const endpoints_enum_1 = require("@infrastructure/outbound/ports/soap/enums/endpoints.enum");
14
+ const service_names_enum_1 = require("../../../outbound/ports/soap/enums/service-names.enum");
15
+ const wsdl_path_enum_1 = require("../../../outbound/ports/soap/enums/wsdl-path.enum");
16
+ const endpoints_enum_1 = require("../../../outbound/ports/soap/enums/endpoints.enum");
17
17
  class RegisterScopeThirteenRepository extends base_soap_repository_1.BaseSoapRepository {
18
18
  constructor(config) {
19
19
  super(config);
@@ -3,10 +3,10 @@
3
3
  * Abstract base class for SOAP repositories with common authentication proxy logic
4
4
  */
5
5
  import { Client } from "soap";
6
- import { ISoapClientPort } from "@infrastructure/outbound/ports/soap/soap-client.port";
7
- import { IAuthenticationRepositoryPort } from "@application/ports/authentication/authentication-repository.port";
8
- import { ILoggerPort } from "@infrastructure/outbound/ports/logger/logger.port";
9
- import { BaseSoapRepositoryConstructorConfig, AuthenticatedProxyOptions } from "@infrastructure/outbound/ports/soap/soap-repository.types";
6
+ import { ISoapClientPort } from "../../../outbound/ports/soap/soap-client.port";
7
+ import { IAuthenticationRepositoryPort } from "../../../../application/ports/authentication/authentication-repository.port";
8
+ import { ILoggerPort } from "../../../outbound/ports/logger/logger.port";
9
+ import { BaseSoapRepositoryConstructorConfig, AuthenticatedProxyOptions } from "../../../outbound/ports/soap/soap-repository.types";
10
10
  /**
11
11
  * Base class for SOAP repositories
12
12
  * Provides common functionality for authentication proxy
@@ -11,7 +11,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.BaseSoapRepository = void 0;
13
13
  const soap_client_1 = require("./soap-client");
14
- const endpoints_enum_1 = require("@infrastructure/outbound/ports/soap/enums/endpoints.enum");
14
+ const endpoints_enum_1 = require("../../../outbound/ports/soap/enums/endpoints.enum");
15
15
  /**
16
16
  * Base class for SOAP repositories
17
17
  * Provides common functionality for authentication proxy