@adyen/kyc-components 4.22.0-beta.0 → 4.22.0-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (230) hide show
  1. package/dist/{AcceptTermsOfServiceWorkflow-D2mvc_PB.js → AcceptTermsOfServiceWorkflow-BOf_52TF.js} +4 -4
  2. package/dist/{Accordion-DEivLTcw.js → Accordion-Sjyj7C_t.js} +1 -1
  3. package/dist/{AccountSetupRejected-pcQcFAhQ.js → AccountSetupRejected-DoYH7MuS.js} +1 -1
  4. package/dist/{AdaptiveWorkflow-C0EsaW8F.js → AdaptiveWorkflow-ychw-YVL.js} +16 -16
  5. package/dist/{AdaptiveWorkflowComponent-Nk2CJaU4.js → AdaptiveWorkflowComponent-DFnkomSo.js} +3 -3
  6. package/dist/{AddressFields-3kqeRdC_.js → AddressFields-CFf-ECTn.js} +10 -10
  7. package/dist/{Avatar-DHyXCNwV.js → Avatar-Zp1T9qAL.js} +1 -1
  8. package/dist/{BusinessFinancingDropin-BOECqGNd.js → BusinessFinancingDropin-Dr9GOZI2.js} +31 -31
  9. package/dist/{BusinessFinancingPage-DSy5an97.js → BusinessFinancingPage-DIHz906_.js} +3 -3
  10. package/dist/{BusinessRegistrationNumberField-DHccXqsX.js → BusinessRegistrationNumberField-BGZrKxCP.js} +5 -5
  11. package/dist/{BusinessRegistrationNumberFieldGroup-2e9GKH-i.js → BusinessRegistrationNumberFieldGroup-D4289xzf.js} +5 -5
  12. package/dist/{BusinessTypeSelectionPage-BraXRUrg.js → BusinessTypeSelectionPage-D7mTXytS.js} +85 -67
  13. package/dist/{Button-nDbNtBn3.js → Button-DfRmINzF.js} +1 -1
  14. package/dist/{Checkbox-BiKnP2fS.js → Checkbox-DTQ5Y6L-.js} +2 -2
  15. package/dist/{ComponentGroup-Due-N8Yz.js → ComponentGroup-DysWDI71.js} +3 -3
  16. package/dist/{ConstitutionalDocument-CtRHXMb9.js → ConstitutionalDocument-o1_xv4zy.js} +15 -15
  17. package/dist/{ContactDetails-Syyy5BfB.js → ContactDetails-BUZAvP2T.js} +5 -5
  18. package/dist/{ContextGuidance-D8leB0D6.js → ContextGuidance-fy9mkvE5.js} +3 -3
  19. package/dist/{Currency-CFsMnSP0.js → Currency-CfDw1FVZ.js} +5 -5
  20. package/dist/{CustomerSupport-DqayB3BM.js → CustomerSupport-BRTzBxJt.js} +25 -15
  21. package/dist/{DataConflictsModal-Bz2SYyi5.js → DataConflictsModal-s-Ss3HdC.js} +7 -7
  22. package/dist/{DebugModal-fH0uKl1E.js → DebugModal-CbilZSFv.js} +10 -10
  23. package/dist/{DecisionMakerDetails-7IPREpy1.js → DecisionMakerDetails-CWZUSV8G.js} +12 -12
  24. package/dist/{DecisionMakerDetailsPage-Bs9q7sxc.js → DecisionMakerDetailsPage-Rtsv9ICS.js} +7 -7
  25. package/dist/{DecisionMakers-Dw66GRhZ.js → DecisionMakers-BmUjP2RH.js} +13 -13
  26. package/dist/{Dropzone-CjLSK2UN.js → Dropzone-dnfMEv2T.js} +7 -7
  27. package/dist/{EmbeddedStatus-BIVFBjzu.js → EmbeddedStatus-tbJfdxm8.js} +3 -3
  28. package/dist/{EndStateLayout-D2CSEwEn.js → EndStateLayout-BK1Hh02g.js} +2 -2
  29. package/dist/{EntityAssociation-LF_5ihhI.js → EntityAssociation-CH9G3mlZ.js} +6 -6
  30. package/dist/{ErrorPanel-tLtZnFnX.js → ErrorPanel-B5suXapM.js} +2 -2
  31. package/dist/{GlobalEntryModal-CY-t1fGQ.js → GlobalEntryModal-DwhX1CJz.js} +237 -51
  32. package/dist/{GlobalEntryPage-xX4ruKnx.js → GlobalEntryPage-DPYM9_FS.js} +11 -8
  33. package/dist/{Icon-BcaP-f1D.js → Icon-C3S5_kkS.js} +1 -1
  34. package/dist/{IdentityNumber-4ky6SOcb.js → IdentityNumber-BJymypwh.js} +5 -5
  35. package/dist/{IdentityNumberFieldGroup-BKKmSfLG.js → IdentityNumberFieldGroup-DPfXsI_n.js} +2 -2
  36. package/dist/{IdentityScreeningWorkflow-D0eNj4nD.js → IdentityScreeningWorkflow-ZVSOyRqF.js} +12 -12
  37. package/dist/{IndividualDropin-DrQiG_Vy.js → IndividualDropin-B3UfxIu8.js} +269 -45
  38. package/dist/{IndustryCodeFieldGroup-jm8KFccr.js → IndustryCodeFieldGroup-D5U1t1F-.js} +4 -4
  39. package/dist/{InputDate-C14J5Af2.js → InputDate-CncTgJYS.js} +3 -3
  40. package/dist/{InputText-Dr-Wg0uc.js → InputText-Bniyaz3w.js} +3 -3
  41. package/dist/{Introduction-DXAxkrDG.js → Introduction-BOz_2500.js} +6 -6
  42. package/dist/{InvitedDecisionMakerComponent-CPMIUjiE.js → InvitedDecisionMakerComponent-DgIv6IG9.js} +9 -9
  43. package/dist/{JpAddressFields-olKUlhpt.js → JpAddressFields-nEKx7nU_.js} +8 -8
  44. package/dist/{LegalCompanyNameField-BrdI-awc.js → LegalCompanyNameField-BFm2LIw2.js} +5 -5
  45. package/dist/{LegalName-CWoSqy0V.js → LegalName-DBvf_laS.js} +4 -4
  46. package/dist/{LegalRepresentativeDetailsPage-Ca3FLoSd.js → LegalRepresentativeDetailsPage-BVr_AhP6.js} +3 -3
  47. package/dist/{Link-opuU6bLF.js → Link-c2jAgGgc.js} +1 -1
  48. package/dist/{ListItem-CbjOa0L_.js → ListItem-C35r8558.js} +3 -3
  49. package/dist/{Modal-BDNS-0rS.js → Modal-5uXk2vE6.js} +2 -2
  50. package/dist/{Name-CxlxPgUR.js → Name-CbdY9G9k.js} +4 -4
  51. package/dist/{NewSummary-mLsovGX8.js → NewSummary-lUp_hg6V.js} +6 -6
  52. package/dist/{PatriotActDisclosure-kOnDnF8P.js → PatriotActDisclosure-i6txl8sg.js} +9 -9
  53. package/dist/{PayoutDetailsDropin-CZ77wefd.js → PayoutDetailsDropin-BnDericg.js} +25 -25
  54. package/dist/{PayoutDetailsPage-Cyy-fDbK.js → PayoutDetailsPage-zLj-XA7a.js} +4 -4
  55. package/dist/{RadioGroup-C0mNADXE.js → RadioGroup-BcRkK03K.js} +11 -11
  56. package/dist/{Review-CDtJh9j3.js → Review--lh7xBZJ.js} +6 -6
  57. package/dist/{RootBusinessDetailsPage-CnVWFx0H.js → RootBusinessDetailsPage-CsOt68pH.js} +3 -3
  58. package/dist/{RootBusinessLinesPage-Dtx9X-mD.js → RootBusinessLinesPage-CsPTRJHI.js} +20 -20
  59. package/dist/{RootIndividualDetailsPage-q8PZ0Khk.js → RootIndividualDetailsPage-CROUaWsK.js} +4 -4
  60. package/dist/{Select-UO37dd_q.js → Select-CAYO1vj-.js} +6 -6
  61. package/dist/{SignPCIComponent-D21OqVWo.js → SignPCIComponent-iFFWNqDL.js} +13 -13
  62. package/dist/{SingpassSelection-CRYphIRT.js → SingpassSelection-BKRSs-Xf.js} +4 -4
  63. package/dist/{SoleProprietorshipPage-BKB0sRiP.js → SoleProprietorshipPage-UvZsbICO.js} +3 -3
  64. package/dist/{SourceOfFundsPage-C2ZEp0lT.js → SourceOfFundsPage-B5E9w3tI.js} +25 -28
  65. package/dist/{SourceOfFundsWorkflow-Cy12c7ou.js → SourceOfFundsWorkflow-DgUkjcYh.js} +4 -4
  66. package/dist/{StateField-CWS8eXex.js → StateField-DB4_kWP5.js} +46 -5
  67. package/dist/{Step-CYG94mSp.js → Step-CoGy1zas.js} +4 -4
  68. package/dist/{Task-D6xuGucd.js → Task-DdRNdhJY.js} +7 -7
  69. package/dist/{TaskGroup-C4ND30dB.js → TaskGroup-yVbg_WHM.js} +3 -3
  70. package/dist/{TaskListItem-Dc6n6llv.js → TaskListItem-BritELso.js} +10 -10
  71. package/dist/{TaskStepperContextProvider-CvChF1W5.js → TaskStepperContextProvider-D0tKJplv.js} +1 -1
  72. package/dist/{TaskVerificationStatus-pjPK5vVN.js → TaskVerificationStatus-DPA4ZEPa.js} +1 -1
  73. package/dist/{TaxInformationFieldGroup-BACQgHQ7.js → TaxInformationFieldGroup-CYcqRgQt.js} +9 -9
  74. package/dist/{TaxReportingDropin-DmOclyYQ.js → TaxReportingDropin-Dxt-K1Td.js} +14 -14
  75. package/dist/{TaxReportingWorkflow-CBEB7oAn.js → TaxReportingWorkflow-xeJVSZxl.js} +4 -4
  76. package/dist/{TermsOfServiceManagement-No_9QGjv.js → TermsOfServiceManagement-BiqqRcsM.js} +12 -12
  77. package/dist/{TextArea-BzY5efza.js → TextArea-mN6mmyt0.js} +4 -4
  78. package/dist/{TrustDetailsPage-BHjbebZX.js → TrustDetailsPage-OuITcLjL.js} +23 -25
  79. package/dist/{TrustMemberCompanyPage-BSe-Pn1O.js → TrustMemberCompanyPage-BSr2h39m.js} +4 -4
  80. package/dist/{TrustMemberIndividualPage-DxlZQF6W.js → TrustMemberIndividualPage-D1oTjw8X.js} +3 -3
  81. package/dist/{TrustMemberRoleAndTypePage-AtlXyfKk.js → TrustMemberRoleAndTypePage-qnLRC07p.js} +15 -16
  82. package/dist/{TrustMembersOverview-DpmUv4Vj.js → TrustMembersOverview-BhtPLg82.js} +11 -11
  83. package/dist/{UboTaskItem-ESC2Ze3o.js → UboTaskItem-dmz_L8pF.js} +7 -7
  84. package/dist/{UnincorporatedPartnershipIndividualPage-BVpz27KZ.js → UnincorporatedPartnershipIndividualPage-BGuseNDd.js} +3 -3
  85. package/dist/{UnincorporatedPartnershipMemberCompanyPage-BBxtLGt0.js → UnincorporatedPartnershipMemberCompanyPage-DfWEeKVA.js} +4 -4
  86. package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-BuI7aE3O.js → UnincorporatedPartnershipMemberRoleAndTypePage-CNrub8wj.js} +8 -8
  87. package/dist/{UnincorporatedPartnershipMembersOverview-sE8-A2hQ.js → UnincorporatedPartnershipMembersOverview-BISsH8Wm.js} +6 -6
  88. package/dist/{VerificationErrorAlert-BCEhkhpr.js → VerificationErrorAlert-DAg5VgBd.js} +3 -3
  89. package/dist/{Workflow-CzSGihyD.js → Workflow-CVwXYQQE.js} +6 -6
  90. package/dist/{accountHolderUtils-3WiED1-j.js → accountHolderUtils-Dt7JmWab.js} +1 -1
  91. package/dist/adyen-business-financing.js +4 -4
  92. package/dist/adyen-individual-configuration.js +3 -3
  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 +43 -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 +10 -10
  100. package/dist/adyen-verification-status.js +3 -3
  101. package/dist/{bafinUtils-h8n1IbJ9.js → bafinUtils-B8teCz7U.js} +160 -1053
  102. package/dist/businessRegistrationNumberPatterns-DwjKFSlu.js +981 -0
  103. package/dist/{constants-B9iXz9xK.js → constants-CSVEfRuk.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-CHFF8jLc.js → error-DhPmKdY4.js} +3 -3
  107. package/dist/{form-rules-CKwx5XtT.js → form-rules-yTwukXew.js} +6 -6
  108. package/dist/{formatValidationError-DZ1CxHdw.js → formatValidationError-ChBRk626.js} +2 -2
  109. package/dist/{getDefaultRegistrationNumberType-6m6DEmW8.js → getDefaultRegistrationNumberType-DPidx6iz.js} +59 -59
  110. package/dist/{getTrustedDecisionMakers-qs2frwk2.js → getTrustedDecisionMakers-DX3nImM5.js} +2 -2
  111. package/dist/{legalArrangementUtils-skU_cq9L.js → legalArrangementUtils-xvCxpgzJ.js} +48 -2
  112. package/dist/mapAddressLocalizationToJpAddressSchema-DEOqm_oJ.js +26 -0
  113. package/dist/{mapExistingFile-CDahgHsP.js → mapExistingFile-CwGW1ru4.js} +1 -1
  114. package/dist/{mapJpAddressSchemaToAddressLocalizations-CX2djRYM.js → mapJpAddressSchemaToAddressLocalizations-BcW9wSjn.js} +3 -4
  115. package/dist/{mapLegalEntityToIndividualSchema-ChE9qTUB.js → mapLegalEntityToIndividualSchema-Ksy4YlcJ.js} +7 -7
  116. package/dist/{mapTransferInstrumentToPayoutAccount-BmSbFaJJ.js → mapTransferInstrumentToPayoutAccount-BoZaPCSn.js} +2 -2
  117. package/dist/{processValidationErrors-CRWq2tu-.js → processValidationErrors-BJNiG_SS.js} +3 -3
  118. package/dist/{resolveEnvironment-D2iMH7UD.js → resolveEnvironment-6rOnOa58.js} +11 -11
  119. package/dist/types/adaptiveWorkflow/components/Fields/BusinessRegistrationNumber/BusinessRegistrationNumberFieldGroup.d.ts +2 -3
  120. package/dist/types/adaptiveWorkflow/components/Fields/BusinessRegistrationNumber/RegistrationNumberTypeSelectorField.d.ts +2 -2
  121. package/dist/types/adaptiveWorkflow/components/Fields/TaxInformation/TaxIdTypeSelectorField.d.ts +2 -2
  122. package/dist/types/adaptiveWorkflow/components/Fields/TaxInformation/TaxInformationFieldGroup.d.ts +3 -3
  123. package/dist/types/api/createLegalEntity/useCreateLegalEntity.d.ts +1 -1
  124. package/dist/types/api/legalEntity/legalEntity.types.d.ts +9 -0
  125. package/dist/types/api/legalEntity/useLegalEntity.d.ts +7 -7
  126. package/dist/types/api/legalEntity/useUpdateLegalEntity.d.ts +1 -1
  127. package/dist/types/components/Business/forms/AdditionalInformation/types.d.ts +2 -2
  128. package/dist/types/components/Business/forms/BasicInformation/types.d.ts +2 -2
  129. package/dist/types/components/Business/forms/CompanyStructure/types.d.ts +2 -2
  130. package/dist/types/components/Business/forms/FinancialInformation/mapping/mapFinancialInformationToFinancialReport.d.ts +2 -2
  131. package/dist/types/components/Business/forms/FinancialInformation/mapping/mapFinancialReportsToFinancialInformation.d.ts +2 -2
  132. package/dist/types/components/Business/forms/RegistrationDocument/types.d.ts +3 -3
  133. package/dist/types/components/Business/forms/TaxDocument/types.d.ts +3 -3
  134. package/dist/types/components/Business/mapping/businessDetails/mapLegalEntityToBusinessDetailsSchema.d.ts +1 -1
  135. package/dist/types/components/Business/tasks/BusinessDetailsDropin/validate.d.ts +2 -2
  136. package/dist/types/components/Business/utils/applyVerifiedBusinessData.d.ts +2 -2
  137. package/dist/types/components/Business/utils/companyTypeMetadata.d.ts +4 -4
  138. package/dist/types/components/Business/utils/getAvailableCompanyStructures.d.ts +2 -2
  139. package/dist/types/components/Business/utils/utils.d.ts +3 -4
  140. package/dist/types/components/EFP/mapping/businessFinancingKeyMappings.d.ts +96 -102
  141. package/dist/types/components/EFP/tasks/BusinessFinancingDropin/utils.d.ts +5 -6
  142. package/dist/types/components/EFP/tasks/SourceOfFundsDropin/types.d.ts +2 -2
  143. package/dist/types/components/EmbeddedDropins/BusinessFinancingComponent/utils.d.ts +2 -2
  144. package/dist/types/components/GlobalEntry/fields/PaperworkQuestionnaire/PaperworkQuestionnaire.d.ts +5 -0
  145. package/dist/types/components/GlobalEntry/fields/PaperworkQuestionnaire/types.d.ts +1 -1
  146. package/dist/types/components/GlobalEntry/fields/PrimaryPartnerTypeField/types.d.ts +1 -1
  147. package/dist/types/components/GlobalEntry/fields/UnincorporatedOrganizationTypeField/types.d.ts +1 -1
  148. package/dist/types/components/GlobalEntry/globalEntryKeyMapping.d.ts +15 -0
  149. package/dist/types/components/GlobalEntry/rules.d.ts +1 -1
  150. package/dist/types/components/GlobalEntry/tasks/GlobalEntryModal.d.ts +6 -2
  151. package/dist/types/components/GlobalEntry/tasks/GlobalEntryPage.d.ts +5 -1
  152. package/dist/types/components/GlobalEntry/utils.d.ts +27 -3
  153. package/dist/types/components/Individual/forms/IdNowVerificationModal/isIdNowModalOpen.d.ts +1 -1
  154. package/dist/types/components/Individual/forms/Individual.rules.d.ts +0 -1
  155. package/dist/types/components/Shared/FormFlow/FormFlow.d.ts +1 -1
  156. package/dist/types/components/Shared/FormFlow/FormFlow.types.d.ts +1 -0
  157. package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/RegistrationNumberTypeSelector/CompanyRegistrationNumberTypeSelector.d.ts +2 -2
  158. package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/RegistrationNumberTypeSelector/getDefaultRegistrationNumberType.d.ts +2 -2
  159. package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/RegistrationNumberTypeSelector/inferCompanyRegistrationNumberType.d.ts +2 -2
  160. package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/fieldConfig.d.ts +2 -2
  161. package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/registrationNumberTypes.d.ts +3 -3
  162. package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/types.d.ts +3 -4
  163. package/dist/types/components/Shared/fields/RegistrationAndOperationalAddressFields/utils.d.ts +1 -1
  164. package/dist/types/components/Shared/fields/TaxInformationField/TaxIdNumberTypeSelector/TaxIdNumberTypeSelector.d.ts +2 -2
  165. package/dist/types/components/Shared/fields/TaxInformationField/TaxIdNumberTypeSelector/getDefaultTaxIdNumberType.d.ts +3 -4
  166. package/dist/types/components/Shared/fields/TaxInformationField/TaxIdNumberTypeSelector/inferTaxIdNumberType.d.ts +3 -4
  167. package/dist/types/components/Shared/fields/TaxInformationField/fieldConfig.d.ts +4 -4
  168. package/dist/types/components/Shared/fields/TaxInformationField/taxIdNumberTypes.d.ts +5 -4
  169. package/dist/types/components/Shared/fields/TaxInformationField/types.d.ts +9 -4
  170. package/dist/types/components/Shared/fields/TaxInformationField/utils.d.ts +1 -1
  171. package/dist/types/components/Shared/fields/VatNumberField/VatNumberTypeSelector/VatNumberTypeSelector.d.ts +2 -2
  172. package/dist/types/components/Shared/fields/VatNumberField/types.d.ts +4 -4
  173. package/dist/types/components/Shared/fields/VatNumberField/vatNumberTypes.d.ts +2 -3
  174. package/dist/types/components/Shared/forms/Address/localized/jp/mapAddressLocalizationToJpAddressSchema.d.ts +2 -2
  175. package/dist/types/components/Shared/forms/Address/localized/jp/mapJpAddressSchemaToAddressLocalizations.d.ts +2 -2
  176. package/dist/types/components/Shared/forms/Address/types.d.ts +3 -7
  177. package/dist/types/components/Shared/forms/Address/utils.d.ts +1 -1
  178. package/dist/types/components/Shared/forms/BusinessTypeSelection/useUpdateLegalEntityAndSelectAccountHolder.d.ts +13 -0
  179. package/dist/types/components/Shared/forms/BusinessTypeSelection/utils.d.ts +3 -3
  180. package/dist/types/components/Shared/forms/DocumentUpload/types.d.ts +2 -2
  181. package/dist/types/components/Shared/tasks/CustomerSupport/mapping/mapCustomerSupportSchemaToCustomerSupportType.d.ts +2 -2
  182. package/dist/types/components/Shared/tasks/CustomerSupport/mapping/mapDtoToCustomerSupportSchema.d.ts +3 -0
  183. package/dist/types/core/models/api/individual.d.ts +5 -6
  184. package/dist/types/core/models/api/legal-arrangement.d.ts +6 -6
  185. package/dist/types/core/models/api/legal-entity.d.ts +2 -2
  186. package/dist/types/core/user-events.d.ts +2 -2
  187. package/dist/types/datasets/generators/getCompanyTypeExamplesForCountry.d.ts +3 -3
  188. package/dist/types/hooks/useDataConflicts.d.ts +2 -2
  189. package/dist/types/router/routeConfig.d.ts +1 -1
  190. package/dist/types/types/businessEntityType.d.ts +7 -0
  191. package/dist/types/utils/addressToString.d.ts +2 -2
  192. package/dist/types/utils/analytics/debouncedInputEvent.d.ts +1 -1
  193. package/dist/types/utils/businessUtils.d.ts +18 -7
  194. package/dist/types/utils/customerSupportUtils.d.ts +2 -2
  195. package/dist/types/utils/legalArrangementUtils.d.ts +1 -0
  196. package/dist/types/utils/mapping/documentGuidanceMap.d.ts +1 -1
  197. package/dist/{types-Bdfu7HN6.js → types-wRlt8bxb.js} +1 -1
  198. package/dist/{useBusinessDetailsData-DZQuIMNw.js → useBusinessDetailsData-D5WMRXf8.js} +88 -111
  199. package/dist/{useCanSeeIntroduction-BGYdkMIE.js → useCanSeeIntroduction-47a29qGT.js} +3 -3
  200. package/dist/{useForm-BJq32Ve1.js → useForm-C8X8Nh_A.js} +3 -3
  201. package/dist/{useHideTaskStepper-CcCmW80A.js → useHideTaskStepper-CbMcV9mk.js} +1 -1
  202. package/dist/{useId-BMocIuPK.js → useId-CcjYxxnm.js} +1 -1
  203. package/dist/{useNavigate-D4ypqPBN.js → useNavigate-ZoEeUtrK.js} +33 -33
  204. package/dist/{useSalesChannels-BCzs8Xya.js → useSalesChannels-K1tuVs25.js} +3 -3
  205. package/dist/{useTaskLandedEvent-Cf1fN_gV.js → useTaskLandedEvent-DcX3urqZ.js} +2 -2
  206. package/dist/{useTrustMembers-DqpnYNNj.js → useTrustMembers-DoRWdimd.js} +2 -2
  207. package/dist/{useUnincorporatedPartnershipMembers-w3dG_nyc.js → useUnincorporatedPartnershipMembers-K5jkCKfJ.js} +1 -1
  208. package/dist/{StructuredList-CqZM_5X9.js → utils-CXLiV88a.js} +94 -5
  209. package/dist/{utils-BMhvbUV1.js → utils-Dm0eoyQ6.js} +8 -17
  210. package/dist/{validate-BqIbVY0E.js → validate-09Jy2SgA.js} +8 -8
  211. package/dist/{validate-DiEa5w30.js → validate-BcUs5K_M.js} +46 -6
  212. package/dist/{validate-RLWN-I5L.js → validate-DnnWVNv6.js} +2 -2
  213. package/dist/{validate-Dfw99Sal.js → validate-tS-cwVuY.js} +3 -3
  214. package/dist/{validateExtractionResult-DueyX5oY.js → validateExtractionResult-dH4TewHf.js} +2 -2
  215. package/dist/{validationError-BhICjGiF.js → validationError-D4d622D3.js} +2 -2
  216. package/package.json +1 -1
  217. package/dist/Individual.rules-PKwY3D-0.js +0 -293
  218. package/dist/decisionMakerRoles-DbKnutwk.js +0 -46
  219. package/dist/isEmpty-DD8Insy0.js +0 -14
  220. package/dist/mapAddressLocalizationToJpAddressSchema-CBeBTFmC.js +0 -66
  221. package/dist/types/core/models/api/address.d.ts +0 -14
  222. package/dist/types/core/models/api/branchAllocation.d.ts +0 -5
  223. package/dist/types/core/models/api/company-types-value.d.ts +0 -15
  224. package/dist/types/core/models/api/customerSupport.d.ts +0 -12
  225. package/dist/types/core/models/api/financialReport.d.ts +0 -15
  226. package/dist/types/core/models/api/organization.d.ts +0 -60
  227. package/dist/useCreateLegalEntity-CYZd_62a.js +0 -24
  228. package/dist/useUpdateLegalEntity-CvACAgDP.js +0 -29
  229. package/dist/utils-Br7Ah3uy.js +0 -46
  230. package/dist/utils-DdHbAadK.js +0 -80
@@ -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] = "97d90026-1cf1-450c-a579-88060c90f26f", e._sentryDebugIdIdentifier = "sentry-dbid-97d90026-1cf1-450c-a579-88060c90f26f");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "5946432f-16a3-412c-92b6-1e8904f115ea", e._sentryDebugIdIdentifier = "sentry-dbid-5946432f-16a3-412c-92b6-1e8904f115ea");
4
4
  } catch (e) {}
5
- import { j as useToggleContext } from "./resolveEnvironment-D2iMH7UD.js";
5
+ import { j as useToggleContext } from "./resolveEnvironment-6rOnOa58.js";
6
6
  import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-QQXN6YOm.js";
7
7
  import { t as LegalEntityTypes } from "./legal-entity-type-0MfCGzUf.js";
8
8
  import { s as getOwnEntityAssociations } from "./entityAssociationUtil-CLBR9osP.js";
@@ -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] = "8b14cc60-9824-4247-8899-be1a1c4e0332", e._sentryDebugIdIdentifier = "sentry-dbid-8b14cc60-9824-4247-8899-be1a1c4e0332");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "8394cc2e-8390-44bb-9ee9-118d7d3a2125", e._sentryDebugIdIdentifier = "sentry-dbid-8394cc2e-8390-44bb-9ee9-118d7d3a2125");
4
4
  } catch (e) {}
5
5
  import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-QQXN6YOm.js";
6
6
  import { t as LegalEntityTypes } from "./legal-entity-type-0MfCGzUf.js";
@@ -1,12 +1,12 @@
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] = "62b5fbaf-fef3-4a9b-bd46-b7f61c575b17", e._sentryDebugIdIdentifier = "sentry-dbid-62b5fbaf-fef3-4a9b-bd46-b7f61c575b17");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "43d633da-ecc8-4a41-88ee-2a5d08f649a4", e._sentryDebugIdIdentifier = "sentry-dbid-43d633da-ecc8-4a41-88ee-2a5d08f649a4");
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-nDbNtBn3.js";
8
- import { i as useAnalyticsContext, t as Modal } from "./Modal-BDNS-0rS.js";
9
- import { t as useId } from "./useId-BMocIuPK.js";
7
+ import { t as Button } from "./Button-DfRmINzF.js";
8
+ import { i as useAnalyticsContext, t as Modal } from "./Modal-5uXk2vE6.js";
9
+ import { t as useId } from "./useId-CcjYxxnm.js";
10
10
  import { useEffect, useState } from "preact/hooks";
11
11
  import cx from "classnames";
12
12
  import { jsx, jsxs } from "preact/jsx-runtime";
@@ -122,4 +122,93 @@ var StructuredListItemEl = ({ item: { term, details }, detailsGroupClassNames })
122
122
  });
123
123
  };
124
124
  //#endregion
125
- export { Confirm as n, StructuredList as t };
125
+ //#region src/utils/mapping/utils.ts
126
+ /**
127
+ * returns the indicated property of an object, if it exists.
128
+ *
129
+ * @param object - The object to query
130
+ * @param path - The property name or path to the property
131
+ * @returns The value at `obj[p]`.
132
+
133
+ * @example
134
+ * ```
135
+ * getProp({x: 100}, 'x'); //=> 100
136
+ * getProp({}, 'x'); //=> undefined
137
+ * ```
138
+ */
139
+ function getProp(object, path) {
140
+ return path.split(".").reduce((xs, x) => xs && xs[x] !== void 0 ? xs[x] : void 0, object);
141
+ }
142
+ /**
143
+ * assigns the value provided to the key in targetObject.
144
+ * @param path - keys separated by a delimiter.
145
+ * @param obj - object to which value will be assigned
146
+ * @param val - value to be assigned
147
+ *
148
+ * @example
149
+ * ```
150
+ * targetObject = {};
151
+ * assignToProp('x.y.z', targetObject, 'foo');
152
+ * console.log(targetObject); => {x:{y:{z:'foo'}}}
153
+ * ```
154
+ */
155
+ function assignToProp(path, obj, val) {
156
+ const splitPath = path.split(".");
157
+ const pathDepth = splitPath.length;
158
+ let currentObj = obj;
159
+ splitPath.forEach((key, index) => {
160
+ if (index === pathDepth - 1) currentObj[key] = val;
161
+ else {
162
+ if (!currentObj[key]) currentObj[key] = {};
163
+ currentObj = currentObj[key];
164
+ }
165
+ });
166
+ }
167
+ function deleteProp(path, obj) {
168
+ const splitPath = path.split(".");
169
+ const pathDepth = splitPath.length;
170
+ let currentObj = obj;
171
+ splitPath.forEach((key, index) => {
172
+ if (currentObj[key] === void 0) throw Error(`The given path does not exist on the object: ${key} (${path})`);
173
+ if (index === pathDepth - 1) delete currentObj[key];
174
+ else currentObj = currentObj[key];
175
+ });
176
+ }
177
+ /**
178
+ * @param obj - source object
179
+ * @param mapping - key mappings from source to target object structure
180
+ * @example
181
+ * ```
182
+ * let mapping={ 'a.b': 'x.y.z'}
183
+ * let obj = {x: {y: {z: 'foo'}}}
184
+ * formatObject(obj, mapping) => {a:{b:'foo'}}
185
+ * ```
186
+ */
187
+ var formatObject = (obj, mapping) => {
188
+ const formattedObj = {};
189
+ Object.entries(mapping).forEach(([targetKey, sourceKey]) => {
190
+ const value = getProp(obj, sourceKey);
191
+ if (value !== void 0) assignToProp(targetKey, formattedObj, value);
192
+ });
193
+ return formattedObj;
194
+ };
195
+ /**
196
+ * @param obj - source object
197
+ * @param mapping - key mappings from target to source object structure
198
+ * @example
199
+ * ```
200
+ * let mapping={ 'a.b': 'x.y.z'}
201
+ * let obj = {x: {y: {z: 'foo'}}}
202
+ * formatObject(obj, mapping) => {a:{b:'foo'}}
203
+ * ```
204
+ */
205
+ var mapWith = (obj, mapping) => {
206
+ const formattedObj = {};
207
+ for (const [sourceKey, targetKey] of Object.entries(mapping)) {
208
+ const value = getProp(obj, sourceKey);
209
+ if (value !== void 0) assignToProp(targetKey, formattedObj, value);
210
+ }
211
+ return formattedObj;
212
+ };
213
+ //#endregion
214
+ export { mapWith as a, getProp as i, deleteProp as n, StructuredList as o, formatObject as r, Confirm as s, assignToProp as t };
@@ -1,16 +1,14 @@
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] = "34a4d52c-bf07-4529-9e94-bfbd468e77b8", e._sentryDebugIdIdentifier = "sentry-dbid-34a4d52c-bf07-4529-9e94-bfbd468e77b8");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "2cd792da-8532-4255-905d-d9ce3804b664", e._sentryDebugIdIdentifier = "sentry-dbid-2cd792da-8532-4255-905d-d9ce3804b664");
4
4
  } catch (e) {}
5
5
  import { t as LegalEntityTypes } from "./legal-entity-type-0MfCGzUf.js";
6
6
  import { t as getLegalEntityCountry } from "./getLegalEntityCountry-CNE5uei8.js";
7
7
  import { t as CountryCodes } from "./country-code-CJk2hdPu.js";
8
8
  import { t as getCapabilities } from "./processCapabilities-BfskhjUw.js";
9
9
  import { d as hasOwnEntityAssociationOfType } from "./entityAssociationUtil-CLBR9osP.js";
10
- import { H as CompanyTypesValues } from "./bafinUtils-h8n1IbJ9.js";
11
- import { t as allowIndividualWithoutSoleProp } from "./accountHolderUtils-3WiED1-j.js";
12
- import { r as SOLE_PROP_COUNTRIES } from "./Individual.rules-PKwY3D-0.js";
13
- import { t as ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES } from "./legalArrangementUtils-skU_cq9L.js";
10
+ import { t as allowIndividualWithoutSoleProp } from "./accountHolderUtils-Dt7JmWab.js";
11
+ import { r as SOLE_PROP_COUNTRIES, t as ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES } from "./legalArrangementUtils-xvCxpgzJ.js";
14
12
  //#region src/components/Shared/forms/BusinessTypeSelection/utils.ts
15
13
  var TRUST_COUNTRIES = [CountryCodes.Australia, CountryCodes.NewZealand];
16
14
  var BUSINESS_BANK_ACCOUNT_COUNTRIES = [
@@ -154,27 +152,20 @@ var useSelectionOptions = (legalEntityResponse) => {
154
152
  legalArrangementOptions: getLegalArrangementOptions(country)
155
153
  };
156
154
  };
157
- var mapLegalArrangementOptionToCompanyTypesValue = (legalArrangement) => {
158
- switch (legalArrangement) {
159
- case "partnershipIncorporated": return CompanyTypesValues.INCORPORATED_PARTNERSHIP;
160
- case "associationIncorporated": return CompanyTypesValues.INCORPORATED_ASSOCIATION;
161
- default: return;
162
- }
163
- };
164
155
  var determineOrganizationTypeToUpdate = (targetLegalArrangement, currentCompanyTypeValue) => {
165
- if (targetLegalArrangement === "aTrust") return;
156
+ if (targetLegalArrangement === "aTrust" || targetLegalArrangement === "partnershipUnincorporated") return;
166
157
  if (!targetLegalArrangement) {
167
- if (currentCompanyTypeValue === CompanyTypesValues.INCORPORATED_ASSOCIATION || currentCompanyTypeValue === CompanyTypesValues.INCORPORATED_PARTNERSHIP) return CompanyTypesValues.PRIVATE_COMPANY;
158
+ if (currentCompanyTypeValue === "associationIncorporated" || currentCompanyTypeValue === "partnershipIncorporated") return "privateCompany";
168
159
  }
169
- return mapLegalArrangementOptionToCompanyTypesValue(targetLegalArrangement);
160
+ return targetLegalArrangement;
170
161
  };
171
162
  var getDefaultLegalArrangementOrSuborganizationType = (legalEntityResponse, accountHolder) => {
172
163
  const entityAssociations = legalEntityResponse?.entityAssociations;
173
164
  const suborganizationType = legalEntityResponse?.organization?.type;
174
165
  if (hasOwnEntityAssociationOfType(LegalEntityTypes.TRUST, entityAssociations, legalEntityResponse?.id) || accountHolder === "aTrust") return "aTrust";
175
166
  if (hasOwnEntityAssociationOfType(LegalEntityTypes.UNINCORPORATED_PARTNERSHIP, entityAssociations, legalEntityResponse?.id) || accountHolder === "anUnincorporatedPartnership") return "partnershipUnincorporated";
176
- if (suborganizationType === CompanyTypesValues.INCORPORATED_PARTNERSHIP) return "partnershipIncorporated";
177
- if (suborganizationType === CompanyTypesValues.INCORPORATED_ASSOCIATION) return "associationIncorporated";
167
+ if (suborganizationType === "partnershipIncorporated") return "partnershipIncorporated";
168
+ if (suborganizationType === "associationIncorporated") return "associationIncorporated";
178
169
  };
179
170
  var getTargetLegalEntityType = (businessType, legalArrangement, trusteeType, currentLegalEntityType) => {
180
171
  const trustOrUnincorporatedPartnership = legalArrangement === "aTrust" || legalArrangement === "partnershipUnincorporated";
@@ -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] = "d2229fa3-e337-43fc-b3d4-f8c6afba9734", e._sentryDebugIdIdentifier = "sentry-dbid-d2229fa3-e337-43fc-b3d4-f8c6afba9734");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "8a57228d-deaf-492e-bfaa-2796a8a4a5ac", e._sentryDebugIdIdentifier = "sentry-dbid-8a57228d-deaf-492e-bfaa-2796a8a4a5ac");
4
4
  } catch (e) {}
5
5
  import { r as useTranslation } from "./translation-BOm4lmPx.js";
6
- import { j as useToggleContext, nt as isEmpty } from "./resolveEnvironment-D2iMH7UD.js";
6
+ import { j as useToggleContext, nt as isEmpty } from "./resolveEnvironment-6rOnOa58.js";
7
7
  import { t as LegalEntityTypes } from "./legal-entity-type-0MfCGzUf.js";
8
8
  import { s as keysOf } from "./genUtils-Ce61IJs8.js";
9
9
  import { t as CountryCodes } from "./country-code-CJk2hdPu.js";
10
10
  import { t as TaskTypes } from "./taskTypes-3vSkMBDm.js";
11
- import { r as KEYBOARD_KEYS } from "./Modal-BDNS-0rS.js";
12
- import { m as resolveFieldMetadata, p as convertFullToHalf } from "./form-rules-CKwx5XtT.js";
13
- import { B as toFullWidth, H as CompanyTypesValues, V as isJapanLocalizationEnabled, k as REGISTRATION_NUMBER_EXEMPTION_RULES, v as COUNTRIES_REQUIRING_FINANCIAL_INFORMATION } from "./bafinUtils-h8n1IbJ9.js";
14
- import { i as validateJaKanaLegalCompanyName, r as validateJaHaniLegalCompanyName, u as CountryField } from "./RadioGroup-C0mNADXE.js";
15
- import { a as defaultFieldMetadata, i as defaultFieldConfigV4, o as defaultFieldMetadataV4, r as defaultFieldConfig, s as getLegalCompanyNameGuidanceText, t as LEGAL_COMPANY_NAME_FIELD } from "./LegalCompanyNameField-BrdI-awc.js";
11
+ import { r as KEYBOARD_KEYS } from "./Modal-5uXk2vE6.js";
12
+ import { m as resolveFieldMetadata, p as convertFullToHalf } from "./form-rules-yTwukXew.js";
13
+ import { i as validateJaKanaLegalCompanyName, r as validateJaHaniLegalCompanyName, u as CountryField } from "./RadioGroup-BcRkK03K.js";
14
+ import { a as defaultFieldMetadata, i as defaultFieldConfigV4, o as defaultFieldMetadataV4, r as defaultFieldConfig, s as getLegalCompanyNameGuidanceText, t as LEGAL_COMPANY_NAME_FIELD } from "./LegalCompanyNameField-BFm2LIw2.js";
15
+ import { H as toFullWidth, U as isJapanLocalizationEnabled, k as REGISTRATION_NUMBER_EXEMPTION_RULES, v as COUNTRIES_REQUIRING_FINANCIAL_INFORMATION } from "./bafinUtils-B8teCz7U.js";
16
16
  import { useEffect } from "preact/hooks";
17
17
  import { jsx } from "preact/jsx-runtime";
18
18
  var localizedLegalCompanyNameFieldConfig = {
@@ -138,7 +138,7 @@ var getCountryOfGoverningLaw = (isCountryOfGoverningLawEnabled, basicData) => {
138
138
  */
139
139
  var isRegistrationExemptionAllowed = (country) => country in REGISTRATION_NUMBER_EXEMPTION_RULES;
140
140
  var isRegistrationNumberAbsentStateV4Scenario = (country, entityType) => {
141
- return country === CountryCodes.Australia && (entityType === CompanyTypesValues.GOVERNMENTAL_ORGANIZATION || entityType === CompanyTypesValues.INCORPORATED_PARTNERSHIP) || country === CountryCodes.NewZealand;
141
+ return country === CountryCodes.Australia && (entityType === "governmentalOrganization" || entityType === "partnershipIncorporated") || country === CountryCodes.NewZealand;
142
142
  };
143
143
  //#endregion
144
144
  //#region src/components/Shared/fields/CountryOfGoverningLawField/validate.ts
@@ -1,16 +1,16 @@
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] = "b4cdecba-409f-4c6e-8cc8-2a972d9fa7f9", e._sentryDebugIdIdentifier = "sentry-dbid-b4cdecba-409f-4c6e-8cc8-2a972d9fa7f9");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "cdb31d30-1928-417a-b283-5941990916cb", e._sentryDebugIdIdentifier = "sentry-dbid-cdb31d30-1928-417a-b283-5941990916cb");
4
4
  } catch (e) {}
5
5
  import { r as useTranslation } from "./translation-BOm4lmPx.js";
6
6
  import { t as createLogger } from "./logger-Z8AeTE4x.js";
7
- import { t as Icon } from "./Icon-BcaP-f1D.js";
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 } from "./Button-nDbNtBn3.js";
10
+ import { n as IconButton } from "./Button-DfRmINzF.js";
11
11
  import { n as httpGet, r as httpPost, t as httpDelete } from "./http-DsJtugN1.js";
12
- import { i as useAnalyticsContext } from "./Modal-BDNS-0rS.js";
13
- import { t as getLocalizedIdDocumentTypeOptions } from "./utils-Br7Ah3uy.js";
12
+ import { t as CountryCodes } from "./country-code-CJk2hdPu.js";
13
+ import { i as useAnalyticsContext } from "./Modal-5uXk2vE6.js";
14
14
  import { useEffect } from "preact/hooks";
15
15
  import cx from "classnames";
16
16
  import { jsx, jsxs } from "preact/jsx-runtime";
@@ -55,6 +55,46 @@ var updateDocument = async (context, document, documentId, ownerId) => {
55
55
  var isExistingFile = (file) => "existing" in file && file.existing;
56
56
  var isNewlyUploadedFile = (file) => !isExistingFile(file);
57
57
  //#endregion
58
+ //#region src/components/Individual/forms/IdDocumentUpload/utils.ts
59
+ function getLocalizedIdDocumentTypeOptions(country) {
60
+ switch (country) {
61
+ case CountryCodes.Japan: return [
62
+ {
63
+ id: "driversLicense",
64
+ name: "driversLicense",
65
+ hasBackPage: true
66
+ },
67
+ {
68
+ id: "passport",
69
+ name: "passport",
70
+ hasBackPage: false
71
+ },
72
+ {
73
+ id: "identityCard",
74
+ name: "identityCard__JP",
75
+ hasBackPage: true
76
+ }
77
+ ];
78
+ default: return [
79
+ {
80
+ id: "driversLicense",
81
+ name: "driversLicense",
82
+ hasBackPage: true
83
+ },
84
+ {
85
+ id: "passport",
86
+ name: "passport",
87
+ hasBackPage: false
88
+ },
89
+ {
90
+ id: "identityCard",
91
+ name: "identityCard",
92
+ hasBackPage: true
93
+ }
94
+ ];
95
+ }
96
+ }
97
+ //#endregion
58
98
  //#region src/utils/api/documentUtils.ts
59
99
  var logger = createLogger();
60
100
  var documentStore = {};
@@ -386,4 +426,4 @@ var fileValidationRules = ({ allowedFileTypes, maxNumberOfFiles, maxSize, isOpti
386
426
  }
387
427
  ];
388
428
  //#endregion
389
- export { createDocumentRequest as a, getDocuments as c, mergeAttachments as d, mergeProofOfOwnershipAttachments as f, bytesToSize as i, getFileExtention as l, fileValidationRules as n, documentApiUtils as o, DropzoneFile as r, getDocument as s, defaultFileValidationOptions as t, getIdDocument as u };
429
+ export { createDocumentRequest as a, getDocuments as c, mergeAttachments as d, mergeProofOfOwnershipAttachments as f, bytesToSize as i, getFileExtention as l, fileValidationRules as n, documentApiUtils as o, getLocalizedIdDocumentTypeOptions as p, DropzoneFile as r, getDocument as s, defaultFileValidationOptions as t, getIdDocument as u };
@@ -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] = "1f8c896a-f624-4142-a802-ba335fe8504b", e._sentryDebugIdIdentifier = "sentry-dbid-1f8c896a-f624-4142-a802-ba335fe8504b");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "4f028ec8-cb0a-4ab4-a41e-dff43e3f9df6", e._sentryDebugIdIdentifier = "sentry-dbid-4f028ec8-cb0a-4ab4-a41e-dff43e3f9df6");
4
4
  } catch (e) {}
5
- import { t as addressValidators } from "./validate-Dfw99Sal.js";
5
+ import { t as addressValidators } from "./validate-tS-cwVuY.js";
6
6
  import { t as capitalize } from "./getProps-DVqK7eRw.js";
7
7
  //#region src/components/EFP/tasks/BusinessFinancingDropin/validate.ts
8
8
  var validateLegalEntityIdentifier = (legalEntityIdentifier) => {
@@ -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] = "8afb634a-c29c-41db-a179-66d90476b418", e._sentryDebugIdIdentifier = "sentry-dbid-8afb634a-c29c-41db-a179-66d90476b418");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "48814dfa-39da-4f52-9aa4-30f812478fa0", e._sentryDebugIdIdentifier = "sentry-dbid-48814dfa-39da-4f52-9aa4-30f812478fa0");
4
4
  } catch (e) {}
5
- import { $ as hasRepeatedCharacters, H as NO_ALPHABET_REGEX, K as chomeAndBanchiValidator, Q as hasMaximumTwoRepeatedCharacters, R as ADDRESS_VALID_CHAR_REGEX, U as NO_ALPHABET_UNICODE_REGEX, et as hasText, it as isInvalidName, ot as isValidMinLength, st as matchesRegex, z as EMOJI_REGEX } from "./resolveEnvironment-D2iMH7UD.js";
5
+ import { $ as hasRepeatedCharacters, H as NO_ALPHABET_REGEX, K as chomeAndBanchiValidator, Q as hasMaximumTwoRepeatedCharacters, R as ADDRESS_VALID_CHAR_REGEX, U as NO_ALPHABET_UNICODE_REGEX, et as hasText, it as isInvalidName, ot as isValidMinLength, st as matchesRegex, z as EMOJI_REGEX } from "./resolveEnvironment-6rOnOa58.js";
6
6
  import { t as createLogger } from "./logger-Z8AeTE4x.js";
7
7
  import { t as CountryCodes } from "./country-code-CJk2hdPu.js";
8
- import { r as countrySpecificFormatters } from "./InputDate-C14J5Af2.js";
8
+ import { r as countrySpecificFormatters } from "./InputDate-CncTgJYS.js";
9
9
  //#region src/utils/regex/postalCodePatterns.ts
10
10
  var createRegExpByDigits = (digits) => new RegExp(`^\\d{${digits}}$`);
11
11
  var postalCodePatterns = {
@@ -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] = "20537e44-9139-496f-a6de-e148333a2710", e._sentryDebugIdIdentifier = "sentry-dbid-20537e44-9139-496f-a6de-e148333a2710");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "12d8d32e-37f7-4246-90e3-06be7e687d1c", e._sentryDebugIdIdentifier = "sentry-dbid-12d8d32e-37f7-4246-90e3-06be7e687d1c");
4
4
  } catch (e) {}
5
5
  import { r as useTranslation } from "./translation-BOm4lmPx.js";
6
6
  import { t as createLogger } from "./logger-Z8AeTE4x.js";
7
7
  import { t as Typography } from "./Typography-CAc_f5Iq.js";
8
- import { n as IconButton, t as Button } from "./Button-nDbNtBn3.js";
8
+ import { n as IconButton, t as Button } from "./Button-DfRmINzF.js";
9
9
  import { r as httpPost, s as useApiContext } from "./http-DsJtugN1.js";
10
10
  import { a as objectsDeepEqual, c as valuesOf, s as keysOf } from "./genUtils-Ce61IJs8.js";
11
11
  import { t as localizeDateString } from "./localizeDateString-Dxlqr4rL.js";
@@ -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] = "fe069c3d-976e-4c92-ae0c-b9f7c6cf442d", e._sentryDebugIdIdentifier = "sentry-dbid-fe069c3d-976e-4c92-ae0c-b9f7c6cf442d");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "3a3bbdd6-a486-41a2-b077-0a3f1799970d", e._sentryDebugIdIdentifier = "sentry-dbid-3a3bbdd6-a486-41a2-b077-0a3f1799970d");
4
4
  } catch (e) {}
5
- import { i as getFieldNameFromPath } from "./ErrorPanel-tLtZnFnX.js";
5
+ import { i as getFieldNameFromPath } from "./ErrorPanel-B5suXapM.js";
6
6
  //#region src/utils/validationError.ts
7
7
  var API_VALIDATION_ERROR_CODE = "30_102";
8
8
  var ID_DOCUMENT_UPLOAD_ERROR_CODE = "30_105";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adyen/kyc-components",
3
- "version": "4.22.0-beta.0",
3
+ "version": "4.22.0-beta.2",
4
4
  "keywords": [
5
5
  "adyen",
6
6
  "adyen-for-platforms",