@fiado/type-kit 2.0.14 → 2.0.16
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/README.md +70 -70
- package/bin/address/dtos/ValidateAddressRequest.d.ts +3 -0
- package/bin/address/dtos/ValidateAddressRequest.js +7 -0
- package/bin/address/dtos/ValidateAddressResponse.d.ts +6 -0
- package/bin/address/dtos/ValidateAddressResponse.js +6 -0
- package/bin/address/dtos/ValidateAddressResult.d.ts +6 -0
- package/bin/address/dtos/ValidateAddressResult.js +6 -0
- package/bin/address/enums/ValidateAddressErrorCodeEnum.d.ts +13 -0
- package/bin/address/enums/ValidateAddressErrorCodeEnum.js +17 -0
- package/bin/address/enums/ValidateAddressStatusEnum.d.ts +9 -0
- package/bin/address/enums/ValidateAddressStatusEnum.js +13 -0
- package/bin/address/index.d.ts +5 -0
- package/bin/address/index.js +5 -0
- package/bin/card/validations/CardUpdateKeyConstraint.js +2 -2
- package/bin/card/validations/IsPhoneNumberConstraint.js +2 -2
- package/bin/index.js +17 -7
- package/package.json +23 -23
- package/src/account/dtos/AccountCreateRequest.ts +106 -106
- package/src/account/dtos/AccountCreateResponse.ts +10 -10
- package/src/account/dtos/AccountInfo.ts +43 -43
- package/src/account/dtos/AccountUpdateBalanceRequest.ts +11 -11
- package/src/account/dtos/AccountUpdateRequest.ts +40 -40
- package/src/account/dtos/BankAccountAchTransferRequest.ts +12 -12
- package/src/account/dtos/BankAccountAchTransferResponse.ts +11 -11
- package/src/account/dtos/BankAccountExternalAddress.ts +17 -17
- package/src/account/dtos/BankAccountMCSendTransferRequest.ts +10 -10
- package/src/account/dtos/BankAccountMCSendTransferResponse.ts +7 -7
- package/src/account/dtos/BankAccountP2pTransferRequest.ts +10 -10
- package/src/account/dtos/BankAccountP2pTransferResponse.ts +11 -11
- package/src/account/dtos/BankAccountPocketTransferRequest.ts +10 -10
- package/src/account/dtos/BankAccountPocketTransferResponse.ts +9 -9
- package/src/account/dtos/CreateBankAccountRequest.ts +11 -11
- package/src/account/dtos/CreateBankAccountResponse.ts +8 -8
- package/src/account/dtos/CreateBankAccountUserRequest.ts +21 -21
- package/src/account/dtos/CreateBankAccountUserResponse.ts +14 -14
- package/src/account/dtos/ExchangeInfo.ts +8 -8
- package/src/account/dtos/ExecuteP2pOperationRequest.ts +12 -12
- package/src/account/dtos/ExecuteP2pOperationResponse.ts +6 -6
- package/src/account/dtos/ExecutePocketOperationRequest.ts +13 -13
- package/src/account/dtos/ExecutePocketOperationResponse.ts +7 -7
- package/src/account/dtos/GetAccountBalanceResponse.ts +53 -53
- package/src/account/dtos/GetAccountResponse.ts +62 -62
- package/src/account/dtos/GetAccountResponseList.ts +5 -5
- package/src/account/dtos/GetBankAccountRequest.ts +3 -3
- package/src/account/dtos/GetBankAccountResponse.ts +22 -22
- package/src/account/dtos/GetBankAccountSensitiveInformationRequest.ts +5 -5
- package/src/account/dtos/GetBankAccountSensitiveInformationResponse.ts +10 -10
- package/src/account/dtos/GetBankAccountUserRequest.ts +2 -2
- package/src/account/dtos/GetBankAccountUserResponse.ts +27 -27
- package/src/account/dtos/GetPocketBalanceResponse.ts +46 -46
- package/src/account/dtos/GetPocketResponse.ts +8 -8
- package/src/account/dtos/PocketBalanceItem.ts +17 -17
- package/src/account/dtos/PocketItem.ts +43 -43
- package/src/account/dtos/SPEITransferCreateRequest.ts +42 -42
- package/src/account/dtos/SPEITransferResponse.ts +22 -22
- package/src/account/dtos/SPEITransferUpdateRequest.ts +43 -43
- package/src/account/dtos/UpdateBalanceOperation.ts +10 -10
- package/src/account/dtos/UpdateBankAccountUserRequest.ts +26 -26
- package/src/account/dtos/UpdateBankAccountUserResponse.ts +3 -3
- package/src/account/entities/AccountEntityBase.ts +12 -12
- package/src/account/entities/BankInfo.ts +7 -7
- package/src/account/enums/AccountEntityStatusEnum.ts +6 -6
- package/src/account/enums/AccountLevelEnum.ts +5 -5
- package/src/account/enums/AchTransferStatusEnum.ts +12 -12
- package/src/account/enums/AchTransferTypeEnum.ts +4 -4
- package/src/account/enums/BankAccountP2pTransferType.ts +5 -5
- package/src/account/enums/BankAccountTypeEnum.ts +5 -5
- package/src/account/enums/BankAccountUserStatusEnum.ts +4 -4
- package/src/account/enums/CreateBankAccountUserStatusEnum.ts +5 -5
- package/src/account/enums/PocketOperationTypeEnum.ts +10 -10
- package/src/account/enums/SpeiTransferStatusEnum.ts +10 -10
- package/src/account/enums/UserEntityStatusEnum.ts +4 -4
- package/src/account/index.ts +63 -63
- package/src/accountIssuanceBusiness/enums/Status.ts +12 -12
- package/src/accountIssuanceBusiness/index.ts +2 -2
- package/src/activity/dtos/ActivityMessageRequest.ts +30 -30
- package/src/activity/dtos/ActivityMessageResponse.ts +24 -24
- package/src/activity/dtos/ActivityQueueMessage.ts +9 -9
- package/src/activity/index.ts +8 -8
- package/src/address/dtos/AddressBase.ts +130 -130
- package/src/address/dtos/AddressCreateRequest.ts +6 -6
- package/src/address/dtos/AddressResponse.ts +41 -41
- package/src/address/dtos/AddressShippingCardRequest.ts +12 -12
- package/src/address/dtos/AddressShippingCardResponse.ts +11 -11
- package/src/address/dtos/Geometry.ts +4 -4
- package/src/address/dtos/GetLocationResponse.ts +6 -6
- package/src/address/dtos/Location.ts +26 -26
- package/src/address/dtos/LocationAddress.ts +25 -25
- package/src/address/dtos/OfficeDetails.ts +30 -30
- package/src/address/dtos/OperationSchedule.ts +8 -8
- package/src/address/dtos/Place.ts +95 -95
- package/src/address/dtos/Shipping.ts +36 -36
- package/src/address/dtos/Timezone.ts +9 -9
- package/src/address/dtos/ValidateAddressRequest.ts +5 -0
- package/src/address/dtos/ValidateAddressResponse.ts +7 -0
- package/src/address/dtos/ValidateAddressResult.ts +7 -0
- package/src/address/enums/AddressProvider.ts +10 -10
- package/src/address/enums/AddressStatus.ts +9 -9
- package/src/address/enums/LocationTypeEnum.ts +3 -3
- package/src/address/enums/ValidateAddressErrorCodeEnum.ts +14 -0
- package/src/address/enums/ValidateAddressStatusEnum.ts +10 -0
- package/src/address/index.ts +25 -21
- package/src/apiResponse/dtos/FiadoApiResponse.ts +7 -7
- package/src/app/enums/App.ts +10 -10
- package/src/app/index.ts +3 -3
- package/src/appSelectionData/dtos/AppSelectionDataCreateRequest.ts +27 -27
- package/src/appSelectionData/index.ts +4 -4
- package/src/auth/dtos/ChallengeBackofficeRequest.ts +22 -22
- package/src/auth/dtos/ResetPasswordBackofficeRequest.ts +9 -9
- package/src/auth/dtos/SignInBackofficeRequest.ts +13 -13
- package/src/auth/dtos/SignInBackofficeResponse.ts +6 -6
- package/src/auth/dtos/SignUpBackofficeRequest.ts +18 -18
- package/src/auth/index.ts +7 -7
- package/src/authentication/dtos/ChangePasswordRequest.ts +16 -16
- package/src/authentication/dtos/RefreshTokenRequest.ts +12 -12
- package/src/authentication/dtos/RespondToAuthChallengeRequest.ts +24 -24
- package/src/authentication/dtos/SignInRequest.ts +30 -30
- package/src/authentication/dtos/SignUpAdditionalRequest.ts +32 -32
- package/src/authentication/dtos/SignUpAdditionalResponse.ts +5 -5
- package/src/authentication/dtos/SignUpRequest.ts +21 -21
- package/src/authentication/dtos/UserConfirmRequest.ts +13 -13
- package/src/authentication/index.ts +14 -14
- package/src/bankAccount/dtos/CreateExternalBankAccountRequest.ts +14 -14
- package/src/bankAccount/dtos/CreateExternalBankAccountResponse.ts +6 -6
- package/src/bankAccount/dtos/ExternalAccountCurrency.ts +3 -3
- package/src/bankAccount/dtos/GetExternalBankAccountRequest.ts +11 -11
- package/src/bankAccount/dtos/GetExternalBankAccountResponse.ts +17 -17
- package/src/bankAccount/dtos/GetExternalBankResponse.ts +13 -13
- package/src/bankAccount/enums/ExternalAccountOwnershipEnum.ts +3 -3
- package/src/bankAccount/enums/ExternalAccountStatusEnum.ts +6 -6
- package/src/bankAccount/enums/ExternalAccountTypeEnum.ts +5 -5
- package/src/bankAccount/index.ts +9 -9
- package/src/bbvaRst/dtos/CreateRSTTransactionRequest.ts +14 -14
- package/src/bbvaRst/dtos/CreateRSTTransactionResponse.ts +9 -9
- package/src/bbvaRst/enums/RSTStatusEnum.ts +4 -4
- package/src/bbvaRst/index.ts +2 -2
- package/src/beneficiary/dtos/AccountBeneficiaryCreateRequest.ts +56 -56
- package/src/beneficiary/dtos/AccountBeneficiaryResponse.ts +26 -26
- package/src/beneficiary/dtos/AccountBeneficiaryUpdateRequest.ts +42 -42
- package/src/beneficiary/enums/AccountType.ts +6 -6
- package/src/beneficiary/index.ts +7 -7
- package/src/blacklist/dtos/CreateBlockedPersonRequest.ts +32 -32
- package/src/blacklist/dtos/GetBlockedPersonsResponse.ts +84 -84
- package/src/blacklist/dtos/UpdateBlockedPersonRequest.ts +42 -42
- package/src/blacklist/enums/IdentificationParameter.ts +5 -5
- package/src/blacklist/index.ts +7 -7
- package/src/card/dtos/AccountCancelGetResponse.ts +25 -25
- package/src/card/dtos/AccountIssuanceStepConfig.ts +13 -13
- package/src/card/dtos/CardActivateRequest.ts +22 -22
- package/src/card/dtos/CardAdditionalRequest.ts +25 -25
- package/src/card/dtos/CardAdditionalResponse.ts +14 -14
- package/src/card/dtos/CardApplicationRequest.ts +52 -52
- package/src/card/dtos/CardBalanceResponse.ts +10 -10
- package/src/card/dtos/CardCreateAdditionalRequest.ts +82 -82
- package/src/card/dtos/CardResponse.ts +34 -34
- package/src/card/dtos/CardSensitiveInformationResponse.ts +23 -23
- package/src/card/dtos/CardShipmentQueueMessage.ts +7 -7
- package/src/card/dtos/CardShipmentUpdateRequest.ts +19 -19
- package/src/card/dtos/CardSummaryResponse.ts +10 -10
- package/src/card/dtos/CardUpdateIssuanceRequest.ts +20 -20
- package/src/card/dtos/CardUpdateRequest.ts +23 -23
- package/src/card/dtos/Internal/ActivateBankAccountCardRequest.ts +13 -13
- package/src/card/dtos/Internal/ActivateBankAccountCardResponse.ts +4 -4
- package/src/card/dtos/Internal/AssignCardRequest.ts +8 -8
- package/src/card/dtos/Internal/BatchBeneficiary.ts +6 -6
- package/src/card/dtos/Internal/BatchCardAttributes.ts +9 -9
- package/src/card/dtos/Internal/BatchCardInitialLoad.ts +3 -3
- package/src/card/dtos/Internal/BatchPointOfContact.ts +4 -4
- package/src/card/dtos/Internal/BatchShippingAddress.ts +7 -7
- package/src/card/dtos/Internal/CardBatchRequest.ts +13 -13
- package/src/card/dtos/Internal/CardBatchResponse.ts +19 -19
- package/src/card/dtos/Internal/CardIssuanceObservationUpdateRequest.ts +14 -14
- package/src/card/dtos/Internal/CardStatementListResponse.ts +6 -6
- package/src/card/dtos/Internal/CreateBankAccountCardRequest.ts +16 -16
- package/src/card/dtos/Internal/CreateBankAccountCardResponse.ts +8 -8
- package/src/card/dtos/Internal/CreateBankAccountCardShippingRequest.ts +19 -19
- package/src/card/dtos/Internal/CreateBankAccountCardShippingResponse.ts +14 -14
- package/src/card/dtos/Internal/GetBankAccountCardBalanceResponse.ts +12 -12
- package/src/card/dtos/Internal/GetBankAccountCardResponse.ts +34 -34
- package/src/card/dtos/Internal/GetBankAccountShippingRequest.ts +5 -5
- package/src/card/dtos/Internal/GetBankAccountShippingResponse.ts +19 -19
- package/src/card/dtos/Internal/ReplaceBankAccountCardRequest.ts +9 -9
- package/src/card/dtos/Internal/ReplaceBankAccountCardResponse.ts +3 -3
- package/src/card/dtos/Internal/StatementDocumentResponse.ts +2 -2
- package/src/card/dtos/Internal/UpdateBankAccountCardRequest.ts +24 -24
- package/src/card/dtos/Internal/UpdateBankAccountCardResponse.ts +7 -7
- package/src/card/enums/AccountCancellationStatus.ts +7 -7
- package/src/card/enums/Brand.ts +7 -7
- package/src/card/enums/CardIssuanceStatus.ts +5 -5
- package/src/card/enums/CardIssuing.ts +6 -6
- package/src/card/enums/CardReasonStatus.ts +8 -8
- package/src/card/enums/CardType.ts +4 -4
- package/src/card/enums/CardUpdateKey.ts +4 -4
- package/src/card/enums/CreditOrDebit.ts +5 -5
- package/src/card/enums/DeliveryChannel.ts +7 -7
- package/src/card/enums/ExternalShippingStatus.ts +59 -59
- package/src/card/enums/ExternalShippingStatusDetails.ts +53 -53
- package/src/card/enums/IssuanceType.ts +5 -5
- package/src/card/enums/NominatedOrInnominated.ts +8 -8
- package/src/card/enums/OwnershipType.ts +3 -3
- package/src/card/enums/Program.ts +6 -6
- package/src/card/enums/ReplaceBankAccountCardReasonEnum.ts +7 -7
- package/src/card/enums/ShippingStatus.ts +8 -8
- package/src/card/enums/Status.ts +6 -6
- package/src/card/enums/UpdateKey.ts +5 -5
- package/src/card/enums/VirtualOrPhysical.ts +6 -6
- package/src/card/enums/issuance/IssuanceFlow.ts +8 -8
- package/src/card/enums/issuance/KycStatus.ts +13 -13
- package/src/card/enums/issuance/ObservationStatus.ts +6 -6
- package/src/card/enums/issuance/ObservationStep.ts +22 -22
- package/src/card/enums/issuance/UserStatus.ts +7 -7
- package/src/card/index.ts +75 -75
- package/src/card/validations/CardUpdateKeyConstraint.ts +71 -71
- package/src/card/validations/IsPhoneNumberConstraint.ts +29 -29
- package/src/centralPayments/dtos/GetMerchantLocationsQueryParams.ts +12 -12
- package/src/centralPayments/dtos/GetMerchantLocationsResponse.ts +6 -6
- package/src/centralPayments/dtos/HealthcheckResponse.ts +8 -8
- package/src/centralPayments/dtos/MerchantLocation.ts +25 -25
- package/src/centralPayments/dtos/OOWAnswer.ts +3 -3
- package/src/centralPayments/dtos/OOWQuestionsResponse.ts +6 -6
- package/src/centralPayments/dtos/SubmitOOWQuestionAnswersRequest.ts +3 -3
- package/src/centralPayments/enums/MerchantLocationDistanceUnitEnum.ts +4 -4
- package/src/centralPayments/enums/ServiceStatusEnum.ts +4 -4
- package/src/centralPayments/index.ts +11 -11
- package/src/cognitoConnector/dtos/ChangePasswordRequest.ts +20 -20
- package/src/cognitoConnector/dtos/GetUserRequest.ts +12 -12
- package/src/cognitoConnector/dtos/GetUserResponse.ts +9 -9
- package/src/cognitoConnector/dtos/RefreshTokenRequest.ts +14 -14
- package/src/cognitoConnector/dtos/RefreshTokenResponse.ts +6 -6
- package/src/cognitoConnector/dtos/RespondToAuthChallengeRequest.ts +25 -25
- package/src/cognitoConnector/dtos/SetPasswordRequest.ts +19 -19
- package/src/cognitoConnector/dtos/SignInRequest.ts +20 -20
- package/src/cognitoConnector/dtos/SignInResponse.ts +11 -11
- package/src/cognitoConnector/dtos/SignUpConfirmRequest.ts +17 -17
- package/src/cognitoConnector/dtos/SignUpRequest.ts +22 -22
- package/src/cognitoConnector/dtos/SignUpResponse.ts +8 -8
- package/src/cognitoConnector/enums/SyncStatus.ts +6 -6
- package/src/cognitoConnector/index.ts +24 -24
- package/src/collector/dtos/CollectionOrderBusiness.ts +119 -119
- package/src/collector/dtos/CollectionOrderExecution.ts +18 -18
- package/src/collector/dtos/CollectionOrderItem.ts +70 -70
- package/src/collector/dtos/CollectorTransactionResponse.ts +12 -12
- package/src/collector/dtos/CollectorTransactionUpdateRequest.ts +6 -6
- package/src/collector/dtos/CreateCollectionOrderRequest.ts +17 -17
- package/src/collector/dtos/CreditContractResponse.ts +11 -11
- package/src/collector/dtos/CreditContractUpdateRequest.ts +14 -14
- package/src/collector/dtos/GetLastExchangeRateOutput.ts +6 -6
- package/src/collector/dtos/OrderCollectorExecutionRequest.ts +17 -17
- package/src/collector/enums/CollectionOrderExecutionStatus.ts +13 -13
- package/src/collector/enums/CollectionType.ts +5 -5
- package/src/collector/enums/CollectorOrderStatus.ts +22 -22
- package/src/collector/index.ts +12 -12
- package/src/company/enums/Company.ts +7 -7
- package/src/company/index.ts +6 -6
- package/src/contactInfo/dtos/ContactInfoBackOfficeResponse.ts +9 -9
- package/src/contactInfo/dtos/ContactInfoCreateBackOfficeRequest.ts +10 -10
- package/src/contactInfo/dtos/ContactInfoCreateRequest.ts +2 -2
- package/src/contactInfo/dtos/ContactInfoRequest.ts +29 -29
- package/src/contactInfo/dtos/ContactInfoResponse.ts +30 -30
- package/src/contactInfo/dtos/ContactInfoUpdateBackOfficeRequest.ts +15 -15
- package/src/contactInfo/dtos/ContactInfoUpdateRequest.ts +4 -4
- package/src/contactInfo/enums/TypeOfContactIdEnum.ts +3 -3
- package/src/contactInfo/index.ts +7 -7
- package/src/contract/dtos/ContractCreateRequest.ts +29 -29
- package/src/contract/dtos/ContractCreateResponse.ts +2 -2
- package/src/contract/index.ts +4 -4
- package/src/country/dtos/CreateCountryRequest.ts +65 -65
- package/src/country/dtos/UpdateCountryRequest.ts +65 -65
- package/src/country/enums/CountriesISO3.ts +220 -220
- package/src/country/enums/Country.ts +6 -6
- package/src/country/enums/CountryISO2ToISO3.ts +69 -69
- package/src/country/enums/CountryISO3ToISO2.ts +61 -61
- package/src/country/enums/CountryId.ts +6 -6
- package/src/country/index.ts +13 -13
- package/src/country/utilities/CountryCodeConverter.ts +13 -13
- package/src/creditContract/dtos/CreditContractCreateRequest.ts +66 -66
- package/src/creditContract/enums/InstrumentEnum.ts +5 -5
- package/src/creditContract/index.ts +5 -5
- package/src/currency/dtos/CurrencyResponse.ts +8 -8
- package/src/currency/index.ts +2 -2
- package/src/device/dtos/RegisterDeviceRequest.ts +20 -20
- package/src/device/dtos/ReplaceDeviceRequest.ts +23 -23
- package/src/device/enums/DeviceStatusEnum.ts +4 -4
- package/src/device/enums/DeviceTypeEnum.ts +4 -4
- package/src/device/index.ts +7 -7
- package/src/directory/dtos/DirectoryBackoffice.ts +16 -16
- package/src/directory/dtos/DirectoryBackofficeCreateRequest.ts +22 -22
- package/src/directory/dtos/DirectoryBackofficeResponse.ts +17 -17
- package/src/directory/dtos/DirectoryBackofficeUpdateRequest.ts +34 -34
- package/src/directory/dtos/DirectoryResponse.ts +19 -19
- package/src/directory/dtos/External.ts +6 -6
- package/src/directory/enums/DirectoryBackofficeStatusEnum.ts +4 -4
- package/src/directory/enums/Profile.ts +6 -6
- package/src/directory/enums/Scope.ts +7 -7
- package/src/directory/enums/Status.ts +9 -9
- package/src/directory/enums/TypeOfDirectoryId.ts +6 -6
- package/src/directory/index.ts +13 -13
- package/src/eventBridge/dto/EventBridgeMessageRequest.ts +4 -4
- package/src/eventBridge/index.ts +1 -1
- package/src/exchangeRate/dtos/ExchangeRateCreateRequest.ts +50 -50
- package/src/exchangeRate/dtos/ExchangeRateCreateResponse.ts +4 -4
- package/src/exchangeRate/dtos/ExchangeRateResponse.ts +19 -19
- package/src/exchangeRate/dtos/GetExchangeRatesRequest.ts +3 -3
- package/src/exchangeRate/enums/ExchangeRateStatus.ts +5 -5
- package/src/exchangeRate/index.ts +9 -9
- package/src/fraudPreventionEngine/dtos/CreateAccountLevelRequest.ts +9 -9
- package/src/fraudPreventionEngine/dtos/GetAccountLevelParams.ts +5 -5
- package/src/fraudPreventionEngine/dtos/GetAccountLevelResponse.ts +7 -7
- package/src/fraudPreventionEngine/enums/AccountLevelTenantEnum.ts +5 -5
- package/src/fraudPreventionEngine/index.ts +5 -5
- package/src/genericMessage/dto/GenericMessageRequest.ts +17 -17
- package/src/genericMessage/enums/GenericMessageSourceEnum.ts +3 -3
- package/src/genericMessage/index.ts +1 -1
- package/src/group/dtos/GroupAddDirectoryRequest.ts +27 -27
- package/src/group/dtos/GroupCreateRequest.ts +54 -54
- package/src/group/dtos/GroupDirectoryRelationsResponse.ts +20 -20
- package/src/group/dtos/GroupDirectoryRelationsUpdateRequest.ts +10 -10
- package/src/group/dtos/GroupResponse.ts +17 -17
- package/src/group/dtos/GroupUpdateRequest.ts +31 -31
- package/src/group/enums/GroupAction.ts +8 -8
- package/src/group/enums/GroupStatus.ts +6 -6
- package/src/group/enums/RelationStatus.ts +8 -8
- package/src/group/enums/RelationType.ts +9 -9
- package/src/group/index.ts +18 -18
- package/src/header/TokenPayload.ts +18 -18
- package/src/header/index.ts +3 -3
- package/src/helpdesk/dtos/HelpdeskCreateTicketRequest.ts +30 -30
- package/src/helpdesk/dtos/HelpdeskCreateUserRequest.ts +39 -39
- package/src/helpdesk/index.ts +1 -1
- package/src/helpers/ValidationUtils.ts +32 -32
- package/src/helpers/constans/regex.ts +12 -12
- package/src/identity/dtos/IdentificationDocument.ts +23 -23
- package/src/identity/dtos/PeopleCreateRequest.ts +28 -28
- package/src/identity/dtos/PeopleResponse.ts +106 -106
- package/src/identity/dtos/PeopleUpdateRequest.ts +100 -100
- package/src/identity/dtos/TypeOfDocument.ts +11 -11
- package/src/identity/dtos/UploadDocumentFile.ts +6 -6
- package/src/identity/dtos/UploadDocumentRequest.ts +9 -9
- package/src/identity/enums/AccountRequirementStatusEnum.ts +4 -4
- package/src/identity/enums/AuthorizationNeededMXNStatus.ts +11 -11
- package/src/identity/enums/CPStatusEnum.ts +12 -12
- package/src/identity/enums/DocumentSideEnum.ts +3 -3
- package/src/identity/enums/IdentificationDocumentStatus.ts +7 -7
- package/src/identity/enums/InfoSelfVerifiedStatus.ts +9 -9
- package/src/identity/enums/SexDocument.ts +6 -6
- package/src/identity/enums/TypeOfDocument.ts +5 -5
- package/src/identity/index.ts +19 -19
- package/src/index.ts +51 -51
- package/src/invoice-collector/dto/InvoiceCollectorMessageQueue.ts +7 -7
- package/src/issuanceBusiness/dtos/BaseIssuanceRequirement.ts +195 -195
- package/src/issuanceBusiness/dtos/IssuanceRequirementCreateRequest.ts +13 -13
- package/src/issuanceBusiness/dtos/IssuanceRequirementResponse.ts +13 -13
- package/src/issuanceBusiness/dtos/IssuanceRequirementUpdateRequest.ts +5 -5
- package/src/issuanceBusiness/enums/IssuanceStatus.ts +7 -7
- package/src/issuanceBusiness/index.ts +8 -8
- package/src/legal-documents-business/dtos/DirectoryAcceptanceRequest.ts +6 -6
- package/src/legal-documents-business/dtos/LegalDocumentCreateRequest.ts +31 -31
- package/src/legal-documents-business/dtos/LegalDocumentResponse.ts +13 -13
- package/src/legal-documents-business/dtos/UpdateLegalDocumentRequest.ts +42 -42
- package/src/legal-documents-business/index.ts +6 -6
- package/src/notificationMessages/dtos/NotificationQueueMessageRequest.ts +7 -7
- package/src/notificationMessages/dtos/QueueMessageDestination.ts +6 -6
- package/src/notificationMessages/dtos/QueueMessageVariableValues.ts +3 -3
- package/src/notificationMessages/enums/NotificationId.ts +13 -13
- package/src/notificationMessages/index.ts +5 -5
- package/src/observations/dtos/ObservationCreateRequest.ts +19 -19
- package/src/observations/index.ts +2 -2
- package/src/p2pContact/dtos/CreateP2pContactRequest.ts +10 -10
- package/src/pricelist/dtos/DiscountCreateRequest.ts +40 -40
- package/src/pricelist/dtos/DiscountResponse.ts +16 -16
- package/src/pricelist/dtos/GetDiscountByServiceIdAndDirectoriesResponse.ts +31 -31
- package/src/pricelist/dtos/GetDiscountListResponse.ts +5 -5
- package/src/pricelist/dtos/GetPricelistListResponse.ts +5 -5
- package/src/pricelist/dtos/PricelistCreateRequest.ts +19 -19
- package/src/pricelist/dtos/PricelistResponse.ts +9 -9
- package/src/pricelist/enums/DiscountTypeEnum.ts +3 -3
- package/src/pricelist/index.ts +11 -11
- package/src/productCatalog/dtos/CreateProductCatalogRequest.ts +14 -14
- package/src/productCatalog/dtos/GetProductCatalogResponse.ts +38 -38
- package/src/productCatalog/enums/CPProductSubtypeEnum.ts +54 -54
- package/src/productCatalog/enums/ProductSubtypeEnum.ts +67 -67
- package/src/productCatalog/enums/ProductTaxFeeTypeEnum.ts +3 -3
- package/src/productCatalog/enums/ProductTypeEnum.ts +9 -9
- package/src/productCatalog/index.ts +6 -6
- package/src/provider/dtos/ProviderDocumentImages.ts +6 -6
- package/src/provider/dtos/ProviderDocumentUploadRequest.ts +6 -6
- package/src/provider/dtos/ProviderDocumentUploadResponse.ts +11 -11
- package/src/provider/dtos/UploadDocumentStatusDetail.ts +10 -10
- package/src/provider/enums/Provider.ts +7 -7
- package/src/provider/enums/ProviderCode.ts +7 -7
- package/src/provider/enums/UploadDocumentStatusEnum.ts +3 -3
- package/src/provider/index.ts +9 -9
- package/src/queue/dtos/QueueMessageBase.ts +13 -13
- package/src/riskProfile/dtos/AlarmCategory.ts +2 -2
- package/src/riskProfile/dtos/AnswerQuestionnaireQuestionRequest.ts +5 -5
- package/src/riskProfile/dtos/CreateBackofficeAlarm.ts +14 -14
- package/src/riskProfile/dtos/CreatePrivateAlarm.ts +38 -38
- package/src/riskProfile/dtos/CreateRiskProfileRequest.ts +45 -45
- package/src/riskProfile/dtos/GetUserQuestionnaireResponse.ts +12 -12
- package/src/riskProfile/dtos/TransactionAlarmQueueMessage.ts +48 -48
- package/src/riskProfile/dtos/TransactionAlertResponse.ts +50 -50
- package/src/riskProfile/dtos/UpdateAlarmProfileRequest.ts +9 -9
- package/src/riskProfile/dtos/UpdateFactorInfo.ts +5 -5
- package/src/riskProfile/dtos/UpdateRiskProfileRequest.ts +5 -5
- package/src/riskProfile/dtos/UpdateTransactionAlertRequest.ts +42 -42
- package/src/riskProfile/dtos/UserQuestionnaireQuestion.ts +8 -8
- package/src/riskProfile/enums/AlarmCategory.ts +11 -11
- package/src/riskProfile/enums/AlarmName.ts +21 -21
- package/src/riskProfile/enums/AlarmOperationType.ts +10 -10
- package/src/riskProfile/enums/AlarmPriority.ts +7 -7
- package/src/riskProfile/enums/AlarmType.ts +7 -7
- package/src/riskProfile/enums/PepLevelEnum.ts +6 -6
- package/src/riskProfile/enums/RiskFactorCategoryEnum.ts +14 -14
- package/src/riskProfile/enums/UserQuestionnaireQuestionAnswerEnum.ts +3 -3
- package/src/riskProfile/enums/UserQuestionnaireQuestionStatusEnum.ts +3 -3
- package/src/riskProfile/enums/UserQuestionnaireStatusEnum.ts +3 -3
- package/src/riskProfile/index.ts +24 -24
- package/src/role/dtos/PermissionCreateRequest.ts +32 -32
- package/src/role/dtos/PermissionResponse.ts +13 -13
- package/src/role/dtos/PermissionUpdateRequest.ts +40 -40
- package/src/role/dtos/RoleAssignRequest.ts +14 -14
- package/src/role/dtos/RoleCreateRequest.ts +18 -18
- package/src/role/dtos/RoleResponse.ts +9 -9
- package/src/role/dtos/RoleUpdateRequest.ts +22 -22
- package/src/role/dtos/UserRoleResponse.ts +9 -9
- package/src/role/index.ts +9 -9
- package/src/servicePayment/dtos/GetCatalogParams.ts +5 -5
- package/src/servicePayment/dtos/ServicePaymentRequest.ts +33 -33
- package/src/servicePayment/index.ts +1 -1
- package/src/services/dtos/CreateServiceRequest.ts +50 -50
- package/src/services/dtos/GetServiceListAppResponse.ts +5 -5
- package/src/services/dtos/GetServiceListResponse.ts +6 -6
- package/src/services/dtos/GetServiceMembershipListAppResponse.ts +4 -4
- package/src/services/dtos/GetServiceMembershipListResponse.ts +5 -5
- package/src/services/dtos/RegisterServiceMembershipRequest.ts +19 -19
- package/src/services/dtos/ServiceMembershipResponse.ts +16 -16
- package/src/services/dtos/ServiceResponse.ts +23 -23
- package/src/services/dtos/UpdateMultipleServiceMembershipStatusRequest.ts +13 -13
- package/src/services/dtos/UpdateServiceMembershipRequest.ts +25 -25
- package/src/services/dtos/UpdateServiceRequest.ts +49 -49
- package/src/services/enums/ServiceCompanyEnum.ts +4 -4
- package/src/services/enums/ServiceFlowEnum.ts +3 -3
- package/src/services/enums/ServiceMembershipStatusEnum.ts +8 -8
- package/src/services/enums/ServiceRecurrenceEnum.ts +6 -6
- package/src/services/enums/ServiceStatusEnum.ts +4 -4
- package/src/services/enums/ServiceTypeEnum.ts +3 -3
- package/src/services/index.ts +24 -24
- package/src/sessionActivity/dtos/SessionActivityQueueMessageRequest.ts +14 -14
- package/src/sessionActivity/enums/SessionActivityActionEnum.ts +7 -7
- package/src/sessionActivity/enums/SessionActivityActionOriginEnum.ts +4 -4
- package/src/sessionActivity/index.ts +2 -2
- package/src/stpAccount/dtos/CreateAccountWebhookDetail.ts +5 -5
- package/src/stpSpei/dtos/GetBusinessAccountBalanceResponse.ts +4 -4
- package/src/stpSpei/dtos/PutStpOrderRequest.ts +19 -19
- package/src/stpSpei/dtos/SpeiWebhookMessage.ts +10 -10
- package/src/stpSpei/enums/ActividadesProductivasEnum.ts +47 -47
- package/src/stpSpei/enums/BusinessNameEnum.ts +3 -3
- package/src/stpSpei/enums/EntidadesFederativasEnum.ts +33 -33
- package/src/stpSpei/enums/PaisesEnum.ts +275 -275
- package/src/stpSpei/enums/WebhookMessageStatusEnum.ts +7 -7
- package/src/stpSpei/index.ts +9 -9
- package/src/transaction/dtos/ActivityProblemGetResponse.ts +22 -22
- package/src/transaction/dtos/Credit.ts +24 -24
- package/src/transaction/dtos/Debit.ts +20 -20
- package/src/transaction/dtos/Notional.ts +20 -20
- package/src/transaction/dtos/Product.ts +26 -26
- package/src/transaction/dtos/ProductDetail.ts +51 -51
- package/src/transaction/dtos/Total.ts +20 -20
- package/src/transaction/dtos/TransactionCreateRequest.ts +143 -143
- package/src/transaction/dtos/TransactionCreateResponse.ts +4 -4
- package/src/transaction/dtos/TransactionGetDetailResponse.ts +28 -28
- package/src/transaction/dtos/TransactionGetResponse.ts +22 -22
- package/src/transaction/dtos/internal/BaseProviderTransaction.ts +20 -20
- package/src/transaction/dtos/internal/BaseProviderTransactionQueryParams.ts +6 -6
- package/src/transaction/dtos/internal/CentralPaymentsQueryParams.ts +6 -6
- package/src/transaction/dtos/internal/CentralPaymentsTransactionItem.ts +37 -37
- package/src/transaction/dtos/internal/ProviderTransactionCompletionRequest.ts +3 -3
- package/src/transaction/dtos/internal/ProviderTransactionCompletionResponse.ts +4 -4
- package/src/transaction/dtos/internal/ProviderTransactionMerchant.ts +10 -10
- package/src/transaction/dtos/internal/ProviderTransactionPagination.ts +5 -5
- package/src/transaction/dtos/internal/ProviderTransactionReversalRequest.ts +3 -3
- package/src/transaction/dtos/internal/ProviderTransactionReversalResponse.ts +5 -5
- package/src/transaction/dtos/internal/TernQueryParams.ts +13 -13
- package/src/transaction/dtos/internal/TernTransactionItem.ts +23 -23
- package/src/transaction/dtos/internal/TransactionListResponse.ts +5 -5
- package/src/transaction/enums/ActivityProblemStatusEnum.ts +4 -4
- package/src/transaction/enums/DisputeOrFraudEnum.ts +3 -3
- package/src/transaction/enums/DisputeOrFraudStatusEnum.ts +4 -4
- package/src/transaction/enums/OperationEnum.ts +3 -3
- package/src/transaction/enums/TransactionSourceEnum.ts +7 -7
- package/src/transaction/enums/TransactionStatusEnum.ts +11 -11
- package/src/transaction/index.ts +35 -35
- package/src/transactionProcessor/dtos/AmountInfo.ts +6 -6
- package/src/transactionProcessor/dtos/AmountInfoItem.ts +3 -3
- package/src/transactionProcessor/dtos/AuthorizeAdjustmentTransactionRequest.ts +14 -14
- package/src/transactionProcessor/dtos/AuthorizeCollectorOrderRequest.ts +27 -27
- package/src/transactionProcessor/dtos/AuthorizeCollectorOrderResponse.ts +18 -18
- package/src/transactionProcessor/dtos/AuthorizeCollectorTransactionRequest.ts +9 -9
- package/src/transactionProcessor/dtos/AuthorizeCreditCardAdjustmentRequest.ts +19 -19
- package/src/transactionProcessor/dtos/AuthorizeCreditCardPurchaseRequest.ts +16 -16
- package/src/transactionProcessor/dtos/AuthorizeDisputeTransactionRequest.ts +13 -13
- package/src/transactionProcessor/dtos/AuthorizeMCSendTransactionRequest.ts +10 -10
- package/src/transactionProcessor/dtos/AuthorizeP2pTransactionRequest.ts +11 -11
- package/src/transactionProcessor/dtos/AuthorizePocketTransactionRequest.ts +8 -8
- package/src/transactionProcessor/dtos/AuthorizeRstTransactionRequest.ts +4 -4
- package/src/transactionProcessor/dtos/AuthorizeServicePaymentRequest.ts +7 -7
- package/src/transactionProcessor/dtos/AuthorizeSpeiBankTransferNcRequest.ts +14 -14
- package/src/transactionProcessor/dtos/AuthorizeSpeiBankTransferRequest.ts +7 -7
- package/src/transactionProcessor/dtos/AuthorizeSpeiMexBankTransferInRequest.ts +37 -37
- package/src/transactionProcessor/dtos/AuthorizeUsdAchTransactionRequest.ts +6 -6
- package/src/transactionProcessor/dtos/BankInfo.ts +9 -9
- package/src/transactionProcessor/dtos/CardInfo.ts +5 -5
- package/src/transactionProcessor/dtos/ChargebackTransactionItem.ts +11 -11
- package/src/transactionProcessor/dtos/CreditContractInfo.ts +6 -6
- package/src/transactionProcessor/dtos/EventTransactionInfo.ts +23 -23
- package/src/transactionProcessor/dtos/EventTransactionRequest.ts +19 -19
- package/src/transactionProcessor/dtos/InstallmentsInfo.ts +6 -6
- package/src/transactionProcessor/dtos/MembershipTransactionItem.ts +10 -10
- package/src/transactionProcessor/dtos/MerchantInfo.ts +6 -6
- package/src/transactionProcessor/dtos/ProcessUpdateLevelRequest.ts +3 -3
- package/src/transactionProcessor/dtos/ProviderProcessChargebackTransactionRequest.ts +4 -4
- package/src/transactionProcessor/dtos/ProviderProcessChargebackTransactionResponse.ts +4 -4
- package/src/transactionProcessor/dtos/ProviderProcessMembershipTransactionRequest.ts +4 -4
- package/src/transactionProcessor/dtos/ProviderProcessMembershipTransactionResponse.ts +4 -4
- package/src/transactionProcessor/dtos/RSTTransactionStatusUpdate.ts +6 -6
- package/src/transactionProcessor/dtos/SpeiBankTransferStatusUpdate.ts +6 -6
- package/src/transactionProcessor/dtos/TransactionInfo.ts +7 -7
- package/src/transactionProcessor/dtos/TransactionProcessorQueueMessage.ts +3 -3
- package/src/transactionProcessor/dtos/TransactionProcessorResponse.ts +13 -13
- package/src/transactionProcessor/enums/AppEnum.ts +3 -3
- package/src/transactionProcessor/enums/AsyncTxStatusEnum.ts +5 -5
- package/src/transactionProcessor/enums/CreditContractStatusEnum.ts +7 -7
- package/src/transactionProcessor/enums/EventChannelEnum.ts +12 -12
- package/src/transactionProcessor/enums/EventTypeEnum.ts +16 -16
- package/src/transactionProcessor/enums/TransactionInfoStatusEnum.ts +7 -7
- package/src/transactionProcessor/enums/TransactionProcessorCodesEnum.ts +20 -20
- package/src/transactionProcessor/index.ts +46 -46
- package/bin/bankAccount/dtos/ExternalAccountType.d.ts +0 -4
- package/bin/bankAccount/dtos/ExternalAccountType.js +0 -6
- package/bin/centralPayments/dtos/CentralPaymentsDocumentImages.d.ts +0 -6
- package/bin/centralPayments/dtos/CentralPaymentsDocumentImages.js +0 -6
- package/bin/centralPayments/dtos/CentralPaymentsDocumentUploadRequest.d.ts +0 -6
- package/bin/centralPayments/dtos/CentralPaymentsDocumentUploadRequest.js +0 -6
- package/bin/pricelist/dtos/GetPriceListDirectoriesResponse.d.ts +0 -28
- package/bin/pricelist/dtos/GetPriceListDirectoriesResponse.js +0 -6
- package/bin/services/dtos/GetMembershipListAppResponse.d.ts +0 -4
- package/bin/services/dtos/GetMembershipListAppResponse.js +0 -6
- package/bin/services/dtos/GetServiceMembershipListAResponse.d.ts +0 -4
- package/bin/services/dtos/GetServiceMembershipListAResponse.js +0 -6
- package/bin/services/enums/ServiceProviderEnum.d.ts +0 -5
- package/bin/services/enums/ServiceProviderEnum.js +0 -9
|
@@ -1,44 +1,44 @@
|
|
|
1
|
-
import {IsEnum, IsNumber, IsOptional, IsString, Matches} from "class-validator";
|
|
2
|
-
import {regexUuidV4} from "../../helpers/constans/regex";
|
|
3
|
-
import {AccountEntityStatusEnum} from "../enums/AccountEntityStatusEnum";
|
|
4
|
-
|
|
5
|
-
export default class AccountInfo {
|
|
6
|
-
@IsString()
|
|
7
|
-
@Matches(regexUuidV4,
|
|
8
|
-
{
|
|
9
|
-
message: 'directoryId must be a valid UUID v4',
|
|
10
|
-
})
|
|
11
|
-
id: string;
|
|
12
|
-
|
|
13
|
-
@IsString()
|
|
14
|
-
@Matches(regexUuidV4,
|
|
15
|
-
{
|
|
16
|
-
message: 'directoryId must be a valid UUID v4',
|
|
17
|
-
})
|
|
18
|
-
directoryId: string;
|
|
19
|
-
|
|
20
|
-
@IsString()
|
|
21
|
-
currencyId: string;
|
|
22
|
-
|
|
23
|
-
@IsNumber()
|
|
24
|
-
currentBalance: number;
|
|
25
|
-
|
|
26
|
-
@IsNumber()
|
|
27
|
-
availableBalance: number;
|
|
28
|
-
|
|
29
|
-
@IsNumber()
|
|
30
|
-
lockedBalance: number;
|
|
31
|
-
|
|
32
|
-
@IsString()
|
|
33
|
-
accountNumber: string;
|
|
34
|
-
|
|
35
|
-
@IsString()
|
|
36
|
-
routingNumber: string;
|
|
37
|
-
|
|
38
|
-
@IsEnum(AccountEntityStatusEnum)
|
|
39
|
-
status: AccountEntityStatusEnum;
|
|
40
|
-
|
|
41
|
-
@IsOptional()
|
|
42
|
-
@IsString()
|
|
43
|
-
externalAccountId?: string;
|
|
1
|
+
import {IsEnum, IsNumber, IsOptional, IsString, Matches} from "class-validator";
|
|
2
|
+
import {regexUuidV4} from "../../helpers/constans/regex";
|
|
3
|
+
import {AccountEntityStatusEnum} from "../enums/AccountEntityStatusEnum";
|
|
4
|
+
|
|
5
|
+
export default class AccountInfo {
|
|
6
|
+
@IsString()
|
|
7
|
+
@Matches(regexUuidV4,
|
|
8
|
+
{
|
|
9
|
+
message: 'directoryId must be a valid UUID v4',
|
|
10
|
+
})
|
|
11
|
+
id: string;
|
|
12
|
+
|
|
13
|
+
@IsString()
|
|
14
|
+
@Matches(regexUuidV4,
|
|
15
|
+
{
|
|
16
|
+
message: 'directoryId must be a valid UUID v4',
|
|
17
|
+
})
|
|
18
|
+
directoryId: string;
|
|
19
|
+
|
|
20
|
+
@IsString()
|
|
21
|
+
currencyId: string;
|
|
22
|
+
|
|
23
|
+
@IsNumber()
|
|
24
|
+
currentBalance: number;
|
|
25
|
+
|
|
26
|
+
@IsNumber()
|
|
27
|
+
availableBalance: number;
|
|
28
|
+
|
|
29
|
+
@IsNumber()
|
|
30
|
+
lockedBalance: number;
|
|
31
|
+
|
|
32
|
+
@IsString()
|
|
33
|
+
accountNumber: string;
|
|
34
|
+
|
|
35
|
+
@IsString()
|
|
36
|
+
routingNumber: string;
|
|
37
|
+
|
|
38
|
+
@IsEnum(AccountEntityStatusEnum)
|
|
39
|
+
status: AccountEntityStatusEnum;
|
|
40
|
+
|
|
41
|
+
@IsOptional()
|
|
42
|
+
@IsString()
|
|
43
|
+
externalAccountId?: string;
|
|
44
44
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {UpdateBalanceOperation} from "./UpdateBalanceOperation";
|
|
2
|
-
import {IsArray, IsOptional, IsString} from "class-validator";
|
|
3
|
-
|
|
4
|
-
export class AccountUpdateBalanceRequest {
|
|
5
|
-
@IsArray()
|
|
6
|
-
operations: UpdateBalanceOperation[];
|
|
7
|
-
|
|
8
|
-
// PARA IDENTIFICAR LA TRANSACCION DE COLLECTOR QUE ESTA REALIZANDO LA OPERACION
|
|
9
|
-
@IsOptional()
|
|
10
|
-
@IsString()
|
|
11
|
-
executionId?: string;
|
|
1
|
+
import {UpdateBalanceOperation} from "./UpdateBalanceOperation";
|
|
2
|
+
import {IsArray, IsOptional, IsString} from "class-validator";
|
|
3
|
+
|
|
4
|
+
export class AccountUpdateBalanceRequest {
|
|
5
|
+
@IsArray()
|
|
6
|
+
operations: UpdateBalanceOperation[];
|
|
7
|
+
|
|
8
|
+
// PARA IDENTIFICAR LA TRANSACCION DE COLLECTOR QUE ESTA REALIZANDO LA OPERACION
|
|
9
|
+
@IsOptional()
|
|
10
|
+
@IsString()
|
|
11
|
+
executionId?: string;
|
|
12
12
|
}
|
|
@@ -1,41 +1,41 @@
|
|
|
1
|
-
import { IsBoolean, IsEnum, IsOptional, IsString } from "class-validator";
|
|
2
|
-
import { AccountEntityStatusEnum } from "../enums/AccountEntityStatusEnum";
|
|
3
|
-
import { AccountLevelEnum } from "../enums/AccountLevelEnum";
|
|
4
|
-
import {Provider} from "../../provider";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
export class AccountUpdateRequest {
|
|
9
|
-
|
|
10
|
-
@IsOptional()
|
|
11
|
-
@IsEnum(AccountEntityStatusEnum)
|
|
12
|
-
status?: AccountEntityStatusEnum;
|
|
13
|
-
|
|
14
|
-
@IsOptional()
|
|
15
|
-
@IsEnum(AccountLevelEnum)
|
|
16
|
-
accountLevel?:AccountLevelEnum;
|
|
17
|
-
|
|
18
|
-
@IsOptional()
|
|
19
|
-
@IsString()
|
|
20
|
-
externalAccountId?: string;
|
|
21
|
-
|
|
22
|
-
@IsOptional()
|
|
23
|
-
@IsBoolean()
|
|
24
|
-
isPrincipal?: boolean;
|
|
25
|
-
|
|
26
|
-
@IsOptional()
|
|
27
|
-
@IsBoolean()
|
|
28
|
-
isHost?: boolean;
|
|
29
|
-
|
|
30
|
-
@IsOptional()
|
|
31
|
-
@IsString()
|
|
32
|
-
accountNumber?: string;
|
|
33
|
-
|
|
34
|
-
@IsOptional()
|
|
35
|
-
@IsString()
|
|
36
|
-
routingNumber?: string;
|
|
37
|
-
|
|
38
|
-
@IsEnum(Provider)
|
|
39
|
-
provider: Provider;
|
|
40
|
-
|
|
1
|
+
import { IsBoolean, IsEnum, IsOptional, IsString } from "class-validator";
|
|
2
|
+
import { AccountEntityStatusEnum } from "../enums/AccountEntityStatusEnum";
|
|
3
|
+
import { AccountLevelEnum } from "../enums/AccountLevelEnum";
|
|
4
|
+
import {Provider} from "../../provider";
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
export class AccountUpdateRequest {
|
|
9
|
+
|
|
10
|
+
@IsOptional()
|
|
11
|
+
@IsEnum(AccountEntityStatusEnum)
|
|
12
|
+
status?: AccountEntityStatusEnum;
|
|
13
|
+
|
|
14
|
+
@IsOptional()
|
|
15
|
+
@IsEnum(AccountLevelEnum)
|
|
16
|
+
accountLevel?:AccountLevelEnum;
|
|
17
|
+
|
|
18
|
+
@IsOptional()
|
|
19
|
+
@IsString()
|
|
20
|
+
externalAccountId?: string;
|
|
21
|
+
|
|
22
|
+
@IsOptional()
|
|
23
|
+
@IsBoolean()
|
|
24
|
+
isPrincipal?: boolean;
|
|
25
|
+
|
|
26
|
+
@IsOptional()
|
|
27
|
+
@IsBoolean()
|
|
28
|
+
isHost?: boolean;
|
|
29
|
+
|
|
30
|
+
@IsOptional()
|
|
31
|
+
@IsString()
|
|
32
|
+
accountNumber?: string;
|
|
33
|
+
|
|
34
|
+
@IsOptional()
|
|
35
|
+
@IsString()
|
|
36
|
+
routingNumber?: string;
|
|
37
|
+
|
|
38
|
+
@IsEnum(Provider)
|
|
39
|
+
provider: Provider;
|
|
40
|
+
|
|
41
41
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { AchTransferTypeEnum } from "../enums/AchTransferTypeEnum";
|
|
2
|
-
|
|
3
|
-
export class BankAccountAchTransferRequest {
|
|
4
|
-
transactionNumber!: string;
|
|
5
|
-
externalAccountId!: string;
|
|
6
|
-
externalUserId!: string;
|
|
7
|
-
externalBankAccountId!: string;
|
|
8
|
-
achTransferType!: AchTransferTypeEnum;
|
|
9
|
-
amount!: number;
|
|
10
|
-
feeAmount?: number;
|
|
11
|
-
concept?: string;
|
|
12
|
-
}
|
|
1
|
+
import { AchTransferTypeEnum } from "../enums/AchTransferTypeEnum";
|
|
2
|
+
|
|
3
|
+
export class BankAccountAchTransferRequest {
|
|
4
|
+
transactionNumber!: string;
|
|
5
|
+
externalAccountId!: string;
|
|
6
|
+
externalUserId!: string;
|
|
7
|
+
externalBankAccountId!: string;
|
|
8
|
+
achTransferType!: AchTransferTypeEnum;
|
|
9
|
+
amount!: number;
|
|
10
|
+
feeAmount?: number;
|
|
11
|
+
concept?: string;
|
|
12
|
+
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { BankInfo } from "../../transactionProcessor";
|
|
2
|
-
import { AchTransferStatusEnum } from "../enums/AchTransferStatusEnum";
|
|
3
|
-
|
|
4
|
-
export class BankAccountAchTransferResponse {
|
|
5
|
-
transactionId!: string;
|
|
6
|
-
feeTransactionId?: string;
|
|
7
|
-
bankInfo!: BankInfo;
|
|
8
|
-
transferType!: string;
|
|
9
|
-
status: AchTransferStatusEnum;
|
|
10
|
-
trackingNumber?: string;
|
|
11
|
-
amount!: number;
|
|
1
|
+
import { BankInfo } from "../../transactionProcessor";
|
|
2
|
+
import { AchTransferStatusEnum } from "../enums/AchTransferStatusEnum";
|
|
3
|
+
|
|
4
|
+
export class BankAccountAchTransferResponse {
|
|
5
|
+
transactionId!: string;
|
|
6
|
+
feeTransactionId?: string;
|
|
7
|
+
bankInfo!: BankInfo;
|
|
8
|
+
transferType!: string;
|
|
9
|
+
status: AchTransferStatusEnum;
|
|
10
|
+
trackingNumber?: string;
|
|
11
|
+
amount!: number;
|
|
12
12
|
}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
export class BankAccountExternalAddress {
|
|
2
|
-
// TERN
|
|
3
|
-
address1?: string;
|
|
4
|
-
address2?: string;
|
|
5
|
-
province?: string;
|
|
6
|
-
postalCode?: string;
|
|
7
|
-
// POMELO
|
|
8
|
-
streetName?: string;
|
|
9
|
-
streetNumber?: string;
|
|
10
|
-
apartment?: string;
|
|
11
|
-
region?: string;
|
|
12
|
-
zipCode?: string;
|
|
13
|
-
neighborhood?: string;
|
|
14
|
-
additionalInfo?: string;
|
|
15
|
-
// COMMON PARAMETERS
|
|
16
|
-
city?: string;
|
|
17
|
-
country?: string;
|
|
1
|
+
export class BankAccountExternalAddress {
|
|
2
|
+
// TERN
|
|
3
|
+
address1?: string;
|
|
4
|
+
address2?: string;
|
|
5
|
+
province?: string;
|
|
6
|
+
postalCode?: string;
|
|
7
|
+
// POMELO
|
|
8
|
+
streetName?: string;
|
|
9
|
+
streetNumber?: string;
|
|
10
|
+
apartment?: string;
|
|
11
|
+
region?: string;
|
|
12
|
+
zipCode?: string;
|
|
13
|
+
neighborhood?: string;
|
|
14
|
+
additionalInfo?: string;
|
|
15
|
+
// COMMON PARAMETERS
|
|
16
|
+
city?: string;
|
|
17
|
+
country?: string;
|
|
18
18
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export class BankAccountMCSendTransferRequest {
|
|
2
|
-
transactionNumber!: string;
|
|
3
|
-
amount!: number;
|
|
4
|
-
beneficiaryEmail!: string;
|
|
5
|
-
beneficiaryPhoneNumber!: string;
|
|
6
|
-
beneficiaryName?: string;
|
|
7
|
-
beneficiaryLastName?: string;
|
|
8
|
-
concept?: string;
|
|
9
|
-
externalAccountId?: string;
|
|
10
|
-
}
|
|
1
|
+
export class BankAccountMCSendTransferRequest {
|
|
2
|
+
transactionNumber!: string;
|
|
3
|
+
amount!: number;
|
|
4
|
+
beneficiaryEmail!: string;
|
|
5
|
+
beneficiaryPhoneNumber!: string;
|
|
6
|
+
beneficiaryName?: string;
|
|
7
|
+
beneficiaryLastName?: string;
|
|
8
|
+
concept?: string;
|
|
9
|
+
externalAccountId?: string;
|
|
10
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { TransactionStatusEnum } from "../../transaction";
|
|
2
|
-
|
|
3
|
-
export class BankAccountMCSendTransferResponse {
|
|
4
|
-
externalTransactionId!: string;
|
|
5
|
-
transactionStatus!: TransactionStatusEnum;
|
|
6
|
-
transactionNumber!: string;
|
|
7
|
-
}
|
|
1
|
+
import { TransactionStatusEnum } from "../../transaction";
|
|
2
|
+
|
|
3
|
+
export class BankAccountMCSendTransferResponse {
|
|
4
|
+
externalTransactionId!: string;
|
|
5
|
+
transactionStatus!: TransactionStatusEnum;
|
|
6
|
+
transactionNumber!: string;
|
|
7
|
+
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { BankAccountP2pTransferType } from "../enums/BankAccountP2pTransferType";
|
|
2
|
-
|
|
3
|
-
export class BankAccountP2pTransferRequest {
|
|
4
|
-
transfer_type: BankAccountP2pTransferType;
|
|
5
|
-
from_account_id: string;
|
|
6
|
-
from_description?: string;
|
|
7
|
-
to_account_id: string;
|
|
8
|
-
to_description?: string;
|
|
9
|
-
transactionNumber?: string;
|
|
10
|
-
amount: number;
|
|
1
|
+
import { BankAccountP2pTransferType } from "../enums/BankAccountP2pTransferType";
|
|
2
|
+
|
|
3
|
+
export class BankAccountP2pTransferRequest {
|
|
4
|
+
transfer_type: BankAccountP2pTransferType;
|
|
5
|
+
from_account_id: string;
|
|
6
|
+
from_description?: string;
|
|
7
|
+
to_account_id: string;
|
|
8
|
+
to_description?: string;
|
|
9
|
+
transactionNumber?: string;
|
|
10
|
+
amount: number;
|
|
11
11
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {BankAccountP2pTransferType} from "../enums/BankAccountP2pTransferType";
|
|
2
|
-
|
|
3
|
-
export class BankAccountP2pTransferResponse {
|
|
4
|
-
transfer_type: BankAccountP2pTransferType;
|
|
5
|
-
from_account_id: string;
|
|
6
|
-
to_account_id: string;
|
|
7
|
-
transactionNumber?: string;
|
|
8
|
-
sourceExternalTransactionId?: string;
|
|
9
|
-
targetExternalTransactionId?: string;
|
|
10
|
-
amount: number;
|
|
11
|
-
status: string;
|
|
1
|
+
import {BankAccountP2pTransferType} from "../enums/BankAccountP2pTransferType";
|
|
2
|
+
|
|
3
|
+
export class BankAccountP2pTransferResponse {
|
|
4
|
+
transfer_type: BankAccountP2pTransferType;
|
|
5
|
+
from_account_id: string;
|
|
6
|
+
to_account_id: string;
|
|
7
|
+
transactionNumber?: string;
|
|
8
|
+
sourceExternalTransactionId?: string;
|
|
9
|
+
targetExternalTransactionId?: string;
|
|
10
|
+
amount: number;
|
|
11
|
+
status: string;
|
|
12
12
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { OperationEnum } from "../../transaction";
|
|
2
|
-
import { PocketOperationTypeEnum } from "../enums/PocketOperationTypeEnum";
|
|
3
|
-
|
|
4
|
-
export class BankAccountPocketTransferRequest {
|
|
5
|
-
externalAccountId!: string;
|
|
6
|
-
amount!: number;
|
|
7
|
-
transactionNumber?: string;
|
|
8
|
-
operation: OperationEnum;
|
|
9
|
-
operationType: PocketOperationTypeEnum;
|
|
10
|
-
originalRelatedId?: string;
|
|
1
|
+
import { OperationEnum } from "../../transaction";
|
|
2
|
+
import { PocketOperationTypeEnum } from "../enums/PocketOperationTypeEnum";
|
|
3
|
+
|
|
4
|
+
export class BankAccountPocketTransferRequest {
|
|
5
|
+
externalAccountId!: string;
|
|
6
|
+
amount!: number;
|
|
7
|
+
transactionNumber?: string;
|
|
8
|
+
operation: OperationEnum;
|
|
9
|
+
operationType: PocketOperationTypeEnum;
|
|
10
|
+
originalRelatedId?: string;
|
|
11
11
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { OperationEnum } from "../../transaction";
|
|
2
|
-
|
|
3
|
-
export class BankAccountPocketTransferResponse {
|
|
4
|
-
externalAccountId!: string;
|
|
5
|
-
externalTransactionId!: string;
|
|
6
|
-
operation!: OperationEnum;
|
|
7
|
-
amount!: number;
|
|
8
|
-
status!: string;
|
|
9
|
-
preAuth?: boolean;
|
|
1
|
+
import { OperationEnum } from "../../transaction";
|
|
2
|
+
|
|
3
|
+
export class BankAccountPocketTransferResponse {
|
|
4
|
+
externalAccountId!: string;
|
|
5
|
+
externalTransactionId!: string;
|
|
6
|
+
operation!: OperationEnum;
|
|
7
|
+
amount!: number;
|
|
8
|
+
status!: string;
|
|
9
|
+
preAuth?: boolean;
|
|
10
10
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { BankAccountTypeEnum } from "../enums/BankAccountTypeEnum";
|
|
2
|
-
|
|
3
|
-
export class CreateBankAccountRequest {
|
|
4
|
-
externalClientId?: string;
|
|
5
|
-
externalUserId?: string;
|
|
6
|
-
name: string;
|
|
7
|
-
lastName: string;
|
|
8
|
-
type: BankAccountTypeEnum;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
|
|
1
|
+
import { BankAccountTypeEnum } from "../enums/BankAccountTypeEnum";
|
|
2
|
+
|
|
3
|
+
export class CreateBankAccountRequest {
|
|
4
|
+
externalClientId?: string;
|
|
5
|
+
externalUserId?: string;
|
|
6
|
+
name: string;
|
|
7
|
+
lastName: string;
|
|
8
|
+
type: BankAccountTypeEnum;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Provider } from "../../provider";
|
|
2
|
-
|
|
3
|
-
export class CreateBankAccountResponse {
|
|
4
|
-
externalAccountId: string
|
|
5
|
-
provider: Provider
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
import { Provider } from "../../provider";
|
|
2
|
+
|
|
3
|
+
export class CreateBankAccountResponse {
|
|
4
|
+
externalAccountId: string
|
|
5
|
+
provider: Provider
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import {AddressBase} from "../../address/dtos/AddressBase";
|
|
2
|
-
import {IdentificationDocument} from "../../identity";
|
|
3
|
-
|
|
4
|
-
export class CreateBankAccountUserRequest {
|
|
5
|
-
directoryId: string;
|
|
6
|
-
typeOfDirectoryId: string;
|
|
7
|
-
firstName: string;
|
|
8
|
-
lastName: string;
|
|
9
|
-
phoneNumber: string;
|
|
10
|
-
address: AddressBase;
|
|
11
|
-
email: string;
|
|
12
|
-
dob: string;
|
|
13
|
-
documentInfo?: IdentificationDocument;
|
|
14
|
-
documentNumber?: string;
|
|
15
|
-
documentType?: string;
|
|
16
|
-
SSN_ITIN?: string;
|
|
17
|
-
gender?: "M" | "F";
|
|
18
|
-
externalReferenceId?: string;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
|
|
1
|
+
import {AddressBase} from "../../address/dtos/AddressBase";
|
|
2
|
+
import {IdentificationDocument} from "../../identity";
|
|
3
|
+
|
|
4
|
+
export class CreateBankAccountUserRequest {
|
|
5
|
+
directoryId: string;
|
|
6
|
+
typeOfDirectoryId: string;
|
|
7
|
+
firstName: string;
|
|
8
|
+
lastName: string;
|
|
9
|
+
phoneNumber: string;
|
|
10
|
+
address: AddressBase;
|
|
11
|
+
email: string;
|
|
12
|
+
dob: string;
|
|
13
|
+
documentInfo?: IdentificationDocument;
|
|
14
|
+
documentNumber?: string;
|
|
15
|
+
documentType?: string;
|
|
16
|
+
SSN_ITIN?: string;
|
|
17
|
+
gender?: "M" | "F";
|
|
18
|
+
externalReferenceId?: string;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import {Provider} from "../../provider";
|
|
2
|
-
import {CreateBankAccountUserStatusEnum} from "../enums/CreateBankAccountUserStatusEnum";
|
|
3
|
-
|
|
4
|
-
export class CreateBankAccountUserResponse {
|
|
5
|
-
externalUserId: string;
|
|
6
|
-
externalAccountId?: string;
|
|
7
|
-
externalDocumentId?: string;
|
|
8
|
-
provider: Provider;
|
|
9
|
-
accountNumber?: string;
|
|
10
|
-
routingNumber?: string;
|
|
11
|
-
status?: CreateBankAccountUserStatusEnum;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
|
|
1
|
+
import {Provider} from "../../provider";
|
|
2
|
+
import {CreateBankAccountUserStatusEnum} from "../enums/CreateBankAccountUserStatusEnum";
|
|
3
|
+
|
|
4
|
+
export class CreateBankAccountUserResponse {
|
|
5
|
+
externalUserId: string;
|
|
6
|
+
externalAccountId?: string;
|
|
7
|
+
externalDocumentId?: string;
|
|
8
|
+
provider: Provider;
|
|
9
|
+
accountNumber?: string;
|
|
10
|
+
routingNumber?: string;
|
|
11
|
+
status?: CreateBankAccountUserStatusEnum;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {IsNumber, IsString} from "class-validator";
|
|
2
|
-
|
|
3
|
-
export default class ExchangeInfo {
|
|
4
|
-
@IsString()
|
|
5
|
-
currencyId: string;
|
|
6
|
-
|
|
7
|
-
@IsNumber()
|
|
8
|
-
rate: number;
|
|
1
|
+
import {IsNumber, IsString} from "class-validator";
|
|
2
|
+
|
|
3
|
+
export default class ExchangeInfo {
|
|
4
|
+
@IsString()
|
|
5
|
+
currencyId: string;
|
|
6
|
+
|
|
7
|
+
@IsNumber()
|
|
8
|
+
rate: number;
|
|
9
9
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import {CountryId} from "../../country";
|
|
2
|
-
import {BankAccountP2pTransferType} from "../enums/BankAccountP2pTransferType";
|
|
3
|
-
|
|
4
|
-
export class ExecuteP2pOperationRequest {
|
|
5
|
-
transferType: BankAccountP2pTransferType;
|
|
6
|
-
source: string;
|
|
7
|
-
sourceDescription?: string;
|
|
8
|
-
target: string;
|
|
9
|
-
targetDescription?: string;
|
|
10
|
-
amount: number;
|
|
11
|
-
currencyId: CountryId;
|
|
12
|
-
transactionNumber?: string;
|
|
1
|
+
import {CountryId} from "../../country";
|
|
2
|
+
import {BankAccountP2pTransferType} from "../enums/BankAccountP2pTransferType";
|
|
3
|
+
|
|
4
|
+
export class ExecuteP2pOperationRequest {
|
|
5
|
+
transferType: BankAccountP2pTransferType;
|
|
6
|
+
source: string;
|
|
7
|
+
sourceDescription?: string;
|
|
8
|
+
target: string;
|
|
9
|
+
targetDescription?: string;
|
|
10
|
+
amount: number;
|
|
11
|
+
currencyId: CountryId;
|
|
12
|
+
transactionNumber?: string;
|
|
13
13
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export class ExecuteP2pOperationResponse {
|
|
2
|
-
transactionNumber?: string;
|
|
3
|
-
sourceExternalTransactionId?: string;
|
|
4
|
-
targetExternalTransactionId?: string;
|
|
5
|
-
amount!: number;
|
|
6
|
-
status!: string;
|
|
1
|
+
export class ExecuteP2pOperationResponse {
|
|
2
|
+
transactionNumber?: string;
|
|
3
|
+
sourceExternalTransactionId?: string;
|
|
4
|
+
targetExternalTransactionId?: string;
|
|
5
|
+
amount!: number;
|
|
6
|
+
status!: string;
|
|
7
7
|
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { IsEnum, IsNumber, IsOptional, IsString } from "class-validator";
|
|
2
|
-
import { PocketOperationTypeEnum } from "../enums/PocketOperationTypeEnum";
|
|
3
|
-
|
|
4
|
-
export class ExecutePocketOperationRequest {
|
|
5
|
-
@IsNumber()
|
|
6
|
-
amount: number;
|
|
7
|
-
|
|
8
|
-
@IsEnum(PocketOperationTypeEnum)
|
|
9
|
-
operationType: PocketOperationTypeEnum;
|
|
10
|
-
|
|
11
|
-
@IsString()
|
|
12
|
-
@IsOptional()
|
|
13
|
-
transactionNumber?: string;
|
|
1
|
+
import { IsEnum, IsNumber, IsOptional, IsString } from "class-validator";
|
|
2
|
+
import { PocketOperationTypeEnum } from "../enums/PocketOperationTypeEnum";
|
|
3
|
+
|
|
4
|
+
export class ExecutePocketOperationRequest {
|
|
5
|
+
@IsNumber()
|
|
6
|
+
amount: number;
|
|
7
|
+
|
|
8
|
+
@IsEnum(PocketOperationTypeEnum)
|
|
9
|
+
operationType: PocketOperationTypeEnum;
|
|
10
|
+
|
|
11
|
+
@IsString()
|
|
12
|
+
@IsOptional()
|
|
13
|
+
transactionNumber?: string;
|
|
14
14
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { OperationEnum } from "../../transaction";
|
|
2
|
-
|
|
3
|
-
export class ExecutePocketOperationResponse {
|
|
4
|
-
externalTransactionId?: string;
|
|
5
|
-
amount!: number;
|
|
6
|
-
status!: string;
|
|
7
|
-
operation!: OperationEnum;
|
|
1
|
+
import { OperationEnum } from "../../transaction";
|
|
2
|
+
|
|
3
|
+
export class ExecutePocketOperationResponse {
|
|
4
|
+
externalTransactionId?: string;
|
|
5
|
+
amount!: number;
|
|
6
|
+
status!: string;
|
|
7
|
+
operation!: OperationEnum;
|
|
8
8
|
}
|