@fiado/api-invoker 4.1.0 → 4.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude/settings.json +33 -33
- package/README.md +600 -600
- package/bin/account-beneficiary/AccountBeneficiaryApi.d.ts +3 -3
- package/bin/account-beneficiary/AccountBeneficiaryApi.js +5 -8
- package/bin/account-beneficiary/index.d.ts +2 -2
- package/bin/account-beneficiary/index.js +2 -18
- package/bin/account-beneficiary/interfaces/IAccountBeneficiaryApi.d.ts +2 -2
- package/bin/account-beneficiary/interfaces/IAccountBeneficiaryApi.js +1 -2
- package/bin/account-fiadoinc/AccountFiadoIncApi.d.ts +5 -5
- package/bin/account-fiadoinc/AccountFiadoIncApi.js +5 -7
- package/bin/account-fiadoinc/index.d.ts +4 -4
- package/bin/account-fiadoinc/index.js +4 -20
- package/bin/account-fiadoinc/interfaces/IAccountFiadoIncApi.d.ts +4 -4
- package/bin/account-fiadoinc/interfaces/IAccountFiadoIncApi.js +1 -2
- package/bin/account-fiadoinc/queue/Publisher.d.ts +2 -2
- package/bin/account-fiadoinc/queue/Publisher.js +7 -10
- package/bin/account-fiadoinc/queue/interfaces/IPublisher.d.ts +1 -1
- package/bin/account-fiadoinc/queue/interfaces/IPublisher.js +1 -2
- package/bin/account-fiadosa/AccountFiadoSAApi.d.ts +3 -3
- package/bin/account-fiadosa/AccountFiadoSAApi.js +4 -6
- package/bin/account-fiadosa/index.d.ts +2 -2
- package/bin/account-fiadosa/index.js +2 -18
- package/bin/account-fiadosa/interfaces/IAccountFiadoSAApi.d.ts +2 -2
- package/bin/account-fiadosa/interfaces/IAccountFiadoSAApi.js +1 -2
- package/bin/account-pagoconfiado/AccountPagoConfiadoApi.d.ts +3 -3
- package/bin/account-pagoconfiado/AccountPagoConfiadoApi.js +4 -6
- package/bin/account-pagoconfiado/index.d.ts +2 -2
- package/bin/account-pagoconfiado/index.js +2 -18
- package/bin/account-pagoconfiado/interfaces/IAccountPagoConfiadoApi.d.ts +2 -2
- package/bin/account-pagoconfiado/interfaces/IAccountPagoConfiadoApi.js +1 -2
- package/bin/activity-business/ActivityApi.d.ts +1 -1
- package/bin/activity-business/ActivityApi.js +4 -6
- package/bin/activity-business/index.d.ts +4 -4
- package/bin/activity-business/index.js +4 -20
- package/bin/activity-business/interfaces/IActivityApi.js +1 -2
- package/bin/activity-business/queue/ActivityPublisher.d.ts +2 -2
- package/bin/activity-business/queue/ActivityPublisher.js +6 -8
- package/bin/activity-business/queue/IActivityPublisher.d.ts +1 -1
- package/bin/activity-business/queue/IActivityPublisher.js +1 -2
- package/bin/address/AddressApi.d.ts +2 -2
- package/bin/address/AddressApi.js +5 -8
- package/bin/address/index.d.ts +2 -2
- package/bin/address/index.js +2 -18
- package/bin/address/interfaces/IAddressApi.d.ts +1 -1
- package/bin/address/interfaces/IAddressApi.js +1 -2
- package/bin/ai-engine-connector/AiEngineApi.d.ts +3 -3
- package/bin/ai-engine-connector/AiEngineApi.js +10 -16
- package/bin/ai-engine-connector/index.d.ts +2 -2
- package/bin/ai-engine-connector/index.js +2 -18
- package/bin/ai-engine-connector/interfaces/IAiEngineApi.d.ts +2 -2
- package/bin/ai-engine-connector/interfaces/IAiEngineApi.js +1 -2
- package/bin/appselectondata/AppSelectionDataApi.d.ts +1 -1
- package/bin/appselectondata/AppSelectionDataApi.js +7 -13
- package/bin/appselectondata/index.d.ts +2 -2
- package/bin/appselectondata/index.js +2 -18
- package/bin/appselectondata/interfaces/IAppSelectionDataApi.d.ts +1 -1
- package/bin/appselectondata/interfaces/IAppSelectionDataApi.js +1 -2
- package/bin/authentication/AuthenticationApi.d.ts +2 -2
- package/bin/authentication/AuthenticationApi.js +5 -8
- package/bin/authentication/index.d.ts +2 -2
- package/bin/authentication/index.js +2 -18
- package/bin/authentication/interfaces/IAuthenticationApi.d.ts +1 -1
- package/bin/authentication/interfaces/IAuthenticationApi.js +1 -2
- package/bin/bankAccount/BankAccountApi.d.ts +4 -4
- package/bin/bankAccount/BankAccountApi.js +4 -6
- package/bin/bankAccount/index.d.ts +2 -2
- package/bin/bankAccount/index.js +2 -18
- package/bin/bankAccount/interfaces/IBankAccountApi.js +1 -2
- package/bin/bbvaRst/api/BBVARstApi.d.ts +2 -2
- package/bin/bbvaRst/api/BBVARstApi.js +5 -8
- package/bin/bbvaRst/api/interfaces/IBBVARstApi.d.ts +1 -1
- package/bin/bbvaRst/api/interfaces/IBBVARstApi.js +1 -2
- package/bin/bbvaRst/index.d.ts +2 -2
- package/bin/bbvaRst/index.js +2 -18
- package/bin/benefits-marketplace/api/BenefitsMarketplaceApi.d.ts +3 -3
- package/bin/benefits-marketplace/api/BenefitsMarketplaceApi.js +4 -6
- package/bin/benefits-marketplace/api/dtos/BenefitLeafDisplayResponse.js +1 -2
- package/bin/benefits-marketplace/api/interfaces/IBenefitsMarketplaceApi.d.ts +2 -2
- package/bin/benefits-marketplace/api/interfaces/IBenefitsMarketplaceApi.js +1 -2
- package/bin/benefits-marketplace/index.d.ts +3 -3
- package/bin/benefits-marketplace/index.js +3 -19
- package/bin/blacklist/BlackListApi.d.ts +2 -2
- package/bin/blacklist/BlackListApi.js +7 -13
- package/bin/blacklist/index.d.ts +2 -2
- package/bin/blacklist/index.js +2 -18
- package/bin/blacklist/interfaces/IBlackListApi.d.ts +1 -1
- package/bin/blacklist/interfaces/IBlackListApi.js +1 -2
- package/bin/card/CardApi.d.ts +4 -4
- package/bin/card/CardApi.js +5 -8
- package/bin/card/index.d.ts +2 -2
- package/bin/card/index.js +2 -18
- package/bin/card/interfaces/ICardApi.d.ts +3 -3
- package/bin/card/interfaces/ICardApi.js +1 -2
- package/bin/card-business/index.d.ts +2 -2
- package/bin/card-business/index.js +2 -18
- package/bin/card-business/queue/CardBusinessPublisher.d.ts +1 -1
- package/bin/card-business/queue/CardBusinessPublisher.js +6 -8
- package/bin/card-business/queue/ICardBusinessPublisher.js +1 -2
- package/bin/centralPayments/CentralPaymentsConnectorApi.d.ts +12 -12
- package/bin/centralPayments/CentralPaymentsConnectorApi.js +8 -11
- package/bin/centralPayments/index.d.ts +2 -2
- package/bin/centralPayments/index.js +2 -18
- package/bin/centralPayments/interfaces/ICentralPaymentsConnectorApi.d.ts +10 -10
- package/bin/centralPayments/interfaces/ICentralPaymentsConnectorApi.js +1 -2
- package/bin/circuloCredito/api/CirculoCreditoApi.d.ts +2 -2
- package/bin/circuloCredito/api/CirculoCreditoApi.js +5 -8
- package/bin/circuloCredito/api/interfaces/ICirculoCreditoApi.d.ts +1 -1
- package/bin/circuloCredito/api/interfaces/ICirculoCreditoApi.js +1 -2
- package/bin/circuloCredito/index.d.ts +2 -2
- package/bin/circuloCredito/index.js +2 -18
- package/bin/cnbv-business/CnbvApi.d.ts +1 -1
- package/bin/cnbv-business/CnbvApi.js +4 -6
- package/bin/cnbv-business/index.d.ts +2 -2
- package/bin/cnbv-business/index.js +2 -18
- package/bin/cnbv-business/interfaces/ICnbvApi.js +1 -2
- package/bin/cnbv-connector/CnbvConnectorApi.d.ts +2 -2
- package/bin/cnbv-connector/CnbvConnectorApi.js +4 -6
- package/bin/cnbv-connector/index.d.ts +2 -2
- package/bin/cnbv-connector/index.js +2 -18
- package/bin/cnbv-connector/interfaces/ICnbvConnectorApi.d.ts +1 -1
- package/bin/cnbv-connector/interfaces/ICnbvConnectorApi.js +1 -2
- package/bin/cognitoConnector/CognitoConnectorApi.d.ts +2 -2
- package/bin/cognitoConnector/CognitoConnectorApi.js +4 -6
- package/bin/cognitoConnector/CognitoConnectorV2.d.ts +2 -2
- package/bin/cognitoConnector/CognitoConnectorV2.js +4 -6
- package/bin/cognitoConnector/index.d.ts +4 -4
- package/bin/cognitoConnector/index.js +4 -20
- package/bin/cognitoConnector/interfaces/ICognitoConnectorApi.d.ts +2 -2
- package/bin/cognitoConnector/interfaces/ICognitoConnectorApi.js +1 -2
- package/bin/cognitoConnector/interfaces/ICognitoV2Api.d.ts +1 -1
- package/bin/cognitoConnector/interfaces/ICognitoV2Api.js +1 -2
- package/bin/collector/CollectorApi.d.ts +6 -6
- package/bin/collector/CollectorApi.js +9 -15
- package/bin/collector/index.d.ts +2 -2
- package/bin/collector/index.js +2 -18
- package/bin/collector/interfaces/ICollectorApi.d.ts +5 -5
- package/bin/collector/interfaces/ICollectorApi.js +1 -2
- package/bin/commission-business/CommissionBusinessApi.d.ts +2 -2
- package/bin/commission-business/CommissionBusinessApi.js +7 -13
- package/bin/commission-business/index.d.ts +2 -2
- package/bin/commission-business/index.js +2 -18
- package/bin/commission-business/interfaces/ICommissionBusinessApi.d.ts +1 -1
- package/bin/commission-business/interfaces/ICommissionBusinessApi.js +1 -2
- package/bin/contactInformation/ContactInformationApi.d.ts +2 -2
- package/bin/contactInformation/ContactInformationApi.js +4 -7
- package/bin/contactInformation/index.d.ts +2 -2
- package/bin/contactInformation/index.js +2 -18
- package/bin/contactInformation/interface/IContactInformationApi.d.ts +1 -1
- package/bin/contactInformation/interface/IContactInformationApi.js +1 -2
- package/bin/container.config.js +196 -194
- package/bin/contract-business/api/ContractBusinessApi.d.ts +1 -1
- package/bin/contract-business/api/ContractBusinessApi.js +4 -6
- package/bin/contract-business/api/interfaces/IContractBusinessApi.js +1 -2
- package/bin/contract-business/index.d.ts +2 -2
- package/bin/contract-business/index.js +2 -18
- package/bin/contract-generator/ContractGeneratorApi.d.ts +2 -2
- package/bin/contract-generator/ContractGeneratorApi.js +7 -13
- package/bin/contract-generator/index.d.ts +2 -2
- package/bin/contract-generator/index.js +2 -18
- package/bin/contract-generator/interfaces/IContractGeneratorApi.d.ts +1 -1
- package/bin/contract-generator/interfaces/IContractGeneratorApi.js +1 -2
- package/bin/countries-business/CountriesBusinessApi.d.ts +1 -1
- package/bin/countries-business/CountriesBusinessApi.js +4 -6
- package/bin/countries-business/index.d.ts +2 -2
- package/bin/countries-business/index.js +2 -18
- package/bin/countries-business/interfaces/ICountriesBusinessApi.js +1 -2
- package/bin/credit-engine/CreditEngineApi.d.ts +3 -3
- package/bin/credit-engine/CreditEngineApi.js +7 -13
- package/bin/credit-engine/index.d.ts +13 -13
- package/bin/credit-engine/index.js +13 -34
- package/bin/credit-engine/interfaces/ICreditEngineApi.d.ts +2 -2
- package/bin/credit-engine/interfaces/ICreditEngineApi.js +1 -2
- package/bin/credit-engine/queue/CreditCollectionPublisher.d.ts +2 -2
- package/bin/credit-engine/queue/CreditCollectionPublisher.js +6 -8
- package/bin/credit-engine/queue/CreditDelinquencyPublisher.d.ts +2 -2
- package/bin/credit-engine/queue/CreditDelinquencyPublisher.js +6 -8
- package/bin/credit-engine/queue/CreditIncomeDetectionPublisher.d.ts +2 -2
- package/bin/credit-engine/queue/CreditIncomeDetectionPublisher.js +6 -8
- package/bin/credit-engine/queue/CreditLienCollectionPublisher.d.ts +2 -2
- package/bin/credit-engine/queue/CreditLienCollectionPublisher.js +6 -8
- package/bin/credit-engine/queue/CreditNotificationPublisher.d.ts +2 -2
- package/bin/credit-engine/queue/CreditNotificationPublisher.js +6 -8
- package/bin/credit-engine/queue/CreditOfferGenerationPublisher.d.ts +2 -2
- package/bin/credit-engine/queue/CreditOfferGenerationPublisher.js +6 -8
- package/bin/credit-engine/queue/CreditReconciliationPublisher.d.ts +2 -2
- package/bin/credit-engine/queue/CreditReconciliationPublisher.js +6 -8
- package/bin/credit-engine/queue/CreditScoringPublisher.d.ts +2 -2
- package/bin/credit-engine/queue/CreditScoringPublisher.js +6 -8
- package/bin/credit-engine/queue/CreditStatementPublisher.d.ts +2 -2
- package/bin/credit-engine/queue/CreditStatementPublisher.js +6 -8
- package/bin/credit-engine/queue/CreditTransferPublisher.d.ts +2 -2
- package/bin/credit-engine/queue/CreditTransferPublisher.js +6 -8
- package/bin/credit-engine/queue/interfaces/ICreditCollectionPublisher.d.ts +1 -1
- package/bin/credit-engine/queue/interfaces/ICreditCollectionPublisher.js +1 -2
- package/bin/credit-engine/queue/interfaces/ICreditDelinquencyPublisher.d.ts +1 -1
- package/bin/credit-engine/queue/interfaces/ICreditDelinquencyPublisher.js +1 -2
- package/bin/credit-engine/queue/interfaces/ICreditIncomeDetectionPublisher.d.ts +1 -1
- package/bin/credit-engine/queue/interfaces/ICreditIncomeDetectionPublisher.js +1 -2
- package/bin/credit-engine/queue/interfaces/ICreditLienCollectionPublisher.d.ts +1 -1
- package/bin/credit-engine/queue/interfaces/ICreditLienCollectionPublisher.js +1 -2
- package/bin/credit-engine/queue/interfaces/ICreditNotificationPublisher.d.ts +1 -1
- package/bin/credit-engine/queue/interfaces/ICreditNotificationPublisher.js +1 -2
- package/bin/credit-engine/queue/interfaces/ICreditOfferGenerationPublisher.d.ts +1 -1
- package/bin/credit-engine/queue/interfaces/ICreditOfferGenerationPublisher.js +1 -2
- package/bin/credit-engine/queue/interfaces/ICreditReconciliationPublisher.d.ts +1 -1
- package/bin/credit-engine/queue/interfaces/ICreditReconciliationPublisher.js +1 -2
- package/bin/credit-engine/queue/interfaces/ICreditScoringPublisher.d.ts +1 -1
- package/bin/credit-engine/queue/interfaces/ICreditScoringPublisher.js +1 -2
- package/bin/credit-engine/queue/interfaces/ICreditStatementPublisher.d.ts +1 -1
- package/bin/credit-engine/queue/interfaces/ICreditStatementPublisher.js +1 -2
- package/bin/credit-engine/queue/interfaces/ICreditTransferPublisher.d.ts +1 -1
- package/bin/credit-engine/queue/interfaces/ICreditTransferPublisher.js +1 -2
- package/bin/credit-payment/CreditPaymentApi.d.ts +1 -1
- package/bin/credit-payment/CreditPaymentApi.js +7 -13
- package/bin/credit-payment/index.d.ts +2 -2
- package/bin/credit-payment/index.js +2 -18
- package/bin/credit-payment/interfaces/ICreditPaymentApi.js +1 -2
- package/bin/credit-statements/api/CreditStatementsApi.d.ts +1 -1
- package/bin/credit-statements/api/CreditStatementsApi.js +4 -6
- package/bin/credit-statements/api/interfaces/ICreditStatementsApi.js +1 -2
- package/bin/credit-statements/index.d.ts +2 -2
- package/bin/credit-statements/index.js +2 -18
- package/bin/device/DeviceApi.d.ts +2 -2
- package/bin/device/DeviceApi.js +7 -13
- package/bin/device/index.d.ts +2 -2
- package/bin/device/index.js +2 -18
- package/bin/device/interfaces/IDeviceApi.d.ts +1 -1
- package/bin/device/interfaces/IDeviceApi.js +1 -2
- package/bin/directories/DirectoriesApi.d.ts +3 -3
- package/bin/directories/DirectoriesApi.js +7 -13
- package/bin/directories/index.d.ts +2 -2
- package/bin/directories/index.js +2 -18
- package/bin/directories/interfaces/IDirectoriesApi.d.ts +2 -2
- package/bin/directories/interfaces/IDirectoriesApi.js +1 -2
- package/bin/directory/DirectoryApi.d.ts +4 -4
- package/bin/directory/DirectoryApi.js +7 -13
- package/bin/directory/index.d.ts +2 -2
- package/bin/directory/index.js +2 -18
- package/bin/directory/interfaces/IDirectoryApi.d.ts +3 -3
- package/bin/directory/interfaces/IDirectoryApi.js +1 -2
- package/bin/directorySetting/DirectorySettingApi.d.ts +3 -3
- package/bin/directorySetting/DirectorySettingApi.js +7 -13
- package/bin/directorySetting/index.d.ts +2 -2
- package/bin/directorySetting/index.js +2 -18
- package/bin/directorySetting/interfaces/IDirectorySettingApi.d.ts +2 -2
- package/bin/directorySetting/interfaces/IDirectorySettingApi.js +1 -2
- package/bin/disputes/DisputesApi.d.ts +1 -1
- package/bin/disputes/DisputesApi.js +7 -13
- package/bin/disputes/index.d.ts +2 -2
- package/bin/disputes/index.js +2 -18
- package/bin/disputes/interfaces/IDisputesApi.js +1 -2
- package/bin/document-generator/DocumentGeneratorApi.d.ts +3 -3
- package/bin/document-generator/DocumentGeneratorApi.js +7 -13
- package/bin/document-generator/index.d.ts +2 -2
- package/bin/document-generator/index.js +2 -18
- package/bin/document-generator/interfaces/IDocumentGeneratorApi.d.ts +2 -2
- package/bin/document-generator/interfaces/IDocumentGeneratorApi.js +1 -2
- package/bin/document-image-processor/DocumentImageProcessorApi.d.ts +3 -3
- package/bin/document-image-processor/DocumentImageProcessorApi.js +5 -8
- package/bin/document-image-processor/index.d.ts +2 -2
- package/bin/document-image-processor/index.js +2 -18
- package/bin/document-image-processor/interfaces/IDocumentImageProcessorApi.d.ts +2 -2
- package/bin/document-image-processor/interfaces/IDocumentImageProcessorApi.js +1 -2
- package/bin/estafeta/api/EstafetaApi.d.ts +6 -6
- package/bin/estafeta/api/EstafetaApi.js +4 -6
- package/bin/estafeta/api/interfaces/IEstafetaApi.d.ts +4 -4
- package/bin/estafeta/api/interfaces/IEstafetaApi.js +1 -2
- package/bin/estafeta/index.d.ts +2 -2
- package/bin/estafeta/index.js +2 -18
- package/bin/event-history-business/EventHistoryApi.d.ts +3 -3
- package/bin/event-history-business/EventHistoryApi.js +7 -13
- package/bin/event-history-business/index.d.ts +2 -2
- package/bin/event-history-business/index.js +2 -18
- package/bin/event-history-business/interfaces/IEventHistoryApi.d.ts +2 -2
- package/bin/event-history-business/interfaces/IEventHistoryApi.js +1 -2
- package/bin/exchangeRates/ExchangeRatesApi.d.ts +3 -3
- package/bin/exchangeRates/ExchangeRatesApi.js +4 -6
- package/bin/exchangeRates/index.d.ts +2 -2
- package/bin/exchangeRates/index.js +2 -18
- package/bin/exchangeRates/interfaces/IExchangeRatesApi.d.ts +2 -2
- package/bin/exchangeRates/interfaces/IExchangeRatesApi.js +1 -2
- package/bin/fiadoMessages/api/FiadoMessagesApi.d.ts +1 -1
- package/bin/fiadoMessages/api/FiadoMessagesApi.js +5 -8
- package/bin/fiadoMessages/api/interfaces/IFiadoMessagesApi.js +1 -2
- package/bin/fiadoMessages/index.d.ts +2 -2
- package/bin/fiadoMessages/index.js +2 -18
- package/bin/firebase-connector/FirebaseConnectorApi.d.ts +2 -2
- package/bin/firebase-connector/FirebaseConnectorApi.js +12 -15
- package/bin/firebase-connector/index.d.ts +2 -2
- package/bin/firebase-connector/index.js +2 -18
- package/bin/firebase-connector/interfaces/IFirebaseConnectorApi.d.ts +1 -1
- package/bin/firebase-connector/interfaces/IFirebaseConnectorApi.js +1 -2
- package/bin/fraudPreventionEngine/api/FraudPreventionEngineApi.d.ts +3 -3
- package/bin/fraudPreventionEngine/api/FraudPreventionEngineApi.js +4 -6
- package/bin/fraudPreventionEngine/api/interfaces/IFraudPreventionEngineApi.d.ts +2 -2
- package/bin/fraudPreventionEngine/api/interfaces/IFraudPreventionEngineApi.js +1 -2
- package/bin/fraudPreventionEngine/index.d.ts +2 -2
- package/bin/fraudPreventionEngine/index.js +2 -18
- package/bin/group/GroupApi.d.ts +3 -3
- package/bin/group/GroupApi.js +7 -13
- package/bin/group/index.d.ts +2 -2
- package/bin/group/index.js +2 -18
- package/bin/group/interfaces/IGroupApi.d.ts +2 -2
- package/bin/group/interfaces/IGroupApi.js +1 -2
- package/bin/identity/IdentityApi.d.ts +2 -2
- package/bin/identity/IdentityApi.js +7 -13
- package/bin/identity/index.d.ts +2 -2
- package/bin/identity/index.js +2 -18
- package/bin/identity/interfaces/IIdentityApi.d.ts +1 -1
- package/bin/identity/interfaces/IIdentityApi.js +1 -2
- package/bin/index.d.ts +77 -75
- package/bin/index.js +77 -91
- package/bin/legalDocument/api/LegalDocumentApi.d.ts +1 -1
- package/bin/legalDocument/api/LegalDocumentApi.js +5 -8
- package/bin/legalDocument/api/interfaces/ILegalDocumentApi.js +1 -2
- package/bin/legalDocument/index.d.ts +2 -2
- package/bin/legalDocument/index.js +2 -18
- package/bin/messages-connector/api/MessagesConnectorApi.d.ts +17 -0
- package/bin/messages-connector/api/MessagesConnectorApi.js +50 -0
- package/bin/messages-connector/api/interfaces/IMessagesConnectorApi.d.ts +12 -0
- package/bin/messages-connector/api/interfaces/IMessagesConnectorApi.js +1 -0
- package/bin/messages-connector/index.d.ts +4 -0
- package/bin/messages-connector/index.js +4 -0
- package/bin/messages-connector/queue/MessagesConnectorPublisher.d.ts +7 -0
- package/bin/messages-connector/queue/MessagesConnectorPublisher.js +23 -0
- package/bin/messages-connector/queue/interfaces/IMessagesConnectorPublisher.d.ts +4 -0
- package/bin/messages-connector/queue/interfaces/IMessagesConnectorPublisher.js +1 -0
- package/bin/milestone-business/api/MilestoneBusinessApi.d.ts +2 -2
- package/bin/milestone-business/api/MilestoneBusinessApi.js +4 -6
- package/bin/milestone-business/api/interfaces/IMilestoneBusinessApi.d.ts +1 -1
- package/bin/milestone-business/api/interfaces/IMilestoneBusinessApi.js +1 -2
- package/bin/milestone-business/index.d.ts +2 -2
- package/bin/milestone-business/index.js +2 -18
- package/bin/multicommServicePayment/api/MulticommServicePaymentApi.d.ts +4 -4
- package/bin/multicommServicePayment/api/MulticommServicePaymentApi.js +4 -6
- package/bin/multicommServicePayment/api/interfaces/IMulticommServicePaymentApi.d.ts +3 -3
- package/bin/multicommServicePayment/api/interfaces/IMulticommServicePaymentApi.js +1 -2
- package/bin/multicommServicePayment/index.d.ts +2 -2
- package/bin/multicommServicePayment/index.js +2 -18
- package/bin/notificationMessages/index.d.ts +2 -2
- package/bin/notificationMessages/index.js +2 -18
- package/bin/notificationMessages/queue/NotificationMessagePublisher.d.ts +3 -3
- package/bin/notificationMessages/queue/NotificationMessagePublisher.js +7 -9
- package/bin/notificationMessages/queue/interfaces/INotificationMessagesPublisher.d.ts +2 -2
- package/bin/notificationMessages/queue/interfaces/INotificationMessagesPublisher.js +1 -2
- package/bin/notificationWebsockets/index.d.ts +2 -2
- package/bin/notificationWebsockets/index.js +2 -18
- package/bin/notificationWebsockets/queue/NotificationWSMessagePublisher.d.ts +2 -2
- package/bin/notificationWebsockets/queue/NotificationWSMessagePublisher.js +8 -13
- package/bin/notificationWebsockets/queue/interfaces/INotificationWSMessagesPublisher.d.ts +1 -1
- package/bin/notificationWebsockets/queue/interfaces/INotificationWSMessagesPublisher.js +1 -2
- package/bin/observations/ObservationsApi.d.ts +3 -3
- package/bin/observations/ObservationsApi.js +7 -13
- package/bin/observations/index.d.ts +2 -2
- package/bin/observations/index.js +2 -18
- package/bin/observations/interfaces/IObservationsApi.d.ts +2 -2
- package/bin/observations/interfaces/IObservationsApi.js +1 -2
- package/bin/onboarding/api/OnboardingApi.d.ts +1 -1
- package/bin/onboarding/api/OnboardingApi.js +4 -6
- package/bin/onboarding/api/interfaces/IOnboardingApi.js +1 -2
- package/bin/onboarding/index.d.ts +2 -2
- package/bin/onboarding/index.js +2 -18
- package/bin/onboarding-business/api/OnboardingBusinessApi.d.ts +1 -1
- package/bin/onboarding-business/api/OnboardingBusinessApi.js +4 -6
- package/bin/onboarding-business/api/interfaces/IOnboardingBusinessApi.js +1 -2
- package/bin/onboarding-business/index.d.ts +2 -2
- package/bin/onboarding-business/index.js +2 -18
- package/bin/order-collector-business/OrderCollectorApi.d.ts +2 -2
- package/bin/order-collector-business/OrderCollectorApi.js +7 -13
- package/bin/order-collector-business/index.d.ts +2 -2
- package/bin/order-collector-business/index.js +2 -18
- package/bin/order-collector-business/interfaces/IOrderCollectorApi.d.ts +1 -1
- package/bin/order-collector-business/interfaces/IOrderCollectorApi.js +1 -2
- package/bin/p2pContact/api/P2pContactApi.d.ts +2 -2
- package/bin/p2pContact/api/P2pContactApi.js +4 -6
- package/bin/p2pContact/api/interfaces/IP2pContactApi.d.ts +1 -1
- package/bin/p2pContact/api/interfaces/IP2pContactApi.js +1 -2
- package/bin/p2pContact/index.d.ts +2 -2
- package/bin/p2pContact/index.js +2 -18
- package/bin/payroll-business/PayrollApi.d.ts +2 -2
- package/bin/payroll-business/PayrollApi.js +7 -13
- package/bin/payroll-business/index.d.ts +2 -2
- package/bin/payroll-business/index.js +2 -18
- package/bin/payroll-business/interfaces/IPayrollApi.d.ts +1 -1
- package/bin/payroll-business/interfaces/IPayrollApi.js +1 -2
- package/bin/people-business/api/PeopleBusinessApi.d.ts +3 -3
- package/bin/people-business/api/PeopleBusinessApi.js +4 -6
- package/bin/people-business/api/interfaces/IPeopleBusinessApi.d.ts +2 -2
- package/bin/people-business/api/interfaces/IPeopleBusinessApi.js +1 -2
- package/bin/people-business/index.d.ts +2 -2
- package/bin/people-business/index.js +2 -18
- package/bin/platform-error-events/index.d.ts +2 -2
- package/bin/platform-error-events/index.js +2 -18
- package/bin/platform-error-events/queue/PlatformErrorEventsPublisher.d.ts +2 -2
- package/bin/platform-error-events/queue/PlatformErrorEventsPublisher.js +6 -8
- package/bin/platform-error-events/queue/interfaces/IPlatformErrorEventsPublisher.d.ts +1 -1
- package/bin/platform-error-events/queue/interfaces/IPlatformErrorEventsPublisher.js +1 -2
- package/bin/pomelo/api/PomeloApi.d.ts +3 -3
- package/bin/pomelo/api/PomeloApi.js +4 -6
- package/bin/pomelo/api/interfaces/IPomeloApi.d.ts +2 -2
- package/bin/pomelo/api/interfaces/IPomeloApi.js +1 -2
- package/bin/pomelo/index.d.ts +2 -2
- package/bin/pomelo/index.js +2 -18
- package/bin/pomeloProcessor/api/PomeloProcessorApi.d.ts +1 -1
- package/bin/pomeloProcessor/api/PomeloProcessorApi.js +5 -8
- package/bin/pomeloProcessor/api/interfaces/IPomeloProcessorApi.js +1 -2
- package/bin/pomeloProcessor/index.d.ts +2 -2
- package/bin/pomeloProcessor/index.js +2 -18
- package/bin/pricelist-business/PriceListApi.d.ts +3 -3
- package/bin/pricelist-business/PriceListApi.js +7 -13
- package/bin/pricelist-business/index.d.ts +2 -2
- package/bin/pricelist-business/index.js +2 -18
- package/bin/pricelist-business/interfaces/IPriceListApi.d.ts +2 -2
- package/bin/pricelist-business/interfaces/IPriceListApi.js +1 -2
- package/bin/product-catalog/ProductCatalogApi.d.ts +2 -2
- package/bin/product-catalog/ProductCatalogApi.js +4 -6
- package/bin/product-catalog/index.d.ts +2 -2
- package/bin/product-catalog/index.js +2 -18
- package/bin/product-catalog/interfaces/IProductCatalogApi.d.ts +1 -1
- package/bin/product-catalog/interfaces/IProductCatalogApi.js +1 -2
- package/bin/product-payment/api/ProductPaymentApi.d.ts +4 -4
- package/bin/product-payment/api/ProductPaymentApi.js +4 -6
- package/bin/product-payment/api/interfaces/IProductPaymentApi.d.ts +3 -3
- package/bin/product-payment/api/interfaces/IProductPaymentApi.js +1 -2
- package/bin/product-payment/index.d.ts +2 -2
- package/bin/product-payment/index.js +2 -18
- package/bin/referral-business/ReferralBusinessApi.d.ts +3 -3
- package/bin/referral-business/ReferralBusinessApi.js +7 -13
- package/bin/referral-business/index.d.ts +2 -2
- package/bin/referral-business/index.js +2 -18
- package/bin/referral-business/interfaces/IReferralBusinessApi.d.ts +2 -2
- package/bin/referral-business/interfaces/IReferralBusinessApi.js +1 -2
- package/bin/report-processor-business/api/IReportProcessorBusinessApi.js +1 -2
- package/bin/report-processor-business/api/ReportProcessorBusinessApi.d.ts +1 -1
- package/bin/report-processor-business/api/ReportProcessorBusinessApi.js +4 -6
- package/bin/report-processor-business/index.d.ts +2 -2
- package/bin/report-processor-business/index.js +2 -18
- package/bin/riskProfile/api/RiskProfileApi.d.ts +5 -5
- package/bin/riskProfile/api/RiskProfileApi.js +4 -6
- package/bin/riskProfile/api/TransactionAlertApi.d.ts +2 -2
- package/bin/riskProfile/api/TransactionAlertApi.js +4 -6
- package/bin/riskProfile/api/interfaces/IRiskProfileApi.d.ts +4 -4
- package/bin/riskProfile/api/interfaces/IRiskProfileApi.js +1 -2
- package/bin/riskProfile/api/interfaces/ITransactionAlertApi.d.ts +1 -1
- package/bin/riskProfile/api/interfaces/ITransactionAlertApi.js +1 -2
- package/bin/riskProfile/index.d.ts +6 -6
- package/bin/riskProfile/index.js +6 -22
- package/bin/riskProfile/queue/TransactionAlarmPublisher.d.ts +2 -2
- package/bin/riskProfile/queue/TransactionAlarmPublisher.js +7 -10
- package/bin/riskProfile/queue/interfaces/ITransactionAlarmPublisher.d.ts +1 -1
- package/bin/riskProfile/queue/interfaces/ITransactionAlarmPublisher.js +1 -2
- package/bin/service-business/ServiceApi.d.ts +5 -5
- package/bin/service-business/ServiceApi.js +7 -13
- package/bin/service-business/index.d.ts +2 -2
- package/bin/service-business/index.js +2 -18
- package/bin/service-business/interfaces/IServiceApi.d.ts +4 -4
- package/bin/service-business/interfaces/IServiceApi.js +1 -2
- package/bin/sessionActivity/index.d.ts +2 -2
- package/bin/sessionActivity/index.js +2 -18
- package/bin/sessionActivity/queue/SessionActivityPublisher.d.ts +2 -2
- package/bin/sessionActivity/queue/SessionActivityPublisher.js +7 -10
- package/bin/sessionActivity/queue/interfaces/ISessionActivityPublisher.d.ts +1 -1
- package/bin/sessionActivity/queue/interfaces/ISessionActivityPublisher.js +1 -2
- package/bin/sns-ses-connector/api/SnsSesConnectorApi.d.ts +10 -0
- package/bin/sns-ses-connector/api/SnsSesConnectorApi.js +30 -0
- package/bin/sns-ses-connector/api/interfaces/ISnsSesConnectorApi.d.ts +5 -0
- package/bin/sns-ses-connector/api/interfaces/ISnsSesConnectorApi.js +1 -0
- package/bin/sns-ses-connector/index.d.ts +2 -0
- package/bin/sns-ses-connector/index.js +2 -0
- package/bin/stp-business/api/STPBusinessApi.d.ts +1 -1
- package/bin/stp-business/api/STPBusinessApi.js +4 -6
- package/bin/stp-business/api/interfaces/ISTPBusinessApi.js +1 -2
- package/bin/stp-business/index.d.ts +2 -2
- package/bin/stp-business/index.js +2 -18
- package/bin/stpAccount/api/STPAccountApi.d.ts +3 -3
- package/bin/stpAccount/api/STPAccountApi.js +4 -6
- package/bin/stpAccount/api/interfaces/ISTPAccountApi.d.ts +2 -2
- package/bin/stpAccount/api/interfaces/ISTPAccountApi.js +1 -2
- package/bin/stpAccount/index.d.ts +2 -2
- package/bin/stpAccount/index.js +2 -18
- package/bin/stpServicePayment/api/StpServicePaymentApi.d.ts +4 -4
- package/bin/stpServicePayment/api/StpServicePaymentApi.js +4 -6
- package/bin/stpServicePayment/api/interfaces/IStpServicePaymentApi.d.ts +3 -3
- package/bin/stpServicePayment/api/interfaces/IStpServicePaymentApi.js +1 -2
- package/bin/stpServicePayment/index.d.ts +2 -2
- package/bin/stpServicePayment/index.js +2 -18
- package/bin/stpSpei/api/StpSpeiApi.d.ts +2 -2
- package/bin/stpSpei/api/StpSpeiApi.js +5 -8
- package/bin/stpSpei/api/interfaces/IStpSpeiApi.d.ts +1 -1
- package/bin/stpSpei/api/interfaces/IStpSpeiApi.js +1 -2
- package/bin/stpSpei/index.d.ts +2 -2
- package/bin/stpSpei/index.js +2 -18
- package/bin/teams-connector/index.d.ts +2 -2
- package/bin/teams-connector/index.js +2 -18
- package/bin/teams-connector/queue/TeamsNotificationPublisher.d.ts +2 -2
- package/bin/teams-connector/queue/TeamsNotificationPublisher.js +6 -8
- package/bin/teams-connector/queue/interfaces/ITeamsNotificationPublisher.d.ts +1 -1
- package/bin/teams-connector/queue/interfaces/ITeamsNotificationPublisher.js +1 -2
- package/bin/tern/api/TernApi.d.ts +5 -5
- package/bin/tern/api/TernApi.js +4 -6
- package/bin/tern/api/interfaces/ITernApi.d.ts +6 -6
- package/bin/tern/api/interfaces/ITernApi.js +1 -2
- package/bin/tern/index.d.ts +2 -2
- package/bin/tern/index.js +2 -18
- package/bin/transaction/api/TransactionApi.d.ts +4 -4
- package/bin/transaction/api/TransactionApi.js +4 -6
- package/bin/transaction/api/interfaces/ITransactionApi.d.ts +3 -3
- package/bin/transaction/api/interfaces/ITransactionApi.js +1 -2
- package/bin/transaction/index.d.ts +4 -4
- package/bin/transaction/index.js +4 -20
- package/bin/transaction/queue/TransactionPublisher.d.ts +2 -2
- package/bin/transaction/queue/TransactionPublisher.js +7 -10
- package/bin/transaction/queue/interfaces/ITransactionPublisher.d.ts +1 -1
- package/bin/transaction/queue/interfaces/ITransactionPublisher.js +1 -2
- package/bin/transactionProcessor/api/TransactionProcessorApi.d.ts +4 -4
- package/bin/transactionProcessor/api/TransactionProcessorApi.js +4 -6
- package/bin/transactionProcessor/api/interfaces/ITransactionProcessorApi.d.ts +3 -3
- package/bin/transactionProcessor/api/interfaces/ITransactionProcessorApi.js +1 -2
- package/bin/transactionProcessor/index.d.ts +2 -2
- package/bin/transactionProcessor/index.js +2 -18
- package/bin/uniteller-connector/api/UnitellerConnectorApi.d.ts +3 -3
- package/bin/uniteller-connector/api/UnitellerConnectorApi.js +4 -6
- package/bin/uniteller-connector/api/interfaces/IUnitellerConnectorApi.d.ts +2 -2
- package/bin/uniteller-connector/api/interfaces/IUnitellerConnectorApi.js +1 -2
- package/bin/uniteller-connector/index.d.ts +2 -2
- package/bin/uniteller-connector/index.js +2 -23
- package/bin/utils/InvokerUtils.js +4 -7
- package/bin/zendesk/ZendeskApi.d.ts +3 -3
- package/bin/zendesk/ZendeskApi.js +7 -13
- package/bin/zendesk/index.d.ts +2 -2
- package/bin/zendesk/index.js +2 -18
- package/bin/zendesk/interfaces/IZendeskApi.d.ts +2 -2
- package/bin/zendesk/interfaces/IZendeskApi.js +1 -2
- package/package.json +45 -36
- package/src/account-beneficiary/AccountBeneficiaryApi.ts +18 -18
- package/src/account-beneficiary/index.ts +3 -3
- package/src/account-beneficiary/interfaces/IAccountBeneficiaryApi.ts +7 -7
- package/src/account-fiadoinc/AccountFiadoIncApi.ts +5 -5
- package/src/account-fiadoinc/index.ts +5 -5
- package/src/account-fiadoinc/interfaces/IAccountFiadoIncApi.ts +4 -4
- package/src/account-fiadoinc/queue/Publisher.ts +23 -23
- package/src/account-fiadoinc/queue/interfaces/IPublisher.ts +4 -4
- package/src/account-fiadosa/AccountFiadoSAApi.ts +38 -38
- package/src/account-fiadosa/index.ts +2 -2
- package/src/account-fiadosa/interfaces/IAccountFiadoSAApi.ts +16 -16
- package/src/account-pagoconfiado/AccountPagoConfiadoApi.ts +78 -78
- package/src/account-pagoconfiado/index.ts +2 -2
- package/src/account-pagoconfiado/interfaces/IAccountPagoConfiadoApi.ts +37 -37
- package/src/activity-business/ActivityApi.ts +36 -36
- package/src/activity-business/index.ts +6 -6
- package/src/activity-business/interfaces/IActivityApi.ts +13 -13
- package/src/activity-business/queue/ActivityPublisher.ts +30 -30
- package/src/activity-business/queue/IActivityPublisher.ts +4 -4
- package/src/address/AddressApi.ts +46 -46
- package/src/address/index.ts +4 -4
- package/src/address/interfaces/IAddressApi.ts +30 -30
- package/src/ai-engine-connector/AiEngineApi.ts +3 -3
- package/src/ai-engine-connector/index.ts +2 -2
- package/src/ai-engine-connector/interfaces/IAiEngineApi.ts +2 -2
- package/src/appselectondata/AppSelectionDataApi.ts +32 -32
- package/src/appselectondata/index.ts +3 -3
- package/src/appselectondata/interfaces/IAppSelectionDataApi.ts +1 -1
- package/src/authentication/AuthenticationApi.ts +29 -29
- package/src/authentication/index.ts +5 -5
- package/src/authentication/interfaces/IAuthenticationApi.ts +8 -8
- package/src/bankAccount/BankAccountApi.ts +4 -4
- package/src/bankAccount/index.ts +2 -2
- package/src/bankAccount/interfaces/IBankAccountApi.ts +6 -6
- package/src/bbvaRst/api/BBVARstApi.ts +16 -16
- package/src/bbvaRst/api/interfaces/IBBVARstApi.ts +4 -4
- package/src/bbvaRst/index.ts +2 -2
- package/src/benefits-marketplace/api/BenefitsMarketplaceApi.ts +35 -35
- package/src/benefits-marketplace/api/dtos/BenefitLeafDisplayResponse.ts +21 -21
- package/src/benefits-marketplace/api/interfaces/IBenefitsMarketplaceApi.ts +62 -62
- package/src/benefits-marketplace/index.ts +3 -3
- package/src/blacklist/BlackListApi.ts +19 -19
- package/src/blacklist/index.ts +3 -3
- package/src/blacklist/interfaces/IBlackListApi.ts +20 -20
- package/src/card/CardApi.ts +103 -103
- package/src/card/index.ts +4 -4
- package/src/card/interfaces/ICardApi.ts +32 -32
- package/src/card-business/index.ts +2 -2
- package/src/card-business/queue/CardBusinessPublisher.ts +23 -23
- package/src/card-business/queue/ICardBusinessPublisher.ts +10 -10
- package/src/centralPayments/CentralPaymentsConnectorApi.ts +12 -12
- package/src/centralPayments/index.ts +2 -2
- package/src/centralPayments/interfaces/ICentralPaymentsConnectorApi.ts +10 -10
- package/src/circuloCredito/api/CirculoCreditoApi.ts +21 -21
- package/src/circuloCredito/api/interfaces/ICirculoCreditoApi.ts +7 -7
- package/src/circuloCredito/index.ts +2 -2
- package/src/cnbv-business/CnbvApi.ts +31 -31
- package/src/cnbv-business/index.ts +4 -4
- package/src/cnbv-business/interfaces/ICnbvApi.ts +19 -19
- package/src/cnbv-connector/CnbvConnectorApi.ts +18 -18
- package/src/cnbv-connector/index.ts +2 -2
- package/src/cnbv-connector/interfaces/ICnbvConnectorApi.ts +6 -6
- package/src/cognitoConnector/CognitoConnectorApi.ts +110 -110
- package/src/cognitoConnector/CognitoConnectorV2.ts +87 -87
- package/src/cognitoConnector/index.ts +11 -11
- package/src/cognitoConnector/interfaces/ICognitoConnectorApi.ts +16 -16
- package/src/cognitoConnector/interfaces/ICognitoV2Api.ts +63 -63
- package/src/collector/CollectorApi.ts +6 -6
- package/src/collector/index.ts +3 -3
- package/src/collector/interfaces/ICollectorApi.ts +5 -5
- package/src/commission-business/CommissionBusinessApi.ts +19 -19
- package/src/commission-business/index.ts +3 -3
- package/src/commission-business/interfaces/ICommissionBusinessApi.ts +15 -15
- package/src/contactInformation/ContactInformationApi.ts +20 -20
- package/src/contactInformation/index.ts +3 -3
- package/src/contactInformation/interface/IContactInformationApi.ts +8 -8
- package/src/container.config.ts +280 -271
- package/src/contract-business/api/ContractBusinessApi.ts +37 -37
- package/src/contract-business/api/interfaces/IContractBusinessApi.ts +32 -32
- package/src/contract-business/index.ts +2 -2
- package/src/contract-generator/ContractGeneratorApi.ts +18 -18
- package/src/contract-generator/index.ts +3 -3
- package/src/contract-generator/interfaces/IContractGeneratorApi.ts +16 -16
- package/src/countries-business/CountriesBusinessApi.ts +26 -26
- package/src/countries-business/index.ts +2 -2
- package/src/countries-business/interfaces/ICountriesBusinessApi.ts +22 -22
- package/src/credit-engine/CreditEngineApi.ts +54 -54
- package/src/credit-engine/index.ts +17 -17
- package/src/credit-engine/interfaces/ICreditEngineApi.ts +46 -46
- package/src/credit-engine/queue/CreditCollectionPublisher.ts +24 -24
- package/src/credit-engine/queue/CreditDelinquencyPublisher.ts +24 -24
- package/src/credit-engine/queue/CreditIncomeDetectionPublisher.ts +24 -24
- package/src/credit-engine/queue/CreditLienCollectionPublisher.ts +24 -24
- package/src/credit-engine/queue/CreditNotificationPublisher.ts +24 -24
- package/src/credit-engine/queue/CreditOfferGenerationPublisher.ts +24 -24
- package/src/credit-engine/queue/CreditReconciliationPublisher.ts +24 -24
- package/src/credit-engine/queue/CreditScoringPublisher.ts +24 -24
- package/src/credit-engine/queue/CreditStatementPublisher.ts +24 -24
- package/src/credit-engine/queue/CreditTransferPublisher.ts +24 -24
- package/src/credit-engine/queue/interfaces/ICreditCollectionPublisher.ts +5 -5
- package/src/credit-engine/queue/interfaces/ICreditDelinquencyPublisher.ts +5 -5
- package/src/credit-engine/queue/interfaces/ICreditIncomeDetectionPublisher.ts +5 -5
- package/src/credit-engine/queue/interfaces/ICreditLienCollectionPublisher.ts +5 -5
- package/src/credit-engine/queue/interfaces/ICreditNotificationPublisher.ts +5 -5
- package/src/credit-engine/queue/interfaces/ICreditOfferGenerationPublisher.ts +5 -5
- package/src/credit-engine/queue/interfaces/ICreditReconciliationPublisher.ts +5 -5
- package/src/credit-engine/queue/interfaces/ICreditScoringPublisher.ts +5 -5
- package/src/credit-engine/queue/interfaces/ICreditStatementPublisher.ts +5 -5
- package/src/credit-engine/queue/interfaces/ICreditTransferPublisher.ts +5 -5
- package/src/credit-payment/CreditPaymentApi.ts +73 -73
- package/src/credit-payment/index.ts +2 -2
- package/src/credit-payment/interfaces/ICreditPaymentApi.ts +52 -52
- package/src/credit-statements/api/CreditStatementsApi.ts +25 -25
- package/src/credit-statements/api/interfaces/ICreditStatementsApi.ts +30 -30
- package/src/credit-statements/index.ts +2 -2
- package/src/device/DeviceApi.ts +32 -32
- package/src/device/index.ts +3 -3
- package/src/device/interfaces/IDeviceApi.ts +41 -41
- package/src/directories/DirectoriesApi.ts +3 -3
- package/src/directories/index.ts +3 -3
- package/src/directories/interfaces/IDirectoriesApi.ts +2 -2
- package/src/directory/DirectoryApi.ts +196 -196
- package/src/directory/index.ts +3 -3
- package/src/directory/interfaces/IDirectoryApi.ts +73 -73
- package/src/directorySetting/DirectorySettingApi.ts +3 -3
- package/src/directorySetting/index.ts +3 -3
- package/src/directorySetting/interfaces/IDirectorySettingApi.ts +2 -2
- package/src/disputes/DisputesApi.ts +50 -50
- package/src/disputes/index.ts +3 -3
- package/src/disputes/interfaces/IDisputesApi.ts +54 -54
- package/src/document-generator/DocumentGeneratorApi.ts +51 -51
- package/src/document-generator/index.ts +2 -2
- package/src/document-generator/interfaces/IDocumentGeneratorApi.ts +34 -34
- package/src/document-image-processor/DocumentImageProcessorApi.ts +3 -3
- package/src/document-image-processor/index.ts +2 -2
- package/src/document-image-processor/interfaces/IDocumentImageProcessorApi.ts +2 -2
- package/src/estafeta/api/EstafetaApi.ts +6 -6
- package/src/estafeta/api/interfaces/IEstafetaApi.ts +4 -4
- package/src/estafeta/index.ts +2 -2
- package/src/event-history-business/EventHistoryApi.ts +108 -108
- package/src/event-history-business/index.ts +3 -3
- package/src/event-history-business/interfaces/IEventHistoryApi.ts +47 -47
- package/src/exchangeRates/ExchangeRatesApi.ts +3 -3
- package/src/exchangeRates/index.ts +2 -2
- package/src/exchangeRates/interfaces/IExchangeRatesApi.ts +2 -2
- package/src/fiadoMessages/api/FiadoMessagesApi.ts +20 -20
- package/src/fiadoMessages/api/interfaces/IFiadoMessagesApi.ts +2 -2
- package/src/fiadoMessages/index.ts +2 -2
- package/src/firebase-connector/FirebaseConnectorApi.ts +2 -2
- package/src/firebase-connector/index.ts +4 -4
- package/src/firebase-connector/interfaces/IFirebaseConnectorApi.ts +1 -1
- package/src/fraudPreventionEngine/api/FraudPreventionEngineApi.ts +3 -3
- package/src/fraudPreventionEngine/api/interfaces/IFraudPreventionEngineApi.ts +2 -2
- package/src/fraudPreventionEngine/index.ts +2 -2
- package/src/group/GroupApi.ts +3 -3
- package/src/group/index.ts +2 -2
- package/src/group/interfaces/IGroupApi.ts +2 -2
- package/src/identity/IdentityApi.ts +95 -95
- package/src/identity/index.ts +4 -4
- package/src/identity/interfaces/IIdentityApi.ts +46 -46
- package/src/index.ts +77 -75
- package/src/legalDocument/api/LegalDocumentApi.ts +38 -38
- package/src/legalDocument/api/interfaces/ILegalDocumentApi.ts +7 -7
- package/src/legalDocument/index.ts +4 -4
- package/src/messages-connector/api/MessagesConnectorApi.ts +50 -0
- package/src/messages-connector/api/interfaces/IMessagesConnectorApi.ts +25 -0
- package/src/messages-connector/index.ts +4 -0
- package/src/messages-connector/queue/MessagesConnectorPublisher.ts +18 -0
- package/src/messages-connector/queue/interfaces/IMessagesConnectorPublisher.ts +5 -0
- package/src/milestone-business/api/MilestoneBusinessApi.ts +26 -26
- package/src/milestone-business/api/interfaces/IMilestoneBusinessApi.ts +9 -9
- package/src/milestone-business/index.ts +2 -2
- package/src/multicommServicePayment/api/MulticommServicePaymentApi.ts +4 -4
- package/src/multicommServicePayment/api/interfaces/IMulticommServicePaymentApi.ts +3 -3
- package/src/multicommServicePayment/index.ts +2 -2
- package/src/notificationMessages/index.ts +2 -2
- package/src/notificationMessages/queue/NotificationMessagePublisher.ts +3 -3
- package/src/notificationMessages/queue/interfaces/INotificationMessagesPublisher.ts +2 -2
- package/src/notificationWebsockets/index.ts +2 -2
- package/src/notificationWebsockets/queue/NotificationWSMessagePublisher.ts +29 -29
- package/src/notificationWebsockets/queue/interfaces/INotificationWSMessagesPublisher.ts +4 -4
- package/src/observations/ObservationsApi.ts +3 -3
- package/src/observations/index.ts +3 -3
- package/src/observations/interfaces/IObservationsApi.ts +2 -2
- package/src/onboarding/api/OnboardingApi.ts +23 -23
- package/src/onboarding/api/interfaces/IOnboardingApi.ts +3 -3
- package/src/onboarding/index.ts +2 -2
- package/src/onboarding-business/api/OnboardingBusinessApi.ts +210 -210
- package/src/onboarding-business/api/interfaces/IOnboardingBusinessApi.ts +9 -9
- package/src/onboarding-business/index.ts +2 -2
- package/src/order-collector-business/OrderCollectorApi.ts +20 -20
- package/src/order-collector-business/index.ts +4 -4
- package/src/order-collector-business/interfaces/IOrderCollectorApi.ts +9 -9
- package/src/p2pContact/api/P2pContactApi.ts +19 -19
- package/src/p2pContact/api/interfaces/IP2pContactApi.ts +4 -4
- package/src/p2pContact/index.ts +2 -2
- package/src/payroll-business/PayrollApi.ts +19 -19
- package/src/payroll-business/index.ts +2 -2
- package/src/payroll-business/interfaces/IPayrollApi.ts +18 -18
- package/src/people-business/api/PeopleBusinessApi.ts +3 -3
- package/src/people-business/api/interfaces/IPeopleBusinessApi.ts +2 -2
- 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 +24 -24
- package/src/platform-error-events/queue/interfaces/IPlatformErrorEventsPublisher.ts +5 -5
- package/src/pomelo/api/PomeloApi.ts +109 -109
- package/src/pomelo/api/interfaces/IPomeloApi.ts +29 -29
- package/src/pomelo/index.ts +2 -2
- package/src/pomeloProcessor/api/PomeloProcessorApi.ts +17 -17
- package/src/pomeloProcessor/api/interfaces/IPomeloProcessorApi.ts +2 -2
- package/src/pomeloProcessor/index.ts +2 -2
- package/src/pricelist-business/PriceListApi.ts +3 -3
- package/src/pricelist-business/index.ts +2 -2
- package/src/pricelist-business/interfaces/IPriceListApi.ts +2 -2
- package/src/product-catalog/ProductCatalogApi.ts +2 -2
- package/src/product-catalog/index.ts +2 -2
- package/src/product-catalog/interfaces/IProductCatalogApi.ts +1 -1
- package/src/product-payment/api/ProductPaymentApi.ts +25 -25
- package/src/product-payment/api/interfaces/IProductPaymentApi.ts +8 -8
- package/src/product-payment/index.ts +2 -2
- package/src/referral-business/ReferralBusinessApi.ts +3 -3
- package/src/referral-business/index.ts +2 -2
- package/src/referral-business/interfaces/IReferralBusinessApi.ts +2 -2
- package/src/report-processor-business/api/IReportProcessorBusinessApi.ts +4 -4
- package/src/report-processor-business/api/ReportProcessorBusinessApi.ts +17 -17
- package/src/report-processor-business/index.ts +5 -5
- package/src/riskProfile/api/RiskProfileApi.ts +5 -5
- package/src/riskProfile/api/TransactionAlertApi.ts +49 -49
- package/src/riskProfile/api/interfaces/IRiskProfileApi.ts +4 -4
- package/src/riskProfile/api/interfaces/ITransactionAlertApi.ts +70 -70
- package/src/riskProfile/index.ts +8 -8
- package/src/riskProfile/queue/TransactionAlarmPublisher.ts +25 -25
- package/src/riskProfile/queue/interfaces/ITransactionAlarmPublisher.ts +4 -4
- package/src/service-business/ServiceApi.ts +5 -5
- package/src/service-business/index.ts +3 -3
- package/src/service-business/interfaces/IServiceApi.ts +4 -4
- package/src/sessionActivity/index.ts +2 -2
- package/src/sessionActivity/queue/SessionActivityPublisher.ts +23 -23
- package/src/sessionActivity/queue/interfaces/ISessionActivityPublisher.ts +4 -4
- package/src/sns-ses-connector/api/SnsSesConnectorApi.ts +17 -0
- package/src/sns-ses-connector/api/interfaces/ISnsSesConnectorApi.ts +6 -0
- package/src/sns-ses-connector/index.ts +2 -0
- package/src/stp-business/api/STPBusinessApi.ts +32 -32
- package/src/stp-business/api/interfaces/ISTPBusinessApi.ts +15 -15
- package/src/stp-business/index.ts +2 -2
- package/src/stpAccount/api/STPAccountApi.ts +111 -111
- package/src/stpAccount/api/interfaces/ISTPAccountApi.ts +7 -7
- package/src/stpAccount/index.ts +2 -2
- package/src/stpServicePayment/api/StpServicePaymentApi.ts +4 -4
- package/src/stpServicePayment/api/interfaces/IStpServicePaymentApi.ts +3 -3
- package/src/stpServicePayment/index.ts +2 -2
- package/src/stpSpei/api/StpSpeiApi.ts +32 -32
- package/src/stpSpei/api/interfaces/IStpSpeiApi.ts +6 -6
- package/src/stpSpei/index.ts +2 -2
- package/src/teams-connector/index.ts +2 -2
- package/src/teams-connector/queue/TeamsNotificationPublisher.ts +24 -24
- package/src/teams-connector/queue/interfaces/ITeamsNotificationPublisher.ts +5 -5
- package/src/tern/api/TernApi.ts +5 -5
- package/src/tern/api/interfaces/ITernApi.ts +6 -6
- package/src/tern/index.ts +2 -2
- package/src/transaction/api/TransactionApi.ts +4 -4
- package/src/transaction/api/interfaces/ITransactionApi.ts +3 -3
- package/src/transaction/index.ts +5 -5
- package/src/transaction/queue/TransactionPublisher.ts +25 -25
- package/src/transaction/queue/interfaces/ITransactionPublisher.ts +4 -4
- package/src/transactionProcessor/api/TransactionProcessorApi.ts +4 -4
- package/src/transactionProcessor/api/interfaces/ITransactionProcessorApi.ts +3 -3
- package/src/transactionProcessor/index.ts +2 -2
- package/src/uniteller-connector/api/UnitellerConnectorApi.ts +113 -113
- package/src/uniteller-connector/api/interfaces/IUnitellerConnectorApi.ts +85 -85
- package/src/uniteller-connector/index.ts +2 -2
- package/src/utils/InvokerUtils.ts +18 -18
- package/src/zendesk/ZendeskApi.ts +3 -3
- package/src/zendesk/index.ts +3 -3
- package/src/zendesk/interfaces/IZendeskApi.ts +2 -2
package/package.json
CHANGED
|
@@ -1,36 +1,45 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@fiado/api-invoker",
|
|
3
|
-
"version": "4.
|
|
4
|
-
"description": "Sirve como un puente entre diferentes funciones lambda, facilitando la comunicación entre ellas a través de invocaciones http",
|
|
5
|
-
"
|
|
6
|
-
"
|
|
7
|
-
"
|
|
8
|
-
|
|
9
|
-
"
|
|
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
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "@fiado/api-invoker",
|
|
3
|
+
"version": "4.2.0",
|
|
4
|
+
"description": "Sirve como un puente entre diferentes funciones lambda, facilitando la comunicación entre ellas a través de invocaciones http",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "bin/index.js",
|
|
7
|
+
"types": "bin/index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"types": "./bin/index.d.ts",
|
|
11
|
+
"import": "./bin/index.js",
|
|
12
|
+
"default": "./bin/index.js"
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"scripts": {
|
|
16
|
+
"test": "node --experimental-vm-modules node_modules/jest/bin/jest.js",
|
|
17
|
+
"build": "tsc",
|
|
18
|
+
"prepublishOnly": "npm run build"
|
|
19
|
+
},
|
|
20
|
+
"keywords": [],
|
|
21
|
+
"author": "Fiado Inc",
|
|
22
|
+
"license": "ISC",
|
|
23
|
+
"dependencies": {
|
|
24
|
+
"@aws-sdk/client-sqs": "^3.919.0",
|
|
25
|
+
"@fiado/gateway-adapter": "^2.0.2",
|
|
26
|
+
"@fiado/http-client": "^2.0.1",
|
|
27
|
+
"@fiado/logger": "^1.1.3",
|
|
28
|
+
"@fiado/type-kit": "^3.33.0",
|
|
29
|
+
"dotenv": "^16.4.7"
|
|
30
|
+
},
|
|
31
|
+
"peerDependencies": {
|
|
32
|
+
"inversify": "^8.0.0",
|
|
33
|
+
"reflect-metadata": "^0.2.2"
|
|
34
|
+
},
|
|
35
|
+
"devDependencies": {
|
|
36
|
+
"@types/jest": "^30.0.0",
|
|
37
|
+
"@types/node": "^25.9.1",
|
|
38
|
+
"aws-sdk-client-mock": "^4.1.0",
|
|
39
|
+
"inversify": "^8.1.0",
|
|
40
|
+
"jest": "^30.4.2",
|
|
41
|
+
"reflect-metadata": "^0.2.2",
|
|
42
|
+
"ts-jest": "^29.4.11",
|
|
43
|
+
"typescript": "^6.0.3"
|
|
44
|
+
}
|
|
45
|
+
}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { inject, injectable } from "inversify";
|
|
2
|
-
import { IAccountBeneficiaryApi } from "./interfaces/IAccountBeneficiaryApi";
|
|
3
|
-
import { IHttpRequest } from "@fiado/http-client";
|
|
4
|
-
import { AccountBeneficiaryCreateRequest } from "@fiado/type-kit/bin/beneficiary";
|
|
5
|
-
import { CountryId } from "@fiado/type-kit/bin/country";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
@injectable()
|
|
9
|
-
export class AccountBeneficiaryApi implements IAccountBeneficiaryApi {
|
|
10
|
-
private readonly baseUrl = process.env.ACCOUNT_BENEFICIARY_LAMBDA_URL || "";
|
|
11
|
-
|
|
12
|
-
constructor(@inject("IHttpRequest") private httpRequest: IHttpRequest) {
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
async create(directoryId: string, countryId: CountryId, input: AccountBeneficiaryCreateRequest[]): Promise<void> {
|
|
16
|
-
const url = `${this.baseUrl}${countryId}/users/${directoryId}`;
|
|
17
|
-
return await this.httpRequest.post(url, input);
|
|
18
|
-
}
|
|
1
|
+
import { inject, injectable } from "inversify";
|
|
2
|
+
import { IAccountBeneficiaryApi } from "./interfaces/IAccountBeneficiaryApi.js";
|
|
3
|
+
import { IHttpRequest } from "@fiado/http-client";
|
|
4
|
+
import { AccountBeneficiaryCreateRequest } from "@fiado/type-kit/bin/beneficiary/index.js";
|
|
5
|
+
import { CountryId } from "@fiado/type-kit/bin/country/index.js";
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
@injectable()
|
|
9
|
+
export class AccountBeneficiaryApi implements IAccountBeneficiaryApi {
|
|
10
|
+
private readonly baseUrl = process.env.ACCOUNT_BENEFICIARY_LAMBDA_URL || "";
|
|
11
|
+
|
|
12
|
+
constructor(@inject("IHttpRequest") private httpRequest: IHttpRequest) {
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
async create(directoryId: string, countryId: CountryId, input: AccountBeneficiaryCreateRequest[]): Promise<void> {
|
|
16
|
+
const url = `${this.baseUrl}${countryId}/users/${directoryId}`;
|
|
17
|
+
return await this.httpRequest.post(url, input);
|
|
18
|
+
}
|
|
19
19
|
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
export * from './interfaces/IAccountBeneficiaryApi';
|
|
3
|
-
export * from './AccountBeneficiaryApi';
|
|
1
|
+
|
|
2
|
+
export * from './interfaces/IAccountBeneficiaryApi.js';
|
|
3
|
+
export * from './AccountBeneficiaryApi.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { AccountBeneficiaryCreateRequest } from "@fiado/type-kit/bin/beneficiary";
|
|
2
|
-
import { CountryId } from "@fiado/type-kit/bin/country";
|
|
3
|
-
|
|
4
|
-
export interface IAccountBeneficiaryApi {
|
|
5
|
-
|
|
6
|
-
create(directoryId: string, countryId: CountryId, input: AccountBeneficiaryCreateRequest[]): Promise<void>;
|
|
7
|
-
|
|
1
|
+
import { AccountBeneficiaryCreateRequest } from "@fiado/type-kit/bin/beneficiary/index.js";
|
|
2
|
+
import { CountryId } from "@fiado/type-kit/bin/country/index.js";
|
|
3
|
+
|
|
4
|
+
export interface IAccountBeneficiaryApi {
|
|
5
|
+
|
|
6
|
+
create(directoryId: string, countryId: CountryId, input: AccountBeneficiaryCreateRequest[]): Promise<void>;
|
|
7
|
+
|
|
8
8
|
}
|
|
@@ -12,12 +12,12 @@ import {
|
|
|
12
12
|
GetAccountResponseList,
|
|
13
13
|
GetBankAccountUserResponse,
|
|
14
14
|
GetPocketBalanceResponse
|
|
15
|
-
} from "@fiado/type-kit/bin/account";
|
|
16
|
-
import FiadoApiResponse from "@fiado/type-kit/bin/apiResponse/dtos/FiadoApiResponse";
|
|
17
|
-
import { Provider, ProviderDocumentUploadRequest } from "@fiado/type-kit/bin/provider";
|
|
15
|
+
} from "@fiado/type-kit/bin/account/index.js";
|
|
16
|
+
import { FiadoApiResponse } from "@fiado/type-kit/bin/apiResponse/dtos/FiadoApiResponse.js";
|
|
17
|
+
import { Provider, ProviderDocumentUploadRequest } from "@fiado/type-kit/bin/provider/index.js";
|
|
18
18
|
import { inject, injectable } from "inversify";
|
|
19
|
-
import { IAccountFiadoIncApi } from "./interfaces/IAccountFiadoIncApi";
|
|
20
|
-
import { IPublisher } from "./queue/interfaces/IPublisher";
|
|
19
|
+
import { IAccountFiadoIncApi } from "./interfaces/IAccountFiadoIncApi.js";
|
|
20
|
+
import { IPublisher } from "./queue/interfaces/IPublisher.js";
|
|
21
21
|
|
|
22
22
|
@injectable()
|
|
23
23
|
export default class AccountFiadoIncApi implements IAccountFiadoIncApi {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export * from './interfaces/IAccountFiadoIncApi';
|
|
2
|
-
export * from './AccountFiadoIncApi';
|
|
3
|
-
|
|
4
|
-
export * from './queue/interfaces/IPublisher';
|
|
5
|
-
export * from './queue/Publisher';
|
|
1
|
+
export * from './interfaces/IAccountFiadoIncApi.js';
|
|
2
|
+
export * from './AccountFiadoIncApi.js';
|
|
3
|
+
|
|
4
|
+
export * from './queue/interfaces/IPublisher.js';
|
|
5
|
+
export * from './queue/Publisher.js';
|
|
@@ -11,10 +11,10 @@ import {
|
|
|
11
11
|
GetAccountResponseList,
|
|
12
12
|
GetBankAccountUserResponse,
|
|
13
13
|
GetPocketBalanceResponse
|
|
14
|
-
} from "@fiado/type-kit/bin/account";
|
|
15
|
-
import FiadoApiResponse from "@fiado/type-kit/bin/apiResponse/dtos/FiadoApiResponse";
|
|
16
|
-
import { Provider } from "@fiado/type-kit/bin/provider";
|
|
17
|
-
import { IPublisher } from "../queue/interfaces/IPublisher";
|
|
14
|
+
} from "@fiado/type-kit/bin/account/index.js";
|
|
15
|
+
import type { FiadoApiResponse } from "@fiado/type-kit/bin/apiResponse/dtos/FiadoApiResponse.js";
|
|
16
|
+
import { Provider } from "@fiado/type-kit/bin/provider/index.js";
|
|
17
|
+
import { IPublisher } from "../queue/interfaces/IPublisher.js";
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
export interface IAccountFiadoIncApi extends IPublisher {
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { SendMessageCommand, SendMessageRequest, SQSClient } from "@aws-sdk/client-sqs";
|
|
2
|
-
import { injectable } from "inversify";
|
|
3
|
-
import { Provider, ProviderDocumentUploadRequest } from "@fiado/type-kit/bin/provider";
|
|
4
|
-
import { IPublisher } from "./interfaces/IPublisher";
|
|
5
|
-
|
|
6
|
-
@injectable()
|
|
7
|
-
export class Publisher implements IPublisher {
|
|
8
|
-
private readonly FIADO_INC_KYC_MESSAGE_QUEUE = process.env.FIADO_INC_KYC_MESSAGE_QUEUE
|
|
9
|
-
|
|
10
|
-
async publish(provider: Provider, message: { externalUserId: string, input: ProviderDocumentUploadRequest }): Promise<void> {
|
|
11
|
-
try {
|
|
12
|
-
const client: SQSClient = new SQSClient();
|
|
13
|
-
const sendMessageRequest: SendMessageRequest = {
|
|
14
|
-
QueueUrl: this.FIADO_INC_KYC_MESSAGE_QUEUE,
|
|
15
|
-
MessageBody: JSON.stringify(message),
|
|
16
|
-
};
|
|
17
|
-
const command: SendMessageCommand = new SendMessageCommand(sendMessageRequest);
|
|
18
|
-
await client.send(command);
|
|
19
|
-
} catch (error) {
|
|
20
|
-
const errorMessage = error instanceof Error ? error.message : String(error);
|
|
21
|
-
throw new Error(`Error publishing message to queue ${': ' + errorMessage}`);
|
|
22
|
-
}
|
|
23
|
-
}
|
|
1
|
+
import { SendMessageCommand, SendMessageRequest, SQSClient } from "@aws-sdk/client-sqs";
|
|
2
|
+
import { injectable } from "inversify";
|
|
3
|
+
import { Provider, ProviderDocumentUploadRequest } from "@fiado/type-kit/bin/provider/index.js";
|
|
4
|
+
import { IPublisher } from "./interfaces/IPublisher.js";
|
|
5
|
+
|
|
6
|
+
@injectable()
|
|
7
|
+
export class Publisher implements IPublisher {
|
|
8
|
+
private readonly FIADO_INC_KYC_MESSAGE_QUEUE = process.env.FIADO_INC_KYC_MESSAGE_QUEUE
|
|
9
|
+
|
|
10
|
+
async publish(provider: Provider, message: { externalUserId: string, input: ProviderDocumentUploadRequest }): Promise<void> {
|
|
11
|
+
try {
|
|
12
|
+
const client: SQSClient = new SQSClient();
|
|
13
|
+
const sendMessageRequest: SendMessageRequest = {
|
|
14
|
+
QueueUrl: this.FIADO_INC_KYC_MESSAGE_QUEUE,
|
|
15
|
+
MessageBody: JSON.stringify(message),
|
|
16
|
+
};
|
|
17
|
+
const command: SendMessageCommand = new SendMessageCommand(sendMessageRequest);
|
|
18
|
+
await client.send(command);
|
|
19
|
+
} catch (error) {
|
|
20
|
+
const errorMessage = error instanceof Error ? error.message : String(error);
|
|
21
|
+
throw new Error(`Error publishing message to queue ${': ' + errorMessage}`);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
24
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Provider, ProviderDocumentUploadRequest } from "@fiado/type-kit/bin/provider";
|
|
2
|
-
|
|
3
|
-
export interface IPublisher {
|
|
4
|
-
publish(provider: Provider, params: { externalUserId: string, input: ProviderDocumentUploadRequest }): Promise<void>;
|
|
1
|
+
import { Provider, ProviderDocumentUploadRequest } from "@fiado/type-kit/bin/provider/index.js";
|
|
2
|
+
|
|
3
|
+
export interface IPublisher {
|
|
4
|
+
publish(provider: Provider, params: { externalUserId: string, input: ProviderDocumentUploadRequest }): Promise<void>;
|
|
5
5
|
}
|
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
import { IAccountFiadoSAApi } from "./interfaces/IAccountFiadoSAApi";
|
|
2
|
-
import { AccountCreateRequest, AccountCreateResponse, AccountUpdateRequest, GetAccountResponse, SPEITransferUpdateRequest } from "@fiado/type-kit/bin/account";
|
|
3
|
-
import { ApiGatewayResponse } from "@fiado/gateway-adapter";
|
|
4
|
-
import { inject, injectable } from "inversify";
|
|
5
|
-
import { IHttpRequest } from "@fiado/http-client";
|
|
6
|
-
import { Provider } from "@fiado/type-kit/bin/provider";
|
|
7
|
-
|
|
8
|
-
@injectable()
|
|
9
|
-
export default class AccountFiadoSAApi implements IAccountFiadoSAApi {
|
|
10
|
-
private readonly baseUrl = process.env.ACCOUNT_FIADOSA_LAMBDA_URL || "";
|
|
11
|
-
|
|
12
|
-
constructor(@inject("IHttpRequest") private httpRequest: IHttpRequest) {
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
async cancelAccount(directoryId: string, accountNumber: string, documentNumber: string): Promise<ApiGatewayResponse<void>> {
|
|
16
|
-
const url = `${this.baseUrl}/cancel`;
|
|
17
|
-
return await this.httpRequest.post(url, { directoryId, accountNumber, documentNumber });
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
async createAccount(provider: Provider, data: AccountCreateRequest): Promise<ApiGatewayResponse<AccountCreateResponse[]>> {
|
|
21
|
-
const url = `${this.baseUrl}`;
|
|
22
|
-
return await this.httpRequest.post(url, data);
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
async getAccountByDirectoryId(directoryId: string): Promise<ApiGatewayResponse<GetAccountResponse[]>> {
|
|
26
|
-
const url = `${this.baseUrl}users/${directoryId}`;
|
|
27
|
-
return await this.httpRequest.get(url);
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
async update(directoryId: string, data: AccountUpdateRequest): Promise<ApiGatewayResponse<void>> {
|
|
31
|
-
const url = `${this.baseUrl}users/${directoryId}`;
|
|
32
|
-
return await this.httpRequest.put(url, data);
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
async updateSpeiTransferRequest(transactionNumber: string, input: Partial<SPEITransferUpdateRequest>): Promise<ApiGatewayResponse<void>> {
|
|
36
|
-
const url = `${this.baseUrl}/spei/${transactionNumber}`;
|
|
37
|
-
return await this.httpRequest.put(url, input);
|
|
38
|
-
}
|
|
1
|
+
import { IAccountFiadoSAApi } from "./interfaces/IAccountFiadoSAApi.js";
|
|
2
|
+
import { AccountCreateRequest, AccountCreateResponse, AccountUpdateRequest, GetAccountResponse, SPEITransferUpdateRequest } from "@fiado/type-kit/bin/account/index.js";
|
|
3
|
+
import { ApiGatewayResponse } from "@fiado/gateway-adapter";
|
|
4
|
+
import { inject, injectable } from "inversify";
|
|
5
|
+
import { IHttpRequest } from "@fiado/http-client";
|
|
6
|
+
import { Provider } from "@fiado/type-kit/bin/provider/index.js";
|
|
7
|
+
|
|
8
|
+
@injectable()
|
|
9
|
+
export default class AccountFiadoSAApi implements IAccountFiadoSAApi {
|
|
10
|
+
private readonly baseUrl = process.env.ACCOUNT_FIADOSA_LAMBDA_URL || "";
|
|
11
|
+
|
|
12
|
+
constructor(@inject("IHttpRequest") private httpRequest: IHttpRequest) {
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
async cancelAccount(directoryId: string, accountNumber: string, documentNumber: string): Promise<ApiGatewayResponse<void>> {
|
|
16
|
+
const url = `${this.baseUrl}/cancel`;
|
|
17
|
+
return await this.httpRequest.post(url, { directoryId, accountNumber, documentNumber });
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
async createAccount(provider: Provider, data: AccountCreateRequest): Promise<ApiGatewayResponse<AccountCreateResponse[]>> {
|
|
21
|
+
const url = `${this.baseUrl}`;
|
|
22
|
+
return await this.httpRequest.post(url, data);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
async getAccountByDirectoryId(directoryId: string): Promise<ApiGatewayResponse<GetAccountResponse[]>> {
|
|
26
|
+
const url = `${this.baseUrl}users/${directoryId}`;
|
|
27
|
+
return await this.httpRequest.get(url);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
async update(directoryId: string, data: AccountUpdateRequest): Promise<ApiGatewayResponse<void>> {
|
|
31
|
+
const url = `${this.baseUrl}users/${directoryId}`;
|
|
32
|
+
return await this.httpRequest.put(url, data);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
async updateSpeiTransferRequest(transactionNumber: string, input: Partial<SPEITransferUpdateRequest>): Promise<ApiGatewayResponse<void>> {
|
|
36
|
+
const url = `${this.baseUrl}/spei/${transactionNumber}`;
|
|
37
|
+
return await this.httpRequest.put(url, input);
|
|
38
|
+
}
|
|
39
39
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './interfaces/IAccountFiadoSAApi';
|
|
2
|
-
export * from './AccountFiadoSAApi';
|
|
1
|
+
export * from './interfaces/IAccountFiadoSAApi.js';
|
|
2
|
+
export * from './AccountFiadoSAApi.js';
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { AccountCreateRequest, AccountCreateResponse, AccountUpdateRequest, GetAccountResponse, SPEITransferUpdateRequest } from "@fiado/type-kit/bin/account";
|
|
2
|
-
import { ApiGatewayResponse } from "@fiado/gateway-adapter";
|
|
3
|
-
import { Provider } from "@fiado/type-kit/bin/provider";
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
export interface IAccountFiadoSAApi {
|
|
7
|
-
createAccount(provider: Provider, data: AccountCreateRequest): Promise<ApiGatewayResponse<AccountCreateResponse[]>>;
|
|
8
|
-
|
|
9
|
-
getAccountByDirectoryId(directoryId: string): Promise<ApiGatewayResponse<GetAccountResponse[]>>;
|
|
10
|
-
|
|
11
|
-
update(directoryId: string, data: AccountUpdateRequest): Promise<ApiGatewayResponse<void>>
|
|
12
|
-
|
|
13
|
-
cancelAccount(directoryId: string, accountNumber: string, documentNumber: string): Promise<ApiGatewayResponse<void>>;
|
|
14
|
-
|
|
15
|
-
updateSpeiTransferRequest(id: string, input: Partial<SPEITransferUpdateRequest>): Promise<ApiGatewayResponse<void>>;
|
|
16
|
-
|
|
1
|
+
import { AccountCreateRequest, AccountCreateResponse, AccountUpdateRequest, GetAccountResponse, SPEITransferUpdateRequest } from "@fiado/type-kit/bin/account/index.js";
|
|
2
|
+
import { ApiGatewayResponse } from "@fiado/gateway-adapter";
|
|
3
|
+
import { Provider } from "@fiado/type-kit/bin/provider/index.js";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export interface IAccountFiadoSAApi {
|
|
7
|
+
createAccount(provider: Provider, data: AccountCreateRequest): Promise<ApiGatewayResponse<AccountCreateResponse[]>>;
|
|
8
|
+
|
|
9
|
+
getAccountByDirectoryId(directoryId: string): Promise<ApiGatewayResponse<GetAccountResponse[]>>;
|
|
10
|
+
|
|
11
|
+
update(directoryId: string, data: AccountUpdateRequest): Promise<ApiGatewayResponse<void>>
|
|
12
|
+
|
|
13
|
+
cancelAccount(directoryId: string, accountNumber: string, documentNumber: string): Promise<ApiGatewayResponse<void>>;
|
|
14
|
+
|
|
15
|
+
updateSpeiTransferRequest(id: string, input: Partial<SPEITransferUpdateRequest>): Promise<ApiGatewayResponse<void>>;
|
|
16
|
+
|
|
17
17
|
}
|
|
@@ -1,79 +1,79 @@
|
|
|
1
|
-
import {IAccountPagoConfiadoApi} from "./interfaces/IAccountPagoConfiadoApi";
|
|
2
|
-
import {AccountCreateRequest, AccountCreateResponse, AccountUpdateBalanceRequest, AccountUpdateRequest, GetAccountResponse, GetAccountResponseList} from "@fiado/type-kit/bin/account";
|
|
3
|
-
import {ApiGatewayResponse} from "@fiado/gateway-adapter";
|
|
4
|
-
import {inject, injectable} from "inversify";
|
|
5
|
-
import {IHttpRequest} from "@fiado/http-client";
|
|
6
|
-
import { Provider } from "@fiado/type-kit/bin/provider";
|
|
7
|
-
|
|
8
|
-
@injectable()
|
|
9
|
-
export default class AccountPagoConfiadoApi implements IAccountPagoConfiadoApi {
|
|
10
|
-
private readonly baseUrl = process.env.ACCOUNT_PAGOCONFIADO_LAMBDA_URL || "";
|
|
11
|
-
|
|
12
|
-
constructor(@inject("IHttpRequest") private httpRequest: IHttpRequest) {}
|
|
13
|
-
|
|
14
|
-
async cancelAccount(directoryId:string,accountNumber?: string, documentNumber?: string): Promise<ApiGatewayResponse<void>> {
|
|
15
|
-
const url = `${this.baseUrl}/cancel`;
|
|
16
|
-
return await this.httpRequest.post(url, {directoryId,accountNumber,documentNumber});
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
async createAccount(provider: Provider, data: AccountCreateRequest): Promise<ApiGatewayResponse<AccountCreateResponse>> {
|
|
20
|
-
const url = `${this.baseUrl}`;
|
|
21
|
-
return await this.httpRequest.post(url, data);
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
async getAccountByDirectoryId(directoryId: string): Promise<ApiGatewayResponse<GetAccountResponse[]>> {
|
|
25
|
-
const url = `${this.baseUrl}users/${directoryId}`;
|
|
26
|
-
return await this.httpRequest.get(url);
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
async updateAccountBalance(accountId:string, params: AccountUpdateBalanceRequest): Promise<ApiGatewayResponse<Boolean>> {
|
|
30
|
-
const url = `${this.baseUrl}${accountId}/balance`;
|
|
31
|
-
return await this.httpRequest.put(url,params);
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
async update(directoryId: string, data: AccountUpdateRequest): Promise<ApiGatewayResponse<void>> {
|
|
35
|
-
const url = `${this.baseUrl}users/${directoryId}`;
|
|
36
|
-
return await this.httpRequest.put(url, data);
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
async updateByAccountNumber(accountNumber: string, data: AccountUpdateRequest): Promise<ApiGatewayResponse<void>> {
|
|
40
|
-
const url = `${this.baseUrl}users/accountNumber/${accountNumber}`;
|
|
41
|
-
return await this.httpRequest.put(url, data);
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
async getAccountByAccountNumber(accountNumber: string): Promise<ApiGatewayResponse<void>> {
|
|
45
|
-
const url = `${this.baseUrl}users/accountNumber/${accountNumber}`;
|
|
46
|
-
return await this.httpRequest.get(url);
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
async getAccountListByDateMinorOrEqual(params: { index?: string | null; pageSize?: string; date?: string; }): Promise<ApiGatewayResponse<any>> {
|
|
50
|
-
|
|
51
|
-
let queryParams = [];
|
|
52
|
-
|
|
53
|
-
if (params.index) {
|
|
54
|
-
queryParams.push(`index=${params.index}`);
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
if (params.pageSize) {
|
|
58
|
-
queryParams.push(`pageSize=${params.pageSize}`);
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
if (params.date) {
|
|
62
|
-
queryParams.push(`date=${params.date}`);
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
const url = `${this.baseUrl}?${queryParams.join('&')}`;
|
|
66
|
-
return await this.httpRequest.get(url);
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
async scanAccountsByDateRange(startDate: number, endDate: number, limit?: number, lastEvaluatedKey?: string): Promise<ApiGatewayResponse<GetAccountResponseList>> {
|
|
70
|
-
const queryParams = new URLSearchParams();
|
|
71
|
-
queryParams.append('startDate', startDate.toString());
|
|
72
|
-
queryParams.append('endDate', endDate.toString());
|
|
73
|
-
if (limit) queryParams.append('limit', limit.toString());
|
|
74
|
-
if (lastEvaluatedKey) queryParams.append('lastEvaluatedKey', lastEvaluatedKey);
|
|
75
|
-
|
|
76
|
-
const url = `${this.baseUrl}accounts/scan/by-date-range?${queryParams.toString()}`;
|
|
77
|
-
return await this.httpRequest.get(url);
|
|
78
|
-
}
|
|
1
|
+
import {IAccountPagoConfiadoApi} from "./interfaces/IAccountPagoConfiadoApi.js";
|
|
2
|
+
import {AccountCreateRequest, AccountCreateResponse, AccountUpdateBalanceRequest, AccountUpdateRequest, GetAccountResponse, GetAccountResponseList} from "@fiado/type-kit/bin/account/index.js";
|
|
3
|
+
import {ApiGatewayResponse} from "@fiado/gateway-adapter";
|
|
4
|
+
import {inject, injectable} from "inversify";
|
|
5
|
+
import {IHttpRequest} from "@fiado/http-client";
|
|
6
|
+
import { Provider } from "@fiado/type-kit/bin/provider/index.js";
|
|
7
|
+
|
|
8
|
+
@injectable()
|
|
9
|
+
export default class AccountPagoConfiadoApi implements IAccountPagoConfiadoApi {
|
|
10
|
+
private readonly baseUrl = process.env.ACCOUNT_PAGOCONFIADO_LAMBDA_URL || "";
|
|
11
|
+
|
|
12
|
+
constructor(@inject("IHttpRequest") private httpRequest: IHttpRequest) {}
|
|
13
|
+
|
|
14
|
+
async cancelAccount(directoryId:string,accountNumber?: string, documentNumber?: string): Promise<ApiGatewayResponse<void>> {
|
|
15
|
+
const url = `${this.baseUrl}/cancel`;
|
|
16
|
+
return await this.httpRequest.post(url, {directoryId,accountNumber,documentNumber});
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
async createAccount(provider: Provider, data: AccountCreateRequest): Promise<ApiGatewayResponse<AccountCreateResponse>> {
|
|
20
|
+
const url = `${this.baseUrl}`;
|
|
21
|
+
return await this.httpRequest.post(url, data);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
async getAccountByDirectoryId(directoryId: string): Promise<ApiGatewayResponse<GetAccountResponse[]>> {
|
|
25
|
+
const url = `${this.baseUrl}users/${directoryId}`;
|
|
26
|
+
return await this.httpRequest.get(url);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
async updateAccountBalance(accountId:string, params: AccountUpdateBalanceRequest): Promise<ApiGatewayResponse<Boolean>> {
|
|
30
|
+
const url = `${this.baseUrl}${accountId}/balance`;
|
|
31
|
+
return await this.httpRequest.put(url,params);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
async update(directoryId: string, data: AccountUpdateRequest): Promise<ApiGatewayResponse<void>> {
|
|
35
|
+
const url = `${this.baseUrl}users/${directoryId}`;
|
|
36
|
+
return await this.httpRequest.put(url, data);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
async updateByAccountNumber(accountNumber: string, data: AccountUpdateRequest): Promise<ApiGatewayResponse<void>> {
|
|
40
|
+
const url = `${this.baseUrl}users/accountNumber/${accountNumber}`;
|
|
41
|
+
return await this.httpRequest.put(url, data);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
async getAccountByAccountNumber(accountNumber: string): Promise<ApiGatewayResponse<void>> {
|
|
45
|
+
const url = `${this.baseUrl}users/accountNumber/${accountNumber}`;
|
|
46
|
+
return await this.httpRequest.get(url);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
async getAccountListByDateMinorOrEqual(params: { index?: string | null; pageSize?: string; date?: string; }): Promise<ApiGatewayResponse<any>> {
|
|
50
|
+
|
|
51
|
+
let queryParams = [];
|
|
52
|
+
|
|
53
|
+
if (params.index) {
|
|
54
|
+
queryParams.push(`index=${params.index}`);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
if (params.pageSize) {
|
|
58
|
+
queryParams.push(`pageSize=${params.pageSize}`);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
if (params.date) {
|
|
62
|
+
queryParams.push(`date=${params.date}`);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
const url = `${this.baseUrl}?${queryParams.join('&')}`;
|
|
66
|
+
return await this.httpRequest.get(url);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
async scanAccountsByDateRange(startDate: number, endDate: number, limit?: number, lastEvaluatedKey?: string): Promise<ApiGatewayResponse<GetAccountResponseList>> {
|
|
70
|
+
const queryParams = new URLSearchParams();
|
|
71
|
+
queryParams.append('startDate', startDate.toString());
|
|
72
|
+
queryParams.append('endDate', endDate.toString());
|
|
73
|
+
if (limit) queryParams.append('limit', limit.toString());
|
|
74
|
+
if (lastEvaluatedKey) queryParams.append('lastEvaluatedKey', lastEvaluatedKey);
|
|
75
|
+
|
|
76
|
+
const url = `${this.baseUrl}accounts/scan/by-date-range?${queryParams.toString()}`;
|
|
77
|
+
return await this.httpRequest.get(url);
|
|
78
|
+
}
|
|
79
79
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './interfaces/IAccountPagoConfiadoApi';
|
|
2
|
-
export * from './AccountPagoConfiadoApi';
|
|
1
|
+
export * from './interfaces/IAccountPagoConfiadoApi.js';
|
|
2
|
+
export * from './AccountPagoConfiadoApi.js';
|
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
import {
|
|
2
|
-
AccountCreateRequest,
|
|
3
|
-
AccountCreateResponse,
|
|
4
|
-
AccountUpdateBalanceRequest,
|
|
5
|
-
AccountUpdateRequest,
|
|
6
|
-
GetAccountResponse,
|
|
7
|
-
GetAccountResponseList
|
|
8
|
-
} from "@fiado/type-kit/bin/account";
|
|
9
|
-
import { ApiGatewayResponse } from "@fiado/gateway-adapter";
|
|
10
|
-
import { Provider } from "@fiado/type-kit/bin/provider";
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
export interface IAccountPagoConfiadoApi {
|
|
14
|
-
createAccount(provider: Provider, data: AccountCreateRequest): Promise<ApiGatewayResponse<AccountCreateResponse>>;
|
|
15
|
-
|
|
16
|
-
getAccountByDirectoryId(directoryId: string, provider: string): Promise<ApiGatewayResponse<GetAccountResponse[]>>;
|
|
17
|
-
|
|
18
|
-
updateAccountBalance(accountId: string, params: AccountUpdateBalanceRequest): Promise<ApiGatewayResponse<Boolean>>;
|
|
19
|
-
|
|
20
|
-
update(directoryId: string, data: AccountUpdateRequest): Promise<ApiGatewayResponse<void>>;
|
|
21
|
-
|
|
22
|
-
updateByAccountNumber(accountNumber: string, data: AccountUpdateRequest): Promise<ApiGatewayResponse<void>>;
|
|
23
|
-
|
|
24
|
-
getAccountByAccountNumber(accountNumber: string): Promise<ApiGatewayResponse<void>>;
|
|
25
|
-
|
|
26
|
-
cancelAccount(directoryId: string, accountNumber?: string, documentNumber?: string): Promise<ApiGatewayResponse<void>>;
|
|
27
|
-
|
|
28
|
-
getAccountListByDateMinorOrEqual(
|
|
29
|
-
params: {
|
|
30
|
-
|
|
31
|
-
index?: string | null,
|
|
32
|
-
pageSize?: string,
|
|
33
|
-
date?: string,
|
|
34
|
-
}
|
|
35
|
-
): Promise<ApiGatewayResponse<any>>;
|
|
36
|
-
|
|
37
|
-
scanAccountsByDateRange(startDate: number, endDate: number, limit?: number, lastEvaluatedKey?: string): Promise<ApiGatewayResponse<GetAccountResponseList>>;
|
|
1
|
+
import {
|
|
2
|
+
AccountCreateRequest,
|
|
3
|
+
AccountCreateResponse,
|
|
4
|
+
AccountUpdateBalanceRequest,
|
|
5
|
+
AccountUpdateRequest,
|
|
6
|
+
GetAccountResponse,
|
|
7
|
+
GetAccountResponseList
|
|
8
|
+
} from "@fiado/type-kit/bin/account/index.js";
|
|
9
|
+
import { ApiGatewayResponse } from "@fiado/gateway-adapter";
|
|
10
|
+
import { Provider } from "@fiado/type-kit/bin/provider/index.js";
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
export interface IAccountPagoConfiadoApi {
|
|
14
|
+
createAccount(provider: Provider, data: AccountCreateRequest): Promise<ApiGatewayResponse<AccountCreateResponse>>;
|
|
15
|
+
|
|
16
|
+
getAccountByDirectoryId(directoryId: string, provider: string): Promise<ApiGatewayResponse<GetAccountResponse[]>>;
|
|
17
|
+
|
|
18
|
+
updateAccountBalance(accountId: string, params: AccountUpdateBalanceRequest): Promise<ApiGatewayResponse<Boolean>>;
|
|
19
|
+
|
|
20
|
+
update(directoryId: string, data: AccountUpdateRequest): Promise<ApiGatewayResponse<void>>;
|
|
21
|
+
|
|
22
|
+
updateByAccountNumber(accountNumber: string, data: AccountUpdateRequest): Promise<ApiGatewayResponse<void>>;
|
|
23
|
+
|
|
24
|
+
getAccountByAccountNumber(accountNumber: string): Promise<ApiGatewayResponse<void>>;
|
|
25
|
+
|
|
26
|
+
cancelAccount(directoryId: string, accountNumber?: string, documentNumber?: string): Promise<ApiGatewayResponse<void>>;
|
|
27
|
+
|
|
28
|
+
getAccountListByDateMinorOrEqual(
|
|
29
|
+
params: {
|
|
30
|
+
|
|
31
|
+
index?: string | null,
|
|
32
|
+
pageSize?: string,
|
|
33
|
+
date?: string,
|
|
34
|
+
}
|
|
35
|
+
): Promise<ApiGatewayResponse<any>>;
|
|
36
|
+
|
|
37
|
+
scanAccountsByDateRange(startDate: number, endDate: number, limit?: number, lastEvaluatedKey?: string): Promise<ApiGatewayResponse<GetAccountResponseList>>;
|
|
38
38
|
}
|