@adyen/kyc-components 3.71.3 → 3.73.0-beta.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.
- package/dist/{AcceptTermsOfServiceComponent-Dsv4mY-k.js → AcceptTermsOfServiceComponent-Ib77t0y9.js} +11 -198
- package/dist/{AccountSetupRejected-Cz2iWdPE.js → AccountSetupRejected-Dcrt_Wjb.js} +3 -3
- package/dist/{BusinessDetailsDropin-CxJ7Ga0q.js → BusinessDetailsDropin-D10LCgSY.js} +199 -98
- package/dist/BusinessFinancingPage-CVRFAPxm.js +35 -0
- package/dist/{BusinessTypeSelection-wbCak0Us.js → BusinessTypeSelectionPage-DK4PY3_p.js} +47 -40
- package/dist/{CXEL7IU7-B9HOZi-H.js → CXEL7IU7-DyO75Uac.js} +3 -3
- package/dist/{CreateIndividualComponent-C3uFsTUT.js → CreateIndividualComponent-BiMYdvQq.js} +265 -1227
- package/dist/CreateTransferInstrumentComponent-CaBD_3yr.js +1082 -0
- package/dist/{CustomerSupport-BuxhbwRm.js → CustomerSupport-BqyayBTP.js} +4 -3
- package/dist/{DebugModal-B_DAGmya.js → DebugModal-CO_clhiW.js} +12 -11
- package/dist/DecisionMakerDetailsPage-C0wmo475.js +80 -0
- package/dist/{DecisionMakers-L6oYW0-J.js → DecisionMakers-B2rmqsfW.js} +6 -5
- package/dist/{EventEmitter-DTdpTyY7.js → EventEmitter-BmWcyurq.js} +1015 -1407
- package/dist/FormNavigation-W4SYacAX.js +205 -0
- package/dist/{HASRA6WW-CBmvzSwj.js → HASRA6WW-Cj_9-H1H.js} +2 -2
- package/dist/{I3HPI4QX-9ko0FQd6.js → I3HPI4QX-CCkDLYPH.js} +3 -3
- package/dist/{Introduction-C16zT64A.js → Introduction-DlsETOX7.js} +14 -6
- package/dist/LegalRepresentativeDetailsPage-Dbp83K05.js +55 -0
- package/dist/ManageIndividualComponent-D-47IZH6.js +190 -0
- package/dist/Modal-6j0jkYFX.js +135 -0
- package/dist/PayoutDetailsPage-CWAOATOb.js +57 -0
- package/dist/{Review-BbsJ9Iv_.js → Review-B0v_A189.js} +4 -3
- package/dist/RootBusinessDetailsPage-D_3xc6YN.js +43 -0
- package/dist/RootIndividualDetailsPage-CT-rsvpD.js +71 -0
- package/dist/{EmbedShell-DpZpuM-4.js → ShadowStylesRoot-DMxqA0py.js} +28 -10
- package/dist/{SingpassSelection-Biuh42TV.js → SingpassSelection-DB5BHBy1.js} +2 -2
- package/dist/SoleProprietorshipPage-CFZ3F57F.js +45 -0
- package/dist/{SourceOfFunds.module-CwVf62zO.js → SourceOfFunds.module-sL22I1gI.js} +2 -2
- package/dist/{SourceOfFundsDropin-Bz8cTP4R.js → SourceOfFundsPage-Tde0WbSG.js} +44 -20
- package/dist/Tag-DdkVScyr.js +41 -0
- package/dist/{TaskItemStatus-DzTphBn7.js → TaskItemStatus-DqNACVFe.js} +4 -32
- package/dist/{TaxReportingDropin-xDar-7mC.js → TaxReportingDropin-CPQZXr1j.js} +6 -5
- package/dist/{TrustOuter-2GEllVo3.js → TrustDetailsPage-BGkbFLaG.js} +20 -29
- package/dist/TrustMemberCompanyPage-CQi1xGDz.js +55 -0
- package/dist/TrustMemberIndividualPage-BI_XyXhS.js +60 -0
- package/dist/UnincorporatedPartnershipIndividualPage-B6gLv55I.js +60 -0
- package/dist/UnincorporatedPartnershipMemberCompanyPage-jHwnxg3n.js +58 -0
- package/dist/adyen-individual.js +41 -0
- package/dist/adyen-kyc-components.js +3 -6
- package/dist/adyen-manage-individual.js +41 -0
- package/dist/adyen-terms-of-service.js +47 -0
- package/dist/adyen-terms-of-service.vue_vue_type_script_lang-CLUMW5mI.js +34 -0
- package/dist/adyen-transfer-instrument.js +59 -0
- package/dist/adyen-transfer-instrument.vue_vue_type_script_lang-uEpG3KG3.js +45 -0
- package/dist/{bg-BG-CzEF3tzV.js → bg-BG-CZRQZyXO.js} +12 -5
- package/dist/{cs-CZ-TMjslGp_.js → cs-CZ-BbUFgifZ.js} +12 -5
- package/dist/{css-CypmaTn8.js → css-CFY1scQ9.js} +2 -2
- package/dist/{da-DK-DWzvDWZJ.js → da-DK-CP71BFS7.js} +12 -5
- package/dist/{de-DE-BtIL-7gp.js → de-DE-DY56JGZt.js} +12 -5
- package/dist/{el-GR-DHSSlqbw.js → el-GR-CnENEp5c.js} +12 -5
- package/dist/{es-ES-OwkE9-Cu.js → es-ES-dV62vQcV.js} +28 -21
- package/dist/{et-EE-DvixWnLd.js → et-EE-BBgAN3Wc.js} +12 -5
- package/dist/{fi-FI-DZiXWe_g.js → fi-FI-DVmGWIxn.js} +12 -5
- package/dist/{fr-FR-BBwiWhiT.js → fr-FR-VwG8Rg7R.js} +12 -5
- package/dist/{hr-HR-DJYofWKU.js → hr-HR-Bs_lxjxQ.js} +12 -5
- package/dist/{hu-HU-k9c6wZld.js → hu-HU-8dVSiOZM.js} +12 -5
- package/dist/{core-BsRrVyKB.js → index-D6YGuPb5.js} +810 -1908
- package/dist/{it-IT-oOwbWW3K.js → it-IT-DvwWMDl1.js} +12 -5
- package/dist/{ja-JP-CT3g8Hhn.js → ja-JP-BB6zzyEg.js} +12 -5
- package/dist/{json-DDReVYSW.js → json-RoVXbcQq.js} +2 -2
- package/dist/localizeDateString-DtxuKMqB.js +27 -0
- package/dist/{lt-LT-CVHIsEF8.js → lt-LT-BQtNojlb.js} +12 -5
- package/dist/{lv-LV-BFx0cvZ2.js → lv-LV-BpEw5uN5.js} +12 -5
- package/dist/mapExistingFile-CwT8TZ5D.js +870 -0
- package/dist/{nl-NL-rmSZu4Rf.js → nl-NL-vBEBXTP-.js} +12 -5
- package/dist/{no-NO-BOnQvimN.js → no-NO-BFhTqUoD.js} +12 -5
- package/dist/{pl-PL-5j22An4E.js → pl-PL-dsGZvzVf.js} +12 -5
- package/dist/{plaintext-Cjcgjaqv.js → plaintext-DpBLPLCO.js} +2 -2
- package/dist/{terms-of-service-preact.js → preact/adyen-individual.js} +4 -4
- package/dist/{individual-react.js → preact/adyen-manage-individual.js} +4 -4
- package/dist/{terms-of-service-react.js → preact/adyen-terms-of-service.js} +5 -4
- package/dist/preact/adyen-transfer-instrument.js +16 -0
- package/dist/{pt-PT-DP8U1qyu.js → pt-PT-BB38pZbh.js} +12 -5
- package/dist/{ro-RO-BTdtoC6P.js → ro-RO-BgxNxoxJ.js} +12 -5
- package/dist/{sk-SK-DYTx4mOB.js → sk-SK-rtDeCztl.js} +12 -5
- package/dist/{sl-SI-D8CiUN69.js → sl-SI-qoGCwUdU.js} +12 -5
- package/dist/style.css +1942 -1990
- package/dist/styles-CLV89_hH.js +1942 -1990
- package/dist/{sv-SE-Daslxeqr.js → sv-SE-f1T7PBSW.js} +12 -5
- package/dist/types/api/transferInstruments/useTransferInstrument.d.ts +2 -1
- package/dist/types/components/BankAccount/forms/BankDocument/types.d.ts +2 -0
- package/dist/types/components/BankAccount/forms/PayoutDetails/types.d.ts +2 -5
- package/dist/types/components/BankAccount/forms/PayoutVerificationMethod/types.d.ts +1 -11
- package/dist/types/components/BankAccount/pages/PayoutDetailsPage.d.ts +14 -0
- package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/PayoutDetailsDropin.d.ts +1 -1
- package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/payoutDetailsFormConfig.d.ts +12 -1
- package/dist/types/components/Business/forms/BusinessDetails/forms.d.ts +14 -0
- package/dist/types/components/Business/forms/BusinessDetails/types.d.ts +1 -0
- package/dist/types/components/Business/forms/ProofOfOwnershipDocument/ProofOfOwnershipDocument.d.ts +2 -0
- package/dist/types/components/Business/forms/ProofOfOwnershipDocument/types.d.ts +8 -0
- package/dist/types/components/Business/forms/rules.d.ts +0 -1
- package/dist/types/components/Business/mapping/businessDetails/businessDetailsKeyMappings.d.ts +1 -1
- package/dist/types/components/Business/mapping/businessDetails/solePropBusinessDetailsKeyMappings.d.ts +1 -1
- package/dist/types/components/Business/pages/RootBusinessDetailsPage.d.ts +8 -0
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/types.d.ts +1 -3
- package/dist/types/components/EFP/pages/BusinessFinancingPage.d.ts +7 -0
- package/dist/types/components/EFP/pages/SourceOfFundsPage.d.ts +7 -0
- package/dist/types/components/EmbeddedDropins/OnboardingDropinComponent/DropinComposer/DropinComposer.d.ts +1 -1
- package/dist/types/components/Individual/forms/Individual/IdDocumentUpload/types.d.ts +1 -0
- package/dist/types/components/Individual/forms/Individual/IdVerificationMethod/IdVerificationMethod.d.ts +0 -1
- package/dist/types/components/Individual/forms/IndividualOnfido/IdVerificationMethod/IdVerificationMethod.types.d.ts +0 -2
- package/dist/types/components/Individual/forms/IndividualOnfido/IndividualOnfido.types.d.ts +2 -1
- package/dist/types/components/Individual/pages/DecisionMakerDetailsPage.d.ts +20 -0
- package/dist/types/components/Individual/pages/LegalRepresentativeDetailsPage.d.ts +12 -0
- package/dist/types/components/Individual/pages/RootIndividualDetailsPage.d.ts +16 -0
- package/dist/types/components/Individual/tasks/DecisionMakers/types.d.ts +0 -2
- package/dist/types/components/Shared/Introduction/Introduction.d.ts +4 -2
- package/dist/types/components/Shared/forms/Address/utils.d.ts +1 -1
- package/dist/types/components/Shared/forms/BusinessTypeSelection/BusinessTypeSelection.d.ts +1 -1
- package/dist/types/components/Shared/forms/BusinessTypeSelection/types.d.ts +3 -5
- package/dist/types/components/Shared/forms/DocumentUpload/DocumentUpload.d.ts +1 -1
- package/dist/types/components/Shared/forms/DocumentUpload/types.d.ts +5 -0
- package/dist/types/components/Shared/pages/BusinessTypeSelectionPage.d.ts +2 -0
- package/dist/types/components/Shared/tasks/TaskList/TaskList.d.ts +7 -1
- package/dist/types/components/Shared/tasks/TaskList/types.d.ts +0 -6
- package/dist/types/components/Shared/tasks/TaskList/utils.d.ts +1 -0
- package/dist/types/components/SoleProprietorship/pages/SoleProprietorshipPage.d.ts +8 -0
- package/dist/types/components/Trust/pages/TrustDetailsPage.d.ts +10 -0
- package/dist/types/components/Trust/pages/TrustMemberCompanyPage.d.ts +11 -0
- package/dist/types/components/Trust/pages/TrustMemberIndividualPage.d.ts +16 -0
- package/dist/types/components/Trust/pages/TrustMemberRoleAndTypePage.d.ts +9 -0
- package/dist/types/components/Trust/tasks/TrustMembers/TrustMembersOverview.d.ts +4 -7
- package/dist/types/components/UnincorporatedPartnership/hooks/useUnincorporatedPartnershipNavigation.d.ts +0 -2
- package/dist/types/components/UnincorporatedPartnership/pages/UnincorporatedPartnershipIndividualPage.d.ts +16 -0
- package/dist/types/components/UnincorporatedPartnership/pages/UnincorporatedPartnershipMemberCompanyPage.d.ts +11 -0
- package/dist/types/components/UnincorporatedPartnership/pages/UnincorporatedPartnershipMemberRoleAndTypePage.d.ts +8 -0
- package/dist/types/components/UnincorporatedPartnership/tasks/UnincorporatedPartnershipMembers/UnincorporatedPartnershipMembersOverview.d.ts +1 -5
- package/dist/types/components/UnincorporatedPartnership/tasks/UnincorporatedPartnershipRoleAndType/UnincorporatedPartnershipRoleAndType.d.ts +1 -1
- package/dist/types/components/ui/molecules/Dropzone/types.d.ts +1 -0
- package/dist/types/context/AnalyticsContext/AnalyticsProvider.d.ts +2 -2
- package/dist/types/context/ExperimentContext/ExperimentsContextProvider.d.ts +1 -1
- package/dist/types/context/ExperimentContext/types.d.ts +6 -6
- package/dist/types/core/EmbedShell/EmbedShell.d.ts +3 -4
- package/dist/types/core/environment/resolveEnvironment.d.ts +1 -0
- package/dist/types/core/models/api/document.d.ts +1 -1
- package/dist/types/embeds/ShadowStylesRoot.d.ts +3 -0
- package/dist/types/embeds/baseEmbedProps.d.ts +30 -0
- package/dist/types/embeds/individual/AdyenIndividualPreact.d.ts +3 -0
- package/dist/types/embeds/individual/adyen-individual.types.d.ts +30 -0
- package/dist/types/embeds/manage-individual/AdyenManageIndividualPreact.d.ts +3 -0
- package/dist/types/embeds/manage-individual/adyen-manage-individual.d.ts +1 -0
- package/dist/types/embeds/manage-individual/adyen-manage-individual.types.d.ts +29 -0
- package/dist/types/embeds/terms-of-service/AdyenTermsOfServicePreact.d.ts +3 -0
- package/dist/types/embeds/terms-of-service/adyen-terms-of-service.types.d.ts +30 -0
- package/dist/types/embeds/transfer-instrument/AdyenTransferInstrumentPreact.d.ts +3 -0
- package/dist/types/embeds/transfer-instrument/adyen-transfer-instrument.types.d.ts +36 -0
- package/dist/types/hooks/useDataConflicts.d.ts +1 -5
- package/dist/types/stores/globalStore/taskTypes.d.ts +0 -1
- package/dist/types/utils/country.d.ts +3 -2
- package/dist/types/utils/entityStatusUtil.d.ts +1 -1
- package/dist/types/utils/getDisplayErrorMessage.d.ts +3 -0
- package/dist/useToastContext-DiQ_PGrE.js +33 -0
- package/dist/{utils-Fkk087z-.js → utils-Bl8l2XY4.js} +4 -4
- package/dist/vue/adyen-individual.js +43 -0
- package/dist/vue/adyen-manage-individual.js +46 -0
- package/dist/vue/adyen-terms-of-service.js +26 -0
- package/dist/vue/adyen-transfer-instrument.js +28 -0
- package/dist/{yaml-GnQQmt7i.js → yaml-DEzkYiMR.js} +2 -2
- package/package.json +28 -61
- package/dist/adyenConfig.js +0 -34
- package/dist/individual-preact.js +0 -15
- package/dist/individual-vue.js +0 -35
- package/dist/individual.js +0 -58
- package/dist/listToRecord-CO3M1Q74.js +0 -19
- package/dist/terms-of-service.js +0 -58
- package/dist/transfer-instrument-preact.js +0 -32
- package/dist/transfer-instrument-react.js +0 -32
- package/dist/transfer-instrument-vue.js +0 -41
- package/dist/transfer-instrument.js +0 -38
- package/dist/types/components/BankAccount/forms/PayoutDetails/utils.d.ts +0 -2
- package/dist/types/components/BankAccount/forms/PayoutVerificationMethod/PreferInstantVerificationMethod/PreferInstantVerificationMethod.d.ts +0 -22
- package/dist/types/components/Individual/forms/Individual/IndividualOuter.d.ts +0 -26
- package/dist/types/components/Trust/tasks/TrustDropin/TrustOuter.d.ts +0 -10
- package/dist/types/components/ui/atoms/List/List.d.ts +0 -9
- package/dist/types/embeds/adyenConfig.d.ts +0 -22
- package/dist/types/embeds/individual/individual.types.d.ts +0 -12
- package/dist/types/embeds/individual/preact/Individual.d.ts +0 -15
- package/dist/types/embeds/individual/react/Individual.d.ts +0 -20
- package/dist/types/embeds/individual/vue/individual.types.d.ts +0 -9
- package/dist/types/embeds/terms-of-service/preact/TermsOfService.d.ts +0 -10
- package/dist/types/embeds/terms-of-service/react/TermsOfService.d.ts +0 -20
- package/dist/types/embeds/terms-of-service/terms-of-service.types.d.ts +0 -8
- package/dist/types/embeds/transfer-instrument/preact/TransferInstrument.d.ts +0 -15
- package/dist/types/embeds/transfer-instrument/react/TransferInstrument.d.ts +0 -20
- package/dist/types/embeds/transfer-instrument/transfer-instrument.types.d.ts +0 -17
- package/dist/types/embeds/transfer-instrument/vue/transfer-instrument.types.d.ts +0 -9
- package/dist/types/embeds/types.d.ts +0 -19
- package/dist/types/embeds/utils.d.ts +0 -7
- package/dist/utils-Du6OO4ZK.js +0 -27
|
@@ -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] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "e83de124-700e-4498-bc4d-024d52e72bcd", e._sentryDebugIdIdentifier = "sentry-dbid-e83de124-700e-4498-bc4d-024d52e72bcd");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
@@ -112,6 +112,7 @@ const svSE = {
|
|
|
112
112
|
authorizedSignatory: "Auktoriserad firmatecknare",
|
|
113
113
|
back: "Tillbaka",
|
|
114
114
|
backPage: "Baksida",
|
|
115
|
+
backToOverview: "Tillbaka till översikten",
|
|
115
116
|
backToTaskList: "Tillbaka till uppgiftslistan",
|
|
116
117
|
balanceSheetTotal: "Balansräkning totalt",
|
|
117
118
|
bankAccount: "Bankkonto",
|
|
@@ -232,6 +233,7 @@ const svSE = {
|
|
|
232
233
|
certificateOfVoterRegistration: "Intyg om väljarregistrering",
|
|
233
234
|
chamberOfCommerceExtract: "Utdrag från handelskammaren",
|
|
234
235
|
chamberOfCommerceRegistrationNumber: "Organisationsnummer hos Bolagsverket",
|
|
236
|
+
changeAnswers: "Ändra svar",
|
|
235
237
|
changeYourBusinessSetup: "Ändra ditt affärsupplägg?",
|
|
236
238
|
chargeCardUserAgreement: "Användaravtal för betalkort",
|
|
237
239
|
charitableTrust: "Välgörenhetsstiftelse",
|
|
@@ -1039,6 +1041,7 @@ const svSE = {
|
|
|
1039
1041
|
itCanTakeUpTo: "Det kan ta upp till 3 extra arbetsdagar att verifiera personuppgifter som läggs till manuellt.",
|
|
1040
1042
|
jobTitle: "Jobbtitel",
|
|
1041
1043
|
kaibemaksukohustuslaseNumber: "Käibemaksukohustuslase-nummer",
|
|
1044
|
+
kanjiAndKanaCharactersAreNotAllowed: "Kanji-och kana-tecken är inte tillåtna. Ange bara latinska bokstäver (A–Z, a–z) och symboler.",
|
|
1042
1045
|
krsNumber: "KRS-nummer",
|
|
1043
1046
|
last4DigitsOfSocialSecurityNumber: "De fyra sista siffrorna i Social Security Number (SSN)",
|
|
1044
1047
|
lastName: "Efternamn",
|
|
@@ -1052,11 +1055,13 @@ const svSE = {
|
|
|
1052
1055
|
legalCompanyName__helperText: "Det juridiska namnet används för att identifiera ett företag hos myndigheterna. Skriv in det exakt som det står på dina myndighetshandlingar eller juridiska formulär.",
|
|
1053
1056
|
legalCompanyName__helperText__AU: "Ange namnet exakt som det visas i Australian Securities and Investment Commission's (ASIC).",
|
|
1054
1057
|
legalCompanyName__helperText__HK: "Ange namnet exakt som det står i ditt Certificate of Incorporation från Hong Kong Companies Registry.",
|
|
1058
|
+
legalCompanyName__helperText__JP: "Det juridiska namnet används för att identifiera företaget. Ange ditt företagsnamn med latinska bokstäver och symboler.",
|
|
1055
1059
|
legalCompanyName__helperText__NL: "Ange namnet exakt som det står i din registrering hos Chamber of Commerce.",
|
|
1056
1060
|
legalCompanyName__helperText__PR: "Ange namnet exakt som det står i din Department of State Registration.",
|
|
1057
1061
|
legalCompanyName__helperText__SG: "Ange namnet exakt som det står i din BizFile från Accounting and Corporate Regulatory Authority (ACRA).",
|
|
1058
1062
|
legalCompanyName__helperText__US: "Ange namnet exakt som det står i din Secretary of State Registration.",
|
|
1059
1063
|
legalCompanyName__helperText__US__business: "Det juridiska namnet används för att identifiera ett företag hos myndigheterna. Skriv in det exakt som det står på dina myndighetshandlingar eller juridiska formulär.",
|
|
1064
|
+
legalCompanyName__JP: "Juridiskt företagsnamn (engelska)",
|
|
1060
1065
|
legalCompanyName__US: "Officiellt företagsnamn",
|
|
1061
1066
|
legalEntityIdentifier: "LEI-kod (Legal Entity Identifier)",
|
|
1062
1067
|
legalForm: "Juridisk form",
|
|
@@ -1284,6 +1289,7 @@ const svSE = {
|
|
|
1284
1289
|
personalDetails: "Personuppgifter",
|
|
1285
1290
|
personalIdentityDetails: "Personliga identitetsuppgifter",
|
|
1286
1291
|
personalIdentityDetailsDescription: "Vi använder bara dessa uppgifter för att verifiera din identitet. Läs om hur dina uppgifter hanteras i vår sekretesspolicy.",
|
|
1292
|
+
personalInfoNotNeeded: "Personlig information behövs inte",
|
|
1287
1293
|
personAppointmentUnderTrustInstrument: "Den person som enligt stiftelsen/fonden utsetts att leda eller begränsa förvaltarna i förhållande till deras förvaltning av stiftelsen/fonden.",
|
|
1288
1294
|
personnummer: "Personnummer",
|
|
1289
1295
|
peselNumber: "PESEL-nummer",
|
|
@@ -1447,17 +1453,17 @@ const svSE = {
|
|
|
1447
1453
|
remediationMessage_1_805: "Uppdatera direktörsinformation",
|
|
1448
1454
|
remediationMessage_2_117: "Lägg till 'organization.registrationNumber' för juridisk person.",
|
|
1449
1455
|
remediationMessage_2_118: "Lägg till 'organization.taxId' för juridisk person.",
|
|
1450
|
-
remediationMessage_2_123: "
|
|
1451
|
-
remediationMessage_2_124: "
|
|
1456
|
+
remediationMessage_2_123: "Vi behöver känna till alla verkliga huvudmän som äger minst 25 % av företaget.",
|
|
1457
|
+
remediationMessage_2_124: "Vi behöver källa till minst en firmatecknare som kan underteckna avtal på företagets vägnar.",
|
|
1452
1458
|
remediationMessage_2_125: "Lägg till 'organization.type' för juridisk person.",
|
|
1453
1459
|
remediationMessage_2_133: "Lägg till 'organization.doingBusinessAs' för juridisk person.",
|
|
1454
|
-
remediationMessage_2_151: "
|
|
1460
|
+
remediationMessage_2_151: "Vi behöver känna till minst en verklig huvudman som styr företagets strategiska riktning.",
|
|
1455
1461
|
remediationMessage_2_153: "Lägg till 'phone.number' till juridisk person",
|
|
1456
1462
|
remediationMessage_2_158: "Ange ett momsregistreringsnummer eller skäl för undantag.",
|
|
1457
1463
|
remediationMessage_2_170: "Lägg till skatteinformation för juridisk person.",
|
|
1458
1464
|
remediationMessage_2_178: "Lägg till ”webAddress” i företagsraden.",
|
|
1459
1465
|
remediationMessage_2_184: "Lägg till konstitutionellt dokument för verifiering till juridisk enhet.",
|
|
1460
|
-
remediationMessage_2_185: "
|
|
1466
|
+
remediationMessage_2_185: "Vi behöver känna till minst en chef som har utsetts för att se över verksamheten.",
|
|
1461
1467
|
remediationMessage_2_188: "Lägg till dokument som bevisar äganderätt för verifiering till juridisk enhet",
|
|
1462
1468
|
remediationMessage_2_194: "Lägg till 'organization.registeredAddress.postalCode' för juridisk person.",
|
|
1463
1469
|
remediationMessage_2_206: "Lägg till 'organization.registeredAddress.street' för juridisk person.",
|
|
@@ -1858,6 +1864,7 @@ const svSE = {
|
|
|
1858
1864
|
weNeedProofOfFunding: "Vi behöver bevis på finansieringskällor för %{category_name}. Detta hjälper oss att bättre förstå hur du kommer att använda dessa produkter.",
|
|
1859
1865
|
weNeedProofOfFundingPlural: "Vi behöver bevis på finansieringskällor för %{category1_name} och %{category2_name}. Detta hjälper oss att bättre förstå hur du kommer att använda dessa produkter.",
|
|
1860
1866
|
weSelectedSomeRolesBasedOnMyinfoBusinessDataAboutYourCompanysAppointmentHoldersAndShareholders: "Vi har valt ut några roller baserat på affärsuppgifter från Myinfo om ditt företags befattningshavare och aktieägare.",
|
|
1867
|
+
weWontCollectAnyInfoAboutThisPerson: "Vi kommer inte att samla in någon information om den här personen baserat på vad du har berättat för oss om deras roll.",
|
|
1861
1868
|
whatBestDescribesYourBusinessSetup: "Vad beskriver bäst ditt affärsupplägg?",
|
|
1862
1869
|
whatCountryOrRegionIsTheBenefactorLocated: "I vilket land eller vilken region befinner sig bidragsgivaren?",
|
|
1863
1870
|
whatCountryOrRegionIsThisPersonLocated: "I vilket land/region befinner sig den här personen?",
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { skipToken } from '@tanstack/react-query';
|
|
1
2
|
import type { ExistingTransferInstrument } from '../../core/models/api/transfer-instrument';
|
|
2
3
|
import type { QueryOptions } from '../types';
|
|
3
4
|
/**
|
|
@@ -10,4 +11,4 @@ export type QueryKeyTransferInstrument = ['transferInstrument', string];
|
|
|
10
11
|
* @param transferInstrumentId ID of transfer instrument
|
|
11
12
|
* @param options additional options passed to Tanstack Query, eg; refetchInterval for polling
|
|
12
13
|
*/
|
|
13
|
-
export declare const useTransferInstrument: (transferInstrumentId
|
|
14
|
+
export declare const useTransferInstrument: (transferInstrumentId: string | typeof skipToken, options?: QueryOptions<ExistingTransferInstrument>) => import("@tanstack/react-query").UseQueryResult<ExistingTransferInstrument, Error>;
|
|
@@ -27,6 +27,7 @@ export interface DocumentsModifiers {
|
|
|
27
27
|
associatedEntityType?: LegalEntityType;
|
|
28
28
|
associatedEntityLegalName?: string | undefined;
|
|
29
29
|
associatedEntityTradingName?: string | undefined;
|
|
30
|
+
unincorporatedPartnershipMembers?: string | undefined;
|
|
30
31
|
}
|
|
31
32
|
export declare const bankDocumentOptions: Array<{
|
|
32
33
|
id: BankDocumentTypes;
|
|
@@ -37,6 +38,7 @@ export declare enum BankDocumentRequirement {
|
|
|
37
38
|
ACCOUNT_NAME_ORGANIZATION = "bankAccountNameOrganization",
|
|
38
39
|
ACCOUNT_NAME_WITH_SOLE_PROP = "bankAccountNameWithSoleProprietor",
|
|
39
40
|
ACCOUNT_NAME_WITH_TRUST = "bankAccountNameWithTrust",
|
|
41
|
+
ACCOUNT_NAME_WITH_UNINCORPORATED_PARTNERSHIP = "accountMustBeInTheNameOfUnincorporatedPartnership",
|
|
40
42
|
ACCOUNT_NUMBER_OR_IBAN = "accountNumberOrIbanVisible",
|
|
41
43
|
ACCOUNT_NUMBER = "accountNumberVisible",
|
|
42
44
|
ACCOUNT_NUMBER_FULL_OR_PARTIAL = "accountNumberFullOrPartialVisible",
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import type { Dispatch, StateUpdater } from 'preact/hooks';
|
|
2
1
|
import type { BankVerificationVendor } from '../../../../api/transferInstruments/useBankVerificationProviders';
|
|
3
2
|
import type { CreateTrustedTransferInstrumentResponse } from '../../../../api/transferInstruments/useCreateTrustedTransferInstrument';
|
|
4
3
|
import type { CapabilityName } from '../../../../core/models/api/capability';
|
|
@@ -37,14 +36,12 @@ export interface PayoutDetailsProps extends BaseOuterFormProps<PayoutDetailsSche
|
|
|
37
36
|
instantVerificationAvailable: boolean;
|
|
38
37
|
createTrustedTransferInstrument?: (code: string, state: string) => Promise<CreateTrustedTransferInstrumentResponse | undefined>;
|
|
39
38
|
country: CountryCode;
|
|
40
|
-
handleNextClick(): void;
|
|
41
39
|
trustedTransferInstrumentId?: string;
|
|
42
40
|
}
|
|
43
|
-
export interface PayoutDetailsDropinProps extends Omit<PayoutDetailsProps, 'country' | 'accountHolder' | 'handleNextClick' | 'bankVendorsLoadingStatus' | 'instantVerificationAvailable' | 'provider'>,
|
|
41
|
+
export interface PayoutDetailsDropinProps extends Omit<PayoutDetailsProps, 'country' | 'accountHolder' | 'handleNextClick' | 'bankVendorsLoadingStatus' | 'instantVerificationAvailable' | 'provider'>, DropinProps {
|
|
44
42
|
openBankingPartnerConfigId?: string;
|
|
45
|
-
accountHolder?: string;
|
|
46
43
|
currentTransferInstrumentId: string | undefined;
|
|
47
|
-
setCurrentTransferInstrumentId:
|
|
44
|
+
setCurrentTransferInstrumentId(transferInstrumentId: string): void;
|
|
48
45
|
navigateBackToTaskList?(): void;
|
|
49
46
|
onSubmit?: (data: PayoutDetailsSchema & {
|
|
50
47
|
id: string;
|
|
@@ -1,11 +1,8 @@
|
|
|
1
|
-
import type { Dispatch, StateUpdater } from 'preact/hooks';
|
|
2
1
|
import type { BankVerificationVendor } from '../../../../api/transferInstruments/useBankVerificationProviders';
|
|
3
2
|
import type { ExistingLegalEntity } from '../../../../core/models/api/legal-entity';
|
|
4
3
|
import type { CountryCode } from '../../../../core/models/country-code';
|
|
5
|
-
import type { FormModel } from '../../../../core/models/form';
|
|
6
4
|
import type { BaseInnerFormProps } from '../../../../hooks/useForm/types';
|
|
7
|
-
import type { AccountVerificationSchema
|
|
8
|
-
import type { PayoutDetailsProps } from '../PayoutDetails/types';
|
|
5
|
+
import type { AccountVerificationSchema } from '../BankVerification/types';
|
|
9
6
|
export declare const payoutVerificationMethods: readonly ["instantVerification", "manualVerification"];
|
|
10
7
|
export type VerificationMethod = (typeof payoutVerificationMethods)[number];
|
|
11
8
|
export interface PayoutVerificationMethodSchema extends AccountVerificationSchema {
|
|
@@ -20,11 +17,4 @@ export interface PayoutVerificationMethodProps extends BaseInnerFormProps<Payout
|
|
|
20
17
|
instantVerificationAvailable: boolean;
|
|
21
18
|
bankInfoValidated: boolean;
|
|
22
19
|
legalEntityResponse: ExistingLegalEntity;
|
|
23
|
-
handleNextClick: () => void;
|
|
24
|
-
forms?: FormModel[];
|
|
25
|
-
isActiveForm: boolean;
|
|
26
|
-
setBankInfoValidated: Dispatch<StateUpdater<boolean>>;
|
|
27
|
-
createTrustedTransferInstrument?: PayoutDetailsProps['createTrustedTransferInstrument'];
|
|
28
|
-
setBankVerificationError: Dispatch<StateUpdater<InstantVerificationErrorNotification | null>>;
|
|
29
|
-
setHideFooter?: Dispatch<StateUpdater<boolean>>;
|
|
30
20
|
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { TaskTypes } from '../../../stores/globalStore/taskTypes';
|
|
2
|
+
import type { DropinProps } from '../../EmbeddedDropins/OnboardingDropinComponent/DropinComposer/types';
|
|
3
|
+
import type { PayoutDetailsSchema } from '../forms/PayoutDetails/types';
|
|
4
|
+
interface PayoutDetailsPageProps extends DropinProps {
|
|
5
|
+
transferInstrumentId: string | undefined;
|
|
6
|
+
setTransferInstrumentId(transferInstrumentId: string): void;
|
|
7
|
+
taskType: TaskTypes.PAYOUT | TaskTypes.PAYIN;
|
|
8
|
+
openBankingPartnerConfigId?: string;
|
|
9
|
+
onSubmit?(data: PayoutDetailsSchema & {
|
|
10
|
+
id: string;
|
|
11
|
+
}): void;
|
|
12
|
+
}
|
|
13
|
+
export declare function PayoutDetailsPage({ transferInstrumentId, setTransferInstrumentId, taskType, openBankingPartnerConfigId, onSubmit, handleHomeClick, }: PayoutDetailsPageProps): import("preact/jsx-runtime").JSX.Element;
|
|
14
|
+
export {};
|
package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/PayoutDetailsDropin.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { PayoutDetailsDropinProps } from '../../forms/PayoutDetails/types';
|
|
2
|
-
export declare function PayoutDetailsDropin({ legalEntityResponse, associatedLegalArrangement,
|
|
2
|
+
export declare function PayoutDetailsDropin({ legalEntityResponse, associatedLegalArrangement, problems: propProblems, onSubmit: externalOnSubmit, onChange, asModal, handleCloseClick, taskType: propTaskType, capabilities, handleHomeClick, currentTransferInstrumentId, setCurrentTransferInstrumentId, navigateBackToTaskList, handleBackClick: externalBackClick, hideSidebar, openBankingPartnerConfigId, }: Readonly<PayoutDetailsDropinProps>): import("preact/jsx-runtime").JSX.Element;
|
package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/payoutDetailsFormConfig.d.ts
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { FormList } from '../../../../core/models/form';
|
|
2
|
+
import type { ParseConfiguration } from '../../../../hooks/useScenarioConfiguration';
|
|
3
|
+
import type { CountryCode } from '../../../../core/models/country-code';
|
|
4
|
+
import type { FormConfiguration, PerCountryFormConfiguration } from '../../../../core/models/form-configuration';
|
|
2
5
|
import type { PayoutAccountSchema } from '../../forms/PayoutAccount/types';
|
|
6
|
+
import type { PayoutRules } from '../../forms/PayoutDetails/rules';
|
|
3
7
|
import type { PayoutDetailsSchema } from '../../forms/PayoutDetails/types';
|
|
4
8
|
export declare const obscuredPayoutFields: Array<keyof PayoutAccountSchema>;
|
|
5
9
|
export declare const payoutDetailsCountryConfig: PerCountryFormConfiguration<PayoutDetailsSchema>;
|
|
10
|
+
export declare const parseConfiguration: ParseConfiguration<PayoutDetailsSchema>;
|
|
11
|
+
export declare function parsePayoutScenarios({ requiredFields, country, bankVerificationAvailable, }: {
|
|
12
|
+
requiredFields: (keyof PayoutAccountSchema)[] | undefined;
|
|
13
|
+
country: CountryCode;
|
|
14
|
+
bankVerificationAvailable: boolean | undefined;
|
|
15
|
+
}): FormConfiguration<PayoutDetailsSchema, keyof PayoutRules>;
|
|
16
|
+
export declare const getAppropriatePayoutDetailsSteps: (isEditing: boolean, instantVerificationAvailable: boolean, canChangeCountry: boolean) => FormList;
|
|
@@ -39,6 +39,13 @@ export declare const staticBusinessDetailsForms: {
|
|
|
39
39
|
readonly formDescription: "weNeedAnOfficialDocumentSignatory";
|
|
40
40
|
readonly fields: readonly ["proofOfSignatory"];
|
|
41
41
|
};
|
|
42
|
+
readonly companyProofOfOwnershipDocument: {
|
|
43
|
+
readonly formId: "companyProofOfOwnershipDocument";
|
|
44
|
+
readonly formName: "proofOfOwnership";
|
|
45
|
+
readonly formHeading: "uploadYourOrganizationProofOfOwnership";
|
|
46
|
+
readonly formDescription: "weNeedAnOfficialDocumentForOwnership";
|
|
47
|
+
readonly fields: readonly ["proofOfOwnership"];
|
|
48
|
+
};
|
|
42
49
|
readonly companyConstitutionalDocument: {
|
|
43
50
|
readonly formId: "companyConstitutionalDocument";
|
|
44
51
|
readonly formName: "constitutionalDocument";
|
|
@@ -96,6 +103,13 @@ export declare const getForms: (country: CountryCode) => {
|
|
|
96
103
|
readonly formDescription: "weNeedAnOfficialDocumentSignatory";
|
|
97
104
|
readonly fields: readonly ["proofOfSignatory"];
|
|
98
105
|
};
|
|
106
|
+
readonly companyProofOfOwnershipDocument: {
|
|
107
|
+
readonly formId: "companyProofOfOwnershipDocument";
|
|
108
|
+
readonly formName: "proofOfOwnership";
|
|
109
|
+
readonly formHeading: "uploadYourOrganizationProofOfOwnership";
|
|
110
|
+
readonly formDescription: "weNeedAnOfficialDocumentForOwnership";
|
|
111
|
+
readonly fields: readonly ["proofOfOwnership"];
|
|
112
|
+
};
|
|
99
113
|
readonly companyFinancialInformation: {
|
|
100
114
|
readonly formId: "companyFinancialInformation";
|
|
101
115
|
readonly formName: "financialInformation";
|
|
@@ -20,6 +20,7 @@ export interface BusinessDetailsSchema {
|
|
|
20
20
|
companyTaxDocument?: DocumentUploadSchema<'taxDocument'>;
|
|
21
21
|
companyProofOfDirectorDocument?: DocumentUploadSchema<'proofOfDirector'>;
|
|
22
22
|
companyProofOfSignatoryDocument?: DocumentUploadSchema<'proofOfSignatory'>;
|
|
23
|
+
companyProofOfOwnershipDocument?: DocumentUploadSchema<'proofOfOwnership'>;
|
|
23
24
|
companyFinancialInformation?: FinancialInformationSchema;
|
|
24
25
|
companyConstitutionalDocument?: DocumentUploadSchema<'constitutionalDocument'>;
|
|
25
26
|
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { CountryCode } from '../../../../core/models/country-code';
|
|
2
|
+
import type { TranslationKey } from '../../../../../types';
|
|
3
|
+
import type { DocumentUploadProps } from '../../../Shared/forms/DocumentUpload/types';
|
|
4
|
+
export interface ProofOfOwnershipDocumentProps extends Omit<DocumentUploadProps<'proofOfOwnership'>, 'documentField' | 'documentType'> {
|
|
5
|
+
country: CountryCode;
|
|
6
|
+
heading?: TranslationKey;
|
|
7
|
+
description?: TranslationKey;
|
|
8
|
+
}
|
|
@@ -32,6 +32,5 @@ export declare const rules: ({ data, country, taskType, isExperimentEnabled, acc
|
|
|
32
32
|
isEInvoicingCodeEnabled: () => "REQUIRED";
|
|
33
33
|
ifCountryUsAndTinFailed: () => "REQUIRED";
|
|
34
34
|
businessRequiresCompanyType: () => "REQUIRED";
|
|
35
|
-
canadaOverrideTaxInfo: () => "REQUIRED";
|
|
36
35
|
};
|
|
37
36
|
export type BusinessRules = ReturnType<typeof rules>;
|
package/dist/types/components/Business/mapping/businessDetails/businessDetailsKeyMappings.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { LegalEntity } from '../../../../core/models/api/legal-entity';
|
|
2
2
|
import type { DocumentMappingRecord, MappingRecord } from '../../../../utils/mapping/mappingRecord';
|
|
3
3
|
import type { BusinessDetailsSchema } from '../../forms/BusinessDetails/types';
|
|
4
|
-
export declare const businessDetailsComponentsKeyMapping: MappingRecord<Omit<BusinessDetailsSchema, 'companyRegistrationDocument' | 'companyTaxDocument' | 'companyProofOfDirectorDocument' | 'companyProofOfSignatoryDocument' | 'companyConstitutionalDocument'>, Pick<LegalEntity, 'organization'>>;
|
|
4
|
+
export declare const businessDetailsComponentsKeyMapping: MappingRecord<Omit<BusinessDetailsSchema, 'companyRegistrationDocument' | 'companyTaxDocument' | 'companyProofOfDirectorDocument' | 'companyProofOfSignatoryDocument' | 'companyConstitutionalDocument' | 'companyProofOfOwnershipDocument'>, Pick<LegalEntity, 'organization'>>;
|
|
5
5
|
export declare const businessDetailsApiKeyMapping: MappingRecord<Pick<LegalEntity, 'organization'>, BusinessDetailsSchema>;
|
|
6
6
|
/**
|
|
7
7
|
* Base api mappings do not contain document mappings as the api used for document upload is different
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { LegalEntity } from '../../../../core/models/api/legal-entity';
|
|
2
2
|
import type { DocumentMappingRecord, MappingRecord } from '../../../../utils/mapping/mappingRecord';
|
|
3
3
|
import type { BusinessDetailsSchema } from '../../forms/BusinessDetails/types';
|
|
4
|
-
export declare const solePropBusinessDetailsKeyMapping: MappingRecord<Omit<BusinessDetailsSchema, 'companyRegistrationDocument' | 'companyTaxDocument' | 'companyProofOfDirectorDocument' | 'companyProofOfSignatoryDocument' | 'companyConstitutionalDocument'>, Pick<LegalEntity, 'soleProprietorship'>>;
|
|
4
|
+
export declare const solePropBusinessDetailsKeyMapping: MappingRecord<Omit<BusinessDetailsSchema, 'companyRegistrationDocument' | 'companyTaxDocument' | 'companyProofOfDirectorDocument' | 'companyProofOfSignatoryDocument' | 'companyProofOfOwnershipDocument' | 'companyConstitutionalDocument'>, Pick<LegalEntity, 'soleProprietorship'>>;
|
|
5
5
|
export declare const solePropBusinessDetailsApiKeyMapping: MappingRecord<Pick<LegalEntity, 'soleProprietorship'>, BusinessDetailsSchema>;
|
|
6
6
|
export declare const solePropBusinessDetailsDocumentMapping: DocumentMappingRecord<BusinessDetailsSchema>;
|
|
7
7
|
export declare const remediationSolePropBusinessDetailsApiKeyMapping: MappingRecord<Pick<LegalEntity, 'soleProprietorship'>, BusinessDetailsSchema> & DocumentMappingRecord<BusinessDetailsSchema>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { BusinessDetailsSchema } from '../forms/BusinessDetails/types';
|
|
2
|
+
interface RootBusinessDetailsPageProps {
|
|
3
|
+
isTargetLegalEntityType?: boolean;
|
|
4
|
+
handleHomeClick(): void;
|
|
5
|
+
onSubmit?(dataSubmitted: BusinessDetailsSchema): void;
|
|
6
|
+
}
|
|
7
|
+
export declare const RootBusinessDetailsPage: ({ isTargetLegalEntityType, onSubmit, handleHomeClick, }: RootBusinessDetailsPageProps) => import("preact/jsx-runtime").JSX.Element;
|
|
8
|
+
export {};
|
|
@@ -17,8 +17,7 @@ import type { DropinProps } from '../../../EmbeddedDropins/OnboardingDropinCompo
|
|
|
17
17
|
import type { TrustMember } from '../../../Trust/tasks/TrustMembers/types';
|
|
18
18
|
import type { UnincorporatedPartnershipMember } from '../../../UnincorporatedPartnership/tasks/UnincorporatedPartnershipMembers/types';
|
|
19
19
|
import type { BusinessDetailsProps, BusinessDetailsSchema } from '../../forms/BusinessDetails/types';
|
|
20
|
-
|
|
21
|
-
export interface BusinessDetailsDropinProps extends Omit<BusinessDetailsDropin, 'verifyTin'>, DropinProps {
|
|
20
|
+
export interface BusinessDetailsDropinProps extends Omit<BusinessDetailsProps, 'isTopLevelEntity' | 'handleNextClick' | 'showCompanyStructure' | 'showBusinessSelection' | 'searching' | 'fetching' | 'verifying' | 'resettingTrustedData' | 'searchResults' | 'invalidTin' | 'resetTinVerification' | 'verifiedBusiness' | 'fetchBusinessData' | 'proceedToManualDataEntry' | 'setShowBusinessSelection' | 'setShowCompanyStructure' | 'verifyTin'>, DropinProps {
|
|
22
21
|
taskName: TranslationKey;
|
|
23
22
|
legalEntityResponse: ExistingLegalEntity;
|
|
24
23
|
associatedLegalArrangement?: ExistingLegalEntity;
|
|
@@ -56,4 +55,3 @@ export interface SubmitProps {
|
|
|
56
55
|
isExperimentEnabled: (key: ExperimentName) => boolean;
|
|
57
56
|
userEvents: UserEvents;
|
|
58
57
|
}
|
|
59
|
-
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { BusinessFinancingSchema } from '../tasks/BusinessFinancingDropin/types';
|
|
2
|
+
interface BusinessFinancingPageProps {
|
|
3
|
+
onSubmit(data: BusinessFinancingSchema): void;
|
|
4
|
+
handleHomeClick(): void;
|
|
5
|
+
}
|
|
6
|
+
export declare const BusinessFinancingPage: ({ onSubmit, handleHomeClick, }: BusinessFinancingPageProps) => import("preact/jsx-runtime").JSX.Element;
|
|
7
|
+
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { SourceOfFundsSchema } from '../tasks/SourceOfFundsDropin/types';
|
|
2
|
+
interface SourceOfFundsPageProps {
|
|
3
|
+
onSubmit(data: SourceOfFundsSchema): void;
|
|
4
|
+
handleHomeClick(): void;
|
|
5
|
+
}
|
|
6
|
+
export declare const SourceOfFundsPage: ({ onSubmit, handleHomeClick }: SourceOfFundsPageProps) => import("preact/jsx-runtime").JSX.Element;
|
|
7
|
+
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { DropinComposerProps } from './types';
|
|
2
|
-
export declare function DropinComposer({ legalEntityResponse, onSubmit,
|
|
2
|
+
export declare function DropinComposer({ legalEntityResponse, onSubmit, onNavigate, openBankingPartnerConfigId, }: DropinComposerProps): import("preact/jsx-runtime").JSX.Element;
|
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
import type { ProviderExtractionResponse } from '../../../../../api/idVerificationProviders/useExtractDocumentInformation';
|
|
2
1
|
import type { BaseInnerFormProps } from '../../../../../hooks/useForm/types';
|
|
3
2
|
import type { IdDocumentUploadSchema } from '../../Individual/IdDocumentUpload/types';
|
|
4
3
|
export type IdVerificationMethodType = 'instantVerification' | 'manualVerification' | 'existingDocument';
|
|
5
4
|
export interface IdVerificationMethodSchema {
|
|
6
5
|
idVerificationMethod?: IdVerificationMethodType;
|
|
7
|
-
ocrExtractedData?: ProviderExtractionResponse;
|
|
8
6
|
idDocument?: IdDocumentUploadSchema;
|
|
9
7
|
}
|
|
10
8
|
export interface IdVerificationMethodProps {
|
|
@@ -10,6 +10,7 @@ import type { DocumentUploadSchema } from '../../../Shared/forms/DocumentUpload/
|
|
|
10
10
|
import type { TaskTypes } from '../../../../stores/globalStore/taskTypes';
|
|
11
11
|
import type { DropinProps } from '../../../EmbeddedDropins/OnboardingDropinComponent/DropinComposer/types';
|
|
12
12
|
import type { TrustMember } from '../../../Trust/tasks/TrustMembers/types';
|
|
13
|
+
import type { UnincorporatedPartnershipMember } from '../../../UnincorporatedPartnership/tasks/UnincorporatedPartnershipMembers/types';
|
|
13
14
|
import type { IdDocumentUploadSchema } from '../Individual/IdDocumentUpload/types';
|
|
14
15
|
import type { AdditionalPersonalDetailsSchema } from './AdditionalPersonalDetails/AdditionalPersonalDetails.types';
|
|
15
16
|
import type { BasicDetailsSchema } from './BasicDetails/BasicDetails.types';
|
|
@@ -47,7 +48,7 @@ export interface IndividualOnfidoProps extends BaseOuterFormProps<IndividualOnfi
|
|
|
47
48
|
export interface IndividualOnfidoDropinProps extends Omit<IndividualOnfidoProps, 'legalEntityId' | 'accountHolder' | 'forms' | 'activeForm' | 'defaultCountry'>, DropinProps {
|
|
48
49
|
taskName: 'individualDetails' | 'decisionMakerDetails' | 'legalRepresentativeDetails' | 'trustMemberDetails' | 'individualTrusteeDetails' | 'partnershipMemberDetails' | 'companyOwnerDetails';
|
|
49
50
|
legalEntityResponse?: ExistingLegalEntity;
|
|
50
|
-
trustMember?: TrustMember;
|
|
51
|
+
trustMember?: TrustMember | UnincorporatedPartnershipMember;
|
|
51
52
|
isTargetLegalEntityType?: boolean;
|
|
52
53
|
country: CountryCode;
|
|
53
54
|
onSubmit?(dataSubmitted: IndividualOnfidoSchema): void;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { LegalEntityAssociation } from '../../../core/models/api/legal-entity-association';
|
|
2
|
+
import type { TrustedFieldsProvider } from '../../../core/models/api/trusted-fields-provider';
|
|
3
|
+
import { TaskTypes } from '../../../stores/globalStore/taskTypes';
|
|
4
|
+
import type { DropinProps } from '../../EmbeddedDropins/OnboardingDropinComponent/DropinComposer/types';
|
|
5
|
+
import type { IndividualProps, IndividualSchema } from '../forms/Individual/types';
|
|
6
|
+
import type { IndividualOnfidoProps } from '../forms/IndividualOnfido/IndividualOnfido.types';
|
|
7
|
+
interface DecisionMakerDetailsPageProps extends DropinProps {
|
|
8
|
+
decisionMakerId: string | undefined;
|
|
9
|
+
parentCompanyId: string;
|
|
10
|
+
taskType?: TaskTypes.DECISION_MAKER | TaskTypes.TRUST_MEMBER_COMPANY_OWNER | TaskTypes.UNINCORPORATED_PARTNERSHIP_MEMBER_COMPANY_OWNER;
|
|
11
|
+
asModal?: boolean;
|
|
12
|
+
hideSidebar?: boolean;
|
|
13
|
+
isTargetLegalEntityType?: boolean;
|
|
14
|
+
onSubmit?(dataSubmitted: IndividualSchema): void;
|
|
15
|
+
trustedFields?: IndividualProps['trustedFields'] | IndividualOnfidoProps['trustedFields'];
|
|
16
|
+
trustedFieldsProvider?: TrustedFieldsProvider;
|
|
17
|
+
trustedRoles?: Array<LegalEntityAssociation['type']>;
|
|
18
|
+
}
|
|
19
|
+
export declare function DecisionMakerDetailsPage({ decisionMakerId, parentCompanyId, taskType, asModal, hideSidebar, isTargetLegalEntityType, onSubmit, trustedFields, trustedFieldsProvider, trustedRoles, handleBackClick, handleCloseClick, handleHomeClick, }: DecisionMakerDetailsPageProps): import("preact/jsx-runtime").JSX.Element;
|
|
20
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { DropinProps } from '../../EmbeddedDropins/OnboardingDropinComponent/DropinComposer/types';
|
|
2
|
+
import type { IndividualSchema } from '../forms/Individual/types';
|
|
3
|
+
interface LegalRepresentativeDetailsPageProps extends DropinProps {
|
|
4
|
+
legalRepresentativeId: string | undefined;
|
|
5
|
+
asModal?: boolean;
|
|
6
|
+
hideSidebar?: boolean;
|
|
7
|
+
onSubmit?(dataSubmitted: IndividualSchema): void;
|
|
8
|
+
}
|
|
9
|
+
export declare function LegalRepresentativeDetailsPage({ legalRepresentativeId, asModal, hideSidebar, onSubmit,
|
|
10
|
+
/** below from {@link DropinProps} */
|
|
11
|
+
handleBackClick, handleCloseClick, handleHomeClick, }: LegalRepresentativeDetailsPageProps): import("preact/jsx-runtime").JSX.Element;
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { TrustedFieldsProvider } from '../../../core/models/api/trusted-fields-provider';
|
|
2
|
+
import type { DropinProps } from '../../EmbeddedDropins/OnboardingDropinComponent/DropinComposer/types';
|
|
3
|
+
import type { IndividualProps, IndividualSchema } from '../forms/Individual/types';
|
|
4
|
+
import type { IndividualOnfidoProps } from '../forms/IndividualOnfido/IndividualOnfido.types';
|
|
5
|
+
interface RootIndividualDetailsPageProps extends DropinProps {
|
|
6
|
+
asModal?: boolean;
|
|
7
|
+
hideSidebar?: boolean;
|
|
8
|
+
isTargetLegalEntityType?: boolean;
|
|
9
|
+
onSubmit?(dataSubmitted: IndividualSchema): void;
|
|
10
|
+
trustedFields?: IndividualProps['trustedFields'] | IndividualOnfidoProps['trustedFields'];
|
|
11
|
+
trustedFieldsProvider?: TrustedFieldsProvider;
|
|
12
|
+
}
|
|
13
|
+
export declare function RootIndividualDetailsPage({ asModal, hideSidebar, isTargetLegalEntityType, onSubmit, trustedFields, trustedFieldsProvider,
|
|
14
|
+
/** below from {@link DropinProps} */
|
|
15
|
+
handleBackClick, handleCloseClick, handleHomeClick, }: RootIndividualDetailsPageProps): import("preact/jsx-runtime").JSX.Element;
|
|
16
|
+
export {};
|
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
import type { CapabilityProblems } from '../../../../core/models/errors/capability-problems';
|
|
2
1
|
import type { UniqueEntityAssociation } from '../../../Shared/EntityAssociation/types';
|
|
3
2
|
export interface DecisionMakersProps {
|
|
4
3
|
onNavigateToIndividual(legalEntityId?: string): void;
|
|
5
4
|
navigateBackToTaskList(): void;
|
|
6
|
-
capabilityProblems: CapabilityProblems;
|
|
7
5
|
trustedEntityAssociations?: Array<Partial<UniqueEntityAssociation>>;
|
|
8
6
|
}
|
|
@@ -3,9 +3,11 @@ import type { JSX } from 'preact';
|
|
|
3
3
|
import type { ExistingLegalEntity } from '../../../core/models/api/legal-entity';
|
|
4
4
|
import type { TaskTypes } from '../tasks/TaskList/types';
|
|
5
5
|
interface IntroductionProps {
|
|
6
|
-
legalEntity: ExistingLegalEntity;
|
|
7
6
|
onExitIntroduction: () => void;
|
|
8
7
|
tasks: TaskTypes[];
|
|
9
8
|
}
|
|
10
|
-
export declare
|
|
9
|
+
export declare function Introduction({ onExitIntroduction, tasks }: IntroductionProps): JSX.Element;
|
|
10
|
+
export declare const IntroductionInner: ({ legalEntity, onExitIntroduction, tasks, }: IntroductionProps & {
|
|
11
|
+
legalEntity: ExistingLegalEntity;
|
|
12
|
+
}) => JSX.Element | null;
|
|
11
13
|
export {};
|