@fiado/type-kit 1.2.0 → 1.2.2
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/package.json +23 -23
- package/src/account/dtos/AccountCreateRequest.ts +79 -79
- package/src/account/dtos/AccountCreateResponse.ts +7 -7
- package/src/account/dtos/AccountInfo.ts +39 -39
- package/src/account/dtos/AccountUpdateBalanceRequest.ts +6 -6
- package/src/account/dtos/BankAccountExternalAddress.ts +17 -17
- package/src/account/dtos/BankAccountP2pTransferRequest.ts +7 -7
- package/src/account/dtos/CreateBankAccountRequest.ts +11 -11
- package/src/account/dtos/CreateBankAccountResponse.ts +8 -8
- package/src/account/dtos/CreateBankAccountUserRequest.ts +17 -17
- package/src/account/dtos/CreateBankAccountUserResponse.ts +11 -11
- package/src/account/dtos/ExchangeInfo.ts +8 -8
- package/src/account/dtos/ExecuteP2pOperationRequest.ts +7 -7
- package/src/account/dtos/ExecutePocketOperationRequest.ts +5 -5
- package/src/account/dtos/GetAccountBalanceResponse.ts +36 -36
- package/src/account/dtos/GetAccountResponse.ts +62 -62
- 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 +8 -8
- package/src/account/dtos/GetBankAccountUserRequest.ts +2 -2
- package/src/account/dtos/GetBankAccountUserResponse.ts +25 -25
- 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/UpdateBalanceOperation.ts +8 -8
- 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/enums/AccountEntityStatusEnum.ts +4 -4
- package/src/account/enums/AccountLevelEnum.ts +5 -5
- package/src/account/enums/BankAccountP2pTransferType.ts +5 -5
- package/src/account/enums/BankAccountTypeEnum.ts +2 -2
- package/src/account/enums/BankAccountUserStatusEnum.ts +4 -4
- package/src/account/enums/UserEntityStatusEnum.ts +4 -4
- package/src/account/index.ts +41 -41
- 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/OfficeDetails.ts +30 -30
- package/src/address/dtos/OperationSchedule.ts +8 -8
- package/src/address/dtos/Place.ts +83 -83
- package/src/address/dtos/Shipping.ts +36 -36
- package/src/address/dtos/Timezone.ts +5 -5
- package/src/address/enums/AddressProvider.ts +10 -10
- package/src/address/enums/AddressStatus.ts +9 -9
- package/src/address/index.ts +16 -16
- package/src/app/enums/App.ts +10 -10
- package/src/app/index.ts +3 -3
- package/src/authentication/dtos/SignUpAdditionalRequest.ts +32 -32
- package/src/authentication/dtos/SignUpAdditionalResponse.ts +5 -5
- package/src/authentication/index.ts +3 -3
- package/src/bankAccount/dtos/ExternalAccountCurrency.ts +3 -3
- package/src/bankAccount/dtos/ExternalAccountType.ts +3 -3
- package/src/bankAccount/dtos/GetExternalBankAccountRequest.ts +11 -11
- package/src/bankAccount/dtos/GetExternalBankAccountResponse.ts +15 -15
- package/src/bankAccount/dtos/GetExternalBankResponse.ts +13 -13
- package/src/bankAccount/index.ts +4 -4
- package/src/bbvaRst/dtos/CreateRSTTransactionRequest.ts +14 -0
- package/src/bbvaRst/dtos/CreateRSTTransactionResponse.ts +10 -0
- package/src/bbvaRst/enums/RSTStatusEnum.ts +5 -0
- package/src/bbvaRst/index.ts +3 -0
- package/src/beneficiary/dtos/AccountBeneficiaryCreateRequest.ts +41 -41
- package/src/beneficiary/dtos/AccountBeneficiaryResponse.ts +23 -23
- package/src/beneficiary/dtos/AccountBeneficiaryUpdateRequest.ts +39 -39
- package/src/beneficiary/enums/AccountType.ts +6 -6
- package/src/beneficiary/index.ts +7 -7
- package/src/card/dtos/CardActivateRequest.ts +12 -12
- package/src/card/dtos/CardAdditionalRequest.ts +25 -25
- package/src/card/dtos/CardAdditionalResponse.ts +14 -14
- package/src/card/dtos/CardApplicationRequest.ts +27 -27
- package/src/card/dtos/CardBalanceResponse.ts +10 -10
- package/src/card/dtos/CardCreateAdditionalRequest.ts +65 -65
- package/src/card/dtos/CardResponse.ts +34 -34
- package/src/card/dtos/CardSensitiveInformationResponse.ts +18 -18
- 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/CardUpdateRequest.ts +11 -11
- package/src/card/dtos/Internal/ActivateBankAccountCardRequest.ts +9 -9
- package/src/card/dtos/Internal/ActivateBankAccountCardResponse.ts +4 -4
- package/src/card/dtos/Internal/AssignCardRequest.ts +8 -8
- 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 +14 -14
- package/src/card/dtos/Internal/CreateBankAccountCardShippingResponse.ts +12 -12
- package/src/card/dtos/Internal/GetBankAccountCardResponse.ts +32 -32
- package/src/card/dtos/Internal/GetBankAccountShippingRequest.ts +5 -5
- package/src/card/dtos/Internal/GetBankAccountShippingResponse.ts +19 -19
- package/src/card/dtos/Internal/UpdateBankAccountCardRequest.ts +21 -21
- package/src/card/dtos/Internal/UpdateBankAccountCardResponse.ts +5 -5
- 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/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 +14 -14
- 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/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/index.ts +50 -50
- package/src/card/validations/CardUpdateKeyConstraint.ts +53 -53
- package/src/card/validations/IsPhoneNumberConstraint.ts +29 -29
- package/src/contactInfo/dtos/ContactInfoCreateRequest.ts +54 -0
- package/src/contactInfo/dtos/GetAllContactInfoResponse.ts +13 -13
- package/src/contactInfo/enums/TypeOfContactIdEnum.ts +3 -3
- package/src/contactInfo/index.ts +1 -1
- 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/enums/Country.ts +6 -6
- package/src/country/enums/CountryId.ts +6 -6
- package/src/country/index.ts +5 -5
- package/src/creditContract/dtos/CreditContractCreateRequest.ts +51 -51
- 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/directory/dtos/DirectoryResponse.ts +19 -19
- package/src/directory/dtos/External.ts +6 -6
- package/src/directory/enums/Profile.ts +6 -6
- package/src/directory/enums/Scope.ts +7 -7
- package/src/directory/enums/Status.ts +8 -8
- package/src/directory/enums/TypeOfDirectoryId.ts +6 -6
- package/src/directory/index.ts +7 -7
- 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/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/helpers/ValidationUtils.ts +32 -32
- package/src/helpers/constans/regex.ts +12 -12
- package/src/identity/dtos/IdentificationDocument.ts +24 -24
- package/src/identity/dtos/PeopleCreateRequest.ts +4 -4
- package/src/identity/dtos/PeopleResponse.ts +72 -72
- package/src/identity/dtos/PeopleUpdateRequest.ts +71 -71
- package/src/identity/dtos/TypeOfDocument.ts +11 -11
- package/src/identity/enums/IdentificationDocumentStatus.ts +7 -7
- package/src/identity/enums/SexDocument.ts +6 -6
- package/src/identity/enums/TypeOfDocument.ts +5 -5
- package/src/identity/index.ts +12 -12
- package/src/index.ts +32 -31
- 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/p2pContact/dtos/CreateP2pContactRequest.ts +8 -8
- package/src/productCatalog/dtos/CreateProductCatalogRequest.ts +14 -14
- package/src/productCatalog/dtos/GetProductCatalogResponse.ts +38 -38
- package/src/productCatalog/enums/ProductTaxFeeTypeEnum.ts +3 -3
- package/src/productCatalog/enums/ProductTypeEnum.ts +11 -11
- package/src/productCatalog/index.ts +4 -4
- package/src/provider/enums/Provider.ts +4 -4
- package/src/provider/index.ts +1 -1
- package/src/queue/dtos/QueueMessageBase.ts +13 -13
- 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/sessionActivity/dtos/SessionActivityQueueMessageRequest.ts +10 -10
- 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/stpSpei/dtos/PutStpOrderRequest.ts +10 -10
- package/src/stpSpei/dtos/SpeiWebhookMessage.ts +9 -9
- package/src/stpSpei/enums/WebhookMessageStatusEnum.ts +4 -4
- package/src/stpSpei/index.ts +3 -3
- 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 +22 -22
- package/src/transaction/dtos/Total.ts +20 -20
- package/src/transaction/dtos/TransactionCreateRequest.ts +99 -99
- package/src/transaction/dtos/TransactionCreateResponse.ts +4 -4
- package/src/transaction/dtos/TransactionGetResponse.ts +17 -17
- package/src/transaction/enums/OperationEnum.ts +3 -3
- package/src/transaction/enums/TransactionSourceEnum.ts +4 -4
- package/src/transaction/index.ts +8 -8
- package/src/transactionProcessor/dtos/AmountInfo.ts +6 -6
- package/src/transactionProcessor/dtos/AmountInfoItem.ts +3 -3
- package/src/transactionProcessor/dtos/AuthorizeCreditCardAdjustmentRequest.ts +17 -17
- package/src/transactionProcessor/dtos/AuthorizeCreditCardPurchaseRequest.ts +16 -16
- package/src/transactionProcessor/dtos/AuthorizeP2pTransactionRequest.ts +8 -8
- package/src/transactionProcessor/dtos/AuthorizePocketTransactionRequest.ts +8 -8
- package/src/transactionProcessor/dtos/AuthorizeServicePaymentRequest.ts +7 -7
- package/src/transactionProcessor/dtos/AuthorizeSpeiBankTransferRequest.ts +6 -6
- package/src/transactionProcessor/dtos/CardInfo.ts +5 -5
- package/src/transactionProcessor/dtos/InstallmentsInfo.ts +6 -6
- package/src/transactionProcessor/dtos/MerchantInfo.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/enums/AsyncTxStatusEnum.ts +5 -5
- package/src/transactionProcessor/enums/TransactionProcessorCodesEnum.ts +13 -13
- package/src/transactionProcessor/index.ts +18 -18
- package/bin/account/dtos/AccountCreateRequest.d.ts +0 -24
- package/bin/account/dtos/AccountCreateRequest.js +0 -104
- package/bin/account/dtos/AccountCreateResponse.d.ts +0 -8
- package/bin/account/dtos/AccountCreateResponse.js +0 -6
- package/bin/account/dtos/AccountInfo.d.ts +0 -12
- package/bin/account/dtos/AccountInfo.js +0 -59
- package/bin/account/dtos/AccountResponse.d.ts +0 -21
- package/bin/account/dtos/AccountResponse.js +0 -6
- package/bin/account/dtos/AccountUpdateBalanceRequest.d.ts +0 -4
- package/bin/account/dtos/AccountUpdateBalanceRequest.js +0 -20
- package/bin/account/dtos/BankAccountExternalAddress.d.ts +0 -15
- package/bin/account/dtos/BankAccountExternalAddress.js +0 -6
- package/bin/account/dtos/BankAccountP2pTransferRequest.d.ts +0 -7
- package/bin/account/dtos/BankAccountP2pTransferRequest.js +0 -6
- package/bin/account/dtos/CreateBankAccountInput.d.ts +0 -8
- package/bin/account/dtos/CreateBankAccountInput.js +0 -6
- package/bin/account/dtos/CreateBankAccountOutput.d.ts +0 -5
- package/bin/account/dtos/CreateBankAccountOutput.js +0 -6
- package/bin/account/dtos/CreateBankAccountRequest.d.ts +0 -8
- package/bin/account/dtos/CreateBankAccountRequest.js +0 -6
- package/bin/account/dtos/CreateBankAccountResponse.d.ts +0 -5
- package/bin/account/dtos/CreateBankAccountResponse.js +0 -6
- package/bin/account/dtos/CreateBankAccountUserInput.d.ts +0 -14
- package/bin/account/dtos/CreateBankAccountUserInput.js +0 -6
- package/bin/account/dtos/CreateBankAccountUserOutput.d.ts +0 -8
- package/bin/account/dtos/CreateBankAccountUserOutput.js +0 -6
- package/bin/account/dtos/CreateBankAccountUserRequest.d.ts +0 -14
- package/bin/account/dtos/CreateBankAccountUserRequest.js +0 -6
- package/bin/account/dtos/CreateBankAccountUserResponse.d.ts +0 -8
- package/bin/account/dtos/CreateBankAccountUserResponse.js +0 -6
- package/bin/account/dtos/ExchangeInfo.d.ts +0 -4
- package/bin/account/dtos/ExchangeInfo.js +0 -23
- package/bin/account/dtos/ExecuteP2pOperationRequest.d.ts +0 -7
- package/bin/account/dtos/ExecuteP2pOperationRequest.js +0 -6
- package/bin/account/dtos/ExecutePocketOperationRequest.d.ts +0 -3
- package/bin/account/dtos/ExecutePocketOperationRequest.js +0 -20
- package/bin/account/dtos/GetAccountBalanceResponse.d.ts +0 -11
- package/bin/account/dtos/GetAccountBalanceResponse.js +0 -59
- package/bin/account/dtos/GetAccountResponse.d.ts +0 -20
- package/bin/account/dtos/GetAccountResponse.js +0 -89
- package/bin/account/dtos/GetBankAccountRequest.d.ts +0 -4
- package/bin/account/dtos/GetBankAccountRequest.js +0 -6
- package/bin/account/dtos/GetBankAccountResponse.d.ts +0 -22
- package/bin/account/dtos/GetBankAccountResponse.js +0 -6
- package/bin/account/dtos/GetBankAccountSensitiveInformationRequest.d.ts +0 -5
- package/bin/account/dtos/GetBankAccountSensitiveInformationRequest.js +0 -6
- package/bin/account/dtos/GetBankAccountSensitiveInformationResponse.d.ts +0 -8
- package/bin/account/dtos/GetBankAccountSensitiveInformationResponse.js +0 -6
- package/bin/account/dtos/GetBankAccountUserRequest.d.ts +0 -3
- package/bin/account/dtos/GetBankAccountUserRequest.js +0 -6
- package/bin/account/dtos/GetBankAccountUserResponse.d.ts +0 -25
- package/bin/account/dtos/GetBankAccountUserResponse.js +0 -6
- package/bin/account/dtos/GetPocketBalanceResponse.d.ts +0 -11
- package/bin/account/dtos/GetPocketBalanceResponse.js +0 -65
- package/bin/account/dtos/GetPocketResponse.d.ts +0 -8
- package/bin/account/dtos/GetPocketResponse.js +0 -5
- package/bin/account/dtos/PocketBalanceItem.d.ts +0 -7
- package/bin/account/dtos/PocketBalanceItem.js +0 -36
- package/bin/account/dtos/PocketCreateRequest.d.ts +0 -4
- package/bin/account/dtos/PocketCreateRequest.js +0 -31
- package/bin/account/dtos/PocketCreateResponse.d.ts +0 -2
- package/bin/account/dtos/PocketCreateResponse.js +0 -6
- package/bin/account/dtos/PocketItem.d.ts +0 -12
- package/bin/account/dtos/PocketItem.js +0 -61
- package/bin/account/dtos/UpdateBalanceOperation.d.ts +0 -8
- package/bin/account/dtos/UpdateBalanceOperation.js +0 -6
- package/bin/account/dtos/UpdateBankAccountUserRequest.d.ts +0 -26
- package/bin/account/dtos/UpdateBankAccountUserRequest.js +0 -6
- package/bin/account/dtos/UpdateBankAccountUserResponse.d.ts +0 -4
- package/bin/account/dtos/UpdateBankAccountUserResponse.js +0 -6
- package/bin/account/entities/AccountEntityBase.d.ts +0 -12
- package/bin/account/entities/AccountEntityBase.js +0 -6
- package/bin/account/enums/AccountEntityStatusEnum.d.ts +0 -5
- package/bin/account/enums/AccountEntityStatusEnum.js +0 -9
- package/bin/account/enums/AccountLevelEnum.d.ts +0 -6
- package/bin/account/enums/AccountLevelEnum.js +0 -10
- package/bin/account/enums/AccountStatus.d.ts +0 -5
- package/bin/account/enums/AccountStatus.js +0 -9
- package/bin/account/enums/BankAccountP2pTransferType.d.ts +0 -6
- package/bin/account/enums/BankAccountP2pTransferType.js +0 -10
- package/bin/account/enums/BankAccountTypeEnum.d.ts +0 -3
- package/bin/account/enums/BankAccountTypeEnum.js +0 -7
- package/bin/account/enums/BankAccountUserStatusEnum.d.ts +0 -5
- package/bin/account/enums/BankAccountUserStatusEnum.js +0 -9
- package/bin/account/enums/UserEntityStatusEnum.d.ts +0 -5
- package/bin/account/enums/UserEntityStatusEnum.js +0 -9
- package/bin/account/index.d.ts +0 -35
- package/bin/account/index.js +0 -54
- package/bin/address/dtos/AddressBase.d.ts +0 -34
- package/bin/address/dtos/AddressBase.js +0 -163
- package/bin/address/dtos/AddressCreateRequest.d.ts +0 -3
- package/bin/address/dtos/AddressCreateRequest.js +0 -7
- package/bin/address/dtos/AddressResponse.d.ts +0 -7
- package/bin/address/dtos/AddressResponse.js +0 -47
- package/bin/address/dtos/AddressShippingCardRequest.d.ts +0 -9
- package/bin/address/dtos/AddressShippingCardRequest.js +0 -7
- package/bin/address/dtos/AddressShippingCardResponse.d.ts +0 -8
- package/bin/address/dtos/AddressShippingCardResponse.js +0 -2
- package/bin/address/dtos/Geometry.d.ts +0 -3
- package/bin/address/dtos/Geometry.js +0 -2
- package/bin/address/dtos/OfficeDetails.d.ts +0 -28
- package/bin/address/dtos/OfficeDetails.js +0 -2
- package/bin/address/dtos/OperationSchedule.d.ts +0 -7
- package/bin/address/dtos/OperationSchedule.js +0 -2
- package/bin/address/dtos/Place.d.ts +0 -21
- package/bin/address/dtos/Place.js +0 -112
- package/bin/address/dtos/Shipping.d.ts +0 -11
- package/bin/address/dtos/Shipping.js +0 -57
- package/bin/address/dtos/Timezone.d.ts +0 -4
- package/bin/address/dtos/Timezone.js +0 -2
- package/bin/address/enums/AddressProvider.d.ts +0 -9
- package/bin/address/enums/AddressProvider.js +0 -13
- package/bin/address/enums/AddressStatus.d.ts +0 -9
- package/bin/address/enums/AddressStatus.js +0 -13
- package/bin/address/index.d.ts +0 -12
- package/bin/address/index.js +0 -30
- package/bin/app/enums/App.d.ts +0 -9
- package/bin/app/enums/App.js +0 -13
- package/bin/app/index.d.ts +0 -1
- package/bin/app/index.js +0 -18
- package/bin/authentication/dtos/SignUpAdditionalRequest.d.ts +0 -7
- package/bin/authentication/dtos/SignUpAdditionalRequest.js +0 -46
- package/bin/authentication/dtos/SignUpAdditionalResponse.d.ts +0 -4
- package/bin/authentication/dtos/SignUpAdditionalResponse.js +0 -6
- package/bin/authentication/index.d.ts +0 -2
- package/bin/authentication/index.js +0 -19
- package/bin/bankAccount/dtos/ExternalAccountCurrency.d.ts +0 -4
- package/bin/bankAccount/dtos/ExternalAccountCurrency.js +0 -6
- package/bin/bankAccount/dtos/ExternalAccountType.d.ts +0 -4
- package/bin/bankAccount/dtos/ExternalAccountType.js +0 -6
- package/bin/bankAccount/dtos/GetExternalBankAccountRequest.d.ts +0 -12
- package/bin/bankAccount/dtos/GetExternalBankAccountRequest.js +0 -5
- package/bin/bankAccount/dtos/GetExternalBankAccountResponse.d.ts +0 -15
- package/bin/bankAccount/dtos/GetExternalBankAccountResponse.js +0 -5
- package/bin/bankAccount/dtos/GetExternalBankResponse.d.ts +0 -13
- package/bin/bankAccount/dtos/GetExternalBankResponse.js +0 -6
- package/bin/bankAccount/index.d.ts +0 -5
- package/bin/bankAccount/index.js +0 -21
- package/bin/beneficiary/dtos/AccountBeneficiaryCreateRequest.d.ts +0 -11
- package/bin/beneficiary/dtos/AccountBeneficiaryCreateRequest.js +0 -60
- package/bin/beneficiary/dtos/AccountBeneficiaryResponse.d.ts +0 -18
- package/bin/beneficiary/dtos/AccountBeneficiaryResponse.js +0 -6
- package/bin/beneficiary/dtos/AccountBeneficiaryUpdateRequest.d.ts +0 -10
- package/bin/beneficiary/dtos/AccountBeneficiaryUpdateRequest.js +0 -59
- package/bin/beneficiary/enums/AccountType.d.ts +0 -4
- package/bin/beneficiary/enums/AccountType.js +0 -8
- package/bin/beneficiary/index.d.ts +0 -4
- package/bin/beneficiary/index.js +0 -22
- package/bin/card/dtos/CardActivateRequest.d.ts +0 -5
- package/bin/card/dtos/CardActivateRequest.js +0 -26
- package/bin/card/dtos/CardAdditionalRequest.d.ts +0 -9
- package/bin/card/dtos/CardAdditionalRequest.js +0 -44
- package/bin/card/dtos/CardAdditionalResponse.d.ts +0 -11
- package/bin/card/dtos/CardAdditionalResponse.js +0 -6
- package/bin/card/dtos/CardApplicationRequest.d.ts +0 -9
- package/bin/card/dtos/CardApplicationRequest.js +0 -42
- package/bin/card/dtos/CardBalanceResponse.d.ts +0 -9
- package/bin/card/dtos/CardBalanceResponse.js +0 -6
- package/bin/card/dtos/CardCreateAdditionalRequest.d.ts +0 -16
- package/bin/card/dtos/CardCreateAdditionalRequest.js +0 -94
- package/bin/card/dtos/CardCreateRequest.d.ts +0 -34
- package/bin/card/dtos/CardCreateRequest.js +0 -176
- package/bin/card/dtos/CardResponse.d.ts +0 -33
- package/bin/card/dtos/CardResponse.js +0 -6
- package/bin/card/dtos/CardSensitiveInformationResponse.d.ts +0 -17
- package/bin/card/dtos/CardSensitiveInformationResponse.js +0 -6
- package/bin/card/dtos/CardShipmentQueueMessage.d.ts +0 -5
- package/bin/card/dtos/CardShipmentQueueMessage.js +0 -7
- package/bin/card/dtos/CardShipmentUpdateRequest.d.ts +0 -6
- package/bin/card/dtos/CardShipmentUpdateRequest.js +0 -36
- package/bin/card/dtos/CardSummaryResponse.d.ts +0 -7
- package/bin/card/dtos/CardSummaryResponse.js +0 -6
- package/bin/card/dtos/CardUpdateRequest.d.ts +0 -5
- package/bin/card/dtos/CardUpdateRequest.js +0 -25
- package/bin/card/dtos/Internal/ActivateBankAccountCardRequest.d.ts +0 -8
- package/bin/card/dtos/Internal/ActivateBankAccountCardRequest.js +0 -6
- package/bin/card/dtos/Internal/ActivateBankAccountCardResponse.d.ts +0 -3
- package/bin/card/dtos/Internal/ActivateBankAccountCardResponse.js +0 -6
- package/bin/card/dtos/Internal/AssignCardRequest.d.ts +0 -4
- package/bin/card/dtos/Internal/AssignCardRequest.js +0 -2
- package/bin/card/dtos/Internal/CreateBankAccountCardRequest.d.ts +0 -16
- package/bin/card/dtos/Internal/CreateBankAccountCardRequest.js +0 -6
- package/bin/card/dtos/Internal/CreateBankAccountCardResponse.d.ts +0 -7
- package/bin/card/dtos/Internal/CreateBankAccountCardResponse.js +0 -6
- package/bin/card/dtos/Internal/CreateBankAccountCardShippingRequest.d.ts +0 -14
- package/bin/card/dtos/Internal/CreateBankAccountCardShippingRequest.js +0 -6
- package/bin/card/dtos/Internal/CreateBankAccountCardShippingResponse.d.ts +0 -11
- package/bin/card/dtos/Internal/CreateBankAccountCardShippingResponse.js +0 -6
- package/bin/card/dtos/Internal/GetBankAccountCardResponse.d.ts +0 -31
- package/bin/card/dtos/Internal/GetBankAccountCardResponse.js +0 -2
- package/bin/card/dtos/Internal/GetBankAccountShippingRequest.d.ts +0 -3
- package/bin/card/dtos/Internal/GetBankAccountShippingRequest.js +0 -6
- package/bin/card/dtos/Internal/GetBankAccountShippingResponse.d.ts +0 -19
- package/bin/card/dtos/Internal/GetBankAccountShippingResponse.js +0 -6
- package/bin/card/dtos/Internal/UpdateBankAccountCardRequest.d.ts +0 -20
- package/bin/card/dtos/Internal/UpdateBankAccountCardRequest.js +0 -6
- package/bin/card/dtos/Internal/UpdateBankAccountCardResponse.d.ts +0 -4
- package/bin/card/dtos/Internal/UpdateBankAccountCardResponse.js +0 -6
- package/bin/card/enums/Brand.d.ts +0 -8
- package/bin/card/enums/Brand.js +0 -13
- package/bin/card/enums/CardIssuanceStatus.d.ts +0 -5
- package/bin/card/enums/CardIssuanceStatus.js +0 -9
- package/bin/card/enums/CardIssuing.d.ts +0 -5
- package/bin/card/enums/CardIssuing.js +0 -9
- package/bin/card/enums/CardType.d.ts +0 -5
- package/bin/card/enums/CardType.js +0 -9
- package/bin/card/enums/CardUpdateKey.d.ts +0 -4
- package/bin/card/enums/CardUpdateKey.js +0 -8
- package/bin/card/enums/CreditOrDebit.d.ts +0 -4
- package/bin/card/enums/CreditOrDebit.js +0 -8
- package/bin/card/enums/DeliveryChannel.d.ts +0 -6
- package/bin/card/enums/DeliveryChannel.js +0 -10
- package/bin/card/enums/ExternalShippingStatus.d.ts +0 -14
- package/bin/card/enums/ExternalShippingStatus.js +0 -18
- package/bin/card/enums/ExternalShippingStatusDetails.d.ts +0 -54
- package/bin/card/enums/ExternalShippingStatusDetails.js +0 -58
- package/bin/card/enums/IssuanceType.d.ts +0 -4
- package/bin/card/enums/IssuanceType.js +0 -8
- package/bin/card/enums/NominatedOrInnominated.d.ts +0 -4
- package/bin/card/enums/NominatedOrInnominated.js +0 -8
- package/bin/card/enums/OwnershipType.d.ts +0 -4
- package/bin/card/enums/OwnershipType.js +0 -8
- package/bin/card/enums/ShippingStatus.d.ts +0 -6
- package/bin/card/enums/ShippingStatus.js +0 -10
- package/bin/card/enums/Status.d.ts +0 -6
- package/bin/card/enums/Status.js +0 -10
- package/bin/card/enums/UpdateKey.d.ts +0 -4
- package/bin/card/enums/UpdateKey.js +0 -8
- package/bin/card/enums/VirtualOrPhysical.d.ts +0 -4
- package/bin/card/enums/VirtualOrPhysical.js +0 -8
- package/bin/card/index.d.ts +0 -40
- package/bin/card/index.js +0 -59
- package/bin/card/validations/CardUpdateKeyConstraint.d.ts +0 -7
- package/bin/card/validations/CardUpdateKeyConstraint.js +0 -57
- package/bin/card/validations/IsPhoneNumberConstraint.d.ts +0 -6
- package/bin/card/validations/IsPhoneNumberConstraint.js +0 -39
- package/bin/contactInfo/dtos/GetAllContactInfoResponse.d.ts +0 -13
- package/bin/contactInfo/dtos/GetAllContactInfoResponse.js +0 -6
- package/bin/contactInfo/enums/TypeOfContactIdEnum.d.ts +0 -4
- package/bin/contactInfo/enums/TypeOfContactIdEnum.js +0 -8
- package/bin/contactInfo/index.d.ts +0 -2
- package/bin/contactInfo/index.js +0 -18
- package/bin/contract/dtos/ContractCreateRequest.d.ts +0 -8
- package/bin/contract/dtos/ContractCreateRequest.js +0 -46
- package/bin/contract/dtos/ContractCreateResponse.d.ts +0 -3
- package/bin/contract/dtos/ContractCreateResponse.js +0 -6
- package/bin/contract/index.d.ts +0 -2
- package/bin/contract/index.js +0 -19
- package/bin/country/enums/Country.d.ts +0 -4
- package/bin/country/enums/Country.js +0 -8
- package/bin/country/enums/CountryId.d.ts +0 -4
- package/bin/country/enums/CountryId.js +0 -9
- package/bin/country/index.d.ts +0 -2
- package/bin/country/index.js +0 -20
- package/bin/creditContract/dto/CreditContractCreateRequest.d.ts +0 -15
- package/bin/creditContract/dto/CreditContractCreateRequest.js +0 -72
- package/bin/creditContract/dtos/CreditContractCreateRequest.d.ts +0 -15
- package/bin/creditContract/dtos/CreditContractCreateRequest.js +0 -72
- package/bin/creditContract/enums/InstrumentEnum.d.ts +0 -6
- package/bin/creditContract/enums/InstrumentEnum.js +0 -2
- package/bin/creditContract/index.d.ts +0 -2
- package/bin/creditContract/index.js +0 -20
- package/bin/currency/dtos/CurrencyResponse.d.ts +0 -6
- package/bin/currency/dtos/CurrencyResponse.js +0 -6
- package/bin/currency/index.d.ts +0 -1
- package/bin/currency/index.js +0 -17
- package/bin/directory/dtos/DirectoryResponse.d.ts +0 -18
- package/bin/directory/dtos/DirectoryResponse.js +0 -2
- package/bin/directory/dtos/External.d.ts +0 -5
- package/bin/directory/dtos/External.js +0 -2
- package/bin/directory/enums/Profile.d.ts +0 -5
- package/bin/directory/enums/Profile.js +0 -9
- package/bin/directory/enums/Scope.d.ts +0 -6
- package/bin/directory/enums/Scope.js +0 -10
- package/bin/directory/enums/Status.d.ts +0 -6
- package/bin/directory/enums/Status.js +0 -10
- package/bin/directory/enums/TypeOfDirectoryId.d.ts +0 -5
- package/bin/directory/enums/TypeOfDirectoryId.js +0 -9
- package/bin/directory/index.d.ts +0 -3
- package/bin/directory/index.js +0 -21
- package/bin/eventBridge/dto/EventBridgeMessageRequest.d.ts +0 -3
- package/bin/eventBridge/dto/EventBridgeMessageRequest.js +0 -7
- package/bin/eventBridge/index.d.ts +0 -1
- package/bin/eventBridge/index.js +0 -18
- package/bin/exchangeRate/dtos/ExchangeRateCreateRequest.d.ts +0 -17
- package/bin/exchangeRate/dtos/ExchangeRateCreateRequest.js +0 -74
- package/bin/exchangeRate/dtos/ExchangeRateCreateResponse.d.ts +0 -3
- package/bin/exchangeRate/dtos/ExchangeRateCreateResponse.js +0 -7
- package/bin/exchangeRate/dtos/ExchangeRateResponse.d.ts +0 -18
- package/bin/exchangeRate/dtos/ExchangeRateResponse.js +0 -6
- package/bin/exchangeRate/dtos/GetExchangeRatesRequest.d.ts +0 -4
- package/bin/exchangeRate/dtos/GetExchangeRatesRequest.js +0 -5
- package/bin/exchangeRate/enums/ExchangeRateStatus.d.ts +0 -4
- package/bin/exchangeRate/enums/ExchangeRateStatus.js +0 -8
- package/bin/exchangeRate/index.d.ts +0 -5
- package/bin/exchangeRate/index.js +0 -23
- package/bin/genericMessage/dto/GenericMessageRequest.d.ts +0 -7
- package/bin/genericMessage/dto/GenericMessageRequest.js +0 -30
- package/bin/genericMessage/enums/GenericMessageSourceEnum.d.ts +0 -3
- package/bin/genericMessage/enums/GenericMessageSourceEnum.js +0 -7
- package/bin/genericMessage/index.d.ts +0 -1
- package/bin/genericMessage/index.js +0 -18
- package/bin/group/dtos/GroupAddDirectoryRequest.d.ts +0 -10
- package/bin/group/dtos/GroupAddDirectoryRequest.js +0 -48
- package/bin/group/dtos/GroupCreateRequest.d.ts +0 -13
- package/bin/group/dtos/GroupCreateRequest.js +0 -77
- package/bin/group/dtos/GroupDirectoryRelationsResponse.d.ts +0 -16
- package/bin/group/dtos/GroupDirectoryRelationsResponse.js +0 -6
- package/bin/group/dtos/GroupDirectoryRelationsUpdateRequest.d.ts +0 -3
- package/bin/group/dtos/GroupDirectoryRelationsUpdateRequest.js +0 -22
- package/bin/group/dtos/GroupResponse.d.ts +0 -12
- package/bin/group/dtos/GroupResponse.js +0 -6
- package/bin/group/dtos/GroupUpdateRequest.d.ts +0 -9
- package/bin/group/dtos/GroupUpdateRequest.js +0 -49
- package/bin/group/enums/GroupAction.d.ts +0 -4
- package/bin/group/enums/GroupAction.js +0 -8
- package/bin/group/enums/GroupStatus.d.ts +0 -4
- package/bin/group/enums/GroupStatus.js +0 -8
- package/bin/group/enums/RelationStatus.d.ts +0 -5
- package/bin/group/enums/RelationStatus.js +0 -9
- package/bin/group/enums/RelationType.d.ts +0 -5
- package/bin/group/enums/RelationType.js +0 -9
- package/bin/group/index.d.ts +0 -10
- package/bin/group/index.js +0 -28
- package/bin/header/TokenPayload.d.ts +0 -17
- package/bin/header/TokenPayload.js +0 -2
- package/bin/header/index.d.ts +0 -1
- package/bin/header/index.js +0 -17
- package/bin/helpers/ValidationUtils.d.ts +0 -6
- package/bin/helpers/ValidationUtils.js +0 -34
- package/bin/helpers/constans/regex.d.ts +0 -3
- package/bin/helpers/constans/regex.js +0 -9
- package/bin/identity/dtos/IdentificationDocument.d.ts +0 -22
- package/bin/identity/dtos/IdentificationDocument.js +0 -6
- package/bin/identity/dtos/PeopleCreateRequest.d.ts +0 -2
- package/bin/identity/dtos/PeopleCreateRequest.js +0 -6
- package/bin/identity/dtos/PeopleResponse.d.ts +0 -66
- package/bin/identity/dtos/PeopleResponse.js +0 -6
- package/bin/identity/dtos/PeopleUpdateRequest.d.ts +0 -68
- package/bin/identity/dtos/PeopleUpdateRequest.js +0 -6
- package/bin/identity/dtos/TypeOfDocument.d.ts +0 -10
- package/bin/identity/dtos/TypeOfDocument.js +0 -6
- package/bin/identity/enums/IdentificationDocumentStatus.d.ts +0 -5
- package/bin/identity/enums/IdentificationDocumentStatus.js +0 -9
- package/bin/identity/enums/SexDocument.d.ts +0 -4
- package/bin/identity/enums/SexDocument.js +0 -8
- package/bin/identity/enums/TypeOfDocument.d.ts +0 -6
- package/bin/identity/enums/TypeOfDocument.js +0 -10
- package/bin/identity/index.d.ts +0 -7
- package/bin/identity/index.js +0 -25
- package/bin/index.d.ts +0 -28
- package/bin/index.js +0 -54
- package/bin/notificationMessages/dtos/NotificationQueueMessageRequest.d.ts +0 -7
- package/bin/notificationMessages/dtos/NotificationQueueMessageRequest.js +0 -6
- package/bin/notificationMessages/dtos/QueueMessageDestination.d.ts +0 -6
- package/bin/notificationMessages/dtos/QueueMessageDestination.js +0 -6
- package/bin/notificationMessages/dtos/QueueMessageVariableValues.d.ts +0 -4
- package/bin/notificationMessages/dtos/QueueMessageVariableValues.js +0 -6
- package/bin/notificationMessages/enums/NotificationId.d.ts +0 -6
- package/bin/notificationMessages/enums/NotificationId.js +0 -10
- package/bin/notificationMessages/index.d.ts +0 -4
- package/bin/notificationMessages/index.js +0 -20
- package/bin/p2pContact/dtos/CreateP2pContactRequest.d.ts +0 -8
- package/bin/p2pContact/dtos/CreateP2pContactRequest.js +0 -6
- package/bin/p2pContact/index.d.ts +0 -1
- package/bin/p2pContact/index.js +0 -17
- package/bin/pomelo/dtos/PomeloCreateUserRequest.d.ts +0 -28
- package/bin/pomelo/dtos/PomeloCreateUserRequest.js +0 -2
- package/bin/pomelo/dtos/PomeloCreateUserResponse.d.ts +0 -35
- package/bin/pomelo/dtos/PomeloCreateUserResponse.js +0 -2
- package/bin/pomelo/enums/CountryEnum.d.ts +0 -8
- package/bin/pomelo/enums/CountryEnum.js +0 -12
- package/bin/pomelo/enums/IdentificationTypeEnum.d.ts +0 -7
- package/bin/pomelo/enums/IdentificationTypeEnum.js +0 -11
- package/bin/pomelo/enums/SexEnum.d.ts +0 -4
- package/bin/pomelo/enums/SexEnum.js +0 -8
- package/bin/pomelo/enums/TaxTypeEnum.d.ts +0 -7
- package/bin/pomelo/enums/TaxTypeEnum.js +0 -11
- package/bin/pomelo/enums/UserStatusEnum.d.ts +0 -4
- package/bin/pomelo/enums/UserStatusEnum.js +0 -8
- package/bin/pomelo/index.d.ts +0 -7
- package/bin/pomelo/index.js +0 -25
- package/bin/productCatalog/dtos/CreateProductCatalogRequest.d.ts +0 -14
- package/bin/productCatalog/dtos/CreateProductCatalogRequest.js +0 -6
- package/bin/productCatalog/dtos/GetProductCatalogRequest.d.ts +0 -3
- package/bin/productCatalog/dtos/GetProductCatalogRequest.js +0 -19
- package/bin/productCatalog/dtos/GetProductCatalogResponse.d.ts +0 -16
- package/bin/productCatalog/dtos/GetProductCatalogResponse.js +0 -62
- package/bin/productCatalog/enums/ProductTaxFeeTypeEnum.d.ts +0 -4
- package/bin/productCatalog/enums/ProductTaxFeeTypeEnum.js +0 -8
- package/bin/productCatalog/enums/ProductTypeEnum.d.ts +0 -12
- package/bin/productCatalog/enums/ProductTypeEnum.js +0 -16
- package/bin/productCatalog/index.d.ts +0 -4
- package/bin/productCatalog/index.js +0 -20
- package/bin/provider/enums/Provider.d.ts +0 -5
- package/bin/provider/enums/Provider.js +0 -9
- package/bin/provider/index.d.ts +0 -1
- package/bin/provider/index.js +0 -17
- package/bin/queue/dtos/QueueMessageBase.d.ts +0 -5
- package/bin/queue/dtos/QueueMessageBase.js +0 -25
- package/bin/servicePayment/dtos/GetCatalogParams.d.ts +0 -6
- package/bin/servicePayment/dtos/GetCatalogParams.js +0 -6
- package/bin/servicePayment/dtos/ServicePaymentRequest.d.ts +0 -8
- package/bin/servicePayment/dtos/ServicePaymentRequest.js +0 -46
- package/bin/servicePayment/index.d.ts +0 -2
- package/bin/servicePayment/index.js +0 -18
- package/bin/sessionActivity/dtos/SessionActivityQueueMessageRequest.d.ts +0 -10
- package/bin/sessionActivity/dtos/SessionActivityQueueMessageRequest.js +0 -6
- package/bin/sessionActivity/enums/SessionActivityActionEnum.d.ts +0 -8
- package/bin/sessionActivity/enums/SessionActivityActionEnum.js +0 -12
- package/bin/sessionActivity/enums/SessionActivityActionOriginEnum.d.ts +0 -5
- package/bin/sessionActivity/enums/SessionActivityActionOriginEnum.js +0 -9
- package/bin/sessionActivity/index.d.ts +0 -3
- package/bin/sessionActivity/index.js +0 -19
- package/bin/stpSpei/dtos/PutStpOrderRequest.d.ts +0 -11
- package/bin/stpSpei/dtos/PutStpOrderRequest.js +0 -6
- package/bin/stpSpei/dtos/SpeiWebhookMessage.d.ts +0 -9
- package/bin/stpSpei/dtos/SpeiWebhookMessage.js +0 -6
- package/bin/stpSpei/enums/WebhookMessageStatusEnum.d.ts +0 -5
- package/bin/stpSpei/enums/WebhookMessageStatusEnum.js +0 -9
- package/bin/stpSpei/index.d.ts +0 -3
- package/bin/stpSpei/index.js +0 -19
- package/bin/tern/dtos/TernAddress.d.ts +0 -8
- package/bin/tern/dtos/TernAddress.js +0 -40
- package/bin/tern/dtos/TernCreateAccountRequest.d.ts +0 -7
- package/bin/tern/dtos/TernCreateAccountRequest.js +0 -33
- package/bin/tern/dtos/TernCreateAccountResponse.d.ts +0 -5
- package/bin/tern/dtos/TernCreateAccountResponse.js +0 -25
- package/bin/tern/dtos/TernCreateUserRequest.d.ts +0 -15
- package/bin/tern/dtos/TernCreateUserRequest.js +0 -70
- package/bin/tern/dtos/TernCreateUserResponse.d.ts +0 -8
- package/bin/tern/dtos/TernCreateUserResponse.js +0 -37
- package/bin/tern/dtos/TernGetAccountRequest.d.ts +0 -5
- package/bin/tern/dtos/TernGetAccountRequest.js +0 -25
- package/bin/tern/dtos/TernGetAccountResponse.d.ts +0 -22
- package/bin/tern/dtos/TernGetAccountResponse.js +0 -87
- package/bin/tern/dtos/TernGetUserRequest.d.ts +0 -3
- package/bin/tern/dtos/TernGetUserRequest.js +0 -20
- package/bin/tern/dtos/TernGetUserResponse.d.ts +0 -24
- package/bin/tern/dtos/TernGetUserResponse.js +0 -96
- package/bin/tern/enums/TernAccountStatusEnum.d.ts +0 -4
- package/bin/tern/enums/TernAccountStatusEnum.js +0 -8
- package/bin/tern/enums/TernAccountTypeEnum.d.ts +0 -5
- package/bin/tern/enums/TernAccountTypeEnum.js +0 -9
- package/bin/tern/index.d.ts +0 -11
- package/bin/tern/index.js +0 -29
- package/bin/transaction/TransactionCreateRequest.d.ts +0 -2
- package/bin/transaction/TransactionCreateRequest.js +0 -6
- package/bin/transaction/TransactionCreateResponse.d.ts +0 -2
- package/bin/transaction/TransactionCreateResponse.js +0 -6
- package/bin/transaction/dtos/Credit.d.ts +0 -7
- package/bin/transaction/dtos/Credit.js +0 -41
- package/bin/transaction/dtos/Debit.d.ts +0 -6
- package/bin/transaction/dtos/Debit.js +0 -36
- package/bin/transaction/dtos/Notional.d.ts +0 -6
- package/bin/transaction/dtos/Notional.js +0 -36
- package/bin/transaction/dtos/Product.d.ts +0 -8
- package/bin/transaction/dtos/Product.js +0 -39
- package/bin/transaction/dtos/Total.d.ts +0 -6
- package/bin/transaction/dtos/Total.js +0 -36
- package/bin/transaction/dtos/TransactionCreateRequest.d.ts +0 -28
- package/bin/transaction/dtos/TransactionCreateRequest.js +0 -123
- package/bin/transaction/dtos/TransactionCreateResponse.d.ts +0 -2
- package/bin/transaction/dtos/TransactionCreateResponse.js +0 -6
- package/bin/transaction/dtos/TransactionGetResponse.d.ts +0 -17
- package/bin/transaction/dtos/TransactionGetResponse.js +0 -6
- package/bin/transaction/dtos/TransactionSourceEnum.d.ts +0 -5
- package/bin/transaction/dtos/TransactionSourceEnum.js +0 -9
- package/bin/transaction/enums/OperationEnum.d.ts +0 -4
- package/bin/transaction/enums/OperationEnum.js +0 -8
- package/bin/transaction/enums/TransactionSourceEnum.d.ts +0 -5
- package/bin/transaction/enums/TransactionSourceEnum.js +0 -9
- package/bin/transaction/index.d.ts +0 -5
- package/bin/transaction/index.js +0 -23
- package/bin/transactionProcessor/dtos/AmountInfo.d.ts +0 -6
- package/bin/transactionProcessor/dtos/AmountInfo.js +0 -6
- package/bin/transactionProcessor/dtos/AmountInfoItem.d.ts +0 -4
- package/bin/transactionProcessor/dtos/AmountInfoItem.js +0 -6
- package/bin/transactionProcessor/dtos/AuthorizeCreditCardAdjustmentRequest.d.ts +0 -17
- package/bin/transactionProcessor/dtos/AuthorizeCreditCardAdjustmentRequest.js +0 -6
- package/bin/transactionProcessor/dtos/AuthorizeCreditCardPurchaseRequest.d.ts +0 -16
- package/bin/transactionProcessor/dtos/AuthorizeCreditCardPurchaseRequest.js +0 -6
- package/bin/transactionProcessor/dtos/AuthorizeP2pTransactionRequest.d.ts +0 -9
- package/bin/transactionProcessor/dtos/AuthorizeP2pTransactionRequest.js +0 -6
- package/bin/transactionProcessor/dtos/AuthorizePocketTransactionRequest.d.ts +0 -8
- package/bin/transactionProcessor/dtos/AuthorizePocketTransactionRequest.js +0 -6
- package/bin/transactionProcessor/dtos/AuthorizeServicePaymentRequest.d.ts +0 -8
- package/bin/transactionProcessor/dtos/AuthorizeServicePaymentRequest.js +0 -6
- package/bin/transactionProcessor/dtos/AuthorizeSpeiBankTransferRequest.d.ts +0 -7
- package/bin/transactionProcessor/dtos/AuthorizeSpeiBankTransferRequest.js +0 -5
- package/bin/transactionProcessor/dtos/CardInfo.d.ts +0 -6
- package/bin/transactionProcessor/dtos/CardInfo.js +0 -6
- package/bin/transactionProcessor/dtos/InstallmentsInfo.d.ts +0 -7
- package/bin/transactionProcessor/dtos/InstallmentsInfo.js +0 -6
- package/bin/transactionProcessor/dtos/MerchantInfo.d.ts +0 -7
- package/bin/transactionProcessor/dtos/MerchantInfo.js +0 -6
- package/bin/transactionProcessor/dtos/SpeiBankTransferStatusUpdate.d.ts +0 -6
- package/bin/transactionProcessor/dtos/SpeiBankTransferStatusUpdate.js +0 -6
- package/bin/transactionProcessor/dtos/TransactionInfo.d.ts +0 -8
- package/bin/transactionProcessor/dtos/TransactionInfo.js +0 -6
- package/bin/transactionProcessor/dtos/TransactionProcessorQueueMessage.d.ts +0 -4
- package/bin/transactionProcessor/dtos/TransactionProcessorQueueMessage.js +0 -6
- package/bin/transactionProcessor/dtos/private/PrivateProcessorAmountInfo.d.ts +0 -6
- package/bin/transactionProcessor/dtos/private/PrivateProcessorAmountInfo.js +0 -6
- package/bin/transactionProcessor/dtos/private/PrivateProcessorAmountInfoItem.d.ts +0 -4
- package/bin/transactionProcessor/dtos/private/PrivateProcessorAmountInfoItem.js +0 -6
- package/bin/transactionProcessor/dtos/private/PrivateProcessorCardInfo.d.ts +0 -6
- package/bin/transactionProcessor/dtos/private/PrivateProcessorCardInfo.js +0 -6
- package/bin/transactionProcessor/dtos/private/PrivateProcessorMerchantInfo.d.ts +0 -7
- package/bin/transactionProcessor/dtos/private/PrivateProcessorMerchantInfo.js +0 -6
- package/bin/transactionProcessor/dtos/private/PrivateProcessorTransactionInfo.d.ts +0 -8
- package/bin/transactionProcessor/dtos/private/PrivateProcessorTransactionInfo.js +0 -6
- package/bin/transactionProcessor/dtos/private/PrivateTransactionProcessorRequest.d.ts +0 -16
- package/bin/transactionProcessor/dtos/private/PrivateTransactionProcessorRequest.js +0 -6
- package/bin/transactionProcessor/enums/AsyncTxStatusEnum.d.ts +0 -6
- package/bin/transactionProcessor/enums/AsyncTxStatusEnum.js +0 -10
- package/bin/transactionProcessor/enums/TransactionProcessorCodesEnum.d.ts +0 -14
- package/bin/transactionProcessor/enums/TransactionProcessorCodesEnum.js +0 -18
- package/bin/transactionProcessor/index.d.ts +0 -16
- package/bin/transactionProcessor/index.js +0 -32
|
@@ -1,54 +1,54 @@
|
|
|
1
|
-
export enum ExternalShippingStatusDetail {
|
|
2
|
-
CREATED = "CREATED",
|
|
3
|
-
PENDING = "PENDING",
|
|
4
|
-
READY_FOR_DISTRIBUTION = "READY_FOR_DISTRIBUTION",
|
|
5
|
-
ROAD_TO_PICKUP = "ROAD_TO_PICKUP",
|
|
6
|
-
UNSUCCESSFUL_PICKUP = "UNSUCCESSFUL_PICKUP",
|
|
7
|
-
ROAD_TO_RETURN = "ROAD_TO_RETURN",
|
|
8
|
-
UNSUCCESSFUL_RETURN = "UNSUCCESSFUL_RETURN",
|
|
9
|
-
REJECTED = "REJECTED",
|
|
10
|
-
SHIPMENT_SENT = "SHIPMENT_SENT",
|
|
11
|
-
SHIPMENT_CONFIRMED = "SHIPMENT_CONFIRMED",
|
|
12
|
-
IN_TRANSIT = "IN_TRANSIT",
|
|
13
|
-
RECEIVED_BY_CARRIER = "RECEIVED_BY_CARRIER",
|
|
14
|
-
FAILED_DELIVERY_ATTEMPT = "FAILED_DELIVERY_ATTEMPT",
|
|
15
|
-
WRONG_ADDRESS = "WRONG_ADDRESS",
|
|
16
|
-
DELIVERED = "DELIVERED",
|
|
17
|
-
NOT_DELIVERED = "NOT_DELIVERED",
|
|
18
|
-
DESTRUCTION = "DESTRUCTION",
|
|
19
|
-
ACCIDENT = "ACCIDENT",
|
|
20
|
-
STOLEN = "STOLEN",
|
|
21
|
-
VISIT_SCHEDULED = "VISIT_SCHEDULED",
|
|
22
|
-
CALL_SCHEDULED = "CALL_SCHEDULED",
|
|
23
|
-
VISIT_CONFIRMED = "VISIT_CONFIRMED",
|
|
24
|
-
CALL_FAILED_UNKNOWN = "CALL_FAILED_UNKNOWN",
|
|
25
|
-
NO_ACCESS = "NO_ACCESS",
|
|
26
|
-
FAILED_VISIT_DEAD = "FAILED_VISIT_DEAD",
|
|
27
|
-
WRONG_OPERATOR_ZONE = "WRONG_OPERATOR_ZONE",
|
|
28
|
-
CALL_RESCHEDULED = "CALL_RESCHEDULED",
|
|
29
|
-
CALL_FAILED_DEAD = "CALL_FAILED_DEAD",
|
|
30
|
-
CALL_FAILED = "CALL_FAILED",
|
|
31
|
-
WHATSAPP_FAILED = "WHATSAPP_FAILED",
|
|
32
|
-
COURIER_FAILED = "COURIER_FAILED",
|
|
33
|
-
MISSING_DOCUMENTS = "MISSING_DOCUMENTS",
|
|
34
|
-
RETURNED_TO_WAREHOUSE = "RETURNED_TO_WAREHOUSE",
|
|
35
|
-
CLIENT_NOT_PRESENT = "CLIENT_NOT_PRESENT",
|
|
36
|
-
INCOMPLETE_ADDRESS = "INCOMPLETE_ADDRESS",
|
|
37
|
-
COVERAGE = "COVERAGE",
|
|
38
|
-
OPERATOR_REASSIGNED = "OPERATOR_REASSIGNED",
|
|
39
|
-
CLIENT_UNKNOWN = "CLIENT_UNKNOWN",
|
|
40
|
-
NO_CALL = "NO_CALL",
|
|
41
|
-
ZONE_PROBLEMS = "ZONE_PROBLEMS",
|
|
42
|
-
CLIENT_WORK = "CLIENT_WORK",
|
|
43
|
-
FRAUD = "FRAUD",
|
|
44
|
-
FRAUD_CLIENT = "FRAUD_CLIENT",
|
|
45
|
-
MISSING_NUMBER = "MISSING_NUMBER",
|
|
46
|
-
CLIENT_CANCELED = "CLIENT_CANCELED",
|
|
47
|
-
DESTROYED_BY_CLIENT = "DESTROYED_BY_CLIENT",
|
|
48
|
-
WEATHER = "WEATHER",
|
|
49
|
-
LOST = "LOST",
|
|
50
|
-
CLIENT_TRIP = "CLIENT_TRIP",
|
|
51
|
-
FAILED_VISIT_UNKNOWN = "FAILED_VISIT_UNKNOWN",
|
|
52
|
-
RETURNED = "RETURNED",
|
|
53
|
-
OTHER = "OTHER",
|
|
1
|
+
export enum ExternalShippingStatusDetail {
|
|
2
|
+
CREATED = "CREATED",
|
|
3
|
+
PENDING = "PENDING",
|
|
4
|
+
READY_FOR_DISTRIBUTION = "READY_FOR_DISTRIBUTION",
|
|
5
|
+
ROAD_TO_PICKUP = "ROAD_TO_PICKUP",
|
|
6
|
+
UNSUCCESSFUL_PICKUP = "UNSUCCESSFUL_PICKUP",
|
|
7
|
+
ROAD_TO_RETURN = "ROAD_TO_RETURN",
|
|
8
|
+
UNSUCCESSFUL_RETURN = "UNSUCCESSFUL_RETURN",
|
|
9
|
+
REJECTED = "REJECTED",
|
|
10
|
+
SHIPMENT_SENT = "SHIPMENT_SENT",
|
|
11
|
+
SHIPMENT_CONFIRMED = "SHIPMENT_CONFIRMED",
|
|
12
|
+
IN_TRANSIT = "IN_TRANSIT",
|
|
13
|
+
RECEIVED_BY_CARRIER = "RECEIVED_BY_CARRIER",
|
|
14
|
+
FAILED_DELIVERY_ATTEMPT = "FAILED_DELIVERY_ATTEMPT",
|
|
15
|
+
WRONG_ADDRESS = "WRONG_ADDRESS",
|
|
16
|
+
DELIVERED = "DELIVERED",
|
|
17
|
+
NOT_DELIVERED = "NOT_DELIVERED",
|
|
18
|
+
DESTRUCTION = "DESTRUCTION",
|
|
19
|
+
ACCIDENT = "ACCIDENT",
|
|
20
|
+
STOLEN = "STOLEN",
|
|
21
|
+
VISIT_SCHEDULED = "VISIT_SCHEDULED",
|
|
22
|
+
CALL_SCHEDULED = "CALL_SCHEDULED",
|
|
23
|
+
VISIT_CONFIRMED = "VISIT_CONFIRMED",
|
|
24
|
+
CALL_FAILED_UNKNOWN = "CALL_FAILED_UNKNOWN",
|
|
25
|
+
NO_ACCESS = "NO_ACCESS",
|
|
26
|
+
FAILED_VISIT_DEAD = "FAILED_VISIT_DEAD",
|
|
27
|
+
WRONG_OPERATOR_ZONE = "WRONG_OPERATOR_ZONE",
|
|
28
|
+
CALL_RESCHEDULED = "CALL_RESCHEDULED",
|
|
29
|
+
CALL_FAILED_DEAD = "CALL_FAILED_DEAD",
|
|
30
|
+
CALL_FAILED = "CALL_FAILED",
|
|
31
|
+
WHATSAPP_FAILED = "WHATSAPP_FAILED",
|
|
32
|
+
COURIER_FAILED = "COURIER_FAILED",
|
|
33
|
+
MISSING_DOCUMENTS = "MISSING_DOCUMENTS",
|
|
34
|
+
RETURNED_TO_WAREHOUSE = "RETURNED_TO_WAREHOUSE",
|
|
35
|
+
CLIENT_NOT_PRESENT = "CLIENT_NOT_PRESENT",
|
|
36
|
+
INCOMPLETE_ADDRESS = "INCOMPLETE_ADDRESS",
|
|
37
|
+
COVERAGE = "COVERAGE",
|
|
38
|
+
OPERATOR_REASSIGNED = "OPERATOR_REASSIGNED",
|
|
39
|
+
CLIENT_UNKNOWN = "CLIENT_UNKNOWN",
|
|
40
|
+
NO_CALL = "NO_CALL",
|
|
41
|
+
ZONE_PROBLEMS = "ZONE_PROBLEMS",
|
|
42
|
+
CLIENT_WORK = "CLIENT_WORK",
|
|
43
|
+
FRAUD = "FRAUD",
|
|
44
|
+
FRAUD_CLIENT = "FRAUD_CLIENT",
|
|
45
|
+
MISSING_NUMBER = "MISSING_NUMBER",
|
|
46
|
+
CLIENT_CANCELED = "CLIENT_CANCELED",
|
|
47
|
+
DESTROYED_BY_CLIENT = "DESTROYED_BY_CLIENT",
|
|
48
|
+
WEATHER = "WEATHER",
|
|
49
|
+
LOST = "LOST",
|
|
50
|
+
CLIENT_TRIP = "CLIENT_TRIP",
|
|
51
|
+
FAILED_VISIT_UNKNOWN = "FAILED_VISIT_UNKNOWN",
|
|
52
|
+
RETURNED = "RETURNED",
|
|
53
|
+
OTHER = "OTHER",
|
|
54
54
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
export enum IssuanceType {
|
|
4
|
-
VIRTUAL = 'VIRTUAL',
|
|
5
|
-
PHYSICAL = 'PHYSICAL'
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
export enum IssuanceType {
|
|
4
|
+
VIRTUAL = 'VIRTUAL',
|
|
5
|
+
PHYSICAL = 'PHYSICAL'
|
|
6
6
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
export enum NominatedOrInnominated {
|
|
6
|
-
|
|
7
|
-
NOMINATED = "NOMINATED",
|
|
8
|
-
INNOMINATED = "INNOMINATED"
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export enum NominatedOrInnominated {
|
|
6
|
+
|
|
7
|
+
NOMINATED = "NOMINATED",
|
|
8
|
+
INNOMINATED = "INNOMINATED"
|
|
9
9
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export enum OwnershipType {
|
|
2
|
-
NOMINATE = 'NOMINATE',
|
|
3
|
-
INNOMINATE = 'INNOMINATE',
|
|
1
|
+
export enum OwnershipType {
|
|
2
|
+
NOMINATE = 'NOMINATE',
|
|
3
|
+
INNOMINATE = 'INNOMINATE',
|
|
4
4
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
export enum ShippingStatus {
|
|
5
|
-
REQUESTED = "REQUESTED",
|
|
6
|
-
IN_TRANSIT = "IN_TRANSIT",
|
|
7
|
-
DELIVERED = "DELIVERED",
|
|
8
|
-
WITH_ISSUE = "WITH_ISSUE"
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
export enum ShippingStatus {
|
|
5
|
+
REQUESTED = "REQUESTED",
|
|
6
|
+
IN_TRANSIT = "IN_TRANSIT",
|
|
7
|
+
DELIVERED = "DELIVERED",
|
|
8
|
+
WITH_ISSUE = "WITH_ISSUE"
|
|
9
9
|
}
|
package/src/card/enums/Status.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
export enum Status {
|
|
3
|
-
ACTIVE = 'ACTIVE',
|
|
4
|
-
PENDING = 'PENDING',
|
|
5
|
-
PAUSED = 'PAUSED',
|
|
6
|
-
CANCELLED = 'CANCELLED'
|
|
1
|
+
|
|
2
|
+
export enum Status {
|
|
3
|
+
ACTIVE = 'ACTIVE',
|
|
4
|
+
PENDING = 'PENDING',
|
|
5
|
+
PAUSED = 'PAUSED',
|
|
6
|
+
CANCELLED = 'CANCELLED'
|
|
7
7
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
export enum UpdateKey {
|
|
4
|
-
CHANGE_STATUS = 'CHANGE_STATUS',
|
|
5
|
-
CHANGE_PIN = 'CHANGE_PIN'
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
export enum UpdateKey {
|
|
4
|
+
CHANGE_STATUS = 'CHANGE_STATUS',
|
|
5
|
+
CHANGE_PIN = 'CHANGE_PIN'
|
|
6
6
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
export enum VirtualOrPhysical {
|
|
5
|
-
VIRTUAL = "VIRTUAL",
|
|
6
|
-
PHYSICAL = "PHYSICAL"
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
export enum VirtualOrPhysical {
|
|
5
|
+
VIRTUAL = "VIRTUAL",
|
|
6
|
+
PHYSICAL = "PHYSICAL"
|
|
7
7
|
}
|
package/src/card/index.ts
CHANGED
|
@@ -1,50 +1,50 @@
|
|
|
1
|
-
|
|
2
|
-
//dtos/internal
|
|
3
|
-
export * from './dtos/Internal/ActivateBankAccountCardRequest';
|
|
4
|
-
export * from './dtos/Internal/ActivateBankAccountCardResponse';
|
|
5
|
-
export * from './dtos/Internal/CreateBankAccountCardRequest';
|
|
6
|
-
export * from './dtos/Internal/CreateBankAccountCardResponse';
|
|
7
|
-
export * from './dtos/Internal/CreateBankAccountCardShippingRequest';
|
|
8
|
-
export * from './dtos/Internal/CreateBankAccountCardShippingResponse';
|
|
9
|
-
export * from './dtos/Internal/GetBankAccountShippingRequest';
|
|
10
|
-
export * from './dtos/Internal/GetBankAccountShippingResponse';
|
|
11
|
-
export * from './dtos/Internal/UpdateBankAccountCardRequest';
|
|
12
|
-
export * from './dtos/Internal/UpdateBankAccountCardResponse';
|
|
13
|
-
export * from './dtos/Internal/GetBankAccountCardResponse';
|
|
14
|
-
export * from './dtos/Internal/AssignCardRequest';
|
|
15
|
-
|
|
16
|
-
//dtos
|
|
17
|
-
export * from './dtos/CardActivateRequest';
|
|
18
|
-
export * from './dtos/CardApplicationRequest';
|
|
19
|
-
export * from './dtos/CardUpdateRequest';
|
|
20
|
-
export * from './dtos/CardCreateAdditionalRequest';
|
|
21
|
-
export * from './dtos/CardBalanceResponse';
|
|
22
|
-
export * from './dtos/CardResponse';
|
|
23
|
-
export * from './dtos/CardShipmentQueueMessage'
|
|
24
|
-
export * from './dtos/CardShipmentUpdateRequest'
|
|
25
|
-
export * from './dtos/CardAdditionalRequest'
|
|
26
|
-
export * from './dtos/CardSensitiveInformationResponse'
|
|
27
|
-
export * from './dtos/CardSummaryResponse'
|
|
28
|
-
export * from './dtos/CardAdditionalResponse'
|
|
29
|
-
|
|
30
|
-
//enums
|
|
31
|
-
export * from './enums/CardType';
|
|
32
|
-
export * from './enums/CardUpdateKey';
|
|
33
|
-
export * from './enums/IssuanceType';
|
|
34
|
-
export * from './enums/Status';
|
|
35
|
-
export * from './enums/OwnershipType';
|
|
36
|
-
export * from './enums/Brand';
|
|
37
|
-
export * from './enums/UpdateKey';
|
|
38
|
-
export * from './enums/CardIssuanceStatus';
|
|
39
|
-
export * from './enums/NominatedOrInnominated'
|
|
40
|
-
export * from './enums/CreditOrDebit'
|
|
41
|
-
export * from './enums/ShippingStatus'
|
|
42
|
-
export * from './enums/Status'
|
|
43
|
-
export * from './enums/VirtualOrPhysical'
|
|
44
|
-
export * from './enums/DeliveryChannel'
|
|
45
|
-
export * from './enums/ExternalShippingStatus'
|
|
46
|
-
export * from './enums/ExternalShippingStatusDetails'
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
1
|
+
|
|
2
|
+
//dtos/internal
|
|
3
|
+
export * from './dtos/Internal/ActivateBankAccountCardRequest';
|
|
4
|
+
export * from './dtos/Internal/ActivateBankAccountCardResponse';
|
|
5
|
+
export * from './dtos/Internal/CreateBankAccountCardRequest';
|
|
6
|
+
export * from './dtos/Internal/CreateBankAccountCardResponse';
|
|
7
|
+
export * from './dtos/Internal/CreateBankAccountCardShippingRequest';
|
|
8
|
+
export * from './dtos/Internal/CreateBankAccountCardShippingResponse';
|
|
9
|
+
export * from './dtos/Internal/GetBankAccountShippingRequest';
|
|
10
|
+
export * from './dtos/Internal/GetBankAccountShippingResponse';
|
|
11
|
+
export * from './dtos/Internal/UpdateBankAccountCardRequest';
|
|
12
|
+
export * from './dtos/Internal/UpdateBankAccountCardResponse';
|
|
13
|
+
export * from './dtos/Internal/GetBankAccountCardResponse';
|
|
14
|
+
export * from './dtos/Internal/AssignCardRequest';
|
|
15
|
+
|
|
16
|
+
//dtos
|
|
17
|
+
export * from './dtos/CardActivateRequest';
|
|
18
|
+
export * from './dtos/CardApplicationRequest';
|
|
19
|
+
export * from './dtos/CardUpdateRequest';
|
|
20
|
+
export * from './dtos/CardCreateAdditionalRequest';
|
|
21
|
+
export * from './dtos/CardBalanceResponse';
|
|
22
|
+
export * from './dtos/CardResponse';
|
|
23
|
+
export * from './dtos/CardShipmentQueueMessage'
|
|
24
|
+
export * from './dtos/CardShipmentUpdateRequest'
|
|
25
|
+
export * from './dtos/CardAdditionalRequest'
|
|
26
|
+
export * from './dtos/CardSensitiveInformationResponse'
|
|
27
|
+
export * from './dtos/CardSummaryResponse'
|
|
28
|
+
export * from './dtos/CardAdditionalResponse'
|
|
29
|
+
|
|
30
|
+
//enums
|
|
31
|
+
export * from './enums/CardType';
|
|
32
|
+
export * from './enums/CardUpdateKey';
|
|
33
|
+
export * from './enums/IssuanceType';
|
|
34
|
+
export * from './enums/Status';
|
|
35
|
+
export * from './enums/OwnershipType';
|
|
36
|
+
export * from './enums/Brand';
|
|
37
|
+
export * from './enums/UpdateKey';
|
|
38
|
+
export * from './enums/CardIssuanceStatus';
|
|
39
|
+
export * from './enums/NominatedOrInnominated'
|
|
40
|
+
export * from './enums/CreditOrDebit'
|
|
41
|
+
export * from './enums/ShippingStatus'
|
|
42
|
+
export * from './enums/Status'
|
|
43
|
+
export * from './enums/VirtualOrPhysical'
|
|
44
|
+
export * from './enums/DeliveryChannel'
|
|
45
|
+
export * from './enums/ExternalShippingStatus'
|
|
46
|
+
export * from './enums/ExternalShippingStatusDetails'
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
|
|
@@ -1,54 +1,54 @@
|
|
|
1
|
-
import { ValidationArguments, ValidationOptions, ValidatorConstraint, registerDecorator } from "class-validator";
|
|
2
|
-
import { CardUpdateRequest } from "../dtos/CardUpdateRequest";
|
|
3
|
-
import { Status } from "../enums/Status";
|
|
4
|
-
import { UpdateKey } from "../enums/UpdateKey";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
@ValidatorConstraint({ async: true })
|
|
8
|
-
export class CardUpdateKeyConstraint {
|
|
9
|
-
|
|
10
|
-
public static validateUpdateKey(value: string | Status, arg: ValidationArguments) {
|
|
11
|
-
|
|
12
|
-
const cardUpdateRequest = arg.object as CardUpdateRequest;
|
|
13
|
-
|
|
14
|
-
// Validar si el valor es uno de los status válidos
|
|
15
|
-
if (cardUpdateRequest.type === UpdateKey.CHANGE_STATUS) {
|
|
16
|
-
return Object.values(Status).includes(value as Status);
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
// Validar si el valor es un string de 4 dígitos no consecutivos
|
|
20
|
-
if (cardUpdateRequest.type === UpdateKey.CHANGE_PIN) {
|
|
21
|
-
|
|
22
|
-
if (!/^\d{4}$/.test(value)) return false; // Debe ser un string de 4 dígitos
|
|
23
|
-
|
|
24
|
-
// Verifica que no sean consecutivos asc o desc
|
|
25
|
-
for (let i = 0; i < value.length - 1; i++) {
|
|
26
|
-
if (Math.abs(parseInt(value[i]) - parseInt(value[i + 1])) !== 1) {
|
|
27
|
-
continue;
|
|
28
|
-
} else {
|
|
29
|
-
return false;
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
return true;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
// En caso de que type no sea ninguno de los esperados
|
|
36
|
-
return false;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
defaultMessage(args: ValidationArguments) {
|
|
40
|
-
return "The value is not valid for the update type.";
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
export function IsValueValid(validationOptions?: ValidationOptions) {
|
|
45
|
-
return function (object: Object, propertyName: string) {
|
|
46
|
-
registerDecorator({
|
|
47
|
-
target: object.constructor,
|
|
48
|
-
propertyName: propertyName,
|
|
49
|
-
options: validationOptions,
|
|
50
|
-
constraints: [],
|
|
51
|
-
validator: CardUpdateKeyConstraint,
|
|
52
|
-
});
|
|
53
|
-
};
|
|
1
|
+
import { ValidationArguments, ValidationOptions, ValidatorConstraint, registerDecorator } from "class-validator";
|
|
2
|
+
import { CardUpdateRequest } from "../dtos/CardUpdateRequest";
|
|
3
|
+
import { Status } from "../enums/Status";
|
|
4
|
+
import { UpdateKey } from "../enums/UpdateKey";
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
@ValidatorConstraint({ async: true })
|
|
8
|
+
export class CardUpdateKeyConstraint {
|
|
9
|
+
|
|
10
|
+
public static validateUpdateKey(value: string | Status, arg: ValidationArguments) {
|
|
11
|
+
|
|
12
|
+
const cardUpdateRequest = arg.object as CardUpdateRequest;
|
|
13
|
+
|
|
14
|
+
// Validar si el valor es uno de los status válidos
|
|
15
|
+
if (cardUpdateRequest.type === UpdateKey.CHANGE_STATUS) {
|
|
16
|
+
return Object.values(Status).includes(value as Status);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
// Validar si el valor es un string de 4 dígitos no consecutivos
|
|
20
|
+
if (cardUpdateRequest.type === UpdateKey.CHANGE_PIN) {
|
|
21
|
+
|
|
22
|
+
if (!/^\d{4}$/.test(value)) return false; // Debe ser un string de 4 dígitos
|
|
23
|
+
|
|
24
|
+
// Verifica que no sean consecutivos asc o desc
|
|
25
|
+
for (let i = 0; i < value.length - 1; i++) {
|
|
26
|
+
if (Math.abs(parseInt(value[i]) - parseInt(value[i + 1])) !== 1) {
|
|
27
|
+
continue;
|
|
28
|
+
} else {
|
|
29
|
+
return false;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
return true;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
// En caso de que type no sea ninguno de los esperados
|
|
36
|
+
return false;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
defaultMessage(args: ValidationArguments) {
|
|
40
|
+
return "The value is not valid for the update type.";
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
export function IsValueValid(validationOptions?: ValidationOptions) {
|
|
45
|
+
return function (object: Object, propertyName: string) {
|
|
46
|
+
registerDecorator({
|
|
47
|
+
target: object.constructor,
|
|
48
|
+
propertyName: propertyName,
|
|
49
|
+
options: validationOptions,
|
|
50
|
+
constraints: [],
|
|
51
|
+
validator: CardUpdateKeyConstraint,
|
|
52
|
+
});
|
|
53
|
+
};
|
|
54
54
|
}
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import { ValidatorConstraint, ValidatorConstraintInterface, ValidationArguments, registerDecorator, ValidationOptions } from 'class-validator';
|
|
2
|
-
import { regexPhoneNumber } from '../../helpers/constans/regex';
|
|
3
|
-
|
|
4
|
-
@ValidatorConstraint({ async: true })
|
|
5
|
-
export class IsPhoneNumberConstraint implements ValidatorConstraintInterface {
|
|
6
|
-
validate(deliveryPhoneNumber: string, args: ValidationArguments) {
|
|
7
|
-
if (deliveryPhoneNumber === undefined || deliveryPhoneNumber === null || deliveryPhoneNumber === "") {
|
|
8
|
-
return true;
|
|
9
|
-
}
|
|
10
|
-
return regexPhoneNumber.test(deliveryPhoneNumber);
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
defaultMessage(args: ValidationArguments) {
|
|
14
|
-
return "The phone number is not valid. The expected format is +############.";
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
// Decorador que usaremos en nuestras clases DTO
|
|
19
|
-
export function IsPhoneNumberFiado(validationOptions?: ValidationOptions) {
|
|
20
|
-
return function (object: Object, propertyName: string) {
|
|
21
|
-
registerDecorator({
|
|
22
|
-
target: object.constructor,
|
|
23
|
-
propertyName: propertyName,
|
|
24
|
-
options: validationOptions,
|
|
25
|
-
constraints: [],
|
|
26
|
-
validator: IsPhoneNumberConstraint,
|
|
27
|
-
});
|
|
28
|
-
};
|
|
29
|
-
}
|
|
1
|
+
import { ValidatorConstraint, ValidatorConstraintInterface, ValidationArguments, registerDecorator, ValidationOptions } from 'class-validator';
|
|
2
|
+
import { regexPhoneNumber } from '../../helpers/constans/regex';
|
|
3
|
+
|
|
4
|
+
@ValidatorConstraint({ async: true })
|
|
5
|
+
export class IsPhoneNumberConstraint implements ValidatorConstraintInterface {
|
|
6
|
+
validate(deliveryPhoneNumber: string, args: ValidationArguments) {
|
|
7
|
+
if (deliveryPhoneNumber === undefined || deliveryPhoneNumber === null || deliveryPhoneNumber === "") {
|
|
8
|
+
return true;
|
|
9
|
+
}
|
|
10
|
+
return regexPhoneNumber.test(deliveryPhoneNumber);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
defaultMessage(args: ValidationArguments) {
|
|
14
|
+
return "The phone number is not valid. The expected format is +############.";
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
// Decorador que usaremos en nuestras clases DTO
|
|
19
|
+
export function IsPhoneNumberFiado(validationOptions?: ValidationOptions) {
|
|
20
|
+
return function (object: Object, propertyName: string) {
|
|
21
|
+
registerDecorator({
|
|
22
|
+
target: object.constructor,
|
|
23
|
+
propertyName: propertyName,
|
|
24
|
+
options: validationOptions,
|
|
25
|
+
constraints: [],
|
|
26
|
+
validator: IsPhoneNumberConstraint,
|
|
27
|
+
});
|
|
28
|
+
};
|
|
29
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
import { IsBoolean, IsString,Length, Matches, IsEnum } from 'class-validator';
|
|
4
|
+
import { regexIso8601, regexUuidV4 } from '../../helpers/constans/regex';
|
|
5
|
+
import { TypeOfContactIdEnum } from '../enums/TypeOfContactIdEnum';
|
|
6
|
+
import { TypeOfDirectoryId } from '../../directory';
|
|
7
|
+
|
|
8
|
+
export class ContactInfoCreateRequest {
|
|
9
|
+
@IsString()
|
|
10
|
+
contact: string;
|
|
11
|
+
|
|
12
|
+
@Matches(regexIso8601,
|
|
13
|
+
{
|
|
14
|
+
message: 'createDate must be a valid ISO 8601 date string',
|
|
15
|
+
})
|
|
16
|
+
createDate: string;
|
|
17
|
+
|
|
18
|
+
@Matches(regexUuidV4,
|
|
19
|
+
{
|
|
20
|
+
message: 'directoryId must be a valid UUID v4',
|
|
21
|
+
})
|
|
22
|
+
directoryId: string;
|
|
23
|
+
|
|
24
|
+
@IsBoolean()
|
|
25
|
+
isApp: boolean;
|
|
26
|
+
|
|
27
|
+
@IsBoolean()
|
|
28
|
+
isDeleted: boolean;
|
|
29
|
+
|
|
30
|
+
@IsBoolean()
|
|
31
|
+
isPrincipal: boolean;
|
|
32
|
+
|
|
33
|
+
@IsBoolean()
|
|
34
|
+
isSMS: boolean;
|
|
35
|
+
|
|
36
|
+
@IsBoolean()
|
|
37
|
+
isVoice: boolean;
|
|
38
|
+
|
|
39
|
+
@IsBoolean()
|
|
40
|
+
isWhatsApp: boolean;
|
|
41
|
+
|
|
42
|
+
@IsString()
|
|
43
|
+
note: string;
|
|
44
|
+
|
|
45
|
+
@IsString()
|
|
46
|
+
@Length(1, 100)
|
|
47
|
+
tenantId: string;
|
|
48
|
+
|
|
49
|
+
@IsEnum(TypeOfContactIdEnum)
|
|
50
|
+
typeOfContactId: string;
|
|
51
|
+
|
|
52
|
+
@IsEnum(TypeOfDirectoryId)
|
|
53
|
+
typeOfDirectoryId: string;
|
|
54
|
+
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import {TypeOfContactIdEnum} from "../enums/TypeOfContactIdEnum";
|
|
2
|
-
|
|
3
|
-
export class GetAllContactInfoResponse {
|
|
4
|
-
id: string;
|
|
5
|
-
contact: string;
|
|
6
|
-
directoryId: string;
|
|
7
|
-
isPrincipal: boolean
|
|
8
|
-
typeOfContactId: TypeOfContactIdEnum;
|
|
9
|
-
isWhatsApp: boolean;
|
|
10
|
-
isVoice: boolean;
|
|
11
|
-
isSMS: boolean;
|
|
12
|
-
isApp: boolean;
|
|
13
|
-
note: string;
|
|
1
|
+
import {TypeOfContactIdEnum} from "../enums/TypeOfContactIdEnum";
|
|
2
|
+
|
|
3
|
+
export class GetAllContactInfoResponse {
|
|
4
|
+
id: string;
|
|
5
|
+
contact: string;
|
|
6
|
+
directoryId: string;
|
|
7
|
+
isPrincipal: boolean
|
|
8
|
+
typeOfContactId: TypeOfContactIdEnum;
|
|
9
|
+
isWhatsApp: boolean;
|
|
10
|
+
isVoice: boolean;
|
|
11
|
+
isSMS: boolean;
|
|
12
|
+
isApp: boolean;
|
|
13
|
+
note: string;
|
|
14
14
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export enum TypeOfContactIdEnum {
|
|
2
|
-
PHONE = "PHONE",
|
|
3
|
-
EMAIL = "EMAIL"
|
|
1
|
+
export enum TypeOfContactIdEnum {
|
|
2
|
+
PHONE = "PHONE",
|
|
3
|
+
EMAIL = "EMAIL"
|
|
4
4
|
}
|
package/src/contactInfo/index.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './dtos/GetAllContactInfoResponse';
|
|
1
|
+
export * from './dtos/GetAllContactInfoResponse';
|
|
2
2
|
export * from './enums/TypeOfContactIdEnum';
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import { IsNotEmpty, IsString } from 'class-validator';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
export class ContractCreateRequest {
|
|
5
|
-
|
|
6
|
-
@IsString()
|
|
7
|
-
@IsNotEmpty()
|
|
8
|
-
id: string;
|
|
9
|
-
|
|
10
|
-
@IsString()
|
|
11
|
-
@IsNotEmpty()
|
|
12
|
-
indexName: string;
|
|
13
|
-
|
|
14
|
-
@IsString()
|
|
15
|
-
@IsNotEmpty()
|
|
16
|
-
dob: string;
|
|
17
|
-
|
|
18
|
-
@IsString()
|
|
19
|
-
@IsNotEmpty()
|
|
20
|
-
curp: string;
|
|
21
|
-
|
|
22
|
-
@IsString()
|
|
23
|
-
@IsNotEmpty()
|
|
24
|
-
createDate: string;
|
|
25
|
-
|
|
26
|
-
@IsString()
|
|
27
|
-
@IsNotEmpty()
|
|
28
|
-
signBase64: string;
|
|
29
|
-
}
|
|
1
|
+
import { IsNotEmpty, IsString } from 'class-validator';
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
export class ContractCreateRequest {
|
|
5
|
+
|
|
6
|
+
@IsString()
|
|
7
|
+
@IsNotEmpty()
|
|
8
|
+
id: string;
|
|
9
|
+
|
|
10
|
+
@IsString()
|
|
11
|
+
@IsNotEmpty()
|
|
12
|
+
indexName: string;
|
|
13
|
+
|
|
14
|
+
@IsString()
|
|
15
|
+
@IsNotEmpty()
|
|
16
|
+
dob: string;
|
|
17
|
+
|
|
18
|
+
@IsString()
|
|
19
|
+
@IsNotEmpty()
|
|
20
|
+
curp: string;
|
|
21
|
+
|
|
22
|
+
@IsString()
|
|
23
|
+
@IsNotEmpty()
|
|
24
|
+
createDate: string;
|
|
25
|
+
|
|
26
|
+
@IsString()
|
|
27
|
+
@IsNotEmpty()
|
|
28
|
+
signBase64: string;
|
|
29
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export class ContractCreateResponse {
|
|
2
|
-
reportBase64: string;
|
|
1
|
+
export class ContractCreateResponse {
|
|
2
|
+
reportBase64: string;
|
|
3
3
|
}
|
package/src/contract/index.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
//dtos
|
|
3
|
-
export * from './dtos/ContractCreateRequest';
|
|
4
|
-
export * from './dtos/ContractCreateResponse';
|
|
1
|
+
|
|
2
|
+
//dtos
|
|
3
|
+
export * from './dtos/ContractCreateRequest';
|
|
4
|
+
export * from './dtos/ContractCreateResponse';
|