@adyen/kyc-components 3.64.8 → 3.65.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 (130) hide show
  1. package/dist/{AccountSetupRejected-CP9jkbCa.js → AccountSetupRejected-8Bcks_Pu.js} +2 -2
  2. package/dist/{CXEL7IU7-Cy-ydTWh.js → CXEL7IU7-EInZOSNY.js} +3 -3
  3. package/dist/{CustomerSupport-CbpXcaLL.js → CustomerSupport-BCIrCnC-.js} +3 -3
  4. package/dist/{DebugModal-B23U9e_H.js → DebugModal-BTbmQWwe.js} +7 -7
  5. package/dist/{DecisionMakers-HwvsPt2t.js → DecisionMakers-BJ5xphlP.js} +4 -4
  6. package/dist/{HASRA6WW-Df5UPpuR.js → HASRA6WW-C4T4T8Nn.js} +2 -2
  7. package/dist/{I3HPI4QX-DSxyrvV1.js → I3HPI4QX-s_JOUk5d.js} +3 -3
  8. package/dist/{Introduction--cfHmxYn.js → Introduction-DfZOVSDf.js} +2 -2
  9. package/dist/{Review-PD2SlGvU.js → Review-VgvMT5nK.js} +4 -4
  10. package/dist/{SingpassSelection-DgEe6r8W.js → SingpassSelection-hpY3DbKh.js} +2 -2
  11. package/dist/TaxReportingDropin-Dqfa6FM8.js +544 -0
  12. package/dist/adyen-kyc-components.js +1 -1
  13. package/dist/adyenConfig.js +1 -1
  14. package/dist/{bg-BG-NVSBt3tn.js → bg-BG-D5xgOsU2.js} +29 -2
  15. package/dist/{core-FHBxkwxA.js → core-D8ryGpa4.js} +37127 -37412
  16. package/dist/{cs-CZ-DqZaIl0x.js → cs-CZ-KVBXiNIz.js} +29 -2
  17. package/dist/{css-B-GQV8RP.js → css-CycUexVO.js} +2 -2
  18. package/dist/{da-DK-VDNZINuU.js → da-DK-7spShYAz.js} +29 -2
  19. package/dist/{de-DE-Cy2I9dDn.js → de-DE-yvRIvFcU.js} +29 -2
  20. package/dist/{el-GR-DHfRaR8Z.js → el-GR-YWCgriVb.js} +29 -2
  21. package/dist/{es-ES-DZVd96IC.js → es-ES-CNzD9GEq.js} +29 -2
  22. package/dist/{et-EE-B-NM8E_e.js → et-EE-DmUotb4z.js} +29 -2
  23. package/dist/{fi-FI-BbQD08sd.js → fi-FI-TAzpPLK7.js} +29 -2
  24. package/dist/{fr-FR-B0hRAlYr.js → fr-FR-CIuKbRED.js} +29 -2
  25. package/dist/{hr-HR-DISs60-D.js → hr-HR-DVgHQ1c2.js} +29 -2
  26. package/dist/{hu-HU-FdXtQL6g.js → hu-HU-BbcxqNs1.js} +29 -2
  27. package/dist/{it-IT-DLVitGZp.js → it-IT-B1f9TSeu.js} +29 -2
  28. package/dist/{json-C4EryEB4.js → json-BNxOWY2H.js} +2 -2
  29. package/dist/{lt-LT-CCJXOhvW.js → lt-LT-BrIeKggd.js} +29 -2
  30. package/dist/{lv-LV-BQmI9-a3.js → lv-LV-Bac-1cF2.js} +29 -2
  31. package/dist/{nl-NL-Bt7RXn3A.js → nl-NL-Ix5Iync5.js} +29 -2
  32. package/dist/{no-NO-Cca9eM0q.js → no-NO-DNXvLJWB.js} +29 -2
  33. package/dist/{pl-PL-CVIz0kbw.js → pl-PL-B8kXLpAH.js} +29 -2
  34. package/dist/{plaintext-C4DxiaSK.js → plaintext-DOua1PdK.js} +2 -2
  35. package/dist/{pt-PT-DXBtMcCw.js → pt-PT-CVrVM34j.js} +29 -2
  36. package/dist/{ro-RO-B6yMY4Un.js → ro-RO-Bkrwakp1.js} +29 -2
  37. package/dist/{sk-SK-CU-2vF-f.js → sk-SK-D2fhxlzK.js} +29 -2
  38. package/dist/{sl-SI-iSZmm9e_.js → sl-SI-BxHUDGRq.js} +29 -2
  39. package/dist/style.css +2838 -2873
  40. package/dist/{sv-SE-Bpawpljv.js → sv-SE-Dj8Q_gMm.js} +29 -2
  41. package/dist/types/api/documents/useCreateDocument.d.ts +5 -0
  42. package/dist/types/api/documents/useDeleteDocument.d.ts +5 -0
  43. package/dist/types/api/documents/useGetDocument.d.ts +5 -0
  44. package/dist/types/api/documents/useUpdateDocument.d.ts +11 -0
  45. package/dist/types/api/entityVerifications/useVerifyIdNumber.d.ts +3 -3
  46. package/dist/types/api/legalEntity/useLegalEntity.d.ts +4 -5
  47. package/dist/types/api/providersConfiguration/useProviderStatus.d.ts +14 -0
  48. package/dist/types/api/termsOfService/useAcceptedTermsOfService.d.ts +2 -2
  49. package/dist/types/api/termsOfService/useTermsOfService.d.ts +1 -0
  50. package/dist/types/api/transferInstruments/useCreateTransferInstrument.d.ts +2 -0
  51. package/dist/types/api/transferInstruments/useDeleteTransferInstrument.d.ts +4 -0
  52. package/dist/types/api/transferInstruments/useGetTransferInstrument.d.ts +12 -0
  53. package/dist/types/api/transferInstruments/{useTransferInstruments.d.ts → useGetTransferInstruments.d.ts} +5 -1
  54. package/dist/types/components/BankAccount/forms/PayoutDetails/types.d.ts +1 -1
  55. package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/PayoutDetailsDropin.d.ts +1 -1
  56. package/dist/types/components/Business/forms/rules.d.ts +1 -0
  57. package/dist/types/components/Business/tasks/BusinessDetailsDropin/BusinessDetailsDropin.d.ts +1 -1
  58. package/dist/types/components/Business/tasks/BusinessDetailsDropin/types.d.ts +2 -2
  59. package/dist/types/components/Business/utils/companyUtil.d.ts +4 -0
  60. package/dist/types/components/Contract/tasks/ServiceAgreementDropin/ServiceAgreementDropin.d.ts +1 -1
  61. package/dist/types/components/Contract/tasks/ServiceAgreementDropin/types.d.ts +1 -3
  62. package/dist/types/components/EFP/tasks/SourceOfFundsDropin/SourceOfFundsDropin.d.ts +1 -1
  63. package/dist/types/components/EFP/tasks/SourceOfFundsDropin/SourceOfFundsUploader/SourceOfFundsUpload.d.ts +1 -2
  64. package/dist/types/components/EFP/tasks/SourceOfFundsDropin/types.d.ts +2 -6
  65. package/dist/types/components/EFP/tasks/TaxReportingDropin/types.d.ts +2 -7
  66. package/dist/types/components/EmbeddedDropins/CreateIndividualComponent/CreateIndividualComponent.d.ts +3 -10
  67. package/dist/types/components/EmbeddedDropins/ManageTransferInstrumentComponent/ManageTransferInstrumentOverview/ManageTransferInstrumentOverview.d.ts +1 -1
  68. package/dist/types/components/EmbeddedDropins/ManageTransferInstrumentComponent/ManageTransferInstrumentOverviewItem/ManageTransferInstrumentOverviewItem.d.ts +2 -4
  69. package/dist/types/components/EmbeddedDropins/ManageTransferInstrumentComponent/ManageTransferInstrumentOverviewItemModal/ManageTransferInstrumentOverviewItemModal.d.ts +1 -1
  70. package/dist/types/components/EmbeddedDropins/OnboardingDropinComponent/DropinComposer/types.d.ts +2 -16
  71. package/dist/types/components/Individual/forms/Individual/IdDocumentUpload/types.d.ts +1 -1
  72. package/dist/types/components/Individual/forms/Individual/PersonalDetails/types.d.ts +2 -1
  73. package/dist/types/components/Individual/forms/Individual/PersonalDetails/validate.d.ts +3 -2
  74. package/dist/types/components/Individual/forms/Individual/rules.d.ts +2 -1
  75. package/dist/types/components/Individual/forms/Individual/types.d.ts +2 -2
  76. package/dist/types/components/Individual/forms/IndividualOnfido/AdditionalPersonalDetails/AdditionalPersonalDetails.types.d.ts +2 -1
  77. package/dist/types/components/Individual/forms/IndividualOnfido/AdditionalPersonalDetails/validate.d.ts +3 -2
  78. package/dist/types/components/Individual/forms/IndividualOnfido/IndividualOnfido.rules.d.ts +2 -1
  79. package/dist/types/components/Individual/forms/IndividualOnfido/IndividualOnfido.types.d.ts +1 -1
  80. package/dist/types/components/Individual/tasks/IndividualDropin/IndividualDropin.d.ts +1 -1
  81. package/dist/types/components/Individual/tasks/IndividualOnfidoDropin/IndividualOnfidoDropin.d.ts +1 -1
  82. package/dist/types/components/Shared/FormNavigation/FormNavigation.d.ts +1 -1
  83. package/dist/types/components/Shared/Summary/Summary.d.ts +2 -1
  84. package/dist/types/components/Shared/fields/IdFieldTypeSelector/TaxIdNumberTypeSelector.d.ts +1 -1
  85. package/dist/types/components/Shared/fields/IdFieldTypeSelector/countryIdNumberTypes.d.ts +18 -9
  86. package/dist/types/components/Shared/fields/IdFieldTypeSelector/getDefaultTaxIdNumberType.d.ts +31 -0
  87. package/dist/types/components/Shared/fields/IdFieldTypeSelector/inferTaxIdNumberType.d.ts +1 -1
  88. package/dist/types/components/Shared/fields/NumberOfEmployees/types.d.ts +1 -1
  89. package/dist/types/components/Shared/fields/TaxInformationField/fieldConfig.d.ts +2 -2
  90. package/dist/types/components/Shared/fields/TaxInformationField/types.d.ts +1 -1
  91. package/dist/types/components/Shared/forms/Address/utils.d.ts +1 -1
  92. package/dist/types/components/Shared/forms/FinancialInformation/types.d.ts +1 -1
  93. package/dist/types/components/Shared/forms/FinancialInformation/validate.d.ts +1 -0
  94. package/dist/types/components/Trust/tasks/TrustDropin/TrustDropin.d.ts +1 -1
  95. package/dist/types/components/UnincorporatedPartnership/hooks/useUnincorporatedPartnershipNavigation.d.ts +1 -1
  96. package/dist/types/components/UnincorporatedPartnership/{UnincorporatedPartnershipMembers → tasks/UnincorporatedPartnershipMembers}/UnincorporatedPartnershipMembersOverview.d.ts +4 -4
  97. package/dist/types/components/UnincorporatedPartnership/{UnincorporatedPartnershipMembers → tasks/UnincorporatedPartnershipMembers}/types.d.ts +5 -5
  98. package/dist/types/components/UnincorporatedPartnership/{UnincorporatedPartnershipRoleAndType → tasks/UnincorporatedPartnershipRoleAndType}/UnincorporatedPartnershipRadioGroup.d.ts +1 -1
  99. package/dist/types/components/UnincorporatedPartnership/{UnincorporatedPartnershipRoleAndType → tasks/UnincorporatedPartnershipRoleAndType}/UnincorporatedPartnershipRoleAndType.d.ts +2 -2
  100. package/dist/types/components/UnincorporatedPartnership/utils/unincorporatedParnershipUtil.d.ts +2 -1
  101. package/dist/types/components/UnincorporatedPartnership/utils/unincorporatedPartnershipMembers.d.ts +1 -1
  102. package/dist/types/components/index.d.ts +1 -18
  103. package/dist/types/components/ui/molecules/Toast/Toast.d.ts +2 -2
  104. package/dist/types/components/ui/molecules/Toast/Toast.types.d.ts +8 -7
  105. package/dist/types/core/models/api/attachment.d.ts +4 -3
  106. package/dist/types/core/models/api/document.d.ts +4 -29
  107. package/dist/types/core/models/api/financialReport.d.ts +1 -1
  108. package/dist/types/core/models/api/get-scenarios.d.ts +2 -1
  109. package/dist/types/core/models/api/individual.d.ts +2 -0
  110. package/dist/types/core/models/errors/validation-error.d.ts +5 -7
  111. package/dist/types/core/models/form-rules.d.ts +2 -0
  112. package/dist/types/hooks/useComponentApi.d.ts +0 -9
  113. package/dist/types/stores/globalStore/determineTaskIdentifiers.d.ts +3 -1
  114. package/dist/types/stores/globalStore/globalStore.d.ts +3 -0
  115. package/dist/types/stores/globalStore/taskTypes.d.ts +0 -1
  116. package/dist/types/utils/api/documentUtils.d.ts +2 -2
  117. package/dist/types/utils/entityStatusUtil.d.ts +1 -1
  118. package/dist/types/utils/mapping/documentGuidanceMap.d.ts +1 -1
  119. package/dist/types/utils/roleMetadata.d.ts +1 -1
  120. package/dist/{yaml-BCEniKV8.js → yaml-DG6kdH_n.js} +2 -2
  121. package/package.json +3 -1
  122. package/dist/types/core/models/api/provider-status.d.ts +0 -12
  123. package/dist/types/core/services/componentApi/create-document.d.ts +0 -3
  124. package/dist/types/core/services/componentApi/create-transferInstrument.d.ts +0 -3
  125. package/dist/types/core/services/componentApi/delete-document.d.ts +0 -3
  126. package/dist/types/core/services/componentApi/get-accepted-service-agreement.d.ts +0 -3
  127. package/dist/types/core/services/componentApi/get-document.d.ts +0 -3
  128. package/dist/types/core/services/componentApi/get-provider-status.d.ts +0 -3
  129. package/dist/types/core/services/componentApi/get-service-agreement.d.ts +0 -3
  130. package/dist/types/core/services/componentApi/update-document.d.ts +0 -3
@@ -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] = "ce8927e9-9704-48f6-9d1b-0bab5157f202", e._sentryDebugIdIdentifier = "sentry-dbid-ce8927e9-9704-48f6-9d1b-0bab5157f202");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "7e55289e-0db6-4e23-9add-de3850789e81", e._sentryDebugIdIdentifier = "sentry-dbid-7e55289e-0db6-4e23-9add-de3850789e81");
6
6
  } catch (e) {
7
7
  }
8
8
  }
@@ -51,9 +51,9 @@ const svSE = {
51
51
  additionalInformationFormName: "Ytterligare detaljer",
52
52
  additionalPersonalDetails: "Ytterligare personliga detaljer",
53
53
  addManually: "Lägg till manuellt",
54
- addMember: "Lägg till medlem",
55
54
  addMissingBankDetails: "Vi saknar dina bankuppgifter för att kunna genomföra utbetalningar och vi ber dig att lägga till ditt bankkonto.",
56
55
  addOwnerToTrustMember: "Lägg till ägare av %{trustMember}",
56
+ addPartner: "Lägg till partner",
57
57
  addPayoutAccount: "Lägg till ett utbetalningskonto",
58
58
  address: "Adress",
59
59
  address__placeHolder: "Börja med att skriva in en adress för förslag...",
@@ -231,7 +231,9 @@ const svSE = {
231
231
  charter: "Charter",
232
232
  check: "Check",
233
233
  checkForTypos: "Kontrollera om det finns stavfel och försök igen",
234
+ chooseATaxReportingClassificationOption: "Välj ett alternativ för klassificering av skatteredovisning",
234
235
  chooseTheCorrectDetailsBeforeProceeding: "Välj rätt uppgifter innan du fortsätter.",
236
+ chooseTheTaxStatusWhichBestRepresentsYourBusiness: 'Välj den skattestatus som bäst representerar ditt företag. Vi samlar in denna information för att följa globala skattetransparenslagar, inklusive <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> och <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-lagstiftning</a>. ',
235
237
  chRegistrationNumber: "Unternehmens-Identifikationsnummer (UID)",
236
238
  city: "Stad",
237
239
  cityTown: "Stad",
@@ -287,6 +289,7 @@ const svSE = {
287
289
  continueIndividual: "Fortsätt som enskild person",
288
290
  contractSpecifyingDividends: "Avtal som specificerar utdelningar",
289
291
  contributionBelowThreshold: "Min stiftares materiella bidrag till stiftelsen var mindre än 10 000 AUD då stiftelsen bildades.",
292
+ controllerDescriptionAsPartner: "Har den här partnern mer kontroll över partnerskapet än andra? Till exempel genom extra rösträtter.",
290
293
  controllingPerson: "Styrande person",
291
294
  controllingPersonDescription: "Befogenhet att fatta större affärsbeslut (kan vara ägare, men behöver inte vara det)",
292
295
  controllingPersonGuideDescription: "En <strong>styrande person</strong> är en person som har befogenhet att fatta viktiga affärsbeslut. Det kan vara en ägare, men behöver inte vara det.",
@@ -741,6 +744,7 @@ const svSE = {
741
744
  errorMessage_3_10: "Granskning av data krävs",
742
745
  errorSubmittingData: "Fel vid inlämning av data",
743
746
  errorUpdatingSourceOfFunds: "Fel vid uppdatering av finansieringskälla",
747
+ errorUpdatingTaxClassification: "Fel vid uppdatering av skatteklassificering",
744
748
  estateAttorneysName: "Namn på dödsboets advokat",
745
749
  euVatNumber: "EU-momsregistreringsnummer",
746
750
  exemptedFromTax: "Undantaget från skatt",
@@ -772,6 +776,7 @@ const svSE = {
772
776
  fieldMustContainAtLeast: "%{fieldName} måste innehålla minst %{minLength} tecken",
773
777
  fileName: "Filnamn",
774
778
  financialInformation: "Finansiell information",
779
+ financialNonReportable: "Finansiell, ej rapporteringspliktig",
775
780
  financialProductFundingSources: "Finansieringskällor för finansiella produkter",
776
781
  financialReportingDate: "Datum för finansiell rapportering",
777
782
  findYourIncorporatedAssociationNumberInThePublicRegistryForYourState: "Hitta ditt registrerade föreningsnummer i det offentliga registret för din delstat.",
@@ -1114,12 +1119,16 @@ const svSE = {
1114
1119
  NIPC: "NIPC (Número de Identificação de Pessoa Colectiva)",
1115
1120
  no: "Nej",
1116
1121
  noCategoriesAvailable: "Inga kategorier tillgängliga.",
1122
+ noFurtherActionOrRecertificationIsNeeded: "Inga ytterligare åtgärder eller återcertifiering behövs om inte ditt företag ändrar hur det genererar intäkter. ",
1117
1123
  noGlare: "Ingen bländning",
1118
1124
  noGoBack: "Nej, gå tillbaka",
1119
1125
  noIdontKnow: "Nej, eller jag vet inte",
1120
1126
  noIssuesFound: "Inga problem hittades.",
1121
1127
  nominee: "Förvaltarregistrerad",
1122
1128
  noneOfTheAbove: "Inget av ovanstående",
1129
+ nonFinancialActive: "Icke-finansiell, aktiv",
1130
+ nonFinancialNonReportable: "Icke-finansiell, ej rapporteringspliktig",
1131
+ nonFinancialPassive: "Icke-finansiell, passiv",
1123
1132
  nonProfitOrCharitableOrgDescription: "Din organisation har officiell status som ideell organisation eller är skattebefriad.",
1124
1133
  nonProfitOrCharitableOrgTitle: "Ideell organisation eller välgörenhetsorganisation",
1125
1134
  noOptionsFound: "Inga alternativ hittades",
@@ -1172,16 +1181,19 @@ const svSE = {
1172
1181
  otherBusinessInformation: "Övrig affärsinformation",
1173
1182
  otherInformation: "Övriga upplysningar",
1174
1183
  otherLegalMeasures: "Ja, företaget står inför andra rättsliga åtgärder",
1184
+ otherOptions: "Andra alternativ",
1175
1185
  otherTrust: "Annan fond",
1176
1186
  ourFinancialServicesAreNotAvailableYetForPartnershipsAndAssociations: "Våra finansiella tjänster är ännu inte tillgängliga för partnerskap och föreningar",
1177
1187
  owner: "Ägare",
1178
1188
  ownerDescription: "Någon som äger 25 % eller mer av företaget (direkt eller indirekt)",
1189
+ ownerDescriptionAsPartner: "Äger den här personen 25 % eller mer av partnerskapet?",
1179
1190
  ownerGuideDescription: "En <strong>ägare</strong> är en person som äger 25 % eller mer av företaget genom rösträtt, aktiekapital eller liknande.",
1180
1191
  ownershipStructure: "Ägarstruktur",
1181
1192
  parent: "överordnad",
1182
1193
  parentCompany: "Moderbolag",
1183
1194
  parentCompanyInformation: "Information om moderbolaget",
1184
1195
  partitaIVA: "Partita IVA",
1196
+ partnerRoleDescription: "Berätta mer om den här partnerns roll i partnerskapet.",
1185
1197
  partnership: "Partnerskap",
1186
1198
  partnershipAgreement: "Partnerskapsavtal",
1187
1199
  partnerShipAgreement: "Partnerskapsavtal",
@@ -1246,6 +1258,7 @@ const svSE = {
1246
1258
  poweredBy: "Drivs av",
1247
1259
  previous: "Föregående",
1248
1260
  previousEmployersName: "Föregående arbetsgivares namn",
1261
+ primaryPartner: "Huvudpartner",
1249
1262
  principalAmount: "Kapitalbelopp",
1250
1263
  principalPlaceOfBusiness: "Huvudkontor för verksamheten",
1251
1264
  principalPlaceOfBusinessDescription: "Den fysiska plats där ett företags nyckelpersoner övervakar och hanterar sin verksamhet. Detta är vanligtvis huvudkontoret.",
@@ -1303,6 +1316,7 @@ const svSE = {
1303
1316
  reasonForFillingIndividualPersonalDetails: "Vi måste se till att alla som använder våra tjänster är de som de utger sig för att vara. Vi kommer därför att kontrollera all denna information mot officiella register. Detta är en del av de finansiella bestämmelser som vi måste följa i egenskap av betalningsleverantör.",
1304
1317
  reasonForFillingPayoutDetails: "Detta bankkonto kommer att verifieras för att förhindra bedrägeri eller annat missbruk av medel i enlighet med globala regler.",
1305
1318
  recentInvoices: "Senaste fakturorna",
1319
+ recommendedForYourBusiness: "Rekommenderas för ditt företag",
1306
1320
  region: "Region",
1307
1321
  registeredAddress: "Registrerad adress",
1308
1322
  registeredAddressHeaderDescription: "Adressen som den ser ut på ditt företags officiella registreringshandlingar.",
@@ -1471,6 +1485,7 @@ const svSE = {
1471
1485
  selectState: "Välj en region",
1472
1486
  selectTheApplicableRoles: "Välj den eller de tillämpliga rollerna",
1473
1487
  selectTheBankToReceivePayouts: "På den här sidan kan du välja den bank där du vill ta emot utbetalningar.",
1488
+ selfCertifiedTaxStatus: "Självdeklarerad skatteklassificering",
1474
1489
  serviceAgreements: "Tjänsteavtal",
1475
1490
  serviceAgreementSignedAndDated: "Tjänsteavtalet undertecknat och daterat",
1476
1491
  serviceAgreementSignedSuccessfully: "Tjänsteavtalet har undertecknats",
@@ -1581,6 +1596,9 @@ const svSE = {
1581
1596
  swiftCode: "Swift-kod",
1582
1597
  takeOrUploadAPhoto: "Ta eller ladda upp ett foto av ett ID-dokument för snabb och säker identitetsverifiering av vår betrodda partner,",
1583
1598
  task: "Uppgift",
1599
+ taskComplete: "Uppgiften är klar",
1600
+ taskHasErrors: "Uppgiften innehåller fel",
1601
+ taskInProgress: "Uppgift pågår",
1584
1602
  taxationDocument: "Beskattningsdokument",
1585
1603
  taxDeclaration: "Skattedeklaration",
1586
1604
  taxDeclarationProperty: "Skattedeklaration",
@@ -1607,6 +1625,9 @@ const svSE = {
1607
1625
  taxpayerReferenceNumber: "Skattebetalarens referensnummer",
1608
1626
  taxReferenceNumber: "Skattereferensnummer",
1609
1627
  taxReporting: "Skatterapportering",
1628
+ taxReportingClassification: "Klassificering av skatterapportering",
1629
+ taxStatus: "Skattestatus",
1630
+ taxStatusSelfCertification: "Självdeklaration av skattestatus",
1610
1631
  tellUsMoreAboutTheCryptocurrency: "Berätta mer om de kryptovalutaintäkter som kommer att användas med våra finansiella produkter.",
1611
1632
  tellUsMoreAboutTheGamblingProceeds: "Berätta mer om spelvinsterna som kommer att användas med våra finansiella produkter.",
1612
1633
  tellUsMoreAboutTheGiftOrDonationProceeds: "Berätta mer om de intäkter från gåvor eller donationer som kommer att användas med våra finansiella produkter.",
@@ -1646,6 +1667,7 @@ const svSE = {
1646
1667
  totalAssets: "Totala tillgångar",
1647
1668
  totalAssetsHelper: "Summan av totala skulder och totalt eget kapital.",
1648
1669
  totalSettlementAmount: "Totalt utbetalningsbelopp",
1670
+ toUnderstandIfYourBankAccountDetailsAreReportable: "För att förstå om dina bankkontouppgifter är rapporteringspliktiga till globala skattemyndigheter behöver vi veta hur ditt företag genererar intäkter.",
1649
1671
  tradingName: "Handelsnamn",
1650
1672
  transactionStatement: "Transaktionsutdrag",
1651
1673
  transferInstrumentDeleted: "Överföringsinstrument raderat",
@@ -1763,6 +1785,7 @@ const svSE = {
1763
1785
  whatFinancialProductIsThisFor: "Vilken finansiell produkt är det här till för?",
1764
1786
  whatIsTheDifferenceBetweenTheseRoles: "Vad är skillnaden mellan dessa roller?",
1765
1787
  whatTypeOfCompanyDoYouHave: "Vilken typ av företag har du?",
1788
+ whatTypeOfEntityIsPartner: "Vilken typ av enhet är den här partnern?",
1766
1789
  whatTypeOfOPartnershipAreYou: "Vilken typ av oregistrerat partnerskap är du?",
1767
1790
  whatTypeOfTrusteeAreYou: "Vilken typ av förvaltare är du?",
1768
1791
  whatTypeOfYourMembersEntity: "Vilken typ av enhet är din medlem?",
@@ -1805,9 +1828,13 @@ const svSE = {
1805
1828
  yourAssociationIsRegisteredItWasSetUpForNonCommercialPurpose: "Din förening är registrerad. Det inrättades för rekreationsändamål, kulturella eller ideella ändamål.",
1806
1829
  yourBankWillConfirmYourAccountDetails: "Din bank kommer att bekräfta dina kontouppgifter för oss.",
1807
1830
  yourBusiness: "Ditt företag",
1831
+ yourBusinessGeneratesMoreThanHalfOfItsRevenueAsPassiveIncome: "Ditt företag genererar mer än 50 % av sina intäkter som passiv inkomst från källor som investeringsränta, utdelningar, royalties eller hyror.",
1808
1832
  yourBusinessInformation: "Din företagsinformation",
1833
+ yourBusinessIsAFinancialInstitution: "Ditt företag är en finansiell institution.",
1834
+ yourBusinessIsAPublicListedEntity: "Ditt företag är en börsnoterad enhet, ett dotterbolag till en börsnoterad enhet, en statlig enhet eller en internationell organisation.",
1809
1835
  yourBusinessIsRegisteredAsASeparateLegalEntityFromItsOwners: "Ditt företag är registrerat som en egen juridisk enhet, skilt från dess ägare.",
1810
1836
  yourBusinessName: "Ditt företagsnamn",
1837
+ yourBusinessReceivesTheMajorityOfItsIncomeThroughActiveIncome: "Ditt företag får majoriteten av sina intäkter genom aktiva inkomster, såsom operativ verksamhet från företaget eller fastighetsförsäljningar.",
1811
1838
  yourBusinesssDetailsArePreFilledInTheRelevantSections: "Dina företagsuppgifter är förifyllda i de relevanta avsnitten.",
1812
1839
  yourBusinessSetup: "Ditt affärsupplägg: %{businessSetup}",
1813
1840
  yourDetailsArePreFilledInTheRelevantSections: "Dina uppgifter är förifyllda i de relevanta avsnitten.",
@@ -0,0 +1,5 @@
1
+ import { type MutationOptions } from '@tanstack/react-query';
2
+ import type { Document, ExistingDocument } from '../../core/models/api/document';
3
+ import type { ComponentApiRequestContext } from '../../core/services/types';
4
+ export declare const createDocument: (context: ComponentApiRequestContext, document: Document, ownerId: string) => Promise<ExistingDocument>;
5
+ export declare const useCreateDocument: (options?: Omit<MutationOptions<ExistingDocument, Error, Document>, "mutationFn">) => import("@tanstack/react-query").UseMutationResult<ExistingDocument, Error, Document, unknown>;
@@ -0,0 +1,5 @@
1
+ import { type MutationOptions } from '@tanstack/react-query';
2
+ import type { ComponentApiRequestContext } from '../../core/services/types';
3
+ import type { ExistingDocument } from '../../core/models/api/document';
4
+ export declare const deleteDocument: (context: ComponentApiRequestContext, documentId: string) => Promise<ExistingDocument>;
5
+ export declare const useDeleteDocument: (options?: Omit<MutationOptions<ExistingDocument, Error, string>, "mutationFn">) => import("@tanstack/react-query").UseMutationResult<ExistingDocument, Error, string, unknown>;
@@ -0,0 +1,5 @@
1
+ import type { QueryOptions } from '@tanstack/react-query';
2
+ import type { ExistingDocument } from '../../core/models/api/document';
3
+ import type { ComponentApiRequestContext } from '../../core/services/types';
4
+ export declare const getDocument: (context: ComponentApiRequestContext, documentId: string) => Promise<ExistingDocument>;
5
+ export declare const useGetDocument: (documentId: string, options?: QueryOptions<ExistingDocument>) => import("@tanstack/react-query").UseQueryResult<ExistingDocument, Error>;
@@ -0,0 +1,11 @@
1
+ import type { MutationOptions } from '@tanstack/react-query';
2
+ import type { Document, ExistingDocument } from '../../core/models/api/document';
3
+ import type { ComponentApiRequestContext } from '../../core/services/types';
4
+ export declare const updateDocument: (context: ComponentApiRequestContext, document: Document, documentId: string, ownerId: string) => Promise<ExistingDocument>;
5
+ type Payload = {
6
+ document: Document;
7
+ documentId: string;
8
+ ownerId: string;
9
+ };
10
+ export declare const useUpdateDocument: (options?: Omit<MutationOptions<ExistingDocument, Error, Payload>, "mutationFn">) => import("@tanstack/react-query").UseMutationResult<ExistingDocument, Error, Payload, unknown>;
11
+ export {};
@@ -9,9 +9,9 @@ interface OverridenRequest {
9
9
  idNumber: string;
10
10
  }
11
11
  interface OverridenResponse {
12
- status: number;
13
- verified: string;
14
- errorCode: string;
12
+ status?: number;
13
+ verified?: string;
14
+ errorCode?: string;
15
15
  }
16
16
  export type VerifyIdNumber = (d: OverridenRequest) => Promise<OverridenResponse>;
17
17
  export declare const useVerifyIdNumber: (options?: QueryOptions<OverridenResponse>) => import("@tanstack/react-query").UseMutationResult<OverridenResponse, Error, OverridenRequest, unknown>;
@@ -1,12 +1,11 @@
1
1
  import type { ExistingLegalEntity } from '../../core/models/api/legal-entity';
2
2
  import type { QueryOptions } from '../types';
3
+ export declare const getLegalEntity: (rootLegalEntityId: string, url: string, legalEntityId?: string) => Promise<ExistingLegalEntity>;
3
4
  /**
4
- *
5
- * @param id legalEntityId
6
- * @param options additional options passed to Tanstack Query, eg; refetchInterval for polling
5
+ * Without id, this returns the root legal entity
6
+ * With id it will return a child of the root (unless root is passed in)
7
7
  */
8
- export declare const getLegalEntity: (legalEntityId: string, url: string) => Promise<ExistingLegalEntity>;
9
- export declare const useLegalEntity: (options?: QueryOptions<ExistingLegalEntity>) => import("@tanstack/react-query").UseQueryResult<{
8
+ export declare const useLegalEntity: (id?: string, options?: QueryOptions<ExistingLegalEntity>) => import("@tanstack/react-query").UseQueryResult<{
10
9
  documentDetails?: import("../../core/models/api/documentDetail").DocumentDetail[];
11
10
  entityAssociations?: import("../../core/models/api/legal-entity-association").LegalEntityAssociation[];
12
11
  individual?: import("../../core/models/api/individual").Individual;
@@ -0,0 +1,14 @@
1
+ import type { QueryOptions } from '../types';
2
+ import type { components } from './providersConfiguration.contract';
3
+ export type SuccessResponse = components['schemas']['ProvidersStatusesResponse'];
4
+ type Request = components['schemas']['ProvidersStatusesRequest'];
5
+ /**
6
+ * To check if 3rd parties like Onfido or Plaid are up and running the backend
7
+ * will do a check for them, and inform us in this endpoint.
8
+ */
9
+ export declare const useProviderStatus: (data: Request, options?: QueryOptions<SuccessResponse>) => import("@tanstack/react-query").UseQueryResult<{
10
+ statuses?: {
11
+ [key: string]: components["schemas"]["ProviderStatusResponse"];
12
+ };
13
+ }, Error>;
14
+ export {};
@@ -2,8 +2,8 @@ import type { TermsOfServiceDocumentFormat } from '../../core/models/api/contrac
2
2
  import type { QueryOptions } from '../types';
3
3
  import type { components } from './termsOfService.contract';
4
4
  type SuccessResponse = components['schemas']['GetAcceptedTermsOfServiceDocumentResponse'];
5
- export declare const getAcceptedTermsOfService: (legalEntityId: string, url: string, termsOfServiceAcceptanceReference: string, documentFormat: TermsOfServiceDocumentFormat) => Promise<SuccessResponse>;
6
- export declare const useAcceptedTermsOfService: (termsOfServiceAcceptanceReference: string | undefined, documentFormat: TermsOfServiceDocumentFormat, options?: QueryOptions<SuccessResponse>) => import("@tanstack/react-query").UseQueryResult<{
5
+ export declare const getAcceptedTermsOfService: (legalEntityId: string, url: string, termsOfServiceAcceptanceReference: string, documentFormat: TermsOfServiceDocumentFormat | undefined) => Promise<SuccessResponse>;
6
+ export declare const useAcceptedTermsOfService: (termsOfServiceAcceptanceReference: string | undefined, documentFormat?: TermsOfServiceDocumentFormat, options?: QueryOptions<SuccessResponse>) => import("@tanstack/react-query").UseQueryResult<{
7
7
  document?: string;
8
8
  id?: string;
9
9
  termsOfServiceAcceptanceReference?: string;
@@ -2,6 +2,7 @@ import type { QueryOptions } from '../types';
2
2
  import type { components } from './termsOfService.contract';
3
3
  type Request = components['schemas']['TermsOfServiceDocumentRequest'];
4
4
  type SuccessResponse = components['schemas']['TermsOfServiceDocumentResponse'];
5
+ export declare const getTermsOfService: (legalEntityId: string, url: string, data: Request) => Promise<SuccessResponse>;
5
6
  export declare const useTermsOfService: (data: Request, options?: QueryOptions<SuccessResponse>) => import("@tanstack/react-query").UseQueryResult<{
6
7
  document?: string;
7
8
  id?: string;
@@ -0,0 +1,2 @@
1
+ import type { ExistingTransferInstrument, TransferInstrument } from '../../core/models/api/transfer-instrument';
2
+ export declare const createTransferInstrument: (rootLegalEntityId: string, url: string, transferInstrument: TransferInstrument) => Promise<ExistingTransferInstrument>;
@@ -1,2 +1,6 @@
1
1
  import type { MutationOptions } from '../types';
2
+ /**
3
+ * Deletes a transfer instrument associated with a legal entity
4
+ * @param options additional options passed to Tanstack Query, eg; onSuccess
5
+ */
2
6
  export declare const useDeleteTransferInstrument: (options?: MutationOptions<null, unknown, string>) => import("@tanstack/react-query").UseMutationResult<null, unknown, string, unknown>;
@@ -0,0 +1,12 @@
1
+ import type { QueryOptions } from '../types';
2
+ import type { components } from './transferInstruments.contract';
3
+ type ExistingTransferInstrument = components['schemas']['TransferInstrumentDto'] & {
4
+ id: string;
5
+ };
6
+ /**
7
+ * Gets a single transfer instrument associated with a legal entity
8
+ * @param transferInstrumentId ID of transfer instrument
9
+ * @param options additional options passed to Tanstack Query, eg; refetchInterval for polling
10
+ */
11
+ export declare const useGetTransferInstrument: (transferInstrumentId: string, options?: QueryOptions<ExistingTransferInstrument>) => import("@tanstack/react-query").UseQueryResult<ExistingTransferInstrument, Error>;
12
+ export {};
@@ -8,4 +8,8 @@ export type TransferInstrumentReferenceWithStatusId = Omit<TransferInstrumentRef
8
8
  id: string;
9
9
  };
10
10
  };
11
- export declare const useTransferInstruments: (options?: QueryOptions<GetTransferInstrumentResponse>) => import("@tanstack/react-query").UseQueryResult<GetTransferInstrumentResponse, Error>;
11
+ /**
12
+ * Gets a list of transfer instruments associated with a legal entity
13
+ * @param options additional options passed to Tanstack Query, eg; refetchInterval for polling
14
+ */
15
+ export declare const useGetTransferInstruments: (options?: QueryOptions<GetTransferInstrumentResponse>) => import("@tanstack/react-query").UseQueryResult<GetTransferInstrumentResponse, Error>;
@@ -42,7 +42,7 @@ export interface PayoutDetailsProps extends BaseOuterFormProps<PayoutDetailsSche
42
42
  country: CountryCode;
43
43
  handleNextClick(): void;
44
44
  }
45
- type PayoutDropinApiHandlers = Required<Pick<DropinAPIHandlers, 'handleCreateDocument' | 'handleGetDocument' | 'handleUpdateDocument' | 'handleUpdateTransferInstrument' | 'handleCreateTransferInstrument'>> & Pick<DropinAPIHandlers, 'handleCreateTrustedTransferInstrument'>;
45
+ type PayoutDropinApiHandlers = Required<Pick<DropinAPIHandlers, 'handleUpdateTransferInstrument'>> & Pick<DropinAPIHandlers, 'handleCreateTrustedTransferInstrument'>;
46
46
  export interface PayoutDetailsDropinProps extends Omit<PayoutDetailsProps, 'country' | 'accountHolder' | 'handleNextClick' | 'bankVendorsLoadingStatus' | 'instantVerificationAvailable'>, Omit<DropinProps, 'legalEntityResponse'>, PayoutDropinApiHandlers {
47
47
  handleGetBankVerificationVendors?: DropinAPIHandlers['handleGetBankVerificationVendors'];
48
48
  accountHolder?: string;
@@ -1,2 +1,2 @@
1
1
  import type { PayoutDetailsDropinProps } from '../../forms/PayoutDetails/types';
2
- export declare function PayoutDetailsDropin({ transferInstrument, handleCreateDocument, handleGetDocument, handleUpdateDocument, handleUpdateTransferInstrument, handleCreateTransferInstrument, handleGetBankVerificationVendors, legalEntityResponse, associatedLegalArrangement, accountHolder, problems: propProblems, onSubmit: externalOnSubmit, onChange, asModal, handleCloseClick, taskType: propTaskType, taskName, capabilities, handleHomeClick, refreshTransferInstrument, setCurrentTransferInstrumentId, navigateBackToTaskList, handleCreateTrustedTransferInstrument, handleBankVerificationError, handleBackClick: externalBackClick, hideSidebar, }: PayoutDetailsDropinProps): import("preact/jsx-runtime").JSX.Element;
2
+ export declare function PayoutDetailsDropin({ transferInstrument, handleUpdateTransferInstrument, handleGetBankVerificationVendors, legalEntityResponse, associatedLegalArrangement, accountHolder, problems: propProblems, onSubmit: externalOnSubmit, onChange, asModal, handleCloseClick, taskType: propTaskType, taskName, capabilities, handleHomeClick, refreshTransferInstrument, setCurrentTransferInstrumentId, navigateBackToTaskList, handleCreateTrustedTransferInstrument, handleBankVerificationError, handleBackClick: externalBackClick, hideSidebar, }: PayoutDetailsDropinProps): import("preact/jsx-runtime").JSX.Element;
@@ -11,6 +11,7 @@ export declare const COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT: readonly CountryC
11
11
  */
12
12
  export declare const COUNTRIES_USING_COMPANY_SEARCH: readonly CountryCode[];
13
13
  export declare const COUNTRY_OF_GOVERNING_LAW_POSSIBLE: readonly CountryCode[];
14
+ export declare const COUNTRIES_REQUIRING_FINANCIAL_INFORMATION: readonly CountryCode[];
14
15
  export declare const COUNTRIES_WITH_POSSIBLE_TRUSTEE_TAXID_ABSENT_V4: readonly CountryCode[];
15
16
  export declare const rules: ({ data, country, taskType, isExperimentEnabled, accountHolder, rootLegalEntity, tinMatched, }: FormRulesParams<BusinessDetailsSchema>) => {
16
17
  countryRequiresStateOrProvince: () => "REQUIRED";
@@ -2,4 +2,4 @@ import { type BusinessDetailsDropinProps } from './types';
2
2
  export declare function BusinessDetailsDropin({ country, problems, legalEntityResponse, associatedLegalArrangement, // initially undefined when creating entity
3
3
  nestedLegalEntity, // initially undefined when creating entity
4
4
  nestedLegalEntityDetails, // has entity roles for association logic
5
- capabilities, taskName, hideSidebar, taskType, onChange, onSubmit: onExternalSubmit, handleHomeClick, handleCreateDocument, handleCreateLegalEntity, handleGetDocument, handleUpdateDocument, handleAddressSearch, handleFindAddress, handleUpdateLegalEntity, handleCompanyIndexSearch, handleCompanyDeepSearch, handleCompanyRegistrationNumberIndexSearch, handleCompanyRegistrationNumberDeepSearch, handleGetCompanyDataset, handleRefreshCompanyDataset, handleVerifyTin, }: BusinessDetailsDropinProps): import("preact/jsx-runtime").JSX.Element;
5
+ capabilities, taskName, hideSidebar, taskType, onChange, onSubmit: onExternalSubmit, handleHomeClick, handleCreateLegalEntity, handleAddressSearch, handleFindAddress, handleUpdateLegalEntity, handleCompanyIndexSearch, handleCompanyDeepSearch, handleCompanyRegistrationNumberIndexSearch, handleCompanyRegistrationNumberDeepSearch, handleGetCompanyDataset, handleRefreshCompanyDataset, handleVerifyTin, }: BusinessDetailsDropinProps): import("preact/jsx-runtime").JSX.Element;
@@ -12,9 +12,9 @@ import type { TaskTypes } from '../../../../stores/globalStore/taskTypes';
12
12
  import type { DocumentApiUtils } from '../../../../utils/api/documentUtils';
13
13
  import type { DropinAPIHandlers, DropinProps } from '../../../EmbeddedDropins/OnboardingDropinComponent/DropinComposer/types';
14
14
  import type { TrustMember } from '../../../Trust/tasks/TrustMembers/types';
15
- import type { UnincorporatedPartnershipMember } from '../../../UnincorporatedPartnership/UnincorporatedPartnershipMembers/types';
15
+ import type { UnincorporatedPartnershipMember } from '../../../UnincorporatedPartnership/tasks/UnincorporatedPartnershipMembers/types';
16
16
  import type { BusinessDetailsProps, BusinessDetailsSchema } from '../../forms/BusinessDetails/types';
17
- type BusinessDetailsDropinApihandler = Required<Pick<DropinAPIHandlers, 'handleCreateDocument' | 'handleGetDocument' | 'handleUpdateDocument' | 'handleUpdateLegalEntity' | 'handleCreateLegalEntity'>> & {
17
+ type BusinessDetailsDropinApihandler = Required<Pick<DropinAPIHandlers, 'handleUpdateLegalEntity' | 'handleCreateLegalEntity'>> & {
18
18
  handleCompanyIndexSearch?: DropinAPIHandlers['handleCompanyIndexSearch'];
19
19
  handleCompanyDeepSearch?: DropinAPIHandlers['handleCompanyDeepSearch'];
20
20
  handleCompanyRegistrationNumberIndexSearch?: DropinAPIHandlers['handleCompanyRegistrationNumberIndexSearch'];
@@ -3,8 +3,11 @@ import type { Organization } from '../../../core/models/api/organization';
3
3
  import type { SoleProprietor } from '../../../core/models/api/sole-proprietor';
4
4
  import type { Trust } from '../../../core/models/api/trust';
5
5
  import type { CountryCode } from '../../../core/models/country-code';
6
+ import type { Capability, CapabilityName } from '../../../core/models/api/capability';
7
+ import { LegalEntityType } from '../../../core/models/api/legal-entity-type';
6
8
  import type { TaxIdNumberType } from '../../Shared/fields/IdFieldTypeSelector/countryIdNumberTypes';
7
9
  import type { CompanyNameAndCountrySchema } from '../../Shared/forms/CompanyNameAndCountry/types';
10
+ import { TaskTypes } from '../../../stores/globalStore/taskTypes';
8
11
  export declare const countryToTaxInfoTypeMap: Record<string, TaxIdNumberType>;
9
12
  export declare const updateTaxInformation: <T extends Organization | SoleProprietor | Trust>({ taxId, country, exemptedFromTax, isUen, entity, }: {
10
13
  taxId: string;
@@ -15,3 +18,4 @@ export declare const updateTaxInformation: <T extends Organization | SoleProprie
15
18
  }, isNumberAbsentEnabled?: boolean) => T;
16
19
  export declare const getUpdatedCountryOfGoverningLaw: (nameAndCountry: CompanyNameAndCountrySchema) => CompanyNameAndCountrySchema;
17
20
  export declare const transformCountryOfGoverningLawToLegalEntity: (nameAndCountry: CompanyNameAndCountrySchema, organization: Organization | LegalArrangement) => Organization | LegalArrangement;
21
+ export declare const isFinancialInformationRequired: (isFinancialInformationExperimentEnabled: boolean, taskType: TaskTypes, country: CountryCode, capabilities: Partial<Record<CapabilityName, Capability>> | undefined, legalEntityType: LegalEntityType | undefined) => "REQUIRED" | undefined;
@@ -1,3 +1,3 @@
1
1
  import './ServiceAgreementDropin.scss';
2
2
  import type { ServiceAgreementDropinProps } from './types';
3
- export declare function ServiceAgreementDropin({ legalEntityResponse, handleDownloadAcceptedTermsOfServiceDocument, handleDownloadUnacceptedTermsOfServiceDocument, handleHomeClick, handleAddSigner, handleSign, serviceAgreementTypes, serviceAgreementAcceptanceInfos, asEmbedded, asModal, handleCloseClick, }: ServiceAgreementDropinProps): import("preact/jsx-runtime").JSX.Element;
3
+ export declare function ServiceAgreementDropin({ legalEntityResponse, handleHomeClick, handleAddSigner, handleSign, serviceAgreementTypes, serviceAgreementAcceptanceInfos, asEmbedded, asModal, handleCloseClick, }: ServiceAgreementDropinProps): import("preact/jsx-runtime").JSX.Element;
@@ -1,7 +1,7 @@
1
1
  import type { ServiceAgreementSignRequest } from '../../../../core/models/api/contracts';
2
2
  import type { ExistingLegalEntity } from '../../../../core/models/api/legal-entity';
3
3
  import type { TaskTypes } from '../../../Shared/tasks/TaskList/types';
4
- import type { DropinAPIHandlers, DropinProps } from '../../../EmbeddedDropins/OnboardingDropinComponent/DropinComposer/types';
4
+ import type { DropinProps } from '../../../EmbeddedDropins/OnboardingDropinComponent/DropinComposer/types';
5
5
  export type ServiceAgreementType = 'adyenForPlatformsManage' | 'adyenIssuing' | 'adyenForPlatformsAdvanced' | 'adyenCapital' | 'adyenAccount' | 'adyenCard' | 'adyenFranchisee' | 'adyenPccr' | 'adyenChargeCard';
6
6
  export interface ServiceAgreementAcceptanceInfo {
7
7
  acceptedBy: string;
@@ -21,8 +21,6 @@ export interface ServiceAgreementDropinProps extends DropinProps {
21
21
  serviceAgreementAcceptanceInfos: ServiceAgreementAcceptanceInfo[];
22
22
  handleHomeClick(): void;
23
23
  handleAddSigner(): void;
24
- handleDownloadAcceptedTermsOfServiceDocument: DropinAPIHandlers['handleDownloadAcceptedTermsOfServiceDocument'];
25
- handleDownloadUnacceptedTermsOfServiceDocument: DropinAPIHandlers['handleDownloadUnacceptedTermsOfServiceDocument'];
26
24
  handleSign(legalEntityId: string, termsOfServiceDocumentId: string, signedBy: ServiceAgreementSignRequest): void;
27
25
  asEmbedded?: boolean;
28
26
  asModal?: boolean;
@@ -1,2 +1,2 @@
1
1
  import type { SourceOfFundsDropinProps } from './types';
2
- export declare function SourceOfFundsDropin({ legalEntityResponse, country, problems, handleHomeClick, handleCreateDocument, handleDeleteDocument, handleUpdateDocument, handleGetDocument, handleGetLegalEntity, handleCreateLegalEntity, }: SourceOfFundsDropinProps): import("preact/jsx-runtime").JSX.Element;
2
+ export declare function SourceOfFundsDropin({ country, problems, handleHomeClick, }: SourceOfFundsDropinProps): import("preact/jsx-runtime").JSX.Element;
@@ -6,6 +6,5 @@ export interface SourceOfFundsUploadProps {
6
6
  documentUtils: DocumentApiUtils;
7
7
  legalEntity: ExistingLegalEntity;
8
8
  handleNavigateToSummary: () => void;
9
- reFetchLegalEntity: () => Promise<void>;
10
9
  }
11
- export declare const SourceOfFundsUpload: ({ businessLines, documentUtils, legalEntity, handleNavigateToSummary, reFetchLegalEntity, }: SourceOfFundsUploadProps) => import("preact/jsx-runtime").JSX.Element;
10
+ export declare const SourceOfFundsUpload: ({ businessLines, documentUtils, legalEntity, handleNavigateToSummary, }: SourceOfFundsUploadProps) => import("preact/jsx-runtime").JSX.Element;
@@ -1,7 +1,6 @@
1
1
  import type { CapabilityName } from '../../../../core/models/api/capability';
2
2
  import type { DataSet } from '../../../../core/models/api/data-set';
3
3
  import type { Individual } from '../../../../core/models/api/individual';
4
- import type { ExistingLegalEntity } from '../../../../core/models/api/legal-entity';
5
4
  import type { LegalEntityType } from '../../../../core/models/api/legal-entity-type';
6
5
  import type { Organization } from '../../../../core/models/api/organization';
7
6
  import type { BusinessLinesType, SourceOfFundsAmount, SourceOfFundsCategoryType, SourceOfFundsFinancierType } from '../../../../core/models/api/source-of-funds';
@@ -12,7 +11,7 @@ import type { BaseInnerFormProps, BaseOuterFormProps } from '../../../../hooks/u
12
11
  import type { TaskTypes } from '../../../../stores/globalStore/taskTypes';
13
12
  import type { FormUtils } from '../../../../utils/formUtils';
14
13
  import type { ValidationRuleResult, ValidatorMode } from '../../../../utils/validation/types';
15
- import type { DropinAPIHandlers, DropinProps } from '../../../EmbeddedDropins/OnboardingDropinComponent/DropinComposer/types';
14
+ import type { DropinProps } from '../../../EmbeddedDropins/OnboardingDropinComponent/DropinComposer/types';
16
15
  export interface SourceOfFundsProps extends BaseOuterFormProps<SourceOfFundsSchema> {
17
16
  activeForm?: FormModel;
18
17
  sourceOfFundsType?: SourceOfFundsCategoryType | undefined;
@@ -25,13 +24,11 @@ export interface SourceOfFundsProps extends BaseOuterFormProps<SourceOfFundsSche
25
24
  onNext?(e: any, callbacks: any, isValid: any): void;
26
25
  onBack?(): void;
27
26
  }
28
- type SourceOfFundsDropinApiHandlers = Pick<Required<DropinAPIHandlers>, 'handleCreateDocument' | 'handleDeleteDocument' | 'handleGetDocument' | 'handleUpdateDocument' | 'handleGetLegalEntity' | 'handleCreateLegalEntity'>;
29
27
  export interface SourceOfFundsSchema {
30
28
  sourceOfFundsType?: SourceOfFundsTypeSchema;
31
29
  additionalData?: SourceOfFundsAdditionalDataSchema;
32
30
  }
33
- export interface SourceOfFundsDropinProps extends Omit<SourceOfFundsProps, 'legalEntityId'>, DropinProps, SourceOfFundsDropinApiHandlers {
34
- legalEntityResponse: ExistingLegalEntity;
31
+ export interface SourceOfFundsDropinProps extends Omit<SourceOfFundsProps, 'legalEntityId'>, DropinProps {
35
32
  capabilities?: CapabilityName[];
36
33
  onSubmit?(dataSubmitted: SourceOfFundsSchema): void;
37
34
  }
@@ -81,4 +78,3 @@ export interface SOFOriginatorPayload {
81
78
  individual?: Individual;
82
79
  organization?: Organization;
83
80
  }
84
- export {};
@@ -1,20 +1,15 @@
1
1
  import type { TaxClassificationSuccessResponse } from '../../../../api/taxClassification/useTaxClassification';
2
- import type { CountryCode } from '../../../../core/models/country-code';
3
2
  import type { EntityProblems } from '../../../../core/models/errors/entity-problems';
4
3
  import type { FormModel } from '../../../../core/models/form';
5
4
  import type { BaseInnerFormProps, BaseOuterFormProps } from '../../../../hooks/useForm/types';
6
5
  import type { TaxReportingClassification, TaxReportingClassificationType } from '../../../../core/models/api/tax-reporting-classification';
7
- import type { TaskTypes } from '../../../../stores/globalStore/taskTypes';
8
6
  import type { DropinProps } from '../../../EmbeddedDropins/OnboardingDropinComponent/DropinComposer/types';
9
- export interface TaxReportingProps extends BaseOuterFormProps<TaxReportingClassification> {
7
+ export interface TaxReportingProps {
10
8
  activeForm?: FormModel;
11
- forms?: FormModel[];
12
9
  problems?: EntityProblems;
13
10
  legalEntityId?: string;
14
- taskType?: TaskTypes;
15
- country?: CountryCode;
16
11
  }
17
- export interface TaxReportingDropinProps extends Omit<TaxReportingProps, 'legalEntityId' | 'legalEntityResponse' | 'handleGetLegalEntity' | 'handleUpdateLegalEntity'>, DropinProps {
12
+ export interface TaxReportingDropinProps extends Omit<TaxReportingProps, 'legalEntityId'>, DropinProps {
18
13
  onSubmit?(dataSubmitted: TaxReportingClassification): void;
19
14
  }
20
15
  export interface TaxReportingPageProps extends BaseOuterFormProps<TaxReportingSchema> {
@@ -1,16 +1,9 @@
1
- import type { RequireAtLeastOne } from 'type-fest';
2
- import type { TaskTypes } from '../../Shared/tasks/TaskList/types';
3
1
  import type { IndividualSchema } from '../../Individual/forms/Individual/types';
4
- interface CreateIndividualComponentPropsBase {
5
- taskType?: TaskTypes;
2
+ export interface CreateIndividualComponentProps {
3
+ legalEntityId: string;
6
4
  onSubmitSuccess?(data: IndividualSchema): void;
7
5
  modalView?: boolean;
8
6
  onClose?(): void;
9
7
  onUnmount?(): void;
10
8
  }
11
- export type CreateIndividualComponentProps = CreateIndividualComponentPropsBase & RequireAtLeastOne<{
12
- parentLegalEntityId: string;
13
- legalEntityId: string;
14
- }, 'parentLegalEntityId' | 'legalEntityId'>;
15
- export declare function CreateIndividualComponent({ parentLegalEntityId, legalEntityId, taskType, onSubmitSuccess, modalView, onClose, onUnmount, }: CreateIndividualComponentProps): import("preact/jsx-runtime").JSX.Element;
16
- export {};
9
+ export declare const CreateIndividualComponent: ({ legalEntityId, onSubmitSuccess, modalView, onClose, onUnmount, }: CreateIndividualComponentProps) => import("preact/jsx-runtime").JSX.Element;
@@ -1,5 +1,5 @@
1
1
  import './ManageTransferInstrumentOverview.scss';
2
- import type { GetTransferInstrumentResponse } from '../../../../api/transferInstruments/useTransferInstruments';
2
+ import type { GetTransferInstrumentResponse } from '../../../../api/transferInstruments/useGetTransferInstruments';
3
3
  import type { ExistingTransferInstrument } from '../../../../core/models/api/transfer-instrument';
4
4
  interface ManageTransferInstrumentOverviewProps {
5
5
  transferInstrumentReferences?: GetTransferInstrumentResponse;
@@ -1,12 +1,10 @@
1
- import type { TransferInstrumentReferenceWithStatusId } from '../../../../api/transferInstruments/useTransferInstruments';
1
+ import type { TransferInstrumentReferenceWithStatusId } from '../../../../api/transferInstruments/useGetTransferInstruments';
2
2
  import type { ExistingTransferInstrument } from '../../../../core/models/api/transfer-instrument';
3
3
  interface ManageTransferInstrumentOverviewItemProps {
4
4
  transferInstrumentReference: TransferInstrumentReferenceWithStatusId;
5
- transferInstrument?: ExistingTransferInstrument;
6
5
  onEdit: (transferInstrumentId: ExistingTransferInstrument['id']) => void;
7
- onClick?: (transferInstrumentId: ExistingTransferInstrument['id']) => void;
8
6
  onRemove: (transferInstrumentId: ExistingTransferInstrument['id']) => Promise<void>;
9
7
  onInitiateRemove?(): boolean;
10
8
  }
11
- export declare function ManageTransferInstrumentOverviewItem({ transferInstrumentReference, transferInstrument, onEdit, onClick, onRemove, onInitiateRemove, }: Readonly<ManageTransferInstrumentOverviewItemProps>): import("preact/jsx-runtime").JSX.Element;
9
+ export declare function ManageTransferInstrumentOverviewItem({ transferInstrumentReference, onEdit, onRemove, onInitiateRemove, }: Readonly<ManageTransferInstrumentOverviewItemProps>): import("preact/jsx-runtime").JSX.Element;
12
10
  export {};
@@ -1,5 +1,5 @@
1
1
  import './ManageTransferInstrumentOverviewItemModal.scss';
2
- import type { TransferInstrumentReferenceWithStatusId } from '../../../../api/transferInstruments/useTransferInstruments';
2
+ import type { TransferInstrumentReferenceWithStatusId } from '../../../../api/transferInstruments/useGetTransferInstruments';
3
3
  import type { ExistingTransferInstrument } from '../../../../core/models/api/transfer-instrument';
4
4
  export interface ManageTransferInstrumentOverviewItemModalProps {
5
5
  status: TransferInstrumentReferenceWithStatusId['status'];
@@ -2,8 +2,7 @@ import type { State, TopLevelDataSchema } from '../../../../context/StateContext
2
2
  import type { AddressSearchRequest, AddressSearchResponse, LoqateAddress } from '../../../../core/models/api/address-search';
3
3
  import type { CapabilityName } from '../../../../core/models/api/capability';
4
4
  import type { CompanyDatasetRequest, CompanyDatasetResponse, CompanySearchRequest, CompanySearchResponse, TinVerificationRequest, TinVerificationResponse } from '../../../../core/models/api/company-search';
5
- import type { ServiceAgreementAcceptanceInfos, ServiceAgreementAcceptedDocumentResponse, ServiceAgreementSignRequest, ServiceAgreementSignResponse, ServiceAgreementStatus, ServiceAgreementUnacceptedDocumentRequest, ServiceAgreementUnacceptedDocumentResponse } from '../../../../core/models/api/contracts';
6
- import type { Document, ExistingDocument } from '../../../../core/models/api/document';
5
+ import type { ServiceAgreementAcceptanceInfos, ServiceAgreementSignRequest, ServiceAgreementSignResponse, ServiceAgreementStatus } from '../../../../core/models/api/contracts';
7
6
  import type { BankVerificationVendorsResponse } from '../../../../core/models/api/get-bankVerification-providers';
8
7
  import type { InstantIdVerificationStartCheckRequest, InstantIdVerificationStartCheckResponse, InstantIdVerificationTokenRequest, InstantIdVerificationTokenResponse } from '../../../../core/models/api/instant-id-verification';
9
8
  import type { ExistingLegalEntity, LegalEntity, PatchLegalEntity } from '../../../../core/models/api/legal-entity';
@@ -20,7 +19,7 @@ export interface SingpassLinkResponseItem {
20
19
  export interface SingpassLinkResponse {
21
20
  item: SingpassLinkResponseItem;
22
21
  }
23
- export interface DropinComposerProps extends Required<Pick<DropinAPIHandlers, 'handleGetLegalEntity' | 'handleUpdateLegalEntity' | 'handleCreateLegalEntity' | 'handleGetServiceAgreementStatus' | 'handleGetServiceAgreementAcceptanceInfos' | 'handleGetTransferInstrument' | 'handleCreateTransferInstrument' | 'handleUpdateTransferInstrument' | 'handleGetDocument' | 'handleUpdateDocument' | 'handleCreateDocument' | 'handleDeleteDocument' | 'handleCompanyIndexSearch' | 'handleCompanyDeepSearch' | 'handleGetCompanyDataset' | 'handleRefreshCompanyDataset' | 'handleVerifyTin' | 'handleGetBankVerificationVendors' | 'handleDownloadAcceptedTermsOfServiceDocument' | 'handleDownloadUnacceptedTermsOfServiceDocument' | 'handleSignServiceAgreement'>>, Pick<DropinAPIHandlers, 'handleCreateTrustedTransferInstrument' | 'handleBankVerificationError' | 'handleGetIdVerificationStartCheck' | 'handleGetIdVerificationToken' | 'handleAddressSearch' | 'handleFindAddress' | 'handleOpenSingpassAuthorizationLink' | 'handleCompanyRegistrationNumberIndexSearch' | 'handleCompanyRegistrationNumberDeepSearch'> {
22
+ export interface DropinComposerProps extends Required<Pick<DropinAPIHandlers, 'handleGetLegalEntity' | 'handleUpdateLegalEntity' | 'handleCreateLegalEntity' | 'handleGetServiceAgreementStatus' | 'handleGetServiceAgreementAcceptanceInfos' | 'handleGetTransferInstrument' | 'handleUpdateTransferInstrument' | 'handleCompanyIndexSearch' | 'handleCompanyDeepSearch' | 'handleGetCompanyDataset' | 'handleRefreshCompanyDataset' | 'handleVerifyTin' | 'handleGetBankVerificationVendors' | 'handleSignServiceAgreement'>>, Pick<DropinAPIHandlers, 'handleCreateTrustedTransferInstrument' | 'handleBankVerificationError' | 'handleGetIdVerificationStartCheck' | 'handleGetIdVerificationToken' | 'handleAddressSearch' | 'handleFindAddress' | 'handleOpenSingpassAuthorizationLink' | 'handleCompanyRegistrationNumberIndexSearch' | 'handleCompanyRegistrationNumberDeepSearch'> {
24
23
  capabilities?: CapabilityName[];
25
24
  legalEntityResponse: ExistingLegalEntity;
26
25
  onChange?: (state: State<TopLevelDataSchema>) => void;
@@ -38,29 +37,16 @@ export interface DropinAPIHandlers {
38
37
  /** @deprecated */
39
38
  handleUpdateLegalEntity?(data: PatchLegalEntity, legalEntityId: string): Promise<ExistingLegalEntity>;
40
39
  /** @deprecated */
41
- handleCreateDocument?(data: Document, legalEntityId: string): Promise<ExistingDocument>;
42
- /** @deprecated */
43
- handleUpdateDocument?(data: Document, documentId: string, legalEntityId: string): Promise<ExistingDocument>;
44
- /** @deprecated */
45
- handleDeleteDocument?(documentId: string, legalEntityId: string): Promise<ExistingDocument>;
46
- /** @deprecated */
47
- handleGetDocument?(documentId: string, legalEntityId: string): Promise<ExistingDocument>;
48
- /** @deprecated */
49
40
  handleGetBankVerificationVendors?(country: CountryCode, openBankingPartnerConfigId?: string, locale?: Language['locale']): Promise<BankVerificationVendorsResponse>;
50
41
  /** @deprecated */
51
42
  handleGetTransferInstrument?(transferInstrumentId: string): Promise<ExistingTransferInstrument>;
52
43
  /** @deprecated */
53
44
  handleUpdateTransferInstrument?(data: TransferInstrument, transferInstrumentId: string): Promise<ExistingTransferInstrument>;
54
45
  /** @deprecated */
55
- handleCreateTransferInstrument?(data: TransferInstrument): Promise<ExistingTransferInstrument>;
56
- /** @deprecated */
57
46
  handleBankVerificationError?(errorCode: string, errorMessage: string, state: string, metadata?: Map<string, string>): Promise<BankVerificationErrorResponse>;
58
47
  handleSignServiceAgreement?(legalEntityId: string, termsOfServiceDocumentId: string, data: ServiceAgreementSignRequest): Promise<ServiceAgreementSignResponse>;
59
48
  /** @deprecated */
60
49
  handleGetServiceAgreementStatus?(legalEntityId: string): Promise<ServiceAgreementStatus>;
61
- handleDownloadAcceptedTermsOfServiceDocument?(legalEntityId: string, termsOfServiceAcceptanceReference: string): Promise<ServiceAgreementAcceptedDocumentResponse>;
62
- /** @deprecated */
63
- handleDownloadUnacceptedTermsOfServiceDocument?(legalEntityId: string, data: ServiceAgreementUnacceptedDocumentRequest): Promise<ServiceAgreementUnacceptedDocumentResponse>;
64
50
  /** @deprecated */
65
51
  handleGetServiceAgreementAcceptanceInfos?(legalEntityId: string): Promise<ServiceAgreementAcceptanceInfos>;
66
52
  /** @deprecated */
@@ -1,4 +1,4 @@
1
- import { DocumentType } from '../../../../../core/models/api/document';
1
+ import type { DocumentType } from '../../../../../core/models/api/document';
2
2
  import type { FileSchema } from '../../../../../core/models/file';
3
3
  import type { BaseInnerFormProps } from '../../../../../hooks/useForm/types';
4
4
  import type { TranslationKey } from '../../../../../../types';