@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.
Files changed (225) hide show
  1. package/dist/{AcceptTermsOfServiceWorkflow-CLA1JNzc.js → AcceptTermsOfServiceWorkflow-B08EtlmQ.js} +4 -4
  2. package/dist/{Accordion-Cwp-Xc7e.js → Accordion-Sjyj7C_t.js} +1 -1
  3. package/dist/{AccountSetupRejected-B2h3LRDZ.js → AccountSetupRejected-B3G1SHsJ.js} +1 -1
  4. package/dist/{AdaptiveWorkflow-BHooRzh_.js → AdaptiveWorkflow-V_qigf7-.js} +17 -17
  5. package/dist/{AdaptiveWorkflowComponent-D1EALddI.js → AdaptiveWorkflowComponent-336EyYCA.js} +3 -3
  6. package/dist/{AddressFields-CU23S3JV.js → AddressFields-D0wU-i1V.js} +10 -10
  7. package/dist/{Avatar-BbOb0bui.js → Avatar-Zp1T9qAL.js} +1 -1
  8. package/dist/{BusinessFinancingDropin-Cc0oB8ka.js → BusinessFinancingDropin-yvRFdCze.js} +32 -30
  9. package/dist/{BusinessFinancingPage-D0EmBl9D.js → BusinessFinancingPage-4Q_bb1wK.js} +3 -3
  10. package/dist/{BusinessRegistrationNumberField-c8mvmS4m.js → BusinessRegistrationNumberField-pxmfE7l9.js} +5 -5
  11. package/dist/{BusinessRegistrationNumberFieldGroup-DNZALTo_.js → BusinessRegistrationNumberFieldGroup-O1rcBs-z.js} +5 -5
  12. package/dist/{BusinessTypeSelectionPage-CYjrUqoM.js → BusinessTypeSelectionPage-HqNPKUyC.js} +86 -68
  13. package/dist/{Button-oqvTDztg.js → Button-DfRmINzF.js} +1 -1
  14. package/dist/{Checkbox-2Rp9bWYN.js → Checkbox-BHTcJbZA.js} +2 -2
  15. package/dist/{ComponentGroup-DbWo8fnI.js → ComponentGroup-BuJDKQb8.js} +3 -3
  16. package/dist/{ConstitutionalDocument-64rqHz7d.js → ConstitutionalDocument-C8lpvZeC.js} +15 -15
  17. package/dist/{ContactDetails-ucx3UuP8.js → ContactDetails-4aG5xslV.js} +5 -5
  18. package/dist/{ContextGuidance-CIwiyrm9.js → ContextGuidance-BgefGbGn.js} +3 -3
  19. package/dist/{Currency-fvQfdQ2i.js → Currency-B310gzYN.js} +5 -5
  20. package/dist/{CustomerSupport-CHHRYNTG.js → CustomerSupport-zMIH7Ddr.js} +27 -17
  21. package/dist/{DataConflictsModal-BJHJVW3V.js → DataConflictsModal-BYoWqMXs.js} +7 -7
  22. package/dist/{DebugModal-CptS2b87.js → DebugModal-CGTlGnVW.js} +10 -10
  23. package/dist/{DecisionMakerDetails-a_G8S1S9.js → DecisionMakerDetails-DMQwH65p.js} +12 -12
  24. package/dist/{DecisionMakerDetailsPage-BsiheWPy.js → DecisionMakerDetailsPage-dOUQMqvP.js} +9 -9
  25. package/dist/{DecisionMakers-DC3r2UzN.js → DecisionMakers-CAiLyM0e.js} +16 -16
  26. package/dist/{Dropzone-CTdbCPiL.js → Dropzone-fOwOvw2A.js} +7 -7
  27. package/dist/{EmbeddedStatus-DqanSUWu.js → EmbeddedStatus-tbJfdxm8.js} +3 -3
  28. package/dist/{EndStateLayout-CRNRpDeu.js → EndStateLayout-BK1Hh02g.js} +2 -2
  29. package/dist/{EntityAssociation-DqTOqixv.js → EntityAssociation-CRUoaEzO.js} +6 -6
  30. package/dist/{ErrorPanel-jcVYNW8o.js → ErrorPanel-GYU4QnH3.js} +3 -3
  31. package/dist/{GlobalEntryModal-Bwy0lfz2.js → GlobalEntryModal-CgeUc1JW.js} +54 -30
  32. package/dist/{GlobalEntryPage-DPKND7LX.js → GlobalEntryPage-C7RMDhhD.js} +6 -6
  33. package/dist/{Icon-BblJeZYj.js → Icon-C3S5_kkS.js} +1 -1
  34. package/dist/{IdentityNumber-D9t0xamT.js → IdentityNumber-D345V6Z3.js} +5 -5
  35. package/dist/{IdentityNumberFieldGroup-0Ll_77LW.js → IdentityNumberFieldGroup-LTpHCBY-.js} +2 -2
  36. package/dist/{IdentityScreeningWorkflow-DESXjfuC.js → IdentityScreeningWorkflow-D9Q5vK2G.js} +12 -12
  37. package/dist/{IndividualDropin-CMejkT3R.js → IndividualDropin-CrJP-yiU.js} +270 -43
  38. package/dist/{IndustryCodeFieldGroup-xFrcCogG.js → IndustryCodeFieldGroup-CtYtXzok.js} +4 -4
  39. package/dist/{InputDate-DMcomeFj.js → InputDate-7IWoLbdp.js} +3 -3
  40. package/dist/{InputText-BqeL5dXt.js → InputText-NwDnv5UV.js} +3 -3
  41. package/dist/{Introduction-6WPMkIpx.js → Introduction-CoVkhWlU.js} +6 -6
  42. package/dist/{InvitedDecisionMakerComponent-w0xQxDgC.js → InvitedDecisionMakerComponent-DhjUTF-b.js} +10 -10
  43. package/dist/{JpAddressFields-Cic1nSNI.js → JpAddressFields-C7A_dZnm.js} +8 -8
  44. package/dist/{LegalCompanyNameField-Dl60xD84.js → LegalCompanyNameField-B15ekO3h.js} +5 -5
  45. package/dist/{LegalName-DDKN6L93.js → LegalName-B66u40b_.js} +4 -4
  46. package/dist/{LegalRepresentativeDetailsPage-B2ubp7Rb.js → LegalRepresentativeDetailsPage-McOA9vxv.js} +5 -5
  47. package/dist/{Link-Bb1XDrs1.js → Link-c2jAgGgc.js} +1 -1
  48. package/dist/{ListItem-CI4fqIkg.js → ListItem-C35r8558.js} +3 -3
  49. package/dist/{Modal-By_wpf9o.js → Modal-DmzJdNRm.js} +2 -2
  50. package/dist/{Name-BpKVUmoY.js → Name-DkheYSF1.js} +4 -4
  51. package/dist/{NewSummary-Bmi54FYk.js → NewSummary-P9wU7zdi.js} +6 -6
  52. package/dist/{PatriotActDisclosure-DsZX3cb-.js → PatriotActDisclosure-Ck9wmVxw.js} +9 -9
  53. package/dist/{PayoutDetailsDropin-BkzjalFb.js → PayoutDetailsDropin-BxcaUSng.js} +25 -25
  54. package/dist/{PayoutDetailsPage-BLbHUm0I.js → PayoutDetailsPage-Dx4d9sdi.js} +6 -6
  55. package/dist/{RadioGroup-e6Ty_ggj.js → RadioGroup-8J8cYf9v.js} +9 -9
  56. package/dist/{Review-BG_iSaAN.js → Review-xAXBT3NE.js} +6 -6
  57. package/dist/{RootBusinessDetailsPage-D6ZEfFr4.js → RootBusinessDetailsPage-q8nZnOMw.js} +5 -5
  58. package/dist/{RootBusinessLinesPage-B6Swhdyx.js → RootBusinessLinesPage-DT6mJ6NP.js} +22 -22
  59. package/dist/{RootIndividualDetailsPage-2Bu7fbyB.js → RootIndividualDetailsPage-igHdkLEG.js} +6 -6
  60. package/dist/{Select-CrcaoG0i.js → Select-OTcSv--b.js} +6 -6
  61. package/dist/{SignPCIComponent-B4Iz8PXX.js → SignPCIComponent-BIqRMJW7.js} +13 -13
  62. package/dist/{SingpassSelection-D2NSiGzi.js → SingpassSelection-DYoas7CN.js} +4 -4
  63. package/dist/{SoleProprietorshipPage-bJ6oea6W.js → SoleProprietorshipPage-CB13cWDG.js} +5 -5
  64. package/dist/{SourceOfFundsPage-Bu9e93PV.js → SourceOfFundsPage-CWbdtoFA.js} +27 -28
  65. package/dist/{SourceOfFundsWorkflow-CW7McbuG.js → SourceOfFundsWorkflow-CdnXWyIQ.js} +4 -4
  66. package/dist/{StateField-BnyUQjAj.js → StateField-C_BPqrJu.js} +5 -5
  67. package/dist/{Step-CZq7qzCe.js → Step-BLmW1Gkf.js} +5 -5
  68. package/dist/{Task-Jhx4xFyF.js → Task-Bcst0XKv.js} +7 -7
  69. package/dist/{TaskGroup-CHPDt1lw.js → TaskGroup-BhHJQqW4.js} +3 -3
  70. package/dist/{TaskListItem-BAHYod3y.js → TaskListItem-9AbXbDql.js} +10 -10
  71. package/dist/{TaskStepperContextProvider-BtpYUg5S.js → TaskStepperContextProvider-D0tKJplv.js} +1 -1
  72. package/dist/{TaskVerificationStatus-onOyOzoM.js → TaskVerificationStatus-DPA4ZEPa.js} +1 -1
  73. package/dist/{TaxInformationFieldGroup-D4bSgrDG.js → TaxInformationFieldGroup-D9D9dylh.js} +9 -9
  74. package/dist/{TaxReportingDropin-BD-WaKf5.js → TaxReportingDropin-Clq8CW6g.js} +14 -14
  75. package/dist/{TaxReportingWorkflow-UVCd2CGW.js → TaxReportingWorkflow-cQqU3aXL.js} +4 -4
  76. package/dist/{TermsOfServiceManagement-Czlvu-_X.js → TermsOfServiceManagement-H4OciUQk.js} +12 -12
  77. package/dist/{TextArea-Doiwq6Fz.js → TextArea-8hBKDuUz.js} +4 -4
  78. package/dist/{TrustDetailsPage-Do_Pgp5e.js → TrustDetailsPage-CifQSuLz.js} +25 -25
  79. package/dist/{TrustMemberCompanyPage-COKJWVwj.js → TrustMemberCompanyPage-DsuFi1h7.js} +6 -6
  80. package/dist/{TrustMemberIndividualPage-BTzYVATe.js → TrustMemberIndividualPage-CnYa_Ce0.js} +5 -5
  81. package/dist/{TrustMemberRoleAndTypePage-CvT2NyPL.js → TrustMemberRoleAndTypePage-DiROV17N.js} +15 -15
  82. package/dist/{TrustMembersOverview-Dx2d70H1.js → TrustMembersOverview-C2UuC9t5.js} +11 -11
  83. package/dist/{UboTaskItem-DItfn-Pd.js → UboTaskItem-CqUwvBCa.js} +7 -7
  84. package/dist/{UnincorporatedPartnershipIndividualPage-CLBFd1-S.js → UnincorporatedPartnershipIndividualPage-Btv0z73W.js} +5 -5
  85. package/dist/{UnincorporatedPartnershipMemberCompanyPage-5RlKVr20.js → UnincorporatedPartnershipMemberCompanyPage-BWjnuikG.js} +6 -6
  86. package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-D3j7kPUH.js → UnincorporatedPartnershipMemberRoleAndTypePage-CrpY2YBo.js} +8 -8
  87. package/dist/{UnincorporatedPartnershipMembersOverview-BrypfDgd.js → UnincorporatedPartnershipMembersOverview-BwWOUKHW.js} +6 -6
  88. package/dist/{VerificationErrorAlert-Dg0EN5Gg.js → VerificationErrorAlert-M7ywK2-M.js} +3 -3
  89. package/dist/{Workflow-BbFLvLAf.js → Workflow-RvSRNIdQ.js} +6 -6
  90. package/dist/{accountHolderUtils-BnH2f3aW.js → accountHolderUtils-oPHUe6-U.js} +1 -1
  91. package/dist/adyen-business-financing.js +4 -4
  92. package/dist/adyen-individual-configuration.js +5 -5
  93. package/dist/adyen-individual-status.js +3 -3
  94. package/dist/adyen-invited-decision-maker.js +3 -3
  95. package/dist/adyen-onboarding.js +34 -34
  96. package/dist/adyen-terms-of-service-management.js +3 -3
  97. package/dist/adyen-terms-of-service-status.js +3 -3
  98. package/dist/adyen-transfer-instrument-configuration.js +3 -3
  99. package/dist/adyen-transfer-instrument-management.js +11 -11
  100. package/dist/adyen-verification-status.js +3 -3
  101. package/dist/{bafinUtils-F8i4raV6.js → bafinUtils-zINYd-QL.js} +160 -1053
  102. package/dist/businessRegistrationNumberPatterns-DeLB_HZ4.js +981 -0
  103. package/dist/{constants-C1GRcz1y.js → constants-Dp-FBOPm.js} +4 -4
  104. package/dist/{country-DkgapJ4w.js → country-zZC2TAQB.js} +1 -1
  105. package/dist/{decisionMaker-M0Tm92JR.js → decisionMakerRoles-APTR-Ah_.js} +41 -2
  106. package/dist/{error-3d6yiTPF.js → error-DDqmmQ4a.js} +3 -3
  107. package/dist/{form-rules-BhIs9ilj.js → form-rules-WhDvAYOL.js} +7 -7
  108. package/dist/{formatValidationError-DdKr3rgo.js → formatValidationError-CdyACUip.js} +2 -2
  109. package/dist/{getDefaultRegistrationNumberType-CfU1YUaz.js → getDefaultRegistrationNumberType-CBt2xgFB.js} +59 -59
  110. package/dist/{getProblemsForEntity-CfzojTAS.js → getProblemsForEntity-Bh9nSdOW.js} +1 -1
  111. package/dist/{getTrustedDecisionMakers-Brlr-pKL.js → getTrustedDecisionMakers-DX3nImM5.js} +2 -2
  112. package/dist/{legalArrangementUtils-skU_cq9L.js → legalArrangementUtils-xvCxpgzJ.js} +48 -2
  113. package/dist/mapAddressLocalizationToJpAddressSchema-xGmp-RP6.js +26 -0
  114. package/dist/{mapExistingFile-CDahgHsP.js → mapExistingFile-CwGW1ru4.js} +1 -1
  115. package/dist/{mapJpAddressSchemaToAddressLocalizations-CWb68lJV.js → mapJpAddressSchemaToAddressLocalizations-DJx0cGCc.js} +3 -4
  116. package/dist/{mapLegalEntityToIndividualSchema-B3XhBnaa.js → mapLegalEntityToIndividualSchema-BP_k3lew.js} +8 -8
  117. package/dist/{mapTransferInstrumentToPayoutAccount-n4ffPJ2c.js → mapTransferInstrumentToPayoutAccount-Do0UOu4V.js} +3 -3
  118. package/dist/{processCapabilities-BfskhjUw.js → processCapabilities-DRD0Aq2i.js} +3 -2
  119. package/dist/{processValidationErrors-BfqJR1rP.js → processValidationErrors-B2bMDRz6.js} +4 -4
  120. package/dist/{resolveEnvironment-Bp-RuIhz.js → resolveEnvironment-NL5RPEmW.js} +12 -12
  121. package/dist/types/adaptiveWorkflow/components/Fields/BusinessRegistrationNumber/BusinessRegistrationNumberFieldGroup.d.ts +2 -3
  122. package/dist/types/adaptiveWorkflow/components/Fields/BusinessRegistrationNumber/RegistrationNumberTypeSelectorField.d.ts +2 -2
  123. package/dist/types/adaptiveWorkflow/components/Fields/TaxInformation/TaxIdTypeSelectorField.d.ts +2 -2
  124. package/dist/types/adaptiveWorkflow/components/Fields/TaxInformation/TaxInformationFieldGroup.d.ts +3 -3
  125. package/dist/types/api/createLegalEntity/useCreateLegalEntity.d.ts +1 -1
  126. package/dist/types/api/legalEntity/legalEntity.types.d.ts +9 -0
  127. package/dist/types/api/legalEntity/useLegalEntity.d.ts +7 -7
  128. package/dist/types/api/legalEntity/useUpdateLegalEntity.d.ts +1 -1
  129. package/dist/types/components/Business/forms/AdditionalInformation/types.d.ts +2 -2
  130. package/dist/types/components/Business/forms/BasicInformation/types.d.ts +2 -2
  131. package/dist/types/components/Business/forms/CompanyStructure/types.d.ts +2 -2
  132. package/dist/types/components/Business/forms/FinancialInformation/mapping/mapFinancialInformationToFinancialReport.d.ts +2 -2
  133. package/dist/types/components/Business/forms/FinancialInformation/mapping/mapFinancialReportsToFinancialInformation.d.ts +2 -2
  134. package/dist/types/components/Business/forms/RegistrationDocument/types.d.ts +3 -3
  135. package/dist/types/components/Business/forms/TaxDocument/types.d.ts +3 -3
  136. package/dist/types/components/Business/mapping/businessDetails/mapLegalEntityToBusinessDetailsSchema.d.ts +1 -1
  137. package/dist/types/components/Business/tasks/BusinessDetailsDropin/validate.d.ts +2 -2
  138. package/dist/types/components/Business/utils/applyVerifiedBusinessData.d.ts +2 -2
  139. package/dist/types/components/Business/utils/companyTypeMetadata.d.ts +4 -4
  140. package/dist/types/components/Business/utils/getAvailableCompanyStructures.d.ts +2 -2
  141. package/dist/types/components/Business/utils/utils.d.ts +3 -4
  142. package/dist/types/components/EFP/mapping/businessFinancingKeyMappings.d.ts +96 -102
  143. package/dist/types/components/EFP/tasks/BusinessFinancingDropin/utils.d.ts +5 -6
  144. package/dist/types/components/EFP/tasks/SourceOfFundsDropin/types.d.ts +2 -2
  145. package/dist/types/components/EmbeddedDropins/BusinessFinancingComponent/utils.d.ts +2 -2
  146. package/dist/types/components/GlobalEntry/fields/PaperworkQuestionnaire/PaperworkQuestionnaire.d.ts +5 -0
  147. package/dist/types/components/GlobalEntry/fields/PaperworkQuestionnaire/types.d.ts +1 -1
  148. package/dist/types/components/GlobalEntry/fields/PrimaryPartnerTypeField/types.d.ts +1 -1
  149. package/dist/types/components/GlobalEntry/fields/UnincorporatedOrganizationTypeField/types.d.ts +1 -1
  150. package/dist/types/components/GlobalEntry/rules.d.ts +1 -1
  151. package/dist/types/components/GlobalEntry/utils.d.ts +5 -2
  152. package/dist/types/components/Individual/forms/IdNowVerificationModal/isIdNowModalOpen.d.ts +1 -1
  153. package/dist/types/components/Individual/forms/Individual.rules.d.ts +0 -1
  154. package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/RegistrationNumberTypeSelector/CompanyRegistrationNumberTypeSelector.d.ts +2 -2
  155. package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/RegistrationNumberTypeSelector/getDefaultRegistrationNumberType.d.ts +2 -2
  156. package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/RegistrationNumberTypeSelector/inferCompanyRegistrationNumberType.d.ts +2 -2
  157. package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/fieldConfig.d.ts +2 -2
  158. package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/registrationNumberTypes.d.ts +3 -3
  159. package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/types.d.ts +3 -4
  160. package/dist/types/components/Shared/fields/RegistrationAndOperationalAddressFields/utils.d.ts +1 -1
  161. package/dist/types/components/Shared/fields/TaxInformationField/TaxIdNumberTypeSelector/TaxIdNumberTypeSelector.d.ts +2 -2
  162. package/dist/types/components/Shared/fields/TaxInformationField/TaxIdNumberTypeSelector/getDefaultTaxIdNumberType.d.ts +3 -4
  163. package/dist/types/components/Shared/fields/TaxInformationField/TaxIdNumberTypeSelector/inferTaxIdNumberType.d.ts +3 -4
  164. package/dist/types/components/Shared/fields/TaxInformationField/fieldConfig.d.ts +4 -4
  165. package/dist/types/components/Shared/fields/TaxInformationField/taxIdNumberTypes.d.ts +5 -4
  166. package/dist/types/components/Shared/fields/TaxInformationField/types.d.ts +9 -4
  167. package/dist/types/components/Shared/fields/TaxInformationField/utils.d.ts +1 -1
  168. package/dist/types/components/Shared/fields/VatNumberField/VatNumberTypeSelector/VatNumberTypeSelector.d.ts +2 -2
  169. package/dist/types/components/Shared/fields/VatNumberField/types.d.ts +4 -4
  170. package/dist/types/components/Shared/fields/VatNumberField/vatNumberTypes.d.ts +2 -3
  171. package/dist/types/components/Shared/forms/Address/localized/jp/mapAddressLocalizationToJpAddressSchema.d.ts +2 -2
  172. package/dist/types/components/Shared/forms/Address/localized/jp/mapJpAddressSchemaToAddressLocalizations.d.ts +2 -2
  173. package/dist/types/components/Shared/forms/Address/types.d.ts +3 -7
  174. package/dist/types/components/Shared/forms/Address/utils.d.ts +1 -1
  175. package/dist/types/components/Shared/forms/BusinessTypeSelection/useUpdateLegalEntityAndSelectAccountHolder.d.ts +13 -0
  176. package/dist/types/components/Shared/forms/BusinessTypeSelection/utils.d.ts +3 -3
  177. package/dist/types/components/Shared/forms/DocumentUpload/types.d.ts +2 -2
  178. package/dist/types/components/Shared/tasks/CustomerSupport/mapping/mapCustomerSupportSchemaToCustomerSupportType.d.ts +2 -2
  179. package/dist/types/components/Shared/tasks/CustomerSupport/mapping/mapDtoToCustomerSupportSchema.d.ts +3 -0
  180. package/dist/types/core/models/api/individual.d.ts +5 -6
  181. package/dist/types/core/models/api/legal-arrangement.d.ts +6 -6
  182. package/dist/types/core/models/api/legal-entity.d.ts +2 -2
  183. package/dist/types/core/user-events.d.ts +2 -2
  184. package/dist/types/datasets/generators/getCompanyTypeExamplesForCountry.d.ts +3 -3
  185. package/dist/types/hooks/useDataConflicts.d.ts +2 -2
  186. package/dist/types/types/businessEntityType.d.ts +7 -0
  187. package/dist/types/utils/addressToString.d.ts +2 -2
  188. package/dist/types/utils/analytics/debouncedInputEvent.d.ts +1 -1
  189. package/dist/types/utils/businessUtils.d.ts +18 -7
  190. package/dist/types/utils/customerSupportUtils.d.ts +2 -2
  191. package/dist/types/utils/legalArrangementUtils.d.ts +1 -0
  192. package/dist/types/utils/mapping/documentGuidanceMap.d.ts +1 -1
  193. package/dist/{types-C6GnB9nH.js → types-wRlt8bxb.js} +1 -1
  194. package/dist/{useBusinessDetailsData-UyUhXzON.js → useBusinessDetailsData-BLsxNRYY.js} +89 -109
  195. package/dist/{useCanSeeIntroduction-C6qXZZe8.js → useCanSeeIntroduction-CJtk3sbc.js} +3 -3
  196. package/dist/{useDataMissingRemediations-D-NZOgal.js → useDataMissingRemediations-msU1AJvo.js} +1 -1
  197. package/dist/{useForm-BhfuVkAR.js → useForm-ugD-3r75.js} +3 -3
  198. package/dist/{useHideTaskStepper-Dlzsx-RK.js → useHideTaskStepper-CbMcV9mk.js} +1 -1
  199. package/dist/{useId-DqpXTon5.js → useId-BLqna7ut.js} +1 -1
  200. package/dist/{useNavigate-Xc0HARgb.js → useNavigate-Bl4i4ROG.js} +33 -33
  201. package/dist/{useSalesChannels-gzi6QOI7.js → useSalesChannels-DeMYvord.js} +3 -3
  202. package/dist/{useTaskLandedEvent-BXv-wuAJ.js → useTaskLandedEvent-RGsfipqC.js} +2 -2
  203. package/dist/{useTrustMembers-wjNlRtOm.js → useTrustMembers-FeQlraZJ.js} +2 -2
  204. package/dist/{useUnincorporatedPartnershipMembers-CfpBIS06.js → useUnincorporatedPartnershipMembers-K5jkCKfJ.js} +1 -1
  205. package/dist/{utils-P67T6pKI.js → utils-2tir5QtF.js} +1 -1
  206. package/dist/{utils-DyriwmGv.js → utils-81t38d1p.js} +4 -4
  207. package/dist/{utils-DebuaWe9.js → utils-Cz7Up17-.js} +9 -18
  208. package/dist/{validate-DzNLLQoR.js → validate-BDbpNubW.js} +2 -2
  209. package/dist/{validate-DruWE6jY.js → validate-CZ935egZ.js} +1 -1
  210. package/dist/{validate-MsZ6MiUq.js → validate-CiLi9-v6.js} +8 -8
  211. package/dist/{validate-C2fajdCR.js → validate-i-52SWZE.js} +46 -6
  212. package/dist/{validateExtractionResult-BfwUJj1D.js → validateExtractionResult-dH4TewHf.js} +2 -2
  213. package/dist/{validationError-DudGlB6v.js → validationError-tamTArFR.js} +2 -2
  214. package/package.json +1 -1
  215. package/dist/Individual.rules-4BHmKpNa.js +0 -293
  216. package/dist/decisionMakerRoles-DbKnutwk.js +0 -46
  217. package/dist/isEmpty-DD8Insy0.js +0 -14
  218. package/dist/mapAddressLocalizationToJpAddressSchema-CBeBTFmC.js +0 -66
  219. package/dist/types/core/models/api/address.d.ts +0 -14
  220. package/dist/types/core/models/api/branchAllocation.d.ts +0 -5
  221. package/dist/types/core/models/api/company-types-value.d.ts +0 -15
  222. package/dist/types/core/models/api/customerSupport.d.ts +0 -12
  223. package/dist/types/core/models/api/financialReport.d.ts +0 -15
  224. package/dist/types/core/models/api/organization.d.ts +0 -60
  225. package/dist/utils-Br7Ah3uy.js +0 -46
@@ -1,11 +1,11 @@
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] = "53f202db-038d-4fb5-97a3-cd09fee97c8e", e._sentryDebugIdIdentifier = "sentry-dbid-53f202db-038d-4fb5-97a3-cd09fee97c8e");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "17e93b20-4e34-46f0-afab-83481828a5ce", e._sentryDebugIdIdentifier = "sentry-dbid-17e93b20-4e34-46f0-afab-83481828a5ce");
4
4
  } catch (e) {}
5
5
  import { r as useTranslation } from "./translation-BOm4lmPx.js";
6
- import { j as useToggleContext, nt as isEmpty } from "./resolveEnvironment-Bp-RuIhz.js";
7
- import { n as IconButton } from "./Button-oqvTDztg.js";
8
- import { r as Field, t as Select } from "./Select-CrcaoG0i.js";
6
+ import { j as useToggleContext, nt as isEmpty } from "./resolveEnvironment-NL5RPEmW.js";
7
+ import { n as IconButton } from "./Button-DfRmINzF.js";
8
+ import { r as Field, t as Select } from "./Select-OTcSv--b.js";
9
9
  import { t as List } from "./List-ywoRPg-q.js";
10
10
  import { useEffect, useMemo, useRef, useState } from "preact/hooks";
11
11
  import { Fragment, jsx, jsxs } from "preact/jsx-runtime";
@@ -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] = "971a5536-fe63-4966-b28e-6e56273c53c3", e._sentryDebugIdIdentifier = "sentry-dbid-971a5536-fe63-4966-b28e-6e56273c53c3");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "8f199b63-3bd8-4ee8-a010-5968e9d7e9fc", e._sentryDebugIdIdentifier = "sentry-dbid-8f199b63-3bd8-4ee8-a010-5968e9d7e9fc");
4
4
  } catch (e) {}
5
5
  import { n as HK_SG_COUNTRIES, r as euCountries } from "./country-code-CJk2hdPu.js";
6
6
  import { n as LOW_RISK_COUNTRIES, t as EEA_Countries } from "./countries-BE4iGVAo.js";
@@ -1,7 +1,9 @@
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] = "6a266be5-4994-4ff3-947c-bca704bda891", e._sentryDebugIdIdentifier = "sentry-dbid-6a266be5-4994-4ff3-947c-bca704bda891");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "fd71df44-5b2e-4de6-b440-58ad2df5a19d", e._sentryDebugIdIdentifier = "sentry-dbid-fd71df44-5b2e-4de6-b440-58ad2df5a19d");
4
4
  } catch (e) {}
5
+ import { t as TaskTypes } from "./taskTypes-3vSkMBDm.js";
6
+ import { i as getDirectEntityAssociations } from "./entityAssociationUtil-CLBR9osP.js";
5
7
  import { t as DecisionMakerTypes } from "./decision-maker-type-NR4GFAeT.js";
6
8
  import { t as Scenarios } from "./get-scenarios-Bb-paHmJ.js";
7
9
  //#region src/utils/decisionMaker.ts
@@ -143,4 +145,41 @@ var getDecisionMakerDescriptionMap = (country) => ({
143
145
  ...PER_COUNTRY_DESCRIPTION_OVERRIDES[country]
144
146
  });
145
147
  //#endregion
146
- export { getDecisionMakerDescriptionMap as n, getDecisionMakerRequirements as r, getAvailableDecisionMakerRoleTypes as t };
148
+ //#region src/utils/decisionMakerRoles.ts
149
+ var getOwnDecisionMakers = (rootLegalEntity) => {
150
+ if (!rootLegalEntity?.entityAssociations) return [];
151
+ return rootLegalEntity.entityAssociations.filter((entityAssociation) => Object.values(DecisionMakerTypes).includes(entityAssociation.type) && entityAssociation.associatorId === rootLegalEntity.id);
152
+ };
153
+ var getDecisionMakers = (rootLegalEntity, companyLegalEntityId) => getDirectEntityAssociations(rootLegalEntity, companyLegalEntityId).filter((association) => Object.values(DecisionMakerTypes).includes(association.type));
154
+ var getOwnSignatories = (rootLegalEntity) => getOwnDecisionMakers(rootLegalEntity).filter((decisionMaker) => decisionMaker.type === DecisionMakerTypes.SIGNATORY);
155
+ var getOwnDecisionMakersLegalEntityIds = (rootLegalEntity) => getOwnDecisionMakers(rootLegalEntity).map((ea) => ea.legalEntityId).filter((id) => id !== void 0);
156
+ var getDecisionMakerCount = (rootLegalEntity) => {
157
+ return getOwnDecisionMakers(rootLegalEntity).reduce((decisionMakerCount, decisionMaker) => {
158
+ decisionMakerCount[decisionMaker.type] = (decisionMakerCount[decisionMaker.type] ?? 0) + 1;
159
+ return decisionMakerCount;
160
+ }, {});
161
+ };
162
+ var getAllowedDecisionMakerRoles = (rootLegalEntity, taskType, scenarios) => {
163
+ if (taskType === TaskTypes.TRUST_MEMBER_COMPANY_OWNER || taskType === TaskTypes.UNINCORPORATED_PARTNERSHIP_MEMBER_COMPANY_OWNER) return [DecisionMakerTypes.OWNER];
164
+ const existingDecisionMakerCount = getDecisionMakerCount(rootLegalEntity);
165
+ const registeredCountry = rootLegalEntity?.organization?.registeredAddress?.country;
166
+ const allowedRoles = getDecisionMakerRequirements(registeredCountry, scenarios).reduce((acc, requirements) => {
167
+ const { roleTypes, max } = requirements;
168
+ if (roleTypes.length === 1) {
169
+ const role = roleTypes[0];
170
+ if ((existingDecisionMakerCount?.[role] ?? 0) < max) acc.push(role);
171
+ }
172
+ return acc;
173
+ }, []);
174
+ return [...new Set(allowedRoles)];
175
+ };
176
+ var hasMinRequiredDecisionMakerCount = (rootLegalEntity) => {
177
+ const existingDecisionMakerCount = getDecisionMakerCount(rootLegalEntity);
178
+ const registeredCountry = rootLegalEntity?.organization?.registeredAddress?.country;
179
+ return getDecisionMakerRequirements(registeredCountry).every((requirements) => {
180
+ const { roleTypes, min } = requirements;
181
+ return roleTypes.some((role) => min ? existingDecisionMakerCount?.[role] ?? min <= 0 : true);
182
+ });
183
+ };
184
+ //#endregion
185
+ export { getOwnSignatories as a, getDecisionMakerDescriptionMap as c, getOwnDecisionMakersLegalEntityIds as i, getDecisionMakers as n, hasMinRequiredDecisionMakerCount as o, getOwnDecisionMakers as r, getAvailableDecisionMakerRoleTypes as s, getAllowedDecisionMakerRoles as t };
@@ -1,10 +1,10 @@
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] = "f5419360-e780-4a3a-8b7e-e0fb2b5dd140", e._sentryDebugIdIdentifier = "sentry-dbid-f5419360-e780-4a3a-8b7e-e0fb2b5dd140");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "f7f61745-2bc6-435c-b297-879e1e272015", e._sentryDebugIdIdentifier = "sentry-dbid-f7f61745-2bc6-435c-b297-879e1e272015");
4
4
  } catch (e) {}
5
5
  import { t as cloneObject } from "./genUtils-Ce61IJs8.js";
6
- import { f as isValueObscured } from "./form-rules-BhIs9ilj.js";
7
- import { i as getProp, n as deleteProp } from "./utils-DyriwmGv.js";
6
+ import { f as isValueObscured } from "./form-rules-WhDvAYOL.js";
7
+ import { i as getProp, n as deleteProp } from "./utils-81t38d1p.js";
8
8
  //#region src/utils/omitObscuredFieldsIfUnchanged.ts
9
9
  var omitObscuredFieldsIfUnchanged = (obscuredFields, dataSubmitted, savedData) => {
10
10
  if (!dataSubmitted) return;
@@ -1,18 +1,18 @@
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] = "5fc2fb4c-4940-4a0d-b709-2afee24ae9a0", e._sentryDebugIdIdentifier = "sentry-dbid-5fc2fb4c-4940-4a0d-b709-2afee24ae9a0");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "88dc39f0-a09c-479d-bd0e-c982c332e7b3", e._sentryDebugIdIdentifier = "sentry-dbid-88dc39f0-a09c-479d-bd0e-c982c332e7b3");
4
4
  } catch (e) {}
5
5
  import { r as useTranslation } from "./translation-BOm4lmPx.js";
6
- import { nt as isEmpty } from "./resolveEnvironment-Bp-RuIhz.js";
6
+ import { nt as isEmpty } from "./resolveEnvironment-NL5RPEmW.js";
7
7
  import { t as createLogger } from "./logger-Z8AeTE4x.js";
8
- import { t as Icon } from "./Icon-BblJeZYj.js";
8
+ import { t as Icon } from "./Icon-C3S5_kkS.js";
9
9
  import { t as Typography } from "./Typography-CAc_f5Iq.js";
10
10
  import { s as keysOf, t as cloneObject } from "./genUtils-Ce61IJs8.js";
11
11
  import { t as StackLayout } from "./StackLayout-IUdNMDgW.js";
12
- import { E as dataMissingRemediationsToFieldsMap, h as businessDetailsApiKeyMapping, r as remediationHasFileUploadField, s as individualApiKeyMapping } from "./processCapabilities-BfskhjUw.js";
13
- import { r as KEYBOARD_KEYS } from "./Modal-By_wpf9o.js";
14
- import { i as formDebugInfo, n as useForwardedRef, r as InputBase, t as InputText } from "./InputText-BqeL5dXt.js";
15
- import { r as Field } from "./Select-CrcaoG0i.js";
12
+ import { E as dataMissingRemediationsToFieldsMap, h as businessDetailsApiKeyMapping, r as remediationHasFileUploadField, s as individualApiKeyMapping } from "./processCapabilities-DRD0Aq2i.js";
13
+ import { r as KEYBOARD_KEYS } from "./Modal-DmzJdNRm.js";
14
+ import { i as formDebugInfo, n as useForwardedRef, r as InputBase, t as InputText } from "./InputText-NwDnv5UV.js";
15
+ import { r as Field } from "./Select-OTcSv--b.js";
16
16
  import { forwardRef } from "preact/compat";
17
17
  import { useCallback as useCallback$1, useEffect as useEffect$1, useLayoutEffect, useMemo as useMemo$1, useRef as useRef$1, useState as useState$1 } from "preact/hooks";
18
18
  import { Fragment as Fragment$1, jsx, jsxs } from "preact/jsx-runtime";
@@ -1,8 +1,8 @@
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] = "b41be6d3-dec8-4380-80e4-042f888d8236", e._sentryDebugIdIdentifier = "sentry-dbid-b41be6d3-dec8-4380-80e4-042f888d8236");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "74a61a87-cff8-4499-819f-2c4d444245cf", e._sentryDebugIdIdentifier = "sentry-dbid-74a61a87-cff8-4499-819f-2c4d444245cf");
4
4
  } catch (e) {}
5
- import { d as isTranslationObject, f as translateTranslatable } from "./Select-CrcaoG0i.js";
5
+ import { d as isTranslationObject, f as translateTranslatable } from "./Select-OTcSv--b.js";
6
6
  //#region src/utils/validation/formatValidationError.ts
7
7
  /**
8
8
  * Converts `NsTranslatable` validation error messages into `FieldErrorMessage` for use in `Field` components
@@ -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] = "9e704dc0-1459-4201-93f1-e15a1df90bc4", e._sentryDebugIdIdentifier = "sentry-dbid-9e704dc0-1459-4201-93f1-e15a1df90bc4");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "5570eaed-1be9-4d02-964e-b2aeeb7f40d3", e._sentryDebugIdIdentifier = "sentry-dbid-5570eaed-1be9-4d02-964e-b2aeeb7f40d3");
4
4
  } catch (e) {}
5
5
  import { r as useTranslation } from "./translation-BOm4lmPx.js";
6
6
  import { t as CountryCodes } from "./country-code-CJk2hdPu.js";
7
- import { c as numericInputs, l as spacer, o as makeMask } from "./form-rules-BhIs9ilj.js";
8
- import { H as CompanyTypesValues, L as businessRegistrationNumberPatterns, R as businessRegistrationNumberMasks, z as stateFormatGuidanceText } from "./bafinUtils-F8i4raV6.js";
9
- import { r as Field } from "./Select-CrcaoG0i.js";
10
- import { c as validatePatternOnBlur, s as validateNotEmptyOnBlur, t as RadioGroup } from "./RadioGroup-e6Ty_ggj.js";
7
+ import { c as numericInputs, l as spacer, o as makeMask } from "./form-rules-WhDvAYOL.js";
8
+ import { r as Field } from "./Select-OTcSv--b.js";
9
+ import { c as validatePatternOnBlur, s as validateNotEmptyOnBlur, t as RadioGroup } from "./RadioGroup-8J8cYf9v.js";
10
+ import { n as businessRegistrationNumberMasks, r as stateFormatGuidanceText, t as businessRegistrationNumberPatterns } from "./businessRegistrationNumberPatterns-DeLB_HZ4.js";
11
11
  import { useCallback, useEffect, useMemo } from "preact/hooks";
12
12
  import { jsx } from "preact/jsx-runtime";
13
13
  //#region src/components/Shared/fields/BusinessRegistrationNumberField/fieldConfig.ts
@@ -777,15 +777,15 @@ var exemptFromRegistrationNumberDefaultFieldConfig = {
777
777
  * Returns the helper text for the business registration number field.
778
778
  */
779
779
  var getRegistrationNumberHelperText = (t, { country, companyType }) => {
780
- if (country === CountryCodes.Australia && companyType === CompanyTypesValues.INCORPORATED_ASSOCIATION) return t(($) => $["findYourIncorporatedAssociationNumberInThePublicRegistryForYourState"]);
780
+ if (country === CountryCodes.Australia && companyType === "associationIncorporated") return t(($) => $["findYourIncorporatedAssociationNumberInThePublicRegistryForYourState"]);
781
781
  };
782
782
  //#endregion
783
783
  //#region src/components/Shared/fields/BusinessRegistrationNumberField/registrationNumberTypes.ts
784
784
  var restrictedCompanyTypes = [
785
- CompanyTypesValues.SOLE_PROPRIETORSHIP,
786
- CompanyTypesValues.UNINCORPORATED_PARTNERSHIP,
787
- CompanyTypesValues.INCORPORATED_PARTNERSHIP,
788
- CompanyTypesValues.INCORPORATED_ASSOCIATION,
785
+ "soleProprietorship",
786
+ "unincorporatedPartnership",
787
+ "partnershipIncorporated",
788
+ "associationIncorporated",
789
789
  "trust"
790
790
  ];
791
791
  var isRestrictedCompanyType = (companyType) => Boolean(companyType && restrictedCompanyTypes.includes(companyType));
@@ -797,19 +797,19 @@ var companyRegistrationNumberOptions = {
797
797
  [CountryCodes.Australia]: [{
798
798
  id: "incorporatedAssociationRegistrationNumber",
799
799
  name: "incorporatedAssociationRegistrationNumber",
800
- applicableOnlyFor: [CompanyTypesValues.INCORPORATED_ASSOCIATION]
800
+ applicableOnlyFor: ["associationIncorporated"]
801
801
  }, {
802
802
  id: "australianBusinessNumberAcn",
803
803
  name: "australianBusinessNumberAcn",
804
804
  applicableOnlyFor: [
805
- CompanyTypesValues.PRIVATE_COMPANY,
806
- CompanyTypesValues.PUBLIC_COMPANY,
807
- CompanyTypesValues.UNLISTED_PUBLIC_COMPANY,
808
- CompanyTypesValues.UNINCORPORATED_PARTNERSHIP,
809
- CompanyTypesValues.INCORPORATED_PARTNERSHIP,
810
- CompanyTypesValues.GOVERNMENTAL_ORGANIZATION,
811
- CompanyTypesValues.NON_PROFIT_OR_CHARITABLE,
812
- CompanyTypesValues.SOLE_PROPRIETORSHIP
805
+ "privateCompany",
806
+ "listedPublicCompany",
807
+ "unlistedPublicCompany",
808
+ "unincorporatedPartnership",
809
+ "partnershipIncorporated",
810
+ "governmentalOrganization",
811
+ "nonProfit",
812
+ "soleProprietorship"
813
813
  ]
814
814
  }],
815
815
  [CountryCodes.Austria]: [{
@@ -818,23 +818,23 @@ var companyRegistrationNumberOptions = {
818
818
  }, {
819
819
  id: "ZVR",
820
820
  name: "zentralesVereinsregisterId",
821
- applicableOnlyFor: [CompanyTypesValues.NON_PROFIT_OR_CHARITABLE, CompanyTypesValues.INCORPORATED_ASSOCIATION]
821
+ applicableOnlyFor: ["nonProfit", "associationIncorporated"]
822
822
  }],
823
823
  [CountryCodes.Croatia]: [{
824
824
  id: "MBO",
825
825
  name: "MBO",
826
- applicableOnlyFor: [CompanyTypesValues.SOLE_PROPRIETORSHIP]
826
+ applicableOnlyFor: ["soleProprietorship"]
827
827
  }, {
828
828
  id: "MBS",
829
829
  name: "MBS",
830
830
  applicableOnlyFor: [
831
- CompanyTypesValues.PRIVATE_COMPANY,
832
- CompanyTypesValues.PUBLIC_COMPANY,
833
- CompanyTypesValues.UNLISTED_PUBLIC_COMPANY,
834
- CompanyTypesValues.UNINCORPORATED_PARTNERSHIP,
835
- CompanyTypesValues.INCORPORATED_PARTNERSHIP,
836
- CompanyTypesValues.GOVERNMENTAL_ORGANIZATION,
837
- CompanyTypesValues.NON_PROFIT_OR_CHARITABLE
831
+ "privateCompany",
832
+ "listedPublicCompany",
833
+ "unlistedPublicCompany",
834
+ "unincorporatedPartnership",
835
+ "partnershipIncorporated",
836
+ "governmentalOrganization",
837
+ "nonProfit"
838
838
  ]
839
839
  }],
840
840
  [CountryCodes.France]: [{
@@ -843,31 +843,31 @@ var companyRegistrationNumberOptions = {
843
843
  }, {
844
844
  id: "RNA",
845
845
  name: "rnaNumber",
846
- applicableOnlyFor: [CompanyTypesValues.NON_PROFIT_OR_CHARITABLE]
846
+ applicableOnlyFor: ["nonProfit"]
847
847
  }],
848
848
  [CountryCodes.Hungary]: [{
849
849
  id: "nyilvantartasiSzam",
850
850
  name: "huRegistrationNumberForSoleProp",
851
- applicableOnlyFor: [CompanyTypesValues.SOLE_PROPRIETORSHIP]
851
+ applicableOnlyFor: ["soleProprietorship"]
852
852
  }],
853
853
  [CountryCodes.Italy]: [
854
854
  {
855
855
  id: "partitaIVA",
856
856
  name: "partitaIVA",
857
- applicableOnlyFor: [CompanyTypesValues.SOLE_PROPRIETORSHIP]
857
+ applicableOnlyFor: ["soleProprietorship"]
858
858
  },
859
859
  {
860
860
  id: "codiceFiscalePartitaIVA",
861
861
  name: "codiceFiscalePartitaIVA",
862
862
  applicableOnlyFor: [
863
- CompanyTypesValues.PRIVATE_COMPANY,
864
- CompanyTypesValues.PUBLIC_COMPANY,
865
- CompanyTypesValues.UNLISTED_PUBLIC_COMPANY,
866
- CompanyTypesValues.UNINCORPORATED_PARTNERSHIP,
867
- CompanyTypesValues.INCORPORATED_PARTNERSHIP,
868
- CompanyTypesValues.INCORPORATED_ASSOCIATION,
869
- CompanyTypesValues.GOVERNMENTAL_ORGANIZATION,
870
- CompanyTypesValues.NON_PROFIT_OR_CHARITABLE
863
+ "privateCompany",
864
+ "listedPublicCompany",
865
+ "unlistedPublicCompany",
866
+ "unincorporatedPartnership",
867
+ "partnershipIncorporated",
868
+ "associationIncorporated",
869
+ "governmentalOrganization",
870
+ "nonProfit"
871
871
  ]
872
872
  },
873
873
  {
@@ -878,18 +878,18 @@ var companyRegistrationNumberOptions = {
878
878
  [CountryCodes.Monaco]: [{
879
879
  id: "mcRegistrationNumberSoleProp",
880
880
  name: "mcRegistrationNumberSoleProp",
881
- applicableOnlyFor: [CompanyTypesValues.SOLE_PROPRIETORSHIP]
881
+ applicableOnlyFor: ["soleProprietorship"]
882
882
  }, {
883
883
  id: "mcRegistrationNumber",
884
884
  name: "mcRegistrationNumber",
885
885
  applicableOnlyFor: [
886
- CompanyTypesValues.PRIVATE_COMPANY,
887
- CompanyTypesValues.GOVERNMENTAL_ORGANIZATION,
888
- CompanyTypesValues.INCORPORATED_ASSOCIATION,
889
- CompanyTypesValues.INCORPORATED_PARTNERSHIP,
890
- CompanyTypesValues.NON_PROFIT_OR_CHARITABLE,
891
- CompanyTypesValues.UNINCORPORATED_PARTNERSHIP,
892
- CompanyTypesValues.UNLISTED_PUBLIC_COMPANY
886
+ "privateCompany",
887
+ "governmentalOrganization",
888
+ "associationIncorporated",
889
+ "partnershipIncorporated",
890
+ "nonProfit",
891
+ "unincorporatedPartnership",
892
+ "unlistedPublicCompany"
893
893
  ]
894
894
  }],
895
895
  [CountryCodes.NewZealand]: [{
@@ -899,9 +899,9 @@ var companyRegistrationNumberOptions = {
899
899
  id: "companyNumberNZ",
900
900
  name: "companyNumberNZ",
901
901
  applicableOnlyFor: [
902
- CompanyTypesValues.PRIVATE_COMPANY,
903
- CompanyTypesValues.PUBLIC_COMPANY,
904
- CompanyTypesValues.UNLISTED_PUBLIC_COMPANY
902
+ "privateCompany",
903
+ "listedPublicCompany",
904
+ "unlistedPublicCompany"
905
905
  ]
906
906
  }],
907
907
  [CountryCodes.Romania]: [{
@@ -922,19 +922,19 @@ var companyRegistrationNumberOptions = {
922
922
  id: "companyNumber",
923
923
  name: "companyNumber",
924
924
  applicableOnlyFor: [
925
- CompanyTypesValues.PRIVATE_COMPANY,
926
- CompanyTypesValues.GOVERNMENTAL_ORGANIZATION,
927
- CompanyTypesValues.INCORPORATED_ASSOCIATION,
928
- CompanyTypesValues.INCORPORATED_PARTNERSHIP,
929
- CompanyTypesValues.NON_PROFIT_OR_CHARITABLE,
930
- CompanyTypesValues.UNINCORPORATED_PARTNERSHIP,
931
- CompanyTypesValues.UNLISTED_PUBLIC_COMPANY,
932
- CompanyTypesValues.PUBLIC_COMPANY
925
+ "privateCompany",
926
+ "governmentalOrganization",
927
+ "associationIncorporated",
928
+ "partnershipIncorporated",
929
+ "nonProfit",
930
+ "unincorporatedPartnership",
931
+ "unlistedPublicCompany",
932
+ "listedPublicCompany"
933
933
  ]
934
934
  }, {
935
935
  id: "charity",
936
936
  name: "charityNumber",
937
- applicableOnlyFor: [CompanyTypesValues.NON_PROFIT_OR_CHARITABLE]
937
+ applicableOnlyFor: ["nonProfit"]
938
938
  }]
939
939
  };
940
940
  /**
@@ -4,7 +4,7 @@ try {
4
4
  } catch (e) {}
5
5
  import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-QQXN6YOm.js";
6
6
  import { t as getLegalEntityCountry } from "./getLegalEntityCountry-CNE5uei8.js";
7
- import { n as getCapabilityProblems } from "./processCapabilities-BfskhjUw.js";
7
+ import { n as getCapabilityProblems } from "./processCapabilities-DRD0Aq2i.js";
8
8
  import { useMemo } from "preact/hooks";
9
9
  //#region src/utils/api/getProblemsForEntity.ts
10
10
  var useCapabilityProblems = () => {
@@ -1,8 +1,8 @@
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] = "447d26ff-f7db-4e2f-8fec-8be443b2c582", e._sentryDebugIdIdentifier = "sentry-dbid-447d26ff-f7db-4e2f-8fec-8be443b2c582");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "b31ebce0-607d-486f-bbd5-8e26dc271eee", e._sentryDebugIdIdentifier = "sentry-dbid-b31ebce0-607d-486f-bbd5-8e26dc271eee");
4
4
  } catch (e) {}
5
- import { n as getApiTrustedFields } from "./ListItem-CI4fqIkg.js";
5
+ import { n as getApiTrustedFields } from "./ListItem-C35r8558.js";
6
6
  //#region src/components/Individual/tasks/DecisionMakers/getTrustedDecisionMakers.ts
7
7
  function getTrustedDecisionMakers(rootLegalEntity, provider) {
8
8
  return parseTrustedDecisionMakersFromApiFields(getApiTrustedFields(rootLegalEntity, provider));
@@ -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] = "72425f10-ae23-49bb-9cc3-01da7c36b2cd", e._sentryDebugIdIdentifier = "sentry-dbid-72425f10-ae23-49bb-9cc3-01da7c36b2cd");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "bfd526e6-2bfb-4f6a-ac16-e7f2952945a1", e._sentryDebugIdIdentifier = "sentry-dbid-bfd526e6-2bfb-4f6a-ac16-e7f2952945a1");
4
4
  } catch (e) {}
5
5
  import { t as CountryCodes } from "./country-code-CJk2hdPu.js";
6
6
  //#region src/utils/legalArrangementUtils.ts
@@ -63,5 +63,51 @@ var UNINCORPORATED_PARTNERSHIP_COUNTRIES_VAT_NUMBER_OPTIONAL = [
63
63
  CountryCodes.Spain,
64
64
  CountryCodes.UnitedKingdom
65
65
  ];
66
+ var SOLE_PROP_COUNTRIES = [
67
+ CountryCodes.Austria,
68
+ CountryCodes.Australia,
69
+ CountryCodes.Belgium,
70
+ CountryCodes.Bulgaria,
71
+ CountryCodes.Canada,
72
+ CountryCodes.Croatia,
73
+ CountryCodes.Cyprus,
74
+ CountryCodes.CzechRepublic,
75
+ CountryCodes.Denmark,
76
+ CountryCodes.Estonia,
77
+ CountryCodes.Finland,
78
+ CountryCodes.France,
79
+ CountryCodes.Germany,
80
+ CountryCodes.Gibraltar,
81
+ CountryCodes.Greece,
82
+ CountryCodes.Guernsey,
83
+ CountryCodes.HongKong,
84
+ CountryCodes.Hungary,
85
+ CountryCodes.Ireland,
86
+ CountryCodes.IsleOfMan,
87
+ CountryCodes.Italy,
88
+ CountryCodes.Japan,
89
+ CountryCodes.Jersey,
90
+ CountryCodes.Latvia,
91
+ CountryCodes.Liechtenstein,
92
+ CountryCodes.Lithuania,
93
+ CountryCodes.Luxembourg,
94
+ CountryCodes.Malta,
95
+ CountryCodes.Monaco,
96
+ CountryCodes.Netherlands,
97
+ CountryCodes.NewZealand,
98
+ CountryCodes.Norway,
99
+ CountryCodes.Poland,
100
+ CountryCodes.Portugal,
101
+ CountryCodes.PuertoRico,
102
+ CountryCodes.Romania,
103
+ CountryCodes.Singapore,
104
+ CountryCodes.Slovakia,
105
+ CountryCodes.Slovenia,
106
+ CountryCodes.Spain,
107
+ CountryCodes.Sweden,
108
+ CountryCodes.Switzerland,
109
+ CountryCodes.UnitedKingdom,
110
+ CountryCodes.UnitedStates
111
+ ];
66
112
  //#endregion
67
- export { UNINCORPORATED_PARTNERSHIP_COUNTRIES_TAX_INFORMATION_OPTIONAL as a, UNINCORPORATED_PARTNERSHIP_COUNTRIES_REGISTRATION_NUMBER_REQUIRED as i, LEGAL_ARRANGEMENT_COUNTRIES_REQUIRING_DATE_OF_INCORPORATION as n, UNINCORPORATED_PARTNERSHIP_COUNTRIES_TAX_INFORMATION_REQUIRED as o, UNINCORPORATED_PARTNERSHIP_COUNTRIES_REGISTRATION_NUMBER_OPTIONAL as r, UNINCORPORATED_PARTNERSHIP_COUNTRIES_VAT_NUMBER_OPTIONAL as s, ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES as t };
113
+ export { UNINCORPORATED_PARTNERSHIP_COUNTRIES_REGISTRATION_NUMBER_REQUIRED as a, UNINCORPORATED_PARTNERSHIP_COUNTRIES_VAT_NUMBER_OPTIONAL as c, UNINCORPORATED_PARTNERSHIP_COUNTRIES_REGISTRATION_NUMBER_OPTIONAL as i, LEGAL_ARRANGEMENT_COUNTRIES_REQUIRING_DATE_OF_INCORPORATION as n, UNINCORPORATED_PARTNERSHIP_COUNTRIES_TAX_INFORMATION_OPTIONAL as o, SOLE_PROP_COUNTRIES as r, UNINCORPORATED_PARTNERSHIP_COUNTRIES_TAX_INFORMATION_REQUIRED as s, ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES as t };
@@ -0,0 +1,26 @@
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] = "b6171360-9a82-4456-a431-b379fc812373", e._sentryDebugIdIdentifier = "sentry-dbid-b6171360-9a82-4456-a431-b379fc812373");
4
+ } catch (e) {}
5
+ import { F as mapApiScriptLocalizationToSchemaFields } from "./bafinUtils-zINYd-QL.js";
6
+ //#region src/components/Shared/forms/Address/localized/jp/mapAddressLocalizationToJpAddressSchema.ts
7
+ var mapAddressLocalizationToJpAddressSchema = (localization) => {
8
+ if (!localization) return {};
9
+ let jpAddress = {};
10
+ for (const { script, fields } of localization) {
11
+ const schemaFieldsFromLocalization = mapApiScriptLocalizationToSchemaFields({
12
+ script,
13
+ fields: {
14
+ city: fields?.city,
15
+ street: fields?.street
16
+ }
17
+ });
18
+ jpAddress = {
19
+ ...jpAddress,
20
+ ...schemaFieldsFromLocalization
21
+ };
22
+ }
23
+ return jpAddress;
24
+ };
25
+ //#endregion
26
+ export { mapAddressLocalizationToJpAddressSchema as t };
@@ -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] = "b3e72b50-c378-4e6f-9ffb-de66d9c87cb9", e._sentryDebugIdIdentifier = "sentry-dbid-b3e72b50-c378-4e6f-9ffb-de66d9c87cb9");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "bb4c4ed3-7924-4f6c-8827-0c37610f23c8", e._sentryDebugIdIdentifier = "sentry-dbid-bb4c4ed3-7924-4f6c-8827-0c37610f23c8");
4
4
  } catch (e) {}
5
5
  import { t as useScenarios } from "./useScenarios-CGcmXgJv.js";
6
6
  import { useEffect, useMemo } from "preact/hooks";
@@ -1,10 +1,9 @@
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] = "fdabbaf5-a081-431b-aabf-6f9032bd1929", e._sentryDebugIdIdentifier = "sentry-dbid-fdabbaf5-a081-431b-aabf-6f9032bd1929");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "62d799aa-e2a0-44b7-83cf-30341a969de5", e._sentryDebugIdIdentifier = "sentry-dbid-62d799aa-e2a0-44b7-83cf-30341a969de5");
4
4
  } catch (e) {}
5
- import { w as summaryItem } from "./RadioGroup-e6Ty_ggj.js";
6
- import { t as isEmpty } from "./isEmpty-DD8Insy0.js";
7
- import { r as mapSchemaFieldsToApiScriptLocalization } from "./mapAddressLocalizationToJpAddressSchema-CBeBTFmC.js";
5
+ import { w as summaryItem } from "./RadioGroup-8J8cYf9v.js";
6
+ import { I as mapSchemaFieldsToApiScriptLocalization, P as isEmpty } from "./bafinUtils-zINYd-QL.js";
8
7
  import { jsx, jsxs } from "preact/jsx-runtime";
9
8
  //#region src/components/Shared/forms/Address/localized/jp/jpAddressSchema.ts
10
9
  var JP_ADDRESS_REQUIRED_FIELDS = [
@@ -1,20 +1,20 @@
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] = "f2d54373-7530-4723-929f-e6265b06400f", e._sentryDebugIdIdentifier = "sentry-dbid-f2d54373-7530-4723-929f-e6265b06400f");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "56494ef5-2bb6-44ef-ac62-f08fdbd4d009", e._sentryDebugIdIdentifier = "sentry-dbid-56494ef5-2bb6-44ef-ac62-f08fdbd4d009");
4
4
  } catch (e) {}
5
5
  import { r as useTranslation } from "./translation-BOm4lmPx.js";
6
6
  import { t as Typography } from "./Typography-CAc_f5Iq.js";
7
- import { t as Button } from "./Button-oqvTDztg.js";
7
+ import { t as Button } from "./Button-DfRmINzF.js";
8
8
  import { r as httpPost, s as useApiContext } from "./http-DsJtugN1.js";
9
9
  import { t as CountryCodes } from "./country-code-CJk2hdPu.js";
10
- import { c as individualBaseMapping, y as reverseMapping } from "./processCapabilities-BfskhjUw.js";
10
+ import { c as individualBaseMapping, y as reverseMapping } from "./processCapabilities-DRD0Aq2i.js";
11
11
  import { o as getNomineeFromAssociation } from "./entityAssociationUtil-CLBR9osP.js";
12
12
  import { t as DecisionMakerTypes } from "./decision-maker-type-NR4GFAeT.js";
13
- import { i as useAnalyticsContext } from "./Modal-By_wpf9o.js";
14
- import { c as TileGroup } from "./bafinUtils-F8i4raV6.js";
15
- import { r as Field } from "./Select-CrcaoG0i.js";
16
- import { r as formatObject } from "./utils-DyriwmGv.js";
17
- import { n as mapApiScriptLocalizationToSchemaFields, t as mapAddressLocalizationToJpAddressSchema } from "./mapAddressLocalizationToJpAddressSchema-CBeBTFmC.js";
13
+ import { i as useAnalyticsContext } from "./Modal-DmzJdNRm.js";
14
+ import { r as Field } from "./Select-OTcSv--b.js";
15
+ import { r as formatObject } from "./utils-81t38d1p.js";
16
+ import { F as mapApiScriptLocalizationToSchemaFields, c as TileGroup } from "./bafinUtils-zINYd-QL.js";
17
+ import { t as mapAddressLocalizationToJpAddressSchema } from "./mapAddressLocalizationToJpAddressSchema-xGmp-RP6.js";
18
18
  import { jsx, jsxs } from "preact/jsx-runtime";
19
19
  import { signal } from "@preact/signals";
20
20
  import { useMutation } from "@tanstack/preact-query";
@@ -1,10 +1,10 @@
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] = "243eee49-0bb9-4ef0-be51-7090bb6c26b8", e._sentryDebugIdIdentifier = "sentry-dbid-243eee49-0bb9-4ef0-be51-7090bb6c26b8");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "3084279c-3a4c-44ec-9414-64d8e6945bac", e._sentryDebugIdIdentifier = "sentry-dbid-3084279c-3a4c-44ec-9414-64d8e6945bac");
4
4
  } catch (e) {}
5
5
  import { n as httpGet, s as useApiContext } from "./http-DsJtugN1.js";
6
- import { b as crossBorderMapping, x as payoutComponentKeyMapping } from "./processCapabilities-BfskhjUw.js";
7
- import { a as mapWith } from "./utils-DyriwmGv.js";
6
+ import { b as crossBorderMapping, x as payoutComponentKeyMapping } from "./processCapabilities-DRD0Aq2i.js";
7
+ import { a as mapWith } from "./utils-81t38d1p.js";
8
8
  import { skipToken, useQuery } from "@tanstack/preact-query";
9
9
  //#region src/api/transferInstruments/useTransferInstrument.ts
10
10
  var getTransferInstrument = async (legalEntityId, baseUrl, transferInstrumentId) => {
@@ -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] = "80e50681-b658-4db4-9468-70e5bd40b280", e._sentryDebugIdIdentifier = "sentry-dbid-80e50681-b658-4db4-9468-70e5bd40b280");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "35fdec54-6dc7-4559-a82d-667a10148ab3", e._sentryDebugIdIdentifier = "sentry-dbid-35fdec54-6dc7-4559-a82d-667a10148ab3");
4
4
  } catch (e) {}
5
5
  import { t as LegalEntityTypes } from "./legal-entity-type-0MfCGzUf.js";
6
6
  import { o as entriesOf, t as cloneObject } from "./genUtils-Ce61IJs8.js";
@@ -315,7 +315,8 @@ var payoutBaseMapping = {
315
315
  "bankAccount.accountIdentification.clearingNumber": "payoutAccountDetails.branchCode",
316
316
  "bankAccount.accountIdentification.bic": "payoutAccountDetails.swiftCode",
317
317
  "bankAccount.accountIdentification.sortCode": "payoutAccountDetails.branchCode",
318
- "bankAccount.accountIdentification.routingNumber": "payoutAccountDetails.branchCode"
318
+ "bankAccount.accountIdentification.routingNumber": "payoutAccountDetails.branchCode",
319
+ "bankAccount.accountIdentification.accountType": "payoutAccountDetails.accountType"
319
320
  };
320
321
  var crossBorderMapping = {
321
322
  "bankAccount.countryCode": "payoutCountryDetails.bankCountry",
@@ -1,11 +1,11 @@
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] = "73b48b76-b2b0-40ef-9888-f0a5d3d02ec5", e._sentryDebugIdIdentifier = "sentry-dbid-73b48b76-b2b0-40ef-9888-f0a5d3d02ec5");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "fe8d2056-cce9-4b98-b6f6-b818672f27bd", e._sentryDebugIdIdentifier = "sentry-dbid-fe8d2056-cce9-4b98-b6f6-b818672f27bd");
4
4
  } catch (e) {}
5
- import { S as remediationPayoutApiKeyMapping, d as remediationIndividualApiKeyMapping, v as remediationBusinessDetailsApiKeyMapping } from "./processCapabilities-BfskhjUw.js";
5
+ import { S as remediationPayoutApiKeyMapping, d as remediationIndividualApiKeyMapping, v as remediationBusinessDetailsApiKeyMapping } from "./processCapabilities-DRD0Aq2i.js";
6
6
  import { t as TaskTypes } from "./taskTypes-3vSkMBDm.js";
7
- import { t as assignToProp } from "./utils-DyriwmGv.js";
8
- import { i as getFieldNameFromPath } from "./ErrorPanel-jcVYNW8o.js";
7
+ import { t as assignToProp } from "./utils-81t38d1p.js";
8
+ import { i as getFieldNameFromPath } from "./ErrorPanel-GYU4QnH3.js";
9
9
  //#region src/types/errors/maintenance-mode-error.ts
10
10
  var isMaintenanceModeError = (error) => error && typeof error === "object" && "messageCode" in error && error.messageCode === "maintenanceMode";
11
11
  //#endregion