@adyen/kyc-components 3.79.0 → 3.80.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-B8gq2Lvn.js → AcceptTermsOfServiceComponent-DBSkKRHS.js} +7 -7
- package/dist/{AccountSetupRejected-Dn6x3lE8.js → AccountSetupRejected-gAGWuJ9N.js} +6 -6
- package/dist/{Avatar-Bm0Eluxy.js → Avatar-5RObc8Yd.js} +2 -2
- package/dist/{BusinessDetailsDropin-6TJzQW0O.js → BusinessDetailsDropin-O92NE-y1.js} +115 -139
- package/dist/{BusinessFinancingComponent-BxskEwQc.js → BusinessFinancingComponent-DDKomenp.js} +3 -3
- package/dist/{BusinessFinancingDropin-BaeVc8F6.js → BusinessFinancingDropin-Bhg9neRS.js} +97 -71
- package/dist/{BusinessFinancingPage-CccBeSjZ.js → BusinessFinancingPage-DyItV5SR.js} +3 -3
- package/dist/{BusinessTypeSelectionPage-DrKCAdaG.js → BusinessTypeSelectionPage-DmjbM57I.js} +47 -76
- package/dist/{ContractViewer-BaJ-kFmY.js → ContractViewer-DBW5C6kA.js} +2 -2
- package/dist/{CreateIndividualComponent-Bmv5Nc35.js → CreateIndividualComponent-c8yAn2_J.js} +4 -4
- package/dist/{CreateTransferInstrumentComponent-DF7SwTtr.js → CreateTransferInstrumentComponent-BF-KFdjU.js} +5 -5
- package/dist/{CustomerSupport-CzH1nyXW.js → CustomerSupport-rSYElbVr.js} +10 -10
- package/dist/{DebugModal-DMkdmfMV.js → DebugModal-BTr0idCC.js} +12 -226
- package/dist/{DecisionMakerDetailsPage-DHLdTCf3.js → DecisionMakerDetailsPage-DQcWSwTb.js} +4 -4
- package/dist/DecisionMakers-C2awPhE6.js +478 -0
- package/dist/{EmbeddedStatus-DaBZ91oA.js → EmbeddedStatus-COKtxNW-.js} +13 -13
- package/dist/{FormEndState-BBMSuQj7.js → FormEndState-BmDRa3zJ.js} +4 -3
- package/dist/{FormFlow-C1DKb0gA.js → FormFlow-CNxGh4Yu.js} +3 -3
- package/dist/{IndividualOnfidoDropin-CCbwDQ42.js → IndividualOnfidoDropin-DUzjucM9.js} +204 -184
- package/dist/{Introduction-DL4JlCU3.js → Introduction-BEM_wmkj.js} +24 -26
- package/dist/{ProviderButton-CdJCw-d-.js → LandingLayout-DyY0Exht.js} +91 -83
- package/dist/{LegalRepresentativeDetailsPage-CXw76qYP.js → LegalRepresentativeDetailsPage-1tw_BPLr.js} +4 -4
- package/dist/{ManageIndividualComponent-DFrxvq1V.js → ManageIndividualComponent-B0y8wd24.js} +6 -6
- package/dist/{ManageTermsOfServiceComponent-Dd674r5F.js → ManageTermsOfServiceComponent-DJVDf-iH.js} +4 -4
- package/dist/{ManageTransferInstrumentComponent-Dcc94EKJ.js → ManageTransferInstrumentComponent-DF4Q8oEB.js} +6 -6
- package/dist/{OnboardingDropinComponent-CO8-GF4E.js → OnboardingDropinComponent-B0Sj7qf1.js} +366 -208
- package/dist/{Review-C9xcGO-O.js → Review-C4HOjR6y.js} +11 -11
- package/dist/RootBusinessDetailsPage-DeqKfOFX.js +1848 -0
- package/dist/{RootIndividualDetailsPage-DhUMpzGa.js → RootIndividualDetailsPage-CKOquQ0-.js} +4 -4
- package/dist/{SignPCIComponent-uHRS64Oo.js → SignPCIComponent-Cx8oL8wu.js} +6 -6
- package/dist/{SingpassSelection-bOy5WFTO.js → SingpassSelection-BJNZw1u-.js} +11 -11
- package/dist/{SoleProprietorshipPage-BE8Mjhjp.js → SoleProprietorshipPage-Dtw3XHVJ.js} +4 -4
- package/dist/{SourceOfFundsPage-C-BTd1Ar.js → SourceOfFundsPage-gPmK4QX6.js} +28 -20
- package/dist/{StoreProvider-Bw9Xi_Q5.js → StoreProvider-DhQ4sdLg.js} +5799 -5422
- package/dist/{TaskItemStatus-DqghzBaZ.js → TaskItemStatus-Cxcag2AH.js} +23 -23
- package/dist/TaskStatusIndicator-B5fp8LzR.js +69 -0
- package/dist/{TaxReportingDropin-CmJT82Aj.js → TaxReportingDropin-CbDYoO31.js} +8 -7
- package/dist/{TileGroup-DP6CW2Ya.js → TileGroup-BkLtnLiA.js} +2 -2
- package/dist/{TrustDetailsPage-F-XzAJKt.js → TrustDetailsPage-DktRQRum.js} +38 -14
- package/dist/{TrustMemberCompanyPage-C0U5PbAW.js → TrustMemberCompanyPage-CLTOpWzU.js} +5 -5
- package/dist/{TrustMemberIndividualPage-C_rRPUgX.js → TrustMemberIndividualPage-wPh86-GQ.js} +4 -4
- package/dist/{UnincorporatedPartnershipIndividualPage-B0B2hFV8.js → UnincorporatedPartnershipIndividualPage-B-2i68Nd.js} +4 -4
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-CdWmnqg-.js → UnincorporatedPartnershipMemberCompanyPage-DWLczj6F.js} +4 -4
- package/dist/{VerificationErrorAlert-BmrZdkgs.js → VerificationErrorAlert-AbvM4lbK.js} +2 -2
- package/dist/{ViewVerificationStatusComponent-DqTteba3.js → ViewVerificationStatusComponent-vVZeXYDs.js} +14 -12
- package/dist/adyen-business-financing.js +8 -12
- package/dist/adyen-individual.js +6 -4
- package/dist/adyen-kyc-components.js +143 -124
- package/dist/adyen-manage-individual.js +2 -2
- package/dist/adyen-manage-terms-of-service.js +3 -3
- package/dist/adyen-manage-transfer-instruments.js +3 -3
- package/dist/adyen-onboarding.js +14 -6
- package/dist/adyen-terms-of-service.js +18 -6
- package/dist/adyen-transfer-instrument.js +10 -6
- package/dist/adyen-verification-status.js +2 -2
- package/dist/bag-DpxmyXfR.js +14 -0
- package/dist/business-lines-DboUCbXw.js +135 -0
- package/dist/decision-makers-group-CgddXgrx.js +1944 -0
- package/dist/en-US-CQ3angjM.js +22 -0
- package/dist/{getFieldsWithExistingData-xJPsn2JE.js → getFieldsWithExistingData-BS9W6RQp.js} +2 -2
- package/dist/{hasDataChanged-BQeJUDMz.js → hasDataChanged-DK74H0sZ.js} +2 -2
- package/dist/{localizeDateString-B3Zc2Aep.js → localizeDateString-C34eXZqY.js} +2 -2
- package/dist/mail-Z_IE_hkw.js +14 -0
- package/dist/{mapFinancialReportsToFinancialInformation-Dn-CfyG6.js → mapFinancialReportsToFinancialInformation-DoJu-RRw.js} +2 -2
- package/dist/pay-by-link-plane-Pv7Babgn.js +22 -0
- package/dist/{resolveEnvironment-BFUUd4tv.js → resolveEnvironment-rJv_NJF_.js} +3 -3
- package/dist/{rules-C7Cw2XXc.js → rules-OP83mdq4.js} +13 -13
- package/dist/solution-payments-DTAuLSWF.js +14 -0
- package/dist/style.css +218 -181
- package/dist/styles-CLV89_hH.js +218 -181
- package/dist/terminal-1-ewywjFJI.js +18 -0
- package/dist/types/api/idNowProvider/idNowProvider.types.d.ts +1 -2
- package/dist/types/api/idNowProvider/useIdNowProvider.d.ts +4 -8
- package/dist/types/components/BankAccount/forms/BankDocument/BankDocumentRequirements.d.ts +2 -3
- package/dist/types/components/BankAccount/forms/BankDocument/types.d.ts +25 -24
- package/dist/types/components/BankAccount/forms/BankVerification/verification/widget/types.d.ts +10 -10
- package/dist/types/components/BankAccount/forms/PayoutDetails/types.d.ts +2 -2
- package/dist/types/components/BankAccount/mapping/payoutKeyMappings.d.ts +0 -306
- package/dist/types/components/BankAccount/pages/PayoutDetailsPage.d.ts +1 -1
- package/dist/types/components/Business/forms/AdditionalInformation/AdditionalInformationMultiform.d.ts +9 -0
- package/dist/types/components/Business/forms/BasicInformation/BasicInformationMultiform.d.ts +10 -0
- package/dist/types/components/Business/forms/BasicInformation/types.d.ts +2 -2
- package/dist/types/components/Business/forms/BusinessDetails/forms.d.ts +14 -2
- package/dist/types/components/Business/forms/BusinessDetails/types.d.ts +5 -3
- package/dist/types/components/Business/forms/BusinessSelection/BusinessInformationCard/BusinessInformationCard.d.ts +3 -2
- package/dist/types/components/Business/forms/BusinessSelection/BusinessSelectionMultiform.d.ts +14 -0
- package/dist/types/components/Business/forms/BusinessSelection/types.d.ts +3 -0
- package/dist/types/components/Business/forms/CompanyStructure/CompanyStructureMultiform.d.ts +4 -0
- package/dist/types/components/Business/forms/forms.types.d.ts +14 -0
- package/dist/types/components/Business/forms/rules.d.ts +26 -8
- package/dist/types/components/Business/mapping/businessDetails/mapLegalEntityToBusinessDetailsSchema.d.ts +2 -1
- package/dist/types/components/Business/mapping/businessDetails/mapOrganizationTypeToCompanyType.d.ts +1 -1
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/businessDetailsStore.d.ts +5 -3
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/types.d.ts +4 -3
- package/dist/types/components/Business/tasks/BusinessDetailsMultiformDropin/BusinessDetailsMultiform.d.ts +18 -0
- package/dist/types/components/Business/tasks/BusinessDetailsMultiformDropin/BusinessDetailsMultiformDropin.d.ts +5 -0
- package/dist/types/components/Business/tasks/BusinessDetailsMultiformDropin/types.d.ts +2 -0
- package/dist/types/components/Business/tasks/BusinessDetailsMultiformDropin/utils.d.ts +21 -0
- package/dist/types/components/Business/tasks/BusinessDetailsMultiformDropin/validate.d.ts +22 -0
- package/dist/types/components/Business/utils/companyTypeMetadata.d.ts +1 -1
- package/dist/types/components/Business/utils/companyUtil.d.ts +3 -3
- package/dist/types/components/BusinessLines/pages/RootBusinessLinesPage.d.ts +5 -0
- package/dist/types/components/BusinessLines/tasks/BusinessLinesDropin.d.ts +5 -0
- package/dist/types/components/BusinessLines/tasks/BusinessLinesGettingStarted/BusinessLinesGettingStarted.d.ts +6 -0
- package/dist/types/components/Contract/tasks/ServiceAgreementDropin/types.d.ts +2 -2
- package/dist/types/components/EFP/mapping/businessFinancingKeyMappings.d.ts +1 -306
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/types.d.ts +22 -19
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/utils.d.ts +1 -2
- package/dist/types/components/EFP/tasks/SourceOfFundsDropin/types.d.ts +2 -2
- package/dist/types/components/EmbeddedDropins/OnboardingDropinComponent/DropinComposer/types.d.ts +3 -3
- package/dist/types/components/EmbeddedDropins/OnboardingDropinComponent/DropinComposer/useNavigation.d.ts +5 -5
- package/dist/types/components/EmbeddedDropins/ViewVerificationStatus/ViewVerificationStatusComponent.d.ts +1 -1
- package/dist/types/components/EmbeddedDropins/ViewVerificationStatus/content.d.ts +1 -1
- package/dist/types/components/Individual/fields/DecisionMakerRole/NomineeDecisionMakerRole.d.ts +6 -0
- package/dist/types/components/Individual/fields/DecisionMakerRole/types.d.ts +2 -2
- package/dist/types/components/Individual/forms/Individual/PersonalDetails/types.d.ts +2 -2
- package/dist/types/components/Individual/forms/Individual/PersonalDetails/validate.d.ts +2 -2
- package/dist/types/components/Individual/forms/Individual/ProofOfRelationship/types.d.ts +8 -8
- package/dist/types/components/Individual/forms/Individual/ProofOfResidency/types.d.ts +18 -18
- package/dist/types/components/Individual/forms/Individual/rules.d.ts +1 -1
- package/dist/types/components/Individual/forms/Individual/types.d.ts +2 -2
- package/dist/types/components/Individual/forms/IndividualOnfido/AdditionalPersonalDetails/AdditionalPersonalDetails.types.d.ts +3 -2
- package/dist/types/components/Individual/forms/IndividualOnfido/AdditionalPersonalDetails/validate.d.ts +2 -2
- package/dist/types/components/Individual/forms/IndividualOnfido/BasicDetails/BasicDetails.types.d.ts +2 -2
- package/dist/types/components/Individual/forms/IndividualOnfido/GuidanceQuestion/GuidanceQuestion.d.ts +4 -4
- package/dist/types/components/Individual/forms/IndividualOnfido/IndividualOnfido.rules.d.ts +3 -1
- package/dist/types/components/Individual/forms/IndividualOnfido/IndividualOnfido.types.d.ts +2 -2
- package/dist/types/components/Individual/helpers/isOnfidoAutofillFlowEnabled.d.ts +2 -2
- package/dist/types/components/Individual/helpers/roleUtils.d.ts +1 -1
- package/dist/types/components/Individual/helpers/shouldShowMotionCapture.d.ts +3 -3
- package/dist/types/components/Individual/pages/DecisionMakerDetailsPage.d.ts +1 -1
- package/dist/types/components/Individual/tasks/DecisionMakers/DecisionMakerDetails/DecisionMakerDetails.d.ts +2 -0
- package/dist/types/components/Individual/tasks/DecisionMakers/DecisionMakerDetails/DecisionMakerDetails.types.d.ts +7 -0
- package/dist/types/components/Individual/tasks/DecisionMakers/DecisionMakersGettingStarted/DecisionMakersGettingStarted.d.ts +5 -0
- package/dist/types/components/Individual/tasks/DecisionMakers/DecisionMakersGettingStarted/DecisionMakersModalContent.d.ts +1 -0
- package/dist/types/components/Shared/EntityGuidanceStatus/types.d.ts +4 -4
- package/dist/types/components/Shared/FormFlow/FormFlow.types.d.ts +1 -1
- package/dist/types/components/Shared/Introduction/Introduction.d.ts +2 -2
- package/dist/types/components/Shared/Introduction/IntroductionScreen.d.ts +2 -2
- package/dist/types/components/Shared/Introduction/constants.d.ts +3 -3
- package/dist/types/components/Shared/Introduction/copy.d.ts +6 -5
- package/dist/types/components/Shared/Introduction/types.d.ts +11 -11
- package/dist/types/components/Shared/SingpassBanner/SingpassBanner.d.ts +1 -1
- package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/BusinessRegistrationNumberField.d.ts +1 -1
- package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/fieldConfig.d.ts +1 -1
- package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/types.d.ts +5 -7
- package/dist/types/components/Shared/fields/CountryField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/CountryOfGoverningLawField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/Currency/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/DBANameField/types.d.ts +1 -3
- package/dist/types/components/Shared/fields/DateOfIncorporationField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/EInvoicingCodeField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/FinancialReportingDate/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/IdFieldTypeSelector/TaxIdNumberTypeSelector.d.ts +2 -2
- package/dist/types/components/Shared/fields/IdFieldTypeSelector/VatNumberTypeSelector.d.ts +2 -2
- package/dist/types/components/Shared/fields/IdFieldTypeSelector/countryIdNumberTypes.d.ts +27 -27
- package/dist/types/components/Shared/fields/IdFieldTypeSelector/getDefaultRegistrationNumberType.d.ts +16 -0
- package/dist/types/components/Shared/fields/IdFieldTypeSelector/getDefaultTaxIdNumberType.d.ts +2 -2
- package/dist/types/components/Shared/fields/IdFieldTypeSelector/getDefaultVatNumberType.d.ts +13 -0
- package/dist/types/components/Shared/fields/IdFieldTypeSelector/inferTaxIdNumberType.d.ts +2 -2
- package/dist/types/components/Shared/fields/LegalCompanyNameField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/NumberOfEmployees/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/PhoneField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/StateField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/StockExchangeMICField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/StockISINField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/StockTickerSymbol/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/TaxInformationField/TaxInformationField.d.ts +1 -1
- package/dist/types/components/Shared/fields/TaxInformationField/fieldConfig.d.ts +3 -3
- package/dist/types/components/Shared/fields/TaxInformationField/types.d.ts +3 -7
- package/dist/types/components/Shared/fields/VatNumberField/VatNumberField.d.ts +1 -1
- package/dist/types/components/Shared/fields/VatNumberField/types.d.ts +2 -4
- package/dist/types/components/Shared/forms/Address/utils.d.ts +1 -1
- package/dist/types/components/Shared/forms/BusinessTypeSelection/utils.d.ts +2 -2
- package/dist/types/components/Shared/forms/ConstitutionalDocument/types.d.ts +11 -10
- package/dist/types/components/Shared/forms/FinancialInformation/types.d.ts +3 -0
- package/dist/types/components/Shared/forms/RegistrationAddress/types.d.ts +7 -5
- package/dist/types/components/Shared/tasks/TaskList/types.d.ts +2 -4
- package/dist/types/components/Shared/tasks/TaskList/utils.d.ts +1 -2
- package/dist/types/components/Trust/forms/Trust/rules.d.ts +1 -0
- package/dist/types/components/Trust/forms/Trust/types.d.ts +1 -1
- package/dist/types/components/Trust/forms/TrustRegistrationDetails/types.d.ts +2 -2
- package/dist/types/components/Trust/forms/TrustRoleAndEntityType/types.d.ts +1 -2
- package/dist/types/components/Trust/hooks/useTrustMemberNavigation.hook.d.ts +3 -3
- package/dist/types/components/Trust/pages/TrustDetailsPage.d.ts +1 -1
- package/dist/types/components/Trust/tasks/TrustMembers/CompanyTrustMemberTaskItem.d.ts +1 -1
- package/dist/types/components/Trust/tasks/TrustMembers/ExemptSettlorTaskItem.d.ts +1 -1
- package/dist/types/components/Trust/tasks/TrustMembers/RegularTrustMemberTaskItem.d.ts +1 -1
- package/dist/types/components/Trust/tasks/TrustMembers/RootTrusteeTaskItem.d.ts +1 -1
- package/dist/types/components/Trust/tasks/TrustMembers/types.d.ts +6 -6
- package/dist/types/components/Trust/utils/trustMemberGuidance.d.ts +7 -6
- package/dist/types/components/Trust/utils/trustMemberRequirements.d.ts +1 -1
- package/dist/types/components/UnincorporatedPartnership/hooks/useUnincorporatedPartnershipNavigation.d.ts +6 -6
- package/dist/types/components/UnincorporatedPartnership/tasks/UnincorporatedPartnershipMembers/types.d.ts +5 -5
- package/dist/types/components/UnincorporatedPartnership/tasks/UnincorporatedPartnershipRoleAndType/UnincorporatedPartnershipRadioGroup.d.ts +2 -2
- package/dist/types/components/UnincorporatedPartnership/tasks/UnincorporatedPartnershipRoleAndType/types.d.ts +2 -2
- package/dist/types/components/ui/atoms/ListItem/ListItem.d.ts +16 -0
- package/dist/types/components/ui/atoms/Svg/svgs.d.ts +14 -0
- package/dist/types/components/ui/atoms/TaskStatusIndicator/TaskStatusIndicator.d.ts +1 -1
- package/dist/types/components/ui/layout/LandingLayout/LandingLayout.d.ts +3 -2
- package/dist/types/components/ui/molecules/EmbeddedStatus/EmbeddedStatus.d.ts +1 -1
- package/dist/types/components/ui/molecules/EmbeddedStatus/statusToTag.d.ts +2 -2
- package/dist/types/constants/keys.d.ts +2 -0
- package/dist/types/context/ExperimentContext/types.d.ts +49 -37
- package/dist/types/context/SettingsContext/types.d.ts +24 -24
- package/dist/types/core/models/api/company-types-value.d.ts +12 -11
- package/dist/types/core/models/api/decision-maker-type.d.ts +7 -6
- package/dist/types/core/models/api/entity-type.d.ts +5 -4
- package/dist/types/core/models/api/get-scenarios.d.ts +18 -18
- package/dist/types/core/models/api/individual.d.ts +1 -0
- package/dist/types/core/models/api/legal-arrangement.d.ts +2 -2
- package/dist/types/core/models/api/legal-entity-association.d.ts +2 -2
- package/dist/types/core/models/api/legal-entity-type.d.ts +8 -7
- package/dist/types/core/models/api/trust-member-type.d.ts +8 -8
- package/dist/types/core/models/api/trusted-fields-provider.d.ts +5 -4
- package/dist/types/core/models/api/unincorporated-partnership.d.ts +6 -6
- package/dist/types/core/models/api/verification-error.d.ts +8 -7
- package/dist/types/core/models/api/verification-status.d.ts +7 -6
- package/dist/types/core/models/api/view-verification-status.d.ts +8 -7
- package/dist/types/embeds/business-financing/AdyenBusinessFinancing.d.ts +1 -1
- package/dist/types/embeds/business-financing/adyen-business-financing.types.d.ts +6 -1
- package/dist/types/embeds/individual/adyen-individual.types.d.ts +6 -1
- package/dist/types/embeds/onboarding/AdyenOnboarding.d.ts +1 -0
- package/dist/types/embeds/onboarding/adyen-onboarding.types.d.ts +4 -1
- package/dist/types/embeds/terms-of-service/adyen-terms-of-service.types.d.ts +7 -1
- package/dist/types/embeds/transfer-instrument/AdyenTransferInstrument.d.ts +2 -1
- package/dist/types/embeds/transfer-instrument/adyen-transfer-instrument.types.d.ts +7 -2
- package/dist/types/hooks/introduction/useIntroductionScreens.d.ts +4 -4
- package/dist/types/hooks/singpass/useSingpassMyInfoLogin.d.ts +7 -6
- package/dist/types/hooks/useBusinessSetup.d.ts +11 -10
- package/dist/types/hooks/useDataMissingRemediations.d.ts +2 -2
- package/dist/types/hooks/useFormComposer.d.ts +1 -1
- package/dist/types/hooks/useLegalCompanyNameField/useLegalCompanyNameField.d.ts +6 -3
- package/dist/types/hooks/useLegalEntityType.d.ts +1 -1
- package/dist/types/hooks/useMultiForm/types.d.ts +38 -36
- package/dist/types/hooks/useMultiForm/useMultiForm.d.ts +1 -1
- package/dist/types/hooks/useScenarioConfiguration.d.ts +2 -2
- package/dist/types/language/Language.d.ts +1 -0
- package/dist/types/language/utils.d.ts +11 -1
- package/dist/types/stores/globalStore/calculateTaskStatus.d.ts +2 -2
- package/dist/types/stores/globalStore/determineTaskIdentifiers.d.ts +2 -2
- package/dist/types/stores/globalStore/get-task-status.d.ts +2 -2
- package/dist/types/stores/globalStore/globalStore.d.ts +7 -7
- package/dist/types/stores/globalStore/taskStatus.d.ts +17 -16
- package/dist/types/stores/globalStore/taskTypes.d.ts +37 -35
- package/dist/types/types/datasets/country-code.d.ts +249 -249
- package/dist/types/types/datasets/currency.d.ts +25 -25
- package/dist/types/types/datasets/province-code.d.ts +46 -46
- package/dist/types/types/datasets/state-code.d.ts +84 -84
- package/dist/types/types/errors/entity-problems.d.ts +3 -4
- package/dist/types/types/form-rules.d.ts +2 -2
- package/dist/types/utils/api/processValidationErrors.d.ts +2 -2
- package/dist/types/utils/birthDateUtils.d.ts +3 -3
- package/dist/types/utils/decisionMaker.d.ts +4 -3
- package/dist/types/utils/decisionMakerRoles.d.ts +4 -3
- package/dist/types/utils/entityAssociationUtil.d.ts +4 -5
- package/dist/types/utils/entityStatusUtil.d.ts +3 -3
- package/dist/types/utils/formUtils.d.ts +2 -2
- package/dist/types/utils/getDisplayErrorMessage.d.ts +2 -2
- package/dist/types/utils/getName.d.ts +2 -2
- package/dist/types/utils/makeSelectItemForRole.d.ts +2 -2
- package/dist/types/utils/regex/patternValidators.d.ts +1 -0
- package/dist/types/utils/roleMetadata.d.ts +3 -3
- package/dist/types/utils/translation.d.ts +40 -0
- package/dist/{useMultiForm-CR4hzuCc.js → useMultiForm-ChxUZ4e7.js} +10 -5
- package/dist/{useOnboardingStatus-Dqs20dD8.js → useOnboardingStatus-1BQlEPEi.js} +2 -2
- package/dist/{useTermsOfServiceStatus-BTFnYGYb.js → useTermsOfServiceStatus-BaVCmUdo.js} +2 -2
- package/dist/{useUpdateLegalEntity-DZmx_k0Y.js → useUpdateLegalEntity-LE_Kt3am.js} +2 -2
- package/dist/{utils-Dbw9j-fF.js → utils-DmcbDJEd.js} +17 -17
- package/dist/{validate-PXGKct7b.js → validate-B2VmmEPC.js} +2 -2
- package/dist/{validate-sqPOCY2c.js → validate-D66zPhDG.js} +2 -2
- package/dist/view-verification-status-VFcBydkR.js +21 -0
- package/package.json +5 -30
- package/dist/DecisionMakers-DD4_MCdo.js +0 -217
- package/dist/LandingLayout-CYvWj-yQ.js +0 -139
- package/dist/ManagePCIComponent-DOrKClpc.js +0 -33
- package/dist/RootBusinessDetailsPage-CO4mL-OT.js +0 -42
- package/dist/_plugin-vue_export-helper-CgYpM5kA.js +0 -19
- package/dist/adyen-manage-pci.js +0 -48
- package/dist/adyen-sign-pci.js +0 -62
- package/dist/adyen-terms-of-service.vue_vue_type_script_lang-BD4hndWg.js +0 -42
- package/dist/adyen-transfer-instrument.vue_vue_type_script_lang-BE-ro1iH.js +0 -53
- package/dist/css-BhF49TbR.js +0 -24
- package/dist/json-CYfI6iyy.js +0 -31
- package/dist/plaintext-DqowNgbq.js +0 -17
- package/dist/preact/adyen-individual.js +0 -15
- package/dist/preact/adyen-manage-individual.js +0 -15
- package/dist/preact/adyen-terms-of-service.js +0 -16
- package/dist/preact/adyen-transfer-instrument.js +0 -16
- package/dist/types/components/Individual/forms/IndividualOnfido/IdVerificationMethod/IdVerificationDisclaimer/IdVerificationDisclaimer.d.ts +0 -1
- package/dist/types/components/Individual/forms/IndividualOnfido/IdVerificationMethod/IdVerificationHeader/IdVerificationHeader.d.ts +0 -1
- package/dist/types/embeds/individual/AdyenIndividualPreact.d.ts +0 -3
- package/dist/types/embeds/manage-individual/AdyenManageIndividualPreact.d.ts +0 -3
- package/dist/types/embeds/manage-pci/AdyenManagePci.d.ts +0 -12
- package/dist/types/embeds/manage-pci/adyen-manage-pci.d.ts +0 -1
- package/dist/types/embeds/manage-pci/adyen-manage-pci.types.d.ts +0 -39
- package/dist/types/embeds/sign-pci/AdyenSignPci.d.ts +0 -15
- package/dist/types/embeds/sign-pci/adyen-sign-pci.d.ts +0 -1
- package/dist/types/embeds/sign-pci/adyen-sign-pci.types.d.ts +0 -43
- package/dist/types/embeds/terms-of-service/AdyenTermsOfServicePreact.d.ts +0 -3
- package/dist/types/embeds/transfer-instrument/AdyenTransferInstrumentPreact.d.ts +0 -3
- package/dist/useSalesChannelsSettings-CLSu5OoN.js +0 -51
- package/dist/view-verification-status-DTkA8PtO.js +0 -20
- package/dist/vue/adyen-individual.js +0 -53
- package/dist/vue/adyen-manage-individual.js +0 -56
- package/dist/vue/adyen-terms-of-service.js +0 -28
- package/dist/vue/adyen-transfer-instrument.js +0 -30
- package/dist/yaml-tUhjVy56.js +0 -22
|
@@ -50,14 +50,15 @@ export interface BusinessFinancingUltimateParentCompanyDetailsProps extends Base
|
|
|
50
50
|
legalEntity?: ExistingLegalEntity;
|
|
51
51
|
}
|
|
52
52
|
export type BusinessFinancingSchemaCombined = BusinessFinancingCompanySchema & BusinessFinancingParentCompanySchema & BusinessFinancingUltimateParentCompanySchema;
|
|
53
|
-
export
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
53
|
+
export type BusinessFinancingPage = (typeof BusinessFinancingPages)[keyof typeof BusinessFinancingPages];
|
|
54
|
+
export declare const BusinessFinancingPages: {
|
|
55
|
+
readonly COMPANY_PAGE: "company";
|
|
56
|
+
readonly PARENT_COMPANY_PAGE: "parentCompany";
|
|
57
|
+
readonly ULTIMATE_PARENT_COMPANY_PAGE: "ultimateParentCompany";
|
|
58
|
+
};
|
|
58
59
|
export interface BusinessFinancingBusinessInformationProps extends BaseInnerFormProps<BusinessFinancingBusinessInformationSchema> {
|
|
59
60
|
country: CountryCode;
|
|
60
|
-
targetPage:
|
|
61
|
+
targetPage: BusinessFinancingPage;
|
|
61
62
|
sectionHeading?: Translatable;
|
|
62
63
|
hideSectionHeading?: boolean;
|
|
63
64
|
}
|
|
@@ -69,28 +70,29 @@ export interface BusinessFinancingOwnershipStructureProps extends BaseInnerFormP
|
|
|
69
70
|
}
|
|
70
71
|
export interface BusinessFinancingFinancialInformationProps extends BaseInnerFormProps<BusinessFinancingFinancialInformationSchema> {
|
|
71
72
|
country: CountryCode;
|
|
72
|
-
targetPage:
|
|
73
|
+
targetPage: BusinessFinancingPage;
|
|
73
74
|
sectionHeading?: Translatable;
|
|
74
75
|
}
|
|
75
76
|
export interface BusinessFinancingLegalInformationProps extends BaseInnerFormProps<BusinessFinancingLegalInformationSchema> {
|
|
76
77
|
country: CountryCode;
|
|
77
|
-
targetPage:
|
|
78
|
+
targetPage: BusinessFinancingPage;
|
|
78
79
|
sectionHeading?: Translatable;
|
|
79
80
|
}
|
|
80
81
|
export type BusinessFinancingParentSchemasCombined = BusinessFinancingParentCompanySchema & BusinessFinancingUltimateParentCompanySchema;
|
|
81
82
|
export interface BusinessFinancingBasicCompanyInformationProps extends BaseInnerFormProps<BusinessFinancingBasicCompanyInformationSchema> {
|
|
82
83
|
sectionHeading?: Translatable;
|
|
83
84
|
}
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
85
|
+
export type BusinessFinancingRadioId = (typeof BusinessFinancingRadioIds)[keyof typeof BusinessFinancingRadioIds];
|
|
86
|
+
declare const BusinessFinancingRadioIds: {
|
|
87
|
+
readonly YES: "Yes";
|
|
88
|
+
readonly NO: "No";
|
|
89
|
+
};
|
|
88
90
|
export declare const businessFinancingRadioItems: Array<{
|
|
89
|
-
id:
|
|
91
|
+
id: BusinessFinancingRadioId;
|
|
90
92
|
name: TranslationKey;
|
|
91
93
|
}>;
|
|
92
94
|
export declare const businessFinancingParentRadioItems: Array<{
|
|
93
|
-
id:
|
|
95
|
+
id: BusinessFinancingRadioId;
|
|
94
96
|
name: TranslationKey;
|
|
95
97
|
}>;
|
|
96
98
|
export interface BusinessFinancingRegisteredAddressProps extends BaseInnerFormProps<BusinessFinancingRegisteredAddressSchema> {
|
|
@@ -102,11 +104,12 @@ export interface BusinessFinancingRegisteredAddressProps extends BaseInnerFormPr
|
|
|
102
104
|
export declare const companySchemaKeys: (keyof BusinessFinancingCompanySchema)[];
|
|
103
105
|
export declare const parentCompaniesSchemaKeys: (keyof BusinessFinancingParentCompanySchema & BusinessFinancingUltimateParentCompanySchema)[];
|
|
104
106
|
export declare const businessFinancingForms: FormList;
|
|
105
|
-
export
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
107
|
+
export type BusinessFinancingIndex = (typeof BusinessFinancingIndices)[keyof typeof BusinessFinancingIndices];
|
|
108
|
+
export declare const BusinessFinancingIndices: {
|
|
109
|
+
readonly COMPANY: "company";
|
|
110
|
+
readonly PARENT_COMPANY: "parentCompany";
|
|
111
|
+
readonly ULTIMATE_PARENT_COMPANY: "ultimateParentCompany";
|
|
112
|
+
};
|
|
110
113
|
interface BusinessFinancingSummary {
|
|
111
114
|
legalName?: string;
|
|
112
115
|
legalForm?: string;
|
|
@@ -5,8 +5,7 @@ import type { Address } from '../../../../core/models/api/address';
|
|
|
5
5
|
import type { FinancialInformationSchema } from '../../../Shared/forms/FinancialInformation/types';
|
|
6
6
|
import type { CountryCode } from '../../../../types/datasets/country-code';
|
|
7
7
|
import type { Currency } from '../../../../types/datasets/currency';
|
|
8
|
-
import type { BusinessFinancingCompanySchema, BusinessFinancingParentCompanySchema, BusinessFinancingParentSchemasCombined, BusinessFinancingSchema } from './types';
|
|
9
|
-
import { BusinessFinancingIndex } from './types';
|
|
8
|
+
import type { BusinessFinancingCompanySchema, BusinessFinancingIndex, BusinessFinancingParentCompanySchema, BusinessFinancingParentSchemasCombined, BusinessFinancingSchema } from './types';
|
|
10
9
|
export declare const getLegalEntityId: (businessFinancingIndex: BusinessFinancingIndex, rootLegalEntity: ExistingLegalEntity | undefined) => undefined | string;
|
|
11
10
|
export declare const USER_LOCALE: string;
|
|
12
11
|
export declare const entityHasParentCompany: (data: BusinessFinancingSchema) => boolean | "" | undefined;
|
|
@@ -6,7 +6,7 @@ import type { Organization } from '../../../../core/models/api/organization';
|
|
|
6
6
|
import type { BusinessLinesType, SourceOfFundsAmount, SourceOfFundsCategoryType, SourceOfFundsFinancierType } from '../../../../core/models/api/source-of-funds';
|
|
7
7
|
import type { BaseInnerFormProps, BaseOuterFormProps } from '../../../../hooks/useForm/types';
|
|
8
8
|
import type { ExistingLegalEntity } from '../../../../core/models/api/legal-entity';
|
|
9
|
-
import type {
|
|
9
|
+
import type { TaskType } from '../../../../stores/globalStore/taskTypes';
|
|
10
10
|
import type { CountryCode } from '../../../../types/datasets/country-code';
|
|
11
11
|
import type { EntityProblems } from '../../../../types/errors/entity-problems';
|
|
12
12
|
import type { FormModel } from '../../../../types/form';
|
|
@@ -19,7 +19,7 @@ export interface SourceOfFundsProps extends BaseOuterFormProps<SourceOfFundsSche
|
|
|
19
19
|
forms?: FormModel[];
|
|
20
20
|
problems?: EntityProblems;
|
|
21
21
|
legalEntityId?: string;
|
|
22
|
-
taskType?:
|
|
22
|
+
taskType?: TaskType;
|
|
23
23
|
country: CountryCode;
|
|
24
24
|
activeBusinessLine?: BusinessLinesType;
|
|
25
25
|
onNext?(e: any, callbacks: any, isValid: any): void;
|
package/dist/types/components/EmbeddedDropins/OnboardingDropinComponent/DropinComposer/types.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { State, TopLevelDataSchema } from '../../../../context/StateContext/types';
|
|
2
2
|
import type { CapabilityName } from '../../../../core/models/api/capability';
|
|
3
3
|
import type { ExistingLegalEntity } from '../../../../core/models/api/legal-entity';
|
|
4
|
-
import type {
|
|
4
|
+
import type { TaskType } from '../../../../stores/globalStore/taskTypes';
|
|
5
5
|
export interface SingpassLinkResponseItem {
|
|
6
6
|
authUrl: string;
|
|
7
7
|
success: boolean;
|
|
@@ -14,7 +14,7 @@ export interface DropinComposerProps {
|
|
|
14
14
|
legalEntityResponse: ExistingLegalEntity;
|
|
15
15
|
onChange?: (state: State<TopLevelDataSchema>) => void;
|
|
16
16
|
onSubmit?: (data: unknown) => void;
|
|
17
|
-
onNavigate?: (task:
|
|
17
|
+
onNavigate?: (task: TaskType) => void;
|
|
18
18
|
openBankingPartnerConfigId?: string;
|
|
19
19
|
}
|
|
20
20
|
export interface DropinProps {
|
|
@@ -22,5 +22,5 @@ export interface DropinProps {
|
|
|
22
22
|
handleBackClick?(): void;
|
|
23
23
|
handleCloseClick?(): void;
|
|
24
24
|
hideSidebar?: boolean;
|
|
25
|
-
taskType?:
|
|
25
|
+
taskType?: TaskType;
|
|
26
26
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import type { ExistingLegalEntity } from '../../../../core/models/api/legal-entity';
|
|
2
|
-
import {
|
|
2
|
+
import { type TaskType } from '../../../../stores/globalStore/taskTypes';
|
|
3
3
|
interface UseNavigationOptions {
|
|
4
4
|
legalEntity: ExistingLegalEntity;
|
|
5
|
-
onNavigate?: (task:
|
|
5
|
+
onNavigate?: (task: TaskType) => void;
|
|
6
6
|
}
|
|
7
7
|
interface UseNavigation {
|
|
8
|
-
currentTask:
|
|
9
|
-
previousTask:
|
|
10
|
-
navigateTo: (task:
|
|
8
|
+
currentTask: TaskType | undefined;
|
|
9
|
+
previousTask: TaskType | undefined;
|
|
10
|
+
navigateTo: (task: TaskType | 'default', deletePreviousHistory?: boolean) => void;
|
|
11
11
|
navigateBack: (stepCount?: number) => void;
|
|
12
12
|
}
|
|
13
13
|
export declare const useNavigation: ({ legalEntity, onNavigate }: UseNavigationOptions) => UseNavigation;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ExistingLegalEntity } from '../../../core/models/api/legal-entity';
|
|
2
|
-
import { OnboardingStatus } from '../../../core/models/api/view-verification-status';
|
|
2
|
+
import { type OnboardingStatus } from '../../../core/models/api/view-verification-status';
|
|
3
3
|
import type { ErrorEntity, OnboardingRedirectConfig } from './types';
|
|
4
4
|
interface ViewVerificationStatusComponentProps {
|
|
5
5
|
legalEntityId: ExistingLegalEntity['id'];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { OnboardingStatus } from '../../../core/models/api/view-verification-status';
|
|
1
|
+
import { type OnboardingStatus } from '../../../core/models/api/view-verification-status';
|
|
2
2
|
import type { TranslationKey } from '../../../../types';
|
|
3
3
|
export interface OnboardingRedirectContent {
|
|
4
4
|
description: TranslationKey[];
|
package/dist/types/components/Individual/fields/DecisionMakerRole/NomineeDecisionMakerRole.d.ts
CHANGED
|
@@ -1,4 +1,10 @@
|
|
|
1
1
|
import './style.scss';
|
|
2
2
|
import type { NomineeDecisionMakerRoleProps, NomineeDecisionMakerRoleSchema } from './types';
|
|
3
3
|
export declare const nomineeFields: (keyof NomineeDecisionMakerRoleSchema)[];
|
|
4
|
+
export type NomineeRadioId = (typeof NomineeRadioIds)[keyof typeof NomineeRadioIds];
|
|
5
|
+
declare const NomineeRadioIds: {
|
|
6
|
+
readonly YES: "Yes";
|
|
7
|
+
readonly NO: "No";
|
|
8
|
+
};
|
|
4
9
|
export declare const NomineeDecisionMakerRole: (props: NomineeDecisionMakerRoleProps) => import("preact/jsx-runtime").JSX.Element | undefined;
|
|
10
|
+
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { DecisionMakerType } from '../../../../core/models/api/decision-maker-type';
|
|
2
2
|
import type { LegalEntityAssociation } from '../../../../core/models/api/legal-entity-association';
|
|
3
3
|
import type { BaseInnerFormProps } from '../../../../hooks/useForm/types';
|
|
4
|
-
import type {
|
|
4
|
+
import type { TaskType } from '../../../../stores/globalStore/taskTypes';
|
|
5
5
|
import type { CountryCode } from '../../../../types/datasets/country-code';
|
|
6
6
|
export interface DecisionMakerRoleSchema {
|
|
7
7
|
role?: DecisionMakerType[];
|
|
@@ -11,7 +11,7 @@ export interface NomineeDecisionMakerRoleSchema {
|
|
|
11
11
|
nomineeShareholder?: string;
|
|
12
12
|
}
|
|
13
13
|
export interface DecisionMakerRoleProps extends BaseInnerFormProps<DecisionMakerRoleSchema> {
|
|
14
|
-
taskType:
|
|
14
|
+
taskType: TaskType;
|
|
15
15
|
allowedRoles?: DecisionMakerType[];
|
|
16
16
|
trustedRoles?: Array<LegalEntityAssociation['type']>;
|
|
17
17
|
country?: CountryCode;
|
|
@@ -7,7 +7,7 @@ import type { IndividualIdNumberType } from '../../../../Shared/fields/IdFieldTy
|
|
|
7
7
|
import type { NameSchema } from '../../../../Shared/fields/Name/types';
|
|
8
8
|
import type { TaxInformationFieldSchema } from '../../../../Shared/fields/TaxInformationField/types';
|
|
9
9
|
import type { ContactDetailsSchema } from '../../../../Shared/forms/ContactDetails/types';
|
|
10
|
-
import type {
|
|
10
|
+
import type { TaskType } from '../../../../../stores/globalStore/taskTypes';
|
|
11
11
|
import type { CountryCode } from '../../../../../types/datasets/country-code';
|
|
12
12
|
import type { ValidationRuleResults, ValidatorMode } from '../../../../../utils/validation/types';
|
|
13
13
|
import type { JaHaniNameSchema, JaKanaNameSchema } from '../../../../Individual/fields/NameFields/types';
|
|
@@ -22,7 +22,7 @@ export interface PersonalDetailsSchema extends NameSchema, IdentityNumberSchema,
|
|
|
22
22
|
relationship?: LegalRepresentativeRelationshipType;
|
|
23
23
|
}
|
|
24
24
|
export interface PersonalDetailsProps extends BaseInnerFormProps<PersonalDetailsSchema> {
|
|
25
|
-
taskType:
|
|
25
|
+
taskType: TaskType;
|
|
26
26
|
allowedRoles?: DecisionMakerType[];
|
|
27
27
|
onResidencyCountryChange?(country: string): void;
|
|
28
28
|
fallbackCountry: CountryCode;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ExperimentName } from '../../../../../context/ExperimentContext/types';
|
|
2
2
|
import type { BooleanSettingName } from '../../../../../context/SettingsContext/types';
|
|
3
3
|
import type { IndividualIdNumberType, TaxIdNumberType } from '../../../../Shared/fields/IdFieldTypeSelector/countryIdNumberTypes';
|
|
4
|
-
import {
|
|
4
|
+
import { type TaskType } from '../../../../../stores/globalStore/taskTypes';
|
|
5
5
|
import type { CountryCode } from '../../../../../types/datasets/country-code';
|
|
6
6
|
import type { FormVerificationErrors } from '../../../../../types/errors/form-verification-errors';
|
|
7
7
|
import type { ValidatorRules } from '../../../../../utils/validation/types';
|
|
@@ -10,7 +10,7 @@ export declare const personalDetailsValidators: ({ country, isExperimentEnabled,
|
|
|
10
10
|
country: CountryCode;
|
|
11
11
|
isExperimentEnabled?: (experiment: ExperimentName) => boolean;
|
|
12
12
|
isSettingEnabled?: (setting: BooleanSettingName) => boolean;
|
|
13
|
-
taskType?:
|
|
13
|
+
taskType?: TaskType;
|
|
14
14
|
idNumberType: IndividualIdNumberType | undefined;
|
|
15
15
|
phonePrefix: CountryCode | undefined;
|
|
16
16
|
idNumberExempt: boolean | undefined;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import type { DocumentUploadProps } from '../../../../Shared/forms/DocumentUpload/types';
|
|
2
|
-
export declare
|
|
3
|
-
BIRTH_CERTIFICATE
|
|
4
|
-
GUARDIANSHIP_CERTIFICATE
|
|
5
|
-
ADOPTION_CERTIFICATE
|
|
6
|
-
}
|
|
2
|
+
export declare const ProofOfRelationshipDocumentTypes: {
|
|
3
|
+
readonly BIRTH_CERTIFICATE: "birthCertificate";
|
|
4
|
+
readonly GUARDIANSHIP_CERTIFICATE: "guardianshipCertificate";
|
|
5
|
+
readonly ADOPTION_CERTIFICATE: "adoptionCertificate";
|
|
6
|
+
};
|
|
7
7
|
export declare const proofOfRelationshipDocumentOptions: readonly [{
|
|
8
|
-
readonly id:
|
|
8
|
+
readonly id: "birthCertificate";
|
|
9
9
|
readonly name: "birthCertificate";
|
|
10
10
|
}, {
|
|
11
|
-
readonly id:
|
|
11
|
+
readonly id: "guardianshipCertificate";
|
|
12
12
|
readonly name: "guardianshipCertificate";
|
|
13
13
|
}, {
|
|
14
|
-
readonly id:
|
|
14
|
+
readonly id: "adoptionCertificate";
|
|
15
15
|
readonly name: "adoptionCertificate";
|
|
16
16
|
}];
|
|
17
17
|
export interface ProofOfRelationshipProps extends Omit<DocumentUploadProps<'proofOfRelationship'>, 'documentField' | 'documentType'> {
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import type { DocumentUploadProps } from '../../../../Shared/forms/DocumentUpload/types';
|
|
2
|
-
export declare
|
|
3
|
-
BANK_STATEMENT
|
|
4
|
-
UTILITY_BILL
|
|
5
|
-
GOVERNMENT_ISSUED_CORRESPONDENCE
|
|
6
|
-
TAXATION_DOCUMENT
|
|
7
|
-
EXTRACT_FROM_MUNICIPAL_PERSONAL_RECORDS_DATABASE
|
|
8
|
-
SALARY_SLIP
|
|
9
|
-
MORTGAGE_STATEMENT
|
|
10
|
-
CERTIFICATE_OF_VOTER_REGISTRATION
|
|
11
|
-
}
|
|
2
|
+
export declare const ProofOfResidenceDocumentTypes: {
|
|
3
|
+
readonly BANK_STATEMENT: "bankStatement";
|
|
4
|
+
readonly UTILITY_BILL: "utilityBill";
|
|
5
|
+
readonly GOVERNMENT_ISSUED_CORRESPONDENCE: "governmentIssuedCorrespondence";
|
|
6
|
+
readonly TAXATION_DOCUMENT: "taxationDocument";
|
|
7
|
+
readonly EXTRACT_FROM_MUNICIPAL_PERSONAL_RECORDS_DATABASE: "extractFromMunicipalPersonalRecordsDatabase";
|
|
8
|
+
readonly SALARY_SLIP: "salarySlip";
|
|
9
|
+
readonly MORTGAGE_STATEMENT: "mortgageStatement";
|
|
10
|
+
readonly CERTIFICATE_OF_VOTER_REGISTRATION: "certificateOfVoterRegistration";
|
|
11
|
+
};
|
|
12
12
|
export declare const proofOfResidenceDocumentOptions: readonly [{
|
|
13
|
-
readonly id:
|
|
13
|
+
readonly id: "bankStatement";
|
|
14
14
|
readonly name: "bankStatementDocument";
|
|
15
15
|
}, {
|
|
16
|
-
readonly id:
|
|
16
|
+
readonly id: "utilityBill";
|
|
17
17
|
readonly name: "utilityBill";
|
|
18
18
|
}, {
|
|
19
|
-
readonly id:
|
|
19
|
+
readonly id: "governmentIssuedCorrespondence";
|
|
20
20
|
readonly name: "governmentIssuedCorrespondence";
|
|
21
21
|
}, {
|
|
22
|
-
readonly id:
|
|
22
|
+
readonly id: "taxationDocument";
|
|
23
23
|
readonly name: "taxationDocument";
|
|
24
24
|
}, {
|
|
25
|
-
readonly id:
|
|
25
|
+
readonly id: "extractFromMunicipalPersonalRecordsDatabase";
|
|
26
26
|
readonly name: "extractFromMunicipalPersonalRecordsDatabase";
|
|
27
27
|
}, {
|
|
28
|
-
readonly id:
|
|
28
|
+
readonly id: "salarySlip";
|
|
29
29
|
readonly name: "salarySlip";
|
|
30
30
|
}, {
|
|
31
|
-
readonly id:
|
|
31
|
+
readonly id: "mortgageStatement";
|
|
32
32
|
readonly name: "mortgageStatement";
|
|
33
33
|
}, {
|
|
34
|
-
readonly id:
|
|
34
|
+
readonly id: "certificateOfVoterRegistration";
|
|
35
35
|
readonly name: "certificateOfVoterRegistration";
|
|
36
36
|
}];
|
|
37
37
|
export interface ProofOfResidencyProps extends Omit<DocumentUploadProps<'proofOfResidency'>, 'documentField' | 'documentType'> {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DecisionMakerType } from '../../../../core/models/api/decision-maker-type';
|
|
1
|
+
import { type DecisionMakerType } from '../../../../core/models/api/decision-maker-type';
|
|
2
2
|
import type { CountryCode } from '../../../../types/datasets/country-code';
|
|
3
3
|
import type { FormRulesParams } from '../../../../types/form-rules';
|
|
4
4
|
import type { IndividualSchema } from './types';
|
|
@@ -5,7 +5,7 @@ import type { BaseOuterFormProps } from '../../../../hooks/useForm/types';
|
|
|
5
5
|
import type { AddressSchema } from '../../../Shared/forms/Address/types';
|
|
6
6
|
import type { ContactDetailsSchema } from '../../../Shared/forms/ContactDetails/types';
|
|
7
7
|
import type { DocumentUploadSchema } from '../../../Shared/forms/DocumentUpload/types';
|
|
8
|
-
import type {
|
|
8
|
+
import type { TaskType } from '../../../../stores/globalStore/taskTypes';
|
|
9
9
|
import type { AccountHolderOption } from '../../../../types/accountHolder';
|
|
10
10
|
import type { CountryCode } from '../../../../types/datasets/country-code';
|
|
11
11
|
import type { EntityProblems } from '../../../../types/errors/entity-problems';
|
|
@@ -31,7 +31,7 @@ export interface IndividualProps extends BaseOuterFormProps<IndividualSchema> {
|
|
|
31
31
|
forms?: FormModel[];
|
|
32
32
|
problems?: EntityProblems;
|
|
33
33
|
legalEntityId?: string;
|
|
34
|
-
taskType:
|
|
34
|
+
taskType: TaskType;
|
|
35
35
|
allowedRoles?: DecisionMakerType[];
|
|
36
36
|
parentLegalEntity?: ExistingLegalEntity;
|
|
37
37
|
country: CountryCode;
|
|
@@ -3,7 +3,7 @@ import type { TranslationKey } from '../../../../../../types';
|
|
|
3
3
|
import type { IndividualIdNumberType } from '../../../../Shared/fields/IdFieldTypeSelector/countryIdNumberTypes';
|
|
4
4
|
import type { TaxInformationFieldSchema } from '../../../../Shared/fields/TaxInformationField/types';
|
|
5
5
|
import type { AddressSchema } from '../../../../Shared/forms/Address/types';
|
|
6
|
-
import type {
|
|
6
|
+
import type { TaskType } from '../../../../../stores/globalStore/taskTypes';
|
|
7
7
|
import type { CountryCode } from '../../../../../types/datasets/country-code';
|
|
8
8
|
import type { ValidationRuleResults } from '../../../../../utils/validation/types';
|
|
9
9
|
import type { IdentityNumberSchema } from '../../../fields/IdentityNumber/type';
|
|
@@ -11,10 +11,11 @@ import type { AdditionalIdentityInfoSchema } from './Identity/Identity.types';
|
|
|
11
11
|
export interface AdditionalPersonalDetailsSchema extends AddressSchema, IdentityNumberSchema, TaxInformationFieldSchema, AdditionalIdentityInfoSchema {
|
|
12
12
|
birthDate?: string;
|
|
13
13
|
nationality?: CountryCode;
|
|
14
|
+
placeOfBirth?: string;
|
|
14
15
|
}
|
|
15
16
|
export interface AdditionalPersonalDetailsProps extends BaseInnerFormProps<AdditionalPersonalDetailsSchema> {
|
|
16
17
|
country: CountryCode;
|
|
17
|
-
taskType?:
|
|
18
|
+
taskType?: TaskType;
|
|
18
19
|
onResidencyCountryChange?(country: string): void;
|
|
19
20
|
}
|
|
20
21
|
export interface IdentityProps {
|
|
@@ -2,7 +2,7 @@ import type { ExperimentName } from '../../../../../context/ExperimentContext/ty
|
|
|
2
2
|
import type { BooleanSettingName } from '../../../../../context/SettingsContext/types';
|
|
3
3
|
import type { Language } from '../../../../../language/Language';
|
|
4
4
|
import type { IndividualIdNumberType, TaxIdNumberType } from '../../../../Shared/fields/IdFieldTypeSelector/countryIdNumberTypes';
|
|
5
|
-
import {
|
|
5
|
+
import { type TaskType } from '../../../../../stores/globalStore/taskTypes';
|
|
6
6
|
import type { CountryCode } from '../../../../../types/datasets/country-code';
|
|
7
7
|
import type { FormVerificationErrors } from '../../../../../types/errors/form-verification-errors';
|
|
8
8
|
import type { ValidatorRules } from '../../../../../utils/validation/types';
|
|
@@ -11,7 +11,7 @@ export declare const additionalPersonalDetailsValidators: ({ country, isExperime
|
|
|
11
11
|
country: CountryCode;
|
|
12
12
|
isExperimentEnabled?: (experiment: ExperimentName) => boolean;
|
|
13
13
|
isSettingEnabled?: (setting: BooleanSettingName) => boolean;
|
|
14
|
-
taskType?:
|
|
14
|
+
taskType?: TaskType;
|
|
15
15
|
idNumberType: IndividualIdNumberType | undefined;
|
|
16
16
|
idNumberExempt: boolean | undefined;
|
|
17
17
|
idNumber: string | undefined;
|
package/dist/types/components/Individual/forms/IndividualOnfido/BasicDetails/BasicDetails.types.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import type { LegalEntityAssociation, LegalRepresentativeRelationshipType } from
|
|
|
4
4
|
import type { BaseInnerFormProps } from '../../../../../hooks/useForm/types';
|
|
5
5
|
import type { NameSchema } from '../../../../Shared/fields/Name/types';
|
|
6
6
|
import type { ContactDetailsSchema } from '../../../../Shared/forms/ContactDetails/types';
|
|
7
|
-
import type {
|
|
7
|
+
import type { TaskType } from '../../../../../stores/globalStore/taskTypes';
|
|
8
8
|
import type { CountryCode } from '../../../../../types/datasets/country-code';
|
|
9
9
|
import type { DecisionMakerRoleSchema, NomineeDecisionMakerRoleSchema } from '../../../fields/DecisionMakerRole/types';
|
|
10
10
|
import type { JaHaniNameSchema, JaKanaNameSchema } from '../../../fields/NameFields/types';
|
|
@@ -14,7 +14,7 @@ export interface BasicDetailsSchema extends NameSchema, JaHaniNameSchema, JaKana
|
|
|
14
14
|
}
|
|
15
15
|
export interface BasicDetailsProps extends BaseInnerFormProps<BasicDetailsSchema> {
|
|
16
16
|
country: CountryCode;
|
|
17
|
-
taskType?:
|
|
17
|
+
taskType?: TaskType;
|
|
18
18
|
allowedRoles?: DecisionMakerType[];
|
|
19
19
|
onResidencyCountryChange?(country: string): void;
|
|
20
20
|
parentLegalEntity?: ExistingLegalEntity;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { JSX, TargetedMouseEvent } from 'preact';
|
|
2
|
-
export declare
|
|
3
|
-
YES
|
|
4
|
-
NO
|
|
5
|
-
}
|
|
2
|
+
export declare const GuidanceQuestionValues: {
|
|
3
|
+
readonly YES: "Yes";
|
|
4
|
+
readonly NO: "No";
|
|
5
|
+
};
|
|
6
6
|
export type GuidanceQuestionValue = 'Yes' | 'No';
|
|
7
7
|
export interface GuidanceQuestionProps {
|
|
8
8
|
descriptionLinkText?: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DecisionMakerType } from '../../../../core/models/api/decision-maker-type';
|
|
1
|
+
import { type DecisionMakerType } from '../../../../core/models/api/decision-maker-type';
|
|
2
2
|
import type { CountryCode } from '../../../../types/datasets/country-code';
|
|
3
3
|
import type { FormRulesParams } from '../../../../types/form-rules';
|
|
4
4
|
import type { IndividualOnfidoSchema } from './IndividualOnfido.types';
|
|
@@ -14,9 +14,11 @@ export declare const individualOnfidoRules: ({ matchingScenario, data, country,
|
|
|
14
14
|
backPageIfRequiredForIdType: () => "REQUIRED" | undefined;
|
|
15
15
|
isProofOfResidencyRequired: () => "REQUIRED" | undefined;
|
|
16
16
|
isProofOfNationalIdRequired: () => "REQUIRED" | undefined;
|
|
17
|
+
isIdVerificationMethodRequired: () => "REQUIRED" | undefined;
|
|
17
18
|
contactsIfRequiredForRole: () => "REQUIRED" | undefined;
|
|
18
19
|
requiredIfPhoneScenarioDisabled: () => "REQUIRED" | undefined;
|
|
19
20
|
jobTitleIfRequiredForRole: () => "REQUIRED" | undefined;
|
|
21
|
+
isPlaceOfBirthRequired: () => "REQUIRED" | undefined;
|
|
20
22
|
nationalityIfRequiredForRole: () => "REQUIRED" | undefined;
|
|
21
23
|
requiredIfCountryUsesMultipleTypesOfIdentity: () => "REQUIRED" | undefined;
|
|
22
24
|
licenseCardNumberRules: () => "REQUIRED" | undefined;
|
|
@@ -3,7 +3,7 @@ import type { ExistingLegalEntity } from '../../../../core/models/api/legal-enti
|
|
|
3
3
|
import type { LegalEntityAssociation } from '../../../../core/models/api/legal-entity-association';
|
|
4
4
|
import type { BaseOuterFormProps } from '../../../../hooks/useForm/types';
|
|
5
5
|
import type { DocumentUploadSchema } from '../../../Shared/forms/DocumentUpload/types';
|
|
6
|
-
import type {
|
|
6
|
+
import type { TaskType } from '../../../../stores/globalStore/taskTypes';
|
|
7
7
|
import type { AccountHolderOption } from '../../../../types/accountHolder';
|
|
8
8
|
import type { CountryCode } from '../../../../types/datasets/country-code';
|
|
9
9
|
import type { EntityProblems } from '../../../../types/errors/entity-problems';
|
|
@@ -34,7 +34,7 @@ export interface IndividualOnfidoProps extends BaseOuterFormProps<IndividualOnfi
|
|
|
34
34
|
defaultCountry: CountryCode;
|
|
35
35
|
problems?: EntityProblems;
|
|
36
36
|
legalEntityId?: string;
|
|
37
|
-
taskType?:
|
|
37
|
+
taskType?: TaskType;
|
|
38
38
|
allowedRoles?: DecisionMakerType[];
|
|
39
39
|
parentLegalEntity?: ExistingLegalEntity;
|
|
40
40
|
onNext?(): void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { ExperimentsContextValue } from '../../../context/ExperimentContext/types';
|
|
2
|
-
import {
|
|
2
|
+
import { type TaskType } from '../../../stores/globalStore/taskTypes';
|
|
3
3
|
import type { CountryCode } from '../../../types/datasets/country-code';
|
|
4
|
-
export declare function isOnfidoAutofillFlowEnabled(country: CountryCode, taskType:
|
|
4
|
+
export declare function isOnfidoAutofillFlowEnabled(country: CountryCode, taskType: TaskType, isExperimentEnabled: ExperimentsContextValue['isExperimentEnabled']): boolean;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { DecisionMakerType } from '../../../core/models/api/decision-maker-type';
|
|
1
|
+
import { type DecisionMakerType } from '../../../core/models/api/decision-maker-type';
|
|
2
2
|
import type { IndividualOnfidoSchema } from '../forms/IndividualOnfido/IndividualOnfido.types';
|
|
3
3
|
export declare const calculateRoles: (data?: IndividualOnfidoSchema) => DecisionMakerType[];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { Capability, CapabilityName } from '../../../core/models/api/capability';
|
|
2
|
-
import { DecisionMakerType } from '../../../core/models/api/decision-maker-type';
|
|
2
|
+
import { type DecisionMakerType } from '../../../core/models/api/decision-maker-type';
|
|
3
3
|
import type { Scenario } from '../../../core/models/api/get-scenarios';
|
|
4
|
-
import {
|
|
4
|
+
import { type TaskType } from '../../../stores/globalStore/taskTypes';
|
|
5
5
|
export declare const showIndividualMotionCapture: import("@preact/signals-core").Signal<boolean | undefined>;
|
|
6
6
|
export declare const setShowIndividualMotionCapture: (showMotionCapture: boolean | undefined) => void;
|
|
7
7
|
export declare const hasMotionCaptureScenario: import("@preact/signals-core").Signal<boolean | undefined>;
|
|
@@ -9,6 +9,6 @@ export declare const setHasMotionCaptureScenario: (scenarios: Scenario[] | undef
|
|
|
9
9
|
export declare const shouldShowMotionCapture: ({ capabilities, userRoles, taskType, hasMotionScenario, }: {
|
|
10
10
|
capabilities?: Partial<Record<CapabilityName, Capability>>;
|
|
11
11
|
userRoles?: DecisionMakerType[];
|
|
12
|
-
taskType?:
|
|
12
|
+
taskType?: TaskType;
|
|
13
13
|
hasMotionScenario?: boolean;
|
|
14
14
|
}) => boolean | undefined;
|
|
@@ -7,7 +7,7 @@ import type { IndividualOnfidoProps } from '../forms/IndividualOnfido/Individual
|
|
|
7
7
|
interface DecisionMakerDetailsPageProps extends DropinProps {
|
|
8
8
|
decisionMakerId: string | undefined;
|
|
9
9
|
parentCompanyId: string;
|
|
10
|
-
taskType?: TaskTypes.DECISION_MAKER | TaskTypes.TRUST_MEMBER_COMPANY_OWNER | TaskTypes.UNINCORPORATED_PARTNERSHIP_MEMBER_COMPANY_OWNER;
|
|
10
|
+
taskType?: typeof TaskTypes.DECISION_MAKER | typeof TaskTypes.TRUST_MEMBER_COMPANY_OWNER | typeof TaskTypes.UNINCORPORATED_PARTNERSHIP_MEMBER_COMPANY_OWNER;
|
|
11
11
|
asModal?: boolean;
|
|
12
12
|
hideSidebar?: boolean;
|
|
13
13
|
isTargetLegalEntityType?: boolean;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export interface DecisionMakersGettingStartedProps {
|
|
2
|
+
handleCancelClick?: () => void;
|
|
3
|
+
addDecisionMakerOnClick: (e: MouseEvent) => void;
|
|
4
|
+
}
|
|
5
|
+
export declare const DecisionMakersGettingStarted: ({ addDecisionMakerOnClick, handleCancelClick, }: DecisionMakersGettingStartedProps) => import("preact/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const DecisionMakersModalContent: () => import("preact/jsx-runtime").JSX.Element;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import type { DecisionMakerType } from '../../../core/models/api/decision-maker-type';
|
|
2
|
-
import type {
|
|
3
|
-
import type {
|
|
2
|
+
import type { UnincorporatedPartnershipMemberType } from '../../../core/models/api/unincorporated-partnership';
|
|
3
|
+
import type { TaskType } from '../../../stores/globalStore/taskTypes';
|
|
4
4
|
import type { CountryCode } from '../../../types/datasets/country-code';
|
|
5
5
|
import type { TrustMemberGuidanceLabel } from '../../Trust/utils/trustMemberGuidance';
|
|
6
6
|
export type EntityStatus = 'empty' | 'satisfied';
|
|
7
7
|
export interface EntityGuidanceStatusProps {
|
|
8
8
|
country: CountryCode;
|
|
9
|
-
currentTask:
|
|
10
|
-
entityLabel: TrustMemberGuidanceLabel | DecisionMakerType |
|
|
9
|
+
currentTask: TaskType;
|
|
10
|
+
entityLabel: TrustMemberGuidanceLabel | DecisionMakerType | UnincorporatedPartnershipMemberType;
|
|
11
11
|
status: EntityStatus;
|
|
12
12
|
}
|
|
13
13
|
export interface EntityStatusProps {
|
|
@@ -13,7 +13,7 @@ export interface FormFlowProps {
|
|
|
13
13
|
forms: FormModelWithValidity[];
|
|
14
14
|
gotoFormByFormIndex(index: number): void;
|
|
15
15
|
handleBackClick?(): void;
|
|
16
|
-
handleCancelClick(): void;
|
|
16
|
+
handleCancelClick?(): void;
|
|
17
17
|
handleNextClick(): void | Promise<void>;
|
|
18
18
|
handleSaveClick?(): void | Promise<void>;
|
|
19
19
|
loadingStatus: LoadingStatus;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import './_introduction.component.scss';
|
|
2
2
|
import type { JSX } from 'preact';
|
|
3
3
|
import type { ExistingLegalEntity } from '../../../core/models/api/legal-entity';
|
|
4
|
-
import type {
|
|
4
|
+
import type { TaskType } from '../../../stores/globalStore/taskTypes';
|
|
5
5
|
interface IntroductionProps {
|
|
6
6
|
onExitIntroduction: () => void;
|
|
7
|
-
tasks:
|
|
7
|
+
tasks: TaskType[];
|
|
8
8
|
}
|
|
9
9
|
export declare function Introduction({ onExitIntroduction, tasks }: IntroductionProps): JSX.Element;
|
|
10
10
|
export declare const IntroductionInner: ({ legalEntity, onExitIntroduction, tasks, }: IntroductionProps & {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ExistingLegalEntity } from '../../../core/models/api/legal-entity';
|
|
2
|
-
import type {
|
|
2
|
+
import type { IntroductionScreen as IntroductionScreenType } from './types';
|
|
3
3
|
export interface IntroductionScreenProps {
|
|
4
|
-
introductionScreen:
|
|
4
|
+
introductionScreen: IntroductionScreenType;
|
|
5
5
|
legalEntity: ExistingLegalEntity;
|
|
6
6
|
number?: number;
|
|
7
7
|
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { LegalEntityType } from '../../../core/models/api/legal-entity-type';
|
|
2
|
-
import {
|
|
3
|
-
export declare const introductionScreensByLegalEntityType: Record<LegalEntityType,
|
|
1
|
+
import { type LegalEntityType } from '../../../core/models/api/legal-entity-type';
|
|
2
|
+
import { type IntroductionScreen } from './types';
|
|
3
|
+
export declare const introductionScreensByLegalEntityType: Record<LegalEntityType, IntroductionScreen[]>;
|