@fiado/api-invoker 1.3.82 → 1.3.84
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/package.json +1 -1
- package/src/centralPayments/CentralPaymentsConnectorApi.ts +1 -1
- package/src/centralPayments/interfaces/ICentralPaymentsConnectorApi.ts +1 -1
- package/src/directory/DirectoryApi.ts +24 -3
- package/src/transaction/api/interfaces/ITransactionApi.ts +35 -16
- package/bin/account-beneficiary/AccountBeneficiaryApi.d.ts +0 -10
- package/bin/account-beneficiary/AccountBeneficiaryApi.js +0 -32
- package/bin/account-beneficiary/index.d.ts +0 -2
- package/bin/account-beneficiary/index.js +0 -18
- package/bin/account-beneficiary/interfaces/IAccountBeneficiaryApi.d.ts +0 -5
- package/bin/account-beneficiary/interfaces/IAccountBeneficiaryApi.js +0 -2
- package/bin/account-fiadoinc/AccountFiadoIncApi.d.ts +0 -32
- package/bin/account-fiadoinc/AccountFiadoIncApi.js +0 -84
- package/bin/account-fiadoinc/index.d.ts +0 -4
- package/bin/account-fiadoinc/index.js +0 -20
- package/bin/account-fiadoinc/interfaces/IAccountFiadoIncApi.d.ts +0 -18
- package/bin/account-fiadoinc/interfaces/IAccountFiadoIncApi.js +0 -2
- package/bin/account-fiadoinc/queue/Publisher.d.ts +0 -9
- package/bin/account-fiadoinc/queue/Publisher.js +0 -34
- package/bin/account-fiadoinc/queue/TransactionPublisher.d.ts +0 -9
- package/bin/account-fiadoinc/queue/TransactionPublisher.js +0 -36
- package/bin/account-fiadoinc/queue/interfaces/IPublisher.d.ts +0 -7
- package/bin/account-fiadoinc/queue/interfaces/IPublisher.js +0 -2
- package/bin/account-fiadoinc/queue/interfaces/ITransactionPublisher.d.ts +0 -7
- package/bin/account-fiadoinc/queue/interfaces/ITransactionPublisher.js +0 -2
- package/bin/account-fiadosa/AccountFiadoSAApi.d.ts +0 -15
- package/bin/account-fiadosa/AccountFiadoSAApi.js +0 -47
- package/bin/account-fiadosa/index.d.ts +0 -2
- package/bin/account-fiadosa/index.js +0 -18
- package/bin/account-fiadosa/interfaces/IAccountFiadoSAApi.d.ts +0 -10
- package/bin/account-fiadosa/interfaces/IAccountFiadoSAApi.js +0 -2
- package/bin/account-pagoconfiado/AccountPagoConfiadoApi.d.ts +0 -17
- package/bin/account-pagoconfiado/AccountPagoConfiadoApi.js +0 -55
- package/bin/account-pagoconfiado/index.d.ts +0 -2
- package/bin/account-pagoconfiado/index.js +0 -18
- package/bin/account-pagoconfiado/interfaces/IAccountPagoConfiadoApi.d.ts +0 -12
- package/bin/account-pagoconfiado/interfaces/IAccountPagoConfiadoApi.js +0 -2
- package/bin/activity/ActivityApi.d.ts +0 -17
- package/bin/activity/ActivityApi.js +0 -72
- package/bin/activity/index.d.ts +0 -2
- package/bin/activity/index.js +0 -18
- package/bin/activity/interfaces/IActivityApi.d.ts +0 -39
- package/bin/activity/interfaces/IActivityApi.js +0 -2
- package/bin/activity-business/ActivityApi.d.ts +0 -12
- package/bin/activity-business/ActivityApi.js +0 -49
- package/bin/activity-business/index.d.ts +0 -4
- package/bin/activity-business/index.js +0 -20
- package/bin/activity-business/interfaces/IActivityApi.d.ts +0 -7
- package/bin/activity-business/interfaces/IActivityApi.js +0 -2
- package/bin/activity-business/queue/ActivityPublisher.d.ts +0 -6
- package/bin/activity-business/queue/ActivityPublisher.js +0 -36
- package/bin/activity-business/queue/IActivityPublisher.d.ts +0 -4
- package/bin/activity-business/queue/IActivityPublisher.js +0 -2
- package/bin/address/AddressApi.d.ts +0 -13
- package/bin/address/AddressApi.js +0 -55
- package/bin/address/index.d.ts +0 -2
- package/bin/address/index.js +0 -18
- package/bin/address/interfaces/IAddressApi.d.ts +0 -26
- package/bin/address/interfaces/IAddressApi.js +0 -2
- package/bin/appselectondata/AppSelectionDataApi.d.ts +0 -12
- package/bin/appselectondata/AppSelectionDataApi.js +0 -47
- package/bin/appselectondata/index.d.ts +0 -2
- package/bin/appselectondata/index.js +0 -18
- package/bin/appselectondata/interfaces/IAppSelectionDataApi.d.ts +0 -18
- package/bin/appselectondata/interfaces/IAppSelectionDataApi.js +0 -2
- package/bin/authentication/AuthenticationApi.d.ts +0 -8
- package/bin/authentication/AuthenticationApi.js +0 -32
- package/bin/authentication/index.d.ts +0 -2
- package/bin/authentication/index.js +0 -18
- package/bin/authentication/interfaces/IAuthenticationApi.d.ts +0 -4
- package/bin/authentication/interfaces/IAuthenticationApi.js +0 -2
- package/bin/bankAccount/BankAccountApi.d.ts +0 -13
- package/bin/bankAccount/BankAccountApi.js +0 -43
- package/bin/bankAccount/index.d.ts +0 -2
- package/bin/bankAccount/index.js +0 -18
- package/bin/bankAccount/interfaces/IBankAccountApi.d.ts +0 -5
- package/bin/bankAccount/interfaces/IBankAccountApi.js +0 -2
- package/bin/bbvaRst/api/BBVARstApi.d.ts +0 -9
- package/bin/bbvaRst/api/BBVARstApi.js +0 -32
- package/bin/bbvaRst/api/interfaces/IBBVARstApi.d.ts +0 -4
- package/bin/bbvaRst/api/interfaces/IBBVARstApi.js +0 -2
- package/bin/bbvaRst/index.d.ts +0 -2
- package/bin/bbvaRst/index.js +0 -18
- package/bin/blacklist/BlackListApi.d.ts +0 -12
- package/bin/blacklist/BlackListApi.js +0 -37
- package/bin/blacklist/index.d.ts +0 -2
- package/bin/blacklist/index.js +0 -18
- package/bin/blacklist/interfaces/IBlackListApi.d.ts +0 -17
- package/bin/blacklist/interfaces/IBlackListApi.js +0 -2
- package/bin/card/CardApi.d.ts +0 -21
- package/bin/card/CardApi.js +0 -69
- package/bin/card/index.d.ts +0 -2
- package/bin/card/index.js +0 -18
- package/bin/card/interfaces/ICardApi.d.ts +0 -15
- package/bin/card/interfaces/ICardApi.js +0 -2
- package/bin/centralPayments/CentralPaymentsConnectorApi.d.ts +0 -67
- package/bin/centralPayments/CentralPaymentsConnectorApi.js +0 -223
- package/bin/centralPayments/index.d.ts +0 -2
- package/bin/centralPayments/index.js +0 -18
- package/bin/centralPayments/interfaces/ICentralPaymentsConnectorApi.d.ts +0 -57
- package/bin/centralPayments/interfaces/ICentralPaymentsConnectorApi.js +0 -2
- package/bin/cnbv-business/CnbvApi.d.ts +0 -8
- package/bin/cnbv-business/CnbvApi.js +0 -31
- package/bin/cnbv-business/index.d.ts +0 -2
- package/bin/cnbv-business/index.js +0 -18
- package/bin/cnbv-business/interfaces/ICnbvApi.d.ts +0 -3
- package/bin/cnbv-business/interfaces/ICnbvApi.js +0 -2
- package/bin/cognitoConnector/CognitoConnectorApi.d.ts +0 -16
- package/bin/cognitoConnector/CognitoConnectorApi.js +0 -89
- package/bin/cognitoConnector/CognitoConnectorV2.d.ts +0 -18
- package/bin/cognitoConnector/CognitoConnectorV2.js +0 -74
- package/bin/cognitoConnector/index.d.ts +0 -4
- package/bin/cognitoConnector/index.js +0 -20
- package/bin/cognitoConnector/interfaces/ICognitoConnectorApi.d.ts +0 -12
- package/bin/cognitoConnector/interfaces/ICognitoConnectorApi.js +0 -2
- package/bin/cognitoConnector/interfaces/ICognitoV2Api.d.ts +0 -46
- package/bin/cognitoConnector/interfaces/ICognitoV2Api.js +0 -2
- package/bin/collector/CollectorApi.d.ts +0 -17
- package/bin/collector/CollectorApi.js +0 -64
- package/bin/collector/index.d.ts +0 -2
- package/bin/collector/index.js +0 -18
- package/bin/collector/interfaces/ICollectorApi.d.ts +0 -22
- package/bin/collector/interfaces/ICollectorApi.js +0 -2
- package/bin/contactInformation/ContactInformationApi.d.ts +0 -9
- package/bin/contactInformation/ContactInformationApi.js +0 -31
- package/bin/contactInformation/index.d.ts +0 -2
- package/bin/contactInformation/index.js +0 -18
- package/bin/contactInformation/interface/IContactInformationApi.d.ts +0 -4
- package/bin/contactInformation/interface/IContactInformationApi.js +0 -2
- package/bin/container.config.d.ts +0 -2
- package/bin/container.config.js +0 -121
- package/bin/contract-generator/ContractGeneratorApi.d.ts +0 -9
- package/bin/contract-generator/ContractGeneratorApi.js +0 -37
- package/bin/contract-generator/index.d.ts +0 -2
- package/bin/contract-generator/index.js +0 -18
- package/bin/contract-generator/interfaces/IContractGeneratorApi.d.ts +0 -14
- package/bin/contract-generator/interfaces/IContractGeneratorApi.js +0 -2
- package/bin/device/DeviceApi.d.ts +0 -14
- package/bin/device/DeviceApi.js +0 -45
- package/bin/device/index.d.ts +0 -2
- package/bin/device/index.js +0 -18
- package/bin/device/interfaces/IDeviceApi.d.ts +0 -30
- package/bin/device/interfaces/IDeviceApi.js +0 -2
- package/bin/directories/DirectoriesApi.d.ts +0 -20
- package/bin/directories/DirectoriesApi.js +0 -61
- package/bin/directories/index.d.ts +0 -2
- package/bin/directories/index.js +0 -18
- package/bin/directories/interfaces/IDirectoriesApi.d.ts +0 -21
- package/bin/directories/interfaces/IDirectoriesApi.js +0 -2
- package/bin/directory/DirectoryApi.d.ts +0 -21
- package/bin/directory/DirectoryApi.js +0 -123
- package/bin/directory/index.d.ts +0 -2
- package/bin/directory/index.js +0 -18
- package/bin/directory/interfaces/IDirectoryApi.d.ts +0 -55
- package/bin/directory/interfaces/IDirectoryApi.js +0 -2
- package/bin/directorySetting/DirectorySettingApi.d.ts +0 -31
- package/bin/directorySetting/DirectorySettingApi.js +0 -56
- package/bin/directorySetting/index.d.ts +0 -2
- package/bin/directorySetting/index.js +0 -18
- package/bin/directorySetting/interfaces/IDirectorySettingApi.d.ts +0 -42
- package/bin/directorySetting/interfaces/IDirectorySettingApi.js +0 -2
- package/bin/disputes/DisputesApi.d.ts +0 -24
- package/bin/disputes/DisputesApi.js +0 -61
- package/bin/disputes/index.d.ts +0 -2
- package/bin/disputes/index.js +0 -18
- package/bin/disputes/interfaces/IDisputesApi.d.ts +0 -48
- package/bin/disputes/interfaces/IDisputesApi.js +0 -2
- package/bin/document-image-processor/DocumentImageProcessorApi.d.ts +0 -11
- package/bin/document-image-processor/DocumentImageProcessorApi.js +0 -36
- package/bin/document-image-processor/index.d.ts +0 -2
- package/bin/document-image-processor/index.js +0 -18
- package/bin/document-image-processor/interfaces/IDocumentImageProcessorApi.d.ts +0 -6
- package/bin/document-image-processor/interfaces/IDocumentImageProcessorApi.js +0 -2
- package/bin/estafeta/EstafetaApi.d.ts +0 -0
- package/bin/estafeta/EstafetaApi.js +0 -0
- package/bin/estafeta/api/EstafetaApi.d.ts +0 -26
- package/bin/estafeta/api/EstafetaApi.js +0 -71
- package/bin/estafeta/api/interfaces/IEstafetaApi.d.ts +0 -20
- package/bin/estafeta/api/interfaces/IEstafetaApi.js +0 -2
- package/bin/estafeta/index.d.ts +0 -2
- package/bin/estafeta/index.js +0 -18
- package/bin/exchangeRates/ExchangeRatesApi.d.ts +0 -11
- package/bin/exchangeRates/ExchangeRatesApi.js +0 -39
- package/bin/exchangeRates/index.d.ts +0 -2
- package/bin/exchangeRates/index.js +0 -18
- package/bin/exchangeRates/interfaces/IExchangeRatesApi.d.ts +0 -6
- package/bin/exchangeRates/interfaces/IExchangeRatesApi.js +0 -2
- package/bin/fiadoMessages/api/FiadoMessagesApi.d.ts +0 -8
- package/bin/fiadoMessages/api/FiadoMessagesApi.js +0 -37
- package/bin/fiadoMessages/api/interfaces/IFiadoMessagesApi.d.ts +0 -3
- package/bin/fiadoMessages/api/interfaces/IFiadoMessagesApi.js +0 -2
- package/bin/fiadoMessages/index.d.ts +0 -2
- package/bin/fiadoMessages/index.js +0 -18
- package/bin/fraudPreventionEngine/api/FraudPreventionEngineApi.d.ts +0 -11
- package/bin/fraudPreventionEngine/api/FraudPreventionEngineApi.js +0 -35
- package/bin/fraudPreventionEngine/api/interfaces/IFraudPreventionEngineApi.d.ts +0 -6
- package/bin/fraudPreventionEngine/api/interfaces/IFraudPreventionEngineApi.js +0 -2
- package/bin/fraudPreventionEngine/index.d.ts +0 -2
- package/bin/fraudPreventionEngine/index.js +0 -18
- package/bin/group/GroupApi.d.ts +0 -19
- package/bin/group/GroupApi.js +0 -70
- package/bin/group/index.d.ts +0 -2
- package/bin/group/index.js +0 -18
- package/bin/group/interfaces/IGroupApi.d.ts +0 -28
- package/bin/group/interfaces/IGroupApi.js +0 -2
- package/bin/identity/IdentityApi.d.ts +0 -15
- package/bin/identity/IdentityApi.js +0 -85
- package/bin/identity/index.d.ts +0 -2
- package/bin/identity/index.js +0 -18
- package/bin/identity/interfaces/IIdentityApi.d.ts +0 -33
- package/bin/identity/interfaces/IIdentityApi.js +0 -2
- package/bin/index.d.ts +0 -49
- package/bin/index.js +0 -65
- package/bin/legalDocument/api/LegalDocumentApi.d.ts +0 -8
- package/bin/legalDocument/api/LegalDocumentApi.js +0 -34
- package/bin/legalDocument/api/interfaces/ILegalDocumentApi.d.ts +0 -3
- package/bin/legalDocument/api/interfaces/ILegalDocumentApi.js +0 -2
- package/bin/legalDocument/index.d.ts +0 -2
- package/bin/legalDocument/index.js +0 -18
- package/bin/notificationMessages/index.d.ts +0 -2
- package/bin/notificationMessages/index.js +0 -18
- package/bin/notificationMessages/queue/NotificationMessagePublisher.d.ts +0 -12
- package/bin/notificationMessages/queue/NotificationMessagePublisher.js +0 -47
- package/bin/notificationMessages/queue/interfaces/INotificationMessagesPublisher.d.ts +0 -6
- package/bin/notificationMessages/queue/interfaces/INotificationMessagesPublisher.js +0 -2
- package/bin/observations/ObservationsApi.d.ts +0 -10
- package/bin/observations/ObservationsApi.js +0 -39
- package/bin/observations/index.d.ts +0 -2
- package/bin/observations/index.js +0 -18
- package/bin/observations/interfaces/IObservationsApi.d.ts +0 -8
- package/bin/observations/interfaces/IObservationsApi.js +0 -2
- package/bin/order-collector-business/OrderCollectorApi.d.ts +0 -9
- package/bin/order-collector-business/OrderCollectorApi.js +0 -37
- package/bin/order-collector-business/index.d.ts +0 -2
- package/bin/order-collector-business/index.js +0 -18
- package/bin/order-collector-business/interfaces/IOrderCollectorApi.d.ts +0 -7
- package/bin/order-collector-business/interfaces/IOrderCollectorApi.js +0 -2
- package/bin/p2pContact/api/P2pContactApi.d.ts +0 -9
- package/bin/p2pContact/api/P2pContactApi.js +0 -34
- package/bin/p2pContact/api/interfaces/IP2pContactApi.d.ts +0 -4
- package/bin/p2pContact/api/interfaces/IP2pContactApi.js +0 -2
- package/bin/p2pContact/index.d.ts +0 -2
- package/bin/p2pContact/index.js +0 -18
- package/bin/pomelo/api/PomeloApi.d.ts +0 -23
- package/bin/pomelo/api/PomeloApi.js +0 -86
- package/bin/pomelo/api/interfaces/IPomeloApi.d.ts +0 -17
- package/bin/pomelo/api/interfaces/IPomeloApi.js +0 -2
- package/bin/pomelo/index.d.ts +0 -2
- package/bin/pomelo/index.js +0 -18
- package/bin/pomeloProcessor/api/PomeloProcessorApi.d.ts +0 -8
- package/bin/pomeloProcessor/api/PomeloProcessorApi.js +0 -32
- package/bin/pomeloProcessor/api/interfaces/IPomeloProcessorApi.d.ts +0 -3
- package/bin/pomeloProcessor/api/interfaces/IPomeloProcessorApi.js +0 -2
- package/bin/pomeloProcessor/index.d.ts +0 -2
- package/bin/pomeloProcessor/index.js +0 -18
- package/bin/pricelist-business/PriceListApi.d.ts +0 -15
- package/bin/pricelist-business/PriceListApi.js +0 -55
- package/bin/pricelist-business/index.d.ts +0 -2
- package/bin/pricelist-business/index.js +0 -18
- package/bin/pricelist-business/interfaces/IPriceListApi.d.ts +0 -18
- package/bin/pricelist-business/interfaces/IPriceListApi.js +0 -2
- package/bin/product-catalog/ProductCatalogApi.d.ts +0 -10
- package/bin/product-catalog/ProductCatalogApi.js +0 -31
- package/bin/product-catalog/index.d.ts +0 -2
- package/bin/product-catalog/index.js +0 -18
- package/bin/product-catalog/interfaces/IProductCatalogApi.d.ts +0 -5
- package/bin/product-catalog/interfaces/IProductCatalogApi.js +0 -2
- package/bin/riskProfile/api/RiskProfileApi.d.ts +0 -15
- package/bin/riskProfile/api/RiskProfileApi.js +0 -47
- package/bin/riskProfile/api/TransactionAlertApi.d.ts +0 -13
- package/bin/riskProfile/api/TransactionAlertApi.js +0 -31
- package/bin/riskProfile/api/interfaces/IRiskProfileApi.d.ts +0 -10
- package/bin/riskProfile/api/interfaces/IRiskProfileApi.js +0 -2
- package/bin/riskProfile/api/interfaces/ITransactionAlertApi.d.ts +0 -8
- package/bin/riskProfile/api/interfaces/ITransactionAlertApi.js +0 -2
- package/bin/riskProfile/index.d.ts +0 -6
- package/bin/riskProfile/index.js +0 -22
- package/bin/riskProfile/queue/TransactionAlarmPublisher.d.ts +0 -6
- package/bin/riskProfile/queue/TransactionAlarmPublisher.js +0 -36
- package/bin/riskProfile/queue/interfaces/ITransactionAlarmPublisher.d.ts +0 -4
- package/bin/riskProfile/queue/interfaces/ITransactionAlarmPublisher.js +0 -2
- package/bin/service-business/ServiceApi.d.ts +0 -32
- package/bin/service-business/ServiceApi.js +0 -89
- package/bin/service-business/index.d.ts +0 -2
- package/bin/service-business/index.js +0 -18
- package/bin/service-business/interfaces/IServiceApi.d.ts +0 -72
- package/bin/service-business/interfaces/IServiceApi.js +0 -2
- package/bin/sessionActivity/index.d.ts +0 -2
- package/bin/sessionActivity/index.js +0 -18
- package/bin/sessionActivity/queue/SessionActivityPublisher.d.ts +0 -6
- package/bin/sessionActivity/queue/SessionActivityPublisher.js +0 -34
- package/bin/sessionActivity/queue/interfaces/ISessionActivityPublisher.d.ts +0 -4
- package/bin/sessionActivity/queue/interfaces/ISessionActivityPublisher.js +0 -2
- package/bin/stpAccount/api/STPAccountApi.d.ts +0 -15
- package/bin/stpAccount/api/STPAccountApi.js +0 -39
- package/bin/stpAccount/api/interfaces/ISTPAccountApi.d.ts +0 -10
- package/bin/stpAccount/api/interfaces/ISTPAccountApi.js +0 -2
- package/bin/stpAccount/index.d.ts +0 -2
- package/bin/stpAccount/index.js +0 -18
- package/bin/stpServicePayment/api/StpServicePaymentApi.d.ts +0 -14
- package/bin/stpServicePayment/api/StpServicePaymentApi.js +0 -50
- package/bin/stpServicePayment/api/interfaces/IStpServicePaymentApi.d.ts +0 -9
- package/bin/stpServicePayment/api/interfaces/IStpServicePaymentApi.js +0 -2
- package/bin/stpServicePayment/index.d.ts +0 -2
- package/bin/stpServicePayment/index.js +0 -18
- package/bin/stpSpei/api/StpSpeiApi.d.ts +0 -10
- package/bin/stpSpei/api/StpSpeiApi.js +0 -47
- package/bin/stpSpei/api/interfaces/IStpSpeiApi.d.ts +0 -5
- package/bin/stpSpei/api/interfaces/IStpSpeiApi.js +0 -2
- package/bin/stpSpei/index.d.ts +0 -2
- package/bin/stpSpei/index.js +0 -18
- package/bin/tern/api/TernApi.d.ts +0 -30
- package/bin/tern/api/TernApi.js +0 -125
- package/bin/tern/api/interfaces/ITernApi.d.ts +0 -26
- package/bin/tern/api/interfaces/ITernApi.js +0 -2
- package/bin/tern/index.d.ts +0 -2
- package/bin/tern/index.js +0 -18
- package/bin/transaction/api/TransactionApi.d.ts +0 -45
- package/bin/transaction/api/TransactionApi.js +0 -84
- package/bin/transaction/api/interfaces/ITransactionApi.d.ts +0 -40
- package/bin/transaction/api/interfaces/ITransactionApi.js +0 -2
- package/bin/transaction/index.d.ts +0 -4
- package/bin/transaction/index.js +0 -20
- package/bin/transaction/queue/TransactionPublisher.d.ts +0 -6
- package/bin/transaction/queue/TransactionPublisher.js +0 -36
- package/bin/transaction/queue/interfaces/ITransactionPublisher.d.ts +0 -4
- package/bin/transaction/queue/interfaces/ITransactionPublisher.js +0 -2
- package/bin/transactionProcessor/api/TransactionProcessorApi.d.ts +0 -16
- package/bin/transactionProcessor/api/TransactionProcessorApi.js +0 -51
- package/bin/transactionProcessor/api/interfaces/ITransactionProcessorApi.d.ts +0 -11
- package/bin/transactionProcessor/api/interfaces/ITransactionProcessorApi.js +0 -2
- package/bin/transactionProcessor/index.d.ts +0 -2
- package/bin/transactionProcessor/index.js +0 -18
- package/bin/utils/InvokerUtils.d.ts +0 -4
- package/bin/utils/InvokerUtils.js +0 -34
- package/bin/zendesk/ZendeskApi.d.ts +0 -11
- package/bin/zendesk/ZendeskApi.js +0 -41
- package/bin/zendesk/index.d.ts +0 -2
- package/bin/zendesk/index.js +0 -18
- package/bin/zendesk/interfaces/IZendeskApi.d.ts +0 -9
- package/bin/zendesk/interfaces/IZendeskApi.js +0 -2
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { IDocumentImageProcessorApi } from "./interfaces/IDocumentImageProcessorApi";
|
|
2
|
-
import { IHttpRequest } from "@fiado/http-client";
|
|
3
|
-
import { ProviderDocumentImages } from "@fiado/type-kit/bin/provider";
|
|
4
|
-
import FiadoApiResponse from "@fiado/type-kit/bin/apiResponse/dtos/FiadoApiResponse";
|
|
5
|
-
export declare class DocumentImageProcessorApi implements IDocumentImageProcessorApi {
|
|
6
|
-
private readonly httpRequest;
|
|
7
|
-
private readonly baseUrl;
|
|
8
|
-
constructor(httpRequest: IHttpRequest);
|
|
9
|
-
scaleDocumentImage(request: ProviderDocumentImages): Promise<FiadoApiResponse<any>>;
|
|
10
|
-
adjustImageDimensions(request: ProviderDocumentImages): Promise<FiadoApiResponse<any>>;
|
|
11
|
-
}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
-
};
|
|
11
|
-
var __param = (this && this.__param) || function (paramIndex, decorator) {
|
|
12
|
-
return function (target, key) { decorator(target, key, paramIndex); }
|
|
13
|
-
};
|
|
14
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
-
exports.DocumentImageProcessorApi = void 0;
|
|
16
|
-
const inversify_1 = require("inversify");
|
|
17
|
-
let DocumentImageProcessorApi = class DocumentImageProcessorApi {
|
|
18
|
-
constructor(httpRequest) {
|
|
19
|
-
this.httpRequest = httpRequest;
|
|
20
|
-
this.baseUrl = process.env.DOCUMENT_IMAGE_PROCESSOR_LAMBDA_URL || "";
|
|
21
|
-
}
|
|
22
|
-
async scaleDocumentImage(request) {
|
|
23
|
-
const url = `${this.baseUrl}scale`;
|
|
24
|
-
return await this.httpRequest.post(url, request);
|
|
25
|
-
}
|
|
26
|
-
async adjustImageDimensions(request) {
|
|
27
|
-
const url = `${this.baseUrl}adjust`;
|
|
28
|
-
return await this.httpRequest.post(url, request);
|
|
29
|
-
}
|
|
30
|
-
};
|
|
31
|
-
exports.DocumentImageProcessorApi = DocumentImageProcessorApi;
|
|
32
|
-
exports.DocumentImageProcessorApi = DocumentImageProcessorApi = __decorate([
|
|
33
|
-
(0, inversify_1.injectable)(),
|
|
34
|
-
__param(0, (0, inversify_1.inject)("IHttpRequest")),
|
|
35
|
-
__metadata("design:paramtypes", [Object])
|
|
36
|
-
], DocumentImageProcessorApi);
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./DocumentImageProcessorApi"), exports);
|
|
18
|
-
__exportStar(require("./interfaces/IDocumentImageProcessorApi"), exports);
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { ProviderDocumentImages } from "@fiado/type-kit/bin/provider";
|
|
2
|
-
import FiadoApiResponse from "@fiado/type-kit/bin/apiResponse/dtos/FiadoApiResponse";
|
|
3
|
-
export interface IDocumentImageProcessorApi {
|
|
4
|
-
scaleDocumentImage(request: ProviderDocumentImages): Promise<FiadoApiResponse<any>>;
|
|
5
|
-
adjustImageDimensions(request: ProviderDocumentImages): Promise<FiadoApiResponse<any>>;
|
|
6
|
-
}
|
|
File without changes
|
|
File without changes
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { IHttpRequest } from "@fiado/http-client";
|
|
2
|
-
import { IEstafetaApi } from "./interfaces/IEstafetaApi";
|
|
3
|
-
import { ActivateBankAccountCardRequest, AssignCardRequest, CreateBankAccountCardShippingRequest, GetBankAccountShippingRequest, UpdateBankAccountCardRequest } from "@fiado/type-kit/bin/card";
|
|
4
|
-
import { CreateBankAccountCardShippingResponse } from "@fiado/type-kit/bin/card";
|
|
5
|
-
import FiadoApiResponse from "@fiado/type-kit/bin/apiResponse/dtos/FiadoApiResponse";
|
|
6
|
-
import { UpdateBankAccountUserRequest, CreateBankAccountUserRequest, CreateBankAccountRequest } from "@fiado/type-kit/bin/account";
|
|
7
|
-
import { OfficeDetails } from "@fiado/type-kit/bin/address";
|
|
8
|
-
export default class EstafetaApi implements IEstafetaApi {
|
|
9
|
-
private httpRequest;
|
|
10
|
-
private readonly baseUrl;
|
|
11
|
-
constructor(httpRequest: IHttpRequest);
|
|
12
|
-
updateUser(object: UpdateBankAccountUserRequest): Promise<any>;
|
|
13
|
-
getUserById(externalUserId: string): Promise<any>;
|
|
14
|
-
createUser(request: CreateBankAccountUserRequest): Promise<any>;
|
|
15
|
-
getCardSensitiveInformation(externalCardId: string, externalUserId?: string): Promise<any>;
|
|
16
|
-
getCardsById(externalCardId: string): Promise<any>;
|
|
17
|
-
getCardsByUserId(externalUserId: string): Promise<any>;
|
|
18
|
-
createCard(object: CreateBankAccountRequest): Promise<any>;
|
|
19
|
-
blockCard(object: UpdateBankAccountCardRequest): Promise<any>;
|
|
20
|
-
changePin(object: UpdateBankAccountCardRequest): Promise<any>;
|
|
21
|
-
activateCard(object: ActivateBankAccountCardRequest): Promise<any>;
|
|
22
|
-
assignCardToUser(request: AssignCardRequest): Promise<any>;
|
|
23
|
-
getShipment(object: GetBankAccountShippingRequest): Promise<any>;
|
|
24
|
-
createShipment(object: CreateBankAccountCardShippingRequest): Promise<FiadoApiResponse<CreateBankAccountCardShippingResponse>>;
|
|
25
|
-
getLocations(params: any): Promise<FiadoApiResponse<OfficeDetails[]>>;
|
|
26
|
-
}
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
-
};
|
|
11
|
-
var __param = (this && this.__param) || function (paramIndex, decorator) {
|
|
12
|
-
return function (target, key) { decorator(target, key, paramIndex); }
|
|
13
|
-
};
|
|
14
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
-
const inversify_1 = require("inversify");
|
|
16
|
-
let EstafetaApi = class EstafetaApi {
|
|
17
|
-
constructor(httpRequest) {
|
|
18
|
-
this.httpRequest = httpRequest;
|
|
19
|
-
this.baseUrl = process.env.ESTAFETA_LAMBDA_URL || "";
|
|
20
|
-
}
|
|
21
|
-
updateUser(object) {
|
|
22
|
-
throw new Error("Method not implemented.");
|
|
23
|
-
}
|
|
24
|
-
getUserById(externalUserId) {
|
|
25
|
-
throw new Error("Method not implemented.");
|
|
26
|
-
}
|
|
27
|
-
createUser(request) {
|
|
28
|
-
throw new Error("Method not implemented.");
|
|
29
|
-
}
|
|
30
|
-
getCardSensitiveInformation(externalCardId, externalUserId) {
|
|
31
|
-
throw new Error("Method not implemented.");
|
|
32
|
-
}
|
|
33
|
-
getCardsById(externalCardId) {
|
|
34
|
-
throw new Error("Method not implemented.");
|
|
35
|
-
}
|
|
36
|
-
getCardsByUserId(externalUserId) {
|
|
37
|
-
throw new Error("Method not implemented.");
|
|
38
|
-
}
|
|
39
|
-
createCard(object) {
|
|
40
|
-
throw new Error("Method not implemented.");
|
|
41
|
-
}
|
|
42
|
-
blockCard(object) {
|
|
43
|
-
throw new Error("Method not implemented.");
|
|
44
|
-
}
|
|
45
|
-
changePin(object) {
|
|
46
|
-
throw new Error("Method not implemented.");
|
|
47
|
-
}
|
|
48
|
-
activateCard(object) {
|
|
49
|
-
throw new Error("Method not implemented.");
|
|
50
|
-
}
|
|
51
|
-
assignCardToUser(request) {
|
|
52
|
-
throw new Error("Method not implemented.");
|
|
53
|
-
}
|
|
54
|
-
getShipment(object) {
|
|
55
|
-
throw new Error("Method not implemented.");
|
|
56
|
-
}
|
|
57
|
-
async createShipment(object) {
|
|
58
|
-
const url = `${this.baseUrl}estafeta/shipping/card`;
|
|
59
|
-
return await this.httpRequest.post(url, object);
|
|
60
|
-
}
|
|
61
|
-
async getLocations(params) {
|
|
62
|
-
const url = `${this.baseUrl}estafeta/locations?latitude=${params.latitude}&longitude=${params.longitude}`;
|
|
63
|
-
return await this.httpRequest.get(url);
|
|
64
|
-
}
|
|
65
|
-
};
|
|
66
|
-
EstafetaApi = __decorate([
|
|
67
|
-
(0, inversify_1.injectable)(),
|
|
68
|
-
__param(0, (0, inversify_1.inject)("IHttpRequest")),
|
|
69
|
-
__metadata("design:paramtypes", [Object])
|
|
70
|
-
], EstafetaApi);
|
|
71
|
-
exports.default = EstafetaApi;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { ActivateBankAccountCardRequest, AssignCardRequest, CreateBankAccountCardShippingRequest, CreateBankAccountCardShippingResponse, GetBankAccountShippingRequest, UpdateBankAccountCardRequest } from "@fiado/type-kit/bin/card";
|
|
2
|
-
import FiadoApiResponse from "@fiado/type-kit/bin/apiResponse/dtos/FiadoApiResponse";
|
|
3
|
-
import { CreateBankAccountRequest, CreateBankAccountUserRequest, UpdateBankAccountUserRequest } from "@fiado/type-kit/bin/account";
|
|
4
|
-
import { OfficeDetails } from "@fiado/type-kit/bin/address";
|
|
5
|
-
export interface IEstafetaApi {
|
|
6
|
-
createShipment(object: CreateBankAccountCardShippingRequest): Promise<FiadoApiResponse<CreateBankAccountCardShippingResponse>>;
|
|
7
|
-
updateUser(object: UpdateBankAccountUserRequest): Promise<any>;
|
|
8
|
-
getUserById(externalUserId: string): Promise<any>;
|
|
9
|
-
createUser(request: CreateBankAccountUserRequest): Promise<any>;
|
|
10
|
-
getCardSensitiveInformation(externalCardId: string, externalUserId?: string): Promise<any>;
|
|
11
|
-
getCardsById(externalCardId: string): Promise<any>;
|
|
12
|
-
getCardsByUserId(externalUserId: string): Promise<any>;
|
|
13
|
-
createCard(object: CreateBankAccountRequest): Promise<any>;
|
|
14
|
-
blockCard(object: UpdateBankAccountCardRequest): Promise<any>;
|
|
15
|
-
changePin(object: UpdateBankAccountCardRequest): Promise<any>;
|
|
16
|
-
activateCard(object: ActivateBankAccountCardRequest): Promise<any>;
|
|
17
|
-
assignCardToUser(request: AssignCardRequest): Promise<any>;
|
|
18
|
-
getShipment(object: GetBankAccountShippingRequest): Promise<any>;
|
|
19
|
-
getLocations(params: any): Promise<FiadoApiResponse<OfficeDetails[]>>;
|
|
20
|
-
}
|
package/bin/estafeta/index.d.ts
DELETED
package/bin/estafeta/index.js
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./api/interfaces/IEstafetaApi"), exports);
|
|
18
|
-
__exportStar(require("./api/EstafetaApi"), exports);
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { IExchangeRatesApi } from "./interfaces/IExchangeRatesApi";
|
|
2
|
-
import { IHttpRequest } from "@fiado/http-client";
|
|
3
|
-
import GetExchangeRatesRequest from "@fiado/type-kit/bin/exchangeRate/dtos/GetExchangeRatesRequest";
|
|
4
|
-
import { ExchangeRateCreateRequest } from "@fiado/type-kit/bin/exchangeRate";
|
|
5
|
-
export default class ExchangeRatesApi implements IExchangeRatesApi {
|
|
6
|
-
private httpRequest;
|
|
7
|
-
private readonly baseUrl;
|
|
8
|
-
constructor(httpRequest: IHttpRequest);
|
|
9
|
-
getExchangeRates(request: GetExchangeRatesRequest): Promise<any>;
|
|
10
|
-
postExchangeRates(request: ExchangeRateCreateRequest): Promise<any>;
|
|
11
|
-
}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
-
};
|
|
11
|
-
var __param = (this && this.__param) || function (paramIndex, decorator) {
|
|
12
|
-
return function (target, key) { decorator(target, key, paramIndex); }
|
|
13
|
-
};
|
|
14
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
-
const inversify_1 = require("inversify");
|
|
16
|
-
let ExchangeRatesApi = class ExchangeRatesApi {
|
|
17
|
-
constructor(httpRequest) {
|
|
18
|
-
this.httpRequest = httpRequest;
|
|
19
|
-
this.baseUrl = process.env.EXCHANGE_RATES_LAMBDA_URL || "";
|
|
20
|
-
}
|
|
21
|
-
async getExchangeRates(request) {
|
|
22
|
-
const headers = {
|
|
23
|
-
"operationName": "getExchangeRates"
|
|
24
|
-
};
|
|
25
|
-
return await this.httpRequest.post(this.baseUrl, request, headers);
|
|
26
|
-
}
|
|
27
|
-
async postExchangeRates(request) {
|
|
28
|
-
const headers = {
|
|
29
|
-
"operationName": "postExchangeRates"
|
|
30
|
-
};
|
|
31
|
-
return await this.httpRequest.post(this.baseUrl, request, headers);
|
|
32
|
-
}
|
|
33
|
-
};
|
|
34
|
-
ExchangeRatesApi = __decorate([
|
|
35
|
-
(0, inversify_1.injectable)(),
|
|
36
|
-
__param(0, (0, inversify_1.inject)("IHttpRequest")),
|
|
37
|
-
__metadata("design:paramtypes", [Object])
|
|
38
|
-
], ExchangeRatesApi);
|
|
39
|
-
exports.default = ExchangeRatesApi;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./interfaces/IExchangeRatesApi"), exports);
|
|
18
|
-
__exportStar(require("./ExchangeRatesApi"), exports);
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import GetExchangeRatesRequest from "@fiado/type-kit/bin/exchangeRate/dtos/GetExchangeRatesRequest";
|
|
2
|
-
import { ExchangeRateCreateRequest } from "@fiado/type-kit/bin/exchangeRate";
|
|
3
|
-
export interface IExchangeRatesApi {
|
|
4
|
-
getExchangeRates(request: GetExchangeRatesRequest): Promise<any>;
|
|
5
|
-
postExchangeRates(request: ExchangeRateCreateRequest): Promise<any>;
|
|
6
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { IHttpRequest } from "@fiado/http-client";
|
|
2
|
-
import { IFiadoMessagesApi } from "./interfaces/IFiadoMessagesApi";
|
|
3
|
-
export declare class FiadoMessagesApi implements IFiadoMessagesApi {
|
|
4
|
-
private httpRequest;
|
|
5
|
-
private readonly baseUrl;
|
|
6
|
-
constructor(httpRequest: IHttpRequest);
|
|
7
|
-
getValidatedOtpByDirectoryIdAndOtpCode(directoryId: string, otpCode: string): Promise<any>;
|
|
8
|
-
}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
-
};
|
|
11
|
-
var __param = (this && this.__param) || function (paramIndex, decorator) {
|
|
12
|
-
return function (target, key) { decorator(target, key, paramIndex); }
|
|
13
|
-
};
|
|
14
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
-
exports.FiadoMessagesApi = void 0;
|
|
16
|
-
const inversify_1 = require("inversify");
|
|
17
|
-
let FiadoMessagesApi = class FiadoMessagesApi {
|
|
18
|
-
constructor(httpRequest) {
|
|
19
|
-
this.httpRequest = httpRequest;
|
|
20
|
-
this.baseUrl = process.env.MESSAGE_LAMBDA_URL || "";
|
|
21
|
-
}
|
|
22
|
-
async getValidatedOtpByDirectoryIdAndOtpCode(directoryId, otpCode) {
|
|
23
|
-
const url = `${this.baseUrl}`;
|
|
24
|
-
const operationName = "getValidatedOtpByDirectoryIdAndOtpCode";
|
|
25
|
-
const request = {
|
|
26
|
-
directoryId: directoryId,
|
|
27
|
-
otpCode: otpCode
|
|
28
|
-
};
|
|
29
|
-
return await this.httpRequest.post(`${url}`, request, { 'operationName': operationName });
|
|
30
|
-
}
|
|
31
|
-
};
|
|
32
|
-
exports.FiadoMessagesApi = FiadoMessagesApi;
|
|
33
|
-
exports.FiadoMessagesApi = FiadoMessagesApi = __decorate([
|
|
34
|
-
(0, inversify_1.injectable)(),
|
|
35
|
-
__param(0, (0, inversify_1.inject)("IHttpRequest")),
|
|
36
|
-
__metadata("design:paramtypes", [Object])
|
|
37
|
-
], FiadoMessagesApi);
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./api/interfaces/IFiadoMessagesApi"), exports);
|
|
18
|
-
__exportStar(require("./api/FiadoMessagesApi"), exports);
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { IFraudPreventionEngineApi } from "./interfaces/IFraudPreventionEngineApi";
|
|
2
|
-
import { IHttpRequest } from "@fiado/http-client";
|
|
3
|
-
import GetAccountLevelParams from "@fiado/type-kit/bin/fraudPreventionEngine/dtos/GetAccountLevelParams";
|
|
4
|
-
import CreateAccountLevelRequest from "@fiado/type-kit/bin/fraudPreventionEngine/dtos/CreateAccountLevelRequest";
|
|
5
|
-
export default class FraudPreventionEngineApi implements IFraudPreventionEngineApi {
|
|
6
|
-
private httpRequest;
|
|
7
|
-
private readonly baseUrl;
|
|
8
|
-
constructor(httpRequest: IHttpRequest);
|
|
9
|
-
getAccountLevel(params: GetAccountLevelParams): Promise<any>;
|
|
10
|
-
createAccountLevel(request: CreateAccountLevelRequest): Promise<any>;
|
|
11
|
-
}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
-
};
|
|
11
|
-
var __param = (this && this.__param) || function (paramIndex, decorator) {
|
|
12
|
-
return function (target, key) { decorator(target, key, paramIndex); }
|
|
13
|
-
};
|
|
14
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
-
const inversify_1 = require("inversify");
|
|
16
|
-
let FraudPreventionEngineApi = class FraudPreventionEngineApi {
|
|
17
|
-
constructor(httpRequest) {
|
|
18
|
-
this.httpRequest = httpRequest;
|
|
19
|
-
this.baseUrl = process.env.FRAUD_PREVENTION_ENGINE_LAMBDA_URL || "";
|
|
20
|
-
}
|
|
21
|
-
async getAccountLevel(params) {
|
|
22
|
-
const url = `${this.baseUrl}/account/levels?${Object.entries(params).map(([key, value]) => `${key}=${encodeURIComponent(value)}`).join('&')}`;
|
|
23
|
-
return await this.httpRequest.get(url);
|
|
24
|
-
}
|
|
25
|
-
async createAccountLevel(request) {
|
|
26
|
-
const url = `${this.baseUrl}/account/levels`;
|
|
27
|
-
return await this.httpRequest.post(url, request);
|
|
28
|
-
}
|
|
29
|
-
};
|
|
30
|
-
FraudPreventionEngineApi = __decorate([
|
|
31
|
-
(0, inversify_1.injectable)(),
|
|
32
|
-
__param(0, (0, inversify_1.inject)("IHttpRequest")),
|
|
33
|
-
__metadata("design:paramtypes", [Object])
|
|
34
|
-
], FraudPreventionEngineApi);
|
|
35
|
-
exports.default = FraudPreventionEngineApi;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import GetAccountLevelParams from "@fiado/type-kit/bin/fraudPreventionEngine/dtos/GetAccountLevelParams";
|
|
2
|
-
import CreateAccountLevelRequest from "@fiado/type-kit/bin/fraudPreventionEngine/dtos/CreateAccountLevelRequest";
|
|
3
|
-
export interface IFraudPreventionEngineApi {
|
|
4
|
-
getAccountLevel(params: GetAccountLevelParams): Promise<any>;
|
|
5
|
-
createAccountLevel(request: CreateAccountLevelRequest): Promise<any>;
|
|
6
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./api/interfaces/IFraudPreventionEngineApi"), exports);
|
|
18
|
-
__exportStar(require("./api/FraudPreventionEngineApi"), exports);
|
package/bin/group/GroupApi.d.ts
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { IHttpRequest } from "@fiado/http-client";
|
|
2
|
-
import { GroupAddDirectoryRequest, GroupResponse } from "@fiado/type-kit/bin/group";
|
|
3
|
-
import { IGroupApi } from "./interfaces/IGroupApi";
|
|
4
|
-
import FiadoApiResponse from "@fiado/type-kit/bin/apiResponse/dtos/FiadoApiResponse";
|
|
5
|
-
export declare class GroupApi implements IGroupApi {
|
|
6
|
-
private httpRequest;
|
|
7
|
-
private readonly baseUrl;
|
|
8
|
-
constructor(httpRequest: IHttpRequest);
|
|
9
|
-
getMembershipDirectoryUserList(directories: string[], pageSize: number, index?: string): Promise<FiadoApiResponse<{
|
|
10
|
-
directory: string;
|
|
11
|
-
groups: GroupResponse[];
|
|
12
|
-
}[]>>;
|
|
13
|
-
findByCategory(categoryId: string): Promise<any>;
|
|
14
|
-
findAll(params: {
|
|
15
|
-
index?: string;
|
|
16
|
-
pageSize?: number;
|
|
17
|
-
}): Promise<any>;
|
|
18
|
-
members(params: GroupAddDirectoryRequest): Promise<any>;
|
|
19
|
-
}
|
package/bin/group/GroupApi.js
DELETED
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
-
};
|
|
11
|
-
var __param = (this && this.__param) || function (paramIndex, decorator) {
|
|
12
|
-
return function (target, key) { decorator(target, key, paramIndex); }
|
|
13
|
-
};
|
|
14
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
15
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
16
|
-
};
|
|
17
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
-
exports.GroupApi = void 0;
|
|
19
|
-
const inversify_1 = require("inversify");
|
|
20
|
-
const dotenv_1 = __importDefault(require("dotenv"));
|
|
21
|
-
dotenv_1.default.config();
|
|
22
|
-
let GroupApi = class GroupApi {
|
|
23
|
-
constructor(httpRequest) {
|
|
24
|
-
this.httpRequest = httpRequest;
|
|
25
|
-
this.baseUrl = process.env.FIADO_GROUP_LAMBDA_URL || "";
|
|
26
|
-
}
|
|
27
|
-
async getMembershipDirectoryUserList(directories, pageSize, index) {
|
|
28
|
-
const queryParams = [];
|
|
29
|
-
directories.forEach(directory => {
|
|
30
|
-
queryParams.push(`directoryId=${directory}`);
|
|
31
|
-
});
|
|
32
|
-
if (pageSize) {
|
|
33
|
-
queryParams.push(`pageSize=${pageSize}`);
|
|
34
|
-
}
|
|
35
|
-
if (index) {
|
|
36
|
-
queryParams.push(`index=${index}`);
|
|
37
|
-
}
|
|
38
|
-
const url = `${this.baseUrl}groups/directories?${queryParams.join('&')}`;
|
|
39
|
-
return await this.httpRequest.get(`${url}`);
|
|
40
|
-
}
|
|
41
|
-
async findByCategory(categoryId) {
|
|
42
|
-
const url = `${this.baseUrl}groups/categories/${categoryId}`;
|
|
43
|
-
return await this.httpRequest.get(`${url}`);
|
|
44
|
-
}
|
|
45
|
-
async findAll(params) {
|
|
46
|
-
let queryParams = [];
|
|
47
|
-
let queryParamsString = '';
|
|
48
|
-
if (params.index) {
|
|
49
|
-
queryParams.push(`index=${params.index}`);
|
|
50
|
-
}
|
|
51
|
-
if (params.pageSize) {
|
|
52
|
-
queryParams.push(`pageSize=${params.pageSize}`);
|
|
53
|
-
}
|
|
54
|
-
if (queryParams.length > 0) {
|
|
55
|
-
queryParamsString = `?${queryParams.join('&')}`;
|
|
56
|
-
}
|
|
57
|
-
const url = `${this.baseUrl}groups/all${queryParamsString}`;
|
|
58
|
-
return await this.httpRequest.get(`${url}`);
|
|
59
|
-
}
|
|
60
|
-
async members(params) {
|
|
61
|
-
const url = `${this.baseUrl}members`;
|
|
62
|
-
return await this.httpRequest.post(`${url}`, params);
|
|
63
|
-
}
|
|
64
|
-
};
|
|
65
|
-
exports.GroupApi = GroupApi;
|
|
66
|
-
exports.GroupApi = GroupApi = __decorate([
|
|
67
|
-
(0, inversify_1.injectable)(),
|
|
68
|
-
__param(0, (0, inversify_1.inject)("IHttpRequest")),
|
|
69
|
-
__metadata("design:paramtypes", [Object])
|
|
70
|
-
], GroupApi);
|
package/bin/group/index.d.ts
DELETED
package/bin/group/index.js
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./interfaces/IGroupApi"), exports);
|
|
18
|
-
__exportStar(require("./GroupApi"), exports);
|