@adyen/kyc-components 4.22.0-beta.0 → 4.22.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/{AcceptTermsOfServiceWorkflow-D2mvc_PB.js → AcceptTermsOfServiceWorkflow-BOf_52TF.js} +4 -4
- package/dist/{Accordion-DEivLTcw.js → Accordion-Sjyj7C_t.js} +1 -1
- package/dist/{AccountSetupRejected-pcQcFAhQ.js → AccountSetupRejected-DoYH7MuS.js} +1 -1
- package/dist/{AdaptiveWorkflow-C0EsaW8F.js → AdaptiveWorkflow-ychw-YVL.js} +16 -16
- package/dist/{AdaptiveWorkflowComponent-Nk2CJaU4.js → AdaptiveWorkflowComponent-DFnkomSo.js} +3 -3
- package/dist/{AddressFields-3kqeRdC_.js → AddressFields-CFf-ECTn.js} +10 -10
- package/dist/{Avatar-DHyXCNwV.js → Avatar-Zp1T9qAL.js} +1 -1
- package/dist/{BusinessFinancingDropin-BOECqGNd.js → BusinessFinancingDropin-Dr9GOZI2.js} +31 -31
- package/dist/{BusinessFinancingPage-DSy5an97.js → BusinessFinancingPage-DIHz906_.js} +3 -3
- package/dist/{BusinessRegistrationNumberField-DHccXqsX.js → BusinessRegistrationNumberField-BGZrKxCP.js} +5 -5
- package/dist/{BusinessRegistrationNumberFieldGroup-2e9GKH-i.js → BusinessRegistrationNumberFieldGroup-D4289xzf.js} +5 -5
- package/dist/{BusinessTypeSelectionPage-BraXRUrg.js → BusinessTypeSelectionPage-D7mTXytS.js} +85 -67
- package/dist/{Button-nDbNtBn3.js → Button-DfRmINzF.js} +1 -1
- package/dist/{Checkbox-BiKnP2fS.js → Checkbox-DTQ5Y6L-.js} +2 -2
- package/dist/{ComponentGroup-Due-N8Yz.js → ComponentGroup-DysWDI71.js} +3 -3
- package/dist/{ConstitutionalDocument-CtRHXMb9.js → ConstitutionalDocument-o1_xv4zy.js} +15 -15
- package/dist/{ContactDetails-Syyy5BfB.js → ContactDetails-BUZAvP2T.js} +5 -5
- package/dist/{ContextGuidance-D8leB0D6.js → ContextGuidance-fy9mkvE5.js} +3 -3
- package/dist/{Currency-CFsMnSP0.js → Currency-CfDw1FVZ.js} +5 -5
- package/dist/{CustomerSupport-DqayB3BM.js → CustomerSupport-BRTzBxJt.js} +25 -15
- package/dist/{DataConflictsModal-Bz2SYyi5.js → DataConflictsModal-s-Ss3HdC.js} +7 -7
- package/dist/{DebugModal-fH0uKl1E.js → DebugModal-CbilZSFv.js} +10 -10
- package/dist/{DecisionMakerDetails-7IPREpy1.js → DecisionMakerDetails-CWZUSV8G.js} +12 -12
- package/dist/{DecisionMakerDetailsPage-Bs9q7sxc.js → DecisionMakerDetailsPage-Rtsv9ICS.js} +7 -7
- package/dist/{DecisionMakers-Dw66GRhZ.js → DecisionMakers-BmUjP2RH.js} +13 -13
- package/dist/{Dropzone-CjLSK2UN.js → Dropzone-dnfMEv2T.js} +7 -7
- package/dist/{EmbeddedStatus-BIVFBjzu.js → EmbeddedStatus-tbJfdxm8.js} +3 -3
- package/dist/{EndStateLayout-D2CSEwEn.js → EndStateLayout-BK1Hh02g.js} +2 -2
- package/dist/{EntityAssociation-LF_5ihhI.js → EntityAssociation-CH9G3mlZ.js} +6 -6
- package/dist/{ErrorPanel-tLtZnFnX.js → ErrorPanel-B5suXapM.js} +2 -2
- package/dist/{GlobalEntryModal-CY-t1fGQ.js → GlobalEntryModal-DwhX1CJz.js} +237 -51
- package/dist/{GlobalEntryPage-xX4ruKnx.js → GlobalEntryPage-DPYM9_FS.js} +11 -8
- package/dist/{Icon-BcaP-f1D.js → Icon-C3S5_kkS.js} +1 -1
- package/dist/{IdentityNumber-4ky6SOcb.js → IdentityNumber-BJymypwh.js} +5 -5
- package/dist/{IdentityNumberFieldGroup-BKKmSfLG.js → IdentityNumberFieldGroup-DPfXsI_n.js} +2 -2
- package/dist/{IdentityScreeningWorkflow-D0eNj4nD.js → IdentityScreeningWorkflow-ZVSOyRqF.js} +12 -12
- package/dist/{IndividualDropin-DrQiG_Vy.js → IndividualDropin-B3UfxIu8.js} +269 -45
- package/dist/{IndustryCodeFieldGroup-jm8KFccr.js → IndustryCodeFieldGroup-D5U1t1F-.js} +4 -4
- package/dist/{InputDate-C14J5Af2.js → InputDate-CncTgJYS.js} +3 -3
- package/dist/{InputText-Dr-Wg0uc.js → InputText-Bniyaz3w.js} +3 -3
- package/dist/{Introduction-DXAxkrDG.js → Introduction-BOz_2500.js} +6 -6
- package/dist/{InvitedDecisionMakerComponent-CPMIUjiE.js → InvitedDecisionMakerComponent-DgIv6IG9.js} +9 -9
- package/dist/{JpAddressFields-olKUlhpt.js → JpAddressFields-nEKx7nU_.js} +8 -8
- package/dist/{LegalCompanyNameField-BrdI-awc.js → LegalCompanyNameField-BFm2LIw2.js} +5 -5
- package/dist/{LegalName-CWoSqy0V.js → LegalName-DBvf_laS.js} +4 -4
- package/dist/{LegalRepresentativeDetailsPage-Ca3FLoSd.js → LegalRepresentativeDetailsPage-BVr_AhP6.js} +3 -3
- package/dist/{Link-opuU6bLF.js → Link-c2jAgGgc.js} +1 -1
- package/dist/{ListItem-CbjOa0L_.js → ListItem-C35r8558.js} +3 -3
- package/dist/{Modal-BDNS-0rS.js → Modal-5uXk2vE6.js} +2 -2
- package/dist/{Name-CxlxPgUR.js → Name-CbdY9G9k.js} +4 -4
- package/dist/{NewSummary-mLsovGX8.js → NewSummary-lUp_hg6V.js} +6 -6
- package/dist/{PatriotActDisclosure-kOnDnF8P.js → PatriotActDisclosure-i6txl8sg.js} +9 -9
- package/dist/{PayoutDetailsDropin-CZ77wefd.js → PayoutDetailsDropin-BnDericg.js} +25 -25
- package/dist/{PayoutDetailsPage-Cyy-fDbK.js → PayoutDetailsPage-zLj-XA7a.js} +4 -4
- package/dist/{RadioGroup-C0mNADXE.js → RadioGroup-BcRkK03K.js} +11 -11
- package/dist/{Review-CDtJh9j3.js → Review--lh7xBZJ.js} +6 -6
- package/dist/{RootBusinessDetailsPage-CnVWFx0H.js → RootBusinessDetailsPage-CsOt68pH.js} +3 -3
- package/dist/{RootBusinessLinesPage-Dtx9X-mD.js → RootBusinessLinesPage-CsPTRJHI.js} +20 -20
- package/dist/{RootIndividualDetailsPage-q8PZ0Khk.js → RootIndividualDetailsPage-CROUaWsK.js} +4 -4
- package/dist/{Select-UO37dd_q.js → Select-CAYO1vj-.js} +6 -6
- package/dist/{SignPCIComponent-D21OqVWo.js → SignPCIComponent-iFFWNqDL.js} +13 -13
- package/dist/{SingpassSelection-CRYphIRT.js → SingpassSelection-BKRSs-Xf.js} +4 -4
- package/dist/{SoleProprietorshipPage-BKB0sRiP.js → SoleProprietorshipPage-UvZsbICO.js} +3 -3
- package/dist/{SourceOfFundsPage-C2ZEp0lT.js → SourceOfFundsPage-B5E9w3tI.js} +25 -28
- package/dist/{SourceOfFundsWorkflow-Cy12c7ou.js → SourceOfFundsWorkflow-DgUkjcYh.js} +4 -4
- package/dist/{StateField-CWS8eXex.js → StateField-DB4_kWP5.js} +46 -5
- package/dist/{Step-CYG94mSp.js → Step-CoGy1zas.js} +4 -4
- package/dist/{Task-D6xuGucd.js → Task-DdRNdhJY.js} +7 -7
- package/dist/{TaskGroup-C4ND30dB.js → TaskGroup-yVbg_WHM.js} +3 -3
- package/dist/{TaskListItem-Dc6n6llv.js → TaskListItem-BritELso.js} +10 -10
- package/dist/{TaskStepperContextProvider-CvChF1W5.js → TaskStepperContextProvider-D0tKJplv.js} +1 -1
- package/dist/{TaskVerificationStatus-pjPK5vVN.js → TaskVerificationStatus-DPA4ZEPa.js} +1 -1
- package/dist/{TaxInformationFieldGroup-BACQgHQ7.js → TaxInformationFieldGroup-CYcqRgQt.js} +9 -9
- package/dist/{TaxReportingDropin-DmOclyYQ.js → TaxReportingDropin-Dxt-K1Td.js} +14 -14
- package/dist/{TaxReportingWorkflow-CBEB7oAn.js → TaxReportingWorkflow-xeJVSZxl.js} +4 -4
- package/dist/{TermsOfServiceManagement-No_9QGjv.js → TermsOfServiceManagement-BiqqRcsM.js} +12 -12
- package/dist/{TextArea-BzY5efza.js → TextArea-mN6mmyt0.js} +4 -4
- package/dist/{TrustDetailsPage-BHjbebZX.js → TrustDetailsPage-OuITcLjL.js} +23 -25
- package/dist/{TrustMemberCompanyPage-BSe-Pn1O.js → TrustMemberCompanyPage-BSr2h39m.js} +4 -4
- package/dist/{TrustMemberIndividualPage-DxlZQF6W.js → TrustMemberIndividualPage-D1oTjw8X.js} +3 -3
- package/dist/{TrustMemberRoleAndTypePage-AtlXyfKk.js → TrustMemberRoleAndTypePage-qnLRC07p.js} +15 -16
- package/dist/{TrustMembersOverview-DpmUv4Vj.js → TrustMembersOverview-BhtPLg82.js} +11 -11
- package/dist/{UboTaskItem-ESC2Ze3o.js → UboTaskItem-dmz_L8pF.js} +7 -7
- package/dist/{UnincorporatedPartnershipIndividualPage-BVpz27KZ.js → UnincorporatedPartnershipIndividualPage-BGuseNDd.js} +3 -3
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-BBxtLGt0.js → UnincorporatedPartnershipMemberCompanyPage-DfWEeKVA.js} +4 -4
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-BuI7aE3O.js → UnincorporatedPartnershipMemberRoleAndTypePage-CNrub8wj.js} +8 -8
- package/dist/{UnincorporatedPartnershipMembersOverview-sE8-A2hQ.js → UnincorporatedPartnershipMembersOverview-BISsH8Wm.js} +6 -6
- package/dist/{VerificationErrorAlert-BCEhkhpr.js → VerificationErrorAlert-DAg5VgBd.js} +3 -3
- package/dist/{Workflow-CzSGihyD.js → Workflow-CVwXYQQE.js} +6 -6
- package/dist/{accountHolderUtils-3WiED1-j.js → accountHolderUtils-Dt7JmWab.js} +1 -1
- package/dist/adyen-business-financing.js +4 -4
- package/dist/adyen-individual-configuration.js +3 -3
- package/dist/adyen-individual-status.js +3 -3
- package/dist/adyen-invited-decision-maker.js +3 -3
- package/dist/adyen-onboarding.js +43 -34
- package/dist/adyen-terms-of-service-management.js +3 -3
- package/dist/adyen-terms-of-service-status.js +3 -3
- package/dist/adyen-transfer-instrument-configuration.js +3 -3
- package/dist/adyen-transfer-instrument-management.js +10 -10
- package/dist/adyen-verification-status.js +3 -3
- package/dist/{bafinUtils-h8n1IbJ9.js → bafinUtils-B8teCz7U.js} +160 -1053
- package/dist/businessRegistrationNumberPatterns-DwjKFSlu.js +981 -0
- package/dist/{constants-B9iXz9xK.js → constants-CSVEfRuk.js} +4 -4
- package/dist/{country-DkgapJ4w.js → country-zZC2TAQB.js} +1 -1
- package/dist/{decisionMaker-M0Tm92JR.js → decisionMakerRoles-APTR-Ah_.js} +41 -2
- package/dist/{error-CHFF8jLc.js → error-DhPmKdY4.js} +3 -3
- package/dist/{form-rules-CKwx5XtT.js → form-rules-yTwukXew.js} +6 -6
- package/dist/{formatValidationError-DZ1CxHdw.js → formatValidationError-ChBRk626.js} +2 -2
- package/dist/{getDefaultRegistrationNumberType-6m6DEmW8.js → getDefaultRegistrationNumberType-DPidx6iz.js} +59 -59
- package/dist/{getTrustedDecisionMakers-qs2frwk2.js → getTrustedDecisionMakers-DX3nImM5.js} +2 -2
- package/dist/{legalArrangementUtils-skU_cq9L.js → legalArrangementUtils-xvCxpgzJ.js} +48 -2
- package/dist/mapAddressLocalizationToJpAddressSchema-DEOqm_oJ.js +26 -0
- package/dist/{mapExistingFile-CDahgHsP.js → mapExistingFile-CwGW1ru4.js} +1 -1
- package/dist/{mapJpAddressSchemaToAddressLocalizations-CX2djRYM.js → mapJpAddressSchemaToAddressLocalizations-BcW9wSjn.js} +3 -4
- package/dist/{mapLegalEntityToIndividualSchema-ChE9qTUB.js → mapLegalEntityToIndividualSchema-Ksy4YlcJ.js} +7 -7
- package/dist/{mapTransferInstrumentToPayoutAccount-BmSbFaJJ.js → mapTransferInstrumentToPayoutAccount-BoZaPCSn.js} +2 -2
- package/dist/{processValidationErrors-CRWq2tu-.js → processValidationErrors-BJNiG_SS.js} +3 -3
- package/dist/{resolveEnvironment-D2iMH7UD.js → resolveEnvironment-6rOnOa58.js} +11 -11
- package/dist/types/adaptiveWorkflow/components/Fields/BusinessRegistrationNumber/BusinessRegistrationNumberFieldGroup.d.ts +2 -3
- package/dist/types/adaptiveWorkflow/components/Fields/BusinessRegistrationNumber/RegistrationNumberTypeSelectorField.d.ts +2 -2
- package/dist/types/adaptiveWorkflow/components/Fields/TaxInformation/TaxIdTypeSelectorField.d.ts +2 -2
- package/dist/types/adaptiveWorkflow/components/Fields/TaxInformation/TaxInformationFieldGroup.d.ts +3 -3
- package/dist/types/api/createLegalEntity/useCreateLegalEntity.d.ts +1 -1
- package/dist/types/api/legalEntity/legalEntity.types.d.ts +9 -0
- package/dist/types/api/legalEntity/useLegalEntity.d.ts +7 -7
- package/dist/types/api/legalEntity/useUpdateLegalEntity.d.ts +1 -1
- package/dist/types/components/Business/forms/AdditionalInformation/types.d.ts +2 -2
- package/dist/types/components/Business/forms/BasicInformation/types.d.ts +2 -2
- package/dist/types/components/Business/forms/CompanyStructure/types.d.ts +2 -2
- package/dist/types/components/Business/forms/FinancialInformation/mapping/mapFinancialInformationToFinancialReport.d.ts +2 -2
- package/dist/types/components/Business/forms/FinancialInformation/mapping/mapFinancialReportsToFinancialInformation.d.ts +2 -2
- package/dist/types/components/Business/forms/RegistrationDocument/types.d.ts +3 -3
- package/dist/types/components/Business/forms/TaxDocument/types.d.ts +3 -3
- package/dist/types/components/Business/mapping/businessDetails/mapLegalEntityToBusinessDetailsSchema.d.ts +1 -1
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/validate.d.ts +2 -2
- package/dist/types/components/Business/utils/applyVerifiedBusinessData.d.ts +2 -2
- package/dist/types/components/Business/utils/companyTypeMetadata.d.ts +4 -4
- package/dist/types/components/Business/utils/getAvailableCompanyStructures.d.ts +2 -2
- package/dist/types/components/Business/utils/utils.d.ts +3 -4
- package/dist/types/components/EFP/mapping/businessFinancingKeyMappings.d.ts +96 -102
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/utils.d.ts +5 -6
- package/dist/types/components/EFP/tasks/SourceOfFundsDropin/types.d.ts +2 -2
- package/dist/types/components/EmbeddedDropins/BusinessFinancingComponent/utils.d.ts +2 -2
- package/dist/types/components/GlobalEntry/fields/PaperworkQuestionnaire/PaperworkQuestionnaire.d.ts +5 -0
- package/dist/types/components/GlobalEntry/fields/PaperworkQuestionnaire/types.d.ts +1 -1
- package/dist/types/components/GlobalEntry/fields/PrimaryPartnerTypeField/types.d.ts +1 -1
- package/dist/types/components/GlobalEntry/fields/UnincorporatedOrganizationTypeField/types.d.ts +1 -1
- package/dist/types/components/GlobalEntry/globalEntryKeyMapping.d.ts +15 -0
- package/dist/types/components/GlobalEntry/rules.d.ts +1 -1
- package/dist/types/components/GlobalEntry/tasks/GlobalEntryModal.d.ts +6 -2
- package/dist/types/components/GlobalEntry/tasks/GlobalEntryPage.d.ts +5 -1
- package/dist/types/components/GlobalEntry/utils.d.ts +27 -3
- package/dist/types/components/Individual/forms/IdNowVerificationModal/isIdNowModalOpen.d.ts +1 -1
- package/dist/types/components/Individual/forms/Individual.rules.d.ts +0 -1
- package/dist/types/components/Shared/FormFlow/FormFlow.d.ts +1 -1
- package/dist/types/components/Shared/FormFlow/FormFlow.types.d.ts +1 -0
- package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/RegistrationNumberTypeSelector/CompanyRegistrationNumberTypeSelector.d.ts +2 -2
- package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/RegistrationNumberTypeSelector/getDefaultRegistrationNumberType.d.ts +2 -2
- package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/RegistrationNumberTypeSelector/inferCompanyRegistrationNumberType.d.ts +2 -2
- package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/fieldConfig.d.ts +2 -2
- package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/registrationNumberTypes.d.ts +3 -3
- package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/types.d.ts +3 -4
- package/dist/types/components/Shared/fields/RegistrationAndOperationalAddressFields/utils.d.ts +1 -1
- package/dist/types/components/Shared/fields/TaxInformationField/TaxIdNumberTypeSelector/TaxIdNumberTypeSelector.d.ts +2 -2
- package/dist/types/components/Shared/fields/TaxInformationField/TaxIdNumberTypeSelector/getDefaultTaxIdNumberType.d.ts +3 -4
- package/dist/types/components/Shared/fields/TaxInformationField/TaxIdNumberTypeSelector/inferTaxIdNumberType.d.ts +3 -4
- package/dist/types/components/Shared/fields/TaxInformationField/fieldConfig.d.ts +4 -4
- package/dist/types/components/Shared/fields/TaxInformationField/taxIdNumberTypes.d.ts +5 -4
- package/dist/types/components/Shared/fields/TaxInformationField/types.d.ts +9 -4
- package/dist/types/components/Shared/fields/TaxInformationField/utils.d.ts +1 -1
- package/dist/types/components/Shared/fields/VatNumberField/VatNumberTypeSelector/VatNumberTypeSelector.d.ts +2 -2
- package/dist/types/components/Shared/fields/VatNumberField/types.d.ts +4 -4
- package/dist/types/components/Shared/fields/VatNumberField/vatNumberTypes.d.ts +2 -3
- package/dist/types/components/Shared/forms/Address/localized/jp/mapAddressLocalizationToJpAddressSchema.d.ts +2 -2
- package/dist/types/components/Shared/forms/Address/localized/jp/mapJpAddressSchemaToAddressLocalizations.d.ts +2 -2
- package/dist/types/components/Shared/forms/Address/types.d.ts +3 -7
- package/dist/types/components/Shared/forms/Address/utils.d.ts +1 -1
- package/dist/types/components/Shared/forms/BusinessTypeSelection/useUpdateLegalEntityAndSelectAccountHolder.d.ts +13 -0
- package/dist/types/components/Shared/forms/BusinessTypeSelection/utils.d.ts +3 -3
- package/dist/types/components/Shared/forms/DocumentUpload/types.d.ts +2 -2
- package/dist/types/components/Shared/tasks/CustomerSupport/mapping/mapCustomerSupportSchemaToCustomerSupportType.d.ts +2 -2
- package/dist/types/components/Shared/tasks/CustomerSupport/mapping/mapDtoToCustomerSupportSchema.d.ts +3 -0
- package/dist/types/core/models/api/individual.d.ts +5 -6
- package/dist/types/core/models/api/legal-arrangement.d.ts +6 -6
- package/dist/types/core/models/api/legal-entity.d.ts +2 -2
- package/dist/types/core/user-events.d.ts +2 -2
- package/dist/types/datasets/generators/getCompanyTypeExamplesForCountry.d.ts +3 -3
- package/dist/types/hooks/useDataConflicts.d.ts +2 -2
- package/dist/types/router/routeConfig.d.ts +1 -1
- package/dist/types/types/businessEntityType.d.ts +7 -0
- package/dist/types/utils/addressToString.d.ts +2 -2
- package/dist/types/utils/analytics/debouncedInputEvent.d.ts +1 -1
- package/dist/types/utils/businessUtils.d.ts +18 -7
- package/dist/types/utils/customerSupportUtils.d.ts +2 -2
- package/dist/types/utils/legalArrangementUtils.d.ts +1 -0
- package/dist/types/utils/mapping/documentGuidanceMap.d.ts +1 -1
- package/dist/{types-Bdfu7HN6.js → types-wRlt8bxb.js} +1 -1
- package/dist/{useBusinessDetailsData-DZQuIMNw.js → useBusinessDetailsData-D5WMRXf8.js} +88 -111
- package/dist/{useCanSeeIntroduction-BGYdkMIE.js → useCanSeeIntroduction-47a29qGT.js} +3 -3
- package/dist/{useForm-BJq32Ve1.js → useForm-C8X8Nh_A.js} +3 -3
- package/dist/{useHideTaskStepper-CcCmW80A.js → useHideTaskStepper-CbMcV9mk.js} +1 -1
- package/dist/{useId-BMocIuPK.js → useId-CcjYxxnm.js} +1 -1
- package/dist/{useNavigate-D4ypqPBN.js → useNavigate-ZoEeUtrK.js} +33 -33
- package/dist/{useSalesChannels-BCzs8Xya.js → useSalesChannels-K1tuVs25.js} +3 -3
- package/dist/{useTaskLandedEvent-Cf1fN_gV.js → useTaskLandedEvent-DcX3urqZ.js} +2 -2
- package/dist/{useTrustMembers-DqpnYNNj.js → useTrustMembers-DoRWdimd.js} +2 -2
- package/dist/{useUnincorporatedPartnershipMembers-w3dG_nyc.js → useUnincorporatedPartnershipMembers-K5jkCKfJ.js} +1 -1
- package/dist/{StructuredList-CqZM_5X9.js → utils-CXLiV88a.js} +94 -5
- package/dist/{utils-BMhvbUV1.js → utils-Dm0eoyQ6.js} +8 -17
- package/dist/{validate-BqIbVY0E.js → validate-09Jy2SgA.js} +8 -8
- package/dist/{validate-DiEa5w30.js → validate-BcUs5K_M.js} +46 -6
- package/dist/{validate-RLWN-I5L.js → validate-DnnWVNv6.js} +2 -2
- package/dist/{validate-Dfw99Sal.js → validate-tS-cwVuY.js} +3 -3
- package/dist/{validateExtractionResult-DueyX5oY.js → validateExtractionResult-dH4TewHf.js} +2 -2
- package/dist/{validationError-BhICjGiF.js → validationError-D4d622D3.js} +2 -2
- package/package.json +1 -1
- package/dist/Individual.rules-PKwY3D-0.js +0 -293
- package/dist/decisionMakerRoles-DbKnutwk.js +0 -46
- package/dist/isEmpty-DD8Insy0.js +0 -14
- package/dist/mapAddressLocalizationToJpAddressSchema-CBeBTFmC.js +0 -66
- package/dist/types/core/models/api/address.d.ts +0 -14
- package/dist/types/core/models/api/branchAllocation.d.ts +0 -5
- package/dist/types/core/models/api/company-types-value.d.ts +0 -15
- package/dist/types/core/models/api/customerSupport.d.ts +0 -12
- package/dist/types/core/models/api/financialReport.d.ts +0 -15
- package/dist/types/core/models/api/organization.d.ts +0 -60
- package/dist/useCreateLegalEntity-CYZd_62a.js +0 -24
- package/dist/useUpdateLegalEntity-CvACAgDP.js +0 -29
- package/dist/utils-Br7Ah3uy.js +0 -46
- package/dist/utils-DdHbAadK.js +0 -80
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import type { CompanyType } from '../../../../api/legalEntity/legalEntity.types';
|
|
1
2
|
import type { IconName } from '../../../ui/atoms/Icon/Icon';
|
|
2
3
|
import type { CapabilityName } from '../../../../core/models/api/capability';
|
|
3
|
-
import { type CompanyTypesValue } from '../../../../core/models/api/company-types-value';
|
|
4
4
|
import type { ExistingLegalEntity } from '../../../../core/models/api/legal-entity';
|
|
5
5
|
import { type LegalEntityType } from '../../../../core/models/api/legal-entity-type';
|
|
6
6
|
import type { AccountHolderOption, LegalArrangementOption } from '../../../../types/accountHolder';
|
|
@@ -20,7 +20,7 @@ import type { BusinessType, BusinessTypeMetadata, BusinessTypeModel, LegalArrang
|
|
|
20
20
|
* @param companyTypesValue - the subtype of an organization see CompanyValuesType
|
|
21
21
|
*/
|
|
22
22
|
export declare const organizationTypesToSkipCompanyStructureForm: string[];
|
|
23
|
-
export declare const getBusinessType: (businessTypeItems: Partial<BusinessTypeMetadata>, country: CountryCode, accountHolder: AccountHolderOption | undefined, legalEntityType?: LegalEntityType, companyTypesValue?:
|
|
23
|
+
export declare const getBusinessType: (businessTypeItems: Partial<BusinessTypeMetadata>, country: CountryCode, accountHolder: AccountHolderOption | undefined, legalEntityType?: LegalEntityType, companyTypesValue?: CompanyType | "", capabilities?: CapabilityName[]) => BusinessTypeModel | undefined;
|
|
24
24
|
export declare const businessTypeIcons: Record<BusinessType, IconName>;
|
|
25
25
|
export declare const legalArrangementMetadata: Record<LegalArrangementOption, LegalArrangementModel>;
|
|
26
26
|
export declare const useSelectionOptions: (legalEntityResponse: ExistingLegalEntity) => {
|
|
@@ -32,6 +32,6 @@ export declare const useSelectionOptions: (legalEntityResponse: ExistingLegalEnt
|
|
|
32
32
|
};
|
|
33
33
|
legalArrangementOptions: LegalArrangementOption[];
|
|
34
34
|
};
|
|
35
|
-
export declare const determineOrganizationTypeToUpdate: (targetLegalArrangement?: LegalArrangementOption, currentCompanyTypeValue?:
|
|
35
|
+
export declare const determineOrganizationTypeToUpdate: (targetLegalArrangement?: LegalArrangementOption, currentCompanyTypeValue?: CompanyType) => "partnershipIncorporated" | "associationIncorporated" | "privateCompany" | undefined;
|
|
36
36
|
export declare const getDefaultLegalArrangementOrSuborganizationType: (legalEntityResponse: ExistingLegalEntity | undefined, accountHolder: AccountHolderOption | undefined) => LegalArrangementOption | undefined;
|
|
37
37
|
export declare const getTargetLegalEntityType: (businessType: BusinessType | undefined, legalArrangement: LegalArrangementOption | undefined, trusteeType: TrusteeType | undefined, currentLegalEntityType: LegalEntityType | undefined) => LegalEntityType | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ComponentChild } from 'preact';
|
|
2
|
-
import type {
|
|
2
|
+
import type { CompanyType } from '../../../../api/legalEntity/legalEntity.types';
|
|
3
3
|
import type { DocumentType } from '../../../../core/models/api/document';
|
|
4
4
|
import type { BaseInnerFormProps } from '../../../../hooks/useForm/types';
|
|
5
5
|
import type { NsTranslationKey } from '../../../../../types';
|
|
@@ -22,7 +22,7 @@ export interface DocumentUploadProps<DocumentName extends string> extends BaseIn
|
|
|
22
22
|
}>;
|
|
23
23
|
};
|
|
24
24
|
requiredFields?: (keyof DocumentUploadSchema<DocumentName>)[];
|
|
25
|
-
companyType?:
|
|
25
|
+
companyType?: CompanyType;
|
|
26
26
|
country?: CountryCode;
|
|
27
27
|
supportsMultipleUploads?: boolean;
|
|
28
28
|
maxNumberOfFiles?: number;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { CustomerSupportDto } from '../../../../../api/legalEntity/legalEntity.types';
|
|
2
2
|
import type { CustomerSupportSchema } from '../../../tasks/CustomerSupport/types';
|
|
3
|
-
export declare const mapCustomerSupportSchemaToCustomerSupportType: (customerSupport: CustomerSupportSchema) =>
|
|
3
|
+
export declare const mapCustomerSupportSchemaToCustomerSupportType: (customerSupport: CustomerSupportSchema) => CustomerSupportDto;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { AddressDto, CustomerSupportDto } from '../../../api/legalEntity/legalEntity.types';
|
|
2
|
+
import type { Phone } from '../api/phone';
|
|
2
3
|
import type { ScriptLocalization } from '../api/scriptLocalization';
|
|
4
|
+
import type { TaxInformation } from '../../../components/Shared/fields/TaxInformationField/types';
|
|
3
5
|
import type { CountryCode } from '../../../types/datasets/country-code';
|
|
4
|
-
import type { Address } from './address';
|
|
5
|
-
import type { CustomerSupport } from './customerSupport';
|
|
6
|
-
import type { Phone } from './phone';
|
|
7
6
|
export interface Individual {
|
|
8
7
|
birthData?: {
|
|
9
8
|
dateOfBirth: string;
|
|
@@ -32,7 +31,7 @@ export interface Individual {
|
|
|
32
31
|
};
|
|
33
32
|
nationality?: string;
|
|
34
33
|
phone?: Phone;
|
|
35
|
-
residentialAddress:
|
|
36
|
-
support?:
|
|
34
|
+
residentialAddress: AddressDto;
|
|
35
|
+
support?: CustomerSupportDto;
|
|
37
36
|
taxInformation?: TaxInformation[];
|
|
38
37
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
+
import type { AddressDto, FinancialReportDto } from '../../../api/legalEntity/legalEntity.types';
|
|
2
|
+
import type { TaxInformation } from '../../../components/Shared/fields/TaxInformationField/types';
|
|
3
|
+
import type { VatAbsenceReason } from '../../../components/Shared/fields/VatNumberField/types';
|
|
1
4
|
import type { CountryCode } from '../../../types/datasets/country-code';
|
|
2
|
-
import type { Address } from './address';
|
|
3
|
-
import type { FinancialReport } from './financialReport';
|
|
4
|
-
import type { TaxInformation, VatAbsenceReason } from './organization';
|
|
5
5
|
export interface LegalArrangement {
|
|
6
6
|
name: string;
|
|
7
7
|
countryOfGoverningLaw: CountryCode;
|
|
8
|
-
registeredAddress:
|
|
8
|
+
registeredAddress: AddressDto;
|
|
9
9
|
description?: string;
|
|
10
10
|
doingBusinessAs?: string;
|
|
11
11
|
doingBusinessAsAbsent?: boolean;
|
|
@@ -16,8 +16,8 @@ export interface LegalArrangement {
|
|
|
16
16
|
vatAbsenceReason?: VatAbsenceReason;
|
|
17
17
|
registrationNumber?: string;
|
|
18
18
|
residentialAddressIndicator?: boolean;
|
|
19
|
-
principalPlaceOfBusiness?:
|
|
20
|
-
financialReports?:
|
|
19
|
+
principalPlaceOfBusiness?: AddressDto;
|
|
20
|
+
financialReports?: FinancialReportDto[];
|
|
21
21
|
statusOfLegalProceeding?: string;
|
|
22
22
|
dateOfInitiationOfLegalProceeding?: string;
|
|
23
23
|
economicSector?: string;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import type { PartialDeep, SetRequired } from 'type-fest';
|
|
2
|
+
import type { OrganizationDto } from '../../../api/legalEntity/legalEntity.types';
|
|
2
3
|
import type { Capability, CapabilityName } from './capability';
|
|
3
4
|
import type { DocumentDetail } from './document';
|
|
4
5
|
import type { Individual } from './individual';
|
|
5
6
|
import type { LegalEntityAssociation } from './legal-entity-association';
|
|
6
7
|
import type { LegalEntityType } from './legal-entity-type';
|
|
7
|
-
import type { Organization } from './organization';
|
|
8
8
|
import type { Problem } from './problem';
|
|
9
9
|
import type { SoleProprietor } from './sole-proprietor';
|
|
10
10
|
import type { TransferInstrumentOverview } from './transfer-instrument';
|
|
@@ -16,7 +16,7 @@ export interface LegalEntity {
|
|
|
16
16
|
documentDetails?: DocumentDetail[];
|
|
17
17
|
entityAssociations?: LegalEntityAssociation[];
|
|
18
18
|
individual?: Individual;
|
|
19
|
-
organization?:
|
|
19
|
+
organization?: OrganizationDto;
|
|
20
20
|
soleProprietorship?: SoleProprietor;
|
|
21
21
|
trust?: Trust;
|
|
22
22
|
unincorporatedPartnership?: UnincorporatedPartnership;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { SetOptional } from 'type-fest';
|
|
2
|
-
import type {
|
|
2
|
+
import type { CompanyType } from '../api/legalEntity/legalEntity.types';
|
|
3
3
|
import type { DecisionMakerType } from './models/api/decision-maker-type';
|
|
4
4
|
import type { LegalEntityAssociation, LegalEntityAssociationType } from './models/api/legal-entity-association';
|
|
5
5
|
import type { LegalEntityType } from './models/api/legal-entity-type';
|
|
@@ -64,7 +64,7 @@ export interface AdditionalEventProperties {
|
|
|
64
64
|
'Experiment name'?: string;
|
|
65
65
|
'Variant name'?: string;
|
|
66
66
|
legalEntityName?: string;
|
|
67
|
-
companyStructure?:
|
|
67
|
+
companyStructure?: CompanyType;
|
|
68
68
|
usedAdditionalAddress?: boolean;
|
|
69
69
|
industryCode?: string;
|
|
70
70
|
countryOfRegistration?: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { CompanyType } from '../../api/legalEntity/legalEntity.types';
|
|
2
2
|
import type { CountryCode } from '../../types/datasets/country-code';
|
|
3
|
-
export type CompanyTypeExamples = Partial<Record<
|
|
4
|
-
export declare const useCompanyTypeExamples: (country: CountryCode) => Partial<Record<
|
|
3
|
+
export type CompanyTypeExamples = Partial<Record<CompanyType, string[]>>;
|
|
4
|
+
export declare const useCompanyTypeExamples: (country: CountryCode) => Partial<Record<"associationIncorporated" | "partnershipIncorporated" | "soleProprietorship" | "privateCompany" | "nonProfit" | "listedPublicCompany" | "unlistedPublicCompany" | "governmentalOrganization", string[]>> | undefined;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { AddressDto } from '../api/legalEntity/legalEntity.types';
|
|
2
2
|
import type { DatasetUtil } from '../utils/datasetUtil';
|
|
3
3
|
export type RuleResult<T> = {
|
|
4
4
|
hasConflict: boolean;
|
|
@@ -10,7 +10,7 @@ export declare const defaultConflictRule: <T>(provided?: T, detected?: T) => Rul
|
|
|
10
10
|
* A factory function that returns a conflict rule for the `Address` model.
|
|
11
11
|
* The rule handles enrichment (auto-resolution) and deep equality checks.
|
|
12
12
|
*/
|
|
13
|
-
export declare const createAddressConflictRule: (datasetUtils: DatasetUtil) => ConflictRule<
|
|
13
|
+
export declare const createAddressConflictRule: (datasetUtils: DatasetUtil) => ConflictRule<AddressDto | undefined>;
|
|
14
14
|
type UseDataConflictsReturn<T extends object> = {
|
|
15
15
|
hasConflicts: boolean;
|
|
16
16
|
conflictingProperties: (keyof T)[];
|
|
@@ -4,7 +4,7 @@ import { type GetDefaultTaskParams } from './getDefaultTask';
|
|
|
4
4
|
export declare const Introduction: typeof import("../components/Shared/Introduction/Introduction").Introduction;
|
|
5
5
|
export declare const Adaptive: ({ uiManifest }: import("../adaptiveWorkflow/AdaptiveWorkflow").AdaptiveWorkflowProps) => import("preact/jsx-runtime").JSX.Element;
|
|
6
6
|
export declare const BusinessTypeSelectionPage: ({ onComplete, onBack, }: Pick<import("../components/Shared/forms/BusinessTypeSelection/types").BusinessTypeSelectionProps, "onComplete" | "onBack">) => import("preact/jsx-runtime").JSX.Element;
|
|
7
|
-
export declare const GlobalEntryPage: () => import("preact/jsx-runtime").JSX.Element;
|
|
7
|
+
export declare const GlobalEntryPage: ({ onComplete }: import("../components/GlobalEntry/tasks/GlobalEntryPage").GlobalEntryPageProps) => import("preact/jsx-runtime").JSX.Element;
|
|
8
8
|
export declare const SingpassSelection: (props: import("../components/Shared/SingpassSelection/types").SetUpAccountMethodProps) => import("preact/jsx-runtime").JSX.Element;
|
|
9
9
|
export declare const AccountSetupRejected: typeof import("../components/Shared/AccountSetupRejected/AccountSetupRejected").AccountSetupRejected;
|
|
10
10
|
export declare const DecisionMakers: (props: import("../components/Individual/tasks/DecisionMakers/types").DecisionMakersProps) => import("preact/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { CompanyType } from '../api/legalEntity/legalEntity.types';
|
|
2
|
+
import type { LegalEntityTypes } from '../core/models/api/legal-entity-type';
|
|
3
|
+
/**
|
|
4
|
+
* Union of the LEM organization sub types and entity types that represent a business or business adjacent
|
|
5
|
+
* entity rather than a natural person. Individual is deliberately excluded.
|
|
6
|
+
*/
|
|
7
|
+
export type BusinessEntityType = CompanyType | typeof LegalEntityTypes.TRUST | typeof LegalEntityTypes.UNINCORPORATED_PARTNERSHIP;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { AddressDto } from '../api/legalEntity/legalEntity.types';
|
|
2
2
|
import type { AddressSchema } from '../components/Shared/forms/Address/types';
|
|
3
3
|
import type { DatasetUtil } from './datasetUtil';
|
|
4
4
|
/**
|
|
@@ -7,5 +7,5 @@ import type { DatasetUtil } from './datasetUtil';
|
|
|
7
7
|
* @param address - The Address object from the API (uses `street`, `street2`).
|
|
8
8
|
* @returns An AddressSchema object for use in UI components (uses `street`, `street2`).
|
|
9
9
|
*/
|
|
10
|
-
export declare const mapApiAddressToSchema: (address:
|
|
10
|
+
export declare const mapApiAddressToSchema: (address: AddressDto) => AddressSchema;
|
|
11
11
|
export declare const addressToString: ({ street, street2, postalCode, city, stateOrProvince, country }: AddressSchema, datasetUtils: DatasetUtil) => string;
|
|
@@ -18,7 +18,7 @@ export declare const debouncedInputEvent: (userEvents: UserEvents, properties: {
|
|
|
18
18
|
'Experiment name'?: string | undefined;
|
|
19
19
|
'Variant name'?: string | undefined;
|
|
20
20
|
legalEntityName?: string | undefined;
|
|
21
|
-
companyStructure?: import("../../
|
|
21
|
+
companyStructure?: import("../../api/legalEntity/legalEntity.types").CompanyType | undefined;
|
|
22
22
|
usedAdditionalAddress?: boolean | undefined;
|
|
23
23
|
industryCode?: string | undefined;
|
|
24
24
|
countryOfRegistration?: string | undefined;
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import type { CompanyType, OrganizationDto } from '../api/legalEntity/legalEntity.types';
|
|
2
|
+
import type { LocalizedLegalCompanyNameFieldSchema } from '../components/Shared/fields/LocalizedLegalCompanyNameField/types';
|
|
1
3
|
import type { TaskType } from '../stores/globalStore/taskTypes';
|
|
2
4
|
import { type CountryCode } from '../types/datasets/country-code';
|
|
3
5
|
/**
|
|
@@ -28,13 +30,7 @@ export declare const COUNTRIES_USING_COMPANY_SEARCH: readonly CountryCode[];
|
|
|
28
30
|
* - Empty array: exemption is allowed for that country without entity-type restrictions.
|
|
29
31
|
*
|
|
30
32
|
*/
|
|
31
|
-
export declare const REGISTRATION_NUMBER_EXEMPTION_RULES:
|
|
32
|
-
readonly AU: readonly ["governmentalOrganization", "partnershipIncorporated"];
|
|
33
|
-
readonly DK: readonly ["nonProfit"];
|
|
34
|
-
readonly DE: readonly ["governmentalOrganization", "nonProfit"];
|
|
35
|
-
readonly HK: readonly [];
|
|
36
|
-
readonly NZ: readonly [];
|
|
37
|
-
};
|
|
33
|
+
export declare const REGISTRATION_NUMBER_EXEMPTION_RULES: Partial<Record<CountryCode, CompanyType[]>>;
|
|
38
34
|
export declare const COUNTRIES_THAT_DONT_REQUIRE_COMPANY_REGISTRATION: readonly CountryCode[];
|
|
39
35
|
export declare const COUNTRIES_WITH_OPTIONAL_REGISTRATION_NUMBER: readonly CountryCode[];
|
|
40
36
|
/**
|
|
@@ -55,3 +51,18 @@ export declare const COUNTRIES_WITH_POSSIBLE_REGISTRATION_EXEMPTIONS_FOR_SOLE_PR
|
|
|
55
51
|
export declare const COUNTRIES_THAT_DO_NOT_USE_TAX_ID_FOR_SOLE_PROP: readonly CountryCode[];
|
|
56
52
|
export declare const COUNTRIES_WITH_OPTIONAL_REGISTRATION_NUMBER_SOLE_PROPS: CountryCode[];
|
|
57
53
|
export declare const isUsingCompanySearch: (country: CountryCode, taskType: TaskType) => boolean;
|
|
54
|
+
/**
|
|
55
|
+
* A Japanese business has a kanji legal name and a katakana reading of it, neither of which can be
|
|
56
|
+
* derived from the roman one, so they travel beside it as script localizations.
|
|
57
|
+
*
|
|
58
|
+
* @param data the form section holding the localized name fields, whatever the task calls it
|
|
59
|
+
* @returns the localizations that were filled in, so an empty array when neither was asked for
|
|
60
|
+
*/
|
|
61
|
+
export declare const mapJapaneseLegalNamesToLocalization: (data: Partial<LocalizedLegalCompanyNameFieldSchema>) => NonNullable<OrganizationDto["localization"]>;
|
|
62
|
+
/**
|
|
63
|
+
* Reads the kanji and katakana legal names back out of the script localizations, so they can
|
|
64
|
+
* prefill the fields they came from.
|
|
65
|
+
*
|
|
66
|
+
* @param localization the organization's script localizations, when it has any
|
|
67
|
+
*/
|
|
68
|
+
export declare const mapLocalizationToJapaneseLegalNames: (localization: OrganizationDto["localization"]) => LocalizedLegalCompanyNameFieldSchema;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { CustomerSupportDto } from '../api/legalEntity/legalEntity.types';
|
|
2
2
|
import type { LegalEntity } from '../core/models/api/legal-entity';
|
|
3
|
-
export declare const customerSupportPresubmitProcess: (legalEntityResponse: LegalEntity, legalEntityToSubmit: LegalEntity) =>
|
|
3
|
+
export declare const customerSupportPresubmitProcess: (legalEntityResponse: LegalEntity, legalEntityToSubmit: LegalEntity) => CustomerSupportDto | undefined;
|
|
@@ -10,3 +10,4 @@ export declare const UNINCORPORATED_PARTNERSHIP_COUNTRIES_REGISTRATION_NUMBER_OP
|
|
|
10
10
|
export declare const UNINCORPORATED_PARTNERSHIP_COUNTRIES_TAX_INFORMATION_REQUIRED: CountryCode[];
|
|
11
11
|
export declare const UNINCORPORATED_PARTNERSHIP_COUNTRIES_TAX_INFORMATION_OPTIONAL: CountryCode[];
|
|
12
12
|
export declare const UNINCORPORATED_PARTNERSHIP_COUNTRIES_VAT_NUMBER_OPTIONAL: CountryCode[];
|
|
13
|
+
export declare const SOLE_PROP_COUNTRIES: CountryCode[];
|
|
@@ -2,4 +2,4 @@ import type { DocumentType } from '../../core/models/api/document';
|
|
|
2
2
|
/**
|
|
3
3
|
* Returns the appropriate prefix for the document guidance image based on api documentType.
|
|
4
4
|
*/
|
|
5
|
-
export declare const getDocumentGuidancePrefix: (documentType?: DocumentType) => "document" | "
|
|
5
|
+
export declare const getDocumentGuidancePrefix: (documentType?: DocumentType) => "document" | "id" | "passport";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
try {
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "399d630d-cc86-4e83-9c04-094c3cd6cb04", e._sentryDebugIdIdentifier = "sentry-dbid-399d630d-cc86-4e83-9c04-094c3cd6cb04");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { t as CountryCodes } from "./country-code-CJk2hdPu.js";
|
|
6
6
|
import { t as Currencies } from "./currency-DQwXq9Mc.js";
|