@adyen/kyc-components 4.30.0 → 4.31.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AcceptTermsOfServiceWorkflow-CWWWUerA.js → AcceptTermsOfServiceWorkflow-1Ox7iGEe.js} +4 -4
- package/dist/{Accordion-S_jsZpAF.js → Accordion-C0gcRu_3.js} +1 -1
- package/dist/{AccountSetupRejected-C4OsabS9.js → AccountSetupRejected-DCK8Xro1.js} +1 -1
- package/dist/{AdaptiveWorkflow-S2GeT5qn.js → AdaptiveWorkflow-C8PtI68B.js} +28 -26
- package/dist/{AdaptiveWorkflowComponent-C4oTF9yd.js → AdaptiveWorkflowComponent-C3ZPDxiN.js} +59 -100
- package/dist/{Address-DDgwHNJf.js → Address-rNRqAbdQ.js} +10 -10
- package/dist/{AddressFieldGroup-WEGTyvkH.js → AddressFieldGroup-BBiDkdrs.js} +6 -6
- package/dist/{Avatar-BJuZToXf.js → Avatar-DTJuz0ck.js} +1 -1
- package/dist/{BusinessFinancingDropin-B7AYovvB.js → BusinessFinancingDropin-ELECc88m.js} +28 -28
- package/dist/{BusinessFinancingPage-BtF5XDxw.js → BusinessFinancingPage-gTyAE3bI.js} +30 -30
- package/dist/{BusinessRegistrationNumberField-CxTbBtPY.js → BusinessRegistrationNumberField-GqO9OSKN.js} +5 -5
- package/dist/{BusinessRegistrationNumberFieldGroup-DGqg0-CN.js → BusinessRegistrationNumberFieldGroup-HE2tXecx.js} +5 -5
- package/dist/{BusinessTypeSelectionPage-Co_HiNtN.js → BusinessTypeSelectionPage-BOb9qJ1m.js} +14 -14
- package/dist/{Button-vp4Z9L5X.js → Button-DWI7t80R.js} +1 -1
- package/dist/{Checkbox-sLYY_7rw.js → Checkbox-RO6qc2BH.js} +2 -2
- package/dist/{CheckboxField-DnXPfhn-.js → CheckboxField-B4nN4CYa.js} +3 -3
- package/dist/{ComponentGroup-D9qbj9S4.js → ComponentGroup-DnPHEJ-0.js} +2 -2
- package/dist/{ConstitutionalDocument-bi1jXr7Y.js → ConstitutionalDocument-A5Ll8xYq.js} +51 -513
- package/dist/{ContactDetails-0iFvuqMf.js → ContactDetails-OYjryiiF.js} +5 -5
- package/dist/{ContextGuidance-DCR6CiDu.js → ContextGuidance-DtvKs9V4.js} +2 -2
- package/dist/{CountryField-CNHNl66N.js → CountryField-BPwKanNq.js} +4 -4
- package/dist/{Currency-BGgGN-46.js → Currency-Bp-uXhlf.js} +7 -7
- package/dist/{CustomerSupport-Db77ed_U.js → CustomerSupport-CfGgK99M.js} +17 -17
- package/dist/{DateField-B0KBFo2X.js → DateField-CgY3LlCE.js} +4 -4
- package/dist/{DebugModal-4mydgFnH.js → DebugModal-x9xglpzu.js} +11 -11
- package/dist/{DecisionMakerDetails-Pjs0fWLW.js → DecisionMakerDetails-BWqvdkD_.js} +15 -15
- package/dist/{DecisionMakerDetailsPage-DJAOahfC.js → DecisionMakerDetailsPage-BZ1zaYlf.js} +11 -11
- package/dist/{DecisionMakers-nWpN0PBp.js → DecisionMakers-Ce-QeQMf.js} +20 -20
- package/dist/{Dropzone-DhE_OS1B.js → Dropzone-COAe_Bsj.js} +7 -7
- package/dist/{EmailField-DZSAhb9E.js → EmailField-D5wGDZNp.js} +4 -4
- package/dist/{EmbeddedStatus-CcpWHXh2.js → EmbeddedStatus-CeEHfc6_.js} +1 -1
- package/dist/{EndStateLayout-BOwRY9BY.js → EndStateLayout-Cimb5t8g.js} +2 -2
- package/dist/{EntityAssociation-Bc4hELRD.js → EntityAssociation-4W8nc_n_.js} +5 -5
- package/dist/{ErrorPanel-IxCFwWiH.js → ErrorPanel-DHnXN57Y.js} +4 -4
- package/dist/{GlobalEntryModal-CFuPhARY.js → GlobalEntryModal-ClosOhb3.js} +168 -223
- package/dist/{GlobalEntryPage-C6sVz-_2.js → GlobalEntryPage-BokhDN4G.js} +8 -8
- package/dist/{Icon-BUUfrhKE.js → Icon-De8AgnGr.js} +1 -1
- package/dist/{IdentityNumber-BXEyoxAP.js → IdentityNumber-DAL3GvXY.js} +4 -4
- package/dist/{IdentityNumberFieldGroup-DNrfFdHD.js → IdentityNumberFieldGroup-CWJEKI4C.js} +2 -2
- package/dist/{IdentityScreeningWorkflow-Do7K-PMQ.js → IdentityScreeningWorkflow-DjPaSre1.js} +13 -13
- package/dist/{IndividualDropin-B5-uplEa.js → IndividualDropin--JwL0ot7.js} +42 -42
- package/dist/{IndustryCodeFieldGroup-BE7ATsMh.js → IndustryCodeFieldGroup-MzSIJH3q.js} +5 -5
- package/dist/{InputDate-N1IkNng2.js → InputDate-wdbfeIg4.js} +1 -1
- package/dist/{Introduction-C7Wys5IW.js → Introduction-CWUJuMfc.js} +8 -8
- package/dist/{InvitedDecisionMakerComponent-DZwCUtav.js → InvitedDecisionMakerComponent-D58VqyHH.js} +65 -65
- package/dist/{JpAddress-B34ycvlA.js → JpAddress-DqUItQoR.js} +8 -8
- package/dist/{LegalCompanyNameField-wP-dBOg_.js → LegalCompanyNameField-yRDSVtsc.js} +11 -11
- package/dist/{LegalRepresentativeDetailsPage-CeaeYzbN.js → LegalRepresentativeDetailsPage-B4VpMRV7.js} +6 -6
- package/dist/{Link-k2lK2k_D.js → Link-CHOUFKjC.js} +1 -1
- package/dist/{ListItem-x7YV4uwv.js → ListItem-DRm59KnY.js} +2 -2
- package/dist/{Name-CqnlZ0s1.js → Name-WN5MIEV9.js} +3 -3
- package/dist/{NumberField-CmlNKCtC.js → NumberField-CiKRl2_3.js} +4 -4
- package/dist/{PatriotActDisclosure-DrzLipYG.js → PatriotActDisclosure-ZpcCImsC.js} +10 -10
- package/dist/{PayoutDetailsDropin-C4k7hSiO.js → PayoutDetailsDropin-CTywpLDP.js} +29 -29
- package/dist/{PayoutDetailsPage-B0l5h-tk.js → PayoutDetailsPage-DMndwPcV.js} +6 -6
- package/dist/{PhoneField-CSi9JPJ1.js → PhoneField-COAXvD3H.js} +4 -4
- package/dist/{PhoneNumberFieldGroup-9SNt3GXi.js → PhoneNumberFieldGroup-0LbXysBO.js} +4 -4
- package/dist/{RadioGroup-BNp0YodN.js → RadioGroup-DHRg0hze.js} +2 -2
- package/dist/{Review-BekwQ1-b.js → Review-C1qBpTve.js} +5 -5
- package/dist/{RootBusinessDetailsPage-DkyTEqWb.js → RootBusinessDetailsPage-CQeq6uLk.js} +5 -5
- package/dist/{RootBusinessLinesPage-CPui_QJm.js → RootBusinessLinesPage-ByxgttUs.js} +24 -24
- package/dist/{RootIndividualDetailsPage-DB2nBPZh.js → RootIndividualDetailsPage-D8JZo36p.js} +8 -8
- package/dist/{Select-BYM1s0SR.js → Select-CLYTuWjz.js} +4 -4
- package/dist/{SignPCIComponent-95iGCFka.js → SignPCIComponent-ZJuN4lK0.js} +66 -66
- package/dist/{SingpassSelection-ByICeafs.js → SingpassSelection-BU6xXP0u.js} +5 -5
- package/dist/{SingpassSelectionCTA-QVI_SPnZ.js → SingpassSelectionCTA-Cbpk58xO.js} +1 -1
- package/dist/{SoleProprietorshipPage-BDCARnz8.js → SoleProprietorshipPage-BZLC-iJd.js} +6 -6
- package/dist/{SourceOfFundsPage-DNOtZApe.js → SourceOfFundsPage-D7i5i7v6.js} +24 -24
- package/dist/{SourceOfFundsWorkflow-DoUV5kuZ.js → SourceOfFundsWorkflow-_Cd4RmPV.js} +4 -4
- package/dist/{StateField-pfHJ3wc0.js → StateField-CA2UkDcr.js} +4 -4
- package/dist/{Step-BDdVAaUB.js → Step-BSJr-vKN.js} +3 -3
- package/dist/{Summary-BGJg2N2d.js → Summary-DMKs3lsA.js} +1 -1
- package/dist/{SummarySection-B8UrHjRz.js → SummarySection-C9h2GmND.js} +3 -3
- package/dist/{Task-D9pMZvHp.js → Task-BsrrCyIk.js} +7 -7
- package/dist/{TaskGroup-BGomYm3T.js → TaskGroup-uKZOCbOD.js} +2 -2
- package/dist/{TaskListItem-Cf0xjUUF.js → TaskListItem-BRTtF_s8.js} +9 -9
- package/dist/{TaskStepperContextProvider-BsSwuAhK.js → TaskStepperContextProvider-Dbvk2y8P.js} +1 -1
- package/dist/{TaskVerificationStatus-CD4crHO5.js → TaskVerificationStatus-C0upgyS1.js} +1 -1
- package/dist/{TaxInformationField-BzIH2FfA.js → TaxInformationField-oKwNoo_x.js} +7 -7
- package/dist/{TaxInformationFieldGroup-BiThmZhY.js → TaxInformationFieldGroup-C8tvL39u.js} +6 -6
- package/dist/{TaxReportingDropin-zPF3kMOR.js → TaxReportingDropin-BZPuBSEe.js} +16 -16
- package/dist/{TaxReportingWorkflow-Do0HKfIR.js → TaxReportingWorkflow-BPY2ttmY.js} +4 -4
- package/dist/{TermsOfServiceManagement-C8FAXlkm.js → TermsOfServiceManagement-Bt-3NTpd.js} +67 -67
- package/dist/{TextArea-DMdihMip.js → TextArea-C6hbugel.js} +3 -3
- package/dist/{TextField-BVvG-P7B.js → TextField-BBUF61tP.js} +5 -5
- package/dist/{TrustDetailsPage-BcJoXRJs.js → TrustDetailsPage-urbo7Iw2.js} +30 -29
- package/dist/{TrustMemberCompanyPage-CvieeIw3.js → TrustMemberCompanyPage-CFPRtBUQ.js} +8 -8
- package/dist/{TrustMemberIndividualPage-DPzyZI6B.js → TrustMemberIndividualPage-B0n0xvC8.js} +7 -7
- package/dist/{TrustMemberRoleAndTypePage-CeCah30G.js → TrustMemberRoleAndTypePage-BG4unfr9.js} +23 -23
- package/dist/{TrustMembersOverview-BrOqQ46k.js → TrustMembersOverview-C1-Q5hlJ.js} +18 -18
- package/dist/{UboTaskItem-tNvXCuPv.js → UboTaskItem-B_0_8SUD.js} +7 -7
- package/dist/{UnincorporatedPartnershipIndividualPage-BPrZeROd.js → UnincorporatedPartnershipIndividualPage-TCQB1RHg.js} +6 -6
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-VXyg0_m_.js → UnincorporatedPartnershipMemberCompanyPage-DX1Vr8m9.js} +7 -7
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-Dpa9Inis.js → UnincorporatedPartnershipMemberRoleAndTypePage-Lvv8Uaqk.js} +11 -11
- package/dist/{UnincorporatedPartnershipMembersOverview-CdfTYswG.js → UnincorporatedPartnershipMembersOverview-jbWcJy0h.js} +9 -9
- package/dist/UpgradeWorkflowHarness-xRABALbm.js +343 -0
- package/dist/VatNumberField-DEUdBLME.js +91 -0
- package/dist/{VerificationErrorAlert-Bz_3OAd2.js → VerificationErrorAlert-Co87qXsf.js} +2 -2
- package/dist/{WebsiteField-hmouBO45.js → WebsiteField-BoSCUoXF.js} +5 -5
- package/dist/{Workflow-DBQJmngz.js → Workflow-BkD6erOB.js} +6 -6
- package/dist/WorkflowContextProvider-X1_FR-kg.js +50 -0
- package/dist/{accountHolderUtils-CXc6TCt3.js → accountHolderUtils-Bcn5T0c7.js} +15 -5
- package/dist/adyen-business-financing.js +56 -56
- package/dist/adyen-individual-configuration.js +57 -57
- package/dist/adyen-individual-status.js +30 -30
- package/dist/adyen-invited-decision-maker.js +3 -3
- package/dist/adyen-onboarding.js +116 -83
- package/dist/adyen-terms-of-service-management.js +3 -3
- package/dist/adyen-terms-of-service-status.js +28 -28
- package/dist/adyen-transfer-instrument-configuration.js +56 -56
- package/dist/adyen-transfer-instrument-management.js +61 -61
- package/dist/adyen-verification-status.js +3 -3
- package/dist/{bafinUtils-B_pmmlnO.js → bafinUtils-Bkry3h1I.js} +13 -13
- package/dist/{bg-BG-CzXoDIev.js → bg-BG-Bs9UD_76.js} +1 -2
- package/dist/{bg-BG-DebonNJt.js → bg-BG-g5L9hXxZ.js} +2 -2
- package/dist/{constants-DejfEMlT.js → constants-CmAb-Fua.js} +4 -4
- package/dist/{cs-CZ-JUprtMsH.js → cs-CZ-BT362m-5.js} +1 -2
- package/dist/cs-CZ-DbEK00TR.js +7 -0
- package/dist/{da-DK-D2RrHm98.js → da-DK-94-4BlJ1.js} +1 -2
- package/dist/da-DK-DbPVTdZA.js +7 -0
- package/dist/de-DE-D6FSbvz5.js +7 -0
- package/dist/{de-DE-o8i-cfnA.js → de-DE-jfNFZmBX.js} +1 -2
- package/dist/{decisionMakerRoles-DA8MK9Dh.js → decisionMakerRoles-C7nyyNlQ.js} +2 -2
- package/dist/{dropinUtils-B2xvCIno.js → dropinUtils-CGo4i0eO.js} +8 -8
- package/dist/{el-GR-B1hmNhai.js → el-GR-BRGYMKtU.js} +2 -2
- package/dist/{el-GR-BAhj1djs.js → el-GR-D6PNRFM6.js} +1 -2
- package/dist/{en-US-CO9xzDL5.js → en-US-C2SKoh7u.js} +7 -1
- package/dist/en-US-CrZ7wUat.js +7 -0
- package/dist/{en-US-B7V_rOZV.js → en-US-CyWOSDHS.js} +8 -1
- package/dist/{en-US-7Uo1OcXR.js → en-US-DF69ko1f.js} +2 -1
- package/dist/{entityAssociationUtil-BlfcBl3i.js → entityAssociationUtil-CRDwmwij.js} +1 -1
- package/dist/{error-Bjcwqp65.js → error-t__pmbMd.js} +2 -2
- package/dist/{es-ES-BNjxmV8Q.js → es-ES-DHaG98qJ.js} +1 -2
- package/dist/es-ES-DqBZFIGq.js +7 -0
- package/dist/{es-LA-BIPVrwXX.js → es-LA-BaTWuGkU.js} +1 -2
- package/dist/es-LA-BuqtxO_H.js +7 -0
- package/dist/et-EE-CWVrHqpJ.js +7 -0
- package/dist/{et-EE-Dl6n-Am8.js → et-EE-Cfy8GsHl.js} +1 -2
- package/dist/{fi-FI-T33BAikx.js → fi-FI-1hQjycvC.js} +1 -2
- package/dist/fi-FI-BREWmeq-.js +7 -0
- package/dist/{fieldConfig-uzagYJgr.js → fieldConfig-BjMXD9Os.js} +2 -2
- package/dist/fieldConfig-CVoa-IQR.js +493 -0
- package/dist/{formatDataForSummary-BEqe_mIp.js → formatDataForSummary-BDyTZnMn.js} +14 -14
- package/dist/{formatValidationError-Dq1117uY.js → formatValidationError-C51QCCmv.js} +1 -1
- package/dist/{fr-FR-CXeNPDQd.js → fr-FR-B-v9MOMJ.js} +2 -2
- package/dist/{fr-FR-CRO4taJU.js → fr-FR-Cr8g5esP.js} +1 -2
- package/dist/{getDefaultRegistrationNumberType-DRhp_dwJ.js → getDefaultRegistrationNumberType-BJmXB5bM.js} +4 -4
- package/dist/{getFormSlice-BgJ8RcQi.js → getFormSlice-B-mNQVjl.js} +2 -2
- package/dist/{getName-Cii7OyRd.js → getName-Cp2NR9mO.js} +1 -1
- package/dist/{getProblemsForEntity-DcaoqelX.js → getProblemsForEntity-CC3MwC_t.js} +3 -3
- package/dist/{getTrustedDecisionMakers-Bnta4qQy.js → getTrustedDecisionMakers-DuvbxMfO.js} +1 -1
- package/dist/{getValidationError-CZ_yHMCc.js → getValidationError-xH5-4V8h.js} +1 -1
- package/dist/{handleCompanyDataset-Dbqw3gJA.js → handleCompanyDataset-CkfCunET.js} +1 -1
- package/dist/{hr-HR-CbEXwWeO.js → hr-HR-DutOZxI6.js} +1 -2
- package/dist/hr-HR-XfLd6Unz.js +7 -0
- package/dist/{hu-HU-B9JCbRow.js → hu-HU-D2tnSSHX.js} +1 -2
- package/dist/hu-HU-kGMN_cUC.js +7 -0
- package/dist/{invalidateRootLegalEntity-CGVbKyHP.js → invalidateRootLegalEntity-D8yAW4xw.js} +1 -1
- package/dist/{it-IT-tRPXH6lL.js → it-IT-DHPpjEW5.js} +2 -2
- package/dist/{it-IT-DE_Dkl_X.js → it-IT-T1oxWO_8.js} +1 -2
- package/dist/ja-JP-FF6js874.js +7 -0
- package/dist/{ja-JP-BaD-vLXo.js → ja-JP-OwVmVzBT.js} +1 -2
- package/dist/lt-LT-8EaiWMuc.js +7 -0
- package/dist/{lt-LT-5OY6az4F.js → lt-LT-CMPaSRJP.js} +1 -2
- package/dist/lv-LV-BtlmePQP.js +7 -0
- package/dist/{lv-LV-DjAUG4pi.js → lv-LV-kV4YvLbr.js} +1 -2
- package/dist/{mapAddressLocalizationToJpAddressSchema-BJYqPUdi.js → mapAddressLocalizationToJpAddressSchema-DUbhUNLR.js} +2 -2
- package/dist/{mapTransferInstrumentToPayoutAccount-DjhuDoHf.js → mapTransferInstrumentToPayoutAccount-DXzD0ngR.js} +2 -2
- package/dist/{nl-NL-C3cXv5PD.js → nl-NL-BKKrxXgX.js} +1 -2
- package/dist/nl-NL-DrlRcYtb.js +7 -0
- package/dist/no-NO-BP1C84Xm.js +7 -0
- package/dist/{no-NO-DyMlgewS.js → no-NO-Bnaxpdi9.js} +1 -2
- package/dist/{pl-PL-ClUTW9pd.js → pl-PL-CH45L3wZ.js} +1 -2
- package/dist/pl-PL-sert1luk.js +7 -0
- package/dist/{processCapabilities-CutEW5Qr.js → processCapabilities-CPLNSNGJ.js} +3 -1
- package/dist/{processValidationErrors-UKpdxcdP.js → processValidationErrors-DMZp4nUE.js} +4 -4
- package/dist/pt-BR-Dgep8Iig.js +7 -0
- package/dist/{pt-BR-Bk2xOhdi.js → pt-BR-IssZVQBa.js} +1 -2
- package/dist/pt-PT-CLZ7sArD.js +7 -0
- package/dist/{pt-PT-5O7ohkQD.js → pt-PT-Cw30Oeni.js} +1 -2
- package/dist/{registerEmbed-CB38-4Qc.js → registerEmbed-DuDvuoDA.js} +53 -46
- package/dist/ro-RO-CdF6jNH_.js +7 -0
- package/dist/{ro-RO-BOV_LMAu.js → ro-RO-Cj6ecr81.js} +1 -2
- package/dist/{roleMetadata-2KdSNgp2.js → roleMetadata-C_wMFcxA.js} +2 -2
- package/dist/{sk-SK-BUGTKkOC.js → sk-SK-C26VGn8D.js} +1 -2
- package/dist/sk-SK-DE2IMutK.js +7 -0
- package/dist/{sl-SI-DffYWi9P.js → sl-SI-B-_Pi92n.js} +1 -2
- package/dist/sl-SI-CH_4-fxJ.js +7 -0
- package/dist/sv-SE-BzKAgv9l.js +7 -0
- package/dist/{sv-SE-D_bagacj.js → sv-SE-dsMtqJhC.js} +1 -2
- package/dist/{taskTypes-3vSkMBDm.js → taskTypes-DIxF6w12.js} +3 -2
- package/dist/types/adaptiveWorkflow/component-registry.d.ts +3 -0
- package/dist/types/adaptiveWorkflow/components/Fields/VatNumberField/VatNumberField.d.ts +8 -0
- package/dist/types/adaptiveWorkflow/components/Fields/VatNumberField/contextMap.d.ts +19 -0
- package/dist/types/adaptiveWorkflow/context/FormSubmissionContext/implementations/RemediationSubmissionProvider.d.ts +9 -0
- package/dist/types/api/address/useAddressCleanse.d.ts +2 -2
- package/dist/types/api/address/useRetrieveAddress.d.ts +1 -1
- package/dist/types/api/address/useRetrieveFromPostcodeJp.d.ts +1 -1
- package/dist/types/api/legalEntity/useLegalEntity.d.ts +1 -0
- package/dist/types/api/transferInstruments/accountIdentification.types.d.ts +1 -4
- package/dist/types/components/Business/forms/rules.d.ts +1 -0
- package/dist/types/components/Business/mapping/businessDetails/mapBusinessDetailsSchemaToLegalEntity.d.ts +1 -2
- package/dist/types/components/EFP/upgradeFlow/UpgradeWorkflowHarness.d.ts +6 -0
- package/dist/types/components/EFP/upgradeFlow/hooks/useUpgradeWorkflowState.d.ts +6 -0
- package/dist/types/components/EFP/upgradeFlow/logic/issues/missingOrganizationTaxInfo.d.ts +2 -0
- package/dist/types/components/EFP/upgradeFlow/logic/models/accessors.d.ts +6 -0
- package/dist/types/components/EFP/upgradeFlow/logic/models/issueDef.d.ts +16 -0
- package/dist/types/components/EFP/upgradeFlow/logic/models/mutators.d.ts +4 -0
- package/dist/types/components/EFP/upgradeFlow/logic/models/remediationDef.d.ts +26 -0
- package/dist/types/components/EFP/upgradeFlow/logic/models/workflow.d.ts +35 -0
- package/dist/types/components/EFP/upgradeFlow/logic/remediations/provideOrganizationTaxInfo.d.ts +9 -0
- package/dist/types/components/EFP/upgradeFlow/logic/resolveWorkflow.d.ts +9 -0
- package/dist/types/components/EFP/upgradeFlow/logic/workflows/businessBankAccountUpgradeWorkflow.d.ts +2 -0
- package/dist/types/components/EFP/upgradeFlow/utils/canUseBbaUpgradeFlow.d.ts +5 -0
- package/dist/types/components/EFP/upgradeFlow/utils/findMatchingProblems.d.ts +10 -0
- package/dist/types/components/EFP/upgradeFlow/utils/makeInstanceId.d.ts +2 -0
- package/dist/types/components/EFP/upgradeFlow/utils/mapExistingDataToProperties.d.ts +6 -0
- package/dist/types/components/EmbeddedDropins/AdaptiveWorkflowComponent/AdaptiveWorkflowComponent.d.ts +1 -2
- package/dist/types/components/GlobalEntry/constants.d.ts +27 -2
- package/dist/types/components/GlobalEntry/tasks/GlobalEntryModal.d.ts +1 -2
- package/dist/types/components/GlobalEntry/utils/globalEntryState.d.ts +52 -0
- package/dist/types/components/GlobalEntry/utils/utils.d.ts +0 -6
- package/dist/types/components/Shared/fields/Address/utils.d.ts +1 -1
- package/dist/types/components/Shared/fields/LegalCompanyNameField/fieldConfig.d.ts +1 -1
- package/dist/types/components/Shared/forms/ConstitutionalDocument/types.d.ts +1 -0
- package/dist/types/context/ToggleContext/types.d.ts +9 -0
- package/dist/types/embeds/upgrade-flow/adyen-upgrade-flow.d.ts +2 -0
- package/dist/types/embeds/upgrade-flow/adyen-upgrade-flow.types.d.ts +39 -0
- package/dist/types/hooks/useLegalCompanyNameField/useLegalCompanyNameField.d.ts +1 -1
- package/dist/types/router/routeConfig.d.ts +1 -0
- package/dist/types/stores/globalStore/taskTypes.d.ts +1 -0
- package/dist/types/utils/accountHolderUtils.d.ts +5 -0
- package/dist/types/utils/entityStatusUtil.d.ts +1 -1
- package/dist/types/utils/idGenerator.d.ts +1 -0
- package/dist/{unincorporatedPartnership-CmafpKdG.js → unincorporatedPartnership-C6oZ0qu7.js} +8 -8
- package/dist/{useBusinessDetailsData-ugUqj9kJ.js → useBusinessDetailsData-BylMaRU8.js} +206 -171
- package/dist/{useCanSeeIntroduction-DEbDOHiC.js → useCanSeeIntroduction-0nabzgpg.js} +3 -3
- package/dist/{useDataMissingRemediations-CiDQ9bWs.js → useDataMissingRemediations-BQsN40Ut.js} +2 -2
- package/dist/{useForm-B2wfliMN.js → useForm-DC44REdi.js} +3 -3
- package/dist/{useHideTaskStepper-BEWEJlrj.js → useHideTaskStepper-NxGjx00F.js} +1 -1
- package/dist/{useId-Csq0yceQ.js → useId-B0m3DemA.js} +3 -3
- package/dist/{useLegalEntity-XmloSXdF.js → useLegalEntity-BlicSpoi.js} +2 -2
- package/dist/{useNavigate-DXpJ9PZ_.js → useNavigate-DEC3psS-.js} +40 -35
- package/dist/{useSalesChannels-DbCmR2ZX.js → useSalesChannels-C5SbFxqc.js} +1 -1
- package/dist/{useSaveForLater-DnHbnXCZ.js → useSaveForLater-BnNcYZTs.js} +4 -4
- package/dist/{useTaskLandedEvent-DwKrUHAw.js → useTaskLandedEvent-DSofILzI.js} +1 -1
- package/dist/{useTrustMembers--E-NhCCa.js → useTrustMembers-DBCpM6bd.js} +6 -6
- package/dist/{useUnincorporatedPartnershipMembers-B0McelXe.js → useUnincorporatedPartnershipMembers-CtAFXgm4.js} +6 -6
- package/dist/{utils-DTWirvuh.js → utils-8pfN_XaY.js} +3 -3
- package/dist/{utils-D0n2UCLl.js → utils-BpgKY4PD.js} +1 -1
- package/dist/{utils-1qkRmosy.js → utils-CIx90qDZ.js} +1 -1
- package/dist/{utils-Q_3MQdG-.js → utils-Dajqoe0Q.js} +2 -2
- package/dist/{validate-duA5vubQ.js → validate-B5388Aiy.js} +3 -3
- package/dist/{validate-vDVa_21W.js → validate-BWjRE9cr.js} +1 -1
- package/dist/{validate-BYH_qNgv.js → validate-V5WH3WkG.js} +12 -21
- package/dist/{validate-Fq0C4N4w.js → validate-oOvUfW0z.js} +3 -3
- package/dist/{validate.formats-BcL4s_mZ.js → validate.formats-CTmLjU1z.js} +1 -14
- package/dist/{validateExtractionResult-CKjL85oa.js → validateExtractionResult-BAlwYNgf.js} +1 -1
- package/package.json +1 -1
- package/dist/cs-CZ-DZw5yF5p.js +0 -7
- package/dist/da-DK-Bg5S27B5.js +0 -7
- package/dist/de-DE-BlFZCv36.js +0 -7
- package/dist/en-US-D4ffwlYG.js +0 -7
- package/dist/es-ES-Pc7SzK91.js +0 -7
- package/dist/es-LA-CoKhKLd8.js +0 -7
- package/dist/et-EE-8p53PPiJ.js +0 -7
- package/dist/fi-FI-BKW6_uF2.js +0 -7
- package/dist/hr-HR-C1FO7Gqx.js +0 -7
- package/dist/hu-HU-BFFHvdsS.js +0 -7
- package/dist/ja-JP-Cj0-3WHB.js +0 -7
- package/dist/lt-LT-DnZjntxM.js +0 -7
- package/dist/lv-LV-DJ5m9APR.js +0 -7
- package/dist/nl-NL-C2StlYO8.js +0 -7
- package/dist/no-NO-B2PID5rL.js +0 -7
- package/dist/pl-PL-BQWqNeBg.js +0 -7
- package/dist/pt-BR-Cf9Buwoz.js +0 -7
- package/dist/pt-PT-DBxpPLNB.js +0 -7
- package/dist/ro-RO-BOoXk4qI.js +0 -7
- package/dist/sk-SK-DT4GAvrm.js +0 -7
- package/dist/sl-SI-JkM-GOon.js +0 -7
- package/dist/sv-SE-Ccuk2Owm.js +0 -7
- package/dist/types/utils/isNormalizedStringMatch.d.ts +0 -1
- package/dist/types/utils/stripWhitespace.d.ts +0 -1
- package/dist/types/utils/toNormalizedString.d.ts +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
try {
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "602f636d-2b2d-49eb-93b5-82391a5eb42b", e._sentryDebugIdIdentifier = "sentry-dbid-602f636d-2b2d-49eb-93b5-82391a5eb42b");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
var sv_SE_default = {
|
|
6
6
|
"actionNeeded": "Åtgärd krävs",
|
|
@@ -39,7 +39,6 @@ var sv_SE_default = {
|
|
|
39
39
|
"rejected": "Avvisad",
|
|
40
40
|
"remove": "Ta bort",
|
|
41
41
|
"removeIndustryCode": "Ta bort fält för branschkod",
|
|
42
|
-
"retrieveMyinfo": "Hämta Myinfo med",
|
|
43
42
|
"retrieveMyinfoBusiness": "Hämta Myinfo business med",
|
|
44
43
|
"signed": "Undertecknat",
|
|
45
44
|
"someFieldsHaveUnsupportedFormatedUpdateInfoAndResubmit": "Vissa fält har format som inte stöds. Uppdatera informationen och skicka in igen.",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
try {
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "0caeb210-0a01-4bb3-97ab-5cef3035dfa9", e._sentryDebugIdIdentifier = "sentry-dbid-0caeb210-0a01-4bb3-97ab-5cef3035dfa9");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
var TaskTypes = {
|
|
6
6
|
ADAPTIVE: "ADAPTIVE",
|
|
@@ -38,7 +38,8 @@ var TaskTypes = {
|
|
|
38
38
|
LEGAL_REPRESENTATIVE_DETAILS: "LEGAL_REPRESENTATIVE_DETAILS",
|
|
39
39
|
SOURCE_OF_FUNDS: "SOURCE_OF_FUNDS",
|
|
40
40
|
BUSINESS_FINANCING: "BUSINESS_FINANCING",
|
|
41
|
-
TAX_REPORTING: "TAX_REPORTING"
|
|
41
|
+
TAX_REPORTING: "TAX_REPORTING",
|
|
42
|
+
PAYMENT_METHODS: "PAYMENT_METHODS"
|
|
42
43
|
};
|
|
43
44
|
//#endregion
|
|
44
45
|
export { TaskTypes as t };
|
|
@@ -29,6 +29,9 @@ export declare const SIMPLE_FIELD_COMPONENT_MAP: {
|
|
|
29
29
|
countryField: import("preact").FunctionComponent<import("@tanstack/preact-form").PropsWithChildren<NoInfer<FieldRendererProps> & {
|
|
30
30
|
form: import("@tanstack/preact-form").AppFieldExtendedPreactFormApi<any, any, any, import("@tanstack/preact-form").FormAsyncValidateOrFn<unknown> | undefined, any, import("@tanstack/preact-form").FormAsyncValidateOrFn<unknown> | undefined, any, import("@tanstack/preact-form").FormAsyncValidateOrFn<unknown> | undefined, any, import("@tanstack/preact-form").FormAsyncValidateOrFn<unknown> | undefined, import("@tanstack/preact-form").FormAsyncValidateOrFn<unknown> | undefined, any, {}, {}>;
|
|
31
31
|
}>>;
|
|
32
|
+
vatNumberField: import("preact").FunctionComponent<import("@tanstack/preact-form").PropsWithChildren<NoInfer<import("./components/Fields/VatNumberField/VatNumberField").VatNumberFieldProps> & {
|
|
33
|
+
form: import("@tanstack/preact-form").AppFieldExtendedPreactFormApi<any, any, any, import("@tanstack/preact-form").FormAsyncValidateOrFn<unknown> | undefined, any, import("@tanstack/preact-form").FormAsyncValidateOrFn<unknown> | undefined, any, import("@tanstack/preact-form").FormAsyncValidateOrFn<unknown> | undefined, any, import("@tanstack/preact-form").FormAsyncValidateOrFn<unknown> | undefined, import("@tanstack/preact-form").FormAsyncValidateOrFn<unknown> | undefined, any, {}, {}>;
|
|
34
|
+
}>>;
|
|
32
35
|
checkboxField: import("preact").FunctionComponent<import("@tanstack/preact-form").PropsWithChildren<NoInfer<FieldRendererProps> & {
|
|
33
36
|
form: import("@tanstack/preact-form").AppFieldExtendedPreactFormApi<any, any, any, import("@tanstack/preact-form").FormAsyncValidateOrFn<unknown> | undefined, any, import("@tanstack/preact-form").FormAsyncValidateOrFn<unknown> | undefined, any, import("@tanstack/preact-form").FormAsyncValidateOrFn<unknown> | undefined, any, import("@tanstack/preact-form").FormAsyncValidateOrFn<unknown> | undefined, import("@tanstack/preact-form").FormAsyncValidateOrFn<unknown> | undefined, any, {}, {}>;
|
|
34
37
|
}>>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { CountryCode } from '../../../../types/datasets/country-code.d.ts';
|
|
2
|
+
import type { FieldRendererProps } from '../../NodeRenderer/NodeRenderer';
|
|
3
|
+
export interface VatNumberFieldProps extends FieldRendererProps {
|
|
4
|
+
country?: CountryCode;
|
|
5
|
+
}
|
|
6
|
+
export declare const VatNumberField: import("preact").FunctionComponent<import("@tanstack/preact-form").PropsWithChildren<NoInfer<VatNumberFieldProps> & {
|
|
7
|
+
form: import("@tanstack/preact-form").AppFieldExtendedPreactFormApi<any, any, any, import("@tanstack/preact-form").FormAsyncValidateOrFn<unknown> | undefined, any, import("@tanstack/preact-form").FormAsyncValidateOrFn<unknown> | undefined, any, import("@tanstack/preact-form").FormAsyncValidateOrFn<unknown> | undefined, any, import("@tanstack/preact-form").FormAsyncValidateOrFn<unknown> | undefined, import("@tanstack/preact-form").FormAsyncValidateOrFn<unknown> | undefined, any, {}, {}>;
|
|
8
|
+
}>>;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { MaskSettings } from '../../../../hooks/useForm/types.d.ts';
|
|
2
|
+
import type { NsTranslatable, NsTranslationKey } from '../../../../language/types.d.ts';
|
|
3
|
+
import type { VatNumberFieldSchema } from '../../../../components/Shared/fields/VatNumberField/types.d.ts';
|
|
4
|
+
import type { CountryCode } from '../../../../types/datasets/country-code.d.ts';
|
|
5
|
+
import type { FieldMetadata } from '../../../../utils/fieldConfigurations.d.ts';
|
|
6
|
+
import type { BaseContextMap } from '../../types';
|
|
7
|
+
interface VatNumberContextMap extends BaseContextMap {
|
|
8
|
+
countrySpecificContext: Partial<Record<CountryCode, CountrySpecificContext>>;
|
|
9
|
+
}
|
|
10
|
+
type VatNumberMetadata = FieldMetadata<VatNumberFieldSchema, 'vatNumber'>;
|
|
11
|
+
interface CountrySpecificContext {
|
|
12
|
+
labels?: readonly NsTranslationKey<'common'>[];
|
|
13
|
+
formatGuidance?: NsTranslatable<'common'>;
|
|
14
|
+
mask?: MaskSettings;
|
|
15
|
+
validators?: VatNumberMetadata['validators'];
|
|
16
|
+
}
|
|
17
|
+
export declare const defaultValidators: import("../../../../utils/validation/types").ValidatorRule<string | boolean | undefined, object>;
|
|
18
|
+
export declare const contextMap: Record<string, VatNumberContextMap>;
|
|
19
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { ComponentChildren } from 'preact';
|
|
2
|
+
import type { RemediationInstance } from '../../../../components/EFP/upgradeFlow/logic/models/remediationDef';
|
|
3
|
+
interface RemediationSubmissionProviderProps {
|
|
4
|
+
remediations: RemediationInstance[];
|
|
5
|
+
afterSubmit?(): void;
|
|
6
|
+
children?: ComponentChildren;
|
|
7
|
+
}
|
|
8
|
+
export declare function RemediationSubmissionProvider({ remediations, afterSubmit, children, }: RemediationSubmissionProviderProps): import("preact/jsx-runtime").JSX.Element;
|
|
9
|
+
export {};
|
|
@@ -5,6 +5,7 @@ export type QueryKeyAddressCleanse = ['addressCleanse', CleanseAPIRequestPayload
|
|
|
5
5
|
export declare const useAddressCleanse: (data: CleanseAPIRequestPayload, options?: QueryOptions<RetrieveAddressSuccessResponse>) => import("@tanstack/preact-query").UseQueryResult<{
|
|
6
6
|
city?: string;
|
|
7
7
|
country: string;
|
|
8
|
+
dependentLocality?: string;
|
|
8
9
|
houseNumberOrName?: string;
|
|
9
10
|
isPoBox?: boolean;
|
|
10
11
|
line1?: string;
|
|
@@ -17,11 +18,11 @@ export declare const useAddressCleanse: (data: CleanseAPIRequestPayload, options
|
|
|
17
18
|
stateOrProvince?: string;
|
|
18
19
|
street?: string;
|
|
19
20
|
street2?: string;
|
|
20
|
-
dependentLocality?: string;
|
|
21
21
|
}, Error>;
|
|
22
22
|
export declare const useAddressCleanseImperatively: () => (data: CleanseAPIRequestPayload) => Promise<{
|
|
23
23
|
city?: string;
|
|
24
24
|
country: string;
|
|
25
|
+
dependentLocality?: string;
|
|
25
26
|
houseNumberOrName?: string;
|
|
26
27
|
isPoBox?: boolean;
|
|
27
28
|
line1?: string;
|
|
@@ -34,6 +35,5 @@ export declare const useAddressCleanseImperatively: () => (data: CleanseAPIReque
|
|
|
34
35
|
stateOrProvince?: string;
|
|
35
36
|
street?: string;
|
|
36
37
|
street2?: string;
|
|
37
|
-
dependentLocality?: string;
|
|
38
38
|
}>;
|
|
39
39
|
export declare const formatAddressForCleanse: ({ street, street2, city, country, postalCode, }: Pick<AddressSchema, "street" | "street2" | "city" | "country" | "postalCode">) => string | undefined;
|
|
@@ -12,6 +12,7 @@ export type QueryKeyRetrieveAddress = ['retrieveAddress', string];
|
|
|
12
12
|
export declare const useRetrieveAddress: (addressId: string, options?: QueryOptions<RetrieveAddressSuccessResponse>) => import("@tanstack/preact-query").UseQueryResult<{
|
|
13
13
|
city?: string;
|
|
14
14
|
country: string;
|
|
15
|
+
dependentLocality?: string;
|
|
15
16
|
houseNumberOrName?: string;
|
|
16
17
|
isPoBox?: boolean;
|
|
17
18
|
line1?: string;
|
|
@@ -24,5 +25,4 @@ export declare const useRetrieveAddress: (addressId: string, options?: QueryOpti
|
|
|
24
25
|
stateOrProvince?: string;
|
|
25
26
|
street?: string;
|
|
26
27
|
street2?: string;
|
|
27
|
-
dependentLocality?: string;
|
|
28
28
|
}, Error>;
|
|
@@ -3,6 +3,7 @@ import type { RetrieveAddressSuccessResponse } from './address.types';
|
|
|
3
3
|
export declare const useRetrieveFromPostcodeJp: (postalCode: string, options?: QueryOptions<RetrieveAddressSuccessResponse>) => import("@tanstack/preact-query").UseQueryResult<{
|
|
4
4
|
city?: string;
|
|
5
5
|
country: string;
|
|
6
|
+
dependentLocality?: string;
|
|
6
7
|
houseNumberOrName?: string;
|
|
7
8
|
isPoBox?: boolean;
|
|
8
9
|
line1?: string;
|
|
@@ -15,5 +16,4 @@ export declare const useRetrieveFromPostcodeJp: (postalCode: string, options?: Q
|
|
|
15
16
|
stateOrProvince?: string;
|
|
16
17
|
street?: string;
|
|
17
18
|
street2?: string;
|
|
18
|
-
dependentLocality?: string;
|
|
19
19
|
}, Error>;
|
|
@@ -7,6 +7,7 @@ import type { QueryOptions } from '../types';
|
|
|
7
7
|
*/
|
|
8
8
|
export type QueryKeyLegalEntity = ['legalEntity', string];
|
|
9
9
|
export declare const ROOT_LE: unique symbol;
|
|
10
|
+
export declare const getLegalEntity: (rootLegalEntityId: string, baseUrl: string, legalEntityId: string) => Promise<ExistingLegalEntity>;
|
|
10
11
|
/**
|
|
11
12
|
* Supports querying a legal entity imperatively (`queryClient.query()`) with the same
|
|
12
13
|
* key and fetcher as `useLegalEntity`/`useLegalEntities`, so all share the `['legalEntity', id]` cache.
|
|
@@ -8,10 +8,7 @@ export type CZLocalAccountIdentification = components['schemas']['CZLocalAccount
|
|
|
8
8
|
export type DKLocalAccountIdentification = components['schemas']['DKLocalAccountIdentification'];
|
|
9
9
|
export type HKLocalAccountIdentification = components['schemas']['HKLocalAccountIdentification'];
|
|
10
10
|
type HULocalAccountIdentification = components['schemas']['HULocalAccountIdentification'];
|
|
11
|
-
export type MXLocalAccountIdentification =
|
|
12
|
-
type: 'mxLocal';
|
|
13
|
-
accountNumber: string;
|
|
14
|
-
};
|
|
11
|
+
export type MXLocalAccountIdentification = components['schemas']['MXLocalAccountIdentification'];
|
|
15
12
|
type NOLocalAccountIdentification = components['schemas']['NOLocalAccountIdentification'];
|
|
16
13
|
export type NZLocalAccountIdentification = components['schemas']['NZLocalAccountIdentification'];
|
|
17
14
|
type PLLocalAccountIdentification = components['schemas']['PLLocalAccountIdentification'];
|
|
@@ -36,6 +36,7 @@ export declare const rules: ({ data, defaultData, verifiedBusiness, country, tas
|
|
|
36
36
|
isEInvoicingCodeEnabled: () => "REQUIRED" | undefined;
|
|
37
37
|
isTaxDocumentRequired: () => "REQUIRED" | undefined;
|
|
38
38
|
isRegistrationDocumentRequired: () => "REQUIRED" | undefined;
|
|
39
|
+
isConstitutionalDocumentRequired: () => "REQUIRED" | undefined;
|
|
39
40
|
businessRequiresCompanyType: () => "REQUIRED" | undefined;
|
|
40
41
|
japaneseLegalCompanyName: () => "REQUIRED" | undefined;
|
|
41
42
|
requireLEI: () => "REQUIRED" | "OPTIONAL" | undefined;
|
|
@@ -2,9 +2,8 @@ import type { CreateLegalEntityRequest } from '../../../../api/createLegalEntity
|
|
|
2
2
|
import type { DocumentDto } from '../../../../api/documents/documents.types.d.ts';
|
|
3
3
|
import type { ExistingLegalEntity } from '../../../../api/legalEntity/legalEntity.types.d.ts';
|
|
4
4
|
import type { FeatureName } from '../../../../context/ToggleContext/types.d.ts';
|
|
5
|
-
import type { AccountHolderOption } from '../../../../types/accountHolder.d.ts';
|
|
6
5
|
import { type Scenario } from '../../../../types/scenarios.d.ts';
|
|
7
6
|
import type { BusinessDetailsSchema } from '../../forms/BusinessDetails/types';
|
|
8
7
|
import type { BusinessDetailsTasks } from '../../tasks/BusinessDetailsDropin/types';
|
|
9
8
|
export declare const mapBusinessDetailsDocumentToApiDocument: (data: BusinessDetailsSchema, entityId: string) => Promise<DocumentDto[]>;
|
|
10
|
-
export declare const mapBusinessDetailsSchemaToLegalEntity: (data: BusinessDetailsSchema,
|
|
9
|
+
export declare const mapBusinessDetailsSchemaToLegalEntity: (data: BusinessDetailsSchema, isFeatureEnabled: (key: FeatureName) => boolean, taskType: BusinessDetailsTasks, matchingScenario?: Scenario[], rootLegalEntity?: ExistingLegalEntity) => CreateLegalEntityRequest;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { Workflow } from './logic/models/workflow';
|
|
2
|
+
interface UpgradeWorkflowHarnessProps {
|
|
3
|
+
workflow?: Workflow;
|
|
4
|
+
}
|
|
5
|
+
export declare function UpgradeWorkflowHarness({ workflow, }: UpgradeWorkflowHarnessProps): import("preact/jsx-runtime").JSX.Element;
|
|
6
|
+
export {};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { Workflow } from '../logic/models/workflow';
|
|
2
|
+
import type { ResolveWorkflowResult } from '../logic/resolveWorkflow';
|
|
3
|
+
export declare function useUpgradeWorkflowState(workflow: Workflow): {
|
|
4
|
+
result: ResolveWorkflowResult | undefined;
|
|
5
|
+
reset: () => Promise<void>;
|
|
6
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { CapabilityProblemDto, ExistingLegalEntity } from '../../../../../api/legalEntity/legalEntity.types.d.ts';
|
|
2
|
+
export interface Accessors {
|
|
3
|
+
accessRootLe: () => Promise<ExistingLegalEntity>;
|
|
4
|
+
accessLegalEntity: (legalEntityId: string) => Promise<ExistingLegalEntity>;
|
|
5
|
+
accessCapabilityProblems: () => Promise<CapabilityProblemDto[] | undefined>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { Accessors } from './accessors';
|
|
2
|
+
type IssueEntity = 'ROOT_LE' | 'DECISION_MAKER' | 'TRANSFER_INSTRUMENT';
|
|
3
|
+
export interface IssueDef {
|
|
4
|
+
name: string;
|
|
5
|
+
affects: IssueEntity;
|
|
6
|
+
findInstances(accessors: Accessors): Promise<IssueInstance[]>;
|
|
7
|
+
}
|
|
8
|
+
export interface IssueInstance {
|
|
9
|
+
instanceId: string;
|
|
10
|
+
issueDef: IssueDef;
|
|
11
|
+
affected: {
|
|
12
|
+
entityType: IssueEntity;
|
|
13
|
+
entityId: string;
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
export {};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { Accessors } from './accessors';
|
|
2
|
+
import type { IssueDef, IssueInstance } from './issueDef';
|
|
3
|
+
import type { Mutators } from './mutators';
|
|
4
|
+
interface ValidationResult {
|
|
5
|
+
isValid: boolean;
|
|
6
|
+
}
|
|
7
|
+
interface SubmissionResult {
|
|
8
|
+
success: boolean;
|
|
9
|
+
}
|
|
10
|
+
export interface RemediationDef<LocalData extends object = Record<never, never>> {
|
|
11
|
+
name: string;
|
|
12
|
+
canResolve: IssueDef[];
|
|
13
|
+
getExistingData(accessors: Accessors): Promise<LocalData>;
|
|
14
|
+
validate(localData: LocalData): Promise<ValidationResult>;
|
|
15
|
+
submit(localData: LocalData, mutators: Mutators): Promise<SubmissionResult>;
|
|
16
|
+
}
|
|
17
|
+
export interface RemediationInstance<RemediationData extends object = Record<never, never>, FormValues extends object = Record<never, never>> {
|
|
18
|
+
instanceId: string;
|
|
19
|
+
definition: RemediationDef<RemediationData>;
|
|
20
|
+
willSolve: IssueInstance[];
|
|
21
|
+
/**
|
|
22
|
+
* Transforms form values into remediation data which may be submitted.
|
|
23
|
+
*/
|
|
24
|
+
transformFormValues?(formValues: FormValues): RemediationData;
|
|
25
|
+
}
|
|
26
|
+
export {};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import type { NodeConfig } from '../../../../../api/adaptive/adaptiveWorkflow.types.d.ts';
|
|
2
|
+
import type { LayoutComponent } from '../../../../../adaptiveWorkflow/component-registry';
|
|
3
|
+
import type { Accessors } from './accessors';
|
|
4
|
+
import type { IssueDef } from './issueDef';
|
|
5
|
+
import type { RemediationDef, RemediationInstance } from './remediationDef';
|
|
6
|
+
export interface Workflow {
|
|
7
|
+
potentialIssues: IssueDef[];
|
|
8
|
+
cast: CastLayoutNode;
|
|
9
|
+
}
|
|
10
|
+
export type CastNode = CastLayoutNode | CastLeafNode;
|
|
11
|
+
interface CastBaseNode {
|
|
12
|
+
applicableIf?(context: {
|
|
13
|
+
accessors: Accessors;
|
|
14
|
+
}): Promise<boolean>;
|
|
15
|
+
}
|
|
16
|
+
export interface CastLayoutNode extends CastBaseNode {
|
|
17
|
+
layoutComponent: LayoutComponent;
|
|
18
|
+
id: string;
|
|
19
|
+
children: CastNode[];
|
|
20
|
+
}
|
|
21
|
+
export interface CastLeafNode<RemediationData extends object = Record<never, never>, FormValues extends object = Record<never, never>> extends CastBaseNode {
|
|
22
|
+
remediationDef: RemediationDef<RemediationData>;
|
|
23
|
+
resolve(context: {
|
|
24
|
+
remediation: RemediationInstance<RemediationData>;
|
|
25
|
+
accessors: Accessors;
|
|
26
|
+
existingData: RemediationData;
|
|
27
|
+
}): NodeConfig;
|
|
28
|
+
/**
|
|
29
|
+
* Transforms this node's form values into remediation data which may be submitted.
|
|
30
|
+
*/
|
|
31
|
+
transformFormValues?(formValues: FormValues): RemediationData;
|
|
32
|
+
}
|
|
33
|
+
export declare const isLayoutNode: (node: CastNode) => node is CastLayoutNode;
|
|
34
|
+
export declare const isLeafNode: (node: CastNode) => node is CastLeafNode;
|
|
35
|
+
export {};
|
package/dist/types/components/EFP/upgradeFlow/logic/remediations/provideOrganizationTaxInfo.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { CountryCode } from '../../../../../types/datasets/country-code.d.ts';
|
|
2
|
+
import type { RemediationDef } from '../models/remediationDef';
|
|
3
|
+
interface ProvideOrganizationVatInfoData {
|
|
4
|
+
country: CountryCode;
|
|
5
|
+
number?: string;
|
|
6
|
+
type?: string;
|
|
7
|
+
}
|
|
8
|
+
export declare const ProvideOrganizationTaxInfo: RemediationDef<ProvideOrganizationVatInfoData>;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { NodeConfig } from '../../../../api/adaptive/adaptiveWorkflow.types.d.ts';
|
|
2
|
+
import type { Accessors } from './models/accessors';
|
|
3
|
+
import type { RemediationInstance } from './models/remediationDef';
|
|
4
|
+
import type { Workflow } from './models/workflow';
|
|
5
|
+
export interface ResolveWorkflowResult {
|
|
6
|
+
remediations: RemediationInstance[];
|
|
7
|
+
rootNode: NodeConfig;
|
|
8
|
+
}
|
|
9
|
+
export declare function resolveWorkflow({ potentialIssues, cast }: Workflow, accessors: Accessors): Promise<ResolveWorkflowResult>;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type { ExistingLegalEntity } from '../../../../api/legalEntity/legalEntity.types.d.ts';
|
|
2
|
+
/**
|
|
3
|
+
* We can use BBA upgrade flow if every capability is allowed except `issueBankAccount`.
|
|
4
|
+
*/
|
|
5
|
+
export declare function canUseBbaUpgradeFlow(legalEntityData: ExistingLegalEntity): boolean | undefined;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { CapabilityProblemDto, CapabilityProblemEntityDto, VerificationErrorDto } from '../../../../api/legalEntity/legalEntity.types.d.ts';
|
|
2
|
+
interface VerificationErrorWithEntity extends VerificationErrorDto {
|
|
3
|
+
entity: CapabilityProblemEntityDto;
|
|
4
|
+
}
|
|
5
|
+
interface Filters {
|
|
6
|
+
code?: string;
|
|
7
|
+
entityId?: string;
|
|
8
|
+
}
|
|
9
|
+
export declare const findMatchingVerificationErrors: (capabilityProblems: CapabilityProblemDto[] | undefined, filters?: Filters) => VerificationErrorWithEntity[];
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { PropValue } from '../../../../api/adaptive/adaptiveWorkflow.types.d.ts';
|
|
2
|
+
type TypedProperties<K extends string, V extends PropValue['value']> = Partial<Record<K, PropValue & {
|
|
3
|
+
value: V;
|
|
4
|
+
}>>;
|
|
5
|
+
export declare function mapExistingDataToProperties<K extends string, V extends PropValue['value']>(existingData: Partial<Record<K, V>>): TypedProperties<K, V>;
|
|
6
|
+
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
interface AdaptiveWorkflowComponentProps {
|
|
1
|
+
export interface AdaptiveWorkflowComponentProps {
|
|
2
2
|
onBack?: () => void;
|
|
3
3
|
}
|
|
4
4
|
/**
|
|
@@ -8,4 +8,3 @@ interface AdaptiveWorkflowComponentProps {
|
|
|
8
8
|
* requirements to generate a UI Manifest that this component will use to render a UI.
|
|
9
9
|
*/
|
|
10
10
|
export declare const AdaptiveWorkflowComponent: ({ onBack }: AdaptiveWorkflowComponentProps) => import("preact/jsx-runtime").JSX.Element;
|
|
11
|
-
export {};
|
|
@@ -1,2 +1,27 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
export declare const globalEntryForms: {
|
|
2
|
+
entityInformation: {
|
|
3
|
+
formId: string;
|
|
4
|
+
formName: "entityInformationFormName";
|
|
5
|
+
fields: ("country" | "entitySetup")[];
|
|
6
|
+
};
|
|
7
|
+
registrationInformation: {
|
|
8
|
+
formId: string;
|
|
9
|
+
formName: "registrationInformationFormName";
|
|
10
|
+
fields: ("countryOfGoverningLaw" | "jaHaniLegalCompanyName" | "jaKanaLegalCompanyName" | "legalCompanyName" | "stateOrProvince" | "hasDoingBusinessAs" | keyof import("../Shared/fields/BusinessRegistrationNumberField/types").BusinessRegistrationNumberFieldSchema | keyof import("../Shared/fields/TaxInformationField/types").TaxInformationFieldSchema | "isLimitedLiabilityCorporation" | "filedPaperwork" | "isTrust" | "unincorporatedOrganizationType")[];
|
|
11
|
+
};
|
|
12
|
+
businessSelection: {
|
|
13
|
+
formId: string;
|
|
14
|
+
formName: "businessSelectionFormName";
|
|
15
|
+
fields: "selectedBusinessId"[];
|
|
16
|
+
};
|
|
17
|
+
companyStructure: {
|
|
18
|
+
formId: string;
|
|
19
|
+
formName: "companyStructureFormName";
|
|
20
|
+
fields: "organizationType"[];
|
|
21
|
+
};
|
|
22
|
+
primaryPartner: {
|
|
23
|
+
formId: string;
|
|
24
|
+
formName: "primaryPartnerFormName";
|
|
25
|
+
fields: "primaryPartnerType"[];
|
|
26
|
+
};
|
|
27
|
+
};
|
|
@@ -2,9 +2,8 @@ import type { ExistingLegalEntity } from '../../../api/legalEntity/legalEntity.t
|
|
|
2
2
|
import type { AccountHolderOption } from '../../../types/accountHolder.d.ts';
|
|
3
3
|
import type { CompanySearchState } from '../companySearchStore';
|
|
4
4
|
export declare const CompanySearchStateContext: import("preact").Context<CompanySearchState>;
|
|
5
|
-
interface GlobalEntryModalProps {
|
|
5
|
+
export interface GlobalEntryModalProps {
|
|
6
6
|
rootLegalEntity: ExistingLegalEntity;
|
|
7
7
|
onComplete: (accountHolder: AccountHolderOption) => void;
|
|
8
8
|
}
|
|
9
9
|
export declare const GlobalEntryModal: ({ rootLegalEntity, onComplete }: GlobalEntryModalProps) => import("preact/jsx-runtime").JSX.Element;
|
|
10
|
-
export {};
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import type { CountryCode } from '../../../types/datasets/country-code.d.ts';
|
|
2
|
+
import type { GlobalEntrySchema } from '../tasks/types';
|
|
3
|
+
/**
|
|
4
|
+
* The current Global Entry state, including incomplete questions and resolved entity states.
|
|
5
|
+
*/
|
|
6
|
+
export type GlobalEntryState =
|
|
7
|
+
/** The entity setup question has not been answered yet. */
|
|
8
|
+
'undetermined'
|
|
9
|
+
/** Someone on their own, without filed paperwork. */
|
|
10
|
+
| 'individual'
|
|
11
|
+
/** Someone on their own, without paperwork but has a DBA. */
|
|
12
|
+
| 'individualWhoTrades'
|
|
13
|
+
/** Someone on their own who filed paperwork, outside the US where no LLC question applies. */
|
|
14
|
+
| 'soleProprietor'
|
|
15
|
+
/** A US individual who filed paperwork and is not a single-member LLC. */
|
|
16
|
+
| 'usSoleProprietor'
|
|
17
|
+
/** A US individual who filed paperwork and answered that they are a single-member LLC. */
|
|
18
|
+
| 'singleMemberLlc'
|
|
19
|
+
/** A business that filed paperwork and is not a trust. */
|
|
20
|
+
| 'registeredOrganization'
|
|
21
|
+
/** A business that has not filed paperwork. */
|
|
22
|
+
| 'unincorporatedOrganization'
|
|
23
|
+
/** A business that filed paperwork and identified as a trust. */
|
|
24
|
+
| 'trust'
|
|
25
|
+
/** The paperwork question applies but has not been answered yet. */
|
|
26
|
+
| 'awaitingPaperworkAnswer'
|
|
27
|
+
/** The DBA question applies but has not been answered yet. */
|
|
28
|
+
| 'awaitingDoingBusinessAsAnswer'
|
|
29
|
+
/** The LLC question applies but has not been answered yet. */
|
|
30
|
+
| 'awaitingLlcAnswer'
|
|
31
|
+
/** The trust question applies but has not been answered yet. */
|
|
32
|
+
| 'awaitingTrustAnswer';
|
|
33
|
+
/**
|
|
34
|
+
* Resolves the current Global Entry state from the questionnaire answers.
|
|
35
|
+
*/
|
|
36
|
+
export declare const resolveGlobalEntryState: (data: GlobalEntrySchema) => GlobalEntryState;
|
|
37
|
+
/**
|
|
38
|
+
* An organization whose registration details are collected: a company or a single-member LLC.
|
|
39
|
+
*/
|
|
40
|
+
export declare const isRegisteredOrganization: (globalEntryState: GlobalEntryState) => boolean;
|
|
41
|
+
export declare const isSingleMemberLlc: (globalEntryState: GlobalEntryState) => boolean;
|
|
42
|
+
export declare const isUsingCompanySearch: (globalEntryState: GlobalEntryState, country: CountryCode) => boolean;
|
|
43
|
+
/**
|
|
44
|
+
* The LLC question is put to US individuals who have filed paperwork.
|
|
45
|
+
*/
|
|
46
|
+
export declare const isLlcQuestionRequired: (globalEntryState: GlobalEntryState) => boolean;
|
|
47
|
+
export declare const isTrustQuestionRequired: (globalEntryState: GlobalEntryState, country: CountryCode) => boolean;
|
|
48
|
+
/**
|
|
49
|
+
* The DBA question is put to individuals without paperwork in supported countries.
|
|
50
|
+
*/
|
|
51
|
+
export declare const isHasDoingBusinessAsRequired: (globalEntryState: GlobalEntryState, country: CountryCode) => boolean;
|
|
52
|
+
export declare const isPaperworkQuestionRequired: (data: GlobalEntrySchema) => boolean;
|
|
@@ -3,12 +3,6 @@ import type { UpdateLegalEntity } from '../../../api/legalEntity/useUpdateLegalE
|
|
|
3
3
|
import type { AccountHolderOption } from '../../../types/accountHolder.d.ts';
|
|
4
4
|
import type { GlobalEntrySchema } from '../tasks/types';
|
|
5
5
|
export declare const getGlobalEntryCompanyType: (legalEntity: ExistingLegalEntity | undefined, data: GlobalEntrySchema) => CompanyType | undefined;
|
|
6
|
-
export declare const isPaperworkQuestionAsked: (data: GlobalEntrySchema) => boolean;
|
|
7
|
-
export declare const getFiledPaperwork: (data: GlobalEntrySchema) => "yes" | "no" | null;
|
|
8
|
-
export declare const isTrustQuestionAsked: (data: GlobalEntrySchema) => boolean;
|
|
9
|
-
export declare const isSingleMemberLLC: (data: GlobalEntrySchema) => boolean;
|
|
10
|
-
export declare const isUsingCompanySearch: (data: GlobalEntrySchema) => boolean;
|
|
11
|
-
export declare const isSoleProprietorship: (data: GlobalEntrySchema) => boolean;
|
|
12
6
|
/**
|
|
13
7
|
* `justMe` is a natural person unless they represent a single-member LLC. Being part of a business
|
|
14
8
|
* only makes the entity an `organization` when the primary partner is not an individual, because an
|