@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,20 @@
|
|
|
1
|
+
import { AddressResponse } from "../../../address";
|
|
2
|
+
import { ExternalShippingStatus } from "../../enums/ExternalShippingStatus";
|
|
3
|
+
import { ExternalShippingStatusDetail } from "../../enums/ExternalShippingStatusDetails";
|
|
4
|
+
import { ShippingStatus } from "../../enums/ShippingStatus";
|
|
5
|
+
import { Status } from "../../enums/Status";
|
|
6
|
+
export declare class UpdateBankAccountCardRequest {
|
|
7
|
+
cardId: string;
|
|
8
|
+
nominated?: boolean | null;
|
|
9
|
+
status?: Status | null;
|
|
10
|
+
pin?: string | null;
|
|
11
|
+
externalShippingId?: string;
|
|
12
|
+
externalShippingStatus?: ExternalShippingStatus | null;
|
|
13
|
+
externalShippingStatusDetail?: ExternalShippingStatusDetail | null;
|
|
14
|
+
shippingStatus?: ShippingStatus | null;
|
|
15
|
+
shippingTrackingNumber?: string | null;
|
|
16
|
+
shippingTrackingUrl?: string | null;
|
|
17
|
+
firstName?: string | null;
|
|
18
|
+
lastName?: string | null;
|
|
19
|
+
address?: AddressResponse | null;
|
|
20
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Brand = void 0;
|
|
4
|
+
var Brand;
|
|
5
|
+
(function (Brand) {
|
|
6
|
+
Brand["VISA"] = "VISA";
|
|
7
|
+
Brand["MASTERCARD"] = "MASTERCARD";
|
|
8
|
+
Brand["AMERICAN_EXPRESS"] = "AMERICAN_EXPRESS";
|
|
9
|
+
Brand["DISCOVER"] = "DISCOVER";
|
|
10
|
+
Brand["DINERS_CLUB"] = "DINERS_CLUB";
|
|
11
|
+
Brand["JCB"] = "JCB";
|
|
12
|
+
})(Brand || (exports.Brand = Brand = {}));
|
|
13
|
+
;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CardIssuanceStatus = void 0;
|
|
4
|
+
var CardIssuanceStatus;
|
|
5
|
+
(function (CardIssuanceStatus) {
|
|
6
|
+
CardIssuanceStatus["IN_PROCESS"] = "IN_PROCESS";
|
|
7
|
+
CardIssuanceStatus["COMPLETED"] = "COMPLETED";
|
|
8
|
+
CardIssuanceStatus["FAILED"] = "FAILED";
|
|
9
|
+
})(CardIssuanceStatus || (exports.CardIssuanceStatus = CardIssuanceStatus = {}));
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CardIssuing = void 0;
|
|
4
|
+
var CardIssuing;
|
|
5
|
+
(function (CardIssuing) {
|
|
6
|
+
CardIssuing["NEW"] = "NEW";
|
|
7
|
+
CardIssuing["REISSUE"] = "REISSUE";
|
|
8
|
+
CardIssuing["REPLACE"] = "REPLACE";
|
|
9
|
+
})(CardIssuing || (exports.CardIssuing = CardIssuing = {}));
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CardType = void 0;
|
|
4
|
+
var CardType;
|
|
5
|
+
(function (CardType) {
|
|
6
|
+
CardType["CREDIT"] = "CREDIT";
|
|
7
|
+
CardType["DEBIT"] = "DEBIT";
|
|
8
|
+
CardType["PREPAID"] = "PREPAID";
|
|
9
|
+
})(CardType || (exports.CardType = CardType = {}));
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CardUpdateKey = void 0;
|
|
4
|
+
var CardUpdateKey;
|
|
5
|
+
(function (CardUpdateKey) {
|
|
6
|
+
CardUpdateKey["CHANGE_STATUS"] = "CHANGE_STATUS";
|
|
7
|
+
CardUpdateKey["CHANGE_PIN"] = "CHANGE_PIN";
|
|
8
|
+
})(CardUpdateKey || (exports.CardUpdateKey = CardUpdateKey = {}));
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CreditOrDebit = void 0;
|
|
4
|
+
var CreditOrDebit;
|
|
5
|
+
(function (CreditOrDebit) {
|
|
6
|
+
CreditOrDebit["CREDIT"] = "CREDIT";
|
|
7
|
+
CreditOrDebit["DEBIT"] = "DEBIT";
|
|
8
|
+
})(CreditOrDebit || (exports.CreditOrDebit = CreditOrDebit = {}));
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeliveryChannel = void 0;
|
|
4
|
+
var DeliveryChannel;
|
|
5
|
+
(function (DeliveryChannel) {
|
|
6
|
+
DeliveryChannel["OCURRE"] = "OCURRE";
|
|
7
|
+
DeliveryChannel["DOMICILIO"] = "DOMICILIO";
|
|
8
|
+
DeliveryChannel["AGENT"] = "AGENT";
|
|
9
|
+
DeliveryChannel["VIRTUAL"] = "VIRTUAL";
|
|
10
|
+
})(DeliveryChannel || (exports.DeliveryChannel = DeliveryChannel = {}));
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export declare enum ExternalShippingStatus {
|
|
2
|
+
CREATED = "CREATED",
|
|
3
|
+
PENDING = "PENDING",
|
|
4
|
+
TRACKED = "TRACKED",
|
|
5
|
+
REJECTED = "REJECTED",
|
|
6
|
+
IN_TRANSIT = "IN_TRANSIT",
|
|
7
|
+
FAILED_DELIVERY_ATTEMPT = "FAILED_DELIVERY_ATTEMPT",
|
|
8
|
+
DELIVERED = "DELIVERED",
|
|
9
|
+
NOT_DELIVERED = "NOT_DELIVERED",
|
|
10
|
+
START_OF_CUSTODY = "START_OF_CUSTODY",
|
|
11
|
+
DESTRUCTION = "DESTRUCTION",
|
|
12
|
+
ACCIDENT = "ACCIDENT",
|
|
13
|
+
UNKNOWN = "UNKNOWN"
|
|
14
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ExternalShippingStatus = void 0;
|
|
4
|
+
var ExternalShippingStatus;
|
|
5
|
+
(function (ExternalShippingStatus) {
|
|
6
|
+
ExternalShippingStatus["CREATED"] = "CREATED";
|
|
7
|
+
ExternalShippingStatus["PENDING"] = "PENDING";
|
|
8
|
+
ExternalShippingStatus["TRACKED"] = "TRACKED";
|
|
9
|
+
ExternalShippingStatus["REJECTED"] = "REJECTED";
|
|
10
|
+
ExternalShippingStatus["IN_TRANSIT"] = "IN_TRANSIT";
|
|
11
|
+
ExternalShippingStatus["FAILED_DELIVERY_ATTEMPT"] = "FAILED_DELIVERY_ATTEMPT";
|
|
12
|
+
ExternalShippingStatus["DELIVERED"] = "DELIVERED";
|
|
13
|
+
ExternalShippingStatus["NOT_DELIVERED"] = "NOT_DELIVERED";
|
|
14
|
+
ExternalShippingStatus["START_OF_CUSTODY"] = "START_OF_CUSTODY";
|
|
15
|
+
ExternalShippingStatus["DESTRUCTION"] = "DESTRUCTION";
|
|
16
|
+
ExternalShippingStatus["ACCIDENT"] = "ACCIDENT";
|
|
17
|
+
ExternalShippingStatus["UNKNOWN"] = "UNKNOWN";
|
|
18
|
+
})(ExternalShippingStatus || (exports.ExternalShippingStatus = ExternalShippingStatus = {}));
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
export declare 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
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ExternalShippingStatusDetail = void 0;
|
|
4
|
+
var ExternalShippingStatusDetail;
|
|
5
|
+
(function (ExternalShippingStatusDetail) {
|
|
6
|
+
ExternalShippingStatusDetail["CREATED"] = "CREATED";
|
|
7
|
+
ExternalShippingStatusDetail["PENDING"] = "PENDING";
|
|
8
|
+
ExternalShippingStatusDetail["READY_FOR_DISTRIBUTION"] = "READY_FOR_DISTRIBUTION";
|
|
9
|
+
ExternalShippingStatusDetail["ROAD_TO_PICKUP"] = "ROAD_TO_PICKUP";
|
|
10
|
+
ExternalShippingStatusDetail["UNSUCCESSFUL_PICKUP"] = "UNSUCCESSFUL_PICKUP";
|
|
11
|
+
ExternalShippingStatusDetail["ROAD_TO_RETURN"] = "ROAD_TO_RETURN";
|
|
12
|
+
ExternalShippingStatusDetail["UNSUCCESSFUL_RETURN"] = "UNSUCCESSFUL_RETURN";
|
|
13
|
+
ExternalShippingStatusDetail["REJECTED"] = "REJECTED";
|
|
14
|
+
ExternalShippingStatusDetail["SHIPMENT_SENT"] = "SHIPMENT_SENT";
|
|
15
|
+
ExternalShippingStatusDetail["SHIPMENT_CONFIRMED"] = "SHIPMENT_CONFIRMED";
|
|
16
|
+
ExternalShippingStatusDetail["IN_TRANSIT"] = "IN_TRANSIT";
|
|
17
|
+
ExternalShippingStatusDetail["RECEIVED_BY_CARRIER"] = "RECEIVED_BY_CARRIER";
|
|
18
|
+
ExternalShippingStatusDetail["FAILED_DELIVERY_ATTEMPT"] = "FAILED_DELIVERY_ATTEMPT";
|
|
19
|
+
ExternalShippingStatusDetail["WRONG_ADDRESS"] = "WRONG_ADDRESS";
|
|
20
|
+
ExternalShippingStatusDetail["DELIVERED"] = "DELIVERED";
|
|
21
|
+
ExternalShippingStatusDetail["NOT_DELIVERED"] = "NOT_DELIVERED";
|
|
22
|
+
ExternalShippingStatusDetail["DESTRUCTION"] = "DESTRUCTION";
|
|
23
|
+
ExternalShippingStatusDetail["ACCIDENT"] = "ACCIDENT";
|
|
24
|
+
ExternalShippingStatusDetail["STOLEN"] = "STOLEN";
|
|
25
|
+
ExternalShippingStatusDetail["VISIT_SCHEDULED"] = "VISIT_SCHEDULED";
|
|
26
|
+
ExternalShippingStatusDetail["CALL_SCHEDULED"] = "CALL_SCHEDULED";
|
|
27
|
+
ExternalShippingStatusDetail["VISIT_CONFIRMED"] = "VISIT_CONFIRMED";
|
|
28
|
+
ExternalShippingStatusDetail["CALL_FAILED_UNKNOWN"] = "CALL_FAILED_UNKNOWN";
|
|
29
|
+
ExternalShippingStatusDetail["NO_ACCESS"] = "NO_ACCESS";
|
|
30
|
+
ExternalShippingStatusDetail["FAILED_VISIT_DEAD"] = "FAILED_VISIT_DEAD";
|
|
31
|
+
ExternalShippingStatusDetail["WRONG_OPERATOR_ZONE"] = "WRONG_OPERATOR_ZONE";
|
|
32
|
+
ExternalShippingStatusDetail["CALL_RESCHEDULED"] = "CALL_RESCHEDULED";
|
|
33
|
+
ExternalShippingStatusDetail["CALL_FAILED_DEAD"] = "CALL_FAILED_DEAD";
|
|
34
|
+
ExternalShippingStatusDetail["CALL_FAILED"] = "CALL_FAILED";
|
|
35
|
+
ExternalShippingStatusDetail["WHATSAPP_FAILED"] = "WHATSAPP_FAILED";
|
|
36
|
+
ExternalShippingStatusDetail["COURIER_FAILED"] = "COURIER_FAILED";
|
|
37
|
+
ExternalShippingStatusDetail["MISSING_DOCUMENTS"] = "MISSING_DOCUMENTS";
|
|
38
|
+
ExternalShippingStatusDetail["RETURNED_TO_WAREHOUSE"] = "RETURNED_TO_WAREHOUSE";
|
|
39
|
+
ExternalShippingStatusDetail["CLIENT_NOT_PRESENT"] = "CLIENT_NOT_PRESENT";
|
|
40
|
+
ExternalShippingStatusDetail["INCOMPLETE_ADDRESS"] = "INCOMPLETE_ADDRESS";
|
|
41
|
+
ExternalShippingStatusDetail["COVERAGE"] = "COVERAGE";
|
|
42
|
+
ExternalShippingStatusDetail["OPERATOR_REASSIGNED"] = "OPERATOR_REASSIGNED";
|
|
43
|
+
ExternalShippingStatusDetail["CLIENT_UNKNOWN"] = "CLIENT_UNKNOWN";
|
|
44
|
+
ExternalShippingStatusDetail["NO_CALL"] = "NO_CALL";
|
|
45
|
+
ExternalShippingStatusDetail["ZONE_PROBLEMS"] = "ZONE_PROBLEMS";
|
|
46
|
+
ExternalShippingStatusDetail["CLIENT_WORK"] = "CLIENT_WORK";
|
|
47
|
+
ExternalShippingStatusDetail["FRAUD"] = "FRAUD";
|
|
48
|
+
ExternalShippingStatusDetail["FRAUD_CLIENT"] = "FRAUD_CLIENT";
|
|
49
|
+
ExternalShippingStatusDetail["MISSING_NUMBER"] = "MISSING_NUMBER";
|
|
50
|
+
ExternalShippingStatusDetail["CLIENT_CANCELED"] = "CLIENT_CANCELED";
|
|
51
|
+
ExternalShippingStatusDetail["DESTROYED_BY_CLIENT"] = "DESTROYED_BY_CLIENT";
|
|
52
|
+
ExternalShippingStatusDetail["WEATHER"] = "WEATHER";
|
|
53
|
+
ExternalShippingStatusDetail["LOST"] = "LOST";
|
|
54
|
+
ExternalShippingStatusDetail["CLIENT_TRIP"] = "CLIENT_TRIP";
|
|
55
|
+
ExternalShippingStatusDetail["FAILED_VISIT_UNKNOWN"] = "FAILED_VISIT_UNKNOWN";
|
|
56
|
+
ExternalShippingStatusDetail["RETURNED"] = "RETURNED";
|
|
57
|
+
ExternalShippingStatusDetail["OTHER"] = "OTHER";
|
|
58
|
+
})(ExternalShippingStatusDetail || (exports.ExternalShippingStatusDetail = ExternalShippingStatusDetail = {}));
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.IssuanceType = void 0;
|
|
4
|
+
var IssuanceType;
|
|
5
|
+
(function (IssuanceType) {
|
|
6
|
+
IssuanceType["VIRTUAL"] = "VIRTUAL";
|
|
7
|
+
IssuanceType["PHYSICAL"] = "PHYSICAL";
|
|
8
|
+
})(IssuanceType || (exports.IssuanceType = IssuanceType = {}));
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.NominatedOrInnominated = void 0;
|
|
4
|
+
var NominatedOrInnominated;
|
|
5
|
+
(function (NominatedOrInnominated) {
|
|
6
|
+
NominatedOrInnominated["NOMINATED"] = "NOMINATED";
|
|
7
|
+
NominatedOrInnominated["INNOMINATED"] = "INNOMINATED";
|
|
8
|
+
})(NominatedOrInnominated || (exports.NominatedOrInnominated = NominatedOrInnominated = {}));
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.OwnershipType = void 0;
|
|
4
|
+
var OwnershipType;
|
|
5
|
+
(function (OwnershipType) {
|
|
6
|
+
OwnershipType["NOMINATE"] = "NOMINATE";
|
|
7
|
+
OwnershipType["INNOMINATE"] = "INNOMINATE";
|
|
8
|
+
})(OwnershipType || (exports.OwnershipType = OwnershipType = {}));
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ShippingStatus = void 0;
|
|
4
|
+
var ShippingStatus;
|
|
5
|
+
(function (ShippingStatus) {
|
|
6
|
+
ShippingStatus["REQUESTED"] = "REQUESTED";
|
|
7
|
+
ShippingStatus["IN_TRANSIT"] = "IN_TRANSIT";
|
|
8
|
+
ShippingStatus["DELIVERED"] = "DELIVERED";
|
|
9
|
+
ShippingStatus["WITH_ISSUE"] = "WITH_ISSUE";
|
|
10
|
+
})(ShippingStatus || (exports.ShippingStatus = ShippingStatus = {}));
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Status = void 0;
|
|
4
|
+
var Status;
|
|
5
|
+
(function (Status) {
|
|
6
|
+
Status["ACTIVE"] = "ACTIVE";
|
|
7
|
+
Status["PENDING"] = "PENDING";
|
|
8
|
+
Status["PAUSED"] = "PAUSED";
|
|
9
|
+
Status["CANCELLED"] = "CANCELLED";
|
|
10
|
+
})(Status || (exports.Status = Status = {}));
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdateKey = void 0;
|
|
4
|
+
var UpdateKey;
|
|
5
|
+
(function (UpdateKey) {
|
|
6
|
+
UpdateKey["CHANGE_STATUS"] = "CHANGE_STATUS";
|
|
7
|
+
UpdateKey["CHANGE_PIN"] = "CHANGE_PIN";
|
|
8
|
+
})(UpdateKey || (exports.UpdateKey = UpdateKey = {}));
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.VirtualOrPhysical = void 0;
|
|
4
|
+
var VirtualOrPhysical;
|
|
5
|
+
(function (VirtualOrPhysical) {
|
|
6
|
+
VirtualOrPhysical["VIRTUAL"] = "VIRTUAL";
|
|
7
|
+
VirtualOrPhysical["PHYSICAL"] = "PHYSICAL";
|
|
8
|
+
})(VirtualOrPhysical || (exports.VirtualOrPhysical = VirtualOrPhysical = {}));
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
export * from './dtos/Internal/ActivateBankAccountCardRequest';
|
|
2
|
+
export * from './dtos/Internal/ActivateBankAccountCardResponse';
|
|
3
|
+
export * from './dtos/Internal/CreateBankAccountCardRequest';
|
|
4
|
+
export * from './dtos/Internal/CreateBankAccountCardResponse';
|
|
5
|
+
export * from './dtos/Internal/CreateBankAccountCardShippingRequest';
|
|
6
|
+
export * from './dtos/Internal/CreateBankAccountCardShippingResponse';
|
|
7
|
+
export * from './dtos/Internal/GetBankAccountShippingRequest';
|
|
8
|
+
export * from './dtos/Internal/GetBankAccountShippingResponse';
|
|
9
|
+
export * from './dtos/Internal/UpdateBankAccountCardRequest';
|
|
10
|
+
export * from './dtos/Internal/UpdateBankAccountCardResponse';
|
|
11
|
+
export * from './dtos/Internal/GetBankAccountCardResponse';
|
|
12
|
+
export * from './dtos/Internal/AssignCardRequest';
|
|
13
|
+
export * from './dtos/CardActivateRequest';
|
|
14
|
+
export * from './dtos/CardApplicationRequest';
|
|
15
|
+
export * from './dtos/CardUpdateRequest';
|
|
16
|
+
export * from './dtos/CardCreateAdditionalRequest';
|
|
17
|
+
export * from './dtos/CardBalanceResponse';
|
|
18
|
+
export * from './dtos/CardResponse';
|
|
19
|
+
export * from './dtos/CardShipmentQueueMessage';
|
|
20
|
+
export * from './dtos/CardShipmentUpdateRequest';
|
|
21
|
+
export * from './dtos/CardAdditionalRequest';
|
|
22
|
+
export * from './dtos/CardSensitiveInformationResponse';
|
|
23
|
+
export * from './dtos/CardSummaryResponse';
|
|
24
|
+
export * from './dtos/CardAdditionalResponse';
|
|
25
|
+
export * from './enums/CardType';
|
|
26
|
+
export * from './enums/CardUpdateKey';
|
|
27
|
+
export * from './enums/IssuanceType';
|
|
28
|
+
export * from './enums/Status';
|
|
29
|
+
export * from './enums/OwnershipType';
|
|
30
|
+
export * from './enums/Brand';
|
|
31
|
+
export * from './enums/UpdateKey';
|
|
32
|
+
export * from './enums/CardIssuanceStatus';
|
|
33
|
+
export * from './enums/NominatedOrInnominated';
|
|
34
|
+
export * from './enums/CreditOrDebit';
|
|
35
|
+
export * from './enums/ShippingStatus';
|
|
36
|
+
export * from './enums/Status';
|
|
37
|
+
export * from './enums/VirtualOrPhysical';
|
|
38
|
+
export * from './enums/DeliveryChannel';
|
|
39
|
+
export * from './enums/ExternalShippingStatus';
|
|
40
|
+
export * from './enums/ExternalShippingStatusDetails';
|
|
@@ -0,0 +1,59 @@
|
|
|
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/internal
|
|
18
|
+
__exportStar(require("./dtos/Internal/ActivateBankAccountCardRequest"), exports);
|
|
19
|
+
__exportStar(require("./dtos/Internal/ActivateBankAccountCardResponse"), exports);
|
|
20
|
+
__exportStar(require("./dtos/Internal/CreateBankAccountCardRequest"), exports);
|
|
21
|
+
__exportStar(require("./dtos/Internal/CreateBankAccountCardResponse"), exports);
|
|
22
|
+
__exportStar(require("./dtos/Internal/CreateBankAccountCardShippingRequest"), exports);
|
|
23
|
+
__exportStar(require("./dtos/Internal/CreateBankAccountCardShippingResponse"), exports);
|
|
24
|
+
__exportStar(require("./dtos/Internal/GetBankAccountShippingRequest"), exports);
|
|
25
|
+
__exportStar(require("./dtos/Internal/GetBankAccountShippingResponse"), exports);
|
|
26
|
+
__exportStar(require("./dtos/Internal/UpdateBankAccountCardRequest"), exports);
|
|
27
|
+
__exportStar(require("./dtos/Internal/UpdateBankAccountCardResponse"), exports);
|
|
28
|
+
__exportStar(require("./dtos/Internal/GetBankAccountCardResponse"), exports);
|
|
29
|
+
__exportStar(require("./dtos/Internal/AssignCardRequest"), exports);
|
|
30
|
+
//dtos
|
|
31
|
+
__exportStar(require("./dtos/CardActivateRequest"), exports);
|
|
32
|
+
__exportStar(require("./dtos/CardApplicationRequest"), exports);
|
|
33
|
+
__exportStar(require("./dtos/CardUpdateRequest"), exports);
|
|
34
|
+
__exportStar(require("./dtos/CardCreateAdditionalRequest"), exports);
|
|
35
|
+
__exportStar(require("./dtos/CardBalanceResponse"), exports);
|
|
36
|
+
__exportStar(require("./dtos/CardResponse"), exports);
|
|
37
|
+
__exportStar(require("./dtos/CardShipmentQueueMessage"), exports);
|
|
38
|
+
__exportStar(require("./dtos/CardShipmentUpdateRequest"), exports);
|
|
39
|
+
__exportStar(require("./dtos/CardAdditionalRequest"), exports);
|
|
40
|
+
__exportStar(require("./dtos/CardSensitiveInformationResponse"), exports);
|
|
41
|
+
__exportStar(require("./dtos/CardSummaryResponse"), exports);
|
|
42
|
+
__exportStar(require("./dtos/CardAdditionalResponse"), exports);
|
|
43
|
+
//enums
|
|
44
|
+
__exportStar(require("./enums/CardType"), exports);
|
|
45
|
+
__exportStar(require("./enums/CardUpdateKey"), exports);
|
|
46
|
+
__exportStar(require("./enums/IssuanceType"), exports);
|
|
47
|
+
__exportStar(require("./enums/Status"), exports);
|
|
48
|
+
__exportStar(require("./enums/OwnershipType"), exports);
|
|
49
|
+
__exportStar(require("./enums/Brand"), exports);
|
|
50
|
+
__exportStar(require("./enums/UpdateKey"), exports);
|
|
51
|
+
__exportStar(require("./enums/CardIssuanceStatus"), exports);
|
|
52
|
+
__exportStar(require("./enums/NominatedOrInnominated"), exports);
|
|
53
|
+
__exportStar(require("./enums/CreditOrDebit"), exports);
|
|
54
|
+
__exportStar(require("./enums/ShippingStatus"), exports);
|
|
55
|
+
__exportStar(require("./enums/Status"), exports);
|
|
56
|
+
__exportStar(require("./enums/VirtualOrPhysical"), exports);
|
|
57
|
+
__exportStar(require("./enums/DeliveryChannel"), exports);
|
|
58
|
+
__exportStar(require("./enums/ExternalShippingStatus"), exports);
|
|
59
|
+
__exportStar(require("./enums/ExternalShippingStatusDetails"), exports);
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ValidationArguments, ValidationOptions } from "class-validator";
|
|
2
|
+
import { Status } from "../enums/Status";
|
|
3
|
+
export declare class CardUpdateKeyConstraint {
|
|
4
|
+
static validateUpdateKey(value: string | Status, arg: ValidationArguments): boolean;
|
|
5
|
+
defaultMessage(args: ValidationArguments): string;
|
|
6
|
+
}
|
|
7
|
+
export declare function IsValueValid(validationOptions?: ValidationOptions): (object: Object, propertyName: string) => void;
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
exports.CardUpdateKeyConstraint = void 0;
|
|
10
|
+
exports.IsValueValid = IsValueValid;
|
|
11
|
+
const class_validator_1 = require("class-validator");
|
|
12
|
+
const Status_1 = require("../enums/Status");
|
|
13
|
+
const UpdateKey_1 = require("../enums/UpdateKey");
|
|
14
|
+
let CardUpdateKeyConstraint = class CardUpdateKeyConstraint {
|
|
15
|
+
static validateUpdateKey(value, arg) {
|
|
16
|
+
const cardUpdateRequest = arg.object;
|
|
17
|
+
// Validar si el valor es uno de los status válidos
|
|
18
|
+
if (cardUpdateRequest.type === UpdateKey_1.UpdateKey.CHANGE_STATUS) {
|
|
19
|
+
return Object.values(Status_1.Status).includes(value);
|
|
20
|
+
}
|
|
21
|
+
// Validar si el valor es un string de 4 dígitos no consecutivos
|
|
22
|
+
if (cardUpdateRequest.type === UpdateKey_1.UpdateKey.CHANGE_PIN) {
|
|
23
|
+
if (!/^\d{4}$/.test(value))
|
|
24
|
+
return false; // Debe ser un string de 4 dígitos
|
|
25
|
+
// Verifica que no sean consecutivos asc o desc
|
|
26
|
+
for (let i = 0; i < value.length - 1; i++) {
|
|
27
|
+
if (Math.abs(parseInt(value[i]) - parseInt(value[i + 1])) !== 1) {
|
|
28
|
+
continue;
|
|
29
|
+
}
|
|
30
|
+
else {
|
|
31
|
+
return false;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
// En caso de que type no sea ninguno de los esperados
|
|
37
|
+
return false;
|
|
38
|
+
}
|
|
39
|
+
defaultMessage(args) {
|
|
40
|
+
return "The value is not valid for the update type.";
|
|
41
|
+
}
|
|
42
|
+
};
|
|
43
|
+
exports.CardUpdateKeyConstraint = CardUpdateKeyConstraint;
|
|
44
|
+
exports.CardUpdateKeyConstraint = CardUpdateKeyConstraint = __decorate([
|
|
45
|
+
(0, class_validator_1.ValidatorConstraint)({ async: true })
|
|
46
|
+
], CardUpdateKeyConstraint);
|
|
47
|
+
function IsValueValid(validationOptions) {
|
|
48
|
+
return function (object, propertyName) {
|
|
49
|
+
(0, class_validator_1.registerDecorator)({
|
|
50
|
+
target: object.constructor,
|
|
51
|
+
propertyName: propertyName,
|
|
52
|
+
options: validationOptions,
|
|
53
|
+
constraints: [],
|
|
54
|
+
validator: CardUpdateKeyConstraint,
|
|
55
|
+
});
|
|
56
|
+
};
|
|
57
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ValidatorConstraintInterface, ValidationArguments, ValidationOptions } from 'class-validator';
|
|
2
|
+
export declare class IsPhoneNumberConstraint implements ValidatorConstraintInterface {
|
|
3
|
+
validate(deliveryPhoneNumber: string, args: ValidationArguments): boolean;
|
|
4
|
+
defaultMessage(args: ValidationArguments): string;
|
|
5
|
+
}
|
|
6
|
+
export declare function IsPhoneNumberFiado(validationOptions?: ValidationOptions): (object: Object, propertyName: string) => void;
|