@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,34 @@
|
|
|
1
|
+
import { TypeOfDirectoryId } from "../../directory/enums/TypeOfDirectoryId";
|
|
2
|
+
import { AddressProvider } from "../enums/AddressProvider";
|
|
3
|
+
import { AddressStatus } from "../enums/AddressStatus";
|
|
4
|
+
import { Place } from "./Place";
|
|
5
|
+
import { CountryId } from '../../country/enums/CountryId';
|
|
6
|
+
export declare class AddressBase {
|
|
7
|
+
id?: string;
|
|
8
|
+
distance?: number;
|
|
9
|
+
createdBy: TypeOfDirectoryId;
|
|
10
|
+
directoryId: string;
|
|
11
|
+
isPrincipal: boolean;
|
|
12
|
+
tag?: string;
|
|
13
|
+
tenantId: string;
|
|
14
|
+
typeOfAddressId: string;
|
|
15
|
+
typeOfDirectoryId: TypeOfDirectoryId;
|
|
16
|
+
provider: AddressProvider;
|
|
17
|
+
place: Place;
|
|
18
|
+
validFrom: string;
|
|
19
|
+
validUntil?: string;
|
|
20
|
+
addressStatus: AddressStatus;
|
|
21
|
+
additionalInformation?: string;
|
|
22
|
+
helpNeeded: boolean;
|
|
23
|
+
internalNumber?: string;
|
|
24
|
+
countryId: CountryId;
|
|
25
|
+
street?: string;
|
|
26
|
+
addressNumber?: string;
|
|
27
|
+
municipality?: string;
|
|
28
|
+
subMunicipality?: string;
|
|
29
|
+
neighborhood?: string;
|
|
30
|
+
subRegion?: string;
|
|
31
|
+
region?: string;
|
|
32
|
+
postalCode?: string;
|
|
33
|
+
country: string;
|
|
34
|
+
}
|
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.AddressBase = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const TypeOfDirectoryId_1 = require("../../directory/enums/TypeOfDirectoryId");
|
|
15
|
+
const AddressProvider_1 = require("../enums/AddressProvider");
|
|
16
|
+
const AddressStatus_1 = require("../enums/AddressStatus");
|
|
17
|
+
const Place_1 = require("./Place");
|
|
18
|
+
const CountryId_1 = require("../../country/enums/CountryId");
|
|
19
|
+
const regex_1 = require("../../helpers/constans/regex");
|
|
20
|
+
class AddressBase {
|
|
21
|
+
}
|
|
22
|
+
exports.AddressBase = AddressBase;
|
|
23
|
+
__decorate([
|
|
24
|
+
(0, class_validator_1.IsOptional)(),
|
|
25
|
+
(0, class_validator_1.IsString)(),
|
|
26
|
+
(0, class_validator_1.Matches)(regex_1.regexUuidV4, {
|
|
27
|
+
message: 'id must be a valid UUID v4',
|
|
28
|
+
}),
|
|
29
|
+
__metadata("design:type", String)
|
|
30
|
+
], AddressBase.prototype, "id", void 0);
|
|
31
|
+
__decorate([
|
|
32
|
+
(0, class_validator_1.IsNumber)(),
|
|
33
|
+
(0, class_validator_1.IsOptional)(),
|
|
34
|
+
__metadata("design:type", Number)
|
|
35
|
+
], AddressBase.prototype, "distance", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, class_validator_1.IsEnum)(TypeOfDirectoryId_1.TypeOfDirectoryId),
|
|
38
|
+
__metadata("design:type", String)
|
|
39
|
+
], AddressBase.prototype, "createdBy", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
(0, class_validator_1.IsString)(),
|
|
42
|
+
(0, class_validator_1.Matches)(regex_1.regexUuidV4, {
|
|
43
|
+
message: 'directoryId must be a valid UUID v4',
|
|
44
|
+
}),
|
|
45
|
+
__metadata("design:type", String)
|
|
46
|
+
], AddressBase.prototype, "directoryId", void 0);
|
|
47
|
+
__decorate([
|
|
48
|
+
(0, class_validator_1.IsBoolean)(),
|
|
49
|
+
__metadata("design:type", Boolean)
|
|
50
|
+
], AddressBase.prototype, "isPrincipal", void 0);
|
|
51
|
+
__decorate([
|
|
52
|
+
(0, class_validator_1.IsOptional)(),
|
|
53
|
+
(0, class_validator_1.IsString)(),
|
|
54
|
+
(0, class_validator_1.Length)(1, 100),
|
|
55
|
+
__metadata("design:type", String)
|
|
56
|
+
], AddressBase.prototype, "tag", void 0);
|
|
57
|
+
__decorate([
|
|
58
|
+
(0, class_validator_1.IsString)(),
|
|
59
|
+
(0, class_validator_1.Length)(1, 100),
|
|
60
|
+
__metadata("design:type", String)
|
|
61
|
+
], AddressBase.prototype, "tenantId", void 0);
|
|
62
|
+
__decorate([
|
|
63
|
+
(0, class_validator_1.IsString)(),
|
|
64
|
+
__metadata("design:type", String)
|
|
65
|
+
], AddressBase.prototype, "typeOfAddressId", void 0);
|
|
66
|
+
__decorate([
|
|
67
|
+
(0, class_validator_1.IsEnum)(TypeOfDirectoryId_1.TypeOfDirectoryId),
|
|
68
|
+
__metadata("design:type", String)
|
|
69
|
+
], AddressBase.prototype, "typeOfDirectoryId", void 0);
|
|
70
|
+
__decorate([
|
|
71
|
+
(0, class_validator_1.IsEnum)(AddressProvider_1.AddressProvider),
|
|
72
|
+
__metadata("design:type", String)
|
|
73
|
+
], AddressBase.prototype, "provider", void 0);
|
|
74
|
+
__decorate([
|
|
75
|
+
(0, class_validator_1.ValidateNested)(),
|
|
76
|
+
__metadata("design:type", Place_1.Place)
|
|
77
|
+
], AddressBase.prototype, "place", void 0);
|
|
78
|
+
__decorate([
|
|
79
|
+
(0, class_validator_1.IsString)(),
|
|
80
|
+
(0, class_validator_1.Matches)(regex_1.regexIso8601, {
|
|
81
|
+
message: 'validFrom must be a valid ISO 8601 date string',
|
|
82
|
+
}),
|
|
83
|
+
__metadata("design:type", String)
|
|
84
|
+
], AddressBase.prototype, "validFrom", void 0);
|
|
85
|
+
__decorate([
|
|
86
|
+
(0, class_validator_1.IsOptional)(),
|
|
87
|
+
(0, class_validator_1.IsString)(),
|
|
88
|
+
(0, class_validator_1.Matches)(regex_1.regexIso8601, {
|
|
89
|
+
message: 'validUntil must be a valid ISO 8601 date string',
|
|
90
|
+
}),
|
|
91
|
+
__metadata("design:type", String)
|
|
92
|
+
], AddressBase.prototype, "validUntil", void 0);
|
|
93
|
+
__decorate([
|
|
94
|
+
(0, class_validator_1.IsEnum)(AddressStatus_1.AddressStatus),
|
|
95
|
+
__metadata("design:type", String)
|
|
96
|
+
], AddressBase.prototype, "addressStatus", void 0);
|
|
97
|
+
__decorate([
|
|
98
|
+
(0, class_validator_1.IsOptional)(),
|
|
99
|
+
(0, class_validator_1.IsString)(),
|
|
100
|
+
(0, class_validator_1.Length)(1, 200),
|
|
101
|
+
__metadata("design:type", String)
|
|
102
|
+
], AddressBase.prototype, "additionalInformation", void 0);
|
|
103
|
+
__decorate([
|
|
104
|
+
(0, class_validator_1.IsBoolean)(),
|
|
105
|
+
__metadata("design:type", Boolean)
|
|
106
|
+
], AddressBase.prototype, "helpNeeded", void 0);
|
|
107
|
+
__decorate([
|
|
108
|
+
(0, class_validator_1.IsOptional)(),
|
|
109
|
+
(0, class_validator_1.IsString)(),
|
|
110
|
+
(0, class_validator_1.Length)(1, 10),
|
|
111
|
+
__metadata("design:type", String)
|
|
112
|
+
], AddressBase.prototype, "internalNumber", void 0);
|
|
113
|
+
__decorate([
|
|
114
|
+
(0, class_validator_1.IsEnum)(CountryId_1.CountryId),
|
|
115
|
+
__metadata("design:type", String)
|
|
116
|
+
], AddressBase.prototype, "countryId", void 0);
|
|
117
|
+
__decorate([
|
|
118
|
+
(0, class_validator_1.IsString)(),
|
|
119
|
+
(0, class_validator_1.Length)(1, 100),
|
|
120
|
+
__metadata("design:type", String)
|
|
121
|
+
], AddressBase.prototype, "street", void 0);
|
|
122
|
+
__decorate([
|
|
123
|
+
(0, class_validator_1.IsString)(),
|
|
124
|
+
(0, class_validator_1.Length)(1, 10),
|
|
125
|
+
__metadata("design:type", String)
|
|
126
|
+
], AddressBase.prototype, "addressNumber", void 0);
|
|
127
|
+
__decorate([
|
|
128
|
+
(0, class_validator_1.IsOptional)(),
|
|
129
|
+
(0, class_validator_1.IsString)(),
|
|
130
|
+
(0, class_validator_1.Length)(2, 60),
|
|
131
|
+
__metadata("design:type", String)
|
|
132
|
+
], AddressBase.prototype, "municipality", void 0);
|
|
133
|
+
__decorate([
|
|
134
|
+
(0, class_validator_1.IsOptional)(),
|
|
135
|
+
(0, class_validator_1.IsString)(),
|
|
136
|
+
__metadata("design:type", String)
|
|
137
|
+
], AddressBase.prototype, "subMunicipality", void 0);
|
|
138
|
+
__decorate([
|
|
139
|
+
(0, class_validator_1.IsOptional)(),
|
|
140
|
+
(0, class_validator_1.IsString)(),
|
|
141
|
+
(0, class_validator_1.Length)(2, 60),
|
|
142
|
+
__metadata("design:type", String)
|
|
143
|
+
], AddressBase.prototype, "neighborhood", void 0);
|
|
144
|
+
__decorate([
|
|
145
|
+
(0, class_validator_1.IsOptional)(),
|
|
146
|
+
(0, class_validator_1.IsString)(),
|
|
147
|
+
(0, class_validator_1.Length)(2, 60),
|
|
148
|
+
__metadata("design:type", String)
|
|
149
|
+
], AddressBase.prototype, "subRegion", void 0);
|
|
150
|
+
__decorate([
|
|
151
|
+
(0, class_validator_1.IsString)(),
|
|
152
|
+
(0, class_validator_1.Length)(5, 10),
|
|
153
|
+
__metadata("design:type", String)
|
|
154
|
+
], AddressBase.prototype, "region", void 0);
|
|
155
|
+
__decorate([
|
|
156
|
+
(0, class_validator_1.IsString)(),
|
|
157
|
+
(0, class_validator_1.Length)(5, 10),
|
|
158
|
+
__metadata("design:type", String)
|
|
159
|
+
], AddressBase.prototype, "postalCode", void 0);
|
|
160
|
+
__decorate([
|
|
161
|
+
(0, class_validator_1.IsEnum)(CountryId_1.CountryId),
|
|
162
|
+
__metadata("design:type", String)
|
|
163
|
+
], AddressBase.prototype, "country", void 0);
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AddressCreateRequest = void 0;
|
|
4
|
+
const AddressBase_1 = require("./AddressBase");
|
|
5
|
+
class AddressCreateRequest extends AddressBase_1.AddressBase {
|
|
6
|
+
}
|
|
7
|
+
exports.AddressCreateRequest = AddressCreateRequest;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.AddressResponse = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const regex_1 = require("../../helpers/constans/regex");
|
|
15
|
+
const AddressBase_1 = require("./AddressBase");
|
|
16
|
+
class AddressResponse extends AddressBase_1.AddressBase {
|
|
17
|
+
}
|
|
18
|
+
exports.AddressResponse = AddressResponse;
|
|
19
|
+
__decorate([
|
|
20
|
+
(0, class_validator_1.IsString)(),
|
|
21
|
+
(0, class_validator_1.Matches)(regex_1.regexUuidV4, {
|
|
22
|
+
message: 'id must be a valid UUID v4',
|
|
23
|
+
}),
|
|
24
|
+
__metadata("design:type", String)
|
|
25
|
+
], AddressResponse.prototype, "id", void 0);
|
|
26
|
+
__decorate([
|
|
27
|
+
(0, class_validator_1.IsOptional)(),
|
|
28
|
+
(0, class_validator_1.IsString)(),
|
|
29
|
+
(0, class_validator_1.Matches)(regex_1.regexIso8601, {
|
|
30
|
+
message: 'createDate must be a valid ISO 8601 date string',
|
|
31
|
+
}),
|
|
32
|
+
__metadata("design:type", String)
|
|
33
|
+
], AddressResponse.prototype, "createDate", void 0);
|
|
34
|
+
__decorate([
|
|
35
|
+
(0, class_validator_1.IsOptional)(),
|
|
36
|
+
(0, class_validator_1.IsString)(),
|
|
37
|
+
(0, class_validator_1.Matches)(regex_1.regexIso8601, {
|
|
38
|
+
message: 'updateDate must be a valid ISO 8601 date string',
|
|
39
|
+
}),
|
|
40
|
+
__metadata("design:type", String)
|
|
41
|
+
], AddressResponse.prototype, "updateDate", void 0);
|
|
42
|
+
__decorate([
|
|
43
|
+
(0, class_validator_1.IsOptional)(),
|
|
44
|
+
(0, class_validator_1.IsString)(),
|
|
45
|
+
(0, class_validator_1.Length)(1, 100),
|
|
46
|
+
__metadata("design:type", String)
|
|
47
|
+
], AddressResponse.prototype, "updatedBy", void 0);
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { CountryId } from "../../country";
|
|
2
|
+
export declare class AddressShippingCardRequest {
|
|
3
|
+
addressId: string | null;
|
|
4
|
+
addressServiceLocationId: string | null;
|
|
5
|
+
provider: string | null;
|
|
6
|
+
serviceType: string | null;
|
|
7
|
+
countryId: CountryId;
|
|
8
|
+
directoryId: string;
|
|
9
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { OperationSchedule } from "./OperationSchedule";
|
|
2
|
+
export type OfficeDetails = {
|
|
3
|
+
code: string;
|
|
4
|
+
name: string;
|
|
5
|
+
ownerName: string;
|
|
6
|
+
address: AddressDetail;
|
|
7
|
+
latitude: string;
|
|
8
|
+
longitude: string;
|
|
9
|
+
distance: number;
|
|
10
|
+
phoneNumber: string;
|
|
11
|
+
operationSchedule: OperationSchedule[];
|
|
12
|
+
};
|
|
13
|
+
export type AddressDetail = {
|
|
14
|
+
fullAddress: string;
|
|
15
|
+
address1: string;
|
|
16
|
+
address2: string;
|
|
17
|
+
city: string;
|
|
18
|
+
neighorhood: string;
|
|
19
|
+
state: string;
|
|
20
|
+
zipCode: string;
|
|
21
|
+
reference: string;
|
|
22
|
+
betweenRoadName1: string;
|
|
23
|
+
betweenRoadName2: string;
|
|
24
|
+
externalNumber: string;
|
|
25
|
+
internalNumber: string;
|
|
26
|
+
roadTypeCode: string;
|
|
27
|
+
roadTypeAbbName: string;
|
|
28
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { Geometry } from "./Geometry";
|
|
2
|
+
import { Timezone } from "./Timezone";
|
|
3
|
+
export declare class Place {
|
|
4
|
+
geometry: Geometry;
|
|
5
|
+
addressNumber?: string;
|
|
6
|
+
categories?: string[];
|
|
7
|
+
country?: string;
|
|
8
|
+
interpolated: boolean;
|
|
9
|
+
label?: string;
|
|
10
|
+
municipality?: string;
|
|
11
|
+
neighborhood?: string;
|
|
12
|
+
postalCode?: string;
|
|
13
|
+
region?: string;
|
|
14
|
+
street?: string;
|
|
15
|
+
subMunicipality?: string;
|
|
16
|
+
subRegion?: string;
|
|
17
|
+
supplementalCategories?: string[];
|
|
18
|
+
timezone?: Timezone;
|
|
19
|
+
unitNumber?: string;
|
|
20
|
+
unitType?: string;
|
|
21
|
+
}
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.Place = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const Country_1 = require("../../country/enums/Country");
|
|
15
|
+
class Place {
|
|
16
|
+
}
|
|
17
|
+
exports.Place = Place;
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, class_validator_1.ValidateNested)(),
|
|
20
|
+
__metadata("design:type", Object)
|
|
21
|
+
], Place.prototype, "geometry", void 0);
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, class_validator_1.IsOptional)(),
|
|
24
|
+
(0, class_validator_1.IsString)(),
|
|
25
|
+
__metadata("design:type", String)
|
|
26
|
+
], Place.prototype, "addressNumber", void 0);
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, class_validator_1.IsOptional)(),
|
|
29
|
+
(0, class_validator_1.IsArray)(),
|
|
30
|
+
(0, class_validator_1.IsString)({ each: true }),
|
|
31
|
+
__metadata("design:type", Array)
|
|
32
|
+
], Place.prototype, "categories", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, class_validator_1.IsOptional)(),
|
|
35
|
+
(0, class_validator_1.IsEnum)(Country_1.Country),
|
|
36
|
+
__metadata("design:type", String)
|
|
37
|
+
], Place.prototype, "country", void 0);
|
|
38
|
+
__decorate([
|
|
39
|
+
(0, class_validator_1.IsBoolean)(),
|
|
40
|
+
__metadata("design:type", Boolean)
|
|
41
|
+
], Place.prototype, "interpolated", void 0);
|
|
42
|
+
__decorate([
|
|
43
|
+
(0, class_validator_1.IsOptional)(),
|
|
44
|
+
(0, class_validator_1.IsString)(),
|
|
45
|
+
(0, class_validator_1.Length)(1, 300),
|
|
46
|
+
__metadata("design:type", String)
|
|
47
|
+
], Place.prototype, "label", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
(0, class_validator_1.IsOptional)(),
|
|
50
|
+
(0, class_validator_1.IsString)(),
|
|
51
|
+
(0, class_validator_1.Length)(1, 60),
|
|
52
|
+
__metadata("design:type", String)
|
|
53
|
+
], Place.prototype, "municipality", void 0);
|
|
54
|
+
__decorate([
|
|
55
|
+
(0, class_validator_1.IsOptional)(),
|
|
56
|
+
(0, class_validator_1.IsString)(),
|
|
57
|
+
(0, class_validator_1.Length)(2, 60),
|
|
58
|
+
__metadata("design:type", String)
|
|
59
|
+
], Place.prototype, "neighborhood", void 0);
|
|
60
|
+
__decorate([
|
|
61
|
+
(0, class_validator_1.IsOptional)(),
|
|
62
|
+
(0, class_validator_1.IsString)(),
|
|
63
|
+
(0, class_validator_1.Length)(5, 10),
|
|
64
|
+
__metadata("design:type", String)
|
|
65
|
+
], Place.prototype, "postalCode", void 0);
|
|
66
|
+
__decorate([
|
|
67
|
+
(0, class_validator_1.IsOptional)(),
|
|
68
|
+
(0, class_validator_1.IsString)(),
|
|
69
|
+
(0, class_validator_1.Length)(5, 10),
|
|
70
|
+
__metadata("design:type", String)
|
|
71
|
+
], Place.prototype, "region", void 0);
|
|
72
|
+
__decorate([
|
|
73
|
+
(0, class_validator_1.IsOptional)(),
|
|
74
|
+
(0, class_validator_1.IsString)(),
|
|
75
|
+
(0, class_validator_1.Length)(1, 100),
|
|
76
|
+
__metadata("design:type", String)
|
|
77
|
+
], Place.prototype, "street", void 0);
|
|
78
|
+
__decorate([
|
|
79
|
+
(0, class_validator_1.IsOptional)(),
|
|
80
|
+
(0, class_validator_1.IsString)(),
|
|
81
|
+
(0, class_validator_1.Length)(2, 60),
|
|
82
|
+
__metadata("design:type", String)
|
|
83
|
+
], Place.prototype, "subMunicipality", void 0);
|
|
84
|
+
__decorate([
|
|
85
|
+
(0, class_validator_1.IsOptional)(),
|
|
86
|
+
(0, class_validator_1.IsString)(),
|
|
87
|
+
(0, class_validator_1.Length)(2, 60),
|
|
88
|
+
__metadata("design:type", String)
|
|
89
|
+
], Place.prototype, "subRegion", void 0);
|
|
90
|
+
__decorate([
|
|
91
|
+
(0, class_validator_1.IsOptional)(),
|
|
92
|
+
(0, class_validator_1.IsArray)(),
|
|
93
|
+
(0, class_validator_1.IsString)({ each: true }),
|
|
94
|
+
__metadata("design:type", Array)
|
|
95
|
+
], Place.prototype, "supplementalCategories", void 0);
|
|
96
|
+
__decorate([
|
|
97
|
+
(0, class_validator_1.IsOptional)(),
|
|
98
|
+
(0, class_validator_1.ValidateNested)(),
|
|
99
|
+
__metadata("design:type", Object)
|
|
100
|
+
], Place.prototype, "timezone", void 0);
|
|
101
|
+
__decorate([
|
|
102
|
+
(0, class_validator_1.IsOptional)(),
|
|
103
|
+
(0, class_validator_1.IsString)(),
|
|
104
|
+
(0, class_validator_1.Length)(1, 10),
|
|
105
|
+
__metadata("design:type", String)
|
|
106
|
+
], Place.prototype, "unitNumber", void 0);
|
|
107
|
+
__decorate([
|
|
108
|
+
(0, class_validator_1.IsOptional)(),
|
|
109
|
+
(0, class_validator_1.IsString)(),
|
|
110
|
+
(0, class_validator_1.Length)(1, 10),
|
|
111
|
+
__metadata("design:type", String)
|
|
112
|
+
], Place.prototype, "unitType", void 0);
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { CountryId } from '../../country/enums/CountryId';
|
|
2
|
+
export declare class Shipping {
|
|
3
|
+
municipality: string;
|
|
4
|
+
neighborhood: string;
|
|
5
|
+
postalCode: string;
|
|
6
|
+
street: string;
|
|
7
|
+
subRegion: string;
|
|
8
|
+
addressNumber: string;
|
|
9
|
+
internalNumber?: string;
|
|
10
|
+
countryId: CountryId;
|
|
11
|
+
}
|
|
@@ -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
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.Shipping = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const CountryId_1 = require("../../country/enums/CountryId");
|
|
15
|
+
class Shipping {
|
|
16
|
+
}
|
|
17
|
+
exports.Shipping = Shipping;
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, class_validator_1.IsString)(),
|
|
20
|
+
(0, class_validator_1.Length)(2, 60),
|
|
21
|
+
__metadata("design:type", String)
|
|
22
|
+
], Shipping.prototype, "municipality", void 0);
|
|
23
|
+
__decorate([
|
|
24
|
+
(0, class_validator_1.IsString)(),
|
|
25
|
+
(0, class_validator_1.Length)(2, 60),
|
|
26
|
+
__metadata("design:type", String)
|
|
27
|
+
], Shipping.prototype, "neighborhood", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, class_validator_1.IsString)(),
|
|
30
|
+
(0, class_validator_1.Length)(5, 10),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], Shipping.prototype, "postalCode", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, class_validator_1.IsString)(),
|
|
35
|
+
(0, class_validator_1.Length)(2, 100),
|
|
36
|
+
__metadata("design:type", String)
|
|
37
|
+
], Shipping.prototype, "street", void 0);
|
|
38
|
+
__decorate([
|
|
39
|
+
(0, class_validator_1.IsString)(),
|
|
40
|
+
(0, class_validator_1.Length)(2, 60),
|
|
41
|
+
__metadata("design:type", String)
|
|
42
|
+
], Shipping.prototype, "subRegion", void 0);
|
|
43
|
+
__decorate([
|
|
44
|
+
(0, class_validator_1.IsString)(),
|
|
45
|
+
(0, class_validator_1.Length)(1, 10),
|
|
46
|
+
__metadata("design:type", String)
|
|
47
|
+
], Shipping.prototype, "addressNumber", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
(0, class_validator_1.IsOptional)(),
|
|
50
|
+
(0, class_validator_1.IsString)(),
|
|
51
|
+
(0, class_validator_1.Length)(1, 200),
|
|
52
|
+
__metadata("design:type", String)
|
|
53
|
+
], Shipping.prototype, "internalNumber", void 0);
|
|
54
|
+
__decorate([
|
|
55
|
+
(0, class_validator_1.IsString)(),
|
|
56
|
+
__metadata("design:type", String)
|
|
57
|
+
], Shipping.prototype, "countryId", void 0);
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AddressProvider = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* AddressProvider enum
|
|
6
|
+
* @description AddressProvider enum is used to define the address provider
|
|
7
|
+
* @enum {string} AddressProvider
|
|
8
|
+
*/
|
|
9
|
+
var AddressProvider;
|
|
10
|
+
(function (AddressProvider) {
|
|
11
|
+
AddressProvider["AWS"] = "AWS";
|
|
12
|
+
AddressProvider["MANUAL"] = "MANUAL";
|
|
13
|
+
})(AddressProvider || (exports.AddressProvider = AddressProvider = {}));
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AddressStatus = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* AddressProvider Status
|
|
6
|
+
* @description AddressProvider Status is used to define the address provider status
|
|
7
|
+
* @enum {string} AddressStatus
|
|
8
|
+
*/
|
|
9
|
+
var AddressStatus;
|
|
10
|
+
(function (AddressStatus) {
|
|
11
|
+
AddressStatus["VISIBLE"] = "VISIBLE";
|
|
12
|
+
AddressStatus["NOT_VISIBLE"] = "NOT_VISIBLE";
|
|
13
|
+
})(AddressStatus || (exports.AddressStatus = AddressStatus = {}));
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export * from './dtos/Shipping';
|
|
2
|
+
export * from './dtos/AddressCreateRequest';
|
|
3
|
+
export * from './dtos/AddressResponse';
|
|
4
|
+
export * from './dtos/Geometry';
|
|
5
|
+
export * from './dtos/Place';
|
|
6
|
+
export * from './dtos/Timezone';
|
|
7
|
+
export * from './dtos/OfficeDetails';
|
|
8
|
+
export * from './dtos/OperationSchedule';
|
|
9
|
+
export * from './dtos/AddressShippingCardResponse';
|
|
10
|
+
export * from './dtos/AddressShippingCardRequest';
|
|
11
|
+
export * from './enums/AddressStatus';
|
|
12
|
+
export * from './enums/AddressProvider';
|