@adyen/kyc-components 3.68.4 → 3.69.1

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 (109) hide show
  1. package/dist/{AcceptTermsOfServiceComponent-Bz8meNAN.js → AcceptTermsOfServiceComponent-Cnv5ZPl5.js} +35 -60
  2. package/dist/{AccountSetupRejected-D3E-9InR.js → AccountSetupRejected-CghDwOps.js} +3 -3
  3. package/dist/{BusinessTypeSelection-DGBwNzyu.js → BusinessTypeSelection-DeZuB2cX.js} +4 -4
  4. package/dist/{CXEL7IU7-Cxc9L1rB.js → CXEL7IU7-HK-98F6d.js} +3 -3
  5. package/dist/{CreateIndividualComponent-BhczFqlN.js → CreateIndividualComponent-CXcGc6Fg.js} +92 -194
  6. package/dist/{CustomerSupport-DZVVS0az.js → CustomerSupport-BWMKG7BY.js} +4 -4
  7. package/dist/{DebugModal-CZcPKrKr.js → DebugModal-DlUYp71H.js} +8 -8
  8. package/dist/{DecisionMakers-CJU3ufK2.js → DecisionMakers-jM2qEJYz.js} +4 -4
  9. package/dist/{EmbedShell-DB8x4Nem.js → EmbedShell-CAeuW7V3.js} +28 -8
  10. package/dist/{EventEmitter-DO8kcfAT.js → EventEmitter-BdbTrGMk.js} +418 -428
  11. package/dist/{HASRA6WW-BPxD6Lwy.js → HASRA6WW-Bu-29-oR.js} +2 -2
  12. package/dist/{I3HPI4QX-CX7OCqd9.js → I3HPI4QX-DB3vUJvp.js} +3 -3
  13. package/dist/{Introduction-DPpBzox4.js → Introduction-BleGRaa4.js} +3 -3
  14. package/dist/{Review-SsWCNJ4V.js → Review-B8zggWg2.js} +8 -14
  15. package/dist/{SingpassSelection-CoRcvnhu.js → SingpassSelection-DC-hVP9Y.js} +1 -1
  16. package/dist/{TaxReportingDropin-1DIISI1K.js → TaxReportingDropin-DqSPuzE8.js} +10 -16
  17. package/dist/adyen-kyc-components.js +1 -1
  18. package/dist/adyenConfig.js +1 -1
  19. package/dist/{bg-BG-CfJNzZu7.js → bg-BG-Ce7O3eFv.js} +15 -4
  20. package/dist/{core-DwWFwq-p.js → core-B13TZF_D.js} +275 -416
  21. package/dist/{cs-CZ-CRMGIz8x.js → cs-CZ-CrC0OM0G.js} +16 -5
  22. package/dist/{css-_LjM9pSU.js → css-D1NPnwah.js} +1 -1
  23. package/dist/{da-DK-C7ftGVR7.js → da-DK-qSfql5UY.js} +15 -4
  24. package/dist/{de-DE-C39k0axr.js → de-DE-3LOqfpiA.js} +15 -4
  25. package/dist/{el-GR-BGGUBqdt.js → el-GR-CTuJ6hn-.js} +15 -4
  26. package/dist/{es-ES-BojuwecZ.js → es-ES-DgVFlRYZ.js} +19 -8
  27. package/dist/{et-EE-DEVH-7IA.js → et-EE-Bgft_08b.js} +15 -4
  28. package/dist/{fi-FI-Bku_85E3.js → fi-FI-CQW_GIPa.js} +15 -4
  29. package/dist/{fr-FR-HnJ_pnor.js → fr-FR-dNqcyG5e.js} +15 -4
  30. package/dist/{hr-HR-DXiqG0wV.js → hr-HR-C8WCFUb9.js} +15 -4
  31. package/dist/{hu-HU-DctyKbNV.js → hu-HU-OdcVNvSN.js} +15 -4
  32. package/dist/individual.js +5 -4
  33. package/dist/{it-IT-tSaYFPHL.js → it-IT-CPBQVRCK.js} +15 -4
  34. package/dist/{ja-JP-DrupcLqM.js → ja-JP-Bh4irw6C.js} +15 -4
  35. package/dist/{json-BZrWRd0I.js → json-BfY90MIx.js} +1 -1
  36. package/dist/{listToRecord-1KbYZ5qe.js → listToRecord-CAqI3h_G.js} +1 -1
  37. package/dist/{lt-LT-C4y-mmdw.js → lt-LT-vglMkJcJ.js} +15 -4
  38. package/dist/{lv-LV-CqmNw1Ry.js → lv-LV-BbjKCqpN.js} +15 -4
  39. package/dist/{nl-NL-CALz56wW.js → nl-NL-D_O0KNNq.js} +15 -4
  40. package/dist/{no-NO-SyIXHgGV.js → no-NO-qkYiqc6y.js} +16 -5
  41. package/dist/{pl-PL-veuK_Fs-.js → pl-PL-Dt_cU3CC.js} +15 -4
  42. package/dist/{plaintext-CAPVlVKI.js → plaintext-BtvmsVMu.js} +1 -1
  43. package/dist/{pt-PT-KPmxJycM.js → pt-PT-ikqIUFTg.js} +15 -4
  44. package/dist/{ro-RO-DPXG-We0.js → ro-RO-gzqKZPHh.js} +15 -4
  45. package/dist/{sk-SK-ldAkSZl-.js → sk-SK-BY3g56qX.js} +16 -5
  46. package/dist/{sl-SI-CH3W5STZ.js → sl-SI-HorvDYvW.js} +15 -4
  47. package/dist/style.css +5 -2
  48. package/dist/styles-CLV89_hH.js +5 -2
  49. package/dist/{sv-SE-DFrDPziR.js → sv-SE-X6UKX96z.js} +16 -5
  50. package/dist/terms-of-service.js +5 -4
  51. package/dist/types/api/address/useSearchAddress.d.ts +1 -1
  52. package/dist/types/api/check/useCheck.d.ts +1 -1
  53. package/dist/types/api/companyDataSet/useCompanyDataset.d.ts +15 -3
  54. package/dist/types/api/companyDataSet/useRefreshCompanyDataset.d.ts +6 -2
  55. package/dist/types/api/companySearch/useCompanyDeepSearch.d.ts +12 -3
  56. package/dist/types/api/companySearch/useCompanyIndexSearch.d.ts +2 -3
  57. package/dist/types/api/companySearch/useCompanyRegistrationNumberDeepSearch.d.ts +2 -3
  58. package/dist/types/api/companySearch/useCompanyRegistrationNumberIndexSearch.d.ts +2 -3
  59. package/dist/types/api/configurations/useVersionConfiguration.d.ts +1 -1
  60. package/dist/types/api/idVerificationProviders/useIdVerificationToken.d.ts +15 -3
  61. package/dist/types/api/openId/useOpenIdAuthorizationLink.d.ts +1 -1
  62. package/dist/types/api/pciTemplate/usePciQuestionnaire.d.ts +1 -1
  63. package/dist/types/api/pciTemplate/usePciQuestionnaireList.d.ts +1 -1
  64. package/dist/types/api/queryKeys.d.ts +2 -1
  65. package/dist/types/api/termsOfService/useAcceptTermsOfService.d.ts +1 -1
  66. package/dist/types/api/termsOfService/useAcceptedTermsOfService.d.ts +1 -1
  67. package/dist/types/api/termsOfService/useTermsOfService.d.ts +1 -1
  68. package/dist/types/api/tinVerification/useVerifyTin.d.ts +4 -5
  69. package/dist/types/api/transferInstruments/useCreateTransferInstrument.d.ts +1 -1
  70. package/dist/types/api/validation/useValidateAccountIdentification.d.ts +1 -1
  71. package/dist/types/components/BankAccount/mapping/payoutKeyMappings.d.ts +1 -1
  72. package/dist/types/components/Business/forms/AdditionalInformation/VerifiedBusinessCard.d.ts +1 -1
  73. package/dist/types/components/Business/forms/AdditionalInformation/types.d.ts +1 -1
  74. package/dist/types/components/Business/forms/AdditionalInformation/utils.d.ts +1 -1
  75. package/dist/types/components/Business/forms/BasicInformation/types.d.ts +2 -1
  76. package/dist/types/components/Business/forms/BusinessDetails/types.d.ts +2 -1
  77. package/dist/types/components/Business/forms/BusinessSelection/BusinessInformationCard.d.ts +2 -1
  78. package/dist/types/components/Business/forms/BusinessSelection/types.d.ts +1 -1
  79. package/dist/types/components/Business/forms/CompanyStructure/types.d.ts +1 -1
  80. package/dist/types/components/Business/hooks/useBusinessData/types.d.ts +7 -12
  81. package/dist/types/components/Individual/forms/Individual/IdDocumentUpload/types.d.ts +0 -2
  82. package/dist/types/components/Individual/forms/Individual/IdVerification/IdVerification.d.ts +1 -1
  83. package/dist/types/components/Individual/forms/Individual/IdVerification/types.d.ts +0 -2
  84. package/dist/types/components/Individual/forms/Individual/types.d.ts +0 -2
  85. package/dist/types/components/Individual/forms/IndividualOnfido/IdVerificationMethod/IdVerificationMethod.types.d.ts +1 -4
  86. package/dist/types/components/Individual/forms/IndividualOnfido/IdVerificationMethod/OnfidoVerificationModal/OnfidoVerificationModal.d.ts +1 -1
  87. package/dist/types/components/Individual/forms/IndividualOnfido/IndividualOnfido.d.ts +1 -1
  88. package/dist/types/components/Individual/forms/IndividualOnfido/IndividualOnfido.types.d.ts +0 -2
  89. package/dist/types/components/Shared/FormWrapper/FormWrapper.d.ts +1 -3
  90. package/dist/types/components/Shared/fields/IdFieldTypeSelector/countryIdNumberTypes.d.ts +5 -0
  91. package/dist/types/components/Shared/forms/Address/types.d.ts +1 -1
  92. package/dist/types/components/Shared/forms/Address/utils.d.ts +1 -1
  93. package/dist/types/components/Trust/forms/Trust/rules.d.ts +4 -3
  94. package/dist/types/components/Trust/forms/TrustRegistrationDetails/types.d.ts +2 -1
  95. package/dist/types/components/UnincorporatedPartnership/types/types.d.ts +9 -0
  96. package/dist/types/context/ApiContext/ApiProvider.d.ts +3 -3
  97. package/dist/types/context/FormRouterContext/FormRouterContextProvider.d.ts +1 -1
  98. package/dist/types/context/FormRouterContext/types.d.ts +0 -2
  99. package/dist/types/core/EmbedShell/EmbedShell.d.ts +5 -2
  100. package/dist/types/core/UIElement/UIElement.d.ts +1 -1
  101. package/dist/types/core/core.d.ts +1 -1
  102. package/dist/types/core/services/types.d.ts +3 -15
  103. package/dist/types/core/services/utils.d.ts +1 -3
  104. package/dist/types/core/types.d.ts +0 -4
  105. package/dist/types/utils/entityStatusUtil.d.ts +1 -1
  106. package/dist/{yaml-CCRP53dZ.js → yaml-DdX1lwgo.js} +1 -1
  107. package/package.json +1 -1
  108. package/dist/types/components/Individual/hooks/useIdVerificationToken.d.ts +0 -13
  109. package/dist/types/core/models/api/company-search.d.ts +0 -70
@@ -5,12 +5,12 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
5
5
  {
6
6
  try {
7
7
  let e2 = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n2 = new e2.Error().stack;
8
- n2 && (e2._sentryDebugIds = e2._sentryDebugIds || {}, e2._sentryDebugIds[n2] = "cdd4524f-f211-40c2-836e-2776f66237bf", e2._sentryDebugIdIdentifier = "sentry-dbid-cdd4524f-f211-40c2-836e-2776f66237bf");
8
+ n2 && (e2._sentryDebugIds = e2._sentryDebugIds || {}, e2._sentryDebugIds[n2] = "9566c970-366b-4e5e-808d-07bc5cfe7364", e2._sentryDebugIdIdentifier = "sentry-dbid-9566c970-366b-4e5e-808d-07bc5cfe7364");
9
9
  } catch (e2) {
10
10
  }
11
11
  }
12
12
  ;
13
- import { e4 as createContext, e5 as createSignal, e6 as onMount, e7 as createEffect, e2 as createMemo, e3 as createComponent, e8 as Portal, e9 as Show, ea as template, eb as insert, ec as createRenderEffect, ed as className, ee as clearDelegatedEvents, ef as delegateEvents, eg as useContext, eh as onCleanup, ei as sortFns, ej as mutationSortFns, ek as on, el as setAttribute, em as getSidedProp, en as use, eo as createUniqueId, ep as batch, eq as getQueryStatusLabel, er as getMutationStatusColor, es as getQueryStatusColor, et as getQueryStatusColorByLabel, eu as displayValue, ev as For, ew as convertRemToPixels, ex as untrack, ey as $TRACK, ez as useTransition, eA as spread, eB as mergeProps, eC as createRoot, eD as serialize, eE as Index, eF as updateNestedDataByPath, eG as addEventListener, eH as stringify, eI as Match, eJ as Switch, eK as deleteNestedDataByPath, eL as splitProps, eM as Dynamic, eN as createComputed } from "./EventEmitter-DO8kcfAT.js";
13
+ import { ea as createContext, eb as createSignal, ec as onMount, ed as createEffect, e8 as createMemo, e9 as createComponent, ee as Portal, ef as Show, eg as template, eh as insert, ei as createRenderEffect, ej as className, ek as clearDelegatedEvents, el as delegateEvents, em as useContext, en as onCleanup, eo as sortFns, ep as mutationSortFns, eq as on, er as setAttribute, es as getSidedProp, et as use, eu as createUniqueId, ev as batch, ew as getQueryStatusLabel, ex as getMutationStatusColor, ey as getQueryStatusColor, ez as getQueryStatusColorByLabel, eA as displayValue, eB as For, eC as convertRemToPixels, eD as untrack, eE as $TRACK, eF as useTransition, eG as spread, eH as mergeProps, eI as createRoot, eJ as serialize, eK as Index, eL as updateNestedDataByPath, eM as addEventListener, eN as stringify, eO as Match, eP as Switch, eQ as deleteNestedDataByPath, eR as splitProps, eS as Dynamic, eT as createComputed } from "./EventEmitter-BdbTrGMk.js";
14
14
  var isNonNullable = (i2) => i2 != null;
15
15
  var filterNonNullable = (arr) => arr.filter(isNonNullable);
16
16
  function chain(callbacks) {
@@ -2,13 +2,13 @@
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] = "41f15a06-c330-4e7c-acef-e4a104bf6da8", e._sentryDebugIdIdentifier = "sentry-dbid-41f15a06-c330-4e7c-acef-e4a104bf6da8");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "6ee611a5-28ba-4d49-a57b-51648ad7378f", e._sentryDebugIdIdentifier = "sentry-dbid-6ee611a5-28ba-4d49-a57b-51648ad7378f");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
- import { c as createLocalStorage, T as THEME_PREFERENCE, P as PiPProvider, a as ThemeContext, D as Devtools, Q as QueryDevtoolsContext } from "./HASRA6WW-BPxD6Lwy.js";
11
- import { e1 as getPreferredColorScheme, e2 as createMemo, e3 as createComponent } from "./EventEmitter-DO8kcfAT.js";
10
+ import { c as createLocalStorage, T as THEME_PREFERENCE, P as PiPProvider, a as ThemeContext, D as Devtools, Q as QueryDevtoolsContext } from "./HASRA6WW-Bu-29-oR.js";
11
+ import { e7 as getPreferredColorScheme, e8 as createMemo, e9 as createComponent } from "./EventEmitter-BdbTrGMk.js";
12
12
  var DevtoolsComponent = (props) => {
13
13
  const [localStore, setLocalStore] = createLocalStorage({
14
14
  prefix: "TanstackQueryDevtools"
@@ -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] = "58171b69-8a29-49b0-9bee-b438d97f7c77", e._sentryDebugIdIdentifier = "sentry-dbid-58171b69-8a29-49b0-9bee-b438d97f7c77");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "7033f4bd-b572-47a8-88d3-a73206329a40", e._sentryDebugIdIdentifier = "sentry-dbid-7033f4bd-b572-47a8-88d3-a73206329a40");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { jsxs, Fragment, jsx } from "preact/jsx-runtime";
11
11
  import { useMemo as useMemo$1, useState, useEffect } from "preact/hooks";
12
- import { T as TaskTypes, J as LegalEntityType, d_ as getTranslationKeysByPrefix, i as useI18nContext, j as useAnalyticsContext, dE as StepProgressIndicator, G as Button } from "./EventEmitter-DO8kcfAT.js";
12
+ import { T as TaskTypes, J as LegalEntityType, e4 as getTranslationKeysByPrefix, i as useI18nContext, j as useAnalyticsContext, dJ as StepProgressIndicator, G as Button } from "./EventEmitter-BdbTrGMk.js";
13
13
  import { useMemo } from "preact/compat";
14
- import { u as useCanSeeIntroduction, a as useLegalEntityType, t as toCapitalized } from "./core-DwWFwq-p.js";
14
+ import { u as useCanSeeIntroduction, a as useLegalEntityType, t as toCapitalized } from "./core-B13TZF_D.js";
15
15
  var IntroductionScreens = ((IntroductionScreens2) => {
16
16
  IntroductionScreens2["PROLOGUE"] = "PROLOGUE";
17
17
  IntroductionScreens2[IntroductionScreens2["INDIVIDUAL"] = TaskTypes.INDIVIDUAL] = "INDIVIDUAL";
@@ -2,32 +2,26 @@
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] = "a5e79961-4fa3-4d66-8c2a-06fd88a3de45", e._sentryDebugIdIdentifier = "sentry-dbid-a5e79961-4fa3-4d66-8c2a-06fd88a3de45");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "37316655-9082-43ea-b9b9-75e74670f098", e._sentryDebugIdIdentifier = "sentry-dbid-37316655-9082-43ea-b9b9-75e74670f098");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { jsx, jsxs } from "preact/jsx-runtime";
11
11
  import { useState } from "preact/hooks";
12
- import { a as useApiContext, e as useMutation, h as httpPost, i as useI18nContext, l as useToastContext, L as LoaderWrapper, bY as FormHeader, d1 as Checkbox, cH as ActionBar } from "./EventEmitter-DO8kcfAT.js";
13
- import { D as DropinLayout } from "./core-DwWFwq-p.js";
14
- const confirmReview = async (legalEntityId, url) => {
12
+ import { a as useApiContext, e as useMutation, h as httpPost, i as useI18nContext, l as useToastContext, L as LoaderWrapper, bY as FormHeader, d6 as Checkbox, cH as ActionBar } from "./EventEmitter-BdbTrGMk.js";
13
+ import { D as DropinLayout } from "./core-B13TZF_D.js";
14
+ const confirmReview = async (legalEntityId, baseUrl) => {
15
15
  return httpPost({
16
- loadingContext: url,
17
- errorLevel: "warn",
18
- errorMessage: `Failed to confirm data review`,
19
- path: `legalEntities/${legalEntityId}/confirmDataReview`,
20
- authentication: "jwt",
21
- headers: {
22
- "Content-Type": "application/json"
23
- }
16
+ baseUrl,
17
+ path: `legalEntities/${legalEntityId}/confirmDataReview`
24
18
  });
25
19
  };
26
20
  const useConfirmReview = (options) => {
27
- const { legalEntityId, baseUrl } = useApiContext();
21
+ const { rootLegalEntityId, baseUrl } = useApiContext();
28
22
  return useMutation({
29
23
  mutationFn: () => {
30
- return confirmReview(legalEntityId.value, baseUrl.value);
24
+ return confirmReview(rootLegalEntityId.value, baseUrl.value);
31
25
  },
32
26
  ...options
33
27
  });
@@ -9,7 +9,7 @@
9
9
  ;
10
10
  import { jsx, jsxs } from "preact/jsx-runtime";
11
11
  import { useState } from "preact/hooks";
12
- import { i as useI18nContext, bj as useForm, E as Typography, b9 as Field, cz as RadioGroupCard, G as Button, bx as Svg, J as LegalEntityType } from "./EventEmitter-DO8kcfAT.js";
12
+ import { i as useI18nContext, bj as useForm, E as Typography, b9 as Field, cz as RadioGroupCard, G as Button, bx as Svg, J as LegalEntityType } from "./EventEmitter-BdbTrGMk.js";
13
13
  const setupAccountMethods = ["singpass", "manual"];
14
14
  const setupAccountMethodFields = ["setupAccountMethod"];
15
15
  const getSingpassSelectionDisabled = (legalEntityType) => {
@@ -2,34 +2,28 @@
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] = "448d2f38-58ec-4c2b-b53f-358ff15dea9e", e._sentryDebugIdIdentifier = "sentry-dbid-448d2f38-58ec-4c2b-b53f-358ff15dea9e");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "0ea50f6a-6fc6-4e57-9c04-cced5cc1f587", e._sentryDebugIdIdentifier = "sentry-dbid-0ea50f6a-6fc6-4e57-9c04-cced5cc1f587");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
11
11
  import { useState, useRef, useEffect, useMemo, useCallback } from "preact/hooks";
12
- import { a as useApiContext, b as useQuery, d as httpGet, E as Typography, i as useI18nContext, bO as useFormContext, V as Alert, b9 as Field, bb as RadioGroup, aw as getFormProps, Q as Icon, aM as isEmpty, bx as Svg, G as Button, W as Card, X as StructuredList, Z as IconButton, H as isEmpty$1, R as useInvalidateRootLegalEntity, j as useAnalyticsContext, u as useLegalEntity, c as createLogger, K as Loader } from "./EventEmitter-DO8kcfAT.js";
13
- import { B as useUpdateLegalEntity, O as useMultiForm, h as getRequiredForms, i as addValidityToForms, j as useFormComposer, U as FormContextProvider, F as FormWrapper } from "./CreateIndividualComponent-BhczFqlN.js";
12
+ import { a as useApiContext, b as useQuery, d as httpGet, E as Typography, i as useI18nContext, bO as useFormContext, V as Alert, b9 as Field, bb as RadioGroup, aw as getFormProps, Q as Icon, aM as isEmpty, bx as Svg, G as Button, W as Card, X as StructuredList, Z as IconButton, H as isEmpty$1, R as useInvalidateRootLegalEntity, j as useAnalyticsContext, u as useLegalEntity, c as createLogger, K as Loader } from "./EventEmitter-BdbTrGMk.js";
13
+ import { B as useUpdateLegalEntity, N as useMultiForm, h as getRequiredForms, i as addValidityToForms, j as useFormComposer, T as FormContextProvider, F as FormWrapper } from "./CreateIndividualComponent-CXcGc6Fg.js";
14
14
  import { signal } from "@preact/signals";
15
- import { s as sofStyles, T as TaskStatusIndicator, n as normalizedTaskStatusStore } from "./core-DwWFwq-p.js";
16
- const getTaxClassification = async (legalEntityId, url) => {
15
+ import { s as sofStyles, T as TaskStatusIndicator, n as normalizedTaskStatusStore } from "./core-B13TZF_D.js";
16
+ const getTaxClassification = async (legalEntityId, baseUrl) => {
17
17
  return httpGet({
18
- loadingContext: url,
19
- errorLevel: "warn",
20
- errorMessage: `Failed to fetch Business lines`,
21
- path: `legalEntities/${legalEntityId}/taxclassification`,
22
- authentication: "jwt",
23
- headers: {
24
- "Content-Type": "application/json"
25
- }
18
+ baseUrl,
19
+ path: `legalEntities/${legalEntityId}/taxclassification`
26
20
  });
27
21
  };
28
22
  const useTaxClassification = (options) => {
29
- const { legalEntityId, baseUrl } = useApiContext();
23
+ const { rootLegalEntityId, baseUrl } = useApiContext();
30
24
  return useQuery({
31
25
  queryKey: ["taxClassification"],
32
- queryFn: () => getTaxClassification(legalEntityId.value, baseUrl.value),
26
+ queryFn: () => getTaxClassification(rootLegalEntityId.value, baseUrl.value),
33
27
  ...options
34
28
  });
35
29
  };
@@ -483,7 +477,7 @@ function TaxReportingDropin({ problems, handleHomeClick }) {
483
477
  onSubmit: handleSubmit,
484
478
  triggerValidation: form.triggerValidation
485
479
  });
486
- return /* @__PURE__ */ jsx("div", { className: styles.taxReportingDropin, children: isLoading || isLoadingTaxRecommendationData ? /* @__PURE__ */ jsx(Loader, { size: "medium" }) : /* @__PURE__ */ jsxs(Fragment, { children: [
480
+ return /* @__PURE__ */ jsx("div", { className: styles.taxReportingDropin, children: isLoading || isLoadingTaxRecommendationData ? /* @__PURE__ */ jsx(Loader, {}) : /* @__PURE__ */ jsxs(Fragment, { children: [
487
481
  !formVisible && /* @__PURE__ */ jsx(
488
482
  TaxReportingGettingStarted,
489
483
  {
@@ -7,7 +7,7 @@
7
7
  }
8
8
  }
9
9
  ;
10
- import { C as Core } from "./core-DwWFwq-p.js";
10
+ import { C as Core } from "./core-B13TZF_D.js";
11
11
  if (CSS.supports("container", "foo / inline-size") === false) {
12
12
  import("container-query-polyfill");
13
13
  }
@@ -7,7 +7,7 @@
7
7
  }
8
8
  }
9
9
  ;
10
- import { C as Core } from "./core-DwWFwq-p.js";
10
+ import { C as Core } from "./core-B13TZF_D.js";
11
11
  import { p as propsToCoreOptions } from "./utils-Do7EwrWz.js";
12
12
  const loadAdyenConfig = async (config) => {
13
13
  if (!config.environment) {
@@ -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] = "cf61780d-e92d-4bcc-ad35-deca7e403f55", e._sentryDebugIdIdentifier = "sentry-dbid-cf61780d-e92d-4bcc-ad35-deca7e403f55");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "5aa05105-53c4-4f6d-aa4e-d7524f13e02d", e._sentryDebugIdIdentifier = "sentry-dbid-5aa05105-53c4-4f6d-aa4e-d7524f13e02d");
6
6
  } catch (e) {
7
7
  }
8
8
  }
@@ -65,7 +65,6 @@ const bgBG = {
65
65
  addTrustMember: "Добавяне на член на тръста",
66
66
  addYourselfAsSigner: "Добавете себе си като подписващ",
67
67
  adoptionCertificate: "Сертификат за осиновяване",
68
- adyen: "Adyen",
69
68
  adyenKeepsDataAsLongAsLegallyRequired: "Adyen съхранява вашите данни само толкова дълго, колкото е необходимо по закон. Те няма да бъдат използвани за други цели или от други трети страни, освен от посочените.",
70
69
  adyenPrivacyPolicy: "Политика за поверителност на Adyen",
71
70
  adyenWillOnlyGetTemporaryAccess: "Adyen ще получи само временен достъп до банковите ви данни и данните ви никога не се споделят с трети страни.",
@@ -128,6 +127,7 @@ const bgBG = {
128
127
  bankAccountNeeded: "Необходима е банкова сметка.",
129
128
  bankAccountNumber: "Номер на сметка",
130
129
  bankAccountToHaveSameNameAsTrust: "Титулярът на банковата сметка трябва да има същото име като Вашия тръст",
130
+ bankAccountToHaveSameNameAsUnincorporatedPartnership: "Титулярът на банковата сметка трябва да има същото име като ",
131
131
  bankAccountVerification: "Проверка на банкова сметка",
132
132
  bankCityTown: "Град на банката",
133
133
  bankCode: "Банков код",
@@ -238,6 +238,7 @@ const bgBG = {
238
238
  check: "Проверете",
239
239
  checkForTypos: "Проверете за правописни грешки и опитайте отново",
240
240
  chooseATaxReportingClassificationOption: "Изберете опция за класификация за данъчно отчитане",
241
+ chooseATaxStatusOptionToContinue: "Изберете опция за данъчен статус, за да продължите",
241
242
  chooseTheCorrectDetailsBeforeProceeding: "Изберете правилните данни, преди да продължите.",
242
243
  chooseTheTaxStatusWhichBestRepresentsYourBusiness: 'Изберете данъчния статус, който най-добре отразява Вашия бизнес. Събираме тази информация, за да спазваме законите за данъчна прозрачност по света, включително <a href="https://www.irs.gov/businesses/corporations/foreign-account-tax-compliance-act-fatca#:~:text=The%20Foreign%20Account%20Tax%20Compliance,to%20withholding%20on%20withholdable%20payments." target="_blank" rel="noopener noreferrer nofollow">FATCA</a> и <a href="https://www.oecd.org/en/publications/standard-for-automatic-exchange-of-financial-account-information-in-tax-matters-second-edition_9789264267992-en.html" target="_blank" rel="noopener noreferrer nofollow">законодателството CRS</a>. ',
243
244
  chRegistrationNumber: "Unternehmens-Identifikationsnummer (UID)",
@@ -419,9 +420,11 @@ const bgBG = {
419
420
  dropFileToUpload: "Пуснете файл, за да го качите",
420
421
  duplicatedFiles: "Дублирани файлове",
421
422
  edit: "Редактиране",
423
+ editBusinessSetup: "Редактиране на настройките на бизнеса",
422
424
  editDetails: "Редактиране на данните",
423
425
  editEntityDetails: "Редактирайте данните за юридическото лице",
424
426
  editEntityOwner: "Редактирайте данните за собственика",
427
+ editForm: "Редактиране на %{formName}",
425
428
  editOwnerOfTrustMember: "Редактирайте собственика на %{trustMember}",
426
429
  editTrustMember: "Редактирайте данни за %{trustMember} ",
427
430
  ein: "Идентификационен номер на работодател (ИНР)",
@@ -873,6 +876,7 @@ const bgBG = {
873
876
  idDocumentAlreadyUploaded: "Документът за самоличност вече е качен или е твърде голям; опитайте друг",
874
877
  identifikacionenNomerDDS: "Номер по ДДС (ДДС)",
875
878
  identityCard: "Лична карта",
879
+ identityCard__JP: "Номер на моята карта / Удостоверение за печат",
876
880
  identityCardBack: "Лична карта (гръб)",
877
881
  identityCardFront: "Лична карта (лице)",
878
882
  identityNumberExempt: "Нямам идентификационен номер",
@@ -1206,6 +1210,7 @@ const bgBG = {
1206
1210
  original: "Първоначална документация",
1207
1211
  originatorType: "Тип произход",
1208
1212
  orSoleProprietorshipName: "или името на едноличния търговец",
1213
+ other: "Други",
1209
1214
  otherAddressInformation: "Друга адресна информация",
1210
1215
  otherBusinessInformation: "Друга фирмена информация",
1211
1216
  otherInformation: "Друга информация",
@@ -1222,6 +1227,9 @@ const bgBG = {
1222
1227
  parentCompany: "Дружество майка",
1223
1228
  parentCompanyInformation: "Информация за дружеството майка",
1224
1229
  partitaIVA: "Partita IVA",
1230
+ partnerAsPartnersForUnincorporatedPartnership: "%{partnerNames}, като партньори на %{partnershipName}.",
1231
+ partnerIsABusiness: "Този партньор е едноличен търговец, частно дружество, публична корпорация, организация с нестопанска цел или друг бизнес субект.",
1232
+ partnerNotABusiness: "Този партньор не е фирма",
1225
1233
  partnerRoleDescription: "Опишете ни по-подробно ролята на този партньор в партньорството.",
1226
1234
  partnership: "Партньорство",
1227
1235
  partnershipAgreement: "Споразумение за партньорство, устав или правила",
@@ -1270,9 +1278,11 @@ const bgBG = {
1270
1278
  phoneNumber: "Телефонен номер",
1271
1279
  phoneNumber__placeholder__AL: "00 000 0000",
1272
1280
  phoneNumber__placeholder__AS: "000-0000",
1281
+ phoneNumber__placeholder__JP: "00-0000-0000",
1273
1282
  phoneNumber__placeholder__NL: "0 00000000",
1274
1283
  phoneNumber__placeholder__SG: "0000 0000",
1275
1284
  phoneNumber__placeholder__US: "(000) 000-0000",
1285
+ phoneNumberPrefix: "Префикс на телефонен номер",
1276
1286
  pleaseEnsureTheFollowing: "Моля, уверете се, че следният раздел е попълнен, за да бъде завършен прегледът на Вашите данни.",
1277
1287
  pleaseEnterAPhoneNumberPrefixedWithCountryCode: "Моля, въведете телефонен номер с префикс код на държавата, напр. %{defaultPrefix}.",
1278
1288
  pleaseEnterAValidAmount: "Моля, въведете валидна сума.",
@@ -1471,7 +1481,6 @@ const bgBG = {
1471
1481
  retrieveMyInfoBusiness: "Извличане на информация за бизнеса Myinfo",
1472
1482
  retrieveMyinfoBusinessWith: "Извличане на Myinfo business с",
1473
1483
  retrieveMyinfoWith: "Извличане на Myinfo с",
1474
- returnToTaskList: "Назад към списъка със задачи",
1475
1484
  reviewAndSignLegalDisclosures: "Прегледайте и подпишете правните разкрития",
1476
1485
  reviewTheInformationBelowAndCorrectMistakesOr: "Прегледайте информацията по-долу и коригирайте всички грешки или",
1477
1486
  RFC: "RFC",
@@ -1483,8 +1492,10 @@ const bgBG = {
1483
1492
  rootLegalEntityIsEmpty: "За основното юридическо лице са въведени само минимални данни (или няма данни).",
1484
1493
  roRegNumberNewFormat: "Нов формат (F201200092840314)",
1485
1494
  roRegNumberNewFormat_label: "Numărul de înregistrare la Registrul Comerțului (издаден след 26.07.2024 г.)",
1495
+ roRegNumberNewFormat_maskGuidance: "Въведете следното: J, F или C + 13 цифри. Например J1234567892025",
1486
1496
  roRegNumberOldFormat: "Стар формат (J40/8302/1997)",
1487
1497
  roRegNumberOldFormat_label: "Număr de ordine din Registrul Comerțului",
1498
+ roRegNumberOldFormat_maskGuidance: "Въведете следното: J, F или C + 1-2 цифри + '/' + 1-9 цифри + '/' + 4 цифри. Например J40/8302/1997",
1488
1499
  routingNumber: "Национален номер на сметка",
1489
1500
  routingNumberVisible: "Включва Вашия маршрутен номер",
1490
1501
  royaltyAgreement: "Договор за авторско възнаграждение",
@@ -1880,7 +1891,7 @@ const bgBG = {
1880
1891
  yourBusinessIsAPublicListedEntity: "Вашето предприятие е публично регистрирано дружество, дъщерно дружество на публично регистрирано дружество, правителствена организация или международна организация.",
1881
1892
  yourBusinessIsRegisteredAsASeparateLegalEntityFromItsOwners: "Вашият бизнес е регистриран като отделно юридическо лице от собствениците му.",
1882
1893
  yourBusinessName: "Име на Вашата компания",
1883
- yourBusinessReceivesTheMajorityOfItsIncomeThroughActiveIncome: "Вашият бизнес получава по-голямата част от приходите си чрез активни доходи, като например оперативна дейност от бизнеса или продажби на недвижими имоти.",
1894
+ yourBusinessReceivesTheMajorityOfItsIncomeThroughActiveIncome: "Вашият бизнес генерира повече от 50% от приходите си от активна стопанска дейност като производство, търговия на дребно или предоставяне на услуги.",
1884
1895
  yourBusinesssDetailsArePreFilledInTheRelevantSections: "Данните за вашата фирма са предварително попълнени в съответните раздели.",
1885
1896
  yourBusinessSetup: "Вашата бизнес настройка: %{businessSetup}",
1886
1897
  yourDetailsArePreFilledInTheRelevantSections: "Данните ви са предварително попълнени в съответните раздели.",