@adyen/kyc-components 3.92.1 → 3.93.0-beta.2
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-Cc5TwxYd.js → AcceptTermsOfServiceComponent-B4fXz2Mj.js} +17 -16
- package/dist/{Accordion-CAqKHAj9.js → Accordion-B9ASz7oD.js} +2 -2
- package/dist/{AccountSetupRejected-C9FCwunF.js → AccountSetupRejected-BsYzF0XW.js} +3 -3
- package/dist/{ActionBar-C1rqfjkV.js → ActionBar-Gbat0LF-.js} +1 -1
- package/dist/{Address-C8Kqz-2b.js → Address-Bu9zOvAM.js} +15 -15
- package/dist/{Alert-E_a_csSs.js → Alert-0L9Okc_j.js} +3 -3
- package/dist/{Avatar-wQ0mYsYL.js → Avatar-C2jFofpv.js} +2 -2
- package/dist/{BusinessFinancingComponent-ReMZLbjX.js → BusinessFinancingComponent-C12Xnx_y.js} +5 -5
- package/dist/{BusinessFinancingDropin-DtSERjsb.js → BusinessFinancingDropin-BYwivstT.js} +29 -28
- package/dist/{BusinessFinancingPage-DqSCsrPJ.js → BusinessFinancingPage-CUeLDq8J.js} +4 -4
- package/dist/{BusinessTypeSelectionPage-zzDSHomI.js → BusinessTypeSelectionPage-BQ1yBBhx.js} +9 -9
- package/dist/Card-OQuFzmxm.js +90 -0
- package/dist/{Checkbox-Bp4HrJKI.js → Checkbox-DBN0bHrR.js} +2 -2
- package/dist/{Confirm-Ba5lqFqd.js → Confirm-DvCDgyAD.js} +3 -3
- package/dist/{ConstitutionalDocument-DD5CB7gM.js → ConstitutionalDocument-BXepv2HE.js} +18 -18
- package/dist/{validate-CIuB6JUT.js → ContactDetails-D84L456z.js} +21 -20
- package/dist/{ContextGuidance-aACh9e6u.js → ContextGuidance-CyvagjSm.js} +3 -3
- package/dist/{CountryField-B0daMnwW.js → CountryField-DelOJ_90.js} +4 -4
- package/dist/{CreateIndividualComponent-pLTW4M3J.js → CreateIndividualComponent-B56tad3f.js} +6 -12
- package/dist/{CreateTransferInstrumentComponent-DlSD28ga.js → CreateTransferInstrumentComponent-DAIYbzea.js} +4 -4
- package/dist/{Currency-DXgu9MoR.js → Currency-DARtu8dS.js} +11 -8
- package/dist/{CustomerSupport-eNBxns8l.js → CustomerSupport-HpsRjJyl.js} +12 -11
- package/dist/{DebugModal-jvulkSEe.js → DebugModal-DEYa0E-D.js} +12 -10
- package/dist/{DecisionMakerDetailsPage-IV32QvAq.js → DecisionMakerDetailsPage-CmvZWgoB.js} +12 -18
- package/dist/{DecisionMakers-CNxYaQOO.js → DecisionMakers-eOsvlawr.js} +21 -22
- package/dist/{Dropzone-CJTj99Jm.js → Dropzone-BgrGUcIm.js} +16 -10
- package/dist/{EmbeddedStatus-BytQYrC_.js → EmbeddedStatus-CGIXkUXu.js} +3 -3
- package/dist/{EndStateLayout-DlvjAj-7.js → EndStateLayout-DhaJTPGG.js} +2 -2
- package/dist/EntityAssociation-oAuDZDjG.js +166 -0
- package/dist/{EntityGuidanceStatus-D9aXAd7N.js → EntityGuidanceStatus-BfJcqJTt.js} +3 -3
- package/dist/{ErrorPanel-DNtK56tD.js → ErrorPanel-CQ5mK5uz.js} +3 -3
- package/dist/{Field-BEoeMy3u.js → Field-QQ5BBCkn.js} +2 -3
- package/dist/{FormNavigation-Ci1LhKvo.js → FormNavigation-Cl5fnGKp.js} +3 -3
- package/dist/{FormWrapper-BCkcULLO.js → FormWrapper-BXCADDZ_.js} +9 -9
- package/dist/{Header-87H731cQ.js → Header-DVxe8YCk.js} +2 -2
- package/dist/{Image-Dv-RB-a6.js → Image-D2r8auP6.js} +4 -9
- package/dist/{rules-CovTg5rc.js → Individual.rules-nvOffGHU.js} +165 -117
- package/dist/{IndividualOnfidoDropin-HK_0jjJH.js → IndividualDropin-Ou29J7Dx.js} +1188 -3959
- package/dist/{InputDate-BcSMepXz.js → InputDate-DplEveci.js} +1 -1
- package/dist/{InputText-D0zIJLdp.js → InputText-V4X24bPM.js} +2 -2
- package/dist/{Introduction-D_Zv9G9d.js → Introduction-kVYYqDhe.js} +4 -4
- package/dist/{JpAddress-C0Q47X_G.js → JpAddress-BKT0w3jl.js} +11 -10
- package/dist/{LandingLayout-oK1JT5Lv.js → LandingLayout-DZt1EtCP.js} +2 -2
- package/dist/{LegalRepresentativeDetailsPage-BrBQg06_.js → LegalRepresentativeDetailsPage-BuOPrCAO.js} +6 -11
- package/dist/{Link-BTTClZw-.js → Link-s00fWIPD.js} +2 -2
- package/dist/{ListItem-BJYQ6BfN.js → ListItem-BOjfMtNh.js} +3 -3
- package/dist/{LoaderWrapper-Dl2oV2v2.js → LoaderWrapper-lbUTZxip.js} +1 -1
- package/dist/ManageIndividualComponent-C80dv903.js +46 -0
- package/dist/{ManageTermsOfServiceComponent-Qpzy5iZg.js → ManageTermsOfServiceComponent-8sW0ubtp.js} +4 -4
- package/dist/{ManageTransferInstrumentComponent-CvTD7JqX.js → ManageTransferInstrumentComponent-Djr3hDnm.js} +15 -14
- package/dist/{MaskedInput-Bet0abik.js → MaskedInput-Dtui0pFL.js} +17 -9
- package/dist/{MaybeModal-Bk3WmK24.js → MaybeModal-DAmEe4LX.js} +2 -2
- package/dist/{Modal-1Hv5tfNy.js → Modal-DjqZRXyy.js} +5 -5
- package/dist/{makeSelectItemForRole-B1DAxBZ_.js → Name-2lTBQb7g.js} +5 -57
- package/dist/{OnboardingDropinComponent-tQW1hXKP.js → OnboardingDropinComponent-Druuv3sE.js} +156 -125
- package/dist/{PayoutDetailsDropin-BEoP-NR0.js → PayoutDetailsDropin-B7LtRa1B.js} +91 -87
- package/dist/{RadioGroup-Bg_8BEDn.js → RadioGroup-DUYNpTgM.js} +7 -5
- package/dist/{RadioGroupCard-NRR-OqqG.js → RadioGroupCard-pMlnbEEB.js} +5 -3
- package/dist/{Review-DbX6GFkR.js → Review-_FUu7r2a.js} +8 -7
- package/dist/{RootBusinessDetailsPage-BWewaAOg.js → RootBusinessDetailsPage-yrq_AuhE.js} +9 -8
- package/dist/{RootBusinessLinesPage-CJ9jECx0.js → RootBusinessLinesPage-Cl18f4sM.js} +82 -55
- package/dist/{RootIndividualDetailsPage-CvQ2742R.js → RootIndividualDetailsPage-DCBlFXBW.js} +8 -18
- package/dist/{Select-DglmHz2C.js → Select-mBoYJnAZ.js} +16 -8
- package/dist/{SignPCIComponent-C6vCs_hW.js → SignPCIComponent-Kf3AvaVB.js} +13 -12
- package/dist/{SingpassSelection-Dv7obY3Y.js → SingpassSelection-CfWMbH3h.js} +6 -6
- package/dist/{SoleProprietorshipPage-BBaiVx9A.js → SoleProprietorshipPage-5Zy5JrB-.js} +5 -4
- package/dist/{SourceOfFundsPage-y4UhFduk.js → SourceOfFundsPage-CzUTeF1S.js} +195 -431
- package/dist/{StepProgressIndicator-zp8q1OzD.js → StepProgressIndicator-BE9LWSk0.js} +2 -2
- package/dist/{StoreProvider-BY1HQxMn.js → StoreProvider-D5FOVv9p.js} +170 -3243
- package/dist/{Summary-Dt4LcwGJ.js → Summary-v4P9Y5kQ.js} +6 -6
- package/dist/{TaskVerificationStatus-D7Yyt06M.js → TaskVerificationStatus-5hk86s25.js} +2 -2
- package/dist/{TaxInformationField-jCqBsFve.js → TaxInformationField-AcI4laLZ.js} +1469 -1475
- package/dist/{TaxReportingDropin-PYjxhlen.js → TaxReportingDropin-ZzpWS0S-.js} +35 -37
- package/dist/{TextArea-DaEM1LmR.js → TextArea-DeNjm7Gm.js} +2 -2
- package/dist/{TileGroup-B9NP0xL_.js → TileGroup-CZWfBoyM.js} +4 -4
- package/dist/{TrustDetailsPage-CcSVv1MP.js → TrustDetailsPage--gTP7acy.js} +41 -35
- package/dist/{TrustMemberCompanyPage-f7sbolBK.js → TrustMemberCompanyPage-Bmqb5sgh.js} +6 -5
- package/dist/{TrustMemberIndividualPage-BlkZ5WtP.js → TrustMemberIndividualPage-BJ7a5vEO.js} +6 -11
- package/dist/{TrustMemberRoleAndTypePage-DCsR7Tdy.js → TrustMemberRoleAndTypePage-eGQ7qNwo.js} +78 -22
- package/dist/{TrustMembersOverview-BhDqS5F-.js → TrustMembersOverview-C9VGJyIN.js} +12 -12
- package/dist/{UnincorporatedPartnershipIndividualPage-BbprnGI_.js → UnincorporatedPartnershipIndividualPage-DY8NWGLK.js} +6 -11
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-BxpxNdg6.js → UnincorporatedPartnershipMemberCompanyPage-CxGb07CR.js} +6 -5
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-3xUvx9l-.js → UnincorporatedPartnershipMemberRoleAndTypePage-CP88Xvoy.js} +12 -11
- package/dist/{UnincorporatedPartnershipMembersOverview-BpZbRr_e.js → UnincorporatedPartnershipMembersOverview-CtJIWCek.js} +9 -9
- package/dist/{VerificationErrorAlert-7DNyS4C_.js → VerificationErrorAlert-DAmWLDTw.js} +5 -4
- package/dist/{ViewVerificationStatusComponent-urVZF63U.js → ViewVerificationStatusComponent-BKvZhB3Q.js} +5 -4
- package/dist/adyen-business-financing.js +6 -3
- package/dist/adyen-individual-configuration.js +6 -3
- package/dist/adyen-individual-status.js +2 -2
- package/dist/adyen-kyc-components.js +19 -19
- package/dist/adyen-onboarding.js +6 -3
- package/dist/adyen-terms-of-service-management.js +6 -3
- package/dist/adyen-terms-of-service-status.js +2 -2
- package/dist/adyen-transfer-instrument-configuration.js +6 -3
- package/dist/adyen-transfer-instrument-management.js +2 -2
- package/dist/adyen-verification-status.js +6 -3
- package/dist/{bafinUtils-BROXAx5r.js → bafinUtils-D-iUsb1z.js} +19 -69
- package/dist/{bg-BG-DVjwfSz4.js → bg-BG-BMe54km9.js} +2 -2
- package/dist/{commonValidators-B7eyF3yt.js → commonValidators-CalwJK5h.js} +2 -2
- package/dist/{cs-CZ-CLY9qYTs.js → cs-CZ-BwiHrdav.js} +2 -2
- package/dist/{da-DK-uHPPFvD-.js → da-DK-D3nwkjjZ.js} +2 -2
- package/dist/{de-DE-SMf6w4NJ.js → de-DE-ZU2Hsp38.js} +2 -2
- package/dist/{dropinUtils-DqJ1Ds6F.js → dropinUtils-D59ldyqp.js} +4 -4
- package/dist/{el-GR-wv99Y9Yf.js → el-GR-DbOICeSZ.js} +2 -2
- package/dist/{es-ES-BqpvBqmR.js → es-ES-diRragkx.js} +2 -2
- package/dist/{et-EE-CAuCY0qn.js → et-EE--PzlaQkR.js} +2 -2
- package/dist/{fi-FI-DPegZzTc.js → fi-FI-D0_0MXLR.js} +2 -2
- package/dist/{fieldConfig-DVdDkF4v.js → fieldConfig-1wEVw6MW.js} +6 -6
- package/dist/{formUtils-6n_sAj9f.js → formUtils-BUyxO4Zy.js} +3 -3
- package/dist/{fr-FR-BPGwsLDa.js → fr-FR-CbjzHhqH.js} +2 -2
- package/dist/{getName-2kWqXhZa.js → getName-BCGuaRKD.js} +2 -2
- package/dist/{hr-HR-DdqNL1pQ.js → hr-HR-CDuWrX1x.js} +2 -2
- package/dist/{hu-HU-C1LJENXO.js → hu-HU-CXB62KSV.js} +2 -2
- package/dist/{iframeWidget-BHiCu3PY.js → iframeWidget-CxqD-Z9-.js} +4 -4
- package/dist/{isEmpty-COLZr49P.js → isEmpty-BCB0E6W3.js} +2 -2
- package/dist/{it-IT-B1eJg9RL.js → it-IT-BbW5PMj0.js} +2 -2
- package/dist/ja-JP-D8-geaup.js +13 -0
- package/dist/{japanSupportUtils-DHTmTrsj.js → japanSupportUtils-CNwDfN86.js} +3 -3
- package/dist/{localizeDateString-tOyK52gO.js → localizeDateString-DnJ6n3p4.js} +2 -2
- package/dist/{lt-LT-BmRnIfWs.js → lt-LT-BCusE8Fe.js} +2 -2
- package/dist/{lv-LV-CX9j9Dtv.js → lv-LV-D_D39wup.js} +2 -2
- package/dist/{mapExistingFile-Bz4_d6_m.js → mapExistingFile-DF8ylI3D.js} +4 -4
- package/dist/{mapJpAddressSchemaToAddressLocalizations-COA1bDNt.js → mapJpAddressSchemaToAddressLocalizations-Y24lCOu6.js} +38 -38
- package/dist/{mapLegalEntityToIndividualOnfidoSchema-CdLLvb8F.js → mapLegalEntityToIndividualSchema-BfluetfB.js} +4 -4
- package/dist/{mapTransferInstrumentToPayoutAccount-CPpBX8oM.js → mapTransferInstrumentToPayoutAccount-DGEME7Zv.js} +3 -2
- package/dist/{nl-NL-cVVIDG7s.js → nl-NL-Z2ifhzHq.js} +2 -2
- package/dist/{no-NO-C_tmZ39d.js → no-NO-D09wFbmU.js} +2 -2
- package/dist/{patternValidators-DSKvrLlO.js → patternValidators-DbUGFIUU.js} +2 -2
- package/dist/{pl-PL-DFZFSKZX.js → pl-PL-uU0uFIWi.js} +2 -2
- package/dist/{process-field-configurations-2fq1Bq8j.js → process-field-configurations-DGERpLQI.js} +4 -4
- package/dist/{pt-BR-CMiGlY3k.js → pt-BR-DzLl_fGR.js} +2 -2
- package/dist/{pt-PT-DmdQxN_1.js → pt-PT-Czix42gf.js} +2 -2
- package/dist/{resolveEnvironment-DPBuIa7_.js → resolveEnvironment-S2KpSjit.js} +3 -3
- package/dist/{ro-RO-B0slmyWK.js → ro-RO-BmHGZmbO.js} +2 -2
- package/dist/{roleMetadata-steXST1L.js → roleMetadata-CKgUDBXU.js} +2 -2
- package/dist/{sk-SK-BptPuon4.js → sk-SK-hx3DmG_3.js} +2 -2
- package/dist/{sl-SI-C3nGkfNb.js → sl-SI-D06jZL__.js} +2 -2
- package/dist/style.css +272 -295
- package/dist/styles-CLV89_hH.js +272 -295
- package/dist/{sv-SE-CXn28ybc.js → sv-SE-eJgjc6iG.js} +2 -2
- package/dist/types/api/address/useAddressCleanse.d.ts +1 -1
- package/dist/types/api/address/useRetrieveAddress.d.ts +1 -1
- package/dist/types/api/address/useRetrieveFromPostcodeJp.d.ts +1 -1
- package/dist/types/api/address/useSearchAddress.d.ts +1 -2
- package/dist/types/api/businessLines/useBusinessLines.d.ts +2 -2
- package/dist/types/api/businessLines/useCreateBusinessLine.d.ts +1 -1
- package/dist/types/api/businessLines/useDeleteBusinessLine.d.ts +1 -1
- package/dist/types/api/businessLines/useUpdateBusinessLines.d.ts +1 -1
- package/dist/types/api/businessLines/useUpdateSourceOfFunds.d.ts +1 -1
- package/dist/types/api/check/useCheck.d.ts +1 -2
- package/dist/types/api/companyDataSet/useClearCompanyData.d.ts +1 -1
- package/dist/types/api/companySearch/useCompanySearch.d.ts +1 -2
- package/dist/types/api/companySelection/useCompanySelection.d.ts +1 -1
- package/dist/types/api/configurations/useScenarios.d.ts +2 -160
- package/dist/types/api/configurations/useSupportedCountries.d.ts +1 -1
- package/dist/types/api/configurations/useTaskTypes.d.ts +1 -1
- package/dist/types/api/configurations/useVersionConfiguration.d.ts +1 -1
- package/dist/types/api/createLegalEntity/useCreateLegalEntity.d.ts +1 -1
- package/dist/types/api/datasets/useLegalForms.d.ts +1 -1
- package/dist/types/api/datasets/useNaceCodes.d.ts +1 -1
- package/dist/types/api/datasets/useSourceOfFundsTypes.d.ts +1 -1
- package/dist/types/api/documentValidation/useDocumentValidate.d.ts +1 -3
- package/dist/types/api/documents/useCreateDocument.d.ts +1 -1
- package/dist/types/api/documents/useDeleteDocument.d.ts +1 -1
- package/dist/types/api/documents/useDocument.d.ts +1 -1
- package/dist/types/api/documents/useDocuments.d.ts +1 -1
- package/dist/types/api/documents/useUpdateDocument.d.ts +1 -1
- package/dist/types/api/entityVerifications/useVerifyIdNumber.d.ts +1 -1
- package/dist/types/api/idNowProvider/useIdNowProvider.d.ts +3 -4
- package/dist/types/api/idVerificationProviders/idVerificationStartCheck.d.ts +1 -1
- package/dist/types/api/idVerificationProviders/useExtractDocumentInformation.d.ts +1 -1
- package/dist/types/api/idVerificationProviders/useIdVerificationToken.d.ts +2 -2
- package/dist/types/api/industryCodes/useIndustryCodes.d.ts +1 -2
- package/dist/types/api/legalEntity/useConfirmReview.d.ts +1 -1
- package/dist/types/api/legalEntity/useLegalEntity.d.ts +8 -389
- package/dist/types/api/legalEntity/useUpdateLegalEntity.d.ts +1 -1
- package/dist/types/api/onboardingStatus/useGenerateOnboardingLink.d.ts +1 -1
- package/dist/types/api/onboardingStatus/useOnboardingStatus.d.ts +1 -1
- package/dist/types/api/openId/useOpenIdAuthorizationLink.d.ts +1 -2
- package/dist/types/api/pci/usePciQuestionnaireList.d.ts +1 -1
- package/dist/types/api/pci/usePciStatus.d.ts +1 -1
- package/dist/types/api/pci/usePciTemplate.d.ts +1 -1
- package/dist/types/api/pci/useSignPci.d.ts +1 -1
- package/dist/types/api/providersConfiguration/useProviderStatus.d.ts +1 -1
- package/dist/types/api/queryKeys.d.ts +1 -1
- package/dist/types/api/taskStatus/useTaskStatus.d.ts +1 -1
- package/dist/types/api/taxClassification/useTaxClassification.d.ts +1 -1
- package/dist/types/api/termsOfService/useAcceptTermsOfService.d.ts +1 -2
- package/dist/types/api/termsOfService/useAcceptedTermsOfService.d.ts +1 -7
- package/dist/types/api/termsOfService/useTermsOfService.d.ts +1 -1
- package/dist/types/api/termsOfService/useTermsOfServiceAcceptanceInfos.d.ts +1 -1
- package/dist/types/api/termsOfService/useTermsOfServiceStatus.d.ts +1 -1
- package/dist/types/api/tinVerification/useVerifyTin.d.ts +1 -1
- package/dist/types/api/transferInstruments/useBankVerificationProviders.d.ts +1 -1
- package/dist/types/api/transferInstruments/useCreateTrustedTransferInstrument.d.ts +1 -1
- package/dist/types/api/transferInstruments/useDeleteTransferInstrument.d.ts +1 -1
- package/dist/types/api/transferInstruments/useHandleBankVerificationError.d.ts +1 -1
- package/dist/types/api/transferInstruments/useTransferInstrument.d.ts +2 -2
- package/dist/types/api/transferInstruments/useTransferInstruments.d.ts +1 -1
- package/dist/types/api/transferInstruments/useUpdateTransferInstrument.d.ts +1 -1
- package/dist/types/api/transferInstruments/useUpdateTrustedTransferInstrument.d.ts +1 -1
- package/dist/types/api/types.d.ts +1 -1
- package/dist/types/api/uiAnalytics/useAnalyticsSession.d.ts +1 -1
- package/dist/types/api/uiAnalytics/usePushAnalyticEvent.d.ts +1 -1
- package/dist/types/api/validation/useValidateAccountIdentification.d.ts +1 -2
- package/dist/types/api/validation/useValidatePhoneNumber.d.ts +1 -1
- package/dist/types/components/BankAccount/forms/BankDocument/BankDocumentClassification.d.ts +1 -2
- package/dist/types/components/Business/forms/AdditionalInformation/AdditionalInformation.d.ts +0 -2
- package/dist/types/components/Business/forms/BusinessDetails/forms.d.ts +2 -1
- package/dist/types/components/Business/forms/BusinessSelection/BusinessInformationCard/BusinessInformationCard.d.ts +1 -1
- package/dist/types/components/Business/forms/rules.d.ts +3 -3
- package/dist/types/components/Business/mapping/businessDetails/mapBusinessDetailsSchemaToLegalEntity.d.ts +2 -1
- package/dist/types/components/Business/mapping/businessDetails/mapLegalEntityToBusinessDetailsSchema.d.ts +8 -1
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/utils.d.ts +0 -1
- package/dist/types/components/Business/utils/companyUtil.d.ts +0 -9
- package/dist/types/components/BusinessLines/constants.d.ts +2 -0
- package/dist/types/components/BusinessLines/tasks/BusinessLines/BusinessLineModal/BusinessLineModal.d.ts +2 -1
- package/dist/types/components/BusinessLines/tasks/utils.d.ts +4 -2
- package/dist/types/components/BusinessLines/tasks/validate.d.ts +0 -2
- package/dist/types/components/EFP/tasks/SourceOfFundsDropin/types.d.ts +20 -21
- package/dist/types/components/EFP/tasks/SourceOfFundsDropin/utils.d.ts +5 -2
- package/dist/types/components/EmbeddedDropins/CreateIndividualComponent/CreateIndividualComponent.d.ts +2 -2
- package/dist/types/components/Individual/fields/DriversLicense/DriversLicense.types.d.ts +1 -1
- package/dist/types/components/Individual/fields/IdentityNumber/fieldConfig.d.ts +4 -3
- package/dist/types/components/Individual/forms/AdditionalPersonalDetails/AdditionalPersonalDetails.types.d.ts +29 -0
- package/dist/types/components/Individual/forms/{IndividualOnfido/AdditionalPersonalDetails → AdditionalPersonalDetails}/Identity/Identity.types.d.ts +3 -3
- package/dist/types/components/Individual/forms/{IndividualOnfido/AdditionalPersonalDetails → AdditionalPersonalDetails}/Identity/TypeOfIdentity/index.d.ts +2 -2
- package/dist/types/components/Individual/forms/AdditionalPersonalDetails/Identity/validate.d.ts +4 -0
- package/dist/types/components/Individual/forms/{IndividualOnfido/AdditionalPersonalDetails → AdditionalPersonalDetails}/validate.d.ts +8 -8
- package/dist/types/components/Individual/forms/BasicDetails/BasicDetails.types.d.ts +22 -0
- package/dist/types/components/Individual/forms/BasicDetails/validate.d.ts +9 -0
- package/dist/types/components/Individual/forms/{IndividualOnfido/DataConflictsModal → DataConflictsModal}/ConflictRow.d.ts +1 -1
- package/dist/types/components/Individual/forms/{IndividualOnfido/DataConflictsModal → DataConflictsModal}/DataConflictsModal.d.ts +1 -1
- package/dist/types/components/Individual/forms/{Individual/IdDocumentUpload → IdDocumentUpload}/types.d.ts +5 -15
- package/dist/types/components/Individual/forms/{Individual/IdDocumentUpload → IdDocumentUpload}/utils.d.ts +1 -1
- package/dist/types/components/Individual/forms/IdNowVerificationModal/isIdNowModalOpen.d.ts +18 -0
- package/dist/types/components/Individual/forms/{IndividualOnfido/IdVerificationMethod → IdVerificationMethod}/IdVerificationMethod.types.d.ts +3 -3
- package/dist/types/components/Individual/forms/{IndividualOnfido/IdVerificationMethod → IdVerificationMethod}/OnfidoVerificationModal/OnfidoVerificationModal.d.ts +1 -1
- package/dist/types/components/Individual/forms/{IndividualOnfido/IdVerificationMethod → IdVerificationMethod}/UploadedDocument/UploadedDocument.d.ts +1 -1
- package/dist/types/components/Individual/forms/{IndividualOnfido/IdVerificationMethod → IdVerificationMethod}/individualOnfidoConflictsSchema.d.ts +5 -5
- package/dist/types/components/Individual/forms/IdVerificationMethod/mapExtractionResultToSchema.d.ts +4 -0
- package/dist/types/components/Individual/forms/{IndividualOnfido/IdVerificationMethod → IdVerificationMethod}/validateExtractionResult.d.ts +3 -3
- package/dist/types/components/Individual/forms/{IndividualOnfido/IndividualOnfido.d.ts → Individual.d.ts} +6 -2
- package/dist/types/components/Individual/forms/{IndividualOnfido/IndividualOnfido.rules.d.ts → Individual.rules.d.ts} +5 -6
- package/dist/types/components/Individual/forms/{IndividualOnfido/IndividualOnfido.types.d.ts → Individual.types.d.ts} +15 -15
- package/dist/types/components/Individual/forms/{Individual/ProofOfRelationship → ProofOfRelationship}/types.d.ts +1 -1
- package/dist/types/components/Individual/forms/{Individual/ProofOfResidency → ProofOfResidency}/types.d.ts +1 -1
- package/dist/types/components/Individual/forms/{IndividualOnfido/SignatoryQuestionnaire → SignatoryQuestionnaire}/SignatoryQuestionnaire.types.d.ts +1 -1
- package/dist/types/components/Individual/forms/{IndividualOnfido/UboQuestionnaire → UboQuestionnaire}/UboQuestionnaire.types.d.ts +2 -2
- package/dist/types/components/Individual/forms/{IndividualOnfido/UboQuestionnaire → UboQuestionnaire}/UboQuestionnaireModalContent.d.ts +1 -1
- package/dist/types/components/Individual/helpers/bafinUtils.d.ts +3 -2
- package/dist/types/components/Individual/helpers/mandateIdVerificationForMotionCapture.d.ts +2 -3
- package/dist/types/components/Individual/helpers/roleUtils.d.ts +1 -1
- package/dist/types/components/Individual/mapping/adjustOnfidoIdentificationData.d.ts +1 -1
- package/dist/types/components/Individual/mapping/getOnfidoIdentityTypeToApiIdentityTypeMap.d.ts +1 -1
- package/dist/types/components/Individual/mapping/individualKeyMappings.d.ts +6 -12
- package/dist/types/components/Individual/mapping/mapApiDocumentToIndividualDocuments.d.ts +2 -2
- package/dist/types/components/Individual/mapping/mapIndividualDocumentToApiDocument.d.ts +2 -3
- package/dist/types/components/Individual/mapping/{mapIndividualOnfidoSchemaToLegalEntity.d.ts → mapIndividualSchemaToLegalEntity.d.ts} +1 -1
- package/dist/types/components/Individual/mapping/{mapLegalEntityToIndividualOnfidoSchema.d.ts → mapLegalEntityToIndividualSchema.d.ts} +1 -1
- package/dist/types/components/Individual/pages/DecisionMakerDetailsPage.d.ts +3 -4
- package/dist/types/components/Individual/pages/LegalRepresentativeDetailsPage.d.ts +2 -2
- package/dist/types/components/Individual/pages/RootIndividualDetailsPage.d.ts +2 -2
- package/dist/types/components/Individual/tasks/DecisionMakers/DecisionMakerDetails/utils.d.ts +1 -13
- package/dist/types/components/Individual/tasks/DecisionMakers/RemediationAlerts/remediation.config.d.ts +0 -2
- package/dist/types/components/Individual/tasks/DecisionMakers/types.d.ts +8 -0
- package/dist/types/components/Individual/tasks/IndividualDropin/IndividualDropin.d.ts +2 -2
- package/dist/types/components/Individual/tasks/IndividualDropin/individualFormConfig.d.ts +3 -3
- package/dist/types/components/{Individual → Shared}/fields/LocalizedNameFields/types.d.ts +2 -2
- package/dist/types/components/Shared/fields/LocalizedNameFields/validate.d.ts +4 -0
- package/dist/types/components/Shared/forms/Address/utils.d.ts +1 -1
- package/dist/types/components/Shared/tasks/TaskList/utils.d.ts +0 -2
- package/dist/types/components/Trust/pages/TrustMemberIndividualPage.d.ts +2 -2
- package/dist/types/components/Trust/tasks/TrustDropin/TrustMultiform.d.ts +2 -1
- package/dist/types/components/UnincorporatedPartnership/pages/UnincorporatedPartnershipIndividualPage.d.ts +2 -2
- package/dist/types/components/ui/atoms/Card/Card.d.ts +19 -0
- package/dist/types/context/ExperimentContext/types.d.ts +0 -36
- package/dist/types/context/QueryContext/QueryClient.d.ts +1 -1
- package/dist/types/context/StateContext/types.d.ts +2 -3
- package/dist/types/core/models/api/instant-id-verification.d.ts +1 -1
- package/dist/types/core/models/api/legal-entity-association.d.ts +1 -1
- package/dist/types/core/user-events.d.ts +3 -2
- package/dist/types/embeds/baseEmbedProps.d.ts +0 -21
- package/dist/types/embeds/business-financing/adyen-business-financing.d.ts +2 -1
- package/dist/types/embeds/individual-configuration/adyen-individual-configuration.d.ts +5 -1
- package/dist/types/embeds/individual-configuration/adyen-individual-configuration.types.d.ts +2 -2
- package/dist/types/embeds/onboarding/adyen-onboarding.d.ts +2 -1
- package/dist/types/embeds/terms-of-service-management/adyen-terms-of-service-management.d.ts +5 -1
- package/dist/types/embeds/transfer-instrument-configuration/adyen-transfer-instrument-configuration.d.ts +2 -1
- package/dist/types/embeds/verification-status/adyen-verification-status.d.ts +2 -1
- package/dist/types/hooks/useAssociatedLegalEntity.d.ts +1 -1
- package/dist/types/hooks/useUboQuestionnaire.d.ts +2 -2
- package/dist/types/stores/formState.d.ts +1 -1
- package/dist/types/utils/addLinkedFields.d.ts +0 -2
- package/dist/types/utils/api/processCapabilitites.d.ts +2 -3
- package/dist/types/utils/birthDateUtils.d.ts +0 -17
- package/dist/types/utils/entityAssociationUtil.d.ts +3 -4
- package/dist/types/utils/entityStatusUtil.d.ts +1 -1
- package/dist/types/utils/getFieldsWithExistingData.d.ts +2 -3
- package/dist/types/utils/logger.d.ts +0 -1
- package/dist/types/utils/performance.d.ts +64 -0
- package/dist/types/utils/verification/helpers/verifyIdNumber.d.ts +3 -2
- package/dist/{types-2lh4v1NS.js → types-CUp2kEQJ.js} +1 -1
- package/dist/{types-Dk94b8kx.js → types-DY4_Oje-.js} +1 -37
- package/dist/{types-MoVpdFbr.js → types-DgF4O5ru.js} +2 -2
- package/dist/{types-CGYmPCYj.js → types-vqz1MZ1F.js} +2 -2
- package/dist/{useAssociatedLegalEntity-BufOLUsc.js → useAssociatedLegalEntity-C8wrPYHO.js} +3 -2
- package/dist/{useBusinessDetailsData-D4EbMk7x.js → useBusinessDetailsData-nW3yfjoJ.js} +253 -183
- package/dist/{useCreateLegalEntity-CmZ_Xs5Y.js → useCreateLegalEntity-DEc1Kwc9.js} +3 -2
- package/dist/{useDataset-BRi4mlWJ.js → useDataset-CLceNuVk.js} +2 -2
- package/dist/{useForm-DpYu-ydO.js → useForm-C6Y--Xun.js} +3 -3
- package/dist/{useFormContext-03qTwgil.js → useFormContext-7UjLuyeC.js} +7 -7
- package/dist/{useGlobalData-Dk70ESMH.js → useGlobalData-DS2ZGdGI.js} +2 -2
- package/dist/{useMultiForm-BNwZbeFz.js → useMultiForm-B3D5YMQv.js} +5 -5
- package/dist/{useOnboardingStatus-D6f5Kt_w.js → useOnboardingStatus-pO-8haat.js} +3 -2
- package/dist/{useScenarios-BQO76Qbs.js → useScenarios-BeYCbuMy.js} +5 -3
- package/dist/{useTermsOfServiceStatus-pQ-OjZcj.js → useTermsOfServiceStatus-a9HTnF2t.js} +3 -2
- package/dist/{useToastContext-BG3cHfke.js → useToastContext-CY5gBg6O.js} +3 -2
- package/dist/{useUnincorporatedPartnershipMembers-DumGMdhZ.js → useUnincorporatedPartnershipMembers-BFoyyohQ.js} +4 -4
- package/dist/{useUpdateBusinessLines-BWk0eCVS.js → useUpdateBusinessLines-Ca6VPudz.js} +20 -17
- package/dist/{useUpdateLegalEntity-DJomQK33.js → useUpdateLegalEntity-CV9zKmhh.js} +4 -3
- package/dist/{utils-DkGVdk7W.js → utils-9A5Vx0Md.js} +25 -21
- package/dist/{utils-B5nzpIMU.js → utils-DJ11eWHJ.js} +6 -6
- package/dist/{utils-Cm0vPCdA.js → utils-DW7BsBmK.js} +1 -1
- package/dist/{utils-DtmnCXcG.js → utils-DkD_AO7r.js} +2 -2
- package/dist/{utils-CANy0Arr.js → utils-kwRyi0uY.js} +2 -2
- package/dist/{validate-DUJOPfMa.js → validate-BjjltZlf.js} +2 -2
- package/dist/{validate-D5t_i90f.js → validate-CDvp3PSV.js} +4 -3
- package/dist/{validationError-BkGOdtDT.js → validationError-BSalUIny.js} +3 -3
- package/package.json +56 -49
- package/dist/Card-BSfGetza.js +0 -82
- package/dist/EntityAssociation-Bl1NeRHI.js +0 -159
- package/dist/ManageIndividualComponent-C7zwlJuO.js +0 -46
- package/dist/hasDataChanged-DzGl3k7N.js +0 -19
- package/dist/id-verification-instant-Byt4Oul6.js +0 -58
- package/dist/id-verification-manual-CvcTkOSY.js +0 -55
- package/dist/ja-JP-PnqAHl14.js +0 -13
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/mandatoryFields.d.ts +0 -3
- package/dist/types/components/Individual/fields/DecisionMakerRole/DecisionMakerRole.d.ts +0 -3
- package/dist/types/components/Individual/fields/DecisionMakerRole/NomineeDecisionMakerRole.d.ts +0 -10
- package/dist/types/components/Individual/fields/DecisionMakerRole/types.d.ts +0 -23
- package/dist/types/components/Individual/fields/NameFields/validate.d.ts +0 -4
- package/dist/types/components/Individual/forms/Individual/IdDocumentUpload/IdDocumentAlreadyUpload.d.ts +0 -2
- package/dist/types/components/Individual/forms/Individual/IdDocumentUpload/IdDocumentInstantVerification.d.ts +0 -3
- package/dist/types/components/Individual/forms/Individual/IdDocumentUpload/IdDocumentUpload.d.ts +0 -3
- package/dist/types/components/Individual/forms/Individual/IdVerificationMethod/IdVerificationMethod.d.ts +0 -3
- package/dist/types/components/Individual/forms/Individual/IdVerificationMethod/idVerificationMethodMetadata.d.ts +0 -15
- package/dist/types/components/Individual/forms/Individual/IdVerificationMethod/types.d.ts +0 -14
- package/dist/types/components/Individual/forms/Individual/Individual.d.ts +0 -47
- package/dist/types/components/Individual/forms/Individual/PersonalDetails/Identity/Identity.d.ts +0 -2
- package/dist/types/components/Individual/forms/Individual/PersonalDetails/Identity/IdentityAu/IdentityAu.d.ts +0 -2
- package/dist/types/components/Individual/forms/Individual/PersonalDetails/Identity/IdentityAu/validate.d.ts +0 -3
- package/dist/types/components/Individual/forms/Individual/PersonalDetails/Identity/IdentityHK/IdentityHK.d.ts +0 -2
- package/dist/types/components/Individual/forms/Individual/PersonalDetails/Identity/IdentityHK/validate.d.ts +0 -3
- package/dist/types/components/Individual/forms/Individual/PersonalDetails/Identity/IdentityNZ/IdentityNZ.d.ts +0 -2
- package/dist/types/components/Individual/forms/Individual/PersonalDetails/Identity/IdentityNZ/validate.d.ts +0 -3
- package/dist/types/components/Individual/forms/Individual/PersonalDetails/Identity/TypeOfIdentity/index.d.ts +0 -11
- package/dist/types/components/Individual/forms/Individual/PersonalDetails/Identity/identityUS/IdentityUS.d.ts +0 -4
- package/dist/types/components/Individual/forms/Individual/PersonalDetails/Identity/types.d.ts +0 -14
- package/dist/types/components/Individual/forms/Individual/PersonalDetails/PersonalDetails.d.ts +0 -3
- package/dist/types/components/Individual/forms/Individual/PersonalDetails/types.d.ts +0 -41
- package/dist/types/components/Individual/forms/Individual/PersonalDetails/validate.d.ts +0 -21
- package/dist/types/components/Individual/forms/Individual/form-ids.d.ts +0 -2
- package/dist/types/components/Individual/forms/Individual/rules.d.ts +0 -40
- package/dist/types/components/Individual/forms/Individual/types.d.ts +0 -50
- package/dist/types/components/Individual/forms/IndividualOnfido/AdditionalPersonalDetails/AdditionalPersonalDetails.types.d.ts +0 -29
- package/dist/types/components/Individual/forms/IndividualOnfido/AdditionalPersonalDetails/Identity/validate.d.ts +0 -4
- package/dist/types/components/Individual/forms/IndividualOnfido/BasicDetails/BasicDetails.types.d.ts +0 -22
- package/dist/types/components/Individual/forms/IndividualOnfido/BasicDetails/validate.d.ts +0 -6
- package/dist/types/components/Individual/forms/IndividualOnfido/IdNowVerificationModal/isIdNowModalOpen.d.ts +0 -17
- package/dist/types/components/Individual/forms/IndividualOnfido/IdVerificationMethod/mapExtractionResultToSchema.d.ts +0 -4
- package/dist/types/components/Individual/helpers/isOnfidoAutofillFlowEnabled.d.ts +0 -4
- package/dist/types/components/Individual/mapping/adjustIdentificationData.d.ts +0 -3
- package/dist/types/components/Individual/mapping/getIdentityTypeToApiIdentityTypeMap.d.ts +0 -3
- package/dist/types/components/Individual/mapping/individualOnfidoKeyMappings.d.ts +0 -8
- package/dist/types/components/Individual/mapping/mapIndividualToLegalEntity.d.ts +0 -3
- package/dist/types/components/Individual/mapping/mapLegalEntityToIndividual.d.ts +0 -3
- package/dist/types/components/Individual/tasks/IndividualOnfidoDropin/IndividualOnfidoDropin.d.ts +0 -2
- package/dist/types/components/Individual/tasks/IndividualOnfidoDropin/individualOnfidoFormConfig.d.ts +0 -4
- package/dist/types/components/ui/molecules/Card/Card.d.ts +0 -3
- package/dist/types/components/ui/molecules/Card/types.d.ts +0 -26
- package/dist/types/embeds/EmbedBaseElement.d.ts +0 -41
- package/dist/types/embeds/EmbedCore.d.ts +0 -22
- package/dist/types/embeds/business-financing/AdyenBusinessFinancing.d.ts +0 -14
- package/dist/types/embeds/individual-configuration/AdyenIndividual.d.ts +0 -12
- package/dist/types/embeds/individual-status/AdyenManageIndividual.d.ts +0 -12
- package/dist/types/embeds/onboarding/AdyenOnboarding.d.ts +0 -12
- package/dist/types/embeds/terms-of-service-management/AdyenTermsOfService.d.ts +0 -12
- package/dist/types/embeds/terms-of-service-status/AdyenManageTermsOfService.d.ts +0 -12
- package/dist/types/embeds/transfer-instrument-configuration/AdyenTransferInstrument.d.ts +0 -16
- package/dist/types/embeds/transfer-instrument-management/AdyenManageTransferInstrument.d.ts +0 -14
- package/dist/types/embeds/verification-status/AdyenVerificationStatus.d.ts +0 -20
- /package/dist/types/components/Individual/forms/{IndividualOnfido/AdditionalPersonalDetails → AdditionalPersonalDetails}/AdditionalPersonalDetails.d.ts +0 -0
- /package/dist/types/components/Individual/forms/{IndividualOnfido/AdditionalPersonalDetails → AdditionalPersonalDetails}/Identity/Identity.d.ts +0 -0
- /package/dist/types/components/Individual/forms/{IndividualOnfido/BasicDetails → BasicDetails}/BasicDetails.d.ts +0 -0
- /package/dist/types/components/Individual/forms/{IndividualOnfido/GuidanceQuestion → GuidanceQuestion}/GuidanceQuestion.d.ts +0 -0
- /package/dist/types/components/Individual/forms/{Individual/IdDocumentUpload → IdDocumentUpload}/IdDocumentManualUpload.d.ts +0 -0
- /package/dist/types/components/Individual/forms/{IndividualOnfido/IdNowVerificationModal → IdNowVerificationModal}/IdNowVerificationModal.d.ts +0 -0
- /package/dist/types/components/Individual/forms/{Individual/IdVerification → IdVerification}/IdVerification.d.ts +0 -0
- /package/dist/types/components/Individual/forms/{Individual/IdVerification → IdVerification}/idVerificationProviderId.d.ts +0 -0
- /package/dist/types/components/Individual/forms/{Individual/IdVerification → IdVerification}/types.d.ts +0 -0
- /package/dist/types/components/Individual/forms/{IndividualOnfido/IdVerificationMethod → IdVerificationMethod}/IdVerificationMethod.d.ts +0 -0
- /package/dist/types/components/Individual/forms/{IndividualOnfido/ManualIdUpload → ManualIdUpload}/ManualIdUpload.d.ts +0 -0
- /package/dist/types/components/Individual/forms/{Individual/ProofOfRelationship → ProofOfRelationship}/index.d.ts +0 -0
- /package/dist/types/components/Individual/forms/{Individual/ProofOfResidency → ProofOfResidency}/ProofOfResidency.d.ts +0 -0
- /package/dist/types/components/Individual/forms/{IndividualOnfido/SignatoryQuestionnaire → SignatoryQuestionnaire}/SignatoryQuestionnaire.d.ts +0 -0
- /package/dist/types/components/Individual/forms/{IndividualOnfido/SignatoryQuestionnaire → SignatoryQuestionnaire}/SignatoryQuestionnaireModalContent.d.ts +0 -0
- /package/dist/types/components/Individual/forms/{IndividualOnfido/UboQuestionnaire → UboQuestionnaire}/UboQuestionnaire.d.ts +0 -0
- /package/dist/types/components/Individual/forms/{IndividualOnfido/form-ids.d.ts → form-ids.d.ts} +0 -0
- /package/dist/types/components/Individual/tasks/{IndividualOnfidoDropin/IndividualOnfidoStore.d.ts → IndividualDropin/IndividualStore.d.ts} +0 -0
- /package/dist/types/components/{Individual → Shared}/fields/LocalizedNameFields/LocalizedNameFields.d.ts +0 -0
|
@@ -2,12 +2,13 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
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] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "9763d7b8-13a2-4761-89ae-768cb0c67a37", e._sentryDebugIdIdentifier = "sentry-dbid-9763d7b8-13a2-4761-89ae-768cb0c67a37");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import {
|
|
10
|
+
import { useMutation } from "@tanstack/preact-query";
|
|
11
|
+
import { b as useApiContext, j as httpPost } from "./StoreProvider-D5FOVv9p.js";
|
|
11
12
|
const createLegalEntity = async (legalEntityId, baseUrl, data) => {
|
|
12
13
|
return httpPost(
|
|
13
14
|
{
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
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] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "fae44e54-7522-4e5f-bf76-20d63d8a4196", e._sentryDebugIdIdentifier = "sentry-dbid-fae44e54-7522-4e5f-bf76-20d63d8a4196");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useState, useEffect } from "preact/hooks";
|
|
11
|
-
import {
|
|
11
|
+
import { z as createLogger, ag as useI18nContext } from "./StoreProvider-D5FOVv9p.js";
|
|
12
12
|
import { a as datasetUtilities, d as datasetIdentifier } from "./datasetUtil-BHQp0-xL.js";
|
|
13
13
|
const logger$1 = createLogger();
|
|
14
14
|
const countriesImports = /* @__PURE__ */ Object.assign({ "../countries/de-DE.json": () => import("./de-DE-B3nctkG8.js"), "../countries/el-GR.json": () => import("./el-GR-CdgLZhuO.js"), "../countries/en-US.json": () => import("./en-US-DSoLr6rp.js"), "../countries/es-ES.json": () => import("./es-ES-BRfK6tX7.js"), "../countries/fr-FR.json": () => import("./fr-FR-Dk6Lw2On.js"), "../countries/it-IT.json": () => import("./it-IT-D7G4BaP7.js"), "../countries/ja-JP.json": () => import("./ja-JP-DTW_hY1L.js"), "../countries/nl-NL.json": () => import("./nl-NL-CFzm75Jw.js"), "../countries/pt-PT.json": () => import("./pt-PT-DpDxAynk.js"), "../countries/sv-SE.json": () => import("./sv-SE-rckxD-43.js") });
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
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] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "3d5e7029-8341-4c3f-a4c3-d2a2116f3314", e._sentryDebugIdIdentifier = "sentry-dbid-3d5e7029-8341-4c3f-a4c3-d2a2116f3314");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useState, useCallback, useMemo, useReducer, useEffect } from "preact/hooks";
|
|
11
|
-
import {
|
|
12
|
-
import { V as ValidationResult, o as omitKeys, a as addKeys } from "./utils-
|
|
11
|
+
import { z as createLogger, an as isEmpty, aR as doArraysMatch } from "./StoreProvider-D5FOVv9p.js";
|
|
12
|
+
import { V as ValidationResult, o as omitKeys, a as addKeys } from "./utils-DkD_AO7r.js";
|
|
13
13
|
const logger = createLogger();
|
|
14
14
|
const useAsyncValidator = (asyncRules) => {
|
|
15
15
|
const [asyncValidationResults, setAsyncValidationResults] = useState({});
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
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] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "7645e458-97bb-41cd-ab38-9c1141accc0d", e._sentryDebugIdIdentifier = "sentry-dbid-7645e458-97bb-41cd-ab38-9c1141accc0d");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
@@ -10,13 +10,13 @@
|
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
11
|
import { useMemo, useRef, useState, useContext } from "preact/hooks";
|
|
12
12
|
import cx from "classnames";
|
|
13
|
-
import {
|
|
14
|
-
import { L as LoaderWrapper } from "./LoaderWrapper-
|
|
15
|
-
import { M as MaybeModal } from "./MaybeModal-
|
|
13
|
+
import { P as useAnalyticsContext, u as useTranslation, B as Button } from "./StoreProvider-D5FOVv9p.js";
|
|
14
|
+
import { L as LoaderWrapper } from "./LoaderWrapper-lbUTZxip.js";
|
|
15
|
+
import { M as MaybeModal } from "./MaybeModal-DAmEe4LX.js";
|
|
16
16
|
import { P as ProgressBar } from "./ProgressBar-B7gTQncy.js";
|
|
17
|
-
import { F as FormRouterContextProvider } from "./dropinUtils-
|
|
18
|
-
import { C as Confirm } from "./Confirm-
|
|
19
|
-
import { S as Summary } from "./Summary-
|
|
17
|
+
import { F as FormRouterContextProvider } from "./dropinUtils-D59ldyqp.js";
|
|
18
|
+
import { C as Confirm } from "./Confirm-DvCDgyAD.js";
|
|
19
|
+
import { S as Summary } from "./Summary-v4P9Y5kQ.js";
|
|
20
20
|
import { createContext } from "preact";
|
|
21
21
|
const FormContext = createContext(null);
|
|
22
22
|
function FormContextProvider({
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
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] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "aac833ba-2e6c-484c-853f-e89d1ab93d96", e._sentryDebugIdIdentifier = "sentry-dbid-aac833ba-2e6c-484c-853f-e89d1ab93d96");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useContext, useCallback, useMemo } from "preact/hooks";
|
|
11
11
|
import { a as debounce } from "./debouncedInputEvent-Cv2S512Y.js";
|
|
12
|
-
import {
|
|
12
|
+
import { ba as StateContext } from "./StoreProvider-D5FOVv9p.js";
|
|
13
13
|
function useStateContext() {
|
|
14
14
|
const context = useContext(StateContext);
|
|
15
15
|
return context;
|
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
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] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "1ba8eff6-0ad4-4e33-bbb8-df1b24a0dbb9", e._sentryDebugIdIdentifier = "sentry-dbid-1ba8eff6-0ad4-4e33-bbb8-df1b24a0dbb9");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useCallback, useMemo, useReducer, useEffect } from "preact/hooks";
|
|
11
|
-
import {
|
|
12
|
-
import { V as ValidationResult } from "./utils-
|
|
13
|
-
import { a as isNotEmptyValidator } from "./commonValidators-
|
|
11
|
+
import { aa as objectsDeepEqual, z as createLogger, an as isEmpty } from "./StoreProvider-D5FOVv9p.js";
|
|
12
|
+
import { V as ValidationResult } from "./utils-DkD_AO7r.js";
|
|
13
|
+
import { a as isNotEmptyValidator } from "./commonValidators-CalwJK5h.js";
|
|
14
14
|
const omitKeys = (obj, omit) => Object.keys(obj).filter((k) => !omit.includes(k)).reduce((a, c) => {
|
|
15
15
|
a[c] = obj[c];
|
|
16
16
|
return a;
|
|
@@ -836,7 +836,7 @@ function useMultiForm({
|
|
|
836
836
|
defaultData,
|
|
837
837
|
optionalFields
|
|
838
838
|
});
|
|
839
|
-
}, [getRequiredFields, defaultData, optionalFields]);
|
|
839
|
+
}, [getRequiredFields, state.data, defaultData, optionalFields]);
|
|
840
840
|
return {
|
|
841
841
|
setData,
|
|
842
842
|
setFormData,
|
|
@@ -2,12 +2,13 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
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] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "3c5ada1d-5036-49a5-9608-d66dae0b3254", e._sentryDebugIdIdentifier = "sentry-dbid-3c5ada1d-5036-49a5-9608-d66dae0b3254");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import {
|
|
10
|
+
import { useQuery } from "@tanstack/preact-query";
|
|
11
|
+
import { b as useApiContext, k as httpGet } from "./StoreProvider-D5FOVv9p.js";
|
|
11
12
|
const getOnboardingStatus = async (legalEntityId, baseUrl) => {
|
|
12
13
|
return httpGet({
|
|
13
14
|
baseUrl,
|
|
@@ -2,12 +2,13 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
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] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "6376473a-695c-4a78-90c6-e7f32a1decbd", e._sentryDebugIdIdentifier = "sentry-dbid-6376473a-695c-4a78-90c6-e7f32a1decbd");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import {
|
|
10
|
+
import { useQuery, skipToken } from "@tanstack/preact-query";
|
|
11
|
+
import { b as useApiContext, ai as entriesOf, ae as Scenarios, k as httpGet } from "./StoreProvider-D5FOVv9p.js";
|
|
11
12
|
const getScenarios = async (legalEntityId, baseUrl, legalEntityType, countryCode) => {
|
|
12
13
|
const scenarioParams = new URLSearchParams({
|
|
13
14
|
...countryCode && { countryCode },
|
|
@@ -33,7 +34,8 @@ const useScenarios = (countryCode, legalEntityType, options) => {
|
|
|
33
34
|
)
|
|
34
35
|
});
|
|
35
36
|
return {
|
|
36
|
-
|
|
37
|
+
isLoading: result.isLoading,
|
|
38
|
+
isError: result.isError,
|
|
37
39
|
data: result.data?.[legalEntityType]
|
|
38
40
|
};
|
|
39
41
|
};
|
|
@@ -2,12 +2,13 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
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] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "6dd7fe61-428f-4b39-b21d-f9492e94eba3", e._sentryDebugIdIdentifier = "sentry-dbid-6dd7fe61-428f-4b39-b21d-f9492e94eba3");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import {
|
|
10
|
+
import { useQuery } from "@tanstack/preact-query";
|
|
11
|
+
import { b as useApiContext, k as httpGet } from "./StoreProvider-D5FOVv9p.js";
|
|
11
12
|
const getTermsOfServiceAcceptanceInfos = async (legalEntityId, baseUrl) => {
|
|
12
13
|
return httpGet({
|
|
13
14
|
baseUrl,
|
|
@@ -2,13 +2,14 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
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] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "f415f71d-289c-4a21-a2c1-698bca080469", e._sentryDebugIdIdentifier = "sentry-dbid-f415f71d-289c-4a21-a2c1-698bca080469");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import {
|
|
10
|
+
import { useQueryClient } from "@tanstack/preact-query";
|
|
11
11
|
import { useCallback, useContext } from "preact/hooks";
|
|
12
|
+
import { z as createLogger, b as useApiContext, ak as ToastContext } from "./StoreProvider-D5FOVv9p.js";
|
|
12
13
|
const logger = createLogger();
|
|
13
14
|
const QUERIES_TO_INVALIDATE_WHEN_ROOT_LE_IS_INVALIDATED = [
|
|
14
15
|
"businessLines",
|
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
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] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "f0880028-9341-4412-9e87-0e8ffa293ce7", e._sentryDebugIdIdentifier = "sentry-dbid-f0880028-9341-4412-9e87-0e8ffa293ce7");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useMemo } from "preact/hooks";
|
|
11
|
-
import {
|
|
12
|
-
import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-
|
|
11
|
+
import { q as LegalEntityTypes, a6 as getOwnEntityAssociations, c as useLegalEntity, R as ROOT_LE } from "./StoreProvider-D5FOVv9p.js";
|
|
12
|
+
import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-C8wrPYHO.js";
|
|
13
13
|
import { U as UnincorporatedPartnershipMemberTypes } from "./unincorporated-partnership-MeN1dp53.js";
|
|
14
|
-
import { g as getLegalEntityNameBasedOnType } from "./getName-
|
|
14
|
+
import { g as getLegalEntityNameBasedOnType } from "./getName-BCGuaRKD.js";
|
|
15
15
|
const getMemberOwnerId = (memberId, entityAssociations) => entityAssociations.find((association) => association.associatorId === memberId)?.legalEntityId;
|
|
16
16
|
const convertEntityAssociationIntoUnincorporatedPartnershipMember = (association) => {
|
|
17
17
|
if (association.entityType === LegalEntityTypes.INDIVIDUAL || association.entityType === LegalEntityTypes.ORGANIZATION)
|
|
@@ -2,21 +2,22 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
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] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "8dcff3aa-9b54-4c35-a25b-a15963c5f815", e._sentryDebugIdIdentifier = "sentry-dbid-8dcff3aa-9b54-4c35-a25b-a15963c5f815");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import {
|
|
10
|
+
import { useQuery, useMutation } from "@tanstack/preact-query";
|
|
11
|
+
import { b as useApiContext, k as httpGet, an as isEmpty, u as useTranslation, W as useExperimentsContext, V as IconButton, j as httpPost } from "./StoreProvider-D5FOVv9p.js";
|
|
11
12
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
12
13
|
import { useRef, useMemo, useState, useEffect } from "preact/hooks";
|
|
13
|
-
import { F as Field } from "./Field-
|
|
14
|
+
import { F as Field } from "./Field-QQ5BBCkn.js";
|
|
14
15
|
import { L as List } from "./List-BAzyC6sw.js";
|
|
15
|
-
import { S as Select } from "./Select-
|
|
16
|
+
import { S as Select } from "./Select-mBoYJnAZ.js";
|
|
16
17
|
import { signal } from "@preact/signals";
|
|
17
|
-
const fetchIndustryCodes = async (legalEntityId, baseUrl,
|
|
18
|
+
const fetchIndustryCodes = async (legalEntityId, baseUrl, businessLineTypes2, locale) => {
|
|
18
19
|
const results = await Promise.all(
|
|
19
|
-
|
|
20
|
+
businessLineTypes2.map((businessLineType) => {
|
|
20
21
|
return httpGet({
|
|
21
22
|
baseUrl,
|
|
22
23
|
path: `legalEntities/${legalEntityId}/businessLines/${businessLineType}/industryCodes?locale=${locale}`
|
|
@@ -34,11 +35,11 @@ const fetchIndustryCodes = async (legalEntityId, baseUrl, businessLineTypes, loc
|
|
|
34
35
|
}
|
|
35
36
|
return deduped;
|
|
36
37
|
};
|
|
37
|
-
const useIndustryCodes = (
|
|
38
|
+
const useIndustryCodes = (businessLineTypes2, locale, options) => {
|
|
38
39
|
const { rootLegalEntityId, baseUrl } = useApiContext();
|
|
39
40
|
return useQuery({
|
|
40
|
-
queryKey: ["industryCodes",
|
|
41
|
-
queryFn: () => fetchIndustryCodes(rootLegalEntityId.value, baseUrl.value,
|
|
41
|
+
queryKey: ["industryCodes", businessLineTypes2.join(","), locale],
|
|
42
|
+
queryFn: () => fetchIndustryCodes(rootLegalEntityId.value, baseUrl.value, businessLineTypes2, locale),
|
|
42
43
|
...options
|
|
43
44
|
});
|
|
44
45
|
};
|
|
@@ -84,7 +85,7 @@ function IndustryCodeField({
|
|
|
84
85
|
// need to manually set errors due to nested select components
|
|
85
86
|
setValid,
|
|
86
87
|
// need to manually set validation due to nested select components
|
|
87
|
-
businessLineTypes,
|
|
88
|
+
businessLineTypes: businessLineTypes2,
|
|
88
89
|
single = false,
|
|
89
90
|
industryCodes,
|
|
90
91
|
existingBusinessLines
|
|
@@ -102,14 +103,14 @@ function IndustryCodeField({
|
|
|
102
103
|
[industryCodes]
|
|
103
104
|
);
|
|
104
105
|
const selectableIndustryCodes = useMemo(() => {
|
|
105
|
-
if (!
|
|
106
|
+
if (!businessLineTypes2.includes("acquiring")) return allIndustryCodeSelectItems;
|
|
106
107
|
const selectedIds = data.industryCodes?.map((c) => c.id);
|
|
107
108
|
const existingIds = (existingBusinessLines ?? []).map((b) => b.industryCode);
|
|
108
109
|
return allIndustryCodeSelectItems.filter((item) => {
|
|
109
110
|
const isDuplicate = selectedIds?.includes(item.id) || existingIds?.includes(item.id);
|
|
110
111
|
return !isDuplicate;
|
|
111
112
|
});
|
|
112
|
-
}, [allIndustryCodeSelectItems,
|
|
113
|
+
}, [allIndustryCodeSelectItems, businessLineTypes2, data.industryCodes, existingBusinessLines]);
|
|
113
114
|
const selectedCodes = data.industryCodes;
|
|
114
115
|
const [items, setItems] = useState(mapSelectedCodes(selectedCodes));
|
|
115
116
|
useEffect(() => {
|
|
@@ -281,6 +282,7 @@ const businessLinesForms = {
|
|
|
281
282
|
fields: SCTA_FIELD
|
|
282
283
|
}
|
|
283
284
|
};
|
|
285
|
+
const businessLineTypes = ["acquiring"];
|
|
284
286
|
const divider = "adyen-kyc-divider";
|
|
285
287
|
const styles = {
|
|
286
288
|
divider
|
|
@@ -326,12 +328,13 @@ export {
|
|
|
326
328
|
IndustryCodeField as a,
|
|
327
329
|
useCreateBusinessLine as b,
|
|
328
330
|
useUpdateBusinessLine as c,
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
331
|
+
businessLineTypes as d,
|
|
332
|
+
shouldSignNewPci as e,
|
|
333
|
+
SCTA_FIELD as f,
|
|
334
|
+
selectedBusinessLine as g,
|
|
335
|
+
businessLinesConfigurations as h,
|
|
334
336
|
industryCodeFieldMetadata as i,
|
|
337
|
+
businessLinesForms as j,
|
|
335
338
|
salesChannelsWithWebData as s,
|
|
336
339
|
useIndustryCodes as u
|
|
337
340
|
};
|
|
@@ -2,13 +2,14 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
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] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "eb8ea779-a8cc-40ef-a1c3-0f4a3f92f6bf", e._sentryDebugIdIdentifier = "sentry-dbid-eb8ea779-a8cc-40ef-a1c3-0f4a3f92f6bf");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import {
|
|
11
|
-
import { a as useInvalidateRootLegalEntity } from "./useToastContext-
|
|
10
|
+
import { useQueryClient, useMutation } from "@tanstack/preact-query";
|
|
11
|
+
import { a as useInvalidateRootLegalEntity } from "./useToastContext-CY5gBg6O.js";
|
|
12
|
+
import { b as useApiContext, j as httpPost } from "./StoreProvider-D5FOVv9p.js";
|
|
12
13
|
const updateLegalEntity = async (rootLegalEntityId, baseUrl, data) => {
|
|
13
14
|
return httpPost(
|
|
14
15
|
{
|
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
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] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "f54f46a6-16a5-4fb2-be77-4e66c7d49cfd", e._sentryDebugIdIdentifier = "sentry-dbid-f54f46a6-16a5-4fb2-be77-4e66c7d49cfd");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import {
|
|
11
|
+
import { q as LegalEntityTypes, x as Typography } from "./StoreProvider-D5FOVv9p.js";
|
|
12
12
|
import { C as Currencies } from "./currency-CrdnaaDu.js";
|
|
13
|
-
import { l as localizeDateString } from "./localizeDateString-
|
|
13
|
+
import { l as localizeDateString } from "./localizeDateString-DnJ6n3p4.js";
|
|
14
14
|
const formatCurrency = (amount, currency, locale) => {
|
|
15
15
|
const { format } = new Intl.NumberFormat(
|
|
16
16
|
locale,
|
|
@@ -219,9 +219,14 @@ const sourceOfFundsForms = {
|
|
|
219
219
|
fields: [...additionalDataSchemaKeys]
|
|
220
220
|
}
|
|
221
221
|
};
|
|
222
|
-
const
|
|
223
|
-
sourceOfFundsType
|
|
224
|
-
|
|
222
|
+
const getSourceOfFundsRequiredFields = (data) => {
|
|
223
|
+
const sourceOfFundsType = data?.sourceOfFundsType?.type;
|
|
224
|
+
const originatorType = data?.additionalData?.originatorType;
|
|
225
|
+
const additionalDataKeys = getAdditionalDataSchemaKeys(sourceOfFundsType, originatorType);
|
|
226
|
+
return {
|
|
227
|
+
sourceOfFundsType: ["type"],
|
|
228
|
+
additionalData: additionalDataKeys
|
|
229
|
+
};
|
|
225
230
|
};
|
|
226
231
|
const typesRequiringAdditionalData = [
|
|
227
232
|
"business",
|
|
@@ -749,26 +754,25 @@ export {
|
|
|
749
754
|
allowedCurrencies as a,
|
|
750
755
|
formatDateForInput as b,
|
|
751
756
|
formatAmountWithCurrency as c,
|
|
752
|
-
|
|
753
|
-
|
|
757
|
+
getPageHeadings as d,
|
|
758
|
+
getServiceTranslationSelectTitle as e,
|
|
754
759
|
formatCurrency as f,
|
|
755
760
|
getInputErrors as g,
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
761
|
+
getSofCardDetails as h,
|
|
762
|
+
getGettingStartedCardDetails as i,
|
|
763
|
+
getAdditionalDataSchemaKeys as j,
|
|
764
|
+
getServiceTranslation as k,
|
|
765
|
+
getRelevantErrors as l,
|
|
766
|
+
getUniqueRemediationActions as m,
|
|
767
|
+
SOF_INVALID_INPUT_ERROR_CODES as n,
|
|
768
|
+
getServiceTranslationKey as o,
|
|
764
769
|
parseSOFDocumentDescription as p,
|
|
765
|
-
|
|
770
|
+
getDocumentRequirements as q,
|
|
766
771
|
getDocumentLists as r,
|
|
767
772
|
sofCategoryItemMapper as s,
|
|
768
|
-
|
|
773
|
+
getSourceOfFundsRequiredFields as t,
|
|
769
774
|
parseOriginatorDetails as u,
|
|
770
775
|
getSourceOfFundsRequiredForms as v,
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
parseSofOriginatorPayload as y
|
|
776
|
+
getSourceOfFundsPayload as w,
|
|
777
|
+
parseSofOriginatorPayload as x
|
|
774
778
|
};
|
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
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] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "19828d9f-b7b2-4448-806e-d4b0a3f470f1", e._sentryDebugIdIdentifier = "sentry-dbid-19828d9f-b7b2-4448-806e-d4b0a3f470f1");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { C as CompanyTypesValues } from "./bafinUtils-
|
|
11
|
-
import { g as getLegalEntityCountry,
|
|
12
|
-
import { d as allowIndividualWithoutSoleProp } from "./OnboardingDropinComponent-
|
|
13
|
-
import { S as SOLE_PROP_COUNTRIES } from "./rules-
|
|
14
|
-
import { A as ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES } from "./types-
|
|
10
|
+
import { C as CompanyTypesValues } from "./bafinUtils-D-iUsb1z.js";
|
|
11
|
+
import { g as getLegalEntityCountry, bo as getCapabilities, q as LegalEntityTypes, H as hasOwnEntityAssociationOfType, C as CountryCodes } from "./StoreProvider-D5FOVv9p.js";
|
|
12
|
+
import { d as allowIndividualWithoutSoleProp } from "./OnboardingDropinComponent-Druuv3sE.js";
|
|
13
|
+
import { S as SOLE_PROP_COUNTRIES } from "./Individual.rules-nvOffGHU.js";
|
|
14
|
+
import { A as ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES } from "./types-CUp2kEQJ.js";
|
|
15
15
|
const TRUST_COUNTRIES = [CountryCodes.Australia, CountryCodes.NewZealand];
|
|
16
16
|
const BUSINESS_BANK_ACCOUNT_COUNTRIES = [
|
|
17
17
|
CountryCodes.UnitedStates,
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
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] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "17b9d6dc-8710-4fb6-9b2a-4867bd8044c6", e._sentryDebugIdIdentifier = "sentry-dbid-17b9d6dc-8710-4fb6-9b2a-4867bd8044c6");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import {
|
|
10
|
+
import { ai as entriesOf } from "./StoreProvider-D5FOVv9p.js";
|
|
11
11
|
class ValidationResult {
|
|
12
12
|
validationResults;
|
|
13
13
|
constructor(results) {
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
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] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "f73efda0-5bac-4fb0-95fe-8e54d6606937", e._sentryDebugIdIdentifier = "sentry-dbid-f73efda0-5bac-4fb0-95fe-8e54d6606937");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { s as summaryItem } from "./summaryItem-CAQCQSkt.js";
|
|
11
|
-
import { C as CountryCodes } from "./StoreProvider-
|
|
11
|
+
import { C as CountryCodes } from "./StoreProvider-D5FOVv9p.js";
|
|
12
12
|
const addressFields = [
|
|
13
13
|
"address",
|
|
14
14
|
"otherAddressInformation",
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
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] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "961ee9a2-f366-4871-b795-ddf4cb65eab8", e._sentryDebugIdIdentifier = "sentry-dbid-961ee9a2-f366-4871-b795-ddf4cb65eab8");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import {
|
|
10
|
+
import { az as hasText } from "./StoreProvider-D5FOVv9p.js";
|
|
11
11
|
const validateLegalEntityIdentifier = (legalEntityIdentifier) => {
|
|
12
12
|
if (!legalEntityIdentifier) {
|
|
13
13
|
return true;
|
|
@@ -2,13 +2,14 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
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] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "cb66f792-2c89-4977-99d9-59f562eb6bb3", e._sentryDebugIdIdentifier = "sentry-dbid-cb66f792-2c89-4977-99d9-59f562eb6bb3");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import
|
|
11
|
-
import {
|
|
10
|
+
import "@tanstack/preact-query";
|
|
11
|
+
import { j as httpPost, aj as httpDelete, k as httpGet, z as createLogger, ba as StateContext, u as useTranslation, P as useAnalyticsContext, U as Icon, x as Typography, L as Loader, V as IconButton } from "./StoreProvider-D5FOVv9p.js";
|
|
12
|
+
import { g as getLocalizedIdDocumentTypeOptions } from "./utils-DW7BsBmK.js";
|
|
12
13
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
13
14
|
import cx from "classnames";
|
|
14
15
|
import { useEffect } from "preact/hooks";
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
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] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "e884bc3f-9953-40be-ba2c-4b1a04c48e7d", e._sentryDebugIdIdentifier = "sentry-dbid-e884bc3f-9953-40be-ba2c-4b1a04c48e7d");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import {
|
|
10
|
+
import { O as TaskTypes, aY as remediationPayoutApiKeyMapping, aZ as remediationBusinessDetailsApiKeyMapping, a_ as remediationIndividualOnfidoApiKeyMapping } from "./StoreProvider-D5FOVv9p.js";
|
|
11
11
|
import { a as assignToProp } from "./utils-DNSfZiio.js";
|
|
12
12
|
const isMaintenanceModeError = (error) => error && typeof error === "object" && "messageCode" in error && error.messageCode === "maintenanceMode";
|
|
13
13
|
const overrideKeyMapping = {
|
|
@@ -41,7 +41,7 @@ const mapField = (lePath, dropinTask) => {
|
|
|
41
41
|
switch (dropinTask) {
|
|
42
42
|
case TaskTypes.INDIVIDUAL: {
|
|
43
43
|
const mappedPath = overrideKeyMapping?.[TaskTypes.INDIVIDUAL]?.[lePath];
|
|
44
|
-
return mappedPath ? mappedPath :
|
|
44
|
+
return mappedPath ? mappedPath : remediationIndividualOnfidoApiKeyMapping[lePath];
|
|
45
45
|
}
|
|
46
46
|
case TaskTypes.BUSINESS_DETAILS: {
|
|
47
47
|
const mappedPath = overrideKeyMapping?.[TaskTypes.BUSINESS_DETAILS]?.[lePath];
|