@adyen/kyc-components 3.75.2 → 3.76.0-beta.1
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/dist/{AcceptTermsOfServiceComponent-BmYQOI8L.js → AcceptTermsOfServiceComponent-BOQpgDuh.js} +13 -13
- package/dist/{AccountSetupRejected-DBoxaehv.js → AccountSetupRejected-CLD5yPUd.js} +2 -2
- package/dist/{Avatar-COEyy-KW.js → Avatar-ByXDvRnN.js} +2 -2
- package/dist/{BusinessDetailsDropin-DhG9P7Tn.js → BusinessDetailsDropin-CC8AQSzz.js} +17 -12
- package/dist/{BusinessFinancingComponent-BYX0Nf8D.js → BusinessFinancingComponent-DaTK2ha9.js} +2 -2
- package/dist/{BusinessFinancingDropin-DfPKc3Ez.js → BusinessFinancingDropin-Cxo-nBOC.js} +549 -602
- package/dist/{BusinessFinancingPage-drHthgr4.js → BusinessFinancingPage-CBxphlTv.js} +2 -2
- package/dist/{BusinessTypeSelectionPage-zUmYXWDy.js → BusinessTypeSelectionPage-BTtEGnSf.js} +8 -6
- package/dist/ContractViewer-Df9tNJPa.js +938 -0
- package/dist/{CreateIndividualComponent-aFdH-z1d.js → CreateIndividualComponent-CB4EKaBU.js} +3 -3
- package/dist/{CreateTransferInstrumentComponent-IG6iQKux.js → CreateTransferInstrumentComponent-DzLl5c2J.js} +2 -2
- package/dist/{CustomerSupport-BcjYX2-V.js → CustomerSupport-WjBJL8ee.js} +5 -5
- package/dist/{DebugModal-Bs62FRHL.js → DebugModal-DTjZh61l.js} +8 -8
- package/dist/{DecisionMakerDetailsPage-CA9ta9cB.js → DecisionMakerDetailsPage-CGHxqfLV.js} +3 -3
- package/dist/{DecisionMakers-ng4_2-lH.js → DecisionMakers-Cq1ugA0Q.js} +4 -4
- package/dist/{ES-JRIf-4xI.js → ES-BlWV7xvh.js} +4 -6
- package/dist/{EmbeddedStatus-BoAlthok.js → EmbeddedStatus-U4HvtsbX.js} +12 -4
- package/dist/{FormEndState-ByfEc7Tq.js → FormEndState-DXjakR3n.js} +2 -2
- package/dist/{FormFlow-jgIT2Fcv.js → FormFlow-DQdofZrs.js} +2 -2
- package/dist/{IndividualOnfidoDropin-DmYwURqh.js → IndividualOnfidoDropin-Ces-NVRq.js} +487 -104
- package/dist/{Introduction-9B_FnJJC.js → Introduction-CoAMVQ3N.js} +3 -3
- package/dist/{LegalRepresentativeDetailsPage-DKcbC6rL.js → LegalRepresentativeDetailsPage-DR4k-6tr.js} +3 -3
- package/dist/{ManageIndividualComponent-BpDGFwxh.js → ManageIndividualComponent-DCy_23X2.js} +3 -3
- package/dist/{ManagePCIComponent-CcIimUFu.js → ManagePCIComponent-mIpoEgqY.js} +3 -3
- package/dist/{ManageTermsOfServiceComponent-BW7zVYqn.js → ManageTermsOfServiceComponent-BhbLMdNx.js} +3 -3
- package/dist/{ManageTransferInstrumentComponent-DLzwUOIJ.js → ManageTransferInstrumentComponent-BPiWJOhY.js} +4 -4
- package/dist/{OnboardingDropinComponent-BdujMgc9.js → OnboardingDropinComponent-BVaYr5u1.js} +35 -37
- package/dist/{ProviderButton-fZ38Jziq.js → ProviderButton-BhJVIjNR.js} +2 -2
- package/dist/{Review-CFQ8GOgN.js → Review-C5hzFoFb.js} +3 -3
- package/dist/{RootBusinessDetailsPage-DRcBiW5N.js → RootBusinessDetailsPage-msInyOAG.js} +3 -3
- package/dist/{RootIndividualDetailsPage-BAH2gtoO.js → RootIndividualDetailsPage-DkzqPD70.js} +3 -3
- package/dist/{SignPCIComponent-CniDZa6e.js → SignPCIComponent-DGUa4ESJ.js} +5 -5
- package/dist/{SingpassSelection-tTUe5jkO.js → SingpassSelection-ChJWE7tg.js} +2 -2
- package/dist/{SoleProprietorshipPage-XQIiEcf8.js → SoleProprietorshipPage-Bkz3cuhd.js} +4 -4
- package/dist/{SourceOfFunds.module-harSUkaI.js → SourceOfFunds.module-D9RYIoX3.js} +2 -2
- package/dist/{SourceOfFundsPage-CAf4do23.js → SourceOfFundsPage-gHK01p0a.js} +26 -32
- package/dist/{StoreProvider-BKozHFpZ.js → StoreProvider-BPX6_P1w.js} +1986 -1937
- package/dist/{TaskItemStatus-Bml7f4lw.js → TaskItemStatus-Cja3jHef.js} +2 -2
- package/dist/{TaxReportingDropin-CjdDMLvN.js → TaxReportingDropin-EGclbYvF.js} +7 -7
- package/dist/{TileGroup-BVBuyW4s.js → TileGroup-D2oyZXRy.js} +2 -2
- package/dist/{TrustDetailsPage-D3j4a0sg.js → TrustDetailsPage-BjZh9pfZ.js} +23 -18
- package/dist/{TrustMemberCompanyPage-7O4O9IYz.js → TrustMemberCompanyPage-YzgDh_y0.js} +4 -4
- package/dist/{TrustMemberIndividualPage-C06qF9EL.js → TrustMemberIndividualPage-B08_52rA.js} +3 -3
- package/dist/{UnincorporatedPartnershipIndividualPage-DVvxtRMW.js → UnincorporatedPartnershipIndividualPage-DECzh_NU.js} +3 -3
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-D1t-ue59.js → UnincorporatedPartnershipMemberCompanyPage-CY5rfvMd.js} +3 -3
- package/dist/{VerificationErrorAlert-B-hbRot6.js → VerificationErrorAlert-BMxnbhxL.js} +1 -1
- package/dist/{ViewVerificationStatusComponent-CeejLiqF.js → ViewVerificationStatusComponent-MQ3YZjpk.js} +3 -3
- package/dist/adyen-business-financing.js +2 -2
- package/dist/adyen-individual.js +2 -2
- package/dist/adyen-kyc-components.js +16 -15
- package/dist/adyen-manage-individual.js +2 -2
- package/dist/adyen-manage-pci.js +2 -2
- package/dist/adyen-manage-terms-of-service.js +2 -2
- package/dist/adyen-manage-transfer-instruments.js +2 -2
- package/dist/adyen-onboarding.js +2 -2
- package/dist/adyen-sign-pci.js +2 -2
- package/dist/adyen-terms-of-service.js +2 -2
- package/dist/adyen-transfer-instrument.js +2 -2
- package/dist/adyen-verification-status.js +2 -2
- package/dist/{bg-BG-BV_GOHGg.js → bg-BG-COTwZXwN.js} +11 -5
- package/dist/{cs-CZ-CZDCUWRh.js → cs-CZ-DUlgJKVq.js} +11 -5
- package/dist/{css-B15khDJB.js → css-CCYsn1Bx.js} +1 -1
- package/dist/{da-DK-BmTgxKpq.js → da-DK-BDzDHhVR.js} +11 -5
- package/dist/{de-DE-DZeG8NVg.js → de-DE-DJdgXqS_.js} +10 -4
- package/dist/{el-GR-C3likHBP.js → el-GR-D5i9BNyh.js} +11 -5
- package/dist/{es-ES-DHhHHeU-.js → es-ES-VOSWszW5.js} +11 -5
- package/dist/{et-EE-CiD_oBu3.js → et-EE-Bp4Ngsn4.js} +10 -4
- package/dist/{fi-FI-DAZqSyjL.js → fi-FI-DaujOE-a.js} +10 -4
- package/dist/{fr-FR-vs5BYMWx.js → fr-FR-BdPZxk11.js} +11 -5
- package/dist/{getFieldsWithExistingData-CRdsVaPG.js → getFieldsWithExistingData-Df64vw7x.js} +2 -2
- package/dist/{hasDataChanged-DIZuuAUK.js → hasDataChanged-sUtN0Sjv.js} +1 -1
- package/dist/{hr-HR-CcaMvc2K.js → hr-HR-BY7C7NxY.js} +10 -4
- package/dist/{hu-HU-CzBd9g0P.js → hu-HU-DHCty-Tc.js} +11 -5
- package/dist/{it-IT-BXIdTOUw.js → it-IT-BMsuhZEQ.js} +11 -5
- package/dist/{ja-JP-CngmcMI-.js → ja-JP-BYDz1z2G.js} +10 -4
- package/dist/{json-vWqcRD4v.js → json-BYBI9iH_.js} +1 -1
- package/dist/{localizeDateString-BtNvTw2g.js → localizeDateString-CNlJ2Twp.js} +2 -2
- package/dist/{lt-LT-Dpyaroh2.js → lt-LT-DNJ9V9xV.js} +10 -4
- package/dist/{lv-LV-CCcm8aDW.js → lv-LV-CFJwN5wq.js} +11 -5
- package/dist/{mapFinancialReportsToFinancialInformation-Bmoq-7Y7.js → mapFinancialReportsToFinancialInformation-ByUX4IZt.js} +2 -2
- package/dist/{nl-NL-gYpP7VMA.js → nl-NL-DibAf790.js} +11 -5
- package/dist/{no-NO-nOXLv4rO.js → no-NO-DHCy5rXx.js} +11 -5
- package/dist/{pl-PL-Dwlwj1ob.js → pl-PL-eZBNH5HH.js} +11 -5
- package/dist/{plaintext-DIiKT1HU.js → plaintext-BuWLFFGU.js} +1 -1
- package/dist/{pt-PT-DbQbuaCm.js → pt-PT-CiN_Wmfe.js} +10 -4
- package/dist/{resolveEnvironment-C3jlXUDm.js → resolveEnvironment-CeEOE-Ml.js} +3 -3
- package/dist/{ro-RO-ZTuJtIop.js → ro-RO-CgyMTvLc.js} +10 -4
- package/dist/{rules-CLRua9ca.js → rules-BOvgh8q2.js} +12 -5
- package/dist/{sk-SK-Ba8jBCvr.js → sk-SK-B5qlQB_U.js} +10 -4
- package/dist/{sl-SI-DszG8wEm.js → sl-SI-8PPfrGzL.js} +10 -4
- package/dist/style.css +1818 -2569
- package/dist/styles-CLV89_hH.js +1819 -2570
- package/dist/{sv-SE-Fo7zzjiG.js → sv-SE-ZWLw6D3j.js} +11 -5
- package/dist/types/api/address/useAddressCleanse.d.ts +1 -1
- package/dist/types/api/configurations/useScenarios.d.ts +18 -12
- package/dist/types/api/createLegalEntity/useCreateLegalEntity.d.ts +11 -11
- package/dist/types/api/idNowProvider/idNowProvider.types.d.ts +7 -0
- package/dist/types/api/idNowProvider/useIdNowProvider.d.ts +14 -0
- package/dist/types/api/legalEntity/useLegalEntity.d.ts +285 -223
- package/dist/types/api/legalEntity/useUpdateLegalEntity.d.ts +11 -11
- package/dist/types/api/queryKeys.d.ts +2 -1
- package/dist/types/components/BankAccount/forms/BankDocument/BankDocument.d.ts +0 -1
- package/dist/types/components/BankAccount/forms/BankDocument/BankDocumentRequirements.d.ts +0 -1
- package/dist/types/components/BankAccount/forms/BankVerification/BankVerification.d.ts +2 -2
- package/dist/types/components/BankAccount/forms/PayoutAccount/CheckGuidance/CheckGuidance.d.ts +0 -1
- package/dist/types/components/BankAccount/forms/PayoutDetails/PayoutDetails.d.ts +0 -1
- package/dist/types/components/BankAccount/forms/PayoutDetails/rules.d.ts +5 -5
- package/dist/types/components/BankAccount/mapping/mapPayoutDocumentsToApiDocuments.d.ts +1 -1
- package/dist/types/components/BankAccount/mapping/payoutKeyMappings.d.ts +1919 -1919
- package/dist/types/components/BankAccount/utils/payoutAccountUtil.d.ts +1 -1
- package/dist/types/components/Business/forms/AdditionalInformation/utils.d.ts +1 -0
- package/dist/types/components/Business/forms/BusinessSelection/BusinessSelection.d.ts +1 -1
- package/dist/types/components/Business/forms/rules.d.ts +20 -18
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/businessDetailsStore.d.ts +2 -2
- package/dist/types/components/Contract/tasks/ServiceAgreementDropin/ServiceAgreementDropin.d.ts +0 -1
- package/dist/types/components/EFP/fields/LegalFormField/types.d.ts +1 -0
- package/dist/types/components/EFP/fields/NaceCodeField/types.d.ts +1 -0
- package/dist/types/components/EFP/mapping/businessFinancingKeyMappings.d.ts +2355 -24
- package/dist/types/components/EFP/mapping/mapBusinessFinancingToLegalEntity.d.ts +2 -2
- package/dist/types/components/EFP/mapping/mapLegalEntityToBusinessFinancing.d.ts +1 -2
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingBasicCompanyInformation.d.ts +5 -1
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingBusinessInformation.d.ts +10 -1
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingFinancialInformation.d.ts +11 -1
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingLegalInformation.d.ts +6 -1
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingOwnershipStructure.d.ts +7 -2
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingRegisteredAddress.d.ts +7 -1
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/types.d.ts +25 -110
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/utils.d.ts +16 -3
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/validate.d.ts +22 -0
- package/dist/types/components/EFP/tasks/SourceOfFundsDropin/sofStore.d.ts +1 -1
- package/dist/types/components/EFP/tasks/TaxReportingDropin/taxClassificationStore.d.ts +1 -1
- package/dist/types/components/EmbeddedDropins/BusinessFinancingComponent/utils.d.ts +3 -3
- package/dist/types/components/EmbeddedDropins/OnboardingDropinComponent/DropinComposer/DropinComposer.d.ts +1 -1
- package/dist/types/components/Individual/fields/DecisionMakerRole/NomineeDecisionMakerRole.d.ts +1 -1
- package/dist/types/components/Individual/fields/IdentityNumber/IdentityNumber.d.ts +1 -1
- package/dist/types/components/Individual/fields/LocalizedNameFields/LocalizedNameFields.d.ts +2 -2
- package/dist/types/components/Individual/fields/LocalizedNameFields/types.d.ts +9 -0
- package/dist/types/components/Individual/fields/NameFields/NameFields.d.ts +1 -1
- package/dist/types/components/Individual/forms/Individual/IdDocumentUpload/IdDocumentManualUpload.d.ts +1 -1
- package/dist/types/components/Individual/forms/Individual/IdDocumentUpload/types.d.ts +1 -1
- package/dist/types/components/Individual/forms/Individual/IdVerification/idVerificationProviderId.d.ts +1 -1
- package/dist/types/components/Individual/forms/Individual/IdVerificationMethod/IdVerificationMethod.d.ts +1 -1
- package/dist/types/components/Individual/forms/Individual/PersonalDetails/Identity/IdentityAu/IdentityAu.d.ts +1 -1
- package/dist/types/components/Individual/forms/Individual/PersonalDetails/Identity/IdentityHK/IdentityHK.d.ts +1 -1
- package/dist/types/components/Individual/forms/Individual/PersonalDetails/Identity/IdentityNZ/IdentityNZ.d.ts +1 -1
- package/dist/types/components/Individual/forms/Individual/PersonalDetails/Identity/identityUS/IdentityUS.d.ts +1 -1
- package/dist/types/components/Individual/forms/Individual/PersonalDetails/types.d.ts +4 -3
- package/dist/types/components/Individual/forms/Individual/rules.d.ts +31 -31
- package/dist/types/components/Individual/forms/Individual/types.d.ts +4 -4
- package/dist/types/components/Individual/forms/IndividualOnfido/AdditionalPersonalDetails/AdditionalPersonalDetails.d.ts +1 -1
- package/dist/types/components/Individual/forms/IndividualOnfido/AdditionalPersonalDetails/Identity/Identity.d.ts +1 -1
- package/dist/types/components/Individual/forms/IndividualOnfido/BasicDetails/BasicDetails.d.ts +1 -1
- package/dist/types/components/Individual/forms/IndividualOnfido/BasicDetails/BasicDetails.types.d.ts +2 -1
- package/dist/types/components/Individual/forms/IndividualOnfido/DataConflictsModal/ConflictRow.d.ts +1 -1
- package/dist/types/components/Individual/forms/IndividualOnfido/IndividualOnfido.rules.d.ts +34 -32
- package/dist/types/components/Individual/forms/IndividualOnfido/SignatoryQuestionnaire/SignatoryQuestionnaire.d.ts +1 -1
- package/dist/types/components/Individual/forms/IndividualOnfido/UboQuestionnaire/RichText.d.ts +1 -1
- package/dist/types/components/Individual/forms/IndividualOnfido/UboQuestionnaire/UboQuestionnaire.d.ts +1 -1
- package/dist/types/components/Individual/forms/IndividualOnfido/UboQuestionnaire/UboQuestionnaire.types.d.ts +2 -0
- package/dist/types/components/Individual/forms/IndividualOnfido/UboQuestionnaire/UboQuestionnaireModalContent.d.ts +1 -1
- package/dist/types/components/Individual/helpers/shouldShowMotionCapture.d.ts +2 -2
- package/dist/types/components/Individual/mapping/individualOnfidoKeyMappings.d.ts +0 -1
- package/dist/types/components/Individual/mapping/mapIndividualOnfidoSchemaToLegalEntity.d.ts +3 -1
- package/dist/types/components/Individual/mapping/mapLocalization.d.ts +2 -2
- package/dist/types/components/Shared/Summary/summaryItem.d.ts +1 -1
- package/dist/types/components/Shared/Summary/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/IdFieldTypeSelector/CompanyRegistrationNumberTypeSelector.d.ts +1 -1
- package/dist/types/components/Shared/fields/IdFieldTypeSelector/IndividualIdNumberTypeSelector.d.ts +1 -1
- package/dist/types/components/Shared/fields/IdFieldTypeSelector/TaxIdNumberTypeSelector.d.ts +1 -1
- package/dist/types/components/Shared/fields/IdFieldTypeSelector/VatNumberTypeSelector.d.ts +1 -1
- package/dist/types/components/Shared/fields/IdFieldTypeSelector/countryIdNumberTypes.d.ts +9 -0
- package/dist/types/components/Shared/fields/Name/Name.d.ts +1 -1
- package/dist/types/components/Shared/fields/StateField/StateField.d.ts +1 -1
- package/dist/types/components/Shared/forms/Address/AddressField.d.ts +1 -1
- package/dist/types/components/Shared/forms/Address/utils.d.ts +2 -2
- package/dist/types/components/Shared/forms/BusinessTypeSelection/utils.d.ts +5 -5
- package/dist/types/components/Shared/forms/ContactDetails/ContactDetails.d.ts +1 -1
- package/dist/types/components/Shared/forms/FinancialInformation/validate.d.ts +1 -0
- package/dist/types/components/Shared/tasks/TaskList/utils.d.ts +1 -1
- package/dist/types/components/Trust/forms/Trust/Trust.d.ts +19 -3
- package/dist/types/components/Trust/forms/Trust/rules.d.ts +5 -5
- package/dist/types/components/Trust/hooks/useTrustMemberNavigation.hook.d.ts +14 -14
- package/dist/types/components/Trust/mapping/mapTrustDocumentToApiDocument.d.ts +1 -1
- package/dist/types/components/Trust/utils/trustUtil.d.ts +1 -1
- package/dist/types/components/UnincorporatedPartnership/hooks/useUnincorporatedPartnershipNavigation.d.ts +2 -2
- package/dist/types/components/UnincorporatedPartnership/utils/unincorporatedParnershipUtil.d.ts +1 -1
- package/dist/types/components/ui/atoms/ActionsMenu/ActionsMenu.d.ts +1 -1
- package/dist/types/components/ui/atoms/FormHeader/FormHeader.d.ts +1 -1
- package/dist/types/components/ui/atoms/InputBase/InputBase.d.ts +1 -1
- package/dist/types/components/ui/atoms/Svg/Svg.d.ts +1 -1
- package/dist/types/components/ui/atoms/TaskStatusIndicator/TaskStatusIndicator.d.ts +1 -1
- package/dist/types/components/ui/molecules/Alert/Alert.d.ts +1 -1
- package/dist/types/components/ui/molecules/Confirm/Confirm.d.ts +1 -1
- package/dist/types/components/ui/molecules/Confirm/Confirm.types.d.ts +1 -0
- package/dist/types/components/ui/molecules/Dropzone/Dropzone.d.ts +2 -1
- package/dist/types/components/ui/molecules/ErrorPanel/ErrorPanel.d.ts +1 -1
- package/dist/types/components/ui/molecules/ErrorPanel/VerificationErrors.d.ts +2 -1
- package/dist/types/components/ui/molecules/ErrorPanel/types.d.ts +1 -1
- package/dist/types/components/ui/molecules/InputEmail/InputEmail.d.ts +1 -1
- package/dist/types/components/ui/molecules/InputTelephone/InputTelephone.d.ts +1 -1
- package/dist/types/components/ui/molecules/InputText/InputText.d.ts +1 -1
- package/dist/types/context/ExperimentContext/types.d.ts +2 -1
- package/dist/types/context/FormContext/FormContext.d.ts +1 -1
- package/dist/types/context/FormRouterContext/FormRouterContext.d.ts +1 -1
- package/dist/types/context/SettingsContext/SettingsContext.d.ts +1 -1
- package/dist/types/context/StateContext/StateContext.d.ts +1 -1
- package/dist/types/context/StateContext/StateContextSetter.d.ts +1 -1
- package/dist/types/context/StateContext/StateReducer.d.ts +4 -10
- package/dist/types/context/StateContext/types.d.ts +19 -16
- package/dist/types/context/StateContext/useGlobalData.d.ts +2 -2
- package/dist/types/core/EmbedShell/EmbedShell.d.ts +1 -1
- package/dist/types/core/UIElement/UIElement.d.ts +1 -1
- package/dist/types/core/analytics.d.ts +10 -10
- package/dist/types/core/environment/resolveEnvironment.d.ts +1 -1
- package/dist/types/core/error.d.ts +1 -1
- package/dist/types/core/models/api/get-scenarios.d.ts +2 -1
- package/dist/types/core/models/api/legal-entity-association.d.ts +5 -0
- package/dist/types/core/process-field-configurations.d.ts +5 -5
- package/dist/types/core/user-events.d.ts +3 -1
- package/dist/types/datasets/generators/getBusinessTypeExamplesForCountry.d.ts +1 -1
- package/dist/types/datasets/generators/getCompanyTypeExamplesForCountry.d.ts +1 -1
- package/dist/types/datasets/generators/getLegalArrangementTypeExamplesForCountry.d.ts +1 -1
- package/dist/types/hooks/introduction/useIntroductionScreens.d.ts +1 -1
- package/dist/types/hooks/singpass/useSingpassMyInfoLogin.d.ts +1 -1
- package/dist/types/hooks/useForm/types.d.ts +8 -10
- package/dist/types/stores/globalStore/globalStore.d.ts +1 -1
- package/dist/types/types/errors/maintenance-mode-error.d.ts +1 -1
- package/dist/types/utils/api/processCapabilitites.d.ts +1 -2
- package/dist/types/utils/api/processValidationErrors.d.ts +1 -1
- package/dist/types/utils/birthDateUtils.d.ts +2 -2
- package/dist/types/utils/entityAssociationUtil.d.ts +1 -1
- package/dist/types/utils/entityStatusUtil.d.ts +1 -1
- package/dist/types/utils/mapping/utils.d.ts +7 -10
- package/dist/types/utils/omitObscuredFieldsIfUnchanged.d.ts +1 -1
- package/dist/types/utils/trackNavigation.d.ts +1 -2
- package/dist/types/utils/validation/validationResult.d.ts +1 -1
- package/dist/types/utils/validatorUtils.d.ts +2 -2
- package/dist/{useMultiForm-D71BNX3_.js → useMultiForm-CZt22ApL.js} +2 -2
- package/dist/{useOnboardingStatus-BV--B40v.js → useOnboardingStatus-DUpCpEX5.js} +1 -1
- package/dist/{useSalesChannelsSettings-BwuUhMos.js → useSalesChannelsSettings-7_LCHKOD.js} +1 -1
- package/dist/{useTermsOfServiceStatus-C15g4fgt.js → useTermsOfServiceStatus-XQrO9fJx.js} +1 -1
- package/dist/{useUpdateLegalEntity-C3NqXeSV.js → useUpdateLegalEntity-n02Bk4nJ.js} +2 -2
- package/dist/{utils-Bsnv57KH.js → utils-0EQ0eKAn.js} +4 -4
- package/dist/validate-CuwYJGc9.js +94 -0
- package/dist/{validate-DQVEQmY1.js → validate-DVNNANhX.js} +2 -2
- package/dist/{yaml-BciqVWTm.js → yaml-Ca7Tl3w_.js} +1 -1
- package/package.json +31 -31
- package/dist/ContractViewer-B0JHWjiv.js +0 -980
- package/dist/individualFormConfig-CpUtuNx3.js +0 -183
- package/dist/validate-CVbv6Ajk.js +0 -245
|
@@ -1,183 +0,0 @@
|
|
|
1
|
-
;
|
|
2
|
-
{
|
|
3
|
-
try {
|
|
4
|
-
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "7869ab09-b558-4756-8589-dfd27769d983", e._sentryDebugIdIdentifier = "sentry-dbid-7869ab09-b558-4756-8589-dfd27769d983");
|
|
6
|
-
} catch (e) {
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
;
|
|
10
|
-
import { cW as drop } from "./StoreProvider-BKozHFpZ.js";
|
|
11
|
-
const identityBase = {
|
|
12
|
-
role: {
|
|
13
|
-
rule: "requiredIfDecisionMakerTask"
|
|
14
|
-
},
|
|
15
|
-
firstName: {
|
|
16
|
-
rule: "REQUIRED"
|
|
17
|
-
},
|
|
18
|
-
lastName: {
|
|
19
|
-
rule: "REQUIRED"
|
|
20
|
-
},
|
|
21
|
-
birthDate: {
|
|
22
|
-
rule: "REQUIRED"
|
|
23
|
-
},
|
|
24
|
-
phoneNumber: {
|
|
25
|
-
rules: ["requiredIfPhoneScenarioDisabled", "contactsIfRequiredForRole"]
|
|
26
|
-
},
|
|
27
|
-
email: {
|
|
28
|
-
rule: "contactsIfRequiredForRole"
|
|
29
|
-
},
|
|
30
|
-
jobTitle: {
|
|
31
|
-
rule: "jobTitleIfRequiredForRole"
|
|
32
|
-
},
|
|
33
|
-
nationality: {
|
|
34
|
-
rule: "nationalityIfRequiredForRole"
|
|
35
|
-
},
|
|
36
|
-
address: {
|
|
37
|
-
rule: "addressIfRequiredForCountry"
|
|
38
|
-
},
|
|
39
|
-
otherAddressInformation: {
|
|
40
|
-
rule: "otherAddressInfoIfRequiredForCountry"
|
|
41
|
-
},
|
|
42
|
-
country: {
|
|
43
|
-
rule: "REQUIRED"
|
|
44
|
-
},
|
|
45
|
-
postalCode: {
|
|
46
|
-
rule: "postalCodeIfRequiredForCountry"
|
|
47
|
-
},
|
|
48
|
-
city: {
|
|
49
|
-
rule: "cityIfRequiredForCountry"
|
|
50
|
-
},
|
|
51
|
-
stateOrProvince: {
|
|
52
|
-
rule: "stateOrProvinceIfRequiredForCountry"
|
|
53
|
-
},
|
|
54
|
-
residencyCountry: {
|
|
55
|
-
rule: "REQUIRED"
|
|
56
|
-
},
|
|
57
|
-
proofOfResidency: {
|
|
58
|
-
rule: "isProofOfResidencyRequired"
|
|
59
|
-
},
|
|
60
|
-
proofOfNationalId: {
|
|
61
|
-
rule: "isProofOfNationalIdRequired"
|
|
62
|
-
},
|
|
63
|
-
relationship: {
|
|
64
|
-
rule: "legalRepresentativeRelationshipRequired"
|
|
65
|
-
},
|
|
66
|
-
proofOfRelationship: {
|
|
67
|
-
rule: "isProofOfRelationshipRequired"
|
|
68
|
-
},
|
|
69
|
-
nomineeDirector: {
|
|
70
|
-
rule: "nomineeDirectorRequiredForCountry"
|
|
71
|
-
},
|
|
72
|
-
nomineeShareholder: {
|
|
73
|
-
rule: "nomineeShareHolderRequiredForCountry"
|
|
74
|
-
},
|
|
75
|
-
jaHaniFirstName: {
|
|
76
|
-
rule: "japaneseFirstAndLastNames"
|
|
77
|
-
},
|
|
78
|
-
jaHaniLastName: {
|
|
79
|
-
rule: "japaneseFirstAndLastNames"
|
|
80
|
-
},
|
|
81
|
-
jaKanaFirstName: {
|
|
82
|
-
rule: "japaneseFirstAndLastNames"
|
|
83
|
-
},
|
|
84
|
-
jaKanaLastName: {
|
|
85
|
-
rule: "japaneseFirstAndLastNames"
|
|
86
|
-
},
|
|
87
|
-
idDocumentType: {
|
|
88
|
-
// If the user has a missing ID error and chooses manual flow
|
|
89
|
-
rule: "isManualIdFlowAndHasMissingData"
|
|
90
|
-
}
|
|
91
|
-
};
|
|
92
|
-
const identityNumber = {
|
|
93
|
-
idNumber: {
|
|
94
|
-
rule: "idNumberRules",
|
|
95
|
-
obscured: true
|
|
96
|
-
},
|
|
97
|
-
idNumberExempt: {
|
|
98
|
-
rules: ["idNumberExemptIfApplicableCountry", "isDirectorIdNumberRequiredForCountry"]
|
|
99
|
-
},
|
|
100
|
-
idDocumentType: {
|
|
101
|
-
rule: "manualIdDocumentRequired"
|
|
102
|
-
},
|
|
103
|
-
idFrontPage: {
|
|
104
|
-
rule: "idFrontPageIfManualUpload"
|
|
105
|
-
},
|
|
106
|
-
idBackPage: {
|
|
107
|
-
rule: "backPageIfRequiredForDocumentType"
|
|
108
|
-
},
|
|
109
|
-
idVerificationMethod: {
|
|
110
|
-
rule: "idVerificationRequired"
|
|
111
|
-
},
|
|
112
|
-
instantIdVerificationData: {
|
|
113
|
-
rule: "instantVerificationDataRule"
|
|
114
|
-
}
|
|
115
|
-
};
|
|
116
|
-
const additionalIdentityInfo = {
|
|
117
|
-
typeOfIdentity: {
|
|
118
|
-
rules: ["requiredIfCountryUsesMultipleTypesOfIdentity", "isDirectorIdNumberRequiredForCountry"]
|
|
119
|
-
},
|
|
120
|
-
issuerState: {
|
|
121
|
-
rule: "issuerStateRequired"
|
|
122
|
-
},
|
|
123
|
-
licenseCardNumber: {
|
|
124
|
-
rule: "licenseCardNumberRules"
|
|
125
|
-
},
|
|
126
|
-
expiryDate: {
|
|
127
|
-
rule: "expiryDateRequired"
|
|
128
|
-
}
|
|
129
|
-
};
|
|
130
|
-
const idDocument = {
|
|
131
|
-
idVerificationMethod: {
|
|
132
|
-
rule: "REQUIRED"
|
|
133
|
-
},
|
|
134
|
-
idDocumentType: {
|
|
135
|
-
rule: "REQUIRED"
|
|
136
|
-
},
|
|
137
|
-
idFrontPage: {
|
|
138
|
-
rule: "idFrontPageIfManualUpload"
|
|
139
|
-
},
|
|
140
|
-
idBackPage: {
|
|
141
|
-
rule: "backPageIfRequiredForDocumentType"
|
|
142
|
-
}
|
|
143
|
-
};
|
|
144
|
-
const nationality = {
|
|
145
|
-
nationality: {
|
|
146
|
-
rule: "REQUIRED"
|
|
147
|
-
}
|
|
148
|
-
};
|
|
149
|
-
const phoneNumberBase = {
|
|
150
|
-
phoneNumber: {
|
|
151
|
-
rule: "contactsIfRequiredForRole"
|
|
152
|
-
}
|
|
153
|
-
};
|
|
154
|
-
const taxInformationBase = {
|
|
155
|
-
taxInformation: { rule: "countryUsesTaxId" }
|
|
156
|
-
};
|
|
157
|
-
const fieldsPerScenario = {
|
|
158
|
-
L0: drop("address", "birthDate").from(identityBase),
|
|
159
|
-
L1: identityBase,
|
|
160
|
-
L_TAXINFO: { ...identityBase, ...taxInformationBase },
|
|
161
|
-
L1_ID: {
|
|
162
|
-
...identityBase,
|
|
163
|
-
...identityNumber,
|
|
164
|
-
...additionalIdentityInfo
|
|
165
|
-
},
|
|
166
|
-
L1_IDO: {
|
|
167
|
-
// TODO: change idNumber rule to optional once optional fields are implemented
|
|
168
|
-
...identityBase,
|
|
169
|
-
...identityNumber,
|
|
170
|
-
...additionalIdentityInfo
|
|
171
|
-
},
|
|
172
|
-
L1_NAT: {
|
|
173
|
-
...identityBase,
|
|
174
|
-
...identityNumber,
|
|
175
|
-
...additionalIdentityInfo,
|
|
176
|
-
...nationality
|
|
177
|
-
},
|
|
178
|
-
L1_IDDOC: idDocument,
|
|
179
|
-
L_PH: phoneNumberBase
|
|
180
|
-
};
|
|
181
|
-
export {
|
|
182
|
-
fieldsPerScenario as f
|
|
183
|
-
};
|
|
@@ -1,245 +0,0 @@
|
|
|
1
|
-
;
|
|
2
|
-
{
|
|
3
|
-
try {
|
|
4
|
-
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "c1b388f1-ca61-49bb-ae2d-59834d3112c6", e._sentryDebugIdIdentifier = "sentry-dbid-c1b388f1-ca61-49bb-ae2d-59834d3112c6");
|
|
6
|
-
} catch (e) {
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
;
|
|
10
|
-
import { ao as isEmpty } from "./StoreProvider-BKozHFpZ.js";
|
|
11
|
-
const validateLegalEntityIdentifier = (legalEntityIdentifier) => {
|
|
12
|
-
if (!legalEntityIdentifier) {
|
|
13
|
-
return true;
|
|
14
|
-
}
|
|
15
|
-
const isValidLength = legalEntityIdentifier ? legalEntityIdentifier.length === 20 : false;
|
|
16
|
-
const hasLettersAndNumbers = legalEntityIdentifier ? /[a-zA-Z]/.test(legalEntityIdentifier) && /[0-9]/.test(legalEntityIdentifier) : false;
|
|
17
|
-
return isValidLength && hasLettersAndNumbers;
|
|
18
|
-
};
|
|
19
|
-
const validateDateNotInTheFuture = (selectedDate) => {
|
|
20
|
-
if (!selectedDate) return true;
|
|
21
|
-
return new Date(selectedDate) <= /* @__PURE__ */ new Date();
|
|
22
|
-
};
|
|
23
|
-
const businessFinancingCompanyDetailsValidations = {
|
|
24
|
-
legalForm: {
|
|
25
|
-
modes: ["blur"],
|
|
26
|
-
validate: (legalName) => !isEmpty(legalName),
|
|
27
|
-
errorMessage: "fieldIsRequired"
|
|
28
|
-
},
|
|
29
|
-
numberOfEmployees: [
|
|
30
|
-
{
|
|
31
|
-
modes: ["blur"],
|
|
32
|
-
validate: (numberOfEmployees) => !isEmpty(numberOfEmployees),
|
|
33
|
-
errorMessage: "fieldIsRequired"
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
modes: ["blur"],
|
|
37
|
-
validate: (numberOfEmployees) => Number.isInteger(Number(numberOfEmployees)),
|
|
38
|
-
errorMessage: "pleaseEnterAValidWholeNumber"
|
|
39
|
-
}
|
|
40
|
-
],
|
|
41
|
-
legalInformationInsolvency: {
|
|
42
|
-
modes: ["blur"],
|
|
43
|
-
validate: (legalInformationInsolvency) => !isEmpty(legalInformationInsolvency),
|
|
44
|
-
errorMessage: "fieldIsRequired"
|
|
45
|
-
},
|
|
46
|
-
netAssets: [
|
|
47
|
-
{
|
|
48
|
-
modes: ["blur"],
|
|
49
|
-
validate: (value) => !isEmpty(value),
|
|
50
|
-
errorMessage: "fieldIsRequired"
|
|
51
|
-
},
|
|
52
|
-
{
|
|
53
|
-
modes: ["blur"],
|
|
54
|
-
validate: (value) => !Number.isNaN(Number(value)),
|
|
55
|
-
errorMessage: "pleaseEnterAValidNumber"
|
|
56
|
-
}
|
|
57
|
-
],
|
|
58
|
-
currency: {
|
|
59
|
-
modes: ["input"],
|
|
60
|
-
validate: (value) => !isEmpty(value),
|
|
61
|
-
errorMessage: "fieldIsRequired"
|
|
62
|
-
},
|
|
63
|
-
annualTurnover: [
|
|
64
|
-
{
|
|
65
|
-
modes: ["blur"],
|
|
66
|
-
validate: (value) => !isEmpty(value),
|
|
67
|
-
errorMessage: "fieldIsRequired"
|
|
68
|
-
},
|
|
69
|
-
{
|
|
70
|
-
modes: ["blur"],
|
|
71
|
-
validate: (value) => !Number.isNaN(Number(value)),
|
|
72
|
-
errorMessage: "pleaseEnterAValidNumber"
|
|
73
|
-
}
|
|
74
|
-
],
|
|
75
|
-
financialReportingDate: [
|
|
76
|
-
{
|
|
77
|
-
modes: ["blur"],
|
|
78
|
-
validate: (value) => !isEmpty(value),
|
|
79
|
-
errorMessage: "fieldIsRequired"
|
|
80
|
-
},
|
|
81
|
-
{
|
|
82
|
-
modes: ["blur"],
|
|
83
|
-
validate: (value) => validateDateNotInTheFuture(value),
|
|
84
|
-
errorMessage: "dateCannotBeInTheFuture"
|
|
85
|
-
}
|
|
86
|
-
],
|
|
87
|
-
naceCode: {
|
|
88
|
-
modes: ["blur"],
|
|
89
|
-
validate: (naceCode) => !isEmpty(naceCode),
|
|
90
|
-
errorMessage: "fieldIsRequired"
|
|
91
|
-
},
|
|
92
|
-
doesYourCompanyHaveLEI: {
|
|
93
|
-
modes: ["blur"],
|
|
94
|
-
validate: (doesYourCompanyHaveLEI) => !isEmpty(doesYourCompanyHaveLEI),
|
|
95
|
-
errorMessage: "fieldIsRequired"
|
|
96
|
-
},
|
|
97
|
-
legalEntityIdentifier: [
|
|
98
|
-
{
|
|
99
|
-
modes: ["blur"],
|
|
100
|
-
validate: (legalEntityIdentifier) => !isEmpty(legalEntityIdentifier),
|
|
101
|
-
errorMessage: "fieldIsRequired"
|
|
102
|
-
},
|
|
103
|
-
{
|
|
104
|
-
modes: ["blur"],
|
|
105
|
-
validate: (legalEntityIdentifier) => validateLegalEntityIdentifier(legalEntityIdentifier),
|
|
106
|
-
errorMessage: "invalidFormat"
|
|
107
|
-
}
|
|
108
|
-
],
|
|
109
|
-
isCompanyOwnedByAnotherCompany: {
|
|
110
|
-
modes: ["blur"],
|
|
111
|
-
validate: (isCompanyOwnedByAnotherCompany) => !isEmpty(isCompanyOwnedByAnotherCompany),
|
|
112
|
-
errorMessage: "fieldIsRequired"
|
|
113
|
-
},
|
|
114
|
-
isParentOwnedByAnotherCompany: {
|
|
115
|
-
modes: ["blur"],
|
|
116
|
-
validate: (isParentOwnedByAnotherCompany) => !isEmpty(isParentOwnedByAnotherCompany),
|
|
117
|
-
errorMessage: "fieldIsRequired"
|
|
118
|
-
},
|
|
119
|
-
legalProceedingsDate: [
|
|
120
|
-
{
|
|
121
|
-
modes: ["blur"],
|
|
122
|
-
validate: (legalProceedingsDate) => !isEmpty(legalProceedingsDate),
|
|
123
|
-
errorMessage: "fieldIsRequired"
|
|
124
|
-
},
|
|
125
|
-
{
|
|
126
|
-
modes: ["blur"],
|
|
127
|
-
validate: (value) => validateDateNotInTheFuture(value),
|
|
128
|
-
errorMessage: "dateCannotBeInTheFuture"
|
|
129
|
-
}
|
|
130
|
-
]
|
|
131
|
-
};
|
|
132
|
-
const businessFinancingParentCompanyDetailsValidations = {
|
|
133
|
-
legalForm: {
|
|
134
|
-
modes: ["blur"],
|
|
135
|
-
validate: (legalName) => !isEmpty(legalName),
|
|
136
|
-
errorMessage: "fieldIsRequired"
|
|
137
|
-
},
|
|
138
|
-
legalName: {
|
|
139
|
-
modes: ["blur"],
|
|
140
|
-
validate: (legalName) => !isEmpty(legalName),
|
|
141
|
-
errorMessage: "fieldIsRequired"
|
|
142
|
-
},
|
|
143
|
-
numberOfEmployees: [
|
|
144
|
-
{
|
|
145
|
-
modes: ["blur"],
|
|
146
|
-
validate: (numberOfEmployees) => !isEmpty(numberOfEmployees),
|
|
147
|
-
errorMessage: "fieldIsRequired"
|
|
148
|
-
},
|
|
149
|
-
{
|
|
150
|
-
modes: ["blur"],
|
|
151
|
-
validate: (numberOfEmployees) => Number.isInteger(Number(numberOfEmployees)),
|
|
152
|
-
errorMessage: "pleaseEnterAValidWholeNumber"
|
|
153
|
-
}
|
|
154
|
-
],
|
|
155
|
-
naceCode: {
|
|
156
|
-
modes: ["blur"],
|
|
157
|
-
validate: (naceCode) => !isEmpty(naceCode),
|
|
158
|
-
errorMessage: "fieldIsRequired"
|
|
159
|
-
},
|
|
160
|
-
doesYourCompanyHaveLEI: {
|
|
161
|
-
modes: ["blur"],
|
|
162
|
-
validate: (doesYourCompanyHaveLEI) => !isEmpty(doesYourCompanyHaveLEI),
|
|
163
|
-
errorMessage: "fieldIsRequired"
|
|
164
|
-
},
|
|
165
|
-
legalEntityIdentifier: [
|
|
166
|
-
{
|
|
167
|
-
modes: ["blur"],
|
|
168
|
-
validate: (legalEntityIdentifier) => !isEmpty(legalEntityIdentifier),
|
|
169
|
-
errorMessage: "fieldIsRequired"
|
|
170
|
-
},
|
|
171
|
-
{
|
|
172
|
-
modes: ["blur"],
|
|
173
|
-
validate: (legalEntityIdentifier) => validateLegalEntityIdentifier(legalEntityIdentifier),
|
|
174
|
-
errorMessage: "invalidFormat"
|
|
175
|
-
}
|
|
176
|
-
],
|
|
177
|
-
isThisAddressTheMainHeadquarters: {
|
|
178
|
-
modes: ["blur"],
|
|
179
|
-
validate: (isThisAddressTheMainHeadquarters) => !isEmpty(isThisAddressTheMainHeadquarters),
|
|
180
|
-
errorMessage: "fieldIsRequired"
|
|
181
|
-
},
|
|
182
|
-
legalInformationInsolvency: {
|
|
183
|
-
modes: ["blur"],
|
|
184
|
-
validate: (value) => !isEmpty(value),
|
|
185
|
-
errorMessage: "fieldIsRequired"
|
|
186
|
-
},
|
|
187
|
-
netAssets: [
|
|
188
|
-
{
|
|
189
|
-
modes: ["blur"],
|
|
190
|
-
validate: (value) => !isEmpty(value),
|
|
191
|
-
errorMessage: "fieldIsRequired"
|
|
192
|
-
},
|
|
193
|
-
{
|
|
194
|
-
modes: ["blur"],
|
|
195
|
-
validate: (value) => !Number.isNaN(Number(value)),
|
|
196
|
-
errorMessage: "pleaseEnterAValidNumber"
|
|
197
|
-
}
|
|
198
|
-
],
|
|
199
|
-
currency: {
|
|
200
|
-
modes: ["input"],
|
|
201
|
-
validate: (value) => !isEmpty(value),
|
|
202
|
-
errorMessage: "fieldIsRequired"
|
|
203
|
-
},
|
|
204
|
-
annualTurnover: [
|
|
205
|
-
{
|
|
206
|
-
modes: ["blur"],
|
|
207
|
-
validate: (value) => !isEmpty(value),
|
|
208
|
-
errorMessage: "fieldIsRequired"
|
|
209
|
-
},
|
|
210
|
-
{
|
|
211
|
-
modes: ["blur"],
|
|
212
|
-
validate: (value) => !Number.isNaN(Number(value)),
|
|
213
|
-
errorMessage: "pleaseEnterAValidNumber"
|
|
214
|
-
}
|
|
215
|
-
],
|
|
216
|
-
financialReportingDate: [
|
|
217
|
-
{
|
|
218
|
-
modes: ["blur"],
|
|
219
|
-
validate: (value) => !isEmpty(value),
|
|
220
|
-
errorMessage: "fieldIsRequired"
|
|
221
|
-
},
|
|
222
|
-
{
|
|
223
|
-
modes: ["blur"],
|
|
224
|
-
validate: (value) => validateDateNotInTheFuture(value),
|
|
225
|
-
errorMessage: "dateCannotBeInTheFuture"
|
|
226
|
-
}
|
|
227
|
-
],
|
|
228
|
-
legalProceedingsDate: [
|
|
229
|
-
{
|
|
230
|
-
modes: ["blur"],
|
|
231
|
-
validate: (legalProceedingsDate) => !isEmpty(legalProceedingsDate),
|
|
232
|
-
errorMessage: "fieldIsRequired"
|
|
233
|
-
},
|
|
234
|
-
{
|
|
235
|
-
modes: ["blur"],
|
|
236
|
-
validate: (legalProceedingsDate) => validateDateNotInTheFuture(legalProceedingsDate),
|
|
237
|
-
errorMessage: "dateCannotBeInTheFuture"
|
|
238
|
-
}
|
|
239
|
-
]
|
|
240
|
-
};
|
|
241
|
-
export {
|
|
242
|
-
businessFinancingParentCompanyDetailsValidations as a,
|
|
243
|
-
businessFinancingCompanyDetailsValidations as b,
|
|
244
|
-
validateDateNotInTheFuture as v
|
|
245
|
-
};
|