@adyen/kyc-components 3.56.1 → 3.57.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/es/{B4MFY5CR-Bvs2knxQ.js → B4MFY5CR-Btb_2-pV.js} +1 -1
- package/dist/es/{HO4MOOFI-D73JTsvp.js → HO4MOOFI-BjUBJSdM.js} +2 -2
- package/dist/es/{HUY7CZI3-DV5kn2jF.js → HUY7CZI3-BcIThR0Y.js} +2 -2
- package/dist/es/{Introduction-C7VMHFjG.js → Introduction-BtT5M7Db.js} +9 -9
- package/dist/es/adyen-kyc-components.es.js +2 -2
- package/dist/es/{bg-BG-CLxx7Vzf.js → bg-BG-TfrwAHSM.js} +44 -14
- package/dist/es/{cs-CZ-DAzZ-QQT.js → cs-CZ-ho_ywBEK.js} +47 -17
- package/dist/es/css-q1a-Ur7J.js +15 -0
- package/dist/es/{da-DK-CWlRIBva.js → da-DK-DZJF1FaY.js} +41 -11
- package/dist/es/{de-DE-BoB9_YkX.js → de-DE-B25fJNin.js} +49 -19
- package/dist/es/{el-GR-BDSBp0fE.js → el-GR-DTb_-Vz_.js} +46 -16
- package/dist/es/{es-ES-_aGsMlz2.js → es-ES-DZ6sosjP.js} +44 -14
- package/dist/es/{et-EE-Cr6-xv9h.js → et-EE-C_1JCxAI.js} +45 -15
- package/dist/es/{fi-FI-CamNZ2iE.js → fi-FI-CgnqRXRe.js} +48 -18
- package/dist/es/{fr-FR-CsTM8kFg.js → fr-FR-D8_u1qip.js} +45 -15
- package/dist/es/{hr-HR-CIwO1uYk.js → hr-HR-BwzK2PB9.js} +45 -15
- package/dist/es/{hu-HU-rU2fLfky.js → hu-HU-BnsL9qEe.js} +42 -12
- package/dist/es/{index-DvfA_PFX.js → index-Bk0fvPZ4.js} +15629 -15250
- package/dist/es/{it-IT-CwR5iwxv.js → it-IT-BTWOlTci.js} +46 -16
- package/dist/es/json-BRkB-KFu.js +22 -0
- package/dist/es/{lt-LT-B_-b9aW1.js → lt-LT-DNGr3dH0.js} +42 -12
- package/dist/es/{lv-LV-5nOFvodG.js → lv-LV-Cfni8DJ9.js} +53 -23
- package/dist/es/{nl-NL-C-Y7UeTr.js → nl-NL-Btfceq49.js} +46 -16
- package/dist/es/{no-NO-Bi_fh7ny.js → no-NO-B7LAbHK6.js} +46 -16
- package/dist/es/onfido-logo-D8NOqXsA.js +5 -0
- package/dist/es/{pl-PL-B811CfJY.js → pl-PL-HJUk22yx.js} +41 -11
- package/dist/es/plaid-logo-DUkM-5Zw.js +8 -0
- package/dist/es/plaintext-D03i-amR.js +8 -0
- package/dist/es/{pt-PT-GA57kUMI.js → pt-PT-DLnvZGAx.js} +44 -14
- package/dist/es/{ro-RO-dswtP_bR.js → ro-RO-BgPkmrFe.js} +47 -17
- package/dist/es/singpass-logo-BZc_TOuU.js +8 -0
- package/dist/es/{sk-SK-DYvglg3C.js → sk-SK-Ca7DYst6.js} +46 -16
- package/dist/es/{sl-SI-B0rnrENs.js → sl-SI-e_4Ag1rs.js} +44 -14
- package/dist/es/{sv-SE-Be6gxk52.js → sv-SE-BCM3E7md.js} +42 -12
- package/dist/es/tink-logo-Dsjtzqtp.js +8 -0
- package/dist/es/{trustly-logo-YJslAOYF.js → trustly-logo-L-e063DR.js} +3 -3
- package/dist/es/yaml-BjlWN5Jw.js +13 -0
- package/dist/style.css +1042 -1007
- package/dist/types/api/address/useAddressCleanse.d.ts +2 -2
- package/dist/types/api/businessLines/useBusinessLines.d.ts +1 -1
- package/dist/types/api/idVerificationProviders/useExtractDocumentInformation.d.ts +21 -0
- package/dist/types/api/legalEntity/useLegalEntity.d.ts +1 -1
- package/dist/types/api/onboardingStatus/useOnboardingStatus.d.ts +1 -1
- package/dist/types/api/pciTemplate/usePciStatus.d.ts +1 -1
- package/dist/types/components/BankAccount/fields/BankAccountNumber/fieldConfig.d.ts +2 -2
- package/dist/types/components/BankAccount/fields/BankAccountNumber/types.d.ts +2 -2
- package/dist/types/components/BankAccount/fields/BankCity/types.d.ts +1 -1
- package/dist/types/components/BankAccount/fields/BankCode/fieldConfig.d.ts +2 -2
- package/dist/types/components/BankAccount/fields/BankCode/types.d.ts +2 -2
- package/dist/types/components/BankAccount/fields/BankName/types.d.ts +1 -1
- package/dist/types/components/BankAccount/fields/BranchCode/fieldConfig.d.ts +2 -2
- package/dist/types/components/BankAccount/fields/BranchCode/types.d.ts +2 -2
- package/dist/types/components/BankAccount/fields/Iban/fieldConfig.d.ts +2 -2
- package/dist/types/components/BankAccount/fields/Iban/ibanValidator.d.ts +2 -2
- package/dist/types/components/BankAccount/fields/Iban/types.d.ts +2 -2
- package/dist/types/components/BankAccount/fields/SwiftCode/fieldConfig.d.ts +1 -1
- package/dist/types/components/BankAccount/fields/SwiftCode/types.d.ts +1 -1
- package/dist/types/components/BankAccount/forms/BankDocument/BankDocumentRequirements.d.ts +1 -1
- package/dist/types/components/BankAccount/forms/BankDocument/types.d.ts +6 -6
- package/dist/types/components/BankAccount/forms/BankVerification/types.d.ts +3 -3
- package/dist/types/components/BankAccount/forms/PayoutAccount/helpers/mapPayoutAccountSchemaToApiBankAccount.d.ts +3 -3
- package/dist/types/components/BankAccount/forms/PayoutAccount/types.d.ts +4 -4
- package/dist/types/components/BankAccount/forms/PayoutDetails/rules.d.ts +1 -1
- package/dist/types/components/BankAccount/forms/PayoutDetails/types.d.ts +10 -10
- package/dist/types/components/BankAccount/forms/PayoutVerificationMethod/AccountHolderDescriptionFragment.d.ts +1 -1
- package/dist/types/components/BankAccount/forms/PayoutVerificationMethod/PreferInstantVerificationMethod/PreferInstantVerificationMethod.d.ts +2 -2
- package/dist/types/components/BankAccount/forms/PayoutVerificationMethod/allowedBankCountriesPerCountry.d.ts +1 -1
- package/dist/types/components/BankAccount/forms/PayoutVerificationMethod/payoutVerificationMethodMetadata.d.ts +2 -3
- package/dist/types/components/BankAccount/forms/PayoutVerificationMethod/types.d.ts +5 -5
- package/dist/types/components/BankAccount/hooks/useAsyncAccountDetailsValidationRules.d.ts +2 -2
- package/dist/types/components/BankAccount/utils/payoutAccountUtil.d.ts +3 -3
- package/dist/types/components/Business/forms/AdditionalInformation/VerifiedBusinessCard.d.ts +2 -2
- package/dist/types/components/Business/forms/AdditionalInformation/types.d.ts +14 -14
- package/dist/types/components/Business/forms/AdditionalInformation/utils.d.ts +2 -2
- package/dist/types/components/Business/forms/BasicInformation/BasicInformation.d.ts +1 -1
- package/dist/types/components/Business/forms/BasicInformation/types.d.ts +13 -15
- package/dist/types/components/Business/forms/BusinessDetails/forms.d.ts +1 -1
- package/dist/types/components/Business/forms/BusinessDetails/types.d.ts +10 -12
- package/dist/types/components/Business/forms/BusinessSelection/BusinessInformationCard.d.ts +2 -2
- package/dist/types/components/Business/forms/BusinessSelection/BusinessSelection.d.ts +1 -1
- package/dist/types/components/Business/forms/BusinessSelection/types.d.ts +4 -7
- package/dist/types/components/Business/forms/Company/Company.d.ts +1 -1
- package/dist/types/components/Business/forms/Company/rules.d.ts +2 -2
- package/dist/types/components/Business/forms/Company/types.d.ts +9 -9
- package/dist/types/components/Business/forms/CompanyStructure/types.d.ts +4 -4
- package/dist/types/components/Business/forms/CompanyType/types.d.ts +3 -3
- package/dist/types/components/Business/forms/ProofOfDirectorDocument/types.d.ts +3 -3
- package/dist/types/components/Business/forms/RegistrationDocument/config.d.ts +1 -1
- package/dist/types/components/Business/forms/RegistrationDocument/types.d.ts +4 -4
- package/dist/types/components/Business/forms/TaxDocument/config.d.ts +1 -1
- package/dist/types/components/Business/forms/TaxDocument/types.d.ts +4 -4
- package/dist/types/components/Business/hooks/useBusinessData/constants.d.ts +1 -1
- package/dist/types/components/Business/hooks/useBusinessData/types.d.ts +5 -6
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/BusinessDetailsDropin.d.ts +1 -1
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/types.d.ts +19 -21
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/utils.d.ts +5 -8
- package/dist/types/components/Business/tasks/CompanyDropin/types.d.ts +1 -1
- package/dist/types/components/Business/utils/companyUtil.d.ts +6 -6
- package/dist/types/components/Contract/forms/ContractViewer/ContractViewer.d.ts +1 -1
- package/dist/types/components/Contract/forms/ContractViewer/types.d.ts +1 -0
- package/dist/types/components/Contract/tasks/PciDropin/PciDropin.d.ts +1 -2
- package/dist/types/components/Contract/tasks/PciDropin/types.d.ts +2 -2
- package/dist/types/components/Contract/tasks/ServiceAgreementDropin/types.d.ts +3 -3
- package/dist/types/components/Contract/tasks/ServiceAgreementDropin/useServiceAgreement.d.ts +2 -2
- package/dist/types/components/EFP/fields/LegalFormField/types.d.ts +3 -3
- package/dist/types/components/EFP/fields/NaceCodeField/types.d.ts +2 -2
- package/dist/types/components/EFP/hooks/useSourceOfFundsTaskStatus.d.ts +2 -2
- package/dist/types/components/EFP/tasks/HighExposureDropin/types.d.ts +10 -9
- package/dist/types/components/EFP/tasks/HighExposureDropin/utils.d.ts +3 -3
- package/dist/types/components/EFP/tasks/SourceOfFundsDropin/SOFAdditionalData/SOFFinancierModal.d.ts +2 -2
- package/dist/types/components/EFP/tasks/SourceOfFundsDropin/SourceOfFundsGettingStarted/SourceOfFundsGettingStarted.d.ts +3 -3
- package/dist/types/components/EFP/tasks/SourceOfFundsDropin/SourceOfFundsGettingStarted/SourceOfFundsGettingStartedCard.d.ts +2 -2
- package/dist/types/components/EFP/tasks/SourceOfFundsDropin/SourceOfFundsUploader/SOFUploadModal.d.ts +1 -1
- package/dist/types/components/EFP/tasks/SourceOfFundsDropin/SourceOfFundsUploader/SourceOfFundsUpload.d.ts +2 -2
- package/dist/types/components/EFP/tasks/SourceOfFundsDropin/types.d.ts +12 -12
- package/dist/types/components/EFP/tasks/SourceOfFundsDropin/utils.d.ts +9 -9
- package/dist/types/components/EmbeddedDropins/CreateIndividualComponent/CreateIndividualComponent.d.ts +1 -1
- package/dist/types/components/EmbeddedDropins/CreateTransferInstrumentComponent/CreateTransferInstrumentComponent.d.ts +1 -1
- package/dist/types/components/EmbeddedDropins/ManageIndividualComponent/ManageIndividualComponent.d.ts +1 -1
- package/dist/types/components/EmbeddedDropins/ManageTransferInstrumentComponent/ManageTransferInstrumentComponent.d.ts +1 -1
- package/dist/types/components/EmbeddedDropins/ManageTransferInstrumentComponent/ManageTransferInstrumentOverview/ManageTransferInstrumentOverview.d.ts +2 -2
- package/dist/types/components/EmbeddedDropins/ManageTransferInstrumentComponent/ManageTransferInstrumentOverviewItem/ManageTransferInstrumentOverviewItem.d.ts +2 -2
- package/dist/types/components/EmbeddedDropins/ManageTransferInstrumentComponent/ManageTransferInstrumentOverviewItemModal/ManageTransferInstrumentOverviewItemModal.d.ts +2 -2
- package/dist/types/components/EmbeddedDropins/OnboardingDropinComponent/DropinComposer/types.d.ts +16 -16
- package/dist/types/components/EmbeddedDropins/OnboardingDropinComponent/DropinComposer/useNavigation.d.ts +2 -2
- package/dist/types/components/EmbeddedDropins/UpdateLegalEntityForHighExposure/utils.d.ts +1 -1
- package/dist/types/components/EmbeddedDropins/ViewVerificationStatus/ViewVerificationStatusComponent.d.ts +2 -2
- package/dist/types/components/EmbeddedDropins/ViewVerificationStatus/content.d.ts +2 -2
- package/dist/types/components/EmbeddedDropins/ViewVerificationStatus/types.d.ts +1 -1
- package/dist/types/components/Individual/fields/DecisionMakerRole/types.d.ts +5 -5
- package/dist/types/components/Individual/fields/DriversLicense/DriversLicense.d.ts +2 -0
- package/dist/types/components/Individual/fields/DriversLicense/DriversLicense.types.d.ts +24 -0
- package/dist/types/components/Individual/fields/IdentityNumber/fieldConfig.d.ts +4 -4
- package/dist/types/components/Individual/fields/IdentityNumber/type.d.ts +3 -3
- package/dist/types/components/Individual/forms/Individual/IdDocumentUpload/types.d.ts +8 -7
- package/dist/types/components/Individual/forms/Individual/IdVerification/IdVerification.d.ts +1 -1
- package/dist/types/components/Individual/forms/Individual/IdVerification/types.d.ts +6 -2
- package/dist/types/components/Individual/forms/Individual/IdVerificationMethod/idVerificationMethodMetadata.d.ts +2 -2
- package/dist/types/components/Individual/forms/Individual/IdVerificationMethod/types.d.ts +3 -3
- package/dist/types/components/Individual/forms/Individual/Individual.d.ts +1 -1
- package/dist/types/components/Individual/forms/Individual/PersonalDetails/Identity/TypeOfIdentity/index.d.ts +2 -2
- package/dist/types/components/Individual/forms/Individual/PersonalDetails/Identity/types.d.ts +2 -2
- package/dist/types/components/Individual/forms/Individual/PersonalDetails/types.d.ts +10 -10
- package/dist/types/components/Individual/forms/Individual/PersonalDetails/validate.d.ts +6 -6
- package/dist/types/components/Individual/forms/Individual/ProofOfRelationship/types.d.ts +1 -1
- package/dist/types/components/Individual/forms/Individual/ProofOfResidency/types.d.ts +1 -1
- package/dist/types/components/Individual/forms/Individual/rules.d.ts +3 -3
- package/dist/types/components/Individual/forms/Individual/types.d.ts +13 -13
- package/dist/types/components/Individual/forms/IndividualOnfido/AdditionalPersonalDetails/AdditionalPersonalDetails.types.d.ts +7 -9
- package/dist/types/components/Individual/forms/IndividualOnfido/AdditionalPersonalDetails/Identity/Identity.types.d.ts +2 -2
- package/dist/types/components/Individual/forms/IndividualOnfido/AdditionalPersonalDetails/Identity/TypeOfIdentity/index.d.ts +2 -2
- package/dist/types/components/Individual/forms/IndividualOnfido/AdditionalPersonalDetails/Identity/validate.d.ts +4 -0
- package/dist/types/components/Individual/forms/IndividualOnfido/AdditionalPersonalDetails/validate.d.ts +6 -6
- package/dist/types/components/Individual/forms/IndividualOnfido/BasicDetails/BasicDetails.types.d.ts +8 -8
- package/dist/types/components/Individual/forms/IndividualOnfido/DataConflictsModal/ConflictRow.d.ts +12 -0
- package/dist/types/components/Individual/forms/IndividualOnfido/DataConflictsModal/DataConflictsModal.d.ts +11 -0
- package/dist/types/components/Individual/forms/IndividualOnfido/IdVerificationMethod/IdVerificationMethod.d.ts +1 -1
- package/dist/types/components/Individual/forms/IndividualOnfido/IdVerificationMethod/IdVerificationMethod.types.d.ts +8 -20
- package/dist/types/components/Individual/forms/IndividualOnfido/IdVerificationMethod/OnfidoVerificationModal/OnfidoVerificationModal.d.ts +2 -2
- package/dist/types/components/Individual/forms/IndividualOnfido/IdVerificationMethod/UploadedDocument/UploadedDocument.d.ts +2 -3
- package/dist/types/components/Individual/forms/IndividualOnfido/IdVerificationMethod/formatId.d.ts +3 -0
- package/dist/types/components/Individual/forms/IndividualOnfido/IdVerificationMethod/individualOnfidoConflictsSchema.d.ts +32 -0
- package/dist/types/components/Individual/forms/IndividualOnfido/IdVerificationMethod/mapExtractionResultToSchema.d.ts +3 -0
- package/dist/types/components/Individual/forms/IndividualOnfido/IndividualOnfido.d.ts +19 -2
- package/dist/types/components/Individual/forms/IndividualOnfido/IndividualOnfido.rules.d.ts +2 -13
- package/dist/types/components/Individual/forms/IndividualOnfido/IndividualOnfido.types.d.ts +17 -22
- package/dist/types/components/Individual/helpers/shouldShowMotionCapture.d.ts +10 -0
- package/dist/types/components/Individual/hooks/useIdVerificationToken.d.ts +4 -4
- package/dist/types/components/Individual/mapping/IndividualToLegalEntity.mapper.d.ts +1 -7
- package/dist/types/components/Individual/tasks/DecisionMakers/types.d.ts +3 -3
- package/dist/types/components/Individual/tasks/IndividualOnfidoDropin/IndividualOnfidoDropin.d.ts +1 -1
- package/dist/types/components/Shared/EntityAssociation/types.d.ts +5 -5
- package/dist/types/components/Shared/EntityGuidanceStatus/types.d.ts +4 -4
- package/dist/types/components/Shared/FormNavigation/FormNavigationItem.d.ts +2 -1
- package/dist/types/components/Shared/FormNavigation/types.d.ts +4 -4
- package/dist/types/components/Shared/FormWrapper/FormWrapper.d.ts +5 -5
- package/dist/types/components/Shared/Introduction/Introduction.d.ts +1 -1
- package/dist/types/components/Shared/Introduction/IntroductionScreen.d.ts +1 -1
- package/dist/types/components/Shared/Introduction/constants.d.ts +1 -1
- package/dist/types/components/Shared/Introduction/copy.d.ts +2 -2
- package/dist/types/components/Shared/SingpassBanner/SingpassBanner.d.ts +2 -2
- package/dist/types/components/Shared/SingpassSelection/types.d.ts +3 -3
- package/dist/types/components/Shared/Summary/Summary.d.ts +2 -2
- package/dist/types/components/Shared/Summary/summaryItem.d.ts +1 -1
- package/dist/types/components/Shared/Summary/types.d.ts +2 -2
- package/dist/types/components/Shared/devex/DebugTable/DebugTable.d.ts +1 -1
- package/dist/types/components/Shared/devex/DebugWrapper/debugInfo.d.ts +6 -6
- package/dist/types/components/Shared/fields/BusinessRegistrationNumber/fieldConfig.d.ts +5 -5
- package/dist/types/components/Shared/fields/BusinessRegistrationNumber/types.d.ts +3 -3
- package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/types.d.ts +3 -3
- package/dist/types/components/Shared/fields/CountryField/types.d.ts +2 -2
- package/dist/types/components/Shared/fields/CountryOfGoverningLawField/types.d.ts +2 -2
- package/dist/types/components/Shared/fields/Currency/types.d.ts +3 -3
- package/dist/types/components/Shared/fields/DBANameField/fieldConfig.d.ts +1 -1
- package/dist/types/components/Shared/fields/DBANameField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/DateOfIncorporationField/fieldConfig.d.ts +1 -1
- package/dist/types/components/Shared/fields/DateOfIncorporationField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/EInvoicingCodeField/fieldConfig.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/CompanyRegistrationNumberTypeSelector.d.ts +3 -3
- package/dist/types/components/Shared/fields/IdFieldTypeSelector/IndividualIdNumberTypeSelector.d.ts +2 -2
- package/dist/types/components/Shared/fields/IdFieldTypeSelector/TaxIdNumberTypeSelector.d.ts +4 -4
- package/dist/types/components/Shared/fields/IdFieldTypeSelector/countryIdNumberTypes.d.ts +4 -4
- package/dist/types/components/Shared/fields/IdFieldTypeSelector/inferCompanyRegistrationNumberType.d.ts +2 -2
- package/dist/types/components/Shared/fields/IdFieldTypeSelector/inferTaxIdNumberType.d.ts +3 -3
- package/dist/types/components/Shared/fields/LegalCompanyNameField/fieldConfig.d.ts +2 -2
- package/dist/types/components/Shared/fields/LegalCompanyNameField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/Name/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/NumberOfEmployees/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/PhoneField/fieldConfig.d.ts +3 -3
- package/dist/types/components/Shared/fields/PhoneField/types.d.ts +3 -3
- package/dist/types/components/Shared/fields/StateField/fieldConfig.d.ts +2 -2
- package/dist/types/components/Shared/fields/StateField/types.d.ts +4 -4
- package/dist/types/components/Shared/fields/StockExchangeMICField/fieldConfig.d.ts +1 -1
- package/dist/types/components/Shared/fields/StockExchangeMICField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/StockISINField/fieldConfig.d.ts +1 -1
- package/dist/types/components/Shared/fields/StockISINField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/StockTickerSymbol/fieldConfig.d.ts +1 -1
- package/dist/types/components/Shared/fields/StockTickerSymbol/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/TaxId/fieldConfig.d.ts +4 -4
- package/dist/types/components/Shared/fields/TaxId/types.d.ts +4 -4
- package/dist/types/components/Shared/fields/TaxInformationField/fieldConfig.d.ts +2 -2
- package/dist/types/components/Shared/fields/TaxInformationField/types.d.ts +5 -5
- package/dist/types/components/Shared/fields/TradingNameField/fieldConfig.d.ts +1 -1
- package/dist/types/components/Shared/fields/TradingNameField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/VatNumberField/fieldConfig.d.ts +2 -2
- package/dist/types/components/Shared/fields/VatNumberField/types.d.ts +3 -3
- package/dist/types/components/Shared/forms/Address/constants.d.ts +1 -1
- package/dist/types/components/Shared/forms/Address/types.d.ts +4 -4
- package/dist/types/components/Shared/forms/Address/utils.d.ts +2 -2
- package/dist/types/components/Shared/forms/Address/validate.d.ts +3 -3
- package/dist/types/components/Shared/forms/BusinessTypeSelection/EntityTypeRadioGroupCard.d.ts +4 -4
- package/dist/types/components/Shared/forms/BusinessTypeSelection/types.d.ts +3 -3
- package/dist/types/components/Shared/forms/BusinessTypeSelection/utils.d.ts +7 -7
- package/dist/types/components/Shared/forms/CompanyNameAndCountry/types.d.ts +2 -2
- package/dist/types/components/Shared/forms/CompanyRegistrationDetails/types.d.ts +3 -3
- package/dist/types/components/Shared/forms/ConstitutionalDocument/types.d.ts +2 -2
- package/dist/types/components/Shared/forms/ContactDetails/types.d.ts +2 -2
- package/dist/types/components/Shared/forms/DocumentUpload/types.d.ts +6 -6
- package/dist/types/components/Shared/forms/FinancialInformation/ReportedValue.d.ts +2 -2
- package/dist/types/components/Shared/forms/FinancialInformation/formatFinancialInformationSummary.d.ts +1 -1
- package/dist/types/components/Shared/forms/FinancialInformation/types.d.ts +3 -3
- package/dist/types/components/Shared/forms/RegistrationAddress/types.d.ts +4 -4
- package/dist/types/components/Shared/tasks/CustomerSupport/types.d.ts +4 -4
- package/dist/types/components/Shared/tasks/TaskList/PayoutAccountTaskListItem.d.ts +2 -2
- package/dist/types/components/Shared/tasks/TaskList/types.d.ts +10 -10
- package/dist/types/components/SoleProprietorship/forms/SoleProp/SoleProp.d.ts +1 -1
- package/dist/types/components/SoleProprietorship/forms/SoleProp/types.d.ts +10 -10
- package/dist/types/components/SoleProprietorship/hooks/useExemptSettlor.d.ts +1 -1
- package/dist/types/components/Trust/forms/Trust/Trust.d.ts +1 -1
- package/dist/types/components/Trust/forms/Trust/rules.d.ts +1 -1
- package/dist/types/components/Trust/forms/Trust/types.d.ts +7 -7
- package/dist/types/components/Trust/forms/TrustRegistrationDetails/types.d.ts +7 -7
- package/dist/types/components/Trust/forms/TrustRoleAndEntityType/getAvailableRoles.d.ts +1 -1
- package/dist/types/components/Trust/forms/TrustRoleAndEntityType/types.d.ts +9 -8
- package/dist/types/components/Trust/tasks/RoleAndTypeDropin/formatRoleAndEntityTypeSummary.d.ts +2 -2
- package/dist/types/components/Trust/tasks/RoleAndTypeDropin/types.d.ts +2 -2
- 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 +3 -3
- package/dist/types/components/Trust/utils/addOrUpdateAssociatedTrustMember.d.ts +1 -1
- package/dist/types/components/Trust/utils/addOrUpdateUndefinedBeneficiary.d.ts +1 -1
- package/dist/types/components/Trust/utils/createExemptSettlor.d.ts +1 -1
- package/dist/types/components/Trust/utils/deleteAssociatedTrustMember.d.ts +1 -1
- package/dist/types/components/Trust/utils/deleteUndefinedBeneficiary.d.ts +1 -1
- package/dist/types/components/Trust/utils/trustUtil.d.ts +5 -5
- package/dist/types/components/Trust/utils/updateExemptSettlorName.d.ts +1 -1
- package/dist/types/components/index.d.ts +5 -5
- package/dist/types/components/ui/atoms/Accordion/Accordion.d.ts +1 -1
- package/dist/types/components/ui/atoms/ActionsMenu/ActionsMenu.d.ts +0 -1
- package/dist/types/components/ui/atoms/Button/Button.d.ts +4 -4
- package/dist/types/components/ui/atoms/Button/Button.types.d.ts +19 -21
- package/dist/types/components/ui/atoms/Field/Field.types.d.ts +1 -1
- package/dist/types/components/ui/atoms/Link/Link.d.ts +1 -2
- package/dist/types/components/ui/atoms/ProviderButton/ProviderButton.d.ts +3 -0
- package/dist/types/components/ui/atoms/ProviderButton/ProviderButton.types.d.ts +5 -0
- package/dist/types/components/ui/atoms/RadioGroup/RadioGroup.d.ts +1 -1
- package/dist/types/components/ui/atoms/RadioGroupCard/RadioGroupCard.d.ts +1 -1
- package/dist/types/components/ui/atoms/RadioGroupCard/RadioGroupCard.types.d.ts +1 -1
- package/dist/types/components/ui/atoms/Remove/Remove.types.d.ts +1 -1
- package/dist/types/components/ui/atoms/StructuredList/StructuredList.d.ts +5 -4
- package/dist/types/components/ui/molecules/Alert/types.d.ts +1 -1
- package/dist/types/components/ui/molecules/ContextGuidance/types.d.ts +1 -1
- package/dist/types/components/ui/molecules/DocumentGuidance/DocumentGuidance.types.d.ts +3 -3
- package/dist/types/components/ui/molecules/Dropzone/FilePicker.d.ts +2 -2
- package/dist/types/components/ui/molecules/Dropzone/types.d.ts +2 -2
- package/dist/types/components/ui/molecules/Dropzone/validate.d.ts +1 -1
- package/dist/types/components/ui/molecules/EmbeddedStatus/EmbeddedStatus.d.ts +5 -5
- package/dist/types/components/ui/molecules/EmbeddedStatus/statusToTag.d.ts +4 -4
- package/dist/types/components/ui/molecules/ErrorPanel/types.d.ts +2 -2
- package/dist/types/components/ui/molecules/InputCurrency/InputCurrency.d.ts +2 -2
- package/dist/types/components/ui/molecules/InputDate/InputDate.d.ts +1 -1
- package/dist/types/components/ui/molecules/InputEmail/InputEmail.d.ts +1 -1
- package/dist/types/components/ui/molecules/InputNumber/InputNumber.d.ts +1 -1
- package/dist/types/components/ui/molecules/InputTelephone/InputTelephone.d.ts +1 -1
- package/dist/types/components/ui/molecules/InputText/InputText.d.ts +1 -1
- package/dist/types/components/ui/molecules/MaskedInput/MaskedInput.d.ts +2 -2
- package/dist/types/core/UIElement/UIElement.d.ts +6 -6
- package/dist/types/core/analytics.d.ts +1 -1
- package/dist/types/core/context/ConfigurationApiContext/ConfigurationApiContext.d.ts +9 -9
- package/dist/types/core/context/CoreContext/CoreContext.d.ts +1 -1
- package/dist/types/core/context/CoreContext/CoreProvider.d.ts +1 -1
- package/dist/types/core/context/FormContext/types.d.ts +1 -1
- package/dist/types/core/context/FormRouterContext/types.d.ts +1 -1
- package/dist/types/core/context/I18nProvider/I18nContext.d.ts +1 -1
- package/dist/types/core/context/I18nProvider/I18nProvider.d.ts +1 -1
- package/dist/types/core/context/SettingsContext/types.d.ts +1 -1
- package/dist/types/core/context/StateContext/types.d.ts +1 -1
- package/dist/types/core/context/ToastContext/ToastContext.d.ts +1 -1
- package/dist/types/core/errorMapping.d.ts +4 -4
- package/dist/types/core/hooks/introduction/useCanSeeIntroduction.d.ts +1 -1
- package/dist/types/core/hooks/introduction/useIntroductionScreens.d.ts +3 -3
- package/dist/types/core/hooks/introduction/useShouldShowIntroduction.d.ts +1 -1
- package/dist/types/core/hooks/singpass/useSingpassMyInfoLogin.d.ts +3 -7
- package/dist/types/core/hooks/useAllowedCountries.d.ts +1 -1
- package/dist/types/core/hooks/useAnalytics.d.ts +1 -1
- package/dist/types/core/hooks/useAssociatedLegalArrangement.d.ts +1 -1
- package/dist/types/core/hooks/useAssociatedLegalRepresentative.d.ts +1 -1
- package/dist/types/core/hooks/useBankConfigurationHandlers.d.ts +6 -6
- package/dist/types/core/hooks/useBusinessSetup.d.ts +1 -9
- package/dist/types/core/hooks/useComponentApi.d.ts +3 -3
- package/dist/types/core/hooks/useDataMissingRemediations.d.ts +2 -2
- package/dist/types/core/hooks/useDataset.d.ts +1 -1
- package/dist/types/core/hooks/useForm/types.d.ts +8 -8
- package/dist/types/core/hooks/useFormComposer.d.ts +3 -3
- package/dist/types/core/hooks/useLegalEntityType.d.ts +2 -2
- package/dist/types/core/hooks/useMultiForm/reducer.d.ts +2 -1
- package/dist/types/core/hooks/useMultiForm/types.d.ts +3 -2
- package/dist/types/core/hooks/useScenarioConfiguration.d.ts +5 -5
- package/dist/types/core/hooks/useTranslations.d.ts +1 -1
- package/dist/types/core/hooks/useUnifyLoadingStatus.d.ts +1 -1
- package/dist/types/core/models/api/document.d.ts +3 -0
- package/dist/types/core/models/api/get-configuration.d.ts +1 -1
- package/dist/types/core/models/api/get-tasks.d.ts +1 -1
- package/dist/types/core/models/api/transfer-instrument-reference.d.ts +1 -1
- package/dist/types/core/models/api/version-configuration.d.ts +1 -1
- package/dist/types/core/models/company.d.ts +1 -1
- package/dist/types/core/models/country-config.d.ts +2 -2
- package/dist/types/core/models/decision-maker.d.ts +1 -1
- package/dist/types/core/models/errors/entity-problems.d.ts +1 -1
- package/dist/types/core/models/errors/error-message.d.ts +1 -1
- package/dist/types/core/models/errors/remediation.d.ts +1 -1
- package/dist/types/core/models/form-rules.d.ts +5 -5
- package/dist/types/core/models/form.d.ts +1 -1
- package/dist/types/core/models/identity.d.ts +3 -3
- package/dist/types/core/models/trust.d.ts +1 -1
- package/dist/types/core/process-field-configurations.d.ts +10 -10
- package/dist/types/core/services/agnostic/get-dataset.d.ts +1 -1
- package/dist/types/core/services/componentApi/accept-service-agreement.d.ts +1 -1
- package/dist/types/core/services/componentApi/company-deep-search.d.ts +1 -1
- package/dist/types/core/services/componentApi/company-index-search.d.ts +1 -1
- package/dist/types/core/services/componentApi/confirm-data-review.d.ts +1 -1
- package/dist/types/core/services/componentApi/create-document.d.ts +1 -1
- package/dist/types/core/services/componentApi/create-legal-entity.d.ts +1 -1
- package/dist/types/core/services/componentApi/create-transferInstrument.d.ts +1 -1
- package/dist/types/core/services/componentApi/create-trusted-transferInstrument.d.ts +1 -1
- package/dist/types/core/services/componentApi/delete-document.d.ts +1 -1
- package/dist/types/core/services/componentApi/delete-transferInstrument.d.ts +1 -1
- package/dist/types/core/services/componentApi/download-pci.d.ts +1 -1
- package/dist/types/core/services/componentApi/get-accepted-service-agreement.d.ts +1 -1
- package/dist/types/core/services/componentApi/get-address.d.ts +1 -1
- package/dist/types/core/services/componentApi/get-allowed-locales.d.ts +1 -1
- package/dist/types/core/services/componentApi/get-analytics-session.d.ts +1 -1
- package/dist/types/core/services/componentApi/get-bankVerification-vendor.d.ts +3 -3
- package/dist/types/core/services/componentApi/get-business-lines.d.ts +1 -1
- package/dist/types/core/services/componentApi/get-company-dataset.d.ts +1 -1
- package/dist/types/core/services/componentApi/get-document.d.ts +1 -1
- package/dist/types/core/services/componentApi/get-idverification-token.d.ts +1 -1
- package/dist/types/core/services/componentApi/get-legal-entity.d.ts +1 -1
- package/dist/types/core/services/componentApi/get-legal-forms.d.ts +2 -2
- package/dist/types/core/services/componentApi/get-nace-codes.d.ts +1 -1
- package/dist/types/core/services/componentApi/get-pci-questionnaire.d.ts +1 -1
- package/dist/types/core/services/componentApi/get-pci-status.d.ts +1 -1
- package/dist/types/core/services/componentApi/get-pci-template.d.ts +1 -1
- package/dist/types/core/services/componentApi/get-provider-status.d.ts +1 -1
- package/dist/types/core/services/componentApi/get-scenarios.d.ts +2 -2
- package/dist/types/core/services/componentApi/get-service-agreement-acceptance-infos.d.ts +1 -1
- package/dist/types/core/services/componentApi/get-service-agreement-status.d.ts +1 -1
- package/dist/types/core/services/componentApi/get-service-agreement.d.ts +1 -1
- package/dist/types/core/services/componentApi/get-source-of-funds-types.d.ts +1 -1
- package/dist/types/core/services/componentApi/get-supported-countries.d.ts +1 -1
- package/dist/types/core/services/componentApi/get-tasks.d.ts +1 -1
- package/dist/types/core/services/componentApi/get-transfer-instrument.d.ts +1 -1
- package/dist/types/core/services/componentApi/get-transfer-instruments.d.ts +1 -1
- package/dist/types/core/services/componentApi/get-version-configuration.d.ts +1 -1
- package/dist/types/core/services/componentApi/handle-bank-verification-error.d.ts +1 -1
- package/dist/types/core/services/componentApi/idVerification-startcheck.d.ts +1 -1
- package/dist/types/core/services/componentApi/refresh-company-dataset.d.ts +1 -1
- package/dist/types/core/services/componentApi/search-address.d.ts +1 -1
- package/dist/types/core/services/componentApi/sign-pci.d.ts +1 -1
- package/dist/types/core/services/componentApi/update-document.d.ts +1 -1
- package/dist/types/core/services/componentApi/update-legal-entity.d.ts +1 -1
- package/dist/types/core/services/componentApi/update-source-of-funds.d.ts +1 -1
- package/dist/types/core/services/componentApi/update-transferInstrument.d.ts +1 -1
- package/dist/types/core/services/componentApi/validate-account-identification.d.ts +2 -2
- package/dist/types/core/services/componentApi/validate-phone-number.d.ts +1 -1
- package/dist/types/core/services/componentApi/verify-id-number.d.ts +1 -1
- package/dist/types/core/services/componentApi/verify-tin.d.ts +1 -1
- package/dist/types/core/services/kycExternalApi/get-allowed-countries.d.ts +1 -1
- package/dist/types/core/services/kycExternalApi/get-allowed-locales.d.ts +1 -1
- package/dist/types/core/services/kycExternalApi/get-configuration.d.ts +1 -1
- package/dist/types/core/services/kycExternalApi/validate-account-identification.d.ts +2 -2
- package/dist/types/core/services/kycExternalApi/validate-phone-number.d.ts +1 -1
- package/dist/types/core/services/kycExternalApi/verify-id-number.d.ts +1 -1
- package/dist/types/core/services/types.d.ts +1 -1
- package/dist/types/core/types.d.ts +3 -3
- package/dist/types/core/user-events.d.ts +2 -2
- package/dist/types/core/utils.d.ts +1 -1
- package/dist/types/datasets/generators/getAccountFormatForCountry.d.ts +2 -2
- package/dist/types/datasets/generators/getBusinessTypeExamplesForCountry.d.ts +2 -2
- package/dist/types/datasets/generators/getCompanyTypeExamplesForCountry.d.ts +2 -2
- package/dist/types/datasets/generators/getLegalArrangementTypeExamplesForCountry.d.ts +2 -2
- package/dist/types/datasets/generators/loadCountries.d.ts +2 -2
- package/dist/types/datasets/generators/loadStatesDataset.d.ts +2 -2
- package/dist/types/index.d.ts +1 -1
- package/dist/types/language/utils.d.ts +1 -1
- package/dist/types/stores/globalStore/StoreProvider.d.ts +1 -1
- package/dist/types/stores/globalStore/calculateTaskStatus.d.ts +5 -5
- package/dist/types/stores/globalStore/determineTaskIdentifiers.d.ts +6 -6
- package/dist/types/stores/globalStore/get-task-status.d.ts +2 -3
- package/dist/types/stores/globalStore/globalStore.d.ts +8 -8
- package/dist/types/stores/globalStore/isEmptyEntity.d.ts +1 -1
- package/dist/types/utils/accountHolderUtils.d.ts +3 -3
- package/dist/types/utils/addressToString.d.ts +3 -0
- package/dist/types/utils/api/documentUtils.d.ts +8 -7
- package/dist/types/utils/api/processCapabilitites.d.ts +7 -7
- package/dist/types/utils/api/processValidationErrors.d.ts +2 -2
- package/dist/types/utils/birthDateUtils.d.ts +3 -3
- package/dist/types/utils/datasetUtil.d.ts +4 -4
- package/dist/types/utils/decisionMakerRoles.d.ts +4 -4
- package/dist/types/utils/dropinUtils.d.ts +2 -2
- package/dist/types/utils/entityAssociationUtil.d.ts +8 -8
- package/dist/types/utils/entityStatusUtil.d.ts +6 -6
- package/dist/types/utils/eventHandlers/handleKeys.d.ts +1 -1
- package/dist/types/utils/formUtils.d.ts +4 -4
- package/dist/types/utils/formatCurrency.d.ts +1 -1
- package/dist/types/utils/getFieldsWithExistingData.d.ts +2 -2
- package/dist/types/utils/getLegalEntityCountry.d.ts +2 -2
- package/dist/types/utils/getName.d.ts +2 -2
- package/dist/types/utils/getProps.d.ts +1 -1
- package/dist/types/utils/getSSNType.d.ts +1 -1
- package/dist/types/utils/isNormalizedStringMatch.d.ts +1 -0
- package/dist/types/utils/makeSelectItemForRole.d.ts +2 -2
- package/dist/types/utils/mapping/businessDetails/mapBusinessDetailsSchemaToLegalEntity.d.ts +3 -3
- package/dist/types/utils/mapping/businessDetails/mapLegalEntityToBusinessDetailsSchema.d.ts +3 -4
- package/dist/types/utils/mapping/businessDetails/mapOrganizationTypeToCompanyType.d.ts +2 -2
- package/dist/types/utils/mapping/componentApiMapping.d.ts +18 -8
- package/dist/types/utils/mapping/customerSupport/mapCustomerSupportSchemaToCustomerSupportType.d.ts +2 -2
- package/dist/types/utils/mapping/documentGuidanceMap.d.ts +1 -1
- package/dist/types/utils/mapping/mapping.d.ts +11 -17
- package/dist/types/utils/mapping/trustMembers/getTrustMembers.d.ts +1 -1
- package/dist/types/utils/mapping/trustMembers/mapEntityAssociationsToTrustMembers.d.ts +2 -2
- package/dist/types/utils/mapping/trustMembers/mapRootLegalEntityToTrustMember.d.ts +1 -1
- package/dist/types/utils/mapping/trustMembers/mapUndefinedBeneficiaryInfoToTrustMembers.d.ts +1 -1
- package/dist/types/utils/masking/masks/businessRegistrationNumberMasks.d.ts +1 -1
- package/dist/types/utils/perCountry.d.ts +1 -1
- package/dist/types/utils/perState.d.ts +1 -1
- package/dist/types/utils/regex/postalCodePatterns.d.ts +1 -1
- package/dist/types/utils/roleMetadata.d.ts +4 -4
- package/dist/types/utils/stripWhitespace.d.ts +1 -0
- package/dist/types/utils/toNormalizedString.d.ts +1 -0
- package/dist/types/utils/trackNavigation.d.ts +2 -2
- package/dist/types/utils/validation/types.d.ts +3 -3
- package/dist/types/utils/validatorUtils.d.ts +2 -2
- package/dist/types/utils/verification/helpers/verifyIdNumber.d.ts +1 -1
- package/package.json +2 -2
- package/dist/es/onfido-logo-i_oduqdE.js +0 -5
- package/dist/es/plaid-logo-4nYeR9iX.js +0 -12
- package/dist/es/tink-logo-WImtH5CL.js +0 -8
- package/dist/types/components/Individual/forms/Individual/PersonalDetails/Identity/IdentityAu/DriversLicense.d.ts +0 -24
- package/dist/types/components/Individual/forms/Individual/PersonalDetails/Identity/IdentityNZ/DriversLicense.d.ts +0 -21
- package/dist/types/components/Individual/forms/IndividualOnfido/AdditionalPersonalDetails/Identity/IdentityHK/IdentityHK.d.ts +0 -2
- package/dist/types/components/Individual/forms/IndividualOnfido/AdditionalPersonalDetails/Identity/IdentityHK/validate.d.ts +0 -3
- package/dist/types/components/Individual/hooks/useShowMotionCapture.d.ts +0 -13
- package/dist/types/components/ui/atoms/Description/Description.d.ts +0 -10
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { LoqateAddress } from '
|
|
2
|
-
import type { CleanseAPIRequestPayload } from '
|
|
1
|
+
import type { LoqateAddress } from '#core/models/api/address-search';
|
|
2
|
+
import type { CleanseAPIRequestPayload } from '#core/models/api/contracts';
|
|
3
3
|
import type { QueryOptions } from '../types';
|
|
4
4
|
export declare const useAddressCleanse: (data: CleanseAPIRequestPayload | undefined, options?: QueryOptions<LoqateAddress>) => import("@tanstack/react-query").UseQueryResult<LoqateAddress, Error>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { BusinessLinesType } from '
|
|
1
|
+
import type { BusinessLinesType } from '#core/models/api/source-of-funds';
|
|
2
2
|
import type { QueryOptions } from '../types';
|
|
3
3
|
/**
|
|
4
4
|
* @param options additional options passed to Tanstack Query, eg; refetchInterval for polling
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { type MutationOptions } from '@tanstack/react-query';
|
|
2
|
+
import type { components } from './idVerificationProviders.contract';
|
|
3
|
+
type schemas = components['schemas'];
|
|
4
|
+
export type ProviderExtractionResponse = schemas['ProviderExtractionResponse'];
|
|
5
|
+
export type ProviderExtractionRequest = schemas['ProviderExtractionRequest'];
|
|
6
|
+
export declare const useExtractDocumentInformation: (options?: Omit<MutationOptions<ProviderExtractionResponse, unknown, ProviderExtractionRequest>, "mutationFn">) => import("@tanstack/react-query").UseMutationResult<{
|
|
7
|
+
address?: components["schemas"]["AddressDto"];
|
|
8
|
+
readonly dateOfBirth?: string;
|
|
9
|
+
documentNumber?: string;
|
|
10
|
+
readonly documentType?: string;
|
|
11
|
+
firstName?: string;
|
|
12
|
+
readonly issuingCountry?: string;
|
|
13
|
+
issuingState?: string;
|
|
14
|
+
lastName?: string;
|
|
15
|
+
nationality?: string;
|
|
16
|
+
personalNumber?: string;
|
|
17
|
+
placeOfBirth?: string;
|
|
18
|
+
}, unknown, {
|
|
19
|
+
documents: components["schemas"]["Document"][];
|
|
20
|
+
}, unknown>;
|
|
21
|
+
export {};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { OnboardingStatusResponse } from '
|
|
1
|
+
import type { OnboardingStatusResponse } from '#core/models/api/view-verification-status';
|
|
2
2
|
import type { QueryOptions } from '../types';
|
|
3
3
|
export declare const useOnboardingStatus: (options?: QueryOptions<OnboardingStatusResponse>) => import("@tanstack/react-query").UseQueryResult<OnboardingStatusResponse, Error>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { PciStatus, PciStatusRequest } from '
|
|
1
|
+
import type { PciStatus, PciStatusRequest } from '#core/models/api/contracts';
|
|
2
2
|
import type { QueryOptions } from '../types';
|
|
3
3
|
export declare const usePciStatus: (data: PciStatusRequest, options?: QueryOptions<PciStatus>) => import("@tanstack/react-query").UseQueryResult<PciStatus, Error>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { FieldMetadata } from '
|
|
2
|
-
import type { NoParams, PerCountryFieldConfig } from '
|
|
1
|
+
import type { FieldMetadata } from '#core/models/country-config';
|
|
2
|
+
import type { NoParams, PerCountryFieldConfig } from '#core/models/field-configurations';
|
|
3
3
|
import type { BankAccountNumberSchema } from './types';
|
|
4
4
|
export declare const defaultFieldMetadata: FieldMetadata<BankAccountNumberSchema, 'bankAccountNumber'>;
|
|
5
5
|
export declare const defaultFieldConfig: PerCountryFieldConfig<BankAccountNumberSchema, 'bankAccountNumber', NoParams>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { BaseInnerFormProps } from '
|
|
2
|
-
import type { CountryCode } from '
|
|
1
|
+
import type { BaseInnerFormProps } from '#core/hooks/useForm/types';
|
|
2
|
+
import type { CountryCode } from '#core/models/country-code';
|
|
3
3
|
import type { defaultFieldConfig } from './fieldConfig';
|
|
4
4
|
export interface BankAccountNumberSchema {
|
|
5
5
|
bankAccountNumber?: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { FieldMetadata } from '
|
|
2
|
-
import type { NoParams, PerCountryFieldConfig } from '
|
|
1
|
+
import type { FieldMetadata } from '#core/models/country-config';
|
|
2
|
+
import type { NoParams, PerCountryFieldConfig } from '#core/models/field-configurations';
|
|
3
3
|
import type { BankCodeSchema } from './types';
|
|
4
4
|
export declare const defaultFieldMetadata: FieldMetadata<BankCodeSchema, 'bankCode'>;
|
|
5
5
|
export declare const defaultFieldConfig: PerCountryFieldConfig<BankCodeSchema, 'bankCode', NoParams>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { BaseInnerFormProps } from '
|
|
2
|
-
import type { CountryCode } from '
|
|
1
|
+
import type { BaseInnerFormProps } from '#core/hooks/useForm/types';
|
|
2
|
+
import type { CountryCode } from '#core/models/country-code';
|
|
3
3
|
import type { defaultFieldConfig } from './fieldConfig';
|
|
4
4
|
export interface BankCodeSchema {
|
|
5
5
|
bankCode?: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { FieldMetadata } from '
|
|
2
|
-
import type { NoParams, PerCountryFieldConfig } from '
|
|
1
|
+
import type { FieldMetadata } from '#core/models/country-config';
|
|
2
|
+
import type { NoParams, PerCountryFieldConfig } from '#core/models/field-configurations';
|
|
3
3
|
import type { BranchCodeSchema } from './types';
|
|
4
4
|
export declare const defaultFieldMetadata: FieldMetadata<BranchCodeSchema, 'branchCode'>;
|
|
5
5
|
export declare const defaultFieldConfig: PerCountryFieldConfig<BranchCodeSchema, 'branchCode', NoParams>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { BaseInnerFormProps } from '
|
|
2
|
-
import type { CountryCode } from '
|
|
1
|
+
import type { BaseInnerFormProps } from '#core/hooks/useForm/types';
|
|
2
|
+
import type { CountryCode } from '#core/models/country-code';
|
|
3
3
|
import type { defaultFieldConfig } from './fieldConfig';
|
|
4
4
|
export interface BranchCodeSchema {
|
|
5
5
|
branchCode?: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { FieldMetadata } from '
|
|
2
|
-
import type { NoParams, PerCountryFieldConfig } from '
|
|
1
|
+
import type { FieldMetadata } from '#core/models/country-config';
|
|
2
|
+
import type { NoParams, PerCountryFieldConfig } from '#core/models/field-configurations';
|
|
3
3
|
import type { IbanSchema } from './types';
|
|
4
4
|
export declare const defaultFieldMetadata: FieldMetadata<IbanSchema, 'iban'>;
|
|
5
5
|
export declare const defaultFieldConfig: PerCountryFieldConfig<IbanSchema, 'iban', NoParams>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { CountryCode } from '
|
|
2
|
-
import type { Translatable } from '
|
|
1
|
+
import type { CountryCode } from '#core/models/country-code';
|
|
2
|
+
import type { Translatable } from '#language/types';
|
|
3
3
|
export declare function ibanValidator(input: string | undefined | null, bankCountry: CountryCode): boolean | Translatable;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { BaseInnerFormProps } from '
|
|
2
|
-
import type { CountryCode } from '
|
|
1
|
+
import type { BaseInnerFormProps } from '#core/hooks/useForm/types';
|
|
2
|
+
import type { CountryCode } from '#core/models/country-code';
|
|
3
3
|
import type { defaultFieldConfig } from './fieldConfig';
|
|
4
4
|
export interface IbanSchema {
|
|
5
5
|
iban?: string;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { FieldMetadata } from '
|
|
1
|
+
import type { FieldMetadata } from '#core/models/country-config';
|
|
2
2
|
import type { SwiftCodeSchema } from './types';
|
|
3
3
|
export declare const swiftCodeFieldMetadata: FieldMetadata<SwiftCodeSchema, 'swiftCode'>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import './BankDocumentRequirements.scss';
|
|
2
|
-
import type { CountryCode } from '
|
|
2
|
+
import type { CountryCode } from '#core/models/country-code';
|
|
3
3
|
import type { DocumentsModifiers } from './types';
|
|
4
4
|
import { BankDocumentTypes } from './types';
|
|
5
5
|
interface BankDocumentRequirementsProps {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import type { BaseInnerFormProps } from '
|
|
2
|
-
import type { ExistingLegalEntity } from '
|
|
3
|
-
import type { LegalEntityType } from '
|
|
4
|
-
import type { CountryCode } from '
|
|
5
|
-
import type { FileSchema } from '
|
|
6
|
-
import type { TranslationKey } from '
|
|
1
|
+
import type { BaseInnerFormProps } from '#core/hooks/useForm/types';
|
|
2
|
+
import type { ExistingLegalEntity } from '#core/models/api/legal-entity';
|
|
3
|
+
import type { LegalEntityType } from '#core/models/api/legal-entity-type';
|
|
4
|
+
import type { CountryCode } from '#core/models/country-code';
|
|
5
|
+
import type { FileSchema } from '#core/models/file';
|
|
6
|
+
import type { TranslationKey } from '#language/types';
|
|
7
7
|
export interface BankDocumentSchema {
|
|
8
8
|
bankStatementDocument?: FileSchema[];
|
|
9
9
|
description?: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { Dispatch, StateUpdater } from 'preact/hooks';
|
|
2
|
-
import type { BaseInnerFormProps } from '
|
|
3
|
-
import type { CountryCode } from '
|
|
4
|
-
import type { Currency } from '
|
|
2
|
+
import type { BaseInnerFormProps } from '#core/hooks/useForm/types';
|
|
3
|
+
import type { CountryCode } from '#core/models/country-code';
|
|
4
|
+
import type { Currency } from '#core/models/currency';
|
|
5
5
|
import type { PayoutDetailsProps } from '../PayoutDetails/types';
|
|
6
6
|
export interface AccountVerificationResponse {
|
|
7
7
|
bankName: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { AccountIdentification } from '
|
|
2
|
-
import type { BankAccount } from '
|
|
3
|
-
import type { CountryCode } from '
|
|
1
|
+
import type { AccountIdentification } from '#core/models/api/accountIdentification';
|
|
2
|
+
import type { BankAccount } from '#core/models/api/transfer-instrument';
|
|
3
|
+
import type { CountryCode } from '#core/models/country-code';
|
|
4
4
|
import type { PayoutAccountSchema } from '../types';
|
|
5
5
|
export declare const getAccountIdentificationFromPayoutAccountSchema: (payoutAccount: PayoutAccountSchema, bankCountry: CountryCode) => AccountIdentification;
|
|
6
6
|
export declare const mapPayoutAccountSchemaToApiBankAccount: (payoutAccount: PayoutAccountSchema, bankCountry: CountryCode) => BankAccount;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { BaseInnerFormProps } from '
|
|
2
|
-
import type { ExistingLegalEntity } from '
|
|
3
|
-
import type { CountryCode } from '
|
|
4
|
-
import type { CurrencySchema } from '
|
|
1
|
+
import type { BaseInnerFormProps } from '#core/hooks/useForm/types';
|
|
2
|
+
import type { ExistingLegalEntity } from '#core/models/api/legal-entity';
|
|
3
|
+
import type { CountryCode } from '#core/models/country-code';
|
|
4
|
+
import type { CurrencySchema } from '#shared/fields/Currency/types';
|
|
5
5
|
import type { BankAccountNumberSchema } from '../../fields/BankAccountNumber/types';
|
|
6
6
|
export interface PayoutAccountSchema extends CurrencySchema, BankAccountNumberSchema {
|
|
7
7
|
transferInstrumentId?: string;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import type { QueryObserverResult, RefetchOptions } from '@tanstack/react-query';
|
|
2
2
|
import type { Dispatch, StateUpdater } from 'preact/hooks';
|
|
3
|
-
import type {
|
|
4
|
-
import type {
|
|
5
|
-
import type {
|
|
6
|
-
import type {
|
|
7
|
-
import type {
|
|
8
|
-
import type {
|
|
9
|
-
import type {
|
|
10
|
-
import type {
|
|
11
|
-
import type {
|
|
3
|
+
import type { LoadingStatus } from '#atoms/LoaderWrapper/constants';
|
|
4
|
+
import type { BaseOuterFormProps } from '#core/hooks/useForm/types';
|
|
5
|
+
import type { CapabilityName } from '#core/models/api/capability';
|
|
6
|
+
import type { ExistingLegalEntity } from '#core/models/api/legal-entity';
|
|
7
|
+
import type { ExistingTransferInstrument } from '#core/models/api/transfer-instrument';
|
|
8
|
+
import type { BankVerificationErrorResponse, CreateTrustedTransferInstrumentResponse } from '#core/models/api/trusted-transferInstrument';
|
|
9
|
+
import type { CountryCode } from '#core/models/country-code';
|
|
10
|
+
import type { EntityProblems } from '#core/models/errors/entity-problems';
|
|
11
|
+
import type { FormModel } from '#core/models/form';
|
|
12
|
+
import type { TaskTypes } from '#stores/globalStore/taskTypes';
|
|
12
13
|
import type { DropinAPIHandlers, DropinProps } from '../../../EmbeddedDropins/OnboardingDropinComponent/DropinComposer/types';
|
|
13
|
-
import type { LoadingStatus } from '../../../ui/atoms/LoaderWrapper/constants';
|
|
14
14
|
import type { BankDocumentSchema } from '../BankDocument/types';
|
|
15
15
|
import type { AccountVerificationSchema, BankVerificationVendor } from '../BankVerification/types';
|
|
16
16
|
import type { PayoutAccountSchema } from '../PayoutAccount/types';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { JSX } from 'preact';
|
|
2
|
-
import type { ExistingLegalEntity } from '
|
|
2
|
+
import type { ExistingLegalEntity } from '#core/models/api/legal-entity';
|
|
3
3
|
interface AccountHolderDescriptionFragmentProps {
|
|
4
4
|
legalEntityResponse: ExistingLegalEntity;
|
|
5
5
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type Dispatch, type StateUpdater } from 'preact/hooks';
|
|
2
|
+
import type { LoadingStatus } from '#atoms/LoaderWrapper/constants';
|
|
3
|
+
import type { BankVerificationErrorResponse } from '#core/models/api/trusted-transferInstrument';
|
|
2
4
|
import type { ValidatorMode } from '#utils/validation/types';
|
|
3
|
-
import type { BankVerificationErrorResponse } from '../../../../../core/models/api/trusted-transferInstrument';
|
|
4
|
-
import type { LoadingStatus } from '../../../../ui/atoms/LoaderWrapper/constants';
|
|
5
5
|
import type { BankVerificationVendor, InstantVerificationErrorNotification } from '../../BankVerification/types';
|
|
6
6
|
import type { PayoutDetailsProps } from '../../PayoutDetails/types';
|
|
7
7
|
import type { PayoutVerificationMethodSchema, VerificationMethod } from '../types';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { CountryCode } from '
|
|
1
|
+
import type { CountryCode } from '#core/models/country-code';
|
|
2
2
|
export declare const eeaCountries: CountryCode[];
|
|
3
3
|
export declare const getAllowedBankCountries: (country: CountryCode) => CountryCode[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type {
|
|
1
|
+
import type { SvgName } from '#atoms/Svg/Svg';
|
|
2
|
+
import type { TranslationKey } from '#language/types';
|
|
3
3
|
import type { VerificationMethod } from './types';
|
|
4
4
|
interface PayoutVerificationMethodMetadata {
|
|
5
5
|
name: TranslationKey;
|
|
@@ -12,6 +12,5 @@ interface PayoutVerificationMethodMetadata {
|
|
|
12
12
|
};
|
|
13
13
|
}
|
|
14
14
|
export declare const getProviderName: (providerName?: string) => string;
|
|
15
|
-
export declare const getProviderIconName: (providerName?: string) => SvgName | undefined;
|
|
16
15
|
export declare const makePayoutVerificationMethodsMetadata: (instantVerificationProviderName?: string) => Record<VerificationMethod, PayoutVerificationMethodMetadata>;
|
|
17
16
|
export {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { Dispatch, StateUpdater } from 'preact/hooks';
|
|
2
|
-
import type {
|
|
3
|
-
import type {
|
|
4
|
-
import type {
|
|
5
|
-
import type {
|
|
6
|
-
import type {
|
|
2
|
+
import type { LoadingStatus } from '#atoms/LoaderWrapper/constants';
|
|
3
|
+
import type { BaseInnerFormProps } from '#core/hooks/useForm/types';
|
|
4
|
+
import type { ExistingLegalEntity } from '#core/models/api/legal-entity';
|
|
5
|
+
import type { CountryCode } from '#core/models/country-code';
|
|
6
|
+
import type { FormModel } from '#core/models/form';
|
|
7
7
|
import type { AccountVerificationSchema, BankVerificationVendor, InstantVerificationErrorNotification } from '../BankVerification/types';
|
|
8
8
|
import type { PayoutDetailsProps } from '../PayoutDetails/types';
|
|
9
9
|
export declare const payoutVerificationMethods: readonly ["instantVerification", "manualVerification"];
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { AccountIdentification } from '
|
|
2
|
-
import type { AccountValidationResponse } from '
|
|
1
|
+
import type { AccountIdentification } from '#core/models/api/accountIdentification';
|
|
2
|
+
import type { AccountValidationResponse } from '#core/models/errors/validation-error';
|
|
3
3
|
export declare const useAsyncAccountDetailsValidationRules: (payload: AccountIdentification | undefined, hasEmptyFields: boolean, isAccountNumberMasked: boolean) => AccountValidationResponse;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { CountryCode } from '
|
|
2
|
-
import type { Currency } from '
|
|
3
|
-
import type { Language } from '
|
|
1
|
+
import type { CountryCode } from '#core/models/country-code';
|
|
2
|
+
import type { Currency } from '#core/models/currency';
|
|
3
|
+
import type { Language } from '#language/Language';
|
|
4
4
|
import type { BankAccountFormatType } from '../fields/BankAccountFormat/types';
|
|
5
5
|
import type { PayoutAccountSchema } from '../forms/PayoutAccount/types';
|
|
6
6
|
export declare const shouldShowCheckGuidance: (country: CountryCode) => boolean;
|
package/dist/types/components/Business/forms/AdditionalInformation/VerifiedBusinessCard.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './VerifiedBusinessCard.scss';
|
|
2
|
-
import type { CompanyDatasetResponse } from '
|
|
3
|
-
import type { AddressSchema } from '
|
|
2
|
+
import type { CompanyDatasetResponse } from '#core/models/api/company-search';
|
|
3
|
+
import type { AddressSchema } from '#shared/forms/Address/types';
|
|
4
4
|
interface VerifiedBusinessDataProps {
|
|
5
5
|
verifiedBusiness: CompanyDatasetResponse | undefined;
|
|
6
6
|
verifiedAddress: AddressSchema | undefined;
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import type { BaseInnerFormProps } from '
|
|
2
|
-
import type { CompanyDatasetResponse } from '
|
|
3
|
-
import type { CompanyTypesValue } from '
|
|
4
|
-
import type { CountryCode } from '
|
|
1
|
+
import type { BaseInnerFormProps } from '#core/hooks/useForm/types';
|
|
2
|
+
import type { CompanyDatasetResponse } from '#core/models/api/company-search';
|
|
3
|
+
import type { CompanyTypesValue } from '#core/models/api/company-types-value';
|
|
4
|
+
import type { CountryCode } from '#core/models/country-code';
|
|
5
|
+
import type { BusinessRegistrationNumberFieldSchema } from '#shared/fields/BusinessRegistrationNumberField/types';
|
|
6
|
+
import type { DateOfIncorporationFieldSchema } from '#shared/fields/DateOfIncorporationField/types';
|
|
7
|
+
import type { DBANameFieldSchema } from '#shared/fields/DBANameField/types';
|
|
8
|
+
import type { EInvoicingCodeFieldSchema } from '#shared/fields/EInvoicingCodeField/types';
|
|
9
|
+
import type { StockExchangeMICFieldSchema } from '#shared/fields/StockExchangeMICField/types';
|
|
10
|
+
import type { StockISINFieldSchema } from '#shared/fields/StockISINField/types';
|
|
11
|
+
import type { StockTickerSymbolFieldSchema } from '#shared/fields/StockTickerSymbol/types';
|
|
12
|
+
import type { TaxInformationFieldSchema } from '#shared/fields/TaxInformationField/types';
|
|
13
|
+
import type { VatNumberFieldSchema } from '#shared/fields/VatNumberField/types';
|
|
14
|
+
import type { RegistrationAddressSchema } from '#shared/forms/RegistrationAddress/types';
|
|
5
15
|
import type { DropinAPIHandlers } from '../../../EmbeddedDropins/OnboardingDropinComponent/DropinComposer/types';
|
|
6
|
-
import type { BusinessRegistrationNumberFieldSchema } from '../../../Shared/fields/BusinessRegistrationNumberField/types';
|
|
7
|
-
import type { DateOfIncorporationFieldSchema } from '../../../Shared/fields/DateOfIncorporationField/types';
|
|
8
|
-
import type { DBANameFieldSchema } from '../../../Shared/fields/DBANameField/types';
|
|
9
|
-
import type { EInvoicingCodeFieldSchema } from '../../../Shared/fields/EInvoicingCodeField/types';
|
|
10
|
-
import type { StockExchangeMICFieldSchema } from '../../../Shared/fields/StockExchangeMICField/types';
|
|
11
|
-
import type { StockISINFieldSchema } from '../../../Shared/fields/StockISINField/types';
|
|
12
|
-
import type { StockTickerSymbolFieldSchema } from '../../../Shared/fields/StockTickerSymbol/types';
|
|
13
|
-
import type { TaxInformationFieldSchema } from '../../../Shared/fields/TaxInformationField/types';
|
|
14
|
-
import type { VatNumberFieldSchema } from '../../../Shared/fields/VatNumberField/types';
|
|
15
|
-
import type { RegistrationAddressSchema } from '../../../Shared/forms/RegistrationAddress/types';
|
|
16
16
|
export interface AdditionalInformationSchema extends DBANameFieldSchema, VatNumberFieldSchema, TaxInformationFieldSchema, BusinessRegistrationNumberFieldSchema, DateOfIncorporationFieldSchema, StockISINFieldSchema, StockExchangeMICFieldSchema, StockTickerSymbolFieldSchema, RegistrationAddressSchema, EInvoicingCodeFieldSchema {
|
|
17
17
|
legalFormDescription?: string;
|
|
18
18
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import type { CompanyDatasetResponse } from '#core/models/api/company-search';
|
|
2
|
+
import type { AddressSchema } from '#shared/forms/Address/types';
|
|
1
3
|
import type { ValidatorMode } from '#utils/validation/types';
|
|
2
|
-
import type { CompanyDatasetResponse } from '../../../../core/models/api/company-search';
|
|
3
|
-
import type { AddressSchema } from '../../../Shared/forms/Address/types';
|
|
4
4
|
import type { AdditionalInformationSchema } from './types';
|
|
5
5
|
/**
|
|
6
6
|
* Parses the nested trusted fields on a legal entity e.g. ['registrationAddress.address', 'registrationAddress.postalCode']
|
|
@@ -3,4 +3,4 @@ import type { BusinessDetailsSchema } from '../BusinessDetails/types';
|
|
|
3
3
|
import type { BasicInformationProps, BasicInformationSchema } from './types';
|
|
4
4
|
export declare const BASIC_INFORMATION_FORM_ID: keyof BusinessDetailsSchema;
|
|
5
5
|
export declare const BASIC_INFORMATION_FIELDS: Array<keyof BasicInformationSchema>;
|
|
6
|
-
export declare function BasicInformation({ data, labels, placeholders, helperText, heading, description, readOnly, shouldValidate, formVerificationErrors, fieldValidationErrors, allFields, requiredFields, obscuredFields, optionalFields, readOnlyFields, trustedFields, country, companyType, isTopLevelEntity, className, showBusinessSelection, showCompanyStructure, isActiveForm, searching, fetching, verifying, resettingTrustedData, searchResults, invalidTin, verifiedBusiness, fetchBusinessData,
|
|
6
|
+
export declare function BasicInformation({ data, labels, placeholders, helperText, heading, description, readOnly, shouldValidate, formVerificationErrors, fieldValidationErrors, allFields, requiredFields, obscuredFields, optionalFields, readOnlyFields, trustedFields, country, companyType, isTopLevelEntity, className, showBusinessSelection, showCompanyStructure, isActiveForm, searching, fetching, verifying, resettingTrustedData, searchResults, invalidTin, verifiedBusiness, fetchBusinessData, verifyTin, proceedToManualDataEntry, handleNextClick, setShowBusinessSelection, setShowCompanyStructure, resetTinVerification, disableCountry, }: BasicInformationProps): import("preact/jsx-runtime").JSX.Element;
|
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
import type { Dispatch, StateUpdater } from 'preact/hooks';
|
|
2
|
-
import type { HookStatus } from '
|
|
3
|
-
import type { BaseInnerFormProps } from '
|
|
4
|
-
import type { CompanyDatasetResponse, CompanySearchResult } from '
|
|
5
|
-
import type { CompanyTypesValue } from '
|
|
6
|
-
import type { CountryCode } from '
|
|
7
|
-
import type { BusinessRegistrationNumberFieldSchema } from '
|
|
8
|
-
import type { CountryFieldSchema } from '
|
|
9
|
-
import type { CountryOfGoverningLawFieldSchema } from '
|
|
10
|
-
import type { LegalCompanyNameFieldSchema } from '
|
|
11
|
-
import type { StateFieldSchema } from '
|
|
12
|
-
import type { TaxInformationFieldSchema } from '
|
|
2
|
+
import type { HookStatus } from '#core/hooks/types';
|
|
3
|
+
import type { BaseInnerFormProps } from '#core/hooks/useForm/types';
|
|
4
|
+
import type { CompanyDatasetResponse, CompanySearchResult } from '#core/models/api/company-search';
|
|
5
|
+
import type { CompanyTypesValue } from '#core/models/api/company-types-value';
|
|
6
|
+
import type { CountryCode } from '#core/models/country-code';
|
|
7
|
+
import type { BusinessRegistrationNumberFieldSchema } from '#shared/fields/BusinessRegistrationNumberField/types';
|
|
8
|
+
import type { CountryFieldSchema } from '#shared/fields/CountryField/types';
|
|
9
|
+
import type { CountryOfGoverningLawFieldSchema } from '#shared/fields/CountryOfGoverningLawField/types';
|
|
10
|
+
import type { LegalCompanyNameFieldSchema } from '#shared/fields/LegalCompanyNameField/types';
|
|
11
|
+
import type { StateFieldSchema } from '#shared/fields/StateField/types';
|
|
12
|
+
import type { TaxInformationFieldSchema } from '#shared/fields/TaxInformationField/types';
|
|
13
|
+
import type { UseBusinessData } from '../../hooks/useBusinessData/types';
|
|
13
14
|
export type BasicInformationSchema = CountryFieldSchema & LegalCompanyNameFieldSchema & StateFieldSchema & BusinessRegistrationNumberFieldSchema & TaxInformationFieldSchema & CountryOfGoverningLawFieldSchema;
|
|
14
|
-
export interface BasicInformationProps extends BaseInnerFormProps<BasicInformationSchema> {
|
|
15
|
+
export interface BasicInformationProps extends BaseInnerFormProps<BasicInformationSchema>, Pick<UseBusinessData, 'resetTinVerification' | 'fetchBusinessData' | 'verifyTin'> {
|
|
15
16
|
country: CountryCode;
|
|
16
17
|
companyType: CompanyTypesValue | undefined;
|
|
17
18
|
isTopLevelEntity: boolean;
|
|
@@ -27,9 +28,6 @@ export interface BasicInformationProps extends BaseInnerFormProps<BasicInformati
|
|
|
27
28
|
verifiedBusiness: CompanyDatasetResponse | undefined;
|
|
28
29
|
disableCountry?: boolean;
|
|
29
30
|
className?: string;
|
|
30
|
-
resetTinVerification: () => void;
|
|
31
|
-
fetchBusinessData: (company: CompanySearchResult) => Promise<CompanyDatasetResponse | undefined>;
|
|
32
|
-
verifyBusinessData: (data: CompanyDatasetResponse, tin: string) => Promise<boolean | undefined>;
|
|
33
31
|
proceedToManualDataEntry: () => Promise<void>;
|
|
34
32
|
handleNextClick: () => void;
|
|
35
33
|
setShowBusinessSelection: Dispatch<StateUpdater<boolean>>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { CountryCode } from '
|
|
1
|
+
import type { CountryCode } from '#core/models/country-code';
|
|
2
2
|
import type { AdditionalInformationSchema } from '../AdditionalInformation/types';
|
|
3
3
|
import type { BasicInformationSchema } from '../BasicInformation/types';
|
|
4
4
|
export declare const FIELDS_NEEDED_FOR_COMPANY_SEARCH: Array<keyof BasicInformationSchema | keyof AdditionalInformationSchema>;
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import type { Dispatch, StateUpdater } from 'preact/hooks';
|
|
2
|
-
import type { HookStatus } from '
|
|
3
|
-
import type { BaseOuterFormProps } from '
|
|
4
|
-
import type { CompanyDatasetResponse, CompanySearchResult } from '
|
|
5
|
-
import type { CountryCode } from '
|
|
6
|
-
import type { FormModel } from '
|
|
7
|
-
import type {
|
|
2
|
+
import type { HookStatus } from '#core/hooks/types';
|
|
3
|
+
import type { BaseOuterFormProps } from '#core/hooks/useForm/types';
|
|
4
|
+
import type { CompanyDatasetResponse, CompanySearchResult } from '#core/models/api/company-search';
|
|
5
|
+
import type { CountryCode } from '#core/models/country-code';
|
|
6
|
+
import type { FormModel } from '#core/models/form';
|
|
7
|
+
import type { DocumentUploadSchema } from '#shared/forms/DocumentUpload/types';
|
|
8
|
+
import type { FinancialInformationSchema } from '#shared/forms/FinancialInformation/types';
|
|
9
|
+
import type { TaskTypes } from '#stores/globalStore/taskTypes';
|
|
8
10
|
import type { DropinAPIHandlers } from '../../../EmbeddedDropins/OnboardingDropinComponent/DropinComposer/types';
|
|
9
|
-
import type {
|
|
10
|
-
import type { FinancialInformationSchema } from '../../../Shared/forms/FinancialInformation/types';
|
|
11
|
+
import type { UseBusinessData } from '../../hooks/useBusinessData/types';
|
|
11
12
|
import type { AdditionalInformationSchema } from '../AdditionalInformation/types';
|
|
12
13
|
import type { BasicInformationSchema } from '../BasicInformation/types';
|
|
13
14
|
import type { CompanyStructureSchema } from '../CompanyStructure/types';
|
|
@@ -21,7 +22,7 @@ export interface BusinessDetailsSchema {
|
|
|
21
22
|
companyFinancialInformation?: FinancialInformationSchema;
|
|
22
23
|
companyConstitutionalDocument?: DocumentUploadSchema;
|
|
23
24
|
}
|
|
24
|
-
export interface BusinessDetailsProps extends BaseOuterFormProps<BusinessDetailsSchema> {
|
|
25
|
+
export interface BusinessDetailsProps extends BaseOuterFormProps<BusinessDetailsSchema>, Pick<UseBusinessData, 'verifyTin' | 'fetchBusinessData' | 'resetTinVerification'> {
|
|
25
26
|
country: CountryCode;
|
|
26
27
|
isTopLevelEntity: boolean;
|
|
27
28
|
showCompanyStructure: boolean;
|
|
@@ -40,9 +41,6 @@ export interface BusinessDetailsProps extends BaseOuterFormProps<BusinessDetails
|
|
|
40
41
|
handleNextClick: () => void;
|
|
41
42
|
handleAddressSearch: DropinAPIHandlers['handleAddressSearch'];
|
|
42
43
|
handleFindAddress: DropinAPIHandlers['handleFindAddress'];
|
|
43
|
-
resetTinVerification: () => void;
|
|
44
|
-
fetchBusinessData: (company: CompanySearchResult) => Promise<CompanyDatasetResponse | undefined>;
|
|
45
|
-
verifyBusinessData: (data: CompanyDatasetResponse, tin: string) => Promise<boolean | undefined>;
|
|
46
44
|
proceedToManualDataEntry: () => Promise<void>;
|
|
47
45
|
onSubmit?: (company: BusinessDetailsSchema) => void;
|
|
48
46
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import './BusinessInformationCard.scss';
|
|
2
2
|
import { type Dispatch, type StateUpdater } from 'preact/hooks';
|
|
3
|
-
import type { HookStatus } from '
|
|
4
|
-
import type { CompanyDatasetResponse, CompanySearchResult } from '
|
|
3
|
+
import type { HookStatus } from '#core/hooks/types';
|
|
4
|
+
import type { CompanyDatasetResponse, CompanySearchResult } from '#core/models/api/company-search';
|
|
5
5
|
interface BusinessInformationCardProps {
|
|
6
6
|
result: CompanySearchResult;
|
|
7
7
|
selectedBusinessId: string | undefined;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import './BusinessSelection.scss';
|
|
2
2
|
import type { BusinessSelectionProps } from './types';
|
|
3
|
-
export declare function BusinessSelection({ showCompanyStructure, searching, fetching, verifying, resettingTrustedData, searchResults, invalidTin, fetchBusinessData,
|
|
3
|
+
export declare function BusinessSelection({ showCompanyStructure, searching, fetching, verifying, resettingTrustedData, searchResults, invalidTin, fetchBusinessData, verifyTin, resetTinVerification, proceedToManualDataEntry, handleNextClick, setIsBusinessSelection, setShowCompanyStructure, }: BusinessSelectionProps): import("preact/jsx-runtime").JSX.Element;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { Dispatch, StateUpdater } from 'preact/hooks';
|
|
2
|
-
import type { HookStatus } from '
|
|
3
|
-
import type {
|
|
4
|
-
import type {
|
|
5
|
-
export interface BusinessSelectionProps {
|
|
2
|
+
import type { HookStatus } from '#core/hooks/types';
|
|
3
|
+
import type { CompanySearchResult } from '#core/models/api/company-search';
|
|
4
|
+
import type { UseBusinessData } from '../../hooks/useBusinessData/types';
|
|
5
|
+
export interface BusinessSelectionProps extends Pick<UseBusinessData, 'fetchBusinessData' | 'verifyTin' | 'resetTinVerification'> {
|
|
6
6
|
showCompanyStructure: boolean;
|
|
7
7
|
searching: HookStatus;
|
|
8
8
|
fetching: HookStatus;
|
|
@@ -10,9 +10,6 @@ export interface BusinessSelectionProps {
|
|
|
10
10
|
resettingTrustedData: HookStatus;
|
|
11
11
|
searchResults: CompanySearchResult[] | undefined;
|
|
12
12
|
invalidTin: boolean;
|
|
13
|
-
fetchBusinessData: (company: CompanySearchResult, state?: StateCode) => Promise<CompanyDatasetResponse | undefined>;
|
|
14
|
-
verifyBusinessData: (data: CompanyDatasetResponse, tin: string) => Promise<boolean | undefined>;
|
|
15
|
-
resetTinVerification: () => void;
|
|
16
13
|
proceedToManualDataEntry: () => Promise<void>;
|
|
17
14
|
handleNextClick: () => void;
|
|
18
15
|
setIsBusinessSelection: Dispatch<StateUpdater<boolean>>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { FinancialInformationSchema } from '
|
|
1
|
+
import type { FinancialInformationSchema } from '#shared/forms/FinancialInformation/types';
|
|
2
2
|
import type { CompanyProps } from './types';
|
|
3
3
|
export declare const companyForms: {
|
|
4
4
|
readonly companyNameAndCountry: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { CountryCode } from '
|
|
2
|
-
import type { FormRules } from '
|
|
1
|
+
import type { CountryCode } from '#core/models/country-code';
|
|
2
|
+
import type { FormRules } from '#core/models/form-rules';
|
|
3
3
|
import type { SolePropSchema } from '../../../SoleProprietorship/forms/SoleProp/types';
|
|
4
4
|
import type { BusinessDetailsSchema } from '../BusinessDetails/types';
|
|
5
5
|
import type { CompanySchema } from './types';
|