@fiado/type-kit 2.0.16 → 2.0.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +70 -70
- package/bin/account/dtos/CreateBankAccountUserRequest.d.ts +1 -0
- package/package.json +23 -23
- package/src/account/dtos/AccountCreateRequest.ts +106 -106
- package/src/account/dtos/AccountCreateResponse.ts +10 -10
- package/src/account/dtos/AccountInfo.ts +43 -43
- package/src/account/dtos/AccountUpdateBalanceRequest.ts +11 -11
- package/src/account/dtos/AccountUpdateRequest.ts +40 -40
- package/src/account/dtos/BankAccountAchTransferRequest.ts +12 -12
- package/src/account/dtos/BankAccountAchTransferResponse.ts +11 -11
- package/src/account/dtos/BankAccountExternalAddress.ts +17 -17
- package/src/account/dtos/BankAccountMCSendTransferRequest.ts +10 -10
- package/src/account/dtos/BankAccountMCSendTransferResponse.ts +7 -7
- package/src/account/dtos/BankAccountP2pTransferRequest.ts +10 -10
- package/src/account/dtos/BankAccountP2pTransferResponse.ts +11 -11
- package/src/account/dtos/BankAccountPocketTransferRequest.ts +10 -10
- package/src/account/dtos/BankAccountPocketTransferResponse.ts +9 -9
- package/src/account/dtos/CreateBankAccountRequest.ts +11 -11
- package/src/account/dtos/CreateBankAccountResponse.ts +8 -8
- package/src/account/dtos/CreateBankAccountUserRequest.ts +22 -21
- package/src/account/dtos/CreateBankAccountUserResponse.ts +14 -14
- package/src/account/dtos/ExchangeInfo.ts +8 -8
- package/src/account/dtos/ExecuteP2pOperationRequest.ts +12 -12
- package/src/account/dtos/ExecuteP2pOperationResponse.ts +6 -6
- package/src/account/dtos/ExecutePocketOperationRequest.ts +13 -13
- package/src/account/dtos/ExecutePocketOperationResponse.ts +7 -7
- package/src/account/dtos/GetAccountBalanceResponse.ts +53 -53
- package/src/account/dtos/GetAccountResponse.ts +62 -62
- package/src/account/dtos/GetAccountResponseList.ts +5 -5
- package/src/account/dtos/GetBankAccountRequest.ts +3 -3
- package/src/account/dtos/GetBankAccountResponse.ts +22 -22
- package/src/account/dtos/GetBankAccountSensitiveInformationRequest.ts +5 -5
- package/src/account/dtos/GetBankAccountSensitiveInformationResponse.ts +10 -10
- package/src/account/dtos/GetBankAccountUserRequest.ts +2 -2
- package/src/account/dtos/GetBankAccountUserResponse.ts +27 -27
- package/src/account/dtos/GetPocketBalanceResponse.ts +46 -46
- package/src/account/dtos/GetPocketResponse.ts +8 -8
- package/src/account/dtos/PocketBalanceItem.ts +17 -17
- package/src/account/dtos/PocketItem.ts +43 -43
- package/src/account/dtos/SPEITransferCreateRequest.ts +42 -42
- package/src/account/dtos/SPEITransferResponse.ts +22 -22
- package/src/account/dtos/SPEITransferUpdateRequest.ts +43 -43
- package/src/account/dtos/UpdateBalanceOperation.ts +10 -10
- package/src/account/dtos/UpdateBankAccountUserRequest.ts +26 -26
- package/src/account/dtos/UpdateBankAccountUserResponse.ts +3 -3
- package/src/account/entities/AccountEntityBase.ts +12 -12
- package/src/account/entities/BankInfo.ts +7 -7
- package/src/account/enums/AccountEntityStatusEnum.ts +6 -6
- package/src/account/enums/AccountLevelEnum.ts +5 -5
- package/src/account/enums/AchTransferStatusEnum.ts +12 -12
- package/src/account/enums/AchTransferTypeEnum.ts +4 -4
- package/src/account/enums/BankAccountP2pTransferType.ts +5 -5
- package/src/account/enums/BankAccountTypeEnum.ts +5 -5
- package/src/account/enums/BankAccountUserStatusEnum.ts +4 -4
- package/src/account/enums/CreateBankAccountUserStatusEnum.ts +5 -5
- package/src/account/enums/PocketOperationTypeEnum.ts +10 -10
- package/src/account/enums/SpeiTransferStatusEnum.ts +10 -10
- package/src/account/enums/UserEntityStatusEnum.ts +4 -4
- package/src/account/index.ts +63 -63
- package/src/accountIssuanceBusiness/enums/Status.ts +12 -12
- package/src/accountIssuanceBusiness/index.ts +2 -2
- package/src/activity/dtos/ActivityMessageRequest.ts +30 -30
- package/src/activity/dtos/ActivityMessageResponse.ts +24 -24
- package/src/activity/dtos/ActivityQueueMessage.ts +9 -9
- package/src/activity/index.ts +8 -8
- package/src/address/dtos/AddressBase.ts +130 -130
- package/src/address/dtos/AddressCreateRequest.ts +6 -6
- package/src/address/dtos/AddressResponse.ts +41 -41
- package/src/address/dtos/AddressShippingCardRequest.ts +12 -12
- package/src/address/dtos/AddressShippingCardResponse.ts +11 -11
- package/src/address/dtos/Geometry.ts +4 -4
- package/src/address/dtos/GetLocationResponse.ts +6 -6
- package/src/address/dtos/Location.ts +26 -26
- package/src/address/dtos/LocationAddress.ts +25 -25
- package/src/address/dtos/OfficeDetails.ts +30 -30
- package/src/address/dtos/OperationSchedule.ts +8 -8
- package/src/address/dtos/Place.ts +95 -95
- package/src/address/dtos/Shipping.ts +36 -36
- package/src/address/dtos/Timezone.ts +9 -9
- package/src/address/dtos/ValidateAddressRequest.ts +4 -4
- package/src/address/dtos/ValidateAddressResponse.ts +6 -6
- package/src/address/dtos/ValidateAddressResult.ts +6 -6
- package/src/address/enums/AddressProvider.ts +10 -10
- package/src/address/enums/AddressStatus.ts +9 -9
- package/src/address/enums/LocationTypeEnum.ts +3 -3
- package/src/address/enums/ValidateAddressErrorCodeEnum.ts +14 -14
- package/src/address/enums/ValidateAddressStatusEnum.ts +10 -10
- package/src/address/index.ts +25 -25
- package/src/apiResponse/dtos/FiadoApiResponse.ts +7 -7
- package/src/app/enums/App.ts +10 -10
- package/src/app/index.ts +3 -3
- package/src/appSelectionData/dtos/AppSelectionDataCreateRequest.ts +27 -27
- package/src/appSelectionData/index.ts +4 -4
- package/src/auth/dtos/ChallengeBackofficeRequest.ts +22 -22
- package/src/auth/dtos/ResetPasswordBackofficeRequest.ts +9 -9
- package/src/auth/dtos/SignInBackofficeRequest.ts +13 -13
- package/src/auth/dtos/SignInBackofficeResponse.ts +6 -6
- package/src/auth/dtos/SignUpBackofficeRequest.ts +18 -18
- package/src/auth/index.ts +7 -7
- package/src/authentication/dtos/ChangePasswordRequest.ts +16 -16
- package/src/authentication/dtos/RefreshTokenRequest.ts +12 -12
- package/src/authentication/dtos/RespondToAuthChallengeRequest.ts +24 -24
- package/src/authentication/dtos/SignInRequest.ts +30 -30
- package/src/authentication/dtos/SignUpAdditionalRequest.ts +32 -32
- package/src/authentication/dtos/SignUpAdditionalResponse.ts +5 -5
- package/src/authentication/dtos/SignUpRequest.ts +21 -21
- package/src/authentication/dtos/UserConfirmRequest.ts +13 -13
- package/src/authentication/index.ts +14 -14
- package/src/bankAccount/dtos/CreateExternalBankAccountRequest.ts +14 -14
- package/src/bankAccount/dtos/CreateExternalBankAccountResponse.ts +6 -6
- package/src/bankAccount/dtos/ExternalAccountCurrency.ts +3 -3
- package/src/bankAccount/dtos/GetExternalBankAccountRequest.ts +11 -11
- package/src/bankAccount/dtos/GetExternalBankAccountResponse.ts +17 -17
- package/src/bankAccount/dtos/GetExternalBankResponse.ts +13 -13
- package/src/bankAccount/enums/ExternalAccountOwnershipEnum.ts +3 -3
- package/src/bankAccount/enums/ExternalAccountStatusEnum.ts +6 -6
- package/src/bankAccount/enums/ExternalAccountTypeEnum.ts +5 -5
- package/src/bankAccount/index.ts +9 -9
- package/src/bbvaRst/dtos/CreateRSTTransactionRequest.ts +14 -14
- package/src/bbvaRst/dtos/CreateRSTTransactionResponse.ts +9 -9
- package/src/bbvaRst/enums/RSTStatusEnum.ts +4 -4
- package/src/bbvaRst/index.ts +2 -2
- package/src/beneficiary/dtos/AccountBeneficiaryCreateRequest.ts +56 -56
- package/src/beneficiary/dtos/AccountBeneficiaryResponse.ts +26 -26
- package/src/beneficiary/dtos/AccountBeneficiaryUpdateRequest.ts +42 -42
- package/src/beneficiary/enums/AccountType.ts +6 -6
- package/src/beneficiary/index.ts +7 -7
- package/src/blacklist/dtos/CreateBlockedPersonRequest.ts +32 -32
- package/src/blacklist/dtos/GetBlockedPersonsResponse.ts +84 -84
- package/src/blacklist/dtos/UpdateBlockedPersonRequest.ts +42 -42
- package/src/blacklist/enums/IdentificationParameter.ts +5 -5
- package/src/blacklist/index.ts +7 -7
- package/src/card/dtos/AccountCancelGetResponse.ts +25 -25
- package/src/card/dtos/AccountIssuanceStepConfig.ts +13 -13
- package/src/card/dtos/CardActivateRequest.ts +22 -22
- package/src/card/dtos/CardAdditionalRequest.ts +25 -25
- package/src/card/dtos/CardAdditionalResponse.ts +14 -14
- package/src/card/dtos/CardApplicationRequest.ts +52 -52
- package/src/card/dtos/CardBalanceResponse.ts +10 -10
- package/src/card/dtos/CardCreateAdditionalRequest.ts +82 -82
- package/src/card/dtos/CardResponse.ts +34 -34
- package/src/card/dtos/CardSensitiveInformationResponse.ts +23 -23
- package/src/card/dtos/CardShipmentQueueMessage.ts +7 -7
- package/src/card/dtos/CardShipmentUpdateRequest.ts +19 -19
- package/src/card/dtos/CardSummaryResponse.ts +10 -10
- package/src/card/dtos/CardUpdateIssuanceRequest.ts +20 -20
- package/src/card/dtos/CardUpdateRequest.ts +23 -23
- package/src/card/dtos/Internal/ActivateBankAccountCardRequest.ts +13 -13
- package/src/card/dtos/Internal/ActivateBankAccountCardResponse.ts +4 -4
- package/src/card/dtos/Internal/AssignCardRequest.ts +8 -8
- package/src/card/dtos/Internal/BatchBeneficiary.ts +6 -6
- package/src/card/dtos/Internal/BatchCardAttributes.ts +9 -9
- package/src/card/dtos/Internal/BatchCardInitialLoad.ts +3 -3
- package/src/card/dtos/Internal/BatchPointOfContact.ts +4 -4
- package/src/card/dtos/Internal/BatchShippingAddress.ts +7 -7
- package/src/card/dtos/Internal/CardBatchRequest.ts +13 -13
- package/src/card/dtos/Internal/CardBatchResponse.ts +19 -19
- package/src/card/dtos/Internal/CardIssuanceObservationUpdateRequest.ts +14 -14
- package/src/card/dtos/Internal/CardStatementListResponse.ts +6 -6
- package/src/card/dtos/Internal/CreateBankAccountCardRequest.ts +16 -16
- package/src/card/dtos/Internal/CreateBankAccountCardResponse.ts +8 -8
- package/src/card/dtos/Internal/CreateBankAccountCardShippingRequest.ts +19 -19
- package/src/card/dtos/Internal/CreateBankAccountCardShippingResponse.ts +14 -14
- package/src/card/dtos/Internal/GetBankAccountCardBalanceResponse.ts +12 -12
- package/src/card/dtos/Internal/GetBankAccountCardResponse.ts +34 -34
- package/src/card/dtos/Internal/GetBankAccountShippingRequest.ts +5 -5
- package/src/card/dtos/Internal/GetBankAccountShippingResponse.ts +19 -19
- package/src/card/dtos/Internal/ReplaceBankAccountCardRequest.ts +9 -9
- package/src/card/dtos/Internal/ReplaceBankAccountCardResponse.ts +3 -3
- package/src/card/dtos/Internal/StatementDocumentResponse.ts +2 -2
- package/src/card/dtos/Internal/UpdateBankAccountCardRequest.ts +24 -24
- package/src/card/dtos/Internal/UpdateBankAccountCardResponse.ts +7 -7
- package/src/card/enums/AccountCancellationStatus.ts +7 -7
- package/src/card/enums/Brand.ts +7 -7
- package/src/card/enums/CardIssuanceStatus.ts +5 -5
- package/src/card/enums/CardIssuing.ts +6 -6
- package/src/card/enums/CardReasonStatus.ts +8 -8
- package/src/card/enums/CardType.ts +4 -4
- package/src/card/enums/CardUpdateKey.ts +4 -4
- package/src/card/enums/CreditOrDebit.ts +5 -5
- package/src/card/enums/DeliveryChannel.ts +7 -7
- package/src/card/enums/ExternalShippingStatus.ts +59 -59
- package/src/card/enums/ExternalShippingStatusDetails.ts +53 -53
- package/src/card/enums/IssuanceType.ts +5 -5
- package/src/card/enums/NominatedOrInnominated.ts +8 -8
- package/src/card/enums/OwnershipType.ts +3 -3
- package/src/card/enums/Program.ts +6 -6
- package/src/card/enums/ReplaceBankAccountCardReasonEnum.ts +7 -7
- package/src/card/enums/ShippingStatus.ts +8 -8
- package/src/card/enums/Status.ts +6 -6
- package/src/card/enums/UpdateKey.ts +5 -5
- package/src/card/enums/VirtualOrPhysical.ts +6 -6
- package/src/card/enums/issuance/IssuanceFlow.ts +8 -8
- package/src/card/enums/issuance/KycStatus.ts +13 -13
- package/src/card/enums/issuance/ObservationStatus.ts +6 -6
- package/src/card/enums/issuance/ObservationStep.ts +22 -22
- package/src/card/enums/issuance/UserStatus.ts +7 -7
- package/src/card/index.ts +75 -75
- package/src/card/validations/CardUpdateKeyConstraint.ts +71 -71
- package/src/card/validations/IsPhoneNumberConstraint.ts +29 -29
- package/src/centralPayments/dtos/GetMerchantLocationsQueryParams.ts +12 -12
- package/src/centralPayments/dtos/GetMerchantLocationsResponse.ts +6 -6
- package/src/centralPayments/dtos/HealthcheckResponse.ts +8 -8
- package/src/centralPayments/dtos/MerchantLocation.ts +25 -25
- package/src/centralPayments/dtos/OOWAnswer.ts +3 -3
- package/src/centralPayments/dtos/OOWQuestionsResponse.ts +6 -6
- package/src/centralPayments/dtos/SubmitOOWQuestionAnswersRequest.ts +3 -3
- package/src/centralPayments/enums/MerchantLocationDistanceUnitEnum.ts +4 -4
- package/src/centralPayments/enums/ServiceStatusEnum.ts +4 -4
- package/src/centralPayments/index.ts +11 -11
- package/src/cognitoConnector/dtos/ChangePasswordRequest.ts +20 -20
- package/src/cognitoConnector/dtos/GetUserRequest.ts +12 -12
- package/src/cognitoConnector/dtos/GetUserResponse.ts +9 -9
- package/src/cognitoConnector/dtos/RefreshTokenRequest.ts +14 -14
- package/src/cognitoConnector/dtos/RefreshTokenResponse.ts +6 -6
- package/src/cognitoConnector/dtos/RespondToAuthChallengeRequest.ts +25 -25
- package/src/cognitoConnector/dtos/SetPasswordRequest.ts +19 -19
- package/src/cognitoConnector/dtos/SignInRequest.ts +20 -20
- package/src/cognitoConnector/dtos/SignInResponse.ts +11 -11
- package/src/cognitoConnector/dtos/SignUpConfirmRequest.ts +17 -17
- package/src/cognitoConnector/dtos/SignUpRequest.ts +22 -22
- package/src/cognitoConnector/dtos/SignUpResponse.ts +8 -8
- package/src/cognitoConnector/enums/SyncStatus.ts +6 -6
- package/src/cognitoConnector/index.ts +24 -24
- package/src/collector/dtos/CollectionOrderBusiness.ts +119 -119
- package/src/collector/dtos/CollectionOrderExecution.ts +18 -18
- package/src/collector/dtos/CollectionOrderItem.ts +70 -70
- package/src/collector/dtos/CollectorTransactionResponse.ts +12 -12
- package/src/collector/dtos/CollectorTransactionUpdateRequest.ts +6 -6
- package/src/collector/dtos/CreateCollectionOrderRequest.ts +17 -17
- package/src/collector/dtos/CreditContractResponse.ts +11 -11
- package/src/collector/dtos/CreditContractUpdateRequest.ts +14 -14
- package/src/collector/dtos/GetLastExchangeRateOutput.ts +6 -6
- package/src/collector/dtos/OrderCollectorExecutionRequest.ts +17 -17
- package/src/collector/enums/CollectionOrderExecutionStatus.ts +13 -13
- package/src/collector/enums/CollectionType.ts +5 -5
- package/src/collector/enums/CollectorOrderStatus.ts +22 -22
- package/src/collector/index.ts +12 -12
- package/src/company/enums/Company.ts +7 -7
- package/src/company/index.ts +6 -6
- package/src/contactInfo/dtos/ContactInfoBackOfficeResponse.ts +9 -9
- package/src/contactInfo/dtos/ContactInfoCreateBackOfficeRequest.ts +10 -10
- package/src/contactInfo/dtos/ContactInfoCreateRequest.ts +2 -2
- package/src/contactInfo/dtos/ContactInfoRequest.ts +29 -29
- package/src/contactInfo/dtos/ContactInfoResponse.ts +30 -30
- package/src/contactInfo/dtos/ContactInfoUpdateBackOfficeRequest.ts +15 -15
- package/src/contactInfo/dtos/ContactInfoUpdateRequest.ts +4 -4
- package/src/contactInfo/enums/TypeOfContactIdEnum.ts +3 -3
- package/src/contactInfo/index.ts +7 -7
- package/src/contract/dtos/ContractCreateRequest.ts +29 -29
- package/src/contract/dtos/ContractCreateResponse.ts +2 -2
- package/src/contract/index.ts +4 -4
- package/src/country/dtos/CreateCountryRequest.ts +65 -65
- package/src/country/dtos/UpdateCountryRequest.ts +65 -65
- package/src/country/enums/CountriesISO3.ts +220 -220
- package/src/country/enums/Country.ts +6 -6
- package/src/country/enums/CountryISO2ToISO3.ts +69 -69
- package/src/country/enums/CountryISO3ToISO2.ts +61 -61
- package/src/country/enums/CountryId.ts +6 -6
- package/src/country/index.ts +13 -13
- package/src/country/utilities/CountryCodeConverter.ts +13 -13
- package/src/creditContract/dtos/CreditContractCreateRequest.ts +66 -66
- package/src/creditContract/enums/InstrumentEnum.ts +5 -5
- package/src/creditContract/index.ts +5 -5
- package/src/currency/dtos/CurrencyResponse.ts +8 -8
- package/src/currency/index.ts +2 -2
- package/src/device/dtos/RegisterDeviceRequest.ts +20 -20
- package/src/device/dtos/ReplaceDeviceRequest.ts +23 -23
- package/src/device/enums/DeviceStatusEnum.ts +4 -4
- package/src/device/enums/DeviceTypeEnum.ts +4 -4
- package/src/device/index.ts +7 -7
- package/src/directory/dtos/DirectoryBackoffice.ts +16 -16
- package/src/directory/dtos/DirectoryBackofficeCreateRequest.ts +22 -22
- package/src/directory/dtos/DirectoryBackofficeResponse.ts +17 -17
- package/src/directory/dtos/DirectoryBackofficeUpdateRequest.ts +34 -34
- package/src/directory/dtos/DirectoryResponse.ts +19 -19
- package/src/directory/dtos/External.ts +6 -6
- package/src/directory/enums/DirectoryBackofficeStatusEnum.ts +4 -4
- package/src/directory/enums/Profile.ts +6 -6
- package/src/directory/enums/Scope.ts +7 -7
- package/src/directory/enums/Status.ts +9 -9
- package/src/directory/enums/TypeOfDirectoryId.ts +6 -6
- package/src/directory/index.ts +13 -13
- package/src/eventBridge/dto/EventBridgeMessageRequest.ts +4 -4
- package/src/eventBridge/index.ts +1 -1
- package/src/exchangeRate/dtos/ExchangeRateCreateRequest.ts +50 -50
- package/src/exchangeRate/dtos/ExchangeRateCreateResponse.ts +4 -4
- package/src/exchangeRate/dtos/ExchangeRateResponse.ts +19 -19
- package/src/exchangeRate/dtos/GetExchangeRatesRequest.ts +3 -3
- package/src/exchangeRate/enums/ExchangeRateStatus.ts +5 -5
- package/src/exchangeRate/index.ts +9 -9
- package/src/fraudPreventionEngine/dtos/CreateAccountLevelRequest.ts +9 -9
- package/src/fraudPreventionEngine/dtos/GetAccountLevelParams.ts +5 -5
- package/src/fraudPreventionEngine/dtos/GetAccountLevelResponse.ts +7 -7
- package/src/fraudPreventionEngine/enums/AccountLevelTenantEnum.ts +5 -5
- package/src/fraudPreventionEngine/index.ts +5 -5
- package/src/genericMessage/dto/GenericMessageRequest.ts +17 -17
- package/src/genericMessage/enums/GenericMessageSourceEnum.ts +3 -3
- package/src/genericMessage/index.ts +1 -1
- package/src/group/dtos/GroupAddDirectoryRequest.ts +27 -27
- package/src/group/dtos/GroupCreateRequest.ts +54 -54
- package/src/group/dtos/GroupDirectoryRelationsResponse.ts +20 -20
- package/src/group/dtos/GroupDirectoryRelationsUpdateRequest.ts +10 -10
- package/src/group/dtos/GroupResponse.ts +17 -17
- package/src/group/dtos/GroupUpdateRequest.ts +31 -31
- package/src/group/enums/GroupAction.ts +8 -8
- package/src/group/enums/GroupStatus.ts +6 -6
- package/src/group/enums/RelationStatus.ts +8 -8
- package/src/group/enums/RelationType.ts +9 -9
- package/src/group/index.ts +18 -18
- package/src/header/TokenPayload.ts +18 -18
- package/src/header/index.ts +3 -3
- package/src/helpdesk/dtos/HelpdeskCreateTicketRequest.ts +30 -30
- package/src/helpdesk/dtos/HelpdeskCreateUserRequest.ts +39 -39
- package/src/helpdesk/index.ts +1 -1
- package/src/helpers/ValidationUtils.ts +32 -32
- package/src/helpers/constans/regex.ts +12 -12
- package/src/identity/dtos/IdentificationDocument.ts +23 -23
- package/src/identity/dtos/PeopleCreateRequest.ts +28 -28
- package/src/identity/dtos/PeopleResponse.ts +106 -106
- package/src/identity/dtos/PeopleUpdateRequest.ts +100 -100
- package/src/identity/dtos/TypeOfDocument.ts +11 -11
- package/src/identity/dtos/UploadDocumentFile.ts +6 -6
- package/src/identity/dtos/UploadDocumentRequest.ts +9 -9
- package/src/identity/enums/AccountRequirementStatusEnum.ts +4 -4
- package/src/identity/enums/AuthorizationNeededMXNStatus.ts +11 -11
- package/src/identity/enums/CPStatusEnum.ts +12 -12
- package/src/identity/enums/DocumentSideEnum.ts +3 -3
- package/src/identity/enums/IdentificationDocumentStatus.ts +7 -7
- package/src/identity/enums/InfoSelfVerifiedStatus.ts +9 -9
- package/src/identity/enums/SexDocument.ts +6 -6
- package/src/identity/enums/TypeOfDocument.ts +5 -5
- package/src/identity/index.ts +19 -19
- package/src/index.ts +51 -51
- package/src/invoice-collector/dto/InvoiceCollectorMessageQueue.ts +7 -7
- package/src/issuanceBusiness/dtos/BaseIssuanceRequirement.ts +195 -195
- package/src/issuanceBusiness/dtos/IssuanceRequirementCreateRequest.ts +13 -13
- package/src/issuanceBusiness/dtos/IssuanceRequirementResponse.ts +13 -13
- package/src/issuanceBusiness/dtos/IssuanceRequirementUpdateRequest.ts +5 -5
- package/src/issuanceBusiness/enums/IssuanceStatus.ts +7 -7
- package/src/issuanceBusiness/index.ts +8 -8
- package/src/legal-documents-business/dtos/DirectoryAcceptanceRequest.ts +6 -6
- package/src/legal-documents-business/dtos/LegalDocumentCreateRequest.ts +31 -31
- package/src/legal-documents-business/dtos/LegalDocumentResponse.ts +13 -13
- package/src/legal-documents-business/dtos/UpdateLegalDocumentRequest.ts +42 -42
- package/src/legal-documents-business/index.ts +6 -6
- package/src/notificationMessages/dtos/NotificationQueueMessageRequest.ts +7 -7
- package/src/notificationMessages/dtos/QueueMessageDestination.ts +6 -6
- package/src/notificationMessages/dtos/QueueMessageVariableValues.ts +3 -3
- package/src/notificationMessages/enums/NotificationId.ts +13 -13
- package/src/notificationMessages/index.ts +5 -5
- package/src/observations/dtos/ObservationCreateRequest.ts +19 -19
- package/src/observations/index.ts +2 -2
- package/src/p2pContact/dtos/CreateP2pContactRequest.ts +10 -10
- package/src/pricelist/dtos/DiscountCreateRequest.ts +40 -40
- package/src/pricelist/dtos/DiscountResponse.ts +16 -16
- package/src/pricelist/dtos/GetDiscountByServiceIdAndDirectoriesResponse.ts +31 -31
- package/src/pricelist/dtos/GetDiscountListResponse.ts +5 -5
- package/src/pricelist/dtos/GetPricelistListResponse.ts +5 -5
- package/src/pricelist/dtos/PricelistCreateRequest.ts +19 -19
- package/src/pricelist/dtos/PricelistResponse.ts +9 -9
- package/src/pricelist/enums/DiscountTypeEnum.ts +3 -3
- package/src/pricelist/index.ts +11 -11
- package/src/productCatalog/dtos/CreateProductCatalogRequest.ts +14 -14
- package/src/productCatalog/dtos/GetProductCatalogResponse.ts +38 -38
- package/src/productCatalog/enums/CPProductSubtypeEnum.ts +54 -54
- package/src/productCatalog/enums/ProductSubtypeEnum.ts +67 -67
- package/src/productCatalog/enums/ProductTaxFeeTypeEnum.ts +3 -3
- package/src/productCatalog/enums/ProductTypeEnum.ts +9 -9
- package/src/productCatalog/index.ts +6 -6
- package/src/provider/dtos/ProviderDocumentImages.ts +6 -6
- package/src/provider/dtos/ProviderDocumentUploadRequest.ts +6 -6
- package/src/provider/dtos/ProviderDocumentUploadResponse.ts +11 -11
- package/src/provider/dtos/UploadDocumentStatusDetail.ts +10 -10
- package/src/provider/enums/Provider.ts +7 -7
- package/src/provider/enums/ProviderCode.ts +7 -7
- package/src/provider/enums/UploadDocumentStatusEnum.ts +3 -3
- package/src/provider/index.ts +9 -9
- package/src/queue/dtos/QueueMessageBase.ts +13 -13
- package/src/riskProfile/dtos/AlarmCategory.ts +2 -2
- package/src/riskProfile/dtos/AnswerQuestionnaireQuestionRequest.ts +5 -5
- package/src/riskProfile/dtos/CreateBackofficeAlarm.ts +14 -14
- package/src/riskProfile/dtos/CreatePrivateAlarm.ts +38 -38
- package/src/riskProfile/dtos/CreateRiskProfileRequest.ts +45 -45
- package/src/riskProfile/dtos/GetUserQuestionnaireResponse.ts +12 -12
- package/src/riskProfile/dtos/TransactionAlarmQueueMessage.ts +48 -48
- package/src/riskProfile/dtos/TransactionAlertResponse.ts +50 -50
- package/src/riskProfile/dtos/UpdateAlarmProfileRequest.ts +9 -9
- package/src/riskProfile/dtos/UpdateFactorInfo.ts +5 -5
- package/src/riskProfile/dtos/UpdateRiskProfileRequest.ts +5 -5
- package/src/riskProfile/dtos/UpdateTransactionAlertRequest.ts +42 -42
- package/src/riskProfile/dtos/UserQuestionnaireQuestion.ts +8 -8
- package/src/riskProfile/enums/AlarmCategory.ts +11 -11
- package/src/riskProfile/enums/AlarmName.ts +21 -21
- package/src/riskProfile/enums/AlarmOperationType.ts +10 -10
- package/src/riskProfile/enums/AlarmPriority.ts +7 -7
- package/src/riskProfile/enums/AlarmType.ts +7 -7
- package/src/riskProfile/enums/PepLevelEnum.ts +6 -6
- package/src/riskProfile/enums/RiskFactorCategoryEnum.ts +14 -14
- package/src/riskProfile/enums/UserQuestionnaireQuestionAnswerEnum.ts +3 -3
- package/src/riskProfile/enums/UserQuestionnaireQuestionStatusEnum.ts +3 -3
- package/src/riskProfile/enums/UserQuestionnaireStatusEnum.ts +3 -3
- package/src/riskProfile/index.ts +24 -24
- package/src/role/dtos/PermissionCreateRequest.ts +32 -32
- package/src/role/dtos/PermissionResponse.ts +13 -13
- package/src/role/dtos/PermissionUpdateRequest.ts +40 -40
- package/src/role/dtos/RoleAssignRequest.ts +14 -14
- package/src/role/dtos/RoleCreateRequest.ts +18 -18
- package/src/role/dtos/RoleResponse.ts +9 -9
- package/src/role/dtos/RoleUpdateRequest.ts +22 -22
- package/src/role/dtos/UserRoleResponse.ts +9 -9
- package/src/role/index.ts +9 -9
- package/src/servicePayment/dtos/GetCatalogParams.ts +5 -5
- package/src/servicePayment/dtos/ServicePaymentRequest.ts +33 -33
- package/src/servicePayment/index.ts +1 -1
- package/src/services/dtos/CreateServiceRequest.ts +50 -50
- package/src/services/dtos/GetServiceListAppResponse.ts +5 -5
- package/src/services/dtos/GetServiceListResponse.ts +6 -6
- package/src/services/dtos/GetServiceMembershipListAppResponse.ts +4 -4
- package/src/services/dtos/GetServiceMembershipListResponse.ts +5 -5
- package/src/services/dtos/RegisterServiceMembershipRequest.ts +19 -19
- package/src/services/dtos/ServiceMembershipResponse.ts +16 -16
- package/src/services/dtos/ServiceResponse.ts +23 -23
- package/src/services/dtos/UpdateMultipleServiceMembershipStatusRequest.ts +13 -13
- package/src/services/dtos/UpdateServiceMembershipRequest.ts +25 -25
- package/src/services/dtos/UpdateServiceRequest.ts +49 -49
- package/src/services/enums/ServiceCompanyEnum.ts +4 -4
- package/src/services/enums/ServiceFlowEnum.ts +3 -3
- package/src/services/enums/ServiceMembershipStatusEnum.ts +8 -8
- package/src/services/enums/ServiceRecurrenceEnum.ts +6 -6
- package/src/services/enums/ServiceStatusEnum.ts +4 -4
- package/src/services/enums/ServiceTypeEnum.ts +3 -3
- package/src/services/index.ts +24 -24
- package/src/sessionActivity/dtos/SessionActivityQueueMessageRequest.ts +14 -14
- package/src/sessionActivity/enums/SessionActivityActionEnum.ts +7 -7
- package/src/sessionActivity/enums/SessionActivityActionOriginEnum.ts +4 -4
- package/src/sessionActivity/index.ts +2 -2
- package/src/stpAccount/dtos/CreateAccountWebhookDetail.ts +5 -5
- package/src/stpSpei/dtos/GetBusinessAccountBalanceResponse.ts +4 -4
- package/src/stpSpei/dtos/PutStpOrderRequest.ts +19 -19
- package/src/stpSpei/dtos/SpeiWebhookMessage.ts +10 -10
- package/src/stpSpei/enums/ActividadesProductivasEnum.ts +47 -47
- package/src/stpSpei/enums/BusinessNameEnum.ts +3 -3
- package/src/stpSpei/enums/EntidadesFederativasEnum.ts +33 -33
- package/src/stpSpei/enums/PaisesEnum.ts +275 -275
- package/src/stpSpei/enums/WebhookMessageStatusEnum.ts +7 -7
- package/src/stpSpei/index.ts +9 -9
- package/src/transaction/dtos/ActivityProblemGetResponse.ts +22 -22
- package/src/transaction/dtos/Credit.ts +24 -24
- package/src/transaction/dtos/Debit.ts +20 -20
- package/src/transaction/dtos/Notional.ts +20 -20
- package/src/transaction/dtos/Product.ts +26 -26
- package/src/transaction/dtos/ProductDetail.ts +51 -51
- package/src/transaction/dtos/Total.ts +20 -20
- package/src/transaction/dtos/TransactionCreateRequest.ts +143 -143
- package/src/transaction/dtos/TransactionCreateResponse.ts +4 -4
- package/src/transaction/dtos/TransactionGetDetailResponse.ts +28 -28
- package/src/transaction/dtos/TransactionGetResponse.ts +22 -22
- package/src/transaction/dtos/internal/BaseProviderTransaction.ts +20 -20
- package/src/transaction/dtos/internal/BaseProviderTransactionQueryParams.ts +6 -6
- package/src/transaction/dtos/internal/CentralPaymentsQueryParams.ts +6 -6
- package/src/transaction/dtos/internal/CentralPaymentsTransactionItem.ts +37 -37
- package/src/transaction/dtos/internal/ProviderTransactionCompletionRequest.ts +3 -3
- package/src/transaction/dtos/internal/ProviderTransactionCompletionResponse.ts +4 -4
- package/src/transaction/dtos/internal/ProviderTransactionMerchant.ts +10 -10
- package/src/transaction/dtos/internal/ProviderTransactionPagination.ts +5 -5
- package/src/transaction/dtos/internal/ProviderTransactionReversalRequest.ts +3 -3
- package/src/transaction/dtos/internal/ProviderTransactionReversalResponse.ts +5 -5
- package/src/transaction/dtos/internal/TernQueryParams.ts +13 -13
- package/src/transaction/dtos/internal/TernTransactionItem.ts +23 -23
- package/src/transaction/dtos/internal/TransactionListResponse.ts +5 -5
- package/src/transaction/enums/ActivityProblemStatusEnum.ts +4 -4
- package/src/transaction/enums/DisputeOrFraudEnum.ts +3 -3
- package/src/transaction/enums/DisputeOrFraudStatusEnum.ts +4 -4
- package/src/transaction/enums/OperationEnum.ts +3 -3
- package/src/transaction/enums/TransactionSourceEnum.ts +7 -7
- package/src/transaction/enums/TransactionStatusEnum.ts +11 -11
- package/src/transaction/index.ts +35 -35
- package/src/transactionProcessor/dtos/AmountInfo.ts +6 -6
- package/src/transactionProcessor/dtos/AmountInfoItem.ts +3 -3
- package/src/transactionProcessor/dtos/AuthorizeAdjustmentTransactionRequest.ts +14 -14
- package/src/transactionProcessor/dtos/AuthorizeCollectorOrderRequest.ts +27 -27
- package/src/transactionProcessor/dtos/AuthorizeCollectorOrderResponse.ts +18 -18
- package/src/transactionProcessor/dtos/AuthorizeCollectorTransactionRequest.ts +9 -9
- package/src/transactionProcessor/dtos/AuthorizeCreditCardAdjustmentRequest.ts +19 -19
- package/src/transactionProcessor/dtos/AuthorizeCreditCardPurchaseRequest.ts +16 -16
- package/src/transactionProcessor/dtos/AuthorizeDisputeTransactionRequest.ts +13 -13
- package/src/transactionProcessor/dtos/AuthorizeMCSendTransactionRequest.ts +10 -10
- package/src/transactionProcessor/dtos/AuthorizeP2pTransactionRequest.ts +11 -11
- package/src/transactionProcessor/dtos/AuthorizePocketTransactionRequest.ts +8 -8
- package/src/transactionProcessor/dtos/AuthorizeRstTransactionRequest.ts +4 -4
- package/src/transactionProcessor/dtos/AuthorizeServicePaymentRequest.ts +7 -7
- package/src/transactionProcessor/dtos/AuthorizeSpeiBankTransferNcRequest.ts +14 -14
- package/src/transactionProcessor/dtos/AuthorizeSpeiBankTransferRequest.ts +7 -7
- package/src/transactionProcessor/dtos/AuthorizeSpeiMexBankTransferInRequest.ts +37 -37
- package/src/transactionProcessor/dtos/AuthorizeUsdAchTransactionRequest.ts +6 -6
- package/src/transactionProcessor/dtos/BankInfo.ts +9 -9
- package/src/transactionProcessor/dtos/CardInfo.ts +5 -5
- package/src/transactionProcessor/dtos/ChargebackTransactionItem.ts +11 -11
- package/src/transactionProcessor/dtos/CreditContractInfo.ts +6 -6
- package/src/transactionProcessor/dtos/EventTransactionInfo.ts +23 -23
- package/src/transactionProcessor/dtos/EventTransactionRequest.ts +19 -19
- package/src/transactionProcessor/dtos/InstallmentsInfo.ts +6 -6
- package/src/transactionProcessor/dtos/MembershipTransactionItem.ts +10 -10
- package/src/transactionProcessor/dtos/MerchantInfo.ts +6 -6
- package/src/transactionProcessor/dtos/ProcessUpdateLevelRequest.ts +3 -3
- package/src/transactionProcessor/dtos/ProviderProcessChargebackTransactionRequest.ts +4 -4
- package/src/transactionProcessor/dtos/ProviderProcessChargebackTransactionResponse.ts +4 -4
- package/src/transactionProcessor/dtos/ProviderProcessMembershipTransactionRequest.ts +4 -4
- package/src/transactionProcessor/dtos/ProviderProcessMembershipTransactionResponse.ts +4 -4
- package/src/transactionProcessor/dtos/RSTTransactionStatusUpdate.ts +6 -6
- package/src/transactionProcessor/dtos/SpeiBankTransferStatusUpdate.ts +6 -6
- package/src/transactionProcessor/dtos/TransactionInfo.ts +7 -7
- package/src/transactionProcessor/dtos/TransactionProcessorQueueMessage.ts +3 -3
- package/src/transactionProcessor/dtos/TransactionProcessorResponse.ts +13 -13
- package/src/transactionProcessor/enums/AppEnum.ts +3 -3
- package/src/transactionProcessor/enums/AsyncTxStatusEnum.ts +5 -5
- package/src/transactionProcessor/enums/CreditContractStatusEnum.ts +7 -7
- package/src/transactionProcessor/enums/EventChannelEnum.ts +12 -12
- package/src/transactionProcessor/enums/EventTypeEnum.ts +16 -16
- package/src/transactionProcessor/enums/TransactionInfoStatusEnum.ts +7 -7
- package/src/transactionProcessor/enums/TransactionProcessorCodesEnum.ts +20 -20
- package/src/transactionProcessor/index.ts +46 -46
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { DirectoryBackofficeStatusEnum } from "../enums/DirectoryBackofficeStatusEnum"
|
|
2
|
-
|
|
3
|
-
export class DirectoryBackoffice {
|
|
4
|
-
id:string
|
|
5
|
-
fullName:string
|
|
6
|
-
jobTitle:string
|
|
7
|
-
identityId:string
|
|
8
|
-
failedLoginAttempts:number
|
|
9
|
-
lastSession:number
|
|
10
|
-
status:DirectoryBackofficeStatusEnum
|
|
11
|
-
tenantId:string
|
|
12
|
-
createdAt:number
|
|
13
|
-
createdby:string
|
|
14
|
-
updatedAt:number
|
|
15
|
-
updatedBy:string
|
|
16
|
-
}
|
|
1
|
+
import { DirectoryBackofficeStatusEnum } from "../enums/DirectoryBackofficeStatusEnum"
|
|
2
|
+
|
|
3
|
+
export class DirectoryBackoffice {
|
|
4
|
+
id:string
|
|
5
|
+
fullName:string
|
|
6
|
+
jobTitle:string
|
|
7
|
+
identityId:string
|
|
8
|
+
failedLoginAttempts:number
|
|
9
|
+
lastSession:number
|
|
10
|
+
status:DirectoryBackofficeStatusEnum
|
|
11
|
+
tenantId:string
|
|
12
|
+
createdAt:number
|
|
13
|
+
createdby:string
|
|
14
|
+
updatedAt:number
|
|
15
|
+
updatedBy:string
|
|
16
|
+
}
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import { IsNotEmpty, IsString } from 'class-validator';
|
|
4
|
-
|
|
5
|
-
export class DirectoryBackofficeCreateRequest {
|
|
6
|
-
|
|
7
|
-
@IsString()
|
|
8
|
-
@IsNotEmpty()
|
|
9
|
-
fullName: string;
|
|
10
|
-
|
|
11
|
-
@IsString()
|
|
12
|
-
jobTitle: string;
|
|
13
|
-
|
|
14
|
-
@IsString()
|
|
15
|
-
@IsNotEmpty()
|
|
16
|
-
email: string;
|
|
17
|
-
|
|
18
|
-
@IsString()
|
|
19
|
-
@IsNotEmpty()
|
|
20
|
-
createdby: string;
|
|
21
|
-
|
|
22
|
-
}
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
import { IsNotEmpty, IsString } from 'class-validator';
|
|
4
|
+
|
|
5
|
+
export class DirectoryBackofficeCreateRequest {
|
|
6
|
+
|
|
7
|
+
@IsString()
|
|
8
|
+
@IsNotEmpty()
|
|
9
|
+
fullName: string;
|
|
10
|
+
|
|
11
|
+
@IsString()
|
|
12
|
+
jobTitle: string;
|
|
13
|
+
|
|
14
|
+
@IsString()
|
|
15
|
+
@IsNotEmpty()
|
|
16
|
+
email: string;
|
|
17
|
+
|
|
18
|
+
@IsString()
|
|
19
|
+
@IsNotEmpty()
|
|
20
|
+
createdby: string;
|
|
21
|
+
|
|
22
|
+
}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
import { DirectoryBackofficeStatusEnum } from "../enums/DirectoryBackofficeStatusEnum"
|
|
3
|
-
|
|
4
|
-
export class DirectoryBackofficeResponse {
|
|
5
|
-
id:string
|
|
6
|
-
email:string
|
|
7
|
-
fullName:string
|
|
8
|
-
jobTitle:string
|
|
9
|
-
identityId:string
|
|
10
|
-
failedLoginAttempts:number
|
|
11
|
-
lastSession:number
|
|
12
|
-
status:DirectoryBackofficeStatusEnum
|
|
13
|
-
tenantId:string
|
|
14
|
-
createdAt:number
|
|
15
|
-
createdby:string
|
|
16
|
-
updatedAt:number
|
|
17
|
-
updatedBy:string
|
|
1
|
+
|
|
2
|
+
import { DirectoryBackofficeStatusEnum } from "../enums/DirectoryBackofficeStatusEnum"
|
|
3
|
+
|
|
4
|
+
export class DirectoryBackofficeResponse {
|
|
5
|
+
id:string
|
|
6
|
+
email:string
|
|
7
|
+
fullName:string
|
|
8
|
+
jobTitle:string
|
|
9
|
+
identityId:string
|
|
10
|
+
failedLoginAttempts:number
|
|
11
|
+
lastSession:number
|
|
12
|
+
status:DirectoryBackofficeStatusEnum
|
|
13
|
+
tenantId:string
|
|
14
|
+
createdAt:number
|
|
15
|
+
createdby:string
|
|
16
|
+
updatedAt:number
|
|
17
|
+
updatedBy:string
|
|
18
18
|
}
|
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import { IsEnum, IsNotEmpty, IsOptional, IsString } from 'class-validator';
|
|
4
|
-
import { DirectoryBackofficeStatusEnum } from '../enums/DirectoryBackofficeStatusEnum';
|
|
5
|
-
|
|
6
|
-
export class DirectoryBackofficeUpdateRequest {
|
|
7
|
-
|
|
8
|
-
@IsString()
|
|
9
|
-
@IsOptional()
|
|
10
|
-
@IsNotEmpty()
|
|
11
|
-
fullName?: string;
|
|
12
|
-
|
|
13
|
-
@IsString()
|
|
14
|
-
@IsOptional()
|
|
15
|
-
jobTitle?: string;
|
|
16
|
-
|
|
17
|
-
@IsString()
|
|
18
|
-
@IsOptional()
|
|
19
|
-
@IsNotEmpty()
|
|
20
|
-
email?: string;
|
|
21
|
-
|
|
22
|
-
@IsEnum(DirectoryBackofficeStatusEnum)
|
|
23
|
-
@IsOptional()
|
|
24
|
-
status?: DirectoryBackofficeStatusEnum;
|
|
25
|
-
|
|
26
|
-
@IsString()
|
|
27
|
-
@IsOptional()
|
|
28
|
-
identityId?: string;
|
|
29
|
-
|
|
30
|
-
@IsString()
|
|
31
|
-
@IsNotEmpty()
|
|
32
|
-
updatedBy?: string;
|
|
33
|
-
|
|
34
|
-
}
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
import { IsEnum, IsNotEmpty, IsOptional, IsString } from 'class-validator';
|
|
4
|
+
import { DirectoryBackofficeStatusEnum } from '../enums/DirectoryBackofficeStatusEnum';
|
|
5
|
+
|
|
6
|
+
export class DirectoryBackofficeUpdateRequest {
|
|
7
|
+
|
|
8
|
+
@IsString()
|
|
9
|
+
@IsOptional()
|
|
10
|
+
@IsNotEmpty()
|
|
11
|
+
fullName?: string;
|
|
12
|
+
|
|
13
|
+
@IsString()
|
|
14
|
+
@IsOptional()
|
|
15
|
+
jobTitle?: string;
|
|
16
|
+
|
|
17
|
+
@IsString()
|
|
18
|
+
@IsOptional()
|
|
19
|
+
@IsNotEmpty()
|
|
20
|
+
email?: string;
|
|
21
|
+
|
|
22
|
+
@IsEnum(DirectoryBackofficeStatusEnum)
|
|
23
|
+
@IsOptional()
|
|
24
|
+
status?: DirectoryBackofficeStatusEnum;
|
|
25
|
+
|
|
26
|
+
@IsString()
|
|
27
|
+
@IsOptional()
|
|
28
|
+
identityId?: string;
|
|
29
|
+
|
|
30
|
+
@IsString()
|
|
31
|
+
@IsNotEmpty()
|
|
32
|
+
updatedBy?: string;
|
|
33
|
+
|
|
34
|
+
}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { Profile } from "../enums/Profile";
|
|
2
|
-
import { Scope } from "../enums/Scope";
|
|
3
|
-
import { Status } from "../enums/Status";
|
|
4
|
-
import { External } from "./External";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
export interface DirectoryResponse {
|
|
8
|
-
id: string;
|
|
9
|
-
identityId: string | null;
|
|
10
|
-
lastSession: string | null;
|
|
11
|
-
ownerDirectoryId: string | null;
|
|
12
|
-
password: string;
|
|
13
|
-
peopleId: string;
|
|
14
|
-
phoneNumber: string;
|
|
15
|
-
scope: Array<Scope>;
|
|
16
|
-
status: Status;
|
|
17
|
-
userProfile: Profile;
|
|
18
|
-
ownerRelation: string | null;
|
|
19
|
-
external: Array<External>;
|
|
1
|
+
import { Profile } from "../enums/Profile";
|
|
2
|
+
import { Scope } from "../enums/Scope";
|
|
3
|
+
import { Status } from "../enums/Status";
|
|
4
|
+
import { External } from "./External";
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
export interface DirectoryResponse {
|
|
8
|
+
id: string;
|
|
9
|
+
identityId: string | null;
|
|
10
|
+
lastSession: string | null;
|
|
11
|
+
ownerDirectoryId: string | null;
|
|
12
|
+
password: string;
|
|
13
|
+
peopleId: string;
|
|
14
|
+
phoneNumber: string;
|
|
15
|
+
scope: Array<Scope>;
|
|
16
|
+
status: Status;
|
|
17
|
+
userProfile: Profile;
|
|
18
|
+
ownerRelation: string | null;
|
|
19
|
+
external: Array<External>;
|
|
20
20
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Provider } from "../../provider/enums/Provider";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
export type External = {
|
|
5
|
-
provider: Provider;
|
|
6
|
-
user: string;
|
|
1
|
+
import { Provider } from "../../provider/enums/Provider";
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
export type External = {
|
|
5
|
+
provider: Provider;
|
|
6
|
+
user: string;
|
|
7
7
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export enum DirectoryBackofficeStatusEnum {
|
|
2
|
-
ACTIVE = "ACTIVE",
|
|
3
|
-
INACTIVE = "INACTIVE",
|
|
4
|
-
}
|
|
1
|
+
export enum DirectoryBackofficeStatusEnum {
|
|
2
|
+
ACTIVE = "ACTIVE",
|
|
3
|
+
INACTIVE = "INACTIVE",
|
|
4
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
export enum Profile {
|
|
4
|
-
HOST = "HOST",
|
|
5
|
-
GUEST = "GUEST",
|
|
6
|
-
GUEST_MINOR = "GUEST_MINOR"
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
export enum Profile {
|
|
4
|
+
HOST = "HOST",
|
|
5
|
+
GUEST = "GUEST",
|
|
6
|
+
GUEST_MINOR = "GUEST_MINOR"
|
|
7
7
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
export enum Scope {
|
|
4
|
-
FIADO_MX = "fiado.mx",
|
|
5
|
-
FIADO_US = "fiado.us",
|
|
6
|
-
US_ONBOARDING_PROFILE = "fiado.on_us",
|
|
7
|
-
MX_ONBOARDING_PROFILE = "fiado.on_mx"
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
export enum Scope {
|
|
4
|
+
FIADO_MX = "fiado.mx",
|
|
5
|
+
FIADO_US = "fiado.us",
|
|
6
|
+
US_ONBOARDING_PROFILE = "fiado.on_us",
|
|
7
|
+
MX_ONBOARDING_PROFILE = "fiado.on_mx"
|
|
8
8
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
export enum Status {
|
|
4
|
-
ACTIVE = "ACTIVE",
|
|
5
|
-
PAUSED = "PAUSED",
|
|
6
|
-
PROHIBITED = "PROHIBITED",
|
|
7
|
-
SIGN_UP = "SIGN_UP",
|
|
8
|
-
CANCELLED = "CANCELLED"
|
|
9
|
-
}
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
export enum Status {
|
|
4
|
+
ACTIVE = "ACTIVE",
|
|
5
|
+
PAUSED = "PAUSED",
|
|
6
|
+
PROHIBITED = "PROHIBITED",
|
|
7
|
+
SIGN_UP = "SIGN_UP",
|
|
8
|
+
CANCELLED = "CANCELLED"
|
|
9
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
export enum TypeOfDirectoryId {
|
|
4
|
-
USER = "USER",
|
|
5
|
-
BACKOFFICE = "BACKOFFICE",
|
|
6
|
-
AGENT = "AGENT"
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
export enum TypeOfDirectoryId {
|
|
4
|
+
USER = "USER",
|
|
5
|
+
BACKOFFICE = "BACKOFFICE",
|
|
6
|
+
AGENT = "AGENT"
|
|
7
7
|
}
|
package/src/directory/index.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
//dtos
|
|
3
|
-
export * from './dtos/DirectoryResponse';
|
|
4
|
-
export * from './dtos/DirectoryBackoffice';
|
|
5
|
-
export * from './dtos/DirectoryBackofficeCreateRequest';
|
|
6
|
-
export * from './dtos/DirectoryBackofficeResponse';
|
|
7
|
-
export * from './dtos/DirectoryBackofficeUpdateRequest';
|
|
8
|
-
|
|
9
|
-
export * from './dtos/External';
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
//enums
|
|
13
|
-
export * from './enums/TypeOfDirectoryId';
|
|
1
|
+
|
|
2
|
+
//dtos
|
|
3
|
+
export * from './dtos/DirectoryResponse';
|
|
4
|
+
export * from './dtos/DirectoryBackoffice';
|
|
5
|
+
export * from './dtos/DirectoryBackofficeCreateRequest';
|
|
6
|
+
export * from './dtos/DirectoryBackofficeResponse';
|
|
7
|
+
export * from './dtos/DirectoryBackofficeUpdateRequest';
|
|
8
|
+
|
|
9
|
+
export * from './dtos/External';
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
//enums
|
|
13
|
+
export * from './enums/TypeOfDirectoryId';
|
|
14
14
|
export * from './enums/DirectoryBackofficeStatusEnum';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { GenericMessageRequest } from "../../genericMessage/dto/GenericMessageRequest";
|
|
2
|
-
|
|
3
|
-
export class EventBridgeMessageRequest<T> extends GenericMessageRequest<T>{
|
|
4
|
-
|
|
1
|
+
import { GenericMessageRequest } from "../../genericMessage/dto/GenericMessageRequest";
|
|
2
|
+
|
|
3
|
+
export class EventBridgeMessageRequest<T> extends GenericMessageRequest<T>{
|
|
4
|
+
|
|
5
5
|
}
|
package/src/eventBridge/index.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
//dto
|
|
1
|
+
//dto
|
|
2
2
|
export * from './dto/EventBridgeMessageRequest';
|
|
@@ -1,51 +1,51 @@
|
|
|
1
|
-
|
|
2
|
-
import { IsEnum, IsNumber, IsString, IsUUID, Max, Min, ValidateNested } from "class-validator";
|
|
3
|
-
import { CurrencyResponse } from "../../currency/dtos/CurrencyResponse";
|
|
4
|
-
import { Type } from "class-transformer";
|
|
5
|
-
import { CountryId } from "../../country";
|
|
6
|
-
import { ExchangeRateStatus } from "../enums/ExchangeRateStatus";
|
|
7
|
-
|
|
8
|
-
export class ExchangeRateCreateRequest {
|
|
9
|
-
|
|
10
|
-
@IsUUID()
|
|
11
|
-
id: string;
|
|
12
|
-
|
|
13
|
-
@IsNumber()
|
|
14
|
-
adjustmentExchangeRate: number;
|
|
15
|
-
|
|
16
|
-
@IsNumber()
|
|
17
|
-
adjustmentPercentage: number;
|
|
18
|
-
|
|
19
|
-
@ValidateNested()
|
|
20
|
-
@Type(() => CurrencyResponse)
|
|
21
|
-
destinationCurrency: CurrencyResponse;
|
|
22
|
-
|
|
23
|
-
@IsString()
|
|
24
|
-
destinationCurrencyId: CountryId;
|
|
25
|
-
|
|
26
|
-
@IsNumber()
|
|
27
|
-
exchangeRate: number;
|
|
28
|
-
|
|
29
|
-
@IsNumber()
|
|
30
|
-
fxFactor: number;
|
|
31
|
-
|
|
32
|
-
@IsNumber()
|
|
33
|
-
@Max(50000)
|
|
34
|
-
@Min(10)
|
|
35
|
-
maxRequestAmount: number;
|
|
36
|
-
|
|
37
|
-
@IsNumber()
|
|
38
|
-
@Max(50000)
|
|
39
|
-
@Min(10)
|
|
40
|
-
minRequestAmount: number;
|
|
41
|
-
|
|
42
|
-
@ValidateNested()
|
|
43
|
-
@Type(() => CurrencyResponse)
|
|
44
|
-
originCurrency: CurrencyResponse;
|
|
45
|
-
|
|
46
|
-
@IsString()
|
|
47
|
-
originCurrencyId: string;
|
|
48
|
-
|
|
49
|
-
@IsEnum(ExchangeRateStatus)
|
|
50
|
-
status: ExchangeRateStatus;
|
|
1
|
+
|
|
2
|
+
import { IsEnum, IsNumber, IsString, IsUUID, Max, Min, ValidateNested } from "class-validator";
|
|
3
|
+
import { CurrencyResponse } from "../../currency/dtos/CurrencyResponse";
|
|
4
|
+
import { Type } from "class-transformer";
|
|
5
|
+
import { CountryId } from "../../country";
|
|
6
|
+
import { ExchangeRateStatus } from "../enums/ExchangeRateStatus";
|
|
7
|
+
|
|
8
|
+
export class ExchangeRateCreateRequest {
|
|
9
|
+
|
|
10
|
+
@IsUUID()
|
|
11
|
+
id: string;
|
|
12
|
+
|
|
13
|
+
@IsNumber()
|
|
14
|
+
adjustmentExchangeRate: number;
|
|
15
|
+
|
|
16
|
+
@IsNumber()
|
|
17
|
+
adjustmentPercentage: number;
|
|
18
|
+
|
|
19
|
+
@ValidateNested()
|
|
20
|
+
@Type(() => CurrencyResponse)
|
|
21
|
+
destinationCurrency: CurrencyResponse;
|
|
22
|
+
|
|
23
|
+
@IsString()
|
|
24
|
+
destinationCurrencyId: CountryId;
|
|
25
|
+
|
|
26
|
+
@IsNumber()
|
|
27
|
+
exchangeRate: number;
|
|
28
|
+
|
|
29
|
+
@IsNumber()
|
|
30
|
+
fxFactor: number;
|
|
31
|
+
|
|
32
|
+
@IsNumber()
|
|
33
|
+
@Max(50000)
|
|
34
|
+
@Min(10)
|
|
35
|
+
maxRequestAmount: number;
|
|
36
|
+
|
|
37
|
+
@IsNumber()
|
|
38
|
+
@Max(50000)
|
|
39
|
+
@Min(10)
|
|
40
|
+
minRequestAmount: number;
|
|
41
|
+
|
|
42
|
+
@ValidateNested()
|
|
43
|
+
@Type(() => CurrencyResponse)
|
|
44
|
+
originCurrency: CurrencyResponse;
|
|
45
|
+
|
|
46
|
+
@IsString()
|
|
47
|
+
originCurrencyId: string;
|
|
48
|
+
|
|
49
|
+
@IsEnum(ExchangeRateStatus)
|
|
50
|
+
status: ExchangeRateStatus;
|
|
51
51
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ExchangeRateResponse } from "./ExchangeRateResponse";
|
|
2
|
-
|
|
3
|
-
export class ExchangeRateCreateResponse extends ExchangeRateResponse {
|
|
4
|
-
|
|
1
|
+
import { ExchangeRateResponse } from "./ExchangeRateResponse";
|
|
2
|
+
|
|
3
|
+
export class ExchangeRateCreateResponse extends ExchangeRateResponse {
|
|
4
|
+
|
|
5
5
|
}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { CurrencyResponse } from "../../currency/dtos/CurrencyResponse";
|
|
2
|
-
import { CountryId } from "../../country";
|
|
3
|
-
import { ExchangeRateStatus } from "../enums/ExchangeRateStatus";
|
|
4
|
-
|
|
5
|
-
export class ExchangeRateResponse {
|
|
6
|
-
|
|
7
|
-
id: string;
|
|
8
|
-
adjustmentExchangeRate: number;
|
|
9
|
-
adjustmentPercentage: number;
|
|
10
|
-
createDate: string;
|
|
11
|
-
destinationCurrency: CurrencyResponse;
|
|
12
|
-
destinationCurrencyId: CountryId;
|
|
13
|
-
exchangeRate: number;
|
|
14
|
-
fxFactor: number;
|
|
15
|
-
maxRequestAmount: number;
|
|
16
|
-
minRequestAmount: number;
|
|
17
|
-
originCurrency: CurrencyResponse;
|
|
18
|
-
originCurrencyId: string;
|
|
19
|
-
status: ExchangeRateStatus;
|
|
1
|
+
import { CurrencyResponse } from "../../currency/dtos/CurrencyResponse";
|
|
2
|
+
import { CountryId } from "../../country";
|
|
3
|
+
import { ExchangeRateStatus } from "../enums/ExchangeRateStatus";
|
|
4
|
+
|
|
5
|
+
export class ExchangeRateResponse {
|
|
6
|
+
|
|
7
|
+
id: string;
|
|
8
|
+
adjustmentExchangeRate: number;
|
|
9
|
+
adjustmentPercentage: number;
|
|
10
|
+
createDate: string;
|
|
11
|
+
destinationCurrency: CurrencyResponse;
|
|
12
|
+
destinationCurrencyId: CountryId;
|
|
13
|
+
exchangeRate: number;
|
|
14
|
+
fxFactor: number;
|
|
15
|
+
maxRequestAmount: number;
|
|
16
|
+
minRequestAmount: number;
|
|
17
|
+
originCurrency: CurrencyResponse;
|
|
18
|
+
originCurrencyId: string;
|
|
19
|
+
status: ExchangeRateStatus;
|
|
20
20
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export default class GetExchangeRatesRequest {
|
|
2
|
-
originCurrencyId: string;
|
|
3
|
-
destinationCurrencyId: string;
|
|
1
|
+
export default class GetExchangeRatesRequest {
|
|
2
|
+
originCurrencyId: string;
|
|
3
|
+
destinationCurrencyId: string;
|
|
4
4
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
export enum ExchangeRateStatus {
|
|
4
|
-
ENABLED = 'ENABLED',
|
|
5
|
-
DISABLED = 'DISABLED'
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
export enum ExchangeRateStatus {
|
|
4
|
+
ENABLED = 'ENABLED',
|
|
5
|
+
DISABLED = 'DISABLED'
|
|
6
6
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
//dtos
|
|
2
|
-
export * from './dtos/ExchangeRateResponse';
|
|
3
|
-
export * from './dtos/ExchangeRateCreateRequest';
|
|
4
|
-
export * from './dtos/ExchangeRateCreateResponse';
|
|
5
|
-
export * from './dtos/GetExchangeRatesRequest';
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
//enums
|
|
1
|
+
//dtos
|
|
2
|
+
export * from './dtos/ExchangeRateResponse';
|
|
3
|
+
export * from './dtos/ExchangeRateCreateRequest';
|
|
4
|
+
export * from './dtos/ExchangeRateCreateResponse';
|
|
5
|
+
export * from './dtos/GetExchangeRatesRequest';
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
//enums
|
|
10
10
|
export * from './enums/ExchangeRateStatus';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {AccountLevelTenantEnum} from "../enums/AccountLevelTenantEnum";
|
|
2
|
-
|
|
3
|
-
export default class CreateAccountLevelRequest {
|
|
4
|
-
id: string;
|
|
5
|
-
amountUnit: string;
|
|
6
|
-
maxAvailableBalanceAmount: number;
|
|
7
|
-
maxMonthlyIncomingAmount: number;
|
|
8
|
-
maxMonthlyOutgoingAmount: number;
|
|
9
|
-
tenantId: AccountLevelTenantEnum;
|
|
1
|
+
import {AccountLevelTenantEnum} from "../enums/AccountLevelTenantEnum";
|
|
2
|
+
|
|
3
|
+
export default class CreateAccountLevelRequest {
|
|
4
|
+
id: string;
|
|
5
|
+
amountUnit: string;
|
|
6
|
+
maxAvailableBalanceAmount: number;
|
|
7
|
+
maxMonthlyIncomingAmount: number;
|
|
8
|
+
maxMonthlyOutgoingAmount: number;
|
|
9
|
+
tenantId: AccountLevelTenantEnum;
|
|
10
10
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export default class GetAccountLevelParams {
|
|
2
|
-
id?: string;
|
|
3
|
-
tenantId?: string;
|
|
4
|
-
amountUnit?: string;
|
|
5
|
-
|
|
1
|
+
export default class GetAccountLevelParams {
|
|
2
|
+
id?: string;
|
|
3
|
+
tenantId?: string;
|
|
4
|
+
amountUnit?: string;
|
|
5
|
+
|
|
6
6
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export class GetAccountLevelResponse {
|
|
2
|
-
id: string;
|
|
3
|
-
amountUnit: string;
|
|
4
|
-
maxAvailableBalanceAmount: number;
|
|
5
|
-
maxMonthlyIncomingAmount: number;
|
|
6
|
-
maxMonthlyOutgoingAmount: number;
|
|
7
|
-
tenantId: string;
|
|
1
|
+
export class GetAccountLevelResponse {
|
|
2
|
+
id: string;
|
|
3
|
+
amountUnit: string;
|
|
4
|
+
maxAvailableBalanceAmount: number;
|
|
5
|
+
maxMonthlyIncomingAmount: number;
|
|
6
|
+
maxMonthlyOutgoingAmount: number;
|
|
7
|
+
tenantId: string;
|
|
8
8
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export enum AccountLevelTenantEnum {
|
|
2
|
-
FIADO_BETA = 'FIADO_BETA',
|
|
3
|
-
FIADO = 'FIADO',
|
|
4
|
-
FIADOSA = 'FIADOSA',
|
|
5
|
-
FIADOINC = 'FIADOINC'
|
|
1
|
+
export enum AccountLevelTenantEnum {
|
|
2
|
+
FIADO_BETA = 'FIADO_BETA',
|
|
3
|
+
FIADO = 'FIADO',
|
|
4
|
+
FIADOSA = 'FIADOSA',
|
|
5
|
+
FIADOINC = 'FIADOINC'
|
|
6
6
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export * from './dtos/GetAccountLevelParams';
|
|
2
|
-
export * from './dtos/GetAccountLevelResponse';
|
|
3
|
-
export * from './dtos/CreateAccountLevelRequest';
|
|
4
|
-
|
|
5
|
-
export * from './enums/AccountLevelTenantEnum';
|
|
1
|
+
export * from './dtos/GetAccountLevelParams';
|
|
2
|
+
export * from './dtos/GetAccountLevelResponse';
|
|
3
|
+
export * from './dtos/CreateAccountLevelRequest';
|
|
4
|
+
|
|
5
|
+
export * from './enums/AccountLevelTenantEnum';
|