@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,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GroupStatus = void 0;
|
|
4
|
+
var GroupStatus;
|
|
5
|
+
(function (GroupStatus) {
|
|
6
|
+
GroupStatus["ACTIVE"] = "ACTIVE";
|
|
7
|
+
GroupStatus["INACTIVE"] = "INACTIVE";
|
|
8
|
+
})(GroupStatus || (exports.GroupStatus = GroupStatus = {}));
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RelationStatus = void 0;
|
|
4
|
+
var RelationStatus;
|
|
5
|
+
(function (RelationStatus) {
|
|
6
|
+
RelationStatus["ACTIVE"] = "ACTIVE";
|
|
7
|
+
RelationStatus["INACTIVE"] = "INACTIVE";
|
|
8
|
+
RelationStatus["PENDING"] = "PENDING";
|
|
9
|
+
})(RelationStatus || (exports.RelationStatus = RelationStatus = {}));
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RelationType = void 0;
|
|
4
|
+
var RelationType;
|
|
5
|
+
(function (RelationType) {
|
|
6
|
+
RelationType["MEMBER"] = "MEMBER";
|
|
7
|
+
RelationType["OWNER"] = "OWNER";
|
|
8
|
+
RelationType["AFFILIATE"] = "AFFILIATE";
|
|
9
|
+
})(RelationType || (exports.RelationType = RelationType = {}));
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export * from './dtos/GroupResponse';
|
|
2
|
+
export * from './dtos/GroupCreateRequest';
|
|
3
|
+
export * from './dtos/GroupDirectoryRelationsResponse';
|
|
4
|
+
export * from './dtos/GroupUpdateRequest';
|
|
5
|
+
export * from './dtos/GroupAddDirectoryRequest';
|
|
6
|
+
export * from './dtos/GroupDirectoryRelationsUpdateRequest';
|
|
7
|
+
export * from './enums/GroupStatus';
|
|
8
|
+
export * from './enums/RelationType';
|
|
9
|
+
export * from './enums/RelationStatus';
|
|
10
|
+
export * from './enums/GroupAction';
|
|
@@ -0,0 +1,28 @@
|
|
|
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/GroupResponse"), exports);
|
|
19
|
+
__exportStar(require("./dtos/GroupCreateRequest"), exports);
|
|
20
|
+
__exportStar(require("./dtos/GroupDirectoryRelationsResponse"), exports);
|
|
21
|
+
__exportStar(require("./dtos/GroupUpdateRequest"), exports);
|
|
22
|
+
__exportStar(require("./dtos/GroupAddDirectoryRequest"), exports);
|
|
23
|
+
__exportStar(require("./dtos/GroupDirectoryRelationsUpdateRequest"), exports);
|
|
24
|
+
//enums
|
|
25
|
+
__exportStar(require("./enums/GroupStatus"), exports);
|
|
26
|
+
__exportStar(require("./enums/RelationType"), exports);
|
|
27
|
+
__exportStar(require("./enums/RelationStatus"), exports);
|
|
28
|
+
__exportStar(require("./enums/GroupAction"), exports);
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { TypeOfDirectoryId } from "../directory";
|
|
2
|
+
import { Status } from "../directory/enums/Status";
|
|
3
|
+
export interface TokenPayload {
|
|
4
|
+
directoryId: string;
|
|
5
|
+
typeOfDirectoryId: TypeOfDirectoryId;
|
|
6
|
+
peopleId: string | null;
|
|
7
|
+
sub: string;
|
|
8
|
+
app: string;
|
|
9
|
+
issuer: string;
|
|
10
|
+
scope: string;
|
|
11
|
+
phoneNumber?: string | null;
|
|
12
|
+
status: Status | null;
|
|
13
|
+
id: string;
|
|
14
|
+
profileId?: string | null;
|
|
15
|
+
email?: string | null;
|
|
16
|
+
event_id?: string;
|
|
17
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './TokenPayload';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./TokenPayload"), exports);
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare class ValidationUtils {
|
|
2
|
+
static validateUuidV4(value: any): boolean;
|
|
3
|
+
static validateStringLength(minLength: number, maxLength: number): (value: string) => boolean;
|
|
4
|
+
static validateIso8601(value: string): boolean;
|
|
5
|
+
static validateNumberRange(minValue: number, maxValue: number): (value: number | null) => boolean;
|
|
6
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ValidationUtils = void 0;
|
|
4
|
+
const regex_1 = require("./constans/regex");
|
|
5
|
+
class ValidationUtils {
|
|
6
|
+
// Método estático para validar UUID v4
|
|
7
|
+
static validateUuidV4(value) {
|
|
8
|
+
if (value === null)
|
|
9
|
+
return true;
|
|
10
|
+
return regex_1.regexUuidV4.test(value);
|
|
11
|
+
}
|
|
12
|
+
// Método estático para validar la longitud de una cadena
|
|
13
|
+
static validateStringLength(minLength, maxLength) {
|
|
14
|
+
return (value) => {
|
|
15
|
+
if (value === null)
|
|
16
|
+
return true;
|
|
17
|
+
return value.length >= minLength && value.length <= maxLength;
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
// Método estático para validar el formato de fecha ISO 8601
|
|
21
|
+
static validateIso8601(value) {
|
|
22
|
+
if (value === null)
|
|
23
|
+
return true;
|
|
24
|
+
return regex_1.regexIso8601.test(value);
|
|
25
|
+
}
|
|
26
|
+
static validateNumberRange(minValue, maxValue) {
|
|
27
|
+
return (value) => {
|
|
28
|
+
if (value === null)
|
|
29
|
+
return true;
|
|
30
|
+
return value >= minValue && value <= maxValue;
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
exports.ValidationUtils = ValidationUtils;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.regexPhoneNumber = exports.regexIso8601 = exports.regexUuidV4 = void 0;
|
|
4
|
+
// Expresión regular para validar UUID v4
|
|
5
|
+
exports.regexUuidV4 = /^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i;
|
|
6
|
+
// Expresión regular para validar fecha ISO 8601
|
|
7
|
+
exports.regexIso8601 = /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(?:\.\d+)?(?:Z|[+-]\d{2}:\d{2})$/;
|
|
8
|
+
// Expresión regular para validar un número de teléfono
|
|
9
|
+
exports.regexPhoneNumber = /^\+1\d{10}$|^\+52\d{10}$/;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { Country } from "../../country/enums/Country";
|
|
2
|
+
import { IdentificationDocumentStatus } from "../enums/IdentificationDocumentStatus";
|
|
3
|
+
import { SexDocument } from "../enums/SexDocument";
|
|
4
|
+
export declare class IdentificationDocument {
|
|
5
|
+
frontImageName: string | null;
|
|
6
|
+
backImageName: string | null;
|
|
7
|
+
countryId: Country | null;
|
|
8
|
+
expirationDate: string | null;
|
|
9
|
+
issueDate: string | null;
|
|
10
|
+
lastNameFirst: string | null;
|
|
11
|
+
lastNameSecond: string | null;
|
|
12
|
+
names: string | null;
|
|
13
|
+
fullName: string | null;
|
|
14
|
+
countryOfBirth: string | null;
|
|
15
|
+
dateOfBirth: string | null;
|
|
16
|
+
documentNumber: string | null;
|
|
17
|
+
typeOfDocument: string;
|
|
18
|
+
sex: SexDocument | null;
|
|
19
|
+
verificationId: string | null;
|
|
20
|
+
curp: string | null;
|
|
21
|
+
status: IdentificationDocumentStatus;
|
|
22
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { App } from '../../app/enums/App';
|
|
2
|
+
import { SexDocument } from '../enums/SexDocument';
|
|
3
|
+
import { IdentificationDocument } from './IdentificationDocument';
|
|
4
|
+
export declare class PeopleResponse {
|
|
5
|
+
id: string;
|
|
6
|
+
createDate: string;
|
|
7
|
+
lastUpdateDate: string;
|
|
8
|
+
creationMethod: App;
|
|
9
|
+
indexName: string;
|
|
10
|
+
preferredName: string;
|
|
11
|
+
usSuffix: string | null;
|
|
12
|
+
usLastNames: string | null;
|
|
13
|
+
usNames: string | null;
|
|
14
|
+
latNames: string | null;
|
|
15
|
+
latLastNamePaternal: string | null;
|
|
16
|
+
latLastNameMaternal: string | null;
|
|
17
|
+
aliasNames: string[] | null;
|
|
18
|
+
preferredPronoun: string | null;
|
|
19
|
+
SSN_ITIN: string | null;
|
|
20
|
+
rfc: string | null;
|
|
21
|
+
curp: string | null;
|
|
22
|
+
passportNumber: string | null;
|
|
23
|
+
countryOfPassport: string | null;
|
|
24
|
+
documents: IdentificationDocument[] | null;
|
|
25
|
+
countryOfBirth: string | null;
|
|
26
|
+
dateOfBirth: string | null;
|
|
27
|
+
stateOfBirth: string | null;
|
|
28
|
+
nationalities: string[] | null;
|
|
29
|
+
docSex: SexDocument | null;
|
|
30
|
+
internalEmail: string | null;
|
|
31
|
+
occupation: string | null;
|
|
32
|
+
incomeSource: string | null;
|
|
33
|
+
notes: string | null;
|
|
34
|
+
tenantId: string | null;
|
|
35
|
+
USA_DebitAccount: boolean;
|
|
36
|
+
MEX_DebitAccount: boolean;
|
|
37
|
+
MEX_CreditClient: boolean;
|
|
38
|
+
MEX_CreditAdditional: boolean;
|
|
39
|
+
magicNumber: boolean;
|
|
40
|
+
USA_UploadDocument: boolean;
|
|
41
|
+
MEX_UploadDocument: boolean;
|
|
42
|
+
videoSelfieVerified: boolean;
|
|
43
|
+
MEX_ValidDocument: string;
|
|
44
|
+
USA_ValidDocument: string;
|
|
45
|
+
USA_FacematchVerified: boolean | null;
|
|
46
|
+
MEX_FacematchVerified: boolean | null;
|
|
47
|
+
fiadoListApproved: boolean | null;
|
|
48
|
+
cnbvListApproved: boolean | null;
|
|
49
|
+
blackListApproved: boolean | null;
|
|
50
|
+
whiteList: boolean | null;
|
|
51
|
+
hasOwner: boolean;
|
|
52
|
+
older18: boolean | null;
|
|
53
|
+
USA_Address: boolean;
|
|
54
|
+
MEX_Address: boolean;
|
|
55
|
+
MEX_ProofAddress: boolean;
|
|
56
|
+
USA_DebitAccountWish: boolean;
|
|
57
|
+
MEX_DebitAccountWish: boolean;
|
|
58
|
+
MEX_CreditAdditionalWish: boolean;
|
|
59
|
+
MEX_CreditClientWish: boolean;
|
|
60
|
+
SSN_ITINRequired: boolean | null;
|
|
61
|
+
MXN_FundsPurpose: string | null;
|
|
62
|
+
MXN_UsageMonthly: string | null;
|
|
63
|
+
MXN_MaximumTX: string | null;
|
|
64
|
+
signature: boolean;
|
|
65
|
+
MEX_Beneficiaries: boolean;
|
|
66
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { SexDocument } from "../enums/SexDocument";
|
|
2
|
+
import { IdentificationDocument } from "./IdentificationDocument";
|
|
3
|
+
export declare class PeopleUpdateRequest {
|
|
4
|
+
id?: string;
|
|
5
|
+
creationMethod?: string;
|
|
6
|
+
indexName?: string | null;
|
|
7
|
+
preferredName?: string | null;
|
|
8
|
+
usSuffix?: string | null;
|
|
9
|
+
usLastNames?: string | null;
|
|
10
|
+
usNames?: string | null;
|
|
11
|
+
latNames?: string | null;
|
|
12
|
+
latLastNamePaternal?: string | null;
|
|
13
|
+
latLastNameMaternal?: string | null;
|
|
14
|
+
aliasNames?: string[] | null;
|
|
15
|
+
preferredPronoun?: string | null;
|
|
16
|
+
SSN_ITIN?: string | null;
|
|
17
|
+
rfc?: string | null;
|
|
18
|
+
curp?: string | null;
|
|
19
|
+
passportNumber?: string | null;
|
|
20
|
+
countryOfPassport?: string | null;
|
|
21
|
+
documents?: IdentificationDocument[] | null;
|
|
22
|
+
countryOfBirth?: string | null;
|
|
23
|
+
dateOfBirth?: string | null;
|
|
24
|
+
stateOfBirth?: string | null;
|
|
25
|
+
nationalities?: string[] | null;
|
|
26
|
+
docSex?: SexDocument | null;
|
|
27
|
+
internalEmail?: string | null;
|
|
28
|
+
occupation?: string | null;
|
|
29
|
+
incomeSource?: string | null;
|
|
30
|
+
notes?: string | null;
|
|
31
|
+
tenantId?: string | null;
|
|
32
|
+
USA_DebitAccount?: boolean;
|
|
33
|
+
MEX_DebitAccount?: boolean;
|
|
34
|
+
MEX_CreditClient?: boolean;
|
|
35
|
+
MEX_CreditAdditional?: boolean;
|
|
36
|
+
magicNumber?: boolean;
|
|
37
|
+
USA_UploadDocument?: boolean;
|
|
38
|
+
MEX_UploadDocument?: boolean;
|
|
39
|
+
videoSelfieVerified?: boolean;
|
|
40
|
+
MEX_ValidDocument?: string;
|
|
41
|
+
USA_ValidDocument?: string;
|
|
42
|
+
USA_FacematchVerified?: boolean | null;
|
|
43
|
+
MEX_FacematchVerified?: boolean | null;
|
|
44
|
+
fiadoListApproved?: boolean | null;
|
|
45
|
+
ofacListApproved?: boolean | null;
|
|
46
|
+
cnbvListApproved?: boolean | null;
|
|
47
|
+
blackListApproved?: boolean | null;
|
|
48
|
+
whiteList?: boolean | null;
|
|
49
|
+
hasOwner?: boolean;
|
|
50
|
+
older18?: boolean | null;
|
|
51
|
+
USA_Address?: boolean;
|
|
52
|
+
MEX_Address?: boolean;
|
|
53
|
+
CRI_Address?: boolean;
|
|
54
|
+
PER_Address?: boolean;
|
|
55
|
+
MEX_ProofAddress?: boolean;
|
|
56
|
+
MEX_SendWish?: boolean;
|
|
57
|
+
USA_DebitAccountWish?: boolean;
|
|
58
|
+
MEX_DebitAccountWish?: boolean;
|
|
59
|
+
MEX_CreditAdditionalWish?: boolean;
|
|
60
|
+
MEX_CreditClientWish?: boolean;
|
|
61
|
+
SSN_ITINRequired?: boolean | null;
|
|
62
|
+
duplicateUserDetection?: boolean | null;
|
|
63
|
+
MXN_FundsPurpose?: string | null;
|
|
64
|
+
MXN_UsageMonthly?: number | null;
|
|
65
|
+
MXN_MaximumTX?: number | null;
|
|
66
|
+
signature?: boolean;
|
|
67
|
+
MEX_Beneficiaries?: boolean;
|
|
68
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.IdentificationDocumentStatus = void 0;
|
|
4
|
+
var IdentificationDocumentStatus;
|
|
5
|
+
(function (IdentificationDocumentStatus) {
|
|
6
|
+
IdentificationDocumentStatus["VERIFIED"] = "VERIFIED";
|
|
7
|
+
IdentificationDocumentStatus["REJECTED"] = "REJECTED";
|
|
8
|
+
IdentificationDocumentStatus["UNVERIFIED"] = "UNVERIFIED";
|
|
9
|
+
})(IdentificationDocumentStatus || (exports.IdentificationDocumentStatus = IdentificationDocumentStatus = {}));
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SexDocument = void 0;
|
|
4
|
+
var SexDocument;
|
|
5
|
+
(function (SexDocument) {
|
|
6
|
+
SexDocument["M"] = "M";
|
|
7
|
+
SexDocument["F"] = "F";
|
|
8
|
+
})(SexDocument || (exports.SexDocument = SexDocument = {}));
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TypeOfDocument = void 0;
|
|
4
|
+
var TypeOfDocument;
|
|
5
|
+
(function (TypeOfDocument) {
|
|
6
|
+
TypeOfDocument["MX_NATIONAL_ID"] = "MX_NATIONAL_ID";
|
|
7
|
+
TypeOfDocument["MX_PASSPORT"] = "MX_PASSPORT";
|
|
8
|
+
TypeOfDocument["US_DRIVER_LICENSE"] = "US_DRIVER_LICENSE";
|
|
9
|
+
TypeOfDocument["US_PASSPORT"] = "US_PASSPORT";
|
|
10
|
+
})(TypeOfDocument || (exports.TypeOfDocument = TypeOfDocument = {}));
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export * from './dtos/IdentificationDocument';
|
|
2
|
+
export * from './dtos/PeopleCreateRequest';
|
|
3
|
+
export * from './dtos/PeopleResponse';
|
|
4
|
+
export * from './dtos/TypeOfDocument';
|
|
5
|
+
export * from './dtos/PeopleUpdateRequest';
|
|
6
|
+
export * from './enums/IdentificationDocumentStatus';
|
|
7
|
+
export * from './enums/SexDocument';
|
|
@@ -0,0 +1,25 @@
|
|
|
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/IdentificationDocument"), exports);
|
|
19
|
+
__exportStar(require("./dtos/PeopleCreateRequest"), exports);
|
|
20
|
+
__exportStar(require("./dtos/PeopleResponse"), exports);
|
|
21
|
+
__exportStar(require("./dtos/TypeOfDocument"), exports);
|
|
22
|
+
__exportStar(require("./dtos/PeopleUpdateRequest"), exports);
|
|
23
|
+
//enums
|
|
24
|
+
__exportStar(require("./enums/IdentificationDocumentStatus"), exports);
|
|
25
|
+
__exportStar(require("./enums/SexDocument"), exports);
|
package/bin/index.d.ts
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export * as Account from './account';
|
|
2
|
+
export * as Beneficiary from './beneficiary';
|
|
3
|
+
export * as Address from './address';
|
|
4
|
+
export * as App from './app';
|
|
5
|
+
export * as Authentication from './authentication';
|
|
6
|
+
export * as Card from './card';
|
|
7
|
+
export * as Country from './country';
|
|
8
|
+
export * as Currency from './currency';
|
|
9
|
+
export * as Directory from './directory';
|
|
10
|
+
export * as ExchangeRate from './exchangeRate';
|
|
11
|
+
export * as File from './identity';
|
|
12
|
+
export * as Group from './group';
|
|
13
|
+
export * as Identity from './provider';
|
|
14
|
+
export * as Header from './header';
|
|
15
|
+
export * as ServicePayment from './servicePayment';
|
|
16
|
+
export * as NotificationMessages from './notificationMessages';
|
|
17
|
+
export * as SessionActivity from './sessionActivity';
|
|
18
|
+
export * as EventBridgeMessage from './eventBridge';
|
|
19
|
+
export * as GenericMessage from './genericMessage';
|
|
20
|
+
export * as TransactionProcessor from './transactionProcessor';
|
|
21
|
+
export * as Transaction from './transaction';
|
|
22
|
+
export * as ContactInfo from './contactInfo';
|
|
23
|
+
export * as ProductCatalog from './productCatalog';
|
|
24
|
+
export * as Contract from './contract';
|
|
25
|
+
export * as CreditContract from './creditContract';
|
|
26
|
+
export * as P2pContact from './p2pContact';
|
|
27
|
+
export * as BankAccount from './bankAccount';
|
|
28
|
+
export * as Stp from './stpSpei';
|
|
29
|
+
export * as BBVARst from './bbvaRst';
|
package/bin/index.js
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
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 __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
+
if (mod && mod.__esModule) return mod;
|
|
20
|
+
var result = {};
|
|
21
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
+
__setModuleDefault(result, mod);
|
|
23
|
+
return result;
|
|
24
|
+
};
|
|
25
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
+
exports.BBVARst = exports.Stp = exports.BankAccount = exports.P2pContact = exports.CreditContract = exports.Contract = exports.ProductCatalog = exports.ContactInfo = exports.Transaction = exports.TransactionProcessor = exports.GenericMessage = exports.EventBridgeMessage = exports.SessionActivity = exports.NotificationMessages = exports.ServicePayment = exports.Header = exports.Identity = exports.Group = exports.File = exports.ExchangeRate = exports.Directory = exports.Currency = exports.Country = exports.Card = exports.Authentication = exports.App = exports.Address = exports.Beneficiary = exports.Account = void 0;
|
|
27
|
+
exports.Account = __importStar(require("./account"));
|
|
28
|
+
exports.Beneficiary = __importStar(require("./beneficiary"));
|
|
29
|
+
exports.Address = __importStar(require("./address"));
|
|
30
|
+
exports.App = __importStar(require("./app"));
|
|
31
|
+
exports.Authentication = __importStar(require("./authentication"));
|
|
32
|
+
exports.Card = __importStar(require("./card"));
|
|
33
|
+
exports.Country = __importStar(require("./country"));
|
|
34
|
+
exports.Currency = __importStar(require("./currency"));
|
|
35
|
+
exports.Directory = __importStar(require("./directory"));
|
|
36
|
+
exports.ExchangeRate = __importStar(require("./exchangeRate"));
|
|
37
|
+
exports.File = __importStar(require("./identity"));
|
|
38
|
+
exports.Group = __importStar(require("./group"));
|
|
39
|
+
exports.Identity = __importStar(require("./provider"));
|
|
40
|
+
exports.Header = __importStar(require("./header"));
|
|
41
|
+
exports.ServicePayment = __importStar(require("./servicePayment"));
|
|
42
|
+
exports.NotificationMessages = __importStar(require("./notificationMessages"));
|
|
43
|
+
exports.SessionActivity = __importStar(require("./sessionActivity"));
|
|
44
|
+
exports.EventBridgeMessage = __importStar(require("./eventBridge"));
|
|
45
|
+
exports.GenericMessage = __importStar(require("./genericMessage"));
|
|
46
|
+
exports.TransactionProcessor = __importStar(require("./transactionProcessor"));
|
|
47
|
+
exports.Transaction = __importStar(require("./transaction"));
|
|
48
|
+
exports.ContactInfo = __importStar(require("./contactInfo"));
|
|
49
|
+
exports.ProductCatalog = __importStar(require("./productCatalog"));
|
|
50
|
+
exports.Contract = __importStar(require("./contract"));
|
|
51
|
+
exports.CreditContract = __importStar(require("./creditContract"));
|
|
52
|
+
exports.P2pContact = __importStar(require("./p2pContact"));
|
|
53
|
+
exports.BankAccount = __importStar(require("./bankAccount"));
|
|
54
|
+
exports.Stp = __importStar(require("./stpSpei"));
|
|
55
|
+
exports.BBVARst = __importStar(require("./bbvaRst"));
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare enum NotificationId {
|
|
2
|
+
ISSUED_ACCOUNT_USA = "ISSUED_ACCOUNT_USA",//Mesnaje de apertura de cuentas y tarjeta USA
|
|
3
|
+
ISSUED_ACCOUNT_MEX = "ISSUED_ACCOUNT_MEX",//Mesnaje de apertura de cuentas y tarjeta MEX
|
|
4
|
+
ONB_ERROR_VALID_DOCUMENT = "ONB_ERROR_VALID_DOCUMENT",// Mensaje cuando el resultado del onboarding es error en la validación del documento
|
|
5
|
+
ONB_ERROR_FACEMATCH = "ONB_ERROR_FACEMATCH"
|
|
6
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.NotificationId = void 0;
|
|
4
|
+
var NotificationId;
|
|
5
|
+
(function (NotificationId) {
|
|
6
|
+
NotificationId["ISSUED_ACCOUNT_USA"] = "ISSUED_ACCOUNT_USA";
|
|
7
|
+
NotificationId["ISSUED_ACCOUNT_MEX"] = "ISSUED_ACCOUNT_MEX";
|
|
8
|
+
NotificationId["ONB_ERROR_VALID_DOCUMENT"] = "ONB_ERROR_VALID_DOCUMENT";
|
|
9
|
+
NotificationId["ONB_ERROR_FACEMATCH"] = "ONB_ERROR_FACEMATCH";
|
|
10
|
+
})(NotificationId || (exports.NotificationId = NotificationId = {}));
|