@adyen/kyc-components 3.71.2 → 3.72.0

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 (132) hide show
  1. package/dist/{AcceptTermsOfServiceComponent-DMzlz5ur.js → AcceptTermsOfServiceComponent-Bt8sRAoc.js} +2 -2
  2. package/dist/{AccountSetupRejected-B_ll-DYK.js → AccountSetupRejected-BwL6Q3-7.js} +3 -3
  3. package/dist/{BusinessDetailsDropin--GT26UUf.js → BusinessDetailsDropin-z-LBYatN.js} +195 -98
  4. package/dist/BusinessFinancingPage-BZ0ukckI.js +35 -0
  5. package/dist/{BusinessTypeSelection-DrKppT76.js → BusinessTypeSelectionPage-Bl0fkgrq.js} +46 -40
  6. package/dist/{CXEL7IU7-BadU4Quy.js → CXEL7IU7-BDgMbrmd.js} +3 -3
  7. package/dist/{CreateIndividualComponent-Cw8jncCj.js → CreateIndividualComponent-BYcoaXRs.js} +257 -370
  8. package/dist/{CustomerSupport-hGFkG8i3.js → CustomerSupport-C1aqVIO5.js} +3 -3
  9. package/dist/{DebugModal-DWrh3Luo.js → DebugModal-sw85K_ur.js} +11 -10
  10. package/dist/DecisionMakerDetailsPage-uOytW22H.js +80 -0
  11. package/dist/{DecisionMakers-DEspQGcu.js → DecisionMakers-CCWH6S3m.js} +5 -5
  12. package/dist/{EmbedShell-B_11fu1C.js → EmbedShell-n61dt-oX.js} +3 -3
  13. package/dist/{EventEmitter-Bq8xlXVA.js → EventEmitter-D4j8YPMw.js} +897 -1119
  14. package/dist/{HASRA6WW-CzhpDwYQ.js → HASRA6WW-c_NjaqBL.js} +2 -2
  15. package/dist/{I3HPI4QX-DYJ1Uod-.js → I3HPI4QX-7hHBw-hy.js} +3 -3
  16. package/dist/{Introduction-ocOgetqy.js → Introduction-BIciUCV2.js} +14 -6
  17. package/dist/LegalRepresentativeDetailsPage-B5NB1_0c.js +55 -0
  18. package/dist/PayoutDetailsPage-csmuS7XY.js +57 -0
  19. package/dist/{Review-dujxCIfE.js → Review-OUouKkBK.js} +3 -3
  20. package/dist/RootBusinessDetailsPage-8GCh8CZ9.js +43 -0
  21. package/dist/RootIndividualDetailsPage-zZl4WLcr.js +71 -0
  22. package/dist/{SingpassSelection-BF6kWg3g.js → SingpassSelection-DZx1cQy-.js} +2 -2
  23. package/dist/SoleProprietorshipPage-WVtWeQL6.js +45 -0
  24. package/dist/{SourceOfFunds.module-caoQ--io.js → SourceOfFunds.module-3s3uanVF.js} +2 -2
  25. package/dist/{SourceOfFundsDropin-Bhk41z_b.js → SourceOfFundsPage-6mejBSsi.js} +38 -20
  26. package/dist/{TaskItemStatus-PMtq1Pi9.js → TaskItemStatus-BTND6V1w.js} +2 -2
  27. package/dist/{TaxReportingDropin-zwlu6qxX.js → TaxReportingDropin-Canpx2fK.js} +5 -5
  28. package/dist/{TrustOuter-BsEoJkzE.js → TrustDetailsPage-DSDYwyW0.js} +17 -29
  29. package/dist/TrustMemberCompanyPage-D7V4OAf4.js +55 -0
  30. package/dist/TrustMemberIndividualPage-C9zoI3NZ.js +60 -0
  31. package/dist/UnincorporatedPartnershipIndividualPage-BKEuBPUD.js +60 -0
  32. package/dist/UnincorporatedPartnershipMemberCompanyPage-Ij6N40YA.js +58 -0
  33. package/dist/adyen-kyc-components.js +1 -1
  34. package/dist/adyenConfig.js +2 -2
  35. package/dist/{bg-BG-CzEF3tzV.js → bg-BG-CZRQZyXO.js} +12 -5
  36. package/dist/{core-BGMNir1l.js → core-C1rJ5Pjl.js} +687 -573
  37. package/dist/{cs-CZ-TMjslGp_.js → cs-CZ-BbUFgifZ.js} +12 -5
  38. package/dist/{css-DB40kUpv.js → css-FlY03KiS.js} +2 -2
  39. package/dist/{da-DK-DWzvDWZJ.js → da-DK-CP71BFS7.js} +12 -5
  40. package/dist/{de-DE-BtIL-7gp.js → de-DE-DY56JGZt.js} +12 -5
  41. package/dist/{el-GR-DHSSlqbw.js → el-GR-CnENEp5c.js} +12 -5
  42. package/dist/{es-ES-OwkE9-Cu.js → es-ES-dV62vQcV.js} +28 -21
  43. package/dist/{et-EE-DvixWnLd.js → et-EE-BBgAN3Wc.js} +12 -5
  44. package/dist/{fi-FI-DZiXWe_g.js → fi-FI-DVmGWIxn.js} +12 -5
  45. package/dist/{fr-FR-BBwiWhiT.js → fr-FR-VwG8Rg7R.js} +12 -5
  46. package/dist/{hr-HR-DJYofWKU.js → hr-HR-Bs_lxjxQ.js} +12 -5
  47. package/dist/{hu-HU-k9c6wZld.js → hu-HU-8dVSiOZM.js} +12 -5
  48. package/dist/individual.js +4 -4
  49. package/dist/{it-IT-oOwbWW3K.js → it-IT-DvwWMDl1.js} +12 -5
  50. package/dist/{ja-JP-CT3g8Hhn.js → ja-JP-BB6zzyEg.js} +12 -5
  51. package/dist/{json-BfjwC9Z8.js → json-C0fKu7KI.js} +2 -2
  52. package/dist/{lt-LT-CVHIsEF8.js → lt-LT-BQtNojlb.js} +12 -5
  53. package/dist/{lv-LV-BFx0cvZ2.js → lv-LV-BpEw5uN5.js} +12 -5
  54. package/dist/{nl-NL-rmSZu4Rf.js → nl-NL-vBEBXTP-.js} +12 -5
  55. package/dist/{no-NO-BOnQvimN.js → no-NO-BFhTqUoD.js} +12 -5
  56. package/dist/{pl-PL-5j22An4E.js → pl-PL-dsGZvzVf.js} +12 -5
  57. package/dist/{plaintext-cxU_oLhE.js → plaintext-VVpKsKsN.js} +2 -2
  58. package/dist/{pt-PT-DP8U1qyu.js → pt-PT-BB38pZbh.js} +12 -5
  59. package/dist/{ro-RO-BTdtoC6P.js → ro-RO-BgxNxoxJ.js} +12 -5
  60. package/dist/{sk-SK-DYTx4mOB.js → sk-SK-rtDeCztl.js} +12 -5
  61. package/dist/{sl-SI-D8CiUN69.js → sl-SI-qoGCwUdU.js} +12 -5
  62. package/dist/style.css +175 -223
  63. package/dist/styles-CLV89_hH.js +175 -223
  64. package/dist/{sv-SE-Daslxeqr.js → sv-SE-f1T7PBSW.js} +12 -5
  65. package/dist/terms-of-service.js +4 -4
  66. package/dist/types/api/transferInstruments/useTransferInstrument.d.ts +2 -1
  67. package/dist/types/components/BankAccount/forms/BankDocument/types.d.ts +2 -0
  68. package/dist/types/components/BankAccount/forms/PayoutDetails/types.d.ts +2 -5
  69. package/dist/types/components/BankAccount/forms/PayoutVerificationMethod/types.d.ts +1 -11
  70. package/dist/types/components/BankAccount/pages/PayoutDetailsPage.d.ts +14 -0
  71. package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/PayoutDetailsDropin.d.ts +1 -1
  72. package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/payoutDetailsFormConfig.d.ts +12 -1
  73. package/dist/types/components/Business/forms/BusinessDetails/forms.d.ts +14 -0
  74. package/dist/types/components/Business/forms/BusinessDetails/types.d.ts +1 -0
  75. package/dist/types/components/Business/forms/ProofOfOwnershipDocument/ProofOfOwnershipDocument.d.ts +2 -0
  76. package/dist/types/components/Business/forms/ProofOfOwnershipDocument/types.d.ts +8 -0
  77. package/dist/types/components/Business/forms/rules.d.ts +0 -1
  78. package/dist/types/components/Business/mapping/businessDetails/businessDetailsKeyMappings.d.ts +1 -1
  79. package/dist/types/components/Business/mapping/businessDetails/solePropBusinessDetailsKeyMappings.d.ts +1 -1
  80. package/dist/types/components/Business/pages/RootBusinessDetailsPage.d.ts +8 -0
  81. package/dist/types/components/Business/tasks/BusinessDetailsDropin/types.d.ts +1 -3
  82. package/dist/types/components/EFP/pages/BusinessFinancingPage.d.ts +7 -0
  83. package/dist/types/components/EFP/pages/SourceOfFundsPage.d.ts +7 -0
  84. package/dist/types/components/EmbeddedDropins/OnboardingDropinComponent/DropinComposer/DropinComposer.d.ts +1 -1
  85. package/dist/types/components/Individual/forms/Individual/IdDocumentUpload/types.d.ts +1 -0
  86. package/dist/types/components/Individual/forms/Individual/IdVerificationMethod/IdVerificationMethod.d.ts +0 -1
  87. package/dist/types/components/Individual/forms/IndividualOnfido/IdVerificationMethod/IdVerificationMethod.types.d.ts +0 -2
  88. package/dist/types/components/Individual/forms/IndividualOnfido/IndividualOnfido.types.d.ts +2 -1
  89. package/dist/types/components/Individual/pages/DecisionMakerDetailsPage.d.ts +20 -0
  90. package/dist/types/components/Individual/pages/LegalRepresentativeDetailsPage.d.ts +12 -0
  91. package/dist/types/components/Individual/pages/RootIndividualDetailsPage.d.ts +16 -0
  92. package/dist/types/components/Individual/tasks/DecisionMakers/types.d.ts +0 -2
  93. package/dist/types/components/Shared/Introduction/Introduction.d.ts +4 -2
  94. package/dist/types/components/Shared/forms/Address/utils.d.ts +1 -1
  95. package/dist/types/components/Shared/forms/BusinessTypeSelection/BusinessTypeSelection.d.ts +1 -1
  96. package/dist/types/components/Shared/forms/BusinessTypeSelection/types.d.ts +3 -5
  97. package/dist/types/components/Shared/forms/DocumentUpload/DocumentUpload.d.ts +1 -1
  98. package/dist/types/components/Shared/forms/DocumentUpload/types.d.ts +5 -0
  99. package/dist/types/components/Shared/pages/BusinessTypeSelectionPage.d.ts +2 -0
  100. package/dist/types/components/Shared/tasks/TaskList/TaskList.d.ts +7 -1
  101. package/dist/types/components/Shared/tasks/TaskList/types.d.ts +0 -6
  102. package/dist/types/components/Shared/tasks/TaskList/utils.d.ts +2 -1
  103. package/dist/types/components/SoleProprietorship/pages/SoleProprietorshipPage.d.ts +8 -0
  104. package/dist/types/components/Trust/pages/TrustDetailsPage.d.ts +10 -0
  105. package/dist/types/components/Trust/pages/TrustMemberCompanyPage.d.ts +11 -0
  106. package/dist/types/components/Trust/pages/TrustMemberIndividualPage.d.ts +16 -0
  107. package/dist/types/components/Trust/pages/TrustMemberRoleAndTypePage.d.ts +9 -0
  108. package/dist/types/components/Trust/tasks/TrustMembers/TrustMembersOverview.d.ts +4 -7
  109. package/dist/types/components/UnincorporatedPartnership/hooks/useUnincorporatedPartnershipNavigation.d.ts +0 -2
  110. package/dist/types/components/UnincorporatedPartnership/pages/UnincorporatedPartnershipIndividualPage.d.ts +16 -0
  111. package/dist/types/components/UnincorporatedPartnership/pages/UnincorporatedPartnershipMemberCompanyPage.d.ts +11 -0
  112. package/dist/types/components/UnincorporatedPartnership/pages/UnincorporatedPartnershipMemberRoleAndTypePage.d.ts +8 -0
  113. package/dist/types/components/UnincorporatedPartnership/tasks/UnincorporatedPartnershipMembers/UnincorporatedPartnershipMembersOverview.d.ts +1 -5
  114. package/dist/types/components/UnincorporatedPartnership/tasks/UnincorporatedPartnershipRoleAndType/UnincorporatedPartnershipRoleAndType.d.ts +1 -1
  115. package/dist/types/components/ui/molecules/Dropzone/types.d.ts +1 -0
  116. package/dist/types/context/ExperimentContext/types.d.ts +11 -6
  117. package/dist/types/core/models/api/document.d.ts +1 -1
  118. package/dist/types/hooks/useDataConflicts.d.ts +1 -5
  119. package/dist/types/stores/globalStore/calculateTaskStatus.d.ts +3 -1
  120. package/dist/types/stores/globalStore/taskTypes.d.ts +0 -1
  121. package/dist/types/utils/country.d.ts +3 -2
  122. package/dist/types/utils/entityStatusUtil.d.ts +1 -1
  123. package/dist/types/utils/getDisplayErrorMessage.d.ts +3 -0
  124. package/dist/{utils-CxEv8UGu.js → utils-DD_s-Xlo.js} +1 -1
  125. package/dist/{utils-9cd3ykqp.js → utils-UcNoMAHV.js} +4 -4
  126. package/dist/{yaml-BGFeLEJY.js → yaml-BipFvPsw.js} +2 -2
  127. package/package.json +1 -1
  128. package/dist/types/components/BankAccount/forms/PayoutDetails/utils.d.ts +0 -2
  129. package/dist/types/components/BankAccount/forms/PayoutVerificationMethod/PreferInstantVerificationMethod/PreferInstantVerificationMethod.d.ts +0 -22
  130. package/dist/types/components/Individual/forms/Individual/IndividualOuter.d.ts +0 -26
  131. package/dist/types/components/Trust/tasks/TrustDropin/TrustOuter.d.ts +0 -10
  132. package/dist/types/components/ui/atoms/List/List.d.ts +0 -9
@@ -2,16 +2,16 @@
2
2
  {
3
3
  try {
4
4
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "b2da21fc-5bdd-49fa-bd98-07597c0c8fc0", e._sentryDebugIdIdentifier = "sentry-dbid-b2da21fc-5bdd-49fa-bd98-07597c0c8fc0");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "174c3995-3f9e-4061-a5be-f8ced36e17ca", e._sentryDebugIdIdentifier = "sentry-dbid-174c3995-3f9e-4061-a5be-f8ced36e17ca");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { jsx } from "preact/jsx-runtime";
11
- import { r as reverseMapping, dC as operationalAddressIsSameIds, dU as updateTaxInformation, i as LegalEntityType, a7 as createFormRules, ae as TaskTypes, dV as UNINCORPORATED_PARTNERSHIP_COUNTRIES_VAT_NUMBER_OPTIONAL, dW as UNINCORPORATED_PARTNERSHIP_COUNTRIES_REGISTRATION_NUMBER_REQUIRED, dX as UNINCORPORATED_PARTNERSHIP_COUNTRIES_REGISTRATION_NUMBER_OPTIONAL, ac as CountryCodes, dY as UNINCORPORATED_PARTNERSHIP_COUNTRIES_TAX_INFORMATION_REQUIRED, dZ as UNINCORPORATED_PARTNERSHIP_COUNTRIES_TAX_INFORMATION_OPTIONAL, dG as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, d_ as trustComponentsKeyMapping, d$ as trustApiKeyMapping, X as useStateContext, m as useApiContext, u as useI18nContext, a as useAnalyticsContext, V as datasetUtilities, b as useExperimentsContext, W as useToastContext, _ as getAssociatedLeAnalyticsPayload, e0 as trustDocumentMapping, e1 as trustForms, e2 as Trust, j as cloneObject, a3 as getLegalEntityCountry, aY as resolveFieldMetadata, dJ as defaultFieldMetadata, dK as inferCompanyRegistrationNumberType, dL as getCompanyRegistrationNumberOptions, dM as defaultFieldConfig, ck as defaultFieldMetadata$1, dN as countryToTaxInfoTypeMap, cl as defaultFieldConfig$1, cF as mapAddressLabels, e3 as trustConstitutionalDocumentFormId, k as isEmpty, h as drop, bb as getOwnEntityAssociations, a2 as useLegalEntity, de as useCapabilities, aH as EntityType, a0 as Loader, aa as keysOf, ay as skipToken, am as ROOT_LE } from "./EventEmitter-Bq8xlXVA.js";
12
- import { n as getDocument, o as mapExistingFile, q as getPageName, f as formatObject, r as createDocumentRequest, v as documentApiUtils, c as useScenarioConfiguration, B as augmentWithCountryConfigs, d as getPropsFromConfigurations, M as getFieldsWithExistingData, e as getRequiredForms, h as addValidityToForms, u as useCreateLegalEntity, a as useUpdateLegalEntity, i as useFormComposer, j as composePerScenarioFormConfigurations, l as isValidationError, p as processValidationErrors, m as isMaintenanceModeError, g as getProp, N as useCapabilityProblems, O as getProblemsForEntity } from "./CreateIndividualComponent-Cw8jncCj.js";
11
+ import { r as reverseMapping, dB as operationalAddressIsSameIds, i as LegalEntityType, a8 as createFormRules, ah as TaskTypes, dT as UNINCORPORATED_PARTNERSHIP_COUNTRIES_VAT_NUMBER_OPTIONAL, dU as UNINCORPORATED_PARTNERSHIP_COUNTRIES_REGISTRATION_NUMBER_REQUIRED, dV as UNINCORPORATED_PARTNERSHIP_COUNTRIES_REGISTRATION_NUMBER_OPTIONAL, ad as CountryCodes, dW as UNINCORPORATED_PARTNERSHIP_COUNTRIES_TAX_INFORMATION_REQUIRED, dX as UNINCORPORATED_PARTNERSHIP_COUNTRIES_TAX_INFORMATION_OPTIONAL, dF as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, dY as trustComponentsKeyMapping, dZ as trustApiKeyMapping, d_ as updateTaxInformation, X as useStateContext, m as useApiContext, u as useI18nContext, a as useAnalyticsContext, V as datasetUtilities, b as useExperimentsContext, W as useToastContext, _ as getAssociatedLeAnalyticsPayload, d$ as trustForms, e0 as Trust, e1 as trustDocumentMapping, j as cloneObject, a3 as getLegalEntityCountry, aZ as resolveFieldMetadata, dI as defaultFieldMetadata, dJ as inferCompanyRegistrationNumberType, dK as getCompanyRegistrationNumberOptions, dL as defaultFieldConfig, ck as defaultFieldMetadata$1, dM as countryToTaxInfoTypeMap, cl as defaultFieldConfig$1, cD as mapAddressLabels, e2 as trustConstitutionalDocumentFormId, k as isEmpty, h as drop, aX as getOwnEntityAssociations, a2 as useLegalEntity, a6 as skipToken, ao as ROOT_LE, de as useCapabilities, aG as EntityType, a0 as Loader, ab as keysOf } from "./EventEmitter-D4j8YPMw.js";
12
+ import { n as getDocument, o as mapExistingFile, q as getPageName, f as formatObject, r as createDocumentRequest, w as documentApiUtils, b as useScenarioConfiguration, c as getPropsFromConfigurations, O as getFieldsWithExistingData, d as getRequiredForms, e as addValidityToForms, u as useCreateLegalEntity, a as useUpdateLegalEntity, h as useFormComposer, v as augmentWithCountryConfigs, l as isValidationError, p as processValidationErrors, m as isMaintenanceModeError, g as getProp, j as composePerScenarioFormConfigurations, G as useCapabilityProblems, N as getProblemsForEntity } from "./CreateIndividualComponent-BYcoaXRs.js";
13
13
  import { useEffect, useState, useRef, useMemo } from "preact/hooks";
14
- import { F as FormWrapper, h as hasDataChanged } from "./core-BGMNir1l.js";
14
+ import { F as FormWrapper, h as hasDataChanged } from "./core-C1rJ5Pjl.js";
15
15
  const mapApiDocumentToTrustDocument = (entityId) => {
16
16
  const constitutionalDocument = getDocument(entityId, "constitutionalDocument") || null;
17
17
  return {
@@ -103,36 +103,19 @@ const mapLegalEntityToUnincorporatedPartnership = (legalEntity, isExperimentEnab
103
103
  return trustCompData;
104
104
  };
105
105
  const mapUnincorporatedPartnershipToLegalEntity = (data, isExperimentEnabled) => {
106
- var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j;
106
+ var _a, _b, _c, _d, _e, _f, _g;
107
107
  const requestObj = {
108
108
  ...formatObject(data, unincorporatedPartnershipApiKeyMapping)
109
109
  };
110
- const taxId = (_c = (_b = (_a = data.trustRegistrationDetails) == null ? void 0 : _a.taxInformation) == null ? void 0 : _b.find(
111
- (tax) => {
112
- var _a2;
113
- return tax.country === ((_a2 = data.trustRegistrationDetails) == null ? void 0 : _a2.country);
114
- }
115
- )) == null ? void 0 : _c.number;
116
- if (taxId || isExperimentEnabled("EnableRegistrationAndTaxAbsentStatesV4")) {
117
- requestObj.unincorporatedPartnership = updateTaxInformation(
118
- {
119
- taxId,
120
- country: (_d = data.trustRegistrationDetails) == null ? void 0 : _d.country,
121
- exemptedFromTax: (_e = data.trustRegistrationDetails) == null ? void 0 : _e.exemptedFromTax,
122
- entity: requestObj.unincorporatedPartnership
123
- },
124
- isExperimentEnabled("EnableRegistrationAndTaxAbsentStatesV4")
125
- );
126
- }
127
- if ((_f = data.trustRegistrationDetails) == null ? void 0 : _f.objectOfTrust) {
128
- requestObj.unincorporatedPartnership.description = data.trustRegistrationDetails.objectOfTrust;
110
+ if (((_c = (_b = (_a = requestObj.unincorporatedPartnership) == null ? void 0 : _a.taxInformation) == null ? void 0 : _b[0]) == null ? void 0 : _c.type) === "GST") {
111
+ requestObj.unincorporatedPartnership.taxInformation[0].type = "UEN";
129
112
  }
130
113
  if (isExperimentEnabled("EnableDoingBusinessAsNameV4")) {
131
- if (typeof ((_g = data.trustRegistrationDetails) == null ? void 0 : _g.hasDoingBusinessAs) !== "undefined") {
132
- requestObj.unincorporatedPartnership.doingBusinessAsAbsent = !((_h = data.trustRegistrationDetails) == null ? void 0 : _h.hasDoingBusinessAs);
114
+ if (typeof ((_d = data.trustRegistrationDetails) == null ? void 0 : _d.hasDoingBusinessAs) !== "undefined") {
115
+ requestObj.unincorporatedPartnership.doingBusinessAsAbsent = !((_e = data.trustRegistrationDetails) == null ? void 0 : _e.hasDoingBusinessAs);
133
116
  }
134
117
  } else {
135
- requestObj.unincorporatedPartnership.doingBusinessAs = ((_i = data.trustRegistrationDetails) == null ? void 0 : _i.doingBusinessAs) || ((_j = data.trustRegistrationDetails) == null ? void 0 : _j.legalName) || "";
118
+ requestObj.unincorporatedPartnership.doingBusinessAs = ((_f = data.trustRegistrationDetails) == null ? void 0 : _f.doingBusinessAs) || ((_g = data.trustRegistrationDetails) == null ? void 0 : _g.legalName) || "";
136
119
  delete requestObj.unincorporatedPartnership.doingBusinessAsAbsent;
137
120
  }
138
121
  requestObj.type = LegalEntityType.UNINCORPORATED_PARTNERSHIP;
@@ -698,7 +681,12 @@ function TrustDropin({
698
681
  }
699
682
  );
700
683
  }
701
- const TrustOuter = ({ taskType, trustId, handleHomeClick, onSubmit }) => {
684
+ const TrustDetailsPage = ({
685
+ taskType,
686
+ trustId,
687
+ handleHomeClick,
688
+ onSubmit
689
+ }) => {
702
690
  const { data: trustLe } = useLegalEntity(trustId ?? skipToken);
703
691
  const { data: rootLe } = useLegalEntity(ROOT_LE);
704
692
  const capabilities = useCapabilities();
@@ -724,5 +712,5 @@ const TrustOuter = ({ taskType, trustId, handleHomeClick, onSubmit }) => {
724
712
  );
725
713
  };
726
714
  export {
727
- TrustOuter
715
+ TrustDetailsPage
728
716
  };
@@ -0,0 +1,55 @@
1
+ ;
2
+ {
3
+ try {
4
+ let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "9cd234e4-b43f-4f10-b4ed-974cdea80f82", e._sentryDebugIdIdentifier = "sentry-dbid-9cd234e4-b43f-4f10-b4ed-974cdea80f82");
6
+ } catch (e) {
7
+ }
8
+ }
9
+ ;
10
+ import { jsx } from "preact/jsx-runtime";
11
+ import { a2 as useLegalEntity, ao as ROOT_LE, a6 as skipToken, a0 as Loader, aG as EntityType, a3 as getLegalEntityCountry, ah as TaskTypes } from "./EventEmitter-D4j8YPMw.js";
12
+ import { d as useTrustMembers } from "./core-C1rJ5Pjl.js";
13
+ import { G as useCapabilityProblems, N as getProblemsForEntity } from "./CreateIndividualComponent-BYcoaXRs.js";
14
+ import { B as BusinessDetailsDropin } from "./BusinessDetailsDropin-z-LBYatN.js";
15
+ function TrustMemberCompanyPage({
16
+ trustId,
17
+ trustMemberCompanyId,
18
+ newMember,
19
+ isTargetLegalEntityType = false,
20
+ onSubmit,
21
+ handleHomeClick
22
+ }) {
23
+ const { data: rootLe } = useLegalEntity(ROOT_LE);
24
+ const { data: trustLe } = useLegalEntity(trustId);
25
+ const { data: trustMemberCompanyLe } = useLegalEntity(trustMemberCompanyId ?? skipToken);
26
+ const trustMembers = useTrustMembers();
27
+ const capabilityProblems = useCapabilityProblems();
28
+ if (!rootLe || !trustLe || trustMemberCompanyId && !trustMemberCompanyLe) {
29
+ return /* @__PURE__ */ jsx(Loader, {});
30
+ }
31
+ const problems = capabilityProblems && trustMemberCompanyId ? getProblemsForEntity(capabilityProblems, EntityType.LEGAL_ENTITY, trustMemberCompanyId) : void 0;
32
+ const country = getLegalEntityCountry(trustMemberCompanyLe ?? trustLe);
33
+ const trustMember = newMember ?? trustMembers.find(
34
+ (tm) => tm.trustMemberType !== "undefinedBeneficiary" && tm.legalEntityId === trustMemberCompanyId
35
+ );
36
+ return /* @__PURE__ */ jsx(
37
+ BusinessDetailsDropin,
38
+ {
39
+ taskType: TaskTypes.TRUST_MEMBER_COMPANY,
40
+ taskName: "businessTrusteeDetails",
41
+ legalEntityResponse: rootLe,
42
+ associatedLegalArrangement: trustLe,
43
+ nestedLegalEntity: trustMemberCompanyLe,
44
+ nestedLegalEntityDetails: trustMember,
45
+ problems,
46
+ country,
47
+ isTargetLegalEntityType,
48
+ onSubmit,
49
+ handleHomeClick
50
+ }
51
+ );
52
+ }
53
+ export {
54
+ TrustMemberCompanyPage
55
+ };
@@ -0,0 +1,60 @@
1
+ ;
2
+ {
3
+ try {
4
+ let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "be1bf6e0-9cae-41a4-aff0-217a9865f683", e._sentryDebugIdIdentifier = "sentry-dbid-be1bf6e0-9cae-41a4-aff0-217a9865f683");
6
+ } catch (e) {
7
+ }
8
+ }
9
+ ;
10
+ import { jsx } from "preact/jsx-runtime";
11
+ import { a2 as useLegalEntity, a6 as skipToken, b as useExperimentsContext, a0 as Loader, a3 as getLegalEntityCountry, aG as EntityType, ah as TaskTypes, aJ as noop } from "./EventEmitter-D4j8YPMw.js";
12
+ import { G as useCapabilityProblems, N as getProblemsForEntity, Q as isOnfidoAutofillFlowEnabled, R as IndividualOnfidoDropin, U as IndividualDropin } from "./CreateIndividualComponent-BYcoaXRs.js";
13
+ function TrustMemberIndividualPage({
14
+ memberId,
15
+ trustId,
16
+ newMember,
17
+ asModal = false,
18
+ hideSidebar = false,
19
+ isTargetLegalEntityType = false,
20
+ onSubmit,
21
+ /** below from {@link DropinProps} */
22
+ handleBackClick,
23
+ handleCloseClick,
24
+ handleHomeClick = noop
25
+ }) {
26
+ const { data: memberLe } = useLegalEntity(memberId ?? skipToken);
27
+ const { data: trustLe } = useLegalEntity(trustId);
28
+ const capabilityProblems = useCapabilityProblems();
29
+ const { isExperimentEnabled } = useExperimentsContext();
30
+ if (!trustLe || memberId && !memberLe) {
31
+ return /* @__PURE__ */ jsx(Loader, {});
32
+ }
33
+ const country = getLegalEntityCountry(memberLe ?? trustLe);
34
+ const problems = capabilityProblems && memberId ? getProblemsForEntity(capabilityProblems, EntityType.LEGAL_ENTITY, memberId) : void 0;
35
+ const isOnfidoAutofillFlow = isOnfidoAutofillFlowEnabled(
36
+ country,
37
+ TaskTypes.TRUST_MEMBER_INDIVIDUAL,
38
+ isExperimentEnabled
39
+ );
40
+ const props = {
41
+ taskType: TaskTypes.TRUST_MEMBER_INDIVIDUAL,
42
+ taskName: "trustMemberDetails",
43
+ legalEntityResponse: memberLe,
44
+ parentLegalEntity: trustLe,
45
+ trustMember: newMember,
46
+ problems,
47
+ country,
48
+ asModal,
49
+ hideSidebar,
50
+ isTargetLegalEntityType,
51
+ onSubmit,
52
+ handleBackClick,
53
+ handleCloseClick,
54
+ handleHomeClick
55
+ };
56
+ return isOnfidoAutofillFlow ? /* @__PURE__ */ jsx(IndividualOnfidoDropin, { ...props }) : /* @__PURE__ */ jsx(IndividualDropin, { ...props });
57
+ }
58
+ export {
59
+ TrustMemberIndividualPage
60
+ };
@@ -0,0 +1,60 @@
1
+ ;
2
+ {
3
+ try {
4
+ let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "62779be0-d29a-4fc1-a255-d28230268ca4", e._sentryDebugIdIdentifier = "sentry-dbid-62779be0-d29a-4fc1-a255-d28230268ca4");
6
+ } catch (e) {
7
+ }
8
+ }
9
+ ;
10
+ import { jsx } from "preact/jsx-runtime";
11
+ import { a2 as useLegalEntity, a6 as skipToken, b as useExperimentsContext, a0 as Loader, a3 as getLegalEntityCountry, aG as EntityType, ah as TaskTypes, aJ as noop } from "./EventEmitter-D4j8YPMw.js";
12
+ import { G as useCapabilityProblems, N as getProblemsForEntity, Q as isOnfidoAutofillFlowEnabled, R as IndividualOnfidoDropin, U as IndividualDropin } from "./CreateIndividualComponent-BYcoaXRs.js";
13
+ function UnincorporatedPartnershipIndividualPage({
14
+ memberId,
15
+ partnershipId,
16
+ newMember,
17
+ asModal = false,
18
+ hideSidebar = false,
19
+ isTargetLegalEntityType = false,
20
+ onSubmit,
21
+ /** below from {@link DropinProps} */
22
+ handleBackClick,
23
+ handleCloseClick,
24
+ handleHomeClick = noop
25
+ }) {
26
+ const { data: memberLe } = useLegalEntity(memberId ?? skipToken);
27
+ const { data: partnershipLe } = useLegalEntity(partnershipId);
28
+ const capabilityProblems = useCapabilityProblems();
29
+ const { isExperimentEnabled } = useExperimentsContext();
30
+ if (!partnershipLe || memberId && !memberLe) {
31
+ return /* @__PURE__ */ jsx(Loader, {});
32
+ }
33
+ const country = getLegalEntityCountry(memberLe ?? partnershipLe);
34
+ const problems = capabilityProblems && memberId ? getProblemsForEntity(capabilityProblems, EntityType.LEGAL_ENTITY, memberId) : void 0;
35
+ const isOnfidoAutofillFlow = isOnfidoAutofillFlowEnabled(
36
+ country,
37
+ TaskTypes.UNINCORPORATED_PARTNERSHIP_MEMBER_INDIVIDUAL,
38
+ isExperimentEnabled
39
+ );
40
+ const props = {
41
+ taskType: TaskTypes.UNINCORPORATED_PARTNERSHIP_MEMBER_INDIVIDUAL,
42
+ taskName: "partnershipMemberDetails",
43
+ legalEntityResponse: memberLe,
44
+ parentLegalEntity: partnershipLe,
45
+ trustMember: newMember,
46
+ problems,
47
+ country,
48
+ asModal,
49
+ hideSidebar,
50
+ isTargetLegalEntityType,
51
+ onSubmit,
52
+ handleBackClick,
53
+ handleCloseClick,
54
+ handleHomeClick
55
+ };
56
+ return isOnfidoAutofillFlow ? /* @__PURE__ */ jsx(IndividualOnfidoDropin, { ...props }) : /* @__PURE__ */ jsx(IndividualDropin, { ...props });
57
+ }
58
+ export {
59
+ UnincorporatedPartnershipIndividualPage
60
+ };
@@ -0,0 +1,58 @@
1
+ ;
2
+ {
3
+ try {
4
+ let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "20c23045-9634-411b-9b61-9dd4104969ed", e._sentryDebugIdIdentifier = "sentry-dbid-20c23045-9634-411b-9b61-9dd4104969ed");
6
+ } catch (e) {
7
+ }
8
+ }
9
+ ;
10
+ import { jsx } from "preact/jsx-runtime";
11
+ import { a2 as useLegalEntity, ao as ROOT_LE, a6 as skipToken, bk as useUnincorporatedPartnershipMembers, a0 as Loader, aG as EntityType, a3 as getLegalEntityCountry, ah as TaskTypes } from "./EventEmitter-D4j8YPMw.js";
12
+ import { G as useCapabilityProblems, N as getProblemsForEntity } from "./CreateIndividualComponent-BYcoaXRs.js";
13
+ import { B as BusinessDetailsDropin } from "./BusinessDetailsDropin-z-LBYatN.js";
14
+ function UnincorporatedPartnershipMemberCompanyPage({
15
+ partnershipId,
16
+ partnershipMemberCompanyId,
17
+ newMember,
18
+ isTargetLegalEntityType = false,
19
+ onSubmit,
20
+ handleHomeClick
21
+ }) {
22
+ const { data: rootLe } = useLegalEntity(ROOT_LE);
23
+ const { data: partnershipLe } = useLegalEntity(partnershipId);
24
+ const { data: partnershipMemberCompanyLe } = useLegalEntity(
25
+ partnershipMemberCompanyId ?? skipToken
26
+ );
27
+ const partnershipMembers = useUnincorporatedPartnershipMembers();
28
+ const capabilityProblems = useCapabilityProblems();
29
+ if (!rootLe || !partnershipLe || partnershipMemberCompanyId && !partnershipMemberCompanyLe) {
30
+ return /* @__PURE__ */ jsx(Loader, {});
31
+ }
32
+ const problems = capabilityProblems && partnershipMemberCompanyId ? getProblemsForEntity(
33
+ capabilityProblems,
34
+ EntityType.LEGAL_ENTITY,
35
+ partnershipMemberCompanyId
36
+ ) : void 0;
37
+ const country = getLegalEntityCountry(partnershipMemberCompanyLe ?? partnershipLe);
38
+ const partnershipMember = newMember ?? partnershipMembers.find((member) => member.legalEntityId === partnershipMemberCompanyId);
39
+ return /* @__PURE__ */ jsx(
40
+ BusinessDetailsDropin,
41
+ {
42
+ taskType: TaskTypes.UNINCORPORATED_PARTNERSHIP_MEMBER_COMPANY,
43
+ taskName: "businessDetails",
44
+ legalEntityResponse: rootLe,
45
+ associatedLegalArrangement: partnershipLe,
46
+ nestedLegalEntity: partnershipMemberCompanyLe,
47
+ nestedLegalEntityDetails: partnershipMember,
48
+ problems,
49
+ country,
50
+ isTargetLegalEntityType,
51
+ onSubmit,
52
+ handleHomeClick
53
+ }
54
+ );
55
+ }
56
+ export {
57
+ UnincorporatedPartnershipMemberCompanyPage
58
+ };
@@ -7,7 +7,7 @@
7
7
  }
8
8
  }
9
9
  ;
10
- import { C as Core } from "./core-BGMNir1l.js";
10
+ import { C as Core } from "./core-C1rJ5Pjl.js";
11
11
  if (CSS.supports("container", "foo / inline-size") === false) {
12
12
  import("container-query-polyfill");
13
13
  }
@@ -7,8 +7,8 @@
7
7
  }
8
8
  }
9
9
  ;
10
- import { C as Core } from "./core-BGMNir1l.js";
11
- import { p as propsToCoreOptions } from "./utils-CxEv8UGu.js";
10
+ import { C as Core } from "./core-C1rJ5Pjl.js";
11
+ import { p as propsToCoreOptions } from "./utils-DD_s-Xlo.js";
12
12
  const loadAdyenConfig = async (config) => {
13
13
  if (!config.environment) {
14
14
  config.environment = "live";
@@ -2,7 +2,7 @@
2
2
  {
3
3
  try {
4
4
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "99bc7685-2b02-4aa1-9610-6cd9a94a515b", e._sentryDebugIdIdentifier = "sentry-dbid-99bc7685-2b02-4aa1-9610-6cd9a94a515b");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "19d3db70-42d1-40c9-8ba8-cc651bb109e2", e._sentryDebugIdIdentifier = "sentry-dbid-19d3db70-42d1-40c9-8ba8-cc651bb109e2");
6
6
  } catch (e) {
7
7
  }
8
8
  }
@@ -112,6 +112,7 @@ const bgBG = {
112
112
  authorizedSignatory: "Упълномощено подписващо лице",
113
113
  back: "Обратно",
114
114
  backPage: "Задна страница",
115
+ backToOverview: "Назад към общия преглед",
115
116
  backToTaskList: "Обратно към списъка със задачи",
116
117
  balanceSheetTotal: "Общи сборове на счетоводния баланс",
117
118
  bankAccount: "Банкова сметка",
@@ -232,6 +233,7 @@ const bgBG = {
232
233
  certificateOfVoterRegistration: "Удостоверение за избирателна регистрация",
233
234
  chamberOfCommerceExtract: "Извлечение от Търговската камара",
234
235
  chamberOfCommerceRegistrationNumber: "Регистрационен номер в Търговската камара",
236
+ changeAnswers: "Промяна на отговорите",
235
237
  changeYourBusinessSetup: "Променяте настройките на бизнеса си?",
236
238
  chargeCardUserAgreement: "Споразумение с потребителя на платежната карта",
237
239
  charitableTrust: "Благотворителен тръст",
@@ -1039,6 +1041,7 @@ const bgBG = {
1039
1041
  itCanTakeUpTo: "Може да са необходими до 3 допълнителни работни дни за проверка на ръчно добавената личната информация.",
1040
1042
  jobTitle: "Длъжност",
1041
1043
  kaibemaksukohustuslaseNumber: "Käibemaksukohustuslase number",
1044
+ kanjiAndKanaCharactersAreNotAllowed: "Не са разрешени знаци от канджи и кана, моля, използвайте само букви на латиница A-Z, a-z) и символи.",
1042
1045
  krsNumber: "KRS номер",
1043
1046
  last4DigitsOfSocialSecurityNumber: "Последните 4 цифри от социално-осигурителния номер (SSN)",
1044
1047
  lastName: "Фамилия",
@@ -1052,11 +1055,13 @@ const bgBG = {
1052
1055
  legalCompanyName__helperText: "Официалното наименование се използва за идентифициране на дадена фирма пред държавата. Въведете го точно както е посочено в държавните Ви или правни формуляри.",
1053
1056
  legalCompanyName__helperText__AU: "Въведете името точно както е записано във Вашия документ на Австралийската комисия за ценни книжа и инвестиции (ASIC).",
1054
1057
  legalCompanyName__helperText__HK: "Въведете името точно както е записано в удостоверението за учредяване в регистъра на дружествата в Хонконг.",
1058
+ legalCompanyName__helperText__JP: "Юридическото наименование се използва за идентифициране на компанията. Моля, въведете името на вашата компания с букви на латиница и символи.",
1055
1059
  legalCompanyName__helperText__NL: "Въведете името, точно както е в регистрацията Ви в Търговската камара.",
1056
1060
  legalCompanyName__helperText__PR: "Въведете името точно както се появява във Вашата регистрация на държавния департамент.",
1057
1061
  legalCompanyName__helperText__SG: "Въведете името точно както е в BizFile на Вашия счетоводен и корпоративен регулаторен орган (ACRA).",
1058
1062
  legalCompanyName__helperText__US: "Въведете името точно така, както е посочено в регистрацията ви от държавния секретар.",
1059
1063
  legalCompanyName__helperText__US__business: "Официалното наименование се използва за идентифициране на дадена фирма пред държавата. Въведете го точно както е посочено в държавните Ви или правни формуляри.",
1064
+ legalCompanyName__JP: "Юридическо наименование на компанията (на английски език)",
1060
1065
  legalCompanyName__US: "Официално име на компанията",
1061
1066
  legalEntityIdentifier: "Идентификационен номер на юридическо лице (LEI)",
1062
1067
  legalForm: "Правна форма",
@@ -1284,6 +1289,7 @@ const bgBG = {
1284
1289
  personalDetails: "Лични данни",
1285
1290
  personalIdentityDetails: "Данни за самоличност",
1286
1291
  personalIdentityDetailsDescription: "Използваме тези данни само за проверка на самоличността. Научете как се управляват Вашите данни, като се запознаете с нашата Декларация за поверителност.",
1292
+ personalInfoNotNeeded: "Лична информация не е необходима",
1287
1293
  personAppointmentUnderTrustInstrument: "Лицето, назначено съгласно документа за учредяване на тръста, за да насочва или ограничава попечителите във връзка с администрирането на тръста.",
1288
1294
  personnummer: "Personnummer",
1289
1295
  peselNumber: "PESEL номер",
@@ -1447,17 +1453,17 @@ const bgBG = {
1447
1453
  remediationMessage_1_805: "Актуализиране на данните за директора",
1448
1454
  remediationMessage_2_117: "Добавете 'organization.registrationNumber' към юридическото лице.",
1449
1455
  remediationMessage_2_118: "Добавете 'organization.taxId' към юридическото лице.",
1450
- remediationMessage_2_123: "Не сте добавили собственик",
1451
- remediationMessage_2_124: "Не сте добавили подписващ",
1456
+ remediationMessage_2_123: "Трябва да знаем за всички действителни собственици, които притежават най-малко 25% от бизнеса.",
1457
+ remediationMessage_2_124: "Трябва да знаем за поне един подписващ, който може да подписва договори от името на бизнеса.",
1452
1458
  remediationMessage_2_125: "Добавете 'organization.type' към юридическото лице.",
1453
1459
  remediationMessage_2_133: "Добавете 'organization.doingBusinessAs' към юридическото лице.",
1454
- remediationMessage_2_151: "Не сте добавили контролиращо лице",
1460
+ remediationMessage_2_151: "Трябва да знаем за поне един действителен собственик, който контролира стратегическата насока на бизнеса.",
1455
1461
  remediationMessage_2_153: "Добавяне на 'phone.number' към юридическото лице",
1456
1462
  remediationMessage_2_158: "Въведете номер по ДДС или основание за освобождаване.",
1457
1463
  remediationMessage_2_170: "Добавете данъчна информация към юридическото лице.",
1458
1464
  remediationMessage_2_178: "Добавете „webAddress“ към бизнес линия.",
1459
1465
  remediationMessage_2_184: "Добавете учредителен документ за проверка към юридическо лице.",
1460
- remediationMessage_2_185: "Не сте добавили директорите си",
1466
+ remediationMessage_2_185: "Трябва да знаем за поне един директор, назначен да упражнява надзор над бизнеса.",
1461
1467
  remediationMessage_2_188: "Добавяне на документ на документа ProofOfOwnership за проверка към юридическо лице",
1462
1468
  remediationMessage_2_194: "Добавете 'organization.registeredAddress.postalCode' към юридическото лице.",
1463
1469
  remediationMessage_2_206: "Добавете 'organization.registeredAddress.street' към юридическото лице.",
@@ -1858,6 +1864,7 @@ const bgBG = {
1858
1864
  weNeedProofOfFunding: "Необходимо е доказателство за източниците на финансиране за %{category_name}. То ще ни помогне да разберем как ще използвате тези продукти.",
1859
1865
  weNeedProofOfFundingPlural: "Необходимо е доказателство за източниците на финансиране за %{category1_name} и %{category2_name}. То ще ни помогне да разберем как ще използвате тези продукти.",
1860
1866
  weSelectedSomeRolesBasedOnMyinfoBusinessDataAboutYourCompanysAppointmentHoldersAndShareholders: "Избрахме някои роли въз основа на фирмените данни в Myinfo за назначените лица и акционерите във вашата компания.",
1867
+ weWontCollectAnyInfoAboutThisPerson: "Няма да събираме никаква информация за това лице въз основа на това, което сте ни казали за неговата роля.",
1861
1868
  whatBestDescribesYourBusinessSetup: "Какво най-добре описва Вашата бизнес настройка?",
1862
1869
  whatCountryOrRegionIsTheBenefactorLocated: "В коя държава/регион се намира дарителят?",
1863
1870
  whatCountryOrRegionIsThisPersonLocated: "В коя държава или регион се намира това лице?",