@adyen/kyc-components 4.22.0-beta.1 → 4.22.0-beta.3
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-CLA1JNzc.js → AcceptTermsOfServiceWorkflow-B08EtlmQ.js} +4 -4
- package/dist/{Accordion-Cwp-Xc7e.js → Accordion-Sjyj7C_t.js} +1 -1
- package/dist/{AccountSetupRejected-B2h3LRDZ.js → AccountSetupRejected-B3G1SHsJ.js} +1 -1
- package/dist/{AdaptiveWorkflow-BHooRzh_.js → AdaptiveWorkflow-V_qigf7-.js} +17 -17
- package/dist/{AdaptiveWorkflowComponent-D1EALddI.js → AdaptiveWorkflowComponent-336EyYCA.js} +3 -3
- package/dist/{AddressFields-CU23S3JV.js → AddressFields-D0wU-i1V.js} +10 -10
- package/dist/{Avatar-BbOb0bui.js → Avatar-Zp1T9qAL.js} +1 -1
- package/dist/{BusinessFinancingDropin-Cc0oB8ka.js → BusinessFinancingDropin-yvRFdCze.js} +32 -30
- package/dist/{BusinessFinancingPage-D0EmBl9D.js → BusinessFinancingPage-4Q_bb1wK.js} +3 -3
- package/dist/{BusinessRegistrationNumberField-c8mvmS4m.js → BusinessRegistrationNumberField-pxmfE7l9.js} +5 -5
- package/dist/{BusinessRegistrationNumberFieldGroup-DNZALTo_.js → BusinessRegistrationNumberFieldGroup-O1rcBs-z.js} +5 -5
- package/dist/{BusinessTypeSelectionPage-CYjrUqoM.js → BusinessTypeSelectionPage-HqNPKUyC.js} +86 -68
- package/dist/{Button-oqvTDztg.js → Button-DfRmINzF.js} +1 -1
- package/dist/{Checkbox-2Rp9bWYN.js → Checkbox-BHTcJbZA.js} +2 -2
- package/dist/{ComponentGroup-DbWo8fnI.js → ComponentGroup-BuJDKQb8.js} +3 -3
- package/dist/{ConstitutionalDocument-64rqHz7d.js → ConstitutionalDocument-C8lpvZeC.js} +15 -15
- package/dist/{ContactDetails-ucx3UuP8.js → ContactDetails-4aG5xslV.js} +5 -5
- package/dist/{ContextGuidance-CIwiyrm9.js → ContextGuidance-BgefGbGn.js} +3 -3
- package/dist/{Currency-fvQfdQ2i.js → Currency-B310gzYN.js} +5 -5
- package/dist/{CustomerSupport-CHHRYNTG.js → CustomerSupport-zMIH7Ddr.js} +27 -17
- package/dist/{DataConflictsModal-BJHJVW3V.js → DataConflictsModal-BYoWqMXs.js} +7 -7
- package/dist/{DebugModal-CptS2b87.js → DebugModal-CGTlGnVW.js} +10 -10
- package/dist/{DecisionMakerDetails-a_G8S1S9.js → DecisionMakerDetails-DMQwH65p.js} +12 -12
- package/dist/{DecisionMakerDetailsPage-BsiheWPy.js → DecisionMakerDetailsPage-dOUQMqvP.js} +9 -9
- package/dist/{DecisionMakers-DC3r2UzN.js → DecisionMakers-CAiLyM0e.js} +16 -16
- package/dist/{Dropzone-CTdbCPiL.js → Dropzone-fOwOvw2A.js} +7 -7
- package/dist/{EmbeddedStatus-DqanSUWu.js → EmbeddedStatus-tbJfdxm8.js} +3 -3
- package/dist/{EndStateLayout-CRNRpDeu.js → EndStateLayout-BK1Hh02g.js} +2 -2
- package/dist/{EntityAssociation-DqTOqixv.js → EntityAssociation-CRUoaEzO.js} +6 -6
- package/dist/{ErrorPanel-jcVYNW8o.js → ErrorPanel-GYU4QnH3.js} +3 -3
- package/dist/{GlobalEntryModal-Bwy0lfz2.js → GlobalEntryModal-CgeUc1JW.js} +54 -30
- package/dist/{GlobalEntryPage-DPKND7LX.js → GlobalEntryPage-C7RMDhhD.js} +6 -6
- package/dist/{Icon-BblJeZYj.js → Icon-C3S5_kkS.js} +1 -1
- package/dist/{IdentityNumber-D9t0xamT.js → IdentityNumber-D345V6Z3.js} +5 -5
- package/dist/{IdentityNumberFieldGroup-0Ll_77LW.js → IdentityNumberFieldGroup-LTpHCBY-.js} +2 -2
- package/dist/{IdentityScreeningWorkflow-DESXjfuC.js → IdentityScreeningWorkflow-D9Q5vK2G.js} +12 -12
- package/dist/{IndividualDropin-CMejkT3R.js → IndividualDropin-CrJP-yiU.js} +270 -43
- package/dist/{IndustryCodeFieldGroup-xFrcCogG.js → IndustryCodeFieldGroup-CtYtXzok.js} +4 -4
- package/dist/{InputDate-DMcomeFj.js → InputDate-7IWoLbdp.js} +3 -3
- package/dist/{InputText-BqeL5dXt.js → InputText-NwDnv5UV.js} +3 -3
- package/dist/{Introduction-6WPMkIpx.js → Introduction-CoVkhWlU.js} +6 -6
- package/dist/{InvitedDecisionMakerComponent-w0xQxDgC.js → InvitedDecisionMakerComponent-DhjUTF-b.js} +10 -10
- package/dist/{JpAddressFields-Cic1nSNI.js → JpAddressFields-C7A_dZnm.js} +8 -8
- package/dist/{LegalCompanyNameField-Dl60xD84.js → LegalCompanyNameField-B15ekO3h.js} +5 -5
- package/dist/{LegalName-DDKN6L93.js → LegalName-B66u40b_.js} +4 -4
- package/dist/{LegalRepresentativeDetailsPage-B2ubp7Rb.js → LegalRepresentativeDetailsPage-McOA9vxv.js} +5 -5
- package/dist/{Link-Bb1XDrs1.js → Link-c2jAgGgc.js} +1 -1
- package/dist/{ListItem-CI4fqIkg.js → ListItem-C35r8558.js} +3 -3
- package/dist/{Modal-By_wpf9o.js → Modal-DmzJdNRm.js} +2 -2
- package/dist/{Name-BpKVUmoY.js → Name-DkheYSF1.js} +4 -4
- package/dist/{NewSummary-Bmi54FYk.js → NewSummary-P9wU7zdi.js} +6 -6
- package/dist/{PatriotActDisclosure-DsZX3cb-.js → PatriotActDisclosure-Ck9wmVxw.js} +9 -9
- package/dist/{PayoutDetailsDropin-BkzjalFb.js → PayoutDetailsDropin-BxcaUSng.js} +25 -25
- package/dist/{PayoutDetailsPage-BLbHUm0I.js → PayoutDetailsPage-Dx4d9sdi.js} +6 -6
- package/dist/{RadioGroup-e6Ty_ggj.js → RadioGroup-8J8cYf9v.js} +9 -9
- package/dist/{Review-BG_iSaAN.js → Review-xAXBT3NE.js} +6 -6
- package/dist/{RootBusinessDetailsPage-D6ZEfFr4.js → RootBusinessDetailsPage-q8nZnOMw.js} +5 -5
- package/dist/{RootBusinessLinesPage-B6Swhdyx.js → RootBusinessLinesPage-DT6mJ6NP.js} +22 -22
- package/dist/{RootIndividualDetailsPage-2Bu7fbyB.js → RootIndividualDetailsPage-igHdkLEG.js} +6 -6
- package/dist/{Select-CrcaoG0i.js → Select-OTcSv--b.js} +6 -6
- package/dist/{SignPCIComponent-B4Iz8PXX.js → SignPCIComponent-BIqRMJW7.js} +13 -13
- package/dist/{SingpassSelection-D2NSiGzi.js → SingpassSelection-DYoas7CN.js} +4 -4
- package/dist/{SoleProprietorshipPage-bJ6oea6W.js → SoleProprietorshipPage-CB13cWDG.js} +5 -5
- package/dist/{SourceOfFundsPage-Bu9e93PV.js → SourceOfFundsPage-CWbdtoFA.js} +27 -28
- package/dist/{SourceOfFundsWorkflow-CW7McbuG.js → SourceOfFundsWorkflow-CdnXWyIQ.js} +4 -4
- package/dist/{StateField-BnyUQjAj.js → StateField-C_BPqrJu.js} +5 -5
- package/dist/{Step-CZq7qzCe.js → Step-BLmW1Gkf.js} +5 -5
- package/dist/{Task-Jhx4xFyF.js → Task-Bcst0XKv.js} +7 -7
- package/dist/{TaskGroup-CHPDt1lw.js → TaskGroup-BhHJQqW4.js} +3 -3
- package/dist/{TaskListItem-BAHYod3y.js → TaskListItem-9AbXbDql.js} +10 -10
- package/dist/{TaskStepperContextProvider-BtpYUg5S.js → TaskStepperContextProvider-D0tKJplv.js} +1 -1
- package/dist/{TaskVerificationStatus-onOyOzoM.js → TaskVerificationStatus-DPA4ZEPa.js} +1 -1
- package/dist/{TaxInformationFieldGroup-D4bSgrDG.js → TaxInformationFieldGroup-D9D9dylh.js} +9 -9
- package/dist/{TaxReportingDropin-BD-WaKf5.js → TaxReportingDropin-Clq8CW6g.js} +14 -14
- package/dist/{TaxReportingWorkflow-UVCd2CGW.js → TaxReportingWorkflow-cQqU3aXL.js} +4 -4
- package/dist/{TermsOfServiceManagement-Czlvu-_X.js → TermsOfServiceManagement-H4OciUQk.js} +12 -12
- package/dist/{TextArea-Doiwq6Fz.js → TextArea-8hBKDuUz.js} +4 -4
- package/dist/{TrustDetailsPage-Do_Pgp5e.js → TrustDetailsPage-CifQSuLz.js} +25 -25
- package/dist/{TrustMemberCompanyPage-COKJWVwj.js → TrustMemberCompanyPage-DsuFi1h7.js} +6 -6
- package/dist/{TrustMemberIndividualPage-BTzYVATe.js → TrustMemberIndividualPage-CnYa_Ce0.js} +5 -5
- package/dist/{TrustMemberRoleAndTypePage-CvT2NyPL.js → TrustMemberRoleAndTypePage-DiROV17N.js} +15 -15
- package/dist/{TrustMembersOverview-Dx2d70H1.js → TrustMembersOverview-C2UuC9t5.js} +11 -11
- package/dist/{UboTaskItem-DItfn-Pd.js → UboTaskItem-CqUwvBCa.js} +7 -7
- package/dist/{UnincorporatedPartnershipIndividualPage-CLBFd1-S.js → UnincorporatedPartnershipIndividualPage-Btv0z73W.js} +5 -5
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-5RlKVr20.js → UnincorporatedPartnershipMemberCompanyPage-BWjnuikG.js} +6 -6
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-D3j7kPUH.js → UnincorporatedPartnershipMemberRoleAndTypePage-CrpY2YBo.js} +8 -8
- package/dist/{UnincorporatedPartnershipMembersOverview-BrypfDgd.js → UnincorporatedPartnershipMembersOverview-BwWOUKHW.js} +6 -6
- package/dist/{VerificationErrorAlert-Dg0EN5Gg.js → VerificationErrorAlert-M7ywK2-M.js} +3 -3
- package/dist/{Workflow-BbFLvLAf.js → Workflow-RvSRNIdQ.js} +6 -6
- package/dist/{accountHolderUtils-BnH2f3aW.js → accountHolderUtils-oPHUe6-U.js} +1 -1
- package/dist/adyen-business-financing.js +4 -4
- package/dist/adyen-individual-configuration.js +5 -5
- package/dist/adyen-individual-status.js +3 -3
- package/dist/adyen-invited-decision-maker.js +3 -3
- package/dist/adyen-onboarding.js +34 -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 +11 -11
- package/dist/adyen-verification-status.js +3 -3
- package/dist/{bafinUtils-F8i4raV6.js → bafinUtils-zINYd-QL.js} +160 -1053
- package/dist/businessRegistrationNumberPatterns-DeLB_HZ4.js +981 -0
- package/dist/{constants-C1GRcz1y.js → constants-Dp-FBOPm.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-3d6yiTPF.js → error-DDqmmQ4a.js} +3 -3
- package/dist/{form-rules-BhIs9ilj.js → form-rules-WhDvAYOL.js} +7 -7
- package/dist/{formatValidationError-DdKr3rgo.js → formatValidationError-CdyACUip.js} +2 -2
- package/dist/{getDefaultRegistrationNumberType-CfU1YUaz.js → getDefaultRegistrationNumberType-CBt2xgFB.js} +59 -59
- package/dist/{getProblemsForEntity-CfzojTAS.js → getProblemsForEntity-Bh9nSdOW.js} +1 -1
- package/dist/{getTrustedDecisionMakers-Brlr-pKL.js → getTrustedDecisionMakers-DX3nImM5.js} +2 -2
- package/dist/{legalArrangementUtils-skU_cq9L.js → legalArrangementUtils-xvCxpgzJ.js} +48 -2
- package/dist/mapAddressLocalizationToJpAddressSchema-xGmp-RP6.js +26 -0
- package/dist/{mapExistingFile-CDahgHsP.js → mapExistingFile-CwGW1ru4.js} +1 -1
- package/dist/{mapJpAddressSchemaToAddressLocalizations-CWb68lJV.js → mapJpAddressSchemaToAddressLocalizations-DJx0cGCc.js} +3 -4
- package/dist/{mapLegalEntityToIndividualSchema-B3XhBnaa.js → mapLegalEntityToIndividualSchema-BP_k3lew.js} +8 -8
- package/dist/{mapTransferInstrumentToPayoutAccount-n4ffPJ2c.js → mapTransferInstrumentToPayoutAccount-Do0UOu4V.js} +3 -3
- package/dist/{processCapabilities-BfskhjUw.js → processCapabilities-DRD0Aq2i.js} +3 -2
- package/dist/{processValidationErrors-BfqJR1rP.js → processValidationErrors-B2bMDRz6.js} +4 -4
- package/dist/{resolveEnvironment-Bp-RuIhz.js → resolveEnvironment-NL5RPEmW.js} +12 -12
- 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/rules.d.ts +1 -1
- package/dist/types/components/GlobalEntry/utils.d.ts +5 -2
- 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/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/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-C6GnB9nH.js → types-wRlt8bxb.js} +1 -1
- package/dist/{useBusinessDetailsData-UyUhXzON.js → useBusinessDetailsData-BLsxNRYY.js} +89 -109
- package/dist/{useCanSeeIntroduction-C6qXZZe8.js → useCanSeeIntroduction-CJtk3sbc.js} +3 -3
- package/dist/{useDataMissingRemediations-D-NZOgal.js → useDataMissingRemediations-msU1AJvo.js} +1 -1
- package/dist/{useForm-BhfuVkAR.js → useForm-ugD-3r75.js} +3 -3
- package/dist/{useHideTaskStepper-Dlzsx-RK.js → useHideTaskStepper-CbMcV9mk.js} +1 -1
- package/dist/{useId-DqpXTon5.js → useId-BLqna7ut.js} +1 -1
- package/dist/{useNavigate-Xc0HARgb.js → useNavigate-Bl4i4ROG.js} +33 -33
- package/dist/{useSalesChannels-gzi6QOI7.js → useSalesChannels-DeMYvord.js} +3 -3
- package/dist/{useTaskLandedEvent-BXv-wuAJ.js → useTaskLandedEvent-RGsfipqC.js} +2 -2
- package/dist/{useTrustMembers-wjNlRtOm.js → useTrustMembers-FeQlraZJ.js} +2 -2
- package/dist/{useUnincorporatedPartnershipMembers-CfpBIS06.js → useUnincorporatedPartnershipMembers-K5jkCKfJ.js} +1 -1
- package/dist/{utils-P67T6pKI.js → utils-2tir5QtF.js} +1 -1
- package/dist/{utils-DyriwmGv.js → utils-81t38d1p.js} +4 -4
- package/dist/{utils-DebuaWe9.js → utils-Cz7Up17-.js} +9 -18
- package/dist/{validate-DzNLLQoR.js → validate-BDbpNubW.js} +2 -2
- package/dist/{validate-DruWE6jY.js → validate-CZ935egZ.js} +1 -1
- package/dist/{validate-MsZ6MiUq.js → validate-CiLi9-v6.js} +8 -8
- package/dist/{validate-C2fajdCR.js → validate-i-52SWZE.js} +46 -6
- package/dist/{validateExtractionResult-BfwUJj1D.js → validateExtractionResult-dH4TewHf.js} +2 -2
- package/dist/{validationError-DudGlB6v.js → validationError-tamTArFR.js} +2 -2
- package/package.json +1 -1
- package/dist/Individual.rules-4BHmKpNa.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/utils-Br7Ah3uy.js +0 -46
|
@@ -1,13 +1,13 @@
|
|
|
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] = "b4ee5e77-cca2-486b-a485-37f8dc816a1e", e._sentryDebugIdIdentifier = "sentry-dbid-b4ee5e77-cca2-486b-a485-37f8dc816a1e");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { i as initReactI18next, n as addResourceBundles, r as useTranslation } from "./translation-BOm4lmPx.js";
|
|
6
6
|
import { t as createLogger } from "./logger-Z8AeTE4x.js";
|
|
7
|
-
import { t as Icon } from "./Icon-
|
|
7
|
+
import { t as Icon } from "./Icon-C3S5_kkS.js";
|
|
8
8
|
import { t as Typography } from "./Typography-CAc_f5Iq.js";
|
|
9
9
|
import { t as Loader } from "./Loader-BEpMlKm2.js";
|
|
10
|
-
import { n as IconButton, t as Button } from "./Button-
|
|
10
|
+
import { n as IconButton, t as Button } from "./Button-DfRmINzF.js";
|
|
11
11
|
import { a as setSdkTokenHandler, i as refreshSession, n as httpGet, o as ApiProvider, r as httpPost, s as useApiContext } from "./http-DsJtugN1.js";
|
|
12
12
|
import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-QQXN6YOm.js";
|
|
13
13
|
import { t as LegalEntityTypes } from "./legal-entity-type-0MfCGzUf.js";
|
|
@@ -15,17 +15,17 @@ import { t as getLegalEntityCountry } from "./getLegalEntityCountry-CNE5uei8.js"
|
|
|
15
15
|
import { t as SettingsContext } from "./SettingsContext-Dl-9WWCI.js";
|
|
16
16
|
import { c as valuesOf, i as noop, o as entriesOf, s as keysOf, t as cloneObject } from "./genUtils-Ce61IJs8.js";
|
|
17
17
|
import { t as StackLayout } from "./StackLayout-IUdNMDgW.js";
|
|
18
|
-
import { t as TaskVerificationStatus } from "./TaskVerificationStatus-
|
|
18
|
+
import { t as TaskVerificationStatus } from "./TaskVerificationStatus-DPA4ZEPa.js";
|
|
19
19
|
import { i as TaskStatuses, r as TASK_STATUS_PRIORITY } from "./taskStatus-BtekPA8E.js";
|
|
20
20
|
import { t as CountryCodes } from "./country-code-CJk2hdPu.js";
|
|
21
|
-
import { n as Skeleton, t as Accordion } from "./Accordion-
|
|
22
|
-
import { C as EntityTypes, n as getCapabilityProblems, t as getCapabilities, w as CUSTOMER_SUPPORT_DATA_MISSING_ERROR_CODES } from "./processCapabilities-
|
|
21
|
+
import { n as Skeleton, t as Accordion } from "./Accordion-Sjyj7C_t.js";
|
|
22
|
+
import { C as EntityTypes, n as getCapabilityProblems, t as getCapabilities, w as CUSTOMER_SUPPORT_DATA_MISSING_ERROR_CODES } from "./processCapabilities-DRD0Aq2i.js";
|
|
23
23
|
import { t as TaskTypes } from "./taskTypes-3vSkMBDm.js";
|
|
24
24
|
import { a as getLegalRepresentative, i as getDirectEntityAssociations, l as getOwnSoleProprietorshipIdArray } from "./entityAssociationUtil-CLBR9osP.js";
|
|
25
|
-
import { i as getOwnDecisionMakersLegalEntityIds, n as getDecisionMakers, o as hasMinRequiredDecisionMakerCount } from "./decisionMakerRoles-
|
|
25
|
+
import { i as getOwnDecisionMakersLegalEntityIds, n as getDecisionMakers, o as hasMinRequiredDecisionMakerCount } from "./decisionMakerRoles-APTR-Ah_.js";
|
|
26
26
|
import { n as TrustMemberGuidanceLabels, r as TrustMemberTypes } from "./trustMemberGuidance-CgdU2v0j.js";
|
|
27
27
|
import { t as getNestedPropertyKeys } from "./getNestedPropertyKeys-Cd8HKupP.js";
|
|
28
|
-
import { n as isEuCountry, r as isHkSgCountry } from "./country-
|
|
28
|
+
import { n as isEuCountry, r as isHkSgCountry } from "./country-zZC2TAQB.js";
|
|
29
29
|
import i18n from "i18next";
|
|
30
30
|
import { Suspense, lazy } from "preact/compat";
|
|
31
31
|
import { useCallback as useCallback$1, useContext as useContext$1, useEffect as useEffect$1, useMemo as useMemo$1, useReducer, useRef as useRef$1, useState as useState$1 } from "preact/hooks";
|
|
@@ -400,7 +400,7 @@ var useAccountHolder = () => {
|
|
|
400
400
|
//#endregion
|
|
401
401
|
//#region src/hooks/useAnalytics/useAnalytics.ts
|
|
402
402
|
var useAnalytics = ({ userEvents, sessionId, sessionData }) => {
|
|
403
|
-
const sdkVersion = "4.22.0-beta.
|
|
403
|
+
const sdkVersion = "4.22.0-beta.3";
|
|
404
404
|
const { data: rootLegalEntity } = useLegalEntity(ROOT_LE);
|
|
405
405
|
const { mutateAsync } = usePushAnalyticEvent(sessionId ?? "");
|
|
406
406
|
const { accountHolder } = useAccountHolder();
|
|
@@ -513,7 +513,7 @@ var AnalyticsProvider = ({ componentName, children, rootLegalEntityId, locale })
|
|
|
513
513
|
const capabilities = rootLegalEntity?.capabilities && Object.keys(rootLegalEntity.capabilities);
|
|
514
514
|
const shouldTrackPrefilledDetails = capabilities?.includes("receivePayments") && onboardingVersion && onboardingVersion > 1;
|
|
515
515
|
const sessionData = {
|
|
516
|
-
sdkVersion: "4.22.0-beta.
|
|
516
|
+
sdkVersion: "4.22.0-beta.3",
|
|
517
517
|
componentName,
|
|
518
518
|
userAgent: navigator.userAgent,
|
|
519
519
|
legalEntityId: rootLegalEntityId,
|
|
@@ -1785,7 +1785,7 @@ var AllowedCountryGate = ({ children }) => {
|
|
|
1785
1785
|
};
|
|
1786
1786
|
//#endregion
|
|
1787
1787
|
//#region src/components/Shared/devex/DebugListener/DebugListener.tsx
|
|
1788
|
-
var DebugModal = lazy(async () => (await import("./DebugModal-
|
|
1788
|
+
var DebugModal = lazy(async () => (await import("./DebugModal-CGTlGnVW.js")).DebugModal);
|
|
1789
1789
|
/**
|
|
1790
1790
|
* Adds a listener on the page to open the debug modal when the
|
|
1791
1791
|
* debug modal key combination is pressed to open it
|
|
@@ -2485,7 +2485,7 @@ var EmbedShell = ({ children, rootLegalEntityId, settings, features, refreshExpe
|
|
|
2485
2485
|
children: [/* @__PURE__ */ jsx(LanguageSwitcher, { locale }), /* @__PURE__ */ jsxs(StoreProvider, { children: [/* @__PURE__ */ jsx("span", {
|
|
2486
2486
|
id: "sdk-version",
|
|
2487
2487
|
hidden: true,
|
|
2488
|
-
children: "4.22.0-beta.
|
|
2488
|
+
children: "4.22.0-beta.3"
|
|
2489
2489
|
}), /* @__PURE__ */ jsx(AnalyticsProvider, {
|
|
2490
2490
|
componentName,
|
|
2491
2491
|
locale,
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type { LegalEntityTypes } from '../../../../core/models/api/legal-entity-type';
|
|
1
|
+
import type { BusinessEntityType } from '../../../../types/businessEntityType';
|
|
3
2
|
import type { CountryCode } from '../../../../types/datasets/country-code';
|
|
4
3
|
import type { StateCodeUS } from '../../../../types/datasets/state-code';
|
|
5
4
|
export interface BusinessRegistrationNumberFieldGroupProps {
|
|
@@ -8,7 +7,7 @@ export interface BusinessRegistrationNumberFieldGroupProps {
|
|
|
8
7
|
basePath: string;
|
|
9
8
|
country: CountryCode;
|
|
10
9
|
canExempt: boolean;
|
|
11
|
-
companyType?:
|
|
10
|
+
companyType?: BusinessEntityType;
|
|
12
11
|
state?: StateCodeUS;
|
|
13
12
|
helperText?: string;
|
|
14
13
|
invertCompanyTypeFilter?: boolean;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import type { AnyFieldApi } from '@tanstack/preact-form';
|
|
2
|
-
import type { CompanyTypesValue } from '../../../../core/models/api/company-types-value';
|
|
3
2
|
import type { CompanyRegistrationNumberType } from '../../../../components/Shared/fields/BusinessRegistrationNumberField/types';
|
|
3
|
+
import type { BusinessEntityType } from '../../../../types/businessEntityType';
|
|
4
4
|
import type { CountryCode } from '../../../../types/datasets/country-code';
|
|
5
5
|
interface RegistrationNumberTypeSelectorFieldProps {
|
|
6
6
|
field: AnyFieldApi;
|
|
7
7
|
country: CountryCode;
|
|
8
|
-
companyType?:
|
|
8
|
+
companyType?: BusinessEntityType;
|
|
9
9
|
selected: CompanyRegistrationNumberType | 'exempted' | undefined;
|
|
10
10
|
onTypeChange: (type: CompanyRegistrationNumberType | 'exempted') => void;
|
|
11
11
|
exemptedOptionLabel?: string;
|
package/dist/types/adaptiveWorkflow/components/Fields/TaxInformation/TaxIdTypeSelectorField.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import type { AnyFieldApi } from '@tanstack/preact-form';
|
|
2
|
-
import type { CompanyTypesValue } from '../../../../core/models/api/company-types-value';
|
|
3
2
|
import type { LegalEntityTypes } from '../../../../core/models/api/legal-entity-type';
|
|
4
3
|
import type { TaxIdNumberType } from '../../../../components/Shared/fields/TaxInformationField/types';
|
|
4
|
+
import type { BusinessEntityType } from '../../../../types/businessEntityType';
|
|
5
5
|
import type { CountryCode } from '../../../../types/datasets/country-code';
|
|
6
6
|
interface TaxIdTypeSelectorFieldProps {
|
|
7
7
|
field: AnyFieldApi;
|
|
8
8
|
country: CountryCode;
|
|
9
|
-
companyType?:
|
|
9
|
+
companyType?: BusinessEntityType | typeof LegalEntityTypes.INDIVIDUAL;
|
|
10
10
|
selected: TaxIdNumberType | 'exempted' | undefined;
|
|
11
11
|
onTypeChange: (type: TaxIdNumberType | 'exempted') => void;
|
|
12
12
|
exemptedOptionLabel?: string;
|
package/dist/types/adaptiveWorkflow/components/Fields/TaxInformation/TaxInformationFieldGroup.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import type { CompanyTypesValue } from '../../../../core/models/api/company-types-value';
|
|
2
1
|
import type { LegalEntityTypes } from '../../../../core/models/api/legal-entity-type';
|
|
3
|
-
import type { TaxInformation } from '../../../../
|
|
2
|
+
import type { TaxInformation } from '../../../../components/Shared/fields/TaxInformationField/types';
|
|
3
|
+
import type { BusinessEntityType } from '../../../../types/businessEntityType';
|
|
4
4
|
import type { CountryCode } from '../../../../types/datasets/country-code';
|
|
5
5
|
export interface TaxInformationFieldGroupProps {
|
|
6
6
|
/** Dot-notation base path in the form, e.g. "organization". Sub-fields are appended as .taxInformation / .exemptedFromTax / .isUen */
|
|
7
7
|
basePath: string;
|
|
8
8
|
country: CountryCode;
|
|
9
9
|
canExempt: boolean;
|
|
10
|
-
entityType?:
|
|
10
|
+
entityType?: BusinessEntityType | typeof LegalEntityTypes.INDIVIDUAL;
|
|
11
11
|
registrationNumber?: string;
|
|
12
12
|
defaultData?: TaxInformation[];
|
|
13
13
|
labels: {
|
|
@@ -5,7 +5,7 @@ export declare const useCreateLegalEntity: (options?: Omit<MutationOptions<Exist
|
|
|
5
5
|
documentDetails?: import("../../core/models/api/document").DocumentDetail[] | undefined;
|
|
6
6
|
entityAssociations?: import("../../core/models/api/legal-entity-association").LegalEntityAssociation[] | undefined;
|
|
7
7
|
individual?: import("../../core/models/api/individual").Individual | undefined;
|
|
8
|
-
organization?: import("
|
|
8
|
+
organization?: import("../legalEntity/legalEntity.types").OrganizationDto | undefined;
|
|
9
9
|
soleProprietorship?: import("../../core/models/api/sole-proprietor").SoleProprietor | undefined;
|
|
10
10
|
trust?: import("../../core/models/api/trust").Trust | undefined;
|
|
11
11
|
unincorporatedPartnership?: import("../../core/models/api/unincorporated-partnership").UnincorporatedPartnership | undefined;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { components } from '#api/legalEntity/legalEntity.contract';
|
|
2
|
+
import type { TaxInformation } from '../../components/Shared/fields/TaxInformationField/types';
|
|
3
|
+
export type AddressDto = components['schemas']['AddressDto'];
|
|
4
|
+
export type FinancialReportDto = components['schemas']['FinancialReportDto'];
|
|
5
|
+
export type CustomerSupportDto = components['schemas']['SupportDto'];
|
|
6
|
+
export type CompanyType = components['schemas']['CompanyType'];
|
|
7
|
+
export type OrganizationDto = Omit<components['schemas']['OrganizationDto'], 'taxInformation'> & {
|
|
8
|
+
taxInformation?: TaxInformation[];
|
|
9
|
+
};
|
|
@@ -20,7 +20,7 @@ export declare const useLegalEntity: (id: string | typeof ROOT_LE | SkipToken, o
|
|
|
20
20
|
documentDetails?: import("../../core/models/api/document").DocumentDetail[] | undefined;
|
|
21
21
|
entityAssociations?: import("../../core/models/api/legal-entity-association").LegalEntityAssociation[] | undefined;
|
|
22
22
|
individual?: import("../../core/models/api/individual").Individual | undefined;
|
|
23
|
-
organization?: import("
|
|
23
|
+
organization?: import("./legalEntity.types").OrganizationDto | undefined;
|
|
24
24
|
soleProprietorship?: import("../../core/models/api/sole-proprietor").SoleProprietor | undefined;
|
|
25
25
|
trust?: import("../../core/models/api/trust").Trust | undefined;
|
|
26
26
|
unincorporatedPartnership?: import("../../core/models/api/unincorporated-partnership").UnincorporatedPartnership | undefined;
|
|
@@ -37,7 +37,7 @@ export declare const useLegalEntity: (id: string | typeof ROOT_LE | SkipToken, o
|
|
|
37
37
|
documentDetails?: import("../../core/models/api/document").DocumentDetail[] | undefined;
|
|
38
38
|
entityAssociations?: import("../../core/models/api/legal-entity-association").LegalEntityAssociation[] | undefined;
|
|
39
39
|
individual?: import("../../core/models/api/individual").Individual | undefined;
|
|
40
|
-
organization?: import("
|
|
40
|
+
organization?: import("./legalEntity.types").OrganizationDto | undefined;
|
|
41
41
|
soleProprietorship?: import("../../core/models/api/sole-proprietor").SoleProprietor | undefined;
|
|
42
42
|
trust?: import("../../core/models/api/trust").Trust | undefined;
|
|
43
43
|
unincorporatedPartnership?: import("../../core/models/api/unincorporated-partnership").UnincorporatedPartnership | undefined;
|
|
@@ -53,7 +53,7 @@ export declare const useLegalEntities: (ids: string[], options?: QueryOptions<Ex
|
|
|
53
53
|
documentDetails?: import("../../core/models/api/document").DocumentDetail[] | undefined;
|
|
54
54
|
entityAssociations?: import("../../core/models/api/legal-entity-association").LegalEntityAssociation[] | undefined;
|
|
55
55
|
individual?: import("../../core/models/api/individual").Individual | undefined;
|
|
56
|
-
organization?: import("
|
|
56
|
+
organization?: import("./legalEntity.types").OrganizationDto | undefined;
|
|
57
57
|
soleProprietorship?: import("../../core/models/api/sole-proprietor").SoleProprietor | undefined;
|
|
58
58
|
trust?: import("../../core/models/api/trust").Trust | undefined;
|
|
59
59
|
unincorporatedPartnership?: import("../../core/models/api/unincorporated-partnership").UnincorporatedPartnership | undefined;
|
|
@@ -67,7 +67,7 @@ export declare const useLegalEntities: (ids: string[], options?: QueryOptions<Ex
|
|
|
67
67
|
documentDetails?: import("../../core/models/api/document").DocumentDetail[] | undefined;
|
|
68
68
|
entityAssociations?: import("../../core/models/api/legal-entity-association").LegalEntityAssociation[] | undefined;
|
|
69
69
|
individual?: import("../../core/models/api/individual").Individual | undefined;
|
|
70
|
-
organization?: import("
|
|
70
|
+
organization?: import("./legalEntity.types").OrganizationDto | undefined;
|
|
71
71
|
soleProprietorship?: import("../../core/models/api/sole-proprietor").SoleProprietor | undefined;
|
|
72
72
|
trust?: import("../../core/models/api/trust").Trust | undefined;
|
|
73
73
|
unincorporatedPartnership?: import("../../core/models/api/unincorporated-partnership").UnincorporatedPartnership | undefined;
|
|
@@ -81,7 +81,7 @@ export declare const useLegalEntities: (ids: string[], options?: QueryOptions<Ex
|
|
|
81
81
|
documentDetails?: import("../../core/models/api/document").DocumentDetail[] | undefined;
|
|
82
82
|
entityAssociations?: import("../../core/models/api/legal-entity-association").LegalEntityAssociation[] | undefined;
|
|
83
83
|
individual?: import("../../core/models/api/individual").Individual | undefined;
|
|
84
|
-
organization?: import("
|
|
84
|
+
organization?: import("./legalEntity.types").OrganizationDto | undefined;
|
|
85
85
|
soleProprietorship?: import("../../core/models/api/sole-proprietor").SoleProprietor | undefined;
|
|
86
86
|
trust?: import("../../core/models/api/trust").Trust | undefined;
|
|
87
87
|
unincorporatedPartnership?: import("../../core/models/api/unincorporated-partnership").UnincorporatedPartnership | undefined;
|
|
@@ -95,7 +95,7 @@ export declare const useLegalEntities: (ids: string[], options?: QueryOptions<Ex
|
|
|
95
95
|
documentDetails?: import("../../core/models/api/document").DocumentDetail[] | undefined;
|
|
96
96
|
entityAssociations?: import("../../core/models/api/legal-entity-association").LegalEntityAssociation[] | undefined;
|
|
97
97
|
individual?: import("../../core/models/api/individual").Individual | undefined;
|
|
98
|
-
organization?: import("
|
|
98
|
+
organization?: import("./legalEntity.types").OrganizationDto | undefined;
|
|
99
99
|
soleProprietorship?: import("../../core/models/api/sole-proprietor").SoleProprietor | undefined;
|
|
100
100
|
trust?: import("../../core/models/api/trust").Trust | undefined;
|
|
101
101
|
unincorporatedPartnership?: import("../../core/models/api/unincorporated-partnership").UnincorporatedPartnership | undefined;
|
|
@@ -109,7 +109,7 @@ export declare const useLegalEntities: (ids: string[], options?: QueryOptions<Ex
|
|
|
109
109
|
documentDetails?: import("../../core/models/api/document").DocumentDetail[] | undefined;
|
|
110
110
|
entityAssociations?: import("../../core/models/api/legal-entity-association").LegalEntityAssociation[] | undefined;
|
|
111
111
|
individual?: import("../../core/models/api/individual").Individual | undefined;
|
|
112
|
-
organization?: import("
|
|
112
|
+
organization?: import("./legalEntity.types").OrganizationDto | undefined;
|
|
113
113
|
soleProprietorship?: import("../../core/models/api/sole-proprietor").SoleProprietor | undefined;
|
|
114
114
|
trust?: import("../../core/models/api/trust").Trust | undefined;
|
|
115
115
|
unincorporatedPartnership?: import("../../core/models/api/unincorporated-partnership").UnincorporatedPartnership | undefined;
|
|
@@ -6,7 +6,7 @@ export declare const useUpdateLegalEntity: (options?: Omit<MutationOptions<Legal
|
|
|
6
6
|
documentDetails?: import("../../core/models/api/document").DocumentDetail[] | undefined;
|
|
7
7
|
entityAssociations?: import("../../core/models/api/legal-entity-association").LegalEntityAssociation[] | undefined;
|
|
8
8
|
individual?: import("../../core/models/api/individual").Individual | undefined;
|
|
9
|
-
organization?: import("
|
|
9
|
+
organization?: import("./legalEntity.types").OrganizationDto | undefined;
|
|
10
10
|
soleProprietorship?: import("../../core/models/api/sole-proprietor").SoleProprietor | undefined;
|
|
11
11
|
trust?: import("../../core/models/api/trust").Trust | undefined;
|
|
12
12
|
unincorporatedPartnership?: import("../../core/models/api/unincorporated-partnership").UnincorporatedPartnership | undefined;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { CompanyType } from '../../../../api/legalEntity/legalEntity.types';
|
|
2
2
|
import type { BaseInnerFormProps } from '../../../../hooks/useForm/types';
|
|
3
3
|
import type { DateOfIncorporationFieldSchema } from '../../../Shared/fields/DateOfIncorporationField/types';
|
|
4
4
|
import type { DBANameFieldSchema } from '../../../Shared/fields/DBANameField/types';
|
|
@@ -17,5 +17,5 @@ export interface AdditionalInformationSchema extends DBANameFieldSchema, VatNumb
|
|
|
17
17
|
}
|
|
18
18
|
export interface AdditionalInformationProps extends BaseInnerFormProps<AdditionalInformationSchema> {
|
|
19
19
|
country: CountryCode;
|
|
20
|
-
companyType:
|
|
20
|
+
companyType: CompanyType | undefined;
|
|
21
21
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { CompanyType } from '../../../../api/legalEntity/legalEntity.types';
|
|
2
2
|
import type { BaseInnerFormProps } from '../../../../hooks/useForm/types';
|
|
3
3
|
import type { BusinessRegistrationNumberFieldSchema } from '../../../Shared/fields/BusinessRegistrationNumberField/types';
|
|
4
4
|
import type { CountryFieldSchema } from '../../../Shared/fields/CountryField/types';
|
|
@@ -14,6 +14,6 @@ export interface BasicInformationProps extends BaseInnerFormProps<BasicInformati
|
|
|
14
14
|
country: CountryCode;
|
|
15
15
|
disableCountry: boolean;
|
|
16
16
|
isTopLevelEntity: boolean;
|
|
17
|
-
companyType:
|
|
17
|
+
companyType: CompanyType | undefined;
|
|
18
18
|
taskType: BusinessDetailsTasks;
|
|
19
19
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { CompanyType } from '../../../../api/legalEntity/legalEntity.types';
|
|
2
2
|
import type { BaseInnerFormProps } from '../../../../hooks/useForm/types';
|
|
3
3
|
import type { CountryCode } from '../../../../types/datasets/country-code';
|
|
4
4
|
export interface CompanyStructureSchema {
|
|
5
|
-
entityType?:
|
|
5
|
+
entityType?: CompanyType;
|
|
6
6
|
}
|
|
7
7
|
export interface CompanyStructureProps extends BaseInnerFormProps<CompanyStructureSchema> {
|
|
8
8
|
country: CountryCode;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { FinancialReportDto } from '../../../../../api/legalEntity/legalEntity.types';
|
|
2
2
|
import type { FinancialInformationSchema } from '../types';
|
|
3
|
-
export declare const mapFinancialInformationToFinancialReport: ({ currency, financialReportingDate, numberOfEmployees, balanceSheetTotal, annualTurnover, }: FinancialInformationSchema, dateOfIncorporation?: string) =>
|
|
3
|
+
export declare const mapFinancialInformationToFinancialReport: ({ currency, financialReportingDate, numberOfEmployees, balanceSheetTotal, annualTurnover, }: FinancialInformationSchema, dateOfIncorporation?: string) => FinancialReportDto;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { FinancialReportDto } from '../../../../../api/legalEntity/legalEntity.types';
|
|
2
2
|
import type { FinancialInformationSchema } from '../types';
|
|
3
|
-
export declare const mapFinancialReportsToFinancialInformation: (financialReports:
|
|
3
|
+
export declare const mapFinancialReportsToFinancialInformation: (financialReports: FinancialReportDto[], withReportedValueOption?: boolean) => FinancialInformationSchema;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { CompanyType } from '../../../../api/legalEntity/legalEntity.types';
|
|
2
2
|
import type { NsTranslationKey } from '../../../../../types';
|
|
3
3
|
import type { DocumentUploadProps } from '../../../Shared/forms/DocumentUpload/types';
|
|
4
4
|
import type { CountryCode } from '../../../../types/datasets/country-code';
|
|
5
5
|
export interface RegistrationDocumentProps extends Omit<DocumentUploadProps<'registrationDocument'>, 'documentField' | 'documentType'> {
|
|
6
6
|
country: CountryCode;
|
|
7
|
-
companyType:
|
|
7
|
+
companyType: CompanyType | undefined;
|
|
8
8
|
}
|
|
9
9
|
interface CompanyTypeDocuments {
|
|
10
10
|
header: NsTranslationKey<'business'>;
|
|
11
11
|
documents: Array<NsTranslationKey<'business'>>;
|
|
12
12
|
}
|
|
13
|
-
export type AcceptedDocuments = Partial<Record<
|
|
13
|
+
export type AcceptedDocuments = Partial<Record<CompanyType, CompanyTypeDocuments>>;
|
|
14
14
|
export {};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { CompanyType } from '../../../../api/legalEntity/legalEntity.types';
|
|
2
2
|
import type { NsTranslationKey } from '../../../../../types';
|
|
3
3
|
import type { DocumentUploadProps } from '../../../Shared/forms/DocumentUpload/types';
|
|
4
4
|
import type { CountryCode } from '../../../../types/datasets/country-code';
|
|
5
5
|
export interface TaxDocumentProps extends Omit<DocumentUploadProps<'taxDocument'>, 'documentField' | 'documentType'> {
|
|
6
6
|
country: CountryCode;
|
|
7
|
-
companyType:
|
|
7
|
+
companyType: CompanyType | undefined;
|
|
8
8
|
}
|
|
9
9
|
interface CompanyTypeDocuments {
|
|
10
10
|
header: NsTranslationKey<'business'>;
|
|
11
11
|
documents: Array<NsTranslationKey<'business'>>;
|
|
12
12
|
}
|
|
13
|
-
export type AcceptedDocuments = Partial<Record<
|
|
13
|
+
export type AcceptedDocuments = Partial<Record<CompanyType, CompanyTypeDocuments>>;
|
|
14
14
|
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { FeatureName } from '../../../../context/ToggleContext/types';
|
|
2
2
|
import type { ExistingLegalEntity } from '../../../../core/models/api/legal-entity';
|
|
3
|
-
import type { TaxInformation } from '../../../../core/models/api/organization';
|
|
4
3
|
import type { DBANameFieldSchema } from '../../../Shared/fields/DBANameField/types';
|
|
4
|
+
import type { TaxInformation } from '../../../Shared/fields/TaxInformationField/types';
|
|
5
5
|
import type { CountryCode } from '../../../../types/datasets/country-code';
|
|
6
6
|
import type { BasicInformationSchema } from '../../forms/BasicInformation/types';
|
|
7
7
|
import type { BusinessDetailsSchema } from '../../forms/BusinessDetails/types';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { RetrieveAddressSuccessResponse } from '../../../../api/address/address.types';
|
|
2
|
+
import type { CompanyType } from '../../../../api/legalEntity/legalEntity.types';
|
|
2
3
|
import type { FeatureName } from '../../../../context/ToggleContext/types';
|
|
3
|
-
import type { CompanyTypesValue } from '../../../../core/models/api/company-types-value';
|
|
4
4
|
import type { MultiFormState } from '../../../../hooks/useMultiForm/types';
|
|
5
5
|
import type { TFunction } from '../../../../../types';
|
|
6
6
|
import type { CleanseAPIRequestPayload } from '../../../../core/models/api/contracts';
|
|
@@ -17,7 +17,7 @@ import type { BusinessSelectionSchema } from '../../forms/BusinessSelection/type
|
|
|
17
17
|
interface BuildValidatorProps {
|
|
18
18
|
country: CountryCode;
|
|
19
19
|
taxIdNumberType?: TaxIdNumberType;
|
|
20
|
-
companyType?:
|
|
20
|
+
companyType?: CompanyType | 'trust' | 'unincorporatedPartnership';
|
|
21
21
|
registrationNumberType?: CompanyRegistrationNumberType;
|
|
22
22
|
vatNumberType?: VatNumberType;
|
|
23
23
|
state?: StateCodeUS;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import type { CompanySelectionResponse } from '../../../api/companySelection/companySelection.types';
|
|
2
|
-
import type {
|
|
2
|
+
import type { CompanyType } from '../../../api/legalEntity/legalEntity.types';
|
|
3
3
|
import type { Form } from '../../../hooks/useMultiForm/types';
|
|
4
4
|
import { type CountryCode } from '../../../types/datasets/country-code';
|
|
5
5
|
import type { BusinessDetailsSchema } from '../forms/BusinessDetails/types';
|
|
6
6
|
export interface ApplyVerifiedBusinessDataOptions {
|
|
7
7
|
preserveRegistrationNumber?: boolean;
|
|
8
|
-
companyTypeOverride?:
|
|
8
|
+
companyTypeOverride?: CompanyType;
|
|
9
9
|
}
|
|
10
10
|
export declare const applyVerifiedBusinessData: (form: Form<BusinessDetailsSchema>, country: CountryCode, verifiedData: CompanySelectionResponse | undefined, options?: ApplyVerifiedBusinessDataOptions) => void;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
+
import type { CompanyType } from '../../../api/legalEntity/legalEntity.types';
|
|
1
2
|
import type { NsTranslationKey } from '../../../../types';
|
|
2
|
-
import { type CompanyTypesValue } from '../../../core/models/api/company-types-value';
|
|
3
3
|
interface CompanyTypeModel {
|
|
4
|
-
id:
|
|
4
|
+
id: CompanyType;
|
|
5
5
|
name: NsTranslationKey<'business'>;
|
|
6
6
|
description: NsTranslationKey<'business'>;
|
|
7
7
|
}
|
|
8
|
-
export declare const companyTypeMetadata: Partial<Record<
|
|
9
|
-
export declare const companyTypeOptions:
|
|
8
|
+
export declare const companyTypeMetadata: Partial<Record<CompanyType, CompanyTypeModel>>;
|
|
9
|
+
export declare const companyTypeOptions: CompanyType[];
|
|
10
10
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import type { CompanyType } from '../../../api/legalEntity/legalEntity.types';
|
|
1
2
|
import type { BooleanSettingName } from '../../../context/SettingsContext/types';
|
|
2
|
-
import { type CompanyTypesValue } from '../../../core/models/api/company-types-value';
|
|
3
3
|
import type { ExistingLegalEntity } from '../../../core/models/api/legal-entity';
|
|
4
4
|
import type { CompanyRegistrationNumberType } from '../../Shared/fields/BusinessRegistrationNumberField/types';
|
|
5
5
|
import type { TaxIdNumberType } from '../../Shared/fields/TaxInformationField/types';
|
|
@@ -14,4 +14,4 @@ export interface GetAvailableCompanyStructuresProps {
|
|
|
14
14
|
accountHolder: AccountHolderOption | undefined;
|
|
15
15
|
isSettingEnabled: (settingName: BooleanSettingName) => boolean;
|
|
16
16
|
}
|
|
17
|
-
export declare function getAvailableCompanyStructures({ country, registrationNumberType, registrationNumberExempt, taxIdNumberType, legalEntity, accountHolder, isSettingEnabled, }: GetAvailableCompanyStructuresProps):
|
|
17
|
+
export declare function getAvailableCompanyStructures({ country, registrationNumberType, registrationNumberExempt, taxIdNumberType, legalEntity, accountHolder, isSettingEnabled, }: GetAvailableCompanyStructuresProps): CompanyType[];
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { CompanyType, OrganizationDto } from '../../../api/legalEntity/legalEntity.types';
|
|
2
2
|
import type { LegalArrangement } from '../../../core/models/api/legal-arrangement';
|
|
3
|
-
import type { Organization } from '../../../core/models/api/organization';
|
|
4
3
|
import type { Capability, CapabilityName } from '../../../core/models/api/capability';
|
|
5
4
|
import { type LegalEntityType } from '../../../core/models/api/legal-entity-type';
|
|
6
5
|
import type { CompanyNameAndCountrySchema } from '../../Shared/forms/CompanyNameAndCountry/types';
|
|
@@ -8,7 +7,7 @@ import type { CountryCode } from '../../../types/datasets/country-code';
|
|
|
8
7
|
import { REGISTRATION_NUMBER_EXEMPTION_RULES } from '../../../utils/businessUtils';
|
|
9
8
|
import type { BasicInformationSchema } from '../forms/BasicInformation/types';
|
|
10
9
|
import type { BusinessDetailsTasks } from '../tasks/BusinessDetailsDropin/types';
|
|
11
|
-
export declare const transformCountryOfGoverningLawToLegalEntity: (nameAndCountry: CompanyNameAndCountrySchema, organization:
|
|
10
|
+
export declare const transformCountryOfGoverningLawToLegalEntity: (nameAndCountry: CompanyNameAndCountrySchema, organization: OrganizationDto | LegalArrangement) => OrganizationDto | LegalArrangement;
|
|
12
11
|
export declare const isFinancialInformationRequired: (isFinancialInformationFeatureEnabled: boolean, taskType: BusinessDetailsTasks, country: CountryCode, capabilities: Partial<Record<CapabilityName, Capability>> | undefined, rootLegalEntityType: LegalEntityType | undefined) => "REQUIRED" | undefined;
|
|
13
12
|
export declare const getCountryOfGoverningLaw: (isCountryOfGoverningLawEnabled?: boolean, basicData?: BasicInformationSchema) => string | undefined;
|
|
14
13
|
type RegistrationExemptionCountry = keyof typeof REGISTRATION_NUMBER_EXEMPTION_RULES;
|
|
@@ -19,5 +18,5 @@ type RegistrationExemptionCountry = keyof typeof REGISTRATION_NUMBER_EXEMPTION_R
|
|
|
19
18
|
* @returns True if the country allows registration number exemption, false otherwise.
|
|
20
19
|
*/
|
|
21
20
|
export declare const isRegistrationExemptionAllowed: (country: CountryCode) => country is RegistrationExemptionCountry;
|
|
22
|
-
export declare const isRegistrationNumberAbsentStateV4Scenario: (country: CountryCode, entityType?:
|
|
21
|
+
export declare const isRegistrationNumberAbsentStateV4Scenario: (country: CountryCode, entityType?: CompanyType) => boolean;
|
|
23
22
|
export {};
|