@fiado/type-kit 3.46.2 → 3.48.0
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 +572 -572
- package/_test_/cognitoBackofficeConnector/validators/MfaTypesRequiresOne.test.ts +77 -77
- package/_test_/unit/cognitoBackofficeConnector/dtos/Introspect.test.ts +30 -0
- package/_test_/unit/cognitoBackofficeConnector/validators/NoTenantIdInCustomAttrs.test.ts +43 -43
- package/_test_/unit/platformRbac/dtos/AuthorizeRequest.test.ts +30 -0
- package/_test_/unit/platformRbac/dtos/AuthorizeResponse.test.ts +25 -0
- package/bin/cognitoBackofficeConnector/dtos/IntrospectRequest.d.ts +7 -0
- package/bin/cognitoBackofficeConnector/dtos/IntrospectRequest.js +42 -0
- package/bin/cognitoBackofficeConnector/dtos/IntrospectResponse.d.ts +7 -0
- package/bin/cognitoBackofficeConnector/dtos/IntrospectResponse.js +36 -0
- package/bin/cognitoBackofficeConnector/enums/IntrospectFailReason.d.ts +11 -0
- package/bin/cognitoBackofficeConnector/enums/IntrospectFailReason.js +15 -0
- package/bin/cognitoBackofficeConnector/index.d.ts +3 -0
- package/bin/cognitoBackofficeConnector/index.js +4 -0
- package/bin/index.d.ts +1 -0
- package/bin/index.js +2 -1
- package/bin/platformRbac/dtos/AuthorizeRequest.d.ts +11 -0
- package/bin/platformRbac/dtos/AuthorizeRequest.js +46 -0
- package/bin/platformRbac/dtos/AuthorizeResponse.d.ts +13 -0
- package/bin/platformRbac/dtos/AuthorizeResponse.js +35 -0
- package/bin/platformRbac/enums/AuthorizeDenyReason.d.ts +10 -0
- package/bin/platformRbac/enums/AuthorizeDenyReason.js +14 -0
- package/bin/platformRbac/index.d.ts +3 -0
- package/bin/platformRbac/index.js +6 -1
- package/bin/provider/enums/Provider.d.ts +1 -2
- package/bin/provider/enums/Provider.js +0 -1
- package/bin/remittance/dtos/index.d.ts +0 -2
- package/bin/remittance/dtos/index.js +0 -2
- package/bin/totpSecurity/dtos/TotpDeleteRequest.d.ts +5 -0
- package/bin/totpSecurity/dtos/TotpDeleteRequest.js +35 -0
- package/bin/totpSecurity/dtos/TotpDeleteResponse.d.ts +3 -0
- package/bin/totpSecurity/dtos/TotpDeleteResponse.js +6 -0
- package/bin/totpSecurity/dtos/TotpEnrollRequest.d.ts +7 -0
- package/bin/{remittance/dtos/RemittancePayRequest.js → totpSecurity/dtos/TotpEnrollRequest.js} +22 -18
- package/bin/totpSecurity/dtos/TotpEnrollResponse.d.ts +6 -0
- package/bin/totpSecurity/dtos/TotpEnrollResponse.js +6 -0
- package/bin/totpSecurity/dtos/TotpStatusRequest.d.ts +5 -0
- package/bin/totpSecurity/dtos/TotpStatusRequest.js +35 -0
- package/bin/totpSecurity/dtos/TotpStatusResponse.d.ts +4 -0
- package/bin/totpSecurity/dtos/TotpStatusResponse.js +6 -0
- package/bin/totpSecurity/dtos/TotpVerifyEnrollmentRequest.d.ts +7 -0
- package/bin/totpSecurity/dtos/TotpVerifyEnrollmentRequest.js +47 -0
- package/bin/totpSecurity/dtos/TotpVerifyEnrollmentResponse.d.ts +3 -0
- package/bin/totpSecurity/dtos/TotpVerifyEnrollmentResponse.js +6 -0
- package/bin/totpSecurity/dtos/TotpVerifyRequest.d.ts +6 -0
- package/bin/totpSecurity/dtos/TotpVerifyRequest.js +41 -0
- package/bin/totpSecurity/dtos/TotpVerifyResponse.d.ts +3 -0
- package/bin/totpSecurity/dtos/TotpVerifyResponse.js +6 -0
- package/bin/totpSecurity/index.d.ts +10 -0
- package/bin/{rbac → totpSecurity}/index.js +10 -1
- package/jest.config.js +8 -8
- package/package.json +31 -31
- package/src/account/dtos/AccountCreateRequest.ts +110 -110
- 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 +44 -44
- 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 +11 -11
- 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/CreateAccountEventRequest.ts +34 -34
- package/src/account/dtos/CreateAccountEventResponse.ts +21 -21
- package/src/account/dtos/CreateBankAccountRequest.ts +11 -11
- package/src/account/dtos/CreateBankAccountResponse.ts +8 -8
- package/src/account/dtos/CreateBankAccountUserRequest.ts +22 -22
- package/src/account/dtos/CreateBankAccountUserResponse.ts +14 -14
- package/src/account/dtos/ExchangeInfo.ts +8 -8
- package/src/account/dtos/ExecuteP2pOperationRequest.ts +13 -13
- 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 +57 -57
- package/src/account/dtos/GetAccountResponse.ts +66 -66
- 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/AccountLifecycleEventTypeEnum.ts +62 -62
- 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 +64 -64
- 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 +132 -132
- 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/SuggestedAddress.ts +87 -87
- 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 +15 -15
- package/src/address/enums/ValidateAddressStatusEnum.ts +10 -10
- package/src/address/index.ts +26 -26
- package/src/aiEngine/dtos/internal/AiAnalyzeRequest.ts +15 -15
- package/src/aiEngine/dtos/internal/AiAnalyzeResponse.ts +6 -6
- package/src/aiEngine/index.ts +3 -3
- 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 +7 -7
- package/src/auth/dtos/SignUpBackofficeRequest.ts +22 -22
- package/src/auth/index.ts +7 -7
- package/src/authentication/dtos/ChangePasswordRequest.ts +16 -16
- package/src/authentication/dtos/DirectoryBatchSummaryResponse.ts +22 -22
- 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/SignUpUserBackofficeRequest.ts +79 -79
- package/src/authentication/dtos/UserConfirmRequest.ts +13 -13
- package/src/authentication/index.ts +19 -19
- 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 +57 -57
- 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/benefitCenter/dtos/AuthorizeBenefitsMarketplaceTransactionRequest.ts +138 -138
- package/src/benefitCenter/dtos/BackofficeInputLabelsUpdateRequest.ts +16 -16
- package/src/benefitCenter/dtos/BackofficeLeafCreateRequest.ts +90 -90
- package/src/benefitCenter/dtos/BackofficeLeafDetailResponse.ts +14 -14
- package/src/benefitCenter/dtos/BackofficeLeafFacetsResponse.ts +26 -26
- package/src/benefitCenter/dtos/BackofficeLeafHelpImageUpdateRequest.ts +13 -13
- package/src/benefitCenter/dtos/BackofficeLeafListItem.ts +27 -27
- package/src/benefitCenter/dtos/BackofficeLeafListResponse.ts +8 -8
- package/src/benefitCenter/dtos/BackofficeLeafUpdateRequest.ts +30 -30
- package/src/benefitCenter/dtos/BackofficeProductCreateItem.ts +77 -77
- package/src/benefitCenter/dtos/BackofficeProductEnabledUpdateRequest.ts +12 -12
- package/src/benefitCenter/dtos/BackofficeProductHelpImageUpdateRequest.ts +13 -13
- package/src/benefitCenter/dtos/BackofficeSubcategoryLogoUpdateRequest.ts +14 -14
- package/src/benefitCenter/dtos/BackofficeSubcategoryOrderUpdateRequest.ts +20 -20
- package/src/benefitCenter/dtos/BackofficeSubcategoryOrdersResponse.ts +29 -29
- package/src/benefitCenter/dtos/BackofficeSubcategoryReorderRequest.ts +17 -17
- package/src/benefitCenter/dtos/BannerAction.ts +25 -25
- package/src/benefitCenter/dtos/BannerActionRequest.ts +28 -28
- package/src/benefitCenter/dtos/BannerContent.ts +33 -33
- package/src/benefitCenter/dtos/BannerContentRequest.ts +24 -24
- package/src/benefitCenter/dtos/BannerCreateRequest.ts +67 -67
- package/src/benefitCenter/dtos/BannerItem.ts +9 -9
- package/src/benefitCenter/dtos/BannerTemplateRequest.ts +17 -17
- package/src/benefitCenter/dtos/BannerTemplateTheme.ts +18 -18
- package/src/benefitCenter/dtos/BannerTemplateThemeRequest.ts +23 -23
- package/src/benefitCenter/dtos/BannerTranslation.ts +22 -22
- package/src/benefitCenter/dtos/BannerTranslationRequest.ts +31 -31
- package/src/benefitCenter/dtos/BannerTranslationsRequest.ts +15 -15
- package/src/benefitCenter/dtos/BannerUpdateRequest.ts +57 -57
- package/src/benefitCenter/dtos/BannerUploadUrlRequest.ts +23 -23
- package/src/benefitCenter/dtos/BannerUploadUrlResponse.ts +15 -15
- package/src/benefitCenter/dtos/BenefitCatalogResponse.ts +7 -7
- package/src/benefitCenter/dtos/BenefitCreateRequest.ts +67 -67
- package/src/benefitCenter/dtos/BenefitItem.ts +11 -11
- package/src/benefitCenter/dtos/BenefitListResponse.ts +7 -7
- package/src/benefitCenter/dtos/BenefitModuleConfigRequest.ts +11 -11
- package/src/benefitCenter/dtos/BenefitModuleEntryRequest.ts +11 -11
- package/src/benefitCenter/dtos/BenefitPaymentRequest.ts +78 -78
- package/src/benefitCenter/dtos/BenefitPaymentResponse.ts +28 -28
- package/src/benefitCenter/dtos/BenefitReferenceVerificationRequest.ts +25 -25
- package/src/benefitCenter/dtos/BenefitSummary.ts +8 -8
- package/src/benefitCenter/dtos/BenefitUpdateRequest.ts +41 -41
- package/src/benefitCenter/dtos/CatalogNode.ts +13 -13
- package/src/benefitCenter/dtos/ConnectorCatalogItem.ts +37 -37
- package/src/benefitCenter/dtos/ConnectorCatalogResponse.ts +5 -5
- package/src/benefitCenter/dtos/FavoriteDetailResponse.ts +43 -43
- package/src/benefitCenter/dtos/FavoriteItem.ts +25 -25
- package/src/benefitCenter/dtos/FavoriteListResponse.ts +5 -5
- package/src/benefitCenter/dtos/FavoriteReorderRequest.ts +32 -32
- package/src/benefitCenter/dtos/FavoriteUpdateRequest.ts +35 -35
- package/src/benefitCenter/dtos/FavoriteUpsertContext.ts +26 -26
- package/src/benefitCenter/dtos/FavoriteValidationResult.ts +37 -37
- package/src/benefitCenter/dtos/InputField.ts +14 -14
- package/src/benefitCenter/dtos/InputSchema.ts +7 -7
- package/src/benefitCenter/dtos/InputValidation.ts +8 -8
- package/src/benefitCenter/dtos/LeafAssetUploadUrlRequest.ts +23 -23
- package/src/benefitCenter/dtos/LeafAssetUploadUrlResponse.ts +13 -13
- package/src/benefitCenter/dtos/ProductItem.ts +25 -25
- package/src/benefitCenter/dtos/PublicVerifyReferenceRequest.ts +33 -33
- package/src/benefitCenter/dtos/SelectOption.ts +4 -4
- package/src/benefitCenter/dtos/ServiceLeaf.ts +14 -14
- package/src/benefitCenter/enums/BannerActionTypeEnum.ts +14 -14
- package/src/benefitCenter/enums/BannerAssetKindEnum.ts +11 -11
- package/src/benefitCenter/enums/BannerContentTypeEnum.ts +14 -14
- package/src/benefitCenter/enums/BannerLocaleEnum.ts +4 -4
- package/src/benefitCenter/enums/BannerScreenEnum.ts +11 -11
- package/src/benefitCenter/enums/BannerStatusEnum.ts +5 -5
- package/src/benefitCenter/enums/BannerTemplateVariantEnum.ts +14 -14
- package/src/benefitCenter/enums/BenefitFlowEnum.ts +9 -9
- package/src/benefitCenter/enums/BenefitPaymentErrorCodeEnum.ts +17 -17
- package/src/benefitCenter/enums/BenefitPaymentStatusEnum.ts +12 -12
- package/src/benefitCenter/enums/CatalogNodeTypeEnum.ts +4 -4
- package/src/benefitCenter/enums/FavoriteDisabledReasonEnum.ts +15 -15
- package/src/benefitCenter/enums/InputFieldTypeEnum.ts +10 -10
- package/src/benefitCenter/enums/LeafAssetKindEnum.ts +12 -12
- package/src/benefitCenter/enums/ReferenceTypeEnum.ts +14 -14
- package/src/benefitCenter/index.ts +88 -88
- 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 +25 -25
- 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 +24 -24
- 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/KycReason.ts +6 -6
- package/src/card/enums/NominatedOrInnominated.ts +8 -8
- package/src/card/enums/OwnershipType.ts +3 -3
- package/src/card/enums/PinChangedStatus.ts +7 -7
- 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 +7 -7
- package/src/card/enums/UpdateKey.ts +6 -6
- 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 +74 -74
- package/src/card/validations/CardUpdateKeyConstraint.ts +71 -71
- package/src/card/validations/IsPhoneNumberConstraint.ts +29 -29
- package/src/centralPayments/dtos/CentralPaymentsTransactionInfo.ts +66 -66
- package/src/centralPayments/dtos/CentralWebhookEventRequest.ts +18 -18
- 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/CentralPaymentMetadataTypeEnum.ts +11 -11
- package/src/centralPayments/enums/CentralPaymentTransactionTypeEnum.ts +58 -58
- package/src/centralPayments/enums/MerchantLocationDistanceUnitEnum.ts +4 -4
- package/src/centralPayments/enums/ServiceStatusEnum.ts +4 -4
- package/src/centralPayments/index.ts +17 -17
- package/src/circuloCredito/dtos/AccountInfo.ts +32 -32
- package/src/circuloCredito/dtos/AddressInfo.ts +11 -11
- package/src/circuloCredito/dtos/ClientInfo.ts +14 -14
- package/src/circuloCredito/dtos/ReportarCuentaRequest.ts +30 -30
- package/src/circuloCredito/dtos/ReportarCuentaResponse.ts +40 -40
- package/src/circuloCredito/enums/AccountStatus.ts +5 -5
- package/src/circuloCredito/enums/CdcConnectorErrorCode.ts +8 -8
- package/src/circuloCredito/enums/PaymentFrequency.ts +10 -10
- package/src/circuloCredito/enums/PaymentPeriodStatus.ts +12 -12
- package/src/circuloCredito/enums/ReportType.ts +5 -5
- package/src/circuloCredito/enums/ReportarCuentaResultStatus.ts +5 -5
- package/src/circuloCredito/index.ts +12 -12
- package/src/cnbv/dtos/CNBVLocalityRequest.ts +4 -4
- package/src/cnbv/dtos/CNBVLocalityResponse.ts +44 -44
- package/src/cnbv/index.ts +5 -5
- package/src/cognitoBackofficeConnector/dtos/AppClientConfig.ts +22 -22
- package/src/cognitoBackofficeConnector/dtos/AuthEventResponse.ts +8 -8
- package/src/cognitoBackofficeConnector/dtos/AuthEventsRequest.ts +8 -8
- package/src/cognitoBackofficeConnector/dtos/AuthTokensResponse.ts +12 -12
- package/src/cognitoBackofficeConnector/dtos/ChangePasswordRequest.ts +9 -9
- package/src/cognitoBackofficeConnector/dtos/ConfirmForgotPasswordRequest.ts +11 -11
- package/src/cognitoBackofficeConnector/dtos/CreatePoolRequest.ts +30 -30
- package/src/cognitoBackofficeConnector/dtos/CreatePoolResponse.ts +13 -13
- package/src/cognitoBackofficeConnector/dtos/CreateUserRequest.ts +12 -12
- package/src/cognitoBackofficeConnector/dtos/CreateUserResponse.ts +11 -11
- package/src/cognitoBackofficeConnector/dtos/CustomAttributeSpec.ts +12 -12
- package/src/cognitoBackofficeConnector/dtos/DeletePoolRequest.ts +16 -16
- package/src/cognitoBackofficeConnector/dtos/DeleteUserRequest.ts +7 -7
- package/src/cognitoBackofficeConnector/dtos/ForgotPasswordRequest.ts +9 -9
- package/src/cognitoBackofficeConnector/dtos/HealthcheckResponse.ts +12 -12
- package/src/cognitoBackofficeConnector/dtos/InitiateAuthResponse.ts +17 -17
- package/src/cognitoBackofficeConnector/dtos/IntrospectRequest.ts +10 -0
- package/src/cognitoBackofficeConnector/dtos/IntrospectResponse.ts +10 -0
- package/src/cognitoBackofficeConnector/dtos/MfaPoolConfig.ts +21 -21
- package/src/cognitoBackofficeConnector/dtos/MfaResetRequest.ts +7 -7
- package/src/cognitoBackofficeConnector/dtos/MfaVerifyResponse.ts +8 -8
- package/src/cognitoBackofficeConnector/dtos/PasswordPolicyConfig.ts +11 -11
- package/src/cognitoBackofficeConnector/dtos/RefreshTokensRequest.ts +9 -9
- package/src/cognitoBackofficeConnector/dtos/RefreshTokensResponse.ts +5 -5
- package/src/cognitoBackofficeConnector/dtos/ResendConfirmationRequest.ts +9 -9
- package/src/cognitoBackofficeConnector/dtos/ResendInvitationRequest.ts +7 -7
- package/src/cognitoBackofficeConnector/dtos/RespondToChallengeRequest.ts +12 -12
- package/src/cognitoBackofficeConnector/dtos/RespondToChallengeResponse.ts +14 -14
- package/src/cognitoBackofficeConnector/dtos/SetMfaPreferenceRequest.ts +12 -12
- package/src/cognitoBackofficeConnector/dtos/TotpBeginRequest.ts +8 -8
- package/src/cognitoBackofficeConnector/dtos/TotpBeginResponse.ts +4 -4
- package/src/cognitoBackofficeConnector/dtos/TotpVerifyRequest.ts +9 -9
- package/src/cognitoBackofficeConnector/dtos/UpdateEmailRequest.ts +8 -8
- package/src/cognitoBackofficeConnector/dtos/UpdateProfileRequest.ts +15 -15
- package/src/cognitoBackofficeConnector/dtos/UpdateUserAttributesRequest.ts +12 -12
- package/src/cognitoBackofficeConnector/dtos/UserActionRequest.ts +12 -12
- package/src/cognitoBackofficeConnector/dtos/UserDetailResponse.ts +14 -14
- package/src/cognitoBackofficeConnector/dtos/VerifyEmailRequest.ts +8 -8
- package/src/cognitoBackofficeConnector/enums/CognitoUserStatus.ts +29 -29
- package/src/cognitoBackofficeConnector/enums/IntrospectFailReason.ts +11 -0
- package/src/cognitoBackofficeConnector/index.ts +57 -52
- package/src/cognitoBackofficeConnector/validators/MfaTypesRequiresOne.ts +29 -29
- package/src/cognitoBackofficeConnector/validators/NoTenantIdInCustomAttrs.ts +36 -36
- 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 +13 -13
- 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/CollectorErrorCodeEnum.ts +34 -34
- package/src/collector/enums/CollectorOrderStatus.ts +22 -22
- package/src/collector/index.ts +13 -13
- package/src/comission-business/dtos/CalculateCommissionsRequest.ts +12 -12
- package/src/comission-business/dtos/CalculateCommissionsResponse.ts +6 -6
- package/src/comission-business/dtos/CreatePayableRequest.ts +14 -14
- package/src/comission-business/dtos/CreatePaymentMadeRequest.ts +13 -13
- package/src/comission-business/dtos/GenerateDepositsRequest.ts +5 -5
- package/src/comission-business/dtos/GenerateDepositsResponse.ts +7 -7
- package/src/comission-business/dtos/UpdateDepositRequest.ts +8 -8
- package/src/comission-business/dtos/UpdatePayableRequest.ts +7 -7
- package/src/comission-business/dtos/UpdatePaymentMadeRequest.ts +13 -13
- package/src/comission-business/enums/CalcTypeEnum.ts +7 -7
- package/src/comission-business/enums/DepositStatusEnum.ts +5 -5
- package/src/comission-business/enums/PayableStatusEnum.ts +4 -4
- package/src/comission-business/enums/PaymentMethodEnum.ts +4 -4
- package/src/comission-business/enums/ReportConceptEnum.ts +6 -6
- package/src/comission-business/index.ts +17 -17
- package/src/common/dtos/ProcessValidationResultDto.ts +16 -16
- package/src/common/enums/ProcessResultEnum.ts +3 -3
- package/src/common/enums/ProcessValidationEnum.ts +3 -3
- package/src/common/index.ts +5 -5
- 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 +19 -19
- package/src/country/index.ts +13 -13
- package/src/country/utilities/CountryCodeConverter.ts +13 -13
- package/src/credit/dtos/BannerStateResponse.ts +35 -35
- package/src/credit/dtos/CreditOfferConfigureRequest.ts +14 -14
- package/src/credit/dtos/CreditOfferConfigureResponse.ts +14 -14
- package/src/credit/dtos/CreditOfferOptionItem.ts +30 -30
- package/src/credit/dtos/EligibilityResponse.ts +13 -13
- package/src/credit/dtos/ExpedienteAuditLogResponse.ts +29 -29
- package/src/credit/dtos/ExpedienteIdentityResponse.ts +92 -92
- package/src/credit/dtos/ExpedienteResumenResponse.ts +34 -34
- package/src/credit/dtos/ExpedienteSearchItem.ts +13 -13
- package/src/credit/dtos/FinancialProfileResponse.ts +39 -39
- package/src/credit/dtos/internal/CreditBalanceResponse.ts +17 -17
- package/src/credit/dtos/internal/CreditProfileResponse.ts +15 -15
- package/src/credit/dtos/internal/CreditQueueMessage.ts +18 -18
- package/src/credit/dtos/internal/DocumentGenerateRequest.ts +19 -19
- package/src/credit/dtos/internal/DocumentGenerateResponse.ts +16 -16
- package/src/credit/dtos/internal/LienStatusResponse.ts +13 -13
- package/src/credit/enums/BannerStateEnum.ts +15 -15
- package/src/credit/enums/CreditLevelEnum.ts +15 -15
- package/src/credit/enums/CreditOfferStatusEnum.ts +17 -17
- package/src/credit/enums/ExpedienteAccessActionEnum.ts +20 -20
- package/src/credit/enums/IncomeClassificationEnum.ts +15 -15
- package/src/credit/enums/IncomeFrequencyEnum.ts +17 -17
- package/src/credit/index.ts +32 -32
- package/src/credit/interfaces/IIncomeDetectionMessage.ts +9 -9
- package/src/credit/interfaces/IOfferGenerationMessage.ts +8 -8
- package/src/credit/interfaces/IScoringMessage.ts +8 -8
- package/src/credit-statements/dtos/CreditStatementDownloadResponse.ts +8 -8
- package/src/credit-statements/dtos/CreditStatementListItem.ts +14 -14
- package/src/credit-statements/dtos/CreditStatementMessage.ts +13 -13
- package/src/credit-statements/enums/CreditStatementStatusEnum.ts +9 -9
- package/src/credit-statements/index.ts +4 -4
- package/src/creditBackoffice/dtos/BackofficeApplicationDetail.ts +33 -33
- package/src/creditBackoffice/dtos/BackofficeApplicationsListItem.ts +15 -15
- package/src/creditBackoffice/dtos/BackofficeCreditDetail.ts +78 -78
- package/src/creditBackoffice/dtos/BackofficeCreditsListItem.ts +14 -14
- package/src/creditBackoffice/dtos/BackofficeIncomeSourceItem.ts +13 -13
- package/src/creditBackoffice/dtos/BackofficeOfferDetail.ts +29 -29
- package/src/creditBackoffice/dtos/BackofficeOffersListItem.ts +14 -14
- package/src/creditBackoffice/dtos/BackofficePagination.ts +6 -6
- package/src/creditBackoffice/dtos/BackofficePipeline.ts +9 -9
- package/src/creditBackoffice/dtos/BackofficePipelineByLevel.ts +6 -6
- package/src/creditBackoffice/dtos/BackofficeProfileDetail.ts +79 -79
- package/src/creditBackoffice/dtos/BackofficeProfilesListItem.ts +24 -24
- package/src/creditBackoffice/dtos/BackofficeProfilesListResponse.ts +7 -7
- package/src/creditBackoffice/dtos/BackofficeProfilesSummary.ts +12 -12
- package/src/creditBackoffice/dtos/ConfigSnapshotListItem.ts +10 -10
- package/src/creditBackoffice/dtos/SimulateImpactRequest.ts +18 -18
- package/src/creditBackoffice/dtos/SimulateImpactResult.ts +41 -41
- package/src/creditBackoffice/dtos/SimulateInterestRequest.ts +15 -15
- package/src/creditBackoffice/dtos/SimulateInterestResult.ts +11 -11
- package/src/creditBackoffice/dtos/UpdateConfigRequest.ts +23 -23
- package/src/creditBackoffice/enums/ConfigType.ts +17 -17
- package/src/creditBackoffice/index.ts +24 -24
- 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/creditDashboard/dtos/CohortQualityItem.ts +8 -8
- package/src/creditDashboard/dtos/DashboardSummary.ts +8 -8
- package/src/creditDashboard/dtos/NurturingFunnelItem.ts +5 -5
- package/src/creditDashboard/dtos/OriginationCompositionResult.ts +5 -5
- package/src/creditDashboard/dtos/OriginationEfficiencyResult.ts +8 -8
- package/src/creditDashboard/dtos/OriginationMonthlyItem.ts +6 -6
- package/src/creditDashboard/dtos/OriginationSummaryResult.ts +6 -6
- package/src/creditDashboard/dtos/OriginationWeeklyItem.ts +7 -7
- package/src/creditDashboard/dtos/PipelineLevelRow.ts +10 -10
- package/src/creditDashboard/dtos/PipelineWeek.ts +7 -7
- package/src/creditDashboard/dtos/PortfolioActiveItem.ts +12 -12
- package/src/creditDashboard/dtos/PortfolioBalance.ts +5 -5
- package/src/creditDashboard/dtos/PortfolioBalanceMonthlyItem.ts +5 -5
- package/src/creditDashboard/dtos/PortfolioByLevelItem.ts +7 -7
- package/src/creditDashboard/dtos/PortfolioResolutionItem.ts +8 -8
- package/src/creditDashboard/dtos/PortfolioUpcomingWeek.ts +7 -7
- package/src/creditDashboard/index.ts +16 -16
- package/src/creditEngine/dtos/AdvancedPaymentRequest.ts +15 -15
- package/src/creditEngine/dtos/AnticipatedPaymentRequest.ts +15 -15
- package/src/creditEngine/dtos/CreditDetailResponse.ts +32 -32
- package/src/creditEngine/dtos/CreditOriginationRequest.ts +29 -29
- package/src/creditEngine/dtos/CreditOriginationResponse.ts +10 -10
- package/src/creditEngine/dtos/CreditRequestResult.ts +9 -9
- package/src/creditEngine/dtos/CreditSignatureRequest.ts +14 -14
- package/src/creditEngine/dtos/CreditSignatureResult.ts +8 -8
- package/src/creditEngine/dtos/DisbursementRequest.ts +27 -27
- package/src/creditEngine/dtos/EarlyPaymentResult.ts +11 -11
- package/src/creditEngine/dtos/OfferResult.ts +22 -22
- package/src/creditEngine/dtos/PaymentScheduleItemResponse.ts +15 -15
- package/src/creditEngine/dtos/SettlementPaymentRequest.ts +11 -11
- package/src/creditEngine/dtos/SettlementQuote.ts +16 -16
- package/src/creditEngine/enums/CouponStatusEnum.ts +16 -16
- package/src/creditEngine/enums/CreditApplicationStatusEnum.ts +20 -20
- package/src/creditEngine/enums/CreditLevelEnum.ts +16 -16
- package/src/creditEngine/enums/CreditStatusEnum.ts +16 -16
- package/src/creditEngine/index.ts +20 -20
- package/src/crypto/dtos/JwkKey.ts +8 -8
- package/src/currency/dtos/CurrencyResponse.ts +8 -8
- package/src/currency/enums/CurrencyId.ts +15 -15
- package/src/currency/index.ts +1 -1
- package/src/customerFile/dtos/CustomerFileSearchRequest.ts +16 -16
- package/src/customerFile/index.ts +1 -1
- 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/CreateDirectoryUserEventRequest.ts +25 -25
- package/src/directory/dtos/CreateDirectoryUserEventResponse.ts +21 -21
- package/src/directory/dtos/DirectoryBackoffice.ts +16 -16
- package/src/directory/dtos/DirectoryBackofficeCreateRequest.ts +31 -31
- package/src/directory/dtos/DirectoryBackofficeResponse.ts +18 -18
- package/src/directory/dtos/DirectoryBackofficeUpdateRequest.ts +40 -40
- package/src/directory/dtos/DirectoryResponse.ts +20 -20
- package/src/directory/dtos/External.ts +6 -6
- package/src/directory/enums/DirectoryBackofficeStatusEnum.ts +4 -4
- package/src/directory/enums/DirectoryUserLifecycleEventTypeEnum.ts +37 -37
- 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 +17 -17
- package/src/directorySetting/dtos/DirectorySettingCreateRequest.ts +5 -5
- package/src/directorySetting/index.ts +1 -1
- package/src/event/enums/EventCategoryEnum.ts +26 -26
- package/src/event/index.ts +1 -1
- 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/funnel/dtos/AttributionCreateRequest.ts +67 -67
- package/src/funnel/dtos/AttributionCreateResponse.ts +8 -8
- package/src/funnel/dtos/AttributionDetailResponse.ts +23 -23
- package/src/funnel/dtos/AttributionListResponse.ts +13 -13
- package/src/funnel/dtos/AttributionStatsResponse.ts +11 -11
- package/src/funnel/index.ts +6 -6
- 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 +64 -64
- package/src/group/dtos/GroupDirectoryRelationsResponse.ts +21 -21
- package/src/group/dtos/GroupDirectoryRelationsUpdateRequest.ts +10 -10
- package/src/group/dtos/GroupResponse.ts +22 -22
- package/src/group/dtos/GroupUpdateRequest.ts +40 -40
- 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 +19 -19
- 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/ManualApproval.ts +16 -16
- package/src/identity/dtos/PeopleCreateRequest.ts +28 -28
- package/src/identity/dtos/PeopleResponse.ts +111 -111
- package/src/identity/dtos/PeopleUpdateRequest.ts +102 -102
- 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 +20 -20
- package/src/index.ts +86 -85
- 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/messagesConnector/dtos/SendMessageRequest.ts +23 -23
- package/src/messagesConnector/dtos/VerifyOtpRequest.ts +8 -8
- package/src/messagesConnector/index.ts +19 -19
- package/src/milestone-business/dtos/MilestonesByEventKeyDateRangeParams.ts +9 -9
- package/src/milestone-business/index.ts +2 -2
- package/src/notificationMessages/dtos/NotificationQueueMessageRequest.ts +7 -7
- package/src/notificationMessages/dtos/NotificationTemplate.ts +30 -30
- 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/enums/NotificationType.ts +4 -4
- package/src/notificationMessages/index.ts +7 -7
- package/src/notificationWS/dtos/NotificationWSQueueMessageRequest.ts +6 -6
- package/src/observations/dtos/ObservationCreateRequest.ts +31 -31
- package/src/observations/dtos/ObservationStatusUpdateRequest.ts +16 -16
- package/src/observations/enums/ObservationStatus.ts +12 -12
- package/src/observations/index.ts +7 -7
- package/src/p2pContact/dtos/CreateP2pContactRequest.ts +10 -10
- package/src/payroll-business/dtos/PayrollBossCreateRequest.ts +24 -24
- package/src/payroll-business/dtos/PayrollBossUpadteRequest.ts +20 -20
- package/src/payroll-business/enums/PayrollBossStatusEnum.ts +5 -5
- package/src/payroll-business/index.ts +8 -8
- package/src/platformErrorEvents/dtos/internal/PlatformErrorEventMessage.ts +21 -21
- package/src/platformErrorEvents/enums/ErrorSeverityEnum.ts +6 -6
- package/src/platformErrorEvents/enums/ErrorStatusEnum.ts +5 -5
- package/src/platformErrorEvents/enums/ResolutionTypeEnum.ts +4 -4
- package/src/platformErrorEvents/index.ts +11 -11
- package/src/platformErrorEvents/severity/card-business.severity.ts +25 -25
- package/src/platformErrorEvents/severity/transaction-processor.severity.ts +34 -34
- package/src/platformRbac/dtos/AuthContext.ts +22 -22
- package/src/platformRbac/dtos/AuthorizeRequest.ts +14 -0
- package/src/platformRbac/dtos/AuthorizeResponse.ts +16 -0
- package/src/platformRbac/dtos/PermissionMeta.ts +20 -20
- package/src/platformRbac/dtos/RoleAssignmentInfo.ts +12 -12
- package/src/platformRbac/enums/AuthorizeDenyReason.ts +10 -0
- package/src/platformRbac/enums/Permission.ts +120 -120
- package/src/platformRbac/enums/PermissionCategory.ts +14 -14
- package/src/platformRbac/enums/PermissionScope.ts +10 -10
- package/src/platformRbac/index.ts +39 -34
- 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 +57 -57
- package/src/productCatalog/enums/ProductSubtypeEnum.ts +70 -70
- package/src/productCatalog/enums/ProductTaxFeeTypeEnum.ts +3 -3
- package/src/productCatalog/enums/ProductTypeEnum.ts +13 -13
- 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 +10 -11
- 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/referral-business/enums/AgentRoleEnum.ts +7 -7
- package/src/referral-business/index.ts +1 -1
- package/src/remittance/dtos/RemittanceAddBeneficiaryRequest.ts +81 -81
- package/src/remittance/dtos/RemittanceAddress.ts +40 -40
- package/src/remittance/dtos/RemittanceBeneficiary.ts +40 -40
- package/src/remittance/dtos/RemittanceHomeResponse.ts +45 -45
- package/src/remittance/dtos/RemittanceLimitsInfo.ts +12 -12
- package/src/remittance/dtos/RemittanceListBeneficiariesResponse.ts +7 -7
- package/src/remittance/dtos/RemittanceOnboardRequest.ts +64 -64
- package/src/remittance/dtos/RemittanceOnboardResponse.ts +7 -7
- package/src/remittance/dtos/RemittancePayerAdditionalFieldDto.ts +27 -27
- package/src/remittance/dtos/RemittancePayerBranchDto.ts +29 -29
- package/src/remittance/dtos/RemittancePayerDto.ts +35 -35
- package/src/remittance/dtos/RemittanceQuoteRequest.ts +33 -33
- package/src/remittance/dtos/RemittanceQuoteResponse.ts +11 -11
- package/src/remittance/dtos/RemittanceSecurityQuestionsResponse.ts +14 -14
- package/src/remittance/dtos/RemittanceSendPreviewRequest.ts +18 -18
- package/src/remittance/dtos/RemittanceSendPreviewResponse.ts +19 -19
- package/src/remittance/dtos/RemittanceStateDto.ts +11 -11
- package/src/remittance/dtos/RemittanceTransaction.ts +15 -15
- package/src/remittance/dtos/RemittanceUpdateBeneficiaryRequest.ts +24 -24
- package/src/remittance/dtos/index.ts +19 -21
- package/src/remittance/enums/ReceptionMethod.ts +5 -5
- package/src/remittance/enums/RemittanceCountryISO.ts +11 -11
- package/src/remittance/enums/RemittanceTxStatus.ts +8 -8
- package/src/remittance/enums/RemittanceUserState.ts +11 -11
- package/src/remittance/enums/index.ts +4 -4
- package/src/remittance/index.ts +4 -4
- 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/dtos/private/AppendAlertNoteRequest.ts +29 -29
- package/src/riskProfile/dtos/private/AppendAlertNoteResponse.ts +12 -12
- package/src/riskProfile/dtos/private/CreateBlockedListAlertRequest.ts +22 -22
- package/src/riskProfile/dtos/private/CreateBlockedListAlertResponse.ts +10 -10
- package/src/riskProfile/dtos/private/DictaminateAlertRequest.ts +30 -30
- package/src/riskProfile/dtos/private/DictaminateAlertResponse.ts +16 -16
- package/src/riskProfile/dtos/private/MarkAlertReportedRequest.ts +21 -21
- package/src/riskProfile/dtos/private/MarkAlertReportedResponse.ts +11 -11
- package/src/riskProfile/dtos/private/SetCustomAlarmRequest.ts +31 -31
- package/src/riskProfile/dtos/private/SetCustomAlarmResponse.ts +15 -15
- package/src/riskProfile/dtos/private/SetDeclaredIncomeRequest.ts +26 -26
- package/src/riskProfile/dtos/private/SetDeclaredIncomeResponse.ts +22 -22
- package/src/riskProfile/dtos/private/SetManualRiskLevelRequest.ts +37 -37
- package/src/riskProfile/dtos/private/SetManualRiskLevelResponse.ts +22 -22
- 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/CustomAlarmName.ts +9 -9
- package/src/riskProfile/enums/DictamenStatus.ts +9 -9
- package/src/riskProfile/enums/NotesMode.ts +9 -9
- 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 +45 -45
- 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/sentry/dtos/SentryAnalysisResult.ts +14 -14
- package/src/sentry/dtos/SentryIssueAnalyzeRequest.ts +7 -7
- package/src/sentry/dtos/SentryIssueAnalyzeResponse.ts +7 -7
- package/src/sentry/index.ts +4 -4
- package/src/servicePayment/dtos/GetCatalogParams.ts +6 -6
- package/src/servicePayment/dtos/GetFavoritesParams.ts +11 -11
- package/src/servicePayment/dtos/GetFavoritesResponse.ts +44 -44
- package/src/servicePayment/dtos/ReferenceVerificationRequest.ts +17 -17
- package/src/servicePayment/dtos/ReferenceVerificationResponse.ts +5 -5
- package/src/servicePayment/dtos/ServicePaymentRequest.ts +46 -46
- package/src/servicePayment/enums/AmountTypeEnum.ts +3 -3
- package/src/servicePayment/enums/ReferenceTypeEnum.ts +6 -6
- package/src/servicePayment/enums/ServicePaymentStatusEnum.ts +10 -10
- package/src/servicePayment/index.ts +12 -12
- 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 +5 -5
- 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/SpeiAcuseCepRequest.ts +27 -27
- package/src/stpSpei/dtos/SpeiWebhookMessage.ts +10 -10
- package/src/stpSpei/enums/ActividadesProductivasEnum.ts +47 -47
- package/src/stpSpei/enums/BusinessNameEnum.ts +4 -4
- 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 +10 -10
- package/src/teamsConnector/dtos/internal/TeamsNotificationRequest.ts +25 -25
- package/src/teamsConnector/index.ts +1 -1
- package/src/totpSecurity/dtos/TotpDeleteRequest.ts +8 -0
- package/src/totpSecurity/dtos/TotpDeleteResponse.ts +3 -0
- package/src/totpSecurity/dtos/TotpEnrollRequest.ts +10 -0
- package/src/totpSecurity/dtos/TotpEnrollResponse.ts +6 -0
- package/src/totpSecurity/dtos/TotpStatusRequest.ts +8 -0
- package/src/totpSecurity/dtos/TotpStatusResponse.ts +4 -0
- package/src/totpSecurity/dtos/TotpVerifyEnrollmentRequest.ts +10 -0
- package/src/totpSecurity/dtos/TotpVerifyEnrollmentResponse.ts +3 -0
- package/src/totpSecurity/dtos/TotpVerifyRequest.ts +9 -0
- package/src/totpSecurity/dtos/TotpVerifyResponse.ts +3 -0
- package/src/totpSecurity/index.ts +10 -0
- 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 +55 -55
- package/src/transaction/dtos/Total.ts +20 -20
- package/src/transaction/dtos/TransactionCreateRequest.ts +153 -153
- package/src/transaction/dtos/TransactionCreateResponse.ts +4 -4
- package/src/transaction/dtos/TransactionGetDetailResponse.ts +28 -28
- package/src/transaction/dtos/TransactionGetResponse.ts +24 -24
- 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/AuthorizeRenewalPreAuthRequest.ts +13 -13
- package/src/transactionProcessor/dtos/AuthorizeRenewalPreAuthResponse.ts +10 -10
- 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 +41 -41
- package/src/transactionProcessor/dtos/AuthorizeUsdAchTransactionRequest.ts +6 -6
- package/src/transactionProcessor/dtos/BankInfo.ts +9 -9
- package/src/transactionProcessor/dtos/CardInfo.ts +6 -6
- package/src/transactionProcessor/dtos/ChargebackTransactionItem.ts +11 -11
- package/src/transactionProcessor/dtos/CreditContractInfo.ts +6 -6
- package/src/transactionProcessor/dtos/EventTransactionInfo.ts +32 -32
- package/src/transactionProcessor/dtos/EventTransactionRequest.ts +20 -20
- package/src/transactionProcessor/dtos/InstallmentsInfo.ts +6 -6
- package/src/transactionProcessor/dtos/MembershipTransactionItem.ts +10 -10
- package/src/transactionProcessor/dtos/MerchantInfo.ts +11 -11
- 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/ProviderProcessServicePaymentTransactionRequest.ts +5 -5
- package/src/transactionProcessor/dtos/ProviderProcessServicePaymentTransactionResponse.ts +5 -5
- package/src/transactionProcessor/dtos/RSTTransactionStatusUpdate.ts +6 -6
- package/src/transactionProcessor/dtos/ServicePaymentTransactionItem.ts +12 -12
- 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 +6 -6
- package/src/transactionProcessor/enums/CreditContractStatusEnum.ts +7 -7
- package/src/transactionProcessor/enums/EventChannelEnum.ts +12 -12
- package/src/transactionProcessor/enums/EventTypeEnum.ts +23 -23
- package/src/transactionProcessor/enums/TransactionInfoStatusEnum.ts +7 -7
- package/src/transactionProcessor/enums/TransactionProcessorCodesEnum.ts +20 -20
- package/src/transactionProcessor/index.ts +51 -51
- package/src/walletFunding/dtos/AuthorizeWalletFundingRequest.ts +18 -18
- package/src/walletFunding/dtos/AuthorizeWalletFundingResponse.ts +11 -11
- package/src/walletFunding/dtos/CancelFundingReferenceRequest.ts +7 -7
- package/src/walletFunding/dtos/CancelFundingReferenceResponse.ts +8 -8
- package/src/walletFunding/dtos/CancelWalletFundingRequest.ts +5 -5
- package/src/walletFunding/dtos/CancelWalletFundingResponse.ts +8 -8
- package/src/walletFunding/dtos/CreateFundingReferenceRequest.ts +18 -18
- package/src/walletFunding/dtos/CreateFundingReferenceResponse.ts +11 -11
- package/src/walletFunding/dtos/CreditWalletFundingRequest.ts +12 -12
- package/src/walletFunding/dtos/CreditWalletFundingResponse.ts +9 -9
- package/src/walletFunding/dtos/FundingProviderReferenceData.ts +10 -10
- package/src/walletFunding/dtos/ListFundingReferencesRequest.ts +7 -7
- package/src/walletFunding/dtos/ListFundingReferencesResponse.ts +5 -5
- package/src/walletFunding/dtos/ListWalletFundingReferencesRequest.ts +8 -8
- package/src/walletFunding/dtos/ListWalletFundingReferencesResponse.ts +18 -18
- package/src/walletFunding/dtos/ReverseWalletFundingRequest.ts +11 -11
- package/src/walletFunding/dtos/ReverseWalletFundingResponse.ts +8 -8
- package/src/walletFunding/dtos/ValidateWalletFundingRequest.ts +11 -11
- package/src/walletFunding/dtos/ValidateWalletFundingResponse.ts +7 -7
- package/src/walletFunding/dtos/index.ts +19 -19
- package/src/walletFunding/enums/FundingMethodEnum.ts +3 -3
- package/src/walletFunding/enums/WalletFundingErrorCodeEnum.ts +16 -16
- package/src/walletFunding/enums/WalletFundingModeEnum.ts +4 -4
- package/src/walletFunding/enums/WalletFundingPaymentStatusEnum.ts +6 -6
- package/src/walletFunding/enums/WalletFundingReferenceStatusEnum.ts +6 -6
- package/src/walletFunding/enums/WalletFundingRefundReasonEnum.ts +8 -8
- package/src/walletFunding/enums/index.ts +6 -6
- package/src/walletFunding/index.ts +2 -2
- package/src/zendeskMessaging/dtos/SendProactiveMessageRequest.ts +15 -15
- package/src/zendeskMessaging/dtos/SunshineCreateConversationRequest.ts +28 -28
- package/src/zendeskMessaging/dtos/SunshineCreateUserRequest.ts +27 -27
- package/src/zendeskMessaging/dtos/SunshinePostMessageRequest.ts +44 -44
- package/src/zendeskMessaging/index.ts +14 -14
- package/src/zendeskMessaging/interfaces/INormalizedNotificationEvent.ts +21 -21
- package/src/zendeskMessaging/interfaces/IProactiveMessagingEnums.ts +9 -9
- package/src/zendeskMessaging/interfaces/ISunshineConversations.ts +21 -21
- package/src/zendeskMessaging/interfaces/ISunshineProactiveResponses.ts +47 -47
- package/src/zendeskMessaging/interfaces/IZendeskWebhook.ts +40 -40
- package/bin/cognitoBackofficeConnector/dtos/PoolConfigResponse.d.ts +0 -20
- package/bin/cognitoBackofficeConnector/dtos/PoolConfigResponse.js +0 -11
- package/bin/cognitoBackofficeConnector/dtos/PoolsListResponse.d.ts +0 -4
- package/bin/cognitoBackofficeConnector/dtos/PoolsListResponse.js +0 -6
- package/bin/rbac/enums/PoolKind.d.ts +0 -16
- package/bin/rbac/enums/PoolKind.js +0 -20
- package/bin/rbac/index.d.ts +0 -1
- package/bin/remittance/dtos/RemittancePayRequest.d.ts +0 -20
- package/bin/remittance/dtos/RemittancePayResponse.d.ts +0 -23
- package/bin/remittance/dtos/RemittancePayResponse.js +0 -14
- package/src/remittance/dtos/RemittancePayRequest.ts +0 -30
- package/src/remittance/dtos/RemittancePayResponse.ts +0 -24
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { Expose } from 'class-transformer';
|
|
2
|
-
import { IsArray, IsBoolean, IsIn, Validate } from 'class-validator';
|
|
3
|
-
import { MfaTypesRequiresOne } from '../validators/MfaTypesRequiresOne';
|
|
4
|
-
|
|
5
|
-
// EMAIL_OTP removido (3.41.0): el cognito-backoffice-connector no provisiona
|
|
6
|
-
// EmailMfaConfiguration a nivel pool (requiere infra SES que no está montada
|
|
7
|
-
// y la integración con messages-lambda aún no tiene diseño). Ver TD-020 +
|
|
8
|
-
// DEC-001 en cognito-backoffice-connector/docs/. Si se reintroduce, agregar
|
|
9
|
-
// 'EMAIL_OTP' a este array.
|
|
10
|
-
const ALLOWED_MFA_TYPES = ['SOFTWARE_TOKEN_MFA'] as const;
|
|
11
|
-
export type AllowedMfaType = (typeof ALLOWED_MFA_TYPES)[number];
|
|
12
|
-
|
|
13
|
-
export class MfaPoolConfig {
|
|
14
|
-
@Expose() @IsBoolean() requireMfa!: boolean;
|
|
15
|
-
|
|
16
|
-
@Expose()
|
|
17
|
-
@IsArray()
|
|
18
|
-
@IsIn(ALLOWED_MFA_TYPES, { each: true })
|
|
19
|
-
@Validate(MfaTypesRequiresOne)
|
|
20
|
-
mfaTypes!: AllowedMfaType[];
|
|
21
|
-
}
|
|
1
|
+
import { Expose } from 'class-transformer';
|
|
2
|
+
import { IsArray, IsBoolean, IsIn, Validate } from 'class-validator';
|
|
3
|
+
import { MfaTypesRequiresOne } from '../validators/MfaTypesRequiresOne';
|
|
4
|
+
|
|
5
|
+
// EMAIL_OTP removido (3.41.0): el cognito-backoffice-connector no provisiona
|
|
6
|
+
// EmailMfaConfiguration a nivel pool (requiere infra SES que no está montada
|
|
7
|
+
// y la integración con messages-lambda aún no tiene diseño). Ver TD-020 +
|
|
8
|
+
// DEC-001 en cognito-backoffice-connector/docs/. Si se reintroduce, agregar
|
|
9
|
+
// 'EMAIL_OTP' a este array.
|
|
10
|
+
const ALLOWED_MFA_TYPES = ['SOFTWARE_TOKEN_MFA'] as const;
|
|
11
|
+
export type AllowedMfaType = (typeof ALLOWED_MFA_TYPES)[number];
|
|
12
|
+
|
|
13
|
+
export class MfaPoolConfig {
|
|
14
|
+
@Expose() @IsBoolean() requireMfa!: boolean;
|
|
15
|
+
|
|
16
|
+
@Expose()
|
|
17
|
+
@IsArray()
|
|
18
|
+
@IsIn(ALLOWED_MFA_TYPES, { each: true })
|
|
19
|
+
@Validate(MfaTypesRequiresOne)
|
|
20
|
+
mfaTypes!: AllowedMfaType[];
|
|
21
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Expose } from 'class-transformer';
|
|
2
|
-
import { IsNotEmpty, IsString } from 'class-validator';
|
|
3
|
-
|
|
4
|
-
export class MfaResetRequest {
|
|
5
|
-
@Expose() @IsString() @IsNotEmpty() userPoolId!: string;
|
|
6
|
-
@Expose() @IsString() @IsNotEmpty() region!: string;
|
|
7
|
-
}
|
|
1
|
+
import { Expose } from 'class-transformer';
|
|
2
|
+
import { IsNotEmpty, IsString } from 'class-validator';
|
|
3
|
+
|
|
4
|
+
export class MfaResetRequest {
|
|
5
|
+
@Expose() @IsString() @IsNotEmpty() userPoolId!: string;
|
|
6
|
+
@Expose() @IsString() @IsNotEmpty() region!: string;
|
|
7
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Shared entre los endpoints de verify MFA (TOTP, Email). Literal union sobre
|
|
3
|
-
* `status` — no se introduce enum porque solo hay 2 valores estables y el
|
|
4
|
-
* contrato es plano.
|
|
5
|
-
*/
|
|
6
|
-
export class MfaVerifyResponse {
|
|
7
|
-
status!: 'SUCCESS' | 'ERROR';
|
|
8
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* Shared entre los endpoints de verify MFA (TOTP, Email). Literal union sobre
|
|
3
|
+
* `status` — no se introduce enum porque solo hay 2 valores estables y el
|
|
4
|
+
* contrato es plano.
|
|
5
|
+
*/
|
|
6
|
+
export class MfaVerifyResponse {
|
|
7
|
+
status!: 'SUCCESS' | 'ERROR';
|
|
8
|
+
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { Expose } from 'class-transformer';
|
|
2
|
-
import { IsBoolean, IsNumber, Max, Min } from 'class-validator';
|
|
3
|
-
|
|
4
|
-
export class PasswordPolicyConfig {
|
|
5
|
-
@Expose() @IsNumber() @Min(6) @Max(99) minLength!: number;
|
|
6
|
-
@Expose() @IsBoolean() requireUppercase!: boolean;
|
|
7
|
-
@Expose() @IsBoolean() requireLowercase!: boolean;
|
|
8
|
-
@Expose() @IsBoolean() requireNumbers!: boolean;
|
|
9
|
-
@Expose() @IsBoolean() requireSymbols!: boolean;
|
|
10
|
-
@Expose() @IsNumber() @Min(1) @Max(365) temporaryPasswordValidityDays!: number;
|
|
11
|
-
}
|
|
1
|
+
import { Expose } from 'class-transformer';
|
|
2
|
+
import { IsBoolean, IsNumber, Max, Min } from 'class-validator';
|
|
3
|
+
|
|
4
|
+
export class PasswordPolicyConfig {
|
|
5
|
+
@Expose() @IsNumber() @Min(6) @Max(99) minLength!: number;
|
|
6
|
+
@Expose() @IsBoolean() requireUppercase!: boolean;
|
|
7
|
+
@Expose() @IsBoolean() requireLowercase!: boolean;
|
|
8
|
+
@Expose() @IsBoolean() requireNumbers!: boolean;
|
|
9
|
+
@Expose() @IsBoolean() requireSymbols!: boolean;
|
|
10
|
+
@Expose() @IsNumber() @Min(1) @Max(365) temporaryPasswordValidityDays!: number;
|
|
11
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { Expose } from 'class-transformer';
|
|
2
|
-
import { IsNotEmpty, IsString } from 'class-validator';
|
|
3
|
-
|
|
4
|
-
export class RefreshTokensRequest {
|
|
5
|
-
@Expose() @IsString() @IsNotEmpty() userPoolId!: string;
|
|
6
|
-
@Expose() @IsString() @IsNotEmpty() region!: string;
|
|
7
|
-
@Expose() @IsString() @IsNotEmpty() clientId!: string;
|
|
8
|
-
@Expose() @IsString() @IsNotEmpty() refreshToken!: string;
|
|
9
|
-
}
|
|
1
|
+
import { Expose } from 'class-transformer';
|
|
2
|
+
import { IsNotEmpty, IsString } from 'class-validator';
|
|
3
|
+
|
|
4
|
+
export class RefreshTokensRequest {
|
|
5
|
+
@Expose() @IsString() @IsNotEmpty() userPoolId!: string;
|
|
6
|
+
@Expose() @IsString() @IsNotEmpty() region!: string;
|
|
7
|
+
@Expose() @IsString() @IsNotEmpty() clientId!: string;
|
|
8
|
+
@Expose() @IsString() @IsNotEmpty() refreshToken!: string;
|
|
9
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AuthTokensResponse } from './AuthTokensResponse';
|
|
2
|
-
|
|
3
|
-
export class RefreshTokensResponse {
|
|
4
|
-
tokens!: AuthTokensResponse;
|
|
5
|
-
}
|
|
1
|
+
import { AuthTokensResponse } from './AuthTokensResponse';
|
|
2
|
+
|
|
3
|
+
export class RefreshTokensResponse {
|
|
4
|
+
tokens!: AuthTokensResponse;
|
|
5
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { Expose } from 'class-transformer';
|
|
2
|
-
import { IsNotEmpty, IsString } from 'class-validator';
|
|
3
|
-
|
|
4
|
-
export class ResendConfirmationRequest {
|
|
5
|
-
@Expose() @IsString() @IsNotEmpty() userPoolId!: string;
|
|
6
|
-
@Expose() @IsString() @IsNotEmpty() region!: string;
|
|
7
|
-
@Expose() @IsString() @IsNotEmpty() clientId!: string;
|
|
8
|
-
@Expose() @IsString() @IsNotEmpty() username!: string;
|
|
9
|
-
}
|
|
1
|
+
import { Expose } from 'class-transformer';
|
|
2
|
+
import { IsNotEmpty, IsString } from 'class-validator';
|
|
3
|
+
|
|
4
|
+
export class ResendConfirmationRequest {
|
|
5
|
+
@Expose() @IsString() @IsNotEmpty() userPoolId!: string;
|
|
6
|
+
@Expose() @IsString() @IsNotEmpty() region!: string;
|
|
7
|
+
@Expose() @IsString() @IsNotEmpty() clientId!: string;
|
|
8
|
+
@Expose() @IsString() @IsNotEmpty() username!: string;
|
|
9
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Expose } from 'class-transformer';
|
|
2
|
-
import { IsNotEmpty, IsString } from 'class-validator';
|
|
3
|
-
|
|
4
|
-
export class ResendInvitationRequest {
|
|
5
|
-
@Expose() @IsString() @IsNotEmpty() userPoolId!: string;
|
|
6
|
-
@Expose() @IsString() @IsNotEmpty() region!: string;
|
|
7
|
-
}
|
|
1
|
+
import { Expose } from 'class-transformer';
|
|
2
|
+
import { IsNotEmpty, IsString } from 'class-validator';
|
|
3
|
+
|
|
4
|
+
export class ResendInvitationRequest {
|
|
5
|
+
@Expose() @IsString() @IsNotEmpty() userPoolId!: string;
|
|
6
|
+
@Expose() @IsString() @IsNotEmpty() region!: string;
|
|
7
|
+
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { Expose } from 'class-transformer';
|
|
2
|
-
import { IsEnum, IsNotEmpty, IsObject, IsString } from 'class-validator';
|
|
3
|
-
import { CognitoChallengeType } from '../enums/CognitoChallengeType';
|
|
4
|
-
|
|
5
|
-
export class RespondToChallengeRequest {
|
|
6
|
-
@Expose() @IsString() @IsNotEmpty() userPoolId!: string;
|
|
7
|
-
@Expose() @IsString() @IsNotEmpty() region!: string;
|
|
8
|
-
@Expose() @IsString() @IsNotEmpty() clientId!: string;
|
|
9
|
-
@Expose() @IsEnum(CognitoChallengeType) challengeName!: CognitoChallengeType;
|
|
10
|
-
@Expose() @IsString() @IsNotEmpty() session!: string;
|
|
11
|
-
@Expose() @IsObject() challengeResponses!: Record<string, string>;
|
|
12
|
-
}
|
|
1
|
+
import { Expose } from 'class-transformer';
|
|
2
|
+
import { IsEnum, IsNotEmpty, IsObject, IsString } from 'class-validator';
|
|
3
|
+
import { CognitoChallengeType } from '../enums/CognitoChallengeType';
|
|
4
|
+
|
|
5
|
+
export class RespondToChallengeRequest {
|
|
6
|
+
@Expose() @IsString() @IsNotEmpty() userPoolId!: string;
|
|
7
|
+
@Expose() @IsString() @IsNotEmpty() region!: string;
|
|
8
|
+
@Expose() @IsString() @IsNotEmpty() clientId!: string;
|
|
9
|
+
@Expose() @IsEnum(CognitoChallengeType) challengeName!: CognitoChallengeType;
|
|
10
|
+
@Expose() @IsString() @IsNotEmpty() session!: string;
|
|
11
|
+
@Expose() @IsObject() challengeResponses!: Record<string, string>;
|
|
12
|
+
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { CognitoChallengeType } from '../enums/CognitoChallengeType';
|
|
2
|
-
import { AuthTokensResponse } from './AuthTokensResponse';
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* SC3: clase PROPIA con shape espejo de `InitiateAuthResponse` (NO alias) para
|
|
6
|
-
* desacoplar la evolución del endpoint `respond-to-challenge` del endpoint
|
|
7
|
-
* `initiate-auth`. Ambos pueden cambiar shape independiente.
|
|
8
|
-
*/
|
|
9
|
-
export class RespondToChallengeResponse {
|
|
10
|
-
tokens?: AuthTokensResponse;
|
|
11
|
-
challengeType?: CognitoChallengeType;
|
|
12
|
-
session?: string;
|
|
13
|
-
challengeParameters?: Record<string, string>;
|
|
14
|
-
}
|
|
1
|
+
import { CognitoChallengeType } from '../enums/CognitoChallengeType';
|
|
2
|
+
import { AuthTokensResponse } from './AuthTokensResponse';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* SC3: clase PROPIA con shape espejo de `InitiateAuthResponse` (NO alias) para
|
|
6
|
+
* desacoplar la evolución del endpoint `respond-to-challenge` del endpoint
|
|
7
|
+
* `initiate-auth`. Ambos pueden cambiar shape independiente.
|
|
8
|
+
*/
|
|
9
|
+
export class RespondToChallengeResponse {
|
|
10
|
+
tokens?: AuthTokensResponse;
|
|
11
|
+
challengeType?: CognitoChallengeType;
|
|
12
|
+
session?: string;
|
|
13
|
+
challengeParameters?: Record<string, string>;
|
|
14
|
+
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { Expose } from 'class-transformer';
|
|
2
|
-
import { IsBoolean, IsIn, IsNotEmpty, IsOptional, IsString } from 'class-validator';
|
|
3
|
-
|
|
4
|
-
export class SetMfaPreferenceRequest {
|
|
5
|
-
@Expose() @IsString() @IsNotEmpty() userPoolId!: string;
|
|
6
|
-
@Expose() @IsString() @IsNotEmpty() region!: string;
|
|
7
|
-
@Expose() @IsString() @IsNotEmpty() cognitoSub!: string;
|
|
8
|
-
@Expose() @IsBoolean() softwareTokenEnabled!: boolean;
|
|
9
|
-
@Expose() @IsBoolean() emailEnabled!: boolean;
|
|
10
|
-
@Expose() @IsOptional() @IsIn(['TOTP', 'EMAIL'])
|
|
11
|
-
preferredMethod?: 'TOTP' | 'EMAIL';
|
|
12
|
-
}
|
|
1
|
+
import { Expose } from 'class-transformer';
|
|
2
|
+
import { IsBoolean, IsIn, IsNotEmpty, IsOptional, IsString } from 'class-validator';
|
|
3
|
+
|
|
4
|
+
export class SetMfaPreferenceRequest {
|
|
5
|
+
@Expose() @IsString() @IsNotEmpty() userPoolId!: string;
|
|
6
|
+
@Expose() @IsString() @IsNotEmpty() region!: string;
|
|
7
|
+
@Expose() @IsString() @IsNotEmpty() cognitoSub!: string;
|
|
8
|
+
@Expose() @IsBoolean() softwareTokenEnabled!: boolean;
|
|
9
|
+
@Expose() @IsBoolean() emailEnabled!: boolean;
|
|
10
|
+
@Expose() @IsOptional() @IsIn(['TOTP', 'EMAIL'])
|
|
11
|
+
preferredMethod?: 'TOTP' | 'EMAIL';
|
|
12
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Expose } from 'class-transformer';
|
|
2
|
-
import { IsNotEmpty, IsString } from 'class-validator';
|
|
3
|
-
|
|
4
|
-
export class TotpBeginRequest {
|
|
5
|
-
@Expose() @IsString() @IsNotEmpty() userPoolId!: string;
|
|
6
|
-
@Expose() @IsString() @IsNotEmpty() region!: string;
|
|
7
|
-
@Expose() @IsString() @IsNotEmpty() accessToken!: string;
|
|
8
|
-
}
|
|
1
|
+
import { Expose } from 'class-transformer';
|
|
2
|
+
import { IsNotEmpty, IsString } from 'class-validator';
|
|
3
|
+
|
|
4
|
+
export class TotpBeginRequest {
|
|
5
|
+
@Expose() @IsString() @IsNotEmpty() userPoolId!: string;
|
|
6
|
+
@Expose() @IsString() @IsNotEmpty() region!: string;
|
|
7
|
+
@Expose() @IsString() @IsNotEmpty() accessToken!: string;
|
|
8
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export class TotpBeginResponse {
|
|
2
|
-
secretCode!: string;
|
|
3
|
-
sessionToken!: string;
|
|
4
|
-
}
|
|
1
|
+
export class TotpBeginResponse {
|
|
2
|
+
secretCode!: string;
|
|
3
|
+
sessionToken!: string;
|
|
4
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { Expose } from 'class-transformer';
|
|
2
|
-
import { IsNotEmpty, IsOptional, IsString } from 'class-validator';
|
|
3
|
-
|
|
4
|
-
export class TotpVerifyRequest {
|
|
5
|
-
@Expose() @IsString() @IsNotEmpty() region!: string;
|
|
6
|
-
@Expose() @IsString() @IsNotEmpty() accessToken!: string;
|
|
7
|
-
@Expose() @IsString() @IsNotEmpty() userCode!: string;
|
|
8
|
-
@Expose() @IsOptional() @IsString() friendlyDeviceName?: string;
|
|
9
|
-
}
|
|
1
|
+
import { Expose } from 'class-transformer';
|
|
2
|
+
import { IsNotEmpty, IsOptional, IsString } from 'class-validator';
|
|
3
|
+
|
|
4
|
+
export class TotpVerifyRequest {
|
|
5
|
+
@Expose() @IsString() @IsNotEmpty() region!: string;
|
|
6
|
+
@Expose() @IsString() @IsNotEmpty() accessToken!: string;
|
|
7
|
+
@Expose() @IsString() @IsNotEmpty() userCode!: string;
|
|
8
|
+
@Expose() @IsOptional() @IsString() friendlyDeviceName?: string;
|
|
9
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Expose } from 'class-transformer';
|
|
2
|
-
import { IsEmail, IsNotEmpty, IsString } from 'class-validator';
|
|
3
|
-
|
|
4
|
-
export class UpdateEmailRequest {
|
|
5
|
-
@Expose() @IsString() @IsNotEmpty() region!: string;
|
|
6
|
-
@Expose() @IsString() @IsNotEmpty() accessToken!: string;
|
|
7
|
-
@Expose() @IsEmail() newEmail!: string;
|
|
8
|
-
}
|
|
1
|
+
import { Expose } from 'class-transformer';
|
|
2
|
+
import { IsEmail, IsNotEmpty, IsString } from 'class-validator';
|
|
3
|
+
|
|
4
|
+
export class UpdateEmailRequest {
|
|
5
|
+
@Expose() @IsString() @IsNotEmpty() region!: string;
|
|
6
|
+
@Expose() @IsString() @IsNotEmpty() accessToken!: string;
|
|
7
|
+
@Expose() @IsEmail() newEmail!: string;
|
|
8
|
+
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { Expose } from 'class-transformer';
|
|
2
|
-
import { IsNotEmpty, IsOptional, IsString } from 'class-validator';
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* D3 ajuste 2: self-service profile update NO permite tocar `customAttributes`
|
|
6
|
-
* — eso es exclusivo del path admin (`UpdateUserAttributesRequest` con
|
|
7
|
-
* `NoTenantIdInCustomAttrs`). El self-service solo modifica campos personales
|
|
8
|
-
* benignos.
|
|
9
|
-
*/
|
|
10
|
-
export class UpdateProfileRequest {
|
|
11
|
-
@Expose() @IsString() @IsNotEmpty() region!: string;
|
|
12
|
-
@Expose() @IsString() @IsNotEmpty() accessToken!: string;
|
|
13
|
-
@Expose() @IsOptional() @IsString() displayName?: string;
|
|
14
|
-
@Expose() @IsOptional() @IsString() phoneNumber?: string;
|
|
15
|
-
}
|
|
1
|
+
import { Expose } from 'class-transformer';
|
|
2
|
+
import { IsNotEmpty, IsOptional, IsString } from 'class-validator';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* D3 ajuste 2: self-service profile update NO permite tocar `customAttributes`
|
|
6
|
+
* — eso es exclusivo del path admin (`UpdateUserAttributesRequest` con
|
|
7
|
+
* `NoTenantIdInCustomAttrs`). El self-service solo modifica campos personales
|
|
8
|
+
* benignos.
|
|
9
|
+
*/
|
|
10
|
+
export class UpdateProfileRequest {
|
|
11
|
+
@Expose() @IsString() @IsNotEmpty() region!: string;
|
|
12
|
+
@Expose() @IsString() @IsNotEmpty() accessToken!: string;
|
|
13
|
+
@Expose() @IsOptional() @IsString() displayName?: string;
|
|
14
|
+
@Expose() @IsOptional() @IsString() phoneNumber?: string;
|
|
15
|
+
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { Expose } from 'class-transformer';
|
|
2
|
-
import { IsNotEmpty, IsObject, IsOptional, IsString, Validate } from 'class-validator';
|
|
3
|
-
import { NoTenantIdInCustomAttrs } from '../validators/NoTenantIdInCustomAttrs';
|
|
4
|
-
|
|
5
|
-
export class UpdateUserAttributesRequest {
|
|
6
|
-
@Expose() @IsString() @IsNotEmpty() userPoolId!: string;
|
|
7
|
-
@Expose() @IsString() @IsNotEmpty() region!: string;
|
|
8
|
-
@Expose() @IsOptional() @IsString() displayName?: string;
|
|
9
|
-
@Expose() @IsOptional() @IsString() phoneNumber?: string;
|
|
10
|
-
@Expose() @IsOptional() @IsObject() @Validate(NoTenantIdInCustomAttrs)
|
|
11
|
-
customAttributes?: Record<string, string>;
|
|
12
|
-
}
|
|
1
|
+
import { Expose } from 'class-transformer';
|
|
2
|
+
import { IsNotEmpty, IsObject, IsOptional, IsString, Validate } from 'class-validator';
|
|
3
|
+
import { NoTenantIdInCustomAttrs } from '../validators/NoTenantIdInCustomAttrs';
|
|
4
|
+
|
|
5
|
+
export class UpdateUserAttributesRequest {
|
|
6
|
+
@Expose() @IsString() @IsNotEmpty() userPoolId!: string;
|
|
7
|
+
@Expose() @IsString() @IsNotEmpty() region!: string;
|
|
8
|
+
@Expose() @IsOptional() @IsString() displayName?: string;
|
|
9
|
+
@Expose() @IsOptional() @IsString() phoneNumber?: string;
|
|
10
|
+
@Expose() @IsOptional() @IsObject() @Validate(NoTenantIdInCustomAttrs)
|
|
11
|
+
customAttributes?: Record<string, string>;
|
|
12
|
+
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { Expose } from 'class-transformer';
|
|
2
|
-
import { IsNotEmpty, IsString } from 'class-validator';
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* Request shared para acciones admin que solo requieren identificar el pool
|
|
6
|
-
* (el `cognitoSub` viaja por path param del endpoint): disable, enable,
|
|
7
|
-
* global sign-out, password reset.
|
|
8
|
-
*/
|
|
9
|
-
export class UserActionRequest {
|
|
10
|
-
@Expose() @IsString() @IsNotEmpty() userPoolId!: string;
|
|
11
|
-
@Expose() @IsString() @IsNotEmpty() region!: string;
|
|
12
|
-
}
|
|
1
|
+
import { Expose } from 'class-transformer';
|
|
2
|
+
import { IsNotEmpty, IsString } from 'class-validator';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Request shared para acciones admin que solo requieren identificar el pool
|
|
6
|
+
* (el `cognitoSub` viaja por path param del endpoint): disable, enable,
|
|
7
|
+
* global sign-out, password reset.
|
|
8
|
+
*/
|
|
9
|
+
export class UserActionRequest {
|
|
10
|
+
@Expose() @IsString() @IsNotEmpty() userPoolId!: string;
|
|
11
|
+
@Expose() @IsString() @IsNotEmpty() region!: string;
|
|
12
|
+
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { CognitoUserStatus } from '../enums/CognitoUserStatus';
|
|
2
|
-
|
|
3
|
-
export class UserDetailResponse {
|
|
4
|
-
cognitoSub!: string;
|
|
5
|
-
email!: string;
|
|
6
|
-
emailVerified!: boolean;
|
|
7
|
-
status!: CognitoUserStatus;
|
|
8
|
-
enabled!: boolean;
|
|
9
|
-
displayName?: string;
|
|
10
|
-
phoneNumber?: string;
|
|
11
|
-
customAttributes?: Record<string, string>;
|
|
12
|
-
createdAt!: number;
|
|
13
|
-
lastModifiedAt!: number;
|
|
14
|
-
}
|
|
1
|
+
import { CognitoUserStatus } from '../enums/CognitoUserStatus';
|
|
2
|
+
|
|
3
|
+
export class UserDetailResponse {
|
|
4
|
+
cognitoSub!: string;
|
|
5
|
+
email!: string;
|
|
6
|
+
emailVerified!: boolean;
|
|
7
|
+
status!: CognitoUserStatus;
|
|
8
|
+
enabled!: boolean;
|
|
9
|
+
displayName?: string;
|
|
10
|
+
phoneNumber?: string;
|
|
11
|
+
customAttributes?: Record<string, string>;
|
|
12
|
+
createdAt!: number;
|
|
13
|
+
lastModifiedAt!: number;
|
|
14
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Expose } from 'class-transformer';
|
|
2
|
-
import { IsNotEmpty, IsString } from 'class-validator';
|
|
3
|
-
|
|
4
|
-
export class VerifyEmailRequest {
|
|
5
|
-
@Expose() @IsString() @IsNotEmpty() region!: string;
|
|
6
|
-
@Expose() @IsString() @IsNotEmpty() accessToken!: string;
|
|
7
|
-
@Expose() @IsString() @IsNotEmpty() confirmationCode!: string;
|
|
8
|
-
}
|
|
1
|
+
import { Expose } from 'class-transformer';
|
|
2
|
+
import { IsNotEmpty, IsString } from 'class-validator';
|
|
3
|
+
|
|
4
|
+
export class VerifyEmailRequest {
|
|
5
|
+
@Expose() @IsString() @IsNotEmpty() region!: string;
|
|
6
|
+
@Expose() @IsString() @IsNotEmpty() accessToken!: string;
|
|
7
|
+
@Expose() @IsString() @IsNotEmpty() confirmationCode!: string;
|
|
8
|
+
}
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Estados posibles de un usuario en un Cognito User Pool, según el tipo
|
|
3
|
-
* `UserStatusType` del SDK `@aws-sdk/client-cognito-identity-provider`.
|
|
4
|
-
*
|
|
5
|
-
* El SDK no expone enum value `DISABLED` — el equivalente operativo en Cognito
|
|
6
|
-
* es el flag boolean `enabled` del usuario (ver `CreateUserResponse.enabled`
|
|
7
|
-
* y `UserDetailResponse.enabled`), que es independiente del `status`.
|
|
8
|
-
*
|
|
9
|
-
* `EXTERNAL_PROVIDER` (federación SAML / OIDC) no se incluye porque el
|
|
10
|
-
* proyecto NO usa federación — el backoffice solo administra usuarios nativos
|
|
11
|
-
* del pool.
|
|
12
|
-
*
|
|
13
|
-
* - `UNCONFIRMED` — el usuario fue creado pero no completó la verificación de email.
|
|
14
|
-
* - `CONFIRMED` — usuario verificado, puede operar (sujeto a MFA si aplica).
|
|
15
|
-
* - `ARCHIVED` — usuario archivado por Cognito (no puede operar, no se borra).
|
|
16
|
-
* - `COMPROMISED` — flag de Cognito Advanced Security: credencial comprometida.
|
|
17
|
-
* - `UNKNOWN` — Cognito no determinó el estado (raro).
|
|
18
|
-
* - `RESET_REQUIRED` — el usuario debe resetear password antes del próximo login.
|
|
19
|
-
* - `FORCE_CHANGE_PASSWORD` — temp password vigente, requiere `NEW_PASSWORD_REQUIRED`.
|
|
20
|
-
*/
|
|
21
|
-
export enum CognitoUserStatus {
|
|
22
|
-
UNCONFIRMED = 'UNCONFIRMED',
|
|
23
|
-
CONFIRMED = 'CONFIRMED',
|
|
24
|
-
ARCHIVED = 'ARCHIVED',
|
|
25
|
-
COMPROMISED = 'COMPROMISED',
|
|
26
|
-
UNKNOWN = 'UNKNOWN',
|
|
27
|
-
RESET_REQUIRED = 'RESET_REQUIRED',
|
|
28
|
-
FORCE_CHANGE_PASSWORD = 'FORCE_CHANGE_PASSWORD',
|
|
29
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* Estados posibles de un usuario en un Cognito User Pool, según el tipo
|
|
3
|
+
* `UserStatusType` del SDK `@aws-sdk/client-cognito-identity-provider`.
|
|
4
|
+
*
|
|
5
|
+
* El SDK no expone enum value `DISABLED` — el equivalente operativo en Cognito
|
|
6
|
+
* es el flag boolean `enabled` del usuario (ver `CreateUserResponse.enabled`
|
|
7
|
+
* y `UserDetailResponse.enabled`), que es independiente del `status`.
|
|
8
|
+
*
|
|
9
|
+
* `EXTERNAL_PROVIDER` (federación SAML / OIDC) no se incluye porque el
|
|
10
|
+
* proyecto NO usa federación — el backoffice solo administra usuarios nativos
|
|
11
|
+
* del pool.
|
|
12
|
+
*
|
|
13
|
+
* - `UNCONFIRMED` — el usuario fue creado pero no completó la verificación de email.
|
|
14
|
+
* - `CONFIRMED` — usuario verificado, puede operar (sujeto a MFA si aplica).
|
|
15
|
+
* - `ARCHIVED` — usuario archivado por Cognito (no puede operar, no se borra).
|
|
16
|
+
* - `COMPROMISED` — flag de Cognito Advanced Security: credencial comprometida.
|
|
17
|
+
* - `UNKNOWN` — Cognito no determinó el estado (raro).
|
|
18
|
+
* - `RESET_REQUIRED` — el usuario debe resetear password antes del próximo login.
|
|
19
|
+
* - `FORCE_CHANGE_PASSWORD` — temp password vigente, requiere `NEW_PASSWORD_REQUIRED`.
|
|
20
|
+
*/
|
|
21
|
+
export enum CognitoUserStatus {
|
|
22
|
+
UNCONFIRMED = 'UNCONFIRMED',
|
|
23
|
+
CONFIRMED = 'CONFIRMED',
|
|
24
|
+
ARCHIVED = 'ARCHIVED',
|
|
25
|
+
COMPROMISED = 'COMPROMISED',
|
|
26
|
+
UNKNOWN = 'UNKNOWN',
|
|
27
|
+
RESET_REQUIRED = 'RESET_REQUIRED',
|
|
28
|
+
FORCE_CHANGE_PASSWORD = 'FORCE_CHANGE_PASSWORD',
|
|
29
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Razón de fallo del POST /auth/introspect del cognito-backoffice-connector.
|
|
3
|
+
*/
|
|
4
|
+
export enum IntrospectFailReason {
|
|
5
|
+
INVALID_SIGNATURE = 'INVALID_SIGNATURE',
|
|
6
|
+
EXPIRED = 'EXPIRED',
|
|
7
|
+
CLIENT_ID_MISMATCH = 'CLIENT_ID_MISMATCH',
|
|
8
|
+
TOKEN_USE_MISMATCH = 'TOKEN_USE_MISMATCH',
|
|
9
|
+
REVOKED = 'REVOKED',
|
|
10
|
+
USER_NOT_FOUND = 'USER_NOT_FOUND',
|
|
11
|
+
}
|
|
@@ -1,52 +1,57 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Módulo `cognitoBackofficeConnector` — DTOs, enums y validators para el Lambda
|
|
3
|
-
* `cognito-backoffice-connector` (backoffice multi-tenant Fiado).
|
|
4
|
-
*
|
|
5
|
-
* Es un módulo NUEVO y SEPARADO del módulo `cognitoConnector/` legacy que pertenece
|
|
6
|
-
* a otro Lambda Cognito Fiado (mantenido por yhonhansen). No reusar tipos del
|
|
7
|
-
* legacy aquí ni viceversa — los dominios divergieron y mezclarlos arrastraría
|
|
8
|
-
* acoplamiento histórico.
|
|
9
|
-
*/
|
|
10
|
-
export * from './enums/CognitoChallengeType';
|
|
11
|
-
export * from './enums/CognitoUserStatus';
|
|
12
|
-
export * from './validators/NoTenantIdInCustomAttrs';
|
|
13
|
-
export * from './validators/MfaTypesRequiresOne';
|
|
14
|
-
export * from './dtos/CreateUserRequest';
|
|
15
|
-
export * from './dtos/CreateUserResponse';
|
|
16
|
-
export * from './dtos/UpdateUserAttributesRequest';
|
|
17
|
-
export * from './dtos/UserActionRequest';
|
|
18
|
-
export * from './dtos/DeleteUserRequest';
|
|
19
|
-
export * from './dtos/ResendInvitationRequest';
|
|
20
|
-
export * from './dtos/UserDetailResponse';
|
|
21
|
-
export * from './dtos/AuthEventsRequest';
|
|
22
|
-
export * from './dtos/AuthEventResponse';
|
|
23
|
-
export * from './dtos/AuthTokensResponse';
|
|
24
|
-
export * from './dtos/InitiateAuthRequest';
|
|
25
|
-
export * from './dtos/InitiateAuthResponse';
|
|
26
|
-
export * from './dtos/VerifyPasswordRequest';
|
|
27
|
-
export * from './dtos/VerifyPasswordResponse';
|
|
28
|
-
export * from './dtos/RespondToChallengeRequest';
|
|
29
|
-
export * from './dtos/RespondToChallengeResponse';
|
|
30
|
-
export * from './dtos/RefreshTokensRequest';
|
|
31
|
-
export * from './dtos/RefreshTokensResponse';
|
|
32
|
-
export * from './dtos/ForgotPasswordRequest';
|
|
33
|
-
export * from './dtos/ConfirmForgotPasswordRequest';
|
|
34
|
-
export * from './dtos/ResendConfirmationRequest';
|
|
35
|
-
export * from './dtos/ChangePasswordRequest';
|
|
36
|
-
export * from './dtos/TotpBeginRequest';
|
|
37
|
-
export * from './dtos/TotpBeginResponse';
|
|
38
|
-
export * from './dtos/TotpVerifyRequest';
|
|
39
|
-
export * from './dtos/MfaVerifyResponse';
|
|
40
|
-
export * from './dtos/SetMfaPreferenceRequest';
|
|
41
|
-
export * from './dtos/MfaResetRequest';
|
|
42
|
-
export * from './dtos/UpdateEmailRequest';
|
|
43
|
-
export * from './dtos/VerifyEmailRequest';
|
|
44
|
-
export * from './dtos/UpdateProfileRequest';
|
|
45
|
-
export * from './dtos/HealthcheckResponse';
|
|
46
|
-
export * from './dtos/MfaPoolConfig';
|
|
47
|
-
export * from './dtos/PasswordPolicyConfig';
|
|
48
|
-
export * from './dtos/CustomAttributeSpec';
|
|
49
|
-
export * from './dtos/AppClientConfig';
|
|
50
|
-
export * from './dtos/CreatePoolRequest';
|
|
51
|
-
export * from './dtos/CreatePoolResponse';
|
|
52
|
-
export * from './dtos/DeletePoolRequest';
|
|
1
|
+
/**
|
|
2
|
+
* Módulo `cognitoBackofficeConnector` — DTOs, enums y validators para el Lambda
|
|
3
|
+
* `cognito-backoffice-connector` (backoffice multi-tenant Fiado).
|
|
4
|
+
*
|
|
5
|
+
* Es un módulo NUEVO y SEPARADO del módulo `cognitoConnector/` legacy que pertenece
|
|
6
|
+
* a otro Lambda Cognito Fiado (mantenido por yhonhansen). No reusar tipos del
|
|
7
|
+
* legacy aquí ni viceversa — los dominios divergieron y mezclarlos arrastraría
|
|
8
|
+
* acoplamiento histórico.
|
|
9
|
+
*/
|
|
10
|
+
export * from './enums/CognitoChallengeType';
|
|
11
|
+
export * from './enums/CognitoUserStatus';
|
|
12
|
+
export * from './validators/NoTenantIdInCustomAttrs';
|
|
13
|
+
export * from './validators/MfaTypesRequiresOne';
|
|
14
|
+
export * from './dtos/CreateUserRequest';
|
|
15
|
+
export * from './dtos/CreateUserResponse';
|
|
16
|
+
export * from './dtos/UpdateUserAttributesRequest';
|
|
17
|
+
export * from './dtos/UserActionRequest';
|
|
18
|
+
export * from './dtos/DeleteUserRequest';
|
|
19
|
+
export * from './dtos/ResendInvitationRequest';
|
|
20
|
+
export * from './dtos/UserDetailResponse';
|
|
21
|
+
export * from './dtos/AuthEventsRequest';
|
|
22
|
+
export * from './dtos/AuthEventResponse';
|
|
23
|
+
export * from './dtos/AuthTokensResponse';
|
|
24
|
+
export * from './dtos/InitiateAuthRequest';
|
|
25
|
+
export * from './dtos/InitiateAuthResponse';
|
|
26
|
+
export * from './dtos/VerifyPasswordRequest';
|
|
27
|
+
export * from './dtos/VerifyPasswordResponse';
|
|
28
|
+
export * from './dtos/RespondToChallengeRequest';
|
|
29
|
+
export * from './dtos/RespondToChallengeResponse';
|
|
30
|
+
export * from './dtos/RefreshTokensRequest';
|
|
31
|
+
export * from './dtos/RefreshTokensResponse';
|
|
32
|
+
export * from './dtos/ForgotPasswordRequest';
|
|
33
|
+
export * from './dtos/ConfirmForgotPasswordRequest';
|
|
34
|
+
export * from './dtos/ResendConfirmationRequest';
|
|
35
|
+
export * from './dtos/ChangePasswordRequest';
|
|
36
|
+
export * from './dtos/TotpBeginRequest';
|
|
37
|
+
export * from './dtos/TotpBeginResponse';
|
|
38
|
+
export * from './dtos/TotpVerifyRequest';
|
|
39
|
+
export * from './dtos/MfaVerifyResponse';
|
|
40
|
+
export * from './dtos/SetMfaPreferenceRequest';
|
|
41
|
+
export * from './dtos/MfaResetRequest';
|
|
42
|
+
export * from './dtos/UpdateEmailRequest';
|
|
43
|
+
export * from './dtos/VerifyEmailRequest';
|
|
44
|
+
export * from './dtos/UpdateProfileRequest';
|
|
45
|
+
export * from './dtos/HealthcheckResponse';
|
|
46
|
+
export * from './dtos/MfaPoolConfig';
|
|
47
|
+
export * from './dtos/PasswordPolicyConfig';
|
|
48
|
+
export * from './dtos/CustomAttributeSpec';
|
|
49
|
+
export * from './dtos/AppClientConfig';
|
|
50
|
+
export * from './dtos/CreatePoolRequest';
|
|
51
|
+
export * from './dtos/CreatePoolResponse';
|
|
52
|
+
export * from './dtos/DeletePoolRequest';
|
|
53
|
+
|
|
54
|
+
// Introspección de token (POST /auth/introspect) — consumido por el platform-rbac-business.
|
|
55
|
+
export * from './enums/IntrospectFailReason';
|
|
56
|
+
export * from './dtos/IntrospectRequest';
|
|
57
|
+
export * from './dtos/IntrospectResponse';
|