@fiado/api-invoker 4.2.0 → 4.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/account-beneficiary/AccountBeneficiaryApi.d.ts +3 -3
- package/bin/account-beneficiary/AccountBeneficiaryApi.js +8 -5
- package/bin/account-beneficiary/index.d.ts +2 -2
- package/bin/account-beneficiary/index.js +18 -2
- package/bin/account-beneficiary/interfaces/IAccountBeneficiaryApi.d.ts +2 -2
- package/bin/account-beneficiary/interfaces/IAccountBeneficiaryApi.js +2 -1
- package/bin/account-fiadoinc/AccountFiadoIncApi.d.ts +5 -5
- package/bin/account-fiadoinc/AccountFiadoIncApi.js +7 -5
- package/bin/account-fiadoinc/index.d.ts +4 -4
- package/bin/account-fiadoinc/index.js +20 -4
- package/bin/account-fiadoinc/interfaces/IAccountFiadoIncApi.d.ts +4 -4
- package/bin/account-fiadoinc/interfaces/IAccountFiadoIncApi.js +2 -1
- package/bin/account-fiadoinc/queue/Publisher.d.ts +2 -2
- package/bin/account-fiadoinc/queue/Publisher.js +10 -7
- package/bin/account-fiadoinc/queue/interfaces/IPublisher.d.ts +1 -1
- package/bin/account-fiadoinc/queue/interfaces/IPublisher.js +2 -1
- package/bin/account-fiadosa/AccountFiadoSAApi.d.ts +3 -3
- package/bin/account-fiadosa/AccountFiadoSAApi.js +6 -4
- package/bin/account-fiadosa/index.d.ts +2 -2
- package/bin/account-fiadosa/index.js +18 -2
- package/bin/account-fiadosa/interfaces/IAccountFiadoSAApi.d.ts +2 -2
- package/bin/account-fiadosa/interfaces/IAccountFiadoSAApi.js +2 -1
- package/bin/account-pagoconfiado/AccountPagoConfiadoApi.d.ts +3 -3
- package/bin/account-pagoconfiado/AccountPagoConfiadoApi.js +6 -4
- package/bin/account-pagoconfiado/index.d.ts +2 -2
- package/bin/account-pagoconfiado/index.js +18 -2
- package/bin/account-pagoconfiado/interfaces/IAccountPagoConfiadoApi.d.ts +2 -2
- package/bin/account-pagoconfiado/interfaces/IAccountPagoConfiadoApi.js +2 -1
- package/bin/activity-business/ActivityApi.d.ts +1 -1
- package/bin/activity-business/ActivityApi.js +6 -4
- package/bin/activity-business/index.d.ts +4 -4
- package/bin/activity-business/index.js +20 -4
- package/bin/activity-business/interfaces/IActivityApi.js +2 -1
- package/bin/activity-business/queue/ActivityPublisher.d.ts +2 -2
- package/bin/activity-business/queue/ActivityPublisher.js +8 -6
- package/bin/activity-business/queue/IActivityPublisher.d.ts +1 -1
- package/bin/activity-business/queue/IActivityPublisher.js +2 -1
- package/bin/address/AddressApi.d.ts +2 -2
- package/bin/address/AddressApi.js +8 -5
- package/bin/address/index.d.ts +2 -2
- package/bin/address/index.js +18 -2
- package/bin/address/interfaces/IAddressApi.d.ts +1 -1
- package/bin/address/interfaces/IAddressApi.js +2 -1
- package/bin/ai-engine-connector/AiEngineApi.d.ts +3 -3
- package/bin/ai-engine-connector/AiEngineApi.js +16 -10
- package/bin/ai-engine-connector/index.d.ts +2 -2
- package/bin/ai-engine-connector/index.js +18 -2
- package/bin/ai-engine-connector/interfaces/IAiEngineApi.d.ts +2 -2
- package/bin/ai-engine-connector/interfaces/IAiEngineApi.js +2 -1
- package/bin/appselectondata/AppSelectionDataApi.d.ts +1 -1
- package/bin/appselectondata/AppSelectionDataApi.js +13 -7
- package/bin/appselectondata/index.d.ts +2 -2
- package/bin/appselectondata/index.js +18 -2
- package/bin/appselectondata/interfaces/IAppSelectionDataApi.d.ts +1 -1
- package/bin/appselectondata/interfaces/IAppSelectionDataApi.js +2 -1
- package/bin/authentication/AuthenticationApi.d.ts +2 -2
- package/bin/authentication/AuthenticationApi.js +8 -5
- package/bin/authentication/index.d.ts +2 -2
- package/bin/authentication/index.js +18 -2
- package/bin/authentication/interfaces/IAuthenticationApi.d.ts +1 -1
- package/bin/authentication/interfaces/IAuthenticationApi.js +2 -1
- package/bin/bankAccount/BankAccountApi.d.ts +4 -4
- package/bin/bankAccount/BankAccountApi.js +6 -4
- package/bin/bankAccount/index.d.ts +2 -2
- package/bin/bankAccount/index.js +18 -2
- package/bin/bankAccount/interfaces/IBankAccountApi.js +2 -1
- package/bin/bbvaRst/api/BBVARstApi.d.ts +2 -2
- package/bin/bbvaRst/api/BBVARstApi.js +8 -5
- package/bin/bbvaRst/api/interfaces/IBBVARstApi.d.ts +1 -1
- package/bin/bbvaRst/api/interfaces/IBBVARstApi.js +2 -1
- package/bin/bbvaRst/index.d.ts +2 -2
- package/bin/bbvaRst/index.js +18 -2
- package/bin/benefits-marketplace/api/BenefitsMarketplaceApi.d.ts +3 -3
- package/bin/benefits-marketplace/api/BenefitsMarketplaceApi.js +6 -4
- package/bin/benefits-marketplace/api/dtos/BenefitLeafDisplayResponse.js +2 -1
- package/bin/benefits-marketplace/api/interfaces/IBenefitsMarketplaceApi.d.ts +2 -2
- package/bin/benefits-marketplace/api/interfaces/IBenefitsMarketplaceApi.js +2 -1
- package/bin/benefits-marketplace/index.d.ts +3 -3
- package/bin/benefits-marketplace/index.js +19 -3
- package/bin/blacklist/BlackListApi.d.ts +2 -2
- package/bin/blacklist/BlackListApi.js +13 -7
- package/bin/blacklist/index.d.ts +2 -2
- package/bin/blacklist/index.js +18 -2
- package/bin/blacklist/interfaces/IBlackListApi.d.ts +1 -1
- package/bin/blacklist/interfaces/IBlackListApi.js +2 -1
- package/bin/card/CardApi.d.ts +4 -4
- package/bin/card/CardApi.js +8 -5
- package/bin/card/index.d.ts +2 -2
- package/bin/card/index.js +18 -2
- package/bin/card/interfaces/ICardApi.d.ts +3 -3
- package/bin/card/interfaces/ICardApi.js +2 -1
- package/bin/card-business/index.d.ts +2 -2
- package/bin/card-business/index.js +18 -2
- package/bin/card-business/queue/CardBusinessPublisher.d.ts +1 -1
- package/bin/card-business/queue/CardBusinessPublisher.js +8 -6
- package/bin/card-business/queue/ICardBusinessPublisher.js +2 -1
- package/bin/centralPayments/CentralPaymentsConnectorApi.d.ts +12 -12
- package/bin/centralPayments/CentralPaymentsConnectorApi.js +11 -8
- package/bin/centralPayments/index.d.ts +2 -2
- package/bin/centralPayments/index.js +18 -2
- package/bin/centralPayments/interfaces/ICentralPaymentsConnectorApi.d.ts +10 -10
- package/bin/centralPayments/interfaces/ICentralPaymentsConnectorApi.js +2 -1
- package/bin/circuloCredito/api/CirculoCreditoApi.d.ts +2 -2
- package/bin/circuloCredito/api/CirculoCreditoApi.js +8 -5
- package/bin/circuloCredito/api/interfaces/ICirculoCreditoApi.d.ts +1 -1
- package/bin/circuloCredito/api/interfaces/ICirculoCreditoApi.js +2 -1
- package/bin/circuloCredito/index.d.ts +2 -2
- package/bin/circuloCredito/index.js +18 -2
- package/bin/cnbv-business/CnbvApi.d.ts +1 -1
- package/bin/cnbv-business/CnbvApi.js +6 -4
- package/bin/cnbv-business/index.d.ts +2 -2
- package/bin/cnbv-business/index.js +18 -2
- package/bin/cnbv-business/interfaces/ICnbvApi.js +2 -1
- package/bin/cnbv-connector/CnbvConnectorApi.d.ts +2 -2
- package/bin/cnbv-connector/CnbvConnectorApi.js +6 -4
- package/bin/cnbv-connector/index.d.ts +2 -2
- package/bin/cnbv-connector/index.js +18 -2
- package/bin/cnbv-connector/interfaces/ICnbvConnectorApi.d.ts +1 -1
- package/bin/cnbv-connector/interfaces/ICnbvConnectorApi.js +2 -1
- package/bin/cognitoBackofficeConnector/api/CognitoBackofficeConnectorApi.d.ts +52 -0
- package/bin/cognitoBackofficeConnector/api/CognitoBackofficeConnectorApi.js +154 -0
- package/bin/cognitoBackofficeConnector/api/interfaces/ICognitoBackofficeConnectorApi.d.ts +73 -0
- package/bin/cognitoBackofficeConnector/api/interfaces/ICognitoBackofficeConnectorApi.js +2 -0
- package/bin/cognitoBackofficeConnector/index.d.ts +2 -0
- package/bin/cognitoBackofficeConnector/index.js +23 -0
- package/bin/cognitoConnector/CognitoConnectorApi.d.ts +2 -2
- package/bin/cognitoConnector/CognitoConnectorApi.js +6 -4
- package/bin/cognitoConnector/CognitoConnectorV2.d.ts +2 -2
- package/bin/cognitoConnector/CognitoConnectorV2.js +6 -4
- package/bin/cognitoConnector/index.d.ts +4 -4
- package/bin/cognitoConnector/index.js +20 -4
- package/bin/cognitoConnector/interfaces/ICognitoConnectorApi.d.ts +2 -2
- package/bin/cognitoConnector/interfaces/ICognitoConnectorApi.js +2 -1
- package/bin/cognitoConnector/interfaces/ICognitoV2Api.d.ts +1 -1
- package/bin/cognitoConnector/interfaces/ICognitoV2Api.js +2 -1
- package/bin/collector/CollectorApi.d.ts +5 -5
- package/bin/collector/CollectorApi.js +15 -9
- package/bin/collector/index.d.ts +2 -2
- package/bin/collector/index.js +18 -2
- package/bin/collector/interfaces/ICollectorApi.d.ts +4 -4
- package/bin/collector/interfaces/ICollectorApi.js +2 -1
- package/bin/commission-business/CommissionBusinessApi.d.ts +2 -2
- package/bin/commission-business/CommissionBusinessApi.js +13 -7
- package/bin/commission-business/index.d.ts +2 -2
- package/bin/commission-business/index.js +18 -2
- package/bin/commission-business/interfaces/ICommissionBusinessApi.d.ts +1 -1
- package/bin/commission-business/interfaces/ICommissionBusinessApi.js +2 -1
- package/bin/contactInformation/ContactInformationApi.d.ts +2 -2
- package/bin/contactInformation/ContactInformationApi.js +7 -4
- package/bin/contactInformation/index.d.ts +2 -2
- package/bin/contactInformation/index.js +18 -2
- package/bin/contactInformation/interface/IContactInformationApi.d.ts +1 -1
- package/bin/contactInformation/interface/IContactInformationApi.js +2 -1
- package/bin/container.config.js +197 -196
- package/bin/contract-business/api/ContractBusinessApi.d.ts +1 -1
- package/bin/contract-business/api/ContractBusinessApi.js +6 -4
- package/bin/contract-business/api/interfaces/IContractBusinessApi.js +2 -1
- package/bin/contract-business/index.d.ts +2 -2
- package/bin/contract-business/index.js +18 -2
- package/bin/contract-generator/ContractGeneratorApi.d.ts +2 -2
- package/bin/contract-generator/ContractGeneratorApi.js +13 -7
- package/bin/contract-generator/index.d.ts +2 -2
- package/bin/contract-generator/index.js +18 -2
- package/bin/contract-generator/interfaces/IContractGeneratorApi.d.ts +1 -1
- package/bin/contract-generator/interfaces/IContractGeneratorApi.js +2 -1
- package/bin/countries-business/CountriesBusinessApi.d.ts +1 -1
- package/bin/countries-business/CountriesBusinessApi.js +6 -4
- package/bin/countries-business/index.d.ts +2 -2
- package/bin/countries-business/index.js +18 -2
- package/bin/countries-business/interfaces/ICountriesBusinessApi.js +2 -1
- package/bin/credit-engine/CreditEngineApi.d.ts +3 -3
- package/bin/credit-engine/CreditEngineApi.js +13 -7
- package/bin/credit-engine/index.d.ts +13 -13
- package/bin/credit-engine/index.js +34 -13
- package/bin/credit-engine/interfaces/ICreditEngineApi.d.ts +2 -2
- package/bin/credit-engine/interfaces/ICreditEngineApi.js +2 -1
- package/bin/credit-engine/queue/CreditCollectionPublisher.d.ts +2 -2
- package/bin/credit-engine/queue/CreditCollectionPublisher.js +8 -6
- package/bin/credit-engine/queue/CreditDelinquencyPublisher.d.ts +2 -2
- package/bin/credit-engine/queue/CreditDelinquencyPublisher.js +8 -6
- package/bin/credit-engine/queue/CreditIncomeDetectionPublisher.d.ts +2 -2
- package/bin/credit-engine/queue/CreditIncomeDetectionPublisher.js +8 -6
- package/bin/credit-engine/queue/CreditLienCollectionPublisher.d.ts +2 -2
- package/bin/credit-engine/queue/CreditLienCollectionPublisher.js +8 -6
- package/bin/credit-engine/queue/CreditNotificationPublisher.d.ts +2 -2
- package/bin/credit-engine/queue/CreditNotificationPublisher.js +8 -6
- package/bin/credit-engine/queue/CreditOfferGenerationPublisher.d.ts +2 -2
- package/bin/credit-engine/queue/CreditOfferGenerationPublisher.js +8 -6
- package/bin/credit-engine/queue/CreditReconciliationPublisher.d.ts +2 -2
- package/bin/credit-engine/queue/CreditReconciliationPublisher.js +8 -6
- package/bin/credit-engine/queue/CreditScoringPublisher.d.ts +2 -2
- package/bin/credit-engine/queue/CreditScoringPublisher.js +8 -6
- package/bin/credit-engine/queue/CreditStatementPublisher.d.ts +2 -2
- package/bin/credit-engine/queue/CreditStatementPublisher.js +8 -6
- package/bin/credit-engine/queue/CreditTransferPublisher.d.ts +2 -2
- package/bin/credit-engine/queue/CreditTransferPublisher.js +8 -6
- package/bin/credit-engine/queue/interfaces/ICreditCollectionPublisher.d.ts +1 -1
- package/bin/credit-engine/queue/interfaces/ICreditCollectionPublisher.js +2 -1
- package/bin/credit-engine/queue/interfaces/ICreditDelinquencyPublisher.d.ts +1 -1
- package/bin/credit-engine/queue/interfaces/ICreditDelinquencyPublisher.js +2 -1
- package/bin/credit-engine/queue/interfaces/ICreditIncomeDetectionPublisher.d.ts +1 -1
- package/bin/credit-engine/queue/interfaces/ICreditIncomeDetectionPublisher.js +2 -1
- package/bin/credit-engine/queue/interfaces/ICreditLienCollectionPublisher.d.ts +1 -1
- package/bin/credit-engine/queue/interfaces/ICreditLienCollectionPublisher.js +2 -1
- package/bin/credit-engine/queue/interfaces/ICreditNotificationPublisher.d.ts +1 -1
- package/bin/credit-engine/queue/interfaces/ICreditNotificationPublisher.js +2 -1
- package/bin/credit-engine/queue/interfaces/ICreditOfferGenerationPublisher.d.ts +1 -1
- package/bin/credit-engine/queue/interfaces/ICreditOfferGenerationPublisher.js +2 -1
- package/bin/credit-engine/queue/interfaces/ICreditReconciliationPublisher.d.ts +1 -1
- package/bin/credit-engine/queue/interfaces/ICreditReconciliationPublisher.js +2 -1
- package/bin/credit-engine/queue/interfaces/ICreditScoringPublisher.d.ts +1 -1
- package/bin/credit-engine/queue/interfaces/ICreditScoringPublisher.js +2 -1
- package/bin/credit-engine/queue/interfaces/ICreditStatementPublisher.d.ts +1 -1
- package/bin/credit-engine/queue/interfaces/ICreditStatementPublisher.js +2 -1
- package/bin/credit-engine/queue/interfaces/ICreditTransferPublisher.d.ts +1 -1
- package/bin/credit-engine/queue/interfaces/ICreditTransferPublisher.js +2 -1
- package/bin/credit-payment/CreditPaymentApi.d.ts +1 -1
- package/bin/credit-payment/CreditPaymentApi.js +13 -7
- package/bin/credit-payment/index.d.ts +2 -2
- package/bin/credit-payment/index.js +18 -2
- package/bin/credit-payment/interfaces/ICreditPaymentApi.js +2 -1
- package/bin/credit-statements/api/CreditStatementsApi.d.ts +1 -1
- package/bin/credit-statements/api/CreditStatementsApi.js +6 -4
- package/bin/credit-statements/api/interfaces/ICreditStatementsApi.js +2 -1
- package/bin/credit-statements/index.d.ts +2 -2
- package/bin/credit-statements/index.js +18 -2
- package/bin/device/DeviceApi.d.ts +2 -2
- package/bin/device/DeviceApi.js +13 -7
- package/bin/device/index.d.ts +2 -2
- package/bin/device/index.js +18 -2
- package/bin/device/interfaces/IDeviceApi.d.ts +1 -1
- package/bin/device/interfaces/IDeviceApi.js +2 -1
- package/bin/directories/DirectoriesApi.d.ts +3 -3
- package/bin/directories/DirectoriesApi.js +13 -7
- package/bin/directories/index.d.ts +2 -2
- package/bin/directories/index.js +18 -2
- package/bin/directories/interfaces/IDirectoriesApi.d.ts +2 -2
- package/bin/directories/interfaces/IDirectoriesApi.js +2 -1
- package/bin/directory/DirectoryApi.d.ts +4 -4
- package/bin/directory/DirectoryApi.js +13 -7
- package/bin/directory/index.d.ts +2 -2
- package/bin/directory/index.js +18 -2
- package/bin/directory/interfaces/IDirectoryApi.d.ts +3 -3
- package/bin/directory/interfaces/IDirectoryApi.js +2 -1
- package/bin/directorySetting/DirectorySettingApi.d.ts +3 -3
- package/bin/directorySetting/DirectorySettingApi.js +13 -7
- package/bin/directorySetting/index.d.ts +2 -2
- package/bin/directorySetting/index.js +18 -2
- package/bin/directorySetting/interfaces/IDirectorySettingApi.d.ts +2 -2
- package/bin/directorySetting/interfaces/IDirectorySettingApi.js +2 -1
- package/bin/disputes/DisputesApi.d.ts +1 -1
- package/bin/disputes/DisputesApi.js +13 -7
- package/bin/disputes/index.d.ts +2 -2
- package/bin/disputes/index.js +18 -2
- package/bin/disputes/interfaces/IDisputesApi.js +2 -1
- package/bin/document-generator/DocumentGeneratorApi.d.ts +3 -3
- package/bin/document-generator/DocumentGeneratorApi.js +13 -7
- package/bin/document-generator/index.d.ts +2 -2
- package/bin/document-generator/index.js +18 -2
- package/bin/document-generator/interfaces/IDocumentGeneratorApi.d.ts +2 -2
- package/bin/document-generator/interfaces/IDocumentGeneratorApi.js +2 -1
- package/bin/document-image-processor/DocumentImageProcessorApi.d.ts +3 -3
- package/bin/document-image-processor/DocumentImageProcessorApi.js +8 -5
- package/bin/document-image-processor/index.d.ts +2 -2
- package/bin/document-image-processor/index.js +18 -2
- package/bin/document-image-processor/interfaces/IDocumentImageProcessorApi.d.ts +2 -2
- package/bin/document-image-processor/interfaces/IDocumentImageProcessorApi.js +2 -1
- package/bin/estafeta/api/EstafetaApi.d.ts +6 -6
- package/bin/estafeta/api/EstafetaApi.js +6 -4
- package/bin/estafeta/api/interfaces/IEstafetaApi.d.ts +4 -4
- package/bin/estafeta/api/interfaces/IEstafetaApi.js +2 -1
- package/bin/estafeta/index.d.ts +2 -2
- package/bin/estafeta/index.js +18 -2
- package/bin/event-history-business/EventHistoryApi.d.ts +3 -3
- package/bin/event-history-business/EventHistoryApi.js +13 -7
- package/bin/event-history-business/index.d.ts +2 -2
- package/bin/event-history-business/index.js +18 -2
- package/bin/event-history-business/interfaces/IEventHistoryApi.d.ts +2 -2
- package/bin/event-history-business/interfaces/IEventHistoryApi.js +2 -1
- package/bin/exchangeRates/ExchangeRatesApi.d.ts +3 -3
- package/bin/exchangeRates/ExchangeRatesApi.js +6 -4
- package/bin/exchangeRates/index.d.ts +2 -2
- package/bin/exchangeRates/index.js +18 -2
- package/bin/exchangeRates/interfaces/IExchangeRatesApi.d.ts +2 -2
- package/bin/exchangeRates/interfaces/IExchangeRatesApi.js +2 -1
- package/bin/fiadoMessages/api/FiadoMessagesApi.d.ts +1 -1
- package/bin/fiadoMessages/api/FiadoMessagesApi.js +8 -5
- package/bin/fiadoMessages/api/interfaces/IFiadoMessagesApi.js +2 -1
- package/bin/fiadoMessages/index.d.ts +2 -2
- package/bin/fiadoMessages/index.js +18 -2
- package/bin/firebase-connector/FirebaseConnectorApi.d.ts +2 -2
- package/bin/firebase-connector/FirebaseConnectorApi.js +15 -12
- package/bin/firebase-connector/index.d.ts +2 -2
- package/bin/firebase-connector/index.js +18 -2
- package/bin/firebase-connector/interfaces/IFirebaseConnectorApi.d.ts +1 -1
- package/bin/firebase-connector/interfaces/IFirebaseConnectorApi.js +2 -1
- package/bin/fraudPreventionEngine/api/FraudPreventionEngineApi.d.ts +3 -3
- package/bin/fraudPreventionEngine/api/FraudPreventionEngineApi.js +6 -4
- package/bin/fraudPreventionEngine/api/interfaces/IFraudPreventionEngineApi.d.ts +2 -2
- package/bin/fraudPreventionEngine/api/interfaces/IFraudPreventionEngineApi.js +2 -1
- package/bin/fraudPreventionEngine/index.d.ts +2 -2
- package/bin/fraudPreventionEngine/index.js +18 -2
- package/bin/group/GroupApi.d.ts +3 -3
- package/bin/group/GroupApi.js +13 -7
- package/bin/group/index.d.ts +2 -2
- package/bin/group/index.js +18 -2
- package/bin/group/interfaces/IGroupApi.d.ts +2 -2
- package/bin/group/interfaces/IGroupApi.js +2 -1
- package/bin/identity/IdentityApi.d.ts +2 -2
- package/bin/identity/IdentityApi.js +13 -7
- package/bin/identity/index.d.ts +2 -2
- package/bin/identity/index.js +18 -2
- package/bin/identity/interfaces/IIdentityApi.d.ts +1 -1
- package/bin/identity/interfaces/IIdentityApi.js +2 -1
- package/bin/index.d.ts +76 -77
- package/bin/index.js +92 -77
- package/bin/legalDocument/api/LegalDocumentApi.d.ts +1 -1
- package/bin/legalDocument/api/LegalDocumentApi.js +8 -5
- package/bin/legalDocument/api/interfaces/ILegalDocumentApi.js +2 -1
- package/bin/legalDocument/index.d.ts +2 -2
- package/bin/legalDocument/index.js +18 -2
- package/bin/milestone-business/api/MilestoneBusinessApi.d.ts +2 -2
- package/bin/milestone-business/api/MilestoneBusinessApi.js +6 -4
- package/bin/milestone-business/api/interfaces/IMilestoneBusinessApi.d.ts +1 -1
- package/bin/milestone-business/api/interfaces/IMilestoneBusinessApi.js +2 -1
- package/bin/milestone-business/index.d.ts +2 -2
- package/bin/milestone-business/index.js +18 -2
- package/bin/multicommServicePayment/api/MulticommServicePaymentApi.d.ts +4 -4
- package/bin/multicommServicePayment/api/MulticommServicePaymentApi.js +6 -4
- package/bin/multicommServicePayment/api/interfaces/IMulticommServicePaymentApi.d.ts +3 -3
- package/bin/multicommServicePayment/api/interfaces/IMulticommServicePaymentApi.js +2 -1
- package/bin/multicommServicePayment/index.d.ts +2 -2
- package/bin/multicommServicePayment/index.js +18 -2
- package/bin/notificationMessages/index.d.ts +2 -2
- package/bin/notificationMessages/index.js +18 -2
- package/bin/notificationMessages/queue/NotificationMessagePublisher.d.ts +3 -3
- package/bin/notificationMessages/queue/NotificationMessagePublisher.js +9 -7
- package/bin/notificationMessages/queue/interfaces/INotificationMessagesPublisher.d.ts +2 -2
- package/bin/notificationMessages/queue/interfaces/INotificationMessagesPublisher.js +2 -1
- package/bin/notificationWebsockets/index.d.ts +2 -2
- package/bin/notificationWebsockets/index.js +18 -2
- package/bin/notificationWebsockets/queue/NotificationWSMessagePublisher.d.ts +2 -2
- package/bin/notificationWebsockets/queue/NotificationWSMessagePublisher.js +13 -8
- package/bin/notificationWebsockets/queue/interfaces/INotificationWSMessagesPublisher.d.ts +1 -1
- package/bin/notificationWebsockets/queue/interfaces/INotificationWSMessagesPublisher.js +2 -1
- package/bin/observations/ObservationsApi.d.ts +3 -3
- package/bin/observations/ObservationsApi.js +13 -7
- package/bin/observations/index.d.ts +2 -2
- package/bin/observations/index.js +18 -2
- package/bin/observations/interfaces/IObservationsApi.d.ts +2 -2
- package/bin/observations/interfaces/IObservationsApi.js +2 -1
- package/bin/onboarding/api/OnboardingApi.d.ts +1 -1
- package/bin/onboarding/api/OnboardingApi.js +6 -4
- package/bin/onboarding/api/interfaces/IOnboardingApi.js +2 -1
- package/bin/onboarding/index.d.ts +2 -2
- package/bin/onboarding/index.js +18 -2
- package/bin/onboarding-business/api/OnboardingBusinessApi.d.ts +1 -1
- package/bin/onboarding-business/api/OnboardingBusinessApi.js +6 -4
- package/bin/onboarding-business/api/interfaces/IOnboardingBusinessApi.js +2 -1
- package/bin/onboarding-business/index.d.ts +2 -2
- package/bin/onboarding-business/index.js +18 -2
- package/bin/order-collector-business/OrderCollectorApi.d.ts +2 -2
- package/bin/order-collector-business/OrderCollectorApi.js +13 -7
- package/bin/order-collector-business/index.d.ts +2 -2
- package/bin/order-collector-business/index.js +18 -2
- package/bin/order-collector-business/interfaces/IOrderCollectorApi.d.ts +1 -1
- package/bin/order-collector-business/interfaces/IOrderCollectorApi.js +2 -1
- package/bin/p2pContact/api/P2pContactApi.d.ts +2 -2
- package/bin/p2pContact/api/P2pContactApi.js +6 -4
- package/bin/p2pContact/api/interfaces/IP2pContactApi.d.ts +1 -1
- package/bin/p2pContact/api/interfaces/IP2pContactApi.js +2 -1
- package/bin/p2pContact/index.d.ts +2 -2
- package/bin/p2pContact/index.js +18 -2
- package/bin/payroll-business/PayrollApi.d.ts +2 -2
- package/bin/payroll-business/PayrollApi.js +13 -7
- package/bin/payroll-business/index.d.ts +2 -2
- package/bin/payroll-business/index.js +18 -2
- package/bin/payroll-business/interfaces/IPayrollApi.d.ts +1 -1
- package/bin/payroll-business/interfaces/IPayrollApi.js +2 -1
- package/bin/people-business/api/PeopleBusinessApi.d.ts +3 -3
- package/bin/people-business/api/PeopleBusinessApi.js +6 -4
- package/bin/people-business/api/interfaces/IPeopleBusinessApi.d.ts +2 -2
- package/bin/people-business/api/interfaces/IPeopleBusinessApi.js +2 -1
- package/bin/people-business/index.d.ts +2 -2
- package/bin/people-business/index.js +18 -2
- package/bin/platform-error-events/index.d.ts +2 -2
- package/bin/platform-error-events/index.js +18 -2
- package/bin/platform-error-events/queue/PlatformErrorEventsPublisher.d.ts +2 -2
- package/bin/platform-error-events/queue/PlatformErrorEventsPublisher.js +8 -6
- package/bin/platform-error-events/queue/interfaces/IPlatformErrorEventsPublisher.d.ts +1 -1
- package/bin/platform-error-events/queue/interfaces/IPlatformErrorEventsPublisher.js +2 -1
- package/bin/pomelo/api/PomeloApi.d.ts +3 -3
- package/bin/pomelo/api/PomeloApi.js +6 -4
- package/bin/pomelo/api/interfaces/IPomeloApi.d.ts +2 -2
- package/bin/pomelo/api/interfaces/IPomeloApi.js +2 -1
- package/bin/pomelo/index.d.ts +2 -2
- package/bin/pomelo/index.js +18 -2
- package/bin/pomeloProcessor/api/PomeloProcessorApi.d.ts +1 -1
- package/bin/pomeloProcessor/api/PomeloProcessorApi.js +8 -5
- package/bin/pomeloProcessor/api/interfaces/IPomeloProcessorApi.js +2 -1
- package/bin/pomeloProcessor/index.d.ts +2 -2
- package/bin/pomeloProcessor/index.js +18 -2
- package/bin/pricelist-business/PriceListApi.d.ts +3 -3
- package/bin/pricelist-business/PriceListApi.js +13 -7
- package/bin/pricelist-business/index.d.ts +2 -2
- package/bin/pricelist-business/index.js +18 -2
- package/bin/pricelist-business/interfaces/IPriceListApi.d.ts +2 -2
- package/bin/pricelist-business/interfaces/IPriceListApi.js +2 -1
- package/bin/product-catalog/ProductCatalogApi.d.ts +2 -2
- package/bin/product-catalog/ProductCatalogApi.js +6 -4
- package/bin/product-catalog/index.d.ts +2 -2
- package/bin/product-catalog/index.js +18 -2
- package/bin/product-catalog/interfaces/IProductCatalogApi.d.ts +1 -1
- package/bin/product-catalog/interfaces/IProductCatalogApi.js +2 -1
- package/bin/product-payment/api/ProductPaymentApi.d.ts +4 -4
- package/bin/product-payment/api/ProductPaymentApi.js +6 -4
- package/bin/product-payment/api/interfaces/IProductPaymentApi.d.ts +3 -3
- package/bin/product-payment/api/interfaces/IProductPaymentApi.js +2 -1
- package/bin/product-payment/index.d.ts +2 -2
- package/bin/product-payment/index.js +18 -2
- package/bin/referral-business/ReferralBusinessApi.d.ts +3 -3
- package/bin/referral-business/ReferralBusinessApi.js +13 -7
- package/bin/referral-business/index.d.ts +2 -2
- package/bin/referral-business/index.js +18 -2
- package/bin/referral-business/interfaces/IReferralBusinessApi.d.ts +2 -2
- package/bin/referral-business/interfaces/IReferralBusinessApi.js +2 -1
- package/bin/report-processor-business/api/IReportProcessorBusinessApi.js +2 -1
- package/bin/report-processor-business/api/ReportProcessorBusinessApi.d.ts +1 -1
- package/bin/report-processor-business/api/ReportProcessorBusinessApi.js +6 -4
- package/bin/report-processor-business/index.d.ts +2 -2
- package/bin/report-processor-business/index.js +18 -2
- package/bin/riskProfile/api/RiskProfileApi.d.ts +5 -5
- package/bin/riskProfile/api/RiskProfileApi.js +6 -4
- package/bin/riskProfile/api/TransactionAlertApi.d.ts +2 -2
- package/bin/riskProfile/api/TransactionAlertApi.js +6 -4
- package/bin/riskProfile/api/interfaces/IRiskProfileApi.d.ts +4 -4
- package/bin/riskProfile/api/interfaces/IRiskProfileApi.js +2 -1
- package/bin/riskProfile/api/interfaces/ITransactionAlertApi.d.ts +1 -1
- package/bin/riskProfile/api/interfaces/ITransactionAlertApi.js +2 -1
- package/bin/riskProfile/index.d.ts +6 -6
- package/bin/riskProfile/index.js +22 -6
- package/bin/riskProfile/queue/TransactionAlarmPublisher.d.ts +2 -2
- package/bin/riskProfile/queue/TransactionAlarmPublisher.js +10 -7
- package/bin/riskProfile/queue/interfaces/ITransactionAlarmPublisher.d.ts +1 -1
- package/bin/riskProfile/queue/interfaces/ITransactionAlarmPublisher.js +2 -1
- package/bin/service-business/ServiceApi.d.ts +5 -5
- package/bin/service-business/ServiceApi.js +13 -7
- package/bin/service-business/index.d.ts +2 -2
- package/bin/service-business/index.js +18 -2
- package/bin/service-business/interfaces/IServiceApi.d.ts +4 -4
- package/bin/service-business/interfaces/IServiceApi.js +2 -1
- package/bin/sessionActivity/index.d.ts +2 -2
- package/bin/sessionActivity/index.js +18 -2
- package/bin/sessionActivity/queue/SessionActivityPublisher.d.ts +2 -2
- package/bin/sessionActivity/queue/SessionActivityPublisher.js +10 -7
- package/bin/sessionActivity/queue/interfaces/ISessionActivityPublisher.d.ts +1 -1
- package/bin/sessionActivity/queue/interfaces/ISessionActivityPublisher.js +2 -1
- package/bin/stp-business/api/STPBusinessApi.d.ts +1 -1
- package/bin/stp-business/api/STPBusinessApi.js +6 -4
- package/bin/stp-business/api/interfaces/ISTPBusinessApi.js +2 -1
- package/bin/stp-business/index.d.ts +2 -2
- package/bin/stp-business/index.js +18 -2
- package/bin/stpAccount/api/STPAccountApi.d.ts +3 -3
- package/bin/stpAccount/api/STPAccountApi.js +6 -4
- package/bin/stpAccount/api/interfaces/ISTPAccountApi.d.ts +2 -2
- package/bin/stpAccount/api/interfaces/ISTPAccountApi.js +2 -1
- package/bin/stpAccount/index.d.ts +2 -2
- package/bin/stpAccount/index.js +18 -2
- package/bin/stpServicePayment/api/StpServicePaymentApi.d.ts +4 -4
- package/bin/stpServicePayment/api/StpServicePaymentApi.js +6 -4
- package/bin/stpServicePayment/api/interfaces/IStpServicePaymentApi.d.ts +3 -3
- package/bin/stpServicePayment/api/interfaces/IStpServicePaymentApi.js +2 -1
- package/bin/stpServicePayment/index.d.ts +2 -2
- package/bin/stpServicePayment/index.js +18 -2
- package/bin/stpSpei/api/StpSpeiApi.d.ts +2 -2
- package/bin/stpSpei/api/StpSpeiApi.js +8 -5
- package/bin/stpSpei/api/interfaces/IStpSpeiApi.d.ts +1 -1
- package/bin/stpSpei/api/interfaces/IStpSpeiApi.js +2 -1
- package/bin/stpSpei/index.d.ts +2 -2
- package/bin/stpSpei/index.js +18 -2
- package/bin/teams-connector/index.d.ts +2 -2
- package/bin/teams-connector/index.js +18 -2
- package/bin/teams-connector/queue/TeamsNotificationPublisher.d.ts +2 -2
- package/bin/teams-connector/queue/TeamsNotificationPublisher.js +8 -6
- package/bin/teams-connector/queue/interfaces/ITeamsNotificationPublisher.d.ts +1 -1
- package/bin/teams-connector/queue/interfaces/ITeamsNotificationPublisher.js +2 -1
- package/bin/tern/api/TernApi.d.ts +5 -5
- package/bin/tern/api/TernApi.js +6 -4
- package/bin/tern/api/interfaces/ITernApi.d.ts +6 -6
- package/bin/tern/api/interfaces/ITernApi.js +2 -1
- package/bin/tern/index.d.ts +2 -2
- package/bin/tern/index.js +18 -2
- package/bin/transaction/api/TransactionApi.d.ts +4 -4
- package/bin/transaction/api/TransactionApi.js +6 -4
- package/bin/transaction/api/interfaces/ITransactionApi.d.ts +3 -3
- package/bin/transaction/api/interfaces/ITransactionApi.js +2 -1
- package/bin/transaction/index.d.ts +4 -4
- package/bin/transaction/index.js +20 -4
- package/bin/transaction/queue/TransactionPublisher.d.ts +2 -2
- package/bin/transaction/queue/TransactionPublisher.js +10 -7
- package/bin/transaction/queue/interfaces/ITransactionPublisher.d.ts +1 -1
- package/bin/transaction/queue/interfaces/ITransactionPublisher.js +2 -1
- package/bin/transactionProcessor/api/TransactionProcessorApi.d.ts +4 -4
- package/bin/transactionProcessor/api/TransactionProcessorApi.js +6 -4
- package/bin/transactionProcessor/api/interfaces/ITransactionProcessorApi.d.ts +3 -3
- package/bin/transactionProcessor/api/interfaces/ITransactionProcessorApi.js +2 -1
- package/bin/transactionProcessor/index.d.ts +2 -2
- package/bin/transactionProcessor/index.js +18 -2
- package/bin/uniteller-connector/api/UnitellerConnectorApi.d.ts +3 -3
- package/bin/uniteller-connector/api/UnitellerConnectorApi.js +6 -4
- package/bin/uniteller-connector/api/interfaces/IUnitellerConnectorApi.d.ts +2 -2
- package/bin/uniteller-connector/api/interfaces/IUnitellerConnectorApi.js +2 -1
- package/bin/uniteller-connector/index.d.ts +2 -2
- package/bin/uniteller-connector/index.js +23 -2
- package/bin/utils/InvokerUtils.js +7 -4
- package/bin/zendesk/ZendeskApi.d.ts +3 -3
- package/bin/zendesk/ZendeskApi.js +13 -7
- package/bin/zendesk/index.d.ts +2 -2
- package/bin/zendesk/index.js +18 -2
- package/bin/zendesk/interfaces/IZendeskApi.d.ts +2 -2
- package/bin/zendesk/interfaces/IZendeskApi.js +2 -1
- package/package.json +5 -14
- package/src/account-beneficiary/AccountBeneficiaryApi.ts +3 -3
- package/src/account-beneficiary/index.ts +2 -2
- package/src/account-beneficiary/interfaces/IAccountBeneficiaryApi.ts +2 -2
- package/src/account-fiadoinc/AccountFiadoIncApi.ts +126 -126
- package/src/account-fiadoinc/index.ts +4 -4
- package/src/account-fiadoinc/interfaces/IAccountFiadoIncApi.ts +50 -50
- package/src/account-fiadoinc/queue/Publisher.ts +2 -2
- package/src/account-fiadoinc/queue/interfaces/IPublisher.ts +1 -1
- package/src/account-fiadosa/AccountFiadoSAApi.ts +3 -3
- package/src/account-fiadosa/index.ts +2 -2
- package/src/account-fiadosa/interfaces/IAccountFiadoSAApi.ts +2 -2
- package/src/account-pagoconfiado/AccountPagoConfiadoApi.ts +3 -3
- package/src/account-pagoconfiado/index.ts +2 -2
- package/src/account-pagoconfiado/interfaces/IAccountPagoConfiadoApi.ts +2 -2
- package/src/activity-business/ActivityApi.ts +1 -1
- package/src/activity-business/index.ts +4 -4
- package/src/activity-business/queue/ActivityPublisher.ts +2 -2
- package/src/activity-business/queue/IActivityPublisher.ts +1 -1
- package/src/address/AddressApi.ts +2 -2
- package/src/address/index.ts +2 -2
- package/src/address/interfaces/IAddressApi.ts +1 -1
- package/src/ai-engine-connector/AiEngineApi.ts +28 -28
- package/src/ai-engine-connector/index.ts +2 -2
- package/src/ai-engine-connector/interfaces/IAiEngineApi.ts +6 -6
- package/src/appselectondata/AppSelectionDataApi.ts +2 -2
- package/src/appselectondata/index.ts +2 -2
- package/src/appselectondata/interfaces/IAppSelectionDataApi.ts +17 -17
- package/src/authentication/AuthenticationApi.ts +2 -2
- package/src/authentication/index.ts +2 -2
- package/src/authentication/interfaces/IAuthenticationApi.ts +1 -1
- package/src/bankAccount/BankAccountApi.ts +34 -34
- package/src/bankAccount/index.ts +2 -2
- package/src/bbvaRst/api/BBVARstApi.ts +2 -2
- package/src/bbvaRst/api/interfaces/IBBVARstApi.ts +1 -1
- package/src/bbvaRst/index.ts +2 -2
- package/src/benefits-marketplace/api/BenefitsMarketplaceApi.ts +3 -3
- package/src/benefits-marketplace/api/interfaces/IBenefitsMarketplaceApi.ts +2 -2
- package/src/benefits-marketplace/index.ts +3 -3
- package/src/blacklist/BlackListApi.ts +2 -2
- package/src/blacklist/index.ts +2 -2
- package/src/blacklist/interfaces/IBlackListApi.ts +1 -1
- package/src/card/CardApi.ts +4 -4
- package/src/card/index.ts +2 -2
- package/src/card/interfaces/ICardApi.ts +3 -3
- package/src/card-business/index.ts +2 -2
- package/src/card-business/queue/CardBusinessPublisher.ts +1 -1
- package/src/centralPayments/CentralPaymentsConnectorApi.ts +317 -317
- package/src/centralPayments/index.ts +2 -2
- package/src/centralPayments/interfaces/ICentralPaymentsConnectorApi.ts +153 -153
- package/src/circuloCredito/api/CirculoCreditoApi.ts +2 -2
- package/src/circuloCredito/api/interfaces/ICirculoCreditoApi.ts +1 -1
- package/src/circuloCredito/index.ts +2 -2
- package/src/cnbv-business/CnbvApi.ts +1 -1
- package/src/cnbv-business/index.ts +2 -2
- package/src/cnbv-connector/CnbvConnectorApi.ts +2 -2
- package/src/cnbv-connector/index.ts +2 -2
- package/src/cnbv-connector/interfaces/ICnbvConnectorApi.ts +1 -1
- package/src/cognitoBackofficeConnector/api/CognitoBackofficeConnectorApi.ts +251 -0
- package/src/cognitoBackofficeConnector/api/interfaces/ICognitoBackofficeConnectorApi.ts +170 -0
- package/src/cognitoBackofficeConnector/index.ts +2 -0
- package/src/cognitoConnector/CognitoConnectorApi.ts +2 -2
- package/src/cognitoConnector/CognitoConnectorV2.ts +2 -2
- package/src/cognitoConnector/index.ts +4 -4
- package/src/cognitoConnector/interfaces/ICognitoConnectorApi.ts +2 -2
- package/src/cognitoConnector/interfaces/ICognitoV2Api.ts +1 -1
- package/src/collector/CollectorApi.ts +97 -98
- package/src/collector/index.ts +2 -2
- package/src/collector/interfaces/ICollectorApi.ts +47 -47
- package/src/commission-business/CommissionBusinessApi.ts +2 -2
- package/src/commission-business/index.ts +2 -2
- package/src/commission-business/interfaces/ICommissionBusinessApi.ts +1 -1
- package/src/contactInformation/ContactInformationApi.ts +2 -2
- package/src/contactInformation/index.ts +2 -2
- package/src/contactInformation/interface/IContactInformationApi.ts +1 -1
- package/src/container.config.ts +131 -135
- package/src/contract-business/api/ContractBusinessApi.ts +1 -1
- package/src/contract-business/index.ts +2 -2
- package/src/contract-generator/ContractGeneratorApi.ts +2 -2
- package/src/contract-generator/index.ts +2 -2
- package/src/contract-generator/interfaces/IContractGeneratorApi.ts +1 -1
- package/src/countries-business/CountriesBusinessApi.ts +1 -1
- package/src/countries-business/index.ts +2 -2
- package/src/credit-engine/CreditEngineApi.ts +3 -3
- package/src/credit-engine/index.ts +13 -13
- package/src/credit-engine/interfaces/ICreditEngineApi.ts +2 -2
- package/src/credit-engine/queue/CreditCollectionPublisher.ts +2 -2
- package/src/credit-engine/queue/CreditDelinquencyPublisher.ts +2 -2
- package/src/credit-engine/queue/CreditIncomeDetectionPublisher.ts +2 -2
- package/src/credit-engine/queue/CreditLienCollectionPublisher.ts +2 -2
- package/src/credit-engine/queue/CreditNotificationPublisher.ts +2 -2
- package/src/credit-engine/queue/CreditOfferGenerationPublisher.ts +2 -2
- package/src/credit-engine/queue/CreditReconciliationPublisher.ts +2 -2
- package/src/credit-engine/queue/CreditScoringPublisher.ts +2 -2
- package/src/credit-engine/queue/CreditStatementPublisher.ts +2 -2
- package/src/credit-engine/queue/CreditTransferPublisher.ts +2 -2
- package/src/credit-engine/queue/interfaces/ICreditCollectionPublisher.ts +1 -1
- package/src/credit-engine/queue/interfaces/ICreditDelinquencyPublisher.ts +1 -1
- package/src/credit-engine/queue/interfaces/ICreditIncomeDetectionPublisher.ts +1 -1
- package/src/credit-engine/queue/interfaces/ICreditLienCollectionPublisher.ts +1 -1
- package/src/credit-engine/queue/interfaces/ICreditNotificationPublisher.ts +1 -1
- package/src/credit-engine/queue/interfaces/ICreditOfferGenerationPublisher.ts +1 -1
- package/src/credit-engine/queue/interfaces/ICreditReconciliationPublisher.ts +1 -1
- package/src/credit-engine/queue/interfaces/ICreditScoringPublisher.ts +1 -1
- package/src/credit-engine/queue/interfaces/ICreditStatementPublisher.ts +1 -1
- package/src/credit-engine/queue/interfaces/ICreditTransferPublisher.ts +1 -1
- package/src/credit-payment/CreditPaymentApi.ts +1 -1
- package/src/credit-payment/index.ts +2 -2
- package/src/credit-statements/api/CreditStatementsApi.ts +1 -1
- package/src/credit-statements/index.ts +2 -2
- package/src/device/DeviceApi.ts +2 -2
- package/src/device/index.ts +2 -2
- package/src/device/interfaces/IDeviceApi.ts +1 -1
- package/src/directories/DirectoriesApi.ts +63 -63
- package/src/directories/index.ts +2 -2
- package/src/directories/interfaces/IDirectoriesApi.ts +17 -17
- package/src/directory/DirectoryApi.ts +4 -4
- package/src/directory/index.ts +2 -2
- package/src/directory/interfaces/IDirectoryApi.ts +3 -3
- package/src/directorySetting/DirectorySettingApi.ts +42 -42
- package/src/directorySetting/index.ts +2 -2
- package/src/directorySetting/interfaces/IDirectorySettingApi.ts +56 -56
- package/src/disputes/DisputesApi.ts +2 -2
- package/src/disputes/index.ts +2 -2
- package/src/document-generator/DocumentGeneratorApi.ts +3 -3
- package/src/document-generator/index.ts +2 -2
- package/src/document-generator/interfaces/IDocumentGeneratorApi.ts +2 -2
- package/src/document-image-processor/DocumentImageProcessorApi.ts +22 -22
- package/src/document-image-processor/index.ts +2 -2
- package/src/document-image-processor/interfaces/IDocumentImageProcessorApi.ts +7 -7
- package/src/estafeta/api/EstafetaApi.ts +67 -67
- package/src/estafeta/api/interfaces/IEstafetaApi.ts +28 -28
- package/src/estafeta/index.ts +2 -2
- package/src/event-history-business/EventHistoryApi.ts +3 -3
- package/src/event-history-business/index.ts +2 -2
- package/src/event-history-business/interfaces/IEventHistoryApi.ts +2 -2
- package/src/exchangeRates/ExchangeRatesApi.ts +27 -27
- package/src/exchangeRates/index.ts +2 -2
- package/src/exchangeRates/interfaces/IExchangeRatesApi.ts +8 -8
- package/src/fiadoMessages/api/FiadoMessagesApi.ts +1 -1
- package/src/fiadoMessages/index.ts +2 -2
- package/src/firebase-connector/FirebaseConnectorApi.ts +53 -53
- package/src/firebase-connector/index.ts +2 -2
- package/src/firebase-connector/interfaces/IFirebaseConnectorApi.ts +6 -6
- package/src/fraudPreventionEngine/api/FraudPreventionEngineApi.ts +22 -22
- package/src/fraudPreventionEngine/api/interfaces/IFraudPreventionEngineApi.ts +7 -7
- package/src/fraudPreventionEngine/index.ts +2 -2
- package/src/group/GroupApi.ts +69 -69
- package/src/group/index.ts +2 -2
- package/src/group/interfaces/IGroupApi.ts +40 -40
- package/src/identity/IdentityApi.ts +2 -2
- package/src/identity/index.ts +2 -2
- package/src/identity/interfaces/IIdentityApi.ts +1 -1
- package/src/index.ts +76 -77
- package/src/legalDocument/api/LegalDocumentApi.ts +1 -1
- package/src/legalDocument/index.ts +2 -2
- package/src/milestone-business/api/MilestoneBusinessApi.ts +2 -2
- package/src/milestone-business/api/interfaces/IMilestoneBusinessApi.ts +1 -1
- package/src/milestone-business/index.ts +2 -2
- package/src/multicommServicePayment/api/MulticommServicePaymentApi.ts +89 -89
- package/src/multicommServicePayment/api/interfaces/IMulticommServicePaymentApi.ts +40 -40
- package/src/multicommServicePayment/index.ts +2 -2
- package/src/notificationMessages/index.ts +2 -2
- package/src/notificationMessages/queue/NotificationMessagePublisher.ts +42 -42
- package/src/notificationMessages/queue/interfaces/INotificationMessagesPublisher.ts +7 -7
- package/src/notificationWebsockets/index.ts +2 -2
- package/src/notificationWebsockets/queue/NotificationWSMessagePublisher.ts +2 -2
- package/src/notificationWebsockets/queue/interfaces/INotificationWSMessagesPublisher.ts +1 -1
- package/src/observations/ObservationsApi.ts +23 -23
- package/src/observations/index.ts +2 -2
- package/src/observations/interfaces/IObservationsApi.ts +9 -9
- package/src/onboarding/api/OnboardingApi.ts +1 -1
- package/src/onboarding/index.ts +2 -2
- package/src/onboarding-business/api/OnboardingBusinessApi.ts +1 -1
- package/src/onboarding-business/index.ts +2 -2
- package/src/order-collector-business/OrderCollectorApi.ts +2 -2
- package/src/order-collector-business/index.ts +2 -2
- package/src/order-collector-business/interfaces/IOrderCollectorApi.ts +1 -1
- package/src/p2pContact/api/P2pContactApi.ts +2 -2
- package/src/p2pContact/api/interfaces/IP2pContactApi.ts +1 -1
- package/src/p2pContact/index.ts +2 -2
- package/src/payroll-business/PayrollApi.ts +2 -2
- package/src/payroll-business/index.ts +2 -2
- package/src/payroll-business/interfaces/IPayrollApi.ts +1 -1
- package/src/people-business/api/PeopleBusinessApi.ts +32 -32
- package/src/people-business/api/interfaces/IPeopleBusinessApi.ts +7 -7
- package/src/people-business/index.ts +2 -2
- package/src/platform-error-events/index.ts +2 -2
- package/src/platform-error-events/queue/PlatformErrorEventsPublisher.ts +2 -2
- package/src/platform-error-events/queue/interfaces/IPlatformErrorEventsPublisher.ts +1 -1
- package/src/pomelo/api/PomeloApi.ts +3 -3
- package/src/pomelo/api/interfaces/IPomeloApi.ts +2 -2
- package/src/pomelo/index.ts +2 -2
- package/src/pomeloProcessor/api/PomeloProcessorApi.ts +1 -1
- package/src/pomeloProcessor/index.ts +2 -2
- package/src/pricelist-business/PriceListApi.ts +45 -45
- package/src/pricelist-business/index.ts +2 -2
- package/src/pricelist-business/interfaces/IPriceListApi.ts +16 -16
- package/src/product-catalog/ProductCatalogApi.ts +17 -17
- package/src/product-catalog/index.ts +2 -2
- package/src/product-catalog/interfaces/IProductCatalogApi.ts +6 -6
- package/src/product-payment/api/ProductPaymentApi.ts +4 -4
- package/src/product-payment/api/interfaces/IProductPaymentApi.ts +3 -3
- package/src/product-payment/index.ts +2 -2
- package/src/referral-business/ReferralBusinessApi.ts +37 -37
- package/src/referral-business/index.ts +2 -2
- package/src/referral-business/interfaces/IReferralBusinessApi.ts +38 -38
- package/src/report-processor-business/api/ReportProcessorBusinessApi.ts +1 -1
- package/src/report-processor-business/index.ts +2 -2
- package/src/riskProfile/api/RiskProfileApi.ts +63 -63
- package/src/riskProfile/api/TransactionAlertApi.ts +2 -2
- package/src/riskProfile/api/interfaces/IRiskProfileApi.ts +51 -51
- package/src/riskProfile/api/interfaces/ITransactionAlertApi.ts +1 -1
- package/src/riskProfile/index.ts +6 -6
- package/src/riskProfile/queue/TransactionAlarmPublisher.ts +2 -2
- package/src/riskProfile/queue/interfaces/ITransactionAlarmPublisher.ts +1 -1
- package/src/service-business/ServiceApi.ts +78 -78
- package/src/service-business/index.ts +2 -2
- package/src/service-business/interfaces/IServiceApi.ts +73 -73
- package/src/sessionActivity/index.ts +2 -2
- package/src/sessionActivity/queue/SessionActivityPublisher.ts +2 -2
- package/src/sessionActivity/queue/interfaces/ISessionActivityPublisher.ts +1 -1
- package/src/stp-business/api/STPBusinessApi.ts +1 -1
- package/src/stp-business/index.ts +2 -2
- package/src/stpAccount/api/STPAccountApi.ts +3 -3
- package/src/stpAccount/api/interfaces/ISTPAccountApi.ts +2 -2
- package/src/stpAccount/index.ts +2 -2
- package/src/stpServicePayment/api/StpServicePaymentApi.ts +89 -89
- package/src/stpServicePayment/api/interfaces/IStpServicePaymentApi.ts +40 -40
- package/src/stpServicePayment/index.ts +2 -2
- package/src/stpSpei/api/StpSpeiApi.ts +2 -2
- package/src/stpSpei/api/interfaces/IStpSpeiApi.ts +1 -1
- package/src/stpSpei/index.ts +2 -2
- package/src/teams-connector/index.ts +2 -2
- package/src/teams-connector/queue/TeamsNotificationPublisher.ts +2 -2
- package/src/teams-connector/queue/interfaces/ITeamsNotificationPublisher.ts +1 -1
- package/src/tern/api/TernApi.ts +147 -147
- package/src/tern/api/interfaces/ITernApi.ts +54 -54
- package/src/tern/index.ts +2 -2
- package/src/transaction/api/TransactionApi.ts +157 -157
- package/src/transaction/api/interfaces/ITransactionApi.ts +82 -82
- package/src/transaction/index.ts +4 -4
- package/src/transaction/queue/TransactionPublisher.ts +2 -2
- package/src/transaction/queue/interfaces/ITransactionPublisher.ts +1 -1
- package/src/transactionProcessor/api/TransactionProcessorApi.ts +57 -57
- package/src/transactionProcessor/api/interfaces/ITransactionProcessorApi.ts +28 -28
- package/src/transactionProcessor/index.ts +2 -2
- package/src/uniteller-connector/api/UnitellerConnectorApi.ts +3 -3
- package/src/uniteller-connector/api/interfaces/IUnitellerConnectorApi.ts +2 -2
- package/src/uniteller-connector/index.ts +2 -2
- package/src/zendesk/ZendeskApi.ts +24 -24
- package/src/zendesk/index.ts +2 -2
- package/src/zendesk/interfaces/IZendeskApi.ts +10 -10
- package/src/messages-connector/api/MessagesConnectorApi.ts +0 -50
- package/src/messages-connector/api/interfaces/IMessagesConnectorApi.ts +0 -25
- package/src/messages-connector/index.ts +0 -4
- package/src/messages-connector/queue/MessagesConnectorPublisher.ts +0 -18
- package/src/messages-connector/queue/interfaces/IMessagesConnectorPublisher.ts +0 -5
- package/src/sns-ses-connector/api/SnsSesConnectorApi.ts +0 -17
- package/src/sns-ses-connector/api/interfaces/ISnsSesConnectorApi.ts +0 -6
- package/src/sns-ses-connector/index.ts +0 -2
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
import { ApiGatewayResponse } from "@fiado/gateway-adapter";
|
|
2
|
+
import {
|
|
3
|
+
CreateUserRequest,
|
|
4
|
+
CreateUserResponse,
|
|
5
|
+
UpdateUserAttributesRequest,
|
|
6
|
+
UserActionRequest,
|
|
7
|
+
ResendInvitationRequest,
|
|
8
|
+
UserDetailResponse,
|
|
9
|
+
AuthEventsRequest,
|
|
10
|
+
AuthEventResponse,
|
|
11
|
+
InitiateAuthRequest,
|
|
12
|
+
InitiateAuthResponse,
|
|
13
|
+
RespondToChallengeRequest,
|
|
14
|
+
RespondToChallengeResponse,
|
|
15
|
+
RefreshTokensRequest,
|
|
16
|
+
RefreshTokensResponse,
|
|
17
|
+
ForgotPasswordRequest,
|
|
18
|
+
ConfirmForgotPasswordRequest,
|
|
19
|
+
ResendConfirmationRequest,
|
|
20
|
+
ChangePasswordRequest,
|
|
21
|
+
TotpBeginRequest,
|
|
22
|
+
TotpBeginResponse,
|
|
23
|
+
TotpVerifyRequest,
|
|
24
|
+
MfaVerifyResponse,
|
|
25
|
+
SetMfaPreferenceRequest,
|
|
26
|
+
MfaResetRequest,
|
|
27
|
+
UpdateEmailRequest,
|
|
28
|
+
VerifyEmailRequest,
|
|
29
|
+
UpdateProfileRequest,
|
|
30
|
+
PoolsListResponse,
|
|
31
|
+
PoolConfigResponse,
|
|
32
|
+
HealthcheckResponse,
|
|
33
|
+
} from "@fiado/type-kit/bin/cognitoBackofficeConnector";
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* Contrato del publisher HTTP del lambda `cognito-backoffice-connector` (componente 05 SureKeep Fase 0).
|
|
37
|
+
*
|
|
38
|
+
* Cobertura: 27 endpoints del openapi privado del connector, agrupados por dominio.
|
|
39
|
+
*
|
|
40
|
+
* Patrón de retorno: `Promise<ApiGatewayResponse<T>>` sin unwrap (v4 canonical Fiado).
|
|
41
|
+
* El consumer accede `result.body.data` para llegar al payload tipado.
|
|
42
|
+
*/
|
|
43
|
+
export interface ICognitoBackofficeConnectorApi {
|
|
44
|
+
// ============= Admin user CRUD (9) =============
|
|
45
|
+
|
|
46
|
+
/** POST /users — crea un usuario admin en el pool. */
|
|
47
|
+
createUser(input: CreateUserRequest): Promise<ApiGatewayResponse<CreateUserResponse>>;
|
|
48
|
+
|
|
49
|
+
/** GET /users/{cognitoSub}?userPoolId=... — obtiene un usuario por sub. */
|
|
50
|
+
getUser(cognitoSub: string, userPoolId: string): Promise<ApiGatewayResponse<UserDetailResponse>>;
|
|
51
|
+
|
|
52
|
+
/** PUT /users/{cognitoSub}/attributes — actualiza atributos del usuario. */
|
|
53
|
+
updateUserAttributes(
|
|
54
|
+
cognitoSub: string,
|
|
55
|
+
input: UpdateUserAttributesRequest,
|
|
56
|
+
): Promise<ApiGatewayResponse<void>>;
|
|
57
|
+
|
|
58
|
+
/** DELETE /users/{cognitoSub}?userPoolId=... — elimina al usuario del pool. */
|
|
59
|
+
deleteUser(cognitoSub: string, userPoolId: string): Promise<ApiGatewayResponse<void>>;
|
|
60
|
+
|
|
61
|
+
/** POST /users/{cognitoSub}/disable — disable + globalSignOut encadenado (D1 connector). */
|
|
62
|
+
disableUser(
|
|
63
|
+
cognitoSub: string,
|
|
64
|
+
input: UserActionRequest,
|
|
65
|
+
): Promise<ApiGatewayResponse<void>>;
|
|
66
|
+
|
|
67
|
+
/** POST /users/{cognitoSub}/enable — habilita al usuario. */
|
|
68
|
+
enableUser(
|
|
69
|
+
cognitoSub: string,
|
|
70
|
+
input: UserActionRequest,
|
|
71
|
+
): Promise<ApiGatewayResponse<void>>;
|
|
72
|
+
|
|
73
|
+
/** POST /users/{cognitoSub}/password/reset — reset + globalSignOut encadenado (D1 connector). */
|
|
74
|
+
resetUserPassword(
|
|
75
|
+
cognitoSub: string,
|
|
76
|
+
input: UserActionRequest,
|
|
77
|
+
): Promise<ApiGatewayResponse<void>>;
|
|
78
|
+
|
|
79
|
+
/** POST /users/{cognitoSub}/global-signout — revoca todas las sesiones activas. */
|
|
80
|
+
globalSignOut(
|
|
81
|
+
cognitoSub: string,
|
|
82
|
+
input: UserActionRequest,
|
|
83
|
+
): Promise<ApiGatewayResponse<void>>;
|
|
84
|
+
|
|
85
|
+
/**
|
|
86
|
+
* POST /users/{cognitoSub}/resend-invitation — re-envía email de invitación con
|
|
87
|
+
* temporaryPassword regenerada. Devuelve solo `cognitoSub` + `temporaryPassword?`
|
|
88
|
+
* (NO `CreateUserResponse` completa).
|
|
89
|
+
*/
|
|
90
|
+
resendInvitation(
|
|
91
|
+
cognitoSub: string,
|
|
92
|
+
input: ResendInvitationRequest,
|
|
93
|
+
): Promise<ApiGatewayResponse<{ cognitoSub: string; temporaryPassword?: string }>>;
|
|
94
|
+
|
|
95
|
+
// ============= MFA admin + setup (4) =============
|
|
96
|
+
|
|
97
|
+
/** POST /mfa/totp/begin — genera secretCode + sessionToken para asociar app TOTP. */
|
|
98
|
+
mfaTotpBegin(input: TotpBeginRequest): Promise<ApiGatewayResponse<TotpBeginResponse>>;
|
|
99
|
+
|
|
100
|
+
/** POST /mfa/totp/verify — verifica el primer userCode contra el secretCode. */
|
|
101
|
+
mfaTotpVerify(input: TotpVerifyRequest): Promise<ApiGatewayResponse<MfaVerifyResponse>>;
|
|
102
|
+
|
|
103
|
+
/** PUT /mfa/preference — fija preferencia MFA (TOTP vs EMAIL) del usuario. */
|
|
104
|
+
setMfaPreference(input: SetMfaPreferenceRequest): Promise<ApiGatewayResponse<void>>;
|
|
105
|
+
|
|
106
|
+
/** POST /users/{cognitoSub}/mfa/reset — reset MFA admin + globalSignOut encadenado (D1 connector). */
|
|
107
|
+
resetUserMfa(
|
|
108
|
+
cognitoSub: string,
|
|
109
|
+
input: MfaResetRequest,
|
|
110
|
+
): Promise<ApiGatewayResponse<void>>;
|
|
111
|
+
|
|
112
|
+
// ============= Auth flow no-admin BFF M18 (7) =============
|
|
113
|
+
|
|
114
|
+
/** POST /auth/initiate — inicia auth flow no-admin (devuelve tokens o challenge). */
|
|
115
|
+
authInitiate(input: InitiateAuthRequest): Promise<ApiGatewayResponse<InitiateAuthResponse>>;
|
|
116
|
+
|
|
117
|
+
/** POST /auth/respond-challenge — responde a challenge pendiente (devuelve tokens o nuevo challenge). */
|
|
118
|
+
authRespondChallenge(
|
|
119
|
+
input: RespondToChallengeRequest,
|
|
120
|
+
): Promise<ApiGatewayResponse<RespondToChallengeResponse>>;
|
|
121
|
+
|
|
122
|
+
/** POST /auth/refresh-tokens — refresca accessToken+idToken usando refreshToken. */
|
|
123
|
+
authRefreshTokens(
|
|
124
|
+
input: RefreshTokensRequest,
|
|
125
|
+
): Promise<ApiGatewayResponse<RefreshTokensResponse>>;
|
|
126
|
+
|
|
127
|
+
/** POST /auth/forgot-password — inicia flow forgot password no-admin. */
|
|
128
|
+
authForgotPassword(input: ForgotPasswordRequest): Promise<ApiGatewayResponse<void>>;
|
|
129
|
+
|
|
130
|
+
/** POST /auth/confirm-forgot-password — confirma código + nueva password. */
|
|
131
|
+
authConfirmForgotPassword(
|
|
132
|
+
input: ConfirmForgotPasswordRequest,
|
|
133
|
+
): Promise<ApiGatewayResponse<void>>;
|
|
134
|
+
|
|
135
|
+
/** POST /auth/resend-confirmation — re-envía código de confirmation. */
|
|
136
|
+
authResendConfirmation(
|
|
137
|
+
input: ResendConfirmationRequest,
|
|
138
|
+
): Promise<ApiGatewayResponse<void>>;
|
|
139
|
+
|
|
140
|
+
/** POST /auth/change-password — cambia password self-service usando accessToken. */
|
|
141
|
+
authChangePassword(input: ChangePasswordRequest): Promise<ApiGatewayResponse<void>>;
|
|
142
|
+
|
|
143
|
+
// ============= Email + Profile self-service (3) =============
|
|
144
|
+
|
|
145
|
+
/** POST /users/email/update — request cambio de email self-service (queda pending verification). */
|
|
146
|
+
updateEmail(input: UpdateEmailRequest): Promise<ApiGatewayResponse<void>>;
|
|
147
|
+
|
|
148
|
+
/** POST /users/email/verify — verifica código del email nuevo. */
|
|
149
|
+
verifyEmail(input: VerifyEmailRequest): Promise<ApiGatewayResponse<void>>;
|
|
150
|
+
|
|
151
|
+
/** POST /users/profile/update — actualiza profile attrs self-service (NO email — usar updateEmail). */
|
|
152
|
+
updateProfile(input: UpdateProfileRequest): Promise<ApiGatewayResponse<void>>;
|
|
153
|
+
|
|
154
|
+
// ============= Pool + auth events + healthcheck (4) =============
|
|
155
|
+
|
|
156
|
+
/** GET /users/{cognitoSub}/auth-events?userPoolId=...&maxResults=... — lista eventos auth recientes. */
|
|
157
|
+
listUserAuthEvents(
|
|
158
|
+
cognitoSub: string,
|
|
159
|
+
input: AuthEventsRequest,
|
|
160
|
+
): Promise<ApiGatewayResponse<AuthEventResponse[]>>;
|
|
161
|
+
|
|
162
|
+
/** GET /pools — lista pools activos (cached 5min en el connector). */
|
|
163
|
+
listPools(): Promise<ApiGatewayResponse<PoolsListResponse>>;
|
|
164
|
+
|
|
165
|
+
/** GET /pools/{userPoolId} — obtiene config de un pool específico (fresh DDB query). */
|
|
166
|
+
getPool(userPoolId: string): Promise<ApiGatewayResponse<PoolConfigResponse>>;
|
|
167
|
+
|
|
168
|
+
/** GET /healthcheck — liveness probe del connector. */
|
|
169
|
+
healthcheck(): Promise<ApiGatewayResponse<HealthcheckResponse>>;
|
|
170
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { IHttpRequest } from "@fiado/http-client";
|
|
2
|
-
import { GetUserRequest, GetUserResponse, RefreshTokenRequest, RefreshTokenResponse, RespondToAuthChallengeRequest, SetPasswordRequest, SignInRequest, SignInResponse, SignUpConfirmRequest, SignUpRequest, SignUpResponse } from "@fiado/type-kit/bin/cognitoConnector
|
|
2
|
+
import { GetUserRequest, GetUserResponse, RefreshTokenRequest, RefreshTokenResponse, RespondToAuthChallengeRequest, SetPasswordRequest, SignInRequest, SignInResponse, SignUpConfirmRequest, SignUpRequest, SignUpResponse } from "@fiado/type-kit/bin/cognitoConnector";
|
|
3
3
|
import { inject, injectable } from "inversify";
|
|
4
|
-
import { ICognitoConnectorApi } from "./interfaces/ICognitoConnectorApi
|
|
4
|
+
import { ICognitoConnectorApi } from "./interfaces/ICognitoConnectorApi";
|
|
5
5
|
|
|
6
6
|
@injectable()
|
|
7
7
|
export default class CognitoConnectorApi implements ICognitoConnectorApi {
|
|
@@ -13,8 +13,8 @@ import {
|
|
|
13
13
|
RefreshTokenResponse,
|
|
14
14
|
RespondToAuthChallengeRequest,
|
|
15
15
|
SetPasswordRequest
|
|
16
|
-
} from "@fiado/type-kit/bin/cognitoConnector
|
|
17
|
-
import { HealthcheckResponse, ICognitoV2Api } from "./interfaces/ICognitoV2Api
|
|
16
|
+
} from "@fiado/type-kit/bin/cognitoConnector";
|
|
17
|
+
import { HealthcheckResponse, ICognitoV2Api } from "./interfaces/ICognitoV2Api";
|
|
18
18
|
|
|
19
19
|
@injectable()
|
|
20
20
|
export default class CognitoApi implements ICognitoV2Api {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
export * from './interfaces/ICognitoConnectorApi
|
|
5
|
-
export * from './CognitoConnectorApi
|
|
4
|
+
export * from './interfaces/ICognitoConnectorApi';
|
|
5
|
+
export * from './CognitoConnectorApi';
|
|
6
6
|
|
|
7
|
-
export * from './interfaces/ICognitoV2Api
|
|
8
|
-
export * from './CognitoConnectorV2
|
|
7
|
+
export * from './interfaces/ICognitoV2Api';
|
|
8
|
+
export * from './CognitoConnectorV2';
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { GetUserRequest, GetUserResponse, RefreshTokenRequest, RefreshTokenResponse, RespondToAuthChallengeRequest, SetPasswordRequest, SignInRequest, SignInResponse, SignUpConfirmRequest, SignUpRequest, SignUpResponse } from "@fiado/type-kit/bin/cognitoConnector
|
|
2
|
-
import { TypeOfDirectoryId } from "@fiado/type-kit/bin/directory
|
|
1
|
+
import { GetUserRequest, GetUserResponse, RefreshTokenRequest, RefreshTokenResponse, RespondToAuthChallengeRequest, SetPasswordRequest, SignInRequest, SignInResponse, SignUpConfirmRequest, SignUpRequest, SignUpResponse } from "@fiado/type-kit/bin/cognitoConnector";
|
|
2
|
+
import { TypeOfDirectoryId } from "@fiado/type-kit/bin/directory";
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ChangePasswordRequest, GetUserRequest, GetUserResponse, RefreshTokenRequest, RefreshTokenResponse, RespondToAuthChallengeRequest, SetPasswordRequest, SignInRequest, SignInResponse, SignUpConfirmRequest, SignUpRequest, SignUpResponse } from "@fiado/type-kit/bin/cognitoConnector
|
|
1
|
+
import { ChangePasswordRequest, GetUserRequest, GetUserResponse, RefreshTokenRequest, RefreshTokenResponse, RespondToAuthChallengeRequest, SetPasswordRequest, SignInRequest, SignInResponse, SignUpConfirmRequest, SignUpRequest, SignUpResponse } from "@fiado/type-kit/bin/cognitoConnector";
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
export interface ICognitoV2Api {
|
|
@@ -1,98 +1,97 @@
|
|
|
1
|
-
import dotenv from 'dotenv';
|
|
2
|
-
import { inject, injectable } from "inversify";
|
|
3
|
-
import { IHttpRequest } from "@fiado/http-client";
|
|
4
|
-
import { ICollectorApi } from './interfaces/ICollectorApi
|
|
5
|
-
import
|
|
6
|
-
import { CollectorTransactionResponse, CollectorTransactionUpdateRequest, GetLastExchangeRateOutput } from '@fiado/type-kit/bin/collector
|
|
7
|
-
import { ApiResponse } from '@fiado/gateway-adapter';
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
*
|
|
23
|
-
* @
|
|
24
|
-
*
|
|
25
|
-
*
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
*
|
|
70
|
-
*
|
|
71
|
-
*
|
|
72
|
-
*
|
|
73
|
-
* @
|
|
74
|
-
*
|
|
75
|
-
*
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
}
|
|
1
|
+
import dotenv from 'dotenv';
|
|
2
|
+
import { inject, injectable } from "inversify";
|
|
3
|
+
import { IHttpRequest } from "@fiado/http-client";
|
|
4
|
+
import { ICollectorApi } from './interfaces/ICollectorApi';
|
|
5
|
+
import CreditContractCreateRequest from '@fiado/type-kit/bin/creditContract/dtos/CreditContractCreateRequest';
|
|
6
|
+
import { CollectorTransactionResponse, CollectorTransactionUpdateRequest, GetLastExchangeRateOutput } from '@fiado/type-kit/bin/collector';
|
|
7
|
+
import { ApiResponse, APIGatewayProxyResultBody } from '@fiado/gateway-adapter';
|
|
8
|
+
import FiadoApiResponse from "@fiado/type-kit/bin/apiResponse/dtos/FiadoApiResponse";
|
|
9
|
+
import { CreditContractUpdateRequest } from '@fiado/type-kit/bin/collector/dtos/CreditContractUpdateRequest';
|
|
10
|
+
|
|
11
|
+
dotenv.config();
|
|
12
|
+
|
|
13
|
+
@injectable()
|
|
14
|
+
export class CollectorApi implements ICollectorApi {
|
|
15
|
+
|
|
16
|
+
private readonly baseUrl = process.env.COLLECTOR_LAMBDA_URL || "";
|
|
17
|
+
|
|
18
|
+
constructor(@inject("IHttpRequest") private httpRequest: IHttpRequest) { }
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Crea un nuevo contrato de crédito.
|
|
22
|
+
* @param CreditContractCreateRequest Objeto con la información necesaria para crear el contrato.
|
|
23
|
+
* @returns Una promesa que resuelve a un arreglo de objetos de people.
|
|
24
|
+
* Puede devolver un arreglo vacío si no se encuentran coincidencias.
|
|
25
|
+
* @throws {Error} Lanza un error si los parámetros de entrada son inválidos.
|
|
26
|
+
*/
|
|
27
|
+
async createCreditContract(object: CreditContractCreateRequest): Promise<any> {
|
|
28
|
+
const url = `${this.baseUrl}collector/creditcontracts/create`;
|
|
29
|
+
return await this.httpRequest.post(url, object);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
async getCreditContract(relatedId: string): Promise<any> {
|
|
33
|
+
const url = `${this.baseUrl}collector/creditcontracts/collectordata?externalRelatedId=${relatedId}`;
|
|
34
|
+
return await this.httpRequest.get(url);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
async getCreditContractByRelatedPreAuthId(relatedPreAuthId: string): Promise<any> {
|
|
38
|
+
const url = `${this.baseUrl}collector/creditcontracts/query?relatedPreAuthId=${relatedPreAuthId}`;
|
|
39
|
+
return await this.httpRequest.get(url);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
async getCollectorTransactionByIds(ids: string[]): Promise<APIGatewayProxyResultBody<CollectorTransactionResponse[]>> {
|
|
43
|
+
|
|
44
|
+
if (ids.length === 0) {
|
|
45
|
+
const data: CollectorTransactionResponse[] = [];
|
|
46
|
+
return ApiResponse.success({ data });
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
const searchParams = new URLSearchParams();
|
|
50
|
+
ids.forEach(id => searchParams.append('ids', id));
|
|
51
|
+
|
|
52
|
+
const url = `${this.baseUrl}collector/get/ids?${searchParams.toString()}`;
|
|
53
|
+
|
|
54
|
+
return await this.httpRequest.get(url);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
async putCollectorTransactionBulk(object: CollectorTransactionUpdateRequest[]): Promise<void> {
|
|
58
|
+
const url = `${this.baseUrl}/collector/transactions/bulk`;
|
|
59
|
+
return await this.httpRequest.put(url, object);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
async getLastExchangeRate(currencyId: string): Promise<FiadoApiResponse<GetLastExchangeRateOutput>> {
|
|
63
|
+
const url = `${this.baseUrl}collector/exchage/${currencyId}/current`;
|
|
64
|
+
return await this.httpRequest.get(url);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
/**
|
|
68
|
+
* Actualiza un contrato de crédito con el nuevo identificador de la transacción de pre autorización generada en el
|
|
69
|
+
* proceso de renovación de transacciones de pre autorización próximas a vencer.
|
|
70
|
+
* Update credit contract with the new pre authorization transaction identifier generated in the
|
|
71
|
+
* renewal process of pre authorization transactions that are about to expire.
|
|
72
|
+
* @param CreditContractUpdateRequest Objeto con la información necesaria para actualizar el contrato.
|
|
73
|
+
* @returns Una promesa que resuelve a un arreglo de objetos de people.
|
|
74
|
+
* Puede devolver un arreglo vacío si no se encuentran coincidencias.
|
|
75
|
+
* @throws {Error} Lanza un error si los parámetros de entrada son inválidos.
|
|
76
|
+
*/
|
|
77
|
+
async updateCreditContractByRenewalPreAuth(req: CreditContractUpdateRequest): Promise<FiadoApiResponse<any>> {
|
|
78
|
+
const url = `${this.baseUrl}collector/creditcontracts/renewal/preauth`;
|
|
79
|
+
return await this.httpRequest.put(url, req);
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
// Reconciliation — query by tenant + date range
|
|
83
|
+
async getCreditContractsByTenant(tenantId: string, startDate: string, endDate: string): Promise<any> {
|
|
84
|
+
const url = `${this.baseUrl}collector/creditcontracts/by-tenant?tenantId=${tenantId}&startDate=${startDate}&endDate=${endDate}`;
|
|
85
|
+
return await this.httpRequest.get(url, { 'operationName': 'getCreditContractsByTenant' });
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
async getCVContractsByTenant(tenantId: string, startDate: string, endDate: string): Promise<any> {
|
|
89
|
+
const url = `${this.baseUrl}collector/cvcontracts/by-tenant?tenantId=${tenantId}&startDate=${startDate}&endDate=${endDate}`;
|
|
90
|
+
return await this.httpRequest.get(url, { 'operationName': 'getCVContractsByTenant' });
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
async getCollectorTransactionsByTenant(tenantId: string, startDate: string, endDate: string): Promise<any> {
|
|
94
|
+
const url = `${this.baseUrl}collector/collectortransactions/by-tenant?tenantId=${tenantId}&startDate=${startDate}&endDate=${endDate}`;
|
|
95
|
+
return await this.httpRequest.get(url, { 'operationName': 'getCollectorTransactionsByTenant' });
|
|
96
|
+
}
|
|
97
|
+
}
|
package/src/collector/index.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
|
|
2
|
-
export * from './interfaces/ICollectorApi
|
|
3
|
-
export * from './CollectorApi
|
|
2
|
+
export * from './interfaces/ICollectorApi';
|
|
3
|
+
export * from './CollectorApi';
|
|
@@ -1,47 +1,47 @@
|
|
|
1
|
-
import { APIGatewayProxyResultBody } from "@fiado/gateway-adapter";
|
|
2
|
-
import
|
|
3
|
-
import { CollectorTransactionResponse, CollectorTransactionUpdateRequest, GetLastExchangeRateOutput } from "@fiado/type-kit/bin/collector
|
|
4
|
-
import
|
|
5
|
-
import { CreditContractUpdateRequest } from "@fiado/type-kit/bin/collector/dtos/CreditContractUpdateRequest
|
|
6
|
-
|
|
7
|
-
/**
|
|
8
|
-
* Interfaz para el servicio Contract Generator.
|
|
9
|
-
*/
|
|
10
|
-
export interface ICollectorApi {
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* Crea un nuevo contrato de crédito.
|
|
14
|
-
* @param CreditContractCreateRequest Objeto con la información necesaria para crear el contrato.
|
|
15
|
-
* @returns Una promesa que resuelve a un arreglo de objetos de people.
|
|
16
|
-
* Puede devolver un arreglo vacío si no se encuentran coincidencias.
|
|
17
|
-
* @throws {Error} Lanza un error si los parámetros de entrada son inválidos.
|
|
18
|
-
*/
|
|
19
|
-
createCreditContract(object: CreditContractCreateRequest): Promise<any>
|
|
20
|
-
|
|
21
|
-
getCreditContract(relatedId: string): Promise<any>
|
|
22
|
-
|
|
23
|
-
getCreditContractByRelatedPreAuthId(relatedPreAuthId: string): Promise<any>
|
|
24
|
-
|
|
25
|
-
getCollectorTransactionByIds(ids: string[]): Promise<APIGatewayProxyResultBody<CollectorTransactionResponse[]>>
|
|
26
|
-
|
|
27
|
-
putCollectorTransactionBulk(object: CollectorTransactionUpdateRequest[]): Promise<void>;
|
|
28
|
-
|
|
29
|
-
getLastExchangeRate(currencyId: string): Promise<FiadoApiResponse<GetLastExchangeRateOutput>>;
|
|
30
|
-
|
|
31
|
-
/**
|
|
32
|
-
* Actualiza un contrato de crédito con el nuevo identificador de la transacción de pre autorización generada en el
|
|
33
|
-
* proceso de renovación de transacciones de pre autorización próximas a vencer.
|
|
34
|
-
* Update credit contract with the new pre authorization transaction identifier generated in the
|
|
35
|
-
* renewal process of pre authorization transactions that are about to expire.
|
|
36
|
-
* @param CreditContractUpdateRequest Objeto con la información necesaria para actualizar el contrato.
|
|
37
|
-
* @returns Una promesa que resuelve a un arreglo de objetos de people.
|
|
38
|
-
* Puede devolver un arreglo vacío si no se encuentran coincidencias.
|
|
39
|
-
* @throws {Error} Lanza un error si los parámetros de entrada son inválidos.
|
|
40
|
-
*/
|
|
41
|
-
updateCreditContractByRenewalPreAuth(req: CreditContractUpdateRequest): Promise<FiadoApiResponse<any>>;
|
|
42
|
-
|
|
43
|
-
// Reconciliation — query by tenant + date range
|
|
44
|
-
getCreditContractsByTenant(tenantId: string, startDate: string, endDate: string): Promise<any>;
|
|
45
|
-
getCVContractsByTenant(tenantId: string, startDate: string, endDate: string): Promise<any>;
|
|
46
|
-
getCollectorTransactionsByTenant(tenantId: string, startDate: string, endDate: string): Promise<any>;
|
|
47
|
-
}
|
|
1
|
+
import { APIGatewayProxyResultBody } from "@fiado/gateway-adapter";
|
|
2
|
+
import FiadoApiResponse from "@fiado/type-kit/bin/apiResponse/dtos/FiadoApiResponse";
|
|
3
|
+
import { CollectorTransactionResponse, CollectorTransactionUpdateRequest, GetLastExchangeRateOutput } from "@fiado/type-kit/bin/collector";
|
|
4
|
+
import CreditContractCreateRequest from "@fiado/type-kit/bin/creditContract/dtos/CreditContractCreateRequest";
|
|
5
|
+
import { CreditContractUpdateRequest } from "@fiado/type-kit/bin/collector/dtos/CreditContractUpdateRequest";
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Interfaz para el servicio Contract Generator.
|
|
9
|
+
*/
|
|
10
|
+
export interface ICollectorApi {
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* Crea un nuevo contrato de crédito.
|
|
14
|
+
* @param CreditContractCreateRequest Objeto con la información necesaria para crear el contrato.
|
|
15
|
+
* @returns Una promesa que resuelve a un arreglo de objetos de people.
|
|
16
|
+
* Puede devolver un arreglo vacío si no se encuentran coincidencias.
|
|
17
|
+
* @throws {Error} Lanza un error si los parámetros de entrada son inválidos.
|
|
18
|
+
*/
|
|
19
|
+
createCreditContract(object: CreditContractCreateRequest): Promise<any>
|
|
20
|
+
|
|
21
|
+
getCreditContract(relatedId: string): Promise<any>
|
|
22
|
+
|
|
23
|
+
getCreditContractByRelatedPreAuthId(relatedPreAuthId: string): Promise<any>
|
|
24
|
+
|
|
25
|
+
getCollectorTransactionByIds(ids: string[]): Promise<APIGatewayProxyResultBody<CollectorTransactionResponse[]>>
|
|
26
|
+
|
|
27
|
+
putCollectorTransactionBulk(object: CollectorTransactionUpdateRequest[]): Promise<void>;
|
|
28
|
+
|
|
29
|
+
getLastExchangeRate(currencyId: string): Promise<FiadoApiResponse<GetLastExchangeRateOutput>>;
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* Actualiza un contrato de crédito con el nuevo identificador de la transacción de pre autorización generada en el
|
|
33
|
+
* proceso de renovación de transacciones de pre autorización próximas a vencer.
|
|
34
|
+
* Update credit contract with the new pre authorization transaction identifier generated in the
|
|
35
|
+
* renewal process of pre authorization transactions that are about to expire.
|
|
36
|
+
* @param CreditContractUpdateRequest Objeto con la información necesaria para actualizar el contrato.
|
|
37
|
+
* @returns Una promesa que resuelve a un arreglo de objetos de people.
|
|
38
|
+
* Puede devolver un arreglo vacío si no se encuentran coincidencias.
|
|
39
|
+
* @throws {Error} Lanza un error si los parámetros de entrada son inválidos.
|
|
40
|
+
*/
|
|
41
|
+
updateCreditContractByRenewalPreAuth(req: CreditContractUpdateRequest): Promise<FiadoApiResponse<any>>;
|
|
42
|
+
|
|
43
|
+
// Reconciliation — query by tenant + date range
|
|
44
|
+
getCreditContractsByTenant(tenantId: string, startDate: string, endDate: string): Promise<any>;
|
|
45
|
+
getCVContractsByTenant(tenantId: string, startDate: string, endDate: string): Promise<any>;
|
|
46
|
+
getCollectorTransactionsByTenant(tenantId: string, startDate: string, endDate: string): Promise<any>;
|
|
47
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { inject, injectable } from "inversify";
|
|
2
2
|
import { IHttpRequest } from "@fiado/http-client";
|
|
3
3
|
import dotenv from 'dotenv';
|
|
4
|
-
import { ICommissionBusinessApi } from "./interfaces/ICommissionBusinessApi
|
|
5
|
-
import { CreatePaymentMadeRequest } from "@fiado/type-kit/bin/comission-business
|
|
4
|
+
import { ICommissionBusinessApi } from "./interfaces/ICommissionBusinessApi";
|
|
5
|
+
import { CreatePaymentMadeRequest } from "@fiado/type-kit/bin/comission-business";
|
|
6
6
|
|
|
7
7
|
dotenv.config();
|
|
8
8
|
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
|
|
2
|
-
export * from './interfaces/ICommissionBusinessApi
|
|
3
|
-
export * from './CommissionBusinessApi
|
|
2
|
+
export * from './interfaces/ICommissionBusinessApi';
|
|
3
|
+
export * from './CommissionBusinessApi';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ContactInfoCreateRequest } from "@fiado/type-kit/bin/contactInfo
|
|
2
|
-
import { IContactInformationApi } from "./interface/IContactInformationApi
|
|
1
|
+
import { ContactInfoCreateRequest } from "@fiado/type-kit/bin/contactInfo";
|
|
2
|
+
import { IContactInformationApi } from "./interface/IContactInformationApi";
|
|
3
3
|
import { IHttpRequest } from "@fiado/http-client";
|
|
4
4
|
import { inject } from "inversify";
|
|
5
5
|
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
|
|
2
|
-
export * from './interface/IContactInformationApi
|
|
3
|
-
export * from './ContactInformationApi
|
|
2
|
+
export * from './interface/IContactInformationApi';
|
|
3
|
+
export * from './ContactInformationApi';
|