@fiado/type-kit 1.2.2 → 1.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/account/dtos/AccountCreateRequest.d.ts +24 -0
- package/bin/account/dtos/AccountCreateRequest.js +104 -0
- package/bin/account/dtos/AccountCreateResponse.d.ts +8 -0
- package/bin/account/dtos/AccountCreateResponse.js +6 -0
- package/bin/account/dtos/AccountInfo.d.ts +12 -0
- package/bin/account/dtos/AccountInfo.js +59 -0
- package/bin/account/dtos/AccountUpdateBalanceRequest.d.ts +4 -0
- package/bin/account/dtos/AccountUpdateBalanceRequest.js +20 -0
- package/bin/account/dtos/BankAccountExternalAddress.d.ts +15 -0
- package/bin/account/dtos/BankAccountExternalAddress.js +6 -0
- package/bin/account/dtos/BankAccountP2pTransferRequest.d.ts +7 -0
- package/bin/account/dtos/BankAccountP2pTransferRequest.js +6 -0
- package/bin/account/dtos/CreateBankAccountRequest.d.ts +8 -0
- package/bin/account/dtos/CreateBankAccountRequest.js +6 -0
- package/bin/account/dtos/CreateBankAccountResponse.d.ts +5 -0
- package/bin/account/dtos/CreateBankAccountResponse.js +6 -0
- package/bin/account/dtos/CreateBankAccountUserRequest.d.ts +14 -0
- package/bin/account/dtos/CreateBankAccountUserRequest.js +6 -0
- package/bin/account/dtos/CreateBankAccountUserResponse.d.ts +8 -0
- package/bin/account/dtos/CreateBankAccountUserResponse.js +6 -0
- package/bin/account/dtos/ExchangeInfo.d.ts +4 -0
- package/bin/account/dtos/ExchangeInfo.js +23 -0
- package/bin/account/dtos/ExecuteP2pOperationRequest.d.ts +7 -0
- package/bin/account/dtos/ExecuteP2pOperationRequest.js +6 -0
- package/bin/account/dtos/ExecutePocketOperationRequest.d.ts +3 -0
- package/bin/account/dtos/ExecutePocketOperationRequest.js +20 -0
- package/bin/account/dtos/GetAccountBalanceResponse.d.ts +11 -0
- package/bin/account/dtos/GetAccountBalanceResponse.js +59 -0
- package/bin/account/dtos/GetAccountResponse.d.ts +20 -0
- package/bin/account/dtos/GetAccountResponse.js +89 -0
- package/bin/account/dtos/GetBankAccountRequest.d.ts +4 -0
- package/bin/account/dtos/GetBankAccountRequest.js +6 -0
- package/bin/account/dtos/GetBankAccountResponse.d.ts +22 -0
- package/bin/account/dtos/GetBankAccountResponse.js +6 -0
- package/bin/account/dtos/GetBankAccountSensitiveInformationRequest.d.ts +5 -0
- package/bin/account/dtos/GetBankAccountSensitiveInformationRequest.js +6 -0
- package/bin/account/dtos/GetBankAccountSensitiveInformationResponse.d.ts +8 -0
- package/bin/account/dtos/GetBankAccountSensitiveInformationResponse.js +6 -0
- package/bin/account/dtos/GetBankAccountUserRequest.d.ts +3 -0
- package/bin/account/dtos/GetBankAccountUserRequest.js +6 -0
- package/bin/account/dtos/GetBankAccountUserResponse.d.ts +25 -0
- package/bin/account/dtos/GetBankAccountUserResponse.js +6 -0
- package/bin/account/dtos/GetPocketBalanceResponse.d.ts +11 -0
- package/bin/account/dtos/GetPocketBalanceResponse.js +65 -0
- package/bin/account/dtos/GetPocketResponse.d.ts +8 -0
- package/bin/account/dtos/GetPocketResponse.js +5 -0
- package/bin/account/dtos/PocketBalanceItem.d.ts +7 -0
- package/bin/account/dtos/PocketBalanceItem.js +36 -0
- package/bin/account/dtos/PocketItem.d.ts +12 -0
- package/bin/account/dtos/PocketItem.js +61 -0
- package/bin/account/dtos/UpdateBalanceOperation.d.ts +8 -0
- package/bin/account/dtos/UpdateBalanceOperation.js +6 -0
- package/bin/account/dtos/UpdateBankAccountUserRequest.d.ts +26 -0
- package/bin/account/dtos/UpdateBankAccountUserRequest.js +6 -0
- package/bin/account/dtos/UpdateBankAccountUserResponse.d.ts +4 -0
- package/bin/account/dtos/UpdateBankAccountUserResponse.js +6 -0
- package/bin/account/entities/AccountEntityBase.d.ts +12 -0
- package/bin/account/entities/AccountEntityBase.js +6 -0
- package/bin/account/enums/AccountEntityStatusEnum.d.ts +5 -0
- package/bin/account/enums/AccountEntityStatusEnum.js +9 -0
- package/bin/account/enums/AccountLevelEnum.d.ts +6 -0
- package/bin/account/enums/AccountLevelEnum.js +10 -0
- package/bin/account/enums/BankAccountP2pTransferType.d.ts +6 -0
- package/bin/account/enums/BankAccountP2pTransferType.js +10 -0
- package/bin/account/enums/BankAccountTypeEnum.d.ts +3 -0
- package/bin/account/enums/BankAccountTypeEnum.js +7 -0
- package/bin/account/enums/BankAccountUserStatusEnum.d.ts +5 -0
- package/bin/account/enums/BankAccountUserStatusEnum.js +9 -0
- package/bin/account/enums/UserEntityStatusEnum.d.ts +5 -0
- package/bin/account/enums/UserEntityStatusEnum.js +9 -0
- package/bin/account/index.d.ts +35 -0
- package/bin/account/index.js +54 -0
- package/bin/address/dtos/AddressBase.d.ts +34 -0
- package/bin/address/dtos/AddressBase.js +163 -0
- package/bin/address/dtos/AddressCreateRequest.d.ts +3 -0
- package/bin/address/dtos/AddressCreateRequest.js +7 -0
- package/bin/address/dtos/AddressResponse.d.ts +7 -0
- package/bin/address/dtos/AddressResponse.js +47 -0
- package/bin/address/dtos/AddressShippingCardRequest.d.ts +9 -0
- package/bin/address/dtos/AddressShippingCardRequest.js +7 -0
- package/bin/address/dtos/AddressShippingCardResponse.d.ts +8 -0
- package/bin/address/dtos/AddressShippingCardResponse.js +2 -0
- package/bin/address/dtos/Geometry.d.ts +3 -0
- package/bin/address/dtos/Geometry.js +2 -0
- package/bin/address/dtos/OfficeDetails.d.ts +28 -0
- package/bin/address/dtos/OfficeDetails.js +2 -0
- package/bin/address/dtos/OperationSchedule.d.ts +7 -0
- package/bin/address/dtos/OperationSchedule.js +2 -0
- package/bin/address/dtos/Place.d.ts +21 -0
- package/bin/address/dtos/Place.js +112 -0
- package/bin/address/dtos/Shipping.d.ts +11 -0
- package/bin/address/dtos/Shipping.js +57 -0
- package/bin/address/dtos/Timezone.d.ts +4 -0
- package/bin/address/dtos/Timezone.js +2 -0
- package/bin/address/enums/AddressProvider.d.ts +9 -0
- package/bin/address/enums/AddressProvider.js +13 -0
- package/bin/address/enums/AddressStatus.d.ts +9 -0
- package/bin/address/enums/AddressStatus.js +13 -0
- package/bin/address/index.d.ts +12 -0
- package/bin/address/index.js +30 -0
- package/bin/app/enums/App.d.ts +9 -0
- package/bin/app/enums/App.js +13 -0
- package/bin/app/index.d.ts +1 -0
- package/bin/app/index.js +18 -0
- package/bin/authentication/dtos/SignUpAdditionalRequest.d.ts +7 -0
- package/bin/authentication/dtos/SignUpAdditionalRequest.js +46 -0
- package/bin/authentication/dtos/SignUpAdditionalResponse.d.ts +4 -0
- package/bin/authentication/dtos/SignUpAdditionalResponse.js +6 -0
- package/bin/authentication/index.d.ts +2 -0
- package/bin/authentication/index.js +19 -0
- package/bin/bankAccount/dtos/ExternalAccountCurrency.d.ts +4 -0
- package/bin/bankAccount/dtos/ExternalAccountCurrency.js +6 -0
- package/bin/bankAccount/dtos/ExternalAccountType.d.ts +4 -0
- package/bin/bankAccount/dtos/ExternalAccountType.js +6 -0
- package/bin/bankAccount/dtos/GetExternalBankAccountRequest.d.ts +12 -0
- package/bin/bankAccount/dtos/GetExternalBankAccountRequest.js +5 -0
- package/bin/bankAccount/dtos/GetExternalBankAccountResponse.d.ts +15 -0
- package/bin/bankAccount/dtos/GetExternalBankAccountResponse.js +5 -0
- package/bin/bankAccount/dtos/GetExternalBankResponse.d.ts +13 -0
- package/bin/bankAccount/dtos/GetExternalBankResponse.js +6 -0
- package/bin/bankAccount/index.d.ts +5 -0
- package/bin/bankAccount/index.js +21 -0
- package/bin/bbvaRst/dtos/CreateRSTTransactionRequest.d.ts +13 -0
- package/bin/bbvaRst/dtos/CreateRSTTransactionRequest.js +6 -0
- package/bin/bbvaRst/dtos/CreateRSTTransactionResponse.d.ts +9 -0
- package/bin/bbvaRst/dtos/CreateRSTTransactionResponse.js +6 -0
- package/bin/bbvaRst/enums/RSTStatusEnum.d.ts +5 -0
- package/bin/bbvaRst/enums/RSTStatusEnum.js +9 -0
- package/bin/bbvaRst/index.d.ts +3 -0
- package/bin/bbvaRst/index.js +19 -0
- package/bin/beneficiary/dtos/AccountBeneficiaryCreateRequest.d.ts +11 -0
- package/bin/beneficiary/dtos/AccountBeneficiaryCreateRequest.js +60 -0
- package/bin/beneficiary/dtos/AccountBeneficiaryResponse.d.ts +18 -0
- package/bin/beneficiary/dtos/AccountBeneficiaryResponse.js +6 -0
- package/bin/beneficiary/dtos/AccountBeneficiaryUpdateRequest.d.ts +10 -0
- package/bin/beneficiary/dtos/AccountBeneficiaryUpdateRequest.js +59 -0
- package/bin/beneficiary/enums/AccountType.d.ts +4 -0
- package/bin/beneficiary/enums/AccountType.js +8 -0
- package/bin/beneficiary/index.d.ts +4 -0
- package/bin/beneficiary/index.js +22 -0
- package/bin/card/dtos/CardActivateRequest.d.ts +5 -0
- package/bin/card/dtos/CardActivateRequest.js +26 -0
- package/bin/card/dtos/CardAdditionalRequest.d.ts +9 -0
- package/bin/card/dtos/CardAdditionalRequest.js +44 -0
- package/bin/card/dtos/CardAdditionalResponse.d.ts +11 -0
- package/bin/card/dtos/CardAdditionalResponse.js +6 -0
- package/bin/card/dtos/CardApplicationRequest.d.ts +9 -0
- package/bin/card/dtos/CardApplicationRequest.js +42 -0
- package/bin/card/dtos/CardBalanceResponse.d.ts +9 -0
- package/bin/card/dtos/CardBalanceResponse.js +6 -0
- package/bin/card/dtos/CardCreateAdditionalRequest.d.ts +16 -0
- package/bin/card/dtos/CardCreateAdditionalRequest.js +94 -0
- package/bin/card/dtos/CardResponse.d.ts +33 -0
- package/bin/card/dtos/CardResponse.js +6 -0
- package/bin/card/dtos/CardSensitiveInformationResponse.d.ts +17 -0
- package/bin/card/dtos/CardSensitiveInformationResponse.js +6 -0
- package/bin/card/dtos/CardShipmentQueueMessage.d.ts +5 -0
- package/bin/card/dtos/CardShipmentQueueMessage.js +7 -0
- package/bin/card/dtos/CardShipmentUpdateRequest.d.ts +6 -0
- package/bin/card/dtos/CardShipmentUpdateRequest.js +36 -0
- package/bin/card/dtos/CardSummaryResponse.d.ts +7 -0
- package/bin/card/dtos/CardSummaryResponse.js +6 -0
- package/bin/card/dtos/CardUpdateRequest.d.ts +5 -0
- package/bin/card/dtos/CardUpdateRequest.js +25 -0
- package/bin/card/dtos/Internal/ActivateBankAccountCardRequest.d.ts +8 -0
- package/bin/card/dtos/Internal/ActivateBankAccountCardRequest.js +6 -0
- package/bin/card/dtos/Internal/ActivateBankAccountCardResponse.d.ts +3 -0
- package/bin/card/dtos/Internal/ActivateBankAccountCardResponse.js +6 -0
- package/bin/card/dtos/Internal/AssignCardRequest.d.ts +4 -0
- package/bin/card/dtos/Internal/AssignCardRequest.js +2 -0
- package/bin/card/dtos/Internal/CreateBankAccountCardRequest.d.ts +16 -0
- package/bin/card/dtos/Internal/CreateBankAccountCardRequest.js +6 -0
- package/bin/card/dtos/Internal/CreateBankAccountCardResponse.d.ts +7 -0
- package/bin/card/dtos/Internal/CreateBankAccountCardResponse.js +6 -0
- package/bin/card/dtos/Internal/CreateBankAccountCardShippingRequest.d.ts +14 -0
- package/bin/card/dtos/Internal/CreateBankAccountCardShippingRequest.js +6 -0
- package/bin/card/dtos/Internal/CreateBankAccountCardShippingResponse.d.ts +11 -0
- package/bin/card/dtos/Internal/CreateBankAccountCardShippingResponse.js +6 -0
- package/bin/card/dtos/Internal/GetBankAccountCardResponse.d.ts +31 -0
- package/bin/card/dtos/Internal/GetBankAccountCardResponse.js +2 -0
- package/bin/card/dtos/Internal/GetBankAccountShippingRequest.d.ts +3 -0
- package/bin/card/dtos/Internal/GetBankAccountShippingRequest.js +6 -0
- package/bin/card/dtos/Internal/GetBankAccountShippingResponse.d.ts +19 -0
- package/bin/card/dtos/Internal/GetBankAccountShippingResponse.js +6 -0
- package/bin/card/dtos/Internal/UpdateBankAccountCardRequest.d.ts +20 -0
- package/bin/card/dtos/Internal/UpdateBankAccountCardRequest.js +6 -0
- package/bin/card/dtos/Internal/UpdateBankAccountCardResponse.d.ts +4 -0
- package/bin/card/dtos/Internal/UpdateBankAccountCardResponse.js +6 -0
- package/bin/card/enums/Brand.d.ts +8 -0
- package/bin/card/enums/Brand.js +13 -0
- package/bin/card/enums/CardIssuanceStatus.d.ts +5 -0
- package/bin/card/enums/CardIssuanceStatus.js +9 -0
- package/bin/card/enums/CardIssuing.d.ts +5 -0
- package/bin/card/enums/CardIssuing.js +9 -0
- package/bin/card/enums/CardType.d.ts +5 -0
- package/bin/card/enums/CardType.js +9 -0
- package/bin/card/enums/CardUpdateKey.d.ts +4 -0
- package/bin/card/enums/CardUpdateKey.js +8 -0
- package/bin/card/enums/CreditOrDebit.d.ts +4 -0
- package/bin/card/enums/CreditOrDebit.js +8 -0
- package/bin/card/enums/DeliveryChannel.d.ts +6 -0
- package/bin/card/enums/DeliveryChannel.js +10 -0
- package/bin/card/enums/ExternalShippingStatus.d.ts +14 -0
- package/bin/card/enums/ExternalShippingStatus.js +18 -0
- package/bin/card/enums/ExternalShippingStatusDetails.d.ts +54 -0
- package/bin/card/enums/ExternalShippingStatusDetails.js +58 -0
- package/bin/card/enums/IssuanceType.d.ts +4 -0
- package/bin/card/enums/IssuanceType.js +8 -0
- package/bin/card/enums/NominatedOrInnominated.d.ts +4 -0
- package/bin/card/enums/NominatedOrInnominated.js +8 -0
- package/bin/card/enums/OwnershipType.d.ts +4 -0
- package/bin/card/enums/OwnershipType.js +8 -0
- package/bin/card/enums/ShippingStatus.d.ts +6 -0
- package/bin/card/enums/ShippingStatus.js +10 -0
- package/bin/card/enums/Status.d.ts +6 -0
- package/bin/card/enums/Status.js +10 -0
- package/bin/card/enums/UpdateKey.d.ts +4 -0
- package/bin/card/enums/UpdateKey.js +8 -0
- package/bin/card/enums/VirtualOrPhysical.d.ts +4 -0
- package/bin/card/enums/VirtualOrPhysical.js +8 -0
- package/bin/card/index.d.ts +40 -0
- package/bin/card/index.js +59 -0
- package/bin/card/validations/CardUpdateKeyConstraint.d.ts +7 -0
- package/bin/card/validations/CardUpdateKeyConstraint.js +57 -0
- package/bin/card/validations/IsPhoneNumberConstraint.d.ts +6 -0
- package/bin/card/validations/IsPhoneNumberConstraint.js +39 -0
- package/bin/contactInfo/dtos/ContactInfoCreateRequest.d.ts +15 -0
- package/bin/contactInfo/dtos/ContactInfoCreateRequest.js +76 -0
- package/bin/contactInfo/dtos/GetAllContactInfoResponse.d.ts +13 -0
- package/bin/contactInfo/dtos/GetAllContactInfoResponse.js +6 -0
- package/bin/contactInfo/enums/TypeOfContactIdEnum.d.ts +4 -0
- package/bin/contactInfo/enums/TypeOfContactIdEnum.js +8 -0
- package/bin/contactInfo/index.d.ts +3 -0
- package/bin/contactInfo/index.js +19 -0
- package/bin/contract/dtos/ContractCreateRequest.d.ts +8 -0
- package/bin/contract/dtos/ContractCreateRequest.js +46 -0
- package/bin/contract/dtos/ContractCreateResponse.d.ts +3 -0
- package/bin/contract/dtos/ContractCreateResponse.js +6 -0
- package/bin/contract/index.d.ts +2 -0
- package/bin/contract/index.js +19 -0
- package/bin/country/enums/Country.d.ts +4 -0
- package/bin/country/enums/Country.js +8 -0
- package/bin/country/enums/CountryId.d.ts +4 -0
- package/bin/country/enums/CountryId.js +9 -0
- package/bin/country/index.d.ts +2 -0
- package/bin/country/index.js +20 -0
- package/bin/creditContract/dtos/CreditContractCreateRequest.d.ts +15 -0
- package/bin/creditContract/dtos/CreditContractCreateRequest.js +72 -0
- package/bin/creditContract/enums/InstrumentEnum.d.ts +6 -0
- package/bin/creditContract/enums/InstrumentEnum.js +2 -0
- package/bin/creditContract/index.d.ts +2 -0
- package/bin/creditContract/index.js +20 -0
- package/bin/currency/dtos/CurrencyResponse.d.ts +6 -0
- package/bin/currency/dtos/CurrencyResponse.js +6 -0
- package/bin/currency/index.d.ts +1 -0
- package/bin/currency/index.js +17 -0
- package/bin/directory/dtos/DirectoryResponse.d.ts +18 -0
- package/bin/directory/dtos/DirectoryResponse.js +2 -0
- package/bin/directory/dtos/External.d.ts +5 -0
- package/bin/directory/dtos/External.js +2 -0
- package/bin/directory/enums/Profile.d.ts +5 -0
- package/bin/directory/enums/Profile.js +9 -0
- package/bin/directory/enums/Scope.d.ts +6 -0
- package/bin/directory/enums/Scope.js +10 -0
- package/bin/directory/enums/Status.d.ts +6 -0
- package/bin/directory/enums/Status.js +10 -0
- package/bin/directory/enums/TypeOfDirectoryId.d.ts +5 -0
- package/bin/directory/enums/TypeOfDirectoryId.js +9 -0
- package/bin/directory/index.d.ts +3 -0
- package/bin/directory/index.js +21 -0
- package/bin/eventBridge/dto/EventBridgeMessageRequest.d.ts +3 -0
- package/bin/eventBridge/dto/EventBridgeMessageRequest.js +7 -0
- package/bin/eventBridge/index.d.ts +1 -0
- package/bin/eventBridge/index.js +18 -0
- package/bin/exchangeRate/dtos/ExchangeRateCreateRequest.d.ts +17 -0
- package/bin/exchangeRate/dtos/ExchangeRateCreateRequest.js +74 -0
- package/bin/exchangeRate/dtos/ExchangeRateCreateResponse.d.ts +3 -0
- package/bin/exchangeRate/dtos/ExchangeRateCreateResponse.js +7 -0
- package/bin/exchangeRate/dtos/ExchangeRateResponse.d.ts +18 -0
- package/bin/exchangeRate/dtos/ExchangeRateResponse.js +6 -0
- package/bin/exchangeRate/dtos/GetExchangeRatesRequest.d.ts +4 -0
- package/bin/exchangeRate/dtos/GetExchangeRatesRequest.js +5 -0
- package/bin/exchangeRate/enums/ExchangeRateStatus.d.ts +4 -0
- package/bin/exchangeRate/enums/ExchangeRateStatus.js +8 -0
- package/bin/exchangeRate/index.d.ts +5 -0
- package/bin/exchangeRate/index.js +23 -0
- package/bin/genericMessage/dto/GenericMessageRequest.d.ts +7 -0
- package/bin/genericMessage/dto/GenericMessageRequest.js +30 -0
- package/bin/genericMessage/enums/GenericMessageSourceEnum.d.ts +3 -0
- package/bin/genericMessage/enums/GenericMessageSourceEnum.js +7 -0
- package/bin/genericMessage/index.d.ts +1 -0
- package/bin/genericMessage/index.js +18 -0
- package/bin/group/dtos/GroupAddDirectoryRequest.d.ts +10 -0
- package/bin/group/dtos/GroupAddDirectoryRequest.js +48 -0
- package/bin/group/dtos/GroupCreateRequest.d.ts +13 -0
- package/bin/group/dtos/GroupCreateRequest.js +77 -0
- package/bin/group/dtos/GroupDirectoryRelationsResponse.d.ts +16 -0
- package/bin/group/dtos/GroupDirectoryRelationsResponse.js +6 -0
- package/bin/group/dtos/GroupDirectoryRelationsUpdateRequest.d.ts +3 -0
- package/bin/group/dtos/GroupDirectoryRelationsUpdateRequest.js +22 -0
- package/bin/group/dtos/GroupResponse.d.ts +12 -0
- package/bin/group/dtos/GroupResponse.js +6 -0
- package/bin/group/dtos/GroupUpdateRequest.d.ts +9 -0
- package/bin/group/dtos/GroupUpdateRequest.js +49 -0
- package/bin/group/enums/GroupAction.d.ts +4 -0
- package/bin/group/enums/GroupAction.js +8 -0
- package/bin/group/enums/GroupStatus.d.ts +4 -0
- package/bin/group/enums/GroupStatus.js +8 -0
- package/bin/group/enums/RelationStatus.d.ts +5 -0
- package/bin/group/enums/RelationStatus.js +9 -0
- package/bin/group/enums/RelationType.d.ts +5 -0
- package/bin/group/enums/RelationType.js +9 -0
- package/bin/group/index.d.ts +10 -0
- package/bin/group/index.js +28 -0
- package/bin/header/TokenPayload.d.ts +17 -0
- package/bin/header/TokenPayload.js +2 -0
- package/bin/header/index.d.ts +1 -0
- package/bin/header/index.js +17 -0
- package/bin/helpers/ValidationUtils.d.ts +6 -0
- package/bin/helpers/ValidationUtils.js +34 -0
- package/bin/helpers/constans/regex.d.ts +3 -0
- package/bin/helpers/constans/regex.js +9 -0
- package/bin/identity/dtos/IdentificationDocument.d.ts +22 -0
- package/bin/identity/dtos/IdentificationDocument.js +6 -0
- package/bin/identity/dtos/PeopleCreateRequest.d.ts +2 -0
- package/bin/identity/dtos/PeopleCreateRequest.js +6 -0
- package/bin/identity/dtos/PeopleResponse.d.ts +66 -0
- package/bin/identity/dtos/PeopleResponse.js +6 -0
- package/bin/identity/dtos/PeopleUpdateRequest.d.ts +68 -0
- package/bin/identity/dtos/PeopleUpdateRequest.js +6 -0
- package/bin/identity/dtos/TypeOfDocument.d.ts +10 -0
- package/bin/identity/dtos/TypeOfDocument.js +6 -0
- package/bin/identity/enums/IdentificationDocumentStatus.d.ts +5 -0
- package/bin/identity/enums/IdentificationDocumentStatus.js +9 -0
- package/bin/identity/enums/SexDocument.d.ts +4 -0
- package/bin/identity/enums/SexDocument.js +8 -0
- package/bin/identity/enums/TypeOfDocument.d.ts +6 -0
- package/bin/identity/enums/TypeOfDocument.js +10 -0
- package/bin/identity/index.d.ts +7 -0
- package/bin/identity/index.js +25 -0
- package/bin/index.d.ts +29 -0
- package/bin/index.js +55 -0
- package/bin/notificationMessages/dtos/NotificationQueueMessageRequest.d.ts +7 -0
- package/bin/notificationMessages/dtos/NotificationQueueMessageRequest.js +6 -0
- package/bin/notificationMessages/dtos/QueueMessageDestination.d.ts +6 -0
- package/bin/notificationMessages/dtos/QueueMessageDestination.js +6 -0
- package/bin/notificationMessages/dtos/QueueMessageVariableValues.d.ts +4 -0
- package/bin/notificationMessages/dtos/QueueMessageVariableValues.js +6 -0
- package/bin/notificationMessages/enums/NotificationId.d.ts +6 -0
- package/bin/notificationMessages/enums/NotificationId.js +10 -0
- package/bin/notificationMessages/index.d.ts +4 -0
- package/bin/notificationMessages/index.js +20 -0
- package/bin/p2pContact/dtos/CreateP2pContactRequest.d.ts +8 -0
- package/bin/p2pContact/dtos/CreateP2pContactRequest.js +6 -0
- package/bin/p2pContact/index.d.ts +1 -0
- package/bin/p2pContact/index.js +17 -0
- package/bin/productCatalog/dtos/CreateProductCatalogRequest.d.ts +14 -0
- package/bin/productCatalog/dtos/CreateProductCatalogRequest.js +6 -0
- package/bin/productCatalog/dtos/GetProductCatalogResponse.d.ts +16 -0
- package/bin/productCatalog/dtos/GetProductCatalogResponse.js +62 -0
- package/bin/productCatalog/enums/ProductTaxFeeTypeEnum.d.ts +4 -0
- package/bin/productCatalog/enums/ProductTaxFeeTypeEnum.js +8 -0
- package/bin/productCatalog/enums/ProductTypeEnum.d.ts +12 -0
- package/bin/productCatalog/enums/ProductTypeEnum.js +16 -0
- package/bin/productCatalog/index.d.ts +4 -0
- package/bin/productCatalog/index.js +20 -0
- package/bin/provider/enums/Provider.d.ts +5 -0
- package/bin/provider/enums/Provider.js +9 -0
- package/bin/provider/index.d.ts +1 -0
- package/bin/provider/index.js +17 -0
- package/bin/queue/dtos/QueueMessageBase.d.ts +5 -0
- package/bin/queue/dtos/QueueMessageBase.js +25 -0
- package/bin/servicePayment/dtos/GetCatalogParams.d.ts +6 -0
- package/bin/servicePayment/dtos/GetCatalogParams.js +6 -0
- package/bin/servicePayment/dtos/ServicePaymentRequest.d.ts +8 -0
- package/bin/servicePayment/dtos/ServicePaymentRequest.js +46 -0
- package/bin/servicePayment/index.d.ts +2 -0
- package/bin/servicePayment/index.js +18 -0
- package/bin/sessionActivity/dtos/SessionActivityQueueMessageRequest.d.ts +10 -0
- package/bin/sessionActivity/dtos/SessionActivityQueueMessageRequest.js +6 -0
- package/bin/sessionActivity/enums/SessionActivityActionEnum.d.ts +8 -0
- package/bin/sessionActivity/enums/SessionActivityActionEnum.js +12 -0
- package/bin/sessionActivity/enums/SessionActivityActionOriginEnum.d.ts +5 -0
- package/bin/sessionActivity/enums/SessionActivityActionOriginEnum.js +9 -0
- package/bin/sessionActivity/index.d.ts +3 -0
- package/bin/sessionActivity/index.js +19 -0
- package/bin/stpSpei/dtos/PutStpOrderRequest.d.ts +11 -0
- package/bin/stpSpei/dtos/PutStpOrderRequest.js +6 -0
- package/bin/stpSpei/dtos/SpeiWebhookMessage.d.ts +9 -0
- package/bin/stpSpei/dtos/SpeiWebhookMessage.js +6 -0
- package/bin/stpSpei/enums/WebhookMessageStatusEnum.d.ts +5 -0
- package/bin/stpSpei/enums/WebhookMessageStatusEnum.js +9 -0
- package/bin/stpSpei/index.d.ts +3 -0
- package/bin/stpSpei/index.js +19 -0
- package/bin/transaction/dtos/Credit.d.ts +7 -0
- package/bin/transaction/dtos/Credit.js +41 -0
- package/bin/transaction/dtos/Debit.d.ts +6 -0
- package/bin/transaction/dtos/Debit.js +36 -0
- package/bin/transaction/dtos/Notional.d.ts +6 -0
- package/bin/transaction/dtos/Notional.js +36 -0
- package/bin/transaction/dtos/Product.d.ts +8 -0
- package/bin/transaction/dtos/Product.js +39 -0
- package/bin/transaction/dtos/Total.d.ts +6 -0
- package/bin/transaction/dtos/Total.js +36 -0
- package/bin/transaction/dtos/TransactionCreateRequest.d.ts +28 -0
- package/bin/transaction/dtos/TransactionCreateRequest.js +123 -0
- package/bin/transaction/dtos/TransactionCreateResponse.d.ts +2 -0
- package/bin/transaction/dtos/TransactionCreateResponse.js +6 -0
- package/bin/transaction/dtos/TransactionGetResponse.d.ts +17 -0
- package/bin/transaction/dtos/TransactionGetResponse.js +6 -0
- package/bin/transaction/enums/OperationEnum.d.ts +4 -0
- package/bin/transaction/enums/OperationEnum.js +8 -0
- package/bin/transaction/enums/TransactionSourceEnum.d.ts +5 -0
- package/bin/transaction/enums/TransactionSourceEnum.js +9 -0
- package/bin/transaction/index.d.ts +5 -0
- package/bin/transaction/index.js +23 -0
- package/bin/transactionProcessor/dtos/AmountInfo.d.ts +6 -0
- package/bin/transactionProcessor/dtos/AmountInfo.js +6 -0
- package/bin/transactionProcessor/dtos/AmountInfoItem.d.ts +4 -0
- package/bin/transactionProcessor/dtos/AmountInfoItem.js +6 -0
- package/bin/transactionProcessor/dtos/AuthorizeCreditCardAdjustmentRequest.d.ts +17 -0
- package/bin/transactionProcessor/dtos/AuthorizeCreditCardAdjustmentRequest.js +6 -0
- package/bin/transactionProcessor/dtos/AuthorizeCreditCardPurchaseRequest.d.ts +16 -0
- package/bin/transactionProcessor/dtos/AuthorizeCreditCardPurchaseRequest.js +6 -0
- package/bin/transactionProcessor/dtos/AuthorizeP2pTransactionRequest.d.ts +9 -0
- package/bin/transactionProcessor/dtos/AuthorizeP2pTransactionRequest.js +6 -0
- package/bin/transactionProcessor/dtos/AuthorizePocketTransactionRequest.d.ts +8 -0
- package/bin/transactionProcessor/dtos/AuthorizePocketTransactionRequest.js +6 -0
- package/bin/transactionProcessor/dtos/AuthorizeServicePaymentRequest.d.ts +8 -0
- package/bin/transactionProcessor/dtos/AuthorizeServicePaymentRequest.js +6 -0
- package/bin/transactionProcessor/dtos/AuthorizeSpeiBankTransferRequest.d.ts +7 -0
- package/bin/transactionProcessor/dtos/AuthorizeSpeiBankTransferRequest.js +5 -0
- package/bin/transactionProcessor/dtos/CardInfo.d.ts +6 -0
- package/bin/transactionProcessor/dtos/CardInfo.js +6 -0
- package/bin/transactionProcessor/dtos/InstallmentsInfo.d.ts +7 -0
- package/bin/transactionProcessor/dtos/InstallmentsInfo.js +6 -0
- package/bin/transactionProcessor/dtos/MerchantInfo.d.ts +7 -0
- package/bin/transactionProcessor/dtos/MerchantInfo.js +6 -0
- package/bin/transactionProcessor/dtos/SpeiBankTransferStatusUpdate.d.ts +6 -0
- package/bin/transactionProcessor/dtos/SpeiBankTransferStatusUpdate.js +6 -0
- package/bin/transactionProcessor/dtos/TransactionInfo.d.ts +8 -0
- package/bin/transactionProcessor/dtos/TransactionInfo.js +6 -0
- package/bin/transactionProcessor/dtos/TransactionProcessorQueueMessage.d.ts +4 -0
- package/bin/transactionProcessor/dtos/TransactionProcessorQueueMessage.js +6 -0
- package/bin/transactionProcessor/enums/AsyncTxStatusEnum.d.ts +6 -0
- package/bin/transactionProcessor/enums/AsyncTxStatusEnum.js +10 -0
- package/bin/transactionProcessor/enums/TransactionProcessorCodesEnum.d.ts +14 -0
- package/bin/transactionProcessor/enums/TransactionProcessorCodesEnum.js +18 -0
- package/bin/transactionProcessor/index.d.ts +16 -0
- package/bin/transactionProcessor/index.js +32 -0
- package/package.json +1 -1
- package/src/contactInfo/index.ts +1 -0
|
@@ -0,0 +1,36 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.Debit = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
class Debit {
|
|
15
|
+
}
|
|
16
|
+
exports.Debit = Debit;
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
19
|
+
(0, class_validator_1.IsNumber)(),
|
|
20
|
+
__metadata("design:type", Number)
|
|
21
|
+
], Debit.prototype, "debitNotional", void 0);
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
24
|
+
(0, class_validator_1.IsNumber)(),
|
|
25
|
+
__metadata("design:type", Number)
|
|
26
|
+
], Debit.prototype, "debitFees", void 0);
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
29
|
+
(0, class_validator_1.IsNumber)(),
|
|
30
|
+
__metadata("design:type", Number)
|
|
31
|
+
], Debit.prototype, "debitTax", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
34
|
+
(0, class_validator_1.IsNumber)(),
|
|
35
|
+
__metadata("design:type", Number)
|
|
36
|
+
], Debit.prototype, "debitTotal", void 0);
|
|
@@ -0,0 +1,36 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.Notional = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
class Notional {
|
|
15
|
+
}
|
|
16
|
+
exports.Notional = Notional;
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
19
|
+
(0, class_validator_1.IsNumber)(),
|
|
20
|
+
__metadata("design:type", Number)
|
|
21
|
+
], Notional.prototype, "notional", void 0);
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
24
|
+
(0, class_validator_1.IsNumber)(),
|
|
25
|
+
__metadata("design:type", Number)
|
|
26
|
+
], Notional.prototype, "productFees", void 0);
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
29
|
+
(0, class_validator_1.IsNumber)(),
|
|
30
|
+
__metadata("design:type", Number)
|
|
31
|
+
], Notional.prototype, "productTax", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
34
|
+
(0, class_validator_1.IsNumber)(),
|
|
35
|
+
__metadata("design:type", Number)
|
|
36
|
+
], Notional.prototype, "total", void 0);
|
|
@@ -0,0 +1,39 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.Product = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const productCatalog_1 = require("../../productCatalog");
|
|
15
|
+
class Product {
|
|
16
|
+
}
|
|
17
|
+
exports.Product = Product;
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
20
|
+
(0, class_validator_1.IsString)(),
|
|
21
|
+
__metadata("design:type", String)
|
|
22
|
+
], Product.prototype, "type", void 0);
|
|
23
|
+
__decorate([
|
|
24
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
25
|
+
(0, class_validator_1.IsString)(),
|
|
26
|
+
__metadata("design:type", String)
|
|
27
|
+
], Product.prototype, "description", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, class_validator_1.IsString)(),
|
|
30
|
+
__metadata("design:type", String)
|
|
31
|
+
], Product.prototype, "sourceDisplayName", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, class_validator_1.IsString)(),
|
|
34
|
+
__metadata("design:type", String)
|
|
35
|
+
], Product.prototype, "targetDisplayName", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, class_validator_1.IsString)(),
|
|
38
|
+
__metadata("design:type", String)
|
|
39
|
+
], Product.prototype, "relatedProductId", void 0);
|
|
@@ -0,0 +1,36 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.Total = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
class Total {
|
|
15
|
+
}
|
|
16
|
+
exports.Total = Total;
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
19
|
+
(0, class_validator_1.IsNumber)(),
|
|
20
|
+
__metadata("design:type", Number)
|
|
21
|
+
], Total.prototype, "totalNotional", void 0);
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
24
|
+
(0, class_validator_1.IsNumber)(),
|
|
25
|
+
__metadata("design:type", Number)
|
|
26
|
+
], Total.prototype, "totalFees", void 0);
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
29
|
+
(0, class_validator_1.IsNumber)(),
|
|
30
|
+
__metadata("design:type", Number)
|
|
31
|
+
], Total.prototype, "totalTax", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
34
|
+
(0, class_validator_1.IsNumber)(),
|
|
35
|
+
__metadata("design:type", Number)
|
|
36
|
+
], Total.prototype, "totalTotal", void 0);
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { CountryId } from "../../country";
|
|
2
|
+
import { OperationEnum } from "../enums/OperationEnum";
|
|
3
|
+
import { TypeOfDirectoryId } from "../../directory";
|
|
4
|
+
import { Notional } from "./Notional";
|
|
5
|
+
import { Credit } from "./Credit";
|
|
6
|
+
import { Debit } from "./Debit";
|
|
7
|
+
import { Total } from "./Total";
|
|
8
|
+
import { Product } from "./Product";
|
|
9
|
+
export declare class TransactionCreateRequest {
|
|
10
|
+
transactionNumber: string;
|
|
11
|
+
directoryId: string;
|
|
12
|
+
peopleId: string;
|
|
13
|
+
accountId: string;
|
|
14
|
+
pocketId: string;
|
|
15
|
+
ownerDirectoryId: string;
|
|
16
|
+
targetDirectoryId: string;
|
|
17
|
+
targetPeopleId: string;
|
|
18
|
+
transactionDate: string;
|
|
19
|
+
sessionId: string;
|
|
20
|
+
currencyId: CountryId;
|
|
21
|
+
operation: OperationEnum;
|
|
22
|
+
notional: Notional;
|
|
23
|
+
credit: Credit;
|
|
24
|
+
debit: Debit;
|
|
25
|
+
total: Total;
|
|
26
|
+
product: Product;
|
|
27
|
+
typeOfDirectoryId: TypeOfDirectoryId;
|
|
28
|
+
}
|
|
@@ -0,0 +1,123 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.TransactionCreateRequest = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const regex_1 = require("../../helpers/constans/regex");
|
|
15
|
+
const country_1 = require("../../country");
|
|
16
|
+
const OperationEnum_1 = require("../enums/OperationEnum");
|
|
17
|
+
const directory_1 = require("../../directory");
|
|
18
|
+
const class_transformer_1 = require("class-transformer");
|
|
19
|
+
const Notional_1 = require("./Notional");
|
|
20
|
+
const Credit_1 = require("./Credit");
|
|
21
|
+
const Debit_1 = require("./Debit");
|
|
22
|
+
const Total_1 = require("./Total");
|
|
23
|
+
const Product_1 = require("./Product");
|
|
24
|
+
class TransactionCreateRequest {
|
|
25
|
+
}
|
|
26
|
+
exports.TransactionCreateRequest = TransactionCreateRequest;
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
29
|
+
(0, class_validator_1.IsString)(),
|
|
30
|
+
(0, class_validator_1.Length)(3, 50),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], TransactionCreateRequest.prototype, "transactionNumber", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
35
|
+
(0, class_validator_1.IsString)(),
|
|
36
|
+
(0, class_validator_1.Matches)(regex_1.regexUuidV4, {
|
|
37
|
+
message: 'directoryId must be a valid UUID v4',
|
|
38
|
+
}),
|
|
39
|
+
__metadata("design:type", String)
|
|
40
|
+
], TransactionCreateRequest.prototype, "directoryId", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
43
|
+
(0, class_validator_1.IsString)(),
|
|
44
|
+
(0, class_validator_1.Matches)(regex_1.regexUuidV4, {
|
|
45
|
+
message: 'peopleId must be a valid UUID v4',
|
|
46
|
+
}),
|
|
47
|
+
__metadata("design:type", String)
|
|
48
|
+
], TransactionCreateRequest.prototype, "peopleId", void 0);
|
|
49
|
+
__decorate([
|
|
50
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
51
|
+
(0, class_validator_1.IsString)(),
|
|
52
|
+
__metadata("design:type", String)
|
|
53
|
+
], TransactionCreateRequest.prototype, "accountId", void 0);
|
|
54
|
+
__decorate([
|
|
55
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
56
|
+
(0, class_validator_1.IsString)(),
|
|
57
|
+
__metadata("design:type", String)
|
|
58
|
+
], TransactionCreateRequest.prototype, "pocketId", void 0);
|
|
59
|
+
__decorate([
|
|
60
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
61
|
+
(0, class_validator_1.IsString)(),
|
|
62
|
+
(0, class_validator_1.Matches)(regex_1.regexUuidV4, {
|
|
63
|
+
message: 'ownerDirectoryId must be a valid UUID v4',
|
|
64
|
+
}),
|
|
65
|
+
__metadata("design:type", String)
|
|
66
|
+
], TransactionCreateRequest.prototype, "ownerDirectoryId", void 0);
|
|
67
|
+
__decorate([
|
|
68
|
+
(0, class_validator_1.IsString)(),
|
|
69
|
+
__metadata("design:type", String)
|
|
70
|
+
], TransactionCreateRequest.prototype, "targetDirectoryId", void 0);
|
|
71
|
+
__decorate([
|
|
72
|
+
(0, class_validator_1.IsString)(),
|
|
73
|
+
__metadata("design:type", String)
|
|
74
|
+
], TransactionCreateRequest.prototype, "targetPeopleId", void 0);
|
|
75
|
+
__decorate([
|
|
76
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
77
|
+
(0, class_validator_1.IsString)(),
|
|
78
|
+
__metadata("design:type", String)
|
|
79
|
+
], TransactionCreateRequest.prototype, "transactionDate", void 0);
|
|
80
|
+
__decorate([
|
|
81
|
+
(0, class_validator_1.IsString)(),
|
|
82
|
+
__metadata("design:type", String)
|
|
83
|
+
], TransactionCreateRequest.prototype, "sessionId", void 0);
|
|
84
|
+
__decorate([
|
|
85
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
86
|
+
(0, class_validator_1.IsEnum)(country_1.CountryId),
|
|
87
|
+
__metadata("design:type", String)
|
|
88
|
+
], TransactionCreateRequest.prototype, "currencyId", void 0);
|
|
89
|
+
__decorate([
|
|
90
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
91
|
+
(0, class_validator_1.IsEnum)(OperationEnum_1.OperationEnum),
|
|
92
|
+
__metadata("design:type", String)
|
|
93
|
+
], TransactionCreateRequest.prototype, "operation", void 0);
|
|
94
|
+
__decorate([
|
|
95
|
+
(0, class_validator_1.ValidateNested)({ each: true }),
|
|
96
|
+
(0, class_transformer_1.Type)(() => Notional_1.Notional),
|
|
97
|
+
__metadata("design:type", Notional_1.Notional)
|
|
98
|
+
], TransactionCreateRequest.prototype, "notional", void 0);
|
|
99
|
+
__decorate([
|
|
100
|
+
(0, class_validator_1.ValidateNested)({ each: true }),
|
|
101
|
+
(0, class_transformer_1.Type)(() => Credit_1.Credit),
|
|
102
|
+
__metadata("design:type", Credit_1.Credit)
|
|
103
|
+
], TransactionCreateRequest.prototype, "credit", void 0);
|
|
104
|
+
__decorate([
|
|
105
|
+
(0, class_validator_1.ValidateNested)({ each: true }),
|
|
106
|
+
(0, class_transformer_1.Type)(() => Debit_1.Debit),
|
|
107
|
+
__metadata("design:type", Debit_1.Debit)
|
|
108
|
+
], TransactionCreateRequest.prototype, "debit", void 0);
|
|
109
|
+
__decorate([
|
|
110
|
+
(0, class_validator_1.ValidateNested)({ each: true }),
|
|
111
|
+
(0, class_transformer_1.Type)(() => Total_1.Total),
|
|
112
|
+
__metadata("design:type", Total_1.Total)
|
|
113
|
+
], TransactionCreateRequest.prototype, "total", void 0);
|
|
114
|
+
__decorate([
|
|
115
|
+
(0, class_validator_1.ValidateNested)({ each: true }),
|
|
116
|
+
(0, class_transformer_1.Type)(() => Product_1.Product),
|
|
117
|
+
__metadata("design:type", Product_1.Product)
|
|
118
|
+
], TransactionCreateRequest.prototype, "product", void 0);
|
|
119
|
+
__decorate([
|
|
120
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
121
|
+
(0, class_validator_1.IsEnum)(directory_1.TypeOfDirectoryId),
|
|
122
|
+
__metadata("design:type", String)
|
|
123
|
+
], TransactionCreateRequest.prototype, "typeOfDirectoryId", void 0);
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { CountryId } from "../../country";
|
|
2
|
+
import { ProductTypeEnum } from "../../productCatalog";
|
|
3
|
+
import { OperationEnum } from "../enums/OperationEnum";
|
|
4
|
+
import { TransactionSourceEnum } from "../enums/TransactionSourceEnum";
|
|
5
|
+
export declare class TransactionGetResponse {
|
|
6
|
+
pagination: any;
|
|
7
|
+
items: {
|
|
8
|
+
source: TransactionSourceEnum;
|
|
9
|
+
totalAmount: number;
|
|
10
|
+
date: Date;
|
|
11
|
+
transactionNumber: string;
|
|
12
|
+
transactionType: ProductTypeEnum;
|
|
13
|
+
description: string;
|
|
14
|
+
currencyId: CountryId;
|
|
15
|
+
operation: OperationEnum;
|
|
16
|
+
}[];
|
|
17
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.OperationEnum = void 0;
|
|
4
|
+
var OperationEnum;
|
|
5
|
+
(function (OperationEnum) {
|
|
6
|
+
OperationEnum["ADD"] = "ADD";
|
|
7
|
+
OperationEnum["SUBSTRACT"] = "SUBSTRACT";
|
|
8
|
+
})(OperationEnum || (exports.OperationEnum = OperationEnum = {}));
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TransactionSourceEnum = void 0;
|
|
4
|
+
var TransactionSourceEnum;
|
|
5
|
+
(function (TransactionSourceEnum) {
|
|
6
|
+
TransactionSourceEnum["FIADO_INC"] = "FIADO_INC";
|
|
7
|
+
TransactionSourceEnum["FIADO_IFPE"] = "FIADO_IFPE";
|
|
8
|
+
TransactionSourceEnum["FIADO_SA"] = "FIADO_SA";
|
|
9
|
+
})(TransactionSourceEnum || (exports.TransactionSourceEnum = TransactionSourceEnum = {}));
|
|
@@ -0,0 +1,23 @@
|
|
|
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
|
+
//dtos
|
|
18
|
+
__exportStar(require("./dtos/TransactionCreateRequest"), exports);
|
|
19
|
+
__exportStar(require("./dtos/TransactionCreateResponse"), exports);
|
|
20
|
+
__exportStar(require("./dtos/TransactionGetResponse"), exports);
|
|
21
|
+
//enums
|
|
22
|
+
__exportStar(require("./enums/OperationEnum"), exports);
|
|
23
|
+
__exportStar(require("./enums/TransactionSourceEnum"), exports);
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { TransactionInfo } from "./TransactionInfo";
|
|
2
|
+
import { MerchantInfo } from "./MerchantInfo";
|
|
3
|
+
import { CardInfo } from "./CardInfo";
|
|
4
|
+
import { AmountInfo } from "./AmountInfo";
|
|
5
|
+
import { CountryId } from "../../country";
|
|
6
|
+
import { InstallmentsInfo } from "./InstallmentsInfo";
|
|
7
|
+
export declare class AuthorizeCreditCardAdjustmentRequest {
|
|
8
|
+
idempotencyKey: string;
|
|
9
|
+
externalUserId: string;
|
|
10
|
+
cardInfo: CardInfo;
|
|
11
|
+
productCatalogId: string;
|
|
12
|
+
merchantInfo: MerchantInfo;
|
|
13
|
+
amountInfo: AmountInfo;
|
|
14
|
+
transactionInfo: TransactionInfo;
|
|
15
|
+
countryId: CountryId;
|
|
16
|
+
installments: InstallmentsInfo;
|
|
17
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AuthorizeCreditCardAdjustmentRequest = void 0;
|
|
4
|
+
class AuthorizeCreditCardAdjustmentRequest {
|
|
5
|
+
}
|
|
6
|
+
exports.AuthorizeCreditCardAdjustmentRequest = AuthorizeCreditCardAdjustmentRequest;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { CardInfo } from "./CardInfo";
|
|
2
|
+
import { MerchantInfo } from "./MerchantInfo";
|
|
3
|
+
import { AmountInfo } from "./AmountInfo";
|
|
4
|
+
import { TransactionInfo } from "./TransactionInfo";
|
|
5
|
+
import { CountryId } from "../../country";
|
|
6
|
+
export declare class AuthorizeCreditCardPurchaseRequest {
|
|
7
|
+
idempotencyKey: string;
|
|
8
|
+
externalUserId: string;
|
|
9
|
+
cardInfo: CardInfo | null;
|
|
10
|
+
productCatalogId: string;
|
|
11
|
+
merchantInfo: MerchantInfo;
|
|
12
|
+
amountInfo: AmountInfo;
|
|
13
|
+
transactionInfo: TransactionInfo;
|
|
14
|
+
countryId: CountryId;
|
|
15
|
+
additionalData: any;
|
|
16
|
+
}
|