@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
package/dist/isEmpty-DD8Insy0.js
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
try {
|
|
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] = "be4ec6c4-c26e-490d-a7f5-cc6cf87bf0af", e._sentryDebugIdIdentifier = "sentry-dbid-be4ec6c4-c26e-490d-a7f5-cc6cf87bf0af");
|
|
4
|
-
} catch (e) {}
|
|
5
|
-
import { s as keysOf } from "./genUtils-Ce61IJs8.js";
|
|
6
|
-
//#region src/utils/isEmpty.ts
|
|
7
|
-
var isEmpty = (obj, ignoreEmptyProperties = true) => {
|
|
8
|
-
if (obj === null || obj === void 0) return true;
|
|
9
|
-
if (Array.isArray(obj)) return obj.length === 0;
|
|
10
|
-
if (typeof obj !== "object") return false;
|
|
11
|
-
return keysOf(obj).every((key) => !Object.hasOwn(obj, key) || ignoreEmptyProperties && isEmpty(obj[key], true));
|
|
12
|
-
};
|
|
13
|
-
//#endregion
|
|
14
|
-
export { isEmpty as t };
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
try {
|
|
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] = "51198327-b8a2-43af-8ec4-cd269289d49a", e._sentryDebugIdIdentifier = "sentry-dbid-51198327-b8a2-43af-8ec4-cd269289d49a");
|
|
4
|
-
} catch (e) {}
|
|
5
|
-
function mapApiScriptLocalizationToSchemaFields(localization) {
|
|
6
|
-
const schema = {};
|
|
7
|
-
const scriptNameInSchema = localization.script.replace("-", "");
|
|
8
|
-
for (const [field, value] of Object.entries(localization.fields)) schema[scriptNameInSchema + field[0].toUpperCase() + field.slice(1)] = value;
|
|
9
|
-
return schema;
|
|
10
|
-
}
|
|
11
|
-
/**
|
|
12
|
-
* Given a schema and a script, takes the fields prefixed with that script and produces a {@link ScriptLocalization}.
|
|
13
|
-
*
|
|
14
|
-
* E.g.
|
|
15
|
-
* ```ts
|
|
16
|
-
* const schema = {
|
|
17
|
-
* firstName: 'Alex',
|
|
18
|
-
* lastName: 'Tompkins',
|
|
19
|
-
* jaKanaFirstName: 'アレキサンダー',
|
|
20
|
-
* jaKanaLastName: 'パトリック',
|
|
21
|
-
* jaHaniFirstName: 'pretend this is hiragana',
|
|
22
|
-
* jaHaniLastName: 'this too',
|
|
23
|
-
* };
|
|
24
|
-
*
|
|
25
|
-
* const localization = mapSchemaFieldsToApiScriptLocalization(schema, 'jaKana');
|
|
26
|
-
* console.log(localization);
|
|
27
|
-
* // {
|
|
28
|
-
* // script: 'ja-Kana',
|
|
29
|
-
* // fields: { firstName: 'アレキサンダー', lastName: 'パトリック' },
|
|
30
|
-
* // };
|
|
31
|
-
* ```
|
|
32
|
-
*/
|
|
33
|
-
function mapSchemaFieldsToApiScriptLocalization(data, script) {
|
|
34
|
-
const fields = {};
|
|
35
|
-
for (const [schemaField, value] of Object.entries(data)) if (schemaField.startsWith(script)) {
|
|
36
|
-
let fieldName = schemaField.replace(script, "");
|
|
37
|
-
fieldName = fieldName[0].toLowerCase() + fieldName.slice(1);
|
|
38
|
-
fields[fieldName] = value;
|
|
39
|
-
}
|
|
40
|
-
return {
|
|
41
|
-
script: `${script.slice(0, 2)}-${script.slice(2)}`,
|
|
42
|
-
fields
|
|
43
|
-
};
|
|
44
|
-
}
|
|
45
|
-
//#endregion
|
|
46
|
-
//#region src/components/Shared/forms/Address/localized/jp/mapAddressLocalizationToJpAddressSchema.ts
|
|
47
|
-
var mapAddressLocalizationToJpAddressSchema = (localization) => {
|
|
48
|
-
if (!localization) return {};
|
|
49
|
-
let jpAddress = {};
|
|
50
|
-
for (const { script, fields } of localization) {
|
|
51
|
-
const schemaFieldsFromLocalization = mapApiScriptLocalizationToSchemaFields({
|
|
52
|
-
script,
|
|
53
|
-
fields: {
|
|
54
|
-
city: fields.city,
|
|
55
|
-
address: fields.street
|
|
56
|
-
}
|
|
57
|
-
});
|
|
58
|
-
jpAddress = {
|
|
59
|
-
...jpAddress,
|
|
60
|
-
...schemaFieldsFromLocalization
|
|
61
|
-
};
|
|
62
|
-
}
|
|
63
|
-
return jpAddress;
|
|
64
|
-
};
|
|
65
|
-
//#endregion
|
|
66
|
-
export { mapApiScriptLocalizationToSchemaFields as n, mapSchemaFieldsToApiScriptLocalization as r, mapAddressLocalizationToJpAddressSchema as t };
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type { ScriptLocalization } from '../api/scriptLocalization';
|
|
2
|
-
import type { CountryCode } from '../../../types/datasets/country-code';
|
|
3
|
-
export interface Address {
|
|
4
|
-
city?: string;
|
|
5
|
-
country?: CountryCode;
|
|
6
|
-
postalCode?: string;
|
|
7
|
-
stateOrProvince?: string;
|
|
8
|
-
street?: string;
|
|
9
|
-
street2?: string;
|
|
10
|
-
localization?: Array<ScriptLocalization<{
|
|
11
|
-
city?: string;
|
|
12
|
-
street?: string;
|
|
13
|
-
}, 'ja-Hani' | 'ja-Kana'>>;
|
|
14
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* These are the Company type values present in LEM (note these differ from the values present in KYC)
|
|
3
|
-
*/
|
|
4
|
-
export declare const CompanyTypesValues: {
|
|
5
|
-
readonly PRIVATE_COMPANY: "privateCompany";
|
|
6
|
-
readonly PUBLIC_COMPANY: "listedPublicCompany";
|
|
7
|
-
readonly UNLISTED_PUBLIC_COMPANY: "unlistedPublicCompany";
|
|
8
|
-
readonly UNINCORPORATED_PARTNERSHIP: "unincorporatedPartnership";
|
|
9
|
-
readonly INCORPORATED_PARTNERSHIP: "partnershipIncorporated";
|
|
10
|
-
readonly INCORPORATED_ASSOCIATION: "associationIncorporated";
|
|
11
|
-
readonly GOVERNMENTAL_ORGANIZATION: "governmentalOrganization";
|
|
12
|
-
readonly NON_PROFIT_OR_CHARITABLE: "nonProfit";
|
|
13
|
-
readonly SOLE_PROPRIETORSHIP: "soleProprietorship";
|
|
14
|
-
};
|
|
15
|
-
export type CompanyTypesValue = (typeof CompanyTypesValues)[keyof typeof CompanyTypesValues];
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { Phone } from './phone';
|
|
2
|
-
/**
|
|
3
|
-
* Represents customer support contact details.
|
|
4
|
-
*
|
|
5
|
-
* This interface defines the ways customers can reach out for questions or concerns.
|
|
6
|
-
* These details may also appear on shopper bank statements.
|
|
7
|
-
*
|
|
8
|
-
*/
|
|
9
|
-
export interface CustomerSupport {
|
|
10
|
-
phone: Phone;
|
|
11
|
-
email: string;
|
|
12
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import type { Currency } from '../../../types/datasets/currency';
|
|
2
|
-
/**
|
|
3
|
-
* @deprecated This hand-crafted interface duplicates `FinancialReportDto` from
|
|
4
|
-
* `src/api/legalEntity/legalEntity.contract.d.ts` and should be replaced by it.
|
|
5
|
-
* One override will be needed in a `*.types.ts` file when migrating:
|
|
6
|
-
* - `currencyOfFinancialData` — needs narrowing from `string` to the stricter `Currency` type
|
|
7
|
-
*/
|
|
8
|
-
export interface FinancialReport {
|
|
9
|
-
currencyOfFinancialData?: Currency;
|
|
10
|
-
dateOfFinancialData?: string;
|
|
11
|
-
employeeCount?: string;
|
|
12
|
-
balanceSheetTotal?: string;
|
|
13
|
-
netAssets?: string;
|
|
14
|
-
annualTurnover?: string;
|
|
15
|
-
}
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
import type { SetRequired } from 'type-fest';
|
|
2
|
-
import type { ScriptLocalization } from '../api/scriptLocalization';
|
|
3
|
-
import type { TaxReportingClassification } from '../api/tax-reporting-classification';
|
|
4
|
-
import type { TaxIdNumberType } from '../../../components/Shared/fields/TaxInformationField/types';
|
|
5
|
-
import type { CountryCode } from '../../../types/datasets/country-code';
|
|
6
|
-
import type { Address } from './address';
|
|
7
|
-
import type { BranchAllocation } from './branchAllocation';
|
|
8
|
-
import type { CompanyTypesValue } from './company-types-value';
|
|
9
|
-
import type { CustomerSupport } from './customerSupport';
|
|
10
|
-
import type { FinancialReport } from './financialReport';
|
|
11
|
-
import type { Phone } from './phone';
|
|
12
|
-
/**
|
|
13
|
-
* This is the organization data model present in LEM
|
|
14
|
-
*/
|
|
15
|
-
export interface Organization {
|
|
16
|
-
legalName: string;
|
|
17
|
-
localization?: Array<ScriptLocalization<{
|
|
18
|
-
legalName: string;
|
|
19
|
-
}, 'ja-Hani' | 'ja-Kana'>>;
|
|
20
|
-
registeredAddress: SetRequired<Address, 'country'>;
|
|
21
|
-
countryOfGoverningLaw?: CountryCode;
|
|
22
|
-
description?: string;
|
|
23
|
-
doingBusinessAs?: string;
|
|
24
|
-
doingBusinessAsAbsent?: boolean;
|
|
25
|
-
email?: string;
|
|
26
|
-
headOfficeIndicator?: boolean;
|
|
27
|
-
legalFormDescription?: string;
|
|
28
|
-
phone?: Phone;
|
|
29
|
-
principalPlaceOfBusiness?: Address;
|
|
30
|
-
registrationNumber?: string;
|
|
31
|
-
registrationNumberAbsent?: boolean;
|
|
32
|
-
residentialAddressIndicator?: boolean;
|
|
33
|
-
stockData?: {
|
|
34
|
-
marketIdentifier: string;
|
|
35
|
-
stockNumber: string;
|
|
36
|
-
tickerSymbol?: string;
|
|
37
|
-
};
|
|
38
|
-
taxInformation?: TaxInformation[];
|
|
39
|
-
vatNumber?: string;
|
|
40
|
-
vatAbsenceReason?: VatAbsenceReason;
|
|
41
|
-
type?: CompanyTypesValue | '';
|
|
42
|
-
financialReports?: FinancialReport[];
|
|
43
|
-
statusOfLegalProceeding?: string;
|
|
44
|
-
dateOfInitiationOfLegalProceeding?: string;
|
|
45
|
-
dateOfIncorporation?: string;
|
|
46
|
-
economicSector?: string;
|
|
47
|
-
legalForm?: string;
|
|
48
|
-
globalLegalEntityIdentifier?: string;
|
|
49
|
-
eInvoicingCode?: string;
|
|
50
|
-
support?: CustomerSupport;
|
|
51
|
-
taxReportingClassification?: TaxReportingClassification;
|
|
52
|
-
branchAllocation?: BranchAllocation;
|
|
53
|
-
}
|
|
54
|
-
export type VatAbsenceReason = 'industryExemption' | 'belowTaxThreshold' | 'countryWithoutVatOrGstSystem' | '';
|
|
55
|
-
export type TaxInformation = {
|
|
56
|
-
country: CountryCode;
|
|
57
|
-
number?: string;
|
|
58
|
-
type?: TaxIdNumberType;
|
|
59
|
-
numberAbsent?: boolean;
|
|
60
|
-
};
|
package/dist/utils-Br7Ah3uy.js
DELETED
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
try {
|
|
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] = "ce7bb63d-f3e8-4fae-ad79-27a267ba2ffa", e._sentryDebugIdIdentifier = "sentry-dbid-ce7bb63d-f3e8-4fae-ad79-27a267ba2ffa");
|
|
4
|
-
} catch (e) {}
|
|
5
|
-
import { t as CountryCodes } from "./country-code-CJk2hdPu.js";
|
|
6
|
-
//#region src/components/Individual/forms/IdDocumentUpload/utils.ts
|
|
7
|
-
function getLocalizedIdDocumentTypeOptions(country) {
|
|
8
|
-
switch (country) {
|
|
9
|
-
case CountryCodes.Japan: return [
|
|
10
|
-
{
|
|
11
|
-
id: "driversLicense",
|
|
12
|
-
name: "driversLicense",
|
|
13
|
-
hasBackPage: true
|
|
14
|
-
},
|
|
15
|
-
{
|
|
16
|
-
id: "passport",
|
|
17
|
-
name: "passport",
|
|
18
|
-
hasBackPage: false
|
|
19
|
-
},
|
|
20
|
-
{
|
|
21
|
-
id: "identityCard",
|
|
22
|
-
name: "identityCard__JP",
|
|
23
|
-
hasBackPage: true
|
|
24
|
-
}
|
|
25
|
-
];
|
|
26
|
-
default: return [
|
|
27
|
-
{
|
|
28
|
-
id: "driversLicense",
|
|
29
|
-
name: "driversLicense",
|
|
30
|
-
hasBackPage: true
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
id: "passport",
|
|
34
|
-
name: "passport",
|
|
35
|
-
hasBackPage: false
|
|
36
|
-
},
|
|
37
|
-
{
|
|
38
|
-
id: "identityCard",
|
|
39
|
-
name: "identityCard",
|
|
40
|
-
hasBackPage: true
|
|
41
|
-
}
|
|
42
|
-
];
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
//#endregion
|
|
46
|
-
export { getLocalizedIdDocumentTypeOptions as t };
|