@adyen/kyc-components 3.56.2 → 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-ExJ43VbQ.js → B4MFY5CR-Btb_2-pV.js} +1 -1
- package/dist/es/{HO4MOOFI-B_bvIPSM.js → HO4MOOFI-BjUBJSdM.js} +2 -2
- package/dist/es/{HUY7CZI3-CMswV2LE.js → HUY7CZI3-BcIThR0Y.js} +2 -2
- package/dist/es/{Introduction-EEHJF6pV.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-_9WP3-b5.js → index-Bk0fvPZ4.js} +15630 -15249
- 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,13 +1,13 @@
|
|
|
1
|
-
import type { BaseOuterFormProps } from '
|
|
2
|
-
import type { CapabilityName } from '
|
|
3
|
-
import type { CountryCode } from '
|
|
4
|
-
import type { FormModel } from '
|
|
1
|
+
import type { BaseOuterFormProps } from '#core/hooks/useForm/types';
|
|
2
|
+
import type { CapabilityName } from '#core/models/api/capability';
|
|
3
|
+
import type { CountryCode } from '#core/models/country-code';
|
|
4
|
+
import type { FormModel } from '#core/models/form';
|
|
5
|
+
import type { CompanyNameAndCountrySchema } from '#shared/forms/CompanyNameAndCountry/types';
|
|
6
|
+
import type { CompanyRegistrationDetailsSchema } from '#shared/forms/CompanyRegistrationDetails/types';
|
|
7
|
+
import type { DocumentUploadSchema } from '#shared/forms/DocumentUpload/types';
|
|
8
|
+
import type { FinancialInformationSchema } from '#shared/forms/FinancialInformation/types';
|
|
9
|
+
import type { RegistrationAddressSchema } from '#shared/forms/RegistrationAddress/types';
|
|
5
10
|
import type { DropinAPIHandlers } from '../../../EmbeddedDropins/OnboardingDropinComponent/DropinComposer/types';
|
|
6
|
-
import type { CompanyNameAndCountrySchema } from '../../../Shared/forms/CompanyNameAndCountry/types';
|
|
7
|
-
import type { CompanyRegistrationDetailsSchema } from '../../../Shared/forms/CompanyRegistrationDetails/types';
|
|
8
|
-
import type { DocumentUploadSchema } from '../../../Shared/forms/DocumentUpload/types';
|
|
9
|
-
import type { FinancialInformationSchema } from '../../../Shared/forms/FinancialInformation/types';
|
|
10
|
-
import type { RegistrationAddressSchema } from '../../../Shared/forms/RegistrationAddress/types';
|
|
11
11
|
import type { CompanyTypeSchema } from '../CompanyType/types';
|
|
12
12
|
export interface CompanySchema {
|
|
13
13
|
companyRegistrationDetails?: CompanyRegistrationDetailsSchema;
|
|
@@ -1,7 +1,7 @@
|
|
|
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
5
|
export interface CompanyStructureSchema {
|
|
6
6
|
entityType?: CompanyTypesValue;
|
|
7
7
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { BaseInnerFormProps } from '
|
|
2
|
-
import type { CompanyTypesValue } from '
|
|
3
|
-
import type { CountryCode } from '
|
|
1
|
+
import type { BaseInnerFormProps } from '#core/hooks/useForm/types';
|
|
2
|
+
import type { CompanyTypesValue } from '#core/models/api/company-types-value';
|
|
3
|
+
import type { CountryCode } from '#core/models/country-code';
|
|
4
4
|
export interface CompanyTypeSchema {
|
|
5
5
|
entityType?: CompanyTypesValue;
|
|
6
6
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { CountryCode } from '
|
|
2
|
-
import type { TranslationKey } from '
|
|
3
|
-
import type { DocumentUploadProps } from '
|
|
1
|
+
import type { CountryCode } from '#core/models/country-code';
|
|
2
|
+
import type { TranslationKey } from '#language/types';
|
|
3
|
+
import type { DocumentUploadProps } from '#shared/forms/DocumentUpload/types';
|
|
4
4
|
export interface ProofOfDirectorDocumentProps extends DocumentUploadProps {
|
|
5
5
|
country: CountryCode;
|
|
6
6
|
heading?: TranslationKey;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { CountryCode } from '
|
|
1
|
+
import type { CountryCode } from '#core/models/country-code';
|
|
2
2
|
import type { AcceptedDocuments } from './types';
|
|
3
3
|
export declare const ACCEPTED_DOCUMENTS_MAP: Partial<Record<CountryCode, AcceptedDocuments>>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { CompanyTypesValue } from '
|
|
2
|
-
import type { CountryCode } from '
|
|
3
|
-
import type { TranslationKey } from '
|
|
4
|
-
import type { DocumentUploadProps } from '
|
|
1
|
+
import type { CompanyTypesValue } from '#core/models/api/company-types-value';
|
|
2
|
+
import type { CountryCode } from '#core/models/country-code';
|
|
3
|
+
import type { TranslationKey } from '#language/types';
|
|
4
|
+
import type { DocumentUploadProps } from '#shared/forms/DocumentUpload/types';
|
|
5
5
|
export interface RegistrationDocumentProps extends DocumentUploadProps {
|
|
6
6
|
country: CountryCode;
|
|
7
7
|
companyType: CompanyTypesValue | undefined;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { type CountryCode } from '
|
|
1
|
+
import { type CountryCode } from '#core/models/country-code';
|
|
2
2
|
import type { AcceptedDocuments } from './types';
|
|
3
3
|
export declare const ACCEPTED_DOCUMENTS_MAP: Partial<Record<CountryCode, AcceptedDocuments>>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { CompanyTypesValue } from '
|
|
2
|
-
import type { CountryCode } from '
|
|
3
|
-
import type { TranslationKey } from '
|
|
4
|
-
import type { DocumentUploadProps } from '
|
|
1
|
+
import type { CompanyTypesValue } from '#core/models/api/company-types-value';
|
|
2
|
+
import type { CountryCode } from '#core/models/country-code';
|
|
3
|
+
import type { TranslationKey } from '#language/types';
|
|
4
|
+
import type { DocumentUploadProps } from '#shared/forms/DocumentUpload/types';
|
|
5
5
|
export interface TaxDocumentProps extends DocumentUploadProps {
|
|
6
6
|
country: CountryCode;
|
|
7
7
|
companyType: CompanyTypesValue | undefined;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { StateCode } from '
|
|
1
|
+
import type { StateCode } from '#core/models/state-code';
|
|
2
2
|
export declare const LOW_RISK_COMPANY_DATA_COMPLIANCE_WINDOW = 157766400000;
|
|
3
3
|
export declare const KNOWN_BROKEN_PRIMARY_SOURCE_CONNECTIONS: Array<StateCode>;
|
|
4
4
|
export declare const KNOWN_DISALLOWED_INDEX_DATASET_STATES: Array<StateCode>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { HookStatus } from '
|
|
2
|
-
import type { CompanyDatasetResponse, CompanySearchResult } from '
|
|
3
|
-
import type { CountryCode } from '
|
|
4
|
-
import type { StateCode, StateCodeUS } from '
|
|
1
|
+
import type { HookStatus } from '#core/hooks/types';
|
|
2
|
+
import type { CompanyDatasetResponse, CompanySearchResult } from '#core/models/api/company-search';
|
|
3
|
+
import type { CountryCode } from '#core/models/country-code';
|
|
4
|
+
import type { StateCode, StateCodeUS } from '#core/models/state-code';
|
|
5
5
|
import type { DropinAPIHandlers } from '../../../EmbeddedDropins/OnboardingDropinComponent/DropinComposer/types';
|
|
6
6
|
export interface UseBusinessDataOptions {
|
|
7
7
|
handleCompanyIndexSearch: DropinAPIHandlers['handleCompanyIndexSearch'];
|
|
@@ -16,8 +16,7 @@ export interface UseBusinessDataOptions {
|
|
|
16
16
|
export type UseBusinessData = {
|
|
17
17
|
searchForBusiness: (data: SearchForBusinessRequest) => Promise<CompanySearchResult[] | undefined>;
|
|
18
18
|
fetchBusinessData: (company: CompanySearchResult, state?: StateCode) => Promise<CompanyDatasetResponse | undefined>;
|
|
19
|
-
|
|
20
|
-
verifyManualBusinessData: (name: string, tin: string) => Promise<boolean | undefined>;
|
|
19
|
+
verifyTin: (data: CompanyDatasetResponse | string, tin: string) => Promise<boolean | undefined>;
|
|
21
20
|
clearTrustedBusinessData: () => Promise<void>;
|
|
22
21
|
resetBusinessData: () => void;
|
|
23
22
|
resetTinVerification: () => void;
|
package/dist/types/components/Business/tasks/BusinessDetailsDropin/BusinessDetailsDropin.d.ts
CHANGED
|
@@ -2,4 +2,4 @@ import { type BusinessDetailsDropinProps } from './types';
|
|
|
2
2
|
export declare function BusinessDetailsDropin({ country, problems, legalEntityResponse, associatedLegalArrangement, // initially undefined when creating entity
|
|
3
3
|
nestedLegalEntity, // initially undefined when creating entity
|
|
4
4
|
nestedLegalEntityDetails, // has entity roles for association logic
|
|
5
|
-
|
|
5
|
+
capabilities, taskName, hideSidebar, taskType, onChange, onSubmit: onExternalSubmit, handleHomeClick, handleCreateDocument, handleCreateLegalEntity, handleGetDocument, handleUpdateDocument, handleAddressSearch, handleFindAddress, handleUpdateLegalEntity, handleCompanyIndexSearch, handleCompanyDeepSearch, handleCompanyRegistrationNumberIndexSearch, handleCompanyRegistrationNumberDeepSearch, handleGetCompanyDataset, handleRefreshCompanyDataset, handleVerifyTin, handleClearCompanyData, }: BusinessDetailsDropinProps): import("preact/jsx-runtime").JSX.Element;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import type { Dispatch, StateUpdater } from 'preact/hooks';
|
|
2
|
+
import type { LoadingStatus } from '#atoms/LoaderWrapper/constants';
|
|
3
|
+
import type { ExperimentName } from '#context/ExperimentContext/types';
|
|
4
|
+
import type { ExistingLegalEntity } from '#core/models/api/legal-entity';
|
|
5
|
+
import type { EntityProblems } from '#core/models/errors/entity-problems';
|
|
6
|
+
import type { FormModelWithValidity } from '#core/models/form';
|
|
7
|
+
import type { AccountHolderOption } from '#core/types/AccountHolder.types';
|
|
8
|
+
import type { AdditionalEventProperties } from '#core/user-events';
|
|
9
|
+
import type { Language } from '#language/Language';
|
|
10
|
+
import type { ToastOptions } from '#molecules/Toast/Toast.types';
|
|
11
|
+
import type { TaskTypes } from '#stores/globalStore/taskTypes';
|
|
2
12
|
import type { DocumentApiUtils } from '#utils/api/documentUtils';
|
|
3
|
-
import type { ExperimentName } from '../../../../core/context/ExperimentContext/types';
|
|
4
|
-
import type { ExistingLegalEntity } from '../../../../core/models/api/legal-entity';
|
|
5
|
-
import type { EntityProblems } from '../../../../core/models/errors/entity-problems';
|
|
6
|
-
import type { FormModelWithValidity } from '../../../../core/models/form';
|
|
7
|
-
import type { AccountHolderOption } from '../../../../core/types/AccountHolder.types';
|
|
8
|
-
import type { AdditionalEventProperties } from '../../../../core/user-events';
|
|
9
|
-
import type { Language } from '../../../../language/Language';
|
|
10
|
-
import type { TaskTypes } from '../../../../stores/globalStore/taskTypes';
|
|
11
13
|
import type { DropinAPIHandlers, DropinProps } from '../../../EmbeddedDropins/OnboardingDropinComponent/DropinComposer/types';
|
|
12
14
|
import type { TrustMember } from '../../../Trust/tasks/TrustMembers/types';
|
|
13
|
-
import type { LoadingStatus } from '../../../ui/atoms/LoaderWrapper/constants';
|
|
14
|
-
import type { ToastOptions } from '../../../ui/molecules/Toast/Toast.types';
|
|
15
15
|
import type { BusinessDetailsProps, BusinessDetailsSchema } from '../../forms/BusinessDetails/types';
|
|
16
16
|
type BusinessDetailsDropinApihandler = Required<Pick<DropinAPIHandlers, 'handleCreateDocument' | 'handleGetDocument' | 'handleUpdateDocument' | 'handleUpdateLegalEntity' | 'handleCreateLegalEntity'>> & {
|
|
17
17
|
handleCompanyIndexSearch?: DropinAPIHandlers['handleCompanyIndexSearch'];
|
|
@@ -23,7 +23,7 @@ type BusinessDetailsDropinApihandler = Required<Pick<DropinAPIHandlers, 'handleC
|
|
|
23
23
|
handleVerifyTin?: DropinAPIHandlers['handleVerifyTin'];
|
|
24
24
|
handleClearCompanyData?: DropinAPIHandlers['handleClearCompanyData'];
|
|
25
25
|
};
|
|
26
|
-
type BusinessDetailsDropin = Omit<BusinessDetailsProps, 'isTopLevelEntity' | 'handleNextClick' | 'showCompanyStructure' | 'showBusinessSelection' | 'searching' | 'fetching' | 'verifying' | 'resettingTrustedData' | 'searchResults' | 'invalidTin' | 'resetTinVerification' | 'verifiedBusiness' | 'fetchBusinessData' | '
|
|
26
|
+
type BusinessDetailsDropin = Omit<BusinessDetailsProps, 'isTopLevelEntity' | 'handleNextClick' | 'showCompanyStructure' | 'showBusinessSelection' | 'searching' | 'fetching' | 'verifying' | 'resettingTrustedData' | 'searchResults' | 'invalidTin' | 'resetTinVerification' | 'verifiedBusiness' | 'fetchBusinessData' | 'verifyTin' | 'proceedToManualDataEntry' | 'setShowBusinessSelection' | 'setShowCompanyStructure'>;
|
|
27
27
|
export interface BusinessDetailsDropinProps extends BusinessDetailsDropin, BusinessDetailsDropinApihandler, DropinProps {
|
|
28
28
|
legalEntityResponse: ExistingLegalEntity;
|
|
29
29
|
associatedLegalArrangement?: ExistingLegalEntity;
|
|
@@ -39,26 +39,24 @@ export interface SubmitDocumentsProps {
|
|
|
39
39
|
additionalTrackingParams: Partial<AdditionalEventProperties>;
|
|
40
40
|
}
|
|
41
41
|
export interface SubmitProps {
|
|
42
|
+
additionalTrackingParams: Partial<AdditionalEventProperties>;
|
|
42
43
|
data: BusinessDetailsSchema;
|
|
43
44
|
legalEntityResponse: ExistingLegalEntity;
|
|
44
|
-
|
|
45
|
+
associatedLegalArrangement?: ExistingLegalEntity;
|
|
46
|
+
nestedLegalEntity?: ExistingLegalEntity;
|
|
47
|
+
nestedLegalEntityDetails?: TrustMember;
|
|
48
|
+
problems: EntityProblems | undefined;
|
|
49
|
+
taskType: TaskTypes;
|
|
50
|
+
accountHolder?: AccountHolderOption;
|
|
45
51
|
forms: FormModelWithValidity[];
|
|
46
52
|
documentUtils: DocumentApiUtils;
|
|
47
53
|
i18n: Language;
|
|
48
|
-
|
|
54
|
+
showToast: (options: ToastOptions) => void;
|
|
49
55
|
setLoadingStatus: Dispatch<StateUpdater<LoadingStatus>>;
|
|
50
56
|
setProblems: Dispatch<StateUpdater<EntityProblems | undefined>>;
|
|
51
|
-
showToast: (options: ToastOptions) => void;
|
|
52
57
|
handleUpdateLegalEntity: Required<DropinAPIHandlers>['handleUpdateLegalEntity'];
|
|
53
58
|
handleCreateLegalEntity: Required<DropinAPIHandlers>['handleCreateLegalEntity'];
|
|
54
59
|
onExternalSubmit: ((data: BusinessDetailsSchema) => void) | undefined;
|
|
55
|
-
accountHolder?: AccountHolderOption;
|
|
56
|
-
associatedLegalArrangement?: ExistingLegalEntity;
|
|
57
60
|
isExperimentEnabled: (key: ExperimentName) => boolean;
|
|
58
|
-
isTargetLegalEntityType?: boolean;
|
|
59
|
-
taskType: TaskTypes;
|
|
60
|
-
nestedLegalEntity?: ExistingLegalEntity;
|
|
61
|
-
nestedLegalEntityDetails?: TrustMember;
|
|
62
|
-
clearToasts: () => void;
|
|
63
61
|
}
|
|
64
62
|
export {};
|
|
@@ -1,15 +1,12 @@
|
|
|
1
|
-
import type { ExperimentName } from '
|
|
2
|
-
import type { OuterFormLabels } from '
|
|
3
|
-
import type {
|
|
4
|
-
import type {
|
|
5
|
-
import type { Language } from '../../../../language/Language';
|
|
1
|
+
import type { ExperimentName } from '#context/ExperimentContext/types';
|
|
2
|
+
import type { OuterFormLabels } from '#core/hooks/useForm/types';
|
|
3
|
+
import type { FormModelWithValidity } from '#core/models/form';
|
|
4
|
+
import type { Language } from '#language/Language';
|
|
6
5
|
import type { BasicInformationSchema } from '../../forms/BasicInformation/types';
|
|
7
6
|
import type { BusinessDetailsSchema } from '../../forms/BusinessDetails/types';
|
|
8
7
|
import type { SubmitProps } from './types';
|
|
9
8
|
export declare const canSubmit: (data: BusinessDetailsSchema) => boolean;
|
|
10
9
|
export declare const removeConditionalForms: (forms: FormModelWithValidity[], isSkippingCompanyStructure: boolean) => FormModelWithValidity[];
|
|
11
10
|
export declare const formatDataForSummary: (data: BusinessDetailsSchema, forms: FormModelWithValidity[], labels: OuterFormLabels<BusinessDetailsSchema>, i18n: Language, isExperimentEnabled: (key: ExperimentName) => boolean) => {};
|
|
12
|
-
export declare function
|
|
13
|
-
export declare function submitSoleProp({ data, legalEntityResponse, additionalTrackingParams, problems, forms, i18n, setLoadingStatus, setProblems, showToast, associatedLegalArrangement, handleUpdateLegalEntity, handleCreateLegalEntity, onExternalSubmit, documentUtils, isExperimentEnabled, }: SubmitProps): Promise<void>;
|
|
14
|
-
export declare const getSolePropDataWithDefaultAddress: (legalEntityResponse: ExistingLegalEntity, parentLegalEntity: ExistingLegalEntity) => BusinessDetailsSchema;
|
|
11
|
+
export declare function submit({ additionalTrackingParams, data, legalEntityResponse, associatedLegalArrangement, nestedLegalEntity, nestedLegalEntityDetails, problems, taskType, accountHolder, forms, documentUtils, i18n, showToast, setLoadingStatus, setProblems, handleUpdateLegalEntity, handleCreateLegalEntity, onExternalSubmit, isExperimentEnabled, }: SubmitProps): Promise<void>;
|
|
15
12
|
export declare const getCountryOfGoverningLaw: (isCountryOfGoverningLawEnabled?: boolean, basicData?: BasicInformationSchema) => string | undefined;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ExistingLegalEntity } from '
|
|
1
|
+
import type { ExistingLegalEntity } from '#core/models/api/legal-entity';
|
|
2
2
|
import type { DropinAPIHandlers, DropinProps } from '../../../EmbeddedDropins/OnboardingDropinComponent/DropinComposer/types';
|
|
3
3
|
import type { TrustMember } from '../../../Trust/tasks/TrustMembers/types';
|
|
4
4
|
import type { CompanyProps, CompanySchema } from '../../forms/Company/types';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import type { LegalArrangement } from '
|
|
2
|
-
import type { Organization, TaxInformationType } from '
|
|
3
|
-
import type { SoleProprietor } from '
|
|
4
|
-
import type { Trust } from '
|
|
5
|
-
import type { CountryCode } from '
|
|
6
|
-
import type { CompanyNameAndCountrySchema } from '
|
|
1
|
+
import type { LegalArrangement } from '#core/models/api/legal-arrangement';
|
|
2
|
+
import type { Organization, TaxInformationType } from '#core/models/api/organization';
|
|
3
|
+
import type { SoleProprietor } from '#core/models/api/sole-proprietor';
|
|
4
|
+
import type { Trust } from '#core/models/api/trust';
|
|
5
|
+
import type { CountryCode } from '#core/models/country-code';
|
|
6
|
+
import type { CompanyNameAndCountrySchema } from '#shared/forms/CompanyNameAndCountry/types';
|
|
7
7
|
export declare const countryToTaxInfoTypeMap: Record<string, TaxInformationType>;
|
|
8
8
|
export declare const updateTaxInformation: <T extends Organization | SoleProprietor | Trust>({ taxId, country, exemptedFromTax, isUen, entity, }: {
|
|
9
9
|
taxId: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import './ContractViewer.scss';
|
|
2
2
|
import '@adyen/adyen-document-viewer/dist/adyen-document-viewer.min.css';
|
|
3
3
|
import type { ContractViewerProps } from './types';
|
|
4
|
-
export declare function ContractViewer({ contract, className, onExpandSection }: ContractViewerProps): import("preact/jsx-runtime").JSX.Element;
|
|
4
|
+
export declare function ContractViewer({ contract, className, onExpandSection, showSectionNumbering, }: ContractViewerProps): import("preact/jsx-runtime").JSX.Element;
|
|
@@ -1,3 +1,2 @@
|
|
|
1
1
|
import type { PciDropinProps } from './types';
|
|
2
|
-
export declare function PciDropin({ legalEntityResponse, pciTemplateResponse, handleHomeClick, handleSign, taskType, asModal, needsSigning,
|
|
3
|
-
handleCloseClick, }: PciDropinProps): import("preact/jsx-runtime").JSX.Element;
|
|
2
|
+
export declare function PciDropin({ legalEntityResponse, pciTemplateResponse, handleHomeClick, handleSign, taskType, asModal, needsSigning, handleCloseClick, }: PciDropinProps): import("preact/jsx-runtime").JSX.Element;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { PciTemplateResponse, SignedBy } from '
|
|
2
|
-
import type { ExistingLegalEntity } from '
|
|
1
|
+
import type { PciTemplateResponse, SignedBy } from '#core/models/api/contracts';
|
|
2
|
+
import type { ExistingLegalEntity } from '#core/models/api/legal-entity';
|
|
3
3
|
import type { DropinProps } from '../../../EmbeddedDropins/OnboardingDropinComponent/DropinComposer/types';
|
|
4
4
|
export interface PciSchema {
|
|
5
5
|
signer?: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { ServiceAgreementRequest, ServiceAgreementResponse, ServiceAgreementSignRequest } from '
|
|
2
|
-
import type { ExistingLegalEntity } from '
|
|
1
|
+
import type { ServiceAgreementRequest, ServiceAgreementResponse, ServiceAgreementSignRequest } from '#core/models/api/contracts';
|
|
2
|
+
import type { ExistingLegalEntity } from '#core/models/api/legal-entity';
|
|
3
|
+
import type { TaskTypes } from '#shared/tasks/TaskList/types';
|
|
3
4
|
import type { DropinAPIHandlers, DropinProps } from '../../../EmbeddedDropins/OnboardingDropinComponent/DropinComposer/types';
|
|
4
|
-
import type { TaskTypes } from '../../../Shared/tasks/TaskList/types';
|
|
5
5
|
export type ServiceAgreementType = 'adyenForPlatformsManage' | 'adyenIssuing' | 'adyenForPlatformsAdvanced' | 'adyenCapital' | 'adyenAccount' | 'adyenCard' | 'adyenFranchisee' | 'adyenPccr' | 'adyenChargeCard';
|
|
6
6
|
export interface ServiceAgreementAcceptanceInfo {
|
|
7
7
|
acceptedBy: string;
|
package/dist/types/components/Contract/tasks/ServiceAgreementDropin/useServiceAgreement.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { Document } from '@adyen/adyen-document-viewer';
|
|
2
|
-
import type {
|
|
2
|
+
import type { LoadingStatus } from '#atoms/LoaderWrapper/constants';
|
|
3
|
+
import type { ServiceAgreementRequest, ServiceAgreementResponse } from '#core/models/api/contracts';
|
|
3
4
|
import type { DropinAPIHandlers } from '../../../EmbeddedDropins/OnboardingDropinComponent/DropinComposer/types';
|
|
4
|
-
import type { LoadingStatus } from '../../../ui/atoms/LoaderWrapper/constants';
|
|
5
5
|
import type { ServiceAgreementType } from './types';
|
|
6
6
|
type ServiceAgreement = {
|
|
7
7
|
id: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type {
|
|
3
|
-
import type {
|
|
1
|
+
import type { FieldErrorMessage } from '#atoms/Field/Field.types';
|
|
2
|
+
import type { BaseFormFieldProps } from '#core/hooks/useForm/types';
|
|
3
|
+
import type { CountryCode } from '#core/models/country-code';
|
|
4
4
|
interface LegalFormFieldSchema {
|
|
5
5
|
legalForm?: string;
|
|
6
6
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type {
|
|
1
|
+
import type { FieldErrorMessage } from '#atoms/Field/Field.types';
|
|
2
|
+
import type { BaseFormFieldProps } from '#core/hooks/useForm/types';
|
|
3
3
|
interface NaceCodeFieldSchema {
|
|
4
4
|
naceCode?: string;
|
|
5
5
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { ExistingLegalEntity } from '
|
|
2
|
-
import { TaskStatus } from '
|
|
1
|
+
import type { ExistingLegalEntity } from '#core/models/api/legal-entity';
|
|
2
|
+
import { TaskStatus } from '#stores/globalStore/taskStatus';
|
|
3
3
|
interface SofStatusHookResult {
|
|
4
4
|
sofStatus: TaskStatus;
|
|
5
5
|
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
+
import type { BaseInnerFormProps, BaseOuterFormProps } from '#core/hooks/useForm/types';
|
|
2
|
+
import type { AddressSearchRequest, AddressSearchResponse, LoqateAddress } from '#core/models/api/address-search';
|
|
3
|
+
import type { CapabilityName } from '#core/models/api/capability';
|
|
4
|
+
import type { ExistingLegalEntity, LegalEntity, PatchLegalEntity } from '#core/models/api/legal-entity';
|
|
5
|
+
import type { CountryCode } from '#core/models/country-code';
|
|
6
|
+
import type { Currency } from '#core/models/currency';
|
|
7
|
+
import type { FormList, FormModel } from '#core/models/form';
|
|
8
|
+
import type { Translatable, TranslationKey } from '#language/types';
|
|
9
|
+
import type { AddressSchema } from '#shared/forms/Address/types';
|
|
1
10
|
import type { FormUtils } from '#utils/formUtils';
|
|
2
11
|
import type { ValidationRuleResult, ValidatorMode } from '#utils/validation/types';
|
|
3
|
-
import type { BaseInnerFormProps, BaseOuterFormProps } from '../../../../core/hooks/useForm/types';
|
|
4
|
-
import type { AddressSearchRequest, AddressSearchResponse, LoqateAddress } from '../../../../core/models/api/address-search';
|
|
5
|
-
import type { CapabilityName } from '../../../../core/models/api/capability';
|
|
6
|
-
import type { ExistingLegalEntity, LegalEntity, PatchLegalEntity } from '../../../../core/models/api/legal-entity';
|
|
7
|
-
import type { CountryCode } from '../../../../core/models/country-code';
|
|
8
|
-
import type { Currency } from '../../../../core/models/currency';
|
|
9
|
-
import type { FormList, FormModel } from '../../../../core/models/form';
|
|
10
|
-
import type { Translatable, TranslationKey } from '../../../../language/types';
|
|
11
12
|
import type { DropinAPIHandlers } from '../../../EmbeddedDropins/OnboardingDropinComponent/DropinComposer/types';
|
|
12
|
-
import type { AddressSchema } from '../../../Shared/forms/Address/types';
|
|
13
13
|
export interface HighExposureCompanySchema {
|
|
14
14
|
numberOfEmployees?: number;
|
|
15
15
|
legalForm?: string;
|
|
@@ -86,6 +86,7 @@ export interface HighExposureDropinProps extends BaseOuterFormProps<HighExposure
|
|
|
86
86
|
getAddress: ((addressId: string) => Promise<LoqateAddress>) | undefined;
|
|
87
87
|
getLegalEntity: (legalEntityId: string) => Promise<ExistingLegalEntity>;
|
|
88
88
|
isStandaloneComponent?: boolean;
|
|
89
|
+
handleHomeClick?(): void;
|
|
89
90
|
}
|
|
90
91
|
export interface HighExposureProps {
|
|
91
92
|
legalEntityId: ExistingLegalEntity['id'];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { ExistingLegalEntity, LegalEntity } from '
|
|
2
|
-
import type { Organization } from '
|
|
3
|
-
import type { CountryCode, CountryCodes } from '
|
|
1
|
+
import type { ExistingLegalEntity, LegalEntity } from '#core/models/api/legal-entity';
|
|
2
|
+
import type { Organization } from '#core/models/api/organization';
|
|
3
|
+
import type { CountryCode, CountryCodes } from '#core/models/country-code';
|
|
4
4
|
import type { HighExposureCompanySchema, HighExposureParentSchemasCombined, HighExposureSchema } from './types';
|
|
5
5
|
import { HighExposureIndex } from './types';
|
|
6
6
|
export declare const getLegalEntityId: (exposureIndex: HighExposureIndex, rootLegalEntity: ExistingLegalEntity | undefined) => undefined | string;
|
package/dist/types/components/EFP/tasks/SourceOfFundsDropin/SOFAdditionalData/SOFFinancierModal.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { JSX } from 'preact';
|
|
2
|
-
import type { SourceOfFundsFinancierType } from '
|
|
3
|
-
import type { Translatable } from '
|
|
2
|
+
import type { SourceOfFundsFinancierType } from '#core/models/api/source-of-funds';
|
|
3
|
+
import type { Translatable } from '#language/types';
|
|
4
4
|
export interface SOFFinancierModalProps {
|
|
5
5
|
handleModalClose: () => void;
|
|
6
6
|
financier?: SourceOfFundsFinancierType;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { ExistingLegalEntity } from '
|
|
2
|
-
import type { Problem } from '
|
|
3
|
-
import type { BusinessLinesType } from '
|
|
1
|
+
import type { ExistingLegalEntity } from '#core/models/api/legal-entity';
|
|
2
|
+
import type { Problem } from '#core/models/api/problem';
|
|
3
|
+
import type { BusinessLinesType } from '#core/models/api/source-of-funds';
|
|
4
4
|
import type { SourceOfFundsSchema } from '../types';
|
|
5
5
|
export interface SourceOfFundsGettingStartedProps {
|
|
6
6
|
handleCancelClick?: () => void;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { type
|
|
1
|
+
import { type StructuredListItem } from '#atoms/StructuredList/StructuredList';
|
|
2
2
|
export interface SourceOfFundsGettingStartedCardProps {
|
|
3
3
|
id?: string | number;
|
|
4
4
|
title: string;
|
|
5
5
|
isEdit: boolean;
|
|
6
|
-
meta?:
|
|
6
|
+
meta?: StructuredListItem[];
|
|
7
7
|
onClick: () => void;
|
|
8
8
|
}
|
|
9
9
|
export declare function SourceOfFundsGettingStartedCard(props: SourceOfFundsGettingStartedCardProps): import("preact/jsx-runtime").JSX.Element;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import type { BusinessLinesType } from '#core/models/api/source-of-funds';
|
|
1
2
|
import type { DocumentApiUtils } from '#utils/api/documentUtils';
|
|
2
|
-
import type { BusinessLinesType } from '../../../../../core/models/api/source-of-funds';
|
|
3
3
|
export interface SOFUploadModalProps {
|
|
4
4
|
handleModalClose: () => void;
|
|
5
5
|
legalEntityId: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import type { ExistingLegalEntity } from '#core/models/api/legal-entity';
|
|
2
|
+
import type { BusinessLinesType } from '#core/models/api/source-of-funds';
|
|
1
3
|
import type { DocumentApiUtils } from '#utils/api/documentUtils';
|
|
2
|
-
import type { ExistingLegalEntity } from '../../../../../core/models/api/legal-entity';
|
|
3
|
-
import type { BusinessLinesType } from '../../../../../core/models/api/source-of-funds';
|
|
4
4
|
export interface SourceOfFundsUploadProps {
|
|
5
5
|
businessLines: BusinessLinesType[];
|
|
6
6
|
documentUtils: DocumentApiUtils;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
+
import type { BaseInnerFormProps, BaseOuterFormProps } from '#core/hooks/useForm/types';
|
|
2
|
+
import type { CapabilityName } from '#core/models/api/capability';
|
|
3
|
+
import type { DataSet } from '#core/models/api/data-set';
|
|
4
|
+
import type { Individual } from '#core/models/api/individual';
|
|
5
|
+
import type { ExistingLegalEntity } from '#core/models/api/legal-entity';
|
|
6
|
+
import type { LegalEntityType } from '#core/models/api/legal-entity-type';
|
|
7
|
+
import type { Organization } from '#core/models/api/organization';
|
|
8
|
+
import type { BusinessLinesType, SourceOfFundsAmount, SourceOfFundsCategoryType, SourceOfFundsFinancierType } from '#core/models/api/source-of-funds';
|
|
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';
|
|
1
13
|
import type { FormUtils } from '#utils/formUtils';
|
|
2
14
|
import type { ValidationRuleResult, ValidatorMode } from '#utils/validation/types';
|
|
3
|
-
import type { BaseInnerFormProps, BaseOuterFormProps } from '../../../../core/hooks/useForm/types';
|
|
4
|
-
import type { CapabilityName } from '../../../../core/models/api/capability';
|
|
5
|
-
import type { DataSet } from '../../../../core/models/api/data-set';
|
|
6
|
-
import type { Individual } from '../../../../core/models/api/individual';
|
|
7
|
-
import type { ExistingLegalEntity } from '../../../../core/models/api/legal-entity';
|
|
8
|
-
import type { LegalEntityType } from '../../../../core/models/api/legal-entity-type';
|
|
9
|
-
import type { Organization } from '../../../../core/models/api/organization';
|
|
10
|
-
import type { BusinessLinesType, SourceOfFundsAmount, SourceOfFundsCategoryType, SourceOfFundsFinancierType } from '../../../../core/models/api/source-of-funds';
|
|
11
|
-
import type { CountryCode } from '../../../../core/models/country-code';
|
|
12
|
-
import type { EntityProblems } from '../../../../core/models/errors/entity-problems';
|
|
13
|
-
import type { FormModel } from '../../../../core/models/form';
|
|
14
|
-
import type { TaskTypes } from '../../../../stores/globalStore/taskTypes';
|
|
15
15
|
import type { DropinAPIHandlers, DropinProps } from '../../../EmbeddedDropins/OnboardingDropinComponent/DropinComposer/types';
|
|
16
16
|
export interface SourceOfFundsProps extends BaseOuterFormProps<SourceOfFundsSchema> {
|
|
17
17
|
activeForm?: FormModel;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type {
|
|
3
|
-
import type {
|
|
4
|
-
import type {
|
|
5
|
-
import type {
|
|
6
|
-
import type {
|
|
7
|
-
import type {
|
|
8
|
-
import type {
|
|
1
|
+
import type { SelectItem } from '#atoms/Select/Select.types';
|
|
2
|
+
import type { StructuredListItem } from '#atoms/StructuredList/StructuredList';
|
|
3
|
+
import type { ExistingLegalEntity } from '#core/models/api/legal-entity';
|
|
4
|
+
import type { Problem } from '#core/models/api/problem';
|
|
5
|
+
import type { BusinessLinesServiceType, BusinessLinesType, SourceOfFundsCategoryType, SourceOfFundsFinancierType, SourceOfFundsPayloadType, SourceOfFundsType } from '#core/models/api/source-of-funds';
|
|
6
|
+
import type { VerificationError } from '#core/models/api/verification-error';
|
|
7
|
+
import type { Language } from '#language/Language';
|
|
8
|
+
import type { TranslationKey } from '#language/types';
|
|
9
9
|
import type { SOFFinancierModalInputError } from './SOFAdditionalData/SOFFinancierModal';
|
|
10
10
|
import type { OriginatorTypeUnion, SOFOriginatorPayload, SourceOfFundsAdditionalDataSchema, SourceOfFundsTypeSchema } from './types';
|
|
11
11
|
export declare const allowedCurrencies: SelectItem[];
|
|
@@ -14,7 +14,7 @@ export declare const TODAY_DATE: string;
|
|
|
14
14
|
export declare const getAdditionalDataSchemaKeys: (sourceOfFundsType?: SourceOfFundsCategoryType | "adyen", originatorType?: OriginatorTypeUnion) => Array<keyof SourceOfFundsAdditionalDataSchema>;
|
|
15
15
|
export declare const getServiceTranslation: (i18n: Language, service?: BusinessLinesServiceType | string) => string;
|
|
16
16
|
export declare const getServiceTranslationKey: (service?: BusinessLinesServiceType | string) => TranslationKey;
|
|
17
|
-
export declare const getGettingStartedCardDetails: (sourceOfFundsType: Array<keyof SourceOfFundsAdditionalDataSchema>, i18n: Language, data?: SourceOfFundsAdditionalDataSchema) =>
|
|
17
|
+
export declare const getGettingStartedCardDetails: (sourceOfFundsType: Array<keyof SourceOfFundsAdditionalDataSchema>, i18n: Language, data?: SourceOfFundsAdditionalDataSchema) => StructuredListItem[];
|
|
18
18
|
export declare const sourceOfFundsForms: {
|
|
19
19
|
readonly sourceOfFundsType: {
|
|
20
20
|
readonly formId: "sourceOfFundsType";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { RequireAtLeastOne } from 'type-fest';
|
|
2
|
+
import type { TaskTypes } from '#shared/tasks/TaskList/types';
|
|
2
3
|
import type { IndividualSchema } from '../../Individual/forms/Individual/types';
|
|
3
|
-
import type { TaskTypes } from '../../Shared/tasks/TaskList/types';
|
|
4
4
|
interface CreateIndividualComponentPropsBase {
|
|
5
5
|
taskType?: TaskTypes;
|
|
6
6
|
onSubmitSuccess?(data: IndividualSchema): void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ExistingLegalEntity } from '
|
|
1
|
+
import type { ExistingLegalEntity } from '#core/models/api/legal-entity';
|
|
2
2
|
import type { PayoutDetailsSchema } from '../../BankAccount/forms/PayoutDetails/types';
|
|
3
3
|
export interface CreateTransferInstrumentComponentProps {
|
|
4
4
|
legalEntityId: ExistingLegalEntity['id'];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ExistingLegalEntity } from '
|
|
1
|
+
import type { ExistingLegalEntity } from '#core/models/api/legal-entity';
|
|
2
2
|
export interface ManageIndividualComponentProps {
|
|
3
3
|
legalEntityId: ExistingLegalEntity['id'];
|
|
4
4
|
onClick?(): void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import './ManageTransferInstrumentComponent.scss';
|
|
2
|
-
import type { ExistingLegalEntity } from '
|
|
2
|
+
import type { ExistingLegalEntity } from '#core/models/api/legal-entity';
|
|
3
3
|
export interface ManageTransferInstrumentComponentProps {
|
|
4
4
|
legalEntityId: ExistingLegalEntity['id'];
|
|
5
5
|
onAdd(legalEntityId: string): void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './ManageTransferInstrumentOverview.scss';
|
|
2
|
-
import type { ExistingTransferInstrument } from '
|
|
3
|
-
import type { TransferInstrumentReference } from '
|
|
2
|
+
import type { ExistingTransferInstrument } from '#core/models/api/transfer-instrument';
|
|
3
|
+
import type { TransferInstrumentReference } from '#core/models/api/transfer-instrument-reference';
|
|
4
4
|
interface ManageTransferInstrumentOverviewProps {
|
|
5
5
|
transferInstrumentReferences: TransferInstrumentReference[];
|
|
6
6
|
legalEntityId: ExistingTransferInstrument['id'];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { ExistingTransferInstrument } from '
|
|
2
|
-
import type { TransferInstrumentReference } from '
|
|
1
|
+
import type { ExistingTransferInstrument } from '#core/models/api/transfer-instrument';
|
|
2
|
+
import type { TransferInstrumentReference } from '#core/models/api/transfer-instrument-reference';
|
|
3
3
|
interface ManageTransferInstrumentOverviewItemProps {
|
|
4
4
|
transferInstrumentReference: TransferInstrumentReference;
|
|
5
5
|
transferInstrument: ExistingTransferInstrument | undefined;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './ManageTransferInstrumentOverviewItemModal.scss';
|
|
2
|
-
import type { ExistingTransferInstrument } from '
|
|
3
|
-
import type { TransferInstrumentReference } from '
|
|
2
|
+
import type { ExistingTransferInstrument } from '#core/models/api/transfer-instrument';
|
|
3
|
+
import type { TransferInstrumentReference } from '#core/models/api/transfer-instrument-reference';
|
|
4
4
|
export interface ManageTransferInstrumentOverviewItemModalProps {
|
|
5
5
|
status: TransferInstrumentReference['status'];
|
|
6
6
|
transferInstrument: ExistingTransferInstrument | undefined;
|