@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.
- package/lib/application/dto/electronic-billing.dto.d.ts +1 -1
- package/lib/application/ports/authentication/authentication-repository.port.d.ts +2 -2
- package/lib/application/ports/electronic-billing/electronic-billing-repository.port.d.ts +3 -3
- package/lib/application/ports/register/register-repository.ports.d.ts +1 -1
- package/lib/application/services/electronic-billing.service.d.ts +4 -4
- package/lib/application/services/electronic-billing.service.js +23 -23
- package/lib/application/services/generic.service.d.ts +1 -1
- package/lib/application/services/register-inscription-proof.service.d.ts +2 -2
- package/lib/application/services/register-inscription-proof.service.js +3 -3
- package/lib/application/services/register-scope-five.service.d.ts +2 -2
- package/lib/application/services/register-scope-five.service.js +3 -3
- package/lib/application/services/register-scope-four.service.d.ts +2 -2
- package/lib/application/services/register-scope-four.service.js +2 -2
- package/lib/application/services/register-scope-ten.service.d.ts +2 -2
- package/lib/application/services/register-scope-ten.service.js +2 -2
- package/lib/application/services/register-scope-thirteen.service.d.ts +2 -2
- package/lib/application/services/register-scope-thirteen.service.js +3 -3
- package/lib/application/types/context.types.d.ts +1 -1
- package/lib/application/types/result.types.d.ts +1 -1
- package/lib/application/types/use-case-inputs.types.d.ts +1 -1
- package/lib/application/use-cases/authentication/get-auth-params.use-case.d.ts +2 -2
- package/lib/application/use-cases/authentication/login.use-case.d.ts +2 -2
- package/lib/application/use-cases/authentication/request-login.use-case.d.ts +2 -2
- package/lib/application/use-cases/electronic-billing/consult-caea-no-movement.use-case.d.ts +2 -2
- package/lib/application/use-cases/electronic-billing/consult-caea.use-case.d.ts +2 -2
- package/lib/application/use-cases/electronic-billing/create-next-voucher.use-case.d.ts +3 -3
- package/lib/application/use-cases/electronic-billing/create-next-voucher.use-case.js +1 -1
- package/lib/application/use-cases/electronic-billing/create-voucher.use-case.d.ts +3 -3
- package/lib/application/use-cases/electronic-billing/create-voucher.use-case.js +1 -1
- package/lib/application/use-cases/electronic-billing/get-activities.use-case.d.ts +2 -2
- package/lib/application/use-cases/electronic-billing/get-aliquot-types.use-case.d.ts +2 -2
- package/lib/application/use-cases/electronic-billing/get-caea.use-case.d.ts +2 -2
- package/lib/application/use-cases/electronic-billing/get-concept-types.use-case.d.ts +2 -2
- package/lib/application/use-cases/electronic-billing/get-countries.use-case.d.ts +2 -2
- package/lib/application/use-cases/electronic-billing/get-currency-types.use-case.d.ts +2 -2
- package/lib/application/use-cases/electronic-billing/get-document-types.use-case.d.ts +2 -2
- package/lib/application/use-cases/electronic-billing/get-iva-receptor-types.use-case.d.ts +2 -2
- package/lib/application/use-cases/electronic-billing/get-last-voucher.use-case.d.ts +3 -3
- package/lib/application/use-cases/electronic-billing/get-max-records.use-case.d.ts +2 -2
- package/lib/application/use-cases/electronic-billing/get-optional-types.use-case.d.ts +2 -2
- package/lib/application/use-cases/electronic-billing/get-parameter-types.use-case.d.ts +2 -2
- package/lib/application/use-cases/electronic-billing/get-quotation.use-case.d.ts +2 -2
- package/lib/application/use-cases/electronic-billing/get-sales-points.use-case.d.ts +2 -2
- package/lib/application/use-cases/electronic-billing/get-server-status.use-case.d.ts +2 -2
- package/lib/application/use-cases/electronic-billing/get-tax-types.use-case.d.ts +2 -2
- package/lib/application/use-cases/electronic-billing/get-voucher-info.use-case.d.ts +3 -3
- package/lib/application/use-cases/electronic-billing/get-voucher-types.use-case.d.ts +2 -2
- package/lib/application/use-cases/electronic-billing/inform-caea-no-movement.use-case.d.ts +2 -2
- package/lib/application/use-cases/electronic-billing/inform-caea-usage.use-case.d.ts +3 -3
- package/lib/application/use-cases/electronic-billing/inform-caea-usage.use-case.js +1 -1
- package/lib/application/use-cases/register/get-register-server-status.use-case.d.ts +2 -2
- package/lib/application/use-cases/register/get-tax-id-by-document.use-case.d.ts +2 -2
- package/lib/application/use-cases/register/get-taxpayer-details.use-case.d.ts +2 -2
- package/lib/application/use-cases/register/get-taxpayers-details.use-case.d.ts +2 -2
- package/lib/domain/entities/access-ticket.entity.d.ts +2 -2
- package/lib/index.d.ts +4 -1
- package/lib/index.js +7 -3
- package/lib/index.js.map +1 -1
- package/lib/{arca.d.ts → infrastructure/inbound/adapters/arca.d.ts} +8 -8
- package/lib/{arca.js → infrastructure/inbound/adapters/arca.js} +18 -19
- package/lib/infrastructure/inbound/adapters/arca.js.map +1 -0
- package/lib/infrastructure/outbound/adapters/auth/afip-auth.repository.d.ts +6 -6
- package/lib/infrastructure/outbound/adapters/auth/afip-auth.repository.js +5 -5
- package/lib/infrastructure/outbound/adapters/auth/auth.repository.d.ts +4 -4
- package/lib/infrastructure/outbound/adapters/auth/auth.repository.js +5 -5
- package/lib/infrastructure/outbound/adapters/electronic-billing/electronic-billing-repository.d.ts +5 -5
- package/lib/infrastructure/outbound/adapters/electronic-billing/electronic-billing-repository.js +4 -4
- package/lib/infrastructure/outbound/adapters/generic/generic-repository.d.ts +2 -2
- package/lib/infrastructure/outbound/adapters/generic/generic-repository.js +1 -1
- package/lib/infrastructure/outbound/adapters/logger/winston-logger.d.ts +2 -2
- package/lib/infrastructure/outbound/adapters/logger/winston-logger.js +1 -1
- package/lib/infrastructure/outbound/adapters/register/register-inscription-proof.repository.d.ts +3 -3
- package/lib/infrastructure/outbound/adapters/register/register-inscription-proof.repository.js +3 -3
- package/lib/infrastructure/outbound/adapters/register/register-scope-five.repository.d.ts +3 -3
- package/lib/infrastructure/outbound/adapters/register/register-scope-five.repository.js +3 -3
- package/lib/infrastructure/outbound/adapters/register/register-scope-four.repository.d.ts +3 -3
- package/lib/infrastructure/outbound/adapters/register/register-scope-four.repository.js +3 -3
- package/lib/infrastructure/outbound/adapters/register/register-scope-ten.repository.d.ts +3 -3
- package/lib/infrastructure/outbound/adapters/register/register-scope-ten.repository.js +3 -3
- package/lib/infrastructure/outbound/adapters/register/register-scope-thirteen.repository.d.ts +3 -3
- package/lib/infrastructure/outbound/adapters/register/register-scope-thirteen.repository.js +3 -3
- package/lib/infrastructure/outbound/adapters/soap/base-soap-repository.d.ts +4 -4
- package/lib/infrastructure/outbound/adapters/soap/base-soap-repository.js +1 -1
- package/lib/infrastructure/outbound/adapters/soap/soap-client.d.ts +1 -1
- package/lib/infrastructure/outbound/adapters/soap/soap-client.js +1 -1
- package/lib/infrastructure/outbound/adapters/storage/file-system-ticket-storage.d.ts +3 -3
- package/lib/infrastructure/outbound/adapters/storage/file-system-ticket-storage.js +1 -1
- package/lib/infrastructure/outbound/ports/auth/auth-repository.types.d.ts +1 -1
- package/lib/infrastructure/outbound/ports/soap/interfaces/PersonaServiceA10/PersonaServiceA10Port.d.ts +1 -1
- package/lib/infrastructure/outbound/ports/soap/interfaces/PersonaServiceA13/PersonaServiceA13Port.d.ts +1 -1
- package/lib/infrastructure/outbound/ports/soap/interfaces/PersonaServiceA4/PersonaServiceA4Port.d.ts +1 -1
- package/lib/infrastructure/outbound/ports/soap/interfaces/PersonaServiceA5/PersonaServiceA5Port.d.ts +1 -1
- package/lib/infrastructure/outbound/ports/soap/interfaces/PersonaServiceInscriptionProof/PersonaServiceInscriptionProofPort.d.ts +1 -1
- package/lib/infrastructure/outbound/ports/soap/interfaces/Service/ServiceSoap12.d.ts +1 -1
- package/lib/infrastructure/outbound/ports/soap/interfaces/index.d.ts +1 -1
- package/lib/infrastructure/outbound/ports/soap/interfaces/index.js +1 -1
- package/lib/infrastructure/outbound/ports/soap/soap-repository.types.d.ts +1 -1
- package/lib/infrastructure/outbound/ports/storage/ticket-storage.port.d.ts +1 -1
- package/lib/infrastructure/types/soap.types.d.ts +3 -3
- package/lib/infrastructure/utils/soap-to-dto.mapper.d.ts +1 -1
- package/package.json +3 -2
- package/lib/arca.js.map +0 -1
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Data Transfer Objects for electronic billing operations
|
|
4
4
|
* These DTOs use domain types and are independent of infrastructure concerns
|
|
5
5
|
*/
|
|
6
|
-
import { SalesPoint, ServerStatus, LastVoucher, VoucherInfo, VoucherType, ConceptType, DocumentType, AliquotType, CurrencyType, OptionalType, TaxType, IvaReceptorType, CaeaResponse, CaeaUsageResponse, CaeaNoMovement, PaisType, ActividadType, CotizacionType, ErrorInfo } from "
|
|
6
|
+
import { SalesPoint, ServerStatus, LastVoucher, VoucherInfo, VoucherType, ConceptType, DocumentType, AliquotType, CurrencyType, OptionalType, TaxType, IvaReceptorType, CaeaResponse, CaeaUsageResponse, CaeaNoMovement, PaisType, ActividadType, CotizacionType, ErrorInfo } from "../../domain/types/electronic-billing.types";
|
|
7
7
|
/**
|
|
8
8
|
* Server Status DTO (uses domain type)
|
|
9
9
|
*/
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
* Port defined by the application layer for authentication operations
|
|
4
4
|
* Infrastructure layer must implement this port
|
|
5
5
|
*/
|
|
6
|
-
import { AccessTicket } from "
|
|
7
|
-
import { WSAuthParam } from "
|
|
6
|
+
import { AccessTicket } from "../../../domain/entities/access-ticket.entity";
|
|
7
|
+
import { WSAuthParam } from "../../types";
|
|
8
8
|
export interface IAuthenticationRepositoryPort {
|
|
9
9
|
/**
|
|
10
10
|
* Login and get access ticket for a service
|
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
* Infrastructure layer must implement this port
|
|
5
5
|
* Uses DTOs to maintain independence from infrastructure
|
|
6
6
|
*/
|
|
7
|
-
import { Voucher } from "
|
|
8
|
-
import { ICreateVoucherResult } from "
|
|
9
|
-
import { ServerStatusDto, SalesPointsResultDto, LastVoucherResultDto, VoucherInfoResultDto, VoucherTypesResultDto, ConceptTypesResultDto, DocumentTypesResultDto, AliquotTypesResultDto, CurrencyTypesResultDto, OptionalTypesResultDto, TaxTypesResultDto, IvaReceptorTypesResultDto, CaeaResultDto, CaeaUsageResultDto, CaeaNoMovementResultDto, CountriesResultDto, ActivitiesResultDto, QuotationResultDto, MaxRecordsResultDto } from "
|
|
7
|
+
import { Voucher } from "../../../domain/entities/voucher.entity";
|
|
8
|
+
import { ICreateVoucherResult } from "../../types/result.types";
|
|
9
|
+
import { ServerStatusDto, SalesPointsResultDto, LastVoucherResultDto, VoucherInfoResultDto, VoucherTypesResultDto, ConceptTypesResultDto, DocumentTypesResultDto, AliquotTypesResultDto, CurrencyTypesResultDto, OptionalTypesResultDto, TaxTypesResultDto, IvaReceptorTypesResultDto, CaeaResultDto, CaeaUsageResultDto, CaeaNoMovementResultDto, CountriesResultDto, ActivitiesResultDto, QuotationResultDto, MaxRecordsResultDto } from "../../dto/electronic-billing.dto";
|
|
10
10
|
export interface IElectronicBillingRepositoryPort {
|
|
11
11
|
/**
|
|
12
12
|
* Get server status
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Register Repository Ports
|
|
3
3
|
* Specific ports for each register scope
|
|
4
4
|
*/
|
|
5
|
-
import { RegisterServerStatusDto, TaxpayerDetailsDto, TaxpayersDetailsDto, TaxIDByDocumentResultDto } from "
|
|
5
|
+
import { RegisterServerStatusDto, TaxpayerDetailsDto, TaxpayersDetailsDto, TaxIDByDocumentResultDto } from "../../dto/register.dto";
|
|
6
6
|
export interface IRegisterBaseRepositoryPort {
|
|
7
7
|
getServerStatus(): Promise<RegisterServerStatusDto>;
|
|
8
8
|
getTaxpayerDetails(identifier: number): Promise<TaxpayerDetailsDto | null>;
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
* Application service that orchestrates electronic billing use cases
|
|
4
4
|
* Maintains compatibility with legacy API
|
|
5
5
|
*/
|
|
6
|
-
import { IElectronicBillingRepositoryPort } from "
|
|
7
|
-
import { IVoucher, INextVoucher } from "
|
|
8
|
-
import { ICreateVoucherResult } from "
|
|
9
|
-
import { ServerStatusDto, SalesPointsResultDto, LastVoucherResultDto, VoucherInfoResultDto, VoucherTypesResultDto, ConceptTypesResultDto, DocumentTypesResultDto, AliquotTypesResultDto, CurrencyTypesResultDto, OptionalTypesResultDto, TaxTypesResultDto, IvaReceptorTypesResultDto, CaeaResultDto, CaeaUsageResultDto, CaeaNoMovementResultDto, CountriesResultDto, ActivitiesResultDto, QuotationResultDto, MaxRecordsResultDto } from "
|
|
6
|
+
import { IElectronicBillingRepositoryPort } from "../ports/electronic-billing/electronic-billing-repository.port";
|
|
7
|
+
import { IVoucher, INextVoucher } from "../../domain/types/voucher.types";
|
|
8
|
+
import { ICreateVoucherResult } from "../types/result.types";
|
|
9
|
+
import { ServerStatusDto, SalesPointsResultDto, LastVoucherResultDto, VoucherInfoResultDto, VoucherTypesResultDto, ConceptTypesResultDto, DocumentTypesResultDto, AliquotTypesResultDto, CurrencyTypesResultDto, OptionalTypesResultDto, TaxTypesResultDto, IvaReceptorTypesResultDto, CaeaResultDto, CaeaUsageResultDto, CaeaNoMovementResultDto, CountriesResultDto, ActivitiesResultDto, QuotationResultDto, MaxRecordsResultDto } from "../dto/electronic-billing.dto";
|
|
10
10
|
export declare class ElectronicBillingService {
|
|
11
11
|
private readonly electronicBillingRepository;
|
|
12
12
|
private readonly getServerStatusUseCase;
|
|
@@ -11,29 +11,29 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.ElectronicBillingService = void 0;
|
|
13
13
|
// Use cases
|
|
14
|
-
const get_server_status_use_case_1 = require("
|
|
15
|
-
const get_sales_points_use_case_1 = require("
|
|
16
|
-
const get_last_voucher_use_case_1 = require("
|
|
17
|
-
const create_voucher_use_case_1 = require("
|
|
18
|
-
const create_next_voucher_use_case_1 = require("
|
|
19
|
-
const get_voucher_info_use_case_1 = require("
|
|
20
|
-
const get_voucher_types_use_case_1 = require("
|
|
21
|
-
const get_concept_types_use_case_1 = require("
|
|
22
|
-
const get_document_types_use_case_1 = require("
|
|
23
|
-
const get_aliquot_types_use_case_1 = require("
|
|
24
|
-
const get_currency_types_use_case_1 = require("
|
|
25
|
-
const get_optional_types_use_case_1 = require("
|
|
26
|
-
const get_tax_types_use_case_1 = require("
|
|
27
|
-
const get_iva_receptor_types_use_case_1 = require("
|
|
28
|
-
const get_caea_use_case_1 = require("
|
|
29
|
-
const consult_caea_use_case_1 = require("
|
|
30
|
-
const inform_caea_no_movement_use_case_1 = require("
|
|
31
|
-
const consult_caea_no_movement_use_case_1 = require("
|
|
32
|
-
const inform_caea_usage_use_case_1 = require("
|
|
33
|
-
const get_quotation_use_case_1 = require("
|
|
34
|
-
const get_countries_use_case_1 = require("
|
|
35
|
-
const get_activities_use_case_1 = require("
|
|
36
|
-
const get_max_records_use_case_1 = require("
|
|
14
|
+
const get_server_status_use_case_1 = require("../use-cases/electronic-billing/get-server-status.use-case");
|
|
15
|
+
const get_sales_points_use_case_1 = require("../use-cases/electronic-billing/get-sales-points.use-case");
|
|
16
|
+
const get_last_voucher_use_case_1 = require("../use-cases/electronic-billing/get-last-voucher.use-case");
|
|
17
|
+
const create_voucher_use_case_1 = require("../use-cases/electronic-billing/create-voucher.use-case");
|
|
18
|
+
const create_next_voucher_use_case_1 = require("../use-cases/electronic-billing/create-next-voucher.use-case");
|
|
19
|
+
const get_voucher_info_use_case_1 = require("../use-cases/electronic-billing/get-voucher-info.use-case");
|
|
20
|
+
const get_voucher_types_use_case_1 = require("../use-cases/electronic-billing/get-voucher-types.use-case");
|
|
21
|
+
const get_concept_types_use_case_1 = require("../use-cases/electronic-billing/get-concept-types.use-case");
|
|
22
|
+
const get_document_types_use_case_1 = require("../use-cases/electronic-billing/get-document-types.use-case");
|
|
23
|
+
const get_aliquot_types_use_case_1 = require("../use-cases/electronic-billing/get-aliquot-types.use-case");
|
|
24
|
+
const get_currency_types_use_case_1 = require("../use-cases/electronic-billing/get-currency-types.use-case");
|
|
25
|
+
const get_optional_types_use_case_1 = require("../use-cases/electronic-billing/get-optional-types.use-case");
|
|
26
|
+
const get_tax_types_use_case_1 = require("../use-cases/electronic-billing/get-tax-types.use-case");
|
|
27
|
+
const get_iva_receptor_types_use_case_1 = require("../use-cases/electronic-billing/get-iva-receptor-types.use-case");
|
|
28
|
+
const get_caea_use_case_1 = require("../use-cases/electronic-billing/get-caea.use-case");
|
|
29
|
+
const consult_caea_use_case_1 = require("../use-cases/electronic-billing/consult-caea.use-case");
|
|
30
|
+
const inform_caea_no_movement_use_case_1 = require("../use-cases/electronic-billing/inform-caea-no-movement.use-case");
|
|
31
|
+
const consult_caea_no_movement_use_case_1 = require("../use-cases/electronic-billing/consult-caea-no-movement.use-case");
|
|
32
|
+
const inform_caea_usage_use_case_1 = require("../use-cases/electronic-billing/inform-caea-usage.use-case");
|
|
33
|
+
const get_quotation_use_case_1 = require("../use-cases/electronic-billing/get-quotation.use-case");
|
|
34
|
+
const get_countries_use_case_1 = require("../use-cases/electronic-billing/get-countries.use-case");
|
|
35
|
+
const get_activities_use_case_1 = require("../use-cases/electronic-billing/get-activities.use-case");
|
|
36
|
+
const get_max_records_use_case_1 = require("../use-cases/electronic-billing/get-max-records.use-case");
|
|
37
37
|
class ElectronicBillingService {
|
|
38
38
|
constructor(electronicBillingRepository) {
|
|
39
39
|
this.electronicBillingRepository = electronicBillingRepository;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Generic Service
|
|
3
3
|
* Service for making generic requests to AFIP/ARCA
|
|
4
4
|
*/
|
|
5
|
-
import { IGenericRepositoryPort } from "
|
|
5
|
+
import { IGenericRepositoryPort } from "../ports/generic/generic-repository.port";
|
|
6
6
|
export declare class GenericService {
|
|
7
7
|
private readonly repository;
|
|
8
8
|
constructor(repository: IGenericRepositoryPort);
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
* Application service for Register Inscription Proof
|
|
4
4
|
* Orchestrates register use cases for INSCRIPTION_PROOF scope
|
|
5
5
|
*/
|
|
6
|
-
import { IRegisterInscriptionProofRepositoryPort } from "
|
|
7
|
-
import { RegisterServerStatusDto, TaxpayerDetailsDto, TaxpayersDetailsDto } from "
|
|
6
|
+
import { IRegisterInscriptionProofRepositoryPort } from "../ports/register/register-repository.ports";
|
|
7
|
+
import { RegisterServerStatusDto, TaxpayerDetailsDto, TaxpayersDetailsDto } from "../dto/register.dto";
|
|
8
8
|
export declare class RegisterInscriptionProofService {
|
|
9
9
|
private readonly repository;
|
|
10
10
|
private readonly getRegisterServerStatusUseCase;
|
|
@@ -10,9 +10,9 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.RegisterInscriptionProofService = void 0;
|
|
13
|
-
const get_register_server_status_use_case_1 = require("
|
|
14
|
-
const get_taxpayer_details_use_case_1 = require("
|
|
15
|
-
const get_taxpayers_details_use_case_1 = require("
|
|
13
|
+
const get_register_server_status_use_case_1 = require("../use-cases/register/get-register-server-status.use-case");
|
|
14
|
+
const get_taxpayer_details_use_case_1 = require("../use-cases/register/get-taxpayer-details.use-case");
|
|
15
|
+
const get_taxpayers_details_use_case_1 = require("../use-cases/register/get-taxpayers-details.use-case");
|
|
16
16
|
class RegisterInscriptionProofService {
|
|
17
17
|
constructor(repository) {
|
|
18
18
|
this.repository = repository;
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
* Application service for Register Scope Five (Padrón A5)
|
|
4
4
|
* Orchestrates register use cases for scope FIVE
|
|
5
5
|
*/
|
|
6
|
-
import { IRegisterScopeFiveRepositoryPort } from "
|
|
7
|
-
import { RegisterServerStatusDto, TaxpayerDetailsDto, TaxpayersDetailsDto } from "
|
|
6
|
+
import { IRegisterScopeFiveRepositoryPort } from "../ports/register/register-repository.ports";
|
|
7
|
+
import { RegisterServerStatusDto, TaxpayerDetailsDto, TaxpayersDetailsDto } from "../dto/register.dto";
|
|
8
8
|
export declare class RegisterScopeFiveService {
|
|
9
9
|
private readonly repository;
|
|
10
10
|
private readonly getRegisterServerStatusUseCase;
|
|
@@ -10,9 +10,9 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.RegisterScopeFiveService = void 0;
|
|
13
|
-
const get_register_server_status_use_case_1 = require("
|
|
14
|
-
const get_taxpayer_details_use_case_1 = require("
|
|
15
|
-
const get_taxpayers_details_use_case_1 = require("
|
|
13
|
+
const get_register_server_status_use_case_1 = require("../use-cases/register/get-register-server-status.use-case");
|
|
14
|
+
const get_taxpayer_details_use_case_1 = require("../use-cases/register/get-taxpayer-details.use-case");
|
|
15
|
+
const get_taxpayers_details_use_case_1 = require("../use-cases/register/get-taxpayers-details.use-case");
|
|
16
16
|
class RegisterScopeFiveService {
|
|
17
17
|
constructor(repository) {
|
|
18
18
|
this.repository = repository;
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
* Application service for Register Scope Four (Padrón A4)
|
|
4
4
|
* Orchestrates register use cases for scope FOUR
|
|
5
5
|
*/
|
|
6
|
-
import { IRegisterScopeFourRepositoryPort } from "
|
|
7
|
-
import { RegisterServerStatusDto, TaxpayerDetailsDto } from "
|
|
6
|
+
import { IRegisterScopeFourRepositoryPort } from "../ports/register/register-repository.ports";
|
|
7
|
+
import { RegisterServerStatusDto, TaxpayerDetailsDto } from "../dto/register.dto";
|
|
8
8
|
export declare class RegisterScopeFourService {
|
|
9
9
|
private readonly repository;
|
|
10
10
|
private readonly getRegisterServerStatusUseCase;
|
|
@@ -15,8 +15,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
exports.RegisterScopeFourService = void 0;
|
|
18
|
-
const get_register_server_status_use_case_1 = require("
|
|
19
|
-
const get_taxpayer_details_use_case_1 = require("
|
|
18
|
+
const get_register_server_status_use_case_1 = require("../use-cases/register/get-register-server-status.use-case");
|
|
19
|
+
const get_taxpayer_details_use_case_1 = require("../use-cases/register/get-taxpayer-details.use-case");
|
|
20
20
|
class RegisterScopeFourService {
|
|
21
21
|
constructor(repository) {
|
|
22
22
|
this.repository = repository;
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
* Application service for Register Scope Ten (Padrón A10)
|
|
4
4
|
* Orchestrates register use cases for scope TEN
|
|
5
5
|
*/
|
|
6
|
-
import { IRegisterScopeTenRepositoryPort } from "
|
|
7
|
-
import { RegisterServerStatusDto, TaxpayerDetailsDto } from "
|
|
6
|
+
import { IRegisterScopeTenRepositoryPort } from "../ports/register/register-repository.ports";
|
|
7
|
+
import { RegisterServerStatusDto, TaxpayerDetailsDto } from "../dto/register.dto";
|
|
8
8
|
export declare class RegisterScopeTenService {
|
|
9
9
|
private readonly repository;
|
|
10
10
|
private readonly getRegisterServerStatusUseCase;
|
|
@@ -10,8 +10,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.RegisterScopeTenService = void 0;
|
|
13
|
-
const get_register_server_status_use_case_1 = require("
|
|
14
|
-
const get_taxpayer_details_use_case_1 = require("
|
|
13
|
+
const get_register_server_status_use_case_1 = require("../use-cases/register/get-register-server-status.use-case");
|
|
14
|
+
const get_taxpayer_details_use_case_1 = require("../use-cases/register/get-taxpayer-details.use-case");
|
|
15
15
|
class RegisterScopeTenService {
|
|
16
16
|
constructor(repository) {
|
|
17
17
|
this.repository = repository;
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
* Application service for Register Scope Thirteen (Padrón A13)
|
|
4
4
|
* Orchestrates register use cases for scope THIRTEEN
|
|
5
5
|
*/
|
|
6
|
-
import { IRegisterScopeThirteenRepositoryPort } from "
|
|
7
|
-
import { RegisterServerStatusDto, TaxpayerDetailsDto, TaxIDByDocumentResultDto } from "
|
|
6
|
+
import { IRegisterScopeThirteenRepositoryPort } from "../ports/register/register-repository.ports";
|
|
7
|
+
import { RegisterServerStatusDto, TaxpayerDetailsDto, TaxIDByDocumentResultDto } from "../dto/register.dto";
|
|
8
8
|
export declare class RegisterScopeThirteenService {
|
|
9
9
|
private readonly repository;
|
|
10
10
|
private readonly getRegisterServerStatusUseCase;
|
|
@@ -10,9 +10,9 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.RegisterScopeThirteenService = void 0;
|
|
13
|
-
const get_register_server_status_use_case_1 = require("
|
|
14
|
-
const get_taxpayer_details_use_case_1 = require("
|
|
15
|
-
const get_tax_id_by_document_use_case_1 = require("
|
|
13
|
+
const get_register_server_status_use_case_1 = require("../use-cases/register/get-register-server-status.use-case");
|
|
14
|
+
const get_taxpayer_details_use_case_1 = require("../use-cases/register/get-taxpayer-details.use-case");
|
|
15
|
+
const get_tax_id_by_document_use_case_1 = require("../use-cases/register/get-tax-id-by-document.use-case");
|
|
16
16
|
class RegisterScopeThirteenService {
|
|
17
17
|
constructor(repository) {
|
|
18
18
|
this.repository = repository;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Application Types - Context
|
|
3
3
|
* Configuration types for the application
|
|
4
4
|
*/
|
|
5
|
-
import { ILoginCredentials } from "
|
|
5
|
+
import { ILoginCredentials } from "../../domain/entities/access-ticket.entity";
|
|
6
6
|
export interface Context {
|
|
7
7
|
/**
|
|
8
8
|
* Flag for production or testing environment
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Application Types - Results
|
|
3
3
|
* Types for application service results
|
|
4
4
|
*/
|
|
5
|
-
import { ServiceSoap12Types } from "
|
|
5
|
+
import { ServiceSoap12Types } from "../../infrastructure/outbound/ports/soap/interfaces/Service/ServiceSoap12";
|
|
6
6
|
export interface ICreateVoucherResult {
|
|
7
7
|
response: ServiceSoap12Types.IFECAESolicitarResult;
|
|
8
8
|
cae: string;
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* Get Auth Params Use Case
|
|
3
3
|
* Gets authentication parameters formatted for SOAP requests
|
|
4
4
|
*/
|
|
5
|
-
import { IAuthenticationRepositoryPort } from "
|
|
6
|
-
import { WSAuthParam, GetAuthParamsInput } from "
|
|
5
|
+
import { IAuthenticationRepositoryPort } from "../../ports/authentication/authentication-repository.port";
|
|
6
|
+
import { WSAuthParam, GetAuthParamsInput } from "../../types";
|
|
7
7
|
export declare class GetAuthParamsUseCase {
|
|
8
8
|
private readonly authenticationRepository;
|
|
9
9
|
constructor(authenticationRepository: IAuthenticationRepositoryPort);
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
* Authenticates and obtains an access ticket for a service
|
|
4
4
|
* Handles automatic ticket management (checking existing, requesting new if needed)
|
|
5
5
|
*/
|
|
6
|
-
import { IAuthenticationRepositoryPort } from "
|
|
7
|
-
import { AccessTicket } from "
|
|
6
|
+
import { IAuthenticationRepositoryPort } from "../../ports/authentication/authentication-repository.port";
|
|
7
|
+
import { AccessTicket } from "../../../domain/entities/access-ticket.entity";
|
|
8
8
|
export declare class LoginUseCase {
|
|
9
9
|
private readonly authenticationRepository;
|
|
10
10
|
constructor(authenticationRepository: IAuthenticationRepositoryPort);
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* Request Login Use Case
|
|
3
3
|
* Forces a new login request (ignores existing tickets)
|
|
4
4
|
*/
|
|
5
|
-
import { IAuthenticationRepositoryPort } from "
|
|
6
|
-
import { AccessTicket } from "
|
|
5
|
+
import { IAuthenticationRepositoryPort } from "../../ports/authentication/authentication-repository.port";
|
|
6
|
+
import { AccessTicket } from "../../../domain/entities/access-ticket.entity";
|
|
7
7
|
export declare class RequestLoginUseCase {
|
|
8
8
|
private readonly authenticationRepository;
|
|
9
9
|
constructor(authenticationRepository: IAuthenticationRepositoryPort);
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* Consult CAEA No Movement Use Case
|
|
3
3
|
* Consults if a CAEA was informed as having no movements
|
|
4
4
|
*/
|
|
5
|
-
import { IElectronicBillingRepositoryPort } from "
|
|
6
|
-
import { CaeaNoMovementResultDto } from "
|
|
5
|
+
import { IElectronicBillingRepositoryPort } from "../../ports/electronic-billing/electronic-billing-repository.port";
|
|
6
|
+
import { CaeaNoMovementResultDto } from "../../dto/electronic-billing.dto";
|
|
7
7
|
export declare class ConsultCaeaNoMovementUseCase {
|
|
8
8
|
private readonly electronicBillingRepository;
|
|
9
9
|
constructor(electronicBillingRepository: IElectronicBillingRepositoryPort);
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* Consult CAEA Use Case
|
|
3
3
|
* Consults an Anticipated Electronic Authorization Code (CAEA)
|
|
4
4
|
*/
|
|
5
|
-
import { IElectronicBillingRepositoryPort } from "
|
|
6
|
-
import { CaeaResultDto } from "
|
|
5
|
+
import { IElectronicBillingRepositoryPort } from "../../ports/electronic-billing/electronic-billing-repository.port";
|
|
6
|
+
import { CaeaResultDto } from "../../dto/electronic-billing.dto";
|
|
7
7
|
export declare class ConsultCaeaUseCase {
|
|
8
8
|
private readonly electronicBillingRepository;
|
|
9
9
|
constructor(electronicBillingRepository: IElectronicBillingRepositoryPort);
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
* Create Next Voucher Use Case
|
|
3
3
|
* Creates the next voucher by getting the last voucher number and creating a new one
|
|
4
4
|
*/
|
|
5
|
-
import { IElectronicBillingRepositoryPort } from "
|
|
6
|
-
import { ICreateVoucherResult } from "
|
|
7
|
-
import { INextVoucher } from "
|
|
5
|
+
import { IElectronicBillingRepositoryPort } from "../../ports/electronic-billing/electronic-billing-repository.port";
|
|
6
|
+
import { ICreateVoucherResult } from "../../types/result.types";
|
|
7
|
+
import { INextVoucher } from "../../../domain/types/voucher.types";
|
|
8
8
|
export declare class CreateNextVoucherUseCase {
|
|
9
9
|
private readonly electronicBillingRepository;
|
|
10
10
|
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.CreateNextVoucherUseCase = void 0;
|
|
13
|
-
const voucher_entity_1 = require("
|
|
13
|
+
const voucher_entity_1 = require("../../../domain/entities/voucher.entity");
|
|
14
14
|
class CreateNextVoucherUseCase {
|
|
15
15
|
constructor(electronicBillingRepository) {
|
|
16
16
|
this.electronicBillingRepository = electronicBillingRepository;
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
* Create Voucher Use Case
|
|
3
3
|
* Creates a new electronic voucher
|
|
4
4
|
*/
|
|
5
|
-
import { IElectronicBillingRepositoryPort } from "
|
|
6
|
-
import { ICreateVoucherResult } from "
|
|
7
|
-
import { IVoucher } from "
|
|
5
|
+
import { IElectronicBillingRepositoryPort } from "../../ports/electronic-billing/electronic-billing-repository.port";
|
|
6
|
+
import { ICreateVoucherResult } from "../../types/result.types";
|
|
7
|
+
import { IVoucher } from "../../../domain/types/voucher.types";
|
|
8
8
|
export declare class CreateVoucherUseCase {
|
|
9
9
|
private readonly electronicBillingRepository;
|
|
10
10
|
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.CreateVoucherUseCase = void 0;
|
|
13
|
-
const voucher_entity_1 = require("
|
|
13
|
+
const voucher_entity_1 = require("../../../domain/entities/voucher.entity");
|
|
14
14
|
class CreateVoucherUseCase {
|
|
15
15
|
constructor(electronicBillingRepository) {
|
|
16
16
|
this.electronicBillingRepository = electronicBillingRepository;
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* Get Activities Use Case
|
|
3
3
|
* Retrieves the list of available activities
|
|
4
4
|
*/
|
|
5
|
-
import { IElectronicBillingRepositoryPort } from "
|
|
6
|
-
import { ActivitiesResultDto } from "
|
|
5
|
+
import { IElectronicBillingRepositoryPort } from "../../ports/electronic-billing/electronic-billing-repository.port";
|
|
6
|
+
import { ActivitiesResultDto } from "../../dto/electronic-billing.dto";
|
|
7
7
|
export declare class GetActivitiesUseCase {
|
|
8
8
|
private readonly electronicBillingRepository;
|
|
9
9
|
constructor(electronicBillingRepository: IElectronicBillingRepositoryPort);
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* Get Aliquot Types Use Case
|
|
3
3
|
* Retrieves available aliquot (IVA) types from AFIP/ARCA
|
|
4
4
|
*/
|
|
5
|
-
import { IElectronicBillingRepositoryPort } from "
|
|
6
|
-
import { AliquotTypesResultDto } from "
|
|
5
|
+
import { IElectronicBillingRepositoryPort } from "../../ports/electronic-billing/electronic-billing-repository.port";
|
|
6
|
+
import { AliquotTypesResultDto } from "../../dto/electronic-billing.dto";
|
|
7
7
|
export declare class GetAliquotTypesUseCase {
|
|
8
8
|
private readonly electronicBillingRepository;
|
|
9
9
|
constructor(electronicBillingRepository: IElectronicBillingRepositoryPort);
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* Get CAEA Use Case
|
|
3
3
|
* Requests an Anticipated Electronic Authorization Code (CAEA)
|
|
4
4
|
*/
|
|
5
|
-
import { IElectronicBillingRepositoryPort } from "
|
|
6
|
-
import { CaeaResultDto } from "
|
|
5
|
+
import { IElectronicBillingRepositoryPort } from "../../ports/electronic-billing/electronic-billing-repository.port";
|
|
6
|
+
import { CaeaResultDto } from "../../dto/electronic-billing.dto";
|
|
7
7
|
export declare class GetCaeaUseCase {
|
|
8
8
|
private readonly electronicBillingRepository;
|
|
9
9
|
constructor(electronicBillingRepository: IElectronicBillingRepositoryPort);
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* Get Concept Types Use Case
|
|
3
3
|
* Retrieves available concept types from AFIP/ARCA
|
|
4
4
|
*/
|
|
5
|
-
import { IElectronicBillingRepositoryPort } from "
|
|
6
|
-
import { ConceptTypesResultDto } from "
|
|
5
|
+
import { IElectronicBillingRepositoryPort } from "../../ports/electronic-billing/electronic-billing-repository.port";
|
|
6
|
+
import { ConceptTypesResultDto } from "../../dto/electronic-billing.dto";
|
|
7
7
|
export declare class GetConceptTypesUseCase {
|
|
8
8
|
private readonly electronicBillingRepository;
|
|
9
9
|
constructor(electronicBillingRepository: IElectronicBillingRepositoryPort);
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* Get Countries Use Case
|
|
3
3
|
* Retrieves the list of available countries
|
|
4
4
|
*/
|
|
5
|
-
import { IElectronicBillingRepositoryPort } from "
|
|
6
|
-
import { CountriesResultDto } from "
|
|
5
|
+
import { IElectronicBillingRepositoryPort } from "../../ports/electronic-billing/electronic-billing-repository.port";
|
|
6
|
+
import { CountriesResultDto } from "../../dto/electronic-billing.dto";
|
|
7
7
|
export declare class GetCountriesUseCase {
|
|
8
8
|
private readonly electronicBillingRepository;
|
|
9
9
|
constructor(electronicBillingRepository: IElectronicBillingRepositoryPort);
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* Get Currency Types Use Case
|
|
3
3
|
* Retrieves available currency types from AFIP/ARCA
|
|
4
4
|
*/
|
|
5
|
-
import { IElectronicBillingRepositoryPort } from "
|
|
6
|
-
import { CurrencyTypesResultDto } from "
|
|
5
|
+
import { IElectronicBillingRepositoryPort } from "../../ports/electronic-billing/electronic-billing-repository.port";
|
|
6
|
+
import { CurrencyTypesResultDto } from "../../dto/electronic-billing.dto";
|
|
7
7
|
export declare class GetCurrencyTypesUseCase {
|
|
8
8
|
private readonly electronicBillingRepository;
|
|
9
9
|
constructor(electronicBillingRepository: IElectronicBillingRepositoryPort);
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* Get Document Types Use Case
|
|
3
3
|
* Retrieves available document types from AFIP/ARCA
|
|
4
4
|
*/
|
|
5
|
-
import { IElectronicBillingRepositoryPort } from "
|
|
6
|
-
import { DocumentTypesResultDto } from "
|
|
5
|
+
import { IElectronicBillingRepositoryPort } from "../../ports/electronic-billing/electronic-billing-repository.port";
|
|
6
|
+
import { DocumentTypesResultDto } from "../../dto/electronic-billing.dto";
|
|
7
7
|
export declare class GetDocumentTypesUseCase {
|
|
8
8
|
private readonly electronicBillingRepository;
|
|
9
9
|
constructor(electronicBillingRepository: IElectronicBillingRepositoryPort);
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* Get Iva Receptor Types Use Case
|
|
3
3
|
* Retrieves available IVA receptor types from AFIP/ARCA
|
|
4
4
|
*/
|
|
5
|
-
import { IElectronicBillingRepositoryPort } from "
|
|
6
|
-
import { IvaReceptorTypesResultDto } from "
|
|
5
|
+
import { IElectronicBillingRepositoryPort } from "../../ports/electronic-billing/electronic-billing-repository.port";
|
|
6
|
+
import { IvaReceptorTypesResultDto } from "../../dto/electronic-billing.dto";
|
|
7
7
|
export declare class GetIvaReceptorTypesUseCase {
|
|
8
8
|
private readonly electronicBillingRepository;
|
|
9
9
|
constructor(electronicBillingRepository: IElectronicBillingRepositoryPort);
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
* Get Last Voucher Use Case
|
|
3
3
|
* Retrieves the last authorized voucher number for a sales point and voucher type
|
|
4
4
|
*/
|
|
5
|
-
import { IElectronicBillingRepositoryPort } from "
|
|
6
|
-
import { LastVoucherResultDto } from "
|
|
7
|
-
import { GetLastVoucherInput } from "
|
|
5
|
+
import { IElectronicBillingRepositoryPort } from "../../ports/electronic-billing/electronic-billing-repository.port";
|
|
6
|
+
import { LastVoucherResultDto } from "../../dto/electronic-billing.dto";
|
|
7
|
+
import { GetLastVoucherInput } from "../../types";
|
|
8
8
|
export declare class GetLastVoucherUseCase {
|
|
9
9
|
private readonly electronicBillingRepository;
|
|
10
10
|
constructor(electronicBillingRepository: IElectronicBillingRepositoryPort);
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* Get Max Records Use Case
|
|
3
3
|
* Retrieves the maximum number of records allowed per request
|
|
4
4
|
*/
|
|
5
|
-
import { IElectronicBillingRepositoryPort } from "
|
|
6
|
-
import { MaxRecordsResultDto } from "
|
|
5
|
+
import { IElectronicBillingRepositoryPort } from "../../ports/electronic-billing/electronic-billing-repository.port";
|
|
6
|
+
import { MaxRecordsResultDto } from "../../dto/electronic-billing.dto";
|
|
7
7
|
export declare class GetMaxRecordsUseCase {
|
|
8
8
|
private readonly electronicBillingRepository;
|
|
9
9
|
constructor(electronicBillingRepository: IElectronicBillingRepositoryPort);
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* Get Optional Types Use Case
|
|
3
3
|
* Retrieves available optional types from AFIP/ARCA
|
|
4
4
|
*/
|
|
5
|
-
import { IElectronicBillingRepositoryPort } from "
|
|
6
|
-
import { OptionalTypesResultDto } from "
|
|
5
|
+
import { IElectronicBillingRepositoryPort } from "../../ports/electronic-billing/electronic-billing-repository.port";
|
|
6
|
+
import { OptionalTypesResultDto } from "../../dto/electronic-billing.dto";
|
|
7
7
|
export declare class GetOptionalTypesUseCase {
|
|
8
8
|
private readonly electronicBillingRepository;
|
|
9
9
|
constructor(electronicBillingRepository: IElectronicBillingRepositoryPort);
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* Get Parameter Types Use Case
|
|
3
3
|
* Retrieves various parameter types from AFIP/ARCA
|
|
4
4
|
*/
|
|
5
|
-
import { IElectronicBillingRepositoryPort } from "
|
|
6
|
-
import { ConceptTypesResultDto, DocumentTypesResultDto, AliquotTypesResultDto, CurrencyTypesResultDto, OptionalTypesResultDto, TaxTypesResultDto } from "
|
|
5
|
+
import { IElectronicBillingRepositoryPort } from "../../ports/electronic-billing/electronic-billing-repository.port";
|
|
6
|
+
import { ConceptTypesResultDto, DocumentTypesResultDto, AliquotTypesResultDto, CurrencyTypesResultDto, OptionalTypesResultDto, TaxTypesResultDto } from "../../dto/electronic-billing.dto";
|
|
7
7
|
export declare class GetParameterTypesUseCase {
|
|
8
8
|
private readonly electronicBillingRepository;
|
|
9
9
|
constructor(electronicBillingRepository: IElectronicBillingRepositoryPort);
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* Get Quotation Use Case
|
|
3
3
|
* Retrieves the quotation for a specific currency
|
|
4
4
|
*/
|
|
5
|
-
import { IElectronicBillingRepositoryPort } from "
|
|
6
|
-
import { QuotationResultDto } from "
|
|
5
|
+
import { IElectronicBillingRepositoryPort } from "../../ports/electronic-billing/electronic-billing-repository.port";
|
|
6
|
+
import { QuotationResultDto } from "../../dto/electronic-billing.dto";
|
|
7
7
|
export declare class GetQuotationUseCase {
|
|
8
8
|
private readonly electronicBillingRepository;
|
|
9
9
|
constructor(electronicBillingRepository: IElectronicBillingRepositoryPort);
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* Get Sales Points Use Case
|
|
3
3
|
* Retrieves available sales points from AFIP/ARCA
|
|
4
4
|
*/
|
|
5
|
-
import { IElectronicBillingRepositoryPort } from "
|
|
6
|
-
import { SalesPointsResultDto } from "
|
|
5
|
+
import { IElectronicBillingRepositoryPort } from "../../ports/electronic-billing/electronic-billing-repository.port";
|
|
6
|
+
import { SalesPointsResultDto } from "../../dto/electronic-billing.dto";
|
|
7
7
|
export declare class GetSalesPointsUseCase {
|
|
8
8
|
private readonly electronicBillingRepository;
|
|
9
9
|
constructor(electronicBillingRepository: IElectronicBillingRepositoryPort);
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* Get Server Status Use Case
|
|
3
3
|
* Retrieves the status of AFIP/ARCA servers
|
|
4
4
|
*/
|
|
5
|
-
import { IElectronicBillingRepositoryPort } from "
|
|
6
|
-
import { ServerStatusDto } from "
|
|
5
|
+
import { IElectronicBillingRepositoryPort } from "../../ports/electronic-billing/electronic-billing-repository.port";
|
|
6
|
+
import { ServerStatusDto } from "../../dto/electronic-billing.dto";
|
|
7
7
|
export declare class GetServerStatusUseCase {
|
|
8
8
|
private readonly electronicBillingRepository;
|
|
9
9
|
constructor(electronicBillingRepository: IElectronicBillingRepositoryPort);
|